azure_mgmt_web 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (418) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-04-01/generated/azure_mgmt_web.rb +41 -39
  3. data/lib/2015-04-01/generated/azure_mgmt_web/domain_registration_provider.rb +1 -1
  4. data/lib/2015-04-01/generated/azure_mgmt_web/domains.rb +1 -1
  5. data/lib/2015-04-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
  6. data/lib/2015-04-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
  7. data/lib/2015-04-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
  8. data/lib/2015-04-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  9. data/lib/2015-04-01/generated/azure_mgmt_web/top_level_domains.rb +1 -1
  10. data/lib/2015-04-01/generated/azure_mgmt_web/web_site_management_client.rb +11 -10
  11. data/lib/2015-08-01/generated/azure_mgmt_web.rb +2 -0
  12. data/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +1 -1
  13. data/lib/2015-08-01/generated/azure_mgmt_web/certificate_registration_provider.rb +1 -1
  14. data/lib/2015-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
  15. data/lib/2015-08-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
  16. data/lib/2015-08-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
  17. data/lib/2015-08-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  18. data/lib/2015-08-01/generated/azure_mgmt_web/web_site_management_client.rb +7 -6
  19. data/lib/2016-03-01/generated/azure_mgmt_web.rb +76 -52
  20. data/lib/2016-03-01/generated/azure_mgmt_web/billing_meters.rb +235 -0
  21. data/lib/2016-03-01/generated/azure_mgmt_web/certificates.rb +1 -1
  22. data/lib/2016-03-01/generated/azure_mgmt_web/deleted_web_apps.rb +1 -1
  23. data/lib/2016-03-01/generated/azure_mgmt_web/diagnostics.rb +1143 -111
  24. data/lib/2016-03-01/generated/azure_mgmt_web/models/application_stack.rb +109 -0
  25. data/lib/2016-03-01/generated/azure_mgmt_web/models/application_stack_collection.rb +99 -0
  26. data/lib/2016-03-01/generated/azure_mgmt_web/models/billing_meter.rb +126 -0
  27. data/lib/2016-03-01/generated/azure_mgmt_web/models/billing_meter_collection.rb +99 -0
  28. data/lib/2016-03-01/generated/azure_mgmt_web/models/data_table_response_column.rb +68 -0
  29. data/lib/2016-03-01/generated/azure_mgmt_web/models/data_table_response_object.rb +94 -0
  30. data/lib/2016-03-01/generated/azure_mgmt_web/models/default_error_response.rb +48 -0
  31. data/lib/2016-03-01/generated/azure_mgmt_web/models/default_error_response_error.rb +104 -0
  32. data/lib/2016-03-01/generated/azure_mgmt_web/models/default_error_response_error_details_item.rb +72 -0
  33. data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_info.rb +83 -0
  34. data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_response.rb +102 -0
  35. data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_response_collection.rb +99 -0
  36. data/lib/2016-03-01/generated/azure_mgmt_web/models/diagnostic_data.rb +60 -0
  37. data/lib/2016-03-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
  38. data/lib/2016-03-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
  39. data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation.rb +57 -22
  40. data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation_collection.rb +99 -0
  41. data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation_rule.rb +49 -14
  42. data/lib/2016-03-01/generated/azure_mgmt_web/models/rendering.rb +71 -0
  43. data/lib/2016-03-01/generated/azure_mgmt_web/models/rendering_type.rb +18 -0
  44. data/lib/2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata.rb +93 -0
  45. data/lib/2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata_collection.rb +99 -0
  46. data/lib/2016-03-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
  47. data/lib/2016-03-01/generated/azure_mgmt_web/models/stack_major_version.rb +90 -0
  48. data/lib/2016-03-01/generated/azure_mgmt_web/models/stack_minor_version.rb +69 -0
  49. data/lib/2016-03-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  50. data/lib/2016-03-01/generated/azure_mgmt_web/provider.rb +277 -17
  51. data/lib/2016-03-01/generated/azure_mgmt_web/recommendations.rb +582 -67
  52. data/lib/2016-03-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb +1161 -0
  53. data/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb +16 -6
  54. data/lib/2016-08-01/generated/azure_mgmt_web.rb +2 -0
  55. data/lib/2016-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
  56. data/lib/2016-08-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
  57. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
  58. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_config_resource.rb +26 -0
  59. data/lib/2016-08-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  60. data/lib/2016-08-01/generated/azure_mgmt_web/web_apps.rb +87 -102
  61. data/lib/2016-08-01/generated/azure_mgmt_web/web_site_management_client.rb +7 -6
  62. data/lib/2016-09-01/generated/azure_mgmt_web.rb +2 -0
  63. data/lib/2016-09-01/generated/azure_mgmt_web/app_service_environments.rb +3 -3
  64. data/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb +1 -1
  65. data/lib/2016-09-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
  66. data/lib/2016-09-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
  67. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
  68. data/lib/2016-09-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  69. data/lib/2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb +7 -6
  70. data/lib/2018-02-01/generated/azure_mgmt_web.rb +369 -0
  71. data/lib/2018-02-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +2651 -0
  72. data/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb +8089 -0
  73. data/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb +4314 -0
  74. data/lib/2018-02-01/generated/azure_mgmt_web/certificate_registration_provider.rb +243 -0
  75. data/lib/2018-02-01/generated/azure_mgmt_web/certificates.rb +882 -0
  76. data/lib/2018-02-01/generated/azure_mgmt_web/deleted_web_apps.rb +231 -0
  77. data/lib/2018-02-01/generated/azure_mgmt_web/diagnostics.rb +3845 -0
  78. data/lib/2018-02-01/generated/azure_mgmt_web/domain_registration_provider.rb +243 -0
  79. data/lib/2018-02-01/generated/azure_mgmt_web/domains.rb +2145 -0
  80. data/lib/2018-02-01/generated/azure_mgmt_web/models/abnormal_time_period.rb +98 -0
  81. data/lib/2018-02-01/generated/azure_mgmt_web/models/access_control_entry_action.rb +16 -0
  82. data/lib/2018-02-01/generated/azure_mgmt_web/models/address.rb +101 -0
  83. data/lib/2018-02-01/generated/azure_mgmt_web/models/address_response.rb +97 -0
  84. data/lib/2018-02-01/generated/azure_mgmt_web/models/analysis_data.rb +118 -0
  85. data/lib/2018-02-01/generated/azure_mgmt_web/models/analysis_definition.rb +82 -0
  86. data/lib/2018-02-01/generated/azure_mgmt_web/models/api_definition_info.rb +46 -0
  87. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate.rb +76 -0
  88. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_collection.rb +99 -0
  89. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order.rb +359 -0
  90. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +99 -0
  91. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order_patch_resource.rb +335 -0
  92. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_patch_resource.rb +112 -0
  93. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_resource.rb +136 -0
  94. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment.rb +570 -0
  95. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb +99 -0
  96. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_patch_resource.rb +605 -0
  97. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb +629 -0
  98. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan.rb +329 -0
  99. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb +99 -0
  100. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb +293 -0
  101. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_restrictions.rb +20 -0
  102. data/lib/2018-02-01/generated/azure_mgmt_web/models/application_logs_config.rb +74 -0
  103. data/lib/2018-02-01/generated/azure_mgmt_web/models/application_stack.rb +109 -0
  104. data/lib/2018-02-01/generated/azure_mgmt_web/models/application_stack_collection.rb +99 -0
  105. data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb +17 -0
  106. data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_actions.rb +72 -0
  107. data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +58 -0
  108. data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_rules.rb +61 -0
  109. data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb +91 -0
  110. data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +73 -0
  111. data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +72 -0
  112. data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_resource_type.rb +16 -0
  113. data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +60 -0
  114. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item.rb +257 -0
  115. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item_collection.rb +99 -0
  116. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item_status.rb +24 -0
  117. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_request.rb +128 -0
  118. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_restore_operation_type.rb +19 -0
  119. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_schedule.rb +116 -0
  120. data/lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter.rb +137 -0
  121. data/lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter_collection.rb +99 -0
  122. data/lib/2018-02-01/generated/azure_mgmt_web/models/built_in_authentication_provider.rb +19 -0
  123. data/lib/2018-02-01/generated/azure_mgmt_web/models/capability.rb +68 -0
  124. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate.rb +335 -0
  125. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_collection.rb +99 -0
  126. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_details.rb +143 -0
  127. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_email.rb +92 -0
  128. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_order_action.rb +101 -0
  129. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_order_action_type.rb +28 -0
  130. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_order_status.rb +24 -0
  131. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb +311 -0
  132. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_product_type.rb +16 -0
  133. data/lib/2018-02-01/generated/azure_mgmt_web/models/channels.rb +19 -0
  134. data/lib/2018-02-01/generated/azure_mgmt_web/models/check_name_resource_types.rb +22 -0
  135. data/lib/2018-02-01/generated/azure_mgmt_web/models/clone_ability_result.rb +17 -0
  136. data/lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb +170 -0
  137. data/lib/2018-02-01/generated/azure_mgmt_web/models/compute_mode_options.rb +17 -0
  138. data/lib/2018-02-01/generated/azure_mgmt_web/models/conn_string_info.rb +71 -0
  139. data/lib/2018-02-01/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +60 -0
  140. data/lib/2018-02-01/generated/azure_mgmt_web/models/connection_string_dictionary.rb +90 -0
  141. data/lib/2018-02-01/generated/azure_mgmt_web/models/connection_string_type.rb +25 -0
  142. data/lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb +138 -0
  143. data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job.rb +192 -0
  144. data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job_collection.rb +99 -0
  145. data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job_status.rb +19 -0
  146. data/lib/2018-02-01/generated/azure_mgmt_web/models/cors_settings.rb +56 -0
  147. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +71 -0
  148. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_collection.rb +99 -0
  149. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_description.rb +82 -0
  150. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb +47 -0
  151. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_display.rb +79 -0
  152. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +49 -0
  153. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_slot_entity.rb +58 -0
  154. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_usage_quota.rb +91 -0
  155. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +99 -0
  156. data/lib/2018-02-01/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +16 -0
  157. data/lib/2018-02-01/generated/azure_mgmt_web/models/custom_hostname_analysis_result.rb +249 -0
  158. data/lib/2018-02-01/generated/azure_mgmt_web/models/data_source.rb +74 -0
  159. data/lib/2018-02-01/generated/azure_mgmt_web/models/data_table_response_column.rb +68 -0
  160. data/lib/2018-02-01/generated/azure_mgmt_web/models/data_table_response_object.rb +94 -0
  161. data/lib/2018-02-01/generated/azure_mgmt_web/models/database_backup_setting.rb +84 -0
  162. data/lib/2018-02-01/generated/azure_mgmt_web/models/database_type.rb +18 -0
  163. data/lib/2018-02-01/generated/azure_mgmt_web/models/default_error_response.rb +48 -0
  164. data/lib/2018-02-01/generated/azure_mgmt_web/models/default_error_response_error.rb +104 -0
  165. data/lib/2018-02-01/generated/azure_mgmt_web/models/default_error_response_error_details_item.rb +72 -0
  166. data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_app_restore_request.rb +107 -0
  167. data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_site.rb +107 -0
  168. data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +99 -0
  169. data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment.rb +170 -0
  170. data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment_collection.rb +99 -0
  171. data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment_locations.rb +98 -0
  172. data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_abnormal_time_period.rb +153 -0
  173. data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_definition.rb +118 -0
  174. data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_info.rb +83 -0
  175. data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_response.rb +102 -0
  176. data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_response_collection.rb +99 -0
  177. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_analysis.rb +153 -0
  178. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_analysis_collection.rb +99 -0
  179. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_category.rb +82 -0
  180. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_category_collection.rb +99 -0
  181. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_data.rb +60 -0
  182. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_collection.rb +99 -0
  183. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb +197 -0
  184. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_metric_sample.rb +109 -0
  185. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_metric_set.rb +113 -0
  186. data/lib/2018-02-01/generated/azure_mgmt_web/models/dimension.rb +81 -0
  187. data/lib/2018-02-01/generated/azure_mgmt_web/models/dns_type.rb +16 -0
  188. data/lib/2018-02-01/generated/azure_mgmt_web/models/dns_verification_test_result.rb +17 -0
  189. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain.rb +372 -0
  190. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_availablility_check_result.rb +73 -0
  191. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_collection.rb +99 -0
  192. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +72 -0
  193. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_ownership_identifier.rb +81 -0
  194. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +99 -0
  195. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_patch_resource.rb +348 -0
  196. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_purchase_consent.rb +79 -0
  197. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +58 -0
  198. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_status.rb +35 -0
  199. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_type.rb +16 -0
  200. data/lib/2018-02-01/generated/azure_mgmt_web/models/enabled_config.rb +47 -0
  201. data/lib/2018-02-01/generated/azure_mgmt_web/models/error_entity.rb +118 -0
  202. data/lib/2018-02-01/generated/azure_mgmt_web/models/experiments.rb +55 -0
  203. data/lib/2018-02-01/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +49 -0
  204. data/lib/2018-02-01/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +78 -0
  205. data/lib/2018-02-01/generated/azure_mgmt_web/models/frequency_unit.rb +16 -0
  206. data/lib/2018-02-01/generated/azure_mgmt_web/models/ftps_state.rb +17 -0
  207. data/lib/2018-02-01/generated/azure_mgmt_web/models/function_envelope.rb +177 -0
  208. data/lib/2018-02-01/generated/azure_mgmt_web/models/function_envelope_collection.rb +99 -0
  209. data/lib/2018-02-01/generated/azure_mgmt_web/models/function_secrets.rb +92 -0
  210. data/lib/2018-02-01/generated/azure_mgmt_web/models/geo_region.rb +94 -0
  211. data/lib/2018-02-01/generated/azure_mgmt_web/models/geo_region_collection.rb +99 -0
  212. data/lib/2018-02-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb +131 -0
  213. data/lib/2018-02-01/generated/azure_mgmt_web/models/handler_mapping.rb +73 -0
  214. data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name.rb +119 -0
  215. data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_binding.rb +179 -0
  216. data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_binding_collection.rb +99 -0
  217. data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb +106 -0
  218. data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_type.rb +16 -0
  219. data/lib/2018-02-01/generated/azure_mgmt_web/models/host_type.rb +16 -0
  220. data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb +57 -0
  221. data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +57 -0
  222. data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +70 -0
  223. data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_status.rb +18 -0
  224. data/lib/2018-02-01/generated/azure_mgmt_web/models/http_logs_config.rb +61 -0
  225. data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection.rb +163 -0
  226. data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_collection.rb +99 -0
  227. data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb +95 -0
  228. data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_limits.rb +95 -0
  229. data/lib/2018-02-01/generated/azure_mgmt_web/models/identifier.rb +81 -0
  230. data/lib/2018-02-01/generated/azure_mgmt_web/models/identifier_collection.rb +99 -0
  231. data/lib/2018-02-01/generated/azure_mgmt_web/models/in_availability_reason_type.rb +16 -0
  232. data/lib/2018-02-01/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb +17 -0
  233. data/lib/2018-02-01/generated/azure_mgmt_web/models/ip_filter_tag.rb +16 -0
  234. data/lib/2018-02-01/generated/azure_mgmt_web/models/ip_security_restriction.rb +120 -0
  235. data/lib/2018-02-01/generated/azure_mgmt_web/models/issue_type.rb +22 -0
  236. data/lib/2018-02-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb +25 -0
  237. data/lib/2018-02-01/generated/azure_mgmt_web/models/localizable_string.rb +57 -0
  238. data/lib/2018-02-01/generated/azure_mgmt_web/models/log_level.rb +19 -0
  239. data/lib/2018-02-01/generated/azure_mgmt_web/models/log_specification.rb +68 -0
  240. data/lib/2018-02-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb +16 -0
  241. data/lib/2018-02-01/generated/azure_mgmt_web/models/managed_service_identity.rb +91 -0
  242. data/lib/2018-02-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +16 -0
  243. data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_availabilily.rb +57 -0
  244. data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_availability.rb +57 -0
  245. data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_definition.rb +128 -0
  246. data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_specification.rb +218 -0
  247. data/lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_request.rb +94 -0
  248. data/lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_status.rb +108 -0
  249. data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy.rb +165 -0
  250. data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_log.rb +91 -0
  251. data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_log_entry.rb +73 -0
  252. data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_log_entry_type.rb +17 -0
  253. data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_provisioning_state.rb +19 -0
  254. data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_status.rb +132 -0
  255. data/lib/2018-02-01/generated/azure_mgmt_web/models/my_sql_migration_type.rb +16 -0
  256. data/lib/2018-02-01/generated/azure_mgmt_web/models/name_identifier.rb +46 -0
  257. data/lib/2018-02-01/generated/azure_mgmt_web/models/name_identifier_collection.rb +99 -0
  258. data/lib/2018-02-01/generated/azure_mgmt_web/models/name_value_pair.rb +57 -0
  259. data/lib/2018-02-01/generated/azure_mgmt_web/models/network_access_control_entry.rb +81 -0
  260. data/lib/2018-02-01/generated/azure_mgmt_web/models/network_features.rb +140 -0
  261. data/lib/2018-02-01/generated/azure_mgmt_web/models/notification_level.rb +18 -0
  262. data/lib/2018-02-01/generated/azure_mgmt_web/models/operation.rb +135 -0
  263. data/lib/2018-02-01/generated/azure_mgmt_web/models/operation_status.rb +19 -0
  264. data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +99 -0
  265. data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_response.rb +69 -0
  266. data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_sample.rb +68 -0
  267. data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_set.rb +100 -0
  268. data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on.rb +149 -0
  269. data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_offer.rb +184 -0
  270. data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +99 -0
  271. data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_patch_resource.rb +125 -0
  272. data/lib/2018-02-01/generated/azure_mgmt_web/models/private_access.rb +102 -0
  273. data/lib/2018-02-01/generated/azure_mgmt_web/models/private_access_subnet.rb +58 -0
  274. data/lib/2018-02-01/generated/azure_mgmt_web/models/private_access_virtual_network.rb +91 -0
  275. data/lib/2018-02-01/generated/azure_mgmt_web/models/process_info.rb +509 -0
  276. data/lib/2018-02-01/generated/azure_mgmt_web/models/process_info_collection.rb +99 -0
  277. data/lib/2018-02-01/generated/azure_mgmt_web/models/process_module_info.rb +192 -0
  278. data/lib/2018-02-01/generated/azure_mgmt_web/models/process_module_info_collection.rb +99 -0
  279. data/lib/2018-02-01/generated/azure_mgmt_web/models/process_thread_info.rb +214 -0
  280. data/lib/2018-02-01/generated/azure_mgmt_web/models/process_thread_info_collection.rb +99 -0
  281. data/lib/2018-02-01/generated/azure_mgmt_web/models/provisioning_state.rb +19 -0
  282. data/lib/2018-02-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +83 -0
  283. data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate.rb +106 -0
  284. data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate_collection.rb +99 -0
  285. data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate_location.rb +17 -0
  286. data/lib/2018-02-01/generated/azure_mgmt_web/models/publishing_profile_format.rb +17 -0
  287. data/lib/2018-02-01/generated/azure_mgmt_web/models/push_settings.rb +123 -0
  288. data/lib/2018-02-01/generated/azure_mgmt_web/models/ramp_up_rule.rb +141 -0
  289. data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation.rb +360 -0
  290. data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation_collection.rb +99 -0
  291. data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation_rule.rb +237 -0
  292. data/lib/2018-02-01/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +116 -0
  293. data/lib/2018-02-01/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +147 -0
  294. data/lib/2018-02-01/generated/azure_mgmt_web/models/rendering.rb +71 -0
  295. data/lib/2018-02-01/generated/azure_mgmt_web/models/rendering_type.rb +18 -0
  296. data/lib/2018-02-01/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +104 -0
  297. data/lib/2018-02-01/generated/azure_mgmt_web/models/requests_based_trigger.rb +57 -0
  298. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource.rb +112 -0
  299. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_collection.rb +98 -0
  300. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric.rb +163 -0
  301. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb +59 -0
  302. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_collection.rb +99 -0
  303. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_definition.rb +148 -0
  304. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +99 -0
  305. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_name.rb +59 -0
  306. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb +57 -0
  307. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_value.rb +129 -0
  308. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_name_availability.rb +78 -0
  309. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_name_availability_request.rb +71 -0
  310. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_scope_type.rb +17 -0
  311. data/lib/2018-02-01/generated/azure_mgmt_web/models/response_meta_data.rb +48 -0
  312. data/lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb +217 -0
  313. data/lib/2018-02-01/generated/azure_mgmt_web/models/route_type.rb +17 -0
  314. data/lib/2018-02-01/generated/azure_mgmt_web/models/scm_type.rb +27 -0
  315. data/lib/2018-02-01/generated/azure_mgmt_web/models/service_specification.rb +76 -0
  316. data/lib/2018-02-01/generated/azure_mgmt_web/models/site.rb +554 -0
  317. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_auth_settings.rb +477 -0
  318. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_availability_state.rb +17 -0
  319. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_cloneability.rb +113 -0
  320. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +57 -0
  321. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config.rb +676 -0
  322. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config_resource.rb +711 -0
  323. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config_resource_collection.rb +99 -0
  324. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info.rb +94 -0
  325. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info_collection.rb +101 -0
  326. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_info.rb +301 -0
  327. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_info_collection.rb +99 -0
  328. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_type.rb +16 -0
  329. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_instance.rb +82 -0
  330. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_limits.rb +68 -0
  331. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_load_balancing.rb +19 -0
  332. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_logs_config.rb +118 -0
  333. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_machine_key.rb +79 -0
  334. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_patch_resource.rb +518 -0
  335. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_php_error_log_flag.rb +114 -0
  336. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_seal.rb +46 -0
  337. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_seal_request.rb +58 -0
  338. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_source_control.rb +129 -0
  339. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_capacity.rb +83 -0
  340. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb +142 -0
  341. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_info.rb +70 -0
  342. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_info_collection.rb +99 -0
  343. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_infos.rb +67 -0
  344. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_name.rb +22 -0
  345. data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_config_names_resource.rb +108 -0
  346. data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_difference.rb +157 -0
  347. data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_difference_collection.rb +99 -0
  348. data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_swap_status.rb +71 -0
  349. data/lib/2018-02-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +68 -0
  350. data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot.rb +82 -0
  351. data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_collection.rb +100 -0
  352. data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb +62 -0
  353. data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_restore_request.rb +133 -0
  354. data/lib/2018-02-01/generated/azure_mgmt_web/models/solution.rb +148 -0
  355. data/lib/2018-02-01/generated/azure_mgmt_web/models/solution_type.rb +17 -0
  356. data/lib/2018-02-01/generated/azure_mgmt_web/models/source_control.rb +114 -0
  357. data/lib/2018-02-01/generated/azure_mgmt_web/models/source_control_collection.rb +99 -0
  358. data/lib/2018-02-01/generated/azure_mgmt_web/models/ssl_state.rb +17 -0
  359. data/lib/2018-02-01/generated/azure_mgmt_web/models/stack_major_version.rb +90 -0
  360. data/lib/2018-02-01/generated/azure_mgmt_web/models/stack_minor_version.rb +69 -0
  361. data/lib/2018-02-01/generated/azure_mgmt_web/models/stamp_capacity.rb +167 -0
  362. data/lib/2018-02-01/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +99 -0
  363. data/lib/2018-02-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +90 -0
  364. data/lib/2018-02-01/generated/azure_mgmt_web/models/status_options.rb +17 -0
  365. data/lib/2018-02-01/generated/azure_mgmt_web/models/storage_migration_options.rb +119 -0
  366. data/lib/2018-02-01/generated/azure_mgmt_web/models/storage_migration_response.rb +83 -0
  367. data/lib/2018-02-01/generated/azure_mgmt_web/models/string_dictionary.rb +89 -0
  368. data/lib/2018-02-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  369. data/lib/2018-02-01/generated/azure_mgmt_web/models/swift_virtual_network.rb +96 -0
  370. data/lib/2018-02-01/generated/azure_mgmt_web/models/tld_legal_agreement.rb +79 -0
  371. data/lib/2018-02-01/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +99 -0
  372. data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain.rb +82 -0
  373. data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +61 -0
  374. data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_collection.rb +99 -0
  375. data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_history.rb +91 -0
  376. data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_history_collection.rb +99 -0
  377. data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_run.rb +193 -0
  378. data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job.rb +191 -0
  379. data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job_collection.rb +99 -0
  380. data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job_status.rb +17 -0
  381. data/lib/2018-02-01/generated/azure_mgmt_web/models/unauthenticated_client_action.rb +16 -0
  382. data/lib/2018-02-01/generated/azure_mgmt_web/models/usage.rb +168 -0
  383. data/lib/2018-02-01/generated/azure_mgmt_web/models/usage_collection.rb +99 -0
  384. data/lib/2018-02-01/generated/azure_mgmt_web/models/usage_state.rb +16 -0
  385. data/lib/2018-02-01/generated/azure_mgmt_web/models/user.rb +125 -0
  386. data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_request.rb +155 -0
  387. data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_resource_types.rb +16 -0
  388. data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_response.rb +59 -0
  389. data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_response_error.rb +57 -0
  390. data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_application.rb +90 -0
  391. data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_directory.rb +57 -0
  392. data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb +79 -0
  393. data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_network_profile.rb +81 -0
  394. data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_gateway.rb +93 -0
  395. data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_info.rb +153 -0
  396. data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_parameters.rb +103 -0
  397. data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_route.rb +115 -0
  398. data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_validation_failure_details.rb +102 -0
  399. data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_validation_test_failure.rb +93 -0
  400. data/lib/2018-02-01/generated/azure_mgmt_web/models/web_app_collection.rb +99 -0
  401. data/lib/2018-02-01/generated/azure_mgmt_web/models/web_app_instance_collection.rb +99 -0
  402. data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job.rb +157 -0
  403. data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job_collection.rb +99 -0
  404. data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job_type.rb +16 -0
  405. data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool.rb +102 -0
  406. data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool_collection.rb +99 -0
  407. data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool_resource.rb +149 -0
  408. data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_size_options.rb +21 -0
  409. data/lib/2018-02-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  410. data/lib/2018-02-01/generated/azure_mgmt_web/provider.rb +661 -0
  411. data/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb +1331 -0
  412. data/lib/2018-02-01/generated/azure_mgmt_web/top_level_domains.rb +566 -0
  413. data/lib/2018-02-01/generated/azure_mgmt_web/web_apps.rb +45908 -0
  414. data/lib/2018-02-01/generated/azure_mgmt_web/web_site_management_client.rb +2701 -0
  415. data/lib/azure_mgmt_web.rb +3 -2
  416. data/lib/profiles/latest/modules/web_profile_module.rb +1045 -969
  417. data/lib/version.rb +1 -1
  418. metadata +382 -5
@@ -24,15 +24,16 @@ module Azure::Web::Mgmt::V2016_03_01
24
24
  # @return [String] API Version
25
25
  attr_reader :api_version
26
26
 
27
- # @return [String] Gets or sets the preferred language for the response.
27
+ # @return [String] The preferred language for the response.
28
28
  attr_accessor :accept_language
29
29
 
30
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
31
- # Running Operations. Default value is 30.
30
+ # @return [Integer] The retry timeout in seconds for Long Running
31
+ # Operations. Default value is 30.
32
32
  attr_accessor :long_running_operation_retry_timeout
33
33
 
34
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
35
- # is generated and included in each request. Default is true.
34
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
35
+ # generated. When set to true a unique x-ms-client-request-id value is
36
+ # generated and included in each request. Default is true.
36
37
  attr_accessor :generate_client_request_id
37
38
 
38
39
  # @return [Certificates] certificates
@@ -50,6 +51,13 @@ module Azure::Web::Mgmt::V2016_03_01
50
51
  # @return [Recommendations] recommendations
51
52
  attr_reader :recommendations
52
53
 
54
+ # @return [ResourceHealthMetadataOperations]
55
+ # resource_health_metadata_operations
56
+ attr_reader :resource_health_metadata_operations
57
+
58
+ # @return [BillingMeters] billing_meters
59
+ attr_reader :billing_meters
60
+
53
61
  #
