/**
* The Host model module.
* @module Ntnx/Host
* @version 4.4.1
* @class Host
*
* @param { string } extId Reference to the host
*/
export default class Host {
/**
* Constructs a Host from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data to obj if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {module:Ntnx/Host} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/Host} The populated Host instance.
*/
static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any;
/**
* Converts a given snake_case string to camelCase.
* @param {string} snakeStr - The input string in snake_case format.
* @returns {string} - The converted string in camelCase format.
*/
static snakeToCamel(snakeStr: string): string;
/**
* Constructs a new Host.
* Input body to configure hosts
* @alias module:Ntnx/Host
*
* @param { string } extId Reference to the host
*/
constructor(extId: string);
extId: string;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns Reference to the host
* @return {string}
*/
getExtId(): string;
/**
* Sets Reference to the host
* @param {string} extId Reference to the host
*/
setExtId(extId: string): void;
/**
* Returns Internal bridge name as br0
* @return {string}
*/
getInternalBridgeName(): string;
/**
* Sets Internal bridge name as br0
* @param {string} internalBridgeName Internal bridge name as br0
*/
setInternalBridgeName(internalBridgeName: string): void;
internalBridgeName: string;
/**
* Returns Host NIC array
* @return {string[]}
*/
getHostNics(): string[];
/**
* Sets Host NIC array
* @param {string[]} hostNics Host NIC array
*/
setHostNics(hostNics: string[]): void;
hostNics: string[];
/**
* @return {IPv4Subnet}
*/
getIpAddress(): IPv4Subnet;
/**
* @param {IPv4Subnet} ipAddress
*/
setIpAddress(ipAddress: IPv4Subnet): void;
ipAddress: IPv4Subnet;
/**
* Returns Internal route table number for the routing rules associated with the IP address on this host
* @return {Number}
*/
getRouteTable(): number;
/**
* Sets Internal route table number for the routing rules associated with the IP address on this host
* @param {Number} routeTable Internal route table number for the routing rules associated with the IP address on this host
*/
setRouteTable(routeTable: number): void;
routeTable: number;
/**
* Returns Host active uplink interface
* @return {string}
*/
getActiveUplink(): string;
/**
* Sets Host active uplink interface
* @param {string} activeUplink Host active uplink interface
*/
setActiveUplink(activeUplink: string): void;
activeUplink: string;
get$Reserved(): any;
get$ObjectType(): string;
get$UnknownFields(): any;
toJson(forMutation: any): any;
validate(scope: any, properties: any, ...args: any[]): Promise;
validateProperty(scope: any, property: any): ValidationError;
#private;
}
import IPv4Subnet from "./IPv4Subnet";
import ValidationError from "../../../validation/ValidationError";