VPCProps
Properties for defining a VPC
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vpc
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.VPCProps {
CidrBlock: interface{},
Description: interface{},
EnableIpv6: interface{},
Ipv6CidrBlock: interface{},
Ipv6Isp: interface{},
ResourceGroupId: interface{},
SecondaryCidrBlocks: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.RosVPC.TagsProperty,
UserCidr: interface{},
VpcName: interface{},
}
Properties
Name | Type | Description |
---|---|---|
CidrBlock |
interface{} |
Property cidrBlock: The IP address range of the VPC in the CIDR block form. |
Description |
interface{} |
Property description: Description of the vpc, [2, 256] characters. |
EnableIpv6 |
interface{} |
Property enableIpv6: Whether to enable an IPv6 network cidr, the value is:False (default): not turned on.True: On. |
Ipv6CidrBlock |
interface{} |
Property ipv6CidrBlock: IPv6 network cidr of the VPC. |
Ipv6Isp |
interface{} |
Property ipv6Isp: The Internet service provider (ISP) for IPv6 addresses of the VPC. |
ResourceGroupId |
interface{} |
Property resourceGroupId: Resource group id. |
SecondaryCidrBlocks |
interface{} |
Property secondaryCidrBlocks: The secondary IPv4 CIDR blocks. |
Tags |
*[]TagsProperty |
Property tags: Tags to attach to vpc. |
UserCidr |
interface{} |
Property userCidr: The user CIDR block. |
VpcName |
interface{} |
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 '.', '-'. |
CidrBlock
Optional
CidrBlock interface{}
- Type: interface{}
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
Description
Optional
Description interface{}
- Type: interface{}
Property description: Description of the vpc, [2, 256] characters.
Do not fill or empty, the default is empty.
EnableIpv6
Optional
EnableIpv6 interface{}
- Type: interface{}
Property enableIpv6: Whether to enable an IPv6 network cidr, the value is:False (default): not turned on.True: On.
Ipv6CidrBlock
Optional
Ipv6CidrBlock interface{}
- Type: interface{}
Property ipv6CidrBlock: IPv6 network cidr of the VPC.
Ipv6Isp
Optional
Ipv6Isp interface{}
- Type: interface{}
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.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
SecondaryCidrBlocks
Optional
SecondaryCidrBlocks interface{}
- Type: interface{}
Property secondaryCidrBlocks: The secondary IPv4 CIDR blocks.
Tags
Optional
Tags *[]TagsProperty
- Type: *[]TagsProperty
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.
UserCidr
Optional
UserCidr interface{}
- Type: interface{}
Property userCidr: The user CIDR block.
Separate multiple CIDR blocks with commas (,). At most three CIDR blocks are supported.
VpcName
Optional
VpcName interface{}
- Type: interface{}
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 '.', '-'.