Creating Azure Bot Service using ARM template - azure

I have tried creating with the Azure Bot Service and using the default ARM template generated in Azure, but it is just creating the resource.
Can I create an ARM template which will also configure Azure Bot Service with the following?
Language to be used for development (C# or NodeJS).
Associate the Microsoft App ID and App Password.
Template to be used, such as Basic, Dialog, LUIS or Proactive bot.
LUIS Integration.
It would help to create a new environment in Azure easily through templates.
Also I can use the template in DevOps VSTS release step, so that I can automate the deployment process.

Currently there are no officially supported prebuilt ARM Templates available.
Reference Github. But what can be done is, deploy the resources manually from the azure portal and navigate to resourceGroup Homepage -> Automation Script and grab the template from there and modify it as needed.

Related

Azure - Run bicep from registry via ARM REST api

I'm looking into publishing bicep templates to a Bicep registry (ACR), and then deploying them via the ARM REST api. However the REST create deployment api only allows me to specify a templateSpec - I don't see any way to reference an ACR url. Is this possible, or do I need to use template specs for this?
For context, I need to create an automated service that can deploy resources when a particular event happens, e.g. add new customer -> spin up Azure resources xyz. Having my service use the REST api seems reasonable, and I'd prefer to use the bicep registry over template specs.
Currently Content in the Bicep module registry can only be deployed from another Bicep file. Template specs can be deployed directly from the API, Azure PowerShell, Azure CLI, and the Azure portal. You can even use UiFormDefinition to customize the portal deployment experience.
You can refer to this documentation for more information.

Create Web App Bot service using Powershell script

I have created web app service on azure using powershell script .Can i create Web app bot using powershell script? Is there some reference document which i can refer?
I am looking to add following services
Bot Service Registration
Web App
Application Insights
Chinmay,
the Azure Powershell module documentation can be found here.
Unfortunately, it doesn't look like the ability to create a web app bot is included.
If you've ever created a bot manually in the Azure portal, then you know that a bot actually consists of several azure resource types like an app service, a bot service, etc.
I would like to see the ability in powershell myself.
If you're interested, the Azure CLI tools DO support bot creation and managements. az bot commands are available in that toolset. Documentation can be found here.

How can I make my Azure logic app portable

I have created an Azure logic app in Azure Portal which uses Azure functions and Azure Service Bus. I want to deliver this whole logic app to client so that he can configure it in his Azure Subscription. How can I push my Azure Logic App to GitHub or any other place so that I can make it distribute able. So that anyone can deploy it in his Azure subscription or resource group. Help!
You'll need to make an Azure Deployment Template. If you create the logic app within the Visual Studio tools it's created for you with the logicapp.json file - we are working right now to let you import a logic app into visual studio. For now you can still create a template with a PowerShell command. Details on creating a deployment template can be found in this article.
You'll also need to add the Azure Function to the same template. You can see an example of a template that deploys both a logic app and an azure function in the same template here - let me know if that helps.
You can download the template from the Azure Portal.
Goto Resource Groups > Select your Resource Group > Click on Automation Scrips.
You will see the Deployment template - which will help you to deploy all the resources in the Resource Group.
If you just want the Function to be exported, Go to the Function > Click on Automation Scripts.
You can follow http://blogs.perficient.com/microsoft/2016/03/azure-arm-template-import-and-export-templates-from-portal/ to know more about Importing and Exporting Azure Templates.

Is there a Nuget package to create Azure Function Apps?

I need to create multiple Azure Function apps in different geographic locations over and over, so I need to automate this. Doing this in the Portal isn't going to scale. I thought there would be a Nuget package for doing this, but I haven't found it yet. Any ideas on how to automate the creation of Azure Function Apps?
There isn't an Azure Functions specific NuGet package or API. Functions works with the standard Azure Resource Manager APIs (consistent with the way you manage other Azure services) and new Function Apps can be provisioned using PowerShell, the Azure CLI, the ARM API or directly through the portal.
Under the "Get Started" section of the documentation I've linked to, you can find more information on how to create and manage templates.
I hope this helps!
As far as I know, there is no Nuget Package for you to do this. Per my understanding, you could leverage ARM template to create your Azure Function App.
You could try to follow the issue & code sample on GitHub about deploying Azure Function Apps with ARM to create the Azure Function App in multiple geographic locations as expected.
Also, you could follow this tutorial about deploying your resources to Azure with Resource Manager templates via Azure Power Shell.

Azure Resource Group template for Cloud Service and Notification Hub

I'm trying to create Azure Resource Group template for an application consisting of: Cloud Service (with single WebRole), Notification Hub, Azure Storage and Azure SQL.
I started in VS2013 by creating AzureResourceGroup project and using the JSON Outline i can add storage and SQL resources. But Cloud Service and Notification Hub is missing in Add Resource dialog. What is the schema for them? What is the best way to add them to the template?
Edit: I found schema for NotificatonHubs here and was able to add template for it. Still don't know how to define the Cloud Service.
Cloud Services are in a "private preview" on ARM so we won't have snippets in VS until it goes public. I think that you have to be whitelisted as part of the preview to deploy at the moment... (i.e. the deployment will fail if you're not whitelisted)

Resources