CmdID / az / az monitor
az monitor trace-association
Route distributed traces to an Azure Monitor workspace. Azure CLI reference
4 commands 2 options Its page in the Azure CLI reference
Commands
Options
--resource-uriResource ID of an Application Insights component, a resource group or a subscription.--yes, -yDo not prompt for confirmation.