huaweicloudsdkelb 3.1.86__py2.py3-none-any.whl → 3.1.132__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkelb/v2/elb_async_client.py +2 -0
- huaweicloudsdkelb/v2/elb_client.py +2 -0
- huaweicloudsdkelb/v2/model/list_members_request.py +32 -3
- huaweicloudsdkelb/v2/region/elb_region.py +19 -1
- huaweicloudsdkelb/v3/__init__.py +29 -0
- huaweicloudsdkelb/v3/elb_async_client.py +175 -34
- huaweicloudsdkelb/v3/elb_client.py +175 -34
- huaweicloudsdkelb/v3/model/__init__.py +29 -0
- huaweicloudsdkelb/v3/model/autoscaling_ref.py +6 -6
- huaweicloudsdkelb/v3/model/availability_zone.py +15 -15
- huaweicloudsdkelb/v3/model/bandwidth_ref.py +3 -3
- huaweicloudsdkelb/v3/model/batch_add_available_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +12 -12
- huaweicloudsdkelb/v3/model/batch_create_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_response.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +85 -27
- huaweicloudsdkelb/v3/model/batch_update_member.py +85 -27
- huaweicloudsdkelb/v3/model/batch_update_members_option.py +9 -9
- huaweicloudsdkelb/v3/model/batch_update_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_policies_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +6 -6
- huaweicloudsdkelb/v3/model/certificate_info.py +93 -6
- huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/connection_drain.py +6 -6
- huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
- huaweicloudsdkelb/v3/model/create_certificate_option.py +5 -4
- 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_fixted_response_config.py +87 -12
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +18 -18
- 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 +6 -6
- huaweicloudsdkelb/v3/model/create_ip_group_option.py +15 -15
- huaweicloudsdkelb/v3/model/create_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +91 -37
- huaweicloudsdkelb/v3/model/create_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +21 -21
- huaweicloudsdkelb/v3/model/create_l7_rule_request.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_listener_option.py +84 -84
- huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +18 -18
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +76 -105
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +33 -33
- huaweicloudsdkelb/v3/model/create_member_option.py +21 -21
- huaweicloudsdkelb/v3/model/create_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/create_member_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_option.py +102 -48
- huaweicloudsdkelb/v3/model/create_pool_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_pool_slow_start_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +143 -0
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +81 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +71 -21
- 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 +9 -9
- huaweicloudsdkelb/v3/model/create_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/create_rule_option.py +24 -24
- huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/delete_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_master_slave_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_member_request.py +6 -6
- huaweicloudsdkelb/v3/model/delete_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/fixted_response_config.py +87 -12
- huaweicloudsdkelb/v3/model/flavor.py +79 -21
- huaweicloudsdkelb/v3/model/flavor_info.py +18 -18
- huaweicloudsdkelb/v3/model/global_eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/health_monitor.py +18 -18
- huaweicloudsdkelb/v3/model/insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/ip_group.py +119 -90
- huaweicloudsdkelb/v3/model/ip_group_ip.py +3 -3
- huaweicloudsdkelb/v3/model/ip_info.py +6 -6
- huaweicloudsdkelb/v3/model/l7_policy.py +103 -49
- huaweicloudsdkelb/v3/model/l7_rule.py +36 -36
- huaweicloudsdkelb/v3/model/list_all_members_request.py +24 -24
- huaweicloudsdkelb/v3/model/list_all_members_response.py +4 -4
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +38 -9
- huaweicloudsdkelb/v3/model/list_certificates_request.py +64 -6
- huaweicloudsdkelb/v3/model/list_flavors_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_flavors_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +15 -15
- huaweicloudsdkelb/v3/model/list_ip_groups_request.py +53 -24
- huaweicloudsdkelb/v3/model/list_ip_groups_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +51 -51
- huaweicloudsdkelb/v3/model/list_l7_policies_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_rules_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_listeners_request.py +42 -42
- huaweicloudsdkelb/v3/model/list_listeners_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +36 -36
- huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +39 -39
- huaweicloudsdkelb/v3/model/list_members_request.py +27 -27
- huaweicloudsdkelb/v3/model/list_pools_request.py +135 -48
- huaweicloudsdkelb/v3/model/list_security_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +96 -96
- huaweicloudsdkelb/v3/model/listener_insert_headers.py +30 -30
- huaweicloudsdkelb/v3/model/listener_ip_group.py +9 -9
- huaweicloudsdkelb/v3/model/listener_member_info.py +3 -3
- huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
- huaweicloudsdkelb/v3/model/listener_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer.py +129 -129
- huaweicloudsdkelb/v3/model/load_balancer_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status_pool.py +3 -3
- huaweicloudsdkelb/v3/model/logtank.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +12 -12
- huaweicloudsdkelb/v3/model/master_slave_member.py +18 -18
- huaweicloudsdkelb/v3/model/master_slave_pool.py +42 -42
- huaweicloudsdkelb/v3/model/member.py +46 -191
- huaweicloudsdkelb/v3/model/member_info.py +656 -0
- huaweicloudsdkelb/v3/model/member_ref.py +3 -3
- huaweicloudsdkelb/v3/model/member_status.py +6 -6
- huaweicloudsdkelb/v3/model/page_info.py +9 -9
- huaweicloudsdkelb/v3/model/pool.py +146 -63
- huaweicloudsdkelb/v3/model/pool_health.py +115 -0
- huaweicloudsdkelb/v3/model/pool_ref.py +3 -3
- huaweicloudsdkelb/v3/model/prepaid_create_option.py +12 -12
- huaweicloudsdkelb/v3/model/public_ip_info.py +9 -9
- huaweicloudsdkelb/v3/model/quota.py +21 -21
- huaweicloudsdkelb/v3/model/quota_info.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_config.py +144 -0
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +81 -6
- huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/redirect_url_config.py +83 -27
- huaweicloudsdkelb/v3/model/remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/rule_ref.py +3 -3
- huaweicloudsdkelb/v3/model/session_persistence.py +9 -9
- 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_flavor_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_flavor_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_status_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_master_slave_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/slow_start.py +6 -6
- huaweicloudsdkelb/v3/model/tag.py +6 -6
- huaweicloudsdkelb/v3/model/traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_certificate_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_fixted_response_config.py +87 -12
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +15 -15
- 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 +9 -9
- huaweicloudsdkelb/v3/model/update_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_list_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_ip_list_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_list_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +76 -22
- huaweicloudsdkelb/v3/model/update_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_rule_option.py +18 -18
- huaweicloudsdkelb/v3/model/update_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_listener_option.py +66 -66
- huaweicloudsdkelb/v3/model/update_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +48 -48
- huaweicloudsdkelb/v3/model/update_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/update_loadbalancer_autoscaling_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_member_option.py +12 -12
- huaweicloudsdkelb/v3/model/update_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_option.py +52 -27
- huaweicloudsdkelb/v3/model/update_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +143 -0
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +84 -9
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/update_redirect_url_config.py +71 -21
- 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 +6 -6
- huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/region/elb_region.py +19 -1
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/RECORD +213 -184
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/top_level.txt +0 -0
@@ -39,7 +39,10 @@ class Pool:
|
|
39
39
|
'protection_status': 'str',
|
40
40
|
'protection_reason': 'str',
|
41
41
|
'any_port_enable': 'bool',
|
42
|
-
'connection_drain': 'ConnectionDrain'
|
42
|
+
'connection_drain': 'ConnectionDrain',
|
43
|
+
'enterprise_project_id': 'str',
|
44
|
+
'pool_health': 'PoolHealth',
|
45
|
+
'public_border_group': 'str'
|
43
46
|
}
|
44
47
|
|
45
48
|
attribute_map = {
|
@@ -65,60 +68,69 @@ class Pool:
|
|
65
68
|
'protection_status': 'protection_status',
|
66
69
|
'protection_reason': 'protection_reason',
|
67
70
|
'any_port_enable': 'any_port_enable',
|
68
|
-
'connection_drain': 'connection_drain'
|
71
|
+
'connection_drain': 'connection_drain',
|
72
|
+
'enterprise_project_id': 'enterprise_project_id',
|
73
|
+
'pool_health': 'pool_health',
|
74
|
+
'public_border_group': 'public_border_group'
|
69
75
|
}
|
70
76
|
|
71
|
-
def __init__(self, admin_state_up=None, description=None, healthmonitor_id=None, id=None, lb_algorithm=None, listeners=None, loadbalancers=None, members=None, name=None, project_id=None, protocol=None, session_persistence=None, ip_version=None, slow_start=None, member_deletion_protection_enable=None, created_at=None, updated_at=None, vpc_id=None, type=None, protection_status=None, protection_reason=None, any_port_enable=None, connection_drain=None):
|
77
|
+
def __init__(self, admin_state_up=None, description=None, healthmonitor_id=None, id=None, lb_algorithm=None, listeners=None, loadbalancers=None, members=None, name=None, project_id=None, protocol=None, session_persistence=None, ip_version=None, slow_start=None, member_deletion_protection_enable=None, created_at=None, updated_at=None, vpc_id=None, type=None, protection_status=None, protection_reason=None, any_port_enable=None, connection_drain=None, enterprise_project_id=None, pool_health=None, public_border_group=None):
|
72
78
|
"""Pool
|
73
79
|
|
74
80
|
The model defined in huaweicloud sdk
|
75
81
|
|
76
|
-
:param admin_state_up:
|
82
|
+
:param admin_state_up: 参数解释:后端服务器组的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
77
83
|
:type admin_state_up: bool
|
78
|
-
:param description:
|
84
|
+
:param description: 参数解释:后端服务器组的描述信息。
|
79
85
|
:type description: str
|
80
|
-
:param healthmonitor_id:
|
86
|
+
:param healthmonitor_id: 参数解释:后端服务器组关联的健康检查的ID。
|
81
87
|
:type healthmonitor_id: str
|
82
|
-
:param id:
|
88
|
+
:param id: 参数解释:后端服务器组的ID。
|
83
89
|
:type id: str
|
84
|
-
:param lb_algorithm:
|
90
|
+
:param lb_algorithm: 参数解释:后端服务器组的负载均衡算法。 约束限制: - 当该字段的取值为SOURCE_IP或QUIC_CID时,后端服务器组绑定的后端服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 取值范围: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) [不支持QUIC_CID算法。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
85
91
|
:type lb_algorithm: str
|
86
|
-
:param listeners:
|
92
|
+
:param listeners: 参数解释:后端服务器组关联的监听器ID列表。
|
87
93
|
:type listeners: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
88
|
-
:param loadbalancers:
|
94
|
+
:param loadbalancers: 参数解释:后端服务器组关联的负载均衡器ID列表。
|
89
95
|
:type loadbalancers: list[:class:`huaweicloudsdkelb.v3.LoadBalancerRef`]
|
90
|
-
:param members:
|
96
|
+
:param members: 参数解释:后端服务器组中的后端服务器ID列表。
|
91
97
|
:type members: list[:class:`huaweicloudsdkelb.v3.MemberRef`]
|
92
|
-
:param name:
|
98
|
+
:param name: 参数解释:后端服务器组的名称。
|
93
99
|
:type name: str
|
94
|
-
:param project_id:
|
100
|
+
:param project_id: 参数解释:后端服务器组所在的项目ID。
|
95
101
|
:type project_id: str
|
96
|
-
:param protocol:
|
102
|
+
:param protocol: 参数解释:后端服务器组的后端协议。 约束限制: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时pool的protocol必须为TCP。 [- listener的protocol为IP时,pool的protocol必须为IP。](tag:hws_eu) - listener的protocol为HTTP时,pool的protocol必须为HTTP。 - listener的protocol为HTTPS时,pool的protocol必须为HTTP、HTTPS或GRPC。 - listener的protocol为TERMINATED_HTTPS时,pool的protocol必须为HTTP。 - listener的protocol为QUIC时,pool的protocol必须为HTTP、HTTPS或GRPC。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 - 若pool的protocol为GRPC,关联监听器必须开启HTTP2。 - 若pool的protocol为TCP,则pool的ip_version字段取值必须是4。 取值范围:TCP、UDP、[IP、](tag:hws_eu)TLS、GRPC、HTTP、HTTPS和QUIC。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
97
103
|
:type protocol: str
|
98
104
|
:param session_persistence:
|
99
105
|
:type session_persistence: :class:`huaweicloudsdkelb.v3.SessionPersistence`
|
100
|
-
:param ip_version:
|
106
|
+
:param ip_version: 参数解释:后端服务器组支持的IP版本。 [取值范围: - 共享型:固定为v4; - 独享型:取值dualstack、v4。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值范围:dualstack、v4。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
101
107
|
:type ip_version: str
|
102
108
|
:param slow_start:
|
103
109
|
:type slow_start: :class:`huaweicloudsdkelb.v3.SlowStart`
|
104
|
-
:param member_deletion_protection_enable:
|
110
|
+
:param member_deletion_protection_enable: 参数解释:是否开启误删保护。 取值范围:false不开启,true开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
105
111
|
:type member_deletion_protection_enable: bool
|
106
|
-
:param created_at:
|
112
|
+
:param created_at: 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
107
113
|
:type created_at: str
|
108
|
-
:param updated_at:
|
114
|
+
:param updated_at: 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
109
115
|
:type updated_at: str
|
110
|
-
:param vpc_id:
|
116
|
+
:param vpc_id: 参数解释:后端服务器组关联的虚拟私有云的ID。
|
111
117
|
:type vpc_id: str
|
112
|
-
:param type:
|
118
|
+
:param type: 参数解释:后端服务器组的类型。 取值范围: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。[pool的protocol为IP时,type不允许设置为ip。](tag:hws_eu)] - 空字符串(\"\"):允许任意类型的后端
|
113
119
|
:type type: str
|
114
|
-
:param protection_status:
|
120
|
+
:param protection_status: 参数解释:修改保护状态,。 取值范围: - nonProtection: 不保护。 - consoleProtection: 控制台修改保护。 默认取值:nonProtection
|
115
121
|
:type protection_status: str
|
116
|
-
:param protection_reason:
|
122
|
+
:param protection_reason: 参数解释:设置保护的原因。 参数限制:仅当protection_status为consoleProtection时有效。
|
117
123
|
:type protection_reason: str
|
118
|
-
:param any_port_enable:
|
124
|
+
:param any_port_enable: 参数解释:后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 约束限制: - 仅QUIC,TCP,UDP的pool支持。
|
119
125
|
:type any_port_enable: bool
|
120
126
|
:param connection_drain:
|
121
127
|
:type connection_drain: :class:`huaweicloudsdkelb.v3.ConnectionDrain`
|
128
|
+
:param enterprise_project_id: 参数解释:IP地址组所在的企业项目ID。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
129
|
+
:type enterprise_project_id: str
|
130
|
+
:param pool_health:
|
131
|
+
:type pool_health: :class:`huaweicloudsdkelb.v3.PoolHealth`
|
132
|
+
:param public_border_group: 参数解释:可用区组,如:center
|
133
|
+
:type public_border_group: str
|
122
134
|
"""
|
123
135
|
|
124
136
|
|
@@ -146,6 +158,9 @@ class Pool:
|
|
146
158
|
self._protection_reason = None
|
147
159
|
self._any_port_enable = None
|
148
160
|
self._connection_drain = None
|
161
|
+
self._enterprise_project_id = None
|
162
|
+
self._pool_health = None
|
163
|
+
self._public_border_group = None
|
149
164
|
self.discriminator = None
|
150
165
|
|
151
166
|
self.admin_state_up = admin_state_up
|
@@ -177,12 +192,18 @@ class Pool:
|
|
177
192
|
self.any_port_enable = any_port_enable
|
178
193
|
if connection_drain is not None:
|
179
194
|
self.connection_drain = connection_drain
|
195
|
+
if enterprise_project_id is not None:
|
196
|
+
self.enterprise_project_id = enterprise_project_id
|
197
|
+
if pool_health is not None:
|
198
|
+
self.pool_health = pool_health
|
199
|
+
if public_border_group is not None:
|
200
|
+
self.public_border_group = public_border_group
|
180
201
|
|
181
202
|
@property
|
182
203
|
def admin_state_up(self):
|
183
204
|
"""Gets the admin_state_up of this Pool.
|
184
205
|
|
185
|
-
|
206
|
+
参数解释:后端服务器组的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
186
207
|
|
187
208
|
:return: The admin_state_up of this Pool.
|
188
209
|
:rtype: bool
|
@@ -193,7 +214,7 @@ class Pool:
|
|
193
214
|
def admin_state_up(self, admin_state_up):
|
194
215
|
"""Sets the admin_state_up of this Pool.
|
195
216
|
|
196
|
-
|
217
|
+
参数解释:后端服务器组的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
197
218
|
|
198
219
|
:param admin_state_up: The admin_state_up of this Pool.
|
199
220
|
:type admin_state_up: bool
|
@@ -204,7 +225,7 @@ class Pool:
|
|
204
225
|
def description(self):
|
205
226
|
"""Gets the description of this Pool.
|
206
227
|
|
207
|
-
|
228
|
+
参数解释:后端服务器组的描述信息。
|
208
229
|
|
209
230
|
:return: The description of this Pool.
|
210
231
|
:rtype: str
|
@@ -215,7 +236,7 @@ class Pool:
|
|
215
236
|
def description(self, description):
|
216
237
|
"""Sets the description of this Pool.
|
217
238
|
|
218
|
-
|
239
|
+
参数解释:后端服务器组的描述信息。
|
219
240
|
|
220
241
|
:param description: The description of this Pool.
|
221
242
|
:type description: str
|
@@ -226,7 +247,7 @@ class Pool:
|
|
226
247
|
def healthmonitor_id(self):
|
227
248
|
"""Gets the healthmonitor_id of this Pool.
|
228
249
|
|
229
|
-
|
250
|
+
参数解释:后端服务器组关联的健康检查的ID。
|
230
251
|
|
231
252
|
:return: The healthmonitor_id of this Pool.
|
232
253
|
:rtype: str
|
@@ -237,7 +258,7 @@ class Pool:
|
|
237
258
|
def healthmonitor_id(self, healthmonitor_id):
|
238
259
|
"""Sets the healthmonitor_id of this Pool.
|
239
260
|
|
240
|
-
|
261
|
+
参数解释:后端服务器组关联的健康检查的ID。
|
241
262
|
|
242
263
|
:param healthmonitor_id: The healthmonitor_id of this Pool.
|
243
264
|
:type healthmonitor_id: str
|
@@ -248,7 +269,7 @@ class Pool:
|
|
248
269
|
def id(self):
|
249
270
|
"""Gets the id of this Pool.
|
250
271
|
|
251
|
-
|
272
|
+
参数解释:后端服务器组的ID。
|
252
273
|
|
253
274
|
:return: The id of this Pool.
|
254
275
|
:rtype: str
|
@@ -259,7 +280,7 @@ class Pool:
|
|
259
280
|
def id(self, id):
|
260
281
|
"""Sets the id of this Pool.
|
261
282
|
|
262
|
-
|
283
|
+
参数解释:后端服务器组的ID。
|
263
284
|
|
264
285
|
:param id: The id of this Pool.
|
265
286
|
:type id: str
|
@@ -270,7 +291,7 @@ class Pool:
|
|
270
291
|
def lb_algorithm(self):
|
271
292
|
"""Gets the lb_algorithm of this Pool.
|
272
293
|
|
273
|
-
|
294
|
+
参数解释:后端服务器组的负载均衡算法。 约束限制: - 当该字段的取值为SOURCE_IP或QUIC_CID时,后端服务器组绑定的后端服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 取值范围: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) [不支持QUIC_CID算法。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
274
295
|
|
275
296
|
:return: The lb_algorithm of this Pool.
|
276
297
|
:rtype: str
|
@@ -281,7 +302,7 @@ class Pool:
|
|
281
302
|
def lb_algorithm(self, lb_algorithm):
|
282
303
|
"""Sets the lb_algorithm of this Pool.
|
283
304
|
|
284
|
-
|
305
|
+
参数解释:后端服务器组的负载均衡算法。 约束限制: - 当该字段的取值为SOURCE_IP或QUIC_CID时,后端服务器组绑定的后端服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 取值范围: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) [不支持QUIC_CID算法。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
285
306
|
|
286
307
|
:param lb_algorithm: The lb_algorithm of this Pool.
|
287
308
|
:type lb_algorithm: str
|
@@ -292,7 +313,7 @@ class Pool:
|
|
292
313
|
def listeners(self):
|
293
314
|
"""Gets the listeners of this Pool.
|
294
315
|
|
295
|
-
|
316
|
+
参数解释:后端服务器组关联的监听器ID列表。
|
296
317
|
|
297
318
|
:return: The listeners of this Pool.
|
298
319
|
:rtype: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
@@ -303,7 +324,7 @@ class Pool:
|
|
303
324
|
def listeners(self, listeners):
|
304
325
|
"""Sets the listeners of this Pool.
|
305
326
|
|
306
|
-
|
327
|
+
参数解释:后端服务器组关联的监听器ID列表。
|
307
328
|
|
308
329
|
:param listeners: The listeners of this Pool.
|
309
330
|
:type listeners: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
@@ -314,7 +335,7 @@ class Pool:
|
|
314
335
|
def loadbalancers(self):
|
315
336
|
"""Gets the loadbalancers of this Pool.
|
316
337
|
|
317
|
-
|
338
|
+
参数解释:后端服务器组关联的负载均衡器ID列表。
|
318
339
|
|
319
340
|
:return: The loadbalancers of this Pool.
|
320
341
|
:rtype: list[:class:`huaweicloudsdkelb.v3.LoadBalancerRef`]
|
@@ -325,7 +346,7 @@ class Pool:
|
|
325
346
|
def loadbalancers(self, loadbalancers):
|
326
347
|
"""Sets the loadbalancers of this Pool.
|
327
348
|
|
328
|
-
|
349
|
+
参数解释:后端服务器组关联的负载均衡器ID列表。
|
329
350
|
|
330
351
|
:param loadbalancers: The loadbalancers of this Pool.
|
331
352
|
:type loadbalancers: list[:class:`huaweicloudsdkelb.v3.LoadBalancerRef`]
|
@@ -336,7 +357,7 @@ class Pool:
|
|
336
357
|
def members(self):
|
337
358
|
"""Gets the members of this Pool.
|
338
359
|
|
339
|
-
|
360
|
+
参数解释:后端服务器组中的后端服务器ID列表。
|
340
361
|
|
341
362
|
:return: The members of this Pool.
|
342
363
|
:rtype: list[:class:`huaweicloudsdkelb.v3.MemberRef`]
|
@@ -347,7 +368,7 @@ class Pool:
|
|
347
368
|
def members(self, members):
|
348
369
|
"""Sets the members of this Pool.
|
349
370
|
|
350
|
-
|
371
|
+
参数解释:后端服务器组中的后端服务器ID列表。
|
351
372
|
|
352
373
|
:param members: The members of this Pool.
|
353
374
|
:type members: list[:class:`huaweicloudsdkelb.v3.MemberRef`]
|
@@ -358,7 +379,7 @@ class Pool:
|
|
358
379
|
def name(self):
|
359
380
|
"""Gets the name of this Pool.
|
360
381
|
|
361
|
-
|
382
|
+
参数解释:后端服务器组的名称。
|
362
383
|
|
363
384
|
:return: The name of this Pool.
|
364
385
|
:rtype: str
|
@@ -369,7 +390,7 @@ class Pool:
|
|
369
390
|
def name(self, name):
|
370
391
|
"""Sets the name of this Pool.
|
371
392
|
|
372
|
-
|
393
|
+
参数解释:后端服务器组的名称。
|
373
394
|
|
374
395
|
:param name: The name of this Pool.
|
375
396
|
:type name: str
|
@@ -380,7 +401,7 @@ class Pool:
|
|
380
401
|
def project_id(self):
|
381
402
|
"""Gets the project_id of this Pool.
|
382
403
|
|
383
|
-
|
404
|
+
参数解释:后端服务器组所在的项目ID。
|
384
405
|
|
385
406
|
:return: The project_id of this Pool.
|
386
407
|
:rtype: str
|
@@ -391,7 +412,7 @@ class Pool:
|
|
391
412
|
def project_id(self, project_id):
|
392
413
|
"""Sets the project_id of this Pool.
|
393
414
|
|
394
|
-
|
415
|
+
参数解释:后端服务器组所在的项目ID。
|
395
416
|
|
396
417
|
:param project_id: The project_id of this Pool.
|
397
418
|
:type project_id: str
|
@@ -402,7 +423,7 @@ class Pool:
|
|
402
423
|
def protocol(self):
|
403
424
|
"""Gets the protocol of this Pool.
|
404
425
|
|
405
|
-
|
426
|
+
参数解释:后端服务器组的后端协议。 约束限制: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时pool的protocol必须为TCP。 [- listener的protocol为IP时,pool的protocol必须为IP。](tag:hws_eu) - listener的protocol为HTTP时,pool的protocol必须为HTTP。 - listener的protocol为HTTPS时,pool的protocol必须为HTTP、HTTPS或GRPC。 - listener的protocol为TERMINATED_HTTPS时,pool的protocol必须为HTTP。 - listener的protocol为QUIC时,pool的protocol必须为HTTP、HTTPS或GRPC。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 - 若pool的protocol为GRPC,关联监听器必须开启HTTP2。 - 若pool的protocol为TCP,则pool的ip_version字段取值必须是4。 取值范围:TCP、UDP、[IP、](tag:hws_eu)TLS、GRPC、HTTP、HTTPS和QUIC。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
406
427
|
|
407
428
|
:return: The protocol of this Pool.
|
408
429
|
:rtype: str
|
@@ -413,7 +434,7 @@ class Pool:
|
|
413
434
|
def protocol(self, protocol):
|
414
435
|
"""Sets the protocol of this Pool.
|
415
436
|
|
416
|
-
|
437
|
+
参数解释:后端服务器组的后端协议。 约束限制: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时pool的protocol必须为TCP。 [- listener的protocol为IP时,pool的protocol必须为IP。](tag:hws_eu) - listener的protocol为HTTP时,pool的protocol必须为HTTP。 - listener的protocol为HTTPS时,pool的protocol必须为HTTP、HTTPS或GRPC。 - listener的protocol为TERMINATED_HTTPS时,pool的protocol必须为HTTP。 - listener的protocol为QUIC时,pool的protocol必须为HTTP、HTTPS或GRPC。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 - 若pool的protocol为GRPC,关联监听器必须开启HTTP2。 - 若pool的protocol为TCP,则pool的ip_version字段取值必须是4。 取值范围:TCP、UDP、[IP、](tag:hws_eu)TLS、GRPC、HTTP、HTTPS和QUIC。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
417
438
|
|
418
439
|
:param protocol: The protocol of this Pool.
|
419
440
|
:type protocol: str
|
@@ -442,7 +463,7 @@ class Pool:
|
|
442
463
|
def ip_version(self):
|
443
464
|
"""Gets the ip_version of this Pool.
|
444
465
|
|
445
|
-
|
466
|
+
参数解释:后端服务器组支持的IP版本。 [取值范围: - 共享型:固定为v4; - 独享型:取值dualstack、v4。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值范围:dualstack、v4。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
446
467
|
|
447
468
|
:return: The ip_version of this Pool.
|
448
469
|
:rtype: str
|
@@ -453,7 +474,7 @@ class Pool:
|
|
453
474
|
def ip_version(self, ip_version):
|
454
475
|
"""Sets the ip_version of this Pool.
|
455
476
|
|
456
|
-
|
477
|
+
参数解释:后端服务器组支持的IP版本。 [取值范围: - 共享型:固定为v4; - 独享型:取值dualstack、v4。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值范围:dualstack、v4。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
457
478
|
|
458
479
|
:param ip_version: The ip_version of this Pool.
|
459
480
|
:type ip_version: str
|
@@ -482,7 +503,7 @@ class Pool:
|
|
482
503
|
def member_deletion_protection_enable(self):
|
483
504
|
"""Gets the member_deletion_protection_enable of this Pool.
|
484
505
|
|
485
|
-
|
506
|
+
参数解释:是否开启误删保护。 取值范围:false不开启,true开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
486
507
|
|
487
508
|
:return: The member_deletion_protection_enable of this Pool.
|
488
509
|
:rtype: bool
|
@@ -493,7 +514,7 @@ class Pool:
|
|
493
514
|
def member_deletion_protection_enable(self, member_deletion_protection_enable):
|
494
515
|
"""Sets the member_deletion_protection_enable of this Pool.
|
495
516
|
|
496
|
-
|
517
|
+
参数解释:是否开启误删保护。 取值范围:false不开启,true开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
497
518
|
|
498
519
|
:param member_deletion_protection_enable: The member_deletion_protection_enable of this Pool.
|
499
520
|
:type member_deletion_protection_enable: bool
|
@@ -504,7 +525,7 @@ class Pool:
|
|
504
525
|
def created_at(self):
|
505
526
|
"""Gets the created_at of this Pool.
|
506
527
|
|
507
|
-
|
528
|
+
参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
508
529
|
|
509
530
|
:return: The created_at of this Pool.
|
510
531
|
:rtype: str
|
@@ -515,7 +536,7 @@ class Pool:
|
|
515
536
|
def created_at(self, created_at):
|
516
537
|
"""Sets the created_at of this Pool.
|
517
538
|
|
518
|
-
|
539
|
+
参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
519
540
|
|
520
541
|
:param created_at: The created_at of this Pool.
|
521
542
|
:type created_at: str
|
@@ -526,7 +547,7 @@ class Pool:
|
|
526
547
|
def updated_at(self):
|
527
548
|
"""Gets the updated_at of this Pool.
|
528
549
|
|
529
|
-
|
550
|
+
参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
530
551
|
|
531
552
|
:return: The updated_at of this Pool.
|
532
553
|
:rtype: str
|
@@ -537,7 +558,7 @@ class Pool:
|
|
537
558
|
def updated_at(self, updated_at):
|
538
559
|
"""Sets the updated_at of this Pool.
|
539
560
|
|
540
|
-
|
561
|
+
参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
541
562
|
|
542
563
|
:param updated_at: The updated_at of this Pool.
|
543
564
|
:type updated_at: str
|
@@ -548,7 +569,7 @@ class Pool:
|
|
548
569
|
def vpc_id(self):
|
549
570
|
"""Gets the vpc_id of this Pool.
|
550
571
|
|
551
|
-
|
572
|
+
参数解释:后端服务器组关联的虚拟私有云的ID。
|
552
573
|
|
553
574
|
:return: The vpc_id of this Pool.
|
554
575
|
:rtype: str
|
@@ -559,7 +580,7 @@ class Pool:
|
|
559
580
|
def vpc_id(self, vpc_id):
|
560
581
|
"""Sets the vpc_id of this Pool.
|
561
582
|
|
562
|
-
|
583
|
+
参数解释:后端服务器组关联的虚拟私有云的ID。
|
563
584
|
|
564
585
|
:param vpc_id: The vpc_id of this Pool.
|
565
586
|
:type vpc_id: str
|
@@ -570,7 +591,7 @@ class Pool:
|
|
570
591
|
def type(self):
|
571
592
|
"""Gets the type of this Pool.
|
572
593
|
|
573
|
-
|
594
|
+
参数解释:后端服务器组的类型。 取值范围: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。[pool的protocol为IP时,type不允许设置为ip。](tag:hws_eu)] - 空字符串(\"\"):允许任意类型的后端
|
574
595
|
|
575
596
|
:return: The type of this Pool.
|
576
597
|
:rtype: str
|
@@ -581,7 +602,7 @@ class Pool:
|
|
581
602
|
def type(self, type):
|
582
603
|
"""Sets the type of this Pool.
|
583
604
|
|
584
|
-
|
605
|
+
参数解释:后端服务器组的类型。 取值范围: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。[pool的protocol为IP时,type不允许设置为ip。](tag:hws_eu)] - 空字符串(\"\"):允许任意类型的后端
|
585
606
|
|
586
607
|
:param type: The type of this Pool.
|
587
608
|
:type type: str
|
@@ -592,7 +613,7 @@ class Pool:
|
|
592
613
|
def protection_status(self):
|
593
614
|
"""Gets the protection_status of this Pool.
|
594
615
|
|
595
|
-
|
616
|
+
参数解释:修改保护状态,。 取值范围: - nonProtection: 不保护。 - consoleProtection: 控制台修改保护。 默认取值:nonProtection
|
596
617
|
|
597
618
|
:return: The protection_status of this Pool.
|
598
619
|
:rtype: str
|
@@ -603,7 +624,7 @@ class Pool:
|
|
603
624
|
def protection_status(self, protection_status):
|
604
625
|
"""Sets the protection_status of this Pool.
|
605
626
|
|
606
|
-
|
627
|
+
参数解释:修改保护状态,。 取值范围: - nonProtection: 不保护。 - consoleProtection: 控制台修改保护。 默认取值:nonProtection
|
607
628
|
|
608
629
|
:param protection_status: The protection_status of this Pool.
|
609
630
|
:type protection_status: str
|
@@ -614,7 +635,7 @@ class Pool:
|
|
614
635
|
def protection_reason(self):
|
615
636
|
"""Gets the protection_reason of this Pool.
|
616
637
|
|
617
|
-
|
638
|
+
参数解释:设置保护的原因。 参数限制:仅当protection_status为consoleProtection时有效。
|
618
639
|
|
619
640
|
:return: The protection_reason of this Pool.
|
620
641
|
:rtype: str
|
@@ -625,7 +646,7 @@ class Pool:
|
|
625
646
|
def protection_reason(self, protection_reason):
|
626
647
|
"""Sets the protection_reason of this Pool.
|
627
648
|
|
628
|
-
|
649
|
+
参数解释:设置保护的原因。 参数限制:仅当protection_status为consoleProtection时有效。
|
629
650
|
|
630
651
|
:param protection_reason: The protection_reason of this Pool.
|
631
652
|
:type protection_reason: str
|
@@ -636,7 +657,7 @@ class Pool:
|
|
636
657
|
def any_port_enable(self):
|
637
658
|
"""Gets the any_port_enable of this Pool.
|
638
659
|
|
639
|
-
|
660
|
+
参数解释:后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 约束限制: - 仅QUIC,TCP,UDP的pool支持。
|
640
661
|
|
641
662
|
:return: The any_port_enable of this Pool.
|
642
663
|
:rtype: bool
|
@@ -647,7 +668,7 @@ class Pool:
|
|
647
668
|
def any_port_enable(self, any_port_enable):
|
648
669
|
"""Sets the any_port_enable of this Pool.
|
649
670
|
|
650
|
-
|
671
|
+
参数解释:后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 约束限制: - 仅QUIC,TCP,UDP的pool支持。
|
651
672
|
|
652
673
|
:param any_port_enable: The any_port_enable of this Pool.
|
653
674
|
:type any_port_enable: bool
|
@@ -672,6 +693,68 @@ class Pool:
|
|
672
693
|
"""
|
673
694
|
self._connection_drain = connection_drain
|
674
695
|
|
696
|
+
@property
|
697
|
+
def enterprise_project_id(self):
|
698
|
+
"""Gets the enterprise_project_id of this Pool.
|
699
|
+
|
700
|
+
参数解释:IP地址组所在的企业项目ID。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
701
|
+
|
702
|
+
:return: The enterprise_project_id of this Pool.
|
703
|
+
:rtype: str
|
704
|
+
"""
|
705
|
+
return self._enterprise_project_id
|
706
|
+
|
707
|
+
@enterprise_project_id.setter
|
708
|
+
def enterprise_project_id(self, enterprise_project_id):
|
709
|
+
"""Sets the enterprise_project_id of this Pool.
|
710
|
+
|
711
|
+
参数解释:IP地址组所在的企业项目ID。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
712
|
+
|
713
|
+
:param enterprise_project_id: The enterprise_project_id of this Pool.
|
714
|
+
:type enterprise_project_id: str
|
715
|
+
"""
|
716
|
+
self._enterprise_project_id = enterprise_project_id
|
717
|
+
|
718
|
+
@property
|
719
|
+
def pool_health(self):
|
720
|
+
"""Gets the pool_health of this Pool.
|
721
|
+
|
722
|
+
:return: The pool_health of this Pool.
|
723
|
+
:rtype: :class:`huaweicloudsdkelb.v3.PoolHealth`
|
724
|
+
"""
|
725
|
+
return self._pool_health
|
726
|
+
|
727
|
+
@pool_health.setter
|
728
|
+
def pool_health(self, pool_health):
|
729
|
+
"""Sets the pool_health of this Pool.
|
730
|
+
|
731
|
+
:param pool_health: The pool_health of this Pool.
|
732
|
+
:type pool_health: :class:`huaweicloudsdkelb.v3.PoolHealth`
|
733
|
+
"""
|
734
|
+
self._pool_health = pool_health
|
735
|
+
|
736
|
+
@property
|
737
|
+
def public_border_group(self):
|
738
|
+
"""Gets the public_border_group of this Pool.
|
739
|
+
|
740
|
+
参数解释:可用区组,如:center
|
741
|
+
|
742
|
+
:return: The public_border_group of this Pool.
|
743
|
+
:rtype: str
|
744
|
+
"""
|
745
|
+
return self._public_border_group
|
746
|
+
|
747
|
+
@public_border_group.setter
|
748
|
+
def public_border_group(self, public_border_group):
|
749
|
+
"""Sets the public_border_group of this Pool.
|
750
|
+
|
751
|
+
参数解释:可用区组,如:center
|
752
|
+
|
753
|
+
:param public_border_group: The public_border_group of this Pool.
|
754
|
+
:type public_border_group: str
|
755
|
+
"""
|
756
|
+
self._public_border_group = public_border_group
|
757
|
+
|
675
758
|
def to_dict(self):
|
676
759
|
"""Returns the model properties as a dict"""
|
677
760
|
result = {}
|