/** * The AwsSubnet model module. * @module Ntnx/AwsSubnet * @version 4.4.1 * @class AwsSubnet * @extends ExternalizableAbstractModel * * @param { string } vpcId AWS VPC ID where cluster is deployed. * * @param { string } subnetId Cloud subnet Id. * * @param { string } cidr Cloud subnet mask. * * @param { string } gatewayIp Cloud subnet gateway IP. * * @param { CloudType } cloudType * * @param { string } availabilityZone Availability Zone in which resource is situated. */ export default class AwsSubnet extends ExternalizableAbstractModel { /** * Constructs a new AwsSubnet. * NC2A Subnet in the given VPC. * @alias module:Ntnx/AwsSubnet * @extends module:Ntnx/ExternalizableAbstractModel * * @param { string } vpcId AWS VPC ID where cluster is deployed. * * @param { string } subnetId Cloud subnet Id. * * @param { string } cidr Cloud subnet mask. * * @param { string } gatewayIp Cloud subnet gateway IP. * * @param { CloudType } cloudType * * @param { string } availabilityZone Availability Zone in which resource is situated. */ constructor(vpcId: string, subnetId: string, cidr: string, gatewayIp: string, cloudType: CloudType, availabilityZone: string); vpcId: string; subnetId: string; cidr: string; gatewayIp: string; cloudType: string; availabilityZone: string; /** * Returns AWS VPC ID where cluster is deployed. * @return {string} */ getVpcId(): string; /** * Sets AWS VPC ID where cluster is deployed. * @param {string} vpcId AWS VPC ID where cluster is deployed. */ setVpcId(vpcId: string): void; /** * Returns Annotation string for cloud resources. * @return {string} */ getAnnotation(): string; /** * Sets Annotation string for cloud resources. * @param {string} annotation Annotation string for cloud resources. */ setAnnotation(annotation: string): void; annotation: string; /** * Returns Cloud subnet Id. * @return {string} */ getSubnetId(): string; /** * Sets Cloud subnet Id. * @param {string} subnetId Cloud subnet Id. */ setSubnetId(subnetId: string): void; /** * Returns Cloud subnet mask. * @return {string} */ getCidr(): string; /** * Sets Cloud subnet mask. * @param {string} cidr Cloud subnet mask. */ setCidr(cidr: string): void; /** * Returns Cloud subnet gateway IP. * @return {string} */ getGatewayIp(): string; /** * Sets Cloud subnet gateway IP. * @param {string} gatewayIp Cloud subnet gateway IP. */ setGatewayIp(gatewayIp: string): void; /** * @return {CloudType} */ getCloudType(): CloudType; /** * @param {CloudType} cloudType */ setCloudType(cloudType: CloudType): void; /** * Returns Availability Zone in which resource is situated. * @return {string} */ getAvailabilityZone(): string; /** * Sets Availability Zone in which resource is situated. * @param {string} availabilityZone Availability Zone in which resource is situated. */ setAvailabilityZone(availabilityZone: string): void; #private; } import ExternalizableAbstractModel from "../../../../common/v1/response/ExternalizableAbstractModel"; import CloudType from "./CloudType";