Freigeben über


MapsAccountResource.UpdateAsync(MapsAccountPatch, CancellationToken) Methode

Definition

Updates ein Kartenkonto. Nur eine Teilmenge der Parameter kann nach der Erstellung aktualisiert werden, z. B. Sku, Tags, Eigenschaften.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}
  • Vorgang IdAccounts_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))

Parameter

patch
MapsAccountPatch

Die aktualisierten Parameter für das Kartenkonto.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: