Compartilhar via


OperationalInsightsWorkspaceResource.GetOperationalInsightsSavedSearchAsync Método

Definição

Obtém a pesquisa salva especificada para um determinado workspace.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches/{savedSearchId}
  • IdSavedSearches_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchResource>> GetOperationalInsightsSavedSearchAsync (string savedSearchId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationalInsightsSavedSearchAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchResource>>
override this.GetOperationalInsightsSavedSearchAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchResource>>
Public Overridable Function GetOperationalInsightsSavedSearchAsync (savedSearchId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of OperationalInsightsSavedSearchResource))

Parâmetros

savedSearchId
String

A ID da pesquisa salva.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

savedSearchId é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

savedSearchId é nulo.

Aplica-se a