azure_mgmt_web 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_web.rb +149 -123
  3. data/lib/generated/azure_mgmt_web/app_service_certificate_orders.rb +556 -297
  4. data/lib/generated/azure_mgmt_web/app_service_environments.rb +1584 -1057
  5. data/lib/generated/azure_mgmt_web/app_service_plans.rb +890 -805
  6. data/lib/generated/azure_mgmt_web/certificates.rb +328 -215
  7. data/lib/generated/azure_mgmt_web/deleted_web_apps.rb +443 -0
  8. data/lib/generated/azure_mgmt_web/domains.rb +721 -243
  9. data/lib/generated/azure_mgmt_web/models/address.rb +12 -12
  10. data/lib/generated/azure_mgmt_web/models/address_response.rb +6 -6
  11. data/lib/generated/azure_mgmt_web/models/api_definition_info.rb +1 -1
  12. data/lib/generated/azure_mgmt_web/models/app_service_certificate.rb +5 -5
  13. data/lib/generated/azure_mgmt_web/models/app_service_certificate_collection.rb +4 -4
  14. data/lib/generated/azure_mgmt_web/models/app_service_certificate_order.rb +36 -16
  15. data/lib/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +4 -4
  16. data/lib/generated/azure_mgmt_web/models/app_service_environment.rb +83 -64
  17. data/lib/generated/azure_mgmt_web/models/app_service_environment_collection.rb +4 -4
  18. data/lib/generated/azure_mgmt_web/models/app_service_plan.rb +69 -17
  19. data/lib/generated/azure_mgmt_web/models/app_service_plan_collection.rb +4 -4
  20. data/lib/generated/azure_mgmt_web/models/app_service_plan_restrictions.rb +20 -0
  21. data/lib/generated/azure_mgmt_web/models/application_logs_config.rb +4 -4
  22. data/lib/generated/azure_mgmt_web/models/auto_heal_actions.rb +6 -8
  23. data/lib/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +3 -3
  24. data/lib/generated/azure_mgmt_web/models/auto_heal_rules.rb +5 -5
  25. data/lib/generated/azure_mgmt_web/models/auto_heal_triggers.rb +6 -9
  26. data/lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +2 -2
  27. data/lib/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +3 -3
  28. data/lib/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +4 -4
  29. data/lib/generated/azure_mgmt_web/models/backup_item.rb +26 -11
  30. data/lib/generated/azure_mgmt_web/models/backup_item_collection.rb +4 -4
  31. data/lib/generated/azure_mgmt_web/models/backup_request.rb +9 -7
  32. data/lib/generated/azure_mgmt_web/models/backup_schedule.rb +18 -11
  33. data/lib/generated/azure_mgmt_web/models/capability.rb +4 -4
  34. data/lib/generated/azure_mgmt_web/models/certificate.rb +79 -18
  35. data/lib/generated/azure_mgmt_web/models/certificate_collection.rb +4 -4
  36. data/lib/generated/azure_mgmt_web/models/certificate_details.rb +29 -70
  37. data/lib/generated/azure_mgmt_web/models/certificate_email.rb +4 -4
  38. data/lib/generated/azure_mgmt_web/models/certificate_order_action.rb +8 -6
  39. data/lib/generated/azure_mgmt_web/models/certificate_order_action_type.rb +5 -0
  40. data/lib/generated/azure_mgmt_web/models/channels.rb +1 -0
  41. data/lib/generated/azure_mgmt_web/models/cloning_info.rb +24 -22
  42. data/lib/generated/azure_mgmt_web/models/conn_string_info.rb +67 -0
  43. data/lib/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +3 -3
  44. data/lib/generated/azure_mgmt_web/models/connection_string_dictionary.rb +3 -3
  45. data/lib/generated/azure_mgmt_web/models/contact.rb +16 -15
  46. data/lib/generated/azure_mgmt_web/models/cors_settings.rb +1 -1
  47. data/lib/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +7 -2
  48. data/lib/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +3 -3
  49. data/lib/generated/azure_mgmt_web/models/csm_site_recovery_entity.rb +6 -18
  50. data/lib/generated/azure_mgmt_web/models/csm_slot_entity.rb +6 -7
  51. data/lib/generated/azure_mgmt_web/models/csm_usage_quota.rb +6 -6
  52. data/lib/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +4 -4
  53. data/lib/generated/azure_mgmt_web/models/csr.rb +9 -9
  54. data/lib/generated/azure_mgmt_web/models/csr_collection.rb +93 -0
  55. data/lib/generated/azure_mgmt_web/models/custom_hostname_analysis_result.rb +28 -19
  56. data/lib/generated/azure_mgmt_web/models/database_backup_setting.rb +5 -6
  57. data/lib/generated/azure_mgmt_web/models/database_type.rb +17 -0
  58. data/lib/generated/azure_mgmt_web/models/deleted_site.rb +97 -61
  59. data/lib/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +4 -4
  60. data/lib/generated/azure_mgmt_web/models/deployment.rb +12 -12
  61. data/lib/generated/azure_mgmt_web/models/deployment_collection.rb +4 -4
  62. data/lib/generated/azure_mgmt_web/models/domain.rb +30 -20
  63. data/lib/generated/azure_mgmt_web/models/domain_availablility_check_result.rb +8 -6
  64. data/lib/generated/azure_mgmt_web/models/domain_collection.rb +4 -4
  65. data/lib/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +6 -3
  66. data/lib/generated/azure_mgmt_web/models/{classic_mobile_service.rb → domain_ownership_identifier.rb} +10 -10
  67. data/lib/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +93 -0
  68. data/lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb +6 -6
  69. data/lib/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +3 -3
  70. data/lib/generated/azure_mgmt_web/models/enabled_config.rb +2 -2
  71. data/lib/generated/azure_mgmt_web/models/error_entity.rb +6 -6
  72. data/lib/generated/azure_mgmt_web/models/experiments.rb +2 -3
  73. data/lib/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +3 -2
  74. data/lib/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +6 -2
  75. data/lib/generated/azure_mgmt_web/models/geo_region.rb +8 -5
  76. data/lib/generated/azure_mgmt_web/models/geo_region_collection.rb +4 -4
  77. data/lib/generated/azure_mgmt_web/models/global_csm_sku_description.rb +101 -0
  78. data/lib/generated/azure_mgmt_web/models/handler_mapping.rb +1 -1
  79. data/lib/generated/azure_mgmt_web/models/host_name.rb +8 -8
  80. data/lib/generated/azure_mgmt_web/models/host_name_binding.rb +40 -7
  81. data/lib/generated/azure_mgmt_web/models/host_name_binding_collection.rb +4 -4
  82. data/lib/generated/azure_mgmt_web/models/host_name_ssl_state.rb +7 -7
  83. data/lib/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +3 -3
  84. data/lib/generated/azure_mgmt_web/models/hosting_environment_profile.rb +6 -8
  85. data/lib/generated/azure_mgmt_web/models/http_logs_config.rb +3 -3
  86. data/lib/generated/azure_mgmt_web/models/hybrid_connection.rb +4 -4
  87. data/lib/generated/azure_mgmt_web/models/{metric_definition_collection.rb → hybrid_connection_collection.rb} +12 -12
  88. data/lib/generated/azure_mgmt_web/models/hybrid_connection_key.rb +5 -3
  89. data/lib/generated/azure_mgmt_web/models/hybrid_connection_limits.rb +107 -0
  90. data/lib/generated/azure_mgmt_web/models/{premier_add_on_request.rb → identifier.rb} +40 -40
  91. data/lib/generated/azure_mgmt_web/models/identifier_collection.rb +93 -0
  92. data/lib/generated/azure_mgmt_web/models/in_availability_reason_type.rb +16 -0
  93. data/lib/generated/azure_mgmt_web/models/ip_security_restriction.rb +3 -3
  94. data/lib/generated/azure_mgmt_web/models/localizable_string.rb +3 -3
  95. data/lib/generated/azure_mgmt_web/models/metric_availabilily.rb +3 -4
  96. data/lib/generated/azure_mgmt_web/models/metric_definition.rb +12 -7
  97. data/lib/generated/azure_mgmt_web/models/migrate_my_sql_request.rb +4 -4
  98. data/lib/generated/azure_mgmt_web/models/name_identifier.rb +2 -2
  99. data/lib/generated/azure_mgmt_web/models/name_identifier_collection.rb +4 -4
  100. data/lib/generated/azure_mgmt_web/models/name_value_pair.rb +3 -3
  101. data/lib/generated/azure_mgmt_web/models/network_access_control_entry.rb +6 -6
  102. data/lib/generated/azure_mgmt_web/models/network_features.rb +12 -9
  103. data/lib/generated/azure_mgmt_web/models/operation.rb +8 -8
  104. data/lib/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +4 -4
  105. data/lib/generated/azure_mgmt_web/models/perf_mon_response.rb +4 -4
  106. data/lib/generated/azure_mgmt_web/models/perf_mon_sample.rb +4 -4
  107. data/lib/generated/azure_mgmt_web/models/perf_mon_set.rb +6 -6
  108. data/lib/generated/azure_mgmt_web/models/premier_add_on.rb +171 -0
  109. data/lib/generated/azure_mgmt_web/models/premier_add_on_offer.rb +198 -0
  110. data/lib/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +93 -0
  111. data/lib/generated/azure_mgmt_web/models/publishing_profile_format.rb +17 -0
  112. data/lib/generated/azure_mgmt_web/models/push_settings.rb +5 -2
  113. data/lib/generated/azure_mgmt_web/models/ramp_up_rule.rb +16 -20
  114. data/lib/generated/azure_mgmt_web/models/recommendation.rb +20 -28
  115. data/lib/generated/azure_mgmt_web/models/recommendation_rule.rb +12 -22
  116. data/lib/generated/azure_mgmt_web/models/recover_response.rb +3 -2
  117. data/lib/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +6 -6
  118. data/lib/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +2 -2
  119. data/lib/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +5 -5
  120. data/lib/generated/azure_mgmt_web/models/requests_based_trigger.rb +3 -3
  121. data/lib/generated/azure_mgmt_web/models/{arm_plan.rb → resource.rb} +32 -29
  122. data/lib/generated/azure_mgmt_web/models/resource_collection.rb +92 -0
  123. data/lib/generated/azure_mgmt_web/models/resource_metric.rb +9 -9
  124. data/lib/generated/azure_mgmt_web/models/resource_metric_availability.rb +56 -0
  125. data/lib/generated/azure_mgmt_web/models/resource_metric_collection.rb +4 -4
  126. data/lib/generated/azure_mgmt_web/models/resource_metric_definition.rb +178 -0
  127. data/lib/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +93 -0
  128. data/lib/generated/azure_mgmt_web/models/resource_metric_name.rb +3 -3
  129. data/lib/generated/azure_mgmt_web/models/resource_metric_property.rb +3 -3
  130. data/lib/generated/azure_mgmt_web/models/resource_metric_value.rb +8 -8
  131. data/lib/generated/azure_mgmt_web/models/resource_name_availability.rb +14 -8
  132. data/lib/generated/azure_mgmt_web/models/resource_name_availability_request.rb +5 -5
  133. data/lib/generated/azure_mgmt_web/models/resource_scope_type.rb +17 -0
  134. data/lib/generated/azure_mgmt_web/models/restore_request.rb +20 -17
  135. data/lib/generated/azure_mgmt_web/models/restore_response.rb +4 -3
  136. data/lib/generated/azure_mgmt_web/models/route_type.rb +17 -0
  137. data/lib/generated/azure_mgmt_web/models/scm_type.rb +27 -0
  138. data/lib/generated/azure_mgmt_web/models/site.rb +95 -60
  139. data/lib/generated/azure_mgmt_web/models/site_auth_settings.rb +57 -79
  140. data/lib/generated/azure_mgmt_web/models/site_cloneability.rb +8 -8
  141. data/lib/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +3 -3
  142. data/lib/generated/azure_mgmt_web/models/site_config.rb +99 -38
  143. data/lib/generated/azure_mgmt_web/models/site_configuration_snapshot_info.rb +106 -0
  144. data/lib/generated/azure_mgmt_web/models/site_instance.rb +4 -3
  145. data/lib/generated/azure_mgmt_web/models/site_limits.rb +4 -4
  146. data/lib/generated/azure_mgmt_web/models/site_logs_config.rb +6 -6
  147. data/lib/generated/azure_mgmt_web/models/site_machine_key.rb +5 -5
  148. data/lib/generated/azure_mgmt_web/models/site_php_error_log_flag.rb +124 -0
  149. data/lib/generated/azure_mgmt_web/models/site_seal.rb +44 -0
  150. data/lib/generated/azure_mgmt_web/models/site_seal_request.rb +54 -0
  151. data/lib/generated/azure_mgmt_web/models/site_source_control.rb +11 -7
  152. data/lib/generated/azure_mgmt_web/models/sku_capacity.rb +9 -8
  153. data/lib/generated/azure_mgmt_web/models/sku_description.rb +9 -9
  154. data/lib/generated/azure_mgmt_web/models/sku_info.rb +4 -4
  155. data/lib/generated/azure_mgmt_web/models/sku_info_collection.rb +4 -4
  156. data/lib/generated/azure_mgmt_web/models/sku_infos.rb +63 -0
  157. data/lib/generated/azure_mgmt_web/models/sku_name.rb +20 -0
  158. data/lib/generated/azure_mgmt_web/models/slot_config_names_resource.rb +4 -4
  159. data/lib/generated/azure_mgmt_web/models/slot_difference.rb +18 -13
  160. data/lib/generated/azure_mgmt_web/models/slot_difference_collection.rb +4 -4
  161. data/lib/generated/azure_mgmt_web/models/slot_swap_status.rb +67 -0
  162. data/lib/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +4 -4
  163. data/lib/generated/azure_mgmt_web/models/snapshot.rb +4 -3
  164. data/lib/generated/azure_mgmt_web/models/snapshot_collection.rb +4 -4
  165. data/lib/generated/azure_mgmt_web/models/source_control.rb +7 -7
  166. data/lib/generated/azure_mgmt_web/models/source_control_collection.rb +4 -4
  167. data/lib/generated/azure_mgmt_web/models/stamp_capacity.rb +12 -11
  168. data/lib/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +4 -4
  169. data/lib/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +6 -6
  170. data/lib/generated/azure_mgmt_web/models/storage_migration_options.rb +11 -7
  171. data/lib/generated/azure_mgmt_web/models/storage_migration_response.rb +4 -3
  172. data/lib/generated/azure_mgmt_web/models/string_dictionary.rb +3 -3
  173. data/lib/generated/azure_mgmt_web/models/tld_legal_agreement.rb +8 -8
  174. data/lib/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +4 -4
  175. data/lib/generated/azure_mgmt_web/models/top_level_domain.rb +8 -7
  176. data/lib/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +4 -3
  177. data/lib/generated/azure_mgmt_web/models/top_level_domain_collection.rb +4 -4
  178. data/lib/generated/azure_mgmt_web/models/usage.rb +20 -11
  179. data/lib/generated/azure_mgmt_web/models/usage_collection.rb +4 -4
  180. data/lib/generated/azure_mgmt_web/models/user.rb +7 -7
  181. data/lib/generated/azure_mgmt_web/models/validate_request.rb +58 -12
  182. data/lib/generated/azure_mgmt_web/models/validate_response.rb +3 -3
  183. data/lib/generated/azure_mgmt_web/models/validate_response_error.rb +3 -3
  184. data/lib/generated/azure_mgmt_web/models/virtual_application.rb +7 -6
  185. data/lib/generated/azure_mgmt_web/models/virtual_directory.rb +3 -3
  186. data/lib/generated/azure_mgmt_web/models/virtual_ipmapping.rb +5 -5
  187. data/lib/generated/azure_mgmt_web/models/virtual_network_profile.rb +5 -5
  188. data/lib/generated/azure_mgmt_web/models/vnet_gateway.rb +5 -5
  189. data/lib/generated/azure_mgmt_web/models/vnet_info.rb +12 -9
  190. data/lib/generated/azure_mgmt_web/models/vnet_route.rb +11 -11
  191. data/lib/generated/azure_mgmt_web/models/web_app_collection.rb +4 -4
  192. data/lib/generated/azure_mgmt_web/models/{site_instance_collection.rb → web_app_instance_collection.rb} +9 -9
  193. data/lib/generated/azure_mgmt_web/models/worker_pool.rb +9 -8
  194. data/lib/generated/azure_mgmt_web/models/worker_pool_collection.rb +4 -4
  195. data/lib/generated/azure_mgmt_web/recommendations.rb +388 -132
  196. data/lib/generated/azure_mgmt_web/top_level_domains.rb +62 -48
  197. data/lib/generated/azure_mgmt_web/version.rb +1 -1
  198. data/lib/generated/azure_mgmt_web/web_apps.rb +8787 -6295
  199. data/lib/generated/azure_mgmt_web/web_site_management_client.rb +459 -288
  200. metadata +37 -11
  201. data/lib/generated/azure_mgmt_web/models/domain_registration_input.rb +0 -292
  202. data/lib/generated/azure_mgmt_web/models/validate_properties.rb +0 -76
