Share via


ManagementGroupResource.GetDescendants 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.Pageable<Azure.ResourceManager.ManagementGroups.Models.DescendantData> GetDescendants (string skipToken = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDescendants : string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagementGroups.Models.DescendantData>
override this.GetDescendants : string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagementGroups.Models.DescendantData>
Public Overridable Function GetDescendants (Optional skipToken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Applies to