Instance Pools - Get
获取实例池。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}?api-version=2023-08-01
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
instance
|
path | True |
string |
要检索的实例池的名称。 |
|
resource
|
path | True |
string |
包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。 |
|
subscription
|
path | True |
string |
标识 Azure 订阅的订阅 ID。 |
|
api-version
|
query | True |
string |
要用于请求的 API 版本。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
已成功检索指定的实例池。 |
|
| Other Status Codes |
错误响应: ***
|
示例
Get an instance pool
示例请求
示例响应
{
"sku": {
"name": "GP_Gen5",
"tier": "GeneralPurpose",
"family": "Gen5"
},
"properties": {
"subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
"vCores": 8,
"licenseType": "LicenseIncluded",
"dnsZone": "1234567890",
"maintenanceConfigurationId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_JapanEast_MI_1"
},
"location": "japaneast",
"tags": {
"a": "b"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP",
"name": "testIP",
"type": "Microsoft.Sql/instancePools"
}
定义
| 名称 | 说明 |
|---|---|
|
Error |
资源管理错误附加信息。 |
|
Error |
错误详细信息。 |
|
Error |
错误响应 |
|
Instance |
Azure SQL 实例池。 |
|
Instance |
许可证类型。 可能的值为“LicenseIncluded”(包括 SQL 许可证的价格)和“BasePrice”(不含 SQL 许可证价格)。 |
| Sku |
ARM 资源 SKU。 |
ErrorAdditionalInfo
资源管理错误附加信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| info |
object |
其他信息。 |
| type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| additionalInfo |
错误附加信息。 |
|
| code |
string |
错误代码。 |
| details |
错误详细信息。 |
|
| message |
string |
错误消息。 |
| target |
string |
错误目标。 |
ErrorResponse
错误响应
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误对象。 |
InstancePool
Azure SQL 实例池。
| 名称 | 类型 | 说明 |
|---|---|---|
| id |
string |
资源 ID。 |
| location |
string |
资源位置。 |
| name |
string |
资源名称。 |
| properties.dnsZone |
string |
托管实例池位于的 Dns 区域。 |
| properties.licenseType |
许可证类型。 可能的值为“LicenseIncluded”(包括 SQL 许可证的价格)和“BasePrice”(不含 SQL 许可证价格)。 |
|
| properties.maintenanceConfigurationId |
string (arm-id) |
指定要应用于此托管实例的维护配置 ID。 |
| properties.subnetId |
string |
要在其中放置此实例池的子网的资源 ID。 |
| properties.vCores |
integer (int32) |
属于此实例池的 vCore 计数。 |
| sku |
SKU 的名称和层。 |
|
| tags |
object |
资源标记。 |
| type |
string |
资源类型。 |
InstancePoolLicenseType
许可证类型。 可能的值为“LicenseIncluded”(包括 SQL 许可证的价格)和“BasePrice”(不含 SQL 许可证价格)。
| 值 | 说明 |
|---|---|
| LicenseIncluded | |
| BasePrice |
Sku
ARM 资源 SKU。
| 名称 | 类型 | 说明 |
|---|---|---|
| capacity |
integer (int32) |
特定 SKU 的容量。 |
| family |
string |
如果服务具有不同代的硬件(对于同一 SKU,则可以在此处捕获)。 |
| name |
string |
SKU 的名称,通常为字母 + 数字代码,例如 P3。 |
| size |
string |
特定 SKU 的大小 |
| tier |
string |
特定 SKU 的层或版本,例如基本 SKU、高级版。 |