Skip to content

Commit

Permalink
Merge pull request Azure#124 from AllyW/network-watcher-con
Browse files Browse the repository at this point in the history
Network watcher connection monitor subgroups
  • Loading branch information
kairu-ms authored Mar 3, 2023
2 parents bd3cced + 07c7f9b commit 013986d
Show file tree
Hide file tree
Showing 31 changed files with 7,394 additions and 61 deletions.
2 changes: 1 addition & 1 deletion Commands/network/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Manage Azure Network resources.
: Manage site-to-site VPN gateways.

- [watcher](/Commands/network/watcher/readme.md)
: Manage the Azure Network Watcher. Network Watcher assists with monitoring and diagnosing conditions at a network scenario level. To learn more visit https://learn.microsoft.com/en-us/azure/network-watcher.
: Manage the Azure Network Watcher. Network Watcher assists with monitoring and diagnosing conditions at a network scenario level. To learn more visit https://docs.microsoft.com/azure/network-watcher/.

## Commands

Expand Down
8 changes: 8 additions & 0 deletions Commands/network/watcher/connection-monitor/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ Create a connection monitor.
### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 -->

#### examples

- Create a connection monitor
```bash
network watcher connection-monitor create --name MyV2ConnectionMonitor --endpoint-source- name "vm01" --endpoint-source-resource-id MyVM01ResourceID --endpoint-dest-name bing --endpoint-dest-address bing.com --test-config-name TCPTestConfig --protocol Tcp --tcp-port 2048
network watcher connection-monitor create --endpoint-dest-address bing.com --endpoint- dest-name bing --endpoint-source-name "vm01" --endpoint-source-resource-id MyVM01ResourceID --location westus2 --name MyConnectionMonitorName --protocol Tcp --tcp-port 2048 --test- config-name TCPTestConfig
```
26 changes: 26 additions & 0 deletions Commands/network/watcher/connection-monitor/endpoint/_add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# [Command] _network watcher connection-monitor endpoint add_

Add an endpoint to a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.endpoints[] -->

#### examples

- Add an external address as a destination endpoint
```bash
network watcher connection-monitor endpoint add --connection-monitor MyConnectionMonitor --location westus --name MyExternalEndpoint --address "bing.com" --dest-test-groups DefaultTestGroup --type ExternalAddress
```

- Add an Azure VM as a source endpoint
```bash
network watcher connection-monitor endpoint add --connection-monitor MyConnectionMonitor --location westus --name MyVMEndpoint --resource-id MyVMResourceID --source-test-groups DefaultTestGroup --type AzureVM
```

- Add a Subnet as a source endpoint with addresses excluded
```bash
network watcher connection-monitor endpoint add --connection-monitor MyConnectionMonitor --location westus --name MySubnetEndpoint --resource-id MySubnetID --source-test-groups DefaultTestGroup --type AzureSubnet --address-exclude 10.0.0.25 10.0.0.30 --coverage-level BelowAverage
```
16 changes: 16 additions & 0 deletions Commands/network/watcher/connection-monitor/endpoint/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network watcher connection-monitor endpoint list_

List all endpoints form a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.endpoints -->

#### examples

- List all endpoints form a connection monitor.
```bash
network watcher connection-monitor endpoint list --connection-monitor MyConnectionMonitor --location westus2
```
21 changes: 21 additions & 0 deletions Commands/network/watcher/connection-monitor/endpoint/_remove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _network watcher connection-monitor endpoint remove_

Remove an endpoint from a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.endpoints[] -->

#### examples

- Remove endpoint from all test groups of a connection monitor
```bash
network watcher connection-monitor endpoint remove --connection-monitor MyConnectionMonitor --location westus --name MyEndpoint
```

- Remove endpoint from two test groups of a connection monitor
```bash
network watcher connection-monitor endpoint remove --connection-monitor MyConnectionMonitor --location westus --name MyEndpoint --test-groups DefaultTestGroup HealthCheckTestGroup
```
16 changes: 16 additions & 0 deletions Commands/network/watcher/connection-monitor/endpoint/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network watcher connection-monitor endpoint show_

