CmdID

CmdID / az / az self-help / az self-help diagnostic

az self-help diagnostic create

Creates a diagnostics that will help you troubleshoot an issue with your azure resource. Azure CLI extensions reference

1 example 4 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create Diagnostic at Resource Level

az self-help diagnostic create --diagnostic-name diagnostic-name --insights [{solutionId:Demo2InsightV2}] --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'Identify
--diagnostic-nameUnique resource name for insight resources
--insightsSolutionIds that are needed to be invoked.
--scopeThis is an extension resource provider and only resource level extension is supported at the moment.

Options

4 in the Azure CLI extensions reference
--diagnostic-nameUnique resource name for insight resources
--global-parametersGlobal parameters that can be passed to all solutionIds.
--insightsSolutionIds that are needed to be invoked.
--scopeThis is an extension resource provider and only resource level extension is supported at the moment.