azure_mgmt_network 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. checksums.yaml +5 -13
  2. data/azure_mgmt_network.gemspec +4 -5
  3. data/lib/azure_mgmt_network.rb +3 -201
  4. data/lib/generated/azure_mgmt_network.rb +175 -0
  5. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/application_gateways.rb +158 -59
  6. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/express_route_circuit_authorizations.rb +92 -42
  7. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/express_route_circuit_peerings.rb +91 -42
  8. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/express_route_circuits.rb +210 -92
  9. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/express_route_service_providers.rb +32 -11
  10. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/load_balancers.rb +120 -53
  11. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/local_network_gateways.rb +91 -42
  12. data/lib/generated/azure_mgmt_network/models/address_space.rb +53 -0
  13. data/lib/generated/azure_mgmt_network/models/application_gateway.rb +326 -0
  14. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +54 -0
  15. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +112 -0
  16. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +128 -0
  17. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/application_gateway_cookie_based_affinity.rb +0 -0
  18. data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +120 -0
  19. data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +84 -0
  20. data/lib/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +142 -0
  21. data/lib/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +87 -0
  22. data/lib/generated/azure_mgmt_network/models/application_gateway_list_result.rb +94 -0
  23. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/application_gateway_operational_state.rb +0 -0
  24. data/lib/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +115 -0
  25. data/lib/generated/azure_mgmt_network/models/application_gateway_probe.rb +135 -0
  26. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/application_gateway_protocol.rb +0 -0
  27. data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +133 -0
  28. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/application_gateway_request_routing_rule_type.rb +0 -0
  29. data/lib/generated/azure_mgmt_network/models/application_gateway_sku.rb +68 -0
  30. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/application_gateway_sku_name.rb +0 -0
  31. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +104 -0
  32. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/application_gateway_tier.rb +0 -0
  33. data/lib/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +117 -0
  34. data/lib/generated/azure_mgmt_network/models/authorization_list_result.rb +95 -0
  35. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/authorization_use_status.rb +0 -0
  36. data/lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb +63 -0
  37. data/lib/generated/azure_mgmt_network/models/backend_address_pool.rb +127 -0
  38. data/lib/generated/azure_mgmt_network/models/bgp_settings.rb +66 -0
  39. data/lib/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +45 -0
  40. data/lib/generated/azure_mgmt_network/models/connection_shared_key.rb +44 -0
  41. data/lib/generated/azure_mgmt_network/models/connection_shared_key_result.rb +44 -0
  42. data/lib/generated/azure_mgmt_network/models/dhcp_options.rb +53 -0
  43. data/lib/generated/azure_mgmt_network/models/dns_name_availability_result.rb +44 -0
  44. data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +76 -0
  45. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +56 -0
  46. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +95 -0
  47. data/lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb +162 -0
  48. data/lib/generated/azure_mgmt_network/models/effective_route.rb +124 -0
  49. data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +93 -0
  50. data/lib/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
  51. data/lib/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
  52. data/lib/generated/azure_mgmt_network/models/error.rb +92 -0
  53. data/lib/generated/azure_mgmt_network/models/error_details.rb +64 -0
  54. data/lib/generated/azure_mgmt_network/models/express_route_circuit.rb +215 -0
  55. data/lib/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +74 -0
  56. data/lib/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +95 -0
  57. data/lib/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +94 -0
  58. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +200 -0
  59. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/express_route_circuit_peering_advertised_public_prefix_state.rb +0 -0
  60. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +85 -0
  61. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +95 -0
  62. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/express_route_circuit_peering_state.rb +0 -0
  63. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/express_route_circuit_peering_type.rb +0 -0
  64. data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +84 -0
  65. data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +87 -0
  66. data/lib/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +65 -0
  67. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +66 -0
  68. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/express_route_circuit_sku_family.rb +0 -0
  69. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/express_route_circuit_sku_tier.rb +0 -0
  70. data/lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +74 -0
  71. data/lib/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +62 -0
  72. data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +65 -0
  73. data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +65 -0
  74. data/lib/generated/azure_mgmt_network/models/express_route_service_provider.rb +124 -0
  75. data/lib/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +55 -0
  76. data/lib/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +94 -0
  77. data/lib/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +199 -0
  78. data/lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb +140 -0
  79. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb +169 -0
  80. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/ipallocation_method.rb +0 -0
  81. data/lib/generated/azure_mgmt_network/models/ipconfiguration.rb +119 -0
  82. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/ipversion.rb +0 -0
  83. data/lib/generated/azure_mgmt_network/models/load_balancer.rb +239 -0
  84. data/lib/generated/azure_mgmt_network/models/load_balancer_list_result.rb +94 -0
  85. data/lib/generated/azure_mgmt_network/models/load_balancing_rule.rb +191 -0
  86. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/load_distribution.rb +0 -0
  87. data/lib/generated/azure_mgmt_network/models/local_network_gateway.rb +143 -0
  88. data/lib/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +94 -0
  89. data/lib/generated/azure_mgmt_network/models/network_interface.rb +197 -0
  90. data/lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +99 -0
  91. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +195 -0
  92. data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +94 -0
  93. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/network_operation_status.rb +0 -0
  94. data/lib/generated/azure_mgmt_network/models/network_security_group.rb +188 -0
  95. data/lib/generated/azure_mgmt_network/models/network_security_group_list_result.rb +94 -0
  96. data/lib/generated/azure_mgmt_network/models/outbound_nat_rule.rb +117 -0
  97. data/lib/generated/azure_mgmt_network/models/probe.rb +159 -0
  98. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/probe_protocol.rb +0 -0
  99. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/processor_architecture.rb +0 -0
  100. data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +177 -0
  101. data/lib/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +73 -0
  102. data/lib/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +94 -0
  103. data/lib/generated/azure_mgmt_network/models/route.rb +110 -0
  104. data/lib/generated/azure_mgmt_network/models/route_list_result.rb +93 -0
  105. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/route_next_hop_type.rb +0 -0
  106. data/lib/generated/azure_mgmt_network/models/route_table.rb +137 -0
  107. data/lib/generated/azure_mgmt_network/models/route_table_list_result.rb +94 -0
  108. data/lib/generated/azure_mgmt_network/models/security_rule.rb +185 -0
  109. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/security_rule_access.rb +0 -0
  110. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/security_rule_direction.rb +0 -0
  111. data/lib/generated/azure_mgmt_network/models/security_rule_list_result.rb +95 -0
  112. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/security_rule_protocol.rb +0 -0
  113. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/service_provider_provisioning_state.rb +0 -0
  114. data/lib/generated/azure_mgmt_network/models/subnet.rb +127 -0
  115. data/lib/generated/azure_mgmt_network/models/subnet_list_result.rb +94 -0
  116. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/transport_protocol.rb +0 -0
  117. data/lib/generated/azure_mgmt_network/models/usage.rb +78 -0
  118. data/lib/generated/azure_mgmt_network/models/usage_name.rb +55 -0
  119. data/lib/generated/azure_mgmt_network/models/usages_list_result.rb +52 -0
  120. data/lib/generated/azure_mgmt_network/models/virtual_network.rb +173 -0
  121. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb +213 -0
  122. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +239 -0
  123. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +96 -0
  124. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/virtual_network_gateway_connection_status.rb +0 -0
  125. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/virtual_network_gateway_connection_type.rb +0 -0
  126. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +108 -0
  127. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +94 -0
  128. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +68 -0
  129. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/virtual_network_gateway_sku_name.rb +0 -0
  130. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/virtual_network_gateway_sku_tier.rb +0 -0
  131. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/virtual_network_gateway_type.rb +0 -0
  132. data/lib/generated/azure_mgmt_network/models/virtual_network_list_result.rb +94 -0
  133. data/lib/generated/azure_mgmt_network/models/virtual_network_peering.rb +146 -0
  134. data/lib/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +95 -0
  135. data/lib/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
  136. data/lib/generated/azure_mgmt_network/models/vpn_client_configuration.rb +84 -0
  137. data/lib/generated/azure_mgmt_network/models/vpn_client_parameters.rb +45 -0
  138. data/lib/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +85 -0
  139. data/lib/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +84 -0
  140. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/vpn_type.rb +0 -0
  141. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/module_definition.rb +0 -0
  142. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/network_interfaces.rb +913 -113
  143. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/network_management_client.rb +31 -25
  144. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/network_security_groups.rb +122 -53
  145. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/public_ipaddresses.rb +120 -53
  146. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/route_tables.rb +118 -53
  147. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/routes.rb +90 -42
  148. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/security_rules.rb +94 -42
  149. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/subnets.rb +94 -46
  150. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/usages.rb +4 -94
  151. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/version.rb +1 -1
  152. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/virtual_network_gateway_connections.rb +164 -86
  153. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/virtual_network_gateways.rb +146 -70
  154. data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +654 -0
  155. data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/virtual_networks.rb +123 -58
  156. metadata +173 -221
  157. data/lib/azure_mgmt_network/models/address_space.rb +0 -58
  158. data/lib/azure_mgmt_network/models/application_gateway.rb +0 -102
  159. data/lib/azure_mgmt_network/models/application_gateway_backend_address.rb +0 -65
  160. data/lib/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +0 -88
  161. data/lib/azure_mgmt_network/models/application_gateway_backend_address_pool_properties_format.rb +0 -119
  162. data/lib/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +0 -88
  163. data/lib/azure_mgmt_network/models/application_gateway_backend_http_settings_properties_format.rb +0 -122
  164. data/lib/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +0 -89
  165. data/lib/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration_properties_format.rb +0 -114
  166. data/lib/azure_mgmt_network/models/application_gateway_frontend_port.rb +0 -88
  167. data/lib/azure_mgmt_network/models/application_gateway_frontend_port_properties_format.rb +0 -68
  168. data/lib/azure_mgmt_network/models/application_gateway_http_listener.rb +0 -88
  169. data/lib/azure_mgmt_network/models/application_gateway_http_listener_properties_format.rb +0 -141
  170. data/lib/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +0 -88
  171. data/lib/azure_mgmt_network/models/application_gateway_ipconfiguration_properties_format.rb +0 -75
  172. data/lib/azure_mgmt_network/models/application_gateway_list_result.rb +0 -86
  173. data/lib/azure_mgmt_network/models/application_gateway_path_rule.rb +0 -88
  174. data/lib/azure_mgmt_network/models/application_gateway_path_rule_properties_format.rb +0 -101
  175. data/lib/azure_mgmt_network/models/application_gateway_probe.rb +0 -88
  176. data/lib/azure_mgmt_network/models/application_gateway_probe_properties_format.rb +0 -118
  177. data/lib/azure_mgmt_network/models/application_gateway_properties_format.rb +0 -408
  178. data/lib/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +0 -88
  179. data/lib/azure_mgmt_network/models/application_gateway_request_routing_rule_properties_format.rb +0 -139
  180. data/lib/azure_mgmt_network/models/application_gateway_sku.rb +0 -86
  181. data/lib/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +0 -88
  182. data/lib/azure_mgmt_network/models/application_gateway_ssl_certificate_properties_format.rb +0 -85
  183. data/lib/azure_mgmt_network/models/application_gateway_url_path_map.rb +0 -88
  184. data/lib/azure_mgmt_network/models/application_gateway_url_path_map_properties_format.rb +0 -122
  185. data/lib/azure_mgmt_network/models/authorization_list_result.rb +0 -87
  186. data/lib/azure_mgmt_network/models/authorization_properties_format.rb +0 -79
  187. data/lib/azure_mgmt_network/models/azure_async_operation_result.rb +0 -83
  188. data/lib/azure_mgmt_network/models/backend_address_pool.rb +0 -88
  189. data/lib/azure_mgmt_network/models/backend_address_pool_properties_format.rb +0 -135
  190. data/lib/azure_mgmt_network/models/bgp_settings.rb +0 -78
  191. data/lib/azure_mgmt_network/models/connection_reset_shared_key.rb +0 -58
  192. data/lib/azure_mgmt_network/models/connection_shared_key.rb +0 -56
  193. data/lib/azure_mgmt_network/models/connection_shared_key_result.rb +0 -56
  194. data/lib/azure_mgmt_network/models/dhcp_options.rb +0 -58
  195. data/lib/azure_mgmt_network/models/dns_name_availability_result.rb +0 -56
  196. data/lib/azure_mgmt_network/models/error.rb +0 -112
  197. data/lib/azure_mgmt_network/models/error_details.rb +0 -74
  198. data/lib/azure_mgmt_network/models/express_route_circuit.rb +0 -118
  199. data/lib/azure_mgmt_network/models/express_route_circuit_arp_table.rb +0 -84
  200. data/lib/azure_mgmt_network/models/express_route_circuit_authorization.rb +0 -88
  201. data/lib/azure_mgmt_network/models/express_route_circuit_list_result.rb +0 -86
  202. data/lib/azure_mgmt_network/models/express_route_circuit_peering.rb +0 -88
  203. data/lib/azure_mgmt_network/models/express_route_circuit_peering_config.rb +0 -92
  204. data/lib/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +0 -87
  205. data/lib/azure_mgmt_network/models/express_route_circuit_peering_properties_format.rb +0 -194
  206. data/lib/azure_mgmt_network/models/express_route_circuit_properties_format.rb +0 -188
  207. data/lib/azure_mgmt_network/models/express_route_circuit_routes_table.rb +0 -93
  208. data/lib/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +0 -97
  209. data/lib/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +0 -76
  210. data/lib/azure_mgmt_network/models/express_route_circuit_sku.rb +0 -83
  211. data/lib/azure_mgmt_network/models/express_route_circuit_stats.rb +0 -87
  212. data/lib/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +0 -85
  213. data/lib/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +0 -88
  214. data/lib/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +0 -88
  215. data/lib/azure_mgmt_network/models/express_route_service_provider.rb +0 -92
  216. data/lib/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +0 -67
  217. data/lib/azure_mgmt_network/models/express_route_service_provider_list_result.rb +0 -86
  218. data/lib/azure_mgmt_network/models/express_route_service_provider_properties_format.rb +0 -97
  219. data/lib/azure_mgmt_network/models/frontend_ipconfiguration.rb +0 -88
  220. data/lib/azure_mgmt_network/models/frontend_ipconfiguration_properties_format.rb +0 -237
  221. data/lib/azure_mgmt_network/models/inbound_nat_pool.rb +0 -88
  222. data/lib/azure_mgmt_network/models/inbound_nat_pool_properties_format.rb +0 -134
  223. data/lib/azure_mgmt_network/models/inbound_nat_rule.rb +0 -88
  224. data/lib/azure_mgmt_network/models/inbound_nat_rule_properties_format.rb +0 -162
  225. data/lib/azure_mgmt_network/models/ipconfiguration.rb +0 -88
  226. data/lib/azure_mgmt_network/models/ipconfiguration_properties_format.rb +0 -113
  227. data/lib/azure_mgmt_network/models/load_balancer.rb +0 -102
  228. data/lib/azure_mgmt_network/models/load_balancer_list_result.rb +0 -86
  229. data/lib/azure_mgmt_network/models/load_balancer_properties_format.rb +0 -278
  230. data/lib/azure_mgmt_network/models/load_balancing_rule.rb +0 -88
  231. data/lib/azure_mgmt_network/models/load_balancing_rule_properties_format.rb +0 -195
  232. data/lib/azure_mgmt_network/models/local_network_gateway.rb +0 -102
  233. data/lib/azure_mgmt_network/models/local_network_gateway_list_result.rb +0 -86
  234. data/lib/azure_mgmt_network/models/local_network_gateway_properties_format.rb +0 -107
  235. data/lib/azure_mgmt_network/models/network_interface.rb +0 -102
  236. data/lib/azure_mgmt_network/models/network_interface_dns_settings.rb +0 -94
  237. data/lib/azure_mgmt_network/models/network_interface_ipconfiguration.rb +0 -88
  238. data/lib/azure_mgmt_network/models/network_interface_ipconfiguration_properties_format.rb +0 -218
  239. data/lib/azure_mgmt_network/models/network_interface_list_result.rb +0 -86
  240. data/lib/azure_mgmt_network/models/network_interface_properties_format.rb +0 -176
  241. data/lib/azure_mgmt_network/models/network_security_group.rb +0 -102
  242. data/lib/azure_mgmt_network/models/network_security_group_list_result.rb +0 -86
  243. data/lib/azure_mgmt_network/models/network_security_group_properties_format.rb +0 -189
  244. data/lib/azure_mgmt_network/models/outbound_nat_rule.rb +0 -88
  245. data/lib/azure_mgmt_network/models/outbound_nat_rule_properties_format.rb +0 -117
  246. data/lib/azure_mgmt_network/models/probe.rb +0 -88
  247. data/lib/azure_mgmt_network/models/probe_properties_format.rb +0 -156
  248. data/lib/azure_mgmt_network/models/public_ipaddress.rb +0 -102
  249. data/lib/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +0 -83
  250. data/lib/azure_mgmt_network/models/public_ipaddress_list_result.rb +0 -86
  251. data/lib/azure_mgmt_network/models/public_ipaddress_properties_format.rb +0 -146
  252. data/lib/azure_mgmt_network/models/route.rb +0 -88
  253. data/lib/azure_mgmt_network/models/route_list_result.rb +0 -85
  254. data/lib/azure_mgmt_network/models/route_properties_format.rb +0 -94
  255. data/lib/azure_mgmt_network/models/route_table.rb +0 -102
  256. data/lib/azure_mgmt_network/models/route_table_list_result.rb +0 -86
  257. data/lib/azure_mgmt_network/models/route_table_properties_format.rb +0 -116
  258. data/lib/azure_mgmt_network/models/security_rule.rb +0 -88
  259. data/lib/azure_mgmt_network/models/security_rule_list_result.rb +0 -87
  260. data/lib/azure_mgmt_network/models/security_rule_properties_format.rb +0 -176
  261. data/lib/azure_mgmt_network/models/subnet.rb +0 -88
  262. data/lib/azure_mgmt_network/models/subnet_list_result.rb +0 -86
  263. data/lib/azure_mgmt_network/models/subnet_properties_format.rb +0 -130
  264. data/lib/azure_mgmt_network/models/usage.rb +0 -96
  265. data/lib/azure_mgmt_network/models/usage_name.rb +0 -66
  266. data/lib/azure_mgmt_network/models/usages_list_result.rb +0 -76
  267. data/lib/azure_mgmt_network/models/virtual_network.rb +0 -102
  268. data/lib/azure_mgmt_network/models/virtual_network_gateway.rb +0 -102
  269. data/lib/azure_mgmt_network/models/virtual_network_gateway_connection.rb +0 -102
  270. data/lib/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +0 -87
  271. data/lib/azure_mgmt_network/models/virtual_network_gateway_connection_properties_format.rb +0 -218
  272. data/lib/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +0 -88
  273. data/lib/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration_properties_format.rb +0 -114
  274. data/lib/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +0 -86
  275. data/lib/azure_mgmt_network/models/virtual_network_gateway_properties_format.rb +0 -205
  276. data/lib/azure_mgmt_network/models/virtual_network_gateway_sku.rb +0 -86
  277. data/lib/azure_mgmt_network/models/virtual_network_list_result.rb +0 -86
  278. data/lib/azure_mgmt_network/models/virtual_network_properties_format.rb +0 -131
  279. data/lib/azure_mgmt_network/models/vpn_client_configuration.rb +0 -125
  280. data/lib/azure_mgmt_network/models/vpn_client_parameters.rb +0 -60
  281. data/lib/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +0 -88
  282. data/lib/azure_mgmt_network/models/vpn_client_revoked_certificate_properties_format.rb +0 -69
  283. data/lib/azure_mgmt_network/models/vpn_client_root_certificate.rb +0 -88
  284. data/lib/azure_mgmt_network/models/vpn_client_root_certificate_properties_format.rb +0 -66
