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
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
IsSetVpcId ( ) : bool
IsSetVpnGatewayId ( ) : bool

Method Details

DetachVpnGatewayRequest() public méthode

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

DetachVpnGatewayRequest() public méthode

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.
Résultat System