Dela via


ManagementGroupCollection.GetEntitiesAsync Method

Definition

List all entities (Management Groups, Subscriptions, etc.) for the authenticated user.

  • Request Path: /providers/Microsoft.Management/getEntities
  • Operation Id: Entities_List
  • Default Api Version: 2021-04-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.ManagementGroups.Models.EntityData> GetEntitiesAsync (Azure.ResourceManager.ManagementGroups.Models.ManagementGroupCollectionGetEntitiesOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEntitiesAsync : Azure.ResourceManager.ManagementGroups.Models.ManagementGroupCollectionGetEntitiesOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagementGroups.Models.EntityData>
override this.GetEntitiesAsync : Azure.ResourceManager.ManagementGroups.Models.ManagementGroupCollectionGetEntitiesOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagementGroups.Models.EntityData>
Public Overridable Function GetEntitiesAsync (options As ManagementGroupCollectionGetEntitiesOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EntityData)

Parameters

options
ManagementGroupCollectionGetEntitiesOptions

A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to