-
How do I get subscription diagnostic setting categories? Get-AzDiagnosticSettingCategory -ResourceId "subscriptions/$subscriptionId" not working. |
Beta Was this translation helpful? Give feedback.
Answered by
VeryEarly
Oct 27, 2022
Replies: 2 comments 2 replies
-
please install and import Az.Monitor 4.2.0 and use |
Beta Was this translation helpful? Give feedback.
2 replies
-
https://learn.microsoft.com/en-us/powershell/module/az.monitor/get-azeventcategory?view=azps-9.0.1 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dingmeng-xue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://learn.microsoft.com/en-us/powershell/module/az.monitor/get-azeventcategory?view=azps-9.0.1
no resource id needed, categories are same for subscriptions.