azure_mgmt_web 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-04-01/generated/azure_mgmt_web.rb +56 -0
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/domains.rb +50 -50
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/address.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/azure_resource_type.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/contact.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/dns_type.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_availablility_check_result.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_collection.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_control_center_sso_request.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_ownership_identifier.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_purchase_consent.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_status.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_type.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/host_name.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/host_name_type.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/name_identifier.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/name_identifier_collection.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/provisioning_state.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/proxy_only_resource.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/resource.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/tld_legal_agreement.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/tld_legal_agreement_collection.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/top_level_domain.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/top_level_domain_agreement_option.rb +1 -1
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/top_level_domain_collection.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_web/module_definition.rb +9 -0
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/top_level_domains.rb +14 -14
- data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/version.rb +2 -2
- data/lib/2015-04-01/generated/azure_mgmt_web/web_site_management_client.rb +134 -0
- data/lib/2015-08-01/generated/azure_mgmt_web.rb +48 -0
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/app_service_certificate_orders.rb +60 -60
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate_collection.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate_order.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate_order_collection.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate_resource.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_details.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_email.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_order_action.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_order_action_type.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_order_status.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_product_type.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/key_vault_secret_status.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_web/models/name_identifier.rb +44 -0
- data/lib/2015-08-01/generated/azure_mgmt_web/models/provisioning_state.rb +19 -0
- data/lib/2015-08-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +78 -0
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/reissue_certificate_order_request.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/renew_certificate_order_request.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_web/models/resource.rb +104 -0
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/site_seal.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/site_seal_request.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_web/module_definition.rb +9 -0
- data/lib/{generated/azure_mgmt_web/module_definition.rb → 2015-08-01/generated/azure_mgmt_web/version.rb} +3 -3
- data/lib/2015-08-01/generated/azure_mgmt_web/web_site_management_client.rb +130 -0
- data/lib/2016-03-01/generated/azure_mgmt_web.rb +77 -0
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/certificates.rb +23 -23
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/deleted_web_apps.rb +6 -6
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/app_service_plan_restrictions.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/capability.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/certificate.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/certificate_collection.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/channels.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/check_name_resource_types.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_move_resource_envelope.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_operation_collection.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_operation_description.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_operation_description_properties.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_operation_display.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/deleted_site.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/deleted_web_app_collection.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/dimension.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/geo_region.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/geo_region_collection.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/global_csm_sku_description.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/hosting_environment_profile.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/in_availability_reason_type.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb +25 -0
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/metric_availability.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/metric_specification.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/notification_level.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/premier_add_on_offer.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/premier_add_on_offer_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +78 -0
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/recommendation.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/recommendation_rule.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/resource.rb +104 -0
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/resource_name_availability.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/resource_name_availability_request.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/resource_scope_type.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/service_specification.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/sku_capacity.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/sku_infos.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/sku_name.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/source_control.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/source_control_collection.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/user.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/validate_request.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/validate_resource_types.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/validate_response.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/validate_response_error.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/vnet_parameters.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/vnet_validation_failure_details.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/vnet_validation_test_failure.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/module_definition.rb +9 -0
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/provider.rb +10 -10
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/recommendations.rb +17 -17
- data/lib/2016-03-01/generated/azure_mgmt_web/version.rb +8 -0
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/web_site_management_client.rb +43 -68
- data/lib/2016-08-01/generated/azure_mgmt_web.rb +190 -0
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/api_definition_info.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/application_logs_config.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_action_type.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_actions.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_custom_action.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_rules.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_triggers.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/azure_resource_type.rb +16 -0
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_item.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_item_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_item_status.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_request.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_restore_operation_type.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_schedule.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/built_in_authentication_provider.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/clone_ability_result.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/cloning_info.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/conn_string_info.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/conn_string_value_type_pair.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/connection_string_dictionary.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/connection_string_type.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/continuous_web_job.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/continuous_web_job_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/continuous_web_job_status.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/cors_settings.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/csm_publishing_profile_options.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/csm_slot_entity.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/csm_usage_quota.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/csm_usage_quota_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +16 -0
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/custom_hostname_analysis_result.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/database_backup_setting.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/database_type.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/deployment.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/deployment_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/dns_verification_test_result.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/enabled_config.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/error_entity.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/experiments.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/file_system_application_logs_config.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/file_system_http_logs_config.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/frequency_unit.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/function_envelope.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/function_envelope_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/function_secrets.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/handler_mapping.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/host_name_binding.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/host_name_binding_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/host_name_ssl_state.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/host_name_type.rb +16 -0
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/host_type.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +66 -0
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/http_logs_config.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/hybrid_connection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/hybrid_connection_key.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/identifier.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/identifier_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/ip_security_restriction.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/localizable_string.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/log_level.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/managed_pipeline_mode.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/migrate_my_sql_request.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/migrate_my_sql_status.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_log.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_log_entry.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_log_entry_type.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_provisioning_state.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_status.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/my_sql_migration_type.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/name_value_pair.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/network_features.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/operation.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/operation_status.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/perf_mon_counter_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/perf_mon_response.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/perf_mon_sample.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/perf_mon_set.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/premier_add_on.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_info.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_info_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_module_info.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_module_info_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_thread_info.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_thread_info_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +78 -0
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/public_certificate.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/public_certificate_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/public_certificate_location.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/publishing_profile_format.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/push_settings.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/ramp_up_rule.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/relay_service_connection_entity.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/requests_based_trigger.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/resource.rb +104 -0
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_availability.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_definition.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_definition_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_name.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_property.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_value.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/restore_request.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/restore_response.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/route_type.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/scm_type.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/site.rb +473 -0
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_auth_settings.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_availability_state.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_cloneability.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_cloneability_criterion.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_config.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_config_resource.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_config_resource_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_configuration_snapshot_info.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_extension_info.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_extension_info_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_extension_type.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_instance.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_limits.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_load_balancing.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_logs_config.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_machine_key.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_php_error_log_flag.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_source_control.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slot_config_names_resource.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slot_difference.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slot_difference_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slot_swap_status.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slow_requests_based_trigger.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/snapshot.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/snapshot_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/snapshot_recovery_request.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/snapshot_recovery_target.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/ssl_state.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/status_codes_based_trigger.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/storage_migration_options.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/storage_migration_response.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/string_dictionary.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_job_history.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_job_history_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_job_run.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_web_job.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_web_job_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_web_job_status.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/unauthenticated_client_action.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/usage_state.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/user.rb +115 -0
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/virtual_application.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/virtual_directory.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/vnet_gateway.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/vnet_info.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/vnet_route.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_app_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_app_instance_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_job.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_job_collection.rb +1 -1
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_job_type.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/module_definition.rb +9 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/version.rb +8 -0
- data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/web_apps.rb +985 -985
- data/lib/2016-08-01/generated/azure_mgmt_web/web_site_management_client.rb +130 -0
- data/lib/2016-09-01/generated/azure_mgmt_web.rb +123 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/app_service_environments.rb +146 -146
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/app_service_plans.rb +84 -84
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/access_control_entry_action.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/address_response.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/api_definition_info.rb +44 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_environment.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_environment_collection.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_environment_resource.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_plan.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_plan_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb +17 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_actions.rb +68 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +55 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_rules.rb +58 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb +85 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/capability.rb +64 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/cloning_info.rb +169 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/compute_mode_options.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/conn_string_info.rb +67 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/connection_string_type.rb +25 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/cors_settings.rb +53 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota.rb +85 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +94 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/error_entity.rb +109 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/experiments.rb +52 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/handler_mapping.rb +69 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/host_type.rb +16 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/hosting_environment_diagnostics.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +66 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/hosting_environment_status.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb +139 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/hybrid_connection_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb +88 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/hybrid_connection_limits.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/internal_load_balancing_mode.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/ip_security_restriction.rb +55 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/localizable_string.rb +54 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb +16 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/metric_availabilily.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/metric_definition.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/name_value_pair.rb +54 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/network_access_control_entry.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/operation.rb +125 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/operation_status.rb +19 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/provisioning_state.rb +19 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +78 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/push_settings.rb +114 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/ramp_up_rule.rb +132 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/requests_based_trigger.rb +54 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/resource.rb +104 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/resource_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric.rb +150 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_availability.rb +56 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_collection.rb +94 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition.rb +159 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +94 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_name.rb +56 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_property.rb +54 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_value.rb +119 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/route_type.rb +17 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/scm_type.rb +27 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/site.rb +34 -34
- data/lib/2016-09-01/generated/azure_mgmt_web/models/site_availability_state.rb +17 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/site_config.rb +539 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/site_limits.rb +64 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/site_load_balancing.rb +19 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/site_machine_key.rb +74 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/sku_capacity.rb +78 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/sku_description.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/sku_info.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/sku_info_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/slot_swap_status.rb +67 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +64 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb +122 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb +59 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/ssl_state.rb +17 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/stamp_capacity.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/stamp_capacity_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +84 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/status_options.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/usage.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/usage_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/usage_state.rb +16 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/virtual_application.rb +84 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/virtual_directory.rb +54 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/virtual_ipmapping.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/virtual_network_profile.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_gateway.rb +86 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_info.rb +141 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_route.rb +118 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/web_app_collection.rb +94 -0
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/worker_pool.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/worker_pool_collection.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/worker_pool_resource.rb +1 -1
- data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/worker_size_options.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/module_definition.rb +9 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/version.rb +8 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb +134 -0
- data/lib/azure_mgmt_web.rb +6 -1
- data/lib/module_definition.rb +10 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/modules/web_profile_module.rb +1168 -0
- data/lib/profiles/latest/web_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/web_module_definition.rb +9 -0
- data/lib/version.rb +7 -0
- metadata +388 -288
- data/lib/generated/azure_mgmt_web.rb +0 -309
@@ -0,0 +1,130 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Web::Mgmt::V2016_08_01
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class WebSiteManagementClient < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] Your Azure subscription ID. This is a GUID-formatted
|
21
|
+
# string (e.g. 00000000-0000-0000-0000-000000000000).
|
22
|
+
attr_accessor :subscription_id
|
23
|
+
|
24
|
+
# @return [String] API Version
|
25
|
+
attr_reader :api_version
|
26
|
+
|
27
|
+
# @return [String] Gets or sets the preferred language for the response.
|
28
|
+
attr_accessor :accept_language
|
29
|
+
|
30
|
+
# @return [Integer] Gets or sets the retry timeout in seconds for Long
|
31
|
+
# Running Operations. Default value is 30.
|
32
|
+
attr_accessor :long_running_operation_retry_timeout
|
33
|
+
|
34
|
+
# @return [Boolean] When set to true a unique x-ms-client-request-id value
|
35
|
+
# is generated and included in each request. Default is true.
|
36
|
+
attr_accessor :generate_client_request_id
|
37
|
+
|
38
|
+
# @return [WebApps] web_apps
|
39
|
+
attr_reader :web_apps
|
40
|
+
|
41
|
+
#
|
42
|
+
# Creates initializes a new instance of the WebSiteManagementClient class.
|
43
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
44
|
+
# @param base_url [String] the base URI of the service.
|
45
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
46
|
+
#
|
47
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
48
|
+
super(credentials, options)
|
49
|
+
@base_url = base_url || 'https://management.azure.com'
|
50
|
+
|
51
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
52
|
+
@credentials = credentials
|
53
|
+
|
54
|
+
@web_apps = WebApps.new(self)
|
55
|
+
@api_version = '2016-08-01'
|
56
|
+
@accept_language = 'en-US'
|
57
|
+
@long_running_operation_retry_timeout = 30
|
58
|
+
@generate_client_request_id = true
|
59
|
+
add_telemetry
|
60
|
+
end
|
61
|
+
|
62
|
+
#
|
63
|
+
# Makes a request and returns the body of the response.
|
64
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
65
|
+
# @param path [String] the path, relative to {base_url}.
|
66
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
67
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
68
|
+
# Example:
|
69
|
+
#
|
70
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
71
|
+
# path = "/path"
|
72
|
+
# options = {
|
73
|
+
# body: request_content,
|
74
|
+
# query_params: {'api-version' => '2016-02-01'}
|
75
|
+
# }
|
76
|
+
# result = @client.make_request(:put, path, options)
|
77
|
+
#
|
78
|
+
def make_request(method, path, options = {})
|
79
|
+
result = make_request_with_http_info(method, path, options)
|
80
|
+
result.body unless result.nil?
|
81
|
+
end
|
82
|
+
|
83
|
+
#
|
84
|
+
# Makes a request and returns the operation response.
|
85
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
86
|
+
# @param path [String] the path, relative to {base_url}.
|
87
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
88
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
89
|
+
#
|
90
|
+
def make_request_with_http_info(method, path, options = {})
|
91
|
+
result = make_request_async(method, path, options).value!
|
92
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
93
|
+
result
|
94
|
+
end
|
95
|
+
|
96
|
+
#
|
97
|
+
# Makes a request asynchronously.
|
98
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
99
|
+
# @param path [String] the path, relative to {base_url}.
|
100
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
101
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
102
|
+
#
|
103
|
+
def make_request_async(method, path, options = {})
|
104
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
105
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
106
|
+
|
107
|
+
request_url = options[:base_url] || @base_url
|
108
|
+
|
109
|
+
request_headers = @request_headers
|
110
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
111
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
112
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
113
|
+
|
114
|
+
super(request_url, method, path, options)
|
115
|
+
end
|
116
|
+
|
117
|
+
|
118
|
+
private
|
119
|
+
#
|
120
|
+
# Adds telemetry information.
|
121
|
+
#
|
122
|
+
def add_telemetry
|
123
|
+
sdk_information = 'azure_mgmt_web'
|
124
|
+
if defined? Azure::Web::Mgmt::V2016_08_01::VERSION
|
125
|
+
sdk_information = "#{sdk_information}/#{Azure::Web::Mgmt::V2016_08_01::VERSION}"
|
126
|
+
end
|
127
|
+
add_user_agent_information(sdk_information)
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
@@ -0,0 +1,123 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2016-09-01/generated/azure_mgmt_web/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::Web::Mgmt::V2016_09_01
|
23
|
+
autoload :AppServiceEnvironments, '2016-09-01/generated/azure_mgmt_web/app_service_environments.rb'
|
24
|
+
autoload :AppServicePlans, '2016-09-01/generated/azure_mgmt_web/app_service_plans.rb'
|
25
|
+
autoload :WebSiteManagementClient, '2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb'
|
26
|
+
|
27
|
+
module Models
|
28
|
+
autoload :RampUpRule, '2016-09-01/generated/azure_mgmt_web/models/ramp_up_rule.rb'
|
29
|
+
autoload :Experiments, '2016-09-01/generated/azure_mgmt_web/models/experiments.rb'
|
30
|
+
autoload :AddressResponse, '2016-09-01/generated/azure_mgmt_web/models/address_response.rb'
|
31
|
+
autoload :HandlerMapping, '2016-09-01/generated/azure_mgmt_web/models/handler_mapping.rb'
|
32
|
+
autoload :VirtualNetworkProfile, '2016-09-01/generated/azure_mgmt_web/models/virtual_network_profile.rb'
|
33
|
+
autoload :HostNameSslState, '2016-09-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb'
|
34
|
+
autoload :StampCapacity, '2016-09-01/generated/azure_mgmt_web/models/stamp_capacity.rb'
|
35
|
+
autoload :HostingEnvironmentDiagnostics, '2016-09-01/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb'
|
36
|
+
autoload :NameValuePair, '2016-09-01/generated/azure_mgmt_web/models/name_value_pair.rb'
|
37
|
+
autoload :IpSecurityRestriction, '2016-09-01/generated/azure_mgmt_web/models/ip_security_restriction.rb'
|
38
|
+
autoload :AppServiceEnvironmentCollection, '2016-09-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb'
|
39
|
+
autoload :MetricAvailabilily, '2016-09-01/generated/azure_mgmt_web/models/metric_availabilily.rb'
|
40
|
+
autoload :HostingEnvironmentProfile, '2016-09-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb'
|
41
|
+
autoload :Capability, '2016-09-01/generated/azure_mgmt_web/models/capability.rb'
|
42
|
+
autoload :Operation, '2016-09-01/generated/azure_mgmt_web/models/operation.rb'
|
43
|
+
autoload :UsageCollection, '2016-09-01/generated/azure_mgmt_web/models/usage_collection.rb'
|
44
|
+
autoload :AppServicePlanCollection, '2016-09-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb'
|
45
|
+
autoload :ProxyOnlyResource, '2016-09-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
|
46
|
+
autoload :AutoHealActions, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_actions.rb'
|
47
|
+
autoload :ResourceCollection, '2016-09-01/generated/azure_mgmt_web/models/resource_collection.rb'
|
48
|
+
autoload :StatusCodesBasedTrigger, '2016-09-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb'
|
49
|
+
autoload :Resource, '2016-09-01/generated/azure_mgmt_web/models/resource.rb'
|
50
|
+
autoload :AutoHealTriggers, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb'
|
51
|
+
autoload :ResourceMetricName, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_name.rb'
|
52
|
+
autoload :CloningInfo, '2016-09-01/generated/azure_mgmt_web/models/cloning_info.rb'
|
53
|
+
autoload :ResourceMetricProperty, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_property.rb'
|
54
|
+
autoload :CorsSettings, '2016-09-01/generated/azure_mgmt_web/models/cors_settings.rb'
|
55
|
+
autoload :ResourceMetricValue, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_value.rb'
|
56
|
+
autoload :CsmUsageQuota, '2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota.rb'
|
57
|
+
autoload :ResourceMetric, '2016-09-01/generated/azure_mgmt_web/models/resource_metric.rb'
|
58
|
+
autoload :ErrorEntity, '2016-09-01/generated/azure_mgmt_web/models/error_entity.rb'
|
59
|
+
autoload :ResourceMetricAvailability, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_availability.rb'
|
60
|
+
autoload :ApiDefinitionInfo, '2016-09-01/generated/azure_mgmt_web/models/api_definition_info.rb'
|
61
|
+
autoload :ResourceMetricCollection, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_collection.rb'
|
62
|
+
autoload :NetworkAccessControlEntry, '2016-09-01/generated/azure_mgmt_web/models/network_access_control_entry.rb'
|
63
|
+
autoload :HybridConnectionCollection, '2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_collection.rb'
|
64
|
+
autoload :StampCapacityCollection, '2016-09-01/generated/azure_mgmt_web/models/stamp_capacity_collection.rb'
|
65
|
+
autoload :SkuCapacity, '2016-09-01/generated/azure_mgmt_web/models/sku_capacity.rb'
|
66
|
+
autoload :ResourceMetricDefinitionCollection, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb'
|
67
|
+
autoload :AutoHealCustomAction, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb'
|
68
|
+
autoload :SiteMachineKey, '2016-09-01/generated/azure_mgmt_web/models/site_machine_key.rb'
|
69
|
+
autoload :SlowRequestsBasedTrigger, '2016-09-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb'
|
70
|
+
autoload :VirtualDirectory, '2016-09-01/generated/azure_mgmt_web/models/virtual_directory.rb'
|
71
|
+
autoload :ConnStringInfo, '2016-09-01/generated/azure_mgmt_web/models/conn_string_info.rb'
|
72
|
+
autoload :VirtualApplication, '2016-09-01/generated/azure_mgmt_web/models/virtual_application.rb'
|
73
|
+
autoload :CsmUsageQuotaCollection, '2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb'
|
74
|
+
autoload :SiteLimits, '2016-09-01/generated/azure_mgmt_web/models/site_limits.rb'
|
75
|
+
autoload :WorkerPool, '2016-09-01/generated/azure_mgmt_web/models/worker_pool.rb'
|
76
|
+
autoload :SiteConfig, '2016-09-01/generated/azure_mgmt_web/models/site_config.rb'
|
77
|
+
autoload :SkuDescription, '2016-09-01/generated/azure_mgmt_web/models/sku_description.rb'
|
78
|
+
autoload :SnapshotRecoveryTarget, '2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb'
|
79
|
+
autoload :AutoHealRules, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_rules.rb'
|
80
|
+
autoload :WorkerPoolCollection, '2016-09-01/generated/azure_mgmt_web/models/worker_pool_collection.rb'
|
81
|
+
autoload :VirtualIPMapping, '2016-09-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb'
|
82
|
+
autoload :SlotSwapStatus, '2016-09-01/generated/azure_mgmt_web/models/slot_swap_status.rb'
|
83
|
+
autoload :RequestsBasedTrigger, '2016-09-01/generated/azure_mgmt_web/models/requests_based_trigger.rb'
|
84
|
+
autoload :WebAppCollection, '2016-09-01/generated/azure_mgmt_web/models/web_app_collection.rb'
|
85
|
+
autoload :AppServiceEnvironment, '2016-09-01/generated/azure_mgmt_web/models/app_service_environment.rb'
|
86
|
+
autoload :SkuInfo, '2016-09-01/generated/azure_mgmt_web/models/sku_info.rb'
|
87
|
+
autoload :LocalizableString, '2016-09-01/generated/azure_mgmt_web/models/localizable_string.rb'
|
88
|
+
autoload :SkuInfoCollection, '2016-09-01/generated/azure_mgmt_web/models/sku_info_collection.rb'
|
89
|
+
autoload :AppServiceEnvironmentResource, '2016-09-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb'
|
90
|
+
autoload :AppServicePlan, '2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb'
|
91
|
+
autoload :MetricDefinition, '2016-09-01/generated/azure_mgmt_web/models/metric_definition.rb'
|
92
|
+
autoload :PushSettings, '2016-09-01/generated/azure_mgmt_web/models/push_settings.rb'
|
93
|
+
autoload :ResourceMetricDefinition, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition.rb'
|
94
|
+
autoload :SnapshotRecoveryRequest, '2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb'
|
95
|
+
autoload :Site, '2016-09-01/generated/azure_mgmt_web/models/site.rb'
|
96
|
+
autoload :Usage, '2016-09-01/generated/azure_mgmt_web/models/usage.rb'
|
97
|
+
autoload :WorkerPoolResource, '2016-09-01/generated/azure_mgmt_web/models/worker_pool_resource.rb'
|
98
|
+
autoload :HybridConnection, '2016-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb'
|
99
|
+
autoload :HybridConnectionKey, '2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb'
|
100
|
+
autoload :HybridConnectionLimits, '2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_limits.rb'
|
101
|
+
autoload :VnetGateway, '2016-09-01/generated/azure_mgmt_web/models/vnet_gateway.rb'
|
102
|
+
autoload :VnetRoute, '2016-09-01/generated/azure_mgmt_web/models/vnet_route.rb'
|
103
|
+
autoload :VnetInfo, '2016-09-01/generated/azure_mgmt_web/models/vnet_info.rb'
|
104
|
+
autoload :ProvisioningState, '2016-09-01/generated/azure_mgmt_web/models/provisioning_state.rb'
|
105
|
+
autoload :HostingEnvironmentStatus, '2016-09-01/generated/azure_mgmt_web/models/hosting_environment_status.rb'
|
106
|
+
autoload :InternalLoadBalancingMode, '2016-09-01/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb'
|
107
|
+
autoload :ComputeModeOptions, '2016-09-01/generated/azure_mgmt_web/models/compute_mode_options.rb'
|
108
|
+
autoload :WorkerSizeOptions, '2016-09-01/generated/azure_mgmt_web/models/worker_size_options.rb'
|
109
|
+
autoload :AccessControlEntryAction, '2016-09-01/generated/azure_mgmt_web/models/access_control_entry_action.rb'
|
110
|
+
autoload :StatusOptions, '2016-09-01/generated/azure_mgmt_web/models/status_options.rb'
|
111
|
+
autoload :AutoHealActionType, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb'
|
112
|
+
autoload :ConnectionStringType, '2016-09-01/generated/azure_mgmt_web/models/connection_string_type.rb'
|
113
|
+
autoload :SslState, '2016-09-01/generated/azure_mgmt_web/models/ssl_state.rb'
|
114
|
+
autoload :HostType, '2016-09-01/generated/azure_mgmt_web/models/host_type.rb'
|
115
|
+
autoload :OperationStatus, '2016-09-01/generated/azure_mgmt_web/models/operation_status.rb'
|
116
|
+
autoload :UsageState, '2016-09-01/generated/azure_mgmt_web/models/usage_state.rb'
|
117
|
+
autoload :SiteAvailabilityState, '2016-09-01/generated/azure_mgmt_web/models/site_availability_state.rb'
|
118
|
+
autoload :ScmType, '2016-09-01/generated/azure_mgmt_web/models/scm_type.rb'
|
119
|
+
autoload :ManagedPipelineMode, '2016-09-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb'
|
120
|
+
autoload :SiteLoadBalancing, '2016-09-01/generated/azure_mgmt_web/models/site_load_balancing.rb'
|
121
|
+
autoload :RouteType, '2016-09-01/generated/azure_mgmt_web/models/route_type.rb'
|
122
|
+
end
|
123
|
+
end
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Web::Mgmt::V2016_09_01
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# AppServiceEnvironments
|
9
9
|
#
|
10
10
|
class AppServiceEnvironments
|
11
11
|
include MsRestAzure
|
@@ -62,7 +62,7 @@ module Azure::ARM::Web
|
|
62
62
|
#
|
63
63
|
def list_async(custom_headers = nil)
|
64
64
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
65
|
-
api_version
|
65
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
66
66
|
|
67
67
|
|
68
68
|
request_headers = {}
|
@@ -77,7 +77,7 @@ module Azure::ARM::Web
|
|
77
77
|
options = {
|
78
78
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
79
79
|
path_params: {'subscriptionId' => @client.subscription_id},
|
80
|
-
query_params: {'api-version' => api_version},
|
80
|
+
query_params: {'api-version' => @client.api_version},
|
81
81
|
headers: request_headers.merge(custom_headers || {}),
|
82
82
|
base_url: request_url
|
83
83
|
}
|
@@ -97,7 +97,7 @@ module Azure::ARM::Web
|
|
97
97
|
if status_code == 200
|
98
98
|
begin
|
99
99
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
100
|
-
result_mapper = Azure::
|
100
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection.mapper()
|
101
101
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
102
102
|
rescue Exception => e
|
103
103
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -158,7 +158,7 @@ module Azure::ARM::Web
|
|
158
158
|
def list_by_resource_group_async(resource_group_name, custom_headers = nil)
|
159
159
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
160
160
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
161
|
-
api_version
|
161
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
162
162
|
|
163
163
|
|
164
164
|
request_headers = {}
|
@@ -173,7 +173,7 @@ module Azure::ARM::Web
|
|
173
173
|
options = {
|
174
174
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
175
175
|
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
176
|
-
query_params: {'api-version' => api_version},
|
176
|
+
query_params: {'api-version' => @client.api_version},
|
177
177
|
headers: request_headers.merge(custom_headers || {}),
|
178
178
|
base_url: request_url
|
179
179
|
}
|
@@ -193,7 +193,7 @@ module Azure::ARM::Web
|
|
193
193
|
if status_code == 200
|
194
194
|
begin
|
195
195
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
196
|
-
result_mapper = Azure::
|
196
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection.mapper()
|
197
197
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
198
198
|
rescue Exception => e
|
199
199
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -258,7 +258,7 @@ module Azure::ARM::Web
|
|
258
258
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
259
259
|
fail ArgumentError, 'name is nil' if name.nil?
|
260
260
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
261
|
-
api_version
|
261
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
262
262
|
|
263
263
|
|
264
264
|
request_headers = {}
|
@@ -273,7 +273,7 @@ module Azure::ARM::Web
|
|
273
273
|
options = {
|
274
274
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
275
275
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
276
|
-
query_params: {'api-version' => api_version},
|
276
|
+
query_params: {'api-version' => @client.api_version},
|
277
277
|
headers: request_headers.merge(custom_headers || {}),
|
278
278
|
base_url: request_url
|
279
279
|
}
|
@@ -293,7 +293,7 @@ module Azure::ARM::Web
|
|
293
293
|
if status_code == 200
|
294
294
|
begin
|
295
295
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
296
|
-
result_mapper = Azure::
|
296
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource.mapper()
|
297
297
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
298
298
|
rescue Exception => e
|
299
299
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -345,7 +345,7 @@ module Azure::ARM::Web
|
|
345
345
|
promise = promise.then do |response|
|
346
346
|
# Defining deserialization method.
|
347
347
|
deserialize_method = lambda do |parsed_response|
|
348
|
-
result_mapper = Azure::
|
348
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource.mapper()
|
349
349
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
350
350
|
end
|
351
351
|
|
@@ -462,7 +462,7 @@ module Azure::ARM::Web
|
|
462
462
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
463
463
|
fail ArgumentError, 'name is nil' if name.nil?
|
464
464
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
465
|
-
api_version
|
465
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
466
466
|
|
467
467
|
|
468
468
|
request_headers = {}
|
@@ -477,7 +477,7 @@ module Azure::ARM::Web
|
|
477
477
|
options = {
|
478
478
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
479
479
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
480
|
-
query_params: {'api-version' => api_version},
|
480
|
+
query_params: {'api-version' => @client.api_version},
|
481
481
|
headers: request_headers.merge(custom_headers || {}),
|
482
482
|
base_url: request_url
|
483
483
|
}
|
@@ -497,7 +497,7 @@ module Azure::ARM::Web
|
|
497
497
|
if status_code == 200
|
498
498
|
begin
|
499
499
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
500
|
-
result_mapper = Azure::
|
500
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection.mapper()
|
501
501
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
502
502
|
rescue Exception => e
|
503
503
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -562,7 +562,7 @@ module Azure::ARM::Web
|
|
562
562
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
563
563
|
fail ArgumentError, 'name is nil' if name.nil?
|
564
564
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
565
|
-
api_version
|
565
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
566
566
|
|
567
567
|
|
568
568
|
request_headers = {}
|
@@ -577,7 +577,7 @@ module Azure::ARM::Web
|
|
577
577
|
options = {
|
578
578
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
579
579
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
580
|
-
query_params: {'api-version' => api_version},
|
580
|
+
query_params: {'api-version' => @client.api_version},
|
581
581
|
headers: request_headers.merge(custom_headers || {}),
|
582
582
|
base_url: request_url
|
583
583
|
}
|
@@ -597,7 +597,7 @@ module Azure::ARM::Web
|
|
597
597
|
if status_code == 200
|
598
598
|
begin
|
599
599
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
600
|
-
result_mapper = Azure::
|
600
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse.mapper()
|
601
601
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
602
602
|
rescue Exception => e
|
603
603
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -662,7 +662,7 @@ module Azure::ARM::Web
|
|
662
662
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
663
663
|
fail ArgumentError, 'name is nil' if name.nil?
|
664
664
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
665
|
-
api_version
|
665
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
666
666
|
|
667
667
|
|
668
668
|
request_headers = {}
|
@@ -677,7 +677,7 @@ module Azure::ARM::Web
|
|
677
677
|
options = {
|
678
678
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
679
679
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
680
|
-
query_params: {'api-version' => api_version},
|
680
|
+
query_params: {'api-version' => @client.api_version},
|
681
681
|
headers: request_headers.merge(custom_headers || {}),
|
682
682
|
base_url: request_url
|
683
683
|
}
|
@@ -780,7 +780,7 @@ module Azure::ARM::Web
|
|
780
780
|
fail ArgumentError, 'name is nil' if name.nil?
|
781
781
|
fail ArgumentError, 'diagnostics_name is nil' if diagnostics_name.nil?
|
782
782
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
783
|
-
api_version
|
783
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
784
784
|
|
785
785
|
|
786
786
|
request_headers = {}
|
@@ -795,7 +795,7 @@ module Azure::ARM::Web
|
|
795
795
|
options = {
|
796
796
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
797
797
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'diagnosticsName' => diagnostics_name,'subscriptionId' => @client.subscription_id},
|
798
|
-
query_params: {'api-version' => api_version},
|
798
|
+
query_params: {'api-version' => @client.api_version},
|
799
799
|
headers: request_headers.merge(custom_headers || {}),
|
800
800
|
base_url: request_url
|
801
801
|
}
|
@@ -815,7 +815,7 @@ module Azure::ARM::Web
|
|
815
815
|
if status_code == 200
|
816
816
|
begin
|
817
817
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
818
|
-
result_mapper = Azure::
|
818
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics.mapper()
|
819
819
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
820
820
|
rescue Exception => e
|
821
821
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -880,7 +880,7 @@ module Azure::ARM::Web
|
|
880
880
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
881
881
|
fail ArgumentError, 'name is nil' if name.nil?
|
882
882
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
883
|
-
api_version
|
883
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
884
884
|
|
885
885
|
|
886
886
|
request_headers = {}
|
@@ -895,7 +895,7 @@ module Azure::ARM::Web
|
|
895
895
|
options = {
|
896
896
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
897
897
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
898
|
-
query_params: {'api-version' => api_version},
|
898
|
+
query_params: {'api-version' => @client.api_version},
|
899
899
|
headers: request_headers.merge(custom_headers || {}),
|
900
900
|
base_url: request_url
|
901
901
|
}
|
@@ -915,7 +915,7 @@ module Azure::ARM::Web
|
|
915
915
|
if status_code == 200
|
916
916
|
begin
|
917
917
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
918
|
-
result_mapper = Azure::
|
918
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition.mapper()
|
919
919
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
920
920
|
rescue Exception => e
|
921
921
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -998,7 +998,7 @@ module Azure::ARM::Web
|
|
998
998
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
999
999
|
fail ArgumentError, 'name is nil' if name.nil?
|
1000
1000
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1001
|
-
api_version
|
1001
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1002
1002
|
|
1003
1003
|
|
1004
1004
|
request_headers = {}
|
@@ -1013,7 +1013,7 @@ module Azure::ARM::Web
|
|
1013
1013
|
options = {
|
1014
1014
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1015
1015
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
1016
|
-
query_params: {'details' => details,'api-version' => api_version},
|
1016
|
+
query_params: {'details' => details,'api-version' => @client.api_version},
|
1017
1017
|
skip_encoding_query_params: {'$filter' => filter},
|
1018
1018
|
headers: request_headers.merge(custom_headers || {}),
|
1019
1019
|
base_url: request_url
|
@@ -1034,7 +1034,7 @@ module Azure::ARM::Web
|
|
1034
1034
|
if status_code == 200
|
1035
1035
|
begin
|
1036
1036
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1037
|
-
result_mapper = Azure::
|
1037
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection.mapper()
|
1038
1038
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1039
1039
|
rescue Exception => e
|
1040
1040
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1099,7 +1099,7 @@ module Azure::ARM::Web
|
|
1099
1099
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1100
1100
|
fail ArgumentError, 'name is nil' if name.nil?
|
1101
1101
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1102
|
-
api_version
|
1102
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1103
1103
|
|
1104
1104
|
|
1105
1105
|
request_headers = {}
|
@@ -1114,7 +1114,7 @@ module Azure::ARM::Web
|
|
1114
1114
|
options = {
|
1115
1115
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1116
1116
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
1117
|
-
query_params: {'api-version' => api_version},
|
1117
|
+
query_params: {'api-version' => @client.api_version},
|
1118
1118
|
headers: request_headers.merge(custom_headers || {}),
|
1119
1119
|
base_url: request_url
|
1120
1120
|
}
|
@@ -1134,7 +1134,7 @@ module Azure::ARM::Web
|
|
1134
1134
|
if status_code == 200
|
1135
1135
|
begin
|
1136
1136
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1137
|
-
result_mapper = Azure::
|
1137
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection.mapper()
|
1138
1138
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1139
1139
|
rescue Exception => e
|
1140
1140
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1199,7 +1199,7 @@ module Azure::ARM::Web
|
|
1199
1199
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1200
1200
|
fail ArgumentError, 'name is nil' if name.nil?
|
1201
1201
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1202
|
-
api_version
|
1202
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1203
1203
|
|
1204
1204
|
|
1205
1205
|
request_headers = {}
|
@@ -1214,7 +1214,7 @@ module Azure::ARM::Web
|
|
1214
1214
|
options = {
|
1215
1215
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1216
1216
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
1217
|
-
query_params: {'api-version' => api_version},
|
1217
|
+
query_params: {'api-version' => @client.api_version},
|
1218
1218
|
headers: request_headers.merge(custom_headers || {}),
|
1219
1219
|
base_url: request_url
|
1220
1220
|
}
|
@@ -1234,7 +1234,7 @@ module Azure::ARM::Web
|
|
1234
1234
|
if status_code == 200
|
1235
1235
|
begin
|
1236
1236
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1237
|
-
result_mapper = Azure::
|
1237
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
|
1238
1238
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1239
1239
|
rescue Exception => e
|
1240
1240
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1286,7 +1286,7 @@ module Azure::ARM::Web
|
|
1286
1286
|
promise = promise.then do |response|
|
1287
1287
|
# Defining deserialization method.
|
1288
1288
|
deserialize_method = lambda do |parsed_response|
|
1289
|
-
result_mapper = Azure::
|
1289
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
|
1290
1290
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
1291
1291
|
end
|
1292
1292
|
|
@@ -1359,7 +1359,7 @@ module Azure::ARM::Web
|
|
1359
1359
|
fail ArgumentError, 'name is nil' if name.nil?
|
1360
1360
|
fail ArgumentError, 'instance is nil' if instance.nil?
|
1361
1361
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1362
|
-
api_version
|
1362
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1363
1363
|
|
1364
1364
|
|
1365
1365
|
request_headers = {}
|
@@ -1374,7 +1374,7 @@ module Azure::ARM::Web
|
|
1374
1374
|
options = {
|
1375
1375
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1376
1376
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'instance' => instance,'subscriptionId' => @client.subscription_id},
|
1377
|
-
query_params: {'api-version' => api_version},
|
1377
|
+
query_params: {'api-version' => @client.api_version},
|
1378
1378
|
headers: request_headers.merge(custom_headers || {}),
|
1379
1379
|
base_url: request_url
|
1380
1380
|
}
|
@@ -1394,7 +1394,7 @@ module Azure::ARM::Web
|
|
1394
1394
|
if status_code == 200
|
1395
1395
|
begin
|
1396
1396
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1397
|
-
result_mapper = Azure::
|
1397
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection.mapper()
|
1398
1398
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1399
1399
|
rescue Exception => e
|
1400
1400
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1475,7 +1475,7 @@ module Azure::ARM::Web
|
|
1475
1475
|
fail ArgumentError, 'name is nil' if name.nil?
|
1476
1476
|
fail ArgumentError, 'instance is nil' if instance.nil?
|
1477
1477
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1478
|
-
api_version
|
1478
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1479
1479
|
|
1480
1480
|
|
1481
1481
|
request_headers = {}
|
@@ -1490,7 +1490,7 @@ module Azure::ARM::Web
|
|
1490
1490
|
options = {
|
1491
1491
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1492
1492
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'instance' => instance,'subscriptionId' => @client.subscription_id},
|
1493
|
-
query_params: {'details' => details,'api-version' => api_version},
|
1493
|
+
query_params: {'details' => details,'api-version' => @client.api_version},
|
1494
1494
|
headers: request_headers.merge(custom_headers || {}),
|
1495
1495
|
base_url: request_url
|
1496
1496
|
}
|
@@ -1510,7 +1510,7 @@ module Azure::ARM::Web
|
|
1510
1510
|
if status_code == 200
|
1511
1511
|
begin
|
1512
1512
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1513
|
-
result_mapper = Azure::
|
1513
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection.mapper()
|
1514
1514
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1515
1515
|
rescue Exception => e
|
1516
1516
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1575,7 +1575,7 @@ module Azure::ARM::Web
|
|
1575
1575
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1576
1576
|
fail ArgumentError, 'name is nil' if name.nil?
|
1577
1577
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1578
|
-
api_version
|
1578
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1579
1579
|
|
1580
1580
|
|
1581
1581
|
request_headers = {}
|
@@ -1590,7 +1590,7 @@ module Azure::ARM::Web
|
|
1590
1590
|
options = {
|
1591
1591
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1592
1592
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
1593
|
-
query_params: {'api-version' => api_version},
|
1593
|
+
query_params: {'api-version' => @client.api_version},
|
1594
1594
|
headers: request_headers.merge(custom_headers || {}),
|
1595
1595
|
base_url: request_url
|
1596
1596
|
}
|
@@ -1610,7 +1610,7 @@ module Azure::ARM::Web
|
|
1610
1610
|
if status_code == 200
|
1611
1611
|
begin
|
1612
1612
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1613
|
-
result_mapper = Azure::
|
1613
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection.mapper()
|
1614
1614
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1615
1615
|
rescue Exception => e
|
1616
1616
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1702,7 +1702,7 @@ module Azure::ARM::Web
|
|
1702
1702
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1703
1703
|
fail ArgumentError, 'name is nil' if name.nil?
|
1704
1704
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1705
|
-
api_version
|
1705
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1706
1706
|
|
1707
1707
|
|
1708
1708
|
request_headers = {}
|
@@ -1717,7 +1717,7 @@ module Azure::ARM::Web
|
|
1717
1717
|
options = {
|
1718
1718
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1719
1719
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
1720
|
-
query_params: {'startTime' => start_time,'endTime' => end_time,'timeGrain' => time_grain,'details' => details,'api-version' => api_version},
|
1720
|
+
query_params: {'startTime' => start_time,'endTime' => end_time,'timeGrain' => time_grain,'details' => details,'api-version' => @client.api_version},
|
1721
1721
|
skip_encoding_query_params: {'$filter' => filter},
|
1722
1722
|
headers: request_headers.merge(custom_headers || {}),
|
1723
1723
|
base_url: request_url
|
@@ -1738,7 +1738,7 @@ module Azure::ARM::Web
|
|
1738
1738
|
if status_code == 200
|
1739
1739
|
begin
|
1740
1740
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1741
|
-
result_mapper = Azure::
|
1741
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection.mapper()
|
1742
1742
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1743
1743
|
rescue Exception => e
|
1744
1744
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1803,7 +1803,7 @@ module Azure::ARM::Web
|
|
1803
1803
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1804
1804
|
fail ArgumentError, 'name is nil' if name.nil?
|
1805
1805
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1806
|
-
api_version
|
1806
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1807
1807
|
|
1808
1808
|
|
1809
1809
|
request_headers = {}
|
@@ -1818,7 +1818,7 @@ module Azure::ARM::Web
|
|
1818
1818
|
options = {
|
1819
1819
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1820
1820
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
1821
|
-
query_params: {'api-version' => api_version},
|
1821
|
+
query_params: {'api-version' => @client.api_version},
|
1822
1822
|
headers: request_headers.merge(custom_headers || {}),
|
1823
1823
|
base_url: request_url
|
1824
1824
|
}
|
@@ -1838,7 +1838,7 @@ module Azure::ARM::Web
|
|
1838
1838
|
if status_code == 200
|
1839
1839
|
begin
|
1840
1840
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1841
|
-
result_mapper = Azure::
|
1841
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection.mapper()
|
1842
1842
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1843
1843
|
rescue Exception => e
|
1844
1844
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1903,7 +1903,7 @@ module Azure::ARM::Web
|
|
1903
1903
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1904
1904
|
fail ArgumentError, 'name is nil' if name.nil?
|
1905
1905
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1906
|
-
api_version
|
1906
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1907
1907
|
|
1908
1908
|
|
1909
1909
|
request_headers = {}
|
@@ -1918,7 +1918,7 @@ module Azure::ARM::Web
|
|
1918
1918
|
options = {
|
1919
1919
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1920
1920
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
1921
|
-
query_params: {'api-version' => api_version},
|
1921
|
+
query_params: {'api-version' => @client.api_version},
|
1922
1922
|
headers: request_headers.merge(custom_headers || {}),
|
1923
1923
|
base_url: request_url
|
1924
1924
|
}
|
@@ -1938,7 +1938,7 @@ module Azure::ARM::Web
|
|
1938
1938
|
if status_code == 200
|
1939
1939
|
begin
|
1940
1940
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1941
|
-
result_mapper = Azure::
|
1941
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection.mapper()
|
1942
1942
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1943
1943
|
rescue Exception => e
|
1944
1944
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -2003,7 +2003,7 @@ module Azure::ARM::Web
|
|
2003
2003
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2004
2004
|
fail ArgumentError, 'name is nil' if name.nil?
|
2005
2005
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2006
|
-
api_version
|
2006
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2007
2007
|
|
2008
2008
|
|
2009
2009
|
request_headers = {}
|
@@ -2018,7 +2018,7 @@ module Azure::ARM::Web
|
|
2018
2018
|
options = {
|
2019
2019
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2020
2020
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
2021
|
-
query_params: {'api-version' => api_version},
|
2021
|
+
query_params: {'api-version' => @client.api_version},
|
2022
2022
|
headers: request_headers.merge(custom_headers || {}),
|
2023
2023
|
base_url: request_url
|
2024
2024
|
}
|
@@ -2116,7 +2116,7 @@ module Azure::ARM::Web
|
|
2116
2116
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2117
2117
|
fail ArgumentError, 'name is nil' if name.nil?
|
2118
2118
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2119
|
-
api_version
|
2119
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2120
2120
|
|
2121
2121
|
|
2122
2122
|
request_headers = {}
|
@@ -2131,7 +2131,7 @@ module Azure::ARM::Web
|
|
2131
2131
|
options = {
|
2132
2132
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2133
2133
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
2134
|
-
query_params: {'api-version' => api_version},
|
2134
|
+
query_params: {'api-version' => @client.api_version},
|
2135
2135
|
headers: request_headers.merge(custom_headers || {}),
|
2136
2136
|
base_url: request_url
|
2137
2137
|
}
|
@@ -2212,7 +2212,7 @@ module Azure::ARM::Web
|
|
2212
2212
|
promise = promise.then do |response|
|
2213
2213
|
# Defining deserialization method.
|
2214
2214
|
deserialize_method = lambda do |parsed_response|
|
2215
|
-
result_mapper = Azure::
|
2215
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
2216
2216
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
2217
2217
|
end
|
2218
2218
|
|
@@ -2275,7 +2275,7 @@ module Azure::ARM::Web
|
|
2275
2275
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2276
2276
|
fail ArgumentError, 'name is nil' if name.nil?
|
2277
2277
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2278
|
-
api_version
|
2278
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2279
2279
|
|
2280
2280
|
|
2281
2281
|
request_headers = {}
|
@@ -2290,7 +2290,7 @@ module Azure::ARM::Web
|
|
2290
2290
|
options = {
|
2291
2291
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2292
2292
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
2293
|
-
query_params: {'api-version' => api_version},
|
2293
|
+
query_params: {'api-version' => @client.api_version},
|
2294
2294
|
headers: request_headers.merge(custom_headers || {}),
|
2295
2295
|
base_url: request_url
|
2296
2296
|
}
|
@@ -2310,7 +2310,7 @@ module Azure::ARM::Web
|
|
2310
2310
|
if status_code == 200
|
2311
2311
|
begin
|
2312
2312
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2313
|
-
result_mapper = Azure::
|
2313
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection.mapper()
|
2314
2314
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
2315
2315
|
rescue Exception => e
|
2316
2316
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -2381,7 +2381,7 @@ module Azure::ARM::Web
|
|
2381
2381
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2382
2382
|
fail ArgumentError, 'name is nil' if name.nil?
|
2383
2383
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2384
|
-
api_version
|
2384
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2385
2385
|
|
2386
2386
|
|
2387
2387
|
request_headers = {}
|
@@ -2396,7 +2396,7 @@ module Azure::ARM::Web
|
|
2396
2396
|
options = {
|
2397
2397
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2398
2398
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
2399
|
-
query_params: {'propertiesToInclude' => properties_to_include,'api-version' => api_version},
|
2399
|
+
query_params: {'propertiesToInclude' => properties_to_include,'api-version' => @client.api_version},
|
2400
2400
|
headers: request_headers.merge(custom_headers || {}),
|
2401
2401
|
base_url: request_url
|
2402
2402
|
}
|
@@ -2416,7 +2416,7 @@ module Azure::ARM::Web
|
|
2416
2416
|
if status_code == 200
|
2417
2417
|
begin
|
2418
2418
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2419
|
-
result_mapper = Azure::
|
2419
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
2420
2420
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
2421
2421
|
rescue Exception => e
|
2422
2422
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -2487,7 +2487,7 @@ module Azure::ARM::Web
|
|
2487
2487
|
promise = promise.then do |response|
|
2488
2488
|
# Defining deserialization method.
|
2489
2489
|
deserialize_method = lambda do |parsed_response|
|
2490
|
-
result_mapper = Azure::
|
2490
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
2491
2491
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
2492
2492
|
end
|
2493
2493
|
|
@@ -2562,7 +2562,7 @@ module Azure::ARM::Web
|
|
2562
2562
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2563
2563
|
fail ArgumentError, 'name is nil' if name.nil?
|
2564
2564
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2565
|
-
api_version
|
2565
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2566
2566
|
|
2567
2567
|
|
2568
2568
|
request_headers = {}
|
@@ -2577,7 +2577,7 @@ module Azure::ARM::Web
|
|
2577
2577
|
options = {
|
2578
2578
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2579
2579
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
2580
|
-
query_params: {'api-version' => api_version},
|
2580
|
+
query_params: {'api-version' => @client.api_version},
|
2581
2581
|
skip_encoding_query_params: {'$filter' => filter},
|
2582
2582
|
headers: request_headers.merge(custom_headers || {}),
|
2583
2583
|
base_url: request_url
|
@@ -2598,7 +2598,7 @@ module Azure::ARM::Web
|
|
2598
2598
|
if status_code == 200
|
2599
2599
|
begin
|
2600
2600
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2601
|
-
result_mapper = Azure::
|
2601
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection.mapper()
|
2602
2602
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
2603
2603
|
rescue Exception => e
|
2604
2604
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -2663,7 +2663,7 @@ module Azure::ARM::Web
|
|
2663
2663
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2664
2664
|
fail ArgumentError, 'name is nil' if name.nil?
|
2665
2665
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2666
|
-
api_version
|
2666
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2667
2667
|
|
2668
2668
|
|
2669
2669
|
request_headers = {}
|
@@ -2678,7 +2678,7 @@ module Azure::ARM::Web
|
|
2678
2678
|
options = {
|
2679
2679
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2680
2680
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
2681
|
-
query_params: {'api-version' => api_version},
|
2681
|
+
query_params: {'api-version' => @client.api_version},
|
2682
2682
|
headers: request_headers.merge(custom_headers || {}),
|
2683
2683
|
base_url: request_url
|
2684
2684
|
}
|
@@ -2698,7 +2698,7 @@ module Azure::ARM::Web
|
|
2698
2698
|
if status_code == 200
|
2699
2699
|
begin
|
2700
2700
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2701
|
-
result_mapper = Azure::
|
2701
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection.mapper()
|
2702
2702
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
2703
2703
|
rescue Exception => e
|
2704
2704
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -2767,7 +2767,7 @@ module Azure::ARM::Web
|
|
2767
2767
|
fail ArgumentError, 'name is nil' if name.nil?
|
2768
2768
|
fail ArgumentError, 'worker_pool_name is nil' if worker_pool_name.nil?
|
2769
2769
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2770
|
-
api_version
|
2770
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2771
2771
|
|
2772
2772
|
|
2773
2773
|
request_headers = {}
|
@@ -2782,7 +2782,7 @@ module Azure::ARM::Web
|
|
2782
2782
|
options = {
|
2783
2783
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2784
2784
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'workerPoolName' => worker_pool_name,'subscriptionId' => @client.subscription_id},
|
2785
|
-
query_params: {'api-version' => api_version},
|
2785
|
+
query_params: {'api-version' => @client.api_version},
|
2786
2786
|
headers: request_headers.merge(custom_headers || {}),
|
2787
2787
|
base_url: request_url
|
2788
2788
|
}
|
@@ -2802,7 +2802,7 @@ module Azure::ARM::Web
|
|
2802
2802
|
if status_code == 200
|
2803
2803
|
begin
|
2804
2804
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2805
|
-
result_mapper = Azure::
|
2805
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
|
2806
2806
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
2807
2807
|
rescue Exception => e
|
2808
2808
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -2856,7 +2856,7 @@ module Azure::ARM::Web
|
|
2856
2856
|
promise = promise.then do |response|
|
2857
2857
|
# Defining deserialization method.
|
2858
2858
|
deserialize_method = lambda do |parsed_response|
|
2859
|
-
result_mapper = Azure::
|
2859
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
|
2860
2860
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
2861
2861
|
end
|
2862
2862
|
|
@@ -2933,7 +2933,7 @@ module Azure::ARM::Web
|
|
2933
2933
|
fail ArgumentError, 'worker_pool_name is nil' if worker_pool_name.nil?
|
2934
2934
|
fail ArgumentError, 'instance is nil' if instance.nil?
|
2935
2935
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2936
|
-
api_version
|
2936
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2937
2937
|
|
2938
2938
|
|
2939
2939
|
request_headers = {}
|
@@ -2948,7 +2948,7 @@ module Azure::ARM::Web
|
|
2948
2948
|
options = {
|
2949
2949
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2950
2950
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'workerPoolName' => worker_pool_name,'instance' => instance,'subscriptionId' => @client.subscription_id},
|
2951
|
-
query_params: {'api-version' => api_version},
|
2951
|
+
query_params: {'api-version' => @client.api_version},
|
2952
2952
|
headers: request_headers.merge(custom_headers || {}),
|
2953
2953
|
base_url: request_url
|
2954
2954
|
}
|
@@ -2968,7 +2968,7 @@ module Azure::ARM::Web
|
|
2968
2968
|
if status_code == 200
|
2969
2969
|
begin
|
2970
2970
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2971
|
-
result_mapper = Azure::
|
2971
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection.mapper()
|
2972
2972
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
2973
2973
|
rescue Exception => e
|
2974
2974
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3065,7 +3065,7 @@ module Azure::ARM::Web
|
|
3065
3065
|
fail ArgumentError, 'worker_pool_name is nil' if worker_pool_name.nil?
|
3066
3066
|
fail ArgumentError, 'instance is nil' if instance.nil?
|
3067
3067
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
3068
|
-
api_version
|
3068
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
3069
3069
|
|
3070
3070
|
|
3071
3071
|
request_headers = {}
|
@@ -3080,7 +3080,7 @@ module Azure::ARM::Web
|
|
3080
3080
|
options = {
|
3081
3081
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
3082
3082
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'workerPoolName' => worker_pool_name,'instance' => instance,'subscriptionId' => @client.subscription_id},
|
3083
|
-
query_params: {'details' => details,'api-version' => api_version},
|
3083
|
+
query_params: {'details' => details,'api-version' => @client.api_version},
|
3084
3084
|
skip_encoding_query_params: {'$filter' => filter},
|
3085
3085
|
headers: request_headers.merge(custom_headers || {}),
|
3086
3086
|
base_url: request_url
|
@@ -3101,7 +3101,7 @@ module Azure::ARM::Web
|
|
3101
3101
|
if status_code == 200
|
3102
3102
|
begin
|
3103
3103
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
3104
|
-
result_mapper = Azure::
|
3104
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection.mapper()
|
3105
3105
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
3106
3106
|
rescue Exception => e
|
3107
3107
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3170,7 +3170,7 @@ module Azure::ARM::Web
|
|
3170
3170
|
fail ArgumentError, 'name is nil' if name.nil?
|
3171
3171
|
fail ArgumentError, 'worker_pool_name is nil' if worker_pool_name.nil?
|
3172
3172
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
3173
|
-
api_version
|
3173
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
3174
3174
|
|
3175
3175
|
|
3176
3176
|
request_headers = {}
|
@@ -3185,7 +3185,7 @@ module Azure::ARM::Web
|
|
3185
3185
|
options = {
|
3186
3186
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
3187
3187
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'workerPoolName' => worker_pool_name,'subscriptionId' => @client.subscription_id},
|
3188
|
-
query_params: {'api-version' => api_version},
|
3188
|
+
query_params: {'api-version' => @client.api_version},
|
3189
3189
|
headers: request_headers.merge(custom_headers || {}),
|
3190
3190
|
base_url: request_url
|
3191
3191
|
}
|
@@ -3205,7 +3205,7 @@ module Azure::ARM::Web
|
|
3205
3205
|
if status_code == 200
|
3206
3206
|
begin
|
3207
3207
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
3208
|
-
result_mapper = Azure::
|
3208
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection.mapper()
|
3209
3209
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
3210
3210
|
rescue Exception => e
|
3211
3211
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3298,7 +3298,7 @@ module Azure::ARM::Web
|
|
3298
3298
|
fail ArgumentError, 'name is nil' if name.nil?
|
3299
3299
|
fail ArgumentError, 'worker_pool_name is nil' if worker_pool_name.nil?
|
3300
3300
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
3301
|
-
api_version
|
3301
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
3302
3302
|
|
3303
3303
|
|
3304
3304
|
request_headers = {}
|
@@ -3313,7 +3313,7 @@ module Azure::ARM::Web
|
|
3313
3313
|
options = {
|
3314
3314
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
3315
3315
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'workerPoolName' => worker_pool_name,'subscriptionId' => @client.subscription_id},
|
3316
|
-
query_params: {'details' => details,'api-version' => api_version},
|
3316
|
+
query_params: {'details' => details,'api-version' => @client.api_version},
|
3317
3317
|
skip_encoding_query_params: {'$filter' => filter},
|
3318
3318
|
headers: request_headers.merge(custom_headers || {}),
|
3319
3319
|
base_url: request_url
|
@@ -3334,7 +3334,7 @@ module Azure::ARM::Web
|
|
3334
3334
|
if status_code == 200
|
3335
3335
|
begin
|
3336
3336
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
3337
|
-
result_mapper = Azure::
|
3337
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection.mapper()
|
3338
3338
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
3339
3339
|
rescue Exception => e
|
3340
3340
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3403,7 +3403,7 @@ module Azure::ARM::Web
|
|
3403
3403
|
fail ArgumentError, 'name is nil' if name.nil?
|
3404
3404
|
fail ArgumentError, 'worker_pool_name is nil' if worker_pool_name.nil?
|
3405
3405
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
3406
|
-
api_version
|
3406
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
3407
3407
|
|
3408
3408
|
|
3409
3409
|
request_headers = {}
|
@@ -3418,7 +3418,7 @@ module Azure::ARM::Web
|
|
3418
3418
|
options = {
|
3419
3419
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
3420
3420
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'workerPoolName' => worker_pool_name,'subscriptionId' => @client.subscription_id},
|
3421
|
-
query_params: {'api-version' => api_version},
|
3421
|
+
query_params: {'api-version' => @client.api_version},
|
3422
3422
|
headers: request_headers.merge(custom_headers || {}),
|
3423
3423
|
base_url: request_url
|
3424
3424
|
}
|
@@ -3438,7 +3438,7 @@ module Azure::ARM::Web
|
|
3438
3438
|
if status_code == 200
|
3439
3439
|
begin
|
3440
3440
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
3441
|
-
result_mapper = Azure::
|
3441
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection.mapper()
|
3442
3442
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
3443
3443
|
rescue Exception => e
|
3444
3444
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3507,7 +3507,7 @@ module Azure::ARM::Web
|
|
3507
3507
|
fail ArgumentError, 'name is nil' if name.nil?
|
3508
3508
|
fail ArgumentError, 'worker_pool_name is nil' if worker_pool_name.nil?
|
3509
3509
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
3510
|
-
api_version
|
3510
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
3511
3511
|
|
3512
3512
|
|
3513
3513
|
request_headers = {}
|
@@ -3522,7 +3522,7 @@ module Azure::ARM::Web
|
|
3522
3522
|
options = {
|
3523
3523
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
3524
3524
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'workerPoolName' => worker_pool_name,'subscriptionId' => @client.subscription_id},
|
3525
|
-
query_params: {'api-version' => api_version},
|
3525
|
+
query_params: {'api-version' => @client.api_version},
|
3526
3526
|
headers: request_headers.merge(custom_headers || {}),
|
3527
3527
|
base_url: request_url
|
3528
3528
|
}
|
@@ -3542,7 +3542,7 @@ module Azure::ARM::Web
|
|
3542
3542
|
if status_code == 200
|
3543
3543
|
begin
|
3544
3544
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
3545
|
-
result_mapper = Azure::
|
3545
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection.mapper()
|
3546
3546
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
3547
3547
|
rescue Exception => e
|
3548
3548
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3614,7 +3614,7 @@ module Azure::ARM::Web
|
|
3614
3614
|
fail ArgumentError, 'name is nil' if name.nil?
|
3615
3615
|
fail ArgumentError, 'hosting_environment_envelope is nil' if hosting_environment_envelope.nil?
|
3616
3616
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
3617
|
-
api_version
|
3617
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
3618
3618
|
|
3619
3619
|
|
3620
3620
|
request_headers = {}
|
@@ -3626,7 +3626,7 @@ module Azure::ARM::Web
|
|
3626
3626
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
3627
3627
|
|
3628
3628
|
# Serialize Request
|
3629
|
-
request_mapper = Azure::
|
3629
|
+
request_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource.mapper()
|
3630
3630
|
request_content = @client.serialize(request_mapper, hosting_environment_envelope)
|
3631
3631
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
3632
3632
|
|
@@ -3637,7 +3637,7 @@ module Azure::ARM::Web
|
|
3637
3637
|
options = {
|
3638
3638
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
3639
3639
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
3640
|
-
query_params: {'api-version' => api_version},
|
3640
|
+
query_params: {'api-version' => @client.api_version},
|
3641
3641
|
body: request_content,
|
3642
3642
|
headers: request_headers.merge(custom_headers || {}),
|
3643
3643
|
base_url: request_url
|
@@ -3658,7 +3658,7 @@ module Azure::ARM::Web
|
|
3658
3658
|
if status_code == 200
|
3659
3659
|
begin
|
3660
3660
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
3661
|
-
result_mapper = Azure::
|
3661
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource.mapper()
|
3662
3662
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
3663
3663
|
rescue Exception => e
|
3664
3664
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3668,7 +3668,7 @@ module Azure::ARM::Web
|
|
3668
3668
|
if status_code == 202
|
3669
3669
|
begin
|
3670
3670
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
3671
|
-
result_mapper = Azure::
|
3671
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource.mapper()
|
3672
3672
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
3673
3673
|
rescue Exception => e
|
3674
3674
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3741,7 +3741,7 @@ module Azure::ARM::Web
|
|
3741
3741
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
3742
3742
|
fail ArgumentError, 'name is nil' if name.nil?
|
3743
3743
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
3744
|
-
api_version
|
3744
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
3745
3745
|
|
3746
3746
|
|
3747
3747
|
request_headers = {}
|
@@ -3756,7 +3756,7 @@ module Azure::ARM::Web
|
|
3756
3756
|
options = {
|
3757
3757
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
3758
3758
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
3759
|
-
query_params: {'forceDelete' => force_delete,'api-version' => api_version},
|
3759
|
+
query_params: {'forceDelete' => force_delete,'api-version' => @client.api_version},
|
3760
3760
|
headers: request_headers.merge(custom_headers || {}),
|
3761
3761
|
base_url: request_url
|
3762
3762
|
}
|
@@ -3838,7 +3838,7 @@ module Azure::ARM::Web
|
|
3838
3838
|
fail ArgumentError, 'name is nil' if name.nil?
|
3839
3839
|
fail ArgumentError, 'multi_role_pool_envelope is nil' if multi_role_pool_envelope.nil?
|
3840
3840
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
3841
|
-
api_version
|
3841
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
3842
3842
|
|
3843
3843
|
|
3844
3844
|
request_headers = {}
|
@@ -3850,7 +3850,7 @@ module Azure::ARM::Web
|
|
3850
3850
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
3851
3851
|
|
3852
3852
|
# Serialize Request
|
3853
|
-
request_mapper = Azure::
|
3853
|
+
request_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
|
3854
3854
|
request_content = @client.serialize(request_mapper, multi_role_pool_envelope)
|
3855
3855
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
3856
3856
|
|
@@ -3861,7 +3861,7 @@ module Azure::ARM::Web
|
|
3861
3861
|
options = {
|
3862
3862
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
3863
3863
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
3864
|
-
query_params: {'api-version' => api_version},
|
3864
|
+
query_params: {'api-version' => @client.api_version},
|
3865
3865
|
body: request_content,
|
3866
3866
|
headers: request_headers.merge(custom_headers || {}),
|
3867
3867
|
base_url: request_url
|
@@ -3882,7 +3882,7 @@ module Azure::ARM::Web
|
|
3882
3882
|
if status_code == 200
|
3883
3883
|
begin
|
3884
3884
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
3885
|
-
result_mapper = Azure::
|
3885
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
|
3886
3886
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
3887
3887
|
rescue Exception => e
|
3888
3888
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3892,7 +3892,7 @@ module Azure::ARM::Web
|
|
3892
3892
|
if status_code == 202
|
3893
3893
|
begin
|
3894
3894
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
3895
|
-
result_mapper = Azure::
|
3895
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
|
3896
3896
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
3897
3897
|
rescue Exception => e
|
3898
3898
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3957,7 +3957,7 @@ module Azure::ARM::Web
|
|
3957
3957
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
3958
3958
|
fail ArgumentError, 'name is nil' if name.nil?
|
3959
3959
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
3960
|
-
api_version
|
3960
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
3961
3961
|
|
3962
3962
|
|
3963
3963
|
request_headers = {}
|
@@ -3972,7 +3972,7 @@ module Azure::ARM::Web
|
|
3972
3972
|
options = {
|
3973
3973
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
3974
3974
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
3975
|
-
query_params: {'api-version' => api_version},
|
3975
|
+
query_params: {'api-version' => @client.api_version},
|
3976
3976
|
headers: request_headers.merge(custom_headers || {}),
|
3977
3977
|
base_url: request_url
|
3978
3978
|
}
|
@@ -3992,7 +3992,7 @@ module Azure::ARM::Web
|
|
3992
3992
|
if status_code == 200
|
3993
3993
|
begin
|
3994
3994
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
3995
|
-
result_mapper = Azure::
|
3995
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
3996
3996
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
3997
3997
|
rescue Exception => e
|
3998
3998
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4002,7 +4002,7 @@ module Azure::ARM::Web
|
|
4002
4002
|
if status_code == 202
|
4003
4003
|
begin
|
4004
4004
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4005
|
-
result_mapper = Azure::
|
4005
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
4006
4006
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
4007
4007
|
rescue Exception => e
|
4008
4008
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4067,7 +4067,7 @@ module Azure::ARM::Web
|
|
4067
4067
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
4068
4068
|
fail ArgumentError, 'name is nil' if name.nil?
|
4069
4069
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
4070
|
-
api_version
|
4070
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
4071
4071
|
|
4072
4072
|
|
4073
4073
|
request_headers = {}
|
@@ -4082,7 +4082,7 @@ module Azure::ARM::Web
|
|
4082
4082
|
options = {
|
4083
4083
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
4084
4084
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
4085
|
-
query_params: {'api-version' => api_version},
|
4085
|
+
query_params: {'api-version' => @client.api_version},
|
4086
4086
|
headers: request_headers.merge(custom_headers || {}),
|
4087
4087
|
base_url: request_url
|
4088
4088
|
}
|
@@ -4102,7 +4102,7 @@ module Azure::ARM::Web
|
|
4102
4102
|
if status_code == 200
|
4103
4103
|
begin
|
4104
4104
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4105
|
-
result_mapper = Azure::
|
4105
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
4106
4106
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
4107
4107
|
rescue Exception => e
|
4108
4108
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4112,7 +4112,7 @@ module Azure::ARM::Web
|
|
4112
4112
|
if status_code == 202
|
4113
4113
|
begin
|
4114
4114
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4115
|
-
result_mapper = Azure::
|
4115
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
4116
4116
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
4117
4117
|
rescue Exception => e
|
4118
4118
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4188,7 +4188,7 @@ module Azure::ARM::Web
|
|
4188
4188
|
fail ArgumentError, 'worker_pool_name is nil' if worker_pool_name.nil?
|
4189
4189
|
fail ArgumentError, 'worker_pool_envelope is nil' if worker_pool_envelope.nil?
|
4190
4190
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
4191
|
-
api_version
|
4191
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
4192
4192
|
|
4193
4193
|
|
4194
4194
|
request_headers = {}
|
@@ -4200,7 +4200,7 @@ module Azure::ARM::Web
|
|
4200
4200
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
4201
4201
|
|
4202
4202
|
# Serialize Request
|
4203
|
-
request_mapper = Azure::
|
4203
|
+
request_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
|
4204
4204
|
request_content = @client.serialize(request_mapper, worker_pool_envelope)
|
4205
4205
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
4206
4206
|
|
@@ -4211,7 +4211,7 @@ module Azure::ARM::Web
|
|
4211
4211
|
options = {
|
4212
4212
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
4213
4213
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'workerPoolName' => worker_pool_name,'subscriptionId' => @client.subscription_id},
|
4214
|
-
query_params: {'api-version' => api_version},
|
4214
|
+
query_params: {'api-version' => @client.api_version},
|
4215
4215
|
body: request_content,
|
4216
4216
|
headers: request_headers.merge(custom_headers || {}),
|
4217
4217
|
base_url: request_url
|
@@ -4232,7 +4232,7 @@ module Azure::ARM::Web
|
|
4232
4232
|
if status_code == 200
|
4233
4233
|
begin
|
4234
4234
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4235
|
-
result_mapper = Azure::
|
4235
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
|
4236
4236
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
4237
4237
|
rescue Exception => e
|
4238
4238
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4242,7 +4242,7 @@ module Azure::ARM::Web
|
|
4242
4242
|
if status_code == 202
|
4243
4243
|
begin
|
4244
4244
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4245
|
-
result_mapper = Azure::
|
4245
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
|
4246
4246
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
4247
4247
|
rescue Exception => e
|
4248
4248
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4335,7 +4335,7 @@ module Azure::ARM::Web
|
|
4335
4335
|
if status_code == 200
|
4336
4336
|
begin
|
4337
4337
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4338
|
-
result_mapper = Azure::
|
4338
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection.mapper()
|
4339
4339
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
4340
4340
|
rescue Exception => e
|
4341
4341
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4428,7 +4428,7 @@ module Azure::ARM::Web
|
|
4428
4428
|
if status_code == 200
|
4429
4429
|
begin
|
4430
4430
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4431
|
-
result_mapper = Azure::
|
4431
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection.mapper()
|
4432
4432
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
4433
4433
|
rescue Exception => e
|
4434
4434
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4527,7 +4527,7 @@ module Azure::ARM::Web
|
|
4527
4527
|
if status_code == 200
|
4528
4528
|
begin
|
4529
4529
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4530
|
-
result_mapper = Azure::
|
4530
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection.mapper()
|
4531
4531
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
4532
4532
|
rescue Exception => e
|
4533
4533
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4620,7 +4620,7 @@ module Azure::ARM::Web
|
|
4620
4620
|
if status_code == 200
|
4621
4621
|
begin
|
4622
4622
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4623
|
-
result_mapper = Azure::
|
4623
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection.mapper()
|
4624
4624
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
4625
4625
|
rescue Exception => e
|
4626
4626
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4713,7 +4713,7 @@ module Azure::ARM::Web
|
|
4713
4713
|
if status_code == 200
|
4714
4714
|
begin
|
4715
4715
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4716
|
-
result_mapper = Azure::
|
4716
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection.mapper()
|
4717
4717
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
4718
4718
|
rescue Exception => e
|
4719
4719
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4812,7 +4812,7 @@ module Azure::ARM::Web
|
|
4812
4812
|
if status_code == 200
|
4813
4813
|
begin
|
4814
4814
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4815
|
-
result_mapper = Azure::
|
4815
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection.mapper()
|
4816
4816
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
4817
4817
|
rescue Exception => e
|
4818
4818
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -4911,7 +4911,7 @@ module Azure::ARM::Web
|
|
4911
4911
|
if status_code == 200
|
4912
4912
|
begin
|
4913
4913
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
4914
|
-
result_mapper = Azure::
|
4914
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection.mapper()
|
4915
4915
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
4916
4916
|
rescue Exception => e
|
4917
4917
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -5004,7 +5004,7 @@ module Azure::ARM::Web
|
|
5004
5004
|
if status_code == 200
|
5005
5005
|
begin
|
5006
5006
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5007
|
-
result_mapper = Azure::
|
5007
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection.mapper()
|
5008
5008
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
5009
5009
|
rescue Exception => e
|
5010
5010
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -5097,7 +5097,7 @@ module Azure::ARM::Web
|
|
5097
5097
|
if status_code == 200
|
5098
5098
|
begin
|
5099
5099
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5100
|
-
result_mapper = Azure::
|
5100
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection.mapper()
|
5101
5101
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
5102
5102
|
rescue Exception => e
|
5103
5103
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -5190,7 +5190,7 @@ module Azure::ARM::Web
|
|
5190
5190
|
if status_code == 200
|
5191
5191
|
begin
|
5192
5192
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5193
|
-
result_mapper = Azure::
|
5193
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection.mapper()
|
5194
5194
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
5195
5195
|
rescue Exception => e
|
5196
5196
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -5283,7 +5283,7 @@ module Azure::ARM::Web
|
|
5283
5283
|
if status_code == 200
|
5284
5284
|
begin
|
5285
5285
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5286
|
-
result_mapper = Azure::
|
5286
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection.mapper()
|
5287
5287
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
5288
5288
|
rescue Exception => e
|
5289
5289
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -5329,7 +5329,7 @@ module Azure::ARM::Web
|
|
5329
5329
|
promise = promise.then do |response|
|
5330
5330
|
# Defining deserialization method.
|
5331
5331
|
deserialize_method = lambda do |parsed_response|
|
5332
|
-
result_mapper = Azure::
|
5332
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
5333
5333
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
5334
5334
|
end
|
5335
5335
|
|
@@ -5420,7 +5420,7 @@ module Azure::ARM::Web
|
|
5420
5420
|
if status_code == 200
|
5421
5421
|
begin
|
5422
5422
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5423
|
-
result_mapper = Azure::
|
5423
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection.mapper()
|
5424
5424
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
5425
5425
|
rescue Exception => e
|
5426
5426
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -5513,7 +5513,7 @@ module Azure::ARM::Web
|
|
5513
5513
|
if status_code == 200
|
5514
5514
|
begin
|
5515
5515
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5516
|
-
result_mapper = Azure::
|
5516
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
5517
5517
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
5518
5518
|
rescue Exception => e
|
5519
5519
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -5559,7 +5559,7 @@ module Azure::ARM::Web
|
|
5559
5559
|
promise = promise.then do |response|
|
5560
5560
|
# Defining deserialization method.
|
5561
5561
|
deserialize_method = lambda do |parsed_response|
|
5562
|
-
result_mapper = Azure::
|
5562
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
5563
5563
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
5564
5564
|
end
|
5565
5565
|
|
@@ -5650,7 +5650,7 @@ module Azure::ARM::Web
|
|
5650
5650
|
if status_code == 200
|
5651
5651
|
begin
|
5652
5652
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5653
|
-
result_mapper = Azure::
|
5653
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection.mapper()
|
5654
5654
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
5655
5655
|
rescue Exception => e
|
5656
5656
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -5743,7 +5743,7 @@ module Azure::ARM::Web
|
|
5743
5743
|
if status_code == 200
|
5744
5744
|
begin
|
5745
5745
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5746
|
-
result_mapper = Azure::
|
5746
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection.mapper()
|
5747
5747
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
5748
5748
|
rescue Exception => e
|
5749
5749
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -5842,7 +5842,7 @@ module Azure::ARM::Web
|
|
5842
5842
|
if status_code == 200
|
5843
5843
|
begin
|
5844
5844
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5845
|
-
result_mapper = Azure::
|
5845
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection.mapper()
|
5846
5846
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
5847
5847
|
rescue Exception => e
|
5848
5848
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -5941,7 +5941,7 @@ module Azure::ARM::Web
|
|
5941
5941
|
if status_code == 200
|
5942
5942
|
begin
|
5943
5943
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
5944
|
-
result_mapper = Azure::
|
5944
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection.mapper()
|
5945
5945
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
5946
5946
|
rescue Exception => e
|
5947
5947
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -6034,7 +6034,7 @@ module Azure::ARM::Web
|
|
6034
6034
|
if status_code == 200
|
6035
6035
|
begin
|
6036
6036
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
6037
|
-
result_mapper = Azure::
|
6037
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection.mapper()
|
6038
6038
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
6039
6039
|
rescue Exception => e
|
6040
6040
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -6133,7 +6133,7 @@ module Azure::ARM::Web
|
|
6133
6133
|
if status_code == 200
|
6134
6134
|
begin
|
6135
6135
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
6136
|
-
result_mapper = Azure::
|
6136
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection.mapper()
|
6137
6137
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
6138
6138
|
rescue Exception => e
|
6139
6139
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -6226,7 +6226,7 @@ module Azure::ARM::Web
|
|
6226
6226
|
if status_code == 200
|
6227
6227
|
begin
|
6228
6228
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
6229
|
-
result_mapper = Azure::
|
6229
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection.mapper()
|
6230
6230
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
6231
6231
|
rescue Exception => e
|
6232
6232
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -6319,7 +6319,7 @@ module Azure::ARM::Web
|
|
6319
6319
|
if status_code == 200
|
6320
6320
|
begin
|
6321
6321
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
6322
|
-
result_mapper = Azure::
|
6322
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection.mapper()
|
6323
6323
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
6324
6324
|
rescue Exception => e
|
6325
6325
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -6412,7 +6412,7 @@ module Azure::ARM::Web
|
|
6412
6412
|
if status_code == 200
|
6413
6413
|
begin
|
6414
6414
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
6415
|
-
result_mapper = Azure::
|
6415
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
6416
6416
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
6417
6417
|
rescue Exception => e
|
6418
6418
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -6422,7 +6422,7 @@ module Azure::ARM::Web
|
|
6422
6422
|
if status_code == 202
|
6423
6423
|
begin
|
6424
6424
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
6425
|
-
result_mapper = Azure::
|
6425
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
6426
6426
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
6427
6427
|
rescue Exception => e
|
6428
6428
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -6515,7 +6515,7 @@ module Azure::ARM::Web
|
|
6515
6515
|
if status_code == 200
|
6516
6516
|
begin
|
6517
6517
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
6518
|
-
result_mapper = Azure::
|
6518
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
6519
6519
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
6520
6520
|
rescue Exception => e
|
6521
6521
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -6525,7 +6525,7 @@ module Azure::ARM::Web
|
|
6525
6525
|
if status_code == 202
|
6526
6526
|
begin
|
6527
6527
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
6528
|
-
result_mapper = Azure::
|
6528
|
+
result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection.mapper()
|
6529
6529
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
6530
6530
|
rescue Exception => e
|
6531
6531
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|