AWS SDK for .NET Documentation
StopInstanceRequest Class
AmazonAmazon.OpsWorks.ModelStopInstanceRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the StopInstance operation. Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information, see Starting, Stopping, and Rebooting 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 StopInstanceRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
StopInstanceRequest()()()()
Initializes a new instance of the StopInstanceRequest 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
Gets and sets the property InstanceId.

The instance ID.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithInstanceId(String) Obsolete.
Sets the InstanceId property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 StopInstanceRequest

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