Share via


DataShareAccountResource.UpdateAsync Method

Definition

Patch an account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}
  • Operation Id: Accounts_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareAccountResource>> UpdateAsync (Azure.ResourceManager.DataShare.Models.DataShareAccountPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DataShare.Models.DataShareAccountPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareAccountResource>>
override this.UpdateAsync : Azure.ResourceManager.DataShare.Models.DataShareAccountPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareAccountResource>>
Public Overridable Function UpdateAsync (patch As DataShareAccountPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataShareAccountResource))

Parameters

patch
DataShareAccountPatch

The account update parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to