azure_mgmt_web 0.17.3 → 0.18.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (532) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-04-01/generated/azure_mgmt_web/domain_registration_provider.rb +4 -0
  3. data/lib/2015-04-01/generated/azure_mgmt_web/domains.rb +38 -0
  4. data/lib/2015-04-01/generated/azure_mgmt_web/top_level_domains.rb +10 -0
  5. data/lib/2015-04-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
  6. data/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +46 -0
  7. data/lib/2015-08-01/generated/azure_mgmt_web/certificate_registration_provider.rb +4 -0
  8. data/lib/2015-08-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
  9. data/lib/2016-03-01/generated/azure_mgmt_web/billing_meters.rb +4 -0
  10. data/lib/2016-03-01/generated/azure_mgmt_web/certificates.rb +16 -0
  11. data/lib/2016-03-01/generated/azure_mgmt_web/deleted_web_apps.rb +4 -0
  12. data/lib/2016-03-01/generated/azure_mgmt_web/diagnostics.rb +66 -0
  13. data/lib/2016-03-01/generated/azure_mgmt_web/provider.rb +12 -0
  14. data/lib/2016-03-01/generated/azure_mgmt_web/recommendations.rb +24 -0
  15. data/lib/2016-03-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb +20 -0
  16. data/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb +51 -5
  17. data/lib/2016-06-01/generated/azure_mgmt_web.rb +76 -0
  18. data/lib/2016-06-01/generated/azure_mgmt_web/connection_gateway_installations.rb +240 -0
  19. data/lib/2016-06-01/generated/azure_mgmt_web/connection_gateways.rb +682 -0
  20. data/lib/2016-06-01/generated/azure_mgmt_web/connections.rb +815 -0
  21. data/lib/2016-06-01/generated/azure_mgmt_web/custom_apis.rb +997 -0
  22. data/lib/2016-06-01/generated/azure_mgmt_web/logic_apps_management_client.rb +140 -0
  23. data/lib/2016-06-01/generated/azure_mgmt_web/managed_apis.rb +233 -0
  24. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_connection_definition.rb +106 -0
  25. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_connection_definition_collection.rb +55 -0
  26. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_connection_definition_properties.rb +179 -0
  27. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_connection_test_link.rb +57 -0
  28. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_oauth_settings.rb +130 -0
  29. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_oauth_settings_parameter.rb +68 -0
  30. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_reference.rb +118 -0
  31. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_resource_backend_service.rb +46 -0
  32. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_resource_definitions.rb +57 -0
  33. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_resource_general_information.rb +90 -0
  34. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_resource_metadata.rb +135 -0
  35. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_resource_policies.rb +58 -0
  36. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_resource_properties.rb +186 -0
  37. data/lib/2016-06-01/generated/azure_mgmt_web/models/api_type.rb +17 -0
  38. data/lib/2016-06-01/generated/azure_mgmt_web/models/confirm_consent_code_definition.rb +68 -0
  39. data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_error.rb +116 -0
  40. data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_definition.rb +106 -0
  41. data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_definition_collection.rb +56 -0
  42. data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_definition_properties.rb +122 -0
  43. data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_installation_definition.rb +106 -0
  44. data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_installation_definition_collection.rb +57 -0
  45. data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_installation_definition_properties.rb +123 -0
  46. data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_reference.rb +73 -0
  47. data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_parameter.rb +61 -0
  48. data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_parameter_type.rb +23 -0
  49. data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_status_definition.rb +69 -0
  50. data/lib/2016-06-01/generated/azure_mgmt_web/models/consent_link_collection.rb +55 -0
  51. data/lib/2016-06-01/generated/azure_mgmt_web/models/consent_link_definition.rb +81 -0
  52. data/lib/2016-06-01/generated/azure_mgmt_web/models/consent_link_parameter_definition.rb +82 -0
  53. data/lib/2016-06-01/generated/azure_mgmt_web/models/custom_api_definition.rb +106 -0
  54. data/lib/2016-06-01/generated/azure_mgmt_web/models/custom_api_definition_collection.rb +55 -0
  55. data/lib/2016-06-01/generated/azure_mgmt_web/models/custom_api_properties_definition.rb +196 -0
  56. data/lib/2016-06-01/generated/azure_mgmt_web/models/custom_api_reference.rb +99 -0
  57. data/lib/2016-06-01/generated/azure_mgmt_web/models/link_state.rb +17 -0
  58. data/lib/2016-06-01/generated/azure_mgmt_web/models/list_connection_keys_definition.rb +105 -0
  59. data/lib/2016-06-01/generated/azure_mgmt_web/models/list_consent_links_definition.rb +55 -0
  60. data/lib/2016-06-01/generated/azure_mgmt_web/models/managed_api_definition.rb +106 -0
  61. data/lib/2016-06-01/generated/azure_mgmt_web/models/managed_api_definition_collection.rb +55 -0
  62. data/lib/2016-06-01/generated/azure_mgmt_web/models/resource_definition.rb +112 -0
  63. data/lib/2016-06-01/generated/azure_mgmt_web/models/resource_reference.rb +58 -0
  64. data/lib/2016-06-01/generated/azure_mgmt_web/models/wsdl_definition.rb +81 -0
  65. data/lib/2016-06-01/generated/azure_mgmt_web/models/wsdl_import_method.rb +17 -0
  66. data/lib/2016-06-01/generated/azure_mgmt_web/models/wsdl_service.rb +65 -0
  67. data/lib/2016-06-01/generated/azure_mgmt_web/models/wsdl_service_collection.rb +55 -0
  68. data/lib/2016-06-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  69. data/lib/2016-08-01/generated/azure_mgmt_web/web_apps.rb +732 -0
  70. data/lib/2016-08-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
  71. data/lib/2016-09-01/generated/azure_mgmt_web/app_service_environments.rb +124 -0
  72. data/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb +74 -0
  73. data/lib/2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
  74. data/lib/2018-02-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +46 -0
  75. data/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb +128 -0
  76. data/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb +74 -0
  77. data/lib/2018-02-01/generated/azure_mgmt_web/certificate_registration_provider.rb +4 -0
  78. data/lib/2018-02-01/generated/azure_mgmt_web/certificates.rb +16 -0
  79. data/lib/2018-02-01/generated/azure_mgmt_web/deleted_web_apps.rb +4 -0
  80. data/lib/2018-02-01/generated/azure_mgmt_web/diagnostics.rb +66 -0
  81. data/lib/2018-02-01/generated/azure_mgmt_web/domain_registration_provider.rb +4 -0
  82. data/lib/2018-02-01/generated/azure_mgmt_web/domains.rb +38 -0
  83. data/lib/2018-02-01/generated/azure_mgmt_web/provider.rb +12 -0
  84. data/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb +24 -0
  85. data/lib/2018-02-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb +20 -0
  86. data/lib/2018-02-01/generated/azure_mgmt_web/top_level_domains.rb +10 -0
  87. data/lib/2018-02-01/generated/azure_mgmt_web/web_apps.rb +788 -0
  88. data/lib/2018-02-01/generated/azure_mgmt_web/web_site_management_client.rb +58 -6
  89. data/lib/2020-09-01/generated/azure_mgmt_web.rb +461 -0
  90. data/lib/2020-09-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +2704 -0
  91. data/lib/2020-09-01/generated/azure_mgmt_web/app_service_environments.rb +7327 -0
  92. data/lib/2020-09-01/generated/azure_mgmt_web/app_service_plans.rb +3918 -0
  93. data/lib/2020-09-01/generated/azure_mgmt_web/certificate_registration_provider.rb +247 -0
  94. data/lib/2020-09-01/generated/azure_mgmt_web/certificates.rb +898 -0
  95. data/lib/2020-09-01/generated/azure_mgmt_web/deleted_web_apps.rb +550 -0
  96. data/lib/2020-09-01/generated/azure_mgmt_web/diagnostics.rb +3664 -0
  97. data/lib/2020-09-01/generated/azure_mgmt_web/domain_registration_provider.rb +247 -0
  98. data/lib/2020-09-01/generated/azure_mgmt_web/domains.rb +2186 -0
  99. data/lib/2020-09-01/generated/azure_mgmt_web/models/abnormal_time_period.rb +98 -0
  100. data/lib/2020-09-01/generated/azure_mgmt_web/models/access_control_entry_action.rb +16 -0
  101. data/lib/2020-09-01/generated/azure_mgmt_web/models/address.rb +101 -0
  102. data/lib/2020-09-01/generated/azure_mgmt_web/models/address_response.rb +141 -0
  103. data/lib/2020-09-01/generated/azure_mgmt_web/models/allowed_audiences_validation.rb +99 -0
  104. data/lib/2020-09-01/generated/azure_mgmt_web/models/analysis_data.rb +118 -0
  105. data/lib/2020-09-01/generated/azure_mgmt_web/models/analysis_definition.rb +91 -0
  106. data/lib/2020-09-01/generated/azure_mgmt_web/models/api_definition_info.rb +46 -0
  107. data/lib/2020-09-01/generated/azure_mgmt_web/models/api_management_config.rb +46 -0
  108. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_registration.rb +102 -0
  109. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate.rb +76 -0
  110. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate_collection.rb +99 -0
  111. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate_order.rb +368 -0
  112. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +99 -0
  113. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate_order_patch_resource.rb +344 -0
  114. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate_patch_resource.rb +121 -0
  115. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate_resource.rb +145 -0
  116. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_environment.rb +569 -0
  117. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb +99 -0
  118. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_environment_patch_resource.rb +613 -0
  119. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb +637 -0
  120. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_plan.rb +352 -0
  121. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb +99 -0
  122. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb +318 -0
  123. data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_plan_restrictions.rb +20 -0
  124. data/lib/2020-09-01/generated/azure_mgmt_web/models/application_logs_config.rb +74 -0
  125. data/lib/2020-09-01/generated/azure_mgmt_web/models/application_stack.rb +109 -0
  126. data/lib/2020-09-01/generated/azure_mgmt_web/models/application_stack_collection.rb +99 -0
  127. data/lib/2020-09-01/generated/azure_mgmt_web/models/application_stack_resource.rb +153 -0
  128. data/lib/2020-09-01/generated/azure_mgmt_web/models/appservice_github_token.rb +91 -0
  129. data/lib/2020-09-01/generated/azure_mgmt_web/models/appservice_github_token_request.rb +57 -0
  130. data/lib/2020-09-01/generated/azure_mgmt_web/models/arm_id_wrapper.rb +47 -0
  131. data/lib/2020-09-01/generated/azure_mgmt_web/models/auth_platform.rb +113 -0
  132. data/lib/2020-09-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb +17 -0
  133. data/lib/2020-09-01/generated/azure_mgmt_web/models/auto_heal_actions.rb +72 -0
  134. data/lib/2020-09-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +58 -0
  135. data/lib/2020-09-01/generated/azure_mgmt_web/models/auto_heal_rules.rb +61 -0
  136. data/lib/2020-09-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb +91 -0
  137. data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_active_directory.rb +138 -0
  138. data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_active_directory_login.rb +110 -0
  139. data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_active_directory_registration.rb +124 -0
  140. data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_active_directory_validation.rb +111 -0
  141. data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +73 -0
  142. data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +72 -0
  143. data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_resource_type.rb +16 -0
  144. data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb +109 -0
  145. data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_storage_property_dictionary_resource.rb +99 -0
  146. data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_storage_state.rb +17 -0
  147. data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_storage_type.rb +16 -0
  148. data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +60 -0
  149. data/lib/2020-09-01/generated/azure_mgmt_web/models/backup_item.rb +266 -0
  150. data/lib/2020-09-01/generated/azure_mgmt_web/models/backup_item_collection.rb +99 -0
  151. data/lib/2020-09-01/generated/azure_mgmt_web/models/backup_item_status.rb +24 -0
  152. data/lib/2020-09-01/generated/azure_mgmt_web/models/backup_request.rb +148 -0
  153. data/lib/2020-09-01/generated/azure_mgmt_web/models/backup_restore_operation_type.rb +19 -0
  154. data/lib/2020-09-01/generated/azure_mgmt_web/models/backup_schedule.rb +116 -0
  155. data/lib/2020-09-01/generated/azure_mgmt_web/models/billing_meter.rb +146 -0
  156. data/lib/2020-09-01/generated/azure_mgmt_web/models/billing_meter_collection.rb +99 -0
  157. data/lib/2020-09-01/generated/azure_mgmt_web/models/blob_storage_token_store.rb +91 -0
  158. data/lib/2020-09-01/generated/azure_mgmt_web/models/build_status.rb +21 -0
  159. data/lib/2020-09-01/generated/azure_mgmt_web/models/built_in_authentication_provider.rb +20 -0
  160. data/lib/2020-09-01/generated/azure_mgmt_web/models/capability.rb +68 -0
  161. data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate.rb +356 -0
  162. data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_collection.rb +99 -0
  163. data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_details.rb +143 -0
  164. data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_email.rb +101 -0
  165. data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_order_action.rb +110 -0
  166. data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_order_action_type.rb +28 -0
  167. data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_order_status.rb +24 -0
  168. data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb +332 -0
  169. data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_product_type.rb +16 -0
  170. data/lib/2020-09-01/generated/azure_mgmt_web/models/channels.rb +19 -0
  171. data/lib/2020-09-01/generated/azure_mgmt_web/models/check_name_resource_types.rb +22 -0
  172. data/lib/2020-09-01/generated/azure_mgmt_web/models/client_cert_mode.rb +16 -0
  173. data/lib/2020-09-01/generated/azure_mgmt_web/models/client_credential_method.rb +15 -0
  174. data/lib/2020-09-01/generated/azure_mgmt_web/models/client_registration.rb +102 -0
  175. data/lib/2020-09-01/generated/azure_mgmt_web/models/clone_ability_result.rb +17 -0
  176. data/lib/2020-09-01/generated/azure_mgmt_web/models/cloning_info.rb +181 -0
  177. data/lib/2020-09-01/generated/azure_mgmt_web/models/compute_mode_options.rb +17 -0
  178. data/lib/2020-09-01/generated/azure_mgmt_web/models/conn_string_info.rb +71 -0
  179. data/lib/2020-09-01/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +60 -0
  180. data/lib/2020-09-01/generated/azure_mgmt_web/models/connection_string_dictionary.rb +99 -0
  181. data/lib/2020-09-01/generated/azure_mgmt_web/models/connection_string_type.rb +25 -0
  182. data/lib/2020-09-01/generated/azure_mgmt_web/models/contact.rb +138 -0
  183. data/lib/2020-09-01/generated/azure_mgmt_web/models/container_cpu_statistics.rb +82 -0
  184. data/lib/2020-09-01/generated/azure_mgmt_web/models/container_cpu_usage.rb +88 -0
  185. data/lib/2020-09-01/generated/azure_mgmt_web/models/container_info.rb +128 -0
  186. data/lib/2020-09-01/generated/azure_mgmt_web/models/container_memory_statistics.rb +69 -0
  187. data/lib/2020-09-01/generated/azure_mgmt_web/models/container_network_interface_statistics.rb +124 -0
  188. data/lib/2020-09-01/generated/azure_mgmt_web/models/container_throttling_data.rb +69 -0
  189. data/lib/2020-09-01/generated/azure_mgmt_web/models/continuous_web_job.rb +201 -0
  190. data/lib/2020-09-01/generated/azure_mgmt_web/models/continuous_web_job_collection.rb +99 -0
  191. data/lib/2020-09-01/generated/azure_mgmt_web/models/continuous_web_job_status.rb +19 -0
  192. data/lib/2020-09-01/generated/azure_mgmt_web/models/cookie_expiration.rb +104 -0
  193. data/lib/2020-09-01/generated/azure_mgmt_web/models/cookie_expiration_convention.rb +16 -0
  194. data/lib/2020-09-01/generated/azure_mgmt_web/models/cors_settings.rb +70 -0
  195. data/lib/2020-09-01/generated/azure_mgmt_web/models/created_by_type.rb +18 -0
  196. data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_copy_slot_entity.rb +63 -0
  197. data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +71 -0
  198. data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_operation_collection.rb +99 -0
  199. data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_operation_description.rb +82 -0
  200. data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb +47 -0
  201. data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_operation_display.rb +79 -0
  202. data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_publishing_credentials_policies_collection.rb +106 -0
  203. data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_publishing_credentials_policies_entity.rb +91 -0
  204. data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +60 -0
  205. data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_slot_entity.rb +58 -0
  206. data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_usage_quota.rb +91 -0
  207. data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +99 -0
  208. data/lib/2020-09-01/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +16 -0
  209. data/lib/2020-09-01/generated/azure_mgmt_web/models/custom_hostname_analysis_result.rb +258 -0
  210. data/lib/2020-09-01/generated/azure_mgmt_web/models/custom_open_id_connect_provider.rb +115 -0
  211. data/lib/2020-09-01/generated/azure_mgmt_web/models/data_source.rb +74 -0
  212. data/lib/2020-09-01/generated/azure_mgmt_web/models/data_table_response_column.rb +68 -0
  213. data/lib/2020-09-01/generated/azure_mgmt_web/models/data_table_response_object.rb +94 -0
  214. data/lib/2020-09-01/generated/azure_mgmt_web/models/database_backup_setting.rb +84 -0
  215. data/lib/2020-09-01/generated/azure_mgmt_web/models/database_type.rb +18 -0
  216. data/lib/2020-09-01/generated/azure_mgmt_web/models/default_error_response.rb +48 -0
  217. data/lib/2020-09-01/generated/azure_mgmt_web/models/default_error_response_error.rb +104 -0
  218. data/lib/2020-09-01/generated/azure_mgmt_web/models/default_error_response_error_details_item.rb +72 -0
  219. data/lib/2020-09-01/generated/azure_mgmt_web/models/deleted_app_restore_request.rb +128 -0
  220. data/lib/2020-09-01/generated/azure_mgmt_web/models/deleted_site.rb +175 -0
  221. data/lib/2020-09-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +99 -0
  222. data/lib/2020-09-01/generated/azure_mgmt_web/models/deployment.rb +179 -0
  223. data/lib/2020-09-01/generated/azure_mgmt_web/models/deployment_collection.rb +99 -0
  224. data/lib/2020-09-01/generated/azure_mgmt_web/models/deployment_locations.rb +98 -0
  225. data/lib/2020-09-01/generated/azure_mgmt_web/models/detector_abnormal_time_period.rb +153 -0
  226. data/lib/2020-09-01/generated/azure_mgmt_web/models/detector_definition.rb +127 -0
  227. data/lib/2020-09-01/generated/azure_mgmt_web/models/detector_info.rb +83 -0
  228. data/lib/2020-09-01/generated/azure_mgmt_web/models/detector_response.rb +111 -0
  229. data/lib/2020-09-01/generated/azure_mgmt_web/models/detector_response_collection.rb +99 -0
  230. data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_analysis.rb +162 -0
  231. data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_analysis_collection.rb +99 -0
  232. data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_category.rb +91 -0
  233. data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_category_collection.rb +99 -0
  234. data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_data.rb +60 -0
  235. data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_detector_collection.rb +99 -0
  236. data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb +206 -0
  237. data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_metric_sample.rb +109 -0
  238. data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_metric_set.rb +113 -0
  239. data/lib/2020-09-01/generated/azure_mgmt_web/models/dimension.rb +81 -0
  240. data/lib/2020-09-01/generated/azure_mgmt_web/models/dns_type.rb +16 -0
  241. data/lib/2020-09-01/generated/azure_mgmt_web/models/dns_verification_test_result.rb +17 -0
  242. data/lib/2020-09-01/generated/azure_mgmt_web/models/domain.rb +381 -0
  243. data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_availability_check_result.rb +73 -0
  244. data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_collection.rb +99 -0
  245. data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +72 -0
  246. data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_ownership_identifier.rb +90 -0
  247. data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +99 -0
  248. data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_patch_resource.rb +357 -0
  249. data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_purchase_consent.rb +79 -0
  250. data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +58 -0
  251. data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_status.rb +35 -0
  252. data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_type.rb +16 -0
  253. data/lib/2020-09-01/generated/azure_mgmt_web/models/enabled_config.rb +47 -0
  254. data/lib/2020-09-01/generated/azure_mgmt_web/models/endpoint_dependency.rb +68 -0
  255. data/lib/2020-09-01/generated/azure_mgmt_web/models/endpoint_detail.rb +83 -0
  256. data/lib/2020-09-01/generated/azure_mgmt_web/models/error_entity.rb +118 -0
  257. data/lib/2020-09-01/generated/azure_mgmt_web/models/experiments.rb +55 -0
  258. data/lib/2020-09-01/generated/azure_mgmt_web/models/facebook.rb +126 -0
  259. data/lib/2020-09-01/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +49 -0
  260. data/lib/2020-09-01/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +78 -0
  261. data/lib/2020-09-01/generated/azure_mgmt_web/models/file_system_token_store.rb +91 -0
  262. data/lib/2020-09-01/generated/azure_mgmt_web/models/forward_proxy.rb +115 -0
  263. data/lib/2020-09-01/generated/azure_mgmt_web/models/forward_proxy_convention.rb +17 -0
  264. data/lib/2020-09-01/generated/azure_mgmt_web/models/frequency_unit.rb +16 -0
  265. data/lib/2020-09-01/generated/azure_mgmt_web/models/ftps_state.rb +17 -0
  266. data/lib/2020-09-01/generated/azure_mgmt_web/models/function_envelope.rb +231 -0
  267. data/lib/2020-09-01/generated/azure_mgmt_web/models/function_envelope_collection.rb +99 -0
  268. data/lib/2020-09-01/generated/azure_mgmt_web/models/function_secrets.rb +57 -0
  269. data/lib/2020-09-01/generated/azure_mgmt_web/models/geo_region.rb +115 -0
  270. data/lib/2020-09-01/generated/azure_mgmt_web/models/geo_region_collection.rb +99 -0
  271. data/lib/2020-09-01/generated/azure_mgmt_web/models/git_hub.rb +115 -0
  272. data/lib/2020-09-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb +131 -0
  273. data/lib/2020-09-01/generated/azure_mgmt_web/models/global_validation.rb +134 -0
  274. data/lib/2020-09-01/generated/azure_mgmt_web/models/google.rb +127 -0
  275. data/lib/2020-09-01/generated/azure_mgmt_web/models/handler_mapping.rb +73 -0
  276. data/lib/2020-09-01/generated/azure_mgmt_web/models/host_keys.rb +84 -0
  277. data/lib/2020-09-01/generated/azure_mgmt_web/models/host_name.rb +119 -0
  278. data/lib/2020-09-01/generated/azure_mgmt_web/models/host_name_binding.rb +188 -0
  279. data/lib/2020-09-01/generated/azure_mgmt_web/models/host_name_binding_collection.rb +99 -0
  280. data/lib/2020-09-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb +106 -0
  281. data/lib/2020-09-01/generated/azure_mgmt_web/models/host_name_type.rb +16 -0
  282. data/lib/2020-09-01/generated/azure_mgmt_web/models/host_type.rb +16 -0
  283. data/lib/2020-09-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb +57 -0
  284. data/lib/2020-09-01/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +57 -0
  285. data/lib/2020-09-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +70 -0
  286. data/lib/2020-09-01/generated/azure_mgmt_web/models/hosting_environment_status.rb +18 -0
  287. data/lib/2020-09-01/generated/azure_mgmt_web/models/http_logs_config.rb +61 -0
  288. data/lib/2020-09-01/generated/azure_mgmt_web/models/http_settings.rb +115 -0
  289. data/lib/2020-09-01/generated/azure_mgmt_web/models/http_settings_routes.rb +91 -0
  290. data/lib/2020-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb +172 -0
  291. data/lib/2020-09-01/generated/azure_mgmt_web/models/hybrid_connection_collection.rb +99 -0
  292. data/lib/2020-09-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb +104 -0
  293. data/lib/2020-09-01/generated/azure_mgmt_web/models/hybrid_connection_limits.rb +104 -0
  294. data/lib/2020-09-01/generated/azure_mgmt_web/models/identifier.rb +90 -0
  295. data/lib/2020-09-01/generated/azure_mgmt_web/models/identifier_collection.rb +99 -0
  296. data/lib/2020-09-01/generated/azure_mgmt_web/models/identity_providers.rb +160 -0
  297. data/lib/2020-09-01/generated/azure_mgmt_web/models/in_availability_reason_type.rb +16 -0
  298. data/lib/2020-09-01/generated/azure_mgmt_web/models/inbound_environment_endpoint.rb +88 -0
  299. data/lib/2020-09-01/generated/azure_mgmt_web/models/inbound_environment_endpoint_collection.rb +99 -0
  300. data/lib/2020-09-01/generated/azure_mgmt_web/models/ip_filter_tag.rb +17 -0
  301. data/lib/2020-09-01/generated/azure_mgmt_web/models/ip_security_restriction.rb +202 -0
  302. data/lib/2020-09-01/generated/azure_mgmt_web/models/issue_type.rb +22 -0
  303. data/lib/2020-09-01/generated/azure_mgmt_web/models/jwt_claim_checks.rb +118 -0
  304. data/lib/2020-09-01/generated/azure_mgmt_web/models/key_info.rb +57 -0
  305. data/lib/2020-09-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb +25 -0
  306. data/lib/2020-09-01/generated/azure_mgmt_web/models/load_balancing_mode.rb +18 -0
  307. data/lib/2020-09-01/generated/azure_mgmt_web/models/localizable_string.rb +57 -0
  308. data/lib/2020-09-01/generated/azure_mgmt_web/models/log_level.rb +19 -0
  309. data/lib/2020-09-01/generated/azure_mgmt_web/models/log_specification.rb +79 -0
  310. data/lib/2020-09-01/generated/azure_mgmt_web/models/login.rb +158 -0
  311. data/lib/2020-09-01/generated/azure_mgmt_web/models/login_routes.rb +91 -0
  312. data/lib/2020-09-01/generated/azure_mgmt_web/models/login_scopes.rb +99 -0
  313. data/lib/2020-09-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb +16 -0
  314. data/lib/2020-09-01/generated/azure_mgmt_web/models/managed_service_identity.rb +97 -0
  315. data/lib/2020-09-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +18 -0
  316. data/lib/2020-09-01/generated/azure_mgmt_web/models/managed_service_identity_user_assigned_identities_value.rb +61 -0
  317. data/lib/2020-09-01/generated/azure_mgmt_web/models/metric_availability.rb +57 -0
  318. data/lib/2020-09-01/generated/azure_mgmt_web/models/metric_specification.rb +256 -0
  319. data/lib/2020-09-01/generated/azure_mgmt_web/models/migrate_my_sql_request.rb +103 -0
  320. data/lib/2020-09-01/generated/azure_mgmt_web/models/migrate_my_sql_status.rb +117 -0
  321. data/lib/2020-09-01/generated/azure_mgmt_web/models/msdeploy.rb +174 -0
  322. data/lib/2020-09-01/generated/azure_mgmt_web/models/msdeploy_log.rb +100 -0
  323. data/lib/2020-09-01/generated/azure_mgmt_web/models/msdeploy_log_entry.rb +73 -0
  324. data/lib/2020-09-01/generated/azure_mgmt_web/models/msdeploy_log_entry_type.rb +17 -0
  325. data/lib/2020-09-01/generated/azure_mgmt_web/models/msdeploy_provisioning_state.rb +19 -0
  326. data/lib/2020-09-01/generated/azure_mgmt_web/models/msdeploy_status.rb +141 -0
  327. data/lib/2020-09-01/generated/azure_mgmt_web/models/my_sql_migration_type.rb +16 -0
  328. data/lib/2020-09-01/generated/azure_mgmt_web/models/name_identifier.rb +46 -0
  329. data/lib/2020-09-01/generated/azure_mgmt_web/models/name_identifier_collection.rb +99 -0
  330. data/lib/2020-09-01/generated/azure_mgmt_web/models/name_value_pair.rb +57 -0
  331. data/lib/2020-09-01/generated/azure_mgmt_web/models/network_access_control_entry.rb +81 -0
  332. data/lib/2020-09-01/generated/azure_mgmt_web/models/network_features.rb +149 -0
  333. data/lib/2020-09-01/generated/azure_mgmt_web/models/network_trace.rb +70 -0
  334. data/lib/2020-09-01/generated/azure_mgmt_web/models/nonce.rb +102 -0
  335. data/lib/2020-09-01/generated/azure_mgmt_web/models/notification_level.rb +18 -0
  336. data/lib/2020-09-01/generated/azure_mgmt_web/models/open_id_connect_client_credential.rb +104 -0
  337. data/lib/2020-09-01/generated/azure_mgmt_web/models/open_id_connect_config.rb +135 -0
  338. data/lib/2020-09-01/generated/azure_mgmt_web/models/open_id_connect_login.rb +110 -0
  339. data/lib/2020-09-01/generated/azure_mgmt_web/models/open_id_connect_registration.rb +115 -0
  340. data/lib/2020-09-01/generated/azure_mgmt_web/models/operation.rb +135 -0
  341. data/lib/2020-09-01/generated/azure_mgmt_web/models/operation_status.rb +19 -0
  342. data/lib/2020-09-01/generated/azure_mgmt_web/models/outbound_environment_endpoint.rb +70 -0
  343. data/lib/2020-09-01/generated/azure_mgmt_web/models/outbound_environment_endpoint_collection.rb +99 -0
  344. data/lib/2020-09-01/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +99 -0
  345. data/lib/2020-09-01/generated/azure_mgmt_web/models/perf_mon_response.rb +69 -0
  346. data/lib/2020-09-01/generated/azure_mgmt_web/models/perf_mon_sample.rb +68 -0
  347. data/lib/2020-09-01/generated/azure_mgmt_web/models/perf_mon_set.rb +100 -0
  348. data/lib/2020-09-01/generated/azure_mgmt_web/models/premier_add_on.rb +158 -0
  349. data/lib/2020-09-01/generated/azure_mgmt_web/models/premier_add_on_offer.rb +193 -0
  350. data/lib/2020-09-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +99 -0
  351. data/lib/2020-09-01/generated/azure_mgmt_web/models/premier_add_on_patch_resource.rb +134 -0
  352. data/lib/2020-09-01/generated/azure_mgmt_web/models/private_access.rb +111 -0
  353. data/lib/2020-09-01/generated/azure_mgmt_web/models/private_access_subnet.rb +58 -0
  354. data/lib/2020-09-01/generated/azure_mgmt_web/models/private_access_virtual_network.rb +91 -0
  355. data/lib/2020-09-01/generated/azure_mgmt_web/models/private_endpoint_connection_resource.rb +116 -0
  356. data/lib/2020-09-01/generated/azure_mgmt_web/models/private_link_connection_approval_request_resource.rb +92 -0
  357. data/lib/2020-09-01/generated/azure_mgmt_web/models/private_link_connection_state.rb +68 -0
  358. data/lib/2020-09-01/generated/azure_mgmt_web/models/private_link_resource.rb +81 -0
  359. data/lib/2020-09-01/generated/azure_mgmt_web/models/private_link_resource_properties.rb +87 -0
  360. data/lib/2020-09-01/generated/azure_mgmt_web/models/private_link_resources_wrapper.rb +55 -0
  361. data/lib/2020-09-01/generated/azure_mgmt_web/models/process_info.rb +518 -0
  362. data/lib/2020-09-01/generated/azure_mgmt_web/models/process_info_collection.rb +99 -0
  363. data/lib/2020-09-01/generated/azure_mgmt_web/models/process_module_info.rb +201 -0
  364. data/lib/2020-09-01/generated/azure_mgmt_web/models/process_module_info_collection.rb +99 -0
  365. data/lib/2020-09-01/generated/azure_mgmt_web/models/process_thread_info.rb +212 -0
  366. data/lib/2020-09-01/generated/azure_mgmt_web/models/process_thread_info_collection.rb +99 -0
  367. data/lib/2020-09-01/generated/azure_mgmt_web/models/provisioning_state.rb +19 -0
  368. data/lib/2020-09-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +95 -0
  369. data/lib/2020-09-01/generated/azure_mgmt_web/models/public_certificate.rb +115 -0
  370. data/lib/2020-09-01/generated/azure_mgmt_web/models/public_certificate_collection.rb +99 -0
  371. data/lib/2020-09-01/generated/azure_mgmt_web/models/public_certificate_location.rb +17 -0
  372. data/lib/2020-09-01/generated/azure_mgmt_web/models/publishing_profile_format.rb +17 -0
  373. data/lib/2020-09-01/generated/azure_mgmt_web/models/push_settings.rb +132 -0
  374. data/lib/2020-09-01/generated/azure_mgmt_web/models/ramp_up_rule.rb +142 -0
  375. data/lib/2020-09-01/generated/azure_mgmt_web/models/recommendation.rb +369 -0
  376. data/lib/2020-09-01/generated/azure_mgmt_web/models/recommendation_collection.rb +99 -0
  377. data/lib/2020-09-01/generated/azure_mgmt_web/models/recommendation_rule.rb +246 -0
  378. data/lib/2020-09-01/generated/azure_mgmt_web/models/redundancy_mode.rb +19 -0
  379. data/lib/2020-09-01/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +125 -0
  380. data/lib/2020-09-01/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +156 -0
  381. data/lib/2020-09-01/generated/azure_mgmt_web/models/rendering.rb +71 -0
  382. data/lib/2020-09-01/generated/azure_mgmt_web/models/rendering_type.rb +18 -0
  383. data/lib/2020-09-01/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +113 -0
  384. data/lib/2020-09-01/generated/azure_mgmt_web/models/requests_based_trigger.rb +57 -0
  385. data/lib/2020-09-01/generated/azure_mgmt_web/models/resource.rb +133 -0
  386. data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_collection.rb +98 -0
  387. data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_health_metadata.rb +102 -0
  388. data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_health_metadata_collection.rb +99 -0
  389. data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_metric_availability.rb +59 -0
  390. data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_metric_definition.rb +157 -0
  391. data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +99 -0
  392. data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_name_availability.rb +78 -0
  393. data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_name_availability_request.rb +71 -0
  394. data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_scope_type.rb +17 -0
  395. data/lib/2020-09-01/generated/azure_mgmt_web/models/response_meta_data.rb +48 -0
  396. data/lib/2020-09-01/generated/azure_mgmt_web/models/restore_request.rb +226 -0
  397. data/lib/2020-09-01/generated/azure_mgmt_web/models/route_type.rb +17 -0
  398. data/lib/2020-09-01/generated/azure_mgmt_web/models/scm_type.rb +28 -0
  399. data/lib/2020-09-01/generated/azure_mgmt_web/models/service_specification.rb +76 -0
  400. data/lib/2020-09-01/generated/azure_mgmt_web/models/site.rb +643 -0
  401. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_auth_settings.rb +659 -0
  402. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_auth_settings_v2.rb +140 -0
  403. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_availability_state.rb +17 -0
  404. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_cloneability.rb +113 -0
  405. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +57 -0
  406. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_config.rb +782 -0
  407. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_config_resource.rb +826 -0
  408. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_config_resource_collection.rb +99 -0
  409. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info.rb +103 -0
  410. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info_collection.rb +101 -0
  411. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_extension_info.rb +310 -0
  412. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_extension_info_collection.rb +99 -0
  413. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_extension_type.rb +16 -0
  414. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_limits.rb +68 -0
  415. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_load_balancing.rb +19 -0
  416. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_logs_config.rb +127 -0
  417. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_machine_key.rb +79 -0
  418. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_patch_resource.rb +619 -0
  419. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_php_error_log_flag.rb +123 -0
  420. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_runtime_state.rb +17 -0
  421. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_seal.rb +46 -0
  422. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_seal_request.rb +58 -0
  423. data/lib/2020-09-01/generated/azure_mgmt_web/models/site_source_control.rb +150 -0
  424. data/lib/2020-09-01/generated/azure_mgmt_web/models/sku_capacity.rb +83 -0
  425. data/lib/2020-09-01/generated/azure_mgmt_web/models/sku_description.rb +142 -0
  426. data/lib/2020-09-01/generated/azure_mgmt_web/models/sku_info.rb +70 -0
  427. data/lib/2020-09-01/generated/azure_mgmt_web/models/sku_info_collection.rb +99 -0
  428. data/lib/2020-09-01/generated/azure_mgmt_web/models/sku_infos.rb +67 -0
  429. data/lib/2020-09-01/generated/azure_mgmt_web/models/sku_name.rb +24 -0
  430. data/lib/2020-09-01/generated/azure_mgmt_web/models/slot_config_names_resource.rb +137 -0
  431. data/lib/2020-09-01/generated/azure_mgmt_web/models/slot_difference.rb +166 -0
  432. data/lib/2020-09-01/generated/azure_mgmt_web/models/slot_difference_collection.rb +99 -0
  433. data/lib/2020-09-01/generated/azure_mgmt_web/models/slot_swap_status.rb +71 -0
  434. data/lib/2020-09-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +68 -0
  435. data/lib/2020-09-01/generated/azure_mgmt_web/models/snapshot.rb +91 -0
  436. data/lib/2020-09-01/generated/azure_mgmt_web/models/snapshot_collection.rb +100 -0
  437. data/lib/2020-09-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb +62 -0
  438. data/lib/2020-09-01/generated/azure_mgmt_web/models/snapshot_restore_request.rb +154 -0
  439. data/lib/2020-09-01/generated/azure_mgmt_web/models/solution.rb +148 -0
  440. data/lib/2020-09-01/generated/azure_mgmt_web/models/solution_type.rb +17 -0
  441. data/lib/2020-09-01/generated/azure_mgmt_web/models/source_control.rb +123 -0
  442. data/lib/2020-09-01/generated/azure_mgmt_web/models/source_control_collection.rb +99 -0
  443. data/lib/2020-09-01/generated/azure_mgmt_web/models/ssl_state.rb +17 -0
  444. data/lib/2020-09-01/generated/azure_mgmt_web/models/stack_major_version.rb +138 -0
  445. data/lib/2020-09-01/generated/azure_mgmt_web/models/stack_minor_version.rb +81 -0
  446. data/lib/2020-09-01/generated/azure_mgmt_web/models/stamp_capacity.rb +168 -0
  447. data/lib/2020-09-01/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +99 -0
  448. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_armresource.rb +196 -0
  449. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_build_armresource.rb +166 -0
  450. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_build_collection.rb +99 -0
  451. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_build_properties.rb +68 -0
  452. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_collection.rb +99 -0
  453. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_custom_domain_overview_armresource.rb +105 -0
  454. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_custom_domain_overview_collection.rb +102 -0
  455. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_function_overview_armresource.rb +104 -0
  456. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_function_overview_collection.rb +101 -0
  457. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_patch_resource.rb +160 -0
  458. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_reset_properties_armresource.rb +103 -0
  459. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_user_armresource.rb +127 -0
  460. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_user_collection.rb +99 -0
  461. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_user_invitation_request_resource.rb +135 -0
  462. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_user_invitation_response_resource.rb +103 -0
  463. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_sites_workflow_preview.rb +103 -0
  464. data/lib/2020-09-01/generated/azure_mgmt_web/models/static_sites_workflow_preview_request.rb +114 -0
  465. data/lib/2020-09-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +90 -0
  466. data/lib/2020-09-01/generated/azure_mgmt_web/models/status_options.rb +17 -0
  467. data/lib/2020-09-01/generated/azure_mgmt_web/models/storage_migration_options.rb +128 -0
  468. data/lib/2020-09-01/generated/azure_mgmt_web/models/storage_migration_response.rb +92 -0
  469. data/lib/2020-09-01/generated/azure_mgmt_web/models/string_dictionary.rb +98 -0
  470. data/lib/2020-09-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  471. data/lib/2020-09-01/generated/azure_mgmt_web/models/swift_virtual_network.rb +105 -0
  472. data/lib/2020-09-01/generated/azure_mgmt_web/models/system_data.rb +105 -0
  473. data/lib/2020-09-01/generated/azure_mgmt_web/models/tld_legal_agreement.rb +79 -0
  474. data/lib/2020-09-01/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +99 -0
  475. data/lib/2020-09-01/generated/azure_mgmt_web/models/token_store.rb +126 -0
  476. data/lib/2020-09-01/generated/azure_mgmt_web/models/top_level_domain.rb +91 -0
  477. data/lib/2020-09-01/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +61 -0
  478. data/lib/2020-09-01/generated/azure_mgmt_web/models/top_level_domain_collection.rb +99 -0
  479. data/lib/2020-09-01/generated/azure_mgmt_web/models/trigger_types.rb +16 -0
  480. data/lib/2020-09-01/generated/azure_mgmt_web/models/triggered_job_history.rb +100 -0
  481. data/lib/2020-09-01/generated/azure_mgmt_web/models/triggered_job_history_collection.rb +99 -0
  482. data/lib/2020-09-01/generated/azure_mgmt_web/models/triggered_job_run.rb +202 -0
  483. data/lib/2020-09-01/generated/azure_mgmt_web/models/triggered_web_job.rb +200 -0
  484. data/lib/2020-09-01/generated/azure_mgmt_web/models/triggered_web_job_collection.rb +99 -0
  485. data/lib/2020-09-01/generated/azure_mgmt_web/models/triggered_web_job_status.rb +17 -0
  486. data/lib/2020-09-01/generated/azure_mgmt_web/models/twitter.rb +103 -0
  487. data/lib/2020-09-01/generated/azure_mgmt_web/models/twitter_registration.rb +102 -0
  488. data/lib/2020-09-01/generated/azure_mgmt_web/models/unauthenticated_client_action.rb +16 -0
  489. data/lib/2020-09-01/generated/azure_mgmt_web/models/unauthenticated_client_action_v2.rb +18 -0
  490. data/lib/2020-09-01/generated/azure_mgmt_web/models/usage.rb +177 -0
  491. data/lib/2020-09-01/generated/azure_mgmt_web/models/usage_collection.rb +99 -0
  492. data/lib/2020-09-01/generated/azure_mgmt_web/models/usage_state.rb +16 -0
  493. data/lib/2020-09-01/generated/azure_mgmt_web/models/user.rb +134 -0
  494. data/lib/2020-09-01/generated/azure_mgmt_web/models/validate_request.rb +221 -0
  495. data/lib/2020-09-01/generated/azure_mgmt_web/models/validate_resource_types.rb +16 -0
  496. data/lib/2020-09-01/generated/azure_mgmt_web/models/validate_response.rb +59 -0
  497. data/lib/2020-09-01/generated/azure_mgmt_web/models/validate_response_error.rb +57 -0
  498. data/lib/2020-09-01/generated/azure_mgmt_web/models/virtual_application.rb +90 -0
  499. data/lib/2020-09-01/generated/azure_mgmt_web/models/virtual_directory.rb +57 -0
  500. data/lib/2020-09-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb +90 -0
  501. data/lib/2020-09-01/generated/azure_mgmt_web/models/virtual_network_profile.rb +81 -0
  502. data/lib/2020-09-01/generated/azure_mgmt_web/models/vnet_gateway.rb +102 -0
  503. data/lib/2020-09-01/generated/azure_mgmt_web/models/vnet_info.rb +173 -0
  504. data/lib/2020-09-01/generated/azure_mgmt_web/models/vnet_parameters.rb +112 -0
  505. data/lib/2020-09-01/generated/azure_mgmt_web/models/vnet_route.rb +124 -0
  506. data/lib/2020-09-01/generated/azure_mgmt_web/models/vnet_validation_failure_details.rb +111 -0
  507. data/lib/2020-09-01/generated/azure_mgmt_web/models/vnet_validation_test_failure.rb +102 -0
  508. data/lib/2020-09-01/generated/azure_mgmt_web/models/web_app_collection.rb +99 -0
  509. data/lib/2020-09-01/generated/azure_mgmt_web/models/web_app_instance_status_collection.rb +99 -0
  510. data/lib/2020-09-01/generated/azure_mgmt_web/models/web_job.rb +166 -0
  511. data/lib/2020-09-01/generated/azure_mgmt_web/models/web_job_collection.rb +99 -0
  512. data/lib/2020-09-01/generated/azure_mgmt_web/models/web_job_type.rb +16 -0
  513. data/lib/2020-09-01/generated/azure_mgmt_web/models/web_site_instance_status.rb +157 -0
  514. data/lib/2020-09-01/generated/azure_mgmt_web/models/worker_pool.rb +102 -0
  515. data/lib/2020-09-01/generated/azure_mgmt_web/models/worker_pool_collection.rb +99 -0
  516. data/lib/2020-09-01/generated/azure_mgmt_web/models/worker_pool_resource.rb +158 -0
  517. data/lib/2020-09-01/generated/azure_mgmt_web/models/worker_size_options.rb +22 -0
  518. data/lib/2020-09-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  519. data/lib/2020-09-01/generated/azure_mgmt_web/provider.rb +681 -0
  520. data/lib/2020-09-01/generated/azure_mgmt_web/recommendations.rb +2306 -0
  521. data/lib/2020-09-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb +1194 -0
  522. data/lib/2020-09-01/generated/azure_mgmt_web/static_sites.rb +3889 -0
  523. data/lib/2020-09-01/generated/azure_mgmt_web/top_level_domains.rb +576 -0
  524. data/lib/2020-09-01/generated/azure_mgmt_web/web_apps.rb +52832 -0
  525. data/lib/2020-09-01/generated/azure_mgmt_web/web_site_management_client.rb +2884 -0
  526. data/lib/azure_mgmt_web.rb +7 -4
  527. data/lib/profiles/latest/modules/web_profile_module.rb +1200 -866
  528. data/lib/profiles/v2019_03_01_hybrid/modules/web_profile_module.rb +1469 -0
  529. data/lib/profiles/v2019_03_01_hybrid/web_module_definition.rb +8 -0
  530. data/lib/profiles/v2019_03_01_hybrid/web_v2019_03_01_hybrid_profile_client.rb +40 -0
  531. data/lib/version.rb +1 -1
  532. metadata +497 -5
