volcengine-python-sdk 4.0.18__py2.py3-none-any.whl → 4.0.19__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.19.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.19.dist-info}/RECORD +244 -115
- volcenginesdkalb/__init__.py +43 -0
- volcenginesdkalb/models/__init__.py +43 -0
- volcenginesdkalb/models/clone_load_balancer_request.py +1 -1
- volcenginesdkalb/models/convert_forward_group_config_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/convert_forward_group_config_for_describe_rules_output.py +149 -0
- volcenginesdkalb/models/convert_forward_group_config_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/convert_forward_group_config_server_group_tuple_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/convert_forward_group_config_server_group_tuple_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/convert_redirect_config_for_create_rules_input.py +227 -0
- volcenginesdkalb/models/convert_redirect_config_for_describe_rules_output.py +227 -0
- volcenginesdkalb/models/convert_redirect_config_for_modify_rules_input.py +227 -0
- volcenginesdkalb/models/convert_rewrite_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/convert_rewrite_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/convert_rewrite_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/create_listener_request.py +105 -1
- volcenginesdkalb/models/create_load_balancer_request.py +27 -1
- volcenginesdkalb/models/create_server_group_request.py +27 -1
- volcenginesdkalb/models/describe_listener_attributes_response.py +105 -1
- volcenginesdkalb/models/describe_server_group_attributes_response.py +27 -1
- volcenginesdkalb/models/domain_extension_for_create_listener_input.py +29 -3
- volcenginesdkalb/models/domain_extension_for_describe_listener_attributes_output.py +27 -1
- volcenginesdkalb/models/domain_extension_for_describe_listeners_output.py +29 -3
- volcenginesdkalb/models/domain_extension_for_modify_listener_attributes_input.py +29 -3
- volcenginesdkalb/models/fixed_response_config_for_create_rules_input.py +175 -0
- volcenginesdkalb/models/fixed_response_config_for_describe_rules_output.py +175 -0
- volcenginesdkalb/models/fixed_response_config_for_modify_rules_input.py +175 -0
- volcenginesdkalb/models/header_config_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/header_config_for_describe_rules_output.py +149 -0
- volcenginesdkalb/models/header_config_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/health_check_for_create_server_group_input.py +2 -3
- volcenginesdkalb/models/health_check_for_modify_server_group_attributes_input.py +2 -3
- volcenginesdkalb/models/health_check_templates_tag_for_create_health_check_templates_input.py +2 -3
- volcenginesdkalb/models/host_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/host_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/host_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/listener_for_describe_listeners_output.py +105 -1
- volcenginesdkalb/models/method_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/method_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/method_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/modify_listener_attributes_request.py +105 -1
- volcenginesdkalb/models/modify_server_group_attributes_request.py +27 -1
- volcenginesdkalb/models/path_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/path_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/path_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/query_string_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/query_string_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/query_string_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/query_string_config_value_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/query_string_config_value_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/rule_action_for_describe_rules_output.py +253 -0
- volcenginesdkalb/models/rule_condition_for_describe_rules_output.py +253 -0
- volcenginesdkalb/models/rule_for_create_rules_input.py +85 -1
- volcenginesdkalb/models/rule_for_describe_rules_output.py +79 -1
- volcenginesdkalb/models/rule_for_modify_rules_input.py +85 -1
- volcenginesdkalb/models/rules_rule_action_for_create_rules_input.py +253 -0
- volcenginesdkalb/models/rules_rule_action_for_modify_rules_input.py +253 -0
- volcenginesdkalb/models/rules_rule_condition_for_create_rules_input.py +253 -0
- volcenginesdkalb/models/rules_rule_condition_for_modify_rules_input.py +253 -0
- volcenginesdkalb/models/server_group_for_describe_server_groups_output.py +27 -1
- volcenginesdkalb/models/server_group_sticky_session_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/server_group_sticky_session_for_describe_rules_output.py +149 -0
- volcenginesdkalb/models/server_group_sticky_session_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/traffic_limit_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/traffic_limit_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/traffic_limit_config_for_modify_rules_input.py +123 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkdirectconnect/__init__.py +45 -6
- volcenginesdkdirectconnect/api/directconnect_api.py +2015 -366
- volcenginesdkdirectconnect/models/__init__.py +45 -4
- volcenginesdkdirectconnect/models/allocate_direct_connect_virtual_interface_request.py +560 -0
- volcenginesdkdirectconnect/models/allocate_direct_connect_virtual_interface_response.py +149 -0
- volcenginesdkdirectconnect/models/confirm_direct_connect_virtual_interface_request.py +151 -0
- volcenginesdkdirectconnect/models/confirm_direct_connect_virtual_interface_response.py +123 -0
- volcenginesdkdirectconnect/models/create_direct_connect_gateway_request.py +27 -1
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_policy_request.py +175 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_policy_response.py +149 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_queue_request.py +255 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_queue_response.py +149 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_rule_request.py +496 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_rule_response.py +149 -0
- volcenginesdkdirectconnect/models/create_direct_connect_virtual_interface_request.py +27 -1
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_policy_request.py +124 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_policy_response.py +123 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_request.py +124 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_response.py +123 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_rule_request.py +124 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_rule_response.py +123 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_gateways_request.py +27 -1
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_policies_request.py +201 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_policies_response.py +227 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_queues_request.py +201 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_queues_response.py +227 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_rules_request.py +331 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_rules_response.py +227 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_virtual_interface_attributes_response.py +27 -1
- volcenginesdkdirectconnect/models/direct_connect_traffic_qos_rule_for_describe_direct_connect_traffic_qos_rules_output.py +513 -0
- volcenginesdkdirectconnect/models/list_tags_for_resources_request.py +254 -0
- volcenginesdkdirectconnect/models/list_tags_for_resources_response.py +149 -0
- volcenginesdkdirectconnect/models/models.py +592 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_policy_attributes_request.py +202 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_policy_attributes_response.py +123 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_queue_attributes_request.py +202 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_queue_attributes_response.py +123 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_rule_attributes_request.py +151 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_rule_attributes_response.py +123 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_virtual_interface_attributes_request.py +27 -1
- volcenginesdkdirectconnect/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
- volcenginesdkdirectconnect/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- volcenginesdkdirectconnect/models/tag_for_allocate_direct_connect_virtual_interface_input.py +149 -0
- volcenginesdkdirectconnect/models/tag_for_tag_resources_input.py +150 -0
- volcenginesdkdirectconnect/models/tag_resources_request.py +176 -0
- volcenginesdkdirectconnect/models/tag_resources_response.py +95 -0
- volcenginesdkdirectconnect/models/untag_resources_request.py +176 -0
- volcenginesdkdirectconnect/models/untag_resources_response.py +95 -0
- volcenginesdkgraph20250815/models/get_table_response.py +29 -29
- volcenginesdklivesaas/__init__.py +0 -3
- volcenginesdklivesaas/api/livesaas_api.py +0 -97
- volcenginesdklivesaas/models/__init__.py +0 -3
- volcenginesdklivesaas/models/task_award_record_list_for_get_task_award_record_statistics_api_output.py +27 -1
- volcenginesdklivesaas20230801/models/award_record_for_list_award_record_statistics_output.py +27 -1
- volcenginesdklivesaas20230801/models/robot_comment_for_list_robot_comments_output.py +1 -1
- volcenginesdkmlplatform20240701/__init__.py +31 -0
- volcenginesdkmlplatform20240701/api/ml_platform20240701_api.py +194 -0
- volcenginesdkmlplatform20240701/models/__init__.py +31 -0
- volcenginesdkmlplatform20240701/models/allocated_compute_resource_for_list_resource_reservation_records_output.py +27 -1
- volcenginesdkmlplatform20240701/models/available_resource_for_list_resource_reservation_plan_available_resources_output.py +149 -0
- volcenginesdkmlplatform20240701/models/compute_resource_for_create_resource_reservation_plan_input.py +27 -1
- volcenginesdkmlplatform20240701/models/compute_resource_for_list_resource_reservation_plan_available_resources_input.py +201 -0
- volcenginesdkmlplatform20240701/models/config_for_create_deployment_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_create_dev_instance_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_create_job_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_get_deployment_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_get_dev_instance_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_get_job_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_list_dev_instances_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_update_deployment_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_update_dev_instance_input.py +55 -3
- volcenginesdkmlplatform20240701/models/create_dev_instance_request.py +87 -4
- volcenginesdkmlplatform20240701/models/create_job_request.py +33 -1
- volcenginesdkmlplatform20240701/models/create_resource_group_request.py +59 -1
- volcenginesdkmlplatform20240701/models/create_resource_queue_request.py +33 -1
- volcenginesdkmlplatform20240701/models/create_resource_reservation_plan_request.py +87 -3
- volcenginesdkmlplatform20240701/models/create_service_request.py +33 -1
- volcenginesdkmlplatform20240701/models/delivered_compute_resource_for_list_resource_reservation_records_output.py +27 -1
- volcenginesdkmlplatform20240701/models/desired_compute_resource_for_get_resource_reservation_plan_output.py +27 -1
- volcenginesdkmlplatform20240701/models/desired_compute_resource_for_list_resource_reservation_plans_output.py +27 -1
- volcenginesdkmlplatform20240701/models/desired_compute_resource_for_list_resource_reservation_records_output.py +27 -1
- volcenginesdkmlplatform20240701/models/get_deployment_response.py +27 -1
- volcenginesdkmlplatform20240701/models/get_dev_instance_response.py +79 -1
- volcenginesdkmlplatform20240701/models/get_job_response.py +27 -1
- volcenginesdkmlplatform20240701/models/get_resource_group_response.py +53 -1
- volcenginesdkmlplatform20240701/models/get_resource_queue_response.py +27 -1
- volcenginesdkmlplatform20240701/models/get_resource_reservation_plan_response.py +81 -3
- volcenginesdkmlplatform20240701/models/get_service_response.py +27 -1
- volcenginesdkmlplatform20240701/models/item_for_list_jobs_output.py +27 -1
- volcenginesdkmlplatform20240701/models/item_for_list_resource_groups_output.py +53 -1
- volcenginesdkmlplatform20240701/models/item_for_list_resource_queues_output.py +27 -1
- volcenginesdkmlplatform20240701/models/item_for_list_resource_reservation_plans_output.py +81 -3
- volcenginesdkmlplatform20240701/models/list_dev_instances_request.py +59 -1
- volcenginesdkmlplatform20240701/models/list_for_list_dev_instances_output.py +79 -1
- volcenginesdkmlplatform20240701/models/list_jobs_request.py +33 -1
- volcenginesdkmlplatform20240701/models/list_resource_claim_options_request.py +27 -1
- volcenginesdkmlplatform20240701/models/list_resource_groups_request.py +33 -1
- volcenginesdkmlplatform20240701/models/list_resource_queues_request.py +33 -1
- volcenginesdkmlplatform20240701/models/list_resource_reservation_plan_available_resources_request.py +243 -0
- volcenginesdkmlplatform20240701/models/list_resource_reservation_plan_available_resources_response.py +123 -0
- volcenginesdkmlplatform20240701/models/list_resource_reservation_plans_request.py +59 -1
- volcenginesdkmlplatform20240701/models/list_services_request.py +33 -1
- volcenginesdkmlplatform20240701/models/nas_ap_for_create_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_create_dev_instance_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_create_job_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_get_deployment_output.py +149 -0
- volcenginesdklivesaas/models/update_activity_menu_api_request.py → volcenginesdkmlplatform20240701/models/nas_ap_for_get_dev_instance_output.py +39 -40
- volcenginesdkmlplatform20240701/models/nas_ap_for_get_job_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_list_dev_instances_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_update_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_update_dev_instance_input.py +149 -0
- volcenginesdkmlplatform20240701/models/reservation_config_for_create_resource_reservation_plan_input.py +27 -1
- volcenginesdkmlplatform20240701/models/reservation_config_for_get_resource_reservation_plan_output.py +29 -3
- volcenginesdkmlplatform20240701/models/reservation_config_for_list_resource_reservation_plans_output.py +29 -3
- volcenginesdkmlplatform20240701/models/resource_segment_for_get_resource_reservation_plan_output.py +175 -0
- volcenginesdkmlplatform20240701/models/resource_segment_for_list_resource_reservation_plans_output.py +175 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_create_resource_reservation_plan_input.py +123 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_get_resource_reservation_plan_output.py +123 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_list_resource_reservation_plans_output.py +123 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_update_resource_reservation_plan_input.py +123 -0
- volcenginesdkmlplatform20240701/models/segment_for_list_resource_reservation_plan_available_resources_output.py +175 -0
- volcenginesdklivesaas/models/menu_for_update_activity_menu_api_input.py → volcenginesdkmlplatform20240701/models/sign_jwt_token_request.py +33 -57
- volcenginesdklivesaas/models/update_activity_menu_api_response.py → volcenginesdkmlplatform20240701/models/sign_jwt_token_response.py +23 -23
- volcenginesdkmlplatform20240701/models/update_dev_instance_request.py +53 -1
- volcenginesdkmlplatform20240701/models/update_resource_reservation_plan_request.py +55 -3
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_create_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_create_dev_instance_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_create_job_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_get_deployment_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_get_dev_instance_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_get_job_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_list_dev_instances_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_update_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_update_dev_instance_input.py +149 -0
- volcenginesdkvod20250101/__init__.py +18 -0
- volcenginesdkvod20250101/api/vod20250101_api.py +485 -0
- volcenginesdkvod20250101/models/__init__.py +18 -0
- volcenginesdkvod20250101/models/background_audio_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/clip_audio_for_generate_ai_translation_utterance_audio_output.py +27 -1
- volcenginesdkvod20250101/models/clip_video_for_generate_ai_translation_utterance_audio_output.py +27 -1
- volcenginesdkvod20250101/models/create_ai_translation_speaker_request.py +205 -0
- volcenginesdkvod20250101/models/create_ai_translation_speaker_response.py +149 -0
- volcenginesdkvod20250101/models/create_ai_translation_speech_request.py +232 -0
- volcenginesdkvod20250101/models/create_ai_translation_speech_response.py +123 -0
- volcenginesdkvod20250101/models/delete_ai_translation_speech_request.py +151 -0
- volcenginesdkvod20250101/models/delete_ai_translation_speech_response.py +95 -0
- volcenginesdkvod20250101/models/erased_subtitle_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/facial_translation_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/foreground_audio_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/input_subtitle_for_get_ai_translation_project_output.py +253 -0
- volcenginesdkvod20250101/models/input_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/input_video_for_list_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/list_ai_translation_speech_request.py +178 -0
- volcenginesdkvod20250101/models/list_ai_translation_speech_response.py +149 -0
- volcenginesdkvod20250101/models/output_subtitle_for_get_ai_translation_project_output.py +253 -0
- volcenginesdkvod20250101/models/output_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/output_video_for_list_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/preset_speech_for_list_ai_translation_speech_output.py +253 -0
- volcenginesdkvod20250101/models/preview_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/preview_video_muted_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/project_base_info_for_create_ai_translation_speaker_output.py +149 -0
- volcenginesdkvod20250101/models/project_info_for_get_ai_translation_project_output.py +53 -1
- volcenginesdkvod20250101/models/speaker_for_create_ai_translation_speaker_output.py +227 -0
- volcenginesdkvod20250101/models/speaker_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/speaker_for_update_ai_translation_speakers_input.py +29 -3
- volcenginesdkvod20250101/models/speech_for_create_ai_translation_speech_output.py +253 -0
- volcenginesdkvod20250101/models/speech_for_update_ai_translation_speeches_input.py +149 -0
- volcenginesdkvod20250101/models/update_ai_translation_speeches_request.py +150 -0
- volcenginesdkvod20250101/models/update_ai_translation_speeches_response.py +95 -0
- volcenginesdkvod20250101/models/user_speech_for_list_ai_translation_speech_output.py +253 -0
- volcenginesdkvod20250101/models/voice_translation_video_for_get_ai_translation_project_output.py +27 -1
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.19.dist-info}/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.19.dist-info}/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.19.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.19.dist-info}/top_level.txt +0 -0
|
@@ -33,6 +33,103 @@ class DIRECTCONNECTApi(object):
|
|
|
33
33
|
api_client = volcenginesdkcore.ApiClient()
|
|
34
34
|
self.api_client = api_client
|
|
35
35
|
|
|
36
|
+
def allocate_direct_connect_virtual_interface(self, body, **kwargs): # noqa: E501
|
|
37
|
+
"""allocate_direct_connect_virtual_interface # noqa: E501
|
|
38
|
+
|
|
39
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
40
|
+
asynchronous HTTP request, please pass async_req=True
|
|
41
|
+
>>> thread = api.allocate_direct_connect_virtual_interface(body, async_req=True)
|
|
42
|
+
>>> result = thread.get()
|
|
43
|
+
|
|
44
|
+
:param async_req bool
|
|
45
|
+
:param AllocateDirectConnectVirtualInterfaceRequest body: (required)
|
|
46
|
+
:return: AllocateDirectConnectVirtualInterfaceResponse
|
|
47
|
+
If the method is called asynchronously,
|
|
48
|
+
returns the request thread.
|
|
49
|
+
"""
|
|
50
|
+
kwargs['_return_http_data_only'] = True
|
|
51
|
+
if kwargs.get('async_req'):
|
|
52
|
+
return self.allocate_direct_connect_virtual_interface_with_http_info(body, **kwargs) # noqa: E501
|
|
53
|
+
else:
|
|
54
|
+
(data) = self.allocate_direct_connect_virtual_interface_with_http_info(body, **kwargs) # noqa: E501
|
|
55
|
+
return data
|
|
56
|
+
|
|
57
|
+
def allocate_direct_connect_virtual_interface_with_http_info(self, body, **kwargs): # noqa: E501
|
|
58
|
+
"""allocate_direct_connect_virtual_interface # noqa: E501
|
|
59
|
+
|
|
60
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
61
|
+
asynchronous HTTP request, please pass async_req=True
|
|
62
|
+
>>> thread = api.allocate_direct_connect_virtual_interface_with_http_info(body, async_req=True)
|
|
63
|
+
>>> result = thread.get()
|
|
64
|
+
|
|
65
|
+
:param async_req bool
|
|
66
|
+
:param AllocateDirectConnectVirtualInterfaceRequest body: (required)
|
|
67
|
+
:return: AllocateDirectConnectVirtualInterfaceResponse
|
|
68
|
+
If the method is called asynchronously,
|
|
69
|
+
returns the request thread.
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
all_params = ['body'] # noqa: E501
|
|
73
|
+
all_params.append('async_req')
|
|
74
|
+
all_params.append('_return_http_data_only')
|
|
75
|
+
all_params.append('_preload_content')
|
|
76
|
+
all_params.append('_request_timeout')
|
|
77
|
+
|
|
78
|
+
params = locals()
|
|
79
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
80
|
+
if key not in all_params:
|
|
81
|
+
raise TypeError(
|
|
82
|
+
"Got an unexpected keyword argument '%s'"
|
|
83
|
+
" to method allocate_direct_connect_virtual_interface" % key
|
|
84
|
+
)
|
|
85
|
+
params[key] = val
|
|
86
|
+
del params['kwargs']
|
|
87
|
+
# verify the required parameter 'body' is set
|
|
88
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
89
|
+
params['body'] is None): # noqa: E501
|
|
90
|
+
raise ValueError("Missing the required parameter `body` when calling `allocate_direct_connect_virtual_interface`") # noqa: E501
|
|
91
|
+
|
|
92
|
+
collection_formats = {}
|
|
93
|
+
|
|
94
|
+
path_params = {}
|
|
95
|
+
|
|
96
|
+
query_params = []
|
|
97
|
+
|
|
98
|
+
header_params = {}
|
|
99
|
+
|
|
100
|
+
form_params = []
|
|
101
|
+
local_var_files = {}
|
|
102
|
+
|
|
103
|
+
body_params = None
|
|
104
|
+
if 'body' in params:
|
|
105
|
+
body_params = params['body']
|
|
106
|
+
# HTTP header `Accept`
|
|
107
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
108
|
+
['application/json']) # noqa: E501
|
|
109
|
+
|
|
110
|
+
# HTTP header `Content-Type`
|
|
111
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
112
|
+
['text/plain']) # noqa: E501
|
|
113
|
+
|
|
114
|
+
# Authentication setting
|
|
115
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
116
|
+
|
|
117
|
+
return self.api_client.call_api(
|
|
118
|
+
'/AllocateDirectConnectVirtualInterface/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
119
|
+
path_params,
|
|
120
|
+
query_params,
|
|
121
|
+
header_params,
|
|
122
|
+
body=body_params,
|
|
123
|
+
post_params=form_params,
|
|
124
|
+
files=local_var_files,
|
|
125
|
+
response_type='AllocateDirectConnectVirtualInterfaceResponse', # noqa: E501
|
|
126
|
+
auth_settings=auth_settings,
|
|
127
|
+
async_req=params.get('async_req'),
|
|
128
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
129
|
+
_preload_content=params.get('_preload_content', True),
|
|
130
|
+
_request_timeout=params.get('_request_timeout'),
|
|
131
|
+
collection_formats=collection_formats)
|
|
132
|
+
|
|
36
133
|
def apply_direct_connect_connection_loa(self, body, **kwargs): # noqa: E501
|
|
37
134
|
"""apply_direct_connect_connection_loa # noqa: E501
|
|
38
135
|
|
|
@@ -130,6 +227,103 @@ class DIRECTCONNECTApi(object):
|
|
|
130
227
|
_request_timeout=params.get('_request_timeout'),
|
|
131
228
|
collection_formats=collection_formats)
|
|
132
229
|
|
|
230
|
+
def confirm_direct_connect_virtual_interface(self, body, **kwargs): # noqa: E501
|
|
231
|
+
"""confirm_direct_connect_virtual_interface # noqa: E501
|
|
232
|
+
|
|
233
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
234
|
+
asynchronous HTTP request, please pass async_req=True
|
|
235
|
+
>>> thread = api.confirm_direct_connect_virtual_interface(body, async_req=True)
|
|
236
|
+
>>> result = thread.get()
|
|
237
|
+
|
|
238
|
+
:param async_req bool
|
|
239
|
+
:param ConfirmDirectConnectVirtualInterfaceRequest body: (required)
|
|
240
|
+
:return: ConfirmDirectConnectVirtualInterfaceResponse
|
|
241
|
+
If the method is called asynchronously,
|
|
242
|
+
returns the request thread.
|
|
243
|
+
"""
|
|
244
|
+
kwargs['_return_http_data_only'] = True
|
|
245
|
+
if kwargs.get('async_req'):
|
|
246
|
+
return self.confirm_direct_connect_virtual_interface_with_http_info(body, **kwargs) # noqa: E501
|
|
247
|
+
else:
|
|
248
|
+
(data) = self.confirm_direct_connect_virtual_interface_with_http_info(body, **kwargs) # noqa: E501
|
|
249
|
+
return data
|
|
250
|
+
|
|
251
|
+
def confirm_direct_connect_virtual_interface_with_http_info(self, body, **kwargs): # noqa: E501
|
|
252
|
+
"""confirm_direct_connect_virtual_interface # noqa: E501
|
|
253
|
+
|
|
254
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
255
|
+
asynchronous HTTP request, please pass async_req=True
|
|
256
|
+
>>> thread = api.confirm_direct_connect_virtual_interface_with_http_info(body, async_req=True)
|
|
257
|
+
>>> result = thread.get()
|
|
258
|
+
|
|
259
|
+
:param async_req bool
|
|
260
|
+
:param ConfirmDirectConnectVirtualInterfaceRequest body: (required)
|
|
261
|
+
:return: ConfirmDirectConnectVirtualInterfaceResponse
|
|
262
|
+
If the method is called asynchronously,
|
|
263
|
+
returns the request thread.
|
|
264
|
+
"""
|
|
265
|
+
|
|
266
|
+
all_params = ['body'] # noqa: E501
|
|
267
|
+
all_params.append('async_req')
|
|
268
|
+
all_params.append('_return_http_data_only')
|
|
269
|
+
all_params.append('_preload_content')
|
|
270
|
+
all_params.append('_request_timeout')
|
|
271
|
+
|
|
272
|
+
params = locals()
|
|
273
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
274
|
+
if key not in all_params:
|
|
275
|
+
raise TypeError(
|
|
276
|
+
"Got an unexpected keyword argument '%s'"
|
|
277
|
+
" to method confirm_direct_connect_virtual_interface" % key
|
|
278
|
+
)
|
|
279
|
+
params[key] = val
|
|
280
|
+
del params['kwargs']
|
|
281
|
+
# verify the required parameter 'body' is set
|
|
282
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
283
|
+
params['body'] is None): # noqa: E501
|
|
284
|
+
raise ValueError("Missing the required parameter `body` when calling `confirm_direct_connect_virtual_interface`") # noqa: E501
|
|
285
|
+
|
|
286
|
+
collection_formats = {}
|
|
287
|
+
|
|
288
|
+
path_params = {}
|
|
289
|
+
|
|
290
|
+
query_params = []
|
|
291
|
+
|
|
292
|
+
header_params = {}
|
|
293
|
+
|
|
294
|
+
form_params = []
|
|
295
|
+
local_var_files = {}
|
|
296
|
+
|
|
297
|
+
body_params = None
|
|
298
|
+
if 'body' in params:
|
|
299
|
+
body_params = params['body']
|
|
300
|
+
# HTTP header `Accept`
|
|
301
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
302
|
+
['application/json']) # noqa: E501
|
|
303
|
+
|
|
304
|
+
# HTTP header `Content-Type`
|
|
305
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
306
|
+
['text/plain']) # noqa: E501
|
|
307
|
+
|
|
308
|
+
# Authentication setting
|
|
309
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
310
|
+
|
|
311
|
+
return self.api_client.call_api(
|
|
312
|
+
'/ConfirmDirectConnectVirtualInterface/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
313
|
+
path_params,
|
|
314
|
+
query_params,
|
|
315
|
+
header_params,
|
|
316
|
+
body=body_params,
|
|
317
|
+
post_params=form_params,
|
|
318
|
+
files=local_var_files,
|
|
319
|
+
response_type='ConfirmDirectConnectVirtualInterfaceResponse', # noqa: E501
|
|
320
|
+
auth_settings=auth_settings,
|
|
321
|
+
async_req=params.get('async_req'),
|
|
322
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
323
|
+
_preload_content=params.get('_preload_content', True),
|
|
324
|
+
_request_timeout=params.get('_request_timeout'),
|
|
325
|
+
collection_formats=collection_formats)
|
|
326
|
+
|
|
133
327
|
def create_bgp_peer(self, body, **kwargs): # noqa: E501
|
|
134
328
|
"""create_bgp_peer # noqa: E501
|
|
135
329
|
|
|
@@ -615,38 +809,38 @@ class DIRECTCONNECTApi(object):
|
|
|
615
809
|
_request_timeout=params.get('_request_timeout'),
|
|
616
810
|
collection_formats=collection_formats)
|
|
617
811
|
|
|
618
|
-
def
|
|
619
|
-
"""
|
|
812
|
+
def create_direct_connect_traffic_qos_policy(self, body, **kwargs): # noqa: E501
|
|
813
|
+
"""create_direct_connect_traffic_qos_policy # noqa: E501
|
|
620
814
|
|
|
621
815
|
This method makes a synchronous HTTP request by default. To make an
|
|
622
816
|
asynchronous HTTP request, please pass async_req=True
|
|
623
|
-
>>> thread = api.
|
|
817
|
+
>>> thread = api.create_direct_connect_traffic_qos_policy(body, async_req=True)
|
|
624
818
|
>>> result = thread.get()
|
|
625
819
|
|
|
626
820
|
:param async_req bool
|
|
627
|
-
:param
|
|
628
|
-
:return:
|
|
821
|
+
:param CreateDirectConnectTrafficQosPolicyRequest body: (required)
|
|
822
|
+
:return: CreateDirectConnectTrafficQosPolicyResponse
|
|
629
823
|
If the method is called asynchronously,
|
|
630
824
|
returns the request thread.
|
|
631
825
|
"""
|
|
632
826
|
kwargs['_return_http_data_only'] = True
|
|
633
827
|
if kwargs.get('async_req'):
|
|
634
|
-
return self.
|
|
828
|
+
return self.create_direct_connect_traffic_qos_policy_with_http_info(body, **kwargs) # noqa: E501
|
|
635
829
|
else:
|
|
636
|
-
(data) = self.
|
|
830
|
+
(data) = self.create_direct_connect_traffic_qos_policy_with_http_info(body, **kwargs) # noqa: E501
|
|
637
831
|
return data
|
|
638
832
|
|
|
639
|
-
def
|
|
640
|
-
"""
|
|
833
|
+
def create_direct_connect_traffic_qos_policy_with_http_info(self, body, **kwargs): # noqa: E501
|
|
834
|
+
"""create_direct_connect_traffic_qos_policy # noqa: E501
|
|
641
835
|
|
|
642
836
|
This method makes a synchronous HTTP request by default. To make an
|
|
643
837
|
asynchronous HTTP request, please pass async_req=True
|
|
644
|
-
>>> thread = api.
|
|
838
|
+
>>> thread = api.create_direct_connect_traffic_qos_policy_with_http_info(body, async_req=True)
|
|
645
839
|
>>> result = thread.get()
|
|
646
840
|
|
|
647
841
|
:param async_req bool
|
|
648
|
-
:param
|
|
649
|
-
:return:
|
|
842
|
+
:param CreateDirectConnectTrafficQosPolicyRequest body: (required)
|
|
843
|
+
:return: CreateDirectConnectTrafficQosPolicyResponse
|
|
650
844
|
If the method is called asynchronously,
|
|
651
845
|
returns the request thread.
|
|
652
846
|
"""
|
|
@@ -662,14 +856,14 @@ class DIRECTCONNECTApi(object):
|
|
|
662
856
|
if key not in all_params:
|
|
663
857
|
raise TypeError(
|
|
664
858
|
"Got an unexpected keyword argument '%s'"
|
|
665
|
-
" to method
|
|
859
|
+
" to method create_direct_connect_traffic_qos_policy" % key
|
|
666
860
|
)
|
|
667
861
|
params[key] = val
|
|
668
862
|
del params['kwargs']
|
|
669
863
|
# verify the required parameter 'body' is set
|
|
670
864
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
671
865
|
params['body'] is None): # noqa: E501
|
|
672
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
866
|
+
raise ValueError("Missing the required parameter `body` when calling `create_direct_connect_traffic_qos_policy`") # noqa: E501
|
|
673
867
|
|
|
674
868
|
collection_formats = {}
|
|
675
869
|
|
|
@@ -697,14 +891,14 @@ class DIRECTCONNECTApi(object):
|
|
|
697
891
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
698
892
|
|
|
699
893
|
return self.api_client.call_api(
|
|
700
|
-
'/
|
|
894
|
+
'/CreateDirectConnectTrafficQosPolicy/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
701
895
|
path_params,
|
|
702
896
|
query_params,
|
|
703
897
|
header_params,
|
|
704
898
|
body=body_params,
|
|
705
899
|
post_params=form_params,
|
|
706
900
|
files=local_var_files,
|
|
707
|
-
response_type='
|
|
901
|
+
response_type='CreateDirectConnectTrafficQosPolicyResponse', # noqa: E501
|
|
708
902
|
auth_settings=auth_settings,
|
|
709
903
|
async_req=params.get('async_req'),
|
|
710
904
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -712,38 +906,38 @@ class DIRECTCONNECTApi(object):
|
|
|
712
906
|
_request_timeout=params.get('_request_timeout'),
|
|
713
907
|
collection_formats=collection_formats)
|
|
714
908
|
|
|
715
|
-
def
|
|
716
|
-
"""
|
|
909
|
+
def create_direct_connect_traffic_qos_queue(self, body, **kwargs): # noqa: E501
|
|
910
|
+
"""create_direct_connect_traffic_qos_queue # noqa: E501
|
|
717
911
|
|
|
718
912
|
This method makes a synchronous HTTP request by default. To make an
|
|
719
913
|
asynchronous HTTP request, please pass async_req=True
|
|
720
|
-
>>> thread = api.
|
|
914
|
+
>>> thread = api.create_direct_connect_traffic_qos_queue(body, async_req=True)
|
|
721
915
|
>>> result = thread.get()
|
|
722
916
|
|
|
723
917
|
:param async_req bool
|
|
724
|
-
:param
|
|
725
|
-
:return:
|
|
918
|
+
:param CreateDirectConnectTrafficQosQueueRequest body: (required)
|
|
919
|
+
:return: CreateDirectConnectTrafficQosQueueResponse
|
|
726
920
|
If the method is called asynchronously,
|
|
727
921
|
returns the request thread.
|
|
728
922
|
"""
|
|
729
923
|
kwargs['_return_http_data_only'] = True
|
|
730
924
|
if kwargs.get('async_req'):
|
|
731
|
-
return self.
|
|
925
|
+
return self.create_direct_connect_traffic_qos_queue_with_http_info(body, **kwargs) # noqa: E501
|
|
732
926
|
else:
|
|
733
|
-
(data) = self.
|
|
927
|
+
(data) = self.create_direct_connect_traffic_qos_queue_with_http_info(body, **kwargs) # noqa: E501
|
|
734
928
|
return data
|
|
735
929
|
|
|
736
|
-
def
|
|
737
|
-
"""
|
|
930
|
+
def create_direct_connect_traffic_qos_queue_with_http_info(self, body, **kwargs): # noqa: E501
|
|
931
|
+
"""create_direct_connect_traffic_qos_queue # noqa: E501
|
|
738
932
|
|
|
739
933
|
This method makes a synchronous HTTP request by default. To make an
|
|
740
934
|
asynchronous HTTP request, please pass async_req=True
|
|
741
|
-
>>> thread = api.
|
|
935
|
+
>>> thread = api.create_direct_connect_traffic_qos_queue_with_http_info(body, async_req=True)
|
|
742
936
|
>>> result = thread.get()
|
|
743
937
|
|
|
744
938
|
:param async_req bool
|
|
745
|
-
:param
|
|
746
|
-
:return:
|
|
939
|
+
:param CreateDirectConnectTrafficQosQueueRequest body: (required)
|
|
940
|
+
:return: CreateDirectConnectTrafficQosQueueResponse
|
|
747
941
|
If the method is called asynchronously,
|
|
748
942
|
returns the request thread.
|
|
749
943
|
"""
|
|
@@ -759,14 +953,14 @@ class DIRECTCONNECTApi(object):
|
|
|
759
953
|
if key not in all_params:
|
|
760
954
|
raise TypeError(
|
|
761
955
|
"Got an unexpected keyword argument '%s'"
|
|
762
|
-
" to method
|
|
956
|
+
" to method create_direct_connect_traffic_qos_queue" % key
|
|
763
957
|
)
|
|
764
958
|
params[key] = val
|
|
765
959
|
del params['kwargs']
|
|
766
960
|
# verify the required parameter 'body' is set
|
|
767
961
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
768
962
|
params['body'] is None): # noqa: E501
|
|
769
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
963
|
+
raise ValueError("Missing the required parameter `body` when calling `create_direct_connect_traffic_qos_queue`") # noqa: E501
|
|
770
964
|
|
|
771
965
|
collection_formats = {}
|
|
772
966
|
|
|
@@ -794,14 +988,14 @@ class DIRECTCONNECTApi(object):
|
|
|
794
988
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
795
989
|
|
|
796
990
|
return self.api_client.call_api(
|
|
797
|
-
'/
|
|
991
|
+
'/CreateDirectConnectTrafficQosQueue/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
798
992
|
path_params,
|
|
799
993
|
query_params,
|
|
800
994
|
header_params,
|
|
801
995
|
body=body_params,
|
|
802
996
|
post_params=form_params,
|
|
803
997
|
files=local_var_files,
|
|
804
|
-
response_type='
|
|
998
|
+
response_type='CreateDirectConnectTrafficQosQueueResponse', # noqa: E501
|
|
805
999
|
auth_settings=auth_settings,
|
|
806
1000
|
async_req=params.get('async_req'),
|
|
807
1001
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -809,38 +1003,38 @@ class DIRECTCONNECTApi(object):
|
|
|
809
1003
|
_request_timeout=params.get('_request_timeout'),
|
|
810
1004
|
collection_formats=collection_formats)
|
|
811
1005
|
|
|
812
|
-
def
|
|
813
|
-
"""
|
|
1006
|
+
def create_direct_connect_traffic_qos_rule(self, body, **kwargs): # noqa: E501
|
|
1007
|
+
"""create_direct_connect_traffic_qos_rule # noqa: E501
|
|
814
1008
|
|
|
815
1009
|
This method makes a synchronous HTTP request by default. To make an
|
|
816
1010
|
asynchronous HTTP request, please pass async_req=True
|
|
817
|
-
>>> thread = api.
|
|
1011
|
+
>>> thread = api.create_direct_connect_traffic_qos_rule(body, async_req=True)
|
|
818
1012
|
>>> result = thread.get()
|
|
819
1013
|
|
|
820
1014
|
:param async_req bool
|
|
821
|
-
:param
|
|
822
|
-
:return:
|
|
1015
|
+
:param CreateDirectConnectTrafficQosRuleRequest body: (required)
|
|
1016
|
+
:return: CreateDirectConnectTrafficQosRuleResponse
|
|
823
1017
|
If the method is called asynchronously,
|
|
824
1018
|
returns the request thread.
|
|
825
1019
|
"""
|
|
826
1020
|
kwargs['_return_http_data_only'] = True
|
|
827
1021
|
if kwargs.get('async_req'):
|
|
828
|
-
return self.
|
|
1022
|
+
return self.create_direct_connect_traffic_qos_rule_with_http_info(body, **kwargs) # noqa: E501
|
|
829
1023
|
else:
|
|
830
|
-
(data) = self.
|
|
1024
|
+
(data) = self.create_direct_connect_traffic_qos_rule_with_http_info(body, **kwargs) # noqa: E501
|
|
831
1025
|
return data
|
|
832
1026
|
|
|
833
|
-
def
|
|
834
|
-
"""
|
|
1027
|
+
def create_direct_connect_traffic_qos_rule_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1028
|
+
"""create_direct_connect_traffic_qos_rule # noqa: E501
|
|
835
1029
|
|
|
836
1030
|
This method makes a synchronous HTTP request by default. To make an
|
|
837
1031
|
asynchronous HTTP request, please pass async_req=True
|
|
838
|
-
>>> thread = api.
|
|
1032
|
+
>>> thread = api.create_direct_connect_traffic_qos_rule_with_http_info(body, async_req=True)
|
|
839
1033
|
>>> result = thread.get()
|
|
840
1034
|
|
|
841
1035
|
:param async_req bool
|
|
842
|
-
:param
|
|
843
|
-
:return:
|
|
1036
|
+
:param CreateDirectConnectTrafficQosRuleRequest body: (required)
|
|
1037
|
+
:return: CreateDirectConnectTrafficQosRuleResponse
|
|
844
1038
|
If the method is called asynchronously,
|
|
845
1039
|
returns the request thread.
|
|
846
1040
|
"""
|
|
@@ -856,14 +1050,14 @@ class DIRECTCONNECTApi(object):
|
|
|
856
1050
|
if key not in all_params:
|
|
857
1051
|
raise TypeError(
|
|
858
1052
|
"Got an unexpected keyword argument '%s'"
|
|
859
|
-
" to method
|
|
1053
|
+
" to method create_direct_connect_traffic_qos_rule" % key
|
|
860
1054
|
)
|
|
861
1055
|
params[key] = val
|
|
862
1056
|
del params['kwargs']
|
|
863
1057
|
# verify the required parameter 'body' is set
|
|
864
1058
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
865
1059
|
params['body'] is None): # noqa: E501
|
|
866
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1060
|
+
raise ValueError("Missing the required parameter `body` when calling `create_direct_connect_traffic_qos_rule`") # noqa: E501
|
|
867
1061
|
|
|
868
1062
|
collection_formats = {}
|
|
869
1063
|
|
|
@@ -891,14 +1085,14 @@ class DIRECTCONNECTApi(object):
|
|
|
891
1085
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
892
1086
|
|
|
893
1087
|
return self.api_client.call_api(
|
|
894
|
-
'/
|
|
1088
|
+
'/CreateDirectConnectTrafficQosRule/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
895
1089
|
path_params,
|
|
896
1090
|
query_params,
|
|
897
1091
|
header_params,
|
|
898
1092
|
body=body_params,
|
|
899
1093
|
post_params=form_params,
|
|
900
1094
|
files=local_var_files,
|
|
901
|
-
response_type='
|
|
1095
|
+
response_type='CreateDirectConnectTrafficQosRuleResponse', # noqa: E501
|
|
902
1096
|
auth_settings=auth_settings,
|
|
903
1097
|
async_req=params.get('async_req'),
|
|
904
1098
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -906,38 +1100,38 @@ class DIRECTCONNECTApi(object):
|
|
|
906
1100
|
_request_timeout=params.get('_request_timeout'),
|
|
907
1101
|
collection_formats=collection_formats)
|
|
908
1102
|
|
|
909
|
-
def
|
|
910
|
-
"""
|
|
1103
|
+
def create_direct_connect_virtual_interface(self, body, **kwargs): # noqa: E501
|
|
1104
|
+
"""create_direct_connect_virtual_interface # noqa: E501
|
|
911
1105
|
|
|
912
1106
|
This method makes a synchronous HTTP request by default. To make an
|
|
913
1107
|
asynchronous HTTP request, please pass async_req=True
|
|
914
|
-
>>> thread = api.
|
|
1108
|
+
>>> thread = api.create_direct_connect_virtual_interface(body, async_req=True)
|
|
915
1109
|
>>> result = thread.get()
|
|
916
1110
|
|
|
917
1111
|
:param async_req bool
|
|
918
|
-
:param
|
|
919
|
-
:return:
|
|
1112
|
+
:param CreateDirectConnectVirtualInterfaceRequest body: (required)
|
|
1113
|
+
:return: CreateDirectConnectVirtualInterfaceResponse
|
|
920
1114
|
If the method is called asynchronously,
|
|
921
1115
|
returns the request thread.
|
|
922
1116
|
"""
|
|
923
1117
|
kwargs['_return_http_data_only'] = True
|
|
924
1118
|
if kwargs.get('async_req'):
|
|
925
|
-
return self.
|
|
1119
|
+
return self.create_direct_connect_virtual_interface_with_http_info(body, **kwargs) # noqa: E501
|
|
926
1120
|
else:
|
|
927
|
-
(data) = self.
|
|
1121
|
+
(data) = self.create_direct_connect_virtual_interface_with_http_info(body, **kwargs) # noqa: E501
|
|
928
1122
|
return data
|
|
929
1123
|
|
|
930
|
-
def
|
|
931
|
-
"""
|
|
1124
|
+
def create_direct_connect_virtual_interface_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1125
|
+
"""create_direct_connect_virtual_interface # noqa: E501
|
|
932
1126
|
|
|
933
1127
|
This method makes a synchronous HTTP request by default. To make an
|
|
934
1128
|
asynchronous HTTP request, please pass async_req=True
|
|
935
|
-
>>> thread = api.
|
|
1129
|
+
>>> thread = api.create_direct_connect_virtual_interface_with_http_info(body, async_req=True)
|
|
936
1130
|
>>> result = thread.get()
|
|
937
1131
|
|
|
938
1132
|
:param async_req bool
|
|
939
|
-
:param
|
|
940
|
-
:return:
|
|
1133
|
+
:param CreateDirectConnectVirtualInterfaceRequest body: (required)
|
|
1134
|
+
:return: CreateDirectConnectVirtualInterfaceResponse
|
|
941
1135
|
If the method is called asynchronously,
|
|
942
1136
|
returns the request thread.
|
|
943
1137
|
"""
|
|
@@ -953,14 +1147,14 @@ class DIRECTCONNECTApi(object):
|
|
|
953
1147
|
if key not in all_params:
|
|
954
1148
|
raise TypeError(
|
|
955
1149
|
"Got an unexpected keyword argument '%s'"
|
|
956
|
-
" to method
|
|
1150
|
+
" to method create_direct_connect_virtual_interface" % key
|
|
957
1151
|
)
|
|
958
1152
|
params[key] = val
|
|
959
1153
|
del params['kwargs']
|
|
960
1154
|
# verify the required parameter 'body' is set
|
|
961
1155
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
962
1156
|
params['body'] is None): # noqa: E501
|
|
963
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1157
|
+
raise ValueError("Missing the required parameter `body` when calling `create_direct_connect_virtual_interface`") # noqa: E501
|
|
964
1158
|
|
|
965
1159
|
collection_formats = {}
|
|
966
1160
|
|
|
@@ -988,14 +1182,14 @@ class DIRECTCONNECTApi(object):
|
|
|
988
1182
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
989
1183
|
|
|
990
1184
|
return self.api_client.call_api(
|
|
991
|
-
'/
|
|
1185
|
+
'/CreateDirectConnectVirtualInterface/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
992
1186
|
path_params,
|
|
993
1187
|
query_params,
|
|
994
1188
|
header_params,
|
|
995
1189
|
body=body_params,
|
|
996
1190
|
post_params=form_params,
|
|
997
1191
|
files=local_var_files,
|
|
998
|
-
response_type='
|
|
1192
|
+
response_type='CreateDirectConnectVirtualInterfaceResponse', # noqa: E501
|
|
999
1193
|
auth_settings=auth_settings,
|
|
1000
1194
|
async_req=params.get('async_req'),
|
|
1001
1195
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1003,25 +1197,316 @@ class DIRECTCONNECTApi(object):
|
|
|
1003
1197
|
_request_timeout=params.get('_request_timeout'),
|
|
1004
1198
|
collection_formats=collection_formats)
|
|
1005
1199
|
|
|
1006
|
-
def
|
|
1007
|
-
"""
|
|
1200
|
+
def delete_bgp_peer(self, body, **kwargs): # noqa: E501
|
|
1201
|
+
"""delete_bgp_peer # noqa: E501
|
|
1008
1202
|
|
|
1009
1203
|
This method makes a synchronous HTTP request by default. To make an
|
|
1010
1204
|
asynchronous HTTP request, please pass async_req=True
|
|
1011
|
-
>>> thread = api.
|
|
1205
|
+
>>> thread = api.delete_bgp_peer(body, async_req=True)
|
|
1012
1206
|
>>> result = thread.get()
|
|
1013
1207
|
|
|
1014
1208
|
:param async_req bool
|
|
1015
|
-
:param
|
|
1016
|
-
:return:
|
|
1209
|
+
:param DeleteBgpPeerRequest body: (required)
|
|
1210
|
+
:return: DeleteBgpPeerResponse
|
|
1017
1211
|
If the method is called asynchronously,
|
|
1018
1212
|
returns the request thread.
|
|
1019
1213
|
"""
|
|
1020
1214
|
kwargs['_return_http_data_only'] = True
|
|
1021
1215
|
if kwargs.get('async_req'):
|
|
1022
|
-
return self.
|
|
1216
|
+
return self.delete_bgp_peer_with_http_info(body, **kwargs) # noqa: E501
|
|
1023
1217
|
else:
|
|
1024
|
-
(data) = self.
|
|
1218
|
+
(data) = self.delete_bgp_peer_with_http_info(body, **kwargs) # noqa: E501
|
|
1219
|
+
return data
|
|
1220
|
+
|
|
1221
|
+
def delete_bgp_peer_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1222
|
+
"""delete_bgp_peer # noqa: E501
|
|
1223
|
+
|
|
1224
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1225
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1226
|
+
>>> thread = api.delete_bgp_peer_with_http_info(body, async_req=True)
|
|
1227
|
+
>>> result = thread.get()
|
|
1228
|
+
|
|
1229
|
+
:param async_req bool
|
|
1230
|
+
:param DeleteBgpPeerRequest body: (required)
|
|
1231
|
+
:return: DeleteBgpPeerResponse
|
|
1232
|
+
If the method is called asynchronously,
|
|
1233
|
+
returns the request thread.
|
|
1234
|
+
"""
|
|
1235
|
+
|
|
1236
|
+
all_params = ['body'] # noqa: E501
|
|
1237
|
+
all_params.append('async_req')
|
|
1238
|
+
all_params.append('_return_http_data_only')
|
|
1239
|
+
all_params.append('_preload_content')
|
|
1240
|
+
all_params.append('_request_timeout')
|
|
1241
|
+
|
|
1242
|
+
params = locals()
|
|
1243
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1244
|
+
if key not in all_params:
|
|
1245
|
+
raise TypeError(
|
|
1246
|
+
"Got an unexpected keyword argument '%s'"
|
|
1247
|
+
" to method delete_bgp_peer" % key
|
|
1248
|
+
)
|
|
1249
|
+
params[key] = val
|
|
1250
|
+
del params['kwargs']
|
|
1251
|
+
# verify the required parameter 'body' is set
|
|
1252
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1253
|
+
params['body'] is None): # noqa: E501
|
|
1254
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_bgp_peer`") # noqa: E501
|
|
1255
|
+
|
|
1256
|
+
collection_formats = {}
|
|
1257
|
+
|
|
1258
|
+
path_params = {}
|
|
1259
|
+
|
|
1260
|
+
query_params = []
|
|
1261
|
+
|
|
1262
|
+
header_params = {}
|
|
1263
|
+
|
|
1264
|
+
form_params = []
|
|
1265
|
+
local_var_files = {}
|
|
1266
|
+
|
|
1267
|
+
body_params = None
|
|
1268
|
+
if 'body' in params:
|
|
1269
|
+
body_params = params['body']
|
|
1270
|
+
# HTTP header `Accept`
|
|
1271
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1272
|
+
['application/json']) # noqa: E501
|
|
1273
|
+
|
|
1274
|
+
# HTTP header `Content-Type`
|
|
1275
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1276
|
+
['text/plain']) # noqa: E501
|
|
1277
|
+
|
|
1278
|
+
# Authentication setting
|
|
1279
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1280
|
+
|
|
1281
|
+
return self.api_client.call_api(
|
|
1282
|
+
'/DeleteBgpPeer/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1283
|
+
path_params,
|
|
1284
|
+
query_params,
|
|
1285
|
+
header_params,
|
|
1286
|
+
body=body_params,
|
|
1287
|
+
post_params=form_params,
|
|
1288
|
+
files=local_var_files,
|
|
1289
|
+
response_type='DeleteBgpPeerResponse', # noqa: E501
|
|
1290
|
+
auth_settings=auth_settings,
|
|
1291
|
+
async_req=params.get('async_req'),
|
|
1292
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1293
|
+
_preload_content=params.get('_preload_content', True),
|
|
1294
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1295
|
+
collection_formats=collection_formats)
|
|
1296
|
+
|
|
1297
|
+
def delete_direct_connect_connection(self, body, **kwargs): # noqa: E501
|
|
1298
|
+
"""delete_direct_connect_connection # noqa: E501
|
|
1299
|
+
|
|
1300
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1301
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1302
|
+
>>> thread = api.delete_direct_connect_connection(body, async_req=True)
|
|
1303
|
+
>>> result = thread.get()
|
|
1304
|
+
|
|
1305
|
+
:param async_req bool
|
|
1306
|
+
:param DeleteDirectConnectConnectionRequest body: (required)
|
|
1307
|
+
:return: DeleteDirectConnectConnectionResponse
|
|
1308
|
+
If the method is called asynchronously,
|
|
1309
|
+
returns the request thread.
|
|
1310
|
+
"""
|
|
1311
|
+
kwargs['_return_http_data_only'] = True
|
|
1312
|
+
if kwargs.get('async_req'):
|
|
1313
|
+
return self.delete_direct_connect_connection_with_http_info(body, **kwargs) # noqa: E501
|
|
1314
|
+
else:
|
|
1315
|
+
(data) = self.delete_direct_connect_connection_with_http_info(body, **kwargs) # noqa: E501
|
|
1316
|
+
return data
|
|
1317
|
+
|
|
1318
|
+
def delete_direct_connect_connection_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1319
|
+
"""delete_direct_connect_connection # noqa: E501
|
|
1320
|
+
|
|
1321
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1322
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1323
|
+
>>> thread = api.delete_direct_connect_connection_with_http_info(body, async_req=True)
|
|
1324
|
+
>>> result = thread.get()
|
|
1325
|
+
|
|
1326
|
+
:param async_req bool
|
|
1327
|
+
:param DeleteDirectConnectConnectionRequest body: (required)
|
|
1328
|
+
:return: DeleteDirectConnectConnectionResponse
|
|
1329
|
+
If the method is called asynchronously,
|
|
1330
|
+
returns the request thread.
|
|
1331
|
+
"""
|
|
1332
|
+
|
|
1333
|
+
all_params = ['body'] # noqa: E501
|
|
1334
|
+
all_params.append('async_req')
|
|
1335
|
+
all_params.append('_return_http_data_only')
|
|
1336
|
+
all_params.append('_preload_content')
|
|
1337
|
+
all_params.append('_request_timeout')
|
|
1338
|
+
|
|
1339
|
+
params = locals()
|
|
1340
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1341
|
+
if key not in all_params:
|
|
1342
|
+
raise TypeError(
|
|
1343
|
+
"Got an unexpected keyword argument '%s'"
|
|
1344
|
+
" to method delete_direct_connect_connection" % key
|
|
1345
|
+
)
|
|
1346
|
+
params[key] = val
|
|
1347
|
+
del params['kwargs']
|
|
1348
|
+
# verify the required parameter 'body' is set
|
|
1349
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1350
|
+
params['body'] is None): # noqa: E501
|
|
1351
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_direct_connect_connection`") # noqa: E501
|
|
1352
|
+
|
|
1353
|
+
collection_formats = {}
|
|
1354
|
+
|
|
1355
|
+
path_params = {}
|
|
1356
|
+
|
|
1357
|
+
query_params = []
|
|
1358
|
+
|
|
1359
|
+
header_params = {}
|
|
1360
|
+
|
|
1361
|
+
form_params = []
|
|
1362
|
+
local_var_files = {}
|
|
1363
|
+
|
|
1364
|
+
body_params = None
|
|
1365
|
+
if 'body' in params:
|
|
1366
|
+
body_params = params['body']
|
|
1367
|
+
# HTTP header `Accept`
|
|
1368
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1369
|
+
['application/json']) # noqa: E501
|
|
1370
|
+
|
|
1371
|
+
# HTTP header `Content-Type`
|
|
1372
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1373
|
+
['text/plain']) # noqa: E501
|
|
1374
|
+
|
|
1375
|
+
# Authentication setting
|
|
1376
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1377
|
+
|
|
1378
|
+
return self.api_client.call_api(
|
|
1379
|
+
'/DeleteDirectConnectConnection/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1380
|
+
path_params,
|
|
1381
|
+
query_params,
|
|
1382
|
+
header_params,
|
|
1383
|
+
body=body_params,
|
|
1384
|
+
post_params=form_params,
|
|
1385
|
+
files=local_var_files,
|
|
1386
|
+
response_type='DeleteDirectConnectConnectionResponse', # noqa: E501
|
|
1387
|
+
auth_settings=auth_settings,
|
|
1388
|
+
async_req=params.get('async_req'),
|
|
1389
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1390
|
+
_preload_content=params.get('_preload_content', True),
|
|
1391
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1392
|
+
collection_formats=collection_formats)
|
|
1393
|
+
|
|
1394
|
+
def delete_direct_connect_gateway(self, body, **kwargs): # noqa: E501
|
|
1395
|
+
"""delete_direct_connect_gateway # noqa: E501
|
|
1396
|
+
|
|
1397
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1398
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1399
|
+
>>> thread = api.delete_direct_connect_gateway(body, async_req=True)
|
|
1400
|
+
>>> result = thread.get()
|
|
1401
|
+
|
|
1402
|
+
:param async_req bool
|
|
1403
|
+
:param DeleteDirectConnectGatewayRequest body: (required)
|
|
1404
|
+
:return: DeleteDirectConnectGatewayResponse
|
|
1405
|
+
If the method is called asynchronously,
|
|
1406
|
+
returns the request thread.
|
|
1407
|
+
"""
|
|
1408
|
+
kwargs['_return_http_data_only'] = True
|
|
1409
|
+
if kwargs.get('async_req'):
|
|
1410
|
+
return self.delete_direct_connect_gateway_with_http_info(body, **kwargs) # noqa: E501
|
|
1411
|
+
else:
|
|
1412
|
+
(data) = self.delete_direct_connect_gateway_with_http_info(body, **kwargs) # noqa: E501
|
|
1413
|
+
return data
|
|
1414
|
+
|
|
1415
|
+
def delete_direct_connect_gateway_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1416
|
+
"""delete_direct_connect_gateway # noqa: E501
|
|
1417
|
+
|
|
1418
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1419
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1420
|
+
>>> thread = api.delete_direct_connect_gateway_with_http_info(body, async_req=True)
|
|
1421
|
+
>>> result = thread.get()
|
|
1422
|
+
|
|
1423
|
+
:param async_req bool
|
|
1424
|
+
:param DeleteDirectConnectGatewayRequest body: (required)
|
|
1425
|
+
:return: DeleteDirectConnectGatewayResponse
|
|
1426
|
+
If the method is called asynchronously,
|
|
1427
|
+
returns the request thread.
|
|
1428
|
+
"""
|
|
1429
|
+
|
|
1430
|
+
all_params = ['body'] # noqa: E501
|
|
1431
|
+
all_params.append('async_req')
|
|
1432
|
+
all_params.append('_return_http_data_only')
|
|
1433
|
+
all_params.append('_preload_content')
|
|
1434
|
+
all_params.append('_request_timeout')
|
|
1435
|
+
|
|
1436
|
+
params = locals()
|
|
1437
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1438
|
+
if key not in all_params:
|
|
1439
|
+
raise TypeError(
|
|
1440
|
+
"Got an unexpected keyword argument '%s'"
|
|
1441
|
+
" to method delete_direct_connect_gateway" % key
|
|
1442
|
+
)
|
|
1443
|
+
params[key] = val
|
|
1444
|
+
del params['kwargs']
|
|
1445
|
+
# verify the required parameter 'body' is set
|
|
1446
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1447
|
+
params['body'] is None): # noqa: E501
|
|
1448
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_direct_connect_gateway`") # noqa: E501
|
|
1449
|
+
|
|
1450
|
+
collection_formats = {}
|
|
1451
|
+
|
|
1452
|
+
path_params = {}
|
|
1453
|
+
|
|
1454
|
+
query_params = []
|
|
1455
|
+
|
|
1456
|
+
header_params = {}
|
|
1457
|
+
|
|
1458
|
+
form_params = []
|
|
1459
|
+
local_var_files = {}
|
|
1460
|
+
|
|
1461
|
+
body_params = None
|
|
1462
|
+
if 'body' in params:
|
|
1463
|
+
body_params = params['body']
|
|
1464
|
+
# HTTP header `Accept`
|
|
1465
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1466
|
+
['application/json']) # noqa: E501
|
|
1467
|
+
|
|
1468
|
+
# HTTP header `Content-Type`
|
|
1469
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1470
|
+
['text/plain']) # noqa: E501
|
|
1471
|
+
|
|
1472
|
+
# Authentication setting
|
|
1473
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1474
|
+
|
|
1475
|
+
return self.api_client.call_api(
|
|
1476
|
+
'/DeleteDirectConnectGateway/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1477
|
+
path_params,
|
|
1478
|
+
query_params,
|
|
1479
|
+
header_params,
|
|
1480
|
+
body=body_params,
|
|
1481
|
+
post_params=form_params,
|
|
1482
|
+
files=local_var_files,
|
|
1483
|
+
response_type='DeleteDirectConnectGatewayResponse', # noqa: E501
|
|
1484
|
+
auth_settings=auth_settings,
|
|
1485
|
+
async_req=params.get('async_req'),
|
|
1486
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1487
|
+
_preload_content=params.get('_preload_content', True),
|
|
1488
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1489
|
+
collection_formats=collection_formats)
|
|
1490
|
+
|
|
1491
|
+
def delete_direct_connect_gateway_route(self, body, **kwargs): # noqa: E501
|
|
1492
|
+
"""delete_direct_connect_gateway_route # noqa: E501
|
|
1493
|
+
|
|
1494
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1495
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1496
|
+
>>> thread = api.delete_direct_connect_gateway_route(body, async_req=True)
|
|
1497
|
+
>>> result = thread.get()
|
|
1498
|
+
|
|
1499
|
+
:param async_req bool
|
|
1500
|
+
:param DeleteDirectConnectGatewayRouteRequest body: (required)
|
|
1501
|
+
:return: DeleteDirectConnectGatewayRouteResponse
|
|
1502
|
+
If the method is called asynchronously,
|
|
1503
|
+
returns the request thread.
|
|
1504
|
+
"""
|
|
1505
|
+
kwargs['_return_http_data_only'] = True
|
|
1506
|
+
if kwargs.get('async_req'):
|
|
1507
|
+
return self.delete_direct_connect_gateway_route_with_http_info(body, **kwargs) # noqa: E501
|
|
1508
|
+
else:
|
|
1509
|
+
(data) = self.delete_direct_connect_gateway_route_with_http_info(body, **kwargs) # noqa: E501
|
|
1025
1510
|
return data
|
|
1026
1511
|
|
|
1027
1512
|
def delete_direct_connect_gateway_route_with_http_info(self, body, **kwargs): # noqa: E501
|
|
@@ -1029,12 +1514,1176 @@ class DIRECTCONNECTApi(object):
|
|
|
1029
1514
|
|
|
1030
1515
|
This method makes a synchronous HTTP request by default. To make an
|
|
1031
1516
|
asynchronous HTTP request, please pass async_req=True
|
|
1032
|
-
>>> thread = api.delete_direct_connect_gateway_route_with_http_info(body, async_req=True)
|
|
1517
|
+
>>> thread = api.delete_direct_connect_gateway_route_with_http_info(body, async_req=True)
|
|
1518
|
+
>>> result = thread.get()
|
|
1519
|
+
|
|
1520
|
+
:param async_req bool
|
|
1521
|
+
:param DeleteDirectConnectGatewayRouteRequest body: (required)
|
|
1522
|
+
:return: DeleteDirectConnectGatewayRouteResponse
|
|
1523
|
+
If the method is called asynchronously,
|
|
1524
|
+
returns the request thread.
|
|
1525
|
+
"""
|
|
1526
|
+
|
|
1527
|
+
all_params = ['body'] # noqa: E501
|
|
1528
|
+
all_params.append('async_req')
|
|
1529
|
+
all_params.append('_return_http_data_only')
|
|
1530
|
+
all_params.append('_preload_content')
|
|
1531
|
+
all_params.append('_request_timeout')
|
|
1532
|
+
|
|
1533
|
+
params = locals()
|
|
1534
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1535
|
+
if key not in all_params:
|
|
1536
|
+
raise TypeError(
|
|
1537
|
+
"Got an unexpected keyword argument '%s'"
|
|
1538
|
+
" to method delete_direct_connect_gateway_route" % key
|
|
1539
|
+
)
|
|
1540
|
+
params[key] = val
|
|
1541
|
+
del params['kwargs']
|
|
1542
|
+
# verify the required parameter 'body' is set
|
|
1543
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1544
|
+
params['body'] is None): # noqa: E501
|
|
1545
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_direct_connect_gateway_route`") # noqa: E501
|
|
1546
|
+
|
|
1547
|
+
collection_formats = {}
|
|
1548
|
+
|
|
1549
|
+
path_params = {}
|
|
1550
|
+
|
|
1551
|
+
query_params = []
|
|
1552
|
+
|
|
1553
|
+
header_params = {}
|
|
1554
|
+
|
|
1555
|
+
form_params = []
|
|
1556
|
+
local_var_files = {}
|
|
1557
|
+
|
|
1558
|
+
body_params = None
|
|
1559
|
+
if 'body' in params:
|
|
1560
|
+
body_params = params['body']
|
|
1561
|
+
# HTTP header `Accept`
|
|
1562
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1563
|
+
['application/json']) # noqa: E501
|
|
1564
|
+
|
|
1565
|
+
# HTTP header `Content-Type`
|
|
1566
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1567
|
+
['text/plain']) # noqa: E501
|
|
1568
|
+
|
|
1569
|
+
# Authentication setting
|
|
1570
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1571
|
+
|
|
1572
|
+
return self.api_client.call_api(
|
|
1573
|
+
'/DeleteDirectConnectGatewayRoute/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1574
|
+
path_params,
|
|
1575
|
+
query_params,
|
|
1576
|
+
header_params,
|
|
1577
|
+
body=body_params,
|
|
1578
|
+
post_params=form_params,
|
|
1579
|
+
files=local_var_files,
|
|
1580
|
+
response_type='DeleteDirectConnectGatewayRouteResponse', # noqa: E501
|
|
1581
|
+
auth_settings=auth_settings,
|
|
1582
|
+
async_req=params.get('async_req'),
|
|
1583
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1584
|
+
_preload_content=params.get('_preload_content', True),
|
|
1585
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1586
|
+
collection_formats=collection_formats)
|
|
1587
|
+
|
|
1588
|
+
def delete_direct_connect_traffic_qos_policy(self, body, **kwargs): # noqa: E501
|
|
1589
|
+
"""delete_direct_connect_traffic_qos_policy # noqa: E501
|
|
1590
|
+
|
|
1591
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1592
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1593
|
+
>>> thread = api.delete_direct_connect_traffic_qos_policy(body, async_req=True)
|
|
1594
|
+
>>> result = thread.get()
|
|
1595
|
+
|
|
1596
|
+
:param async_req bool
|
|
1597
|
+
:param DeleteDirectConnectTrafficQosPolicyRequest body: (required)
|
|
1598
|
+
:return: DeleteDirectConnectTrafficQosPolicyResponse
|
|
1599
|
+
If the method is called asynchronously,
|
|
1600
|
+
returns the request thread.
|
|
1601
|
+
"""
|
|
1602
|
+
kwargs['_return_http_data_only'] = True
|
|
1603
|
+
if kwargs.get('async_req'):
|
|
1604
|
+
return self.delete_direct_connect_traffic_qos_policy_with_http_info(body, **kwargs) # noqa: E501
|
|
1605
|
+
else:
|
|
1606
|
+
(data) = self.delete_direct_connect_traffic_qos_policy_with_http_info(body, **kwargs) # noqa: E501
|
|
1607
|
+
return data
|
|
1608
|
+
|
|
1609
|
+
def delete_direct_connect_traffic_qos_policy_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1610
|
+
"""delete_direct_connect_traffic_qos_policy # noqa: E501
|
|
1611
|
+
|
|
1612
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1613
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1614
|
+
>>> thread = api.delete_direct_connect_traffic_qos_policy_with_http_info(body, async_req=True)
|
|
1615
|
+
>>> result = thread.get()
|
|
1616
|
+
|
|
1617
|
+
:param async_req bool
|
|
1618
|
+
:param DeleteDirectConnectTrafficQosPolicyRequest body: (required)
|
|
1619
|
+
:return: DeleteDirectConnectTrafficQosPolicyResponse
|
|
1620
|
+
If the method is called asynchronously,
|
|
1621
|
+
returns the request thread.
|
|
1622
|
+
"""
|
|
1623
|
+
|
|
1624
|
+
all_params = ['body'] # noqa: E501
|
|
1625
|
+
all_params.append('async_req')
|
|
1626
|
+
all_params.append('_return_http_data_only')
|
|
1627
|
+
all_params.append('_preload_content')
|
|
1628
|
+
all_params.append('_request_timeout')
|
|
1629
|
+
|
|
1630
|
+
params = locals()
|
|
1631
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1632
|
+
if key not in all_params:
|
|
1633
|
+
raise TypeError(
|
|
1634
|
+
"Got an unexpected keyword argument '%s'"
|
|
1635
|
+
" to method delete_direct_connect_traffic_qos_policy" % key
|
|
1636
|
+
)
|
|
1637
|
+
params[key] = val
|
|
1638
|
+
del params['kwargs']
|
|
1639
|
+
# verify the required parameter 'body' is set
|
|
1640
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1641
|
+
params['body'] is None): # noqa: E501
|
|
1642
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_direct_connect_traffic_qos_policy`") # noqa: E501
|
|
1643
|
+
|
|
1644
|
+
collection_formats = {}
|
|
1645
|
+
|
|
1646
|
+
path_params = {}
|
|
1647
|
+
|
|
1648
|
+
query_params = []
|
|
1649
|
+
|
|
1650
|
+
header_params = {}
|
|
1651
|
+
|
|
1652
|
+
form_params = []
|
|
1653
|
+
local_var_files = {}
|
|
1654
|
+
|
|
1655
|
+
body_params = None
|
|
1656
|
+
if 'body' in params:
|
|
1657
|
+
body_params = params['body']
|
|
1658
|
+
# HTTP header `Accept`
|
|
1659
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1660
|
+
['application/json']) # noqa: E501
|
|
1661
|
+
|
|
1662
|
+
# HTTP header `Content-Type`
|
|
1663
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1664
|
+
['text/plain']) # noqa: E501
|
|
1665
|
+
|
|
1666
|
+
# Authentication setting
|
|
1667
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1668
|
+
|
|
1669
|
+
return self.api_client.call_api(
|
|
1670
|
+
'/DeleteDirectConnectTrafficQosPolicy/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1671
|
+
path_params,
|
|
1672
|
+
query_params,
|
|
1673
|
+
header_params,
|
|
1674
|
+
body=body_params,
|
|
1675
|
+
post_params=form_params,
|
|
1676
|
+
files=local_var_files,
|
|
1677
|
+
response_type='DeleteDirectConnectTrafficQosPolicyResponse', # noqa: E501
|
|
1678
|
+
auth_settings=auth_settings,
|
|
1679
|
+
async_req=params.get('async_req'),
|
|
1680
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1681
|
+
_preload_content=params.get('_preload_content', True),
|
|
1682
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1683
|
+
collection_formats=collection_formats)
|
|
1684
|
+
|
|
1685
|
+
def delete_direct_connect_traffic_qos_queue(self, body, **kwargs): # noqa: E501
|
|
1686
|
+
"""delete_direct_connect_traffic_qos_queue # noqa: E501
|
|
1687
|
+
|
|
1688
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1689
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1690
|
+
>>> thread = api.delete_direct_connect_traffic_qos_queue(body, async_req=True)
|
|
1691
|
+
>>> result = thread.get()
|
|
1692
|
+
|
|
1693
|
+
:param async_req bool
|
|
1694
|
+
:param DeleteDirectConnectTrafficQosQueueRequest body: (required)
|
|
1695
|
+
:return: DeleteDirectConnectTrafficQosQueueResponse
|
|
1696
|
+
If the method is called asynchronously,
|
|
1697
|
+
returns the request thread.
|
|
1698
|
+
"""
|
|
1699
|
+
kwargs['_return_http_data_only'] = True
|
|
1700
|
+
if kwargs.get('async_req'):
|
|
1701
|
+
return self.delete_direct_connect_traffic_qos_queue_with_http_info(body, **kwargs) # noqa: E501
|
|
1702
|
+
else:
|
|
1703
|
+
(data) = self.delete_direct_connect_traffic_qos_queue_with_http_info(body, **kwargs) # noqa: E501
|
|
1704
|
+
return data
|
|
1705
|
+
|
|
1706
|
+
def delete_direct_connect_traffic_qos_queue_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1707
|
+
"""delete_direct_connect_traffic_qos_queue # noqa: E501
|
|
1708
|
+
|
|
1709
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1710
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1711
|
+
>>> thread = api.delete_direct_connect_traffic_qos_queue_with_http_info(body, async_req=True)
|
|
1712
|
+
>>> result = thread.get()
|
|
1713
|
+
|
|
1714
|
+
:param async_req bool
|
|
1715
|
+
:param DeleteDirectConnectTrafficQosQueueRequest body: (required)
|
|
1716
|
+
:return: DeleteDirectConnectTrafficQosQueueResponse
|
|
1717
|
+
If the method is called asynchronously,
|
|
1718
|
+
returns the request thread.
|
|
1719
|
+
"""
|
|
1720
|
+
|
|
1721
|
+
all_params = ['body'] # noqa: E501
|
|
1722
|
+
all_params.append('async_req')
|
|
1723
|
+
all_params.append('_return_http_data_only')
|
|
1724
|
+
all_params.append('_preload_content')
|
|
1725
|
+
all_params.append('_request_timeout')
|
|
1726
|
+
|
|
1727
|
+
params = locals()
|
|
1728
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1729
|
+
if key not in all_params:
|
|
1730
|
+
raise TypeError(
|
|
1731
|
+
"Got an unexpected keyword argument '%s'"
|
|
1732
|
+
" to method delete_direct_connect_traffic_qos_queue" % key
|
|
1733
|
+
)
|
|
1734
|
+
params[key] = val
|
|
1735
|
+
del params['kwargs']
|
|
1736
|
+
# verify the required parameter 'body' is set
|
|
1737
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1738
|
+
params['body'] is None): # noqa: E501
|
|
1739
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_direct_connect_traffic_qos_queue`") # noqa: E501
|
|
1740
|
+
|
|
1741
|
+
collection_formats = {}
|
|
1742
|
+
|
|
1743
|
+
path_params = {}
|
|
1744
|
+
|
|
1745
|
+
query_params = []
|
|
1746
|
+
|
|
1747
|
+
header_params = {}
|
|
1748
|
+
|
|
1749
|
+
form_params = []
|
|
1750
|
+
local_var_files = {}
|
|
1751
|
+
|
|
1752
|
+
body_params = None
|
|
1753
|
+
if 'body' in params:
|
|
1754
|
+
body_params = params['body']
|
|
1755
|
+
# HTTP header `Accept`
|
|
1756
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1757
|
+
['application/json']) # noqa: E501
|
|
1758
|
+
|
|
1759
|
+
# HTTP header `Content-Type`
|
|
1760
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1761
|
+
['text/plain']) # noqa: E501
|
|
1762
|
+
|
|
1763
|
+
# Authentication setting
|
|
1764
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1765
|
+
|
|
1766
|
+
return self.api_client.call_api(
|
|
1767
|
+
'/DeleteDirectConnectTrafficQosQueue/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1768
|
+
path_params,
|
|
1769
|
+
query_params,
|
|
1770
|
+
header_params,
|
|
1771
|
+
body=body_params,
|
|
1772
|
+
post_params=form_params,
|
|
1773
|
+
files=local_var_files,
|
|
1774
|
+
response_type='DeleteDirectConnectTrafficQosQueueResponse', # noqa: E501
|
|
1775
|
+
auth_settings=auth_settings,
|
|
1776
|
+
async_req=params.get('async_req'),
|
|
1777
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1778
|
+
_preload_content=params.get('_preload_content', True),
|
|
1779
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1780
|
+
collection_formats=collection_formats)
|
|
1781
|
+
|
|
1782
|
+
def delete_direct_connect_traffic_qos_rule(self, body, **kwargs): # noqa: E501
|
|
1783
|
+
"""delete_direct_connect_traffic_qos_rule # noqa: E501
|
|
1784
|
+
|
|
1785
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1786
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1787
|
+
>>> thread = api.delete_direct_connect_traffic_qos_rule(body, async_req=True)
|
|
1788
|
+
>>> result = thread.get()
|
|
1789
|
+
|
|
1790
|
+
:param async_req bool
|
|
1791
|
+
:param DeleteDirectConnectTrafficQosRuleRequest body: (required)
|
|
1792
|
+
:return: DeleteDirectConnectTrafficQosRuleResponse
|
|
1793
|
+
If the method is called asynchronously,
|
|
1794
|
+
returns the request thread.
|
|
1795
|
+
"""
|
|
1796
|
+
kwargs['_return_http_data_only'] = True
|
|
1797
|
+
if kwargs.get('async_req'):
|
|
1798
|
+
return self.delete_direct_connect_traffic_qos_rule_with_http_info(body, **kwargs) # noqa: E501
|
|
1799
|
+
else:
|
|
1800
|
+
(data) = self.delete_direct_connect_traffic_qos_rule_with_http_info(body, **kwargs) # noqa: E501
|
|
1801
|
+
return data
|
|
1802
|
+
|
|
1803
|
+
def delete_direct_connect_traffic_qos_rule_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1804
|
+
"""delete_direct_connect_traffic_qos_rule # noqa: E501
|
|
1805
|
+
|
|
1806
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1807
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1808
|
+
>>> thread = api.delete_direct_connect_traffic_qos_rule_with_http_info(body, async_req=True)
|
|
1809
|
+
>>> result = thread.get()
|
|
1810
|
+
|
|
1811
|
+
:param async_req bool
|
|
1812
|
+
:param DeleteDirectConnectTrafficQosRuleRequest body: (required)
|
|
1813
|
+
:return: DeleteDirectConnectTrafficQosRuleResponse
|
|
1814
|
+
If the method is called asynchronously,
|
|
1815
|
+
returns the request thread.
|
|
1816
|
+
"""
|
|
1817
|
+
|
|
1818
|
+
all_params = ['body'] # noqa: E501
|
|
1819
|
+
all_params.append('async_req')
|
|
1820
|
+
all_params.append('_return_http_data_only')
|
|
1821
|
+
all_params.append('_preload_content')
|
|
1822
|
+
all_params.append('_request_timeout')
|
|
1823
|
+
|
|
1824
|
+
params = locals()
|
|
1825
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1826
|
+
if key not in all_params:
|
|
1827
|
+
raise TypeError(
|
|
1828
|
+
"Got an unexpected keyword argument '%s'"
|
|
1829
|
+
" to method delete_direct_connect_traffic_qos_rule" % key
|
|
1830
|
+
)
|
|
1831
|
+
params[key] = val
|
|
1832
|
+
del params['kwargs']
|
|
1833
|
+
# verify the required parameter 'body' is set
|
|
1834
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1835
|
+
params['body'] is None): # noqa: E501
|
|
1836
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_direct_connect_traffic_qos_rule`") # noqa: E501
|
|
1837
|
+
|
|
1838
|
+
collection_formats = {}
|
|
1839
|
+
|
|
1840
|
+
path_params = {}
|
|
1841
|
+
|
|
1842
|
+
query_params = []
|
|
1843
|
+
|
|
1844
|
+
header_params = {}
|
|
1845
|
+
|
|
1846
|
+
form_params = []
|
|
1847
|
+
local_var_files = {}
|
|
1848
|
+
|
|
1849
|
+
body_params = None
|
|
1850
|
+
if 'body' in params:
|
|
1851
|
+
body_params = params['body']
|
|
1852
|
+
# HTTP header `Accept`
|
|
1853
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1854
|
+
['application/json']) # noqa: E501
|
|
1855
|
+
|
|
1856
|
+
# HTTP header `Content-Type`
|
|
1857
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1858
|
+
['text/plain']) # noqa: E501
|
|
1859
|
+
|
|
1860
|
+
# Authentication setting
|
|
1861
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1862
|
+
|
|
1863
|
+
return self.api_client.call_api(
|
|
1864
|
+
'/DeleteDirectConnectTrafficQosRule/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1865
|
+
path_params,
|
|
1866
|
+
query_params,
|
|
1867
|
+
header_params,
|
|
1868
|
+
body=body_params,
|
|
1869
|
+
post_params=form_params,
|
|
1870
|
+
files=local_var_files,
|
|
1871
|
+
response_type='DeleteDirectConnectTrafficQosRuleResponse', # noqa: E501
|
|
1872
|
+
auth_settings=auth_settings,
|
|
1873
|
+
async_req=params.get('async_req'),
|
|
1874
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1875
|
+
_preload_content=params.get('_preload_content', True),
|
|
1876
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1877
|
+
collection_formats=collection_formats)
|
|
1878
|
+
|
|
1879
|
+
def delete_direct_connect_virtual_interface(self, body, **kwargs): # noqa: E501
|
|
1880
|
+
"""delete_direct_connect_virtual_interface # noqa: E501
|
|
1881
|
+
|
|
1882
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1883
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1884
|
+
>>> thread = api.delete_direct_connect_virtual_interface(body, async_req=True)
|
|
1885
|
+
>>> result = thread.get()
|
|
1886
|
+
|
|
1887
|
+
:param async_req bool
|
|
1888
|
+
:param DeleteDirectConnectVirtualInterfaceRequest body: (required)
|
|
1889
|
+
:return: DeleteDirectConnectVirtualInterfaceResponse
|
|
1890
|
+
If the method is called asynchronously,
|
|
1891
|
+
returns the request thread.
|
|
1892
|
+
"""
|
|
1893
|
+
kwargs['_return_http_data_only'] = True
|
|
1894
|
+
if kwargs.get('async_req'):
|
|
1895
|
+
return self.delete_direct_connect_virtual_interface_with_http_info(body, **kwargs) # noqa: E501
|
|
1896
|
+
else:
|
|
1897
|
+
(data) = self.delete_direct_connect_virtual_interface_with_http_info(body, **kwargs) # noqa: E501
|
|
1898
|
+
return data
|
|
1899
|
+
|
|
1900
|
+
def delete_direct_connect_virtual_interface_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1901
|
+
"""delete_direct_connect_virtual_interface # noqa: E501
|
|
1902
|
+
|
|
1903
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1904
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1905
|
+
>>> thread = api.delete_direct_connect_virtual_interface_with_http_info(body, async_req=True)
|
|
1906
|
+
>>> result = thread.get()
|
|
1907
|
+
|
|
1908
|
+
:param async_req bool
|
|
1909
|
+
:param DeleteDirectConnectVirtualInterfaceRequest body: (required)
|
|
1910
|
+
:return: DeleteDirectConnectVirtualInterfaceResponse
|
|
1911
|
+
If the method is called asynchronously,
|
|
1912
|
+
returns the request thread.
|
|
1913
|
+
"""
|
|
1914
|
+
|
|
1915
|
+
all_params = ['body'] # noqa: E501
|
|
1916
|
+
all_params.append('async_req')
|
|
1917
|
+
all_params.append('_return_http_data_only')
|
|
1918
|
+
all_params.append('_preload_content')
|
|
1919
|
+
all_params.append('_request_timeout')
|
|
1920
|
+
|
|
1921
|
+
params = locals()
|
|
1922
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1923
|
+
if key not in all_params:
|
|
1924
|
+
raise TypeError(
|
|
1925
|
+
"Got an unexpected keyword argument '%s'"
|
|
1926
|
+
" to method delete_direct_connect_virtual_interface" % key
|
|
1927
|
+
)
|
|
1928
|
+
params[key] = val
|
|
1929
|
+
del params['kwargs']
|
|
1930
|
+
# verify the required parameter 'body' is set
|
|
1931
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1932
|
+
params['body'] is None): # noqa: E501
|
|
1933
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_direct_connect_virtual_interface`") # noqa: E501
|
|
1934
|
+
|
|
1935
|
+
collection_formats = {}
|
|
1936
|
+
|
|
1937
|
+
path_params = {}
|
|
1938
|
+
|
|
1939
|
+
query_params = []
|
|
1940
|
+
|
|
1941
|
+
header_params = {}
|
|
1942
|
+
|
|
1943
|
+
form_params = []
|
|
1944
|
+
local_var_files = {}
|
|
1945
|
+
|
|
1946
|
+
body_params = None
|
|
1947
|
+
if 'body' in params:
|
|
1948
|
+
body_params = params['body']
|
|
1949
|
+
# HTTP header `Accept`
|
|
1950
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1951
|
+
['application/json']) # noqa: E501
|
|
1952
|
+
|
|
1953
|
+
# HTTP header `Content-Type`
|
|
1954
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1955
|
+
['text/plain']) # noqa: E501
|
|
1956
|
+
|
|
1957
|
+
# Authentication setting
|
|
1958
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1959
|
+
|
|
1960
|
+
return self.api_client.call_api(
|
|
1961
|
+
'/DeleteDirectConnectVirtualInterface/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1962
|
+
path_params,
|
|
1963
|
+
query_params,
|
|
1964
|
+
header_params,
|
|
1965
|
+
body=body_params,
|
|
1966
|
+
post_params=form_params,
|
|
1967
|
+
files=local_var_files,
|
|
1968
|
+
response_type='DeleteDirectConnectVirtualInterfaceResponse', # noqa: E501
|
|
1969
|
+
auth_settings=auth_settings,
|
|
1970
|
+
async_req=params.get('async_req'),
|
|
1971
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1972
|
+
_preload_content=params.get('_preload_content', True),
|
|
1973
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1974
|
+
collection_formats=collection_formats)
|
|
1975
|
+
|
|
1976
|
+
def describe_bgp_peer_attributes(self, body, **kwargs): # noqa: E501
|
|
1977
|
+
"""describe_bgp_peer_attributes # noqa: E501
|
|
1978
|
+
|
|
1979
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1980
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1981
|
+
>>> thread = api.describe_bgp_peer_attributes(body, async_req=True)
|
|
1982
|
+
>>> result = thread.get()
|
|
1983
|
+
|
|
1984
|
+
:param async_req bool
|
|
1985
|
+
:param DescribeBgpPeerAttributesRequest body: (required)
|
|
1986
|
+
:return: DescribeBgpPeerAttributesResponse
|
|
1987
|
+
If the method is called asynchronously,
|
|
1988
|
+
returns the request thread.
|
|
1989
|
+
"""
|
|
1990
|
+
kwargs['_return_http_data_only'] = True
|
|
1991
|
+
if kwargs.get('async_req'):
|
|
1992
|
+
return self.describe_bgp_peer_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
1993
|
+
else:
|
|
1994
|
+
(data) = self.describe_bgp_peer_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
1995
|
+
return data
|
|
1996
|
+
|
|
1997
|
+
def describe_bgp_peer_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1998
|
+
"""describe_bgp_peer_attributes # noqa: E501
|
|
1999
|
+
|
|
2000
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2001
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2002
|
+
>>> thread = api.describe_bgp_peer_attributes_with_http_info(body, async_req=True)
|
|
2003
|
+
>>> result = thread.get()
|
|
2004
|
+
|
|
2005
|
+
:param async_req bool
|
|
2006
|
+
:param DescribeBgpPeerAttributesRequest body: (required)
|
|
2007
|
+
:return: DescribeBgpPeerAttributesResponse
|
|
2008
|
+
If the method is called asynchronously,
|
|
2009
|
+
returns the request thread.
|
|
2010
|
+
"""
|
|
2011
|
+
|
|
2012
|
+
all_params = ['body'] # noqa: E501
|
|
2013
|
+
all_params.append('async_req')
|
|
2014
|
+
all_params.append('_return_http_data_only')
|
|
2015
|
+
all_params.append('_preload_content')
|
|
2016
|
+
all_params.append('_request_timeout')
|
|
2017
|
+
|
|
2018
|
+
params = locals()
|
|
2019
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2020
|
+
if key not in all_params:
|
|
2021
|
+
raise TypeError(
|
|
2022
|
+
"Got an unexpected keyword argument '%s'"
|
|
2023
|
+
" to method describe_bgp_peer_attributes" % key
|
|
2024
|
+
)
|
|
2025
|
+
params[key] = val
|
|
2026
|
+
del params['kwargs']
|
|
2027
|
+
# verify the required parameter 'body' is set
|
|
2028
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2029
|
+
params['body'] is None): # noqa: E501
|
|
2030
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_bgp_peer_attributes`") # noqa: E501
|
|
2031
|
+
|
|
2032
|
+
collection_formats = {}
|
|
2033
|
+
|
|
2034
|
+
path_params = {}
|
|
2035
|
+
|
|
2036
|
+
query_params = []
|
|
2037
|
+
|
|
2038
|
+
header_params = {}
|
|
2039
|
+
|
|
2040
|
+
form_params = []
|
|
2041
|
+
local_var_files = {}
|
|
2042
|
+
|
|
2043
|
+
body_params = None
|
|
2044
|
+
if 'body' in params:
|
|
2045
|
+
body_params = params['body']
|
|
2046
|
+
# HTTP header `Accept`
|
|
2047
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2048
|
+
['application/json']) # noqa: E501
|
|
2049
|
+
|
|
2050
|
+
# HTTP header `Content-Type`
|
|
2051
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2052
|
+
['text/plain']) # noqa: E501
|
|
2053
|
+
|
|
2054
|
+
# Authentication setting
|
|
2055
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2056
|
+
|
|
2057
|
+
return self.api_client.call_api(
|
|
2058
|
+
'/DescribeBgpPeerAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2059
|
+
path_params,
|
|
2060
|
+
query_params,
|
|
2061
|
+
header_params,
|
|
2062
|
+
body=body_params,
|
|
2063
|
+
post_params=form_params,
|
|
2064
|
+
files=local_var_files,
|
|
2065
|
+
response_type='DescribeBgpPeerAttributesResponse', # noqa: E501
|
|
2066
|
+
auth_settings=auth_settings,
|
|
2067
|
+
async_req=params.get('async_req'),
|
|
2068
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2069
|
+
_preload_content=params.get('_preload_content', True),
|
|
2070
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2071
|
+
collection_formats=collection_formats)
|
|
2072
|
+
|
|
2073
|
+
def describe_bgp_peers(self, body, **kwargs): # noqa: E501
|
|
2074
|
+
"""describe_bgp_peers # noqa: E501
|
|
2075
|
+
|
|
2076
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2077
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2078
|
+
>>> thread = api.describe_bgp_peers(body, async_req=True)
|
|
2079
|
+
>>> result = thread.get()
|
|
2080
|
+
|
|
2081
|
+
:param async_req bool
|
|
2082
|
+
:param DescribeBgpPeersRequest body: (required)
|
|
2083
|
+
:return: DescribeBgpPeersResponse
|
|
2084
|
+
If the method is called asynchronously,
|
|
2085
|
+
returns the request thread.
|
|
2086
|
+
"""
|
|
2087
|
+
kwargs['_return_http_data_only'] = True
|
|
2088
|
+
if kwargs.get('async_req'):
|
|
2089
|
+
return self.describe_bgp_peers_with_http_info(body, **kwargs) # noqa: E501
|
|
2090
|
+
else:
|
|
2091
|
+
(data) = self.describe_bgp_peers_with_http_info(body, **kwargs) # noqa: E501
|
|
2092
|
+
return data
|
|
2093
|
+
|
|
2094
|
+
def describe_bgp_peers_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2095
|
+
"""describe_bgp_peers # noqa: E501
|
|
2096
|
+
|
|
2097
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2098
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2099
|
+
>>> thread = api.describe_bgp_peers_with_http_info(body, async_req=True)
|
|
2100
|
+
>>> result = thread.get()
|
|
2101
|
+
|
|
2102
|
+
:param async_req bool
|
|
2103
|
+
:param DescribeBgpPeersRequest body: (required)
|
|
2104
|
+
:return: DescribeBgpPeersResponse
|
|
2105
|
+
If the method is called asynchronously,
|
|
2106
|
+
returns the request thread.
|
|
2107
|
+
"""
|
|
2108
|
+
|
|
2109
|
+
all_params = ['body'] # noqa: E501
|
|
2110
|
+
all_params.append('async_req')
|
|
2111
|
+
all_params.append('_return_http_data_only')
|
|
2112
|
+
all_params.append('_preload_content')
|
|
2113
|
+
all_params.append('_request_timeout')
|
|
2114
|
+
|
|
2115
|
+
params = locals()
|
|
2116
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2117
|
+
if key not in all_params:
|
|
2118
|
+
raise TypeError(
|
|
2119
|
+
"Got an unexpected keyword argument '%s'"
|
|
2120
|
+
" to method describe_bgp_peers" % key
|
|
2121
|
+
)
|
|
2122
|
+
params[key] = val
|
|
2123
|
+
del params['kwargs']
|
|
2124
|
+
# verify the required parameter 'body' is set
|
|
2125
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2126
|
+
params['body'] is None): # noqa: E501
|
|
2127
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_bgp_peers`") # noqa: E501
|
|
2128
|
+
|
|
2129
|
+
collection_formats = {}
|
|
2130
|
+
|
|
2131
|
+
path_params = {}
|
|
2132
|
+
|
|
2133
|
+
query_params = []
|
|
2134
|
+
|
|
2135
|
+
header_params = {}
|
|
2136
|
+
|
|
2137
|
+
form_params = []
|
|
2138
|
+
local_var_files = {}
|
|
2139
|
+
|
|
2140
|
+
body_params = None
|
|
2141
|
+
if 'body' in params:
|
|
2142
|
+
body_params = params['body']
|
|
2143
|
+
# HTTP header `Accept`
|
|
2144
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2145
|
+
['application/json']) # noqa: E501
|
|
2146
|
+
|
|
2147
|
+
# HTTP header `Content-Type`
|
|
2148
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2149
|
+
['text/plain']) # noqa: E501
|
|
2150
|
+
|
|
2151
|
+
# Authentication setting
|
|
2152
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2153
|
+
|
|
2154
|
+
return self.api_client.call_api(
|
|
2155
|
+
'/DescribeBgpPeers/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2156
|
+
path_params,
|
|
2157
|
+
query_params,
|
|
2158
|
+
header_params,
|
|
2159
|
+
body=body_params,
|
|
2160
|
+
post_params=form_params,
|
|
2161
|
+
files=local_var_files,
|
|
2162
|
+
response_type='DescribeBgpPeersResponse', # noqa: E501
|
|
2163
|
+
auth_settings=auth_settings,
|
|
2164
|
+
async_req=params.get('async_req'),
|
|
2165
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2166
|
+
_preload_content=params.get('_preload_content', True),
|
|
2167
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2168
|
+
collection_formats=collection_formats)
|
|
2169
|
+
|
|
2170
|
+
def describe_direct_connect_access_points(self, body, **kwargs): # noqa: E501
|
|
2171
|
+
"""describe_direct_connect_access_points # noqa: E501
|
|
2172
|
+
|
|
2173
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2174
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2175
|
+
>>> thread = api.describe_direct_connect_access_points(body, async_req=True)
|
|
2176
|
+
>>> result = thread.get()
|
|
2177
|
+
|
|
2178
|
+
:param async_req bool
|
|
2179
|
+
:param DescribeDirectConnectAccessPointsRequest body: (required)
|
|
2180
|
+
:return: DescribeDirectConnectAccessPointsResponse
|
|
2181
|
+
If the method is called asynchronously,
|
|
2182
|
+
returns the request thread.
|
|
2183
|
+
"""
|
|
2184
|
+
kwargs['_return_http_data_only'] = True
|
|
2185
|
+
if kwargs.get('async_req'):
|
|
2186
|
+
return self.describe_direct_connect_access_points_with_http_info(body, **kwargs) # noqa: E501
|
|
2187
|
+
else:
|
|
2188
|
+
(data) = self.describe_direct_connect_access_points_with_http_info(body, **kwargs) # noqa: E501
|
|
2189
|
+
return data
|
|
2190
|
+
|
|
2191
|
+
def describe_direct_connect_access_points_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2192
|
+
"""describe_direct_connect_access_points # noqa: E501
|
|
2193
|
+
|
|
2194
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2195
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2196
|
+
>>> thread = api.describe_direct_connect_access_points_with_http_info(body, async_req=True)
|
|
2197
|
+
>>> result = thread.get()
|
|
2198
|
+
|
|
2199
|
+
:param async_req bool
|
|
2200
|
+
:param DescribeDirectConnectAccessPointsRequest body: (required)
|
|
2201
|
+
:return: DescribeDirectConnectAccessPointsResponse
|
|
2202
|
+
If the method is called asynchronously,
|
|
2203
|
+
returns the request thread.
|
|
2204
|
+
"""
|
|
2205
|
+
|
|
2206
|
+
all_params = ['body'] # noqa: E501
|
|
2207
|
+
all_params.append('async_req')
|
|
2208
|
+
all_params.append('_return_http_data_only')
|
|
2209
|
+
all_params.append('_preload_content')
|
|
2210
|
+
all_params.append('_request_timeout')
|
|
2211
|
+
|
|
2212
|
+
params = locals()
|
|
2213
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2214
|
+
if key not in all_params:
|
|
2215
|
+
raise TypeError(
|
|
2216
|
+
"Got an unexpected keyword argument '%s'"
|
|
2217
|
+
" to method describe_direct_connect_access_points" % key
|
|
2218
|
+
)
|
|
2219
|
+
params[key] = val
|
|
2220
|
+
del params['kwargs']
|
|
2221
|
+
# verify the required parameter 'body' is set
|
|
2222
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2223
|
+
params['body'] is None): # noqa: E501
|
|
2224
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_access_points`") # noqa: E501
|
|
2225
|
+
|
|
2226
|
+
collection_formats = {}
|
|
2227
|
+
|
|
2228
|
+
path_params = {}
|
|
2229
|
+
|
|
2230
|
+
query_params = []
|
|
2231
|
+
|
|
2232
|
+
header_params = {}
|
|
2233
|
+
|
|
2234
|
+
form_params = []
|
|
2235
|
+
local_var_files = {}
|
|
2236
|
+
|
|
2237
|
+
body_params = None
|
|
2238
|
+
if 'body' in params:
|
|
2239
|
+
body_params = params['body']
|
|
2240
|
+
# HTTP header `Accept`
|
|
2241
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2242
|
+
['application/json']) # noqa: E501
|
|
2243
|
+
|
|
2244
|
+
# HTTP header `Content-Type`
|
|
2245
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2246
|
+
['text/plain']) # noqa: E501
|
|
2247
|
+
|
|
2248
|
+
# Authentication setting
|
|
2249
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2250
|
+
|
|
2251
|
+
return self.api_client.call_api(
|
|
2252
|
+
'/DescribeDirectConnectAccessPoints/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2253
|
+
path_params,
|
|
2254
|
+
query_params,
|
|
2255
|
+
header_params,
|
|
2256
|
+
body=body_params,
|
|
2257
|
+
post_params=form_params,
|
|
2258
|
+
files=local_var_files,
|
|
2259
|
+
response_type='DescribeDirectConnectAccessPointsResponse', # noqa: E501
|
|
2260
|
+
auth_settings=auth_settings,
|
|
2261
|
+
async_req=params.get('async_req'),
|
|
2262
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2263
|
+
_preload_content=params.get('_preload_content', True),
|
|
2264
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2265
|
+
collection_formats=collection_formats)
|
|
2266
|
+
|
|
2267
|
+
def describe_direct_connect_connection_attributes(self, body, **kwargs): # noqa: E501
|
|
2268
|
+
"""describe_direct_connect_connection_attributes # noqa: E501
|
|
2269
|
+
|
|
2270
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2271
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2272
|
+
>>> thread = api.describe_direct_connect_connection_attributes(body, async_req=True)
|
|
2273
|
+
>>> result = thread.get()
|
|
2274
|
+
|
|
2275
|
+
:param async_req bool
|
|
2276
|
+
:param DescribeDirectConnectConnectionAttributesRequest body: (required)
|
|
2277
|
+
:return: DescribeDirectConnectConnectionAttributesResponse
|
|
2278
|
+
If the method is called asynchronously,
|
|
2279
|
+
returns the request thread.
|
|
2280
|
+
"""
|
|
2281
|
+
kwargs['_return_http_data_only'] = True
|
|
2282
|
+
if kwargs.get('async_req'):
|
|
2283
|
+
return self.describe_direct_connect_connection_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2284
|
+
else:
|
|
2285
|
+
(data) = self.describe_direct_connect_connection_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2286
|
+
return data
|
|
2287
|
+
|
|
2288
|
+
def describe_direct_connect_connection_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2289
|
+
"""describe_direct_connect_connection_attributes # noqa: E501
|
|
2290
|
+
|
|
2291
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2292
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2293
|
+
>>> thread = api.describe_direct_connect_connection_attributes_with_http_info(body, async_req=True)
|
|
2294
|
+
>>> result = thread.get()
|
|
2295
|
+
|
|
2296
|
+
:param async_req bool
|
|
2297
|
+
:param DescribeDirectConnectConnectionAttributesRequest body: (required)
|
|
2298
|
+
:return: DescribeDirectConnectConnectionAttributesResponse
|
|
2299
|
+
If the method is called asynchronously,
|
|
2300
|
+
returns the request thread.
|
|
2301
|
+
"""
|
|
2302
|
+
|
|
2303
|
+
all_params = ['body'] # noqa: E501
|
|
2304
|
+
all_params.append('async_req')
|
|
2305
|
+
all_params.append('_return_http_data_only')
|
|
2306
|
+
all_params.append('_preload_content')
|
|
2307
|
+
all_params.append('_request_timeout')
|
|
2308
|
+
|
|
2309
|
+
params = locals()
|
|
2310
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2311
|
+
if key not in all_params:
|
|
2312
|
+
raise TypeError(
|
|
2313
|
+
"Got an unexpected keyword argument '%s'"
|
|
2314
|
+
" to method describe_direct_connect_connection_attributes" % key
|
|
2315
|
+
)
|
|
2316
|
+
params[key] = val
|
|
2317
|
+
del params['kwargs']
|
|
2318
|
+
# verify the required parameter 'body' is set
|
|
2319
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2320
|
+
params['body'] is None): # noqa: E501
|
|
2321
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_connection_attributes`") # noqa: E501
|
|
2322
|
+
|
|
2323
|
+
collection_formats = {}
|
|
2324
|
+
|
|
2325
|
+
path_params = {}
|
|
2326
|
+
|
|
2327
|
+
query_params = []
|
|
2328
|
+
|
|
2329
|
+
header_params = {}
|
|
2330
|
+
|
|
2331
|
+
form_params = []
|
|
2332
|
+
local_var_files = {}
|
|
2333
|
+
|
|
2334
|
+
body_params = None
|
|
2335
|
+
if 'body' in params:
|
|
2336
|
+
body_params = params['body']
|
|
2337
|
+
# HTTP header `Accept`
|
|
2338
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2339
|
+
['application/json']) # noqa: E501
|
|
2340
|
+
|
|
2341
|
+
# HTTP header `Content-Type`
|
|
2342
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2343
|
+
['text/plain']) # noqa: E501
|
|
2344
|
+
|
|
2345
|
+
# Authentication setting
|
|
2346
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2347
|
+
|
|
2348
|
+
return self.api_client.call_api(
|
|
2349
|
+
'/DescribeDirectConnectConnectionAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2350
|
+
path_params,
|
|
2351
|
+
query_params,
|
|
2352
|
+
header_params,
|
|
2353
|
+
body=body_params,
|
|
2354
|
+
post_params=form_params,
|
|
2355
|
+
files=local_var_files,
|
|
2356
|
+
response_type='DescribeDirectConnectConnectionAttributesResponse', # noqa: E501
|
|
2357
|
+
auth_settings=auth_settings,
|
|
2358
|
+
async_req=params.get('async_req'),
|
|
2359
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2360
|
+
_preload_content=params.get('_preload_content', True),
|
|
2361
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2362
|
+
collection_formats=collection_formats)
|
|
2363
|
+
|
|
2364
|
+
def describe_direct_connect_connection_loa_attributes(self, body, **kwargs): # noqa: E501
|
|
2365
|
+
"""describe_direct_connect_connection_loa_attributes # noqa: E501
|
|
2366
|
+
|
|
2367
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2368
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2369
|
+
>>> thread = api.describe_direct_connect_connection_loa_attributes(body, async_req=True)
|
|
2370
|
+
>>> result = thread.get()
|
|
2371
|
+
|
|
2372
|
+
:param async_req bool
|
|
2373
|
+
:param DescribeDirectConnectConnectionLoaAttributesRequest body: (required)
|
|
2374
|
+
:return: DescribeDirectConnectConnectionLoaAttributesResponse
|
|
2375
|
+
If the method is called asynchronously,
|
|
2376
|
+
returns the request thread.
|
|
2377
|
+
"""
|
|
2378
|
+
kwargs['_return_http_data_only'] = True
|
|
2379
|
+
if kwargs.get('async_req'):
|
|
2380
|
+
return self.describe_direct_connect_connection_loa_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2381
|
+
else:
|
|
2382
|
+
(data) = self.describe_direct_connect_connection_loa_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2383
|
+
return data
|
|
2384
|
+
|
|
2385
|
+
def describe_direct_connect_connection_loa_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2386
|
+
"""describe_direct_connect_connection_loa_attributes # noqa: E501
|
|
2387
|
+
|
|
2388
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2389
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2390
|
+
>>> thread = api.describe_direct_connect_connection_loa_attributes_with_http_info(body, async_req=True)
|
|
2391
|
+
>>> result = thread.get()
|
|
2392
|
+
|
|
2393
|
+
:param async_req bool
|
|
2394
|
+
:param DescribeDirectConnectConnectionLoaAttributesRequest body: (required)
|
|
2395
|
+
:return: DescribeDirectConnectConnectionLoaAttributesResponse
|
|
2396
|
+
If the method is called asynchronously,
|
|
2397
|
+
returns the request thread.
|
|
2398
|
+
"""
|
|
2399
|
+
|
|
2400
|
+
all_params = ['body'] # noqa: E501
|
|
2401
|
+
all_params.append('async_req')
|
|
2402
|
+
all_params.append('_return_http_data_only')
|
|
2403
|
+
all_params.append('_preload_content')
|
|
2404
|
+
all_params.append('_request_timeout')
|
|
2405
|
+
|
|
2406
|
+
params = locals()
|
|
2407
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2408
|
+
if key not in all_params:
|
|
2409
|
+
raise TypeError(
|
|
2410
|
+
"Got an unexpected keyword argument '%s'"
|
|
2411
|
+
" to method describe_direct_connect_connection_loa_attributes" % key
|
|
2412
|
+
)
|
|
2413
|
+
params[key] = val
|
|
2414
|
+
del params['kwargs']
|
|
2415
|
+
# verify the required parameter 'body' is set
|
|
2416
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2417
|
+
params['body'] is None): # noqa: E501
|
|
2418
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_connection_loa_attributes`") # noqa: E501
|
|
2419
|
+
|
|
2420
|
+
collection_formats = {}
|
|
2421
|
+
|
|
2422
|
+
path_params = {}
|
|
2423
|
+
|
|
2424
|
+
query_params = []
|
|
2425
|
+
|
|
2426
|
+
header_params = {}
|
|
2427
|
+
|
|
2428
|
+
form_params = []
|
|
2429
|
+
local_var_files = {}
|
|
2430
|
+
|
|
2431
|
+
body_params = None
|
|
2432
|
+
if 'body' in params:
|
|
2433
|
+
body_params = params['body']
|
|
2434
|
+
# HTTP header `Accept`
|
|
2435
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2436
|
+
['application/json']) # noqa: E501
|
|
2437
|
+
|
|
2438
|
+
# HTTP header `Content-Type`
|
|
2439
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2440
|
+
['text/plain']) # noqa: E501
|
|
2441
|
+
|
|
2442
|
+
# Authentication setting
|
|
2443
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2444
|
+
|
|
2445
|
+
return self.api_client.call_api(
|
|
2446
|
+
'/DescribeDirectConnectConnectionLoaAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2447
|
+
path_params,
|
|
2448
|
+
query_params,
|
|
2449
|
+
header_params,
|
|
2450
|
+
body=body_params,
|
|
2451
|
+
post_params=form_params,
|
|
2452
|
+
files=local_var_files,
|
|
2453
|
+
response_type='DescribeDirectConnectConnectionLoaAttributesResponse', # noqa: E501
|
|
2454
|
+
auth_settings=auth_settings,
|
|
2455
|
+
async_req=params.get('async_req'),
|
|
2456
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2457
|
+
_preload_content=params.get('_preload_content', True),
|
|
2458
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2459
|
+
collection_formats=collection_formats)
|
|
2460
|
+
|
|
2461
|
+
def describe_direct_connect_connections(self, body, **kwargs): # noqa: E501
|
|
2462
|
+
"""describe_direct_connect_connections # noqa: E501
|
|
2463
|
+
|
|
2464
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2465
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2466
|
+
>>> thread = api.describe_direct_connect_connections(body, async_req=True)
|
|
2467
|
+
>>> result = thread.get()
|
|
2468
|
+
|
|
2469
|
+
:param async_req bool
|
|
2470
|
+
:param DescribeDirectConnectConnectionsRequest body: (required)
|
|
2471
|
+
:return: DescribeDirectConnectConnectionsResponse
|
|
2472
|
+
If the method is called asynchronously,
|
|
2473
|
+
returns the request thread.
|
|
2474
|
+
"""
|
|
2475
|
+
kwargs['_return_http_data_only'] = True
|
|
2476
|
+
if kwargs.get('async_req'):
|
|
2477
|
+
return self.describe_direct_connect_connections_with_http_info(body, **kwargs) # noqa: E501
|
|
2478
|
+
else:
|
|
2479
|
+
(data) = self.describe_direct_connect_connections_with_http_info(body, **kwargs) # noqa: E501
|
|
2480
|
+
return data
|
|
2481
|
+
|
|
2482
|
+
def describe_direct_connect_connections_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2483
|
+
"""describe_direct_connect_connections # noqa: E501
|
|
2484
|
+
|
|
2485
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2486
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2487
|
+
>>> thread = api.describe_direct_connect_connections_with_http_info(body, async_req=True)
|
|
2488
|
+
>>> result = thread.get()
|
|
2489
|
+
|
|
2490
|
+
:param async_req bool
|
|
2491
|
+
:param DescribeDirectConnectConnectionsRequest body: (required)
|
|
2492
|
+
:return: DescribeDirectConnectConnectionsResponse
|
|
2493
|
+
If the method is called asynchronously,
|
|
2494
|
+
returns the request thread.
|
|
2495
|
+
"""
|
|
2496
|
+
|
|
2497
|
+
all_params = ['body'] # noqa: E501
|
|
2498
|
+
all_params.append('async_req')
|
|
2499
|
+
all_params.append('_return_http_data_only')
|
|
2500
|
+
all_params.append('_preload_content')
|
|
2501
|
+
all_params.append('_request_timeout')
|
|
2502
|
+
|
|
2503
|
+
params = locals()
|
|
2504
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2505
|
+
if key not in all_params:
|
|
2506
|
+
raise TypeError(
|
|
2507
|
+
"Got an unexpected keyword argument '%s'"
|
|
2508
|
+
" to method describe_direct_connect_connections" % key
|
|
2509
|
+
)
|
|
2510
|
+
params[key] = val
|
|
2511
|
+
del params['kwargs']
|
|
2512
|
+
# verify the required parameter 'body' is set
|
|
2513
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2514
|
+
params['body'] is None): # noqa: E501
|
|
2515
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_connections`") # noqa: E501
|
|
2516
|
+
|
|
2517
|
+
collection_formats = {}
|
|
2518
|
+
|
|
2519
|
+
path_params = {}
|
|
2520
|
+
|
|
2521
|
+
query_params = []
|
|
2522
|
+
|
|
2523
|
+
header_params = {}
|
|
2524
|
+
|
|
2525
|
+
form_params = []
|
|
2526
|
+
local_var_files = {}
|
|
2527
|
+
|
|
2528
|
+
body_params = None
|
|
2529
|
+
if 'body' in params:
|
|
2530
|
+
body_params = params['body']
|
|
2531
|
+
# HTTP header `Accept`
|
|
2532
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2533
|
+
['application/json']) # noqa: E501
|
|
2534
|
+
|
|
2535
|
+
# HTTP header `Content-Type`
|
|
2536
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2537
|
+
['text/plain']) # noqa: E501
|
|
2538
|
+
|
|
2539
|
+
# Authentication setting
|
|
2540
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2541
|
+
|
|
2542
|
+
return self.api_client.call_api(
|
|
2543
|
+
'/DescribeDirectConnectConnections/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2544
|
+
path_params,
|
|
2545
|
+
query_params,
|
|
2546
|
+
header_params,
|
|
2547
|
+
body=body_params,
|
|
2548
|
+
post_params=form_params,
|
|
2549
|
+
files=local_var_files,
|
|
2550
|
+
response_type='DescribeDirectConnectConnectionsResponse', # noqa: E501
|
|
2551
|
+
auth_settings=auth_settings,
|
|
2552
|
+
async_req=params.get('async_req'),
|
|
2553
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2554
|
+
_preload_content=params.get('_preload_content', True),
|
|
2555
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2556
|
+
collection_formats=collection_formats)
|
|
2557
|
+
|
|
2558
|
+
def describe_direct_connect_gateway_attributes(self, body, **kwargs): # noqa: E501
|
|
2559
|
+
"""describe_direct_connect_gateway_attributes # noqa: E501
|
|
2560
|
+
|
|
2561
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2562
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2563
|
+
>>> thread = api.describe_direct_connect_gateway_attributes(body, async_req=True)
|
|
2564
|
+
>>> result = thread.get()
|
|
2565
|
+
|
|
2566
|
+
:param async_req bool
|
|
2567
|
+
:param DescribeDirectConnectGatewayAttributesRequest body: (required)
|
|
2568
|
+
:return: DescribeDirectConnectGatewayAttributesResponse
|
|
2569
|
+
If the method is called asynchronously,
|
|
2570
|
+
returns the request thread.
|
|
2571
|
+
"""
|
|
2572
|
+
kwargs['_return_http_data_only'] = True
|
|
2573
|
+
if kwargs.get('async_req'):
|
|
2574
|
+
return self.describe_direct_connect_gateway_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2575
|
+
else:
|
|
2576
|
+
(data) = self.describe_direct_connect_gateway_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2577
|
+
return data
|
|
2578
|
+
|
|
2579
|
+
def describe_direct_connect_gateway_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2580
|
+
"""describe_direct_connect_gateway_attributes # noqa: E501
|
|
2581
|
+
|
|
2582
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2583
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2584
|
+
>>> thread = api.describe_direct_connect_gateway_attributes_with_http_info(body, async_req=True)
|
|
2585
|
+
>>> result = thread.get()
|
|
2586
|
+
|
|
2587
|
+
:param async_req bool
|
|
2588
|
+
:param DescribeDirectConnectGatewayAttributesRequest body: (required)
|
|
2589
|
+
:return: DescribeDirectConnectGatewayAttributesResponse
|
|
2590
|
+
If the method is called asynchronously,
|
|
2591
|
+
returns the request thread.
|
|
2592
|
+
"""
|
|
2593
|
+
|
|
2594
|
+
all_params = ['body'] # noqa: E501
|
|
2595
|
+
all_params.append('async_req')
|
|
2596
|
+
all_params.append('_return_http_data_only')
|
|
2597
|
+
all_params.append('_preload_content')
|
|
2598
|
+
all_params.append('_request_timeout')
|
|
2599
|
+
|
|
2600
|
+
params = locals()
|
|
2601
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2602
|
+
if key not in all_params:
|
|
2603
|
+
raise TypeError(
|
|
2604
|
+
"Got an unexpected keyword argument '%s'"
|
|
2605
|
+
" to method describe_direct_connect_gateway_attributes" % key
|
|
2606
|
+
)
|
|
2607
|
+
params[key] = val
|
|
2608
|
+
del params['kwargs']
|
|
2609
|
+
# verify the required parameter 'body' is set
|
|
2610
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2611
|
+
params['body'] is None): # noqa: E501
|
|
2612
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_gateway_attributes`") # noqa: E501
|
|
2613
|
+
|
|
2614
|
+
collection_formats = {}
|
|
2615
|
+
|
|
2616
|
+
path_params = {}
|
|
2617
|
+
|
|
2618
|
+
query_params = []
|
|
2619
|
+
|
|
2620
|
+
header_params = {}
|
|
2621
|
+
|
|
2622
|
+
form_params = []
|
|
2623
|
+
local_var_files = {}
|
|
2624
|
+
|
|
2625
|
+
body_params = None
|
|
2626
|
+
if 'body' in params:
|
|
2627
|
+
body_params = params['body']
|
|
2628
|
+
# HTTP header `Accept`
|
|
2629
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2630
|
+
['application/json']) # noqa: E501
|
|
2631
|
+
|
|
2632
|
+
# HTTP header `Content-Type`
|
|
2633
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2634
|
+
['text/plain']) # noqa: E501
|
|
2635
|
+
|
|
2636
|
+
# Authentication setting
|
|
2637
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2638
|
+
|
|
2639
|
+
return self.api_client.call_api(
|
|
2640
|
+
'/DescribeDirectConnectGatewayAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2641
|
+
path_params,
|
|
2642
|
+
query_params,
|
|
2643
|
+
header_params,
|
|
2644
|
+
body=body_params,
|
|
2645
|
+
post_params=form_params,
|
|
2646
|
+
files=local_var_files,
|
|
2647
|
+
response_type='DescribeDirectConnectGatewayAttributesResponse', # noqa: E501
|
|
2648
|
+
auth_settings=auth_settings,
|
|
2649
|
+
async_req=params.get('async_req'),
|
|
2650
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2651
|
+
_preload_content=params.get('_preload_content', True),
|
|
2652
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2653
|
+
collection_formats=collection_formats)
|
|
2654
|
+
|
|
2655
|
+
def describe_direct_connect_gateway_route_attributes(self, body, **kwargs): # noqa: E501
|
|
2656
|
+
"""describe_direct_connect_gateway_route_attributes # noqa: E501
|
|
2657
|
+
|
|
2658
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2659
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2660
|
+
>>> thread = api.describe_direct_connect_gateway_route_attributes(body, async_req=True)
|
|
1033
2661
|
>>> result = thread.get()
|
|
1034
2662
|
|
|
1035
2663
|
:param async_req bool
|
|
1036
|
-
:param
|
|
1037
|
-
:return:
|
|
2664
|
+
:param DescribeDirectConnectGatewayRouteAttributesRequest body: (required)
|
|
2665
|
+
:return: DescribeDirectConnectGatewayRouteAttributesResponse
|
|
2666
|
+
If the method is called asynchronously,
|
|
2667
|
+
returns the request thread.
|
|
2668
|
+
"""
|
|
2669
|
+
kwargs['_return_http_data_only'] = True
|
|
2670
|
+
if kwargs.get('async_req'):
|
|
2671
|
+
return self.describe_direct_connect_gateway_route_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2672
|
+
else:
|
|
2673
|
+
(data) = self.describe_direct_connect_gateway_route_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2674
|
+
return data
|
|
2675
|
+
|
|
2676
|
+
def describe_direct_connect_gateway_route_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2677
|
+
"""describe_direct_connect_gateway_route_attributes # noqa: E501
|
|
2678
|
+
|
|
2679
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2680
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2681
|
+
>>> thread = api.describe_direct_connect_gateway_route_attributes_with_http_info(body, async_req=True)
|
|
2682
|
+
>>> result = thread.get()
|
|
2683
|
+
|
|
2684
|
+
:param async_req bool
|
|
2685
|
+
:param DescribeDirectConnectGatewayRouteAttributesRequest body: (required)
|
|
2686
|
+
:return: DescribeDirectConnectGatewayRouteAttributesResponse
|
|
1038
2687
|
If the method is called asynchronously,
|
|
1039
2688
|
returns the request thread.
|
|
1040
2689
|
"""
|
|
@@ -1050,14 +2699,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1050
2699
|
if key not in all_params:
|
|
1051
2700
|
raise TypeError(
|
|
1052
2701
|
"Got an unexpected keyword argument '%s'"
|
|
1053
|
-
" to method
|
|
2702
|
+
" to method describe_direct_connect_gateway_route_attributes" % key
|
|
1054
2703
|
)
|
|
1055
2704
|
params[key] = val
|
|
1056
2705
|
del params['kwargs']
|
|
1057
2706
|
# verify the required parameter 'body' is set
|
|
1058
2707
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1059
2708
|
params['body'] is None): # noqa: E501
|
|
1060
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
2709
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_gateway_route_attributes`") # noqa: E501
|
|
1061
2710
|
|
|
1062
2711
|
collection_formats = {}
|
|
1063
2712
|
|
|
@@ -1085,14 +2734,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1085
2734
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1086
2735
|
|
|
1087
2736
|
return self.api_client.call_api(
|
|
1088
|
-
'/
|
|
2737
|
+
'/DescribeDirectConnectGatewayRouteAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1089
2738
|
path_params,
|
|
1090
2739
|
query_params,
|
|
1091
2740
|
header_params,
|
|
1092
2741
|
body=body_params,
|
|
1093
2742
|
post_params=form_params,
|
|
1094
2743
|
files=local_var_files,
|
|
1095
|
-
response_type='
|
|
2744
|
+
response_type='DescribeDirectConnectGatewayRouteAttributesResponse', # noqa: E501
|
|
1096
2745
|
auth_settings=auth_settings,
|
|
1097
2746
|
async_req=params.get('async_req'),
|
|
1098
2747
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1100,38 +2749,38 @@ class DIRECTCONNECTApi(object):
|
|
|
1100
2749
|
_request_timeout=params.get('_request_timeout'),
|
|
1101
2750
|
collection_formats=collection_formats)
|
|
1102
2751
|
|
|
1103
|
-
def
|
|
1104
|
-
"""
|
|
2752
|
+
def describe_direct_connect_gateway_routes(self, body, **kwargs): # noqa: E501
|
|
2753
|
+
"""describe_direct_connect_gateway_routes # noqa: E501
|
|
1105
2754
|
|
|
1106
2755
|
This method makes a synchronous HTTP request by default. To make an
|
|
1107
2756
|
asynchronous HTTP request, please pass async_req=True
|
|
1108
|
-
>>> thread = api.
|
|
2757
|
+
>>> thread = api.describe_direct_connect_gateway_routes(body, async_req=True)
|
|
1109
2758
|
>>> result = thread.get()
|
|
1110
2759
|
|
|
1111
2760
|
:param async_req bool
|
|
1112
|
-
:param
|
|
1113
|
-
:return:
|
|
2761
|
+
:param DescribeDirectConnectGatewayRoutesRequest body: (required)
|
|
2762
|
+
:return: DescribeDirectConnectGatewayRoutesResponse
|
|
1114
2763
|
If the method is called asynchronously,
|
|
1115
2764
|
returns the request thread.
|
|
1116
2765
|
"""
|
|
1117
2766
|
kwargs['_return_http_data_only'] = True
|
|
1118
2767
|
if kwargs.get('async_req'):
|
|
1119
|
-
return self.
|
|
2768
|
+
return self.describe_direct_connect_gateway_routes_with_http_info(body, **kwargs) # noqa: E501
|
|
1120
2769
|
else:
|
|
1121
|
-
(data) = self.
|
|
2770
|
+
(data) = self.describe_direct_connect_gateway_routes_with_http_info(body, **kwargs) # noqa: E501
|
|
1122
2771
|
return data
|
|
1123
2772
|
|
|
1124
|
-
def
|
|
1125
|
-
"""
|
|
2773
|
+
def describe_direct_connect_gateway_routes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2774
|
+
"""describe_direct_connect_gateway_routes # noqa: E501
|
|
1126
2775
|
|
|
1127
2776
|
This method makes a synchronous HTTP request by default. To make an
|
|
1128
2777
|
asynchronous HTTP request, please pass async_req=True
|
|
1129
|
-
>>> thread = api.
|
|
2778
|
+
>>> thread = api.describe_direct_connect_gateway_routes_with_http_info(body, async_req=True)
|
|
1130
2779
|
>>> result = thread.get()
|
|
1131
2780
|
|
|
1132
2781
|
:param async_req bool
|
|
1133
|
-
:param
|
|
1134
|
-
:return:
|
|
2782
|
+
:param DescribeDirectConnectGatewayRoutesRequest body: (required)
|
|
2783
|
+
:return: DescribeDirectConnectGatewayRoutesResponse
|
|
1135
2784
|
If the method is called asynchronously,
|
|
1136
2785
|
returns the request thread.
|
|
1137
2786
|
"""
|
|
@@ -1147,14 +2796,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1147
2796
|
if key not in all_params:
|
|
1148
2797
|
raise TypeError(
|
|
1149
2798
|
"Got an unexpected keyword argument '%s'"
|
|
1150
|
-
" to method
|
|
2799
|
+
" to method describe_direct_connect_gateway_routes" % key
|
|
1151
2800
|
)
|
|
1152
2801
|
params[key] = val
|
|
1153
2802
|
del params['kwargs']
|
|
1154
2803
|
# verify the required parameter 'body' is set
|
|
1155
2804
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1156
2805
|
params['body'] is None): # noqa: E501
|
|
1157
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
2806
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_gateway_routes`") # noqa: E501
|
|
1158
2807
|
|
|
1159
2808
|
collection_formats = {}
|
|
1160
2809
|
|
|
@@ -1182,14 +2831,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1182
2831
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1183
2832
|
|
|
1184
2833
|
return self.api_client.call_api(
|
|
1185
|
-
'/
|
|
2834
|
+
'/DescribeDirectConnectGatewayRoutes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1186
2835
|
path_params,
|
|
1187
2836
|
query_params,
|
|
1188
2837
|
header_params,
|
|
1189
2838
|
body=body_params,
|
|
1190
2839
|
post_params=form_params,
|
|
1191
2840
|
files=local_var_files,
|
|
1192
|
-
response_type='
|
|
2841
|
+
response_type='DescribeDirectConnectGatewayRoutesResponse', # noqa: E501
|
|
1193
2842
|
auth_settings=auth_settings,
|
|
1194
2843
|
async_req=params.get('async_req'),
|
|
1195
2844
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1197,38 +2846,38 @@ class DIRECTCONNECTApi(object):
|
|
|
1197
2846
|
_request_timeout=params.get('_request_timeout'),
|
|
1198
2847
|
collection_formats=collection_formats)
|
|
1199
2848
|
|
|
1200
|
-
def
|
|
1201
|
-
"""
|
|
2849
|
+
def describe_direct_connect_gateways(self, body, **kwargs): # noqa: E501
|
|
2850
|
+
"""describe_direct_connect_gateways # noqa: E501
|
|
1202
2851
|
|
|
1203
2852
|
This method makes a synchronous HTTP request by default. To make an
|
|
1204
2853
|
asynchronous HTTP request, please pass async_req=True
|
|
1205
|
-
>>> thread = api.
|
|
2854
|
+
>>> thread = api.describe_direct_connect_gateways(body, async_req=True)
|
|
1206
2855
|
>>> result = thread.get()
|
|
1207
2856
|
|
|
1208
2857
|
:param async_req bool
|
|
1209
|
-
:param
|
|
1210
|
-
:return:
|
|
2858
|
+
:param DescribeDirectConnectGatewaysRequest body: (required)
|
|
2859
|
+
:return: DescribeDirectConnectGatewaysResponse
|
|
1211
2860
|
If the method is called asynchronously,
|
|
1212
2861
|
returns the request thread.
|
|
1213
2862
|
"""
|
|
1214
2863
|
kwargs['_return_http_data_only'] = True
|
|
1215
2864
|
if kwargs.get('async_req'):
|
|
1216
|
-
return self.
|
|
2865
|
+
return self.describe_direct_connect_gateways_with_http_info(body, **kwargs) # noqa: E501
|
|
1217
2866
|
else:
|
|
1218
|
-
(data) = self.
|
|
2867
|
+
(data) = self.describe_direct_connect_gateways_with_http_info(body, **kwargs) # noqa: E501
|
|
1219
2868
|
return data
|
|
1220
2869
|
|
|
1221
|
-
def
|
|
1222
|
-
"""
|
|
2870
|
+
def describe_direct_connect_gateways_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2871
|
+
"""describe_direct_connect_gateways # noqa: E501
|
|
1223
2872
|
|
|
1224
2873
|
This method makes a synchronous HTTP request by default. To make an
|
|
1225
2874
|
asynchronous HTTP request, please pass async_req=True
|
|
1226
|
-
>>> thread = api.
|
|
2875
|
+
>>> thread = api.describe_direct_connect_gateways_with_http_info(body, async_req=True)
|
|
1227
2876
|
>>> result = thread.get()
|
|
1228
2877
|
|
|
1229
2878
|
:param async_req bool
|
|
1230
|
-
:param
|
|
1231
|
-
:return:
|
|
2879
|
+
:param DescribeDirectConnectGatewaysRequest body: (required)
|
|
2880
|
+
:return: DescribeDirectConnectGatewaysResponse
|
|
1232
2881
|
If the method is called asynchronously,
|
|
1233
2882
|
returns the request thread.
|
|
1234
2883
|
"""
|
|
@@ -1244,14 +2893,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1244
2893
|
if key not in all_params:
|
|
1245
2894
|
raise TypeError(
|
|
1246
2895
|
"Got an unexpected keyword argument '%s'"
|
|
1247
|
-
" to method
|
|
2896
|
+
" to method describe_direct_connect_gateways" % key
|
|
1248
2897
|
)
|
|
1249
2898
|
params[key] = val
|
|
1250
2899
|
del params['kwargs']
|
|
1251
2900
|
# verify the required parameter 'body' is set
|
|
1252
2901
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1253
2902
|
params['body'] is None): # noqa: E501
|
|
1254
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
2903
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_gateways`") # noqa: E501
|
|
1255
2904
|
|
|
1256
2905
|
collection_formats = {}
|
|
1257
2906
|
|
|
@@ -1279,14 +2928,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1279
2928
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1280
2929
|
|
|
1281
2930
|
return self.api_client.call_api(
|
|
1282
|
-
'/
|
|
2931
|
+
'/DescribeDirectConnectGateways/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1283
2932
|
path_params,
|
|
1284
2933
|
query_params,
|
|
1285
2934
|
header_params,
|
|
1286
2935
|
body=body_params,
|
|
1287
2936
|
post_params=form_params,
|
|
1288
2937
|
files=local_var_files,
|
|
1289
|
-
response_type='
|
|
2938
|
+
response_type='DescribeDirectConnectGatewaysResponse', # noqa: E501
|
|
1290
2939
|
auth_settings=auth_settings,
|
|
1291
2940
|
async_req=params.get('async_req'),
|
|
1292
2941
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1294,38 +2943,38 @@ class DIRECTCONNECTApi(object):
|
|
|
1294
2943
|
_request_timeout=params.get('_request_timeout'),
|
|
1295
2944
|
collection_formats=collection_formats)
|
|
1296
2945
|
|
|
1297
|
-
def
|
|
1298
|
-
"""
|
|
2946
|
+
def describe_direct_connect_traffic_qos_policies(self, body, **kwargs): # noqa: E501
|
|
2947
|
+
"""describe_direct_connect_traffic_qos_policies # noqa: E501
|
|
1299
2948
|
|
|
1300
2949
|
This method makes a synchronous HTTP request by default. To make an
|
|
1301
2950
|
asynchronous HTTP request, please pass async_req=True
|
|
1302
|
-
>>> thread = api.
|
|
2951
|
+
>>> thread = api.describe_direct_connect_traffic_qos_policies(body, async_req=True)
|
|
1303
2952
|
>>> result = thread.get()
|
|
1304
2953
|
|
|
1305
2954
|
:param async_req bool
|
|
1306
|
-
:param
|
|
1307
|
-
:return:
|
|
2955
|
+
:param DescribeDirectConnectTrafficQosPoliciesRequest body: (required)
|
|
2956
|
+
:return: DescribeDirectConnectTrafficQosPoliciesResponse
|
|
1308
2957
|
If the method is called asynchronously,
|
|
1309
2958
|
returns the request thread.
|
|
1310
2959
|
"""
|
|
1311
2960
|
kwargs['_return_http_data_only'] = True
|
|
1312
2961
|
if kwargs.get('async_req'):
|
|
1313
|
-
return self.
|
|
2962
|
+
return self.describe_direct_connect_traffic_qos_policies_with_http_info(body, **kwargs) # noqa: E501
|
|
1314
2963
|
else:
|
|
1315
|
-
(data) = self.
|
|
2964
|
+
(data) = self.describe_direct_connect_traffic_qos_policies_with_http_info(body, **kwargs) # noqa: E501
|
|
1316
2965
|
return data
|
|
1317
2966
|
|
|
1318
|
-
def
|
|
1319
|
-
"""
|
|
2967
|
+
def describe_direct_connect_traffic_qos_policies_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2968
|
+
"""describe_direct_connect_traffic_qos_policies # noqa: E501
|
|
1320
2969
|
|
|
1321
2970
|
This method makes a synchronous HTTP request by default. To make an
|
|
1322
2971
|
asynchronous HTTP request, please pass async_req=True
|
|
1323
|
-
>>> thread = api.
|
|
2972
|
+
>>> thread = api.describe_direct_connect_traffic_qos_policies_with_http_info(body, async_req=True)
|
|
1324
2973
|
>>> result = thread.get()
|
|
1325
2974
|
|
|
1326
2975
|
:param async_req bool
|
|
1327
|
-
:param
|
|
1328
|
-
:return:
|
|
2976
|
+
:param DescribeDirectConnectTrafficQosPoliciesRequest body: (required)
|
|
2977
|
+
:return: DescribeDirectConnectTrafficQosPoliciesResponse
|
|
1329
2978
|
If the method is called asynchronously,
|
|
1330
2979
|
returns the request thread.
|
|
1331
2980
|
"""
|
|
@@ -1341,14 +2990,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1341
2990
|
if key not in all_params:
|
|
1342
2991
|
raise TypeError(
|
|
1343
2992
|
"Got an unexpected keyword argument '%s'"
|
|
1344
|
-
" to method
|
|
2993
|
+
" to method describe_direct_connect_traffic_qos_policies" % key
|
|
1345
2994
|
)
|
|
1346
2995
|
params[key] = val
|
|
1347
2996
|
del params['kwargs']
|
|
1348
2997
|
# verify the required parameter 'body' is set
|
|
1349
2998
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1350
2999
|
params['body'] is None): # noqa: E501
|
|
1351
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
3000
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_traffic_qos_policies`") # noqa: E501
|
|
1352
3001
|
|
|
1353
3002
|
collection_formats = {}
|
|
1354
3003
|
|
|
@@ -1376,14 +3025,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1376
3025
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1377
3026
|
|
|
1378
3027
|
return self.api_client.call_api(
|
|
1379
|
-
'/
|
|
3028
|
+
'/DescribeDirectConnectTrafficQosPolicies/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1380
3029
|
path_params,
|
|
1381
3030
|
query_params,
|
|
1382
3031
|
header_params,
|
|
1383
3032
|
body=body_params,
|
|
1384
3033
|
post_params=form_params,
|
|
1385
3034
|
files=local_var_files,
|
|
1386
|
-
response_type='
|
|
3035
|
+
response_type='DescribeDirectConnectTrafficQosPoliciesResponse', # noqa: E501
|
|
1387
3036
|
auth_settings=auth_settings,
|
|
1388
3037
|
async_req=params.get('async_req'),
|
|
1389
3038
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1391,38 +3040,38 @@ class DIRECTCONNECTApi(object):
|
|
|
1391
3040
|
_request_timeout=params.get('_request_timeout'),
|
|
1392
3041
|
collection_formats=collection_formats)
|
|
1393
3042
|
|
|
1394
|
-
def
|
|
1395
|
-
"""
|
|
3043
|
+
def describe_direct_connect_traffic_qos_queues(self, body, **kwargs): # noqa: E501
|
|
3044
|
+
"""describe_direct_connect_traffic_qos_queues # noqa: E501
|
|
1396
3045
|
|
|
1397
3046
|
This method makes a synchronous HTTP request by default. To make an
|
|
1398
3047
|
asynchronous HTTP request, please pass async_req=True
|
|
1399
|
-
>>> thread = api.
|
|
3048
|
+
>>> thread = api.describe_direct_connect_traffic_qos_queues(body, async_req=True)
|
|
1400
3049
|
>>> result = thread.get()
|
|
1401
3050
|
|
|
1402
3051
|
:param async_req bool
|
|
1403
|
-
:param
|
|
1404
|
-
:return:
|
|
3052
|
+
:param DescribeDirectConnectTrafficQosQueuesRequest body: (required)
|
|
3053
|
+
:return: DescribeDirectConnectTrafficQosQueuesResponse
|
|
1405
3054
|
If the method is called asynchronously,
|
|
1406
3055
|
returns the request thread.
|
|
1407
3056
|
"""
|
|
1408
3057
|
kwargs['_return_http_data_only'] = True
|
|
1409
3058
|
if kwargs.get('async_req'):
|
|
1410
|
-
return self.
|
|
3059
|
+
return self.describe_direct_connect_traffic_qos_queues_with_http_info(body, **kwargs) # noqa: E501
|
|
1411
3060
|
else:
|
|
1412
|
-
(data) = self.
|
|
3061
|
+
(data) = self.describe_direct_connect_traffic_qos_queues_with_http_info(body, **kwargs) # noqa: E501
|
|
1413
3062
|
return data
|
|
1414
3063
|
|
|
1415
|
-
def
|
|
1416
|
-
"""
|
|
3064
|
+
def describe_direct_connect_traffic_qos_queues_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3065
|
+
"""describe_direct_connect_traffic_qos_queues # noqa: E501
|
|
1417
3066
|
|
|
1418
3067
|
This method makes a synchronous HTTP request by default. To make an
|
|
1419
3068
|
asynchronous HTTP request, please pass async_req=True
|
|
1420
|
-
>>> thread = api.
|
|
3069
|
+
>>> thread = api.describe_direct_connect_traffic_qos_queues_with_http_info(body, async_req=True)
|
|
1421
3070
|
>>> result = thread.get()
|
|
1422
3071
|
|
|
1423
3072
|
:param async_req bool
|
|
1424
|
-
:param
|
|
1425
|
-
:return:
|
|
3073
|
+
:param DescribeDirectConnectTrafficQosQueuesRequest body: (required)
|
|
3074
|
+
:return: DescribeDirectConnectTrafficQosQueuesResponse
|
|
1426
3075
|
If the method is called asynchronously,
|
|
1427
3076
|
returns the request thread.
|
|
1428
3077
|
"""
|
|
@@ -1438,14 +3087,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1438
3087
|
if key not in all_params:
|
|
1439
3088
|
raise TypeError(
|
|
1440
3089
|
"Got an unexpected keyword argument '%s'"
|
|
1441
|
-
" to method
|
|
3090
|
+
" to method describe_direct_connect_traffic_qos_queues" % key
|
|
1442
3091
|
)
|
|
1443
3092
|
params[key] = val
|
|
1444
3093
|
del params['kwargs']
|
|
1445
3094
|
# verify the required parameter 'body' is set
|
|
1446
3095
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1447
3096
|
params['body'] is None): # noqa: E501
|
|
1448
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
3097
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_traffic_qos_queues`") # noqa: E501
|
|
1449
3098
|
|
|
1450
3099
|
collection_formats = {}
|
|
1451
3100
|
|
|
@@ -1473,14 +3122,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1473
3122
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1474
3123
|
|
|
1475
3124
|
return self.api_client.call_api(
|
|
1476
|
-
'/
|
|
3125
|
+
'/DescribeDirectConnectTrafficQosQueues/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1477
3126
|
path_params,
|
|
1478
3127
|
query_params,
|
|
1479
3128
|
header_params,
|
|
1480
3129
|
body=body_params,
|
|
1481
3130
|
post_params=form_params,
|
|
1482
3131
|
files=local_var_files,
|
|
1483
|
-
response_type='
|
|
3132
|
+
response_type='DescribeDirectConnectTrafficQosQueuesResponse', # noqa: E501
|
|
1484
3133
|
auth_settings=auth_settings,
|
|
1485
3134
|
async_req=params.get('async_req'),
|
|
1486
3135
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1488,38 +3137,38 @@ class DIRECTCONNECTApi(object):
|
|
|
1488
3137
|
_request_timeout=params.get('_request_timeout'),
|
|
1489
3138
|
collection_formats=collection_formats)
|
|
1490
3139
|
|
|
1491
|
-
def
|
|
1492
|
-
"""
|
|
3140
|
+
def describe_direct_connect_traffic_qos_rules(self, body, **kwargs): # noqa: E501
|
|
3141
|
+
"""describe_direct_connect_traffic_qos_rules # noqa: E501
|
|
1493
3142
|
|
|
1494
3143
|
This method makes a synchronous HTTP request by default. To make an
|
|
1495
3144
|
asynchronous HTTP request, please pass async_req=True
|
|
1496
|
-
>>> thread = api.
|
|
3145
|
+
>>> thread = api.describe_direct_connect_traffic_qos_rules(body, async_req=True)
|
|
1497
3146
|
>>> result = thread.get()
|
|
1498
3147
|
|
|
1499
3148
|
:param async_req bool
|
|
1500
|
-
:param
|
|
1501
|
-
:return:
|
|
3149
|
+
:param DescribeDirectConnectTrafficQosRulesRequest body: (required)
|
|
3150
|
+
:return: DescribeDirectConnectTrafficQosRulesResponse
|
|
1502
3151
|
If the method is called asynchronously,
|
|
1503
3152
|
returns the request thread.
|
|
1504
3153
|
"""
|
|
1505
3154
|
kwargs['_return_http_data_only'] = True
|
|
1506
3155
|
if kwargs.get('async_req'):
|
|
1507
|
-
return self.
|
|
3156
|
+
return self.describe_direct_connect_traffic_qos_rules_with_http_info(body, **kwargs) # noqa: E501
|
|
1508
3157
|
else:
|
|
1509
|
-
(data) = self.
|
|
3158
|
+
(data) = self.describe_direct_connect_traffic_qos_rules_with_http_info(body, **kwargs) # noqa: E501
|
|
1510
3159
|
return data
|
|
1511
3160
|
|
|
1512
|
-
def
|
|
1513
|
-
"""
|
|
3161
|
+
def describe_direct_connect_traffic_qos_rules_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3162
|
+
"""describe_direct_connect_traffic_qos_rules # noqa: E501
|
|
1514
3163
|
|
|
1515
3164
|
This method makes a synchronous HTTP request by default. To make an
|
|
1516
3165
|
asynchronous HTTP request, please pass async_req=True
|
|
1517
|
-
>>> thread = api.
|
|
3166
|
+
>>> thread = api.describe_direct_connect_traffic_qos_rules_with_http_info(body, async_req=True)
|
|
1518
3167
|
>>> result = thread.get()
|
|
1519
3168
|
|
|
1520
3169
|
:param async_req bool
|
|
1521
|
-
:param
|
|
1522
|
-
:return:
|
|
3170
|
+
:param DescribeDirectConnectTrafficQosRulesRequest body: (required)
|
|
3171
|
+
:return: DescribeDirectConnectTrafficQosRulesResponse
|
|
1523
3172
|
If the method is called asynchronously,
|
|
1524
3173
|
returns the request thread.
|
|
1525
3174
|
"""
|
|
@@ -1535,14 +3184,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1535
3184
|
if key not in all_params:
|
|
1536
3185
|
raise TypeError(
|
|
1537
3186
|
"Got an unexpected keyword argument '%s'"
|
|
1538
|
-
" to method
|
|
3187
|
+
" to method describe_direct_connect_traffic_qos_rules" % key
|
|
1539
3188
|
)
|
|
1540
3189
|
params[key] = val
|
|
1541
3190
|
del params['kwargs']
|
|
1542
3191
|
# verify the required parameter 'body' is set
|
|
1543
3192
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1544
3193
|
params['body'] is None): # noqa: E501
|
|
1545
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
3194
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_traffic_qos_rules`") # noqa: E501
|
|
1546
3195
|
|
|
1547
3196
|
collection_formats = {}
|
|
1548
3197
|
|
|
@@ -1570,14 +3219,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1570
3219
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1571
3220
|
|
|
1572
3221
|
return self.api_client.call_api(
|
|
1573
|
-
'/
|
|
3222
|
+
'/DescribeDirectConnectTrafficQosRules/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1574
3223
|
path_params,
|
|
1575
3224
|
query_params,
|
|
1576
3225
|
header_params,
|
|
1577
3226
|
body=body_params,
|
|
1578
3227
|
post_params=form_params,
|
|
1579
3228
|
files=local_var_files,
|
|
1580
|
-
response_type='
|
|
3229
|
+
response_type='DescribeDirectConnectTrafficQosRulesResponse', # noqa: E501
|
|
1581
3230
|
auth_settings=auth_settings,
|
|
1582
3231
|
async_req=params.get('async_req'),
|
|
1583
3232
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1585,38 +3234,38 @@ class DIRECTCONNECTApi(object):
|
|
|
1585
3234
|
_request_timeout=params.get('_request_timeout'),
|
|
1586
3235
|
collection_formats=collection_formats)
|
|
1587
3236
|
|
|
1588
|
-
def
|
|
1589
|
-
"""
|
|
3237
|
+
def describe_direct_connect_virtual_interface_attributes(self, body, **kwargs): # noqa: E501
|
|
3238
|
+
"""describe_direct_connect_virtual_interface_attributes # noqa: E501
|
|
1590
3239
|
|
|
1591
3240
|
This method makes a synchronous HTTP request by default. To make an
|
|
1592
3241
|
asynchronous HTTP request, please pass async_req=True
|
|
1593
|
-
>>> thread = api.
|
|
3242
|
+
>>> thread = api.describe_direct_connect_virtual_interface_attributes(body, async_req=True)
|
|
1594
3243
|
>>> result = thread.get()
|
|
1595
3244
|
|
|
1596
3245
|
:param async_req bool
|
|
1597
|
-
:param
|
|
1598
|
-
:return:
|
|
3246
|
+
:param DescribeDirectConnectVirtualInterfaceAttributesRequest body: (required)
|
|
3247
|
+
:return: DescribeDirectConnectVirtualInterfaceAttributesResponse
|
|
1599
3248
|
If the method is called asynchronously,
|
|
1600
3249
|
returns the request thread.
|
|
1601
3250
|
"""
|
|
1602
3251
|
kwargs['_return_http_data_only'] = True
|
|
1603
3252
|
if kwargs.get('async_req'):
|
|
1604
|
-
return self.
|
|
3253
|
+
return self.describe_direct_connect_virtual_interface_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
1605
3254
|
else:
|
|
1606
|
-
(data) = self.
|
|
3255
|
+
(data) = self.describe_direct_connect_virtual_interface_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
1607
3256
|
return data
|
|
1608
3257
|
|
|
1609
|
-
def
|
|
1610
|
-
"""
|
|
3258
|
+
def describe_direct_connect_virtual_interface_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3259
|
+
"""describe_direct_connect_virtual_interface_attributes # noqa: E501
|
|
1611
3260
|
|
|
1612
3261
|
This method makes a synchronous HTTP request by default. To make an
|
|
1613
3262
|
asynchronous HTTP request, please pass async_req=True
|
|
1614
|
-
>>> thread = api.
|
|
3263
|
+
>>> thread = api.describe_direct_connect_virtual_interface_attributes_with_http_info(body, async_req=True)
|
|
1615
3264
|
>>> result = thread.get()
|
|
1616
3265
|
|
|
1617
3266
|
:param async_req bool
|
|
1618
|
-
:param
|
|
1619
|
-
:return:
|
|
3267
|
+
:param DescribeDirectConnectVirtualInterfaceAttributesRequest body: (required)
|
|
3268
|
+
:return: DescribeDirectConnectVirtualInterfaceAttributesResponse
|
|
1620
3269
|
If the method is called asynchronously,
|
|
1621
3270
|
returns the request thread.
|
|
1622
3271
|
"""
|
|
@@ -1632,14 +3281,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1632
3281
|
if key not in all_params:
|
|
1633
3282
|
raise TypeError(
|
|
1634
3283
|
"Got an unexpected keyword argument '%s'"
|
|
1635
|
-
" to method
|
|
3284
|
+
" to method describe_direct_connect_virtual_interface_attributes" % key
|
|
1636
3285
|
)
|
|
1637
3286
|
params[key] = val
|
|
1638
3287
|
del params['kwargs']
|
|
1639
3288
|
# verify the required parameter 'body' is set
|
|
1640
3289
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1641
3290
|
params['body'] is None): # noqa: E501
|
|
1642
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
3291
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_virtual_interface_attributes`") # noqa: E501
|
|
1643
3292
|
|
|
1644
3293
|
collection_formats = {}
|
|
1645
3294
|
|
|
@@ -1667,14 +3316,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1667
3316
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1668
3317
|
|
|
1669
3318
|
return self.api_client.call_api(
|
|
1670
|
-
'/
|
|
3319
|
+
'/DescribeDirectConnectVirtualInterfaceAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1671
3320
|
path_params,
|
|
1672
3321
|
query_params,
|
|
1673
3322
|
header_params,
|
|
1674
3323
|
body=body_params,
|
|
1675
3324
|
post_params=form_params,
|
|
1676
3325
|
files=local_var_files,
|
|
1677
|
-
response_type='
|
|
3326
|
+
response_type='DescribeDirectConnectVirtualInterfaceAttributesResponse', # noqa: E501
|
|
1678
3327
|
auth_settings=auth_settings,
|
|
1679
3328
|
async_req=params.get('async_req'),
|
|
1680
3329
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1682,38 +3331,38 @@ class DIRECTCONNECTApi(object):
|
|
|
1682
3331
|
_request_timeout=params.get('_request_timeout'),
|
|
1683
3332
|
collection_formats=collection_formats)
|
|
1684
3333
|
|
|
1685
|
-
def
|
|
1686
|
-
"""
|
|
3334
|
+
def describe_direct_connect_virtual_interfaces(self, body, **kwargs): # noqa: E501
|
|
3335
|
+
"""describe_direct_connect_virtual_interfaces # noqa: E501
|
|
1687
3336
|
|
|
1688
3337
|
This method makes a synchronous HTTP request by default. To make an
|
|
1689
3338
|
asynchronous HTTP request, please pass async_req=True
|
|
1690
|
-
>>> thread = api.
|
|
3339
|
+
>>> thread = api.describe_direct_connect_virtual_interfaces(body, async_req=True)
|
|
1691
3340
|
>>> result = thread.get()
|
|
1692
3341
|
|
|
1693
3342
|
:param async_req bool
|
|
1694
|
-
:param
|
|
1695
|
-
:return:
|
|
3343
|
+
:param DescribeDirectConnectVirtualInterfacesRequest body: (required)
|
|
3344
|
+
:return: DescribeDirectConnectVirtualInterfacesResponse
|
|
1696
3345
|
If the method is called asynchronously,
|
|
1697
3346
|
returns the request thread.
|
|
1698
3347
|
"""
|
|
1699
3348
|
kwargs['_return_http_data_only'] = True
|
|
1700
3349
|
if kwargs.get('async_req'):
|
|
1701
|
-
return self.
|
|
3350
|
+
return self.describe_direct_connect_virtual_interfaces_with_http_info(body, **kwargs) # noqa: E501
|
|
1702
3351
|
else:
|
|
1703
|
-
(data) = self.
|
|
3352
|
+
(data) = self.describe_direct_connect_virtual_interfaces_with_http_info(body, **kwargs) # noqa: E501
|
|
1704
3353
|
return data
|
|
1705
3354
|
|
|
1706
|
-
def
|
|
1707
|
-
"""
|
|
3355
|
+
def describe_direct_connect_virtual_interfaces_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3356
|
+
"""describe_direct_connect_virtual_interfaces # noqa: E501
|
|
1708
3357
|
|
|
1709
3358
|
This method makes a synchronous HTTP request by default. To make an
|
|
1710
3359
|
asynchronous HTTP request, please pass async_req=True
|
|
1711
|
-
>>> thread = api.
|
|
3360
|
+
>>> thread = api.describe_direct_connect_virtual_interfaces_with_http_info(body, async_req=True)
|
|
1712
3361
|
>>> result = thread.get()
|
|
1713
3362
|
|
|
1714
3363
|
:param async_req bool
|
|
1715
|
-
:param
|
|
1716
|
-
:return:
|
|
3364
|
+
:param DescribeDirectConnectVirtualInterfacesRequest body: (required)
|
|
3365
|
+
:return: DescribeDirectConnectVirtualInterfacesResponse
|
|
1717
3366
|
If the method is called asynchronously,
|
|
1718
3367
|
returns the request thread.
|
|
1719
3368
|
"""
|
|
@@ -1729,14 +3378,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1729
3378
|
if key not in all_params:
|
|
1730
3379
|
raise TypeError(
|
|
1731
3380
|
"Got an unexpected keyword argument '%s'"
|
|
1732
|
-
" to method
|
|
3381
|
+
" to method describe_direct_connect_virtual_interfaces" % key
|
|
1733
3382
|
)
|
|
1734
3383
|
params[key] = val
|
|
1735
3384
|
del params['kwargs']
|
|
1736
3385
|
# verify the required parameter 'body' is set
|
|
1737
3386
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1738
3387
|
params['body'] is None): # noqa: E501
|
|
1739
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
3388
|
+
raise ValueError("Missing the required parameter `body` when calling `describe_direct_connect_virtual_interfaces`") # noqa: E501
|
|
1740
3389
|
|
|
1741
3390
|
collection_formats = {}
|
|
1742
3391
|
|
|
@@ -1764,14 +3413,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1764
3413
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1765
3414
|
|
|
1766
3415
|
return self.api_client.call_api(
|
|
1767
|
-
'/
|
|
3416
|
+
'/DescribeDirectConnectVirtualInterfaces/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1768
3417
|
path_params,
|
|
1769
3418
|
query_params,
|
|
1770
3419
|
header_params,
|
|
1771
3420
|
body=body_params,
|
|
1772
3421
|
post_params=form_params,
|
|
1773
3422
|
files=local_var_files,
|
|
1774
|
-
response_type='
|
|
3423
|
+
response_type='DescribeDirectConnectVirtualInterfacesResponse', # noqa: E501
|
|
1775
3424
|
auth_settings=auth_settings,
|
|
1776
3425
|
async_req=params.get('async_req'),
|
|
1777
3426
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1779,38 +3428,38 @@ class DIRECTCONNECTApi(object):
|
|
|
1779
3428
|
_request_timeout=params.get('_request_timeout'),
|
|
1780
3429
|
collection_formats=collection_formats)
|
|
1781
3430
|
|
|
1782
|
-
def
|
|
1783
|
-
"""
|
|
3431
|
+
def list_tags_for_resources(self, body, **kwargs): # noqa: E501
|
|
3432
|
+
"""list_tags_for_resources # noqa: E501
|
|
1784
3433
|
|
|
1785
3434
|
This method makes a synchronous HTTP request by default. To make an
|
|
1786
3435
|
asynchronous HTTP request, please pass async_req=True
|
|
1787
|
-
>>> thread = api.
|
|
3436
|
+
>>> thread = api.list_tags_for_resources(body, async_req=True)
|
|
1788
3437
|
>>> result = thread.get()
|
|
1789
3438
|
|
|
1790
3439
|
:param async_req bool
|
|
1791
|
-
:param
|
|
1792
|
-
:return:
|
|
3440
|
+
:param ListTagsForResourcesRequest body: (required)
|
|
3441
|
+
:return: ListTagsForResourcesResponse
|
|
1793
3442
|
If the method is called asynchronously,
|
|
1794
3443
|
returns the request thread.
|
|
1795
3444
|
"""
|
|
1796
3445
|
kwargs['_return_http_data_only'] = True
|
|
1797
3446
|
if kwargs.get('async_req'):
|
|
1798
|
-
return self.
|
|
3447
|
+
return self.list_tags_for_resources_with_http_info(body, **kwargs) # noqa: E501
|
|
1799
3448
|
else:
|
|
1800
|
-
(data) = self.
|
|
3449
|
+
(data) = self.list_tags_for_resources_with_http_info(body, **kwargs) # noqa: E501
|
|
1801
3450
|
return data
|
|
1802
3451
|
|
|
1803
|
-
def
|
|
1804
|
-
"""
|
|
3452
|
+
def list_tags_for_resources_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3453
|
+
"""list_tags_for_resources # noqa: E501
|
|
1805
3454
|
|
|
1806
3455
|
This method makes a synchronous HTTP request by default. To make an
|
|
1807
3456
|
asynchronous HTTP request, please pass async_req=True
|
|
1808
|
-
>>> thread = api.
|
|
3457
|
+
>>> thread = api.list_tags_for_resources_with_http_info(body, async_req=True)
|
|
1809
3458
|
>>> result = thread.get()
|
|
1810
3459
|
|
|
1811
3460
|
:param async_req bool
|
|
1812
|
-
:param
|
|
1813
|
-
:return:
|
|
3461
|
+
:param ListTagsForResourcesRequest body: (required)
|
|
3462
|
+
:return: ListTagsForResourcesResponse
|
|
1814
3463
|
If the method is called asynchronously,
|
|
1815
3464
|
returns the request thread.
|
|
1816
3465
|
"""
|
|
@@ -1826,14 +3475,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1826
3475
|
if key not in all_params:
|
|
1827
3476
|
raise TypeError(
|
|
1828
3477
|
"Got an unexpected keyword argument '%s'"
|
|
1829
|
-
" to method
|
|
3478
|
+
" to method list_tags_for_resources" % key
|
|
1830
3479
|
)
|
|
1831
3480
|
params[key] = val
|
|
1832
3481
|
del params['kwargs']
|
|
1833
3482
|
# verify the required parameter 'body' is set
|
|
1834
3483
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1835
3484
|
params['body'] is None): # noqa: E501
|
|
1836
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
3485
|
+
raise ValueError("Missing the required parameter `body` when calling `list_tags_for_resources`") # noqa: E501
|
|
1837
3486
|
|
|
1838
3487
|
collection_formats = {}
|
|
1839
3488
|
|
|
@@ -1861,14 +3510,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1861
3510
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1862
3511
|
|
|
1863
3512
|
return self.api_client.call_api(
|
|
1864
|
-
'/
|
|
3513
|
+
'/ListTagsForResources/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1865
3514
|
path_params,
|
|
1866
3515
|
query_params,
|
|
1867
3516
|
header_params,
|
|
1868
3517
|
body=body_params,
|
|
1869
3518
|
post_params=form_params,
|
|
1870
3519
|
files=local_var_files,
|
|
1871
|
-
response_type='
|
|
3520
|
+
response_type='ListTagsForResourcesResponse', # noqa: E501
|
|
1872
3521
|
auth_settings=auth_settings,
|
|
1873
3522
|
async_req=params.get('async_req'),
|
|
1874
3523
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1876,38 +3525,38 @@ class DIRECTCONNECTApi(object):
|
|
|
1876
3525
|
_request_timeout=params.get('_request_timeout'),
|
|
1877
3526
|
collection_formats=collection_formats)
|
|
1878
3527
|
|
|
1879
|
-
def
|
|
1880
|
-
"""
|
|
3528
|
+
def modify_bgp_peer_attributes(self, body, **kwargs): # noqa: E501
|
|
3529
|
+
"""modify_bgp_peer_attributes # noqa: E501
|
|
1881
3530
|
|
|
1882
3531
|
This method makes a synchronous HTTP request by default. To make an
|
|
1883
3532
|
asynchronous HTTP request, please pass async_req=True
|
|
1884
|
-
>>> thread = api.
|
|
3533
|
+
>>> thread = api.modify_bgp_peer_attributes(body, async_req=True)
|
|
1885
3534
|
>>> result = thread.get()
|
|
1886
3535
|
|
|
1887
3536
|
:param async_req bool
|
|
1888
|
-
:param
|
|
1889
|
-
:return:
|
|
3537
|
+
:param ModifyBgpPeerAttributesRequest body: (required)
|
|
3538
|
+
:return: ModifyBgpPeerAttributesResponse
|
|
1890
3539
|
If the method is called asynchronously,
|
|
1891
3540
|
returns the request thread.
|
|
1892
3541
|
"""
|
|
1893
3542
|
kwargs['_return_http_data_only'] = True
|
|
1894
3543
|
if kwargs.get('async_req'):
|
|
1895
|
-
return self.
|
|
3544
|
+
return self.modify_bgp_peer_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
1896
3545
|
else:
|
|
1897
|
-
(data) = self.
|
|
3546
|
+
(data) = self.modify_bgp_peer_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
1898
3547
|
return data
|
|
1899
3548
|
|
|
1900
|
-
def
|
|
1901
|
-
"""
|
|
3549
|
+
def modify_bgp_peer_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3550
|
+
"""modify_bgp_peer_attributes # noqa: E501
|
|
1902
3551
|
|
|
1903
3552
|
This method makes a synchronous HTTP request by default. To make an
|
|
1904
3553
|
asynchronous HTTP request, please pass async_req=True
|
|
1905
|
-
>>> thread = api.
|
|
3554
|
+
>>> thread = api.modify_bgp_peer_attributes_with_http_info(body, async_req=True)
|
|
1906
3555
|
>>> result = thread.get()
|
|
1907
3556
|
|
|
1908
3557
|
:param async_req bool
|
|
1909
|
-
:param
|
|
1910
|
-
:return:
|
|
3558
|
+
:param ModifyBgpPeerAttributesRequest body: (required)
|
|
3559
|
+
:return: ModifyBgpPeerAttributesResponse
|
|
1911
3560
|
If the method is called asynchronously,
|
|
1912
3561
|
returns the request thread.
|
|
1913
3562
|
"""
|
|
@@ -1923,14 +3572,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1923
3572
|
if key not in all_params:
|
|
1924
3573
|
raise TypeError(
|
|
1925
3574
|
"Got an unexpected keyword argument '%s'"
|
|
1926
|
-
" to method
|
|
3575
|
+
" to method modify_bgp_peer_attributes" % key
|
|
1927
3576
|
)
|
|
1928
3577
|
params[key] = val
|
|
1929
3578
|
del params['kwargs']
|
|
1930
3579
|
# verify the required parameter 'body' is set
|
|
1931
3580
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1932
3581
|
params['body'] is None): # noqa: E501
|
|
1933
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
3582
|
+
raise ValueError("Missing the required parameter `body` when calling `modify_bgp_peer_attributes`") # noqa: E501
|
|
1934
3583
|
|
|
1935
3584
|
collection_formats = {}
|
|
1936
3585
|
|
|
@@ -1958,14 +3607,14 @@ class DIRECTCONNECTApi(object):
|
|
|
1958
3607
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1959
3608
|
|
|
1960
3609
|
return self.api_client.call_api(
|
|
1961
|
-
'/
|
|
3610
|
+
'/ModifyBgpPeerAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
1962
3611
|
path_params,
|
|
1963
3612
|
query_params,
|
|
1964
3613
|
header_params,
|
|
1965
3614
|
body=body_params,
|
|
1966
3615
|
post_params=form_params,
|
|
1967
3616
|
files=local_var_files,
|
|
1968
|
-
response_type='
|
|
3617
|
+
response_type='ModifyBgpPeerAttributesResponse', # noqa: E501
|
|
1969
3618
|
auth_settings=auth_settings,
|
|
1970
3619
|
async_req=params.get('async_req'),
|
|
1971
3620
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1973,38 +3622,38 @@ class DIRECTCONNECTApi(object):
|
|
|
1973
3622
|
_request_timeout=params.get('_request_timeout'),
|
|
1974
3623
|
collection_formats=collection_formats)
|
|
1975
3624
|
|
|
1976
|
-
def
|
|
1977
|
-
"""
|
|
3625
|
+
def modify_direct_connect_connection_attributes(self, body, **kwargs): # noqa: E501
|
|
3626
|
+
"""modify_direct_connect_connection_attributes # noqa: E501
|
|
1978
3627
|
|
|
1979
3628
|
This method makes a synchronous HTTP request by default. To make an
|
|
1980
3629
|
asynchronous HTTP request, please pass async_req=True
|
|
1981
|
-
>>> thread = api.
|
|
3630
|
+
>>> thread = api.modify_direct_connect_connection_attributes(body, async_req=True)
|
|
1982
3631
|
>>> result = thread.get()
|
|
1983
3632
|
|
|
1984
3633
|
:param async_req bool
|
|
1985
|
-
:param
|
|
1986
|
-
:return:
|
|
3634
|
+
:param ModifyDirectConnectConnectionAttributesRequest body: (required)
|
|
3635
|
+
:return: ModifyDirectConnectConnectionAttributesResponse
|
|
1987
3636
|
If the method is called asynchronously,
|
|
1988
3637
|
returns the request thread.
|
|
1989
3638
|
"""
|
|
1990
3639
|
kwargs['_return_http_data_only'] = True
|
|
1991
3640
|
if kwargs.get('async_req'):
|
|
1992
|
-
return self.
|
|
3641
|
+
return self.modify_direct_connect_connection_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
1993
3642
|
else:
|
|
1994
|
-
(data) = self.
|
|
3643
|
+
(data) = self.modify_direct_connect_connection_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
1995
3644
|
return data
|
|
1996
3645
|
|
|
1997
|
-
def
|
|
1998
|
-
"""
|
|
3646
|
+
def modify_direct_connect_connection_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3647
|
+
"""modify_direct_connect_connection_attributes # noqa: E501
|
|
1999
3648
|
|
|
2000
3649
|
This method makes a synchronous HTTP request by default. To make an
|
|
2001
3650
|
asynchronous HTTP request, please pass async_req=True
|
|
2002
|
-
>>> thread = api.
|
|
3651
|
+
>>> thread = api.modify_direct_connect_connection_attributes_with_http_info(body, async_req=True)
|
|
2003
3652
|
>>> result = thread.get()
|
|
2004
3653
|
|
|
2005
3654
|
:param async_req bool
|
|
2006
|
-
:param
|
|
2007
|
-
:return:
|
|
3655
|
+
:param ModifyDirectConnectConnectionAttributesRequest body: (required)
|
|
3656
|
+
:return: ModifyDirectConnectConnectionAttributesResponse
|
|
2008
3657
|
If the method is called asynchronously,
|
|
2009
3658
|
returns the request thread.
|
|
2010
3659
|
"""
|
|
@@ -2020,14 +3669,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2020
3669
|
if key not in all_params:
|
|
2021
3670
|
raise TypeError(
|
|
2022
3671
|
"Got an unexpected keyword argument '%s'"
|
|
2023
|
-
" to method
|
|
3672
|
+
" to method modify_direct_connect_connection_attributes" % key
|
|
2024
3673
|
)
|
|
2025
3674
|
params[key] = val
|
|
2026
3675
|
del params['kwargs']
|
|
2027
3676
|
# verify the required parameter 'body' is set
|
|
2028
3677
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
2029
3678
|
params['body'] is None): # noqa: E501
|
|
2030
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
3679
|
+
raise ValueError("Missing the required parameter `body` when calling `modify_direct_connect_connection_attributes`") # noqa: E501
|
|
2031
3680
|
|
|
2032
3681
|
collection_formats = {}
|
|
2033
3682
|
|
|
@@ -2055,14 +3704,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2055
3704
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2056
3705
|
|
|
2057
3706
|
return self.api_client.call_api(
|
|
2058
|
-
'/
|
|
3707
|
+
'/ModifyDirectConnectConnectionAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2059
3708
|
path_params,
|
|
2060
3709
|
query_params,
|
|
2061
3710
|
header_params,
|
|
2062
3711
|
body=body_params,
|
|
2063
3712
|
post_params=form_params,
|
|
2064
3713
|
files=local_var_files,
|
|
2065
|
-
response_type='
|
|
3714
|
+
response_type='ModifyDirectConnectConnectionAttributesResponse', # noqa: E501
|
|
2066
3715
|
auth_settings=auth_settings,
|
|
2067
3716
|
async_req=params.get('async_req'),
|
|
2068
3717
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2070,38 +3719,38 @@ class DIRECTCONNECTApi(object):
|
|
|
2070
3719
|
_request_timeout=params.get('_request_timeout'),
|
|
2071
3720
|
collection_formats=collection_formats)
|
|
2072
3721
|
|
|
2073
|
-
def
|
|
2074
|
-
"""
|
|
3722
|
+
def modify_direct_connect_connection_loa_attributes(self, body, **kwargs): # noqa: E501
|
|
3723
|
+
"""modify_direct_connect_connection_loa_attributes # noqa: E501
|
|
2075
3724
|
|
|
2076
3725
|
This method makes a synchronous HTTP request by default. To make an
|
|
2077
3726
|
asynchronous HTTP request, please pass async_req=True
|
|
2078
|
-
>>> thread = api.
|
|
3727
|
+
>>> thread = api.modify_direct_connect_connection_loa_attributes(body, async_req=True)
|
|
2079
3728
|
>>> result = thread.get()
|
|
2080
3729
|
|
|
2081
3730
|
:param async_req bool
|
|
2082
|
-
:param
|
|
2083
|
-
:return:
|
|
3731
|
+
:param ModifyDirectConnectConnectionLoaAttributesRequest body: (required)
|
|
3732
|
+
:return: ModifyDirectConnectConnectionLoaAttributesResponse
|
|
2084
3733
|
If the method is called asynchronously,
|
|
2085
3734
|
returns the request thread.
|
|
2086
3735
|
"""
|
|
2087
3736
|
kwargs['_return_http_data_only'] = True
|
|
2088
3737
|
if kwargs.get('async_req'):
|
|
2089
|
-
return self.
|
|
3738
|
+
return self.modify_direct_connect_connection_loa_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2090
3739
|
else:
|
|
2091
|
-
(data) = self.
|
|
3740
|
+
(data) = self.modify_direct_connect_connection_loa_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2092
3741
|
return data
|
|
2093
3742
|
|
|
2094
|
-
def
|
|
2095
|
-
"""
|
|
3743
|
+
def modify_direct_connect_connection_loa_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3744
|
+
"""modify_direct_connect_connection_loa_attributes # noqa: E501
|
|
2096
3745
|
|
|
2097
3746
|
This method makes a synchronous HTTP request by default. To make an
|
|
2098
3747
|
asynchronous HTTP request, please pass async_req=True
|
|
2099
|
-
>>> thread = api.
|
|
3748
|
+
>>> thread = api.modify_direct_connect_connection_loa_attributes_with_http_info(body, async_req=True)
|
|
2100
3749
|
>>> result = thread.get()
|
|
2101
3750
|
|
|
2102
3751
|
:param async_req bool
|
|
2103
|
-
:param
|
|
2104
|
-
:return:
|
|
3752
|
+
:param ModifyDirectConnectConnectionLoaAttributesRequest body: (required)
|
|
3753
|
+
:return: ModifyDirectConnectConnectionLoaAttributesResponse
|
|
2105
3754
|
If the method is called asynchronously,
|
|
2106
3755
|
returns the request thread.
|
|
2107
3756
|
"""
|
|
@@ -2117,14 +3766,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2117
3766
|
if key not in all_params:
|
|
2118
3767
|
raise TypeError(
|
|
2119
3768
|
"Got an unexpected keyword argument '%s'"
|
|
2120
|
-
" to method
|
|
3769
|
+
" to method modify_direct_connect_connection_loa_attributes" % key
|
|
2121
3770
|
)
|
|
2122
3771
|
params[key] = val
|
|
2123
3772
|
del params['kwargs']
|
|
2124
3773
|
# verify the required parameter 'body' is set
|
|
2125
3774
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
2126
3775
|
params['body'] is None): # noqa: E501
|
|
2127
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
3776
|
+
raise ValueError("Missing the required parameter `body` when calling `modify_direct_connect_connection_loa_attributes`") # noqa: E501
|
|
2128
3777
|
|
|
2129
3778
|
collection_formats = {}
|
|
2130
3779
|
|
|
@@ -2152,14 +3801,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2152
3801
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2153
3802
|
|
|
2154
3803
|
return self.api_client.call_api(
|
|
2155
|
-
'/
|
|
3804
|
+
'/ModifyDirectConnectConnectionLoaAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2156
3805
|
path_params,
|
|
2157
3806
|
query_params,
|
|
2158
3807
|
header_params,
|
|
2159
3808
|
body=body_params,
|
|
2160
3809
|
post_params=form_params,
|
|
2161
3810
|
files=local_var_files,
|
|
2162
|
-
response_type='
|
|
3811
|
+
response_type='ModifyDirectConnectConnectionLoaAttributesResponse', # noqa: E501
|
|
2163
3812
|
auth_settings=auth_settings,
|
|
2164
3813
|
async_req=params.get('async_req'),
|
|
2165
3814
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2167,38 +3816,38 @@ class DIRECTCONNECTApi(object):
|
|
|
2167
3816
|
_request_timeout=params.get('_request_timeout'),
|
|
2168
3817
|
collection_formats=collection_formats)
|
|
2169
3818
|
|
|
2170
|
-
def
|
|
2171
|
-
"""
|
|
3819
|
+
def modify_direct_connect_gateway_attributes(self, body, **kwargs): # noqa: E501
|
|
3820
|
+
"""modify_direct_connect_gateway_attributes # noqa: E501
|
|
2172
3821
|
|
|
2173
3822
|
This method makes a synchronous HTTP request by default. To make an
|
|
2174
3823
|
asynchronous HTTP request, please pass async_req=True
|
|
2175
|
-
>>> thread = api.
|
|
3824
|
+
>>> thread = api.modify_direct_connect_gateway_attributes(body, async_req=True)
|
|
2176
3825
|
>>> result = thread.get()
|
|
2177
3826
|
|
|
2178
3827
|
:param async_req bool
|
|
2179
|
-
:param
|
|
2180
|
-
:return:
|
|
3828
|
+
:param ModifyDirectConnectGatewayAttributesRequest body: (required)
|
|
3829
|
+
:return: ModifyDirectConnectGatewayAttributesResponse
|
|
2181
3830
|
If the method is called asynchronously,
|
|
2182
3831
|
returns the request thread.
|
|
2183
3832
|
"""
|
|
2184
3833
|
kwargs['_return_http_data_only'] = True
|
|
2185
3834
|
if kwargs.get('async_req'):
|
|
2186
|
-
return self.
|
|
3835
|
+
return self.modify_direct_connect_gateway_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2187
3836
|
else:
|
|
2188
|
-
(data) = self.
|
|
3837
|
+
(data) = self.modify_direct_connect_gateway_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2189
3838
|
return data
|
|
2190
3839
|
|
|
2191
|
-
def
|
|
2192
|
-
"""
|
|
3840
|
+
def modify_direct_connect_gateway_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3841
|
+
"""modify_direct_connect_gateway_attributes # noqa: E501
|
|
2193
3842
|
|
|
2194
3843
|
This method makes a synchronous HTTP request by default. To make an
|
|
2195
3844
|
asynchronous HTTP request, please pass async_req=True
|
|
2196
|
-
>>> thread = api.
|
|
3845
|
+
>>> thread = api.modify_direct_connect_gateway_attributes_with_http_info(body, async_req=True)
|
|
2197
3846
|
>>> result = thread.get()
|
|
2198
3847
|
|
|
2199
3848
|
:param async_req bool
|
|
2200
|
-
:param
|
|
2201
|
-
:return:
|
|
3849
|
+
:param ModifyDirectConnectGatewayAttributesRequest body: (required)
|
|
3850
|
+
:return: ModifyDirectConnectGatewayAttributesResponse
|
|
2202
3851
|
If the method is called asynchronously,
|
|
2203
3852
|
returns the request thread.
|
|
2204
3853
|
"""
|
|
@@ -2214,14 +3863,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2214
3863
|
if key not in all_params:
|
|
2215
3864
|
raise TypeError(
|
|
2216
3865
|
"Got an unexpected keyword argument '%s'"
|
|
2217
|
-
" to method
|
|
3866
|
+
" to method modify_direct_connect_gateway_attributes" % key
|
|
2218
3867
|
)
|
|
2219
3868
|
params[key] = val
|
|
2220
3869
|
del params['kwargs']
|
|
2221
3870
|
# verify the required parameter 'body' is set
|
|
2222
3871
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
2223
3872
|
params['body'] is None): # noqa: E501
|
|
2224
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
3873
|
+
raise ValueError("Missing the required parameter `body` when calling `modify_direct_connect_gateway_attributes`") # noqa: E501
|
|
2225
3874
|
|
|
2226
3875
|
collection_formats = {}
|
|
2227
3876
|
|
|
@@ -2249,14 +3898,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2249
3898
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2250
3899
|
|
|
2251
3900
|
return self.api_client.call_api(
|
|
2252
|
-
'/
|
|
3901
|
+
'/ModifyDirectConnectGatewayAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2253
3902
|
path_params,
|
|
2254
3903
|
query_params,
|
|
2255
3904
|
header_params,
|
|
2256
3905
|
body=body_params,
|
|
2257
3906
|
post_params=form_params,
|
|
2258
3907
|
files=local_var_files,
|
|
2259
|
-
response_type='
|
|
3908
|
+
response_type='ModifyDirectConnectGatewayAttributesResponse', # noqa: E501
|
|
2260
3909
|
auth_settings=auth_settings,
|
|
2261
3910
|
async_req=params.get('async_req'),
|
|
2262
3911
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2264,38 +3913,38 @@ class DIRECTCONNECTApi(object):
|
|
|
2264
3913
|
_request_timeout=params.get('_request_timeout'),
|
|
2265
3914
|
collection_formats=collection_formats)
|
|
2266
3915
|
|
|
2267
|
-
def
|
|
2268
|
-
"""
|
|
3916
|
+
def modify_direct_connect_traffic_qos_policy_attributes(self, body, **kwargs): # noqa: E501
|
|
3917
|
+
"""modify_direct_connect_traffic_qos_policy_attributes # noqa: E501
|
|
2269
3918
|
|
|
2270
3919
|
This method makes a synchronous HTTP request by default. To make an
|
|
2271
3920
|
asynchronous HTTP request, please pass async_req=True
|
|
2272
|
-
>>> thread = api.
|
|
3921
|
+
>>> thread = api.modify_direct_connect_traffic_qos_policy_attributes(body, async_req=True)
|
|
2273
3922
|
>>> result = thread.get()
|
|
2274
3923
|
|
|
2275
3924
|
:param async_req bool
|
|
2276
|
-
:param
|
|
2277
|
-
:return:
|
|
3925
|
+
:param ModifyDirectConnectTrafficQosPolicyAttributesRequest body: (required)
|
|
3926
|
+
:return: ModifyDirectConnectTrafficQosPolicyAttributesResponse
|
|
2278
3927
|
If the method is called asynchronously,
|
|
2279
3928
|
returns the request thread.
|
|
2280
3929
|
"""
|
|
2281
3930
|
kwargs['_return_http_data_only'] = True
|
|
2282
3931
|
if kwargs.get('async_req'):
|
|
2283
|
-
return self.
|
|
3932
|
+
return self.modify_direct_connect_traffic_qos_policy_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2284
3933
|
else:
|
|
2285
|
-
(data) = self.
|
|
3934
|
+
(data) = self.modify_direct_connect_traffic_qos_policy_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2286
3935
|
return data
|
|
2287
3936
|
|
|
2288
|
-
def
|
|
2289
|
-
"""
|
|
3937
|
+
def modify_direct_connect_traffic_qos_policy_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3938
|
+
"""modify_direct_connect_traffic_qos_policy_attributes # noqa: E501
|
|
2290
3939
|
|
|
2291
3940
|
This method makes a synchronous HTTP request by default. To make an
|
|
2292
3941
|
asynchronous HTTP request, please pass async_req=True
|
|
2293
|
-
>>> thread = api.
|
|
3942
|
+
>>> thread = api.modify_direct_connect_traffic_qos_policy_attributes_with_http_info(body, async_req=True)
|
|
2294
3943
|
>>> result = thread.get()
|
|
2295
3944
|
|
|
2296
3945
|
:param async_req bool
|
|
2297
|
-
:param
|
|
2298
|
-
:return:
|
|
3946
|
+
:param ModifyDirectConnectTrafficQosPolicyAttributesRequest body: (required)
|
|
3947
|
+
:return: ModifyDirectConnectTrafficQosPolicyAttributesResponse
|
|
2299
3948
|
If the method is called asynchronously,
|
|
2300
3949
|
returns the request thread.
|
|
2301
3950
|
"""
|
|
@@ -2311,14 +3960,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2311
3960
|
if key not in all_params:
|
|
2312
3961
|
raise TypeError(
|
|
2313
3962
|
"Got an unexpected keyword argument '%s'"
|
|
2314
|
-
" to method
|
|
3963
|
+
" to method modify_direct_connect_traffic_qos_policy_attributes" % key
|
|
2315
3964
|
)
|
|
2316
3965
|
params[key] = val
|
|
2317
3966
|
del params['kwargs']
|
|
2318
3967
|
# verify the required parameter 'body' is set
|
|
2319
3968
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
2320
3969
|
params['body'] is None): # noqa: E501
|
|
2321
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
3970
|
+
raise ValueError("Missing the required parameter `body` when calling `modify_direct_connect_traffic_qos_policy_attributes`") # noqa: E501
|
|
2322
3971
|
|
|
2323
3972
|
collection_formats = {}
|
|
2324
3973
|
|
|
@@ -2346,14 +3995,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2346
3995
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2347
3996
|
|
|
2348
3997
|
return self.api_client.call_api(
|
|
2349
|
-
'/
|
|
3998
|
+
'/ModifyDirectConnectTrafficQosPolicyAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2350
3999
|
path_params,
|
|
2351
4000
|
query_params,
|
|
2352
4001
|
header_params,
|
|
2353
4002
|
body=body_params,
|
|
2354
4003
|
post_params=form_params,
|
|
2355
4004
|
files=local_var_files,
|
|
2356
|
-
response_type='
|
|
4005
|
+
response_type='ModifyDirectConnectTrafficQosPolicyAttributesResponse', # noqa: E501
|
|
2357
4006
|
auth_settings=auth_settings,
|
|
2358
4007
|
async_req=params.get('async_req'),
|
|
2359
4008
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2361,38 +4010,38 @@ class DIRECTCONNECTApi(object):
|
|
|
2361
4010
|
_request_timeout=params.get('_request_timeout'),
|
|
2362
4011
|
collection_formats=collection_formats)
|
|
2363
4012
|
|
|
2364
|
-
def
|
|
2365
|
-
"""
|
|
4013
|
+
def modify_direct_connect_traffic_qos_queue_attributes(self, body, **kwargs): # noqa: E501
|
|
4014
|
+
"""modify_direct_connect_traffic_qos_queue_attributes # noqa: E501
|
|
2366
4015
|
|
|
2367
4016
|
This method makes a synchronous HTTP request by default. To make an
|
|
2368
4017
|
asynchronous HTTP request, please pass async_req=True
|
|
2369
|
-
>>> thread = api.
|
|
4018
|
+
>>> thread = api.modify_direct_connect_traffic_qos_queue_attributes(body, async_req=True)
|
|
2370
4019
|
>>> result = thread.get()
|
|
2371
4020
|
|
|
2372
4021
|
:param async_req bool
|
|
2373
|
-
:param
|
|
2374
|
-
:return:
|
|
4022
|
+
:param ModifyDirectConnectTrafficQosQueueAttributesRequest body: (required)
|
|
4023
|
+
:return: ModifyDirectConnectTrafficQosQueueAttributesResponse
|
|
2375
4024
|
If the method is called asynchronously,
|
|
2376
4025
|
returns the request thread.
|
|
2377
4026
|
"""
|
|
2378
4027
|
kwargs['_return_http_data_only'] = True
|
|
2379
4028
|
if kwargs.get('async_req'):
|
|
2380
|
-
return self.
|
|
4029
|
+
return self.modify_direct_connect_traffic_qos_queue_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2381
4030
|
else:
|
|
2382
|
-
(data) = self.
|
|
4031
|
+
(data) = self.modify_direct_connect_traffic_qos_queue_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2383
4032
|
return data
|
|
2384
4033
|
|
|
2385
|
-
def
|
|
2386
|
-
"""
|
|
4034
|
+
def modify_direct_connect_traffic_qos_queue_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
4035
|
+
"""modify_direct_connect_traffic_qos_queue_attributes # noqa: E501
|
|
2387
4036
|
|
|
2388
4037
|
This method makes a synchronous HTTP request by default. To make an
|
|
2389
4038
|
asynchronous HTTP request, please pass async_req=True
|
|
2390
|
-
>>> thread = api.
|
|
4039
|
+
>>> thread = api.modify_direct_connect_traffic_qos_queue_attributes_with_http_info(body, async_req=True)
|
|
2391
4040
|
>>> result = thread.get()
|
|
2392
4041
|
|
|
2393
4042
|
:param async_req bool
|
|
2394
|
-
:param
|
|
2395
|
-
:return:
|
|
4043
|
+
:param ModifyDirectConnectTrafficQosQueueAttributesRequest body: (required)
|
|
4044
|
+
:return: ModifyDirectConnectTrafficQosQueueAttributesResponse
|
|
2396
4045
|
If the method is called asynchronously,
|
|
2397
4046
|
returns the request thread.
|
|
2398
4047
|
"""
|
|
@@ -2408,14 +4057,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2408
4057
|
if key not in all_params:
|
|
2409
4058
|
raise TypeError(
|
|
2410
4059
|
"Got an unexpected keyword argument '%s'"
|
|
2411
|
-
" to method
|
|
4060
|
+
" to method modify_direct_connect_traffic_qos_queue_attributes" % key
|
|
2412
4061
|
)
|
|
2413
4062
|
params[key] = val
|
|
2414
4063
|
del params['kwargs']
|
|
2415
4064
|
# verify the required parameter 'body' is set
|
|
2416
4065
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
2417
4066
|
params['body'] is None): # noqa: E501
|
|
2418
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
4067
|
+
raise ValueError("Missing the required parameter `body` when calling `modify_direct_connect_traffic_qos_queue_attributes`") # noqa: E501
|
|
2419
4068
|
|
|
2420
4069
|
collection_formats = {}
|
|
2421
4070
|
|
|
@@ -2443,14 +4092,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2443
4092
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2444
4093
|
|
|
2445
4094
|
return self.api_client.call_api(
|
|
2446
|
-
'/
|
|
4095
|
+
'/ModifyDirectConnectTrafficQosQueueAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2447
4096
|
path_params,
|
|
2448
4097
|
query_params,
|
|
2449
4098
|
header_params,
|
|
2450
4099
|
body=body_params,
|
|
2451
4100
|
post_params=form_params,
|
|
2452
4101
|
files=local_var_files,
|
|
2453
|
-
response_type='
|
|
4102
|
+
response_type='ModifyDirectConnectTrafficQosQueueAttributesResponse', # noqa: E501
|
|
2454
4103
|
auth_settings=auth_settings,
|
|
2455
4104
|
async_req=params.get('async_req'),
|
|
2456
4105
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2458,38 +4107,38 @@ class DIRECTCONNECTApi(object):
|
|
|
2458
4107
|
_request_timeout=params.get('_request_timeout'),
|
|
2459
4108
|
collection_formats=collection_formats)
|
|
2460
4109
|
|
|
2461
|
-
def
|
|
2462
|
-
"""
|
|
4110
|
+
def modify_direct_connect_traffic_qos_rule_attributes(self, body, **kwargs): # noqa: E501
|
|
4111
|
+
"""modify_direct_connect_traffic_qos_rule_attributes # noqa: E501
|
|
2463
4112
|
|
|
2464
4113
|
This method makes a synchronous HTTP request by default. To make an
|
|
2465
4114
|
asynchronous HTTP request, please pass async_req=True
|
|
2466
|
-
>>> thread = api.
|
|
4115
|
+
>>> thread = api.modify_direct_connect_traffic_qos_rule_attributes(body, async_req=True)
|
|
2467
4116
|
>>> result = thread.get()
|
|
2468
4117
|
|
|
2469
4118
|
:param async_req bool
|
|
2470
|
-
:param
|
|
2471
|
-
:return:
|
|
4119
|
+
:param ModifyDirectConnectTrafficQosRuleAttributesRequest body: (required)
|
|
4120
|
+
:return: ModifyDirectConnectTrafficQosRuleAttributesResponse
|
|
2472
4121
|
If the method is called asynchronously,
|
|
2473
4122
|
returns the request thread.
|
|
2474
4123
|
"""
|
|
2475
4124
|
kwargs['_return_http_data_only'] = True
|
|
2476
4125
|
if kwargs.get('async_req'):
|
|
2477
|
-
return self.
|
|
4126
|
+
return self.modify_direct_connect_traffic_qos_rule_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2478
4127
|
else:
|
|
2479
|
-
(data) = self.
|
|
4128
|
+
(data) = self.modify_direct_connect_traffic_qos_rule_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2480
4129
|
return data
|
|
2481
4130
|
|
|
2482
|
-
def
|
|
2483
|
-
"""
|
|
4131
|
+
def modify_direct_connect_traffic_qos_rule_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
4132
|
+
"""modify_direct_connect_traffic_qos_rule_attributes # noqa: E501
|
|
2484
4133
|
|
|
2485
4134
|
This method makes a synchronous HTTP request by default. To make an
|
|
2486
4135
|
asynchronous HTTP request, please pass async_req=True
|
|
2487
|
-
>>> thread = api.
|
|
4136
|
+
>>> thread = api.modify_direct_connect_traffic_qos_rule_attributes_with_http_info(body, async_req=True)
|
|
2488
4137
|
>>> result = thread.get()
|
|
2489
4138
|
|
|
2490
4139
|
:param async_req bool
|
|
2491
|
-
:param
|
|
2492
|
-
:return:
|
|
4140
|
+
:param ModifyDirectConnectTrafficQosRuleAttributesRequest body: (required)
|
|
4141
|
+
:return: ModifyDirectConnectTrafficQosRuleAttributesResponse
|
|
2493
4142
|
If the method is called asynchronously,
|
|
2494
4143
|
returns the request thread.
|
|
2495
4144
|
"""
|
|
@@ -2505,14 +4154,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2505
4154
|
if key not in all_params:
|
|
2506
4155
|
raise TypeError(
|
|
2507
4156
|
"Got an unexpected keyword argument '%s'"
|
|
2508
|
-
" to method
|
|
4157
|
+
" to method modify_direct_connect_traffic_qos_rule_attributes" % key
|
|
2509
4158
|
)
|
|
2510
4159
|
params[key] = val
|
|
2511
4160
|
del params['kwargs']
|
|
2512
4161
|
# verify the required parameter 'body' is set
|
|
2513
4162
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
2514
4163
|
params['body'] is None): # noqa: E501
|
|
2515
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
4164
|
+
raise ValueError("Missing the required parameter `body` when calling `modify_direct_connect_traffic_qos_rule_attributes`") # noqa: E501
|
|
2516
4165
|
|
|
2517
4166
|
collection_formats = {}
|
|
2518
4167
|
|
|
@@ -2540,14 +4189,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2540
4189
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2541
4190
|
|
|
2542
4191
|
return self.api_client.call_api(
|
|
2543
|
-
'/
|
|
4192
|
+
'/ModifyDirectConnectTrafficQosRuleAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2544
4193
|
path_params,
|
|
2545
4194
|
query_params,
|
|
2546
4195
|
header_params,
|
|
2547
4196
|
body=body_params,
|
|
2548
4197
|
post_params=form_params,
|
|
2549
4198
|
files=local_var_files,
|
|
2550
|
-
response_type='
|
|
4199
|
+
response_type='ModifyDirectConnectTrafficQosRuleAttributesResponse', # noqa: E501
|
|
2551
4200
|
auth_settings=auth_settings,
|
|
2552
4201
|
async_req=params.get('async_req'),
|
|
2553
4202
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2555,38 +4204,38 @@ class DIRECTCONNECTApi(object):
|
|
|
2555
4204
|
_request_timeout=params.get('_request_timeout'),
|
|
2556
4205
|
collection_formats=collection_formats)
|
|
2557
4206
|
|
|
2558
|
-
def
|
|
2559
|
-
"""
|
|
4207
|
+
def modify_direct_connect_virtual_interface_attributes(self, body, **kwargs): # noqa: E501
|
|
4208
|
+
"""modify_direct_connect_virtual_interface_attributes # noqa: E501
|
|
2560
4209
|
|
|
2561
4210
|
This method makes a synchronous HTTP request by default. To make an
|
|
2562
4211
|
asynchronous HTTP request, please pass async_req=True
|
|
2563
|
-
>>> thread = api.
|
|
4212
|
+
>>> thread = api.modify_direct_connect_virtual_interface_attributes(body, async_req=True)
|
|
2564
4213
|
>>> result = thread.get()
|
|
2565
4214
|
|
|
2566
4215
|
:param async_req bool
|
|
2567
|
-
:param
|
|
2568
|
-
:return:
|
|
4216
|
+
:param ModifyDirectConnectVirtualInterfaceAttributesRequest body: (required)
|
|
4217
|
+
:return: ModifyDirectConnectVirtualInterfaceAttributesResponse
|
|
2569
4218
|
If the method is called asynchronously,
|
|
2570
4219
|
returns the request thread.
|
|
2571
4220
|
"""
|
|
2572
4221
|
kwargs['_return_http_data_only'] = True
|
|
2573
4222
|
if kwargs.get('async_req'):
|
|
2574
|
-
return self.
|
|
4223
|
+
return self.modify_direct_connect_virtual_interface_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2575
4224
|
else:
|
|
2576
|
-
(data) = self.
|
|
4225
|
+
(data) = self.modify_direct_connect_virtual_interface_attributes_with_http_info(body, **kwargs) # noqa: E501
|
|
2577
4226
|
return data
|
|
2578
4227
|
|
|
2579
|
-
def
|
|
2580
|
-
"""
|
|
4228
|
+
def modify_direct_connect_virtual_interface_attributes_with_http_info(self, body, **kwargs): # noqa: E501
|
|
4229
|
+
"""modify_direct_connect_virtual_interface_attributes # noqa: E501
|
|
2581
4230
|
|
|
2582
4231
|
This method makes a synchronous HTTP request by default. To make an
|
|
2583
4232
|
asynchronous HTTP request, please pass async_req=True
|
|
2584
|
-
>>> thread = api.
|
|
4233
|
+
>>> thread = api.modify_direct_connect_virtual_interface_attributes_with_http_info(body, async_req=True)
|
|
2585
4234
|
>>> result = thread.get()
|
|
2586
4235
|
|
|
2587
4236
|
:param async_req bool
|
|
2588
|
-
:param
|
|
2589
|
-
:return:
|
|
4237
|
+
:param ModifyDirectConnectVirtualInterfaceAttributesRequest body: (required)
|
|
4238
|
+
:return: ModifyDirectConnectVirtualInterfaceAttributesResponse
|
|
2590
4239
|
If the method is called asynchronously,
|
|
2591
4240
|
returns the request thread.
|
|
2592
4241
|
"""
|
|
@@ -2602,14 +4251,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2602
4251
|
if key not in all_params:
|
|
2603
4252
|
raise TypeError(
|
|
2604
4253
|
"Got an unexpected keyword argument '%s'"
|
|
2605
|
-
" to method
|
|
4254
|
+
" to method modify_direct_connect_virtual_interface_attributes" % key
|
|
2606
4255
|
)
|
|
2607
4256
|
params[key] = val
|
|
2608
4257
|
del params['kwargs']
|
|
2609
4258
|
# verify the required parameter 'body' is set
|
|
2610
4259
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
2611
4260
|
params['body'] is None): # noqa: E501
|
|
2612
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
4261
|
+
raise ValueError("Missing the required parameter `body` when calling `modify_direct_connect_virtual_interface_attributes`") # noqa: E501
|
|
2613
4262
|
|
|
2614
4263
|
collection_formats = {}
|
|
2615
4264
|
|
|
@@ -2637,14 +4286,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2637
4286
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2638
4287
|
|
|
2639
4288
|
return self.api_client.call_api(
|
|
2640
|
-
'/
|
|
4289
|
+
'/ModifyDirectConnectVirtualInterfaceAttributes/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2641
4290
|
path_params,
|
|
2642
4291
|
query_params,
|
|
2643
4292
|
header_params,
|
|
2644
4293
|
body=body_params,
|
|
2645
4294
|
post_params=form_params,
|
|
2646
4295
|
files=local_var_files,
|
|
2647
|
-
response_type='
|
|
4296
|
+
response_type='ModifyDirectConnectVirtualInterfaceAttributesResponse', # noqa: E501
|
|
2648
4297
|
auth_settings=auth_settings,
|
|
2649
4298
|
async_req=params.get('async_req'),
|
|
2650
4299
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2652,38 +4301,38 @@ class DIRECTCONNECTApi(object):
|
|
|
2652
4301
|
_request_timeout=params.get('_request_timeout'),
|
|
2653
4302
|
collection_formats=collection_formats)
|
|
2654
4303
|
|
|
2655
|
-
def
|
|
2656
|
-
"""
|
|
4304
|
+
def tag_resources(self, body, **kwargs): # noqa: E501
|
|
4305
|
+
"""tag_resources # noqa: E501
|
|
2657
4306
|
|
|
2658
4307
|
This method makes a synchronous HTTP request by default. To make an
|
|
2659
4308
|
asynchronous HTTP request, please pass async_req=True
|
|
2660
|
-
>>> thread = api.
|
|
4309
|
+
>>> thread = api.tag_resources(body, async_req=True)
|
|
2661
4310
|
>>> result = thread.get()
|
|
2662
4311
|
|
|
2663
4312
|
:param async_req bool
|
|
2664
|
-
:param
|
|
2665
|
-
:return:
|
|
4313
|
+
:param TagResourcesRequest body: (required)
|
|
4314
|
+
:return: TagResourcesResponse
|
|
2666
4315
|
If the method is called asynchronously,
|
|
2667
4316
|
returns the request thread.
|
|
2668
4317
|
"""
|
|
2669
4318
|
kwargs['_return_http_data_only'] = True
|
|
2670
4319
|
if kwargs.get('async_req'):
|
|
2671
|
-
return self.
|
|
4320
|
+
return self.tag_resources_with_http_info(body, **kwargs) # noqa: E501
|
|
2672
4321
|
else:
|
|
2673
|
-
(data) = self.
|
|
4322
|
+
(data) = self.tag_resources_with_http_info(body, **kwargs) # noqa: E501
|
|
2674
4323
|
return data
|
|
2675
4324
|
|
|
2676
|
-
def
|
|
2677
|
-
"""
|
|
4325
|
+
def tag_resources_with_http_info(self, body, **kwargs): # noqa: E501
|
|
4326
|
+
"""tag_resources # noqa: E501
|
|
2678
4327
|
|
|
2679
4328
|
This method makes a synchronous HTTP request by default. To make an
|
|
2680
4329
|
asynchronous HTTP request, please pass async_req=True
|
|
2681
|
-
>>> thread = api.
|
|
4330
|
+
>>> thread = api.tag_resources_with_http_info(body, async_req=True)
|
|
2682
4331
|
>>> result = thread.get()
|
|
2683
4332
|
|
|
2684
4333
|
:param async_req bool
|
|
2685
|
-
:param
|
|
2686
|
-
:return:
|
|
4334
|
+
:param TagResourcesRequest body: (required)
|
|
4335
|
+
:return: TagResourcesResponse
|
|
2687
4336
|
If the method is called asynchronously,
|
|
2688
4337
|
returns the request thread.
|
|
2689
4338
|
"""
|
|
@@ -2699,14 +4348,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2699
4348
|
if key not in all_params:
|
|
2700
4349
|
raise TypeError(
|
|
2701
4350
|
"Got an unexpected keyword argument '%s'"
|
|
2702
|
-
" to method
|
|
4351
|
+
" to method tag_resources" % key
|
|
2703
4352
|
)
|
|
2704
4353
|
params[key] = val
|
|
2705
4354
|
del params['kwargs']
|
|
2706
4355
|
# verify the required parameter 'body' is set
|
|
2707
4356
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
2708
4357
|
params['body'] is None): # noqa: E501
|
|
2709
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
4358
|
+
raise ValueError("Missing the required parameter `body` when calling `tag_resources`") # noqa: E501
|
|
2710
4359
|
|
|
2711
4360
|
collection_formats = {}
|
|
2712
4361
|
|
|
@@ -2734,14 +4383,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2734
4383
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2735
4384
|
|
|
2736
4385
|
return self.api_client.call_api(
|
|
2737
|
-
'/
|
|
4386
|
+
'/TagResources/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2738
4387
|
path_params,
|
|
2739
4388
|
query_params,
|
|
2740
4389
|
header_params,
|
|
2741
4390
|
body=body_params,
|
|
2742
4391
|
post_params=form_params,
|
|
2743
4392
|
files=local_var_files,
|
|
2744
|
-
response_type='
|
|
4393
|
+
response_type='TagResourcesResponse', # noqa: E501
|
|
2745
4394
|
auth_settings=auth_settings,
|
|
2746
4395
|
async_req=params.get('async_req'),
|
|
2747
4396
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2749,38 +4398,38 @@ class DIRECTCONNECTApi(object):
|
|
|
2749
4398
|
_request_timeout=params.get('_request_timeout'),
|
|
2750
4399
|
collection_formats=collection_formats)
|
|
2751
4400
|
|
|
2752
|
-
def
|
|
2753
|
-
"""
|
|
4401
|
+
def untag_resources(self, body, **kwargs): # noqa: E501
|
|
4402
|
+
"""untag_resources # noqa: E501
|
|
2754
4403
|
|
|
2755
4404
|
This method makes a synchronous HTTP request by default. To make an
|
|
2756
4405
|
asynchronous HTTP request, please pass async_req=True
|
|
2757
|
-
>>> thread = api.
|
|
4406
|
+
>>> thread = api.untag_resources(body, async_req=True)
|
|
2758
4407
|
>>> result = thread.get()
|
|
2759
4408
|
|
|
2760
4409
|
:param async_req bool
|
|
2761
|
-
:param
|
|
2762
|
-
:return:
|
|
4410
|
+
:param UntagResourcesRequest body: (required)
|
|
4411
|
+
:return: UntagResourcesResponse
|
|
2763
4412
|
If the method is called asynchronously,
|
|
2764
4413
|
returns the request thread.
|
|
2765
4414
|
"""
|
|
2766
4415
|
kwargs['_return_http_data_only'] = True
|
|
2767
4416
|
if kwargs.get('async_req'):
|
|
2768
|
-
return self.
|
|
4417
|
+
return self.untag_resources_with_http_info(body, **kwargs) # noqa: E501
|
|
2769
4418
|
else:
|
|
2770
|
-
(data) = self.
|
|
4419
|
+
(data) = self.untag_resources_with_http_info(body, **kwargs) # noqa: E501
|
|
2771
4420
|
return data
|
|
2772
4421
|
|
|
2773
|
-
def
|
|
2774
|
-
"""
|
|
4422
|
+
def untag_resources_with_http_info(self, body, **kwargs): # noqa: E501
|
|
4423
|
+
"""untag_resources # noqa: E501
|
|
2775
4424
|
|
|
2776
4425
|
This method makes a synchronous HTTP request by default. To make an
|
|
2777
4426
|
asynchronous HTTP request, please pass async_req=True
|
|
2778
|
-
>>> thread = api.
|
|
4427
|
+
>>> thread = api.untag_resources_with_http_info(body, async_req=True)
|
|
2779
4428
|
>>> result = thread.get()
|
|
2780
4429
|
|
|
2781
4430
|
:param async_req bool
|
|
2782
|
-
:param
|
|
2783
|
-
:return:
|
|
4431
|
+
:param UntagResourcesRequest body: (required)
|
|
4432
|
+
:return: UntagResourcesResponse
|
|
2784
4433
|
If the method is called asynchronously,
|
|
2785
4434
|
returns the request thread.
|
|
2786
4435
|
"""
|
|
@@ -2796,14 +4445,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2796
4445
|
if key not in all_params:
|
|
2797
4446
|
raise TypeError(
|
|
2798
4447
|
"Got an unexpected keyword argument '%s'"
|
|
2799
|
-
" to method
|
|
4448
|
+
" to method untag_resources" % key
|
|
2800
4449
|
)
|
|
2801
4450
|
params[key] = val
|
|
2802
4451
|
del params['kwargs']
|
|
2803
4452
|
# verify the required parameter 'body' is set
|
|
2804
4453
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
2805
4454
|
params['body'] is None): # noqa: E501
|
|
2806
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
4455
|
+
raise ValueError("Missing the required parameter `body` when calling `untag_resources`") # noqa: E501
|
|
2807
4456
|
|
|
2808
4457
|
collection_formats = {}
|
|
2809
4458
|
|
|
@@ -2831,14 +4480,14 @@ class DIRECTCONNECTApi(object):
|
|
|
2831
4480
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2832
4481
|
|
|
2833
4482
|
return self.api_client.call_api(
|
|
2834
|
-
'/
|
|
4483
|
+
'/UntagResources/2020-04-01/directconnect/get/text_plain/', 'GET',
|
|
2835
4484
|
path_params,
|
|
2836
4485
|
query_params,
|
|
2837
4486
|
header_params,
|
|
2838
4487
|
body=body_params,
|
|
2839
4488
|
post_params=form_params,
|
|
2840
4489
|
files=local_var_files,
|
|
2841
|
-
response_type='
|
|
4490
|
+
response_type='UntagResourcesResponse', # noqa: E501
|
|
2842
4491
|
auth_settings=auth_settings,
|
|
2843
4492
|
async_req=params.get('async_req'),
|
|
2844
4493
|
_return_http_data_only=params.get('_return_http_data_only'),
|