ElasticPool Class

An elastic pool.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.sql.models._models_py3.TrackedResource
ElasticPool

Constructor

ElasticPool(*, location: str, tags: Dict[str, str] | None = None, sku: Sku | None = None, max_size_bytes: int | None = None, per_database_settings: ElasticPoolPerDatabaseSettings | None = None, zone_redundant: bool | None = None, license_type: str | ElasticPoolLicenseType | None = None, maintenance_configuration_id: str | None = None, **kwargs)

Parameters

Name Description
location
Required
str

Required. Resource location.

tags
Required

A set of tags. Resource tags.

sku
Required
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 <location> -o table
   `.
max_size_bytes
Required
<xref:long>

The storage limit for the database elastic pool in bytes.

per_database_settings
Required

The per database settings for the elastic pool.

zone_redundant
Required

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

license_type
Required

The license type to apply for this elastic pool. Possible values include: "LicenseIncluded", "BasePrice".

maintenance_configuration_id
Required
str

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

Keyword-Only Parameters

Name Description
location
Required
tags
Required
sku
Required
max_size_bytes
Required
per_database_settings
Required
zone_redundant
Required
license_type
Required
maintenance_configuration_id
Required

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

kind
str

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

state

The state of the elastic pool. Possible values include: "Creating", "Ready", "Disabled".

creation_date

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