Dela via


StreamingJobResource.Update Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}
  • Operation Id: StreamingJobs_Update
public virtual Azure.Response<Azure.ResourceManager.StreamAnalytics.StreamingJobResource> Update (Azure.ResourceManager.StreamAnalytics.StreamingJobData data, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.StreamAnalytics.StreamingJobData * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StreamAnalytics.StreamingJobResource>
override this.Update : Azure.ResourceManager.StreamAnalytics.StreamingJobData * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StreamAnalytics.StreamingJobResource>
Public Overridable Function Update (data As StreamingJobData, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StreamingJobResource)

Parameters

data
StreamingJobData

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

ifMatch
String

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to