VSwitchProps
Properties for defining a VSwitch
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vswitch
Initializer
import { VSwitchProps } from '@alicloud/ros-cdk-ecs'
const vSwitchProps: VSwitchProps = { ... }
Properties
Name | Type | Description |
---|---|---|
cidrBlock |
string | @alicloud/ros-cdk-core.IResolvable |
Property cidrBlock: CIDR Block of created VSwitch, It must belong to itself VPC CIDR block. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: VPC id to create vswtich. |
zoneId |
string | @alicloud/ros-cdk-core.IResolvable |
Property zoneId: The availability zone in which the VSwitch will be created. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: Description of the VSwitch, [2, 256] characters. |
ipv6CidrBlock |
number | @alicloud/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 |
TagsProperty[] |
Property tags: Tags to attach to vswitch. |
vpcIpv6CidrBlock |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcIpv6CidrBlock: The IPv6 CIDR block of the VPC. |
vSwitchName |
string | @alicloud/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 '.', '-'. |
zoneType |
string | @alicloud/ros-cdk-core.IResolvable |
Property zoneType: The type of the zones to be queried. |
cidrBlock
Required
public readonly cidrBlock: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property cidrBlock: CIDR Block of created VSwitch, It must belong to itself VPC CIDR block.
vpcId
Required
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: VPC id to create vswtich.
zoneId
Required
public readonly zoneId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property zoneId: The availability zone in which the VSwitch will be created.
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: Description of the VSwitch, [2, 256] characters.
Do not fill or empty, the default is empty.
ipv6CidrBlock
Optional
public readonly ipv6CidrBlock: number | IResolvable;
- Type: number | @alicloud/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.
tags
Optional
public readonly tags: TagsProperty[];
- 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.
vpcIpv6CidrBlock
Optional
public readonly vpcIpv6CidrBlock: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcIpv6CidrBlock: The IPv6 CIDR block of the VPC.
vSwitchName
Optional
public readonly vSwitchName: string | IResolvable;
- Type: string | @alicloud/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 '.', '-'.
zoneType
Optional
public readonly zoneType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property zoneType: The type of the zones to be queried.
Default value: AvailabilityZone. This value indicates Alibaba Cloud zones.