다음을 통해 공유


ManagementGroupResource.GetDescendantsAsync Method

Definition

List all entities that descend from a management group.

  • Request Path: /providers/Microsoft.Management/managementGroups/{groupId}/descendants
  • Operation Id: ManagementGroups_GetDescendants
  • Default Api Version: 2021-04-01
  • Resource: ManagementGroupResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ManagementGroups.Models.DescendantData> GetDescendantsAsync (string skipToken = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDescendantsAsync : string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagementGroups.Models.DescendantData>
override this.GetDescendantsAsync : string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagementGroups.Models.DescendantData>
Public Overridable Function GetDescendantsAsync (Optional skipToken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DescendantData)

Parameters

skipToken
String

Page continuation token 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 token parameter that specifies a starting point to use for subsequent calls.

top
Nullable<Int32>

Number of elements to return when retrieving results. Passing this in will override $skipToken.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to