/** * The RemoteVtepGateway model module. * @module Ntnx/RemoteVtepGateway * @version 4.4.1 * @class RemoteVtepGateway * @extends NetworkingBaseModel */ export default class RemoteVtepGateway extends NetworkingBaseModel { /** * Returns VTEP gateway name. * @return {string} */ getName(): string; /** * Sets VTEP gateway name. * @param {string} name VTEP gateway name. */ setName(name: string): void; name: string; /** * Returns If set to true, the VTEP gateway is local. When set to false, the VTEP gateway is remote. * @return {boolean} */ getIsLocal(): boolean; /** * Sets If set to true, the VTEP gateway is local. When set to false, the VTEP gateway is remote. * @param {boolean} isLocal If set to true, the VTEP gateway is local. When set to false, the VTEP gateway is remote. */ setIsLocal(isLocal: boolean): void; isLocal: boolean; /** * Returns VXLAN port. * minimum: 0 * maximum: 65535 * @return {Number} */ getVxlanPort(): number; /** * Sets VXLAN port. * @param {Number} vxlanPort VXLAN port. */ setVxlanPort(vxlanPort: number): void; vxlanPort: number; /** * Returns Reference to the remote Prism Element cluster that owns the VTEP gateway. * @return {string} */ getClusterReference(): string; /** * Sets Reference to the remote Prism Element cluster that owns the VTEP gateway. * @param {string} clusterReference Reference to the remote Prism Element cluster that owns the VTEP gateway. */ setClusterReference(clusterReference: string): void; clusterReference: string; /** * Returns Name of the remote Prism Element cluster that owns the VTEP gateway. * @return {string} */ getClusterName(): string; /** * Sets Name of the remote Prism Element cluster that owns the VTEP gateway. * @param {string} clusterName Name of the remote Prism Element cluster that owns the VTEP gateway. */ setClusterName(clusterName: string): void; clusterName: string; /** * Returns Reference to the VPC associated with the VTEP gateway. * @return {string} */ getVpcReference(): string; /** * Sets Reference to the VPC associated with the VTEP gateway. * @param {string} vpcReference Reference to the VPC associated with the VTEP gateway. */ setVpcReference(vpcReference: string): void; vpcReference: string; /** * Returns Name of the VPC associated with the VTEP gateway. * @return {string} */ getVpcName(): string; /** * Sets Name of the VPC associated with the VTEP gateway. * @param {string} vpcName Name of the VPC associated with the VTEP gateway. */ setVpcName(vpcName: string): void; vpcName: string; /** * Returns Indicates whether the gateway can be used to service a subnet extension's datapath. * @return {boolean} */ getIsActive(): boolean; /** * Sets Indicates whether the gateway can be used to service a subnet extension's datapath. * @param {boolean} isActive Indicates whether the gateway can be used to service a subnet extension's datapath. */ setIsActive(isActive: boolean): void; isActive: boolean; /** * @return {HighAvailabilityGroup} */ getHighAvailabilityGroup(): HighAvailabilityGroup; /** * @param {HighAvailabilityGroup} highAvailabilityGroup */ setHighAvailabilityGroup(highAvailabilityGroup: HighAvailabilityGroup): void; highAvailabilityGroup: HighAvailabilityGroup; /** * Returns Name of the project that the remote entities belong to on their host cluster. * @return {string} */ getProjectName(): string; /** * Sets Name of the project that the remote entities belong to on their host cluster. * @param {string} projectName Name of the project that the remote entities belong to on their host cluster. */ setProjectName(projectName: string): void; projectName: string; #private; } import NetworkingBaseModel from "./NetworkingBaseModel"; import HighAvailabilityGroup from "./HighAvailabilityGroup";