JobOperationsExtensions.SubmitPigJobAsync 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.
Overloads
SubmitPigJobAsync(IJobOperations, PigJobSubmissionParameters, CancellationToken) | |
SubmitPigJobAsync(IJobOperations, Stream, CancellationToken) |
SubmitPigJobAsync(IJobOperations, PigJobSubmissionParameters, CancellationToken)
public static System.Threading.Tasks.Task<Microsoft.Azure.HDInsight.Job.Models.JobSubmissionJsonResponse> SubmitPigJobAsync (this Microsoft.Azure.HDInsight.Job.IJobOperations operations, Microsoft.Azure.HDInsight.Job.Models.PigJobSubmissionParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member SubmitPigJobAsync : Microsoft.Azure.HDInsight.Job.IJobOperations * Microsoft.Azure.HDInsight.Job.Models.PigJobSubmissionParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.HDInsight.Job.Models.JobSubmissionJsonResponse>
<Extension()>
Public Function SubmitPigJobAsync (operations As IJobOperations, parameters As PigJobSubmissionParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobSubmissionJsonResponse)
Parameters
- operations
- IJobOperations
- parameters
- PigJobSubmissionParameters
- cancellationToken
- CancellationToken
Returns
Applies to
SubmitPigJobAsync(IJobOperations, Stream, CancellationToken)
public static System.Threading.Tasks.Task<Microsoft.Azure.HDInsight.Job.Models.JobSubmissionJsonResponse> SubmitPigJobAsync (this Microsoft.Azure.HDInsight.Job.IJobOperations operations, System.IO.Stream content, System.Threading.CancellationToken cancellationToken = default);
static member SubmitPigJobAsync : Microsoft.Azure.HDInsight.Job.IJobOperations * System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.HDInsight.Job.Models.JobSubmissionJsonResponse>
<Extension()>
Public Function SubmitPigJobAsync (operations As IJobOperations, content As Stream, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobSubmissionJsonResponse)
Parameters
- operations
- IJobOperations
- content
- Stream
- cancellationToken
- CancellationToken