diff --git a/sdk/appservice/azure-mgmt-web/_meta.json b/sdk/appservice/azure-mgmt-web/_meta.json index 5ba0443c2c24..19fb6b16cb97 100644 --- a/sdk/appservice/azure-mgmt-web/_meta.json +++ b/sdk/appservice/azure-mgmt-web/_meta.json @@ -4,8 +4,8 @@ "@autorest/python@5.12.0", "@autorest/modelerfour@4.19.3" ], - "commit": "cf47fa91b882618a1043e3aeb5803b3a7397cd08", + "commit": "67575923fae564090c05741ef1580771e99af1bf", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/web/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", + "autorest_command": "autorest specification/web/resource-manager/readme.md --multiapi --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", "readme": "specification/web/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_03_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_03_01/_version.py index 92453d8691d9..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_03_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_03_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.1.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_03_01/aio/operations/_web_apps_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_03_01/aio/operations/_web_apps_operations.py index 3ca2b575c0f3..ddc66dff77d9 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_03_01/aio/operations/_web_apps_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_03_01/aio/operations/_web_apps_operations.py @@ -22,7 +22,7 @@ from ... import models as _models from ..._vendor import _convert_request -from ...operations._web_apps_operations import build_add_premier_add_on_request, build_add_premier_add_on_slot_request, build_analyze_custom_hostname_request, build_analyze_custom_hostname_slot_request, build_apply_slot_config_to_production_request, build_apply_slot_configuration_slot_request, build_approve_or_reject_private_endpoint_connection_request_initial, build_approve_or_reject_private_endpoint_connection_slot_request_initial, build_backup_request, build_backup_slot_request, build_create_deployment_request, build_create_deployment_slot_request, build_create_function_request_initial, build_create_instance_function_slot_request_initial, build_create_instance_ms_deploy_operation_request_initial, build_create_instance_ms_deploy_operation_slot_request_initial, build_create_ms_deploy_operation_request_initial, build_create_ms_deploy_operation_slot_request_initial, build_create_one_deploy_operation_request, build_create_or_update_configuration_request, build_create_or_update_configuration_slot_request, build_create_or_update_domain_ownership_identifier_request, build_create_or_update_domain_ownership_identifier_slot_request, build_create_or_update_function_secret_request, build_create_or_update_function_secret_slot_request, build_create_or_update_host_name_binding_request, build_create_or_update_host_name_binding_slot_request, build_create_or_update_host_secret_request, build_create_or_update_host_secret_slot_request, build_create_or_update_hybrid_connection_request, build_create_or_update_hybrid_connection_slot_request, build_create_or_update_public_certificate_request, build_create_or_update_public_certificate_slot_request, build_create_or_update_relay_service_connection_request, build_create_or_update_relay_service_connection_slot_request, build_create_or_update_request_initial, build_create_or_update_slot_request_initial, build_create_or_update_source_control_request_initial, build_create_or_update_source_control_slot_request_initial, build_create_or_update_swift_virtual_network_connection_with_check_request, build_create_or_update_swift_virtual_network_connection_with_check_slot_request, build_create_or_update_vnet_connection_gateway_request, build_create_or_update_vnet_connection_gateway_slot_request, build_create_or_update_vnet_connection_request, build_create_or_update_vnet_connection_slot_request, build_delete_backup_configuration_request, build_delete_backup_configuration_slot_request, build_delete_backup_request, build_delete_backup_slot_request, build_delete_continuous_web_job_request, build_delete_continuous_web_job_slot_request, build_delete_deployment_request, build_delete_deployment_slot_request, build_delete_domain_ownership_identifier_request, build_delete_domain_ownership_identifier_slot_request, build_delete_function_request, build_delete_function_secret_request, build_delete_function_secret_slot_request, build_delete_host_name_binding_request, build_delete_host_name_binding_slot_request, build_delete_host_secret_request, build_delete_host_secret_slot_request, build_delete_hybrid_connection_request, build_delete_hybrid_connection_slot_request, build_delete_instance_function_slot_request, build_delete_instance_process_request, build_delete_instance_process_slot_request, build_delete_premier_add_on_request, build_delete_premier_add_on_slot_request, build_delete_private_endpoint_connection_request_initial, build_delete_private_endpoint_connection_slot_request_initial, build_delete_process_request, build_delete_process_slot_request, build_delete_public_certificate_request, build_delete_public_certificate_slot_request, build_delete_relay_service_connection_request, build_delete_relay_service_connection_slot_request, build_delete_request, build_delete_site_extension_request, build_delete_site_extension_slot_request, build_delete_slot_request, build_delete_source_control_request, build_delete_source_control_slot_request, build_delete_swift_virtual_network_request, build_delete_swift_virtual_network_slot_request, build_delete_triggered_web_job_request, build_delete_triggered_web_job_slot_request, build_delete_vnet_connection_request, build_delete_vnet_connection_slot_request, build_discover_backup_request, build_discover_backup_slot_request, build_generate_new_site_publishing_password_request, build_generate_new_site_publishing_password_slot_request, build_get_app_setting_key_vault_reference_request, build_get_app_setting_key_vault_reference_slot_request, build_get_app_settings_key_vault_references_request, build_get_app_settings_key_vault_references_slot_request, build_get_auth_settings_request, build_get_auth_settings_slot_request, build_get_auth_settings_v2_request, build_get_auth_settings_v2_slot_request, build_get_auth_settings_v2_without_secrets_request, build_get_backup_configuration_request, build_get_backup_configuration_slot_request, build_get_backup_status_request, build_get_backup_status_slot_request, build_get_configuration_request, build_get_configuration_slot_request, build_get_configuration_snapshot_request, build_get_configuration_snapshot_slot_request, build_get_container_logs_zip_request, build_get_container_logs_zip_slot_request, build_get_continuous_web_job_request, build_get_continuous_web_job_slot_request, build_get_deployment_request, build_get_deployment_slot_request, build_get_diagnostic_logs_configuration_request, build_get_diagnostic_logs_configuration_slot_request, build_get_domain_ownership_identifier_request, build_get_domain_ownership_identifier_slot_request, build_get_ftp_allowed_request, build_get_ftp_allowed_slot_request, build_get_function_request, build_get_functions_admin_token_request, build_get_functions_admin_token_slot_request, build_get_host_name_binding_request, build_get_host_name_binding_slot_request, build_get_hybrid_connection_request, build_get_hybrid_connection_slot_request, build_get_instance_function_slot_request, build_get_instance_info_request, build_get_instance_info_slot_request, build_get_instance_ms_deploy_log_request, build_get_instance_ms_deploy_log_slot_request, build_get_instance_ms_deploy_status_request, build_get_instance_ms_deploy_status_slot_request, build_get_instance_process_dump_request, build_get_instance_process_dump_slot_request, build_get_instance_process_module_request, build_get_instance_process_module_slot_request, build_get_instance_process_request, build_get_instance_process_slot_request, build_get_migrate_my_sql_status_request, build_get_migrate_my_sql_status_slot_request, build_get_ms_deploy_log_request, build_get_ms_deploy_log_slot_request, build_get_ms_deploy_status_request, build_get_ms_deploy_status_slot_request, build_get_network_trace_operation_request, build_get_network_trace_operation_slot_request, build_get_network_trace_operation_slot_v2_request, build_get_network_trace_operation_v2_request, build_get_network_traces_request, build_get_network_traces_slot_request, build_get_network_traces_slot_v2_request, build_get_network_traces_v2_request, build_get_one_deploy_status_request, build_get_premier_add_on_request, build_get_premier_add_on_slot_request, build_get_private_access_request, build_get_private_access_slot_request, build_get_private_endpoint_connection_list_request, build_get_private_endpoint_connection_list_slot_request, build_get_private_endpoint_connection_request, build_get_private_endpoint_connection_slot_request, build_get_private_link_resources_request, build_get_private_link_resources_slot_request, build_get_process_dump_request, build_get_process_dump_slot_request, build_get_process_module_request, build_get_process_module_slot_request, build_get_process_request, build_get_process_slot_request, build_get_public_certificate_request, build_get_public_certificate_slot_request, build_get_relay_service_connection_request, build_get_relay_service_connection_slot_request, build_get_request, build_get_scm_allowed_request, build_get_scm_allowed_slot_request, build_get_site_connection_string_key_vault_reference_request, build_get_site_connection_string_key_vault_reference_slot_request, build_get_site_connection_string_key_vault_references_request, build_get_site_connection_string_key_vault_references_slot_request, build_get_site_extension_request, build_get_site_extension_slot_request, build_get_site_php_error_log_flag_request, build_get_site_php_error_log_flag_slot_request, build_get_slot_request, build_get_source_control_request, build_get_source_control_slot_request, build_get_swift_virtual_network_connection_request, build_get_swift_virtual_network_connection_slot_request, build_get_triggered_web_job_history_request, build_get_triggered_web_job_history_slot_request, build_get_triggered_web_job_request, build_get_triggered_web_job_slot_request, build_get_vnet_connection_gateway_request, build_get_vnet_connection_gateway_slot_request, build_get_vnet_connection_request, build_get_vnet_connection_slot_request, build_get_web_job_request, build_get_web_job_slot_request, build_get_web_site_container_logs_request, build_get_web_site_container_logs_slot_request, build_install_site_extension_request_initial, build_install_site_extension_slot_request_initial, build_is_cloneable_request, build_is_cloneable_slot_request, build_list_application_settings_request, build_list_application_settings_slot_request, build_list_azure_storage_accounts_request, build_list_azure_storage_accounts_slot_request, build_list_backup_status_secrets_request, build_list_backup_status_secrets_slot_request, build_list_backups_request, build_list_backups_slot_request, build_list_basic_publishing_credentials_policies_request, build_list_basic_publishing_credentials_policies_slot_request, build_list_by_resource_group_request, build_list_configuration_snapshot_info_request, build_list_configuration_snapshot_info_slot_request, build_list_configurations_request, build_list_configurations_slot_request, build_list_connection_strings_request, build_list_connection_strings_slot_request, build_list_continuous_web_jobs_request, build_list_continuous_web_jobs_slot_request, build_list_deployment_log_request, build_list_deployment_log_slot_request, build_list_deployments_request, build_list_deployments_slot_request, build_list_domain_ownership_identifiers_request, build_list_domain_ownership_identifiers_slot_request, build_list_function_keys_request, build_list_function_keys_slot_request, build_list_function_secrets_request, build_list_function_secrets_slot_request, build_list_functions_request, build_list_host_keys_request, build_list_host_keys_slot_request, build_list_host_name_bindings_request, build_list_host_name_bindings_slot_request, build_list_hybrid_connections_request, build_list_hybrid_connections_slot_request, build_list_instance_functions_slot_request, build_list_instance_identifiers_request, build_list_instance_identifiers_slot_request, build_list_instance_process_modules_request, build_list_instance_process_modules_slot_request, build_list_instance_process_threads_request, build_list_instance_process_threads_slot_request, build_list_instance_processes_request, build_list_instance_processes_slot_request, build_list_metadata_request, build_list_metadata_slot_request, build_list_network_features_request, build_list_network_features_slot_request, build_list_perf_mon_counters_request, build_list_perf_mon_counters_slot_request, build_list_premier_add_ons_request, build_list_premier_add_ons_slot_request, build_list_process_modules_request, build_list_process_modules_slot_request, build_list_process_threads_request, build_list_process_threads_slot_request, build_list_processes_request, build_list_processes_slot_request, build_list_public_certificates_request, build_list_public_certificates_slot_request, build_list_publishing_credentials_request_initial, build_list_publishing_credentials_slot_request_initial, build_list_publishing_profile_xml_with_secrets_request, build_list_publishing_profile_xml_with_secrets_slot_request, build_list_relay_service_connections_request, build_list_relay_service_connections_slot_request, build_list_request, build_list_site_backups_request, build_list_site_backups_slot_request, build_list_site_extensions_request, build_list_site_extensions_slot_request, build_list_site_push_settings_request, build_list_site_push_settings_slot_request, build_list_slot_configuration_names_request, build_list_slot_differences_from_production_request, build_list_slot_differences_slot_request, build_list_slots_request, build_list_snapshots_from_dr_secondary_request, build_list_snapshots_from_dr_secondary_slot_request, build_list_snapshots_request, build_list_snapshots_slot_request, build_list_sync_function_triggers_request, build_list_sync_function_triggers_slot_request, build_list_sync_status_request, build_list_sync_status_slot_request, build_list_triggered_web_job_history_request, build_list_triggered_web_job_history_slot_request, build_list_triggered_web_jobs_request, build_list_triggered_web_jobs_slot_request, build_list_usages_request, build_list_usages_slot_request, build_list_vnet_connections_request, build_list_vnet_connections_slot_request, build_list_web_jobs_request, build_list_web_jobs_slot_request, build_migrate_my_sql_request_initial, build_migrate_storage_request_initial, build_put_private_access_vnet_request, build_put_private_access_vnet_slot_request, build_recover_site_configuration_snapshot_request, build_recover_site_configuration_snapshot_slot_request, build_reset_production_slot_config_request, build_reset_slot_configuration_slot_request, build_restart_request, build_restart_slot_request, build_restore_from_backup_blob_request_initial, build_restore_from_backup_blob_slot_request_initial, build_restore_from_deleted_app_request_initial, build_restore_from_deleted_app_slot_request_initial, build_restore_request_initial, build_restore_slot_request_initial, build_restore_snapshot_request_initial, build_restore_snapshot_slot_request_initial, build_run_triggered_web_job_request, build_run_triggered_web_job_slot_request, build_start_continuous_web_job_request, build_start_continuous_web_job_slot_request, build_start_network_trace_request_initial, build_start_network_trace_slot_request_initial, build_start_request, build_start_slot_request, build_start_web_site_network_trace_operation_request_initial, build_start_web_site_network_trace_operation_slot_request_initial, build_start_web_site_network_trace_request, build_start_web_site_network_trace_slot_request, build_stop_continuous_web_job_request, build_stop_continuous_web_job_slot_request, build_stop_network_trace_request, build_stop_network_trace_slot_request, build_stop_request, build_stop_slot_request, build_stop_web_site_network_trace_request, build_stop_web_site_network_trace_slot_request, build_swap_slot_request_initial, build_swap_slot_with_production_request_initial, build_sync_function_triggers_request, build_sync_function_triggers_slot_request, build_sync_functions_request, build_sync_functions_slot_request, build_sync_repository_request, build_sync_repository_slot_request, build_update_application_settings_request, build_update_application_settings_slot_request, build_update_auth_settings_request, build_update_auth_settings_slot_request, build_update_auth_settings_v2_request, build_update_auth_settings_v2_slot_request, build_update_azure_storage_accounts_request, build_update_azure_storage_accounts_slot_request, build_update_backup_configuration_request, build_update_backup_configuration_slot_request, build_update_configuration_request, build_update_configuration_slot_request, build_update_connection_strings_request, build_update_connection_strings_slot_request, build_update_diagnostic_logs_config_request, build_update_diagnostic_logs_config_slot_request, build_update_domain_ownership_identifier_request, build_update_domain_ownership_identifier_slot_request, build_update_ftp_allowed_request, build_update_ftp_allowed_slot_request, build_update_hybrid_connection_request, build_update_hybrid_connection_slot_request, build_update_metadata_request, build_update_metadata_slot_request, build_update_premier_add_on_request, build_update_premier_add_on_slot_request, build_update_relay_service_connection_request, build_update_relay_service_connection_slot_request, build_update_request, build_update_scm_allowed_request, build_update_scm_allowed_slot_request, build_update_site_push_settings_request, build_update_site_push_settings_slot_request, build_update_slot_configuration_names_request, build_update_slot_request, build_update_source_control_request, build_update_source_control_slot_request, build_update_swift_virtual_network_connection_with_check_request, build_update_swift_virtual_network_connection_with_check_slot_request, build_update_vnet_connection_gateway_request, build_update_vnet_connection_gateway_slot_request, build_update_vnet_connection_request, build_update_vnet_connection_slot_request +from ...operations._web_apps_operations import build_add_premier_add_on_request, build_add_premier_add_on_slot_request, build_analyze_custom_hostname_request, build_analyze_custom_hostname_slot_request, build_apply_slot_config_to_production_request, build_apply_slot_configuration_slot_request, build_approve_or_reject_private_endpoint_connection_request_initial, build_approve_or_reject_private_endpoint_connection_slot_request_initial, build_backup_request, build_backup_slot_request, build_create_deployment_request, build_create_deployment_slot_request, build_create_function_request_initial, build_create_instance_function_slot_request_initial, build_create_instance_ms_deploy_operation_request_initial, build_create_instance_ms_deploy_operation_slot_request_initial, build_create_ms_deploy_operation_request_initial, build_create_ms_deploy_operation_slot_request_initial, build_create_one_deploy_operation_request, build_create_or_update_configuration_request, build_create_or_update_configuration_slot_request, build_create_or_update_domain_ownership_identifier_request, build_create_or_update_domain_ownership_identifier_slot_request, build_create_or_update_function_secret_request, build_create_or_update_function_secret_slot_request, build_create_or_update_host_name_binding_request, build_create_or_update_host_name_binding_slot_request, build_create_or_update_host_secret_request, build_create_or_update_host_secret_slot_request, build_create_or_update_hybrid_connection_request, build_create_or_update_hybrid_connection_slot_request, build_create_or_update_public_certificate_request, build_create_or_update_public_certificate_slot_request, build_create_or_update_relay_service_connection_request, build_create_or_update_relay_service_connection_slot_request, build_create_or_update_request_initial, build_create_or_update_slot_request_initial, build_create_or_update_source_control_request_initial, build_create_or_update_source_control_slot_request_initial, build_create_or_update_swift_virtual_network_connection_with_check_request, build_create_or_update_swift_virtual_network_connection_with_check_slot_request, build_create_or_update_vnet_connection_gateway_request, build_create_or_update_vnet_connection_gateway_slot_request, build_create_or_update_vnet_connection_request, build_create_or_update_vnet_connection_slot_request, build_delete_backup_configuration_request, build_delete_backup_configuration_slot_request, build_delete_backup_request, build_delete_backup_slot_request, build_delete_continuous_web_job_request, build_delete_continuous_web_job_slot_request, build_delete_deployment_request, build_delete_deployment_slot_request, build_delete_domain_ownership_identifier_request, build_delete_domain_ownership_identifier_slot_request, build_delete_function_request, build_delete_function_secret_request, build_delete_function_secret_slot_request, build_delete_host_name_binding_request, build_delete_host_name_binding_slot_request, build_delete_host_secret_request, build_delete_host_secret_slot_request, build_delete_hybrid_connection_request, build_delete_hybrid_connection_slot_request, build_delete_instance_function_slot_request, build_delete_instance_process_request, build_delete_instance_process_slot_request, build_delete_premier_add_on_request, build_delete_premier_add_on_slot_request, build_delete_private_endpoint_connection_request_initial, build_delete_private_endpoint_connection_slot_request_initial, build_delete_process_request, build_delete_process_slot_request, build_delete_public_certificate_request, build_delete_public_certificate_slot_request, build_delete_relay_service_connection_request, build_delete_relay_service_connection_slot_request, build_delete_request, build_delete_site_extension_request, build_delete_site_extension_slot_request, build_delete_slot_request, build_delete_source_control_request, build_delete_source_control_slot_request, build_delete_swift_virtual_network_request, build_delete_swift_virtual_network_slot_request, build_delete_triggered_web_job_request, build_delete_triggered_web_job_slot_request, build_delete_vnet_connection_request, build_delete_vnet_connection_slot_request, build_discover_backup_request, build_discover_backup_slot_request, build_generate_new_site_publishing_password_request, build_generate_new_site_publishing_password_slot_request, build_get_app_setting_key_vault_reference_request, build_get_app_setting_key_vault_reference_slot_request, build_get_app_settings_key_vault_references_request, build_get_app_settings_key_vault_references_slot_request, build_get_auth_settings_request, build_get_auth_settings_slot_request, build_get_auth_settings_v2_request, build_get_auth_settings_v2_slot_request, build_get_auth_settings_v2_without_secrets_request, build_get_auth_settings_v2_without_secrets_slot_request, build_get_backup_configuration_request, build_get_backup_configuration_slot_request, build_get_backup_status_request, build_get_backup_status_slot_request, build_get_configuration_request, build_get_configuration_slot_request, build_get_configuration_snapshot_request, build_get_configuration_snapshot_slot_request, build_get_container_logs_zip_request, build_get_container_logs_zip_slot_request, build_get_continuous_web_job_request, build_get_continuous_web_job_slot_request, build_get_deployment_request, build_get_deployment_slot_request, build_get_diagnostic_logs_configuration_request, build_get_diagnostic_logs_configuration_slot_request, build_get_domain_ownership_identifier_request, build_get_domain_ownership_identifier_slot_request, build_get_ftp_allowed_request, build_get_ftp_allowed_slot_request, build_get_function_request, build_get_functions_admin_token_request, build_get_functions_admin_token_slot_request, build_get_host_name_binding_request, build_get_host_name_binding_slot_request, build_get_hybrid_connection_request, build_get_hybrid_connection_slot_request, build_get_instance_function_slot_request, build_get_instance_info_request, build_get_instance_info_slot_request, build_get_instance_ms_deploy_log_request, build_get_instance_ms_deploy_log_slot_request, build_get_instance_ms_deploy_status_request, build_get_instance_ms_deploy_status_slot_request, build_get_instance_process_dump_request, build_get_instance_process_dump_slot_request, build_get_instance_process_module_request, build_get_instance_process_module_slot_request, build_get_instance_process_request, build_get_instance_process_slot_request, build_get_migrate_my_sql_status_request, build_get_migrate_my_sql_status_slot_request, build_get_ms_deploy_log_request, build_get_ms_deploy_log_slot_request, build_get_ms_deploy_status_request, build_get_ms_deploy_status_slot_request, build_get_network_trace_operation_request, build_get_network_trace_operation_slot_request, build_get_network_trace_operation_slot_v2_request, build_get_network_trace_operation_v2_request, build_get_network_traces_request, build_get_network_traces_slot_request, build_get_network_traces_slot_v2_request, build_get_network_traces_v2_request, build_get_one_deploy_status_request, build_get_premier_add_on_request, build_get_premier_add_on_slot_request, build_get_private_access_request, build_get_private_access_slot_request, build_get_private_endpoint_connection_list_request, build_get_private_endpoint_connection_list_slot_request, build_get_private_endpoint_connection_request, build_get_private_endpoint_connection_slot_request, build_get_private_link_resources_request, build_get_private_link_resources_slot_request, build_get_process_dump_request, build_get_process_dump_slot_request, build_get_process_module_request, build_get_process_module_slot_request, build_get_process_request, build_get_process_slot_request, build_get_public_certificate_request, build_get_public_certificate_slot_request, build_get_relay_service_connection_request, build_get_relay_service_connection_slot_request, build_get_request, build_get_scm_allowed_request, build_get_scm_allowed_slot_request, build_get_site_connection_string_key_vault_reference_request, build_get_site_connection_string_key_vault_reference_slot_request, build_get_site_connection_string_key_vault_references_request, build_get_site_connection_string_key_vault_references_slot_request, build_get_site_extension_request, build_get_site_extension_slot_request, build_get_site_php_error_log_flag_request, build_get_site_php_error_log_flag_slot_request, build_get_slot_request, build_get_source_control_request, build_get_source_control_slot_request, build_get_swift_virtual_network_connection_request, build_get_swift_virtual_network_connection_slot_request, build_get_triggered_web_job_history_request, build_get_triggered_web_job_history_slot_request, build_get_triggered_web_job_request, build_get_triggered_web_job_slot_request, build_get_vnet_connection_gateway_request, build_get_vnet_connection_gateway_slot_request, build_get_vnet_connection_request, build_get_vnet_connection_slot_request, build_get_web_job_request, build_get_web_job_slot_request, build_get_web_site_container_logs_request, build_get_web_site_container_logs_slot_request, build_install_site_extension_request_initial, build_install_site_extension_slot_request_initial, build_is_cloneable_request, build_is_cloneable_slot_request, build_list_application_settings_request, build_list_application_settings_slot_request, build_list_azure_storage_accounts_request, build_list_azure_storage_accounts_slot_request, build_list_backup_status_secrets_request, build_list_backup_status_secrets_slot_request, build_list_backups_request, build_list_backups_slot_request, build_list_basic_publishing_credentials_policies_request, build_list_basic_publishing_credentials_policies_slot_request, build_list_by_resource_group_request, build_list_configuration_snapshot_info_request, build_list_configuration_snapshot_info_slot_request, build_list_configurations_request, build_list_configurations_slot_request, build_list_connection_strings_request, build_list_connection_strings_slot_request, build_list_continuous_web_jobs_request, build_list_continuous_web_jobs_slot_request, build_list_deployment_log_request, build_list_deployment_log_slot_request, build_list_deployments_request, build_list_deployments_slot_request, build_list_domain_ownership_identifiers_request, build_list_domain_ownership_identifiers_slot_request, build_list_function_keys_request, build_list_function_keys_slot_request, build_list_function_secrets_request, build_list_function_secrets_slot_request, build_list_functions_request, build_list_host_keys_request, build_list_host_keys_slot_request, build_list_host_name_bindings_request, build_list_host_name_bindings_slot_request, build_list_hybrid_connections_request, build_list_hybrid_connections_slot_request, build_list_instance_functions_slot_request, build_list_instance_identifiers_request, build_list_instance_identifiers_slot_request, build_list_instance_process_modules_request, build_list_instance_process_modules_slot_request, build_list_instance_process_threads_request, build_list_instance_process_threads_slot_request, build_list_instance_processes_request, build_list_instance_processes_slot_request, build_list_metadata_request, build_list_metadata_slot_request, build_list_network_features_request, build_list_network_features_slot_request, build_list_perf_mon_counters_request, build_list_perf_mon_counters_slot_request, build_list_premier_add_ons_request, build_list_premier_add_ons_slot_request, build_list_process_modules_request, build_list_process_modules_slot_request, build_list_process_threads_request, build_list_process_threads_slot_request, build_list_processes_request, build_list_processes_slot_request, build_list_public_certificates_request, build_list_public_certificates_slot_request, build_list_publishing_credentials_request_initial, build_list_publishing_credentials_slot_request_initial, build_list_publishing_profile_xml_with_secrets_request, build_list_publishing_profile_xml_with_secrets_slot_request, build_list_relay_service_connections_request, build_list_relay_service_connections_slot_request, build_list_request, build_list_site_backups_request, build_list_site_backups_slot_request, build_list_site_extensions_request, build_list_site_extensions_slot_request, build_list_site_push_settings_request, build_list_site_push_settings_slot_request, build_list_slot_configuration_names_request, build_list_slot_differences_from_production_request, build_list_slot_differences_slot_request, build_list_slots_request, build_list_snapshots_from_dr_secondary_request, build_list_snapshots_from_dr_secondary_slot_request, build_list_snapshots_request, build_list_snapshots_slot_request, build_list_sync_function_triggers_request, build_list_sync_function_triggers_slot_request, build_list_sync_status_request, build_list_sync_status_slot_request, build_list_triggered_web_job_history_request, build_list_triggered_web_job_history_slot_request, build_list_triggered_web_jobs_request, build_list_triggered_web_jobs_slot_request, build_list_usages_request, build_list_usages_slot_request, build_list_vnet_connections_request, build_list_vnet_connections_slot_request, build_list_web_jobs_request, build_list_web_jobs_slot_request, build_migrate_my_sql_request_initial, build_migrate_storage_request_initial, build_put_private_access_vnet_request, build_put_private_access_vnet_slot_request, build_recover_site_configuration_snapshot_request, build_recover_site_configuration_snapshot_slot_request, build_reset_production_slot_config_request, build_reset_slot_configuration_slot_request, build_restart_request, build_restart_slot_request, build_restore_from_backup_blob_request_initial, build_restore_from_backup_blob_slot_request_initial, build_restore_from_deleted_app_request_initial, build_restore_from_deleted_app_slot_request_initial, build_restore_request_initial, build_restore_slot_request_initial, build_restore_snapshot_request_initial, build_restore_snapshot_slot_request_initial, build_run_triggered_web_job_request, build_run_triggered_web_job_slot_request, build_start_continuous_web_job_request, build_start_continuous_web_job_slot_request, build_start_network_trace_request_initial, build_start_network_trace_slot_request_initial, build_start_request, build_start_slot_request, build_start_web_site_network_trace_operation_request_initial, build_start_web_site_network_trace_operation_slot_request_initial, build_start_web_site_network_trace_request, build_start_web_site_network_trace_slot_request, build_stop_continuous_web_job_request, build_stop_continuous_web_job_slot_request, build_stop_network_trace_request, build_stop_network_trace_slot_request, build_stop_request, build_stop_slot_request, build_stop_web_site_network_trace_request, build_stop_web_site_network_trace_slot_request, build_swap_slot_request_initial, build_swap_slot_with_production_request_initial, build_sync_function_triggers_request, build_sync_function_triggers_slot_request, build_sync_functions_request, build_sync_functions_slot_request, build_sync_repository_request, build_sync_repository_slot_request, build_update_application_settings_request, build_update_application_settings_slot_request, build_update_auth_settings_request, build_update_auth_settings_slot_request, build_update_auth_settings_v2_request, build_update_auth_settings_v2_slot_request, build_update_azure_storage_accounts_request, build_update_azure_storage_accounts_slot_request, build_update_backup_configuration_request, build_update_backup_configuration_slot_request, build_update_configuration_request, build_update_configuration_slot_request, build_update_connection_strings_request, build_update_connection_strings_slot_request, build_update_diagnostic_logs_config_request, build_update_diagnostic_logs_config_slot_request, build_update_domain_ownership_identifier_request, build_update_domain_ownership_identifier_slot_request, build_update_ftp_allowed_request, build_update_ftp_allowed_slot_request, build_update_hybrid_connection_request, build_update_hybrid_connection_slot_request, build_update_metadata_request, build_update_metadata_slot_request, build_update_premier_add_on_request, build_update_premier_add_on_slot_request, build_update_relay_service_connection_request, build_update_relay_service_connection_slot_request, build_update_request, build_update_scm_allowed_request, build_update_scm_allowed_slot_request, build_update_site_push_settings_request, build_update_site_push_settings_slot_request, build_update_slot_configuration_names_request, build_update_slot_request, build_update_source_control_request, build_update_source_control_slot_request, build_update_swift_virtual_network_connection_with_check_request, build_update_swift_virtual_network_connection_with_check_slot_request, build_update_vnet_connection_gateway_request, build_update_vnet_connection_gateway_slot_request, build_update_vnet_connection_request, build_update_vnet_connection_slot_request T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -13129,6 +13129,65 @@ async def get_auth_settings_slot( get_auth_settings_slot.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list'} # type: ignore + @distributed_trace_async + async def get_auth_settings_v2_without_secrets_slot( + self, + resource_group_name: str, + name: str, + slot: str, + **kwargs: Any + ) -> "_models.SiteAuthSettingsV2": + """Gets site's Authentication / Authorization settings for apps via the V2 format. + + Gets site's Authentication / Authorization settings for apps via the V2 format. + + :param resource_group_name: Name of the resource group to which the resource belongs. + :type resource_group_name: str + :param name: Name of the app. + :type name: str + :param slot: Name of the deployment slot. If a slot is not specified, the API will get the + settings for the production slot. + :type slot: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SiteAuthSettingsV2, or the result of cls(response) + :rtype: ~azure.mgmt.web.v2021_03_01.models.SiteAuthSettingsV2 + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SiteAuthSettingsV2"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + + request = build_get_auth_settings_v2_without_secrets_slot_request( + resource_group_name=resource_group_name, + name=name, + slot=slot, + subscription_id=self._config.subscription_id, + template_url=self.get_auth_settings_v2_without_secrets_slot.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.DefaultErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('SiteAuthSettingsV2', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get_auth_settings_v2_without_secrets_slot.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2'} # type: ignore + + @distributed_trace_async async def update_auth_settings_v2_slot( self, diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_03_01/operations/_web_apps_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_03_01/operations/_web_apps_operations.py index f4f960e2dd61..e62d7cfac495 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_03_01/operations/_web_apps_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_03_01/operations/_web_apps_operations.py @@ -7584,6 +7584,43 @@ def build_get_auth_settings_slot_request( ) +def build_get_auth_settings_v2_without_secrets_slot_request( + resource_group_name: str, + name: str, + slot: str, + subscription_id: str, + **kwargs: Any +) -> HttpRequest: + api_version = "2021-03-01" + accept = "application/json" + # Construct URL + url = kwargs.pop("template_url", '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2') + path_format_arguments = { + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+[^\.]$'), + "name": _SERIALIZER.url("name", name, 'str'), + "slot": _SERIALIZER.url("slot", slot, 'str'), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=url, + params=query_parameters, + headers=header_parameters, + **kwargs + ) + + def build_update_auth_settings_v2_slot_request( resource_group_name: str, name: str, @@ -28807,6 +28844,65 @@ def get_auth_settings_slot( get_auth_settings_slot.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list'} # type: ignore + @distributed_trace + def get_auth_settings_v2_without_secrets_slot( + self, + resource_group_name: str, + name: str, + slot: str, + **kwargs: Any + ) -> "_models.SiteAuthSettingsV2": + """Gets site's Authentication / Authorization settings for apps via the V2 format. + + Gets site's Authentication / Authorization settings for apps via the V2 format. + + :param resource_group_name: Name of the resource group to which the resource belongs. + :type resource_group_name: str + :param name: Name of the app. + :type name: str + :param slot: Name of the deployment slot. If a slot is not specified, the API will get the + settings for the production slot. + :type slot: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SiteAuthSettingsV2, or the result of cls(response) + :rtype: ~azure.mgmt.web.v2021_03_01.models.SiteAuthSettingsV2 + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SiteAuthSettingsV2"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + + request = build_get_auth_settings_v2_without_secrets_slot_request( + resource_group_name=resource_group_name, + name=name, + slot=slot, + subscription_id=self._config.subscription_id, + template_url=self.get_auth_settings_v2_without_secrets_slot.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.DefaultErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('SiteAuthSettingsV2', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get_auth_settings_v2_without_secrets_slot.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2'} # type: ignore + + @distributed_trace def update_auth_settings_v2_slot( self,