Share via


TransformationsOperationsExtensions.UpdateAsync Method

Definition

Updates an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StreamAnalytics.Models.Transformation> UpdateAsync (this Microsoft.Azure.Management.StreamAnalytics.ITransformationsOperations operations, Microsoft.Azure.Management.StreamAnalytics.Models.Transformation transformation, string resourceGroupName, string jobName, string transformationName, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.StreamAnalytics.ITransformationsOperations * Microsoft.Azure.Management.StreamAnalytics.Models.Transformation * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StreamAnalytics.Models.Transformation>
<Extension()>
Public Function UpdateAsync (operations As ITransformationsOperations, transformation As Transformation, resourceGroupName As String, jobName As String, transformationName As String, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Transformation)

Parameters

operations
ITransformationsOperations

The operations group for this extension method.

transformation
Transformation

A Transformation object. The properties specified here will overwrite the corresponding properties in the existing transformation (ie. Those properties will be updated). Any properties that are set to null here will mean that the corresponding property in the existing transformation will remain the same and not change as a result of this PATCH operation.

resourceGroupName
String

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

jobName
String

The name of the streaming job.

transformationName
String

The name of the transformation.

ifMatch
String

The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to