DeleteVirtualSwitch
In this article:
DeleteVirtualSwitch#
Description#
Deletes a virtual switch.
Request Parameters#
SwitchId — The ID of the virtual switch.
Type: String
Required: Yes, if SwitchName is not supplied
SwitchName — The name of the virtual switch.
Type: String
Required: Yes, if SwitchId is not supplied
Response Elements#
requestId — The request ID.
Type: String
return —
True
is returned if the request succeeds, and an error otherwise.Type: Boolean
Examples#
c2-ec2 DeleteVirtualSwitch SwitchName demo-switch
c2-ec2 DeleteVirtualSwitch SwitchId sw-01234567