azure_mgmt_network 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (305) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_network.rb +91 -77
  3. data/lib/generated/azure_mgmt_network/application_gateways.rb +13 -13
  4. data/lib/generated/azure_mgmt_network/application_security_groups.rb +795 -0
  5. data/lib/generated/azure_mgmt_network/available_endpoint_services.rb +2 -2
  6. data/lib/generated/azure_mgmt_network/bgp_service_communities.rb +2 -2
  7. data/lib/generated/azure_mgmt_network/default_security_rules.rb +3 -3
  8. data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +5 -5
  9. data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +5 -5
  10. data/lib/generated/azure_mgmt_network/express_route_circuits.rb +11 -11
  11. data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +2 -2
  12. data/lib/generated/azure_mgmt_network/inbound_nat_rules.rb +5 -5
  13. data/lib/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +3 -3
  14. data/lib/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +3 -3
  15. data/lib/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +3 -3
  16. data/lib/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +2 -2
  17. data/lib/generated/azure_mgmt_network/load_balancer_probes.rb +3 -3
  18. data/lib/generated/azure_mgmt_network/load_balancers.rb +6 -6
  19. data/lib/generated/azure_mgmt_network/local_network_gateways.rb +5 -5
  20. data/lib/generated/azure_mgmt_network/models/access.rb +1 -1
  21. data/lib/generated/azure_mgmt_network/models/address_space.rb +1 -1
  22. data/lib/generated/azure_mgmt_network/models/application_gateway.rb +1 -1
  23. data/lib/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +1 -1
  24. data/lib/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +1 -1
  25. data/lib/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +1 -1
  26. data/lib/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +1 -1
  27. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +1 -1
  28. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +1 -1
  29. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +1 -1
  30. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +1 -1
  31. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +1 -1
  32. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +1 -1
  33. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +1 -1
  34. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +1 -1
  35. data/lib/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +1 -1
  36. data/lib/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +1 -1
  37. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +1 -1
  38. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +1 -1
  39. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +1 -1
  40. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +1 -1
  41. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +1 -1
  42. data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +1 -1
  43. data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +1 -1
  44. data/lib/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +1 -1
  45. data/lib/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +1 -1
  46. data/lib/generated/azure_mgmt_network/models/application_gateway_list_result.rb +1 -1
  47. data/lib/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +1 -1
  48. data/lib/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +1 -1
  49. data/lib/generated/azure_mgmt_network/models/application_gateway_probe.rb +1 -1
  50. data/lib/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +1 -1
  51. data/lib/generated/azure_mgmt_network/models/application_gateway_protocol.rb +1 -1
  52. data/lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +1 -1
  53. data/lib/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +1 -1
  54. data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +1 -1
  55. data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +1 -1
  56. data/lib/generated/azure_mgmt_network/models/application_gateway_sku.rb +1 -1
  57. data/lib/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +1 -1
  58. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +1 -1
  59. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +1 -1
  60. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +1 -1
  61. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +1 -1
  62. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +1 -1
  63. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +1 -1
  64. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +1 -1
  65. data/lib/generated/azure_mgmt_network/models/application_gateway_tier.rb +1 -1
  66. data/lib/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +1 -1
  67. data/lib/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +1 -1
  68. data/lib/generated/azure_mgmt_network/models/application_security_group.rb +118 -0
  69. data/lib/generated/azure_mgmt_network/models/application_security_group_list_result.rb +96 -0
  70. data/lib/generated/azure_mgmt_network/models/association_type.rb +1 -1
  71. data/lib/generated/azure_mgmt_network/models/authentication_method.rb +1 -1
  72. data/lib/generated/azure_mgmt_network/models/authorization_list_result.rb +1 -1
  73. data/lib/generated/azure_mgmt_network/models/authorization_use_status.rb +1 -1
  74. data/lib/generated/azure_mgmt_network/models/available_providers_list.rb +54 -0
  75. data/lib/generated/azure_mgmt_network/models/available_providers_list_city.rb +62 -0
  76. data/lib/generated/azure_mgmt_network/models/available_providers_list_country.rb +81 -0
  77. data/lib/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +83 -0
  78. data/lib/generated/azure_mgmt_network/models/available_providers_list_state.rb +81 -0
  79. data/lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb +1 -1
  80. data/lib/generated/azure_mgmt_network/models/azure_reachability_report.rb +76 -0
  81. data/lib/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +74 -0
  82. data/lib/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +60 -0
  83. data/lib/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +65 -0
  84. data/lib/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +100 -0
  85. data/lib/generated/azure_mgmt_network/models/backend_address_pool.rb +1 -1
  86. data/lib/generated/azure_mgmt_network/models/bgp_peer_state.rb +1 -1
  87. data/lib/generated/azure_mgmt_network/models/bgp_peer_status.rb +1 -1
  88. data/lib/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +1 -1
  89. data/lib/generated/azure_mgmt_network/models/bgp_service_community.rb +1 -1
  90. data/lib/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +1 -1
  91. data/lib/generated/azure_mgmt_network/models/bgp_settings.rb +1 -1
  92. data/lib/generated/azure_mgmt_network/models/bgpcommunity.rb +1 -1
  93. data/lib/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +1 -1
  94. data/lib/generated/azure_mgmt_network/models/connection_shared_key.rb +1 -1
  95. data/lib/generated/azure_mgmt_network/models/connection_status.rb +1 -1
  96. data/lib/generated/azure_mgmt_network/models/connectivity_destination.rb +1 -1
  97. data/lib/generated/azure_mgmt_network/models/connectivity_hop.rb +1 -1
  98. data/lib/generated/azure_mgmt_network/models/connectivity_information.rb +1 -1
  99. data/lib/generated/azure_mgmt_network/models/connectivity_issue.rb +1 -1
  100. data/lib/generated/azure_mgmt_network/models/connectivity_parameters.rb +1 -1
  101. data/lib/generated/azure_mgmt_network/models/connectivity_source.rb +1 -1
  102. data/lib/generated/azure_mgmt_network/models/dh_group.rb +1 -1
  103. data/lib/generated/azure_mgmt_network/models/dhcp_options.rb +1 -1
  104. data/lib/generated/azure_mgmt_network/models/direction.rb +1 -1
  105. data/lib/generated/azure_mgmt_network/models/dns_name_availability_result.rb +1 -1
  106. data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +1 -1
  107. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +1 -1
  108. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +1 -1
  109. data/lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb +1 -1
  110. data/lib/generated/azure_mgmt_network/models/effective_route.rb +1 -1
  111. data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +1 -1
  112. data/lib/generated/azure_mgmt_network/models/effective_route_source.rb +1 -1
  113. data/lib/generated/azure_mgmt_network/models/effective_route_state.rb +1 -1
  114. data/lib/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +1 -1
  115. data/lib/generated/azure_mgmt_network/models/endpoint_service_result.rb +1 -1
  116. data/lib/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +1 -1
  117. data/lib/generated/azure_mgmt_network/models/error.rb +1 -1
  118. data/lib/generated/azure_mgmt_network/models/error_details.rb +1 -1
  119. data/lib/generated/azure_mgmt_network/models/express_route_circuit.rb +1 -1
  120. data/lib/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +1 -1
  121. data/lib/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +1 -1
  122. data/lib/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +1 -1
  123. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +1 -1
  124. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +1 -1
  125. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +1 -1
  126. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +1 -1
  127. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +1 -1
  128. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_type.rb +1 -1
  129. data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +1 -1
  130. data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +1 -1
  131. data/lib/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +1 -1
  132. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +1 -1
  133. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +1 -1
  134. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +1 -1
  135. data/lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +1 -1
  136. data/lib/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +1 -1
  137. data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +1 -1
  138. data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +1 -1
  139. data/lib/generated/azure_mgmt_network/models/express_route_service_provider.rb +1 -1
  140. data/lib/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +1 -1
  141. data/lib/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +1 -1
  142. data/lib/generated/azure_mgmt_network/models/flow_log_information.rb +1 -1
  143. data/lib/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +1 -1
  144. data/lib/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +19 -1
  145. data/lib/generated/azure_mgmt_network/models/gateway_route.rb +1 -1
  146. data/lib/generated/azure_mgmt_network/models/gateway_route_list_result.rb +1 -1
  147. data/lib/generated/azure_mgmt_network/models/ike_encryption.rb +1 -1
  148. data/lib/generated/azure_mgmt_network/models/ike_integrity.rb +1 -1
  149. data/lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb +3 -4
  150. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb +4 -5
  151. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +1 -1
  152. data/lib/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +1 -1
  153. data/lib/generated/azure_mgmt_network/models/ipallocation_method.rb +1 -1
  154. data/lib/generated/azure_mgmt_network/models/ipconfiguration.rb +1 -1
  155. data/lib/generated/azure_mgmt_network/models/ipsec_encryption.rb +1 -1
  156. data/lib/generated/azure_mgmt_network/models/ipsec_integrity.rb +1 -1
  157. data/lib/generated/azure_mgmt_network/models/ipsec_policy.rb +1 -1
  158. data/lib/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +1 -1
  159. data/lib/generated/azure_mgmt_network/models/ipversion.rb +1 -1
  160. data/lib/generated/azure_mgmt_network/models/issue_type.rb +1 -1
  161. data/lib/generated/azure_mgmt_network/models/load_balancer.rb +1 -1
  162. data/lib/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +1 -1
  163. data/lib/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +1 -1
  164. data/lib/generated/azure_mgmt_network/models/load_balancer_list_result.rb +1 -1
  165. data/lib/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +1 -1
  166. data/lib/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +1 -1
  167. data/lib/generated/azure_mgmt_network/models/load_balancer_sku.rb +1 -1
  168. data/lib/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +1 -1
  169. data/lib/generated/azure_mgmt_network/models/load_balancing_rule.rb +7 -7
  170. data/lib/generated/azure_mgmt_network/models/load_distribution.rb +1 -1
  171. data/lib/generated/azure_mgmt_network/models/local_network_gateway.rb +1 -1
  172. data/lib/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +1 -1
  173. data/lib/generated/azure_mgmt_network/models/network_interface.rb +1 -1
  174. data/lib/generated/azure_mgmt_network/models/network_interface_association.rb +1 -1
  175. data/lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +1 -1
  176. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +20 -1
  177. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +1 -1
  178. data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +1 -1
  179. data/lib/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +1 -1
  180. data/lib/generated/azure_mgmt_network/models/network_operation_status.rb +1 -1
  181. data/lib/generated/azure_mgmt_network/models/network_security_group.rb +1 -1
  182. data/lib/generated/azure_mgmt_network/models/network_security_group_list_result.rb +1 -1
  183. data/lib/generated/azure_mgmt_network/models/network_watcher.rb +1 -1
  184. data/lib/generated/azure_mgmt_network/models/network_watcher_list_result.rb +1 -1
  185. data/lib/generated/azure_mgmt_network/models/next_hop_parameters.rb +1 -1
  186. data/lib/generated/azure_mgmt_network/models/next_hop_result.rb +1 -1
  187. data/lib/generated/azure_mgmt_network/models/next_hop_type.rb +1 -1
  188. data/lib/generated/azure_mgmt_network/models/origin.rb +1 -1
  189. data/lib/generated/azure_mgmt_network/models/outbound_nat_rule.rb +1 -1
  190. data/lib/generated/azure_mgmt_network/models/packet_capture.rb +1 -1
  191. data/lib/generated/azure_mgmt_network/models/packet_capture_filter.rb +1 -1
  192. data/lib/generated/azure_mgmt_network/models/packet_capture_list_result.rb +1 -1
  193. data/lib/generated/azure_mgmt_network/models/packet_capture_parameters.rb +1 -1
  194. data/lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +1 -1
  195. data/lib/generated/azure_mgmt_network/models/packet_capture_result.rb +1 -1
  196. data/lib/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +1 -1
  197. data/lib/generated/azure_mgmt_network/models/patch_route_filter.rb +1 -1
  198. data/lib/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +1 -1
  199. data/lib/generated/azure_mgmt_network/models/pc_error.rb +1 -1
  200. data/lib/generated/azure_mgmt_network/models/pc_protocol.rb +1 -1
  201. data/lib/generated/azure_mgmt_network/models/pc_status.rb +1 -1
  202. data/lib/generated/azure_mgmt_network/models/pfs_group.rb +1 -1
  203. data/lib/generated/azure_mgmt_network/models/probe.rb +1 -1
  204. data/lib/generated/azure_mgmt_network/models/probe_protocol.rb +1 -1
  205. data/lib/generated/azure_mgmt_network/models/processor_architecture.rb +1 -1
  206. data/lib/generated/azure_mgmt_network/models/protocol.rb +1 -1
  207. data/lib/generated/azure_mgmt_network/models/provisioning_state.rb +1 -1
  208. data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +19 -1
  209. data/lib/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +1 -1
  210. data/lib/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +1 -1
  211. data/lib/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +1 -1
  212. data/lib/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +1 -1
  213. data/lib/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +1 -1
  214. data/lib/generated/azure_mgmt_network/models/resource_navigation_link.rb +1 -1
  215. data/lib/generated/azure_mgmt_network/models/retention_policy_parameters.rb +1 -1
  216. data/lib/generated/azure_mgmt_network/models/route.rb +1 -1
  217. data/lib/generated/azure_mgmt_network/models/route_filter.rb +1 -1
  218. data/lib/generated/azure_mgmt_network/models/route_filter_list_result.rb +1 -1
  219. data/lib/generated/azure_mgmt_network/models/route_filter_rule.rb +1 -1
  220. data/lib/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +1 -1
  221. data/lib/generated/azure_mgmt_network/models/route_list_result.rb +1 -1
  222. data/lib/generated/azure_mgmt_network/models/route_next_hop_type.rb +1 -1
  223. data/lib/generated/azure_mgmt_network/models/route_table.rb +1 -1
  224. data/lib/generated/azure_mgmt_network/models/route_table_list_result.rb +1 -1
  225. data/lib/generated/azure_mgmt_network/models/security_group_network_interface.rb +1 -1
  226. data/lib/generated/azure_mgmt_network/models/security_group_view_parameters.rb +1 -1
  227. data/lib/generated/azure_mgmt_network/models/security_group_view_result.rb +1 -1
  228. data/lib/generated/azure_mgmt_network/models/security_rule.rb +39 -1
  229. data/lib/generated/azure_mgmt_network/models/security_rule_access.rb +1 -1
  230. data/lib/generated/azure_mgmt_network/models/security_rule_associations.rb +1 -1
  231. data/lib/generated/azure_mgmt_network/models/security_rule_direction.rb +1 -1
  232. data/lib/generated/azure_mgmt_network/models/security_rule_list_result.rb +1 -1
  233. data/lib/generated/azure_mgmt_network/models/security_rule_protocol.rb +1 -1
  234. data/lib/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +1 -1
  235. data/lib/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +1 -1
  236. data/lib/generated/azure_mgmt_network/models/severity.rb +1 -1
  237. data/lib/generated/azure_mgmt_network/models/subnet.rb +1 -1
  238. data/lib/generated/azure_mgmt_network/models/subnet_association.rb +1 -1
  239. data/lib/generated/azure_mgmt_network/models/subnet_list_result.rb +1 -1
  240. data/lib/generated/azure_mgmt_network/models/topology.rb +1 -1
  241. data/lib/generated/azure_mgmt_network/models/topology_association.rb +1 -1
  242. data/lib/generated/azure_mgmt_network/models/topology_parameters.rb +1 -1
  243. data/lib/generated/azure_mgmt_network/models/topology_resource.rb +1 -1
  244. data/lib/generated/azure_mgmt_network/models/transport_protocol.rb +2 -1
  245. data/lib/generated/azure_mgmt_network/models/troubleshooting_details.rb +1 -1
  246. data/lib/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +1 -1
  247. data/lib/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +1 -1
  248. data/lib/generated/azure_mgmt_network/models/troubleshooting_result.rb +1 -1
  249. data/lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb +1 -1
  250. data/lib/generated/azure_mgmt_network/models/usage.rb +1 -1
  251. data/lib/generated/azure_mgmt_network/models/usage_name.rb +1 -1
  252. data/lib/generated/azure_mgmt_network/models/usages_list_result.rb +1 -1
  253. data/lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +1 -1
  254. data/lib/generated/azure_mgmt_network/models/verification_ipflow_result.rb +1 -1
  255. data/lib/generated/azure_mgmt_network/models/virtual_network.rb +23 -1
  256. data/lib/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +1 -1
  257. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb +1 -1
  258. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +1 -1
  259. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +1 -1
  260. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +1 -1
  261. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +1 -1
  262. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +1 -1
  263. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +1 -1
  264. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +1 -1
  265. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +1 -1
  266. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +1 -1
  267. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +1 -1
  268. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +1 -1
  269. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +1 -1
  270. data/lib/generated/azure_mgmt_network/models/virtual_network_list_result.rb +1 -1
  271. data/lib/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +1 -1
  272. data/lib/generated/azure_mgmt_network/models/virtual_network_peering.rb +5 -2
  273. data/lib/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +1 -1
  274. data/lib/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +1 -1
  275. data/lib/generated/azure_mgmt_network/models/virtual_network_usage.rb +1 -1
  276. data/lib/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +1 -1
  277. data/lib/generated/azure_mgmt_network/models/vpn_client_configuration.rb +1 -1
  278. data/lib/generated/azure_mgmt_network/models/vpn_client_parameters.rb +1 -1
  279. data/lib/generated/azure_mgmt_network/models/vpn_client_protocol.rb +1 -1
  280. data/lib/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +1 -1
  281. data/lib/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +1 -1
  282. data/lib/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +65 -0
  283. data/lib/generated/azure_mgmt_network/models/vpn_type.rb +1 -1
  284. data/lib/generated/azure_mgmt_network/module_definition.rb +1 -1
  285. data/lib/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +3 -3
  286. data/lib/generated/azure_mgmt_network/network_interface_load_balancers.rb +2 -2
  287. data/lib/generated/azure_mgmt_network/network_interfaces.rb +8 -8
  288. data/lib/generated/azure_mgmt_network/network_management_client.rb +6 -2
  289. data/lib/generated/azure_mgmt_network/network_security_groups.rb +6 -6
  290. data/lib/generated/azure_mgmt_network/network_watchers.rb +365 -15
  291. data/lib/generated/azure_mgmt_network/packet_captures.rb +7 -7
  292. data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +6 -6
  293. data/lib/generated/azure_mgmt_network/route_filter_rules.rb +6 -6
  294. data/lib/generated/azure_mgmt_network/route_filters.rb +7 -7
  295. data/lib/generated/azure_mgmt_network/route_tables.rb +6 -6
  296. data/lib/generated/azure_mgmt_network/routes.rb +5 -5
  297. data/lib/generated/azure_mgmt_network/security_rules.rb +5 -5
  298. data/lib/generated/azure_mgmt_network/subnets.rb +5 -5
  299. data/lib/generated/azure_mgmt_network/usages.rb +2 -2
  300. data/lib/generated/azure_mgmt_network/version.rb +2 -2
  301. data/lib/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +8 -8
  302. data/lib/generated/azure_mgmt_network/virtual_network_gateways.rb +232 -13
  303. data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +5 -5
  304. data/lib/generated/azure_mgmt_network/virtual_networks.rb +8 -8
  305. metadata +16 -2
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -0,0 +1,65 @@
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::ARM::Network
7
+ module Models
8
+ #
9
+ # Vpn device configuration script generation parameters
10
+ #
11
+ class VpnDeviceScriptParameters
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] The vendor for the vpn device.
17
+ attr_accessor :vendor
18
+
19
+ # @return [String] The device family for the vpn device.
20
+ attr_accessor :device_family
21
+
22
+ # @return [String] The firmware version for the vpn device.
23
+ attr_accessor :firmware_version
24
+
25
+
26
+ #
27
+ # Mapper for VpnDeviceScriptParameters class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'VpnDeviceScriptParameters',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'VpnDeviceScriptParameters',
37
+ model_properties: {
38
+ vendor: {
39
+ required: false,
40
+ serialized_name: 'vendor',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ device_family: {
46
+ required: false,
47
+ serialized_name: 'deviceFamily',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ firmware_version: {
53
+ required: false,
54
+ serialized_name: 'firmwareVersion',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -63,7 +63,7 @@ module Azure::ARM::Network
63
63
  def list_async(resource_group_name, network_interface_name, custom_headers = nil)
64
64
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
65
65
  fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil?
66
- api_version = '2017-08-01'
66
+ api_version = '2017-09-01'
67
67
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
68
68
 
69
69
 
@@ -158,7 +158,7 @@ module Azure::ARM::Network
158
158
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
159
159
  fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil?
160
160
  fail ArgumentError, 'ip_configuration_name is nil' if ip_configuration_name.nil?
161
- api_version = '2017-08-01'
161
+ api_version = '2017-09-01'
162
162
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
163
163
 
164
164
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -63,7 +63,7 @@ module Azure::ARM::Network
63
63
  def list_async(resource_group_name, network_interface_name, custom_headers = nil)
64
64
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
65
65
  fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil?
66
- api_version = '2017-08-01'
66
+ api_version = '2017-09-01'
67
67
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
68
68
 
69
69
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -104,7 +104,7 @@ module Azure::ARM::Network
104
104
  def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil)
105
105
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
106
106
  fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil?
107
- api_version = '2017-08-01'
107
+ api_version = '2017-09-01'
108
108
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
109
109
 
110
110
 
@@ -233,7 +233,7 @@ module Azure::ARM::Network
233
233
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
234
234
  #
235
235
  def list_all_async(custom_headers = nil)
236
- api_version = '2017-08-01'
236
+ api_version = '2017-09-01'
237
237
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
238
238
 
239
239
 
@@ -320,7 +320,7 @@ module Azure::ARM::Network
320
320
  #
321
321
  def list_async(resource_group_name, custom_headers = nil)
322
322
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
323
- api_version = '2017-08-01'
323
+ api_version = '2017-09-01'
324
324
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
325
325
 
326
326
 
@@ -794,7 +794,7 @@ module Azure::ARM::Network
794
794
  def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil)
795
795
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
796
796
  fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil?
797
- api_version = '2017-08-01'
797
+ api_version = '2017-09-01'
798
798
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
799
799
 
800
800
 
@@ -882,7 +882,7 @@ module Azure::ARM::Network
882
882
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
883
883
  fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil?
884
884
  fail ArgumentError, 'parameters is nil' if parameters.nil?
885
- api_version = '2017-08-01'
885
+ api_version = '2017-09-01'
886
886
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
887
887
 
888
888
 
@@ -992,7 +992,7 @@ module Azure::ARM::Network
992
992
  def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil)
993
993
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
994
994
  fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil?
995
- api_version = '2017-08-01'
995
+ api_version = '2017-09-01'
996
996
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
997
997
 
998
998
 
@@ -1083,7 +1083,7 @@ module Azure::ARM::Network
1083
1083
  def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil)
