AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the status of an instance.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.InstanceStatus

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class InstanceStatus

The InstanceStatus type exposes the following members

Constructors

NameDescription
Public Method InstanceStatus()

Properties

NameTypeDescription
Public Property AttachedEbsStatus Amazon.EC2.Model.EbsStatusSummary

Gets and sets the property AttachedEbsStatus.

Reports impaired functionality that stems from an attached Amazon EBS volume that is unreachable and unable to complete I/O operations.

Public Property AvailabilityZone System.String

Gets and sets the property AvailabilityZone.

The Availability Zone of the instance.

Public Property AvailabilityZoneId System.String

Gets and sets the property AvailabilityZoneId.

The ID of the Availability Zone of the instance.

Public Property Events System.Collections.Generic.List<Amazon.EC2.Model.InstanceStatusEvent>

Gets and sets the property Events.

Any scheduled events associated with the instance.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

The ID of the instance.

Public Property InstanceState Amazon.EC2.Model.InstanceState

Gets and sets the property InstanceState.

The intended state of the instance. DescribeInstanceStatus requires that an instance be in the running state.

Public Property Operator Amazon.EC2.Model.OperatorResponse

Gets and sets the property Operator.

The service provider that manages the instance.

Public Property OutpostArn System.String

Gets and sets the property OutpostArn.

The Amazon Resource Name (ARN) of the Outpost.

Public Property Status Amazon.EC2.Model.InstanceStatusSummary

Gets and sets the property Status.

Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.

Public Property SystemStatus Amazon.EC2.Model.InstanceStatusSummary

Gets and sets the property SystemStatus.

Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer