EC2Aliases.

DescribeInstances(ICakeContext, IList<string>, EC2Settings) 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
EC2Aliases

Syntax

public static Task<IList<InstanceStatus>> DescribeInstances(this ICakeContext context, IList<string> instances, EC2Settings settings)

Attributes

Type Description
AsyncStateMachineAttribute
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
instances IList<string> A list of instance IDs to check.
settings EC2Settings The EC2Settings used during the request to AWS.

Return Value

Type Description
Task<IList<InstanceStatus>>