skip to Main Content

Azure – How to configure "All APIs" policy using Bicep?

I configured APIM in Bicep like this: resource apiManagement 'Microsoft.ApiManagement/service@2019-12-01' = { name: appName location: location sku: { name: 'Developer' capacity: 1 } identity: { type: 'SystemAssigned' } properties: { publisherEmail: publisherEmail publisherName: publisherName } resource policy 'policies@2021-01-01-preview' = {…

VIEW QUESTION

How can I get Azure Functions keys from Bicep

I have the following code to create an Azure Function App with Bicep lang resource webSite 'Microsoft.Web/sites@2022-03-01' = { name: 'xxxxxx' location: resourceGroup().location kind: 'functionapp' properties: { serverFarmId: 'zzzzzz' siteConfig: { appSettings: [ // some values ] } } }…

VIEW QUESTION

Azure bicep and parameter

Is there a way to add a resourceid as a parameter ? param ftports array = [ { name: 'test' value_id:resourceId('Microsoft.Network/virtualNetworks/subnets', myVNet_name, 'mySubnet') } ] can't get rid of the error "This symbol cannot be referenced here. Only other parameters…

VIEW QUESTION

Azure – Pass array of connection strings in parameters file to bicep file to be used for loop for application service

I am trying to create an application service to deploy via a CI/CD pipeline, however I am struggling create a For loop for the connection strings. Im my parameters file I have the following: { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "parameters":…

VIEW QUESTION
Back To Top
Search