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
@@ -5,7 +5,7 @@
5
5
 
6
6
  module Azure::Web::Mgmt::V2016_03_01
7
7
  #
8
- # Certificates
8
+ # WebSite Management Client
9
9
  #
10
10
  class Certificates
11
11
  include MsRestAzure
@@ -5,7 +5,7 @@
5
5
 
6
6
  module Azure::Web::Mgmt::V2016_03_01
7
7
  #
8
- # DeletedWebApps
8
+ # WebSite Management Client
9
9
  #
10
10
  class DeletedWebApps
11
11
  include MsRestAzure
@@ -5,7 +5,7 @@
5
5
 
6
6
  module Azure::Web::Mgmt::V2016_03_01
7
7
  #
8
- # Diagnostics
8
+ # WebSite Management Client
9
9
  #
10
10
  class Diagnostics
11
11
  include MsRestAzure
@@ -21,6 +21,450 @@ module Azure::Web::Mgmt::V2016_03_01
21
21
  # @return [WebSiteManagementClient] reference to the WebSiteManagementClient
22
22
  attr_reader :client
23
23
 
24
+ #
25
+ # List Hosting Environment Detector Responses
26
+ #
27
+ # List Hosting Environment Detector Responses
28
+ #
29
+ # @param resource_group_name [String] Name of the resource group to which the
30
+ # resource belongs.
31
+ # @param name [String] Site Name
32
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
33
+ # will be added to the HTTP request.
34
+ #
35
+ # @return [Array<DetectorResponse>] operation results.
36
+ #
37
+ def list_hosting_environment_detector_responses(resource_group_name, name, custom_headers:nil)
38
+ first_page = list_hosting_environment_detector_responses_as_lazy(resource_group_name, name, custom_headers:custom_headers)
39
+ first_page.get_all_items
40
+ end
41
+
42
+ #
43
+ # List Hosting Environment Detector Responses
44
+ #
45
+ # List Hosting Environment Detector Responses
46
+ #
47
+ # @param resource_group_name [String] Name of the resource group to which the
48
+ # resource belongs.
49
+ # @param name [String] Site Name
50
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
51
+ # will be added to the HTTP request.
52
+ #
53
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
54
+ #
55
+ def list_hosting_environment_detector_responses_with_http_info(resource_group_name, name, custom_headers:nil)
56
+ list_hosting_environment_detector_responses_async(resource_group_name, name, custom_headers:custom_headers).value!
57
+ end
58
+
59
+ #
60
+ # List Hosting Environment Detector Responses
61
+ #
62
+ # List Hosting Environment Detector Responses
63
+ #
64
+ # @param resource_group_name [String] Name of the resource group to which the
65
+ # resource belongs.
66
+ # @param name [String] Site Name
67
+ # @param [Hash{String => String}] A hash of custom headers that will be added
68
+ # to the HTTP request.
69
+ #
70
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
71
+ #
72
+ def list_hosting_environment_detector_responses_async(resource_group_name, name, custom_headers:nil)
73
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
74
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
75
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
76
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
77
+ fail ArgumentError, 'name is nil' if name.nil?
78
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
79
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
80
+
81
+
82
+ request_headers = {}
83
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
84
+
85
+ # Set Headers
86
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
87
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
88
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors'
89
+
90
+ request_url = @base_url || @client.base_url
91
+
92
+ options = {
93
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
94
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
95
+ query_params: {'api-version' => @client.api_version},
96
+ headers: request_headers.merge(custom_headers || {}),
97
+ base_url: request_url
98
+ }
99
+ promise = @client.make_request_async(:get, path_template, options)
100
+
101
+ promise = promise.then do |result|
102
+ http_response = result.response
103
+ status_code = http_response.status
104
+ response_content = http_response.body
105
+ unless status_code == 200
106
+ error_model = JSON.load(response_content)
107
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
108
+ end
109
+
110
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
111
+ # Deserialize Response
112
+ if status_code == 200
113
+ begin
114
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
115
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponseCollection.mapper()
116
+ result.body = @client.deserialize(result_mapper, parsed_response)
117
+ rescue Exception => e
118
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
119
+ end
120
+ end
121
+
122
+ result
123
+ end
124
+
125
+ promise.execute
126
+ end
127
+
128
+ #
129
+ # Get Hosting Environment Detector Response
130
+ #
131
+ # Get Hosting Environment Detector Response
132
+ #
133
+ # @param resource_group_name [String] Name of the resource group to which the
134
+ # resource belongs.
135
+ # @param name [String] App Service Environment Name
136
+ # @param detector_name [String] Detector Resource Name
137
+ # @param start_time [DateTime] Start Time
138
+ # @param end_time [DateTime] End Time
139
+ # @param time_grain [String] Time Grain
140
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
141
+ # will be added to the HTTP request.
142
+ #
143
+ # @return [DetectorResponse] operation results.
144
+ #
145
+ def get_hosting_environment_detector_response(resource_group_name, name, detector_name, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
146
+ response = get_hosting_environment_detector_response_async(resource_group_name, name, detector_name, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
147
+ response.body unless response.nil?
148
+ end
149
+
150
+ #
151
+ # Get Hosting Environment Detector Response
152
+ #
153
+ # Get Hosting Environment Detector Response
154
+ #
155
+ # @param resource_group_name [String] Name of the resource group to which the
156
+ # resource belongs.
157
+ # @param name [String] App Service Environment Name
158
+ # @param detector_name [String] Detector Resource Name
159
+ # @param start_time [DateTime] Start Time
160
+ # @param end_time [DateTime] End Time
161
+ # @param time_grain [String] Time Grain
162
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
163
+ # will be added to the HTTP request.
164
+ #
165
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
166
+ #
167
+ def get_hosting_environment_detector_response_with_http_info(resource_group_name, name, detector_name, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
168
+ get_hosting_environment_detector_response_async(resource_group_name, name, detector_name, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
169
+ end
170
+
171
+ #
172
+ # Get Hosting Environment Detector Response
173
+ #
174
+ # Get Hosting Environment Detector Response
175
+ #
176
+ # @param resource_group_name [String] Name of the resource group to which the
177
+ # resource belongs.
178
+ # @param name [String] App Service Environment Name
179
+ # @param detector_name [String] Detector Resource Name
180
+ # @param start_time [DateTime] Start Time
181
+ # @param end_time [DateTime] End Time
182
+ # @param time_grain [String] Time Grain
183
+ # @param [Hash{String => String}] A hash of custom headers that will be added
184
+ # to the HTTP request.
185
+ #
186
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
187
+ #
188
+ def get_hosting_environment_detector_response_async(resource_group_name, name, detector_name, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
189
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
190
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
191
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
192
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
193
+ fail ArgumentError, 'name is nil' if name.nil?
194
+ fail ArgumentError, 'detector_name is nil' if detector_name.nil?
195
+ fail ArgumentError, "'time_grain' should satisfy the constraint - 'Pattern': 'PT[1-9][0-9]+[SMH]'" if !time_grain.nil? && time_grain.match(Regexp.new('^PT[1-9][0-9]+[SMH]$')).nil?
196
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
197
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
198
+
199
+
200
+ request_headers = {}
201
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
202
+
203
+ # Set Headers
204
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
205
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
206
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}'
207
+
208
+ request_url = @base_url || @client.base_url
209
+
210
+ options = {
211
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
212
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'detectorName' => detector_name,'subscriptionId' => @client.subscription_id},
213
+ query_params: {'startTime' => start_time,'endTime' => end_time,'timeGrain' => time_grain,'api-version' => @client.api_version},
214
+ headers: request_headers.merge(custom_headers || {}),
215
+ base_url: request_url
216
+ }
217
+ promise = @client.make_request_async(:get, path_template, options)
218
+
219
+ promise = promise.then do |result|
220
+ http_response = result.response
221
+ status_code = http_response.status
222
+ response_content = http_response.body
223
+ unless status_code == 200
224
+ error_model = JSON.load(response_content)
225
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
226
+ end
227
+
228
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
229
+ # Deserialize Response
230
+ if status_code == 200
231
+ begin
232
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
233
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponse.mapper()
234
+ result.body = @client.deserialize(result_mapper, parsed_response)
235
+ rescue Exception => e
236
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
237
+ end
238
+ end
239
+
240
+ result
241
+ end
242
+
243
+ promise.execute
244
+ end
245
+
246
+ #
247
+ # List Site Detector Responses
248
+ #
249
+ # List Site Detector Responses
250
+ #
251
+ # @param resource_group_name [String] Name of the resource group to which the
252
+ # resource belongs.
253
+ # @param site_name [String] Site Name
254
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
255
+ # will be added to the HTTP request.
256
+ #
257
+ # @return [Array<DetectorResponse>] operation results.
258
+ #
259
+ def list_site_detector_responses(resource_group_name, site_name, custom_headers:nil)
260
+ first_page = list_site_detector_responses_as_lazy(resource_group_name, site_name, custom_headers:custom_headers)
261
+ first_page.get_all_items
262
+ end
263
+
264
+ #
265
+ # List Site Detector Responses
266
+ #
267
+ # List Site Detector Responses
268
+ #
269
+ # @param resource_group_name [String] Name of the resource group to which the
270
+ # resource belongs.
271
+ # @param site_name [String] Site Name
272
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
273
+ # will be added to the HTTP request.
274
+ #
275
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
276
+ #
277
+ def list_site_detector_responses_with_http_info(resource_group_name, site_name, custom_headers:nil)
278
+ list_site_detector_responses_async(resource_group_name, site_name, custom_headers:custom_headers).value!
279
+ end
280
+
281
+ #
282
+ # List Site Detector Responses
283
+ #
284
+ # List Site Detector Responses
285
+ #
286
+ # @param resource_group_name [String] Name of the resource group to which the
287
+ # resource belongs.
288
+ # @param site_name [String] Site Name
289
+ # @param [Hash{String => String}] A hash of custom headers that will be added
290
+ # to the HTTP request.
291
+ #
292
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
293
+ #
294
+ def list_site_detector_responses_async(resource_group_name, site_name, custom_headers:nil)
295
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
296
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
297
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
298
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
299
+ fail ArgumentError, 'site_name is nil' if site_name.nil?
300
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
301
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
302
+
303
+
304
+ request_headers = {}
305
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
306
+
307
+ # Set Headers
308
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
309
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
310
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors'
311
+
312
+ request_url = @base_url || @client.base_url
313
+
314
+ options = {
315
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
316
+ path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'subscriptionId' => @client.subscription_id},
317
+ query_params: {'api-version' => @client.api_version},
318
+ headers: request_headers.merge(custom_headers || {}),
319
+ base_url: request_url
320
+ }
321
+ promise = @client.make_request_async(:get, path_template, options)
322
+
323
+ promise = promise.then do |result|
324
+ http_response = result.response
325
+ status_code = http_response.status
326
+ response_content = http_response.body
327
+ unless status_code == 200
328
+ error_model = JSON.load(response_content)
329
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
330
+ end
331
+
332
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
333
+ # Deserialize Response
334
+ if status_code == 200
335
+ begin
336
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
337
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponseCollection.mapper()
338
+ result.body = @client.deserialize(result_mapper, parsed_response)
339
+ rescue Exception => e
340
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
341
+ end
342
+ end
343
+
344
+ result
345
+ end
346
+
347
+ promise.execute
348
+ end
349
+
350
+ #
351
+ # Get site detector response
352
+ #
353
+ # Get site detector response
354
+ #
355
+ # @param resource_group_name [String] Name of the resource group to which the
356
+ # resource belongs.
357
+ # @param site_name [String] Site Name
358
+ # @param detector_name [String] Detector Resource Name
359
+ # @param start_time [DateTime] Start Time
360
+ # @param end_time [DateTime] End Time
361
+ # @param time_grain [String] Time Grain
362
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
363
+ # will be added to the HTTP request.
364
+ #
365
+ # @return [DetectorResponse] operation results.
366
+ #
367
+ def get_site_detector_response(resource_group_name, site_name, detector_name, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
368
+ response = get_site_detector_response_async(resource_group_name, site_name, detector_name, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
369
+ response.body unless response.nil?
370
+ end
371
+
372
+ #
373
+ # Get site detector response
374
+ #
375
+ # Get site detector response
376
+ #
377
+ # @param resource_group_name [String] Name of the resource group to which the
378
+ # resource belongs.
379
+ # @param site_name [String] Site Name
380
+ # @param detector_name [String] Detector Resource Name
381
+ # @param start_time [DateTime] Start Time
382
+ # @param end_time [DateTime] End Time
383
+ # @param time_grain [String] Time Grain
384
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
385
+ # will be added to the HTTP request.
386
+ #
387
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
388
+ #
389
+ def get_site_detector_response_with_http_info(resource_group_name, site_name, detector_name, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
390
+ get_site_detector_response_async(resource_group_name, site_name, detector_name, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
391
+ end
392
+
393
+ #
394
+ # Get site detector response
395
+ #
396
+ # Get site detector response
397
+ #
398
+ # @param resource_group_name [String] Name of the resource group to which the
399
+ # resource belongs.
400
+ # @param site_name [String] Site Name
401
+ # @param detector_name [String] Detector Resource Name
402
+ # @param start_time [DateTime] Start Time
403
+ # @param end_time [DateTime] End Time
404
+ # @param time_grain [String] Time Grain
405
+ # @param [Hash{String => String}] A hash of custom headers that will be added
406
+ # to the HTTP request.
407
+ #
408
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
409
+ #
410
+ def get_site_detector_response_async(resource_group_name, site_name, detector_name, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
411
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
412
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
413
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
414
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
415
+ fail ArgumentError, 'site_name is nil' if site_name.nil?
416
+ fail ArgumentError, 'detector_name is nil' if detector_name.nil?
417
+ fail ArgumentError, "'time_grain' should satisfy the constraint - 'Pattern': 'PT[1-9][0-9]+[SMH]'" if !time_grain.nil? && time_grain.match(Regexp.new('^PT[1-9][0-9]+[SMH]$')).nil?
418
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
419
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
420
+
421
+
422
+ request_headers = {}
423
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
424
+
425
+ # Set Headers
426
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
427
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
428
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}'
429
+
430
+ request_url = @base_url || @client.base_url
431
+
432
+ options = {
433
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
434
+ path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'detectorName' => detector_name,'subscriptionId' => @client.subscription_id},
435
+ query_params: {'startTime' => start_time,'endTime' => end_time,'timeGrain' => time_grain,'api-version' => @client.api_version},
436
+ headers: request_headers.merge(custom_headers || {}),
437
+ base_url: request_url
438
+ }
439
+ promise = @client.make_request_async(:get, path_template, options)
440
+
441
+ promise = promise.then do |result|
442
+ http_response = result.response
443
+ status_code = http_response.status
444
+ response_content = http_response.body
445
+ unless status_code == 200
446
+ error_model = JSON.load(response_content)
447
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
448
+ end
449
+
450
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
451
+ # Deserialize Response
452
+ if status_code == 200
453
+ begin
454
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
455
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponse.mapper()
456
+ result.body = @client.deserialize(result_mapper, parsed_response)
457
+ rescue Exception => e
458
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
459
+ end
460
+ end
461
+
462
+ result
463
+ end
464
+
465
+ promise.execute
466
+ end
467
+
24
468
  #
25
469
  # Get Diagnostics Categories
26
470
  #
@@ -827,7 +1271,237 @@ module Azure::Web::Mgmt::V2016_03_01
827
1271
  # resource belongs.
828
1272
  # @param site_name [String] Site Name
829
1273
  # @param detector_name [String] Detector Resource Name
830
- # @param diagnostic_category [String] Category Name
1274
+ # @param diagnostic_category [String] Category Name
1275
+ # @param start_time [DateTime] Start Time
1276
+ # @param end_time [DateTime] End Time
1277
+ # @param time_grain [String] Time Grain
1278
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1279
+ # will be added to the HTTP request.
1280
+ #
1281
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1282
+ #
1283
+ def execute_site_detector_with_http_info(resource_group_name, site_name, detector_name, diagnostic_category, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
1284
+ execute_site_detector_async(resource_group_name, site_name, detector_name, diagnostic_category, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
1285
+ end
1286
+
1287
+ #
1288
+ # Execute Detector
1289
+ #
1290
+ # Execute Detector
1291
+ #
1292
+ # @param resource_group_name [String] Name of the resource group to which the
1293
+ # resource belongs.
1294
+ # @param site_name [String] Site Name
1295
+ # @param detector_name [String] Detector Resource Name
1296
+ # @param diagnostic_category [String] Category Name
1297
+ # @param start_time [DateTime] Start Time
1298
+ # @param end_time [DateTime] End Time
1299
+ # @param time_grain [String] Time Grain
1300
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1301
+ # to the HTTP request.
1302
+ #
1303
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1304
+ #
1305
+ def execute_site_detector_async(resource_group_name, site_name, detector_name, diagnostic_category, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
1306
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1307
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1308
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1309
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
1310
+ fail ArgumentError, 'site_name is nil' if site_name.nil?
1311
+ fail ArgumentError, 'detector_name is nil' if detector_name.nil?
1312
+ fail ArgumentError, 'diagnostic_category is nil' if diagnostic_category.nil?
1313
+ fail ArgumentError, "'time_grain' should satisfy the constraint - 'Pattern': 'PT[1-9][0-9]+[SMH]'" if !time_grain.nil? && time_grain.match(Regexp.new('^PT[1-9][0-9]+[SMH]$')).nil?
1314
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1315
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1316
+
1317
+
1318
+ request_headers = {}
1319
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1320
+
1321
+ # Set Headers
1322
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1323
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1324
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute'
1325
+
1326
+ request_url = @base_url || @client.base_url
1327
+
1328
+ options = {
1329
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1330
+ path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'detectorName' => detector_name,'diagnosticCategory' => diagnostic_category,'subscriptionId' => @client.subscription_id},
1331
+ query_params: {'startTime' => start_time,'endTime' => end_time,'timeGrain' => time_grain,'api-version' => @client.api_version},
1332
+ headers: request_headers.merge(custom_headers || {}),
1333
+ base_url: request_url
1334
+ }
1335
+ promise = @client.make_request_async(:post, path_template, options)
1336
+
1337
+ promise = promise.then do |result|
1338
+ http_response = result.response
1339
+ status_code = http_response.status
1340
+ response_content = http_response.body
1341
+ unless status_code == 200
1342
+ error_model = JSON.load(response_content)
1343
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1344
+ end
1345
+
1346
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1347
+ # Deserialize Response
1348
+ if status_code == 200
1349
+ begin
1350
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1351
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse.mapper()
1352
+ result.body = @client.deserialize(result_mapper, parsed_response)
1353
+ rescue Exception => e
1354
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1355
+ end
1356
+ end
1357
+
1358
+ result
1359
+ end
1360
+
1361
+ promise.execute
1362
+ end
1363
+
1364
+ #
1365
+ # List Site Detector Responses
1366
+ #
1367
+ # List Site Detector Responses
1368
+ #
1369
+ # @param resource_group_name [String] Name of the resource group to which the
1370
+ # resource belongs.
1371
+ # @param site_name [String] Site Name
1372
+ # @param slot [String] Slot Name
1373
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1374
+ # will be added to the HTTP request.
1375
+ #
1376
+ # @return [Array<DetectorResponse>] operation results.
1377
+ #
1378
+ def list_site_detector_responses_slot(resource_group_name, site_name, slot, custom_headers:nil)
1379
+ first_page = list_site_detector_responses_slot_as_lazy(resource_group_name, site_name, slot, custom_headers:custom_headers)
1380
+ first_page.get_all_items
1381
+ end
1382
+
1383
+ #
1384
+ # List Site Detector Responses
1385
+ #
1386
+ # List Site Detector Responses
1387
+ #
1388
+ # @param resource_group_name [String] Name of the resource group to which the
1389
+ # resource belongs.
1390
+ # @param site_name [String] Site Name
1391
+ # @param slot [String] Slot Name
1392
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1393
+ # will be added to the HTTP request.
1394
+ #
1395
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1396
+ #
1397
+ def list_site_detector_responses_slot_with_http_info(resource_group_name, site_name, slot, custom_headers:nil)
1398
+ list_site_detector_responses_slot_async(resource_group_name, site_name, slot, custom_headers:custom_headers).value!
1399
+ end
1400
+
1401
+ #
1402
+ # List Site Detector Responses
1403
+ #
1404
+ # List Site Detector Responses
1405
+ #
1406
+ # @param resource_group_name [String] Name of the resource group to which the
1407
+ # resource belongs.
1408
+ # @param site_name [String] Site Name
1409
+ # @param slot [String] Slot Name
1410
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1411
+ # to the HTTP request.
1412
+ #
1413
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1414
+ #
1415
+ def list_site_detector_responses_slot_async(resource_group_name, site_name, slot, custom_headers:nil)
1416
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1417
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1418
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1419
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
1420
+ fail ArgumentError, 'site_name is nil' if site_name.nil?
1421
+ fail ArgumentError, 'slot is nil' if slot.nil?
1422
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1423
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1424
+
1425
+
1426
+ request_headers = {}
1427
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1428
+
1429
+ # Set Headers
1430
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1431
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1432
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors'
1433
+
1434
+ request_url = @base_url || @client.base_url
1435
+
1436
+ options = {
1437
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1438
+ path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'slot' => slot,'subscriptionId' => @client.subscription_id},
1439
+ query_params: {'api-version' => @client.api_version},
1440
+ headers: request_headers.merge(custom_headers || {}),
1441
+ base_url: request_url
1442
+ }
1443
+ promise = @client.make_request_async(:get, path_template, options)
1444
+
1445
+ promise = promise.then do |result|
1446
+ http_response = result.response
1447
+ status_code = http_response.status
1448
+ response_content = http_response.body
1449
+ unless status_code == 200
1450
+ error_model = JSON.load(response_content)
1451
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1452
+ end
1453
+
1454
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1455
+ # Deserialize Response
1456
+ if status_code == 200
1457
+ begin
1458
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1459
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponseCollection.mapper()
1460
+ result.body = @client.deserialize(result_mapper, parsed_response)
1461
+ rescue Exception => e
1462
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1463
+ end
1464
+ end
1465
+
1466
+ result
1467
+ end
1468
+
1469
+ promise.execute
1470
+ end
1471
+
1472
+ #
1473
+ # Get site detector response
1474
+ #
1475
+ # Get site detector response
1476
+ #
1477
+ # @param resource_group_name [String] Name of the resource group to which the
1478
+ # resource belongs.
1479
+ # @param site_name [String] Site Name
1480
+ # @param detector_name [String] Detector Resource Name
1481
+ # @param slot [String] Slot Name
1482
+ # @param start_time [DateTime] Start Time
1483
+ # @param end_time [DateTime] End Time
1484
+ # @param time_grain [String] Time Grain
1485
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1486
+ # will be added to the HTTP request.
1487
+ #
1488
+ # @return [DetectorResponse] operation results.
1489
+ #
1490
+ def get_site_detector_response_slot(resource_group_name, site_name, detector_name, slot, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
1491
+ response = get_site_detector_response_slot_async(resource_group_name, site_name, detector_name, slot, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
1492
+ response.body unless response.nil?
1493
+ end
1494
+
1495
+ #
1496
+ # Get site detector response
1497
+ #
1498
+ # Get site detector response
1499
+ #
1500
+ # @param resource_group_name [String] Name of the resource group to which the
1501
+ # resource belongs.
1502
+ # @param site_name [String] Site Name
1503
+ # @param detector_name [String] Detector Resource Name
1504
+ # @param slot [String] Slot Name
831
1505
  # @param start_time [DateTime] Start Time
832
1506
  # @param end_time [DateTime] End Time
833
1507
  # @param time_grain [String] Time Grain
@@ -836,20 +1510,20 @@ module Azure::Web::Mgmt::V2016_03_01
836
1510
  #
837
1511
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
838
1512
  #
839
- def execute_site_detector_with_http_info(resource_group_name, site_name, detector_name, diagnostic_category, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
840
- execute_site_detector_async(resource_group_name, site_name, detector_name, diagnostic_category, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
1513
+ def get_site_detector_response_slot_with_http_info(resource_group_name, site_name, detector_name, slot, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
1514
+ get_site_detector_response_slot_async(resource_group_name, site_name, detector_name, slot, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
841
1515
  end
842
1516
 
843
1517
  #
844
- # Execute Detector
1518
+ # Get site detector response
845
1519
  #
846
- # Execute Detector
1520
+ # Get site detector response
847
1521
  #
848
1522
  # @param resource_group_name [String] Name of the resource group to which the
849
1523
  # resource belongs.
850
1524
  # @param site_name [String] Site Name
851
1525
  # @param detector_name [String] Detector Resource Name
852
- # @param diagnostic_category [String] Category Name
1526
+ # @param slot [String] Slot Name
853
1527
  # @param start_time [DateTime] Start Time
854
1528
  # @param end_time [DateTime] End Time
855
1529
  # @param time_grain [String] Time Grain
@@ -858,14 +1532,14 @@ module Azure::Web::Mgmt::V2016_03_01
858
1532
  #
859
1533
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
860
1534
  #
861
- def execute_site_detector_async(resource_group_name, site_name, detector_name, diagnostic_category, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
1535
+ def get_site_detector_response_slot_async(resource_group_name, site_name, detector_name, slot, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
862
1536
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
863
1537
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
864
1538
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
865
1539
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
866
1540
  fail ArgumentError, 'site_name is nil' if site_name.nil?
867
1541
  fail ArgumentError, 'detector_name is nil' if detector_name.nil?
868
- fail ArgumentError, 'diagnostic_category is nil' if diagnostic_category.nil?
1542
+ fail ArgumentError, 'slot is nil' if slot.nil?
869
1543
  fail ArgumentError, "'time_grain' should satisfy the constraint - 'Pattern': 'PT[1-9][0-9]+[SMH]'" if !time_grain.nil? && time_grain.match(Regexp.new('^PT[1-9][0-9]+[SMH]$')).nil?
870
1544
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
871
1545
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -877,18 +1551,18 @@ module Azure::Web::Mgmt::V2016_03_01
877
1551
  # Set Headers
878
1552
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
879
1553
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
880
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute'
1554
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}'
881
1555
 
882
1556
  request_url = @base_url || @client.base_url
883
1557
 
884
1558
  options = {
885
1559
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
886
- path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'detectorName' => detector_name,'diagnosticCategory' => diagnostic_category,'subscriptionId' => @client.subscription_id},
1560
+ path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'detectorName' => detector_name,'slot' => slot,'subscriptionId' => @client.subscription_id},
887
1561
  query_params: {'startTime' => start_time,'endTime' => end_time,'timeGrain' => time_grain,'api-version' => @client.api_version},
888
1562
  headers: request_headers.merge(custom_headers || {}),
889
1563
  base_url: request_url
890
1564
  }
891
- promise = @client.make_request_async(:post, path_template, options)
1565
+ promise = @client.make_request_async(:get, path_template, options)
892
1566
 
893
1567
  promise = promise.then do |result|
894
1568
  http_response = result.response
@@ -904,7 +1578,7 @@ module Azure::Web::Mgmt::V2016_03_01
904
1578
  if status_code == 200
905
1579
  begin
906
1580
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
907
- result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse.mapper()
1581
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponse.mapper()
908
1582
  result.body = @client.deserialize(result_mapper, parsed_response)
909
1583
  rescue Exception => e
910
1584
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1608,69 +2282,290 @@ module Azure::Web::Mgmt::V2016_03_01
1608
2282
  #
1609
2283
  # Get Detector
1610
2284
  #
1611
- # @param resource_group_name [String] Name of the resource group to which the
1612
- # resource belongs.
1613
- # @param site_name [String] Site Name
1614
- # @param diagnostic_category [String] Diagnostic Category
1615
- # @param detector_name [String] Detector Name
1616
- # @param slot [String] Slot Name
2285
+ # @param resource_group_name [String] Name of the resource group to which the
2286
+ # resource belongs.
2287
+ # @param site_name [String] Site Name
2288
+ # @param diagnostic_category [String] Diagnostic Category
2289
+ # @param detector_name [String] Detector Name
2290
+ # @param slot [String] Slot Name
2291
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2292
+ # will be added to the HTTP request.
2293
+ #
2294
+ # @return [Array<DetectorDefinition>] operation results.
2295
+ #
2296
+ def get_site_detector_slot(resource_group_name, site_name, diagnostic_category, detector_name, slot, custom_headers:nil)
2297
+ first_page = get_site_detector_slot_as_lazy(resource_group_name, site_name, diagnostic_category, detector_name, slot, custom_headers:custom_headers)
2298
+ first_page.get_all_items
2299
+ end
2300
+
2301
+ #
2302
+ # Get Detector
2303
+ #
2304
+ # Get Detector
2305
+ #
2306
+ # @param resource_group_name [String] Name of the resource group to which the
2307
+ # resource belongs.
2308
+ # @param site_name [String] Site Name
2309
+ # @param diagnostic_category [String] Diagnostic Category
2310
+ # @param detector_name [String] Detector Name
2311
+ # @param slot [String] Slot Name
2312
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2313
+ # will be added to the HTTP request.
2314
+ #
2315
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2316
+ #
2317
+ def get_site_detector_slot_with_http_info(resource_group_name, site_name, diagnostic_category, detector_name, slot, custom_headers:nil)
2318
+ get_site_detector_slot_async(resource_group_name, site_name, diagnostic_category, detector_name, slot, custom_headers:custom_headers).value!
2319
+ end
2320
+
2321
+ #
2322
+ # Get Detector
2323
+ #
2324
+ # Get Detector
2325
+ #
2326
+ # @param resource_group_name [String] Name of the resource group to which the
2327
+ # resource belongs.
2328
+ # @param site_name [String] Site Name
2329
+ # @param diagnostic_category [String] Diagnostic Category
2330
+ # @param detector_name [String] Detector Name
2331
+ # @param slot [String] Slot Name
2332
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2333
+ # to the HTTP request.
2334
+ #
2335
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2336
+ #
2337
+ def get_site_detector_slot_async(resource_group_name, site_name, diagnostic_category, detector_name, slot, custom_headers:nil)
2338
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2339
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
2340
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
2341
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
2342
+ fail ArgumentError, 'site_name is nil' if site_name.nil?
2343
+ fail ArgumentError, 'diagnostic_category is nil' if diagnostic_category.nil?
2344
+ fail ArgumentError, 'detector_name is nil' if detector_name.nil?
2345
+ fail ArgumentError, 'slot is nil' if slot.nil?
2346
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2347
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2348
+
2349
+
2350
+ request_headers = {}
2351
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2352
+
2353
+ # Set Headers
2354
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2355
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2356
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}'
2357
+
2358
+ request_url = @base_url || @client.base_url
2359
+
2360
+ options = {
2361
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2362
+ path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'diagnosticCategory' => diagnostic_category,'detectorName' => detector_name,'slot' => slot,'subscriptionId' => @client.subscription_id},
2363
+ query_params: {'api-version' => @client.api_version},
2364
+ headers: request_headers.merge(custom_headers || {}),
2365
+ base_url: request_url
2366
+ }
2367
+ promise = @client.make_request_async(:get, path_template, options)
2368
+
2369
+ promise = promise.then do |result|
2370
+ http_response = result.response
2371
+ status_code = http_response.status
2372
+ response_content = http_response.body
2373
+ unless status_code == 200
2374
+ error_model = JSON.load(response_content)
2375
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2376
+ end
2377
+
2378
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2379
+ # Deserialize Response
2380
+ if status_code == 200
2381
+ begin
2382
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2383
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorCollection.mapper()
2384
+ result.body = @client.deserialize(result_mapper, parsed_response)
2385
+ rescue Exception => e
2386
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2387
+ end
2388
+ end
2389
+
2390
+ result
2391
+ end
2392
+
2393
+ promise.execute
2394
+ end
2395
+
2396
+ #
2397
+ # Execute Detector
2398
+ #
2399
+ # Execute Detector
2400
+ #
2401
+ # @param resource_group_name [String] Name of the resource group to which the
2402
+ # resource belongs.
2403
+ # @param site_name [String] Site Name
2404
+ # @param detector_name [String] Detector Resource Name
2405
+ # @param diagnostic_category [String] Category Name
2406
+ # @param slot [String] Slot Name
2407
+ # @param start_time [DateTime] Start Time
2408
+ # @param end_time [DateTime] End Time
2409
+ # @param time_grain [String] Time Grain
2410
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2411
+ # will be added to the HTTP request.
2412
+ #
2413
+ # @return [DiagnosticDetectorResponse] operation results.
2414
+ #
2415
+ def execute_site_detector_slot(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
2416
+ response = execute_site_detector_slot_async(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
2417
+ response.body unless response.nil?
2418
+ end
2419
+
2420
+ #
2421
+ # Execute Detector
2422
+ #
2423
+ # Execute Detector
2424
+ #
2425
+ # @param resource_group_name [String] Name of the resource group to which the
2426
+ # resource belongs.
2427
+ # @param site_name [String] Site Name
2428
+ # @param detector_name [String] Detector Resource Name
2429
+ # @param diagnostic_category [String] Category Name
2430
+ # @param slot [String] Slot Name
2431
+ # @param start_time [DateTime] Start Time
2432
+ # @param end_time [DateTime] End Time
2433
+ # @param time_grain [String] Time Grain
2434
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2435
+ # will be added to the HTTP request.
2436
+ #
2437
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2438
+ #
2439
+ def execute_site_detector_slot_with_http_info(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
2440
+ execute_site_detector_slot_async(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
2441
+ end
2442
+
2443
+ #
2444
+ # Execute Detector
2445
+ #
2446
+ # Execute Detector
2447
+ #
2448
+ # @param resource_group_name [String] Name of the resource group to which the
2449
+ # resource belongs.
2450
+ # @param site_name [String] Site Name
2451
+ # @param detector_name [String] Detector Resource Name
2452
+ # @param diagnostic_category [String] Category Name
2453
+ # @param slot [String] Slot Name
2454
+ # @param start_time [DateTime] Start Time
2455
+ # @param end_time [DateTime] End Time
2456
+ # @param time_grain [String] Time Grain
2457
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2458
+ # to the HTTP request.
2459
+ #
2460
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2461
+ #
2462
+ def execute_site_detector_slot_async(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
2463
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2464
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
2465
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
2466
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
2467
+ fail ArgumentError, 'site_name is nil' if site_name.nil?
2468
+ fail ArgumentError, 'detector_name is nil' if detector_name.nil?
2469
+ fail ArgumentError, 'diagnostic_category is nil' if diagnostic_category.nil?
2470
+ fail ArgumentError, 'slot is nil' if slot.nil?
2471
+ fail ArgumentError, "'time_grain' should satisfy the constraint - 'Pattern': 'PT[1-9][0-9]+[SMH]'" if !time_grain.nil? && time_grain.match(Regexp.new('^PT[1-9][0-9]+[SMH]$')).nil?
2472
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2473
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2474
+
2475
+
2476
+ request_headers = {}
2477
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2478
+
2479
+ # Set Headers
2480
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2481
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2482
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute'
2483
+
2484
+ request_url = @base_url || @client.base_url
2485
+
2486
+ options = {
2487
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2488
+ path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'detectorName' => detector_name,'diagnosticCategory' => diagnostic_category,'slot' => slot,'subscriptionId' => @client.subscription_id},
2489
+ query_params: {'startTime' => start_time,'endTime' => end_time,'timeGrain' => time_grain,'api-version' => @client.api_version},
2490
+ headers: request_headers.merge(custom_headers || {}),
2491
+ base_url: request_url
2492
+ }
2493
+ promise = @client.make_request_async(:post, path_template, options)
2494
+
2495
+ promise = promise.then do |result|
2496
+ http_response = result.response
2497
+ status_code = http_response.status
2498
+ response_content = http_response.body
2499
+ unless status_code == 200
2500
+ error_model = JSON.load(response_content)
2501
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2502
+ end
2503
+
2504
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2505
+ # Deserialize Response
2506
+ if status_code == 200
2507
+ begin
2508
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2509
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse.mapper()
2510
+ result.body = @client.deserialize(result_mapper, parsed_response)
2511
+ rescue Exception => e
2512
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2513
+ end
2514
+ end
2515
+
2516
+ result
2517
+ end
2518
+
2519
+ promise.execute
2520
+ end
2521
+
2522
+ #
2523
+ # List Hosting Environment Detector Responses
2524
+ #
2525
+ # List Hosting Environment Detector Responses
2526
+ #
2527
+ # @param next_page_link [String] The NextLink from the previous successful call
2528
+ # to List operation.
1617
2529
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1618
2530
  # will be added to the HTTP request.
1619
2531
  #
1620
- # @return [Array<DetectorDefinition>] operation results.
2532
+ # @return [DetectorResponseCollection] operation results.
1621
2533
  #
1622
- def get_site_detector_slot(resource_group_name, site_name, diagnostic_category, detector_name, slot, custom_headers:nil)
1623
- first_page = get_site_detector_slot_as_lazy(resource_group_name, site_name, diagnostic_category, detector_name, slot, custom_headers:custom_headers)
1624
- first_page.get_all_items
2534
+ def list_hosting_environment_detector_responses_next(next_page_link, custom_headers:nil)
2535
+ response = list_hosting_environment_detector_responses_next_async(next_page_link, custom_headers:custom_headers).value!
2536
+ response.body unless response.nil?
1625
2537
  end
1626
2538
 
1627
2539
  #
1628
- # Get Detector
2540
+ # List Hosting Environment Detector Responses
1629
2541
  #
1630
- # Get Detector
2542
+ # List Hosting Environment Detector Responses
1631
2543
  #
1632
- # @param resource_group_name [String] Name of the resource group to which the
1633
- # resource belongs.
1634
- # @param site_name [String] Site Name
1635
- # @param diagnostic_category [String] Diagnostic Category
1636
- # @param detector_name [String] Detector Name
1637
- # @param slot [String] Slot Name
2544
+ # @param next_page_link [String] The NextLink from the previous successful call
2545
+ # to List operation.
1638
2546
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1639
2547
  # will be added to the HTTP request.
1640
2548
  #
1641
2549
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1642
2550
  #
1643
- def get_site_detector_slot_with_http_info(resource_group_name, site_name, diagnostic_category, detector_name, slot, custom_headers:nil)
1644
- get_site_detector_slot_async(resource_group_name, site_name, diagnostic_category, detector_name, slot, custom_headers:custom_headers).value!
2551
+ def list_hosting_environment_detector_responses_next_with_http_info(next_page_link, custom_headers:nil)
2552
+ list_hosting_environment_detector_responses_next_async(next_page_link, custom_headers:custom_headers).value!
1645
2553
  end
1646
2554
 
1647
2555
  #
1648
- # Get Detector
2556
+ # List Hosting Environment Detector Responses
1649
2557
  #
1650
- # Get Detector
2558
+ # List Hosting Environment Detector Responses
1651
2559
  #
1652
- # @param resource_group_name [String] Name of the resource group to which the
1653
- # resource belongs.
1654
- # @param site_name [String] Site Name
1655
- # @param diagnostic_category [String] Diagnostic Category
1656
- # @param detector_name [String] Detector Name
1657
- # @param slot [String] Slot Name
2560
+ # @param next_page_link [String] The NextLink from the previous successful call
2561
+ # to List operation.
1658
2562
  # @param [Hash{String => String}] A hash of custom headers that will be added
1659
2563
  # to the HTTP request.
1660
2564
  #
1661
2565
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1662
2566
  #
1663
- def get_site_detector_slot_async(resource_group_name, site_name, diagnostic_category, detector_name, slot, custom_headers:nil)
1664
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1665
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1666
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1667
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
1668
- fail ArgumentError, 'site_name is nil' if site_name.nil?
1669
- fail ArgumentError, 'diagnostic_category is nil' if diagnostic_category.nil?
1670
- fail ArgumentError, 'detector_name is nil' if detector_name.nil?
1671
- fail ArgumentError, 'slot is nil' if slot.nil?
1672
- fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1673
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2567
+ def list_hosting_environment_detector_responses_next_async(next_page_link, custom_headers:nil)
2568
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1674
2569
 
1675
2570
 
1676
2571
  request_headers = {}
@@ -1679,14 +2574,13 @@ module Azure::Web::Mgmt::V2016_03_01
1679
2574
  # Set Headers
1680
2575
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1681
2576
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1682
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}'
2577
+ path_template = '{nextLink}'
1683
2578
 
1684
2579
  request_url = @base_url || @client.base_url
1685
2580
 
1686
2581
  options = {
1687
2582
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1688
- path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'diagnosticCategory' => diagnostic_category,'detectorName' => detector_name,'slot' => slot,'subscriptionId' => @client.subscription_id},
1689
- query_params: {'api-version' => @client.api_version},
2583
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1690
2584
  headers: request_headers.merge(custom_headers || {}),
1691
2585
  base_url: request_url
1692
2586
  }
@@ -1706,7 +2600,7 @@ module Azure::Web::Mgmt::V2016_03_01
1706
2600
  if status_code == 200
1707
2601
  begin
1708
2602
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1709
- result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorCollection.mapper()
2603
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponseCollection.mapper()
1710
2604
  result.body = @client.deserialize(result_mapper, parsed_response)
1711
2605
  rescue Exception => e
1712
2606
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1720,83 +2614,52 @@ module Azure::Web::Mgmt::V2016_03_01
1720
2614
  end
1721
2615
 
1722
2616
  #
1723
- # Execute Detector
2617
+ # List Site Detector Responses
1724
2618
  #
1725
- # Execute Detector
2619
+ # List Site Detector Responses
1726
2620
  #
1727
- # @param resource_group_name [String] Name of the resource group to which the
1728
- # resource belongs.
1729
- # @param site_name [String] Site Name
1730
- # @param detector_name [String] Detector Resource Name
1731
- # @param diagnostic_category [String] Category Name
1732
- # @param slot [String] Slot Name
1733
- # @param start_time [DateTime] Start Time
1734
- # @param end_time [DateTime] End Time
1735
- # @param time_grain [String] Time Grain
2621
+ # @param next_page_link [String] The NextLink from the previous successful call
2622
+ # to List operation.
1736
2623
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1737
2624
  # will be added to the HTTP request.
1738
2625
  #
1739
- # @return [DiagnosticDetectorResponse] operation results.
2626
+ # @return [DetectorResponseCollection] operation results.
1740
2627
  #
1741
- def execute_site_detector_slot(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
1742
- response = execute_site_detector_slot_async(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
2628
+ def list_site_detector_responses_next(next_page_link, custom_headers:nil)
2629
+ response = list_site_detector_responses_next_async(next_page_link, custom_headers:custom_headers).value!
1743
2630
  response.body unless response.nil?
1744
2631
  end
1745
2632
 
1746
2633
  #
1747
- # Execute Detector
2634
+ # List Site Detector Responses
1748
2635
  #
1749
- # Execute Detector
2636
+ # List Site Detector Responses
1750
2637
  #
1751
- # @param resource_group_name [String] Name of the resource group to which the
1752
- # resource belongs.
1753
- # @param site_name [String] Site Name
1754
- # @param detector_name [String] Detector Resource Name
1755
- # @param diagnostic_category [String] Category Name
1756
- # @param slot [String] Slot Name
1757
- # @param start_time [DateTime] Start Time
1758
- # @param end_time [DateTime] End Time
1759
- # @param time_grain [String] Time Grain
2638
+ # @param next_page_link [String] The NextLink from the previous successful call
2639
+ # to List operation.
1760
2640
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1761
2641
  # will be added to the HTTP request.
1762
2642
  #
1763
2643
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1764
2644
  #
1765
- def execute_site_detector_slot_with_http_info(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
1766
- execute_site_detector_slot_async(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
2645
+ def list_site_detector_responses_next_with_http_info(next_page_link, custom_headers:nil)
2646
+ list_site_detector_responses_next_async(next_page_link, custom_headers:custom_headers).value!
1767
2647
  end
1768
2648
 
1769
2649
  #
1770
- # Execute Detector
2650
+ # List Site Detector Responses
1771
2651
  #
1772
- # Execute Detector
2652
+ # List Site Detector Responses
1773
2653
  #
1774
- # @param resource_group_name [String] Name of the resource group to which the
1775
- # resource belongs.
1776
- # @param site_name [String] Site Name
1777
- # @param detector_name [String] Detector Resource Name
1778
- # @param diagnostic_category [String] Category Name
1779
- # @param slot [String] Slot Name
1780
- # @param start_time [DateTime] Start Time
1781
- # @param end_time [DateTime] End Time
1782
- # @param time_grain [String] Time Grain
2654
+ # @param next_page_link [String] The NextLink from the previous successful call
2655
+ # to List operation.
1783
2656
  # @param [Hash{String => String}] A hash of custom headers that will be added
1784
2657
  # to the HTTP request.
1785
2658
  #
1786
2659
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1787
2660
  #
1788
- def execute_site_detector_slot_async(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
1789
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1790
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1791
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1792
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
1793
- fail ArgumentError, 'site_name is nil' if site_name.nil?
1794
- fail ArgumentError, 'detector_name is nil' if detector_name.nil?
1795
- fail ArgumentError, 'diagnostic_category is nil' if diagnostic_category.nil?
1796
- fail ArgumentError, 'slot is nil' if slot.nil?
1797
- fail ArgumentError, "'time_grain' should satisfy the constraint - 'Pattern': 'PT[1-9][0-9]+[SMH]'" if !time_grain.nil? && time_grain.match(Regexp.new('^PT[1-9][0-9]+[SMH]$')).nil?
1798
- fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1799
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2661
+ def list_site_detector_responses_next_async(next_page_link, custom_headers:nil)
2662
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1800
2663
 
1801
2664
 
1802
2665
  request_headers = {}
@@ -1805,18 +2668,17 @@ module Azure::Web::Mgmt::V2016_03_01
1805
2668
  # Set Headers
1806
2669
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1807
2670
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1808
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute'
2671
+ path_template = '{nextLink}'
1809
2672
 
1810
2673
  request_url = @base_url || @client.base_url
1811
2674
 
1812
2675
  options = {
1813
2676
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1814
- path_params: {'resourceGroupName' => resource_group_name,'siteName' => site_name,'detectorName' => detector_name,'diagnosticCategory' => diagnostic_category,'slot' => slot,'subscriptionId' => @client.subscription_id},
1815
- query_params: {'startTime' => start_time,'endTime' => end_time,'timeGrain' => time_grain,'api-version' => @client.api_version},
2677
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1816
2678
  headers: request_headers.merge(custom_headers || {}),
1817
2679
  base_url: request_url
1818
2680
  }
1819
- promise = @client.make_request_async(:post, path_template, options)
2681
+ promise = @client.make_request_async(:get, path_template, options)
1820
2682
 
1821
2683
  promise = promise.then do |result|
1822
2684
  http_response = result.response
@@ -1832,7 +2694,7 @@ module Azure::Web::Mgmt::V2016_03_01
1832
2694
  if status_code == 200
1833
2695
  begin
1834
2696
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1835
- result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse.mapper()
2697
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponseCollection.mapper()
1836
2698
  result.body = @client.deserialize(result_mapper, parsed_response)
1837
2699
  rescue Exception => e
1838
2700
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -2221,6 +3083,100 @@ module Azure::Web::Mgmt::V2016_03_01
2221
3083
  promise.execute
2222
3084
  end
2223
3085
 
3086
+ #
3087
+ # List Site Detector Responses
3088
+ #
3089
+ # List Site Detector Responses
3090
+ #
3091
+ # @param next_page_link [String] The NextLink from the previous successful call
3092
+ # to List operation.
3093
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
3094
+ # will be added to the HTTP request.
3095
+ #
3096
+ # @return [DetectorResponseCollection] operation results.
3097
+ #
3098
+ def list_site_detector_responses_slot_next(next_page_link, custom_headers:nil)
3099
+ response = list_site_detector_responses_slot_next_async(next_page_link, custom_headers:custom_headers).value!
3100
+ response.body unless response.nil?
3101
+ end
3102
+
3103
+ #
3104
+ # List Site Detector Responses
3105
+ #
3106
+ # List Site Detector Responses
3107
+ #
3108
+ # @param next_page_link [String] The NextLink from the previous successful call
3109
+ # to List operation.
3110
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
3111
+ # will be added to the HTTP request.
3112
+ #
3113
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
3114
+ #
3115
+ def list_site_detector_responses_slot_next_with_http_info(next_page_link, custom_headers:nil)
3116
+ list_site_detector_responses_slot_next_async(next_page_link, custom_headers:custom_headers).value!
3117
+ end
3118
+
3119
+ #
3120
+ # List Site Detector Responses
3121
+ #
3122
+ # List Site Detector Responses
3123
+ #
3124
+ # @param next_page_link [String] The NextLink from the previous successful call
3125
+ # to List operation.
3126
+ # @param [Hash{String => String}] A hash of custom headers that will be added
3127
+ # to the HTTP request.
3128
+ #
3129
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
3130
+ #
3131
+ def list_site_detector_responses_slot_next_async(next_page_link, custom_headers:nil)
3132
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
3133
+
3134
+
3135
+ request_headers = {}
3136
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
3137
+
3138
+ # Set Headers
3139
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
3140
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
3141
+ path_template = '{nextLink}'
3142
+
3143
+ request_url = @base_url || @client.base_url
3144
+
3145
+ options = {
3146
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
3147
+ skip_encoding_path_params: {'nextLink' => next_page_link},
3148
+ headers: request_headers.merge(custom_headers || {}),
3149
+ base_url: request_url
3150
+ }
3151
+ promise = @client.make_request_async(:get, path_template, options)
3152
+
3153
+ promise = promise.then do |result|
3154
+ http_response = result.response
3155
+ status_code = http_response.status
3156
+ response_content = http_response.body
3157
+ unless status_code == 200
3158
+ error_model = JSON.load(response_content)
3159
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
3160
+ end
3161
+
3162
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
3163
+ # Deserialize Response
3164
+ if status_code == 200
3165
+ begin
3166
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
3167
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponseCollection.mapper()
3168
+ result.body = @client.deserialize(result_mapper, parsed_response)
3169
+ rescue Exception => e
3170
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
3171
+ end
3172
+ end
3173
+
3174
+ result
3175
+ end
3176
+
3177
+ promise.execute
3178
+ end
3179
+
2224
3180
  #
2225
3181
  # Get Diagnostics Categories
2226
3182
  #
@@ -2597,6 +3553,56 @@ module Azure::Web::Mgmt::V2016_03_01
2597
3553
  promise.execute
2598
3554
  end
2599
3555
 
3556
+ #
3557
+ # List Hosting Environment Detector Responses
3558
+ #
3559
+ # List Hosting Environment Detector Responses
3560
+ #
3561
+ # @param resource_group_name [String] Name of the resource group to which the
3562
+ # resource belongs.
3563
+ # @param name [String] Site Name
3564
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
3565
+ # will be added to the HTTP request.
3566
+ #
3567
+ # @return [DetectorResponseCollection] which provide lazy access to pages of
3568
+ # the response.
3569
+ #
3570
+ def list_hosting_environment_detector_responses_as_lazy(resource_group_name, name, custom_headers:nil)
3571
+ response = list_hosting_environment_detector_responses_async(resource_group_name, name, custom_headers:custom_headers).value!
3572
+ unless response.nil?
3573
+ page = response.body
3574
+ page.next_method = Proc.new do |next_page_link|
3575
+ list_hosting_environment_detector_responses_next_async(next_page_link, custom_headers:custom_headers)
3576
+ end
3577
+ page
3578
+ end
3579
+ end
3580
+
3581
+ #
3582
+ # List Site Detector Responses
3583
+ #
3584
+ # List Site Detector Responses
3585
+ #
3586
+ # @param resource_group_name [String] Name of the resource group to which the
3587
+ # resource belongs.
3588
+ # @param site_name [String] Site Name
3589
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
3590
+ # will be added to the HTTP request.
3591
+ #
3592
+ # @return [DetectorResponseCollection] which provide lazy access to pages of
3593
+ # the response.
3594
+ #
3595
+ def list_site_detector_responses_as_lazy(resource_group_name, site_name, custom_headers:nil)
3596
+ response = list_site_detector_responses_async(resource_group_name, site_name, custom_headers:custom_headers).value!
3597
+ unless response.nil?
3598
+ page = response.body
3599
+ page.next_method = Proc.new do |next_page_link|
3600
+ list_site_detector_responses_next_async(next_page_link, custom_headers:custom_headers)
3601
+ end
3602
+ page
3603
+ end
3604
+ end
3605
+
2600
3606
  #
2601
3607
  # Get Diagnostics Categories
2602
3608
  #
@@ -2701,6 +3707,32 @@ module Azure::Web::Mgmt::V2016_03_01
2701
3707
  end
2702
3708
  end
2703
3709
 
3710
+ #
3711
+ # List Site Detector Responses
3712
+ #
3713
+ # List Site Detector Responses
3714
+ #
3715
+ # @param resource_group_name [String] Name of the resource group to which the
3716
+ # resource belongs.
3717
+ # @param site_name [String] Site Name
3718
+ # @param slot [String] Slot Name
3719
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
3720
+ # will be added to the HTTP request.
3721
+ #
3722
+ # @return [DetectorResponseCollection] which provide lazy access to pages of
3723
+ # the response.
3724
+ #
3725
+ def list_site_detector_responses_slot_as_lazy(resource_group_name, site_name, slot, custom_headers:nil)
3726
+ response = list_site_detector_responses_slot_async(resource_group_name, site_name, slot, custom_headers:custom_headers).value!
3727
+ unless response.nil?
3728
+ page = response.body
3729
+ page.next_method = Proc.new do |next_page_link|
3730
+ list_site_detector_responses_slot_next_async(next_page_link, custom_headers:custom_headers)
3731
+ end
3732
+ page
3733
+ end
3734
+ end
3735
+
2704
3736
  #
2705
3737
  # Get Diagnostics Categories
2706
3738
  #