MoverOperationStatus Class

Definition

Operation status REST resource.

public class MoverOperationStatus
public class MoverOperationStatus : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ResourceMover.Models.MoverOperationStatus>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ResourceMover.Models.MoverOperationStatus>
type MoverOperationStatus = class
type MoverOperationStatus = class
    interface IJsonModel<MoverOperationStatus>
    interface IPersistableModel<MoverOperationStatus>
Public Class MoverOperationStatus
Public Class MoverOperationStatus
Implements IJsonModel(Of MoverOperationStatus), IPersistableModel(Of MoverOperationStatus)
Inheritance
MoverOperationStatus
Implements

Properties

EndOn

End time.

Error

Error stating all error details for the operation.

Id

Resource Id.

Name

Operation name.

Properties

Custom data.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.
StartOn

Start time.

Status

Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.

Explicit Interface Implementations

IJsonModel<MoverOperationStatus>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MoverOperationStatus>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MoverOperationStatus>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MoverOperationStatus>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MoverOperationStatus>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to