Condividi tramite


InstancePool Class

An Azure SQL instance 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 server.

Constructor

InstancePool(*, location: str, tags: dict[str, str] | None = None, sku: _models.Sku | None = None, subnet_id: str | None = None, v_cores: int | None = None, license_type: str | _models.InstancePoolLicenseType | None = None, maintenance_configuration_id: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

Resource location. Required.

tags

Resource tags.

Default value: None
sku
Sku

The name and tier of the SKU.

Default value: None
subnet_id
str

Resource ID of the subnet to place this instance pool in.

Default value: None
v_cores
int

Count of vCores belonging to this instance pool.

Default value: None
license_type

The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). Known values are: "LicenseIncluded" and "BasePrice".

Default value: None
maintenance_configuration_id
str

Specifies maintenance configuration id to apply to this managed instance.

Default value: None

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location. Required.

tags

Resource tags.

sku
Sku

The name and tier of the SKU.

subnet_id
str

Resource ID of the subnet to place this instance pool in.

v_cores
int

Count of vCores belonging to this instance pool.

license_type

The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). Known values are: "LicenseIncluded" and "BasePrice".

dns_zone
str

The Dns Zone that the managed instance pool is in.

maintenance_configuration_id
str

Specifies maintenance configuration id to apply to this managed instance.