/** * The ClusterNetworkConfig model module. * @module Ntnx/ClusterNetworkConfig * @version 4.3.1 * @class ClusterNetworkConfig * * @param { string } name Name of the network configuration. * * @param { string } network Network managed by the IPAM (IP address management) entity. */ export default class ClusterNetworkConfig { /** * Constructs a ClusterNetworkConfig 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/ClusterNetworkConfig} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/ClusterNetworkConfig} The populated ClusterNetworkConfig 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 ClusterNetworkConfig. * Cluster Network configuration. * @alias module:Ntnx/ClusterNetworkConfig * * @param { string } name Name of the network configuration. * * @param { string } network Network managed by the IPAM (IP address management) entity. */ constructor(name: string, network: string); name: string; network: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Name of the network configuration. * @return {string} */ getName(): string; /** * Sets Name of the network configuration. * @param {string} name Name of the network configuration. */ setName(name: string): void; /** * Returns List of DNS servers to be used by this configuration. * @return {IPv4Address[]} */ getDnsServers(): IPv4Address[]; /** * Sets List of DNS servers to be used by this configuration. * @param {IPv4Address[]} dnsServers List of DNS servers to be used by this configuration. */ setDnsServers(dnsServers: IPv4Address[]): void; dnsServers: IPv4Address[]; /** * @return {IPv4Address} */ getGatewayIp(): IPv4Address; /** * @param {IPv4Address} gatewayIp */ setGatewayIp(gatewayIp: IPv4Address): void; gatewayIp: IPv4Address; /** * @return {IpRange[]} */ getIpRanges(): IpRange[]; /** * @param {IpRange[]} ipRanges */ setIpRanges(ipRanges: IpRange[]): void; ipRanges: IpRange[]; /** * @return {VcenterLocation} */ getEsxLocation(): VcenterLocation; /** * @param {VcenterLocation} esxLocation */ setEsxLocation(esxLocation: VcenterLocation): void; esxLocation: VcenterLocation; /** * @return {IPv4Address} */ getNetmask(): IPv4Address; /** * @param {IPv4Address} netmask */ setNetmask(netmask: IPv4Address): void; netmask: IPv4Address; /** * Returns Network managed by the IPAM (IP address management) entity. * @return {string} */ getNetwork(): string; /** * Sets Network managed by the IPAM (IP address management) entity. * @param {string} network Network managed by the IPAM (IP address management) entity. */ setNetwork(network: 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 IPv4Address from "../../../common/v1/config/IPv4Address"; import VcenterLocation from "./VcenterLocation"; import ValidationError from "../../../validation/ValidationError";