54
62
  # Creates initializes a new instance of the WebSiteManagementClient class.
55
63
  # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
@@ -68,6 +76,8 @@ module Azure::Web::Mgmt::V2016_03_01
68
76
  @diagnostics = Diagnostics.new(self)
69
77
  @provider = Provider.new(self)
70
78
  @recommendations = Recommendations.new(self)
79
+ @resource_health_metadata_operations = ResourceHealthMetadataOperations.new(self)
80
+ @billing_meters = BillingMeters.new(self)
71
81
  @api_version = '2016-03-01'
72
82
  @accept_language = 'en-US'
73
83
  @long_running_operation_retry_timeout = 30
@@ -2369,7 +2379,7 @@ module Azure::Web::Mgmt::V2016_03_01
2369
2379
  #
2370
2380
  def add_telemetry
2371
2381
  sdk_information = 'azure_mgmt_web'
2372
- sdk_information = "#{sdk_information}/0.16.0"
2382
+ sdk_information = "#{sdk_information}/0.17.0"
2373
2383
  add_user_agent_information(sdk_information)
2374
2384
  end
2375
2385
  end
@@ -188,11 +188,13 @@ module Azure::Web::Mgmt::V2016_08_01
188
188
  autoload :ManagedPipelineMode, '2016-08-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb'
