你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

InstancePool 类

Azure SQL实例池。

变量仅由服务器填充,发送请求时将被忽略。

必须填充所有必需的参数才能发送到 Azure。

继承
azure.mgmt.sql.models._models_py3.TrackedResource
InstancePool

构造函数

InstancePool(*, location: str, tags: Dict[str, str] | None = None, sku: Sku | None = None, subnet_id: str | None = None, v_cores: int | None = None, license_type: str | InstancePoolLicenseType | None = None, **kwargs)

参数

名称 说明
location
必需
str

必需。 资源位置。

tags
必需

一组标记。 资源标记。

sku
必需
Sku

SKU 的名称和层。

subnet_id
必需
str

要放置此实例池的子网的资源 ID。

v_cores
必需
int

属于此实例池的 vCore 计数。

license_type
必需

许可证类型。 可能的值为“LicenseIncluded” (SQL 许可证的价格包含在) 和“BasePrice” (不包含 SQL 许可证价格) 。 可能的值包括:“LicenseIncluded”、“BasePrice”。

仅限关键字的参数

名称 说明
location
必需
tags
必需
sku
必需
subnet_id
必需
v_cores
必需
license_type
必需

变量

名称 说明
id
str

资源 ID。

name
str

资源名称。

type
str

资源类型。