az monitor data-collection endpoint
Note
This reference is part of the monitor-control-service extension for the Azure CLI (version 2.15.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
| az monitor data-collection endpoint create |
Create a data collection endpoint. |
| az monitor data-collection endpoint delete |
Delete a data collection endpoint. |
| az monitor data-collection endpoint list |
List all data collection endpoints. |
| az monitor data-collection endpoint show |
Show the specified data collection endpoint. |
| az monitor data-collection endpoint update |
Update a data collection endpoint. |
az monitor data-collection endpoint create
Create a data collection endpoint.
az monitor data-collection endpoint create --name
--public-network-access {Disabled, Enabled}
--resource-group
[--description]
[--kind {Linux, Windows}]
[--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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Description of the data collection endpoint.
The kind of the resource.
Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
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 --name
--resource-group
[--yes]
Examples
Delete data collection endpoint
az monitor data-collection endpoint delete --name "myCollectionEndpoint" --resource-group "myResourceGroup"
Required Parameters
The name of the data collection endpoint. The name is case insensitive.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Do not prompt for confirmation.
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.
az monitor data-collection endpoint list [--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
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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
Show the specified data collection endpoint.
az monitor data-collection endpoint show --name
--resource-group
Examples
Get data collection endpoint
az monitor data-collection endpoint show --name "myCollectionEndpoint" --resource-group "myResourceGroup"
Required Parameters
The name of the data collection endpoint. The name is case insensitive.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 --name
--resource-group
[--description]
[--kind {Linux, Windows}]
[--public-network-access {Disabled, Enabled}]
[--tags]
Examples
Update data collection endpoint
az monitor data-collection endpoint update --tags tag1="A" tag2="B" tag3="C" --name "myCollectionEndpoint" --resource-group "myResourceGroup"
Required Parameters
The name of the data collection endpoint. The name is case insensitive.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Description of the data collection endpoint.
The kind of the resource.
The configuration to set whether network access from public internet to the endpoints are allowed.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