我正在寻找一个ARM模板来在不同资源组中存在的多个Vnet(超过10个Vnet)之间建立Vnet对等。
有人可以帮我吗?
答案 0 :(得分:0)
如果要与现有VNet建立对等关系,可以使用相同或不同资源组中的两个现有VNet引用this template。如果您有超过10个VNet,则可以多次部署模板。主要思想是将现有VNet资源定义为模板的参数部分,然后参考VNet peering template reference并将JSON内容添加到模板的资源部分。
有关更多参考,您可以understand the structure and syntax of Azure Resource Manager templates和VNet peering Requirements and constraints。