LogicAppCollection.CreateOrUpdateAsync Method

Definition

Create or update a Logic App extension resource

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/providers/Microsoft.App/logicApps/{logicAppName}.
  • Operation Id. : LogicApps_CreateOrUpdate.
  • Default Api Version. : 2025-10-02-preview.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.LogicAppResource>> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string logicAppName, Azure.ResourceManager.AppContainers.LogicAppData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.AppContainers.LogicAppData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.LogicAppResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.AppContainers.LogicAppData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.LogicAppResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, logicAppName As String, data As LogicAppData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of LogicAppResource))

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.

logicAppName
String

Name of the Logic App, the extension resource.

data
LogicAppData

Logic app resource properties.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

logicAppName or data is null.

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

Applies to