ProgramEnrollmentExtensions.GetEduEnrollment 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.
Gets the specified edu enrollment. <item> Mocking. To mock this method, please mock GetEduEnrollment(String, CancellationToken) instead. </item>
public static Azure.Response<Azure.ResourceManager.ProgramEnrollment.EduEnrollmentResource> GetEduEnrollment(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string enrollmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetEduEnrollment : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ProgramEnrollment.EduEnrollmentResource>
<Extension()>
Public Function GetEduEnrollment (resourceGroupResource As ResourceGroupResource, enrollmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EduEnrollmentResource)
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource the method will execute against.
- enrollmentName
- String
The name of the edu enrollment.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
resourceGroupResource is null.