@@ -23,12 +23,13 @@ module Azure::ARM::Web
23
23
  attr_reader :client
24
24
 
25
25
  #
26
- # Gets all App Service Plans for a subcription
26
+ # Get all App Service plans for a subcription.
27
27
  #
28
- # Gets all App Service Plans for a subcription
28
+ # Get all App Service plans for a subcription.
29
29
  #
30
- # @param detailed [Boolean] False to return a subset of App Service Plan
31
- # properties, true to return all of the properties.
30
+ # @param detailed [Boolean] Specify <code>true</code> to return all App Service
31
+ # plan properties. The default is <code>false</code>, which returns a subset of
32
+ # the properties.
32
33
  # Retrieval of all properties may increase the API latency.
33
34
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
34
35
  # will be added to the HTTP request.
@@ -41,12 +42,13 @@ module Azure::ARM::Web
41
42
  end
42
43
 
43
44
  #
44
- # Gets all App Service Plans for a subcription
45
+ # Get all App Service plans for a subcription.
45
46
  #
46
- # Gets all App Service Plans for a subcription
47
+ # Get all App Service plans for a subcription.
47
48
  #
48
- # @param detailed [Boolean] False to return a subset of App Service Plan
49
- # properties, true to return all of the properties.
49
+ # @param detailed [Boolean] Specify <code>true</code> to return all App Service
50
+ # plan properties. The default is <code>false</code>, which returns a subset of
51
+ # the properties.
50
52
  # Retrieval of all properties may increase the API latency.
51
53
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
52
54
  # will be added to the HTTP request.
@@ -58,12 +60,13 @@ module Azure::ARM::Web
58
60
  end
59
61
 
60
62
  #
61
- # Gets all App Service Plans for a subcription
63
+ # Get all App Service plans for a subcription.
62
64
  #
63
- # Gets all App Service Plans for a subcription
65
+ # Get all App Service plans for a subcription.
64
66
  #
65
- # @param detailed [Boolean] False to return a subset of App Service Plan
66
- # properties, true to return all of the properties.
67
+ # @param detailed [Boolean] Specify <code>true</code> to return all App Service
68
+ # plan properties. The default is <code>false</code>, which returns a subset of
69
+ # the properties.
67
70
  # Retrieval of all properties may increase the API latency.
68
71
  # @param [Hash{String => String}] A hash of custom headers that will be added
69
72
  # to the HTTP request.
@@ -121,13 +124,12 @@ module Azure::ARM::Web
121
124
  end
122
125
 
123
126
  #
124
- # Gets collection of App Service Plans in a resource group for a given
125
- # subscription.
127
+ # Get all App Service plans in a resource group.
126
128
  #
127
- # Gets collection of App Service Plans in a resource group for a given
128
- # subscription.
129
+ # Get all App Service plans in a resource group.
129
130
  #
130
- # @param resource_group_name [String] Name of resource group
131
+ # @param resource_group_name [String] Name of the resource group to which the
132
+ # resource belongs.
131
133
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
132
134
  # will be added to the HTTP request.
133
135
  #
@@ -139,13 +141,12 @@ module Azure::ARM::Web
139
141
  end
140
142
 
141
143
  #
142
- # Gets collection of App Service Plans in a resource group for a given
143
- # subscription.
144
+ # Get all App Service plans in a resource group.
144
145
  #
145
- # Gets collection of App Service Plans in a resource group for a given
146
- # subscription.
146
+ # Get all App Service plans in a resource group.
147
147
  #
148
- # @param resource_group_name [String] Name of resource group
148
+ # @param resource_group_name [String] Name of the resource group to which the
149
+ # resource belongs.
149
150
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
150
151
  # will be added to the HTTP request.
151
152
  #
@@ -156,13 +157,12 @@ module Azure::ARM::Web
156
157
  end
157
158
 
158
159
  #
159
- # Gets collection of App Service Plans in a resource group for a given
160
- # subscription.
160
+ # Get all App Service plans in a resource group.
161
161
  #
162
- # Gets collection of App Service Plans in a resource group for a given
163
- # subscription.
162
+ # Get all App Service plans in a resource group.
164
163
  #
165
- # @param resource_group_name [String] Name of resource group
164
+ # @param resource_group_name [String] Name of the resource group to which the
165
+ # resource belongs.
166
166
  # @param [Hash{String => String}] A hash of custom headers that will be added
167
167
  # to the HTTP request.
168
168
  #
@@ -220,12 +220,13 @@ module Azure::ARM::Web
220
220
  end
221
221
 
222
222
  #
223
- # Gets specified App Service Plan in a resource group
223
+ # Get an App Service plan.
224
224
  #
225
- # Gets specified App Service Plan in a resource group
225
+ # Get an App Service plan.
226
226
  #
227
- # @param resource_group_name [String] Name of resource group
228
- # @param name [String] Name of App Service Plan
227
+ # @param resource_group_name [String] Name of the resource group to which the
228
+ # resource belongs.
229
+ # @param name [String] Name of the App Service plan.
229
230
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
230
231
  # will be added to the HTTP request.
231
232
  #
@@ -237,12 +238,13 @@ module Azure::ARM::Web
237
238
  end
238
239
 
239
240
  #
240
- # Gets specified App Service Plan in a resource group
241
+ # Get an App Service plan.
241
242
  #
242
- # Gets specified App Service Plan in a resource group
243
+ # Get an App Service plan.
243
244
  #
244
- # @param resource_group_name [String] Name of resource group
245
- # @param name [String] Name of App Service Plan
245
+ # @param resource_group_name [String] Name of the resource group to which the
246
+ # resource belongs.
247
+ # @param name [String] Name of the App Service plan.
246
248
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
247
249
  # will be added to the HTTP request.
248
250
  #
@@ -253,12 +255,13 @@ module Azure::ARM::Web
253
255
  end
254
256
 
255
257
  #
256
- # Gets specified App Service Plan in a resource group
258
+ # Get an App Service plan.
257
259
  #
258
- # Gets specified App Service Plan in a resource group
260
+ # Get an App Service plan.
259
261
  #
260
- # @param resource_group_name [String] Name of resource group
261
- # @param name [String] Name of App Service Plan
262
+ # @param resource_group_name [String] Name of the resource group to which the
263
+ # resource belongs.
264
+ # @param name [String] Name of the App Service plan.
262
265
  # @param [Hash{String => String}] A hash of custom headers that will be added
263
266
  # to the HTTP request.
264
267
  #
@@ -317,40 +320,38 @@ module Azure::ARM::Web
317
320
  end
318
321
 
319
322
  #
320
- # Creates or updates an App Service Plan
323
+ # Creates or updates an App Service Plan.
321
324
  #
322
- # Creates or updates an App Service Plan
325
+ # Creates or updates an App Service Plan.
323
326
  #
324
- # @param resource_group_name [String] Name of resource group
325
- # @param name [String] Name of App Service Plan
326
- # @param app_service_plan [AppServicePlan] Details of App Service Plan
327
- # @param allow_pending_state [Boolean] OBSOLETE: If true, allow pending state
328
- # for App Service Plan
327
+ # @param resource_group_name [String] Name of the resource group to which the
328
+ # resource belongs.
329
+ # @param name [String] Name of the App Service plan.
330
+ # @param app_service_plan [AppServicePlan] Details of the App Service plan.
329
331
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
330
332
  # will be added to the HTTP request.
331
333
  #
332
334
  # @return [AppServicePlan] operation results.
333
335
  #
334
- def create_or_update(resource_group_name, name, app_service_plan, allow_pending_state = nil, custom_headers = nil)
335
- response = create_or_update_async(resource_group_name, name, app_service_plan, allow_pending_state, custom_headers).value!
336
+ def create_or_update(resource_group_name, name, app_service_plan, custom_headers = nil)
337
+ response = create_or_update_async(resource_group_name, name, app_service_plan, custom_headers).value!
336
338
  response.body unless response.nil?
337
339
  end
338
340
 
339
341
  #
340
- # @param resource_group_name [String] Name of resource group
341
- # @param name [String] Name of App Service Plan
342
- # @param app_service_plan [AppServicePlan] Details of App Service Plan
343
- # @param allow_pending_state [Boolean] OBSOLETE: If true, allow pending state
344
- # for App Service Plan
342
+ # @param resource_group_name [String] Name of the resource group to which the
343
+ # resource belongs.
344
+ # @param name [String] Name of the App Service plan.
345
+ # @param app_service_plan [AppServicePlan] Details of the App Service plan.
345
346
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
346
347
  # will be added to the HTTP request.
347
348
  #
348
349
  # @return [Concurrent::Promise] promise which provides async access to http
349
350
  # response.
350
351
  #
351
- def create_or_update_async(resource_group_name, name, app_service_plan, allow_pending_state = nil, custom_headers = nil)
352
+ def create_or_update_async(resource_group_name, name, app_service_plan, custom_headers = nil)
352
353
  # Send request
353
- promise = begin_create_or_update_async(resource_group_name, name, app_service_plan, allow_pending_state, custom_headers)
354
+ promise = begin_create_or_update_async(resource_group_name, name, app_service_plan, custom_headers)
354
355
 
355
356
  promise = promise.then do |response|
356
357
  # Defining deserialization method.
@@ -367,29 +368,30 @@ module Azure::ARM::Web
367
368
  end
368
369
 
369
370
  #
370
- # Deletes a App Service Plan
371
+ # Delete an App Service plan.
371
372
  #
372
- # Deletes a App Service Plan
373
+ # Delete an App Service plan.
373
374
  #
374
- # @param resource_group_name [String] Name of resource group
375
- # @param name [String] Name of App Service Plan
375
+ # @param resource_group_name [String] Name of the resource group to which the
376
+ # resource belongs.
377
+ # @param name [String] Name of the App Service plan.
376
378
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
377
379
  # will be added to the HTTP request.
378
380
  #
379
- # @return [Object] operation results.
380
381
  #
381
382
  def delete(resource_group_name, name, custom_headers = nil)
382
383
  response = delete_async(resource_group_name, name, custom_headers).value!
383
- response.body unless response.nil?
384
+ nil
384
385
  end
385
386
 
386
387
  #
387
- # Deletes a App Service Plan
388
+ # Delete an App Service plan.
388
389
  #
389
- # Deletes a App Service Plan
390
+ # Delete an App Service plan.
390
391
  #
391
- # @param resource_group_name [String] Name of resource group
392
- # @param name [String] Name of App Service Plan
392
+ # @param resource_group_name [String] Name of the resource group to which the
393
+ # resource belongs.
394
+ # @param name [String] Name of the App Service plan.
393
395
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
394
396
  # will be added to the HTTP request.
395
397
  #
@@ -400,12 +402,13 @@ module Azure::ARM::Web
400
402
  end
401
403
 
402
404
  #
403
- # Deletes a App Service Plan
405
+ # Delete an App Service plan.
404
406
  #
405
- # Deletes a App Service Plan
407
+ # Delete an App Service plan.
406
408
  #
407
- # @param resource_group_name [String] Name of resource group
408
- # @param name [String] Name of App Service Plan
409
+ # @param resource_group_name [String] Name of the resource group to which the
410
+ # resource belongs.
411
+ # @param name [String] Name of the App Service plan.
409
412
  # @param [Hash{String => String}] A hash of custom headers that will be added
410
413
  # to the HTTP request.
411
414
  #
@@ -454,12 +457,13 @@ module Azure::ARM::Web
454
457
  end
455
458
 
456
459
  #
457
- # List serverfarm capabilities
460
+ # List all capabilities of an App Service plan.
458
461
  #
459
- # List serverfarm capabilities
462
+ # List all capabilities of an App Service plan.
460
463
  #
461
- # @param resource_group_name [String] The resource group name
462
- # @param name [String] The name of the App Service Plan
464
+ # @param resource_group_name [String] Name of the resource group to which the
465
+ # resource belongs.
466
+ # @param name [String] Name of the App Service plan.
463
467
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
464
468
  # will be added to the HTTP request.
465
469
  #
@@ -471,12 +475,13 @@ module Azure::ARM::Web
471
475
  end
472
476
 
473
477
  #
474
- # List serverfarm capabilities
478
+ # List all capabilities of an App Service plan.
475
479
  #
476
- # List serverfarm capabilities
480
+ # List all capabilities of an App Service plan.
477
481
  #
478
- # @param resource_group_name [String] The resource group name
479
- # @param name [String] The name of the App Service Plan
482
+ # @param resource_group_name [String] Name of the resource group to which the
483
+ # resource belongs.
484
+ # @param name [String] Name of the App Service plan.
480
485
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
481
486
  # will be added to the HTTP request.
482
487
  #
@@ -487,12 +492,13 @@ module Azure::ARM::Web
487
492
  end
488
493
 
489
494
  #
490
- # List serverfarm capabilities
495
+ # List all capabilities of an App Service plan.
491
496
  #
492
- # List serverfarm capabilities
497
+ # List all capabilities of an App Service plan.
493
498
  #
494
- # @param resource_group_name [String] The resource group name
495
- # @param name [String] The name of the App Service Plan
499
+ # @param resource_group_name [String] Name of the resource group to which the
500
+ # resource belongs.
501
+ # @param name [String] Name of the App Service plan.
496
502
  # @param [Hash{String => String}] A hash of custom headers that will be added
497
503
  # to the HTTP request.
498
504
  #
@@ -565,16 +571,15 @@ module Azure::ARM::Web
565
571
  end
566
572
 
567
573
  #
568
- # Retrieves a specific Service Bus Hybrid Connection in use on this App Service
569
- # Plan.
574
+ # Retrieve a Hybrid Connection in use in an App Service plan.
570
575
  #
571
- # Retrieves a specific Service Bus Hybrid Connection in use on this App Service
572
- # Plan.
576
+ # Retrieve a Hybrid Connection in use in an App Service plan.
573
577
  #
574
- # @param resource_group_name [String] The resource group name
575
- # @param name [String] The name of the App Service Plan
576
- # @param namespace_name [String] The name of the Service Bus Namespace
577
- # @param relay_name [String] The name of the Service Bus Relay
578
+ # @param resource_group_name [String] Name of the resource group to which the
579
+ # resource belongs.
580
+ # @param name [String] Name of the App Service plan.
581
+ # @param namespace_name [String] Name of the Service Bus namespace.
582
+ # @param relay_name [String] Name of the Service Bus relay.
578
583
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
579
584
  # will be added to the HTTP request.
580
585
  #
@@ -586,16 +591,15 @@ module Azure::ARM::Web
586
591
  end
587
592
 
588
593
  #
589
- # Retrieves a specific Service Bus Hybrid Connection in use on this App Service
590
- # Plan.
594
+ # Retrieve a Hybrid Connection in use in an App Service plan.
591
595
  #
592
- # Retrieves a specific Service Bus Hybrid Connection in use on this App Service
593
- # Plan.
596
+ # Retrieve a Hybrid Connection in use in an App Service plan.
594
597
  #
595
- # @param resource_group_name [String] The resource group name
596
- # @param name [String] The name of the App Service Plan
597
- # @param namespace_name [String] The name of the Service Bus Namespace
598
- # @param relay_name [String] The name of the Service Bus Relay
598
+ # @param resource_group_name [String] Name of the resource group to which the
599
+ # resource belongs.
600
+ # @param name [String] Name of the App Service plan.
601
+ # @param namespace_name [String] Name of the Service Bus namespace.
602
+ # @param relay_name [String] Name of the Service Bus relay.
599
603
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
600
604
  # will be added to the HTTP request.
601
605
  #
@@ -606,16 +610,15 @@ module Azure::ARM::Web
606
610
  end
607
611
 
608
612
  #
609
- # Retrieves a specific Service Bus Hybrid Connection in use on this App Service
610
- # Plan.
613
+ # Retrieve a Hybrid Connection in use in an App Service plan.
611
614
  #
612
- # Retrieves a specific Service Bus Hybrid Connection in use on this App Service
613
- # Plan.
615
+ # Retrieve a Hybrid Connection in use in an App Service plan.
614
616
  #
615
- # @param resource_group_name [String] The resource group name
616
- # @param name [String] The name of the App Service Plan
617
- # @param namespace_name [String] The name of the Service Bus Namespace
618
- # @param relay_name [String] The name of the Service Bus Relay
617
+ # @param resource_group_name [String] Name of the resource group to which the
618
+ # resource belongs.
619
+ # @param name [String] Name of the App Service plan.
620
+ # @param namespace_name [String] Name of the Service Bus namespace.
621
+ # @param relay_name [String] Name of the Service Bus relay.
619
622
  # @param [Hash{String => String}] A hash of custom headers that will be added
620
623
  # to the HTTP request.
621
624
  #
@@ -676,161 +679,34 @@ module Azure::ARM::Web
676
679
  end
677
680
 
678
681
  #
679
- # Updates an existing Service Bus Hybrid Connection in use on this App Service
680
- # Plan. This will fail if the Hybrid Connection does not already exist.
681
- #
682
- # Updates an existing Service Bus Hybrid Connection in use on this App Service
683
- # Plan. This will fail if the Hybrid Connection does not already exist.
684
- #
685
- # @param resource_group_name [String] The resource group name
686
- # @param name [String] The name of the App Service Plan
687
- # @param namespace_name [String] The name of the Service Bus Namespace
688
- # @param relay_name [String] The name of the Service Bus Relay
689
- # @param connection [HybridConnection] The hybrid connection entity
690
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
691
- # will be added to the HTTP request.
692
- #
693
- # @return [HybridConnection] operation results.
694
- #
695
- def update_hybrid_connection(resource_group_name, name, namespace_name, relay_name, connection, custom_headers = nil)
696
- response = update_hybrid_connection_async(resource_group_name, name, namespace_name, relay_name, connection, custom_headers).value!
697
- response.body unless response.nil?
698
- end
699
-
700
- #
701
- # Updates an existing Service Bus Hybrid Connection in use on this App Service
702
- # Plan. This will fail if the Hybrid Connection does not already exist.
682
+ # Delete a Hybrid Connection in use in an App Service plan.
703
683
  #
704
- # Updates an existing Service Bus Hybrid Connection in use on this App Service
705
- # Plan. This will fail if the Hybrid Connection does not already exist.
684
+ # Delete a Hybrid Connection in use in an App Service plan.
706
685
  #
707
- # @param resource_group_name [String] The resource group name
708
- # @param name [String] The name of the App Service Plan
709
- # @param namespace_name [String] The name of the Service Bus Namespace
710
- # @param relay_name [String] The name of the Service Bus Relay
711
- # @param connection [HybridConnection] The hybrid connection entity
686
+ # @param resource_group_name [String] Name of the resource group to which the
687
+ # resource belongs.
688
+ # @param name [String] Name of the App Service plan.
689
+ # @param namespace_name [String] Name of the Service Bus namespace.
690
+ # @param relay_name [String] Name of the Service Bus relay.
712
691
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
713
692
  # will be added to the HTTP request.
714
693
  #
715
- # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
716
- #
717
- def update_hybrid_connection_with_http_info(resource_group_name, name, namespace_name, relay_name, connection, custom_headers = nil)
718
- update_hybrid_connection_async(resource_group_name, name, namespace_name, relay_name, connection, custom_headers).value!
719
- end
720
-
721
- #
722
- # Updates an existing Service Bus Hybrid Connection in use on this App Service
723
- # Plan. This will fail if the Hybrid Connection does not already exist.
724
- #
725
- # Updates an existing Service Bus Hybrid Connection in use on this App Service
726
- # Plan. This will fail if the Hybrid Connection does not already exist.
727
- #
728
- # @param resource_group_name [String] The resource group name
729
- # @param name [String] The name of the App Service Plan
730
- # @param namespace_name [String] The name of the Service Bus Namespace
731
- # @param relay_name [String] The name of the Service Bus Relay
732
- # @param connection [HybridConnection] The hybrid connection entity
733
- # @param [Hash{String => String}] A hash of custom headers that will be added
734
- # to the HTTP request.
735
- #
736
- # @return [Concurrent::Promise] Promise object which holds the HTTP response.
737
- #
738
- def update_hybrid_connection_async(resource_group_name, name, namespace_name, relay_name, connection, custom_headers = nil)
739
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
740
- fail ArgumentError, 'name is nil' if name.nil?
741
- fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
742
- fail ArgumentError, 'relay_name is nil' if relay_name.nil?
743
- fail ArgumentError, 'connection is nil' if connection.nil?
744
- fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
745
- api_version = '2016-09-01'
746
-
747
-
748
- request_headers = {}
749
-
750
- # Set Headers
751
- request_headers['x-ms-client-request-id'] = SecureRandom.uuid
752
- request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
753
-
754
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
755
-
756
- # Serialize Request
757
- request_mapper = HybridConnection.mapper()
758
- request_content = @client.serialize(request_mapper, connection, 'connection')
759
- request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
760
-
761
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}'
762
-
763
- request_url = @base_url || @client.base_url
764
-
765
- options = {
766
- middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
767
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'namespaceName' => namespace_name,'relayName' => relay_name,'subscriptionId' => @client.subscription_id},
768
- query_params: {'api-version' => api_version},
769
- body: request_content,
770
- headers: request_headers.merge(custom_headers || {}),
771
- base_url: request_url
772
- }
773
- promise = @client.make_request_async(:put, path_template, options)
774
-
775
- promise = promise.then do |result|
776
- http_response = result.response
777
- status_code = http_response.status
778
- response_content = http_response.body
779
- unless status_code == 200
780
- error_model = JSON.load(response_content)
781
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
782
- end
783
-
784
- result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
785
- # Deserialize Response
786
- if status_code == 200
787
- begin
788
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
789
- result_mapper = HybridConnection.mapper()
790
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
791
- rescue Exception => e
792
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
793
- end
794
- end
795
-
796
- result
797
- end
798
-
799
- promise.execute
800
- end
801
-
802
- #
803
- # Deletes an existing Service Bus Hybrid Connection in use on this App Service
804
- # Plan.
805
- #
806
- # Deletes an existing Service Bus Hybrid Connection in use on this App Service
807
- # Plan.
808
- #
809
- # @param resource_group_name [String] The resource group name
810
- # @param name [String] The name of the App Service Plan
811
- # @param namespace_name [String] The name of the Service Bus Namespace
812
- # @param relay_name [String] The name of the Service Bus Relay
813
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
814
- # will be added to the HTTP request.
815
- #
816
- # @return [Object] operation results.
817
694
  #
818
695
  def delete_hybrid_connection(resource_group_name, name, namespace_name, relay_name, custom_headers = nil)
819
696
  response = delete_hybrid_connection_async(resource_group_name, name, namespace_name, relay_name, custom_headers).value!
820
- response.body unless response.nil?
697
+ nil
821
698
  end
822
699
 
823
700
  #
824
- # Deletes an existing Service Bus Hybrid Connection in use on this App Service
825
- # Plan.
701
+ # Delete a Hybrid Connection in use in an App Service plan.
826
702
  #
827
- # Deletes an existing Service Bus Hybrid Connection in use on this App Service
828
- # Plan.
703
+ # Delete a Hybrid Connection in use in an App Service plan.
829
704
  #
830
- # @param resource_group_name [String] The resource group name
831
- # @param name [String] The name of the App Service Plan
832
- # @param namespace_name [String] The name of the Service Bus Namespace
833
- # @param relay_name [String] The name of the Service Bus Relay
705
+ # @param resource_group_name [String] Name of the resource group to which the
706
+ # resource belongs.
707
+ # @param name [String] Name of the App Service plan.
708
+ # @param namespace_name [String] Name of the Service Bus namespace.
709
+ # @param relay_name [String] Name of the Service Bus relay.
834
710
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
835
711
  # will be added to the HTTP request.
836
712
  #
@@ -841,16 +717,15 @@ module Azure::ARM::Web
841
717
  end
842
718
 
843
719
  #
844
- # Deletes an existing Service Bus Hybrid Connection in use on this App Service
845
- # Plan.
720
+ # Delete a Hybrid Connection in use in an App Service plan.
846
721
  #
847
- # Deletes an existing Service Bus Hybrid Connection in use on this App Service
848
- # Plan.
722
+ # Delete a Hybrid Connection in use in an App Service plan.
849
723
  #
850
- # @param resource_group_name [String] The resource group name
851
- # @param name [String] The name of the App Service Plan
852
- # @param namespace_name [String] The name of the Service Bus Namespace
853
- # @param relay_name [String] The name of the Service Bus Relay
724
+ # @param resource_group_name [String] Name of the resource group to which the
725
+ # resource belongs.
726
+ # @param name [String] Name of the App Service plan.
727
+ # @param namespace_name [String] Name of the Service Bus namespace.
728
+ # @param relay_name [String] Name of the Service Bus relay.
854
729
  # @param [Hash{String => String}] A hash of custom headers that will be added
855
730
  # to the HTTP request.
856
731
  #
@@ -887,7 +762,7 @@ module Azure::ARM::Web
887
762
  http_response = result.response
888
763
  status_code = http_response.status
889
764
  response_content = http_response.body
890
- unless status_code == 200
765
+ unless status_code == 200 || status_code == 204
891
766
  error_model = JSON.load(response_content)
892
767
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
893
768
  end
@@ -901,14 +776,15 @@ module Azure::ARM::Web
901
776
  end
902
777
 
903
778
  #
904
- # Gets the send key name and value for this Hybrid Connection
779
+ # Get the send key name and value of a Hybrid Connection.
905
780
  #
906
- # Gets the send key name and value for this Hybrid Connection
781
+ # Get the send key name and value of a Hybrid Connection.
907
782
  #
908
- # @param resource_group_name [String] The resource group name
909
- # @param name [String] The name of the App Service Plan
910
- # @param namespace_name [String] The name of the Service Bus Namespace
911
- # @param relay_name [String] The name of the Service Bus Relay
783
+ # @param resource_group_name [String] Name of the resource group to which the
784
+ # resource belongs.
785
+ # @param name [String] Name of the App Service plan.
786
+ # @param namespace_name [String] The name of the Service Bus namespace.
787
+ # @param relay_name [String] The name of the Service Bus relay.
912
788
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
913
789
  # will be added to the HTTP request.
914
790
  #
@@ -920,14 +796,15 @@ module Azure::ARM::Web
920
796
  end
921
797
 
922
798
  #
923
- # Gets the send key name and value for this Hybrid Connection
799
+ # Get the send key name and value of a Hybrid Connection.
924
800
  #
925
- # Gets the send key name and value for this Hybrid Connection
801
+ # Get the send key name and value of a Hybrid Connection.
926
802
  #
927
- # @param resource_group_name [String] The resource group name
928
- # @param name [String] The name of the App Service Plan
929
- # @param namespace_name [String] The name of the Service Bus Namespace
930
- # @param relay_name [String] The name of the Service Bus Relay
803
+ # @param resource_group_name [String] Name of the resource group to which the
804
+ # resource belongs.
805
+ # @param name [String] Name of the App Service plan.
806
+ # @param namespace_name [String] The name of the Service Bus namespace.
807
+ # @param relay_name [String] The name of the Service Bus relay.
931
808
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
932
809
  # will be added to the HTTP request.
933
810
  #
@@ -938,14 +815,15 @@ module Azure::ARM::Web
938
815
  end
939
816
 
940
817
  #
941
- # Gets the send key name and value for this Hybrid Connection
818
+ # Get the send key name and value of a Hybrid Connection.
942
819
  #
943
- # Gets the send key name and value for this Hybrid Connection
820
+ # Get the send key name and value of a Hybrid Connection.
944
821
  #
945
- # @param resource_group_name [String] The resource group name
946
- # @param name [String] The name of the App Service Plan
947
- # @param namespace_name [String] The name of the Service Bus Namespace
948
- # @param relay_name [String] The name of the Service Bus Relay
822
+ # @param resource_group_name [String] Name of the resource group to which the
823
+ # resource belongs.
824
+ # @param name [String] Name of the App Service plan.
825
+ # @param namespace_name [String] The name of the Service Bus namespace.
826
+ # @param relay_name [String] The name of the Service Bus relay.
949
827
  # @param [Hash{String => String}] A hash of custom headers that will be added
950
828
  # to the HTTP request.
951
829
  #
@@ -1006,63 +884,60 @@ module Azure::ARM::Web
1006
884
  end
1007
885
 
1008
886
  #
1009
- # Gets a list of sites that are using a particular Hybrid Connection on an App
1010
- # Service Plan
887
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
1011
888
  #
1012
- # Gets a list of sites that are using a particular Hybrid Connection on an App
1013
- # Service Plan
889
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
1014
890
  #
1015
- # @param resource_group_name [String] The resource group
1016
- # @param name [String] The name of the App Service Plan
1017
- # @param namespace_name [String] The Hybrid Connection namespace
1018
- # @param relay_name [String] The Hybrid Connection relay name
891
+ # @param resource_group_name [String] Name of the resource group to which the
892
+ # resource belongs.
893
+ # @param name [String] Name of the App Service plan.
894
+ # @param namespace_name [String] Name of the Hybrid Connection namespace.
895
+ # @param relay_name [String] Name of the Hybrid Connection relay.
1019
896
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1020
897
  # will be added to the HTTP request.
1021
898
  #
1022
- # @return [Object] operation results.
899
+ # @return [Array<String>] operation results.
1023
900
  #
1024
- def list_hybrid_connection_web_apps(resource_group_name, name, namespace_name, relay_name, custom_headers = nil)
1025
- response = list_hybrid_connection_web_apps_async(resource_group_name, name, namespace_name, relay_name, custom_headers).value!
1026
- response.body unless response.nil?
901
+ def list_web_apps_by_hybrid_connection(resource_group_name, name, namespace_name, relay_name, custom_headers = nil)
902
+ first_page = list_web_apps_by_hybrid_connection_as_lazy(resource_group_name, name, namespace_name, relay_name, custom_headers)
903
+ first_page.get_all_items
1027
904
  end
1028
905
 
1029
906
  #
1030
- # Gets a list of sites that are using a particular Hybrid Connection on an App
1031
- # Service Plan
907
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
1032
908
  #
1033
- # Gets a list of sites that are using a particular Hybrid Connection on an App
1034
- # Service Plan
909
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
1035
910
  #
1036
- # @param resource_group_name [String] The resource group
1037
- # @param name [String] The name of the App Service Plan
1038
- # @param namespace_name [String] The Hybrid Connection namespace
1039
- # @param relay_name [String] The Hybrid Connection relay name
911
+ # @param resource_group_name [String] Name of the resource group to which the
912
+ # resource belongs.
913
+ # @param name [String] Name of the App Service plan.
914
+ # @param namespace_name [String] Name of the Hybrid Connection namespace.
915
+ # @param relay_name [String] Name of the Hybrid Connection relay.
1040
916
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1041
917
  # will be added to the HTTP request.
1042
918
  #
1043
919
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1044
920
  #
1045
- def list_hybrid_connection_web_apps_with_http_info(resource_group_name, name, namespace_name, relay_name, custom_headers = nil)
1046
- list_hybrid_connection_web_apps_async(resource_group_name, name, namespace_name, relay_name, custom_headers).value!
921
+ def list_web_apps_by_hybrid_connection_with_http_info(resource_group_name, name, namespace_name, relay_name, custom_headers = nil)
922
+ list_web_apps_by_hybrid_connection_async(resource_group_name, name, namespace_name, relay_name, custom_headers).value!
1047
923
  end
1048
924
 
1049
925
  #
1050
- # Gets a list of sites that are using a particular Hybrid Connection on an App
1051
- # Service Plan
926
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
1052
927
  #
1053
- # Gets a list of sites that are using a particular Hybrid Connection on an App
1054
- # Service Plan
928
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
1055
929
  #
1056
- # @param resource_group_name [String] The resource group
1057
- # @param name [String] The name of the App Service Plan
1058
- # @param namespace_name [String] The Hybrid Connection namespace
1059
- # @param relay_name [String] The Hybrid Connection relay name
930
+ # @param resource_group_name [String] Name of the resource group to which the
931
+ # resource belongs.
932
+ # @param name [String] Name of the App Service plan.
933
+ # @param namespace_name [String] Name of the Hybrid Connection namespace.
934
+ # @param relay_name [String] Name of the Hybrid Connection relay.
1060
935
  # @param [Hash{String => String}] A hash of custom headers that will be added
1061
936
  # to the HTTP request.
1062
937
  #
1063
938
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1064
939
  #
1065
- def list_hybrid_connection_web_apps_async(resource_group_name, name, namespace_name, relay_name, custom_headers = nil)
940
+ def list_web_apps_by_hybrid_connection_async(resource_group_name, name, namespace_name, relay_name, custom_headers = nil)
1066
941
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1067
942
  fail ArgumentError, 'name is nil' if name.nil?
1068
943
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
@@ -1099,6 +974,16 @@ module Azure::ARM::Web
1099
974
  end
1100
975
 
1101
976
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
977
+ # Deserialize Response
978
+ if status_code == 200
979
+ begin
980
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
981
+ result_mapper = ResourceCollection.mapper()
982
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
983
+ rescue Exception => e
984
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
985
+ end
986
+ end
1102
987
 
1103
988
  result
1104
989
  end
@@ -1107,18 +992,17 @@ module Azure::ARM::Web
1107
992
  end
1108
993
 
1109
994
  #
1110
- # Gets the maximum number of Hybrid Connections allowed on a specified App
1111
- # Service Plan
995
+ # Get the maximum number of Hybrid Connections allowed in an App Service plan.
1112
996
  #
1113
- # Gets the maximum number of Hybrid Connections allowed on a specified App
1114
- # Service Plan
997
+ # Get the maximum number of Hybrid Connections allowed in an App Service plan.
1115
998
  #
1116
- # @param resource_group_name [String] The resource group
1117
- # @param name [String] The name of the App Service Plan
999
+ # @param resource_group_name [String] Name of the resource group to which the
1000
+ # resource belongs.
1001
+ # @param name [String] Name of the App Service plan.
1118
1002
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1119
1003
  # will be added to the HTTP request.