189
189
  autoload :SiteLoadBalancing, '2016-08-01/generated/azure_mgmt_web/models/site_load_balancing.rb'
190
190
  autoload :AutoHealActionType, '2016-08-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb'
191
+ autoload :SupportedTlsVersions, '2016-08-01/generated/azure_mgmt_web/models/supported_tls_versions.rb'
191
192
  autoload :SiteExtensionType, '2016-08-01/generated/azure_mgmt_web/models/site_extension_type.rb'
192
193
  autoload :UsageState, '2016-08-01/generated/azure_mgmt_web/models/usage_state.rb'
193
194
  autoload :SiteAvailabilityState, '2016-08-01/generated/azure_mgmt_web/models/site_availability_state.rb'
194
195
  autoload :HostType, '2016-08-01/generated/azure_mgmt_web/models/host_type.rb'
195
196
  autoload :TriggeredWebJobStatus, '2016-08-01/generated/azure_mgmt_web/models/triggered_web_job_status.rb'
197
+ autoload :ManagedServiceIdentityType, '2016-08-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb'
196
198
  autoload :StatusOptions, '2016-08-01/generated/azure_mgmt_web/models/status_options.rb'
197
199
  autoload :ProvisioningState, '2016-08-01/generated/azure_mgmt_web/models/provisioning_state.rb'
