Compartir a través de


OperationalInsightsWorkspaceResource.GetOperationalInsightsSavedSearch 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 Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchResource> GetOperationalInsightsSavedSearch (string savedSearchId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationalInsightsSavedSearch : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchResource>
override this.GetOperationalInsightsSavedSearch : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchResource>
Public Overridable Function GetOperationalInsightsSavedSearch (savedSearchId As String, Optional cancellationToken As CancellationToken = Nothing) As 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