共用方式為


OperationStatusExtendedResult Class

Definition

Represents Operation Results API Response.

public class OperationStatusExtendedResult : Azure.ResourceManager.MySql.FlexibleServers.Models.OperationStatusResult, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MySql.FlexibleServers.Models.OperationStatusExtendedResult>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MySql.FlexibleServers.Models.OperationStatusExtendedResult>
type OperationStatusExtendedResult = class
    inherit OperationStatusResult
    interface IJsonModel<OperationStatusExtendedResult>
    interface IPersistableModel<OperationStatusExtendedResult>
Public Class OperationStatusExtendedResult
Inherits OperationStatusResult
Implements IJsonModel(Of OperationStatusExtendedResult), IPersistableModel(Of OperationStatusExtendedResult)
Inheritance
OperationStatusExtendedResult
Implements

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

The extended properties of Operation Results

To assign an object to the value of 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

Fully qualified ID of the resource against which the original async operation was started.

(Inherited from OperationStatusResult)
StartOn

The start time of the operation.

(Inherited from OperationStatusResult)
Status

Operation status.

(Inherited from OperationStatusResult)

Explicit Interface Implementations

IJsonModel<OperationStatusExtendedResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OperationStatusExtendedResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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<OperationStatusExtendedResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OperationStatusExtendedResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OperationStatusExtendedResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

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