StreamingJobTransformationCollection.CreateOrUpdateAsync Method
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.
- Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/transformations/{transformationName}
- Operation Id: Transformations_CreateOrReplace
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.StreamingJobTransformationResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string transformationName, Azure.ResourceManager.StreamAnalytics.StreamingJobTransformationData data, string ifMatch = default, string ifNoneMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.StreamAnalytics.StreamingJobTransformationData * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.StreamingJobTransformationResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.StreamAnalytics.StreamingJobTransformationData * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.StreamingJobTransformationResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, transformationName As String, data As StreamingJobTransformationData, Optional ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of StreamingJobTransformationResource))
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- transformationName
- String
The name of the transformation.
The definition of the transformation that will be used to create a new transformation or replace the existing one under the streaming job.
- 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 to use.
transformationName
is an empty string, and was expected to be non-empty.
transformationName
or data
is null.
Azure SDK for .NET geri bildirimi
Azure SDK for .NET, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: