Share via


ElasticPoolDatabaseActivity Class

Definition

Represents the activity on an elastic pool.

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

Constructors

ElasticPoolDatabaseActivity()

Initializes a new instance of ElasticPoolDatabaseActivity.

Properties

CurrentElasticPoolName

The name of the current elastic pool the database is in if available.

CurrentServiceObjective

The name of the current service objective if available.

DatabaseName

The database name.

EndOn

The time the operation finished (ISO8601 format).

ErrorCode

The error code if available.

ErrorMessage

The error message if available.

ErrorSeverity

The error severity if available.

Id

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

(Inherited from ResourceData)
Location

The geo-location where the resource lives.

Name

The name of the resource.

(Inherited from ResourceData)
Operation

The operation name.

OperationId

The unique operation ID.

PercentComplete

The percentage complete if available.

RequestedElasticPoolName

The name for the elastic pool the database is moving into if available.

RequestedServiceObjective

The name of the requested service objective if available.

ResourceType

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

(Inherited from ResourceData)
ServerName

The name of the server the elastic pool is in.

StartOn

The time the operation started (ISO8601 format).

State

The current state of the operation.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<ElasticPoolDatabaseActivity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ElasticPoolDatabaseActivity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ElasticPoolDatabaseActivity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ElasticPoolDatabaseActivity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ElasticPoolDatabaseActivity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to