MockableProgramEnrollmentSubscriptionResource.GetEduEnrollmentsAsync Method

Definition

Lists the edu enrollments in a subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.ProgramEnrollment/eduEnrollments.
  • Operation Id. : EduEnrollments_ListBySubscription.
  • Default Api Version. : 2026-03-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.ProgramEnrollment.EduEnrollmentResource> GetEduEnrollmentsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetEduEnrollmentsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ProgramEnrollment.EduEnrollmentResource>
override this.GetEduEnrollmentsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ProgramEnrollment.EduEnrollmentResource>
Public Overridable Function GetEduEnrollmentsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EduEnrollmentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to