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,7 +3,7 @@
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_03_01
7
7
  module Models
8
8
  #
9
9
  # Describes the result of resource validation.
@@ -3,7 +3,7 @@
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_03_01
7
7
  module Models
8
8
  #
9
9
  # Error details for when validation fails.
@@ -3,7 +3,7 @@
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_03_01
7
7
  module Models
8
8
  #
9
9
  # The required set of inputs to validate a VNET
@@ -3,7 +3,7 @@
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_03_01
7
7
  module Models
8
8
  #
9
9
  # A class that describes the reason for a validation failure.
@@ -3,7 +3,7 @@
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_03_01
7
7
  module Models
8
8
  #
9
9
  # A class that describes a test that failed during NSG and UDR validation.
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure end
7
+ module Azure::Web end
8
+ module Azure::Web::Mgmt end
9
+ module Azure::Web::Mgmt::V2016_03_01 end
@@ -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_03_01
7
7
  #
8
- # WebSite Management Client
8
+ # Provider
9
9
  #
10
10
  class Provider
11
11
  include MsRestAzure
@@ -61,7 +61,7 @@ module Azure::ARM::Web
61
61
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
62
62
  #
63
63
  def get_available_stacks_async(custom_headers = nil)
64
- api_version = '2016-03-01'
64
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
65
65
 
66
66
 
67
67
  request_headers = {}
@@ -75,7 +75,7 @@ module Azure::ARM::Web
75
75
 
76
76
  options = {
77
77
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
78
- query_params: {'api-version' => api_version},
78
+ query_params: {'api-version' => @client.api_version},
79
79
  headers: request_headers.merge(custom_headers || {}),
80
80
  base_url: request_url
81
81
  }
@@ -126,7 +126,7 @@ module Azure::ARM::Web
126
126
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
127
127
  #
128
128
  def list_operations_async(custom_headers = nil)
129
- api_version = '2016-03-01'
129
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
130
130
 
131
131
 
132
132
  request_headers = {}
@@ -140,7 +140,7 @@ module Azure::ARM::Web
140
140
 
141
141
  options = {
142
142
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
143
- query_params: {'api-version' => api_version},
143
+ query_params: {'api-version' => @client.api_version},
144
144
  headers: request_headers.merge(custom_headers || {}),
145
145
  base_url: request_url
146
146
  }
@@ -160,7 +160,7 @@ module Azure::ARM::Web
160
160
  if status_code == 200
161
161
  begin
162
162
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
163
- result_mapper = Azure::ARM::Web::Models::CsmOperationCollection.mapper()
163
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection.mapper()
164
164
  result.body = @client.deserialize(result_mapper, parsed_response)
165
165
  rescue Exception => e
166
166
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -214,7 +214,7 @@ module Azure::ARM::Web
214
214
  #
215
215
  def get_available_stacks_on_prem_async(custom_headers = nil)
216
216
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
217
- api_version = '2016-03-01'
217
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
218
218
 
219
219
 
220
220
  request_headers = {}
@@ -229,7 +229,7 @@ module Azure::ARM::Web
229
229
  options = {
230
230
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
231
231
  path_params: {'subscriptionId' => @client.subscription_id},
232
- query_params: {'api-version' => api_version},
232
+ query_params: {'api-version' => @client.api_version},
233
233
  headers: request_headers.merge(custom_headers || {}),
234
234
  base_url: request_url
235
235
  }
@@ -320,7 +320,7 @@ module Azure::ARM::Web
320
320
  if status_code == 200
321
321
  begin
322
322
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
323
- result_mapper = Azure::ARM::Web::Models::CsmOperationCollection.mapper()
323
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection.mapper()
324
324
  result.body = @client.deserialize(result_mapper, parsed_response)
325
325
  rescue Exception => e
326
326
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -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_03_01
7
7
  #
8
- # WebSite Management Client
8
+ # Recommendations
9
9
  #
10
10
  class Recommendations
11
11
  include MsRestAzure
@@ -83,7 +83,7 @@ module Azure::ARM::Web
83
83
  #
84
84
  def list_async(featured = nil, filter = nil, custom_headers = nil)
