AmazonEC2Client.DeleteVpc Method (DeleteVpcRequest)

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

Deletes a VPC. You must detach or delete all gateways or other objects that are dependent on the VPC first. For example, you must terminate all running instances, delete all VPC security groups (except the default), delete all the route tables (except the default), etc.

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

Syntax

C#
public virtual DeleteVpcResponse DeleteVpc(
         DeleteVpcRequest deleteVpcRequest
)

Parameters

deleteVpcRequest
Type: Amazon.EC2.Model.DeleteVpcRequest

Container for the necessary parameters to execute the DeleteVpc service method on AmazonEC2.

Version Information

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