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
@@ -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 ExpressRouteCircuits
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, circuit_name, custom_headers = nil)
103
102
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
104
103
  fail ArgumentError, 'circuit_name is nil' if circuit_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/expressRouteCircuits/{circuitName}'
113
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'
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 = ExpressRouteCircuit.mapper()
142
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
140
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuit.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 = ExpressRouteCircuit.mapper()
190
- parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
188
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuit.mapper()
189
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
191
190
  end
192
191
 
193
192
  # Waiting for response.
@@ -233,8 +232,8 @@ module Azure::ARM::Network
233
232
  promise = promise.then do |response|
234
233
  # Defining deserialization method.
235
234
  deserialize_method = lambda do |parsed_response|
236
- result_mapper = ExpressRouteCircuitsArpTableListResult.mapper()
237
- parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
235
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitsArpTableListResult.mapper()
236
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
238
237
  end
239
238
 
240
239
  # Waiting for response.
@@ -280,8 +279,8 @@ module Azure::ARM::Network
280
279
  promise = promise.then do |response|
281
280
  # Defining deserialization method.
282
281
  deserialize_method = lambda do |parsed_response|
283
- result_mapper = ExpressRouteCircuitsRoutesTableListResult.mapper()
284
- parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
282
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitsRoutesTableListResult.mapper()
283
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
285
284
  end
286
285
 
287
286
  # Waiting for response.
@@ -327,8 +326,8 @@ module Azure::ARM::Network
327
326
  promise = promise.then do |response|
328
327
  # Defining deserialization method.
329
328
  deserialize_method = lambda do |parsed_response|
330
- result_mapper = ExpressRouteCircuitsRoutesTableSummaryListResult.mapper()
331
- parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
329
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitsRoutesTableSummaryListResult.mapper()
330
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
332
331
  end
333
332
 
334
333
  # Waiting for response.
@@ -380,7 +379,7 @@ module Azure::ARM::Network
380
379
  def get_stats_async(resource_group_name, circuit_name, custom_headers = nil)
381
380
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
382
381
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
383
- api_version = '2016-12-01'
382
+ api_version = '2017-06-01'
384
383
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
385
384
 
386
385
 
@@ -389,7 +388,7 @@ module Azure::ARM::Network
389
388
  # Set Headers
390
389
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
391
390
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
392
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats'
391
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats'
393
392
 
394
393
  request_url = @base_url || @client.base_url
395
394
 
@@ -416,8 +415,8 @@ module Azure::ARM::Network
416
415
  if status_code == 200
417
416
  begin
418
417
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
419
- result_mapper = ExpressRouteCircuitStats.mapper()
420
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
418
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitStats.mapper()
419
+ result.body = @client.deserialize(result_mapper, parsed_response)
421
420
  rescue Exception => e
422
421
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
423
422
  end
@@ -475,7 +474,7 @@ module Azure::ARM::Network
475
474
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
476
475
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
477
476
  fail ArgumentError, 'peering_name is nil' if peering_name.nil?
478
- api_version = '2016-12-01'
477
+ api_version = '2017-06-01'
479
478
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
480
479
 
481
480
 
@@ -484,7 +483,7 @@ module Azure::ARM::Network
484
483
  # Set Headers
485
484
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
486
485
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
487
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats'
486
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats'
488
487
 
489
488
  request_url = @base_url || @client.base_url
490
489
 
@@ -511,8 +510,8 @@ module Azure::ARM::Network
511
510
  if status_code == 200
512
511
  begin
513
512
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
514
- result_mapper = ExpressRouteCircuitStats.mapper()
515
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
513
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitStats.mapper()
514
+ result.body = @client.deserialize(result_mapper, parsed_response)
516
515
  rescue Exception => e
517
516
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
518
517
  end
@@ -562,7 +561,7 @@ module Azure::ARM::Network
562
561
  #
563
562
  def list_async(resource_group_name, custom_headers = nil)
564
563
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
565
- api_version = '2016-12-01'
564
+ api_version = '2017-06-01'
566
565
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
567
566
 
568
567
 
@@ -571,7 +570,7 @@ module Azure::ARM::Network
571
570
  # Set Headers
572
571
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
573
572
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
574
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits'
573
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits'
575
574
 
576
575
  request_url = @base_url || @client.base_url
577
576
 
@@ -598,8 +597,8 @@ module Azure::ARM::Network
598
597
  if status_code == 200
599
598
  begin
600
599
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
601
- result_mapper = ExpressRouteCircuitListResult.mapper()
602
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
600
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitListResult.mapper()
601
+ result.body = @client.deserialize(result_mapper, parsed_response)
603
602
  rescue Exception => e
604
603
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
605
604
  end
@@ -645,7 +644,7 @@ module Azure::ARM::Network
645
644
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
646
645
  #
647
646
  def list_all_async(custom_headers = nil)
648
- api_version = '2016-12-01'
647
+ api_version = '2017-06-01'
649
648
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
650
649
 
651
650
 
@@ -654,7 +653,7 @@ module Azure::ARM::Network
654
653
  # Set Headers
655
654
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
656
655
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
657
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits'
656
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits'
658
657
 
659
658
  request_url = @base_url || @client.base_url
660
659
 
@@ -681,8 +680,8 @@ module Azure::ARM::Network
681
680
  if status_code == 200
682
681
  begin
683
682
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
684
- result_mapper = ExpressRouteCircuitListResult.mapper()
685
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
683
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitListResult.mapper()
684
+ result.body = @client.deserialize(result_mapper, parsed_response)
686
685
  rescue Exception => e
687
686
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
688
687
  end
@@ -735,7 +734,7 @@ module Azure::ARM::Network
735
734
  def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil)
736
735
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
737
736
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
738
- api_version = '2016-12-01'
737
+ api_version = '2017-06-01'
739
738
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
740
739
 
741
740
 
@@ -744,7 +743,7 @@ module Azure::ARM::Network
744
743
  # Set Headers
745
744
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
746
745
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
747
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'
746
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'
748
747
 
749
748
  request_url = @base_url || @client.base_url
750
749
 
@@ -823,7 +822,7 @@ module Azure::ARM::Network
823
822
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
824
823
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
825
824
  fail ArgumentError, 'parameters is nil' if parameters.nil?
826
- api_version = '2016-12-01'
825
+ api_version = '2017-06-01'
827
826
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
828
827
 
829
828
 
@@ -836,11 +835,11 @@ module Azure::ARM::Network
836
835
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
837
836
 
838
837
  # Serialize Request
839
- request_mapper = ExpressRouteCircuit.mapper()
840
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
838
+ request_mapper = Azure::ARM::Network::Models::ExpressRouteCircuit.mapper()
839
+ request_content = @client.serialize(request_mapper, parameters)
841
840
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
842
841
 
843
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'
842
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'
844
843
 
845
844
  request_url = @base_url || @client.base_url
846
845
 
@@ -868,8 +867,8 @@ module Azure::ARM::Network
868
867
  if status_code == 201
869
868
  begin
870
869
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
871
- result_mapper = ExpressRouteCircuit.mapper()
872
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
870
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuit.mapper()
871
+ result.body = @client.deserialize(result_mapper, parsed_response)
873
872
  rescue Exception => e
874
873
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
875
874
  end
@@ -878,8 +877,8 @@ module Azure::ARM::Network
878
877
  if status_code == 200
879
878
  begin
880
879
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
881
- result_mapper = ExpressRouteCircuit.mapper()
882
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
880
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuit.mapper()
881
+ result.body = @client.deserialize(result_mapper, parsed_response)
883
882
  rescue Exception => e
884
883
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
885
884
  end
@@ -944,7 +943,7 @@ module Azure::ARM::Network
944
943
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
945
944
  fail ArgumentError, 'peering_name is nil' if peering_name.nil?
946
945
  fail ArgumentError, 'device_path is nil' if device_path.nil?
947
- api_version = '2016-12-01'
946
+ api_version = '2017-06-01'
948
947
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
949
948
 
950
949
 
@@ -953,7 +952,7 @@ module Azure::ARM::Network
953
952
  # Set Headers
954
953
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
955
954
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
956
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}'
955
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}'
957
956
 
958
957
  request_url = @base_url || @client.base_url
959
958
 
@@ -980,8 +979,8 @@ module Azure::ARM::Network
980
979
  if status_code == 200
981
980
  begin
982
981
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
983
- result_mapper = ExpressRouteCircuitsArpTableListResult.mapper()
984
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
982
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitsArpTableListResult.mapper()
983
+ result.body = @client.deserialize(result_mapper, parsed_response)
985
984
  rescue Exception => e
986
985
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
987
986
  end
@@ -1046,7 +1045,7 @@ module Azure::ARM::Network
1046
1045
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
1047
1046
  fail ArgumentError, 'peering_name is nil' if peering_name.nil?
1048
1047
  fail ArgumentError, 'device_path is nil' if device_path.nil?
1049
- api_version = '2016-12-01'
1048
+ api_version = '2017-06-01'
1050
1049
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1051
1050
 
1052
1051
 
@@ -1055,7 +1054,7 @@ module Azure::ARM::Network
1055
1054
  # Set Headers
1056
1055
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1057
1056
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1058
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}'
1057
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}'
1059
1058
 
1060
1059
  request_url = @base_url || @client.base_url
1061
1060
 
@@ -1082,8 +1081,8 @@ module Azure::ARM::Network
1082
1081
  if status_code == 200
1083
1082
  begin
1084
1083
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1085
- result_mapper = ExpressRouteCircuitsRoutesTableListResult.mapper()
1086
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1084
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitsRoutesTableListResult.mapper()
1085
+ result.body = @client.deserialize(result_mapper, parsed_response)
1087
1086
  rescue Exception => e
1088
1087
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1089
1088
  end
@@ -1148,7 +1147,7 @@ module Azure::ARM::Network
1148
1147
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
1149
1148
  fail ArgumentError, 'peering_name is nil' if peering_name.nil?
1150
1149
  fail ArgumentError, 'device_path is nil' if device_path.nil?
1151
- api_version = '2016-12-01'
1150
+ api_version = '2017-06-01'
1152
1151
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1153
1152
 
1154
1153
 
@@ -1157,7 +1156,7 @@ module Azure::ARM::Network
1157
1156
  # Set Headers
1158
1157
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1159
1158
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1160
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}'
1159
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}'
1161
1160
 
1162
1161
  request_url = @base_url || @client.base_url
1163
1162
 
@@ -1184,8 +1183,8 @@ module Azure::ARM::Network
1184
1183
  if status_code == 200
1185
1184
  begin
1186
1185
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1187
- result_mapper = ExpressRouteCircuitsRoutesTableSummaryListResult.mapper()
1188
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1186
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitsRoutesTableSummaryListResult.mapper()
1187
+ result.body = @client.deserialize(result_mapper, parsed_response)
1189
1188
  rescue Exception => e
1190
1189
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1191
1190
  end
@@ -1271,8 +1270,8 @@ module Azure::ARM::Network
1271
1270
  if status_code == 200
1272
1271
  begin
1273
1272
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1274
- result_mapper = ExpressRouteCircuitListResult.mapper()
1275
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1273
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitListResult.mapper()
1274
+ result.body = @client.deserialize(result_mapper, parsed_response)
1276
1275
  rescue Exception => e
1277
1276
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1278
1277
  end
@@ -1358,8 +1357,8 @@ module Azure::ARM::Network
1358
1357
  if status_code == 200
1359
1358
  begin
1360
1359
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1361
- result_mapper = ExpressRouteCircuitListResult.mapper()
1362
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1360
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitListResult.mapper()
1361
+ result.body = @client.deserialize(result_mapper, parsed_response)
1363
1362
  rescue Exception => e
1364
1363
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1365
1364
  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 ExpressRouteServiceProviders
11
- include Azure::ARM::Network::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -56,7 +55,7 @@ module Azure::ARM::Network
56
55
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
57
56
  #
58
57
  def list_async(custom_headers = nil)
59
- api_version = '2016-12-01'
58
+ api_version = '2017-06-01'
60
59
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
61
60
 
62
61
 
@@ -65,7 +64,7 @@ module Azure::ARM::Network
65
64
  # Set Headers
66
65
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
67
66
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
68
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders'
67
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders'
69
68
 
70
69
  request_url = @base_url || @client.base_url
71
70
 
@@ -92,8 +91,8 @@ module Azure::ARM::Network
92
91
  if status_code == 200
93
92
  begin
94
93
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
95
- result_mapper = ExpressRouteServiceProviderListResult.mapper()
96
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
94
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteServiceProviderListResult.mapper()
95
+ result.body = @client.deserialize(result_mapper, parsed_response)
97
96
  rescue Exception => e
98
97
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
99
98
  end
@@ -179,8 +178,8 @@ module Azure::ARM::Network
179
178
  if status_code == 200
180
179
  begin
181
180
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
182
- result_mapper = ExpressRouteServiceProviderListResult.mapper()
183
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
181
+ result_mapper = Azure::ARM::Network::Models::ExpressRouteServiceProviderListResult.mapper()
182
+ result.body = @client.deserialize(result_mapper, parsed_response)
184
183
  rescue Exception => e
185
184
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
186
185
  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 LoadBalancers
11
- include Azure::ARM::Network::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -105,7 +104,7 @@ module Azure::ARM::Network
105
104
  def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil)
106
105
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
107
106
  fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil?
108
- api_version = '2016-12-01'
107
+ api_version = '2017-06-01'
109
108
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
110
109
 
111
110
 
@@ -114,7 +113,7 @@ module Azure::ARM::Network
114
113
  # Set Headers
115
114
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
116
115
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
117
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'
116
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'
118
117
 
119
118
  request_url = @base_url || @client.base_url
120
119
 
@@ -141,8 +140,8 @@ module Azure::ARM::Network
141
140
  if status_code == 200
142
141
  begin
143
142
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
144
- result_mapper = LoadBalancer.mapper()
145
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
143
+ result_mapper = Azure::ARM::Network::Models::LoadBalancer.mapper()
144
+ result.body = @client.deserialize(result_mapper, parsed_response)
146
145
  rescue Exception => e
147
146
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
148
147
  end
@@ -189,8 +188,8 @@ module Azure::ARM::Network
189
188
  promise = promise.then do |response|
190
189
  # Defining deserialization method.
191
190
  deserialize_method = lambda do |parsed_response|
192
- result_mapper = LoadBalancer.mapper()
193
- parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
191
+ result_mapper = Azure::ARM::Network::Models::LoadBalancer.mapper()
192
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
194
193
  end
195
194
 
196
195
  # Waiting for response.
@@ -234,7 +233,7 @@ module Azure::ARM::Network
234
233
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
235
234
  #
236
235
  def list_all_async(custom_headers = nil)
237
- api_version = '2016-12-01'
236
+ api_version = '2017-06-01'
238
237
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
239
238
 
240
239
 
@@ -243,7 +242,7 @@ module Azure::ARM::Network
243
242
  # Set Headers
244
243
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
245
244
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
246
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers'
245
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers'
247
246
 
248
247
  request_url = @base_url || @client.base_url
249
248
 
@@ -270,8 +269,8 @@ module Azure::ARM::Network
270
269
  if status_code == 200
271
270
  begin
272
271
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
273
- result_mapper = LoadBalancerListResult.mapper()
274
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
272
+ result_mapper = Azure::ARM::Network::Models::LoadBalancerListResult.mapper()
273
+ result.body = @client.deserialize(result_mapper, parsed_response)
275
274
  rescue Exception => e
276
275
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
277
276
  end
@@ -321,7 +320,7 @@ module Azure::ARM::Network
321
320
  #
322
321
  def list_async(resource_group_name, custom_headers = nil)
323
322
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
324
- api_version = '2016-12-01'
323
+ api_version = '2017-06-01'
325
324
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
326
325
 
327
326
 
@@ -330,7 +329,7 @@ module Azure::ARM::Network
330
329
  # Set Headers
331
330
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
332
331
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
333
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers'
332
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers'
334
333
 
335
334
  request_url = @base_url || @client.base_url
336
335
 
@@ -357,8 +356,8 @@ module Azure::ARM::Network
357
356
  if status_code == 200
358
357
  begin
359
358
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
360
- result_mapper = LoadBalancerListResult.mapper()
361
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
359
+ result_mapper = Azure::ARM::Network::Models::LoadBalancerListResult.mapper()
360
+ result.body = @client.deserialize(result_mapper, parsed_response)
362
361
  rescue Exception => e
363
362
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
364
363
  end
@@ -411,7 +410,7 @@ module Azure::ARM::Network
411
410
  def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil)
412
411
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
413
412
  fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil?
414
- api_version = '2016-12-01'
413
+ api_version = '2017-06-01'
415
414
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
416
415
 
417
416
 
@@ -420,7 +419,7 @@ module Azure::ARM::Network
420
419
  # Set Headers
421
420
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
422
421
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
423
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'
422
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'
424
423
 
425
424
  request_url = @base_url || @client.base_url
426
425
 
@@ -499,7 +498,7 @@ module Azure::ARM::Network
499
498
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
500
499
  fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil?
501
500
  fail ArgumentError, 'parameters is nil' if parameters.nil?
502
- api_version = '2016-12-01'
501
+ api_version = '2017-06-01'
503
502
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
504
503
 
505
504
 
@@ -512,11 +511,11 @@ module Azure::ARM::Network
512
511
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
513
512
 
514
513
  # Serialize Request
515
- request_mapper = LoadBalancer.mapper()
516
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
514
+ request_mapper = Azure::ARM::Network::Models::LoadBalancer.mapper()
515
+ request_content = @client.serialize(request_mapper, parameters)
517
516
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
518
517
 
519
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'
518
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'
520
519
 
521
520
  request_url = @base_url || @client.base_url
522
521
 
@@ -544,8 +543,8 @@ module Azure::ARM::Network
544
543
  if status_code == 201
545
544
  begin
546
545
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
547
- result_mapper = LoadBalancer.mapper()
548
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
546
+ result_mapper = Azure::ARM::Network::Models::LoadBalancer.mapper()
547
+ result.body = @client.deserialize(result_mapper, parsed_response)
549
548
  rescue Exception => e
550
549
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
551
550
  end
@@ -554,8 +553,8 @@ module Azure::ARM::Network
554
553
  if status_code == 200
555
554
  begin
556
555
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
557
- result_mapper = LoadBalancer.mapper()
558
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
556
+ result_mapper = Azure::ARM::Network::Models::LoadBalancer.mapper()
557
+ result.body = @client.deserialize(result_mapper, parsed_response)
559
558
  rescue Exception => e
560
559
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
561
560
  end
@@ -641,8 +640,8 @@ module Azure::ARM::Network
641
640
  if status_code == 200
642
641
  begin
643
642
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
644
- result_mapper = LoadBalancerListResult.mapper()
645
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
643
+ result_mapper = Azure::ARM::Network::Models::LoadBalancerListResult.mapper()
644
+ result.body = @client.deserialize(result_mapper, parsed_response)
646
645
  rescue Exception => e
647
646
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
648
647
  end
@@ -728,8 +727,8 @@ module Azure::ARM::Network
728
727
  if status_code == 200
729
728
  begin
730
729
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
731
- result_mapper = LoadBalancerListResult.mapper()
732
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
730
+ result_mapper = Azure::ARM::Network::Models::LoadBalancerListResult.mapper()
731
+ result.body = @client.deserialize(result_mapper, parsed_response)
733
732
  rescue Exception => e
734
733
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
735
734
  end