skip to Main Content

Azure Bicep Nested Loops

I'm trying to create an Azure Event Hub using json config and Bicep. The Event Hub namespace deploys fine, but when I try to extend the code to namespaces/eventhubs and namespaces/eventhubs/authorizationRules then I encounter an issue as I have nested…

VIEW QUESTION

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
Back To Top
Search