/** * The ClusterNetwork model module. * @module Ntnx/ClusterNetwork * @version 4.4.2 * @class ClusterNetwork */ export default class ClusterNetwork { /** * Constructs a ClusterNetwork 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/ClusterNetwork} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/ClusterNetwork} The populated ClusterNetwork 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; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * @return {IPAddress} */ getExternalAddress(): IPAddress; /** * @param {IPAddress} externalAddress */ setExternalAddress(externalAddress: IPAddress): void; externalAddress: IPAddress; /** * Returns List of name servers on a cluster. This is a part of payload for both clusters create and update operations. Currently, only IPv4 address and FQDN (fully qualified domain name) values are supported for the create operation. * @return {IPAddressOrFQDN[]} */ getNameServers(): IPAddressOrFQDN[]; /** * Sets List of name servers on a cluster. This is a part of payload for both clusters create and update operations. Currently, only IPv4 address and FQDN (fully qualified domain name) values are supported for the create operation. * @param {IPAddressOrFQDN[]} nameServers List of name servers on a cluster. This is a part of payload for both clusters create and update operations. Currently, only IPv4 address and FQDN (fully qualified domain name) values are supported for the create operation. */ setNameServers(nameServers: IPAddressOrFQDN[]): void; nameServers: IPAddressOrFQDN[]; /** * Returns List of NTP servers on a cluster. This is a part of payload for both cluster create and update operations. Currently, only IPv4 address and FQDN (fully qualified domain name) values are supported for the create operation. * @return {IPAddressOrFQDN[]} */ getNtpServers(): IPAddressOrFQDN[]; /** * Sets List of NTP servers on a cluster. This is a part of payload for both cluster create and update operations. Currently, only IPv4 address and FQDN (fully qualified domain name) values are supported for the create operation. * @param {IPAddressOrFQDN[]} ntpServers List of NTP servers on a cluster. This is a part of payload for both cluster create and update operations. Currently, only IPv4 address and FQDN (fully qualified domain name) values are supported for the create operation. */ setNtpServers(ntpServers: IPAddressOrFQDN[]): void; ntpServers: IPAddressOrFQDN[]; /** * Returns Cluster fully qualified domain name. This is part of payload for cluster update operation only. * @return {string} */ getFqdn(): string; /** * Sets Cluster fully qualified domain name. This is part of payload for cluster update operation only. * @param {string} fqdn Cluster fully qualified domain name. This is part of payload for cluster update operation only. */ setFqdn(fqdn: string): void; fqdn: string; /** * Returns List of HTTP Proxy server configuration needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. * @return {HttpProxyConfig[]} */ getHttpProxyConfig(): HttpProxyConfig[]; /** * Sets List of HTTP Proxy server configuration needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. * @param {HttpProxyConfig[]} httpProxyConfig List of HTTP Proxy server configuration needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. */ setHttpProxyConfig(httpProxyConfig: HttpProxyConfig[]): void; httpProxyConfig: HttpProxyConfig[]; /** * Returns Targets HTTP traffic to which is exempted from going through the configured HTTP Proxy. * @return {HttpProxyWhiteListConfig[]} */ getHttpProxyWhiteListConfig(): HttpProxyWhiteListConfig[]; /** * Sets Targets HTTP traffic to which is exempted from going through the configured HTTP Proxy. * @param {HttpProxyWhiteListConfig[]} httpProxyWhiteListConfig Targets HTTP traffic to which is exempted from going through the configured HTTP Proxy. */ setHttpProxyWhiteListConfig(httpProxyWhiteListConfig: HttpProxyWhiteListConfig[]): void; httpProxyWhiteListConfig: HttpProxyWhiteListConfig[]; 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 IPAddress from "../../../common/v1/config/IPAddress"; import IPAddressOrFQDN from "../../../common/v1/config/IPAddressOrFQDN"; import HttpProxyConfig from "./HttpProxyConfig"; import HttpProxyWhiteListConfig from "./HttpProxyWhiteListConfig"; import ValidationError from "../../../validation/ValidationError";