This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.AWS.EC2.
Summary
Describes the status of a single instance. 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.
Syntax
public static Task<InstanceStatus> DescribeInstance(this ICakeContext context, string instance, EC2Settings settings)
Attributes
Type |
Description |
AsyncStateMachineAttribute |
|
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The cake context. |
instance |
string |
A instance ID to check. |
settings |
EC2Settings |
The EC2Settings used during the request to AWS. |
Return Value
Type |
Description |
Task<InstanceStatus> |
|