Share via


WorkspaceManagerGroupCollection.GetAllAsync Method

Definition

Gets all workspace manager groups in the Sentinel workspace manager

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerGroups
  • Operation Id: WorkspaceManagerGroups_List
  • Default Api Version: 2024-01-01-preview
  • Resource: WorkspaceManagerGroupResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.WorkspaceManagerGroupResource> GetAllAsync (string orderBy = default, int? top = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.WorkspaceManagerGroupResource>
override this.GetAllAsync : string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.WorkspaceManagerGroupResource>
Public Overridable Function GetAllAsync (Optional orderBy As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WorkspaceManagerGroupResource)

Parameters

orderBy
String

Sorts the results. Optional.

top
Nullable<Int32>

Returns only the first n results. Optional.

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

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

Applies to