Share via


IntegrationAccountMapCollection.CreateOrUpdateAsync Method

Definition

Creates or updates an integration account map. If the map is larger than 4 MB, you need to store the map in an Azure blob and use the blob's Shared Access Signature (SAS) URL as the 'contentLink' property value.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}
  • Operation Id: IntegrationAccountMaps_CreateOrUpdate
  • Default Api Version: 2019-05-01
  • Resource: IntegrationAccountMapResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountMapResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string mapName, Azure.ResourceManager.Logic.IntegrationAccountMapData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationAccountMapData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountMapResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationAccountMapData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountMapResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, mapName As String, data As IntegrationAccountMapData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of IntegrationAccountMapResource))

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.

mapName
String

The integration account map name.

data
IntegrationAccountMapData

The integration account map.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

mapName or data is null.

Applies to