CmdID / az / az monitor / az monitor data-collection / az monitor data-collection rule / az monitor data-collection rule log-analytics
az monitor data-collection rule log-analytics update
Update a Log Analytics destination of a data collection rule. Azure CLI extensions reference
3 options Its page in the Azure CLI extensions reference
Options
--data-collection-rule-name, --rule-nameThe name of the data collection rule.--name, -nA friendly name for the destination.--workspace-resource-id, --resource-idThe resource ID of the Log Analytics workspace.