az monitor diagnostic-settings categories list incorrectly always returns an empty list #10719
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Monitor - Diagnostic Settings
Milestone
(On azure-cli 2.0.74 using the Cloud Shell; I did not try any other versions)
az monitor diagnostic-settings categories list
always returns an empty list of categories, even though the resource does have categories. This happens with every resource type I tried. Example:I would expect the first command to return the same list of categories as the second command.
I believe this is caused by
az monitor diagnostic-settings categories list
using an incorrect API call, based on the following command output when adding--debug
:As you can see, it requests
diagnosticSettings
instead of what I believe to be correct:diagnosticSettingsCategories
.The text was updated successfully, but these errors were encountered: