Sdílet prostřednictvím


ManagementGroupSubscriptionCollection.GetAllAsync Method

Definition

Retrieves details about all subscriptions which are associated with the management group.

  • Request Path: /providers/Microsoft.Management/managementGroups/{groupId}/subscriptions
  • Operation Id: ManagementGroupSubscriptions_GetSubscriptionsUnderManagementGroup
  • Default Api Version: 2021-04-01
  • Resource: ManagementGroupSubscriptionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ManagementGroups.ManagementGroupSubscriptionResource> GetAllAsync (string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagementGroups.ManagementGroupSubscriptionResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagementGroups.ManagementGroupSubscriptionResource>
Public Overridable Function GetAllAsync (Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ManagementGroupSubscriptionResource)

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.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to