Interface ClusterLibraries


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

    • list

      com.azure.core.http.rest.PagedIterable<ClusterLibrary> list(String resourceGroupName, String clusterPoolName, String clusterName, Category category)
      Get all libraries of HDInsight on AKS cluster.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterPoolName - The name of the cluster pool.
      clusterName - The name of the HDInsight cluster.
      category - The system query option to filter libraries returned in the response. Allowed value is 'custom' or 'predefined'.
      Returns:
      all libraries of HDInsight on AKS cluster 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.
    • list

      com.azure.core.http.rest.PagedIterable<ClusterLibrary> list(String resourceGroupName, String clusterPoolName, String clusterName, Category category, com.azure.core.util.Context context)
      Get all libraries of HDInsight on AKS cluster.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterPoolName - The name of the cluster pool.
      clusterName - The name of the HDInsight cluster.
      category - The system query option to filter libraries returned in the response. Allowed value is 'custom' or 'predefined'.
      context - The context to associate with this operation.
      Returns:
      all libraries of HDInsight on AKS cluster 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.
    • manageLibraries

      void manageLibraries(String resourceGroupName, String clusterPoolName, String clusterName, ClusterLibraryManagementOperation operation)
      Library management operations on HDInsight on AKS cluster.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterPoolName - The name of the cluster pool.
      clusterName - The name of the HDInsight cluster.
      operation - The library management operation.
      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.
    • manageLibraries

      void manageLibraries(String resourceGroupName, String clusterPoolName, String clusterName, ClusterLibraryManagementOperation operation, com.azure.core.util.Context context)
      Library management operations on HDInsight on AKS cluster.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterPoolName - The name of the cluster pool.
      clusterName - The name of the HDInsight cluster.
      operation - The library management operation.
      context - The context to associate with this operation.
      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.