AlertRulesOperations.Delete(String, String, CancellationToken) Method

Definition

Deletes a classic metric alert rule.

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

Parameters

resourceGroupName
System.String

The name of the resource group.

ruleName
System.String

The name of the rule.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Response

Applies to