MetricsAdvisorClient.GetMetricDimensionValues Method

Definition

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

public virtual Azure.Pageable<string> GetMetricDimensionValues (string metricId, string dimensionName, Azure.AI.MetricsAdvisor.GetMetricDimensionValuesOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMetricDimensionValues : string * string * Azure.AI.MetricsAdvisor.GetMetricDimensionValuesOptions * System.Threading.CancellationToken -> Azure.Pageable<string>
override this.GetMetricDimensionValues : string * string * Azure.AI.MetricsAdvisor.GetMetricDimensionValuesOptions * System.Threading.CancellationToken -> Azure.Pageable<string>
Public Overridable Function GetMetricDimensionValues (metricId As String, dimensionName As String, Optional options As GetMetricDimensionValuesOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

A Pageable<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