arm-template

Deploying website from private Github repository using ARM Templates

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-18 13:14:28
问题 I am trying to create a website through Azure Resource Manager and then deploy from a private Github repository. I have an ARM Template that works for a public repository. if I then make the repository private, connect to it through the Portal it all works fine. If I redeploy the ARM Template it will fail with the message "Cannot find SourceControlToken with name GitHub." It seems that when the portal connects to a private repo it will create an ssh key that is used to authenticate. The ssh

ARM template for enabling Update Management on Azure Virtual Machine

南楼画角 提交于 2019-12-14 04:21:34
问题 Could someone help me to enable update management on Azure VM with Azure Resource Manager Template. I could find any template online to enable it. Reference: https://docs.microsoft.com/en-us/azure/automation/automation-update-management 回答1: you cannot enable vm for update management, you can link oms and azure automation with update management enabled. more or less. here's a more or less working variant: { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate

How do I dynamically generate Traffic Manager endpoints in an ARM template?

…衆ロ難τιáo~ 提交于 2019-12-14 03:50:55
问题 I have an ARM template that creates an arbitrary number of Azure webapps using the copy construct, like so (non-relevant portions removed): { "parameters": { "numWebsites": { "type": "int", "defaultValue": 2 } }, "resources": [ "name": "[concat('webapp-', copyIndex()]", "type": "Microsoft.Web/sites", "copy": { "name": "websitescopy", "count": "[parameters('numWebsites')]" } ] } I'd also like to create a Traffic Manager profile with an endpoint for each of the websites created. However, there

arm template web app publish profile

六月ゝ 毕业季﹏ 提交于 2019-12-13 15:50:22
问题 I am deploying a web app using an ARM template and need to get the publish profile as an output Is there a way to do this? I saw this: azure template output publish profile content But couldn't get it to work I tried both with reference and listKeys but none of the properties was the publish profile Thanks 回答1: If you want to get the publish Credentials, you could use the ARM template list function to do that. "outputs": { "publishProfile": { "type": "object", "value": "[list(concat(

Deploy two Azure App Services to the same App Service Plan using idempotent ARM TEMPLATE

纵饮孤独 提交于 2019-12-13 12:12:39
问题 PROBLEM How to deploy two different Azure App Services to the same App Service plan when using VSTS idempotent continuous integration / continuous deployment processes. ENVIRONMENT I have written two ARM TEMPLATES each of which deploy a web application to Azure App Service. In order to deploy an App Service an Service Plan must be created first. The ARM TEMPLATES currently create a unique Service Plan each for each Web App. I am using VSTS Release Definitions to deploy on each successful VSTS

How to enable diagnostics in an Azure datafactory after creation

我怕爱的太早我们不能终老 提交于 2019-12-12 13:50:05
问题 I am trying to enable diagnostics for an azure datafactory using an ARM Template after is has been created via a c# automation application. I am attempting to use the steps here for the Non-Compute Resource Template: https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-enable-diagnostic-logs-using-template Step 2 of the above instructions state: In the resources array of the resource for which you want to enable Diagnostic Logs, add a resource of type [resource

Complete Azure Deployments Take an Hour to Fail for Locked Resources

两盒软妹~` 提交于 2019-12-12 10:48:26
问题 I use Azure Resource Manager (ARM) Templates to deploy my Azure platform-as-a-service (PaaS) resources. I perform ARM Template deployments as "Complete" so resources not defined in the template are removed. When I place an Azure Resource Lock on an Microsoft SQL Server PaaS Database Azure resource and then perform a complete deployment with the database name changed it takes more than an hour for the deployment to fail. The Resource Group deployment log events contain multiple HTTP code 409

Provision classic cloud service via ARM template

≯℡__Kan透↙ 提交于 2019-12-12 09:47:54
问题 In one of our project, we are trying to automate deployment of cloud components on Azure. For majority of components (basically all ARM components like Redis, Service bus, App Service etc.) we were able to achieve it using ARM templates and Powershell script. However, we are stuck at Cloud Service (classic) component. Cloud service component contains only WebRole in it and no VM needs to be provisioned. We can go via classic deployment model i.e. using ASM commands in power shell. But since,

Azure ignores site config settings in ARM template

我只是一个虾纸丫 提交于 2019-12-11 11:11:46
问题 I am trying to develop an ARM template for deployment of multiple webapps, but I am stuck trying to configure the webapp using the settings available in Microsoft.Web/sites/config. Whatever I put in there, the settings are just ignored when I deploy the webapp. I'm basing my template on David Ebbos example. This is what I am trying at the moment: // Serverfarm (appservice) { "apiVersion": "2015-08-01", "type": "Microsoft.Web/serverfarms", "sku": { "name": "B1", "tier": "Standard", "size": "B1

How to set the connection string for a Service Bus Logic App action in an ARM template?

拟墨画扇 提交于 2019-12-11 10:46:51
问题 I'm attempting to deploy an Azure Logic App that includes an action to Send a message on a Service Bus using an ARM template. In addition to deploying the Logic App, the ARM template deploys a Service Bus Namespace, a Queue and two AuthorizationRule (one for sending and one for listening). I want to dynamically set the connection information for the Send Service Bus Message action to use the Connection string generated for the AuthorizationRule that supports sending. When I create this in the