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,2432 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Network::Mgmt::V2018_02_01
7
+ #
8
+ # 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_02_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_02_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_02_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_02_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_02_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_02_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_02_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_02_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_02_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_02_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_02_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_02_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_02_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_02_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_02_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 on a specified resource.
891
+ #
892
+ # @param resource_group_name [String] The name of the network watcher resource
893
+ # group.
894
+ # @param network_watcher_name [String] The name of the network watcher
895
+ # resource.
896
+ # @param parameters [FlowLogInformation] Parameters that define the
897
+ # configuration of flow log.
898
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
899
+ # will be added to the HTTP request.
900
+ #
901
+ # @return [FlowLogInformation] operation results.
902
+ #
903
+ def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
904
+ response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
905
+ response.body unless response.nil?
906
+ end
907
+
908
+ #
909
+ # @param resource_group_name [String] The name of the network watcher resource
910
+ # group.
911
+ # @param network_watcher_name [String] The name of the network watcher
912
+ # resource.
913
+ # @param parameters [FlowLogInformation] Parameters that define the
914
+ # configuration of flow log.
915
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
916
+ # will be added to the HTTP request.
917
+ #
918
+ # @return [Concurrent::Promise] promise which provides async access to http
919
+ # response.
920
+ #
921
+ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
922
+ # Send request
923
+ promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
924
+
925
+ promise = promise.then do |response|
926
+ # Defining deserialization method.
927
+ deserialize_method = lambda do |parsed_response|
928
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::FlowLogInformation.mapper()
929
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
930
+ end
931
+
932
+ # Waiting for response.
933
+ @client.get_long_running_operation_result(response, deserialize_method)
934
+ end
935
+
936
+ promise
937
+ end
938
+
939
+ #
940
+ # Queries status of flow log on a specified resource.
941
+ #
942
+ # @param resource_group_name [String] The name of the network watcher resource
943
+ # group.
944
+ # @param network_watcher_name [String] The name of the network watcher
945
+ # resource.
946
+ # @param parameters [FlowLogStatusParameters] Parameters that define a resource
947
+ # to query flow log status.
948
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
949
+ # will be added to the HTTP request.
950
+ #
951
+ # @return [FlowLogInformation] operation results.
952
+ #
953
+ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
954
+ response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
955
+ response.body unless response.nil?
956
+ end
957
+
958
+ #
959
+ # @param resource_group_name [String] The name of the network watcher resource
960
+ # group.
961
+ # @param network_watcher_name [String] The name of the network watcher
962
+ # resource.
963
+ # @param parameters [FlowLogStatusParameters] Parameters that define a resource
964
+ # to query flow log status.
965
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
966
+ # will be added to the HTTP request.
967
+ #
968
+ # @return [Concurrent::Promise] promise which provides async access to http
969
+ # response.
970
+ #
971
+ def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
972
+ # Send request
973
+ promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
974
+
975
+ promise = promise.then do |response|
976
+ # Defining deserialization method.
977
+ deserialize_method = lambda do |parsed_response|
978
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::FlowLogInformation.mapper()
979
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
980
+ end
981
+
982
+ # Waiting for response.
983
+ @client.get_long_running_operation_result(response, deserialize_method)
984
+ end
985
+
986
+ promise
987
+ end
988
+
989
+ #
990
+ # Verifies the possibility of establishing a direct TCP connection from a
991
+ # virtual machine to a given endpoint including another VM or an arbitrary
992
+ # remote server.
993
+ #
994
+ # @param resource_group_name [String] The name of the network watcher resource
995
+ # group.
996
+ # @param network_watcher_name [String] The name of the network watcher
997
+ # resource.
998
+ # @param parameters [ConnectivityParameters] Parameters that determine how the
999
+ # connectivity check will be performed.
1000
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1001
+ # will be added to the HTTP request.
1002
+ #
1003
+ # @return [ConnectivityInformation] operation results.
1004
+ #
1005
+ def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1006
+ response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1007
+ response.body unless response.nil?
1008
+ end
1009
+
1010
+ #
1011
+ # @param resource_group_name [String] The name of the network watcher resource
1012
+ # group.
1013
+ # @param network_watcher_name [String] The name of the network watcher
1014
+ # resource.
1015
+ # @param parameters [ConnectivityParameters] Parameters that determine how the
1016
+ # connectivity check will be performed.
1017
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1018
+ # will be added to the HTTP request.
1019
+ #
1020
+ # @return [Concurrent::Promise] promise which provides async access to http
1021
+ # response.
1022
+ #
1023
+ def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1024
+ # Send request
1025
+ promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
1026
+
1027
+ promise = promise.then do |response|
1028
+ # Defining deserialization method.
1029
+ deserialize_method = lambda do |parsed_response|
1030
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::ConnectivityInformation.mapper()
1031
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
1032
+ end
1033
+
1034
+ # Waiting for response.
1035
+ @client.get_long_running_operation_result(response, deserialize_method)
1036
+ end
1037
+
1038
+ promise
1039
+ end
1040
+
1041
+ #
1042
+ # Gets the relative latency score for internet service providers from a
1043
+ # specified location to Azure regions.
1044
+ #
1045
+ # @param resource_group_name [String] The name of the network watcher resource
1046
+ # group.
1047
+ # @param network_watcher_name [String] The name of the network watcher
1048
+ # resource.
1049
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
1050
+ # determine Azure reachability report configuration.
1051
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1052
+ # will be added to the HTTP request.
1053
+ #
1054
+ # @return [AzureReachabilityReport] operation results.
1055
+ #
1056
+ def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1057
+ response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1058
+ response.body unless response.nil?
1059
+ end
1060
+
1061
+ #
1062
+ # @param resource_group_name [String] The name of the network watcher resource
1063
+ # group.
1064
+ # @param network_watcher_name [String] The name of the network watcher
1065
+ # resource.
1066
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
1067
+ # determine Azure reachability report configuration.
1068
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1069
+ # will be added to the HTTP request.
1070
+ #
1071
+ # @return [Concurrent::Promise] promise which provides async access to http
1072
+ # response.
1073
+ #
1074
+ def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1075
+ # Send request
1076
+ promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
1077
+
1078
+ promise = promise.then do |response|
1079
+ # Defining deserialization method.
1080
+ deserialize_method = lambda do |parsed_response|
1081
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::AzureReachabilityReport.mapper()
1082
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
1083
+ end
1084
+
1085
+ # Waiting for response.
1086
+ @client.get_long_running_operation_result(response, deserialize_method)
1087
+ end
1088
+
1089
+ promise
1090
+ end
1091
+
1092
+ #
1093
+ # Lists all available internet service providers for a specified Azure region.
1094
+ #
1095
+ # @param resource_group_name [String] The name of the network watcher resource
1096
+ # group.
1097
+ # @param network_watcher_name [String] The name of the network watcher
1098
+ # resource.
1099
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
1100
+ # the list of available providers.
1101
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1102
+ # will be added to the HTTP request.
1103
+ #
1104
+ # @return [AvailableProvidersList] operation results.
1105
+ #
1106
+ def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1107
+ response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1108
+ response.body unless response.nil?
1109
+ end
1110
+
1111
+ #
1112
+ # @param resource_group_name [String] The name of the network watcher resource
1113
+ # group.
1114
+ # @param network_watcher_name [String] The name of the network watcher
1115
+ # resource.
1116
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
1117
+ # the list of available providers.
1118
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1119
+ # will be added to the HTTP request.
1120
+ #
1121
+ # @return [Concurrent::Promise] promise which provides async access to http
1122
+ # response.
1123
+ #
1124
+ def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1125
+ # Send request
1126
+ promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers)
1127
+
1128
+ promise = promise.then do |response|
1129
+ # Defining deserialization method.
1130
+ deserialize_method = lambda do |parsed_response|
1131
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::AvailableProvidersList.mapper()
1132
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
1133
+ end
1134
+
1135
+ # Waiting for response.
1136
+ @client.get_long_running_operation_result(response, deserialize_method)
1137
+ end
1138
+
1139
+ promise
1140
+ end
1141
+
1142
+ #
1143
+ # Deletes the specified network watcher resource.
1144
+ #
1145
+ # @param resource_group_name [String] The name of the resource group.
1146
+ # @param network_watcher_name [String] The name of the network watcher.
1147
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1148
+ # will be added to the HTTP request.
1149
+ #
1150
+ #
1151
+ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil)
1152
+ response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value!
1153
+ nil
1154
+ end
1155
+
1156
+ #
1157
+ # Deletes the specified network watcher resource.
1158
+ #
1159
+ # @param resource_group_name [String] The name of the resource group.
1160
+ # @param network_watcher_name [String] The name of the network watcher.
1161
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1162
+ # will be added to the HTTP request.
1163
+ #
1164
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1165
+ #
1166
+ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil)
1167
+ begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value!
1168
+ end
1169
+
1170
+ #
1171
+ # Deletes the specified network watcher resource.
1172
+ #
1173
+ # @param resource_group_name [String] The name of the resource group.
1174
+ # @param network_watcher_name [String] The name of the network watcher.
1175
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1176
+ # to the HTTP request.
1177
+ #
1178
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1179
+ #
1180
+ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil)
1181
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1182
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1183
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1184
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1185
+
1186
+
1187
+ request_headers = {}
1188
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1189
+
1190
+ # Set Headers
1191
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1192
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1193
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'
1194
+
1195
+ request_url = @base_url || @client.base_url
1196
+
1197
+ options = {
1198
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1199
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1200
+ query_params: {'api-version' => @client.api_version},
1201
+ headers: request_headers.merge(custom_headers || {}),
1202
+ base_url: request_url
1203
+ }
1204
+ promise = @client.make_request_async(:delete, path_template, options)
1205
+
1206
+ promise = promise.then do |result|
1207
+ http_response = result.response
1208
+ status_code = http_response.status
1209
+ response_content = http_response.body
1210
+ unless status_code == 202 || status_code == 204
1211
+ error_model = JSON.load(response_content)
1212
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1213
+ end
1214
+
1215
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1216
+
1217
+ result
1218
+ end
1219
+
1220
+ promise.execute
1221
+ end
1222
+
1223
+ #
1224
+ # Verify IP flow from the specified VM to a location given the currently
1225
+ # configured NSG rules.
1226
+ #
1227
+ # @param resource_group_name [String] The name of the resource group.
1228
+ # @param network_watcher_name [String] The name of the network watcher.
1229
+ # @param parameters [VerificationIPFlowParameters] Parameters that define the
1230
+ # IP flow to be verified.
1231
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1232
+ # will be added to the HTTP request.
1233
+ #
1234
+ # @return [VerificationIPFlowResult] operation results.
1235
+ #
1236
+ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1237
+ response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1238
+ response.body unless response.nil?
1239
+ end
1240
+
1241
+ #
1242
+ # Verify IP flow from the specified VM to a location given the currently
1243
+ # configured NSG rules.
1244
+ #
1245
+ # @param resource_group_name [String] The name of the resource group.
1246
+ # @param network_watcher_name [String] The name of the network watcher.
1247
+ # @param parameters [VerificationIPFlowParameters] Parameters that define the
1248
+ # IP flow to be verified.
1249
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1250
+ # will be added to the HTTP request.
1251
+ #
1252
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1253
+ #
1254
+ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1255
+ begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1256
+ end
1257
+
1258
+ #
1259
+ # Verify IP flow from the specified VM to a location given the currently
1260
+ # configured NSG rules.
1261
+ #
1262
+ # @param resource_group_name [String] The name of the resource group.
1263
+ # @param network_watcher_name [String] The name of the network watcher.
1264
+ # @param parameters [VerificationIPFlowParameters] Parameters that define the
1265
+ # IP flow to be verified.
1266
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1267
+ # to the HTTP request.
1268
+ #
1269
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1270
+ #
1271
+ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1272
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1273
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1274
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1275
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1276
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1277
+
1278
+
1279
+ request_headers = {}
1280
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1281
+
1282
+ # Set Headers
1283
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1284
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1285
+
1286
+ # Serialize Request
1287
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VerificationIPFlowParameters.mapper()
1288
+ request_content = @client.serialize(request_mapper, parameters)
1289
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1290
+
1291
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify'
1292
+
1293
+ request_url = @base_url || @client.base_url
1294
+
1295
+ options = {
1296
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1297
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1298
+ query_params: {'api-version' => @client.api_version},
1299
+ body: request_content,
1300
+ headers: request_headers.merge(custom_headers || {}),
1301
+ base_url: request_url
1302
+ }
1303
+ promise = @client.make_request_async(:post, path_template, options)
1304
+
1305
+ promise = promise.then do |result|
1306
+ http_response = result.response
1307
+ status_code = http_response.status
1308
+ response_content = http_response.body
1309
+ unless status_code == 200 || status_code == 202
1310
+ error_model = JSON.load(response_content)
1311
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1312
+ end
1313
+
1314
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1315
+ # Deserialize Response
1316
+ if status_code == 200
1317
+ begin
1318
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1319
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VerificationIPFlowResult.mapper()
1320
+ result.body = @client.deserialize(result_mapper, parsed_response)
1321
+ rescue Exception => e
1322
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1323
+ end
1324
+ end
1325
+ # Deserialize Response
1326
+ if status_code == 202
1327
+ begin
1328
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1329
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VerificationIPFlowResult.mapper()
1330
+ result.body = @client.deserialize(result_mapper, parsed_response)
1331
+ rescue Exception => e
1332
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1333
+ end
1334
+ end
1335
+
1336
+ result
1337
+ end
1338
+
1339
+ promise.execute
1340
+ end
1341
+
1342
+ #
1343
+ # Gets the next hop from the specified VM.
1344
+ #
1345
+ # @param resource_group_name [String] The name of the resource group.
1346
+ # @param network_watcher_name [String] The name of the network watcher.
1347
+ # @param parameters [NextHopParameters] Parameters that define the source and
1348
+ # destination endpoint.
1349
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1350
+ # will be added to the HTTP request.
1351
+ #
1352
+ # @return [NextHopResult] operation results.
1353
+ #
1354
+ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1355
+ response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1356
+ response.body unless response.nil?
1357
+ end
1358
+
1359
+ #
1360
+ # Gets the next hop from the specified VM.
1361
+ #
1362
+ # @param resource_group_name [String] The name of the resource group.
1363
+ # @param network_watcher_name [String] The name of the network watcher.
1364
+ # @param parameters [NextHopParameters] Parameters that define the source and
1365
+ # destination endpoint.
1366
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1367
+ # will be added to the HTTP request.
1368
+ #
1369
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1370
+ #
1371
+ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1372
+ begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1373
+ end
1374
+
1375
+ #
1376
+ # Gets the next hop from the specified VM.
1377
+ #
1378
+ # @param resource_group_name [String] The name of the resource group.
1379
+ # @param network_watcher_name [String] The name of the network watcher.
1380
+ # @param parameters [NextHopParameters] Parameters that define the source and
1381
+ # destination endpoint.
1382
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1383
+ # to the HTTP request.
1384
+ #
1385
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1386
+ #
1387
+ def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1388
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1389
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1390
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1391
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1392
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1393
+
1394
+
1395
+ request_headers = {}
1396
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1397
+
1398
+ # Set Headers
1399
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1400
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1401
+
1402
+ # Serialize Request
1403
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::NextHopParameters.mapper()
1404
+ request_content = @client.serialize(request_mapper, parameters)
1405
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1406
+
1407
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop'
1408
+
1409
+ request_url = @base_url || @client.base_url
1410
+
1411
+ options = {
1412
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1413
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1414
+ query_params: {'api-version' => @client.api_version},
1415
+ body: request_content,
1416
+ headers: request_headers.merge(custom_headers || {}),
1417
+ base_url: request_url
1418
+ }
1419
+ promise = @client.make_request_async(:post, path_template, options)
1420
+
1421
+ promise = promise.then do |result|
1422
+ http_response = result.response
1423
+ status_code = http_response.status
1424
+ response_content = http_response.body
1425
+ unless status_code == 200 || status_code == 202
1426
+ error_model = JSON.load(response_content)
1427
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1428
+ end
1429
+
1430
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1431
+ # Deserialize Response
1432
+ if status_code == 200
1433
+ begin
1434
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1435
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::NextHopResult.mapper()
1436
+ result.body = @client.deserialize(result_mapper, parsed_response)
1437
+ rescue Exception => e
1438
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1439
+ end
1440
+ end
1441
+ # Deserialize Response
1442
+ if status_code == 202
1443
+ begin
1444
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1445
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::NextHopResult.mapper()
1446
+ result.body = @client.deserialize(result_mapper, parsed_response)
1447
+ rescue Exception => e
1448
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1449
+ end
1450
+ end
1451
+
1452
+ result
1453
+ end
1454
+
1455
+ promise.execute
1456
+ end
1457
+
1458
+ #
1459
+ # Gets the configured and effective security group rules on the specified VM.
1460
+ #
1461
+ # @param resource_group_name [String] The name of the resource group.
1462
+ # @param network_watcher_name [String] The name of the network watcher.
1463
+ # @param parameters [SecurityGroupViewParameters] Parameters that define the VM
1464
+ # to check security groups for.
1465
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1466
+ # will be added to the HTTP request.
1467
+ #
1468
+ # @return [SecurityGroupViewResult] operation results.
1469
+ #
1470
+ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1471
+ response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1472
+ response.body unless response.nil?
1473
+ end
1474
+
1475
+ #
1476
+ # Gets the configured and effective security group rules on the specified VM.
1477
+ #
1478
+ # @param resource_group_name [String] The name of the resource group.
1479
+ # @param network_watcher_name [String] The name of the network watcher.
1480
+ # @param parameters [SecurityGroupViewParameters] Parameters that define the VM
1481
+ # to check security groups for.
1482
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1483
+ # will be added to the HTTP request.
1484
+ #
1485
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1486
+ #
1487
+ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1488
+ begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1489
+ end
1490
+
1491
+ #
1492
+ # Gets the configured and effective security group rules on the specified VM.
1493
+ #
1494
+ # @param resource_group_name [String] The name of the resource group.
1495
+ # @param network_watcher_name [String] The name of the network watcher.
1496
+ # @param parameters [SecurityGroupViewParameters] Parameters that define the VM
1497
+ # to check security groups for.
1498
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1499
+ # to the HTTP request.
1500
+ #
1501
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1502
+ #
1503
+ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1504
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1505
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1506
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1507
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1508
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1509
+
1510
+
1511
+ request_headers = {}
1512
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1513
+
1514
+ # Set Headers
1515
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1516
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1517
+
1518
+ # Serialize Request
1519
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::SecurityGroupViewParameters.mapper()
1520
+ request_content = @client.serialize(request_mapper, parameters)
1521
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1522
+
1523
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView'
1524
+
1525
+ request_url = @base_url || @client.base_url
1526
+
1527
+ options = {
1528
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1529
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1530
+ query_params: {'api-version' => @client.api_version},
1531
+ body: request_content,
1532
+ headers: request_headers.merge(custom_headers || {}),
1533
+ base_url: request_url
1534
+ }
1535
+ promise = @client.make_request_async(:post, path_template, options)
1536
+
1537
+ promise = promise.then do |result|
1538
+ http_response = result.response
1539
+ status_code = http_response.status
1540
+ response_content = http_response.body
1541
+ unless status_code == 200 || status_code == 202
1542
+ error_model = JSON.load(response_content)
1543
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1544
+ end
1545
+
1546
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1547
+ # Deserialize Response
1548
+ if status_code == 200
1549
+ begin
1550
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1551
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::SecurityGroupViewResult.mapper()
1552
+ result.body = @client.deserialize(result_mapper, parsed_response)
1553
+ rescue Exception => e
1554
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1555
+ end
1556
+ end
1557
+ # Deserialize Response
1558
+ if status_code == 202
1559
+ begin
1560
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1561
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::SecurityGroupViewResult.mapper()
1562
+ result.body = @client.deserialize(result_mapper, parsed_response)
1563
+ rescue Exception => e
1564
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1565
+ end
1566
+ end
1567
+
1568
+ result
1569
+ end
1570
+
1571
+ promise.execute
1572
+ end
1573
+
1574
+ #
1575
+ # Initiate troubleshooting on a specified resource
1576
+ #
1577
+ # @param resource_group_name [String] The name of the resource group.
1578
+ # @param network_watcher_name [String] The name of the network watcher
1579
+ # resource.
1580
+ # @param parameters [TroubleshootingParameters] Parameters that define the
1581
+ # resource to troubleshoot.
1582
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1583
+ # will be added to the HTTP request.
1584
+ #
1585
+ # @return [TroubleshootingResult] operation results.
1586
+ #
1587
+ def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1588
+ response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1589
+ response.body unless response.nil?
1590
+ end
1591
+
1592
+ #
1593
+ # Initiate troubleshooting on a specified resource
1594
+ #
1595
+ # @param resource_group_name [String] The name of the resource group.
1596
+ # @param network_watcher_name [String] The name of the network watcher
1597
+ # resource.
1598
+ # @param parameters [TroubleshootingParameters] Parameters that define the
1599
+ # resource to troubleshoot.
1600
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1601
+ # will be added to the HTTP request.
1602
+ #
1603
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1604
+ #
1605
+ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1606
+ begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1607
+ end
1608
+
1609
+ #
1610
+ # Initiate troubleshooting on a specified resource
1611
+ #
1612
+ # @param resource_group_name [String] The name of the resource group.
1613
+ # @param network_watcher_name [String] The name of the network watcher
1614
+ # resource.
1615
+ # @param parameters [TroubleshootingParameters] Parameters that define the
1616
+ # resource to troubleshoot.
1617
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1618
+ # to the HTTP request.
1619
+ #
1620
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1621
+ #
1622
+ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1623
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1624
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1625
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1626
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1627
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1628
+
1629
+
1630
+ request_headers = {}
1631
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1632
+
1633
+ # Set Headers
1634
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1635
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1636
+
1637
+ # Serialize Request
1638
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::TroubleshootingParameters.mapper()
1639
+ request_content = @client.serialize(request_mapper, parameters)
1640
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1641
+
1642
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot'
1643
+
1644
+ request_url = @base_url || @client.base_url
1645
+
1646
+ options = {
1647
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1648
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1649
+ query_params: {'api-version' => @client.api_version},
1650
+ body: request_content,
1651
+ headers: request_headers.merge(custom_headers || {}),
1652
+ base_url: request_url
1653
+ }
1654
+ promise = @client.make_request_async(:post, path_template, options)
1655
+
1656
+ promise = promise.then do |result|
1657
+ http_response = result.response
1658
+ status_code = http_response.status
1659
+ response_content = http_response.body
1660
+ unless status_code == 200 || status_code == 202
1661
+ error_model = JSON.load(response_content)
1662
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1663
+ end
1664
+
1665
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1666
+ # Deserialize Response
1667
+ if status_code == 200
1668
+ begin
1669
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1670
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::TroubleshootingResult.mapper()
1671
+ result.body = @client.deserialize(result_mapper, parsed_response)
1672
+ rescue Exception => e
1673
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1674
+ end
1675
+ end
1676
+ # Deserialize Response
1677
+ if status_code == 202
1678
+ begin
1679
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1680
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::TroubleshootingResult.mapper()
1681
+ result.body = @client.deserialize(result_mapper, parsed_response)
1682
+ rescue Exception => e
1683
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1684
+ end
1685
+ end
1686
+
1687
+ result
1688
+ end
1689
+
1690
+ promise.execute
1691
+ end
1692
+
1693
+ #
1694
+ # Get the last completed troubleshooting result on a specified resource
1695
+ #
1696
+ # @param resource_group_name [String] The name of the resource group.
1697
+ # @param network_watcher_name [String] The name of the network watcher
1698
+ # resource.
1699
+ # @param parameters [QueryTroubleshootingParameters] Parameters that define the
1700
+ # resource to query the troubleshooting result.
1701
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1702
+ # will be added to the HTTP request.
1703
+ #
1704
+ # @return [TroubleshootingResult] operation results.
1705
+ #
1706
+ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1707
+ response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1708
+ response.body unless response.nil?
1709
+ end
1710
+
1711
+ #
1712
+ # Get the last completed troubleshooting result on a specified resource
1713
+ #
1714
+ # @param resource_group_name [String] The name of the resource group.
1715
+ # @param network_watcher_name [String] The name of the network watcher
1716
+ # resource.
1717
+ # @param parameters [QueryTroubleshootingParameters] Parameters that define the
1718
+ # resource to query the troubleshooting result.
1719
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1720
+ # will be added to the HTTP request.
1721
+ #
1722
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1723
+ #
1724
+ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1725
+ begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1726
+ end
1727
+
1728
+ #
1729
+ # Get the last completed troubleshooting result on a specified resource
1730
+ #
1731
+ # @param resource_group_name [String] The name of the resource group.
1732
+ # @param network_watcher_name [String] The name of the network watcher
1733
+ # resource.
1734
+ # @param parameters [QueryTroubleshootingParameters] Parameters that define the
1735
+ # resource to query the troubleshooting result.
1736
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1737
+ # to the HTTP request.
1738
+ #
1739
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1740
+ #
1741
+ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1742
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1743
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1744
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1745
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1746
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1747
+
1748
+
1749
+ request_headers = {}
1750
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1751
+
1752
+ # Set Headers
1753
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1754
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1755
+
1756
+ # Serialize Request
1757
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::QueryTroubleshootingParameters.mapper()
1758
+ request_content = @client.serialize(request_mapper, parameters)
1759
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1760
+
1761
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult'
1762
+
1763
+ request_url = @base_url || @client.base_url
1764
+
1765
+ options = {
1766
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1767
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1768
+ query_params: {'api-version' => @client.api_version},
1769
+ body: request_content,
1770
+ headers: request_headers.merge(custom_headers || {}),
1771
+ base_url: request_url
1772
+ }
1773
+ promise = @client.make_request_async(:post, path_template, options)
1774
+
1775
+ promise = promise.then do |result|
1776
+ http_response = result.response
1777
+ status_code = http_response.status
1778
+ response_content = http_response.body
1779
+ unless status_code == 200 || status_code == 202
1780
+ error_model = JSON.load(response_content)
1781
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1782
+ end
1783
+
1784
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1785
+ # Deserialize Response
1786
+ if status_code == 200
1787
+ begin
1788
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1789
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::TroubleshootingResult.mapper()
1790
+ result.body = @client.deserialize(result_mapper, parsed_response)
1791
+ rescue Exception => e
1792
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1793
+ end
1794
+ end
1795
+ # Deserialize Response
1796
+ if status_code == 202
1797
+ begin
1798
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1799
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::TroubleshootingResult.mapper()
1800
+ result.body = @client.deserialize(result_mapper, parsed_response)
1801
+ rescue Exception => e
1802
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1803
+ end
1804
+ end
1805
+
1806
+ result
1807
+ end
1808
+
1809
+ promise.execute
1810
+ end
1811
+
1812
+ #
1813
+ # Configures flow log on a specified resource.
1814
+ #
1815
+ # @param resource_group_name [String] The name of the network watcher resource
1816
+ # group.
1817
+ # @param network_watcher_name [String] The name of the network watcher
1818
+ # resource.
1819
+ # @param parameters [FlowLogInformation] Parameters that define the
1820
+ # configuration of flow log.
1821
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1822
+ # will be added to the HTTP request.
1823
+ #
1824
+ # @return [FlowLogInformation] operation results.
1825
+ #
1826
+ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1827
+ response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1828
+ response.body unless response.nil?
1829
+ end
1830
+
1831
+ #
1832
+ # Configures flow log on a specified resource.
1833
+ #
1834
+ # @param resource_group_name [String] The name of the network watcher resource
1835
+ # group.
1836
+ # @param network_watcher_name [String] The name of the network watcher
1837
+ # resource.
1838
+ # @param parameters [FlowLogInformation] Parameters that define the
1839
+ # configuration of flow log.
1840
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1841
+ # will be added to the HTTP request.
1842
+ #
1843
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1844
+ #
1845
+ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1846
+ begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1847
+ end
1848
+
1849
+ #
1850
+ # Configures flow log on a specified resource.
1851
+ #
1852
+ # @param resource_group_name [String] The name of the network watcher resource
1853
+ # group.
1854
+ # @param network_watcher_name [String] The name of the network watcher
1855
+ # resource.
1856
+ # @param parameters [FlowLogInformation] Parameters that define the
1857
+ # configuration of flow log.
1858
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1859
+ # to the HTTP request.
1860
+ #
1861
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1862
+ #
1863
+ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1864
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1865
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1866
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1867
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1868
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1869
+
1870
+
1871
+ request_headers = {}
1872
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1873
+
1874
+ # Set Headers
1875
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1876
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1877
+
1878
+ # Serialize Request
1879
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::FlowLogInformation.mapper()
1880
+ request_content = @client.serialize(request_mapper, parameters)
1881
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1882
+
1883
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog'
1884
+
1885
+ request_url = @base_url || @client.base_url
1886
+
1887
+ options = {
1888
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1889
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
1890
+ query_params: {'api-version' => @client.api_version},
1891
+ body: request_content,
1892
+ headers: request_headers.merge(custom_headers || {}),
1893
+ base_url: request_url
1894
+ }
1895
+ promise = @client.make_request_async(:post, path_template, options)
1896
+
1897
+ promise = promise.then do |result|
1898
+ http_response = result.response
1899
+ status_code = http_response.status
1900
+ response_content = http_response.body
1901
+ unless status_code == 200 || status_code == 202
1902
+ error_model = JSON.load(response_content)
1903
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1904
+ end
1905
+
1906
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1907
+ # Deserialize Response
1908
+ if status_code == 200
1909
+ begin
1910
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1911
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::FlowLogInformation.mapper()
1912
+ result.body = @client.deserialize(result_mapper, parsed_response)
1913
+ rescue Exception => e
1914
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1915
+ end
1916
+ end
1917
+ # Deserialize Response
1918
+ if status_code == 202
1919
+ begin
1920
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1921
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::FlowLogInformation.mapper()
1922
+ result.body = @client.deserialize(result_mapper, parsed_response)
1923
+ rescue Exception => e
1924
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1925
+ end
1926
+ end
1927
+
1928
+ result
1929
+ end
1930
+
1931
+ promise.execute
1932
+ end
1933
+
1934
+ #
1935
+ # Queries status of flow log on a specified resource.
1936
+ #
1937
+ # @param resource_group_name [String] The name of the network watcher resource
1938
+ # group.
1939
+ # @param network_watcher_name [String] The name of the network watcher
1940
+ # resource.
1941
+ # @param parameters [FlowLogStatusParameters] Parameters that define a resource
1942
+ # to query flow log status.
1943
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1944
+ # will be added to the HTTP request.
1945
+ #
1946
+ # @return [FlowLogInformation] operation results.
1947
+ #
1948
+ def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1949
+ response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1950
+ response.body unless response.nil?
1951
+ end
1952
+
1953
+ #
1954
+ # Queries status of flow log on a specified resource.
1955
+ #
1956
+ # @param resource_group_name [String] The name of the network watcher resource
1957
+ # group.
1958
+ # @param network_watcher_name [String] The name of the network watcher
1959
+ # resource.
1960
+ # @param parameters [FlowLogStatusParameters] Parameters that define a resource
1961
+ # to query flow log status.
1962
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1963
+ # will be added to the HTTP request.
1964
+ #
1965
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1966
+ #
1967
+ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1968
+ begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
1969
+ end
1970
+
1971
+ #
1972
+ # Queries status of flow log on a specified resource.
1973
+ #
1974
+ # @param resource_group_name [String] The name of the network watcher resource
1975
+ # group.
1976
+ # @param network_watcher_name [String] The name of the network watcher
1977
+ # resource.
1978
+ # @param parameters [FlowLogStatusParameters] Parameters that define a resource
1979
+ # to query flow log status.
1980
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1981
+ # to the HTTP request.
1982
+ #
1983
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1984
+ #
1985
+ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
1986
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1987
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1988
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1989
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1990
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1991
+
1992
+
1993
+ request_headers = {}
1994
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1995
+
1996
+ # Set Headers
1997
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1998
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1999
+
2000
+ # Serialize Request
2001
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::FlowLogStatusParameters.mapper()
2002
+ request_content = @client.serialize(request_mapper, parameters)
2003
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2004
+
2005
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus'
2006
+
2007
+ request_url = @base_url || @client.base_url
2008
+
2009
+ options = {
2010
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2011
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
2012
+ query_params: {'api-version' => @client.api_version},
2013
+ body: request_content,
2014
+ headers: request_headers.merge(custom_headers || {}),
2015
+ base_url: request_url
2016
+ }
2017
+ promise = @client.make_request_async(:post, path_template, options)
2018
+
2019
+ promise = promise.then do |result|
2020
+ http_response = result.response
2021
+ status_code = http_response.status
2022
+ response_content = http_response.body
2023
+ unless status_code == 200 || status_code == 202
2024
+ error_model = JSON.load(response_content)
2025
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2026
+ end
2027
+
2028
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2029
+ # Deserialize Response
2030
+ if status_code == 200
2031
+ begin
2032
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2033
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::FlowLogInformation.mapper()
2034
+ result.body = @client.deserialize(result_mapper, parsed_response)
2035
+ rescue Exception => e
2036
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2037
+ end
2038
+ end
2039
+ # Deserialize Response
2040
+ if status_code == 202
2041
+ begin
2042
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2043
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::FlowLogInformation.mapper()
2044
+ result.body = @client.deserialize(result_mapper, parsed_response)
2045
+ rescue Exception => e
2046
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2047
+ end
2048
+ end
2049
+
2050
+ result
2051
+ end
2052
+
2053
+ promise.execute
2054
+ end
2055
+
2056
+ #
2057
+ # Verifies the possibility of establishing a direct TCP connection from a
2058
+ # virtual machine to a given endpoint including another VM or an arbitrary
2059
+ # remote server.
2060
+ #
2061
+ # @param resource_group_name [String] The name of the network watcher resource
2062
+ # group.
2063
+ # @param network_watcher_name [String] The name of the network watcher
2064
+ # resource.
2065
+ # @param parameters [ConnectivityParameters] Parameters that determine how the
2066
+ # connectivity check will be performed.
2067
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2068
+ # will be added to the HTTP request.
2069
+ #
2070
+ # @return [ConnectivityInformation] operation results.
2071
+ #
2072
+ def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2073
+ response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
2074
+ response.body unless response.nil?
2075
+ end
2076
+
2077
+ #
2078
+ # Verifies the possibility of establishing a direct TCP connection from a
2079
+ # virtual machine to a given endpoint including another VM or an arbitrary
2080
+ # remote server.
2081
+ #
2082
+ # @param resource_group_name [String] The name of the network watcher resource
2083
+ # group.
2084
+ # @param network_watcher_name [String] The name of the network watcher
2085
+ # resource.
2086
+ # @param parameters [ConnectivityParameters] Parameters that determine how the
2087
+ # connectivity check will be performed.
2088
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2089
+ # will be added to the HTTP request.
2090
+ #
2091
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2092
+ #
2093
+ def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2094
+ begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
2095
+ end
2096
+
2097
+ #
2098
+ # Verifies the possibility of establishing a direct TCP connection from a
2099
+ # virtual machine to a given endpoint including another VM or an arbitrary
2100
+ # remote server.
2101
+ #
2102
+ # @param resource_group_name [String] The name of the network watcher resource
2103
+ # group.
2104
+ # @param network_watcher_name [String] The name of the network watcher
2105
+ # resource.
2106
+ # @param parameters [ConnectivityParameters] Parameters that determine how the
2107
+ # connectivity check will be performed.
2108
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2109
+ # to the HTTP request.
2110
+ #
2111
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2112
+ #
2113
+ def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2114
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2115
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
2116
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
2117
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2118
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2119
+
2120
+
2121
+ request_headers = {}
2122
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2123
+
2124
+ # Set Headers
2125
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2126
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2127
+
2128
+ # Serialize Request
2129
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::ConnectivityParameters.mapper()
2130
+ request_content = @client.serialize(request_mapper, parameters)
2131
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2132
+
2133
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck'
2134
+
2135
+ request_url = @base_url || @client.base_url
2136
+
2137
+ options = {
2138
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2139
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
2140
+ query_params: {'api-version' => @client.api_version},
2141
+ body: request_content,
2142
+ headers: request_headers.merge(custom_headers || {}),
2143
+ base_url: request_url
2144
+ }
2145
+ promise = @client.make_request_async(:post, path_template, options)
2146
+
2147
+ promise = promise.then do |result|
2148
+ http_response = result.response
2149
+ status_code = http_response.status
2150
+ response_content = http_response.body
2151
+ unless status_code == 200 || status_code == 202
2152
+ error_model = JSON.load(response_content)
2153
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2154
+ end
2155
+
2156
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2157
+ # Deserialize Response
2158
+ if status_code == 200
2159
+ begin
2160
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2161
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::ConnectivityInformation.mapper()
2162
+ result.body = @client.deserialize(result_mapper, parsed_response)
2163
+ rescue Exception => e
2164
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2165
+ end
2166
+ end
2167
+ # Deserialize Response
2168
+ if status_code == 202
2169
+ begin
2170
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2171
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::ConnectivityInformation.mapper()
2172
+ result.body = @client.deserialize(result_mapper, parsed_response)
2173
+ rescue Exception => e
2174
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2175
+ end
2176
+ end
2177
+
2178
+ result
2179
+ end
2180
+
2181
+ promise.execute
2182
+ end
2183
+
2184
+ #
2185
+ # Gets the relative latency score for internet service providers from a
2186
+ # specified location to Azure regions.
2187
+ #
2188
+ # @param resource_group_name [String] The name of the network watcher resource
2189
+ # group.
2190
+ # @param network_watcher_name [String] The name of the network watcher
2191
+ # resource.
2192
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
2193
+ # determine Azure reachability report configuration.
2194
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2195
+ # will be added to the HTTP request.
2196
+ #
2197
+ # @return [AzureReachabilityReport] operation results.
2198
+ #
2199
+ def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2200
+ response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
2201
+ response.body unless response.nil?
2202
+ end
2203
+
2204
+ #
2205
+ # Gets the relative latency score for internet service providers from a
2206
+ # specified location to Azure regions.
2207
+ #
2208
+ # @param resource_group_name [String] The name of the network watcher resource
2209
+ # group.
2210
+ # @param network_watcher_name [String] The name of the network watcher
2211
+ # resource.
2212
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
2213
+ # determine Azure reachability report configuration.
2214
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2215
+ # will be added to the HTTP request.
2216
+ #
2217
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2218
+ #
2219
+ def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2220
+ begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
2221
+ end
2222
+
2223
+ #
2224
+ # Gets the relative latency score for internet service providers from a
2225
+ # specified location to Azure regions.
2226
+ #
2227
+ # @param resource_group_name [String] The name of the network watcher resource
2228
+ # group.
2229
+ # @param network_watcher_name [String] The name of the network watcher
2230
+ # resource.
2231
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
2232
+ # determine Azure reachability report configuration.
2233
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2234
+ # to the HTTP request.
2235
+ #
2236
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2237
+ #
2238
+ def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2239
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2240
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
2241
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
2242
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2243
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2244
+
2245
+
2246
+ request_headers = {}
2247
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2248
+
2249
+ # Set Headers
2250
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2251
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2252
+
2253
+ # Serialize Request
2254
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::AzureReachabilityReportParameters.mapper()
2255
+ request_content = @client.serialize(request_mapper, parameters)
2256
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2257
+
2258
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport'
2259
+
2260
+ request_url = @base_url || @client.base_url
2261
+
2262
+ options = {
2263
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2264
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
2265
+ query_params: {'api-version' => @client.api_version},
2266
+ body: request_content,
2267
+ headers: request_headers.merge(custom_headers || {}),
2268
+ base_url: request_url
2269
+ }
2270
+ promise = @client.make_request_async(:post, path_template, options)
2271
+
2272
+ promise = promise.then do |result|
2273
+ http_response = result.response
2274
+ status_code = http_response.status
2275
+ response_content = http_response.body
2276
+ unless status_code == 200 || status_code == 202
2277
+ error_model = JSON.load(response_content)
2278
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2279
+ end
2280
+
2281
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2282
+ # Deserialize Response
2283
+ if status_code == 200
2284
+ begin
2285
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2286
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::AzureReachabilityReport.mapper()
2287
+ result.body = @client.deserialize(result_mapper, parsed_response)
2288
+ rescue Exception => e
2289
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2290
+ end
2291
+ end
2292
+ # Deserialize Response
2293
+ if status_code == 202
2294
+ begin
2295
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2296
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::AzureReachabilityReport.mapper()
2297
+ result.body = @client.deserialize(result_mapper, parsed_response)
2298
+ rescue Exception => e
2299
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2300
+ end
2301
+ end
2302
+
2303
+ result
2304
+ end
2305
+
2306
+ promise.execute
2307
+ end
2308
+
2309
+ #
2310
+ # Lists all available internet service providers for a specified Azure region.
2311
+ #
2312
+ # @param resource_group_name [String] The name of the network watcher resource
2313
+ # group.
2314
+ # @param network_watcher_name [String] The name of the network watcher
2315
+ # resource.
2316
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
2317
+ # the list of available providers.
2318
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2319
+ # will be added to the HTTP request.
2320
+ #
2321
+ # @return [AvailableProvidersList] operation results.
2322
+ #
2323
+ def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2324
+ response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
2325
+ response.body unless response.nil?
2326
+ end
2327
+
2328
+ #
2329
+ # Lists all available internet service providers for a specified Azure region.
2330
+ #
2331
+ # @param resource_group_name [String] The name of the network watcher resource
2332
+ # group.
2333
+ # @param network_watcher_name [String] The name of the network watcher
2334
+ # resource.
2335
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
2336
+ # the list of available providers.
2337
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2338
+ # will be added to the HTTP request.
2339
+ #
2340
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2341
+ #
2342
+ def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2343
+ begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value!
2344
+ end
2345
+
2346
+ #
2347
+ # Lists all available internet service providers for a specified Azure region.
2348
+ #
2349
+ # @param resource_group_name [String] The name of the network watcher resource
2350
+ # group.
2351
+ # @param network_watcher_name [String] The name of the network watcher
2352
+ # resource.
2353
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
2354
+ # the list of available providers.
2355
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2356
+ # to the HTTP request.
2357
+ #
2358
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2359
+ #
2360
+ def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil)
2361
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2362
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
2363
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
2364
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2365
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2366
+
2367
+
2368
+ request_headers = {}
2369
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2370
+
2371
+ # Set Headers
2372
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2373
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2374
+
2375
+ # Serialize Request
2376
+ request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::AvailableProvidersListParameters.mapper()
2377
+ request_content = @client.serialize(request_mapper, parameters)
2378
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2379
+
2380
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList'
2381
+
2382
+ request_url = @base_url || @client.base_url
2383
+
2384
+ options = {
2385
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2386
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
2387
+ query_params: {'api-version' => @client.api_version},
2388
+ body: request_content,
2389
+ headers: request_headers.merge(custom_headers || {}),
2390
+ base_url: request_url
2391
+ }
2392
+ promise = @client.make_request_async(:post, path_template, options)
2393
+
2394
+ promise = promise.then do |result|
2395
+ http_response = result.response
2396
+ status_code = http_response.status
2397
+ response_content = http_response.body
2398
+ unless status_code == 200 || status_code == 202
2399
+ error_model = JSON.load(response_content)
2400
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2401
+ end
2402
+
2403
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2404
+ # Deserialize Response
2405
+ if status_code == 200
2406
+ begin
2407
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2408
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::AvailableProvidersList.mapper()
2409
+ result.body = @client.deserialize(result_mapper, parsed_response)
2410
+ rescue Exception => e
2411
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2412
+ end
2413
+ end
2414
+ # Deserialize Response
2415
+ if status_code == 202
2416
+ begin
2417
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2418
+ result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::AvailableProvidersList.mapper()
2419
+ result.body = @client.deserialize(result_mapper, parsed_response)
2420
+ rescue Exception => e
2421
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2422
+ end
2423
+ end
2424
+
2425
+ result
2426
+ end
2427
+
2428
+ promise.execute
2429
+ end
2430
+
2431
+ end
2432
+ end