AWS SDK Version 3 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.

Information about a root volume replacement task.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.ReplaceRootVolumeTask

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

Syntax

C#
public class ReplaceRootVolumeTask

The ReplaceRootVolumeTask type exposes the following members

Constructors

NameDescription
Public Method ReplaceRootVolumeTask()

Properties

NameTypeDescription
Public Property CompleteTime System.String

Gets and sets the property CompleteTime.

The time the task completed.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

The ID of the instance for which the root volume replacement task was created.

Public Property ReplaceRootVolumeTaskId System.String

Gets and sets the property ReplaceRootVolumeTaskId.

The ID of the root volume replacement task.

Public Property StartTime System.String

Gets and sets the property StartTime.

The time the task was started.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag>

Gets and sets the property Tags.

The tags assigned to the task.

Public Property TaskState Amazon.EC2.ReplaceRootVolumeTaskState

Gets and sets the property TaskState.

The state of the task. The task can be in one of the following states:

  • pending - the replacement volume is being created.

  • in-progress - the original volume is being detached and the replacement volume is being attached.

  • succeeded - the replacement volume has been successfully attached to the instance and the instance is available.

  • failing - the replacement task is in the process of failing.

  • failed - the replacement task has failed but the original root volume is still attached.

  • failing-detached - the replacement task is in the process of failing. The instance might have no root volume attached.

  • failed-detached - the replacement task has failed and the instance has no root volume attached.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5