azure_mgmt_web 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (390) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-04-01/generated/azure_mgmt_web.rb +56 -0
  3. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/domains.rb +50 -50
  4. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/address.rb +1 -1
  5. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/azure_resource_type.rb +1 -1
  6. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/contact.rb +1 -1
  7. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +1 -1
  8. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/dns_type.rb +1 -1
  9. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain.rb +1 -1
  10. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_availablility_check_result.rb +1 -1
  11. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_collection.rb +1 -1
  12. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_control_center_sso_request.rb +1 -1
  13. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_ownership_identifier.rb +1 -1
  14. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +1 -1
  15. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_purchase_consent.rb +1 -1
  16. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +1 -1
  17. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_status.rb +1 -1
  18. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_type.rb +1 -1
  19. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/host_name.rb +1 -1
  20. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/host_name_type.rb +1 -1
  21. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/name_identifier.rb +1 -1
  22. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/name_identifier_collection.rb +1 -1
  23. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/provisioning_state.rb +1 -1
  24. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/proxy_only_resource.rb +1 -1
  25. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/resource.rb +1 -1
  26. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/tld_legal_agreement.rb +1 -1
  27. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/tld_legal_agreement_collection.rb +1 -1
  28. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/top_level_domain.rb +1 -1
  29. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/top_level_domain_agreement_option.rb +1 -1
  30. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/top_level_domain_collection.rb +1 -1
  31. data/lib/2015-04-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  32. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/top_level_domains.rb +14 -14
  33. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/version.rb +2 -2
  34. data/lib/2015-04-01/generated/azure_mgmt_web/web_site_management_client.rb +134 -0
  35. data/lib/2015-08-01/generated/azure_mgmt_web.rb +48 -0
  36. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/app_service_certificate_orders.rb +60 -60
  37. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate.rb +1 -1
  38. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate_collection.rb +1 -1
  39. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate_order.rb +1 -1
  40. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate_order_collection.rb +1 -1
  41. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate_resource.rb +1 -1
  42. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_details.rb +1 -1
  43. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_email.rb +1 -1
  44. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_order_action.rb +1 -1
  45. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_order_action_type.rb +1 -1
  46. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_order_status.rb +1 -1
  47. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_product_type.rb +1 -1
  48. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/key_vault_secret_status.rb +1 -1
  49. data/lib/2015-08-01/generated/azure_mgmt_web/models/name_identifier.rb +44 -0
  50. data/lib/2015-08-01/generated/azure_mgmt_web/models/provisioning_state.rb +19 -0
  51. data/lib/2015-08-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +78 -0
  52. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/reissue_certificate_order_request.rb +1 -1
  53. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/renew_certificate_order_request.rb +1 -1
  54. data/lib/2015-08-01/generated/azure_mgmt_web/models/resource.rb +104 -0
  55. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/site_seal.rb +1 -1
  56. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/site_seal_request.rb +1 -1
  57. data/lib/2015-08-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  58. data/lib/{generated/azure_mgmt_web/module_definition.rb → 2015-08-01/generated/azure_mgmt_web/version.rb} +3 -3
  59. data/lib/2015-08-01/generated/azure_mgmt_web/web_site_management_client.rb +130 -0
  60. data/lib/2016-03-01/generated/azure_mgmt_web.rb +77 -0
  61. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/certificates.rb +23 -23
  62. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/deleted_web_apps.rb +6 -6
  63. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/app_service_plan_restrictions.rb +1 -1
  64. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/capability.rb +1 -1
  65. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/certificate.rb +1 -1
  66. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/certificate_collection.rb +1 -1
  67. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/channels.rb +1 -1
  68. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/check_name_resource_types.rb +1 -1
  69. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_move_resource_envelope.rb +1 -1
  70. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_operation_collection.rb +1 -1
  71. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_operation_description.rb +1 -1
  72. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_operation_description_properties.rb +1 -1
  73. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_operation_display.rb +1 -1
  74. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/deleted_site.rb +1 -1
  75. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/deleted_web_app_collection.rb +1 -1
  76. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/dimension.rb +1 -1
  77. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/geo_region.rb +1 -1
  78. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/geo_region_collection.rb +1 -1
  79. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/global_csm_sku_description.rb +1 -1
  80. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/hosting_environment_profile.rb +1 -1
  81. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/in_availability_reason_type.rb +1 -1
  82. data/lib/2016-03-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb +25 -0
  83. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/metric_availability.rb +1 -1
  84. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/metric_specification.rb +1 -1
  85. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/notification_level.rb +1 -1
  86. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/premier_add_on_offer.rb +1 -1
  87. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/premier_add_on_offer_collection.rb +1 -1
  88. data/lib/2016-03-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +78 -0
  89. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/recommendation.rb +1 -1
  90. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/recommendation_rule.rb +1 -1
  91. data/lib/2016-03-01/generated/azure_mgmt_web/models/resource.rb +104 -0
  92. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/resource_name_availability.rb +1 -1
  93. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/resource_name_availability_request.rb +1 -1
  94. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/resource_scope_type.rb +1 -1
  95. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/service_specification.rb +1 -1
  96. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/sku_capacity.rb +1 -1
  97. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/sku_infos.rb +1 -1
  98. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/sku_name.rb +1 -1
  99. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/source_control.rb +1 -1
  100. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/source_control_collection.rb +1 -1
  101. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/user.rb +1 -1
  102. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/validate_request.rb +1 -1
  103. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/validate_resource_types.rb +1 -1
  104. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/validate_response.rb +1 -1
  105. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/validate_response_error.rb +1 -1
  106. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/vnet_parameters.rb +1 -1
  107. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/vnet_validation_failure_details.rb +1 -1
  108. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/vnet_validation_test_failure.rb +1 -1
  109. data/lib/2016-03-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  110. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/provider.rb +10 -10
  111. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/recommendations.rb +17 -17
  112. data/lib/2016-03-01/generated/azure_mgmt_web/version.rb +8 -0
  113. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/web_site_management_client.rb +43 -68
  114. data/lib/2016-08-01/generated/azure_mgmt_web.rb +190 -0
  115. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/api_definition_info.rb +1 -1
  116. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/application_logs_config.rb +1 -1
  117. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_action_type.rb +1 -1
  118. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_actions.rb +1 -1
  119. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_custom_action.rb +1 -1
  120. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_rules.rb +1 -1
  121. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_triggers.rb +1 -1
  122. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +1 -1
  123. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +1 -1
  124. data/lib/2016-08-01/generated/azure_mgmt_web/models/azure_resource_type.rb +16 -0
  125. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +1 -1
  126. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_item.rb +1 -1
  127. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_item_collection.rb +1 -1
  128. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_item_status.rb +1 -1
  129. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_request.rb +1 -1
  130. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_restore_operation_type.rb +1 -1
  131. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_schedule.rb +1 -1
  132. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/built_in_authentication_provider.rb +1 -1
  133. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/clone_ability_result.rb +1 -1
  134. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/cloning_info.rb +1 -1
  135. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/conn_string_info.rb +1 -1
  136. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/conn_string_value_type_pair.rb +1 -1
  137. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/connection_string_dictionary.rb +1 -1
  138. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/connection_string_type.rb +1 -1
  139. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/continuous_web_job.rb +1 -1
  140. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/continuous_web_job_collection.rb +1 -1
  141. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/continuous_web_job_status.rb +1 -1
  142. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/cors_settings.rb +1 -1
  143. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/csm_publishing_profile_options.rb +1 -1
  144. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/csm_slot_entity.rb +1 -1
  145. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/csm_usage_quota.rb +1 -1
  146. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/csm_usage_quota_collection.rb +1 -1
  147. data/lib/2016-08-01/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +16 -0
  148. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/custom_hostname_analysis_result.rb +1 -1
  149. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/database_backup_setting.rb +1 -1
  150. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/database_type.rb +1 -1
  151. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/deployment.rb +1 -1
  152. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/deployment_collection.rb +1 -1
  153. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/dns_verification_test_result.rb +1 -1
  154. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/enabled_config.rb +1 -1
  155. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/error_entity.rb +1 -1
  156. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/experiments.rb +1 -1
  157. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/file_system_application_logs_config.rb +1 -1
  158. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/file_system_http_logs_config.rb +1 -1
  159. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/frequency_unit.rb +1 -1
  160. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/function_envelope.rb +1 -1
  161. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/function_envelope_collection.rb +1 -1
  162. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/function_secrets.rb +1 -1
  163. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/handler_mapping.rb +1 -1
  164. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/host_name_binding.rb +1 -1
  165. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/host_name_binding_collection.rb +1 -1
  166. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/host_name_ssl_state.rb +1 -1
  167. data/lib/2016-08-01/generated/azure_mgmt_web/models/host_name_type.rb +16 -0
  168. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/host_type.rb +1 -1
  169. data/lib/2016-08-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +66 -0
  170. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/http_logs_config.rb +1 -1
  171. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/hybrid_connection.rb +1 -1
  172. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/hybrid_connection_key.rb +1 -1
  173. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/identifier.rb +1 -1
  174. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/identifier_collection.rb +1 -1
  175. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/ip_security_restriction.rb +1 -1
  176. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/localizable_string.rb +1 -1
  177. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/log_level.rb +1 -1
  178. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/managed_pipeline_mode.rb +1 -1
  179. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/migrate_my_sql_request.rb +1 -1
  180. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/migrate_my_sql_status.rb +1 -1
  181. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy.rb +1 -1
  182. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_log.rb +1 -1
  183. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_log_entry.rb +1 -1
  184. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_log_entry_type.rb +1 -1
  185. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_provisioning_state.rb +1 -1
  186. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_status.rb +1 -1
  187. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/my_sql_migration_type.rb +1 -1
  188. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/name_value_pair.rb +1 -1
  189. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/network_features.rb +1 -1
  190. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/operation.rb +1 -1
  191. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/operation_status.rb +1 -1
  192. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/perf_mon_counter_collection.rb +1 -1
  193. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/perf_mon_response.rb +1 -1
  194. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/perf_mon_sample.rb +1 -1
  195. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/perf_mon_set.rb +1 -1
  196. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/premier_add_on.rb +1 -1
  197. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_info.rb +1 -1
  198. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_info_collection.rb +1 -1
  199. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_module_info.rb +1 -1
  200. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_module_info_collection.rb +1 -1
  201. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_thread_info.rb +1 -1
  202. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_thread_info_collection.rb +1 -1
  203. data/lib/2016-08-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +78 -0
  204. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/public_certificate.rb +1 -1
  205. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/public_certificate_collection.rb +1 -1
  206. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/public_certificate_location.rb +1 -1
  207. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/publishing_profile_format.rb +1 -1
  208. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/push_settings.rb +1 -1
  209. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/ramp_up_rule.rb +1 -1
  210. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/relay_service_connection_entity.rb +1 -1
  211. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/requests_based_trigger.rb +1 -1
  212. data/lib/2016-08-01/generated/azure_mgmt_web/models/resource.rb +104 -0
  213. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric.rb +1 -1
  214. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_availability.rb +1 -1
  215. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_collection.rb +1 -1
  216. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_definition.rb +1 -1
  217. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_definition_collection.rb +1 -1
  218. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_name.rb +1 -1
  219. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_property.rb +1 -1
  220. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_value.rb +1 -1
  221. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/restore_request.rb +1 -1
  222. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/restore_response.rb +1 -1
  223. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/route_type.rb +1 -1
  224. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/scm_type.rb +1 -1
  225. data/lib/2016-08-01/generated/azure_mgmt_web/models/site.rb +473 -0
  226. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_auth_settings.rb +1 -1
  227. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_availability_state.rb +1 -1
  228. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_cloneability.rb +1 -1
  229. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_cloneability_criterion.rb +1 -1
  230. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_config.rb +1 -1
  231. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_config_resource.rb +1 -1
  232. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_config_resource_collection.rb +1 -1
  233. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_configuration_snapshot_info.rb +1 -1
  234. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_extension_info.rb +1 -1
  235. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_extension_info_collection.rb +1 -1
  236. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_extension_type.rb +1 -1
  237. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_instance.rb +1 -1
  238. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_limits.rb +1 -1
  239. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_load_balancing.rb +1 -1
  240. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_logs_config.rb +1 -1
  241. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_machine_key.rb +1 -1
  242. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_php_error_log_flag.rb +1 -1
  243. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_source_control.rb +1 -1
  244. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slot_config_names_resource.rb +1 -1
  245. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slot_difference.rb +1 -1
  246. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slot_difference_collection.rb +1 -1
  247. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slot_swap_status.rb +1 -1
  248. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slow_requests_based_trigger.rb +1 -1
  249. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/snapshot.rb +1 -1
  250. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/snapshot_collection.rb +1 -1
  251. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/snapshot_recovery_request.rb +1 -1
  252. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/snapshot_recovery_target.rb +1 -1
  253. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/ssl_state.rb +1 -1
  254. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/status_codes_based_trigger.rb +1 -1
  255. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/storage_migration_options.rb +1 -1
  256. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/storage_migration_response.rb +1 -1
  257. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/string_dictionary.rb +1 -1
  258. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_job_history.rb +1 -1
  259. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_job_history_collection.rb +1 -1
  260. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_job_run.rb +1 -1
  261. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_web_job.rb +1 -1
  262. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_web_job_collection.rb +1 -1
  263. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_web_job_status.rb +1 -1
  264. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/unauthenticated_client_action.rb +1 -1
  265. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/usage_state.rb +1 -1
  266. data/lib/2016-08-01/generated/azure_mgmt_web/models/user.rb +115 -0
  267. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/virtual_application.rb +1 -1
  268. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/virtual_directory.rb +1 -1
  269. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/vnet_gateway.rb +1 -1
  270. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/vnet_info.rb +1 -1
  271. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/vnet_route.rb +1 -1
  272. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_app_collection.rb +1 -1
  273. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_app_instance_collection.rb +1 -1
  274. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_job.rb +1 -1
  275. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_job_collection.rb +1 -1
  276. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_job_type.rb +1 -1
  277. data/lib/2016-08-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  278. data/lib/2016-08-01/generated/azure_mgmt_web/version.rb +8 -0
  279. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/web_apps.rb +985 -985
  280. data/lib/2016-08-01/generated/azure_mgmt_web/web_site_management_client.rb +130 -0
  281. data/lib/2016-09-01/generated/azure_mgmt_web.rb +123 -0
  282. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/app_service_environments.rb +146 -146
  283. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/app_service_plans.rb +84 -84
  284. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/access_control_entry_action.rb +1 -1
  285. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/address_response.rb +1 -1
  286. data/lib/2016-09-01/generated/azure_mgmt_web/models/api_definition_info.rb +44 -0
  287. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_environment.rb +1 -1
  288. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_environment_collection.rb +1 -1
  289. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_environment_resource.rb +1 -1
  290. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_plan.rb +1 -1
  291. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_plan_collection.rb +1 -1
  292. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb +17 -0
  293. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_actions.rb +68 -0
  294. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +55 -0
  295. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_rules.rb +58 -0
  296. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb +85 -0
  297. data/lib/2016-09-01/generated/azure_mgmt_web/models/capability.rb +64 -0
  298. data/lib/2016-09-01/generated/azure_mgmt_web/models/cloning_info.rb +169 -0
  299. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/compute_mode_options.rb +1 -1
  300. data/lib/2016-09-01/generated/azure_mgmt_web/models/conn_string_info.rb +67 -0
  301. data/lib/2016-09-01/generated/azure_mgmt_web/models/connection_string_type.rb +25 -0
  302. data/lib/2016-09-01/generated/azure_mgmt_web/models/cors_settings.rb +53 -0
  303. data/lib/2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota.rb +85 -0
  304. data/lib/2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +94 -0
  305. data/lib/2016-09-01/generated/azure_mgmt_web/models/error_entity.rb +109 -0
  306. data/lib/2016-09-01/generated/azure_mgmt_web/models/experiments.rb +52 -0
  307. data/lib/2016-09-01/generated/azure_mgmt_web/models/handler_mapping.rb +69 -0
  308. data/lib/2016-09-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb +99 -0
  309. data/lib/2016-09-01/generated/azure_mgmt_web/models/host_type.rb +16 -0
  310. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/hosting_environment_diagnostics.rb +1 -1
  311. data/lib/2016-09-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +66 -0
  312. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/hosting_environment_status.rb +1 -1
  313. data/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb +139 -0
  314. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/hybrid_connection_collection.rb +1 -1
  315. data/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb +88 -0
  316. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/hybrid_connection_limits.rb +1 -1
  317. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/internal_load_balancing_mode.rb +1 -1
  318. data/lib/2016-09-01/generated/azure_mgmt_web/models/ip_security_restriction.rb +55 -0
  319. data/lib/2016-09-01/generated/azure_mgmt_web/models/localizable_string.rb +54 -0
  320. data/lib/2016-09-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb +16 -0
  321. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/metric_availabilily.rb +1 -1
  322. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/metric_definition.rb +1 -1
  323. data/lib/2016-09-01/generated/azure_mgmt_web/models/name_value_pair.rb +54 -0
  324. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/network_access_control_entry.rb +1 -1
  325. data/lib/2016-09-01/generated/azure_mgmt_web/models/operation.rb +125 -0
  326. data/lib/2016-09-01/generated/azure_mgmt_web/models/operation_status.rb +19 -0
  327. data/lib/2016-09-01/generated/azure_mgmt_web/models/provisioning_state.rb +19 -0
  328. data/lib/2016-09-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +78 -0
  329. data/lib/2016-09-01/generated/azure_mgmt_web/models/push_settings.rb +114 -0
  330. data/lib/2016-09-01/generated/azure_mgmt_web/models/ramp_up_rule.rb +132 -0
  331. data/lib/2016-09-01/generated/azure_mgmt_web/models/requests_based_trigger.rb +54 -0
  332. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource.rb +104 -0
  333. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/resource_collection.rb +1 -1
  334. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric.rb +150 -0
  335. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_availability.rb +56 -0
  336. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_collection.rb +94 -0
  337. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition.rb +159 -0
  338. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +94 -0
  339. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_name.rb +56 -0
  340. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_property.rb +54 -0
  341. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_value.rb +119 -0
  342. data/lib/2016-09-01/generated/azure_mgmt_web/models/route_type.rb +17 -0
  343. data/lib/2016-09-01/generated/azure_mgmt_web/models/scm_type.rb +27 -0
  344. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/site.rb +34 -34
  345. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_availability_state.rb +17 -0
  346. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_config.rb +539 -0
  347. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_limits.rb +64 -0
  348. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_load_balancing.rb +19 -0
  349. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_machine_key.rb +74 -0
  350. data/lib/2016-09-01/generated/azure_mgmt_web/models/sku_capacity.rb +78 -0
  351. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/sku_description.rb +1 -1
  352. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/sku_info.rb +1 -1
  353. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/sku_info_collection.rb +1 -1
  354. data/lib/2016-09-01/generated/azure_mgmt_web/models/slot_swap_status.rb +67 -0
  355. data/lib/2016-09-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +64 -0
  356. data/lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb +122 -0
  357. data/lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb +59 -0
  358. data/lib/2016-09-01/generated/azure_mgmt_web/models/ssl_state.rb +17 -0
  359. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/stamp_capacity.rb +1 -1
  360. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/stamp_capacity_collection.rb +1 -1
  361. data/lib/2016-09-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +84 -0
  362. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/status_options.rb +1 -1
  363. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/usage.rb +1 -1
  364. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/usage_collection.rb +1 -1
  365. data/lib/2016-09-01/generated/azure_mgmt_web/models/usage_state.rb +16 -0
  366. data/lib/2016-09-01/generated/azure_mgmt_web/models/virtual_application.rb +84 -0
  367. data/lib/2016-09-01/generated/azure_mgmt_web/models/virtual_directory.rb +54 -0
  368. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/virtual_ipmapping.rb +1 -1
  369. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/virtual_network_profile.rb +1 -1
  370. data/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_gateway.rb +86 -0
  371. data/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_info.rb +141 -0
  372. data/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_route.rb +118 -0
  373. data/lib/2016-09-01/generated/azure_mgmt_web/models/web_app_collection.rb +94 -0
  374. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/worker_pool.rb +1 -1
  375. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/worker_pool_collection.rb +1 -1
  376. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/worker_pool_resource.rb +1 -1
  377. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/worker_size_options.rb +1 -1
  378. data/lib/2016-09-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  379. data/lib/2016-09-01/generated/azure_mgmt_web/version.rb +8 -0
  380. data/lib/2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb +134 -0
  381. data/lib/azure_mgmt_web.rb +6 -1
  382. data/lib/module_definition.rb +10 -0
  383. data/lib/profiles/common/configurable.rb +73 -0
  384. data/lib/profiles/common/default.rb +68 -0
  385. data/lib/profiles/latest/modules/web_profile_module.rb +1168 -0
  386. data/lib/profiles/latest/web_latest_profile_client.rb +33 -0
  387. data/lib/profiles/latest/web_module_definition.rb +9 -0
  388. data/lib/version.rb +7 -0
  389. metadata +388 -288
  390. data/lib/generated/azure_mgmt_web.rb +0 -309
@@ -3,9 +3,9 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Web
6
+ module Azure::Web::Mgmt::V2016_09_01
7
7
  #
8
- # WebSite Management Client
8
+ # AppServicePlans
9
9
  #
10
10
  class AppServicePlans
11
11
  include MsRestAzure
@@ -74,7 +74,7 @@ module Azure::ARM::Web
74
74
  #
75
75
  def list_async(detailed = nil, custom_headers = nil)
76
76
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
77
- api_version = '2016-09-01'
77
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
78
78
 
79
79
 
80
80
  request_headers = {}
@@ -89,7 +89,7 @@ module Azure::ARM::Web
89
89
  options = {
90
90
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
91
91
  path_params: {'subscriptionId' => @client.subscription_id},
92
- query_params: {'detailed' => detailed,'api-version' => api_version},
92
+ query_params: {'detailed' => detailed,'api-version' => @client.api_version},
93
93
  headers: request_headers.merge(custom_headers || {}),
94
94
  base_url: request_url
95
95
  }
@@ -109,7 +109,7 @@ module Azure::ARM::Web
109
109
  if status_code == 200
110
110
  begin
111
111
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
112
- result_mapper = Azure::ARM::Web::Models::AppServicePlanCollection.mapper()
112
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection.mapper()
113
113
  result.body = @client.deserialize(result_mapper, parsed_response)
