共用方式為


MapsCreatorCollection.CreateOrUpdate Method

Definition

Create or update a Maps Creator resource. Creator resource will manage Azure resources required to populate a custom set of mapping data. It requires an account to exist before it can be created.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/creators/{creatorName}
  • Operation Id: Creators_CreateOrUpdate
  • Default Api Version: 2023-06-01
  • Resource: MapsCreatorResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Maps.MapsCreatorResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string creatorName, Azure.ResourceManager.Maps.MapsCreatorData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Maps.MapsCreatorData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Maps.MapsCreatorResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Maps.MapsCreatorData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Maps.MapsCreatorResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, creatorName As String, data As MapsCreatorData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of MapsCreatorResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

creatorName
String

The name of the Maps Creator instance.

data
MapsCreatorData

The new or updated parameters for the Creator resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

creatorName is an empty string, and was expected to be non-empty.

creatorName or data is null.

Applies to