azure_mgmt_web 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 (385) hide show
  1. checksums.yaml +5 -13
  2. data/azure_mgmt_web.gemspec +4 -5
  3. data/lib/azure_mgmt_web.rb +3 -258
  4. data/lib/generated/azure_mgmt_web.rb +220 -0
  5. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/certificate_orders.rb +116 -90
  6. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/certificates.rb +74 -63
  7. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/classic_mobile_services.rb +10 -8
  8. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/domains.rb +40 -44
  9. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/global.rb +60 -54
  10. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/global_certificate_order.rb +12 -10
  11. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/global_domain_registration.rb +36 -34
  12. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/global_resource_groups.rb +8 -6
  13. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/hosting_environments.rb +310 -206
  14. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/managed_hosting_environments.rb +89 -47
  15. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/access_control_entry_action.rb +0 -0
  16. data/lib/generated/azure_mgmt_web/models/address.rb +94 -0
  17. data/lib/generated/azure_mgmt_web/models/address_response.rb +90 -0
  18. data/lib/generated/azure_mgmt_web/models/api_definition_info.rb +44 -0
  19. data/lib/generated/azure_mgmt_web/models/application_logs_config.rb +70 -0
  20. data/lib/generated/azure_mgmt_web/models/arm_plan.rb +84 -0
  21. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/auto_heal_action_type.rb +0 -0
  22. data/lib/generated/azure_mgmt_web/models/auto_heal_actions.rb +70 -0
  23. data/lib/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +55 -0
  24. data/lib/generated/azure_mgmt_web/models/auto_heal_rules.rb +58 -0
  25. data/lib/generated/azure_mgmt_web/models/auto_heal_triggers.rb +88 -0
  26. data/lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +69 -0
  27. data/lib/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +67 -0
  28. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/azure_resource_type.rb +0 -0
  29. data/lib/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +57 -0
  30. data/lib/generated/azure_mgmt_web/models/backup_item.rb +241 -0
  31. data/lib/generated/azure_mgmt_web/models/backup_item_collection.rb +62 -0
  32. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/backup_item_status.rb +0 -0
  33. data/lib/generated/azure_mgmt_web/models/backup_request.rb +157 -0
  34. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/backup_restore_operation_type.rb +0 -0
  35. data/lib/generated/azure_mgmt_web/models/backup_schedule.rb +102 -0
  36. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/built_in_authentication_provider.rb +0 -0
  37. data/lib/generated/azure_mgmt_web/models/certificate.rb +242 -0
  38. data/lib/generated/azure_mgmt_web/models/certificate_collection.rb +62 -0
  39. data/lib/generated/azure_mgmt_web/models/certificate_details.rb +173 -0
  40. data/lib/generated/azure_mgmt_web/models/certificate_email.rb +103 -0
  41. data/lib/generated/azure_mgmt_web/models/certificate_order.rb +265 -0
  42. data/lib/generated/azure_mgmt_web/models/certificate_order_action.rb +108 -0
  43. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/certificate_order_action_type.rb +0 -0
  44. data/lib/generated/azure_mgmt_web/models/certificate_order_certificate.rb +120 -0
  45. data/lib/generated/azure_mgmt_web/models/certificate_order_certificate_collection.rb +62 -0
  46. data/lib/generated/azure_mgmt_web/models/certificate_order_collection.rb +62 -0
  47. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/certificate_order_status.rb +0 -0
  48. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/certificate_product_type.rb +0 -0
  49. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/channels.rb +0 -0
  50. data/lib/generated/azure_mgmt_web/models/classic_mobile_service.rb +93 -0
  51. data/lib/generated/azure_mgmt_web/models/classic_mobile_service_collection.rb +62 -0
  52. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/clone_ability_result.rb +0 -0
  53. data/lib/generated/azure_mgmt_web/models/cloning_info.rb +156 -0
  54. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/compute_mode_options.rb +0 -0
  55. data/lib/generated/azure_mgmt_web/models/conn_string_info.rb +66 -0
  56. data/lib/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +56 -0
  57. data/lib/generated/azure_mgmt_web/models/connection_string_dictionary.rb +101 -0
  58. data/lib/generated/azure_mgmt_web/models/contact.rb +127 -0
  59. data/lib/generated/azure_mgmt_web/models/cors_settings.rb +54 -0
  60. data/lib/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +62 -0
  61. data/lib/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +47 -0
  62. data/lib/generated/azure_mgmt_web/models/csm_site_recovery_entity.rb +79 -0
  63. data/lib/generated/azure_mgmt_web/models/csm_slot_entity.rb +56 -0
  64. data/lib/generated/azure_mgmt_web/models/csm_usage_quota.rb +85 -0
  65. data/lib/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +62 -0
  66. data/lib/generated/azure_mgmt_web/models/csr.rb +153 -0
  67. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/custom_host_name_dns_record_type.rb +0 -0
  68. data/lib/generated/azure_mgmt_web/models/database_backup_setting.rb +82 -0
  69. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/database_server_type.rb +0 -0
  70. data/lib/generated/azure_mgmt_web/models/deleted_site.rb +460 -0
  71. data/lib/generated/azure_mgmt_web/models/deleted_site_collection.rb +62 -0
  72. data/lib/generated/azure_mgmt_web/models/deployment.rb +183 -0
  73. data/lib/generated/azure_mgmt_web/models/deployment_collection.rb +62 -0
  74. data/lib/generated/azure_mgmt_web/models/domain.rb +282 -0
  75. data/lib/generated/azure_mgmt_web/models/domain_availablility_check_result.rb +67 -0
  76. data/lib/generated/azure_mgmt_web/models/domain_collection.rb +62 -0
  77. data/lib/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +65 -0
  78. data/lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb +74 -0
  79. data/lib/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +55 -0
  80. data/lib/generated/azure_mgmt_web/models/domain_registration_input.rb +292 -0
  81. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/domain_status.rb +0 -0
  82. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/domain_type.rb +0 -0
  83. data/lib/generated/azure_mgmt_web/models/enabled_config.rb +44 -0
  84. data/lib/generated/azure_mgmt_web/models/experiments.rb +53 -0
  85. data/lib/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +46 -0
  86. data/lib/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +70 -0
  87. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/frequency_unit.rb +0 -0
  88. data/lib/generated/azure_mgmt_web/models/geo_region.rb +113 -0
  89. data/lib/generated/azure_mgmt_web/models/geo_region_collection.rb +62 -0
  90. data/lib/generated/azure_mgmt_web/models/handler_mapping.rb +69 -0
  91. data/lib/generated/azure_mgmt_web/models/host_name.rb +111 -0
  92. data/lib/generated/azure_mgmt_web/models/host_name_binding.rb +159 -0
  93. data/lib/generated/azure_mgmt_web/models/host_name_binding_collection.rb +62 -0
  94. data/lib/generated/azure_mgmt_web/models/host_name_ssl_state.rb +87 -0
  95. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/host_name_type.rb +0 -0
  96. data/lib/generated/azure_mgmt_web/models/hosting_environment.rb +483 -0
  97. data/lib/generated/azure_mgmt_web/models/hosting_environment_collection.rb +62 -0
  98. data/lib/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +54 -0
  99. data/lib/generated/azure_mgmt_web/models/hosting_environment_profile.rb +68 -0
  100. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/hosting_environment_status.rb +0 -0
  101. data/lib/generated/azure_mgmt_web/models/http_logs_config.rb +58 -0
  102. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/internal_load_balancing_mode.rb +0 -0
  103. data/lib/generated/azure_mgmt_web/models/ip_security_restriction.rb +55 -0
  104. data/lib/generated/azure_mgmt_web/models/key_value_pair_string_string.rb +56 -0
  105. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/key_vault_secret_status.rb +0 -0
  106. data/lib/generated/azure_mgmt_web/models/localizable_string.rb +54 -0
  107. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/log_level.rb +0 -0
  108. data/lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb +218 -0
  109. data/lib/generated/azure_mgmt_web/models/managed_hosting_environment_collection.rb +62 -0
  110. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/managed_hosting_environment_status.rb +0 -0
  111. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/managed_pipeline_mode.rb +0 -0
  112. data/lib/generated/azure_mgmt_web/models/metric_availabilily.rb +55 -0
  113. data/lib/generated/azure_mgmt_web/models/metric_definition.rb +142 -0
  114. data/lib/generated/azure_mgmt_web/models/metric_definition_collection.rb +62 -0
  115. data/lib/generated/azure_mgmt_web/models/name_identifier.rb +44 -0
  116. data/lib/generated/azure_mgmt_web/models/name_identifier_collection.rb +62 -0
  117. data/lib/generated/azure_mgmt_web/models/name_value_pair.rb +54 -0
  118. data/lib/generated/azure_mgmt_web/models/network_access_control_entry.rb +76 -0
  119. data/lib/generated/azure_mgmt_web/models/network_features.rb +125 -0
  120. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/notification_level.rb +0 -0
  121. data/lib/generated/azure_mgmt_web/models/premier_add_on_request.rb +94 -0
  122. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/provisioning_state.rb +0 -0
  123. data/lib/generated/azure_mgmt_web/models/ramp_up_rule.rb +137 -0
  124. data/lib/generated/azure_mgmt_web/models/recommendation.rb +235 -0
  125. data/lib/generated/azure_mgmt_web/models/recommendation_rule.rb +152 -0
  126. data/lib/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +104 -0
  127. data/lib/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +153 -0
  128. data/lib/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +93 -0
  129. data/lib/generated/azure_mgmt_web/models/requests_based_trigger.rb +54 -0
  130. data/lib/generated/azure_mgmt_web/models/resource_metric.rb +131 -0
  131. data/lib/generated/azure_mgmt_web/models/resource_metric_collection.rb +62 -0
  132. data/lib/generated/azure_mgmt_web/models/resource_metric_name.rb +54 -0
  133. data/lib/generated/azure_mgmt_web/models/resource_metric_value.rb +94 -0
  134. data/lib/generated/azure_mgmt_web/models/resource_name_availability.rb +68 -0
  135. data/lib/generated/azure_mgmt_web/models/resource_name_availability_request.rb +64 -0
  136. data/lib/generated/azure_mgmt_web/models/restore_request.rb +192 -0
  137. data/lib/generated/azure_mgmt_web/models/restore_response.rb +94 -0
  138. data/lib/generated/azure_mgmt_web/models/routing_rule.rb +46 -0
  139. data/lib/generated/azure_mgmt_web/models/server_farm_collection.rb +62 -0
  140. data/lib/generated/azure_mgmt_web/models/server_farm_with_rich_sku.rb +217 -0
  141. data/lib/generated/azure_mgmt_web/models/site.rb +450 -0
  142. data/lib/generated/azure_mgmt_web/models/site_auth_settings.rb +433 -0
  143. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/site_availability_state.rb +0 -0
  144. data/lib/generated/azure_mgmt_web/models/site_cloneability.rb +106 -0
  145. data/lib/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +54 -0
  146. data/lib/generated/azure_mgmt_web/models/site_collection.rb +93 -0
  147. data/lib/generated/azure_mgmt_web/models/site_config.rb +549 -0
  148. data/lib/generated/azure_mgmt_web/models/site_instance.rb +93 -0
  149. data/lib/generated/azure_mgmt_web/models/site_instance_collection.rb +62 -0
  150. data/lib/generated/azure_mgmt_web/models/site_limits.rb +64 -0
  151. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/site_load_balancing.rb +0 -0
  152. data/lib/generated/azure_mgmt_web/models/site_logs_config.rb +127 -0
  153. data/lib/generated/azure_mgmt_web/models/site_properties.rb +88 -0
  154. data/lib/generated/azure_mgmt_web/models/site_source_control.rb +133 -0
  155. data/lib/generated/azure_mgmt_web/models/sku_capacity.rb +77 -0
  156. data/lib/generated/azure_mgmt_web/models/sku_description.rb +84 -0
  157. data/lib/generated/azure_mgmt_web/models/sku_info.rb +66 -0
  158. data/lib/generated/azure_mgmt_web/models/sku_info_collection.rb +62 -0
  159. data/lib/generated/azure_mgmt_web/models/slot_config_names.rb +71 -0
  160. data/lib/generated/azure_mgmt_web/models/slot_config_names_resource.rb +117 -0
  161. data/lib/generated/azure_mgmt_web/models/slot_difference.rb +157 -0
  162. data/lib/generated/azure_mgmt_web/models/slot_difference_collection.rb +62 -0
  163. data/lib/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +64 -0
  164. data/lib/generated/azure_mgmt_web/models/source_control.rb +133 -0
  165. data/lib/generated/azure_mgmt_web/models/source_control_collection.rb +62 -0
  166. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/ssl_state.rb +0 -0
  167. data/lib/generated/azure_mgmt_web/models/stamp_capacity.rb +144 -0
  168. data/lib/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +62 -0
  169. data/lib/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +84 -0
  170. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/status_options.rb +0 -0
  171. data/lib/generated/azure_mgmt_web/models/string_dictionary.rb +100 -0
  172. data/lib/generated/azure_mgmt_web/models/tld_legal_agreement.rb +74 -0
  173. data/lib/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +62 -0
  174. data/lib/generated/azure_mgmt_web/models/top_level_domain.rb +104 -0
  175. data/lib/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +45 -0
  176. data/lib/generated/azure_mgmt_web/models/top_level_domain_collection.rb +62 -0
  177. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/unauthenticated_client_action.rb +0 -0
  178. data/lib/generated/azure_mgmt_web/models/usage.rb +175 -0
  179. data/lib/generated/azure_mgmt_web/models/usage_collection.rb +62 -0
  180. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/usage_state.rb +0 -0
  181. data/lib/generated/azure_mgmt_web/models/user.rb +124 -0
  182. data/lib/generated/azure_mgmt_web/models/virtual_application.rb +82 -0
  183. data/lib/generated/azure_mgmt_web/models/virtual_directory.rb +54 -0
  184. data/lib/generated/azure_mgmt_web/models/virtual_ipmapping.rb +74 -0
  185. data/lib/generated/azure_mgmt_web/models/virtual_network_profile.rb +74 -0
  186. data/lib/generated/azure_mgmt_web/models/vnet_gateway.rb +104 -0
  187. data/lib/generated/azure_mgmt_web/models/vnet_info.rb +156 -0
  188. data/lib/generated/azure_mgmt_web/models/vnet_route.rb +137 -0
  189. data/lib/generated/azure_mgmt_web/models/worker_pool.rb +154 -0
  190. data/lib/generated/azure_mgmt_web/models/worker_pool_collection.rb +62 -0
  191. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/models/worker_size_options.rb +0 -0
  192. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/module_definition.rb +0 -0
  193. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/provider.rb +32 -32
  194. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/recommendations.rb +58 -37
  195. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/server_farms.rb +193 -124
  196. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/sites.rb +1229 -912
  197. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/top_level_domains.rb +18 -18
  198. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/usage_operations.rb +2 -0
  199. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/version.rb +1 -1
  200. data/lib/{azure_mgmt_web → generated/azure_mgmt_web}/web_site_management_client.rb +18 -18
  201. metadata +218 -278
  202. data/lib/azure_mgmt_web/models/address.rb +0 -101
  203. data/lib/azure_mgmt_web/models/address_response.rb +0 -105
  204. data/lib/azure_mgmt_web/models/api_definition_info.rb +0 -56
  205. data/lib/azure_mgmt_web/models/application_logs_config.rb +0 -97
  206. data/lib/azure_mgmt_web/models/arm_plan.rb +0 -92
  207. data/lib/azure_mgmt_web/models/auto_heal_actions.rb +0 -89
  208. data/lib/azure_mgmt_web/models/auto_heal_custom_action.rb +0 -66
  209. data/lib/azure_mgmt_web/models/auto_heal_rules.rb +0 -80
  210. data/lib/azure_mgmt_web/models/auto_heal_triggers.rb +0 -122
  211. data/lib/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +0 -82
  212. data/lib/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +0 -78
  213. data/lib/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +0 -70
  214. data/lib/azure_mgmt_web/models/backup_item.rb +0 -98
  215. data/lib/azure_mgmt_web/models/backup_item_collection.rb +0 -85
  216. data/lib/azure_mgmt_web/models/backup_item_properties.rb +0 -215
  217. data/lib/azure_mgmt_web/models/backup_request.rb +0 -98
  218. data/lib/azure_mgmt_web/models/backup_request_properties.rb +0 -136
  219. data/lib/azure_mgmt_web/models/backup_schedule.rb +0 -118
  220. data/lib/azure_mgmt_web/models/certificate.rb +0 -98
  221. data/lib/azure_mgmt_web/models/certificate_collection.rb +0 -85
  222. data/lib/azure_mgmt_web/models/certificate_details.rb +0 -98
  223. data/lib/azure_mgmt_web/models/certificate_details_properties.rb +0 -133
  224. data/lib/azure_mgmt_web/models/certificate_email.rb +0 -98
  225. data/lib/azure_mgmt_web/models/certificate_email_properties.rb +0 -67
  226. data/lib/azure_mgmt_web/models/certificate_order.rb +0 -98
  227. data/lib/azure_mgmt_web/models/certificate_order_action.rb +0 -98
  228. data/lib/azure_mgmt_web/models/certificate_order_action_properties.rb +0 -74
  229. data/lib/azure_mgmt_web/models/certificate_order_certificate.rb +0 -99
  230. data/lib/azure_mgmt_web/models/certificate_order_certificate_collection.rb +0 -85
  231. data/lib/azure_mgmt_web/models/certificate_order_certificate_properties.rb +0 -82
  232. data/lib/azure_mgmt_web/models/certificate_order_collection.rb +0 -85
  233. data/lib/azure_mgmt_web/models/certificate_order_properties.rb +0 -254
  234. data/lib/azure_mgmt_web/models/certificate_properties.rb +0 -194
  235. data/lib/azure_mgmt_web/models/classic_mobile_service.rb +0 -98
  236. data/lib/azure_mgmt_web/models/classic_mobile_service_collection.rb +0 -85
  237. data/lib/azure_mgmt_web/models/classic_mobile_service_properties.rb +0 -56
  238. data/lib/azure_mgmt_web/models/cloning_info.rb +0 -152
  239. data/lib/azure_mgmt_web/models/conn_string_info.rb +0 -79
  240. data/lib/azure_mgmt_web/models/conn_string_value_type_pair.rb +0 -70
  241. data/lib/azure_mgmt_web/models/connection_string_dictionary.rb +0 -108
  242. data/lib/azure_mgmt_web/models/contact.rb +0 -136
  243. data/lib/azure_mgmt_web/models/cors_settings.rb +0 -59
  244. data/lib/azure_mgmt_web/models/csm_move_resource_envelope.rb +0 -66
  245. data/lib/azure_mgmt_web/models/csm_publishing_profile_options.rb +0 -59
  246. data/lib/azure_mgmt_web/models/csm_site_recovery_entity.rb +0 -90
  247. data/lib/azure_mgmt_web/models/csm_slot_entity.rb +0 -67
  248. data/lib/azure_mgmt_web/models/csm_usage_quota.rb +0 -102
  249. data/lib/azure_mgmt_web/models/csm_usage_quota_collection.rb +0 -85
  250. data/lib/azure_mgmt_web/models/csr.rb +0 -98
  251. data/lib/azure_mgmt_web/models/csr_properties.rb +0 -110
  252. data/lib/azure_mgmt_web/models/database_backup_setting.rb +0 -91
  253. data/lib/azure_mgmt_web/models/deleted_site.rb +0 -98
  254. data/lib/azure_mgmt_web/models/deleted_site_collection.rb +0 -85
  255. data/lib/azure_mgmt_web/models/deleted_site_properties.rb +0 -404
  256. data/lib/azure_mgmt_web/models/deployment.rb +0 -98
  257. data/lib/azure_mgmt_web/models/deployment_collection.rb +0 -85
  258. data/lib/azure_mgmt_web/models/deployment_properties.rb +0 -142
  259. data/lib/azure_mgmt_web/models/domain.rb +0 -98
  260. data/lib/azure_mgmt_web/models/domain_availablility_check_result.rb +0 -79
  261. data/lib/azure_mgmt_web/models/domain_collection.rb +0 -85
  262. data/lib/azure_mgmt_web/models/domain_control_center_sso_request.rb +0 -75
  263. data/lib/azure_mgmt_web/models/domain_properties.rb +0 -272
  264. data/lib/azure_mgmt_web/models/domain_purchase_consent.rb +0 -79
  265. data/lib/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +0 -67
  266. data/lib/azure_mgmt_web/models/domain_registration_input.rb +0 -98
  267. data/lib/azure_mgmt_web/models/domain_registration_input_properties.rb +0 -281
  268. data/lib/azure_mgmt_web/models/enabled_config.rb +0 -56
  269. data/lib/azure_mgmt_web/models/experiments.rb +0 -77
  270. data/lib/azure_mgmt_web/models/file_system_application_logs_config.rb +0 -60
  271. data/lib/azure_mgmt_web/models/file_system_http_logs_config.rb +0 -82
  272. data/lib/azure_mgmt_web/models/geo_region.rb +0 -98
  273. data/lib/azure_mgmt_web/models/geo_region_collection.rb +0 -85
  274. data/lib/azure_mgmt_web/models/geo_region_properties.rb +0 -74
  275. data/lib/azure_mgmt_web/models/handler_mapping.rb +0 -79
  276. data/lib/azure_mgmt_web/models/host_name.rb +0 -120
  277. data/lib/azure_mgmt_web/models/host_name_binding.rb +0 -98
  278. data/lib/azure_mgmt_web/models/host_name_binding_collection.rb +0 -85
  279. data/lib/azure_mgmt_web/models/host_name_binding_properties.rb +0 -124
  280. data/lib/azure_mgmt_web/models/host_name_ssl_state.rb +0 -98
  281. data/lib/azure_mgmt_web/models/hosting_environment.rb +0 -98
  282. data/lib/azure_mgmt_web/models/hosting_environment_collection.rb +0 -85
  283. data/lib/azure_mgmt_web/models/hosting_environment_diagnostics.rb +0 -65
  284. data/lib/azure_mgmt_web/models/hosting_environment_profile.rb +0 -78
  285. data/lib/azure_mgmt_web/models/hosting_environment_properties.rb +0 -498
  286. data/lib/azure_mgmt_web/models/http_logs_config.rb +0 -80
  287. data/lib/azure_mgmt_web/models/ip_security_restriction.rb +0 -66
  288. data/lib/azure_mgmt_web/models/key_value_pair_string_string.rb +0 -65
  289. data/lib/azure_mgmt_web/models/localizable_string.rb +0 -65
  290. data/lib/azure_mgmt_web/models/managed_hosting_environment.rb +0 -98
  291. data/lib/azure_mgmt_web/models/managed_hosting_environment_collection.rb +0 -85
  292. data/lib/azure_mgmt_web/models/managed_hosting_environment_properties.rb +0 -179
  293. data/lib/azure_mgmt_web/models/metric_availabilily.rb +0 -66
  294. data/lib/azure_mgmt_web/models/metric_definition.rb +0 -98
  295. data/lib/azure_mgmt_web/models/metric_definition_collection.rb +0 -85
  296. data/lib/azure_mgmt_web/models/metric_definition_properties.rb +0 -113
  297. data/lib/azure_mgmt_web/models/name_identifier.rb +0 -56
  298. data/lib/azure_mgmt_web/models/name_identifier_collection.rb +0 -85
  299. data/lib/azure_mgmt_web/models/name_value_pair.rb +0 -65
  300. data/lib/azure_mgmt_web/models/network_access_control_entry.rb +0 -88
  301. data/lib/azure_mgmt_web/models/network_features.rb +0 -100
  302. data/lib/azure_mgmt_web/models/network_features_properties.rb +0 -102
  303. data/lib/azure_mgmt_web/models/premier_add_on_request.rb +0 -107
  304. data/lib/azure_mgmt_web/models/ramp_up_rule.rb +0 -147
  305. data/lib/azure_mgmt_web/models/recommendation.rb +0 -245
  306. data/lib/azure_mgmt_web/models/recommendation_rule.rb +0 -157
  307. data/lib/azure_mgmt_web/models/reissue_certificate_order_request.rb +0 -98
  308. data/lib/azure_mgmt_web/models/reissue_certificate_order_request_properties.rb +0 -68
  309. data/lib/azure_mgmt_web/models/relay_service_connection_entity.rb +0 -98
  310. data/lib/azure_mgmt_web/models/relay_service_connection_entity_properties.rb +0 -111
  311. data/lib/azure_mgmt_web/models/renew_certificate_order_request.rb +0 -98
  312. data/lib/azure_mgmt_web/models/renew_certificate_order_request_properties.rb +0 -57
  313. data/lib/azure_mgmt_web/models/requests_based_trigger.rb +0 -66
  314. data/lib/azure_mgmt_web/models/resource_metric.rb +0 -171
  315. data/lib/azure_mgmt_web/models/resource_metric_collection.rb +0 -85
  316. data/lib/azure_mgmt_web/models/resource_metric_name.rb +0 -65
  317. data/lib/azure_mgmt_web/models/resource_metric_value.rb +0 -106
  318. data/lib/azure_mgmt_web/models/resource_name_availability.rb +0 -78
  319. data/lib/azure_mgmt_web/models/resource_name_availability_request.rb +0 -74
  320. data/lib/azure_mgmt_web/models/restore_request.rb +0 -98
  321. data/lib/azure_mgmt_web/models/restore_request_properties.rb +0 -162
  322. data/lib/azure_mgmt_web/models/restore_response.rb +0 -98
  323. data/lib/azure_mgmt_web/models/restore_response_properties.rb +0 -57
  324. data/lib/azure_mgmt_web/models/routing_rule.rb +0 -58
  325. data/lib/azure_mgmt_web/models/server_farm_collection.rb +0 -85
  326. data/lib/azure_mgmt_web/models/server_farm_with_rich_sku.rb +0 -114
  327. data/lib/azure_mgmt_web/models/server_farm_with_rich_sku_properties.rb +0 -164
  328. data/lib/azure_mgmt_web/models/site.rb +0 -98
  329. data/lib/azure_mgmt_web/models/site_auth_settings.rb +0 -391
  330. data/lib/azure_mgmt_web/models/site_cloneability.rb +0 -157
  331. data/lib/azure_mgmt_web/models/site_cloneability_criterion.rb +0 -65
  332. data/lib/azure_mgmt_web/models/site_collection.rb +0 -85
  333. data/lib/azure_mgmt_web/models/site_config.rb +0 -98
  334. data/lib/azure_mgmt_web/models/site_config_properties.rb +0 -584
  335. data/lib/azure_mgmt_web/models/site_instance.rb +0 -98
  336. data/lib/azure_mgmt_web/models/site_instance_collection.rb +0 -85
  337. data/lib/azure_mgmt_web/models/site_instance_properties.rb +0 -56
  338. data/lib/azure_mgmt_web/models/site_limits.rb +0 -77
  339. data/lib/azure_mgmt_web/models/site_logs_config.rb +0 -98
  340. data/lib/azure_mgmt_web/models/site_logs_config_properties.rb +0 -110
  341. data/lib/azure_mgmt_web/models/site_properties.rb +0 -393
  342. data/lib/azure_mgmt_web/models/site_source_control.rb +0 -98
  343. data/lib/azure_mgmt_web/models/site_source_control_properties.rb +0 -92
  344. data/lib/azure_mgmt_web/models/sku_capacity.rb +0 -89
  345. data/lib/azure_mgmt_web/models/sku_description.rb +0 -93
  346. data/lib/azure_mgmt_web/models/sku_info.rb +0 -87
  347. data/lib/azure_mgmt_web/models/sku_info_collection.rb +0 -85
  348. data/lib/azure_mgmt_web/models/slot_config_names.rb +0 -69
  349. data/lib/azure_mgmt_web/models/slot_config_names_resource.rb +0 -98
  350. data/lib/azure_mgmt_web/models/slot_config_names_resource_properties.rb +0 -66
  351. data/lib/azure_mgmt_web/models/slot_difference.rb +0 -99
  352. data/lib/azure_mgmt_web/models/slot_difference_collection.rb +0 -85
  353. data/lib/azure_mgmt_web/models/slot_difference_properties.rb +0 -113
  354. data/lib/azure_mgmt_web/models/slow_requests_based_trigger.rb +0 -75
  355. data/lib/azure_mgmt_web/models/source_control.rb +0 -98
  356. data/lib/azure_mgmt_web/models/source_control_collection.rb +0 -85
  357. data/lib/azure_mgmt_web/models/source_control_properties.rb +0 -94
  358. data/lib/azure_mgmt_web/models/stamp_capacity.rb +0 -155
  359. data/lib/azure_mgmt_web/models/stamp_capacity_collection.rb +0 -85
  360. data/lib/azure_mgmt_web/models/status_codes_based_trigger.rb +0 -96
  361. data/lib/azure_mgmt_web/models/string_dictionary.rb +0 -92
  362. data/lib/azure_mgmt_web/models/tld_legal_agreement.rb +0 -83
  363. data/lib/azure_mgmt_web/models/tld_legal_agreement_collection.rb +0 -85
  364. data/lib/azure_mgmt_web/models/top_level_domain.rb +0 -98
  365. data/lib/azure_mgmt_web/models/top_level_domain_agreement_option.rb +0 -57
  366. data/lib/azure_mgmt_web/models/top_level_domain_collection.rb +0 -85
  367. data/lib/azure_mgmt_web/models/top_level_domain_properties.rb +0 -66
  368. data/lib/azure_mgmt_web/models/usage.rb +0 -98
  369. data/lib/azure_mgmt_web/models/usage_collection.rb +0 -85
  370. data/lib/azure_mgmt_web/models/usage_properties.rb +0 -136
  371. data/lib/azure_mgmt_web/models/user.rb +0 -98
  372. data/lib/azure_mgmt_web/models/user_properties.rb +0 -84
  373. data/lib/azure_mgmt_web/models/virtual_application.rb +0 -103
  374. data/lib/azure_mgmt_web/models/virtual_directory.rb +0 -65
  375. data/lib/azure_mgmt_web/models/virtual_ipmapping.rb +0 -85
  376. data/lib/azure_mgmt_web/models/virtual_network_profile.rb +0 -83
  377. data/lib/azure_mgmt_web/models/vnet_gateway.rb +0 -99
  378. data/lib/azure_mgmt_web/models/vnet_gateway_properties.rb +0 -65
  379. data/lib/azure_mgmt_web/models/vnet_info.rb +0 -99
  380. data/lib/azure_mgmt_web/models/vnet_info_properties.rb +0 -125
  381. data/lib/azure_mgmt_web/models/vnet_route.rb +0 -98
  382. data/lib/azure_mgmt_web/models/vnet_route_properties.rb +0 -97
  383. data/lib/azure_mgmt_web/models/worker_pool.rb +0 -114
  384. data/lib/azure_mgmt_web/models/worker_pool_collection.rb +0 -85
  385. data/lib/azure_mgmt_web/models/worker_pool_properties.rb +0 -100
@@ -73,6 +73,8 @@ module Azure::ARM::Web
73
73
  fail ArgumentError, 'name is nil' if name.nil?
74
74
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
75
75
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
76
+
77
+
76
78
  request_headers = {}
77
79
 
78
80
  # Set Headers
@@ -108,10 +110,8 @@ module Azure::ARM::Web
108
110
  if status_code == 200
109
111
  begin
110
112
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
111
- unless parsed_response.nil?
112
- parsed_response = ManagedHostingEnvironment.deserialize_object(parsed_response)
113
- end
114
- result.body = parsed_response
113
+ result_mapper = ManagedHostingEnvironment.mapper()
114
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
115
115
  rescue Exception => e
116
116
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
117
117
  end
@@ -130,24 +130,36 @@ module Azure::ARM::Web
130
130
  # @param name [String] Name of managed hosting environment
131
131
  # @param managed_hosting_environment_envelope [HostingEnvironment] Properties
132
132
  # of managed hosting environment
133
- # @param @client.subscription_id [String] Subscription Id
134
- # @param @client.api_version [String] API Version
135
- # @param @client.accept_language [String] Gets or sets the preferred language
136
- # for the response.
133
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
134
+ # will be added to the HTTP request.
135
+ #
136
+ # @return [HostingEnvironment] operation results.
137
+ #
138
+ def create_or_update_managed_hosting_environment(resource_group_name, name, managed_hosting_environment_envelope, custom_headers = nil)
139
+ response = create_or_update_managed_hosting_environment_async(resource_group_name, name, managed_hosting_environment_envelope, custom_headers).value!
140
+ response.body unless response.nil?
141
+ end
142
+
143
+ #
144
+ # @param resource_group_name [String] Name of resource group
145
+ # @param name [String] Name of managed hosting environment
146
+ # @param managed_hosting_environment_envelope [HostingEnvironment] Properties
147
+ # of managed hosting environment
148
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
149
+ # will be added to the HTTP request.
137
150
  #
138
151
  # @return [Concurrent::Promise] promise which provides async access to http
139
152
  # response.
140
153
  #
141
- def create_or_update_managed_hosting_environment(resource_group_name, name, managed_hosting_environment_envelope, custom_headers = nil)
154
+ def create_or_update_managed_hosting_environment_async(resource_group_name, name, managed_hosting_environment_envelope, custom_headers = nil)
142
155
  # Send request
143
156
  promise = begin_create_or_update_managed_hosting_environment_async(resource_group_name, name, managed_hosting_environment_envelope, custom_headers)
144
157
 
145
158
  promise = promise.then do |response|
146
159
  # Defining deserialization method.
147
160
  deserialize_method = lambda do |parsed_response|
148
- unless parsed_response.nil?
149
- parsed_response = HostingEnvironment.deserialize_object(parsed_response)
150
- end
161
+ result_mapper = HostingEnvironment.mapper()
162
+ parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
151
163
  end
152
164
 
153
165
  # Waiting for response.
@@ -206,21 +218,23 @@ module Azure::ARM::Web
206
218
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
207
219
  fail ArgumentError, 'name is nil' if name.nil?
208
220
  fail ArgumentError, 'managed_hosting_environment_envelope is nil' if managed_hosting_environment_envelope.nil?
209
- managed_hosting_environment_envelope.validate unless managed_hosting_environment_envelope.nil?
210
221
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
211
222
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
223
+
224
+
212
225
  request_headers = {}
213
226
 
214
227
  # Set Headers
215
228
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
216
229
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
217
230
 
218
- # Serialize Request
219
231
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
220
- unless managed_hosting_environment_envelope.nil?
221
- managed_hosting_environment_envelope = HostingEnvironment.serialize_object(managed_hosting_environment_envelope)
222
- end
223
- request_content = managed_hosting_environment_envelope != nil ? JSON.generate(managed_hosting_environment_envelope, quirks_mode: true) : nil
232
+
233
+ # Serialize Request
234
+ request_mapper = HostingEnvironment.mapper()
235
+ request_content = @client.serialize(request_mapper, managed_hosting_environment_envelope, 'managed_hosting_environment_envelope')
236
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
237
+
224
238
  path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/managedHostingEnvironments/{name}'
225
239
  options = {
226
240
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
@@ -252,10 +266,8 @@ module Azure::ARM::Web
252
266
  if status_code == 202
253
267
  begin
254
268
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
255
- unless parsed_response.nil?
256
- parsed_response = HostingEnvironment.deserialize_object(parsed_response)
257
- end
258
- result.body = parsed_response
269
+ result_mapper = HostingEnvironment.mapper()
270
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
259
271
  rescue Exception => e
260
272
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
261
273
  end
@@ -274,20 +286,46 @@ module Azure::ARM::Web
274
286
  # @param name [String] Name of managed hosting environment
275
287
  # @param force_delete [Boolean] Delete even if the managed hosting environment
276
288
  # contains resources
289
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
290
+ # will be added to the HTTP request.
291
+ #
292
+ # @return [Object] operation results.
293
+ #
294
+ def delete_managed_hosting_environment(resource_group_name, name, force_delete = nil, custom_headers = nil)
295
+ response = delete_managed_hosting_environment_async(resource_group_name, name, force_delete, custom_headers).value!
296
+ response.body unless response.nil?
297
+ end
298
+
299
+ #
300
+ # @param resource_group_name [String] Name of resource group
301
+ # @param name [String] Name of managed hosting environment
302
+ # @param force_delete [Boolean] Delete even if the managed hosting environment
303
+ # contains resources
304
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
305
+ # will be added to the HTTP request.
306
+ #
277
307
  # @return [Concurrent::Promise] promise which provides async access to http
278
308
  # response.
279
309
  #
280
- def delete_managed_hosting_environment(resource_group_name, name, force_delete = nil, custom_headers = nil)
310
+ def delete_managed_hosting_environment_async(resource_group_name, name, force_delete = nil, custom_headers = nil)
281
311
  # Send request
282
312
  promise = begin_delete_managed_hosting_environment_async(resource_group_name, name, force_delete, custom_headers)
283
313
 
284
314
  promise = promise.then do |response|
285
315
  # Defining deserialization method.
286
316
  deserialize_method = lambda do |parsed_response|
317
+ result_mapper = {
318
+ required: false,
319
+ serialized_name: 'parsed_response',
320
+ type: {
321
+ name: 'Object'
322
+ }
323
+ }
324
+ parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
287
325
  end
288
326
 
289
- # Waiting for response.
290
- @client.get_long_running_operation_result(response, deserialize_method)
327
+ # Waiting for response.
328
+ @client.get_long_running_operation_result(response, deserialize_method)
291
329
  end
292
330
 
293
331
  promise
@@ -343,6 +381,8 @@ module Azure::ARM::Web
343
381
  fail ArgumentError, 'name is nil' if name.nil?
344
382
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
345
383
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
384
+
385
+
346
386
  request_headers = {}
347
387
 
348
388
  # Set Headers
@@ -421,6 +461,8 @@ module Azure::ARM::Web
421
461
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
422
462
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
423
463
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
464
+
465
+
424
466
  request_headers = {}
425
467
 
426
468
  # Set Headers
@@ -456,10 +498,8 @@ module Azure::ARM::Web
456
498
  if status_code == 200
457
499
  begin
458
500
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
459
- unless parsed_response.nil?
460
- parsed_response = HostingEnvironmentCollection.deserialize_object(parsed_response)
461
- end
462
- result.body = parsed_response
501
+ result_mapper = HostingEnvironmentCollection.mapper()
502
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
463
503
  rescue Exception => e
464
504
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
465
505
  end
@@ -515,6 +555,8 @@ module Azure::ARM::Web
515
555
  fail ArgumentError, 'name is nil' if name.nil?
516
556
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
517
557
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
558
+
559
+
518
560
  request_headers = {}
519
561
 
520
562
  # Set Headers
@@ -550,10 +592,8 @@ module Azure::ARM::Web
550
592
  if status_code == 200
551
593
  begin
552
594
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
553
- unless parsed_response.nil?
554
- parsed_response = AddressResponse.deserialize_object(parsed_response)
555
- end
556
- result.body = parsed_response
595
+ result_mapper = AddressResponse.mapper()
596
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
557
597
  rescue Exception => e
558
598
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
559
599
  end
@@ -613,6 +653,8 @@ module Azure::ARM::Web
613
653
  fail ArgumentError, 'operation_id is nil' if operation_id.nil?
614
654
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
615
655
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
656
+
657
+
616
658
  request_headers = {}
617
659
 
618
660
  # Set Headers
@@ -664,8 +706,8 @@ module Azure::ARM::Web
664
706
  # @return [SiteCollection] operation results.
665
707
  #
666
708
  def get_managed_hosting_environment_sites(resource_group_name, name, properties_to_include = nil, custom_headers = nil)
667
- response = get_managed_hosting_environment_sites_async(resource_group_name, name, properties_to_include, custom_headers).value!
668
- response.body unless response.nil?
709
+ first_page = get_managed_hosting_environment_sites_as_lazy(resource_group_name, name, properties_to_include, custom_headers)
710
+ first_page.get_all_items
669
711
  end
670
712
 
671
713
  #
@@ -701,6 +743,8 @@ module Azure::ARM::Web
701
743
  fail ArgumentError, 'name is nil' if name.nil?
702
744
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
703
745
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
746
+
747
+
704
748
  request_headers = {}
705
749
 
706
750
  # Set Headers
@@ -736,10 +780,8 @@ module Azure::ARM::Web
736
780
  if status_code == 200
737
781
  begin
738
782
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
739
- unless parsed_response.nil?
740
- parsed_response = SiteCollection.deserialize_object(parsed_response)
741
- end
742
- result.body = parsed_response
783
+ result_mapper = SiteCollection.mapper()
784
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
743
785
  rescue Exception => e
744
786
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
745
787
  end
@@ -795,6 +837,8 @@ module Azure::ARM::Web
795
837
  fail ArgumentError, 'name is nil' if name.nil?
796
838
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
797
839
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
840
+
841
+
798
842
  request_headers = {}
799
843
 
800
844
  # Set Headers
@@ -830,10 +874,8 @@ module Azure::ARM::Web
830
874
  if status_code == 200
831
875
  begin
832
876
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
833
- unless parsed_response.nil?
834
- parsed_response = ServerFarmCollection.deserialize_object(parsed_response)
835
- end
836
- result.body = parsed_response
877
+ result_mapper = ServerFarmCollection.mapper()
878
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
837
879
  rescue Exception => e
838
880
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
839
881
  end
@@ -889,6 +931,8 @@ module Azure::ARM::Web
889
931
  fail ArgumentError, 'name is nil' if name.nil?
890
932
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
891
933
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
934
+
935
+
892
936
  request_headers = {}
893
937
 
894
938
  # Set Headers
@@ -924,10 +968,8 @@ module Azure::ARM::Web
924
968
  if status_code == 200
925
969
  begin
926
970
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
927
- unless parsed_response.nil?
928
- parsed_response = ServerFarmCollection.deserialize_object(parsed_response)
929
- end
930
- result.body = parsed_response
971
+ result_mapper = ServerFarmCollection.mapper()
972
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
931
973
  rescue Exception => e
932
974
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
933
975
  end
@@ -0,0 +1,94 @@
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::Web
7
+ module Models
8
+ #
9
+ # Address information for domain registration
10
+ #
11
+ class Address
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Address 1
16
+ attr_accessor :address1
17
+
18
+ # @return [String] Address 2
19
+ attr_accessor :address2
20
+
21
+ # @return [String] City
22
+ attr_accessor :city
23
+
24
+ # @return [String] Country
25
+ attr_accessor :country
26
+
27
+ # @return [String] Postal code
28
+ attr_accessor :postal_code
29
+
30
+ # @return [String] State
31
+ attr_accessor :state
32
+
33
+
34
+ #
35
+ # Mapper for Address class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ required: false,
41
+ serialized_name: 'Address',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Address',
45
+ model_properties: {
46
+ address1: {
47
+ required: false,
48
+ serialized_name: 'address1',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ address2: {
54
+ required: false,
55
+ serialized_name: 'address2',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ city: {
61
+ required: false,
62
+ serialized_name: 'city',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ country: {
68
+ required: false,
69
+ serialized_name: 'country',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ postal_code: {
75
+ required: false,
76
+ serialized_name: 'postalCode',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ state: {
82
+ required: false,
83
+ serialized_name: 'state',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,90 @@
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::Web
7
+ module Models
8
+ #
9
+ # Describes main public ip address and any extra vips
10
+ #
11
+ class AddressResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Main public vip
16
+ attr_accessor :service_ip_address
17
+
18
+ # @return [String] VNET internal ip address of the hostingEnvironment
19
+ # (App Service Environment) if it is in internal load-balancing mode
20
+ attr_accessor :internal_ip_address
21
+
22
+ # @return [Array<String>] IP addresses appearing on outbound connections
23
+ attr_accessor :outbound_ip_addresses
24
+
25
+ # @return [Array<VirtualIPMapping>] Additional vips
26
+ attr_accessor :vip_mappings
27
+
28
+
29
+ #
30
+ # Mapper for AddressResponse class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ required: false,
36
+ serialized_name: 'AddressResponse',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'AddressResponse',
40
+ model_properties: {
41
+ service_ip_address: {
42
+ required: false,
43
+ serialized_name: 'serviceIpAddress',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ internal_ip_address: {
49
+ required: false,
50
+ serialized_name: 'internalIpAddress',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ outbound_ip_addresses: {
56
+ required: false,
57
+ serialized_name: 'outboundIpAddresses',
58
+ type: {
59
+ name: 'Sequence',
60
+ element: {
61
+ required: false,
62
+ serialized_name: 'StringElementType',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ }
67
+ }
68
+ },
69
+ vip_mappings: {
70
+ required: false,
71
+ serialized_name: 'vipMappings',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ required: false,
76
+ serialized_name: 'VirtualIPMappingElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'VirtualIPMapping'
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ end
88
+ end
89
+ end
90
+ end