ManagementGroupCollection.GetEntities 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.Pageable<Azure.ResourceManager.ManagementGroups.Models.EntityData> GetEntities (Azure.ResourceManager.ManagementGroups.Models.ManagementGroupCollectionGetEntitiesOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEntities : Azure.ResourceManager.ManagementGroups.Models.ManagementGroupCollectionGetEntitiesOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagementGroups.Models.EntityData>
override this.GetEntities : Azure.ResourceManager.ManagementGroups.Models.ManagementGroupCollectionGetEntitiesOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagementGroups.Models.EntityData>
Public Overridable Function GetEntities (options As ManagementGroupCollectionGetEntitiesOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Applies to