CmdID / az / az monitor / az monitor data-collection / az monitor data-collection rule
az monitor data-collection rule delete
Delete a data collection rule. Azure CLI extensions reference
2 options Its page in the Azure CLI extensions reference
Options
--data-collection-rule-name, --rule-name, --name, -nThe name of the data collection rule.--delete-associationsIf set to 'true' then all associations of this data collection rule will also be deleted