次の方法で共有


az pipelines agent

このリファレンスは、Azure CLI (バージョン 2.30.0 以降) の azure-devops 拡張機能の一部です。 拡張機能は、az pipelines agent コマンドを初めて実行するときに自動的にインストールされます。 拡張機能の詳細については、 を参照してください。

エージェントを管理します。

コマンド

名前 説明 状態
az pipelines agent list

プール内のエージェントの一覧を取得します。

拡張 ジョージア州 (GA)
az pipelines agent show

エージェントの詳細を表示します。

拡張 ジョージア州 (GA)

az pipelines agent list

プール内のエージェントの一覧を取得します。

az pipelines agent list --pool-id
                        [--agent-name]
                        [--demands]
                        [--detect {false, true}]
                        [--include-assigned-request {false, true}]
                        [--include-capabilities {false, true}]
                        [--include-last-completed-request {false, true}]
                        [--org --organization]

必須のパラメーター

--pool-id

エージェントを含むエージェント プール。

省略可能のパラメーター

--agent-name

エージェント名でフィルター処理します。

--demands

エージェントが満たすことができる要求でフィルター処理します。 コンマ区切りの一覧です。

--detect

組織を自動的に検出します。

指定可能な値: false, true
--include-assigned-request

エージェントの現在の作業に関する詳細を含めるかどうか。

指定可能な値: false, true
--include-capabilities

応答にエージェントの機能を含めるかどうか。

指定可能な値: false, true
--include-last-completed-request

エージェントの最新の完了した作業に関する詳細を含めるかどうか。

指定可能な値: false, true
--org --organization

Azure DevOps organization URL。 az devops configure -d organization=ORG_URL を使用して、既定の組織を構成できます。 既定として構成されていない場合、または git 構成を使用して取得された場合は必須です。例: https://dev.azure.com/MyOrganizationName/.

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

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

--help -h

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

--only-show-errors

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

--output -o

出力フォーマット。

指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
規定値: json
--query

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

--subscription

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

--verbose

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

az pipelines agent show

エージェントの詳細を表示します。

az pipelines agent show --agent-id --id
                        --pool-id
                        [--detect {false, true}]
                        [--include-assigned-request {false, true}]
                        [--include-capabilities {false, true}]
                        [--include-last-completed-request {false, true}]
                        [--org --organization]

必須のパラメーター

--agent-id --id

情報を取得するエージェント ID。

--pool-id

エージェントを含むエージェント プール。

省略可能のパラメーター

--detect

組織を自動的に検出します。

指定可能な値: false, true
--include-assigned-request

エージェントの現在の作業に関する詳細を含めるかどうか。

指定可能な値: false, true
--include-capabilities

応答にエージェントの機能を含めるかどうか。

指定可能な値: false, true
--include-last-completed-request

エージェントの最新の完了した作業に関する詳細を含めるかどうか。

指定可能な値: false, true
--org --organization

Azure DevOps organization URL。 az devops configure -d organization=ORG_URL を使用して、既定の組織を構成できます。 既定として構成されていない場合、または git 構成を使用して取得された場合は必須です。例: https://dev.azure.com/MyOrganizationName/.

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

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

--help -h

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

--only-show-errors

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

--output -o

出力フォーマット。

指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
規定値: json
--query

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

--subscription

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

--verbose

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