Detaches a VPN gateway from a VPC.
Declaration Syntax
C# |
public class DetachVpnGatewayRequest : EC2Request
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
DetachVpnGatewayRequest()()()() | Initializes a new instance of the DetachVpnGatewayRequest class | |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
IsSetVpcId()()()() |
Checks if VpcId property is set
| |
IsSetVpnGatewayId()()()() |
Checks if VpnGatewayId property is set
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
VpcId |
The ID of the VPC you want to detach the VPN gateway from.
| |
VpnGatewayId |
The ID of the VPN gateway you want to detach from the VPC
| |
WithVpcId(String) | Obsolete.
Sets the ID of the VPC you want to detach the VPN gateway from.
| |
WithVpnGatewayId(String) | Obsolete.
Sets the ID of the VPN gateway you want to detach from the VPC
|
Remarks
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
Object | ||
EC2Request | ||
DetachVpnGatewayRequest |