VSwitchProps
Properties for defining a VSwitch.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vswitch
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new VSwitchProps {
object CidrBlock,
object VpcId,
object ZoneId,
object Description = null,
object Ipv6CidrBlock = null,
TagsProperty[] Tags = null,
object VpcIpv6CidrBlock = null,
object VSwitchName = null,
object ZoneType = null
};
Properties
| Name | Type | Description |
|---|---|---|
CidrBlock |
object |
Property cidrBlock: CIDR Block of created VSwitch, It must belong to itself VPC CIDR block. |
VpcId |
object |
Property vpcId: VPC id to create vswtich. |
ZoneId |
object |
Property zoneId: The availability zone in which the VSwitch will be created. |
Description |
object |
Property description: Description of the VSwitch, [2, 256] characters. |
Ipv6CidrBlock |
object |
Property ipv6CidrBlock: The IPv6 network segment of the switch supports the last 8 bits of the VPC IPv6 network segment. |
Tags |
TagsProperty[] |
Property tags: Tags to attach to vswitch. |
VpcIpv6CidrBlock |
object |
Property vpcIpv6CidrBlock: The IPv6 CIDR block of the VPC. |
VSwitchName |
object |
Property vSwitchName: Display name of the vSwitch instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'. |
ZoneType |
object |
Property zoneType: The type of the zones to be queried. |
CidrBlockRequired
public object CidrBlock { get; set; }
- Type: object
Property cidrBlock: CIDR Block of created VSwitch, It must belong to itself VPC CIDR block.
VpcIdRequired
public object VpcId { get; set; }
- Type: object
Property vpcId: VPC id to create vswtich.
ZoneIdRequired
public object ZoneId { get; set; }
- Type: object
Property zoneId: The availability zone in which the VSwitch will be created.
DescriptionOptional
public object Description { get; set; }
- Type: object
Property description: Description of the VSwitch, [2, 256] characters.
Do not fill or empty, the default is empty.
Ipv6CidrBlockOptional
public object Ipv6CidrBlock { get; set; }
- Type: object
Property ipv6CidrBlock: The IPv6 network segment of the switch supports the last 8 bits of the VPC IPv6 network segment.
Value: 0-255 (decimal). The IPv6 segment mask of the switch defaults to 64 bits.
TagsOptional
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
Property tags: Tags to attach to vswitch.
Max support 20 tags to add during create vswitch. Each tag with two properties Key and Value, and Key is required.
VpcIpv6CidrBlockOptional
public object VpcIpv6CidrBlock { get; set; }
- Type: object
Property vpcIpv6CidrBlock: The IPv6 CIDR block of the VPC.
VSwitchNameOptional
public object VSwitchName { get; set; }
- Type: object
Property vSwitchName: Display name of the vSwitch instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.
ZoneTypeOptional
public object ZoneType { get; set; }
- Type: object
Property zoneType: The type of the zones to be queried.
Default value: AvailabilityZone. This value indicates Alibaba Cloud zones.