Stops an instance that uses an Amazon EBS volume as its root device.
Instances that use Amazon EBS volumes as their root devices can be
quickly stopped and started. When an instance is
stopped, the compute resources are released and
you are not billed for hourly instance usage. However,
your root partition Amazon EBS volume remains,
continues to persist your data, and you are charged
for Amazon EBS volume usage. You can restart
your instance at any time.
Before stopping an instance, make sure it is in a state from
which it can be restarted. Stopping an instance does not preserve
data stored in RAM.
Performing this operation on an instance that
uses an instance store as its
root device returns
an error.
Namespace: Amazon.EC2.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class StopInstancesRequest
Public Class StopInstancesRequest
public ref class StopInstancesRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| StopInstancesRequest()()()() | Initializes a new instance of the StopInstancesRequest class | |
| Equals(Object) | (Inherited from Object.) | |
| Force |
Gets and sets the Force property.
Forces the instance to stop. The instance will
not have an opportunity to flush file system caches nor file
system meta data. If you use this option, you must perform file
system check and repair procedures. This option is not
recommended for Windows instances.
| |
| 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 InstanceId property.
The instance ID.
| |
| IsSetForce()()()() |
Checks if Force property is set
| |
| IsSetInstanceId()()()() |
Checks if InstanceId property is set
| |
| ToString()()()() | (Inherited from Object.) | |
| WithForce(Boolean) |
Sets the Force property
| |
| WithInstanceId(array<String>[]()[][]) |
Sets the InstanceId property
|