AWS SDK for .NET Documentation
WithFilter Method (list)
AmazonAmazon.EC2.ModelDescribeVpnConnectionsRequestWithFilter(array<Filter>[]()[][]) Did this page help you?   Yes   No    Tell us about it...
Sets the filter to apply on the results of DescribeVpnConnections.
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 DescribeVpnConnectionsRequest WithFilter(
	params Filter[] list
)
Parameters
list (array<Filter>[]()[][])
The filter to apply on the results of DescribeVpnConnections.
Return Value
this instance
Remarks
Filters can be: a. state - The state of the VPN connection. (pending, available, deleting, deleted). b. type - The type of VPN connection. Currently the only supported type is ipsec.1. c. customer-gateway-id - The ID of a customer gateway associated with the VPN connection. d. vpn-gateway-id - The ID of a VPN gateway associated with the VPN connection. e. vpn-connection-id - the ID of the VPN connection. f. customer-gateway-configuration - the configuration information for the customer gateway. g. options.static-routes-only - indicates whether the connection has static routes only (used for devices that do not support BGP). h. route.destination-cidr-block - the destination CIDR block; this corresponds to the subnet used in a customer data center. i. bgp-asn - the BGP ASN associated with a BGP device. j. tag-key - the key of a tag assigned to the resource (this filter is independent of the tag-value filter). k. tag-value - the value of a tag assigned to the resource (this filter is independent of the tag-key filter). l. tag:key - Filters the results based on a specific tag/value combination. Example: To list just the resources assigned tag Purpose=X, then specify: Filter.1.Name=tag:Purpose and Filter.1.Value.1=X. Example: To list just resources assigned tag Purpose=X OR Purpose=Y, then specify: Filter.1.Name=tag:Purpose and Filter.1.Value.1=X and Filter.1.Value.2=Y.

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