SecurityInsightsWatchlistCollection.GetAllAsync Method

Definition

Get all watchlists, without watchlist items.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists.
  • Operation Id. : Watchlists_List.
  • Default Api Version. : 2025-07-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsWatchlistResource> GetAllAsync(string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsWatchlistResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsWatchlistResource>
Public Overridable Function GetAllAsync (Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityInsightsWatchlistResource)

Parameters

skipToken
String

Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to