114
114
  rescue Exception => e
115
115
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -170,7 +170,7 @@ module Azure::ARM::Web
170
170
  def list_by_resource_group_async(resource_group_name, custom_headers = nil)
171
171
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
172
172
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
173
- api_version = '2016-09-01'
173
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
174
174
 
175
175
 
176
176
  request_headers = {}
@@ -185,7 +185,7 @@ module Azure::ARM::Web
185
185
  options = {
186
186
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
187
187
  path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
188
- query_params: {'api-version' => api_version},
188
+ query_params: {'api-version' => @client.api_version},
189
189
  headers: request_headers.merge(custom_headers || {}),
190
190
  base_url: request_url
191
191
  }
@@ -205,7 +205,7 @@ module Azure::ARM::Web
205
205
  if status_code == 200
206
206
  begin
207
207
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
208
- result_mapper = Azure::ARM::Web::Models::AppServicePlanCollection.mapper()
208
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection.mapper()
209
209
  result.body = @client.deserialize(result_mapper, parsed_response)
210
210
  rescue Exception => e
211
211
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -270,7 +270,7 @@ module Azure::ARM::Web
270
270
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
271
271
  fail ArgumentError, 'name is nil' if name.nil?
272
272
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
273
- api_version = '2016-09-01'
273
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
274
274
 
