gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 05:31:19 28 4
gpt4 key购买 nike

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

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

使用 DeploymentType CloudService。允许的 Sku 为 Standard、HighPerformance、UltraPerformance。",

我使用的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 Azurepublic IP resource Standard SKU. The configuration of the Azure publicIP resource determines whether the gateway that you deploy iszone-redundant, or zonal. If you create a public IP resource with aBasic SKU, the gateway will not have any zone redundancy, and thegateway resources will be regional.

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

关于Azure ExpressRoute 网关区域冗余网关 ARM 模板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65190711/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com