AWS SDK for .NET Documentation
WithFilter Method (list)
Amazon ► Amazon.EC2.Model ► DescribeVpnGatewaysRequest ► WithFilter(array<Filter>[]()[][])
Did this page help you? Yes No Tell us about it...
Sets the filter to apply on the results of DescribeVpnGateways.
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 DescribeVpnGatewaysRequest WithFilter(
    	params Filter[] list
    )

Parameters

list (array<Filter>[]()[][])
  The filter to apply on the results of DescribeVpnGateways. Filters can be: a. state - The state of the VPN gateway. (pending, available, deleting, deleted). b. type - The type of VPN gateway. Currently the only supported type is ipsec.1. c. availabilityZone - The Availability Zone the VPN gateway is in.

Return Value
this instance

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