1120
1004
  #
1121
- # @return [Object] operation results.
1005
+ # @return [HybridConnectionLimits] operation results.
1122
1006
  #
1123
1007
  def get_hybrid_connection_plan_limit(resource_group_name, name, custom_headers = nil)
1124
1008
  response = get_hybrid_connection_plan_limit_async(resource_group_name, name, custom_headers).value!
@@ -1126,14 +1010,13 @@ module Azure::ARM::Web
1126
1010
  end
1127
1011
 
1128
1012
  #
1129
- # Gets the maximum number of Hybrid Connections allowed on a specified App
1130
- # Service Plan
1013
+ # Get the maximum number of Hybrid Connections allowed in an App Service plan.
1131
1014
  #
1132
- # Gets the maximum number of Hybrid Connections allowed on a specified App
1133
- # Service Plan
1015
+ # Get the maximum number of Hybrid Connections allowed in an App Service plan.
1134
1016
  #
1135
- # @param resource_group_name [String] The resource group
1136
- # @param name [String] The name of the App Service Plan
1017
+ # @param resource_group_name [String] Name of the resource group to which the
1018
+ # resource belongs.
1019
+ # @param name [String] Name of the App Service plan.
1137
1020
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1138
1021
  # will be added to the HTTP request.
1139
1022
  #
@@ -1144,14 +1027,13 @@ module Azure::ARM::Web
1144
1027
  end
1145
1028
 
1146
1029
  #
1147
- # Gets the maximum number of Hybrid Connections allowed on a specified App
1148
- # Service Plan
1030
+ # Get the maximum number of Hybrid Connections allowed in an App Service plan.
1149
1031
  #
1150
- # Gets the maximum number of Hybrid Connections allowed on a specified App
1151
- # Service Plan
1032
+ # Get the maximum number of Hybrid Connections allowed in an App Service plan.
1152
1033
  #
1153
- # @param resource_group_name [String] The resource group
1154
- # @param name [String] The name of the App Service Plan
1034
+ # @param resource_group_name [String] Name of the resource group to which the
1035
+ # resource belongs.
1036
+ # @param name [String] Name of the App Service plan.
1155
1037
  # @param [Hash{String => String}] A hash of custom headers that will be added
1156
1038
  # to the HTTP request.
1157
1039
  #
@@ -1192,6 +1074,16 @@ module Azure::ARM::Web
1192
1074
  end
1193
1075
 
1194
1076
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1077
+ # Deserialize Response
1078
+ if status_code == 200
1079
+ begin
1080
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1081
+ result_mapper = HybridConnectionLimits.mapper()
1082
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1083
+ rescue Exception => e
1084
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1085
+ end
1086
+ end
1195
1087
 
1196
1088
  result
1197
1089
  end
@@ -1200,29 +1092,31 @@ module Azure::ARM::Web
1200
1092
  end
1201
1093
 
1202
1094
  #
1203
- # Retrieves all Service Bus Hybrid Connections in use on this App Service Plan
1095
+ # Retrieve all Hybrid Connections in use in an App Service plan.
1204
1096
  #
1205
- # Retrieves all Service Bus Hybrid Connections in use on this App Service Plan
1097
+ # Retrieve all Hybrid Connections in use in an App Service plan.
1206
1098
  #
1207
- # @param resource_group_name [String] The resource group name
1208
- # @param name [String] The name of the App Service Plan
1099
+ # @param resource_group_name [String] Name of the resource group to which the
1100
+ # resource belongs.
1101
+ # @param name [String] Name of the App Service plan.
1209
1102
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1210
1103
  # will be added to the HTTP request.
1211
1104
  #
1212
- # @return [HybridConnection] operation results.
1105
+ # @return [Array<HybridConnection>] operation results.
1213
1106
  #
1214
1107
  def list_hybrid_connections(resource_group_name, name, custom_headers = nil)
1215
- response = list_hybrid_connections_async(resource_group_name, name, custom_headers).value!
1216
- response.body unless response.nil?
1108
+ first_page = list_hybrid_connections_as_lazy(resource_group_name, name, custom_headers)
1109
+ first_page.get_all_items
1217
1110
  end
1218
1111
 
1219
1112
  #
1220
- # Retrieves all Service Bus Hybrid Connections in use on this App Service Plan
1113
+ # Retrieve all Hybrid Connections in use in an App Service plan.
1221
1114
  #
1222
- # Retrieves all Service Bus Hybrid Connections in use on this App Service Plan
1115
+ # Retrieve all Hybrid Connections in use in an App Service plan.
1223
1116
  #
1224
- # @param resource_group_name [String] The resource group name
1225
- # @param name [String] The name of the App Service Plan
1117
+ # @param resource_group_name [String] Name of the resource group to which the
1118
+ # resource belongs.
1119
+ # @param name [String] Name of the App Service plan.
1226
1120
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1227
1121
  # will be added to the HTTP request.
1228
1122
  #
@@ -1233,12 +1127,13 @@ module Azure::ARM::Web
1233
1127
  end
1234
1128
 
1235
1129
  #
1236
- # Retrieves all Service Bus Hybrid Connections in use on this App Service Plan
1130
+ # Retrieve all Hybrid Connections in use in an App Service plan.
1237
1131
  #
1238
- # Retrieves all Service Bus Hybrid Connections in use on this App Service Plan
1132
+ # Retrieve all Hybrid Connections in use in an App Service plan.
1239
1133
  #
1240
- # @param resource_group_name [String] The resource group name
1241
- # @param name [String] The name of the App Service Plan
1134
+ # @param resource_group_name [String] Name of the resource group to which the
1135
+ # resource belongs.
1136
+ # @param name [String] Name of the App Service plan.
1242
1137
  # @param [Hash{String => String}] A hash of custom headers that will be added
1243
1138
  # to the HTTP request.
1244
1139
  #
@@ -1283,7 +1178,7 @@ module Azure::ARM::Web
1283
1178
  if status_code == 200
1284
1179
  begin
1285
1180
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1286
- result_mapper = HybridConnection.mapper()
1181
+ result_mapper = HybridConnectionCollection.mapper()
1287
1182
  result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1288
1183
  rescue Exception => e
1289
1184
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1297,16 +1192,19 @@ module Azure::ARM::Web
1297
1192
  end
1298
1193
 
1299
1194
  #
1300
- # List of metrics that can be queried for an App Service Plan
1195
+ # Get metrics that can be queried for an App Service plan, and their
1196
+ # definitions.
1301
1197
  #
1302
- # List of metrics that can be queried for an App Service Plan
1198
+ # Get metrics that can be queried for an App Service plan, and their
1199
+ # definitions.
1303
1200
  #
1304
- # @param resource_group_name [String] Name of resource group
1305
- # @param name [String] Name of App Service Plan
1201
+ # @param resource_group_name [String] Name of the resource group to which the
1202
+ # resource belongs.
1203
+ # @param name [String] Name of the App Service plan.
1306
1204
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1307
1205
  # will be added to the HTTP request.
1308
1206
  #
1309
- # @return [Array<MetricDefinition>] operation results.
1207
+ # @return [Array<ResourceMetricDefinition>] operation results.
1310
1208
  #
1311
1209
  def list_metric_defintions(resource_group_name, name, custom_headers = nil)
1312
1210
  first_page = list_metric_defintions_as_lazy(resource_group_name, name, custom_headers)
@@ -1314,12 +1212,15 @@ module Azure::ARM::Web
1314
1212
  end
1315
1213
 
1316
1214
  #
1317
- # List of metrics that can be queried for an App Service Plan
1215
+ # Get metrics that can be queried for an App Service plan, and their
1216
+ # definitions.
1318
1217
  #
1319
- # List of metrics that can be queried for an App Service Plan
1218
+ # Get metrics that can be queried for an App Service plan, and their
1219
+ # definitions.
1320
1220
  #
1321
- # @param resource_group_name [String] Name of resource group
1322
- # @param name [String] Name of App Service Plan
1221
+ # @param resource_group_name [String] Name of the resource group to which the
1222
+ # resource belongs.
1223
+ # @param name [String] Name of the App Service plan.
1323
1224
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1324
1225
  # will be added to the HTTP request.
1325
1226
  #
@@ -1330,12 +1231,15 @@ module Azure::ARM::Web
1330
1231
  end
1331
1232
 
1332
1233
  #
1333
- # List of metrics that can be queried for an App Service Plan
1234
+ # Get metrics that can be queried for an App Service plan, and their
1235
+ # definitions.
1334
1236
  #
1335
- # List of metrics that can be queried for an App Service Plan
1237
+ # Get metrics that can be queried for an App Service plan, and their
1238
+ # definitions.
1336
1239
  #
1337
- # @param resource_group_name [String] Name of resource group
1338
- # @param name [String] Name of App Service Plan
1240
+ # @param resource_group_name [String] Name of the resource group to which the
1241
+ # resource belongs.
1242
+ # @param name [String] Name of the App Service plan.
1339
1243
  # @param [Hash{String => String}] A hash of custom headers that will be added
1340
1244
  # to the HTTP request.
1341
1245
  #
@@ -1380,7 +1284,7 @@ module Azure::ARM::Web
1380
1284
  if status_code == 200
1381
1285
  begin
1382
1286
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1383
- result_mapper = MetricDefinitionCollection.mapper()
1287
+ result_mapper = ResourceMetricDefinitionCollection.mapper()
1384
1288
  result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1385
1289
  rescue Exception => e
1386
1290
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1394,14 +1298,15 @@ module Azure::ARM::Web
1394
1298
  end
1395
1299
 
1396
1300
  #
1397
- # Queries for App Serice Plan metrics
1301
+ # Get metrics for an App Serice plan.
1398
1302
  #
1399
- # Queries for App Serice Plan metrics
1303
+ # Get metrics for an App Serice plan.
1400
1304
  #
1401
- # @param resource_group_name [String] Name of resource group
1402
- # @param name [String] Name of App Service Plan
1403
- # @param details [Boolean] If true, metrics are broken down per App Service
1404
- # Plan instance
1305
+ # @param resource_group_name [String] Name of the resource group to which the
1306
+ # resource belongs.
1307
+ # @param name [String] Name of the App Service plan.
1308
+ # @param details [Boolean] Specify <code>true</code> to include instance
1309
+ # details. The default is <code>false</code>.
1405
1310
  # @param filter [String] Return only usages/metrics specified in the filter.
1406
1311
  # Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
1407
1312
  # name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
@@ -1417,14 +1322,15 @@ module Azure::ARM::Web
1417
1322
  end
1418
1323
 
1419
1324
  #
1420
- # Queries for App Serice Plan metrics
1325
+ # Get metrics for an App Serice plan.
1421
1326
  #
1422
- # Queries for App Serice Plan metrics
1327
+ # Get metrics for an App Serice plan.
1423
1328
  #
1424
- # @param resource_group_name [String] Name of resource group
1425
- # @param name [String] Name of App Service Plan
1426
- # @param details [Boolean] If true, metrics are broken down per App Service
1427
- # Plan instance
1329
+ # @param resource_group_name [String] Name of the resource group to which the
1330
+ # resource belongs.
1331
+ # @param name [String] Name of the App Service plan.
1332
+ # @param details [Boolean] Specify <code>true</code> to include instance
1333
+ # details. The default is <code>false</code>.
1428
1334
  # @param filter [String] Return only usages/metrics specified in the filter.
1429
1335
  # Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
1430
1336
  # name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
@@ -1439,14 +1345,15 @@ module Azure::ARM::Web
1439
1345
  end
1440
1346
 
1441
1347
  #
1442
- # Queries for App Serice Plan metrics
1348
+ # Get metrics for an App Serice plan.
1443
1349
  #
1444
- # Queries for App Serice Plan metrics
1350
+ # Get metrics for an App Serice plan.
1445
1351
  #
1446
- # @param resource_group_name [String] Name of resource group
1447
- # @param name [String] Name of App Service Plan
1448
- # @param details [Boolean] If true, metrics are broken down per App Service
1449
- # Plan instance
1352
+ # @param resource_group_name [String] Name of the resource group to which the
1353
+ # resource belongs.
1354
+ # @param name [String] Name of the App Service plan.
1355
+ # @param details [Boolean] Specify <code>true</code> to include instance
1356
+ # details. The default is <code>false</code>.
1450
1357
  # @param filter [String] Return only usages/metrics specified in the filter.
1451
1358
  # Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
1452
1359
  # name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
@@ -1475,7 +1382,8 @@ module Azure::ARM::Web
1475
1382
  options = {
1476
1383
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1477
1384
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
1478
- query_params: {'details' => details,'$filter' => filter,'api-version' => api_version},
1385
+ query_params: {'details' => details,'api-version' => api_version},
1386
+ skip_encoding_query_params: {'$filter' => filter},
1479
1387
  headers: request_headers.merge(custom_headers || {}),
1480
1388
  base_url: request_url
1481
1389
  }
@@ -1509,135 +1417,37 @@ module Azure::ARM::Web
1509
1417
  end
1510
1418
 
1511
1419
  #
1512
- # Gets a server farm operation
1513
- #
1514
- # Gets a server farm operation
1515
- #
1516
- # @param resource_group_name [String] Name of resource group
1517
- # @param name [String] Name of server farm
1518
- # @param operation_id [String] Id of Server farm operation"&gt;
1519
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
1520
- # will be added to the HTTP request.
1521
- #
1522
- # @return [AppServicePlan] operation results.
1523
- #
1524
- def get_operation(resource_group_name, name, operation_id, custom_headers = nil)
1525
- response = get_operation_async(resource_group_name, name, operation_id, custom_headers).value!
1526
- response.body unless response.nil?
1527
- end
1528
-
1529
- #
1530
- # Gets a server farm operation
1531
- #
1532
- # Gets a server farm operation
1533
- #
1534
- # @param resource_group_name [String] Name of resource group
1535
- # @param name [String] Name of server farm
1536
- # @param operation_id [String] Id of Server farm operation"&gt;
1537
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
1538
- # will be added to the HTTP request.
1539
- #
1540
- # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1541
- #
1542
- def get_operation_with_http_info(resource_group_name, name, operation_id, custom_headers = nil)
1543
- get_operation_async(resource_group_name, name, operation_id, custom_headers).value!
1544
- end
1545
-
1546
- #
1547
- # Gets a server farm operation
1548
- #
1549
- # Gets a server farm operation
1550
- #
1551
- # @param resource_group_name [String] Name of resource group
1552
- # @param name [String] Name of server farm
1553
- # @param operation_id [String] Id of Server farm operation"&gt;
1554
- # @param [Hash{String => String}] A hash of custom headers that will be added
1555
- # to the HTTP request.
1556
- #
1557
- # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1558
- #
1559
- def get_operation_async(resource_group_name, name, operation_id, custom_headers = nil)
1560
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1561
- fail ArgumentError, 'name is nil' if name.nil?
1562
- fail ArgumentError, 'operation_id is nil' if operation_id.nil?
1563
- fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1564
- api_version = '2016-09-01'
1565
-
1566
-
1567
- request_headers = {}
1568
-
1569
- # Set Headers
1570
- request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1571
- request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1572
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/operationresults/{operationId}'
1573
-
1574
- request_url = @base_url || @client.base_url
1575
-
1576
- options = {
1577
- middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1578
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'operationId' => operation_id,'subscriptionId' => @client.subscription_id},
1579
- query_params: {'api-version' => api_version},
1580
- headers: request_headers.merge(custom_headers || {}),
1581
- base_url: request_url
1582
- }
1583
- promise = @client.make_request_async(:get, path_template, options)
1584
-
1585
- promise = promise.then do |result|
1586
- http_response = result.response
1587
- status_code = http_response.status
1588
- response_content = http_response.body
1589
- unless status_code == 200
1590
- error_model = JSON.load(response_content)
1591
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1592
- end
1593
-
1594
- result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1595
- # Deserialize Response
1596
- if status_code == 200
1597
- begin
1598
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1599
- result_mapper = AppServicePlan.mapper()
1600
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1601
- rescue Exception => e
1602
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1603
- end
1604
- end
1605
-
1606
- result
1607
- end
1608
-
1609
- promise.execute
1610
- end
1611
-
1612
- #
1613
- # Restarts web apps in a specified App Service Plan
1420
+ # Restart all apps in an App Service plan.
1614
1421
  #
1615
- # Restarts web apps in a specified App Service Plan
1422
+ # Restart all apps in an App Service plan.
1616
1423
  #
1617
- # @param resource_group_name [String] Name of resource group
1618
- # @param name [String] Name of App Service Plan
1619
- # @param soft_restart [Boolean] Soft restart applies the configuration settings
1620
- # and restarts the apps if necessary. Hard restart always restarts and
1424
+ # @param resource_group_name [String] Name of the resource group to which the
1425
+ # resource belongs.
1426
+ # @param name [String] Name of the App Service plan.
1427
+ # @param soft_restart [Boolean] Specify <code>true</code> to performa a soft
1428
+ # restart, applies the configuration settings and restarts the apps if
1429
+ # necessary. The default is <code>false</code>, which always restarts and
1621
1430
  # reprovisions the apps
