Compartilhar via


SavedSearchesOperationsExtensions.GetAsync Método

Definição

Obtém a pesquisa salva especificada para um determinado 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)

Parâmetros

operations
ISavedSearchesOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos. O nome diferencia maiúsculas de minúsculas.

workspaceName
String

O nome do workspace.

savedSearchId
String

A ID da pesquisa salva.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a