次の方法で共有


az acr agentpool

このコマンド グループはプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

Azure Container Registries を使用してプライベート タスク エージェント プールを管理します。

コマンド

名前 説明 状態
az acr agentpool create

Azure Container Registry のエージェント プールを作成します。

Core Preview
az acr agentpool delete

エージェント プールを削除します。

Core Preview
az acr agentpool list

Azure Container Registry のエージェント プールを一覧表示します。

Core Preview
az acr agentpool show

Azure Container Registry の指定したエージェント プールのプロパティを取得します。

Core Preview
az acr agentpool update

Azure Container Registry のエージェント プールを更新します。

Core Preview

az acr agentpool create

プレビュー

コマンド グループ 'acr agentpool' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

Azure Container Registry のエージェント プールを作成します。

az acr agentpool create --name
                        --registry
                        [--count]
                        [--no-wait]
                        [--resource-group]
                        [--subnet-id]
                        [--tier]

レジストリ 'myregistry' に関連付けられているエージェント プール 'MyAgentName' を作成します。

az acr agentpool create -n MyAgentName -r myregistry

エージェント 数が 2 のエージェント プール 'MyAgentName' を作成します。

az acr agentpool create -n MyAgentName -r myregistry --count 2

VNET サブネットのレジストリ 'myregistry' に関連付けられているエージェント プール 'MyAgentName' を作成します。

az acr agentpool create -n MyAgentName -r myregistry --subnet-id /subscriptions/<SubscriptionId>/resourceGroups/<ResourceGroupName>/providers/Microsoft.ClassicNetwork/virtualNetworks/<myNetwork>/subnets/<subNet>

必須のパラメーター

--name -n

エージェント プールの名前。

--registry -r

コンテナー レジストリの名前。 小文字で指定する必要があります。 az configure --defaults acr=<registry name>を使用して、既定のレジストリ名を構成できます。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--count -c

エージェント プールの数。

プロパティ
規定値: 1
--no-wait

エージェント プールがアクションを完了するのを待ち、要求のキューに入った直後に戻らないでください。

プロパティ
規定値: False
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

--subnet-id

エージェント マシンの仮想ネットワーク サブネット リソース ID。

--tier

エージェント プールを実行する VM を設定します。 有効な値は、S1(2 vCPU、3 GiB RAM)、S2 (4 vCPU、8 GiB RAM)、S3(8 vCPU、16 GiB RAM) または I6(64 vCPU、216 GiB RAM、Isolated) です。

プロパティ
規定値: S1
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

出力フォーマット。

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az acr agentpool delete

プレビュー

コマンド グループ 'acr agentpool' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

エージェント プールを削除します。

az acr agentpool delete --name
                        --registry
                        [--no-wait]
                        [--resource-group]
                        [--yes]

エージェント プール 'MyAgentName' を削除します。

az acr agentpool delete -n MyAgentName -r myregistry

必須のパラメーター

--name -n

エージェント プールの名前。

--registry -r

コンテナー レジストリの名前。 小文字で指定する必要があります。 az configure --defaults acr=<registry name>を使用して、既定のレジストリ名を構成できます。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--no-wait

エージェント プールがアクションを完了するのを待ち、要求のキューに入った直後に戻らないでください。

プロパティ
規定値: False
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

--yes -y

確認を求めないでください。

プロパティ
規定値: False
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

出力フォーマット。

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az acr agentpool list

プレビュー

コマンド グループ 'acr agentpool' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

Azure Container Registry のエージェント プールを一覧表示します。

az acr agentpool list --registry
                      [--resource-group]

エージェント プールを一覧表示し、結果をテーブルに表示します。

az acr agentpool list -r myregistry -o table

必須のパラメーター

--registry -r

コンテナー レジストリの名前。 小文字で指定する必要があります。 az configure --defaults acr=<registry name>を使用して、既定のレジストリ名を構成できます。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

出力フォーマット。

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az acr agentpool show

プレビュー

コマンド グループ 'acr agentpool' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

Azure Container Registry の指定したエージェント プールのプロパティを取得します。

az acr agentpool show --name
                      --registry
                      [--queue-count]
                      [--resource-group]

エージェント プールのプロパティを取得し、結果をテーブルに表示します。

az acr agentpool show -n MyAgentName -r myregistry -o table

必須のパラメーター

--name -n

エージェント プールの名前。

--registry -r

コンテナー レジストリの名前。 小文字で指定する必要があります。 az configure --defaults acr=<registry name>を使用して、既定のレジストリ名を構成できます。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--queue-count

キュー数のみを取得します。

プロパティ
規定値: False
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

出力フォーマット。

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az acr agentpool update

プレビュー

コマンド グループ 'acr agentpool' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

Azure Container Registry のエージェント プールを更新します。

az acr agentpool update --name
                        --registry
                        [--count]
                        [--no-wait]
                        [--resource-group]

エージェント プール 'MyAgentName' 数を 5 に更新する

az acr agentpool update -n MyAgentName -r myregistry --count 5

必須のパラメーター

--name -n

エージェント プールの名前。

--registry -r

コンテナー レジストリの名前。 小文字で指定する必要があります。 az configure --defaults acr=<registry name>を使用して、既定のレジストリ名を構成できます。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--count -c

エージェント プールの数。

--no-wait

エージェント プールがアクションを完了するのを待ち、要求のキューに入った直後に戻らないでください。

プロパティ
規定値: False
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

出力フォーマット。

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False