Udostępnij za pośrednictwem


MapsAccountResource.Update(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 Azure.Response<Azure.ResourceManager.Maps.MapsAccountResource> Update (Azure.ResourceManager.Maps.Models.MapsAccountPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Maps.Models.MapsAccountPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maps.MapsAccountResource>
override this.Update : Azure.ResourceManager.Maps.Models.MapsAccountPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maps.MapsAccountResource>
Public Overridable Function Update (patch As MapsAccountPatch, Optional cancellationToken As CancellationToken = Nothing) As 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