az network watcher connection-monitor endpoint
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage endpoint of a connection monitor.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network watcher connection-monitor endpoint add |
Add an endpoint to a connection monitor. |
Core | Preview |
az network watcher connection-monitor endpoint list |
List all endpoints from a connection monitor. |
Core | Preview |
az network watcher connection-monitor endpoint remove |
Remove an endpoint from a connection monitor. |
Core | Preview |
az network watcher connection-monitor endpoint show |
Show an endpoint from a connection monitor. |
Core | Preview |
az network watcher connection-monitor endpoint wait |
Place the CLI in a waiting state until a condition is met. |
Core | Preview |
az network watcher connection-monitor endpoint add
Command group 'az network watcher connection-monitor endpoint' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Add an endpoint to a connection monitor.
az network watcher connection-monitor endpoint add --connection-monitor
--endpoint-name
--location
[--address]
[--address-exclude]
[--address-include]
[--coverage-level {AboveAverage, Average, BelowAverage, Default, Full, Low}]
[--dest-test-groups]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-id]
[--source-test-groups]
[--type {AzureArcVM, AzureSubnet, AzureVM, AzureVMSS, AzureVNet, ExternalAddress, MMAWorkspaceMachine, MMAWorkspaceNetwork}]
Examples
Add an external address as a destination endpoint
az 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
az 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
az 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
Required Parameters
Connection monitor name.
The name of the connection monitor endpoint.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Optional Parameters
Address of the connection monitor endpoint (IP or domain name).
List of address of the endpoint item which needs to be excluded to the endpoint scope. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
List of address of the endpoint item which needs to be included to the endpoint scope. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Test coverage for the endpoint. Allowed values: AboveAverage, Average, BelowAverage, Default, Full, Low.
Space-separated list of names for test group to reference as destination. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Do not wait for the long-running operation to finish.
Resource ID of the connection monitor endpoint.
Space-separated list of names for test group to reference as source. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
The endpoint type. Allowed values: AzureArcVM, AzureSubnet, AzureVM, AzureVMSS, AzureVNet, ExternalAddress, MMAWorkspaceMachine, MMAWorkspaceNetwork.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network watcher connection-monitor endpoint list
Command group 'az network watcher connection-monitor endpoint' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List all endpoints from a connection monitor.
az network watcher connection-monitor endpoint list --connection-monitor
--location
Examples
List all endpoints from a connection monitor.
az network watcher connection-monitor endpoint list --connection-monitor MyConnectionMonitor --location westus2
Required Parameters
Connection monitor name.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network watcher connection-monitor endpoint remove
Command group 'az network watcher connection-monitor endpoint' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Remove an endpoint from a connection monitor.
az network watcher connection-monitor endpoint remove --connection-monitor
--endpoint-name
--location
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--test-groups]
Examples
Remove endpoint from all test groups of a connection monitor
az network watcher connection-monitor endpoint remove --connection-monitor MyConnectionMonitor --location westus --name MyEndpoint
Remove endpoint from two test groups of a connection monitor
az network watcher connection-monitor endpoint remove --connection-monitor MyConnectionMonitor --location westus --name MyEndpoint --test-groups DefaultTestGroup HealthCheckTestGroup
Required Parameters
Connection monitor name.
Name of the connection monitor endpoint.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Space-separated list of names of test group which only need to be affected if specified. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network watcher connection-monitor endpoint show
Command group 'az network watcher connection-monitor endpoint' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show an endpoint from a connection monitor.
az network watcher connection-monitor endpoint show --connection-monitor
--endpoint-name
--location
Examples
Show an endpoint from a connection monitor.
az network watcher connection-monitor endpoint show --connection-monitor MyConnectionMonitor --location westus2 --name myconnectionmonitorendpoint --subscription MySubscription
Required Parameters
Connection monitor name.
Name of the connection monitor endpoint.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network watcher connection-monitor endpoint wait
Command group 'az network watcher connection-monitor endpoint' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Place the CLI in a waiting state until a condition is met.
az network watcher connection-monitor endpoint wait [--connection-monitor]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--subscription]
[--timeout]
[--updated]
[--watcher-name]
[--watcher-rg]
Optional Parameters
Connection monitor name.
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Polling interval in seconds.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Name of the network watcher.
Name of the resource group the watcher is in.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.