@@ -0,0 +1,997 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Web::Mgmt::V2016_06_01
7
+ #
8
+ # CustomApis
9
+ #
10
+ class CustomApis
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the CustomApis class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [LogicAppsManagementClient] reference to the LogicAppsManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # List of custom APIs
26
+ #
27
+ # Gets a list of all custom APIs for a subscription id
28
+ #
29
+ # @param subscription_id [String] Subscription Id
30
+ # @param api_version [String] API Version
31
+ # @param top [Integer] The number of items to be included in the result
32
+ # @param skiptoken [String] Skip Token
33
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
34
+ # will be added to the HTTP request.
35
+ #
36
+ # @return [CustomApiDefinitionCollection] operation results.
37
+ #
38
+ def list(subscription_id, api_version, top:nil, skiptoken:nil, custom_headers:nil)
39
+ response = list_async(subscription_id, api_version, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value!
40
+ response.body unless response.nil?
41
+ end
42
+
43
+ #
44
+ # List of custom APIs
45
+ #
46
+ # Gets a list of all custom APIs for a subscription id
47
+ #
48
+ # @param subscription_id [String] Subscription Id
49
+ # @param api_version [String] API Version
50
+ # @param top [Integer] The number of items to be included in the result
51
+ # @param skiptoken [String] Skip Token
52
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
53
+ # will be added to the HTTP request.
54
+ #
55
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
56
+ #
57
+ def list_with_http_info(subscription_id, api_version, top:nil, skiptoken:nil, custom_headers:nil)
58
+ list_async(subscription_id, api_version, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value!
59
+ end
60
+
61
+ #
62
+ # List of custom APIs
63
+ #
64
+ # Gets a list of all custom APIs for a subscription id
65
+ #
66
+ # @param subscription_id [String] Subscription Id
67
+ # @param api_version [String] API Version
68
+ # @param top [Integer] The number of items to be included in the result
69
+ # @param skiptoken [String] Skip Token
70
+ # @param [Hash{String => String}] A hash of custom headers that will be added
71
+ # to the HTTP request.
72
+ #
73
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
74
+ #
75
+ def list_async(subscription_id, api_version, top:nil, skiptoken:nil, custom_headers:nil)
76
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
77
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
78
+
79
+
80
+ request_headers = {}
81
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
82
+
83
+ # Set Headers
84
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
85
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
86
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Web/customApis'
87
+
88
+ request_url = @base_url || @client.base_url
89
+
90
+ options = {
91
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
92
+ path_params: {'subscriptionId' => subscription_id},
93
+ query_params: {'api-version' => api_version,'$top' => top,'skiptoken' => skiptoken},
94
+ headers: request_headers.merge(custom_headers || {}),
95
+ base_url: request_url
96
+ }
97
+ promise = @client.make_request_async(:get, path_template, options)
98
+
99
+ promise = promise.then do |result|
100
+ http_response = result.response
101
+ status_code = http_response.status
102
+ response_content = http_response.body
103
+ unless status_code == 200
104
+ error_model = JSON.load(response_content)
105
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
106
+ end
107
+
108
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
109
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
110
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-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_06_01::Models::CustomApiDefinitionCollection.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
+ # List of custom APIs
130
+ #
131
+ # Gets a list of all custom APIs in a subscription for a specific resource
132
+ # group
133
+ #
134
+ # @param subscription_id [String] Subscription Id
135
+ # @param resource_group_name [String] The resource group
136
+ # @param api_version [String] API Version
137
+ # @param top [Integer] The number of items to be included in the result
138
+ # @param skiptoken [String] Skip Token
139
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
140
+ # will be added to the HTTP request.
141
+ #
142
+ # @return [CustomApiDefinitionCollection] operation results.
143
+ #
144
+ def list_by_resource_group(subscription_id, resource_group_name, api_version, top:nil, skiptoken:nil, custom_headers:nil)
145
+ response = list_by_resource_group_async(subscription_id, resource_group_name, api_version, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value!
146
+ response.body unless response.nil?
147
+ end
148
+
149
+ #
150
+ # List of custom APIs
151
+ #
152
+ # Gets a list of all custom APIs in a subscription for a specific resource
153
+ # group
154
+ #
155
+ # @param subscription_id [String] Subscription Id
156
+ # @param resource_group_name [String] The resource group
157
+ # @param api_version [String] API Version
158
+ # @param top [Integer] The number of items to be included in the result
159
+ # @param skiptoken [String] Skip Token
160
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
161
+ # will be added to the HTTP request.
162
+ #
163
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
164
+ #
165
+ def list_by_resource_group_with_http_info(subscription_id, resource_group_name, api_version, top:nil, skiptoken:nil, custom_headers:nil)
166
+ list_by_resource_group_async(subscription_id, resource_group_name, api_version, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value!
167
+ end
168
+
169
+ #
170
+ # List of custom APIs
171
+ #
172
+ # Gets a list of all custom APIs in a subscription for a specific resource
173
+ # group
174
+ #
175
+ # @param subscription_id [String] Subscription Id
176
+ # @param resource_group_name [String] The resource group
177
+ # @param api_version [String] API Version
178
+ # @param top [Integer] The number of items to be included in the result
179
+ # @param skiptoken [String] Skip Token
180
+ # @param [Hash{String => String}] A hash of custom headers that will be added
181
+ # to the HTTP request.
182
+ #
183
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
184
+ #
185
+ def list_by_resource_group_async(subscription_id, resource_group_name, api_version, top:nil, skiptoken:nil, custom_headers:nil)
186
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
187
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
188
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
189
+
190
+
191
+ request_headers = {}
192
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
193
+
194
+ # Set Headers
195
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
196
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
197
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis'
198
+
199
+ request_url = @base_url || @client.base_url
200
+
201
+ options = {
202
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
203
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name},
204
+ query_params: {'api-version' => api_version,'$top' => top,'skiptoken' => skiptoken},
205
+ headers: request_headers.merge(custom_headers || {}),
206
+ base_url: request_url
207
+ }
208
+ promise = @client.make_request_async(:get, path_template, options)
209
+
210
+ promise = promise.then do |result|
211
+ http_response = result.response
212
+ status_code = http_response.status
213
+ response_content = http_response.body
214
+ unless status_code == 200
215
+ error_model = JSON.load(response_content)
216
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
217
+ end
218
+
219
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
220
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
221
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
222
+ # Deserialize Response
223
+ if status_code == 200
224
+ begin
225
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
226
+ result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::CustomApiDefinitionCollection.mapper()
227
+ result.body = @client.deserialize(result_mapper, parsed_response)
228
+ rescue Exception => e
229
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
230
+ end
231
+ end
232
+
233
+ result
234
+ end
235
+
236
+ promise.execute
237
+ end
238
+
239
+ #
240
+ # Get a custom API
241
+ #
242
+ # Gets a custom API by name for a specific subscription and resource group
243
+ #
244
+ # @param subscription_id [String] Subscription Id
245
+ # @param resource_group_name [String] The resource group
246
+ # @param api_name [String] API name
247
+ # @param api_version [String] API Version
248
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
249
+ # will be added to the HTTP request.
250
+ #
251
+ # @return [CustomApiDefinition] operation results.
252
+ #
253
+ def get(subscription_id, resource_group_name, api_name, api_version, custom_headers:nil)
254
+ response = get_async(subscription_id, resource_group_name, api_name, api_version, custom_headers:custom_headers).value!
255
+ response.body unless response.nil?
256
+ end
257
+
258
+ #
259
+ # Get a custom API
260
+ #
261
+ # Gets a custom API by name for a specific subscription and resource group
262
+ #
263
+ # @param subscription_id [String] Subscription Id
264
+ # @param resource_group_name [String] The resource group
265
+ # @param api_name [String] API name
266
+ # @param api_version [String] API Version
267
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
268
+ # will be added to the HTTP request.
269
+ #
270
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
271
+ #
272
+ def get_with_http_info(subscription_id, resource_group_name, api_name, api_version, custom_headers:nil)
273
+ get_async(subscription_id, resource_group_name, api_name, api_version, custom_headers:custom_headers).value!
274
+ end
275
+
276
+ #
277
+ # Get a custom API
278
+ #
279
+ # Gets a custom API by name for a specific subscription and resource group
280
+ #
281
+ # @param subscription_id [String] Subscription Id
282
+ # @param resource_group_name [String] The resource group
283
+ # @param api_name [String] API name
284
+ # @param api_version [String] API Version
285
+ # @param [Hash{String => String}] A hash of custom headers that will be added
286
+ # to the HTTP request.
287
+ #
288
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
289
+ #
290
+ def get_async(subscription_id, resource_group_name, api_name, api_version, custom_headers:nil)
291
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
292
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
293
+ fail ArgumentError, 'api_name is nil' if api_name.nil?
294
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
295
+
296
+
297
+ request_headers = {}
298
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
299
+
300
+ # Set Headers
301
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
302
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
303
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}'
304
+
305
+ request_url = @base_url || @client.base_url
306
+
307
+ options = {
308
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
309
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'apiName' => api_name},
310
+ query_params: {'api-version' => api_version},
311
+ headers: request_headers.merge(custom_headers || {}),
312
+ base_url: request_url
313
+ }
314
+ promise = @client.make_request_async(:get, path_template, options)
315
+
316
+ promise = promise.then do |result|
317
+ http_response = result.response
318
+ status_code = http_response.status
319
+ response_content = http_response.body
320
+ unless status_code == 200
321
+ error_model = JSON.load(response_content)
322
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
323
+ end
324
+
325
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
326
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
327
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
328
+ # Deserialize Response
329
+ if status_code == 200
330
+ begin
331
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
332
+ result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::CustomApiDefinition.mapper()
333
+ result.body = @client.deserialize(result_mapper, parsed_response)
334
+ rescue Exception => e
335
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
336
+ end
337
+ end
338
+
339
+ result
340
+ end
341
+
342
+ promise.execute
343
+ end
344
+
345
+ #
346
+ # Replaces an existing custom API
347
+ #
348
+ # Creates or updates an existing custom API
349
+ #
350
+ # @param subscription_id [String] Subscription Id
351
+ # @param resource_group_name [String] The resource group
352
+ # @param api_name [String] API name
353
+ # @param custom_api [CustomApiDefinition] The custom API
354
+ # @param api_version [String] API Version
355
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
356
+ # will be added to the HTTP request.
357
+ #
358
+ # @return [CustomApiDefinition] operation results.
359
+ #
360
+ def create_or_update(subscription_id, resource_group_name, api_name, custom_api, api_version, custom_headers:nil)
361
+ response = create_or_update_async(subscription_id, resource_group_name, api_name, custom_api, api_version, custom_headers:custom_headers).value!
362
+ response.body unless response.nil?
363
+ end
364
+
365
+ #
366
+ # Replaces an existing custom API
367
+ #
368
+ # Creates or updates an existing custom API
369
+ #
370
+ # @param subscription_id [String] Subscription Id
371
+ # @param resource_group_name [String] The resource group
372
+ # @param api_name [String] API name
373
+ # @param custom_api [CustomApiDefinition] The custom API
374
+ # @param api_version [String] API Version
375
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
376
+ # will be added to the HTTP request.
377
+ #
378
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
379
+ #
380
+ def create_or_update_with_http_info(subscription_id, resource_group_name, api_name, custom_api, api_version, custom_headers:nil)
381
+ create_or_update_async(subscription_id, resource_group_name, api_name, custom_api, api_version, custom_headers:custom_headers).value!
382
+ end
383
+
384
+ #
385
+ # Replaces an existing custom API
386
+ #
387
+ # Creates or updates an existing custom API
388
+ #
389
+ # @param subscription_id [String] Subscription Id
390
+ # @param resource_group_name [String] The resource group
391
+ # @param api_name [String] API name
392
+ # @param custom_api [CustomApiDefinition] The custom API
393
+ # @param api_version [String] API Version
394
+ # @param [Hash{String => String}] A hash of custom headers that will be added
395
+ # to the HTTP request.
396
+ #
397
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
398
+ #
399
+ def create_or_update_async(subscription_id, resource_group_name, api_name, custom_api, api_version, custom_headers:nil)
400
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
401
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
402
+ fail ArgumentError, 'api_name is nil' if api_name.nil?
403
+ fail ArgumentError, 'custom_api is nil' if custom_api.nil?
404
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
405
+
406
+
407
+ request_headers = {}
408
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
409
+
410
+ # Set Headers
411
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
412
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
413
+
414
+ # Serialize Request
415
+ request_mapper = Azure::Web::Mgmt::V2016_06_01::Models::CustomApiDefinition.mapper()
416
+ request_content = @client.serialize(request_mapper, custom_api)
417
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
418
+
419
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}'
420
+
421
+ request_url = @base_url || @client.base_url
422
+
423
+ options = {
424
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
425
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'apiName' => api_name},
426
+ query_params: {'api-version' => api_version},
427
+ body: request_content,
428
+ headers: request_headers.merge(custom_headers || {}),
429
+ base_url: request_url
430
+ }
431
+ promise = @client.make_request_async(:put, path_template, options)
432
+
433
+ promise = promise.then do |result|
434
+ http_response = result.response
435
+ status_code = http_response.status
436
+ response_content = http_response.body
437
+ unless status_code == 200
438
+ error_model = JSON.load(response_content)
439
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
440
+ end
441
+
442
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
443
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
444
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
445
+ # Deserialize Response
446
+ if status_code == 200
447
+ begin
448
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
449
+ result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::CustomApiDefinition.mapper()
450
+ result.body = @client.deserialize(result_mapper, parsed_response)
451
+ rescue Exception => e
452
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
453
+ end
454
+ end
455
+
456
+ result
457
+ end
458
+
459
+ promise.execute
460
+ end
461
+
462
+ #
463
+ # Update an existing custom API
464
+ #
465
+ # Updates an existing custom API's tags
466
+ #
467
+ # @param subscription_id [String] Subscription Id
468
+ # @param resource_group_name [String] The resource group
469
+ # @param api_name [String] API name
470
+ # @param custom_api [CustomApiDefinition] The custom API
471
+ # @param api_version [String] API Version
472
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
473
+ # will be added to the HTTP request.
474
+ #
475
+ # @return [CustomApiDefinition] operation results.
476
+ #
477
+ def update(subscription_id, resource_group_name, api_name, custom_api, api_version, custom_headers:nil)
478
+ response = update_async(subscription_id, resource_group_name, api_name, custom_api, api_version, custom_headers:custom_headers).value!
479
+ response.body unless response.nil?
480
+ end
481
+
482
+ #
483
+ # Update an existing custom API
484
+ #
485
+ # Updates an existing custom API's tags
486
+ #
487
+ # @param subscription_id [String] Subscription Id
488
+ # @param resource_group_name [String] The resource group
489
+ # @param api_name [String] API name
490
+ # @param custom_api [CustomApiDefinition] The custom API
491
+ # @param api_version [String] API Version
492
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
493
+ # will be added to the HTTP request.
494
+ #
495
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
496
+ #
497
+ def update_with_http_info(subscription_id, resource_group_name, api_name, custom_api, api_version, custom_headers:nil)
498
+ update_async(subscription_id, resource_group_name, api_name, custom_api, api_version, custom_headers:custom_headers).value!
499
+ end
500
+
501
+ #
502
+ # Update an existing custom API
503
+ #
504
+ # Updates an existing custom API's tags
505
+ #
506
+ # @param subscription_id [String] Subscription Id
507
+ # @param resource_group_name [String] The resource group
508
+ # @param api_name [String] API name
509
+ # @param custom_api [CustomApiDefinition] The custom API
510
+ # @param api_version [String] API Version
511
+ # @param [Hash{String => String}] A hash of custom headers that will be added
512
+ # to the HTTP request.
513
+ #
514
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
515
+ #
516
+ def update_async(subscription_id, resource_group_name, api_name, custom_api, api_version, custom_headers:nil)
517
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
518
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
519
+ fail ArgumentError, 'api_name is nil' if api_name.nil?
520
+ fail ArgumentError, 'custom_api is nil' if custom_api.nil?
521
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
522
+
523
+
524
+ request_headers = {}
525
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
526
+
527
+ # Set Headers
528
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
529
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
530
+
531
+ # Serialize Request
532
+ request_mapper = Azure::Web::Mgmt::V2016_06_01::Models::CustomApiDefinition.mapper()
533
+ request_content = @client.serialize(request_mapper, custom_api)
534
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
535
+
536
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}'
537
+
538
+ request_url = @base_url || @client.base_url
539
+
540
+ options = {
541
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
542
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'apiName' => api_name},
543
+ query_params: {'api-version' => api_version},
544
+ body: request_content,
545
+ headers: request_headers.merge(custom_headers || {}),
546
+ base_url: request_url
547
+ }
548
+ promise = @client.make_request_async(:patch, path_template, options)
549
+
550
+ promise = promise.then do |result|
551
+ http_response = result.response
552
+ status_code = http_response.status
553
+ response_content = http_response.body
554
+ unless status_code == 200
555
+ error_model = JSON.load(response_content)
556
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
557
+ end
558
+
559
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
560
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
561
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
562
+ # Deserialize Response
563
+ if status_code == 200
564
+ begin
565
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
566
+ result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::CustomApiDefinition.mapper()
567
+ result.body = @client.deserialize(result_mapper, parsed_response)
568
+ rescue Exception => e
569
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
570
+ end
571
+ end
572
+
573
+ result
574
+ end
575
+
576
+ promise.execute
577
+ end
578
+
579
+ #
580
+ # Delete a custom API
581
+ #
582
+ # Deletes a custom API from the resource group
583
+ #
584
+ # @param subscription_id [String] Subscription Id
585
+ # @param resource_group_name [String] The resource group
586
+ # @param api_name [String] API name
587
+ # @param api_version [String] API Version
588
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
589
+ # will be added to the HTTP request.
590
+ #
591
+ #
592
+ def delete(subscription_id, resource_group_name, api_name, api_version, custom_headers:nil)
593
+ response = delete_async(subscription_id, resource_group_name, api_name, api_version, custom_headers:custom_headers).value!
594
+ nil
595
+ end
596
+
597
+ #
598
+ # Delete a custom API
599
+ #
600
+ # Deletes a custom API from the resource group
601
+ #
602
+ # @param subscription_id [String] Subscription Id
603
+ # @param resource_group_name [String] The resource group
604
+ # @param api_name [String] API name
605
+ # @param api_version [String] API Version
606
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
607
+ # will be added to the HTTP request.
608
+ #
609
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
610
+ #
611
+ def delete_with_http_info(subscription_id, resource_group_name, api_name, api_version, custom_headers:nil)
612
+ delete_async(subscription_id, resource_group_name, api_name, api_version, custom_headers:custom_headers).value!
613
+ end
614
+
615
+ #
616
+ # Delete a custom API
617
+ #
618
+ # Deletes a custom API from the resource group
619
+ #
620
+ # @param subscription_id [String] Subscription Id
621
+ # @param resource_group_name [String] The resource group
622
+ # @param api_name [String] API name
623
+ # @param api_version [String] API Version
624
+ # @param [Hash{String => String}] A hash of custom headers that will be added
625
+ # to the HTTP request.
626
+ #
627
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
628
+ #
629
+ def delete_async(subscription_id, resource_group_name, api_name, api_version, custom_headers:nil)
630
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
631
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
632
+ fail ArgumentError, 'api_name is nil' if api_name.nil?
633
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
634
+
635
+
636
+ request_headers = {}
637
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
638
+
639
+ # Set Headers
640
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
641
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
642
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}'
643
+
644
+ request_url = @base_url || @client.base_url
645
+
646
+ options = {
647
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
648
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'apiName' => api_name},
649
+ query_params: {'api-version' => api_version},
650
+ headers: request_headers.merge(custom_headers || {}),
651
+ base_url: request_url
652
+ }
653
+ promise = @client.make_request_async(:delete, path_template, options)
654
+
655
+ promise = promise.then do |result|
656
+ http_response = result.response
657
+ status_code = http_response.status
658
+ response_content = http_response.body
659
+ unless status_code == 200 || status_code == 204
660
+ error_model = JSON.load(response_content)
661
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
662
+ end
663
+
664
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
665
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
666
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
667
+
668
+ result
669
+ end
670
+
671
+ promise.execute
672
+ end
673
+
674
+ #
675
+ # Moves the custom API
676
+ #
677
+ # Moves a specific custom API
678
+ #
679
+ # @param subscription_id [String] Subscription Id
680
+ # @param resource_group_name [String] The resource group
681
+ # @param api_name [String] API name
682
+ # @param custom_api_reference [CustomApiReference] The custom API reference
683
+ # @param api_version [String] API Version
684
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
685
+ # will be added to the HTTP request.
686
+ #
687
+ #
688
+ def move(subscription_id, resource_group_name, api_name, custom_api_reference, api_version, custom_headers:nil)
689
+ response = move_async(subscription_id, resource_group_name, api_name, custom_api_reference, api_version, custom_headers:custom_headers).value!
690
+ nil
691
+ end
692
+
693
+ #
694
+ # Moves the custom API
695
+ #
696
+ # Moves a specific custom API
697
+ #
698
+ # @param subscription_id [String] Subscription Id
699
+ # @param resource_group_name [String] The resource group
700
+ # @param api_name [String] API name
701
+ # @param custom_api_reference [CustomApiReference] The custom API reference
702
+ # @param api_version [String] API Version
703
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
704
+ # will be added to the HTTP request.
705
+ #
706
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
707
+ #
708
+ def move_with_http_info(subscription_id, resource_group_name, api_name, custom_api_reference, api_version, custom_headers:nil)
709
+ move_async(subscription_id, resource_group_name, api_name, custom_api_reference, api_version, custom_headers:custom_headers).value!
710
+ end
711
+
712
+ #
713
+ # Moves the custom API
714
+ #
715
+ # Moves a specific custom API
716
+ #
717
+ # @param subscription_id [String] Subscription Id
718
+ # @param resource_group_name [String] The resource group
719
+ # @param api_name [String] API name
720
+ # @param custom_api_reference [CustomApiReference] The custom API reference
721
+ # @param api_version [String] API Version
722
+ # @param [Hash{String => String}] A hash of custom headers that will be added
723
+ # to the HTTP request.
724
+ #
725
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
726
+ #
727
+ def move_async(subscription_id, resource_group_name, api_name, custom_api_reference, api_version, custom_headers:nil)
728
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
729
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
730
+ fail ArgumentError, 'api_name is nil' if api_name.nil?
731
+ fail ArgumentError, 'custom_api_reference is nil' if custom_api_reference.nil?
732
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
733
+
734
+
735
+ request_headers = {}
736
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
737
+
738
+ # Set Headers
739
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
740
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
741
+
742
+ # Serialize Request
743
+ request_mapper = Azure::Web::Mgmt::V2016_06_01::Models::CustomApiReference.mapper()
744
+ request_content = @client.serialize(request_mapper, custom_api_reference)
745
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
746
+
747
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}/move'
748
+
749
+ request_url = @base_url || @client.base_url
750
+
751
+ options = {
752
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
753
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'apiName' => api_name},
754
+ query_params: {'api-version' => api_version},
755
+ body: request_content,
756
+ headers: request_headers.merge(custom_headers || {}),
757
+ base_url: request_url
758
+ }
759
+ promise = @client.make_request_async(:post, path_template, options)
760
+
761
+ promise = promise.then do |result|
762
+ http_response = result.response
763
+ status_code = http_response.status
764
+ response_content = http_response.body
765
+ unless status_code == 200
766
+ error_model = JSON.load(response_content)
767
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
768
+ end
769
+
770
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
771
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
772
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
773
+
774
+ result
775
+ end
776
+
777
+ promise.execute
778
+ end
779
+
780
+ #
781
+ # Lists WSDL interfaces
782
+ #
783
+ # This returns the list of interfaces in the WSDL
784
+ #
785
+ # @param subscription_id [String] Subscription Id
786
+ # @param location [String] The location
787
+ # @param wsdl_definition [WsdlDefinition] WSDL definition
788
+ # @param api_version [String] API Version
789
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
790
+ # will be added to the HTTP request.
791
+ #
792
+ # @return [WsdlServiceCollection] operation results.
793
+ #
794
+ def list_wsdl_interfaces(subscription_id, location, wsdl_definition, api_version, custom_headers:nil)
795
+ response = list_wsdl_interfaces_async(subscription_id, location, wsdl_definition, api_version, custom_headers:custom_headers).value!
796
+ response.body unless response.nil?
797
+ end
798
+
799
+ #
800
+ # Lists WSDL interfaces
801
+ #
802
+ # This returns the list of interfaces in the WSDL
803
+ #
804
+ # @param subscription_id [String] Subscription Id
805
+ # @param location [String] The location
806
+ # @param wsdl_definition [WsdlDefinition] WSDL definition
807
+ # @param api_version [String] API Version
808
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
809
+ # will be added to the HTTP request.
810
+ #
811
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
812
+ #
813
+ def list_wsdl_interfaces_with_http_info(subscription_id, location, wsdl_definition, api_version, custom_headers:nil)
814
+ list_wsdl_interfaces_async(subscription_id, location, wsdl_definition, api_version, custom_headers:custom_headers).value!
815
+ end
816
+
817
+ #
818
+ # Lists WSDL interfaces
819
+ #
820
+ # This returns the list of interfaces in the WSDL
821
+ #
822
+ # @param subscription_id [String] Subscription Id
823
+ # @param location [String] The location
824
+ # @param wsdl_definition [WsdlDefinition] WSDL definition
825
+ # @param api_version [String] API Version
826
+ # @param [Hash{String => String}] A hash of custom headers that will be added
827
+ # to the HTTP request.
828
+ #
829
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
830
+ #
831
+ def list_wsdl_interfaces_async(subscription_id, location, wsdl_definition, api_version, custom_headers:nil)
832
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
833
+ fail ArgumentError, 'location is nil' if location.nil?
834
+ fail ArgumentError, 'wsdl_definition is nil' if wsdl_definition.nil?
835
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
836
+
837
+
838
+ request_headers = {}
839
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
840
+
841
+ # Set Headers
842
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
843
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
844
+
845
+ # Serialize Request
846
+ request_mapper = Azure::Web::Mgmt::V2016_06_01::Models::WsdlDefinition.mapper()
847
+ request_content = @client.serialize(request_mapper, wsdl_definition)
848
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
849
+
850
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/listWsdlInterfaces'
851
+
852
+ request_url = @base_url || @client.base_url
853
+
854
+ options = {
855
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
856
+ path_params: {'subscriptionId' => subscription_id,'location' => location},
857
+ query_params: {'api-version' => api_version},
858
+ body: request_content,
859
+ headers: request_headers.merge(custom_headers || {}),
860
+ base_url: request_url
861
+ }
862
+ promise = @client.make_request_async(:post, path_template, options)
863
+
864
+ promise = promise.then do |result|
865
+ http_response = result.response
866
+ status_code = http_response.status
867
+ response_content = http_response.body
868
+ unless status_code == 200
869
+ error_model = JSON.load(response_content)
870
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
871
+ end
872
+
873
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
874
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
875
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
876
+ # Deserialize Response
877
+ if status_code == 200
878
+ begin
879
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
880
+ result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::WsdlServiceCollection.mapper()
881
+ result.body = @client.deserialize(result_mapper, parsed_response)
882
+ rescue Exception => e
883
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
884
+ end
885
+ end
886
+
887
+ result
888
+ end
889
+
890
+ promise.execute
891
+ end
892
+
893
+ #
894
+ # Returns API definition from WSDL
895
+ #
896
+ # Parses the specified WSDL and extracts the API definition
897
+ #
898
+ # @param subscription_id [String] Subscription Id
899
+ # @param location [String] The location
900
+ # @param wsdl_definition [WsdlDefinition] WSDL definition
901
+ # @param api_version [String] API Version
902
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
903
+ # will be added to the HTTP request.
904
+ #
905
+ # @return [Object] operation results.
906
+ #
907
+ def extract_api_definition_from_wsdl(subscription_id, location, wsdl_definition, api_version, custom_headers:nil)
908
+ response = extract_api_definition_from_wsdl_async(subscription_id, location, wsdl_definition, api_version, custom_headers:custom_headers).value!
909
+ response.body unless response.nil?
910
+ end
911
+
912
+ #
913
+ # Returns API definition from WSDL
914
+ #
915
+ # Parses the specified WSDL and extracts the API definition
916
+ #
917
+ # @param subscription_id [String] Subscription Id
918
+ # @param location [String] The location
919
+ # @param wsdl_definition [WsdlDefinition] WSDL definition
920
+ # @param api_version [String] API Version
921
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
922
+ # will be added to the HTTP request.
923
+ #
924
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
925
+ #
926
+ def extract_api_definition_from_wsdl_with_http_info(subscription_id, location, wsdl_definition, api_version, custom_headers:nil)
927
+ extract_api_definition_from_wsdl_async(subscription_id, location, wsdl_definition, api_version, custom_headers:custom_headers).value!
928
+ end
929
+
930
+ #
931
+ # Returns API definition from WSDL
932
+ #
933
+ # Parses the specified WSDL and extracts the API definition
934
+ #
935
+ # @param subscription_id [String] Subscription Id
936
+ # @param location [String] The location
937
+ # @param wsdl_definition [WsdlDefinition] WSDL definition
938
+ # @param api_version [String] API Version
939
+ # @param [Hash{String => String}] A hash of custom headers that will be added
940
+ # to the HTTP request.
941
+ #
942
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
943
+ #
944
+ def extract_api_definition_from_wsdl_async(subscription_id, location, wsdl_definition, api_version, custom_headers:nil)
945
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
946
+ fail ArgumentError, 'location is nil' if location.nil?
947
+ fail ArgumentError, 'wsdl_definition is nil' if wsdl_definition.nil?
948
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
949
+
950
+
951
+ request_headers = {}
952
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
953
+
954
+ # Set Headers
955
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
956
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
957
+
958
+ # Serialize Request
959
+ request_mapper = Azure::Web::Mgmt::V2016_06_01::Models::WsdlDefinition.mapper()
960
+ request_content = @client.serialize(request_mapper, wsdl_definition)
961
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
962
+
963
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/extractApiDefinitionFromWsdl'
964
+
965
+ request_url = @base_url || @client.base_url
966
+
967
+ options = {
968
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
969
+ path_params: {'subscriptionId' => subscription_id,'location' => location},
970
+ query_params: {'api-version' => api_version},
971
+ body: request_content,
972
+ headers: request_headers.merge(custom_headers || {}),
973
+ base_url: request_url
974
+ }
975
+ promise = @client.make_request_async(:post, path_template, options)
976
+
977
+ promise = promise.then do |result|
978
+ http_response = result.response
979
+ status_code = http_response.status
980
+ response_content = http_response.body
981
+ unless status_code == 200
982
+ error_model = JSON.load(response_content)
983
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
984
+ end
985
+
986
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
987
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
988
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
989
+
990
+ result
991
+ end
992
+
993
+ promise.execute
994
+ end
995
+
996
+ end
997
+ end