AWS SDK for .NET Documentation
DetachInternetGatewayRequest Class
AmazonAmazon.EC2.ModelDetachInternetGatewayRequest Did this page help you?   Yes   No    Tell us about it...
Detaches an Internet gateway from a VPC, disabling connectivity between the Internet and the VPC.
Declaration Syntax
C#
public class DetachInternetGatewayRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DetachInternetGatewayRequest()()()()
Initializes a new instance of the DetachInternetGatewayRequest class

Equals(Object)
Determines whether the specified Object is equal to the current 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.)
InternetGatewayId
The ID of the Internet gateway to detach.

IsSetInternetGatewayId()()()()
Checks if InternetGatewayId property is set

IsSetVpcId()()()()
Checks if VpcId property is set

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
VpcId
The ID of the VPC.

WithInternetGatewayId(String) Obsolete.
Sets the ID of the Internet gateway to detach.

WithVpcId(String) Obsolete.
Sets the ID of the VPC.

Remarks
The VPC must not contain any running instances with elastic IP addresses. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.
Inheritance Hierarchy
Object
EC2Request
 DetachInternetGatewayRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)