此定义需要位置 属性

The location property is required for this definition

当我使用带有逻辑应用程序流的模板部署在 Azure 中部署两个 HDInsight 集群(Hadoop、HBase)时,我在创建 Hadoop 集群时收到以下错误,但 Hbase 集群的创建没有任何问题。

Error:
At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details. (Code: DeploymentFailed)

Error details
The location property is required for this definition.

我也在逻辑应用程序中尝试使用 Azure Function App 的 HTTP 触发器,但我遇到了与上述相同的错误。

任何帮助将不胜感激。

您需要将位置 属性 添加到 Hadoop 集群资源的 arm 模板中。

这里是 link HDInsight ARM 文档:https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-create-linux-clusters-arm-templates

{
   ...
   "location": "West US",
   ...
}