DescribeVpcs

GET /?Action=DescribeVpcs
Description

Describes one or more Virtual Private Clouds (VPCs).
You can use the Filter.N parameter to filter the VPCs on the following properties:

  • vpc-id: The ID of the VPC.

  • state: The state of the VPC (pending | available).

  • cidr: The exact CIDR block of the VPC.

  • cidr-block: The exact CIDR block of the VPC (similar to cidr and cidrBlock).

  • cidrBlock: The exact CIDR block of the VPC (similar to cidr and cidr-block).

  • dhcp-options-id: The ID of a set of DHCP options.

  • is-default: Indicates whether the VPC is the default one.

  • isDefault: Alias to is-default filter.

  • tag-key: The key of a tag associated with the resource.

  • tag-value: The value of a tag associated with the resource.

  • tag:XXXX: The value of a tag associated with the resource, where XXXX is the key of the tag.

Note

If you exceed the number of identical requests allowed for a configured time period, the RequestLimitExceeded error message is returned.

Body parameter

Required: false
Name: DescribeVpcsRequest

Name Description Required Schema Default Example

Filter.N

One or more filters. Example:
osc-cli fcu DescribeVpcs \
  --Filter.1.Name "tag:KEYOFTHETAG" \
  --Filter.1.Value.1 "VALUEOFTHETAG"

false

Filter

VpcId.N

One or more VPC IDs.

false

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

DescribeVpcsResult

Response 200

Response 200

Name Description Required Schema Default Example

requestId

The ID of the request.

false

string

vpcSet

Information about the specified and described VPCs.

false

Vpc