How to create Standard Logic App using Rest api?

1.1k views Asked by At

Using the official documentation Azure Logic Apps, i'm able to create and work with Consumption Logic Apps. Is it possible to create Standard Logic App using Rest API in similar way?

2

There are 2 answers

1
Skin On BEST ANSWER

The simple answer, as it currently stands and looks to be, is no.

As per the documentation ... https://learn.microsoft.com/en-us/azure/logic-apps/single-tenant-overview-compare#create-build-and-deploy-options

There are currently limited options for a standard logic app.

Standard

Standard

Consumption

Consumption

Update

Standard logic apps now have additional ways to deploy, still not the full suite but it's grown.

Update

0
Marcus Nätteldal On

This is tecnically possible but you need to rethink the definition.

Logic App Standard (aka. Single-Tenant Logic App) is built on top of the function runtime and the infrastructure is seperated from the actual workflow definition. Deployment to the resource basically works the same way as for Function Apps.

  1. Deploy the infrastructure
  2. Deploy the workflow (function for function apps).

More on that here: DevOps deployment for single-tenant Azure Logic Apps

For your case you would:

  1. Deploy the infrastructure via the REST API
    • Storage account
    • Server Farm (App Service Plan)
    • Site (App Service)
  2. Build the Logic App Standard project and create a zip archive.
  3. Deploy the archive using zip deployment via REST API.
    • This sounds easy but requires more work, see links below.

Links: