/** * The GatewayDeployment model module. * @module Ntnx/GatewayDeployment * @version 4.4.1 * @class GatewayDeployment */ export default class GatewayDeployment { /** * Constructs a GatewayDeployment 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/GatewayDeployment} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/GatewayDeployment} The populated GatewayDeployment 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; /** * Returns Cluster reference required to identify which on-prem cluster to deploy the gateway VM on. * @return {string} */ getClusterReference(): string; /** * Sets Cluster reference required to identify which on-prem cluster to deploy the gateway VM on. * @param {string} clusterReference Cluster reference required to identify which on-prem cluster to deploy the gateway VM on. */ setClusterReference(clusterReference: string): void; clusterReference: string; /** * @return {GatewayManagementInterface} */ getManagementInterface(): GatewayManagementInterface; /** * @param {GatewayManagementInterface} managementInterface */ setManagementInterface(managementInterface: GatewayManagementInterface): void; managementInterface: GatewayManagementInterface; /** * Returns List of network interfaces for this gateway. * @return {GatewayInterface[]} */ getInterfaces(): GatewayInterface[]; /** * Sets List of network interfaces for this gateway. * @param {GatewayInterface[]} interfaces List of network interfaces for this gateway. */ setInterfaces(interfaces: GatewayInterface[]): void; interfaces: GatewayInterface[]; /** * Returns vCenter datastore to which the gateway disks and images will be uploaded during deployment. * @return {string} */ getVcenterDatastoreName(): string; /** * Sets vCenter datastore to which the gateway disks and images will be uploaded during deployment. * @param {string} vcenterDatastoreName vCenter datastore to which the gateway disks and images will be uploaded during deployment. */ setVcenterDatastoreName(vcenterDatastoreName: string): void; vcenterDatastoreName: string; /** * Returns Boolean flag indicating which NTP servers are configured on the gateway. When True, the gateway will use the same NTP servers configured on the PC. When False, the gateway will use the list of NTP servers specified by ntpServers. * @return {boolean} */ getShouldSynchronizeSystemNtpServers(): boolean; /** * Sets Boolean flag indicating which NTP servers are configured on the gateway. When True, the gateway will use the same NTP servers configured on the PC. When False, the gateway will use the list of NTP servers specified by ntpServers. * @param {boolean} shouldSynchronizeSystemNtpServers Boolean flag indicating which NTP servers are configured on the gateway. When True, the gateway will use the same NTP servers configured on the PC. When False, the gateway will use the list of NTP servers specified by ntpServers. */ setShouldSynchronizeSystemNtpServers(shouldSynchronizeSystemNtpServers: boolean): void; shouldSynchronizeSystemNtpServers: boolean; /** * Returns List of NTP servers configured on the gateway. When shouldSynchronizeSystemNtpServers is True this key may be omitted. Any valid list value given for this key will be ignored. When shouldSynchronizeSystemNtpServers is False this field may be provided. If an empty list value is given, or if this key is omitted, the following NTP servers will be used by default: time.google.com 0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org When an NTP server is provided as an IP address, the prefixLength property of each IP address will always have a value of 32. * @return {IPAddressOrFQDN[]} */ getNtpServers(): IPAddressOrFQDN[]; /** * Sets List of NTP servers configured on the gateway. When shouldSynchronizeSystemNtpServers is True this key may be omitted. Any valid list value given for this key will be ignored. When shouldSynchronizeSystemNtpServers is False this field may be provided. If an empty list value is given, or if this key is omitted, the following NTP servers will be used by default: time.google.com 0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org When an NTP server is provided as an IP address, the prefixLength property of each IP address will always have a value of 32. * @param {IPAddressOrFQDN[]} ntpServers List of NTP servers configured on the gateway. When shouldSynchronizeSystemNtpServers is True this key may be omitted. Any valid list value given for this key will be ignored. When shouldSynchronizeSystemNtpServers is False this field may be provided. If an empty list value is given, or if this key is omitted, the following NTP servers will be used by default: time.google.com 0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org When an NTP server is provided as an IP address, the prefixLength property of each IP address will always have a value of 32. */ setNtpServers(ntpServers: IPAddressOrFQDN[]): void; ntpServers: IPAddressOrFQDN[]; /** * Returns Boolean flag indicating which DNS servers are configured on the gateway. When True, the gateway will use the same DNS servers configured on the PC. When False, the gateway will use the list of DNS servers specified by dnsServers. * @return {boolean} */ getShouldSynchronizeSystemDnsServers(): boolean; /** * Sets Boolean flag indicating which DNS servers are configured on the gateway. When True, the gateway will use the same DNS servers configured on the PC. When False, the gateway will use the list of DNS servers specified by dnsServers. * @param {boolean} shouldSynchronizeSystemDnsServers Boolean flag indicating which DNS servers are configured on the gateway. When True, the gateway will use the same DNS servers configured on the PC. When False, the gateway will use the list of DNS servers specified by dnsServers. */ setShouldSynchronizeSystemDnsServers(shouldSynchronizeSystemDnsServers: boolean): void; shouldSynchronizeSystemDnsServers: boolean; /** * Returns List of DNS servers configured on the gateway. When shouldSynchronizeSystemDnsServers is True this key may be omitted. Any valid list value given for this key will be ignored. When shouldSynchronizeSystemDnsServers is False this field may be provided. If an empty list value is given, or if this key is omitted, the following DNS servers will be used by default: 8.8.8.8 4.4.4.4 The prefixLength property of each IP address will always have a value of 32. * @return {IPAddress[]} */ getDnsServers(): IPAddress[]; /** * Sets List of DNS servers configured on the gateway. When shouldSynchronizeSystemDnsServers is True this key may be omitted. Any valid list value given for this key will be ignored. When shouldSynchronizeSystemDnsServers is False this field may be provided. If an empty list value is given, or if this key is omitted, the following DNS servers will be used by default: 8.8.8.8 4.4.4.4 The prefixLength property of each IP address will always have a value of 32. * @param {IPAddress[]} dnsServers List of DNS servers configured on the gateway. When shouldSynchronizeSystemDnsServers is True this key may be omitted. Any valid list value given for this key will be ignored. When shouldSynchronizeSystemDnsServers is False this field may be provided. If an empty list value is given, or if this key is omitted, the following DNS servers will be used by default: 8.8.8.8 4.4.4.4 The prefixLength property of each IP address will always have a value of 32. */ setDnsServers(dnsServers: IPAddress[]): void; dnsServers: IPAddress[]; 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 GatewayManagementInterface from "./GatewayManagementInterface"; import GatewayInterface from "./GatewayInterface"; import IPAddressOrFQDN from "../../../common/v1/config/IPAddressOrFQDN"; import IPAddress from "../../../common/v1/config/IPAddress"; import ValidationError from "../../../validation/ValidationError";