volcengine-python-sdk 4.0.18__py2.py3-none-any.whl → 4.0.20__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.20.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/RECORD +242 -115
- volcenginesdkalb/__init__.py +41 -0
- volcenginesdkalb/models/__init__.py +41 -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_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
- volcenginesdklivesaas/models/update_activity_menu_api_request.py → volcenginesdkalb/models/server_group_sticky_session_for_create_rules_input.py +39 -40
- 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
- volcenginesdkmlplatform20240701/models/nas_ap_for_get_dev_instance_output.py +149 -0
- 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.20.dist-info}/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
alb
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class MethodConfigForDescribeRulesOutput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'values': 'list[str]'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'values': 'Values'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, values=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""MethodConfigForDescribeRulesOutput - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._values = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if values is not None:
|
|
53
|
+
self.values = values
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def values(self):
|
|
57
|
+
"""Gets the values of this MethodConfigForDescribeRulesOutput. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The values of this MethodConfigForDescribeRulesOutput. # noqa: E501
|
|
61
|
+
:rtype: list[str]
|
|
62
|
+
"""
|
|
63
|
+
return self._values
|
|
64
|
+
|
|
65
|
+
@values.setter
|
|
66
|
+
def values(self, values):
|
|
67
|
+
"""Sets the values of this MethodConfigForDescribeRulesOutput.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param values: The values of this MethodConfigForDescribeRulesOutput. # noqa: E501
|
|
71
|
+
:type: list[str]
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._values = values
|
|
75
|
+
|
|
76
|
+
def to_dict(self):
|
|
77
|
+
"""Returns the model properties as a dict"""
|
|
78
|
+
result = {}
|
|
79
|
+
|
|
80
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
81
|
+
value = getattr(self, attr)
|
|
82
|
+
if isinstance(value, list):
|
|
83
|
+
result[attr] = list(map(
|
|
84
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
85
|
+
value
|
|
86
|
+
))
|
|
87
|
+
elif hasattr(value, "to_dict"):
|
|
88
|
+
result[attr] = value.to_dict()
|
|
89
|
+
elif isinstance(value, dict):
|
|
90
|
+
result[attr] = dict(map(
|
|
91
|
+
lambda item: (item[0], item[1].to_dict())
|
|
92
|
+
if hasattr(item[1], "to_dict") else item,
|
|
93
|
+
value.items()
|
|
94
|
+
))
|
|
95
|
+
else:
|
|
96
|
+
result[attr] = value
|
|
97
|
+
if issubclass(MethodConfigForDescribeRulesOutput, dict):
|
|
98
|
+
for key, value in self.items():
|
|
99
|
+
result[key] = value
|
|
100
|
+
|
|
101
|
+
return result
|
|
102
|
+
|
|
103
|
+
def to_str(self):
|
|
104
|
+
"""Returns the string representation of the model"""
|
|
105
|
+
return pprint.pformat(self.to_dict())
|
|
106
|
+
|
|
107
|
+
def __repr__(self):
|
|
108
|
+
"""For `print` and `pprint`"""
|
|
109
|
+
return self.to_str()
|
|
110
|
+
|
|
111
|
+
def __eq__(self, other):
|
|
112
|
+
"""Returns true if both objects are equal"""
|
|
113
|
+
if not isinstance(other, MethodConfigForDescribeRulesOutput):
|
|
114
|
+
return False
|
|
115
|
+
|
|
116
|
+
return self.to_dict() == other.to_dict()
|
|
117
|
+
|
|
118
|
+
def __ne__(self, other):
|
|
119
|
+
"""Returns true if both objects are not equal"""
|
|
120
|
+
if not isinstance(other, MethodConfigForDescribeRulesOutput):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
alb
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class MethodConfigForModifyRulesInput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'values': 'list[str]'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'values': 'Values'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, values=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""MethodConfigForModifyRulesInput - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._values = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if values is not None:
|
|
53
|
+
self.values = values
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def values(self):
|
|
57
|
+
"""Gets the values of this MethodConfigForModifyRulesInput. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The values of this MethodConfigForModifyRulesInput. # noqa: E501
|
|
61
|
+
:rtype: list[str]
|
|
62
|
+
"""
|
|
63
|
+
return self._values
|
|
64
|
+
|
|
65
|
+
@values.setter
|
|
66
|
+
def values(self, values):
|
|
67
|
+
"""Sets the values of this MethodConfigForModifyRulesInput.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param values: The values of this MethodConfigForModifyRulesInput. # noqa: E501
|
|
71
|
+
:type: list[str]
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._values = values
|
|
75
|
+
|
|
76
|
+
def to_dict(self):
|
|
77
|
+
"""Returns the model properties as a dict"""
|
|
78
|
+
result = {}
|
|
79
|
+
|
|
80
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
81
|
+
value = getattr(self, attr)
|
|
82
|
+
if isinstance(value, list):
|
|
83
|
+
result[attr] = list(map(
|
|
84
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
85
|
+
value
|
|
86
|
+
))
|
|
87
|
+
elif hasattr(value, "to_dict"):
|
|
88
|
+
result[attr] = value.to_dict()
|
|
89
|
+
elif isinstance(value, dict):
|
|
90
|
+
result[attr] = dict(map(
|
|
91
|
+
lambda item: (item[0], item[1].to_dict())
|
|
92
|
+
if hasattr(item[1], "to_dict") else item,
|
|
93
|
+
value.items()
|
|
94
|
+
))
|
|
95
|
+
else:
|
|
96
|
+
result[attr] = value
|
|
97
|
+
if issubclass(MethodConfigForModifyRulesInput, dict):
|
|
98
|
+
for key, value in self.items():
|
|
99
|
+
result[key] = value
|
|
100
|
+
|
|
101
|
+
return result
|
|
102
|
+
|
|
103
|
+
def to_str(self):
|
|
104
|
+
"""Returns the string representation of the model"""
|
|
105
|
+
return pprint.pformat(self.to_dict())
|
|
106
|
+
|
|
107
|
+
def __repr__(self):
|
|
108
|
+
"""For `print` and `pprint`"""
|
|
109
|
+
return self.to_str()
|
|
110
|
+
|
|
111
|
+
def __eq__(self, other):
|
|
112
|
+
"""Returns true if both objects are equal"""
|
|
113
|
+
if not isinstance(other, MethodConfigForModifyRulesInput):
|
|
114
|
+
return False
|
|
115
|
+
|
|
116
|
+
return self.to_dict() == other.to_dict()
|
|
117
|
+
|
|
118
|
+
def __ne__(self, other):
|
|
119
|
+
"""Returns true if both objects are not equal"""
|
|
120
|
+
if not isinstance(other, MethodConfigForModifyRulesInput):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -38,6 +38,7 @@ class ModifyListenerAttributesRequest(object):
|
|
|
38
38
|
'acl_status': 'str',
|
|
39
39
|
'acl_type': 'str',
|
|
40
40
|
'ca_certificate_id': 'str',
|
|
41
|
+
'ca_certificate_source': 'str',
|
|
41
42
|
'cert_center_certificate_id': 'str',
|
|
42
43
|
'certificate_id': 'str',
|
|
43
44
|
'certificate_source': 'str',
|
|
@@ -50,6 +51,9 @@ class ModifyListenerAttributesRequest(object):
|
|
|
50
51
|
'enabled': 'str',
|
|
51
52
|
'listener_id': 'str',
|
|
52
53
|
'listener_name': 'str',
|
|
54
|
+
'pca_leaf_certificate_id': 'str',
|
|
55
|
+
'pca_root_ca_certificate_id': 'str',
|
|
56
|
+
'pca_sub_ca_certificate_id': 'str',
|
|
53
57
|
'proxy_protocol_disabled': 'str',
|
|
54
58
|
'server_group_id': 'str'
|
|
55
59
|
}
|
|
@@ -60,6 +64,7 @@ class ModifyListenerAttributesRequest(object):
|
|
|
60
64
|
'acl_status': 'AclStatus',
|
|
61
65
|
'acl_type': 'AclType',
|
|
62
66
|
'ca_certificate_id': 'CACertificateId',
|
|
67
|
+
'ca_certificate_source': 'CACertificateSource',
|
|
63
68
|
'cert_center_certificate_id': 'CertCenterCertificateId',
|
|
64
69
|
'certificate_id': 'CertificateId',
|
|
65
70
|
'certificate_source': 'CertificateSource',
|
|
@@ -72,11 +77,14 @@ class ModifyListenerAttributesRequest(object):
|
|
|
72
77
|
'enabled': 'Enabled',
|
|
73
78
|
'listener_id': 'ListenerId',
|
|
74
79
|
'listener_name': 'ListenerName',
|
|
80
|
+
'pca_leaf_certificate_id': 'PcaLeafCertificateId',
|
|
81
|
+
'pca_root_ca_certificate_id': 'PcaRootCACertificateId',
|
|
82
|
+
'pca_sub_ca_certificate_id': 'PcaSubCACertificateId',
|
|
75
83
|
'proxy_protocol_disabled': 'ProxyProtocolDisabled',
|
|
76
84
|
'server_group_id': 'ServerGroupId'
|
|
77
85
|
}
|
|
78
86
|
|
|
79
|
-
def __init__(self, access_log_record_customized_headers_enabled=None, acl_ids=None, acl_status=None, acl_type=None, ca_certificate_id=None, cert_center_certificate_id=None, certificate_id=None, certificate_source=None, client_address_transmission_protocol=None, customized_cfg_id=None, description=None, domain_extensions=None, enable_http2=None, enable_quic=None, enabled=None, listener_id=None, listener_name=None, proxy_protocol_disabled=None, server_group_id=None, _configuration=None): # noqa: E501
|
|
87
|
+
def __init__(self, access_log_record_customized_headers_enabled=None, acl_ids=None, acl_status=None, acl_type=None, ca_certificate_id=None, ca_certificate_source=None, cert_center_certificate_id=None, certificate_id=None, certificate_source=None, client_address_transmission_protocol=None, customized_cfg_id=None, description=None, domain_extensions=None, enable_http2=None, enable_quic=None, enabled=None, listener_id=None, listener_name=None, pca_leaf_certificate_id=None, pca_root_ca_certificate_id=None, pca_sub_ca_certificate_id=None, proxy_protocol_disabled=None, server_group_id=None, _configuration=None): # noqa: E501
|
|
80
88
|
"""ModifyListenerAttributesRequest - a model defined in Swagger""" # noqa: E501
|
|
81
89
|
if _configuration is None:
|
|
82
90
|
_configuration = Configuration()
|
|
@@ -87,6 +95,7 @@ class ModifyListenerAttributesRequest(object):
|
|
|
87
95
|
self._acl_status = None
|
|
88
96
|
self._acl_type = None
|
|
89
97
|
self._ca_certificate_id = None
|
|
98
|
+
self._ca_certificate_source = None
|
|
90
99
|
self._cert_center_certificate_id = None
|
|
91
100
|
self._certificate_id = None
|
|
92
101
|
self._certificate_source = None
|
|
@@ -99,6 +108,9 @@ class ModifyListenerAttributesRequest(object):
|
|
|
99
108
|
self._enabled = None
|
|
100
109
|
self._listener_id = None
|
|
101
110
|
self._listener_name = None
|
|
111
|
+
self._pca_leaf_certificate_id = None
|
|
112
|
+
self._pca_root_ca_certificate_id = None
|
|
113
|
+
self._pca_sub_ca_certificate_id = None
|
|
102
114
|
self._proxy_protocol_disabled = None
|
|
103
115
|
self._server_group_id = None
|
|
104
116
|
self.discriminator = None
|
|
@@ -113,6 +125,8 @@ class ModifyListenerAttributesRequest(object):
|
|
|
113
125
|
self.acl_type = acl_type
|
|
114
126
|
if ca_certificate_id is not None:
|
|
115
127
|
self.ca_certificate_id = ca_certificate_id
|
|
128
|
+
if ca_certificate_source is not None:
|
|
129
|
+
self.ca_certificate_source = ca_certificate_source
|
|
116
130
|
if cert_center_certificate_id is not None:
|
|
117
131
|
self.cert_center_certificate_id = cert_center_certificate_id
|
|
118
132
|
if certificate_id is not None:
|
|
@@ -136,6 +150,12 @@ class ModifyListenerAttributesRequest(object):
|
|
|
136
150
|
self.listener_id = listener_id
|
|
137
151
|
if listener_name is not None:
|
|
138
152
|
self.listener_name = listener_name
|
|
153
|
+
if pca_leaf_certificate_id is not None:
|
|
154
|
+
self.pca_leaf_certificate_id = pca_leaf_certificate_id
|
|
155
|
+
if pca_root_ca_certificate_id is not None:
|
|
156
|
+
self.pca_root_ca_certificate_id = pca_root_ca_certificate_id
|
|
157
|
+
if pca_sub_ca_certificate_id is not None:
|
|
158
|
+
self.pca_sub_ca_certificate_id = pca_sub_ca_certificate_id
|
|
139
159
|
if proxy_protocol_disabled is not None:
|
|
140
160
|
self.proxy_protocol_disabled = proxy_protocol_disabled
|
|
141
161
|
if server_group_id is not None:
|
|
@@ -246,6 +266,27 @@ class ModifyListenerAttributesRequest(object):
|
|
|
246
266
|
|
|
247
267
|
self._ca_certificate_id = ca_certificate_id
|
|
248
268
|
|
|
269
|
+
@property
|
|
270
|
+
def ca_certificate_source(self):
|
|
271
|
+
"""Gets the ca_certificate_source of this ModifyListenerAttributesRequest. # noqa: E501
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
:return: The ca_certificate_source of this ModifyListenerAttributesRequest. # noqa: E501
|
|
275
|
+
:rtype: str
|
|
276
|
+
"""
|
|
277
|
+
return self._ca_certificate_source
|
|
278
|
+
|
|
279
|
+
@ca_certificate_source.setter
|
|
280
|
+
def ca_certificate_source(self, ca_certificate_source):
|
|
281
|
+
"""Sets the ca_certificate_source of this ModifyListenerAttributesRequest.
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
:param ca_certificate_source: The ca_certificate_source of this ModifyListenerAttributesRequest. # noqa: E501
|
|
285
|
+
:type: str
|
|
286
|
+
"""
|
|
287
|
+
|
|
288
|
+
self._ca_certificate_source = ca_certificate_source
|
|
289
|
+
|
|
249
290
|
@property
|
|
250
291
|
def cert_center_certificate_id(self):
|
|
251
292
|
"""Gets the cert_center_certificate_id of this ModifyListenerAttributesRequest. # noqa: E501
|
|
@@ -506,6 +547,69 @@ class ModifyListenerAttributesRequest(object):
|
|
|
506
547
|
|
|
507
548
|
self._listener_name = listener_name
|
|
508
549
|
|
|
550
|
+
@property
|
|
551
|
+
def pca_leaf_certificate_id(self):
|
|
552
|
+
"""Gets the pca_leaf_certificate_id of this ModifyListenerAttributesRequest. # noqa: E501
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
:return: The pca_leaf_certificate_id of this ModifyListenerAttributesRequest. # noqa: E501
|
|
556
|
+
:rtype: str
|
|
557
|
+
"""
|
|
558
|
+
return self._pca_leaf_certificate_id
|
|
559
|
+
|
|
560
|
+
@pca_leaf_certificate_id.setter
|
|
561
|
+
def pca_leaf_certificate_id(self, pca_leaf_certificate_id):
|
|
562
|
+
"""Sets the pca_leaf_certificate_id of this ModifyListenerAttributesRequest.
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
:param pca_leaf_certificate_id: The pca_leaf_certificate_id of this ModifyListenerAttributesRequest. # noqa: E501
|
|
566
|
+
:type: str
|
|
567
|
+
"""
|
|
568
|
+
|
|
569
|
+
self._pca_leaf_certificate_id = pca_leaf_certificate_id
|
|
570
|
+
|
|
571
|
+
@property
|
|
572
|
+
def pca_root_ca_certificate_id(self):
|
|
573
|
+
"""Gets the pca_root_ca_certificate_id of this ModifyListenerAttributesRequest. # noqa: E501
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
:return: The pca_root_ca_certificate_id of this ModifyListenerAttributesRequest. # noqa: E501
|
|
577
|
+
:rtype: str
|
|
578
|
+
"""
|
|
579
|
+
return self._pca_root_ca_certificate_id
|
|
580
|
+
|
|
581
|
+
@pca_root_ca_certificate_id.setter
|
|
582
|
+
def pca_root_ca_certificate_id(self, pca_root_ca_certificate_id):
|
|
583
|
+
"""Sets the pca_root_ca_certificate_id of this ModifyListenerAttributesRequest.
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
:param pca_root_ca_certificate_id: The pca_root_ca_certificate_id of this ModifyListenerAttributesRequest. # noqa: E501
|
|
587
|
+
:type: str
|
|
588
|
+
"""
|
|
589
|
+
|
|
590
|
+
self._pca_root_ca_certificate_id = pca_root_ca_certificate_id
|
|
591
|
+
|
|
592
|
+
@property
|
|
593
|
+
def pca_sub_ca_certificate_id(self):
|
|
594
|
+
"""Gets the pca_sub_ca_certificate_id of this ModifyListenerAttributesRequest. # noqa: E501
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
:return: The pca_sub_ca_certificate_id of this ModifyListenerAttributesRequest. # noqa: E501
|
|
598
|
+
:rtype: str
|
|
599
|
+
"""
|
|
600
|
+
return self._pca_sub_ca_certificate_id
|
|
601
|
+
|
|
602
|
+
@pca_sub_ca_certificate_id.setter
|
|
603
|
+
def pca_sub_ca_certificate_id(self, pca_sub_ca_certificate_id):
|
|
604
|
+
"""Sets the pca_sub_ca_certificate_id of this ModifyListenerAttributesRequest.
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
:param pca_sub_ca_certificate_id: The pca_sub_ca_certificate_id of this ModifyListenerAttributesRequest. # noqa: E501
|
|
608
|
+
:type: str
|
|
609
|
+
"""
|
|
610
|
+
|
|
611
|
+
self._pca_sub_ca_certificate_id = pca_sub_ca_certificate_id
|
|
612
|
+
|
|
509
613
|
@property
|
|
510
614
|
def proxy_protocol_disabled(self):
|
|
511
615
|
"""Gets the proxy_protocol_disabled of this ModifyListenerAttributesRequest. # noqa: E501
|
|
@@ -33,6 +33,7 @@ class ModifyServerGroupAttributesRequest(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
+
'cross_zone_enabled': 'str',
|
|
36
37
|
'description': 'str',
|
|
37
38
|
'health_check': 'HealthCheckForModifyServerGroupAttributesInput',
|
|
38
39
|
'scheduler': 'str',
|
|
@@ -42,6 +43,7 @@ class ModifyServerGroupAttributesRequest(object):
|
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
attribute_map = {
|
|
46
|
+
'cross_zone_enabled': 'CrossZoneEnabled',
|
|
45
47
|
'description': 'Description',
|
|
46
48
|
'health_check': 'HealthCheck',
|
|
47
49
|
'scheduler': 'Scheduler',
|
|
@@ -50,12 +52,13 @@ class ModifyServerGroupAttributesRequest(object):
|
|
|
50
52
|
'sticky_session_config': 'StickySessionConfig'
|
|
51
53
|
}
|
|
52
54
|
|
|
53
|
-
def __init__(self, description=None, health_check=None, scheduler=None, server_group_id=None, server_group_name=None, sticky_session_config=None, _configuration=None): # noqa: E501
|
|
55
|
+
def __init__(self, cross_zone_enabled=None, description=None, health_check=None, scheduler=None, server_group_id=None, server_group_name=None, sticky_session_config=None, _configuration=None): # noqa: E501
|
|
54
56
|
"""ModifyServerGroupAttributesRequest - a model defined in Swagger""" # noqa: E501
|
|
55
57
|
if _configuration is None:
|
|
56
58
|
_configuration = Configuration()
|
|
57
59
|
self._configuration = _configuration
|
|
58
60
|
|
|
61
|
+
self._cross_zone_enabled = None
|
|
59
62
|
self._description = None
|
|
60
63
|
self._health_check = None
|
|
61
64
|
self._scheduler = None
|
|
@@ -64,6 +67,8 @@ class ModifyServerGroupAttributesRequest(object):
|
|
|
64
67
|
self._sticky_session_config = None
|
|
65
68
|
self.discriminator = None
|
|
66
69
|
|
|
70
|
+
if cross_zone_enabled is not None:
|
|
71
|
+
self.cross_zone_enabled = cross_zone_enabled
|
|
67
72
|
if description is not None:
|
|
68
73
|
self.description = description
|
|
69
74
|
if health_check is not None:
|
|
@@ -76,6 +81,27 @@ class ModifyServerGroupAttributesRequest(object):
|
|
|
76
81
|
if sticky_session_config is not None:
|
|
77
82
|
self.sticky_session_config = sticky_session_config
|
|
78
83
|
|
|
84
|
+
@property
|
|
85
|
+
def cross_zone_enabled(self):
|
|
86
|
+
"""Gets the cross_zone_enabled of this ModifyServerGroupAttributesRequest. # noqa: E501
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:return: The cross_zone_enabled of this ModifyServerGroupAttributesRequest. # noqa: E501
|
|
90
|
+
:rtype: str
|
|
91
|
+
"""
|
|
92
|
+
return self._cross_zone_enabled
|
|
93
|
+
|
|
94
|
+
@cross_zone_enabled.setter
|
|
95
|
+
def cross_zone_enabled(self, cross_zone_enabled):
|
|
96
|
+
"""Sets the cross_zone_enabled of this ModifyServerGroupAttributesRequest.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param cross_zone_enabled: The cross_zone_enabled of this ModifyServerGroupAttributesRequest. # noqa: E501
|
|
100
|
+
:type: str
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
self._cross_zone_enabled = cross_zone_enabled
|
|
104
|
+
|
|
79
105
|
@property
|
|
80
106
|
def description(self):
|
|
81
107
|
"""Gets the description of this ModifyServerGroupAttributesRequest. # noqa: E501
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
alb
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class PathConfigForCreateRulesInput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'values': 'list[str]'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'values': 'Values'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, values=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""PathConfigForCreateRulesInput - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._values = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if values is not None:
|
|
53
|
+
self.values = values
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def values(self):
|
|
57
|
+
"""Gets the values of this PathConfigForCreateRulesInput. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The values of this PathConfigForCreateRulesInput. # noqa: E501
|
|
61
|
+
:rtype: list[str]
|
|
62
|
+
"""
|
|
63
|
+
return self._values
|
|
64
|
+
|
|
65
|
+
@values.setter
|
|
66
|
+
def values(self, values):
|
|
67
|
+
"""Sets the values of this PathConfigForCreateRulesInput.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param values: The values of this PathConfigForCreateRulesInput. # noqa: E501
|
|
71
|
+
:type: list[str]
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._values = values
|
|
75
|
+
|
|
76
|
+
def to_dict(self):
|
|
77
|
+
"""Returns the model properties as a dict"""
|
|
78
|
+
result = {}
|
|
79
|
+
|
|
80
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
81
|
+
value = getattr(self, attr)
|
|
82
|
+
if isinstance(value, list):
|
|
83
|
+
result[attr] = list(map(
|
|
84
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
85
|
+
value
|
|
86
|
+
))
|
|
87
|
+
elif hasattr(value, "to_dict"):
|
|
88
|
+
result[attr] = value.to_dict()
|
|
89
|
+
elif isinstance(value, dict):
|
|
90
|
+
result[attr] = dict(map(
|
|
91
|
+
lambda item: (item[0], item[1].to_dict())
|
|
92
|
+
if hasattr(item[1], "to_dict") else item,
|
|
93
|
+
value.items()
|
|
94
|
+
))
|
|
95
|
+
else:
|
|
96
|
+
result[attr] = value
|
|
97
|
+
if issubclass(PathConfigForCreateRulesInput, dict):
|
|
98
|
+
for key, value in self.items():
|
|
99
|
+
result[key] = value
|
|
100
|
+
|
|
101
|
+
return result
|
|
102
|
+
|
|
103
|
+
def to_str(self):
|
|
104
|
+
"""Returns the string representation of the model"""
|
|
105
|
+
return pprint.pformat(self.to_dict())
|
|
106
|
+
|
|
107
|
+
def __repr__(self):
|
|
108
|
+
"""For `print` and `pprint`"""
|
|
109
|
+
return self.to_str()
|
|
110
|
+
|
|
111
|
+
def __eq__(self, other):
|
|
112
|
+
"""Returns true if both objects are equal"""
|
|
113
|
+
if not isinstance(other, PathConfigForCreateRulesInput):
|
|
114
|
+
return False
|
|
115
|
+
|
|
116
|
+
return self.to_dict() == other.to_dict()
|
|
117
|
+
|
|
118
|
+
def __ne__(self, other):
|
|
119
|
+
"""Returns true if both objects are not equal"""
|
|
120
|
+
if not isinstance(other, PathConfigForCreateRulesInput):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|