DetachVpnGatewayRequest Class

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the DetachVpnGateway operation.

Detaches a VPN gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a VPN gateway has been completely detached from a VPC by describing the VPN gateway (any attachments to the VPN gateway are also described).

You must wait for the attachment's state to switch to detached before you can delete the VPC or attach a different VPC to the VPN gateway.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.Model.DetachVpnGatewayRequest

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

Syntax

C#
public class DetachVpnGatewayRequest : AmazonWebServiceRequest
         IRequestEvents

The DetachVpnGatewayRequest type exposes the following members

Constructors

  Name Description
Public Method DetachVpnGatewayRequest()

Properties

  Name Description
Public Property VpcId The ID of the VPC to detach the VPN gateway from.
Public Property VpnGatewayId The ID of the VPN gateway to detach from the VPC.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8