Deletes a subnet from a VPC.
public class DeleteSubnetRequest
Initializes a new instance of theclass
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
Checks if SubnetId property is set
The ID of the subnet you want to delete.
Returns a string that represents the current object.(Inherited from Object.)
Sets the ID of the subnet you want to delete.
You must terminate all running instances in the subnet before deleting it, otherwise Amazon VPC returns an error. AWS might delete any subnet if you leave it inactive for an extended period of time (inactive means that there are no running Amazon EC2 instances in the subnet).
Assembly: AWSSDK (Module: AWSSDK) Version: 184.108.40.206 (220.127.116.11)