Azure的资源组模板应用服务

Azure的资源组模板应用服务

本文介绍了Azure的资源组模板应用服务]移动应用"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找到正确的模板,通过使用该应用程序服务移动应用部署新AzureRmResourceGroupDeployment

I'm trying to find the correct template to use for the App Service "Mobile App" for deployment via New-AzureRmResourceGroupDeployment

我有一个看一看模板的Web应用程序,但似乎没有什么可指定移动应用类型或种类
https://github.com/Azure/azure-resource-manager-schemas/blob/master/schemas/2015-08-01/Microsoft.Web.json

I've had a look at the template for Web App but doesn't appear to be anything to specify a type or kind for Mobile Apphttps://github.com/Azure/azure-resource-manager-schemas/blob/master/schemas/2015-08-01/Microsoft.Web.json

推荐答案

您可以只添加厚道属性设置为网站的资源,例如

You can just add the "kind" property to a website resource, e.g.

       {
        "name": "[parameters('siteName')]",
        "type": "Microsoft.Web/sites",
        "location": "[resourceGroup().location]",
        "apiVersion": "2014-06-01",
        "kind": "mobileapp" ...

这篇关于Azure的资源组模板应用服务]移动应用"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 22:30