Details van stand-bypool en exemplaar ophalen (preview)
In dit artikel wordt beschreven hoe u informatie over uw stand-bypool en de containergroepen erin ophaalt.
Details van stand-bypool
Gebruik de runtime-API's van de stand-bypool om de huidige status van uw stand-bypool op te halen, inclusief het aantal beschikbare containergroepen en de huidige inrichtingsstatus.
az standby-container-group-pool status --resource-group myResourceGroup --name myStandbyPool
{
"id": "/subscriptions/401ef76a-dea9-45da-b19a-db3efced675b/resourceGroups/myResourceGroup/providers/Microsoft.StandbyPool/standbyContainerGroupPools/myStandbyPool/runtimeViews/latest",
"instanceCountSummary": [
{
"instanceCountsByState": [
{
"count": 5,
"state": "Creating"
},
{
"count": 20,
"state": "Running"
},
{
"count": 0,
"state": "Deleting"
}
]
}
],
"name": "latest",
"provisioningState": "Succeeded",
"resourceGroup": "myResourceGroup",
"type": "Microsoft.StandbyPool/standbyContainerGroupPools/runtimeViews"
}
Volgende stappen
Meer informatie over stand-bypools voor Azure Container Instances.