共用方式為


OperationalInsightsSavedSearchCollection.GetAll(CancellationToken) Method

Definition

Gets the saved searches for a given Log Analytics Workspace

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches
  • Operation Id: SavedSearches_ListByWorkspace
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsSavedSearchResource
public virtual Azure.Pageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of OperationalInsightsSavedSearchResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of OperationalInsightsSavedSearchResource that may take multiple service requests to iterate over.

Applies to