Questions tagged [azure-rm-template]

Azure Resource Manager(ARM) Templates are used to deploy all the resources required for an application to Azure. In the template, you define the resources that are needed for the application and specify deployment parameters to input values for different environments. They consist of JSON and expressions which you can use to construct values for your deployment.

1862 questions
47
votes
3 answers

Server farm (service plan) SKUs

Is there documentation in the wild that lists the sku names and tiers supported by Azure app service plans (server farms). eg: name: "S1", tier: "Standard" = an S1 Standard. and name: "Y1", tier: "Dynamic" = A function consumption plan. A list of…
44
votes
4 answers

The resource is not defined in the template

Deploying below template: https://gist.github.com/rnkhouse/aea0a8fd395da37b19466348b919d620 { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { …
RNK
  • 5,582
  • 11
  • 65
  • 133
18
votes
4 answers

How to check the resource exists in the arm template

How do i identify the azure resource is exists or not in the ARM templates by the resource type and identifier
sacratees
  • 225
  • 1
  • 2
  • 6
18
votes
5 answers

Azure ARM Template : Create Resource Group

We are new to ARM (Azure Resource Manager) templates. While working on a template, I observed that we have to supply a resource group when deploying our template. Is it is possible to create a resource group through a template like other resources?
BlindSniper
  • 1,731
  • 3
  • 16
  • 30
17
votes
2 answers

When should we use a parameter when to use variable in ARM templates

I am confused about where to use a variable and where to use a parameter in ARM templates. How do we make this call ? The referenced script uses both. I am more curious of the justification of using variables. Reference Sample Service Fabric Azure…
15
votes
3 answers

Azure ARM Templates (DependsOn)

Looking to get some guidance and explanation around dependsOn. I have seen in templates there are two methods of providing dependencies in a template. One method is to provide resourceId and the other method is to provide a string value using…
WS2012R2
  • 159
  • 1
  • 1
  • 3
14
votes
4 answers

Get CosmosDb Primary Connection String in ARM template

I have an ARM template which sources the primaryMasterKey of a cosmosDb as follows: { "properties": { "enabled": true, "siteConfig": { "appSettings": [ { "name":…
ubienewbie
  • 1,771
  • 17
  • 31
14
votes
4 answers

ARM Template for to configure App Services with new VNet Integration feature?

I am working on ARM Templates, I have created the template file with two or more azure app services along with app service plan and then configured with VNET Integration of each app service. This is sample JSON code: { "comments":…
14
votes
2 answers

Concatenate objects in ARM Template

I am trying to set up some tags within an ARM template in accordance with this article: https://learn.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-templates-resources#apply-an-object-to-the-tag-element I wanted to be able to set…
Greg the Incredulous
  • 1,676
  • 4
  • 29
  • 42
14
votes
4 answers

Can I loop over properties in ARM templates?

I have an ARM template where I set up a load balancer and I want to add a number of port openings by adding rules and probes to the LB. This is the template I have so far: { "type": "Microsoft.Network/loadBalancers", "name":…
Lee G.
  • 173
  • 1
  • 1
  • 7
14
votes
1 answer

Output Azure SQL Database ConnectionString after template deployment

I have an ARM template that (among others) creates a database on an Azure SQL server (which is also created by the template). I need to output the database ADO.NET connectionstring. Becuase I wasn't sure what the key is called, I am outputting the…
Mickey Cohen
  • 997
  • 7
  • 23
13
votes
1 answer

Don't delete AppSettings not declared in a template

When deploying an Azure Function App and AppSettings via an ARM Template, is it possible to tell Azure not to delete AppSettings that are not declared in the template? For example, take the following AppSettings config from the template and imagine…
David Gard
  • 11,225
  • 36
  • 115
  • 227
13
votes
4 answers

Azure ARM Templates to deploy WebJobs

Everyone, Could anyone please help me on deploying WebJobs using ARM Templates ? Thanks, Rajaram.
12
votes
1 answer

How do I use Bicep (or ARM) to create an AD app registration and roles?

I'm using Terraform to create app registration and roles for our apps. But I cannot figure out how to do the same with Bicep. This is what's used today: Step 1. Register the app in Active Directory, effectively creating an "app…
12
votes
5 answers

ARM Templates for Azure Functions with many appSettings for different environments and slots

I've got two Azure Function apps that use deployment slots, stage and production. These two Azure Function apps have about 50~ key:value pairs in Application Settings to define various API keys, application behavior, connection strings, etc. I want…
1
2 3
99 100