huaweicloudsdkelb 3.0.42rc0__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.42rc0.dist-info → huaweicloudsdkelb-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkelb-3.1.160.dist-info/RECORD +626 -0
- {huaweicloudsdkelb-3.0.42rc0.dist-info → huaweicloudsdkelb-3.1.160.dist-info}/WHEEL +1 -1
- huaweicloudsdkelb-3.0.42rc0.dist-info/RECORD +0 -396
- {huaweicloudsdkelb-3.0.42rc0.dist-info → huaweicloudsdkelb-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.0.42rc0.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 Listener:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class Listener:
|
|
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 = {
|
@@ -36,17 +30,32 @@ class Listener:
|
|
36
30
|
'loadbalancers': 'list[LoadBalancerRef]',
|
37
31
|
'name': 'str',
|
38
32
|
'project_id': 'str',
|
33
|
+
'enterprise_project_id': 'str',
|
39
34
|
'protocol': 'str',
|
40
35
|
'protocol_port': 'int',
|
41
36
|
'sni_container_refs': 'list[str]',
|
37
|
+
'sni_match_algo': 'str',
|
42
38
|
'tags': 'list[Tag]',
|
43
39
|
'updated_at': 'str',
|
44
40
|
'tls_ciphers_policy': 'str',
|
41
|
+
'security_policy_id': 'str',
|
45
42
|
'enable_member_retry': 'bool',
|
46
43
|
'keepalive_timeout': 'int',
|
47
44
|
'client_timeout': 'int',
|
48
45
|
'member_timeout': 'int',
|
49
|
-
'ipgroup': 'ListenerIpGroup'
|
46
|
+
'ipgroup': 'ListenerIpGroup',
|
47
|
+
'transparent_client_ip_enable': 'bool',
|
48
|
+
'proxy_protocol_enable': 'bool',
|
49
|
+
'enhance_l7policy_enable': 'bool',
|
50
|
+
'quic_config': 'ListenerQuicConfig',
|
51
|
+
'protection_status': 'str',
|
52
|
+
'protection_reason': 'str',
|
53
|
+
'gzip_enable': 'bool',
|
54
|
+
'port_ranges': 'list[PortRange]',
|
55
|
+
'ssl_early_data_enable': 'bool',
|
56
|
+
'cps': 'int',
|
57
|
+
'connection': 'int',
|
58
|
+
'nat64_enable': 'bool'
|
50
59
|
}
|
51
60
|
|
52
61
|
attribute_map = {
|
@@ -63,21 +72,118 @@ class Listener:
|
|
63
72
|
'loadbalancers': 'loadbalancers',
|
64
73
|
'name': 'name',
|
65
74
|
'project_id': 'project_id',
|
75
|
+
'enterprise_project_id': 'enterprise_project_id',
|
66
76
|
'protocol': 'protocol',
|
67
77
|
'protocol_port': 'protocol_port',
|
68
78
|
'sni_container_refs': 'sni_container_refs',
|
79
|
+
'sni_match_algo': 'sni_match_algo',
|
69
80
|
'tags': 'tags',
|
70
81
|
'updated_at': 'updated_at',
|
71
82
|
'tls_ciphers_policy': 'tls_ciphers_policy',
|
83
|
+
'security_policy_id': 'security_policy_id',
|
72
84
|
'enable_member_retry': 'enable_member_retry',
|
73
85
|
'keepalive_timeout': 'keepalive_timeout',
|
74
86
|
'client_timeout': 'client_timeout',
|
75
87
|
'member_timeout': 'member_timeout',
|
76
|
-
'ipgroup': 'ipgroup'
|
88
|
+
'ipgroup': 'ipgroup',
|
89
|
+
'transparent_client_ip_enable': 'transparent_client_ip_enable',
|
90
|
+
'proxy_protocol_enable': 'proxy_protocol_enable',
|
91
|
+
'enhance_l7policy_enable': 'enhance_l7policy_enable',
|
92
|
+
'quic_config': 'quic_config',
|
93
|
+
'protection_status': 'protection_status',
|
94
|
+
'protection_reason': 'protection_reason',
|
95
|
+
'gzip_enable': 'gzip_enable',
|
96
|
+
'port_ranges': 'port_ranges',
|
97
|
+
'ssl_early_data_enable': 'ssl_early_data_enable',
|
98
|
+
'cps': 'cps',
|
99
|
+
'connection': 'connection',
|
100
|
+
'nat64_enable': 'nat64_enable'
|
77
101
|
}
|
78
102
|
|
79
|
-
def __init__(self, admin_state_up=None, client_ca_tls_container_ref=None, connection_limit=None, created_at=None, default_pool_id=None, default_tls_container_ref=None, description=None, http2_enable=None, id=None, insert_headers=None, loadbalancers=None, name=None, project_id=None, protocol=None, protocol_port=None, sni_container_refs=None, tags=None, updated_at=None, tls_ciphers_policy=None, enable_member_retry=None, keepalive_timeout=None, client_timeout=None, member_timeout=None, ipgroup=None):
|
80
|
-
"""Listener
|
103
|
+
def __init__(self, admin_state_up=None, client_ca_tls_container_ref=None, connection_limit=None, created_at=None, default_pool_id=None, default_tls_container_ref=None, description=None, http2_enable=None, id=None, insert_headers=None, loadbalancers=None, name=None, project_id=None, enterprise_project_id=None, protocol=None, protocol_port=None, sni_container_refs=None, sni_match_algo=None, tags=None, updated_at=None, tls_ciphers_policy=None, security_policy_id=None, enable_member_retry=None, keepalive_timeout=None, client_timeout=None, member_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, port_ranges=None, ssl_early_data_enable=None, cps=None, connection=None, nat64_enable=None):
|
104
|
+
r"""Listener
|
105
|
+
|
106
|
+
The model defined in huaweicloud sdk
|
107
|
+
|
108
|
+
:param admin_state_up: 参数解释:监听器的管理状态。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
109
|
+
:type admin_state_up: bool
|
110
|
+
:param client_ca_tls_container_ref: 参数解释:监听器使用的CA证书ID。 约束限制:当且仅当type=client时,才会使用该字段对应的证书。
|
111
|
+
:type client_ca_tls_container_ref: str
|
112
|
+
:param connection_limit: 参数解释:监听器的最大连接数。 取值范围:-1表示不限制。 默认取值:-1。 不支持该字段,请勿使用。
|
113
|
+
:type connection_limit: int
|
114
|
+
:param created_at: 参数解释:监听器的创建时间。 取值范围: 格式:yyyy-MM-dd'T'HH:mm:ss'Z',如:2021-07-30T12:03:44Z
|
115
|
+
:type created_at: str
|
116
|
+
:param default_pool_id: 参数解释:监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。
|
117
|
+
:type default_pool_id: str
|
118
|
+
:param default_tls_container_ref: 参数解释:监听器使用的服务器证书ID。
|
119
|
+
:type default_tls_container_ref: str
|
120
|
+
:param description: 参数解释:监听器的描述信息。
|
121
|
+
:type description: str
|
122
|
+
:param http2_enable: 参数解释:客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 约束限制: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
123
|
+
:type http2_enable: bool
|
124
|
+
:param id: 参数解释:监听器ID。
|
125
|
+
:type id: str
|
126
|
+
:param insert_headers:
|
127
|
+
:type insert_headers: :class:`huaweicloudsdkelb.v3.ListenerInsertHeaders`
|
128
|
+
:param loadbalancers: 参数解释:监听器所属的负载均衡器的ID列表。 约束限制:一个监听器只支持关联到一个LB。
|
129
|
+
:type loadbalancers: list[:class:`huaweicloudsdkelb.v3.LoadBalancerRef`]
|
130
|
+
:param name: 参数解释:监听器的名称。 约束限制:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
|
131
|
+
:type name: str
|
132
|
+
:param project_id: 参数解释:监听器所在的项目ID。
|
133
|
+
:type project_id: str
|
134
|
+
:param enterprise_project_id: 参数解释:企业项目ID。
|
135
|
+
:type enterprise_project_id: str
|
136
|
+
:param protocol: 参数解释:监听器的监听协议。 [取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 约束限制: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) [不支持QUIC。](tag:tm,g42,hk_g42,dt)
|
137
|
+
:type protocol: str
|
138
|
+
:param protocol_port: 参数解释:监听器的监听端口。 约束限制: - QUIC监听器端口不能是4789,且不能和UDP监听器端口重复。 - 传0表示开启监听端口范围的能力,此时port_ranges为必填字段。 [-不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
139
|
+
:type protocol_port: int
|
140
|
+
:param sni_container_refs: 参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - QUIC监听器仅支持RSA证书。 - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过200。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
141
|
+
:type sni_container_refs: list[str]
|
142
|
+
:param sni_match_algo: 参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围:longest_suffix表示最长尾缀匹配;wildcard表示标准域名分级匹配。 默认取值:wildcard
|
143
|
+
:type sni_match_algo: str
|
144
|
+
:param tags: 参数解释:标签列表。
|
145
|
+
:type tags: list[:class:`huaweicloudsdkelb.v3.Tag`]
|
146
|
+
:param updated_at: 参数解释:监听器的更新时间。 取值范围: 格式:yyyy-MM-dd'T'HH:mm:ss'Z',如:2021-07-30T12:03:44Z
|
147
|
+
:type updated_at: str
|
148
|
+
:param tls_ciphers_policy: 参数解释:监听器使用的安全策略。 [取值范围: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) [约束限制: - 仅对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) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
149
|
+
:type tls_ciphers_policy: str
|
150
|
+
: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:tm,hws_eu,g42,hk_g42)
|
151
|
+
:type security_policy_id: str
|
152
|
+
: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,dt)
|
153
|
+
:type enable_member_retry: bool
|
154
|
+
:param keepalive_timeout: 参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求,负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。
|
155
|
+
:type keepalive_timeout: int
|
156
|
+
:param client_timeout: 参数解释:等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 约束限制:仅协议为HTTP/HTTPS的监听器支持该字段。 取值范围:1-300s 默认取值:60s。
|
157
|
+
:type client_timeout: int
|
158
|
+
:param member_timeout: 参数解释:等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回HTTP504错误码。 约束限制:仅支持协议为HTTP/HTTPS的监听器。 取值范围:1-300s 默认取值:60s。
|
159
|
+
:type member_timeout: int
|
160
|
+
:param ipgroup:
|
161
|
+
:type ipgroup: :class:`huaweicloudsdkelb.v3.ListenerIpGroup`
|
162
|
+
: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)
|
163
|
+
:type transparent_client_ip_enable: bool
|
164
|
+
:param proxy_protocol_enable: 参数解释:是否开启proxy_protocol。仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
|
165
|
+
:type proxy_protocol_enable: bool
|
166
|
+
: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不开启。 默认取值:false。[西南-贵阳一和华南-广州局点,该配置默认true。](tag:hws) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
167
|
+
:type enhance_l7policy_enable: bool
|
168
|
+
:param quic_config:
|
169
|
+
:type quic_config: :class:`huaweicloudsdkelb.v3.ListenerQuicConfig`
|
170
|
+
:param protection_status: 参数解释:修改保护状态, 取值范围: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
|
171
|
+
:type protection_status: str
|
172
|
+
:param protection_reason: 参数解释:设置保护的原因。作为protection_status的转态设置的原因。 约束限制:仅当protection_status为consoleProtection时有效。 取值范围:除'<'和'>'外通用Unicode字符集字符,最大255个字符。
|
173
|
+
:type protection_reason: str
|
174
|
+
: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 [不支持该字段,请勿使用。](tag:hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
175
|
+
:type gzip_enable: bool
|
176
|
+
:param port_ranges: 参数解释:端口监听范围(闭区间)。 约束限制: - 最多指定10个端口组,每个组范围不可有重叠部分 - 仅当protocol_port为0时可以传入。 [不支持该字段,请勿使用。](tag:hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
177
|
+
:type port_ranges: list[:class:`huaweicloudsdkelb.v3.PortRange`]
|
178
|
+
:param ssl_early_data_enable: 参数解释:监听器0-RTT能力开关 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。 默认取值:false。
|
179
|
+
:type ssl_early_data_enable: bool
|
180
|
+
:param cps: 参数解释:监听器新建限速 约束限制:当该限速值大于LB的限速值时,以LB的限速值生效 取值范围:0-1000000 默认取值:0,表示不限速
|
181
|
+
:type cps: int
|
182
|
+
:param connection: 参数解释:监听器并发限速 约束限制:当该限速值大于LB的限速值时,以LB的限速值生效 取值范围:0-1000000 默认取值:0,表示不限速
|
183
|
+
:type connection: int
|
184
|
+
:param nat64_enable: 参数解释: 监听器地址族转换能力开关,可以实现客户端通过访问LB的IPv4或者IPv6地址,来访问IPv4后端和IPv6后端。 约束限制: 仅对于TCP、UDP协议类型的监听器生效,与transparent_client_ip_enable,获取客户端ip功能开关互斥,开启地址族转换同时需要保证获取客户端ip功能关闭。 取值范围: - true:开启地址族转换功能 - false:关闭地址族转换功能 默认取值:false
|
185
|
+
:type nat64_enable: bool
|
186
|
+
"""
|
81
187
|
|
82
188
|
|
83
189
|
|
@@ -94,17 +200,32 @@ class Listener:
|
|
94
200
|
self._loadbalancers = None
|
95
201
|
self._name = None
|
96
202
|
self._project_id = None
|
203
|
+
self._enterprise_project_id = None
|
97
204
|
self._protocol = None
|
98
205
|
self._protocol_port = None
|
99
206
|
self._sni_container_refs = None
|
207
|
+
self._sni_match_algo = None
|
100
208
|
self._tags = None
|
101
209
|
self._updated_at = None
|
102
210
|
self._tls_ciphers_policy = None
|
211
|
+
self._security_policy_id = None
|
103
212
|
self._enable_member_retry = None
|
104
213
|
self._keepalive_timeout = None
|
105
214
|
self._client_timeout = None
|
106
215
|
self._member_timeout = None
|
107
216
|
self._ipgroup = None
|
217
|
+
self._transparent_client_ip_enable = None
|
218
|
+
self._proxy_protocol_enable = None
|
219
|
+
self._enhance_l7policy_enable = None
|
220
|
+
self._quic_config = None
|
221
|
+
self._protection_status = None
|
222
|
+
self._protection_reason = None
|
223
|
+
self._gzip_enable = None
|
224
|
+
self._port_ranges = None
|
225
|
+
self._ssl_early_data_enable = None
|
226
|
+
self._cps = None
|
227
|
+
self._connection = None
|
228
|
+
self._nat64_enable = None
|
108
229
|
self.discriminator = None
|
109
230
|
|
110
231
|
self.admin_state_up = admin_state_up
|
@@ -120,26 +241,48 @@ class Listener:
|
|
120
241
|
self.loadbalancers = loadbalancers
|
121
242
|
self.name = name
|
122
243
|
self.project_id = project_id
|
244
|
+
self.enterprise_project_id = enterprise_project_id
|
123
245
|
self.protocol = protocol
|
124
246
|
self.protocol_port = protocol_port
|
125
247
|
self.sni_container_refs = sni_container_refs
|
248
|
+
self.sni_match_algo = sni_match_algo
|
126
249
|
self.tags = tags
|
127
250
|
self.updated_at = updated_at
|
128
251
|
self.tls_ciphers_policy = tls_ciphers_policy
|
252
|
+
self.security_policy_id = security_policy_id
|
129
253
|
self.enable_member_retry = enable_member_retry
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
self.client_timeout = client_timeout
|
134
|
-
if member_timeout is not None:
|
135
|
-
self.member_timeout = member_timeout
|
254
|
+
self.keepalive_timeout = keepalive_timeout
|
255
|
+
self.client_timeout = client_timeout
|
256
|
+
self.member_timeout = member_timeout
|
136
257
|
self.ipgroup = ipgroup
|
258
|
+
self.transparent_client_ip_enable = transparent_client_ip_enable
|
259
|
+
if proxy_protocol_enable is not None:
|
260
|
+
self.proxy_protocol_enable = proxy_protocol_enable
|
261
|
+
self.enhance_l7policy_enable = enhance_l7policy_enable
|
262
|
+
if quic_config is not None:
|
263
|
+
self.quic_config = quic_config
|
264
|
+
if protection_status is not None:
|
265
|
+
self.protection_status = protection_status
|
266
|
+
if protection_reason is not None:
|
267
|
+
self.protection_reason = protection_reason
|
268
|
+
if gzip_enable is not None:
|
269
|
+
self.gzip_enable = gzip_enable
|
270
|
+
if port_ranges is not None:
|
271
|
+
self.port_ranges = port_ranges
|
272
|
+
if ssl_early_data_enable is not None:
|
273
|
+
self.ssl_early_data_enable = ssl_early_data_enable
|
274
|
+
if cps is not None:
|
275
|
+
self.cps = cps
|
276
|
+
if connection is not None:
|
277
|
+
self.connection = connection
|
278
|
+
if nat64_enable is not None:
|
279
|
+
self.nat64_enable = nat64_enable
|
137
280
|
|
138
281
|
@property
|
139
282
|
def admin_state_up(self):
|
140
|
-
"""Gets the admin_state_up of this Listener.
|
283
|
+
r"""Gets the admin_state_up of this Listener.
|
141
284
|
|
142
|
-
|
285
|
+
参数解释:监听器的管理状态。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
143
286
|
|
144
287
|
:return: The admin_state_up of this Listener.
|
145
288
|
:rtype: bool
|
@@ -148,20 +291,20 @@ class Listener:
|
|
148
291
|
|
149
292
|
@admin_state_up.setter
|
150
293
|
def admin_state_up(self, admin_state_up):
|
151
|
-
"""Sets the admin_state_up of this Listener.
|
294
|
+
r"""Sets the admin_state_up of this Listener.
|
152
295
|
|
153
|
-
|
296
|
+
参数解释:监听器的管理状态。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
154
297
|
|
155
298
|
:param admin_state_up: The admin_state_up of this Listener.
|
156
|
-
:type: bool
|
299
|
+
:type admin_state_up: bool
|
157
300
|
"""
|
158
301
|
self._admin_state_up = admin_state_up
|
159
302
|
|
160
303
|
@property
|
161
304
|
def client_ca_tls_container_ref(self):
|
162
|
-
"""Gets the client_ca_tls_container_ref of this Listener.
|
305
|
+
r"""Gets the client_ca_tls_container_ref of this Listener.
|
163
306
|
|
164
|
-
|
307
|
+
参数解释:监听器使用的CA证书ID。 约束限制:当且仅当type=client时,才会使用该字段对应的证书。
|
165
308
|
|
166
309
|
:return: The client_ca_tls_container_ref of this Listener.
|
167
310
|
:rtype: str
|
@@ -170,20 +313,20 @@ class Listener:
|
|
170
313
|
|
171
314
|
@client_ca_tls_container_ref.setter
|
172
315
|
def client_ca_tls_container_ref(self, client_ca_tls_container_ref):
|
173
|
-
"""Sets the client_ca_tls_container_ref of this Listener.
|
316
|
+
r"""Sets the client_ca_tls_container_ref of this Listener.
|
174
317
|
|
175
|
-
|
318
|
+
参数解释:监听器使用的CA证书ID。 约束限制:当且仅当type=client时,才会使用该字段对应的证书。
|
176
319
|
|
177
320
|
:param client_ca_tls_container_ref: The client_ca_tls_container_ref of this Listener.
|
178
|
-
:type: str
|
321
|
+
:type client_ca_tls_container_ref: str
|
179
322
|
"""
|
180
323
|
self._client_ca_tls_container_ref = client_ca_tls_container_ref
|
181
324
|
|
182
325
|
@property
|
183
326
|
def connection_limit(self):
|
184
|
-
"""Gets the connection_limit of this Listener.
|
327
|
+
r"""Gets the connection_limit of this Listener.
|
185
328
|
|
186
|
-
|
329
|
+
参数解释:监听器的最大连接数。 取值范围:-1表示不限制。 默认取值:-1。 不支持该字段,请勿使用。
|
187
330
|
|
188
331
|
:return: The connection_limit of this Listener.
|
189
332
|
:rtype: int
|
@@ -192,20 +335,20 @@ class Listener:
|
|
192
335
|
|
193
336
|
@connection_limit.setter
|
194
337
|
def connection_limit(self, connection_limit):
|
195
|
-
"""Sets the connection_limit of this Listener.
|
338
|
+
r"""Sets the connection_limit of this Listener.
|
196
339
|
|
197
|
-
|
340
|
+
参数解释:监听器的最大连接数。 取值范围:-1表示不限制。 默认取值:-1。 不支持该字段,请勿使用。
|
198
341
|
|
199
342
|
:param connection_limit: The connection_limit of this Listener.
|
200
|
-
:type: int
|
343
|
+
:type connection_limit: int
|
201
344
|
"""
|
202
345
|
self._connection_limit = connection_limit
|
203
346
|
|
204
347
|
@property
|
205
348
|
def created_at(self):
|
206
|
-
"""Gets the created_at of this Listener.
|
349
|
+
r"""Gets the created_at of this Listener.
|
207
350
|
|
208
|
-
|
351
|
+
参数解释:监听器的创建时间。 取值范围: 格式:yyyy-MM-dd'T'HH:mm:ss'Z',如:2021-07-30T12:03:44Z
|
209
352
|
|
210
353
|
:return: The created_at of this Listener.
|
211
354
|
:rtype: str
|
@@ -214,20 +357,20 @@ class Listener:
|
|
214
357
|
|
215
358
|
@created_at.setter
|
216
359
|
def created_at(self, created_at):
|
217
|
-
"""Sets the created_at of this Listener.
|
360
|
+
r"""Sets the created_at of this Listener.
|
218
361
|
|
219
|
-
|
362
|
+
参数解释:监听器的创建时间。 取值范围: 格式:yyyy-MM-dd'T'HH:mm:ss'Z',如:2021-07-30T12:03:44Z
|
220
363
|
|
221
364
|
:param created_at: The created_at of this Listener.
|
222
|
-
:type: str
|
365
|
+
:type created_at: str
|
223
366
|
"""
|
224
367
|
self._created_at = created_at
|
225
368
|
|
226
369
|
@property
|
227
370
|
def default_pool_id(self):
|
228
|
-
"""Gets the default_pool_id of this Listener.
|
371
|
+
r"""Gets the default_pool_id of this Listener.
|
229
372
|
|
230
|
-
|
373
|
+
参数解释:监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。
|
231
374
|
|
232
375
|
:return: The default_pool_id of this Listener.
|
233
376
|
:rtype: str
|
@@ -236,20 +379,20 @@ class Listener:
|
|
236
379
|
|
237
380
|
@default_pool_id.setter
|
238
381
|
def default_pool_id(self, default_pool_id):
|
239
|
-
"""Sets the default_pool_id of this Listener.
|
382
|
+
r"""Sets the default_pool_id of this Listener.
|
240
383
|
|
241
|
-
|
384
|
+
参数解释:监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。
|
242
385
|
|
243
386
|
:param default_pool_id: The default_pool_id of this Listener.
|
244
|
-
:type: str
|
387
|
+
:type default_pool_id: str
|
245
388
|
"""
|
246
389
|
self._default_pool_id = default_pool_id
|
247
390
|
|
248
391
|
@property
|
249
392
|
def default_tls_container_ref(self):
|
250
|
-
"""Gets the default_tls_container_ref of this Listener.
|
393
|
+
r"""Gets the default_tls_container_ref of this Listener.
|
251
394
|
|
252
|
-
|
395
|
+
参数解释:监听器使用的服务器证书ID。
|
253
396
|
|
254
397
|
:return: The default_tls_container_ref of this Listener.
|
255
398
|
:rtype: str
|
@@ -258,20 +401,20 @@ class Listener:
|
|
258
401
|
|
259
402
|
@default_tls_container_ref.setter
|
260
403
|
def default_tls_container_ref(self, default_tls_container_ref):
|
261
|
-
"""Sets the default_tls_container_ref of this Listener.
|
404
|
+
r"""Sets the default_tls_container_ref of this Listener.
|
262
405
|
|
263
|
-
|
406
|
+
参数解释:监听器使用的服务器证书ID。
|
264
407
|
|
265
408
|
:param default_tls_container_ref: The default_tls_container_ref of this Listener.
|
266
|
-
:type: str
|
409
|
+
:type default_tls_container_ref: str
|
267
410
|
"""
|
268
411
|
self._default_tls_container_ref = default_tls_container_ref
|
269
412
|
|
270
413
|
@property
|
271
414
|
def description(self):
|
272
|
-
"""Gets the description of this Listener.
|
415
|
+
r"""Gets the description of this Listener.
|
273
416
|
|
274
|
-
|
417
|
+
参数解释:监听器的描述信息。
|
275
418
|
|
276
419
|
:return: The description of this Listener.
|
277
420
|
:rtype: str
|
@@ -280,20 +423,20 @@ class Listener:
|
|
280
423
|
|
281
424
|
@description.setter
|
282
425
|
def description(self, description):
|
283
|
-
"""Sets the description of this Listener.
|
426
|
+
r"""Sets the description of this Listener.
|
284
427
|
|
285
|
-
|
428
|
+
参数解释:监听器的描述信息。
|
286
429
|
|
287
430
|
:param description: The description of this Listener.
|
288
|
-
:type: str
|
431
|
+
:type description: str
|
289
432
|
"""
|
290
433
|
self._description = description
|
291
434
|
|
292
435
|
@property
|
293
436
|
def http2_enable(self):
|
294
|
-
"""Gets the http2_enable of this Listener.
|
437
|
+
r"""Gets the http2_enable of this Listener.
|
295
438
|
|
296
|
-
HTTP2
|
439
|
+
参数解释:客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 约束限制: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
297
440
|
|
298
441
|
:return: The http2_enable of this Listener.
|
299
442
|
:rtype: bool
|
@@ -302,20 +445,20 @@ class Listener:
|
|
302
445
|
|
303
446
|
@http2_enable.setter
|
304
447
|
def http2_enable(self, http2_enable):
|
305
|
-
"""Sets the http2_enable of this Listener.
|
448
|
+
r"""Sets the http2_enable of this Listener.
|
306
449
|
|
307
|
-
HTTP2
|
450
|
+
参数解释:客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 约束限制: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
308
451
|
|
309
452
|
:param http2_enable: The http2_enable of this Listener.
|
310
|
-
:type: bool
|
453
|
+
:type http2_enable: bool
|
311
454
|
"""
|
312
455
|
self._http2_enable = http2_enable
|
313
456
|
|
314
457
|
@property
|
315
458
|
def id(self):
|
316
|
-
"""Gets the id of this Listener.
|
459
|
+
r"""Gets the id of this Listener.
|
317
460
|
|
318
|
-
|
461
|
+
参数解释:监听器ID。
|
319
462
|
|
320
463
|
:return: The id of this Listener.
|
321
464
|
:rtype: str
|
@@ -324,62 +467,60 @@ class Listener:
|
|
324
467
|
|
325
468
|
@id.setter
|
326
469
|
def id(self, id):
|
327
|
-
"""Sets the id of this Listener.
|
470
|
+
r"""Sets the id of this Listener.
|
328
471
|
|
329
|
-
|
472
|
+
参数解释:监听器ID。
|
330
473
|
|
331
474
|
:param id: The id of this Listener.
|
332
|
-
:type: str
|
475
|
+
:type id: str
|
333
476
|
"""
|
334
477
|
self._id = id
|
335
478
|
|
336
479
|
@property
|
337
480
|
def insert_headers(self):
|
338
|
-
"""Gets the insert_headers of this Listener.
|
339
|
-
|
481
|
+
r"""Gets the insert_headers of this Listener.
|
340
482
|
|
341
483
|
:return: The insert_headers of this Listener.
|
342
|
-
:rtype: ListenerInsertHeaders
|
484
|
+
:rtype: :class:`huaweicloudsdkelb.v3.ListenerInsertHeaders`
|
343
485
|
"""
|
344
486
|
return self._insert_headers
|
345
487
|
|
346
488
|
@insert_headers.setter
|
347
489
|
def insert_headers(self, insert_headers):
|
348
|
-
"""Sets the insert_headers of this Listener.
|
349
|
-
|
490
|
+
r"""Sets the insert_headers of this Listener.
|
350
491
|
|
351
492
|
:param insert_headers: The insert_headers of this Listener.
|
352
|
-
:type: ListenerInsertHeaders
|
493
|
+
:type insert_headers: :class:`huaweicloudsdkelb.v3.ListenerInsertHeaders`
|
353
494
|
"""
|
354
495
|
self._insert_headers = insert_headers
|
355
496
|
|
356
497
|
@property
|
357
498
|
def loadbalancers(self):
|
358
|
-
"""Gets the loadbalancers of this Listener.
|
499
|
+
r"""Gets the loadbalancers of this Listener.
|
359
500
|
|
360
|
-
|
501
|
+
参数解释:监听器所属的负载均衡器的ID列表。 约束限制:一个监听器只支持关联到一个LB。
|
361
502
|
|
362
503
|
:return: The loadbalancers of this Listener.
|
363
|
-
:rtype: list[LoadBalancerRef]
|
504
|
+
:rtype: list[:class:`huaweicloudsdkelb.v3.LoadBalancerRef`]
|
364
505
|
"""
|
365
506
|
return self._loadbalancers
|
366
507
|
|
367
508
|
@loadbalancers.setter
|
368
509
|
def loadbalancers(self, loadbalancers):
|
369
|
-
"""Sets the loadbalancers of this Listener.
|
510
|
+
r"""Sets the loadbalancers of this Listener.
|
370
511
|
|
371
|
-
|
512
|
+
参数解释:监听器所属的负载均衡器的ID列表。 约束限制:一个监听器只支持关联到一个LB。
|
372
513
|
|
373
514
|
:param loadbalancers: The loadbalancers of this Listener.
|
374
|
-
:type: list[LoadBalancerRef]
|
515
|
+
:type loadbalancers: list[:class:`huaweicloudsdkelb.v3.LoadBalancerRef`]
|
375
516
|
"""
|
376
517
|
self._loadbalancers = loadbalancers
|
377
518
|
|
378
519
|
@property
|
379
520
|
def name(self):
|
380
|
-
"""Gets the name of this Listener.
|
521
|
+
r"""Gets the name of this Listener.
|
381
522
|
|
382
|
-
|
523
|
+
参数解释:监听器的名称。 约束限制:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
|
383
524
|
|
384
525
|
:return: The name of this Listener.
|
385
526
|
:rtype: str
|
@@ -388,20 +529,20 @@ class Listener:
|
|
388
529
|
|
389
530
|
@name.setter
|
390
531
|
def name(self, name):
|
391
|
-
"""Sets the name of this Listener.
|
532
|
+
r"""Sets the name of this Listener.
|
392
533
|
|
393
|
-
|
534
|
+
参数解释:监听器的名称。 约束限制:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
|
394
535
|
|
395
536
|
:param name: The name of this Listener.
|
396
|
-
:type: str
|
537
|
+
:type name: str
|
397
538
|
"""
|
398
539
|
self._name = name
|
399
540
|
|
400
541
|
@property
|
401
542
|
def project_id(self):
|
402
|
-
"""Gets the project_id of this Listener.
|
543
|
+
r"""Gets the project_id of this Listener.
|
403
544
|
|
404
|
-
|
545
|
+
参数解释:监听器所在的项目ID。
|
405
546
|
|
406
547
|
:return: The project_id of this Listener.
|
407
548
|
:rtype: str
|
@@ -410,20 +551,42 @@ class Listener:
|
|
410
551
|
|
411
552
|
@project_id.setter
|
412
553
|
def project_id(self, project_id):
|
413
|
-
"""Sets the project_id of this Listener.
|
554
|
+
r"""Sets the project_id of this Listener.
|
414
555
|
|
415
|
-
|
556
|
+
参数解释:监听器所在的项目ID。
|
416
557
|
|
417
558
|
:param project_id: The project_id of this Listener.
|
418
|
-
:type: str
|
559
|
+
:type project_id: str
|
419
560
|
"""
|
420
561
|
self._project_id = project_id
|
421
562
|
|
563
|
+
@property
|
564
|
+
def enterprise_project_id(self):
|
565
|
+
r"""Gets the enterprise_project_id of this Listener.
|
566
|
+
|
567
|
+
参数解释:企业项目ID。
|
568
|
+
|
569
|
+
:return: The enterprise_project_id of this Listener.
|
570
|
+
:rtype: str
|
571
|
+
"""
|
572
|
+
return self._enterprise_project_id
|
573
|
+
|
574
|
+
@enterprise_project_id.setter
|
575
|
+
def enterprise_project_id(self, enterprise_project_id):
|
576
|
+
r"""Sets the enterprise_project_id of this Listener.
|
577
|
+
|
578
|
+
参数解释:企业项目ID。
|
579
|
+
|
580
|
+
:param enterprise_project_id: The enterprise_project_id of this Listener.
|
581
|
+
:type enterprise_project_id: str
|
582
|
+
"""
|
583
|
+
self._enterprise_project_id = enterprise_project_id
|
584
|
+
|
422
585
|
@property
|
423
586
|
def protocol(self):
|
424
|
-
"""Gets the protocol of this Listener.
|
587
|
+
r"""Gets the protocol of this Listener.
|
425
588
|
|
426
|
-
|
589
|
+
参数解释:监听器的监听协议。 [取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 约束限制: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) [不支持QUIC。](tag:tm,g42,hk_g42,dt)
|
427
590
|
|
428
591
|
:return: The protocol of this Listener.
|
429
592
|
:rtype: str
|
@@ -432,20 +595,20 @@ class Listener:
|
|
432
595
|
|
433
596
|
@protocol.setter
|
434
597
|
def protocol(self, protocol):
|
435
|
-
"""Sets the protocol of this Listener.
|
598
|
+
r"""Sets the protocol of this Listener.
|
436
599
|
|
437
|
-
|
600
|
+
参数解释:监听器的监听协议。 [取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 约束限制: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) [不支持QUIC。](tag:tm,g42,hk_g42,dt)
|
438
601
|
|
439
602
|
:param protocol: The protocol of this Listener.
|
440
|
-
:type: str
|
603
|
+
:type protocol: str
|
441
604
|
"""
|
442
605
|
self._protocol = protocol
|
443
606
|
|
444
607
|
@property
|
445
608
|
def protocol_port(self):
|
446
|
-
"""Gets the protocol_port of this Listener.
|
609
|
+
r"""Gets the protocol_port of this Listener.
|
447
610
|
|
448
|
-
|
611
|
+
参数解释:监听器的监听端口。 约束限制: - QUIC监听器端口不能是4789,且不能和UDP监听器端口重复。 - 传0表示开启监听端口范围的能力,此时port_ranges为必填字段。 [-不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
449
612
|
|
450
613
|
:return: The protocol_port of this Listener.
|
451
614
|
:rtype: int
|
@@ -454,20 +617,20 @@ class Listener:
|
|
454
617
|
|
455
618
|
@protocol_port.setter
|
456
619
|
def protocol_port(self, protocol_port):
|
457
|
-
"""Sets the protocol_port of this Listener.
|
620
|
+
r"""Sets the protocol_port of this Listener.
|
458
621
|
|
459
|
-
|
622
|
+
参数解释:监听器的监听端口。 约束限制: - QUIC监听器端口不能是4789,且不能和UDP监听器端口重复。 - 传0表示开启监听端口范围的能力,此时port_ranges为必填字段。 [-不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
460
623
|
|
461
624
|
:param protocol_port: The protocol_port of this Listener.
|
462
|
-
:type: int
|
625
|
+
:type protocol_port: int
|
463
626
|
"""
|
464
627
|
self._protocol_port = protocol_port
|
465
628
|
|
466
629
|
@property
|
467
630
|
def sni_container_refs(self):
|
468
|
-
"""Gets the sni_container_refs of this Listener.
|
631
|
+
r"""Gets the sni_container_refs of this Listener.
|
469
632
|
|
470
|
-
|
633
|
+
参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - QUIC监听器仅支持RSA证书。 - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过200。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
471
634
|
|
472
635
|
:return: The sni_container_refs of this Listener.
|
473
636
|
:rtype: list[str]
|
@@ -476,42 +639,64 @@ class Listener:
|
|
476
639
|
|
477
640
|
@sni_container_refs.setter
|
478
641
|
def sni_container_refs(self, sni_container_refs):
|
479
|
-
"""Sets the sni_container_refs of this Listener.
|
642
|
+
r"""Sets the sni_container_refs of this Listener.
|
480
643
|
|
481
|
-
|
644
|
+
参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - QUIC监听器仅支持RSA证书。 - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过200。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
482
645
|
|
483
646
|
:param sni_container_refs: The sni_container_refs of this Listener.
|
484
|
-
:type: list[str]
|
647
|
+
:type sni_container_refs: list[str]
|
485
648
|
"""
|
486
649
|
self._sni_container_refs = sni_container_refs
|
487
650
|
|
651
|
+
@property
|
652
|
+
def sni_match_algo(self):
|
653
|
+
r"""Gets the sni_match_algo of this Listener.
|
654
|
+
|
655
|
+
参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围:longest_suffix表示最长尾缀匹配;wildcard表示标准域名分级匹配。 默认取值:wildcard
|
656
|
+
|
657
|
+
:return: The sni_match_algo of this Listener.
|
658
|
+
:rtype: str
|
659
|
+
"""
|
660
|
+
return self._sni_match_algo
|
661
|
+
|
662
|
+
@sni_match_algo.setter
|
663
|
+
def sni_match_algo(self, sni_match_algo):
|
664
|
+
r"""Sets the sni_match_algo of this Listener.
|
665
|
+
|
666
|
+
参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围:longest_suffix表示最长尾缀匹配;wildcard表示标准域名分级匹配。 默认取值:wildcard
|
667
|
+
|
668
|
+
:param sni_match_algo: The sni_match_algo of this Listener.
|
669
|
+
:type sni_match_algo: str
|
670
|
+
"""
|
671
|
+
self._sni_match_algo = sni_match_algo
|
672
|
+
|
488
673
|
@property
|
489
674
|
def tags(self):
|
490
|
-
"""Gets the tags of this Listener.
|
675
|
+
r"""Gets the tags of this Listener.
|
491
676
|
|
492
|
-
|
677
|
+
参数解释:标签列表。
|
493
678
|
|
494
679
|
:return: The tags of this Listener.
|
495
|
-
:rtype: list[Tag]
|
680
|
+
:rtype: list[:class:`huaweicloudsdkelb.v3.Tag`]
|
496
681
|
"""
|
497
682
|
return self._tags
|
498
683
|
|
499
684
|
@tags.setter
|
500
685
|
def tags(self, tags):
|
501
|
-
"""Sets the tags of this Listener.
|
686
|
+
r"""Sets the tags of this Listener.
|
502
687
|
|
503
|
-
|
688
|
+
参数解释:标签列表。
|
504
689
|
|
505
690
|
:param tags: The tags of this Listener.
|
506
|
-
:type: list[Tag]
|
691
|
+
:type tags: list[:class:`huaweicloudsdkelb.v3.Tag`]
|
507
692
|
"""
|
508
693
|
self._tags = tags
|
509
694
|
|
510
695
|
@property
|
511
696
|
def updated_at(self):
|
512
|
-
"""Gets the updated_at of this Listener.
|
697
|
+
r"""Gets the updated_at of this Listener.
|
513
698
|
|
514
|
-
|
699
|
+
参数解释:监听器的更新时间。 取值范围: 格式:yyyy-MM-dd'T'HH:mm:ss'Z',如:2021-07-30T12:03:44Z
|
515
700
|
|
516
701
|
:return: The updated_at of this Listener.
|
517
702
|
:rtype: str
|
@@ -520,20 +705,20 @@ class Listener:
|
|
520
705
|
|
521
706
|
@updated_at.setter
|
522
707
|
def updated_at(self, updated_at):
|
523
|
-
"""Sets the updated_at of this Listener.
|
708
|
+
r"""Sets the updated_at of this Listener.
|
524
709
|
|
525
|
-
|
710
|
+
参数解释:监听器的更新时间。 取值范围: 格式:yyyy-MM-dd'T'HH:mm:ss'Z',如:2021-07-30T12:03:44Z
|
526
711
|
|
527
712
|
:param updated_at: The updated_at of this Listener.
|
528
|
-
:type: str
|
713
|
+
:type updated_at: str
|
529
714
|
"""
|
530
715
|
self._updated_at = updated_at
|
531
716
|
|
532
717
|
@property
|
533
718
|
def tls_ciphers_policy(self):
|
534
|
-
"""Gets the tls_ciphers_policy of this Listener.
|
719
|
+
r"""Gets the tls_ciphers_policy of this Listener.
|
535
720
|
|
536
|
-
|
721
|
+
参数解释:监听器使用的安全策略。 [取值范围: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) [约束限制: - 仅对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) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
537
722
|
|
538
723
|
:return: The tls_ciphers_policy of this Listener.
|
539
724
|
:rtype: str
|
@@ -542,20 +727,42 @@ class Listener:
|
|
542
727
|
|
543
728
|
@tls_ciphers_policy.setter
|
544
729
|
def tls_ciphers_policy(self, tls_ciphers_policy):
|
545
|
-
"""Sets the tls_ciphers_policy of this Listener.
|
730
|
+
r"""Sets the tls_ciphers_policy of this Listener.
|
546
731
|
|
547
|
-
|
732
|
+
参数解释:监听器使用的安全策略。 [取值范围: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) [约束限制: - 仅对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) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
548
733
|
|
549
734
|
:param tls_ciphers_policy: The tls_ciphers_policy of this Listener.
|
550
|
-
:type: str
|
735
|
+
:type tls_ciphers_policy: str
|
551
736
|
"""
|
552
737
|
self._tls_ciphers_policy = tls_ciphers_policy
|
553
738
|
|
739
|
+
@property
|
740
|
+
def security_policy_id(self):
|
741
|
+
r"""Gets the security_policy_id of this Listener.
|
742
|
+
|
743
|
+
参数解释:自定义安全策略的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:tm,hws_eu,g42,hk_g42)
|
744
|
+
|
745
|
+
:return: The security_policy_id of this Listener.
|
746
|
+
:rtype: str
|
747
|
+
"""
|
748
|
+
return self._security_policy_id
|
749
|
+
|
750
|
+
@security_policy_id.setter
|
751
|
+
def security_policy_id(self, security_policy_id):
|
752
|
+
r"""Sets the security_policy_id of this Listener.
|
753
|
+
|
754
|
+
参数解释:自定义安全策略的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:tm,hws_eu,g42,hk_g42)
|
755
|
+
|
756
|
+
:param security_policy_id: The security_policy_id of this Listener.
|
757
|
+
:type security_policy_id: str
|
758
|
+
"""
|
759
|
+
self._security_policy_id = security_policy_id
|
760
|
+
|
554
761
|
@property
|
555
762
|
def enable_member_retry(self):
|
556
|
-
"""Gets the enable_member_retry of this Listener.
|
763
|
+
r"""Gets the enable_member_retry of this Listener.
|
557
764
|
|
558
|
-
|
765
|
+
参数解释:是否开启后端服务器的重试。 [约束限制: - 若关联是共享型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,dt)
|
559
766
|
|
560
767
|
:return: The enable_member_retry of this Listener.
|
561
768
|
:rtype: bool
|
@@ -564,20 +771,20 @@ class Listener:
|
|
564
771
|
|
565
772
|
@enable_member_retry.setter
|
566
773
|
def enable_member_retry(self, enable_member_retry):
|
567
|
-
"""Sets the enable_member_retry of this Listener.
|
774
|
+
r"""Sets the enable_member_retry of this Listener.
|
568
775
|
|
569
|
-
|
776
|
+
参数解释:是否开启后端服务器的重试。 [约束限制: - 若关联是共享型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,dt)
|
570
777
|
|
571
778
|
:param enable_member_retry: The enable_member_retry of this Listener.
|
572
|
-
:type: bool
|
779
|
+
:type enable_member_retry: bool
|
573
780
|
"""
|
574
781
|
self._enable_member_retry = enable_member_retry
|
575
782
|
|
576
783
|
@property
|
577
784
|
def keepalive_timeout(self):
|
578
|
-
"""Gets the keepalive_timeout of this Listener.
|
785
|
+
r"""Gets the keepalive_timeout of this Listener.
|
579
786
|
|
580
|
-
TCP
|
787
|
+
参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求,负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。
|
581
788
|
|
582
789
|
:return: The keepalive_timeout of this Listener.
|
583
790
|
:rtype: int
|
@@ -586,20 +793,20 @@ class Listener:
|
|
586
793
|
|
587
794
|
@keepalive_timeout.setter
|
588
795
|
def keepalive_timeout(self, keepalive_timeout):
|
589
|
-
"""Sets the keepalive_timeout of this Listener.
|
796
|
+
r"""Sets the keepalive_timeout of this Listener.
|
590
797
|
|
591
|
-
TCP
|
798
|
+
参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求,负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。
|
592
799
|
|
593
800
|
:param keepalive_timeout: The keepalive_timeout of this Listener.
|
594
|
-
:type: int
|
801
|
+
:type keepalive_timeout: int
|
595
802
|
"""
|
596
803
|
self._keepalive_timeout = keepalive_timeout
|
597
804
|
|
598
805
|
@property
|
599
806
|
def client_timeout(self):
|
600
|
-
"""Gets the client_timeout of this Listener.
|
807
|
+
r"""Gets the client_timeout of this Listener.
|
601
808
|
|
602
|
-
|
809
|
+
参数解释:等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 约束限制:仅协议为HTTP/HTTPS的监听器支持该字段。 取值范围:1-300s 默认取值:60s。
|
603
810
|
|
604
811
|
:return: The client_timeout of this Listener.
|
605
812
|
:rtype: int
|
@@ -608,20 +815,20 @@ class Listener:
|
|
608
815
|
|
609
816
|
@client_timeout.setter
|
610
817
|
def client_timeout(self, client_timeout):
|
611
|
-
"""Sets the client_timeout of this Listener.
|
818
|
+
r"""Sets the client_timeout of this Listener.
|
612
819
|
|
613
|
-
|
820
|
+
参数解释:等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 约束限制:仅协议为HTTP/HTTPS的监听器支持该字段。 取值范围:1-300s 默认取值:60s。
|
614
821
|
|
615
822
|
:param client_timeout: The client_timeout of this Listener.
|
616
|
-
:type: int
|
823
|
+
:type client_timeout: int
|
617
824
|
"""
|
618
825
|
self._client_timeout = client_timeout
|
619
826
|
|
620
827
|
@property
|
621
828
|
def member_timeout(self):
|
622
|
-
"""Gets the member_timeout of this Listener.
|
829
|
+
r"""Gets the member_timeout of this Listener.
|
623
830
|
|
624
|
-
|
831
|
+
参数解释:等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回HTTP504错误码。 约束限制:仅支持协议为HTTP/HTTPS的监听器。 取值范围:1-300s 默认取值:60s。
|
625
832
|
|
626
833
|
:return: The member_timeout of this Listener.
|
627
834
|
:rtype: int
|
@@ -630,35 +837,293 @@ class Listener:
|
|
630
837
|
|
631
838
|
@member_timeout.setter
|
632
839
|
def member_timeout(self, member_timeout):
|
633
|
-
"""Sets the member_timeout of this Listener.
|
840
|
+
r"""Sets the member_timeout of this Listener.
|
634
841
|
|
635
|
-
|
842
|
+
参数解释:等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回HTTP504错误码。 约束限制:仅支持协议为HTTP/HTTPS的监听器。 取值范围:1-300s 默认取值:60s。
|
636
843
|
|
637
844
|
:param member_timeout: The member_timeout of this Listener.
|
638
|
-
:type: int
|
845
|
+
:type member_timeout: int
|
639
846
|
"""
|
640
847
|
self._member_timeout = member_timeout
|
641
848
|
|
642
849
|
@property
|
643
850
|
def ipgroup(self):
|
644
|
-
"""Gets the ipgroup of this Listener.
|
645
|
-
|
851
|
+
r"""Gets the ipgroup of this Listener.
|
646
852
|
|
647
853
|
:return: The ipgroup of this Listener.
|
648
|
-
:rtype: ListenerIpGroup
|
854
|
+
:rtype: :class:`huaweicloudsdkelb.v3.ListenerIpGroup`
|
649
855
|
"""
|
650
856
|
return self._ipgroup
|
651
857
|
|
652
858
|
@ipgroup.setter
|
653
859
|
def ipgroup(self, ipgroup):
|
654
|
-
"""Sets the ipgroup of this Listener.
|
655
|
-
|
860
|
+
r"""Sets the ipgroup of this Listener.
|
656
861
|
|
657
862
|
:param ipgroup: The ipgroup of this Listener.
|
658
|
-
:type: ListenerIpGroup
|
863
|
+
:type ipgroup: :class:`huaweicloudsdkelb.v3.ListenerIpGroup`
|
659
864
|
"""
|
660
865
|
self._ipgroup = ipgroup
|
661
866
|
|
867
|
+
@property
|
868
|
+
def transparent_client_ip_enable(self):
|
869
|
+
r"""Gets the transparent_client_ip_enable of this Listener.
|
870
|
+
|
871
|
+
参数解释:是否透传客户端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)
|
872
|
+
|
873
|
+
:return: The transparent_client_ip_enable of this Listener.
|
874
|
+
:rtype: bool
|
875
|
+
"""
|
876
|
+
return self._transparent_client_ip_enable
|
877
|
+
|
878
|
+
@transparent_client_ip_enable.setter
|
879
|
+
def transparent_client_ip_enable(self, transparent_client_ip_enable):
|
880
|
+
r"""Sets the transparent_client_ip_enable of this Listener.
|
881
|
+
|
882
|
+
参数解释:是否透传客户端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)
|
883
|
+
|
884
|
+
:param transparent_client_ip_enable: The transparent_client_ip_enable of this Listener.
|
885
|
+
:type transparent_client_ip_enable: bool
|
886
|
+
"""
|
887
|
+
self._transparent_client_ip_enable = transparent_client_ip_enable
|
888
|
+
|
889
|
+
@property
|
890
|
+
def proxy_protocol_enable(self):
|
891
|
+
r"""Gets the proxy_protocol_enable of this Listener.
|
892
|
+
|
893
|
+
参数解释:是否开启proxy_protocol。仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
|
894
|
+
|
895
|
+
:return: The proxy_protocol_enable of this Listener.
|
896
|
+
:rtype: bool
|
897
|
+
"""
|
898
|
+
return self._proxy_protocol_enable
|
899
|
+
|
900
|
+
@proxy_protocol_enable.setter
|
901
|
+
def proxy_protocol_enable(self, proxy_protocol_enable):
|
902
|
+
r"""Sets the proxy_protocol_enable of this Listener.
|
903
|
+
|
904
|
+
参数解释:是否开启proxy_protocol。仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
|
905
|
+
|
906
|
+
:param proxy_protocol_enable: The proxy_protocol_enable of this Listener.
|
907
|
+
:type proxy_protocol_enable: bool
|
908
|
+
"""
|
909
|
+
self._proxy_protocol_enable = proxy_protocol_enable
|
910
|
+
|
911
|
+
@property
|
912
|
+
def enhance_l7policy_enable(self):
|
913
|
+
r"""Gets the enhance_l7policy_enable of this Listener.
|
914
|
+
|
915
|
+
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的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不开启。 默认取值:false。[西南-贵阳一和华南-广州局点,该配置默认true。](tag:hws) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
916
|
+
|
917
|
+
:return: The enhance_l7policy_enable of this Listener.
|
918
|
+
:rtype: bool
|
919
|
+
"""
|
920
|
+
return self._enhance_l7policy_enable
|
921
|
+
|
922
|
+
@enhance_l7policy_enable.setter
|
923
|
+
def enhance_l7policy_enable(self, enhance_l7policy_enable):
|
924
|
+
r"""Sets the enhance_l7policy_enable of this Listener.
|
925
|
+
|
926
|
+
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的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不开启。 默认取值:false。[西南-贵阳一和华南-广州局点,该配置默认true。](tag:hws) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
927
|
+
|
928
|
+
:param enhance_l7policy_enable: The enhance_l7policy_enable of this Listener.
|
929
|
+
:type enhance_l7policy_enable: bool
|
930
|
+
"""
|
931
|
+
self._enhance_l7policy_enable = enhance_l7policy_enable
|
932
|
+
|
933
|
+
@property
|
934
|
+
def quic_config(self):
|
935
|
+
r"""Gets the quic_config of this Listener.
|
936
|
+
|
937
|
+
:return: The quic_config of this Listener.
|
938
|
+
:rtype: :class:`huaweicloudsdkelb.v3.ListenerQuicConfig`
|
939
|
+
"""
|
940
|
+
return self._quic_config
|
941
|
+
|
942
|
+
@quic_config.setter
|
943
|
+
def quic_config(self, quic_config):
|
944
|
+
r"""Sets the quic_config of this Listener.
|
945
|
+
|
946
|
+
:param quic_config: The quic_config of this Listener.
|
947
|
+
:type quic_config: :class:`huaweicloudsdkelb.v3.ListenerQuicConfig`
|
948
|
+
"""
|
949
|
+
self._quic_config = quic_config
|
950
|
+
|
951
|
+
@property
|
952
|
+
def protection_status(self):
|
953
|
+
r"""Gets the protection_status of this Listener.
|
954
|
+
|
955
|
+
参数解释:修改保护状态, 取值范围: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
|
956
|
+
|
957
|
+
:return: The protection_status of this Listener.
|
958
|
+
:rtype: str
|
959
|
+
"""
|
960
|
+
return self._protection_status
|
961
|
+
|
962
|
+
@protection_status.setter
|
963
|
+
def protection_status(self, protection_status):
|
964
|
+
r"""Sets the protection_status of this Listener.
|
965
|
+
|
966
|
+
参数解释:修改保护状态, 取值范围: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
|
967
|
+
|
968
|
+
:param protection_status: The protection_status of this Listener.
|
969
|
+
:type protection_status: str
|
970
|
+
"""
|
971
|
+
self._protection_status = protection_status
|
972
|
+
|
973
|
+
@property
|
974
|
+
def protection_reason(self):
|
975
|
+
r"""Gets the protection_reason of this Listener.
|
976
|
+
|
977
|
+
参数解释:设置保护的原因。作为protection_status的转态设置的原因。 约束限制:仅当protection_status为consoleProtection时有效。 取值范围:除'<'和'>'外通用Unicode字符集字符,最大255个字符。
|
978
|
+
|
979
|
+
:return: The protection_reason of this Listener.
|
980
|
+
:rtype: str
|
981
|
+
"""
|
982
|
+
return self._protection_reason
|
983
|
+
|
984
|
+
@protection_reason.setter
|
985
|
+
def protection_reason(self, protection_reason):
|
986
|
+
r"""Sets the protection_reason of this Listener.
|
987
|
+
|
988
|
+
参数解释:设置保护的原因。作为protection_status的转态设置的原因。 约束限制:仅当protection_status为consoleProtection时有效。 取值范围:除'<'和'>'外通用Unicode字符集字符,最大255个字符。
|
989
|
+
|
990
|
+
:param protection_reason: The protection_reason of this Listener.
|
991
|
+
:type protection_reason: str
|
992
|
+
"""
|
993
|
+
self._protection_reason = protection_reason
|
994
|
+
|
995
|
+
@property
|
996
|
+
def gzip_enable(self):
|
997
|
+
r"""Gets the gzip_enable of this Listener.
|
998
|
+
|
999
|
+
参数解释: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 [不支持该字段,请勿使用。](tag:hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
1000
|
+
|
1001
|
+
:return: The gzip_enable of this Listener.
|
1002
|
+
:rtype: bool
|
1003
|
+
"""
|
1004
|
+
return self._gzip_enable
|
1005
|
+
|
1006
|
+
@gzip_enable.setter
|
1007
|
+
def gzip_enable(self, gzip_enable):
|
1008
|
+
r"""Sets the gzip_enable of this Listener.
|
1009
|
+
|
1010
|
+
参数解释: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 [不支持该字段,请勿使用。](tag:hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
1011
|
+
|
1012
|
+
:param gzip_enable: The gzip_enable of this Listener.
|
1013
|
+
:type gzip_enable: bool
|
1014
|
+
"""
|
1015
|
+
self._gzip_enable = gzip_enable
|
1016
|
+
|
1017
|
+
@property
|
1018
|
+
def port_ranges(self):
|
1019
|
+
r"""Gets the port_ranges of this Listener.
|
1020
|
+
|
1021
|
+
参数解释:端口监听范围(闭区间)。 约束限制: - 最多指定10个端口组,每个组范围不可有重叠部分 - 仅当protocol_port为0时可以传入。 [不支持该字段,请勿使用。](tag:hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
1022
|
+
|
1023
|
+
:return: The port_ranges of this Listener.
|
1024
|
+
:rtype: list[:class:`huaweicloudsdkelb.v3.PortRange`]
|
1025
|
+
"""
|
1026
|
+
return self._port_ranges
|
1027
|
+
|
1028
|
+
@port_ranges.setter
|
1029
|
+
def port_ranges(self, port_ranges):
|
1030
|
+
r"""Sets the port_ranges of this Listener.
|
1031
|
+
|
1032
|
+
参数解释:端口监听范围(闭区间)。 约束限制: - 最多指定10个端口组,每个组范围不可有重叠部分 - 仅当protocol_port为0时可以传入。 [不支持该字段,请勿使用。](tag:hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
1033
|
+
|
1034
|
+
:param port_ranges: The port_ranges of this Listener.
|
1035
|
+
:type port_ranges: list[:class:`huaweicloudsdkelb.v3.PortRange`]
|
1036
|
+
"""
|
1037
|
+
self._port_ranges = port_ranges
|
1038
|
+
|
1039
|
+
@property
|
1040
|
+
def ssl_early_data_enable(self):
|
1041
|
+
r"""Gets the ssl_early_data_enable of this Listener.
|
1042
|
+
|
1043
|
+
参数解释:监听器0-RTT能力开关 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。 默认取值:false。
|
1044
|
+
|
1045
|
+
:return: The ssl_early_data_enable of this Listener.
|
1046
|
+
:rtype: bool
|
1047
|
+
"""
|
1048
|
+
return self._ssl_early_data_enable
|
1049
|
+
|
1050
|
+
@ssl_early_data_enable.setter
|
1051
|
+
def ssl_early_data_enable(self, ssl_early_data_enable):
|
1052
|
+
r"""Sets the ssl_early_data_enable of this Listener.
|
1053
|
+
|
1054
|
+
参数解释:监听器0-RTT能力开关 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。 默认取值:false。
|
1055
|
+
|
1056
|
+
:param ssl_early_data_enable: The ssl_early_data_enable of this Listener.
|
1057
|
+
:type ssl_early_data_enable: bool
|
1058
|
+
"""
|
1059
|
+
self._ssl_early_data_enable = ssl_early_data_enable
|
1060
|
+
|
1061
|
+
@property
|
1062
|
+
def cps(self):
|
1063
|
+
r"""Gets the cps of this Listener.
|
1064
|
+
|
1065
|
+
参数解释:监听器新建限速 约束限制:当该限速值大于LB的限速值时,以LB的限速值生效 取值范围:0-1000000 默认取值:0,表示不限速
|
1066
|
+
|
1067
|
+
:return: The cps of this Listener.
|
1068
|
+
:rtype: int
|
1069
|
+
"""
|
1070
|
+
return self._cps
|
1071
|
+
|
1072
|
+
@cps.setter
|
1073
|
+
def cps(self, cps):
|
1074
|
+
r"""Sets the cps of this Listener.
|
1075
|
+
|
1076
|
+
参数解释:监听器新建限速 约束限制:当该限速值大于LB的限速值时,以LB的限速值生效 取值范围:0-1000000 默认取值:0,表示不限速
|
1077
|
+
|
1078
|
+
:param cps: The cps of this Listener.
|
1079
|
+
:type cps: int
|
1080
|
+
"""
|
1081
|
+
self._cps = cps
|
1082
|
+
|
1083
|
+
@property
|
1084
|
+
def connection(self):
|
1085
|
+
r"""Gets the connection of this Listener.
|
1086
|
+
|
1087
|
+
参数解释:监听器并发限速 约束限制:当该限速值大于LB的限速值时,以LB的限速值生效 取值范围:0-1000000 默认取值:0,表示不限速
|
1088
|
+
|
1089
|
+
:return: The connection of this Listener.
|
1090
|
+
:rtype: int
|
1091
|
+
"""
|
1092
|
+
return self._connection
|
1093
|
+
|
1094
|
+
@connection.setter
|
1095
|
+
def connection(self, connection):
|
1096
|
+
r"""Sets the connection of this Listener.
|
1097
|
+
|
1098
|
+
参数解释:监听器并发限速 约束限制:当该限速值大于LB的限速值时,以LB的限速值生效 取值范围:0-1000000 默认取值:0,表示不限速
|
1099
|
+
|
1100
|
+
:param connection: The connection of this Listener.
|
1101
|
+
:type connection: int
|
1102
|
+
"""
|
1103
|
+
self._connection = connection
|
1104
|
+
|
1105
|
+
@property
|
1106
|
+
def nat64_enable(self):
|
1107
|
+
r"""Gets the nat64_enable of this Listener.
|
1108
|
+
|
1109
|
+
参数解释: 监听器地址族转换能力开关,可以实现客户端通过访问LB的IPv4或者IPv6地址,来访问IPv4后端和IPv6后端。 约束限制: 仅对于TCP、UDP协议类型的监听器生效,与transparent_client_ip_enable,获取客户端ip功能开关互斥,开启地址族转换同时需要保证获取客户端ip功能关闭。 取值范围: - true:开启地址族转换功能 - false:关闭地址族转换功能 默认取值:false
|
1110
|
+
|
1111
|
+
:return: The nat64_enable of this Listener.
|
1112
|
+
:rtype: bool
|
1113
|
+
"""
|
1114
|
+
return self._nat64_enable
|
1115
|
+
|
1116
|
+
@nat64_enable.setter
|
1117
|
+
def nat64_enable(self, nat64_enable):
|
1118
|
+
r"""Sets the nat64_enable of this Listener.
|
1119
|
+
|
1120
|
+
参数解释: 监听器地址族转换能力开关,可以实现客户端通过访问LB的IPv4或者IPv6地址,来访问IPv4后端和IPv6后端。 约束限制: 仅对于TCP、UDP协议类型的监听器生效,与transparent_client_ip_enable,获取客户端ip功能开关互斥,开启地址族转换同时需要保证获取客户端ip功能关闭。 取值范围: - true:开启地址族转换功能 - false:关闭地址族转换功能 默认取值:false
|
1121
|
+
|
1122
|
+
:param nat64_enable: The nat64_enable of this Listener.
|
1123
|
+
:type nat64_enable: bool
|
1124
|
+
"""
|
1125
|
+
self._nat64_enable = nat64_enable
|
1126
|
+
|
662
1127
|
def to_dict(self):
|
663
1128
|
"""Returns the model properties as a dict"""
|
664
1129
|
result = {}
|
@@ -688,10 +1153,15 @@ class Listener:
|
|
688
1153
|
|
689
1154
|
def to_str(self):
|
690
1155
|
"""Returns the string representation of the model"""
|
691
|
-
|
1156
|
+
import simplejson as json
|
1157
|
+
if six.PY2:
|
1158
|
+
import sys
|
1159
|
+
reload(sys)
|
1160
|
+
sys.setdefaultencoding("utf-8")
|
1161
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
692
1162
|
|
693
1163
|
def __repr__(self):
|
694
|
-
"""For `print`
|
1164
|
+
"""For `print`"""
|
695
1165
|
return self.to_str()
|
696
1166
|
|
697
1167
|
def __eq__(self, other):
|