Interface Libraries


public interface Libraries
Resource collection API of Libraries.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<LibraryResource> getWithResponse(String resourceGroupName, String libraryName, String workspaceName, com.azure.core.util.Context context)
      Get library by name.

      Get library by name in a workspace.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      libraryName - Library name.
      workspaceName - The name of the workspace.
      context - The context to associate with this operation.
      Returns:
      library by name in a workspace 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

      LibraryResource get(String resourceGroupName, String libraryName, String workspaceName)
      Get library by name.

      Get library by name in a workspace.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      libraryName - Library name.
      workspaceName - The name of the workspace.
      Returns:
      library by name in a workspace.
      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.