共用方式為


RedisOperationStatus Class

Definition

Asynchronous operation status.

public class RedisOperationStatus : Azure.ResourceManager.Models.OperationStatusResult, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Redis.Models.RedisOperationStatus>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Redis.Models.RedisOperationStatus>
public class RedisOperationStatus : Azure.ResourceManager.Models.OperationStatusResult
type RedisOperationStatus = class
    inherit OperationStatusResult
    interface IJsonModel<RedisOperationStatus>
    interface IPersistableModel<RedisOperationStatus>
type RedisOperationStatus = class
    inherit OperationStatusResult
Public Class RedisOperationStatus
Inherits OperationStatusResult
Implements IJsonModel(Of RedisOperationStatus), IPersistableModel(Of RedisOperationStatus)
Public Class RedisOperationStatus
Inherits OperationStatusResult
Inheritance
RedisOperationStatus
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

Additional properties from RP, only when operation is successful

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

StartOn

The start time of the operation.

(Inherited from OperationStatusResult)
Status

Operation status.

(Inherited from OperationStatusResult)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
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)
IJsonModel<RedisOperationStatus>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RedisOperationStatus>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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

Converts the provided BinaryData into a model.

IPersistableModel<RedisOperationStatus>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RedisOperationStatus>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to