[QUERY] Support for Metadata Endpoint in Azure.Monitor.Query SDK? #47624
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Monitor
Monitor, Monitor Ingestion, Monitor Query
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.Monitor.Query 1.6.0
Query/Question
The MetadataResults model exists in the Azure.Monitor.Query package:
sdk/monitor/Azure.Monitor.Query/src/Generated/Models/MetadataResults.cs
This appears to correspond to the response from the REST endpoint:
GET https://api.loganalytics.io/v1/workspaces/{workspaceId}/metadata
However, I can’t find a way to call this endpoint using the .NET SDK. Does the SDK currently support accessing this data, or is using the REST API the only option?
I would strongly prefer not to mix REST and SDK calls in my application, as it complicates implementation and undermines the benefits of using the SDK. Additionally, it seems logical that this endpoint should be supported, given the presence of the MetadataResults model.
If it’s not currently supported, could it be added in a future release? This would provide a more cohesive and streamlined experience for SDK users.
Thank you for considering this suggestion!
Environment
No response
The text was updated successfully, but these errors were encountered: