ALIYUN::ENS::VSwitch is used to create a vSwitch.
Syntax
{
"Type": "ALIYUN::ENS::VSwitch",
"Properties": {
"Description": String,
"CidrBlock": String,
"VSwitchName": String,
"NetworkId": String,
"EnsRegionId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
Description | String | No | Yes | The description of the vSwitch. | The description must be 2 to 256 characters in length. It must start with a letter and cannot start with |
CidrBlock | String | Yes | No | The CIDR block of the vSwitch. | The vSwitch CIDR block must meet the following requirements:
|
VSwitchName | String | No | Yes | The vSwitch name. | The name must meet the following requirements:
|
NetworkId | String | Yes | No | The ID of the network to which the vSwitch that you want to create belongs. | None. |
EnsRegionId | String | Yes | No | The ID of the Edge Node Service (ENS) node. | None. |
Return values
Fn::GetAtt
VSwitchId: the vSwitch ID.