AmazonEC2Client.DescribeVpcs Method (DescribeVpcsRequest)

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

Gives you information about your VPCs. You can filter the results to return information only about VPCs that match criteria you specify.

For example, you could ask to get information about a particular VPC or VPCs (or all your VPCs) only if the VPC's state is available. You can specify multiple filters (e.g., the VPC uses one of several sets of DHCP options, and the VPC's state is available). The result includes information for a particular VPC only if the VPC matches all your filters.

If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public virtual DescribeVpcsResponse DescribeVpcs(
         DescribeVpcsRequest request
)

Parameters

request
Type: Amazon.EC2.Model.DescribeVpcsRequest

Return Value
Type: Amazon.EC2.Model.DescribeVpcsResponse
The response from the DescribeVpcs service method, as returned by AmazonEC2.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5