SecurityInsightsWatchlistCollection.GetAll(String, CancellationToken) Method

Definition

Gets 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: 2024-01-01-preview
  • Resource: SecurityInsightsWatchlistResource
public virtual Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsWatchlistResource> GetAll (string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsWatchlistResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsWatchlistResource>
Public Overridable Function GetAll (Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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