azure_mgmt_network 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1338) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-05-01-preview/generated/azure_mgmt_network/models/azure_async_operation_result.rb +1 -1
  3. data/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb +7 -6
  4. data/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +12 -0
  5. data/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb +7 -6
  6. data/lib/2016-03-30/generated/azure_mgmt_network/models/azure_async_operation_result.rb +1 -1
  7. data/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb +7 -6
  8. data/lib/2016-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +1 -1
  9. data/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
  10. data/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
  11. data/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
  12. data/lib/2017-03-01/generated/azure_mgmt_network/application_gateways.rb +1 -4
  13. data/lib/2017-03-01/generated/azure_mgmt_network/bgp_service_communities.rb +1 -4
  14. data/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -4
  15. data/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -4
  16. data/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuits.rb +1 -4
  17. data/lib/2017-03-01/generated/azure_mgmt_network/express_route_service_providers.rb +1 -4
  18. data/lib/2017-03-01/generated/azure_mgmt_network/load_balancers.rb +1 -4
  19. data/lib/2017-03-01/generated/azure_mgmt_network/local_network_gateways.rb +1 -4
  20. data/lib/2017-03-01/generated/azure_mgmt_network/network_interfaces.rb +1 -4
  21. data/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
  22. data/lib/2017-03-01/generated/azure_mgmt_network/network_security_groups.rb +1 -4
  23. data/lib/2017-03-01/generated/azure_mgmt_network/network_watchers.rb +1 -4
  24. data/lib/2017-03-01/generated/azure_mgmt_network/packet_captures.rb +1 -4
  25. data/lib/2017-03-01/generated/azure_mgmt_network/public_ipaddresses.rb +1 -4
  26. data/lib/2017-03-01/generated/azure_mgmt_network/route_filter_rules.rb +1 -4
  27. data/lib/2017-03-01/generated/azure_mgmt_network/route_filters.rb +1 -4
  28. data/lib/2017-03-01/generated/azure_mgmt_network/route_tables.rb +1 -4
  29. data/lib/2017-03-01/generated/azure_mgmt_network/routes.rb +1 -4
  30. data/lib/2017-03-01/generated/azure_mgmt_network/security_rules.rb +1 -4
  31. data/lib/2017-03-01/generated/azure_mgmt_network/subnets.rb +1 -4
  32. data/lib/2017-03-01/generated/azure_mgmt_network/usages.rb +1 -4
  33. data/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -4
  34. data/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb +1 -4
  35. data/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_peerings.rb +1 -4
  36. data/lib/2017-03-01/generated/azure_mgmt_network/virtual_networks.rb +1 -4
  37. data/lib/2017-03-30/generated/azure_mgmt_network.rb +8 -7
  38. data/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +2 -2
  39. data/lib/2017-03-30/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
  40. data/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb +21 -0
  41. data/lib/2017-03-30/generated/azure_mgmt_network/models/route_table.rb +12 -0
  42. data/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb +7 -6
  43. data/lib/2017-09-01/generated/azure_mgmt_network.rb +6 -6
  44. data/lib/2017-09-01/generated/azure_mgmt_network/application_gateways.rb +1 -4
  45. data/lib/2017-09-01/generated/azure_mgmt_network/application_security_groups.rb +1 -4
  46. data/lib/2017-09-01/generated/azure_mgmt_network/available_endpoint_services.rb +1 -4
  47. data/lib/2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb +1 -4
  48. data/lib/2017-09-01/generated/azure_mgmt_network/default_security_rules.rb +1 -4
  49. data/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -4
  50. data/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -4
  51. data/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuits.rb +1 -4
  52. data/lib/2017-09-01/generated/azure_mgmt_network/express_route_service_providers.rb +1 -4
  53. data/lib/2017-09-01/generated/azure_mgmt_network/inbound_nat_rules.rb +1 -4
  54. data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +1 -4
  55. data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +1 -4
  56. data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +1 -4
  57. data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +1 -4
  58. data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_probes.rb +1 -4
  59. data/lib/2017-09-01/generated/azure_mgmt_network/load_balancers.rb +1 -4
  60. data/lib/2017-09-01/generated/azure_mgmt_network/local_network_gateways.rb +1 -4
  61. data/lib/2017-09-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +1 -4
  62. data/lib/2017-09-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +1 -4
  63. data/lib/2017-09-01/generated/azure_mgmt_network/network_interfaces.rb +1 -4
  64. data/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb +11 -10
  65. data/lib/2017-09-01/generated/azure_mgmt_network/network_security_groups.rb +1 -4
  66. data/lib/2017-09-01/generated/azure_mgmt_network/network_watchers.rb +1 -4
  67. data/lib/2017-09-01/generated/azure_mgmt_network/operations.rb +1 -4
  68. data/lib/2017-09-01/generated/azure_mgmt_network/packet_captures.rb +1 -4
  69. data/lib/2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb +1 -4
  70. data/lib/2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb +1 -4
  71. data/lib/2017-09-01/generated/azure_mgmt_network/route_filters.rb +1 -4
  72. data/lib/2017-09-01/generated/azure_mgmt_network/route_tables.rb +1 -4
  73. data/lib/2017-09-01/generated/azure_mgmt_network/routes.rb +1 -4
  74. data/lib/2017-09-01/generated/azure_mgmt_network/security_rules.rb +1 -4
  75. data/lib/2017-09-01/generated/azure_mgmt_network/subnets.rb +1 -4
  76. data/lib/2017-09-01/generated/azure_mgmt_network/usages.rb +1 -4
  77. data/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -4
  78. data/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb +1 -4
  79. data/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb +1 -4
  80. data/lib/2017-09-01/generated/azure_mgmt_network/virtual_networks.rb +1 -4
  81. data/lib/2017-10-01/generated/azure_mgmt_network/application_gateways.rb +1 -4
  82. data/lib/2017-10-01/generated/azure_mgmt_network/application_security_groups.rb +1 -4
  83. data/lib/2017-10-01/generated/azure_mgmt_network/available_endpoint_services.rb +1 -4
  84. data/lib/2017-10-01/generated/azure_mgmt_network/bgp_service_communities.rb +1 -4
  85. data/lib/2017-10-01/generated/azure_mgmt_network/connection_monitors.rb +1 -4
  86. data/lib/2017-10-01/generated/azure_mgmt_network/default_security_rules.rb +1 -4
  87. data/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -4
  88. data/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -4
  89. data/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuits.rb +1 -4
  90. data/lib/2017-10-01/generated/azure_mgmt_network/express_route_service_providers.rb +1 -4
  91. data/lib/2017-10-01/generated/azure_mgmt_network/inbound_nat_rules.rb +1 -4
  92. data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +1 -4
  93. data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +1 -4
  94. data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +1 -4
  95. data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +1 -4
  96. data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_probes.rb +1 -4
  97. data/lib/2017-10-01/generated/azure_mgmt_network/load_balancers.rb +1 -4
  98. data/lib/2017-10-01/generated/azure_mgmt_network/local_network_gateways.rb +1 -4
  99. data/lib/2017-10-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +1 -4
  100. data/lib/2017-10-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +1 -4
  101. data/lib/2017-10-01/generated/azure_mgmt_network/network_interfaces.rb +1 -4
  102. data/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
  103. data/lib/2017-10-01/generated/azure_mgmt_network/network_security_groups.rb +1 -4
  104. data/lib/2017-10-01/generated/azure_mgmt_network/network_watchers.rb +1 -4
  105. data/lib/2017-10-01/generated/azure_mgmt_network/operations.rb +1 -4
  106. data/lib/2017-10-01/generated/azure_mgmt_network/packet_captures.rb +1 -4
  107. data/lib/2017-10-01/generated/azure_mgmt_network/public_ipaddresses.rb +1 -4
  108. data/lib/2017-10-01/generated/azure_mgmt_network/route_filter_rules.rb +1 -4
  109. data/lib/2017-10-01/generated/azure_mgmt_network/route_filters.rb +1 -4
  110. data/lib/2017-10-01/generated/azure_mgmt_network/route_tables.rb +1 -4
  111. data/lib/2017-10-01/generated/azure_mgmt_network/routes.rb +1 -4
  112. data/lib/2017-10-01/generated/azure_mgmt_network/security_rules.rb +1 -4
  113. data/lib/2017-10-01/generated/azure_mgmt_network/subnets.rb +1 -4
  114. data/lib/2017-10-01/generated/azure_mgmt_network/usages.rb +1 -4
  115. data/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -4
  116. data/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb +1 -4
  117. data/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_peerings.rb +1 -4
  118. data/lib/2017-10-01/generated/azure_mgmt_network/virtual_networks.rb +1 -4
  119. data/lib/2017-11-01/generated/azure_mgmt_network/application_gateways.rb +1 -4
  120. data/lib/2017-11-01/generated/azure_mgmt_network/application_security_groups.rb +1 -4
  121. data/lib/2017-11-01/generated/azure_mgmt_network/available_endpoint_services.rb +1 -4
  122. data/lib/2017-11-01/generated/azure_mgmt_network/bgp_service_communities.rb +1 -4
  123. data/lib/2017-11-01/generated/azure_mgmt_network/connection_monitors.rb +1 -4
  124. data/lib/2017-11-01/generated/azure_mgmt_network/default_security_rules.rb +1 -4
  125. data/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -4
  126. data/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -4
  127. data/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuits.rb +1 -4
  128. data/lib/2017-11-01/generated/azure_mgmt_network/express_route_service_providers.rb +1 -4
  129. data/lib/2017-11-01/generated/azure_mgmt_network/inbound_nat_rules.rb +1 -4
  130. data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +1 -4
  131. data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +1 -4
  132. data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +1 -4
  133. data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +1 -4
  134. data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_probes.rb +1 -4
  135. data/lib/2017-11-01/generated/azure_mgmt_network/load_balancers.rb +1 -4
  136. data/lib/2017-11-01/generated/azure_mgmt_network/local_network_gateways.rb +1 -4
  137. data/lib/2017-11-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +1 -4
  138. data/lib/2017-11-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +1 -4
  139. data/lib/2017-11-01/generated/azure_mgmt_network/network_interfaces.rb +1 -4
  140. data/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
  141. data/lib/2017-11-01/generated/azure_mgmt_network/network_security_groups.rb +1 -4
  142. data/lib/2017-11-01/generated/azure_mgmt_network/network_watchers.rb +1 -4
  143. data/lib/2017-11-01/generated/azure_mgmt_network/operations.rb +1 -4
  144. data/lib/2017-11-01/generated/azure_mgmt_network/packet_captures.rb +1 -4
  145. data/lib/2017-11-01/generated/azure_mgmt_network/public_ipaddresses.rb +1 -4
  146. data/lib/2017-11-01/generated/azure_mgmt_network/route_filter_rules.rb +1 -4
  147. data/lib/2017-11-01/generated/azure_mgmt_network/route_filters.rb +1 -4
  148. data/lib/2017-11-01/generated/azure_mgmt_network/route_tables.rb +1 -4
  149. data/lib/2017-11-01/generated/azure_mgmt_network/routes.rb +1 -4
  150. data/lib/2017-11-01/generated/azure_mgmt_network/security_rules.rb +1 -4
  151. data/lib/2017-11-01/generated/azure_mgmt_network/subnets.rb +1 -4
  152. data/lib/2017-11-01/generated/azure_mgmt_network/usages.rb +1 -4
  153. data/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -4
  154. data/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb +1 -4
  155. data/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_peerings.rb +1 -4
  156. data/lib/2017-11-01/generated/azure_mgmt_network/virtual_networks.rb +1 -4
  157. data/lib/2018-01-01/generated/azure_mgmt_network.rb +79 -78
  158. data/lib/2018-01-01/generated/azure_mgmt_network/application_gateways.rb +1 -4
  159. data/lib/2018-01-01/generated/azure_mgmt_network/application_security_groups.rb +1 -4
  160. data/lib/2018-01-01/generated/azure_mgmt_network/available_endpoint_services.rb +1 -4
  161. data/lib/2018-01-01/generated/azure_mgmt_network/bgp_service_communities.rb +1 -4
  162. data/lib/2018-01-01/generated/azure_mgmt_network/connection_monitors.rb +1 -4
  163. data/lib/2018-01-01/generated/azure_mgmt_network/default_security_rules.rb +1 -4
  164. data/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -4
  165. data/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -4
  166. data/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuits.rb +1 -4
  167. data/lib/2018-01-01/generated/azure_mgmt_network/express_route_service_providers.rb +1 -4
  168. data/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb +1 -4
  169. data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +1 -4
  170. data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +1 -4
  171. data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +1 -4
  172. data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +1 -4
  173. data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_probes.rb +1 -4
  174. data/lib/2018-01-01/generated/azure_mgmt_network/load_balancers.rb +1 -4
  175. data/lib/2018-01-01/generated/azure_mgmt_network/local_network_gateways.rb +1 -4
  176. data/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb +14 -1
  177. data/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +4 -3
  178. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher.rb +3 -2
  179. data/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb +36 -0
  180. data/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb +14 -2
  181. data/lib/2018-01-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb +79 -0
  182. data/lib/2018-01-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +1 -4
  183. data/lib/2018-01-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +1 -4
  184. data/lib/2018-01-01/generated/azure_mgmt_network/network_interfaces.rb +1 -4
  185. data/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
  186. data/lib/2018-01-01/generated/azure_mgmt_network/network_security_groups.rb +1 -4
  187. data/lib/2018-01-01/generated/azure_mgmt_network/network_watchers.rb +18 -17
  188. data/lib/2018-01-01/generated/azure_mgmt_network/operations.rb +1 -4
  189. data/lib/2018-01-01/generated/azure_mgmt_network/packet_captures.rb +1 -4
  190. data/lib/2018-01-01/generated/azure_mgmt_network/public_ipaddresses.rb +1 -4
  191. data/lib/2018-01-01/generated/azure_mgmt_network/route_filter_rules.rb +1 -4
  192. data/lib/2018-01-01/generated/azure_mgmt_network/route_filters.rb +1 -4
  193. data/lib/2018-01-01/generated/azure_mgmt_network/route_tables.rb +1 -4
  194. data/lib/2018-01-01/generated/azure_mgmt_network/routes.rb +1 -4
  195. data/lib/2018-01-01/generated/azure_mgmt_network/security_rules.rb +1 -4
  196. data/lib/2018-01-01/generated/azure_mgmt_network/subnets.rb +1 -4
  197. data/lib/2018-01-01/generated/azure_mgmt_network/usages.rb +1 -4
  198. data/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -4
  199. data/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateways.rb +1 -4
  200. data/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_peerings.rb +1 -4
  201. data/lib/2018-01-01/generated/azure_mgmt_network/virtual_networks.rb +1 -4
  202. data/lib/2018-02-01/generated/azure_mgmt_network.rb +373 -0
  203. data/lib/2018-02-01/generated/azure_mgmt_network/application_gateways.rb +1773 -0
  204. data/lib/2018-02-01/generated/azure_mgmt_network/application_security_groups.rb +800 -0
  205. data/lib/2018-02-01/generated/azure_mgmt_network/available_endpoint_services.rb +222 -0
  206. data/lib/2018-02-01/generated/azure_mgmt_network/bgp_service_communities.rb +217 -0
  207. data/lib/2018-02-01/generated/azure_mgmt_network/connection_monitors.rb +973 -0
  208. data/lib/2018-02-01/generated/azure_mgmt_network/ddos_protection_plans.rb +800 -0
  209. data/lib/2018-02-01/generated/azure_mgmt_network/default_security_rules.rb +333 -0
  210. data/lib/2018-02-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +621 -0
  211. data/lib/2018-02-01/generated/azure_mgmt_network/express_route_circuit_connections.rb +459 -0
  212. data/lib/2018-02-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +616 -0
  213. data/lib/2018-02-01/generated/azure_mgmt_network/express_route_circuits.rb +1577 -0
  214. data/lib/2018-02-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb +638 -0
  215. data/lib/2018-02-01/generated/azure_mgmt_network/express_route_cross_connections.rb +1288 -0
  216. data/lib/2018-02-01/generated/azure_mgmt_network/express_route_service_providers.rb +217 -0
  217. data/lib/2018-02-01/generated/azure_mgmt_network/inbound_nat_rules.rb +619 -0
  218. data/lib/2018-02-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +326 -0
  219. data/lib/2018-02-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +326 -0
  220. data/lib/2018-02-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +323 -0
  221. data/lib/2018-02-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +227 -0
  222. data/lib/2018-02-01/generated/azure_mgmt_network/load_balancer_probes.rb +323 -0
  223. data/lib/2018-02-01/generated/azure_mgmt_network/load_balancers.rb +942 -0
  224. data/lib/2018-02-01/generated/azure_mgmt_network/local_network_gateways.rb +769 -0
  225. data/lib/2018-02-01/generated/azure_mgmt_network/models/access.rb +16 -0
  226. data/lib/2018-02-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
  227. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway.rb +438 -0
  228. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +102 -0
  229. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
  230. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
  231. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
  232. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
  233. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +131 -0
  234. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +55 -0
  235. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
  236. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
  237. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +72 -0
  238. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
  239. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +241 -0
  240. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
  241. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
  242. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
  243. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
  244. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
  245. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
  246. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +141 -0
  247. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +139 -0
  248. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +101 -0
  249. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +163 -0
  250. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +104 -0
  251. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
  252. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
  253. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +148 -0
  254. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +201 -0
  255. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
  256. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
  257. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +200 -0
  258. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
  259. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +166 -0
  260. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
  261. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
  262. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +19 -0
  263. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +126 -0
  264. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +39 -0
  265. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
  266. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
  267. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
  268. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
  269. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
  270. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +16 -0
  271. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +151 -0
  272. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +130 -0
  273. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
  274. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
  275. data/lib/2018-02-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
  276. data/lib/2018-02-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
  277. data/lib/2018-02-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
  278. data/lib/2018-02-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
  279. data/lib/2018-02-01/generated/azure_mgmt_network/models/availability.rb +68 -0
  280. data/lib/2018-02-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
  281. data/lib/2018-02-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
  282. data/lib/2018-02-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
  283. data/lib/2018-02-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
  284. data/lib/2018-02-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
  285. data/lib/2018-02-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
  286. data/lib/2018-02-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +80 -0
  287. data/lib/2018-02-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
  288. data/lib/2018-02-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
  289. data/lib/2018-02-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
  290. data/lib/2018-02-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +107 -0
  291. data/lib/2018-02-01/generated/azure_mgmt_network/models/backend_address_pool.rb +137 -0
  292. data/lib/2018-02-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
  293. data/lib/2018-02-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
  294. data/lib/2018-02-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
  295. data/lib/2018-02-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
  296. data/lib/2018-02-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
  297. data/lib/2018-02-01/generated/azure_mgmt_network/models/bgp_settings.rb +70 -0
  298. data/lib/2018-02-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
  299. data/lib/2018-02-01/generated/azure_mgmt_network/models/circuit_connection_status.rb +17 -0
  300. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor.rb +114 -0
  301. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
  302. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
  303. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +84 -0
  304. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +68 -0
  305. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +199 -0
  306. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
  307. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_source_status.rb +17 -0
  308. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
  309. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_shared_key.rb +46 -0
  310. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
  311. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +103 -0
  312. data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
  313. data/lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
  314. data/lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
  315. data/lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
  316. data/lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
  317. data/lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +83 -0
  318. data/lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
  319. data/lib/2018-02-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb +149 -0
  320. data/lib/2018-02-01/generated/azure_mgmt_network/models/ddos_protection_plan_list_result.rb +99 -0
  321. data/lib/2018-02-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
  322. data/lib/2018-02-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
  323. data/lib/2018-02-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
  324. data/lib/2018-02-01/generated/azure_mgmt_network/models/direction.rb +16 -0
  325. data/lib/2018-02-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
  326. data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
  327. data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
  328. data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
  329. data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +263 -0
  330. data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_route.rb +128 -0
  331. data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
  332. data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
  333. data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
  334. data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  335. data/lib/2018-02-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
  336. data/lib/2018-02-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
  337. data/lib/2018-02-01/generated/azure_mgmt_network/models/error.rb +100 -0
  338. data/lib/2018-02-01/generated/azure_mgmt_network/models/error_details.rb +69 -0
  339. data/lib/2018-02-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
  340. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit.rb +246 -0
  341. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
  342. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +104 -0
  343. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +145 -0
  344. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
  345. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +291 -0
  346. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
  347. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
  348. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
  349. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
  350. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_reference.rb +47 -0
  351. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +90 -0
  352. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
  353. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
  354. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +72 -0
  355. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
  356. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +16 -0
  357. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
  358. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +67 -0
  359. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
  360. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
  361. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb +229 -0
  362. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connection_list_result.rb +100 -0
  363. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb +250 -0
  364. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb +102 -0
  365. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb +83 -0
  366. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connections_routes_table_summary_list_result.rb +70 -0
  367. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_peering_state.rb +16 -0
  368. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_peering_type.rb +17 -0
  369. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +136 -0
  370. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
  371. data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
  372. data/lib/2018-02-01/generated/azure_mgmt_network/models/flow_log_information.rb +81 -0
  373. data/lib/2018-02-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +47 -0
  374. data/lib/2018-02-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +235 -0
  375. data/lib/2018-02-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
  376. data/lib/2018-02-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
  377. data/lib/2018-02-01/generated/azure_mgmt_network/models/httpconfiguration.rb +85 -0
  378. data/lib/2018-02-01/generated/azure_mgmt_network/models/httpheader.rb +57 -0
  379. data/lib/2018-02-01/generated/azure_mgmt_network/models/httpmethod.rb +15 -0
  380. data/lib/2018-02-01/generated/azure_mgmt_network/models/ike_encryption.rb +21 -0
  381. data/lib/2018-02-01/generated/azure_mgmt_network/models/ike_integrity.rb +20 -0
  382. data/lib/2018-02-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +169 -0
  383. data/lib/2018-02-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +172 -0
  384. data/lib/2018-02-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
  385. data/lib/2018-02-01/generated/azure_mgmt_network/models/ip_flow_protocol.rb +16 -0
  386. data/lib/2018-02-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
  387. data/lib/2018-02-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
  388. data/lib/2018-02-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
  389. data/lib/2018-02-01/generated/azure_mgmt_network/models/ipconfiguration.rb +127 -0
  390. data/lib/2018-02-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
  391. data/lib/2018-02-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
  392. data/lib/2018-02-01/generated/azure_mgmt_network/models/ipsec_policy.rb +137 -0
  393. data/lib/2018-02-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +95 -0
  394. data/lib/2018-02-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
  395. data/lib/2018-02-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
  396. data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer.rb +290 -0
  397. data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
  398. data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
  399. data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
  400. data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
  401. data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
  402. data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
  403. data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  404. data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +209 -0
  405. data/lib/2018-02-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
  406. data/lib/2018-02-01/generated/azure_mgmt_network/models/local_network_gateway.rb +157 -0
  407. data/lib/2018-02-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
  408. data/lib/2018-02-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
  409. data/lib/2018-02-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
  410. data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface.rb +227 -0
  411. data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
  412. data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +117 -0
  413. data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +239 -0
  414. data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
  415. data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
  416. data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
  417. data/lib/2018-02-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
  418. data/lib/2018-02-01/generated/azure_mgmt_network/models/network_security_group.rb +206 -0
  419. data/lib/2018-02-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
  420. data/lib/2018-02-01/generated/azure_mgmt_network/models/network_watcher.rb +110 -0
  421. data/lib/2018-02-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
  422. data/lib/2018-02-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
  423. data/lib/2018-02-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
  424. data/lib/2018-02-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
  425. data/lib/2018-02-01/generated/azure_mgmt_network/models/operation.rb +83 -0
  426. data/lib/2018-02-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
  427. data/lib/2018-02-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
  428. data/lib/2018-02-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
  429. data/lib/2018-02-01/generated/azure_mgmt_network/models/origin.rb +17 -0
  430. data/lib/2018-02-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +124 -0
  431. data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture.rb +118 -0
  432. data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
  433. data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
  434. data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +118 -0
  435. data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
  436. data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture_result.rb +168 -0
  437. data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
  438. data/lib/2018-02-01/generated/azure_mgmt_network/models/patch_route_filter.rb +155 -0
  439. data/lib/2018-02-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +128 -0
  440. data/lib/2018-02-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
  441. data/lib/2018-02-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
  442. data/lib/2018-02-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
  443. data/lib/2018-02-01/generated/azure_mgmt_network/models/pfs_group.rb +23 -0
  444. data/lib/2018-02-01/generated/azure_mgmt_network/models/probe.rb +170 -0
  445. data/lib/2018-02-01/generated/azure_mgmt_network/models/probe_protocol.rb +17 -0
  446. data/lib/2018-02-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
  447. data/lib/2018-02-01/generated/azure_mgmt_network/models/protocol.rb +18 -0
  448. data/lib/2018-02-01/generated/azure_mgmt_network/models/protocol_configuration.rb +47 -0
  449. data/lib/2018-02-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
  450. data/lib/2018-02-01/generated/azure_mgmt_network/models/public_ipaddress.rb +248 -0
  451. data/lib/2018-02-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
  452. data/lib/2018-02-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
  453. data/lib/2018-02-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
  454. data/lib/2018-02-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  455. data/lib/2018-02-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
  456. data/lib/2018-02-01/generated/azure_mgmt_network/models/resource.rb +100 -0
  457. data/lib/2018-02-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +103 -0
  458. data/lib/2018-02-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
  459. data/lib/2018-02-01/generated/azure_mgmt_network/models/route.rb +118 -0
  460. data/lib/2018-02-01/generated/azure_mgmt_network/models/route_filter.rb +153 -0
  461. data/lib/2018-02-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
  462. data/lib/2018-02-01/generated/azure_mgmt_network/models/route_filter_rule.rb +138 -0
  463. data/lib/2018-02-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
  464. data/lib/2018-02-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
  465. data/lib/2018-02-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
  466. data/lib/2018-02-01/generated/azure_mgmt_network/models/route_table.rb +163 -0
  467. data/lib/2018-02-01/generated/azure_mgmt_network/models/route_table_list_result.rb +99 -0
  468. data/lib/2018-02-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +58 -0
  469. data/lib/2018-02-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
  470. data/lib/2018-02-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
  471. data/lib/2018-02-01/generated/azure_mgmt_network/models/security_rule.rb +315 -0
  472. data/lib/2018-02-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
  473. data/lib/2018-02-01/generated/azure_mgmt_network/models/security_rule_associations.rb +101 -0
  474. data/lib/2018-02-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
  475. data/lib/2018-02-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
  476. data/lib/2018-02-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +17 -0
  477. data/lib/2018-02-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +76 -0
  478. data/lib/2018-02-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
  479. data/lib/2018-02-01/generated/azure_mgmt_network/models/severity.rb +16 -0
  480. data/lib/2018-02-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
  481. data/lib/2018-02-01/generated/azure_mgmt_network/models/subnet.rb +178 -0
  482. data/lib/2018-02-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
  483. data/lib/2018-02-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
  484. data/lib/2018-02-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
  485. data/lib/2018-02-01/generated/azure_mgmt_network/models/topology.rb +92 -0
  486. data/lib/2018-02-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
  487. data/lib/2018-02-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
  488. data/lib/2018-02-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
  489. data/lib/2018-02-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
  490. data/lib/2018-02-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
  491. data/lib/2018-02-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
  492. data/lib/2018-02-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
  493. data/lib/2018-02-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
  494. data/lib/2018-02-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
  495. data/lib/2018-02-01/generated/azure_mgmt_network/models/usage.rb +95 -0
  496. data/lib/2018-02-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
  497. data/lib/2018-02-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
  498. data/lib/2018-02-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
  499. data/lib/2018-02-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
  500. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network.rb +228 -0
  501. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
  502. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +246 -0
  503. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +325 -0
  504. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +326 -0
  505. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
  506. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
  507. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
  508. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +117 -0
  509. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
  510. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
  511. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +72 -0
  512. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +21 -0
  513. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +21 -0
  514. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
  515. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
  516. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
  517. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +171 -0
  518. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
  519. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
  520. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
  521. data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
  522. data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +155 -0
  523. data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_client_ipsec_parameters.rb +137 -0
  524. data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +96 -0
  525. data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +16 -0
  526. data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +92 -0
  527. data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +92 -0
  528. data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
  529. data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
  530. data/lib/2018-02-01/generated/azure_mgmt_network/module_definition.rb +9 -0
  531. data/lib/2018-02-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +323 -0
  532. data/lib/2018-02-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +227 -0
  533. data/lib/2018-02-01/generated/azure_mgmt_network/network_interfaces.rb +1210 -0
  534. data/lib/2018-02-01/generated/azure_mgmt_network/network_management_client.rb +399 -0
  535. data/lib/2018-02-01/generated/azure_mgmt_network/network_security_groups.rb +960 -0
  536. data/lib/2018-02-01/generated/azure_mgmt_network/network_watchers.rb +2432 -0
  537. data/lib/2018-02-01/generated/azure_mgmt_network/operations.rb +215 -0
  538. data/lib/2018-02-01/generated/azure_mgmt_network/packet_captures.rb +784 -0
  539. data/lib/2018-02-01/generated/azure_mgmt_network/public_ipaddresses.rb +942 -0
  540. data/lib/2018-02-01/generated/azure_mgmt_network/route_filter_rules.rb +774 -0
  541. data/lib/2018-02-01/generated/azure_mgmt_network/route_filters.rb +945 -0
  542. data/lib/2018-02-01/generated/azure_mgmt_network/route_tables.rb +942 -0
  543. data/lib/2018-02-01/generated/azure_mgmt_network/routes.rb +615 -0
  544. data/lib/2018-02-01/generated/azure_mgmt_network/security_rules.rb +633 -0
  545. data/lib/2018-02-01/generated/azure_mgmt_network/subnets.rb +619 -0
  546. data/lib/2018-02-01/generated/azure_mgmt_network/usages.rb +223 -0
  547. data/lib/2018-02-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1231 -0
  548. data/lib/2018-02-01/generated/azure_mgmt_network/virtual_network_gateways.rb +2609 -0
  549. data/lib/2018-02-01/generated/azure_mgmt_network/virtual_network_peerings.rb +624 -0
  550. data/lib/2018-02-01/generated/azure_mgmt_network/virtual_networks.rb +1239 -0
  551. data/lib/2018-04-01/generated/azure_mgmt_network.rb +416 -0
  552. data/lib/2018-04-01/generated/azure_mgmt_network/application_gateways.rb +1773 -0
  553. data/lib/2018-04-01/generated/azure_mgmt_network/application_security_groups.rb +800 -0
  554. data/lib/2018-04-01/generated/azure_mgmt_network/available_endpoint_services.rb +222 -0
  555. data/lib/2018-04-01/generated/azure_mgmt_network/azure_firewalls.rb +787 -0
  556. data/lib/2018-04-01/generated/azure_mgmt_network/bgp_service_communities.rb +217 -0
  557. data/lib/2018-04-01/generated/azure_mgmt_network/connection_monitors.rb +973 -0
  558. data/lib/2018-04-01/generated/azure_mgmt_network/ddos_protection_plans.rb +800 -0
  559. data/lib/2018-04-01/generated/azure_mgmt_network/default_security_rules.rb +333 -0
  560. data/lib/2018-04-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +621 -0
  561. data/lib/2018-04-01/generated/azure_mgmt_network/express_route_circuit_connections.rb +459 -0
  562. data/lib/2018-04-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +616 -0
  563. data/lib/2018-04-01/generated/azure_mgmt_network/express_route_circuits.rb +1577 -0
  564. data/lib/2018-04-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb +638 -0
  565. data/lib/2018-04-01/generated/azure_mgmt_network/express_route_cross_connections.rb +1288 -0
  566. data/lib/2018-04-01/generated/azure_mgmt_network/express_route_service_providers.rb +217 -0
  567. data/lib/2018-04-01/generated/azure_mgmt_network/hub_virtual_network_connections.rb +330 -0
  568. data/lib/2018-04-01/generated/azure_mgmt_network/inbound_nat_rules.rb +619 -0
  569. data/lib/2018-04-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +326 -0
  570. data/lib/2018-04-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +326 -0
  571. data/lib/2018-04-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +323 -0
  572. data/lib/2018-04-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +227 -0
  573. data/lib/2018-04-01/generated/azure_mgmt_network/load_balancer_probes.rb +323 -0
  574. data/lib/2018-04-01/generated/azure_mgmt_network/load_balancers.rb +942 -0
  575. data/lib/2018-04-01/generated/azure_mgmt_network/local_network_gateways.rb +769 -0
  576. data/lib/2018-04-01/generated/azure_mgmt_network/models/access.rb +16 -0
  577. data/lib/2018-04-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
  578. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway.rb +483 -0
  579. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +102 -0
  580. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_autoscale_bounds.rb +60 -0
  581. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb +47 -0
  582. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
  583. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
  584. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
  585. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
  586. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +131 -0
  587. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +55 -0
  588. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
  589. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
  590. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +72 -0
  591. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
  592. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +242 -0
  593. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
  594. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
  595. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
  596. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
  597. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
  598. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
  599. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +141 -0
  600. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +139 -0
  601. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +101 -0
  602. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +164 -0
  603. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +104 -0
  604. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
  605. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
  606. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +148 -0
  607. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +202 -0
  608. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
  609. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
  610. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +200 -0
  611. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
  612. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +166 -0
  613. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
  614. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
  615. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +21 -0
  616. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +126 -0
  617. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +39 -0
  618. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
  619. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
  620. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
  621. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
  622. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
  623. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +18 -0
  624. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +151 -0
  625. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +130 -0
  626. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
  627. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
  628. data/lib/2018-04-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
  629. data/lib/2018-04-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
  630. data/lib/2018-04-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
  631. data/lib/2018-04-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
  632. data/lib/2018-04-01/generated/azure_mgmt_network/models/availability.rb +68 -0
  633. data/lib/2018-04-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
  634. data/lib/2018-04-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
  635. data/lib/2018-04-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
  636. data/lib/2018-04-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
  637. data/lib/2018-04-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
  638. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
  639. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall.rb +173 -0
  640. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb +116 -0
  641. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_collection.rb +128 -0
  642. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol.rb +63 -0
  643. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol_type.rb +16 -0
  644. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_ipconfiguration.rb +130 -0
  645. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_list_result.rb +99 -0
  646. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_network_rule.rb +134 -0
  647. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_collection.rb +128 -0
  648. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_protocol.rb +18 -0
  649. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_rcaction.rb +47 -0
  650. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_rcaction_type.rb +16 -0
  651. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +80 -0
  652. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
  653. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
  654. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
  655. data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +107 -0
  656. data/lib/2018-04-01/generated/azure_mgmt_network/models/backend_address_pool.rb +137 -0
  657. data/lib/2018-04-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
  658. data/lib/2018-04-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
  659. data/lib/2018-04-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
  660. data/lib/2018-04-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
  661. data/lib/2018-04-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
  662. data/lib/2018-04-01/generated/azure_mgmt_network/models/bgp_settings.rb +70 -0
  663. data/lib/2018-04-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
  664. data/lib/2018-04-01/generated/azure_mgmt_network/models/circuit_connection_status.rb +17 -0
  665. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor.rb +114 -0
  666. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
  667. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
  668. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +84 -0
  669. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +68 -0
  670. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +199 -0
  671. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
  672. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_source_status.rb +17 -0
  673. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
  674. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_shared_key.rb +54 -0
  675. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
  676. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +103 -0
  677. data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
  678. data/lib/2018-04-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
  679. data/lib/2018-04-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
  680. data/lib/2018-04-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
  681. data/lib/2018-04-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
  682. data/lib/2018-04-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +83 -0
  683. data/lib/2018-04-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
  684. data/lib/2018-04-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb +165 -0
  685. data/lib/2018-04-01/generated/azure_mgmt_network/models/ddos_protection_plan_list_result.rb +99 -0
  686. data/lib/2018-04-01/generated/azure_mgmt_network/models/device_properties.rb +68 -0
  687. data/lib/2018-04-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
  688. data/lib/2018-04-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
  689. data/lib/2018-04-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
  690. data/lib/2018-04-01/generated/azure_mgmt_network/models/direction.rb +16 -0
  691. data/lib/2018-04-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
  692. data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
  693. data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
  694. data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
  695. data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +263 -0
  696. data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_route.rb +128 -0
  697. data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
  698. data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
  699. data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
  700. data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  701. data/lib/2018-04-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
  702. data/lib/2018-04-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
  703. data/lib/2018-04-01/generated/azure_mgmt_network/models/error.rb +100 -0
  704. data/lib/2018-04-01/generated/azure_mgmt_network/models/error_details.rb +69 -0
  705. data/lib/2018-04-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
  706. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit.rb +246 -0
  707. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
  708. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +104 -0
  709. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +145 -0
  710. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
  711. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +291 -0
  712. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
  713. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
  714. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
  715. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
  716. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_reference.rb +47 -0
  717. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +91 -0
  718. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
  719. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
  720. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +72 -0
  721. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
  722. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +16 -0
  723. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
  724. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +67 -0
  725. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
  726. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
  727. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb +229 -0
  728. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_cross_connection_list_result.rb +100 -0
  729. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb +250 -0
  730. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb +102 -0
  731. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb +83 -0
  732. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_cross_connections_routes_table_summary_list_result.rb +70 -0
  733. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_peering_state.rb +16 -0
  734. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_peering_type.rb +17 -0
  735. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +136 -0
  736. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
  737. data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
  738. data/lib/2018-04-01/generated/azure_mgmt_network/models/flow_log_information.rb +95 -0
  739. data/lib/2018-04-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +48 -0
  740. data/lib/2018-04-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +235 -0
  741. data/lib/2018-04-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
  742. data/lib/2018-04-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
  743. data/lib/2018-04-01/generated/azure_mgmt_network/models/get_vpn_sites_configuration_request.rb +68 -0
  744. data/lib/2018-04-01/generated/azure_mgmt_network/models/httpconfiguration.rb +85 -0
  745. data/lib/2018-04-01/generated/azure_mgmt_network/models/httpheader.rb +57 -0
  746. data/lib/2018-04-01/generated/azure_mgmt_network/models/httpmethod.rb +15 -0
  747. data/lib/2018-04-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb +144 -0
  748. data/lib/2018-04-01/generated/azure_mgmt_network/models/hub_virtual_network_connection_status.rb +18 -0
  749. data/lib/2018-04-01/generated/azure_mgmt_network/models/ike_encryption.rb +21 -0
  750. data/lib/2018-04-01/generated/azure_mgmt_network/models/ike_integrity.rb +20 -0
  751. data/lib/2018-04-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +169 -0
  752. data/lib/2018-04-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +172 -0
  753. data/lib/2018-04-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
  754. data/lib/2018-04-01/generated/azure_mgmt_network/models/ip_flow_protocol.rb +16 -0
  755. data/lib/2018-04-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
  756. data/lib/2018-04-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
  757. data/lib/2018-04-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
  758. data/lib/2018-04-01/generated/azure_mgmt_network/models/ipconfiguration.rb +127 -0
  759. data/lib/2018-04-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
  760. data/lib/2018-04-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
  761. data/lib/2018-04-01/generated/azure_mgmt_network/models/ipsec_policy.rb +137 -0
  762. data/lib/2018-04-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +95 -0
  763. data/lib/2018-04-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
  764. data/lib/2018-04-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
  765. data/lib/2018-04-01/generated/azure_mgmt_network/models/list_hub_virtual_network_connections_result.rb +102 -0
  766. data/lib/2018-04-01/generated/azure_mgmt_network/models/list_virtual_hubs_result.rb +100 -0
  767. data/lib/2018-04-01/generated/azure_mgmt_network/models/list_virtual_wans_result.rb +100 -0
  768. data/lib/2018-04-01/generated/azure_mgmt_network/models/list_vpn_connections_result.rb +101 -0
  769. data/lib/2018-04-01/generated/azure_mgmt_network/models/list_vpn_gateways_result.rb +100 -0
  770. data/lib/2018-04-01/generated/azure_mgmt_network/models/list_vpn_sites_result.rb +100 -0
  771. data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer.rb +290 -0
  772. data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
  773. data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
  774. data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
  775. data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
  776. data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
  777. data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
  778. data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  779. data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +209 -0
  780. data/lib/2018-04-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
  781. data/lib/2018-04-01/generated/azure_mgmt_network/models/local_network_gateway.rb +157 -0
  782. data/lib/2018-04-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
  783. data/lib/2018-04-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
  784. data/lib/2018-04-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
  785. data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface.rb +227 -0
  786. data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
  787. data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +117 -0
  788. data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +239 -0
  789. data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
  790. data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
  791. data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
  792. data/lib/2018-04-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
  793. data/lib/2018-04-01/generated/azure_mgmt_network/models/network_security_group.rb +206 -0
  794. data/lib/2018-04-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
  795. data/lib/2018-04-01/generated/azure_mgmt_network/models/network_watcher.rb +110 -0
  796. data/lib/2018-04-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
  797. data/lib/2018-04-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
  798. data/lib/2018-04-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
  799. data/lib/2018-04-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
  800. data/lib/2018-04-01/generated/azure_mgmt_network/models/operation.rb +83 -0
  801. data/lib/2018-04-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
  802. data/lib/2018-04-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
  803. data/lib/2018-04-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
  804. data/lib/2018-04-01/generated/azure_mgmt_network/models/origin.rb +17 -0
  805. data/lib/2018-04-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +124 -0
  806. data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture.rb +118 -0
  807. data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
  808. data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
  809. data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +118 -0
  810. data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
  811. data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_result.rb +168 -0
  812. data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
  813. data/lib/2018-04-01/generated/azure_mgmt_network/models/patch_route_filter.rb +155 -0
  814. data/lib/2018-04-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +128 -0
  815. data/lib/2018-04-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
  816. data/lib/2018-04-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
  817. data/lib/2018-04-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
  818. data/lib/2018-04-01/generated/azure_mgmt_network/models/pfs_group.rb +23 -0
  819. data/lib/2018-04-01/generated/azure_mgmt_network/models/policies.rb +57 -0
  820. data/lib/2018-04-01/generated/azure_mgmt_network/models/probe.rb +170 -0
  821. data/lib/2018-04-01/generated/azure_mgmt_network/models/probe_protocol.rb +17 -0
  822. data/lib/2018-04-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
  823. data/lib/2018-04-01/generated/azure_mgmt_network/models/protocol.rb +18 -0
  824. data/lib/2018-04-01/generated/azure_mgmt_network/models/protocol_configuration.rb +47 -0
  825. data/lib/2018-04-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
  826. data/lib/2018-04-01/generated/azure_mgmt_network/models/public_ipaddress.rb +248 -0
  827. data/lib/2018-04-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
  828. data/lib/2018-04-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
  829. data/lib/2018-04-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
  830. data/lib/2018-04-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  831. data/lib/2018-04-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
  832. data/lib/2018-04-01/generated/azure_mgmt_network/models/resource.rb +100 -0
  833. data/lib/2018-04-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +103 -0
  834. data/lib/2018-04-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
  835. data/lib/2018-04-01/generated/azure_mgmt_network/models/route.rb +118 -0
  836. data/lib/2018-04-01/generated/azure_mgmt_network/models/route_filter.rb +153 -0
  837. data/lib/2018-04-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
  838. data/lib/2018-04-01/generated/azure_mgmt_network/models/route_filter_rule.rb +138 -0
  839. data/lib/2018-04-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
  840. data/lib/2018-04-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
  841. data/lib/2018-04-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
  842. data/lib/2018-04-01/generated/azure_mgmt_network/models/route_table.rb +163 -0
  843. data/lib/2018-04-01/generated/azure_mgmt_network/models/route_table_list_result.rb +99 -0
  844. data/lib/2018-04-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +58 -0
  845. data/lib/2018-04-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
  846. data/lib/2018-04-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
  847. data/lib/2018-04-01/generated/azure_mgmt_network/models/security_rule.rb +315 -0
  848. data/lib/2018-04-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
  849. data/lib/2018-04-01/generated/azure_mgmt_network/models/security_rule_associations.rb +101 -0
  850. data/lib/2018-04-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
  851. data/lib/2018-04-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
  852. data/lib/2018-04-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +17 -0
  853. data/lib/2018-04-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +76 -0
  854. data/lib/2018-04-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
  855. data/lib/2018-04-01/generated/azure_mgmt_network/models/severity.rb +16 -0
  856. data/lib/2018-04-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
  857. data/lib/2018-04-01/generated/azure_mgmt_network/models/subnet.rb +178 -0
  858. data/lib/2018-04-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
  859. data/lib/2018-04-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
  860. data/lib/2018-04-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
  861. data/lib/2018-04-01/generated/azure_mgmt_network/models/topology.rb +92 -0
  862. data/lib/2018-04-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
  863. data/lib/2018-04-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
  864. data/lib/2018-04-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
  865. data/lib/2018-04-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb +79 -0
  866. data/lib/2018-04-01/generated/azure_mgmt_network/models/traffic_analytics_properties.rb +47 -0
  867. data/lib/2018-04-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
  868. data/lib/2018-04-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
  869. data/lib/2018-04-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
  870. data/lib/2018-04-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
  871. data/lib/2018-04-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
  872. data/lib/2018-04-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
  873. data/lib/2018-04-01/generated/azure_mgmt_network/models/tunnel_connection_status.rb +18 -0
  874. data/lib/2018-04-01/generated/azure_mgmt_network/models/usage.rb +95 -0
  875. data/lib/2018-04-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
  876. data/lib/2018-04-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
  877. data/lib/2018-04-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
  878. data/lib/2018-04-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
  879. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_hub.rb +154 -0
  880. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network.rb +228 -0
  881. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
  882. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +246 -0
  883. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +325 -0
  884. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +326 -0
  885. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
  886. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
  887. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
  888. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +117 -0
  889. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
  890. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
  891. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +74 -0
  892. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +27 -0
  893. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +27 -0
  894. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
  895. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
  896. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
  897. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +171 -0
  898. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
  899. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
  900. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
  901. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
  902. data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_wan.rb +163 -0
  903. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +155 -0
  904. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_client_ipsec_parameters.rb +137 -0
  905. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +96 -0
  906. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +17 -0
  907. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +92 -0
  908. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +92 -0
  909. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_connection.rb +224 -0
  910. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_connection_status.rb +18 -0
  911. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
  912. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_gateway.rb +167 -0
  913. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_site.rb +181 -0
  914. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_site_id.rb +48 -0
  915. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
  916. data/lib/2018-04-01/generated/azure_mgmt_network/module_definition.rb +9 -0
  917. data/lib/2018-04-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +323 -0
  918. data/lib/2018-04-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +227 -0
  919. data/lib/2018-04-01/generated/azure_mgmt_network/network_interfaces.rb +1210 -0
  920. data/lib/2018-04-01/generated/azure_mgmt_network/network_management_client.rb +431 -0
  921. data/lib/2018-04-01/generated/azure_mgmt_network/network_security_groups.rb +960 -0
  922. data/lib/2018-04-01/generated/azure_mgmt_network/network_watchers.rb +2440 -0
  923. data/lib/2018-04-01/generated/azure_mgmt_network/operations.rb +215 -0
  924. data/lib/2018-04-01/generated/azure_mgmt_network/packet_captures.rb +784 -0
  925. data/lib/2018-04-01/generated/azure_mgmt_network/public_ipaddresses.rb +942 -0
  926. data/lib/2018-04-01/generated/azure_mgmt_network/route_filter_rules.rb +774 -0
  927. data/lib/2018-04-01/generated/azure_mgmt_network/route_filters.rb +945 -0
  928. data/lib/2018-04-01/generated/azure_mgmt_network/route_tables.rb +942 -0
  929. data/lib/2018-04-01/generated/azure_mgmt_network/routes.rb +615 -0
  930. data/lib/2018-04-01/generated/azure_mgmt_network/security_rules.rb +633 -0
  931. data/lib/2018-04-01/generated/azure_mgmt_network/subnets.rb +619 -0
  932. data/lib/2018-04-01/generated/azure_mgmt_network/usages.rb +223 -0
  933. data/lib/2018-04-01/generated/azure_mgmt_network/virtual_hubs.rb +975 -0
  934. data/lib/2018-04-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1231 -0
  935. data/lib/2018-04-01/generated/azure_mgmt_network/virtual_network_gateways.rb +2609 -0
  936. data/lib/2018-04-01/generated/azure_mgmt_network/virtual_network_peerings.rb +624 -0
  937. data/lib/2018-04-01/generated/azure_mgmt_network/virtual_networks.rb +1239 -0
  938. data/lib/2018-04-01/generated/azure_mgmt_network/virtual_wans.rb +980 -0
  939. data/lib/2018-04-01/generated/azure_mgmt_network/vpn_connections.rb +637 -0
  940. data/lib/2018-04-01/generated/azure_mgmt_network/vpn_gateways.rb +975 -0
  941. data/lib/2018-04-01/generated/azure_mgmt_network/vpn_sites.rb +958 -0
  942. data/lib/2018-04-01/generated/azure_mgmt_network/vpn_sites_configuration.rb +171 -0
  943. data/lib/2018-06-01/generated/azure_mgmt_network.rb +416 -0
  944. data/lib/2018-06-01/generated/azure_mgmt_network/application_gateways.rb +1773 -0
  945. data/lib/2018-06-01/generated/azure_mgmt_network/application_security_groups.rb +800 -0
  946. data/lib/2018-06-01/generated/azure_mgmt_network/available_endpoint_services.rb +222 -0
  947. data/lib/2018-06-01/generated/azure_mgmt_network/azure_firewalls.rb +787 -0
  948. data/lib/2018-06-01/generated/azure_mgmt_network/bgp_service_communities.rb +217 -0
  949. data/lib/2018-06-01/generated/azure_mgmt_network/connection_monitors.rb +973 -0
  950. data/lib/2018-06-01/generated/azure_mgmt_network/ddos_protection_plans.rb +800 -0
  951. data/lib/2018-06-01/generated/azure_mgmt_network/default_security_rules.rb +333 -0
  952. data/lib/2018-06-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +621 -0
  953. data/lib/2018-06-01/generated/azure_mgmt_network/express_route_circuit_connections.rb +459 -0
  954. data/lib/2018-06-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +616 -0
  955. data/lib/2018-06-01/generated/azure_mgmt_network/express_route_circuits.rb +1577 -0
  956. data/lib/2018-06-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb +638 -0
  957. data/lib/2018-06-01/generated/azure_mgmt_network/express_route_cross_connections.rb +1288 -0
  958. data/lib/2018-06-01/generated/azure_mgmt_network/express_route_service_providers.rb +217 -0
  959. data/lib/2018-06-01/generated/azure_mgmt_network/hub_virtual_network_connections.rb +330 -0
  960. data/lib/2018-06-01/generated/azure_mgmt_network/inbound_nat_rules.rb +619 -0
  961. data/lib/2018-06-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +326 -0
  962. data/lib/2018-06-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +326 -0
  963. data/lib/2018-06-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +323 -0
  964. data/lib/2018-06-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +227 -0
  965. data/lib/2018-06-01/generated/azure_mgmt_network/load_balancer_probes.rb +323 -0
  966. data/lib/2018-06-01/generated/azure_mgmt_network/load_balancers.rb +942 -0
  967. data/lib/2018-06-01/generated/azure_mgmt_network/local_network_gateways.rb +769 -0
  968. data/lib/2018-06-01/generated/azure_mgmt_network/models/access.rb +16 -0
  969. data/lib/2018-06-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
  970. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway.rb +483 -0
  971. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +102 -0
  972. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_autoscale_bounds.rb +60 -0
  973. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb +47 -0
  974. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
  975. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
  976. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
  977. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
  978. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +131 -0
  979. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +55 -0
  980. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
  981. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
  982. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +72 -0
  983. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
  984. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +242 -0
  985. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
  986. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
  987. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
  988. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
  989. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
  990. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
  991. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +141 -0
  992. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +139 -0
  993. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +101 -0
  994. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +164 -0
  995. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +104 -0
  996. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
  997. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
  998. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +148 -0
  999. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +202 -0
  1000. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
  1001. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
  1002. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +200 -0
  1003. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
  1004. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +166 -0
  1005. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
  1006. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
  1007. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +21 -0
  1008. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +126 -0
  1009. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +39 -0
  1010. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
  1011. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
  1012. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
  1013. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
  1014. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
  1015. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +18 -0
  1016. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +151 -0
  1017. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +130 -0
  1018. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
  1019. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
  1020. data/lib/2018-06-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
  1021. data/lib/2018-06-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
  1022. data/lib/2018-06-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
  1023. data/lib/2018-06-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
  1024. data/lib/2018-06-01/generated/azure_mgmt_network/models/availability.rb +68 -0
  1025. data/lib/2018-06-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
  1026. data/lib/2018-06-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
  1027. data/lib/2018-06-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
  1028. data/lib/2018-06-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
  1029. data/lib/2018-06-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
  1030. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
  1031. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall.rb +173 -0
  1032. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb +116 -0
  1033. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_collection.rb +128 -0
  1034. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol.rb +63 -0
  1035. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol_type.rb +16 -0
  1036. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_ipconfiguration.rb +130 -0
  1037. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_list_result.rb +99 -0
  1038. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_network_rule.rb +134 -0
  1039. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_collection.rb +128 -0
  1040. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_protocol.rb +18 -0
  1041. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_rcaction.rb +47 -0
  1042. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_rcaction_type.rb +16 -0
  1043. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +80 -0
  1044. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
  1045. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
  1046. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
  1047. data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +107 -0
  1048. data/lib/2018-06-01/generated/azure_mgmt_network/models/backend_address_pool.rb +137 -0
  1049. data/lib/2018-06-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
  1050. data/lib/2018-06-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
  1051. data/lib/2018-06-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
  1052. data/lib/2018-06-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
  1053. data/lib/2018-06-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
  1054. data/lib/2018-06-01/generated/azure_mgmt_network/models/bgp_settings.rb +70 -0
  1055. data/lib/2018-06-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
  1056. data/lib/2018-06-01/generated/azure_mgmt_network/models/circuit_connection_status.rb +17 -0
  1057. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor.rb +114 -0
  1058. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
  1059. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
  1060. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +84 -0
  1061. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +68 -0
  1062. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +199 -0
  1063. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
  1064. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_source_status.rb +17 -0
  1065. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
  1066. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_shared_key.rb +54 -0
  1067. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
  1068. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +103 -0
  1069. data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
  1070. data/lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
  1071. data/lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
  1072. data/lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
  1073. data/lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
  1074. data/lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +83 -0
  1075. data/lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
  1076. data/lib/2018-06-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb +165 -0
  1077. data/lib/2018-06-01/generated/azure_mgmt_network/models/ddos_protection_plan_list_result.rb +99 -0
  1078. data/lib/2018-06-01/generated/azure_mgmt_network/models/device_properties.rb +68 -0
  1079. data/lib/2018-06-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
  1080. data/lib/2018-06-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
  1081. data/lib/2018-06-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
  1082. data/lib/2018-06-01/generated/azure_mgmt_network/models/direction.rb +16 -0
  1083. data/lib/2018-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
  1084. data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
  1085. data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
  1086. data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
  1087. data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +263 -0
  1088. data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_route.rb +128 -0
  1089. data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
  1090. data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
  1091. data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
  1092. data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  1093. data/lib/2018-06-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
  1094. data/lib/2018-06-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
  1095. data/lib/2018-06-01/generated/azure_mgmt_network/models/error.rb +100 -0
  1096. data/lib/2018-06-01/generated/azure_mgmt_network/models/error_details.rb +69 -0
  1097. data/lib/2018-06-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
  1098. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit.rb +246 -0
  1099. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
  1100. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +104 -0
  1101. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +145 -0
  1102. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
  1103. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +291 -0
  1104. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
  1105. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
  1106. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
  1107. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
  1108. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_reference.rb +47 -0
  1109. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +91 -0
  1110. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
  1111. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
  1112. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +72 -0
  1113. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
  1114. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +16 -0
  1115. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
  1116. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +67 -0
  1117. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
  1118. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
  1119. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb +229 -0
  1120. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection_list_result.rb +100 -0
  1121. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb +250 -0
  1122. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb +102 -0
  1123. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb +83 -0
  1124. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connections_routes_table_summary_list_result.rb +70 -0
  1125. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_peering_state.rb +16 -0
  1126. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_peering_type.rb +17 -0
  1127. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +136 -0
  1128. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
  1129. data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
  1130. data/lib/2018-06-01/generated/azure_mgmt_network/models/flow_log_information.rb +95 -0
  1131. data/lib/2018-06-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +48 -0
  1132. data/lib/2018-06-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +235 -0
  1133. data/lib/2018-06-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
  1134. data/lib/2018-06-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
  1135. data/lib/2018-06-01/generated/azure_mgmt_network/models/get_vpn_sites_configuration_request.rb +68 -0
  1136. data/lib/2018-06-01/generated/azure_mgmt_network/models/httpconfiguration.rb +85 -0
  1137. data/lib/2018-06-01/generated/azure_mgmt_network/models/httpheader.rb +57 -0
  1138. data/lib/2018-06-01/generated/azure_mgmt_network/models/httpmethod.rb +15 -0
  1139. data/lib/2018-06-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb +144 -0
  1140. data/lib/2018-06-01/generated/azure_mgmt_network/models/hub_virtual_network_connection_status.rb +18 -0
  1141. data/lib/2018-06-01/generated/azure_mgmt_network/models/ike_encryption.rb +21 -0
  1142. data/lib/2018-06-01/generated/azure_mgmt_network/models/ike_integrity.rb +20 -0
  1143. data/lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +169 -0
  1144. data/lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +172 -0
  1145. data/lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
  1146. data/lib/2018-06-01/generated/azure_mgmt_network/models/ip_flow_protocol.rb +16 -0
  1147. data/lib/2018-06-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
  1148. data/lib/2018-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
  1149. data/lib/2018-06-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
  1150. data/lib/2018-06-01/generated/azure_mgmt_network/models/ipconfiguration.rb +127 -0
  1151. data/lib/2018-06-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
  1152. data/lib/2018-06-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
  1153. data/lib/2018-06-01/generated/azure_mgmt_network/models/ipsec_policy.rb +137 -0
  1154. data/lib/2018-06-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +95 -0
  1155. data/lib/2018-06-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
  1156. data/lib/2018-06-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
  1157. data/lib/2018-06-01/generated/azure_mgmt_network/models/list_hub_virtual_network_connections_result.rb +102 -0
  1158. data/lib/2018-06-01/generated/azure_mgmt_network/models/list_virtual_hubs_result.rb +100 -0
  1159. data/lib/2018-06-01/generated/azure_mgmt_network/models/list_virtual_wans_result.rb +100 -0
  1160. data/lib/2018-06-01/generated/azure_mgmt_network/models/list_vpn_connections_result.rb +101 -0
  1161. data/lib/2018-06-01/generated/azure_mgmt_network/models/list_vpn_gateways_result.rb +100 -0
  1162. data/lib/2018-06-01/generated/azure_mgmt_network/models/list_vpn_sites_result.rb +100 -0
  1163. data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer.rb +290 -0
  1164. data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
  1165. data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
  1166. data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
  1167. data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
  1168. data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
  1169. data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
  1170. data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  1171. data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +209 -0
  1172. data/lib/2018-06-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
  1173. data/lib/2018-06-01/generated/azure_mgmt_network/models/local_network_gateway.rb +157 -0
  1174. data/lib/2018-06-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
  1175. data/lib/2018-06-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
  1176. data/lib/2018-06-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
  1177. data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface.rb +227 -0
  1178. data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
  1179. data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +117 -0
  1180. data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +239 -0
  1181. data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
  1182. data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
  1183. data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
  1184. data/lib/2018-06-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
  1185. data/lib/2018-06-01/generated/azure_mgmt_network/models/network_security_group.rb +206 -0
  1186. data/lib/2018-06-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
  1187. data/lib/2018-06-01/generated/azure_mgmt_network/models/network_watcher.rb +110 -0
  1188. data/lib/2018-06-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
  1189. data/lib/2018-06-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
  1190. data/lib/2018-06-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
  1191. data/lib/2018-06-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
  1192. data/lib/2018-06-01/generated/azure_mgmt_network/models/operation.rb +83 -0
  1193. data/lib/2018-06-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
  1194. data/lib/2018-06-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
  1195. data/lib/2018-06-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
  1196. data/lib/2018-06-01/generated/azure_mgmt_network/models/origin.rb +17 -0
  1197. data/lib/2018-06-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +124 -0
  1198. data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture.rb +118 -0
  1199. data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
  1200. data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
  1201. data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +118 -0
  1202. data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
  1203. data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture_result.rb +168 -0
  1204. data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
  1205. data/lib/2018-06-01/generated/azure_mgmt_network/models/patch_route_filter.rb +155 -0
  1206. data/lib/2018-06-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +128 -0
  1207. data/lib/2018-06-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
  1208. data/lib/2018-06-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
  1209. data/lib/2018-06-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
  1210. data/lib/2018-06-01/generated/azure_mgmt_network/models/pfs_group.rb +23 -0
  1211. data/lib/2018-06-01/generated/azure_mgmt_network/models/policies.rb +57 -0
  1212. data/lib/2018-06-01/generated/azure_mgmt_network/models/probe.rb +170 -0
  1213. data/lib/2018-06-01/generated/azure_mgmt_network/models/probe_protocol.rb +17 -0
  1214. data/lib/2018-06-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
  1215. data/lib/2018-06-01/generated/azure_mgmt_network/models/protocol.rb +18 -0
  1216. data/lib/2018-06-01/generated/azure_mgmt_network/models/protocol_configuration.rb +47 -0
  1217. data/lib/2018-06-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
  1218. data/lib/2018-06-01/generated/azure_mgmt_network/models/public_ipaddress.rb +248 -0
  1219. data/lib/2018-06-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
  1220. data/lib/2018-06-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
  1221. data/lib/2018-06-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
  1222. data/lib/2018-06-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  1223. data/lib/2018-06-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
  1224. data/lib/2018-06-01/generated/azure_mgmt_network/models/resource.rb +100 -0
  1225. data/lib/2018-06-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +103 -0
  1226. data/lib/2018-06-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
  1227. data/lib/2018-06-01/generated/azure_mgmt_network/models/route.rb +118 -0
  1228. data/lib/2018-06-01/generated/azure_mgmt_network/models/route_filter.rb +153 -0
  1229. data/lib/2018-06-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
  1230. data/lib/2018-06-01/generated/azure_mgmt_network/models/route_filter_rule.rb +138 -0
  1231. data/lib/2018-06-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
  1232. data/lib/2018-06-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
  1233. data/lib/2018-06-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
  1234. data/lib/2018-06-01/generated/azure_mgmt_network/models/route_table.rb +163 -0
  1235. data/lib/2018-06-01/generated/azure_mgmt_network/models/route_table_list_result.rb +99 -0
  1236. data/lib/2018-06-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +58 -0
  1237. data/lib/2018-06-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
  1238. data/lib/2018-06-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
  1239. data/lib/2018-06-01/generated/azure_mgmt_network/models/security_rule.rb +315 -0
  1240. data/lib/2018-06-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
  1241. data/lib/2018-06-01/generated/azure_mgmt_network/models/security_rule_associations.rb +101 -0
  1242. data/lib/2018-06-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
  1243. data/lib/2018-06-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
  1244. data/lib/2018-06-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +17 -0
  1245. data/lib/2018-06-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +76 -0
  1246. data/lib/2018-06-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
  1247. data/lib/2018-06-01/generated/azure_mgmt_network/models/severity.rb +16 -0
  1248. data/lib/2018-06-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
  1249. data/lib/2018-06-01/generated/azure_mgmt_network/models/subnet.rb +178 -0
  1250. data/lib/2018-06-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
  1251. data/lib/2018-06-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
  1252. data/lib/2018-06-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
  1253. data/lib/2018-06-01/generated/azure_mgmt_network/models/topology.rb +92 -0
  1254. data/lib/2018-06-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
  1255. data/lib/2018-06-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
  1256. data/lib/2018-06-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
  1257. data/lib/2018-06-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb +79 -0
  1258. data/lib/2018-06-01/generated/azure_mgmt_network/models/traffic_analytics_properties.rb +47 -0
  1259. data/lib/2018-06-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
  1260. data/lib/2018-06-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
  1261. data/lib/2018-06-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
  1262. data/lib/2018-06-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
  1263. data/lib/2018-06-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
  1264. data/lib/2018-06-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
  1265. data/lib/2018-06-01/generated/azure_mgmt_network/models/tunnel_connection_status.rb +18 -0
  1266. data/lib/2018-06-01/generated/azure_mgmt_network/models/usage.rb +95 -0
  1267. data/lib/2018-06-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
  1268. data/lib/2018-06-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
  1269. data/lib/2018-06-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
  1270. data/lib/2018-06-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
  1271. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_hub.rb +154 -0
  1272. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network.rb +228 -0
  1273. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
  1274. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +246 -0
  1275. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +325 -0
  1276. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +326 -0
  1277. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
  1278. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
  1279. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
  1280. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +117 -0
  1281. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
  1282. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
  1283. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +74 -0
  1284. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +27 -0
  1285. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +27 -0
  1286. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
  1287. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
  1288. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
  1289. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +171 -0
  1290. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
  1291. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
  1292. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
  1293. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
  1294. data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_wan.rb +163 -0
  1295. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +155 -0
  1296. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_client_ipsec_parameters.rb +137 -0
  1297. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +96 -0
  1298. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +17 -0
  1299. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +92 -0
  1300. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +92 -0
  1301. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_connection.rb +224 -0
  1302. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_connection_status.rb +18 -0
  1303. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
  1304. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_gateway.rb +167 -0
  1305. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_site.rb +181 -0
  1306. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_site_id.rb +48 -0
  1307. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
  1308. data/lib/2018-06-01/generated/azure_mgmt_network/module_definition.rb +9 -0
  1309. data/lib/2018-06-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +323 -0
  1310. data/lib/2018-06-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +227 -0
  1311. data/lib/2018-06-01/generated/azure_mgmt_network/network_interfaces.rb +1210 -0
  1312. data/lib/2018-06-01/generated/azure_mgmt_network/network_management_client.rb +431 -0
  1313. data/lib/2018-06-01/generated/azure_mgmt_network/network_security_groups.rb +960 -0
  1314. data/lib/2018-06-01/generated/azure_mgmt_network/network_watchers.rb +2440 -0
  1315. data/lib/2018-06-01/generated/azure_mgmt_network/operations.rb +215 -0
  1316. data/lib/2018-06-01/generated/azure_mgmt_network/packet_captures.rb +784 -0
  1317. data/lib/2018-06-01/generated/azure_mgmt_network/public_ipaddresses.rb +942 -0
  1318. data/lib/2018-06-01/generated/azure_mgmt_network/route_filter_rules.rb +774 -0
  1319. data/lib/2018-06-01/generated/azure_mgmt_network/route_filters.rb +945 -0
  1320. data/lib/2018-06-01/generated/azure_mgmt_network/route_tables.rb +942 -0
  1321. data/lib/2018-06-01/generated/azure_mgmt_network/routes.rb +615 -0
  1322. data/lib/2018-06-01/generated/azure_mgmt_network/security_rules.rb +633 -0
  1323. data/lib/2018-06-01/generated/azure_mgmt_network/subnets.rb +619 -0
  1324. data/lib/2018-06-01/generated/azure_mgmt_network/usages.rb +223 -0
  1325. data/lib/2018-06-01/generated/azure_mgmt_network/virtual_hubs.rb +975 -0
  1326. data/lib/2018-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1231 -0
  1327. data/lib/2018-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb +2609 -0
  1328. data/lib/2018-06-01/generated/azure_mgmt_network/virtual_network_peerings.rb +624 -0
  1329. data/lib/2018-06-01/generated/azure_mgmt_network/virtual_networks.rb +1239 -0
  1330. data/lib/2018-06-01/generated/azure_mgmt_network/virtual_wans.rb +980 -0
  1331. data/lib/2018-06-01/generated/azure_mgmt_network/vpn_connections.rb +637 -0
  1332. data/lib/2018-06-01/generated/azure_mgmt_network/vpn_gateways.rb +975 -0
  1333. data/lib/2018-06-01/generated/azure_mgmt_network/vpn_sites.rb +958 -0
  1334. data/lib/2018-06-01/generated/azure_mgmt_network/vpn_sites_configuration.rb +171 -0
  1335. data/lib/azure_mgmt_network.rb +11 -8
  1336. data/lib/profiles/latest/modules/network_profile_module.rb +945 -705
  1337. data/lib/version.rb +1 -1
  1338. metadata +1140 -5