1622
1431
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1623
1432
  # will be added to the HTTP request.
1624
1433
  #
1625
- # @return [Object] operation results.
1626
1434
  #
1627
1435
  def restart_web_apps(resource_group_name, name, soft_restart = nil, custom_headers = nil)
1628
1436
  response = restart_web_apps_async(resource_group_name, name, soft_restart, custom_headers).value!
1629
- response.body unless response.nil?
1437
+ nil
1630
1438
  end
1631
1439
 
1632
1440
  #
1633
- # Restarts web apps in a specified App Service Plan
1441
+ # Restart all apps in an App Service plan.
1634
1442
  #
1635
- # Restarts web apps in a specified App Service Plan
1443
+ # Restart all apps in an App Service plan.
1636
1444
  #
1637
- # @param resource_group_name [String] Name of resource group
1638
- # @param name [String] Name of App Service Plan
1639
- # @param soft_restart [Boolean] Soft restart applies the configuration settings
1640
- # and restarts the apps if necessary. Hard restart always restarts and
1445
+ # @param resource_group_name [String] Name of the resource group to which the
1446
+ # resource belongs.
1447
+ # @param name [String] Name of the App Service plan.
1448
+ # @param soft_restart [Boolean] Specify <code>true</code> to performa a soft
1449
+ # restart, applies the configuration settings and restarts the apps if
1450
+ # necessary. The default is <code>false</code>, which always restarts and
1641
1451
  # reprovisions the apps
1642
1452
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1643
1453
  # will be added to the HTTP request.
@@ -1649,14 +1459,16 @@ module Azure::ARM::Web
1649
1459
  end
1650
1460
 
1651
1461
  #
1652
- # Restarts web apps in a specified App Service Plan
1462
+ # Restart all apps in an App Service plan.
1653
1463
  #
1654
- # Restarts web apps in a specified App Service Plan
1464
+ # Restart all apps in an App Service plan.
1655
1465
  #
1656
- # @param resource_group_name [String] Name of resource group
1657
- # @param name [String] Name of App Service Plan
1658
- # @param soft_restart [Boolean] Soft restart applies the configuration settings
1659
- # and restarts the apps if necessary. Hard restart always restarts and
1466
+ # @param resource_group_name [String] Name of the resource group to which the
1467
+ # resource belongs.
1468
+ # @param name [String] Name of the App Service plan.
1469
+ # @param soft_restart [Boolean] Specify <code>true</code> to performa a soft
1470
+ # restart, applies the configuration settings and restarts the apps if
1471
+ # necessary. The default is <code>false</code>, which always restarts and
1660
1472
  # reprovisions the apps
1661
1473
  # @param [Hash{String => String}] A hash of custom headers that will be added
1662
1474
  # to the HTTP request.
@@ -1692,7 +1504,7 @@ module Azure::ARM::Web
1692
1504
  http_response = result.response
1693
1505
  status_code = http_response.status
1694
1506
  response_content = http_response.body
1695
- unless status_code == 200
1507
+ unless status_code == 204
1696
1508
  error_model = JSON.load(response_content)
1697
1509
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1698
1510
  end
@@ -1706,15 +1518,17 @@ module Azure::ARM::Web
1706
1518
  end
1707
1519
 
1708
1520
  #
1709
- # Gets list of Apps associated with an App Service Plan
1521
+ # Get all apps associated with an App Service plan.
1710
1522
  #
1711
- # Gets list of Apps associated with an App Service Plan
1523
+ # Get all apps associated with an App Service plan.
1712
1524
  #
1713
- # @param resource_group_name [String] Name of resource group
1714
- # @param name [String] Name of App Service Plan
1715
- # @param skip_token [String] Skip to of web apps in a list. If specified, the
1716
- # resulting list will contain web apps starting from (including) the skipToken.
1717
- # Else, the resulting list contains web apps from the start of the list
1525
+ # @param resource_group_name [String] Name of the resource group to which the
1526
+ # resource belongs.
1527
+ # @param name [String] Name of the App Service plan.
1528
+ # @param skip_token [String] Skip to a web app in the list of webapps
1529
+ # associated with app service plan. If specified, the resulting list will
1530
+ # contain web apps starting from (including) the skipToken. Otherwise, the
1531
+ # resulting list contains web apps from the start of the list
1718
1532
  # @param filter [String] Supported filter: $filter=state eq running. Returns
1719
1533
  # only web apps that are currently running
1720
1534
  # @param top [String] List page size. If specified, results are paged.
@@ -1729,15 +1543,17 @@ module Azure::ARM::Web
1729
1543
  end
1730
1544
 
1731
1545
  #
1732
- # Gets list of Apps associated with an App Service Plan
1546
+ # Get all apps associated with an App Service plan.
1733
1547
  #
1734
- # Gets list of Apps associated with an App Service Plan
1548
+ # Get all apps associated with an App Service plan.
1735
1549
  #
1736
- # @param resource_group_name [String] Name of resource group
1737
- # @param name [String] Name of App Service Plan
1738
- # @param skip_token [String] Skip to of web apps in a list. If specified, the
1739
- # resulting list will contain web apps starting from (including) the skipToken.
1740
- # Else, the resulting list contains web apps from the start of the list
1550
+ # @param resource_group_name [String] Name of the resource group to which the
1551
+ # resource belongs.
1552
+ # @param name [String] Name of the App Service plan.
1553
+ # @param skip_token [String] Skip to a web app in the list of webapps
1554
+ # associated with app service plan. If specified, the resulting list will
1555
+ # contain web apps starting from (including) the skipToken. Otherwise, the
1556
+ # resulting list contains web apps from the start of the list
1741
1557
  # @param filter [String] Supported filter: $filter=state eq running. Returns
1742
1558
  # only web apps that are currently running
1743
1559
  # @param top [String] List page size. If specified, results are paged.
@@ -1751,15 +1567,17 @@ module Azure::ARM::Web
1751
1567
  end
1752
1568
 
1753
1569
  #
1754
- # Gets list of Apps associated with an App Service Plan
1570
+ # Get all apps associated with an App Service plan.
1755
1571
  #
1756
- # Gets list of Apps associated with an App Service Plan
1572
+ # Get all apps associated with an App Service plan.
1757
1573
  #
1758
- # @param resource_group_name [String] Name of resource group
1759
- # @param name [String] Name of App Service Plan
1760
- # @param skip_token [String] Skip to of web apps in a list. If specified, the
1761
- # resulting list will contain web apps starting from (including) the skipToken.
1762
- # Else, the resulting list contains web apps from the start of the list
1574
+ # @param resource_group_name [String] Name of the resource group to which the
1575
+ # resource belongs.
1576
+ # @param name [String] Name of the App Service plan.
1577
+ # @param skip_token [String] Skip to a web app in the list of webapps
1578
+ # associated with app service plan. If specified, the resulting list will
1579
+ # contain web apps starting from (including) the skipToken. Otherwise, the
1580
+ # resulting list contains web apps from the start of the list
1763
1581
  # @param filter [String] Supported filter: $filter=state eq running. Returns
1764
1582
  # only web apps that are currently running
1765
1583
  # @param top [String] List page size. If specified, results are paged.
@@ -1787,7 +1605,8 @@ module Azure::ARM::Web
1787
1605
  options = {
1788
1606
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1789
1607
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
1790
- query_params: {'$skipToken' => skip_token,'$filter' => filter,'$top' => top,'api-version' => api_version},
1608
+ query_params: {'$skipToken' => skip_token,'$top' => top,'api-version' => api_version},
1609
+ skip_encoding_query_params: {'$filter' => filter},
1791
1610
  headers: request_headers.merge(custom_headers || {}),
1792
1611
  base_url: request_url
1793
1612
  }
@@ -1821,12 +1640,13 @@ module Azure::ARM::Web
1821
1640
  end
1822
1641
 
1823
1642
  #
1824
- # Gets list of vnets associated with App Service Plan
1643
+ # Get all Virtual Networks associated with an App Service plan.
1825
1644
  #
1826
- # Gets list of vnets associated with App Service Plan
1645
+ # Get all Virtual Networks associated with an App Service plan.
1827
1646
  #
1828
- # @param resource_group_name [String] Name of resource group
1829
- # @param name [String] Name of App Service Plan
1647
+ # @param resource_group_name [String] Name of the resource group to which the
1648
+ # resource belongs.
1649
+ # @param name [String] Name of the App Service plan.
1830
1650
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1831
1651
  # will be added to the HTTP request.
1832
1652
  #
@@ -1838,12 +1658,13 @@ module Azure::ARM::Web
1838
1658
  end
1839
1659
 
1840
1660
  #
1841
- # Gets list of vnets associated with App Service Plan
1661
+ # Get all Virtual Networks associated with an App Service plan.
1842
1662
  #
1843
- # Gets list of vnets associated with App Service Plan
1663
+ # Get all Virtual Networks associated with an App Service plan.
1844
1664
  #
1845
- # @param resource_group_name [String] Name of resource group
1846
- # @param name [String] Name of App Service Plan
1665
+ # @param resource_group_name [String] Name of the resource group to which the
1666
+ # resource belongs.
1667
+ # @param name [String] Name of the App Service plan.
1847
1668
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1848
1669
  # will be added to the HTTP request.
1849
1670
  #
@@ -1854,12 +1675,13 @@ module Azure::ARM::Web
1854
1675
  end
1855
1676
 
1856
1677
  #
1857
- # Gets list of vnets associated with App Service Plan
1678
+ # Get all Virtual Networks associated with an App Service plan.
1858
1679
  #
1859
- # Gets list of vnets associated with App Service Plan
1680
+ # Get all Virtual Networks associated with an App Service plan.
1860
1681
  #
1861
- # @param resource_group_name [String] Name of resource group
1862
- # @param name [String] Name of App Service Plan
1682
+ # @param resource_group_name [String] Name of the resource group to which the
1683
+ # resource belongs.
1684
+ # @param name [String] Name of the App Service plan.
1863
1685
  # @param [Hash{String => String}] A hash of custom headers that will be added
1864
1686
  # to the HTTP request.
1865
1687
  #
@@ -1932,13 +1754,14 @@ module Azure::ARM::Web
1932
1754
  end
1933
1755
 
1934
1756
  #
1935
- # Gets a vnet associated with an App Service Plan
1757
+ # Get a Virtual Network associated with an App Service plan.
1936
1758
  #
1937
- # Gets a vnet associated with an App Service Plan
1759
+ # Get a Virtual Network associated with an App Service plan.
1938
1760
  #
1939
- # @param resource_group_name [String] Name of resource group
1940
- # @param name [String] Name of App Service Plan
1941
- # @param vnet_name [String] Name of virtual network
1761
+ # @param resource_group_name [String] Name of the resource group to which the
1762
+ # resource belongs.
1763
+ # @param name [String] Name of the App Service plan.
1764
+ # @param vnet_name [String] Name of the Virtual Network.
1942
1765
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1943
1766
  # will be added to the HTTP request.
1944
1767
  #
@@ -1950,13 +1773,14 @@ module Azure::ARM::Web
1950
1773
  end
1951
1774
 
1952
1775
  #
1953
- # Gets a vnet associated with an App Service Plan
1776
+ # Get a Virtual Network associated with an App Service plan.
1954
1777
  #
1955
- # Gets a vnet associated with an App Service Plan
1778
+ # Get a Virtual Network associated with an App Service plan.
1956
1779
  #
1957
- # @param resource_group_name [String] Name of resource group
1958
- # @param name [String] Name of App Service Plan
1959
- # @param vnet_name [String] Name of virtual network
1780
+ # @param resource_group_name [String] Name of the resource group to which the
1781
+ # resource belongs.
1782
+ # @param name [String] Name of the App Service plan.
1783
+ # @param vnet_name [String] Name of the Virtual Network.
1960
1784
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1961
1785
  # will be added to the HTTP request.
1962
1786
  #
@@ -1967,13 +1791,14 @@ module Azure::ARM::Web
1967
1791
  end
1968
1792
 
1969
1793
  #
1970
- # Gets a vnet associated with an App Service Plan
1794
+ # Get a Virtual Network associated with an App Service plan.
1971
1795
  #
1972
- # Gets a vnet associated with an App Service Plan
1796
+ # Get a Virtual Network associated with an App Service plan.
1973
1797
  #
1974
- # @param resource_group_name [String] Name of resource group
1975
- # @param name [String] Name of App Service Plan
1976
- # @param vnet_name [String] Name of virtual network
1798
+ # @param resource_group_name [String] Name of the resource group to which the
1799
+ # resource belongs.
1800
+ # @param name [String] Name of the App Service plan.
1801
+ # @param vnet_name [String] Name of the Virtual Network.
1977
1802
  # @param [Hash{String => String}] A hash of custom headers that will be added
1978
1803
  # to the HTTP request.
1979
1804
  #
@@ -2033,13 +1858,14 @@ module Azure::ARM::Web
2033
1858
  end
2034
1859
 
2035
1860
  #
2036
- # Gets the vnet gateway.
1861
+ # Get a Virtual Network gateway.
2037
1862
  #
2038
- # Gets the vnet gateway.
1863
+ # Get a Virtual Network gateway.
2039
1864
  #
2040
- # @param resource_group_name [String] Name of resource group
2041
- # @param name [String] Name of the App Service Plan
2042
- # @param vnet_name [String] Name of the virtual network
1865
+ # @param resource_group_name [String] Name of the resource group to which the
1866
+ # resource belongs.
1867
+ # @param name [String] Name of the App Service plan.
1868
+ # @param vnet_name [String] Name of the Virtual Network.
2043
1869
  # @param gateway_name [String] Name of the gateway. Only the 'primary' gateway
2044
1870
  # is supported.
2045
1871
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -2053,13 +1879,14 @@ module Azure::ARM::Web
2053
1879
  end
2054
1880
 
2055
1881
  #
2056
- # Gets the vnet gateway.
1882
+ # Get a Virtual Network gateway.
2057
1883
  #
2058
- # Gets the vnet gateway.
1884
+ # Get a Virtual Network gateway.
2059
1885
  #
2060
- # @param resource_group_name [String] Name of resource group
2061
- # @param name [String] Name of the App Service Plan
2062
- # @param vnet_name [String] Name of the virtual network
1886
+ # @param resource_group_name [String] Name of the resource group to which the
1887
+ # resource belongs.
1888
+ # @param name [String] Name of the App Service plan.
1889
+ # @param vnet_name [String] Name of the Virtual Network.
2063
1890
  # @param gateway_name [String] Name of the gateway. Only the 'primary' gateway
2064
1891
  # is supported.
2065
1892
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -2072,13 +1899,14 @@ module Azure::ARM::Web
2072
1899
  end
2073
1900
 
2074
1901
  #
2075
- # Gets the vnet gateway.
1902
+ # Get a Virtual Network gateway.
2076
1903
  #
2077
- # Gets the vnet gateway.
1904
+ # Get a Virtual Network gateway.
2078
1905
  #
2079
- # @param resource_group_name [String] Name of resource group
2080
- # @param name [String] Name of the App Service Plan
2081
- # @param vnet_name [String] Name of the virtual network
1906
+ # @param resource_group_name [String] Name of the resource group to which the
1907
+ # resource belongs.
1908
+ # @param name [String] Name of the App Service plan.
1909
+ # @param vnet_name [String] Name of the Virtual Network.
2082
1910
  # @param gateway_name [String] Name of the gateway. Only the 'primary' gateway
2083
1911
  # is supported.
2084
1912
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -2141,16 +1969,17 @@ module Azure::ARM::Web
2141
1969
  end
2142
1970
 
2143
1971
  #
2144
- # Updates the vnet gateway
1972
+ # Update a Virtual Network gateway.
2145
1973
  #
2146
- # Updates the vnet gateway
1974
+ # Update a Virtual Network gateway.
2147
1975
  #
2148
- # @param resource_group_name [String] The resource group
2149
- # @param name [String] The name of the App Service Plan
2150
- # @param vnet_name [String] The name of the virtual network
2151
- # @param gateway_name [String] The name of the gateway. Only 'primary' is
2152
- # supported.
2153
- # @param connection_envelope [VnetGateway] The gateway entity.
1976
+ # @param resource_group_name [String] Name of the resource group to which the
1977
+ # resource belongs.
1978
+ # @param name [String] Name of the App Service plan.
1979
+ # @param vnet_name [String] Name of the Virtual Network.
1980
+ # @param gateway_name [String] Name of the gateway. Only the 'primary' gateway
1981
+ # is supported.
1982
+ # @param connection_envelope [VnetGateway] Definition of the gateway.
2154
1983
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2155
1984
  # will be added to the HTTP request.
2156
1985
  #
@@ -2162,16 +1991,17 @@ module Azure::ARM::Web
2162
1991
  end
2163
1992
 
2164
1993
  #
2165
- # Updates the vnet gateway
1994
+ # Update a Virtual Network gateway.
2166
1995
  #
