azure_mgmt_web 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (301) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-04-01/generated/azure_mgmt_web/domains.rb +28 -0
  3. data/lib/2015-04-01/generated/azure_mgmt_web/models/address.rb +7 -0
  4. data/lib/2015-04-01/generated/azure_mgmt_web/models/contact.rb +10 -0
  5. data/lib/2015-04-01/generated/azure_mgmt_web/models/domain.rb +31 -0
  6. data/lib/2015-04-01/generated/azure_mgmt_web/models/domain_availablility_check_result.rb +4 -0
  7. data/lib/2015-04-01/generated/azure_mgmt_web/models/domain_collection.rb +4 -0
  8. data/lib/2015-04-01/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +4 -0
  9. data/lib/2015-04-01/generated/azure_mgmt_web/models/domain_ownership_identifier.rb +9 -0
  10. data/lib/2015-04-01/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +4 -0
  11. data/lib/2015-04-01/generated/azure_mgmt_web/models/domain_purchase_consent.rb +5 -0
  12. data/lib/2015-04-01/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +3 -0
  13. data/lib/2015-04-01/generated/azure_mgmt_web/models/host_name.rb +8 -0
  14. data/lib/2015-04-01/generated/azure_mgmt_web/models/name_identifier.rb +2 -0
  15. data/lib/2015-04-01/generated/azure_mgmt_web/models/name_identifier_collection.rb +4 -0
  16. data/lib/2015-04-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +5 -0
  17. data/lib/2015-04-01/generated/azure_mgmt_web/models/resource.rb +8 -0
  18. data/lib/2015-04-01/generated/azure_mgmt_web/models/tld_legal_agreement.rb +5 -0
  19. data/lib/2015-04-01/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +4 -0
  20. data/lib/2015-04-01/generated/azure_mgmt_web/models/top_level_domain.rb +7 -0
  21. data/lib/2015-04-01/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +3 -0
  22. data/lib/2015-04-01/generated/azure_mgmt_web/models/top_level_domain_collection.rb +4 -0
  23. data/lib/2015-04-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -3
  24. data/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +52 -0
  25. data/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_certificate.rb +4 -0
  26. data/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_collection.rb +4 -0
  27. data/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_order.rb +29 -0
  28. data/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +4 -0
  29. data/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_resource.rb +11 -0
  30. data/lib/2015-08-01/generated/azure_mgmt_web/models/certificate_details.rb +10 -0
  31. data/lib/2015-08-01/generated/azure_mgmt_web/models/certificate_email.rb +7 -0
  32. data/lib/2015-08-01/generated/azure_mgmt_web/models/certificate_order_action.rb +10 -0
  33. data/lib/2015-08-01/generated/azure_mgmt_web/models/name_identifier.rb +2 -0
  34. data/lib/2015-08-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +5 -0
  35. data/lib/2015-08-01/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +12 -0
  36. data/lib/2015-08-01/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +11 -0
  37. data/lib/2015-08-01/generated/azure_mgmt_web/models/resource.rb +8 -0
  38. data/lib/2015-08-01/generated/azure_mgmt_web/models/site_seal.rb +2 -0
  39. data/lib/2015-08-01/generated/azure_mgmt_web/models/site_seal_request.rb +3 -0
  40. data/lib/2015-08-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -3
  41. data/lib/2016-03-01/generated/azure_mgmt_web/certificates.rb +15 -0
  42. data/lib/2016-03-01/generated/azure_mgmt_web/models/capability.rb +4 -0
  43. data/lib/2016-03-01/generated/azure_mgmt_web/models/certificate.rb +30 -0
  44. data/lib/2016-03-01/generated/azure_mgmt_web/models/certificate_collection.rb +4 -0
  45. data/lib/2016-03-01/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +4 -0
  46. data/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_collection.rb +4 -0
  47. data/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_description.rb +5 -0
  48. data/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb +2 -0
  49. data/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_display.rb +5 -0
  50. data/lib/2016-03-01/generated/azure_mgmt_web/models/deleted_site.rb +6 -0
  51. data/lib/2016-03-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +4 -0
  52. data/lib/2016-03-01/generated/azure_mgmt_web/models/dimension.rb +5 -0
  53. data/lib/2016-03-01/generated/azure_mgmt_web/models/geo_region.rb +8 -0
  54. data/lib/2016-03-01/generated/azure_mgmt_web/models/geo_region_collection.rb +4 -0
  55. data/lib/2016-03-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb +8 -0
  56. data/lib/2016-03-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +4 -0
  57. data/lib/2016-03-01/generated/azure_mgmt_web/models/metric_availability.rb +3 -0
  58. data/lib/2016-03-01/generated/azure_mgmt_web/models/metric_specification.rb +18 -0
  59. data/lib/2016-03-01/generated/azure_mgmt_web/models/premier_add_on_offer.rb +16 -0
  60. data/lib/2016-03-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +4 -0
  61. data/lib/2016-03-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +5 -0
  62. data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation.rb +23 -0
  63. data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation_rule.rb +15 -0
  64. data/lib/2016-03-01/generated/azure_mgmt_web/models/resource.rb +8 -0
  65. data/lib/2016-03-01/generated/azure_mgmt_web/models/resource_name_availability.rb +4 -0
  66. data/lib/2016-03-01/generated/azure_mgmt_web/models/resource_name_availability_request.rb +4 -0
  67. data/lib/2016-03-01/generated/azure_mgmt_web/models/service_specification.rb +3 -0
  68. data/lib/2016-03-01/generated/azure_mgmt_web/models/sku_capacity.rb +5 -0
  69. data/lib/2016-03-01/generated/azure_mgmt_web/models/sku_infos.rb +4 -0
  70. data/lib/2016-03-01/generated/azure_mgmt_web/models/source_control.rb +10 -0
  71. data/lib/2016-03-01/generated/azure_mgmt_web/models/source_control_collection.rb +4 -0
  72. data/lib/2016-03-01/generated/azure_mgmt_web/models/user.rb +10 -0
  73. data/lib/2016-03-01/generated/azure_mgmt_web/models/validate_request.rb +9 -0
  74. data/lib/2016-03-01/generated/azure_mgmt_web/models/validate_response.rb +3 -0
  75. data/lib/2016-03-01/generated/azure_mgmt_web/models/validate_response_error.rb +3 -0
  76. data/lib/2016-03-01/generated/azure_mgmt_web/models/vnet_parameters.rb +8 -0
  77. data/lib/2016-03-01/generated/azure_mgmt_web/models/vnet_validation_failure_details.rb +8 -0
  78. data/lib/2016-03-01/generated/azure_mgmt_web/models/vnet_validation_test_failure.rb +7 -0
  79. data/lib/2016-03-01/generated/azure_mgmt_web/recommendations.rb +21 -0
  80. data/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb +10 -3
  81. data/lib/2016-08-01/generated/azure_mgmt_web/models/api_definition_info.rb +2 -0
  82. data/lib/2016-08-01/generated/azure_mgmt_web/models/application_logs_config.rb +4 -0
  83. data/lib/2016-08-01/generated/azure_mgmt_web/models/auto_heal_actions.rb +4 -0
  84. data/lib/2016-08-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +3 -0
  85. data/lib/2016-08-01/generated/azure_mgmt_web/models/auto_heal_rules.rb +3 -0
  86. data/lib/2016-08-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb +6 -0
  87. data/lib/2016-08-01/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +4 -0
  88. data/lib/2016-08-01/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +4 -0
  89. data/lib/2016-08-01/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +3 -0
  90. data/lib/2016-08-01/generated/azure_mgmt_web/models/backup_item.rb +20 -0
  91. data/lib/2016-08-01/generated/azure_mgmt_web/models/backup_item_collection.rb +4 -0
  92. data/lib/2016-08-01/generated/azure_mgmt_web/models/backup_request.rb +12 -0
  93. data/lib/2016-08-01/generated/azure_mgmt_web/models/backup_schedule.rb +7 -0
  94. data/lib/2016-08-01/generated/azure_mgmt_web/models/cloning_info.rb +13 -0
  95. data/lib/2016-08-01/generated/azure_mgmt_web/models/conn_string_info.rb +4 -0
  96. data/lib/2016-08-01/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +3 -0
  97. data/lib/2016-08-01/generated/azure_mgmt_web/models/connection_string_dictionary.rb +7 -0
  98. data/lib/2016-08-01/generated/azure_mgmt_web/models/continuous_web_job.rb +16 -0
  99. data/lib/2016-08-01/generated/azure_mgmt_web/models/continuous_web_job_collection.rb +4 -0
  100. data/lib/2016-08-01/generated/azure_mgmt_web/models/cors_settings.rb +3 -0
  101. data/lib/2016-08-01/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +2 -0
  102. data/lib/2016-08-01/generated/azure_mgmt_web/models/csm_slot_entity.rb +3 -0
  103. data/lib/2016-08-01/generated/azure_mgmt_web/models/csm_usage_quota.rb +6 -0
  104. data/lib/2016-08-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +4 -0
  105. data/lib/2016-08-01/generated/azure_mgmt_web/models/custom_hostname_analysis_result.rb +21 -0
  106. data/lib/2016-08-01/generated/azure_mgmt_web/models/database_backup_setting.rb +5 -0
  107. data/lib/2016-08-01/generated/azure_mgmt_web/models/deployment.rb +15 -0
  108. data/lib/2016-08-01/generated/azure_mgmt_web/models/deployment_collection.rb +4 -0
  109. data/lib/2016-08-01/generated/azure_mgmt_web/models/enabled_config.rb +2 -0
  110. data/lib/2016-08-01/generated/azure_mgmt_web/models/error_entity.rb +9 -0
  111. data/lib/2016-08-01/generated/azure_mgmt_web/models/experiments.rb +3 -0
  112. data/lib/2016-08-01/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +2 -0
  113. data/lib/2016-08-01/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +4 -0
  114. data/lib/2016-08-01/generated/azure_mgmt_web/models/function_envelope.rb +16 -0
  115. data/lib/2016-08-01/generated/azure_mgmt_web/models/function_envelope_collection.rb +4 -0
  116. data/lib/2016-08-01/generated/azure_mgmt_web/models/function_secrets.rb +7 -0
  117. data/lib/2016-08-01/generated/azure_mgmt_web/models/handler_mapping.rb +4 -0
  118. data/lib/2016-08-01/generated/azure_mgmt_web/models/host_name_binding.rb +15 -0
  119. data/lib/2016-08-01/generated/azure_mgmt_web/models/host_name_binding_collection.rb +4 -0
  120. data/lib/2016-08-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb +7 -0
  121. data/lib/2016-08-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +4 -0
  122. data/lib/2016-08-01/generated/azure_mgmt_web/models/http_logs_config.rb +3 -0
  123. data/lib/2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb +13 -0
  124. data/lib/2016-08-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb +7 -0
  125. data/lib/2016-08-01/generated/azure_mgmt_web/models/identifier.rb +6 -0
  126. data/lib/2016-08-01/generated/azure_mgmt_web/models/identifier_collection.rb +4 -0
  127. data/lib/2016-08-01/generated/azure_mgmt_web/models/ip_security_restriction.rb +3 -0
  128. data/lib/2016-08-01/generated/azure_mgmt_web/models/localizable_string.rb +3 -0
  129. data/lib/2016-08-01/generated/azure_mgmt_web/models/migrate_my_sql_request.rb +7 -0
  130. data/lib/2016-08-01/generated/azure_mgmt_web/models/migrate_my_sql_status.rb +8 -0
  131. data/lib/2016-08-01/generated/azure_mgmt_web/models/msdeploy.rb +13 -0
  132. data/lib/2016-08-01/generated/azure_mgmt_web/models/msdeploy_log.rb +7 -0
  133. data/lib/2016-08-01/generated/azure_mgmt_web/models/msdeploy_log_entry.rb +4 -0
  134. data/lib/2016-08-01/generated/azure_mgmt_web/models/msdeploy_status.rb +10 -0
  135. data/lib/2016-08-01/generated/azure_mgmt_web/models/name_value_pair.rb +3 -0
  136. data/lib/2016-08-01/generated/azure_mgmt_web/models/network_features.rb +11 -0
  137. data/lib/2016-08-01/generated/azure_mgmt_web/models/operation.rb +10 -0
  138. data/lib/2016-08-01/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +4 -0
  139. data/lib/2016-08-01/generated/azure_mgmt_web/models/perf_mon_response.rb +4 -0
  140. data/lib/2016-08-01/generated/azure_mgmt_web/models/perf_mon_sample.rb +5 -0
  141. data/lib/2016-08-01/generated/azure_mgmt_web/models/perf_mon_set.rb +7 -0
  142. data/lib/2016-08-01/generated/azure_mgmt_web/models/premier_add_on.rb +17 -0
  143. data/lib/2016-08-01/generated/azure_mgmt_web/models/process_info.rb +46 -0
  144. data/lib/2016-08-01/generated/azure_mgmt_web/models/process_info_collection.rb +4 -0
  145. data/lib/2016-08-01/generated/azure_mgmt_web/models/process_module_info.rb +16 -0
  146. data/lib/2016-08-01/generated/azure_mgmt_web/models/process_module_info_collection.rb +4 -0
  147. data/lib/2016-08-01/generated/azure_mgmt_web/models/process_thread_info.rb +18 -0
  148. data/lib/2016-08-01/generated/azure_mgmt_web/models/process_thread_info_collection.rb +4 -0
  149. data/lib/2016-08-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +5 -0
  150. data/lib/2016-08-01/generated/azure_mgmt_web/models/public_certificate.rb +8 -0
  151. data/lib/2016-08-01/generated/azure_mgmt_web/models/public_certificate_collection.rb +4 -0
  152. data/lib/2016-08-01/generated/azure_mgmt_web/models/push_settings.rb +9 -0
  153. data/lib/2016-08-01/generated/azure_mgmt_web/models/ramp_up_rule.rb +9 -0
  154. data/lib/2016-08-01/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +12 -0
  155. data/lib/2016-08-01/generated/azure_mgmt_web/models/requests_based_trigger.rb +3 -0
  156. data/lib/2016-08-01/generated/azure_mgmt_web/models/resource.rb +8 -0
  157. data/lib/2016-08-01/generated/azure_mgmt_web/models/resource_metric.rb +12 -0
  158. data/lib/2016-08-01/generated/azure_mgmt_web/models/resource_metric_availability.rb +3 -0
  159. data/lib/2016-08-01/generated/azure_mgmt_web/models/resource_metric_collection.rb +4 -0
  160. data/lib/2016-08-01/generated/azure_mgmt_web/models/resource_metric_definition.rb +14 -0
  161. data/lib/2016-08-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +4 -0
  162. data/lib/2016-08-01/generated/azure_mgmt_web/models/resource_metric_name.rb +3 -0
  163. data/lib/2016-08-01/generated/azure_mgmt_web/models/resource_metric_property.rb +3 -0
  164. data/lib/2016-08-01/generated/azure_mgmt_web/models/resource_metric_value.rb +9 -0
  165. data/lib/2016-08-01/generated/azure_mgmt_web/models/restore_request.rb +17 -0
  166. data/lib/2016-08-01/generated/azure_mgmt_web/models/restore_response.rb +6 -0
  167. data/lib/2016-08-01/generated/azure_mgmt_web/models/site.rb +42 -0
  168. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_auth_settings.rb +34 -0
  169. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_cloneability.rb +8 -0
  170. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +3 -0
  171. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_config.rb +50 -0
  172. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_config_resource.rb +54 -0
  173. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_config_resource_collection.rb +4 -0
  174. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info.rb +7 -0
  175. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_extension_info.rb +26 -0
  176. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_extension_info_collection.rb +4 -0
  177. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_instance.rb +6 -0
  178. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_limits.rb +4 -0
  179. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_logs_config.rb +9 -0
  180. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_machine_key.rb +5 -0
  181. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_php_error_log_flag.rb +9 -0
  182. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_source_control.rb +10 -0
  183. data/lib/2016-08-01/generated/azure_mgmt_web/models/slot_config_names_resource.rb +9 -0
  184. data/lib/2016-08-01/generated/azure_mgmt_web/models/slot_difference.rb +12 -0
  185. data/lib/2016-08-01/generated/azure_mgmt_web/models/slot_difference_collection.rb +4 -0
  186. data/lib/2016-08-01/generated/azure_mgmt_web/models/slot_swap_status.rb +4 -0
  187. data/lib/2016-08-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +4 -0
  188. data/lib/2016-08-01/generated/azure_mgmt_web/models/snapshot.rb +6 -0
  189. data/lib/2016-08-01/generated/azure_mgmt_web/models/snapshot_collection.rb +4 -0
  190. data/lib/2016-08-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb +10 -0
  191. data/lib/2016-08-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb +3 -0
  192. data/lib/2016-08-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +6 -0
  193. data/lib/2016-08-01/generated/azure_mgmt_web/models/storage_migration_options.rb +9 -0
  194. data/lib/2016-08-01/generated/azure_mgmt_web/models/storage_migration_response.rb +6 -0
  195. data/lib/2016-08-01/generated/azure_mgmt_web/models/string_dictionary.rb +7 -0
  196. data/lib/2016-08-01/generated/azure_mgmt_web/models/triggered_job_history.rb +7 -0
  197. data/lib/2016-08-01/generated/azure_mgmt_web/models/triggered_job_history_collection.rb +4 -0
  198. data/lib/2016-08-01/generated/azure_mgmt_web/models/triggered_job_run.rb +16 -0
  199. data/lib/2016-08-01/generated/azure_mgmt_web/models/triggered_web_job.rb +16 -0
  200. data/lib/2016-08-01/generated/azure_mgmt_web/models/triggered_web_job_collection.rb +4 -0
  201. data/lib/2016-08-01/generated/azure_mgmt_web/models/user.rb +10 -0
  202. data/lib/2016-08-01/generated/azure_mgmt_web/models/virtual_application.rb +6 -0
  203. data/lib/2016-08-01/generated/azure_mgmt_web/models/virtual_directory.rb +3 -0
  204. data/lib/2016-08-01/generated/azure_mgmt_web/models/vnet_gateway.rb +7 -0
  205. data/lib/2016-08-01/generated/azure_mgmt_web/models/vnet_info.rb +12 -0
  206. data/lib/2016-08-01/generated/azure_mgmt_web/models/vnet_route.rb +9 -0
  207. data/lib/2016-08-01/generated/azure_mgmt_web/models/web_app_collection.rb +4 -0
  208. data/lib/2016-08-01/generated/azure_mgmt_web/models/web_app_instance_collection.rb +4 -0
  209. data/lib/2016-08-01/generated/azure_mgmt_web/models/web_job.rb +13 -0
  210. data/lib/2016-08-01/generated/azure_mgmt_web/models/web_job_collection.rb +4 -0
  211. data/lib/2016-08-01/generated/azure_mgmt_web/web_apps.rb +922 -0
  212. data/lib/2016-08-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -3
  213. data/lib/2016-09-01/generated/azure_mgmt_web/app_service_environments.rb +109 -0
  214. data/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb +83 -0
  215. data/lib/2016-09-01/generated/azure_mgmt_web/models/address_response.rb +7 -0
  216. data/lib/2016-09-01/generated/azure_mgmt_web/models/api_definition_info.rb +2 -0
  217. data/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment.rb +41 -0
  218. data/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb +4 -0
  219. data/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb +48 -0
  220. data/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb +24 -0
  221. data/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb +4 -0
  222. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_actions.rb +4 -0
  223. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +3 -0
  224. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_rules.rb +3 -0
  225. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb +6 -0
  226. data/lib/2016-09-01/generated/azure_mgmt_web/models/capability.rb +4 -0
  227. data/lib/2016-09-01/generated/azure_mgmt_web/models/cloning_info.rb +13 -0
  228. data/lib/2016-09-01/generated/azure_mgmt_web/models/conn_string_info.rb +4 -0
  229. data/lib/2016-09-01/generated/azure_mgmt_web/models/cors_settings.rb +3 -0
  230. data/lib/2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota.rb +6 -0
  231. data/lib/2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +4 -0
  232. data/lib/2016-09-01/generated/azure_mgmt_web/models/error_entity.rb +9 -0
  233. data/lib/2016-09-01/generated/azure_mgmt_web/models/experiments.rb +3 -0
  234. data/lib/2016-09-01/generated/azure_mgmt_web/models/handler_mapping.rb +4 -0
  235. data/lib/2016-09-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb +7 -0
  236. data/lib/2016-09-01/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +3 -0
  237. data/lib/2016-09-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +4 -0
  238. data/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb +12 -0
  239. data/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_collection.rb +4 -0
  240. data/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb +7 -0
  241. data/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_limits.rb +7 -0
  242. data/lib/2016-09-01/generated/azure_mgmt_web/models/ip_security_restriction.rb +3 -0
  243. data/lib/2016-09-01/generated/azure_mgmt_web/models/localizable_string.rb +3 -0
  244. data/lib/2016-09-01/generated/azure_mgmt_web/models/metric_availabilily.rb +3 -0
  245. data/lib/2016-09-01/generated/azure_mgmt_web/models/metric_definition.rb +11 -0
  246. data/lib/2016-09-01/generated/azure_mgmt_web/models/name_value_pair.rb +3 -0
  247. data/lib/2016-09-01/generated/azure_mgmt_web/models/network_access_control_entry.rb +5 -0
  248. data/lib/2016-09-01/generated/azure_mgmt_web/models/operation.rb +10 -0
  249. data/lib/2016-09-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +5 -0
  250. data/lib/2016-09-01/generated/azure_mgmt_web/models/push_settings.rb +9 -0
  251. data/lib/2016-09-01/generated/azure_mgmt_web/models/ramp_up_rule.rb +9 -0
  252. data/lib/2016-09-01/generated/azure_mgmt_web/models/requests_based_trigger.rb +3 -0
  253. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource.rb +8 -0
  254. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_collection.rb +4 -0
  255. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric.rb +12 -0
  256. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_availability.rb +3 -0
  257. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_collection.rb +4 -0
  258. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition.rb +14 -0
  259. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +4 -0
  260. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_name.rb +3 -0
  261. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_property.rb +3 -0
  262. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_value.rb +9 -0
  263. data/lib/2016-09-01/generated/azure_mgmt_web/models/site.rb +45 -0
  264. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_config.rb +50 -0
  265. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_limits.rb +4 -0
  266. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_machine_key.rb +5 -0
  267. data/lib/2016-09-01/generated/azure_mgmt_web/models/sku_capacity.rb +5 -0
  268. data/lib/2016-09-01/generated/azure_mgmt_web/models/sku_description.rb +11 -0
  269. data/lib/2016-09-01/generated/azure_mgmt_web/models/sku_info.rb +4 -0
  270. data/lib/2016-09-01/generated/azure_mgmt_web/models/sku_info_collection.rb +4 -0
  271. data/lib/2016-09-01/generated/azure_mgmt_web/models/slot_swap_status.rb +4 -0
  272. data/lib/2016-09-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +4 -0
  273. data/lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb +10 -0
  274. data/lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb +3 -0
  275. data/lib/2016-09-01/generated/azure_mgmt_web/models/stamp_capacity.rb +11 -0
  276. data/lib/2016-09-01/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +4 -0
  277. data/lib/2016-09-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +6 -0
  278. data/lib/2016-09-01/generated/azure_mgmt_web/models/usage.rb +14 -0
  279. data/lib/2016-09-01/generated/azure_mgmt_web/models/usage_collection.rb +4 -0
  280. data/lib/2016-09-01/generated/azure_mgmt_web/models/virtual_application.rb +6 -0
  281. data/lib/2016-09-01/generated/azure_mgmt_web/models/virtual_directory.rb +3 -0
  282. data/lib/2016-09-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb +5 -0
  283. data/lib/2016-09-01/generated/azure_mgmt_web/models/virtual_network_profile.rb +5 -0
  284. data/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_gateway.rb +7 -0
  285. data/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_info.rb +12 -0
  286. data/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_route.rb +9 -0
  287. data/lib/2016-09-01/generated/azure_mgmt_web/models/web_app_collection.rb +4 -0
  288. data/lib/2016-09-01/generated/azure_mgmt_web/models/worker_pool.rb +7 -0
  289. data/lib/2016-09-01/generated/azure_mgmt_web/models/worker_pool_collection.rb +4 -0
  290. data/lib/2016-09-01/generated/azure_mgmt_web/models/worker_pool_resource.rb +12 -0
  291. data/lib/2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -3
  292. data/lib/profiles/latest/web_latest_profile_client.rb +1 -3
  293. data/lib/version.rb +1 -1
  294. metadata +10 -12
  295. data/lib/2015-04-01/generated/azure_mgmt_web/version.rb +0 -8
  296. data/lib/2015-08-01/generated/azure_mgmt_web/version.rb +0 -8
  297. data/lib/2016-03-01/generated/azure_mgmt_web/version.rb +0 -8
  298. data/lib/2016-08-01/generated/azure_mgmt_web/version.rb +0 -8
  299. data/lib/2016-09-01/generated/azure_mgmt_web/version.rb +0 -8
  300. data/lib/profiles/common/configurable.rb +0 -86
  301. data/lib/profiles/common/default.rb +0 -57
