AWS SDK for .NET Documentation
WithFilter Method (list)
Amazon ► Amazon.EC2.Model ► DescribeVpcsRequest ► WithFilter(array<Filter>[]()[][])
Did this page help you? Yes No Tell us about it...
Sets filters used to specify which VPCs to describe.
Declaration Syntax

C#

    [ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")]
    public DescribeVpcsRequest WithFilter(
    	params Filter[] list
    )

Parameters

list (array<Filter>[]()[][])
  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.

Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)