azure_mgmt_web 0.17.6 → 0.18.0

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