az monitor diagnostic-settings categories
Retrieve service diagnostic settings categories.
Commands
| az monitor diagnostic-settings categories list |
List the diagnostic settings categories for the specified resource. |
| az monitor diagnostic-settings categories show |
Gets the diagnostic settings category for the specified resource. |
az monitor diagnostic-settings categories list
List the diagnostic settings categories for the specified resource.
az monitor diagnostic-settings categories list --resource
[--resource-group]
[--resource-namespace]
[--resource-parent]
[--resource-type]
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/myWorkflow
List diagnostic settings categories by using resource name
az monitor diagnostic-settings categories list -g myRG --resource-type microsoft.logic/workflows --resource myWorkflow
Required Parameters
Name or ID of the target resource.
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Target resource provider namespace.
Target resource parent path, if applicable.
Target resource type. Can also accept namespace/type format (Ex: 'Microsoft.Compute/virtualMachines').
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az monitor diagnostic-settings categories show
Gets the diagnostic settings category for the specified resource.
az monitor diagnostic-settings categories show --name
--resource
[--resource-group]
[--resource-namespace]
[--resource-parent]
[--resource-type]
Required Parameters
The name of the diagnostic setting.
Name or ID of the target resource.
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Target resource provider namespace.
Target resource parent path, if applicable.
Target resource type. Can also accept namespace/type format (Ex: 'Microsoft.Compute/virtualMachines').
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