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