Interface StudentLabs


public interface StudentLabs
Resource collection API of StudentLabs.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String studentLabName)
    Get the details for a specified lab associated with the student lab.
    com.azure.core.http.rest.Response<StudentLabDetails>
    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<StudentLabDetails>
    Get a list of all labs associated with the caller of the API.
    com.azure.core.http.rest.PagedIterable<StudentLabDetails>
    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<StudentLabDetails> 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<StudentLabDetails> 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.
    • get

      StudentLabDetails get(String studentLabName)
      Get the details for a specified lab associated with the student lab.
      Parameters:
      studentLabName - Student lab name.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<StudentLabDetails> getWithResponse(String studentLabName, com.azure.core.util.Context context)
      Get the details for a specified lab associated with the student lab.
      Parameters:
      studentLabName - Student lab name.
      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.