DataShareAccountResource.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.