AmazonEC2Client.DeleteVpnGateway Method (DeleteVpnGatewayRequest)

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

Deletes a VPN gateway. Use this when you want to delete a VPC and all its associated components because you no longer need them. We recommend that before you delete a VPN gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the VPN gateway if you just want to delete and re-create the VPN connection between your VPC and data center.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public virtual DeleteVpnGatewayResponse DeleteVpnGateway(
         DeleteVpnGatewayRequest deleteVpnGatewayRequest
)

Parameters

deleteVpnGatewayRequest
Type: Amazon.EC2.Model.DeleteVpnGatewayRequest

Container for the necessary parameters to execute the DeleteVpnGateway service method on AmazonEC2.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5