DATASOURCE::VPC::VSwitch is used to query the information about a vSwitch.
Syntax
{
"Type": "DATASOURCE::VPC::VSwitch",
"Properties": {
"VSwitchId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
VSwitchId | String | Yes | Yes | The ID of the vSwitch. | None. |
Return values
Fn::GetAtt
IsDefault: indicates whether the vSwitch is the default one.
RouteTableId: the ID of the route table associated with the vSwitch.
Description: the description of the vSwitch.
ZoneId: the zone ID of the vSwitch.
ResourceGroupId: the ID of the resource group.
AvailableIpAddressCount: the number of available IP addresses.
VSwitchId: the ID of the vSwitch.
CreateTime: the time when the vSwitch was created.
CidrBlock: the private CIDR block of the vSwitch.
VpcId: the ID of the virtual private cloud (VPC) to which the vSwitch belongs.
VSwitchName: the name of the vSwitch.
Ipv6CidrBlock: the IPv6 CIDR block of the vSwitch.
Tags: the information about the tags added to the vSwitch.