Skip to content

VPCProps

Properties for defining a VPC.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vpc

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new VPCProps {
    object CidrBlock = null,
    object Description = null,
    object EnableIpv6 = null,
    object Ipv6CidrBlock = null,
    object Ipv6Isp = null,
    object ResourceGroupId = null,
    object SecondaryCidrBlocks = null,
    TagsProperty[] Tags = null,
    object UserCidr = null,
    object VpcName = null
};

Properties

Name Type Description
CidrBlock object Property cidrBlock: The IP address range of the VPC in the CIDR block form.
Description object Property description: Description of the vpc, [2, 256] characters.
EnableIpv6 object Property enableIpv6: Whether to enable an IPv6 network cidr, the value is:False (default): not turned on.True: On.
Ipv6CidrBlock object Property ipv6CidrBlock: IPv6 network cidr of the VPC.
Ipv6Isp object Property ipv6Isp: The Internet service provider (ISP) for IPv6 addresses of the VPC.
ResourceGroupId object Property resourceGroupId: Resource group id.
SecondaryCidrBlocks object Property secondaryCidrBlocks: The secondary IPv4 CIDR blocks.
Tags TagsProperty[] Property tags: Tags to attach to vpc.
UserCidr object Property userCidr: The user CIDR block.
VpcName object Property vpcName: Display name of the vpc instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.

CidrBlockOptional

public object CidrBlock { get; set; }
  • Type: object

Property cidrBlock: The IP address range of the VPC in the CIDR block form.

You can use the following IP address ranges and their subnets: 10.0.0.0/8 172.16.0.0/12 (Default) 192.168.0.0/16


DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: Description of the vpc, [2, 256] characters.

Do not fill or empty, the default is empty.


EnableIpv6Optional

public object EnableIpv6 { get; set; }
  • Type: object

Property enableIpv6: Whether to enable an IPv6 network cidr, the value is:False (default): not turned on.True: On.


Ipv6CidrBlockOptional

public object Ipv6CidrBlock { get; set; }
  • Type: object

Property ipv6CidrBlock: IPv6 network cidr of the VPC.


Ipv6IspOptional

public object Ipv6Isp { get; set; }
  • Type: object

Property ipv6Isp: The Internet service provider (ISP) for IPv6 addresses of the VPC.

Valid values: BGP(default): Alibaba Cloud BGP IPv6 ChinaMobile: China Mobile (single line) ChinaUnicom: China Unicom (single line) ChinaTelecom: China Telecom (single line) Note If your Alibaba Cloud account is allowed to activate single-ISP bandwidth, you can set the parameter to ChinaTelecom, ChinaUnicom, and ChinaMobile.


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: Resource group id.


SecondaryCidrBlocksOptional

public object SecondaryCidrBlocks { get; set; }
  • Type: object

Property secondaryCidrBlocks: The secondary IPv4 CIDR blocks.


TagsOptional

public TagsProperty[] Tags { get; set; }

Property tags: Tags to attach to vpc.

Max support 20 tags to add during create vpc. Each tag with two properties Key and Value, and Key is required.


UserCidrOptional

public object UserCidr { get; set; }
  • Type: object

Property userCidr: The user CIDR block.

Separate multiple CIDR blocks with commas (,). At most three CIDR blocks are supported.


VpcNameOptional

public object VpcName { get; set; }
  • Type: object

Property vpcName: Display name of the vpc instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.