198
200
  end
@@ -12,7 +12,8 @@ module Azure::Web::Mgmt::V2016_08_01
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return Type of managed service identity.
15
+ # @return [ManagedServiceIdentityType] Type of managed service identity.
16
+ # Possible values include: 'SystemAssigned'
16
17
  attr_accessor :type
17
18
 
18
19
  # @return [String] Tenant of managed service identity.
@@ -40,7 +41,7 @@ module Azure::Web::Mgmt::V2016_08_01
40
41
  required: false,
41
42
  serialized_name: 'type',
42
43
  type: {
43
- name: 'Object'
44
+ name: 'String'
44
45
  }
45
46
  },
46
47
  tenant_id: {
@@ -0,0 +1,15 @@
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_08_01
7
+ module Models
8
+ #
9
+ # Defines values for ManagedServiceIdentityType
10
+ #
11
+ module ManagedServiceIdentityType
12
+ SystemAssigned = "SystemAssigned"
13
+ end
14
+ end
15
+ end
@@ -157,6 +157,15 @@ module Azure::Web::Mgmt::V2016_08_01
157
157
  # @return [Array<IpSecurityRestriction>] IP security restrictions.
158
158
  attr_accessor :ip_security_restrictions
159
159
 
160
+ # @return [Boolean] Http20Enabled: configures a web site to allow clients
161
+ # to connect over http2.0. Default value: true .
162
+ attr_accessor :http20enabled
163
+
164
+ # @return [SupportedTlsVersions] MinTlsVersion: configures the minimum
165
+ # version of TLS required for SSL requests. Possible values include:
166
+ # '1.0', '1.1', '1.2'
167
+ attr_accessor :min_tls_version
168
+
160
169
 
161
170
  #
162
171
  # Mapper for SiteConfig class as Ruby Hash.
@@ -579,6 +588,23 @@ module Azure::Web::Mgmt::V2016_08_01
579
588
  }
580
589
  }
581
590
  }
591
+ },
592
+ http20enabled: {
593
+ client_side_validation: true,
594
+ required: false,
595
+ serialized_name: 'http20Enabled',
596
+ default_value: true,
597
+ type: {
598
+ name: 'Boolean'
599
+ }
600
+ },
601
+ min_tls_version: {
602
+ client_side_validation: true,
603
+ required: false,
604
+ serialized_name: 'minTlsVersion',
605
+ type: {
606
+ name: 'String'
607
+ }
582
608
  }
583
609
  }
584
610
  }
@@ -157,6 +157,15 @@ module Azure::Web::Mgmt::V2016_08_01
157
157
  # @return [Array<IpSecurityRestriction>] IP security restrictions.
158
158
  attr_accessor :ip_security_restrictions
159
159
 
160
+ # @return [Boolean] Http20Enabled: configures a web site to allow clients
161
+ # to connect over http2.0. Default value: true .
162
+ attr_accessor :http20enabled
163
+
164
+ # @return [SupportedTlsVersions] MinTlsVersion: configures the minimum
165
+ # version of TLS required for SSL requests. Possible values include:
166
+ # '1.0', '1.1', '1.2'
167
+ attr_accessor :min_tls_version
168
+
160
169
 
161
170
  #
162
171
  # Mapper for SiteConfigResource class as Ruby Hash.
@@ -614,6 +623,23 @@ module Azure::Web::Mgmt::V2016_08_01
614
623
  }
615
624
  }
616
625
  }
626
+ },
627
+ http20enabled: {
628
+ client_side_validation: true,
629
+ required: false,
630
+ serialized_name: 'properties.http20Enabled',
631
+ default_value: true,
632
+ type: {
633
+ name: 'Boolean'
634
+ }
635
+ },
636
+ min_tls_version: {
637
+ client_side_validation: true,
638
+ required: false,
639
+ serialized_name: 'properties.minTlsVersion',
640
+ type: {
641
+ name: 'String'
642
+ }
617
643
  }
618
644
  }
619
645
  }
@@ -0,0 +1,17 @@
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_08_01
7
+ module Models
8
+ #
9
+ # Defines values for SupportedTlsVersions
10
+ #
11
+ module SupportedTlsVersions
12
+ OneFullStopZero = "1.0"
13
+ OneFullStopOne = "1.1"
14
+ OneFullStopTwo = "1.2"
15
+ end
16
+ end
17
+ end
@@ -5,7 +5,7 @@
5
5
 
6
6
  module Azure::Web::Mgmt::V2016_08_01
7
7
  #
8
- # WebApps
8
+ # WebSite Management Client
9
9
  #
10
10
  class WebApps
11
11
  include MsRestAzure
@@ -337,22 +337,13 @@ module Azure::Web::Mgmt::V2016_08_01
337
337
  # update a deployment slot, use the {slot} parameter.
338
338
  # @param site_envelope [Site] A JSON representation of the app properties. See
339
339
  # example.
340
- # @param skip_dns_registration [Boolean] If true web app hostname is not
341
- # registered with DNS on creation. This parameter is
342
- # only used for app creation.
343
- # @param skip_custom_domain_verification [Boolean] If true, custom (non
344
- # *.azurewebsites.net) domains associated with web app are not verified.
345
- # @param force_dns_registration [Boolean] If true, web app hostname is force
346
- # registered with DNS.
347
- # @param ttl_in_seconds [String] Time to live in seconds for web app's default
348
- # domain name.
349
340
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
350
341
  # will be added to the HTTP request.
