Sdílet prostřednictvím


ElasticPoolData Class

Definition

A class representing the ElasticPool data model. An elastic pool.

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

Constructors

ElasticPoolData(AzureLocation)

Initializes a new instance of ElasticPoolData.

Properties

AvailabilityZone

Specifies the availability zone the pool's primary replica is pinned to.

CreatedOn

The creation date of the elastic pool (ISO8601 format).

HighAvailabilityReplicaCount

The number of secondary replicas associated with the elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools.

Id

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

(Inherited from ResourceData)
IsZoneRedundant

Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be spread across multiple availability zones.

Kind

Kind of elastic pool. This is metadata used for the Azure portal experience.

LicenseType

The license type to apply for this elastic pool.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MaintenanceConfigurationId

Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur.

MaxSizeBytes

The storage limit for the database elastic pool in bytes.

MinCapacity

Minimal capacity that serverless pool will not shrink below, if not paused.

Name

The name of the resource.

(Inherited from ResourceData)
PerDatabaseSettings

The per database settings for the elastic pool.

PreferredEnclaveType

Type of enclave requested on the elastic pool.

ResourceType

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

(Inherited from ResourceData)
Sku

The elastic pool SKU.

The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the Capabilities_ListByLocation REST API or the following command:

az sql elastic-pool list-editions -l &lt;location&gt; -o table
State

The state of the elastic pool.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<ElasticPoolData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ElasticPoolData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ElasticPoolData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ElasticPoolData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ElasticPoolData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to