CmdID / az / az monitor / az monitor diagnostic-settings / az monitor diagnostic-settings categories
az monitor diagnostic-settings categories list
List the diagnostic settings categories for the specified resource. Azure CLI reference
2 examples 1 option Its page in the Azure CLI reference
Examples
List diagnostic settings categories by using resource ID
az monitor diagnostic-settings categories list --resource /subscriptions/00000000-0000-0000- 0000-000000000000/resourcegroups/myRG/providers/microsoft.logic/workflows/myWorkflowIdentify--resourceName or ID of the target resource.List diagnostic settings categories by using resource name
az monitor diagnostic-settings categories list -g myRG --resource-type microsoft.logic/workflows --resource myWorkflowIdentify-gName of resource group.--resourceName or ID of the target resource.Options
--resourceName or ID of the target resource.