Interface ClusterJobs
public interface ClusterJobs
Resource collection API of ClusterJobs.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<ClusterJob> Get jobs of HDInsight on AKS cluster.com.azure.core.http.rest.PagedIterable<ClusterJob> list(String resourceGroupName, String clusterPoolName, String clusterName, String filter, com.azure.core.util.Context context) Get jobs of HDInsight on AKS cluster.runJob(String resourceGroupName, String clusterPoolName, String clusterName, ClusterJobInner clusterJob) Operations on jobs of HDInsight on AKS cluster.runJob(String resourceGroupName, String clusterPoolName, String clusterName, ClusterJobInner clusterJob, com.azure.core.util.Context context) Operations on jobs of HDInsight on AKS cluster.
-
Method Details
-
runJob
ClusterJob 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
ClusterJob 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<ClusterJob> 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<ClusterJob> 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.
-