Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Prepare Azure environments for new workloads—subscriptions, networking, identity, and landing zones
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/services/logic-apps/bicep.md
1# Logic Apps - Bicep Patterns23## Consumption (Multi-tenant)45```bicep6resource logicApp 'Microsoft.Logic/workflows@2019-05-01' = {7name: '${resourcePrefix}-logic-${uniqueHash}'8location: location9properties: {10state: 'Enabled'11definition: {12'$schema': 'https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#'13contentVersion: '1.0.0.0'14triggers: {15manual: {16type: 'Request'17kind: 'Http'18inputs: {19schema: {}20}21}22}23actions: {}24}25parameters: {}26}27}28```2930## Standard (Single-tenant)3132```bicep33resource logicAppPlan 'Microsoft.Web/serverfarms@2022-09-01' = {34name: '${resourcePrefix}-logicplan-${uniqueHash}'35location: location36sku: {37name: 'WS1'38tier: 'WorkflowStandard'39}40properties: {41reserved: true42}43}4445resource logicAppStandard 'Microsoft.Web/sites@2022-09-01' = {46name: '${resourcePrefix}-logic-${uniqueHash}'47location: location48kind: 'functionapp,workflowapp'49properties: {50serverFarmId: logicAppPlan.id51siteConfig: {52appSettings: [53{54name: 'FUNCTIONS_EXTENSION_VERSION'55value: '~4'56}57{58name: 'FUNCTIONS_WORKER_RUNTIME'59value: 'node'60}61{62name: 'AzureWebJobsStorage'63value: storageConnectionString64}65]66}67}68}69```7071## API Connection7273```bicep74resource serviceBusConnection 'Microsoft.Web/connections@2016-06-01' = {75name: 'servicebus-connection'76location: location77properties: {78displayName: 'Service Bus Connection'79api: {80id: subscriptionResourceId('Microsoft.Web/locations/managedApis', location, 'servicebus')81}82parameterValues: {83connectionString: serviceBus.listKeys().primaryConnectionString84}85}86}87```88