Share via


StreamingJobsOperationsExtensions.StopAsync Method

Definition

Stops a running streaming job. This will cause a running streaming job to stop processing input events and producing output.

public static System.Threading.Tasks.Task StopAsync (this Microsoft.Azure.Management.StreamAnalytics.IStreamingJobsOperations operations, string resourceGroupName, string jobName, System.Threading.CancellationToken cancellationToken = default);
static member StopAsync : Microsoft.Azure.Management.StreamAnalytics.IStreamingJobsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function StopAsync (operations As IStreamingJobsOperations, resourceGroupName As String, jobName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IStreamingJobsOperations

The operations group for this extension method.

resourceGroupName
String

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

jobName
String

The name of the streaming job.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to