Azure / Azure/azure-rest-api-specs
Unable to get diagnostic-setting details for Azure Key vault resource
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
Hi Team, we are using `NewDiagnosticSettingsClientWithBaseURI` client's `List` api of the package `github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2021-07-01-preview/insights` for getting the **diagnostic-settings** details of the key vault but the api does not return any data, though we have added the diagnostic-settings to the resource.
Can you guys please suggest me if I am using the wrong package or anything else?
I have also tried `2021-04-01-preview/insights` , `2021-07-01-preview/insights`, `2021-09-01-preview/insights` and `2019-11-01-preview/insights` packages those are also not seems to be working.
Contributor guide
Research direction
Start by reproducing the diagnostic-settings lookup with NewDiagnosticSettingsClientWithBaseURI and its List API for an Azure Key Vault. Compare the behavior across the 2021-07-01-preview, 2021-04-01-preview, 2021-09-01-preview, and 2019-11-01-preview insights packages; done means determining whether the API or package is appropriate and explaining why configured settings are not returned.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, go
- Domain
- cloud, observability
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100