Elastic Pools - Get
Hiermee haalt u een elastische pool op.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}?api-version=2023-08-01
URI-parameters
| Name | In | Vereist | Type | Description |
|---|---|---|---|---|
|
elastic
|
path | True |
string |
De naam van de elastische pool. |
|
resource
|
path | True |
string |
De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal. |
|
server
|
path | True |
string |
De naam van de server. |
|
subscription
|
path | True |
string |
De abonnements-id waarmee een Azure-abonnement wordt geïdentificeerd. |
|
api-version
|
query | True |
string |
De API-versie die moet worden gebruikt voor de aanvraag. |
Antwoorden
| Name | Type | Description |
|---|---|---|
| 200 OK |
Geslaagd |
|
| Other Status Codes |
Foutreacties: ***
|
Voorbeelden
| Get a Hyperscale elastic pool |
| Get an elastic pool |
| Get an elastic pool with Availability Zone |
| Get an elastic pool with preferred enclave type parameter |
| Get an elastic pool with serverless properties |
Get a Hyperscale elastic pool
Voorbeeldaanvraag
Voorbeeldrespons
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-2369/providers/Microsoft.Sql/servers/sqlcrudtest-8069/elasticPools/sqlcrudtest-8102",
"name": "sqlcrudtest-8102",
"type": "Microsoft.Sql/servers/elasticPools",
"location": "Japan East",
"kind": "vcore,pool",
"sku": {
"name": "HS_Gen5",
"tier": "Hyperscale",
"family": "Gen5",
"capacity": 4
},
"properties": {
"state": "Ready",
"creationDate": "2021-08-26T03:46:20.57Z",
"maxSizeBytes": 0,
"perDatabaseSettings": {
"minCapacity": 0,
"maxCapacity": 4
},
"zoneRedundant": false,
"licenseType": "LicenseIncluded",
"maintenanceConfigurationId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default",
"highAvailabilityReplicaCount": 2
}
}
Get an elastic pool
Voorbeeldaanvraag
Voorbeeldrespons
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-2369/providers/Microsoft.Sql/servers/sqlcrudtest-8069/elasticPools/sqlcrudtest-8102",
"name": "sqlcrudtest-8102",
"type": "Microsoft.Sql/servers/elasticPools",
"location": "Japan East",
"kind": null,
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"capacity": 2
},
"properties": {
"creationDate": "2017-10-10T01:25:25.033Z",
"state": "Ready",
"maxSizeBytes": 5242880000,
"perDatabaseSettings": {
"minCapacity": 0.25,
"maxCapacity": 1
},
"zoneRedundant": true,
"licenseType": "LicenseIncluded",
"maintenanceConfigurationId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_JapanEast_1"
}
}
Get an elastic pool with Availability Zone
Voorbeeldaanvraag
Voorbeeldrespons
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-2369/providers/Microsoft.Sql/servers/sqlcrudtest-8069/elasticPools/sqlcrudtest-8102",
"name": "sqlcrudtest-8102",
"type": "Microsoft.Sql/servers/elasticPools",
"location": "Japan East",
"kind": null,
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"capacity": 2
},
"properties": {
"creationDate": "2017-10-10T01:25:25.033Z",
"state": "Ready",
"maxSizeBytes": 5242880000,
"perDatabaseSettings": {
"minCapacity": 0.25,
"maxCapacity": 1
},
"zoneRedundant": true,
"licenseType": "LicenseIncluded",
"maintenanceConfigurationId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_JapanEast_1",
"availabilityZone": "1"
}
}
Get an elastic pool with preferred enclave type parameter
Voorbeeldaanvraag
Voorbeeldrespons
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-2369/providers/Microsoft.Sql/servers/sqlcrudtest-8069/elasticPools/sqlcrudtest-8102",
"name": "sqlcrudtest-8102",
"type": "Microsoft.Sql/servers/elasticPools",
"location": "Japan East",
"kind": "vcore,pool",
"sku": {
"name": "GP_Gen5",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 4
},
"properties": {
"state": "Ready",
"creationDate": "2022-08-26T03:46:20.57Z",
"maxSizeBytes": 0,
"perDatabaseSettings": {
"minCapacity": 0,
"maxCapacity": 4
},
"zoneRedundant": false,
"licenseType": "LicenseIncluded",
"maintenanceConfigurationId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default",
"highAvailabilityReplicaCount": 2,
"preferredEnclaveType": "VBS"
}
}
Get an elastic pool with serverless properties
Voorbeeldaanvraag
Voorbeeldrespons
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-2369/providers/Microsoft.Sql/servers/sqlcrudtest-8069/elasticPools/sqlcrudtest-8102",
"name": "sqlcrudtest-8102",
"type": "Microsoft.Sql/servers/elasticPools",
"location": "Japan East",
"kind": null,
"sku": {
"name": "GP_S_Gen5_2",
"tier": "GeneralPurpose",
"capacity": 2
},
"properties": {
"creationDate": "2017-10-10T01:25:25.033Z",
"state": "Ready",
"maxSizeBytes": 5242880000,
"minCapacity": 0.5,
"autoPauseDelay": 60,
"perDatabaseSettings": {
"minCapacity": 0,
"maxCapacity": 1,
"autoPauseDelay": 60
},
"zoneRedundant": true,
"licenseType": "LicenseIncluded",
"maintenanceConfigurationId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_JapanEast_1"
}
}
Definities
| Name | Description |
|---|---|
|
Always |
Het type enclave dat is aangevraagd voor de elastische pool. |
|
Availability |
Hiermee geeft u de beschikbaarheidszone op waaraan de primaire replica van de pool is vastgemaakt. |
|
Elastic |
Een elastische pool. |
|
Elastic |
Het licentietype dat moet worden toegepast op deze elastische pool. |
|
Elastic |
Per database-instellingen van een elastische pool. |
|
Elastic |
De status van de elastische pool. |
|
Error |
Aanvullende informatie over de resourcebeheerfout. |
|
Error |
De foutdetails. |
|
Error |
Foutreactie |
| Sku |
Een ARM-resource-SKU. |
AlwaysEncryptedEnclaveType
Het type enclave dat is aangevraagd voor de elastische pool.
| Waarde | Description |
|---|---|
| Default | |
| VBS |
AvailabilityZoneType
Hiermee geeft u de beschikbaarheidszone op waaraan de primaire replica van de pool is vastgemaakt.
| Waarde | Description |
|---|---|
| NoPreference | |
| 1 | |
| 2 | |
| 3 |
ElasticPool
Een elastische pool.
| Name | Type | Description |
|---|---|---|
| id |
string |
Resource-id. |
| kind |
string |
Soort elastische pool. Dit zijn metagegevens die worden gebruikt voor de Azure Portal-ervaring. |
| location |
string |
Resourcelocatie. |
| name |
string |
Resourcenaam. |
| properties.autoPauseDelay |
integer (int32) |
Tijd in minuten waarna elastische pool automatisch wordt onderbroken. Een waarde van -1 betekent dat automatische pauze is uitgeschakeld |
| properties.availabilityZone |
Hiermee geeft u de beschikbaarheidszone op waaraan de primaire replica van de pool is vastgemaakt. |
|
| properties.creationDate |
string (date-time) |
De aanmaakdatum van de elastische pool (ISO8601-indeling). |
| properties.highAvailabilityReplicaCount |
integer (int32) |
Het aantal secundaire replica's dat is gekoppeld aan de elastische pool Bedrijfskritiek, Premium of Hyperscale-editie die wordt gebruikt om hoge beschikbaarheid te bieden. Alleen van toepassing op elastische Hyperscale-pools. |
| properties.licenseType |
Het licentietype dat moet worden toegepast op deze elastische pool. |
|
| properties.maintenanceConfigurationId |
string |
Onderhoudsconfiguratie-id die is toegewezen aan de elastische pool. Met deze configuratie wordt de periode gedefinieerd waarop de onderhoudsupdates plaatsvinden. |
| properties.maxSizeBytes |
integer (int64) |
De opslaglimiet voor de elastische pool van de database in bytes. |
| properties.minCapacity |
number (double) |
Minimale capaciteit die de serverloze pool hieronder niet verkleint, indien niet onderbroken |
| properties.perDatabaseSettings |
De instellingen per database voor de elastische pool. |
|
| properties.preferredEnclaveType |
Het type enclave dat is aangevraagd voor de elastische pool. |
|
| properties.state |
De status van de elastische pool. |
|
| properties.zoneRedundant |
boolean |
Of deze elastische pool zone-redundant is, wat betekent dat de replica's van deze elastische pool worden verdeeld over meerdere beschikbaarheidszones. |
| sku |
De SKU voor elastische pools. De lijst met SKU's kan variëren per regio en ondersteuningsaanbieding. Gebruik de
|
|
| tags |
object |
Resourcetags. |
| type |
string |
Resourcetype. |
ElasticPoolLicenseType
Het licentietype dat moet worden toegepast op deze elastische pool.
| Waarde | Description |
|---|---|
| LicenseIncluded | |
| BasePrice |
ElasticPoolPerDatabaseSettings
Per database-instellingen van een elastische pool.
| Name | Type | Description |
|---|---|---|
| autoPauseDelay |
integer (int32) |
Vertraging automatisch onderbreken voor per database binnen de pool |
| maxCapacity |
number (double) |
De maximale capaciteit die elke database kan verbruiken. |
| minCapacity |
number (double) |
De minimale capaciteit voor alle databases is gegarandeerd. |
ElasticPoolState
De status van de elastische pool.
| Waarde | Description |
|---|---|
| Creating | |
| Ready | |
| Disabled |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
| Name | Type | Description |
|---|---|---|
| info |
object |
De aanvullende informatie. |
| type |
string |
Het extra informatietype. |
ErrorDetail
De foutdetails.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
De fout bevat aanvullende informatie. |
|
| code |
string |
De foutcode. |
| details |
De foutdetails. |
|
| message |
string |
Het foutbericht. |
| target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
| Name | Type | Description |
|---|---|---|
| error |
Het foutobject. |
Sku
Een ARM-resource-SKU.
| Name | Type | Description |
|---|---|---|
| capacity |
integer (int32) |
Capaciteit van de specifieke SKU. |
| family |
string |
Als de service verschillende generaties hardware heeft, voor dezelfde SKU, kan die hier worden vastgelegd. |
| name |
string |
De naam van de SKU, meestal een letter + cijfercode, bijvoorbeeld P3. |
| size |
string |
Grootte van de specifieke SKU |
| tier |
string |
De laag of editie van de specifieke SKU, bijvoorbeeld Basic, Premium. |