MockableProgramEnrollmentSubscriptionResource.GetEduEnrollmentsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.