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 information returned consists of:
a) The VPC ID.
b) The CIDR block
you've assigned to the VPC.
c) The ID of the DHCP options you've associated with the VPC
(or "default" if the default options are associated with the VPC)
The current state of the VPC (pending or available)
Namespace: Amazon.EC2.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class DescribeVpcsRequest
Public Class DescribeVpcsRequest
public ref class DescribeVpcsRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| DescribeVpcsRequest()()()() | Initializes a new instance of the DescribeVpcsRequest class | |
| Equals(Object) | (Inherited from Object.) | |
| Filter |
Gets and sets the Filter property.
The available filters are:
1. state - The state of the VPC. Valid Values: pending,
available.
2. cidrBlock - The CIDR block of the VPC. The CIDR block you
specify must exactly match the VPC's CIDR block for information to be
returned for the VPC.
Constraints: Must contain the slash followed by one or two
digits (e.g., /28).
3. dhcpOptionsId - The IP of a set of DHCP options.
| |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsSetFilter()()()() |
Checks if Filter property is set
| |
| IsSetVpcId()()()() |
Checks if VpcId property is set
| |
| ToString()()()() | (Inherited from Object.) | |
| VpcId |
Gets and sets the VpcId property.
The ID of a VPC you want information about.
| |
| WithFilter(array<Filter>[]()[][]) |
Sets the Filter property
| |
| WithVpcId(array<String>[]()[][]) |
Sets the VpcId property
|