共用方式為


StreamingJobsOperationsExtensions.ScaleAsync Method

Definition

Scales a streaming job when the job is running.

public static System.Threading.Tasks.Task ScaleAsync (this Microsoft.Azure.Management.StreamAnalytics.IStreamingJobsOperations operations, string resourceGroupName, string jobName, Microsoft.Azure.Management.StreamAnalytics.Models.ScaleStreamingJobParameters scaleJobParameters = default, System.Threading.CancellationToken cancellationToken = default);
static member ScaleAsync : Microsoft.Azure.Management.StreamAnalytics.IStreamingJobsOperations * string * string * Microsoft.Azure.Management.StreamAnalytics.Models.ScaleStreamingJobParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ScaleAsync (operations As IStreamingJobsOperations, resourceGroupName As String, jobName As String, Optional scaleJobParameters As ScaleStreamingJobParameters = Nothing, 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.

scaleJobParameters
ScaleStreamingJobParameters

Parameters applicable to a scale streaming job operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to