huaweicloudsdkelb 3.0.43rc0__py3-none-any.whl → 3.1.160__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.
- huaweicloudsdkelb/v2/__init__.py +3 -2
- huaweicloudsdkelb/v2/elb_async_client.py +1999 -1874
- huaweicloudsdkelb/v2/elb_client.py +1997 -1873
- huaweicloudsdkelb/v2/model/__init__.py +2 -0
- huaweicloudsdkelb/v2/model/action_match.py +23 -16
- huaweicloudsdkelb/v2/model/action_tag.py +24 -18
- huaweicloudsdkelb/v2/model/batch_create_listener_tags_request.py +26 -19
- huaweicloudsdkelb/v2/model/batch_create_listener_tags_request_body.py +25 -19
- huaweicloudsdkelb/v2/model/batch_create_listener_tags_response.py +14 -10
- huaweicloudsdkelb/v2/model/batch_create_loadbalancer_tags_request.py +26 -19
- huaweicloudsdkelb/v2/model/batch_create_loadbalancer_tags_request_body.py +25 -19
- huaweicloudsdkelb/v2/model/batch_create_loadbalancer_tags_response.py +14 -10
- huaweicloudsdkelb/v2/model/batch_delete_listener_tags_request.py +26 -19
- huaweicloudsdkelb/v2/model/batch_delete_listener_tags_request_body.py +25 -19
- huaweicloudsdkelb/v2/model/batch_delete_listener_tags_response.py +14 -10
- huaweicloudsdkelb/v2/model/batch_delete_loadbalancer_tags_request.py +26 -19
- huaweicloudsdkelb/v2/model/batch_delete_loadbalancer_tags_request_body.py +25 -19
- huaweicloudsdkelb/v2/model/batch_delete_loadbalancer_tags_response.py +14 -10
- huaweicloudsdkelb/v2/model/certificate_resp.py +163 -49
- huaweicloudsdkelb/v2/model/create_certificate_request.py +19 -16
- huaweicloudsdkelb/v2/model/create_certificate_request_body.py +147 -41
- huaweicloudsdkelb/v2/model/create_certificate_response.py +164 -49
- huaweicloudsdkelb/v2/model/create_healthmonitor_req.py +82 -53
- huaweicloudsdkelb/v2/model/create_healthmonitor_request.py +19 -16
- huaweicloudsdkelb/v2/model/create_healthmonitor_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/create_healthmonitor_response.py +20 -16
- huaweicloudsdkelb/v2/model/create_l7policy_req.py +69 -44
- huaweicloudsdkelb/v2/model/create_l7policy_request.py +19 -16
- huaweicloudsdkelb/v2/model/create_l7policy_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/create_l7policy_response.py +20 -16
- huaweicloudsdkelb/v2/model/create_l7rule_req.py +48 -31
- huaweicloudsdkelb/v2/model/create_l7rule_req_in_policy.py +43 -28
- huaweicloudsdkelb/v2/model/create_l7rule_request.py +26 -19
- huaweicloudsdkelb/v2/model/create_l7rule_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/create_l7rule_response.py +20 -16
- huaweicloudsdkelb/v2/model/create_listener_req.py +152 -63
- huaweicloudsdkelb/v2/model/create_listener_request.py +19 -16
- huaweicloudsdkelb/v2/model/create_listener_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/create_listener_response.py +20 -16
- huaweicloudsdkelb/v2/model/create_listener_tags_request.py +26 -19
- huaweicloudsdkelb/v2/model/create_listener_tags_request_body.py +20 -18
- huaweicloudsdkelb/v2/model/create_listener_tags_response.py +14 -10
- huaweicloudsdkelb/v2/model/create_loadbalancer_req.py +141 -39
- huaweicloudsdkelb/v2/model/create_loadbalancer_request.py +19 -16
- huaweicloudsdkelb/v2/model/create_loadbalancer_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/create_loadbalancer_response.py +81 -19
- huaweicloudsdkelb/v2/model/create_loadbalancer_tags_request.py +26 -19
- huaweicloudsdkelb/v2/model/create_loadbalancer_tags_request_body.py +20 -18
- huaweicloudsdkelb/v2/model/create_loadbalancer_tags_response.py +14 -10
- huaweicloudsdkelb/v2/model/create_member_req.py +50 -33
- huaweicloudsdkelb/v2/model/create_member_request.py +26 -19
- huaweicloudsdkelb/v2/model/create_member_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/create_member_response.py +20 -16
- huaweicloudsdkelb/v2/model/create_pool_req.py +120 -43
- huaweicloudsdkelb/v2/model/create_pool_request.py +19 -16
- huaweicloudsdkelb/v2/model/create_pool_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/create_pool_response.py +20 -16
- huaweicloudsdkelb/v2/model/create_whitelist_req.py +33 -22
- huaweicloudsdkelb/v2/model/create_whitelist_request.py +19 -16
- huaweicloudsdkelb/v2/model/create_whitelist_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/create_whitelist_response.py +20 -16
- huaweicloudsdkelb/v2/model/delete_certificate_request.py +20 -13
- huaweicloudsdkelb/v2/model/delete_certificate_response.py +14 -10
- huaweicloudsdkelb/v2/model/delete_healthmonitor_request.py +20 -13
- huaweicloudsdkelb/v2/model/delete_healthmonitor_response.py +14 -10
- huaweicloudsdkelb/v2/model/delete_l7policy_request.py +20 -13
- huaweicloudsdkelb/v2/model/delete_l7policy_response.py +14 -10
- huaweicloudsdkelb/v2/model/delete_l7rule_request.py +27 -16
- huaweicloudsdkelb/v2/model/delete_l7rule_response.py +14 -10
- huaweicloudsdkelb/v2/model/delete_listener_request.py +21 -39
- huaweicloudsdkelb/v2/model/delete_listener_response.py +14 -10
- huaweicloudsdkelb/v2/model/delete_listener_tags_request.py +27 -16
- huaweicloudsdkelb/v2/model/delete_listener_tags_response.py +14 -10
- huaweicloudsdkelb/v2/model/delete_loadbalancer_request.py +23 -41
- huaweicloudsdkelb/v2/model/delete_loadbalancer_response.py +14 -10
- huaweicloudsdkelb/v2/model/delete_loadbalancer_tags_request.py +27 -16
- huaweicloudsdkelb/v2/model/delete_loadbalancer_tags_response.py +14 -10
- huaweicloudsdkelb/v2/model/delete_member_request.py +27 -16
- huaweicloudsdkelb/v2/model/delete_member_response.py +14 -10
- huaweicloudsdkelb/v2/model/delete_pool_request.py +20 -13
- huaweicloudsdkelb/v2/model/delete_pool_response.py +14 -10
- huaweicloudsdkelb/v2/model/delete_whitelist_request.py +20 -13
- huaweicloudsdkelb/v2/model/delete_whitelist_response.py +14 -10
- huaweicloudsdkelb/v2/model/healthmonitor_resp.py +124 -63
- huaweicloudsdkelb/v2/model/healthmonitors_in_status_resp.py +33 -22
- huaweicloudsdkelb/v2/model/insert_header.py +23 -16
- huaweicloudsdkelb/v2/model/l7policies_in_status_resp.py +39 -26
- huaweicloudsdkelb/v2/model/l7policy_resp.py +84 -53
- huaweicloudsdkelb/v2/model/l7rule_resp.py +63 -40
- huaweicloudsdkelb/v2/model/l7rules_in_status_resp.py +28 -19
- huaweicloudsdkelb/v2/model/list_certificates_request.py +173 -43
- huaweicloudsdkelb/v2/model/list_certificates_response.py +25 -17
- huaweicloudsdkelb/v2/model/list_healthmonitors_request.py +118 -55
- huaweicloudsdkelb/v2/model/list_healthmonitors_response.py +20 -14
- huaweicloudsdkelb/v2/model/list_l7policies_request.py +125 -58
- huaweicloudsdkelb/v2/model/list_l7policies_response.py +20 -14
- huaweicloudsdkelb/v2/model/list_l7rules_request.py +97 -46
- huaweicloudsdkelb/v2/model/list_l7rules_response.py +20 -14
- huaweicloudsdkelb/v2/model/list_listener_tags_request.py +13 -10
- huaweicloudsdkelb/v2/model/list_listener_tags_response.py +20 -14
- huaweicloudsdkelb/v2/model/list_listeners_by_tags_request.py +19 -16
- huaweicloudsdkelb/v2/model/list_listeners_by_tags_request_body.py +43 -57
- huaweicloudsdkelb/v2/model/list_listeners_by_tags_response.py +25 -17
- huaweicloudsdkelb/v2/model/list_listeners_request.py +241 -116
- huaweicloudsdkelb/v2/model/list_listeners_response.py +20 -14
- huaweicloudsdkelb/v2/model/list_loadbalancer_tags_request.py +13 -10
- huaweicloudsdkelb/v2/model/list_loadbalancer_tags_response.py +20 -14
- huaweicloudsdkelb/v2/model/list_loadbalancers_by_tags_request.py +19 -16
- huaweicloudsdkelb/v2/model/list_loadbalancers_by_tags_request_body.py +43 -57
- huaweicloudsdkelb/v2/model/list_loadbalancers_by_tags_response.py +25 -17
- huaweicloudsdkelb/v2/model/list_loadbalancers_request.py +125 -58
- huaweicloudsdkelb/v2/model/list_loadbalancers_response.py +20 -14
- huaweicloudsdkelb/v2/model/list_members_request.py +122 -46
- huaweicloudsdkelb/v2/model/list_members_response.py +20 -14
- huaweicloudsdkelb/v2/model/list_pools_request.py +104 -49
- huaweicloudsdkelb/v2/model/list_pools_response.py +20 -14
- huaweicloudsdkelb/v2/model/list_tag.py +23 -16
- huaweicloudsdkelb/v2/model/list_whitelists_request.py +62 -31
- huaweicloudsdkelb/v2/model/list_whitelists_response.py +20 -14
- huaweicloudsdkelb/v2/model/listener_resp.py +176 -77
- huaweicloudsdkelb/v2/model/listeners_in_status_resp.py +45 -30
- huaweicloudsdkelb/v2/model/loadbalancer_in_status_resp.py +45 -30
- huaweicloudsdkelb/v2/model/loadbalancer_resp.py +281 -71
- huaweicloudsdkelb/v2/model/member_resp.py +65 -42
- huaweicloudsdkelb/v2/model/members_in_status_resp.py +38 -25
- huaweicloudsdkelb/v2/model/pool_resp.py +143 -58
- huaweicloudsdkelb/v2/model/pools_in_status_resp.py +45 -32
- huaweicloudsdkelb/v2/model/prepaid_create_option.py +201 -0
- huaweicloudsdkelb/v2/model/public_ip_info.py +170 -0
- huaweicloudsdkelb/v2/model/resource_list.py +18 -13
- huaweicloudsdkelb/v2/model/resource_tag.py +23 -16
- huaweicloudsdkelb/v2/model/resources_by_tag.py +39 -26
- huaweicloudsdkelb/v2/model/session_persistence.py +28 -19
- huaweicloudsdkelb/v2/model/show_certificate_request.py +20 -13
- huaweicloudsdkelb/v2/model/show_certificate_response.py +164 -49
- huaweicloudsdkelb/v2/model/show_healthmonitors_request.py +20 -13
- huaweicloudsdkelb/v2/model/show_healthmonitors_response.py +20 -16
- huaweicloudsdkelb/v2/model/show_l7policy_request.py +20 -13
- huaweicloudsdkelb/v2/model/show_l7policy_response.py +20 -16
- huaweicloudsdkelb/v2/model/show_l7rule_request.py +27 -16
- huaweicloudsdkelb/v2/model/show_l7rule_response.py +20 -16
- huaweicloudsdkelb/v2/model/show_listener_request.py +20 -13
- huaweicloudsdkelb/v2/model/show_listener_response.py +20 -16
- huaweicloudsdkelb/v2/model/show_listener_tags_request.py +20 -13
- huaweicloudsdkelb/v2/model/show_listener_tags_response.py +20 -14
- huaweicloudsdkelb/v2/model/show_loadbalancer_request.py +20 -13
- huaweicloudsdkelb/v2/model/show_loadbalancer_response.py +20 -16
- huaweicloudsdkelb/v2/model/show_loadbalancer_tags_request.py +20 -13
- huaweicloudsdkelb/v2/model/show_loadbalancer_tags_response.py +20 -14
- huaweicloudsdkelb/v2/model/show_loadbalancers_status_request.py +20 -13
- huaweicloudsdkelb/v2/model/show_loadbalancers_status_response.py +20 -16
- huaweicloudsdkelb/v2/model/show_member_request.py +27 -16
- huaweicloudsdkelb/v2/model/show_member_response.py +20 -16
- huaweicloudsdkelb/v2/model/show_pool_request.py +20 -13
- huaweicloudsdkelb/v2/model/show_pool_response.py +20 -16
- huaweicloudsdkelb/v2/model/show_whitelist_request.py +20 -13
- huaweicloudsdkelb/v2/model/show_whitelist_response.py +20 -16
- huaweicloudsdkelb/v2/model/status_resp.py +19 -16
- huaweicloudsdkelb/v2/model/update_certificate_request.py +26 -19
- huaweicloudsdkelb/v2/model/update_certificate_request_body.py +139 -37
- huaweicloudsdkelb/v2/model/update_certificate_response.py +164 -49
- huaweicloudsdkelb/v2/model/update_healthmonitor_req.py +72 -47
- huaweicloudsdkelb/v2/model/update_healthmonitor_request.py +26 -19
- huaweicloudsdkelb/v2/model/update_healthmonitor_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/update_healthmonitor_response.py +20 -16
- huaweicloudsdkelb/v2/model/update_l7policies_request.py +26 -19
- huaweicloudsdkelb/v2/model/update_l7policies_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/update_l7policies_response.py +20 -16
- huaweicloudsdkelb/v2/model/update_l7policy_req.py +38 -25
- huaweicloudsdkelb/v2/model/update_l7rule_req.py +38 -25
- huaweicloudsdkelb/v2/model/update_l7rule_request.py +33 -22
- huaweicloudsdkelb/v2/model/update_l7rule_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/update_l7rule_response.py +20 -16
- huaweicloudsdkelb/v2/model/update_listener_req.py +132 -51
- huaweicloudsdkelb/v2/model/update_listener_request.py +26 -19
- huaweicloudsdkelb/v2/model/update_listener_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/update_listener_response.py +20 -16
- huaweicloudsdkelb/v2/model/update_loadbalancer_req.py +89 -22
- huaweicloudsdkelb/v2/model/update_loadbalancer_request.py +26 -19
- huaweicloudsdkelb/v2/model/update_loadbalancer_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/update_loadbalancer_response.py +20 -16
- huaweicloudsdkelb/v2/model/update_member_req.py +30 -21
- huaweicloudsdkelb/v2/model/update_member_request.py +33 -22
- huaweicloudsdkelb/v2/model/update_member_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/update_member_response.py +20 -16
- huaweicloudsdkelb/v2/model/update_pool_req.py +100 -31
- huaweicloudsdkelb/v2/model/update_pool_request.py +26 -19
- huaweicloudsdkelb/v2/model/update_pool_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/update_pool_response.py +20 -16
- huaweicloudsdkelb/v2/model/update_whitelist_req.py +23 -16
- huaweicloudsdkelb/v2/model/update_whitelist_request.py +26 -19
- huaweicloudsdkelb/v2/model/update_whitelist_request_body.py +19 -16
- huaweicloudsdkelb/v2/model/update_whitelist_response.py +20 -16
- huaweicloudsdkelb/v2/model/whitelist_resp.py +38 -25
- huaweicloudsdkelb/v2/region/elb_region.py +103 -38
- huaweicloudsdkelb/v3/__init__.py +231 -4
- huaweicloudsdkelb/v3/elb_async_client.py +5953 -2293
- huaweicloudsdkelb/v3/elb_client.py +5960 -2301
- huaweicloudsdkelb/v3/model/__init__.py +230 -2
- huaweicloudsdkelb/v3/model/api_version_info.py +142 -0
- huaweicloudsdkelb/v3/model/autoscaling_ref.py +143 -0
- huaweicloudsdkelb/v3/model/availability_zone.py +143 -23
- huaweicloudsdkelb/v3/model/az_affinity.py +201 -0
- huaweicloudsdkelb/v3/model/bandwidth_ref.py +20 -15
- huaweicloudsdkelb/v3/model/base_job.py +347 -0
- huaweicloudsdkelb/v3/model/batch_add_available_zones_request.py +139 -0
- huaweicloudsdkelb/v3/model/batch_add_available_zones_request_body.py +114 -0
- huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +199 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancer_option.py +1022 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancers_request.py +111 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancers_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancers_response.py +203 -0
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +258 -0
- huaweicloudsdkelb/v3/model/batch_create_members_request.py +139 -0
- huaweicloudsdkelb/v3/model/batch_create_members_request_body.py +114 -0
- huaweicloudsdkelb/v3/model/batch_create_members_response.py +145 -0
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_option.py +115 -0
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_request.py +139 -0
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_request_body.py +111 -0
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_response.py +141 -0
- huaweicloudsdkelb/v3/model/batch_delete_members_option.py +173 -0
- huaweicloudsdkelb/v3/model/batch_delete_members_request.py +139 -0
- huaweicloudsdkelb/v3/model/batch_delete_members_request_body.py +114 -0
- huaweicloudsdkelb/v3/model/batch_delete_members_response.py +145 -0
- huaweicloudsdkelb/v3/model/batch_delete_members_state.py +142 -0
- huaweicloudsdkelb/v3/model/batch_member.py +565 -0
- huaweicloudsdkelb/v3/model/batch_remove_available_zones_request.py +139 -0
- huaweicloudsdkelb/v3/model/batch_remove_available_zones_request_body.py +114 -0
- huaweicloudsdkelb/v3/model/batch_remove_available_zones_response.py +141 -0
- huaweicloudsdkelb/v3/model/batch_update_member.py +566 -0
- huaweicloudsdkelb/v3/model/batch_update_members_option.py +259 -0
- huaweicloudsdkelb/v3/model/batch_update_members_request.py +139 -0
- huaweicloudsdkelb/v3/model/batch_update_members_request_body.py +114 -0
- huaweicloudsdkelb/v3/model/batch_update_members_response.py +145 -0
- huaweicloudsdkelb/v3/model/batch_update_policies_priority_request.py +111 -0
- huaweicloudsdkelb/v3/model/batch_update_policies_priority_request_body.py +115 -0
- huaweicloudsdkelb/v3/model/{show_quota_defaults_response.py → batch_update_policies_priority_response.py} +28 -47
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +142 -0
- huaweicloudsdkelb/v3/model/certificate_info.py +353 -65
- huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request.py +111 -0
- huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +167 -0
- huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_response.py +203 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_request.py +139 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_request_body.py +139 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_response.py +174 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_response_body_loadbalancer_list.py +115 -0
- huaweicloudsdkelb/v3/model/connection_drain.py +144 -0
- huaweicloudsdkelb/v3/model/cors_config.py +260 -0
- huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +141 -60
- huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_response.py +27 -21
- huaweicloudsdkelb/v3/model/create_certificate_option.py +255 -59
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request.py +111 -0
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request_body.py +114 -0
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_response.py +145 -0
- huaweicloudsdkelb/v3/model/create_certificate_request.py +19 -16
- huaweicloudsdkelb/v3/model/create_certificate_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/create_certificate_response.py +25 -19
- huaweicloudsdkelb/v3/model/create_cors_config.py +260 -0
- huaweicloudsdkelb/v3/model/create_fixted_response_config.py +247 -0
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +107 -76
- huaweicloudsdkelb/v3/model/create_health_monitor_request.py +19 -16
- huaweicloudsdkelb/v3/model/create_health_monitor_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/create_health_monitor_response.py +25 -19
- huaweicloudsdkelb/v3/model/create_insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/create_insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +27 -20
- huaweicloudsdkelb/v3/model/create_ip_group_option.py +49 -36
- huaweicloudsdkelb/v3/model/create_ip_group_request.py +19 -16
- huaweicloudsdkelb/v3/model/create_ip_group_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/create_ip_group_response.py +27 -21
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +250 -67
- huaweicloudsdkelb/v3/model/create_l7_policy_request.py +19 -16
- huaweicloudsdkelb/v3/model/create_l7_policy_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/create_l7_policy_response.py +27 -21
- huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +87 -43
- huaweicloudsdkelb/v3/model/create_l7_rule_request.py +26 -19
- huaweicloudsdkelb/v3/model/create_l7_rule_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/create_l7_rule_response.py +27 -21
- huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +38 -27
- huaweicloudsdkelb/v3/model/create_listener_option.py +556 -141
- huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py +143 -0
- huaweicloudsdkelb/v3/model/create_listener_request.py +19 -16
- huaweicloudsdkelb/v3/model/create_listener_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/create_listener_response.py +27 -21
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +88 -42
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +398 -160
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +47 -36
- huaweicloudsdkelb/v3/model/create_load_balancer_request.py +19 -16
- huaweicloudsdkelb/v3/model/create_load_balancer_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +86 -22
- huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +143 -0
- huaweicloudsdkelb/v3/model/create_logtank_option.py +170 -0
- huaweicloudsdkelb/v3/model/create_logtank_request.py +111 -0
- huaweicloudsdkelb/v3/model/create_logtank_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/create_logtank_response.py +141 -0
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +401 -0
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +258 -0
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +529 -0
- huaweicloudsdkelb/v3/model/create_master_slave_pool_request.py +111 -0
- huaweicloudsdkelb/v3/model/create_master_slave_pool_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/create_master_slave_pool_response.py +141 -0
- huaweicloudsdkelb/v3/model/create_member_health_check_job_option.py +142 -0
- huaweicloudsdkelb/v3/model/create_member_health_check_job_request.py +139 -0
- huaweicloudsdkelb/v3/model/create_member_health_check_job_request_body.py +111 -0
- huaweicloudsdkelb/v3/model/create_member_health_check_job_response.py +141 -0
- huaweicloudsdkelb/v3/model/create_member_option.py +96 -49
- huaweicloudsdkelb/v3/model/create_member_request.py +26 -19
- huaweicloudsdkelb/v3/model/create_member_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/create_member_response.py +27 -21
- huaweicloudsdkelb/v3/model/create_pool_option.py +394 -70
- huaweicloudsdkelb/v3/model/create_pool_request.py +19 -16
- huaweicloudsdkelb/v3/model/create_pool_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/create_pool_response.py +27 -21
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +34 -25
- huaweicloudsdkelb/v3/model/create_pool_slow_start_option.py +31 -22
- huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +143 -0
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +265 -0
- huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +309 -0
- huaweicloudsdkelb/v3/model/create_remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +173 -0
- huaweicloudsdkelb/v3/model/create_rule_condition.py +143 -0
- huaweicloudsdkelb/v3/model/create_rule_option.py +114 -68
- huaweicloudsdkelb/v3/model/create_security_policy_option.py +229 -0
- huaweicloudsdkelb/v3/model/create_security_policy_request.py +111 -0
- huaweicloudsdkelb/v3/model/create_security_policy_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/create_security_policy_response.py +141 -0
- huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/create_traffic_mirror_config.py +144 -0
- huaweicloudsdkelb/v3/model/delete_certificate_request.py +20 -13
- huaweicloudsdkelb/v3/model/delete_certificate_response.py +14 -10
- huaweicloudsdkelb/v3/model/delete_health_monitor_request.py +20 -13
- huaweicloudsdkelb/v3/model/delete_health_monitor_response.py +14 -10
- huaweicloudsdkelb/v3/model/delete_ip_group_request.py +20 -13
- huaweicloudsdkelb/v3/model/delete_ip_group_response.py +14 -10
- huaweicloudsdkelb/v3/model/delete_l7_policy_request.py +20 -13
- huaweicloudsdkelb/v3/model/delete_l7_policy_response.py +14 -10
- huaweicloudsdkelb/v3/model/delete_l7_rule_request.py +27 -16
- huaweicloudsdkelb/v3/model/delete_l7_rule_response.py +14 -10
- huaweicloudsdkelb/v3/model/delete_listener_force_request.py +114 -0
- huaweicloudsdkelb/v3/model/delete_listener_force_response.py +85 -0
- huaweicloudsdkelb/v3/model/delete_listener_request.py +20 -13
- huaweicloudsdkelb/v3/model/delete_listener_response.py +14 -10
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_option.py +144 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request.py +139 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_response.py +85 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_force_request.py +114 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_force_response.py +85 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_request.py +20 -13
- huaweicloudsdkelb/v3/model/delete_load_balancer_response.py +14 -10
- huaweicloudsdkelb/v3/model/delete_logtank_request.py +114 -0
- huaweicloudsdkelb/v3/model/delete_logtank_response.py +85 -0
- huaweicloudsdkelb/v3/model/delete_master_slave_pool_request.py +114 -0
- huaweicloudsdkelb/v3/model/delete_master_slave_pool_response.py +85 -0
- huaweicloudsdkelb/v3/model/delete_member_request.py +48 -37
- huaweicloudsdkelb/v3/model/delete_member_response.py +14 -10
- huaweicloudsdkelb/v3/model/delete_pool_cascade_request.py +114 -0
- huaweicloudsdkelb/v3/model/delete_pool_cascade_response.py +85 -0
- huaweicloudsdkelb/v3/model/delete_pool_request.py +20 -13
- huaweicloudsdkelb/v3/model/delete_pool_response.py +14 -10
- huaweicloudsdkelb/v3/model/delete_recycle_load_balancer_request.py +114 -0
- huaweicloudsdkelb/v3/model/delete_recycle_load_balancer_response.py +85 -0
- huaweicloudsdkelb/v3/model/delete_security_policy_request.py +114 -0
- huaweicloudsdkelb/v3/model/delete_security_policy_response.py +85 -0
- huaweicloudsdkelb/v3/model/eip_info.py +59 -23
- huaweicloudsdkelb/v3/model/extension.py +144 -0
- huaweicloudsdkelb/v3/model/feature_config.py +394 -0
- huaweicloudsdkelb/v3/model/fixted_response_config.py +245 -0
- huaweicloudsdkelb/v3/model/flavor.py +132 -60
- huaweicloudsdkelb/v3/model/flavor_info.py +102 -33
- huaweicloudsdkelb/v3/model/global_eip_info.py +173 -0
- huaweicloudsdkelb/v3/model/health_monitor.py +174 -83
- huaweicloudsdkelb/v3/model/insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/ip_group.py +148 -100
- huaweicloudsdkelb/v3/model/ip_group_ip.py +114 -0
- huaweicloudsdkelb/v3/model/ip_info.py +27 -20
- huaweicloudsdkelb/v3/model/job_entities.py +144 -0
- huaweicloudsdkelb/v3/model/l7_policy.py +369 -97
- huaweicloudsdkelb/v3/model/l7_rule.py +165 -58
- huaweicloudsdkelb/v3/model/list_all_members_request.py +292 -229
- huaweicloudsdkelb/v3/model/list_all_members_response.py +32 -24
- huaweicloudsdkelb/v3/model/list_api_versions_request.py +84 -0
- huaweicloudsdkelb/v3/model/list_api_versions_response.py +116 -0
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +74 -11
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +52 -44
- huaweicloudsdkelb/v3/model/list_certificates_request.py +364 -122
- huaweicloudsdkelb/v3/model/list_certificates_response.py +31 -23
- huaweicloudsdkelb/v3/model/list_feature_configs_request.py +115 -0
- huaweicloudsdkelb/v3/model/list_feature_configs_response.py +170 -0
- huaweicloudsdkelb/v3/model/list_flavors_request.py +230 -83
- huaweicloudsdkelb/v3/model/list_flavors_response.py +35 -27
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +312 -241
- huaweicloudsdkelb/v3/model/list_health_monitors_response.py +31 -23
- huaweicloudsdkelb/v3/model/list_ip_groups_request.py +171 -111
- huaweicloudsdkelb/v3/model/list_ip_groups_response.py +35 -27
- huaweicloudsdkelb/v3/model/list_jobs_request.py +347 -0
- huaweicloudsdkelb/v3/model/list_jobs_response.py +170 -0
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +318 -222
- huaweicloudsdkelb/v3/model/list_l7_policies_response.py +35 -27
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +217 -162
- huaweicloudsdkelb/v3/model/list_l7_rules_response.py +35 -27
- huaweicloudsdkelb/v3/model/list_listeners_request.py +599 -297
- huaweicloudsdkelb/v3/model/list_listeners_response.py +35 -27
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +717 -391
- huaweicloudsdkelb/v3/model/list_load_balancers_response.py +31 -23
- huaweicloudsdkelb/v3/model/list_loadbalancer_feature_request.py +114 -0
- huaweicloudsdkelb/v3/model/list_loadbalancer_feature_response.py +145 -0
- huaweicloudsdkelb/v3/model/list_logtanks_request.py +318 -0
- huaweicloudsdkelb/v3/model/list_logtanks_response.py +170 -0
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +637 -0
- huaweicloudsdkelb/v3/model/list_master_slave_pools_response.py +170 -0
- huaweicloudsdkelb/v3/model/list_members_request.py +348 -177
- huaweicloudsdkelb/v3/model/list_members_response.py +31 -23
- huaweicloudsdkelb/v3/model/list_pools_request.py +604 -189
- huaweicloudsdkelb/v3/model/list_pools_response.py +31 -23
- huaweicloudsdkelb/v3/model/list_quota_details_request.py +115 -0
- huaweicloudsdkelb/v3/model/list_quota_details_response.py +145 -0
- huaweicloudsdkelb/v3/model/list_recycle_bin_load_balancers_request.py +1043 -0
- huaweicloudsdkelb/v3/model/list_recycle_bin_load_balancers_response.py +170 -0
- huaweicloudsdkelb/v3/model/list_security_policies_request.py +318 -0
- huaweicloudsdkelb/v3/model/list_security_policies_response.py +170 -0
- huaweicloudsdkelb/v3/model/list_system_security_policies_request.py +84 -0
- huaweicloudsdkelb/v3/model/list_system_security_policies_response.py +145 -0
- huaweicloudsdkelb/v3/model/listener.py +613 -143
- huaweicloudsdkelb/v3/model/listener_insert_headers.py +220 -34
- huaweicloudsdkelb/v3/model/listener_ip_group.py +34 -25
- huaweicloudsdkelb/v3/model/listener_member_info.py +142 -0
- huaweicloudsdkelb/v3/model/listener_quic_config.py +144 -0
- huaweicloudsdkelb/v3/model/listener_ref.py +20 -15
- huaweicloudsdkelb/v3/model/load_balancer.py +759 -260
- huaweicloudsdkelb/v3/model/load_balancer_ref.py +20 -15
- huaweicloudsdkelb/v3/model/load_balancer_status.py +53 -38
- huaweicloudsdkelb/v3/model/load_balancer_status_health_monitor.py +41 -30
- huaweicloudsdkelb/v3/model/load_balancer_status_l7_rule.py +100 -11
- huaweicloudsdkelb/v3/model/load_balancer_status_listener.py +55 -40
- huaweicloudsdkelb/v3/model/load_balancer_status_member.py +46 -33
- huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +49 -36
- huaweicloudsdkelb/v3/model/load_balancer_status_pool.py +53 -40
- huaweicloudsdkelb/v3/model/load_balancer_status_result.py +19 -16
- huaweicloudsdkelb/v3/model/loadbalancer_feature.py +170 -0
- huaweicloudsdkelb/v3/model/local_port.py +231 -0
- huaweicloudsdkelb/v3/model/logtank.py +226 -0
- huaweicloudsdkelb/v3/model/main_job.py +376 -0
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +450 -0
- huaweicloudsdkelb/v3/model/master_slave_member.py +503 -0
- huaweicloudsdkelb/v3/model/master_slave_pool.py +633 -0
- huaweicloudsdkelb/v3/model/member.py +258 -146
- huaweicloudsdkelb/v3/model/member_check_job.py +115 -0
- huaweicloudsdkelb/v3/model/member_check_job_info.py +343 -0
- huaweicloudsdkelb/v3/model/member_check_job_result.py +161 -0
- huaweicloudsdkelb/v3/model/member_check_job_result_group.py +173 -0
- huaweicloudsdkelb/v3/model/member_check_job_result_item.py +289 -0
- huaweicloudsdkelb/v3/model/member_health_check_failed_reason.py +170 -0
- huaweicloudsdkelb/v3/model/member_info.py +709 -0
- huaweicloudsdkelb/v3/model/member_ref.py +20 -15
- huaweicloudsdkelb/v3/model/member_status.py +225 -0
- huaweicloudsdkelb/v3/model/page_info.py +34 -25
- huaweicloudsdkelb/v3/model/pool.py +482 -95
- huaweicloudsdkelb/v3/model/pool_health.py +115 -0
- huaweicloudsdkelb/v3/model/pool_ref.py +20 -15
- huaweicloudsdkelb/v3/model/port_range.py +144 -0
- huaweicloudsdkelb/v3/model/preoccupy_ip.py +18 -13
- huaweicloudsdkelb/v3/model/prepaid_change_charge_mode_option.py +259 -0
- huaweicloudsdkelb/v3/model/prepaid_create_option.py +201 -0
- huaweicloudsdkelb/v3/model/prepaid_update_option.py +202 -0
- huaweicloudsdkelb/v3/model/proxy_protocol_extension.py +168 -0
- huaweicloudsdkelb/v3/model/public_ip_info.py +34 -25
- huaweicloudsdkelb/v3/model/quic_cid_hash_strategy.py +142 -0
- huaweicloudsdkelb/v3/model/quota.py +490 -107
- huaweicloudsdkelb/v3/model/quota_info.py +198 -0
- huaweicloudsdkelb/v3/model/recycle_bin_policy.py +144 -0
- huaweicloudsdkelb/v3/model/recycle_bin_policy_request_body.py +111 -0
- huaweicloudsdkelb/v3/model/recycle_bin_request_body.py +115 -0
- huaweicloudsdkelb/v3/model/recycle_bin_response_body.py +169 -0
- huaweicloudsdkelb/v3/model/recycle_load_balancer.py +1412 -0
- huaweicloudsdkelb/v3/model/redirect_pools_config.py +144 -0
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +265 -0
- huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/redirect_url_config.py +310 -0
- huaweicloudsdkelb/v3/model/remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/resource_id.py +114 -0
- huaweicloudsdkelb/v3/model/restore_loadbalancer_request.py +114 -0
- huaweicloudsdkelb/v3/model/restore_loadbalancer_response.py +174 -0
- huaweicloudsdkelb/v3/model/rewrite_url_config.py +173 -0
- huaweicloudsdkelb/v3/model/rule_condition.py +142 -0
- huaweicloudsdkelb/v3/model/rule_ref.py +20 -15
- huaweicloudsdkelb/v3/model/security_policy.py +338 -0
- huaweicloudsdkelb/v3/model/session_persistence.py +34 -25
- huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_request.py +84 -0
- huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_response.py +145 -0
- huaweicloudsdkelb/v3/model/show_certificate_request.py +20 -13
- huaweicloudsdkelb/v3/model/show_certificate_response.py +25 -19
- huaweicloudsdkelb/v3/model/show_flavor_request.py +20 -13
- huaweicloudsdkelb/v3/model/show_flavor_response.py +27 -21
- huaweicloudsdkelb/v3/model/show_health_monitor_request.py +20 -13
- huaweicloudsdkelb/v3/model/show_health_monitor_response.py +25 -19
- huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_request.py +114 -0
- huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_response.py +116 -0
- huaweicloudsdkelb/v3/model/show_ip_group_request.py +20 -13
- huaweicloudsdkelb/v3/model/show_ip_group_response.py +27 -21
- huaweicloudsdkelb/v3/model/show_job_request.py +114 -0
- huaweicloudsdkelb/v3/model/show_job_response.py +141 -0
- huaweicloudsdkelb/v3/model/show_l7_policy_request.py +20 -13
- huaweicloudsdkelb/v3/model/show_l7_policy_response.py +27 -21
- huaweicloudsdkelb/v3/model/show_l7_rule_request.py +27 -16
- huaweicloudsdkelb/v3/model/show_l7_rule_response.py +27 -21
- huaweicloudsdkelb/v3/model/show_listener_request.py +20 -13
- huaweicloudsdkelb/v3/model/show_listener_response.py +27 -21
- huaweicloudsdkelb/v3/model/show_load_balancer_ports_request.py +259 -0
- huaweicloudsdkelb/v3/model/show_load_balancer_ports_response.py +145 -0
- huaweicloudsdkelb/v3/model/show_load_balancer_request.py +20 -13
- huaweicloudsdkelb/v3/model/show_load_balancer_response.py +27 -21
- huaweicloudsdkelb/v3/model/show_load_balancer_status_request.py +20 -13
- huaweicloudsdkelb/v3/model/show_load_balancer_status_response.py +27 -21
- huaweicloudsdkelb/v3/model/show_logtank_request.py +114 -0
- huaweicloudsdkelb/v3/model/show_logtank_response.py +141 -0
- huaweicloudsdkelb/v3/model/show_master_slave_pool_request.py +114 -0
- huaweicloudsdkelb/v3/model/show_master_slave_pool_response.py +141 -0
- huaweicloudsdkelb/v3/model/show_member_health_check_job_request.py +114 -0
- huaweicloudsdkelb/v3/model/show_member_health_check_job_response.py +141 -0
- huaweicloudsdkelb/v3/model/show_member_request.py +48 -37
- huaweicloudsdkelb/v3/model/show_member_response.py +25 -19
- huaweicloudsdkelb/v3/model/show_pool_request.py +20 -13
- huaweicloudsdkelb/v3/model/show_pool_response.py +25 -19
- huaweicloudsdkelb/v3/model/show_quota_request.py +13 -10
- huaweicloudsdkelb/v3/model/show_quota_response.py +25 -19
- huaweicloudsdkelb/v3/model/{show_quota_defaults_request.py → show_recycle_bin_request.py} +15 -12
- huaweicloudsdkelb/v3/model/show_recycle_bin_response.py +112 -0
- huaweicloudsdkelb/v3/model/show_security_policy_request.py +114 -0
- huaweicloudsdkelb/v3/model/show_security_policy_response.py +141 -0
- huaweicloudsdkelb/v3/model/slow_start.py +27 -20
- huaweicloudsdkelb/v3/model/sub_job.py +376 -0
- huaweicloudsdkelb/v3/model/system_security_policy.py +198 -0
- huaweicloudsdkelb/v3/model/tag.py +27 -20
- huaweicloudsdkelb/v3/model/target_loadbalancer_param.py +434 -0
- huaweicloudsdkelb/v3/model/traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/traffic_mirror_config.py +144 -0
- huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +27 -20
- huaweicloudsdkelb/v3/model/update_az_affinity.py +202 -0
- huaweicloudsdkelb/v3/model/update_certificate_option.py +225 -38
- huaweicloudsdkelb/v3/model/update_certificate_request.py +26 -19
- huaweicloudsdkelb/v3/model/update_certificate_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/update_certificate_response.py +25 -19
- huaweicloudsdkelb/v3/model/update_fixted_response_config.py +248 -0
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +95 -68
- huaweicloudsdkelb/v3/model/update_health_monitor_request.py +26 -19
- huaweicloudsdkelb/v3/model/update_health_monitor_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/update_health_monitor_response.py +25 -19
- huaweicloudsdkelb/v3/model/update_insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/update_insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_ip_group_option.py +35 -26
- huaweicloudsdkelb/v3/model/update_ip_group_request.py +26 -19
- huaweicloudsdkelb/v3/model/update_ip_group_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/update_ip_group_response.py +27 -21
- huaweicloudsdkelb/v3/model/update_ip_list_option.py +173 -0
- huaweicloudsdkelb/v3/model/update_ip_list_request.py +139 -0
- huaweicloudsdkelb/v3/model/update_ip_list_request_body.py +111 -0
- huaweicloudsdkelb/v3/model/update_ip_list_response.py +141 -0
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +238 -38
- huaweicloudsdkelb/v3/model/update_l7_policy_request.py +26 -19
- huaweicloudsdkelb/v3/model/update_l7_policy_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/update_l7_policy_response.py +27 -21
- huaweicloudsdkelb/v3/model/update_l7_rule_option.py +80 -38
- huaweicloudsdkelb/v3/model/update_l7_rule_request.py +33 -22
- huaweicloudsdkelb/v3/model/update_l7_rule_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/update_l7_rule_response.py +27 -21
- huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +40 -28
- huaweicloudsdkelb/v3/model/update_listener_option.py +470 -95
- huaweicloudsdkelb/v3/model/update_listener_quic_config_option.py +144 -0
- huaweicloudsdkelb/v3/model/update_listener_request.py +26 -19
- huaweicloudsdkelb/v3/model/update_listener_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/update_listener_response.py +27 -21
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +305 -85
- huaweicloudsdkelb/v3/model/update_load_balancer_request.py +26 -19
- huaweicloudsdkelb/v3/model/update_load_balancer_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/update_load_balancer_response.py +105 -41
- huaweicloudsdkelb/v3/model/update_loadbalancer_autoscaling_option.py +143 -0
- huaweicloudsdkelb/v3/model/update_logtank_option.py +144 -0
- huaweicloudsdkelb/v3/model/update_logtank_request.py +139 -0
- huaweicloudsdkelb/v3/model/update_logtank_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/update_logtank_response.py +141 -0
- huaweicloudsdkelb/v3/model/update_member_option.py +95 -28
- huaweicloudsdkelb/v3/model/update_member_request.py +33 -22
- huaweicloudsdkelb/v3/model/update_member_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/update_member_response.py +25 -19
- huaweicloudsdkelb/v3/model/update_pool_option.py +308 -50
- huaweicloudsdkelb/v3/model/update_pool_request.py +26 -19
- huaweicloudsdkelb/v3/model/update_pool_request_body.py +19 -16
- huaweicloudsdkelb/v3/model/update_pool_response.py +25 -19
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +36 -26
- huaweicloudsdkelb/v3/model/update_pool_slow_start_option.py +27 -18
- huaweicloudsdkelb/v3/model/update_recycle_bin_enable_request.py +111 -0
- huaweicloudsdkelb/v3/model/update_recycle_bin_enable_request_body.py +111 -0
- huaweicloudsdkelb/v3/model/update_recycle_bin_enable_response.py +112 -0
- huaweicloudsdkelb/v3/model/update_recycle_bin_policy_request.py +111 -0
- huaweicloudsdkelb/v3/model/update_recycle_bin_policy_request_body.py +111 -0
- huaweicloudsdkelb/v3/model/update_recycle_bin_policy_response.py +112 -0
- huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +143 -0
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +265 -0
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/update_redirect_url_config.py +310 -0
- huaweicloudsdkelb/v3/model/update_remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +173 -0
- huaweicloudsdkelb/v3/model/update_rule_condition.py +144 -0
- huaweicloudsdkelb/v3/model/update_security_policy_option.py +202 -0
- huaweicloudsdkelb/v3/model/update_security_policy_request.py +139 -0
- huaweicloudsdkelb/v3/model/update_security_policy_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/update_security_policy_response.py +141 -0
- huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/upgrade_loadbalancer_request.py +139 -0
- huaweicloudsdkelb/v3/model/upgrade_loadbalancer_response.py +145 -0
- huaweicloudsdkelb/v3/model/upgrade_v3_request_body.py +288 -0
- huaweicloudsdkelb/v3/region/elb_region.py +103 -38
- {huaweicloudsdkelb-3.0.43rc0.dist-info → huaweicloudsdkelb-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkelb-3.1.160.dist-info/RECORD +626 -0
- {huaweicloudsdkelb-3.0.43rc0.dist-info → huaweicloudsdkelb-3.1.160.dist-info}/WHEEL +1 -1
- huaweicloudsdkelb-3.0.43rc0.dist-info/RECORD +0 -396
- {huaweicloudsdkelb-3.0.43rc0.dist-info → huaweicloudsdkelb-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.0.43rc0.dist-info → huaweicloudsdkelb-3.1.160.dist-info}/top_level.txt +0 -0
@@ -1,17 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
|
-
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
6
|
|
11
7
|
|
12
8
|
class UpdateListenerOption:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class UpdateListenerOption:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
@@ -32,13 +26,25 @@ class UpdateListenerOption:
|
|
32
26
|
'insert_headers': 'ListenerInsertHeaders',
|
33
27
|
'name': 'str',
|
34
28
|
'sni_container_refs': 'list[str]',
|
29
|
+
'sni_match_algo': 'str',
|
35
30
|
'tls_ciphers_policy': 'str',
|
31
|
+
'security_policy_id': 'str',
|
36
32
|
'enable_member_retry': 'bool',
|
37
33
|
'member_timeout': 'int',
|
38
34
|
'client_timeout': 'int',
|
39
35
|
'keepalive_timeout': 'int',
|
40
36
|
'ipgroup': 'UpdateListenerIpGroupOption',
|
41
|
-
'transparent_client_ip_enable': 'bool'
|
37
|
+
'transparent_client_ip_enable': 'bool',
|
38
|
+
'proxy_protocol_enable': 'bool',
|
39
|
+
'enhance_l7policy_enable': 'bool',
|
40
|
+
'quic_config': 'UpdateListenerQuicConfigOption',
|
41
|
+
'protection_status': 'str',
|
42
|
+
'protection_reason': 'str',
|
43
|
+
'gzip_enable': 'bool',
|
44
|
+
'ssl_early_data_enable': 'bool',
|
45
|
+
'cps': 'int',
|
46
|
+
'connection': 'int',
|
47
|
+
'nat64_enable': 'bool'
|
42
48
|
}
|
43
49
|
|
44
50
|
attribute_map = {
|
@@ -51,17 +57,89 @@ class UpdateListenerOption:
|
|
51
57
|
'insert_headers': 'insert_headers',
|
52
58
|
'name': 'name',
|
53
59
|
'sni_container_refs': 'sni_container_refs',
|
60
|
+
'sni_match_algo': 'sni_match_algo',
|
54
61
|
'tls_ciphers_policy': 'tls_ciphers_policy',
|
62
|
+
'security_policy_id': 'security_policy_id',
|
55
63
|
'enable_member_retry': 'enable_member_retry',
|
56
64
|
'member_timeout': 'member_timeout',
|
57
65
|
'client_timeout': 'client_timeout',
|
58
66
|
'keepalive_timeout': 'keepalive_timeout',
|
59
67
|
'ipgroup': 'ipgroup',
|
60
|
-
'transparent_client_ip_enable': 'transparent_client_ip_enable'
|
68
|
+
'transparent_client_ip_enable': 'transparent_client_ip_enable',
|
69
|
+
'proxy_protocol_enable': 'proxy_protocol_enable',
|
70
|
+
'enhance_l7policy_enable': 'enhance_l7policy_enable',
|
71
|
+
'quic_config': 'quic_config',
|
72
|
+
'protection_status': 'protection_status',
|
73
|
+
'protection_reason': 'protection_reason',
|
74
|
+
'gzip_enable': 'gzip_enable',
|
75
|
+
'ssl_early_data_enable': 'ssl_early_data_enable',
|
76
|
+
'cps': 'cps',
|
77
|
+
'connection': 'connection',
|
78
|
+
'nat64_enable': 'nat64_enable'
|
61
79
|
}
|
62
80
|
|
63
|
-
def __init__(self, admin_state_up=None, client_ca_tls_container_ref=None, default_pool_id=None, default_tls_container_ref=None, description=None, http2_enable=None, insert_headers=None, name=None, sni_container_refs=None, tls_ciphers_policy=None, enable_member_retry=None, member_timeout=None, client_timeout=None, keepalive_timeout=None, ipgroup=None, transparent_client_ip_enable=None):
|
64
|
-
"""UpdateListenerOption
|
81
|
+
def __init__(self, admin_state_up=None, client_ca_tls_container_ref=None, default_pool_id=None, default_tls_container_ref=None, description=None, http2_enable=None, insert_headers=None, name=None, sni_container_refs=None, sni_match_algo=None, tls_ciphers_policy=None, security_policy_id=None, enable_member_retry=None, member_timeout=None, client_timeout=None, keepalive_timeout=None, ipgroup=None, transparent_client_ip_enable=None, proxy_protocol_enable=None, enhance_l7policy_enable=None, quic_config=None, protection_status=None, protection_reason=None, gzip_enable=None, ssl_early_data_enable=None, cps=None, connection=None, nat64_enable=None):
|
82
|
+
r"""UpdateListenerOption
|
83
|
+
|
84
|
+
The model defined in huaweicloud sdk
|
85
|
+
|
86
|
+
:param admin_state_up: 参数解释:监听器的管理状态。 约束限制:只支持更新为true。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
87
|
+
:type admin_state_up: bool
|
88
|
+
:param client_ca_tls_container_ref: 参数解释:监听器使用的CA证书ID。 约束限制: - 当且仅当type=client时,才会使用该字段对应的证书。 - 监听器协议为QUIC时不支持该字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
89
|
+
:type client_ca_tls_container_ref: str
|
90
|
+
:param default_pool_id: 参数解释:监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。
|
91
|
+
:type default_pool_id: str
|
92
|
+
:param default_tls_container_ref: 参数解释:监听器使用的服务器证书ID。 约束限制:当监听器协议为HTTPS时,该字段必传,且对应的证书的type必须是server类型。
|
93
|
+
:type default_tls_container_ref: str
|
94
|
+
:param description: 参数解释:监听器的描述信息。
|
95
|
+
:type description: str
|
96
|
+
:param http2_enable: 参数解释:客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 约束限制: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
97
|
+
:type http2_enable: bool
|
98
|
+
:param insert_headers:
|
99
|
+
:type insert_headers: :class:`huaweicloudsdkelb.v3.ListenerInsertHeaders`
|
100
|
+
:param name: 参数解释:监听器的名称。 约束限制:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
|
101
|
+
:type name: str
|
102
|
+
:param sni_container_refs: 参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - QUIC监听器仅支持RSA证书。 - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过200。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
103
|
+
:type sni_container_refs: list[str]
|
104
|
+
:param sni_match_algo: 参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围: - longest_suffix表示最长尾缀匹配。 - wildcard表示标准域名分级匹配。 默认取值:wildcard。
|
105
|
+
:type sni_match_algo: str
|
106
|
+
:param tls_ciphers_policy: 参数解释:监听器使用的安全策略。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,ct,sbc,g42,tm,cmcc,hk_g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-1-0-with-1-3、 tls-1-2-fs-with-1-3、 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-2。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,ct,sbc,tm,cmcc,dt) [取值范围:tls-1-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-2。](tag:hws_eu,g42,hk_g42,hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
107
|
+
:type tls_ciphers_policy: str
|
108
|
+
:param security_policy_id: 参数解释:自定义安全策略的ID。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,ctc,hcso,g42,tm,cmcc,hk_g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:hws_eu,g42,hk_g42)
|
109
|
+
:type security_policy_id: str
|
110
|
+
:param enable_member_retry: 参数解释:是否开启后端服务器的重试。 [约束限制: - 若关联是共享型LB,仅在protocol为HTTP、TERMINATED_HTTPS时才能传入该字段。 - 若关联是独享型LB,仅在protocol为HTTP、HTTPS和QUIC时才能传入该字段。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) [约束限制: - 仅在protocol为HTTP、HTTPS时才能传入该字段。](tag:hws_eu,hcso_dt) 取值范围:true 开启重试;false 不开启重试。 默认取值:true。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
111
|
+
:type enable_member_retry: bool
|
112
|
+
:param member_timeout: 参数解释:等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回HTTP504错误码。 约束限制:仅支持协议为HTTP/HTTPS的监听器。 取值范围:1-300s。
|
113
|
+
:type member_timeout: int
|
114
|
+
:param client_timeout: 参数解释:等待客户端请求超时时间,仅限协议为HTTP,HTTPS的监听器配置。 约束限制:TCP,UDP协议的监听器不支持此字段。 取值范围:1-300s 默认取值:60s
|
115
|
+
:type client_timeout: int
|
116
|
+
:param keepalive_timeout: 参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求,负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s) 默认取值:60s。
|
117
|
+
:type keepalive_timeout: int
|
118
|
+
:param ipgroup:
|
119
|
+
:type ipgroup: :class:`huaweicloudsdkelb.v3.UpdateListenerIpGroupOption`
|
120
|
+
:param transparent_client_ip_enable: 参数解释:是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。 约束限制: - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) 取值范围: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 [只设支持置为true,不传默认为true。](tag:hws_eu,hcso_dt)
|
121
|
+
:type transparent_client_ip_enable: bool
|
122
|
+
:param proxy_protocol_enable: 参数解释:是否开启proxy_protocol。 约束限制:仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
|
123
|
+
:type proxy_protocol_enable: bool
|
124
|
+
:param enhance_l7policy_enable: 参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 约束限制: - 开启后不支持关闭。 - 开启高级转发策略后,监听器关联的转发策略的匹配优先级由转发策略的priority字段来决定,不再自动排序。具体说明详见转发策略的priority字段的说明。 取值范围:true开启,false不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt)
|
125
|
+
:type enhance_l7policy_enable: bool
|
126
|
+
:param quic_config:
|
127
|
+
:type quic_config: :class:`huaweicloudsdkelb.v3.UpdateListenerQuicConfigOption`
|
128
|
+
:param protection_status: 参数解释:修改保护状态。 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护
|
129
|
+
:type protection_status: str
|
130
|
+
:param protection_reason: 参数解释:设置保护的原因。作为protection_status的转态设置的原因。 约束限制:仅当protection_status为consoleProtection时有效。 取值范围:除'<'和'>'外通用Unicode字符集字符,最大255个字符。
|
131
|
+
:type protection_reason: str
|
132
|
+
:param gzip_enable: 参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,srg,fcs,fcs_vm,mix,ocb,ctc,cmcc,ct,sbc,hws_ocb,hk_sbc) 默认取值:false
|
133
|
+
:type gzip_enable: bool
|
134
|
+
:param ssl_early_data_enable: 参数解释:监听器0-RTT能力开关。 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。 默认取值:false
|
135
|
+
:type ssl_early_data_enable: bool
|
136
|
+
:param cps: 参数解释:监听器新建限速。 约束限制:当该限速值大于LB的限速值时,以LB的限速值生效。 取值范围:为0-1000000 默认取值:0,表示不限速。
|
137
|
+
:type cps: int
|
138
|
+
:param connection: 参数解释:监听器并发限速。 约束限制:当该限速值大于LB的限速值时,以LB的限速值生效。 取值范围:为0-1000000 默认取值:0,表示不限速。
|
139
|
+
:type connection: int
|
140
|
+
:param nat64_enable: 参数解释: 监听器地址族转换能力开关,可以实现客户端通过访问LB的IPv4或者IPv6地址,来访问IPv4后端和IPv6后端。 约束限制: 仅对于TCP、UDP协议类型的监听器生效,与transparent_client_ip_enable,获取客户端ip功能开关互斥,开启地址族转换同时需要保证获取客户端ip功能关闭。 取值范围: - true:开启地址族转换功能。 - false:关闭地址族转换功能。 默认取值:false
|
141
|
+
:type nat64_enable: bool
|
142
|
+
"""
|
65
143
|
|
66
144
|
|
67
145
|
|
@@ -74,13 +152,25 @@ class UpdateListenerOption:
|
|
74
152
|
self._insert_headers = None
|
75
153
|
self._name = None
|
76
154
|
self._sni_container_refs = None
|
155
|
+
self._sni_match_algo = None
|
77
156
|
self._tls_ciphers_policy = None
|
157
|
+
self._security_policy_id = None
|
78
158
|
self._enable_member_retry = None
|
79
159
|
self._member_timeout = None
|
80
160
|
self._client_timeout = None
|
81
161
|
self._keepalive_timeout = None
|
82
162
|
self._ipgroup = None
|
83
163
|
self._transparent_client_ip_enable = None
|
164
|
+
self._proxy_protocol_enable = None
|
165
|
+
self._enhance_l7policy_enable = None
|
166
|
+
self._quic_config = None
|
167
|
+
self._protection_status = None
|
168
|
+
self._protection_reason = None
|
169
|
+
self._gzip_enable = None
|
170
|
+
self._ssl_early_data_enable = None
|
171
|
+
self._cps = None
|
172
|
+
self._connection = None
|
173
|
+
self._nat64_enable = None
|
84
174
|
self.discriminator = None
|
85
175
|
|
86
176
|
if admin_state_up is not None:
|
@@ -101,8 +191,12 @@ class UpdateListenerOption:
|
|
101
191
|
self.name = name
|
102
192
|
if sni_container_refs is not None:
|
103
193
|
self.sni_container_refs = sni_container_refs
|
194
|
+
if sni_match_algo is not None:
|
195
|
+
self.sni_match_algo = sni_match_algo
|
104
196
|
if tls_ciphers_policy is not None:
|
105
197
|
self.tls_ciphers_policy = tls_ciphers_policy
|
198
|
+
if security_policy_id is not None:
|
199
|
+
self.security_policy_id = security_policy_id
|
106
200
|
if enable_member_retry is not None:
|
107
201
|
self.enable_member_retry = enable_member_retry
|
108
202
|
if member_timeout is not None:
|
@@ -115,12 +209,32 @@ class UpdateListenerOption:
|
|
115
209
|
self.ipgroup = ipgroup
|
116
210
|
if transparent_client_ip_enable is not None:
|
117
211
|
self.transparent_client_ip_enable = transparent_client_ip_enable
|
212
|
+
if proxy_protocol_enable is not None:
|
213
|
+
self.proxy_protocol_enable = proxy_protocol_enable
|
214
|
+
if enhance_l7policy_enable is not None:
|
215
|
+
self.enhance_l7policy_enable = enhance_l7policy_enable
|
216
|
+
if quic_config is not None:
|
217
|
+
self.quic_config = quic_config
|
218
|
+
if protection_status is not None:
|
219
|
+
self.protection_status = protection_status
|
220
|
+
if protection_reason is not None:
|
221
|
+
self.protection_reason = protection_reason
|
222
|
+
if gzip_enable is not None:
|
223
|
+
self.gzip_enable = gzip_enable
|
224
|
+
if ssl_early_data_enable is not None:
|
225
|
+
self.ssl_early_data_enable = ssl_early_data_enable
|
226
|
+
if cps is not None:
|
227
|
+
self.cps = cps
|
228
|
+
if connection is not None:
|
229
|
+
self.connection = connection
|
230
|
+
if nat64_enable is not None:
|
231
|
+
self.nat64_enable = nat64_enable
|
118
232
|
|
119
233
|
@property
|
120
234
|
def admin_state_up(self):
|
121
|
-
"""Gets the admin_state_up of this UpdateListenerOption.
|
235
|
+
r"""Gets the admin_state_up of this UpdateListenerOption.
|
122
236
|
|
123
|
-
|
237
|
+
参数解释:监听器的管理状态。 约束限制:只支持更新为true。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
124
238
|
|
125
239
|
:return: The admin_state_up of this UpdateListenerOption.
|
126
240
|
:rtype: bool
|
@@ -129,20 +243,20 @@ class UpdateListenerOption:
|
|
129
243
|
|
130
244
|
@admin_state_up.setter
|
131
245
|
def admin_state_up(self, admin_state_up):
|
132
|
-
"""Sets the admin_state_up of this UpdateListenerOption.
|
246
|
+
r"""Sets the admin_state_up of this UpdateListenerOption.
|
133
247
|
|
134
|
-
|
248
|
+
参数解释:监听器的管理状态。 约束限制:只支持更新为true。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
135
249
|
|
136
250
|
:param admin_state_up: The admin_state_up of this UpdateListenerOption.
|
137
|
-
:type: bool
|
251
|
+
:type admin_state_up: bool
|
138
252
|
"""
|
139
253
|
self._admin_state_up = admin_state_up
|
140
254
|
|
141
255
|
@property
|
142
256
|
def client_ca_tls_container_ref(self):
|
143
|
-
"""Gets the client_ca_tls_container_ref of this UpdateListenerOption.
|
257
|
+
r"""Gets the client_ca_tls_container_ref of this UpdateListenerOption.
|
144
258
|
|
145
|
-
|
259
|
+
参数解释:监听器使用的CA证书ID。 约束限制: - 当且仅当type=client时,才会使用该字段对应的证书。 - 监听器协议为QUIC时不支持该字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
146
260
|
|
147
261
|
:return: The client_ca_tls_container_ref of this UpdateListenerOption.
|
148
262
|
:rtype: str
|
@@ -151,20 +265,20 @@ class UpdateListenerOption:
|
|
151
265
|
|
152
266
|
@client_ca_tls_container_ref.setter
|
153
267
|
def client_ca_tls_container_ref(self, client_ca_tls_container_ref):
|
154
|
-
"""Sets the client_ca_tls_container_ref of this UpdateListenerOption.
|
268
|
+
r"""Sets the client_ca_tls_container_ref of this UpdateListenerOption.
|
155
269
|
|
156
|
-
|
270
|
+
参数解释:监听器使用的CA证书ID。 约束限制: - 当且仅当type=client时,才会使用该字段对应的证书。 - 监听器协议为QUIC时不支持该字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
157
271
|
|
158
272
|
:param client_ca_tls_container_ref: The client_ca_tls_container_ref of this UpdateListenerOption.
|
159
|
-
:type: str
|
273
|
+
:type client_ca_tls_container_ref: str
|
160
274
|
"""
|
161
275
|
self._client_ca_tls_container_ref = client_ca_tls_container_ref
|
162
276
|
|
163
277
|
@property
|
164
278
|
def default_pool_id(self):
|
165
|
-
"""Gets the default_pool_id of this UpdateListenerOption.
|
279
|
+
r"""Gets the default_pool_id of this UpdateListenerOption.
|
166
280
|
|
167
|
-
|
281
|
+
参数解释:监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。
|
168
282
|
|
169
283
|
:return: The default_pool_id of this UpdateListenerOption.
|
170
284
|
:rtype: str
|
@@ -173,20 +287,20 @@ class UpdateListenerOption:
|
|
173
287
|
|
174
288
|
@default_pool_id.setter
|
175
289
|
def default_pool_id(self, default_pool_id):
|
176
|
-
"""Sets the default_pool_id of this UpdateListenerOption.
|
290
|
+
r"""Sets the default_pool_id of this UpdateListenerOption.
|
177
291
|
|
178
|
-
|
292
|
+
参数解释:监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。
|
179
293
|
|
180
294
|
:param default_pool_id: The default_pool_id of this UpdateListenerOption.
|
181
|
-
:type: str
|
295
|
+
:type default_pool_id: str
|
182
296
|
"""
|
183
297
|
self._default_pool_id = default_pool_id
|
184
298
|
|
185
299
|
@property
|
186
300
|
def default_tls_container_ref(self):
|
187
|
-
"""Gets the default_tls_container_ref of this UpdateListenerOption.
|
301
|
+
r"""Gets the default_tls_container_ref of this UpdateListenerOption.
|
188
302
|
|
189
|
-
|
303
|
+
参数解释:监听器使用的服务器证书ID。 约束限制:当监听器协议为HTTPS时,该字段必传,且对应的证书的type必须是server类型。
|
190
304
|
|
191
305
|
:return: The default_tls_container_ref of this UpdateListenerOption.
|
192
306
|
:rtype: str
|
@@ -195,20 +309,20 @@ class UpdateListenerOption:
|
|
195
309
|
|
196
310
|
@default_tls_container_ref.setter
|
197
311
|
def default_tls_container_ref(self, default_tls_container_ref):
|
198
|
-
"""Sets the default_tls_container_ref of this UpdateListenerOption.
|
312
|
+
r"""Sets the default_tls_container_ref of this UpdateListenerOption.
|
199
313
|
|
200
|
-
|
314
|
+
参数解释:监听器使用的服务器证书ID。 约束限制:当监听器协议为HTTPS时,该字段必传,且对应的证书的type必须是server类型。
|
201
315
|
|
202
316
|
:param default_tls_container_ref: The default_tls_container_ref of this UpdateListenerOption.
|
203
|
-
:type: str
|
317
|
+
:type default_tls_container_ref: str
|
204
318
|
"""
|
205
319
|
self._default_tls_container_ref = default_tls_container_ref
|
206
320
|
|
207
321
|
@property
|
208
322
|
def description(self):
|
209
|
-
"""Gets the description of this UpdateListenerOption.
|
323
|
+
r"""Gets the description of this UpdateListenerOption.
|
210
324
|
|
211
|
-
|
325
|
+
参数解释:监听器的描述信息。
|
212
326
|
|
213
327
|
:return: The description of this UpdateListenerOption.
|
214
328
|
:rtype: str
|
@@ -217,20 +331,20 @@ class UpdateListenerOption:
|
|
217
331
|
|
218
332
|
@description.setter
|
219
333
|
def description(self, description):
|
220
|
-
"""Sets the description of this UpdateListenerOption.
|
334
|
+
r"""Sets the description of this UpdateListenerOption.
|
221
335
|
|
222
|
-
|
336
|
+
参数解释:监听器的描述信息。
|
223
337
|
|
224
338
|
:param description: The description of this UpdateListenerOption.
|
225
|
-
:type: str
|
339
|
+
:type description: str
|
226
340
|
"""
|
227
341
|
self._description = description
|
228
342
|
|
229
343
|
@property
|
230
344
|
def http2_enable(self):
|
231
|
-
"""Gets the http2_enable of this UpdateListenerOption.
|
345
|
+
r"""Gets the http2_enable of this UpdateListenerOption.
|
232
346
|
|
233
|
-
HTTP2
|
347
|
+
参数解释:客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 约束限制: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
234
348
|
|
235
349
|
:return: The http2_enable of this UpdateListenerOption.
|
236
350
|
:rtype: bool
|
@@ -239,40 +353,38 @@ class UpdateListenerOption:
|
|
239
353
|
|
240
354
|
@http2_enable.setter
|
241
355
|
def http2_enable(self, http2_enable):
|
242
|
-
"""Sets the http2_enable of this UpdateListenerOption.
|
356
|
+
r"""Sets the http2_enable of this UpdateListenerOption.
|
243
357
|
|
244
|
-
HTTP2
|
358
|
+
参数解释:客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 约束限制: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
245
359
|
|
246
360
|
:param http2_enable: The http2_enable of this UpdateListenerOption.
|
247
|
-
:type: bool
|
361
|
+
:type http2_enable: bool
|
248
362
|
"""
|
249
363
|
self._http2_enable = http2_enable
|
250
364
|
|
251
365
|
@property
|
252
366
|
def insert_headers(self):
|
253
|
-
"""Gets the insert_headers of this UpdateListenerOption.
|
254
|
-
|
367
|
+
r"""Gets the insert_headers of this UpdateListenerOption.
|
255
368
|
|
256
369
|
:return: The insert_headers of this UpdateListenerOption.
|
257
|
-
:rtype: ListenerInsertHeaders
|
370
|
+
:rtype: :class:`huaweicloudsdkelb.v3.ListenerInsertHeaders`
|
258
371
|
"""
|
259
372
|
return self._insert_headers
|
260
373
|
|
261
374
|
@insert_headers.setter
|
262
375
|
def insert_headers(self, insert_headers):
|
263
|
-
"""Sets the insert_headers of this UpdateListenerOption.
|
264
|
-
|
376
|
+
r"""Sets the insert_headers of this UpdateListenerOption.
|
265
377
|
|
266
378
|
:param insert_headers: The insert_headers of this UpdateListenerOption.
|
267
|
-
:type: ListenerInsertHeaders
|
379
|
+
:type insert_headers: :class:`huaweicloudsdkelb.v3.ListenerInsertHeaders`
|
268
380
|
"""
|
269
381
|
self._insert_headers = insert_headers
|
270
382
|
|
271
383
|
@property
|
272
384
|
def name(self):
|
273
|
-
"""Gets the name of this UpdateListenerOption.
|
385
|
+
r"""Gets the name of this UpdateListenerOption.
|
274
386
|
|
275
|
-
|
387
|
+
参数解释:监听器的名称。 约束限制:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
|
276
388
|
|
277
389
|
:return: The name of this UpdateListenerOption.
|
278
390
|
:rtype: str
|
@@ -281,20 +393,20 @@ class UpdateListenerOption:
|
|
281
393
|
|
282
394
|
@name.setter
|
283
395
|
def name(self, name):
|
284
|
-
"""Sets the name of this UpdateListenerOption.
|
396
|
+
r"""Sets the name of this UpdateListenerOption.
|
285
397
|
|
286
|
-
|
398
|
+
参数解释:监听器的名称。 约束限制:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
|
287
399
|
|
288
400
|
:param name: The name of this UpdateListenerOption.
|
289
|
-
:type: str
|
401
|
+
:type name: str
|
290
402
|
"""
|
291
403
|
self._name = name
|
292
404
|
|
293
405
|
@property
|
294
406
|
def sni_container_refs(self):
|
295
|
-
"""Gets the sni_container_refs of this UpdateListenerOption.
|
407
|
+
r"""Gets the sni_container_refs of this UpdateListenerOption.
|
296
408
|
|
297
|
-
|
409
|
+
参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - QUIC监听器仅支持RSA证书。 - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过200。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
298
410
|
|
299
411
|
:return: The sni_container_refs of this UpdateListenerOption.
|
300
412
|
:rtype: list[str]
|
@@ -303,20 +415,42 @@ class UpdateListenerOption:
|
|
303
415
|
|
304
416
|
@sni_container_refs.setter
|
305
417
|
def sni_container_refs(self, sni_container_refs):
|
306
|
-
"""Sets the sni_container_refs of this UpdateListenerOption.
|
418
|
+
r"""Sets the sni_container_refs of this UpdateListenerOption.
|
307
419
|
|
308
|
-
|
420
|
+
参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - QUIC监听器仅支持RSA证书。 - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过200。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
309
421
|
|
310
422
|
:param sni_container_refs: The sni_container_refs of this UpdateListenerOption.
|
311
|
-
:type: list[str]
|
423
|
+
:type sni_container_refs: list[str]
|
312
424
|
"""
|
313
425
|
self._sni_container_refs = sni_container_refs
|
314
426
|
|
427
|
+
@property
|
428
|
+
def sni_match_algo(self):
|
429
|
+
r"""Gets the sni_match_algo of this UpdateListenerOption.
|
430
|
+
|
431
|
+
参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围: - longest_suffix表示最长尾缀匹配。 - wildcard表示标准域名分级匹配。 默认取值:wildcard。
|
432
|
+
|
433
|
+
:return: The sni_match_algo of this UpdateListenerOption.
|
434
|
+
:rtype: str
|
435
|
+
"""
|
436
|
+
return self._sni_match_algo
|
437
|
+
|
438
|
+
@sni_match_algo.setter
|
439
|
+
def sni_match_algo(self, sni_match_algo):
|
440
|
+
r"""Sets the sni_match_algo of this UpdateListenerOption.
|
441
|
+
|
442
|
+
参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围: - longest_suffix表示最长尾缀匹配。 - wildcard表示标准域名分级匹配。 默认取值:wildcard。
|
443
|
+
|
444
|
+
:param sni_match_algo: The sni_match_algo of this UpdateListenerOption.
|
445
|
+
:type sni_match_algo: str
|
446
|
+
"""
|
447
|
+
self._sni_match_algo = sni_match_algo
|
448
|
+
|
315
449
|
@property
|
316
450
|
def tls_ciphers_policy(self):
|
317
|
-
"""Gets the tls_ciphers_policy of this UpdateListenerOption.
|
451
|
+
r"""Gets the tls_ciphers_policy of this UpdateListenerOption.
|
318
452
|
|
319
|
-
|
453
|
+
参数解释:监听器使用的安全策略。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,ct,sbc,g42,tm,cmcc,hk_g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-1-0-with-1-3、 tls-1-2-fs-with-1-3、 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-2。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,ct,sbc,tm,cmcc,dt) [取值范围:tls-1-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-2。](tag:hws_eu,g42,hk_g42,hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
320
454
|
|
321
455
|
:return: The tls_ciphers_policy of this UpdateListenerOption.
|
322
456
|
:rtype: str
|
@@ -325,20 +459,42 @@ class UpdateListenerOption:
|
|
325
459
|
|
326
460
|
@tls_ciphers_policy.setter
|
327
461
|
def tls_ciphers_policy(self, tls_ciphers_policy):
|
328
|
-
"""Sets the tls_ciphers_policy of this UpdateListenerOption.
|
462
|
+
r"""Sets the tls_ciphers_policy of this UpdateListenerOption.
|
329
463
|
|
330
|
-
|
464
|
+
参数解释:监听器使用的安全策略。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,ct,sbc,g42,tm,cmcc,hk_g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-1-0-with-1-3、 tls-1-2-fs-with-1-3、 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-2。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,ct,sbc,tm,cmcc,dt) [取值范围:tls-1-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-2。](tag:hws_eu,g42,hk_g42,hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
331
465
|
|
332
466
|
:param tls_ciphers_policy: The tls_ciphers_policy of this UpdateListenerOption.
|
333
|
-
:type: str
|
467
|
+
:type tls_ciphers_policy: str
|
334
468
|
"""
|
335
469
|
self._tls_ciphers_policy = tls_ciphers_policy
|
336
470
|
|
471
|
+
@property
|
472
|
+
def security_policy_id(self):
|
473
|
+
r"""Gets the security_policy_id of this UpdateListenerOption.
|
474
|
+
|
475
|
+
参数解释:自定义安全策略的ID。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,ctc,hcso,g42,tm,cmcc,hk_g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:hws_eu,g42,hk_g42)
|
476
|
+
|
477
|
+
:return: The security_policy_id of this UpdateListenerOption.
|
478
|
+
:rtype: str
|
479
|
+
"""
|
480
|
+
return self._security_policy_id
|
481
|
+
|
482
|
+
@security_policy_id.setter
|
483
|
+
def security_policy_id(self, security_policy_id):
|
484
|
+
r"""Sets the security_policy_id of this UpdateListenerOption.
|
485
|
+
|
486
|
+
参数解释:自定义安全策略的ID。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,ctc,hcso,g42,tm,cmcc,hk_g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:hws_eu,g42,hk_g42)
|
487
|
+
|
488
|
+
:param security_policy_id: The security_policy_id of this UpdateListenerOption.
|
489
|
+
:type security_policy_id: str
|
490
|
+
"""
|
491
|
+
self._security_policy_id = security_policy_id
|
492
|
+
|
337
493
|
@property
|
338
494
|
def enable_member_retry(self):
|
339
|
-
"""Gets the enable_member_retry of this UpdateListenerOption.
|
495
|
+
r"""Gets the enable_member_retry of this UpdateListenerOption.
|
340
496
|
|
341
|
-
|
497
|
+
参数解释:是否开启后端服务器的重试。 [约束限制: - 若关联是共享型LB,仅在protocol为HTTP、TERMINATED_HTTPS时才能传入该字段。 - 若关联是独享型LB,仅在protocol为HTTP、HTTPS和QUIC时才能传入该字段。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) [约束限制: - 仅在protocol为HTTP、HTTPS时才能传入该字段。](tag:hws_eu,hcso_dt) 取值范围:true 开启重试;false 不开启重试。 默认取值:true。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
342
498
|
|
343
499
|
:return: The enable_member_retry of this UpdateListenerOption.
|
344
500
|
:rtype: bool
|
@@ -347,20 +503,20 @@ class UpdateListenerOption:
|
|
347
503
|
|
348
504
|
@enable_member_retry.setter
|
349
505
|
def enable_member_retry(self, enable_member_retry):
|
350
|
-
"""Sets the enable_member_retry of this UpdateListenerOption.
|
506
|
+
r"""Sets the enable_member_retry of this UpdateListenerOption.
|
351
507
|
|
352
|
-
|
508
|
+
参数解释:是否开启后端服务器的重试。 [约束限制: - 若关联是共享型LB,仅在protocol为HTTP、TERMINATED_HTTPS时才能传入该字段。 - 若关联是独享型LB,仅在protocol为HTTP、HTTPS和QUIC时才能传入该字段。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) [约束限制: - 仅在protocol为HTTP、HTTPS时才能传入该字段。](tag:hws_eu,hcso_dt) 取值范围:true 开启重试;false 不开启重试。 默认取值:true。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
353
509
|
|
354
510
|
:param enable_member_retry: The enable_member_retry of this UpdateListenerOption.
|
355
|
-
:type: bool
|
511
|
+
:type enable_member_retry: bool
|
356
512
|
"""
|
357
513
|
self._enable_member_retry = enable_member_retry
|
358
514
|
|
359
515
|
@property
|
360
516
|
def member_timeout(self):
|
361
|
-
"""Gets the member_timeout of this UpdateListenerOption.
|
517
|
+
r"""Gets the member_timeout of this UpdateListenerOption.
|
362
518
|
|
363
|
-
|
519
|
+
参数解释:等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回HTTP504错误码。 约束限制:仅支持协议为HTTP/HTTPS的监听器。 取值范围:1-300s。
|
364
520
|
|
365
521
|
:return: The member_timeout of this UpdateListenerOption.
|
366
522
|
:rtype: int
|
@@ -369,20 +525,20 @@ class UpdateListenerOption:
|
|
369
525
|
|
370
526
|
@member_timeout.setter
|
371
527
|
def member_timeout(self, member_timeout):
|
372
|
-
"""Sets the member_timeout of this UpdateListenerOption.
|
528
|
+
r"""Sets the member_timeout of this UpdateListenerOption.
|
373
529
|
|
374
|
-
|
530
|
+
参数解释:等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回HTTP504错误码。 约束限制:仅支持协议为HTTP/HTTPS的监听器。 取值范围:1-300s。
|
375
531
|
|
376
532
|
:param member_timeout: The member_timeout of this UpdateListenerOption.
|
377
|
-
:type: int
|
533
|
+
:type member_timeout: int
|
378
534
|
"""
|
379
535
|
self._member_timeout = member_timeout
|
380
536
|
|
381
537
|
@property
|
382
538
|
def client_timeout(self):
|
383
|
-
"""Gets the client_timeout of this UpdateListenerOption.
|
539
|
+
r"""Gets the client_timeout of this UpdateListenerOption.
|
384
540
|
|
385
|
-
|
541
|
+
参数解释:等待客户端请求超时时间,仅限协议为HTTP,HTTPS的监听器配置。 约束限制:TCP,UDP协议的监听器不支持此字段。 取值范围:1-300s 默认取值:60s
|
386
542
|
|
387
543
|
:return: The client_timeout of this UpdateListenerOption.
|
388
544
|
:rtype: int
|
@@ -391,20 +547,20 @@ class UpdateListenerOption:
|
|
391
547
|
|
392
548
|
@client_timeout.setter
|
393
549
|
def client_timeout(self, client_timeout):
|
394
|
-
"""Sets the client_timeout of this UpdateListenerOption.
|
550
|
+
r"""Sets the client_timeout of this UpdateListenerOption.
|
395
551
|
|
396
|
-
|
552
|
+
参数解释:等待客户端请求超时时间,仅限协议为HTTP,HTTPS的监听器配置。 约束限制:TCP,UDP协议的监听器不支持此字段。 取值范围:1-300s 默认取值:60s
|
397
553
|
|
398
554
|
:param client_timeout: The client_timeout of this UpdateListenerOption.
|
399
|
-
:type: int
|
555
|
+
:type client_timeout: int
|
400
556
|
"""
|
401
557
|
self._client_timeout = client_timeout
|
402
558
|
|
403
559
|
@property
|
404
560
|
def keepalive_timeout(self):
|
405
|
-
"""Gets the keepalive_timeout of this UpdateListenerOption.
|
561
|
+
r"""Gets the keepalive_timeout of this UpdateListenerOption.
|
406
562
|
|
407
|
-
TCP
|
563
|
+
参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求,负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s) 默认取值:60s。
|
408
564
|
|
409
565
|
:return: The keepalive_timeout of this UpdateListenerOption.
|
410
566
|
:rtype: int
|
@@ -413,40 +569,38 @@ class UpdateListenerOption:
|
|
413
569
|
|
414
570
|
@keepalive_timeout.setter
|
415
571
|
def keepalive_timeout(self, keepalive_timeout):
|
416
|
-
"""Sets the keepalive_timeout of this UpdateListenerOption.
|
572
|
+
r"""Sets the keepalive_timeout of this UpdateListenerOption.
|
417
573
|
|
418
|
-
TCP
|
574
|
+
参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求,负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s) 默认取值:60s。
|
419
575
|
|
420
576
|
:param keepalive_timeout: The keepalive_timeout of this UpdateListenerOption.
|
421
|
-
:type: int
|
577
|
+
:type keepalive_timeout: int
|
422
578
|
"""
|
423
579
|
self._keepalive_timeout = keepalive_timeout
|
424
580
|
|
425
581
|
@property
|
426
582
|
def ipgroup(self):
|
427
|
-
"""Gets the ipgroup of this UpdateListenerOption.
|
428
|
-
|
583
|
+
r"""Gets the ipgroup of this UpdateListenerOption.
|
429
584
|
|
430
585
|
:return: The ipgroup of this UpdateListenerOption.
|
431
|
-
:rtype: UpdateListenerIpGroupOption
|
586
|
+
:rtype: :class:`huaweicloudsdkelb.v3.UpdateListenerIpGroupOption`
|
432
587
|
"""
|
433
588
|
return self._ipgroup
|
434
589
|
|
435
590
|
@ipgroup.setter
|
436
591
|
def ipgroup(self, ipgroup):
|
437
|
-
"""Sets the ipgroup of this UpdateListenerOption.
|
438
|
-
|
592
|
+
r"""Sets the ipgroup of this UpdateListenerOption.
|
439
593
|
|
440
594
|
:param ipgroup: The ipgroup of this UpdateListenerOption.
|
441
|
-
:type: UpdateListenerIpGroupOption
|
595
|
+
:type ipgroup: :class:`huaweicloudsdkelb.v3.UpdateListenerIpGroupOption`
|
442
596
|
"""
|
443
597
|
self._ipgroup = ipgroup
|
444
598
|
|
445
599
|
@property
|
446
600
|
def transparent_client_ip_enable(self):
|
447
|
-
"""Gets the transparent_client_ip_enable of this UpdateListenerOption.
|
601
|
+
r"""Gets the transparent_client_ip_enable of this UpdateListenerOption.
|
448
602
|
|
449
|
-
|
603
|
+
参数解释:是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。 约束限制: - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) 取值范围: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 [只设支持置为true,不传默认为true。](tag:hws_eu,hcso_dt)
|
450
604
|
|
451
605
|
:return: The transparent_client_ip_enable of this UpdateListenerOption.
|
452
606
|
:rtype: bool
|
@@ -455,15 +609,231 @@ class UpdateListenerOption:
|
|
455
609
|
|
456
610
|
@transparent_client_ip_enable.setter
|
457
611
|
def transparent_client_ip_enable(self, transparent_client_ip_enable):
|
458
|
-
"""Sets the transparent_client_ip_enable of this UpdateListenerOption.
|
612
|
+
r"""Sets the transparent_client_ip_enable of this UpdateListenerOption.
|
459
613
|
|
460
|
-
|
614
|
+
参数解释:是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。 约束限制: - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) 取值范围: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 [只设支持置为true,不传默认为true。](tag:hws_eu,hcso_dt)
|
461
615
|
|
462
616
|
:param transparent_client_ip_enable: The transparent_client_ip_enable of this UpdateListenerOption.
|
463
|
-
:type: bool
|
617
|
+
:type transparent_client_ip_enable: bool
|
464
618
|
"""
|
465
619
|
self._transparent_client_ip_enable = transparent_client_ip_enable
|
466
620
|
|
621
|
+
@property
|
622
|
+
def proxy_protocol_enable(self):
|
623
|
+
r"""Gets the proxy_protocol_enable of this UpdateListenerOption.
|
624
|
+
|
625
|
+
参数解释:是否开启proxy_protocol。 约束限制:仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
|
626
|
+
|
627
|
+
:return: The proxy_protocol_enable of this UpdateListenerOption.
|
628
|
+
:rtype: bool
|
629
|
+
"""
|
630
|
+
return self._proxy_protocol_enable
|
631
|
+
|
632
|
+
@proxy_protocol_enable.setter
|
633
|
+
def proxy_protocol_enable(self, proxy_protocol_enable):
|
634
|
+
r"""Sets the proxy_protocol_enable of this UpdateListenerOption.
|
635
|
+
|
636
|
+
参数解释:是否开启proxy_protocol。 约束限制:仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
|
637
|
+
|
638
|
+
:param proxy_protocol_enable: The proxy_protocol_enable of this UpdateListenerOption.
|
639
|
+
:type proxy_protocol_enable: bool
|
640
|
+
"""
|
641
|
+
self._proxy_protocol_enable = proxy_protocol_enable
|
642
|
+
|
643
|
+
@property
|
644
|
+
def enhance_l7policy_enable(self):
|
645
|
+
r"""Gets the enhance_l7policy_enable of this UpdateListenerOption.
|
646
|
+
|
647
|
+
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 约束限制: - 开启后不支持关闭。 - 开启高级转发策略后,监听器关联的转发策略的匹配优先级由转发策略的priority字段来决定,不再自动排序。具体说明详见转发策略的priority字段的说明。 取值范围:true开启,false不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt)
|
648
|
+
|
649
|
+
:return: The enhance_l7policy_enable of this UpdateListenerOption.
|
650
|
+
:rtype: bool
|
651
|
+
"""
|
652
|
+
return self._enhance_l7policy_enable
|
653
|
+
|
654
|
+
@enhance_l7policy_enable.setter
|
655
|
+
def enhance_l7policy_enable(self, enhance_l7policy_enable):
|
656
|
+
r"""Sets the enhance_l7policy_enable of this UpdateListenerOption.
|
657
|
+
|
658
|
+
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 约束限制: - 开启后不支持关闭。 - 开启高级转发策略后,监听器关联的转发策略的匹配优先级由转发策略的priority字段来决定,不再自动排序。具体说明详见转发策略的priority字段的说明。 取值范围:true开启,false不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt)
|
659
|
+
|
660
|
+
:param enhance_l7policy_enable: The enhance_l7policy_enable of this UpdateListenerOption.
|
661
|
+
:type enhance_l7policy_enable: bool
|
662
|
+
"""
|
663
|
+
self._enhance_l7policy_enable = enhance_l7policy_enable
|
664
|
+
|
665
|
+
@property
|
666
|
+
def quic_config(self):
|
667
|
+
r"""Gets the quic_config of this UpdateListenerOption.
|
668
|
+
|
669
|
+
:return: The quic_config of this UpdateListenerOption.
|
670
|
+
:rtype: :class:`huaweicloudsdkelb.v3.UpdateListenerQuicConfigOption`
|
671
|
+
"""
|
672
|
+
return self._quic_config
|
673
|
+
|
674
|
+
@quic_config.setter
|
675
|
+
def quic_config(self, quic_config):
|
676
|
+
r"""Sets the quic_config of this UpdateListenerOption.
|
677
|
+
|
678
|
+
:param quic_config: The quic_config of this UpdateListenerOption.
|
679
|
+
:type quic_config: :class:`huaweicloudsdkelb.v3.UpdateListenerQuicConfigOption`
|
680
|
+
"""
|
681
|
+
self._quic_config = quic_config
|
682
|
+
|
683
|
+
@property
|
684
|
+
def protection_status(self):
|
685
|
+
r"""Gets the protection_status of this UpdateListenerOption.
|
686
|
+
|
687
|
+
参数解释:修改保护状态。 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护
|
688
|
+
|
689
|
+
:return: The protection_status of this UpdateListenerOption.
|
690
|
+
:rtype: str
|
691
|
+
"""
|
692
|
+
return self._protection_status
|
693
|
+
|
694
|
+
@protection_status.setter
|
695
|
+
def protection_status(self, protection_status):
|
696
|
+
r"""Sets the protection_status of this UpdateListenerOption.
|
697
|
+
|
698
|
+
参数解释:修改保护状态。 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护
|
699
|
+
|
700
|
+
:param protection_status: The protection_status of this UpdateListenerOption.
|
701
|
+
:type protection_status: str
|
702
|
+
"""
|
703
|
+
self._protection_status = protection_status
|
704
|
+
|
705
|
+
@property
|
706
|
+
def protection_reason(self):
|
707
|
+
r"""Gets the protection_reason of this UpdateListenerOption.
|
708
|
+
|
709
|
+
参数解释:设置保护的原因。作为protection_status的转态设置的原因。 约束限制:仅当protection_status为consoleProtection时有效。 取值范围:除'<'和'>'外通用Unicode字符集字符,最大255个字符。
|
710
|
+
|
711
|
+
:return: The protection_reason of this UpdateListenerOption.
|
712
|
+
:rtype: str
|
713
|
+
"""
|
714
|
+
return self._protection_reason
|
715
|
+
|
716
|
+
@protection_reason.setter
|
717
|
+
def protection_reason(self, protection_reason):
|
718
|
+
r"""Sets the protection_reason of this UpdateListenerOption.
|
719
|
+
|
720
|
+
参数解释:设置保护的原因。作为protection_status的转态设置的原因。 约束限制:仅当protection_status为consoleProtection时有效。 取值范围:除'<'和'>'外通用Unicode字符集字符,最大255个字符。
|
721
|
+
|
722
|
+
:param protection_reason: The protection_reason of this UpdateListenerOption.
|
723
|
+
:type protection_reason: str
|
724
|
+
"""
|
725
|
+
self._protection_reason = protection_reason
|
726
|
+
|
727
|
+
@property
|
728
|
+
def gzip_enable(self):
|
729
|
+
r"""Gets the gzip_enable of this UpdateListenerOption.
|
730
|
+
|
731
|
+
参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,srg,fcs,fcs_vm,mix,ocb,ctc,cmcc,ct,sbc,hws_ocb,hk_sbc) 默认取值:false
|
732
|
+
|
733
|
+
:return: The gzip_enable of this UpdateListenerOption.
|
734
|
+
:rtype: bool
|
735
|
+
"""
|
736
|
+
return self._gzip_enable
|
737
|
+
|
738
|
+
@gzip_enable.setter
|
739
|
+
def gzip_enable(self, gzip_enable):
|
740
|
+
r"""Sets the gzip_enable of this UpdateListenerOption.
|
741
|
+
|
742
|
+
参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,srg,fcs,fcs_vm,mix,ocb,ctc,cmcc,ct,sbc,hws_ocb,hk_sbc) 默认取值:false
|
743
|
+
|
744
|
+
:param gzip_enable: The gzip_enable of this UpdateListenerOption.
|
745
|
+
:type gzip_enable: bool
|
746
|
+
"""
|
747
|
+
self._gzip_enable = gzip_enable
|
748
|
+
|
749
|
+
@property
|
750
|
+
def ssl_early_data_enable(self):
|
751
|
+
r"""Gets the ssl_early_data_enable of this UpdateListenerOption.
|
752
|
+
|
753
|
+
参数解释:监听器0-RTT能力开关。 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。 默认取值:false
|
754
|
+
|
755
|
+
:return: The ssl_early_data_enable of this UpdateListenerOption.
|
756
|
+
:rtype: bool
|
757
|
+
"""
|
758
|
+
return self._ssl_early_data_enable
|
759
|
+
|
760
|
+
@ssl_early_data_enable.setter
|
761
|
+
def ssl_early_data_enable(self, ssl_early_data_enable):
|
762
|
+
r"""Sets the ssl_early_data_enable of this UpdateListenerOption.
|
763
|
+
|
764
|
+
参数解释:监听器0-RTT能力开关。 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。 默认取值:false
|
765
|
+
|
766
|
+
:param ssl_early_data_enable: The ssl_early_data_enable of this UpdateListenerOption.
|
767
|
+
:type ssl_early_data_enable: bool
|
768
|
+
"""
|
769
|
+
self._ssl_early_data_enable = ssl_early_data_enable
|
770
|
+
|
771
|
+
@property
|
772
|
+
def cps(self):
|
773
|
+
r"""Gets the cps of this UpdateListenerOption.
|
774
|
+
|
775
|
+
参数解释:监听器新建限速。 约束限制:当该限速值大于LB的限速值时,以LB的限速值生效。 取值范围:为0-1000000 默认取值:0,表示不限速。
|
776
|
+
|
777
|
+
:return: The cps of this UpdateListenerOption.
|
778
|
+
:rtype: int
|
779
|
+
"""
|
780
|
+
return self._cps
|
781
|
+
|
782
|
+
@cps.setter
|
783
|
+
def cps(self, cps):
|
784
|
+
r"""Sets the cps of this UpdateListenerOption.
|
785
|
+
|
786
|
+
参数解释:监听器新建限速。 约束限制:当该限速值大于LB的限速值时,以LB的限速值生效。 取值范围:为0-1000000 默认取值:0,表示不限速。
|
787
|
+
|
788
|
+
:param cps: The cps of this UpdateListenerOption.
|
789
|
+
:type cps: int
|
790
|
+
"""
|
791
|
+
self._cps = cps
|
792
|
+
|
793
|
+
@property
|
794
|
+
def connection(self):
|
795
|
+
r"""Gets the connection of this UpdateListenerOption.
|
796
|
+
|
797
|
+
参数解释:监听器并发限速。 约束限制:当该限速值大于LB的限速值时,以LB的限速值生效。 取值范围:为0-1000000 默认取值:0,表示不限速。
|
798
|
+
|
799
|
+
:return: The connection of this UpdateListenerOption.
|
800
|
+
:rtype: int
|
801
|
+
"""
|
802
|
+
return self._connection
|
803
|
+
|
804
|
+
@connection.setter
|
805
|
+
def connection(self, connection):
|
806
|
+
r"""Sets the connection of this UpdateListenerOption.
|
807
|
+
|
808
|
+
参数解释:监听器并发限速。 约束限制:当该限速值大于LB的限速值时,以LB的限速值生效。 取值范围:为0-1000000 默认取值:0,表示不限速。
|
809
|
+
|
810
|
+
:param connection: The connection of this UpdateListenerOption.
|
811
|
+
:type connection: int
|
812
|
+
"""
|
813
|
+
self._connection = connection
|
814
|
+
|
815
|
+
@property
|
816
|
+
def nat64_enable(self):
|
817
|
+
r"""Gets the nat64_enable of this UpdateListenerOption.
|
818
|
+
|
819
|
+
参数解释: 监听器地址族转换能力开关,可以实现客户端通过访问LB的IPv4或者IPv6地址,来访问IPv4后端和IPv6后端。 约束限制: 仅对于TCP、UDP协议类型的监听器生效,与transparent_client_ip_enable,获取客户端ip功能开关互斥,开启地址族转换同时需要保证获取客户端ip功能关闭。 取值范围: - true:开启地址族转换功能。 - false:关闭地址族转换功能。 默认取值:false
|
820
|
+
|
821
|
+
:return: The nat64_enable of this UpdateListenerOption.
|
822
|
+
:rtype: bool
|
823
|
+
"""
|
824
|
+
return self._nat64_enable
|
825
|
+
|
826
|
+
@nat64_enable.setter
|
827
|
+
def nat64_enable(self, nat64_enable):
|
828
|
+
r"""Sets the nat64_enable of this UpdateListenerOption.
|
829
|
+
|
830
|
+
参数解释: 监听器地址族转换能力开关,可以实现客户端通过访问LB的IPv4或者IPv6地址,来访问IPv4后端和IPv6后端。 约束限制: 仅对于TCP、UDP协议类型的监听器生效,与transparent_client_ip_enable,获取客户端ip功能开关互斥,开启地址族转换同时需要保证获取客户端ip功能关闭。 取值范围: - true:开启地址族转换功能。 - false:关闭地址族转换功能。 默认取值:false
|
831
|
+
|
832
|
+
:param nat64_enable: The nat64_enable of this UpdateListenerOption.
|
833
|
+
:type nat64_enable: bool
|
834
|
+
"""
|
835
|
+
self._nat64_enable = nat64_enable
|
836
|
+
|
467
837
|
def to_dict(self):
|
468
838
|
"""Returns the model properties as a dict"""
|
469
839
|
result = {}
|
@@ -493,10 +863,15 @@ class UpdateListenerOption:
|
|
493
863
|
|
494
864
|
def to_str(self):
|
495
865
|
"""Returns the string representation of the model"""
|
496
|
-
|
866
|
+
import simplejson as json
|
867
|
+
if six.PY2:
|
868
|
+
import sys
|
869
|
+
reload(sys)
|
870
|
+
sys.setdefaultencoding("utf-8")
|
871
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
497
872
|
|
498
873
|
def __repr__(self):
|
499
|
-
"""For `print`
|
874
|
+
"""For `print`"""
|
500
875
|
return self.to_str()
|
501
876
|
|
502
877
|
def __eq__(self, other):
|