AWS SDK for .NET Documentation
DescribeInstancesRequest Class
AmazonAmazon.OpsWorks.ModelDescribeInstancesRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the DescribeInstances operation. Requests a description of a set of instances.
Note:

You must specify at least one of the parameters.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or 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 DescribeInstancesRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



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

An array of instance IDs to be described. If you use this parameter,

CopyC#
DescribeInstances
returns a description of the specified instances. Otherwise, it returns a description of every instance.


LayerId
Gets and sets the property LayerId.

A layer ID. If you use this parameter,

CopyC#
DescribeInstances
returns descriptions of the instances associated with the specified layer.


StackId
Gets and sets the property StackId.

A stack ID. If you use this parameter,

CopyC#
DescribeInstances
returns descriptions of the instances associated with the specified stack.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithInstanceIds(array<String>[]()[][]) Obsolete.
Sets the InstanceIds property

WithInstanceIds(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the InstanceIds property

WithLayerId(String) Obsolete.
Sets the LayerId property

WithStackId(String) Obsolete.
Sets the StackId property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 DescribeInstancesRequest

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