Skip to content

[Azure.Monitor.Query] Suppress QueryTimeRange in MetricsQueryResourcesOptions  #46454

Closed
@nisha-bhatia

Description

Currently, https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/monitor/Azure.Monitor.Query/src/MetricsQueryResourcesOptions.cs#L20 MetricsQueryResourcesOptions takes in a QueryTimeRange TimeRange property.
Using this parameter is confusing as it has three parts: duration, starttime, and endtime. The service only takes in starttime and endtime so we should make TimeRange as EditorBrowseableNever and add two new properties: Starttime and Endtime.

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Monitor - Query

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions