Interface ClusterJobsClient


public interface ClusterJobsClient
An instance of this class provides access to all the operations defined in ClusterJobsClient.
  • Method Details

    • beginRunJob

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterJobInner>, ClusterJobInner> beginRunJob(String resourceGroupName, String clusterPoolName, String clusterName, ClusterJobInner clusterJob)
      Operations on jobs 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.
      clusterJob - The Cluster job.
      Returns:
      the SyncPoller for polling of cluster job.
      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.
    • beginRunJob

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterJobInner>, ClusterJobInner> beginRunJob(String resourceGroupName, String clusterPoolName, String clusterName, ClusterJobInner clusterJob, com.azure.core.util.Context context)
      Operations on jobs 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.
      clusterJob - The Cluster job.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of cluster job.
      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.
    • runJob

      ClusterJobInner runJob(String resourceGroupName, String clusterPoolName, String clusterName, ClusterJobInner clusterJob)
      Operations on jobs 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.
      clusterJob - The Cluster job.
      Returns:
      cluster job.
      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.
    • runJob

      ClusterJobInner runJob(String resourceGroupName, String clusterPoolName, String clusterName, ClusterJobInner clusterJob, com.azure.core.util.Context context)
      Operations on jobs 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.
      clusterJob - The Cluster job.
      context - The context to associate with this operation.
      Returns:
      cluster job.
      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<ClusterJobInner> list(String resourceGroupName, String clusterPoolName, String clusterName)
      Get jobs 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.
      Returns:
      jobs 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<ClusterJobInner> list(String resourceGroupName, String clusterPoolName, String clusterName, String filter, com.azure.core.util.Context context)
      Get jobs 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.
      filter - The system query option to filter job returned in the response. Allowed value is 'jobName eq {jobName}' or 'jarName eq {jarName}'.
      context - The context to associate with this operation.
      Returns:
      jobs 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.