Share via


ActivityLogAlertsOperationsExtensions.DeleteAsync Method

Definition

Delete an Activity Log Alert rule.

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

Parameters

operations
IActivityLogAlertsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

activityLogAlertName
String

The name of the Activity Log Alert rule.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to