共用方式為


ServerOperationData Class

Definition

A server operation.

public class ServerOperationData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.Models.ServerOperationData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.Models.ServerOperationData>
type ServerOperationData = class
    inherit ResourceData
    interface IJsonModel<ServerOperationData>
    interface IPersistableModel<ServerOperationData>
Public Class ServerOperationData
Inherits ResourceData
Implements IJsonModel(Of ServerOperationData), IPersistableModel(Of ServerOperationData)
Inheritance
ServerOperationData
Implements

Constructors

ServerOperationData()

Initializes a new instance of ServerOperationData.

Properties

Description

The operation description.

ErrorCode

The operation error code.

ErrorDescription

The operation error description.

ErrorSeverity

The operation error severity.

EstimatedCompleteOn

The estimated completion time of the operation.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsCancellable

Whether the operation can be cancelled.

IsUserError

Whether or not the error is a user error.

Name

The name of the resource.

(Inherited from ResourceData)
Operation

The name of operation.

OperationFriendlyName

The friendly name of operation.

PercentComplete

The percentage of the operation completed.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ServerName

The name of the server.

StartOn

The operation start time.

State

The operation state.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<ServerOperationData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServerOperationData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServerOperationData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServerOperationData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServerOperationData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to