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.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_web.rb +149 -123
- data/lib/generated/azure_mgmt_web/app_service_certificate_orders.rb +556 -297
- data/lib/generated/azure_mgmt_web/app_service_environments.rb +1584 -1057
- data/lib/generated/azure_mgmt_web/app_service_plans.rb +890 -805
- data/lib/generated/azure_mgmt_web/certificates.rb +328 -215
- data/lib/generated/azure_mgmt_web/deleted_web_apps.rb +443 -0
- data/lib/generated/azure_mgmt_web/domains.rb +721 -243
- data/lib/generated/azure_mgmt_web/models/address.rb +12 -12
- data/lib/generated/azure_mgmt_web/models/address_response.rb +6 -6
- data/lib/generated/azure_mgmt_web/models/api_definition_info.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/app_service_certificate.rb +5 -5
- data/lib/generated/azure_mgmt_web/models/app_service_certificate_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/app_service_certificate_order.rb +36 -16
- data/lib/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/app_service_environment.rb +83 -64
- data/lib/generated/azure_mgmt_web/models/app_service_environment_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/app_service_plan.rb +69 -17
- data/lib/generated/azure_mgmt_web/models/app_service_plan_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/app_service_plan_restrictions.rb +20 -0
- data/lib/generated/azure_mgmt_web/models/application_logs_config.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/auto_heal_actions.rb +6 -8
- data/lib/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/auto_heal_rules.rb +5 -5
- data/lib/generated/azure_mgmt_web/models/auto_heal_triggers.rb +6 -9
- data/lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +2 -2
- data/lib/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/backup_item.rb +26 -11
- data/lib/generated/azure_mgmt_web/models/backup_item_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/backup_request.rb +9 -7
- data/lib/generated/azure_mgmt_web/models/backup_schedule.rb +18 -11
- data/lib/generated/azure_mgmt_web/models/capability.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/certificate.rb +79 -18
- data/lib/generated/azure_mgmt_web/models/certificate_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/certificate_details.rb +29 -70
- data/lib/generated/azure_mgmt_web/models/certificate_email.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/certificate_order_action.rb +8 -6
- data/lib/generated/azure_mgmt_web/models/certificate_order_action_type.rb +5 -0
- data/lib/generated/azure_mgmt_web/models/channels.rb +1 -0
- data/lib/generated/azure_mgmt_web/models/cloning_info.rb +24 -22
- data/lib/generated/azure_mgmt_web/models/conn_string_info.rb +67 -0
- data/lib/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/connection_string_dictionary.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/contact.rb +16 -15
- data/lib/generated/azure_mgmt_web/models/cors_settings.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +7 -2
- data/lib/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/csm_site_recovery_entity.rb +6 -18
- data/lib/generated/azure_mgmt_web/models/csm_slot_entity.rb +6 -7
- data/lib/generated/azure_mgmt_web/models/csm_usage_quota.rb +6 -6
- data/lib/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/csr.rb +9 -9
- data/lib/generated/azure_mgmt_web/models/csr_collection.rb +93 -0
- data/lib/generated/azure_mgmt_web/models/custom_hostname_analysis_result.rb +28 -19
- data/lib/generated/azure_mgmt_web/models/database_backup_setting.rb +5 -6
- data/lib/generated/azure_mgmt_web/models/database_type.rb +17 -0
- data/lib/generated/azure_mgmt_web/models/deleted_site.rb +97 -61
- data/lib/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/deployment.rb +12 -12
- data/lib/generated/azure_mgmt_web/models/deployment_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/domain.rb +30 -20
- data/lib/generated/azure_mgmt_web/models/domain_availablility_check_result.rb +8 -6
- data/lib/generated/azure_mgmt_web/models/domain_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +6 -3
- data/lib/generated/azure_mgmt_web/models/{classic_mobile_service.rb → domain_ownership_identifier.rb} +10 -10
- data/lib/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +93 -0
- data/lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb +6 -6
- data/lib/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/enabled_config.rb +2 -2
- data/lib/generated/azure_mgmt_web/models/error_entity.rb +6 -6
- data/lib/generated/azure_mgmt_web/models/experiments.rb +2 -3
- data/lib/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +3 -2
- data/lib/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +6 -2
- data/lib/generated/azure_mgmt_web/models/geo_region.rb +8 -5
- data/lib/generated/azure_mgmt_web/models/geo_region_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/global_csm_sku_description.rb +101 -0
- data/lib/generated/azure_mgmt_web/models/handler_mapping.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/host_name.rb +8 -8
- data/lib/generated/azure_mgmt_web/models/host_name_binding.rb +40 -7
- data/lib/generated/azure_mgmt_web/models/host_name_binding_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/host_name_ssl_state.rb +7 -7
- data/lib/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/hosting_environment_profile.rb +6 -8
- data/lib/generated/azure_mgmt_web/models/http_logs_config.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/hybrid_connection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/{metric_definition_collection.rb → hybrid_connection_collection.rb} +12 -12
- data/lib/generated/azure_mgmt_web/models/hybrid_connection_key.rb +5 -3
- data/lib/generated/azure_mgmt_web/models/hybrid_connection_limits.rb +107 -0
- data/lib/generated/azure_mgmt_web/models/{premier_add_on_request.rb → identifier.rb} +40 -40
- data/lib/generated/azure_mgmt_web/models/identifier_collection.rb +93 -0
- data/lib/generated/azure_mgmt_web/models/in_availability_reason_type.rb +16 -0
- data/lib/generated/azure_mgmt_web/models/ip_security_restriction.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/localizable_string.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/metric_availabilily.rb +3 -4
- data/lib/generated/azure_mgmt_web/models/metric_definition.rb +12 -7
- data/lib/generated/azure_mgmt_web/models/migrate_my_sql_request.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/name_identifier.rb +2 -2
- data/lib/generated/azure_mgmt_web/models/name_identifier_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/name_value_pair.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/network_access_control_entry.rb +6 -6
- data/lib/generated/azure_mgmt_web/models/network_features.rb +12 -9
- data/lib/generated/azure_mgmt_web/models/operation.rb +8 -8
- data/lib/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/perf_mon_response.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/perf_mon_sample.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/perf_mon_set.rb +6 -6
- data/lib/generated/azure_mgmt_web/models/premier_add_on.rb +171 -0
- data/lib/generated/azure_mgmt_web/models/premier_add_on_offer.rb +198 -0
- data/lib/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +93 -0
- data/lib/generated/azure_mgmt_web/models/publishing_profile_format.rb +17 -0
- data/lib/generated/azure_mgmt_web/models/push_settings.rb +5 -2
- data/lib/generated/azure_mgmt_web/models/ramp_up_rule.rb +16 -20
- data/lib/generated/azure_mgmt_web/models/recommendation.rb +20 -28
- data/lib/generated/azure_mgmt_web/models/recommendation_rule.rb +12 -22
- data/lib/generated/azure_mgmt_web/models/recover_response.rb +3 -2
- data/lib/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +6 -6
- data/lib/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +2 -2
- data/lib/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +5 -5
- data/lib/generated/azure_mgmt_web/models/requests_based_trigger.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/{arm_plan.rb → resource.rb} +32 -29
- data/lib/generated/azure_mgmt_web/models/resource_collection.rb +92 -0
- data/lib/generated/azure_mgmt_web/models/resource_metric.rb +9 -9
- data/lib/generated/azure_mgmt_web/models/resource_metric_availability.rb +56 -0
- data/lib/generated/azure_mgmt_web/models/resource_metric_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/resource_metric_definition.rb +178 -0
- data/lib/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +93 -0
- data/lib/generated/azure_mgmt_web/models/resource_metric_name.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/resource_metric_property.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/resource_metric_value.rb +8 -8
- data/lib/generated/azure_mgmt_web/models/resource_name_availability.rb +14 -8
- data/lib/generated/azure_mgmt_web/models/resource_name_availability_request.rb +5 -5
- data/lib/generated/azure_mgmt_web/models/resource_scope_type.rb +17 -0
- data/lib/generated/azure_mgmt_web/models/restore_request.rb +20 -17
- data/lib/generated/azure_mgmt_web/models/restore_response.rb +4 -3
- data/lib/generated/azure_mgmt_web/models/route_type.rb +17 -0
- data/lib/generated/azure_mgmt_web/models/scm_type.rb +27 -0
- data/lib/generated/azure_mgmt_web/models/site.rb +95 -60
- data/lib/generated/azure_mgmt_web/models/site_auth_settings.rb +57 -79
- data/lib/generated/azure_mgmt_web/models/site_cloneability.rb +8 -8
- data/lib/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/site_config.rb +99 -38
- data/lib/generated/azure_mgmt_web/models/site_configuration_snapshot_info.rb +106 -0
- data/lib/generated/azure_mgmt_web/models/site_instance.rb +4 -3
- data/lib/generated/azure_mgmt_web/models/site_limits.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/site_logs_config.rb +6 -6
- data/lib/generated/azure_mgmt_web/models/site_machine_key.rb +5 -5
- data/lib/generated/azure_mgmt_web/models/site_php_error_log_flag.rb +124 -0
- data/lib/generated/azure_mgmt_web/models/site_seal.rb +44 -0
- data/lib/generated/azure_mgmt_web/models/site_seal_request.rb +54 -0
- data/lib/generated/azure_mgmt_web/models/site_source_control.rb +11 -7
- data/lib/generated/azure_mgmt_web/models/sku_capacity.rb +9 -8
- data/lib/generated/azure_mgmt_web/models/sku_description.rb +9 -9
- data/lib/generated/azure_mgmt_web/models/sku_info.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/sku_info_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/sku_infos.rb +63 -0
- data/lib/generated/azure_mgmt_web/models/sku_name.rb +20 -0
- data/lib/generated/azure_mgmt_web/models/slot_config_names_resource.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/slot_difference.rb +18 -13
- data/lib/generated/azure_mgmt_web/models/slot_difference_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/slot_swap_status.rb +67 -0
- data/lib/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/snapshot.rb +4 -3
- data/lib/generated/azure_mgmt_web/models/snapshot_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/source_control.rb +7 -7
- data/lib/generated/azure_mgmt_web/models/source_control_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/stamp_capacity.rb +12 -11
- data/lib/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +6 -6
- data/lib/generated/azure_mgmt_web/models/storage_migration_options.rb +11 -7
- data/lib/generated/azure_mgmt_web/models/storage_migration_response.rb +4 -3
- data/lib/generated/azure_mgmt_web/models/string_dictionary.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/tld_legal_agreement.rb +8 -8
- data/lib/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/top_level_domain.rb +8 -7
- data/lib/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +4 -3
- data/lib/generated/azure_mgmt_web/models/top_level_domain_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/usage.rb +20 -11
- data/lib/generated/azure_mgmt_web/models/usage_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/user.rb +7 -7
- data/lib/generated/azure_mgmt_web/models/validate_request.rb +58 -12
- data/lib/generated/azure_mgmt_web/models/validate_response.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/validate_response_error.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/virtual_application.rb +7 -6
- data/lib/generated/azure_mgmt_web/models/virtual_directory.rb +3 -3
- data/lib/generated/azure_mgmt_web/models/virtual_ipmapping.rb +5 -5
- data/lib/generated/azure_mgmt_web/models/virtual_network_profile.rb +5 -5
- data/lib/generated/azure_mgmt_web/models/vnet_gateway.rb +5 -5
- data/lib/generated/azure_mgmt_web/models/vnet_info.rb +12 -9
- data/lib/generated/azure_mgmt_web/models/vnet_route.rb +11 -11
- data/lib/generated/azure_mgmt_web/models/web_app_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/models/{site_instance_collection.rb → web_app_instance_collection.rb} +9 -9
- data/lib/generated/azure_mgmt_web/models/worker_pool.rb +9 -8
- data/lib/generated/azure_mgmt_web/models/worker_pool_collection.rb +4 -4
- data/lib/generated/azure_mgmt_web/recommendations.rb +388 -132
- data/lib/generated/azure_mgmt_web/top_level_domains.rb +62 -48
- data/lib/generated/azure_mgmt_web/version.rb +1 -1
- data/lib/generated/azure_mgmt_web/web_apps.rb +8787 -6295
- data/lib/generated/azure_mgmt_web/web_site_management_client.rb +459 -288
- metadata +37 -11
- data/lib/generated/azure_mgmt_web/models/domain_registration_input.rb +0 -292
- data/lib/generated/azure_mgmt_web/models/validate_properties.rb +0 -76
@@ -23,9 +23,9 @@ module Azure::ARM::Web
|
|
23
23
|
attr_reader :client
|
24
24
|
|
25
25
|
#
|
26
|
-
#
|
26
|
+
# Get all App Service Environments for a subscription.
|
27
27
|
#
|
28
|
-
#
|
28
|
+
# Get all App Service Environments for a subscription.
|
29
29
|
#
|
30
30
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
31
31
|
# will be added to the HTTP request.
|
@@ -38,9 +38,9 @@ module Azure::ARM::Web
|
|
38
38
|
end
|
39
39
|
|
40
40
|
#
|
41
|
-
#
|
41
|
+
# Get all App Service Environments for a subscription.
|
42
42
|
#
|
43
|
-
#
|
43
|
+
# Get all App Service Environments for a subscription.
|
44
44
|
#
|
45
45
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
46
46
|
# will be added to the HTTP request.
|
@@ -52,9 +52,9 @@ module Azure::ARM::Web
|
|
52
52
|
end
|
53
53
|
|
54
54
|
#
|
55
|
-
#
|
55
|
+
# Get all App Service Environments for a subscription.
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Get all App Service Environments for a subscription.
|
58
58
|
#
|
59
59
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
60
60
|
# to the HTTP request.
|
@@ -112,11 +112,12 @@ module Azure::ARM::Web
|
|
112
112
|
end
|
113
113
|
|
114
114
|
#
|
115
|
-
# Get all
|
115
|
+
# Get all App Service Environments in a resource group.
|
116
116
|
#
|
117
|
-
# Get all
|
117
|
+
# Get all App Service Environments in a resource group.
|
118
118
|
#
|
119
|
-
# @param resource_group_name [String] Name of resource group
|
119
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
120
|
+
# resource belongs.
|
120
121
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
121
122
|
# will be added to the HTTP request.
|
122
123
|
#
|
@@ -128,11 +129,12 @@ module Azure::ARM::Web
|
|
128
129
|
end
|
129
130
|
|
130
131
|
#
|
131
|
-
# Get all
|
132
|
+
# Get all App Service Environments in a resource group.
|
132
133
|
#
|
133
|
-
# Get all
|
134
|
+
# Get all App Service Environments in a resource group.
|
134
135
|
#
|
135
|
-
# @param resource_group_name [String] Name of resource group
|
136
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
137
|
+
# resource belongs.
|
136
138
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
137
139
|
# will be added to the HTTP request.
|
138
140
|
#
|
@@ -143,11 +145,12 @@ module Azure::ARM::Web
|
|
143
145
|
end
|
144
146
|
|
145
147
|
#
|
146
|
-
# Get all
|
148
|
+
# Get all App Service Environments in a resource group.
|
147
149
|
#
|
148
|
-
# Get all
|
150
|
+
# Get all App Service Environments in a resource group.
|
149
151
|
#
|
150
|
-
# @param resource_group_name [String] Name of resource group
|
152
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
153
|
+
# resource belongs.
|
151
154
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
152
155
|
# to the HTTP request.
|
153
156
|
#
|
@@ -205,12 +208,13 @@ module Azure::ARM::Web
|
|
205
208
|
end
|
206
209
|
|
207
210
|
#
|
208
|
-
# Get properties of
|
211
|
+
# Get the properties of an App Service Environment.
|
209
212
|
#
|
210
|
-
# Get properties of
|
213
|
+
# Get the properties of an App Service Environment.
|
211
214
|
#
|
212
|
-
# @param resource_group_name [String] Name of resource group
|
213
|
-
#
|
215
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
216
|
+
# resource belongs.
|
217
|
+
# @param name [String] Name of the App Service Environment.
|
214
218
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
215
219
|
# will be added to the HTTP request.
|
216
220
|
#
|
@@ -222,12 +226,13 @@ module Azure::ARM::Web
|
|
222
226
|
end
|
223
227
|
|
224
228
|
#
|
225
|
-
# Get properties of
|
229
|
+
# Get the properties of an App Service Environment.
|
226
230
|
#
|
227
|
-
# Get properties of
|
231
|
+
# Get the properties of an App Service Environment.
|
228
232
|
#
|
229
|
-
# @param resource_group_name [String] Name of resource group
|
230
|
-
#
|
233
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
234
|
+
# resource belongs.
|
235
|
+
# @param name [String] Name of the App Service Environment.
|
231
236
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
232
237
|
# will be added to the HTTP request.
|
233
238
|
#
|
@@ -238,12 +243,13 @@ module Azure::ARM::Web
|
|
238
243
|
end
|
239
244
|
|
240
245
|
#
|
241
|
-
# Get properties of
|
246
|
+
# Get the properties of an App Service Environment.
|
242
247
|
#
|
243
|
-
# Get properties of
|
248
|
+
# Get the properties of an App Service Environment.
|
244
249
|
#
|
245
|
-
# @param resource_group_name [String] Name of resource group
|
246
|
-
#
|
250
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
251
|
+
# resource belongs.
|
252
|
+
# @param name [String] Name of the App Service Environment.
|
247
253
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
248
254
|
# to the HTTP request.
|
249
255
|
#
|
@@ -302,14 +308,15 @@ module Azure::ARM::Web
|
|
302
308
|
end
|
303
309
|
|
304
310
|
#
|
305
|
-
# Create or update
|
311
|
+
# Create or update an App Service Environment.
|
306
312
|
#
|
307
|
-
# Create or update
|
313
|
+
# Create or update an App Service Environment.
|
308
314
|
#
|
309
|
-
# @param resource_group_name [String] Name of resource group
|
310
|
-
#
|
311
|
-
# @param
|
312
|
-
#
|
315
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
316
|
+
# resource belongs.
|
317
|
+
# @param name [String] Name of the App Service Environment.
|
318
|
+
# @param hosting_environment_envelope [AppServiceEnvironment] Configuration
|
319
|
+
# details of the App Service Environment.
|
313
320
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
314
321
|
# will be added to the HTTP request.
|
315
322
|
#
|
@@ -321,10 +328,11 @@ module Azure::ARM::Web
|
|
321
328
|
end
|
322
329
|
|
323
330
|
#
|
324
|
-
# @param resource_group_name [String] Name of resource group
|
325
|
-
#
|
326
|
-
# @param
|
327
|
-
#
|
331
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
332
|
+
# resource belongs.
|
333
|
+
# @param name [String] Name of the App Service Environment.
|
334
|
+
# @param hosting_environment_envelope [AppServiceEnvironment] Configuration
|
335
|
+
# details of the App Service Environment.
|
328
336
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
329
337
|
# will be added to the HTTP request.
|
330
338
|
#
|
@@ -350,29 +358,31 @@ module Azure::ARM::Web
|
|
350
358
|
end
|
351
359
|
|
352
360
|
#
|
353
|
-
# Delete
|
361
|
+
# Delete an App Service Environment.
|
354
362
|
#
|
355
|
-
# Delete
|
363
|
+
# Delete an App Service Environment.
|
356
364
|
#
|
357
|
-
# @param resource_group_name [String] Name of resource group
|
358
|
-
#
|
359
|
-
# @param
|
360
|
-
#
|
365
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
366
|
+
# resource belongs.
|
367
|
+
# @param name [String] Name of the App Service Environment.
|
368
|
+
# @param force_delete [Boolean] Specify <code>true</code> to force the deletion
|
369
|
+
# even if the App Service Environment contains resources. The default is
|
370
|
+
# <code>false</code>.
|
361
371
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
362
372
|
# will be added to the HTTP request.
|
363
373
|
#
|
364
|
-
# @return [Object] operation results.
|
365
|
-
#
|
366
374
|
def delete(resource_group_name, name, force_delete = nil, custom_headers = nil)
|
367
375
|
response = delete_async(resource_group_name, name, force_delete, custom_headers).value!
|
368
|
-
|
376
|
+
nil
|
369
377
|
end
|
370
378
|
|
371
379
|
#
|
372
|
-
# @param resource_group_name [String] Name of resource group
|
373
|
-
#
|
374
|
-
# @param
|
375
|
-
#
|
380
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
381
|
+
# resource belongs.
|
382
|
+
# @param name [String] Name of the App Service Environment.
|
383
|
+
# @param force_delete [Boolean] Specify <code>true</code> to force the deletion
|
384
|
+
# even if the App Service Environment contains resources. The default is
|
385
|
+
# <code>false</code>.
|
376
386
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
377
387
|
# will be added to the HTTP request.
|
378
388
|
#
|
@@ -386,14 +396,6 @@ module Azure::ARM::Web
|
|
386
396
|
promise = promise.then do |response|
|
387
397
|
# Defining deserialization method.
|
388
398
|
deserialize_method = lambda do |parsed_response|
|
389
|
-
result_mapper = {
|
390
|
-
required: false,
|
391
|
-
serialized_name: 'parsed_response',
|
392
|
-
type: {
|
393
|
-
name: 'Object'
|
394
|
-
}
|
395
|
-
}
|
396
|
-
parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
|
397
399
|
end
|
398
400
|
|
399
401
|
# Waiting for response.
|
@@ -404,14 +406,15 @@ module Azure::ARM::Web
|
|
404
406
|
end
|
405
407
|
|
406
408
|
#
|
407
|
-
# Get used, available, and total worker capacity
|
408
|
-
#
|
409
|
+
# Get the used, available, and total worker capacity an App Service
|
410
|
+
# Environment.
|
409
411
|
#
|
410
|
-
# Get used, available, and total worker capacity
|
411
|
-
#
|
412
|
+
# Get the used, available, and total worker capacity an App Service
|
413
|
+
# Environment.
|
412
414
|
#
|
413
|
-
# @param resource_group_name [String] Name of resource group
|
414
|
-
#
|
415
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
416
|
+
# resource belongs.
|
417
|
+
# @param name [String] Name of the App Service Environment.
|
415
418
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
416
419
|
# will be added to the HTTP request.
|
417
420
|
#
|
@@ -423,14 +426,15 @@ module Azure::ARM::Web
|
|
423
426
|
end
|
424
427
|
|
425
428
|
#
|
426
|
-
# Get used, available, and total worker capacity
|
427
|
-
#
|
429
|
+
# Get the used, available, and total worker capacity an App Service
|
430
|
+
# Environment.
|
428
431
|
#
|
429
|
-
# Get used, available, and total worker capacity
|
430
|
-
#
|
432
|
+
# Get the used, available, and total worker capacity an App Service
|
433
|
+
# Environment.
|
431
434
|
#
|
432
|
-
# @param resource_group_name [String] Name of resource group
|
433
|
-
#
|
435
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
436
|
+
# resource belongs.
|
437
|
+
# @param name [String] Name of the App Service Environment.
|
434
438
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
435
439
|
# will be added to the HTTP request.
|
436
440
|
#
|
@@ -441,14 +445,15 @@ module Azure::ARM::Web
|
|
441
445
|
end
|
442
446
|
|
443
447
|
#
|
444
|
-
# Get used, available, and total worker capacity
|
445
|
-
#
|
448
|
+
# Get the used, available, and total worker capacity an App Service
|
449
|
+
# Environment.
|
446
450
|
#
|
447
|
-
# Get used, available, and total worker capacity
|
448
|
-
#
|
451
|
+
# Get the used, available, and total worker capacity an App Service
|
452
|
+
# Environment.
|
449
453
|
#
|
450
|
-
# @param resource_group_name [String] Name of resource group
|
451
|
-
#
|
454
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
455
|
+
# resource belongs.
|
456
|
+
# @param name [String] Name of the App Service Environment.
|
452
457
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
453
458
|
# to the HTTP request.
|
454
459
|
#
|
@@ -507,14 +512,13 @@ module Azure::ARM::Web
|
|
507
512
|
end
|
508
513
|
|
509
514
|
#
|
510
|
-
# Get IP addresses assigned to
|
511
|
-
# Environment).
|
515
|
+
# Get IP addresses assigned to an App Service Environment.
|
512
516
|
#
|
513
|
-
# Get IP addresses assigned to
|
514
|
-
# Environment).
|
517
|
+
# Get IP addresses assigned to an App Service Environment.
|
515
518
|
#
|
516
|
-
# @param resource_group_name [String] Name of resource group
|
517
|
-
#
|
519
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
520
|
+
# resource belongs.
|
521
|
+
# @param name [String] Name of the App Service Environment.
|
518
522
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
519
523
|
# will be added to the HTTP request.
|
520
524
|
#
|
@@ -526,14 +530,13 @@ module Azure::ARM::Web
|
|
526
530
|
end
|
527
531
|
|
528
532
|
#
|
529
|
-
# Get IP addresses assigned to
|
530
|
-
# Environment).
|
533
|
+
# Get IP addresses assigned to an App Service Environment.
|
531
534
|
#
|
532
|
-
# Get IP addresses assigned to
|
533
|
-
# Environment).
|
535
|
+
# Get IP addresses assigned to an App Service Environment.
|
534
536
|
#
|
535
|
-
# @param resource_group_name [String] Name of resource group
|
536
|
-
#
|
537
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
538
|
+
# resource belongs.
|
539
|
+
# @param name [String] Name of the App Service Environment.
|
537
540
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
538
541
|
# will be added to the HTTP request.
|
539
542
|
#
|
@@ -544,14 +547,13 @@ module Azure::ARM::Web
|
|
544
547
|
end
|
545
548
|
|
546
549
|
#
|
547
|
-
# Get IP addresses assigned to
|
548
|
-
# Environment).
|
550
|
+
# Get IP addresses assigned to an App Service Environment.
|
549
551
|
#
|
550
|
-
# Get IP addresses assigned to
|
551
|
-
# Environment).
|
552
|
+
# Get IP addresses assigned to an App Service Environment.
|
552
553
|
#
|
553
|
-
# @param resource_group_name [String] Name of resource group
|
554
|
-
#
|
554
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
555
|
+
# resource belongs.
|
556
|
+
# @param name [String] Name of the App Service Environment.
|
555
557
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
556
558
|
# to the HTTP request.
|
557
559
|
#
|
@@ -610,14 +612,13 @@ module Azure::ARM::Web
|
|
610
612
|
end
|
611
613
|
|
612
614
|
#
|
613
|
-
# Get diagnostic information for
|
614
|
-
# Environment).
|
615
|
+
# Get diagnostic information for an App Service Environment.
|
615
616
|
#
|
616
|
-
# Get diagnostic information for
|
617
|
-
# Environment).
|
617
|
+
# Get diagnostic information for an App Service Environment.
|
618
618
|
#
|
619
|
-
# @param resource_group_name [String] Name of resource group
|
620
|
-
#
|
619
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
620
|
+
# resource belongs.
|
621
|
+
# @param name [String] Name of the App Service Environment.
|
621
622
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
622
623
|
# will be added to the HTTP request.
|
623
624
|
#
|
@@ -629,14 +630,13 @@ module Azure::ARM::Web
|
|
629
630
|
end
|
630
631
|
|
631
632
|
#
|
632
|
-
# Get diagnostic information for
|
633
|
-
# Environment).
|
633
|
+
# Get diagnostic information for an App Service Environment.
|
634
634
|
#
|
635
|
-
# Get diagnostic information for
|
636
|
-
# Environment).
|
635
|
+
# Get diagnostic information for an App Service Environment.
|
637
636
|
#
|
638
|
-
# @param resource_group_name [String] Name of resource group
|
639
|
-
#
|
637
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
638
|
+
# resource belongs.
|
639
|
+
# @param name [String] Name of the App Service Environment.
|
640
640
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
641
641
|
# will be added to the HTTP request.
|
642
642
|
#
|
@@ -647,14 +647,13 @@ module Azure::ARM::Web
|
|
647
647
|
end
|
648
648
|
|
649
649
|
#
|
650
|
-
# Get diagnostic information for
|
651
|
-
# Environment).
|
650
|
+
# Get diagnostic information for an App Service Environment.
|
652
651
|
#
|
653
|
-
# Get diagnostic information for
|
654
|
-
# Environment).
|
652
|
+
# Get diagnostic information for an App Service Environment.
|
655
653
|
#
|
656
|
-
# @param resource_group_name [String] Name of resource group
|
657
|
-
#
|
654
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
655
|
+
# resource belongs.
|
656
|
+
# @param name [String] Name of the App Service Environment.
|
658
657
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
659
658
|
# to the HTTP request.
|
660
659
|
#
|
@@ -727,15 +726,14 @@ module Azure::ARM::Web
|
|
727
726
|
end
|
728
727
|
|
729
728
|
#
|
730
|
-
# Get
|
731
|
-
# Environment).
|
729
|
+
# Get a diagnostics item for an App Service Environment.
|
732
730
|
#
|
733
|
-
# Get
|
734
|
-
# Environment).
|
731
|
+
# Get a diagnostics item for an App Service Environment.
|
735
732
|
#
|
736
|
-
# @param resource_group_name [String] Name of resource group
|
737
|
-
#
|
738
|
-
# @param
|
733
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
734
|
+
# resource belongs.
|
735
|
+
# @param name [String] Name of the App Service Environment.
|
736
|
+
# @param diagnostics_name [String] Name of the diagnostics item.
|
739
737
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
740
738
|
# will be added to the HTTP request.
|
741
739
|
#
|
@@ -747,15 +745,14 @@ module Azure::ARM::Web
|
|
747
745
|
end
|
748
746
|
|
749
747
|
#
|
750
|
-
# Get
|
751
|
-
# Environment).
|
748
|
+
# Get a diagnostics item for an App Service Environment.
|
752
749
|
#
|
753
|
-
# Get
|
754
|
-
# Environment).
|
750
|
+
# Get a diagnostics item for an App Service Environment.
|
755
751
|
#
|
756
|
-
# @param resource_group_name [String] Name of resource group
|
757
|
-
#
|
758
|
-
# @param
|
752
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
753
|
+
# resource belongs.
|
754
|
+
# @param name [String] Name of the App Service Environment.
|
755
|
+
# @param diagnostics_name [String] Name of the diagnostics item.
|
759
756
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
760
757
|
# will be added to the HTTP request.
|
761
758
|
#
|
@@ -766,15 +763,14 @@ module Azure::ARM::Web
|
|
766
763
|
end
|
767
764
|
|
768
765
|
#
|
769
|
-
# Get
|
770
|
-
# Environment).
|
766
|
+
# Get a diagnostics item for an App Service Environment.
|
771
767
|
#
|
772
|
-
# Get
|
773
|
-
# Environment).
|
768
|
+
# Get a diagnostics item for an App Service Environment.
|
774
769
|
#
|
775
|
-
# @param resource_group_name [String] Name of resource group
|
776
|
-
#
|
777
|
-
# @param
|
770
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
771
|
+
# resource belongs.
|
772
|
+
# @param name [String] Name of the App Service Environment.
|
773
|
+
# @param diagnostics_name [String] Name of the diagnostics item.
|
778
774
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
779
775
|
# to the HTTP request.
|
780
776
|
#
|
@@ -834,14 +830,13 @@ module Azure::ARM::Web
|
|
834
830
|
end
|
835
831
|
|
836
832
|
#
|
837
|
-
# Get global metric definitions of
|
838
|
-
# Environment).
|
833
|
+
# Get global metric definitions of an App Service Environment.
|
839
834
|
#
|
840
|
-
# Get global metric definitions of
|
841
|
-
# Environment).
|
835
|
+
# Get global metric definitions of an App Service Environment.
|
842
836
|
#
|
843
|
-
# @param resource_group_name [String] Name of resource group
|
844
|
-
#
|
837
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
838
|
+
# resource belongs.
|
839
|
+
# @param name [String] Name of the App Service Environment.
|
845
840
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
846
841
|
# will be added to the HTTP request.
|
847
842
|
#
|
@@ -853,14 +848,13 @@ module Azure::ARM::Web
|
|
853
848
|
end
|
854
849
|
|
855
850
|
#
|
856
|
-
# Get global metric definitions of
|
857
|
-
# Environment).
|
851
|
+
# Get global metric definitions of an App Service Environment.
|
858
852
|
#
|
859
|
-
# Get global metric definitions of
|
860
|
-
# Environment).
|
853
|
+
# Get global metric definitions of an App Service Environment.
|
861
854
|
#
|
862
|
-
# @param resource_group_name [String] Name of resource group
|
863
|
-
#
|
855
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
856
|
+
# resource belongs.
|
857
|
+
# @param name [String] Name of the App Service Environment.
|
864
858
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
865
859
|
# will be added to the HTTP request.
|
866
860
|
#
|
@@ -871,14 +865,13 @@ module Azure::ARM::Web
|
|
871
865
|
end
|
872
866
|
|
873
867
|
#
|
874
|
-
# Get global metric definitions of
|
875
|
-
# Environment).
|
868
|
+
# Get global metric definitions of an App Service Environment.
|
876
869
|
#
|
877
|
-
# Get global metric definitions of
|
878
|
-
# Environment).
|
870
|
+
# Get global metric definitions of an App Service Environment.
|
879
871
|
#
|
880
|
-
# @param resource_group_name [String] Name of resource group
|
881
|
-
#
|
872
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
873
|
+
# resource belongs.
|
874
|
+
# @param name [String] Name of the App Service Environment.
|
882
875
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
883
876
|
# to the HTTP request.
|
884
877
|
#
|
@@ -937,13 +930,15 @@ module Azure::ARM::Web
|
|
937
930
|
end
|
938
931
|
|
939
932
|
#
|
940
|
-
# Get global metrics of
|
933
|
+
# Get global metrics of an App Service Environment.
|
941
934
|
#
|
942
|
-
# Get global metrics of
|
935
|
+
# Get global metrics of an App Service Environment.
|
943
936
|
#
|
944
|
-
# @param resource_group_name [String] Name of resource group
|
945
|
-
#
|
946
|
-
# @param
|
937
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
938
|
+
# resource belongs.
|
939
|
+
# @param name [String] Name of the App Service Environment.
|
940
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
941
|
+
# details. The default is <code>false</code>.
|
947
942
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
948
943
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
949
944
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -959,13 +954,15 @@ module Azure::ARM::Web
|
|
959
954
|
end
|
960
955
|
|
961
956
|
#
|
962
|
-
# Get global metrics of
|
957
|
+
# Get global metrics of an App Service Environment.
|
963
958
|
#
|
964
|
-
# Get global metrics of
|
959
|
+
# Get global metrics of an App Service Environment.
|
965
960
|
#
|
966
|
-
# @param resource_group_name [String] Name of resource group
|
967
|
-
#
|
968
|
-
# @param
|
961
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
962
|
+
# resource belongs.
|
963
|
+
# @param name [String] Name of the App Service Environment.
|
964
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
965
|
+
# details. The default is <code>false</code>.
|
969
966
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
970
967
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
971
968
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -980,13 +977,15 @@ module Azure::ARM::Web
|
|
980
977
|
end
|
981
978
|
|
982
979
|
#
|
983
|
-
# Get global metrics of
|
980
|
+
# Get global metrics of an App Service Environment.
|
984
981
|
#
|
985
|
-
# Get global metrics of
|
982
|
+
# Get global metrics of an App Service Environment.
|
986
983
|
#
|
987
|
-
# @param resource_group_name [String] Name of resource group
|
988
|
-
#
|
989
|
-
# @param
|
984
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
985
|
+
# resource belongs.
|
986
|
+
# @param name [String] Name of the App Service Environment.
|
987
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
988
|
+
# details. The default is <code>false</code>.
|
990
989
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
991
990
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
992
991
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -1015,7 +1014,8 @@ module Azure::ARM::Web
|
|
1015
1014
|
options = {
|
1016
1015
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1017
1016
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
1018
|
-
query_params: {'details' => details,'
|
1017
|
+
query_params: {'details' => details,'api-version' => api_version},
|
1018
|
+
skip_encoding_query_params: {'$filter' => filter},
|
1019
1019
|
headers: request_headers.merge(custom_headers || {}),
|
1020
1020
|
base_url: request_url
|
1021
1021
|
}
|
@@ -1049,12 +1049,13 @@ module Azure::ARM::Web
|
|
1049
1049
|
end
|
1050
1050
|
|
1051
1051
|
#
|
1052
|
-
# Get all multi
|
1052
|
+
# Get all multi-role pools.
|
1053
1053
|
#
|
1054
|
-
# Get all multi
|
1054
|
+
# Get all multi-role pools.
|
1055
1055
|
#
|
1056
|
-
# @param resource_group_name [String] Name of resource group
|
1057
|
-
#
|
1056
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1057
|
+
# resource belongs.
|
1058
|
+
# @param name [String] Name of the App Service Environment.
|
1058
1059
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1059
1060
|
# will be added to the HTTP request.
|
1060
1061
|
#
|
@@ -1066,12 +1067,13 @@ module Azure::ARM::Web
|
|
1066
1067
|
end
|
1067
1068
|
|
1068
1069
|
#
|
1069
|
-
# Get all multi
|
1070
|
+
# Get all multi-role pools.
|
1070
1071
|
#
|
1071
|
-
# Get all multi
|
1072
|
+
# Get all multi-role pools.
|
1072
1073
|
#
|
1073
|
-
# @param resource_group_name [String] Name of resource group
|
1074
|
-
#
|
1074
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1075
|
+
# resource belongs.
|
1076
|
+
# @param name [String] Name of the App Service Environment.
|
1075
1077
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1076
1078
|
# will be added to the HTTP request.
|
1077
1079
|
#
|
@@ -1082,12 +1084,13 @@ module Azure::ARM::Web
|
|
1082
1084
|
end
|
1083
1085
|
|
1084
1086
|
#
|
1085
|
-
# Get all multi
|
1087
|
+
# Get all multi-role pools.
|
1086
1088
|
#
|
1087
|
-
# Get all multi
|
1089
|
+
# Get all multi-role pools.
|
1088
1090
|
#
|
1089
|
-
# @param resource_group_name [String] Name of resource group
|
1090
|
-
#
|
1091
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1092
|
+
# resource belongs.
|
1093
|
+
# @param name [String] Name of the App Service Environment.
|
1091
1094
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1092
1095
|
# to the HTTP request.
|
1093
1096
|
#
|
@@ -1146,12 +1149,13 @@ module Azure::ARM::Web
|
|
1146
1149
|
end
|
1147
1150
|
|
1148
1151
|
#
|
1149
|
-
# Get properties of a
|
1152
|
+
# Get properties of a multi-role pool.
|
1150
1153
|
#
|
1151
|
-
# Get properties of a
|
1154
|
+
# Get properties of a multi-role pool.
|
1152
1155
|
#
|
1153
|
-
# @param resource_group_name [String] Name of resource group
|
1154
|
-
#
|
1156
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1157
|
+
# resource belongs.
|
1158
|
+
# @param name [String] Name of the App Service Environment.
|
1155
1159
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1156
1160
|
# will be added to the HTTP request.
|
1157
1161
|
#
|
@@ -1163,12 +1167,13 @@ module Azure::ARM::Web
|
|
1163
1167
|
end
|
1164
1168
|
|
1165
1169
|
#
|
1166
|
-
# Get properties of a
|
1170
|
+
# Get properties of a multi-role pool.
|
1167
1171
|
#
|
1168
|
-
# Get properties of a
|
1172
|
+
# Get properties of a multi-role pool.
|
1169
1173
|
#
|
1170
|
-
# @param resource_group_name [String] Name of resource group
|
1171
|
-
#
|
1174
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1175
|
+
# resource belongs.
|
1176
|
+
# @param name [String] Name of the App Service Environment.
|
1172
1177
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1173
1178
|
# will be added to the HTTP request.
|
1174
1179
|
#
|
@@ -1179,12 +1184,13 @@ module Azure::ARM::Web
|
|
1179
1184
|
end
|
1180
1185
|
|
1181
1186
|
#
|
1182
|
-
# Get properties of a
|
1187
|
+
# Get properties of a multi-role pool.
|
1183
1188
|
#
|
1184
|
-
# Get properties of a
|
1189
|
+
# Get properties of a multi-role pool.
|
1185
1190
|
#
|
1186
|
-
# @param resource_group_name [String] Name of resource group
|
1187
|
-
#
|
1191
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1192
|
+
# resource belongs.
|
1193
|
+
# @param name [String] Name of the App Service Environment.
|
1188
1194
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1189
1195
|
# to the HTTP request.
|
1190
1196
|
#
|
@@ -1243,13 +1249,15 @@ module Azure::ARM::Web
|
|
1243
1249
|
end
|
1244
1250
|
|
1245
1251
|
#
|
1246
|
-
# Create or update a
|
1252
|
+
# Create or update a multi-role pool.
|
1247
1253
|
#
|
1248
|
-
# Create or update a
|
1254
|
+
# Create or update a multi-role pool.
|
1249
1255
|
#
|
1250
|
-
# @param resource_group_name [String] Name of resource group
|
1251
|
-
#
|
1252
|
-
# @param
|
1256
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1257
|
+
# resource belongs.
|
1258
|
+
# @param name [String] Name of the App Service Environment.
|
1259
|
+
# @param multi_role_pool_envelope [WorkerPool] Properties of the multi-role
|
1260
|
+
# pool.
|
1253
1261
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1254
1262
|
# will be added to the HTTP request.
|
1255
1263
|
#
|
@@ -1261,9 +1269,11 @@ module Azure::ARM::Web
|
|
1261
1269
|
end
|
1262
1270
|
|
1263
1271
|
#
|
1264
|
-
# @param resource_group_name [String] Name of resource group
|
1265
|
-
#
|
1266
|
-
# @param
|
1272
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1273
|
+
# resource belongs.
|
1274
|
+
# @param name [String] Name of the App Service Environment.
|
1275
|
+
# @param multi_role_pool_envelope [WorkerPool] Properties of the multi-role
|
1276
|
+
# pool.
|
1267
1277
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1268
1278
|
# will be added to the HTTP request.
|
1269
1279
|
#
|
@@ -1289,35 +1299,37 @@ module Azure::ARM::Web
|
|
1289
1299
|
end
|
1290
1300
|
|
1291
1301
|
#
|
1292
|
-
# Get metric definitions for a specific instance of a
|
1293
|
-
#
|
1302
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
1303
|
+
# Service Environment.
|
1294
1304
|
#
|
1295
|
-
# Get metric definitions for a specific instance of a
|
1296
|
-
#
|
1305
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
1306
|
+
# Service Environment.
|
1297
1307
|
#
|
1298
|
-
# @param resource_group_name [String] Name of resource group
|
1299
|
-
#
|
1300
|
-
# @param
|
1308
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1309
|
+
# resource belongs.
|
1310
|
+
# @param name [String] Name of the App Service Environment.
|
1311
|
+
# @param instance [String] Name of the instance in the multi-role pool.
|
1301
1312
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1302
1313
|
# will be added to the HTTP request.
|
1303
1314
|
#
|
1304
|
-
# @return [
|
1315
|
+
# @return [Array<ResourceMetricDefinition>] operation results.
|
1305
1316
|
#
|
1306
1317
|
def list_multi_role_pool_instance_metric_definitions(resource_group_name, name, instance, custom_headers = nil)
|
1307
|
-
|
1308
|
-
|
1318
|
+
first_page = list_multi_role_pool_instance_metric_definitions_as_lazy(resource_group_name, name, instance, custom_headers)
|
1319
|
+
first_page.get_all_items
|
1309
1320
|
end
|
1310
1321
|
|
1311
1322
|
#
|
1312
|
-
# Get metric definitions for a specific instance of a
|
1313
|
-
#
|
1323
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
1324
|
+
# Service Environment.
|
1314
1325
|
#
|
1315
|
-
# Get metric definitions for a specific instance of a
|
1316
|
-
#
|
1326
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
1327
|
+
# Service Environment.
|
1317
1328
|
#
|
1318
|
-
# @param resource_group_name [String] Name of resource group
|
1319
|
-
#
|
1320
|
-
# @param
|
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 Environment.
|
1332
|
+
# @param instance [String] Name of the instance in the multi-role pool.
|
1321
1333
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1322
1334
|
# will be added to the HTTP request.
|
1323
1335
|
#
|
@@ -1328,15 +1340,16 @@ module Azure::ARM::Web
|
|
1328
1340
|
end
|
1329
1341
|
|
1330
1342
|
#
|
1331
|
-
# Get metric definitions for a specific instance of a
|
1332
|
-
#
|
1343
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
1344
|
+
# Service Environment.
|
1333
1345
|
#
|
1334
|
-
# Get metric definitions for a specific instance of a
|
1335
|
-
#
|
1346
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
1347
|
+
# Service Environment.
|
1336
1348
|
#
|
1337
|
-
# @param resource_group_name [String] Name of resource group
|
1338
|
-
#
|
1339
|
-
# @param
|
1349
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1350
|
+
# resource belongs.
|
1351
|
+
# @param name [String] Name of the App Service Environment.
|
1352
|
+
# @param instance [String] Name of the instance in the multi-role pool.
|
1340
1353
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1341
1354
|
# to the HTTP request.
|
1342
1355
|
#
|
@@ -1378,6 +1391,16 @@ module Azure::ARM::Web
|
|
1378
1391
|
end
|
1379
1392
|
|
1380
1393
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1394
|
+
# Deserialize Response
|
1395
|
+
if status_code == 200
|
1396
|
+
begin
|
1397
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1398
|
+
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
1399
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
1400
|
+
rescue Exception => e
|
1401
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1402
|
+
end
|
1403
|
+
end
|
1381
1404
|
|
1382
1405
|
result
|
1383
1406
|
end
|
@@ -1386,37 +1409,41 @@ module Azure::ARM::Web
|
|
1386
1409
|
end
|
1387
1410
|
|
1388
1411
|
#
|
1389
|
-
# Get metrics for a specific instance of a
|
1390
|
-
#
|
1412
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
1413
|
+
# Environment.
|
1391
1414
|
#
|
1392
|
-
# Get metrics for a specific instance of a
|
1393
|
-
#
|
1415
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
1416
|
+
# Environment.
|
1394
1417
|
#
|
1395
|
-
# @param resource_group_name [String] Name of resource group
|
1396
|
-
#
|
1397
|
-
# @param
|
1398
|
-
# @param
|
1418
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1419
|
+
# resource belongs.
|
1420
|
+
# @param name [String] Name of the App Service Environment.
|
1421
|
+
# @param instance [String] Name of the instance in the multi-role pool.
|
1422
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
1423
|
+
# details. The default is <code>false</code>.
|
1399
1424
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1400
1425
|
# will be added to the HTTP request.
|
1401
1426
|
#
|
1402
|
-
# @return [
|
1427
|
+
# @return [Array<ResourceMetric>] operation results.
|
1403
1428
|
#
|
1404
1429
|
def list_multi_role_pool_instance_metrics(resource_group_name, name, instance, details = nil, custom_headers = nil)
|
1405
|
-
|
1406
|
-
|
1430
|
+
first_page = list_multi_role_pool_instance_metrics_as_lazy(resource_group_name, name, instance, details, custom_headers)
|
1431
|
+
first_page.get_all_items
|
1407
1432
|
end
|
1408
1433
|
|
1409
1434
|
#
|
1410
|
-
# Get metrics for a specific instance of a
|
1411
|
-
#
|
1435
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
1436
|
+
# Environment.
|
1412
1437
|
#
|
1413
|
-
# Get metrics for a specific instance of a
|
1414
|
-
#
|
1438
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
1439
|
+
# Environment.
|
1415
1440
|
#
|
1416
|
-
# @param resource_group_name [String] Name of resource group
|
1417
|
-
#
|
1418
|
-
# @param
|
1419
|
-
# @param
|
1441
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1442
|
+
# resource belongs.
|
1443
|
+
# @param name [String] Name of the App Service Environment.
|
1444
|
+
# @param instance [String] Name of the instance in the multi-role pool.
|
1445
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
1446
|
+
# details. The default is <code>false</code>.
|
1420
1447
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1421
1448
|
# will be added to the HTTP request.
|
1422
1449
|
#
|
@@ -1427,16 +1454,18 @@ module Azure::ARM::Web
|
|
1427
1454
|
end
|
1428
1455
|
|
1429
1456
|
#
|
1430
|
-
# Get metrics for a specific instance of a
|
1431
|
-
#
|
1457
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
1458
|
+
# Environment.
|
1432
1459
|
#
|
1433
|
-
# Get metrics for a specific instance of a
|
1434
|
-
#
|
1460
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
1461
|
+
# Environment.
|
1435
1462
|
#
|
1436
|
-
# @param resource_group_name [String] Name of resource group
|
1437
|
-
#
|
1438
|
-
# @param
|
1439
|
-
# @param
|
1463
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1464
|
+
# resource belongs.
|
1465
|
+
# @param name [String] Name of the App Service Environment.
|
1466
|
+
# @param instance [String] Name of the instance in the multi-role pool.
|
1467
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
1468
|
+
# details. The default is <code>false</code>.
|
1440
1469
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1441
1470
|
# to the HTTP request.
|
1442
1471
|
#
|
@@ -1455,7 +1484,7 @@ module Azure::ARM::Web
|
|
1455
1484
|
# Set Headers
|
1456
1485
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1457
1486
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1458
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}
|
1487
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}metrics'
|
1459
1488
|
|
1460
1489
|
request_url = @base_url || @client.base_url
|
1461
1490
|
|
@@ -1478,6 +1507,16 @@ module Azure::ARM::Web
|
|
1478
1507
|
end
|
1479
1508
|
|
1480
1509
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1510
|
+
# Deserialize Response
|
1511
|
+
if status_code == 200
|
1512
|
+
begin
|
1513
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1514
|
+
result_mapper = ResourceMetricCollection.mapper()
|
1515
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
1516
|
+
rescue Exception => e
|
1517
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1518
|
+
end
|
1519
|
+
end
|
1481
1520
|
|
1482
1521
|
result
|
1483
1522
|
end
|
@@ -1486,18 +1525,17 @@ module Azure::ARM::Web
|
|
1486
1525
|
end
|
1487
1526
|
|
1488
1527
|
#
|
1489
|
-
# Get metric definitions for a
|
1490
|
-
# Service Environment).
|
1528
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
1491
1529
|
#
|
1492
|
-
# Get metric definitions for a
|
1493
|
-
# Service Environment).
|
1530
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
1494
1531
|
#
|
1495
|
-
# @param resource_group_name [String] Name of resource group
|
1496
|
-
#
|
1532
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1533
|
+
# resource belongs.
|
1534
|
+
# @param name [String] Name of the App Service Environment.
|
1497
1535
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1498
1536
|
# will be added to the HTTP request.
|
1499
1537
|
#
|
1500
|
-
# @return [Array<
|
1538
|
+
# @return [Array<ResourceMetricDefinition>] operation results.
|
1501
1539
|
#
|
1502
1540
|
def list_multi_role_metric_definitions(resource_group_name, name, custom_headers = nil)
|
1503
1541
|
first_page = list_multi_role_metric_definitions_as_lazy(resource_group_name, name, custom_headers)
|
@@ -1505,14 +1543,13 @@ module Azure::ARM::Web
|
|
1505
1543
|
end
|
1506
1544
|
|
1507
1545
|
#
|
1508
|
-
# Get metric definitions for a
|
1509
|
-
# Service Environment).
|
1546
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
1510
1547
|
#
|
1511
|
-
# Get metric definitions for a
|
1512
|
-
# Service Environment).
|
1548
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
1513
1549
|
#
|
1514
|
-
# @param resource_group_name [String] Name of resource group
|
1515
|
-
#
|
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 Environment.
|
1516
1553
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1517
1554
|
# will be added to the HTTP request.
|
1518
1555
|
#
|
@@ -1523,14 +1560,13 @@ module Azure::ARM::Web
|
|
1523
1560
|
end
|
1524
1561
|
|
1525
1562
|
#
|
1526
|
-
# Get metric definitions for a
|
1527
|
-
# Service Environment).
|
1563
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
1528
1564
|
#
|
1529
|
-
# Get metric definitions for a
|
1530
|
-
# Service Environment).
|
1565
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
1531
1566
|
#
|
1532
|
-
# @param resource_group_name [String] Name of resource group
|
1533
|
-
#
|
1567
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1568
|
+
# resource belongs.
|
1569
|
+
# @param name [String] Name of the App Service Environment.
|
1534
1570
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1535
1571
|
# to the HTTP request.
|
1536
1572
|
#
|
@@ -1575,7 +1611,7 @@ module Azure::ARM::Web
|
|
1575
1611
|
if status_code == 200
|
1576
1612
|
begin
|
1577
1613
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1578
|
-
result_mapper =
|
1614
|
+
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
1579
1615
|
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
1580
1616
|
rescue Exception => e
|
1581
1617
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1589,18 +1625,18 @@ module Azure::ARM::Web
|
|
1589
1625
|
end
|
1590
1626
|
|
1591
1627
|
#
|
1592
|
-
# Get metrics for a
|
1593
|
-
# Environment).
|
1628
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
1594
1629
|
#
|
1595
|
-
# Get metrics for a
|
1596
|
-
# Environment).
|
1630
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
1597
1631
|
#
|
1598
|
-
# @param resource_group_name [String] Name of resource group
|
1599
|
-
#
|
1600
|
-
# @param
|
1601
|
-
# @param
|
1602
|
-
# @param
|
1603
|
-
# @param
|
1632
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1633
|
+
# resource belongs.
|
1634
|
+
# @param name [String] Name of the App Service Environment.
|
1635
|
+
# @param start_time [String] Beginning time of the metrics query.
|
1636
|
+
# @param end_time [String] End time of the metrics query.
|
1637
|
+
# @param time_grain [String] Time granularity of the metrics query.
|
1638
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
1639
|
+
# details. The default is <code>false</code>.
|
1604
1640
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
1605
1641
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
1606
1642
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -1616,18 +1652,18 @@ module Azure::ARM::Web
|
|
1616
1652
|
end
|
1617
1653
|
|
1618
1654
|
#
|
1619
|
-
# Get metrics for a
|
1620
|
-
# Environment).
|
1655
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
1621
1656
|
#
|
1622
|
-
# Get metrics for a
|
1623
|
-
# Environment).
|
1657
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
1624
1658
|
#
|
1625
|
-
# @param resource_group_name [String] Name of resource group
|
1626
|
-
#
|
1627
|
-
# @param
|
1628
|
-
# @param
|
1629
|
-
# @param
|
1630
|
-
# @param
|
1659
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1660
|
+
# resource belongs.
|
1661
|
+
# @param name [String] Name of the App Service Environment.
|
1662
|
+
# @param start_time [String] Beginning time of the metrics query.
|
1663
|
+
# @param end_time [String] End time of the metrics query.
|
1664
|
+
# @param time_grain [String] Time granularity of the metrics query.
|
1665
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
1666
|
+
# details. The default is <code>false</code>.
|
1631
1667
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
1632
1668
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
1633
1669
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -1642,18 +1678,18 @@ module Azure::ARM::Web
|
|
1642
1678
|
end
|
1643
1679
|
|
1644
1680
|
#
|
1645
|
-
# Get metrics for a
|
1646
|
-
# Environment).
|
1681
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
1647
1682
|
#
|
1648
|
-
# Get metrics for a
|
1649
|
-
# Environment).
|
1683
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
1650
1684
|
#
|
1651
|
-
# @param resource_group_name [String] Name of resource group
|
1652
|
-
#
|
1653
|
-
# @param
|
1654
|
-
# @param
|
1655
|
-
# @param
|
1656
|
-
# @param
|
1685
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1686
|
+
# resource belongs.
|
1687
|
+
# @param name [String] Name of the App Service Environment.
|
1688
|
+
# @param start_time [String] Beginning time of the metrics query.
|
1689
|
+
# @param end_time [String] End time of the metrics query.
|
1690
|
+
# @param time_grain [String] Time granularity of the metrics query.
|
1691
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
1692
|
+
# details. The default is <code>false</code>.
|
1657
1693
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
1658
1694
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
1659
1695
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -1682,7 +1718,8 @@ module Azure::ARM::Web
|
|
1682
1718
|
options = {
|
1683
1719
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1684
1720
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
1685
|
-
query_params: {'startTime' => start_time,'endTime' => end_time,'timeGrain' => time_grain,'details' => details,'
|
1721
|
+
query_params: {'startTime' => start_time,'endTime' => end_time,'timeGrain' => time_grain,'details' => details,'api-version' => api_version},
|
1722
|
+
skip_encoding_query_params: {'$filter' => filter},
|
1686
1723
|
headers: request_headers.merge(custom_headers || {}),
|
1687
1724
|
base_url: request_url
|
1688
1725
|
}
|
@@ -1716,12 +1753,13 @@ module Azure::ARM::Web
|
|
1716
1753
|
end
|
1717
1754
|
|
1718
1755
|
#
|
1719
|
-
# Get available
|
1756
|
+
# Get available SKUs for scaling a multi-role pool.
|
1720
1757
|
#
|
1721
|
-
# Get available
|
1758
|
+
# Get available SKUs for scaling a multi-role pool.
|
1722
1759
|
#
|
1723
|
-
# @param resource_group_name [String] Name of resource group
|
1724
|
-
#
|
1760
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1761
|
+
# resource belongs.
|
1762
|
+
# @param name [String] Name of the App Service Environment.
|
1725
1763
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1726
1764
|
# will be added to the HTTP request.
|
1727
1765
|
#
|
@@ -1733,12 +1771,13 @@ module Azure::ARM::Web
|
|
1733
1771
|
end
|
1734
1772
|
|
1735
1773
|
#
|
1736
|
-
# Get available
|
1774
|
+
# Get available SKUs for scaling a multi-role pool.
|
1737
1775
|
#
|
1738
|
-
# Get available
|
1776
|
+
# Get available SKUs for scaling a multi-role pool.
|
1739
1777
|
#
|
1740
|
-
# @param resource_group_name [String] Name of resource group
|
1741
|
-
#
|
1778
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1779
|
+
# resource belongs.
|
1780
|
+
# @param name [String] Name of the App Service Environment.
|
1742
1781
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1743
1782
|
# will be added to the HTTP request.
|
1744
1783
|
#
|
@@ -1749,12 +1788,13 @@ module Azure::ARM::Web
|
|
1749
1788
|
end
|
1750
1789
|
|
1751
1790
|
#
|
1752
|
-
# Get available
|
1791
|
+
# Get available SKUs for scaling a multi-role pool.
|
1753
1792
|
#
|
1754
|
-
# Get available
|
1793
|
+
# Get available SKUs for scaling a multi-role pool.
|
1755
1794
|
#
|
1756
|
-
# @param resource_group_name [String] Name of resource group
|
1757
|
-
#
|
1795
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1796
|
+
# resource belongs.
|
1797
|
+
# @param name [String] Name of the App Service Environment.
|
1758
1798
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1759
1799
|
# to the HTTP request.
|
1760
1800
|
#
|
@@ -1813,14 +1853,13 @@ module Azure::ARM::Web
|
|
1813
1853
|
end
|
1814
1854
|
|
1815
1855
|
#
|
1816
|
-
# Get
|
1817
|
-
# Environment).
|
1856
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
1818
1857
|
#
|
1819
|
-
# Get
|
1820
|
-
# Environment).
|
1858
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
1821
1859
|
#
|
1822
|
-
# @param resource_group_name [String] Name of resource group
|
1823
|
-
#
|
1860
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1861
|
+
# resource belongs.
|
1862
|
+
# @param name [String] Name of the App Service Environment.
|
1824
1863
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1825
1864
|
# will be added to the HTTP request.
|
1826
1865
|
#
|
@@ -1832,14 +1871,13 @@ module Azure::ARM::Web
|
|
1832
1871
|
end
|
1833
1872
|
|
1834
1873
|
#
|
1835
|
-
# Get
|
1836
|
-
# Environment).
|
1874
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
1837
1875
|
#
|
1838
|
-
# Get
|
1839
|
-
# Environment).
|
1876
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
1840
1877
|
#
|
1841
|
-
# @param resource_group_name [String] Name of resource group
|
1842
|
-
#
|
1878
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1879
|
+
# resource belongs.
|
1880
|
+
# @param name [String] Name of the App Service Environment.
|
1843
1881
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1844
1882
|
# will be added to the HTTP request.
|
1845
1883
|
#
|
@@ -1850,14 +1888,13 @@ module Azure::ARM::Web
|
|
1850
1888
|
end
|
1851
1889
|
|
1852
1890
|
#
|
1853
|
-
# Get
|
1854
|
-
# Environment).
|
1891
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
1855
1892
|
#
|
1856
|
-
# Get
|
1857
|
-
# Environment).
|
1893
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
1858
1894
|
#
|
1859
|
-
# @param resource_group_name [String] Name of resource group
|
1860
|
-
#
|
1895
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1896
|
+
# resource belongs.
|
1897
|
+
# @param name [String] Name of the App Service Environment.
|
1861
1898
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1862
1899
|
# to the HTTP request.
|
1863
1900
|
#
|
@@ -1916,18 +1953,17 @@ module Azure::ARM::Web
|
|
1916
1953
|
end
|
1917
1954
|
|
1918
1955
|
#
|
1919
|
-
# List all currently running operations on the
|
1920
|
-
# Service Environment)
|
1956
|
+
# List all currently running operations on the App Service Environment.
|
1921
1957
|
#
|
1922
|
-
# List all currently running operations on the
|
1923
|
-
# Service Environment)
|
1958
|
+
# List all currently running operations on the App Service Environment.
|
1924
1959
|
#
|
1925
|
-
# @param resource_group_name [String] Name of resource group
|
1926
|
-
#
|
1960
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1961
|
+
# resource belongs.
|
1962
|
+
# @param name [String] Name of the App Service Environment.
|
1927
1963
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1928
1964
|
# will be added to the HTTP request.
|
1929
1965
|
#
|
1930
|
-
# @return [
|
1966
|
+
# @return [Array] operation results.
|
1931
1967
|
#
|
1932
1968
|
def list_operations(resource_group_name, name, custom_headers = nil)
|
1933
1969
|
response = list_operations_async(resource_group_name, name, custom_headers).value!
|
@@ -1935,14 +1971,13 @@ module Azure::ARM::Web
|
|
1935
1971
|
end
|
1936
1972
|
|
1937
1973
|
#
|
1938
|
-
# List all currently running operations on the
|
1939
|
-
# Service Environment)
|
1974
|
+
# List all currently running operations on the App Service Environment.
|
1940
1975
|
#
|
1941
|
-
# List all currently running operations on the
|
1942
|
-
# Service Environment)
|
1976
|
+
# List all currently running operations on the App Service Environment.
|
1943
1977
|
#
|
1944
|
-
# @param resource_group_name [String] Name of resource group
|
1945
|
-
#
|
1978
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1979
|
+
# resource belongs.
|
1980
|
+
# @param name [String] Name of the App Service Environment.
|
1946
1981
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1947
1982
|
# will be added to the HTTP request.
|
1948
1983
|
#
|
@@ -1953,14 +1988,13 @@ module Azure::ARM::Web
|
|
1953
1988
|
end
|
1954
1989
|
|
1955
1990
|
#
|
1956
|
-
# List all currently running operations on the
|
1957
|
-
# Service Environment)
|
1991
|
+
# List all currently running operations on the App Service Environment.
|
1958
1992
|
#
|
1959
|
-
# List all currently running operations on the
|
1960
|
-
# Service Environment)
|
1993
|
+
# List all currently running operations on the App Service Environment.
|
1961
1994
|
#
|
1962
|
-
# @param resource_group_name [String] Name of resource group
|
1963
|
-
#
|
1995
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
1996
|
+
# resource belongs.
|
1997
|
+
# @param name [String] Name of the App Service Environment.
|
1964
1998
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1965
1999
|
# to the HTTP request.
|
1966
2000
|
#
|
@@ -2001,104 +2035,31 @@ module Azure::ARM::Web
|
|
2001
2035
|
end
|
2002
2036
|
|
2003
2037
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2004
|
-
|
2005
|
-
|
2006
|
-
|
2007
|
-
|
2008
|
-
|
2009
|
-
|
2010
|
-
|
2011
|
-
|
2012
|
-
|
2013
|
-
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2017
|
-
|
2018
|
-
|
2019
|
-
|
2020
|
-
|
2021
|
-
|
2022
|
-
|
2023
|
-
|
2024
|
-
|
2025
|
-
|
2026
|
-
|
2027
|
-
response = get_operation_async(resource_group_name, name, operation_id, custom_headers).value!
|
2028
|
-
response.body unless response.nil?
|
2029
|
-
end
|
2030
|
-
|
2031
|
-
#
|
2032
|
-
# Get status of an operation on a AppServiceEnvironment (App Service
|
2033
|
-
# Environment).
|
2034
|
-
#
|
2035
|
-
# Get status of an operation on a AppServiceEnvironment (App Service
|
2036
|
-
# Environment).
|
2037
|
-
#
|
2038
|
-
# @param resource_group_name [String] Name of resource group
|
2039
|
-
# @param name [String] Name of AppServiceEnvironment (App Service Environment)
|
2040
|
-
# @param operation_id [String] operation identifier GUID
|
2041
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2042
|
-
# will be added to the HTTP request.
|
2043
|
-
#
|
2044
|
-
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2045
|
-
#
|
2046
|
-
def get_operation_with_http_info(resource_group_name, name, operation_id, custom_headers = nil)
|
2047
|
-
get_operation_async(resource_group_name, name, operation_id, custom_headers).value!
|
2048
|
-
end
|
2049
|
-
|
2050
|
-
#
|
2051
|
-
# Get status of an operation on a AppServiceEnvironment (App Service
|
2052
|
-
# Environment).
|
2053
|
-
#
|
2054
|
-
# Get status of an operation on a AppServiceEnvironment (App Service
|
2055
|
-
# Environment).
|
2056
|
-
#
|
2057
|
-
# @param resource_group_name [String] Name of resource group
|
2058
|
-
# @param name [String] Name of AppServiceEnvironment (App Service Environment)
|
2059
|
-
# @param operation_id [String] operation identifier GUID
|
2060
|
-
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2061
|
-
# to the HTTP request.
|
2062
|
-
#
|
2063
|
-
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2064
|
-
#
|
2065
|
-
def get_operation_async(resource_group_name, name, operation_id, custom_headers = nil)
|
2066
|
-
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2067
|
-
fail ArgumentError, 'name is nil' if name.nil?
|
2068
|
-
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
2069
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2070
|
-
api_version = '2016-09-01'
|
2071
|
-
|
2072
|
-
|
2073
|
-
request_headers = {}
|
2074
|
-
|
2075
|
-
# Set Headers
|
2076
|
-
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2077
|
-
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2078
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations/{operationId}'
|
2079
|
-
|
2080
|
-
request_url = @base_url || @client.base_url
|
2081
|
-
|
2082
|
-
options = {
|
2083
|
-
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2084
|
-
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'operationId' => operation_id,'subscriptionId' => @client.subscription_id},
|
2085
|
-
query_params: {'api-version' => api_version},
|
2086
|
-
headers: request_headers.merge(custom_headers || {}),
|
2087
|
-
base_url: request_url
|
2088
|
-
}
|
2089
|
-
promise = @client.make_request_async(:get, path_template, options)
|
2090
|
-
|
2091
|
-
promise = promise.then do |result|
|
2092
|
-
http_response = result.response
|
2093
|
-
status_code = http_response.status
|
2094
|
-
response_content = http_response.body
|
2095
|
-
unless status_code == 200 || status_code == 202 || status_code == 404 || status_code == 500
|
2096
|
-
error_model = JSON.load(response_content)
|
2097
|
-
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2038
|
+
# Deserialize Response
|
2039
|
+
if status_code == 200
|
2040
|
+
begin
|
2041
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2042
|
+
result_mapper = {
|
2043
|
+
required: false,
|
2044
|
+
serialized_name: 'parsed_response',
|
2045
|
+
type: {
|
2046
|
+
name: 'Sequence',
|
2047
|
+
element: {
|
2048
|
+
required: false,
|
2049
|
+
serialized_name: 'OperationElementType',
|
2050
|
+
type: {
|
2051
|
+
name: 'Composite',
|
2052
|
+
class_name: 'Operation'
|
2053
|
+
}
|
2054
|
+
}
|
2055
|
+
}
|
2056
|
+
}
|
2057
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
2058
|
+
rescue Exception => e
|
2059
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2060
|
+
end
|
2098
2061
|
end
|
2099
2062
|
|
2100
|
-
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2101
|
-
|
2102
2063
|
result
|
2103
2064
|
end
|
2104
2065
|
|
@@ -2106,29 +2067,30 @@ module Azure::ARM::Web
|
|
2106
2067
|
end
|
2107
2068
|
|
2108
2069
|
#
|
2109
|
-
#
|
2070
|
+
# Reboot all machines in an App Service Environment.
|
2110
2071
|
#
|
2111
|
-
#
|
2072
|
+
# Reboot all machines in an App Service Environment.
|
2112
2073
|
#
|
2113
|
-
# @param resource_group_name [String] Name of resource group
|
2114
|
-
#
|
2074
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2075
|
+
# resource belongs.
|
2076
|
+
# @param name [String] Name of the App Service Environment.
|
2115
2077
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2116
2078
|
# will be added to the HTTP request.
|
2117
2079
|
#
|
2118
|
-
# @return [Object] operation results.
|
2119
2080
|
#
|
2120
2081
|
def reboot(resource_group_name, name, custom_headers = nil)
|
2121
2082
|
response = reboot_async(resource_group_name, name, custom_headers).value!
|
2122
|
-
|
2083
|
+
nil
|
2123
2084
|
end
|
2124
2085
|
|
2125
2086
|
#
|
2126
|
-
#
|
2087
|
+
# Reboot all machines in an App Service Environment.
|
2127
2088
|
#
|
2128
|
-
#
|
2089
|
+
# Reboot all machines in an App Service Environment.
|
2129
2090
|
#
|
2130
|
-
# @param resource_group_name [String] Name of resource group
|
2131
|
-
#
|
2091
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2092
|
+
# resource belongs.
|
2093
|
+
# @param name [String] Name of the App Service Environment.
|
2132
2094
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2133
2095
|
# will be added to the HTTP request.
|
2134
2096
|
#
|
@@ -2139,12 +2101,13 @@ module Azure::ARM::Web
|
|
2139
2101
|
end
|
2140
2102
|
|
2141
2103
|
#
|
2142
|
-
#
|
2104
|
+
# Reboot all machines in an App Service Environment.
|
2143
2105
|
#
|
2144
|
-
#
|
2106
|
+
# Reboot all machines in an App Service Environment.
|
2145
2107
|
#
|
2146
|
-
# @param resource_group_name [String] Name of resource group
|
2147
|
-
#
|
2108
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2109
|
+
# resource belongs.
|
2110
|
+
# @param name [String] Name of the App Service Environment.
|
2148
2111
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2149
2112
|
# to the HTTP request.
|
2150
2113
|
#
|
@@ -2193,17 +2156,17 @@ module Azure::ARM::Web
|
|
2193
2156
|
end
|
2194
2157
|
|
2195
2158
|
#
|
2196
|
-
#
|
2159
|
+
# Resume an App Service Environment.
|
2197
2160
|
#
|
2198
|
-
#
|
2161
|
+
# Resume an App Service Environment.
|
2199
2162
|
#
|
2200
|
-
# @param resource_group_name [String] Name of resource group
|
2201
|
-
#
|
2163
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2164
|
+
# resource belongs.
|
2165
|
+
# @param name [String] Name of the App Service Environment.
|
2202
2166
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2203
2167
|
# will be added to the HTTP request.
|
2204
2168
|
#
|
2205
|
-
# @return [
|
2206
|
-
# response.
|
2169
|
+
# @return [Array<Site>] which provide lazy access to pages of the response.
|
2207
2170
|
#
|
2208
2171
|
def resume(resource_group_name, name, custom_headers = nil)
|
2209
2172
|
response = resume_async(resource_group_name, name, custom_headers).value!
|
@@ -2216,12 +2179,13 @@ module Azure::ARM::Web
|
|
2216
2179
|
end
|
2217
2180
|
end
|
2218
2181
|
#
|
2219
|
-
#
|
2182
|
+
# Resume an App Service Environment.
|
2220
2183
|
#
|
2221
|
-
#
|
2184
|
+
# Resume an App Service Environment.
|
2222
2185
|
#
|
2223
|
-
# @param resource_group_name [String] Name of resource group
|
2224
|
-
#
|
2186
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2187
|
+
# resource belongs.
|
2188
|
+
# @param name [String] Name of the App Service Environment.
|
2225
2189
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2226
2190
|
# will be added to the HTTP request.
|
2227
2191
|
#
|
@@ -2233,8 +2197,9 @@ module Azure::ARM::Web
|
|
2233
2197
|
end
|
2234
2198
|
|
2235
2199
|
#
|
2236
|
-
# @param resource_group_name [String] Name of resource group
|
2237
|
-
#
|
2200
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2201
|
+
# resource belongs.
|
2202
|
+
# @param name [String] Name of the App Service Environment.
|
2238
2203
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2239
2204
|
# will be added to the HTTP request.
|
2240
2205
|
#
|
@@ -2260,14 +2225,13 @@ module Azure::ARM::Web
|
|
2260
2225
|
end
|
2261
2226
|
|
2262
2227
|
#
|
2263
|
-
# Get all
|
2264
|
-
# Service Environment).
|
2228
|
+
# Get all App Service plans in an App Service Environment.
|
2265
2229
|
#
|
2266
|
-
# Get all
|
2267
|
-
# Service Environment).
|
2230
|
+
# Get all App Service plans in an App Service Environment.
|
2268
2231
|
#
|
2269
|
-
# @param resource_group_name [String] Name of resource group
|
2270
|
-
#
|
2232
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2233
|
+
# resource belongs.
|
2234
|
+
# @param name [String] Name of the App Service Environment.
|
2271
2235
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2272
2236
|
# will be added to the HTTP request.
|
2273
2237
|
#
|
@@ -2279,14 +2243,13 @@ module Azure::ARM::Web
|
|
2279
2243
|
end
|
2280
2244
|
|
2281
2245
|
#
|
2282
|
-
# Get all
|
2283
|
-
# Service Environment).
|
2246
|
+
# Get all App Service plans in an App Service Environment.
|
2284
2247
|
#
|
2285
|
-
# Get all
|
2286
|
-
# Service Environment).
|
2248
|
+
# Get all App Service plans in an App Service Environment.
|
2287
2249
|
#
|
2288
|
-
# @param resource_group_name [String] Name of resource group
|
2289
|
-
#
|
2250
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2251
|
+
# resource belongs.
|
2252
|
+
# @param name [String] Name of the App Service Environment.
|
2290
2253
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2291
2254
|
# will be added to the HTTP request.
|
2292
2255
|
#
|
@@ -2297,14 +2260,13 @@ module Azure::ARM::Web
|
|
2297
2260
|
end
|
2298
2261
|
|
2299
2262
|
#
|
2300
|
-
# Get all
|
2301
|
-
# Service Environment).
|
2263
|
+
# Get all App Service plans in an App Service Environment.
|
2302
2264
|
#
|
2303
|
-
# Get all
|
2304
|
-
# Service Environment).
|
2265
|
+
# Get all App Service plans in an App Service Environment.
|
2305
2266
|
#
|
2306
|
-
# @param resource_group_name [String] Name of resource group
|
2307
|
-
#
|
2267
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2268
|
+
# resource belongs.
|
2269
|
+
# @param name [String] Name of the App Service Environment.
|
2308
2270
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2309
2271
|
# to the HTTP request.
|
2310
2272
|
#
|
@@ -2363,14 +2325,15 @@ module Azure::ARM::Web
|
|
2363
2325
|
end
|
2364
2326
|
|
2365
2327
|
#
|
2366
|
-
# Get all
|
2328
|
+
# Get all apps in an App Service Environment.
|
2367
2329
|
#
|
2368
|
-
# Get all
|
2330
|
+
# Get all apps in an App Service Environment.
|
2369
2331
|
#
|
2370
|
-
# @param resource_group_name [String] Name of resource group
|
2371
|
-
#
|
2372
|
-
# @param
|
2373
|
-
#
|
2332
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2333
|
+
# resource belongs.
|
2334
|
+
# @param name [String] Name of the App Service Environment.
|
2335
|
+
# @param properties_to_include [String] Comma separated list of app properties
|
2336
|
+
# to include.
|
2374
2337
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2375
2338
|
# will be added to the HTTP request.
|
2376
2339
|
#
|
@@ -2382,14 +2345,15 @@ module Azure::ARM::Web
|
|
2382
2345
|
end
|
2383
2346
|
|
2384
2347
|
#
|
2385
|
-
# Get all
|
2348
|
+
# Get all apps in an App Service Environment.
|
2386
2349
|
#
|
2387
|
-
# Get all
|
2350
|
+
# Get all apps in an App Service Environment.
|
2388
2351
|
#
|
2389
|
-
# @param resource_group_name [String] Name of resource group
|
2390
|
-
#
|
2391
|
-
# @param
|
2392
|
-
#
|
2352
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2353
|
+
# resource belongs.
|
2354
|
+
# @param name [String] Name of the App Service Environment.
|
2355
|
+
# @param properties_to_include [String] Comma separated list of app properties
|
2356
|
+
# to include.
|
2393
2357
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2394
2358
|
# will be added to the HTTP request.
|
2395
2359
|
#
|
@@ -2400,14 +2364,15 @@ module Azure::ARM::Web
|
|
2400
2364
|
end
|
2401
2365
|
|
2402
2366
|
#
|
2403
|
-
# Get all
|
2367
|
+
# Get all apps in an App Service Environment.
|
2404
2368
|
#
|
2405
|
-
# Get all
|
2369
|
+
# Get all apps in an App Service Environment.
|
2406
2370
|
#
|
2407
|
-
# @param resource_group_name [String] Name of resource group
|
2408
|
-
#
|
2409
|
-
# @param
|
2410
|
-
#
|
2371
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2372
|
+
# resource belongs.
|
2373
|
+
# @param name [String] Name of the App Service Environment.
|
2374
|
+
# @param properties_to_include [String] Comma separated list of app properties
|
2375
|
+
# to include.
|
2411
2376
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2412
2377
|
# to the HTTP request.
|
2413
2378
|
#
|
@@ -2466,17 +2431,17 @@ module Azure::ARM::Web
|
|
2466
2431
|
end
|
2467
2432
|
|
2468
2433
|
#
|
2469
|
-
#
|
2434
|
+
# Suspend an App Service Environment.
|
2470
2435
|
#
|
2471
|
-
#
|
2436
|
+
# Suspend an App Service Environment.
|
2472
2437
|
#
|
2473
|
-
# @param resource_group_name [String] Name of resource group
|
2474
|
-
#
|
2438
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2439
|
+
# resource belongs.
|
2440
|
+
# @param name [String] Name of the App Service Environment.
|
2475
2441
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2476
2442
|
# will be added to the HTTP request.
|
2477
2443
|
#
|
2478
|
-
# @return [
|
2479
|
-
# response.
|
2444
|
+
# @return [Array<Site>] which provide lazy access to pages of the response.
|
2480
2445
|
#
|
2481
2446
|
def suspend(resource_group_name, name, custom_headers = nil)
|
2482
2447
|
response = suspend_async(resource_group_name, name, custom_headers).value!
|
@@ -2489,12 +2454,13 @@ module Azure::ARM::Web
|
|
2489
2454
|
end
|
2490
2455
|
end
|
2491
2456
|
#
|
2492
|
-
#
|
2457
|
+
# Suspend an App Service Environment.
|
2493
2458
|
#
|
2494
|
-
#
|
2459
|
+
# Suspend an App Service Environment.
|
2495
2460
|
#
|
2496
|
-
# @param resource_group_name [String] Name of resource group
|
2497
|
-
#
|
2461
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2462
|
+
# resource belongs.
|
2463
|
+
# @param name [String] Name of the App Service Environment.
|
2498
2464
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2499
2465
|
# will be added to the HTTP request.
|
2500
2466
|
#
|
@@ -2506,8 +2472,9 @@ module Azure::ARM::Web
|
|
2506
2472
|
end
|
2507
2473
|
|
2508
2474
|
#
|
2509
|
-
# @param resource_group_name [String] Name of resource group
|
2510
|
-
#
|
2475
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2476
|
+
# resource belongs.
|
2477
|
+
# @param name [String] Name of the App Service Environment.
|
2511
2478
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2512
2479
|
# will be added to the HTTP request.
|
2513
2480
|
#
|
@@ -2533,12 +2500,13 @@ module Azure::ARM::Web
|
|
2533
2500
|
end
|
2534
2501
|
|
2535
2502
|
#
|
2536
|
-
# Get global
|
2503
|
+
# Get global usage metrics of an App Service Environment.
|
2537
2504
|
#
|
2538
|
-
# Get global
|
2505
|
+
# Get global usage metrics of an App Service Environment.
|
2539
2506
|
#
|
2540
|
-
# @param resource_group_name [String] Name of resource group
|
2541
|
-
#
|
2507
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2508
|
+
# resource belongs.
|
2509
|
+
# @param name [String] Name of the App Service Environment.
|
2542
2510
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
2543
2511
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
2544
2512
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -2554,12 +2522,13 @@ module Azure::ARM::Web
|
|
2554
2522
|
end
|
2555
2523
|
|
2556
2524
|
#
|
2557
|
-
# Get global
|
2525
|
+
# Get global usage metrics of an App Service Environment.
|
2558
2526
|
#
|
2559
|
-
# Get global
|
2527
|
+
# Get global usage metrics of an App Service Environment.
|
2560
2528
|
#
|
2561
|
-
# @param resource_group_name [String] Name of resource group
|
2562
|
-
#
|
2529
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2530
|
+
# resource belongs.
|
2531
|
+
# @param name [String] Name of the App Service Environment.
|
2563
2532
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
2564
2533
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
2565
2534
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -2574,12 +2543,13 @@ module Azure::ARM::Web
|
|
2574
2543
|
end
|
2575
2544
|
|
2576
2545
|
#
|
2577
|
-
# Get global
|
2546
|
+
# Get global usage metrics of an App Service Environment.
|
2578
2547
|
#
|
2579
|
-
# Get global
|
2548
|
+
# Get global usage metrics of an App Service Environment.
|
2580
2549
|
#
|
2581
|
-
# @param resource_group_name [String] Name of resource group
|
2582
|
-
#
|
2550
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2551
|
+
# resource belongs.
|
2552
|
+
# @param name [String] Name of the App Service Environment.
|
2583
2553
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
2584
2554
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
2585
2555
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -2608,7 +2578,8 @@ module Azure::ARM::Web
|
|
2608
2578
|
options = {
|
2609
2579
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2610
2580
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
2611
|
-
query_params: {'
|
2581
|
+
query_params: {'api-version' => api_version},
|
2582
|
+
skip_encoding_query_params: {'$filter' => filter},
|
2612
2583
|
headers: request_headers.merge(custom_headers || {}),
|
2613
2584
|
base_url: request_url
|
2614
2585
|
}
|
@@ -2642,12 +2613,13 @@ module Azure::ARM::Web
|
|
2642
2613
|
end
|
2643
2614
|
|
2644
2615
|
#
|
2645
|
-
# Get all worker pools
|
2616
|
+
# Get all worker pools of an App Service Environment.
|
2646
2617
|
#
|
2647
|
-
# Get all worker pools
|
2618
|
+
# Get all worker pools of an App Service Environment.
|
2648
2619
|
#
|
2649
|
-
# @param resource_group_name [String] Name of resource group
|
2650
|
-
#
|
2620
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2621
|
+
# resource belongs.
|
2622
|
+
# @param name [String] Name of the App Service Environment.
|
2651
2623
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2652
2624
|
# will be added to the HTTP request.
|
2653
2625
|
#
|
@@ -2659,12 +2631,13 @@ module Azure::ARM::Web
|
|
2659
2631
|
end
|
2660
2632
|
|
2661
2633
|
#
|
2662
|
-
# Get all worker pools
|
2634
|
+
# Get all worker pools of an App Service Environment.
|
2663
2635
|
#
|
2664
|
-
# Get all worker pools
|
2636
|
+
# Get all worker pools of an App Service Environment.
|
2665
2637
|
#
|
2666
|
-
# @param resource_group_name [String] Name of resource group
|
2667
|
-
#
|
2638
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2639
|
+
# resource belongs.
|
2640
|
+
# @param name [String] Name of the App Service Environment.
|
2668
2641
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2669
2642
|
# will be added to the HTTP request.
|
2670
2643
|
#
|
@@ -2675,12 +2648,13 @@ module Azure::ARM::Web
|
|
2675
2648
|
end
|
2676
2649
|
|
2677
2650
|
#
|
2678
|
-
# Get all worker pools
|
2651
|
+
# Get all worker pools of an App Service Environment.
|
2679
2652
|
#
|
2680
|
-
# Get all worker pools
|
2653
|
+
# Get all worker pools of an App Service Environment.
|
2681
2654
|
#
|
2682
|
-
# @param resource_group_name [String] Name of resource group
|
2683
|
-
#
|
2655
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2656
|
+
# resource belongs.
|
2657
|
+
# @param name [String] Name of the App Service Environment.
|
2684
2658
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2685
2659
|
# to the HTTP request.
|
2686
2660
|
#
|
@@ -2743,9 +2717,10 @@ module Azure::ARM::Web
|
|
2743
2717
|
#
|
2744
2718
|
# Get properties of a worker pool.
|
2745
2719
|
#
|
2746
|
-
# @param resource_group_name [String] Name of resource group
|
2747
|
-
#
|
2748
|
-
# @param
|
2720
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2721
|
+
# resource belongs.
|
2722
|
+
# @param name [String] Name of the App Service Environment.
|
2723
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
2749
2724
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2750
2725
|
# will be added to the HTTP request.
|
2751
2726
|
#
|
@@ -2761,9 +2736,10 @@ module Azure::ARM::Web
|
|
2761
2736
|
#
|
2762
2737
|
# Get properties of a worker pool.
|
2763
2738
|
#
|
2764
|
-
# @param resource_group_name [String] Name of resource group
|
2765
|
-
#
|
2766
|
-
# @param
|
2739
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2740
|
+
# resource belongs.
|
2741
|
+
# @param name [String] Name of the App Service Environment.
|
2742
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
2767
2743
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2768
2744
|
# will be added to the HTTP request.
|
2769
2745
|
#
|
@@ -2778,9 +2754,10 @@ module Azure::ARM::Web
|
|
2778
2754
|
#
|
2779
2755
|
# Get properties of a worker pool.
|
2780
2756
|
#
|
2781
|
-
# @param resource_group_name [String] Name of resource group
|
2782
|
-
#
|
2783
|
-
# @param
|
2757
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2758
|
+
# resource belongs.
|
2759
|
+
# @param name [String] Name of the App Service Environment.
|
2760
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
2784
2761
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2785
2762
|
# to the HTTP request.
|
2786
2763
|
#
|
@@ -2844,10 +2821,11 @@ module Azure::ARM::Web
|
|
2844
2821
|
#
|
2845
2822
|
# Create or update a worker pool.
|
2846
2823
|
#
|
2847
|
-
# @param resource_group_name [String] Name of resource group
|
2848
|
-
#
|
2849
|
-
# @param
|
2850
|
-
# @param
|
2824
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2825
|
+
# resource belongs.
|
2826
|
+
# @param name [String] Name of the App Service Environment.
|
2827
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
2828
|
+
# @param worker_pool_envelope [WorkerPool] Properties of the worker pool.
|
2851
2829
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2852
2830
|
# will be added to the HTTP request.
|
2853
2831
|
#
|
@@ -2859,10 +2837,11 @@ module Azure::ARM::Web
|
|
2859
2837
|
end
|
2860
2838
|
|
2861
2839
|
#
|
2862
|
-
# @param resource_group_name [String] Name of resource group
|
2863
|
-
#
|
2864
|
-
# @param
|
2865
|
-
# @param
|
2840
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2841
|
+
# resource belongs.
|
2842
|
+
# @param name [String] Name of the App Service Environment.
|
2843
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
2844
|
+
# @param worker_pool_envelope [WorkerPool] Properties of the worker pool.
|
2866
2845
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2867
2846
|
# will be added to the HTTP request.
|
2868
2847
|
#
|
@@ -2888,37 +2867,39 @@ module Azure::ARM::Web
|
|
2888
2867
|
end
|
2889
2868
|
|
2890
2869
|
#
|
2891
|
-
# Get metric definitions for a specific instance of a worker pool of
|
2892
|
-
#
|
2870
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
2871
|
+
# Service Environment.
|
2893
2872
|
#
|
2894
|
-
# Get metric definitions for a specific instance of a worker pool of
|
2895
|
-
#
|
2873
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
2874
|
+
# Service Environment.
|
2896
2875
|
#
|
2897
|
-
# @param resource_group_name [String] Name of resource group
|
2898
|
-
#
|
2899
|
-
# @param
|
2900
|
-
# @param
|
2876
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2877
|
+
# resource belongs.
|
2878
|
+
# @param name [String] Name of the App Service Environment.
|
2879
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
2880
|
+
# @param instance [String] Name of the instance in the worker pool.
|
2901
2881
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2902
2882
|
# will be added to the HTTP request.
|
2903
2883
|
#
|
2904
|
-
# @return [
|
2884
|
+
# @return [Array<ResourceMetricDefinition>] operation results.
|
2905
2885
|
#
|
2906
2886
|
def list_worker_pool_instance_metric_definitions(resource_group_name, name, worker_pool_name, instance, custom_headers = nil)
|
2907
|
-
|
2908
|
-
|
2887
|
+
first_page = list_worker_pool_instance_metric_definitions_as_lazy(resource_group_name, name, worker_pool_name, instance, custom_headers)
|
2888
|
+
first_page.get_all_items
|
2909
2889
|
end
|
2910
2890
|
|
2911
2891
|
#
|
2912
|
-
# Get metric definitions for a specific instance of a worker pool of
|
2913
|
-
#
|
2892
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
2893
|
+
# Service Environment.
|
2914
2894
|
#
|
2915
|
-
# Get metric definitions for a specific instance of a worker pool of
|
2916
|
-
#
|
2895
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
2896
|
+
# Service Environment.
|
2917
2897
|
#
|
2918
|
-
# @param resource_group_name [String] Name of resource group
|
2919
|
-
#
|
2920
|
-
# @param
|
2921
|
-
# @param
|
2898
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2899
|
+
# resource belongs.
|
2900
|
+
# @param name [String] Name of the App Service Environment.
|
2901
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
2902
|
+
# @param instance [String] Name of the instance in the worker pool.
|
2922
2903
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2923
2904
|
# will be added to the HTTP request.
|
2924
2905
|
#
|
@@ -2929,16 +2910,17 @@ module Azure::ARM::Web
|
|
2929
2910
|
end
|
2930
2911
|
|
2931
2912
|
#
|
2932
|
-
# Get metric definitions for a specific instance of a worker pool of
|
2933
|
-
#
|
2913
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
2914
|
+
# Service Environment.
|
2934
2915
|
#
|
2935
|
-
# Get metric definitions for a specific instance of a worker pool of
|
2936
|
-
#
|
2916
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
2917
|
+
# Service Environment.
|
2937
2918
|
#
|
2938
|
-
# @param resource_group_name [String] Name of resource group
|
2939
|
-
#
|
2940
|
-
# @param
|
2941
|
-
# @param
|
2919
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2920
|
+
# resource belongs.
|
2921
|
+
# @param name [String] Name of the App Service Environment.
|
2922
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
2923
|
+
# @param instance [String] Name of the instance in the worker pool.
|
2942
2924
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2943
2925
|
# to the HTTP request.
|
2944
2926
|
#
|
@@ -2981,6 +2963,16 @@ module Azure::ARM::Web
|
|
2981
2963
|
end
|
2982
2964
|
|
2983
2965
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2966
|
+
# Deserialize Response
|
2967
|
+
if status_code == 200
|
2968
|
+
begin
|
2969
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2970
|
+
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
2971
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
2972
|
+
rescue Exception => e
|
2973
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2974
|
+
end
|
2975
|
+
end
|
2984
2976
|
|
2985
2977
|
result
|
2986
2978
|
end
|
@@ -2989,17 +2981,19 @@ module Azure::ARM::Web
|
|
2989
2981
|
end
|
2990
2982
|
|
2991
2983
|
#
|
2992
|
-
# Get metrics for a specific instance of a worker pool of
|
2993
|
-
#
|
2984
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
2985
|
+
# Environment.
|
2994
2986
|
#
|
2995
|
-
# Get metrics for a specific instance of a worker pool of
|
2996
|
-
#
|
2987
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
2988
|
+
# Environment.
|
2997
2989
|
#
|
2998
|
-
# @param resource_group_name [String] Name of resource group
|
2999
|
-
#
|
3000
|
-
# @param
|
3001
|
-
# @param
|
3002
|
-
# @param
|
2990
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
2991
|
+
# resource belongs.
|
2992
|
+
# @param name [String] Name of the App Service Environment.
|
2993
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
2994
|
+
# @param instance [String] Name of the instance in the worker pool.
|
2995
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
2996
|
+
# details. The default is <code>false</code>.
|
3003
2997
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
3004
2998
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
3005
2999
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -3007,25 +3001,27 @@ module Azure::ARM::Web
|
|
3007
3001
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3008
3002
|
# will be added to the HTTP request.
|
3009
3003
|
#
|
3010
|
-
# @return [
|
3004
|
+
# @return [Array<ResourceMetric>] operation results.
|
3011
3005
|
#
|
3012
3006
|
def list_worker_pool_instance_metrics(resource_group_name, name, worker_pool_name, instance, details = nil, filter = nil, custom_headers = nil)
|
3013
|
-
|
3014
|
-
|
3007
|
+
first_page = list_worker_pool_instance_metrics_as_lazy(resource_group_name, name, worker_pool_name, instance, details, filter, custom_headers)
|
3008
|
+
first_page.get_all_items
|
3015
3009
|
end
|
3016
3010
|
|
3017
3011
|
#
|
3018
|
-
# Get metrics for a specific instance of a worker pool of
|
3019
|
-
#
|
3012
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
3013
|
+
# Environment.
|
3020
3014
|
#
|
3021
|
-
# Get metrics for a specific instance of a worker pool of
|
3022
|
-
#
|
3015
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
3016
|
+
# Environment.
|
3023
3017
|
#
|
3024
|
-
# @param resource_group_name [String] Name of resource group
|
3025
|
-
#
|
3026
|
-
# @param
|
3027
|
-
# @param
|
3028
|
-
# @param
|
3018
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3019
|
+
# resource belongs.
|
3020
|
+
# @param name [String] Name of the App Service Environment.
|
3021
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
3022
|
+
# @param instance [String] Name of the instance in the worker pool.
|
3023
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
3024
|
+
# details. The default is <code>false</code>.
|
3029
3025
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
3030
3026
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
3031
3027
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -3040,17 +3036,19 @@ module Azure::ARM::Web
|
|
3040
3036
|
end
|
3041
3037
|
|
3042
3038
|
#
|
3043
|
-
# Get metrics for a specific instance of a worker pool of
|
3044
|
-
#
|
3039
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
3040
|
+
# Environment.
|
3045
3041
|
#
|
3046
|
-
# Get metrics for a specific instance of a worker pool of
|
3047
|
-
#
|
3042
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
3043
|
+
# Environment.
|
3048
3044
|
#
|
3049
|
-
# @param resource_group_name [String] Name of resource group
|
3050
|
-
#
|
3051
|
-
# @param
|
3052
|
-
# @param
|
3053
|
-
# @param
|
3045
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3046
|
+
# resource belongs.
|
3047
|
+
# @param name [String] Name of the App Service Environment.
|
3048
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
3049
|
+
# @param instance [String] Name of the instance in the worker pool.
|
3050
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
3051
|
+
# details. The default is <code>false</code>.
|
3054
3052
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
3055
3053
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
3056
3054
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -3074,14 +3072,15 @@ module Azure::ARM::Web
|
|
3074
3072
|
# Set Headers
|
3075
3073
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
3076
3074
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
3077
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}
|
3075
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}metrics'
|
3078
3076
|
|
3079
3077
|
request_url = @base_url || @client.base_url
|
3080
3078
|
|
3081
3079
|
options = {
|
3082
3080
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
3083
3081
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'workerPoolName' => worker_pool_name,'instance' => instance,'subscriptionId' => @client.subscription_id},
|
3084
|
-
query_params: {'details' => details,'
|
3082
|
+
query_params: {'details' => details,'api-version' => api_version},
|
3083
|
+
skip_encoding_query_params: {'$filter' => filter},
|
3085
3084
|
headers: request_headers.merge(custom_headers || {}),
|
3086
3085
|
base_url: request_url
|
3087
3086
|
}
|
@@ -3097,6 +3096,16 @@ module Azure::ARM::Web
|
|
3097
3096
|
end
|
3098
3097
|
|
3099
3098
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
3099
|
+
# Deserialize Response
|
3100
|
+
if status_code == 200
|
3101
|
+
begin
|
3102
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
3103
|
+
result_mapper = ResourceMetricCollection.mapper()
|
3104
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
3105
|
+
rescue Exception => e
|
3106
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
3107
|
+
end
|
3108
|
+
end
|
3100
3109
|
|
3101
3110
|
result
|
3102
3111
|
end
|
@@ -3105,19 +3114,18 @@ module Azure::ARM::Web
|
|
3105
3114
|
end
|
3106
3115
|
|
3107
3116
|
#
|
3108
|
-
# Get metric definitions for a worker pool of
|
3109
|
-
# Service Environment).
|
3117
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
3110
3118
|
#
|
3111
|
-
# Get metric definitions for a worker pool of
|
3112
|
-
# Service Environment).
|
3119
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
3113
3120
|
#
|
3114
|
-
# @param resource_group_name [String] Name of resource group
|
3115
|
-
#
|
3116
|
-
# @param
|
3121
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3122
|
+
# resource belongs.
|
3123
|
+
# @param name [String] Name of the App Service Environment.
|
3124
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
3117
3125
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3118
3126
|
# will be added to the HTTP request.
|
3119
3127
|
#
|
3120
|
-
# @return [Array<
|
3128
|
+
# @return [Array<ResourceMetricDefinition>] operation results.
|
3121
3129
|
#
|
3122
3130
|
def list_web_worker_metric_definitions(resource_group_name, name, worker_pool_name, custom_headers = nil)
|
3123
3131
|
first_page = list_web_worker_metric_definitions_as_lazy(resource_group_name, name, worker_pool_name, custom_headers)
|
@@ -3125,15 +3133,14 @@ module Azure::ARM::Web
|
|
3125
3133
|
end
|
3126
3134
|
|
3127
3135
|
#
|
3128
|
-
# Get metric definitions for a worker pool of
|
3129
|
-
# Service Environment).
|
3136
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
3130
3137
|
#
|
3131
|
-
# Get metric definitions for a worker pool of
|
3132
|
-
# Service Environment).
|
3138
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
3133
3139
|
#
|
3134
|
-
# @param resource_group_name [String] Name of resource group
|
3135
|
-
#
|
3136
|
-
# @param
|
3140
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3141
|
+
# resource belongs.
|
3142
|
+
# @param name [String] Name of the App Service Environment.
|
3143
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
3137
3144
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3138
3145
|
# will be added to the HTTP request.
|
3139
3146
|
#
|
@@ -3144,15 +3151,14 @@ module Azure::ARM::Web
|
|
3144
3151
|
end
|
3145
3152
|
|
3146
3153
|
#
|
3147
|
-
# Get metric definitions for a worker pool of
|
3148
|
-
# Service Environment).
|
3154
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
3149
3155
|
#
|
3150
|
-
# Get metric definitions for a worker pool of
|
3151
|
-
# Service Environment).
|
3156
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
3152
3157
|
#
|
3153
|
-
# @param resource_group_name [String] Name of resource group
|
3154
|
-
#
|
3155
|
-
# @param
|
3158
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3159
|
+
# resource belongs.
|
3160
|
+
# @param name [String] Name of the App Service Environment.
|
3161
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
3156
3162
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
3157
3163
|
# to the HTTP request.
|
3158
3164
|
#
|
@@ -3198,7 +3204,7 @@ module Azure::ARM::Web
|
|
3198
3204
|
if status_code == 200
|
3199
3205
|
begin
|
3200
3206
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
3201
|
-
result_mapper =
|
3207
|
+
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
3202
3208
|
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
3203
3209
|
rescue Exception => e
|
3204
3210
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3218,10 +3224,12 @@ module Azure::ARM::Web
|
|
3218
3224
|
# Get metrics for a worker pool of a AppServiceEnvironment (App Service
|
3219
3225
|
# Environment).
|
3220
3226
|
#
|
3221
|
-
# @param resource_group_name [String] Name of resource group
|
3222
|
-
#
|
3227
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3228
|
+
# resource belongs.
|
3229
|
+
# @param name [String] Name of the App Service Environment.
|
3223
3230
|
# @param worker_pool_name [String] Name of worker pool
|
3224
|
-
# @param details [Boolean]
|
3231
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
3232
|
+
# details. The default is <code>false</code>.
|
3225
3233
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
3226
3234
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
3227
3235
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -3243,10 +3251,12 @@ module Azure::ARM::Web
|
|
3243
3251
|
# Get metrics for a worker pool of a AppServiceEnvironment (App Service
|
3244
3252
|
# Environment).
|
3245
3253
|
#
|
3246
|
-
# @param resource_group_name [String] Name of resource group
|
3247
|
-
#
|
3254
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3255
|
+
# resource belongs.
|
3256
|
+
# @param name [String] Name of the App Service Environment.
|
3248
3257
|
# @param worker_pool_name [String] Name of worker pool
|
3249
|
-
# @param details [Boolean]
|
3258
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
3259
|
+
# details. The default is <code>false</code>.
|
3250
3260
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
3251
3261
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
3252
3262
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -3267,10 +3277,12 @@ module Azure::ARM::Web
|
|
3267
3277
|
# Get metrics for a worker pool of a AppServiceEnvironment (App Service
|
3268
3278
|
# Environment).
|
3269
3279
|
#
|
3270
|
-
# @param resource_group_name [String] Name of resource group
|
3271
|
-
#
|
3280
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3281
|
+
# resource belongs.
|
3282
|
+
# @param name [String] Name of the App Service Environment.
|
3272
3283
|
# @param worker_pool_name [String] Name of worker pool
|
3273
|
-
# @param details [Boolean]
|
3284
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
3285
|
+
# details. The default is <code>false</code>.
|
3274
3286
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
3275
3287
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
3276
3288
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -3300,7 +3312,8 @@ module Azure::ARM::Web
|
|
3300
3312
|
options = {
|
3301
3313
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
3302
3314
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'workerPoolName' => worker_pool_name,'subscriptionId' => @client.subscription_id},
|
3303
|
-
query_params: {'details' => details,'
|
3315
|
+
query_params: {'details' => details,'api-version' => api_version},
|
3316
|
+
skip_encoding_query_params: {'$filter' => filter},
|
3304
3317
|
headers: request_headers.merge(custom_headers || {}),
|
3305
3318
|
base_url: request_url
|
3306
3319
|
}
|
@@ -3334,13 +3347,14 @@ module Azure::ARM::Web
|
|
3334
3347
|
end
|
3335
3348
|
|
3336
3349
|
#
|
3337
|
-
# Get available
|
3350
|
+
# Get available SKUs for scaling a worker pool.
|
3338
3351
|
#
|
3339
|
-
# Get available
|
3352
|
+
# Get available SKUs for scaling a worker pool.
|
3340
3353
|
#
|
3341
|
-
# @param resource_group_name [String] Name of resource group
|
3342
|
-
#
|
3343
|
-
# @param
|
3354
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3355
|
+
# resource belongs.
|
3356
|
+
# @param name [String] Name of the App Service Environment.
|
3357
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
3344
3358
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3345
3359
|
# will be added to the HTTP request.
|
3346
3360
|
#
|
@@ -3352,13 +3366,14 @@ module Azure::ARM::Web
|
|
3352
3366
|
end
|
3353
3367
|
|
3354
3368
|
#
|
3355
|
-
# Get available
|
3369
|
+
# Get available SKUs for scaling a worker pool.
|
3356
3370
|
#
|
3357
|
-
# Get available
|
3371
|
+
# Get available SKUs for scaling a worker pool.
|
3358
3372
|
#
|
3359
|
-
# @param resource_group_name [String] Name of resource group
|
3360
|
-
#
|
3361
|
-
# @param
|
3373
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3374
|
+
# resource belongs.
|
3375
|
+
# @param name [String] Name of the App Service Environment.
|
3376
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
3362
3377
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3363
3378
|
# will be added to the HTTP request.
|
3364
3379
|
#
|
@@ -3369,13 +3384,14 @@ module Azure::ARM::Web
|
|
3369
3384
|
end
|
3370
3385
|
|
3371
3386
|
#
|
3372
|
-
# Get available
|
3387
|
+
# Get available SKUs for scaling a worker pool.
|
3373
3388
|
#
|
3374
|
-
# Get available
|
3389
|
+
# Get available SKUs for scaling a worker pool.
|
3375
3390
|
#
|
3376
|
-
# @param resource_group_name [String] Name of resource group
|
3377
|
-
#
|
3378
|
-
# @param
|
3391
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3392
|
+
# resource belongs.
|
3393
|
+
# @param name [String] Name of the App Service Environment.
|
3394
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
3379
3395
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
3380
3396
|
# to the HTTP request.
|
3381
3397
|
#
|
@@ -3435,15 +3451,14 @@ module Azure::ARM::Web
|
|
3435
3451
|
end
|
3436
3452
|
|
3437
3453
|
#
|
3438
|
-
# Get
|
3439
|
-
# Environment).
|
3454
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
3440
3455
|
#
|
3441
|
-
# Get
|
3442
|
-
# Environment).
|
3456
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
3443
3457
|
#
|
3444
|
-
# @param resource_group_name [String] Name of resource group
|
3445
|
-
#
|
3446
|
-
# @param
|
3458
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3459
|
+
# resource belongs.
|
3460
|
+
# @param name [String] Name of the App Service Environment.
|
3461
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
3447
3462
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3448
3463
|
# will be added to the HTTP request.
|
3449
3464
|
#
|
@@ -3455,15 +3470,14 @@ module Azure::ARM::Web
|
|
3455
3470
|
end
|
3456
3471
|
|
3457
3472
|
#
|
3458
|
-
# Get
|
3459
|
-
# Environment).
|
3473
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
3460
3474
|
#
|
3461
|
-
# Get
|
3462
|
-
# Environment).
|
3475
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
3463
3476
|
#
|
3464
|
-
# @param resource_group_name [String] Name of resource group
|
3465
|
-
#
|
3466
|
-
# @param
|
3477
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3478
|
+
# resource belongs.
|
3479
|
+
# @param name [String] Name of the App Service Environment.
|
3480
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
3467
3481
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3468
3482
|
# will be added to the HTTP request.
|
3469
3483
|
#
|
@@ -3474,15 +3488,14 @@ module Azure::ARM::Web
|
|
3474
3488
|
end
|
3475
3489
|
|
3476
3490
|
#
|
3477
|
-
# Get
|
3478
|
-
# Environment).
|
3491
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
3479
3492
|
#
|
3480
|
-
# Get
|
3481
|
-
# Environment).
|
3493
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
3482
3494
|
#
|
3483
|
-
# @param resource_group_name [String] Name of resource group
|
3484
|
-
#
|
3485
|
-
# @param
|
3495
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3496
|
+
# resource belongs.
|
3497
|
+
# @param name [String] Name of the App Service Environment.
|
3498
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
3486
3499
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
3487
3500
|
# to the HTTP request.
|
3488
3501
|
#
|
@@ -3542,14 +3555,15 @@ module Azure::ARM::Web
|
|
3542
3555
|
end
|
3543
3556
|
|
3544
3557
|
#
|
3545
|
-
# Create or update
|
3558
|
+
# Create or update an App Service Environment.
|
3546
3559
|
#
|
3547
|
-
# Create or update
|
3560
|
+
# Create or update an App Service Environment.
|
3548
3561
|
#
|
3549
|
-
# @param resource_group_name [String] Name of resource group
|
3550
|
-
#
|
3551
|
-
# @param
|
3552
|
-
#
|
3562
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3563
|
+
# resource belongs.
|
3564
|
+
# @param name [String] Name of the App Service Environment.
|
3565
|
+
# @param hosting_environment_envelope [AppServiceEnvironment] Configuration
|
3566
|
+
# details of the App Service Environment.
|
3553
3567
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3554
3568
|
# will be added to the HTTP request.
|
3555
3569
|
#
|
@@ -3561,14 +3575,15 @@ module Azure::ARM::Web
|
|
3561
3575
|
end
|
3562
3576
|
|
3563
3577
|
#
|
3564
|
-
# Create or update
|
3578
|
+
# Create or update an App Service Environment.
|
3565
3579
|
#
|
3566
|
-
# Create or update
|
3580
|
+
# Create or update an App Service Environment.
|
3567
3581
|
#
|
3568
|
-
# @param resource_group_name [String] Name of resource group
|
3569
|
-
#
|
3570
|
-
# @param
|
3571
|
-
#
|
3582
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3583
|
+
# resource belongs.
|
3584
|
+
# @param name [String] Name of the App Service Environment.
|
3585
|
+
# @param hosting_environment_envelope [AppServiceEnvironment] Configuration
|
3586
|
+
# details of the App Service Environment.
|
3572
3587
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3573
3588
|
# will be added to the HTTP request.
|
3574
3589
|
#
|
@@ -3579,14 +3594,15 @@ module Azure::ARM::Web
|
|
3579
3594
|
end
|
3580
3595
|
|
3581
3596
|
#
|
3582
|
-
# Create or update
|
3597
|
+
# Create or update an App Service Environment.
|
3583
3598
|
#
|
3584
|
-
# Create or update
|
3599
|
+
# Create or update an App Service Environment.
|
3585
3600
|
#
|
3586
|
-
# @param resource_group_name [String] Name of resource group
|
3587
|
-
#
|
3588
|
-
# @param
|
3589
|
-
#
|
3601
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3602
|
+
# resource belongs.
|
3603
|
+
# @param name [String] Name of the App Service Environment.
|
3604
|
+
# @param hosting_environment_envelope [AppServiceEnvironment] Configuration
|
3605
|
+
# details of the App Service Environment.
|
3590
3606
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
3591
3607
|
# to the HTTP request.
|
3592
3608
|
#
|
@@ -3665,33 +3681,36 @@ module Azure::ARM::Web
|
|
3665
3681
|
end
|
3666
3682
|
|
3667
3683
|
#
|
3668
|
-
# Delete
|
3684
|
+
# Delete an App Service Environment.
|
3669
3685
|
#
|
3670
|
-
# Delete
|
3686
|
+
# Delete an App Service Environment.
|
3671
3687
|
#
|
3672
|
-
# @param resource_group_name [String] Name of resource group
|
3673
|
-
#
|
3674
|
-
# @param
|
3675
|
-
#
|
3688
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3689
|
+
# resource belongs.
|
3690
|
+
# @param name [String] Name of the App Service Environment.
|
3691
|
+
# @param force_delete [Boolean] Specify <code>true</code> to force the deletion
|
3692
|
+
# even if the App Service Environment contains resources. The default is
|
3693
|
+
# <code>false</code>.
|
3676
3694
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3677
3695
|
# will be added to the HTTP request.
|
3678
3696
|
#
|
3679
|
-
# @return [Object] operation results.
|
3680
3697
|
#
|
3681
3698
|
def begin_delete(resource_group_name, name, force_delete = nil, custom_headers = nil)
|
3682
3699
|
response = begin_delete_async(resource_group_name, name, force_delete, custom_headers).value!
|
3683
|
-
|
3700
|
+
nil
|
3684
3701
|
end
|
3685
3702
|
|
3686
3703
|
#
|
3687
|
-
# Delete
|
3704
|
+
# Delete an App Service Environment.
|
3688
3705
|
#
|
3689
|
-
# Delete
|
3706
|
+
# Delete an App Service Environment.
|
3690
3707
|
#
|
3691
|
-
# @param resource_group_name [String] Name of resource group
|
3692
|
-
#
|
3693
|
-
# @param
|
3694
|
-
#
|
3708
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3709
|
+
# resource belongs.
|
3710
|
+
# @param name [String] Name of the App Service Environment.
|
3711
|
+
# @param force_delete [Boolean] Specify <code>true</code> to force the deletion
|
3712
|
+
# even if the App Service Environment contains resources. The default is
|
3713
|
+
# <code>false</code>.
|
3695
3714
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3696
3715
|
# will be added to the HTTP request.
|
3697
3716
|
#
|
@@ -3702,14 +3721,16 @@ module Azure::ARM::Web
|
|
3702
3721
|
end
|
3703
3722
|
|
3704
3723
|
#
|
3705
|
-
# Delete
|
3724
|
+
# Delete an App Service Environment.
|
3706
3725
|
#
|
3707
|
-
# Delete
|
3726
|
+
# Delete an App Service Environment.
|
3708
3727
|
#
|
3709
|
-
# @param resource_group_name [String] Name of resource group
|
3710
|
-
#
|
3711
|
-
# @param
|
3712
|
-
#
|
3728
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3729
|
+
# resource belongs.
|
3730
|
+
# @param name [String] Name of the App Service Environment.
|
3731
|
+
# @param force_delete [Boolean] Specify <code>true</code> to force the deletion
|
3732
|
+
# even if the App Service Environment contains resources. The default is
|
3733
|
+
# <code>false</code>.
|
3713
3734
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
3714
3735
|
# to the HTTP request.
|
3715
3736
|
#
|
@@ -3744,7 +3765,7 @@ module Azure::ARM::Web
|
|
3744
3765
|
http_response = result.response
|
3745
3766
|
status_code = http_response.status
|
3746
3767
|
response_content = http_response.body
|
3747
|
-
unless status_code ==
|
3768
|
+
unless status_code == 202 || status_code == 204 || status_code == 400 || status_code == 404 || status_code == 409
|
3748
3769
|
error_model = JSON.load(response_content)
|
3749
3770
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
3750
3771
|
end
|
@@ -3758,13 +3779,15 @@ module Azure::ARM::Web
|
|
3758
3779
|
end
|
3759
3780
|
|
3760
3781
|
#
|
3761
|
-
# Create or update a
|
3782
|
+
# Create or update a multi-role pool.
|
3762
3783
|
#
|
3763
|
-
# Create or update a
|
3784
|
+
# Create or update a multi-role pool.
|
3764
3785
|
#
|
3765
|
-
# @param resource_group_name [String] Name of resource group
|
3766
|
-
#
|
3767
|
-
# @param
|
3786
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3787
|
+
# resource belongs.
|
3788
|
+
# @param name [String] Name of the App Service Environment.
|
3789
|
+
# @param multi_role_pool_envelope [WorkerPool] Properties of the multi-role
|
3790
|
+
# pool.
|
3768
3791
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3769
3792
|
# will be added to the HTTP request.
|
3770
3793
|
#
|
@@ -3776,13 +3799,15 @@ module Azure::ARM::Web
|
|
3776
3799
|
end
|
3777
3800
|
|
3778
3801
|
#
|
3779
|
-
# Create or update a
|
3802
|
+
# Create or update a multi-role pool.
|
3780
3803
|
#
|
3781
|
-
# Create or update a
|
3804
|
+
# Create or update a multi-role pool.
|
3782
3805
|
#
|
3783
|
-
# @param resource_group_name [String] Name of resource group
|
3784
|
-
#
|
3785
|
-
# @param
|
3806
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3807
|
+
# resource belongs.
|
3808
|
+
# @param name [String] Name of the App Service Environment.
|
3809
|
+
# @param multi_role_pool_envelope [WorkerPool] Properties of the multi-role
|
3810
|
+
# pool.
|
3786
3811
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3787
3812
|
# will be added to the HTTP request.
|
3788
3813
|
#
|
@@ -3793,13 +3818,15 @@ module Azure::ARM::Web
|
|
3793
3818
|
end
|
3794
3819
|
|
3795
3820
|
#
|
3796
|
-
# Create or update a
|
3821
|
+
# Create or update a multi-role pool.
|
3797
3822
|
#
|
3798
|
-
# Create or update a
|
3823
|
+
# Create or update a multi-role pool.
|
3799
3824
|
#
|
3800
|
-
# @param resource_group_name [String] Name of resource group
|
3801
|
-
#
|
3802
|
-
# @param
|
3825
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3826
|
+
# resource belongs.
|
3827
|
+
# @param name [String] Name of the App Service Environment.
|
3828
|
+
# @param multi_role_pool_envelope [WorkerPool] Properties of the multi-role
|
3829
|
+
# pool.
|
3803
3830
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
3804
3831
|
# to the HTTP request.
|
3805
3832
|
#
|
@@ -3878,12 +3905,13 @@ module Azure::ARM::Web
|
|
3878
3905
|
end
|
3879
3906
|
|
3880
3907
|
#
|
3881
|
-
#
|
3908
|
+
# Resume an App Service Environment.
|
3882
3909
|
#
|
3883
|
-
#
|
3910
|
+
# Resume an App Service Environment.
|
3884
3911
|
#
|
3885
|
-
# @param resource_group_name [String] Name of resource group
|
3886
|
-
#
|
3912
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3913
|
+
# resource belongs.
|
3914
|
+
# @param name [String] Name of the App Service Environment.
|
3887
3915
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3888
3916
|
# will be added to the HTTP request.
|
3889
3917
|
#
|
@@ -3895,12 +3923,13 @@ module Azure::ARM::Web
|
|
3895
3923
|
end
|
3896
3924
|
|
3897
3925
|
#
|
3898
|
-
#
|
3926
|
+
# Resume an App Service Environment.
|
3899
3927
|
#
|
3900
|
-
#
|
3928
|
+
# Resume an App Service Environment.
|
3901
3929
|
#
|
3902
|
-
# @param resource_group_name [String] Name of resource group
|
3903
|
-
#
|
3930
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3931
|
+
# resource belongs.
|
3932
|
+
# @param name [String] Name of the App Service Environment.
|
3904
3933
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3905
3934
|
# will be added to the HTTP request.
|
3906
3935
|
#
|
@@ -3911,12 +3940,13 @@ module Azure::ARM::Web
|
|
3911
3940
|
end
|
3912
3941
|
|
3913
3942
|
#
|
3914
|
-
#
|
3943
|
+
# Resume an App Service Environment.
|
3915
3944
|
#
|
3916
|
-
#
|
3945
|
+
# Resume an App Service Environment.
|
3917
3946
|
#
|
3918
|
-
# @param resource_group_name [String] Name of resource group
|
3919
|
-
#
|
3947
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
3948
|
+
# resource belongs.
|
3949
|
+
# @param name [String] Name of the App Service Environment.
|
3920
3950
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
3921
3951
|
# to the HTTP request.
|
3922
3952
|
#
|
@@ -3985,12 +4015,13 @@ module Azure::ARM::Web
|
|
3985
4015
|
end
|
3986
4016
|
|
3987
4017
|
#
|
3988
|
-
#
|
4018
|
+
# Suspend an App Service Environment.
|
3989
4019
|
#
|
3990
|
-
#
|
4020
|
+
# Suspend an App Service Environment.
|
3991
4021
|
#
|
3992
|
-
# @param resource_group_name [String] Name of resource group
|
3993
|
-
#
|
4022
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
4023
|
+
# resource belongs.
|
4024
|
+
# @param name [String] Name of the App Service Environment.
|
3994
4025
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3995
4026
|
# will be added to the HTTP request.
|
3996
4027
|
#
|
@@ -4002,12 +4033,13 @@ module Azure::ARM::Web
|
|
4002
4033
|
end
|
4003
4034
|
|
4004
4035
|
#
|
4005
|
-
#
|
4036
|
+
# Suspend an App Service Environment.
|
4006
4037
|
#
|
4007
|
-
#
|
4038
|
+
# Suspend an App Service Environment.
|
4008
4039
|
#
|
4009
|
-
# @param resource_group_name [String] Name of resource group
|
4010
|
-
#
|
4040
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
4041
|
+
# resource belongs.
|
4042
|
+
# @param name [String] Name of the App Service Environment.
|
4011
4043
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
4012
4044
|
# will be added to the HTTP request.
|
4013
4045
|
#
|
@@ -4018,12 +4050,13 @@ module Azure::ARM::Web
|
|
4018
4050
|
end
|
4019
4051
|
|
4020
4052
|
#
|
4021
|
-
#
|
4053
|
+
# Suspend an App Service Environment.
|
4022
4054
|
#
|
4023
|
-
#
|
4055
|
+
# Suspend an App Service Environment.
|
4024
4056
|
#
|
4025
|
-
# @param resource_group_name [String] Name of resource group
|
4026
|
-
#
|
4057
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
4058
|
+
# resource belongs.
|
4059
|
+
# @param name [String] Name of the App Service Environment.
|
4027
4060
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
4028
4061
|
# to the HTTP request.
|
4029
4062
|
#
|
@@ -4096,10 +4129,11 @@ module Azure::ARM::Web
|
|
4096
4129
|
#
|
4097
4130
|
# Create or update a worker pool.
|
4098
4131
|
#
|
4099
|
-
# @param resource_group_name [String] Name of resource group
|
4100
|
-
#
|
4101
|
-
# @param
|
4102
|
-
# @param
|
4132
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
4133
|
+
# resource belongs.
|
4134
|
+
# @param name [String] Name of the App Service Environment.
|
4135
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
4136
|
+
# @param worker_pool_envelope [WorkerPool] Properties of the worker pool.
|
4103
4137
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
4104
4138
|
# will be added to the HTTP request.
|
4105
4139
|
#
|
@@ -4115,10 +4149,11 @@ module Azure::ARM::Web
|
|
4115
4149
|
#
|
4116
4150
|
# Create or update a worker pool.
|
4117
4151
|
#
|
4118
|
-
# @param resource_group_name [String] Name of resource group
|
4119
|
-
#
|
4120
|
-
# @param
|
4121
|
-
# @param
|
4152
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
4153
|
+
# resource belongs.
|
4154
|
+
# @param name [String] Name of the App Service Environment.
|
4155
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
4156
|
+
# @param worker_pool_envelope [WorkerPool] Properties of the worker pool.
|
4122
4157
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
4123
4158
|
# will be added to the HTTP request.
|
4124
4159
|
#
|
@@ -4133,10 +4168,11 @@ module Azure::ARM::Web
|
|
4133
4168
|
#
|
4134
4169
|
# Create or update a worker pool.
|
4135
4170
|
#
|
4136
|
-
# @param resource_group_name [String] Name of resource group
|
4137
|
-
#
|
4138
|
-
# @param
|
4139
|
-
# @param
|
4171
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
4172
|
+
# resource belongs.
|
4173
|
+
# @param name [String] Name of the App Service Environment.
|
4174
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
4175
|
+
# @param worker_pool_envelope [WorkerPool] Properties of the worker pool.
|
4140
4176
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
4141
4177
|
# to the HTTP request.
|
4142
4178
|
#
|
@@ -4216,9 +4252,9 @@ module Azure::ARM::Web
|
|
4216
4252
|
end
|
4217
4253
|
|
4218
4254
|
#
|
4219
|
-
#
|
4255
|
+
# Get all App Service Environments for a subscription.
|
4220
4256
|
#
|
4221
|
-
#
|
4257
|
+
# Get all App Service Environments for a subscription.
|
4222
4258
|
#
|
4223
4259
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4224
4260
|
# to List operation.
|
@@ -4233,9 +4269,9 @@ module Azure::ARM::Web
|
|
4233
4269
|
end
|
4234
4270
|
|
4235
4271
|
#
|
4236
|
-
#
|
4272
|
+
# Get all App Service Environments for a subscription.
|
4237
4273
|
#
|
4238
|
-
#
|
4274
|
+
# Get all App Service Environments for a subscription.
|
4239
4275
|
#
|
4240
4276
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4241
4277
|
# to List operation.
|
@@ -4249,9 +4285,9 @@ module Azure::ARM::Web
|
|
4249
4285
|
end
|
4250
4286
|
|
4251
4287
|
#
|
4252
|
-
#
|
4288
|
+
# Get all App Service Environments for a subscription.
|
4253
4289
|
#
|
4254
|
-
#
|
4290
|
+
# Get all App Service Environments for a subscription.
|
4255
4291
|
#
|
4256
4292
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4257
4293
|
# to List operation.
|
@@ -4309,9 +4345,9 @@ module Azure::ARM::Web
|
|
4309
4345
|
end
|
4310
4346
|
|
4311
4347
|
#
|
4312
|
-
# Get all
|
4348
|
+
# Get all App Service Environments in a resource group.
|
4313
4349
|
#
|
4314
|
-
# Get all
|
4350
|
+
# Get all App Service Environments in a resource group.
|
4315
4351
|
#
|
4316
4352
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4317
4353
|
# to List operation.
|
@@ -4326,9 +4362,9 @@ module Azure::ARM::Web
|
|
4326
4362
|
end
|
4327
4363
|
|
4328
4364
|
#
|
4329
|
-
# Get all
|
4365
|
+
# Get all App Service Environments in a resource group.
|
4330
4366
|
#
|
4331
|
-
# Get all
|
4367
|
+
# Get all App Service Environments in a resource group.
|
4332
4368
|
#
|
4333
4369
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4334
4370
|
# to List operation.
|
@@ -4342,9 +4378,9 @@ module Azure::ARM::Web
|
|
4342
4378
|
end
|
4343
4379
|
|
4344
4380
|
#
|
4345
|
-
# Get all
|
4381
|
+
# Get all App Service Environments in a resource group.
|
4346
4382
|
#
|
4347
|
-
# Get all
|
4383
|
+
# Get all App Service Environments in a resource group.
|
4348
4384
|
#
|
4349
4385
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4350
4386
|
# to List operation.
|
@@ -4402,11 +4438,11 @@ module Azure::ARM::Web
|
|
4402
4438
|
end
|
4403
4439
|
|
4404
4440
|
#
|
4405
|
-
# Get used, available, and total worker capacity
|
4406
|
-
#
|
4441
|
+
# Get the used, available, and total worker capacity an App Service
|
4442
|
+
# Environment.
|
4407
4443
|
#
|
4408
|
-
# Get used, available, and total worker capacity
|
4409
|
-
#
|
4444
|
+
# Get the used, available, and total worker capacity an App Service
|
4445
|
+
# Environment.
|
4410
4446
|
#
|
4411
4447
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4412
4448
|
# to List operation.
|
@@ -4421,11 +4457,11 @@ module Azure::ARM::Web
|
|
4421
4457
|
end
|
4422
4458
|
|
4423
4459
|
#
|
4424
|
-
# Get used, available, and total worker capacity
|
4425
|
-
#
|
4460
|
+
# Get the used, available, and total worker capacity an App Service
|
4461
|
+
# Environment.
|
4426
4462
|
#
|
4427
|
-
# Get used, available, and total worker capacity
|
4428
|
-
#
|
4463
|
+
# Get the used, available, and total worker capacity an App Service
|
4464
|
+
# Environment.
|
4429
4465
|
#
|
4430
4466
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4431
4467
|
# to List operation.
|
@@ -4439,11 +4475,11 @@ module Azure::ARM::Web
|
|
4439
4475
|
end
|
4440
4476
|
|
4441
4477
|
#
|
4442
|
-
# Get used, available, and total worker capacity
|
4443
|
-
#
|
4478
|
+
# Get the used, available, and total worker capacity an App Service
|
4479
|
+
# Environment.
|
4444
4480
|
#
|
4445
|
-
# Get used, available, and total worker capacity
|
4446
|
-
#
|
4481
|
+
# Get the used, available, and total worker capacity an App Service
|
4482
|
+
# Environment.
|
4447
4483
|
#
|
4448
4484
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4449
4485
|
# to List operation.
|
@@ -4501,9 +4537,9 @@ module Azure::ARM::Web
|
|
4501
4537
|
end
|
4502
4538
|
|
4503
4539
|
#
|
4504
|
-
# Get global metrics of
|
4540
|
+
# Get global metrics of an App Service Environment.
|
4505
4541
|
#
|
4506
|
-
# Get global metrics of
|
4542
|
+
# Get global metrics of an App Service Environment.
|
4507
4543
|
#
|
4508
4544
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4509
4545
|
# to List operation.
|
@@ -4518,9 +4554,9 @@ module Azure::ARM::Web
|
|
4518
4554
|
end
|
4519
4555
|
|
4520
4556
|
#
|
4521
|
-
# Get global metrics of
|
4557
|
+
# Get global metrics of an App Service Environment.
|
4522
4558
|
#
|
4523
|
-
# Get global metrics of
|
4559
|
+
# Get global metrics of an App Service Environment.
|
4524
4560
|
#
|
4525
4561
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4526
4562
|
# to List operation.
|
@@ -4534,9 +4570,9 @@ module Azure::ARM::Web
|
|
4534
4570
|
end
|
4535
4571
|
|
4536
4572
|
#
|
4537
|
-
# Get global metrics of
|
4573
|
+
# Get global metrics of an App Service Environment.
|
4538
4574
|
#
|
4539
|
-
# Get global metrics of
|
4575
|
+
# Get global metrics of an App Service Environment.
|
4540
4576
|
#
|
4541
4577
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4542
4578
|
# to List operation.
|
@@ -4594,9 +4630,9 @@ module Azure::ARM::Web
|
|
4594
4630
|
end
|
4595
4631
|
|
4596
4632
|
#
|
4597
|
-
# Get all multi
|
4633
|
+
# Get all multi-role pools.
|
4598
4634
|
#
|
4599
|
-
# Get all multi
|
4635
|
+
# Get all multi-role pools.
|
4600
4636
|
#
|
4601
4637
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4602
4638
|
# to List operation.
|
@@ -4611,9 +4647,9 @@ module Azure::ARM::Web
|
|
4611
4647
|
end
|
4612
4648
|
|
4613
4649
|
#
|
4614
|
-
# Get all multi
|
4650
|
+
# Get all multi-role pools.
|
4615
4651
|
#
|
4616
|
-
# Get all multi
|
4652
|
+
# Get all multi-role pools.
|
4617
4653
|
#
|
4618
4654
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4619
4655
|
# to List operation.
|
@@ -4627,9 +4663,9 @@ module Azure::ARM::Web
|
|
4627
4663
|
end
|
4628
4664
|
|
4629
4665
|
#
|
4630
|
-
# Get all multi
|
4666
|
+
# Get all multi-role pools.
|
4631
4667
|
#
|
4632
|
-
# Get all multi
|
4668
|
+
# Get all multi-role pools.
|
4633
4669
|
#
|
4634
4670
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4635
4671
|
# to List operation.
|
@@ -4687,30 +4723,30 @@ module Azure::ARM::Web
|
|
4687
4723
|
end
|
4688
4724
|
|
4689
4725
|
#
|
4690
|
-
# Get metric definitions for a
|
4691
|
-
# Service Environment
|
4726
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
4727
|
+
# Service Environment.
|
4692
4728
|
#
|
4693
|
-
# Get metric definitions for a
|
4694
|
-
# Service Environment
|
4729
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
4730
|
+
# Service Environment.
|
4695
4731
|
#
|
4696
4732
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4697
4733
|
# to List operation.
|
4698
4734
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
4699
4735
|
# will be added to the HTTP request.
|
4700
4736
|
#
|
4701
|
-
# @return [
|
4737
|
+
# @return [ResourceMetricDefinitionCollection] operation results.
|
4702
4738
|
#
|
4703
|
-
def
|
4704
|
-
response =
|
4739
|
+
def list_multi_role_pool_instance_metric_definitions_next(next_page_link, custom_headers = nil)
|
4740
|
+
response = list_multi_role_pool_instance_metric_definitions_next_async(next_page_link, custom_headers).value!
|
4705
4741
|
response.body unless response.nil?
|
4706
4742
|
end
|
4707
4743
|
|
4708
4744
|
#
|
4709
|
-
# Get metric definitions for a
|
4710
|
-
# Service Environment
|
4745
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
4746
|
+
# Service Environment.
|
4711
4747
|
#
|
4712
|
-
# Get metric definitions for a
|
4713
|
-
# Service Environment
|
4748
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
4749
|
+
# Service Environment.
|
4714
4750
|
#
|
4715
4751
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4716
4752
|
# to List operation.
|
@@ -4719,16 +4755,16 @@ module Azure::ARM::Web
|
|
4719
4755
|
#
|
4720
4756
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
4721
4757
|
#
|
4722
|
-
def
|
4723
|
-
|
4758
|
+
def list_multi_role_pool_instance_metric_definitions_next_with_http_info(next_page_link, custom_headers = nil)
|
4759
|
+
list_multi_role_pool_instance_metric_definitions_next_async(next_page_link, custom_headers).value!
|
4724
4760
|
end
|
4725
4761
|
|
4726
4762
|
#
|
4727
|
-
# Get metric definitions for a
|
4728
|
-
# Service Environment
|
4763
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
4764
|
+
# Service Environment.
|
4729
4765
|
#
|
4730
|
-
# Get metric definitions for a
|
4731
|
-
# Service Environment
|
4766
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
4767
|
+
# Service Environment.
|
4732
4768
|
#
|
4733
4769
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4734
4770
|
# to List operation.
|
@@ -4737,7 +4773,7 @@ module Azure::ARM::Web
|
|
4737
4773
|
#
|
4738
4774
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
4739
4775
|
#
|
4740
|
-
def
|
4776
|
+
def list_multi_role_pool_instance_metric_definitions_next_async(next_page_link, custom_headers = nil)
|
4741
4777
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
4742
4778
|
|
4743
4779
|
|
@@ -4772,7 +4808,7 @@ module Azure::ARM::Web
|
|
4772
4808
|
if status_code == 200
|
4773
4809
|
begin
|
4774
4810
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4775
|
-
result_mapper =
|
4811
|
+
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
4776
4812
|
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
4777
4813
|
rescue Exception => e
|
4778
4814
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4786,11 +4822,11 @@ module Azure::ARM::Web
|
|
4786
4822
|
end
|
4787
4823
|
|
4788
4824
|
#
|
4789
|
-
# Get metrics for a
|
4790
|
-
# Environment
|
4825
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
4826
|
+
# Environment.
|
4791
4827
|
#
|
4792
|
-
# Get metrics for a
|
4793
|
-
# Environment
|
4828
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
4829
|
+
# Environment.
|
4794
4830
|
#
|
4795
4831
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4796
4832
|
# to List operation.
|
@@ -4799,17 +4835,17 @@ module Azure::ARM::Web
|
|
4799
4835
|
#
|
4800
4836
|
# @return [ResourceMetricCollection] operation results.
|
4801
4837
|
#
|
4802
|
-
def
|
4803
|
-
response =
|
4838
|
+
def list_multi_role_pool_instance_metrics_next(next_page_link, custom_headers = nil)
|
4839
|
+
response = list_multi_role_pool_instance_metrics_next_async(next_page_link, custom_headers).value!
|
4804
4840
|
response.body unless response.nil?
|
4805
4841
|
end
|
4806
4842
|
|
4807
4843
|
#
|
4808
|
-
# Get metrics for a
|
4809
|
-
# Environment
|
4844
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
4845
|
+
# Environment.
|
4810
4846
|
#
|
4811
|
-
# Get metrics for a
|
4812
|
-
# Environment
|
4847
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
4848
|
+
# Environment.
|
4813
4849
|
#
|
4814
4850
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4815
4851
|
# to List operation.
|
@@ -4818,16 +4854,16 @@ module Azure::ARM::Web
|
|
4818
4854
|
#
|
4819
4855
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
4820
4856
|
#
|
4821
|
-
def
|
4822
|
-
|
4857
|
+
def list_multi_role_pool_instance_metrics_next_with_http_info(next_page_link, custom_headers = nil)
|
4858
|
+
list_multi_role_pool_instance_metrics_next_async(next_page_link, custom_headers).value!
|
4823
4859
|
end
|
4824
4860
|
|
4825
4861
|
#
|
4826
|
-
# Get metrics for a
|
4827
|
-
# Environment
|
4862
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
4863
|
+
# Environment.
|
4828
4864
|
#
|
4829
|
-
# Get metrics for a
|
4830
|
-
# Environment
|
4865
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
4866
|
+
# Environment.
|
4831
4867
|
#
|
4832
4868
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4833
4869
|
# to List operation.
|
@@ -4836,7 +4872,7 @@ module Azure::ARM::Web
|
|
4836
4872
|
#
|
4837
4873
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
4838
4874
|
#
|
4839
|
-
def
|
4875
|
+
def list_multi_role_pool_instance_metrics_next_async(next_page_link, custom_headers = nil)
|
4840
4876
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
4841
4877
|
|
4842
4878
|
|
@@ -4885,26 +4921,26 @@ module Azure::ARM::Web
|
|
4885
4921
|
end
|
4886
4922
|
|
4887
4923
|
#
|
4888
|
-
# Get
|
4924
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
4889
4925
|
#
|
4890
|
-
# Get
|
4926
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
4891
4927
|
#
|
4892
4928
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4893
4929
|
# to List operation.
|
4894
4930
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
4895
4931
|
# will be added to the HTTP request.
|
4896
4932
|
#
|
4897
|
-
# @return [
|
4933
|
+
# @return [ResourceMetricDefinitionCollection] operation results.
|
4898
4934
|
#
|
4899
|
-
def
|
4900
|
-
response =
|
4935
|
+
def list_multi_role_metric_definitions_next(next_page_link, custom_headers = nil)
|
4936
|
+
response = list_multi_role_metric_definitions_next_async(next_page_link, custom_headers).value!
|
4901
4937
|
response.body unless response.nil?
|
4902
4938
|
end
|
4903
4939
|
|
4904
4940
|
#
|
4905
|
-
# Get
|
4941
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
4906
4942
|
#
|
4907
|
-
# Get
|
4943
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
4908
4944
|
#
|
4909
4945
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4910
4946
|
# to List operation.
|
@@ -4913,14 +4949,14 @@ module Azure::ARM::Web
|
|
4913
4949
|
#
|
4914
4950
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
4915
4951
|
#
|
4916
|
-
def
|
4917
|
-
|
4952
|
+
def list_multi_role_metric_definitions_next_with_http_info(next_page_link, custom_headers = nil)
|
4953
|
+
list_multi_role_metric_definitions_next_async(next_page_link, custom_headers).value!
|
4918
4954
|
end
|
4919
4955
|
|
4920
4956
|
#
|
4921
|
-
# Get
|
4957
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
4922
4958
|
#
|
4923
|
-
# Get
|
4959
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
4924
4960
|
#
|
4925
4961
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4926
4962
|
# to List operation.
|
@@ -4929,7 +4965,7 @@ module Azure::ARM::Web
|
|
4929
4965
|
#
|
4930
4966
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
4931
4967
|
#
|
4932
|
-
def
|
4968
|
+
def list_multi_role_metric_definitions_next_async(next_page_link, custom_headers = nil)
|
4933
4969
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
4934
4970
|
|
4935
4971
|
|
@@ -4964,7 +5000,7 @@ module Azure::ARM::Web
|
|
4964
5000
|
if status_code == 200
|
4965
5001
|
begin
|
4966
5002
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4967
|
-
result_mapper =
|
5003
|
+
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
4968
5004
|
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
4969
5005
|
rescue Exception => e
|
4970
5006
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4978,18 +5014,202 @@ module Azure::ARM::Web
|
|
4978
5014
|
end
|
4979
5015
|
|
4980
5016
|
#
|
4981
|
-
# Get
|
4982
|
-
# Environment).
|
5017
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
4983
5018
|
#
|
4984
|
-
# Get
|
4985
|
-
# Environment).
|
5019
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
4986
5020
|
#
|
4987
5021
|
# @param next_page_link [String] The NextLink from the previous successful call
|
4988
5022
|
# to List operation.
|
4989
5023
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
4990
5024
|
# will be added to the HTTP request.
|
4991
5025
|
#
|
4992
|
-
# @return [
|
5026
|
+
# @return [ResourceMetricCollection] operation results.
|
5027
|
+
#
|
5028
|
+
def list_multi_role_metrics_next(next_page_link, custom_headers = nil)
|
5029
|
+
response = list_multi_role_metrics_next_async(next_page_link, custom_headers).value!
|
5030
|
+
response.body unless response.nil?
|
5031
|
+
end
|
5032
|
+
|
5033
|
+
#
|
5034
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
5035
|
+
#
|
5036
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
5037
|
+
#
|
5038
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
5039
|
+
# to List operation.
|
5040
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
5041
|
+
# will be added to the HTTP request.
|
5042
|
+
#
|
5043
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
5044
|
+
#
|
5045
|
+
def list_multi_role_metrics_next_with_http_info(next_page_link, custom_headers = nil)
|
5046
|
+
list_multi_role_metrics_next_async(next_page_link, custom_headers).value!
|
5047
|
+
end
|
5048
|
+
|
5049
|
+
#
|
5050
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
5051
|
+
#
|
5052
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
5053
|
+
#
|
5054
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
5055
|
+
# to List operation.
|
5056
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
5057
|
+
# to the HTTP request.
|
5058
|
+
#
|
5059
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
5060
|
+
#
|
5061
|
+
def list_multi_role_metrics_next_async(next_page_link, custom_headers = nil)
|
5062
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
5063
|
+
|
5064
|
+
|
5065
|
+
request_headers = {}
|
5066
|
+
|
5067
|
+
# Set Headers
|
5068
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
5069
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
5070
|
+
path_template = '{nextLink}'
|
5071
|
+
|
5072
|
+
request_url = @base_url || @client.base_url
|
5073
|
+
|
5074
|
+
options = {
|
5075
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
5076
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
5077
|
+
headers: request_headers.merge(custom_headers || {}),
|
5078
|
+
base_url: request_url
|
5079
|
+
}
|
5080
|
+
promise = @client.make_request_async(:get, path_template, options)
|
5081
|
+
|
5082
|
+
promise = promise.then do |result|
|
5083
|
+
http_response = result.response
|
5084
|
+
status_code = http_response.status
|
5085
|
+
response_content = http_response.body
|
5086
|
+
unless status_code == 200
|
5087
|
+
error_model = JSON.load(response_content)
|
5088
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
5089
|
+
end
|
5090
|
+
|
5091
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
5092
|
+
# Deserialize Response
|
5093
|
+
if status_code == 200
|
5094
|
+
begin
|
5095
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5096
|
+
result_mapper = ResourceMetricCollection.mapper()
|
5097
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
5098
|
+
rescue Exception => e
|
5099
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
5100
|
+
end
|
5101
|
+
end
|
5102
|
+
|
5103
|
+
result
|
5104
|
+
end
|
5105
|
+
|
5106
|
+
promise.execute
|
5107
|
+
end
|
5108
|
+
|
5109
|
+
#
|
5110
|
+
# Get available SKUs for scaling a multi-role pool.
|
5111
|
+
#
|
5112
|
+
# Get available SKUs for scaling a multi-role pool.
|
5113
|
+
#
|
5114
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
5115
|
+
# to List operation.
|
5116
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
5117
|
+
# will be added to the HTTP request.
|
5118
|
+
#
|
5119
|
+
# @return [SkuInfoCollection] operation results.
|
5120
|
+
#
|
5121
|
+
def list_multi_role_pool_skus_next(next_page_link, custom_headers = nil)
|
5122
|
+
response = list_multi_role_pool_skus_next_async(next_page_link, custom_headers).value!
|
5123
|
+
response.body unless response.nil?
|
5124
|
+
end
|
5125
|
+
|
5126
|
+
#
|
5127
|
+
# Get available SKUs for scaling a multi-role pool.
|
5128
|
+
#
|
5129
|
+
# Get available SKUs for scaling a multi-role pool.
|
5130
|
+
#
|
5131
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
5132
|
+
# to List operation.
|
5133
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
5134
|
+
# will be added to the HTTP request.
|
5135
|
+
#
|
5136
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
5137
|
+
#
|
5138
|
+
def list_multi_role_pool_skus_next_with_http_info(next_page_link, custom_headers = nil)
|
5139
|
+
list_multi_role_pool_skus_next_async(next_page_link, custom_headers).value!
|
5140
|
+
end
|
5141
|
+
|
5142
|
+
#
|
5143
|
+
# Get available SKUs for scaling a multi-role pool.
|
5144
|
+
#
|
5145
|
+
# Get available SKUs for scaling a multi-role pool.
|
5146
|
+
#
|
5147
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
5148
|
+
# to List operation.
|
5149
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
5150
|
+
# to the HTTP request.
|
5151
|
+
#
|
5152
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
5153
|
+
#
|
5154
|
+
def list_multi_role_pool_skus_next_async(next_page_link, custom_headers = nil)
|
5155
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
5156
|
+
|
5157
|
+
|
5158
|
+
request_headers = {}
|
5159
|
+
|
5160
|
+
# Set Headers
|
5161
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
5162
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
5163
|
+
path_template = '{nextLink}'
|
5164
|
+
|
5165
|
+
request_url = @base_url || @client.base_url
|
5166
|
+
|
5167
|
+
options = {
|
5168
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
5169
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
5170
|
+
headers: request_headers.merge(custom_headers || {}),
|
5171
|
+
base_url: request_url
|
5172
|
+
}
|
5173
|
+
promise = @client.make_request_async(:get, path_template, options)
|
5174
|
+
|
5175
|
+
promise = promise.then do |result|
|
5176
|
+
http_response = result.response
|
5177
|
+
status_code = http_response.status
|
5178
|
+
response_content = http_response.body
|
5179
|
+
unless status_code == 200
|
5180
|
+
error_model = JSON.load(response_content)
|
5181
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
5182
|
+
end
|
5183
|
+
|
5184
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
5185
|
+
# Deserialize Response
|
5186
|
+
if status_code == 200
|
5187
|
+
begin
|
5188
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5189
|
+
result_mapper = SkuInfoCollection.mapper()
|
5190
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
5191
|
+
rescue Exception => e
|
5192
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
5193
|
+
end
|
5194
|
+
end
|
5195
|
+
|
5196
|
+
result
|
5197
|
+
end
|
5198
|
+
|
5199
|
+
promise.execute
|
5200
|
+
end
|
5201
|
+
|
5202
|
+
#
|
5203
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
5204
|
+
#
|
5205
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
5206
|
+
#
|
5207
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
5208
|
+
# to List operation.
|
5209
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
5210
|
+
# will be added to the HTTP request.
|
5211
|
+
#
|
5212
|
+
# @return [UsageCollection] operation results.
|
4993
5213
|
#
|
4994
5214
|
def list_multi_role_usages_next(next_page_link, custom_headers = nil)
|
4995
5215
|
response = list_multi_role_usages_next_async(next_page_link, custom_headers).value!
|
@@ -4997,11 +5217,9 @@ module Azure::ARM::Web
|
|
4997
5217
|
end
|
4998
5218
|
|
4999
5219
|
#
|
5000
|
-
# Get
|
5001
|
-
# Environment).
|
5220
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
5002
5221
|
#
|
5003
|
-
# Get
|
5004
|
-
# Environment).
|
5222
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
5005
5223
|
#
|
5006
5224
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5007
5225
|
# to List operation.
|
@@ -5015,11 +5233,9 @@ module Azure::ARM::Web
|
|
5015
5233
|
end
|
5016
5234
|
|
5017
5235
|
#
|
5018
|
-
# Get
|
5019
|
-
# Environment).
|
5236
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
5020
5237
|
#
|
5021
|
-
# Get
|
5022
|
-
# Environment).
|
5238
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
5023
5239
|
#
|
5024
5240
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5025
5241
|
# to List operation.
|
@@ -5077,9 +5293,9 @@ module Azure::ARM::Web
|
|
5077
5293
|
end
|
5078
5294
|
|
5079
5295
|
#
|
5080
|
-
#
|
5296
|
+
# Resume an App Service Environment.
|
5081
5297
|
#
|
5082
|
-
#
|
5298
|
+
# Resume an App Service Environment.
|
5083
5299
|
#
|
5084
5300
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5085
5301
|
# to List operation.
|
@@ -5121,11 +5337,9 @@ module Azure::ARM::Web
|
|
5121
5337
|
end
|
5122
5338
|
|
5123
5339
|
#
|
5124
|
-
# Get all
|
5125
|
-
# Service Environment).
|
5340
|
+
# Get all App Service plans in an App Service Environment.
|
5126
5341
|
#
|
5127
|
-
# Get all
|
5128
|
-
# Service Environment).
|
5342
|
+
# Get all App Service plans in an App Service Environment.
|
5129
5343
|
#
|
5130
5344
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5131
5345
|
# to List operation.
|
@@ -5140,11 +5354,9 @@ module Azure::ARM::Web
|
|
5140
5354
|
end
|
5141
5355
|
|
5142
5356
|
#
|
5143
|
-
# Get all
|
5144
|
-
# Service Environment).
|
5357
|
+
# Get all App Service plans in an App Service Environment.
|
5145
5358
|
#
|
5146
|
-
# Get all
|
5147
|
-
# Service Environment).
|
5359
|
+
# Get all App Service plans in an App Service Environment.
|
5148
5360
|
#
|
5149
5361
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5150
5362
|
# to List operation.
|
@@ -5158,11 +5370,9 @@ module Azure::ARM::Web
|
|
5158
5370
|
end
|
5159
5371
|
|
5160
5372
|
#
|
5161
|
-
# Get all
|
5162
|
-
# Service Environment).
|
5373
|
+
# Get all App Service plans in an App Service Environment.
|
5163
5374
|
#
|
5164
|
-
# Get all
|
5165
|
-
# Service Environment).
|
5375
|
+
# Get all App Service plans in an App Service Environment.
|
5166
5376
|
#
|
5167
5377
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5168
5378
|
# to List operation.
|
@@ -5220,9 +5430,9 @@ module Azure::ARM::Web
|
|
5220
5430
|
end
|
5221
5431
|
|
5222
5432
|
#
|
5223
|
-
# Get all
|
5433
|
+
# Get all apps in an App Service Environment.
|
5224
5434
|
#
|
5225
|
-
# Get all
|
5435
|
+
# Get all apps in an App Service Environment.
|
5226
5436
|
#
|
5227
5437
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5228
5438
|
# to List operation.
|
@@ -5237,9 +5447,9 @@ module Azure::ARM::Web
|
|
5237
5447
|
end
|
5238
5448
|
|
5239
5449
|
#
|
5240
|
-
# Get all
|
5450
|
+
# Get all apps in an App Service Environment.
|
5241
5451
|
#
|
5242
|
-
# Get all
|
5452
|
+
# Get all apps in an App Service Environment.
|
5243
5453
|
#
|
5244
5454
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5245
5455
|
# to List operation.
|
@@ -5253,9 +5463,9 @@ module Azure::ARM::Web
|
|
5253
5463
|
end
|
5254
5464
|
|
5255
5465
|
#
|
5256
|
-
# Get all
|
5466
|
+
# Get all apps in an App Service Environment.
|
5257
5467
|
#
|
5258
|
-
# Get all
|
5468
|
+
# Get all apps in an App Service Environment.
|
5259
5469
|
#
|
5260
5470
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5261
5471
|
# to List operation.
|
@@ -5313,9 +5523,9 @@ module Azure::ARM::Web
|
|
5313
5523
|
end
|
5314
5524
|
|
5315
5525
|
#
|
5316
|
-
#
|
5526
|
+
# Suspend an App Service Environment.
|
5317
5527
|
#
|
5318
|
-
#
|
5528
|
+
# Suspend an App Service Environment.
|
5319
5529
|
#
|
5320
5530
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5321
5531
|
# to List operation.
|
@@ -5357,9 +5567,9 @@ module Azure::ARM::Web
|
|
5357
5567
|
end
|
5358
5568
|
|
5359
5569
|
#
|
5360
|
-
# Get global
|
5570
|
+
# Get global usage metrics of an App Service Environment.
|
5361
5571
|
#
|
5362
|
-
# Get global
|
5572
|
+
# Get global usage metrics of an App Service Environment.
|
5363
5573
|
#
|
5364
5574
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5365
5575
|
# to List operation.
|
@@ -5374,9 +5584,9 @@ module Azure::ARM::Web
|
|
5374
5584
|
end
|
5375
5585
|
|
5376
5586
|
#
|
5377
|
-
# Get global
|
5587
|
+
# Get global usage metrics of an App Service Environment.
|
5378
5588
|
#
|
5379
|
-
# Get global
|
5589
|
+
# Get global usage metrics of an App Service Environment.
|
5380
5590
|
#
|
5381
5591
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5382
5592
|
# to List operation.
|
@@ -5390,9 +5600,9 @@ module Azure::ARM::Web
|
|
5390
5600
|
end
|
5391
5601
|
|
5392
5602
|
#
|
5393
|
-
# Get global
|
5603
|
+
# Get global usage metrics of an App Service Environment.
|
5394
5604
|
#
|
5395
|
-
# Get global
|
5605
|
+
# Get global usage metrics of an App Service Environment.
|
5396
5606
|
#
|
5397
5607
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5398
5608
|
# to List operation.
|
@@ -5450,9 +5660,9 @@ module Azure::ARM::Web
|
|
5450
5660
|
end
|
5451
5661
|
|
5452
5662
|
#
|
5453
|
-
# Get all worker pools
|
5663
|
+
# Get all worker pools of an App Service Environment.
|
5454
5664
|
#
|
5455
|
-
# Get all worker pools
|
5665
|
+
# Get all worker pools of an App Service Environment.
|
5456
5666
|
#
|
5457
5667
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5458
5668
|
# to List operation.
|
@@ -5467,9 +5677,9 @@ module Azure::ARM::Web
|
|
5467
5677
|
end
|
5468
5678
|
|
5469
5679
|
#
|
5470
|
-
# Get all worker pools
|
5680
|
+
# Get all worker pools of an App Service Environment.
|
5471
5681
|
#
|
5472
|
-
# Get all worker pools
|
5682
|
+
# Get all worker pools of an App Service Environment.
|
5473
5683
|
#
|
5474
5684
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5475
5685
|
# to List operation.
|
@@ -5483,9 +5693,9 @@ module Azure::ARM::Web
|
|
5483
5693
|
end
|
5484
5694
|
|
5485
5695
|
#
|
5486
|
-
# Get all worker pools
|
5696
|
+
# Get all worker pools of an App Service Environment.
|
5487
5697
|
#
|
5488
|
-
# Get all worker pools
|
5698
|
+
# Get all worker pools of an App Service Environment.
|
5489
5699
|
#
|
5490
5700
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5491
5701
|
# to List operation.
|
@@ -5543,18 +5753,214 @@ module Azure::ARM::Web
|
|
5543
5753
|
end
|
5544
5754
|
|
5545
5755
|
#
|
5546
|
-
# Get metric definitions for a worker pool of
|
5547
|
-
# Service Environment
|
5756
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
5757
|
+
# Service Environment.
|
5758
|
+
#
|
5759
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
5760
|
+
# Service Environment.
|
5761
|
+
#
|
5762
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
5763
|
+
# to List operation.
|
5764
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
5765
|
+
# will be added to the HTTP request.
|
5766
|
+
#
|
5767
|
+
# @return [ResourceMetricDefinitionCollection] operation results.
|
5768
|
+
#
|
5769
|
+
def list_worker_pool_instance_metric_definitions_next(next_page_link, custom_headers = nil)
|
5770
|
+
response = list_worker_pool_instance_metric_definitions_next_async(next_page_link, custom_headers).value!
|
5771
|
+
response.body unless response.nil?
|
5772
|
+
end
|
5773
|
+
|
5774
|
+
#
|
5775
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
5776
|
+
# Service Environment.
|
5777
|
+
#
|
5778
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
5779
|
+
# Service Environment.
|
5780
|
+
#
|
5781
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
5782
|
+
# to List operation.
|
5783
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
5784
|
+
# will be added to the HTTP request.
|
5785
|
+
#
|
5786
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
5787
|
+
#
|
5788
|
+
def list_worker_pool_instance_metric_definitions_next_with_http_info(next_page_link, custom_headers = nil)
|
5789
|
+
list_worker_pool_instance_metric_definitions_next_async(next_page_link, custom_headers).value!
|
5790
|
+
end
|
5791
|
+
|
5792
|
+
#
|
5793
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
5794
|
+
# Service Environment.
|
5795
|
+
#
|
5796
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
5797
|
+
# Service Environment.
|
5798
|
+
#
|
5799
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
5800
|
+
# to List operation.
|
5801
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
5802
|
+
# to the HTTP request.
|
5803
|
+
#
|
5804
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
5805
|
+
#
|
5806
|
+
def list_worker_pool_instance_metric_definitions_next_async(next_page_link, custom_headers = nil)
|
5807
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
5808
|
+
|
5809
|
+
|
5810
|
+
request_headers = {}
|
5811
|
+
|
5812
|
+
# Set Headers
|
5813
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
5814
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
5815
|
+
path_template = '{nextLink}'
|
5816
|
+
|
5817
|
+
request_url = @base_url || @client.base_url
|
5818
|
+
|
5819
|
+
options = {
|
5820
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
5821
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
5822
|
+
headers: request_headers.merge(custom_headers || {}),
|
5823
|
+
base_url: request_url
|
5824
|
+
}
|
5825
|
+
promise = @client.make_request_async(:get, path_template, options)
|
5826
|
+
|
5827
|
+
promise = promise.then do |result|
|
5828
|
+
http_response = result.response
|
5829
|
+
status_code = http_response.status
|
5830
|
+
response_content = http_response.body
|
5831
|
+
unless status_code == 200
|
5832
|
+
error_model = JSON.load(response_content)
|
5833
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
5834
|
+
end
|
5835
|
+
|
5836
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
5837
|
+
# Deserialize Response
|
5838
|
+
if status_code == 200
|
5839
|
+
begin
|
5840
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5841
|
+
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
5842
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
5843
|
+
rescue Exception => e
|
5844
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
5845
|
+
end
|
5846
|
+
end
|
5847
|
+
|
5848
|
+
result
|
5849
|
+
end
|
5850
|
+
|
5851
|
+
promise.execute
|
5852
|
+
end
|
5853
|
+
|
5854
|
+
#
|
5855
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
5856
|
+
# Environment.
|
5857
|
+
#
|
5858
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
5859
|
+
# Environment.
|
5860
|
+
#
|
5861
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
5862
|
+
# to List operation.
|
5863
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
5864
|
+
# will be added to the HTTP request.
|
5865
|
+
#
|
5866
|
+
# @return [ResourceMetricCollection] operation results.
|
5867
|
+
#
|
5868
|
+
def list_worker_pool_instance_metrics_next(next_page_link, custom_headers = nil)
|
5869
|
+
response = list_worker_pool_instance_metrics_next_async(next_page_link, custom_headers).value!
|
5870
|
+
response.body unless response.nil?
|
5871
|
+
end
|
5872
|
+
|
5873
|
+
#
|
5874
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
5875
|
+
# Environment.
|
5876
|
+
#
|
5877
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
5878
|
+
# Environment.
|
5879
|
+
#
|
5880
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
5881
|
+
# to List operation.
|
5882
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
5883
|
+
# will be added to the HTTP request.
|
5884
|
+
#
|
5885
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
5886
|
+
#
|
5887
|
+
def list_worker_pool_instance_metrics_next_with_http_info(next_page_link, custom_headers = nil)
|
5888
|
+
list_worker_pool_instance_metrics_next_async(next_page_link, custom_headers).value!
|
5889
|
+
end
|
5890
|
+
|
5891
|
+
#
|
5892
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
5893
|
+
# Environment.
|
5894
|
+
#
|
5895
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
5896
|
+
# Environment.
|
5897
|
+
#
|
5898
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
5899
|
+
# to List operation.
|
5900
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
5901
|
+
# to the HTTP request.
|
5902
|
+
#
|
5903
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
5904
|
+
#
|
5905
|
+
def list_worker_pool_instance_metrics_next_async(next_page_link, custom_headers = nil)
|
5906
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
5907
|
+
|
5908
|
+
|
5909
|
+
request_headers = {}
|
5910
|
+
|
5911
|
+
# Set Headers
|
5912
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
5913
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
5914
|
+
path_template = '{nextLink}'
|
5915
|
+
|
5916
|
+
request_url = @base_url || @client.base_url
|
5917
|
+
|
5918
|
+
options = {
|
5919
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
5920
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
5921
|
+
headers: request_headers.merge(custom_headers || {}),
|
5922
|
+
base_url: request_url
|
5923
|
+
}
|
5924
|
+
promise = @client.make_request_async(:get, path_template, options)
|
5925
|
+
|
5926
|
+
promise = promise.then do |result|
|
5927
|
+
http_response = result.response
|
5928
|
+
status_code = http_response.status
|
5929
|
+
response_content = http_response.body
|
5930
|
+
unless status_code == 200
|
5931
|
+
error_model = JSON.load(response_content)
|
5932
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
5933
|
+
end
|
5934
|
+
|
5935
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
5936
|
+
# Deserialize Response
|
5937
|
+
if status_code == 200
|
5938
|
+
begin
|
5939
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5940
|
+
result_mapper = ResourceMetricCollection.mapper()
|
5941
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
5942
|
+
rescue Exception => e
|
5943
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
5944
|
+
end
|
5945
|
+
end
|
5946
|
+
|
5947
|
+
result
|
5948
|
+
end
|
5949
|
+
|
5950
|
+
promise.execute
|
5951
|
+
end
|
5952
|
+
|
5953
|
+
#
|
5954
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
5548
5955
|
#
|
5549
|
-
# Get metric definitions for a worker pool of
|
5550
|
-
# Service Environment).
|
5956
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
5551
5957
|
#
|
5552
5958
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5553
5959
|
# to List operation.
|
5554
5960
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
5555
5961
|
# will be added to the HTTP request.
|
5556
5962
|
#
|
5557
|
-
# @return [
|
5963
|
+
# @return [ResourceMetricDefinitionCollection] operation results.
|
5558
5964
|
#
|
5559
5965
|
def list_web_worker_metric_definitions_next(next_page_link, custom_headers = nil)
|
5560
5966
|
response = list_web_worker_metric_definitions_next_async(next_page_link, custom_headers).value!
|
@@ -5562,11 +5968,9 @@ module Azure::ARM::Web
|
|
5562
5968
|
end
|
5563
5969
|
|
5564
5970
|
#
|
5565
|
-
# Get metric definitions for a worker pool of
|
5566
|
-
# Service Environment).
|
5971
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
5567
5972
|
#
|
5568
|
-
# Get metric definitions for a worker pool of
|
5569
|
-
# Service Environment).
|
5973
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
5570
5974
|
#
|
5571
5975
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5572
5976
|
# to List operation.
|
@@ -5580,11 +5984,9 @@ module Azure::ARM::Web
|
|
5580
5984
|
end
|
5581
5985
|
|
5582
5986
|
#
|
5583
|
-
# Get metric definitions for a worker pool of
|
5584
|
-
# Service Environment).
|
5987
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
5585
5988
|
#
|
5586
|
-
# Get metric definitions for a worker pool of
|
5587
|
-
# Service Environment).
|
5989
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
5588
5990
|
#
|
5589
5991
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5590
5992
|
# to List operation.
|
@@ -5628,7 +6030,7 @@ module Azure::ARM::Web
|
|
5628
6030
|
if status_code == 200
|
5629
6031
|
begin
|
5630
6032
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5631
|
-
result_mapper =
|
6033
|
+
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
5632
6034
|
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
5633
6035
|
rescue Exception => e
|
5634
6036
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -5741,9 +6143,9 @@ module Azure::ARM::Web
|
|
5741
6143
|
end
|
5742
6144
|
|
5743
6145
|
#
|
5744
|
-
# Get available
|
6146
|
+
# Get available SKUs for scaling a worker pool.
|
5745
6147
|
#
|
5746
|
-
# Get available
|
6148
|
+
# Get available SKUs for scaling a worker pool.
|
5747
6149
|
#
|
5748
6150
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5749
6151
|
# to List operation.
|
@@ -5758,9 +6160,9 @@ module Azure::ARM::Web
|
|
5758
6160
|
end
|
5759
6161
|
|
5760
6162
|
#
|
5761
|
-
# Get available
|
6163
|
+
# Get available SKUs for scaling a worker pool.
|
5762
6164
|
#
|
5763
|
-
# Get available
|
6165
|
+
# Get available SKUs for scaling a worker pool.
|
5764
6166
|
#
|
5765
6167
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5766
6168
|
# to List operation.
|
@@ -5774,9 +6176,9 @@ module Azure::ARM::Web
|
|
5774
6176
|
end
|
5775
6177
|
|
5776
6178
|
#
|
5777
|
-
# Get available
|
6179
|
+
# Get available SKUs for scaling a worker pool.
|
5778
6180
|
#
|
5779
|
-
# Get available
|
6181
|
+
# Get available SKUs for scaling a worker pool.
|
5780
6182
|
#
|
5781
6183
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5782
6184
|
# to List operation.
|
@@ -5834,11 +6236,9 @@ module Azure::ARM::Web
|
|
5834
6236
|
end
|
5835
6237
|
|
5836
6238
|
#
|
5837
|
-
# Get
|
5838
|
-
# Environment).
|
6239
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
5839
6240
|
#
|
5840
|
-
# Get
|
5841
|
-
# Environment).
|
6241
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
5842
6242
|
#
|
5843
6243
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5844
6244
|
# to List operation.
|
@@ -5853,11 +6253,9 @@ module Azure::ARM::Web
|
|
5853
6253
|
end
|
5854
6254
|
|
5855
6255
|
#
|
5856
|
-
# Get
|
5857
|
-
# Environment).
|
6256
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
5858
6257
|
#
|
5859
|
-
# Get
|
5860
|
-
# Environment).
|
6258
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
5861
6259
|
#
|
5862
6260
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5863
6261
|
# to List operation.
|
@@ -5871,11 +6269,9 @@ module Azure::ARM::Web
|
|
5871
6269
|
end
|
5872
6270
|
|
5873
6271
|
#
|
5874
|
-
# Get
|
5875
|
-
# Environment).
|
6272
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
5876
6273
|
#
|
5877
|
-
# Get
|
5878
|
-
# Environment).
|
6274
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
5879
6275
|
#
|
5880
6276
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5881
6277
|
# to List operation.
|
@@ -5933,9 +6329,9 @@ module Azure::ARM::Web
|
|
5933
6329
|
end
|
5934
6330
|
|
5935
6331
|
#
|
5936
|
-
#
|
6332
|
+
# Resume an App Service Environment.
|
5937
6333
|
#
|
5938
|
-
#
|
6334
|
+
# Resume an App Service Environment.
|
5939
6335
|
#
|
5940
6336
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5941
6337
|
# to List operation.
|
@@ -5950,9 +6346,9 @@ module Azure::ARM::Web
|
|
5950
6346
|
end
|
5951
6347
|
|
5952
6348
|
#
|
5953
|
-
#
|
6349
|
+
# Resume an App Service Environment.
|
5954
6350
|
#
|
5955
|
-
#
|
6351
|
+
# Resume an App Service Environment.
|
5956
6352
|
#
|
5957
6353
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5958
6354
|
# to List operation.
|
@@ -5966,9 +6362,9 @@ module Azure::ARM::Web
|
|
5966
6362
|
end
|
5967
6363
|
|
5968
6364
|
#
|
5969
|
-
#
|
6365
|
+
# Resume an App Service Environment.
|
5970
6366
|
#
|
5971
|
-
#
|
6367
|
+
# Resume an App Service Environment.
|
5972
6368
|
#
|
5973
6369
|
# @param next_page_link [String] The NextLink from the previous successful call
|
5974
6370
|
# to List operation.
|
@@ -6036,9 +6432,9 @@ module Azure::ARM::Web
|
|
6036
6432
|
end
|
6037
6433
|
|
6038
6434
|
#
|
6039
|
-
#
|
6435
|
+
# Suspend an App Service Environment.
|
6040
6436
|
#
|
6041
|
-
#
|
6437
|
+
# Suspend an App Service Environment.
|
6042
6438
|
#
|
6043
6439
|
# @param next_page_link [String] The NextLink from the previous successful call
|
6044
6440
|
# to List operation.
|
@@ -6053,9 +6449,9 @@ module Azure::ARM::Web
|
|
6053
6449
|
end
|
6054
6450
|
|
6055
6451
|
#
|
6056
|
-
#
|
6452
|
+
# Suspend an App Service Environment.
|
6057
6453
|
#
|
6058
|
-
#
|
6454
|
+
# Suspend an App Service Environment.
|
6059
6455
|
#
|
6060
6456
|
# @param next_page_link [String] The NextLink from the previous successful call
|
6061
6457
|
# to List operation.
|
@@ -6069,9 +6465,9 @@ module Azure::ARM::Web
|
|
6069
6465
|
end
|
6070
6466
|
|
6071
6467
|
#
|
6072
|
-
#
|
6468
|
+
# Suspend an App Service Environment.
|
6073
6469
|
#
|
6074
|
-
#
|
6470
|
+
# Suspend an App Service Environment.
|
6075
6471
|
#
|
6076
6472
|
# @param next_page_link [String] The NextLink from the previous successful call
|
6077
6473
|
# to List operation.
|
@@ -6139,9 +6535,9 @@ module Azure::ARM::Web
|
|
6139
6535
|
end
|
6140
6536
|
|
6141
6537
|
#
|
6142
|
-
#
|
6538
|
+
# Get all App Service Environments for a subscription.
|
6143
6539
|
#
|
6144
|
-
#
|
6540
|
+
# Get all App Service Environments for a subscription.
|
6145
6541
|
#
|
6146
6542
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6147
6543
|
# will be added to the HTTP request.
|
@@ -6161,11 +6557,12 @@ module Azure::ARM::Web
|
|
6161
6557
|
end
|
6162
6558
|
|
6163
6559
|
#
|
6164
|
-
# Get all
|
6560
|
+
# Get all App Service Environments in a resource group.
|
6165
6561
|
#
|
6166
|
-
# Get all
|
6562
|
+
# Get all App Service Environments in a resource group.
|
6167
6563
|
#
|
6168
|
-
# @param resource_group_name [String] Name of resource group
|
6564
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6565
|
+
# resource belongs.
|
6169
6566
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6170
6567
|
# will be added to the HTTP request.
|
6171
6568
|
#
|
@@ -6184,14 +6581,15 @@ module Azure::ARM::Web
|
|
6184
6581
|
end
|
6185
6582
|
|
6186
6583
|
#
|
6187
|
-
# Get used, available, and total worker capacity
|
6188
|
-
#
|
6584
|
+
# Get the used, available, and total worker capacity an App Service
|
6585
|
+
# Environment.
|
6189
6586
|
#
|
6190
|
-
# Get used, available, and total worker capacity
|
6191
|
-
#
|
6587
|
+
# Get the used, available, and total worker capacity an App Service
|
6588
|
+
# Environment.
|
6192
6589
|
#
|
6193
|
-
# @param resource_group_name [String] Name of resource group
|
6194
|
-
#
|
6590
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6591
|
+
# resource belongs.
|
6592
|
+
# @param name [String] Name of the App Service Environment.
|
6195
6593
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6196
6594
|
# will be added to the HTTP request.
|
6197
6595
|
#
|
@@ -6210,13 +6608,15 @@ module Azure::ARM::Web
|
|
6210
6608
|
end
|
6211
6609
|
|
6212
6610
|
#
|
6213
|
-
# Get global metrics of
|
6611
|
+
# Get global metrics of an App Service Environment.
|
6214
6612
|
#
|
6215
|
-
# Get global metrics of
|
6613
|
+
# Get global metrics of an App Service Environment.
|
6216
6614
|
#
|
6217
|
-
# @param resource_group_name [String] Name of resource group
|
6218
|
-
#
|
6219
|
-
# @param
|
6615
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6616
|
+
# resource belongs.
|
6617
|
+
# @param name [String] Name of the App Service Environment.
|
6618
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
6619
|
+
# details. The default is <code>false</code>.
|
6220
6620
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
6221
6621
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
6222
6622
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -6239,12 +6639,13 @@ module Azure::ARM::Web
|
|
6239
6639
|
end
|
6240
6640
|
|
6241
6641
|
#
|
6242
|
-
# Get all multi
|
6642
|
+
# Get all multi-role pools.
|
6243
6643
|
#
|
6244
|
-
# Get all multi
|
6644
|
+
# Get all multi-role pools.
|
6245
6645
|
#
|
6246
|
-
# @param resource_group_name [String] Name of resource group
|
6247
|
-
#
|
6646
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6647
|
+
# resource belongs.
|
6648
|
+
# @param name [String] Name of the App Service Environment.
|
6248
6649
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6249
6650
|
# will be added to the HTTP request.
|
6250
6651
|
#
|
@@ -6263,19 +6664,76 @@ module Azure::ARM::Web
|
|
6263
6664
|
end
|
6264
6665
|
|
6265
6666
|
#
|
6266
|
-
# Get metric definitions for a
|
6267
|
-
# Service Environment
|
6667
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
6668
|
+
# Service Environment.
|
6669
|
+
#
|
6670
|
+
# Get metric definitions for a specific instance of a multi-role pool of an App
|
6671
|
+
# Service Environment.
|
6672
|
+
#
|
6673
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6674
|
+
# resource belongs.
|
6675
|
+
# @param name [String] Name of the App Service Environment.
|
6676
|
+
# @param instance [String] Name of the instance in the multi-role pool.
|
6677
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6678
|
+
# will be added to the HTTP request.
|
6679
|
+
#
|
6680
|
+
# @return [ResourceMetricDefinitionCollection] which provide lazy access to
|
6681
|
+
# pages of the response.
|
6682
|
+
#
|
6683
|
+
def list_multi_role_pool_instance_metric_definitions_as_lazy(resource_group_name, name, instance, custom_headers = nil)
|
6684
|
+
response = list_multi_role_pool_instance_metric_definitions_async(resource_group_name, name, instance, custom_headers).value!
|
6685
|
+
unless response.nil?
|
6686
|
+
page = response.body
|
6687
|
+
page.next_method = Proc.new do |next_page_link|
|
6688
|
+
list_multi_role_pool_instance_metric_definitions_next_async(next_page_link, custom_headers)
|
6689
|
+
end
|
6690
|
+
page
|
6691
|
+
end
|
6692
|
+
end
|
6693
|
+
|
6694
|
+
#
|
6695
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
6696
|
+
# Environment.
|
6268
6697
|
#
|
6269
|
-
# Get
|
6270
|
-
#
|
6698
|
+
# Get metrics for a specific instance of a multi-role pool of an App Service
|
6699
|
+
# Environment.
|
6271
6700
|
#
|
6272
|
-
# @param resource_group_name [String] Name of resource group
|
6273
|
-
#
|
6701
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6702
|
+
# resource belongs.
|
6703
|
+
# @param name [String] Name of the App Service Environment.
|
6704
|
+
# @param instance [String] Name of the instance in the multi-role pool.
|
6705
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
6706
|
+
# details. The default is <code>false</code>.
|
6274
6707
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6275
6708
|
# will be added to the HTTP request.
|
6276
6709
|
#
|
6277
|
-
# @return [
|
6278
|
-
#
|
6710
|
+
# @return [ResourceMetricCollection] which provide lazy access to pages of the
|
6711
|
+
# response.
|
6712
|
+
#
|
6713
|
+
def list_multi_role_pool_instance_metrics_as_lazy(resource_group_name, name, instance, details = nil, custom_headers = nil)
|
6714
|
+
response = list_multi_role_pool_instance_metrics_async(resource_group_name, name, instance, details, custom_headers).value!
|
6715
|
+
unless response.nil?
|
6716
|
+
page = response.body
|
6717
|
+
page.next_method = Proc.new do |next_page_link|
|
6718
|
+
list_multi_role_pool_instance_metrics_next_async(next_page_link, custom_headers)
|
6719
|
+
end
|
6720
|
+
page
|
6721
|
+
end
|
6722
|
+
end
|
6723
|
+
|
6724
|
+
#
|
6725
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
6726
|
+
#
|
6727
|
+
# Get metric definitions for a multi-role pool of an App Service Environment.
|
6728
|
+
#
|
6729
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6730
|
+
# resource belongs.
|
6731
|
+
# @param name [String] Name of the App Service Environment.
|
6732
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6733
|
+
# will be added to the HTTP request.
|
6734
|
+
#
|
6735
|
+
# @return [ResourceMetricDefinitionCollection] which provide lazy access to
|
6736
|
+
# pages of the response.
|
6279
6737
|
#
|
6280
6738
|
def list_multi_role_metric_definitions_as_lazy(resource_group_name, name, custom_headers = nil)
|
6281
6739
|
response = list_multi_role_metric_definitions_async(resource_group_name, name, custom_headers).value!
|
@@ -6289,18 +6747,18 @@ module Azure::ARM::Web
|
|
6289
6747
|
end
|
6290
6748
|
|
6291
6749
|
#
|
6292
|
-
# Get metrics for a
|
6293
|
-
# Environment).
|
6750
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
6294
6751
|
#
|
6295
|
-
# Get metrics for a
|
6296
|
-
# Environment).
|
6752
|
+
# Get metrics for a multi-role pool of an App Service Environment.
|
6297
6753
|
#
|
6298
|
-
# @param resource_group_name [String] Name of resource group
|
6299
|
-
#
|
6300
|
-
# @param
|
6301
|
-
# @param
|
6302
|
-
# @param
|
6303
|
-
# @param
|
6754
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6755
|
+
# resource belongs.
|
6756
|
+
# @param name [String] Name of the App Service Environment.
|
6757
|
+
# @param start_time [String] Beginning time of the metrics query.
|
6758
|
+
# @param end_time [String] End time of the metrics query.
|
6759
|
+
# @param time_grain [String] Time granularity of the metrics query.
|
6760
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
6761
|
+
# details. The default is <code>false</code>.
|
6304
6762
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
6305
6763
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
6306
6764
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -6323,12 +6781,13 @@ module Azure::ARM::Web
|
|
6323
6781
|
end
|
6324
6782
|
|
6325
6783
|
#
|
6326
|
-
# Get available
|
6784
|
+
# Get available SKUs for scaling a multi-role pool.
|
6327
6785
|
#
|
6328
|
-
# Get available
|
6786
|
+
# Get available SKUs for scaling a multi-role pool.
|
6329
6787
|
#
|
6330
|
-
# @param resource_group_name [String] Name of resource group
|
6331
|
-
#
|
6788
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6789
|
+
# resource belongs.
|
6790
|
+
# @param name [String] Name of the App Service Environment.
|
6332
6791
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6333
6792
|
# will be added to the HTTP request.
|
6334
6793
|
#
|
@@ -6347,14 +6806,13 @@ module Azure::ARM::Web
|
|
6347
6806
|
end
|
6348
6807
|
|
6349
6808
|
#
|
6350
|
-
# Get
|
6351
|
-
# Environment).
|
6809
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
6352
6810
|
#
|
6353
|
-
# Get
|
6354
|
-
# Environment).
|
6811
|
+
# Get usage metrics for a multi-role pool of an App Service Environment.
|
6355
6812
|
#
|
6356
|
-
# @param resource_group_name [String] Name of resource group
|
6357
|
-
#
|
6813
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6814
|
+
# resource belongs.
|
6815
|
+
# @param name [String] Name of the App Service Environment.
|
6358
6816
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6359
6817
|
# will be added to the HTTP request.
|
6360
6818
|
#
|
@@ -6372,14 +6830,13 @@ module Azure::ARM::Web
|
|
6372
6830
|
end
|
6373
6831
|
|
6374
6832
|
#
|
6375
|
-
# Get all
|
6376
|
-
# Service Environment).
|
6833
|
+
# Get all App Service plans in an App Service Environment.
|
6377
6834
|
#
|
6378
|
-
# Get all
|
6379
|
-
# Service Environment).
|
6835
|
+
# Get all App Service plans in an App Service Environment.
|
6380
6836
|
#
|
6381
|
-
# @param resource_group_name [String] Name of resource group
|
6382
|
-
#
|
6837
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6838
|
+
# resource belongs.
|
6839
|
+
# @param name [String] Name of the App Service Environment.
|
6383
6840
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6384
6841
|
# will be added to the HTTP request.
|
6385
6842
|
#
|
@@ -6398,14 +6855,15 @@ module Azure::ARM::Web
|
|
6398
6855
|
end
|
6399
6856
|
|
6400
6857
|
#
|
6401
|
-
# Get all
|
6858
|
+
# Get all apps in an App Service Environment.
|
6402
6859
|
#
|
6403
|
-
# Get all
|
6860
|
+
# Get all apps in an App Service Environment.
|
6404
6861
|
#
|
6405
|
-
# @param resource_group_name [String] Name of resource group
|
6406
|
-
#
|
6407
|
-
# @param
|
6408
|
-
#
|
6862
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6863
|
+
# resource belongs.
|
6864
|
+
# @param name [String] Name of the App Service Environment.
|
6865
|
+
# @param properties_to_include [String] Comma separated list of app properties
|
6866
|
+
# to include.
|
6409
6867
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6410
6868
|
# will be added to the HTTP request.
|
6411
6869
|
#
|
@@ -6424,12 +6882,13 @@ module Azure::ARM::Web
|
|
6424
6882
|
end
|
6425
6883
|
|
6426
6884
|
#
|
6427
|
-
# Get global
|
6885
|
+
# Get global usage metrics of an App Service Environment.
|
6428
6886
|
#
|
6429
|
-
# Get global
|
6887
|
+
# Get global usage metrics of an App Service Environment.
|
6430
6888
|
#
|
6431
|
-
# @param resource_group_name [String] Name of resource group
|
6432
|
-
#
|
6889
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6890
|
+
# resource belongs.
|
6891
|
+
# @param name [String] Name of the App Service Environment.
|
6433
6892
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
6434
6893
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
6435
6894
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -6452,12 +6911,13 @@ module Azure::ARM::Web
|
|
6452
6911
|
end
|
6453
6912
|
|
6454
6913
|
#
|
6455
|
-
# Get all worker pools
|
6914
|
+
# Get all worker pools of an App Service Environment.
|
6456
6915
|
#
|
6457
|
-
# Get all worker pools
|
6916
|
+
# Get all worker pools of an App Service Environment.
|
6458
6917
|
#
|
6459
|
-
# @param resource_group_name [String] Name of resource group
|
6460
|
-
#
|
6918
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6919
|
+
# resource belongs.
|
6920
|
+
# @param name [String] Name of the App Service Environment.
|
6461
6921
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6462
6922
|
# will be added to the HTTP request.
|
6463
6923
|
#
|
@@ -6476,20 +6936,83 @@ module Azure::ARM::Web
|
|
6476
6936
|
end
|
6477
6937
|
|
6478
6938
|
#
|
6479
|
-
# Get metric definitions for a worker pool of
|
6480
|
-
# Service Environment
|
6939
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
6940
|
+
# Service Environment.
|
6481
6941
|
#
|
6482
|
-
# Get metric definitions for a worker pool of
|
6483
|
-
# Service Environment
|
6942
|
+
# Get metric definitions for a specific instance of a worker pool of an App
|
6943
|
+
# Service Environment.
|
6484
6944
|
#
|
6485
|
-
# @param resource_group_name [String] Name of resource group
|
6486
|
-
#
|
6487
|
-
# @param
|
6945
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6946
|
+
# resource belongs.
|
6947
|
+
# @param name [String] Name of the App Service Environment.
|
6948
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
6949
|
+
# @param instance [String] Name of the instance in the worker pool.
|
6488
6950
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6489
6951
|
# will be added to the HTTP request.
|
6490
6952
|
#
|
6491
|
-
# @return [
|
6492
|
-
# the response.
|
6953
|
+
# @return [ResourceMetricDefinitionCollection] which provide lazy access to
|
6954
|
+
# pages of the response.
|
6955
|
+
#
|
6956
|
+
def list_worker_pool_instance_metric_definitions_as_lazy(resource_group_name, name, worker_pool_name, instance, custom_headers = nil)
|
6957
|
+
response = list_worker_pool_instance_metric_definitions_async(resource_group_name, name, worker_pool_name, instance, custom_headers).value!
|
6958
|
+
unless response.nil?
|
6959
|
+
page = response.body
|
6960
|
+
page.next_method = Proc.new do |next_page_link|
|
6961
|
+
list_worker_pool_instance_metric_definitions_next_async(next_page_link, custom_headers)
|
6962
|
+
end
|
6963
|
+
page
|
6964
|
+
end
|
6965
|
+
end
|
6966
|
+
|
6967
|
+
#
|
6968
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
6969
|
+
# Environment.
|
6970
|
+
#
|
6971
|
+
# Get metrics for a specific instance of a worker pool of an App Service
|
6972
|
+
# Environment.
|
6973
|
+
#
|
6974
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
6975
|
+
# resource belongs.
|
6976
|
+
# @param name [String] Name of the App Service Environment.
|
6977
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
6978
|
+
# @param instance [String] Name of the instance in the worker pool.
|
6979
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
6980
|
+
# details. The default is <code>false</code>.
|
6981
|
+
# @param filter [String] Return only usages/metrics specified in the filter.
|
6982
|
+
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
6983
|
+
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
6984
|
+
# eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
|
6985
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6986
|
+
# will be added to the HTTP request.
|
6987
|
+
#
|
6988
|
+
# @return [ResourceMetricCollection] which provide lazy access to pages of the
|
6989
|
+
# response.
|
6990
|
+
#
|
6991
|
+
def list_worker_pool_instance_metrics_as_lazy(resource_group_name, name, worker_pool_name, instance, details = nil, filter = nil, custom_headers = nil)
|
6992
|
+
response = list_worker_pool_instance_metrics_async(resource_group_name, name, worker_pool_name, instance, details, filter, custom_headers).value!
|
6993
|
+
unless response.nil?
|
6994
|
+
page = response.body
|
6995
|
+
page.next_method = Proc.new do |next_page_link|
|
6996
|
+
list_worker_pool_instance_metrics_next_async(next_page_link, custom_headers)
|
6997
|
+
end
|
6998
|
+
page
|
6999
|
+
end
|
7000
|
+
end
|
7001
|
+
|
7002
|
+
#
|
7003
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
7004
|
+
#
|
7005
|
+
# Get metric definitions for a worker pool of an App Service Environment.
|
7006
|
+
#
|
7007
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
7008
|
+
# resource belongs.
|
7009
|
+
# @param name [String] Name of the App Service Environment.
|
7010
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
7011
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
7012
|
+
# will be added to the HTTP request.
|
7013
|
+
#
|
7014
|
+
# @return [ResourceMetricDefinitionCollection] which provide lazy access to
|
7015
|
+
# pages of the response.
|
6493
7016
|
#
|
6494
7017
|
def list_web_worker_metric_definitions_as_lazy(resource_group_name, name, worker_pool_name, custom_headers = nil)
|
6495
7018
|
response = list_web_worker_metric_definitions_async(resource_group_name, name, worker_pool_name, custom_headers).value!
|
@@ -6509,10 +7032,12 @@ module Azure::ARM::Web
|
|
6509
7032
|
# Get metrics for a worker pool of a AppServiceEnvironment (App Service
|
6510
7033
|
# Environment).
|
6511
7034
|
#
|
6512
|
-
# @param resource_group_name [String] Name of resource group
|
6513
|
-
#
|
7035
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
7036
|
+
# resource belongs.
|
7037
|
+
# @param name [String] Name of the App Service Environment.
|
6514
7038
|
# @param worker_pool_name [String] Name of worker pool
|
6515
|
-
# @param details [Boolean]
|
7039
|
+
# @param details [Boolean] Specify <code>true</code> to include instance
|
7040
|
+
# details. The default is <code>false</code>.
|
6516
7041
|
# @param filter [String] Return only usages/metrics specified in the filter.
|
6517
7042
|
# Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
|
6518
7043
|
# name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime
|
@@ -6535,13 +7060,14 @@ module Azure::ARM::Web
|
|
6535
7060
|
end
|
6536
7061
|
|
6537
7062
|
#
|
6538
|
-
# Get available
|
7063
|
+
# Get available SKUs for scaling a worker pool.
|
6539
7064
|
#
|
6540
|
-
# Get available
|
7065
|
+
# Get available SKUs for scaling a worker pool.
|
6541
7066
|
#
|
6542
|
-
# @param resource_group_name [String] Name of resource group
|
6543
|
-
#
|
6544
|
-
# @param
|
7067
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
7068
|
+
# resource belongs.
|
7069
|
+
# @param name [String] Name of the App Service Environment.
|
7070
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
6545
7071
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6546
7072
|
# will be added to the HTTP request.
|
6547
7073
|
#
|
@@ -6560,15 +7086,14 @@ module Azure::ARM::Web
|
|
6560
7086
|
end
|
6561
7087
|
|
6562
7088
|
#
|
6563
|
-
# Get
|
6564
|
-
# Environment).
|
7089
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
6565
7090
|
#
|
6566
|
-
# Get
|
6567
|
-
# Environment).
|
7091
|
+
# Get usage metrics for a worker pool of an App Service Environment.
|
6568
7092
|
#
|
6569
|
-
# @param resource_group_name [String] Name of resource group
|
6570
|
-
#
|
6571
|
-
# @param
|
7093
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
7094
|
+
# resource belongs.
|
7095
|
+
# @param name [String] Name of the App Service Environment.
|
7096
|
+
# @param worker_pool_name [String] Name of the worker pool.
|
6572
7097
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6573
7098
|
# will be added to the HTTP request.
|
6574
7099
|
#
|
@@ -6586,12 +7111,13 @@ module Azure::ARM::Web
|
|
6586
7111
|
end
|
6587
7112
|
|
6588
7113
|
#
|
6589
|
-
#
|
7114
|
+
# Resume an App Service Environment.
|
6590
7115
|
#
|
6591
|
-
#
|
7116
|
+
# Resume an App Service Environment.
|
6592
7117
|
#
|
6593
|
-
# @param resource_group_name [String] Name of resource group
|
6594
|
-
#
|
7118
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
7119
|
+
# resource belongs.
|
7120
|
+
# @param name [String] Name of the App Service Environment.
|
6595
7121
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6596
7122
|
# will be added to the HTTP request.
|
6597
7123
|
#
|
@@ -6610,12 +7136,13 @@ module Azure::ARM::Web
|
|
6610
7136
|
end
|
6611
7137
|
|
6612
7138
|
#
|
6613
|
-
#
|
7139
|
+
# Suspend an App Service Environment.
|
6614
7140
|
#
|
6615
|
-
#
|
7141
|
+
# Suspend an App Service Environment.
|
6616
7142
|
#
|
6617
|
-
# @param resource_group_name [String] Name of resource group
|
6618
|
-
#
|
7143
|
+
# @param resource_group_name [String] Name of the resource group to which the
|
7144
|
+
# resource belongs.
|
7145
|
+
# @param name [String] Name of the App Service Environment.
|
6619
7146
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
6620
7147
|
# will be added to the HTTP request.
|
6621
7148
|
#
|