forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Azure#124 from AllyW/network-watcher-con
Network watcher connection monitor subgroups
- Loading branch information
Showing
31 changed files
with
7,394 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
Commands/network/watcher/connection-monitor/endpoint/_add.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
16
Commands/network/watcher/connection-monitor/endpoint/_list.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
21
Commands/network/watcher/connection-monitor/endpoint/_remove.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
16
Commands/network/watcher/connection-monitor/endpoint/_show.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
9 changes: 9 additions & 0 deletions
9
Commands/network/watcher/connection-monitor/endpoint/_update.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
20
Commands/network/watcher/connection-monitor/endpoint/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
9
Commands/network/watcher/connection-monitor/output/_delete.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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[] --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
9
Commands/network/watcher/connection-monitor/output/_update.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
20
Commands/network/watcher/connection-monitor/output/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
Commands/network/watcher/connection-monitor/test-configuration/_add.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
16 changes: 16 additions & 0 deletions
16
Commands/network/watcher/connection-monitor/test-configuration/_list.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
21 changes: 21 additions & 0 deletions
21
Commands/network/watcher/connection-monitor/test-configuration/_remove.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
16 changes: 16 additions & 0 deletions
16
Commands/network/watcher/connection-monitor/test-configuration/_show.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
9 changes: 9 additions & 0 deletions
9
Commands/network/watcher/connection-monitor/test-configuration/_update.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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[] --> |
20 changes: 20 additions & 0 deletions
20
Commands/network/watcher/connection-monitor/test-configuration/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
26
Commands/network/watcher/connection-monitor/test-group/_add.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
16
Commands/network/watcher/connection-monitor/test-group/_list.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
16
Commands/network/watcher/connection-monitor/test-group/_remove.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
Oops, something went wrong.