@@ -57,6 +57,7 @@ module Azure::Web::Mgmt::V2016_08_01
57
57
  #
58
58
  def self.mapper()
59
59
  {
60
+ client_side_validation: true,
60
61
  required: false,
61
62
  serialized_name: 'WebJobCollection',
62
63
  type: {
@@ -64,11 +65,13 @@ module Azure::Web::Mgmt::V2016_08_01
64
65
  class_name: 'WebJobCollection',
65
66
  model_properties: {
66
67
  value: {
68
+ client_side_validation: true,
67
69
  required: true,
68
70
  serialized_name: 'value',
69
71
  type: {
70
72
  name: 'Sequence',
71
73
  element: {
74
+ client_side_validation: true,
72
75
  required: false,
73
76
  serialized_name: 'WebJobElementType',
74
77
  type: {
@@ -79,6 +82,7 @@ module Azure::Web::Mgmt::V2016_08_01
79
82
  }
80
83
  },
81
84
  next_link: {
85
+ client_side_validation: true,
82
86
  required: false,
83
87
  serialized_name: 'nextLink',
84
88
  type: {
@@ -166,6 +166,9 @@ module Azure::Web::Mgmt::V2016_08_01
166
166
  #
167
167
  def list_by_resource_group_async(resource_group_name, include_slots = nil, custom_headers = nil)
168
168
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
169
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
170
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
171
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
169
172
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
170
173
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
171
174
 
@@ -265,6 +268,9 @@ module Azure::Web::Mgmt::V2016_08_01
265
268
  #
266
269
  def get_async(resource_group_name, name, custom_headers = nil)
267
270
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
271
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
272
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
273
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
268
274
  fail ArgumentError, 'name is nil' if name.nil?
269
275
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
270
276
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -451,6 +457,9 @@ module Azure::Web::Mgmt::V2016_08_01
451
457
  #
452
458
  def delete_async(resource_group_name, name, delete_metrics = nil, delete_empty_server_farm = nil, skip_dns_registration = nil, custom_headers = nil)
453
459
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
460
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
461
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
462
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
454
463
  fail ArgumentError, 'name is nil' if name.nil?
455
464
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
456
465
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -544,6 +553,9 @@ module Azure::Web::Mgmt::V2016_08_01
544
553
  #
545
554
  def analyze_custom_hostname_async(resource_group_name, name, host_name = nil, custom_headers = nil)
546
555
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
556
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
557
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
558
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
547
559
  fail ArgumentError, 'name is nil' if name.nil?
548
560
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
549
561
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -655,6 +667,9 @@ module Azure::Web::Mgmt::V2016_08_01
655
667
  #
656
668
  def apply_slot_config_to_production_async(resource_group_name, name, slot_swap_entity, custom_headers = nil)
657
669
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
670
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
671
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
672
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
658
673
  fail ArgumentError, 'name is nil' if name.nil?
659
674
  fail ArgumentError, 'slot_swap_entity is nil' if slot_swap_entity.nil?
660
675
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -761,6 +776,9 @@ module Azure::Web::Mgmt::V2016_08_01
761
776
  #
762
777
  def backup_async(resource_group_name, name, request, custom_headers = nil)
763
778
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
779
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
780
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
781
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
764
782
  fail ArgumentError, 'name is nil' if name.nil?
765
783
  fail ArgumentError, 'request is nil' if request.nil?
766
784
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -871,6 +889,9 @@ module Azure::Web::Mgmt::V2016_08_01
871
889
  #
872
890
  def list_backups_async(resource_group_name, name, custom_headers = nil)
873
891
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
892
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
893
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
894
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
874
895
  fail ArgumentError, 'name is nil' if name.nil?
875
896
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
876
897
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -983,6 +1004,9 @@ module Azure::Web::Mgmt::V2016_08_01
983
1004
  #
984
1005
  def discover_restore_async(resource_group_name, name, request, custom_headers = nil)
985
1006
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1007
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1008
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1009
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
986
1010
  fail ArgumentError, 'name is nil' if name.nil?
987
1011
  fail ArgumentError, 'request is nil' if request.nil?
988
1012
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -1096,6 +1120,9 @@ module Azure::Web::Mgmt::V2016_08_01
1096
1120
  #
1097
1121
  def get_backup_status_async(resource_group_name, name, backup_id, custom_headers = nil)
1098
1122
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1123
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1124
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1125
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
1099
1126
  fail ArgumentError, 'name is nil' if name.nil?
1100
1127
  fail ArgumentError, 'backup_id is nil' if backup_id.nil?
1101
1128
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -1199,6 +1226,9 @@ module Azure::Web::Mgmt::V2016_08_01
1199
1226
  #
1200
1227
  def delete_backup_async(resource_group_name, name, backup_id, custom_headers = nil)
1201
1228
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1229
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1230
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1231
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
1202
1232
  fail ArgumentError, 'name is nil' if name.nil?
1203
1233
  fail ArgumentError, 'backup_id is nil' if backup_id.nil?
1204
1234
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -1314,6 +1344,9 @@ module Azure::Web::Mgmt::V2016_08_01
1314
1344
  #
1315
1345
  def list_backup_status_secrets_async(resource_group_name, name, backup_id, request, custom_headers = nil)
1316
1346
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1347
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1348
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1349
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
1317
1350
  fail ArgumentError, 'name is nil' if name.nil?
1318
1351
  fail ArgumentError, 'backup_id is nil' if backup_id.nil?
1319
1352
  fail ArgumentError, 'request is nil' if request.nil?
@@ -1475,6 +1508,9 @@ module Azure::Web::Mgmt::V2016_08_01
1475
1508
  #
1476
1509
  def list_configurations_async(resource_group_name, name, custom_headers = nil)
1477
1510
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1511
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1512
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1513
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
1478
1514
  fail ArgumentError, 'name is nil' if name.nil?
1479
1515
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1480
1516
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -1578,6 +1614,9 @@ module Azure::Web::Mgmt::V2016_08_01
1578
1614
  #
1579
1615
  def update_application_settings_async(resource_group_name, name, app_settings, custom_headers = nil)
1580
1616
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1617
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1618
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1619
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
1581
1620
  fail ArgumentError, 'name is nil' if name.nil?
1582
1621
  fail ArgumentError, 'app_settings is nil' if app_settings.nil?
1583
1622
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -1688,6 +1727,9 @@ module Azure::Web::Mgmt::V2016_08_01
1688
1727
  #
1689
1728
  def list_application_settings_async(resource_group_name, name, custom_headers = nil)
1690
1729
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1730
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1731
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1732
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
1691
1733
  fail ArgumentError, 'name is nil' if name.nil?
1692
1734
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1693
1735
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -1794,6 +1836,9 @@ module Azure::Web::Mgmt::V2016_08_01
1794
1836
  #
1795
1837
  def update_auth_settings_async(resource_group_name, name, site_auth_settings, custom_headers = nil)
1796
1838
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1839
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1840
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1841
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
1797
1842
  fail ArgumentError, 'name is nil' if name.nil?
1798
1843
  fail ArgumentError, 'site_auth_settings is nil' if site_auth_settings.nil?
1799
1844
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -1904,6 +1949,9 @@ module Azure::Web::Mgmt::V2016_08_01
1904
1949
  #
1905
1950
  def get_auth_settings_async(resource_group_name, name, custom_headers = nil)
1906
1951
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1952
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1953
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1954
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
1907
1955
  fail ArgumentError, 'name is nil' if name.nil?
1908
1956
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1909
1957
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -2007,6 +2055,9 @@ module Azure::Web::Mgmt::V2016_08_01
2007
2055
  #
2008
2056
  def update_backup_configuration_async(resource_group_name, name, request, custom_headers = nil)
2009
2057
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2058
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
2059
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
2060
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
2010
2061
  fail ArgumentError, 'name is nil' if name.nil?
2011
2062
  fail ArgumentError, 'request is nil' if request.nil?
2012
2063
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -2116,6 +2167,9 @@ module Azure::Web::Mgmt::V2016_08_01
2116
2167
  #
2117
2168
  def delete_backup_configuration_async(resource_group_name, name, custom_headers = nil)
2118
2169
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2170
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
2171
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
2172
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
2119
2173
  fail ArgumentError, 'name is nil' if name.nil?
2120
2174
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2121
2175
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -2206,6 +2260,9 @@ module Azure::Web::Mgmt::V2016_08_01
2206
2260
  #
2207
2261
  def get_backup_configuration_async(resource_group_name, name, custom_headers = nil)
2208
2262
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2263
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
2264
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
2265
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
2209
2266
  fail ArgumentError, 'name is nil' if name.nil?
2210
2267
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2211
2268
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -2312,6 +2369,9 @@ module Azure::Web::Mgmt::V2016_08_01
2312
2369
  #
2313
2370
  def update_connection_strings_async(resource_group_name, name, connection_strings, custom_headers = nil)
2314
2371
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2372
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
2373
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
2374
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
2315
2375
  fail ArgumentError, 'name is nil' if name.nil?
2316
2376
  fail ArgumentError, 'connection_strings is nil' if connection_strings.nil?
2317
2377
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -2422,6 +2482,9 @@ module Azure::Web::Mgmt::V2016_08_01
2422
2482
  #
2423
2483
  def list_connection_strings_async(resource_group_name, name, custom_headers = nil)
2424
2484
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2485
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
2486
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
2487
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
2425
2488
  fail ArgumentError, 'name is nil' if name.nil?
2426
2489
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2427
2490
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -2522,6 +2585,9 @@ module Azure::Web::Mgmt::V2016_08_01
2522
2585
  #
2523
2586
  def get_diagnostic_logs_configuration_async(resource_group_name, name, custom_headers = nil)
2524
2587
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2588
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
2589
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
2590
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
2525
2591
  fail ArgumentError, 'name is nil' if name.nil?
2526
2592
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2527
2593
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -2628,6 +2694,9 @@ module Azure::Web::Mgmt::V2016_08_01
2628
2694
  #
2629
2695
  def update_diagnostic_logs_config_async(resource_group_name, name, site_logs_config, custom_headers = nil)
2630
2696
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2697
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
2698
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
2699
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
2631
2700
  fail ArgumentError, 'name is nil' if name.nil?
2632
2701
  fail ArgumentError, 'site_logs_config is nil' if site_logs_config.nil?
2633
2702
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -2744,6 +2813,9 @@ module Azure::Web::Mgmt::V2016_08_01
2744
2813
  #
2745
2814
  def update_metadata_async(resource_group_name, name, metadata, custom_headers = nil)
2746
2815
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2816
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
2817
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
2818
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
2747
2819
  fail ArgumentError, 'name is nil' if name.nil?
2748
2820
  fail ArgumentError, 'metadata is nil' if metadata.nil?
2749
2821
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -2854,6 +2926,9 @@ module Azure::Web::Mgmt::V2016_08_01
2854
2926
  #
2855
2927
  def list_metadata_async(resource_group_name, name, custom_headers = nil)
2856
2928
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2929
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
2930
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
2931
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
2857
2932
  fail ArgumentError, 'name is nil' if name.nil?
2858
2933
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2859
2934
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -3003,6 +3078,9 @@ module Azure::Web::Mgmt::V2016_08_01
3003
3078
  #
3004
3079
  def update_site_push_settings_async(resource_group_name, name, push_settings, custom_headers = nil)
3005
3080
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
3081
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
3082
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
3083
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
3006
3084
  fail ArgumentError, 'name is nil' if name.nil?
3007
3085
  fail ArgumentError, 'push_settings is nil' if push_settings.nil?
3008
3086
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -3113,6 +3191,9 @@ module Azure::Web::Mgmt::V2016_08_01
3113
3191
  #
3114
3192
  def list_site_push_settings_async(resource_group_name, name, custom_headers = nil)
3115
3193
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
3194
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
3195
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
3196
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
3116
3197
  fail ArgumentError, 'name is nil' if name.nil?
3117
3198
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
3118
3199
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -3219,6 +3300,9 @@ module Azure::Web::Mgmt::V2016_08_01
3219
3300
  #
3220
3301
  def list_slot_configuration_names_async(resource_group_name, name, custom_headers = nil)
3221
3302
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
3303
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
3304
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
3305
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
3222
3306
  fail ArgumentError, 'name is nil' if name.nil?
3223
3307
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
3224
3308
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -3331,6 +3415,9 @@ module Azure::Web::Mgmt::V2016_08_01
3331
3415
  #
3332
3416
  def update_slot_configuration_names_async(resource_group_name, name, slot_config_names, custom_headers = nil)
3333
3417
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
3418
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
3419
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
3420
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
3334
3421
  fail ArgumentError, 'name is nil' if name.nil?
3335
3422
  fail ArgumentError, 'slot_config_names is nil' if slot_config_names.nil?
3336
3423
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -3447,6 +3534,9 @@ module Azure::Web::Mgmt::V2016_08_01
3447
3534
  #
3448
3535
  def get_configuration_async(resource_group_name, name, custom_headers = nil)
3449
3536
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
3537
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
3538
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
3539
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
3450
3540
  fail ArgumentError, 'name is nil' if name.nil?
3451
3541
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
3452
3542
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -3553,6 +3643,9 @@ module Azure::Web::Mgmt::V2016_08_01
3553
3643
  #
3554
3644
  def create_or_update_configuration_async(resource_group_name, name, site_config, custom_headers = nil)
3555
3645
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
3646
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
3647
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
3648
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
3556
3649
  fail ArgumentError, 'name is nil' if name.nil?
3557
3650
  fail ArgumentError, 'site_config is nil' if site_config.nil?
3558
3651
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -3669,6 +3762,9 @@ module Azure::Web::Mgmt::V2016_08_01
3669
3762
  #
3670
3763
  def update_configuration_async(resource_group_name, name, site_config, custom_headers = nil)
3671
3764
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
3765
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
3766
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
3767
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
3672
3768
  fail ArgumentError, 'name is nil' if name.nil?
3673
3769
  fail ArgumentError, 'site_config is nil' if site_config.nil?
3674
3770
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -3785,6 +3881,9 @@ module Azure::Web::Mgmt::V2016_08_01
3785
3881
  #
3786
3882
  def list_configuration_snapshot_info_async(resource_group_name, name, custom_headers = nil)
3787
3883
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
3884
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
3885
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
3886
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
3788
3887
  fail ArgumentError, 'name is nil' if name.nil?
3789
3888
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
3790
3889
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -3823,11 +3922,13 @@ module Azure::Web::Mgmt::V2016_08_01
3823
3922
  begin
3824
3923
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
3825
3924
  result_mapper = {
3925
+ client_side_validation: true,
3826
3926
  required: false,
3827
3927
  serialized_name: 'parsed_response',
3828
3928
  type: {
3829
3929
  name: 'Sequence',
3830
3930
  element: {
3931
+ client_side_validation: true,
3831
3932
  required: false,
3832
3933
  serialized_name: 'SiteConfigurationSnapshotInfoElementType',
3833
3934
  type: {
@@ -3902,6 +4003,9 @@ module Azure::Web::Mgmt::V2016_08_01
3902
4003
  #
3903
4004
  def get_configuration_snapshot_async(resource_group_name, name, snapshot_id, custom_headers = nil)
3904
4005
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
4006
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
4007
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
4008
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
3905
4009
  fail ArgumentError, 'name is nil' if name.nil?
3906
4010
  fail ArgumentError, 'snapshot_id is nil' if snapshot_id.nil?
3907
4011
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -4005,6 +4109,9 @@ module Azure::Web::Mgmt::V2016_08_01
4005
4109
  #
4006
4110
  def recover_site_configuration_snapshot_async(resource_group_name, name, snapshot_id, custom_headers = nil)
4007
4111
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
4112
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
4113
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
4114
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
4008
4115
  fail ArgumentError, 'name is nil' if name.nil?
4009
4116
  fail ArgumentError, 'snapshot_id is nil' if snapshot_id.nil?
4010
4117
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -4096,6 +4203,9 @@ module Azure::Web::Mgmt::V2016_08_01
4096
4203
  #
4097
4204
  def list_continuous_web_jobs_async(resource_group_name, name, custom_headers = nil)
4098
4205
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
4206
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
4207
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
4208
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
4099
4209
  fail ArgumentError, 'name is nil' if name.nil?
4100
4210
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
4101
4211
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -4202,6 +4312,9 @@ module Azure::Web::Mgmt::V2016_08_01
4202
4312
  #
4203
4313
  def get_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
4204
4314
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
4315
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
4316
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
4317
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
4205
4318
  fail ArgumentError, 'name is nil' if name.nil?
4206
4319
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
4207
4320
  fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
@@ -4309,6 +4422,9 @@ module Azure::Web::Mgmt::V2016_08_01
4309
4422
  #
4310
4423
  def delete_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
4311
4424
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
4425
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
4426
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
4427
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
4312
4428
  fail ArgumentError, 'name is nil' if name.nil?
4313
4429
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
4314
4430
  fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
@@ -4406,6 +4522,9 @@ module Azure::Web::Mgmt::V2016_08_01
4406
4522
  #
4407
4523
  def start_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
4408
4524
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
4525
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
4526
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
4527
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
4409
4528
  fail ArgumentError, 'name is nil' if name.nil?
4410
4529
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
4411
4530
  fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
@@ -4503,6 +4622,9 @@ module Azure::Web::Mgmt::V2016_08_01
4503
4622
  #
4504
4623
  def stop_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
4505
4624
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
4625
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
4626
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
4627
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
4506
4628
  fail ArgumentError, 'name is nil' if name.nil?
4507
4629
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
4508
4630
  fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
@@ -4595,6 +4717,9 @@ module Azure::Web::Mgmt::V2016_08_01
4595
4717
  #
4596
4718
  def list_deployments_async(resource_group_name, name, custom_headers = nil)
4597
4719
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
4720
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
4721
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
4722
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
4598
4723
  fail ArgumentError, 'name is nil' if name.nil?
4599
4724
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
4600
4725
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -4698,6 +4823,9 @@ module Azure::Web::Mgmt::V2016_08_01
4698
4823
  #
4699
4824
  def get_deployment_async(resource_group_name, name, id, custom_headers = nil)
4700
4825
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
4826
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
4827
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
4828
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
4701
4829
  fail ArgumentError, 'name is nil' if name.nil?
4702
4830
  fail ArgumentError, 'id is nil' if id.nil?
4703
4831
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -4805,6 +4933,9 @@ module Azure::Web::Mgmt::V2016_08_01
4805
4933
  #
4806
4934
  def create_deployment_async(resource_group_name, name, id, deployment, custom_headers = nil)
4807
4935
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
4936
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
4937
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
4938
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
4808
4939
  fail ArgumentError, 'name is nil' if name.nil?
4809
4940
  fail ArgumentError, 'id is nil' if id.nil?
4810
4941
  fail ArgumentError, 'deployment is nil' if deployment.nil?
@@ -4918,6 +5049,9 @@ module Azure::Web::Mgmt::V2016_08_01
4918
5049
  #
4919
5050
  def delete_deployment_async(resource_group_name, name, id, custom_headers = nil)
4920
5051
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
5052
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
5053
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
5054
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
4921
5055
  fail ArgumentError, 'name is nil' if name.nil?
4922
5056
  fail ArgumentError, 'id is nil' if id.nil?
4923
5057
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -5018,6 +5152,9 @@ module Azure::Web::Mgmt::V2016_08_01
5018
5152
  #
5019
5153
  def list_deployment_log_async(resource_group_name, name, id, custom_headers = nil)
5020
5154
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
5155
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
5156
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
5157
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
5021
5158
  fail ArgumentError, 'name is nil' if name.nil?
5022
5159
  fail ArgumentError, 'id is nil' if id.nil?
5023
5160
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -5119,6 +5256,9 @@ module Azure::Web::Mgmt::V2016_08_01
5119
5256
  #
5120
5257
  def list_domain_ownership_identifiers_async(resource_group_name, name, custom_headers = nil)
5121
5258
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
5259
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
5260
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
5261
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
5122
5262
  fail ArgumentError, 'name is nil' if name.nil?
5123
5263
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
5124
5264
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -5225,6 +5365,9 @@ module Azure::Web::Mgmt::V2016_08_01
5225
5365
  #
5226
5366
  def get_domain_ownership_identifier_async(resource_group_name, name, domain_ownership_identifier_name, custom_headers = nil)
5227
5367
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
5368
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
5369
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
5370
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
5228
5371
  fail ArgumentError, 'name is nil' if name.nil?
5229
5372
  fail ArgumentError, 'domain_ownership_identifier_name is nil' if domain_ownership_identifier_name.nil?
5230
5373
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -5344,6 +5487,9 @@ module Azure::Web::Mgmt::V2016_08_01
5344
5487
  #
5345
5488
  def create_or_update_domain_ownership_identifier_async(resource_group_name, name, domain_ownership_identifier_name, domain_ownership_identifier, custom_headers = nil)
5346
5489
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
5490
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
5491
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
5492
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
5347
5493
  fail ArgumentError, 'name is nil' if name.nil?
5348
5494
  fail ArgumentError, 'domain_ownership_identifier_name is nil' if domain_ownership_identifier_name.nil?
5349
5495
  fail ArgumentError, 'domain_ownership_identifier is nil' if domain_ownership_identifier.nil?
@@ -5460,6 +5606,9 @@ module Azure::Web::Mgmt::V2016_08_01
5460
5606
  #
5461
5607
  def delete_domain_ownership_identifier_async(resource_group_name, name, domain_ownership_identifier_name, custom_headers = nil)
5462
5608
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
5609
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
5610
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
5611
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
5463
5612
  fail ArgumentError, 'name is nil' if name.nil?
5464
5613
  fail ArgumentError, 'domain_ownership_identifier_name is nil' if domain_ownership_identifier_name.nil?
5465
5614
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -5569,6 +5718,9 @@ module Azure::Web::Mgmt::V2016_08_01
5569
5718
  #
5570
5719
  def update_domain_ownership_identifier_async(resource_group_name, name, domain_ownership_identifier_name, domain_ownership_identifier, custom_headers = nil)
5571
5720
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
5721
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
5722
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
5723
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
5572
5724
  fail ArgumentError, 'name is nil' if name.nil?
5573
5725
  fail ArgumentError, 'domain_ownership_identifier_name is nil' if domain_ownership_identifier_name.nil?
5574
5726
  fail ArgumentError, 'domain_ownership_identifier is nil' if domain_ownership_identifier.nil?
@@ -5680,6 +5832,9 @@ module Azure::Web::Mgmt::V2016_08_01
5680
5832
  #
5681
5833
  def get_msdeploy_status_async(resource_group_name, name, custom_headers = nil)
5682
5834
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
5835
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
5836
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
5837
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
5683
5838
  fail ArgumentError, 'name is nil' if name.nil?
5684
5839
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
5685
5840
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -5828,6 +5983,9 @@ module Azure::Web::Mgmt::V2016_08_01
5828
5983
  #
5829
5984
  def get_msdeploy_log_async(resource_group_name, name, custom_headers = nil)
5830
5985
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
5986
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
5987
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
5988
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
5831
5989
  fail ArgumentError, 'name is nil' if name.nil?
5832
5990
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
5833
5991
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -5928,6 +6086,9 @@ module Azure::Web::Mgmt::V2016_08_01
5928
6086
  #
5929
6087
  def list_functions_async(resource_group_name, name, custom_headers = nil)
5930
6088
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
6089
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
6090
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
6091
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
5931
6092
  fail ArgumentError, 'name is nil' if name.nil?
5932
6093
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
5933
6094
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -6028,6 +6189,9 @@ module Azure::Web::Mgmt::V2016_08_01
6028
6189
  #
6029
6190
  def get_functions_admin_token_async(resource_group_name, name, custom_headers = nil)
6030
6191
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
6192
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
6193
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
6194
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
6031
6195
  fail ArgumentError, 'name is nil' if name.nil?
6032
6196
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
6033
6197
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -6066,6 +6230,7 @@ module Azure::Web::Mgmt::V2016_08_01
6066
6230
  begin
6067
6231
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
6068
6232
  result_mapper = {
6233
+ client_side_validation: true,
6069
6234
  required: false,
6070
6235
  serialized_name: 'parsed_response',
6071
6236
  type: {
@@ -6137,6 +6302,9 @@ module Azure::Web::Mgmt::V2016_08_01
6137
6302
  #
6138
6303
  def get_function_async(resource_group_name, name, function_name, custom_headers = nil)
6139
6304
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
6305
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
6306
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
6307
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
6140
6308
  fail ArgumentError, 'name is nil' if name.nil?
6141
6309
  fail ArgumentError, 'function_name is nil' if function_name.nil?
6142
6310
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -6290,6 +6458,9 @@ module Azure::Web::Mgmt::V2016_08_01
6290
6458
  #
6291
6459
  def delete_function_async(resource_group_name, name, function_name, custom_headers = nil)
6292
6460
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
6461
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
6462
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
6463
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
6293
6464
  fail ArgumentError, 'name is nil' if name.nil?
6294
6465
  fail ArgumentError, 'function_name is nil' if function_name.nil?
6295
6466
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -6384,6 +6555,9 @@ module Azure::Web::Mgmt::V2016_08_01
6384
6555
  #
6385
6556
  def list_function_secrets_async(resource_group_name, name, function_name, custom_headers = nil)
6386
6557
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
6558
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
6559
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
6560
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
6387
6561
  fail ArgumentError, 'name is nil' if name.nil?
6388
6562
  fail ArgumentError, 'function_name is nil' if function_name.nil?
6389
6563
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -6485,6 +6659,9 @@ module Azure::Web::Mgmt::V2016_08_01
6485
6659
  #
6486
6660
  def list_host_name_bindings_async(resource_group_name, name, custom_headers = nil)
6487
6661
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
6662
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
6663
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
6664
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
6488
6665
  fail ArgumentError, 'name is nil' if name.nil?
6489
6666
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
6490
6667
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -6588,6 +6765,9 @@ module Azure::Web::Mgmt::V2016_08_01
6588
6765
  #
6589
6766
  def get_host_name_binding_async(resource_group_name, name, host_name, custom_headers = nil)
6590
6767
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
6768
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
6769
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
6770
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
6591
6771
  fail ArgumentError, 'name is nil' if name.nil?
6592
6772
  fail ArgumentError, 'host_name is nil' if host_name.nil?
6593
6773
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -6698,6 +6878,9 @@ module Azure::Web::Mgmt::V2016_08_01
6698
6878
  #
6699
6879
  def create_or_update_host_name_binding_async(resource_group_name, name, host_name, host_name_binding, custom_headers = nil)
6700
6880
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
6881
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
6882
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
6883
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
6701
6884
  fail ArgumentError, 'name is nil' if name.nil?
6702
6885
  fail ArgumentError, 'host_name is nil' if host_name.nil?
6703
6886
  fail ArgumentError, 'host_name_binding is nil' if host_name_binding.nil?
@@ -6811,6 +6994,9 @@ module Azure::Web::Mgmt::V2016_08_01
6811
6994
  #
6812
6995
  def delete_host_name_binding_async(resource_group_name, name, host_name, custom_headers = nil)
6813
6996
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
6997
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
6998
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
6999
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
6814
7000
  fail ArgumentError, 'name is nil' if name.nil?
6815
7001
  fail ArgumentError, 'host_name is nil' if host_name.nil?
6816
7002
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -6908,6 +7094,9 @@ module Azure::Web::Mgmt::V2016_08_01
6908
7094
  #
6909
7095
  def get_hybrid_connection_async(resource_group_name, name, namespace_name, relay_name, custom_headers = nil)
6910
7096
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
7097
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
7098
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
7099
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
6911
7100
  fail ArgumentError, 'name is nil' if name.nil?
6912
7101
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
6913
7102
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
@@ -7022,6 +7211,9 @@ module Azure::Web::Mgmt::V2016_08_01
7022
7211
  #
7023
7212
  def create_or_update_hybrid_connection_async(resource_group_name, name, namespace_name, relay_name, connection_envelope, custom_headers = nil)
7024
7213
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
7214
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
7215
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
7216
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
7025
7217
  fail ArgumentError, 'name is nil' if name.nil?
7026
7218
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
7027
7219
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
@@ -7139,6 +7331,9 @@ module Azure::Web::Mgmt::V2016_08_01
7139
7331
  #
7140
7332
  def delete_hybrid_connection_async(resource_group_name, name, namespace_name, relay_name, custom_headers = nil)
7141
7333
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
7334
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
7335
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
7336
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
7142
7337
  fail ArgumentError, 'name is nil' if name.nil?
7143
7338
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
7144
7339
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
@@ -7243,6 +7438,9 @@ module Azure::Web::Mgmt::V2016_08_01
7243
7438
  #
7244
7439
  def update_hybrid_connection_async(resource_group_name, name, namespace_name, relay_name, connection_envelope, custom_headers = nil)
7245
7440
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
7441
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
7442
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
7443
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
7246
7444
  fail ArgumentError, 'name is nil' if name.nil?
7247
7445
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
7248
7446
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
@@ -7361,6 +7559,9 @@ module Azure::Web::Mgmt::V2016_08_01
7361
7559
  #
7362
7560
  def list_hybrid_connection_keys_async(resource_group_name, name, namespace_name, relay_name, custom_headers = nil)
7363
7561
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
7562
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
7563
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
7564
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
7364
7565
  fail ArgumentError, 'name is nil' if name.nil?
7365
7566
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
7366
7567
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
@@ -7463,6 +7664,9 @@ module Azure::Web::Mgmt::V2016_08_01
7463
7664
  #
7464
7665
  def list_hybrid_connections_async(resource_group_name, name, custom_headers = nil)
7465
7666
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
7667
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
7668
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
7669
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
7466
7670
  fail ArgumentError, 'name is nil' if name.nil?
7467
7671
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
7468
7672
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -7569,6 +7773,9 @@ module Azure::Web::Mgmt::V2016_08_01
7569
7773
  #
7570
7774
  def list_relay_service_connections_async(resource_group_name, name, custom_headers = nil)
7571
7775
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
7776
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
7777
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
7778
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
7572
7779
  fail ArgumentError, 'name is nil' if name.nil?
7573
7780
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
7574
7781
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -7672,6 +7879,9 @@ module Azure::Web::Mgmt::V2016_08_01
7672
7879
  #
7673
7880
  def get_relay_service_connection_async(resource_group_name, name, entity_name, custom_headers = nil)
7674
7881
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
7882
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
7883
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
7884
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
7675
7885
  fail ArgumentError, 'name is nil' if name.nil?
7676
7886
  fail ArgumentError, 'entity_name is nil' if entity_name.nil?
7677
7887
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -7788,6 +7998,9 @@ module Azure::Web::Mgmt::V2016_08_01
7788
7998
  #
7789
7999
  def create_or_update_relay_service_connection_async(resource_group_name, name, entity_name, connection_envelope, custom_headers = nil)
7790
8000
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
8001
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
8002
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
8003
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
7791
8004
  fail ArgumentError, 'name is nil' if name.nil?
7792
8005
  fail ArgumentError, 'entity_name is nil' if entity_name.nil?
7793
8006
  fail ArgumentError, 'connection_envelope is nil' if connection_envelope.nil?
@@ -7901,6 +8114,9 @@ module Azure::Web::Mgmt::V2016_08_01
7901
8114
  #
7902
8115
  def delete_relay_service_connection_async(resource_group_name, name, entity_name, custom_headers = nil)
7903
8116
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
8117
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
8118
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
8119
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
7904
8120
  fail ArgumentError, 'name is nil' if name.nil?
7905
8121
  fail ArgumentError, 'entity_name is nil' if entity_name.nil?
7906
8122
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -8007,6 +8223,9 @@ module Azure::Web::Mgmt::V2016_08_01
8007
8223
  #
8008
8224
  def update_relay_service_connection_async(resource_group_name, name, entity_name, connection_envelope, custom_headers = nil)
8009
8225
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
8226
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
8227
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
8228
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
8010
8229
  fail ArgumentError, 'name is nil' if name.nil?
8011
8230
  fail ArgumentError, 'entity_name is nil' if entity_name.nil?
8012
8231
  fail ArgumentError, 'connection_envelope is nil' if connection_envelope.nil?
@@ -8118,6 +8337,9 @@ module Azure::Web::Mgmt::V2016_08_01
8118
8337
  #
8119
8338
  def list_instance_identifiers_async(resource_group_name, name, custom_headers = nil)
8120
8339
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
8340
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
8341
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
8342
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
8121
8343
  fail ArgumentError, 'name is nil' if name.nil?
8122
8344
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
8123
8345
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -8221,6 +8443,9 @@ module Azure::Web::Mgmt::V2016_08_01
8221
8443
  #
8222
8444
  def get_instance_ms_deploy_status_async(resource_group_name, name, instance_id, custom_headers = nil)
8223
8445
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
8446
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
8447
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
8448
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
8224
8449
  fail ArgumentError, 'name is nil' if name.nil?
8225
8450
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
8226
8451
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -8375,6 +8600,9 @@ module Azure::Web::Mgmt::V2016_08_01
8375
8600
  #
8376
8601
  def get_instance_msdeploy_log_async(resource_group_name, name, instance_id, custom_headers = nil)
8377
8602
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
8603
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
8604
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
8605
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
8378
8606
  fail ArgumentError, 'name is nil' if name.nil?
8379
8607
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
8380
8608
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -8491,6 +8719,9 @@ module Azure::Web::Mgmt::V2016_08_01
8491
8719
  #
8492
8720
  def list_instance_processes_async(resource_group_name, name, instance_id, custom_headers = nil)
8493
8721
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
8722
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
8723
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
8724
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
8494
8725
  fail ArgumentError, 'name is nil' if name.nil?
8495
8726
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
8496
8727
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -8610,6 +8841,9 @@ module Azure::Web::Mgmt::V2016_08_01
8610
8841
  #
8611
8842
  def get_instance_process_async(resource_group_name, name, process_id, instance_id, custom_headers = nil)
8612
8843
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
8844
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
8845
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
8846
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
8613
8847
  fail ArgumentError, 'name is nil' if name.nil?
8614
8848
  fail ArgumentError, 'process_id is nil' if process_id.nil?
8615
8849
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
@@ -8729,6 +8963,9 @@ module Azure::Web::Mgmt::V2016_08_01
8729
8963
  #
8730
8964
  def delete_instance_process_async(resource_group_name, name, process_id, instance_id, custom_headers = nil)
8731
8965
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
8966
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
8967
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
8968
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
8732
8969
  fail ArgumentError, 'name is nil' if name.nil?
8733
8970
  fail ArgumentError, 'process_id is nil' if process_id.nil?
8734
8971
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
@@ -8839,6 +9076,9 @@ module Azure::Web::Mgmt::V2016_08_01
8839
9076
  #
8840
9077
  def get_instance_process_dump_async(resource_group_name, name, process_id, instance_id, custom_headers = nil)
8841
9078
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
9079
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
9080
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
9081
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
8842
9082
  fail ArgumentError, 'name is nil' if name.nil?
8843
9083
  fail ArgumentError, 'process_id is nil' if process_id.nil?
8844
9084
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
@@ -8949,6 +9189,9 @@ module Azure::Web::Mgmt::V2016_08_01
8949
9189
  #
8950
9190
  def list_instance_process_modules_async(resource_group_name, name, process_id, instance_id, custom_headers = nil)
8951
9191
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
9192
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
9193
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
9194
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
8952
9195
  fail ArgumentError, 'name is nil' if name.nil?
8953
9196
  fail ArgumentError, 'process_id is nil' if process_id.nil?
8954
9197
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
@@ -9075,6 +9318,9 @@ module Azure::Web::Mgmt::V2016_08_01
9075
9318
  #
9076
9319
  def get_instance_process_module_async(resource_group_name, name, process_id, base_address, instance_id, base_address1, custom_headers = nil)
9077
9320
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
9321
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
9322
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
9323
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
9078
9324
  fail ArgumentError, 'name is nil' if name.nil?
9079
9325
  fail ArgumentError, 'process_id is nil' if process_id.nil?
9080
9326
  fail ArgumentError, 'base_address is nil' if base_address.nil?
@@ -9197,6 +9443,9 @@ module Azure::Web::Mgmt::V2016_08_01
9197
9443
  #
9198
9444
  def list_instance_process_threads_async(resource_group_name, name, process_id, instance_id, custom_headers = nil)
9199
9445
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
9446
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
9447
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
9448
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
9200
9449
  fail ArgumentError, 'name is nil' if name.nil?
9201
9450
  fail ArgumentError, 'process_id is nil' if process_id.nil?
9202
9451
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
@@ -9320,6 +9569,9 @@ module Azure::Web::Mgmt::V2016_08_01
9320
9569
  #
9321
9570
  def get_instance_process_thread_async(resource_group_name, name, process_id, thread_id, instance_id, custom_headers = nil)
9322
9571
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
9572
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
9573
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
9574
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
9323
9575
  fail ArgumentError, 'name is nil' if name.nil?
9324
9576
  fail ArgumentError, 'process_id is nil' if process_id.nil?
9325
9577
  fail ArgumentError, 'thread_id is nil' if thread_id.nil?
@@ -9423,6 +9675,9 @@ module Azure::Web::Mgmt::V2016_08_01
9423
9675
  #
9424
9676
  def is_cloneable_async(resource_group_name, name, custom_headers = nil)
9425
9677
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
9678
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
9679
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
9680
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
9426
9681
  fail ArgumentError, 'name is nil' if name.nil?
9427
9682
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
9428
9683
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -9523,6 +9778,9 @@ module Azure::Web::Mgmt::V2016_08_01
9523
9778
  #
9524
9779
  def list_sync_function_triggers_async(resource_group_name, name, custom_headers = nil)
9525
9780
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
9781
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
9782
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
9783
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
9526
9784
  fail ArgumentError, 'name is nil' if name.nil?
9527
9785
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
9528
9786
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -9623,6 +9881,9 @@ module Azure::Web::Mgmt::V2016_08_01
9623
9881
  #
9624
9882
  def list_metric_definitions_async(resource_group_name, name, custom_headers = nil)
9625
9883
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
9884
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
9885
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
9886
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
9626
9887
  fail ArgumentError, 'name is nil' if name.nil?
9627
9888
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
9628
9889
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -9741,6 +10002,9 @@ module Azure::Web::Mgmt::V2016_08_01
9741
10002
  #
9742
10003
  def list_metrics_async(resource_group_name, name, details = nil, filter = nil, custom_headers = nil)
9743
10004
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
10005
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
10006
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
10007
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
9744
10008
  fail ArgumentError, 'name is nil' if name.nil?
9745
10009
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
9746
10010
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -9950,6 +10214,9 @@ module Azure::Web::Mgmt::V2016_08_01
9950
10214
  #
9951
10215
  def get_migrate_my_sql_status_async(resource_group_name, name, custom_headers = nil)
9952
10216
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
10217
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
10218
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
10219
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
9953
10220
  fail ArgumentError, 'name is nil' if name.nil?
9954
10221
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
9955
10222
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -10056,6 +10323,9 @@ module Azure::Web::Mgmt::V2016_08_01
10056
10323
  #
10057
10324
  def list_network_features_async(resource_group_name, name, view, custom_headers = nil)
10058
10325
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
10326
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
10327
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
10328
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
10059
10329
  fail ArgumentError, 'name is nil' if name.nil?
10060
10330
  fail ArgumentError, 'view is nil' if view.nil?
10061
10331
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -10172,6 +10442,9 @@ module Azure::Web::Mgmt::V2016_08_01
10172
10442
  #
10173
10443
  def start_web_site_network_trace_async(resource_group_name, name, duration_in_seconds = nil, max_frame_length = nil, sas_url = nil, custom_headers = nil)
10174
10444
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
10445
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
10446
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
10447
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
10175
10448
  fail ArgumentError, 'name is nil' if name.nil?
10176
10449
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
10177
10450
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -10210,6 +10483,7 @@ module Azure::Web::Mgmt::V2016_08_01
10210
10483
  begin
10211
10484
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
10212
10485
  result_mapper = {
10486
+ client_side_validation: true,
10213
10487
  required: false,
10214
10488
  serialized_name: 'parsed_response',
10215
10489
  type: {
@@ -10278,6 +10552,9 @@ module Azure::Web::Mgmt::V2016_08_01
10278
10552
  #
10279
10553
  def stop_web_site_network_trace_async(resource_group_name, name, custom_headers = nil)
10280
10554
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
10555
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
10556
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
10557
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
10281
10558
  fail ArgumentError, 'name is nil' if name.nil?
10282
10559
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
10283
10560
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -10316,6 +10593,7 @@ module Azure::Web::Mgmt::V2016_08_01
10316
10593
  begin
10317
10594
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
10318
10595
  result_mapper = {
10596
+ client_side_validation: true,
10319
10597
  required: false,
10320
10598
  serialized_name: 'parsed_response',
10321
10599
  type: {
@@ -10389,6 +10667,9 @@ module Azure::Web::Mgmt::V2016_08_01
10389
10667
  #
10390
10668
  def generate_new_site_publishing_password_async(resource_group_name, name, custom_headers = nil)
10391
10669
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
10670
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
10671
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
10672
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
10392
10673
  fail ArgumentError, 'name is nil' if name.nil?
10393
10674
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
10394
10675
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -10491,6 +10772,9 @@ module Azure::Web::Mgmt::V2016_08_01
10491
10772
  #
10492
10773
  def list_perf_mon_counters_async(resource_group_name, name, filter = nil, custom_headers = nil)
10493
10774
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
10775
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
10776
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
10777
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
10494
10778
  fail ArgumentError, 'name is nil' if name.nil?
10495
10779
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
10496
10780
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -10592,6 +10876,9 @@ module Azure::Web::Mgmt::V2016_08_01
10592
10876
  #
10593
10877
  def get_site_php_error_log_flag_async(resource_group_name, name, custom_headers = nil)
10594
10878
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
10879
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
10880
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
10881
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
10595
10882
  fail ArgumentError, 'name is nil' if name.nil?
10596
10883
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
10597
10884
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -10692,6 +10979,9 @@ module Azure::Web::Mgmt::V2016_08_01
10692
10979
  #
10693
10980
  def list_premier_add_ons_async(resource_group_name, name, custom_headers = nil)
10694
10981
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
10982
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
10983
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
10984
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
10695
10985
  fail ArgumentError, 'name is nil' if name.nil?
10696
10986
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
10697
10987
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -10795,6 +11085,9 @@ module Azure::Web::Mgmt::V2016_08_01
10795
11085
  #
10796
11086
  def get_premier_add_on_async(resource_group_name, name, premier_add_on_name, custom_headers = nil)
10797
11087
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
11088
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
11089
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
11090
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
10798
11091
  fail ArgumentError, 'name is nil' if name.nil?
10799
11092
  fail ArgumentError, 'premier_add_on_name is nil' if premier_add_on_name.nil?
10800
11093
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -10905,6 +11198,9 @@ module Azure::Web::Mgmt::V2016_08_01
10905
11198
  #
10906
11199
  def add_premier_add_on_async(resource_group_name, name, premier_add_on_name, premier_add_on, custom_headers = nil)
10907
11200
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
11201
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
11202
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
11203
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
10908
11204
  fail ArgumentError, 'name is nil' if name.nil?
10909
11205
  fail ArgumentError, 'premier_add_on_name is nil' if premier_add_on_name.nil?
10910
11206
  fail ArgumentError, 'premier_add_on is nil' if premier_add_on.nil?
@@ -11018,6 +11314,9 @@ module Azure::Web::Mgmt::V2016_08_01
11018
11314
  #
11019
11315
  def delete_premier_add_on_async(resource_group_name, name, premier_add_on_name, custom_headers = nil)
11020
11316
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
11317
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
11318
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
11319
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
11021
11320
  fail ArgumentError, 'name is nil' if name.nil?
11022
11321
  fail ArgumentError, 'premier_add_on_name is nil' if premier_add_on_name.nil?
11023
11322
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -11115,6 +11414,9 @@ module Azure::Web::Mgmt::V2016_08_01
11115
11414
  #
11116
11415
  def list_processes_async(resource_group_name, name, custom_headers = nil)
11117
11416
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
11417
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
11418
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
11419
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
11118
11420
  fail ArgumentError, 'name is nil' if name.nil?
11119
11421
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
11120
11422
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -11224,6 +11526,9 @@ module Azure::Web::Mgmt::V2016_08_01
11224
11526
  #
11225
11527
  def get_process_async(resource_group_name, name, process_id, custom_headers = nil)
11226
11528
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
11529
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
11530
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
11531
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
11227
11532
  fail ArgumentError, 'name is nil' if name.nil?
11228
11533
  fail ArgumentError, 'process_id is nil' if process_id.nil?
11229
11534
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -11333,6 +11638,9 @@ module Azure::Web::Mgmt::V2016_08_01
11333
11638
  #
11334
11639
  def delete_process_async(resource_group_name, name, process_id, custom_headers = nil)
11335
11640
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
11641
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
11642
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
11643
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
11336
11644
  fail ArgumentError, 'name is nil' if name.nil?
11337
11645
  fail ArgumentError, 'process_id is nil' if process_id.nil?
11338
11646
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -11433,6 +11741,9 @@ module Azure::Web::Mgmt::V2016_08_01
11433
11741
  #
11434
11742
  def get_process_dump_async(resource_group_name, name, process_id, custom_headers = nil)
11435
11743
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
11744
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
11745
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
11746
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
11436
11747
  fail ArgumentError, 'name is nil' if name.nil?
11437
11748
  fail ArgumentError, 'process_id is nil' if process_id.nil?
11438
11749
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -11533,6 +11844,9 @@ module Azure::Web::Mgmt::V2016_08_01
11533
11844
  #
11534
11845
  def list_process_modules_async(resource_group_name, name, process_id, custom_headers = nil)
11535
11846
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
11847
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
11848
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
11849
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
11536
11850
  fail ArgumentError, 'name is nil' if name.nil?
11537
11851
  fail ArgumentError, 'process_id is nil' if process_id.nil?
11538
11852
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -11649,6 +11963,9 @@ module Azure::Web::Mgmt::V2016_08_01
11649
11963
  #
11650
11964
  def get_process_module_async(resource_group_name, name, process_id, base_address, base_address1, custom_headers = nil)
11651
11965
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
11966
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
11967
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
11968
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
11652
11969
  fail ArgumentError, 'name is nil' if name.nil?
11653
11970
  fail ArgumentError, 'process_id is nil' if process_id.nil?
11654
11971
  fail ArgumentError, 'base_address is nil' if base_address.nil?
@@ -11761,6 +12078,9 @@ module Azure::Web::Mgmt::V2016_08_01
11761
12078
  #
11762
12079
  def list_process_threads_async(resource_group_name, name, process_id, custom_headers = nil)
11763
12080
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
12081
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
12082
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
12083
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
11764
12084
  fail ArgumentError, 'name is nil' if name.nil?
11765
12085
  fail ArgumentError, 'process_id is nil' if process_id.nil?
11766
12086
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -11874,6 +12194,9 @@ module Azure::Web::Mgmt::V2016_08_01
11874
12194
  #
11875
12195
  def get_process_thread_async(resource_group_name, name, process_id, thread_id, custom_headers = nil)
11876
12196
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
12197
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
12198
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
12199
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
11877
12200
  fail ArgumentError, 'name is nil' if name.nil?
11878
12201
  fail ArgumentError, 'process_id is nil' if process_id.nil?
11879
12202
  fail ArgumentError, 'thread_id is nil' if thread_id.nil?
@@ -11976,6 +12299,9 @@ module Azure::Web::Mgmt::V2016_08_01
11976
12299
  #
11977
12300
  def list_public_certificates_async(resource_group_name, name, custom_headers = nil)
11978
12301
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
12302
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
12303
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
12304
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
11979
12305
  fail ArgumentError, 'name is nil' if name.nil?
11980
12306
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
11981
12307
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -12085,6 +12411,9 @@ module Azure::Web::Mgmt::V2016_08_01
12085
12411
  #
12086
12412
  def get_public_certificate_async(resource_group_name, name, public_certificate_name, custom_headers = nil)
12087
12413
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
12414
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
12415
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
12416
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
12088
12417
  fail ArgumentError, 'name is nil' if name.nil?
12089
12418
  fail ArgumentError, 'public_certificate_name is nil' if public_certificate_name.nil?
12090
12419
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -12195,6 +12524,9 @@ module Azure::Web::Mgmt::V2016_08_01
12195
12524
  #
12196
12525
  def create_or_update_public_certificate_async(resource_group_name, name, public_certificate_name, public_certificate, custom_headers = nil)
12197
12526
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
12527
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
12528
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
12529
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
12198
12530
  fail ArgumentError, 'name is nil' if name.nil?
12199
12531
  fail ArgumentError, 'public_certificate_name is nil' if public_certificate_name.nil?
12200
12532
  fail ArgumentError, 'public_certificate is nil' if public_certificate.nil?
@@ -12308,6 +12640,9 @@ module Azure::Web::Mgmt::V2016_08_01
12308
12640
  #
12309
12641
  def delete_public_certificate_async(resource_group_name, name, public_certificate_name, custom_headers = nil)
12310
12642
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
12643
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
12644
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
12645
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
12311
12646
  fail ArgumentError, 'name is nil' if name.nil?
12312
12647
  fail ArgumentError, 'public_certificate_name is nil' if public_certificate_name.nil?
12313
12648
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -12408,6 +12743,9 @@ module Azure::Web::Mgmt::V2016_08_01
12408
12743
  #
12409
12744
  def list_publishing_profile_xml_with_secrets_async(resource_group_name, name, publishing_profile_options, custom_headers = nil)
12410
12745
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
12746
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
12747
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
12748
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
12411
12749
  fail ArgumentError, 'name is nil' if name.nil?
12412
12750
  fail ArgumentError, 'publishing_profile_options is nil' if publishing_profile_options.nil?
12413
12751
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -12456,6 +12794,7 @@ module Azure::Web::Mgmt::V2016_08_01
12456
12794
  begin
12457
12795
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
12458
12796
  result_mapper = {
12797
+ client_side_validation: true,
12459
12798
  required: false,
12460
12799
  serialized_name: 'parsed_response',
12461
12800
  type: {
@@ -12577,6 +12916,9 @@ module Azure::Web::Mgmt::V2016_08_01
12577
12916
  #
12578
12917
  def reset_production_slot_config_async(resource_group_name, name, custom_headers = nil)
12579
12918
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
12919
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
12920
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
12921
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
12580
12922
  fail ArgumentError, 'name is nil' if name.nil?
12581
12923
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
12582
12924
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -12684,6 +13026,9 @@ module Azure::Web::Mgmt::V2016_08_01
12684
13026
  #
12685
13027
  def restart_async(resource_group_name, name, soft_restart = nil, synchronous = nil, custom_headers = nil)
12686
13028
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
13029
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
13030
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
13031
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
12687
13032
  fail ArgumentError, 'name is nil' if name.nil?
12688
13033
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
12689
13034
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -12774,6 +13119,9 @@ module Azure::Web::Mgmt::V2016_08_01
12774
13119
  #
12775
13120
  def list_site_extensions_async(resource_group_name, name, custom_headers = nil)
12776
13121
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
13122
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
13123
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
13124
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
12777
13125
  fail ArgumentError, 'name is nil' if name.nil?
12778
13126
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
12779
13127
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -12886,6 +13234,9 @@ module Azure::Web::Mgmt::V2016_08_01
12886
13234
  #
12887
13235
  def get_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
12888
13236
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
13237
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
13238
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
13239
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
12889
13240
  fail ArgumentError, 'name is nil' if name.nil?
12890
13241
  fail ArgumentError, 'site_extension_id is nil' if site_extension_id.nil?
12891
13242
  fail ArgumentError, 'extension_name is nil' if extension_name.nil?
@@ -13043,6 +13394,9 @@ module Azure::Web::Mgmt::V2016_08_01
13043
13394
  #
13044
13395
  def delete_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
13045
13396
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
13397
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
13398
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
13399
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
13046
13400
  fail ArgumentError, 'name is nil' if name.nil?
13047
13401
  fail ArgumentError, 'site_extension_id is nil' if site_extension_id.nil?
13048
13402
  fail ArgumentError, 'extension_name is nil' if extension_name.nil?
@@ -13135,6 +13489,9 @@ module Azure::Web::Mgmt::V2016_08_01
13135
13489
  #
13136
13490
  def list_slots_async(resource_group_name, name, custom_headers = nil)
13137
13491
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
13492
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
13493
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
13494
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
13138
13495
  fail ArgumentError, 'name is nil' if name.nil?
13139
13496
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
13140
13497
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -13241,6 +13598,9 @@ module Azure::Web::Mgmt::V2016_08_01
13241
13598
  #
13242
13599
  def get_slot_async(resource_group_name, name, slot, custom_headers = nil)
13243
13600
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
13601
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
13602
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
13603
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
13244
13604
  fail ArgumentError, 'name is nil' if name.nil?
13245
13605
  fail ArgumentError, 'slot is nil' if slot.nil?
13246
13606
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -13438,6 +13798,9 @@ module Azure::Web::Mgmt::V2016_08_01
13438
13798
  #
13439
13799
  def delete_slot_async(resource_group_name, name, slot, delete_metrics = nil, delete_empty_server_farm = nil, skip_dns_registration = nil, custom_headers = nil)
13440
13800
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
13801
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
13802
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
13803
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
13441
13804
  fail ArgumentError, 'name is nil' if name.nil?
13442
13805
  fail ArgumentError, 'slot is nil' if slot.nil?
13443
13806
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -13538,6 +13901,9 @@ module Azure::Web::Mgmt::V2016_08_01
13538
13901
  #
13539
13902
  def analyze_custom_hostname_slot_async(resource_group_name, name, slot, host_name = nil, custom_headers = nil)
13540
13903
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
13904
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
13905
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
13906
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
13541
13907
  fail ArgumentError, 'name is nil' if name.nil?
13542
13908
  fail ArgumentError, 'slot is nil' if slot.nil?
13543
13909
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -13656,6 +14022,9 @@ module Azure::Web::Mgmt::V2016_08_01
13656
14022
  #
13657
14023
  def apply_slot_configuration_slot_async(resource_group_name, name, slot_swap_entity, slot, custom_headers = nil)
13658
14024
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
14025
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
14026
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
14027
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
13659
14028
  fail ArgumentError, 'name is nil' if name.nil?
13660
14029
  fail ArgumentError, 'slot_swap_entity is nil' if slot_swap_entity.nil?
13661
14030
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -13769,6 +14138,9 @@ module Azure::Web::Mgmt::V2016_08_01
13769
14138
  #
13770
14139
  def backup_slot_async(resource_group_name, name, request, slot, custom_headers = nil)
13771
14140
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
14141
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
14142
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
14143
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
13772
14144
  fail ArgumentError, 'name is nil' if name.nil?
13773
14145
  fail ArgumentError, 'request is nil' if request.nil?
13774
14146
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -13886,6 +14258,9 @@ module Azure::Web::Mgmt::V2016_08_01
13886
14258
  #
13887
14259
  def list_backups_slot_async(resource_group_name, name, slot, custom_headers = nil)
13888
14260
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
14261
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
14262
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
14263
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
13889
14264
  fail ArgumentError, 'name is nil' if name.nil?
13890
14265
  fail ArgumentError, 'slot is nil' if slot.nil?
13891
14266
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -14005,6 +14380,9 @@ module Azure::Web::Mgmt::V2016_08_01
14005
14380
  #
14006
14381
  def discover_restore_slot_async(resource_group_name, name, request, slot, custom_headers = nil)
14007
14382
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
14383
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
14384
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
14385
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
14008
14386
  fail ArgumentError, 'name is nil' if name.nil?
14009
14387
  fail ArgumentError, 'request is nil' if request.nil?
14010
14388
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -14125,6 +14503,9 @@ module Azure::Web::Mgmt::V2016_08_01
14125
14503
  #
14126
14504
  def get_backup_status_slot_async(resource_group_name, name, backup_id, slot, custom_headers = nil)
14127
14505
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
14506
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
14507
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
14508
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
14128
14509
  fail ArgumentError, 'name is nil' if name.nil?
14129
14510
  fail ArgumentError, 'backup_id is nil' if backup_id.nil?
14130
14511
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -14235,6 +14616,9 @@ module Azure::Web::Mgmt::V2016_08_01
14235
14616
  #
14236
14617
  def delete_backup_slot_async(resource_group_name, name, backup_id, slot, custom_headers = nil)
14237
14618
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
14619
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
14620
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
14621
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
14238
14622
  fail ArgumentError, 'name is nil' if name.nil?
14239
14623
  fail ArgumentError, 'backup_id is nil' if backup_id.nil?
14240
14624
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -14357,6 +14741,9 @@ module Azure::Web::Mgmt::V2016_08_01
14357
14741
  #
14358
14742
  def list_backup_status_secrets_slot_async(resource_group_name, name, backup_id, request, slot, custom_headers = nil)
14359
14743
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
14744
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
14745
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
14746
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
14360
14747
  fail ArgumentError, 'name is nil' if name.nil?
14361
14748
  fail ArgumentError, 'backup_id is nil' if backup_id.nil?
14362
14749
  fail ArgumentError, 'request is nil' if request.nil?
@@ -14529,6 +14916,9 @@ module Azure::Web::Mgmt::V2016_08_01
14529
14916
  #
14530
14917
  def list_configurations_slot_async(resource_group_name, name, slot, custom_headers = nil)
14531
14918
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
14919
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
14920
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
14921
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
14532
14922
  fail ArgumentError, 'name is nil' if name.nil?
14533
14923
  fail ArgumentError, 'slot is nil' if slot.nil?
14534
14924
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -14639,6 +15029,9 @@ module Azure::Web::Mgmt::V2016_08_01
14639
15029
  #
14640
15030
  def update_application_settings_slot_async(resource_group_name, name, app_settings, slot, custom_headers = nil)
14641
15031
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
15032
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
15033
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
15034
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
14642
15035
  fail ArgumentError, 'name is nil' if name.nil?
14643
15036
  fail ArgumentError, 'app_settings is nil' if app_settings.nil?
14644
15037
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -14756,6 +15149,9 @@ module Azure::Web::Mgmt::V2016_08_01
14756
15149
  #
14757
15150
  def list_application_settings_slot_async(resource_group_name, name, slot, custom_headers = nil)
14758
15151
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
15152
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
15153
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
15154
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
14759
15155
  fail ArgumentError, 'name is nil' if name.nil?
14760
15156
  fail ArgumentError, 'slot is nil' if slot.nil?
14761
15157
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -14869,6 +15265,9 @@ module Azure::Web::Mgmt::V2016_08_01
14869
15265
  #
14870
15266
  def update_auth_settings_slot_async(resource_group_name, name, site_auth_settings, slot, custom_headers = nil)
14871
15267
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
15268
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
15269
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
15270
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
14872
15271
  fail ArgumentError, 'name is nil' if name.nil?
14873
15272
  fail ArgumentError, 'site_auth_settings is nil' if site_auth_settings.nil?
14874
15273
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -14986,6 +15385,9 @@ module Azure::Web::Mgmt::V2016_08_01
14986
15385
  #
14987
15386
  def get_auth_settings_slot_async(resource_group_name, name, slot, custom_headers = nil)
14988
15387
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
15388
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
15389
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
15390
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
14989
15391
  fail ArgumentError, 'name is nil' if name.nil?
14990
15392
  fail ArgumentError, 'slot is nil' if slot.nil?
14991
15393
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -15096,6 +15498,9 @@ module Azure::Web::Mgmt::V2016_08_01
15096
15498
  #
15097
15499
  def update_backup_configuration_slot_async(resource_group_name, name, request, slot, custom_headers = nil)
15098
15500
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
15501
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
15502
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
15503
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
15099
15504
  fail ArgumentError, 'name is nil' if name.nil?
15100
15505
  fail ArgumentError, 'request is nil' if request.nil?
15101
15506
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -15212,6 +15617,9 @@ module Azure::Web::Mgmt::V2016_08_01
15212
15617
  #
15213
15618
  def delete_backup_configuration_slot_async(resource_group_name, name, slot, custom_headers = nil)
15214
15619
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
15620
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
15621
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
15622
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
15215
15623
  fail ArgumentError, 'name is nil' if name.nil?
15216
15624
  fail ArgumentError, 'slot is nil' if slot.nil?
15217
15625
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -15309,6 +15717,9 @@ module Azure::Web::Mgmt::V2016_08_01
15309
15717
  #
15310
15718
  def get_backup_configuration_slot_async(resource_group_name, name, slot, custom_headers = nil)
15311
15719
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
15720
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
15721
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
15722
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
15312
15723
  fail ArgumentError, 'name is nil' if name.nil?
15313
15724
  fail ArgumentError, 'slot is nil' if slot.nil?
15314
15725
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -15422,6 +15833,9 @@ module Azure::Web::Mgmt::V2016_08_01
15422
15833
  #
15423
15834
  def update_connection_strings_slot_async(resource_group_name, name, connection_strings, slot, custom_headers = nil)
15424
15835
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
15836
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
15837
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
15838
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
15425
15839
  fail ArgumentError, 'name is nil' if name.nil?
15426
15840
  fail ArgumentError, 'connection_strings is nil' if connection_strings.nil?
15427
15841
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -15539,6 +15953,9 @@ module Azure::Web::Mgmt::V2016_08_01
15539
15953
  #
15540
15954
  def list_connection_strings_slot_async(resource_group_name, name, slot, custom_headers = nil)
15541
15955
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
15956
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
15957
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
15958
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
15542
15959
  fail ArgumentError, 'name is nil' if name.nil?
15543
15960
  fail ArgumentError, 'slot is nil' if slot.nil?
15544
15961
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -15646,6 +16063,9 @@ module Azure::Web::Mgmt::V2016_08_01
15646
16063
  #
15647
16064
  def get_diagnostic_logs_configuration_slot_async(resource_group_name, name, slot, custom_headers = nil)
15648
16065
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
16066
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
16067
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
16068
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
15649
16069
  fail ArgumentError, 'name is nil' if name.nil?
15650
16070
  fail ArgumentError, 'slot is nil' if slot.nil?
15651
16071
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -15759,6 +16179,9 @@ module Azure::Web::Mgmt::V2016_08_01
15759
16179
  #
15760
16180
  def update_diagnostic_logs_config_slot_async(resource_group_name, name, site_logs_config, slot, custom_headers = nil)
15761
16181
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
16182
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
16183
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
16184
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
15762
16185
  fail ArgumentError, 'name is nil' if name.nil?
15763
16186
  fail ArgumentError, 'site_logs_config is nil' if site_logs_config.nil?
15764
16187
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -15882,6 +16305,9 @@ module Azure::Web::Mgmt::V2016_08_01
15882
16305
  #
15883
16306
  def update_metadata_slot_async(resource_group_name, name, metadata, slot, custom_headers = nil)
15884
16307
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
16308
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
16309
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
16310
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
15885
16311
  fail ArgumentError, 'name is nil' if name.nil?
15886
16312
  fail ArgumentError, 'metadata is nil' if metadata.nil?
15887
16313
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -15999,6 +16425,9 @@ module Azure::Web::Mgmt::V2016_08_01
15999
16425
  #
16000
16426
  def list_metadata_slot_async(resource_group_name, name, slot, custom_headers = nil)
16001
16427
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
16428
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
16429
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
16430
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
16002
16431
  fail ArgumentError, 'name is nil' if name.nil?
16003
16432
  fail ArgumentError, 'slot is nil' if slot.nil?
16004
16433
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -16159,6 +16588,9 @@ module Azure::Web::Mgmt::V2016_08_01
16159
16588
  #
16160
16589
  def update_site_push_settings_slot_async(resource_group_name, name, push_settings, slot, custom_headers = nil)
16161
16590
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
16591
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
16592
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
16593
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
16162
16594
  fail ArgumentError, 'name is nil' if name.nil?
16163
16595
  fail ArgumentError, 'push_settings is nil' if push_settings.nil?
16164
16596
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -16276,6 +16708,9 @@ module Azure::Web::Mgmt::V2016_08_01
16276
16708
  #
16277
16709
  def list_site_push_settings_slot_async(resource_group_name, name, slot, custom_headers = nil)
16278
16710
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
16711
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
16712
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
16713
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
16279
16714
  fail ArgumentError, 'name is nil' if name.nil?
16280
16715
  fail ArgumentError, 'slot is nil' if slot.nil?
16281
16716
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -16389,6 +16824,9 @@ module Azure::Web::Mgmt::V2016_08_01
16389
16824
  #
16390
16825
  def get_configuration_slot_async(resource_group_name, name, slot, custom_headers = nil)
16391
16826
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
16827
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
16828
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
16829
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
16392
16830
  fail ArgumentError, 'name is nil' if name.nil?
16393
16831
  fail ArgumentError, 'slot is nil' if slot.nil?
16394
16832
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -16502,6 +16940,9 @@ module Azure::Web::Mgmt::V2016_08_01
16502
16940
  #
16503
16941
  def create_or_update_configuration_slot_async(resource_group_name, name, site_config, slot, custom_headers = nil)
16504
16942
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
16943
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
16944
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
16945
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
16505
16946
  fail ArgumentError, 'name is nil' if name.nil?
16506
16947
  fail ArgumentError, 'site_config is nil' if site_config.nil?
16507
16948
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -16625,6 +17066,9 @@ module Azure::Web::Mgmt::V2016_08_01
16625
17066
  #
16626
17067
  def update_configuration_slot_async(resource_group_name, name, site_config, slot, custom_headers = nil)
16627
17068
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
17069
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
17070
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
17071
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
16628
17072
  fail ArgumentError, 'name is nil' if name.nil?
16629
17073
  fail ArgumentError, 'site_config is nil' if site_config.nil?
16630
17074
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -16748,6 +17192,9 @@ module Azure::Web::Mgmt::V2016_08_01
16748
17192
  #
16749
17193
  def list_configuration_snapshot_info_slot_async(resource_group_name, name, slot, custom_headers = nil)
16750
17194
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
17195
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
17196
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
17197
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
16751
17198
  fail ArgumentError, 'name is nil' if name.nil?
16752
17199
  fail ArgumentError, 'slot is nil' if slot.nil?
16753
17200
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -16787,11 +17234,13 @@ module Azure::Web::Mgmt::V2016_08_01
16787
17234
  begin
16788
17235
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
16789
17236
  result_mapper = {
17237
+ client_side_validation: true,
16790
17238
  required: false,
16791
17239
  serialized_name: 'parsed_response',
16792
17240
  type: {
16793
17241
  name: 'Sequence',
16794
17242
  element: {
17243
+ client_side_validation: true,
16795
17244
  required: false,
16796
17245
  serialized_name: 'SiteConfigurationSnapshotInfoElementType',
16797
17246
  type: {
@@ -16872,6 +17321,9 @@ module Azure::Web::Mgmt::V2016_08_01
16872
17321
  #
16873
17322
  def get_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
16874
17323
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
17324
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
17325
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
17326
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
16875
17327
  fail ArgumentError, 'name is nil' if name.nil?
16876
17328
  fail ArgumentError, 'snapshot_id is nil' if snapshot_id.nil?
16877
17329
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -16982,6 +17434,9 @@ module Azure::Web::Mgmt::V2016_08_01
16982
17434
  #
16983
17435
  def recover_site_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
16984
17436
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
17437
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
17438
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
17439
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
16985
17440
  fail ArgumentError, 'name is nil' if name.nil?
16986
17441
  fail ArgumentError, 'snapshot_id is nil' if snapshot_id.nil?
16987
17442
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -17080,6 +17535,9 @@ module Azure::Web::Mgmt::V2016_08_01
17080
17535
  #
17081
17536
  def list_continuous_web_jobs_slot_async(resource_group_name, name, slot, custom_headers = nil)
17082
17537
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
17538
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
17539
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
17540
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
17083
17541
  fail ArgumentError, 'name is nil' if name.nil?
17084
17542
  fail ArgumentError, 'slot is nil' if slot.nil?
17085
17543
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -17193,6 +17651,9 @@ module Azure::Web::Mgmt::V2016_08_01
17193
17651
  #
17194
17652
  def get_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
17195
17653
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
17654
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
17655
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
17656
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
17196
17657
  fail ArgumentError, 'name is nil' if name.nil?
17197
17658
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
17198
17659
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -17307,6 +17768,9 @@ module Azure::Web::Mgmt::V2016_08_01
17307
17768
  #
17308
17769
  def delete_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
17309
17770
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
17771
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
17772
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
17773
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
17310
17774
  fail ArgumentError, 'name is nil' if name.nil?
17311
17775
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
17312
17776
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -17411,6 +17875,9 @@ module Azure::Web::Mgmt::V2016_08_01
17411
17875
  #
17412
17876
  def start_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
17413
17877
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
17878
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
17879
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
17880
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
17414
17881
  fail ArgumentError, 'name is nil' if name.nil?
17415
17882
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
17416
17883
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -17515,6 +17982,9 @@ module Azure::Web::Mgmt::V2016_08_01
17515
17982
  #
17516
17983
  def stop_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
17517
17984
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
17985
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
17986
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
17987
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
17518
17988
  fail ArgumentError, 'name is nil' if name.nil?
17519
17989
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
17520
17990
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -17614,6 +18084,9 @@ module Azure::Web::Mgmt::V2016_08_01
17614
18084
  #
17615
18085
  def list_deployments_slot_async(resource_group_name, name, slot, custom_headers = nil)
17616
18086
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
18087
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
18088
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
18089
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
17617
18090
  fail ArgumentError, 'name is nil' if name.nil?
17618
18091
  fail ArgumentError, 'slot is nil' if slot.nil?
17619
18092
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -17724,6 +18197,9 @@ module Azure::Web::Mgmt::V2016_08_01
17724
18197
  #
17725
18198
  def get_deployment_slot_async(resource_group_name, name, id, slot, custom_headers = nil)
17726
18199
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
18200
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
18201
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
18202
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
17727
18203
  fail ArgumentError, 'name is nil' if name.nil?
17728
18204
  fail ArgumentError, 'id is nil' if id.nil?
17729
18205
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -17838,6 +18314,9 @@ module Azure::Web::Mgmt::V2016_08_01
17838
18314
  #
17839
18315
  def create_deployment_slot_async(resource_group_name, name, id, slot, deployment, custom_headers = nil)
17840
18316
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
18317
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
18318
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
18319
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
17841
18320
  fail ArgumentError, 'name is nil' if name.nil?
17842
18321
  fail ArgumentError, 'id is nil' if id.nil?
17843
18322
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -17958,6 +18437,9 @@ module Azure::Web::Mgmt::V2016_08_01
17958
18437
  #
17959
18438
  def delete_deployment_slot_async(resource_group_name, name, id, slot, custom_headers = nil)
17960
18439
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
18440
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
18441
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
18442
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
17961
18443
  fail ArgumentError, 'name is nil' if name.nil?
17962
18444
  fail ArgumentError, 'id is nil' if id.nil?
17963
18445
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -18065,6 +18547,9 @@ module Azure::Web::Mgmt::V2016_08_01
18065
18547
  #
18066
18548
  def list_deployment_log_slot_async(resource_group_name, name, id, slot, custom_headers = nil)
18067
18549
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
18550
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
18551
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
18552
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
18068
18553
  fail ArgumentError, 'name is nil' if name.nil?
18069
18554
  fail ArgumentError, 'id is nil' if id.nil?
18070
18555
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -18173,6 +18658,9 @@ module Azure::Web::Mgmt::V2016_08_01
18173
18658
  #
18174
18659
  def list_domain_ownership_identifiers_slot_async(resource_group_name, name, slot, custom_headers = nil)
18175
18660
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
18661
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
18662
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
18663
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
18176
18664
  fail ArgumentError, 'name is nil' if name.nil?
18177
18665
  fail ArgumentError, 'slot is nil' if slot.nil?
18178
18666
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -18286,6 +18774,9 @@ module Azure::Web::Mgmt::V2016_08_01
18286
18774
  #
18287
18775
  def get_domain_ownership_identifier_slot_async(resource_group_name, name, domain_ownership_identifier_name, slot, custom_headers = nil)
18288
18776
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
18777
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
18778
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
18779
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
18289
18780
  fail ArgumentError, 'name is nil' if name.nil?
18290
18781
  fail ArgumentError, 'domain_ownership_identifier_name is nil' if domain_ownership_identifier_name.nil?
18291
18782
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -18412,6 +18903,9 @@ module Azure::Web::Mgmt::V2016_08_01
18412
18903
  #
18413
18904
  def create_or_update_domain_ownership_identifier_slot_async(resource_group_name, name, domain_ownership_identifier_name, domain_ownership_identifier, slot, custom_headers = nil)
18414
18905
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
18906
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
18907
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
18908
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
18415
18909
  fail ArgumentError, 'name is nil' if name.nil?
18416
18910
  fail ArgumentError, 'domain_ownership_identifier_name is nil' if domain_ownership_identifier_name.nil?
18417
18911
  fail ArgumentError, 'domain_ownership_identifier is nil' if domain_ownership_identifier.nil?
@@ -18535,6 +19029,9 @@ module Azure::Web::Mgmt::V2016_08_01
18535
19029
  #
18536
19030
  def delete_domain_ownership_identifier_slot_async(resource_group_name, name, domain_ownership_identifier_name, slot, custom_headers = nil)
18537
19031
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
19032
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
19033
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
19034
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
18538
19035
  fail ArgumentError, 'name is nil' if name.nil?
18539
19036
  fail ArgumentError, 'domain_ownership_identifier_name is nil' if domain_ownership_identifier_name.nil?
18540
19037
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -18651,6 +19148,9 @@ module Azure::Web::Mgmt::V2016_08_01
18651
19148
  #
18652
19149
  def update_domain_ownership_identifier_slot_async(resource_group_name, name, domain_ownership_identifier_name, domain_ownership_identifier, slot, custom_headers = nil)
18653
19150
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
19151
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
19152
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
19153
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
18654
19154
  fail ArgumentError, 'name is nil' if name.nil?
18655
19155
  fail ArgumentError, 'domain_ownership_identifier_name is nil' if domain_ownership_identifier_name.nil?
18656
19156
  fail ArgumentError, 'domain_ownership_identifier is nil' if domain_ownership_identifier.nil?
@@ -18769,6 +19269,9 @@ module Azure::Web::Mgmt::V2016_08_01
18769
19269
  #
18770
19270
  def get_msdeploy_status_slot_async(resource_group_name, name, slot, custom_headers = nil)
18771
19271
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
19272
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
19273
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
19274
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
18772
19275
  fail ArgumentError, 'name is nil' if name.nil?
18773
19276
  fail ArgumentError, 'slot is nil' if slot.nil?
18774
19277
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -18928,6 +19431,9 @@ module Azure::Web::Mgmt::V2016_08_01
18928
19431
  #
18929
19432
  def get_msdeploy_log_slot_async(resource_group_name, name, slot, custom_headers = nil)
18930
19433
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
19434
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
19435
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
19436
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
18931
19437
  fail ArgumentError, 'name is nil' if name.nil?
18932
19438
  fail ArgumentError, 'slot is nil' if slot.nil?
18933
19439
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -19035,6 +19541,9 @@ module Azure::Web::Mgmt::V2016_08_01
19035
19541
  #
19036
19542
  def list_instance_functions_slot_async(resource_group_name, name, slot, custom_headers = nil)
19037
19543
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
19544
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
19545
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
19546
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
19038
19547
  fail ArgumentError, 'name is nil' if name.nil?
19039
19548
  fail ArgumentError, 'slot is nil' if slot.nil?
19040
19549
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -19142,6 +19651,9 @@ module Azure::Web::Mgmt::V2016_08_01
19142
19651
  #
19143
19652
  def get_functions_admin_token_slot_async(resource_group_name, name, slot, custom_headers = nil)
19144
19653
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
19654
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
19655
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
19656
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
19145
19657
  fail ArgumentError, 'name is nil' if name.nil?
19146
19658
  fail ArgumentError, 'slot is nil' if slot.nil?
19147
19659
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -19181,6 +19693,7 @@ module Azure::Web::Mgmt::V2016_08_01
19181
19693
  begin
19182
19694
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
19183
19695
  result_mapper = {
19696
+ client_side_validation: true,
19184
19697
  required: false,
19185
19698
  serialized_name: 'parsed_response',
19186
19699
  type: {
@@ -19258,6 +19771,9 @@ module Azure::Web::Mgmt::V2016_08_01
19258
19771
  #
19259
19772
  def get_instance_function_slot_async(resource_group_name, name, function_name, slot, custom_headers = nil)
19260
19773
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
19774
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
19775
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
19776
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
19261
19777
  fail ArgumentError, 'name is nil' if name.nil?
19262
19778
  fail ArgumentError, 'function_name is nil' if function_name.nil?
19263
19779
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -19422,6 +19938,9 @@ module Azure::Web::Mgmt::V2016_08_01
19422
19938
  #
19423
19939
  def delete_instance_function_slot_async(resource_group_name, name, function_name, slot, custom_headers = nil)
19424
19940
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
19941
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
19942
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
19943
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
19425
19944
  fail ArgumentError, 'name is nil' if name.nil?
19426
19945
  fail ArgumentError, 'function_name is nil' if function_name.nil?
19427
19946
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -19523,6 +20042,9 @@ module Azure::Web::Mgmt::V2016_08_01
19523
20042
  #
19524
20043
  def list_function_secrets_slot_async(resource_group_name, name, function_name, slot, custom_headers = nil)
19525
20044
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
20045
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
20046
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
20047
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
19526
20048
  fail ArgumentError, 'name is nil' if name.nil?
19527
20049
  fail ArgumentError, 'function_name is nil' if function_name.nil?
19528
20050
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -19631,6 +20153,9 @@ module Azure::Web::Mgmt::V2016_08_01
19631
20153
  #
19632
20154
  def list_host_name_bindings_slot_async(resource_group_name, name, slot, custom_headers = nil)
19633
20155
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
20156
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
20157
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
20158
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
19634
20159
  fail ArgumentError, 'name is nil' if name.nil?
19635
20160
  fail ArgumentError, 'slot is nil' if slot.nil?
19636
20161
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -19741,6 +20266,9 @@ module Azure::Web::Mgmt::V2016_08_01
19741
20266
  #
19742
20267
  def get_host_name_binding_slot_async(resource_group_name, name, slot, host_name, custom_headers = nil)
19743
20268
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
20269
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
20270
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
20271
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
19744
20272
  fail ArgumentError, 'name is nil' if name.nil?
19745
20273
  fail ArgumentError, 'slot is nil' if slot.nil?
19746
20274
  fail ArgumentError, 'host_name is nil' if host_name.nil?
@@ -19858,6 +20386,9 @@ module Azure::Web::Mgmt::V2016_08_01
19858
20386
  #
19859
20387
  def create_or_update_host_name_binding_slot_async(resource_group_name, name, host_name, host_name_binding, slot, custom_headers = nil)
19860
20388
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
20389
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
20390
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
20391
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
19861
20392
  fail ArgumentError, 'name is nil' if name.nil?
19862
20393
  fail ArgumentError, 'host_name is nil' if host_name.nil?
19863
20394
  fail ArgumentError, 'host_name_binding is nil' if host_name_binding.nil?
@@ -19978,6 +20509,9 @@ module Azure::Web::Mgmt::V2016_08_01
19978
20509
  #
19979
20510
  def delete_host_name_binding_slot_async(resource_group_name, name, slot, host_name, custom_headers = nil)
19980
20511
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
20512
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
20513
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
20514
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
19981
20515
  fail ArgumentError, 'name is nil' if name.nil?
19982
20516
  fail ArgumentError, 'slot is nil' if slot.nil?
19983
20517
  fail ArgumentError, 'host_name is nil' if host_name.nil?
@@ -20079,6 +20613,9 @@ module Azure::Web::Mgmt::V2016_08_01
20079
20613
  #
20080
20614
  def get_hybrid_connection_slot_async(resource_group_name, name, namespace_name, relay_name, slot, custom_headers = nil)
20081
20615
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
20616
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
20617
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
20618
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
20082
20619
  fail ArgumentError, 'name is nil' if name.nil?
20083
20620
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
20084
20621
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
@@ -20197,6 +20734,9 @@ module Azure::Web::Mgmt::V2016_08_01
20197
20734
  #
20198
20735
  def create_or_update_hybrid_connection_slot_async(resource_group_name, name, namespace_name, relay_name, connection_envelope, slot, custom_headers = nil)
20199
20736
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
20737
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
20738
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
20739
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
20200
20740
  fail ArgumentError, 'name is nil' if name.nil?
20201
20741
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
20202
20742
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
@@ -20318,6 +20858,9 @@ module Azure::Web::Mgmt::V2016_08_01
20318
20858
  #
20319
20859
  def delete_hybrid_connection_slot_async(resource_group_name, name, namespace_name, relay_name, slot, custom_headers = nil)
20320
20860
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
20861
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
20862
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
20863
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
20321
20864
  fail ArgumentError, 'name is nil' if name.nil?
20322
20865
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
20323
20866
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
@@ -20426,6 +20969,9 @@ module Azure::Web::Mgmt::V2016_08_01
20426
20969
  #
20427
20970
  def update_hybrid_connection_slot_async(resource_group_name, name, namespace_name, relay_name, connection_envelope, slot, custom_headers = nil)
20428
20971
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
20972
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
20973
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
20974
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
20429
20975
  fail ArgumentError, 'name is nil' if name.nil?
20430
20976
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
20431
20977
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
@@ -20548,6 +21094,9 @@ module Azure::Web::Mgmt::V2016_08_01
20548
21094
  #
20549
21095
  def list_hybrid_connection_keys_slot_async(resource_group_name, name, namespace_name, relay_name, slot, custom_headers = nil)
20550
21096
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
21097
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
21098
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
21099
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
20551
21100
  fail ArgumentError, 'name is nil' if name.nil?
20552
21101
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
20553
21102
  fail ArgumentError, 'relay_name is nil' if relay_name.nil?
@@ -20654,6 +21203,9 @@ module Azure::Web::Mgmt::V2016_08_01
20654
21203
  #
20655
21204
  def list_hybrid_connections_slot_async(resource_group_name, name, slot, custom_headers = nil)
20656
21205
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
21206
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
21207
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
21208
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
20657
21209
  fail ArgumentError, 'name is nil' if name.nil?
20658
21210
  fail ArgumentError, 'slot is nil' if slot.nil?
20659
21211
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -20767,6 +21319,9 @@ module Azure::Web::Mgmt::V2016_08_01
20767
21319
  #
20768
21320
  def list_relay_service_connections_slot_async(resource_group_name, name, slot, custom_headers = nil)
20769
21321
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
21322
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
21323
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
21324
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
20770
21325
  fail ArgumentError, 'name is nil' if name.nil?
20771
21326
  fail ArgumentError, 'slot is nil' if slot.nil?
20772
21327
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -20877,6 +21432,9 @@ module Azure::Web::Mgmt::V2016_08_01
20877
21432
  #
20878
21433
  def get_relay_service_connection_slot_async(resource_group_name, name, entity_name, slot, custom_headers = nil)
20879
21434
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
21435
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
21436
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
21437
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
20880
21438
  fail ArgumentError, 'name is nil' if name.nil?
20881
21439
  fail ArgumentError, 'entity_name is nil' if entity_name.nil?
20882
21440
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -21000,6 +21558,9 @@ module Azure::Web::Mgmt::V2016_08_01
21000
21558
  #
21001
21559
  def create_or_update_relay_service_connection_slot_async(resource_group_name, name, entity_name, connection_envelope, slot, custom_headers = nil)
21002
21560
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
21561
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
21562
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
21563
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
21003
21564
  fail ArgumentError, 'name is nil' if name.nil?
21004
21565
  fail ArgumentError, 'entity_name is nil' if entity_name.nil?
21005
21566
  fail ArgumentError, 'connection_envelope is nil' if connection_envelope.nil?
@@ -21120,6 +21681,9 @@ module Azure::Web::Mgmt::V2016_08_01
21120
21681
  #
21121
21682
  def delete_relay_service_connection_slot_async(resource_group_name, name, entity_name, slot, custom_headers = nil)
21122
21683
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
21684
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
21685
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
21686
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
21123
21687
  fail ArgumentError, 'name is nil' if name.nil?
21124
21688
  fail ArgumentError, 'entity_name is nil' if entity_name.nil?
21125
21689
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -21233,6 +21797,9 @@ module Azure::Web::Mgmt::V2016_08_01
21233
21797
  #
21234
21798
  def update_relay_service_connection_slot_async(resource_group_name, name, entity_name, connection_envelope, slot, custom_headers = nil)
21235
21799
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
21800
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
21801
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
21802
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
21236
21803
  fail ArgumentError, 'name is nil' if name.nil?
21237
21804
  fail ArgumentError, 'entity_name is nil' if entity_name.nil?
21238
21805
  fail ArgumentError, 'connection_envelope is nil' if connection_envelope.nil?
@@ -21351,6 +21918,9 @@ module Azure::Web::Mgmt::V2016_08_01
21351
21918
  #
21352
21919
  def list_instance_identifiers_slot_async(resource_group_name, name, slot, custom_headers = nil)
21353
21920
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
21921
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
21922
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
21923
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
21354
21924
  fail ArgumentError, 'name is nil' if name.nil?
21355
21925
  fail ArgumentError, 'slot is nil' if slot.nil?
21356
21926
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -21461,6 +22031,9 @@ module Azure::Web::Mgmt::V2016_08_01
21461
22031
  #
21462
22032
  def get_instance_ms_deploy_status_slot_async(resource_group_name, name, slot, instance_id, custom_headers = nil)
21463
22033
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
22034
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
22035
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
22036
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
21464
22037
  fail ArgumentError, 'name is nil' if name.nil?
21465
22038
  fail ArgumentError, 'slot is nil' if slot.nil?
21466
22039
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
@@ -21626,6 +22199,9 @@ module Azure::Web::Mgmt::V2016_08_01
21626
22199
  #
21627
22200
  def get_instance_msdeploy_log_slot_async(resource_group_name, name, slot, instance_id, custom_headers = nil)
21628
22201
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
22202
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
22203
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
22204
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
21629
22205
  fail ArgumentError, 'name is nil' if name.nil?
21630
22206
  fail ArgumentError, 'slot is nil' if slot.nil?
21631
22207
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
@@ -21749,6 +22325,9 @@ module Azure::Web::Mgmt::V2016_08_01
21749
22325
  #
21750
22326
  def list_instance_processes_slot_async(resource_group_name, name, slot, instance_id, custom_headers = nil)
21751
22327
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
22328
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
22329
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
22330
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
21752
22331
  fail ArgumentError, 'name is nil' if name.nil?
21753
22332
  fail ArgumentError, 'slot is nil' if slot.nil?
21754
22333
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
@@ -21875,6 +22454,9 @@ module Azure::Web::Mgmt::V2016_08_01
21875
22454
  #
21876
22455
  def get_instance_process_slot_async(resource_group_name, name, process_id, slot, instance_id, custom_headers = nil)
21877
22456
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
22457
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
22458
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
22459
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
21878
22460
  fail ArgumentError, 'name is nil' if name.nil?
21879
22461
  fail ArgumentError, 'process_id is nil' if process_id.nil?
21880
22462
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -22001,6 +22583,9 @@ module Azure::Web::Mgmt::V2016_08_01
22001
22583
  #
22002
22584
  def delete_instance_process_slot_async(resource_group_name, name, process_id, slot, instance_id, custom_headers = nil)
22003
22585
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
22586
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
22587
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
22588
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
22004
22589
  fail ArgumentError, 'name is nil' if name.nil?
22005
22590
  fail ArgumentError, 'process_id is nil' if process_id.nil?
22006
22591
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -22118,6 +22703,9 @@ module Azure::Web::Mgmt::V2016_08_01
22118
22703
  #
22119
22704
  def get_instance_process_dump_slot_async(resource_group_name, name, process_id, slot, instance_id, custom_headers = nil)
22120
22705
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
22706
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
22707
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
22708
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
22121
22709
  fail ArgumentError, 'name is nil' if name.nil?
22122
22710
  fail ArgumentError, 'process_id is nil' if process_id.nil?
22123
22711
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -22235,6 +22823,9 @@ module Azure::Web::Mgmt::V2016_08_01
22235
22823
  #
22236
22824
  def list_instance_process_modules_slot_async(resource_group_name, name, process_id, slot, instance_id, custom_headers = nil)
22237
22825
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
22826
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
22827
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
22828
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
22238
22829
  fail ArgumentError, 'name is nil' if name.nil?
22239
22830
  fail ArgumentError, 'process_id is nil' if process_id.nil?
22240
22831
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -22368,6 +22959,9 @@ module Azure::Web::Mgmt::V2016_08_01
22368
22959
  #
22369
22960
  def get_instance_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, instance_id, base_address1, custom_headers = nil)
22370
22961
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
22962
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
22963
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
22964
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
22371
22965
  fail ArgumentError, 'name is nil' if name.nil?
22372
22966
  fail ArgumentError, 'process_id is nil' if process_id.nil?
22373
22967
  fail ArgumentError, 'base_address is nil' if base_address.nil?
@@ -22497,6 +23091,9 @@ module Azure::Web::Mgmt::V2016_08_01
22497
23091
  #
22498
23092
  def list_instance_process_threads_slot_async(resource_group_name, name, process_id, slot, instance_id, custom_headers = nil)
22499
23093
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
23094
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
23095
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
23096
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
22500
23097
  fail ArgumentError, 'name is nil' if name.nil?
22501
23098
  fail ArgumentError, 'process_id is nil' if process_id.nil?
22502
23099
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -22627,6 +23224,9 @@ module Azure::Web::Mgmt::V2016_08_01
22627
23224
  #
22628
23225
  def get_instance_process_thread_slot_async(resource_group_name, name, process_id, thread_id, slot, instance_id, custom_headers = nil)
22629
23226
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
23227
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
23228
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
23229
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
22630
23230
  fail ArgumentError, 'name is nil' if name.nil?
22631
23231
  fail ArgumentError, 'process_id is nil' if process_id.nil?
22632
23232
  fail ArgumentError, 'thread_id is nil' if thread_id.nil?
@@ -22737,6 +23337,9 @@ module Azure::Web::Mgmt::V2016_08_01
22737
23337
  #
22738
23338
  def is_cloneable_slot_async(resource_group_name, name, slot, custom_headers = nil)
22739
23339
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
23340
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
23341
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
23342
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
22740
23343
  fail ArgumentError, 'name is nil' if name.nil?
22741
23344
  fail ArgumentError, 'slot is nil' if slot.nil?
22742
23345
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -22844,6 +23447,9 @@ module Azure::Web::Mgmt::V2016_08_01
22844
23447
  #
22845
23448
  def list_sync_function_triggers_slot_async(resource_group_name, name, slot, custom_headers = nil)
22846
23449
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
23450
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
23451
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
23452
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
22847
23453
  fail ArgumentError, 'name is nil' if name.nil?
22848
23454
  fail ArgumentError, 'slot is nil' if slot.nil?
22849
23455
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -22951,6 +23557,9 @@ module Azure::Web::Mgmt::V2016_08_01
22951
23557
  #
22952
23558
  def list_metric_definitions_slot_async(resource_group_name, name, slot, custom_headers = nil)
22953
23559
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
23560
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
23561
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
23562
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
22954
23563
  fail ArgumentError, 'name is nil' if name.nil?
22955
23564
  fail ArgumentError, 'slot is nil' if slot.nil?
22956
23565
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -23076,6 +23685,9 @@ module Azure::Web::Mgmt::V2016_08_01
23076
23685
  #
23077
23686
  def list_metrics_slot_async(resource_group_name, name, slot, details = nil, filter = nil, custom_headers = nil)
23078
23687
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
23688
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
23689
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
23690
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
23079
23691
  fail ArgumentError, 'name is nil' if name.nil?
23080
23692
  fail ArgumentError, 'slot is nil' if slot.nil?
23081
23693
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -23187,6 +23799,9 @@ module Azure::Web::Mgmt::V2016_08_01
23187
23799
  #
23188
23800
  def get_migrate_my_sql_status_slot_async(resource_group_name, name, slot, custom_headers = nil)
23189
23801
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
23802
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
23803
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
23804
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
23190
23805
  fail ArgumentError, 'name is nil' if name.nil?
23191
23806
  fail ArgumentError, 'slot is nil' if slot.nil?
23192
23807
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -23300,6 +23915,9 @@ module Azure::Web::Mgmt::V2016_08_01
23300
23915
  #
23301
23916
  def list_network_features_slot_async(resource_group_name, name, view, slot, custom_headers = nil)
23302
23917
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
23918
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
23919
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
23920
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
23303
23921
  fail ArgumentError, 'name is nil' if name.nil?
23304
23922
  fail ArgumentError, 'view is nil' if view.nil?
23305
23923
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -23420,6 +24038,9 @@ module Azure::Web::Mgmt::V2016_08_01
23420
24038
  #
23421
24039
  def start_web_site_network_trace_slot_async(resource_group_name, name, slot, duration_in_seconds = nil, max_frame_length = nil, sas_url = nil, custom_headers = nil)
23422
24040
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
24041
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
24042
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
24043
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
23423
24044
  fail ArgumentError, 'name is nil' if name.nil?
23424
24045
  fail ArgumentError, 'slot is nil' if slot.nil?
23425
24046
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -23459,6 +24080,7 @@ module Azure::Web::Mgmt::V2016_08_01
23459
24080
  begin
23460
24081
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
23461
24082
  result_mapper = {
24083
+ client_side_validation: true,
23462
24084
  required: false,
23463
24085
  serialized_name: 'parsed_response',
23464
24086
  type: {
@@ -23530,6 +24152,9 @@ module Azure::Web::Mgmt::V2016_08_01
23530
24152
  #
23531
24153
  def stop_web_site_network_trace_slot_async(resource_group_name, name, slot, custom_headers = nil)
23532
24154
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
24155
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
24156
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
24157
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
23533
24158
  fail ArgumentError, 'name is nil' if name.nil?
23534
24159
  fail ArgumentError, 'slot is nil' if slot.nil?
23535
24160
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -23569,6 +24194,7 @@ module Azure::Web::Mgmt::V2016_08_01
23569
24194
  begin
23570
24195
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
23571
24196
  result_mapper = {
24197
+ client_side_validation: true,
23572
24198
  required: false,
23573
24199
  serialized_name: 'parsed_response',
23574
24200
  type: {
@@ -23648,6 +24274,9 @@ module Azure::Web::Mgmt::V2016_08_01
23648
24274
  #
23649
24275
  def generate_new_site_publishing_password_slot_async(resource_group_name, name, slot, custom_headers = nil)
23650
24276
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
24277
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
24278
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
24279
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
23651
24280
  fail ArgumentError, 'name is nil' if name.nil?
23652
24281
  fail ArgumentError, 'slot is nil' if slot.nil?
23653
24282
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -23757,6 +24386,9 @@ module Azure::Web::Mgmt::V2016_08_01
23757
24386
  #
23758
24387
  def list_perf_mon_counters_slot_async(resource_group_name, name, slot, filter = nil, custom_headers = nil)
23759
24388
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
24389
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
24390
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
24391
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
23760
24392
  fail ArgumentError, 'name is nil' if name.nil?
23761
24393
  fail ArgumentError, 'slot is nil' if slot.nil?
23762
24394
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -23865,6 +24497,9 @@ module Azure::Web::Mgmt::V2016_08_01
23865
24497
  #
23866
24498
  def get_site_php_error_log_flag_slot_async(resource_group_name, name, slot, custom_headers = nil)
23867
24499
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
24500
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
24501
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
24502
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
23868
24503
  fail ArgumentError, 'name is nil' if name.nil?
23869
24504
  fail ArgumentError, 'slot is nil' if slot.nil?
23870
24505
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -23972,6 +24607,9 @@ module Azure::Web::Mgmt::V2016_08_01
23972
24607
  #
23973
24608
  def list_premier_add_ons_slot_async(resource_group_name, name, slot, custom_headers = nil)
23974
24609
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
24610
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
24611
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
24612
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
23975
24613
  fail ArgumentError, 'name is nil' if name.nil?
23976
24614
  fail ArgumentError, 'slot is nil' if slot.nil?
23977
24615
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -24082,6 +24720,9 @@ module Azure::Web::Mgmt::V2016_08_01
24082
24720
  #
24083
24721
  def get_premier_add_on_slot_async(resource_group_name, name, premier_add_on_name, slot, custom_headers = nil)
24084
24722
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
24723
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
24724
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
24725
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
24085
24726
  fail ArgumentError, 'name is nil' if name.nil?
24086
24727
  fail ArgumentError, 'premier_add_on_name is nil' if premier_add_on_name.nil?
24087
24728
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -24199,6 +24840,9 @@ module Azure::Web::Mgmt::V2016_08_01
24199
24840
  #
24200
24841
  def add_premier_add_on_slot_async(resource_group_name, name, premier_add_on_name, premier_add_on, slot, custom_headers = nil)
24201
24842
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
24843
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
24844
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
24845
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
24202
24846
  fail ArgumentError, 'name is nil' if name.nil?
24203
24847
  fail ArgumentError, 'premier_add_on_name is nil' if premier_add_on_name.nil?
24204
24848
  fail ArgumentError, 'premier_add_on is nil' if premier_add_on.nil?
@@ -24319,6 +24963,9 @@ module Azure::Web::Mgmt::V2016_08_01
24319
24963
  #
24320
24964
  def delete_premier_add_on_slot_async(resource_group_name, name, premier_add_on_name, slot, custom_headers = nil)
24321
24965
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
24966
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
24967
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
24968
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
24322
24969
  fail ArgumentError, 'name is nil' if name.nil?
24323
24970
  fail ArgumentError, 'premier_add_on_name is nil' if premier_add_on_name.nil?
24324
24971
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -24423,6 +25070,9 @@ module Azure::Web::Mgmt::V2016_08_01
24423
25070
  #
24424
25071
  def list_processes_slot_async(resource_group_name, name, slot, custom_headers = nil)
24425
25072
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
25073
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
25074
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
25075
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
24426
25076
  fail ArgumentError, 'name is nil' if name.nil?
24427
25077
  fail ArgumentError, 'slot is nil' if slot.nil?
24428
25078
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -24539,6 +25189,9 @@ module Azure::Web::Mgmt::V2016_08_01
24539
25189
  #
24540
25190
  def get_process_slot_async(resource_group_name, name, process_id, slot, custom_headers = nil)
24541
25191
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
25192
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
25193
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
25194
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
24542
25195
  fail ArgumentError, 'name is nil' if name.nil?
24543
25196
  fail ArgumentError, 'process_id is nil' if process_id.nil?
24544
25197
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -24655,6 +25308,9 @@ module Azure::Web::Mgmt::V2016_08_01
24655
25308
  #
24656
25309
  def delete_process_slot_async(resource_group_name, name, process_id, slot, custom_headers = nil)
24657
25310
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
25311
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
25312
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
25313
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
24658
25314
  fail ArgumentError, 'name is nil' if name.nil?
24659
25315
  fail ArgumentError, 'process_id is nil' if process_id.nil?
24660
25316
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -24762,6 +25418,9 @@ module Azure::Web::Mgmt::V2016_08_01
24762
25418
  #
24763
25419
  def get_process_dump_slot_async(resource_group_name, name, process_id, slot, custom_headers = nil)
24764
25420
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
25421
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
25422
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
25423
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
24765
25424
  fail ArgumentError, 'name is nil' if name.nil?
24766
25425
  fail ArgumentError, 'process_id is nil' if process_id.nil?
24767
25426
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -24869,6 +25528,9 @@ module Azure::Web::Mgmt::V2016_08_01
24869
25528
  #
24870
25529
  def list_process_modules_slot_async(resource_group_name, name, process_id, slot, custom_headers = nil)
24871
25530
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
25531
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
25532
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
25533
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
24872
25534
  fail ArgumentError, 'name is nil' if name.nil?
24873
25535
  fail ArgumentError, 'process_id is nil' if process_id.nil?
24874
25536
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -24992,6 +25654,9 @@ module Azure::Web::Mgmt::V2016_08_01
24992
25654
  #
24993
25655
  def get_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, base_address1, custom_headers = nil)
24994
25656
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
25657
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
25658
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
25659
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
24995
25660
  fail ArgumentError, 'name is nil' if name.nil?
24996
25661
  fail ArgumentError, 'process_id is nil' if process_id.nil?
24997
25662
  fail ArgumentError, 'base_address is nil' if base_address.nil?
@@ -25111,6 +25776,9 @@ module Azure::Web::Mgmt::V2016_08_01
25111
25776
  #
25112
25777
  def list_process_threads_slot_async(resource_group_name, name, process_id, slot, custom_headers = nil)
25113
25778
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
25779
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
25780
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
25781
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
25114
25782
  fail ArgumentError, 'name is nil' if name.nil?
25115
25783
  fail ArgumentError, 'process_id is nil' if process_id.nil?
25116
25784
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -25231,6 +25899,9 @@ module Azure::Web::Mgmt::V2016_08_01
25231
25899
  #
25232
25900
  def get_process_thread_slot_async(resource_group_name, name, process_id, thread_id, slot, custom_headers = nil)
25233
25901
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
25902
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
25903
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
25904
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
25234
25905
  fail ArgumentError, 'name is nil' if name.nil?
25235
25906
  fail ArgumentError, 'process_id is nil' if process_id.nil?
25236
25907
  fail ArgumentError, 'thread_id is nil' if thread_id.nil?
@@ -25340,6 +26011,9 @@ module Azure::Web::Mgmt::V2016_08_01
25340
26011
  #
25341
26012
  def list_public_certificates_slot_async(resource_group_name, name, slot, custom_headers = nil)
25342
26013
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
26014
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
26015
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
26016
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
25343
26017
  fail ArgumentError, 'name is nil' if name.nil?
25344
26018
  fail ArgumentError, 'slot is nil' if slot.nil?
25345
26019
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -25456,6 +26130,9 @@ module Azure::Web::Mgmt::V2016_08_01
25456
26130
  #
25457
26131
  def get_public_certificate_slot_async(resource_group_name, name, slot, public_certificate_name, custom_headers = nil)
25458
26132
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
26133
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
26134
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
26135
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
25459
26136
  fail ArgumentError, 'name is nil' if name.nil?
25460
26137
  fail ArgumentError, 'slot is nil' if slot.nil?
25461
26138
  fail ArgumentError, 'public_certificate_name is nil' if public_certificate_name.nil?
@@ -25573,6 +26250,9 @@ module Azure::Web::Mgmt::V2016_08_01
25573
26250
  #
25574
26251
  def create_or_update_public_certificate_slot_async(resource_group_name, name, public_certificate_name, public_certificate, slot, custom_headers = nil)
25575
26252
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
26253
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
26254
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
26255
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
25576
26256
  fail ArgumentError, 'name is nil' if name.nil?
25577
26257
  fail ArgumentError, 'public_certificate_name is nil' if public_certificate_name.nil?
25578
26258
  fail ArgumentError, 'public_certificate is nil' if public_certificate.nil?
@@ -25693,6 +26373,9 @@ module Azure::Web::Mgmt::V2016_08_01
25693
26373
  #
25694
26374
  def delete_public_certificate_slot_async(resource_group_name, name, slot, public_certificate_name, custom_headers = nil)
25695
26375
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
26376
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
26377
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
26378
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
25696
26379
  fail ArgumentError, 'name is nil' if name.nil?
25697
26380
  fail ArgumentError, 'slot is nil' if slot.nil?
25698
26381
  fail ArgumentError, 'public_certificate_name is nil' if public_certificate_name.nil?
@@ -25800,6 +26483,9 @@ module Azure::Web::Mgmt::V2016_08_01
25800
26483
  #
25801
26484
  def list_publishing_profile_xml_with_secrets_slot_async(resource_group_name, name, publishing_profile_options, slot, custom_headers = nil)
25802
26485
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
26486
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
26487
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
26488
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
25803
26489
  fail ArgumentError, 'name is nil' if name.nil?
25804
26490
  fail ArgumentError, 'publishing_profile_options is nil' if publishing_profile_options.nil?
25805
26491
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -25849,6 +26535,7 @@ module Azure::Web::Mgmt::V2016_08_01
25849
26535
  begin
25850
26536
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
25851
26537
  result_mapper = {
26538
+ client_side_validation: true,
25852
26539
  required: false,
25853
26540
  serialized_name: 'parsed_response',
25854
26541
  type: {
@@ -25980,6 +26667,9 @@ module Azure::Web::Mgmt::V2016_08_01
25980
26667
  #
25981
26668
  def reset_slot_configuration_slot_async(resource_group_name, name, slot, custom_headers = nil)
25982
26669
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
26670
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
26671
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
26672
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
25983
26673
  fail ArgumentError, 'name is nil' if name.nil?
25984
26674
  fail ArgumentError, 'slot is nil' if slot.nil?
25985
26675
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -26094,6 +26784,9 @@ module Azure::Web::Mgmt::V2016_08_01
26094
26784
  #
26095
26785
  def restart_slot_async(resource_group_name, name, slot, soft_restart = nil, synchronous = nil, custom_headers = nil)
26096
26786
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
26787
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
26788
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
26789
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
26097
26790
  fail ArgumentError, 'name is nil' if name.nil?
26098
26791
  fail ArgumentError, 'slot is nil' if slot.nil?
26099
26792
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -26191,6 +26884,9 @@ module Azure::Web::Mgmt::V2016_08_01
26191
26884
  #
26192
26885
  def list_site_extensions_slot_async(resource_group_name, name, slot, custom_headers = nil)
26193
26886
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
26887
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
26888
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
26889
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
26194
26890
  fail ArgumentError, 'name is nil' if name.nil?
26195
26891
  fail ArgumentError, 'slot is nil' if slot.nil?
26196
26892
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -26310,6 +27006,9 @@ module Azure::Web::Mgmt::V2016_08_01
26310
27006
  #
26311
27007
  def get_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
26312
27008
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
27009
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
27010
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
27011
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
26313
27012
  fail ArgumentError, 'name is nil' if name.nil?
26314
27013
  fail ArgumentError, 'site_extension_id is nil' if site_extension_id.nil?
26315
27014
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -26478,6 +27177,9 @@ module Azure::Web::Mgmt::V2016_08_01
26478
27177
  #
26479
27178
  def delete_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
26480
27179
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
27180
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
27181
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
27182
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
26481
27183
  fail ArgumentError, 'name is nil' if name.nil?
26482
27184
  fail ArgumentError, 'site_extension_id is nil' if site_extension_id.nil?
26483
27185
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -26583,6 +27285,9 @@ module Azure::Web::Mgmt::V2016_08_01
26583
27285
  #
26584
27286
  def list_slot_differences_slot_async(resource_group_name, name, slot_swap_entity, slot, custom_headers = nil)
26585
27287
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
27288
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
27289
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
27290
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
26586
27291
  fail ArgumentError, 'name is nil' if name.nil?
26587
27292
  fail ArgumentError, 'slot_swap_entity is nil' if slot_swap_entity.nil?
26588
27293
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -26747,6 +27452,9 @@ module Azure::Web::Mgmt::V2016_08_01
26747
27452
  #
26748
27453
  def list_snapshots_slot_async(resource_group_name, name, slot, custom_headers = nil)
26749
27454
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
27455
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
27456
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
27457
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
26750
27458
  fail ArgumentError, 'name is nil' if name.nil?
26751
27459
  fail ArgumentError, 'slot is nil' if slot.nil?
26752
27460
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -26854,6 +27562,9 @@ module Azure::Web::Mgmt::V2016_08_01
26854
27562
  #
26855
27563
  def get_source_control_slot_async(resource_group_name, name, slot, custom_headers = nil)
26856
27564
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
27565
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
27566
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
27567
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
26857
27568
  fail ArgumentError, 'name is nil' if name.nil?
26858
27569
  fail ArgumentError, 'slot is nil' if slot.nil?
26859
27570
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -27014,6 +27725,9 @@ module Azure::Web::Mgmt::V2016_08_01
27014
27725
  #
27015
27726
  def delete_source_control_slot_async(resource_group_name, name, slot, custom_headers = nil)
27016
27727
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
27728
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
27729
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
27730
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
27017
27731
  fail ArgumentError, 'name is nil' if name.nil?
27018
27732
  fail ArgumentError, 'slot is nil' if slot.nil?
27019
27733
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -27110,6 +27824,9 @@ module Azure::Web::Mgmt::V2016_08_01
27110
27824
  #
27111
27825
  def start_slot_async(resource_group_name, name, slot, custom_headers = nil)
27112
27826
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
27827
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
27828
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
27829
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
27113
27830
  fail ArgumentError, 'name is nil' if name.nil?
27114
27831
  fail ArgumentError, 'slot is nil' if slot.nil?
27115
27832
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -27206,6 +27923,9 @@ module Azure::Web::Mgmt::V2016_08_01
27206
27923
  #
27207
27924
  def stop_slot_async(resource_group_name, name, slot, custom_headers = nil)
27208
27925
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
27926
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
27927
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
27928
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
27209
27929
  fail ArgumentError, 'name is nil' if name.nil?
27210
27930
  fail ArgumentError, 'slot is nil' if slot.nil?
27211
27931
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -27302,6 +28022,9 @@ module Azure::Web::Mgmt::V2016_08_01
27302
28022
  #
27303
28023
  def sync_repository_slot_async(resource_group_name, name, slot, custom_headers = nil)
27304
28024
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
28025
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
28026
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
28027
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
27305
28028
  fail ArgumentError, 'name is nil' if name.nil?
27306
28029
  fail ArgumentError, 'slot is nil' if slot.nil?
27307
28030
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -27398,6 +28121,9 @@ module Azure::Web::Mgmt::V2016_08_01
27398
28121
  #
27399
28122
  def sync_function_triggers_slot_async(resource_group_name, name, slot, custom_headers = nil)
27400
28123
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
28124
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
28125
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
28126
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
27401
28127
  fail ArgumentError, 'name is nil' if name.nil?
27402
28128
  fail ArgumentError, 'slot is nil' if slot.nil?
27403
28129
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -27495,6 +28221,9 @@ module Azure::Web::Mgmt::V2016_08_01
27495
28221
  #
27496
28222
  def list_triggered_web_jobs_slot_async(resource_group_name, name, slot, custom_headers = nil)
27497
28223
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
28224
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
28225
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
28226
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
27498
28227
  fail ArgumentError, 'name is nil' if name.nil?
27499
28228
  fail ArgumentError, 'slot is nil' if slot.nil?
27500
28229
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -27608,6 +28337,9 @@ module Azure::Web::Mgmt::V2016_08_01
27608
28337
  #
27609
28338
  def get_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
27610
28339
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
28340
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
28341
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
28342
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
27611
28343
  fail ArgumentError, 'name is nil' if name.nil?
27612
28344
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
27613
28345
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -27722,6 +28454,9 @@ module Azure::Web::Mgmt::V2016_08_01
27722
28454
  #
27723
28455
  def delete_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
27724
28456
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
28457
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
28458
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
28459
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
27725
28460
  fail ArgumentError, 'name is nil' if name.nil?
27726
28461
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
27727
28462
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -27827,6 +28562,9 @@ module Azure::Web::Mgmt::V2016_08_01
27827
28562
  #
27828
28563
  def list_triggered_web_job_history_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
27829
28564
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
28565
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
28566
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
28567
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
27830
28568
  fail ArgumentError, 'name is nil' if name.nil?
27831
28569
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
27832
28570
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -27951,6 +28689,9 @@ module Azure::Web::Mgmt::V2016_08_01
27951
28689
  #
27952
28690
  def get_triggered_web_job_history_slot_async(resource_group_name, name, web_job_id, id, slot, web_job_name, custom_headers = nil)
27953
28691
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
28692
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
28693
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
28694
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
27954
28695
  fail ArgumentError, 'name is nil' if name.nil?
27955
28696
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
27956
28697
  fail ArgumentError, 'id is nil' if id.nil?
@@ -28066,6 +28807,9 @@ module Azure::Web::Mgmt::V2016_08_01
28066
28807
  #
28067
28808
  def run_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
28068
28809
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
28810
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
28811
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
28812
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
28069
28813
  fail ArgumentError, 'name is nil' if name.nil?
28070
28814
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
28071
28815
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -28183,6 +28927,9 @@ module Azure::Web::Mgmt::V2016_08_01
28183
28927
  #
28184
28928
  def list_usages_slot_async(resource_group_name, name, slot, filter = nil, custom_headers = nil)
28185
28929
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
28930
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
28931
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
28932
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
28186
28933
  fail ArgumentError, 'name is nil' if name.nil?
28187
28934
  fail ArgumentError, 'slot is nil' if slot.nil?
28188
28935
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -28291,6 +29038,9 @@ module Azure::Web::Mgmt::V2016_08_01
28291
29038
  #
28292
29039
  def list_vnet_connections_slot_async(resource_group_name, name, slot, custom_headers = nil)
28293
29040
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
29041
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
29042
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
29043
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
28294
29044
  fail ArgumentError, 'name is nil' if name.nil?
28295
29045
  fail ArgumentError, 'slot is nil' if slot.nil?
28296
29046
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -28330,11 +29080,13 @@ module Azure::Web::Mgmt::V2016_08_01
28330
29080
  begin
28331
29081
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
28332
29082
  result_mapper = {
29083
+ client_side_validation: true,
28333
29084
  required: false,
28334
29085
  serialized_name: 'parsed_response',
28335
29086
  type: {
28336
29087
  name: 'Sequence',
28337
29088
  element: {
29089
+ client_side_validation: true,
28338
29090
  required: false,
28339
29091
  serialized_name: 'VnetInfoElementType',
28340
29092
  type: {
@@ -28415,6 +29167,9 @@ module Azure::Web::Mgmt::V2016_08_01
28415
29167
  #
28416
29168
  def get_vnet_connection_slot_async(resource_group_name, name, vnet_name, slot, custom_headers = nil)
28417
29169
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
29170
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
29171
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
29172
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
28418
29173
  fail ArgumentError, 'name is nil' if name.nil?
28419
29174
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
28420
29175
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -28538,6 +29293,9 @@ module Azure::Web::Mgmt::V2016_08_01
28538
29293
  #
28539
29294
  def create_or_update_vnet_connection_slot_async(resource_group_name, name, vnet_name, connection_envelope, slot, custom_headers = nil)
28540
29295
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
29296
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
29297
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
29298
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
28541
29299
  fail ArgumentError, 'name is nil' if name.nil?
28542
29300
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
28543
29301
  fail ArgumentError, 'connection_envelope is nil' if connection_envelope.nil?
@@ -28664,6 +29422,9 @@ module Azure::Web::Mgmt::V2016_08_01
28664
29422
  #
28665
29423
  def delete_vnet_connection_slot_async(resource_group_name, name, vnet_name, slot, custom_headers = nil)
28666
29424
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
29425
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
29426
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
29427
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
28667
29428
  fail ArgumentError, 'name is nil' if name.nil?
28668
29429
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
28669
29430
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -28777,6 +29538,9 @@ module Azure::Web::Mgmt::V2016_08_01
28777
29538
  #
28778
29539
  def update_vnet_connection_slot_async(resource_group_name, name, vnet_name, connection_envelope, slot, custom_headers = nil)
28779
29540
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
29541
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
29542
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
29543
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
28780
29544
  fail ArgumentError, 'name is nil' if name.nil?
28781
29545
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
28782
29546
  fail ArgumentError, 'connection_envelope is nil' if connection_envelope.nil?
@@ -28904,6 +29668,9 @@ module Azure::Web::Mgmt::V2016_08_01
28904
29668
  #
28905
29669
  def get_vnet_connection_gateway_slot_async(resource_group_name, name, vnet_name, gateway_name, slot, custom_headers = nil)
28906
29670
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
29671
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
29672
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
29673
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
28907
29674
  fail ArgumentError, 'name is nil' if name.nil?
28908
29675
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
28909
29676
  fail ArgumentError, 'gateway_name is nil' if gateway_name.nil?
@@ -29031,6 +29798,9 @@ module Azure::Web::Mgmt::V2016_08_01
29031
29798
  #
29032
29799
  def create_or_update_vnet_connection_gateway_slot_async(resource_group_name, name, vnet_name, gateway_name, connection_envelope, slot, custom_headers = nil)
29033
29800
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
29801
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
29802
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
29803
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
29034
29804
  fail ArgumentError, 'name is nil' if name.nil?
29035
29805
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
29036
29806
  fail ArgumentError, 'gateway_name is nil' if gateway_name.nil?
@@ -29168,6 +29938,9 @@ module Azure::Web::Mgmt::V2016_08_01
29168
29938
  #
29169
29939
  def update_vnet_connection_gateway_slot_async(resource_group_name, name, vnet_name, gateway_name, connection_envelope, slot, custom_headers = nil)
29170
29940
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
29941
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
29942
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
29943
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
29171
29944
  fail ArgumentError, 'name is nil' if name.nil?
29172
29945
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
29173
29946
  fail ArgumentError, 'gateway_name is nil' if gateway_name.nil?
@@ -29287,6 +30060,9 @@ module Azure::Web::Mgmt::V2016_08_01
29287
30060
  #
29288
30061
  def list_web_jobs_slot_async(resource_group_name, name, slot, custom_headers = nil)
29289
30062
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
30063
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
30064
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
30065
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
29290
30066
  fail ArgumentError, 'name is nil' if name.nil?
29291
30067
  fail ArgumentError, 'slot is nil' if slot.nil?
29292
30068
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -29397,6 +30173,9 @@ module Azure::Web::Mgmt::V2016_08_01
29397
30173
  #
29398
30174
  def get_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers = nil)
29399
30175
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
30176
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
30177
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
30178
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
29400
30179
  fail ArgumentError, 'name is nil' if name.nil?
29401
30180
  fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
29402
30181
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -29505,6 +30284,9 @@ module Azure::Web::Mgmt::V2016_08_01
29505
30284
  #
29506
30285
  def list_slot_differences_from_production_async(resource_group_name, name, slot_swap_entity, custom_headers = nil)
29507
30286
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
30287
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
30288
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
30289
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
29508
30290
  fail ArgumentError, 'name is nil' if name.nil?
29509
30291
  fail ArgumentError, 'slot_swap_entity is nil' if slot_swap_entity.nil?
29510
30292
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -29661,6 +30443,9 @@ module Azure::Web::Mgmt::V2016_08_01
29661
30443
  #
29662
30444
  def list_snapshots_async(resource_group_name, name, custom_headers = nil)
29663
30445
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
30446
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
30447
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
30448
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
29664
30449
  fail ArgumentError, 'name is nil' if name.nil?
29665
30450
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
29666
30451
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -29761,6 +30546,9 @@ module Azure::Web::Mgmt::V2016_08_01
29761
30546
  #
29762
30547
  def get_source_control_async(resource_group_name, name, custom_headers = nil)
29763
30548
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
30549
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
30550
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
30551
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
29764
30552
  fail ArgumentError, 'name is nil' if name.nil?
29765
30553
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
29766
30554
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -29910,6 +30698,9 @@ module Azure::Web::Mgmt::V2016_08_01
29910
30698
  #
29911
30699
  def delete_source_control_async(resource_group_name, name, custom_headers = nil)
29912
30700
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
30701
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
30702
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
30703
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
29913
30704
  fail ArgumentError, 'name is nil' if name.nil?
29914
30705
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
29915
30706
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -29999,6 +30790,9 @@ module Azure::Web::Mgmt::V2016_08_01
29999
30790
  #
30000
30791
  def start_async(resource_group_name, name, custom_headers = nil)
30001
30792
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
30793
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
30794
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
30795
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
30002
30796
  fail ArgumentError, 'name is nil' if name.nil?
30003
30797
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
30004
30798
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -30088,6 +30882,9 @@ module Azure::Web::Mgmt::V2016_08_01
30088
30882
  #
30089
30883
  def stop_async(resource_group_name, name, custom_headers = nil)
30090
30884
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
30885
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
30886
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
30887
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
30091
30888
  fail ArgumentError, 'name is nil' if name.nil?
30092
30889
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
30093
30890
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -30177,6 +30974,9 @@ module Azure::Web::Mgmt::V2016_08_01
30177
30974
  #
30178
30975
  def sync_repository_async(resource_group_name, name, custom_headers = nil)
30179
30976
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
30977
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
30978
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
30979
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
30180
30980
  fail ArgumentError, 'name is nil' if name.nil?
30181
30981
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
30182
30982
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -30266,6 +31066,9 @@ module Azure::Web::Mgmt::V2016_08_01
30266
31066
  #
30267
31067
  def sync_function_triggers_async(resource_group_name, name, custom_headers = nil)
30268
31068
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
31069
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
31070
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
31071
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
30269
31072
  fail ArgumentError, 'name is nil' if name.nil?
30270
31073
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
30271
31074
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -30356,6 +31159,9 @@ module Azure::Web::Mgmt::V2016_08_01
30356
31159
  #
30357
31160
  def list_triggered_web_jobs_async(resource_group_name, name, custom_headers = nil)
30358
31161
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
31162
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
31163
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
31164
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
30359
31165
  fail ArgumentError, 'name is nil' if name.nil?
30360
31166
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
30361
31167
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -30462,6 +31268,9 @@ module Azure::Web::Mgmt::V2016_08_01
30462
31268
  #
30463
31269
  def get_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
30464
31270
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
31271
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
31272
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
31273
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
30465
31274
  fail ArgumentError, 'name is nil' if name.nil?
30466
31275
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
30467
31276
  fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
@@ -30569,6 +31378,9 @@ module Azure::Web::Mgmt::V2016_08_01
30569
31378
  #
30570
31379
  def delete_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
30571
31380
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
31381
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
31382
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
31383
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
30572
31384
  fail ArgumentError, 'name is nil' if name.nil?
30573
31385
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
30574
31386
  fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
@@ -30667,6 +31479,9 @@ module Azure::Web::Mgmt::V2016_08_01
30667
31479
  #
30668
31480
  def list_triggered_web_job_history_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
30669
31481
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
31482
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
31483
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
31484
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
30670
31485
  fail ArgumentError, 'name is nil' if name.nil?
30671
31486
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
30672
31487
  fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
@@ -30784,6 +31599,9 @@ module Azure::Web::Mgmt::V2016_08_01
30784
31599
  #
30785
31600
  def get_triggered_web_job_history_async(resource_group_name, name, web_job_id, id, web_job_name, custom_headers = nil)
30786
31601
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
31602
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
31603
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
31604
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
30787
31605
  fail ArgumentError, 'name is nil' if name.nil?
30788
31606
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
30789
31607
  fail ArgumentError, 'id is nil' if id.nil?
@@ -30892,6 +31710,9 @@ module Azure::Web::Mgmt::V2016_08_01
30892
31710
  #
30893
31711
  def run_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
30894
31712
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
31713
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
31714
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
31715
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
30895
31716
  fail ArgumentError, 'name is nil' if name.nil?
30896
31717
  fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
30897
31718
  fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
@@ -31002,6 +31823,9 @@ module Azure::Web::Mgmt::V2016_08_01
31002
31823
  #
31003
31824
  def list_usages_async(resource_group_name, name, filter = nil, custom_headers = nil)
31004
31825
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
31826
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
31827
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
31828
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
31005
31829
  fail ArgumentError, 'name is nil' if name.nil?
31006
31830
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
31007
31831
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -31103,6 +31927,9 @@ module Azure::Web::Mgmt::V2016_08_01
31103
31927
  #
31104
31928
  def list_vnet_connections_async(resource_group_name, name, custom_headers = nil)
31105
31929
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
31930
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
31931
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
31932
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
31106
31933
  fail ArgumentError, 'name is nil' if name.nil?
31107
31934
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
31108
31935
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -31141,11 +31968,13 @@ module Azure::Web::Mgmt::V2016_08_01
31141
31968
  begin
31142
31969
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
31143
31970
  result_mapper = {
31971
+ client_side_validation: true,
31144
31972
  required: false,
31145
31973
  serialized_name: 'parsed_response',
31146
31974
  type: {
31147
31975
  name: 'Sequence',
31148
31976
  element: {
31977
+ client_side_validation: true,
31149
31978
  required: false,
31150
31979
  serialized_name: 'VnetInfoElementType',
31151
31980
  type: {
@@ -31220,6 +32049,9 @@ module Azure::Web::Mgmt::V2016_08_01
31220
32049
  #
31221
32050
  def get_vnet_connection_async(resource_group_name, name, vnet_name, custom_headers = nil)
31222
32051
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
32052
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
32053
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
32054
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
31223
32055
  fail ArgumentError, 'name is nil' if name.nil?
31224
32056
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
31225
32057
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -31336,6 +32168,9 @@ module Azure::Web::Mgmt::V2016_08_01
31336
32168
  #
31337
32169
  def create_or_update_vnet_connection_async(resource_group_name, name, vnet_name, connection_envelope, custom_headers = nil)
31338
32170
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
32171
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
32172
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
32173
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
31339
32174
  fail ArgumentError, 'name is nil' if name.nil?
31340
32175
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
31341
32176
  fail ArgumentError, 'connection_envelope is nil' if connection_envelope.nil?
@@ -31455,6 +32290,9 @@ module Azure::Web::Mgmt::V2016_08_01
31455
32290
  #
31456
32291
  def delete_vnet_connection_async(resource_group_name, name, vnet_name, custom_headers = nil)
31457
32292
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
32293
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
32294
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
32295
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
31458
32296
  fail ArgumentError, 'name is nil' if name.nil?
31459
32297
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
31460
32298
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -31561,6 +32399,9 @@ module Azure::Web::Mgmt::V2016_08_01
31561
32399
  #
31562
32400
  def update_vnet_connection_async(resource_group_name, name, vnet_name, connection_envelope, custom_headers = nil)
31563
32401
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
32402
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
32403
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
32404
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
31564
32405
  fail ArgumentError, 'name is nil' if name.nil?
31565
32406
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
31566
32407
  fail ArgumentError, 'connection_envelope is nil' if connection_envelope.nil?
@@ -31681,6 +32522,9 @@ module Azure::Web::Mgmt::V2016_08_01
31681
32522
  #
31682
32523
  def get_vnet_connection_gateway_async(resource_group_name, name, vnet_name, gateway_name, custom_headers = nil)
31683
32524
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
32525
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
32526
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
32527
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
31684
32528
  fail ArgumentError, 'name is nil' if name.nil?
31685
32529
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
31686
32530
  fail ArgumentError, 'gateway_name is nil' if gateway_name.nil?
@@ -31798,6 +32642,9 @@ module Azure::Web::Mgmt::V2016_08_01
31798
32642
  #
31799
32643
  def create_or_update_vnet_connection_gateway_async(resource_group_name, name, vnet_name, gateway_name, connection_envelope, custom_headers = nil)
31800
32644
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
32645
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
32646
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
32647
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
31801
32648
  fail ArgumentError, 'name is nil' if name.nil?
31802
32649
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
31803
32650
  fail ArgumentError, 'gateway_name is nil' if gateway_name.nil?
@@ -31925,6 +32772,9 @@ module Azure::Web::Mgmt::V2016_08_01
31925
32772
  #
31926
32773
  def update_vnet_connection_gateway_async(resource_group_name, name, vnet_name, gateway_name, connection_envelope, custom_headers = nil)
31927
32774
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
32775
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
32776
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
32777
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
31928
32778
  fail ArgumentError, 'name is nil' if name.nil?
31929
32779
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
31930
32780
  fail ArgumentError, 'gateway_name is nil' if gateway_name.nil?
@@ -32037,6 +32887,9 @@ module Azure::Web::Mgmt::V2016_08_01
32037
32887
  #
32038
32888
  def list_web_jobs_async(resource_group_name, name, custom_headers = nil)
32039
32889
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
32890
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
32891
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
32892
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
32040
32893
  fail ArgumentError, 'name is nil' if name.nil?
32041
32894
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
32042
32895
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -32140,6 +32993,9 @@ module Azure::Web::Mgmt::V2016_08_01
32140
32993
  #
32141
32994
  def get_web_job_async(resource_group_name, name, web_job_name, custom_headers = nil)
32142
32995
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
32996
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
32997
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
32998
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
32143
32999
  fail ArgumentError, 'name is nil' if name.nil?
32144
33000
  fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
32145
33001
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -32283,6 +33139,9 @@ module Azure::Web::Mgmt::V2016_08_01
32283
33139
  #
32284
33140
  def begin_create_or_update_async(resource_group_name, name, site_envelope, skip_dns_registration = nil, skip_custom_domain_verification = nil, force_dns_registration = nil, ttl_in_seconds = nil, custom_headers = nil)
32285
33141
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
33142
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
33143
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
33144
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
32286
33145
  fail ArgumentError, 'name is nil' if name.nil?
32287
33146
  fail ArgumentError, 'site_envelope is nil' if site_envelope.nil?
32288
33147
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -32409,6 +33268,9 @@ module Azure::Web::Mgmt::V2016_08_01
32409
33268
  #
32410
33269
  def begin_restore_async(resource_group_name, name, backup_id, request, custom_headers = nil)
32411
33270
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
33271
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
33272
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
33273
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
32412
33274
  fail ArgumentError, 'name is nil' if name.nil?
32413
33275
  fail ArgumentError, 'backup_id is nil' if backup_id.nil?
32414
33276
  fail ArgumentError, 'request is nil' if request.nil?
@@ -32520,6 +33382,9 @@ module Azure::Web::Mgmt::V2016_08_01
32520
33382
  #
32521
33383
  def begin_list_publishing_credentials_async(resource_group_name, name, custom_headers = nil)
32522
33384
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
33385
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
33386
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
33387
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
32523
33388
  fail ArgumentError, 'name is nil' if name.nil?
32524
33389
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
32525
33390
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -32623,6 +33488,9 @@ module Azure::Web::Mgmt::V2016_08_01
32623
33488
  #
32624
33489
  def begin_create_msdeploy_operation_async(resource_group_name, name, msdeploy, custom_headers = nil)
32625
33490
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
33491
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
33492
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
33493
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
32626
33494
  fail ArgumentError, 'name is nil' if name.nil?
32627
33495
  fail ArgumentError, 'msdeploy is nil' if msdeploy.nil?
32628
33496
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -32739,6 +33607,9 @@ module Azure::Web::Mgmt::V2016_08_01
32739
33607
  #
32740
33608
  def begin_create_function_async(resource_group_name, name, function_name, function_envelope, custom_headers = nil)
32741
33609
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
33610
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
33611
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
33612
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
32742
33613
  fail ArgumentError, 'name is nil' if name.nil?
32743
33614
  fail ArgumentError, 'function_name is nil' if function_name.nil?
32744
33615
  fail ArgumentError, 'function_envelope is nil' if function_envelope.nil?
@@ -32856,6 +33727,9 @@ module Azure::Web::Mgmt::V2016_08_01
32856
33727
  #
32857
33728
  def begin_create_instance_msdeploy_operation_async(resource_group_name, name, instance_id, msdeploy, custom_headers = nil)
32858
33729
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
33730
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
33731
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
33732
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
32859
33733
  fail ArgumentError, 'name is nil' if name.nil?
32860
33734
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
32861
33735
  fail ArgumentError, 'msdeploy is nil' if msdeploy.nil?
@@ -32977,6 +33851,9 @@ module Azure::Web::Mgmt::V2016_08_01
32977
33851
  def begin_migrate_storage_async(subscription_name, resource_group_name, name, migration_options, custom_headers = nil)
32978
33852
  fail ArgumentError, 'subscription_name is nil' if subscription_name.nil?
32979
33853
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
33854
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
33855
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
33856
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
32980
33857
  fail ArgumentError, 'name is nil' if name.nil?
32981
33858
  fail ArgumentError, 'migration_options is nil' if migration_options.nil?
32982
33859
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -33093,6 +33970,9 @@ module Azure::Web::Mgmt::V2016_08_01
33093
33970
  #
33094
33971
  def begin_migrate_my_sql_async(resource_group_name, name, migration_request_envelope, custom_headers = nil)
33095
33972
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
33973
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
33974
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
33975
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
33096
33976
  fail ArgumentError, 'name is nil' if name.nil?
33097
33977
  fail ArgumentError, 'migration_request_envelope is nil' if migration_request_envelope.nil?
33098
33978
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -33211,6 +34091,9 @@ module Azure::Web::Mgmt::V2016_08_01
33211
34091
  #
33212
34092
  def begin_recover_async(resource_group_name, name, recovery_entity, custom_headers = nil)
33213
34093
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
34094
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
34095
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
34096
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
33214
34097
  fail ArgumentError, 'name is nil' if name.nil?
33215
34098
  fail ArgumentError, 'recovery_entity is nil' if recovery_entity.nil?
33216
34099
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -33317,6 +34200,9 @@ module Azure::Web::Mgmt::V2016_08_01
33317
34200
  #
33318
34201
  def begin_install_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
33319
34202
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
34203
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
34204
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
34205
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
33320
34206
  fail ArgumentError, 'name is nil' if name.nil?
33321
34207
  fail ArgumentError, 'site_extension_id is nil' if site_extension_id.nil?
33322
34208
  fail ArgumentError, 'extension_name is nil' if extension_name.nil?
@@ -33477,6 +34363,9 @@ module Azure::Web::Mgmt::V2016_08_01
33477
34363
  #
33478
34364
  def begin_create_or_update_slot_async(resource_group_name, name, site_envelope, slot, skip_dns_registration = nil, skip_custom_domain_verification = nil, force_dns_registration = nil, ttl_in_seconds = nil, custom_headers = nil)
33479
34365
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
34366
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
34367
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
34368
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
33480
34369
  fail ArgumentError, 'name is nil' if name.nil?
33481
34370
  fail ArgumentError, 'site_envelope is nil' if site_envelope.nil?
33482
34371
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -33610,6 +34499,9 @@ module Azure::Web::Mgmt::V2016_08_01
33610
34499
  #
33611
34500
  def begin_restore_slot_async(resource_group_name, name, backup_id, request, slot, custom_headers = nil)
33612
34501
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
34502
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
34503
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
34504
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
33613
34505
  fail ArgumentError, 'name is nil' if name.nil?
33614
34506
  fail ArgumentError, 'backup_id is nil' if backup_id.nil?
33615
34507
  fail ArgumentError, 'request is nil' if request.nil?
@@ -33728,6 +34620,9 @@ module Azure::Web::Mgmt::V2016_08_01
33728
34620
  #
33729
34621
  def begin_list_publishing_credentials_slot_async(resource_group_name, name, slot, custom_headers = nil)
33730
34622
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
34623
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
34624
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
34625
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
33731
34626
  fail ArgumentError, 'name is nil' if name.nil?
33732
34627
  fail ArgumentError, 'slot is nil' if slot.nil?
33733
34628
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -33838,6 +34733,9 @@ module Azure::Web::Mgmt::V2016_08_01
33838
34733
  #
33839
34734
  def begin_create_msdeploy_operation_slot_async(resource_group_name, name, slot, msdeploy, custom_headers = nil)
33840
34735
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
34736
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
34737
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
34738
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
33841
34739
  fail ArgumentError, 'name is nil' if name.nil?
33842
34740
  fail ArgumentError, 'slot is nil' if slot.nil?
33843
34741
  fail ArgumentError, 'msdeploy is nil' if msdeploy.nil?
@@ -33961,6 +34859,9 @@ module Azure::Web::Mgmt::V2016_08_01
33961
34859
  #
33962
34860
  def begin_create_instance_function_slot_async(resource_group_name, name, function_name, slot, function_envelope, custom_headers = nil)
33963
34861
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
34862
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
34863
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
34864
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
33964
34865
  fail ArgumentError, 'name is nil' if name.nil?
33965
34866
  fail ArgumentError, 'function_name is nil' if function_name.nil?
33966
34867
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -34085,6 +34986,9 @@ module Azure::Web::Mgmt::V2016_08_01
34085
34986
  #
34086
34987
  def begin_create_instance_msdeploy_operation_slot_async(resource_group_name, name, slot, instance_id, msdeploy, custom_headers = nil)
34087
34988
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
34989
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
34990
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
34991
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
34088
34992
  fail ArgumentError, 'name is nil' if name.nil?
34089
34993
  fail ArgumentError, 'slot is nil' if slot.nil?
34090
34994
  fail ArgumentError, 'instance_id is nil' if instance_id.nil?
@@ -34211,6 +35115,9 @@ module Azure::Web::Mgmt::V2016_08_01
34211
35115
  #
34212
35116
  def begin_recover_slot_async(resource_group_name, name, recovery_entity, slot, custom_headers = nil)
34213
35117
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
35118
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
35119
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
35120
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
34214
35121
  fail ArgumentError, 'name is nil' if name.nil?
34215
35122
  fail ArgumentError, 'recovery_entity is nil' if recovery_entity.nil?
34216
35123
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -34324,6 +35231,9 @@ module Azure::Web::Mgmt::V2016_08_01
34324
35231
  #
34325
35232
  def begin_install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
34326
35233
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
35234
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
35235
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
35236
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
34327
35237
  fail ArgumentError, 'name is nil' if name.nil?
34328
35238
  fail ArgumentError, 'site_extension_id is nil' if site_extension_id.nil?
34329
35239
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -34448,6 +35358,9 @@ module Azure::Web::Mgmt::V2016_08_01
34448
35358
  #
34449
35359
  def begin_swap_slot_slot_async(resource_group_name, name, slot_swap_entity, slot, custom_headers = nil)
34450
35360
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
35361
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
35362
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
35363
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
34451
35364
  fail ArgumentError, 'name is nil' if name.nil?
34452
35365
  fail ArgumentError, 'slot_swap_entity is nil' if slot_swap_entity.nil?
34453
35366
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -34561,6 +35474,9 @@ module Azure::Web::Mgmt::V2016_08_01
34561
35474
  #
34562
35475
  def begin_create_or_update_source_control_slot_async(resource_group_name, name, site_source_control, slot, custom_headers = nil)
34563
35476
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
35477
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
35478
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
35479
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
34564
35480
  fail ArgumentError, 'name is nil' if name.nil?
34565
35481
  fail ArgumentError, 'site_source_control is nil' if site_source_control.nil?
34566
35482
  fail ArgumentError, 'slot is nil' if slot.nil?
@@ -34687,6 +35603,9 @@ module Azure::Web::Mgmt::V2016_08_01
34687
35603
  #
34688
35604
  def begin_swap_slot_with_production_async(resource_group_name, name, slot_swap_entity, custom_headers = nil)
34689
35605
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
35606
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
35607
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
35608
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
34690
35609
  fail ArgumentError, 'name is nil' if name.nil?
34691
35610
  fail ArgumentError, 'slot_swap_entity is nil' if slot_swap_entity.nil?
34692
35611
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -34793,6 +35712,9 @@ module Azure::Web::Mgmt::V2016_08_01
34793
35712
  #
34794
35713
  def begin_create_or_update_source_control_async(resource_group_name, name, site_source_control, custom_headers = nil)
34795
35714
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
35715
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
35716
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
35717
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+[^\.]$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+[^\.]$$')).nil?
34796
35718
  fail ArgumentError, 'name is nil' if name.nil?
34797
35719
  fail ArgumentError, 'site_source_control is nil' if site_source_control.nil?
34798
35720
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?