다음을 통해 공유


대기 풀 및 인스턴스 세부 정보 가져오기(미리 보기)

이 문서에서는 대기 풀 및 대기 풀 내의 컨테이너 그룹에 대한 정보를 검색하는 방법을 설명합니다.

대기 풀 세부 정보

대기 풀 런타임 뷰 API를 사용하여 사용 가능한 컨테이너 그룹 수 및 현재 프로비전 상태를 포함하여 대기 풀의 현재 상태를 가져옵니다.

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"
}

다음 단계

Azure Container Instances의 대기 풀에 대해 자세히 알아봅니다.