MapsAccountResource.UpdateAsync(MapsAccountPatch, CancellationToken) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET