[Azure.Monitor.Query] Suppress QueryTimeRange in MetricsQueryResourcesOptions #46454
Closed
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.