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,2440 @@
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_06_01
7
+ #
8
+ # NetworkWatchers
9
+ #
10
+ class NetworkWatchers
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the NetworkWatchers 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 network watcher in the specified resource group.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group.
28
+ # @param network_watcher_name [String] The name of the network watcher.
29
+ # @param parameters [NetworkWatcher] Parameters that define the network watcher
30
+ # resource.
31
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
+ # will be added to the HTTP request.
33
+ #
34
+ # @return [NetworkWatcher] operation results.
35
+ #
36
+ def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
37
+ response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
38
+ response.body unless response.nil?
39
+ end
40
+
41
+ #
42
+ # Creates or updates a network watcher in the specified resource group.
43
+ #
44
+ # @param resource_group_name [String] The name of the resource group.
45
+ # @param network_watcher_name [String] The name of the network watcher.
46
+ # @param parameters [NetworkWatcher] Parameters that define the network watcher
47
+ # resource.
48
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
+ # will be added to the HTTP request.
50
+ #
51
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
+ #
53
+ def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
54
+ create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
55
+ end
56
+
57
+ #
58
+ # Creates or updates a network watcher in the specified resource group.
59
+ #
60
+ # @param resource_group_name [String] The name of the resource group.
61
+ # @param network_watcher_name [String] The name of the network watcher.
62
+ # @param parameters [NetworkWatcher] Parameters that define the network watcher
63
+ # resource.
64
+ # @param [Hash{String => String}] A hash of custom headers that will be added
65
+ # to the HTTP request.
66
+ #
67
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
+ #
69
+ def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
70
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
71
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
72
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
73
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
74
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
75
+
76
+
77
+ request_headers = {}
78
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
79
+
80
+ # Set Headers
81
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
82
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
83
+
84
+ # Serialize Request
85
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcher.mapper()
86
+ request_content = @client.serialize(request_mapper, parameters)
87
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
88
+
89
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'
90
+
91
+ request_url = @base_url || @client.base_url
92
+
93
+ options = {
94
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
95
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
96
+ query_params: {'api-version' => @client.api_version},
97
+ body: request_content,
98
+ headers: request_headers.merge(custom_headers || {}),
99
+ base_url: request_url
100
+ }
101
+ promise = @client.make_request_async(:put, path_template, options)
102
+
103
+ promise = promise.then do |result|
104
+ http_response = result.response
105
+ status_code = http_response.status
106
+ response_content = http_response.body
107
+ unless status_code == 200 || status_code == 201
108
+ error_model = JSON.load(response_content)
109
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
110
+ end
111
+
112
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
113
+ # Deserialize Response
114
+ if status_code == 200
115
+ begin
116
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
117
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcher.mapper()
118
+ result.body = @client.deserialize(result_mapper, parsed_response)
119
+ rescue Exception => e
120
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
121
+ end
122
+ end
123
+ # Deserialize Response
124
+ if status_code == 201
125
+ begin
126
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
127
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcher.mapper()
128
+ result.body = @client.deserialize(result_mapper, parsed_response)
129
+ rescue Exception => e
130
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
131
+ end
132
+ end
133
+
134
+ result
135
+ end
136
+
137
+ promise.execute
138
+ end
139
+
140
+ #
141
+ # Gets the specified network watcher by resource group.
142
+ #
143
+ # @param resource_group_name [String] The name of the resource group.
144
+ # @param network_watcher_name [String] The name of the network watcher.
145
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
146
+ # will be added to the HTTP request.
147
+ #
148
+ # @return [NetworkWatcher] operation results.
149
+ #
150
+ def get(resource_group_name, network_watcher_name, custom_headers:nil)
151
+ response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value!
152
+ response.body unless response.nil?
153
+ end
154
+
155
+ #
156
+ # Gets the specified network watcher by resource group.
157
+ #
158
+ # @param resource_group_name [String] The name of the resource group.
159
+ # @param network_watcher_name [String] The name of the network watcher.
160
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
161
+ # will be added to the HTTP request.
162
+ #
163
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
164
+ #
165
+ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil)
166
+ get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value!
167
+ end
168
+
169
+ #
170
+ # Gets the specified network watcher by resource group.
171
+ #
172
+ # @param resource_group_name [String] The name of the resource group.
173
+ # @param network_watcher_name [String] The name of the network watcher.
174
+ # @param [Hash{String => String}] A hash of custom headers that will be added
175
+ # to the HTTP request.
176
+ #
177
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
178
+ #
179
+ def get_async(resource_group_name, network_watcher_name, custom_headers:nil)
180
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
181
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
182
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
183
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
184
+
185
+
186
+ request_headers = {}
187
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
188
+
189
+ # Set Headers
190
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
191
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
192
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'
193
+
194
+ request_url = @base_url || @client.base_url
195
+
196
+ options = {
197
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
198
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
199
+ query_params: {'api-version' => @client.api_version},
200
+ headers: request_headers.merge(custom_headers || {}),
201
+ base_url: request_url
202
+ }
203
+ promise = @client.make_request_async(:get, path_template, options)
204
+
205
+ promise = promise.then do |result|
206
+ http_response = result.response
207
+ status_code = http_response.status
208
+ response_content = http_response.body
209
+ unless status_code == 200
210
+ error_model = JSON.load(response_content)
211
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
212
+ end
213
+
214
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
215
+ # Deserialize Response
216
+ if status_code == 200
217
+ begin
218
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
219
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcher.mapper()
220
+ result.body = @client.deserialize(result_mapper, parsed_response)
221
+ rescue Exception => e
222
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
223
+ end
224
+ end
225
+
226
+ result
227
+ end
228
+
229
+ promise.execute
230
+ end
231
+
232
+ #
233
+ # Deletes the specified network watcher resource.
234
+ #
235
+ # @param resource_group_name [String] The name of the resource group.
236
+ # @param network_watcher_name [String] The name of the network watcher.
237
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
238
+ # will be added to the HTTP request.
239
+ #
240
+ def delete(resource_group_name, network_watcher_name, custom_headers:nil)
241
+ response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value!
242
+ nil
243
+ end
244
+
245
+ #
246
+ # @param resource_group_name [String] The name of the resource group.
247
+ # @param network_watcher_name [String] The name of the network watcher.
248
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
249
+ # will be added to the HTTP request.
250
+ #
251
+ # @return [Concurrent::Promise] promise which provides async access to http
252
+ # response.
253
+ #
254
+ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil)
255
+ # Send request
256
+ promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers)
257
+
258
+ promise = promise.then do |response|
259
+ # Defining deserialization method.
260
+ deserialize_method = lambda do |parsed_response|
261
+ end
262
+
263
+ # Waiting for response.
264
+ @client.get_long_running_operation_result(response, deserialize_method)
265
+ end
266
+
267
+ promise
268
+ end
269
+
270
+ #
271
+ # Updates a network watcher tags.
272
+ #
273
+ # @param resource_group_name [String] The name of the resource group.
274
+ # @param network_watcher_name [String] The name of the network watcher.
275
+ # @param parameters [TagsObject] Parameters supplied to update network watcher
276
+ # tags.
277
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
278
+ # will be added to the HTTP request.
279
+ #
280
+ # @return [NetworkWatcher] operation results.
281
+ #
282
+ def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
283
+ response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
284
+ response.body unless response.nil?
285
+ end
286
+
287
+ #
288
+ # Updates a network watcher tags.
289
+ #
290
+ # @param resource_group_name [String] The name of the resource group.
291
+ # @param network_watcher_name [String] The name of the network watcher.
292
+ # @param parameters [TagsObject] Parameters supplied to update network watcher
293
+ # tags.
294
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
295
+ # will be added to the HTTP request.
296
+ #
297
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
298
+ #
299
+ def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
300
+ update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
301
+ end
302
+
303
+ #
304
+ # Updates a network watcher tags.
305
+ #
306
+ # @param resource_group_name [String] The name of the resource group.
307
+ # @param network_watcher_name [String] The name of the network watcher.
308
+ # @param parameters [TagsObject] Parameters supplied to update network watcher
309
+ # tags.
310
+ # @param [Hash{String => String}] A hash of custom headers that will be added
311
+ # to the HTTP request.
312
+ #
313
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
314
+ #
315
+ def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
316
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
317
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
318
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
319
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
320
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
321
+
322
+
323
+ request_headers = {}
324
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
325
+
326
+ # Set Headers
327
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
328
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
329
+
330
+ # Serialize Request
331
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::TagsObject.mapper()
332
+ request_content = @client.serialize(request_mapper, parameters)
333
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
334
+
335
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'
336
+
337
+ request_url = @base_url || @client.base_url
338
+
339
+ options = {
340
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
341
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
342
+ query_params: {'api-version' => @client.api_version},
343
+ body: request_content,
344
+ headers: request_headers.merge(custom_headers || {}),
345
+ base_url: request_url
346
+ }
347
+ promise = @client.make_request_async(:patch, path_template, options)
348
+
349
+ promise = promise.then do |result|
350
+ http_response = result.response
351
+ status_code = http_response.status
352
+ response_content = http_response.body
353
+ unless status_code == 200
354
+ error_model = JSON.load(response_content)
355
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
356
+ end
357
+
358
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
359
+ # Deserialize Response
360
+ if status_code == 200
361
+ begin
362
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
363
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcher.mapper()
364
+ result.body = @client.deserialize(result_mapper, parsed_response)
365
+ rescue Exception => e
366
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
367
+ end
368
+ end
369
+
370
+ result
371
+ end
372
+
373
+ promise.execute
374
+ end
375
+
376
+ #
377
+ # Gets all network watchers by resource group.
378
+ #
379
+ # @param resource_group_name [String] The name of the resource group.
380
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
381
+ # will be added to the HTTP request.
382
+ #
383
+ # @return [NetworkWatcherListResult] operation results.
384
+ #
385
+ def list(resource_group_name, custom_headers:nil)
386
+ response = list_async(resource_group_name, custom_headers:custom_headers).value!
387
+ response.body unless response.nil?
388
+ end
389
+
390
+ #
391
+ # Gets all network watchers by resource group.
392
+ #
393
+ # @param resource_group_name [String] The name of the resource group.
394
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
395
+ # will be added to the HTTP request.
396
+ #
397
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
398
+ #
399
+ def list_with_http_info(resource_group_name, custom_headers:nil)
400
+ list_async(resource_group_name, custom_headers:custom_headers).value!
401
+ end
402
+
403
+ #
404
+ # Gets all network watchers by resource group.
405
+ #
406
+ # @param resource_group_name [String] The name of the resource group.
407
+ # @param [Hash{String => String}] A hash of custom headers that will be added
408
+ # to the HTTP request.
409
+ #
410
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
411
+ #
412
+ def list_async(resource_group_name, custom_headers:nil)
413
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
414
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
415
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
416
+
417
+
418
+ request_headers = {}
419
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
420
+
421
+ # Set Headers
422
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
423
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
424
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers'
425
+
426
+ request_url = @base_url || @client.base_url
427
+
428
+ options = {
429
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
430
+ path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
431
+ query_params: {'api-version' => @client.api_version},
432
+ headers: request_headers.merge(custom_headers || {}),
433
+ base_url: request_url
434
+ }
435
+ promise = @client.make_request_async(:get, path_template, options)
436
+
437
+ promise = promise.then do |result|
438
+ http_response = result.response
439
+ status_code = http_response.status
440
+ response_content = http_response.body
441
+ unless status_code == 200
442
+ error_model = JSON.load(response_content)
443
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
444
+ end
445
+
446
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
447
+ # Deserialize Response
448
+ if status_code == 200
449
+ begin
450
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
451
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcherListResult.mapper()
452
+ result.body = @client.deserialize(result_mapper, parsed_response)
453
+ rescue Exception => e
454
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
455
+ end
456
+ end
457
+
458
+ result
459
+ end
460
+
461
+ promise.execute
462
+ end
463
+
464
+ #
465
+ # Gets all network watchers by subscription.
466
+ #
467
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
468
+ # will be added to the HTTP request.
469
+ #
470
+ # @return [NetworkWatcherListResult] operation results.
471
+ #
472
+ def list_all(custom_headers:nil)
473
+ response = list_all_async(custom_headers:custom_headers).value!
474
+ response.body unless response.nil?
475
+ end
476
+
477
+ #
478
+ # Gets all network watchers by subscription.
479
+ #
480
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
481
+ # will be added to the HTTP request.
482
+ #
483
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
484
+ #
485
+ def list_all_with_http_info(custom_headers:nil)
486
+ list_all_async(custom_headers:custom_headers).value!
487
+ end
488
+
489
+ #
490
+ # Gets all network watchers by subscription.
491
+ #
492
+ # @param [Hash{String => String}] A hash of custom headers that will be added
493
+ # to the HTTP request.
494
+ #
495
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
496
+ #
497
+ def list_all_async(custom_headers:nil)
498
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
499
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
500
+
501
+
502
+ request_headers = {}
503
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
504
+
505
+ # Set Headers
506
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
507
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
508
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers'
509
+
510
+ request_url = @base_url || @client.base_url
511
+
512
+ options = {
513
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
514
+ path_params: {'subscriptionId' => @client.subscription_id},
515
+ query_params: {'api-version' => @client.api_version},
516
+ headers: request_headers.merge(custom_headers || {}),
517
+ base_url: request_url
518
+ }
519
+ promise = @client.make_request_async(:get, path_template, options)
520
+
521
+ promise = promise.then do |result|
522
+ http_response = result.response
523
+ status_code = http_response.status
524
+ response_content = http_response.body
525
+ unless status_code == 200
526
+ error_model = JSON.load(response_content)
527
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
528
+ end
529
+
530
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
531
+ # Deserialize Response
532
+ if status_code == 200
533
+ begin
534
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
535
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcherListResult.mapper()
536
+ result.body = @client.deserialize(result_mapper, parsed_response)
537
+ rescue Exception => e
538
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
539
+ end
540
+ end
541
+
542
+ result
543
+ end
544
+
545
+ promise.execute
546
+ end
547
+
548
+ #
549
+ # Gets the current network topology by resource group.
550
+ #
551
+ # @param resource_group_name [String] The name of the resource group.
552
+ # @param network_watcher_name [String] The name of the network watcher.
553
+ # @param parameters [TopologyParameters] Parameters that define the
554
+ # representation of topology.
555
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
556
+ # will be added to the HTTP request.
557
+ #
558
+ # @return [Topology] operation results.
559
+ #
560
+ def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
561
+ response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
562
+ response.body unless response.nil?
563
+ end
564
+
565
+ #
566
+ # Gets the current network topology by resource group.
567
+ #
568
+ # @param resource_group_name [String] The name of the resource group.
569
+ # @param network_watcher_name [String] The name of the network watcher.
570
+ # @param parameters [TopologyParameters] Parameters that define the
571
+ # representation of topology.
572
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
573
+ # will be added to the HTTP request.
574
+ #
575
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
576
+ #
577
+ def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
578
+ get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
579
+ end
580
+
581
+ #
582
+ # Gets the current network topology by resource group.
583
+ #
584
+ # @param resource_group_name [String] The name of the resource group.
585
+ # @param network_watcher_name [String] The name of the network watcher.
586
+ # @param parameters [TopologyParameters] Parameters that define the
587
+ # representation of topology.
588
+ # @param [Hash{String => String}] A hash of custom headers that will be added
589
+ # to the HTTP request.
590
+ #
591
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
592
+ #
593
+ def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
594
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
595
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
596
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
597
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
598
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
599
+
600
+
601
+ request_headers = {}
602
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
603
+
604
+ # Set Headers
605
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
606
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
607
+
608
+ # Serialize Request
609
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::TopologyParameters.mapper()
610
+ request_content = @client.serialize(request_mapper, parameters)
611
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
612
+
613
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology'
614
+
615
+ request_url = @base_url || @client.base_url
616
+
617
+ options = {
618
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
619
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
620
+ query_params: {'api-version' => @client.api_version},
621
+ body: request_content,
622
+ headers: request_headers.merge(custom_headers || {}),
623
+ base_url: request_url
624
+ }
625
+ promise = @client.make_request_async(:post, path_template, options)
626
+
627
+ promise = promise.then do |result|
628
+ http_response = result.response
629
+ status_code = http_response.status
630
+ response_content = http_response.body
631
+ unless status_code == 200
632
+ error_model = JSON.load(response_content)
633
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
634
+ end
635
+
636
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
637
+ # Deserialize Response
638
+ if status_code == 200
639
+ begin
640
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
641
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::Topology.mapper()
642
+ result.body = @client.deserialize(result_mapper, parsed_response)
643
+ rescue Exception => e
644
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
645
+ end
646
+ end
647
+
648
+ result
649
+ end
650
+
651
+ promise.execute
652
+ end
653
+
654
+ #
655
+ # Verify IP flow from the specified VM to a location given the currently
656
+ # configured NSG rules.
657
+ #
658
+ # @param resource_group_name [String] The name of the resource group.
659
+ # @param network_watcher_name [String] The name of the network watcher.
660
+ # @param parameters [VerificationIPFlowParameters] Parameters that define the
661
+ # IP flow to be verified.
662
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
663
+ # will be added to the HTTP request.
664
+ #
665
+ # @return [VerificationIPFlowResult] operation results.
666
+ #
667
+ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
668
+ response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
669
+ response.body unless response.nil?
670
+ end
671
+
672
+ #
673
+ # @param resource_group_name [String] The name of the resource group.
674
+ # @param network_watcher_name [String] The name of the network watcher.
675
+ # @param parameters [VerificationIPFlowParameters] Parameters that define the
676
+ # IP flow to be verified.
677
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
678
+ # will be added to the HTTP request.
679
+ #
680
+ # @return [Concurrent::Promise] promise which provides async access to http
681
+ # response.
682
+ #
683
+ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
684
+ # Send request
685
+ promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
686
+
687
+ promise = promise.then do |response|
688
+ # Defining deserialization method.
689
+ deserialize_method = lambda do |parsed_response|
690
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowResult.mapper()
691
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
692
+ end
693
+
694
+ # Waiting for response.
695
+ @client.get_long_running_operation_result(response, deserialize_method)
696
+ end
697
+
698
+ promise
699
+ end
700
+
701
+ #
702
+ # Gets the next hop from the specified VM.
703
+ #
704
+ # @param resource_group_name [String] The name of the resource group.
705
+ # @param network_watcher_name [String] The name of the network watcher.
706
+ # @param parameters [NextHopParameters] Parameters that define the source and
707
+ # destination endpoint.
708
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
709
+ # will be added to the HTTP request.
710
+ #
711
+ # @return [NextHopResult] operation results.
712
+ #
713
+ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
714
+ response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
715
+ response.body unless response.nil?
716
+ end
717
+
718
+ #
719
+ # @param resource_group_name [String] The name of the resource group.
720
+ # @param network_watcher_name [String] The name of the network watcher.
721
+ # @param parameters [NextHopParameters] Parameters that define the source and
722
+ # destination endpoint.
723
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
724
+ # will be added to the HTTP request.
725
+ #
726
+ # @return [Concurrent::Promise] promise which provides async access to http
727
+ # response.
728
+ #
729
+ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
730
+ # Send request
731
+ promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
732
+
733
+ promise = promise.then do |response|
734
+ # Defining deserialization method.
735
+ deserialize_method = lambda do |parsed_response|
736
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::NextHopResult.mapper()
737
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
738
+ end
739
+
740
+ # Waiting for response.
741
+ @client.get_long_running_operation_result(response, deserialize_method)
742
+ end
743
+
744
+ promise
745
+ end
746
+
747
+ #
748
+ # Gets the configured and effective security group rules on the specified VM.
749
+ #
750
+ # @param resource_group_name [String] The name of the resource group.
751
+ # @param network_watcher_name [String] The name of the network watcher.
752
+ # @param parameters [SecurityGroupViewParameters] Parameters that define the VM
753
+ # to check security groups for.
754
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
755
+ # will be added to the HTTP request.
756
+ #
757
+ # @return [SecurityGroupViewResult] operation results.
758
+ #
759
+ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
760
+ response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
761
+ response.body unless response.nil?
762
+ end
763
+
764
+ #
765
+ # @param resource_group_name [String] The name of the resource group.
766
+ # @param network_watcher_name [String] The name of the network watcher.
767
+ # @param parameters [SecurityGroupViewParameters] Parameters that define the VM
768
+ # to check security groups for.
769
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
770
+ # will be added to the HTTP request.
771
+ #
772
+ # @return [Concurrent::Promise] promise which provides async access to http
773
+ # response.
774
+ #
775
+ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
776
+ # Send request
777
+ promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
778
+
779
+ promise = promise.then do |response|
780
+ # Defining deserialization method.
781
+ deserialize_method = lambda do |parsed_response|
782
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewResult.mapper()
783
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
784
+ end
785
+
786
+ # Waiting for response.
787
+ @client.get_long_running_operation_result(response, deserialize_method)
788
+ end
789
+
790
+ promise
791
+ end
792
+
793
+ #
794
+ # Initiate troubleshooting on a specified resource
795
+ #
796
+ # @param resource_group_name [String] The name of the resource group.
797
+ # @param network_watcher_name [String] The name of the network watcher
798
+ # resource.
799
+ # @param parameters [TroubleshootingParameters] Parameters that define the
800
+ # resource to troubleshoot.
801
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
802
+ # will be added to the HTTP request.
803
+ #
804
+ # @return [TroubleshootingResult] operation results.
805
+ #
806
+ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
807
+ response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
808
+ response.body unless response.nil?
809
+ end
810
+
811
+ #
812
+ # @param resource_group_name [String] The name of the resource group.
813
+ # @param network_watcher_name [String] The name of the network watcher
814
+ # resource.
815
+ # @param parameters [TroubleshootingParameters] Parameters that define the
816
+ # resource to troubleshoot.
817
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
818
+ # will be added to the HTTP request.
819
+ #
820
+ # @return [Concurrent::Promise] promise which provides async access to http
821
+ # response.
822
+ #
823
+ def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
824
+ # Send request
825
+ promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
826
+
827
+ promise = promise.then do |response|
828
+ # Defining deserialization method.
829
+ deserialize_method = lambda do |parsed_response|
830
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingResult.mapper()
831
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
832
+ end
833
+
834
+ # Waiting for response.
835
+ @client.get_long_running_operation_result(response, deserialize_method)
836
+ end
837
+
838
+ promise
839
+ end
840
+
841
+ #
842
+ # Get the last completed troubleshooting result on a specified resource
843
+ #
844
+ # @param resource_group_name [String] The name of the resource group.
845
+ # @param network_watcher_name [String] The name of the network watcher
846
+ # resource.
847
+ # @param parameters [QueryTroubleshootingParameters] Parameters that define the
848
+ # resource to query the troubleshooting result.
849
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
850
+ # will be added to the HTTP request.
851
+ #
852
+ # @return [TroubleshootingResult] operation results.
853
+ #
854
+ def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
855
+ response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
856
+ response.body unless response.nil?
857
+ end
858
+
859
+ #
860
+ # @param resource_group_name [String] The name of the resource group.
861
+ # @param network_watcher_name [String] The name of the network watcher
862
+ # resource.
863
+ # @param parameters [QueryTroubleshootingParameters] Parameters that define the
864
+ # resource to query the troubleshooting result.
865
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
866
+ # will be added to the HTTP request.
867
+ #
868
+ # @return [Concurrent::Promise] promise which provides async access to http
869
+ # response.
870
+ #
871
+ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
872
+ # Send request
873
+ promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
874
+
875
+ promise = promise.then do |response|
876
+ # Defining deserialization method.
877
+ deserialize_method = lambda do |parsed_response|
878
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingResult.mapper()
879
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
880
+ end
881
+
882
+ # Waiting for response.
883
+ @client.get_long_running_operation_result(response, deserialize_method)
884
+ end
885
+
886
+ promise
887
+ end
888
+
889
+ #
890
+ # Configures flow log and traffic analytics (optional) on a specified
891
+ # resource.
892
+ #
893
+ # @param resource_group_name [String] The name of the network watcher resource
894
+ # group.
895
+ # @param network_watcher_name [String] The name of the network watcher
896
+ # resource.
897
+ # @param parameters [FlowLogInformation] Parameters that define the
898
+ # configuration of flow log.
899
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
900
+ # will be added to the HTTP request.
901
+ #
902
+ # @return [FlowLogInformation] operation results.
903
+ #
904
+ def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
905
+ response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
906
+ response.body unless response.nil?
907
+ end
908
+
909
+ #
910
+ # @param resource_group_name [String] The name of the network watcher resource
911
+ # group.
912
+ # @param network_watcher_name [String] The name of the network watcher
913
+ # resource.
914
+ # @param parameters [FlowLogInformation] Parameters that define the
915
+ # configuration of flow log.
916
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
917
+ # will be added to the HTTP request.
918
+ #
919
+ # @return [Concurrent::Promise] promise which provides async access to http
920
+ # response.
921
+ #
922
+ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
923
+ # Send request
924
+ promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
925
+
926
+ promise = promise.then do |response|
927
+ # Defining deserialization method.
928
+ deserialize_method = lambda do |parsed_response|
929
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::FlowLogInformation.mapper()
930
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
931
+ end
932
+
933
+ # Waiting for response.
934
+ @client.get_long_running_operation_result(response, deserialize_method)
935
+ end
936
+
937
+ promise
938
+ end
939
+
940
+ #
941
+ # Queries status of flow log and traffic analytics (optional) on a specified
942
+ # resource.
943
+ #
944
+ # @param resource_group_name [String] The name of the network watcher resource
945
+ # group.
946
+ # @param network_watcher_name [String] The name of the network watcher
947
+ # resource.
948
+ # @param parameters [FlowLogStatusParameters] Parameters that define a resource
949
+ # to query flow log and traffic analytics (optional) status.
950
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
951
+ # will be added to the HTTP request.
952
+ #
953
+ # @return [FlowLogInformation] operation results.
954
+ #
955
+ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
956
+ response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
957
+ response.body unless response.nil?
958
+ end
959
+
960
+ #
961
+ # @param resource_group_name [String] The name of the network watcher resource
962
+ # group.
963
+ # @param network_watcher_name [String] The name of the network watcher
964
+ # resource.
965
+ # @param parameters [FlowLogStatusParameters] Parameters that define a resource
966
+ # to query flow log and traffic analytics (optional) status.
967
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
968
+ # will be added to the HTTP request.
969
+ #
970
+ # @return [Concurrent::Promise] promise which provides async access to http
971
+ # response.
972
+ #
973
+ def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
974
+ # Send request
975
+ promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
976
+
977
+ promise = promise.then do |response|
978
+ # Defining deserialization method.
979
+ deserialize_method = lambda do |parsed_response|
980
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::FlowLogInformation.mapper()
981
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
982
+ end
983
+
984
+ # Waiting for response.
985
+ @client.get_long_running_operation_result(response, deserialize_method)
986
+ end
987
+
988
+ promise
989
+ end
990
+
991
+ #
992
+ # Verifies the possibility of establishing a direct TCP connection from a
993
+ # virtual machine to a given endpoint including another VM or an arbitrary
994
+ # remote server.
995
+ #
996
+ # @param resource_group_name [String] The name of the network watcher resource
997
+ # group.
998
+ # @param network_watcher_name [String] The name of the network watcher
999
+ # resource.
1000
+ # @param parameters [ConnectivityParameters] Parameters that determine how the
1001
+ # connectivity check will be performed.
1002
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1003
+ # will be added to the HTTP request.
1004
+ #
1005
+ # @return [ConnectivityInformation] operation results.
1006
+ #
1007
+ def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1008
+ response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1009
+ response.body unless response.nil?
1010
+ end
1011
+
1012
+ #
1013
+ # @param resource_group_name [String] The name of the network watcher resource
1014
+ # group.
1015
+ # @param network_watcher_name [String] The name of the network watcher
1016
+ # resource.
1017
+ # @param parameters [ConnectivityParameters] Parameters that determine how the
1018
+ # connectivity check will be performed.
1019
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1020
+ # will be added to the HTTP request.
1021
+ #
1022
+ # @return [Concurrent::Promise] promise which provides async access to http
1023
+ # response.
1024
+ #
1025
+ def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1026
+ # Send request
1027
+ promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
1028
+
1029
+ promise = promise.then do |response|
1030
+ # Defining deserialization method.
1031
+ deserialize_method = lambda do |parsed_response|
1032
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityInformation.mapper()
1033
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
1034
+ end
1035
+
1036
+ # Waiting for response.
1037
+ @client.get_long_running_operation_result(response, deserialize_method)
1038
+ end
1039
+
1040
+ promise
1041
+ end
1042
+
1043
+ #
1044
+ # Gets the relative latency score for internet service providers from a
1045
+ # specified location to Azure regions.
1046
+ #
1047
+ # @param resource_group_name [String] The name of the network watcher resource
1048
+ # group.
1049
+ # @param network_watcher_name [String] The name of the network watcher
1050
+ # resource.
1051
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
1052
+ # determine Azure reachability report configuration.
1053
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1054
+ # will be added to the HTTP request.
1055
+ #
1056
+ # @return [AzureReachabilityReport] operation results.
1057
+ #
1058
+ def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1059
+ response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1060
+ response.body unless response.nil?
1061
+ end
1062
+
1063
+ #
1064
+ # @param resource_group_name [String] The name of the network watcher resource
1065
+ # group.
1066
+ # @param network_watcher_name [String] The name of the network watcher
1067
+ # resource.
1068
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
1069
+ # determine Azure reachability report configuration.
1070
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1071
+ # will be added to the HTTP request.
1072
+ #
1073
+ # @return [Concurrent::Promise] promise which provides async access to http
1074
+ # response.
1075
+ #
1076
+ def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1077
+ # Send request
1078
+ promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
1079
+
1080
+ promise = promise.then do |response|
1081
+ # Defining deserialization method.
1082
+ deserialize_method = lambda do |parsed_response|
1083
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReport.mapper()
1084
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
1085
+ end
1086
+
1087
+ # Waiting for response.
1088
+ @client.get_long_running_operation_result(response, deserialize_method)
1089
+ end
1090
+
1091
+ promise
1092
+ end
1093
+
1094
+ #
1095
+ # Lists all available internet service providers for a specified Azure region.
1096
+ #
1097
+ # @param resource_group_name [String] The name of the network watcher resource
1098
+ # group.
1099
+ # @param network_watcher_name [String] The name of the network watcher
1100
+ # resource.
1101
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
1102
+ # the list of available providers.
1103
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1104
+ # will be added to the HTTP request.
1105
+ #
1106
+ # @return [AvailableProvidersList] operation results.
1107
+ #
1108
+ def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1109
+ response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1110
+ response.body unless response.nil?
1111
+ end
1112
+
1113
+ #
1114
+ # @param resource_group_name [String] The name of the network watcher resource
1115
+ # group.
1116
+ # @param network_watcher_name [String] The name of the network watcher
1117
+ # resource.
1118
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
1119
+ # the list of available providers.
1120
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1121
+ # will be added to the HTTP request.
1122
+ #
1123
+ # @return [Concurrent::Promise] promise which provides async access to http
1124
+ # response.
1125
+ #
1126
+ def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1127
+ # Send request
1128
+ promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
1129
+
1130
+ promise = promise.then do |response|
1131
+ # Defining deserialization method.
1132
+ deserialize_method = lambda do |parsed_response|
1133
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersList.mapper()
1134
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
1135
+ end
1136
+
1137
+ # Waiting for response.
1138
+ @client.get_long_running_operation_result(response, deserialize_method)
1139
+ end
1140
+
1141
+ promise
1142
+ end
1143
+
1144
+ #
1145
+ # Deletes the specified network watcher resource.
1146
+ #
1147
+ # @param resource_group_name [String] The name of the resource group.
1148
+ # @param network_watcher_name [String] The name of the network watcher.
1149
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1150
+ # will be added to the HTTP request.
1151
+ #
1152
+ #
1153
+ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil)
1154
+ response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value!
1155
+ nil
1156
+ end
1157
+
1158
+ #
1159
+ # Deletes the specified network watcher resource.
1160
+ #
1161
+ # @param resource_group_name [String] The name of the resource group.
1162
+ # @param network_watcher_name [String] The name of the network watcher.
1163
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1164
+ # will be added to the HTTP request.
1165
+ #
1166
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1167
+ #
1168
+ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil)
1169
+ begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value!
1170
+ end
1171
+
1172
+ #
1173
+ # Deletes the specified network watcher resource.
1174
+ #
1175
+ # @param resource_group_name [String] The name of the resource group.
1176
+ # @param network_watcher_name [String] The name of the network watcher.
1177
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1178
+ # to the HTTP request.
1179
+ #
1180
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1181
+ #
1182
+ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil)
1183
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1184
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1185
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1186
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1187
+
1188
+
1189
+ request_headers = {}
1190
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1191
+
1192
+ # Set Headers
1193
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1194
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1195
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'
1196
+
1197
+ request_url = @base_url || @client.base_url
1198
+
1199
+ options = {
1200
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1201
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1202
+ query_params: {'api-version' => @client.api_version},
1203
+ headers: request_headers.merge(custom_headers || {}),
1204
+ base_url: request_url
1205
+ }
1206
+ promise = @client.make_request_async(:delete, path_template, options)
1207
+
1208
+ promise = promise.then do |result|
1209
+ http_response = result.response
1210
+ status_code = http_response.status
1211
+ response_content = http_response.body
1212
+ unless status_code == 202 || status_code == 204
1213
+ error_model = JSON.load(response_content)
1214
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1215
+ end
1216
+
1217
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1218
+
1219
+ result
1220
+ end
1221
+
1222
+ promise.execute
1223
+ end
1224
+
1225
+ #
1226
+ # Verify IP flow from the specified VM to a location given the currently
1227
+ # configured NSG rules.
1228
+ #
1229
+ # @param resource_group_name [String] The name of the resource group.
1230
+ # @param network_watcher_name [String] The name of the network watcher.
1231
+ # @param parameters [VerificationIPFlowParameters] Parameters that define the
1232
+ # IP flow to be verified.
1233
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1234
+ # will be added to the HTTP request.
1235
+ #
1236
+ # @return [VerificationIPFlowResult] operation results.
1237
+ #
1238
+ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1239
+ response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1240
+ response.body unless response.nil?
1241
+ end
1242
+
1243
+ #
1244
+ # Verify IP flow from the specified VM to a location given the currently
1245
+ # configured NSG rules.
1246
+ #
1247
+ # @param resource_group_name [String] The name of the resource group.
1248
+ # @param network_watcher_name [String] The name of the network watcher.
1249
+ # @param parameters [VerificationIPFlowParameters] Parameters that define the
1250
+ # IP flow to be verified.
1251
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1252
+ # will be added to the HTTP request.
1253
+ #
1254
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1255
+ #
1256
+ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1257
+ begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1258
+ end
1259
+
1260
+ #
1261
+ # Verify IP flow from the specified VM to a location given the currently
1262
+ # configured NSG rules.
1263
+ #
1264
+ # @param resource_group_name [String] The name of the resource group.
1265
+ # @param network_watcher_name [String] The name of the network watcher.
1266
+ # @param parameters [VerificationIPFlowParameters] Parameters that define the
1267
+ # IP flow to be verified.
1268
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1269
+ # to the HTTP request.
1270
+ #
1271
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1272
+ #
1273
+ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1274
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1275
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1276
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1277
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1278
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1279
+
1280
+
1281
+ request_headers = {}
1282
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1283
+
1284
+ # Set Headers
1285
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1286
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1287
+
1288
+ # Serialize Request
1289
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowParameters.mapper()
1290
+ request_content = @client.serialize(request_mapper, parameters)
1291
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1292
+
1293
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify'
1294
+
1295
+ request_url = @base_url || @client.base_url
1296
+
1297
+ options = {
1298
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1299
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1300
+ query_params: {'api-version' => @client.api_version},
1301
+ body: request_content,
1302
+ headers: request_headers.merge(custom_headers || {}),
1303
+ base_url: request_url
1304
+ }
1305
+ promise = @client.make_request_async(:post, path_template, options)
1306
+
1307
+ promise = promise.then do |result|
1308
+ http_response = result.response
1309
+ status_code = http_response.status
1310
+ response_content = http_response.body
1311
+ unless status_code == 200 || status_code == 202
1312
+ error_model = JSON.load(response_content)
1313
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1314
+ end
1315
+
1316
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1317
+ # Deserialize Response
1318
+ if status_code == 200
1319
+ begin
1320
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1321
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowResult.mapper()
1322
+ result.body = @client.deserialize(result_mapper, parsed_response)
1323
+ rescue Exception => e
1324
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1325
+ end
1326
+ end
1327
+ # Deserialize Response
1328
+ if status_code == 202
1329
+ begin
1330
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1331
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowResult.mapper()
1332
+ result.body = @client.deserialize(result_mapper, parsed_response)
1333
+ rescue Exception => e
1334
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1335
+ end
1336
+ end
1337
+
1338
+ result
1339
+ end
1340
+
1341
+ promise.execute
1342
+ end
1343
+
1344
+ #
1345
+ # Gets the next hop from the specified VM.
1346
+ #
1347
+ # @param resource_group_name [String] The name of the resource group.
1348
+ # @param network_watcher_name [String] The name of the network watcher.
1349
+ # @param parameters [NextHopParameters] Parameters that define the source and
1350
+ # destination endpoint.
1351
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1352
+ # will be added to the HTTP request.
1353
+ #
1354
+ # @return [NextHopResult] operation results.
1355
+ #
1356
+ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1357
+ response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1358
+ response.body unless response.nil?
1359
+ end
1360
+
1361
+ #
1362
+ # Gets the next hop from the specified VM.
1363
+ #
1364
+ # @param resource_group_name [String] The name of the resource group.
1365
+ # @param network_watcher_name [String] The name of the network watcher.
1366
+ # @param parameters [NextHopParameters] Parameters that define the source and
1367
+ # destination endpoint.
1368
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1369
+ # will be added to the HTTP request.
1370
+ #
1371
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1372
+ #
1373
+ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1374
+ begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1375
+ end
1376
+
1377
+ #
1378
+ # Gets the next hop from the specified VM.
1379
+ #
1380
+ # @param resource_group_name [String] The name of the resource group.
1381
+ # @param network_watcher_name [String] The name of the network watcher.
1382
+ # @param parameters [NextHopParameters] Parameters that define the source and
1383
+ # destination endpoint.
1384
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1385
+ # to the HTTP request.
1386
+ #
1387
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1388
+ #
1389
+ def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1390
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1391
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1392
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1393
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1394
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1395
+
1396
+
1397
+ request_headers = {}
1398
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1399
+
1400
+ # Set Headers
1401
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1402
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1403
+
1404
+ # Serialize Request
1405
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::NextHopParameters.mapper()
1406
+ request_content = @client.serialize(request_mapper, parameters)
1407
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1408
+
1409
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop'
1410
+
1411
+ request_url = @base_url || @client.base_url
1412
+
1413
+ options = {
1414
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1415
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1416
+ query_params: {'api-version' => @client.api_version},
1417
+ body: request_content,
1418
+ headers: request_headers.merge(custom_headers || {}),
1419
+ base_url: request_url
1420
+ }
1421
+ promise = @client.make_request_async(:post, path_template, options)
1422
+
1423
+ promise = promise.then do |result|
1424
+ http_response = result.response
1425
+ status_code = http_response.status
1426
+ response_content = http_response.body
1427
+ unless status_code == 200 || status_code == 202
1428
+ error_model = JSON.load(response_content)
1429
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1430
+ end
1431
+
1432
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1433
+ # Deserialize Response
1434
+ if status_code == 200
1435
+ begin
1436
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1437
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::NextHopResult.mapper()
1438
+ result.body = @client.deserialize(result_mapper, parsed_response)
1439
+ rescue Exception => e
1440
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1441
+ end
1442
+ end
1443
+ # Deserialize Response
1444
+ if status_code == 202
1445
+ begin
1446
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1447
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::NextHopResult.mapper()
1448
+ result.body = @client.deserialize(result_mapper, parsed_response)
1449
+ rescue Exception => e
1450
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1451
+ end
1452
+ end
1453
+
1454
+ result
1455
+ end
1456
+
1457
+ promise.execute
1458
+ end
1459
+
1460
+ #
1461
+ # Gets the configured and effective security group rules on the specified VM.
1462
+ #
1463
+ # @param resource_group_name [String] The name of the resource group.
1464
+ # @param network_watcher_name [String] The name of the network watcher.
1465
+ # @param parameters [SecurityGroupViewParameters] Parameters that define the VM
1466
+ # to check security groups for.
1467
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1468
+ # will be added to the HTTP request.
1469
+ #
1470
+ # @return [SecurityGroupViewResult] operation results.
1471
+ #
1472
+ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1473
+ response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1474
+ response.body unless response.nil?
1475
+ end
1476
+
1477
+ #
1478
+ # Gets the configured and effective security group rules on the specified VM.
1479
+ #
1480
+ # @param resource_group_name [String] The name of the resource group.
1481
+ # @param network_watcher_name [String] The name of the network watcher.
1482
+ # @param parameters [SecurityGroupViewParameters] Parameters that define the VM
1483
+ # to check security groups for.
1484
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1485
+ # will be added to the HTTP request.
1486
+ #
1487
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1488
+ #
1489
+ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1490
+ begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1491
+ end
1492
+
1493
+ #
1494
+ # Gets the configured and effective security group rules on the specified VM.
1495
+ #
1496
+ # @param resource_group_name [String] The name of the resource group.
1497
+ # @param network_watcher_name [String] The name of the network watcher.
1498
+ # @param parameters [SecurityGroupViewParameters] Parameters that define the VM
1499
+ # to check security groups for.
1500
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1501
+ # to the HTTP request.
1502
+ #
1503
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1504
+ #
1505
+ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1506
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1507
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1508
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1509
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1510
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1511
+
1512
+
1513
+ request_headers = {}
1514
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1515
+
1516
+ # Set Headers
1517
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1518
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1519
+
1520
+ # Serialize Request
1521
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewParameters.mapper()
1522
+ request_content = @client.serialize(request_mapper, parameters)
1523
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1524
+
1525
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView'
1526
+
1527
+ request_url = @base_url || @client.base_url
1528
+
1529
+ options = {
1530
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1531
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1532
+ query_params: {'api-version' => @client.api_version},
1533
+ body: request_content,
1534
+ headers: request_headers.merge(custom_headers || {}),
1535
+ base_url: request_url
1536
+ }
1537
+ promise = @client.make_request_async(:post, path_template, options)
1538
+
1539
+ promise = promise.then do |result|
1540
+ http_response = result.response
1541
+ status_code = http_response.status
1542
+ response_content = http_response.body
1543
+ unless status_code == 200 || status_code == 202
1544
+ error_model = JSON.load(response_content)
1545
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1546
+ end
1547
+
1548
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1549
+ # Deserialize Response
1550
+ if status_code == 200
1551
+ begin
1552
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1553
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewResult.mapper()
1554
+ result.body = @client.deserialize(result_mapper, parsed_response)
1555
+ rescue Exception => e
1556
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1557
+ end
1558
+ end
1559
+ # Deserialize Response
1560
+ if status_code == 202
1561
+ begin
1562
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1563
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewResult.mapper()
1564
+ result.body = @client.deserialize(result_mapper, parsed_response)
1565
+ rescue Exception => e
1566
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1567
+ end
1568
+ end
1569
+
1570
+ result
1571
+ end
1572
+
1573
+ promise.execute
1574
+ end
1575
+
1576
+ #
1577
+ # Initiate troubleshooting on a specified resource
1578
+ #
1579
+ # @param resource_group_name [String] The name of the resource group.
1580
+ # @param network_watcher_name [String] The name of the network watcher
1581
+ # resource.
1582
+ # @param parameters [TroubleshootingParameters] Parameters that define the
1583
+ # resource to troubleshoot.
1584
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1585
+ # will be added to the HTTP request.
1586
+ #
1587
+ # @return [TroubleshootingResult] operation results.
1588
+ #
1589
+ def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1590
+ response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1591
+ response.body unless response.nil?
1592
+ end
1593
+
1594
+ #
1595
+ # Initiate troubleshooting on a specified resource
1596
+ #
1597
+ # @param resource_group_name [String] The name of the resource group.
1598
+ # @param network_watcher_name [String] The name of the network watcher
1599
+ # resource.
1600
+ # @param parameters [TroubleshootingParameters] Parameters that define the
1601
+ # resource to troubleshoot.
1602
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1603
+ # will be added to the HTTP request.
1604
+ #
1605
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1606
+ #
1607
+ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1608
+ begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1609
+ end
1610
+
1611
+ #
1612
+ # Initiate troubleshooting on a specified resource
1613
+ #
1614
+ # @param resource_group_name [String] The name of the resource group.
1615
+ # @param network_watcher_name [String] The name of the network watcher
1616
+ # resource.
1617
+ # @param parameters [TroubleshootingParameters] Parameters that define the
1618
+ # resource to troubleshoot.
1619
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1620
+ # to the HTTP request.
1621
+ #
1622
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1623
+ #
1624
+ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1625
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1626
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1627
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1628
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1629
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1630
+
1631
+
1632
+ request_headers = {}
1633
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1634
+
1635
+ # Set Headers
1636
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1637
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1638
+
1639
+ # Serialize Request
1640
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingParameters.mapper()
1641
+ request_content = @client.serialize(request_mapper, parameters)
1642
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1643
+
1644
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot'
1645
+
1646
+ request_url = @base_url || @client.base_url
1647
+
1648
+ options = {
1649
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1650
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1651
+ query_params: {'api-version' => @client.api_version},
1652
+ body: request_content,
1653
+ headers: request_headers.merge(custom_headers || {}),
1654
+ base_url: request_url
1655
+ }
1656
+ promise = @client.make_request_async(:post, path_template, options)
1657
+
1658
+ promise = promise.then do |result|
1659
+ http_response = result.response
1660
+ status_code = http_response.status
1661
+ response_content = http_response.body
1662
+ unless status_code == 200 || status_code == 202
1663
+ error_model = JSON.load(response_content)
1664
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1665
+ end
1666
+
1667
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1668
+ # Deserialize Response
1669
+ if status_code == 200
1670
+ begin
1671
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1672
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingResult.mapper()
1673
+ result.body = @client.deserialize(result_mapper, parsed_response)
1674
+ rescue Exception => e
1675
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1676
+ end
1677
+ end
1678
+ # Deserialize Response
1679
+ if status_code == 202
1680
+ begin
1681
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1682
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingResult.mapper()
1683
+ result.body = @client.deserialize(result_mapper, parsed_response)
1684
+ rescue Exception => e
1685
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1686
+ end
1687
+ end
1688
+
1689
+ result
1690
+ end
1691
+
1692
+ promise.execute
1693
+ end
1694
+
1695
+ #
1696
+ # Get the last completed troubleshooting result on a specified resource
1697
+ #
1698
+ # @param resource_group_name [String] The name of the resource group.
1699
+ # @param network_watcher_name [String] The name of the network watcher
1700
+ # resource.
1701
+ # @param parameters [QueryTroubleshootingParameters] Parameters that define the
1702
+ # resource to query the troubleshooting result.
1703
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1704
+ # will be added to the HTTP request.
1705
+ #
1706
+ # @return [TroubleshootingResult] operation results.
1707
+ #
1708
+ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1709
+ response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1710
+ response.body unless response.nil?
1711
+ end
1712
+
1713
+ #
1714
+ # Get the last completed troubleshooting result on a specified resource
1715
+ #
1716
+ # @param resource_group_name [String] The name of the resource group.
1717
+ # @param network_watcher_name [String] The name of the network watcher
1718
+ # resource.
1719
+ # @param parameters [QueryTroubleshootingParameters] Parameters that define the
1720
+ # resource to query the troubleshooting result.
1721
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1722
+ # will be added to the HTTP request.
1723
+ #
1724
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1725
+ #
1726
+ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1727
+ begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1728
+ end
1729
+
1730
+ #
1731
+ # Get the last completed troubleshooting result on a specified resource
1732
+ #
1733
+ # @param resource_group_name [String] The name of the resource group.
1734
+ # @param network_watcher_name [String] The name of the network watcher
1735
+ # resource.
1736
+ # @param parameters [QueryTroubleshootingParameters] Parameters that define the
1737
+ # resource to query the troubleshooting result.
1738
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1739
+ # to the HTTP request.
1740
+ #
1741
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1742
+ #
1743
+ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1744
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1745
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1746
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1747
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1748
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1749
+
1750
+
1751
+ request_headers = {}
1752
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1753
+
1754
+ # Set Headers
1755
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1756
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1757
+
1758
+ # Serialize Request
1759
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::QueryTroubleshootingParameters.mapper()
1760
+ request_content = @client.serialize(request_mapper, parameters)
1761
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1762
+
1763
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult'
1764
+
1765
+ request_url = @base_url || @client.base_url
1766
+
1767
+ options = {
1768
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1769
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1770
+ query_params: {'api-version' => @client.api_version},
1771
+ body: request_content,
1772
+ headers: request_headers.merge(custom_headers || {}),
1773
+ base_url: request_url
1774
+ }
1775
+ promise = @client.make_request_async(:post, path_template, options)
1776
+
1777
+ promise = promise.then do |result|
1778
+ http_response = result.response
1779
+ status_code = http_response.status
1780
+ response_content = http_response.body
1781
+ unless status_code == 200 || status_code == 202
1782
+ error_model = JSON.load(response_content)
1783
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1784
+ end
1785
+
1786
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1787
+ # Deserialize Response
1788
+ if status_code == 200
1789
+ begin
1790
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1791
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingResult.mapper()
1792
+ result.body = @client.deserialize(result_mapper, parsed_response)
1793
+ rescue Exception => e
1794
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1795
+ end
1796
+ end
1797
+ # Deserialize Response
1798
+ if status_code == 202
1799
+ begin
1800
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1801
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingResult.mapper()
1802
+ result.body = @client.deserialize(result_mapper, parsed_response)
1803
+ rescue Exception => e
1804
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1805
+ end
1806
+ end
1807
+
1808
+ result
1809
+ end
1810
+
1811
+ promise.execute
1812
+ end
1813
+
1814
+ #
1815
+ # Configures flow log and traffic analytics (optional) on a specified
1816
+ # resource.
1817
+ #
1818
+ # @param resource_group_name [String] The name of the network watcher resource
1819
+ # group.
1820
+ # @param network_watcher_name [String] The name of the network watcher
1821
+ # resource.
1822
+ # @param parameters [FlowLogInformation] Parameters that define the
1823
+ # configuration of flow log.
1824
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1825
+ # will be added to the HTTP request.
1826
+ #
1827
+ # @return [FlowLogInformation] operation results.
1828
+ #
1829
+ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1830
+ response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1831
+ response.body unless response.nil?
1832
+ end
1833
+
1834
+ #
1835
+ # Configures flow log and traffic analytics (optional) on a specified
1836
+ # resource.
1837
+ #
1838
+ # @param resource_group_name [String] The name of the network watcher resource
1839
+ # group.
1840
+ # @param network_watcher_name [String] The name of the network watcher
1841
+ # resource.
1842
+ # @param parameters [FlowLogInformation] Parameters that define the
1843
+ # configuration of flow log.
1844
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1845
+ # will be added to the HTTP request.
1846
+ #
1847
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1848
+ #
1849
+ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1850
+ begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1851
+ end
1852
+
1853
+ #
1854
+ # Configures flow log and traffic analytics (optional) on a specified
1855
+ # resource.
1856
+ #
1857
+ # @param resource_group_name [String] The name of the network watcher resource
1858
+ # group.
1859
+ # @param network_watcher_name [String] The name of the network watcher
1860
+ # resource.
1861
+ # @param parameters [FlowLogInformation] Parameters that define the
1862
+ # configuration of flow log.
1863
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1864
+ # to the HTTP request.
1865
+ #
1866
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1867
+ #
1868
+ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1869
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1870
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1871
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1872
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1873
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1874
+
1875
+
1876
+ request_headers = {}
1877
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1878
+
1879
+ # Set Headers
1880
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1881
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1882
+
1883
+ # Serialize Request
1884
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::FlowLogInformation.mapper()
1885
+ request_content = @client.serialize(request_mapper, parameters)
1886
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1887
+
1888
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog'
1889
+
1890
+ request_url = @base_url || @client.base_url
1891
+
1892
+ options = {
1893
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1894
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1895
+ query_params: {'api-version' => @client.api_version},
1896
+ body: request_content,
1897
+ headers: request_headers.merge(custom_headers || {}),
1898
+ base_url: request_url
1899
+ }
1900
+ promise = @client.make_request_async(:post, path_template, options)
1901
+
1902
+ promise = promise.then do |result|
1903
+ http_response = result.response
1904
+ status_code = http_response.status
1905
+ response_content = http_response.body
1906
+ unless status_code == 200 || status_code == 202
1907
+ error_model = JSON.load(response_content)
1908
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1909
+ end
1910
+
1911
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1912
+ # Deserialize Response
1913
+ if status_code == 200
1914
+ begin
1915
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1916
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::FlowLogInformation.mapper()
1917
+ result.body = @client.deserialize(result_mapper, parsed_response)
1918
+ rescue Exception => e
1919
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1920
+ end
1921
+ end
1922
+ # Deserialize Response
1923
+ if status_code == 202
1924
+ begin
1925
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1926
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::FlowLogInformation.mapper()
1927
+ result.body = @client.deserialize(result_mapper, parsed_response)
1928
+ rescue Exception => e
1929
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1930
+ end
1931
+ end
1932
+
1933
+ result
1934
+ end
1935
+
1936
+ promise.execute
1937
+ end
1938
+
1939
+ #
1940
+ # Queries status of flow log and traffic analytics (optional) on a specified
1941
+ # resource.
1942
+ #
1943
+ # @param resource_group_name [String] The name of the network watcher resource
1944
+ # group.
1945
+ # @param network_watcher_name [String] The name of the network watcher
1946
+ # resource.
1947
+ # @param parameters [FlowLogStatusParameters] Parameters that define a resource
1948
+ # to query flow log and traffic analytics (optional) status.
1949
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1950
+ # will be added to the HTTP request.
1951
+ #
1952
+ # @return [FlowLogInformation] operation results.
1953
+ #
1954
+ def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1955
+ response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1956
+ response.body unless response.nil?
1957
+ end
1958
+
1959
+ #
1960
+ # Queries status of flow log and traffic analytics (optional) on a specified
1961
+ # resource.
1962
+ #
1963
+ # @param resource_group_name [String] The name of the network watcher resource
1964
+ # group.
1965
+ # @param network_watcher_name [String] The name of the network watcher
1966
+ # resource.
1967
+ # @param parameters [FlowLogStatusParameters] Parameters that define a resource
1968
+ # to query flow log and traffic analytics (optional) status.
1969
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1970
+ # will be added to the HTTP request.
1971
+ #
1972
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1973
+ #
1974
+ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1975
+ begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1976
+ end
1977
+
1978
+ #
1979
+ # Queries status of flow log and traffic analytics (optional) on a specified
1980
+ # resource.
1981
+ #
1982
+ # @param resource_group_name [String] The name of the network watcher resource
1983
+ # group.
1984
+ # @param network_watcher_name [String] The name of the network watcher
1985
+ # resource.
1986
+ # @param parameters [FlowLogStatusParameters] Parameters that define a resource
1987
+ # to query flow log and traffic analytics (optional) status.
1988
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1989
+ # to the HTTP request.
1990
+ #
1991
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1992
+ #
1993
+ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1994
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1995
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1996
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1997
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1998
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1999
+
2000
+
2001
+ request_headers = {}
2002
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2003
+
2004
+ # Set Headers
2005
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2006
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2007
+
2008
+ # Serialize Request
2009
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::FlowLogStatusParameters.mapper()
2010
+ request_content = @client.serialize(request_mapper, parameters)
2011
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2012
+
2013
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus'
2014
+
2015
+ request_url = @base_url || @client.base_url
2016
+
2017
+ options = {
2018
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2019
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
2020
+ query_params: {'api-version' => @client.api_version},
2021
+ body: request_content,
2022
+ headers: request_headers.merge(custom_headers || {}),
2023
+ base_url: request_url
2024
+ }
2025
+ promise = @client.make_request_async(:post, path_template, options)
2026
+
2027
+ promise = promise.then do |result|
2028
+ http_response = result.response
2029
+ status_code = http_response.status
2030
+ response_content = http_response.body
2031
+ unless status_code == 200 || status_code == 202
2032
+ error_model = JSON.load(response_content)
2033
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2034
+ end
2035
+
2036
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2037
+ # Deserialize Response
2038
+ if status_code == 200
2039
+ begin
2040
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2041
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::FlowLogInformation.mapper()
2042
+ result.body = @client.deserialize(result_mapper, parsed_response)
2043
+ rescue Exception => e
2044
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2045
+ end
2046
+ end
2047
+ # Deserialize Response
2048
+ if status_code == 202
2049
+ begin
2050
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2051
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::FlowLogInformation.mapper()
2052
+ result.body = @client.deserialize(result_mapper, parsed_response)
2053
+ rescue Exception => e
2054
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2055
+ end
2056
+ end
2057
+
2058
+ result
2059
+ end
2060
+
2061
+ promise.execute
2062
+ end
2063
+
2064
+ #
2065
+ # Verifies the possibility of establishing a direct TCP connection from a
2066
+ # virtual machine to a given endpoint including another VM or an arbitrary
2067
+ # remote server.
2068
+ #
2069
+ # @param resource_group_name [String] The name of the network watcher resource
2070
+ # group.
2071
+ # @param network_watcher_name [String] The name of the network watcher
2072
+ # resource.
2073
+ # @param parameters [ConnectivityParameters] Parameters that determine how the
2074
+ # connectivity check will be performed.
2075
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2076
+ # will be added to the HTTP request.
2077
+ #
2078
+ # @return [ConnectivityInformation] operation results.
2079
+ #
2080
+ def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2081
+ response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
2082
+ response.body unless response.nil?
2083
+ end
2084
+
2085
+ #
2086
+ # Verifies the possibility of establishing a direct TCP connection from a
2087
+ # virtual machine to a given endpoint including another VM or an arbitrary
2088
+ # remote server.
2089
+ #
2090
+ # @param resource_group_name [String] The name of the network watcher resource
2091
+ # group.
2092
+ # @param network_watcher_name [String] The name of the network watcher
2093
+ # resource.
2094
+ # @param parameters [ConnectivityParameters] Parameters that determine how the
2095
+ # connectivity check will be performed.
2096
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2097
+ # will be added to the HTTP request.
2098
+ #
2099
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2100
+ #
2101
+ def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2102
+ begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
2103
+ end
2104
+
2105
+ #
2106
+ # Verifies the possibility of establishing a direct TCP connection from a
2107
+ # virtual machine to a given endpoint including another VM or an arbitrary
2108
+ # remote server.
2109
+ #
2110
+ # @param resource_group_name [String] The name of the network watcher resource
2111
+ # group.
2112
+ # @param network_watcher_name [String] The name of the network watcher
2113
+ # resource.
2114
+ # @param parameters [ConnectivityParameters] Parameters that determine how the
2115
+ # connectivity check will be performed.
2116
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2117
+ # to the HTTP request.
2118
+ #
2119
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2120
+ #
2121
+ def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2122
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2123
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
2124
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
2125
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2126
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2127
+
2128
+
2129
+ request_headers = {}
2130
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2131
+
2132
+ # Set Headers
2133
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2134
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2135
+
2136
+ # Serialize Request
2137
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityParameters.mapper()
2138
+ request_content = @client.serialize(request_mapper, parameters)
2139
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2140
+
2141
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck'
2142
+
2143
+ request_url = @base_url || @client.base_url
2144
+
2145
+ options = {
2146
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2147
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
2148
+ query_params: {'api-version' => @client.api_version},
2149
+ body: request_content,
2150
+ headers: request_headers.merge(custom_headers || {}),
2151
+ base_url: request_url
2152
+ }
2153
+ promise = @client.make_request_async(:post, path_template, options)
2154
+
2155
+ promise = promise.then do |result|
2156
+ http_response = result.response
2157
+ status_code = http_response.status
2158
+ response_content = http_response.body
2159
+ unless status_code == 200 || status_code == 202
2160
+ error_model = JSON.load(response_content)
2161
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2162
+ end
2163
+
2164
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2165
+ # Deserialize Response
2166
+ if status_code == 200
2167
+ begin
2168
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2169
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityInformation.mapper()
2170
+ result.body = @client.deserialize(result_mapper, parsed_response)
2171
+ rescue Exception => e
2172
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2173
+ end
2174
+ end
2175
+ # Deserialize Response
2176
+ if status_code == 202
2177
+ begin
2178
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2179
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityInformation.mapper()
2180
+ result.body = @client.deserialize(result_mapper, parsed_response)
2181
+ rescue Exception => e
2182
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2183
+ end
2184
+ end
2185
+
2186
+ result
2187
+ end
2188
+
2189
+ promise.execute
2190
+ end
2191
+
2192
+ #
2193
+ # Gets the relative latency score for internet service providers from a
2194
+ # specified location to Azure regions.
2195
+ #
2196
+ # @param resource_group_name [String] The name of the network watcher resource
2197
+ # group.
2198
+ # @param network_watcher_name [String] The name of the network watcher
2199
+ # resource.
2200
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
2201
+ # determine Azure reachability report configuration.
2202
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2203
+ # will be added to the HTTP request.
2204
+ #
2205
+ # @return [AzureReachabilityReport] operation results.
2206
+ #
2207
+ def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2208
+ response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
2209
+ response.body unless response.nil?
2210
+ end
2211
+
2212
+ #
2213
+ # Gets the relative latency score for internet service providers from a
2214
+ # specified location to Azure regions.
2215
+ #
2216
+ # @param resource_group_name [String] The name of the network watcher resource
2217
+ # group.
2218
+ # @param network_watcher_name [String] The name of the network watcher
2219
+ # resource.
2220
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
2221
+ # determine Azure reachability report configuration.
2222
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2223
+ # will be added to the HTTP request.
2224
+ #
2225
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2226
+ #
2227
+ def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2228
+ begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
2229
+ end
2230
+
2231
+ #
2232
+ # Gets the relative latency score for internet service providers from a
2233
+ # specified location to Azure regions.
2234
+ #
2235
+ # @param resource_group_name [String] The name of the network watcher resource
2236
+ # group.
2237
+ # @param network_watcher_name [String] The name of the network watcher
2238
+ # resource.
2239
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
2240
+ # determine Azure reachability report configuration.
2241
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2242
+ # to the HTTP request.
2243
+ #
2244
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2245
+ #
2246
+ def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2247
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2248
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
2249
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
2250
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2251
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2252
+
2253
+
2254
+ request_headers = {}
2255
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2256
+
2257
+ # Set Headers
2258
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2259
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2260
+
2261
+ # Serialize Request
2262
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportParameters.mapper()
2263
+ request_content = @client.serialize(request_mapper, parameters)
2264
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2265
+
2266
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport'
2267
+
2268
+ request_url = @base_url || @client.base_url
2269
+
2270
+ options = {
2271
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2272
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
2273
+ query_params: {'api-version' => @client.api_version},
2274
+ body: request_content,
2275
+ headers: request_headers.merge(custom_headers || {}),
2276
+ base_url: request_url
2277
+ }
2278
+ promise = @client.make_request_async(:post, path_template, options)
2279
+
2280
+ promise = promise.then do |result|
2281
+ http_response = result.response
2282
+ status_code = http_response.status
2283
+ response_content = http_response.body
2284
+ unless status_code == 200 || status_code == 202
2285
+ error_model = JSON.load(response_content)
2286
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2287
+ end
2288
+
2289
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2290
+ # Deserialize Response
2291
+ if status_code == 200
2292
+ begin
2293
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2294
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReport.mapper()
2295
+ result.body = @client.deserialize(result_mapper, parsed_response)
2296
+ rescue Exception => e
2297
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2298
+ end
2299
+ end
2300
+ # Deserialize Response
2301
+ if status_code == 202
2302
+ begin
2303
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2304
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReport.mapper()
2305
+ result.body = @client.deserialize(result_mapper, parsed_response)
2306
+ rescue Exception => e
2307
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2308
+ end
2309
+ end
2310
+
2311
+ result
2312
+ end
2313
+
2314
+ promise.execute
2315
+ end
2316
+
2317
+ #
2318
+ # Lists all available internet service providers for a specified Azure region.
2319
+ #
2320
+ # @param resource_group_name [String] The name of the network watcher resource
2321
+ # group.
2322
+ # @param network_watcher_name [String] The name of the network watcher
2323
+ # resource.
2324
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
2325
+ # the list of available providers.
2326
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2327
+ # will be added to the HTTP request.
2328
+ #
2329
+ # @return [AvailableProvidersList] operation results.
2330
+ #
2331
+ def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2332
+ response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
2333
+ response.body unless response.nil?
2334
+ end
2335
+
2336
+ #
2337
+ # Lists all available internet service providers for a specified Azure region.
2338
+ #
2339
+ # @param resource_group_name [String] The name of the network watcher resource
2340
+ # group.
2341
+ # @param network_watcher_name [String] The name of the network watcher
2342
+ # resource.
2343
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
2344
+ # the list of available providers.
2345
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2346
+ # will be added to the HTTP request.
2347
+ #
2348
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2349
+ #
2350
+ def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2351
+ begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
2352
+ end
2353
+
2354
+ #
2355
+ # Lists all available internet service providers for a specified Azure region.
2356
+ #
2357
+ # @param resource_group_name [String] The name of the network watcher resource
2358
+ # group.
2359
+ # @param network_watcher_name [String] The name of the network watcher
2360
+ # resource.
2361
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
2362
+ # the list of available providers.
2363
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2364
+ # to the HTTP request.
2365
+ #
2366
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2367
+ #
2368
+ def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2369
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2370
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
2371
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
2372
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2373
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2374
+
2375
+
2376
+ request_headers = {}
2377
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2378
+
2379
+ # Set Headers
2380
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2381
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2382
+
2383
+ # Serialize Request
2384
+ request_mapper = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListParameters.mapper()
2385
+ request_content = @client.serialize(request_mapper, parameters)
2386
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2387
+
2388
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList'
2389
+
2390
+ request_url = @base_url || @client.base_url
2391
+
2392
+ options = {
2393
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2394
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
2395
+ query_params: {'api-version' => @client.api_version},
2396
+ body: request_content,
2397
+ headers: request_headers.merge(custom_headers || {}),
2398
+ base_url: request_url
2399
+ }
2400
+ promise = @client.make_request_async(:post, path_template, options)
2401
+
2402
+ promise = promise.then do |result|
2403
+ http_response = result.response
2404
+ status_code = http_response.status
2405
+ response_content = http_response.body
2406
+ unless status_code == 200 || status_code == 202
2407
+ error_model = JSON.load(response_content)
2408
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2409
+ end
2410
+
2411
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2412
+ # Deserialize Response
2413
+ if status_code == 200
2414
+ begin
2415
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2416
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersList.mapper()
2417
+ result.body = @client.deserialize(result_mapper, parsed_response)
2418
+ rescue Exception => e
2419
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2420
+ end
2421
+ end
2422
+ # Deserialize Response
2423
+ if status_code == 202
2424
+ begin
2425
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2426
+ result_mapper = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersList.mapper()
2427
+ result.body = @client.deserialize(result_mapper, parsed_response)
2428
+ rescue Exception => e
2429
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2430
+ end
2431
+ end
2432
+
2433
+ result
2434
+ end
2435
+
2436
+ promise.execute
2437
+ end
2438
+
2439
+ end
2440
+ end