1084
1084
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1085
1085
  fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil?
1086
- api_version = '2017-08-01'
1086
+ api_version = '2017-09-01'
1087
1087
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1088
1088
 
1089
1089
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -36,6 +36,9 @@ module Azure::ARM::Network
36
36
  # @return [ApplicationGateways] application_gateways
37
37
  attr_reader :application_gateways
38
38
 
39
+ # @return [ApplicationSecurityGroups] application_security_groups
40
+ attr_reader :application_security_groups
41
+
39
42
  # @return [AvailableEndpointServices] available_endpoint_services
40
43
  attr_reader :available_endpoint_services
41
44
 
@@ -155,6 +158,7 @@ module Azure::ARM::Network
155
158
  @credentials = credentials
156
159
 
157
160
  @application_gateways = ApplicationGateways.new(self)
161
+ @application_security_groups = ApplicationSecurityGroups.new(self)
158
162
  @available_endpoint_services = AvailableEndpointServices.new(self)
159
163
  @express_route_circuit_authorizations = ExpressRouteCircuitAuthorizations.new(self)
160
164
  @express_route_circuit_peerings = ExpressRouteCircuitPeerings.new(self)
@@ -297,7 +301,7 @@ module Azure::ARM::Network
297
301
  def check_dns_name_availability_async(location, domain_name_label, custom_headers = nil)
298
302
  fail ArgumentError, 'location is nil' if location.nil?
299
303
  fail ArgumentError, 'domain_name_label is nil' if domain_name_label.nil?
300
- api_version = '2017-08-01'
304
+ api_version = '2017-09-01'
301
305
  fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
302
306
 
303
307
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -109,7 +109,7 @@ module Azure::ARM::Network
109
109
  def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil)
110
110
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
111
111
  fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil?
112
- api_version = '2017-08-01'
112
+ api_version = '2017-09-01'
113
113
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
114
114
 
115
115
 
@@ -240,7 +240,7 @@ module Azure::ARM::Network
240
240
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
241
241
  #
242
242
  def list_all_async(custom_headers = nil)
243
- api_version = '2017-08-01'
243
+ api_version = '2017-09-01'
244
244
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
245
245
 
246
246
 
@@ -327,7 +327,7 @@ module Azure::ARM::Network
327
327
  #
328
328
  def list_async(resource_group_name, custom_headers = nil)
329
329
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
330
- api_version = '2017-08-01'
330
+ api_version = '2017-09-01'
331
331
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
332
332
 
333
333
 
@@ -420,7 +420,7 @@ module Azure::ARM::Network
420
420
  def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil)
421
421
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
422
422
  fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil?
423
- api_version = '2017-08-01'
423
+ api_version = '2017-09-01'
424
424
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
425
425
 
