Instance Pools - List
Gets a list of all instance pools in the subscription.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Sql/instancePools?api-version=2023-08-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
subscription
|
path | True |
string |
The subscription ID that identifies an Azure subscription. |
|
api-version
|
query | True |
string |
The API version to use for the request. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Successfully retrieved the list of instance pools in a subscription. |
|
| Other Status Codes |
*** Error Responses: ***
|
Examples
List instance pools in the subscription
Sample request
Sample response
{
"value": [
{
"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"
},
{
"sku": {
"name": "GP_Gen5",
"tier": "GeneralPurpose",
"family": "Gen5"
},
"properties": {
"subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group2/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/group2/providers/Microsoft.Sql/instancePools/testIP2",
"name": "testIP2",
"type": "Microsoft.Sql/instancePools"
}
]
}
Definitions
| Name | Description |
|---|---|
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
|
Instance |
An Azure SQL instance pool. |
|
Instance |
The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). |
|
Instance |
A list of Azure SQL instance pools. |
| Sku |
An ARM Resource SKU. |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
ErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
InstancePool
An Azure SQL instance pool.
| Name | Type | Description |
|---|---|---|
| id |
string |
Resource ID. |
| location |
string |
Resource location. |
| name |
string |
Resource name. |
| properties.dnsZone |
string |
The Dns Zone that the managed instance pool is in. |
| properties.licenseType |
The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). |
|
| properties.maintenanceConfigurationId |
string (arm-id) |
Specifies maintenance configuration id to apply to this managed instance. |
| properties.subnetId |
string |
Resource ID of the subnet to place this instance pool in. |
| properties.vCores |
integer (int32) |
Count of vCores belonging to this instance pool. |
| sku |
The name and tier of the SKU. |
|
| tags |
object |
Resource tags. |
| type |
string |
Resource type. |
InstancePoolLicenseType
The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price).
| Value | Description |
|---|---|
| LicenseIncluded | |
| BasePrice |
InstancePoolListResult
A list of Azure SQL instance pools.
| Name | Type | Description |
|---|---|---|
| nextLink |
string |
Link to retrieve next page of results. |
| value |
Array of results. |
Sku
An ARM Resource SKU.
| Name | Type | Description |
|---|---|---|
| capacity |
integer (int32) |
Capacity of the particular SKU. |
| family |
string |
If the service has different generations of hardware, for the same SKU, then that can be captured here. |
| name |
string |
The name of the SKU, typically, a letter + Number code, e.g. P3. |
| size |
string |
Size of the particular SKU |
| tier |
string |
The tier or edition of the particular SKU, e.g. Basic, Premium. |