EC2Manager.

DescribeInstances(IList<string>, EC2Settings, CancellationToken) Method

Summary

Describes the status of one or more instances. Instance status includes the following components: Status checks - Amazon EC2 performs status checks on running EC2 instances to identify hardware and software issues. For more information, see Status Checks for Your Instances and Troubleshooting Instances with Failed Status Checks in the Amazon Elastic Compute Cloud User Guide. Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, or terminate) for your instances related to hardware issues, software updates, or system maintenance. For more information, see Scheduled Events for Your Instances in the Amazon Elastic Compute Cloud User Guide. Instance state - You can manage your instances from the moment you launch them through their termination. For more information, see Instance Lifecycle in the Amazon Elastic Compute Cloud User Guide.
Assembly
Cake.AWS.EC2.dll
Namespace
Cake.AWS.EC2
Containing Type
EC2Manager

Syntax

public Task<IList<InstanceStatus>> DescribeInstances(IList<string> instances, EC2Settings settings, CancellationToken cancellationToken = null)

Attributes

Type Description
AsyncStateMachineAttribute

Parameters

Name Type Description
instances IList<string> A list of instance IDs to be stopped.
settings EC2Settings The EC2Settings used during the request to AWS.
cancellationToken CancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

Type Description
Task<IList<InstanceStatus>>