Gives you information about your VPN connections.
Important - we strongly recommend you use HTTPS when calling this
operation because the response contains sensitive cryptographic
information for configuring your customer gateway.
You can filter the results to return information only about VPN
connections that match criteria you specify.
For example, you could ask to get information about a particular VPN
connection (or all) only if the VPN's state is pending or available.
You can specify multiple filters (e.g., the VPN connection is
associated with a particular VPN gateway, and
the gateway's state is pending or available).
The result includes information for a particular VPN connection
only if the VPN connection matches all your filters.
If there's no match, no special message is returned; the response is
simply empty.
The returned information consists of:
1. The VPN connection ID.
2. The type of connection.
3. Customer gateway ID.
4. VPN gateway ID.
5. The current state of the VPN connection (pending, available,
deleting, deleted).
6. The customer gateway configuration information in the
native XML format.
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 DescribeVpnConnectionsRequest
Public Class DescribeVpnConnectionsRequest
public ref class DescribeVpnConnectionsRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| DescribeVpnConnectionsRequest()()()() | Initializes a new instance of the DescribeVpnConnectionsRequest class | |
| Equals(Object) | (Inherited from Object.) | |
| Filter |
Gets and sets the Filter property.
The filter to apply on the results of DescribeVpnConnections.
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. customerGatewayId - The ID of a customer gateway associated
with the VPN connection.
d. vpnGatewayId - The ID of a VPN gateway associated with the VPN
connection.
| |
| 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
| |
| IsSetVpnConnectionId()()()() |
Checks if VpnConnectionId property is set
| |
| ToString()()()() | (Inherited from Object.) | |
| VpnConnectionId |
Gets and sets the VpnConnectionId property.
A VPN connection ID
| |
| WithFilter(array<Filter>[]()[][]) |
Sets the Filter property
| |
| WithVpnConnectionId(array<String>[]()[][]) |
Sets the VpnConnectionId property
|