共用方式為


OutputsOperationsExtensions.CreateOrReplaceAsync Method

Definition

Creates an output or replaces an already existing output under an existing streaming job.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StreamAnalytics.Models.Output> CreateOrReplaceAsync (this Microsoft.Azure.Management.StreamAnalytics.IOutputsOperations operations, Microsoft.Azure.Management.StreamAnalytics.Models.Output output, string resourceGroupName, string jobName, string outputName, string ifMatch = default, string ifNoneMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrReplaceAsync : Microsoft.Azure.Management.StreamAnalytics.IOutputsOperations * Microsoft.Azure.Management.StreamAnalytics.Models.Output * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StreamAnalytics.Models.Output>
<Extension()>
Public Function CreateOrReplaceAsync (operations As IOutputsOperations, output As Output, resourceGroupName As String, jobName As String, outputName As String, Optional ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Output)

Parameters

operations
IOutputsOperations

The operations group for this extension method.

output
Output

The definition of the output that will be used to create a new output 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.

outputName
String

The name of the output.

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.

Returns

Applies to