/**
* The HciHypervisorDetails model module.
* @module Ntnx/HciHypervisorDetails
* @version 4.3.1
* @class HciHypervisorDetails
* @param { LocalHostImageDetails } imageDetails Details of the hypervisor image to be installed on the node
*
*
* @param { HciHypervisorNetworking } networkDetails
*
* @param { string } hostname Hostname of the hypervisor or host OS
*/
export default class HciHypervisorDetails {
/**
* Constructs a HciHypervisorDetails 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/HciHypervisorDetails} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/HciHypervisorDetails} The populated HciHypervisorDetails 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 HciHypervisorDetails.
* Hypervisor installation details for HCI configuration
* @alias module:Ntnx/HciHypervisorDetails
* @param { LocalHostImageDetails } imageDetails Details of the hypervisor image to be installed on the node
*
*
* @param { HciHypervisorNetworking } networkDetails
*
* @param { string } hostname Hostname of the hypervisor or host OS
*/
constructor(imageDetails: LocalHostImageDetails, networkDetails: HciHypervisorNetworking, hostname: string);
imageDetails: LocalHostImageDetails;
networkDetails: HciHypervisorNetworking;
hostname: string;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns Details of the hypervisor image to be installed on the node
* @return {LocalHostImageDetails}
*/
getImageDetails(): LocalHostImageDetails;
/**
* Sets Details of the hypervisor image to be installed on the node
* @param {LocalHostImageDetails} imageDetails Details of the hypervisor image to be installed on the node
*/
setImageDetails(imageDetails: LocalHostImageDetails): void;
/**
* @return {HciHypervisorNetworking}
*/
getNetworkDetails(): HciHypervisorNetworking;
/**
* @param {HciHypervisorNetworking} networkDetails
*/
setNetworkDetails(networkDetails: HciHypervisorNetworking): 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[];
/**
* 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;
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 LocalHostImageDetails from "./LocalHostImageDetails";
import HciHypervisorNetworking from "./HciHypervisorNetworking";
import IPAddress from "../../../common/v1/config/IPAddress";
import IPAddressOrFQDN from "../../../common/v1/config/IPAddressOrFQDN";
import ValidationError from "../../../validation/ValidationError";