azure_mgmt_web 0.16.0 → 0.17.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 +41 -39
- data/lib/2015-04-01/generated/azure_mgmt_web/domain_registration_provider.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_web/domains.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
- data/lib/2015-04-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
- data/lib/2015-04-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
- data/lib/2015-04-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2015-04-01/generated/azure_mgmt_web/top_level_domains.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_web/web_site_management_client.rb +11 -10
- data/lib/2015-08-01/generated/azure_mgmt_web.rb +2 -0
- data/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_web/certificate_registration_provider.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
- data/lib/2015-08-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
- data/lib/2015-08-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
- data/lib/2015-08-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2015-08-01/generated/azure_mgmt_web/web_site_management_client.rb +7 -6
- data/lib/2016-03-01/generated/azure_mgmt_web.rb +76 -52
- data/lib/2016-03-01/generated/azure_mgmt_web/billing_meters.rb +235 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/certificates.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/deleted_web_apps.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/diagnostics.rb +1143 -111
- data/lib/2016-03-01/generated/azure_mgmt_web/models/application_stack.rb +109 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/application_stack_collection.rb +99 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/billing_meter.rb +126 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/billing_meter_collection.rb +99 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/data_table_response_column.rb +68 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/data_table_response_object.rb +94 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/default_error_response.rb +48 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/default_error_response_error.rb +104 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/default_error_response_error_details_item.rb +72 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_info.rb +83 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_response.rb +102 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_response_collection.rb +99 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/diagnostic_data.rb +60 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
- data/lib/2016-03-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation.rb +57 -22
- data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation_collection.rb +99 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation_rule.rb +49 -14
- data/lib/2016-03-01/generated/azure_mgmt_web/models/rendering.rb +71 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/rendering_type.rb +18 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata.rb +93 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata_collection.rb +99 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/stack_major_version.rb +90 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/stack_minor_version.rb +69 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/provider.rb +277 -17
- data/lib/2016-03-01/generated/azure_mgmt_web/recommendations.rb +582 -67
- data/lib/2016-03-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb +1161 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb +16 -6
- data/lib/2016-08-01/generated/azure_mgmt_web.rb +2 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
- data/lib/2016-08-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/models/site_config_resource.rb +26 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/web_apps.rb +87 -102
- data/lib/2016-08-01/generated/azure_mgmt_web/web_site_management_client.rb +7 -6
- data/lib/2016-09-01/generated/azure_mgmt_web.rb +2 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/app_service_environments.rb +3 -3
- data/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
- data/lib/2016-09-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb +7 -6
- data/lib/2018-02-01/generated/azure_mgmt_web.rb +369 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +2651 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb +8089 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb +4314 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/certificate_registration_provider.rb +243 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/certificates.rb +882 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/deleted_web_apps.rb +231 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/diagnostics.rb +3845 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/domain_registration_provider.rb +243 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/domains.rb +2145 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/abnormal_time_period.rb +98 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/access_control_entry_action.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/address.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/address_response.rb +97 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/analysis_data.rb +118 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/analysis_definition.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/api_definition_info.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate.rb +76 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order.rb +359 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order_patch_resource.rb +335 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_patch_resource.rb +112 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_resource.rb +136 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment.rb +570 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_patch_resource.rb +605 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb +629 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan.rb +329 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb +293 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_restrictions.rb +20 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/application_logs_config.rb +74 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/application_stack.rb +109 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/application_stack_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_actions.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_rules.rb +61 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_resource_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item.rb +257 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item_status.rb +24 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_request.rb +128 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_restore_operation_type.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_schedule.rb +116 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter.rb +137 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/built_in_authentication_provider.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/capability.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate.rb +335 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_details.rb +143 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_email.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_order_action.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_order_action_type.rb +28 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_order_status.rb +24 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb +311 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_product_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/channels.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/check_name_resource_types.rb +22 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/clone_ability_result.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb +170 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/compute_mode_options.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/conn_string_info.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/connection_string_dictionary.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/connection_string_type.rb +25 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb +138 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job.rb +192 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job_status.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/cors_settings.rb +56 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_description.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_display.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +49 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_slot_entity.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_usage_quota.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/custom_hostname_analysis_result.rb +249 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/data_source.rb +74 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/data_table_response_column.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/data_table_response_object.rb +94 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/database_backup_setting.rb +84 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/database_type.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/default_error_response.rb +48 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/default_error_response_error.rb +104 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/default_error_response_error_details_item.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_app_restore_request.rb +107 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_site.rb +107 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment.rb +170 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment_locations.rb +98 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_abnormal_time_period.rb +153 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_definition.rb +118 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_info.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_response.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_response_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_analysis.rb +153 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_analysis_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_category.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_category_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_data.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb +197 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_metric_sample.rb +109 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_metric_set.rb +113 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/dimension.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/dns_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/dns_verification_test_result.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain.rb +372 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_availablility_check_result.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_ownership_identifier.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_patch_resource.rb +348 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_purchase_consent.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_status.rb +35 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/enabled_config.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/error_entity.rb +118 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/experiments.rb +55 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +49 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +78 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/frequency_unit.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/ftps_state.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/function_envelope.rb +177 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/function_envelope_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/function_secrets.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/geo_region.rb +94 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/geo_region_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb +131 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/handler_mapping.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name.rb +119 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_binding.rb +179 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_binding_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb +106 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_status.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/http_logs_config.rb +61 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection.rb +163 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb +95 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_limits.rb +95 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/identifier.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/identifier_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/in_availability_reason_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/ip_filter_tag.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/ip_security_restriction.rb +120 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/issue_type.rb +22 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb +25 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/localizable_string.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/log_level.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/log_specification.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/managed_service_identity.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_availabilily.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_availability.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_definition.rb +128 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_specification.rb +218 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_request.rb +94 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_status.rb +108 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy.rb +165 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_log.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_log_entry.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_log_entry_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_provisioning_state.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_status.rb +132 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/my_sql_migration_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/name_identifier.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/name_identifier_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/name_value_pair.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/network_access_control_entry.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/network_features.rb +140 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/notification_level.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/operation.rb +135 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/operation_status.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_response.rb +69 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_sample.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_set.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on.rb +149 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_offer.rb +184 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_patch_resource.rb +125 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/private_access.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/private_access_subnet.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/private_access_virtual_network.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_info.rb +509 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_info_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_module_info.rb +192 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_module_info_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_thread_info.rb +214 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_thread_info_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/provisioning_state.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate.rb +106 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate_location.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/publishing_profile_format.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/push_settings.rb +123 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/ramp_up_rule.rb +141 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation.rb +360 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation_rule.rb +237 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +116 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +147 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/rendering.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/rendering_type.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +104 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/requests_based_trigger.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource.rb +112 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_collection.rb +98 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric.rb +163 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_definition.rb +148 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_name.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_value.rb +129 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_name_availability.rb +78 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_name_availability_request.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_scope_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/response_meta_data.rb +48 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb +217 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/route_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/scm_type.rb +27 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/service_specification.rb +76 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site.rb +554 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_auth_settings.rb +477 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_availability_state.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_cloneability.rb +113 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config.rb +676 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config_resource.rb +711 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config_resource_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info.rb +94 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info_collection.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_info.rb +301 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_info_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_instance.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_limits.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_load_balancing.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_logs_config.rb +118 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_machine_key.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_patch_resource.rb +518 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_php_error_log_flag.rb +114 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_seal.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_seal_request.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_source_control.rb +129 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_capacity.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb +142 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_info.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_info_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_infos.rb +67 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_name.rb +22 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_config_names_resource.rb +108 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_difference.rb +157 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_difference_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_swap_status.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_collection.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb +62 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_restore_request.rb +133 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/solution.rb +148 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/solution_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/source_control.rb +114 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/source_control_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/ssl_state.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/stack_major_version.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/stack_minor_version.rb +69 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/stamp_capacity.rb +167 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/status_options.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/storage_migration_options.rb +119 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/storage_migration_response.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/string_dictionary.rb +89 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/swift_virtual_network.rb +96 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/tld_legal_agreement.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +61 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_history.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_history_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_run.rb +193 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job.rb +191 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job_status.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/unauthenticated_client_action.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/usage.rb +168 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/usage_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/usage_state.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/user.rb +125 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_request.rb +155 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_resource_types.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_response.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_response_error.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_application.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_directory.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_network_profile.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_gateway.rb +93 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_info.rb +153 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_parameters.rb +103 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_route.rb +115 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_validation_failure_details.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_validation_test_failure.rb +93 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_app_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_app_instance_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job.rb +157 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool_resource.rb +149 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_size_options.rb +21 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/module_definition.rb +9 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/provider.rb +661 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb +1331 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/top_level_domains.rb +566 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/web_apps.rb +45908 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/web_site_management_client.rb +2701 -0
- data/lib/azure_mgmt_web.rb +3 -2
- data/lib/profiles/latest/modules/web_profile_module.rb +1045 -969
- data/lib/version.rb +1 -1
- metadata +382 -5
@@ -24,15 +24,16 @@ module Azure::Web::Mgmt::V2016_03_01
|
|
24
24
|
# @return [String] API Version
|
25
25
|
attr_reader :api_version
|
26
26
|
|
27
|
-
# @return [String]
|
27
|
+
# @return [String] The preferred language for the response.
|
28
28
|
attr_accessor :accept_language
|
29
29
|
|
30
|
-
# @return [Integer]
|
31
|
-
#
|
30
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
31
|
+
# Operations. Default value is 30.
|
32
32
|
attr_accessor :long_running_operation_retry_timeout
|
33
33
|
|
34
|
-
# @return [Boolean]
|
35
|
-
#
|
34
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
35
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
36
|
+
# generated and included in each request. Default is true.
|
36
37
|
attr_accessor :generate_client_request_id
|
37
38
|
|
38
39
|
# @return [Certificates] certificates
|
@@ -50,6 +51,13 @@ module Azure::Web::Mgmt::V2016_03_01
|
|
50
51
|
# @return [Recommendations] recommendations
|
51
52
|
attr_reader :recommendations
|
52
53
|
|
54
|
+
# @return [ResourceHealthMetadataOperations]
|
55
|
+
# resource_health_metadata_operations
|
56
|
+
attr_reader :resource_health_metadata_operations
|
57
|
+
|
58
|
+
# @return [BillingMeters] billing_meters
|
59
|
+
attr_reader :billing_meters
|
60
|
+
|
53
61
|
#
|
54
62
|
# Creates initializes a new instance of the WebSiteManagementClient class.
|
55
63
|
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
@@ -68,6 +76,8 @@ module Azure::Web::Mgmt::V2016_03_01
|
|
68
76
|
@diagnostics = Diagnostics.new(self)
|
69
77
|
@provider = Provider.new(self)
|
70
78
|
@recommendations = Recommendations.new(self)
|
79
|
+
@resource_health_metadata_operations = ResourceHealthMetadataOperations.new(self)
|
80
|
+
@billing_meters = BillingMeters.new(self)
|
71
81
|
@api_version = '2016-03-01'
|
72
82
|
@accept_language = 'en-US'
|
73
83
|
@long_running_operation_retry_timeout = 30
|
@@ -2369,7 +2379,7 @@ module Azure::Web::Mgmt::V2016_03_01
|
|
2369
2379
|
#
|
2370
2380
|
def add_telemetry
|
2371
2381
|
sdk_information = 'azure_mgmt_web'
|
2372
|
-
sdk_information = "#{sdk_information}/0.
|
2382
|
+
sdk_information = "#{sdk_information}/0.17.0"
|
2373
2383
|
add_user_agent_information(sdk_information)
|
2374
2384
|
end
|
2375
2385
|
end
|
@@ -188,11 +188,13 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
188
188
|
autoload :ManagedPipelineMode, '2016-08-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb'
|
189
189
|
autoload :SiteLoadBalancing, '2016-08-01/generated/azure_mgmt_web/models/site_load_balancing.rb'
|
190
190
|
autoload :AutoHealActionType, '2016-08-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb'
|
191
|
+
autoload :SupportedTlsVersions, '2016-08-01/generated/azure_mgmt_web/models/supported_tls_versions.rb'
|
191
192
|
autoload :SiteExtensionType, '2016-08-01/generated/azure_mgmt_web/models/site_extension_type.rb'
|
192
193
|
autoload :UsageState, '2016-08-01/generated/azure_mgmt_web/models/usage_state.rb'
|
193
194
|
autoload :SiteAvailabilityState, '2016-08-01/generated/azure_mgmt_web/models/site_availability_state.rb'
|
194
195
|
autoload :HostType, '2016-08-01/generated/azure_mgmt_web/models/host_type.rb'
|
195
196
|
autoload :TriggeredWebJobStatus, '2016-08-01/generated/azure_mgmt_web/models/triggered_web_job_status.rb'
|
197
|
+
autoload :ManagedServiceIdentityType, '2016-08-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb'
|
196
198
|
autoload :StatusOptions, '2016-08-01/generated/azure_mgmt_web/models/status_options.rb'
|
197
199
|
autoload :ProvisioningState, '2016-08-01/generated/azure_mgmt_web/models/provisioning_state.rb'
|
198
200
|
end
|
@@ -12,7 +12,8 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return Type of managed service identity.
|
15
|
+
# @return [ManagedServiceIdentityType] Type of managed service identity.
|
16
|
+
# Possible values include: 'SystemAssigned'
|
16
17
|
attr_accessor :type
|
17
18
|
|
18
19
|
# @return [String] Tenant of managed service identity.
|
@@ -40,7 +41,7 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
40
41
|
required: false,
|
41
42
|
serialized_name: 'type',
|
42
43
|
type: {
|
43
|
-
name: '
|
44
|
+
name: 'String'
|
44
45
|
}
|
45
46
|
},
|
46
47
|
tenant_id: {
|
@@ -0,0 +1,15 @@
|
|
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
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ManagedServiceIdentityType
|
10
|
+
#
|
11
|
+
module ManagedServiceIdentityType
|
12
|
+
SystemAssigned = "SystemAssigned"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -157,6 +157,15 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
157
157
|
# @return [Array<IpSecurityRestriction>] IP security restrictions.
|
158
158
|
attr_accessor :ip_security_restrictions
|
159
159
|
|
160
|
+
# @return [Boolean] Http20Enabled: configures a web site to allow clients
|
161
|
+
# to connect over http2.0. Default value: true .
|
162
|
+
attr_accessor :http20enabled
|
163
|
+
|
164
|
+
# @return [SupportedTlsVersions] MinTlsVersion: configures the minimum
|
165
|
+
# version of TLS required for SSL requests. Possible values include:
|
166
|
+
# '1.0', '1.1', '1.2'
|
167
|
+
attr_accessor :min_tls_version
|
168
|
+
|
160
169
|
|
161
170
|
#
|
162
171
|
# Mapper for SiteConfig class as Ruby Hash.
|
@@ -579,6 +588,23 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
579
588
|
}
|
580
589
|
}
|
581
590
|
}
|
591
|
+
},
|
592
|
+
http20enabled: {
|
593
|
+
client_side_validation: true,
|
594
|
+
required: false,
|
595
|
+
serialized_name: 'http20Enabled',
|
596
|
+
default_value: true,
|
597
|
+
type: {
|
598
|
+
name: 'Boolean'
|
599
|
+
}
|
600
|
+
},
|
601
|
+
min_tls_version: {
|
602
|
+
client_side_validation: true,
|
603
|
+
required: false,
|
604
|
+
serialized_name: 'minTlsVersion',
|
605
|
+
type: {
|
606
|
+
name: 'String'
|
607
|
+
}
|
582
608
|
}
|
583
609
|
}
|
584
610
|
}
|
@@ -157,6 +157,15 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
157
157
|
# @return [Array<IpSecurityRestriction>] IP security restrictions.
|
158
158
|
attr_accessor :ip_security_restrictions
|
159
159
|
|
160
|
+
# @return [Boolean] Http20Enabled: configures a web site to allow clients
|
161
|
+
# to connect over http2.0. Default value: true .
|
162
|
+
attr_accessor :http20enabled
|
163
|
+
|
164
|
+
# @return [SupportedTlsVersions] MinTlsVersion: configures the minimum
|
165
|
+
# version of TLS required for SSL requests. Possible values include:
|
166
|
+
# '1.0', '1.1', '1.2'
|
167
|
+
attr_accessor :min_tls_version
|
168
|
+
|
160
169
|
|
161
170
|
#
|
162
171
|
# Mapper for SiteConfigResource class as Ruby Hash.
|
@@ -614,6 +623,23 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
614
623
|
}
|
615
624
|
}
|
616
625
|
}
|
626
|
+
},
|
627
|
+
http20enabled: {
|
628
|
+
client_side_validation: true,
|
629
|
+
required: false,
|
630
|
+
serialized_name: 'properties.http20Enabled',
|
631
|
+
default_value: true,
|
632
|
+
type: {
|
633
|
+
name: 'Boolean'
|
634
|
+
}
|
635
|
+
},
|
636
|
+
min_tls_version: {
|
637
|
+
client_side_validation: true,
|
638
|
+
required: false,
|
639
|
+
serialized_name: 'properties.minTlsVersion',
|
640
|
+
type: {
|
641
|
+
name: 'String'
|
642
|
+
}
|
617
643
|
}
|
618
644
|
}
|
619
645
|
}
|
@@ -0,0 +1,17 @@
|
|
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
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for SupportedTlsVersions
|
10
|
+
#
|
11
|
+
module SupportedTlsVersions
|
12
|
+
OneFullStopZero = "1.0"
|
13
|
+
OneFullStopOne = "1.1"
|
14
|
+
OneFullStopTwo = "1.2"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
module Azure::Web::Mgmt::V2016_08_01
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# WebSite Management Client
|
9
9
|
#
|
10
10
|
class WebApps
|
11
11
|
include MsRestAzure
|
@@ -337,22 +337,13 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
337
337
|
# update a deployment slot, use the {slot} parameter.
|
338
338
|
# @param site_envelope [Site] A JSON representation of the app properties. See
|
339
339
|
# example.
|
340
|
-
# @param skip_dns_registration [Boolean] If true web app hostname is not
|
341
|
-
# registered with DNS on creation. This parameter is
|
342
|
-
# only used for app creation.
|
343
|
-
# @param skip_custom_domain_verification [Boolean] If true, custom (non
|
344
|
-
# *.azurewebsites.net) domains associated with web app are not verified.
|
345
|
-
# @param force_dns_registration [Boolean] If true, web app hostname is force
|
346
|
-
# registered with DNS.
|
347
|
-
# @param ttl_in_seconds [String] Time to live in seconds for web app's default
|
348
|
-
# domain name.
|
349
340
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
350
341
|
# will be added to the HTTP request.
|
351
342
|
#
|
352
343
|
# @return [Site] operation results.
|
353
344
|
#
|
354
|
-
def create_or_update(resource_group_name, name, site_envelope,
|
355
|
-
response = create_or_update_async(resource_group_name, name, site_envelope,
|
345
|
+
def create_or_update(resource_group_name, name, site_envelope, custom_headers:nil)
|
346
|
+
response = create_or_update_async(resource_group_name, name, site_envelope, custom_headers:custom_headers).value!
|
356
347
|
response.body unless response.nil?
|
357
348
|
end
|
358
349
|
|
@@ -363,24 +354,15 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
363
354
|
# update a deployment slot, use the {slot} parameter.
|
364
355
|
# @param site_envelope [Site] A JSON representation of the app properties. See
|
365
356
|
# example.
|
366
|
-
# @param skip_dns_registration [Boolean] If true web app hostname is not
|
367
|
-
# registered with DNS on creation. This parameter is
|
368
|
-
# only used for app creation.
|
369
|
-
# @param skip_custom_domain_verification [Boolean] If true, custom (non
|
370
|
-
# *.azurewebsites.net) domains associated with web app are not verified.
|
371
|
-
# @param force_dns_registration [Boolean] If true, web app hostname is force
|
372
|
-
# registered with DNS.
|
373
|
-
# @param ttl_in_seconds [String] Time to live in seconds for web app's default
|
374
|
-
# domain name.
|
375
357
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
376
358
|
# will be added to the HTTP request.
|
377
359
|
#
|
378
360
|
# @return [Concurrent::Promise] promise which provides async access to http
|
379
361
|
# response.
|
380
362
|
#
|
381
|
-
def create_or_update_async(resource_group_name, name, site_envelope,
|
363
|
+
def create_or_update_async(resource_group_name, name, site_envelope, custom_headers:nil)
|
382
364
|
# Send request
|
383
|
-
promise = begin_create_or_update_async(resource_group_name, name, site_envelope,
|
365
|
+
promise = begin_create_or_update_async(resource_group_name, name, site_envelope, custom_headers:custom_headers)
|
384
366
|
|
385
367
|
promise = promise.then do |response|
|
386
368
|
# Defining deserialization method.
|
@@ -408,13 +390,12 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
408
390
|
# @param delete_empty_server_farm [Boolean] Specify true if the App Service
|
409
391
|
# plan will be empty after app deletion and you want to delete the empty App
|
410
392
|
# Service plan. By default, the empty App Service plan is not deleted.
|
411
|
-
# @param skip_dns_registration [Boolean] If true, DNS registration is skipped.
|
412
393
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
413
394
|
# will be added to the HTTP request.
|
414
395
|
#
|
415
396
|
#
|
416
|
-
def delete(resource_group_name, name, delete_metrics:nil, delete_empty_server_farm:nil,
|
417
|
-
response = delete_async(resource_group_name, name, delete_metrics:delete_metrics, delete_empty_server_farm:delete_empty_server_farm,
|
397
|
+
def delete(resource_group_name, name, delete_metrics:nil, delete_empty_server_farm:nil, custom_headers:nil)
|
398
|
+
response = delete_async(resource_group_name, name, delete_metrics:delete_metrics, delete_empty_server_farm:delete_empty_server_farm, custom_headers:custom_headers).value!
|
418
399
|
nil
|
419
400
|
end
|
420
401
|
|
@@ -430,14 +411,13 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
430
411
|
# @param delete_empty_server_farm [Boolean] Specify true if the App Service
|
431
412
|
# plan will be empty after app deletion and you want to delete the empty App
|
432
413
|
# Service plan. By default, the empty App Service plan is not deleted.
|
433
|
-
# @param skip_dns_registration [Boolean] If true, DNS registration is skipped.
|
434
414
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
435
415
|
# will be added to the HTTP request.
|
436
416
|
#
|
437
417
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
438
418
|
#
|
439
|
-
def delete_with_http_info(resource_group_name, name, delete_metrics:nil, delete_empty_server_farm:nil,
|
440
|
-
delete_async(resource_group_name, name, delete_metrics:delete_metrics, delete_empty_server_farm:delete_empty_server_farm,
|
419
|
+
def delete_with_http_info(resource_group_name, name, delete_metrics:nil, delete_empty_server_farm:nil, custom_headers:nil)
|
420
|
+
delete_async(resource_group_name, name, delete_metrics:delete_metrics, delete_empty_server_farm:delete_empty_server_farm, custom_headers:custom_headers).value!
|
441
421
|
end
|
442
422
|
|
443
423
|
#
|
@@ -452,13 +432,12 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
452
432
|
# @param delete_empty_server_farm [Boolean] Specify true if the App Service
|
453
433
|
# plan will be empty after app deletion and you want to delete the empty App
|
454
434
|
# Service plan. By default, the empty App Service plan is not deleted.
|
455
|
-
# @param skip_dns_registration [Boolean] If true, DNS registration is skipped.
|
456
435
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
457
436
|
# to the HTTP request.
|
458
437
|
#
|
459
438
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
460
439
|
#
|
461
|
-
def delete_async(resource_group_name, name, delete_metrics:nil, delete_empty_server_farm:nil,
|
440
|
+
def delete_async(resource_group_name, name, delete_metrics:nil, delete_empty_server_farm:nil, custom_headers:nil)
|
462
441
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
463
442
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
464
443
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
@@ -481,7 +460,7 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
481
460
|
options = {
|
482
461
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
483
462
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
484
|
-
query_params: {'deleteMetrics' => delete_metrics,'deleteEmptyServerFarm' => delete_empty_server_farm,'
|
463
|
+
query_params: {'deleteMetrics' => delete_metrics,'deleteEmptyServerFarm' => delete_empty_server_farm,'api-version' => @client.api_version},
|
485
464
|
headers: request_headers.merge(custom_headers || {}),
|
486
465
|
base_url: request_url
|
487
466
|
}
|
@@ -517,22 +496,13 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
517
496
|
# update a deployment slot, use the {slot} parameter.
|
518
497
|
# @param site_envelope [SitePatchResource] A JSON representation of the app
|
519
498
|
# properties. See example.
|
520
|
-
# @param skip_dns_registration [Boolean] If true web app hostname is not
|
521
|
-
# registered with DNS on creation. This parameter is
|
522
|
-
# only used for app creation.
|
523
|
-
# @param skip_custom_domain_verification [Boolean] If true, custom (non
|
524
|
-
# *.azurewebsites.net) domains associated with web app are not verified.
|
525
|
-
# @param force_dns_registration [Boolean] If true, web app hostname is force
|
526
|
-
# registered with DNS.
|
527
|
-
# @param ttl_in_seconds [String] Time to live in seconds for web app's default
|
528
|
-
# domain name.
|
529
499
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
530
500
|
# will be added to the HTTP request.
|
531
501
|
#
|
532
502
|
# @return [Site] operation results.
|
533
503
|
#
|
534
|
-
def update(resource_group_name, name, site_envelope,
|
535
|
-
response = update_async(resource_group_name, name, site_envelope,
|
504
|
+
def update(resource_group_name, name, site_envelope, custom_headers:nil)
|
505
|
+
response = update_async(resource_group_name, name, site_envelope, custom_headers:custom_headers).value!
|
536
506
|
response.body unless response.nil?
|
537
507
|
end
|
538
508
|
|
@@ -549,22 +519,13 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
549
519
|
# update a deployment slot, use the {slot} parameter.
|
550
520
|
# @param site_envelope [SitePatchResource] A JSON representation of the app
|
551
521
|
# properties. See example.
|
552
|
-
# @param skip_dns_registration [Boolean] If true web app hostname is not
|
553
|
-
# registered with DNS on creation. This parameter is
|
554
|
-
# only used for app creation.
|
555
|
-
# @param skip_custom_domain_verification [Boolean] If true, custom (non
|
556
|
-
# *.azurewebsites.net) domains associated with web app are not verified.
|
557
|
-
# @param force_dns_registration [Boolean] If true, web app hostname is force
|
558
|
-
# registered with DNS.
|
559
|
-
# @param ttl_in_seconds [String] Time to live in seconds for web app's default
|
560
|
-
# domain name.
|
561
522
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
562
523
|
# will be added to the HTTP request.
|
563
524
|
#
|
564
525
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
565
526
|
#
|
566
|
-
def update_with_http_info(resource_group_name, name, site_envelope,
|
567
|
-
update_async(resource_group_name, name, site_envelope,
|
527
|
+
def update_with_http_info(resource_group_name, name, site_envelope, custom_headers:nil)
|
528
|
+
update_async(resource_group_name, name, site_envelope, custom_headers:custom_headers).value!
|
568
529
|
end
|
569
530
|
|
570
531
|
#
|
@@ -580,21 +541,12 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
580
541
|
# update a deployment slot, use the {slot} parameter.
|
581
542
|
# @param site_envelope [SitePatchResource] A JSON representation of the app
|
582
543
|
# properties. See example.
|
583
|
-
# @param skip_dns_registration [Boolean] If true web app hostname is not
|
584
|
-
# registered with DNS on creation. This parameter is
|
585
|
-
# only used for app creation.
|
586
|
-
# @param skip_custom_domain_verification [Boolean] If true, custom (non
|
587
|
-
# *.azurewebsites.net) domains associated with web app are not verified.
|
588
|
-
# @param force_dns_registration [Boolean] If true, web app hostname is force
|
589
|
-
# registered with DNS.
|
590
|
-
# @param ttl_in_seconds [String] Time to live in seconds for web app's default
|
591
|
-
# domain name.
|
592
544
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
593
545
|
# to the HTTP request.
|
594
546
|
#
|
595
547
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
596
548
|
#
|
597
|
-
def update_async(resource_group_name, name, site_envelope,
|
549
|
+
def update_async(resource_group_name, name, site_envelope, custom_headers:nil)
|
598
550
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
599
551
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
600
552
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
@@ -624,7 +576,7 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
624
576
|
options = {
|
625
577
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
626
578
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
627
|
-
query_params: {'
|
579
|
+
query_params: {'api-version' => @client.api_version},
|
628
580
|
body: request_content,
|
629
581
|
headers: request_headers.merge(custom_headers || {}),
|
630
582
|
base_url: request_url
|
@@ -28488,7 +28440,7 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
28488
28440
|
http_response = result.response
|
28489
28441
|
status_code = http_response.status
|
28490
28442
|
response_content = http_response.body
|
28491
|
-
unless status_code == 200
|
28443
|
+
unless status_code == 200 || status_code == 201 || status_code == 202
|
28492
28444
|
error_model = JSON.load(response_content)
|
28493
28445
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
28494
28446
|
end
|
@@ -28504,6 +28456,26 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
28504
28456
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
28505
28457
|
end
|
28506
28458
|
end
|
28459
|
+
# Deserialize Response
|
28460
|
+
if status_code == 201
|
28461
|
+
begin
|
28462
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
28463
|
+
result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
|
28464
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
28465
|
+
rescue Exception => e
|
28466
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
28467
|
+
end
|
28468
|
+
end
|
28469
|
+
# Deserialize Response
|
28470
|
+
if status_code == 202
|
28471
|
+
begin
|
28472
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
28473
|
+
result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
|
28474
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
28475
|
+
rescue Exception => e
|
28476
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
28477
|
+
end
|
28478
|
+
end
|
28507
28479
|
|
28508
28480
|
result
|
28509
28481
|
end
|
@@ -31601,7 +31573,7 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
31601
31573
|
http_response = result.response
|
31602
31574
|
status_code = http_response.status
|
31603
31575
|
response_content = http_response.body
|
31604
|
-
unless status_code == 200
|
31576
|
+
unless status_code == 200 || status_code == 201 || status_code == 202
|
31605
31577
|
error_model = JSON.load(response_content)
|
31606
31578
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
31607
31579
|
end
|
@@ -31617,6 +31589,26 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
31617
31589
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
31618
31590
|
end
|
31619
31591
|
end
|
31592
|
+
# Deserialize Response
|
31593
|
+
if status_code == 201
|
31594
|
+
begin
|
31595
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
31596
|
+
result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
|
31597
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
31598
|
+
rescue Exception => e
|
31599
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
31600
|
+
end
|
31601
|
+
end
|
31602
|
+
# Deserialize Response
|
31603
|
+
if status_code == 202
|
31604
|
+
begin
|
31605
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
31606
|
+
result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
|
31607
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
31608
|
+
rescue Exception => e
|
31609
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
31610
|
+
end
|
31611
|
+
end
|
31620
31612
|
|
31621
31613
|
result
|
31622
31614
|
end
|
@@ -34207,22 +34199,13 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
34207
34199
|
# update a deployment slot, use the {slot} parameter.
|
34208
34200
|
# @param site_envelope [Site] A JSON representation of the app properties. See
|
34209
34201
|
# example.
|
34210
|
-
# @param skip_dns_registration [Boolean] If true web app hostname is not
|
34211
|
-
# registered with DNS on creation. This parameter is
|
34212
|
-
# only used for app creation.
|
34213
|
-
# @param skip_custom_domain_verification [Boolean] If true, custom (non
|
34214
|
-
# *.azurewebsites.net) domains associated with web app are not verified.
|
34215
|
-
# @param force_dns_registration [Boolean] If true, web app hostname is force
|
34216
|
-
# registered with DNS.
|
34217
|
-
# @param ttl_in_seconds [String] Time to live in seconds for web app's default
|
34218
|
-
# domain name.
|
34219
34202
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
34220
34203
|
# will be added to the HTTP request.
|
34221
34204
|
#
|
34222
34205
|
# @return [Site] operation results.
|
34223
34206
|
#
|
34224
|
-
def begin_create_or_update(resource_group_name, name, site_envelope,
|
34225
|
-
response = begin_create_or_update_async(resource_group_name, name, site_envelope,
|
34207
|
+
def begin_create_or_update(resource_group_name, name, site_envelope, custom_headers:nil)
|
34208
|
+
response = begin_create_or_update_async(resource_group_name, name, site_envelope, custom_headers:custom_headers).value!
|
34226
34209
|
response.body unless response.nil?
|
34227
34210
|
end
|
34228
34211
|
|
@@ -34239,22 +34222,13 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
34239
34222
|
# update a deployment slot, use the {slot} parameter.
|
34240
34223
|
# @param site_envelope [Site] A JSON representation of the app properties. See
|
34241
34224
|
# example.
|
34242
|
-
# @param skip_dns_registration [Boolean] If true web app hostname is not
|
34243
|
-
# registered with DNS on creation. This parameter is
|
34244
|
-
# only used for app creation.
|
34245
|
-
# @param skip_custom_domain_verification [Boolean] If true, custom (non
|
34246
|
-
# *.azurewebsites.net) domains associated with web app are not verified.
|
34247
|
-
# @param force_dns_registration [Boolean] If true, web app hostname is force
|
34248
|
-
# registered with DNS.
|
34249
|
-
# @param ttl_in_seconds [String] Time to live in seconds for web app's default
|
34250
|
-
# domain name.
|
34251
34225
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
34252
34226
|
# will be added to the HTTP request.
|
34253
34227
|
#
|
34254
34228
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
34255
34229
|
#
|
34256
|
-
def begin_create_or_update_with_http_info(resource_group_name, name, site_envelope,
|
34257
|
-
begin_create_or_update_async(resource_group_name, name, site_envelope,
|
34230
|
+
def begin_create_or_update_with_http_info(resource_group_name, name, site_envelope, custom_headers:nil)
|
34231
|
+
begin_create_or_update_async(resource_group_name, name, site_envelope, custom_headers:custom_headers).value!
|
34258
34232
|
end
|
34259
34233
|
|
34260
34234
|
#
|
@@ -34270,21 +34244,12 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
34270
34244
|
# update a deployment slot, use the {slot} parameter.
|
34271
34245
|
# @param site_envelope [Site] A JSON representation of the app properties. See
|
34272
34246
|
# example.
|
34273
|
-
# @param skip_dns_registration [Boolean] If true web app hostname is not
|
34274
|
-
# registered with DNS on creation. This parameter is
|
34275
|
-
# only used for app creation.
|
34276
|
-
# @param skip_custom_domain_verification [Boolean] If true, custom (non
|
34277
|
-
# *.azurewebsites.net) domains associated with web app are not verified.
|
34278
|
-
# @param force_dns_registration [Boolean] If true, web app hostname is force
|
34279
|
-
# registered with DNS.
|
34280
|
-
# @param ttl_in_seconds [String] Time to live in seconds for web app's default
|
34281
|
-
# domain name.
|
34282
34247
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
34283
34248
|
# to the HTTP request.
|
34284
34249
|
#
|
34285
34250
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
34286
34251
|
#
|
34287
|
-
def begin_create_or_update_async(resource_group_name, name, site_envelope,
|
34252
|
+
def begin_create_or_update_async(resource_group_name, name, site_envelope, custom_headers:nil)
|
34288
34253
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
34289
34254
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
34290
34255
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
@@ -34314,7 +34279,7 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
34314
34279
|
options = {
|
34315
34280
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
34316
34281
|
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
34317
|
-
query_params: {'
|
34282
|
+
query_params: {'api-version' => @client.api_version},
|
34318
34283
|
body: request_content,
|
34319
34284
|
headers: request_headers.merge(custom_headers || {}),
|
34320
34285
|
base_url: request_url
|
@@ -36642,7 +36607,7 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
36642
36607
|
http_response = result.response
|
36643
36608
|
status_code = http_response.status
|
36644
36609
|
response_content = http_response.body
|
36645
|
-
unless status_code == 200 || status_code == 201
|
36610
|
+
unless status_code == 200 || status_code == 201 || status_code == 202
|
36646
36611
|
error_model = JSON.load(response_content)
|
36647
36612
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
36648
36613
|
end
|
@@ -36668,6 +36633,16 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
36668
36633
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
36669
36634
|
end
|
36670
36635
|
end
|
36636
|
+
# Deserialize Response
|
36637
|
+
if status_code == 202
|
36638
|
+
begin
|
36639
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
36640
|
+
result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
|
36641
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
36642
|
+
rescue Exception => e
|
36643
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
36644
|
+
end
|
36645
|
+
end
|
36671
36646
|
|
36672
36647
|
result
|
36673
36648
|
end
|
@@ -36877,7 +36852,7 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
36877
36852
|
http_response = result.response
|
36878
36853
|
status_code = http_response.status
|
36879
36854
|
response_content = http_response.body
|
36880
|
-
unless status_code == 200 || status_code == 201
|
36855
|
+
unless status_code == 200 || status_code == 201 || status_code == 202
|
36881
36856
|
error_model = JSON.load(response_content)
|
36882
36857
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
36883
36858
|
end
|
@@ -36903,6 +36878,16 @@ module Azure::Web::Mgmt::V2016_08_01
|
|
36903
36878
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
36904
36879
|
end
|
36905
36880
|
end
|
36881
|
+
# Deserialize Response
|
36882
|
+
if status_code == 202
|
36883
|
+
begin
|
36884
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
36885
|
+
result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
|
36886
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
36887
|
+
rescue Exception => e
|
36888
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
36889
|
+
end
|
36890
|
+
end
|
36906
36891
|
|
36907
36892
|
result
|
36908
36893
|
end
|