426
426
 
@@ -511,7 +511,7 @@ module Azure::ARM::Network
511
511
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
512
512
  fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil?
513
513
  fail ArgumentError, 'parameters is nil' if parameters.nil?
514
- api_version = '2017-08-01'
514
+ api_version = '2017-09-01'
515
515
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
516
516
 
517
517
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -70,7 +70,7 @@ module Azure::ARM::Network
70
70
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
71
71
  fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
72
72
  fail ArgumentError, 'parameters is nil' if parameters.nil?
73
- api_version = '2017-08-01'
73
+ api_version = '2017-09-01'
74
74
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
75
75
 
76
76
 
@@ -180,7 +180,7 @@ module Azure::ARM::Network
180
180
  def get_async(resource_group_name, network_watcher_name, custom_headers = nil)
181
181
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
182
182
  fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
183
- api_version = '2017-08-01'
183
+ api_version = '2017-09-01'
184
184
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
185
185
 
186
186
 
@@ -305,7 +305,7 @@ module Azure::ARM::Network
305
305
  #
306
306
  def list_async(resource_group_name, custom_headers = nil)
307
307
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
308
- api_version = '2017-08-01'
308
+ api_version = '2017-09-01'
309
309
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
310
310
 
311
311
 
@@ -388,7 +388,7 @@ module Azure::ARM::Network
388
388
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
389
389
  #
390
390
  def list_all_async(custom_headers = nil)
391
- api_version = '2017-08-01'
391
+ api_version = '2017-09-01'
392
392
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
393
393
 
394
394
 
@@ -486,7 +486,7 @@ module Azure::ARM::Network
486
486
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
487
487
  fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
488
488
  fail ArgumentError, 'parameters is nil' if parameters.nil?
489
- api_version = '2017-08-01'
489
+ api_version = '2017-09-01'
490
490
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
491
491
 
492
492
 
@@ -931,6 +931,107 @@ module Azure::ARM::Network
931
931
  promise
932
932
  end
933
933
 
934
+ #
935
+ # Gets the relative latency score for internet service providers from a
936
+ # specified location to Azure regions.
937
+ #
938
+ # @param resource_group_name [String] The name of the network watcher resource
939
+ # group.
940
+ # @param network_watcher_name [String] The name of the network watcher
941
+ # resource.
942
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
943
+ # determine Azure reachability report configuration.
944
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
945
+ # will be added to the HTTP request.
946
+ #
947
+ # @return [AzureReachabilityReport] operation results.
948
+ #
949
+ def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil)
950
+ response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value!
951
+ response.body unless response.nil?
952
+ end
953
+
954
+ #
955
+ # @param resource_group_name [String] The name of the network watcher resource
956
+ # group.
957
+ # @param network_watcher_name [String] The name of the network watcher
958
+ # resource.
959
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
960
+ # determine Azure reachability report configuration.
961
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
962
+ # will be added to the HTTP request.
963
+ #
964
+ # @return [Concurrent::Promise] promise which provides async access to http
965
+ # response.
966
+ #
967
+ def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil)
968
+ # Send request
969
+ promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers)
970
+
971
+ promise = promise.then do |response|
972
+ # Defining deserialization method.
973
+ deserialize_method = lambda do |parsed_response|
974
+ result_mapper = Azure::ARM::Network::Models::AzureReachabilityReport.mapper()
975
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
976
+ end
977
+
978
+ # Waiting for response.
979
+ @client.get_long_running_operation_result(response, deserialize_method)
980
+ end
981
+
982
+ promise
983
+ end
984
+
985
+ #
986
+ # Lists all available internet service providers for a specified Azure region.
987
+ #
988
+ # @param resource_group_name [String] The name of the network watcher resource
989
+ # group.
990
+ # @param network_watcher_name [String] The name of the network watcher
991
+ # resource.
992
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
993
+ # the list of available providers.
994
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
995
+ # will be added to the HTTP request.
996
+ #
997
+ # @return [AvailableProvidersList] operation results.
998
+ #
999
+ def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil)
1000
+ response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value!
1001
+ response.body unless response.nil?
1002
+ end
1003
+
1004
+ #
1005
+ # @param resource_group_name [String] The name of the network watcher resource
1006
+ # group.
1007
+ # @param network_watcher_name [String] The name of the network watcher
1008
+ # resource.
1009
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
1010
+ # the list of available providers.
1011
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1012
+ # will be added to the HTTP request.
1013
+ #
1014
+ # @return [Concurrent::Promise] promise which provides async access to http
1015
+ # response.
1016
+ #
1017
+ def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil)
1018
+ # Send request
1019
+ promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers)
1020
+
1021
+ promise = promise.then do |response|
1022
+ # Defining deserialization method.
1023
+ deserialize_method = lambda do |parsed_response|
1024
+ result_mapper = Azure::ARM::Network::Models::AvailableProvidersList.mapper()
1025
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
1026
+ end
1027
+
1028
+ # Waiting for response.
1029
+ @client.get_long_running_operation_result(response, deserialize_method)
1030
+ end
1031
+
1032
+ promise
1033
+ end
1034
+
934
1035
  #
935
1036
  # Deletes the specified network watcher resource.
936
1037
  #
@@ -972,7 +1073,7 @@ module Azure::ARM::Network
972
1073
  def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil)
973
1074
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
974
1075
  fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
975
- api_version = '2017-08-01'
1076
+ api_version = '2017-09-01'
976
1077
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
977
1078
 
978
1079
 
@@ -1063,7 +1164,7 @@ module Azure::ARM::Network
1063
1164
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1064
1165
  fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1065
1166
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1066
- api_version = '2017-08-01'
1167
+ api_version = '2017-09-01'
1067
1168
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1068
1169
 
1069
1170
 
@@ -1180,7 +1281,7 @@ module Azure::ARM::Network
1180
1281
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1181
1282
  fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1182
1283
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1183
- api_version = '2017-08-01'
1284
+ api_version = '2017-09-01'
1184
1285
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1185
1286
 
1186
1287
 
@@ -1297,7 +1398,7 @@ module Azure::ARM::Network
1297
1398
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1298
1399
  fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1299
1400
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1300
- api_version = '2017-08-01'
1401
+ api_version = '2017-09-01'
1301
1402
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1302
1403
 
1303
1404
 
@@ -1417,7 +1518,7 @@ module Azure::ARM::Network
1417
1518
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1418
1519
  fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1419
