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: The value contains 1 to 128 characters and cannot start with http:\/\/ or https:\/\/. |
zoneType | string | @alicloud/ros-cdk-core.IResolvable | Property zoneType: The type of the zones to be queried. |
cidrBlockRequired
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.
vpcIdRequired
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: VPC id to create vswtich.
zoneIdRequired
public readonly zoneId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property zoneId: The availability zone in which the VSwitch will be created.
descriptionOptional
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.
ipv6CidrBlockOptional
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.
tagsOptional
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.
vpcIpv6CidrBlockOptional
public readonly vpcIpv6CidrBlock: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcIpv6CidrBlock: The IPv6 CIDR block of the VPC.
vSwitchNameOptional
public readonly vSwitchName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchName: The value contains 1 to 128 characters and cannot start with http:\/\/ or https:\/\/.
zoneTypeOptional
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.