共用方式為


DevCenterOperationStatus Class

Definition

The current status of an async operation.

public class DevCenterOperationStatus : Azure.ResourceManager.Models.OperationStatusResult
type DevCenterOperationStatus = class
    inherit OperationStatusResult
Public Class DevCenterOperationStatus
Inherits OperationStatusResult
Inheritance
DevCenterOperationStatus

Properties

EndOn

The end time of the operation.

(Inherited from OperationStatusResult)
Error

If present, details of the operation error.

(Inherited from OperationStatusResult)
Id

Fully qualified ID for the async operation.

(Inherited from OperationStatusResult)
Name

Name of the async operation.

(Inherited from OperationStatusResult)
Operations

The operations list.

(Inherited from OperationStatusResult)
PercentComplete

Percent of the operation that is complete.

(Inherited from OperationStatusResult)
Properties

Custom operation properties, populated only for a successful operation.

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" }.

ResourceId

The id of the resource.

StartOn

The start time of the operation.

(Inherited from OperationStatusResult)
Status

Operation status.

(Inherited from OperationStatusResult)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from OperationStatusResult)

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.

(Inherited from OperationStatusResult)
IJsonModel<OperationStatusResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from OperationStatusResult)
IPersistableModel<OperationStatusResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from OperationStatusResult)
IPersistableModel<OperationStatusResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from OperationStatusResult)
IPersistableModel<OperationStatusResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from OperationStatusResult)

Applies to