azure_mgmt_web 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (225) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_web.rb +155 -145
  3. data/lib/generated/azure_mgmt_web/{certificate_orders.rb → app_service_certificate_orders.rb} +806 -530
  4. data/lib/generated/azure_mgmt_web/{hosting_environments.rb → app_service_environments.rb} +2528 -2077
  5. data/lib/generated/azure_mgmt_web/{server_farms.rb → app_service_plans.rb} +1964 -763
  6. data/lib/generated/azure_mgmt_web/certificates.rb +379 -105
  7. data/lib/generated/azure_mgmt_web/domains.rb +924 -249
  8. data/lib/generated/azure_mgmt_web/models/access_control_entry_action.rb +1 -1
  9. data/lib/generated/azure_mgmt_web/models/address.rb +1 -1
  10. data/lib/generated/azure_mgmt_web/models/address_response.rb +1 -1
  11. data/lib/generated/azure_mgmt_web/models/api_definition_info.rb +1 -1
  12. data/lib/generated/azure_mgmt_web/models/{certificate_order_certificate.rb → app_service_certificate.rb} +11 -9
  13. data/lib/generated/azure_mgmt_web/models/app_service_certificate_collection.rb +93 -0
  14. data/lib/generated/azure_mgmt_web/models/{certificate_order.rb → app_service_certificate_order.rb} +23 -12
  15. data/lib/generated/azure_mgmt_web/models/{classic_mobile_service_collection.rb → app_service_certificate_order_collection.rb} +11 -11
  16. data/lib/generated/azure_mgmt_web/models/{hosting_environment.rb → app_service_environment.rb} +50 -28
  17. data/lib/generated/azure_mgmt_web/models/{hosting_environment_collection.rb → app_service_environment_collection.rb} +10 -10
  18. data/lib/generated/azure_mgmt_web/models/{server_farm_with_rich_sku.rb → app_service_plan.rb} +13 -27
  19. data/lib/generated/azure_mgmt_web/models/{server_farm_collection.rb → app_service_plan_collection.rb} +10 -10
  20. data/lib/generated/azure_mgmt_web/models/application_logs_config.rb +1 -1
  21. data/lib/generated/azure_mgmt_web/models/arm_plan.rb +1 -1
  22. data/lib/generated/azure_mgmt_web/models/auto_heal_action_type.rb +1 -1
  23. data/lib/generated/azure_mgmt_web/models/auto_heal_actions.rb +1 -1
  24. data/lib/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +1 -1
  25. data/lib/generated/azure_mgmt_web/models/auto_heal_rules.rb +1 -1
  26. data/lib/generated/azure_mgmt_web/models/auto_heal_triggers.rb +3 -3
  27. data/lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +1 -1
  28. data/lib/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +1 -1
  29. data/lib/generated/azure_mgmt_web/models/azure_resource_type.rb +1 -1
  30. data/lib/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +1 -1
  31. data/lib/generated/azure_mgmt_web/models/backup_item.rb +5 -5
  32. data/lib/generated/azure_mgmt_web/models/backup_item_collection.rb +1 -1
  33. data/lib/generated/azure_mgmt_web/models/backup_item_status.rb +1 -1
  34. data/lib/generated/azure_mgmt_web/models/backup_request.rb +4 -4
  35. data/lib/generated/azure_mgmt_web/models/backup_restore_operation_type.rb +1 -1
  36. data/lib/generated/azure_mgmt_web/models/backup_schedule.rb +3 -3
  37. data/lib/generated/azure_mgmt_web/models/built_in_authentication_provider.rb +1 -1
  38. data/lib/generated/azure_mgmt_web/models/{conn_string_info.rb → capability.rb} +17 -19
  39. data/lib/generated/azure_mgmt_web/models/certificate.rb +3 -2
  40. data/lib/generated/azure_mgmt_web/models/certificate_collection.rb +1 -1
  41. data/lib/generated/azure_mgmt_web/models/certificate_details.rb +3 -2
  42. data/lib/generated/azure_mgmt_web/models/certificate_email.rb +3 -2
  43. data/lib/generated/azure_mgmt_web/models/certificate_order_action.rb +3 -2
  44. data/lib/generated/azure_mgmt_web/models/certificate_order_action_type.rb +1 -1
  45. data/lib/generated/azure_mgmt_web/models/certificate_order_status.rb +1 -1
  46. data/lib/generated/azure_mgmt_web/models/certificate_product_type.rb +1 -1
  47. data/lib/generated/azure_mgmt_web/models/channels.rb +1 -1
  48. data/lib/generated/azure_mgmt_web/models/check_name_resource_types.rb +17 -0
  49. data/lib/generated/azure_mgmt_web/models/classic_mobile_service.rb +3 -2
  50. data/lib/generated/azure_mgmt_web/models/clone_ability_result.rb +1 -1
  51. data/lib/generated/azure_mgmt_web/models/cloning_info.rb +6 -6
  52. data/lib/generated/azure_mgmt_web/models/compute_mode_options.rb +1 -1
  53. data/lib/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +5 -4
  54. data/lib/generated/azure_mgmt_web/models/connection_string_dictionary.rb +3 -2
  55. data/lib/generated/azure_mgmt_web/models/connection_string_type.rb +24 -0
  56. data/lib/generated/azure_mgmt_web/models/contact.rb +1 -1
  57. data/lib/generated/azure_mgmt_web/models/cors_settings.rb +4 -5
  58. data/lib/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +1 -1
  59. data/lib/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +1 -1
  60. data/lib/generated/azure_mgmt_web/models/csm_site_recovery_entity.rb +4 -4
  61. data/lib/generated/azure_mgmt_web/models/csm_slot_entity.rb +1 -1
  62. data/lib/generated/azure_mgmt_web/models/csm_usage_quota.rb +1 -1
  63. data/lib/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +1 -1
  64. data/lib/generated/azure_mgmt_web/models/csr.rb +3 -2
  65. data/lib/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +1 -1
  66. data/lib/generated/azure_mgmt_web/models/custom_hostname_analysis_result.rb +238 -0
  67. data/lib/generated/azure_mgmt_web/models/database_backup_setting.rb +3 -5
  68. data/lib/generated/azure_mgmt_web/models/deleted_site.rb +48 -41
  69. data/lib/generated/azure_mgmt_web/models/{deleted_site_collection.rb → deleted_web_app_collection.rb} +6 -6
  70. data/lib/generated/azure_mgmt_web/models/deployment.rb +3 -2
  71. data/lib/generated/azure_mgmt_web/models/deployment_collection.rb +1 -1
  72. data/lib/generated/azure_mgmt_web/models/dns_verification_test_result.rb +17 -0
  73. data/lib/generated/azure_mgmt_web/models/domain.rb +7 -7
  74. data/lib/generated/azure_mgmt_web/models/domain_availablility_check_result.rb +1 -1
  75. data/lib/generated/azure_mgmt_web/models/domain_collection.rb +1 -1
  76. data/lib/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +1 -1
  77. data/lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb +1 -1
  78. data/lib/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +1 -1
  79. data/lib/generated/azure_mgmt_web/models/domain_registration_input.rb +7 -7
  80. data/lib/generated/azure_mgmt_web/models/domain_status.rb +1 -1
  81. data/lib/generated/azure_mgmt_web/models/domain_type.rb +1 -1
  82. data/lib/generated/azure_mgmt_web/models/enabled_config.rb +1 -1
  83. data/lib/generated/azure_mgmt_web/models/error_entity.rb +109 -0
  84. data/lib/generated/azure_mgmt_web/models/experiments.rb +1 -1
  85. data/lib/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +1 -1
  86. data/lib/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +2 -3
  87. data/lib/generated/azure_mgmt_web/models/frequency_unit.rb +1 -1
  88. data/lib/generated/azure_mgmt_web/models/geo_region.rb +3 -2
  89. data/lib/generated/azure_mgmt_web/models/geo_region_collection.rb +1 -1
  90. data/lib/generated/azure_mgmt_web/models/handler_mapping.rb +5 -5
  91. data/lib/generated/azure_mgmt_web/models/host_name.rb +6 -6
  92. data/lib/generated/azure_mgmt_web/models/host_name_binding.rb +3 -2
  93. data/lib/generated/azure_mgmt_web/models/host_name_binding_collection.rb +1 -1
  94. data/lib/generated/azure_mgmt_web/models/host_name_ssl_state.rb +1 -1
  95. data/lib/generated/azure_mgmt_web/models/host_name_type.rb +1 -1
  96. data/lib/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +1 -1
  97. data/lib/generated/azure_mgmt_web/models/hosting_environment_profile.rb +1 -1
  98. data/lib/generated/azure_mgmt_web/models/hosting_environment_status.rb +1 -1
  99. data/lib/generated/azure_mgmt_web/models/http_logs_config.rb +1 -1
  100. data/lib/generated/azure_mgmt_web/models/hybrid_connection.rb +158 -0
  101. data/lib/generated/azure_mgmt_web/models/hybrid_connection_key.rb +105 -0
  102. data/lib/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb +1 -1
  103. data/lib/generated/azure_mgmt_web/models/ip_security_restriction.rb +2 -2
  104. data/lib/generated/azure_mgmt_web/models/key_vault_secret_status.rb +2 -1
  105. data/lib/generated/azure_mgmt_web/models/localizable_string.rb +1 -1
  106. data/lib/generated/azure_mgmt_web/models/log_level.rb +1 -1
  107. data/lib/generated/azure_mgmt_web/models/managed_pipeline_mode.rb +1 -1
  108. data/lib/generated/azure_mgmt_web/models/metric_availabilily.rb +1 -1
  109. data/lib/generated/azure_mgmt_web/models/metric_definition.rb +3 -2
  110. data/lib/generated/azure_mgmt_web/models/metric_definition_collection.rb +1 -1
  111. data/lib/generated/azure_mgmt_web/models/migrate_my_sql_request.rb +95 -0
  112. data/lib/generated/azure_mgmt_web/models/name_identifier.rb +1 -1
  113. data/lib/generated/azure_mgmt_web/models/name_identifier_collection.rb +1 -1
  114. data/lib/generated/azure_mgmt_web/models/name_value_pair.rb +1 -1
  115. data/lib/generated/azure_mgmt_web/models/network_access_control_entry.rb +2 -2
  116. data/lib/generated/azure_mgmt_web/models/network_features.rb +22 -2
  117. data/lib/generated/azure_mgmt_web/models/notification_level.rb +1 -1
  118. data/lib/generated/azure_mgmt_web/models/operation.rb +125 -0
  119. data/lib/generated/azure_mgmt_web/models/operation_status.rb +19 -0
  120. data/lib/generated/azure_mgmt_web/models/{certificate_order_collection.rb → perf_mon_counter_collection.rb} +11 -11
  121. data/lib/generated/azure_mgmt_web/models/perf_mon_response.rb +65 -0
  122. data/lib/generated/azure_mgmt_web/models/perf_mon_sample.rb +64 -0
  123. data/lib/generated/azure_mgmt_web/models/perf_mon_set.rb +93 -0
  124. data/lib/generated/azure_mgmt_web/models/premier_add_on_request.rb +2 -2
  125. data/lib/generated/azure_mgmt_web/models/provisioning_state.rb +1 -1
  126. data/lib/generated/azure_mgmt_web/models/push_settings.rb +80 -0
  127. data/lib/generated/azure_mgmt_web/models/ramp_up_rule.rb +8 -9
  128. data/lib/generated/azure_mgmt_web/models/recommendation.rb +3 -3
  129. data/lib/generated/azure_mgmt_web/models/recommendation_rule.rb +1 -1
  130. data/lib/generated/azure_mgmt_web/models/recover_response.rb +95 -0
  131. data/lib/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +24 -2
  132. data/lib/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +3 -2
  133. data/lib/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +24 -2
  134. data/lib/generated/azure_mgmt_web/models/requests_based_trigger.rb +1 -1
  135. data/lib/generated/azure_mgmt_web/models/resource_metric.rb +23 -4
  136. data/lib/generated/azure_mgmt_web/models/resource_metric_collection.rb +1 -1
  137. data/lib/generated/azure_mgmt_web/models/resource_metric_name.rb +3 -1
  138. data/lib/generated/azure_mgmt_web/models/{key_value_pair_string_string.rb → resource_metric_property.rb} +8 -10
  139. data/lib/generated/azure_mgmt_web/models/resource_metric_value.rb +29 -4
  140. data/lib/generated/azure_mgmt_web/models/resource_name_availability.rb +3 -3
  141. data/lib/generated/azure_mgmt_web/models/resource_name_availability_request.rb +3 -2
  142. data/lib/generated/azure_mgmt_web/models/restore_request.rb +5 -4
  143. data/lib/generated/azure_mgmt_web/models/restore_response.rb +5 -4
  144. data/lib/generated/azure_mgmt_web/models/site.rb +48 -41
  145. data/lib/generated/azure_mgmt_web/models/site_auth_settings.rb +43 -54
  146. data/lib/generated/azure_mgmt_web/models/site_availability_state.rb +1 -1
  147. data/lib/generated/azure_mgmt_web/models/site_cloneability.rb +4 -5
  148. data/lib/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +1 -1
  149. data/lib/generated/azure_mgmt_web/models/site_config.rb +32 -63
  150. data/lib/generated/azure_mgmt_web/models/site_instance.rb +3 -2
  151. data/lib/generated/azure_mgmt_web/models/site_instance_collection.rb +1 -1
  152. data/lib/generated/azure_mgmt_web/models/site_limits.rb +1 -1
  153. data/lib/generated/azure_mgmt_web/models/site_load_balancing.rb +1 -1
  154. data/lib/generated/azure_mgmt_web/models/site_logs_config.rb +3 -2
  155. data/lib/generated/azure_mgmt_web/models/site_machine_key.rb +74 -0
  156. data/lib/generated/azure_mgmt_web/models/site_source_control.rb +3 -2
  157. data/lib/generated/azure_mgmt_web/models/sku_capacity.rb +1 -1
  158. data/lib/generated/azure_mgmt_web/models/sku_description.rb +48 -1
  159. data/lib/generated/azure_mgmt_web/models/sku_info.rb +1 -1
  160. data/lib/generated/azure_mgmt_web/models/sku_info_collection.rb +1 -1
  161. data/lib/generated/azure_mgmt_web/models/slot_config_names_resource.rb +3 -2
  162. data/lib/generated/azure_mgmt_web/models/slot_difference.rb +5 -4
  163. data/lib/generated/azure_mgmt_web/models/slot_difference_collection.rb +1 -1
  164. data/lib/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +1 -1
  165. data/lib/generated/azure_mgmt_web/models/snapshot.rb +94 -0
  166. data/lib/generated/azure_mgmt_web/models/snapshot_collection.rb +94 -0
  167. data/lib/generated/azure_mgmt_web/models/source_control.rb +3 -2
  168. data/lib/generated/azure_mgmt_web/models/source_control_collection.rb +1 -1
  169. data/lib/generated/azure_mgmt_web/models/ssl_state.rb +1 -1
  170. data/lib/generated/azure_mgmt_web/models/stamp_capacity.rb +1 -1
  171. data/lib/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +1 -1
  172. data/lib/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +1 -1
  173. data/lib/generated/azure_mgmt_web/models/status_options.rb +1 -1
  174. data/lib/generated/azure_mgmt_web/models/storage_migration_options.rb +125 -0
  175. data/lib/generated/azure_mgmt_web/models/storage_migration_response.rb +95 -0
  176. data/lib/generated/azure_mgmt_web/models/string_dictionary.rb +3 -2
  177. data/lib/generated/azure_mgmt_web/models/tld_legal_agreement.rb +1 -1
  178. data/lib/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +1 -1
  179. data/lib/generated/azure_mgmt_web/models/top_level_domain.rb +3 -2
  180. data/lib/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +1 -1
  181. data/lib/generated/azure_mgmt_web/models/top_level_domain_collection.rb +1 -1
  182. data/lib/generated/azure_mgmt_web/models/unauthenticated_client_action.rb +1 -1
  183. data/lib/generated/azure_mgmt_web/models/usage.rb +3 -2
  184. data/lib/generated/azure_mgmt_web/models/usage_collection.rb +1 -1
  185. data/lib/generated/azure_mgmt_web/models/usage_state.rb +1 -1
  186. data/lib/generated/azure_mgmt_web/models/user.rb +17 -7
  187. data/lib/generated/azure_mgmt_web/models/validate_properties.rb +76 -0
  188. data/lib/generated/azure_mgmt_web/models/validate_request.rb +76 -0
  189. data/lib/generated/azure_mgmt_web/models/validate_resource_types.rb +16 -0
  190. data/lib/generated/azure_mgmt_web/models/validate_response.rb +56 -0
  191. data/lib/generated/azure_mgmt_web/models/validate_response_error.rb +54 -0
  192. data/lib/generated/azure_mgmt_web/models/virtual_application.rb +7 -6
  193. data/lib/generated/azure_mgmt_web/models/virtual_directory.rb +4 -4
  194. data/lib/generated/azure_mgmt_web/models/virtual_ipmapping.rb +1 -1
  195. data/lib/generated/azure_mgmt_web/models/virtual_network_profile.rb +3 -1
  196. data/lib/generated/azure_mgmt_web/models/vnet_gateway.rb +5 -4
  197. data/lib/generated/azure_mgmt_web/models/vnet_info.rb +5 -4
  198. data/lib/generated/azure_mgmt_web/models/vnet_route.rb +9 -9
  199. data/lib/generated/azure_mgmt_web/models/{site_collection.rb → web_app_collection.rb} +6 -6
  200. data/lib/generated/azure_mgmt_web/models/worker_pool.rb +5 -4
  201. data/lib/generated/azure_mgmt_web/models/worker_pool_collection.rb +1 -1
  202. data/lib/generated/azure_mgmt_web/models/worker_size_options.rb +1 -1
  203. data/lib/generated/azure_mgmt_web/module_definition.rb +1 -1
  204. data/lib/generated/azure_mgmt_web/recommendations.rb +128 -96
  205. data/lib/generated/azure_mgmt_web/top_level_domains.rb +118 -91
  206. data/lib/generated/azure_mgmt_web/version.rb +2 -2
  207. data/lib/generated/azure_mgmt_web/{sites.rb → web_apps.rb} +11407 -6127
  208. data/lib/generated/azure_mgmt_web/web_site_management_client.rb +1486 -51
  209. metadata +46 -36
  210. data/lib/generated/azure_mgmt_web/classic_mobile_services.rb +0 -400
  211. data/lib/generated/azure_mgmt_web/global.rb +0 -1888
  212. data/lib/generated/azure_mgmt_web/global_certificate_order.rb +0 -309
  213. data/lib/generated/azure_mgmt_web/global_domain_registration.rb +0 -699
  214. data/lib/generated/azure_mgmt_web/global_resource_groups.rb +0 -116
  215. data/lib/generated/azure_mgmt_web/managed_hosting_environments.rb +0 -1394
  216. data/lib/generated/azure_mgmt_web/models/certificate_order_certificate_collection.rb +0 -93
  217. data/lib/generated/azure_mgmt_web/models/database_server_type.rb +0 -18
  218. data/lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb +0 -218
  219. data/lib/generated/azure_mgmt_web/models/managed_hosting_environment_collection.rb +0 -93
  220. data/lib/generated/azure_mgmt_web/models/managed_hosting_environment_status.rb +0 -17
  221. data/lib/generated/azure_mgmt_web/models/routing_rule.rb +0 -46
  222. data/lib/generated/azure_mgmt_web/models/site_properties.rb +0 -88
  223. data/lib/generated/azure_mgmt_web/models/slot_config_names.rb +0 -71
  224. data/lib/generated/azure_mgmt_web/provider.rb +0 -581
  225. data/lib/generated/azure_mgmt_web/usage_operations.rb +0 -122
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,11 +8,11 @@ module Azure::ARM::Web
8
8
  #