2167
- # Updates the vnet gateway
1996
+ # Update a Virtual Network gateway.
2168
1997
  #
2169
- # @param resource_group_name [String] The resource group
2170
- # @param name [String] The name of the App Service Plan
2171
- # @param vnet_name [String] The name of the virtual network
2172
- # @param gateway_name [String] The name of the gateway. Only 'primary' is
2173
- # supported.
2174
- # @param connection_envelope [VnetGateway] The gateway entity.
1998
+ # @param resource_group_name [String] Name of the resource group to which the
1999
+ # resource belongs.
2000
+ # @param name [String] Name of the App Service plan.
2001
+ # @param vnet_name [String] Name of the Virtual Network.
2002
+ # @param gateway_name [String] Name of the gateway. Only the 'primary' gateway
2003
+ # is supported.
2004
+ # @param connection_envelope [VnetGateway] Definition of the gateway.
2175
2005
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2176
2006
  # will be added to the HTTP request.
2177
2007
  #
@@ -2182,16 +2012,17 @@ module Azure::ARM::Web
2182
2012
  end
2183
2013
 
2184
2014
  #
2185
- # Updates the vnet gateway
2015
+ # Update a Virtual Network gateway.
2186
2016
  #
2187
- # Updates the vnet gateway
2017
+ # Update a Virtual Network gateway.
2188
2018
  #
2189
- # @param resource_group_name [String] The resource group
2190
- # @param name [String] The name of the App Service Plan
2191
- # @param vnet_name [String] The name of the virtual network
2192
- # @param gateway_name [String] The name of the gateway. Only 'primary' is
2193
- # supported.
2194
- # @param connection_envelope [VnetGateway] The gateway entity.
2019
+ # @param resource_group_name [String] Name of the resource group to which the
2020
+ # resource belongs.
2021
+ # @param name [String] Name of the App Service plan.
2022
+ # @param vnet_name [String] Name of the Virtual Network.
2023
+ # @param gateway_name [String] Name of the gateway. Only the 'primary' gateway
2024
+ # is supported.
2025
+ # @param connection_envelope [VnetGateway] Definition of the gateway.
2195
2026
  # @param [Hash{String => String}] A hash of custom headers that will be added
2196
2027
  # to the HTTP request.
2197
2028
  #
@@ -2262,54 +2093,63 @@ module Azure::ARM::Web
2262
2093
  end
2263
2094
 
2264
2095
  #
2265
- # Gets a list of all routes associated with a vnet, in an app service plan
2096
+ # Get all routes that are associated with a Virtual Network in an App Service
2097
+ # plan.
2266
2098
  #
2267
- # Gets a list of all routes associated with a vnet, in an app service plan
2099
+ # Get all routes that are associated with a Virtual Network in an App Service
2100
+ # plan.
2268
2101
  #
2269
- # @param resource_group_name [String] Name of resource group
2270
- # @param name [String] Name of App Service Plan
2271
- # @param vnet_name [String] Name of virtual network
2102
+ # @param resource_group_name [String] Name of the resource group to which the
2103
+ # resource belongs.
2104
+ # @param name [String] Name of the App Service plan.
2105
+ # @param vnet_name [String] Name of the Virtual Network.
2272
2106
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2273
2107
  # will be added to the HTTP request.
2274
2108
  #
2275
2109
  # @return [Array] operation results.
2276
2110
  #
2277
- def listt_routes_for_vnet(resource_group_name, name, vnet_name, custom_headers = nil)
2278
- response = listt_routes_for_vnet_async(resource_group_name, name, vnet_name, custom_headers).value!
2111
+ def list_routes_for_vnet(resource_group_name, name, vnet_name, custom_headers = nil)
2112
+ response = list_routes_for_vnet_async(resource_group_name, name, vnet_name, custom_headers).value!
2279
2113
  response.body unless response.nil?
2280
2114
  end
2281
2115
 
2282
2116
  #
2283
- # Gets a list of all routes associated with a vnet, in an app service plan
2117
+ # Get all routes that are associated with a Virtual Network in an App Service
2118
+ # plan.
2284
2119
  #
2285
- # Gets a list of all routes associated with a vnet, in an app service plan
2120
+ # Get all routes that are associated with a Virtual Network in an App Service
2121
+ # plan.
2286
2122
  #
2287
- # @param resource_group_name [String] Name of resource group
2288
- # @param name [String] Name of App Service Plan
2289
- # @param vnet_name [String] Name of virtual network
2123
+ # @param resource_group_name [String] Name of the resource group to which the
2124
+ # resource belongs.
2125
+ # @param name [String] Name of the App Service plan.
2126
+ # @param vnet_name [String] Name of the Virtual Network.
2290
2127
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2291
2128
  # will be added to the HTTP request.
2292
2129
  #
2293
2130
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2294
2131
  #
2295
- def listt_routes_for_vnet_with_http_info(resource_group_name, name, vnet_name, custom_headers = nil)
2296
- listt_routes_for_vnet_async(resource_group_name, name, vnet_name, custom_headers).value!
2132
+ def list_routes_for_vnet_with_http_info(resource_group_name, name, vnet_name, custom_headers = nil)
2133
+ list_routes_for_vnet_async(resource_group_name, name, vnet_name, custom_headers).value!
2297
2134
  end
2298
2135
 
2299
2136
  #
2300
- # Gets a list of all routes associated with a vnet, in an app service plan
2137
+ # Get all routes that are associated with a Virtual Network in an App Service
2138
+ # plan.
2301
2139
  #
2302
- # Gets a list of all routes associated with a vnet, in an app service plan
2140
+ # Get all routes that are associated with a Virtual Network in an App Service
2141
+ # plan.
2303
2142
  #
2304
- # @param resource_group_name [String] Name of resource group
2305
- # @param name [String] Name of App Service Plan
2306
- # @param vnet_name [String] Name of virtual network
2143
+ # @param resource_group_name [String] Name of the resource group to which the
2144
+ # resource belongs.
2145
+ # @param name [String] Name of the App Service plan.
2146
+ # @param vnet_name [String] Name of the Virtual Network.
2307
2147
  # @param [Hash{String => String}] A hash of custom headers that will be added
2308
2148
  # to the HTTP request.
2309
2149
  #
2310
2150
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2311
2151
  #
2312
- def listt_routes_for_vnet_async(resource_group_name, name, vnet_name, custom_headers = nil)
2152
+ def list_routes_for_vnet_async(resource_group_name, name, vnet_name, custom_headers = nil)
2313
2153
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2314
2154
  fail ArgumentError, 'name is nil' if name.nil?
2315
2155
  fail ArgumentError, 'vnet_name is nil' if vnet_name.nil?
@@ -2377,14 +2217,15 @@ module Azure::ARM::Web
2377
2217
  end
2378
2218
 
2379
2219
  #
2380
- # Gets a specific route associated with a vnet, in an app service plan
2220
+ # Get a Virtual Network route in an App Service plan.
2381
2221
  #
2382
- # Gets a specific route associated with a vnet, in an app service plan
2222
+ # Get a Virtual Network route in an App Service plan.
2383
2223
  #
2384
- # @param resource_group_name [String] Name of resource group
2385
- # @param name [String] Name of App Service Plan
2386
- # @param vnet_name [String] Name of virtual network
2387
- # @param route_name [String] Name of the virtual network route
2224
+ # @param resource_group_name [String] Name of the resource group to which the
2225
+ # resource belongs.
2226
+ # @param name [String] Name of the App Service plan.
2227
+ # @param vnet_name [String] Name of the Virtual Network.
2228
+ # @param route_name [String] Name of the Virtual Network route.
2388
2229
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2389
2230
  # will be added to the HTTP request.
2390
2231
  #
@@ -2396,14 +2237,15 @@ module Azure::ARM::Web
2396
2237
  end
2397
2238
 
2398
2239
  #
2399
- # Gets a specific route associated with a vnet, in an app service plan
2240
+ # Get a Virtual Network route in an App Service plan.
2400
2241
  #
2401
- # Gets a specific route associated with a vnet, in an app service plan
2242
+ # Get a Virtual Network route in an App Service plan.
2402
2243
  #
2403
- # @param resource_group_name [String] Name of resource group
2404
- # @param name [String] Name of App Service Plan
2405
- # @param vnet_name [String] Name of virtual network
2406
- # @param route_name [String] Name of the virtual network route
2244
+ # @param resource_group_name [String] Name of the resource group to which the
2245
+ # resource belongs.
2246
+ # @param name [String] Name of the App Service plan.
2247
+ # @param vnet_name [String] Name of the Virtual Network.
2248
+ # @param route_name [String] Name of the Virtual Network route.
2407
2249
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2408
2250
  # will be added to the HTTP request.
2409
2251
  #
@@ -2414,14 +2256,15 @@ module Azure::ARM::Web
2414
2256
  end
2415
2257
 
2416
2258
  #
2417
- # Gets a specific route associated with a vnet, in an app service plan
2259
+ # Get a Virtual Network route in an App Service plan.
2418
2260
  #
2419
- # Gets a specific route associated with a vnet, in an app service plan
2261
+ # Get a Virtual Network route in an App Service plan.
2420
2262
  #
2421
- # @param resource_group_name [String] Name of resource group
2422
- # @param name [String] Name of App Service Plan
2423
- # @param vnet_name [String] Name of virtual network
2424
- # @param route_name [String] Name of the virtual network route
2263
+ # @param resource_group_name [String] Name of the resource group to which the
2264
+ # resource belongs.
2265
+ # @param name [String] Name of the App Service plan.
2266
+ # @param vnet_name [String] Name of the Virtual Network.
2267
+ # @param route_name [String] Name of the Virtual Network route.
2425
2268
  # @param [Hash{String => String}] A hash of custom headers that will be added
2426
2269
  # to the HTTP request.
2427
2270
  #
@@ -2496,17 +2339,16 @@ module Azure::ARM::Web
2496
2339
  end
2497
2340
 
2498
2341
  #
2499
- # Creates a new route or updates an existing route for a vnet in an app service
2500
- # plan.
2342
+ # Create or update a Virtual Network route in an App Service plan.
2501
2343
  #
2502
- # Creates a new route or updates an existing route for a vnet in an app service
2503
- # plan.
2344
+ # Create or update a Virtual Network route in an App Service plan.
2504
2345
  #
2505
- # @param resource_group_name [String] Name of resource group
2506
- # @param name [String] Name of App Service Plan
2507
- # @param vnet_name [String] Name of virtual network
2508
- # @param route_name [String] Name of the virtual network route
2509
- # @param route [VnetRoute] The route object
2346
+ # @param resource_group_name [String] Name of the resource group to which the
2347
+ # resource belongs.
2348
+ # @param name [String] Name of the App Service plan.
2349
+ # @param vnet_name [String] Name of the Virtual Network.
2350
+ # @param route_name [String] Name of the Virtual Network route.
2351
+ # @param route [VnetRoute] Definition of the Virtual Network route.
2510
2352
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2511
2353
  # will be added to the HTTP request.
2512
2354
  #
@@ -2518,17 +2360,16 @@ module Azure::ARM::Web
2518
2360
  end
2519
2361
 
2520
2362
  #
2521
- # Creates a new route or updates an existing route for a vnet in an app service
2522
- # plan.
2363
+ # Create or update a Virtual Network route in an App Service plan.
2523
2364
  #
2524
- # Creates a new route or updates an existing route for a vnet in an app service
2525
- # plan.
2365
+ # Create or update a Virtual Network route in an App Service plan.
2526
2366
  #
2527
- # @param resource_group_name [String] Name of resource group
2528
- # @param name [String] Name of App Service Plan
2529
- # @param vnet_name [String] Name of virtual network
2530
- # @param route_name [String] Name of the virtual network route
2531
- # @param route [VnetRoute] The route object
2367
+ # @param resource_group_name [String] Name of the resource group to which the
2368
+ # resource belongs.
2369
+ # @param name [String] Name of the App Service plan.
2370
+ # @param vnet_name [String] Name of the Virtual Network.
2371
+ # @param route_name [String] Name of the Virtual Network route.
2372
+ # @param route [VnetRoute] Definition of the Virtual Network route.
2532
2373
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2533
2374
  # will be added to the HTTP request.
2534
2375
  #
@@ -2539,17 +2380,16 @@ module Azure::ARM::Web
2539
2380
  end
2540
2381
 
2541
2382
  #
2542
- # Creates a new route or updates an existing route for a vnet in an app service
2543
- # plan.
2383
+ # Create or update a Virtual Network route in an App Service plan.
2544
2384
  #
2545
- # Creates a new route or updates an existing route for a vnet in an app service
2546
- # plan.
2385
+ # Create or update a Virtual Network route in an App Service plan.
2547
2386
  #
2548
- # @param resource_group_name [String] Name of resource group
2549
- # @param name [String] Name of App Service Plan
2550
- # @param vnet_name [String] Name of virtual network
2551
- # @param route_name [String] Name of the virtual network route
2552
- # @param route [VnetRoute] The route object
2387
+ # @param resource_group_name [String] Name of the resource group to which the
2388
+ # resource belongs.
2389
+ # @param name [String] Name of the App Service plan.
2390
+ # @param vnet_name [String] Name of the Virtual Network.
2391
+ # @param route_name [String] Name of the Virtual Network route.
2392
+ # @param route [VnetRoute] Definition of the Virtual Network route.
2553
2393
  # @param [Hash{String => String}] A hash of custom headers that will be added
2554
2394
  # to the HTTP request.
2555
2395
  #
@@ -2620,33 +2460,34 @@ module Azure::ARM::Web
2620
2460
  end
2621
2461
 
2622
2462
  #
2623
- # Deletes an existing route for a vnet in an app service plan.
2463
+ # Delete a Virtual Network route in an App Service plan.
2624
2464
  #
2625
- # Deletes an existing route for a vnet in an app service plan.
2465
+ # Delete a Virtual Network route in an App Service plan.
2626
2466
  #
2627
- # @param resource_group_name [String] Name of resource group
2628
- # @param name [String] Name of App Service Plan
2629
- # @param vnet_name [String] Name of virtual network
2630
- # @param route_name [String] Name of the virtual network route
2467
+ # @param resource_group_name [String] Name of the resource group to which the
2468
+ # resource belongs.
2469
+ # @param name [String] Name of the App Service plan.
2470
+ # @param vnet_name [String] Name of the Virtual Network.
2471
+ # @param route_name [String] Name of the Virtual Network route.
2631
2472
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2632
2473
  # will be added to the HTTP request.
2633
2474
  #
2634
- # @return [Object] operation results.
2635
2475
  #
2636
2476
  def delete_vnet_route(resource_group_name, name, vnet_name, route_name, custom_headers = nil)
2637
2477
  response = delete_vnet_route_async(resource_group_name, name, vnet_name, route_name, custom_headers).value!
2638
- response.body unless response.nil?
2478
+ nil
2639
2479
  end
2640
2480
 
2641
2481
  #
2642
- # Deletes an existing route for a vnet in an app service plan.
2482
+ # Delete a Virtual Network route in an App Service plan.
2643
2483
  #
2644
- # Deletes an existing route for a vnet in an app service plan.
2484
+ # Delete a Virtual Network route in an App Service plan.
2645
2485
  #
2646
- # @param resource_group_name [String] Name of resource group
2647
- # @param name [String] Name of App Service Plan
2648
- # @param vnet_name [String] Name of virtual network
2649
- # @param route_name [String] Name of the virtual network route
2486
+ # @param resource_group_name [String] Name of the resource group to which the
2487
+ # resource belongs.
2488
+ # @param name [String] Name of the App Service plan.
2489
+ # @param vnet_name [String] Name of the Virtual Network.
2490
+ # @param route_name [String] Name of the Virtual Network route.
2650
2491
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2651
2492
  # will be added to the HTTP request.
2652
2493
  #
@@ -2657,14 +2498,15 @@ module Azure::ARM::Web
2657
2498
  end
2658
2499
 
2659
2500
  #
2660
- # Deletes an existing route for a vnet in an app service plan.
2501
+ # Delete a Virtual Network route in an App Service plan.
2661
2502
  #
2662
- # Deletes an existing route for a vnet in an app service plan.
2503
+ # Delete a Virtual Network route in an App Service plan.
2663
2504
  #
2664
- # @param resource_group_name [String] Name of resource group
2665
- # @param name [String] Name of App Service Plan
2666
- # @param vnet_name [String] Name of virtual network
2667
- # @param route_name [String] Name of the virtual network route
2505
+ # @param resource_group_name [String] Name of the resource group to which the
2506
+ # resource belongs.
2507
+ # @param name [String] Name of the App Service plan.
2508
+ # @param vnet_name [String] Name of the Virtual Network.
2509
+ # @param route_name [String] Name of the Virtual Network route.
2668
2510
  # @param [Hash{String => String}] A hash of custom headers that will be added
2669
2511
  # to the HTTP request.
2670
2512
  #
@@ -2715,17 +2557,16 @@ module Azure::ARM::Web
2715
2557
  end
2716
2558
 
2717
2559
  #
