StreamingJobOutputCollection.CreateOrUpdate 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 an output or replaces an already existing output under an existing streaming job.
- Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/outputs/{outputName}
- Operation Id: Outputs_CreateOrReplace
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.StreamingJobOutputResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string outputName, Azure.ResourceManager.StreamAnalytics.StreamingJobOutputData data, string ifMatch = default, string ifNoneMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.StreamAnalytics.StreamingJobOutputData * string * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.StreamingJobOutputResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.StreamAnalytics.StreamingJobOutputData * string * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.StreamingJobOutputResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, outputName As String, data As StreamingJobOutputData, Optional ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of StreamingJobOutputResource)
Parameters
- 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.
- outputName
- String
The name of the output.
The definition of the output that will be used to create a new output or replace the existing one under the streaming job.
- ifMatch
- String
The ETag of the output. Omit this value to always overwrite the current output. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- ifNoneMatch
- String
Set to '*' to allow a new output to be created, but to prevent updating an existing output. Other values will result in a 412 Pre-condition Failed response.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
outputName
is an empty string, and was expected to be non-empty.
outputName
or data
is null.
Applies to
Azure SDK for .NET