Show an endpoint from a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.endpoints[] -->

#### examples

- Show an endpoint from a connection monitor.
```bash
network watcher connection-monitor endpoint show --connection-monitor MyConnectionMonitor --location westus2 --name myconnectionmonitorendpoint --subscription MySubscription
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network watcher connection-monitor endpoint update_

network watcher connection-monitor endpoint update

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.endpoints[] -->
20 changes: 20 additions & 0 deletions Commands/network/watcher/connection-monitor/endpoint/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _network watcher connection-monitor endpoint_

Manage endpoint of a connection monitor.

## Commands

- [add](/Commands/network/watcher/connection-monitor/endpoint/_add.md)
: Add an endpoint to a connection monitor.

- [list](/Commands/network/watcher/connection-monitor/endpoint/_list.md)
: List all endpoints form a connection monitor.

- [remove](/Commands/network/watcher/connection-monitor/endpoint/_remove.md)
: Remove an endpoint from a connection monitor.

- [show](/Commands/network/watcher/connection-monitor/endpoint/_show.md)
: Show an endpoint from a connection monitor.

- [update](/Commands/network/watcher/connection-monitor/endpoint/_update.md)
: network watcher connection-monitor endpoint update
9 changes: 9 additions & 0 deletions Commands/network/watcher/connection-monitor/output/_add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network watcher connection-monitor output add_

Add an output to a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.outputs[] -->
9 changes: 9 additions & 0 deletions Commands/network/watcher/connection-monitor/output/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network watcher connection-monitor output delete_

Remove all outputs from a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.outputs[] -->
9 changes: 9 additions & 0 deletions Commands/network/watcher/connection-monitor/output/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network watcher connection-monitor output list_

List all output from a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.outputs -->
9 changes: 9 additions & 0 deletions Commands/network/watcher/connection-monitor/output/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network watcher connection-monitor output show_

network watcher connection-monitor output show

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.outputs[] -->
9 changes: 9 additions & 0 deletions Commands/network/watcher/connection-monitor/output/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network watcher connection-monitor output update_

network watcher connection-monitor output update

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.outputs[] -->
20 changes: 20 additions & 0 deletions Commands/network/watcher/connection-monitor/output/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _network watcher connection-monitor output_

Manage output of connection monitor.

## Commands

- [add](/Commands/network/watcher/connection-monitor/output/_add.md)
: Add an output to a connection monitor.

- [delete](/Commands/network/watcher/connection-monitor/output/_delete.md)
: Remove all outputs from a connection monitor.

- [list](/Commands/network/watcher/connection-monitor/output/_list.md)
: List all output from a connection monitor.

- [show](/Commands/network/watcher/connection-monitor/output/_show.md)
: network watcher connection-monitor output show

- [update](/Commands/network/watcher/connection-monitor/output/_update.md)
: network watcher connection-monitor output update
18 changes: 17 additions & 1 deletion Commands/network/watcher/connection-monitor/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
# [Group] _network watcher connection-monitor_

Manage connection monitoring between an Azure Virtual Machine and any IP resource. Connection monitor can be used to monitor network connectivity between an Azure virtual machine and an IP address. The IP address can be assigned to another Azure resource or a resource on the Internet or on-premises. To learn more visit https://aka.ms/connectionmonitordoc.
Manage connection monitoring between an Azure Virtual Machine and any IP resource.

Connection monitor can be used to monitor network connectivity between an Azure virtual machine and an IP address. The IP address can be assigned to another Azure resource or a resource on the Internet or on-premises. To learn more visit https://aka.ms/connectionmonitordoc.

## Subgroups

- [endpoint](/Commands/network/watcher/connection-monitor/endpoint/readme.md)
: Manage endpoint of a connection monitor.

- [output](/Commands/network/watcher/connection-monitor/output/readme.md)
: Manage output of connection monitor.

- [test-configuration](/Commands/network/watcher/connection-monitor/test-configuration/readme.md)
: Manage test configuration of a connection monitor.

- [test-group](/Commands/network/watcher/connection-monitor/test-group/readme.md)
: Manage a test group of a connection monitor.

## Commands

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _network watcher connection-monitor test-configuration add_

Add a test configuration to a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.testConfigurations[] -->

#### examples

- Add a test configuration with HTTP supported
```bash
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
```

- Add a test configuration with TCP supported
```bash
network watcher connection-monitor test-configuration add --connection-monitor MyConnectionMonitor --location westus --name MyHTTPTestConfiguration --test-groups TCPTestGroup DefaultTestGroup --protocol Tcp --tcp-port 4096
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network watcher connection-monitor test-configuration list_

