ScheduledQueryRulesOperations.DeleteAsync(String, String, CancellationToken) Method

Definition

Deletes a Log Search rule.

public virtual System.Threading.Tasks.Task<Azure.Response> DeleteAsync (string resourceGroupName, string ruleName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteAsync (resourceGroupName As String, ruleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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

System.Threading.Tasks.Task<Response>

Applies to