Azure resource manager template HostingEnvironment

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-23 18:43:14

问题


I downloaded the arm template for Web App + MySQL from azure gallery:

https://gallery.azure.com/artifact/...

and now trying to make a deployment using this. But I don't know/can't find out what values to supply for some parameters like HostingEnvironment, what are the accepted values, where can I find them?

I tried out "Free" and "Shared" for value, both are wrong.

    "ErrorEntity": {
            "Code": "NotFound",
            "Message": "Cannot find HostingEnvironment with name Shared.",
            "ExtendedCode": "51004",
            "MessageTemplate": "Cannot find {0} with name {1}.",
            "Parameters": [
               "HostingEnvironment",
               "Shared"
            ],
            InnerErrors": null
    }

回答1:


The HostingEnvironment is the name of the App Service Environment. If you don't need it, try to leave it empty. Otherwise fork the template and remove the property.



来源:https://stackoverflow.com/questions/40019741/azure-resource-manager-template-hostingenvironment

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