/**
* The HostConfiguration model module.
* @module Ntnx/HostConfiguration
* @version 4.3.1
* @class HostConfiguration
*
* @param { HostNetworkDetails } networkDetails
*
* @param { string } hostname Hostname of the hypervisor or host OS
*/
export default class HostConfiguration {
/**
* Constructs a HostConfiguration 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/HostConfiguration} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/HostConfiguration} The populated HostConfiguration 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 HostConfiguration.
* Configuration of the hypervisor or host OS used for patching
* @alias module:Ntnx/HostConfiguration
*
* @param { HostNetworkDetails } networkDetails
*
* @param { string } hostname Hostname of the hypervisor or host OS
*/
constructor(networkDetails: HostNetworkDetails, hostname: string);
networkDetails: HostNetworkDetails;
hostname: string;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* @return {HostNetworkDetails}
*/
getNetworkDetails(): HostNetworkDetails;
/**
* @param {HostNetworkDetails} networkDetails
*/
setNetworkDetails(networkDetails: HostNetworkDetails): void;
/**
* Returns Hostname of the hypervisor or host OS
* @return {string}
*/
getHostname(): string;
/**
* Sets Hostname of the hypervisor or host OS
* @param {string} hostname Hostname of the hypervisor or host OS
*/
setHostname(hostname: string): void;
/**
* Returns List of nameserver IP addresses to be used by the host
* @return {IPAddress[]}
*/
getNameservers(): IPAddress[];
/**
* Sets List of nameserver IP addresses to be used by the host
* @param {IPAddress[]} nameservers List of nameserver IP addresses to be used by the host
*/
setNameservers(nameservers: IPAddress[]): void;
nameservers: IPAddress[];
/**
* Returns List of NTP server IP addresses to be used by the host
* @return {IPAddressOrFQDN[]}
*/
getNtpservers(): IPAddressOrFQDN[];
/**
* Sets List of NTP server IP addresses to be used by the host
* @param {IPAddressOrFQDN[]} ntpservers List of NTP server IP addresses to be used by the host
*/
setNtpservers(ntpservers: IPAddressOrFQDN[]): void;
ntpservers: IPAddressOrFQDN[];
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 HostNetworkDetails from "./HostNetworkDetails";
import IPAddress from "../../../common/v1/config/IPAddress";
import IPAddressOrFQDN from "../../../common/v1/config/IPAddressOrFQDN";
import ValidationError from "../../../validation/ValidationError";