arm-template

ARM template for adding runbooks and modules

别来无恙 提交于 2019-12-01 07:34:21
问题 Currently I am uploading manually custom modules for azure runtime automation runbooks in the azure portal. Then I also create manually a runbook which executes my custom module. I would like to do this via an ARM script. I assume everything you can do in the azure portal, is also possible in ARM. I am new to ARM, but deployed a website through ARM. That was relatively easy as I could just select Web App as resource. But in the Add Resource list, I can't find anything related to runbook or

Is there a option to get the event grid trigger url + key at output value from the deployment of a Azure Function?

天大地大妈咪最大 提交于 2019-12-01 07:34:14
问题 Is there a option to get the event grid trigger url + key at output value from the deployment of a Azure Function? The scenario we would like to do is as followed: - We deploy a Function Service in a VSTS release via ARM. - With the Function service deployed we deploy the event grid subscription. Thanks, Shraddha Agrawal 回答1: Yes, there is a way using the REST API to obtain a function access code. The following are the steps: Let assume a name of the function is EventGridTrigger2 and the run

Azure Resource Template Dependencies / Application Insights

Deadly 提交于 2019-12-01 04:00:59
I have a chicken and egg problem deploying Application Insights with my web application to Azure. In the ARM template, the Application Insights module is dependent upon the web site for the application id (see dependencies in the ARM templates below). On the other hand, in order to fully instrument the web application, I need the instrumentation key from the Application Insights Module. How does one get around this? Application Insights View From the Portal ARM Template for Web App ARM Template for Application Insights Brett The solution is to have the connection strings and app settings

Deploy Azure function from code (c#)

余生长醉 提交于 2019-11-30 10:58:01
How to deploy azure function (executed on schedule) with code as string (in c#) to given azure functions app? I am going to use ARM template to deploy azure fund app (+ all it needs) https://github.com/Azure/azure-quickstart-templates/tree/master/101-function-app-create-dynamic , which can be deployed via code; But I don't see ways to deploy function to function app via code. + A little more context : deployment is going to happen from an app service, so it's preferred not to have any dependencies beyond NuGet. E.g. I don't like the idea to call azure cli from c#. As Jesse Carter mentioned

Deploying website from private Github repository using ARM Templates

一笑奈何 提交于 2019-11-30 09:16:13
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 key appears to come from kudu which can be gotten once the site is deployed. I have also tried using