다음을 통해 공유


StreamingJobFunctionResource.Update Method

Definition

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

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

Parameters

data
StreamingJobFunctionData

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

ifMatch
String

The ETag of the function. Omit this value to always overwrite the current function. 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