85
85
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
86
- api_version = '2016-03-01'
86
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
87
87
 
88
88
 
89
89
  request_headers = {}
@@ -98,7 +98,7 @@ module Azure::ARM::Web
98
98
  options = {
99
99
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
100
100
  path_params: {'subscriptionId' => @client.subscription_id},
101
- query_params: {'featured' => featured,'api-version' => api_version},
101
+ query_params: {'featured' => featured,'api-version' => @client.api_version},
102
102
  skip_encoding_query_params: {'$filter' => filter},
103
103
  headers: request_headers.merge(custom_headers || {}),
104
104
  base_url: request_url
@@ -186,7 +186,7 @@ module Azure::ARM::Web
186
186
  #
187
187
  def reset_all_filters_async(custom_headers = nil)
188
188
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
189
- api_version = '2016-03-01'
189
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
190
190
 
191
191
 
192
192
  request_headers = {}
@@ -201,7 +201,7 @@ module Azure::ARM::Web
201
201
  options = {
202
202
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
203
203
  path_params: {'subscriptionId' => @client.subscription_id},
204
- query_params: {'api-version' => api_version},
204
+ query_params: {'api-version' => @client.api_version},
205
205
  headers: request_headers.merge(custom_headers || {}),
206
206
  base_url: request_url
207
207
  }
@@ -288,7 +288,7 @@ module Azure::ARM::Web
288
288
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
289
289
  fail ArgumentError, 'site_name is nil' if site_name.nil?
290
290
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
291
- api_version = '2016-03-01'
291
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
292
292
 
293
293
 
294
294
  request_headers = {}
@@ -303,7 +303,7 @@ module Azure::ARM::Web
303
303
  options = {
304
304
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
305
305
  path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'subscriptionId' => @client.subscription_id},
306
- query_params: {'api-version' => api_version},
306
+ query_params: {'api-version' => @client.api_version},
307
307
  skip_encoding_query_params: {'$filter' => filter},
308
308
  headers: request_headers.merge(custom_headers || {}),
309
309
  base_url: request_url
@@ -421,7 +421,7 @@ module Azure::ARM::Web
421
421
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
422
422
  fail ArgumentError, 'site_name is nil' if site_name.nil?
423
423
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
424
- api_version = '2016-03-01'
424
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
425
425
 
426
426
 
427
427
  request_headers = {}
@@ -436,7 +436,7 @@ module Azure::ARM::Web
436
436
  options = {
437
437
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
438
438
  path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'subscriptionId' => @client.subscription_id},
439
- query_params: {'featured' => featured,'api-version' => api_version},
439
+ query_params: {'featured' => featured,'api-version' => @client.api_version},
440
440
  skip_encoding_query_params: {'$filter' => filter},
441
441
  headers: request_headers.merge(custom_headers || {}),
442
442
  base_url: request_url
@@ -535,7 +535,7 @@ module Azure::ARM::Web
535
535
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
536
536
  fail ArgumentError, 'site_name is nil' if site_name.nil?
537
537
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
538
- api_version = '2016-03-01'
538
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
539
539
 
540
540
 
541
541
  request_headers = {}
@@ -550,7 +550,7 @@ module Azure::ARM::Web
550
550
  options = {
551
551
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
552
552
  path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'subscriptionId' => @client.subscription_id},
553
- query_params: {'api-version' => api_version},
553
+ query_params: {'api-version' => @client.api_version},
554
554
  headers: request_headers.merge(custom_headers || {}),
555
555
  base_url: request_url
556
556
  }
@@ -624,7 +624,7 @@ module Azure::ARM::Web
624
624
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
625
625
  fail ArgumentError, 'site_name is nil' if site_name.nil?
626
626
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
627
- api_version = '2016-03-01'
627
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
628
628
 
629
629
 
630
630
  request_headers = {}
@@ -639,7 +639,7 @@ module Azure::ARM::Web
639
639
  options = {
640
640
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
641
641
  path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'subscriptionId' => @client.subscription_id},
642
- query_params: {'api-version' => api_version},
642
+ query_params: {'api-version' => @client.api_version},
643
643
  headers: request_headers.merge(custom_headers || {}),
644
644
  base_url: request_url
645
645
  }
@@ -724,7 +724,7 @@ module Azure::ARM::Web
724
724
  fail ArgumentError, 'site_name is nil' if site_name.nil?
725
725
  fail ArgumentError, 'name is nil' if name.nil?
726
726
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
727
- api_version = '2016-03-01'
727
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
728
728
 
729
729
 
730
730
  request_headers = {}
@@ -739,7 +739,7 @@ module Azure::ARM::Web
739
739
  options = {
740
740
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
741
741
  path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'name' => name,'subscriptionId' => @client.subscription_id},
742
- query_params: {'updateSeen' => update_seen,'api-version' => api_version},
742
+ query_params: {'updateSeen' => update_seen,'api-version' => @client.api_version},
743
743
  headers: request_headers.merge(custom_headers || {}),
744
744
  base_url: request_url
745
745
  }
@@ -759,7 +759,7 @@ module Azure::ARM::Web
759
759
  if status_code == 200
760
760
  begin
761
761
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
762
- result_mapper = Azure::ARM::Web::Models::RecommendationRule.mapper()
762
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::RecommendationRule.mapper()
763
763
  result.body = @client.deserialize(result_mapper, parsed_response)
764
764
  rescue Exception => e
765
765
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Web::Mgmt::V2016_03_01
7
+ VERSION = '0.15.0'
8
+ end
@@ -3,7 +3,7 @@
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_03_01
7
7
  #
8
8
  # A service client - single point of access to the REST API.
9
9
  #
@@ -21,6 +21,9 @@ module Azure::ARM::Web
21
21
  # string (e.g. 00000000-0000-0000-0000-000000000000).
22
22
  attr_accessor :subscription_id
23
23
 
24
+ # @return [String] API Version
25
+ attr_reader :api_version
26
+
24
27
  # @return [String] Gets or sets the preferred language for the response.
25
28
  attr_accessor :accept_language
26
29
 
@@ -32,15 +35,6 @@ module Azure::ARM::Web
32
35
  # is generated and included in each request. Default is true.
33
36
  attr_accessor :generate_client_request_id
34
37
 
35
- # @return [AppServiceCertificateOrders] app_service_certificate_orders
36
- attr_reader :app_service_certificate_orders
37
-
38
- # @return [Domains] domains
39
- attr_reader :domains
40
-
41
- # @return [TopLevelDomains] top_level_domains
42
- attr_reader :top_level_domains
43
-
44
38
  # @return [Certificates] certificates
45
39
  attr_reader :certificates
46
40
 
@@ -53,15 +47,6 @@ module Azure::ARM::Web
53
47
  # @return [Recommendations] recommendations
54
48
  attr_reader :recommendations
55
49
 
56
- # @return [WebApps] web_apps
57
- attr_reader :web_apps
58
-
59
- # @return [AppServiceEnvironments] app_service_environments
60
- attr_reader :app_service_environments
61
-
62
- # @return [AppServicePlans] app_service_plans
63
- attr_reader :app_service_plans
64
-
65
50
  #
66
51
  # Creates initializes a new instance of the WebSiteManagementClient class.
67
52
  # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
@@ -75,16 +60,11 @@ module Azure::ARM::Web
75
60
  fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
76
61
  @credentials = credentials
77
62
 
78
- @app_service_certificate_orders = AppServiceCertificateOrders.new(self)
79
- @domains = Domains.new(self)
80
- @top_level_domains = TopLevelDomains.new(self)
81
63
  @certificates = Certificates.new(self)
82
64
  @deleted_web_apps = DeletedWebApps.new(self)
83
65
  @provider = Provider.new(self)
84
66
  @recommendations = Recommendations.new(self)
85
- @web_apps = WebApps.new(self)
86
- @app_service_environments = AppServiceEnvironments.new(self)
87
- @app_service_plans = AppServicePlans.new(self)
67
+ @api_version = '2016-03-01'
88
68
  @accept_language = 'en-US'
89
69
  @long_running_operation_retry_timeout = 30
90
70
  @generate_client_request_id = true
@@ -186,7 +166,7 @@ module Azure::ARM::Web
186
166
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
187
167
  #
188
168
  def get_publishing_user_async(custom_headers = nil)
189
- api_version = '2016-03-01'
169
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
190
170
 
191
171
 
192
172
  request_headers = {}
@@ -220,7 +200,7 @@ module Azure::ARM::Web
220
200
  if status_code == 200
221
201
  begin
222
202
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
223
- result_mapper = Azure::ARM::Web::Models::User.mapper()
203
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::User.mapper()
224
204
  result.body = self.deserialize(result_mapper, parsed_response)
225
205
  rescue Exception => e
226
206
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -277,7 +257,7 @@ module Azure::ARM::Web
277
257
  #
278
258
  def update_publishing_user_async(user_details, custom_headers = nil)
279
259
  fail ArgumentError, 'user_details is nil' if user_details.nil?
280
- api_version = '2016-03-01'
260
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
281
261
 
282
262
 
283
263
  request_headers = {}
@@ -289,7 +269,7 @@ module Azure::ARM::Web
289
269
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
290
270
 
291
271
  # Serialize Request
292
- request_mapper = Azure::ARM::Web::Models::User.mapper()
272
+ request_mapper = Azure::Web::Mgmt::V2016_03_01::Models::User.mapper()
293
273
  request_content = self.serialize(request_mapper, user_details)
294
274
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
295
275
 
@@ -320,7 +300,7 @@ module Azure::ARM::Web
320
300
  if status_code == 200
321
301
  begin
322
302
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
323
- result_mapper = Azure::ARM::Web::Models::User.mapper()
303
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::User.mapper()
324
304
  result.body = self.deserialize(result_mapper, parsed_response)
325
305
  rescue Exception => e
326
306
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -373,7 +353,7 @@ module Azure::ARM::Web
373
353
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
374
354
  #
375
355
  def list_source_controls_async(custom_headers = nil)
376
- api_version = '2016-03-01'
356
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
377
357
 
378
358
 
379
359
  request_headers = {}
@@ -407,7 +387,7 @@ module Azure::ARM::Web
407
387
  if status_code == 200
408
388
  begin
409
389
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
410
- result_mapper = Azure::ARM::Web::Models::SourceControlCollection.mapper()
390
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::SourceControlCollection.mapper()
411
391
  result.body = self.deserialize(result_mapper, parsed_response)
412
392
  rescue Exception => e
413
393
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -468,7 +448,7 @@ module Azure::ARM::Web
468
448
  def update_source_control_async(source_control_type, request_message, custom_headers = nil)
469
449
  fail ArgumentError, 'source_control_type is nil' if source_control_type.nil?
470
450
  fail ArgumentError, 'request_message is nil' if request_message.nil?
471
- api_version = '2016-03-01'
451
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
472
452
 
473
453
 
474
454
  request_headers = {}
@@ -480,7 +460,7 @@ module Azure::ARM::Web
480
460
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
481
461
 
482
462
  # Serialize Request
483
- request_mapper = Azure::ARM::Web::Models::SourceControl.mapper()
463
+ request_mapper = Azure::Web::Mgmt::V2016_03_01::Models::SourceControl.mapper()
484
464
  request_content = self.serialize(request_mapper, request_message)
485
465
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
486
466
 
@@ -512,7 +492,7 @@ module Azure::ARM::Web
512
492
  if status_code == 200
513
493
  begin
514
494
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
515
- result_mapper = Azure::ARM::Web::Models::SourceControl.mapper()
495
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::SourceControl.mapper()
516
496
  result.body = self.deserialize(result_mapper, parsed_response)
517
497
  rescue Exception => e
518
498
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -578,7 +558,7 @@ module Azure::ARM::Web
578
558
  #
579
559
  def check_name_availability_async(name, type, is_fqdn = nil, custom_headers = nil)
580
560
  fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
581
- api_version = '2016-03-01'
561
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
582
562
  fail ArgumentError, 'name is nil' if name.nil?
583
563
  fail ArgumentError, 'type is nil' if type.nil?
584
564
 
@@ -598,7 +578,7 @@ module Azure::ARM::Web
598
578
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
599
579
 
600
580
  # Serialize Request
601
- request_mapper = Azure::ARM::Web::Models::ResourceNameAvailabilityRequest.mapper()
581
+ request_mapper = Azure::Web::Mgmt::V2016_03_01::Models::ResourceNameAvailabilityRequest.mapper()
602
582
  request_content = self.serialize(request_mapper, request)
603
583
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
604
584
 
@@ -630,7 +610,7 @@ module Azure::ARM::Web
630
610
  if status_code == 200
631
611
  begin
632
612
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
633
- result_mapper = Azure::ARM::Web::Models::ResourceNameAvailability.mapper()
613
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::ResourceNameAvailability.mapper()
634
614
  result.body = self.deserialize(result_mapper, parsed_response)
635
615
  rescue Exception => e
636
616
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -699,7 +679,7 @@ module Azure::ARM::Web
699
679
  #
700
680
  def list_geo_regions_async(sku = nil, linux_workers_enabled = nil, custom_headers = nil)
701
681
  fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
702
- api_version = '2016-03-01'
682
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
703
683
 
704
684
 
705
685
  request_headers = {}
@@ -734,7 +714,7 @@ module Azure::ARM::Web
734
714
  if status_code == 200
735
715
  begin
736
716
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
737
- result_mapper = Azure::ARM::Web::Models::GeoRegionCollection.mapper()
717
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::GeoRegionCollection.mapper()
738
718
  result.body = self.deserialize(result_mapper, parsed_response)
739
719
  rescue Exception => e
740
720
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -788,7 +768,7 @@ module Azure::ARM::Web
788
768
  #
789
769
  def list_premier_add_on_offers_async(custom_headers = nil)
790
770
  fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
791
- api_version = '2016-03-01'
771
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
792
772
 
793
773
 
794
774
  request_headers = {}
@@ -823,7 +803,7 @@ module Azure::ARM::Web
823
803
  if status_code == 200
824
804
  begin
825
805
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
826
- result_mapper = Azure::ARM::Web::Models::PremierAddOnOfferCollection.mapper()
806
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOfferCollection.mapper()
827
807
  result.body = self.deserialize(result_mapper, parsed_response)
828
808
  rescue Exception => e
829
809
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -877,7 +857,7 @@ module Azure::ARM::Web
877
857
  #
878
858
  def list_skus_async(custom_headers = nil)
879
859
  fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
880
- api_version = '2016-03-01'
860
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
881
861
 
882
862
 
883
863
  request_headers = {}
@@ -912,7 +892,7 @@ module Azure::ARM::Web
912
892
  if status_code == 200
913
893
  begin
914
894
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
915
- result_mapper = Azure::ARM::Web::Models::SkuInfos.mapper()
895
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::SkuInfos.mapper()
916
896
  result.body = self.deserialize(result_mapper, parsed_response)
917
897
  rescue Exception => e
918
898
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -973,7 +953,7 @@ module Azure::ARM::Web
973
953
  def verify_hosting_environment_vnet_async(parameters, custom_headers = nil)
974
954
  fail ArgumentError, 'parameters is nil' if parameters.nil?
975
955
  fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
976
- api_version = '2016-03-01'
956
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
977
957
 
978
958
 
979
959
  request_headers = {}
@@ -985,7 +965,7 @@ module Azure::ARM::Web
985
965
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
986
966
 
987
967
  # Serialize Request
988
- request_mapper = Azure::ARM::Web::Models::VnetParameters.mapper()
968
+ request_mapper = Azure::Web::Mgmt::V2016_03_01::Models::VnetParameters.mapper()
989
969
  request_content = self.serialize(request_mapper, parameters)
990
970
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
991
971
 
@@ -1017,7 +997,7 @@ module Azure::ARM::Web
1017
997
  if status_code == 200
1018
998
  begin
1019
999
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1020
- result_mapper = Azure::ARM::Web::Models::VnetValidationFailureDetails.mapper()
1000
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationFailureDetails.mapper()
1021
1001
  result.body = self.deserialize(result_mapper, parsed_response)
1022
1002
  rescue Exception => e
1023
1003
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1084,7 +1064,7 @@ module Azure::ARM::Web
1084
1064
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1085
1065
  fail ArgumentError, 'move_resource_envelope is nil' if move_resource_envelope.nil?
1086
1066
  fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
1087
- api_version = '2016-03-01'
1067
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
1088
1068
 
1089
1069
 
1090
1070
  request_headers = {}
@@ -1096,7 +1076,7 @@ module Azure::ARM::Web
1096
1076
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
1097
1077
 
1098
1078
  # Serialize Request
1099
- request_mapper = Azure::ARM::Web::Models::CsmMoveResourceEnvelope.mapper()
1079
+ request_mapper = Azure::Web::Mgmt::V2016_03_01::Models::CsmMoveResourceEnvelope.mapper()
1100
1080
  request_content = self.serialize(request_mapper, move_resource_envelope)
1101
1081
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1102
1082
 
@@ -1186,7 +1166,7 @@ module Azure::ARM::Web
1186
1166
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1187
1167
  fail ArgumentError, 'validate_request is nil' if validate_request.nil?
1188
1168
  fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
1189
- api_version = '2016-03-01'
1169
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
1190
1170
 
1191
1171
 
1192
1172
  request_headers = {}
@@ -1198,7 +1178,7 @@ module Azure::ARM::Web
1198
1178
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
1199
1179
 
1200
1180
  # Serialize Request
1201
- request_mapper = Azure::ARM::Web::Models::ValidateRequest.mapper()
1181
+ request_mapper = Azure::Web::Mgmt::V2016_03_01::Models::ValidateRequest.mapper()
1202
1182
  request_content = self.serialize(request_mapper, validate_request)
1203
1183
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1204
1184
 
@@ -1230,7 +1210,7 @@ module Azure::ARM::Web
1230
1210
  if status_code == 200
1231
1211
  begin
1232
1212
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1233
- result_mapper = Azure::ARM::Web::Models::ValidateResponse.mapper()
1213
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponse.mapper()
1234
1214
  result.body = self.deserialize(result_mapper, parsed_response)
1235
1215
  rescue Exception => e
1236
1216
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1297,7 +1277,7 @@ module Azure::ARM::Web
1297
1277
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1298
1278
  fail ArgumentError, 'move_resource_envelope is nil' if move_resource_envelope.nil?
1299
1279
  fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
1300
- api_version = '2016-03-01'
1280
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
1301
1281
 
1302
1282
 
1303
1283
  request_headers = {}
@@ -1309,7 +1289,7 @@ module Azure::ARM::Web
1309
1289
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
1310
1290
 
1311
1291
  # Serialize Request
1312
- request_mapper = Azure::ARM::Web::Models::CsmMoveResourceEnvelope.mapper()
1292
+ request_mapper = Azure::Web::Mgmt::V2016_03_01::Models::CsmMoveResourceEnvelope.mapper()
1313
1293
  request_content = self.serialize(request_mapper, move_resource_envelope)
1314
1294
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1315
1295
 
@@ -1424,7 +1404,7 @@ module Azure::ARM::Web
1424
1404
  if status_code == 200
1425
1405
  begin
1426
1406
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1427
- result_mapper = Azure::ARM::Web::Models::SourceControlCollection.mapper()
1407
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::SourceControlCollection.mapper()
1428
1408
  result.body = self.deserialize(result_mapper, parsed_response)
1429
1409
  rescue Exception => e
1430
1410
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1517,7 +1497,7 @@ module Azure::ARM::Web
1517
1497
  if status_code == 200
1518
1498
  begin
1519
1499
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1520
- result_mapper = Azure::ARM::Web::Models::GeoRegionCollection.mapper()
1500
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::GeoRegionCollection.mapper()
1521
1501
  result.body = self.deserialize(result_mapper, parsed_response)
1522
1502
  rescue Exception => e
1523
1503
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1610,7 +1590,7 @@ module Azure::ARM::Web
1610
1590
  if status_code == 200
1611
1591
  begin
1612
1592
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1613
- result_mapper = Azure::ARM::Web::Models::PremierAddOnOfferCollection.mapper()
1593
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOfferCollection.mapper()
1614
1594
  result.body = self.deserialize(result_mapper, parsed_response)
1615
1595
  rescue Exception => e
