Skip to content

Query Method Documentation Out of Date? #49113

@ay-azara

Description

@ay-azara

Library name and version

Azure.Monitory.Query Latest

Query/Question

https://learn.microsoft.com/en-us/dotnet/api/azure.monitor.query.logsqueryclient.queryresourceasync?view=azure-dotnet

Sorry if I'm missing something obvious but is this documentation out of date? QueryResourceAsync() and company return Response<IReadOnlyList<LogsQueryResult>> not Response<LogsQueryResult> so none of these examples are usable, as far as I can tell. At least, not without indexing the first result out, but are these methods supposed to return multiple results instead of just one?

Side note: If you have any examples of error handling that would also be cool

Environment

No response

Metadata

Metadata

Assignees

Labels

ClientThis issue is related to a non-management packageMonitorMonitor, 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