/** * The Vpc model module. * @module Ntnx/Vpc * @version 4.4.1 * @class Vpc * @extends NetworkingBaseModel */ export default class Vpc extends NetworkingBaseModel { /** * Returns Name of the VPC. * @return {string} */ getName(): string; /** * Sets Name of the VPC. * @param {string} name Name of the VPC. */ setName(name: string): void; name: string; /** * Returns Description of the VPC. * @return {string} */ getDescription(): string; /** * Sets Description of the VPC. * @param {string} description Description of the VPC. */ setDescription(description: string): void; description: string; /** * @return {VpcType} */ getVpcType(): VpcType; /** * @param {VpcType} vpcType */ setVpcType(vpcType: VpcType): void; vpcType: string; /** * @return {VpcDhcpOptions} */ getCommonDhcpOptions(): VpcDhcpOptions; /** * @param {VpcDhcpOptions} commonDhcpOptions */ setCommonDhcpOptions(commonDhcpOptions: VpcDhcpOptions): void; commonDhcpOptions: VpcDhcpOptions; /** * Returns List of IP Addresses used for SNAT. * @return {IPAddress[]} */ getSnatIps(): IPAddress[]; /** * Sets List of IP Addresses used for SNAT. * @param {IPAddress[]} snatIps List of IP Addresses used for SNAT. */ setSnatIps(snatIps: IPAddress[]): void; snatIps: IPAddress[]; /** * Returns List of external subnets that the VPC is attached to. * @return {ExternalSubnet[]} */ getExternalSubnets(): ExternalSubnet[]; /** * Sets List of external subnets that the VPC is attached to. * @param {ExternalSubnet[]} externalSubnets List of external subnets that the VPC is attached to. */ setExternalSubnets(externalSubnets: ExternalSubnet[]): void; externalSubnets: ExternalSubnet[]; /** * Returns External routing domain associated with this route table * @return {string} */ getExternalRoutingDomainReference(): string; /** * Sets External routing domain associated with this route table * @param {string} externalRoutingDomainReference External routing domain associated with this route table */ setExternalRoutingDomainReference(externalRoutingDomainReference: string): void; externalRoutingDomainReference: string; /** * Returns CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT. * @return {IPSubnet[]} */ getExternallyRoutablePrefixes(): IPSubnet[]; /** * Sets CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT. * @param {IPSubnet[]} externallyRoutablePrefixes CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT. */ setExternallyRoutablePrefixes(externallyRoutablePrefixes: IPSubnet[]): void; externallyRoutablePrefixes: IPSubnet[]; /** * Returns List of Kubernetes clusters associated with the VPC. * @return {KubernetesCluster[]} */ getKubernetesClusters(): KubernetesCluster[]; /** * Sets List of Kubernetes clusters associated with the VPC. * @param {KubernetesCluster[]} kubernetesClusters List of Kubernetes clusters associated with the VPC. */ setKubernetesClusters(kubernetesClusters: KubernetesCluster[]): void; kubernetesClusters: KubernetesCluster[]; /** * @return {VpcScope} */ getScope(): VpcScope; /** * @param {VpcScope} scope */ setScope(scope: VpcScope): void; scope: string; /** * Returns When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves. When set to False or unset, only the VPC ERPs are advertised which is the default behavior. * @return {boolean} */ getShouldAdvertiseConnectedSubnets(): boolean; /** * Sets When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves. When set to False or unset, only the VPC ERPs are advertised which is the default behavior. * @param {boolean} shouldAdvertiseConnectedSubnets When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves. When set to False or unset, only the VPC ERPs are advertised which is the default behavior. */ setShouldAdvertiseConnectedSubnets(shouldAdvertiseConnectedSubnets: boolean): void; shouldAdvertiseConnectedSubnets: boolean; /** * Returns List of project UUIDs this VPC is shared with. * @return {string[]} */ getSharedWithProjects(): string[]; /** * Sets List of project UUIDs this VPC is shared with. * @param {string[]} sharedWithProjects List of project UUIDs this VPC is shared with. */ setSharedWithProjects(sharedWithProjects: string[]): void; sharedWithProjects: string[]; /** * @return {SupportedMultipleExternalSubnetType} */ getSupportedMultipleExternalSubnetType(): SupportedMultipleExternalSubnetType; /** * @param {SupportedMultipleExternalSubnetType} supportedMultipleExternalSubnetType */ setSupportedMultipleExternalSubnetType(supportedMultipleExternalSubnetType: SupportedMultipleExternalSubnetType): void; supportedMultipleExternalSubnetType: string; #private; } import NetworkingBaseModel from "./NetworkingBaseModel"; import VpcType from "./VpcType"; import VpcDhcpOptions from "./VpcDhcpOptions"; import IPAddress from "../../../common/v1/config/IPAddress"; import ExternalSubnet from "./ExternalSubnet"; import IPSubnet from "./IPSubnet"; import KubernetesCluster from "./KubernetesCluster"; import VpcScope from "./VpcScope"; import SupportedMultipleExternalSubnetType from "./SupportedMultipleExternalSubnetType";