Share via


MapsAccountResource.UpdateAsync(MapsAccountPatch, CancellationToken) Method

Definition

Updates a Maps Account. Only a subset of the parameters may be updated after creation, such as Sku, Tags, Properties.

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

Parameters

patch
MapsAccountPatch

The updated parameters for the Maps Account.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to