2718
- # Creates a new route or updates an existing route for a vnet in an app service
2719
- # plan.
2560
+ # Create or update a Virtual Network route in an App Service plan.
2720
2561
  #
2721
- # Creates a new route or updates an existing route for a vnet in an app service
2722
- # plan.
2562
+ # Create or update a Virtual Network route in an App Service plan.
2723
2563
  #
2724
- # @param resource_group_name [String] Name of resource group
2725
- # @param name [String] Name of App Service Plan
2726
- # @param vnet_name [String] Name of virtual network
2727
- # @param route_name [String] Name of the virtual network route
2728
- # @param route [VnetRoute] The route object
2564
+ # @param resource_group_name [String] Name of the resource group to which the
2565
+ # resource belongs.
2566
+ # @param name [String] Name of the App Service plan.
2567
+ # @param vnet_name [String] Name of the Virtual Network.
2568
+ # @param route_name [String] Name of the Virtual Network route.
2569
+ # @param route [VnetRoute] Definition of the Virtual Network route.
2729
2570
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2730
2571
  # will be added to the HTTP request.
2731
2572
  #
@@ -2737,17 +2578,16 @@ module Azure::ARM::Web
2737
2578
  end
2738
2579
 
2739
2580
  #
2740
- # Creates a new route or updates an existing route for a vnet in an app service
2741
- # plan.
2581
+ # Create or update a Virtual Network route in an App Service plan.
2742
2582
  #
2743
- # Creates a new route or updates an existing route for a vnet in an app service
2744
- # plan.
2583
+ # Create or update a Virtual Network route in an App Service plan.
2745
2584
  #
2746
- # @param resource_group_name [String] Name of resource group
2747
- # @param name [String] Name of App Service Plan
2748
- # @param vnet_name [String] Name of virtual network
2749
- # @param route_name [String] Name of the virtual network route
2750
- # @param route [VnetRoute] The route object
2585
+ # @param resource_group_name [String] Name of the resource group to which the
2586
+ # resource belongs.
2587
+ # @param name [String] Name of the App Service plan.
2588
+ # @param vnet_name [String] Name of the Virtual Network.
2589
+ # @param route_name [String] Name of the Virtual Network route.
2590
+ # @param route [VnetRoute] Definition of the Virtual Network route.
2751
2591
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2752
2592
  # will be added to the HTTP request.
2753
2593
  #
@@ -2758,17 +2598,16 @@ module Azure::ARM::Web
2758
2598
  end
2759
2599
 
2760
2600
  #
2761
- # Creates a new route or updates an existing route for a vnet in an app service
2762
- # plan.
2601
+ # Create or update a Virtual Network route in an App Service plan.
2763
2602
  #
2764
- # Creates a new route or updates an existing route for a vnet in an app service
2765
- # plan.
2603
+ # Create or update a Virtual Network route in an App Service plan.
2766
2604
  #
2767
- # @param resource_group_name [String] Name of resource group
2768
- # @param name [String] Name of App Service Plan
2769
- # @param vnet_name [String] Name of virtual network
2770
- # @param route_name [String] Name of the virtual network route
2771
- # @param route [VnetRoute] The route object
2605
+ # @param resource_group_name [String] Name of the resource group to which the
2606
+ # resource belongs.
2607
+ # @param name [String] Name of the App Service plan.
2608
+ # @param vnet_name [String] Name of the Virtual Network.
2609
+ # @param route_name [String] Name of the Virtual Network route.
2610
+ # @param route [VnetRoute] Definition of the Virtual Network route.
2772
2611
  # @param [Hash{String => String}] A hash of custom headers that will be added
2773
2612
  # to the HTTP request.
2774
2613
  #
@@ -2839,31 +2678,34 @@ module Azure::ARM::Web
2839
2678
  end
2840
2679
 
2841
2680
  #
2842
- # Submit a reboot request for a worker machine in the specified server farm
2681
+ # Reboot a worker machine in an App Service plan.
2843
2682
  #
2844
- # Submit a reboot request for a worker machine in the specified server farm
2683
+ # Reboot a worker machine in an App Service plan.
2845
2684
  #
2846
- # @param resource_group_name [String] Name of resource group
2847
- # @param name [String] Name of server farm
2848
- # @param worker_name [String] Name of worker machine, typically starts with RD
2685
+ # @param resource_group_name [String] Name of the resource group to which the
2686
+ # resource belongs.
2687
+ # @param name [String] Name of the App Service plan.
2688
+ # @param worker_name [String] Name of worker machine, which typically starts
2689
+ # with RD.
2849
2690
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2850
2691
  # will be added to the HTTP request.
2851
2692
  #
2852
- # @return [Object] operation results.
2853
2693
  #
2854
2694
  def reboot_worker(resource_group_name, name, worker_name, custom_headers = nil)
2855
2695
  response = reboot_worker_async(resource_group_name, name, worker_name, custom_headers).value!
2856
- response.body unless response.nil?
2696
+ nil
2857
2697
  end
2858
2698
 
2859
2699
  #
2860
- # Submit a reboot request for a worker machine in the specified server farm
2700
+ # Reboot a worker machine in an App Service plan.
2861
2701
  #
2862
- # Submit a reboot request for a worker machine in the specified server farm
2702
+ # Reboot a worker machine in an App Service plan.
2863
2703
  #
2864
- # @param resource_group_name [String] Name of resource group
2865
- # @param name [String] Name of server farm
2866
- # @param worker_name [String] Name of worker machine, typically starts with RD
2704
+ # @param resource_group_name [String] Name of the resource group to which the
2705
+ # resource belongs.
2706
+ # @param name [String] Name of the App Service plan.
2707
+ # @param worker_name [String] Name of worker machine, which typically starts
2708
+ # with RD.
2867
2709
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2868
2710
  # will be added to the HTTP request.
2869
2711
  #
@@ -2874,13 +2716,15 @@ module Azure::ARM::Web
2874
2716
  end
2875
2717
 
2876
2718
  #
2877
- # Submit a reboot request for a worker machine in the specified server farm
2719
+ # Reboot a worker machine in an App Service plan.
2878
2720
  #
2879
- # Submit a reboot request for a worker machine in the specified server farm
2721
+ # Reboot a worker machine in an App Service plan.
2880
2722
  #
2881
- # @param resource_group_name [String] Name of resource group
2882
- # @param name [String] Name of server farm
2883
- # @param worker_name [String] Name of worker machine, typically starts with RD
2723
+ # @param resource_group_name [String] Name of the resource group to which the
2724
+ # resource belongs.
2725
+ # @param name [String] Name of the App Service plan.
2726
+ # @param worker_name [String] Name of worker machine, which typically starts
2727
+ # with RD.
2884
2728
  # @param [Hash{String => String}] A hash of custom headers that will be added
2885
2729
  # to the HTTP request.
2886
2730
  #
@@ -2916,7 +2760,7 @@ module Azure::ARM::Web
2916
2760
  http_response = result.response
2917
2761
  status_code = http_response.status
2918
2762
  response_content = http_response.body
2919
- unless status_code == 200
2763
+ unless status_code == 204
2920
2764
  error_model = JSON.load(response_content)
2921
2765
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2922
2766
  end
@@ -2930,60 +2774,57 @@ module Azure::ARM::Web
2930
2774
  end
2931
2775
 
2932
2776
  #
2933
- # Creates or updates an App Service Plan
2777
+ # Creates or updates an App Service Plan.
2934
2778
  #
2935
- # Creates or updates an App Service Plan
2779
+ # Creates or updates an App Service Plan.
2936
2780
  #
2937
- # @param resource_group_name [String] Name of resource group
2938
- # @param name [String] Name of App Service Plan
2939
- # @param app_service_plan [AppServicePlan] Details of App Service Plan
2940
- # @param allow_pending_state [Boolean] OBSOLETE: If true, allow pending state
2941
- # for App Service Plan
2781
+ # @param resource_group_name [String] Name of the resource group to which the
2782
+ # resource belongs.
2783
+ # @param name [String] Name of the App Service plan.
2784
+ # @param app_service_plan [AppServicePlan] Details of the App Service plan.
2942
2785
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2943
2786
  # will be added to the HTTP request.
2944
2787
  #
2945
2788
  # @return [AppServicePlan] operation results.
2946
2789
  #
2947
- def begin_create_or_update(resource_group_name, name, app_service_plan, allow_pending_state = nil, custom_headers = nil)
2948
- response = begin_create_or_update_async(resource_group_name, name, app_service_plan, allow_pending_state, custom_headers).value!
2790
+ def begin_create_or_update(resource_group_name, name, app_service_plan, custom_headers = nil)
2791
+ response = begin_create_or_update_async(resource_group_name, name, app_service_plan, custom_headers).value!
2949
2792
  response.body unless response.nil?
2950
2793
  end
2951
2794
 
2952
2795
  #
2953
- # Creates or updates an App Service Plan
2796
+ # Creates or updates an App Service Plan.
2954
2797
  #
2955
- # Creates or updates an App Service Plan
2798
+ # Creates or updates an App Service Plan.
2956
2799
  #
2957
- # @param resource_group_name [String] Name of resource group
2958
- # @param name [String] Name of App Service Plan
2959
- # @param app_service_plan [AppServicePlan] Details of App Service Plan
2960
- # @param allow_pending_state [Boolean] OBSOLETE: If true, allow pending state
2961
- # for App Service Plan
2800
+ # @param resource_group_name [String] Name of the resource group to which the
2801
+ # resource belongs.
2802
+ # @param name [String] Name of the App Service plan.
2803
+ # @param app_service_plan [AppServicePlan] Details of the App Service plan.
2962
2804
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
2963
2805
  # will be added to the HTTP request.
2964
2806
  #
2965
2807
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2966
2808
  #
2967
- def begin_create_or_update_with_http_info(resource_group_name, name, app_service_plan, allow_pending_state = nil, custom_headers = nil)
2968
- begin_create_or_update_async(resource_group_name, name, app_service_plan, allow_pending_state, custom_headers).value!
2809
+ def begin_create_or_update_with_http_info(resource_group_name, name, app_service_plan, custom_headers = nil)
2810
+ begin_create_or_update_async(resource_group_name, name, app_service_plan, custom_headers).value!
2969
2811
  end
2970
2812
 
2971
2813
  #
2972
- # Creates or updates an App Service Plan
2814
+ # Creates or updates an App Service Plan.
2973
2815
  #
2974
- # Creates or updates an App Service Plan
2816
+ # Creates or updates an App Service Plan.
2975
2817
  #
2976
- # @param resource_group_name [String] Name of resource group
2977
- # @param name [String] Name of App Service Plan
2978
- # @param app_service_plan [AppServicePlan] Details of App Service Plan
2979
- # @param allow_pending_state [Boolean] OBSOLETE: If true, allow pending state
2980
- # for App Service Plan
2818
+ # @param resource_group_name [String] Name of the resource group to which the
2819
+ # resource belongs.
2820
+ # @param name [String] Name of the App Service plan.
2821
+ # @param app_service_plan [AppServicePlan] Details of the App Service plan.
2981
2822
  # @param [Hash{String => String}] A hash of custom headers that will be added
2982
2823
  # to the HTTP request.
2983
2824
  #
2984
2825
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2985
2826
  #
2986
- def begin_create_or_update_async(resource_group_name, name, app_service_plan, allow_pending_state = nil, custom_headers = nil)
2827
+ def begin_create_or_update_async(resource_group_name, name, app_service_plan, custom_headers = nil)
2987
2828
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2988
2829
  fail ArgumentError, 'name is nil' if name.nil?
2989
2830
  fail ArgumentError, 'app_service_plan is nil' if app_service_plan.nil?
