HDInsightClusterResource.RunJobClusterJobAsync Method       
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Operations on jobs of HDInsight on AKS cluster.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob
 - Operation Id: ClusterJobs_RunJob
 - Default Api Version: 2024-05-01-preview
 
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HDInsight.Containers.Models.ClusterJob>> RunJobClusterJobAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.HDInsight.Containers.Models.ClusterJob clusterJob, System.Threading.CancellationToken cancellationToken = default);
	abstract member RunJobClusterJobAsync : Azure.WaitUntil * Azure.ResourceManager.HDInsight.Containers.Models.ClusterJob * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HDInsight.Containers.Models.ClusterJob>>
override this.RunJobClusterJobAsync : Azure.WaitUntil * Azure.ResourceManager.HDInsight.Containers.Models.ClusterJob * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HDInsight.Containers.Models.ClusterJob>>
	Public Overridable Function RunJobClusterJobAsync (waitUntil As WaitUntil, clusterJob As ClusterJob, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ClusterJob))
	Parameters
- waitUntil
 - WaitUntil
 
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- clusterJob
 - ClusterJob
 
The Cluster job.
- cancellationToken
 - CancellationToken
 
The cancellation token to use.
Returns
Exceptions
clusterJob is null.