List all test configurations of a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.testConfigurations -->

#### examples

- List all test configurations of a connection monitor.
```bash
network watcher connection-monitor test-configuration list --connection-monitor MyConnectionMonitor --location westus2
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _network watcher connection-monitor test-configuration remove_

Remove a test configuration from a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.testConfigurations[] -->

#### examples

- Remove a test configuration from all test groups of a connection monitor
```bash
network watcher connection-monitor test-configuration remove --connection-monitor MyConnectionMonitor --location westus --name MyTCPTestConfiguration
```

- Remove a test configuration from two test groups of a connection monitor
```bash
network watcher connection-monitor test-configuration remove --connection-monitor MyConnectionMonitor --location westus --name MyHTTPTestConfiguration --test-groups HTTPTestGroup DefaultTestGroup
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network watcher connection-monitor test-configuration show_

Show a test configuration from a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.testConfigurations[] -->

#### examples

- Show a test configuration from a connection monitor.
```bash
network watcher connection-monitor test-configuration show --connection-monitor MyConnectionMonitor --location westus2 --name MyConnectionMonitorTestConfiguration
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network watcher connection-monitor test-configuration update_

network watcher connection-monitor test-configuration update

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.testConfigurations[] -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _network watcher connection-monitor test-configuration_

Manage test configuration of a connection monitor.

## Commands

- [add](/Commands/network/watcher/connection-monitor/test-configuration/_add.md)
: Add a test configuration to a connection monitor.

- [list](/Commands/network/watcher/connection-monitor/test-configuration/_list.md)
: List all test configurations of a connection monitor.

- [remove](/Commands/network/watcher/connection-monitor/test-configuration/_remove.md)
: Remove a test configuration from a connection monitor.

- [show](/Commands/network/watcher/connection-monitor/test-configuration/_show.md)
: Show a test configuration from a connection monitor.

- [update](/Commands/network/watcher/connection-monitor/test-configuration/_update.md)
: network watcher connection-monitor test-configuration update
26 changes: 26 additions & 0 deletions Commands/network/watcher/connection-monitor/test-group/_add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# [Command] _network watcher connection-monitor test-group add_

Add a test group along with new-added/existing endpoint and test configuration to a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.testGroups[] -->

#### examples

- Add a test group along with existing endpoint and test configuration via their names
```bash
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
```

- Add a test group long with new-added source endpoint and existing test configuration via its name
```bash
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
```

- Add a test group along with new-added endpoints and test configuration
```bash
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
```
16 changes: 16 additions & 0 deletions Commands/network/watcher/connection-monitor/test-group/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network watcher connection-monitor test-group list_

List all test groups of a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.testGroups -->

#### examples

- List all test groups of a connection monitor.
```bash
network watcher connection-monitor test-group list --connection-monitor MyConnectionMonitor --location westus2
```
16 changes: 16 additions & 0 deletions Commands/network/watcher/connection-monitor/test-group/_remove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network watcher connection-monitor test-group remove_

Remove test group from a connection monitor.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmt3YXRjaGVycy97fS9jb25uZWN0aW9ubW9uaXRvcnMve30=/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/connectionmonitors/{} 2022-01-01 properties.testGroups[] -->

#### examples

- Remove test group from a connection monitor.
```bash
network watcher connection-monitor test-group remove --connection-monitor MyConnectionMonitor --location westus2 --name MyConnectionMonitorTestGroup
```
Loading

0 comments on commit 013986d

Please sign in to comment.