/** * The AwsSubnetConfig model module. * @module Ntnx/AwsSubnetConfig * @version 4.4.1 * @class AwsSubnetConfig * * @param { string } cidr Subnet CIDR. * * @param { IPAddress } gatewayIpAddress * * @param { string } subnetReference AWS subnet Id. * * @param { string[] } securityGroupReferenceList The security group ID list. * * @param { string } vpcReference VPC * * @param { string } availabilityZone The cloud subnet availability zone. */ export default class AwsSubnetConfig { /** * Constructs a AwsSubnetConfig 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/AwsSubnetConfig} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/AwsSubnetConfig} The populated AwsSubnetConfig 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 AwsSubnetConfig. * The AWS subnet configuration. * @alias module:Ntnx/AwsSubnetConfig * * @param { string } cidr Subnet CIDR. * * @param { IPAddress } gatewayIpAddress * * @param { string } subnetReference AWS subnet Id. * * @param { string[] } securityGroupReferenceList The security group ID list. * * @param { string } vpcReference VPC * * @param { string } availabilityZone The cloud subnet availability zone. */ constructor(cidr: string, gatewayIpAddress: IPAddress, subnetReference: string, securityGroupReferenceList: string[], vpcReference: string, availabilityZone: string); cidr: string; gatewayIpAddress: IPAddress; subnetReference: string; securityGroupReferenceList: string[]; vpcReference: string; availabilityZone: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Subnet CIDR. * @return {string} */ getCidr(): string; /** * Sets Subnet CIDR. * @param {string} cidr Subnet CIDR. */ setCidr(cidr: string): void; /** * @return {IPAddress} */ getGatewayIpAddress(): IPAddress; /** * @param {IPAddress} gatewayIpAddress */ setGatewayIpAddress(gatewayIpAddress: IPAddress): void; /** * Returns AWS subnet Id. * @return {string} */ getSubnetReference(): string; /** * Sets AWS subnet Id. * @param {string} subnetReference AWS subnet Id. */ setSubnetReference(subnetReference: string): void; /** * Returns The security group ID list. * @return {string[]} */ getSecurityGroupReferenceList(): string[]; /** * Sets The security group ID list. * @param {string[]} securityGroupReferenceList The security group ID list. */ setSecurityGroupReferenceList(securityGroupReferenceList: string[]): void; /** * Returns VPC * @return {string} */ getVpcReference(): string; /** * Sets VPC * @param {string} vpcReference VPC */ setVpcReference(vpcReference: string): void; /** * Returns The cloud subnet availability zone. * @return {string} */ getAvailabilityZone(): string; /** * Sets The cloud subnet availability zone. * @param {string} availabilityZone The cloud subnet availability zone. */ setAvailabilityZone(availabilityZone: 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 IPAddress from "../../../common/v1/config/IPAddress"; import ValidationError from "../../../validation/ValidationError";