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,815 @@
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
+ # Connections
9
+ #
10
+ class Connections
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the Connections 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
+ # Get all connections
26
+ #
27
+ # Gets a list of connections
28
+ #
29
+ # @param subscription_id [String] Subscription Id
30
+ # @param resource_group_name [String] The resource group
31
+ # @param api_version [String] API Version
32
+ # @param top [Integer] The number of items to be included in the result
33
+ # @param filter [String] The filter to apply on the operation
34
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
35
+ # will be added to the HTTP request.
36
+ #
37
+ # @return [ApiConnectionDefinitionCollection] operation results.
38
+ #
39
+ def list(subscription_id, resource_group_name, api_version, top:nil, filter:nil, custom_headers:nil)
40
+ response = list_async(subscription_id, resource_group_name, api_version, top:top, filter:filter, custom_headers:custom_headers).value!
41
+ response.body unless response.nil?
42
+ end
43
+
44
+ #
45
+ # Get all connections
46
+ #
47
+ # Gets a list of connections
48
+ #
49
+ # @param subscription_id [String] Subscription Id
50
+ # @param resource_group_name [String] The resource group
51
+ # @param api_version [String] API Version
52
+ # @param top [Integer] The number of items to be included in the result
53
+ # @param filter [String] The filter to apply on the operation
54
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
55
+ # will be added to the HTTP request.
56
+ #
57
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
58
+ #
59
+ def list_with_http_info(subscription_id, resource_group_name, api_version, top:nil, filter:nil, custom_headers:nil)
60
+ list_async(subscription_id, resource_group_name, api_version, top:top, filter:filter, custom_headers:custom_headers).value!
61
+ end
62
+
63
+ #
64
+ # Get all connections
65
+ #
66
+ # Gets a list of connections
67
+ #
68
+ # @param subscription_id [String] Subscription Id
69
+ # @param resource_group_name [String] The resource group
70
+ # @param api_version [String] API Version
71
+ # @param top [Integer] The number of items to be included in the result
72
+ # @param filter [String] The filter to apply on the operation
73
+ # @param [Hash{String => String}] A hash of custom headers that will be added
74
+ # to the HTTP request.
75
+ #
76
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
77
+ #
78
+ def list_async(subscription_id, resource_group_name, api_version, top:nil, filter:nil, custom_headers:nil)
79
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
80
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
81
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
82
+
83
+
84
+ request_headers = {}
85
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
86
+
87
+ # Set Headers
88
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
89
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
90
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections'
91
+
92
+ request_url = @base_url || @client.base_url
93
+
94
+ options = {
95
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
96
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name},
97
+ query_params: {'$top' => top,'$filter' => filter,'api-version' => api_version},
98
+ headers: request_headers.merge(custom_headers || {}),
99
+ base_url: request_url
100
+ }
101
+ promise = @client.make_request_async(:get, path_template, options)
102
+
103
+ promise = promise.then do |result|
104
+ http_response = result.response
105
+ status_code = http_response.status
106
+ response_content = http_response.body
107
+ unless status_code == 200
108
+ error_model = JSON.load(response_content)
109
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
110
+ end
111
+
112
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
113
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
114
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
115
+ # Deserialize Response
116
+ if status_code == 200
117
+ begin
118
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
119
+ result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ApiConnectionDefinitionCollection.mapper()
120
+ result.body = @client.deserialize(result_mapper, parsed_response)
121
+ rescue Exception => e
122
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
123
+ end
124
+ end
125
+
126
+ result
127
+ end
128
+
129
+ promise.execute
130
+ end
131
+
132
+ #
133
+ # Get a connection
134
+ #
135
+ # Get a specific connection
136
+ #
137
+ # @param subscription_id [String] Subscription Id
138
+ # @param resource_group_name [String] The resource group
139
+ # @param connection_name [String] Connection name
140
+ # @param api_version [String] API Version
141
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
142
+ # will be added to the HTTP request.
143
+ #
144
+ # @return [ApiConnectionDefinition] operation results.
145
+ #
146
+ def get(subscription_id, resource_group_name, connection_name, api_version, custom_headers:nil)
147
+ response = get_async(subscription_id, resource_group_name, connection_name, api_version, custom_headers:custom_headers).value!
148
+ response.body unless response.nil?
149
+ end
150
+
151
+ #
152
+ # Get a connection
153
+ #
154
+ # Get a specific connection
155
+ #
156
+ # @param subscription_id [String] Subscription Id
157
+ # @param resource_group_name [String] The resource group
158
+ # @param connection_name [String] Connection name
159
+ # @param api_version [String] API Version
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 get_with_http_info(subscription_id, resource_group_name, connection_name, api_version, custom_headers:nil)
166
+ get_async(subscription_id, resource_group_name, connection_name, api_version, custom_headers:custom_headers).value!
167
+ end
168
+
169
+ #
170
+ # Get a connection
171
+ #
172
+ # Get a specific connection
173
+ #
174
+ # @param subscription_id [String] Subscription Id
175
+ # @param resource_group_name [String] The resource group
176
+ # @param connection_name [String] Connection name
177
+ # @param api_version [String] API Version
178
+ # @param [Hash{String => String}] A hash of custom headers that will be added
179
+ # to the HTTP request.
180
+ #
181
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
182
+ #
183
+ def get_async(subscription_id, resource_group_name, connection_name, api_version, custom_headers:nil)
184
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
185
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
186
+ fail ArgumentError, 'connection_name is nil' if connection_name.nil?
187
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
188
+
189
+
190
+ request_headers = {}
191
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
192
+
193
+ # Set Headers
194
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
195
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
196
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}'
197
+
198
+ request_url = @base_url || @client.base_url
199
+
200
+ options = {
201
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
202
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'connectionName' => connection_name},
203
+ query_params: {'api-version' => api_version},
204
+ headers: request_headers.merge(custom_headers || {}),
205
+ base_url: request_url
206
+ }
207
+ promise = @client.make_request_async(:get, path_template, options)
208
+
209
+ promise = promise.then do |result|
210
+ http_response = result.response
211
+ status_code = http_response.status
212
+ response_content = http_response.body
213
+ unless status_code == 200
214
+ error_model = JSON.load(response_content)
215
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
216
+ end
217
+
218
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
219
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
220
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
221
+ # Deserialize Response
222
+ if status_code == 200
223
+ begin
224
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
225
+ result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ApiConnectionDefinition.mapper()
226
+ result.body = @client.deserialize(result_mapper, parsed_response)
227
+ rescue Exception => e
228
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
229
+ end
230
+ end
231
+
232
+ result
233
+ end
234
+
235
+ promise.execute
236
+ end
237
+
238
+ #
239
+ # Replace an existing connection
240
+ #
241
+ # Creates or updates a connection
242
+ #
243
+ # @param subscription_id [String] Subscription Id
244
+ # @param resource_group_name [String] The resource group
245
+ # @param connection_name [String] Connection name
246
+ # @param connection [ApiConnectionDefinition] The connection
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 [ApiConnectionDefinition] operation results.
252
+ #
253
+ def create_or_update(subscription_id, resource_group_name, connection_name, connection, api_version, custom_headers:nil)
254
+ response = create_or_update_async(subscription_id, resource_group_name, connection_name, connection, api_version, custom_headers:custom_headers).value!
255
+ response.body unless response.nil?
256
+ end
257
+
258
+ #
259
+ # Replace an existing connection
260
+ #
261
+ # Creates or updates a connection
262
+ #
263
+ # @param subscription_id [String] Subscription Id
264
+ # @param resource_group_name [String] The resource group
265
+ # @param connection_name [String] Connection name
266
+ # @param connection [ApiConnectionDefinition] The connection
267
+ # @param api_version [String] API Version
268
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
269
+ # will be added to the HTTP request.
270
+ #
271
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
272
+ #
273
+ def create_or_update_with_http_info(subscription_id, resource_group_name, connection_name, connection, api_version, custom_headers:nil)
274
+ create_or_update_async(subscription_id, resource_group_name, connection_name, connection, api_version, custom_headers:custom_headers).value!
275
+ end
276
+
277
+ #
278
+ # Replace an existing connection
279
+ #
280
+ # Creates or updates a connection
281
+ #
282
+ # @param subscription_id [String] Subscription Id
283
+ # @param resource_group_name [String] The resource group
284
+ # @param connection_name [String] Connection name
285
+ # @param connection [ApiConnectionDefinition] The connection
286
+ # @param api_version [String] API Version
287
+ # @param [Hash{String => String}] A hash of custom headers that will be added
288
+ # to the HTTP request.
289
+ #
290
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
291
+ #
292
+ def create_or_update_async(subscription_id, resource_group_name, connection_name, connection, api_version, custom_headers:nil)
293
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
294
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
295
+ fail ArgumentError, 'connection_name is nil' if connection_name.nil?
296
+ fail ArgumentError, 'connection is nil' if connection.nil?
297
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
298
+
299
+
300
+ request_headers = {}
301
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
302
+
303
+ # Set Headers
304
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
305
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
306
+
307
+ # Serialize Request
308
+ request_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ApiConnectionDefinition.mapper()
309
+ request_content = @client.serialize(request_mapper, connection)
310
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
311
+
312
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}'
313
+
314
+ request_url = @base_url || @client.base_url
315
+
316
+ options = {
317
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
318
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'connectionName' => connection_name},
319
+ query_params: {'api-version' => api_version},
320
+ body: request_content,
321
+ headers: request_headers.merge(custom_headers || {}),
322
+ base_url: request_url
323
+ }
324
+ promise = @client.make_request_async(:put, path_template, options)
325
+
326
+ promise = promise.then do |result|
327
+ http_response = result.response
328
+ status_code = http_response.status
329
+ response_content = http_response.body
330
+ unless status_code == 200 || status_code == 201
331
+ error_model = JSON.load(response_content)
332
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
333
+ end
334
+
335
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
336
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
337
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
338
+ # Deserialize Response
339
+ if status_code == 200
340
+ begin
341
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
342
+ result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ApiConnectionDefinition.mapper()
343
+ result.body = @client.deserialize(result_mapper, parsed_response)
344
+ rescue Exception => e
345
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
346
+ end
347
+ end
348
+ # Deserialize Response
349
+ if status_code == 201
350
+ begin
351
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
352
+ result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ApiConnectionDefinition.mapper()
353
+ result.body = @client.deserialize(result_mapper, parsed_response)
354
+ rescue Exception => e
355
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
356
+ end
357
+ end
358
+
359
+ result
360
+ end
361
+
362
+ promise.execute
363
+ end
364
+
365
+ #
366
+ # Update an existing connection
367
+ #
368
+ # Updates a connection's tags
369
+ #
370
+ # @param subscription_id [String] Subscription Id
371
+ # @param resource_group_name [String] The resource group
372
+ # @param connection_name [String] Connection name
373
+ # @param connection [ApiConnectionDefinition] The connection
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 [ApiConnectionDefinition] operation results.
379
+ #
380
+ def update(subscription_id, resource_group_name, connection_name, connection, api_version, custom_headers:nil)
381
+ response = update_async(subscription_id, resource_group_name, connection_name, connection, api_version, custom_headers:custom_headers).value!
382
+ response.body unless response.nil?
383
+ end
384
+
385
+ #
386
+ # Update an existing connection
387
+ #
388
+ # Updates a connection's tags
389
+ #
390
+ # @param subscription_id [String] Subscription Id
391
+ # @param resource_group_name [String] The resource group
392
+ # @param connection_name [String] Connection name
393
+ # @param connection [ApiConnectionDefinition] The connection
394
+ # @param api_version [String] API Version
395
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
396
+ # will be added to the HTTP request.
397
+ #
398
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
399
+ #
400
+ def update_with_http_info(subscription_id, resource_group_name, connection_name, connection, api_version, custom_headers:nil)
401
+ update_async(subscription_id, resource_group_name, connection_name, connection, api_version, custom_headers:custom_headers).value!
402
+ end
403
+
404
+ #
405
+ # Update an existing connection
406
+ #
407
+ # Updates a connection's tags
408
+ #
409
+ # @param subscription_id [String] Subscription Id
410
+ # @param resource_group_name [String] The resource group
411
+ # @param connection_name [String] Connection name
412
+ # @param connection [ApiConnectionDefinition] The connection
413
+ # @param api_version [String] API Version
414
+ # @param [Hash{String => String}] A hash of custom headers that will be added
415
+ # to the HTTP request.
416
+ #
417
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
418
+ #
419
+ def update_async(subscription_id, resource_group_name, connection_name, connection, api_version, custom_headers:nil)
420
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
421
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
422
+ fail ArgumentError, 'connection_name is nil' if connection_name.nil?
423
+ fail ArgumentError, 'connection is nil' if connection.nil?
424
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
425
+
426
+
427
+ request_headers = {}
428
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
429
+
430
+ # Set Headers
431
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
432
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
433
+
434
+ # Serialize Request
435
+ request_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ApiConnectionDefinition.mapper()
436
+ request_content = @client.serialize(request_mapper, connection)
437
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
438
+
439
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}'
440
+
441
+ request_url = @base_url || @client.base_url
442
+
443
+ options = {
444
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
445
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'connectionName' => connection_name},
446
+ query_params: {'api-version' => api_version},
447
+ body: request_content,
448
+ headers: request_headers.merge(custom_headers || {}),
449
+ base_url: request_url
450
+ }
451
+ promise = @client.make_request_async(:patch, path_template, options)
452
+
453
+ promise = promise.then do |result|
454
+ http_response = result.response
455
+ status_code = http_response.status
456
+ response_content = http_response.body
457
+ unless status_code == 200
458
+ error_model = JSON.load(response_content)
459
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
460
+ end
461
+
462
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
463
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
464
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
465
+ # Deserialize Response
466
+ if status_code == 200
467
+ begin
468
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
469
+ result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ApiConnectionDefinition.mapper()
470
+ result.body = @client.deserialize(result_mapper, parsed_response)
471
+ rescue Exception => e
472
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
473
+ end
474
+ end
475
+
476
+ result
477
+ end
478
+
479
+ promise.execute
480
+ end
481
+
482
+ #
483
+ # Delete an existing connection
484
+ #
485
+ # Deletes a connection
486
+ #
487
+ # @param subscription_id [String] Subscription Id
488
+ # @param resource_group_name [String] The resource group
489
+ # @param connection_name [String] Connection name
490
+ # @param api_version [String] API Version
491
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
492
+ # will be added to the HTTP request.
493
+ #
494
+ #
495
+ def delete(subscription_id, resource_group_name, connection_name, api_version, custom_headers:nil)
496
+ response = delete_async(subscription_id, resource_group_name, connection_name, api_version, custom_headers:custom_headers).value!
497
+ nil
498
+ end
499
+
500
+ #
501
+ # Delete an existing connection
502
+ #
503
+ # Deletes a connection
504
+ #
505
+ # @param subscription_id [String] Subscription Id
506
+ # @param resource_group_name [String] The resource group
507
+ # @param connection_name [String] Connection name
508
+ # @param api_version [String] API Version
509
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
510
+ # will be added to the HTTP request.
511
+ #
512
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
513
+ #
514
+ def delete_with_http_info(subscription_id, resource_group_name, connection_name, api_version, custom_headers:nil)
515
+ delete_async(subscription_id, resource_group_name, connection_name, api_version, custom_headers:custom_headers).value!
516
+ end
517
+
518
+ #
519
+ # Delete an existing connection
520
+ #
521
+ # Deletes a connection
522
+ #
523
+ # @param subscription_id [String] Subscription Id
524
+ # @param resource_group_name [String] The resource group
525
+ # @param connection_name [String] Connection name
526
+ # @param api_version [String] API Version
527
+ # @param [Hash{String => String}] A hash of custom headers that will be added
528
+ # to the HTTP request.
529
+ #
530
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
531
+ #
532
+ def delete_async(subscription_id, resource_group_name, connection_name, api_version, custom_headers:nil)
533
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
534
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
535
+ fail ArgumentError, 'connection_name is nil' if connection_name.nil?
536
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
537
+
538
+
539
+ request_headers = {}
540
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
541
+
542
+ # Set Headers
543
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
544
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
545
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}'
546
+
547
+ request_url = @base_url || @client.base_url
548
+
549
+ options = {
550
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
551
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'connectionName' => connection_name},
552
+ query_params: {'api-version' => api_version},
553
+ headers: request_headers.merge(custom_headers || {}),
554
+ base_url: request_url
555
+ }
556
+ promise = @client.make_request_async(:delete, path_template, options)
557
+
558
+ promise = promise.then do |result|
559
+ http_response = result.response
560
+ status_code = http_response.status
561
+ response_content = http_response.body
562
+ unless status_code == 200 || status_code == 204
563
+ error_model = JSON.load(response_content)
564
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
565
+ end
566
+
567
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
568
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
569
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
570
+
571
+ result
572
+ end
573
+
574
+ promise.execute
575
+ end
576
+
577
+ #
578
+ # Lists consent links for a connection
579
+ #
580
+ # Lists the consent links of a connection
581
+ #
582
+ # @param subscription_id [String] Subscription Id
583
+ # @param resource_group_name [String] The resource group
584
+ # @param connection_name [String] Connection name
585
+ # @param list_consent_link [ListConsentLinksDefinition] The consent links
586
+ # @param api_version [String] API Version
587
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
588
+ # will be added to the HTTP request.
589
+ #
590
+ # @return [ConsentLinkCollection] operation results.
591
+ #
592
+ def list_consent_links(subscription_id, resource_group_name, connection_name, list_consent_link, api_version, custom_headers:nil)
593
+ response = list_consent_links_async(subscription_id, resource_group_name, connection_name, list_consent_link, api_version, custom_headers:custom_headers).value!
594
+ response.body unless response.nil?
595
+ end
596
+
597
+ #
598
+ # Lists consent links for a connection
599
+ #
600
+ # Lists the consent links of a connection
601
+ #
602
+ # @param subscription_id [String] Subscription Id
603
+ # @param resource_group_name [String] The resource group
604
+ # @param connection_name [String] Connection name
605
+ # @param list_consent_link [ListConsentLinksDefinition] The consent links
606
+ # @param api_version [String] API Version
607
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
608
+ # will be added to the HTTP request.
609
+ #
610
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
611
+ #
612
+ def list_consent_links_with_http_info(subscription_id, resource_group_name, connection_name, list_consent_link, api_version, custom_headers:nil)
613
+ list_consent_links_async(subscription_id, resource_group_name, connection_name, list_consent_link, api_version, custom_headers:custom_headers).value!
614
+ end
615
+
616
+ #
617
+ # Lists consent links for a connection
618
+ #
619
+ # Lists the consent links of a connection
620
+ #
621
+ # @param subscription_id [String] Subscription Id
622
+ # @param resource_group_name [String] The resource group
623
+ # @param connection_name [String] Connection name
624
+ # @param list_consent_link [ListConsentLinksDefinition] The consent links
625
+ # @param api_version [String] API Version
626
+ # @param [Hash{String => String}] A hash of custom headers that will be added
627
+ # to the HTTP request.
628
+ #
629
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
630
+ #
631
+ def list_consent_links_async(subscription_id, resource_group_name, connection_name, list_consent_link, api_version, custom_headers:nil)
632
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
633
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
634
+ fail ArgumentError, 'connection_name is nil' if connection_name.nil?
635
+ fail ArgumentError, 'list_consent_link is nil' if list_consent_link.nil?
636
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
637
+
638
+
639
+ request_headers = {}
640
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
641
+
642
+ # Set Headers
643
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
644
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
645
+
646
+ # Serialize Request
647
+ request_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ListConsentLinksDefinition.mapper()
648
+ request_content = @client.serialize(request_mapper, list_consent_link)
649
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
650
+
651
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}/listConsentLinks'
652
+
653
+ request_url = @base_url || @client.base_url
654
+
655
+ options = {
656
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
657
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'connectionName' => connection_name},
658
+ query_params: {'api-version' => api_version},
659
+ body: request_content,
660
+ headers: request_headers.merge(custom_headers || {}),
661
+ base_url: request_url
662
+ }
663
+ promise = @client.make_request_async(:post, path_template, options)
664
+
665
+ promise = promise.then do |result|
666
+ http_response = result.response
667
+ status_code = http_response.status
668
+ response_content = http_response.body
669
+ unless status_code == 200
670
+ error_model = JSON.load(response_content)
671
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
672
+ end
673
+
674
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
675
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
676
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
677
+ # Deserialize Response
678
+ if status_code == 200
679
+ begin
680
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
681
+ result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConsentLinkCollection.mapper()
682
+ result.body = @client.deserialize(result_mapper, parsed_response)
683
+ rescue Exception => e
684
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
685
+ end
686
+ end
687
+
688
+ result
689
+ end
690
+
691
+ promise.execute
692
+ end
693
+
694
+ #
695
+ # Confirms the consent code for a connection
696
+ #
697
+ # Confirms consent code of a connection
698
+ #
699
+ # @param subscription_id [String] Subscription Id
700
+ # @param resource_group_name [String] The resource group
701
+ # @param connection_name [String] Connection name
702
+ # @param confirm_consent_code [ConfirmConsentCodeDefinition] The consent code
703
+ # confirmation
704
+ # @param api_version [String] API Version
705
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
706
+ # will be added to the HTTP request.
707
+ #
708
+ # @return [ConfirmConsentCodeDefinition] operation results.
709
+ #
710
+ def confirm_consent_code(subscription_id, resource_group_name, connection_name, confirm_consent_code, api_version, custom_headers:nil)
711
+ response = confirm_consent_code_async(subscription_id, resource_group_name, connection_name, confirm_consent_code, api_version, custom_headers:custom_headers).value!
712
+ response.body unless response.nil?
713
+ end
714
+
715
+ #
716
+ # Confirms the consent code for a connection
717
+ #
718
+ # Confirms consent code of a connection
719
+ #
720
+ # @param subscription_id [String] Subscription Id
721
+ # @param resource_group_name [String] The resource group
722
+ # @param connection_name [String] Connection name
723
+ # @param confirm_consent_code [ConfirmConsentCodeDefinition] The consent code
724
+ # confirmation
725
+ # @param api_version [String] API Version
726
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
727
+ # will be added to the HTTP request.
728
+ #
729
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
730
+ #
731
+ def confirm_consent_code_with_http_info(subscription_id, resource_group_name, connection_name, confirm_consent_code, api_version, custom_headers:nil)
732
+ confirm_consent_code_async(subscription_id, resource_group_name, connection_name, confirm_consent_code, api_version, custom_headers:custom_headers).value!
733
+ end
734
+
735
+ #
736
+ # Confirms the consent code for a connection
737
+ #
738
+ # Confirms consent code of a connection
739
+ #
740
+ # @param subscription_id [String] Subscription Id
741
+ # @param resource_group_name [String] The resource group
742
+ # @param connection_name [String] Connection name
743
+ # @param confirm_consent_code [ConfirmConsentCodeDefinition] The consent code
744
+ # confirmation
745
+ # @param api_version [String] API Version
746
+ # @param [Hash{String => String}] A hash of custom headers that will be added
747
+ # to the HTTP request.
748
+ #
749
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
750
+ #
751
+ def confirm_consent_code_async(subscription_id, resource_group_name, connection_name, confirm_consent_code, api_version, custom_headers:nil)
752
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
753
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
754
+ fail ArgumentError, 'connection_name is nil' if connection_name.nil?
755
+ fail ArgumentError, 'confirm_consent_code is nil' if confirm_consent_code.nil?
756
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
757
+
758
+
759
+ request_headers = {}
760
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
761
+
762
+ # Set Headers
763
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
764
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
765
+
766
+ # Serialize Request
767
+ request_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConfirmConsentCodeDefinition.mapper()
768
+ request_content = @client.serialize(request_mapper, confirm_consent_code)
769
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
770
+
771
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}/confirmConsentCode'
772
+
773
+ request_url = @base_url || @client.base_url
774
+
775
+ options = {
776
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
777
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'connectionName' => connection_name},
778
+ query_params: {'api-version' => api_version},
779
+ body: request_content,
780
+ headers: request_headers.merge(custom_headers || {}),
781
+ base_url: request_url
782
+ }
783
+ promise = @client.make_request_async(:post, path_template, options)
784
+
785
+ promise = promise.then do |result|
786
+ http_response = result.response
787
+ status_code = http_response.status
788
+ response_content = http_response.body
789
+ unless status_code == 200
790
+ error_model = JSON.load(response_content)
791
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
792
+ end
793
+
794
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
795
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
796
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
797
+ # Deserialize Response
798
+ if status_code == 200
799
+ begin
800
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
801
+ result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConfirmConsentCodeDefinition.mapper()
802
+ result.body = @client.deserialize(result_mapper, parsed_response)
803
+ rescue Exception => e
804
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
805
+ end
806
+ end
807
+
808
+ result
809
+ end
810
+
811
+ promise.execute
812
+ end
813
+
814
+ end
815
+ end