MetricsAdvisorAdministrationClient.DeleteDetectionConfiguration Method

Definition

Deletes an existing AnomalyDetectionConfiguration.

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

Parameters

detectionConfigurationId
String

The unique identifier of the AnomalyDetectionConfiguration to be deleted.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Response containing the result of the operation.

Exceptions

detectionConfigurationId is null.

detectionConfigurationId is empty or not a valid GUID.

Applies to