共用方式為


OperationalInsightsSavedSearchCollection.GetAllAsync 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.AsyncPageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of OperationalInsightsSavedSearchResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to