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
0
votes
2 answers

Updating Set of Values in ARM Templates Automatically

I have an ARM template, which I will be using it to deploy resources (Mentioned as in Azure Portal) via Azure DevOps Pipeline. These ARM templates were created using my Dev Subscription. If I need to use this same ARM template to move to production,…
IT_Guy
  • 79
  • 2
  • 11
0
votes
1 answer

Concat ARM Template DiskName

I'm trying to concatenate a disk name, but I'm having trouble. I can concat with the following, which has parameter first, with no issues "Newvm02OSDiskName": "[concat(Parameters('Newvm02VMName'), '-osdisk')]" But when I try to add "dsk-" at the…
Norrin Rad
  • 881
  • 2
  • 18
  • 42
0
votes
1 answer

Validate that subnet is within vnet in ARM template

I am working on an ARM template for deploying resources in Azure, and I would like to add some validation in the parameters the user can specify. In my deployment, the user can specify that he wants to deploy the resources in a certain virtual…
Paolo
  • 21,270
  • 6
  • 38
  • 69
0
votes
1 answer

Creating an Arm template to host a php app on azure app service

I am trying to create an app service that is using PHP as it's runtime using ARM templates however the default config always leads to the creation of .Net Example from my template: { "apiVersion": "2018-11-01", "name":…
0
votes
1 answer

Unable to create IoT-HUB using Arm template with skuName value "F1" in azure

I'm trying to deploy an IoTHub using ARM Template on powershell, but I'm getting the error message": "Max number of Iot Hubs exceeded for sku = Free, Max Allowed = 1, Current = 2 ". JSON for Parameters for the IoTHub in the ARM Template has been…
Mkkrish
  • 1
  • 1
0
votes
1 answer

Use Secret inside ARM Object

Is there a way of using a secret inside an object? So I have an object like this that is a parameter to a template { "Name": "$(ids)", "appSettings": { "CertificateOptions__CertificatePath": "$(certificatePath)", …
0
votes
1 answer

Deploying template using PowerShell script failed

{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "storageAccountType": { "type": "string", "defaultValue": "eNtsaBuilding M103", …
Gcobza
  • 432
  • 1
  • 5
  • 12
0
votes
1 answer

How to specify different resources in a child/parent relationship in an Azure ARM template?

Trying to put together an Azure ARM template right now. However, it seems I can create links between resources in very different ways. Here for example: https://learn.microsoft.com/en-us/azure/templates/microsoft.network/2019-04-01/virtualnetworks I…
Moritz Schmitz v. Hülst
  • 3,229
  • 4
  • 36
  • 63
0
votes
1 answer

Generating EventGrid and define AzureFunction as a Endpoint

via portal, I can define an Event Subscription in the Storage Account, at the End I have such a view in the portal: Now I would like to do the same with ARM-Template, I have the following Code: { "type":…
Kaja
  • 2,962
  • 18
  • 63
  • 99
0
votes
1 answer

Initial value for cosmos throughput via ARM template

I'm looking for a way to set the initial value of throughput (request units) for a cosmosdb database or container via an ARM Template, and to use the same ARM template for subsequent deployments. Here's a sample: { "type":…
Josh
  • 2,958
  • 3
  • 16
  • 27
0
votes
1 answer

Receiving the below error while deploying the ARM template

I have been receiving the bellow error while deploying my ARM template. Unable to process template language expressions for resource …
0
votes
2 answers

How to assign RBAC to multiple user using arm template in azure

I have two AAD Application(Service principal) and want to add RBAC to these two Application using arm template. I tried deploying with arm template below. { "type":…
Sako
  • 105
  • 1
  • 8
0
votes
1 answer

Azure ARM template - check for existing Key Vault access policies

I'm looking for away to determine if there are any access policies set for a given key vault and use that as a conditional in the template. If there are none I want to create the access policies otherwise creation should be skipped. How can i…
Pelle
  • 2,755
  • 7
  • 42
  • 49
0
votes
1 answer

Conditionally deploy a route table with subnet using ARM template

I am trying to conditionally deploy a route template when deploying a subnet resource using an ARM template, however, I am not able to do so using the if condition. Would anyone know the correct syntax or what am I doing wrong? { "$schema":…
Akash Masand
  • 1,441
  • 14
  • 30
0
votes
1 answer

microsoft.insights/actionGroups ARM Template WebhookReceiver not working

I'm using this template to deploy my AzureActionGroup : { "apiVersion": "2019-06-01", "type": "microsoft.insights/actionGroups", "location": "Global", "name": "[variables('ActionGroupName')]", "properties": { …
Francis
  • 486
  • 3
  • 21
1 2 3
99
100