az network watcher connection-monitor test-configuration

이 명령 그룹은 미리 보기 상태이며 개발 중입니다. 참조 및 지원 수준: https://aka.ms/CLI_refstatus

연결 모니터의 테스트 구성을 관리합니다.

명령

Name Description 형식 상태
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는 기본값입니다. 허용되는 값: true, false

허용되는 값: 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는 기본값입니다. 허용되는 값: true, false

허용되는 값: 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

연결 모니터의 두 테스트 그룹에서 테스트 구성 제거

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

'Succeeded'에서 'provisioningState'를 사용하여 생성될 때까지 기다립니다.

기본값: False
--custom

조건이 사용자 지정 JMESPath 쿼리를 충족할 때까지 기다립니다. 예: provisioningState!='InProgress', instanceView. 상태es[?code=='PowerState/running'].

--deleted

삭제될 때까지 기다립니다.

기본값: False
--exists

리소스가 존재할 때까지 기다립니다.

기본값: False
--ids

하나 이상의 리소스 ID(공백으로 구분)입니다. '리소스 ID' 인수의 모든 정보를 포함하는 전체 리소스 ID여야 합니다. --ids 또는 다른 '리소스 ID' 인수를 제공해야 합니다.

--interval

폴링 간격(초)입니다.

기본값: 30
--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--timeout

최대 대기 시간(초)입니다.

기본값: 3600
--updated

'Succeeded'에서 provisioningState로 업데이트될 때까지 기다립니다.

기본값: 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를 사용합니다.