Share via


SavedSearchesOperationsExtensions.DeleteAsync Method

Definition

Deletes the specified saved search in a given workspace.

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

Parameters

operations
ISavedSearchesOperations

The operations group for this extension method.

resourceGroupName
String

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

workspaceName
String

The name of the workspace.

savedSearchId
String

The id of the saved search.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to