351
342
  #
352
343
  # @return [Site] operation results.
353
344
  #
354
- def create_or_update(resource_group_name, name, site_envelope, skip_dns_registration:nil, skip_custom_domain_verification:nil, force_dns_registration:nil, ttl_in_seconds:nil, custom_headers:nil)
355
- response = create_or_update_async(resource_group_name, name, site_envelope, skip_dns_registration:skip_dns_registration, skip_custom_domain_verification:skip_custom_domain_verification, force_dns_registration:force_dns_registration, ttl_in_seconds:ttl_in_seconds, custom_headers:custom_headers).value!
345
+ def create_or_update(resource_group_name, name, site_envelope, custom_headers:nil)
346
+ response = create_or_update_async(resource_group_name, name, site_envelope, custom_headers:custom_headers).value!
356
347
  response.body unless response.nil?
357
348
  end
358
349
 
@@ -363,24 +354,15 @@ module Azure::Web::Mgmt::V2016_08_01
363
354
  # update a deployment slot, use the {slot} parameter.
364
355
  # @param site_envelope [Site] A JSON representation of the app properties. See
365
356
  # example.
366
- # @param skip_dns_registration [Boolean] If true web app hostname is not
367
- # registered with DNS on creation. This parameter is
368
- # only used for app creation.
369
- # @param skip_custom_domain_verification [Boolean] If true, custom (non
370
- # *.azurewebsites.net) domains associated with web app are not verified.
371
- # @param force_dns_registration [Boolean] If true, web app hostname is force
372
- # registered with DNS.
373
- # @param ttl_in_seconds [String] Time to live in seconds for web app's default
374
- # domain name.
375
357
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
376
358
  # will be added to the HTTP request.
377
359
  #
378
360
  # @return [Concurrent::Promise] promise which provides async access to http
379
361
  # response.
380
362
  #
381
- def create_or_update_async(resource_group_name, name, site_envelope, skip_dns_registration:nil, skip_custom_domain_verification:nil, force_dns_registration:nil, ttl_in_seconds:nil, custom_headers:nil)
363
+ def create_or_update_async(resource_group_name, name, site_envelope, custom_headers:nil)
382
364
  # Send request
383
- promise = begin_create_or_update_async(resource_group_name, name, site_envelope, skip_dns_registration:skip_dns_registration, skip_custom_domain_verification:skip_custom_domain_verification, force_dns_registration:force_dns_registration, ttl_in_seconds:ttl_in_seconds, custom_headers:custom_headers)
365
+ promise = begin_create_or_update_async(resource_group_name, name, site_envelope, custom_headers:custom_headers)
384
366
 
385
367
  promise = promise.then do |response|
386
368
  # Defining deserialization method.
@@ -408,13 +390,12 @@ module Azure::Web::Mgmt::V2016_08_01
408
390
  # @param delete_empty_server_farm [Boolean] Specify true if the App Service
409
391
  # plan will be empty after app deletion and you want to delete the empty App
410
392
  # Service plan. By default, the empty App Service plan is not deleted.
411
- # @param skip_dns_registration [Boolean] If true, DNS registration is skipped.
412
393
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
413
394
  # will be added to the HTTP request.
414
395
  #
415
396
  #
416
- def delete(resource_group_name, name, delete_metrics:nil, delete_empty_server_farm:nil, skip_dns_registration:nil, custom_headers:nil)
417
- response = delete_async(resource_group_name, name, delete_metrics:delete_metrics, delete_empty_server_farm:delete_empty_server_farm, skip_dns_registration:skip_dns_registration, custom_headers:custom_headers).value!
397
+ def delete(resource_group_name, name, delete_metrics:nil, delete_empty_server_farm:nil, custom_headers:nil)
398
+ response = delete_async(resource_group_name, name, delete_metrics:delete_metrics, delete_empty_server_farm:delete_empty_server_farm, custom_headers:custom_headers).value!
418
399
  nil
419
400
  end
420
401
 
@@ -430,14 +411,13 @@ module Azure::Web::Mgmt::V2016_08_01
430
411
  # @param delete_empty_server_farm [Boolean] Specify true if the App Service
431
412
  # plan will be empty after app deletion and you want to delete the empty App
432
413
  # Service plan. By default, the empty App Service plan is not deleted.
433
- # @param skip_dns_registration [Boolean] If true, DNS registration is skipped.
434
414
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
435
415
  # will be added to the HTTP request.
436
416
  #
437
417
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
438
418
  #
439
- def delete_with_http_info(resource_group_name, name, delete_metrics:nil, delete_empty_server_farm:nil, skip_dns_registration:nil, custom_headers:nil)
440
- delete_async(resource_group_name, name, delete_metrics:delete_metrics, delete_empty_server_farm:delete_empty_server_farm, skip_dns_registration:skip_dns_registration, custom_headers:custom_headers).value!
419
+ def delete_with_http_info(resource_group_name, name, delete_metrics:nil, delete_empty_server_farm:nil, custom_headers:nil)
420
+ delete_async(resource_group_name, name, delete_metrics:delete_metrics, delete_empty_server_farm:delete_empty_server_farm, custom_headers:custom_headers).value!
441
421
  end
442
422
 
443
423
  #
@@ -452,13 +432,12 @@ module Azure::Web::Mgmt::V2016_08_01
452
432
  # @param delete_empty_server_farm [Boolean] Specify true if the App Service
453
433
  # plan will be empty after app deletion and you want to delete the empty App
454
434
  # Service plan. By default, the empty App Service plan is not deleted.
455
- # @param skip_dns_registration [Boolean] If true, DNS registration is skipped.
456
435
  # @param [Hash{String => String}] A hash of custom headers that will be added
457
436
  # to the HTTP request.
458
437
  #
459
438
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
460
439
  #
461
- def delete_async(resource_group_name, name, delete_metrics:nil, delete_empty_server_farm:nil, skip_dns_registration:nil, custom_headers:nil)
440
+ def delete_async(resource_group_name, name, delete_metrics:nil, delete_empty_server_farm:nil, custom_headers:nil)
462
441
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
463
442
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
464
443
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
@@ -481,7 +460,7 @@ module Azure::Web::Mgmt::V2016_08_01
481
460
  options = {
482
461
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
483
462
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
484
- query_params: {'deleteMetrics' => delete_metrics,'deleteEmptyServerFarm' => delete_empty_server_farm,'skipDnsRegistration' => skip_dns_registration,'api-version' => @client.api_version},
463
+ query_params: {'deleteMetrics' => delete_metrics,'deleteEmptyServerFarm' => delete_empty_server_farm,'api-version' => @client.api_version},
485
464
  headers: request_headers.merge(custom_headers || {}),
486
465
  base_url: request_url
487
466
  }
@@ -517,22 +496,13 @@ module Azure::Web::Mgmt::V2016_08_01
517
496
  # update a deployment slot, use the {slot} parameter.
518
497
  # @param site_envelope [SitePatchResource] A JSON representation of the app
519
498
  # properties. See example.
