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 --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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
Property | Value |
---|---|
Accepted 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.
Property | Value |
---|---|
Parameter group: | V2 Test Group Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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.
Property | Value |
---|---|
Parameter group: | V2 Test Group Arguments |
The endpoint type. Allowed values: AzureArcVM, AzureSubnet, AzureVM, AzureVMSS, AzureVNet, ExternalAddress, MMAWorkspaceMachine, MMAWorkspaceNetwork.
Property | Value |
---|---|
Accepted values: | AzureArcVM, AzureSubnet, AzureVM, AzureVMSS, AzureVNet, ExternalAddress, MMAWorkspaceMachine, MMAWorkspaceNetwork |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
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.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
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 --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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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.
Property | Value |
---|---|
Parameter group: | V2 Test Group Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
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 --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.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Connection monitor name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Wait until created with 'provisioningState' at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Wait until deleted.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the resource exists.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Polling interval in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 30 |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Maximum wait in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Name of the network watcher.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of the resource group the watcher is in.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |