huaweicloudsdkelb 3.1.132__py2.py3-none-any.whl → 3.1.134__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.
Files changed (112) hide show
  1. huaweicloudsdkelb/v3/__init__.py +39 -0
  2. huaweicloudsdkelb/v3/elb_async_client.py +742 -22
  3. huaweicloudsdkelb/v3/elb_client.py +742 -22
  4. huaweicloudsdkelb/v3/model/__init__.py +39 -0
  5. huaweicloudsdkelb/v3/model/availability_zone.py +6 -6
  6. huaweicloudsdkelb/v3/model/base_job.py +347 -0
  7. huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
  8. huaweicloudsdkelb/v3/model/batch_create_load_balancer_option.py +1022 -0
  9. huaweicloudsdkelb/v3/model/batch_create_load_balancers_request.py +111 -0
  10. huaweicloudsdkelb/v3/model/batch_create_load_balancers_request_body.py +110 -0
  11. huaweicloudsdkelb/v3/model/batch_create_load_balancers_response.py +203 -0
  12. huaweicloudsdkelb/v3/model/batch_member.py +38 -13
  13. huaweicloudsdkelb/v3/model/batch_update_member.py +32 -7
  14. huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
  15. huaweicloudsdkelb/v3/model/certificate_info.py +39 -10
  16. huaweicloudsdkelb/v3/model/clone_loadbalancer_request.py +139 -0
  17. huaweicloudsdkelb/v3/model/clone_loadbalancer_request_body.py +139 -0
  18. huaweicloudsdkelb/v3/model/clone_loadbalancer_response.py +174 -0
  19. huaweicloudsdkelb/v3/model/clone_loadbalancer_response_body_loadbalancer_list.py +115 -0
  20. huaweicloudsdkelb/v3/model/cors_config.py +260 -0
  21. huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +73 -15
  22. huaweicloudsdkelb/v3/model/create_certificate_option.py +35 -6
  23. huaweicloudsdkelb/v3/model/create_cors_config.py +260 -0
  24. huaweicloudsdkelb/v3/model/create_health_monitor_option.py +3 -3
  25. huaweicloudsdkelb/v3/model/create_l7_policy_option.py +6 -6
  26. huaweicloudsdkelb/v3/model/create_listener_option.py +126 -39
  27. huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +3 -3
  28. huaweicloudsdkelb/v3/model/create_load_balancer_option.py +36 -36
  29. huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
  30. huaweicloudsdkelb/v3/model/create_load_balancer_response.py +6 -6
  31. huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +2 -1
  32. huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +31 -6
  33. huaweicloudsdkelb/v3/model/create_member_option.py +3 -3
  34. huaweicloudsdkelb/v3/model/create_pool_option.py +46 -21
  35. huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +6 -6
  36. huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +28 -3
  37. huaweicloudsdkelb/v3/model/create_redirect_url_config.py +3 -3
  38. huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_option.py +144 -0
  39. huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request.py +139 -0
  40. huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request_body.py +110 -0
  41. huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_response.py +85 -0
  42. huaweicloudsdkelb/v3/model/delete_pool_cascade_request.py +114 -0
  43. huaweicloudsdkelb/v3/model/delete_pool_cascade_response.py +85 -0
  44. huaweicloudsdkelb/v3/model/feature_config.py +394 -0
  45. huaweicloudsdkelb/v3/model/flavor.py +9 -9
  46. huaweicloudsdkelb/v3/model/global_eip_info.py +3 -3
  47. huaweicloudsdkelb/v3/model/health_monitor.py +9 -9
  48. huaweicloudsdkelb/v3/model/job_entities.py +144 -0
  49. huaweicloudsdkelb/v3/model/l7_policy.py +44 -15
  50. huaweicloudsdkelb/v3/model/l7_rule.py +9 -9
  51. huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
  52. huaweicloudsdkelb/v3/model/list_availability_zones_request.py +35 -6
  53. huaweicloudsdkelb/v3/model/list_certificates_request.py +30 -1
  54. huaweicloudsdkelb/v3/model/list_feature_configs_request.py +115 -0
  55. huaweicloudsdkelb/v3/model/list_feature_configs_response.py +170 -0
  56. huaweicloudsdkelb/v3/model/list_flavors_request.py +119 -3
  57. huaweicloudsdkelb/v3/model/list_health_monitors_request.py +3 -3
  58. huaweicloudsdkelb/v3/model/list_ip_groups_request.py +3 -3
  59. huaweicloudsdkelb/v3/model/list_jobs_request.py +260 -0
  60. huaweicloudsdkelb/v3/model/list_jobs_response.py +145 -0
  61. huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
  62. huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
  63. huaweicloudsdkelb/v3/model/list_listeners_request.py +79 -21
  64. huaweicloudsdkelb/v3/model/list_load_balancers_request.py +15 -15
  65. huaweicloudsdkelb/v3/model/list_loadbalancer_feature_request.py +114 -0
  66. huaweicloudsdkelb/v3/model/list_loadbalancer_feature_response.py +145 -0
  67. huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
  68. huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +3 -3
  69. huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
  70. huaweicloudsdkelb/v3/model/list_pools_request.py +67 -9
  71. huaweicloudsdkelb/v3/model/list_quota_details_request.py +3 -3
  72. huaweicloudsdkelb/v3/model/listener.py +154 -39
  73. huaweicloudsdkelb/v3/model/load_balancer.py +21 -21
  74. huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
  75. huaweicloudsdkelb/v3/model/loadbalancer_feature.py +170 -0
  76. huaweicloudsdkelb/v3/model/main_job.py +376 -0
  77. huaweicloudsdkelb/v3/model/master_slave_member.py +26 -1
  78. huaweicloudsdkelb/v3/model/master_slave_pool.py +37 -12
  79. huaweicloudsdkelb/v3/model/member.py +32 -7
  80. huaweicloudsdkelb/v3/model/member_health_check_failed_reason.py +170 -0
  81. huaweicloudsdkelb/v3/model/member_info.py +34 -9
  82. huaweicloudsdkelb/v3/model/member_status.py +28 -3
  83. huaweicloudsdkelb/v3/model/pool.py +43 -18
  84. huaweicloudsdkelb/v3/model/quic_cid_hash_strategy.py +142 -0
  85. huaweicloudsdkelb/v3/model/quota.py +87 -3
  86. huaweicloudsdkelb/v3/model/quota_info.py +3 -3
  87. huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +28 -3
  88. huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
  89. huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_request.py +114 -0
  90. huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_response.py +116 -0
  91. huaweicloudsdkelb/v3/model/show_job_request.py +114 -0
  92. huaweicloudsdkelb/v3/model/show_job_response.py +141 -0
  93. huaweicloudsdkelb/v3/model/sub_job.py +376 -0
  94. huaweicloudsdkelb/v3/model/target_loadbalancer_param.py +434 -0
  95. huaweicloudsdkelb/v3/model/update_certificate_option.py +35 -6
  96. huaweicloudsdkelb/v3/model/update_health_monitor_option.py +3 -3
  97. huaweicloudsdkelb/v3/model/update_l7_policy_option.py +3 -3
  98. huaweicloudsdkelb/v3/model/update_listener_option.py +120 -33
  99. huaweicloudsdkelb/v3/model/update_load_balancer_option.py +15 -15
  100. huaweicloudsdkelb/v3/model/update_load_balancer_response.py +6 -6
  101. huaweicloudsdkelb/v3/model/update_pool_option.py +31 -6
  102. huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
  103. huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +28 -3
  104. huaweicloudsdkelb/v3/model/upgrade_loadbalancer_request.py +139 -0
  105. huaweicloudsdkelb/v3/model/upgrade_loadbalancer_response.py +145 -0
  106. huaweicloudsdkelb/v3/model/upgrade_prepaid_option.py +200 -0
  107. huaweicloudsdkelb/v3/model/upgrade_v3_request_body.py +313 -0
  108. {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.134.dist-info}/METADATA +2 -2
  109. {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.134.dist-info}/RECORD +112 -73
  110. {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.134.dist-info}/LICENSE +0 -0
  111. {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.134.dist-info}/WHEEL +0 -0
  112. {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.134.dist-info}/top_level.txt +0 -0
@@ -42,7 +42,8 @@ class Pool:
42
42
  'connection_drain': 'ConnectionDrain',
43
43
  'enterprise_project_id': 'str',
44
44
  'pool_health': 'PoolHealth',
45
- 'public_border_group': 'str'
45
+ 'public_border_group': 'str',
46
+ 'quic_cid_hash_strategy': 'QuicCidHashStrategy'
46
47
  }
47
48
 
48
49
  attribute_map = {
@@ -71,10 +72,11 @@ class Pool:
71
72
  'connection_drain': 'connection_drain',
72
73
  'enterprise_project_id': 'enterprise_project_id',
73
74
  'pool_health': 'pool_health',
74
- 'public_border_group': 'public_border_group'
75
+ 'public_border_group': 'public_border_group',
76
+ 'quic_cid_hash_strategy': 'quic_cid_hash_strategy'
75
77
  }
76
78
 
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):
79
+ 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, quic_cid_hash_strategy=None):
78
80
  """Pool
79
81
 
80
82
  The model defined in huaweicloud sdk
@@ -103,15 +105,15 @@ class Pool:
103
105
  :type protocol: str
104
106
  :param session_persistence:
105
107
  :type session_persistence: :class:`huaweicloudsdkelb.v3.SessionPersistence`
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)
108
+ :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,srg,fcs) [取值范围:dualstack、v4。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
107
109
  :type ip_version: str
108
110
  :param slow_start:
109
111
  :type slow_start: :class:`huaweicloudsdkelb.v3.SlowStart`
110
112
  :param member_deletion_protection_enable: 参数解释:是否开启误删保护。 取值范围:false不开启,true开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
111
113
  :type member_deletion_protection_enable: bool
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)
114
+ :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,srg,fcs,dt,hk_tm)
113
115
  :type created_at: str
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)
116
+ :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,srg,fcs,dt,hk_tm)
115
117
  :type updated_at: str
116
118
  :param vpc_id: 参数解释:后端服务器组关联的虚拟私有云的ID。
117
119
  :type vpc_id: str
@@ -119,7 +121,7 @@ class Pool:
119
121
  :type type: str
120
122
  :param protection_status: 参数解释:修改保护状态,。 取值范围: - nonProtection: 不保护。 - consoleProtection: 控制台修改保护。 默认取值:nonProtection
121
123
  :type protection_status: str
122
- :param protection_reason: 参数解释:设置保护的原因。 参数限制:仅当protection_status为consoleProtection时有效。
124
+ :param protection_reason: 参数解释:设置保护的原因。作为protection_status的转态设置的原因。 约束限制:仅当protection_status为consoleProtection时有效。 取值范围:除'<'和'>'外通用Unicode字符集字符,最大255个字符。
123
125
  :type protection_reason: str
124
126
  :param any_port_enable: 参数解释:后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 约束限制: - 仅QUIC,TCP,UDP的pool支持。
125
127
  :type any_port_enable: bool
@@ -129,8 +131,10 @@ class Pool:
129
131
  :type enterprise_project_id: str
130
132
  :param pool_health:
131
133
  :type pool_health: :class:`huaweicloudsdkelb.v3.PoolHealth`
132
- :param public_border_group: 参数解释:可用区组,如:center
134
+ :param public_border_group: 参数解释:网络公共边界组,如:center
133
135
  :type public_border_group: str
136
+ :param quic_cid_hash_strategy:
137
+ :type quic_cid_hash_strategy: :class:`huaweicloudsdkelb.v3.QuicCidHashStrategy`
134
138
  """
135
139
 
136
140
 
@@ -161,6 +165,7 @@ class Pool:
161
165
  self._enterprise_project_id = None
162
166
  self._pool_health = None
163
167
  self._public_border_group = None
168
+ self._quic_cid_hash_strategy = None
164
169
  self.discriminator = None
165
170
 
166
171
  self.admin_state_up = admin_state_up
@@ -198,6 +203,8 @@ class Pool:
198
203
  self.pool_health = pool_health
199
204
  if public_border_group is not None:
200
205
  self.public_border_group = public_border_group
206
+ if quic_cid_hash_strategy is not None:
207
+ self.quic_cid_hash_strategy = quic_cid_hash_strategy
201
208
 
202
209
  @property
203
210
  def admin_state_up(self):
@@ -463,7 +470,7 @@ class Pool:
463
470
  def ip_version(self):
464
471
  """Gets the ip_version of this Pool.
465
472
 
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)
473
+ 参数解释:后端服务器组支持的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,srg,fcs) [取值范围:dualstack、v4。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
467
474
 
468
475
  :return: The ip_version of this Pool.
469
476
  :rtype: str
@@ -474,7 +481,7 @@ class Pool:
474
481
  def ip_version(self, ip_version):
475
482
  """Sets the ip_version of this Pool.
476
483
 
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)
484
+ 参数解释:后端服务器组支持的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,srg,fcs) [取值范围:dualstack、v4。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
478
485
 
479
486
  :param ip_version: The ip_version of this Pool.
480
487
  :type ip_version: str
@@ -525,7 +532,7 @@ class Pool:
525
532
  def created_at(self):
526
533
  """Gets the created_at of this Pool.
527
534
 
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)
535
+ 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
529
536
 
530
537
  :return: The created_at of this Pool.
531
538
  :rtype: str
@@ -536,7 +543,7 @@ class Pool:
536
543
  def created_at(self, created_at):
537
544
  """Sets the created_at of this Pool.
538
545
 
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)
546
+ 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
540
547
 
541
548
  :param created_at: The created_at of this Pool.
542
549
  :type created_at: str
@@ -547,7 +554,7 @@ class Pool:
547
554
  def updated_at(self):
548
555
  """Gets the updated_at of this Pool.
549
556
 
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)
557
+ 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
551
558
 
552
559
  :return: The updated_at of this Pool.
553
560
  :rtype: str
@@ -558,7 +565,7 @@ class Pool:
558
565
  def updated_at(self, updated_at):
559
566
  """Sets the updated_at of this Pool.
560
567
 
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)
568
+ 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
562
569
 
563
570
  :param updated_at: The updated_at of this Pool.
564
571
  :type updated_at: str
@@ -635,7 +642,7 @@ class Pool:
635
642
  def protection_reason(self):
636
643
  """Gets the protection_reason of this Pool.
637
644
 
638
- 参数解释:设置保护的原因。 参数限制:仅当protection_status为consoleProtection时有效。
645
+ 参数解释:设置保护的原因。作为protection_status的转态设置的原因。 约束限制:仅当protection_status为consoleProtection时有效。 取值范围:除'<'和'>'外通用Unicode字符集字符,最大255个字符。
639
646
 
640
647
  :return: The protection_reason of this Pool.
641
648
  :rtype: str
@@ -646,7 +653,7 @@ class Pool:
646
653
  def protection_reason(self, protection_reason):
647
654
  """Sets the protection_reason of this Pool.
648
655
 
649
- 参数解释:设置保护的原因。 参数限制:仅当protection_status为consoleProtection时有效。
656
+ 参数解释:设置保护的原因。作为protection_status的转态设置的原因。 约束限制:仅当protection_status为consoleProtection时有效。 取值范围:除'<'和'>'外通用Unicode字符集字符,最大255个字符。
650
657
 
651
658
  :param protection_reason: The protection_reason of this Pool.
652
659
  :type protection_reason: str
@@ -737,7 +744,7 @@ class Pool:
737
744
  def public_border_group(self):
738
745
  """Gets the public_border_group of this Pool.
739
746
 
740
- 参数解释:可用区组,如:center
747
+ 参数解释:网络公共边界组,如:center
741
748
 
742
749
  :return: The public_border_group of this Pool.
743
750
  :rtype: str
@@ -748,13 +755,31 @@ class Pool:
748
755
  def public_border_group(self, public_border_group):
749
756
  """Sets the public_border_group of this Pool.
750
757
 
751
- 参数解释:可用区组,如:center
758
+ 参数解释:网络公共边界组,如:center
752
759
 
753
760
  :param public_border_group: The public_border_group of this Pool.
754
761
  :type public_border_group: str
755
762
  """
756
763
  self._public_border_group = public_border_group
757
764
 
765
+ @property
766
+ def quic_cid_hash_strategy(self):
767
+ """Gets the quic_cid_hash_strategy of this Pool.
768
+
769
+ :return: The quic_cid_hash_strategy of this Pool.
770
+ :rtype: :class:`huaweicloudsdkelb.v3.QuicCidHashStrategy`
771
+ """
772
+ return self._quic_cid_hash_strategy
773
+
774
+ @quic_cid_hash_strategy.setter
775
+ def quic_cid_hash_strategy(self, quic_cid_hash_strategy):
776
+ """Sets the quic_cid_hash_strategy of this Pool.
777
+
778
+ :param quic_cid_hash_strategy: The quic_cid_hash_strategy of this Pool.
779
+ :type quic_cid_hash_strategy: :class:`huaweicloudsdkelb.v3.QuicCidHashStrategy`
780
+ """
781
+ self._quic_cid_hash_strategy = quic_cid_hash_strategy
782
+
758
783
  def to_dict(self):
759
784
  """Returns the model properties as a dict"""
760
785
  result = {}
@@ -0,0 +1,142 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class QuicCidHashStrategy:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'len': 'int',
21
+ 'offset': 'int'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'len': 'len',
26
+ 'offset': 'offset'
27
+ }
28
+
29
+ def __init__(self, len=None, offset=None):
30
+ """QuicCidHashStrategy
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param len: 参数解释:仅当负载均衡算法为QUIC_CID的时候才生效,表示hash的时候取CID的长度。 取值范围:1-20 默认取值:3
35
+ :type len: int
36
+ :param offset: 参数解释:仅当负载均衡算法为QUIC_CID的时候才生效,表示hash的时候取CID的偏移量。 取值范围:0-19 默认取值:1
37
+ :type offset: int
38
+ """
39
+
40
+
41
+
42
+ self._len = None
43
+ self._offset = None
44
+ self.discriminator = None
45
+
46
+ self.len = len
47
+ self.offset = offset
48
+
49
+ @property
50
+ def len(self):
51
+ """Gets the len of this QuicCidHashStrategy.
52
+
53
+ 参数解释:仅当负载均衡算法为QUIC_CID的时候才生效,表示hash的时候取CID的长度。 取值范围:1-20 默认取值:3
54
+
55
+ :return: The len of this QuicCidHashStrategy.
56
+ :rtype: int
57
+ """
58
+ return self._len
59
+
60
+ @len.setter
61
+ def len(self, len):
62
+ """Sets the len of this QuicCidHashStrategy.
63
+
64
+ 参数解释:仅当负载均衡算法为QUIC_CID的时候才生效,表示hash的时候取CID的长度。 取值范围:1-20 默认取值:3
65
+
66
+ :param len: The len of this QuicCidHashStrategy.
67
+ :type len: int
68
+ """
69
+ self._len = len
70
+
71
+ @property
72
+ def offset(self):
73
+ """Gets the offset of this QuicCidHashStrategy.
74
+
75
+ 参数解释:仅当负载均衡算法为QUIC_CID的时候才生效,表示hash的时候取CID的偏移量。 取值范围:0-19 默认取值:1
76
+
77
+ :return: The offset of this QuicCidHashStrategy.
78
+ :rtype: int
79
+ """
80
+ return self._offset
81
+
82
+ @offset.setter
83
+ def offset(self, offset):
84
+ """Sets the offset of this QuicCidHashStrategy.
85
+
86
+ 参数解释:仅当负载均衡算法为QUIC_CID的时候才生效,表示hash的时候取CID的偏移量。 取值范围:0-19 默认取值:1
87
+
88
+ :param offset: The offset of this QuicCidHashStrategy.
89
+ :type offset: int
90
+ """
91
+ self._offset = offset
92
+
93
+ def to_dict(self):
94
+ """Returns the model properties as a dict"""
95
+ result = {}
96
+
97
+ for attr, _ in six.iteritems(self.openapi_types):
98
+ value = getattr(self, attr)
99
+ if isinstance(value, list):
100
+ result[attr] = list(map(
101
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
102
+ value
103
+ ))
104
+ elif hasattr(value, "to_dict"):
105
+ result[attr] = value.to_dict()
106
+ elif isinstance(value, dict):
107
+ result[attr] = dict(map(
108
+ lambda item: (item[0], item[1].to_dict())
109
+ if hasattr(item[1], "to_dict") else item,
110
+ value.items()
111
+ ))
112
+ else:
113
+ if attr in self.sensitive_list:
114
+ result[attr] = "****"
115
+ else:
116
+ result[attr] = value
117
+
118
+ return result
119
+
120
+ def to_str(self):
121
+ """Returns the string representation of the model"""
122
+ import simplejson as json
123
+ if six.PY2:
124
+ import sys
125
+ reload(sys)
126
+ sys.setdefaultencoding("utf-8")
127
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
128
+
129
+ def __repr__(self):
130
+ """For `print`"""
131
+ return self.to_str()
132
+
133
+ def __eq__(self, other):
134
+ """Returns true if both objects are equal"""
135
+ if not isinstance(other, QuicCidHashStrategy):
136
+ return False
137
+
138
+ return self.__dict__ == other.__dict__
139
+
140
+ def __ne__(self, other):
141
+ """Returns true if both objects are not equal"""
142
+ return not self == other
@@ -32,7 +32,10 @@ class Quota:
32
32
  'ipgroup_bindings': 'int',
33
33
  'ipgroup_max_length': 'int',
34
34
  'security_policy': 'int',
35
- 'listeners_per_loadbalancer': 'int'
35
+ 'listeners_per_loadbalancer': 'int',
36
+ 'ipgroups_per_listener': 'int',
37
+ 'pools_per_l7policy': 'int',
38
+ 'l7policies_per_listener': 'int'
36
39
  }
37
40
 
38
41
  attribute_map = {
@@ -51,10 +54,13 @@ class Quota:
51
54
  'ipgroup_bindings': 'ipgroup_bindings',
52
55
  'ipgroup_max_length': 'ipgroup_max_length',
53
56
  'security_policy': 'security_policy',
54
- 'listeners_per_loadbalancer': 'listeners_per_loadbalancer'
57
+ 'listeners_per_loadbalancer': 'listeners_per_loadbalancer',
58
+ 'ipgroups_per_listener': 'ipgroups_per_listener',
59
+ 'pools_per_l7policy': 'pools_per_l7policy',
60
+ 'l7policies_per_listener': 'l7policies_per_listener'
55
61
  }
56
62
 
57
- def __init__(self, project_id=None, loadbalancer=None, certificate=None, listener=None, l7policy=None, condition_per_policy=None, pool=None, healthmonitor=None, member=None, members_per_pool=None, listeners_per_pool=None, ipgroup=None, ipgroup_bindings=None, ipgroup_max_length=None, security_policy=None, listeners_per_loadbalancer=None):
63
+ def __init__(self, project_id=None, loadbalancer=None, certificate=None, listener=None, l7policy=None, condition_per_policy=None, pool=None, healthmonitor=None, member=None, members_per_pool=None, listeners_per_pool=None, ipgroup=None, ipgroup_bindings=None, ipgroup_max_length=None, security_policy=None, listeners_per_loadbalancer=None, ipgroups_per_listener=None, pools_per_l7policy=None, l7policies_per_listener=None):
58
64
  """Quota
59
65
 
60
66
  The model defined in huaweicloud sdk
@@ -91,6 +97,12 @@ class Quota:
91
97
  :type security_policy: int
92
98
  :param listeners_per_loadbalancer: 单个LB实例下的监听器配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。 &gt; 当前单个LB下监听器配额实际未限制,但建议不要超过默认配额。
93
99
  :type listeners_per_loadbalancer: int
100
+ :param ipgroups_per_listener: 单个监听器下的IP地址组配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
101
+ :type ipgroups_per_listener: int
102
+ :param pools_per_l7policy: 单个转发策略下的后端服务器组配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
103
+ :type pools_per_l7policy: int
104
+ :param l7policies_per_listener: 单个监听器下的转发策略配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
105
+ :type l7policies_per_listener: int
94
106
  """
95
107
 
96
108
 
@@ -111,6 +123,9 @@ class Quota:
111
123
  self._ipgroup_max_length = None
112
124
  self._security_policy = None
113
125
  self._listeners_per_loadbalancer = None
126
+ self._ipgroups_per_listener = None
127
+ self._pools_per_l7policy = None
128
+ self._l7policies_per_listener = None
114
129
  self.discriminator = None
115
130
 
116
131
  self.project_id = project_id
@@ -129,6 +144,9 @@ class Quota:
129
144
  self.ipgroup_max_length = ipgroup_max_length
130
145
  self.security_policy = security_policy
131
146
  self.listeners_per_loadbalancer = listeners_per_loadbalancer
147
+ self.ipgroups_per_listener = ipgroups_per_listener
148
+ self.pools_per_l7policy = pools_per_l7policy
149
+ self.l7policies_per_listener = l7policies_per_listener
132
150
 
133
151
  @property
134
152
  def project_id(self):
@@ -482,6 +500,72 @@ class Quota:
482
500
  """