1520
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1420
- api_version = '2017-08-01'
1521
+ api_version = '2017-09-01'
1421
1522
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1422
1523
 
1423
1524
 
@@ -1537,7 +1638,7 @@ module Azure::ARM::Network
1537
1638
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1538
1639
  fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1539
1640
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1540
- api_version = '2017-08-01'
1641
+ api_version = '2017-09-01'
1541
1642
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1542
1643
 
1543
1644
 
@@ -1660,7 +1761,7 @@ module Azure::ARM::Network
1660
1761
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1661
1762
  fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1662
1763
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1663
- api_version = '2017-08-01'
1764
+ api_version = '2017-09-01'
1664
1765
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1665
1766
 
1666
1767
 
@@ -1783,7 +1884,7 @@ module Azure::ARM::Network
1783
1884
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1784
1885
  fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1785
1886
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1786
- api_version = '2017-08-01'
1887
+ api_version = '2017-09-01'
1787
1888
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1788
1889
 
1789
1890
 
@@ -1912,7 +2013,7 @@ module Azure::ARM::Network
1912
2013
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1913
2014
  fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
1914
2015
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1915
- api_version = '2017-08-01'
2016
+ api_version = '2017-09-01'
1916
2017
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1917
2018
 
1918
2019
 
@@ -1980,5 +2081,254 @@ module Azure::ARM::Network
1980
2081
  promise.execute
1981
2082
  end
1982
2083
 