520
- # @param skip_dns_registration [Boolean] If true web app hostname is not
521
- # registered with DNS on creation. This parameter is
522
- # only used for app creation.
523
- # @param skip_custom_domain_verification [Boolean] If true, custom (non
524
- # *.azurewebsites.net) domains associated with web app are not verified.
525
- # @param force_dns_registration [Boolean] If true, web app hostname is force
526
- # registered with DNS.
527
- # @param ttl_in_seconds [String] Time to live in seconds for web app's default
528
- # domain name.
529
499
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
530
500
  # will be added to the HTTP request.
531
501
  #
532
502
  # @return [Site] operation results.
533
503
  #
534
- def update(resource_group_name, name, site_envelope, skip_dns_registration:nil, skip_custom_domain_verification:nil, force_dns_registration:nil, ttl_in_seconds:nil, custom_headers:nil)
535
- response = update_async(resource_group_name, name, site_envelope, skip_dns_registration:skip_dns_registration, skip_custom_domain_verification:skip_custom_domain_verification, force_dns_registration:force_dns_registration, ttl_in_seconds:ttl_in_seconds, custom_headers:custom_headers).value!
504
+ def update(resource_group_name, name, site_envelope, custom_headers:nil)
505
+ response = update_async(resource_group_name, name, site_envelope, custom_headers:custom_headers).value!
536
506
  response.body unless response.nil?
537
507
  end
538
508
 
@@ -549,22 +519,13 @@ module Azure::Web::Mgmt::V2016_08_01
549
519
  # update a deployment slot, use the {slot} parameter.
550
520
  # @param site_envelope [SitePatchResource] A JSON representation of the app
551
521
  # properties. See example.
552
- # @param skip_dns_registration [Boolean] If true web app hostname is not
553
- # registered with DNS on creation. This parameter is
554
- # only used for app creation.
555
- # @param skip_custom_domain_verification [Boolean] If true, custom (non
556
- # *.azurewebsites.net) domains associated with web app are not verified.
557
- # @param force_dns_registration [Boolean] If true, web app hostname is force
558
- # registered with DNS.
559
- # @param ttl_in_seconds [String] Time to live in seconds for web app's default
560
- # domain name.
561
522
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
562
523
  # will be added to the HTTP request.
563
524
  #
564
525
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
565
526
  #
566
- def update_with_http_info(resource_group_name, name, site_envelope, skip_dns_registration:nil, skip_custom_domain_verification:nil, force_dns_registration:nil, ttl_in_seconds:nil, custom_headers:nil)
567
- update_async(resource_group_name, name, site_envelope, skip_dns_registration:skip_dns_registration, skip_custom_domain_verification:skip_custom_domain_verification, force_dns_registration:force_dns_registration, ttl_in_seconds:ttl_in_seconds, custom_headers:custom_headers).value!
527
+ def update_with_http_info(resource_group_name, name, site_envelope, custom_headers:nil)
528
+ update_async(resource_group_name, name, site_envelope, custom_headers:custom_headers).value!
568
529
  end
569
530
 
570
531
  #
@@ -580,21 +541,12 @@ module Azure::Web::Mgmt::V2016_08_01
580
541
  # update a deployment slot, use the {slot} parameter.
581
542
  # @param site_envelope [SitePatchResource] A JSON representation of the app
582
543
  # properties. See example.
583
- # @param skip_dns_registration [Boolean] If true web app hostname is not
584
- # registered with DNS on creation. This parameter is
585
- # only used for app creation.
586
- # @param skip_custom_domain_verification [Boolean] If true, custom (non
587
- # *.azurewebsites.net) domains associated with web app are not verified.
588
- # @param force_dns_registration [Boolean] If true, web app hostname is force
589
- # registered with DNS.
590
- # @param ttl_in_seconds [String] Time to live in seconds for web app's default
591
- # domain name.
592
544
  # @param [Hash{String => String}] A hash of custom headers that will be added
593
545
  # to the HTTP request.
594
546
  #
595
547
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
596
548
  #
