Dela via


DatabaseOperationData Class

Definition

A database operation.

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

Constructors

DatabaseOperationData()

Initializes a new instance of DatabaseOperationData.

Properties

DatabaseName

The name of the database the operation is being performed on.

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.

OperationPhaseDetails

The operation phase details.

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<DatabaseOperationData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DatabaseOperationData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DatabaseOperationData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DatabaseOperationData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DatabaseOperationData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to