次の方法で共有


az aks command

「az aks command invoke」、'az aks command result' の使用方法の詳細を参照してください。

コマンド

名前 説明 状態
az aks command invoke

aks クラスターでシェル コマンド (kubectl、helm) を実行し、ファイルのアタッチもサポートします。

Core GA
az aks command result

以前にトリガーされた 'aks コマンド呼び出し' から結果をフェッチします。

Core GA

az aks command invoke

aks クラスターでシェル コマンド (kubectl、helm) を実行し、ファイルのアタッチもサポートします。

az aks command invoke --name
                      --resource-group
                      [--command]
                      [--file]
                      [--no-wait]

必須のパラメーター

--name -n

マネージド クラスターの名前。

--resource-group -g

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

省略可能のパラメーター

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

--command -c

実行するコマンドまたはシェル スクリプト。

--file -f

コマンドで使用するファイルは、'.' を使用して現在のフォルダーをアタッチします。

--no-wait

実行時間の長い操作が完了するまで待つ必要はありません。

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

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

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

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

--only-show-errors

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

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

Output format.

プロパティ
規定値: 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 aks command result

以前にトリガーされた 'aks コマンド呼び出し' から結果をフェッチします。

az aks command result --name
                      --resource-group
                      [--command-id]

必須のパラメーター

--name -n

マネージド クラスターの名前。

--resource-group -g

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

省略可能のパラメーター

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

--command-id -i

'aks コマンド呼び出し' から返された CommandId。

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

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

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

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

--only-show-errors

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

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

Output format.

プロパティ
規定値: 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