597
- def update_async(resource_group_name, name, site_envelope, skip_dns_registration:nil, skip_custom_domain_verification:nil, force_dns_registration:nil, ttl_in_seconds:nil, custom_headers:nil)
549
+ def update_async(resource_group_name, name, site_envelope, custom_headers:nil)
598
550
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
599
551
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
600
552
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
@@ -624,7 +576,7 @@ module Azure::Web::Mgmt::V2016_08_01
624
576
  options = {
625
577
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
626
578
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
627
- query_params: {'skipDnsRegistration' => skip_dns_registration,'skipCustomDomainVerification' => skip_custom_domain_verification,'forceDnsRegistration' => force_dns_registration,'ttlInSeconds' => ttl_in_seconds,'api-version' => @client.api_version},
579
+ query_params: {'api-version' => @client.api_version},
628
580
  body: request_content,
629
581
  headers: request_headers.merge(custom_headers || {}),
630
582
  base_url: request_url
@@ -28488,7 +28440,7 @@ module Azure::Web::Mgmt::V2016_08_01
28488
28440
  http_response = result.response
28489
28441
  status_code = http_response.status
28490
28442
  response_content = http_response.body
28491
- unless status_code == 200
28443
+ unless status_code == 200 || status_code == 201 || status_code == 202
28492
28444
  error_model = JSON.load(response_content)
28493
28445
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
28494
28446
  end
@@ -28504,6 +28456,26 @@ module Azure::Web::Mgmt::V2016_08_01
28504
28456
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
28505
28457
  end
28506
28458
  end
28459
+ # Deserialize Response
28460
+ if status_code == 201
28461
+ begin
28462
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
28463
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
28464
+ result.body = @client.deserialize(result_mapper, parsed_response)
28465
+ rescue Exception => e
28466
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
28467
+ end
28468
+ end
28469
+ # Deserialize Response
28470
+ if status_code == 202
28471
+ begin
28472
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
28473
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
28474
+ result.body = @client.deserialize(result_mapper, parsed_response)
28475
+ rescue Exception => e
28476
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
28477
+ end
28478
+ end
28507
28479
 
28508
28480
  result
28509
28481
  end
@@ -31601,7 +31573,7 @@ module Azure::Web::Mgmt::V2016_08_01
31601
31573
  http_response = result.response
31602
31574
  status_code = http_response.status
31603
31575
  response_content = http_response.body
31604
- unless status_code == 200
31576
+ unless status_code == 200 || status_code == 201 || status_code == 202
31605
31577
  error_model = JSON.load(response_content)
31606
31578
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
31607
31579
  end
@@ -31617,6 +31589,26 @@ module Azure::Web::Mgmt::V2016_08_01
31617
31589
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
31618
31590
  end
31619
31591
  end
31592
+ # Deserialize Response
31593
+ if status_code == 201
31594
+ begin
31595
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
31596
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
31597
+ result.body = @client.deserialize(result_mapper, parsed_response)
31598
+ rescue Exception => e
31599
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
31600
+ end
31601
+ end
31602
+ # Deserialize Response
31603
+ if status_code == 202
31604
+ begin
31605
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
31606
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
31607
+ result.body = @client.deserialize(result_mapper, parsed_response)
31608
+ rescue Exception => e
31609
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
31610
+ end
31611
+ end
31620
31612
 
31621
31613
  result
31622
31614
  end
@@ -34207,22 +34199,13 @@ module Azure::Web::Mgmt::V2016_08_01
34207
34199
  # update a deployment slot, use the {slot} parameter.
34208
34200
  # @param site_envelope [Site] A JSON representation of the app properties. See
34209
34201
  # example.
34210
- # @param skip_dns_registration [Boolean] If true web app hostname is not
34211
- # registered with DNS on creation. This parameter is
34212
- # only used for app creation.
34213
- # @param skip_custom_domain_verification [Boolean] If true, custom (non
34214
- # *.azurewebsites.net) domains associated with web app are not verified.
34215
- # @param force_dns_registration [Boolean] If true, web app hostname is force
34216
- # registered with DNS.
34217
- # @param ttl_in_seconds [String] Time to live in seconds for web app's default
34218
- # domain name.
34219
34202
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
34220
34203
  # will be added to the HTTP request.
34221
34204
  #
34222
34205
  # @return [Site] operation results.
34223
34206
  #
34224
- def begin_create_or_update(resource_group_name, name, site_envelope, skip_dns_registration:nil, skip_custom_domain_verification:nil, force_dns_registration:nil, ttl_in_seconds:nil, custom_headers:nil)
34225
- response = begin_create_or_update_async(resource_group_name, name, site_envelope, skip_dns_registration:skip_dns_registration, skip_custom_domain_verification:skip_custom_domain_verification, force_dns_registration:force_dns_registration, ttl_in_seconds:ttl_in_seconds, custom_headers:custom_headers).value!
34207
+ def begin_create_or_update(resource_group_name, name, site_envelope, custom_headers:nil)
34208
+ response = begin_create_or_update_async(resource_group_name, name, site_envelope, custom_headers:custom_headers).value!
34226
34209
  response.body unless response.nil?
34227
34210
  end
34228
34211
 
@@ -34239,22 +34222,13 @@ module Azure::Web::Mgmt::V2016_08_01
34239
34222
  # update a deployment slot, use the {slot} parameter.
34240
34223
  # @param site_envelope [Site] A JSON representation of the app properties. See
34241
34224
  # example.
34242
- # @param skip_dns_registration [Boolean] If true web app hostname is not
34243
- # registered with DNS on creation. This parameter is
34244
- # only used for app creation.
34245
- # @param skip_custom_domain_verification [Boolean] If true, custom (non
34246
- # *.azurewebsites.net) domains associated with web app are not verified.
34247
- # @param force_dns_registration [Boolean] If true, web app hostname is force
34248
- # registered with DNS.
34249
- # @param ttl_in_seconds [String] Time to live in seconds for web app's default
34250
- # domain name.
34251
34225
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
34252
34226
  # will be added to the HTTP request.
34253
34227
  #
34254
34228
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
34255
34229
  #
34256
- def begin_create_or_update_with_http_info(resource_group_name, name, site_envelope, skip_dns_registration:nil, skip_custom_domain_verification:nil, force_dns_registration:nil, ttl_in_seconds:nil, custom_headers:nil)
34257
- begin_create_or_update_async(resource_group_name, name, site_envelope, skip_dns_registration:skip_dns_registration, skip_custom_domain_verification:skip_custom_domain_verification, force_dns_registration:force_dns_registration, ttl_in_seconds:ttl_in_seconds, custom_headers:custom_headers).value!
34230
+ def begin_create_or_update_with_http_info(resource_group_name, name, site_envelope, custom_headers:nil)
34231
+ begin_create_or_update_async(resource_group_name, name, site_envelope, custom_headers:custom_headers).value!
34258
34232
  end
34259
34233
 
34260
34234
  #
@@ -34270,21 +34244,12 @@ module Azure::Web::Mgmt::V2016_08_01
34270
34244
  # update a deployment slot, use the {slot} parameter.
34271
34245
  # @param site_envelope [Site] A JSON representation of the app properties. See
34272
34246
  # example.
34273
- # @param skip_dns_registration [Boolean] If true web app hostname is not
34274
- # registered with DNS on creation. This parameter is
34275
- # only used for app creation.
34276
- # @param skip_custom_domain_verification [Boolean] If true, custom (non
34277
- # *.azurewebsites.net) domains associated with web app are not verified.
34278
- # @param force_dns_registration [Boolean] If true, web app hostname is force
34279
- # registered with DNS.
34280
- # @param ttl_in_seconds [String] Time to live in seconds for web app's default
34281
- # domain name.
34282
34247
  # @param [Hash{String => String}] A hash of custom headers that will be added
34283
34248
  # to the HTTP request.
34284
34249
  #
34285
34250
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
34286
34251
  #
34287
- def begin_create_or_update_async(resource_group_name, name, site_envelope, skip_dns_registration:nil, skip_custom_domain_verification:nil, force_dns_registration:nil, ttl_in_seconds:nil, custom_headers:nil)
34252
+ def begin_create_or_update_async(resource_group_name, name, site_envelope, custom_headers:nil)
34288
34253
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
34289
34254
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
34290
34255
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
@@ -34314,7 +34279,7 @@ module Azure::Web::Mgmt::V2016_08_01
34314
34279
  options = {
34315
34280
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
34316
34281
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
34317
- query_params: {'skipDnsRegistration' => skip_dns_registration,'skipCustomDomainVerification' => skip_custom_domain_verification,'forceDnsRegistration' => force_dns_registration,'ttlInSeconds' => ttl_in_seconds,'api-version' => @client.api_version},
34282
+ query_params: {'api-version' => @client.api_version},
34318
34283
  body: request_content,
34319
34284
  headers: request_headers.merge(custom_headers || {}),
34320
34285
  base_url: request_url
@@ -36642,7 +36607,7 @@ module Azure::Web::Mgmt::V2016_08_01
36642
36607
  http_response = result.response
36643
36608
  status_code = http_response.status
36644
36609
  response_content = http_response.body
36645
- unless status_code == 200 || status_code == 201
36610
+ unless status_code == 200 || status_code == 201 || status_code == 202
36646
36611
  error_model = JSON.load(response_content)
36647
36612
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
36648
36613
  end
@@ -36668,6 +36633,16 @@ module Azure::Web::Mgmt::V2016_08_01
36668
36633
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
36669
36634
  end
36670
36635
  end
36636
+ # Deserialize Response
36637
+ if status_code == 202
36638
+ begin
36639
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
36640
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
36641
+ result.body = @client.deserialize(result_mapper, parsed_response)
36642
+ rescue Exception => e
36643
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
36644
+ end
36645
+ end
36671
36646
 
36672
36647
  result
36673
36648
  end
@@ -36877,7 +36852,7 @@ module Azure::Web::Mgmt::V2016_08_01
36877
36852
  http_response = result.response
36878
36853
  status_code = http_response.status
36879
36854
  response_content = http_response.body
36880
- unless status_code == 200 || status_code == 201
36855
+ unless status_code == 200 || status_code == 201 || status_code == 202
36881
36856
  error_model = JSON.load(response_content)
36882
36857
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
36883
36858
  end
@@ -36903,6 +36878,16 @@ module Azure::Web::Mgmt::V2016_08_01
36903
36878
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
36904
36879
  end
36905
36880
  end
36881
+ # Deserialize Response
36882
+ if status_code == 202
36883
+ begin
36884
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
36885
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
36886
+ result.body = @client.deserialize(result_mapper, parsed_response)
36887
+ rescue Exception => e
36888
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
36889
+ end
36890
+ end
36906
36891
 
36907
36892
  result
36908
36893
  end