1616
1596
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1663,7 +1643,6 @@ module Azure::ARM::Web
1663
1643
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1664
1644
  #
1665
1645
  def list_source_controls_as_lazy_async(custom_headers = nil)
1666
- api_version = '2016-03-01'
1667
1646
 
1668
1647
 
1669
1648
  request_headers = {}
@@ -1673,7 +1652,6 @@ module Azure::ARM::Web
1673
1652
 
1674
1653
  options = {
1675
1654
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1676
- query_params: {'api-version' => api_version},
1677
1655
  headers: request_headers.merge(custom_headers || {}),
1678
1656
  base_url: request_url
1679
1657
  }
@@ -1693,7 +1671,7 @@ module Azure::ARM::Web
1693
1671
  if status_code == 200
1694
1672
  begin
1695
1673
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1696
- result_mapper = Azure::ARM::Web::Models::SourceControlCollection.mapper()
1674
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::SourceControlCollection.mapper()
1697
1675
  result.body = self.deserialize(result_mapper, parsed_response)
1698
1676
  rescue Exception => e
1699
1677
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1761,7 +1739,6 @@ module Azure::ARM::Web
1761
1739
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1762
1740
  #
1763
1741
  def list_geo_regions_as_lazy_async(sku = nil, linux_workers_enabled = nil, custom_headers = nil)
1764
- api_version = '2016-03-01'
1765
1742
 
1766
1743
 
1767
1744
  request_headers = {}
@@ -1771,7 +1748,7 @@ module Azure::ARM::Web
1771
1748
 
1772
1749
  options = {
1773
1750
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1774
- query_params: {'sku' => sku,'linuxWorkersEnabled' => linux_workers_enabled,'api-version' => api_version},
1751
+ query_params: {'sku' => sku,'linuxWorkersEnabled' => linux_workers_enabled},
1775
1752
  headers: request_headers.merge(custom_headers || {}),
1776
1753
  base_url: request_url
1777
1754
  }
@@ -1791,7 +1768,7 @@ module Azure::ARM::Web
1791
1768
  if status_code == 200
1792
1769
  begin
1793
1770
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1794
- result_mapper = Azure::ARM::Web::Models::GeoRegionCollection.mapper()
1771
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::GeoRegionCollection.mapper()
1795
1772
  result.body = self.deserialize(result_mapper, parsed_response)
1796
1773
  rescue Exception => e
1797
1774
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1844,7 +1821,6 @@ module Azure::ARM::Web
1844
1821
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1845
1822
  #
1846
1823
  def list_premier_add_on_offers_as_lazy_async(custom_headers = nil)
1847
- api_version = '2016-03-01'
1848
1824
 
1849
1825
 
1850
1826
  request_headers = {}
@@ -1854,7 +1830,6 @@ module Azure::ARM::Web
1854
1830
 
1855
1831
  options = {
1856
1832
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1857
- query_params: {'api-version' => api_version},
1858
1833
  headers: request_headers.merge(custom_headers || {}),
1859
1834
  base_url: request_url
1860
1835
  }
@@ -1874,7 +1849,7 @@ module Azure::ARM::Web
1874
1849
  if status_code == 200
1875
1850
  begin
1876
1851
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1877
- result_mapper = Azure::ARM::Web::Models::PremierAddOnOfferCollection.mapper()
1852
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOfferCollection.mapper()
1878
1853
  result.body = self.deserialize(result_mapper, parsed_response)
1879
1854
  rescue Exception => e
1880
1855
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1894,8 +1869,8 @@ module Azure::ARM::Web
1894
1869
  #
1895
1870
  def add_telemetry
1896
1871
  sdk_information = 'azure_mgmt_web'
1897
- if defined? Azure::ARM::Web::VERSION
1898
- sdk_information = "#{sdk_information}/#{Azure::ARM::Web::VERSION}"
1872
+ if defined? Azure::Web::Mgmt::V2016_03_01::VERSION
1873
+ sdk_information = "#{sdk_information}/#{Azure::Web::Mgmt::V2016_03_01::VERSION}"
1899
1874
  end
1900
1875
  add_user_agent_information(sdk_information)
1901
1876
  end