Azure 资源管理器模板 HostingEnvironment

Azure resource manager template HostingEnvironment

我从 azure gallery 下载了 Web App + MySQL 的 arm 模板:

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

现在尝试使用它进行部署。但是我没有know/can找不到为某些参数(如 HostingEnvironment)提供什么值,可接受的值是什么,我在哪里可以找到它们?

我试过 "Free" 和 "Shared" 的值,都是错误的。

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

HostingEnvironment 是 App Service Environment 的名称。 如果您不需要它,请尽量将其留空。否则分叉模板并删除 属性.