az network watcher connection-monitor test-configuration

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

接続モニターのテスト構成を管理します。

コマンド

名前 説明 Status
az network watcher connection-monitor test-configuration add

接続モニターにテスト構成を追加します。

コア プレビュー
az network watcher connection-monitor test-configuration list

接続モニターのすべてのテスト構成を一覧表示します。

コア プレビュー
az network watcher connection-monitor test-configuration remove

接続モニターからテスト構成を削除します。

コア プレビュー
az network watcher connection-monitor test-configuration show

接続モニターからのテスト構成を表示します。

コア プレビュー
az network watcher connection-monitor test-configuration wait

条件が満たされるまで CLI を待機状態にします。

コア プレビュー

az network watcher connection-monitor test-configuration add

プレビュー

コマンド グループ 'az network watcher connection-monitor test-configuration' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

接続モニターにテスト構成を追加します。

az network watcher connection-monitor test-configuration add --connection-monitor
                                                             --location
                                                             --name
                                                             --protocol {Http, Icmp, Tcp}
                                                             --test-groups
                                                             [--frequency]
                                                             [--http-method {Get, Post}]
                                                             [--http-path]
                                                             [--http-port]
                                                             [--http-prefer-https {0, 1, f, false, n, no, t, true, y, yes}]
                                                             [--http-request-header]
                                                             [--http-valid-status-codes]
                                                             [--icmp-disable-trace-route {0, 1, f, false, n, no, t, true, y, yes}]
                                                             [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                             [--preferred-ip-version {IPv4, IPv6}]
                                                             [--tcp-disable-trace-route {0, 1, f, false, n, no, t, true, y, yes}]
                                                             [--tcp-port]
                                                             [--tcp-port-behavior {ListenIfAvailable, None}]
                                                             [--threshold-failed-percent]
                                                             [--threshold-round-trip-time]

HTTP がサポートされているテスト構成を追加する

az network watcher connection-monitor test-configuration add --connection-monitor MyConnectionMonitor --location westus --name MyHTTPTestConfiguration --test-groups DefaultTestGroup --protocol Http --http-request-header name=Host value=bing.com --http- request-header name=UserAgent value=Edge

TCP がサポートされているテスト構成を追加する

az network watcher connection-monitor test-configuration add --connection-monitor MyConnectionMonitor --location westus --name MyHTTPTestConfiguration --test-groups TCPTestGroup DefaultTestGroup --protocol Tcp --tcp-port 4096

必須のパラメーター

--connection-monitor

接続モニター名。

--location -l

場所。 値のソース: az account list-locations az configure --defaults location=<location> を使用して、既定の場所を構成できます。

--name --test-configuration-name -n

接続モニターのテスト構成の名前。

--protocol

テスト評価で使用するプロトコル。 使用できる値: Http、Icmp、Tcp。

承認された値: Http, Icmp, Tcp
--test-groups

指定した場合にのみ影響を受ける必要があるテスト グループの名前のスペース区切りの一覧。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

省略可能のパラメーター

--frequency

テスト評価の頻度 (秒単位)。 既定値は60 です。

--http-method

HTTP メソッドを使用します。 使用できる値: Get、Post。

承認された値: Get, Post
--http-path

URI のパス コンポーネント。 たとえば、"/dir1/dir2" などです。

--http-port

接続先のポート。

--http-prefer-https

選択が明示的でない場合に HTTPS が HTTP よりも優先されるかどうかを示す値。

承認された値: 0, 1, f, false, n, no, t, true, y, yes
--http-request-header

要求と共に送信する HTTP ヘッダー。 HTTP ヘッダーを定義する property=value ペアのリスト。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

--http-valid-status-codes

成功を考慮する HTTP 状態コード。 たとえば、"2xx,301-304,418" などです。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

--icmp-disable-trace-route

トレース ルートを使用したパス評価を無効にするかどうかを示す値。 false は既定値です。 使用できる値: false、true。

承認された値: 0, 1, f, false, n, no, t, true, y, yes
--no-wait

実行時間の長い操作の終了を待機しません。

承認された値: 0, 1, f, false, n, no, t, true, y, yes
--preferred-ip-version

テスト評価で使用する推奨 IP バージョン。 接続モニターは、他のパラメーターに応じて異なるバージョンを使用することを選択できます。 使用できる値: IPv4、IPv6。

承認された値: IPv4, IPv6
--tcp-disable-trace-route

トレース ルートを使用したパス評価を無効にするかどうかを示す値。 false は既定値です。 使用できる値: false、true。

承認された値: 0, 1, f, false, n, no, t, true, y, yes
--tcp-port

接続先のポート。

--tcp-port-behavior

宛先ポートの動作。 使用できる値: ListenIfAvailable、None。

承認された値: ListenIfAvailable, None
--threshold-failed-percent

テストが成功と評価するために許可された失敗したチェックの最大割合。

--threshold-round-trip-time

テストが成功として評価できる最大ラウンドトリップ時間 (ミリ秒単位)。

グローバル パラメーター
--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 network watcher connection-monitor test-configuration list

プレビュー

コマンド グループ 'az network watcher connection-monitor test-configuration' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

接続モニターのすべてのテスト構成を一覧表示します。

az network watcher connection-monitor test-configuration list --connection-monitor
                                                              --location

接続モニターのすべてのテスト構成を一覧表示します。

az network watcher connection-monitor test-configuration list --connection-monitor MyConnectionMonitor --location westus2

必須のパラメーター

--connection-monitor

接続モニター名。

--location -l

場所。 値のソース: az account list-locations az configure --defaults location=<location> を使用して、既定の場所を構成できます。

グローバル パラメーター
--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 network watcher connection-monitor test-configuration remove

プレビュー

コマンド グループ 'az network watcher connection-monitor test-configuration' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

接続モニターからテスト構成を削除します。

az network watcher connection-monitor test-configuration remove --connection-monitor
                                                                --location
                                                                --name
                                                                [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                                [--test-groups]

接続モニターのすべてのテスト グループからテスト構成を削除する

az network watcher connection-monitor test-configuration remove --connection-monitor MyConnectionMonitor --location westus --name MyTCPTestConfiguration

接続モニターの 2 つのテスト グループからテスト構成を削除する

az network watcher connection-monitor test-configuration remove --connection-monitor MyConnectionMonitor --location westus --name MyHTTPTestConfiguration --test-groups HTTPTestGroup DefaultTestGroup

必須のパラメーター

--connection-monitor

接続モニター名。

--location -l

場所。 値のソース: az account list-locations az configure --defaults location=<location> を使用して、既定の場所を構成できます。

--name --test-configuration-name -n

接続モニターのテスト構成の名前。

省略可能のパラメーター

--no-wait

実行時間の長い操作の終了を待機しません。

承認された値: 0, 1, f, false, n, no, t, true, y, yes
--test-groups

指定した場合にのみ影響を受ける必要があるテスト グループの名前のスペース区切りの一覧。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

グローバル パラメーター
--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 network watcher connection-monitor test-configuration show

プレビュー

コマンド グループ 'az network watcher connection-monitor test-configuration' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

接続モニターからのテスト構成を表示します。

az network watcher connection-monitor test-configuration show --connection-monitor
                                                              --location
                                                              --name

接続モニターからのテスト構成を表示します。

az network watcher connection-monitor test-configuration show --connection-monitor MyConnectionMonitor --location westus2 --name MyConnectionMonitorTestConfiguration

必須のパラメーター

--connection-monitor

接続モニター名。

--location -l

場所。 値のソース: az account list-locations az configure --defaults location=<location> を使用して、既定の場所を構成できます。

--name --test-configuration-name -n

接続モニターのテスト構成の名前。

グローバル パラメーター
--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 network watcher connection-monitor test-configuration wait

プレビュー

コマンド グループ 'az network watcher connection-monitor test-configuration' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

条件が満たされるまで CLI を待機状態にします。

az network watcher connection-monitor test-configuration wait [--connection-monitor]
                                                              [--created]
                                                              [--custom]
                                                              [--deleted]
                                                              [--exists]
                                                              [--ids]
                                                              [--interval]
                                                              [--subscription]
                                                              [--timeout]
                                                              [--updated]
                                                              [--watcher-name]
                                                              [--watcher-rg]

省略可能のパラメーター

--connection-monitor

接続モニター名。

--created

'provisioningState' が 'Succeeded' で作成されるまで待ちます。

既定値: False
--custom

条件がカスタム JMESPath クエリを満たすまで待ちます。 例: provisioningState!='InProgress'、instanceView.statuses[?code=='PowerState/running']。

--deleted

削除されるまで待ちます。

既定値: False
--exists

リソースが存在するまで待ちます。

既定値: False
--ids

1 つまたは複数のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

--interval

ポーリング間隔 (秒単位)。

既定値: 30
--subscription

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

--timeout

最大待機時間 (秒単位)。

既定値: 3600
--updated

provisioningState が 'Succeeded' で更新されるまで待ちます。

既定値: False
--watcher-name

Network Watcher リソースの名前。

--watcher-rg -g

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

グローバル パラメーター
--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 を使います。