C# Class Amazon.EC2.Model.DetachVpnGatewayRequest

Container for the parameters to the DetachVpnGateway operation.

Detaches a virtual private 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 virtual private gateway has been completely detached from a VPC by describing the virtual private gateway (any attachments to the virtual private 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 virtual private gateway.

Inheritance: AmazonEC2Request
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
DetachVpnGatewayRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

DetachVpnGatewayRequest ( string vpnGatewayId, string vpcId ) : System

Instantiates DetachVpnGatewayRequest with the parameterized properties

Private Methods

Method Description
IsSetVpcId ( ) : bool
IsSetVpnGatewayId ( ) : bool

Method Details

DetachVpnGatewayRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public DetachVpnGatewayRequest ( ) : System
return System

DetachVpnGatewayRequest() public method

Instantiates DetachVpnGatewayRequest with the parameterized properties
public DetachVpnGatewayRequest ( string vpnGatewayId, string vpcId ) : System
vpnGatewayId string The ID of the virtual private gateway.
vpcId string The ID of the VPC.
return System