Skip to content

[QUERY] Support for Metadata Endpoint in Azure.Monitor.Query SDK? #47624

@mfamphlett

Description

@mfamphlett

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

Metadata

Metadata

Assignees

Labels

MonitorMonitor, Monitor Ingestion, Monitor Querycustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions