共用方式為


ManagementGroupsOperationsExtensions.GetDescendantsAsync Method

Definition

List all entities that descend from a management group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ManagementGroups.Models.DescendantInfo>> GetDescendantsAsync (this Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations operations, string groupId, string skiptoken = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member GetDescendantsAsync : Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ManagementGroups.Models.DescendantInfo>>
<Extension()>
Public Function GetDescendantsAsync (operations As IManagementGroupsOperations, groupId As String, Optional skiptoken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DescendantInfo))

Parameters

operations
IManagementGroupsOperations

The operations group for this extension method.

groupId
String

Management Group ID.

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.

Returns

Applies to