Dela via


MetricsAdvisorClient.GetMetricSeriesDefinitions Method

Definition

Gets a collection of items describing the time series of a specified DataFeedMetric.

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

Parameters

metricId
String

The unique identifier of the DataFeedMetric.

options
GetMetricSeriesDefinitionsOptions

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 MetricSeriesDefinitions.

Exceptions

metricId or options is null.

metricId is empty or not a valid GUID.

Applies to