MetricsAdvisorAdministrationClient.GetDetectionConfiguration Method

Definition

Gets an existing AnomalyDetectionConfiguration.

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

Parameters

detectionConfigurationId
String

The unique identifier of the AnomalyDetectionConfiguration.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Response<T> containing the result of the operation. The result is an AnomalyDetectionConfiguration instance containing the requested information.

Exceptions

detectionConfigurationId is null.

detectionConfigurationId is empty or not a valid GUID.

Applies to