az network watcher connection-monitor test-group

연결 모니터의 테스트 그룹을 관리합니다.

명령

az network watcher connection-monitor test-group add

새로 추가된/기존 엔드포인트와 함께 테스트 그룹 및 테스트 구성을 연결 모니터에 추가합니다.

az network watcher connection-monitor test-group list

연결 모니터의 모든 테스트 그룹을 나열합니다.

az network watcher connection-monitor test-group remove

연결 모니터에서 테스트 그룹을 제거합니다.

az network watcher connection-monitor test-group show

연결 모니터의 테스트 그룹을 표시합니다.

az network watcher connection-monitor test-group add

새로 추가된/기존 엔드포인트와 함께 테스트 그룹 및 테스트 구성을 연결 모니터에 추가합니다.

az network watcher connection-monitor test-group add --connection-monitor
                                                     --endpoint-dest-name
                                                     --endpoint-source-name
                                                     --location
                                                     --name
                                                     --test-config-name
                                                     [--disable {false, true}]
                                                     [--endpoint-dest-address]
                                                     [--endpoint-dest-resource-id]
                                                     [--endpoint-source-address]
                                                     [--endpoint-source-resource-id]
                                                     [--frequency]
                                                     [--http-method {Get, Post}]
                                                     [--http-path]
                                                     [--http-port]
                                                     [--http-valid-status-codes]
                                                     [--https-prefer {false, true}]
                                                     [--icmp-disable-trace-route {false, true}]
                                                     [--preferred-ip-version {IPv4, IPv6}]
                                                     [--protocol {Http, Icmp, Tcp}]
                                                     [--subscription]
                                                     [--tcp-disable-trace-route {false, true}]
                                                     [--tcp-port]
                                                     [--threshold-failed-percent]
                                                     [--threshold-round-trip-time]

예제

기존 엔드포인트와 함께 테스트 그룹 추가 및 해당 이름을 통해 테스트 구성

az network watcher connection-monitor test-group add --connection-monitor MyConnectionMonitor --location westus --name MyHTTPTestGroup --endpoint-source-name MySourceEndpoint --endpoint-dest-name MyDestinationEndpoint --test-config-name MyTestConfiguration

이름을 통해 새로 추가된 원본 엔드포인트 및 기존 테스트 구성이 있는 long 테스트 그룹을 추가합니다.

az network watcher connection-monitor test-group add --connection-monitor MyConnectionMonitor --location westus --name MyAccessibilityTestGroup --endpoint-source-name MySourceEndpoint --endpoint-source-resource-id MyLogAnalysisWorkspaceID --endpoint-dest-name MyExistingDestinationEndpoint --test-config-name MyExistingTestConfiguration

새로 추가된 엔드포인트 및 테스트 구성과 함께 테스트 그룹 추가

az network watcher connection-monitor test-group add --connection-monitor MyConnectionMonitor --location westus --name MyAccessibilityTestGroup --endpoint-source-name MySourceEndpoint --endpoint-source-resource-id MyVMResourceID --endpoint-dest-name bing --endpoint-dest-address bing.com --test-config-name MyNewTestConfiguration --protocol Tcp --tcp-port 4096

필수 매개 변수

--connection-monitor

연결 모니터 이름입니다.

--endpoint-dest-name

연결 모니터 엔드포인트의 대상 이름입니다. V2 연결 모니터 만드는 경우 필요합니다.

--endpoint-source-name

연결 모니터 엔드포인트의 원본 이름입니다. V2 연결 모니터 만드는 경우 필요합니다.

--location -l

위치입니다. 값 출처: az account list-locations. az configure --defaults location=<location>을 사용하여 기본 위치를 구성할 수 있습니다.

--name -n

연결 모니터 테스트 그룹의 이름입니다.

--test-config-name

연결 모니터 테스트 구성의 이름입니다. V2 연결 모니터 만드는 경우 필요합니다.

선택적 매개 변수

--disable

테스트 그룹을 사용할 수 있는지 여부를 나타내는 값입니다. false는 기본값입니다.

허용되는 값: false, true
--endpoint-dest-address

연결 모니터 엔드포인트(IP 또는 도메인 이름)의 대상 주소입니다.

--endpoint-dest-resource-id

연결 모니터 엔드포인트 대상의 리소스 ID입니다.

--endpoint-source-address

연결 모니터 엔드포인트 원본의 주소(IP 또는 도메인 이름)입니다.

--endpoint-source-resource-id

연결 모니터 엔드포인트 원본의 리소스 ID입니다. 엔드포인트를 원본으로 사용하려는 경우 이 옵션이 필요합니다.

--frequency

테스트 평가 빈도(초)입니다.