@@ -3011,7 +2852,7 @@ module Azure::ARM::Web
3011
2852
  options = {
3012
2853
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
3013
2854
  path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
3014
- query_params: {'allowPendingState' => allow_pending_state,'api-version' => api_version},
2855
+ query_params: {'api-version' => api_version},
3015
2856
  body: request_content,
3016
2857
  headers: request_headers.merge(custom_headers || {}),
3017
2858
  base_url: request_url
@@ -3056,9 +2897,9 @@ module Azure::ARM::Web
3056
2897
  end
3057
2898
 
3058
2899
  #
3059
- # Gets all App Service Plans for a subcription
2900
+ # Get all App Service plans for a subcription.
3060
2901
  #
3061
- # Gets all App Service Plans for a subcription
2902
+ # Get all App Service plans for a subcription.
3062
2903
  #
3063
2904
  # @param next_page_link [String] The NextLink from the previous successful call
3064
2905
  # to List operation.
@@ -3073,9 +2914,9 @@ module Azure::ARM::Web
3073
2914
  end
3074
2915
 
3075
2916
  #
3076
- # Gets all App Service Plans for a subcription
2917
+ # Get all App Service plans for a subcription.
3077
2918
  #
3078
- # Gets all App Service Plans for a subcription
2919
+ # Get all App Service plans for a subcription.
3079
2920
  #
3080
2921
  # @param next_page_link [String] The NextLink from the previous successful call
3081
2922
  # to List operation.
@@ -3089,9 +2930,9 @@ module Azure::ARM::Web
3089
2930
  end
3090
2931
 
3091
2932
  #
3092
- # Gets all App Service Plans for a subcription
2933
+ # Get all App Service plans for a subcription.
3093
2934
  #
3094
- # Gets all App Service Plans for a subcription
2935
+ # Get all App Service plans for a subcription.
3095
2936
  #
3096
2937
  # @param next_page_link [String] The NextLink from the previous successful call
3097
2938
  # to List operation.
@@ -3149,11 +2990,9 @@ module Azure::ARM::Web
3149
2990
  end
3150
2991
 
3151
2992
  #
3152
- # Gets collection of App Service Plans in a resource group for a given
3153
- # subscription.
2993
+ # Get all App Service plans in a resource group.
3154
2994
  #
3155
- # Gets collection of App Service Plans in a resource group for a given
3156
- # subscription.
2995
+ # Get all App Service plans in a resource group.
3157
2996
  #
3158
2997
  # @param next_page_link [String] The NextLink from the previous successful call
3159
2998
  # to List operation.
@@ -3168,11 +3007,9 @@ module Azure::ARM::Web
3168
3007
  end
3169
3008
 
3170
3009
  #
3171
- # Gets collection of App Service Plans in a resource group for a given
3172
- # subscription.
3010
+ # Get all App Service plans in a resource group.
3173
3011
  #
3174
- # Gets collection of App Service Plans in a resource group for a given
3175
- # subscription.
3012
+ # Get all App Service plans in a resource group.
3176
3013
  #
3177
3014
  # @param next_page_link [String] The NextLink from the previous successful call
3178
3015
  # to List operation.
@@ -3186,11 +3023,9 @@ module Azure::ARM::Web
3186
3023
  end
3187
3024
 
3188
3025
  #
3189
- # Gets collection of App Service Plans in a resource group for a given
3190
- # subscription.
3026
+ # Get all App Service plans in a resource group.
3191
3027
  #
3192
- # Gets collection of App Service Plans in a resource group for a given
3193
- # subscription.
3028
+ # Get all App Service plans in a resource group.
3194
3029
  #
3195
3030
  # @param next_page_link [String] The NextLink from the previous successful call
3196
3031
  # to List operation.
@@ -3248,16 +3083,204 @@ module Azure::ARM::Web
3248
3083
  end
3249
3084
 
3250
3085
  #
3251
- # List of metrics that can be queried for an App Service Plan
3086
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
3087
+ #
3088
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
3089
+ #
3090
+ # @param next_page_link [String] The NextLink from the previous successful call
3091
+ # to List operation.
3092
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
3093
+ # will be added to the HTTP request.
3094
+ #
3095
+ # @return [ResourceCollection] operation results.
3096
+ #
3097
+ def list_web_apps_by_hybrid_connection_next(next_page_link, custom_headers = nil)
3098
+ response = list_web_apps_by_hybrid_connection_next_async(next_page_link, custom_headers).value!
3099
+ response.body unless response.nil?
3100
+ end
3101
+
3102
+ #
3103
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
3104
+ #
3105
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
3106
+ #
3107
+ # @param next_page_link [String] The NextLink from the previous successful call
3108
+ # to List operation.
3109
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
3110
+ # will be added to the HTTP request.
3111
+ #
3112
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
3113
+ #
3114
+ def list_web_apps_by_hybrid_connection_next_with_http_info(next_page_link, custom_headers = nil)
3115
+ list_web_apps_by_hybrid_connection_next_async(next_page_link, custom_headers).value!
3116
+ end
3117
+
3118
+ #
3119
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
3120
+ #
3121
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
3122
+ #
3123
+ # @param next_page_link [String] The NextLink from the previous successful call
3124
+ # to List operation.
3125
+ # @param [Hash{String => String}] A hash of custom headers that will be added
3126
+ # to the HTTP request.
3127
+ #
3128
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
3129
+ #
3130
+ def list_web_apps_by_hybrid_connection_next_async(next_page_link, custom_headers = nil)
3131
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
3132
+
3133
+
3134
+ request_headers = {}
3135
+
3136
+ # Set Headers
3137
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
3138
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
3139
+ path_template = '{nextLink}'
3140
+
3141
+ request_url = @base_url || @client.base_url
3142
+
3143
+ options = {
3144
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
3145
+ skip_encoding_path_params: {'nextLink' => next_page_link},
3146
+ headers: request_headers.merge(custom_headers || {}),
3147
+ base_url: request_url
3148
+ }
3149
+ promise = @client.make_request_async(:get, path_template, options)
3150
+
3151
+ promise = promise.then do |result|
3152
+ http_response = result.response
3153
+ status_code = http_response.status
3154
+ response_content = http_response.body
3155
+ unless status_code == 200
3156
+ error_model = JSON.load(response_content)
3157
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
3158
+ end
3159
+
3160
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
3161
+ # Deserialize Response
3162
+ if status_code == 200
3163
+ begin
3164
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
3165
+ result_mapper = ResourceCollection.mapper()
3166
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
3167
+ rescue Exception => e
3168
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
3169
+ end
3170
+ end
3171
+
3172
+ result
3173
+ end
3174
+
3175
+ promise.execute
3176
+ end
3177
+
3178
+ #
3179
+ # Retrieve all Hybrid Connections in use in an App Service plan.
3180
+ #
3181
+ # Retrieve all Hybrid Connections in use in an App Service plan.
3182
+ #
3183
+ # @param next_page_link [String] The NextLink from the previous successful call
3184
+ # to List operation.
3185
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
3186
+ # will be added to the HTTP request.
3187
+ #
3188
+ # @return [HybridConnectionCollection] operation results.
3189
+ #
3190
+ def list_hybrid_connections_next(next_page_link, custom_headers = nil)
3191
+ response = list_hybrid_connections_next_async(next_page_link, custom_headers).value!
3192
+ response.body unless response.nil?
3193
+ end
3194
+
3195
+ #
3196
+ # Retrieve all Hybrid Connections in use in an App Service plan.
3197
+ #
3198
+ # Retrieve all Hybrid Connections in use in an App Service plan.
3199
+ #
3200
+ # @param next_page_link [String] The NextLink from the previous successful call
3201
+ # to List operation.
3202
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
3203
+ # will be added to the HTTP request.
3204
+ #
3205
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
3206
+ #
3207
+ def list_hybrid_connections_next_with_http_info(next_page_link, custom_headers = nil)
3208
+ list_hybrid_connections_next_async(next_page_link, custom_headers).value!
3209
+ end
3210
+
3211
+ #
3212
+ # Retrieve all Hybrid Connections in use in an App Service plan.
3213
+ #
3214
+ # Retrieve all Hybrid Connections in use in an App Service plan.
3215
+ #
3216
+ # @param next_page_link [String] The NextLink from the previous successful call
3217
+ # to List operation.
3218
+ # @param [Hash{String => String}] A hash of custom headers that will be added
3219
+ # to the HTTP request.
3220
+ #
3221
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
3222
+ #
3223
+ def list_hybrid_connections_next_async(next_page_link, custom_headers = nil)
3224
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
3225
+
3226
+
3227
+ request_headers = {}
3228
+
3229
+ # Set Headers
3230
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
3231
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
3232
+ path_template = '{nextLink}'
3233
+
3234
+ request_url = @base_url || @client.base_url
3235
+
3236
+ options = {
3237
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
3238
+ skip_encoding_path_params: {'nextLink' => next_page_link},
3239
+ headers: request_headers.merge(custom_headers || {}),
3240
+ base_url: request_url
3241
+ }
3242
+ promise = @client.make_request_async(:get, path_template, options)
3243
+
3244
+ promise = promise.then do |result|
3245
+ http_response = result.response
3246
+ status_code = http_response.status
3247
+ response_content = http_response.body
3248
+ unless status_code == 200
3249
+ error_model = JSON.load(response_content)
3250
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
3251
+ end
3252
+
3253
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
3254
+ # Deserialize Response
3255
+ if status_code == 200
3256
+ begin
3257
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
3258
+ result_mapper = HybridConnectionCollection.mapper()
3259
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
3260
+ rescue Exception => e
3261
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
3262
+ end
3263
+ end
3264
+
3265
+ result
3266
+ end
3267
+
3268
+ promise.execute
3269
+ end
3270
+
3271
+ #
3272
+ # Get metrics that can be queried for an App Service plan, and their
3273
+ # definitions.
3252
3274
  #
3253
- # List of metrics that can be queried for an App Service Plan
3275
+ # Get metrics that can be queried for an App Service plan, and their
3276
+ # definitions.
3254
3277
  #
3255
3278
  # @param next_page_link [String] The NextLink from the previous successful call
3256
3279
  # to List operation.
3257
3280
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
3258
3281
  # will be added to the HTTP request.
3259
3282
  #
3260
- # @return [MetricDefinitionCollection] operation results.
3283
+ # @return [ResourceMetricDefinitionCollection] operation results.
3261
3284
  #
3262
3285
  def list_metric_defintions_next(next_page_link, custom_headers = nil)
3263
3286
  response = list_metric_defintions_next_async(next_page_link, custom_headers).value!
@@ -3265,9 +3288,11 @@ module Azure::ARM::Web
3265
3288
  end
3266
3289
 
3267
3290
  #
3268
- # List of metrics that can be queried for an App Service Plan
3291
+ # Get metrics that can be queried for an App Service plan, and their
3292
+ # definitions.
3269
3293
  #
3270
- # List of metrics that can be queried for an App Service Plan
3294
+ # Get metrics that can be queried for an App Service plan, and their
3295
+ # definitions.
3271
3296
  #
3272
3297
  # @param next_page_link [String] The NextLink from the previous successful call
3273
3298
  # to List operation.
@@ -3281,9 +3306,11 @@ module Azure::ARM::Web
3281
3306
  end
3282
3307
 
3283
3308
  #
3284
- # List of metrics that can be queried for an App Service Plan
3309
+ # Get metrics that can be queried for an App Service plan, and their
3310
+ # definitions.
3285
3311
  #
3286
- # List of metrics that can be queried for an App Service Plan
3312
+ # Get metrics that can be queried for an App Service plan, and their
3313
+ # definitions.
3287
3314
  #
3288
3315
  # @param next_page_link [String] The NextLink from the previous successful call
3289
3316
  # to List operation.
@@ -3327,7 +3354,7 @@ module Azure::ARM::Web
3327
3354
  if status_code == 200
3328
3355
  begin
3329
3356
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
3330
- result_mapper = MetricDefinitionCollection.mapper()
3357
+ result_mapper = ResourceMetricDefinitionCollection.mapper()
3331
3358
  result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
3332
3359
  rescue Exception => e
3333
3360
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3341,9 +3368,9 @@ module Azure::ARM::Web
3341
3368
  end
3342
3369
 
3343
3370
  #
3344
- # Queries for App Serice Plan metrics
3371
+ # Get metrics for an App Serice plan.
3345
3372
  #
3346
- # Queries for App Serice Plan metrics
3373
+ # Get metrics for an App Serice plan.
3347
3374
  #
3348
3375
  # @param next_page_link [String] The NextLink from the previous successful call
3349
3376
  # to List operation.
@@ -3358,9 +3385,9 @@ module Azure::ARM::Web
3358
3385
  end
3359
3386
 
3360
3387
  #
3361
- # Queries for App Serice Plan metrics
3388
+ # Get metrics for an App Serice plan.
3362
3389
  #
3363
- # Queries for App Serice Plan metrics
3390
+ # Get metrics for an App Serice plan.
3364
3391
  #
3365
3392
  # @param next_page_link [String] The NextLink from the previous successful call
3366
3393
  # to List operation.
@@ -3374,9 +3401,9 @@ module Azure::ARM::Web
3374
3401
  end
3375
3402
 
3376
3403
  #
3377
- # Queries for App Serice Plan metrics
3404
+ # Get metrics for an App Serice plan.
3378
3405
  #
3379
- # Queries for App Serice Plan metrics
3406
+ # Get metrics for an App Serice plan.
3380
3407
  #
3381
3408
  # @param next_page_link [String] The NextLink from the previous successful call
3382
3409
  # to List operation.
@@ -3434,9 +3461,9 @@ module Azure::ARM::Web
3434
3461
  end
3435
3462
 
3436
3463
  #
3437
- # Gets list of Apps associated with an App Service Plan
3464
+ # Get all apps associated with an App Service plan.
3438
3465
  #
3439
- # Gets list of Apps associated with an App Service Plan
3466
+ # Get all apps associated with an App Service plan.
3440
3467
  #
3441
3468
  # @param next_page_link [String] The NextLink from the previous successful call
3442
3469
  # to List operation.
@@ -3451,9 +3478,9 @@ module Azure::ARM::Web
3451
3478
  end
3452
3479
 
3453
3480
  #
3454
- # Gets list of Apps associated with an App Service Plan
3481
+ # Get all apps associated with an App Service plan.
3455
3482
  #
3456
- # Gets list of Apps associated with an App Service Plan
3483
+ # Get all apps associated with an App Service plan.
3457
3484
  #
3458
3485
  # @param next_page_link [String] The NextLink from the previous successful call
3459
3486
  # to List operation.
@@ -3467,9 +3494,9 @@ module Azure::ARM::Web
3467
3494
  end
3468
3495
 
3469
3496
  #
3470
- # Gets list of Apps associated with an App Service Plan
3497
+ # Get all apps associated with an App Service plan.
3471
3498
  #
3472
- # Gets list of Apps associated with an App Service Plan
3499
+ # Get all apps associated with an App Service plan.
3473
3500
  #
3474
3501
  # @param next_page_link [String] The NextLink from the previous successful call
3475
3502
  # to List operation.
@@ -3527,12 +3554,13 @@ module Azure::ARM::Web
3527
3554
  end
3528
3555
 
3529
3556
  #
3530
- # Gets all App Service Plans for a subcription
3557
+ # Get all App Service plans for a subcription.
3531
3558
  #
3532
- # Gets all App Service Plans for a subcription
3559
+ # Get all App Service plans for a subcription.
3533
3560
  #
3534
- # @param detailed [Boolean] False to return a subset of App Service Plan
3535
- # properties, true to return all of the properties.
3561
+ # @param detailed [Boolean] Specify <code>true</code> to return all App Service
3562
+ # plan properties. The default is <code>false</code>, which returns a subset of
3563
+ # the properties.
3536
3564
  # Retrieval of all properties may increase the API latency.
3537
3565
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
3538
3566
  # will be added to the HTTP request.
@@ -3552,13 +3580,12 @@ module Azure::ARM::Web
3552
3580
  end
3553
3581
 
3554
3582
  #
3555
- # Gets collection of App Service Plans in a resource group for a given
3556
- # subscription.
3583
+ # Get all App Service plans in a resource group.
3557
3584
  #
3558
- # Gets collection of App Service Plans in a resource group for a given
3559
- # subscription.
3585
+ # Get all App Service plans in a resource group.
3560
3586
  #
3561
- # @param resource_group_name [String] Name of resource group
3587
+ # @param resource_group_name [String] Name of the resource group to which the
3588
+ # resource belongs.
3562
3589
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
3563
3590
  # will be added to the HTTP request.
3564
3591
  #
@@ -3577,18 +3604,73 @@ module Azure::ARM::Web
3577
3604
  end
3578
3605
 
3579
3606
  #
3580
- # List of metrics that can be queried for an App Service Plan
3607
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
3608
+ #
3609
+ # Get all apps that use a Hybrid Connection in an App Service Plan.
3610
+ #
3611
+ # @param resource_group_name [String] Name of the resource group to which the
3612
+ # resource belongs.
3613
+ # @param name [String] Name of the App Service plan.
3614
+ # @param namespace_name [String] Name of the Hybrid Connection namespace.
3615
+ # @param relay_name [String] Name of the Hybrid Connection relay.
3616
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
3617
+ # will be added to the HTTP request.
3618
+ #
3619
+ # @return [ResourceCollection] which provide lazy access to pages of the
3620
+ # response.
3621
+ #
3622
+ def list_web_apps_by_hybrid_connection_as_lazy(resource_group_name, name, namespace_name, relay_name, custom_headers = nil)
3623
+ response = list_web_apps_by_hybrid_connection_async(resource_group_name, name, namespace_name, relay_name, custom_headers).value!
3624
+ unless response.nil?
3625
+ page = response.body
3626
+ page.next_method = Proc.new do |next_page_link|
3627
+ list_web_apps_by_hybrid_connection_next_async(next_page_link, custom_headers)
3628
+ end
3629
+ page
3630
+ end
3631
+ end
3632
+
3633
+ #
3634
+ # Retrieve all Hybrid Connections in use in an App Service plan.
3581
3635
  #
3582
- # List of metrics that can be queried for an App Service Plan
3636
+ # Retrieve all Hybrid Connections in use in an App Service plan.
3583
3637
  #
3584
- # @param resource_group_name [String] Name of resource group
3585
- # @param name [String] Name of App Service Plan
3638
+ # @param resource_group_name [String] Name of the resource group to which the
3639
+ # resource belongs.
3640
+ # @param name [String] Name of the App Service plan.
3586
3641
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
3587
3642
  # will be added to the HTTP request.
3588
3643
  #
3589
- # @return [MetricDefinitionCollection] which provide lazy access to pages of
3644
+ # @return [HybridConnectionCollection] which provide lazy access to pages of
3590
3645
  # the response.
3591
3646
  #
3647
+ def list_hybrid_connections_as_lazy(resource_group_name, name, custom_headers = nil)
3648
+ response = list_hybrid_connections_async(resource_group_name, name, custom_headers).value!
3649
+ unless response.nil?
3650
+ page = response.body
3651
+ page.next_method = Proc.new do |next_page_link|
3652
+ list_hybrid_connections_next_async(next_page_link, custom_headers)
3653
+ end
3654
+ page
3655
+ end
3656
+ end
3657
+
3658
+ #
3659
+ # Get metrics that can be queried for an App Service plan, and their
3660
+ # definitions.
3661
+ #
3662
+ # Get metrics that can be queried for an App Service plan, and their
3663
+ # definitions.
3664
+ #
3665
+ # @param resource_group_name [String] Name of the resource group to which the
3666
+ # resource belongs.
3667
+ # @param name [String] Name of the App Service plan.
3668
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
3669
+ # will be added to the HTTP request.
3670
+ #
3671
+ # @return [ResourceMetricDefinitionCollection] which provide lazy access to
3672
+ # pages of the response.
3673
+ #
3592
3674
  def list_metric_defintions_as_lazy(resource_group_name, name, custom_headers = nil)
3593
3675
  response = list_metric_defintions_async(resource_group_name, name, custom_headers).value!
3594
3676
  unless response.nil?
@@ -3601,14 +3683,15 @@ module Azure::ARM::Web
3601
3683
  end
3602
3684
 
3603
3685
  #
3604
- # Queries for App Serice Plan metrics
3686
+ # Get metrics for an App Serice plan.
3605
3687
  #
3606
- # Queries for App Serice Plan metrics
3688
+ # Get metrics for an App Serice plan.
3607
3689
  #
3608
- # @param resource_group_name [String] Name of resource group
3609
- # @param name [String] Name of App Service Plan
3610
- # @param details [Boolean] If true, metrics are broken down per App Service
3611
- # Plan instance
3690
+ # @param resource_group_name [String] Name of the resource group to which the
3691
+ # resource belongs.
3692
+ # @param name [String] Name of the App Service plan.
3693
+ # @param details [Boolean] Specify <code>true</code> to include instance
3694
+ # details. The default is <code>false</code>.
3612
3695
  # @param filter [String] Return only usages/metrics specified in the filter.
3613
3696
  # Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
3614
3697
  # name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
@@ -3631,15 +3714,17 @@ module Azure::ARM::Web
3631
3714
  end
3632
3715
 
3633
3716
  #
3634
- # Gets list of Apps associated with an App Service Plan
3717
+ # Get all apps associated with an App Service plan.
3635
3718
  #
3636
- # Gets list of Apps associated with an App Service Plan
3719
+ # Get all apps associated with an App Service plan.
3637
3720
  #
3638
- # @param resource_group_name [String] Name of resource group
3639
- # @param name [String] Name of App Service Plan
3640
- # @param skip_token [String] Skip to of web apps in a list. If specified, the
3641
- # resulting list will contain web apps starting from (including) the skipToken.
3642
- # Else, the resulting list contains web apps from the start of the list
3721
+ # @param resource_group_name [String] Name of the resource group to which the
3722
+ # resource belongs.
3723
+ # @param name [String] Name of the App Service plan.
3724
+ # @param skip_token [String] Skip to a web app in the list of webapps
3725
+ # associated with app service plan. If specified, the resulting list will
3726
+ # contain web apps starting from (including) the skipToken. Otherwise, the
3727
+ # resulting list contains web apps from the start of the list
3643
3728
  # @param filter [String] Supported filter: $filter=state eq running. Returns
3644
3729
  # only web apps that are currently running
3645
3730
  # @param top [String] List page size. If specified, results are paged.