Freigeben über


MetricsAdvisorAdministrationClient.GetAlertConfigurationsAsync Methode

Definition

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

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

Parameter

detectionConfigurationId
String

Filtert das Ergebnis. Der eindeutige Bezeichner des AnomalyDetectionConfiguration , auf den die zurückgegebenen s angewendet werden AnomalyAlertConfiguration.

options
GetAlertConfigurationsOptions

Ein optionaler Satz von Optionen, die zum Konfigurieren des Anforderungsverhaltens verwendet werden.

cancellationToken
CancellationToken

Ein CancellationToken , der die Lebensdauer der Anforderung steuert.

Gibt zurück

Eine AsyncPageable<T> , die die Auflistung von AnomalyAlertConfigurations enthält.

Ausnahmen

detectionConfigurationId ist NULL.

detectionConfigurationId ist leer oder keine gültige GUID.

Gilt für: