你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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