2084
+ #
2085
+ # Gets the relative latency score for internet service providers from a
2086
+ # specified location to Azure regions.
2087
+ #
2088
+ # @param resource_group_name [String] The name of the network watcher resource
2089
+ # group.
2090
+ # @param network_watcher_name [String] The name of the network watcher
2091
+ # resource.
2092
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
2093
+ # determine Azure reachability report configuration.
2094
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2095
+ # will be added to the HTTP request.
2096
+ #
2097
+ # @return [AzureReachabilityReport] operation results.
2098
+ #
2099
+ def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil)
2100
+ response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value!
2101
+ response.body unless response.nil?
2102
+ end
2103
+
2104
+ #
2105
+ # Gets the relative latency score for internet service providers from a
2106
+ # specified location to Azure regions.
2107
+ #
2108
+ # @param resource_group_name [String] The name of the network watcher resource
2109
+ # group.
2110
+ # @param network_watcher_name [String] The name of the network watcher
2111
+ # resource.
2112
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
2113
+ # determine Azure reachability report configuration.
2114
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2115
+ # will be added to the HTTP request.
2116
+ #
2117
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2118
+ #
2119
+ def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil)
2120
+ begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value!
2121
+ end
2122
+
2123
+ #
2124
+ # Gets the relative latency score for internet service providers from a
2125
+ # specified location to Azure regions.
2126
+ #
2127
+ # @param resource_group_name [String] The name of the network watcher resource
2128
+ # group.
2129
+ # @param network_watcher_name [String] The name of the network watcher
2130
+ # resource.
2131
+ # @param parameters [AzureReachabilityReportParameters] Parameters that
2132
+ # determine Azure reachability report configuration.
2133
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2134
+ # to the HTTP request.
2135
+ #
2136
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2137
+ #
2138
+ def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil)
2139
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2140
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
2141
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
2142
+ api_version = '2017-09-01'
2143
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2144
+
2145
+
2146
+ request_headers = {}
2147
+
2148
+ # Set Headers
2149
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2150
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2151
+
2152
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2153
+
2154
+ # Serialize Request
2155
+ request_mapper = Azure::ARM::Network::Models::AzureReachabilityReportParameters.mapper()
2156
+ request_content = @client.serialize(request_mapper, parameters)
2157
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2158
+
2159
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport'
2160
+
2161
+ request_url = @base_url || @client.base_url
2162
+
2163
+ options = {
2164
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2165
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
2166
+ query_params: {'api-version' => api_version},
2167
+ body: request_content,
2168
+ headers: request_headers.merge(custom_headers || {}),
2169
+ base_url: request_url
2170
+ }
2171
+ promise = @client.make_request_async(:post, path_template, options)
2172
+
2173
+ promise = promise.then do |result|
2174
+ http_response = result.response
2175
+ status_code = http_response.status
2176
+ response_content = http_response.body
2177
+ unless status_code == 200 || status_code == 202
2178
+ error_model = JSON.load(response_content)
2179
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2180
+ end
2181
+
2182
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2183
+ # Deserialize Response
2184
+ if status_code == 200
2185
+ begin
2186
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2187
+ result_mapper = Azure::ARM::Network::Models::AzureReachabilityReport.mapper()
2188
+ result.body = @client.deserialize(result_mapper, parsed_response)
2189
+ rescue Exception => e
2190
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2191
+ end
2192
+ end
2193
+ # Deserialize Response
2194
+ if status_code == 202
2195
+ begin
2196
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2197
+ result_mapper = Azure::ARM::Network::Models::AzureReachabilityReport.mapper()
2198
+ result.body = @client.deserialize(result_mapper, parsed_response)
2199
+ rescue Exception => e
2200
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2201
+ end
2202
+ end
2203
+
2204
+ result
2205
+ end
2206
+
2207
+ promise.execute
2208
+ end
2209
+
2210
+ #
2211
+ # Lists all available internet service providers for a specified Azure region.
2212
+ #
2213
+ # @param resource_group_name [String] The name of the network watcher resource
2214
+ # group.
2215
+ # @param network_watcher_name [String] The name of the network watcher
2216
+ # resource.
2217
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
2218
+ # the list of available providers.
2219
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2220
+ # will be added to the HTTP request.
2221
+ #
2222
+ # @return [AvailableProvidersList] operation results.
2223
+ #
2224
+ def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil)
2225
+ response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value!
2226
+ response.body unless response.nil?
2227
+ end
2228
+
2229
+ #
2230
+ # Lists all available internet service providers for a specified Azure region.
2231
+ #
2232
+ # @param resource_group_name [String] The name of the network watcher resource
2233
+ # group.
2234
+ # @param network_watcher_name [String] The name of the network watcher
2235
+ # resource.
2236
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
2237
+ # the list of available providers.
2238
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2239
+ # will be added to the HTTP request.
2240
+ #
2241
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2242
+ #
2243
+ def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil)
2244
+ begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value!
2245
+ end
2246
+
2247
+ #
2248
+ # Lists all available internet service providers for a specified Azure region.
2249
+ #
2250
+ # @param resource_group_name [String] The name of the network watcher resource
2251
+ # group.
2252
+ # @param network_watcher_name [String] The name of the network watcher
2253
+ # resource.
2254
+ # @param parameters [AvailableProvidersListParameters] Parameters that scope
2255
+ # the list of available providers.
2256
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2257
+ # to the HTTP request.
2258
+ #
2259
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2260
+ #
2261
+ def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil)
2262
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2263
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
2264
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
2265
+ api_version = '2017-09-01'
2266
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2267
+
2268
+
2269
+ request_headers = {}
2270
+
2271
+ # Set Headers
2272
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2273
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2274
+
2275
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2276
+
2277
+ # Serialize Request
2278
+ request_mapper = Azure::ARM::Network::Models::AvailableProvidersListParameters.mapper()
2279
+ request_content = @client.serialize(request_mapper, parameters)
2280
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2281
+
2282
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList'
2283
+
2284
+ request_url = @base_url || @client.base_url
2285
+
2286
+ options = {
2287
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2288
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
2289
+ query_params: {'api-version' => api_version},
2290
+ body: request_content,
2291
+ headers: request_headers.merge(custom_headers || {}),
2292
+ base_url: request_url
2293
+ }
2294
+ promise = @client.make_request_async(:post, path_template, options)
2295
+
2296
+ promise = promise.then do |result|
2297
+ http_response = result.response
2298
+ status_code = http_response.status
2299
+ response_content = http_response.body
2300
+ unless status_code == 200 || status_code == 202
2301
+ error_model = JSON.load(response_content)
2302
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2303
+ end
2304
+
2305
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2306
+ # Deserialize Response
2307
+ if status_code == 200
2308
+ begin
2309
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2310
+ result_mapper = Azure::ARM::Network::Models::AvailableProvidersList.mapper()
2311
+ result.body = @client.deserialize(result_mapper, parsed_response)
2312
+ rescue Exception => e
2313
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2314
+ end
2315
+ end
2316
+ # Deserialize Response
2317
+ if status_code == 202
2318
+ begin
2319
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2320
+ result_mapper = Azure::ARM::Network::Models::AvailableProvidersList.mapper()
2321
+ result.body = @client.deserialize(result_mapper, parsed_response)
2322
+ rescue Exception => e
2323
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2324
+ end
2325
+ end
2326
+
2327
+ result
2328
+ end
2329
+
2330
+ promise.execute
2331
+ end
2332
+
1983
2333
  end
1984
2334
  end