次の方法で共有


Azure Container Instances のスタンバイ プールの詳細を取得する

Von Bedeutung

Azure Container Instances のスタンバイ プールは現在、プレビュー段階です。 プレビュー版は、追加使用条件に同意することを条件に使用できます。 この機能の一部の側面は、一般公開 (GA) 前に変更される可能性があります。

この記事では、スタンバイ プールとその中のコンテナー グループに関する情報を取得する方法について説明します。

スタンバイ プールの詳細

使用可能なコンテナー グループの数や現在のプロビジョニング状態など、スタンバイ プールの現在の状態を取得するには、スタンバイ プールのランタイム ビュー 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 のスタンバイ プールの詳細について説明します。