TransformationsOperationsExtensions.CreateOrReplaceAsync 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.
Creates a transformation or replaces an already existing transformation under an existing streaming job.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StreamAnalytics.Models.Transformation> CreateOrReplaceAsync (this Microsoft.Azure.Management.StreamAnalytics.ITransformationsOperations operations, Microsoft.Azure.Management.StreamAnalytics.Models.Transformation transformation, string resourceGroupName, string jobName, string transformationName, string ifMatch = default, string ifNoneMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrReplaceAsync : Microsoft.Azure.Management.StreamAnalytics.ITransformationsOperations * Microsoft.Azure.Management.StreamAnalytics.Models.Transformation * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StreamAnalytics.Models.Transformation>
<Extension()>
Public Function CreateOrReplaceAsync (operations As ITransformationsOperations, transformation As Transformation, resourceGroupName As String, jobName As String, transformationName As String, Optional ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Transformation)
Parameters
- operations
- ITransformationsOperations
The operations group for this extension method.
- transformation
- Transformation
The definition of the transformation that will be used to create a new transformation or replace the existing one under the streaming job.
- 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.
- ifNoneMatch
- String
Set to '*' to allow a new transformation to be created, but to prevent updating an existing transformation. Other values will result in a 412 Pre-condition Failed response.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET