/** * The RemoteClusterSpec model module. * @module Ntnx/RemoteClusterSpec * @version 4.4.2 * @class RemoteClusterSpec * * @param { IPAddressOrFQDN } address * * @param { Credentials } credentials */ export default class RemoteClusterSpec { /** * Constructs a RemoteClusterSpec 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/RemoteClusterSpec} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/RemoteClusterSpec} The populated RemoteClusterSpec 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 RemoteClusterSpec. * Address configuration of a remote cluster. It requires the address of the remote, that is an IP or domain name along with the basic authentication credentials. * @alias module:Ntnx/RemoteClusterSpec * * @param { IPAddressOrFQDN } address * * @param { Credentials } credentials */ constructor(address: IPAddressOrFQDN, credentials: Credentials); address: IPAddressOrFQDN; credentials: Credentials; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * @return {IPAddressOrFQDN} */ getAddress(): IPAddressOrFQDN; /** * @param {IPAddressOrFQDN} address */ setAddress(address: IPAddressOrFQDN): void; /** * @return {Credentials} */ getCredentials(): Credentials; /** * @param {Credentials} credentials */ setCredentials(credentials: Credentials): void; /** * Returns Port of remote cluster to register. * @return {Number} */ getPort(): number; /** * Sets Port of remote cluster to register. * @param {Number} port Port of remote cluster to register. */ setPort(port: number): void; port: number; 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 IPAddressOrFQDN from "../../../common/v1/config/IPAddressOrFQDN"; import Credentials from "./Credentials"; import ValidationError from "../../../validation/ValidationError";