9
9
  # Collection of hosting environments (App Service Environments)
10
10
  #
11
- class HostingEnvironmentCollection
11
+ class AppServiceEnvironmentCollection
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<HostingEnvironment>] Collection of resources
15
+ # @return [Array<AppServiceEnvironment>] Collection of resources
16
16
  attr_accessor :value
17
17
 
18
18
  # @return [String] Link to next page of resources
@@ -24,7 +24,7 @@ module Azure::ARM::Web
24
24
  #
25
25
  # Gets the rest of the items for the request, enabling auto-pagination.
26
26
  #
27
- # @return [Array<HostingEnvironment>] operation results.
27
+ # @return [Array<AppServiceEnvironment>] operation results.
28
28
  #
29
29
  def get_all_items
30
30
  items = @value
@@ -39,7 +39,7 @@ module Azure::ARM::Web
39
39
  #
40
40
  # Gets the next page of results.
41
41
  #
42
- # @return [HostingEnvironmentCollection] with next page content.
42
+ # @return [AppServiceEnvironmentCollection] with next page content.
43
43
  #
44
44
  def get_next_page
45
45
  response = @next_method.call(@next_link).value! unless @next_method.nil?
@@ -51,16 +51,16 @@ module Azure::ARM::Web
51
51
  end
52
52
 
