AWS SDK for .NET Documentation
StartInstancesRequest Class
AmazonAmazon.EC2.ModelStartInstancesRequest Did this page help you?   Yes   No    Tell us about it...
Starts an Amazon EBS-backed AMI that you've previously stopped.
Declaration Syntax
C#
public class StartInstancesRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
StartInstancesRequest()()()()
Initializes a new instance of the StartInstancesRequest 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.)
InstanceId
The instance ID.

IsSetInstanceId()()()()
Checks if InstanceId property is set

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithInstanceId(array<String>[]()[][]) Obsolete.
Sets the instance ID.

Remarks

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. Each time you transition an instance from stopped to started, we charge a full instance hour, even if transitions happen multiple times within a single hour.

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.

Inheritance Hierarchy
Object
EC2Request
 StartInstancesRequest

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