共用方式為


OperationStatusResult Class

Definition

The current status of an async operation.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.ResourceManager.Models.OperationStatusResult+OperationStatusResultConverter))]
public class OperationStatusResult : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Models.OperationStatusResult>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Models.OperationStatusResult>
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.ResourceManager.Models.OperationStatusResult+OperationStatusResultConverter))>]
type OperationStatusResult = class
    interface IJsonModel<OperationStatusResult>
    interface IPersistableModel<OperationStatusResult>
Public Class OperationStatusResult
Implements IJsonModel(Of OperationStatusResult), IPersistableModel(Of OperationStatusResult)
Inheritance
OperationStatusResult
Derived
Attributes
Implements

Constructors

OperationStatusResult()

Initializes a new instance of OperationStatusResult for deserialization.

OperationStatusResult(ResourceIdentifier, String, String, Nullable<Single>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IReadOnlyList<OperationStatusResult>, ResponseError)

Initializes a new instance of OperationStatusResult.

OperationStatusResult(String)

Initializes a new instance of OperationStatusResult.

Properties

EndOn

The end time of the operation.

Error

If present, details of the operation error.

Id

Fully qualified ID for the async operation.

Name

Name of the async operation.

Operations

The operations list.

PercentComplete

Percent of the operation that is complete.

StartOn

The start time of the operation.

Status

Operation status.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<OperationStatusResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OperationStatusResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OperationStatusResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OperationStatusResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OperationStatusResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to