MetricsAdvisorClient.GetMetricDimensionValuesAsync Method

Definition

Gets the possible values a DataFeedDimension can assume for a specified DataFeedMetric.

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

Parameters

metricId
String

The unique identifier of the DataFeedMetric.

dimensionName
String

The name of the DataFeedDimension.

options
GetMetricDimensionValuesOptions

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

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

An AsyncPageable<T> containing the collection of values the specified DataFeedDimension can assume.

Exceptions

metricId or dimensionName is null.

metricId or dimensionName is empty; or metricId is not a valid GUID.

Applies to