你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MetricsAdvisorAdministrationClient.GetDetectionConfigurations Method

Definition

Gets a collection of items describing the existing AnomalyDetectionConfigurations in this Metrics Advisor resource.

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

Parameters

metricId
String

Filters the result. The unique identifier of the metric to which the returned AnomalyDetectionConfigurations apply.

options
GetDetectionConfigurationsOptions

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

Exceptions

metricId is null.

metricId is empty or not a valid GUID.

Applies to