我想使用ARM模板创建一个区域红色的ExpressRoute网关,但是我总是在下面得到这个错误。
"message": "Virtual network gateway Sku specified is not valid for gateway /subscriptions/xxxxxxxx/resourceGroups/NSPRG/providers/Microsoft.Network/virtualNetworkGateways/ERGw 和DeploymentType CloudService。允许的Skus为标准、HighPerformance、UltraPerformance。
我使用的ARM模板代码是below...editor是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"
}
}
}拜托,这里有什么问题?
发布于 2020-12-09 01:05:25
正如文件所说:
区域-冗余网关和分区网关都依赖Azure公共IP资源标准SKU。Azure公共IP资源的配置决定了您部署的网关是区域冗余的还是分区的。如果使用基本SKU创建公共IP资源,则网关将没有任何区域冗余,网关资源将是区域性的。
对于错误消息,公共IP才是问题所在。我们需要一个公共IP资源标准SKU的区域-冗余网关。
https://stackoverflow.com/questions/65190711
复制相似问题