Ansible repository with playbooks to manage azure objects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
475 B

  1. {
  2. "properties": {
  3. {% if bp.lbbpaddresses is defined %}
  4. "loadBalancerBackendAddresses": [
  5. {% for ip in bp.lbbpaddresses %}
  6. {
  7. "name": "address{{ loop.index }}",
  8. "properties": {
  9. "ipAddress": "{{ ip.ip }}",
  10. "virtualNetwork": {
  11. "id": "{{ ip.vnet }}"
  12. }
  13. }
  14. },
  15. {% endfor %}
  16. ],
  17. {% endif %}
  18. {%if bp.tunnelinterfaces is defined %}
  19. "tunnelInterfaces": "{{ bp.tunnelinterfaces }}"
  20. {%endif%}
  21. }
  22. }