VSwitchProps
Properties for defining a VSwitch.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vswitch
Initializer
import ros_cdk_ecs
ros_cdk_ecs.VSwitchProps(
  cidr_block: typing.Union[str, IResolvable],
  vpc_id: typing.Union[str, IResolvable],
  zone_id: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  ipv6_cidr_block: typing.Union[typing.Union[int, float], IResolvable] = None,
  tags: typing.List[TagsProperty] = None,
  vpc_ipv6_cidr_block: typing.Union[str, IResolvable] = None,
  v_switch_name: typing.Union[str, IResolvable] = None,
  zone_type: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description | 
|---|---|---|
cidr_block | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property cidrBlock: CIDR Block of created VSwitch, It must belong to itself VPC CIDR block. | 
vpc_id | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property vpcId: VPC id to create vswtich. | 
zone_id | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property zoneId: The availability zone in which the VSwitch will be created. | 
description | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property description: Description of the VSwitch, [2, 256] characters. | 
ipv6_cidr_block | 
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | 
Property ipv6CidrBlock: The IPv6 network segment of the switch supports the last 8 bits of the VPC IPv6 network segment. | 
tags | 
typing.List[TagsProperty] | 
Property tags: Tags to attach to vswitch. | 
vpc_ipv6_cidr_block | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property vpcIpv6CidrBlock: The IPv6 CIDR block of the VPC. | 
v_switch_name | 
typing.Union[str, ros_cdk_core.IResolvable] | 
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 '.', '-'. | 
zone_type | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property zoneType: The type of the zones to be queried. | 
cidr_blockRequired 
cidr_block: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property cidrBlock: CIDR Block of created VSwitch, It must belong to itself VPC CIDR block.
vpc_idRequired 
vpc_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property vpcId: VPC id to create vswtich.
zone_idRequired 
zone_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property zoneId: The availability zone in which the VSwitch will be created.
descriptionOptional 
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property description: Description of the VSwitch, [2, 256] characters.
Do not fill or empty, the default is empty.
ipv6_cidr_blockOptional 
ipv6_cidr_block: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
 
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 
tags: typing.List[TagsProperty]
- Type: typing.List[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.
vpc_ipv6_cidr_blockOptional 
vpc_ipv6_cidr_block: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property vpcIpv6CidrBlock: The IPv6 CIDR block of the VPC.
v_switch_nameOptional 
v_switch_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
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 '.', '-'.
zone_typeOptional 
zone_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property zoneType: The type of the zones to be queried.
Default value: AvailabilityZone. This value indicates Alibaba Cloud zones.