AWS SDK for .NET Documentation
DescribeVpcsRequest Class
AmazonAmazon.EC2.ModelDescribeVpcsRequest Did this page help you?   Yes   No    Tell us about it...
Gives you information about your VPCs.
Declaration Syntax
public class DescribeVpcsRequest : EC2Request
All MembersConstructorsMethodsProperties

Initializes a new instance of the DescribeVpcsRequest class

Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
List of filters used to specify which VPCs to describe. 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.

Serves as a hash function for a particular type.
(Inherited from Object.)
Gets the type of the current instance.
(Inherited from Object.)
Checks if Filter property is set

Checks if VpcId property is set

Returns a string that represents the current object.
(Inherited from Object.)
List of VPC IDs for which you want information.

WithFilter(array<Filter>[]()[][]) Obsolete.
Sets filters used to specify which VPCs to describe.

WithVpcId(array<String>[]()[][]) Obsolete.
Sets list of VPC IDs for which you want information.

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)
Inheritance Hierarchy

Assembly: AWSSDK (Module: AWSSDK) Version: (