483
501
  self._listeners_per_loadbalancer = listeners_per_loadbalancer
484
502
 
503
+ @property
504
+ def ipgroups_per_listener(self):
505
+ """Gets the ipgroups_per_listener of this Quota.
506
+
507
+ 单个监听器下的IP地址组配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
508
+
509
+ :return: The ipgroups_per_listener of this Quota.
510
+ :rtype: int
511
+ """
512
+ return self._ipgroups_per_listener
513
+
514
+ @ipgroups_per_listener.setter
515
+ def ipgroups_per_listener(self, ipgroups_per_listener):
516
+ """Sets the ipgroups_per_listener of this Quota.
517
+
518
+ 单个监听器下的IP地址组配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
519
+
520
+ :param ipgroups_per_listener: The ipgroups_per_listener of this Quota.
521
+ :type ipgroups_per_listener: int
522
+ """
523
+ self._ipgroups_per_listener = ipgroups_per_listener
524
+
525
+ @property
526
+ def pools_per_l7policy(self):
527
+ """Gets the pools_per_l7policy of this Quota.
528
+
529
+ 单个转发策略下的后端服务器组配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
530
+
531
+ :return: The pools_per_l7policy of this Quota.
532
+ :rtype: int
533
+ """
534
+ return self._pools_per_l7policy
535
+
536
+ @pools_per_l7policy.setter
537
+ def pools_per_l7policy(self, pools_per_l7policy):
538
+ """Sets the pools_per_l7policy of this Quota.
539
+
540
+ 单个转发策略下的后端服务器组配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
541
+
542
+ :param pools_per_l7policy: The pools_per_l7policy of this Quota.
543
+ :type pools_per_l7policy: int
544
+ """
545
+ self._pools_per_l7policy = pools_per_l7policy
546
+
547
+ @property
548
+ def l7policies_per_listener(self):
549
+ """Gets the l7policies_per_listener of this Quota.
550
+
551
+ 单个监听器下的转发策略配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
552
+
553
+ :return: The l7policies_per_listener of this Quota.
554
+ :rtype: int
555
+ """
556
+ return self._l7policies_per_listener
557
+
558
+ @l7policies_per_listener.setter
559
+ def l7policies_per_listener(self, l7policies_per_listener):
560
+ """Sets the l7policies_per_listener of this Quota.
561
+
562
+ 单个监听器下的转发策略配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
563
+
564
+ :param l7policies_per_listener: The l7policies_per_listener of this Quota.
565
+ :type l7policies_per_listener: int
566
+ """
567
+ self._l7policies_per_listener = l7policies_per_listener
568
+
485
569
  def to_dict(self):
486
570
  """Returns the model properties as a dict"""
487
571
  result = {}
@@ -35,7 +35,7 @@ class QuotaInfo:
35
35
 
36
36
  The model defined in huaweicloud sdk
37
37
 
38
- :param quota_key: 资源类型。 取值:loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length。
38
+ :param quota_key: 资源类型。 取值:loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length、ipgroups_per_listener、pools_per_l7policy、l7policies_per_listener
39
39
  :type quota_key: str
40
40
  :param quota_limit: 总配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
41
41
  :type quota_limit: int
@@ -62,7 +62,7 @@ class QuotaInfo:
62
62
  def quota_key(self):
63
63
  """Gets the quota_key of this QuotaInfo.
64
64
 
65
- 资源类型。 取值:loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length。
65
+ 资源类型。 取值:loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length、ipgroups_per_listener、pools_per_l7policy、l7policies_per_listener
66
66
 
67
67
  :return: The quota_key of this QuotaInfo.
68
68
  :rtype: str
@@ -73,7 +73,7 @@ class QuotaInfo:
73
73
  def quota_key(self, quota_key):
74
74
  """Sets the quota_key of this QuotaInfo.
75
75
 
76
- 资源类型。 取值:loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length。
76
+ 资源类型。 取值:loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length、ipgroups_per_listener、pools_per_l7policy、l7policies_per_listener
77
77
 
78
78
  :param quota_key: The quota_key of this QuotaInfo.
79
79
  :type quota_key: str
@@ -21,7 +21,8 @@ class RedirectPoolsExtendConfig:
21
21
  'rewrite_url_config': 'RewriteUrlConfig',
22
22
  'insert_headers_config': 'InsertHeadersConfig',
23
23
  'remove_headers_config': 'RemoveHeadersConfig',
24
- 'traffic_limit_config': 'TrafficLimitConfig'
24
+ 'traffic_limit_config': 'TrafficLimitConfig',
25
+ 'cors_config': 'CorsConfig'
25
26
  }
26
27
 
27
28
  attribute_map = {
@@ -29,10 +30,11 @@ class RedirectPoolsExtendConfig:
29
30
  'rewrite_url_config': 'rewrite_url_config',
30
31
  'insert_headers_config': 'insert_headers_config',
31
32
  'remove_headers_config': 'remove_headers_config',
32
- 'traffic_limit_config': 'traffic_limit_config'
33
+ 'traffic_limit_config': 'traffic_limit_config',
34
+ 'cors_config': 'cors_config'
33
35
  }
