MetricsAdvisorClient.GetMetricEnrichmentStatuses Method

Definition

Gets the enrichment status for a given metric. Enrichment status is described by the service as the process of detecting which data points of an ingested set of data can be classified as anomalies. Each status represents a single data source ingestion.

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

Parameters

metricId
String

The unique identifier of the DataFeedMetric.

options
GetMetricEnrichmentStatusesOptions

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

Exceptions

metricId or options is null.

metricId is empty or not a valid GUID.

Applies to