Azure ExpressRoute网关区域冗余网关ARM Tempate

Azure ExpressRoute网关区域冗余网关ARM Tempate,azure,azure-resource-manager,azure-vpn,Azure,Azure Resource Manager,Azure Vpn,我想使用ARM模板创建一个区域redudant ExpressRoute网关,但是我总是在下面看到这个错误 "message": "Virtual network gateway Sku specified is not valid for gateway /subscriptions/xxxxxxxx/resourceGroups/NSPRG/providers/Microsoft.Network/virtualNetworkGateways/ERGw 使用D

我想使用ARM模板创建一个区域redudant ExpressRoute网关,但是我总是在下面看到这个错误

"message": "Virtual network gateway Sku specified is not valid for gateway /subscriptions/xxxxxxxx/resourceGroups/NSPRG/providers/Microsoft.Network/virtualNetworkGateways/ERGw 
使用DeploymentType CloudService。允许的SKU为标准、高性能、超性能。”

我使用的ARM模板代码如下…编辑器是VSCode

 {
    "apiVersion": "2020-06-01",
    "type": "Microsoft.Network/virtualNetworkGateways",
    "name": "[parameters('ERgatewayName')]",
    "location": "[parameters('location')]",
    "dependsOn": [
      "[resourceId('Microsoft.Network/publicIPAddresses/', parameters('gatewayPublicIPName'))]",
      "[resourceId('Microsoft.Network/virtualNetworks/', parameters('virtualNetworkName'))]",
    "[resourceId('Microsoft.Network/virtualNetworkGateways', parameters('gatewayName'))]",
      "[resourceId('Microsoft.Network/localNetworkGateways', parameters('localGatewayName'))]"
    ],
    "properties": {
      "ipConfigurations": [
        {
          "properties": {
            "privateIPAllocationMethod": "Dynamic",
            "subnet": {
              "id": "[variables('gatewaySubnetRef')]"
            },
            "publicIPAddress": {
              "id": "[resourceId('Microsoft.Network/publicIPAddresses',parameters('ERgatewayPublicIPName'))]"
            }
          },
          "name": "ERvnetGatewayConfig"
        }
      ],
      "gatewayType": "[parameters('ERgatewayType')]" ,
      "sku": {
          "name":"ErGw3AZ",
          "tier":"ErGw3AZ"
      }
    
    
    }
  }
请说明此处可能存在的问题

区域冗余网关和区域网关都依赖于Azure 公共IP资源标准SKU。Azure公共资源的配置 IP资源确定您部署的网关是否为 区域冗余,或区域。如果您使用 基本SKU,网关将没有任何区域冗余,并且 网关资源将是区域性的


对于错误消息,公共IP是问题所在。我们需要为区域冗余网关提供一个公共IP资源标准SKU。

您是使用标准的公共IP地址SKU添加公共IP地址?还是将SKU更改为标准、高性能、超性能?Nancyxyong感谢公共IP是问题所在