Condividi tramite


IStreamingJobsOperations.StartWithHttpMessagesAsync Method

Definition

Starts a streaming job. Once a job is started it will start processing input events and produce output.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> StartWithHttpMessagesAsync (string resourceGroupName, string jobName, Microsoft.Azure.Management.StreamAnalytics.Models.StartStreamingJobParameters startJobParameters = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.StreamAnalytics.Models.StartStreamingJobParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function StartWithHttpMessagesAsync (resourceGroupName As String, jobName As String, Optional startJobParameters As StartStreamingJobParameters = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

Parameters

resourceGroupName
String

The name of the resource group. The name is case insensitive.

jobName
String

The name of the streaming job.

startJobParameters
StartStreamingJobParameters

Parameters applicable to a start streaming job operation.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when the operation returned an invalid status code

Thrown when a required parameter is null

Applies to