"resources": [
{
"type": "Microsoft.Network/loadBalancers",
"sku": {
"name": "[parameters('skuName')]",
"tier": "[parameters('skuTier')]"
},
"name": "[parameters('LoadBalancerName')]",
"apiVersion": "2018-02-01",
"location": "[parameters('location')]",
"properties": {
"frontendIPConfigurations": [
{
"name": "[parameters('name')]",
"properties": {
"publicIPAddress": {
"id": "[resourceId('Microsoft.Network/publicIPAddresses',parameters('publicIpName'))]"
}
}
}
]
},
"dependsOn": []
}
]
**
答案 0 :(得分:0)
您可以添加其他配置:
"frontendIPConfigurations": [
{
"name": "[parameters('name')]",
"properties": {
"publicIPAddress": {
"id": "[resourceId('Microsoft.Network/publicIPAddresses',parameters('publicIpName'))]"
}
}
},
{
"name": "[parameters('secondIP')]",
"properties": {
"publicIPAddress": {
"id": "[resourceId('Microsoft.Network/publicIPAddresses',parameters('secondIp'))]"
}
}
},
]