Interface StudentLabsClient
public interface StudentLabsClient
An instance of this class provides access to all the operations defined in StudentLabsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet the details for a specified lab associated with the student lab.com.azure.core.http.rest.Response<StudentLabDetailsInner> getWithResponse(String studentLabName, com.azure.core.util.Context context) Get the details for a specified lab associated with the student lab.com.azure.core.http.rest.PagedIterable<StudentLabDetailsInner> listAll()Get a list of all labs associated with the caller of the API.com.azure.core.http.rest.PagedIterable<StudentLabDetailsInner> listAll(com.azure.core.util.Context context) Get a list of all labs associated with the caller of the API.
-
Method Details
-
listAll
com.azure.core.http.rest.PagedIterable<StudentLabDetailsInner> listAll()Get a list of all labs associated with the caller of the API.- Returns:
- a list of all labs associated with the caller of the API as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAll
com.azure.core.http.rest.PagedIterable<StudentLabDetailsInner> listAll(com.azure.core.util.Context context) Get a list of all labs associated with the caller of the API.- Parameters:
context- The context to associate with this operation.- Returns:
- a list of all labs associated with the caller of the API as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<StudentLabDetailsInner> getWithResponse(String studentLabName, com.azure.core.util.Context context) Get the details for a specified lab associated with the student lab.- Parameters:
studentLabName- The ID that uniquely identifies a student lab.context- The context to associate with this operation.- Returns:
- the details for a specified lab associated with the student lab along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get the details for a specified lab associated with the student lab.- Parameters:
studentLabName- The ID that uniquely identifies a student lab.- Returns:
- the details for a specified lab associated with the student lab.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-