기본값: 60
--http-method

사용할 HTTP 메서드입니다.

허용되는 값: Get, Post
--http-path

URI의 경로 구성 요소입니다. 예를 들어 "/dir1/dir2"입니다.

--http-port

연결할 포트입니다.

--http-valid-status-codes

성공을 고려할 HTTP 상태 코드의 공백으로 구분된 목록입니다. 예를 들어 "2xx 301-304 418"입니다.

--https-prefer

선택이 명시적이지 않은 경우 HTTPS가 HTTP보다 선호되는지 여부를 나타내는 값입니다.

허용되는 값: false, true
--icmp-disable-trace-route

추적 경로가 있는 경로 평가를 사용하지 않도록 설정해야 하는지 여부를 나타내는 값입니다. false는 기본값입니다.

허용되는 값: false, true
--preferred-ip-version

테스트 평가에 사용할 기본 설정 IP 버전입니다. 연결 모니터는 다른 매개 변수에 따라 다른 버전을 사용하도록 선택할 수 있습니다.

허용되는 값: IPv4, IPv6
--protocol

테스트 평가에 사용할 프로토콜입니다.

허용되는 값: Http, Icmp, Tcp
--subscription

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

--tcp-disable-trace-route

추적 경로가 있는 경로 평가를 사용하지 않도록 설정해야 하는지 여부를 나타내는 값입니다. false는 기본값입니다.

허용되는 값: false, true
--tcp-port

연결할 포트입니다.

--threshold-failed-percent

테스트가 성공한 것으로 평가될 수 있는 실패한 검사의 최대 비율입니다.

--threshold-round-trip-time

테스트가 성공한 것으로 평가되는 데 허용되는 최대 왕복 시간(밀리초)입니다.

az network watcher connection-monitor test-group list

연결 모니터의 모든 테스트 그룹을 나열합니다.

az network watcher connection-monitor test-group list --connection-monitor
                                                      --location
                                                      [--query-examples]
                                                      [--subscription]

예제

연결 모니터의 모든 테스트 그룹을 나열합니다. (자동 생성)

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

필수 매개 변수

--connection-monitor

연결 모니터 이름입니다.

--location -l

위치입니다. 값 출처: az account list-locations. az configure --defaults location=<location>을 사용하여 기본 위치를 구성할 수 있습니다.

선택적 매개 변수

--query-examples

JMESPath 문자열을 권장합니다. 쿼리 중 하나를 복사하여 큰따옴표 안에 --query 매개 변수를 붙여넣어 결과를 확인할 수 있습니다. 이러한 키워드를 기반으로 제안을 제공할 수 있도록 하나 이상의 위치 키워드를 추가할 수 있습니다.

--subscription

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

az network watcher connection-monitor test-group remove

연결 모니터에서 테스트 그룹을 제거합니다.

az network watcher connection-monitor test-group remove --connection-monitor
                                                        --location
                                                        --name
                                                        [--subscription]

예제

연결 모니터에서 테스트 그룹을 제거합니다. (자동 생성)

az network watcher connection-monitor test-group remove --connection-monitor MyConnectionMonitor --location westus2 --name MyConnectionMonitorTestGroup

필수 매개 변수

--connection-monitor

연결 모니터 이름입니다.

--location -l

위치입니다. 값 출처: az account list-locations. az configure --defaults location=<location>을 사용하여 기본 위치를 구성할 수 있습니다.

--name -n

연결 모니터 테스트 그룹의 이름입니다.

선택적 매개 변수

--subscription

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

az network watcher connection-monitor test-group show

연결 모니터의 테스트 그룹을 표시합니다.

az network watcher connection-monitor test-group show --connection-monitor
                                                      --location
                                                      --name
                                                      [--query-examples]
                                                      [--subscription]

예제

연결 모니터의 테스트 그룹을 표시합니다. (자동 생성)

az network watcher connection-monitor test-group show --connection-monitor MyConnectionMonitor --location westus2 --name MyConnectionMonitorTestGroup --subscription MySubscription

필수 매개 변수

--connection-monitor

연결 모니터 이름입니다.

--location -l

위치입니다. 값 출처: az account list-locations. az configure --defaults location=<location>을 사용하여 기본 위치를 구성할 수 있습니다.

--name -n

연결 모니터 테스트 그룹의 이름입니다.

선택적 매개 변수

--query-examples

JMESPath 문자열을 권장합니다. 쿼리 중 하나를 복사하여 큰따옴표 안에 --query 매개 변수를 붙여넣어 결과를 확인할 수 있습니다. 이러한 키워드를 기반으로 제안을 제공할 수 있도록 하나 이상의 위치 키워드를 추가할 수 있습니다.

--subscription

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