@@ -1,88 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
- # Changes may cause incorrect behavior and will be lost if the code is
4
- # regenerated.
5
-
6
- module Azure::ARM::Network
7
- module Models
8
- #
9
- # Path rule of URL path map of application gateway
10
- #
11
- class ApplicationGatewayPathRule < MsRestAzure::SubResource
12
-
13
- include MsRestAzure
14
-
15
- # @return [ApplicationGatewayPathRulePropertiesFormat]
16
- attr_accessor :properties
17
-
18
- # @return [String] Gets name of the resource that is unique within a
19
- # resource group. This name can be used to access the resource
20
- attr_accessor :name
21
-
22
- # @return [String] A unique read-only string that changes whenever the
23
- # resource is updated
24
- attr_accessor :etag
25
-
26
- #
27
- # Validate the object. Throws ValidationError if validation fails.
28
- #
29
- def validate
30
- @properties.validate unless @properties.nil?
31
- end
32
-
33
- #
34
- # Serializes given Model object into Ruby Hash.
35
- # @param object Model object to serialize.
36
- # @return [Hash] Serialized object in form of Ruby Hash.
37
- #
38
- def self.serialize_object(object)
39
- object.validate
40
- output_object = {}
41
-
42
- serialized_property = object.id
43
- output_object['id'] = serialized_property unless serialized_property.nil?
44
-
45
- serialized_property = object.properties
46
- unless serialized_property.nil?
47
- serialized_property = ApplicationGatewayPathRulePropertiesFormat.serialize_object(serialized_property)
48
- end
49
- output_object['properties'] = serialized_property unless serialized_property.nil?
50
-
51
- serialized_property = object.name
52
- output_object['name'] = serialized_property unless serialized_property.nil?
53
-
54
- serialized_property = object.etag
55
- output_object['etag'] = serialized_property unless serialized_property.nil?
56
-
57
- output_object
58
- end
59
-
60
- #
61
- # Deserializes given Ruby Hash into Model object.
62
- # @param object [Hash] Ruby Hash object to deserialize.
63
- # @return [ApplicationGatewayPathRule] Deserialized object.
64
- #
65
- def self.deserialize_object(object)
66
- return if object.nil?
67
- output_object = ApplicationGatewayPathRule.new
68
-
69
- deserialized_property = object['id']
70
- output_object.id = deserialized_property
71
-
72
- deserialized_property = object['properties']
73
- unless deserialized_property.nil?
74
- deserialized_property = ApplicationGatewayPathRulePropertiesFormat.deserialize_object(deserialized_property)
75
- end
76
- output_object.properties = deserialized_property
77
-
78
- deserialized_property = object['name']
79
- output_object.name = deserialized_property
80
-
81
- deserialized_property = object['etag']
82
- output_object.etag = deserialized_property
83
-
84
- output_object
85
- end
86
- end
87
- end
88
- end
@@ -1,101 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
- # Changes may cause incorrect behavior and will be lost if the code is
4
- # regenerated.
5
-
6
- module Azure::ARM::Network
7
- module Models
8
- #
9
- # Properties of probe of application gateway
10
- #
11
- class ApplicationGatewayPathRulePropertiesFormat
12
-
13
- include MsRestAzure
14
-
15
- # @return [Array<String>] Gets or sets the path rules of URL path map
16
- attr_accessor :paths
17
-
18
- # @return [SubResource] Gets or sets backend address pool resource of
19
- # URL path map
20
- attr_accessor :backend_address_pool
21
-
22
- # @return [SubResource] Gets or sets backend http settings resource of
23
- # URL path map
24
- attr_accessor :backend_http_settings
25
-
26
- # @return [String] Gets or sets path rule of URL path map resource
27
- # Updating/Deleting/Failed
28
- attr_accessor :provisioning_state
29
-
30
- #
31
- # Validate the object. Throws ValidationError if validation fails.
32
- #
33
- def validate
34
- @paths.each{ |e| e.validate if e.respond_to?(:validate) } unless @paths.nil?
35
- @backend_address_pool.validate unless @backend_address_pool.nil?
36
- @backend_http_settings.validate unless @backend_http_settings.nil?
37
- end
38
-
39
- #
40
- # Serializes given Model object into Ruby Hash.
41
- # @param object Model object to serialize.
42
- # @return [Hash] Serialized object in form of Ruby Hash.
43
- #
44
- def self.serialize_object(object)
45
- object.validate
46
- output_object = {}
47
-
48
- serialized_property = object.paths
49
- output_object['paths'] = serialized_property unless serialized_property.nil?
50
-
51
- serialized_property = object.backend_address_pool
52
- unless serialized_property.nil?
53
- serialized_property = MsRestAzure::SubResource.serialize_object(serialized_property)
54
- end
55
- output_object['backendAddressPool'] = serialized_property unless serialized_property.nil?
56
-
57
- serialized_property = object.backend_http_settings
58
- unless serialized_property.nil?
59
- serialized_property = MsRestAzure::SubResource.serialize_object(serialized_property)
60
- end
61
- output_object['backendHttpSettings'] = serialized_property unless serialized_property.nil?
62
-
63
- serialized_property = object.provisioning_state
64
- output_object['provisioningState'] = serialized_property unless serialized_property.nil?
65
-
66
- output_object
67
- end
68
-
69
- #
70
- # Deserializes given Ruby Hash into Model object.
71
- # @param object [Hash] Ruby Hash object to deserialize.
72
- # @return [ApplicationGatewayPathRulePropertiesFormat] Deserialized
73
- # object.
74
- #
75
- def self.deserialize_object(object)
76
- return if object.nil?
77
- output_object = ApplicationGatewayPathRulePropertiesFormat.new
78
-
79
- deserialized_property = object['paths']
80
- output_object.paths = deserialized_property
81
-
82
- deserialized_property = object['backendAddressPool']
83
- unless deserialized_property.nil?
84
- deserialized_property = MsRestAzure::SubResource.deserialize_object(deserialized_property)
85
- end
86
- output_object.backend_address_pool = deserialized_property
87
-
88
- deserialized_property = object['backendHttpSettings']
89
- unless deserialized_property.nil?
90
- deserialized_property = MsRestAzure::SubResource.deserialize_object(deserialized_property)
91
- end
92
- output_object.backend_http_settings = deserialized_property
93
-
94
- deserialized_property = object['provisioningState']
95
- output_object.provisioning_state = deserialized_property
96
-
97
- output_object
98
- end
99
- end
100
- end
101
- end
@@ -1,88 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
- # Changes may cause incorrect behavior and will be lost if the code is
4
- # regenerated.
5
-
6
- module Azure::ARM::Network
7
- module Models
8
- #
9
- # Probe of application gateway
10
- #
11
- class ApplicationGatewayProbe < MsRestAzure::SubResource
12
-
13
- include MsRestAzure
14
-
15
- # @return [ApplicationGatewayProbePropertiesFormat]
16
- attr_accessor :properties
17
-
18
- # @return [String] Gets name of the resource that is unique within a
19
- # resource group. This name can be used to access the resource
20
- attr_accessor :name
21
-
22
- # @return [String] A unique read-only string that changes whenever the
23
- # resource is updated
24
- attr_accessor :etag
25
-
26
- #
27
- # Validate the object. Throws ValidationError if validation fails.
28
- #
29
- def validate
30
- @properties.validate unless @properties.nil?
31
- end
32
-
33
- #
34
- # Serializes given Model object into Ruby Hash.
35
- # @param object Model object to serialize.
36
- # @return [Hash] Serialized object in form of Ruby Hash.
37
- #
38
- def self.serialize_object(object)
39
- object.validate
40
- output_object = {}
41
-
42
- serialized_property = object.id
43
- output_object['id'] = serialized_property unless serialized_property.nil?
44
-
45
- serialized_property = object.properties
46
- unless serialized_property.nil?
47
- serialized_property = ApplicationGatewayProbePropertiesFormat.serialize_object(serialized_property)
48
- end
49
- output_object['properties'] = serialized_property unless serialized_property.nil?
50
-
51
- serialized_property = object.name
52
- output_object['name'] = serialized_property unless serialized_property.nil?
53
-
54
- serialized_property = object.etag
55
- output_object['etag'] = serialized_property unless serialized_property.nil?
56
-
57
- output_object
58
- end
59
-
60
- #
61
- # Deserializes given Ruby Hash into Model object.
62
- # @param object [Hash] Ruby Hash object to deserialize.
63
- # @return [ApplicationGatewayProbe] Deserialized object.
64
- #
65
- def self.deserialize_object(object)
66
- return if object.nil?
67
- output_object = ApplicationGatewayProbe.new
68
-
69
- deserialized_property = object['id']
70
- output_object.id = deserialized_property
71
-
72
- deserialized_property = object['properties']
73
- unless deserialized_property.nil?
74
- deserialized_property = ApplicationGatewayProbePropertiesFormat.deserialize_object(deserialized_property)
75
- end
76
- output_object.properties = deserialized_property
77
-
78
- deserialized_property = object['name']
79
- output_object.name = deserialized_property
80
-
81
- deserialized_property = object['etag']
82
- output_object.etag = deserialized_property
83
-
84
- output_object
85
- end
86
- end
87
- end
88
- end
@@ -1,118 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
- # Changes may cause incorrect behavior and will be lost if the code is
4
- # regenerated.
5
-
6
- module Azure::ARM::Network
7
- module Models
8
- #
9
- # Properties of probe of application gateway
10
- #
11
- class ApplicationGatewayProbePropertiesFormat
12
-
13
- include MsRestAzure
14
-
15
- # @return [ApplicationGatewayProtocol] Gets or sets the protocol.
16
- # Possible values include: 'Http', 'Https'
17
- attr_accessor :protocol
18
-
19
- # @return [String] Gets or sets the host to send probe to
20
- attr_accessor :host
21
-
22
- # @return [String] Gets or sets the relative path of probe
23
- attr_accessor :path
24
-
25
- # @return [Integer] Gets or sets probing interval in seconds
26
- attr_accessor :interval
27
-
28
- # @return [Integer] Gets or sets probing timeout in seconds
29
- attr_accessor :timeout
30
-
31
- # @return [Integer] Gets or sets probing unhealthy threshold
32
- attr_accessor :unhealthy_threshold
33
-
34
- # @return [String] Gets or sets Provisioning state of the backend http
35
- # settings resource Updating/Deleting/Failed
36
- attr_accessor :provisioning_state
37
-
38
- #
39
- # Validate the object. Throws ValidationError if validation fails.
40
- #
41
- def validate
42
- end
43
-
44
- #
45
- # Serializes given Model object into Ruby Hash.
46
- # @param object Model object to serialize.
47
- # @return [Hash] Serialized object in form of Ruby Hash.
48
- #
49
- def self.serialize_object(object)
50
- object.validate
51
- output_object = {}
52
-
53
- serialized_property = object.protocol
54
- output_object['protocol'] = serialized_property unless serialized_property.nil?
55
-
56
- serialized_property = object.host
57
- output_object['host'] = serialized_property unless serialized_property.nil?
58
-
59
- serialized_property = object.path
60
- output_object['path'] = serialized_property unless serialized_property.nil?
61
-
62
- serialized_property = object.interval
63
- output_object['interval'] = serialized_property unless serialized_property.nil?
64
-
65
- serialized_property = object.timeout
66
- output_object['timeout'] = serialized_property unless serialized_property.nil?
67
-
68
- serialized_property = object.unhealthy_threshold
69
- output_object['unhealthyThreshold'] = serialized_property unless serialized_property.nil?
70
-
71
- serialized_property = object.provisioning_state
72
- output_object['provisioningState'] = serialized_property unless serialized_property.nil?
73
-
74
- output_object
75
- end
76
-
77
- #
78
- # Deserializes given Ruby Hash into Model object.
79
- # @param object [Hash] Ruby Hash object to deserialize.
80
- # @return [ApplicationGatewayProbePropertiesFormat] Deserialized object.
81
- #
82
- def self.deserialize_object(object)
83
- return if object.nil?
84
- output_object = ApplicationGatewayProbePropertiesFormat.new
85
-
86
- deserialized_property = object['protocol']
87
- if (!deserialized_property.nil? && !deserialized_property.empty?)
88
- enum_is_valid = ApplicationGatewayProtocol.constants.any? { |e| ApplicationGatewayProtocol.const_get(e).to_s.downcase == deserialized_property.downcase }
89
- warn 'Enum ApplicationGatewayProtocol does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
90
- end
91
- output_object.protocol = deserialized_property
92
-
93
- deserialized_property = object['host']
94
- output_object.host = deserialized_property
95
-
96
- deserialized_property = object['path']
97
- output_object.path = deserialized_property
98
-
99
- deserialized_property = object['interval']
100
- deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
101
- output_object.interval = deserialized_property
102
-
103
- deserialized_property = object['timeout']
104
- deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
105
- output_object.timeout = deserialized_property
106
-
107
- deserialized_property = object['unhealthyThreshold']
108
- deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
109
- output_object.unhealthy_threshold = deserialized_property
110
-
111
- deserialized_property = object['provisioningState']
112
- output_object.provisioning_state = deserialized_property
113
-
114
- output_object
115
- end
116
- end
117
- end
118
- end
@@ -1,408 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
- # Changes may cause incorrect behavior and will be lost if the code is
4
- # regenerated.
5
-
6
- module Azure::ARM::Network
7
- module Models
8
- #
9
- # Properties of Application Gateway
10
- #
11
- class ApplicationGatewayPropertiesFormat
12
-
13
- include MsRestAzure
14
-
15
- # @return [ApplicationGatewaySku] Gets or sets sku of application
16
- # gateway resource
17
- attr_accessor :sku
18
-
19
- # @return [ApplicationGatewayOperationalState] Gets operational state of
20
- # application gateway resource. Possible values include: 'Stopped',
21
- # 'Starting', 'Running', 'Stopping'
22
- attr_accessor :operational_state
23
-
24
- # @return [Array<ApplicationGatewayIPConfiguration>] Gets or sets
25
- # subnets of application gateway resource
26
- attr_accessor :gateway_ipconfigurations
27
-
28
- # @return [Array<ApplicationGatewaySslCertificate>] Gets or sets ssl
29
- # certificates of application gateway resource
30
- attr_accessor :ssl_certificates
31
-
32
- # @return [Array<ApplicationGatewayFrontendIPConfiguration>] Gets or
33
- # sets frontend IP addresses of application gateway resource
34
- attr_accessor :frontend_ipconfigurations
35
-
36
- # @return [Array<ApplicationGatewayFrontendPort>] Gets or sets frontend
37
- # ports of application gateway resource
38
- attr_accessor :frontend_ports
39
-
40
- # @return [Array<ApplicationGatewayProbe>] Gets or sets probes of
41
- # application gateway resource
42
- attr_accessor :probes
43
-
44
- # @return [Array<ApplicationGatewayBackendAddressPool>] Gets or sets
45
- # backend address pool of application gateway resource
46
- attr_accessor :backend_address_pools
47
-
48
- # @return [Array<ApplicationGatewayBackendHttpSettings>] Gets or sets
49
- # backend http settings of application gateway resource
50
- attr_accessor :backend_http_settings_collection
51
-
52
- # @return [Array<ApplicationGatewayHttpListener>] Gets or sets HTTP
53
- # listeners of application gateway resource
54
- attr_accessor :http_listeners
55
-
56
- # @return [Array<ApplicationGatewayUrlPathMap>] Gets or sets URL path
57
- # map of application gateway resource
58
- attr_accessor :url_path_maps
59
-
60
- # @return [Array<ApplicationGatewayRequestRoutingRule>] Gets or sets
61
- # request routing rules of application gateway resource
62
- attr_accessor :request_routing_rules
63
-
64
- # @return [String] Gets or sets resource guid property of the
65
- # ApplicationGateway resource
66
- attr_accessor :resource_guid
67
-
68
- # @return [String] Gets or sets Provisioning state of the
69
- # ApplicationGateway resource Updating/Deleting/Failed
70
- attr_accessor :provisioning_state
71
-
72
- #
73
- # Validate the object. Throws ValidationError if validation fails.
74
- #
75
- def validate
76
- @sku.validate unless @sku.nil?
77
- @gateway_ipconfigurations.each{ |e| e.validate if e.respond_to?(:validate) } unless @gateway_ipconfigurations.nil?
78
- @ssl_certificates.each{ |e| e.validate if e.respond_to?(:validate) } unless @ssl_certificates.nil?
79
- @frontend_ipconfigurations.each{ |e| e.validate if e.respond_to?(:validate) } unless @frontend_ipconfigurations.nil?
80
- @frontend_ports.each{ |e| e.validate if e.respond_to?(:validate) } unless @frontend_ports.nil?
81
- @probes.each{ |e| e.validate if e.respond_to?(:validate) } unless @probes.nil?
82
- @backend_address_pools.each{ |e| e.validate if e.respond_to?(:validate) } unless @backend_address_pools.nil?
83
- @backend_http_settings_collection.each{ |e| e.validate if e.respond_to?(:validate) } unless @backend_http_settings_collection.nil?
84
- @http_listeners.each{ |e| e.validate if e.respond_to?(:validate) } unless @http_listeners.nil?
85
- @url_path_maps.each{ |e| e.validate if e.respond_to?(:validate) } unless @url_path_maps.nil?
86
- @request_routing_rules.each{ |e| e.validate if e.respond_to?(:validate) } unless @request_routing_rules.nil?
87
- end
88
-
89
- #
90
- # Serializes given Model object into Ruby Hash.
91
- # @param object Model object to serialize.
92
- # @return [Hash] Serialized object in form of Ruby Hash.
93
- #
94
- def self.serialize_object(object)
95
- object.validate
96
- output_object = {}
97
-
98
- serialized_property = object.sku
99
- unless serialized_property.nil?
100
- serialized_property = ApplicationGatewaySku.serialize_object(serialized_property)
101
- end
102
- output_object['sku'] = serialized_property unless serialized_property.nil?
103
-
104
- serialized_property = object.operational_state
105
- output_object['operationalState'] = serialized_property unless serialized_property.nil?
106
-
107
- serialized_property = object.gateway_ipconfigurations
108
- unless serialized_property.nil?
109
- serializedArray = []
110
- serialized_property.each do |element|
111
- unless element.nil?
112
- element = ApplicationGatewayIPConfiguration.serialize_object(element)
113
- end
114
- serializedArray.push(element)
115
- end
116
- serialized_property = serializedArray
117
- end
118
- output_object['gatewayIPConfigurations'] = serialized_property unless serialized_property.nil?
119
-
120
- serialized_property = object.ssl_certificates
121
- unless serialized_property.nil?
122
- serializedArray = []
123
- serialized_property.each do |element1|
124
- unless element1.nil?
125
- element1 = ApplicationGatewaySslCertificate.serialize_object(element1)
126
- end
127
- serializedArray.push(element1)
128
- end
129
- serialized_property = serializedArray
130
- end
131
- output_object['sslCertificates'] = serialized_property unless serialized_property.nil?
132
-
133
- serialized_property = object.frontend_ipconfigurations
134
- unless serialized_property.nil?
135
- serializedArray = []
136
- serialized_property.each do |element2|
137
- unless element2.nil?
138
- element2 = ApplicationGatewayFrontendIPConfiguration.serialize_object(element2)
139
- end
140
- serializedArray.push(element2)
141
- end
142
- serialized_property = serializedArray
143
- end
144
- output_object['frontendIPConfigurations'] = serialized_property unless serialized_property.nil?
145
-
146
- serialized_property = object.frontend_ports
147
- unless serialized_property.nil?
148
- serializedArray = []
149
- serialized_property.each do |element3|
150
- unless element3.nil?
151
- element3 = ApplicationGatewayFrontendPort.serialize_object(element3)
152
- end
153
- serializedArray.push(element3)
154
- end
155
- serialized_property = serializedArray
156
- end
157
- output_object['frontendPorts'] = serialized_property unless serialized_property.nil?
158
-
159
- serialized_property = object.probes
160
- unless serialized_property.nil?
161
- serializedArray = []
162
- serialized_property.each do |element4|
163
- unless element4.nil?
164
- element4 = ApplicationGatewayProbe.serialize_object(element4)
165
- end
166
- serializedArray.push(element4)
167
- end
168
- serialized_property = serializedArray
169
- end
170
- output_object['probes'] = serialized_property unless serialized_property.nil?
171
-
172
- serialized_property = object.backend_address_pools
173
- unless serialized_property.nil?
174
- serializedArray = []
175
- serialized_property.each do |element5|
176
- unless element5.nil?
177
- element5 = ApplicationGatewayBackendAddressPool.serialize_object(element5)
178
- end
179
- serializedArray.push(element5)
180
- end
181
- serialized_property = serializedArray
182
- end
183
- output_object['backendAddressPools'] = serialized_property unless serialized_property.nil?
184
-
185
- serialized_property = object.backend_http_settings_collection
186
- unless serialized_property.nil?
187
- serializedArray = []
188
- serialized_property.each do |element6|
189
- unless element6.nil?
190
- element6 = ApplicationGatewayBackendHttpSettings.serialize_object(element6)
191
- end
192
- serializedArray.push(element6)
193
- end
194
- serialized_property = serializedArray
195
- end
196
- output_object['backendHttpSettingsCollection'] = serialized_property unless serialized_property.nil?
197
-
198
- serialized_property = object.http_listeners
199
- unless serialized_property.nil?
200
- serializedArray = []
201
- serialized_property.each do |element7|
202
- unless element7.nil?
203
- element7 = ApplicationGatewayHttpListener.serialize_object(element7)
204
- end
205
- serializedArray.push(element7)
206
- end
207
- serialized_property = serializedArray
208
- end
209
- output_object['httpListeners'] = serialized_property unless serialized_property.nil?
210
-
211
- serialized_property = object.url_path_maps
212
- unless serialized_property.nil?
213
- serializedArray = []
214
- serialized_property.each do |element8|
215
- unless element8.nil?
216
- element8 = ApplicationGatewayUrlPathMap.serialize_object(element8)
217
- end
218
- serializedArray.push(element8)
219
- end
220
- serialized_property = serializedArray
221
- end
222
- output_object['urlPathMaps'] = serialized_property unless serialized_property.nil?
223
-
224
- serialized_property = object.request_routing_rules
225
- unless serialized_property.nil?
226
- serializedArray = []
227
- serialized_property.each do |element9|
228
- unless element9.nil?
229
- element9 = ApplicationGatewayRequestRoutingRule.serialize_object(element9)
230
- end
231
- serializedArray.push(element9)
232
- end
233
- serialized_property = serializedArray
234
- end
235
- output_object['requestRoutingRules'] = serialized_property unless serialized_property.nil?
236
-
237
- serialized_property = object.resource_guid
238
- output_object['resourceGuid'] = serialized_property unless serialized_property.nil?
239
-
240
- serialized_property = object.provisioning_state
241
- output_object['provisioningState'] = serialized_property unless serialized_property.nil?
242
-
243
- output_object
244
- end
245
-
246
- #
247
- # Deserializes given Ruby Hash into Model object.
248
- # @param object [Hash] Ruby Hash object to deserialize.
249
- # @return [ApplicationGatewayPropertiesFormat] Deserialized object.
250
- #
251
- def self.deserialize_object(object)
252
- return if object.nil?
253
- output_object = ApplicationGatewayPropertiesFormat.new
254
-
255
- deserialized_property = object['sku']
256
- unless deserialized_property.nil?
257
- deserialized_property = ApplicationGatewaySku.deserialize_object(deserialized_property)
258
- end
259
- output_object.sku = deserialized_property
260
-
261
- deserialized_property = object['operationalState']
262
- if (!deserialized_property.nil? && !deserialized_property.empty?)
263
- enum_is_valid = ApplicationGatewayOperationalState.constants.any? { |e| ApplicationGatewayOperationalState.const_get(e).to_s.downcase == deserialized_property.downcase }
264
- warn 'Enum ApplicationGatewayOperationalState does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
265
- end
266
- output_object.operational_state = deserialized_property
267
-
268
- deserialized_property = object['gatewayIPConfigurations']
269
- unless deserialized_property.nil?
270
- deserialized_array = []
271
- deserialized_property.each do |element10|
272
- unless element10.nil?
273
- element10 = ApplicationGatewayIPConfiguration.deserialize_object(element10)
274
- end
275
- deserialized_array.push(element10)
276
- end
277
- deserialized_property = deserialized_array
278
- end
279
- output_object.gateway_ipconfigurations = deserialized_property
280
-
281
- deserialized_property = object['sslCertificates']
282
- unless deserialized_property.nil?
283
- deserialized_array = []
284
- deserialized_property.each do |element11|
285
- unless element11.nil?
286
- element11 = ApplicationGatewaySslCertificate.deserialize_object(element11)
287
- end
288
- deserialized_array.push(element11)
289
- end
290
- deserialized_property = deserialized_array
291
- end
292
- output_object.ssl_certificates = deserialized_property
293
-
294
- deserialized_property = object['frontendIPConfigurations']
295
- unless deserialized_property.nil?
296
- deserialized_array = []
297
- deserialized_property.each do |element12|
298
- unless element12.nil?
299
- element12 = ApplicationGatewayFrontendIPConfiguration.deserialize_object(element12)
300
- end
301
- deserialized_array.push(element12)
302
- end
303
- deserialized_property = deserialized_array
304
- end
305
- output_object.frontend_ipconfigurations = deserialized_property
306
-
307
- deserialized_property = object['frontendPorts']
308
- unless deserialized_property.nil?
309
- deserialized_array = []
310
- deserialized_property.each do |element13|
311
- unless element13.nil?
312
- element13 = ApplicationGatewayFrontendPort.deserialize_object(element13)
313
- end
314
- deserialized_array.push(element13)
315
- end
316
- deserialized_property = deserialized_array
317
- end
318
- output_object.frontend_ports = deserialized_property
319
-
320
- deserialized_property = object['probes']
321
- unless deserialized_property.nil?
322
- deserialized_array = []
323
- deserialized_property.each do |element14|
324
- unless element14.nil?
325
- element14 = ApplicationGatewayProbe.deserialize_object(element14)
326
- end
327
- deserialized_array.push(element14)
328
- end
329
- deserialized_property = deserialized_array
330
- end
331
- output_object.probes = deserialized_property
332
-
333
- deserialized_property = object['backendAddressPools']
334
- unless deserialized_property.nil?
335
- deserialized_array = []
336
- deserialized_property.each do |element15|
337
- unless element15.nil?
338
- element15 = ApplicationGatewayBackendAddressPool.deserialize_object(element15)
339
- end
340
- deserialized_array.push(element15)
341
- end
342
- deserialized_property = deserialized_array
343
- end
344
- output_object.backend_address_pools = deserialized_property
345
-
346
- deserialized_property = object['backendHttpSettingsCollection']
347
- unless deserialized_property.nil?
348
- deserialized_array = []
349
- deserialized_property.each do |element16|
350
- unless element16.nil?
351
- element16 = ApplicationGatewayBackendHttpSettings.deserialize_object(element16)
352
- end
353
- deserialized_array.push(element16)
354
- end
355
- deserialized_property = deserialized_array
356
- end
357
- output_object.backend_http_settings_collection = deserialized_property
358
-
359
- deserialized_property = object['httpListeners']
360
- unless deserialized_property.nil?
361
- deserialized_array = []
362
- deserialized_property.each do |element17|
363
- unless element17.nil?
364
- element17 = ApplicationGatewayHttpListener.deserialize_object(element17)
365
- end
366
- deserialized_array.push(element17)
367
- end
368
- deserialized_property = deserialized_array
369
- end
370
- output_object.http_listeners = deserialized_property
371
-
372
- deserialized_property = object['urlPathMaps']
373
- unless deserialized_property.nil?
374
- deserialized_array = []
375
- deserialized_property.each do |element18|
376
- unless element18.nil?
377
- element18 = ApplicationGatewayUrlPathMap.deserialize_object(element18)
378
- end
379
- deserialized_array.push(element18)
380
- end
381
- deserialized_property = deserialized_array
382
- end
383
- output_object.url_path_maps = deserialized_property
384
-
385
- deserialized_property = object['requestRoutingRules']
386
- unless deserialized_property.nil?
387
- deserialized_array = []
388
- deserialized_property.each do |element19|
389
- unless element19.nil?
390
- element19 = ApplicationGatewayRequestRoutingRule.deserialize_object(element19)
391
- end
392
- deserialized_array.push(element19)
393
- end
394
- deserialized_property = deserialized_array
395
- end
396
- output_object.request_routing_rules = deserialized_property
397
-
398
- deserialized_property = object['resourceGuid']
399
- output_object.resource_guid = deserialized_property
400
-
401
- deserialized_property = object['provisioningState']
402
- output_object.provisioning_state = deserialized_property
403
-
404
- output_object
405
- end
406
- end
407
- end
408
- end