Condividi tramite


AlertProcessingRulesOperationsExtensions.DeleteAsync Method

Definition

Delete an alert processing rule.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRulesDeleteHeaders> DeleteAsync (this Microsoft.Azure.Management.AlertsManagement.IAlertProcessingRulesOperations operations, string resourceGroupName, string alertProcessingRuleName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.AlertsManagement.IAlertProcessingRulesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRulesDeleteHeaders>
<Extension()>
Public Function DeleteAsync (operations As IAlertProcessingRulesOperations, resourceGroupName As String, alertProcessingRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AlertProcessingRulesDeleteHeaders)

Parameters

operations
IAlertProcessingRulesOperations

The operations group for this extension method.

resourceGroupName
String

Resource group name where the resource is created.

alertProcessingRuleName
String

The name of the alert processing rule that needs to be deleted.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to