Container for the parameters to the DeleteInstance operation.
Deletes a specified instance. You must stop an instance before you can delete it.
For more information, see Deleting
Instances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Declaration Syntax
C# |
public class DeleteInstanceRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
DeleteInstanceRequest()()()() | Initializes a new instance of the DeleteInstanceRequest class | |
DeleteElasticIp |
Gets and sets the property DeleteElasticIp.
Whether to delete the instance Elastic IP address. | |
DeleteVolumes |
Gets and sets the property DeleteVolumes.
Whether to delete the instance's Amazon EBS volumes. | |
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.) | |
InstanceId |
Gets and sets the property InstanceId.
The instance ID. | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithDeleteElasticIp(Boolean) | Obsolete.
Sets the DeleteElasticIp property
| |
WithDeleteVolumes(Boolean) | Obsolete.
Sets the DeleteVolumes property
| |
WithInstanceId(String) | Obsolete.
Sets the InstanceId property
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
DeleteInstanceRequest |