Usages - List By Instance Pool
Ruft alle Instance Poolnutzungsmetriken ab.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/usages?api-version=2021-11-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/usages?expandChildren={expandChildren}&api-version=2021-11-01
URI-Parameter
Name | In | Erforderlich | Typ | Beschreibung |
---|---|---|---|---|
instance
|
path | True |
string |
Der Name des abzurufenden instance Pools. |
resource
|
path | True |
string |
Der Name der Ressourcengruppe, die die Ressource enthält. Dieser Wert kann über die Azure-Ressourcen-Manager-API oder das Portal abgerufen werden. |
subscription
|
path | True |
string |
Abonnement-ID für ein Azure-Abonnement. |
api-version
|
query | True |
string |
API-Version, die für die Anforderung verwendet werden soll. |
expand
|
query |
boolean |
Optionaler Anforderungsparameter, um verwaltete instance-Verwendungen innerhalb des instance-Pools einzuschließen. |
Antworten
Name | Typ | Beschreibung |
---|---|---|
200 OK |
Die instance Poolnutzungen wurden erfolgreich abgerufen. |
|
Other Status Codes |
Fehlerantworten: ***
|
Beispiele
List instance pool usages expanded with children. |
List instance pool usages. |
List instance pool usages expanded with children.
Beispielanforderung
Beispiel für eine Antwort
{
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/vcore_utilization",
"name": {
"value": "VCore utilization",
"localizedValue": "VCore utilization"
},
"type": "Microsoft.Sql/instancePools/usages",
"unit": "VCores",
"currentValue": 12,
"limit": 16,
"requestedLimit": 40
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/storage_utilization",
"name": {
"value": "Storage utilization",
"localizedValue": "Storage utilization"
},
"type": "Microsoft.Sql/instancePools/usages",
"unit": "VCores",
"currentValue": 384,
"limit": 8196,
"requestedLimit": null
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/database_utilization",
"name": {
"value": "Database utilization",
"localizedValue": "Database utilization"
},
"type": "Microsoft.Sql/instancePools/usages",
"unit": "Number Of Databases",
"currentValue": 5,
"limit": 100,
"requestedLimit": null
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance1/usages/vcore_utilization",
"name": {
"value": "VCore utilization",
"localizedValue": "VCore utilization"
},
"type": "Microsoft.Sql/instancePools/managedInstances/usages",
"unit": "VCores",
"currentValue": null,
"limit": 4,
"requestedLimit": null
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance2/usages/vcore_utilization",
"name": {
"value": "VCore utilization",
"localizedValue": "VCore utilization"
},
"type": "Microsoft.Sql/instancePools/managedInstances/usages",
"unit": "VCores",
"currentValue": null,
"limit": 4,
"requestedLimit": 8
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance1/usages/storage_utilization",
"name": {
"value": "Storage utilization",
"localizedValue": "Storage utilization"
},
"type": "Microsoft.Sql/instancePools/managedInstances/usages",
"unit": "Gigabytes",
"currentValue": null,
"limit": 128,
"requestedLimit": null
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance2/usages/storage_utilization",
"name": {
"value": "VCore utilization",
"localizedValue": "VCore utilization"
},
"type": "Microsoft.Sql/instancePools/managedInstances/usages",
"unit": "Gigabytes",
"currentValue": null,
"limit": 128,
"requestedLimit": 256
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance1/usages/database_utilization",
"name": {
"value": "Database utilization",
"localizedValue": "Database utilization"
},
"type": "Microsoft.Sql/instancePools/managedInstances/usages",
"unit": "Number Of Databases",
"currentValue": 2,
"limit": 100,
"requestedLimit": null
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance2/usages/database_utilization",
"name": {
"value": "Database utilization",
"localizedValue": "Database utilization"
},
"type": "Microsoft.Sql/instancePools/managedInstances/usages",
"unit": "Number Of Databases",
"currentValue": 3,
"limit": 100,
"requestedLimit": null
}
]
}
List instance pool usages.
Beispielanforderung
Beispiel für eine Antwort
{
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/vcore_utilization",
"name": {
"value": "VCore utilization",
"localizedValue": "VCore utilization"
},
"type": "Microsoft.Sql/instancePools/usages",
"unit": "VCores",
"currentValue": 12,
"limit": 16,
"requestedLimit": 40
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/storage_utilization",
"name": {
"value": "Storage utilization",
"localizedValue": "Storage utilization"
},
"type": "Microsoft.Sql/instancePools/usages",
"unit": "VCores",
"currentValue": 384,
"limit": 8196,
"requestedLimit": null
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/database_utilization",
"name": {
"value": "Database utilization",
"localizedValue": "Database utilization"
},
"type": "Microsoft.Sql/instancePools/usages",
"unit": "Number Of Databases",
"currentValue": 5,
"limit": 100,
"requestedLimit": null
}
]
}
Definitionen
Name | Beschreibung |
---|---|
Name |
ARM-Nutzungsname |
Usage |
ARM-Verwendung. |
Usage |
Eine Liste der Verwendungen. |
Name
ARM-Nutzungsname
Name | Typ | Beschreibung |
---|---|---|
localizedValue |
string |
Lokalisierter Wert für den Nutzungsnamen. |
value |
string |
Wert des Nutzungsnamens |
Usage
ARM-Verwendung.
Name | Typ | Beschreibung |
---|---|---|
currentValue |
integer |
Aktueller Wert der Verwendung. |
id |
string |
Ressourcen-ID |
limit |
integer |
Nutzungslimit. |
name |
Name der Ressource. |
|
requestedLimit |
integer |
Angefordertes Nutzungslimit. |
type |
string |
Der Ressourcentyp. |
unit |
string |
Nutzungseinheit. |
UsageListResult
Eine Liste der Verwendungen.
Name | Typ | Beschreibung |
---|---|---|
nextLink |
string |
Link zum Abrufen der nächsten Ergebnisseite. |
value |
Usage[] |
Array von Ergebnissen. |