SavedSearchesOperationsExtensions.GetAsync Method

Definition

Gets the specified saved search for a given workspace.

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

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