34
36
 
35
- def __init__(self, rewrite_url_enable=None, rewrite_url_config=None, insert_headers_config=None, remove_headers_config=None, traffic_limit_config=None):
37
+ def __init__(self, rewrite_url_enable=None, rewrite_url_config=None, insert_headers_config=None, remove_headers_config=None, traffic_limit_config=None, cors_config=None):
36
38
  """RedirectPoolsExtendConfig
37
39
 
38
40
  The model defined in huaweicloud sdk
@@ -47,6 +49,8 @@ class RedirectPoolsExtendConfig:
47
49
  :type remove_headers_config: :class:`huaweicloudsdkelb.v3.RemoveHeadersConfig`
48
50
  :param traffic_limit_config:
49
51
  :type traffic_limit_config: :class:`huaweicloudsdkelb.v3.TrafficLimitConfig`
52
+ :param cors_config:
53
+ :type cors_config: :class:`huaweicloudsdkelb.v3.CorsConfig`
50
54
  """
51
55
 
52
56
 
@@ -56,6 +60,7 @@ class RedirectPoolsExtendConfig:
56
60
  self._insert_headers_config = None
57
61
  self._remove_headers_config = None
58
62
  self._traffic_limit_config = None
63
+ self._cors_config = None
59
64
  self.discriminator = None
60
65
 
61
66
  if rewrite_url_enable is not None:
@@ -68,6 +73,8 @@ class RedirectPoolsExtendConfig:
68
73
  self.remove_headers_config = remove_headers_config
69
74
  if traffic_limit_config is not None:
70
75
  self.traffic_limit_config = traffic_limit_config
76
+ if cors_config is not None:
77
+ self.cors_config = cors_config
71
78
 
72
79
  @property
73
80
  def rewrite_url_enable(self):
@@ -163,6 +170,24 @@ class RedirectPoolsExtendConfig:
163
170
  """
164
171
  self._traffic_limit_config = traffic_limit_config
165
172
 
173
+ @property
174
+ def cors_config(self):
175
+ """Gets the cors_config of this RedirectPoolsExtendConfig.
176
+
177
+ :return: The cors_config of this RedirectPoolsExtendConfig.
178
+ :rtype: :class:`huaweicloudsdkelb.v3.CorsConfig`
179
+ """
180
+ return self._cors_config
181
+
182
+ @cors_config.setter
183
+ def cors_config(self, cors_config):
184
+ """Sets the cors_config of this RedirectPoolsExtendConfig.
185
+
186
+ :param cors_config: The cors_config of this RedirectPoolsExtendConfig.
187
+ :type cors_config: :class:`huaweicloudsdkelb.v3.CorsConfig`
188
+ """
189
+ self._cors_config = cors_config
190
+
166
191
  def to_dict(self):
167
192
  """Returns the model properties as a dict"""
168
193
  result = {}
@@ -33,9 +33,9 @@ class SessionPersistence:
33
33
 
34
34
  The model defined in huaweicloud sdk
35
35
 
36
- :param cookie_name: 参数解释:cookie名称。 约束限制: - 只有当type为APP_COOKIE时才有效。其他情况下传该字段会报错。 [取值范围: - 共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 - 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) [取值范围:支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws_eu,hcso_dt) [不支持该字段,请勿使用。](tag:hws_eu,hcso_dt)
36
+ :param cookie_name: 参数解释:cookie名称。 约束限制: - 只有当type为APP_COOKIE时才有效。其他情况下传该字段会报错。 [取值范围: - 共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 - 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm) [取值范围:支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws_eu,hcso_dt) [不支持该字段,请勿使用。](tag:hws_eu,hcso_dt)
37
37
  :type cookie_name: str
38
- :param type: 参数解释:会话保持类型。 [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。如果是独享型负载均衡器的pool,则type只能为HTTP_COOKIE,其他取值会话保持失效。如果是共享型负载均衡器的pool,则type可以为HTTP_COOKIE和APP_COOKIE,其他取值会话保持失效。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。type只能为HTTP_COOKIE,其他取值会话保持失效。](tag:hws_eu,hcso_dt) 取值范围:SOURCE_IP、HTTP_COOKIE、APP_COOKIE。 [荷兰region不支持QUIC。](tag:dt,dt_test) [不支持QUIC。](tag:tm)
38
+ :param type: 参数解释:会话保持类型。 [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。如果是独享型负载均衡器的pool,则type只能为HTTP_COOKIE,其他取值会话保持失效。如果是共享型负载均衡器的pool,则type可以为HTTP_COOKIE和APP_COOKIE,其他取值会话保持失效。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。type只能为HTTP_COOKIE,其他取值会话保持失效。](tag:hws_eu,hcso_dt) 取值范围:SOURCE_IP、HTTP_COOKIE、APP_COOKIE。 [荷兰region不支持QUIC。](tag:dt,dt_test) [不支持QUIC。](tag:tm)
39
39
  :type type: str
40
40
  :param persistence_timeout: 参数解释:会话保持的时间。当type为APP_COOKIE时不生效。 取值范围: - 若pool的protocol为TCP、UDP和QUIC则范围为[1,60](分钟),默认值1; - 若pool的protocol为HTTP和HTTPS则范围为[1,1440](分钟),默认值1440。 [荷兰region不支持QUIC。](tag:dt,dt_test)
41
41
  :type persistence_timeout: int
@@ -58,7 +58,7 @@ class SessionPersistence:
58
58
  def cookie_name(self):
59
59
  """Gets the cookie_name of this SessionPersistence.
