Udostępnij za pośrednictwem


HDInsightClusterResource.RunJobClusterJob Method

Definition

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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HDInsight.Containers.Models.ClusterJob> RunJobClusterJob (Azure.WaitUntil waitUntil, Azure.ResourceManager.HDInsight.Containers.Models.ClusterJob clusterJob, System.Threading.CancellationToken cancellationToken = default);
abstract member RunJobClusterJob : Azure.WaitUntil * Azure.ResourceManager.HDInsight.Containers.Models.ClusterJob * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HDInsight.Containers.Models.ClusterJob>
override this.RunJobClusterJob : Azure.WaitUntil * Azure.ResourceManager.HDInsight.Containers.Models.ClusterJob * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HDInsight.Containers.Models.ClusterJob>
Public Overridable Function RunJobClusterJob (waitUntil As WaitUntil, clusterJob As ClusterJob, Optional cancellationToken As CancellationToken = Nothing) As 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.

Applies to