Azure ExpressRoute 网关区域冗余网关 ARM 模板

Azure ExpressRoute Gateway Zone Redundant Gateway ARM Tempate

我想使用 ARM 模板创建区域冗余 ExpressRoute 网关,但是我总是在下面收到此错误

"message": "Virtual network gateway Sku specified is not valid for gateway /subscriptions/xxxxxxxx/resourceGroups/NSPRG/providers/Microsoft.Network/virtualNetworkGateways/ERGw 

使用部署类型云服务。允许的 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"
      }
    
    
    }
  }

请问这里可能是什么问题

the document所述:

Zone-redundant gateways and zonal gateways both rely on the Azure public IP resource Standard SKU. The configuration of the Azure public IP resource determines whether the gateway that you deploy is zone-redundant, or zonal. If you create a public IP resource with a Basic SKU, the gateway will not have any zone redundancy, and the gateway resources will be regional.

对于错误消息,public IP 是问题所在。我们需要有一个 public 区域冗余网关的 IP 资源标准 SKU。