60
60
 
61
- 参数解释:cookie名称。 约束限制: - 只有当type为APP_COOKIE时才有效。其他情况下传该字段会报错。 [取值范围: - 共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 - 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) [取值范围:支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws_eu,hcso_dt) [不支持该字段,请勿使用。](tag:hws_eu,hcso_dt)
61
+ 参数解释:cookie名称。 约束限制: - 只有当type为APP_COOKIE时才有效。其他情况下传该字段会报错。 [取值范围: - 共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 - 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm) [取值范围:支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws_eu,hcso_dt) [不支持该字段,请勿使用。](tag:hws_eu,hcso_dt)
62
62
 
63
63
  :return: The cookie_name of this SessionPersistence.
64
64
  :rtype: str
@@ -69,7 +69,7 @@ class SessionPersistence:
69
69
  def cookie_name(self, cookie_name):
70
70
  """Sets the cookie_name of this SessionPersistence.
71
71
 
72
- 参数解释:cookie名称。 约束限制: - 只有当type为APP_COOKIE时才有效。其他情况下传该字段会报错。 [取值范围: - 共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 - 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) [取值范围:支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws_eu,hcso_dt) [不支持该字段,请勿使用。](tag:hws_eu,hcso_dt)
72
+ 参数解释:cookie名称。 约束限制: - 只有当type为APP_COOKIE时才有效。其他情况下传该字段会报错。 [取值范围: - 共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 - 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm) [取值范围:支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws_eu,hcso_dt) [不支持该字段,请勿使用。](tag:hws_eu,hcso_dt)
73
73
 
74
74
  :param cookie_name: The cookie_name of this SessionPersistence.
75
75
  :type cookie_name: str
@@ -80,7 +80,7 @@ class SessionPersistence:
80
80
  def type(self):
81
81
  """Gets the type of this SessionPersistence.
82
82
 
83
- 参数解释:会话保持类型。 [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。如果是独享型负载均衡器的pool,则type只能为HTTP_COOKIE,其他取值会话保持失效。如果是共享型负载均衡器的pool,则type可以为HTTP_COOKIE和APP_COOKIE,其他取值会话保持失效。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。type只能为HTTP_COOKIE,其他取值会话保持失效。](tag:hws_eu,hcso_dt) 取值范围:SOURCE_IP、HTTP_COOKIE、APP_COOKIE。 [荷兰region不支持QUIC。](tag:dt,dt_test) [不支持QUIC。](tag:tm)
83
+ 参数解释:会话保持类型。 [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。如果是独享型负载均衡器的pool,则type只能为HTTP_COOKIE,其他取值会话保持失效。如果是共享型负载均衡器的pool,则type可以为HTTP_COOKIE和APP_COOKIE,其他取值会话保持失效。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。type只能为HTTP_COOKIE,其他取值会话保持失效。](tag:hws_eu,hcso_dt) 取值范围:SOURCE_IP、HTTP_COOKIE、APP_COOKIE。 [荷兰region不支持QUIC。](tag:dt,dt_test) [不支持QUIC。](tag:tm)
84
84
 
85
85
  :return: The type of this SessionPersistence.
86
86
  :rtype: str
@@ -91,7 +91,7 @@ class SessionPersistence:
91
91
  def type(self, type):
92
92
  """Sets the type of this SessionPersistence.
93
93
 
94
- 参数解释:会话保持类型。 [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。如果是独享型负载均衡器的pool,则type只能为HTTP_COOKIE,其他取值会话保持失效。如果是共享型负载均衡器的pool,则type可以为HTTP_COOKIE和APP_COOKIE,其他取值会话保持失效。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。type只能为HTTP_COOKIE,其他取值会话保持失效。](tag:hws_eu,hcso_dt) 取值范围:SOURCE_IP、HTTP_COOKIE、APP_COOKIE。 [荷兰region不支持QUIC。](tag:dt,dt_test) [不支持QUIC。](tag:tm)
94
+ 参数解释:会话保持类型。 [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。如果是独享型负载均衡器的pool,则type只能为HTTP_COOKIE,其他取值会话保持失效。如果是共享型负载均衡器的pool,则type可以为HTTP_COOKIE和APP_COOKIE,其他取值会话保持失效。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。type只能为HTTP_COOKIE,其他取值会话保持失效。](tag:hws_eu,hcso_dt) 取值范围:SOURCE_IP、HTTP_COOKIE、APP_COOKIE。 [荷兰region不支持QUIC。](tag:dt,dt_test) [不支持QUIC。](tag:tm)
95
95
 
96
96
  :param type: The type of this SessionPersistence.
97
97
  :type type: str