@@ -0,0 +1,2609 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Network::Mgmt::V2018_02_01
7
+ #
8
+ # VirtualNetworkGateways
9
+ #
10
+ class VirtualNetworkGateways
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the VirtualNetworkGateways class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [NetworkManagementClient] reference to the NetworkManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Creates or updates a virtual network gateway in the specified resource group.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group.
28
+ # @param virtual_network_gateway_name [String] The name of the virtual network
29
+ # gateway.
30
+ # @param parameters [VirtualNetworkGateway] Parameters supplied to create or
31
+ # update virtual network gateway operation.
32
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
33
+ # will be added to the HTTP request.
34
+ #
35
+ # @return [VirtualNetworkGateway] operation results.
36
+ #
37
+ def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
38
+ response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
39
+ response.body unless response.nil?
40
+ end
41
+
42
+ #
43
+ # @param resource_group_name [String] The name of the resource group.
44
+ # @param virtual_network_gateway_name [String] The name of the virtual network
45
+ # gateway.
46
+ # @param parameters [VirtualNetworkGateway] Parameters supplied to create or
47
+ # update virtual network gateway operation.
48
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
+ # will be added to the HTTP request.
50
+ #
51
+ # @return [Concurrent::Promise] promise which provides async access to http
52
+ # response.
53
+ #
54
+ def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
55
+ # Send request
56
+ promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers)
57
+
58
+ promise = promise.then do |response|
59
+ # Defining deserialization method.
60
+ deserialize_method = lambda do |parsed_response|
61
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
62
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
63
+ end
64
+
65
+ # Waiting for response.
66
+ @client.get_long_running_operation_result(response, deserialize_method)
67
+ end
68
+
69
+ promise
70
+ end
71
+
72
+ #
73
+ # Gets the specified virtual network gateway by resource group.
74
+ #
75
+ # @param resource_group_name [String] The name of the resource group.
76
+ # @param virtual_network_gateway_name [String] The name of the virtual network
77
+ # gateway.
78
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
79
+ # will be added to the HTTP request.
80
+ #
81
+ # @return [VirtualNetworkGateway] operation results.
82
+ #
83
+ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
84
+ response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
85
+ response.body unless response.nil?
86
+ end
87
+
88
+ #
89
+ # Gets the specified virtual network gateway by resource group.
90
+ #
91
+ # @param resource_group_name [String] The name of the resource group.
92
+ # @param virtual_network_gateway_name [String] The name of the virtual network
93
+ # gateway.
94
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
95
+ # will be added to the HTTP request.
96
+ #
97
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
98
+ #
99
+ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
100
+ get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
101
+ end
102
+
103
+ #
104
+ # Gets the specified virtual network gateway by resource group.
105
+ #
106
+ # @param resource_group_name [String] The name of the resource group.
107
+ # @param virtual_network_gateway_name [String] The name of the virtual network
108
+ # gateway.
109
+ # @param [Hash{String => String}] A hash of custom headers that will be added
110
+ # to the HTTP request.
111
+ #
112
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
113
+ #
114
+ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
115
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
116
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
117
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
118
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
119
+
120
+
121
+ request_headers = {}
122
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
123
+
124
+ # Set Headers
125
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
126
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
127
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'
128
+
129
+ request_url = @base_url || @client.base_url
130
+
131
+ options = {
132
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
133
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
134
+ query_params: {'api-version' => @client.api_version},
135
+ headers: request_headers.merge(custom_headers || {}),
136
+ base_url: request_url
137
+ }
138
+ promise = @client.make_request_async(:get, path_template, options)
139
+
140
+ promise = promise.then do |result|
141
+ http_response = result.response
142
+ status_code = http_response.status
143
+ response_content = http_response.body
144
+ unless status_code == 200
145
+ error_model = JSON.load(response_content)
146
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
147
+ end
148
+
149
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
150
+ # Deserialize Response
151
+ if status_code == 200
152
+ begin
153
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
154
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
155
+ result.body = @client.deserialize(result_mapper, parsed_response)
156
+ rescue Exception => e
157
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
158
+ end
159
+ end
160
+
161
+ result
162
+ end
163
+
164
+ promise.execute
165
+ end
166
+
167
+ #
168
+ # Deletes the specified virtual network gateway.
169
+ #
170
+ # @param resource_group_name [String] The name of the resource group.
171
+ # @param virtual_network_gateway_name [String] The name of the virtual network
172
+ # gateway.
173
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
174
+ # will be added to the HTTP request.
175
+ #
176
+ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
177
+ response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
178
+ nil
179
+ end
180
+
181
+ #
182
+ # @param resource_group_name [String] The name of the resource group.
183
+ # @param virtual_network_gateway_name [String] The name of the virtual network
184
+ # gateway.
185
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
186
+ # will be added to the HTTP request.
187
+ #
188
+ # @return [Concurrent::Promise] promise which provides async access to http
189
+ # response.
190
+ #
191
+ def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
192
+ # Send request
193
+ promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
194
+
195
+ promise = promise.then do |response|
196
+ # Defining deserialization method.
197
+ deserialize_method = lambda do |parsed_response|
198
+ end
199
+
200
+ # Waiting for response.
201
+ @client.get_long_running_operation_result(response, deserialize_method)
202
+ end
203
+
204
+ promise
205
+ end
206
+
207
+ #
208
+ # Updates a virtual network gateway tags.
209
+ #
210
+ # @param resource_group_name [String] The name of the resource group.
211
+ # @param virtual_network_gateway_name [String] The name of the virtual network
212
+ # gateway.
213
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
214
+ # gateway tags.
215
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
216
+ # will be added to the HTTP request.
217
+ #
218
+ # @return [VirtualNetworkGateway] operation results.
219
+ #
220
+ def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
221
+ response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
222
+ response.body unless response.nil?
223
+ end
224
+
225
+ #
226
+ # @param resource_group_name [String] The name of the resource group.
227
+ # @param virtual_network_gateway_name [String] The name of the virtual network
228
+ # gateway.
229
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
230
+ # gateway tags.
231
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
232
+ # will be added to the HTTP request.
233
+ #
234
+ # @return [Concurrent::Promise] promise which provides async access to http
235
+ # response.
236
+ #
237
+ def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
238
+ # Send request
239
+ promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers)
240
+
241
+ promise = promise.then do |response|
242
+ # Defining deserialization method.
243
+ deserialize_method = lambda do |parsed_response|
244
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
245
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
246
+ end
247
+
248
+ # Waiting for response.
249
+ @client.get_long_running_operation_result(response, deserialize_method)
250
+ end
251
+
252
+ promise
253
+ end
254
+
255
+ #
256
+ # Gets all virtual network gateways by resource group.
257
+ #
258
+ # @param resource_group_name [String] The name of the resource group.
259
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
260
+ # will be added to the HTTP request.
261
+ #
262
+ # @return [Array<VirtualNetworkGateway>] operation results.
263
+ #
264
+ def list(resource_group_name, custom_headers:nil)
265
+ first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers)
266
+ first_page.get_all_items
267
+ end
268
+
269
+ #
270
+ # Gets all virtual network gateways by resource group.
271
+ #
272
+ # @param resource_group_name [String] The name of the resource group.
273
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
274
+ # will be added to the HTTP request.
275
+ #
276
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
277
+ #
278
+ def list_with_http_info(resource_group_name, custom_headers:nil)
279
+ list_async(resource_group_name, custom_headers:custom_headers).value!
280
+ end
281
+
282
+ #
283
+ # Gets all virtual network gateways by resource group.
284
+ #
285
+ # @param resource_group_name [String] The name of the resource group.
286
+ # @param [Hash{String => String}] A hash of custom headers that will be added
287
+ # to the HTTP request.
288
+ #
289
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
290
+ #
291
+ def list_async(resource_group_name, custom_headers:nil)
292
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
293
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
294
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
295
+
296
+
297
+ request_headers = {}
298
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
299
+
300
+ # Set Headers
301
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
302
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
303
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways'
304
+
305
+ request_url = @base_url || @client.base_url
306
+
307
+ options = {
308
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
309
+ path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
310
+ query_params: {'api-version' => @client.api_version},
311
+ headers: request_headers.merge(custom_headers || {}),
312
+ base_url: request_url
313
+ }
314
+ promise = @client.make_request_async(:get, path_template, options)
315
+
316
+ promise = promise.then do |result|
317
+ http_response = result.response
318
+ status_code = http_response.status
319
+ response_content = http_response.body
320
+ unless status_code == 200
321
+ error_model = JSON.load(response_content)
322
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
323
+ end
324
+
325
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
326
+ # Deserialize Response
327
+ if status_code == 200
328
+ begin
329
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
330
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGatewayListResult.mapper()
331
+ result.body = @client.deserialize(result_mapper, parsed_response)
332
+ rescue Exception => e
333
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
334
+ end
335
+ end
336
+
337
+ result
338
+ end
339
+
340
+ promise.execute
341
+ end
342
+
343
+ #
344
+ # Gets all the connections in a virtual network gateway.
345
+ #
346
+ # @param resource_group_name [String] The name of the resource group.
347
+ # @param virtual_network_gateway_name [String] The name of the virtual network
348
+ # gateway.
349
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
350
+ # will be added to the HTTP request.
351
+ #
352
+ # @return [Array<VirtualNetworkGatewayConnectionListEntity>] operation results.
353
+ #
354
+ def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
355
+ first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
356
+ first_page.get_all_items
357
+ end
358
+
359
+ #
360
+ # Gets all the connections in a virtual network gateway.
361
+ #
362
+ # @param resource_group_name [String] The name of the resource group.
363
+ # @param virtual_network_gateway_name [String] The name of the virtual network
364
+ # gateway.
365
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
366
+ # will be added to the HTTP request.
367
+ #
368
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
369
+ #
370
+ def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
371
+ list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
372
+ end
373
+
374
+ #
375
+ # Gets all the connections in a virtual network gateway.
376
+ #
377
+ # @param resource_group_name [String] The name of the resource group.
378
+ # @param virtual_network_gateway_name [String] The name of the virtual network
379
+ # gateway.
380
+ # @param [Hash{String => String}] A hash of custom headers that will be added
381
+ # to the HTTP request.
382
+ #
383
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
384
+ #
385
+ def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
386
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
387
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
388
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
389
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
390
+
391
+
392
+ request_headers = {}
393
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
394
+
395
+ # Set Headers
396
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
397
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
398
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections'
399
+
400
+ request_url = @base_url || @client.base_url
401
+
402
+ options = {
403
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
404
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
405
+ query_params: {'api-version' => @client.api_version},
406
+ headers: request_headers.merge(custom_headers || {}),
407
+ base_url: request_url
408
+ }
409
+ promise = @client.make_request_async(:get, path_template, options)
410
+
411
+ promise = promise.then do |result|
412
+ http_response = result.response
413
+ status_code = http_response.status
414
+ response_content = http_response.body
415
+ unless status_code == 200
416
+ error_model = JSON.load(response_content)
417
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
418
+ end
419
+
420
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
421
+ # Deserialize Response
422
+ if status_code == 200
423
+ begin
424
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
425
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGatewayListConnectionsResult.mapper()
426
+ result.body = @client.deserialize(result_mapper, parsed_response)
427
+ rescue Exception => e
428
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
429
+ end
430
+ end
431
+
432
+ result
433
+ end
434
+
435
+ promise.execute
436
+ end
437
+
438
+ #
439
+ # Resets the primary of the virtual network gateway in the specified resource
440
+ # group.
441
+ #
442
+ # @param resource_group_name [String] The name of the resource group.
443
+ # @param virtual_network_gateway_name [String] The name of the virtual network
444
+ # gateway.
445
+ # @param gateway_vip [String] Virtual network gateway vip address supplied to
446
+ # the begin reset of the active-active feature enabled gateway.
447
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
448
+ # will be added to the HTTP request.
449
+ #
450
+ # @return [VirtualNetworkGateway] operation results.
451
+ #
452
+ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
453
+ response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value!
454
+ response.body unless response.nil?
455
+ end
456
+
457
+ #
458
+ # @param resource_group_name [String] The name of the resource group.
459
+ # @param virtual_network_gateway_name [String] The name of the virtual network
460
+ # gateway.
461
+ # @param gateway_vip [String] Virtual network gateway vip address supplied to
462
+ # the begin reset of the active-active feature enabled gateway.
463
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
464
+ # will be added to the HTTP request.
465
+ #
466
+ # @return [Concurrent::Promise] promise which provides async access to http
467
+ # response.
468
+ #
469
+ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
470
+ # Send request
471
+ promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers)
472
+
473
+ promise = promise.then do |response|
474
+ # Defining deserialization method.
475
+ deserialize_method = lambda do |parsed_response|
476
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
477
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
478
+ end
479
+
480
+ # Waiting for response.
481
+ @client.get_long_running_operation_result(response, deserialize_method)
482
+ end
483
+
484
+ promise
485
+ end
486
+
487
+ #
488
+ # Generates VPN client package for P2S client of the virtual network gateway in
489
+ # the specified resource group.
490
+ #
491
+ # @param resource_group_name [String] The name of the resource group.
492
+ # @param virtual_network_gateway_name [String] The name of the virtual network
493
+ # gateway.
494
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
495
+ # virtual network gateway VPN client package operation.
496
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
497
+ # will be added to the HTTP request.
498
+ #
499
+ # @return [String] operation results.
500
+ #
501
+ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
502
+ response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
503
+ response.body unless response.nil?
504
+ end
505
+
506
+ #
507
+ # @param resource_group_name [String] The name of the resource group.
508
+ # @param virtual_network_gateway_name [String] The name of the virtual network
509
+ # gateway.
510
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
511
+ # virtual network gateway VPN client package operation.
512
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
513
+ # will be added to the HTTP request.
514
+ #
515
+ # @return [Concurrent::Promise] promise which provides async access to http
516
+ # response.
517
+ #
518
+ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
519
+ # Send request
520
+ promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers)
521
+
522
+ promise = promise.then do |response|
523
+ # Defining deserialization method.
524
+ deserialize_method = lambda do |parsed_response|
525
+ result_mapper = {
526
+ client_side_validation: true,
527
+ required: false,
528
+ serialized_name: 'parsed_response',
529
+ type: {
530
+ name: 'String'
531
+ }
532
+ }
533
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
534
+ end
535
+
536
+ # Waiting for response.
537
+ @client.get_long_running_operation_result(response, deserialize_method)
538
+ end
539
+
540
+ promise
541
+ end
542
+
543
+ #
544
+ # Generates VPN profile for P2S client of the virtual network gateway in the
545
+ # specified resource group. Used for IKEV2 and radius based authentication.
546
+ #
547
+ # @param resource_group_name [String] The name of the resource group.
548
+ # @param virtual_network_gateway_name [String] The name of the virtual network
549
+ # gateway.
550
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
551
+ # virtual network gateway VPN client package operation.
552
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
553
+ # will be added to the HTTP request.
554
+ #
555
+ # @return [String] operation results.
556
+ #
557
+ def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
558
+ response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
559
+ response.body unless response.nil?
560
+ end
561
+
562
+ #
563
+ # @param resource_group_name [String] The name of the resource group.
564
+ # @param virtual_network_gateway_name [String] The name of the virtual network
565
+ # gateway.
566
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
567
+ # virtual network gateway VPN client package operation.
568
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
569
+ # will be added to the HTTP request.
570
+ #
571
+ # @return [Concurrent::Promise] promise which provides async access to http
572
+ # response.
573
+ #
574
+ def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
575
+ # Send request
576
+ promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers)
577
+
578
+ promise = promise.then do |response|
579
+ # Defining deserialization method.
580
+ deserialize_method = lambda do |parsed_response|
581
+ result_mapper = {
582
+ client_side_validation: true,
583
+ required: false,
584
+ serialized_name: 'parsed_response',
585
+ type: {
586
+ name: 'String'
587
+ }
588
+ }
589
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
590
+ end
591
+
592
+ # Waiting for response.
593
+ @client.get_long_running_operation_result(response, deserialize_method)
594
+ end
595
+
596
+ promise
597
+ end
598
+
599
+ #
600
+ # Gets pre-generated VPN profile for P2S client of the virtual network gateway
601
+ # in the specified resource group. The profile needs to be generated first
602
+ # using generateVpnProfile.
603
+ #
604
+ # @param resource_group_name [String] The name of the resource group.
605
+ # @param virtual_network_gateway_name [String] The name of the virtual network
606
+ # gateway.
607
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
608
+ # will be added to the HTTP request.
609
+ #
610
+ # @return [String] operation results.
611
+ #
612
+ def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
613
+ response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
614
+ response.body unless response.nil?
615
+ end
616
+
617
+ #
618
+ # @param resource_group_name [String] The name of the resource group.
619
+ # @param virtual_network_gateway_name [String] The name of the virtual network
620
+ # gateway.
621
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
622
+ # will be added to the HTTP request.
623
+ #
624
+ # @return [Concurrent::Promise] promise which provides async access to http
625
+ # response.
626
+ #
627
+ def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
628
+ # Send request
629
+ promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
630
+
631
+ promise = promise.then do |response|
632
+ # Defining deserialization method.
633
+ deserialize_method = lambda do |parsed_response|
634
+ result_mapper = {
635
+ client_side_validation: true,
636
+ required: false,
637
+ serialized_name: 'parsed_response',
638
+ type: {
639
+ name: 'String'
640
+ }
641
+ }
642
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
643
+ end
644
+
645
+ # Waiting for response.
646
+ @client.get_long_running_operation_result(response, deserialize_method)
647
+ end
648
+
649
+ promise
650
+ end
651
+
652
+ #
653
+ # The GetBgpPeerStatus operation retrieves the status of all BGP peers.
654
+ #
655
+ # @param resource_group_name [String] The name of the resource group.
656
+ # @param virtual_network_gateway_name [String] The name of the virtual network
657
+ # gateway.
658
+ # @param peer [String] The IP address of the peer to retrieve the status of.
659
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
660
+ # will be added to the HTTP request.
661
+ #
662
+ # @return [BgpPeerStatusListResult] operation results.
663
+ #
664
+ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
665
+ response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value!
666
+ response.body unless response.nil?
667
+ end
668
+
669
+ #
670
+ # @param resource_group_name [String] The name of the resource group.
671
+ # @param virtual_network_gateway_name [String] The name of the virtual network
672
+ # gateway.
673
+ # @param peer [String] The IP address of the peer to retrieve the status of.
674
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
675
+ # will be added to the HTTP request.
676
+ #
677
+ # @return [Concurrent::Promise] promise which provides async access to http
678
+ # response.
679
+ #
680
+ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
681
+ # Send request
682
+ promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers)
683
+
684
+ promise = promise.then do |response|
685
+ # Defining deserialization method.
686
+ deserialize_method = lambda do |parsed_response|
687
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::BgpPeerStatusListResult.mapper()
688
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
689
+ end
690
+
691
+ # Waiting for response.
692
+ @client.get_long_running_operation_result(response, deserialize_method)
693
+ end
694
+
695
+ promise
696
+ end
697
+
698
+ #
699
+ # Gets a xml format representation for supported vpn devices.
700
+ #
701
+ # @param resource_group_name [String] The name of the resource group.
702
+ # @param virtual_network_gateway_name [String] The name of the virtual network
703
+ # gateway.
704
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
705
+ # will be added to the HTTP request.
706
+ #
707
+ # @return [String] operation results.
708
+ #
709
+ def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
710
+ response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
711
+ response.body unless response.nil?
712
+ end
713
+
714
+ #
715
+ # Gets a xml format representation for supported vpn devices.
716
+ #
717
+ # @param resource_group_name [String] The name of the resource group.
718
+ # @param virtual_network_gateway_name [String] The name of the virtual network
719
+ # gateway.
720
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
721
+ # will be added to the HTTP request.
722
+ #
723
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
724
+ #
725
+ def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
726
+ supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
727
+ end
728
+
729
+ #
730
+ # Gets a xml format representation for supported vpn devices.
731
+ #
732
+ # @param resource_group_name [String] The name of the resource group.
733
+ # @param virtual_network_gateway_name [String] The name of the virtual network
734
+ # gateway.
735
+ # @param [Hash{String => String}] A hash of custom headers that will be added
736
+ # to the HTTP request.
737
+ #
738
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
739
+ #
740
+ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
741
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
742
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
743
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
744
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
745
+
746
+
747
+ request_headers = {}
748
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
749
+
750
+ # Set Headers
751
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
752
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
753
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices'
754
+
755
+ request_url = @base_url || @client.base_url
756
+
757
+ options = {
758
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
759
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
760
+ query_params: {'api-version' => @client.api_version},
761
+ headers: request_headers.merge(custom_headers || {}),
762
+ base_url: request_url
763
+ }
764
+ promise = @client.make_request_async(:post, path_template, options)
765
+
766
+ promise = promise.then do |result|
767
+ http_response = result.response
768
+ status_code = http_response.status
769
+ response_content = http_response.body
770
+ unless status_code == 200
771
+ error_model = JSON.load(response_content)
772
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
773
+ end
774
+
775
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
776
+ # Deserialize Response
777
+ if status_code == 200
778
+ begin
779
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
780
+ result_mapper = {
781
+ client_side_validation: true,
782
+ required: false,
783
+ serialized_name: 'parsed_response',
784
+ type: {
785
+ name: 'String'
786
+ }
787
+ }
788
+ result.body = @client.deserialize(result_mapper, parsed_response)
789
+ rescue Exception => e
790
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
791
+ end
792
+ end
793
+
794
+ result
795
+ end
796
+
797
+ promise.execute
798
+ end
799
+
800
+ #
801
+ # This operation retrieves a list of routes the virtual network gateway has
802
+ # learned, including routes learned from BGP peers.
803
+ #
804
+ # @param resource_group_name [String] The name of the resource group.
805
+ # @param virtual_network_gateway_name [String] The name of the virtual network
806
+ # gateway.
807
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
808
+ # will be added to the HTTP request.
809
+ #
810
+ # @return [GatewayRouteListResult] operation results.
811
+ #
812
+ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
813
+ response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
814
+ response.body unless response.nil?
815
+ end
816
+
817
+ #
818
+ # @param resource_group_name [String] The name of the resource group.
819
+ # @param virtual_network_gateway_name [String] The name of the virtual network
820
+ # gateway.
821
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
822
+ # will be added to the HTTP request.
823
+ #
824
+ # @return [Concurrent::Promise] promise which provides async access to http
825
+ # response.
826
+ #
827
+ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
828
+ # Send request
829
+ promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
830
+
831
+ promise = promise.then do |response|
832
+ # Defining deserialization method.
833
+ deserialize_method = lambda do |parsed_response|
834
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::GatewayRouteListResult.mapper()
835
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
836
+ end
837
+
838
+ # Waiting for response.
839
+ @client.get_long_running_operation_result(response, deserialize_method)
840
+ end
841
+
842
+ promise
843
+ end
844
+
845
+ #
846
+ # This operation retrieves a list of routes the virtual network gateway is
847
+ # advertising to the specified peer.
848
+ #
849
+ # @param resource_group_name [String] The name of the resource group.
850
+ # @param virtual_network_gateway_name [String] The name of the virtual network
851
+ # gateway.
852
+ # @param peer [String] The IP address of the peer
853
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
854
+ # will be added to the HTTP request.
855
+ #
856
+ # @return [GatewayRouteListResult] operation results.
857
+ #
858
+ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
859
+ response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value!
860
+ response.body unless response.nil?
861
+ end
862
+
863
+ #
864
+ # @param resource_group_name [String] The name of the resource group.
865
+ # @param virtual_network_gateway_name [String] The name of the virtual network
866
+ # gateway.
867
+ # @param peer [String] The IP address of the peer
868
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
869
+ # will be added to the HTTP request.
870
+ #
871
+ # @return [Concurrent::Promise] promise which provides async access to http
872
+ # response.
873
+ #
874
+ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
875
+ # Send request
876
+ promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers)
877
+
878
+ promise = promise.then do |response|
879
+ # Defining deserialization method.
880
+ deserialize_method = lambda do |parsed_response|
881
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::GatewayRouteListResult.mapper()
882
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
883
+ end
884
+
885
+ # Waiting for response.
886
+ @client.get_long_running_operation_result(response, deserialize_method)
887
+ end
888
+
889
+ promise
890
+ end
891
+
892
+ #
893
+ # The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy
894
+ # for P2S client of virtual network gateway in the specified resource group
895
+ # through Network resource provider.
896
+ #
897
+ # @param resource_group_name [String] The name of the resource group.
898
+ # @param virtual_network_gateway_name [String] The name of the virtual network
899
+ # gateway.
900
+ # @param vpnclient_ipsec_params [VpnClientIPsecParameters] Parameters supplied
901
+ # to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S
902
+ # client operation through Network resource provider.
903
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
904
+ # will be added to the HTTP request.
905
+ #
906
+ # @return [VpnClientIPsecParameters] operation results.
907
+ #
908
+ def set_vpnclient_ipsec_parameters(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:nil)
909
+ response = set_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:custom_headers).value!
910
+ response.body unless response.nil?
911
+ end
912
+
913
+ #
914
+ # @param resource_group_name [String] The name of the resource group.
915
+ # @param virtual_network_gateway_name [String] The name of the virtual network
916
+ # gateway.
917
+ # @param vpnclient_ipsec_params [VpnClientIPsecParameters] Parameters supplied
918
+ # to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S
919
+ # client operation through Network resource provider.
920
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
921
+ # will be added to the HTTP request.
922
+ #
923
+ # @return [Concurrent::Promise] promise which provides async access to http
924
+ # response.
925
+ #
926
+ def set_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:nil)
927
+ # Send request
928
+ promise = begin_set_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:custom_headers)
929
+
930
+ promise = promise.then do |response|
931
+ # Defining deserialization method.
932
+ deserialize_method = lambda do |parsed_response|
933
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientIPsecParameters.mapper()
934
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
935
+ end
936
+
937
+ # Waiting for response.
938
+ @client.get_long_running_operation_result(response, deserialize_method)
939
+ end
940
+
941
+ promise
942
+ end
943
+
944
+ #
945
+ # The Get VpnclientIpsecParameters operation retrieves information about the
946
+ # vpnclient ipsec policy for P2S client of virtual network gateway in the
947
+ # specified resource group through Network resource provider.
948
+ #
949
+ # @param resource_group_name [String] The name of the resource group.
950
+ # @param virtual_network_gateway_name [String] The virtual network gateway
951
+ # name.
952
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
953
+ # will be added to the HTTP request.
954
+ #
955
+ # @return [VpnClientIPsecParameters] operation results.
956
+ #
957
+ def get_vpnclient_ipsec_parameters(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
958
+ response = get_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
959
+ response.body unless response.nil?
960
+ end
961
+
962
+ #
963
+ # @param resource_group_name [String] The name of the resource group.
964
+ # @param virtual_network_gateway_name [String] The virtual network gateway
965
+ # name.
966
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
967
+ # will be added to the HTTP request.
968
+ #
969
+ # @return [Concurrent::Promise] promise which provides async access to http
970
+ # response.
971
+ #
972
+ def get_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
973
+ # Send request
974
+ promise = begin_get_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
975
+
976
+ promise = promise.then do |response|
977
+ # Defining deserialization method.
978
+ deserialize_method = lambda do |parsed_response|
979
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientIPsecParameters.mapper()
980
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
981
+ end
982
+
983
+ # Waiting for response.
984
+ @client.get_long_running_operation_result(response, deserialize_method)
985
+ end
986
+
987
+ promise
988
+ end
989
+
990
+ #
991
+ # Gets a xml format representation for vpn device configuration script.
992
+ #
993
+ # @param resource_group_name [String] The name of the resource group.
994
+ # @param virtual_network_gateway_connection_name [String] The name of the
995
+ # virtual network gateway connection for which the configuration script is
996
+ # generated.
997
+ # @param parameters [VpnDeviceScriptParameters] Parameters supplied to the
998
+ # generate vpn device script operation.
999
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1000
+ # will be added to the HTTP request.
1001
+ #
1002
+ # @return [String] operation results.
1003
+ #
1004
+ def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
1005
+ response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
1006
+ response.body unless response.nil?
1007
+ end
1008
+
1009
+ #
1010
+ # Gets a xml format representation for vpn device configuration script.
1011
+ #
1012
+ # @param resource_group_name [String] The name of the resource group.
1013
+ # @param virtual_network_gateway_connection_name [String] The name of the
1014
+ # virtual network gateway connection for which the configuration script is
1015
+ # generated.
1016
+ # @param parameters [VpnDeviceScriptParameters] Parameters supplied to the
1017
+ # generate vpn device script operation.
1018
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1019
+ # will be added to the HTTP request.
1020
+ #
1021
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1022
+ #
1023
+ def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
1024
+ vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
1025
+ end
1026
+
1027
+ #
1028
+ # Gets a xml format representation for vpn device configuration script.
1029
+ #
1030
+ # @param resource_group_name [String] The name of the resource group.
1031
+ # @param virtual_network_gateway_connection_name [String] The name of the
1032
+ # virtual network gateway connection for which the configuration script is
1033
+ # generated.
1034
+ # @param parameters [VpnDeviceScriptParameters] Parameters supplied to the
1035
+ # generate vpn device script operation.
1036
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1037
+ # to the HTTP request.
1038
+ #
1039
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1040
+ #
1041
+ def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
1042
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1043
+ fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
1044
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1045
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1046
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1047
+
1048
+
1049
+ request_headers = {}
1050
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1051
+
1052
+ # Set Headers
1053
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1054
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1055
+
1056
+ # Serialize Request
1057
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnDeviceScriptParameters.mapper()
1058
+ request_content = @client.serialize(request_mapper, parameters)
1059
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1060
+
1061
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript'
1062
+
1063
+ request_url = @base_url || @client.base_url
1064
+
1065
+ options = {
1066
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1067
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
1068
+ query_params: {'api-version' => @client.api_version},
1069
+ body: request_content,
1070
+ headers: request_headers.merge(custom_headers || {}),
1071
+ base_url: request_url
1072
+ }
1073
+ promise = @client.make_request_async(:post, path_template, options)
1074
+
1075
+ promise = promise.then do |result|
1076
+ http_response = result.response
1077
+ status_code = http_response.status
1078
+ response_content = http_response.body
1079
+ unless status_code == 200
1080
+ error_model = JSON.load(response_content)
1081
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1082
+ end
1083
+
1084
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1085
+ # Deserialize Response
1086
+ if status_code == 200
1087
+ begin
1088
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1089
+ result_mapper = {
1090
+ client_side_validation: true,
1091
+ required: false,
1092
+ serialized_name: 'parsed_response',
1093
+ type: {
1094
+ name: 'String'
1095
+ }
1096
+ }
1097
+ result.body = @client.deserialize(result_mapper, parsed_response)
1098
+ rescue Exception => e
1099
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1100
+ end
1101
+ end
1102
+
1103
+ result
1104
+ end
1105
+
1106
+ promise.execute
1107
+ end
1108
+
1109
+ #
1110
+ # Creates or updates a virtual network gateway in the specified resource group.
1111
+ #
1112
+ # @param resource_group_name [String] The name of the resource group.
1113
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1114
+ # gateway.
1115
+ # @param parameters [VirtualNetworkGateway] Parameters supplied to create or
1116
+ # update virtual network gateway operation.
1117
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1118
+ # will be added to the HTTP request.
1119
+ #
1120
+ # @return [VirtualNetworkGateway] operation results.
1121
+ #
1122
+ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1123
+ response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1124
+ response.body unless response.nil?
1125
+ end
1126
+
1127
+ #
1128
+ # Creates or updates a virtual network gateway in the specified resource group.
1129
+ #
1130
+ # @param resource_group_name [String] The name of the resource group.
1131
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1132
+ # gateway.
1133
+ # @param parameters [VirtualNetworkGateway] Parameters supplied to create or
1134
+ # update virtual network gateway operation.
1135
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1136
+ # will be added to the HTTP request.
1137
+ #
1138
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1139
+ #
1140
+ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1141
+ begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1142
+ end
1143
+
1144
+ #
1145
+ # Creates or updates a virtual network gateway in the specified resource group.
1146
+ #
1147
+ # @param resource_group_name [String] The name of the resource group.
1148
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1149
+ # gateway.
1150
+ # @param parameters [VirtualNetworkGateway] Parameters supplied to create or
1151
+ # update virtual network gateway operation.
1152
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1153
+ # to the HTTP request.
1154
+ #
1155
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1156
+ #
1157
+ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1158
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1159
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1160
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1161
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1162
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1163
+
1164
+
1165
+ request_headers = {}
1166
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1167
+
1168
+ # Set Headers
1169
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1170
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1171
+
1172
+ # Serialize Request
1173
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
1174
+ request_content = @client.serialize(request_mapper, parameters)
1175
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1176
+
1177
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'
1178
+
1179
+ request_url = @base_url || @client.base_url
1180
+
1181
+ options = {
1182
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1183
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1184
+ query_params: {'api-version' => @client.api_version},
1185
+ body: request_content,
1186
+ headers: request_headers.merge(custom_headers || {}),
1187
+ base_url: request_url
1188
+ }
1189
+ promise = @client.make_request_async(:put, path_template, options)
1190
+
1191
+ promise = promise.then do |result|
1192
+ http_response = result.response
1193
+ status_code = http_response.status
1194
+ response_content = http_response.body
1195
+ unless status_code == 200 || status_code == 201
1196
+ error_model = JSON.load(response_content)
1197
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1198
+ end
1199
+
1200
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1201
+ # Deserialize Response
1202
+ if status_code == 200
1203
+ begin
1204
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1205
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
1206
+ result.body = @client.deserialize(result_mapper, parsed_response)
1207
+ rescue Exception => e
1208
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1209
+ end
1210
+ end
1211
+ # Deserialize Response
1212
+ if status_code == 201
1213
+ begin
1214
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1215
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
1216
+ result.body = @client.deserialize(result_mapper, parsed_response)
1217
+ rescue Exception => e
1218
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1219
+ end
1220
+ end
1221
+
1222
+ result
1223
+ end
1224
+
1225
+ promise.execute
1226
+ end
1227
+
1228
+ #
1229
+ # Deletes the specified virtual network gateway.
1230
+ #
1231
+ # @param resource_group_name [String] The name of the resource group.
1232
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1233
+ # gateway.
1234
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1235
+ # will be added to the HTTP request.
1236
+ #
1237
+ #
1238
+ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1239
+ response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
1240
+ nil
1241
+ end
1242
+
1243
+ #
1244
+ # Deletes the specified virtual network gateway.
1245
+ #
1246
+ # @param resource_group_name [String] The name of the resource group.
1247
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1248
+ # gateway.
1249
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1250
+ # will be added to the HTTP request.
1251
+ #
1252
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1253
+ #
1254
+ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1255
+ begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
1256
+ end
1257
+
1258
+ #
1259
+ # Deletes the specified virtual network gateway.
1260
+ #
1261
+ # @param resource_group_name [String] The name of the resource group.
1262
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1263
+ # gateway.
1264
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1265
+ # to the HTTP request.
1266
+ #
1267
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1268
+ #
1269
+ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1270
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1271
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1272
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1273
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1274
+
1275
+
1276
+ request_headers = {}
1277
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1278
+
1279
+ # Set Headers
1280
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1281
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1282
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'
1283
+
1284
+ request_url = @base_url || @client.base_url
1285
+
1286
+ options = {
1287
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1288
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1289
+ query_params: {'api-version' => @client.api_version},
1290
+ headers: request_headers.merge(custom_headers || {}),
1291
+ base_url: request_url
1292
+ }
1293
+ promise = @client.make_request_async(:delete, path_template, options)
1294
+
1295
+ promise = promise.then do |result|
1296
+ http_response = result.response
1297
+ status_code = http_response.status
1298
+ response_content = http_response.body
1299
+ unless status_code == 204 || status_code == 202 || status_code == 200
1300
+ error_model = JSON.load(response_content)
1301
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1302
+ end
1303
+
1304
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1305
+
1306
+ result
1307
+ end
1308
+
1309
+ promise.execute
1310
+ end
1311
+
1312
+ #
1313
+ # Updates a virtual network gateway tags.
1314
+ #
1315
+ # @param resource_group_name [String] The name of the resource group.
1316
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1317
+ # gateway.
1318
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
1319
+ # gateway tags.
1320
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1321
+ # will be added to the HTTP request.
1322
+ #
1323
+ # @return [VirtualNetworkGateway] operation results.
1324
+ #
1325
+ def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1326
+ response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1327
+ response.body unless response.nil?
1328
+ end
1329
+
1330
+ #
1331
+ # Updates a virtual network gateway tags.
1332
+ #
1333
+ # @param resource_group_name [String] The name of the resource group.
1334
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1335
+ # gateway.
1336
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
1337
+ # gateway tags.
1338
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1339
+ # will be added to the HTTP request.
1340
+ #
1341
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1342
+ #
1343
+ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1344
+ begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1345
+ end
1346
+
1347
+ #
1348
+ # Updates a virtual network gateway tags.
1349
+ #
1350
+ # @param resource_group_name [String] The name of the resource group.
1351
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1352
+ # gateway.
1353
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
1354
+ # gateway tags.
1355
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1356
+ # to the HTTP request.
1357
+ #
1358
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1359
+ #
1360
+ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1361
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1362
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1363
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1364
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1365
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1366
+
1367
+
1368
+ request_headers = {}
1369
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1370
+
1371
+ # Set Headers
1372
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1373
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1374
+
1375
+ # Serialize Request
1376
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::TagsObject.mapper()
1377
+ request_content = @client.serialize(request_mapper, parameters)
1378
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1379
+
1380
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'
1381
+
1382
+ request_url = @base_url || @client.base_url
1383
+
1384
+ options = {
1385
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1386
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1387
+ query_params: {'api-version' => @client.api_version},
1388
+ body: request_content,
1389
+ headers: request_headers.merge(custom_headers || {}),
1390
+ base_url: request_url
1391
+ }
1392
+ promise = @client.make_request_async(:patch, path_template, options)
1393
+
1394
+ promise = promise.then do |result|
1395
+ http_response = result.response
1396
+ status_code = http_response.status
1397
+ response_content = http_response.body
1398
+ unless status_code == 200
1399
+ error_model = JSON.load(response_content)
1400
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1401
+ end
1402
+
1403
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1404
+ # Deserialize Response
1405
+ if status_code == 200
1406
+ begin
1407
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1408
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
1409
+ result.body = @client.deserialize(result_mapper, parsed_response)
1410
+ rescue Exception => e
1411
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1412
+ end
1413
+ end
1414
+
1415
+ result
1416
+ end
1417
+
1418
+ promise.execute
1419
+ end
1420
+
1421
+ #
1422
+ # Resets the primary of the virtual network gateway in the specified resource
1423
+ # group.
1424
+ #
1425
+ # @param resource_group_name [String] The name of the resource group.
1426
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1427
+ # gateway.
1428
+ # @param gateway_vip [String] Virtual network gateway vip address supplied to
1429
+ # the begin reset of the active-active feature enabled gateway.
1430
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1431
+ # will be added to the HTTP request.
1432
+ #
1433
+ # @return [VirtualNetworkGateway] operation results.
1434
+ #
1435
+ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
1436
+ response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value!
1437
+ response.body unless response.nil?
1438
+ end
1439
+
1440
+ #
1441
+ # Resets the primary of the virtual network gateway in the specified resource
1442
+ # group.
1443
+ #
1444
+ # @param resource_group_name [String] The name of the resource group.
1445
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1446
+ # gateway.
1447
+ # @param gateway_vip [String] Virtual network gateway vip address supplied to
1448
+ # the begin reset of the active-active feature enabled gateway.
1449
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1450
+ # will be added to the HTTP request.
1451
+ #
1452
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1453
+ #
1454
+ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
1455
+ begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value!
1456
+ end
1457
+
1458
+ #
1459
+ # Resets the primary of the virtual network gateway in the specified resource
1460
+ # group.
1461
+ #
1462
+ # @param resource_group_name [String] The name of the resource group.
1463
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1464
+ # gateway.
1465
+ # @param gateway_vip [String] Virtual network gateway vip address supplied to
1466
+ # the begin reset of the active-active feature enabled gateway.
1467
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1468
+ # to the HTTP request.
1469
+ #
1470
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1471
+ #
1472
+ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
1473
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1474
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1475
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1476
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1477
+
1478
+
1479
+ request_headers = {}
1480
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1481
+
1482
+ # Set Headers
1483
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1484
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1485
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset'
1486
+
1487
+ request_url = @base_url || @client.base_url
1488
+
1489
+ options = {
1490
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1491
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1492
+ query_params: {'gatewayVip' => gateway_vip,'api-version' => @client.api_version},
1493
+ headers: request_headers.merge(custom_headers || {}),
1494
+ base_url: request_url
1495
+ }
1496
+ promise = @client.make_request_async(:post, path_template, options)
1497
+
1498
+ promise = promise.then do |result|
1499
+ http_response = result.response
1500
+ status_code = http_response.status
1501
+ response_content = http_response.body
1502
+ unless status_code == 202 || status_code == 200
1503
+ error_model = JSON.load(response_content)
1504
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1505
+ end
1506
+
1507
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1508
+ # Deserialize Response
1509
+ if status_code == 200
1510
+ begin
1511
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1512
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
1513
+ result.body = @client.deserialize(result_mapper, parsed_response)
1514
+ rescue Exception => e
1515
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1516
+ end
1517
+ end
1518
+
1519
+ result
1520
+ end
1521
+
1522
+ promise.execute
1523
+ end
1524
+
1525
+ #
1526
+ # Generates VPN client package for P2S client of the virtual network gateway in
1527
+ # the specified resource group.
1528
+ #
1529
+ # @param resource_group_name [String] The name of the resource group.
1530
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1531
+ # gateway.
1532
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
1533
+ # virtual network gateway VPN client package operation.
1534
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1535
+ # will be added to the HTTP request.
1536
+ #
1537
+ # @return [String] operation results.
1538
+ #
1539
+ def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1540
+ response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1541
+ response.body unless response.nil?
1542
+ end
1543
+
1544
+ #
1545
+ # Generates VPN client package for P2S client of the virtual network gateway in
1546
+ # the specified resource group.
1547
+ #
1548
+ # @param resource_group_name [String] The name of the resource group.
1549
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1550
+ # gateway.
1551
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
1552
+ # virtual network gateway VPN client package operation.
1553
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1554
+ # will be added to the HTTP request.
1555
+ #
1556
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1557
+ #
1558
+ def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1559
+ begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1560
+ end
1561
+
1562
+ #
1563
+ # Generates VPN client package for P2S client of the virtual network gateway in
1564
+ # the specified resource group.
1565
+ #
1566
+ # @param resource_group_name [String] The name of the resource group.
1567
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1568
+ # gateway.
1569
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
1570
+ # virtual network gateway VPN client package operation.
1571
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1572
+ # to the HTTP request.
1573
+ #
1574
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1575
+ #
1576
+ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1577
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1578
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1579
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1580
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1581
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1582
+
1583
+
1584
+ request_headers = {}
1585
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1586
+
1587
+ # Set Headers
1588
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1589
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1590
+
1591
+ # Serialize Request
1592
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientParameters.mapper()
1593
+ request_content = @client.serialize(request_mapper, parameters)
1594
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1595
+
1596
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage'
1597
+
1598
+ request_url = @base_url || @client.base_url
1599
+
1600
+ options = {
1601
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1602
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1603
+ query_params: {'api-version' => @client.api_version},
1604
+ body: request_content,
1605
+ headers: request_headers.merge(custom_headers || {}),
1606
+ base_url: request_url
1607
+ }
1608
+ promise = @client.make_request_async(:post, path_template, options)
1609
+
1610
+ promise = promise.then do |result|
1611
+ http_response = result.response
1612
+ status_code = http_response.status
1613
+ response_content = http_response.body
1614
+ unless status_code == 200
1615
+ error_model = JSON.load(response_content)
1616
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1617
+ end
1618
+
1619
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1620
+ # Deserialize Response
1621
+ if status_code == 200
1622
+ begin
1623
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1624
+ result_mapper = {
1625
+ client_side_validation: true,
1626
+ required: false,
1627
+ serialized_name: 'parsed_response',
1628
+ type: {
1629
+ name: 'String'
1630
+ }
1631
+ }
1632
+ result.body = @client.deserialize(result_mapper, parsed_response)
1633
+ rescue Exception => e
1634
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1635
+ end
1636
+ end
1637
+
1638
+ result
1639
+ end
1640
+
1641
+ promise.execute
1642
+ end
1643
+
1644
+ #
1645
+ # Generates VPN profile for P2S client of the virtual network gateway in the
1646
+ # specified resource group. Used for IKEV2 and radius based authentication.
1647
+ #
1648
+ # @param resource_group_name [String] The name of the resource group.
1649
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1650
+ # gateway.
1651
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
1652
+ # virtual network gateway VPN client package operation.
1653
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1654
+ # will be added to the HTTP request.
1655
+ #
1656
+ # @return [String] operation results.
1657
+ #
1658
+ def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1659
+ response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1660
+ response.body unless response.nil?
1661
+ end
1662
+
1663
+ #
1664
+ # Generates VPN profile for P2S client of the virtual network gateway in the
1665
+ # specified resource group. Used for IKEV2 and radius based authentication.
1666
+ #
1667
+ # @param resource_group_name [String] The name of the resource group.
1668
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1669
+ # gateway.
1670
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
1671
+ # virtual network gateway VPN client package operation.
1672
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1673
+ # will be added to the HTTP request.
1674
+ #
1675
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1676
+ #
1677
+ def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1678
+ begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1679
+ end
1680
+
1681
+ #
1682
+ # Generates VPN profile for P2S client of the virtual network gateway in the
1683
+ # specified resource group. Used for IKEV2 and radius based authentication.
1684
+ #
1685
+ # @param resource_group_name [String] The name of the resource group.
1686
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1687
+ # gateway.
1688
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
1689
+ # virtual network gateway VPN client package operation.
1690
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1691
+ # to the HTTP request.
1692
+ #
1693
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1694
+ #
1695
+ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1696
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1697
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1698
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1699
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1700
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1701
+
1702
+
1703
+ request_headers = {}
1704
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1705
+
1706
+ # Set Headers
1707
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1708
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1709
+
1710
+ # Serialize Request
1711
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientParameters.mapper()
1712
+ request_content = @client.serialize(request_mapper, parameters)
1713
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1714
+
1715
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile'
1716
+
1717
+ request_url = @base_url || @client.base_url
1718
+
1719
+ options = {
1720
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1721
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1722
+ query_params: {'api-version' => @client.api_version},
1723
+ body: request_content,
1724
+ headers: request_headers.merge(custom_headers || {}),
1725
+ base_url: request_url
1726
+ }
1727
+ promise = @client.make_request_async(:post, path_template, options)
1728
+
1729
+ promise = promise.then do |result|
1730
+ http_response = result.response
1731
+ status_code = http_response.status
1732
+ response_content = http_response.body
1733
+ unless status_code == 200 || status_code == 202
1734
+ error_model = JSON.load(response_content)
1735
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1736
+ end
1737
+
1738
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1739
+ # Deserialize Response
1740
+ if status_code == 200
1741
+ begin
1742
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1743
+ result_mapper = {
1744
+ client_side_validation: true,
1745
+ required: false,
1746
+ serialized_name: 'parsed_response',
1747
+ type: {
1748
+ name: 'String'
1749
+ }
1750
+ }
1751
+ result.body = @client.deserialize(result_mapper, parsed_response)
1752
+ rescue Exception => e
1753
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1754
+ end
1755
+ end
1756
+
1757
+ result
1758
+ end
1759
+
1760
+ promise.execute
1761
+ end
1762
+
1763
+ #
1764
+ # Gets pre-generated VPN profile for P2S client of the virtual network gateway
1765
+ # in the specified resource group. The profile needs to be generated first
1766
+ # using generateVpnProfile.
1767
+ #
1768
+ # @param resource_group_name [String] The name of the resource group.
1769
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1770
+ # gateway.
1771
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1772
+ # will be added to the HTTP request.
1773
+ #
1774
+ # @return [String] operation results.
1775
+ #
1776
+ def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1777
+ response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
1778
+ response.body unless response.nil?
1779
+ end
1780
+
1781
+ #
1782
+ # Gets pre-generated VPN profile for P2S client of the virtual network gateway
1783
+ # in the specified resource group. The profile needs to be generated first
1784
+ # using generateVpnProfile.
1785
+ #
1786
+ # @param resource_group_name [String] The name of the resource group.
1787
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1788
+ # gateway.
1789
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1790
+ # will be added to the HTTP request.
1791
+ #
1792
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1793
+ #
1794
+ def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1795
+ begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
1796
+ end
1797
+
1798
+ #
1799
+ # Gets pre-generated VPN profile for P2S client of the virtual network gateway
1800
+ # in the specified resource group. The profile needs to be generated first
1801
+ # using generateVpnProfile.
1802
+ #
1803
+ # @param resource_group_name [String] The name of the resource group.
1804
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1805
+ # gateway.
1806
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1807
+ # to the HTTP request.
1808
+ #
1809
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1810
+ #
1811
+ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1812
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1813
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1814
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1815
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1816
+
1817
+
1818
+ request_headers = {}
1819
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1820
+
1821
+ # Set Headers
1822
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1823
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1824
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl'
1825
+
1826
+ request_url = @base_url || @client.base_url
1827
+
1828
+ options = {
1829
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1830
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1831
+ query_params: {'api-version' => @client.api_version},
1832
+ headers: request_headers.merge(custom_headers || {}),
1833
+ base_url: request_url
1834
+ }
1835
+ promise = @client.make_request_async(:post, path_template, options)
1836
+
1837
+ promise = promise.then do |result|
1838
+ http_response = result.response
1839
+ status_code = http_response.status
1840
+ response_content = http_response.body
1841
+ unless status_code == 200 || status_code == 202
1842
+ error_model = JSON.load(response_content)
1843
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1844
+ end
1845
+
1846
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1847
+ # Deserialize Response
1848
+ if status_code == 200
1849
+ begin
1850
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1851
+ result_mapper = {
1852
+ client_side_validation: true,
1853
+ required: false,
1854
+ serialized_name: 'parsed_response',
1855
+ type: {
1856
+ name: 'String'
1857
+ }
1858
+ }
1859
+ result.body = @client.deserialize(result_mapper, parsed_response)
1860
+ rescue Exception => e
1861
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1862
+ end
1863
+ end
1864
+
1865
+ result
1866
+ end
1867
+
1868
+ promise.execute
1869
+ end
1870
+
1871
+ #
1872
+ # The GetBgpPeerStatus operation retrieves the status of all BGP peers.
1873
+ #
1874
+ # @param resource_group_name [String] The name of the resource group.
1875
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1876
+ # gateway.
1877
+ # @param peer [String] The IP address of the peer to retrieve the status of.
1878
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1879
+ # will be added to the HTTP request.
1880
+ #
1881
+ # @return [BgpPeerStatusListResult] operation results.
1882
+ #
1883
+ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
1884
+ response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value!
1885
+ response.body unless response.nil?
1886
+ end
1887
+
1888
+ #
1889
+ # The GetBgpPeerStatus operation retrieves the status of all BGP peers.
1890
+ #
1891
+ # @param resource_group_name [String] The name of the resource group.
1892
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1893
+ # gateway.
1894
+ # @param peer [String] The IP address of the peer to retrieve the status of.
1895
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1896
+ # will be added to the HTTP request.
1897
+ #
1898
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1899
+ #
1900
+ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
1901
+ begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value!
1902
+ end
1903
+
1904
+ #
1905
+ # The GetBgpPeerStatus operation retrieves the status of all BGP peers.
1906
+ #
1907
+ # @param resource_group_name [String] The name of the resource group.
1908
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1909
+ # gateway.
1910
+ # @param peer [String] The IP address of the peer to retrieve the status of.
1911
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1912
+ # to the HTTP request.
1913
+ #
1914
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1915
+ #
1916
+ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
1917
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1918
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1919
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1920
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1921
+
1922
+
1923
+ request_headers = {}
1924
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1925
+
1926
+ # Set Headers
1927
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1928
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1929
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus'
1930
+
1931
+ request_url = @base_url || @client.base_url
1932
+
1933
+ options = {
1934
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1935
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1936
+ query_params: {'peer' => peer,'api-version' => @client.api_version},
1937
+ headers: request_headers.merge(custom_headers || {}),
1938
+ base_url: request_url
1939
+ }
1940
+ promise = @client.make_request_async(:post, path_template, options)
1941
+
1942
+ promise = promise.then do |result|
1943
+ http_response = result.response
1944
+ status_code = http_response.status
1945
+ response_content = http_response.body
1946
+ unless status_code == 200 || status_code == 202
1947
+ error_model = JSON.load(response_content)
1948
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1949
+ end
1950
+
1951
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1952
+ # Deserialize Response
1953
+ if status_code == 200
1954
+ begin
1955
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1956
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::BgpPeerStatusListResult.mapper()
1957
+ result.body = @client.deserialize(result_mapper, parsed_response)
1958
+ rescue Exception => e
1959
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1960
+ end
1961
+ end
1962
+
1963
+ result
1964
+ end
1965
+
1966
+ promise.execute
1967
+ end
1968
+
1969
+ #
1970
+ # This operation retrieves a list of routes the virtual network gateway has
1971
+ # learned, including routes learned from BGP peers.
1972
+ #
1973
+ # @param resource_group_name [String] The name of the resource group.
1974
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1975
+ # gateway.
1976
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1977
+ # will be added to the HTTP request.
1978
+ #
1979
+ # @return [GatewayRouteListResult] operation results.
1980
+ #
1981
+ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1982
+ response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
1983
+ response.body unless response.nil?
1984
+ end
1985
+
1986
+ #
1987
+ # This operation retrieves a list of routes the virtual network gateway has
1988
+ # learned, including routes learned from BGP peers.
1989
+ #
1990
+ # @param resource_group_name [String] The name of the resource group.
1991
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1992
+ # gateway.
1993
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1994
+ # will be added to the HTTP request.
1995
+ #
1996
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1997
+ #
1998
+ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1999
+ begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
2000
+ end
2001
+
2002
+ #
2003
+ # This operation retrieves a list of routes the virtual network gateway has
2004
+ # learned, including routes learned from BGP peers.
2005
+ #
2006
+ # @param resource_group_name [String] The name of the resource group.
2007
+ # @param virtual_network_gateway_name [String] The name of the virtual network
2008
+ # gateway.
2009
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2010
+ # to the HTTP request.
2011
+ #
2012
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2013
+ #
2014
+ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
2015
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2016
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
2017
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2018
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2019
+
2020
+
2021
+ request_headers = {}
2022
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2023
+
2024
+ # Set Headers
2025
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2026
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2027
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes'
2028
+
2029
+ request_url = @base_url || @client.base_url
2030
+
2031
+ options = {
2032
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2033
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
2034
+ query_params: {'api-version' => @client.api_version},
2035
+ headers: request_headers.merge(custom_headers || {}),
2036
+ base_url: request_url
2037
+ }
2038
+ promise = @client.make_request_async(:post, path_template, options)
2039
+
2040
+ promise = promise.then do |result|
2041
+ http_response = result.response
2042
+ status_code = http_response.status
2043
+ response_content = http_response.body
2044
+ unless status_code == 200 || status_code == 202
2045
+ error_model = JSON.load(response_content)
2046
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2047
+ end
2048
+
2049
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2050
+ # Deserialize Response
2051
+ if status_code == 200
2052
+ begin
2053
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2054
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::GatewayRouteListResult.mapper()
2055
+ result.body = @client.deserialize(result_mapper, parsed_response)
2056
+ rescue Exception => e
2057
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2058
+ end
2059
+ end
2060
+
2061
+ result
2062
+ end
2063
+
2064
+ promise.execute
2065
+ end
2066
+
2067
+ #
2068
+ # This operation retrieves a list of routes the virtual network gateway is
2069
+ # advertising to the specified peer.
2070
+ #
2071
+ # @param resource_group_name [String] The name of the resource group.
2072
+ # @param virtual_network_gateway_name [String] The name of the virtual network
2073
+ # gateway.
2074
+ # @param peer [String] The IP address of the peer
2075
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2076
+ # will be added to the HTTP request.
2077
+ #
2078
+ # @return [GatewayRouteListResult] operation results.
2079
+ #
2080
+ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
2081
+ response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value!
2082
+ response.body unless response.nil?
2083
+ end
2084
+
2085
+ #
2086
+ # This operation retrieves a list of routes the virtual network gateway is
2087
+ # advertising to the specified peer.
2088
+ #
2089
+ # @param resource_group_name [String] The name of the resource group.
2090
+ # @param virtual_network_gateway_name [String] The name of the virtual network
2091
+ # gateway.
2092
+ # @param peer [String] The IP address of the peer
2093
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2094
+ # will be added to the HTTP request.
2095
+ #
2096
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2097
+ #
2098
+ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
2099
+ begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value!
2100
+ end
2101
+
2102
+ #
2103
+ # This operation retrieves a list of routes the virtual network gateway is
2104
+ # advertising to the specified peer.
2105
+ #
2106
+ # @param resource_group_name [String] The name of the resource group.
2107
+ # @param virtual_network_gateway_name [String] The name of the virtual network
2108
+ # gateway.
2109
+ # @param peer [String] The IP address of the peer
2110
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2111
+ # to the HTTP request.
2112
+ #
2113
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2114
+ #
2115
+ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
2116
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2117
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
2118
+ fail ArgumentError, 'peer is nil' if peer.nil?
2119
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2120
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2121
+
2122
+
2123
+ request_headers = {}
2124
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2125
+
2126
+ # Set Headers
2127
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2128
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2129
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes'
2130
+
2131
+ request_url = @base_url || @client.base_url
2132
+
2133
+ options = {
2134
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2135
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
2136
+ query_params: {'peer' => peer,'api-version' => @client.api_version},
2137
+ headers: request_headers.merge(custom_headers || {}),
2138
+ base_url: request_url
2139
+ }
2140
+ promise = @client.make_request_async(:post, path_template, options)
2141
+
2142
+ promise = promise.then do |result|
2143
+ http_response = result.response
2144
+ status_code = http_response.status
2145
+ response_content = http_response.body
2146
+ unless status_code == 200 || status_code == 202
2147
+ error_model = JSON.load(response_content)
2148
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2149
+ end
2150
+
2151
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2152
+ # Deserialize Response
2153
+ if status_code == 200
2154
+ begin
2155
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2156
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::GatewayRouteListResult.mapper()
2157
+ result.body = @client.deserialize(result_mapper, parsed_response)
2158
+ rescue Exception => e
2159
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2160
+ end
2161
+ end
2162
+
2163
+ result
2164
+ end
2165
+
2166
+ promise.execute
2167
+ end
2168
+
2169
+ #
2170
+ # The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy
2171
+ # for P2S client of virtual network gateway in the specified resource group
2172
+ # through Network resource provider.
2173
+ #
2174
+ # @param resource_group_name [String] The name of the resource group.
2175
+ # @param virtual_network_gateway_name [String] The name of the virtual network
2176
+ # gateway.
2177
+ # @param vpnclient_ipsec_params [VpnClientIPsecParameters] Parameters supplied
2178
+ # to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S
2179
+ # client operation through Network resource provider.
2180
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2181
+ # will be added to the HTTP request.
2182
+ #
2183
+ # @return [VpnClientIPsecParameters] operation results.
2184
+ #
2185
+ def begin_set_vpnclient_ipsec_parameters(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:nil)
2186
+ response = begin_set_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:custom_headers).value!
2187
+ response.body unless response.nil?
2188
+ end
2189
+
2190
+ #
2191
+ # The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy
2192
+ # for P2S client of virtual network gateway in the specified resource group
2193
+ # through Network resource provider.
2194
+ #
2195
+ # @param resource_group_name [String] The name of the resource group.
2196
+ # @param virtual_network_gateway_name [String] The name of the virtual network
2197
+ # gateway.
2198
+ # @param vpnclient_ipsec_params [VpnClientIPsecParameters] Parameters supplied
2199
+ # to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S
2200
+ # client operation through Network resource provider.
2201
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2202
+ # will be added to the HTTP request.
2203
+ #
2204
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2205
+ #
2206
+ def begin_set_vpnclient_ipsec_parameters_with_http_info(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:nil)
2207
+ begin_set_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:custom_headers).value!
2208
+ end
2209
+
2210
+ #
2211
+ # The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy
2212
+ # for P2S client of virtual network gateway in the specified resource group
2213
+ # through Network resource provider.
2214
+ #
2215
+ # @param resource_group_name [String] The name of the resource group.
2216
+ # @param virtual_network_gateway_name [String] The name of the virtual network
2217
+ # gateway.
2218
+ # @param vpnclient_ipsec_params [VpnClientIPsecParameters] Parameters supplied
2219
+ # to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S
2220
+ # client operation through Network resource provider.
2221
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2222
+ # to the HTTP request.
2223
+ #
2224
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2225
+ #
2226
+ def begin_set_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:nil)
2227
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2228
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
2229
+ fail ArgumentError, 'vpnclient_ipsec_params is nil' if vpnclient_ipsec_params.nil?
2230
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2231
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2232
+
2233
+
2234
+ request_headers = {}
2235
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2236
+
2237
+ # Set Headers
2238
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2239
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2240
+
2241
+ # Serialize Request
2242
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientIPsecParameters.mapper()
2243
+ request_content = @client.serialize(request_mapper, vpnclient_ipsec_params)
2244
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2245
+
2246
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters'
2247
+
2248
+ request_url = @base_url || @client.base_url
2249
+
2250
+ options = {
2251
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2252
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
2253
+ query_params: {'api-version' => @client.api_version},
2254
+ body: request_content,
2255
+ headers: request_headers.merge(custom_headers || {}),
2256
+ base_url: request_url
2257
+ }
2258
+ promise = @client.make_request_async(:post, path_template, options)
2259
+
2260
+ promise = promise.then do |result|
2261
+ http_response = result.response
2262
+ status_code = http_response.status
2263
+ response_content = http_response.body
2264
+ unless status_code == 202 || status_code == 200
2265
+ error_model = JSON.load(response_content)
2266
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2267
+ end
2268
+
2269
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2270
+ # Deserialize Response
2271
+ if status_code == 200
2272
+ begin
2273
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2274
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientIPsecParameters.mapper()
2275
+ result.body = @client.deserialize(result_mapper, parsed_response)
2276
+ rescue Exception => e
2277
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2278
+ end
2279
+ end
2280
+
2281
+ result
2282
+ end
2283
+
2284
+ promise.execute
2285
+ end
2286
+
2287
+ #
2288
+ # The Get VpnclientIpsecParameters operation retrieves information about the
2289
+ # vpnclient ipsec policy for P2S client of virtual network gateway in the
2290
+ # specified resource group through Network resource provider.
2291
+ #
2292
+ # @param resource_group_name [String] The name of the resource group.
2293
+ # @param virtual_network_gateway_name [String] The virtual network gateway
2294
+ # name.
2295
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2296
+ # will be added to the HTTP request.
2297
+ #
2298
+ # @return [VpnClientIPsecParameters] operation results.
2299
+ #
2300
+ def begin_get_vpnclient_ipsec_parameters(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
2301
+ response = begin_get_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
2302
+ response.body unless response.nil?
2303
+ end
2304
+
2305
+ #
2306
+ # The Get VpnclientIpsecParameters operation retrieves information about the
2307
+ # vpnclient ipsec policy for P2S client of virtual network gateway in the
2308
+ # specified resource group through Network resource provider.
2309
+ #
2310
+ # @param resource_group_name [String] The name of the resource group.
2311
+ # @param virtual_network_gateway_name [String] The virtual network gateway
2312
+ # name.
2313
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2314
+ # will be added to the HTTP request.
2315
+ #
2316
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2317
+ #
2318
+ def begin_get_vpnclient_ipsec_parameters_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
2319
+ begin_get_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
2320
+ end
2321
+
2322
+ #
2323
+ # The Get VpnclientIpsecParameters operation retrieves information about the
2324
+ # vpnclient ipsec policy for P2S client of virtual network gateway in the
2325
+ # specified resource group through Network resource provider.
2326
+ #
2327
+ # @param resource_group_name [String] The name of the resource group.
2328
+ # @param virtual_network_gateway_name [String] The virtual network gateway
2329
+ # name.
2330
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2331
+ # to the HTTP request.
2332
+ #
2333
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2334
+ #
2335
+ def begin_get_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
2336
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2337
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
2338
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2339
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2340
+
2341
+
2342
+ request_headers = {}
2343
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2344
+
2345
+ # Set Headers
2346
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2347
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2348
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters'
2349
+
2350
+ request_url = @base_url || @client.base_url
2351
+
2352
+ options = {
2353
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2354
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
2355
+ query_params: {'api-version' => @client.api_version},
2356
+ headers: request_headers.merge(custom_headers || {}),
2357
+ base_url: request_url
2358
+ }
2359
+ promise = @client.make_request_async(:post, path_template, options)
2360
+
2361
+ promise = promise.then do |result|
2362
+ http_response = result.response
2363
+ status_code = http_response.status
2364
+ response_content = http_response.body
2365
+ unless status_code == 200
2366
+ error_model = JSON.load(response_content)
2367
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2368
+ end
2369
+
2370
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2371
+ # Deserialize Response
2372
+ if status_code == 200
2373
+ begin
2374
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2375
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientIPsecParameters.mapper()
2376
+ result.body = @client.deserialize(result_mapper, parsed_response)
2377
+ rescue Exception => e
2378
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2379
+ end
2380
+ end
2381
+
2382
+ result
2383
+ end
2384
+
2385
+ promise.execute
2386
+ end
2387
+
2388
+ #
2389
+ # Gets all virtual network gateways by resource group.
2390
+ #
2391
+ # @param next_page_link [String] The NextLink from the previous successful call
2392
+ # to List operation.
2393
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2394
+ # will be added to the HTTP request.
2395
+ #
2396
+ # @return [VirtualNetworkGatewayListResult] operation results.
2397
+ #
2398
+ def list_next(next_page_link, custom_headers:nil)
2399
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
2400
+ response.body unless response.nil?
2401
+ end
2402
+
2403
+ #
2404
+ # Gets all virtual network gateways by resource group.
2405
+ #
2406
+ # @param next_page_link [String] The NextLink from the previous successful call
2407
+ # to List operation.
2408
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2409
+ # will be added to the HTTP request.
2410
+ #
2411
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2412
+ #
2413
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
2414
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
2415
+ end
2416
+
2417
+ #
2418
+ # Gets all virtual network gateways by resource group.
2419
+ #
2420
+ # @param next_page_link [String] The NextLink from the previous successful call
2421
+ # to List operation.
2422
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2423
+ # to the HTTP request.
2424
+ #
2425
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2426
+ #
2427
+ def list_next_async(next_page_link, custom_headers:nil)
2428
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2429
+
2430
+
2431
+ request_headers = {}
2432
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2433
+
2434
+ # Set Headers
2435
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2436
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2437
+ path_template = '{nextLink}'
2438
+
2439
+ request_url = @base_url || @client.base_url
2440
+
2441
+ options = {
2442
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2443
+ skip_encoding_path_params: {'nextLink' => next_page_link},
2444
+ headers: request_headers.merge(custom_headers || {}),
2445
+ base_url: request_url
2446
+ }
2447
+ promise = @client.make_request_async(:get, path_template, options)
2448
+
2449
+ promise = promise.then do |result|
2450
+ http_response = result.response
2451
+ status_code = http_response.status
2452
+ response_content = http_response.body
2453
+ unless status_code == 200
2454
+ error_model = JSON.load(response_content)
2455
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2456
+ end
2457
+
2458
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2459
+ # Deserialize Response
2460
+ if status_code == 200
2461
+ begin
2462
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2463
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGatewayListResult.mapper()
2464
+ result.body = @client.deserialize(result_mapper, parsed_response)
2465
+ rescue Exception => e
2466
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2467
+ end
2468
+ end
2469
+
2470
+ result
2471
+ end
2472
+
2473
+ promise.execute
2474
+ end
2475
+
2476
+ #
2477
+ # Gets all the connections in a virtual network gateway.
2478
+ #
2479
+ # @param next_page_link [String] The NextLink from the previous successful call
2480
+ # to List operation.
2481
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2482
+ # will be added to the HTTP request.
2483
+ #
2484
+ # @return [VirtualNetworkGatewayListConnectionsResult] operation results.
2485
+ #
2486
+ def list_connections_next(next_page_link, custom_headers:nil)
2487
+ response = list_connections_next_async(next_page_link, custom_headers:custom_headers).value!
2488
+ response.body unless response.nil?
2489
+ end
2490
+
2491
+ #
2492
+ # Gets all the connections in a virtual network gateway.
2493
+ #
2494
+ # @param next_page_link [String] The NextLink from the previous successful call
2495
+ # to List operation.
2496
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2497
+ # will be added to the HTTP request.
2498
+ #
2499
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2500
+ #
2501
+ def list_connections_next_with_http_info(next_page_link, custom_headers:nil)
2502
+ list_connections_next_async(next_page_link, custom_headers:custom_headers).value!
2503
+ end
2504
+
2505
+ #
2506
+ # Gets all the connections in a virtual network gateway.
2507
+ #
2508
+ # @param next_page_link [String] The NextLink from the previous successful call
2509
+ # to List operation.
2510
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2511
+ # to the HTTP request.
2512
+ #
2513
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2514
+ #
2515
+ def list_connections_next_async(next_page_link, custom_headers:nil)
2516
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2517
+
2518
+
2519
+ request_headers = {}
2520
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2521
+
2522
+ # Set Headers
2523
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2524
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2525
+ path_template = '{nextLink}'
2526
+
2527
+ request_url = @base_url || @client.base_url
2528
+
2529
+ options = {
2530
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2531
+ skip_encoding_path_params: {'nextLink' => next_page_link},
2532
+ headers: request_headers.merge(custom_headers || {}),
2533
+ base_url: request_url
2534
+ }
2535
+ promise = @client.make_request_async(:get, path_template, options)
2536
+
2537
+ promise = promise.then do |result|
2538
+ http_response = result.response
2539
+ status_code = http_response.status
2540
+ response_content = http_response.body
2541
+ unless status_code == 200
2542
+ error_model = JSON.load(response_content)
2543
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2544
+ end
2545
+
2546
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2547
+ # Deserialize Response
2548
+ if status_code == 200
2549
+ begin
2550
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2551
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGatewayListConnectionsResult.mapper()
2552
+ result.body = @client.deserialize(result_mapper, parsed_response)
2553
+ rescue Exception => e
2554
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2555
+ end
2556
+ end
2557
+
2558
+ result
2559
+ end
2560
+
2561
+ promise.execute
2562
+ end
2563
+
2564
+ #
2565
+ # Gets all virtual network gateways by resource group.
2566
+ #
2567
+ # @param resource_group_name [String] The name of the resource group.
2568
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2569
+ # will be added to the HTTP request.
2570
+ #
2571
+ # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages
2572
+ # of the response.
2573
+ #
2574
+ def list_as_lazy(resource_group_name, custom_headers:nil)
2575
+ response = list_async(resource_group_name, custom_headers:custom_headers).value!
2576
+ unless response.nil?
2577
+ page = response.body
2578
+ page.next_method = Proc.new do |next_page_link|
2579
+ list_next_async(next_page_link, custom_headers:custom_headers)
2580
+ end
2581
+ page
2582
+ end
2583
+ end
2584
+
2585
+ #
2586
+ # Gets all the connections in a virtual network gateway.
2587
+ #
2588
+ # @param resource_group_name [String] The name of the resource group.
2589
+ # @param virtual_network_gateway_name [String] The name of the virtual network
2590
+ # gateway.
2591
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2592
+ # will be added to the HTTP request.
2593
+ #
2594
+ # @return [VirtualNetworkGatewayListConnectionsResult] which provide lazy
2595
+ # access to pages of the response.
2596
+ #
2597
+ def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
2598
+ response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
2599
+ unless response.nil?
2600
+ page = response.body
2601
+ page.next_method = Proc.new do |next_page_link|
2602
+ list_connections_next_async(next_page_link, custom_headers:custom_headers)
2603
+ end
2604
+ page
2605
+ end
2606
+ end
2607
+
2608
+ end
2609
+ end