DescribeVirtualSwitches

Description

Describes one or more of your Virtual Switches. It is possible to use one or more filters.

Request Parameters

  • SwitchId.n - The ID of the Virtual Switch
    • Type: String
    • Required: No
  • Filter.n.Name - The name of the filter. Filter names are case-sensitive
    • Valid values: switch-name | switch-id
  • Filter.n.Value.n - One or more filter values

Response Elements

  • virtualSwitchInfo - Virtual Switches list
    • switchId - The ID of the Virtual Switch
    • availabilityZone - Availability Zone name
    • switchName - The name of the Virtual Switch
  • requestId - The ID of the request

Examples

c2-ec2 DescribeVirtualSwitches

c2-ec2 DescribeVirtualSwitches SwitchId.1 sw-01234567 SwitchId.2 sw-12345678

c2-ec2 DescribeVirtualSwtiches SwitchId.1 sw-01234567 SwitchId.2 sw-12345678 Filter.1.Name switch-name Filter.1.Value.1 demo-switch