Yabo Hu
Yabo Hu
/azp run
Get-AzDiagnosticSettingCategory returns categories, but the type doesn't support Diagnostic Settings
to create diagnostic settings, you have to specify metrics and logs, please try below ``` $metric = New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category "Disk Performance" New-AzDiagnosticSetting -Name 'test' -ResourceId $mydisk.ResourceId -EventHubName $EventHubCentralName...
@mezzofix , the result of "Get-AzDiagnosticSetting -ResourceId "/subscriptions/foo/resourceGroups/1-28909b0d-playground-sandbox/providers/Microsoft.KeyVault/vaults/bar"" you executed should be an array, please try ``` $settings = Get-AzDiagnosticSetting -ResourceId "/subscriptions/foo/resourceGroups/1-28909b0d-playground-sandbox/providers/Microsoft.KeyVault/vaults/bar" $settings[0] $settings[1] ``` you can tell by the...
please record tests after API upgrade
please read comments from this old PR: https://github.com/Azure/azure-powershell/pull/25070 and you have missed the window for breaking change announcement, please targeting breaking changes next year
> > please read comments from this old PR: #25070 and you have missed the window for breaking change announcement, please targeting breaking changes next year > > hey @VeryEarly,...
Hi @jikuja , Tried Az.Resource 6.11.1, and the debug message was able to be displayed. I noticed the Module versions section, it not only had version for Az.Resources, but also...