275
275
 
276
276
  request_headers = {}
@@ -285,7 +285,7 @@ module Azure::ARM::Web
285
285
  options = {
286
286
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
287
287
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
288
- query_params: {'api-version' => api_version},
288
+ query_params: {'api-version' => @client.api_version},
289
289
  headers: request_headers.merge(custom_headers || {}),
290
290
  base_url: request_url
291
291
  }
@@ -305,7 +305,7 @@ module Azure::ARM::Web
305
305
  if status_code == 200
306
306
  begin
307
307
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
308
- result_mapper = Azure::ARM::Web::Models::AppServicePlan.mapper()
308
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan.mapper()
309
309
  result.body = @client.deserialize(result_mapper, parsed_response)
310
310
  rescue Exception => e
311
311
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -355,7 +355,7 @@ module Azure::ARM::Web
355
355
  promise = promise.then do |response|
356
356
  # Defining deserialization method.
357
357
  deserialize_method = lambda do |parsed_response|
358
- result_mapper = Azure::ARM::Web::Models::AppServicePlan.mapper()
358
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan.mapper()
359
359
  parsed_response = @client.deserialize(result_mapper, parsed_response)
360
360
  end
361
361
 
@@ -417,7 +417,7 @@ module Azure::ARM::Web
417
417
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
418
418
  fail ArgumentError, 'name is nil' if name.nil?
419
419
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
420
- api_version = '2016-09-01'
420
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
421
421
 
422
422
 
423
423
  request_headers = {}
@@ -432,7 +432,7 @@ module Azure::ARM::Web
432
432
  options = {
433
433
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
434
434
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
435
- query_params: {'api-version' => api_version},
435
+ query_params: {'api-version' => @client.api_version},
436
436
  headers: request_headers.merge(custom_headers || {}),
437
437
  base_url: request_url
438
438
  }
@@ -507,7 +507,7 @@ module Azure::ARM::Web
507
507
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
508
508
  fail ArgumentError, 'name is nil' if name.nil?
509
509
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
510
- api_version = '2016-09-01'
510
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
511
511
 
512
512
 
513
513
  request_headers = {}
@@ -522,7 +522,7 @@ module Azure::ARM::Web
522
522
  options = {
523
523
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
524
524
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
525
- query_params: {'api-version' => api_version},
525
+ query_params: {'api-version' => @client.api_version},
526
526
  headers: request_headers.merge(custom_headers || {}),
527
527
  base_url: request_url
528
528
  }
