azure_mgmt_web 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_web.rb +151 -144
- data/lib/generated/azure_mgmt_web/app_service_certificate_orders.rb +371 -372
- data/lib/generated/azure_mgmt_web/app_service_environments.rb +225 -221
- data/lib/generated/azure_mgmt_web/app_service_plans.rb +92 -93
- data/lib/generated/azure_mgmt_web/certificates.rb +26 -660
- data/lib/generated/azure_mgmt_web/deleted_web_apps.rb +12 -13
- data/lib/generated/azure_mgmt_web/domains.rb +59 -60
- data/lib/generated/azure_mgmt_web/models/access_control_entry_action.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/address.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/address_response.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/api_definition_info.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/app_service_certificate.rb +7 -56
- data/lib/generated/azure_mgmt_web/models/app_service_certificate_collection.rb +6 -5
- data/lib/generated/azure_mgmt_web/models/app_service_certificate_order.rb +34 -1
- data/lib/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/app_service_certificate_resource.rb +124 -0
- data/lib/generated/azure_mgmt_web/models/app_service_environment.rb +41 -90
- data/lib/generated/azure_mgmt_web/models/app_service_environment_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/app_service_environment_resource.rb +525 -0
- data/lib/generated/azure_mgmt_web/models/app_service_plan.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/app_service_plan_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/app_service_plan_restrictions.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/application_logs_config.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/auto_heal_action_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/auto_heal_actions.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/auto_heal_rules.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/auto_heal_triggers.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/azure_resource_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/backup_item.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/backup_item_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/backup_item_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/backup_request.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/backup_restore_operation_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/backup_schedule.rb +9 -8
- data/lib/generated/azure_mgmt_web/models/built_in_authentication_provider.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/capability.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/certificate.rb +25 -1
- data/lib/generated/azure_mgmt_web/models/certificate_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/certificate_details.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/certificate_email.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/certificate_order_action.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/certificate_order_action_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/certificate_order_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/certificate_product_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/channels.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/check_name_resource_types.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/clone_ability_result.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/cloning_info.rb +13 -1
- data/lib/generated/azure_mgmt_web/models/compute_mode_options.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/conn_string_info.rb +3 -2
- data/lib/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +3 -2
- data/lib/generated/azure_mgmt_web/models/connection_string_dictionary.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/connection_string_type.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/contact.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/cors_settings.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/csm_site_recovery_entity.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/csm_slot_entity.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/csm_usage_quota.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/custom_hostname_analysis_result.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/database_backup_setting.rb +3 -2
- data/lib/generated/azure_mgmt_web/models/database_type.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/deleted_site.rb +4 -3
- data/lib/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/deployment.rb +5 -4
- data/lib/generated/azure_mgmt_web/models/deployment_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/dns_type.rb +16 -0
- data/lib/generated/azure_mgmt_web/models/dns_verification_test_result.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/domain.rb +50 -1
- data/lib/generated/azure_mgmt_web/models/domain_availablility_check_result.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/domain_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/domain_ownership_identifier.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/domain_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/domain_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/enabled_config.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/error_entity.rb +22 -21
- data/lib/generated/azure_mgmt_web/models/experiments.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/frequency_unit.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/geo_region.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/geo_region_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/global_csm_sku_description.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/handler_mapping.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/host_name.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/host_name_binding.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/host_name_binding_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/host_name_ssl_state.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/host_name_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/host_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/hosting_environment_profile.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/hosting_environment_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/http_logs_config.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/hybrid_connection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/hybrid_connection_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/hybrid_connection_key.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/hybrid_connection_limits.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/identifier.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/identifier_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/in_availability_reason_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/ip_security_restriction.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/key_vault_secret_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/localizable_string.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/log_level.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/managed_pipeline_mode.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/metric_availabilily.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/metric_definition.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/migrate_my_sql_request.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/migrate_my_sql_status.rb +120 -0
- data/lib/generated/azure_mgmt_web/models/name_identifier.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/name_identifier_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/name_value_pair.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/network_access_control_entry.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/network_features.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/notification_level.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/operation.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/operation_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/perf_mon_response.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/perf_mon_sample.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/perf_mon_set.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/premier_add_on.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/premier_add_on_offer.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/provisioning_state.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/publishing_profile_format.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/push_settings.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/ramp_up_rule.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/recommendation.rb +44 -1
- data/lib/generated/azure_mgmt_web/models/recommendation_rule.rb +46 -1
- data/lib/generated/azure_mgmt_web/models/recover_response.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/requests_based_trigger.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource_health_metadata.rb +116 -0
- data/lib/generated/azure_mgmt_web/models/resource_metric.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_availability.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_definition.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_name.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_property.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_value.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource_name_availability.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource_name_availability_request.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/resource_scope_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/restore_request.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/restore_response.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/route_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/scm_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site.rb +4 -3
- data/lib/generated/azure_mgmt_web/models/site_auth_settings.rb +76 -25
- data/lib/generated/azure_mgmt_web/models/site_availability_state.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_cloneability.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/site_config.rb +46 -95
- data/lib/generated/azure_mgmt_web/models/site_config_resource.rb +590 -0
- data/lib/generated/azure_mgmt_web/models/{csr_collection.rb → site_config_resource_collection.rb} +12 -11
- data/lib/generated/azure_mgmt_web/models/site_configuration_snapshot_info.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/site_instance.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/site_limits.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/site_load_balancing.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_logs_config.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/site_machine_key.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/site_php_error_log_flag.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/site_seal.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/site_seal_request.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/site_source_control.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/sku_capacity.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/sku_description.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/sku_info.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/sku_info_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/sku_infos.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/sku_name.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/slot_config_names_resource.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/slot_difference.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/slot_difference_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/slot_swap_status.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/snapshot.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/snapshot_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/source_control.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/source_control_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/ssl_state.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/stamp_capacity.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/status_options.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/storage_migration_options.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/storage_migration_response.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/string_dictionary.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/tld_legal_agreement.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/top_level_domain.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +14 -1
- data/lib/generated/azure_mgmt_web/models/top_level_domain_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/unauthenticated_client_action.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/usage.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/usage_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/usage_state.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/user.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/validate_request.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/validate_resource_types.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/validate_response.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/validate_response_error.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/virtual_application.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/virtual_directory.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/virtual_ipmapping.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/virtual_network_profile.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/vnet_gateway.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/vnet_info.rb +9 -58
- data/lib/generated/azure_mgmt_web/models/vnet_route.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/web_app_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/web_app_instance_collection.rb +2 -1
- data/lib/generated/azure_mgmt_web/models/worker_pool.rb +8 -68
- data/lib/generated/azure_mgmt_web/models/worker_pool_collection.rb +6 -5
- data/lib/generated/azure_mgmt_web/models/{csr.rb → worker_pool_resource.rb} +48 -45
- data/lib/generated/azure_mgmt_web/models/worker_size_options.rb +1 -1
- data/lib/generated/azure_mgmt_web/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_web/provider.rb +181 -0
- data/lib/generated/azure_mgmt_web/recommendations.rb +14 -15
- data/lib/generated/azure_mgmt_web/top_level_domains.rb +17 -18
- data/lib/generated/azure_mgmt_web/version.rb +2 -2
- data/lib/generated/azure_mgmt_web/web_apps.rb +2026 -956
- data/lib/generated/azure_mgmt_web/web_site_management_client.rb +113 -91
- metadata +13 -6
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
6
6
|
module Azure::ARM::Web
|
|
7
7
|
#
|
|
8
|
-
#
|
|
8
|
+
# WebSite Management Client
|
|
9
9
|
#
|
|
10
10
|
class AppServiceEnvironments
|
|
11
|
-
include Azure::ARM::Web::Models
|
|
12
11
|
include MsRestAzure
|
|
13
12
|
|
|
14
13
|
#
|
|
@@ -71,7 +70,7 @@ module Azure::ARM::Web
|
|
|
71
70
|
# Set Headers
|
|
72
71
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
73
72
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
74
|
-
path_template = '
|
|
73
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments'
|
|
75
74
|
|
|
76
75
|
request_url = @base_url || @client.base_url
|
|
77
76
|
|
|
@@ -98,8 +97,8 @@ module Azure::ARM::Web
|
|
|
98
97
|
if status_code == 200
|
|
99
98
|
begin
|
|
100
99
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
101
|
-
result_mapper = AppServiceEnvironmentCollection.mapper()
|
|
102
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
100
|
+
result_mapper = Azure::ARM::Web::Models::AppServiceEnvironmentCollection.mapper()
|
|
101
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
103
102
|
rescue Exception => e
|
|
104
103
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
105
104
|
end
|
|
@@ -167,7 +166,7 @@ module Azure::ARM::Web
|
|
|
167
166
|
# Set Headers
|
|
168
167
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
169
168
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
170
|
-
path_template = '
|
|
169
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments'
|
|
171
170
|
|
|
172
171
|
request_url = @base_url || @client.base_url
|
|
173
172
|
|
|
@@ -194,8 +193,8 @@ module Azure::ARM::Web
|
|
|
194
193
|
if status_code == 200
|
|
195
194
|
begin
|
|
196
195
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
197
|
-
result_mapper = AppServiceEnvironmentCollection.mapper()
|
|
198
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
196
|
+
result_mapper = Azure::ARM::Web::Models::AppServiceEnvironmentCollection.mapper()
|
|
197
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
199
198
|
rescue Exception => e
|
|
200
199
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
201
200
|
end
|
|
@@ -218,7 +217,7 @@ module Azure::ARM::Web
|
|
|
218
217
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
219
218
|
# will be added to the HTTP request.
|
|
220
219
|
#
|
|
221
|
-
# @return [
|
|
220
|
+
# @return [AppServiceEnvironmentResource] operation results.
|
|
222
221
|
#
|
|
223
222
|
def get(resource_group_name, name, custom_headers = nil)
|
|
224
223
|
response = get_async(resource_group_name, name, custom_headers).value!
|
|
@@ -267,7 +266,7 @@ module Azure::ARM::Web
|
|
|
267
266
|
# Set Headers
|
|
268
267
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
269
268
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
270
|
-
path_template = '
|
|
269
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}'
|
|
271
270
|
|
|
272
271
|
request_url = @base_url || @client.base_url
|
|
273
272
|
|
|
@@ -294,8 +293,8 @@ module Azure::ARM::Web
|
|
|
294
293
|
if status_code == 200
|
|
295
294
|
begin
|
|
296
295
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
297
|
-
result_mapper =
|
|
298
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
296
|
+
result_mapper = Azure::ARM::Web::Models::AppServiceEnvironmentResource.mapper()
|
|
297
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
299
298
|
rescue Exception => e
|
|
300
299
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
301
300
|
end
|
|
@@ -315,12 +314,12 @@ module Azure::ARM::Web
|
|
|
315
314
|
# @param resource_group_name [String] Name of the resource group to which the
|
|
316
315
|
# resource belongs.
|
|
317
316
|
# @param name [String] Name of the App Service Environment.
|
|
318
|
-
# @param hosting_environment_envelope [
|
|
319
|
-
# details of the App Service Environment.
|
|
317
|
+
# @param hosting_environment_envelope [AppServiceEnvironmentResource]
|
|
318
|
+
# Configuration details of the App Service Environment.
|
|
320
319
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
321
320
|
# will be added to the HTTP request.
|
|
322
321
|
#
|
|
323
|
-
# @return [
|
|
322
|
+
# @return [AppServiceEnvironmentResource] operation results.
|
|
324
323
|
#
|
|
325
324
|
def create_or_update(resource_group_name, name, hosting_environment_envelope, custom_headers = nil)
|
|
326
325
|
response = create_or_update_async(resource_group_name, name, hosting_environment_envelope, custom_headers).value!
|
|
@@ -331,8 +330,8 @@ module Azure::ARM::Web
|
|
|
331
330
|
# @param resource_group_name [String] Name of the resource group to which the
|
|
332
331
|
# resource belongs.
|
|
333
332
|
# @param name [String] Name of the App Service Environment.
|
|
334
|
-
# @param hosting_environment_envelope [
|
|
335
|
-
# details of the App Service Environment.
|
|
333
|
+
# @param hosting_environment_envelope [AppServiceEnvironmentResource]
|
|
334
|
+
# Configuration details of the App Service Environment.
|
|
336
335
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
337
336
|
# will be added to the HTTP request.
|
|
338
337
|
#
|
|
@@ -346,8 +345,8 @@ module Azure::ARM::Web
|
|
|
346
345
|
promise = promise.then do |response|
|
|
347
346
|
# Defining deserialization method.
|
|
348
347
|
deserialize_method = lambda do |parsed_response|
|
|
349
|
-
result_mapper =
|
|
350
|
-
parsed_response = @client.deserialize(result_mapper, parsed_response
|
|
348
|
+
result_mapper = Azure::ARM::Web::Models::AppServiceEnvironmentResource.mapper()
|
|
349
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
|
351
350
|
end
|
|
352
351
|
|
|
353
352
|
# Waiting for response.
|
|
@@ -471,7 +470,7 @@ module Azure::ARM::Web
|
|
|
471
470
|
# Set Headers
|
|
472
471
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
473
472
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
474
|
-
path_template = '
|
|
473
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute'
|
|
475
474
|
|
|
476
475
|
request_url = @base_url || @client.base_url
|
|
477
476
|
|
|
@@ -498,8 +497,8 @@ module Azure::ARM::Web
|
|
|
498
497
|
if status_code == 200
|
|
499
498
|
begin
|
|
500
499
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
501
|
-
result_mapper = StampCapacityCollection.mapper()
|
|
502
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
500
|
+
result_mapper = Azure::ARM::Web::Models::StampCapacityCollection.mapper()
|
|
501
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
503
502
|
rescue Exception => e
|
|
504
503
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
505
504
|
end
|
|
@@ -571,7 +570,7 @@ module Azure::ARM::Web
|
|
|
571
570
|
# Set Headers
|
|
572
571
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
573
572
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
574
|
-
path_template = '
|
|
573
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip'
|
|
575
574
|
|
|
576
575
|
request_url = @base_url || @client.base_url
|
|
577
576
|
|
|
@@ -598,8 +597,8 @@ module Azure::ARM::Web
|
|
|
598
597
|
if status_code == 200
|
|
599
598
|
begin
|
|
600
599
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
601
|
-
result_mapper = AddressResponse.mapper()
|
|
602
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
600
|
+
result_mapper = Azure::ARM::Web::Models::AddressResponse.mapper()
|
|
601
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
603
602
|
rescue Exception => e
|
|
604
603
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
605
604
|
end
|
|
@@ -671,7 +670,7 @@ module Azure::ARM::Web
|
|
|
671
670
|
# Set Headers
|
|
672
671
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
673
672
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
674
|
-
path_template = '
|
|
673
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics'
|
|
675
674
|
|
|
676
675
|
request_url = @base_url || @client.base_url
|
|
677
676
|
|
|
@@ -713,7 +712,7 @@ module Azure::ARM::Web
|
|
|
713
712
|
}
|
|
714
713
|
}
|
|
715
714
|
}
|
|
716
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
715
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
717
716
|
rescue Exception => e
|
|
718
717
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
719
718
|
end
|
|
@@ -789,7 +788,7 @@ module Azure::ARM::Web
|
|
|
789
788
|
# Set Headers
|
|
790
789
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
791
790
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
792
|
-
path_template = '
|
|
791
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}'
|
|
793
792
|
|
|
794
793
|
request_url = @base_url || @client.base_url
|
|
795
794
|
|
|
@@ -816,8 +815,8 @@ module Azure::ARM::Web
|
|
|
816
815
|
if status_code == 200
|
|
817
816
|
begin
|
|
818
817
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
819
|
-
result_mapper = HostingEnvironmentDiagnostics.mapper()
|
|
820
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
818
|
+
result_mapper = Azure::ARM::Web::Models::HostingEnvironmentDiagnostics.mapper()
|
|
819
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
821
820
|
rescue Exception => e
|
|
822
821
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
823
822
|
end
|
|
@@ -889,7 +888,7 @@ module Azure::ARM::Web
|
|
|
889
888
|
# Set Headers
|
|
890
889
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
891
890
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
892
|
-
path_template = '
|
|
891
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions'
|
|
893
892
|
|
|
894
893
|
request_url = @base_url || @client.base_url
|
|
895
894
|
|
|
@@ -916,8 +915,8 @@ module Azure::ARM::Web
|
|
|
916
915
|
if status_code == 200
|
|
917
916
|
begin
|
|
918
917
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
919
|
-
result_mapper = MetricDefinition.mapper()
|
|
920
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
918
|
+
result_mapper = Azure::ARM::Web::Models::MetricDefinition.mapper()
|
|
919
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
921
920
|
rescue Exception => e
|
|
922
921
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
923
922
|
end
|
|
@@ -1007,7 +1006,7 @@ module Azure::ARM::Web
|
|
|
1007
1006
|
# Set Headers
|
|
1008
1007
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
1009
1008
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
1010
|
-
path_template = '
|
|
1009
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metrics'
|
|
1011
1010
|
|
|
1012
1011
|
request_url = @base_url || @client.base_url
|
|
1013
1012
|
|
|
@@ -1035,8 +1034,8 @@ module Azure::ARM::Web
|
|
|
1035
1034
|
if status_code == 200
|
|
1036
1035
|
begin
|
|
1037
1036
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
1038
|
-
result_mapper = ResourceMetricCollection.mapper()
|
|
1039
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
1037
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricCollection.mapper()
|
|
1038
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1040
1039
|
rescue Exception => e
|
|
1041
1040
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
1042
1041
|
end
|
|
@@ -1059,7 +1058,7 @@ module Azure::ARM::Web
|
|
|
1059
1058
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1060
1059
|
# will be added to the HTTP request.
|
|
1061
1060
|
#
|
|
1062
|
-
# @return [Array<
|
|
1061
|
+
# @return [Array<WorkerPoolResource>] operation results.
|
|
1063
1062
|
#
|
|
1064
1063
|
def list_multi_role_pools(resource_group_name, name, custom_headers = nil)
|
|
1065
1064
|
first_page = list_multi_role_pools_as_lazy(resource_group_name, name, custom_headers)
|
|
@@ -1108,7 +1107,7 @@ module Azure::ARM::Web
|
|
|
1108
1107
|
# Set Headers
|
|
1109
1108
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
1110
1109
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
1111
|
-
path_template = '
|
|
1110
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools'
|
|
1112
1111
|
|
|
1113
1112
|
request_url = @base_url || @client.base_url
|
|
1114
1113
|
|
|
@@ -1135,8 +1134,8 @@ module Azure::ARM::Web
|
|
|
1135
1134
|
if status_code == 200
|
|
1136
1135
|
begin
|
|
1137
1136
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
1138
|
-
result_mapper = WorkerPoolCollection.mapper()
|
|
1139
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
1137
|
+
result_mapper = Azure::ARM::Web::Models::WorkerPoolCollection.mapper()
|
|
1138
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1140
1139
|
rescue Exception => e
|
|
1141
1140
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
1142
1141
|
end
|
|
@@ -1159,7 +1158,7 @@ module Azure::ARM::Web
|
|
|
1159
1158
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1160
1159
|
# will be added to the HTTP request.
|
|
1161
1160
|
#
|
|
1162
|
-
# @return [
|
|
1161
|
+
# @return [WorkerPoolResource] operation results.
|
|
1163
1162
|
#
|
|
1164
1163
|
def get_multi_role_pool(resource_group_name, name, custom_headers = nil)
|
|
1165
1164
|
response = get_multi_role_pool_async(resource_group_name, name, custom_headers).value!
|
|
@@ -1208,7 +1207,7 @@ module Azure::ARM::Web
|
|
|
1208
1207
|
# Set Headers
|
|
1209
1208
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
1210
1209
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
1211
|
-
path_template = '
|
|
1210
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default'
|
|
1212
1211
|
|
|
1213
1212
|
request_url = @base_url || @client.base_url
|
|
1214
1213
|
|
|
@@ -1235,8 +1234,8 @@ module Azure::ARM::Web
|
|
|
1235
1234
|
if status_code == 200
|
|
1236
1235
|
begin
|
|
1237
1236
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
1238
|
-
result_mapper =
|
|
1239
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
1237
|
+
result_mapper = Azure::ARM::Web::Models::WorkerPoolResource.mapper()
|
|
1238
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1240
1239
|
rescue Exception => e
|
|
1241
1240
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
1242
1241
|
end
|
|
@@ -1256,12 +1255,12 @@ module Azure::ARM::Web
|
|
|
1256
1255
|
# @param resource_group_name [String] Name of the resource group to which the
|
|
1257
1256
|
# resource belongs.
|
|
1258
1257
|
# @param name [String] Name of the App Service Environment.
|
|
1259
|
-
# @param multi_role_pool_envelope [
|
|
1260
|
-
# pool.
|
|
1258
|
+
# @param multi_role_pool_envelope [WorkerPoolResource] Properties of the
|
|
1259
|
+
# multi-role pool.
|
|
1261
1260
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1262
1261
|
# will be added to the HTTP request.
|
|
1263
1262
|
#
|
|
1264
|
-
# @return [
|
|
1263
|
+
# @return [WorkerPoolResource] operation results.
|
|
1265
1264
|
#
|
|
1266
1265
|
def create_or_update_multi_role_pool(resource_group_name, name, multi_role_pool_envelope, custom_headers = nil)
|
|
1267
1266
|
response = create_or_update_multi_role_pool_async(resource_group_name, name, multi_role_pool_envelope, custom_headers).value!
|
|
@@ -1272,8 +1271,8 @@ module Azure::ARM::Web
|
|
|
1272
1271
|
# @param resource_group_name [String] Name of the resource group to which the
|
|
1273
1272
|
# resource belongs.
|
|
1274
1273
|
# @param name [String] Name of the App Service Environment.
|
|
1275
|
-
# @param multi_role_pool_envelope [
|
|
1276
|
-
# pool.
|
|
1274
|
+
# @param multi_role_pool_envelope [WorkerPoolResource] Properties of the
|
|
1275
|
+
# multi-role pool.
|
|
1277
1276
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
1278
1277
|
# will be added to the HTTP request.
|
|
1279
1278
|
#
|
|
@@ -1287,8 +1286,8 @@ module Azure::ARM::Web
|
|
|
1287
1286
|
promise = promise.then do |response|
|
|
1288
1287
|
# Defining deserialization method.
|
|
1289
1288
|
deserialize_method = lambda do |parsed_response|
|
|
1290
|
-
result_mapper =
|
|
1291
|
-
parsed_response = @client.deserialize(result_mapper, parsed_response
|
|
1289
|
+
result_mapper = Azure::ARM::Web::Models::WorkerPoolResource.mapper()
|
|
1290
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
|
1292
1291
|
end
|
|
1293
1292
|
|
|
1294
1293
|
# Waiting for response.
|
|
@@ -1368,7 +1367,7 @@ module Azure::ARM::Web
|
|
|
1368
1367
|
# Set Headers
|
|
1369
1368
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
1370
1369
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
1371
|
-
path_template = '
|
|
1370
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions'
|
|
1372
1371
|
|
|
1373
1372
|
request_url = @base_url || @client.base_url
|
|
1374
1373
|
|
|
@@ -1395,8 +1394,8 @@ module Azure::ARM::Web
|
|
|
1395
1394
|
if status_code == 200
|
|
1396
1395
|
begin
|
|
1397
1396
|
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
|
|
1397
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricDefinitionCollection.mapper()
|
|
1398
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1400
1399
|
rescue Exception => e
|
|
1401
1400
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
1402
1401
|
end
|
|
@@ -1484,7 +1483,7 @@ module Azure::ARM::Web
|
|
|
1484
1483
|
# Set Headers
|
|
1485
1484
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
1486
1485
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
1487
|
-
path_template = '
|
|
1486
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}metrics'
|
|
1488
1487
|
|
|
1489
1488
|
request_url = @base_url || @client.base_url
|
|
1490
1489
|
|
|
@@ -1511,8 +1510,8 @@ module Azure::ARM::Web
|
|
|
1511
1510
|
if status_code == 200
|
|
1512
1511
|
begin
|
|
1513
1512
|
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
|
|
1513
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricCollection.mapper()
|
|
1514
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1516
1515
|
rescue Exception => e
|
|
1517
1516
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
1518
1517
|
end
|
|
@@ -1584,7 +1583,7 @@ module Azure::ARM::Web
|
|
|
1584
1583
|
# Set Headers
|
|
1585
1584
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
1586
1585
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
1587
|
-
path_template = '
|
|
1586
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions'
|
|
1588
1587
|
|
|
1589
1588
|
request_url = @base_url || @client.base_url
|
|
1590
1589
|
|
|
@@ -1611,8 +1610,8 @@ module Azure::ARM::Web
|
|
|
1611
1610
|
if status_code == 200
|
|
1612
1611
|
begin
|
|
1613
1612
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
1614
|
-
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
|
1615
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
1613
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricDefinitionCollection.mapper()
|
|
1614
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1616
1615
|
rescue Exception => e
|
|
1617
1616
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
1618
1617
|
end
|
|
@@ -1711,7 +1710,7 @@ module Azure::ARM::Web
|
|
|
1711
1710
|
# Set Headers
|
|
1712
1711
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
1713
1712
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
1714
|
-
path_template = '
|
|
1713
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metrics'
|
|
1715
1714
|
|
|
1716
1715
|
request_url = @base_url || @client.base_url
|
|
1717
1716
|
|
|
@@ -1739,8 +1738,8 @@ module Azure::ARM::Web
|
|
|
1739
1738
|
if status_code == 200
|
|
1740
1739
|
begin
|
|
1741
1740
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
1742
|
-
result_mapper = ResourceMetricCollection.mapper()
|
|
1743
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
1741
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricCollection.mapper()
|
|
1742
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1744
1743
|
rescue Exception => e
|
|
1745
1744
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
1746
1745
|
end
|
|
@@ -1812,7 +1811,7 @@ module Azure::ARM::Web
|
|
|
1812
1811
|
# Set Headers
|
|
1813
1812
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
1814
1813
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
1815
|
-
path_template = '
|
|
1814
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus'
|
|
1816
1815
|
|
|
1817
1816
|
request_url = @base_url || @client.base_url
|
|
1818
1817
|
|
|
@@ -1839,8 +1838,8 @@ module Azure::ARM::Web
|
|
|
1839
1838
|
if status_code == 200
|
|
1840
1839
|
begin
|
|
1841
1840
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
1842
|
-
result_mapper = SkuInfoCollection.mapper()
|
|
1843
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
1841
|
+
result_mapper = Azure::ARM::Web::Models::SkuInfoCollection.mapper()
|
|
1842
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1844
1843
|
rescue Exception => e
|
|
1845
1844
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
1846
1845
|
end
|
|
@@ -1912,7 +1911,7 @@ module Azure::ARM::Web
|
|
|
1912
1911
|
# Set Headers
|
|
1913
1912
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
1914
1913
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
1915
|
-
path_template = '
|
|
1914
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages'
|
|
1916
1915
|
|
|
1917
1916
|
request_url = @base_url || @client.base_url
|
|
1918
1917
|
|
|
@@ -1939,8 +1938,8 @@ module Azure::ARM::Web
|
|
|
1939
1938
|
if status_code == 200
|
|
1940
1939
|
begin
|
|
1941
1940
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
1942
|
-
result_mapper = UsageCollection.mapper()
|
|
1943
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
1941
|
+
result_mapper = Azure::ARM::Web::Models::UsageCollection.mapper()
|
|
1942
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1944
1943
|
rescue Exception => e
|
|
1945
1944
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
1946
1945
|
end
|
|
@@ -2012,7 +2011,7 @@ module Azure::ARM::Web
|
|
|
2012
2011
|
# Set Headers
|
|
2013
2012
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
2014
2013
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
2015
|
-
path_template = '
|
|
2014
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations'
|
|
2016
2015
|
|
|
2017
2016
|
request_url = @base_url || @client.base_url
|
|
2018
2017
|
|
|
@@ -2054,7 +2053,7 @@ module Azure::ARM::Web
|
|
|
2054
2053
|
}
|
|
2055
2054
|
}
|
|
2056
2055
|
}
|
|
2057
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
2056
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
2058
2057
|
rescue Exception => e
|
|
2059
2058
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
2060
2059
|
end
|
|
@@ -2125,7 +2124,7 @@ module Azure::ARM::Web
|
|
|
2125
2124
|
# Set Headers
|
|
2126
2125
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
2127
2126
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
2128
|
-
path_template = '
|
|
2127
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot'
|
|
2129
2128
|
|
|
2130
2129
|
request_url = @base_url || @client.base_url
|
|
2131
2130
|
|
|
@@ -2213,8 +2212,8 @@ module Azure::ARM::Web
|
|
|
2213
2212
|
promise = promise.then do |response|
|
|
2214
2213
|
# Defining deserialization method.
|
|
2215
2214
|
deserialize_method = lambda do |parsed_response|
|
|
2216
|
-
result_mapper = WebAppCollection.mapper()
|
|
2217
|
-
parsed_response = @client.deserialize(result_mapper, parsed_response
|
|
2215
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
2216
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
|
2218
2217
|
end
|
|
2219
2218
|
|
|
2220
2219
|
# Waiting for response.
|
|
@@ -2284,7 +2283,7 @@ module Azure::ARM::Web
|
|
|
2284
2283
|
# Set Headers
|
|
2285
2284
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
2286
2285
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
2287
|
-
path_template = '
|
|
2286
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms'
|
|
2288
2287
|
|
|
2289
2288
|
request_url = @base_url || @client.base_url
|
|
2290
2289
|
|
|
@@ -2311,8 +2310,8 @@ module Azure::ARM::Web
|
|
|
2311
2310
|
if status_code == 200
|
|
2312
2311
|
begin
|
|
2313
2312
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
2314
|
-
result_mapper = AppServicePlanCollection.mapper()
|
|
2315
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
2313
|
+
result_mapper = Azure::ARM::Web::Models::AppServicePlanCollection.mapper()
|
|
2314
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
2316
2315
|
rescue Exception => e
|
|
2317
2316
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
2318
2317
|
end
|
|
@@ -2390,7 +2389,7 @@ module Azure::ARM::Web
|
|
|
2390
2389
|
# Set Headers
|
|
2391
2390
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
2392
2391
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
2393
|
-
path_template = '
|
|
2392
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites'
|
|
2394
2393
|
|
|
2395
2394
|
request_url = @base_url || @client.base_url
|
|
2396
2395
|
|
|
@@ -2417,8 +2416,8 @@ module Azure::ARM::Web
|
|
|
2417
2416
|
if status_code == 200
|
|
2418
2417
|
begin
|
|
2419
2418
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
2420
|
-
result_mapper = WebAppCollection.mapper()
|
|
2421
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
2419
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
2420
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
2422
2421
|
rescue Exception => e
|
|
2423
2422
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
2424
2423
|
end
|
|
@@ -2488,8 +2487,8 @@ module Azure::ARM::Web
|
|
|
2488
2487
|
promise = promise.then do |response|
|
|
2489
2488
|
# Defining deserialization method.
|
|
2490
2489
|
deserialize_method = lambda do |parsed_response|
|
|
2491
|
-
result_mapper = WebAppCollection.mapper()
|
|
2492
|
-
parsed_response = @client.deserialize(result_mapper, parsed_response
|
|
2490
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
2491
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
|
2493
2492
|
end
|
|
2494
2493
|
|
|
2495
2494
|
# Waiting for response.
|
|
@@ -2571,7 +2570,7 @@ module Azure::ARM::Web
|
|
|
2571
2570
|
# Set Headers
|
|
2572
2571
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
2573
2572
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
2574
|
-
path_template = '
|
|
2573
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages'
|
|
2575
2574
|
|
|
2576
2575
|
request_url = @base_url || @client.base_url
|
|
2577
2576
|
|
|
@@ -2599,8 +2598,8 @@ module Azure::ARM::Web
|
|
|
2599
2598
|
if status_code == 200
|
|
2600
2599
|
begin
|
|
2601
2600
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
2602
|
-
result_mapper = CsmUsageQuotaCollection.mapper()
|
|
2603
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
2601
|
+
result_mapper = Azure::ARM::Web::Models::CsmUsageQuotaCollection.mapper()
|
|
2602
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
2604
2603
|
rescue Exception => e
|
|
2605
2604
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
2606
2605
|
end
|
|
@@ -2623,7 +2622,7 @@ module Azure::ARM::Web
|
|
|
2623
2622
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
2624
2623
|
# will be added to the HTTP request.
|
|
2625
2624
|
#
|
|
2626
|
-
# @return [Array<
|
|
2625
|
+
# @return [Array<WorkerPoolResource>] operation results.
|
|
2627
2626
|
#
|
|
2628
2627
|
def list_worker_pools(resource_group_name, name, custom_headers = nil)
|
|
2629
2628
|
first_page = list_worker_pools_as_lazy(resource_group_name, name, custom_headers)
|
|
@@ -2672,7 +2671,7 @@ module Azure::ARM::Web
|
|
|
2672
2671
|
# Set Headers
|
|
2673
2672
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
2674
2673
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
2675
|
-
path_template = '
|
|
2674
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools'
|
|
2676
2675
|
|
|
2677
2676
|
request_url = @base_url || @client.base_url
|
|
2678
2677
|
|
|
@@ -2699,8 +2698,8 @@ module Azure::ARM::Web
|
|
|
2699
2698
|
if status_code == 200
|
|
2700
2699
|
begin
|
|
2701
2700
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
2702
|
-
result_mapper = WorkerPoolCollection.mapper()
|
|
2703
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
2701
|
+
result_mapper = Azure::ARM::Web::Models::WorkerPoolCollection.mapper()
|
|
2702
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
2704
2703
|
rescue Exception => e
|
|
2705
2704
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
2706
2705
|
end
|
|
@@ -2724,7 +2723,7 @@ module Azure::ARM::Web
|
|
|
2724
2723
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
2725
2724
|
# will be added to the HTTP request.
|
|
2726
2725
|
#
|
|
2727
|
-
# @return [
|
|
2726
|
+
# @return [WorkerPoolResource] operation results.
|
|
2728
2727
|
#
|
|
2729
2728
|
def get_worker_pool(resource_group_name, name, worker_pool_name, custom_headers = nil)
|
|
2730
2729
|
response = get_worker_pool_async(resource_group_name, name, worker_pool_name, custom_headers).value!
|
|
@@ -2776,7 +2775,7 @@ module Azure::ARM::Web
|
|
|
2776
2775
|
# Set Headers
|
|
2777
2776
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
2778
2777
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
2779
|
-
path_template = '
|
|
2778
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}'
|
|
2780
2779
|
|
|
2781
2780
|
request_url = @base_url || @client.base_url
|
|
2782
2781
|
|
|
@@ -2803,8 +2802,8 @@ module Azure::ARM::Web
|
|
|
2803
2802
|
if status_code == 200
|
|
2804
2803
|
begin
|
|
2805
2804
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
2806
|
-
result_mapper =
|
|
2807
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
2805
|
+
result_mapper = Azure::ARM::Web::Models::WorkerPoolResource.mapper()
|
|
2806
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
2808
2807
|
rescue Exception => e
|
|
2809
2808
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
2810
2809
|
end
|
|
@@ -2825,11 +2824,12 @@ module Azure::ARM::Web
|
|
|
2825
2824
|
# resource belongs.
|
|
2826
2825
|
# @param name [String] Name of the App Service Environment.
|
|
2827
2826
|
# @param worker_pool_name [String] Name of the worker pool.
|
|
2828
|
-
# @param worker_pool_envelope [
|
|
2827
|
+
# @param worker_pool_envelope [WorkerPoolResource] Properties of the worker
|
|
2828
|
+
# pool.
|
|
2829
2829
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
2830
2830
|
# will be added to the HTTP request.
|
|
2831
2831
|
#
|
|
2832
|
-
# @return [
|
|
2832
|
+
# @return [WorkerPoolResource] operation results.
|
|
2833
2833
|
#
|
|
2834
2834
|
def create_or_update_worker_pool(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers = nil)
|
|
2835
2835
|
response = create_or_update_worker_pool_async(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers).value!
|
|
@@ -2841,7 +2841,8 @@ module Azure::ARM::Web
|
|
|
2841
2841
|
# resource belongs.
|
|
2842
2842
|
# @param name [String] Name of the App Service Environment.
|
|
2843
2843
|
# @param worker_pool_name [String] Name of the worker pool.
|
|
2844
|
-
# @param worker_pool_envelope [
|
|
2844
|
+
# @param worker_pool_envelope [WorkerPoolResource] Properties of the worker
|
|
2845
|
+
# pool.
|
|
2845
2846
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
2846
2847
|
# will be added to the HTTP request.
|
|
2847
2848
|
#
|
|
@@ -2855,8 +2856,8 @@ module Azure::ARM::Web
|
|
|
2855
2856
|
promise = promise.then do |response|
|
|
2856
2857
|
# Defining deserialization method.
|
|
2857
2858
|
deserialize_method = lambda do |parsed_response|
|
|
2858
|
-
result_mapper =
|
|
2859
|
-
parsed_response = @client.deserialize(result_mapper, parsed_response
|
|
2859
|
+
result_mapper = Azure::ARM::Web::Models::WorkerPoolResource.mapper()
|
|
2860
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
|
2860
2861
|
end
|
|
2861
2862
|
|
|
2862
2863
|
# Waiting for response.
|
|
@@ -2940,7 +2941,7 @@ module Azure::ARM::Web
|
|
|
2940
2941
|
# Set Headers
|
|
2941
2942
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
2942
2943
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
2943
|
-
path_template = '
|
|
2944
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions'
|
|
2944
2945
|
|
|
2945
2946
|
request_url = @base_url || @client.base_url
|
|
2946
2947
|
|
|
@@ -2967,8 +2968,8 @@ module Azure::ARM::Web
|
|
|
2967
2968
|
if status_code == 200
|
|
2968
2969
|
begin
|
|
2969
2970
|
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
|
|
2971
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricDefinitionCollection.mapper()
|
|
2972
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
2972
2973
|
rescue Exception => e
|
|
2973
2974
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
2974
2975
|
end
|
|
@@ -3072,7 +3073,7 @@ module Azure::ARM::Web
|
|
|
3072
3073
|
# Set Headers
|
|
3073
3074
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
3074
3075
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
3075
|
-
path_template = '
|
|
3076
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}metrics'
|
|
3076
3077
|
|
|
3077
3078
|
request_url = @base_url || @client.base_url
|
|
3078
3079
|
|
|
@@ -3100,8 +3101,8 @@ module Azure::ARM::Web
|
|
|
3100
3101
|
if status_code == 200
|
|
3101
3102
|
begin
|
|
3102
3103
|
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
|
|
3104
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricCollection.mapper()
|
|
3105
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
3105
3106
|
rescue Exception => e
|
|
3106
3107
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
3107
3108
|
end
|
|
@@ -3177,7 +3178,7 @@ module Azure::ARM::Web
|
|
|
3177
3178
|
# Set Headers
|
|
3178
3179
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
3179
3180
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
3180
|
-
path_template = '
|
|
3181
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions'
|
|
3181
3182
|
|
|
3182
3183
|
request_url = @base_url || @client.base_url
|
|
3183
3184
|
|
|
@@ -3204,8 +3205,8 @@ module Azure::ARM::Web
|
|
|
3204
3205
|
if status_code == 200
|
|
3205
3206
|
begin
|
|
3206
3207
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
3207
|
-
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
|
3208
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
3208
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricDefinitionCollection.mapper()
|
|
3209
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
3209
3210
|
rescue Exception => e
|
|
3210
3211
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
3211
3212
|
end
|
|
@@ -3305,7 +3306,7 @@ module Azure::ARM::Web
|
|
|
3305
3306
|
# Set Headers
|
|
3306
3307
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
3307
3308
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
3308
|
-
path_template = '
|
|
3309
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metrics'
|
|
3309
3310
|
|
|
3310
3311
|
request_url = @base_url || @client.base_url
|
|
3311
3312
|
|
|
@@ -3333,8 +3334,8 @@ module Azure::ARM::Web
|
|
|
3333
3334
|
if status_code == 200
|
|
3334
3335
|
begin
|
|
3335
3336
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
3336
|
-
result_mapper = ResourceMetricCollection.mapper()
|
|
3337
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
3337
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricCollection.mapper()
|
|
3338
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
3338
3339
|
rescue Exception => e
|
|
3339
3340
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
3340
3341
|
end
|
|
@@ -3410,7 +3411,7 @@ module Azure::ARM::Web
|
|
|
3410
3411
|
# Set Headers
|
|
3411
3412
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
3412
3413
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
3413
|
-
path_template = '
|
|
3414
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus'
|
|
3414
3415
|
|
|
3415
3416
|
request_url = @base_url || @client.base_url
|
|
3416
3417
|
|
|
@@ -3437,8 +3438,8 @@ module Azure::ARM::Web
|
|
|
3437
3438
|
if status_code == 200
|
|
3438
3439
|
begin
|
|
3439
3440
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
3440
|
-
result_mapper = SkuInfoCollection.mapper()
|
|
3441
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
3441
|
+
result_mapper = Azure::ARM::Web::Models::SkuInfoCollection.mapper()
|
|
3442
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
3442
3443
|
rescue Exception => e
|
|
3443
3444
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
3444
3445
|
end
|
|
@@ -3514,7 +3515,7 @@ module Azure::ARM::Web
|
|
|
3514
3515
|
# Set Headers
|
|
3515
3516
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
3516
3517
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
3517
|
-
path_template = '
|
|
3518
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages'
|
|
3518
3519
|
|
|
3519
3520
|
request_url = @base_url || @client.base_url
|
|
3520
3521
|
|
|
@@ -3541,8 +3542,8 @@ module Azure::ARM::Web
|
|
|
3541
3542
|
if status_code == 200
|
|
3542
3543
|
begin
|
|
3543
3544
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
3544
|
-
result_mapper = UsageCollection.mapper()
|
|
3545
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
3545
|
+
result_mapper = Azure::ARM::Web::Models::UsageCollection.mapper()
|
|
3546
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
3546
3547
|
rescue Exception => e
|
|
3547
3548
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
3548
3549
|
end
|
|
@@ -3562,12 +3563,12 @@ module Azure::ARM::Web
|
|
|
3562
3563
|
# @param resource_group_name [String] Name of the resource group to which the
|
|
3563
3564
|
# resource belongs.
|
|
3564
3565
|
# @param name [String] Name of the App Service Environment.
|
|
3565
|
-
# @param hosting_environment_envelope [
|
|
3566
|
-
# details of the App Service Environment.
|
|
3566
|
+
# @param hosting_environment_envelope [AppServiceEnvironmentResource]
|
|
3567
|
+
# Configuration details of the App Service Environment.
|
|
3567
3568
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
3568
3569
|
# will be added to the HTTP request.
|
|
3569
3570
|
#
|
|
3570
|
-
# @return [
|
|
3571
|
+
# @return [AppServiceEnvironmentResource] operation results.
|
|
3571
3572
|
#
|
|
3572
3573
|
def begin_create_or_update(resource_group_name, name, hosting_environment_envelope, custom_headers = nil)
|
|
3573
3574
|
response = begin_create_or_update_async(resource_group_name, name, hosting_environment_envelope, custom_headers).value!
|
|
@@ -3582,8 +3583,8 @@ module Azure::ARM::Web
|
|
|
3582
3583
|
# @param resource_group_name [String] Name of the resource group to which the
|
|
3583
3584
|
# resource belongs.
|
|
3584
3585
|
# @param name [String] Name of the App Service Environment.
|
|
3585
|
-
# @param hosting_environment_envelope [
|
|
3586
|
-
# details of the App Service Environment.
|
|
3586
|
+
# @param hosting_environment_envelope [AppServiceEnvironmentResource]
|
|
3587
|
+
# Configuration details of the App Service Environment.
|
|
3587
3588
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
3588
3589
|
# will be added to the HTTP request.
|
|
3589
3590
|
#
|
|
@@ -3601,8 +3602,8 @@ module Azure::ARM::Web
|
|
|
3601
3602
|
# @param resource_group_name [String] Name of the resource group to which the
|
|
3602
3603
|
# resource belongs.
|
|
3603
3604
|
# @param name [String] Name of the App Service Environment.
|
|
3604
|
-
# @param hosting_environment_envelope [
|
|
3605
|
-
# details of the App Service Environment.
|
|
3605
|
+
# @param hosting_environment_envelope [AppServiceEnvironmentResource]
|
|
3606
|
+
# Configuration details of the App Service Environment.
|
|
3606
3607
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
3607
3608
|
# to the HTTP request.
|
|
3608
3609
|
#
|
|
@@ -3625,11 +3626,11 @@ module Azure::ARM::Web
|
|
|
3625
3626
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
3626
3627
|
|
|
3627
3628
|
# Serialize Request
|
|
3628
|
-
request_mapper =
|
|
3629
|
-
request_content = @client.serialize(request_mapper, hosting_environment_envelope
|
|
3629
|
+
request_mapper = Azure::ARM::Web::Models::AppServiceEnvironmentResource.mapper()
|
|
3630
|
+
request_content = @client.serialize(request_mapper, hosting_environment_envelope)
|
|
3630
3631
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
|
3631
3632
|
|
|
3632
|
-
path_template = '
|
|
3633
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}'
|
|
3633
3634
|
|
|
3634
3635
|
request_url = @base_url || @client.base_url
|
|
3635
3636
|
|
|
@@ -3657,8 +3658,8 @@ module Azure::ARM::Web
|
|
|
3657
3658
|
if status_code == 200
|
|
3658
3659
|
begin
|
|
3659
3660
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
3660
|
-
result_mapper =
|
|
3661
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
3661
|
+
result_mapper = Azure::ARM::Web::Models::AppServiceEnvironmentResource.mapper()
|
|
3662
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
3662
3663
|
rescue Exception => e
|
|
3663
3664
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
3664
3665
|
end
|
|
@@ -3667,8 +3668,8 @@ module Azure::ARM::Web
|
|
|
3667
3668
|
if status_code == 202
|
|
3668
3669
|
begin
|
|
3669
3670
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
3670
|
-
result_mapper =
|
|
3671
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
3671
|
+
result_mapper = Azure::ARM::Web::Models::AppServiceEnvironmentResource.mapper()
|
|
3672
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
3672
3673
|
rescue Exception => e
|
|
3673
3674
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
3674
3675
|
end
|
|
@@ -3748,7 +3749,7 @@ module Azure::ARM::Web
|
|
|
3748
3749
|
# Set Headers
|
|
3749
3750
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
3750
3751
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
3751
|
-
path_template = '
|
|
3752
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}'
|
|
3752
3753
|
|
|
3753
3754
|
request_url = @base_url || @client.base_url
|
|
3754
3755
|
|
|
@@ -3786,12 +3787,12 @@ module Azure::ARM::Web
|
|
|
3786
3787
|
# @param resource_group_name [String] Name of the resource group to which the
|
|
3787
3788
|
# resource belongs.
|
|
3788
3789
|
# @param name [String] Name of the App Service Environment.
|
|
3789
|
-
# @param multi_role_pool_envelope [
|
|
3790
|
-
# pool.
|
|
3790
|
+
# @param multi_role_pool_envelope [WorkerPoolResource] Properties of the
|
|
3791
|
+
# multi-role pool.
|
|
3791
3792
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
3792
3793
|
# will be added to the HTTP request.
|
|
3793
3794
|
#
|
|
3794
|
-
# @return [
|
|
3795
|
+
# @return [WorkerPoolResource] operation results.
|
|
3795
3796
|
#
|
|
3796
3797
|
def begin_create_or_update_multi_role_pool(resource_group_name, name, multi_role_pool_envelope, custom_headers = nil)
|
|
3797
3798
|
response = begin_create_or_update_multi_role_pool_async(resource_group_name, name, multi_role_pool_envelope, custom_headers).value!
|
|
@@ -3806,8 +3807,8 @@ module Azure::ARM::Web
|
|
|
3806
3807
|
# @param resource_group_name [String] Name of the resource group to which the
|
|
3807
3808
|
# resource belongs.
|
|
3808
3809
|
# @param name [String] Name of the App Service Environment.
|
|
3809
|
-
# @param multi_role_pool_envelope [
|
|
3810
|
-
# pool.
|
|
3810
|
+
# @param multi_role_pool_envelope [WorkerPoolResource] Properties of the
|
|
3811
|
+
# multi-role pool.
|
|
3811
3812
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
3812
3813
|
# will be added to the HTTP request.
|
|
3813
3814
|
#
|
|
@@ -3825,8 +3826,8 @@ module Azure::ARM::Web
|
|
|
3825
3826
|
# @param resource_group_name [String] Name of the resource group to which the
|
|
3826
3827
|
# resource belongs.
|
|
3827
3828
|
# @param name [String] Name of the App Service Environment.
|
|
3828
|
-
# @param multi_role_pool_envelope [
|
|
3829
|
-
# pool.
|
|
3829
|
+
# @param multi_role_pool_envelope [WorkerPoolResource] Properties of the
|
|
3830
|
+
# multi-role pool.
|
|
3830
3831
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
3831
3832
|
# to the HTTP request.
|
|
3832
3833
|
#
|
|
@@ -3849,11 +3850,11 @@ module Azure::ARM::Web
|
|
|
3849
3850
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
3850
3851
|
|
|
3851
3852
|
# Serialize Request
|
|
3852
|
-
request_mapper =
|
|
3853
|
-
request_content = @client.serialize(request_mapper, multi_role_pool_envelope
|
|
3853
|
+
request_mapper = Azure::ARM::Web::Models::WorkerPoolResource.mapper()
|
|
3854
|
+
request_content = @client.serialize(request_mapper, multi_role_pool_envelope)
|
|
3854
3855
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
|
3855
3856
|
|
|
3856
|
-
path_template = '
|
|
3857
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default'
|
|
3857
3858
|
|
|
3858
3859
|
request_url = @base_url || @client.base_url
|
|
3859
3860
|
|
|
@@ -3881,8 +3882,8 @@ module Azure::ARM::Web
|
|
|
3881
3882
|
if status_code == 200
|
|
3882
3883
|
begin
|
|
3883
3884
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
3884
|
-
result_mapper =
|
|
3885
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
3885
|
+
result_mapper = Azure::ARM::Web::Models::WorkerPoolResource.mapper()
|
|
3886
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
3886
3887
|
rescue Exception => e
|
|
3887
3888
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
3888
3889
|
end
|
|
@@ -3891,8 +3892,8 @@ module Azure::ARM::Web
|
|
|
3891
3892
|
if status_code == 202
|
|
3892
3893
|
begin
|
|
3893
3894
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
3894
|
-
result_mapper =
|
|
3895
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
3895
|
+
result_mapper = Azure::ARM::Web::Models::WorkerPoolResource.mapper()
|
|
3896
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
3896
3897
|
rescue Exception => e
|
|
3897
3898
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
3898
3899
|
end
|
|
@@ -3964,7 +3965,7 @@ module Azure::ARM::Web
|
|
|
3964
3965
|
# Set Headers
|
|
3965
3966
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
3966
3967
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
3967
|
-
path_template = '
|
|
3968
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume'
|
|
3968
3969
|
|
|
3969
3970
|
request_url = @base_url || @client.base_url
|
|
3970
3971
|
|
|
@@ -3991,8 +3992,8 @@ module Azure::ARM::Web
|
|
|
3991
3992
|
if status_code == 200
|
|
3992
3993
|
begin
|
|
3993
3994
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
3994
|
-
result_mapper = WebAppCollection.mapper()
|
|
3995
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
3995
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
3996
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
3996
3997
|
rescue Exception => e
|
|
3997
3998
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
3998
3999
|
end
|
|
@@ -4001,8 +4002,8 @@ module Azure::ARM::Web
|
|
|
4001
4002
|
if status_code == 202
|
|
4002
4003
|
begin
|
|
4003
4004
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
4004
|
-
result_mapper = WebAppCollection.mapper()
|
|
4005
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
4005
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
4006
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
4006
4007
|
rescue Exception => e
|
|
4007
4008
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
4008
4009
|
end
|
|
@@ -4074,7 +4075,7 @@ module Azure::ARM::Web
|
|
|
4074
4075
|
# Set Headers
|
|
4075
4076
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
4076
4077
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
4077
|
-
path_template = '
|
|
4078
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend'
|
|
4078
4079
|
|
|
4079
4080
|
request_url = @base_url || @client.base_url
|
|
4080
4081
|
|
|
@@ -4101,8 +4102,8 @@ module Azure::ARM::Web
|
|
|
4101
4102
|
if status_code == 200
|
|
4102
4103
|
begin
|
|
4103
4104
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
4104
|
-
result_mapper = WebAppCollection.mapper()
|
|
4105
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
4105
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
4106
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
4106
4107
|
rescue Exception => e
|
|
4107
4108
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
4108
4109
|
end
|
|
@@ -4111,8 +4112,8 @@ module Azure::ARM::Web
|
|
|
4111
4112
|
if status_code == 202
|
|
4112
4113
|
begin
|
|
4113
4114
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
4114
|
-
result_mapper = WebAppCollection.mapper()
|
|
4115
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
4115
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
4116
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
4116
4117
|
rescue Exception => e
|
|
4117
4118
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
4118
4119
|
end
|
|
@@ -4133,11 +4134,12 @@ module Azure::ARM::Web
|
|
|
4133
4134
|
# resource belongs.
|
|
4134
4135
|
# @param name [String] Name of the App Service Environment.
|
|
4135
4136
|
# @param worker_pool_name [String] Name of the worker pool.
|
|
4136
|
-
# @param worker_pool_envelope [
|
|
4137
|
+
# @param worker_pool_envelope [WorkerPoolResource] Properties of the worker
|
|
4138
|
+
# pool.
|
|
4137
4139
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
4138
4140
|
# will be added to the HTTP request.
|
|
4139
4141
|
#
|
|
4140
|
-
# @return [
|
|
4142
|
+
# @return [WorkerPoolResource] operation results.
|
|
4141
4143
|
#
|
|
4142
4144
|
def begin_create_or_update_worker_pool(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers = nil)
|
|
4143
4145
|
response = begin_create_or_update_worker_pool_async(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers).value!
|
|
@@ -4153,7 +4155,8 @@ module Azure::ARM::Web
|
|
|
4153
4155
|
# resource belongs.
|
|
4154
4156
|
# @param name [String] Name of the App Service Environment.
|
|
4155
4157
|
# @param worker_pool_name [String] Name of the worker pool.
|
|
4156
|
-
# @param worker_pool_envelope [
|
|
4158
|
+
# @param worker_pool_envelope [WorkerPoolResource] Properties of the worker
|
|
4159
|
+
# pool.
|
|
4157
4160
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
4158
4161
|
# will be added to the HTTP request.
|
|
4159
4162
|
#
|
|
@@ -4172,7 +4175,8 @@ module Azure::ARM::Web
|
|
|
4172
4175
|
# resource belongs.
|
|
4173
4176
|
# @param name [String] Name of the App Service Environment.
|
|
4174
4177
|
# @param worker_pool_name [String] Name of the worker pool.
|
|
4175
|
-
# @param worker_pool_envelope [
|
|
4178
|
+
# @param worker_pool_envelope [WorkerPoolResource] Properties of the worker
|
|
4179
|
+
# pool.
|
|
4176
4180
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
4177
4181
|
# to the HTTP request.
|
|
4178
4182
|
#
|
|
@@ -4196,11 +4200,11 @@ module Azure::ARM::Web
|
|
|
4196
4200
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
4197
4201
|
|
|
4198
4202
|
# Serialize Request
|
|
4199
|
-
request_mapper =
|
|
4200
|
-
request_content = @client.serialize(request_mapper, worker_pool_envelope
|
|
4203
|
+
request_mapper = Azure::ARM::Web::Models::WorkerPoolResource.mapper()
|
|
4204
|
+
request_content = @client.serialize(request_mapper, worker_pool_envelope)
|
|
4201
4205
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
|
4202
4206
|
|
|
4203
|
-
path_template = '
|
|
4207
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}'
|
|
4204
4208
|
|
|
4205
4209
|
request_url = @base_url || @client.base_url
|
|
4206
4210
|
|
|
@@ -4228,8 +4232,8 @@ module Azure::ARM::Web
|
|
|
4228
4232
|
if status_code == 200
|
|
4229
4233
|
begin
|
|
4230
4234
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
4231
|
-
result_mapper =
|
|
4232
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
4235
|
+
result_mapper = Azure::ARM::Web::Models::WorkerPoolResource.mapper()
|
|
4236
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
4233
4237
|
rescue Exception => e
|
|
4234
4238
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
4235
4239
|
end
|
|
@@ -4238,8 +4242,8 @@ module Azure::ARM::Web
|
|
|
4238
4242
|
if status_code == 202
|
|
4239
4243
|
begin
|
|
4240
4244
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
4241
|
-
result_mapper =
|
|
4242
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
4245
|
+
result_mapper = Azure::ARM::Web::Models::WorkerPoolResource.mapper()
|
|
4246
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
4243
4247
|
rescue Exception => e
|
|
4244
4248
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
4245
4249
|
end
|
|
@@ -4331,8 +4335,8 @@ module Azure::ARM::Web
|
|
|
4331
4335
|
if status_code == 200
|
|
4332
4336
|
begin
|
|
4333
4337
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
4334
|
-
result_mapper = AppServiceEnvironmentCollection.mapper()
|
|
4335
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
4338
|
+
result_mapper = Azure::ARM::Web::Models::AppServiceEnvironmentCollection.mapper()
|
|
4339
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
4336
4340
|
rescue Exception => e
|
|
4337
4341
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
4338
4342
|
end
|
|
@@ -4424,8 +4428,8 @@ module Azure::ARM::Web
|
|
|
4424
4428
|
if status_code == 200
|
|
4425
4429
|
begin
|
|
4426
4430
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
4427
|
-
result_mapper = AppServiceEnvironmentCollection.mapper()
|
|
4428
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
4431
|
+
result_mapper = Azure::ARM::Web::Models::AppServiceEnvironmentCollection.mapper()
|
|
4432
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
4429
4433
|
rescue Exception => e
|
|
4430
4434
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
4431
4435
|
end
|
|
@@ -4523,8 +4527,8 @@ module Azure::ARM::Web
|
|
|
4523
4527
|
if status_code == 200
|
|
4524
4528
|
begin
|
|
4525
4529
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
4526
|
-
result_mapper = StampCapacityCollection.mapper()
|
|
4527
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
4530
|
+
result_mapper = Azure::ARM::Web::Models::StampCapacityCollection.mapper()
|
|
4531
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
4528
4532
|
rescue Exception => e
|
|
4529
4533
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
4530
4534
|
end
|
|
@@ -4616,8 +4620,8 @@ module Azure::ARM::Web
|
|
|
4616
4620
|
if status_code == 200
|
|
4617
4621
|
begin
|
|
4618
4622
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
4619
|
-
result_mapper = ResourceMetricCollection.mapper()
|
|
4620
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
4623
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricCollection.mapper()
|
|
4624
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
4621
4625
|
rescue Exception => e
|
|
4622
4626
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
4623
4627
|
end
|
|
@@ -4709,8 +4713,8 @@ module Azure::ARM::Web
|
|
|
4709
4713
|
if status_code == 200
|
|
4710
4714
|
begin
|
|
4711
4715
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
4712
|
-
result_mapper = WorkerPoolCollection.mapper()
|
|
4713
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
4716
|
+
result_mapper = Azure::ARM::Web::Models::WorkerPoolCollection.mapper()
|
|
4717
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
4714
4718
|
rescue Exception => e
|
|
4715
4719
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
4716
4720
|
end
|
|
@@ -4808,8 +4812,8 @@ module Azure::ARM::Web
|
|
|
4808
4812
|
if status_code == 200
|
|
4809
4813
|
begin
|
|
4810
4814
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
4811
|
-
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
|
4812
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
4815
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricDefinitionCollection.mapper()
|
|
4816
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
4813
4817
|
rescue Exception => e
|
|
4814
4818
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
4815
4819
|
end
|
|
@@ -4907,8 +4911,8 @@ module Azure::ARM::Web
|
|
|
4907
4911
|
if status_code == 200
|
|
4908
4912
|
begin
|
|
4909
4913
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
4910
|
-
result_mapper = ResourceMetricCollection.mapper()
|
|
4911
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
4914
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricCollection.mapper()
|
|
4915
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
4912
4916
|
rescue Exception => e
|
|
4913
4917
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
4914
4918
|
end
|
|
@@ -5000,8 +5004,8 @@ module Azure::ARM::Web
|
|
|
5000
5004
|
if status_code == 200
|
|
5001
5005
|
begin
|
|
5002
5006
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
5003
|
-
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
|
5004
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
5007
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricDefinitionCollection.mapper()
|
|
5008
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
5005
5009
|
rescue Exception => e
|
|
5006
5010
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
5007
5011
|
end
|
|
@@ -5093,8 +5097,8 @@ module Azure::ARM::Web
|
|
|
5093
5097
|
if status_code == 200
|
|
5094
5098
|
begin
|
|
5095
5099
|
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
|
|
5100
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricCollection.mapper()
|
|
5101
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
5098
5102
|
rescue Exception => e
|
|
5099
5103
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
5100
5104
|
end
|
|
@@ -5186,8 +5190,8 @@ module Azure::ARM::Web
|
|
|
5186
5190
|
if status_code == 200
|
|
5187
5191
|
begin
|
|
5188
5192
|
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
|
|
5193
|
+
result_mapper = Azure::ARM::Web::Models::SkuInfoCollection.mapper()
|
|
5194
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
5191
5195
|
rescue Exception => e
|
|
5192
5196
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
5193
5197
|
end
|
|
@@ -5279,8 +5283,8 @@ module Azure::ARM::Web
|
|
|
5279
5283
|
if status_code == 200
|
|
5280
5284
|
begin
|
|
5281
5285
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
5282
|
-
result_mapper = UsageCollection.mapper()
|
|
5283
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
5286
|
+
result_mapper = Azure::ARM::Web::Models::UsageCollection.mapper()
|
|
5287
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
5284
5288
|
rescue Exception => e
|
|
5285
5289
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
5286
5290
|
end
|
|
@@ -5325,8 +5329,8 @@ module Azure::ARM::Web
|
|
|
5325
5329
|
promise = promise.then do |response|
|
|
5326
5330
|
# Defining deserialization method.
|
|
5327
5331
|
deserialize_method = lambda do |parsed_response|
|
|
5328
|
-
result_mapper = WebAppCollection.mapper()
|
|
5329
|
-
parsed_response = @client.deserialize(result_mapper, parsed_response
|
|
5332
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
5333
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
|
5330
5334
|
end
|
|
5331
5335
|
|
|
5332
5336
|
# Waiting for response.
|
|
@@ -5416,8 +5420,8 @@ module Azure::ARM::Web
|
|
|
5416
5420
|
if status_code == 200
|
|
5417
5421
|
begin
|
|
5418
5422
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
5419
|
-
result_mapper = AppServicePlanCollection.mapper()
|
|
5420
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
5423
|
+
result_mapper = Azure::ARM::Web::Models::AppServicePlanCollection.mapper()
|
|
5424
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
5421
5425
|
rescue Exception => e
|
|
5422
5426
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
5423
5427
|
end
|
|
@@ -5509,8 +5513,8 @@ module Azure::ARM::Web
|
|
|
5509
5513
|
if status_code == 200
|
|
5510
5514
|
begin
|
|
5511
5515
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
5512
|
-
result_mapper = WebAppCollection.mapper()
|
|
5513
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
5516
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
5517
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
5514
5518
|
rescue Exception => e
|
|
5515
5519
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
5516
5520
|
end
|
|
@@ -5555,8 +5559,8 @@ module Azure::ARM::Web
|
|
|
5555
5559
|
promise = promise.then do |response|
|
|
5556
5560
|
# Defining deserialization method.
|
|
5557
5561
|
deserialize_method = lambda do |parsed_response|
|
|
5558
|
-
result_mapper = WebAppCollection.mapper()
|
|
5559
|
-
parsed_response = @client.deserialize(result_mapper, parsed_response
|
|
5562
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
5563
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
|
5560
5564
|
end
|
|
5561
5565
|
|
|
5562
5566
|
# Waiting for response.
|
|
@@ -5646,8 +5650,8 @@ module Azure::ARM::Web
|
|
|
5646
5650
|
if status_code == 200
|
|
5647
5651
|
begin
|
|
5648
5652
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
5649
|
-
result_mapper = CsmUsageQuotaCollection.mapper()
|
|
5650
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
5653
|
+
result_mapper = Azure::ARM::Web::Models::CsmUsageQuotaCollection.mapper()
|
|
5654
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
5651
5655
|
rescue Exception => e
|
|
5652
5656
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
5653
5657
|
end
|
|
@@ -5739,8 +5743,8 @@ module Azure::ARM::Web
|
|
|
5739
5743
|
if status_code == 200
|
|
5740
5744
|
begin
|
|
5741
5745
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
5742
|
-
result_mapper = WorkerPoolCollection.mapper()
|
|
5743
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
5746
|
+
result_mapper = Azure::ARM::Web::Models::WorkerPoolCollection.mapper()
|
|
5747
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
5744
5748
|
rescue Exception => e
|
|
5745
5749
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
5746
5750
|
end
|
|
@@ -5838,8 +5842,8 @@ module Azure::ARM::Web
|
|
|
5838
5842
|
if status_code == 200
|
|
5839
5843
|
begin
|
|
5840
5844
|
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
|
|
5845
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricDefinitionCollection.mapper()
|
|
5846
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
5843
5847
|
rescue Exception => e
|
|
5844
5848
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
5845
5849
|
end
|
|
@@ -5937,8 +5941,8 @@ module Azure::ARM::Web
|
|
|
5937
5941
|
if status_code == 200
|
|
5938
5942
|
begin
|
|
5939
5943
|
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
|
|
5944
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricCollection.mapper()
|
|
5945
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
5942
5946
|
rescue Exception => e
|
|
5943
5947
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
5944
5948
|
end
|
|
@@ -6030,8 +6034,8 @@ module Azure::ARM::Web
|
|
|
6030
6034
|
if status_code == 200
|
|
6031
6035
|
begin
|
|
6032
6036
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
6033
|
-
result_mapper = ResourceMetricDefinitionCollection.mapper()
|
|
6034
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
6037
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricDefinitionCollection.mapper()
|
|
6038
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
6035
6039
|
rescue Exception => e
|
|
6036
6040
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
6037
6041
|
end
|
|
@@ -6129,8 +6133,8 @@ module Azure::ARM::Web
|
|
|
6129
6133
|
if status_code == 200
|
|
6130
6134
|
begin
|
|
6131
6135
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
6132
|
-
result_mapper = ResourceMetricCollection.mapper()
|
|
6133
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
6136
|
+
result_mapper = Azure::ARM::Web::Models::ResourceMetricCollection.mapper()
|
|
6137
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
6134
6138
|
rescue Exception => e
|
|
6135
6139
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
6136
6140
|
end
|
|
@@ -6222,8 +6226,8 @@ module Azure::ARM::Web
|
|
|
6222
6226
|
if status_code == 200
|
|
6223
6227
|
begin
|
|
6224
6228
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
6225
|
-
result_mapper = SkuInfoCollection.mapper()
|
|
6226
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
6229
|
+
result_mapper = Azure::ARM::Web::Models::SkuInfoCollection.mapper()
|
|
6230
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
6227
6231
|
rescue Exception => e
|
|
6228
6232
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
6229
6233
|
end
|
|
@@ -6315,8 +6319,8 @@ module Azure::ARM::Web
|
|
|
6315
6319
|
if status_code == 200
|
|
6316
6320
|
begin
|
|
6317
6321
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
6318
|
-
result_mapper = UsageCollection.mapper()
|
|
6319
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
6322
|
+
result_mapper = Azure::ARM::Web::Models::UsageCollection.mapper()
|
|
6323
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
6320
6324
|
rescue Exception => e
|
|
6321
6325
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
6322
6326
|
end
|
|
@@ -6408,8 +6412,8 @@ module Azure::ARM::Web
|
|
|
6408
6412
|
if status_code == 200
|
|
6409
6413
|
begin
|
|
6410
6414
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
6411
|
-
result_mapper = WebAppCollection.mapper()
|
|
6412
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
6415
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
6416
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
6413
6417
|
rescue Exception => e
|
|
6414
6418
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
6415
6419
|
end
|
|
@@ -6418,8 +6422,8 @@ module Azure::ARM::Web
|
|
|
6418
6422
|
if status_code == 202
|
|
6419
6423
|
begin
|
|
6420
6424
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
6421
|
-
result_mapper = WebAppCollection.mapper()
|
|
6422
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
6425
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
6426
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
6423
6427
|
rescue Exception => e
|
|
6424
6428
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
6425
6429
|
end
|
|
@@ -6511,8 +6515,8 @@ module Azure::ARM::Web
|
|
|
6511
6515
|
if status_code == 200
|
|
6512
6516
|
begin
|
|
6513
6517
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
6514
|
-
result_mapper = WebAppCollection.mapper()
|
|
6515
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
6518
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
6519
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
6516
6520
|
rescue Exception => e
|
|
6517
6521
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
6518
6522
|
end
|
|
@@ -6521,8 +6525,8 @@ module Azure::ARM::Web
|
|
|
6521
6525
|
if status_code == 202
|
|
6522
6526
|
begin
|
|
6523
6527
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
6524
|
-
result_mapper = WebAppCollection.mapper()
|
|
6525
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
6528
|
+
result_mapper = Azure::ARM::Web::Models::WebAppCollection.mapper()
|
|
6529
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
6526
6530
|
rescue Exception => e
|
|
6527
6531
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
6528
6532
|
end
|