Partilhar via


DataFactoryResource.UpdateAsync(DataFactoryPatch, CancellationToken) Method

Definition

Updates a factory.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}
  • Operation Id: Factories_Update
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataFactory.DataFactoryResource>> UpdateAsync (Azure.ResourceManager.DataFactory.Models.DataFactoryPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DataFactory.Models.DataFactoryPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataFactory.DataFactoryResource>>
override this.UpdateAsync : Azure.ResourceManager.DataFactory.Models.DataFactoryPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataFactory.DataFactoryResource>>
Public Overridable Function UpdateAsync (patch As DataFactoryPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataFactoryResource))

Parameters

patch
DataFactoryPatch

The parameters for updating a factory.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to