53
53
  #
54
- # Mapper for HostingEnvironmentCollection class as Ruby Hash.
54
+ # Mapper for AppServiceEnvironmentCollection class as Ruby Hash.
55
55
  # This will be used for serialization/deserialization.
56
56
  #
57
57
  def self.mapper()
58
58
  {
59
59
  required: false,
60
- serialized_name: 'HostingEnvironmentCollection',
60
+ serialized_name: 'AppServiceEnvironmentCollection',
61
61
  type: {
62
62
  name: 'Composite',
63
- class_name: 'HostingEnvironmentCollection',
63
+ class_name: 'AppServiceEnvironmentCollection',
64
64
  model_properties: {
65
65
  value: {
66
66
  required: false,
@@ -69,10 +69,10 @@ module Azure::ARM::Web
69
69
  name: 'Sequence',
70
70
  element: {
71
71
  required: false,
72
- serialized_name: 'HostingEnvironmentElementType',
72
+ serialized_name: 'AppServiceEnvironmentElementType',
73
73
  type: {
74
74
  name: 'Composite',
75
- class_name: 'HostingEnvironment'
75
+ class_name: 'AppServiceEnvironment'
76
76
  }
77
77
  }
78
78
  }
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,12 +8,12 @@ module Azure::ARM::Web
8
8
  #
9
9
  # App Service Plan Model
10
10
  #
11
- class ServerFarmWithRichSku < MsRestAzure::Resource
11
+ class AppServicePlan < MsRestAzure::Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
15
  # @return [String] Name for the App Service Plan
16
- attr_accessor :server_farm_with_rich_sku_name
16
+ attr_accessor :app_service_plan_name
17
17
 
18
18
  # @return [String] Target worker tier assigned to the App Service Plan
19
19
  attr_accessor :worker_tier_name
@@ -39,10 +39,10 @@ module Azure::ARM::Web
39
39
  # @return [String] Geographical location for the App Service Plan
40
40
  attr_accessor :geo_region
41
41
 
42
- # @return [Boolean] If True apps assigned to this App Service Plan can
43
- # be scaled independently
44
- # If False apps assigned to this App Service Plan will scale
45
- # to all instances of the plan
42
+ # @return [Boolean] If True apps assigned to this App Service Plan can be
43
+ # scaled independently
44
+ # If False apps assigned to this App Service Plan will scale to all
45
+ # instances of the plan
46
46
  attr_accessor :per_site_scaling
47
47
 
48
48
  # @return [Integer] Number of web apps assigned to this App Service Plan
@@ -51,34 +51,32 @@ module Azure::ARM::Web
51
51
  # @return [String] Resource group of the serverfarm
52
52
  attr_accessor :resource_group
53
53
 
54
- # @return [Boolean] Enables creation of a Linux App Service Plan
55
- attr_accessor :reserved
56
-
57
54
  # @return [SkuDescription]
58
55
  attr_accessor :sku
59
56
 
60
57
 
61
58
  #
62
- # Mapper for ServerFarmWithRichSku class as Ruby Hash.
59
+ # Mapper for AppServicePlan class as Ruby Hash.
63
60
  # This will be used for serialization/deserialization.
64
61
  #
65
62
  def self.mapper()
66
63
  {
67
64
  required: false,
68
- serialized_name: 'ServerFarmWithRichSku',
65
+ serialized_name: 'AppServicePlan',
69
66
  type: {
70
67
  name: 'Composite',
71
- class_name: 'ServerFarmWithRichSku',
68
+ class_name: 'AppServicePlan',
72
69
  model_properties: {
73
70
  id: {
74
71
  required: false,
72
+ read_only: true,
75
73
  serialized_name: 'id',
76
74
  type: {
77
75
  name: 'String'
78
76
  }
79
77
  },
80
78
  name: {
81
- required: false,
79
+ required: true,
82
80
  serialized_name: 'name',
83
81
  type: {
84
82
  name: 'String'
@@ -119,7 +117,7 @@ module Azure::ARM::Web
119
117
  }
120
118
  }
121
119
  },
122
- server_farm_with_rich_sku_name: {
120
+ app_service_plan_name: {
123
121
  required: false,
124
122
  serialized_name: 'properties.name',
125
123
  type: {
@@ -135,7 +133,6 @@ module Azure::ARM::Web
135
133
  },
136
134
  status: {
137
135
  required: false,
138
- read_only: true,
139
136
  serialized_name: 'properties.status',
140
137
  type: {
141
138
  name: 'Enum',
@@ -144,7 +141,6 @@ module Azure::ARM::Web
144
141
  },
145
142
  subscription: {
146
143
  required: false,
147
- read_only: true,
148
144
  serialized_name: 'properties.subscription',
149
145
  type: {
150
146
  name: 'String'
@@ -174,7 +170,6 @@ module Azure::ARM::Web
174
170
  },
175
171
  geo_region: {
176
172
  required: false,
177
- read_only: true,
178
173
  serialized_name: 'properties.geoRegion',
179
174
  type: {
180
175
  name: 'String'
@@ -189,7 +184,6 @@ module Azure::ARM::Web
189
184
  },
190
185
  number_of_sites: {
191
186
  required: false,
192
- read_only: true,
193
187
  serialized_name: 'properties.numberOfSites',
194
188
  type: {
195
189
  name: 'Number'
@@ -197,19 +191,11 @@ module Azure::ARM::Web
197
191
  },
198
192
  resource_group: {
199
193
  required: false,
200
- read_only: true,
201
194
  serialized_name: 'properties.resourceGroup',
202
195
  type: {
203
196
  name: 'String'
204
197
  }
205
198
  },
206
- reserved: {
207
- required: false,
208
- serialized_name: 'properties.reserved',
209
- type: {
210
- name: 'Boolean'
211
- }
212
- },
213
199
  sku: {
214
200
  required: false,
215
201
  serialized_name: 'sku',
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,11 +8,11 @@ module Azure::ARM::Web
8
8
  #
9
9
  # Collection of serverfarms
10
10
  #
11
- class ServerFarmCollection
11
+ class AppServicePlanCollection
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<ServerFarmWithRichSku>] Collection of resources
15
+ # @return [Array<AppServicePlan>] Collection of resources
16
16
  attr_accessor :value
17
17
 
18
18
  # @return [String] Link to next page of resources
@@ -24,7 +24,7 @@ module Azure::ARM::Web
24
24
  #
25
25
  # Gets the rest of the items for the request, enabling auto-pagination.
26
26
  #
27
- # @return [Array<ServerFarmWithRichSku>] operation results.
27
+ # @return [Array<AppServicePlan>] operation results.
28
28
  #
29
29
  def get_all_items
30
30
  items = @value
@@ -39,7 +39,7 @@ module Azure::ARM::Web
39
39
  #
40
40
  # Gets the next page of results.
41
41
  #
42
- # @return [ServerFarmCollection] with next page content.
42
+ # @return [AppServicePlanCollection] with next page content.
43
43
  #
44
44
  def get_next_page
45
45
  response = @next_method.call(@next_link).value! unless @next_method.nil?
@@ -51,16 +51,16 @@ module Azure::ARM::Web
51
51
  end
52
52
 
53
53
  #
54
- # Mapper for ServerFarmCollection class as Ruby Hash.
54
+ # Mapper for AppServicePlanCollection class as Ruby Hash.
55
55
  # This will be used for serialization/deserialization.
56
56
  #
57
57
  def self.mapper()
58
58
  {
59
59
  required: false,
60
- serialized_name: 'ServerFarmCollection',
60
+ serialized_name: 'AppServicePlanCollection',
61
61
  type: {
62
62
  name: 'Composite',
63
- class_name: 'ServerFarmCollection',
63
+ class_name: 'AppServicePlanCollection',
64
64
  model_properties: {
65
65
  value: {
66
66
  required: false,
@@ -69,10 +69,10 @@ module Azure::ARM::Web
69
69
  name: 'Sequence',
70
70
  element: {
71
71
  required: false,
72
- serialized_name: 'ServerFarmWithRichSkuElementType',
72
+ serialized_name: 'AppServicePlanElementType',
73
73
  type: {
74
74
  name: 'Composite',
75
- class_name: 'ServerFarmWithRichSku'
75
+ class_name: 'AppServicePlan'
76
76
  }
77
77
  }
78
78
  }
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,8 +12,8 @@ module Azure::ARM::Web
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [RequestsBasedTrigger] Requests - Defines a rule based on
16
- # total requests
15
+ # @return [RequestsBasedTrigger] Requests - Defines a rule based on total
16
+ # requests
17
17
  attr_accessor :requests
18
18
 
19
19
  # @return [Integer] PrivateBytesInKB - Defines a rule based on private
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -26,9 +26,8 @@ module Azure::ARM::Web
26
26
  attr_accessor :backup_item_name
27
27
 
28
28
  # @return [BackupItemStatus] Backup status. Possible values include:
29
- # 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created',
30
- # 'Skipped', 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed',
31
- # 'Deleted'
29
+ # 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped',
30
+ # 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted'
32
31
  attr_accessor :status
33
32
 
34
33
  # @return [Integer] Size of the backup in bytes
@@ -78,13 +77,14 @@ module Azure::ARM::Web
78
77
  model_properties: {
79
78
  id: {
80
79
  required: false,
80
+ read_only: true,
81
81
  serialized_name: 'id',
82
82
  type: {
83
83
  name: 'String'
84
84
  }
85
85
  },
86
86
  name: {
87
- required: false,
87
+ required: true,
88
88
  serialized_name: 'name',
89
89
  type: {
90
90
  name: 'String'
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -16,8 +16,7 @@ module Azure::ARM::Web
16
16
  attr_accessor :backup_request_name
17
17
 
18
18
  # @return [Boolean] True if the backup schedule is enabled (must be
19
- # included in that case), false if the backup schedule should be
20
- # disabled
19
+ # included in that case), false if the backup schedule should be disabled
21
20
  attr_accessor :enabled
22
21
 
23
22
  # @return [String] SAS URL to the container
@@ -49,13 +48,14 @@ module Azure::ARM::Web
49
48
  model_properties: {
50
49
  id: {
51
50
  required: false,
51
+ read_only: true,
52
52
  serialized_name: 'id',
53
53
  type: {
54
54
  name: 'String'
55
55
  }
56
56
  },
57
57
  name: {
58
- required: false,
58
+ required: true,
59
59
  serialized_name: 'name',
60
60
  type: {
61
61
  name: 'String'