你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
InstancePool 类
Azure SQL实例池。
变量仅由服务器填充,发送请求时将被忽略。
必须填充所有必需的参数才能发送到 Azure。
- 继承
-
azure.mgmt.sql.models._models_py3.TrackedResourceInstancePool
构造函数
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
必需
|
必需。 资源位置。 |
tags
必需
|
一组标记。 资源标记。 |
sku
必需
|
SKU 的名称和层。 |
subnet_id
必需
|
要放置此实例池的子网的资源 ID。 |
v_cores
必需
|
属于此实例池的 vCore 计数。 |
license_type
必需
|
许可证类型。 可能的值为“LicenseIncluded” (SQL 许可证的价格包含在) 和“BasePrice” (不包含 SQL 许可证价格) 。 可能的值包括:“LicenseIncluded”、“BasePrice”。 |
仅限关键字的参数
名称 | 说明 |
---|---|
location
必需
|
|
tags
必需
|
|
sku
必需
|
|
subnet_id
必需
|
|
v_cores
必需
|
|
license_type
必需
|
|
变量
名称 | 说明 |
---|---|
id
|
资源 ID。 |
name
|
资源名称。 |
type
|
资源类型。 |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