Freigeben über


MetricsAdvisorAdministrationClient.GetDetectionConfigurationsAsync Methode

Definition

Ruft eine Auflistung von Elementen ab, die die vorhandenen AnomalyDetectionConfigurations in dieser Metrics Advisor-Ressource beschreiben.

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

Parameter

metricId
String

Filtert das Ergebnis. Der eindeutige Bezeichner der Metrik, auf die die zurückgegebenen s angewendet werden AnomalyDetectionConfiguration.

options
GetDetectionConfigurationsOptions

Ein optionaler Satz von Optionen, die zum Konfigurieren des Verhaltens der Anforderung verwendet werden.

cancellationToken
CancellationToken

Ein CancellationToken , der die Anforderungsdauer steuert.

Gibt zurück

Ein AsyncPageable<T> , das die Auflistung von AnomalyDetectionConfigurations enthält.

Ausnahmen

metricId ist NULL.

metricId ist leer oder keine gültige GUID.

Gilt für: