Azure Resource Group Template for App Services “Mobile App”

不问归期 提交于 2019-12-22 12:18:11

问题


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

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 App https://github.com/Azure/azure-resource-manager-schemas/blob/master/schemas/2015-08-01/Microsoft.Web.json


回答1:


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" ...


来源:https://stackoverflow.com/questions/33605606/azure-resource-group-template-for-app-services-mobile-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!