@@ -629,7 +629,7 @@ module Azure::ARM::Web
629
629
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
630
630
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
631
631
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
632
- api_version = '2016-09-01'
632
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
633
633
 
634
634
 
635
635
  request_headers = {}
@@ -644,7 +644,7 @@ module Azure::ARM::Web
644
644
  options = {
645
645
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
646
646
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'namespaceName' => namespace_name,'relayName' => relay_name,'subscriptionId' => @client.subscription_id},
647
- query_params: {'api-version' => api_version},
647
+ query_params: {'api-version' => @client.api_version},
648
648
  headers: request_headers.merge(custom_headers || {}),
649
649
  base_url: request_url
650
650
  }
@@ -664,7 +664,7 @@ module Azure::ARM::Web
664
664
  if status_code == 200
665
665
  begin
666
666
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
667
- result_mapper = Azure::ARM::Web::Models::HybridConnection.mapper()
667
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnection.mapper()
668
668
  result.body = @client.deserialize(result_mapper, parsed_response)
669
669
  rescue Exception => e
670
670
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -736,7 +736,7 @@ module Azure::ARM::Web
736
736
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
737
737
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
738
738
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
739
- api_version = '2016-09-01'
739
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
740
740
 
741
741
 
742
742
  request_headers = {}
@@ -751,7 +751,7 @@ module Azure::ARM::Web
751
751
  options = {
752
752
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
753
753
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'namespaceName' => namespace_name,'relayName' => relay_name,'subscriptionId' => @client.subscription_id},
754
- query_params: {'api-version' => api_version},
754
+ query_params: {'api-version' => @client.api_version},
755
755
  headers: request_headers.merge(custom_headers || {}),
756
756
  base_url: request_url
757
757
  }
@@ -834,7 +834,7 @@ module Azure::ARM::Web
834
834
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
835
835
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
836
836
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
837
- api_version = '2016-09-01'
837
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
838
838
 
839
839
 
840
840
  request_headers = {}
@@ -849,7 +849,7 @@ module Azure::ARM::Web
849
849
  options = {
850
850
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
851
851
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'namespaceName' => namespace_name,'relayName' => relay_name,'subscriptionId' => @client.subscription_id},
852
- query_params: {'api-version' => api_version},
852
+ query_params: {'api-version' => @client.api_version},
853
853
  headers: request_headers.merge(custom_headers || {}),
854
854
  base_url: request_url
855
855
  }
@@ -869,7 +869,7 @@ module Azure::ARM::Web
869
869
  if status_code == 200
870
870
  begin
871
871
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
872
- result_mapper = Azure::ARM::Web::Models::HybridConnectionKey.mapper()
872
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionKey.mapper()
873
873
  result.body = @client.deserialize(result_mapper, parsed_response)
874
874
  rescue Exception => e
875
875
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -942,7 +942,7 @@ module Azure::ARM::Web
942
942
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
943
943
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
944
944
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
945
- api_version = '2016-09-01'
945
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
946
946
 
947
947
 
948
948
  request_headers = {}
@@ -957,7 +957,7 @@ module Azure::ARM::Web
957
957
  options = {
958
958
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
959
959
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'namespaceName' => namespace_name,'relayName' => relay_name,'subscriptionId' => @client.subscription_id},
960
- query_params: {'api-version' => api_version},
960
+ query_params: {'api-version' => @client.api_version},
961
961
  headers: request_headers.merge(custom_headers || {}),
962
962
  base_url: request_url
963
963
  }
@@ -977,7 +977,7 @@ module Azure::ARM::Web
977
977
  if status_code == 200
978
978
  begin
979
979
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
980
- result_mapper = Azure::ARM::Web::Models::ResourceCollection.mapper()
980
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection.mapper()
981
981
  result.body = @client.deserialize(result_mapper, parsed_response)
982
982
  rescue Exception => e
983
983
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1042,7 +1042,7 @@ module Azure::ARM::Web
1042
1042
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1043
1043
  fail ArgumentError, 'name is nil' if name.nil?
1044
1044
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1045
- api_version = '2016-09-01'
1045
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1046
1046
 
1047
1047
 
1048
1048
  request_headers = {}
@@ -1057,7 +1057,7 @@ module Azure::ARM::Web
1057
1057
  options = {
1058
1058
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1059
1059
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
1060
- query_params: {'api-version' => api_version},
1060
+ query_params: {'api-version' => @client.api_version},
1061
1061
  headers: request_headers.merge(custom_headers || {}),
1062
1062
  base_url: request_url
1063
1063
  }
@@ -1077,7 +1077,7 @@ module Azure::ARM::Web
1077
1077
  if status_code == 200
1078
1078
  begin
1079
1079
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1080
- result_mapper = Azure::ARM::Web::Models::HybridConnectionLimits.mapper()
1080
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits.mapper()
1081
1081
  result.body = @client.deserialize(result_mapper, parsed_response)
1082
1082
  rescue Exception => e
1083
1083
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1142,7 +1142,7 @@ module Azure::ARM::Web
1142
1142
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1143
1143
  fail ArgumentError, 'name is nil' if name.nil?
1144
1144
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1145
- api_version = '2016-09-01'
1145
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1146
1146
 
1147
1147
 
1148
1148
  request_headers = {}
@@ -1157,7 +1157,7 @@ module Azure::ARM::Web
1157
1157
  options = {
1158
1158
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1159
1159
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
1160
- query_params: {'api-version' => api_version},
1160
+ query_params: {'api-version' => @client.api_version},
1161
1161
  headers: request_headers.merge(custom_headers || {}),
1162
1162
  base_url: request_url
1163
1163
  }
@@ -1177,7 +1177,7 @@ module Azure::ARM::Web
1177
1177
  if status_code == 200
1178
1178
  begin
1179
1179
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1180
- result_mapper = Azure::ARM::Web::Models::HybridConnectionCollection.mapper()
1180
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection.mapper()
1181
1181
  result.body = @client.deserialize(result_mapper, parsed_response)
1182
1182
  rescue Exception => e
1183
1183
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1248,7 +1248,7 @@ module Azure::ARM::Web
1248
1248
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1249
1249
  fail ArgumentError, 'name is nil' if name.nil?
1250
1250
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1251
- api_version = '2016-09-01'
1251
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1252
1252
 
1253
1253
 
1254
1254
  request_headers = {}
@@ -1263,7 +1263,7 @@ module Azure::ARM::Web
1263
1263
  options = {
1264
1264
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1265
1265
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
1266
- query_params: {'api-version' => api_version},
1266
+ query_params: {'api-version' => @client.api_version},
1267
1267
  headers: request_headers.merge(custom_headers || {}),
1268
1268
  base_url: request_url
1269
1269
  }
@@ -1283,7 +1283,7 @@ module Azure::ARM::Web
1283
1283
  if status_code == 200
1284
1284
  begin
1285
1285
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1286
- result_mapper = Azure::ARM::Web::Models::ResourceMetricDefinitionCollection.mapper()
1286
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection.mapper()
1287
1287
  result.body = @client.deserialize(result_mapper, parsed_response)
1288
1288
  rescue Exception => e
1289
1289
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1366,7 +1366,7 @@ module Azure::ARM::Web
1366
1366
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1367
1367
  fail ArgumentError, 'name is nil' if name.nil?
1368
1368
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1369
- api_version = '2016-09-01'
1369
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1370
1370
 
1371
1371
 
1372
1372
  request_headers = {}
@@ -1381,7 +1381,7 @@ module Azure::ARM::Web
1381
1381
  options = {
1382
1382
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1383
1383
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
1384
- query_params: {'details' => details,'api-version' => api_version},
1384
+ query_params: {'details' => details,'api-version' => @client.api_version},
1385
1385
  skip_encoding_query_params: {'$filter' => filter},
1386
1386
  headers: request_headers.merge(custom_headers || {}),
1387
1387
  base_url: request_url
@@ -1402,7 +1402,7 @@ module Azure::ARM::Web
1402
1402
  if status_code == 200
1403
1403
  begin
1404
1404
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1405
- result_mapper = Azure::ARM::Web::Models::ResourceMetricCollection.mapper()
1405
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection.mapper()
1406
1406
  result.body = @client.deserialize(result_mapper, parsed_response)
1407
1407
  rescue Exception => e
1408
1408
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1478,7 +1478,7 @@ module Azure::ARM::Web
1478
1478
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1479
1479
  fail ArgumentError, 'name is nil' if name.nil?
1480
1480
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1481
- api_version = '2016-09-01'
1481
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1482
1482
 
1483
1483
 
1484
1484
  request_headers = {}
@@ -1493,7 +1493,7 @@ module Azure::ARM::Web
1493
1493
  options = {
1494
1494
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1495
1495
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
1496
- query_params: {'softRestart' => soft_restart,'api-version' => api_version},
1496
+ query_params: {'softRestart' => soft_restart,'api-version' => @client.api_version},
1497
1497
  headers: request_headers.merge(custom_headers || {}),
1498
1498
  base_url: request_url
1499
1499
  }
@@ -1589,7 +1589,7 @@ module Azure::ARM::Web
1589
1589
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1590
1590
  fail ArgumentError, 'name is nil' if name.nil?
1591
1591
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1592
- api_version = '2016-09-01'
1592
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1593
1593
 
1594
1594
 
1595
1595
  request_headers = {}
@@ -1604,7 +1604,7 @@ module Azure::ARM::Web
1604
1604
  options = {
1605
1605
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1606
1606
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
1607
- query_params: {'$skipToken' => skip_token,'$top' => top,'api-version' => api_version},
1607
+ query_params: {'$skipToken' => skip_token,'$top' => top,'api-version' => @client.api_version},
1608
1608
  skip_encoding_query_params: {'$filter' => filter},
1609
1609
  headers: request_headers.merge(custom_headers || {}),
1610
1610
  base_url: request_url
@@ -1625,7 +1625,7 @@ module Azure::ARM::Web
1625
1625
  if status_code == 200
1626
1626
  begin
1627
1627
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1628
- result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
1628
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
1629
1629
  result.body = @client.deserialize(result_mapper, parsed_response)
1630
1630
  rescue Exception => e
1631
1631
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1690,7 +1690,7 @@ module Azure::ARM::Web
1690
1690
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1691
1691
  fail ArgumentError, 'name is nil' if name.nil?
1692
1692
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1693
- api_version = '2016-09-01'
1693
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1694
1694
 
1695
1695
 
1696
1696
  request_headers = {}
@@ -1705,7 +1705,7 @@ module Azure::ARM::Web
1705
1705
  options = {
1706
1706
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1707
1707
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
1708
- query_params: {'api-version' => api_version},
1708
+ query_params: {'api-version' => @client.api_version},
1709
1709
  headers: request_headers.merge(custom_headers || {}),
1710
1710
  base_url: request_url
1711
1711
  }
@@ -1808,7 +1808,7 @@ module Azure::ARM::Web
1808
1808
  fail ArgumentError, 'name is nil' if name.nil?
1809
1809
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
1810
1810
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1811
- api_version = '2016-09-01'
1811
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1812
1812
 
1813
1813
 
1814
1814
  request_headers = {}
@@ -1823,7 +1823,7 @@ module Azure::ARM::Web
1823
1823
  options = {
1824
1824
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1825
1825
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'vnetName' => vnet_name,'subscriptionId' => @client.subscription_id},
1826
- query_params: {'api-version' => api_version},
1826
+ query_params: {'api-version' => @client.api_version},
1827
1827
  headers: request_headers.merge(custom_headers || {}),
1828
1828
  base_url: request_url
1829
1829
  }
@@ -1843,7 +1843,7 @@ module Azure::ARM::Web
1843
1843
  if status_code == 200
1844
1844
  begin
1845
1845
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1846
- result_mapper = Azure::ARM::Web::Models::VnetInfo.mapper()
1846
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::VnetInfo.mapper()
1847
1847
  result.body = @client.deserialize(result_mapper, parsed_response)
1848
1848
  rescue Exception => e
1849
1849
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1919,7 +1919,7 @@ module Azure::ARM::Web
1919
1919
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
1920
1920
  fail ArgumentError, 'gateway_name is nil' if gateway_name.nil?
1921
1921
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1922
- api_version = '2016-09-01'
1922
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1923
1923
 
1924
1924
 
1925
1925
  request_headers = {}
@@ -1934,7 +1934,7 @@ module Azure::ARM::Web
1934
1934
  options = {
1935
1935
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1936
1936
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'vnetName' => vnet_name,'gatewayName' => gateway_name,'subscriptionId' => @client.subscription_id},
1937
- query_params: {'api-version' => api_version},
1937
+ query_params: {'api-version' => @client.api_version},
1938
1938
  headers: request_headers.merge(custom_headers || {}),
1939
1939
  base_url: request_url
1940
1940
  }
@@ -1954,7 +1954,7 @@ module Azure::ARM::Web
1954
1954
  if status_code == 200
1955
1955
  begin
1956
1956
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1957
- result_mapper = Azure::ARM::Web::Models::VnetGateway.mapper()
1957
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway.mapper()
1958
1958
  result.body = @client.deserialize(result_mapper, parsed_response)
1959
1959
  rescue Exception => e
1960
1960
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -2034,7 +2034,7 @@ module Azure::ARM::Web
2034
2034
  fail ArgumentError, 'gateway_name is nil' if gateway_name.nil?
2035
2035
  fail ArgumentError, 'connection_envelope is nil' if connection_envelope.nil?
2036
2036
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2037
- api_version = '2016-09-01'
2037
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2038
2038
 
2039
2039
 
2040
2040
  request_headers = {}
@@ -2046,7 +2046,7 @@ module Azure::ARM::Web
2046
2046
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
2047
2047
 
2048
2048
  # Serialize Request
2049
- request_mapper = Azure::ARM::Web::Models::VnetGateway.mapper()
2049
+ request_mapper = Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway.mapper()
2050
2050
  request_content = @client.serialize(request_mapper, connection_envelope)
2051
2051
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2052
2052
 
@@ -2057,7 +2057,7 @@ module Azure::ARM::Web
2057
2057
  options = {
2058
2058
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2059
2059
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'vnetName' => vnet_name,'gatewayName' => gateway_name,'subscriptionId' => @client.subscription_id},
2060
- query_params: {'api-version' => api_version},
2060
+ query_params: {'api-version' => @client.api_version},
2061
2061
  body: request_content,
2062
2062
  headers: request_headers.merge(custom_headers || {}),
2063
2063
  base_url: request_url
@@ -2078,7 +2078,7 @@ module Azure::ARM::Web
2078
2078
  if status_code == 200
2079
2079
  begin
2080
2080
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2081
- result_mapper = Azure::ARM::Web::Models::VnetGateway.mapper()
2081
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway.mapper()
2082
2082
  result.body = @client.deserialize(result_mapper, parsed_response)
2083
2083
  rescue Exception => e
2084
2084
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -2153,7 +2153,7 @@ module Azure::ARM::Web
2153
2153
  fail ArgumentError, 'name is nil' if name.nil?
2154
2154
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
2155
2155
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2156
- api_version = '2016-09-01'
2156
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2157
2157
 
2158
2158
 
2159
2159
  request_headers = {}
@@ -2168,7 +2168,7 @@ module Azure::ARM::Web
2168
2168
  options = {
2169
2169
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2170
2170
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'vnetName' => vnet_name,'subscriptionId' => @client.subscription_id},
2171
- query_params: {'api-version' => api_version},
2171
+ query_params: {'api-version' => @client.api_version},
2172
2172
  headers: request_headers.merge(custom_headers || {}),
2173
2173
  base_url: request_url
2174
2174
  }
@@ -2275,7 +2275,7 @@ module Azure::ARM::Web
2275
2275
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
2276
2276
  fail ArgumentError, 'route_name is nil' if route_name.nil?
2277
2277
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2278
- api_version = '2016-09-01'
2278
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2279
2279
 
2280
2280
 
2281
2281
  request_headers = {}
@@ -2290,7 +2290,7 @@ module Azure::ARM::Web
2290
2290
  options = {
2291
2291
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2292
2292
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'vnetName' => vnet_name,'routeName' => route_name,'subscriptionId' => @client.subscription_id},
2293
- query_params: {'api-version' => api_version},
2293
+ query_params: {'api-version' => @client.api_version},
2294
2294
  headers: request_headers.merge(custom_headers || {}),
2295
2295
  base_url: request_url
2296
2296
  }
@@ -2401,7 +2401,7 @@ module Azure::ARM::Web
2401
2401
  fail ArgumentError, 'route_name is nil' if route_name.nil?
2402
2402
  fail ArgumentError, 'route is nil' if route.nil?
2403
2403
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2404
- api_version = '2016-09-01'
2404
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2405
2405
 
2406
2406
 
2407
2407
  request_headers = {}
@@ -2413,7 +2413,7 @@ module Azure::ARM::Web
2413
2413
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
2414
2414
 
2415
2415
  # Serialize Request
2416
- request_mapper = Azure::ARM::Web::Models::VnetRoute.mapper()
2416
+ request_mapper = Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute.mapper()
2417
2417
  request_content = @client.serialize(request_mapper, route)
2418
2418
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2419
2419
 
@@ -2424,7 +2424,7 @@ module Azure::ARM::Web
2424
2424
  options = {
2425
2425
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2426
2426
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'vnetName' => vnet_name,'routeName' => route_name,'subscriptionId' => @client.subscription_id},
2427
- query_params: {'api-version' => api_version},
2427
+ query_params: {'api-version' => @client.api_version},
2428
2428
  body: request_content,
2429
2429
  headers: request_headers.merge(custom_headers || {}),
2430
2430
  base_url: request_url
@@ -2445,7 +2445,7 @@ module Azure::ARM::Web
2445
2445
  if status_code == 200
2446
2446
  begin
2447
2447
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2448
- result_mapper = Azure::ARM::Web::Models::VnetRoute.mapper()
2448
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute.mapper()
2449
2449
  result.body = @client.deserialize(result_mapper, parsed_response)
2450
2450
  rescue Exception => e
2451
2451
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -2517,7 +2517,7 @@ module Azure::ARM::Web
2517
2517
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
2518
2518
  fail ArgumentError, 'route_name is nil' if route_name.nil?
2519
2519
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2520
- api_version = '2016-09-01'
2520
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2521
2521
 
2522
2522
 
2523
2523
  request_headers = {}
@@ -2532,7 +2532,7 @@ module Azure::ARM::Web
2532
2532
  options = {
2533
2533
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2534
2534
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'vnetName' => vnet_name,'routeName' => route_name,'subscriptionId' => @client.subscription_id},
2535
- query_params: {'api-version' => api_version},
2535
+ query_params: {'api-version' => @client.api_version},
2536
2536
  headers: request_headers.merge(custom_headers || {}),
2537
2537
  base_url: request_url
2538
2538
  }
@@ -2619,7 +2619,7 @@ module Azure::ARM::Web
2619
2619
  fail ArgumentError, 'route_name is nil' if route_name.nil?
2620
2620
  fail ArgumentError, 'route is nil' if route.nil?
2621
2621
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2622
- api_version = '2016-09-01'
2622
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2623
2623
 
2624
2624
 
2625
2625
  request_headers = {}
@@ -2631,7 +2631,7 @@ module Azure::ARM::Web
2631
2631
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
2632
2632
 
2633
2633
  # Serialize Request
2634
- request_mapper = Azure::ARM::Web::Models::VnetRoute.mapper()
2634
+ request_mapper = Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute.mapper()
2635
2635
  request_content = @client.serialize(request_mapper, route)
2636
2636
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2637
2637
 
@@ -2642,7 +2642,7 @@ module Azure::ARM::Web
2642
2642
  options = {
2643
2643
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2644
2644
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'vnetName' => vnet_name,'routeName' => route_name,'subscriptionId' => @client.subscription_id},
2645
- query_params: {'api-version' => api_version},
2645
+ query_params: {'api-version' => @client.api_version},
2646
2646
  body: request_content,
2647
2647
  headers: request_headers.merge(custom_headers || {}),
2648
2648
  base_url: request_url
@@ -2663,7 +2663,7 @@ module Azure::ARM::Web
2663
2663
  if status_code == 200
2664
2664
  begin
2665
2665
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2666
- result_mapper = Azure::ARM::Web::Models::VnetRoute.mapper()
2666
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute.mapper()
2667
2667
  result.body = @client.deserialize(result_mapper, parsed_response)
2668
2668
  rescue Exception => e
2669
2669
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -2734,7 +2734,7 @@ module Azure::ARM::Web
2734
2734
  fail ArgumentError, 'name is nil' if name.nil?
2735
2735
  fail ArgumentError, 'worker_name is nil' if worker_name.nil?
2736
2736
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2737
- api_version = '2016-09-01'
2737
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2738
2738
 
2739
2739
 
2740
2740
  request_headers = {}
@@ -2749,7 +2749,7 @@ module Azure::ARM::Web
2749
2749
  options = {
2750
2750
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2751
2751
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'workerName' => worker_name,'subscriptionId' => @client.subscription_id},
2752
- query_params: {'api-version' => api_version},
2752
+ query_params: {'api-version' => @client.api_version},
2753
2753
  headers: request_headers.merge(custom_headers || {}),
2754
2754
  base_url: request_url
2755
2755
  }
@@ -2828,7 +2828,7 @@ module Azure::ARM::Web
2828
2828
  fail ArgumentError, 'name is nil' if name.nil?
2829
2829
  fail ArgumentError, 'app_service_plan is nil' if app_service_plan.nil?
2830
2830
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2831
- api_version = '2016-09-01'
2831
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2832
2832
 
2833
2833
 
2834
2834
  request_headers = {}
@@ -2840,7 +2840,7 @@ module Azure::ARM::Web
2840
2840
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
2841
2841
 
2842
2842
  # Serialize Request
2843
- request_mapper = Azure::ARM::Web::Models::AppServicePlan.mapper()
2843
+ request_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan.mapper()
2844
2844
  request_content = @client.serialize(request_mapper, app_service_plan)
2845
2845
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2846
2846
 
@@ -2851,7 +2851,7 @@ module Azure::ARM::Web
2851
2851
  options = {
2852
2852
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2853
2853
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
2854
- query_params: {'api-version' => api_version},
2854
+ query_params: {'api-version' => @client.api_version},
2855
2855
  body: request_content,
2856
2856
  headers: request_headers.merge(custom_headers || {}),
2857
2857
  base_url: request_url
@@ -2872,7 +2872,7 @@ module Azure::ARM::Web
2872
2872
  if status_code == 200
2873
2873
  begin
2874
2874
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2875
- result_mapper = Azure::ARM::Web::Models::AppServicePlan.mapper()
2875
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan.mapper()
2876
2876
  result.body = @client.deserialize(result_mapper, parsed_response)
2877
2877
  rescue Exception => e
2878
2878
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -2882,7 +2882,7 @@ module Azure::ARM::Web
2882
2882
  if status_code == 202
2883
2883
  begin
2884
2884
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2885
- result_mapper = Azure::ARM::Web::Models::AppServicePlan.mapper()
2885
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan.mapper()
2886
2886
  result.body = @client.deserialize(result_mapper, parsed_response)
2887
2887
  rescue Exception => e
2888
2888
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -2975,7 +2975,7 @@ module Azure::ARM::Web
2975
2975
  if status_code == 200
2976
2976
  begin
2977
2977
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2978
- result_mapper = Azure::ARM::Web::Models::AppServicePlanCollection.mapper()
2978
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection.mapper()
2979
2979
  result.body = @client.deserialize(result_mapper, parsed_response)
2980
2980
  rescue Exception => e
2981
2981
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3068,7 +3068,7 @@ module Azure::ARM::Web
3068
3068
  if status_code == 200
3069
3069
  begin
3070
3070
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
3071
- result_mapper = Azure::ARM::Web::Models::AppServicePlanCollection.mapper()
3071
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection.mapper()
3072
3072
  result.body = @client.deserialize(result_mapper, parsed_response)
3073
3073
  rescue Exception => e
3074
3074
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3161,7 +3161,7 @@ module Azure::ARM::Web
3161
3161
  if status_code == 200
3162
3162
  begin
3163
3163
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
3164
- result_mapper = Azure::ARM::Web::Models::ResourceCollection.mapper()
3164
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection.mapper()
3165
3165
  result.body = @client.deserialize(result_mapper, parsed_response)
3166
3166
  rescue Exception => e
3167
3167
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3254,7 +3254,7 @@ module Azure::ARM::Web
3254
3254
  if status_code == 200
3255
3255
  begin
3256
3256
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
3257
- result_mapper = Azure::ARM::Web::Models::HybridConnectionCollection.mapper()
3257
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection.mapper()
3258
3258
  result.body = @client.deserialize(result_mapper, parsed_response)
3259
3259
  rescue Exception => e
3260
3260
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3353,7 +3353,7 @@ module Azure::ARM::Web
3353
3353
  if status_code == 200
3354
3354
  begin
3355
3355
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
3356
- result_mapper = Azure::ARM::Web::Models::ResourceMetricDefinitionCollection.mapper()
3356
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection.mapper()
3357
3357
  result.body = @client.deserialize(result_mapper, parsed_response)
3358
3358
  rescue Exception => e
3359
3359
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3446,7 +3446,7 @@ module Azure::ARM::Web
3446
3446
  if status_code == 200
3447
3447
  begin
3448
3448
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
3449
- result_mapper = Azure::ARM::Web::Models::ResourceMetricCollection.mapper()
3449
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection.mapper()
3450
3450
  result.body = @client.deserialize(result_mapper, parsed_response)
3451
3451
  rescue Exception => e
3452
3452
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3539,7 +3539,7 @@ module Azure::ARM::Web
3539
3539
  if status_code == 200
3540
3540
  begin
3541
3541
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
3542
- result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
3542
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
3543
3543
  result.body = @client.deserialize(result_mapper, parsed_response)
3544
3544
  rescue Exception => e
3545
3545
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)