az monitor data-collection endpoint
Note
This reference is part of the monitor-control-service extension for the Azure CLI (version 2.61.0 or higher). The extension will automatically install the first time you run an az monitor data-collection endpoint command. Learn more about extensions.
Manage data collection endpoint for monitor control service.
Commands
Name | Description | Type | Status |
---|---|---|---|
az monitor data-collection endpoint association |
Monitor data-collection endpoint association. |
Extension | GA |
az monitor data-collection endpoint association list |
List associations for the specified data collection endpoint. |
Extension | GA |
az monitor data-collection endpoint create |
Create a data collection endpoint. |
Extension | GA |
az monitor data-collection endpoint delete |
Delete a data collection endpoint. |
Extension | GA |
az monitor data-collection endpoint list |
List all data collection endpoints in the specified subscription. |
Extension | GA |
az monitor data-collection endpoint show |
Get the specified data collection endpoint. |
Extension | GA |
az monitor data-collection endpoint update |
Update a data collection endpoint. |
Extension | GA |
az monitor data-collection endpoint create
Create a data collection endpoint.
az monitor data-collection endpoint create --data-collection-endpoint-name
--public-network-access
--resource-group
[--description]
[--identity]
[--kind]
[--location]
[--tags]
Examples
Create data collection endpoint
az monitor data-collection endpoint create -g "myResourceGroup" -l "eastus2euap" --name "myCollectionEndpoint" --public-network-access "Enabled"
Required Parameters
The name of the data collection endpoint. The name is case insensitive.
The configuration to set whether network access from public internet to the endpoints are allowed. Allowed values: Disabled, Enabled, SecuredByPerimeter.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Description of the association.
Managed service identity of the resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
The kind of the resource. Allowed values: Linux, Windows.
The geo-location where the resource lives.
Resource tags. 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 monitor data-collection endpoint delete
Delete a data collection endpoint.
az monitor data-collection endpoint delete [--data-collection-endpoint-name]
[--ids]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete data collection endpoint
az monitor data-collection endpoint delete --name "myCollectionEndpoint" --resource-group "myResourceGroup"
Optional Parameters
The name of the data collection endpoint. The name is case insensitive.
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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
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 monitor data-collection endpoint list
List all data collection endpoints in the specified subscription.
az monitor data-collection endpoint list [--max-items]
[--next-token]
[--resource-group]
Examples
List data collection endpoints by resource group
az monitor data-collection endpoint list --resource-group "myResourceGroup"
List data collection endpoints by subscription
az monitor data-collection endpoint list
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 monitor data-collection endpoint show
Get the specified data collection endpoint.
az monitor data-collection endpoint show [--data-collection-endpoint-name]
[--ids]
[--resource-group]
[--subscription]
Examples
Get data collection endpoint
az monitor data-collection endpoint show --name "myCollectionEndpoint" --resource-group "myResourceGroup"
Optional Parameters
The name of the data collection endpoint. The name is case insensitive.
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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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 monitor data-collection endpoint update
Update a data collection endpoint.
az monitor data-collection endpoint update [--add]
[--data-collection-endpoint-name]
[--description]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--identity]
[--ids]
[--kind]
[--public-network-access]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--tags]
Examples
Update data collection endpoint
az monitor data-collection endpoint update --tags tag1="A" tag2="B" tag3="C" --name "myCollectionEndpoint" --resource-group "myResourceGroup"
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
The name of the data collection endpoint. The name is case insensitive.
Description of the association.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Managed service identity of the resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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.
The kind of the resource. Allowed values: Linux, Windows.
The configuration to set whether network access from public internet to the endpoints are allowed. Allowed values: Disabled, Enabled, SecuredByPerimeter.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Resource tags. 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.
Azure CLI