"--resource
Name or ID of the target resource."
is a wrong statement because it works only with the ID.
az monitor diagnostic-settings list --resource asdasd-fw-acc-westeurope
Command group 'monitor' is in preview. It may be changed/removed in a future release.
usage error: --resource ID | --resource NAME --resource-group NAME --resource-type TYPE [--resource-parent PARENT] [--resource-namespace NAMESPACE]
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
"--resource
Name or ID of the target resource."
is a wrong statement because it works only with the ID.
az monitor diagnostic-settings list --resource asdasd-fw-acc-westeurope
Command group 'monitor' is in preview. It may be changed/removed in a future release.
usage error: --resource ID | --resource NAME --resource-group NAME --resource-type TYPE [--resource-parent PARENT] [--resource-namespace NAMESPACE]
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.