ManagementGroupCollection.GetEntitiesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.