Share via


LogicAppCollection.CreateOrUpdate 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-07-01
  • Resource: LogicAppResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.LogicAppResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string logicAppName, Azure.ResourceManager.AppContainers.LogicAppData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AppContainers.LogicAppData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.LogicAppResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AppContainers.LogicAppData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.LogicAppResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, logicAppName As String, data As LogicAppData, Optional cancellationToken As CancellationToken = Nothing) As 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.

data
LogicAppData

Logic app resource properties.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

logicAppName or data is null.

Applies to