Aracılığıyla paylaş


StreamingJobInputResource.Update Method

Definition

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

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

Parameters

input
StreamingJobInputData

An Input object. The properties specified here will overwrite the corresponding properties in the existing input (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 input. Omit this value to always overwrite the current input. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

input is null.

Applies to