CmdID / az / az monitor / az monitor data-collection / az monitor data-collection rule / az monitor data-collection rule association
az monitor data-collection rule association create
Create an association. Azure CLI extensions reference
5 options Its page in the Azure CLI extensions reference
Options
--association-name, --name, -nThe name of the association.--data-collection-endpoint-id, --endpoint-idThe resource ID of the data collection endpoint that is to be associated.--data-collection-rule-id, --rule-idThe resource ID of the data collection rule that is to be associated.--descriptionDescription of the association.--resource-uri, --resourceThe identifier of the resource.