Delen via


MetricsAdvisorClient.GetMetricSeriesData Method

Definition

Gets a collection of items describing the time series of a specified DataFeedMetric and details about their ingested data points.

public virtual Azure.Pageable<Azure.AI.MetricsAdvisor.Models.MetricSeriesData> GetMetricSeriesData (string metricId, Azure.AI.MetricsAdvisor.GetMetricSeriesDataOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMetricSeriesData : string * Azure.AI.MetricsAdvisor.GetMetricSeriesDataOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.MetricSeriesData>
override this.GetMetricSeriesData : string * Azure.AI.MetricsAdvisor.GetMetricSeriesDataOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.MetricSeriesData>
Public Overridable Function GetMetricSeriesData (metricId As String, options As GetMetricSeriesDataOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MetricSeriesData)

Parameters

metricId
String

The unique identifier of the DataFeedMetric.

options
GetMetricSeriesDataOptions

The set of options used to configure the request's behavior.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Pageable<T> containing the collection of MetricSeriesData.

Exceptions

metricId or options is null.

metricId is empty or not a valid GUID.

Applies to