azure_mgmt_network 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (267) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_network.rb +97 -56
  3. data/lib/generated/azure_mgmt_network/application_gateways.rb +483 -41
  4. data/lib/generated/azure_mgmt_network/available_private_access_services.rb +224 -0
  5. data/lib/generated/azure_mgmt_network/bgp_service_communities.rb +8 -9
  6. data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +24 -25
  7. data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +24 -25
  8. data/lib/generated/azure_mgmt_network/express_route_circuits.rb +56 -57
  9. data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +8 -9
  10. data/lib/generated/azure_mgmt_network/load_balancers.rb +30 -31
  11. data/lib/generated/azure_mgmt_network/local_network_gateways.rb +24 -25
  12. data/lib/generated/azure_mgmt_network/models/access.rb +1 -1
  13. data/lib/generated/azure_mgmt_network/models/address_space.rb +2 -1
  14. data/lib/generated/azure_mgmt_network/models/application_gateway.rb +23 -4
  15. data/lib/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +12 -1
  16. data/lib/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +146 -0
  17. data/lib/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +98 -0
  18. data/lib/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +55 -0
  19. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +2 -1
  20. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +12 -1
  21. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +2 -1
  22. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +2 -1
  23. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +2 -1
  24. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +7 -5
  25. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +2 -1
  26. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +77 -15
  27. data/lib/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +2 -1
  28. data/lib/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +1 -1
  29. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +64 -0
  30. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +1 -1
  31. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +55 -0
  32. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +75 -0
  33. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +130 -0
  34. data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +13 -3
  35. data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +12 -1
  36. data/lib/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +14 -3
  37. data/lib/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +12 -1
  38. data/lib/generated/azure_mgmt_network/models/application_gateway_list_result.rb +2 -1
  39. data/lib/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +1 -1
  40. data/lib/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +28 -3
  41. data/lib/generated/azure_mgmt_network/models/application_gateway_probe.rb +48 -3
  42. data/lib/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +65 -0
  43. data/lib/generated/azure_mgmt_network/models/application_gateway_protocol.rb +1 -1
  44. data/lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +185 -0
  45. data/lib/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
  46. data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +25 -3
  47. data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +1 -1
  48. data/lib/generated/azure_mgmt_network/models/application_gateway_sku.rb +5 -7
  49. data/lib/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +1 -1
  50. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +12 -1
  51. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +39 -0
  52. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +58 -5
  53. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
  54. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
  55. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +82 -0
  56. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +1 -1
  57. data/lib/generated/azure_mgmt_network/models/application_gateway_tier.rb +1 -1
  58. data/lib/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +24 -1
  59. data/lib/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +44 -4
  60. data/lib/generated/azure_mgmt_network/models/association_type.rb +1 -1
  61. data/lib/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
  62. data/lib/generated/azure_mgmt_network/models/authorization_list_result.rb +2 -1
  63. data/lib/generated/azure_mgmt_network/models/authorization_use_status.rb +1 -1
  64. data/lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb +2 -1
  65. data/lib/generated/azure_mgmt_network/models/backend_address_pool.rb +2 -1
  66. data/lib/generated/azure_mgmt_network/models/bgp_peer_state.rb +1 -1
  67. data/lib/generated/azure_mgmt_network/models/bgp_peer_status.rb +3 -3
  68. data/lib/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +2 -1
  69. data/lib/generated/azure_mgmt_network/models/bgp_service_community.rb +15 -4
  70. data/lib/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +2 -1
  71. data/lib/generated/azure_mgmt_network/models/bgp_settings.rb +3 -3
  72. data/lib/generated/azure_mgmt_network/models/bgpcommunity.rb +25 -4
  73. data/lib/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +3 -3
  74. data/lib/generated/azure_mgmt_network/models/connection_shared_key.rb +2 -1
  75. data/lib/generated/azure_mgmt_network/models/connection_status.rb +18 -0
  76. data/lib/generated/azure_mgmt_network/models/connectivity_destination.rb +67 -0
  77. data/lib/generated/azure_mgmt_network/models/connectivity_hop.rb +116 -0
  78. data/lib/generated/azure_mgmt_network/models/connectivity_information.rb +122 -0
  79. data/lib/generated/azure_mgmt_network/models/connectivity_issue.rb +100 -0
  80. data/lib/generated/azure_mgmt_network/models/connectivity_parameters.rb +57 -0
  81. data/lib/generated/azure_mgmt_network/models/connectivity_source.rb +57 -0
  82. data/lib/generated/azure_mgmt_network/models/dh_group.rb +22 -0
  83. data/lib/generated/azure_mgmt_network/models/dhcp_options.rb +2 -1
  84. data/lib/generated/azure_mgmt_network/models/direction.rb +1 -1
  85. data/lib/generated/azure_mgmt_network/models/dns_name_availability_result.rb +2 -1
  86. data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +27 -1
  87. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +2 -1
  88. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +2 -1
  89. data/lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb +78 -1
  90. data/lib/generated/azure_mgmt_network/models/effective_route.rb +2 -1
  91. data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +2 -1
  92. data/lib/generated/azure_mgmt_network/models/effective_route_source.rb +1 -1
  93. data/lib/generated/azure_mgmt_network/models/effective_route_state.rb +1 -1
  94. data/lib/generated/azure_mgmt_network/models/error.rb +2 -1
  95. data/lib/generated/azure_mgmt_network/models/error_details.rb +2 -1
  96. data/lib/generated/azure_mgmt_network/models/express_route_circuit.rb +2 -1
  97. data/lib/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +2 -1
  98. data/lib/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +2 -1
  99. data/lib/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +2 -1
  100. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +14 -1
  101. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +1 -1
  102. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +30 -1
  103. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +2 -1
  104. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +1 -1
  105. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_type.rb +1 -1
  106. data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +2 -1
  107. data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +2 -1
  108. data/lib/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +2 -1
  109. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +2 -1
  110. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +1 -1
  111. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +1 -1
  112. data/lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +2 -1
  113. data/lib/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +2 -1
  114. data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +2 -1
  115. data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +2 -1
  116. data/lib/generated/azure_mgmt_network/models/express_route_service_provider.rb +2 -1
  117. data/lib/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +2 -1
  118. data/lib/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +2 -1
  119. data/lib/generated/azure_mgmt_network/models/flow_log_information.rb +2 -1
  120. data/lib/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +2 -1
  121. data/lib/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +2 -1
  122. data/lib/generated/azure_mgmt_network/models/gateway_route.rb +3 -3
  123. data/lib/generated/azure_mgmt_network/models/gateway_route_list_result.rb +2 -1
  124. data/lib/generated/azure_mgmt_network/models/ike_encryption.rb +19 -0
  125. data/lib/generated/azure_mgmt_network/models/ike_integrity.rb +18 -0
  126. data/lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb +2 -1
  127. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb +2 -1
  128. data/lib/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +2 -1
  129. data/lib/generated/azure_mgmt_network/models/ipallocation_method.rb +1 -1
  130. data/lib/generated/azure_mgmt_network/models/ipconfiguration.rb +2 -1
  131. data/lib/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
  132. data/lib/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
  133. data/lib/generated/azure_mgmt_network/models/ipsec_policy.rb +127 -0
  134. data/lib/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +90 -0
  135. data/lib/generated/azure_mgmt_network/models/ipversion.rb +1 -1
  136. data/lib/generated/azure_mgmt_network/models/issue_type.rb +23 -0
  137. data/lib/generated/azure_mgmt_network/models/load_balancer.rb +2 -1
  138. data/lib/generated/azure_mgmt_network/models/load_balancer_list_result.rb +2 -1
  139. data/lib/generated/azure_mgmt_network/models/load_balancing_rule.rb +2 -1
  140. data/lib/generated/azure_mgmt_network/models/load_distribution.rb +1 -1
  141. data/lib/generated/azure_mgmt_network/models/local_network_gateway.rb +3 -2
  142. data/lib/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +2 -1
  143. data/lib/generated/azure_mgmt_network/models/network_interface.rb +2 -1
  144. data/lib/generated/azure_mgmt_network/models/network_interface_association.rb +2 -1
  145. data/lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +2 -1
  146. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +2 -1
  147. data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +2 -1
  148. data/lib/generated/azure_mgmt_network/models/network_operation_status.rb +1 -1
  149. data/lib/generated/azure_mgmt_network/models/network_security_group.rb +2 -1
  150. data/lib/generated/azure_mgmt_network/models/network_security_group_list_result.rb +2 -1
  151. data/lib/generated/azure_mgmt_network/models/network_watcher.rb +2 -1
  152. data/lib/generated/azure_mgmt_network/models/network_watcher_list_result.rb +2 -1
  153. data/lib/generated/azure_mgmt_network/models/next_hop_parameters.rb +2 -1
  154. data/lib/generated/azure_mgmt_network/models/next_hop_result.rb +2 -1
  155. data/lib/generated/azure_mgmt_network/models/next_hop_type.rb +1 -1
  156. data/lib/generated/azure_mgmt_network/models/origin.rb +17 -0
  157. data/lib/generated/azure_mgmt_network/models/outbound_nat_rule.rb +2 -1
  158. data/lib/generated/azure_mgmt_network/models/packet_capture.rb +2 -1
  159. data/lib/generated/azure_mgmt_network/models/packet_capture_filter.rb +2 -1
  160. data/lib/generated/azure_mgmt_network/models/packet_capture_list_result.rb +2 -1
  161. data/lib/generated/azure_mgmt_network/models/packet_capture_parameters.rb +2 -1
  162. data/lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +2 -1
  163. data/lib/generated/azure_mgmt_network/models/packet_capture_result.rb +2 -1
  164. data/lib/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +2 -1
  165. data/lib/generated/azure_mgmt_network/models/patch_route_filter.rb +2 -2
  166. data/lib/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +2 -1
  167. data/lib/generated/azure_mgmt_network/models/pc_error.rb +1 -1
  168. data/lib/generated/azure_mgmt_network/models/pc_protocol.rb +1 -1
  169. data/lib/generated/azure_mgmt_network/models/pc_status.rb +1 -1
  170. data/lib/generated/azure_mgmt_network/models/pfs_group.rb +21 -0
  171. data/lib/generated/azure_mgmt_network/models/private_access_service_properties_format.rb +72 -0
  172. data/lib/generated/azure_mgmt_network/models/private_access_service_result.rb +64 -0
  173. data/lib/generated/azure_mgmt_network/models/private_access_services_list_result.rb +95 -0
  174. data/lib/generated/azure_mgmt_network/models/probe.rb +2 -1
  175. data/lib/generated/azure_mgmt_network/models/probe_protocol.rb +1 -1
  176. data/lib/generated/azure_mgmt_network/models/processor_architecture.rb +1 -1
  177. data/lib/generated/azure_mgmt_network/models/protocol.rb +1 -1
  178. data/lib/generated/azure_mgmt_network/models/provisioning_state.rb +1 -1
  179. data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +2 -1
  180. data/lib/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +2 -1
  181. data/lib/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +2 -1
  182. data/lib/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +2 -1
  183. data/lib/generated/azure_mgmt_network/models/resource_navigation_link.rb +2 -1
  184. data/lib/generated/azure_mgmt_network/models/retention_policy_parameters.rb +2 -1
  185. data/lib/generated/azure_mgmt_network/models/route.rb +2 -1
  186. data/lib/generated/azure_mgmt_network/models/route_filter.rb +2 -2
  187. data/lib/generated/azure_mgmt_network/models/route_filter_list_result.rb +2 -1
  188. data/lib/generated/azure_mgmt_network/models/route_filter_rule.rb +2 -2
  189. data/lib/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +2 -1
  190. data/lib/generated/azure_mgmt_network/models/route_list_result.rb +2 -1
  191. data/lib/generated/azure_mgmt_network/models/route_next_hop_type.rb +1 -1
  192. data/lib/generated/azure_mgmt_network/models/route_table.rb +2 -1
  193. data/lib/generated/azure_mgmt_network/models/route_table_list_result.rb +2 -1
  194. data/lib/generated/azure_mgmt_network/models/security_group_network_interface.rb +2 -1
  195. data/lib/generated/azure_mgmt_network/models/security_group_view_parameters.rb +2 -1
  196. data/lib/generated/azure_mgmt_network/models/security_group_view_result.rb +2 -1
  197. data/lib/generated/azure_mgmt_network/models/security_rule.rb +38 -2
  198. data/lib/generated/azure_mgmt_network/models/security_rule_access.rb +1 -1
  199. data/lib/generated/azure_mgmt_network/models/security_rule_associations.rb +2 -1
  200. data/lib/generated/azure_mgmt_network/models/security_rule_direction.rb +1 -1
  201. data/lib/generated/azure_mgmt_network/models/security_rule_list_result.rb +2 -1
  202. data/lib/generated/azure_mgmt_network/models/security_rule_protocol.rb +1 -1
  203. data/lib/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +1 -1
  204. data/lib/generated/azure_mgmt_network/models/severity.rb +16 -0
  205. data/lib/generated/azure_mgmt_network/models/subnet.rb +21 -1
  206. data/lib/generated/azure_mgmt_network/models/subnet_association.rb +2 -1
  207. data/lib/generated/azure_mgmt_network/models/subnet_list_result.rb +2 -1
  208. data/lib/generated/azure_mgmt_network/models/topology.rb +2 -1
  209. data/lib/generated/azure_mgmt_network/models/topology_association.rb +2 -1
  210. data/lib/generated/azure_mgmt_network/models/topology_parameters.rb +2 -1
  211. data/lib/generated/azure_mgmt_network/models/topology_resource.rb +2 -1
  212. data/lib/generated/azure_mgmt_network/models/transport_protocol.rb +1 -1
  213. data/lib/generated/azure_mgmt_network/models/troubleshooting_details.rb +2 -1
  214. data/lib/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +2 -1
  215. data/lib/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +2 -1
  216. data/lib/generated/azure_mgmt_network/models/troubleshooting_result.rb +2 -1
  217. data/lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb +2 -1
  218. data/lib/generated/azure_mgmt_network/models/usage.rb +2 -1
  219. data/lib/generated/azure_mgmt_network/models/usage_name.rb +2 -1
  220. data/lib/generated/azure_mgmt_network/models/usages_list_result.rb +2 -1
  221. data/lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +2 -1
  222. data/lib/generated/azure_mgmt_network/models/verification_ipflow_result.rb +2 -1
  223. data/lib/generated/azure_mgmt_network/models/virtual_network.rb +2 -1
  224. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb +27 -4
  225. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +31 -1
  226. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +2 -1
  227. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +1 -1
  228. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +1 -1
  229. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +4 -3
  230. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +2 -1
  231. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +8 -9
  232. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +4 -1
  233. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +4 -1
  234. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +1 -1
  235. data/lib/generated/azure_mgmt_network/models/virtual_network_list_result.rb +2 -1
  236. data/lib/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +95 -0
  237. data/lib/generated/azure_mgmt_network/models/virtual_network_peering.rb +2 -1
  238. data/lib/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +2 -1
  239. data/lib/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +1 -1
  240. data/lib/generated/azure_mgmt_network/models/virtual_network_usage.rb +92 -0
  241. data/lib/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +57 -0
  242. data/lib/generated/azure_mgmt_network/models/vpn_client_configuration.rb +20 -1
  243. data/lib/generated/azure_mgmt_network/models/vpn_client_parameters.rb +49 -4
  244. data/lib/generated/azure_mgmt_network/models/vpn_client_protocol.rb +16 -0
  245. data/lib/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +2 -1
  246. data/lib/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +2 -1
  247. data/lib/generated/azure_mgmt_network/models/vpn_type.rb +1 -1
  248. data/lib/generated/azure_mgmt_network/module_definition.rb +1 -1
  249. data/lib/generated/azure_mgmt_network/network_interfaces.rb +58 -59
  250. data/lib/generated/azure_mgmt_network/network_management_client.rb +10 -5
  251. data/lib/generated/azure_mgmt_network/network_security_groups.rb +30 -31
  252. data/lib/generated/azure_mgmt_network/network_watchers.rb +281 -101
  253. data/lib/generated/azure_mgmt_network/packet_captures.rb +30 -31
  254. data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +580 -31
  255. data/lib/generated/azure_mgmt_network/route_filter_rules.rb +32 -33
  256. data/lib/generated/azure_mgmt_network/route_filters.rb +38 -39
  257. data/lib/generated/azure_mgmt_network/route_tables.rb +30 -31
  258. data/lib/generated/azure_mgmt_network/routes.rb +24 -25
  259. data/lib/generated/azure_mgmt_network/security_rules.rb +24 -25
  260. data/lib/generated/azure_mgmt_network/subnets.rb +24 -25
  261. data/lib/generated/azure_mgmt_network/usages.rb +8 -9
  262. data/lib/generated/azure_mgmt_network/version.rb +2 -2
  263. data/lib/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +46 -47
  264. data/lib/generated/azure_mgmt_network/virtual_network_gateways.rb +347 -119
  265. data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +24 -25
  266. data/lib/generated/azure_mgmt_network/virtual_networks.rb +234 -35
  267. metadata +45 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd35af90d2aa93f0e0bc354b6a33ac8542e570a3
4
- data.tar.gz: e4aabe52ccce2992cdbfef6eba55b21c185dfcbe
3
+ metadata.gz: ba85a541cfa71f54d419fccedf8c058758f10d3d
4
+ data.tar.gz: 5c8b8dd03028b7f3af254ccc61568832b5754455
5
5
  SHA512:
6
- metadata.gz: 71503b1d27359e47e914036cc8a46e966adb152f2ffa0eabc4376bda97e778c67f8d59586db10636012a3e5fb1292de948df117231eea98c7b89f0a1b049e632
7
- data.tar.gz: e01cf8e12cf1ab4f249f2beb3db395e9be765bfa96da16984b87b2c79c317e971834c93c3a1ce7a188aa46f88c998600138ffb2b9e90d3ae06457f05a9bd24f6
6
+ metadata.gz: c0434dd9b9d868284d0e5be2a9d3aa29fd15d55f78f82b2103118bbec434edeccb241b2216819558d497d09112e3ecf06f72e3d09f85caaf6ae45b44be6525be
7
+ data.tar.gz: 8d9ffa031d7775e409c6ba5a3109b6b474705e793bed61d8cb26ebb929cf5c27fd11048e6845ac5dcbb21eca5792e81ea01c085646a3925fa642ded6460eef1a
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -31,6 +31,7 @@ module Azure::ARM::Network
31
31
  autoload :SecurityRules, 'generated/azure_mgmt_network/security_rules.rb'
32
32
  autoload :NetworkWatchers, 'generated/azure_mgmt_network/network_watchers.rb'
33
33
  autoload :PacketCaptures, 'generated/azure_mgmt_network/packet_captures.rb'
34
+ autoload :AvailablePrivateAccessServices, 'generated/azure_mgmt_network/available_private_access_services.rb'
34
35
  autoload :PublicIPAddresses, 'generated/azure_mgmt_network/public_ipaddresses.rb'
35
36
  autoload :RouteFilters, 'generated/azure_mgmt_network/route_filters.rb'
36
37
  autoload :RouteFilterRules, 'generated/azure_mgmt_network/route_filter_rules.rb'
@@ -49,105 +50,124 @@ module Azure::ARM::Network
49
50
  module Models
50
51
  autoload :EffectiveRoute, 'generated/azure_mgmt_network/models/effective_route.rb'
51
52
  autoload :EffectiveRouteListResult, 'generated/azure_mgmt_network/models/effective_route_list_result.rb'
53
+ autoload :ExpressRouteCircuitArpTable, 'generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb'
54
+ autoload :ExpressRouteCircuitsArpTableListResult, 'generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb'
55
+ autoload :LocalNetworkGatewayListResult, 'generated/azure_mgmt_network/models/local_network_gateway_list_result.rb'
52
56
  autoload :ExpressRouteCircuitRoutesTable, 'generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb'
57
+ autoload :ConnectionResetSharedKey, 'generated/azure_mgmt_network/models/connection_reset_shared_key.rb'
53
58
  autoload :ExpressRouteCircuitsRoutesTableListResult, 'generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb'
54
- autoload :NetworkInterfaceDnsSettings, 'generated/azure_mgmt_network/models/network_interface_dns_settings.rb'
59
+ autoload :PrivateAccessServicePropertiesFormat, 'generated/azure_mgmt_network/models/private_access_service_properties_format.rb'
55
60
  autoload :ExpressRouteCircuitRoutesTableSummary, 'generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb'
56
- autoload :ConnectionSharedKey, 'generated/azure_mgmt_network/models/connection_shared_key.rb'
61
+ autoload :IpsecPolicy, 'generated/azure_mgmt_network/models/ipsec_policy.rb'
57
62
  autoload :ExpressRouteCircuitsRoutesTableSummaryListResult, 'generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb'
58
- autoload :VirtualNetworkGatewayConnectionListResult, 'generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb'
63
+ autoload :GatewayRouteListResult, 'generated/azure_mgmt_network/models/gateway_route_list_result.rb'
59
64
  autoload :ExpressRouteCircuitListResult, 'generated/azure_mgmt_network/models/express_route_circuit_list_result.rb'
60
- autoload :TunnelConnectionHealth, 'generated/azure_mgmt_network/models/tunnel_connection_health.rb'
65
+ autoload :VirtualNetworkGatewayListResult, 'generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb'
61
66
  autoload :ExpressRouteServiceProviderBandwidthsOffered, 'generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb'
62
- autoload :BgpPeerStatusListResult, 'generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb'
63
- autoload :RouteFilterRuleListResult, 'generated/azure_mgmt_network/models/route_filter_rule_list_result.rb'
64
67
  autoload :VpnClientParameters, 'generated/azure_mgmt_network/models/vpn_client_parameters.rb'
65
- autoload :ExpressRouteServiceProviderListResult, 'generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb'
68
+ autoload :RouteFilterRuleListResult, 'generated/azure_mgmt_network/models/route_filter_rule_list_result.rb'
66
69
  autoload :GatewayRoute, 'generated/azure_mgmt_network/models/gateway_route.rb'
67
- autoload :RouteFilterListResult, 'generated/azure_mgmt_network/models/route_filter_list_result.rb'
68
- autoload :BgpPeerStatus, 'generated/azure_mgmt_network/models/bgp_peer_status.rb'
69
- autoload :PublicIPAddressListResult, 'generated/azure_mgmt_network/models/public_ipaddress_list_result.rb'
70
+ autoload :ExpressRouteServiceProviderListResult, 'generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb'
70
71
  autoload :ApplicationGatewayBackendHealthHttpSettings, 'generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb'
71
- autoload :FlowLogInformation, 'generated/azure_mgmt_network/models/flow_log_information.rb'
72
+ autoload :RouteFilterListResult, 'generated/azure_mgmt_network/models/route_filter_list_result.rb'
72
73
  autoload :ApplicationGatewayBackendHealth, 'generated/azure_mgmt_network/models/application_gateway_backend_health.rb'
73
- autoload :FlowLogStatusParameters, 'generated/azure_mgmt_network/models/flow_log_status_parameters.rb'
74
+ autoload :PublicIPAddressListResult, 'generated/azure_mgmt_network/models/public_ipaddress_list_result.rb'
74
75
  autoload :ApplicationGatewaySslPolicy, 'generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb'
75
- autoload :RetentionPolicyParameters, 'generated/azure_mgmt_network/models/retention_policy_parameters.rb'
76
- autoload :VpnClientConfiguration, 'generated/azure_mgmt_network/models/vpn_client_configuration.rb'
77
- autoload :TroubleshootingResult, 'generated/azure_mgmt_network/models/troubleshooting_result.rb'
78
- autoload :IPAddressAvailabilityResult, 'generated/azure_mgmt_network/models/ipaddress_availability_result.rb'
76
+ autoload :PrivateAccessServicesListResult, 'generated/azure_mgmt_network/models/private_access_services_list_result.rb'
77
+ autoload :BgpSettings, 'generated/azure_mgmt_network/models/bgp_settings.rb'
78
+ autoload :ConnectivityInformation, 'generated/azure_mgmt_network/models/connectivity_information.rb'
79
+ autoload :VirtualNetworkGatewaySku, 'generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb'
80
+ autoload :ConnectivityHop, 'generated/azure_mgmt_network/models/connectivity_hop.rb'
81
+ autoload :VirtualNetworkUsage, 'generated/azure_mgmt_network/models/virtual_network_usage.rb'
82
+ autoload :ConnectivityIssue, 'generated/azure_mgmt_network/models/connectivity_issue.rb'
83
+ autoload :ApplicationGatewayProbeHealthResponseMatch, 'generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb'
79
84
  autoload :LoadBalancerListResult, 'generated/azure_mgmt_network/models/load_balancer_list_result.rb'
80
- autoload :DhcpOptions, 'generated/azure_mgmt_network/models/dhcp_options.rb'
85
+ autoload :VirtualNetworkListResult, 'generated/azure_mgmt_network/models/virtual_network_list_result.rb'
81
86
  autoload :ErrorDetails, 'generated/azure_mgmt_network/models/error_details.rb'
82
- autoload :VirtualNetworkPeeringListResult, 'generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb'
87
+ autoload :AddressSpace, 'generated/azure_mgmt_network/models/address_space.rb'
83
88
  autoload :Error, 'generated/azure_mgmt_network/models/error.rb'
84
- autoload :UsagesListResult, 'generated/azure_mgmt_network/models/usages_list_result.rb'
89
+ autoload :ApplicationGatewayWebApplicationFirewallConfiguration, 'generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb'
85
90
  autoload :AzureAsyncOperationResult, 'generated/azure_mgmt_network/models/azure_async_operation_result.rb'
86
- autoload :Usage, 'generated/azure_mgmt_network/models/usage.rb'
91
+ autoload :ApplicationGatewayListResult, 'generated/azure_mgmt_network/models/application_gateway_list_result.rb'
87
92
  autoload :NetworkInterfaceListResult, 'generated/azure_mgmt_network/models/network_interface_list_result.rb'
93
+ autoload :ApplicationGatewayFirewallRuleGroup, 'generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb'
88
94
  autoload :EffectiveNetworkSecurityGroupAssociation, 'generated/azure_mgmt_network/models/effective_network_security_group_association.rb'
89
- autoload :UsageName, 'generated/azure_mgmt_network/models/usage_name.rb'
95
+ autoload :ApplicationGatewayAvailableWafRuleSetsResult, 'generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb'
90
96
  autoload :EffectiveNetworkSecurityRule, 'generated/azure_mgmt_network/models/effective_network_security_rule.rb'
91
- autoload :ExpressRouteCircuitPeeringConfig, 'generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb'
97
+ autoload :Usage, 'generated/azure_mgmt_network/models/usage.rb'
92
98
  autoload :EffectiveNetworkSecurityGroup, 'generated/azure_mgmt_network/models/effective_network_security_group.rb'
93
- autoload :BgpServiceCommunityListResult, 'generated/azure_mgmt_network/models/bgp_service_community_list_result.rb'
94
99
  autoload :EffectiveNetworkSecurityGroupListResult, 'generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb'
95
- autoload :RouteListResult, 'generated/azure_mgmt_network/models/route_list_result.rb'
96
- autoload :ExpressRouteCircuitPeeringListResult, 'generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb'
97
- autoload :QueryTroubleshootingParameters, 'generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb'
98
- autoload :ExpressRouteCircuitServiceProviderProperties, 'generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb'
99
- autoload :TroubleshootingDetails, 'generated/azure_mgmt_network/models/troubleshooting_details.rb'
100
- autoload :ExpressRouteCircuitArpTable, 'generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb'
100
+ autoload :UsageName, 'generated/azure_mgmt_network/models/usage_name.rb'
101
+ autoload :AuthorizationListResult, 'generated/azure_mgmt_network/models/authorization_list_result.rb'
102
+ autoload :ConnectivitySource, 'generated/azure_mgmt_network/models/connectivity_source.rb'
103
+ autoload :BgpServiceCommunityListResult, 'generated/azure_mgmt_network/models/bgp_service_community_list_result.rb'
104
+ autoload :ConnectivityParameters, 'generated/azure_mgmt_network/models/connectivity_parameters.rb'
105
+ autoload :BGPCommunity, 'generated/azure_mgmt_network/models/bgpcommunity.rb'
101
106
  autoload :SecurityRuleListResult, 'generated/azure_mgmt_network/models/security_rule_list_result.rb'
107
+ autoload :Ipv6ExpressRouteCircuitPeeringConfig, 'generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb'
102
108
  autoload :NetworkSecurityGroupListResult, 'generated/azure_mgmt_network/models/network_security_group_list_result.rb'
103
- autoload :ConnectionResetSharedKey, 'generated/azure_mgmt_network/models/connection_reset_shared_key.rb'
104
- autoload :TroubleshootingRecommendedActions, 'generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb'
105
- autoload :GatewayRouteListResult, 'generated/azure_mgmt_network/models/gateway_route_list_result.rb'
109
+ autoload :ExpressRouteCircuitSku, 'generated/azure_mgmt_network/models/express_route_circuit_sku.rb'
110
+ autoload :ConnectivityDestination, 'generated/azure_mgmt_network/models/connectivity_destination.rb'
111
+ autoload :RouteTableListResult, 'generated/azure_mgmt_network/models/route_table_list_result.rb'
106
112
  autoload :NetworkWatcherListResult, 'generated/azure_mgmt_network/models/network_watcher_list_result.rb'
107
- autoload :ApplicationGatewayBackendAddress, 'generated/azure_mgmt_network/models/application_gateway_backend_address.rb'
113
+ autoload :ConnectionSharedKey, 'generated/azure_mgmt_network/models/connection_shared_key.rb'
108
114
  autoload :TopologyParameters, 'generated/azure_mgmt_network/models/topology_parameters.rb'
109
- autoload :ApplicationGatewayBackendHealthServer, 'generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb'
115
+ autoload :PublicIPAddressDnsSettings, 'generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb'
110
116
  autoload :TopologyAssociation, 'generated/azure_mgmt_network/models/topology_association.rb'
111
- autoload :ApplicationGatewaySku, 'generated/azure_mgmt_network/models/application_gateway_sku.rb'
117
+ autoload :BgpPeerStatusListResult, 'generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb'
112
118
  autoload :TopologyResource, 'generated/azure_mgmt_network/models/topology_resource.rb'
113
- autoload :VirtualNetworkGatewaySku, 'generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb'
119
+ autoload :ApplicationGatewayConnectionDraining, 'generated/azure_mgmt_network/models/application_gateway_connection_draining.rb'
114
120
  autoload :Topology, 'generated/azure_mgmt_network/models/topology.rb'
115
- autoload :AddressSpace, 'generated/azure_mgmt_network/models/address_space.rb'
121
+ autoload :ApplicationGatewayBackendHealthPool, 'generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb'
116
122
  autoload :VerificationIPFlowParameters, 'generated/azure_mgmt_network/models/verification_ipflow_parameters.rb'
117
- autoload :ApplicationGatewayWebApplicationFirewallConfiguration, 'generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb'
123
+ autoload :BgpPeerStatus, 'generated/azure_mgmt_network/models/bgp_peer_status.rb'
118
124
  autoload :VerificationIPFlowResult, 'generated/azure_mgmt_network/models/verification_ipflow_result.rb'
119
- autoload :DnsNameAvailabilityResult, 'generated/azure_mgmt_network/models/dns_name_availability_result.rb'
125
+ autoload :VirtualNetworkListUsageResult, 'generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb'
120
126
  autoload :NextHopParameters, 'generated/azure_mgmt_network/models/next_hop_parameters.rb'
121
- autoload :ExpressRouteCircuitStats, 'generated/azure_mgmt_network/models/express_route_circuit_stats.rb'
127
+ autoload :IPAddressAvailabilityResult, 'generated/azure_mgmt_network/models/ipaddress_availability_result.rb'
122
128
  autoload :NextHopResult, 'generated/azure_mgmt_network/models/next_hop_result.rb'
123
- autoload :ExpressRouteCircuitSku, 'generated/azure_mgmt_network/models/express_route_circuit_sku.rb'
129
+ autoload :ApplicationGatewayFirewallDisabledRuleGroup, 'generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb'
124
130
  autoload :SecurityGroupViewParameters, 'generated/azure_mgmt_network/models/security_group_view_parameters.rb'
125
- autoload :ExpressRouteCircuitsArpTableListResult, 'generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb'
131
+ autoload :ApplicationGatewayFirewallRule, 'generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb'
126
132
  autoload :NetworkInterfaceAssociation, 'generated/azure_mgmt_network/models/network_interface_association.rb'
127
- autoload :PublicIPAddressDnsSettings, 'generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb'
133
+ autoload :UsagesListResult, 'generated/azure_mgmt_network/models/usages_list_result.rb'
128
134
  autoload :SubnetAssociation, 'generated/azure_mgmt_network/models/subnet_association.rb'
129
- autoload :ApplicationGatewayConnectionDraining, 'generated/azure_mgmt_network/models/application_gateway_connection_draining.rb'
135
+ autoload :DnsNameAvailabilityResult, 'generated/azure_mgmt_network/models/dns_name_availability_result.rb'
130
136
  autoload :SecurityRuleAssociations, 'generated/azure_mgmt_network/models/security_rule_associations.rb'
131
- autoload :BgpSettings, 'generated/azure_mgmt_network/models/bgp_settings.rb'
137
+ autoload :ExpressRouteCircuitStats, 'generated/azure_mgmt_network/models/express_route_circuit_stats.rb'
132
138
  autoload :SecurityGroupNetworkInterface, 'generated/azure_mgmt_network/models/security_group_network_interface.rb'
133
- autoload :SubnetListResult, 'generated/azure_mgmt_network/models/subnet_list_result.rb'
139
+ autoload :ExpressRouteCircuitPeeringListResult, 'generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb'
134
140
  autoload :SecurityGroupViewResult, 'generated/azure_mgmt_network/models/security_group_view_result.rb'
135
- autoload :AuthorizationListResult, 'generated/azure_mgmt_network/models/authorization_list_result.rb'
141
+ autoload :NetworkInterfaceDnsSettings, 'generated/azure_mgmt_network/models/network_interface_dns_settings.rb'
136
142
  autoload :PacketCaptureStorageLocation, 'generated/azure_mgmt_network/models/packet_capture_storage_location.rb'
137
- autoload :RouteTableListResult, 'generated/azure_mgmt_network/models/route_table_list_result.rb'
143
+ autoload :TunnelConnectionHealth, 'generated/azure_mgmt_network/models/tunnel_connection_health.rb'
138
144
  autoload :PacketCaptureFilter, 'generated/azure_mgmt_network/models/packet_capture_filter.rb'
139
- autoload :VirtualNetworkGatewayListResult, 'generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb'
145
+ autoload :ApplicationGatewayBackendHealthServer, 'generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb'
140
146
  autoload :PacketCaptureParameters, 'generated/azure_mgmt_network/models/packet_capture_parameters.rb'
141
- autoload :VirtualNetworkListResult, 'generated/azure_mgmt_network/models/virtual_network_list_result.rb'
147
+ autoload :VpnClientConfiguration, 'generated/azure_mgmt_network/models/vpn_client_configuration.rb'
142
148
  autoload :PacketCapture, 'generated/azure_mgmt_network/models/packet_capture.rb'
143
- autoload :BGPCommunity, 'generated/azure_mgmt_network/models/bgpcommunity.rb'
149
+ autoload :DhcpOptions, 'generated/azure_mgmt_network/models/dhcp_options.rb'
144
150
  autoload :PacketCaptureResult, 'generated/azure_mgmt_network/models/packet_capture_result.rb'
145
- autoload :ApplicationGatewayBackendHealthPool, 'generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb'
151
+ autoload :SubnetListResult, 'generated/azure_mgmt_network/models/subnet_list_result.rb'
146
152
  autoload :PacketCaptureListResult, 'generated/azure_mgmt_network/models/packet_capture_list_result.rb'
147
- autoload :LocalNetworkGatewayListResult, 'generated/azure_mgmt_network/models/local_network_gateway_list_result.rb'
153
+ autoload :ExpressRouteCircuitPeeringConfig, 'generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb'
148
154
  autoload :PacketCaptureQueryStatusResult, 'generated/azure_mgmt_network/models/packet_capture_query_status_result.rb'
149
- autoload :ApplicationGatewayListResult, 'generated/azure_mgmt_network/models/application_gateway_list_result.rb'
155
+ autoload :ExpressRouteCircuitServiceProviderProperties, 'generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb'
150
156
  autoload :TroubleshootingParameters, 'generated/azure_mgmt_network/models/troubleshooting_parameters.rb'
157
+ autoload :ApplicationGatewayBackendAddress, 'generated/azure_mgmt_network/models/application_gateway_backend_address.rb'
158
+ autoload :QueryTroubleshootingParameters, 'generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb'
159
+ autoload :VirtualNetworkUsageName, 'generated/azure_mgmt_network/models/virtual_network_usage_name.rb'
160
+ autoload :TroubleshootingRecommendedActions, 'generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb'
161
+ autoload :ApplicationGatewayAvailableSslPredefinedPolicies, 'generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb'
162
+ autoload :TroubleshootingDetails, 'generated/azure_mgmt_network/models/troubleshooting_details.rb'
163
+ autoload :VirtualNetworkGatewayConnectionListResult, 'generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb'
164
+ autoload :TroubleshootingResult, 'generated/azure_mgmt_network/models/troubleshooting_result.rb'
165
+ autoload :VirtualNetworkPeeringListResult, 'generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb'
166
+ autoload :RetentionPolicyParameters, 'generated/azure_mgmt_network/models/retention_policy_parameters.rb'
167
+ autoload :ApplicationGatewaySku, 'generated/azure_mgmt_network/models/application_gateway_sku.rb'
168
+ autoload :FlowLogStatusParameters, 'generated/azure_mgmt_network/models/flow_log_status_parameters.rb'
169
+ autoload :RouteListResult, 'generated/azure_mgmt_network/models/route_list_result.rb'
170
+ autoload :FlowLogInformation, 'generated/azure_mgmt_network/models/flow_log_information.rb'
151
171
  autoload :BackendAddressPool, 'generated/azure_mgmt_network/models/backend_address_pool.rb'
152
172
  autoload :InboundNatRule, 'generated/azure_mgmt_network/models/inbound_nat_rule.rb'
153
173
  autoload :SecurityRule, 'generated/azure_mgmt_network/models/security_rule.rb'
@@ -171,8 +191,12 @@ module Azure::ARM::Network
171
191
  autoload :ApplicationGatewayPathRule, 'generated/azure_mgmt_network/models/application_gateway_path_rule.rb'
172
192
  autoload :ApplicationGatewayProbe, 'generated/azure_mgmt_network/models/application_gateway_probe.rb'
173
193
  autoload :ApplicationGatewayRequestRoutingRule, 'generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb'
194
+ autoload :ApplicationGatewayRedirectConfiguration, 'generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb'
174
195
  autoload :ApplicationGatewayUrlPathMap, 'generated/azure_mgmt_network/models/application_gateway_url_path_map.rb'
175
196
  autoload :ApplicationGateway, 'generated/azure_mgmt_network/models/application_gateway.rb'
197
+ autoload :ApplicationGatewayFirewallRuleSet, 'generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb'
198
+ autoload :ApplicationGatewayAvailableSslOptions, 'generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb'
199
+ autoload :ApplicationGatewaySslPredefinedPolicy, 'generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb'
176
200
  autoload :ExpressRouteCircuitAuthorization, 'generated/azure_mgmt_network/models/express_route_circuit_authorization.rb'
177
201
  autoload :RouteFilterRule, 'generated/azure_mgmt_network/models/route_filter_rule.rb'
178
202
  autoload :ExpressRouteCircuitPeering, 'generated/azure_mgmt_network/models/express_route_circuit_peering.rb'
@@ -186,6 +210,7 @@ module Azure::ARM::Network
186
210
  autoload :OutboundNatRule, 'generated/azure_mgmt_network/models/outbound_nat_rule.rb'
187
211
  autoload :LoadBalancer, 'generated/azure_mgmt_network/models/load_balancer.rb'
188
212
  autoload :NetworkWatcher, 'generated/azure_mgmt_network/models/network_watcher.rb'
213
+ autoload :PrivateAccessServiceResult, 'generated/azure_mgmt_network/models/private_access_service_result.rb'
189
214
  autoload :PatchRouteFilterRule, 'generated/azure_mgmt_network/models/patch_route_filter_rule.rb'
190
215
  autoload :PatchRouteFilter, 'generated/azure_mgmt_network/models/patch_route_filter.rb'
191
216
  autoload :BgpServiceCommunity, 'generated/azure_mgmt_network/models/bgp_service_community.rb'
@@ -210,14 +235,18 @@ module Azure::ARM::Network
210
235
  autoload :ApplicationGatewaySkuName, 'generated/azure_mgmt_network/models/application_gateway_sku_name.rb'
211
236
  autoload :ApplicationGatewayTier, 'generated/azure_mgmt_network/models/application_gateway_tier.rb'
212
237
  autoload :ApplicationGatewaySslProtocol, 'generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb'
238
+ autoload :ApplicationGatewaySslPolicyType, 'generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb'
239
+ autoload :ApplicationGatewaySslPolicyName, 'generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb'
240
+ autoload :ApplicationGatewaySslCipherSuite, 'generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb'
213
241
  autoload :ApplicationGatewayRequestRoutingRuleType, 'generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb'
242
+ autoload :ApplicationGatewayRedirectType, 'generated/azure_mgmt_network/models/application_gateway_redirect_type.rb'
214
243
  autoload :ApplicationGatewayOperationalState, 'generated/azure_mgmt_network/models/application_gateway_operational_state.rb'
215
244
  autoload :ApplicationGatewayFirewallMode, 'generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb'
216
245
  autoload :AuthorizationUseStatus, 'generated/azure_mgmt_network/models/authorization_use_status.rb'
217
246
  autoload :ExpressRouteCircuitPeeringAdvertisedPublicPrefixState, 'generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb'
247
+ autoload :Access, 'generated/azure_mgmt_network/models/access.rb'
218
248
  autoload :ExpressRouteCircuitPeeringType, 'generated/azure_mgmt_network/models/express_route_circuit_peering_type.rb'
219
249
  autoload :ExpressRouteCircuitPeeringState, 'generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb'
220
- autoload :Access, 'generated/azure_mgmt_network/models/access.rb'
221
250
  autoload :ExpressRouteCircuitSkuTier, 'generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb'
222
251
  autoload :ExpressRouteCircuitSkuFamily, 'generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb'
223
252
  autoload :ServiceProviderProvisioningState, 'generated/azure_mgmt_network/models/service_provider_provisioning_state.rb'
@@ -234,14 +263,26 @@ module Azure::ARM::Network
234
263
  autoload :PcProtocol, 'generated/azure_mgmt_network/models/pc_protocol.rb'
235
264
  autoload :PcStatus, 'generated/azure_mgmt_network/models/pc_status.rb'
236
265
  autoload :PcError, 'generated/azure_mgmt_network/models/pc_error.rb'
266
+ autoload :Origin, 'generated/azure_mgmt_network/models/origin.rb'
267
+ autoload :Severity, 'generated/azure_mgmt_network/models/severity.rb'
268
+ autoload :IssueType, 'generated/azure_mgmt_network/models/issue_type.rb'
269
+ autoload :ConnectionStatus, 'generated/azure_mgmt_network/models/connection_status.rb'
237
270
  autoload :VirtualNetworkPeeringState, 'generated/azure_mgmt_network/models/virtual_network_peering_state.rb'
238
271
  autoload :VirtualNetworkGatewayType, 'generated/azure_mgmt_network/models/virtual_network_gateway_type.rb'
239
272
  autoload :VpnType, 'generated/azure_mgmt_network/models/vpn_type.rb'
240
273
  autoload :VirtualNetworkGatewaySkuName, 'generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb'
241
274
  autoload :VirtualNetworkGatewaySkuTier, 'generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb'
275
+ autoload :VpnClientProtocol, 'generated/azure_mgmt_network/models/vpn_client_protocol.rb'
242
276
  autoload :BgpPeerState, 'generated/azure_mgmt_network/models/bgp_peer_state.rb'
243
277
  autoload :ProcessorArchitecture, 'generated/azure_mgmt_network/models/processor_architecture.rb'
278
+ autoload :AuthenticationMethod, 'generated/azure_mgmt_network/models/authentication_method.rb'
244
279
  autoload :VirtualNetworkGatewayConnectionStatus, 'generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb'
245
280
  autoload :VirtualNetworkGatewayConnectionType, 'generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb'
281
+ autoload :IpsecEncryption, 'generated/azure_mgmt_network/models/ipsec_encryption.rb'
282
+ autoload :IpsecIntegrity, 'generated/azure_mgmt_network/models/ipsec_integrity.rb'
283
+ autoload :IkeEncryption, 'generated/azure_mgmt_network/models/ike_encryption.rb'
284
+ autoload :IkeIntegrity, 'generated/azure_mgmt_network/models/ike_integrity.rb'
285
+ autoload :DhGroup, 'generated/azure_mgmt_network/models/dh_group.rb'
286
+ autoload :PfsGroup, 'generated/azure_mgmt_network/models/pfs_group.rb'
246
287
  end
247
288
  end
@@ -1,14 +1,13 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Network
7
7
  #
8
- # Composite Swagger for Network Client
8
+ # Network Client
9
9
  #
10
10
  class ApplicationGateways
11
- include Azure::ARM::Network::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -102,7 +101,7 @@ module Azure::ARM::Network
102
101
  def get_async(resource_group_name, application_gateway_name, custom_headers = nil)
103
102
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
104
103
  fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
105
- api_version = '2016-12-01'
104
+ api_version = '2017-06-01'
106
105
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
107
106
 
108
107
 
@@ -111,7 +110,7 @@ module Azure::ARM::Network
111
110
  # Set Headers
112
111
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
113
112
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
114
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'
113
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'
115
114
 
116
115
  request_url = @base_url || @client.base_url
117
116
 
@@ -138,8 +137,8 @@ module Azure::ARM::Network
138
137
  if status_code == 200
139
138
  begin
140
139
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
141
- result_mapper = ApplicationGateway.mapper()
142
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
140
+ result_mapper = Azure::ARM::Network::Models::ApplicationGateway.mapper()
141
+ result.body = @client.deserialize(result_mapper, parsed_response)
143
142
  rescue Exception => e
144
143
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
145
144
  end
@@ -186,8 +185,8 @@ module Azure::ARM::Network
186
185
  promise = promise.then do |response|
187
186
  # Defining deserialization method.
188
187
  deserialize_method = lambda do |parsed_response|
189
- result_mapper = ApplicationGateway.mapper()
190
- parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
188
+ result_mapper = Azure::ARM::Network::Models::ApplicationGateway.mapper()
189
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
191
190
  end
192
191
 
193
192
  # Waiting for response.
@@ -235,7 +234,7 @@ module Azure::ARM::Network
235
234
  #
236
235
  def list_async(resource_group_name, custom_headers = nil)
237
236
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
238
- api_version = '2016-12-01'
237
+ api_version = '2017-06-01'
239
238
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
240
239
 
241
240
 
@@ -244,7 +243,7 @@ module Azure::ARM::Network
244
243
  # Set Headers
245
244
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
246
245
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
247
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways'
246
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways'
248
247
 
249
248
  request_url = @base_url || @client.base_url
250
249
 
@@ -271,8 +270,8 @@ module Azure::ARM::Network
271
270
  if status_code == 200
272
271
  begin
273
272
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
274
- result_mapper = ApplicationGatewayListResult.mapper()
275
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
273
+ result_mapper = Azure::ARM::Network::Models::ApplicationGatewayListResult.mapper()
274
+ result.body = @client.deserialize(result_mapper, parsed_response)
276
275
  rescue Exception => e
277
276
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
278
277
  end
@@ -318,7 +317,7 @@ module Azure::ARM::Network
318
317
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
319
318
  #
320
319
  def list_all_async(custom_headers = nil)
321
- api_version = '2016-12-01'
320
+ api_version = '2017-06-01'
322
321
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
323
322
 
324
323
 
@@ -327,7 +326,7 @@ module Azure::ARM::Network
327
326
  # Set Headers
328
327
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
329
328
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
330
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways'
329
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways'
331
330
 
332
331
  request_url = @base_url || @client.base_url
333
332
 
@@ -354,8 +353,8 @@ module Azure::ARM::Network
354
353
  if status_code == 200
355
354
  begin
356
355
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
357
- result_mapper = ApplicationGatewayListResult.mapper()
358
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
356
+ result_mapper = Azure::ARM::Network::Models::ApplicationGatewayListResult.mapper()
357
+ result.body = @client.deserialize(result_mapper, parsed_response)
359
358
  rescue Exception => e
360
359
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
361
360
  end
@@ -479,8 +478,8 @@ module Azure::ARM::Network
479
478
  promise = promise.then do |response|
480
479
  # Defining deserialization method.
481
480
  deserialize_method = lambda do |parsed_response|
482
- result_mapper = ApplicationGatewayBackendHealth.mapper()
483
- parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
481
+ result_mapper = Azure::ARM::Network::Models::ApplicationGatewayBackendHealth.mapper()
482
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
484
483
  end
485
484
 
486
485
  # Waiting for response.
@@ -490,6 +489,342 @@ module Azure::ARM::Network
490
489
  promise
491
490
  end
492
491
 
492
+ #
493
+ # Lists all available web application firewall rule sets.
494
+ #
495
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
496
+ # will be added to the HTTP request.
497
+ #
498
+ # @return [ApplicationGatewayAvailableWafRuleSetsResult] operation results.
499
+ #
500
+ def list_available_waf_rule_sets(custom_headers = nil)
501
+ response = list_available_waf_rule_sets_async(custom_headers).value!
502
+ response.body unless response.nil?
503
+ end
504
+
505
+ #
506
+ # Lists all available web application firewall rule sets.
507
+ #
508
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
509
+ # will be added to the HTTP request.
510
+ #
511
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
512
+ #
513
+ def list_available_waf_rule_sets_with_http_info(custom_headers = nil)
514
+ list_available_waf_rule_sets_async(custom_headers).value!
515
+ end
516
+
517
+ #
518
+ # Lists all available web application firewall rule sets.
519
+ #
520
+ # @param [Hash{String => String}] A hash of custom headers that will be added
521
+ # to the HTTP request.
522
+ #
523
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
524
+ #
525
+ def list_available_waf_rule_sets_async(custom_headers = nil)
526
+ api_version = '2017-06-01'
527
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
528
+
529
+
530
+ request_headers = {}
531
+
532
+ # Set Headers
533
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
534
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
535
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets'
536
+
537
+ request_url = @base_url || @client.base_url
538
+
539
+ options = {
540
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
541
+ path_params: {'subscriptionId' => @client.subscription_id},
542
+ query_params: {'api-version' => api_version},
543
+ headers: request_headers.merge(custom_headers || {}),
544
+ base_url: request_url
545
+ }
546
+ promise = @client.make_request_async(:get, path_template, options)
547
+
548
+ promise = promise.then do |result|
549
+ http_response = result.response
550
+ status_code = http_response.status
551
+ response_content = http_response.body
552
+ unless status_code == 200
553
+ error_model = JSON.load(response_content)
554
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
555
+ end
556
+
557
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
558
+ # Deserialize Response
559
+ if status_code == 200
560
+ begin
561
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
562
+ result_mapper = Azure::ARM::Network::Models::ApplicationGatewayAvailableWafRuleSetsResult.mapper()
563
+ result.body = @client.deserialize(result_mapper, parsed_response)
564
+ rescue Exception => e
565
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
566
+ end
567
+ end
568
+
569
+ result
570
+ end
571
+
572
+ promise.execute
573
+ end
574
+
575
+ #
576
+ # Lists available Ssl options for configuring Ssl policy.
577
+ #
578
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
579
+ # will be added to the HTTP request.
580
+ #
581
+ # @return [ApplicationGatewayAvailableSslOptions] operation results.
582
+ #
583
+ def list_available_ssl_options(custom_headers = nil)
584
+ response = list_available_ssl_options_async(custom_headers).value!
585
+ response.body unless response.nil?
586
+ end
587
+
588
+ #
589
+ # Lists available Ssl options for configuring Ssl policy.
590
+ #
591
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
592
+ # will be added to the HTTP request.
593
+ #
594
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
595
+ #
596
+ def list_available_ssl_options_with_http_info(custom_headers = nil)
597
+ list_available_ssl_options_async(custom_headers).value!
598
+ end
599
+
600
+ #
601
+ # Lists available Ssl options for configuring Ssl policy.
602
+ #
603
+ # @param [Hash{String => String}] A hash of custom headers that will be added
604
+ # to the HTTP request.
605
+ #
606
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
607
+ #
608
+ def list_available_ssl_options_async(custom_headers = nil)
609
+ api_version = '2017-06-01'
610
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
611
+
612
+
613
+ request_headers = {}
614
+
615
+ # Set Headers
616
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
617
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
618
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default'
619
+
620
+ request_url = @base_url || @client.base_url
621
+
622
+ options = {
623
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
624
+ path_params: {'subscriptionId' => @client.subscription_id},
625
+ query_params: {'api-version' => api_version},
626
+ headers: request_headers.merge(custom_headers || {}),
627
+ base_url: request_url
628
+ }
629
+ promise = @client.make_request_async(:get, path_template, options)
630
+
631
+ promise = promise.then do |result|
632
+ http_response = result.response
633
+ status_code = http_response.status
634
+ response_content = http_response.body
635
+ unless status_code == 200
636
+ error_model = JSON.load(response_content)
637
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
638
+ end
639
+
640
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
641
+ # Deserialize Response
642
+ if status_code == 200
643
+ begin
644
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
645
+ result_mapper = Azure::ARM::Network::Models::ApplicationGatewayAvailableSslOptions.mapper()
646
+ result.body = @client.deserialize(result_mapper, parsed_response)
647
+ rescue Exception => e
648
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
649
+ end
650
+ end
651
+
652
+ result
653
+ end
654
+
655
+ promise.execute
656
+ end
657
+
658
+ #
659
+ # Lists all SSL predefined policies for configuring Ssl policy.
660
+ #
661
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
662
+ # will be added to the HTTP request.
663
+ #
664
+ # @return [Array<ApplicationGatewaySslPredefinedPolicy>] operation results.
665
+ #
666
+ def list_available_ssl_predefined_policies(custom_headers = nil)
667
+ first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers)
668
+ first_page.get_all_items
669
+ end
670
+
671
+ #
672
+ # Lists all SSL predefined policies for configuring Ssl policy.
673
+ #
674
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
675
+ # will be added to the HTTP request.
676
+ #
677
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
678
+ #
679
+ def list_available_ssl_predefined_policies_with_http_info(custom_headers = nil)
680
+ list_available_ssl_predefined_policies_async(custom_headers).value!
681
+ end
682
+
683
+ #
684
+ # Lists all SSL predefined policies for configuring Ssl policy.
685
+ #
686
+ # @param [Hash{String => String}] A hash of custom headers that will be added
687
+ # to the HTTP request.
688
+ #
689
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
690
+ #
691
+ def list_available_ssl_predefined_policies_async(custom_headers = nil)
692
+ api_version = '2017-06-01'
693
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
694
+
695
+
696
+ request_headers = {}
697
+
698
+ # Set Headers
699
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
700
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
701
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies'
702
+
703
+ request_url = @base_url || @client.base_url
704
+
705
+ options = {
706
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
707
+ path_params: {'subscriptionId' => @client.subscription_id},
708
+ query_params: {'api-version' => api_version},
709
+ headers: request_headers.merge(custom_headers || {}),
710
+ base_url: request_url
711
+ }
712
+ promise = @client.make_request_async(:get, path_template, options)
713
+
714
+ promise = promise.then do |result|
715
+ http_response = result.response
716
+ status_code = http_response.status
717
+ response_content = http_response.body
718
+ unless status_code == 200
719
+ error_model = JSON.load(response_content)
720
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
721
+ end
722
+
723
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
724
+ # Deserialize Response
725
+ if status_code == 200
726
+ begin
727
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
728
+ result_mapper = Azure::ARM::Network::Models::ApplicationGatewayAvailableSslPredefinedPolicies.mapper()
729
+ result.body = @client.deserialize(result_mapper, parsed_response)
730
+ rescue Exception => e
731
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
732
+ end
733
+ end
734
+
735
+ result
736
+ end
737
+
738
+ promise.execute
739
+ end
740
+
741
+ #
742
+ # Gets Ssl predefined policy with the specified policy name.
743
+ #
744
+ # @param predefined_policy_name [String] Name of Ssl predefined policy.
745
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
746
+ # will be added to the HTTP request.
747
+ #
748
+ # @return [ApplicationGatewaySslPredefinedPolicy] operation results.
749
+ #
750
+ def get_ssl_predefined_policy(predefined_policy_name, custom_headers = nil)
751
+ response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value!
752
+ response.body unless response.nil?
753
+ end
754
+
755
+ #
756
+ # Gets Ssl predefined policy with the specified policy name.
757
+ #
758
+ # @param predefined_policy_name [String] Name of Ssl predefined policy.
759
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
760
+ # will be added to the HTTP request.
761
+ #
762
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
763
+ #
764
+ def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers = nil)
765
+ get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value!
766
+ end
767
+
768
+ #
769
+ # Gets Ssl predefined policy with the specified policy name.
770
+ #
771
+ # @param predefined_policy_name [String] Name of Ssl predefined policy.
772
+ # @param [Hash{String => String}] A hash of custom headers that will be added
773
+ # to the HTTP request.
774
+ #
775
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
776
+ #
777
+ def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers = nil)
778
+ api_version = '2017-06-01'
779
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
780
+ fail ArgumentError, 'predefined_policy_name is nil' if predefined_policy_name.nil?
781
+
782
+
783
+ request_headers = {}
784
+
785
+ # Set Headers
786
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
787
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
788
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}'
789
+
790
+ request_url = @base_url || @client.base_url
791
+
792
+ options = {
793
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
794
+ path_params: {'subscriptionId' => @client.subscription_id,'predefinedPolicyName' => predefined_policy_name},
795
+ query_params: {'api-version' => api_version},
796
+ headers: request_headers.merge(custom_headers || {}),
797
+ base_url: request_url
798
+ }
799
+ promise = @client.make_request_async(:get, path_template, options)
800
+
801
+ promise = promise.then do |result|
802
+ http_response = result.response
803
+ status_code = http_response.status
804
+ response_content = http_response.body
805
+ unless status_code == 200
806
+ error_model = JSON.load(response_content)
807
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
808
+ end
809
+
810
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
811
+ # Deserialize Response
812
+ if status_code == 200
813
+ begin
814
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
815
+ result_mapper = Azure::ARM::Network::Models::ApplicationGatewaySslPredefinedPolicy.mapper()
816
+ result.body = @client.deserialize(result_mapper, parsed_response)
817
+ rescue Exception => e
818
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
819
+ end
820
+ end
821
+
822
+ result
823
+ end
824
+
825
+ promise.execute
826
+ end
827
+
493
828
  #
494
829
  # Deletes the specified application gateway.
495
830
  #
@@ -531,7 +866,7 @@ module Azure::ARM::Network
531
866
  def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil)
532
867
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
533
868
  fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
534
- api_version = '2016-12-01'
869
+ api_version = '2017-06-01'
535
870
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
536
871
 
537
872
 
@@ -540,7 +875,7 @@ module Azure::ARM::Network
540
875
  # Set Headers
541
876
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
542
877
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
543
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'
878
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'
544
879
 
545
880
  request_url = @base_url || @client.base_url
546
881
 
@@ -619,7 +954,7 @@ module Azure::ARM::Network
619
954
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
620
955
  fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
621
956
  fail ArgumentError, 'parameters is nil' if parameters.nil?
622
- api_version = '2016-12-01'
957
+ api_version = '2017-06-01'
623
958
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
624
959
 
625
960
 
@@ -632,11 +967,11 @@ module Azure::ARM::Network
632
967
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
633
968
 
634
969
  # Serialize Request
635
- request_mapper = ApplicationGateway.mapper()
636
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
970
+ request_mapper = Azure::ARM::Network::Models::ApplicationGateway.mapper()
971
+ request_content = @client.serialize(request_mapper, parameters)
637
972
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
638
973
 
639
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'
974
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'
640
975
 
641
976
  request_url = @base_url || @client.base_url
642
977
 
@@ -664,8 +999,8 @@ module Azure::ARM::Network
664
999
  if status_code == 201
665
1000
  begin
666
1001
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
667
- result_mapper = ApplicationGateway.mapper()
668
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1002
+ result_mapper = Azure::ARM::Network::Models::ApplicationGateway.mapper()
1003
+ result.body = @client.deserialize(result_mapper, parsed_response)
669
1004
  rescue Exception => e
670
1005
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
671
1006
  end
@@ -674,8 +1009,8 @@ module Azure::ARM::Network
674
1009
  if status_code == 200
675
1010
  begin
676
1011
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
677
- result_mapper = ApplicationGateway.mapper()
678
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1012
+ result_mapper = Azure::ARM::Network::Models::ApplicationGateway.mapper()
1013
+ result.body = @client.deserialize(result_mapper, parsed_response)
679
1014
  rescue Exception => e
680
1015
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
681
1016
  end
@@ -728,7 +1063,7 @@ module Azure::ARM::Network
728
1063
  def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil)
729
1064
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
730
1065
  fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
731
- api_version = '2016-12-01'
1066
+ api_version = '2017-06-01'
732
1067
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
733
1068
 
734
1069
 
@@ -737,7 +1072,7 @@ module Azure::ARM::Network
737
1072
  # Set Headers
738
1073
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
739
1074
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
740
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start'
1075
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start'
741
1076
 
742
1077
  request_url = @base_url || @client.base_url
743
1078
 
@@ -808,7 +1143,7 @@ module Azure::ARM::Network
808
1143
  def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil)
809
1144
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
810
1145
  fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
811
- api_version = '2016-12-01'
1146
+ api_version = '2017-06-01'
812
1147
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
813
1148
 
814
1149
 
@@ -817,7 +1152,7 @@ module Azure::ARM::Network
817
1152
  # Set Headers
818
1153
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
819
1154
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
820
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop'
1155
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop'
821
1156
 
822
1157
  request_url = @base_url || @client.base_url
823
1158
 
@@ -898,7 +1233,7 @@ module Azure::ARM::Network
898
1233
  def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil)
899
1234
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
900
1235
  fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
901
- api_version = '2016-12-01'
1236
+ api_version = '2017-06-01'
902
1237
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
903
1238
 
904
1239
 
@@ -907,7 +1242,7 @@ module Azure::ARM::Network
907
1242
  # Set Headers
908
1243
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
909
1244
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
910
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth'
1245
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth'
911
1246
 
912
1247
  request_url = @base_url || @client.base_url
913
1248
 
@@ -934,8 +1269,8 @@ module Azure::ARM::Network
934
1269
  if status_code == 200
935
1270
  begin
936
1271
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
937
- result_mapper = ApplicationGatewayBackendHealth.mapper()
938
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1272
+ result_mapper = Azure::ARM::Network::Models::ApplicationGatewayBackendHealth.mapper()
1273
+ result.body = @client.deserialize(result_mapper, parsed_response)
939
1274
  rescue Exception => e
940
1275
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
941
1276
  end
@@ -1021,8 +1356,8 @@ module Azure::ARM::Network
1021
1356
  if status_code == 200
1022
1357
  begin
1023
1358
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1024
- result_mapper = ApplicationGatewayListResult.mapper()
1025
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1359
+ result_mapper = Azure::ARM::Network::Models::ApplicationGatewayListResult.mapper()
1360
+ result.body = @client.deserialize(result_mapper, parsed_response)
1026
1361
  rescue Exception => e
1027
1362
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1028
1363
  end
@@ -1108,8 +1443,95 @@ module Azure::ARM::Network
1108
1443
  if status_code == 200
1109
1444
  begin
1110
1445
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1111
- result_mapper = ApplicationGatewayListResult.mapper()
1112
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1446
+ result_mapper = Azure::ARM::Network::Models::ApplicationGatewayListResult.mapper()
1447
+ result.body = @client.deserialize(result_mapper, parsed_response)
1448
+ rescue Exception => e
1449
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1450
+ end
1451
+ end
1452
+
1453
+ result
1454
+ end
1455
+
1456
+ promise.execute
1457
+ end
1458
+
1459
+ #
1460
+ # Lists all SSL predefined policies for configuring Ssl policy.
1461
+ #
1462
+ # @param next_page_link [String] The NextLink from the previous successful call
1463
+ # to List operation.
1464
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1465
+ # will be added to the HTTP request.
1466
+ #
1467
+ # @return [ApplicationGatewayAvailableSslPredefinedPolicies] operation results.
1468
+ #
1469
+ def list_available_ssl_predefined_policies_next(next_page_link, custom_headers = nil)
1470
+ response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value!
1471
+ response.body unless response.nil?
1472
+ end
1473
+
1474
+ #
1475
+ # Lists all SSL predefined policies for configuring Ssl policy.
1476
+ #
1477
+ # @param next_page_link [String] The NextLink from the previous successful call
1478
+ # to List operation.
1479
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1480
+ # will be added to the HTTP request.
1481
+ #
1482
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1483
+ #
1484
+ def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers = nil)
1485
+ list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value!
1486
+ end
1487
+
1488
+ #
1489
+ # Lists all SSL predefined policies for configuring Ssl policy.
1490
+ #
1491
+ # @param next_page_link [String] The NextLink from the previous successful call
1492
+ # to List operation.
1493
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1494
+ # to the HTTP request.
1495
+ #
1496
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1497
+ #
1498
+ def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers = nil)
1499
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1500
+
1501
+
1502
+ request_headers = {}
1503
+
1504
+ # Set Headers
1505
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1506
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1507
+ path_template = '{nextLink}'
1508
+
1509
+ request_url = @base_url || @client.base_url
1510
+
1511
+ options = {
1512
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1513
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1514
+ headers: request_headers.merge(custom_headers || {}),
1515
+ base_url: request_url
1516
+ }
1517
+ promise = @client.make_request_async(:get, path_template, options)
1518
+
1519
+ promise = promise.then do |result|
1520
+ http_response = result.response
1521
+ status_code = http_response.status
1522
+ response_content = http_response.body
1523
+ unless status_code == 200
1524
+ error_model = JSON.load(response_content)
1525
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1526
+ end
1527
+
1528
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1529
+ # Deserialize Response
1530
+ if status_code == 200
1531
+ begin
1532
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1533
+ result_mapper = Azure::ARM::Network::Models::ApplicationGatewayAvailableSslPredefinedPolicies.mapper()
1534
+ result.body = @client.deserialize(result_mapper, parsed_response)
1113
1535
  rescue Exception => e
1114
1536
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1115
1537
  end
@@ -1162,5 +1584,25 @@ module Azure::ARM::Network
1162
1584
  end
1163
1585
  end
1164
1586
 
1587
+ #
1588
+ # Lists all SSL predefined policies for configuring Ssl policy.
1589
+ #
1590
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1591
+ # will be added to the HTTP request.
1592
+ #
1593
+ # @return [ApplicationGatewayAvailableSslPredefinedPolicies] which provide lazy
1594
+ # access to pages of the response.
1595
+ #
1596
+ def list_available_ssl_predefined_policies_as_lazy(custom_headers = nil)
1597
+ response = list_available_ssl_predefined_policies_async(custom_headers).value!
1598
+ unless response.nil?
1599
+ page = response.body
1600
+ page.next_method = Proc.new do |next_page_link|
1601
+ list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers)
1602
+ end
1603
+ page
1604
+ end
1605
+ end
1606
+
1165
1607
  end
1166
1608
  end