Compartir a través de


OperationalInsightsWorkspaceResource.GetOperationalInsightsSavedSearchAsync Método

Definición

Obtiene la búsqueda guardada especificada para un área de trabajo determinada.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches/{savedSearchId}
  • IdSavedSearches_Get de operaciones
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

Identificador de la búsqueda guardada.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

savedSearchId es una cadena vacía y se esperaba que no estuviera vacía.

savedSearchId es null.

Se aplica a