/** * The ManagementServer model module. * @module Ntnx/ManagementServer * @version 4.3.1 * @class ManagementServer * * @param { HypervisorType } hypervisorType * * @param { string } ip The IP address of the management server (vCenter for ESX, SCVMM for Hyper-V). * * @param { string } username The username for authenticating with the management server. * * @param { string } password The password for authenticating with the management server. */ export default class ManagementServer { /** * Constructs a ManagementServer 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/ManagementServer} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/ManagementServer} The populated ManagementServer 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 ManagementServer. * Configuration for the cluster management server, required when performing upgrades on clusters running ESX or Hyper-V hypervisors. Provides the credentials LCM needs to interact with vCenter or SCVMM during the upgrade process. * @alias module:Ntnx/ManagementServer * * @param { HypervisorType } hypervisorType * * @param { string } ip The IP address of the management server (vCenter for ESX, SCVMM for Hyper-V). * * @param { string } username The username for authenticating with the management server. * * @param { string } password The password for authenticating with the management server. */ constructor(hypervisorType: HypervisorType, ip: string, username: string, password: string); hypervisorType: string; ip: string; username: string; password: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * @return {HypervisorType} */ getHypervisorType(): HypervisorType; /** * @param {HypervisorType} hypervisorType */ setHypervisorType(hypervisorType: HypervisorType): void; /** * Returns The IP address of the management server (vCenter for ESX, SCVMM for Hyper-V). * @return {string} */ getIp(): string; /** * Sets The IP address of the management server (vCenter for ESX, SCVMM for Hyper-V). * @param {string} ip The IP address of the management server (vCenter for ESX, SCVMM for Hyper-V). */ setIp(ip: string): void; /** * Returns The username for authenticating with the management server. * @return {string} */ getUsername(): string; /** * Sets The username for authenticating with the management server. * @param {string} username The username for authenticating with the management server. */ setUsername(username: string): void; /** * Returns The password for authenticating with the management server. * @return {string} */ getPassword(): string; /** * Sets The password for authenticating with the management server. * @param {string} password The password for authenticating with the management server. */ setPassword(password: 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 HypervisorType from "./HypervisorType"; import ValidationError from "../../../validation/ValidationError";