tencentcloud-sdk-python-clb 3.0.1430__tar.gz → 3.0.1435__tar.gz

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.

Potentially problematic release.


This version of tencentcloud-sdk-python-clb might be problematic. Click here for more details.

Files changed (16) hide show
  1. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/setup.py +1 -1
  3. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/tencentcloud/clb/v20180317/models.py +89 -14
  5. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-clb-3.0.1435/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-clb-3.0.1430/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/README.rst +0 -0
  9. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/tencentcloud/clb/__init__.py +0 -0
  11. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/tencentcloud/clb/v20180317/__init__.py +0 -0
  12. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/tencentcloud/clb/v20180317/clb_client.py +0 -0
  13. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-clb-3.0.1430 → tencentcloud-sdk-python-clb-3.0.1435}/tencentcloud_sdk_python_clb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.0.1430
3
+ Version: 3.0.1435
4
4
  Summary: Tencent Cloud Clb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-clb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1430,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1435,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Clb SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1430'
17
+ __version__ = '3.0.1435'
@@ -314,6 +314,8 @@ class AssociationItem(AbstractModel):
314
314
  :type ListenerName: str
315
315
  :param _Weight: 关联目标组的权重, 该参数只有v2新版目标组生效。
316
316
  :type Weight: int
317
+ :param _RuleId: 高级路由规则ID
318
+ :type RuleId: str
317
319
  """
318
320
  self._LoadBalancerId = None
319
321
  self._ListenerId = None
@@ -325,6 +327,7 @@ class AssociationItem(AbstractModel):
325
327
  self._LoadBalancerName = None
326
328
  self._ListenerName = None
327
329
  self._Weight = None
330
+ self._RuleId = None
328
331
 
329
332
  @property
330
333
  def LoadBalancerId(self):
@@ -439,6 +442,17 @@ class AssociationItem(AbstractModel):
439
442
  def Weight(self, Weight):
440
443
  self._Weight = Weight
441
444
 
445
+ @property
446
+ def RuleId(self):
447
+ """高级路由规则ID
448
+ :rtype: str
449
+ """
450
+ return self._RuleId
451
+
452
+ @RuleId.setter
453
+ def RuleId(self, RuleId):
454
+ self._RuleId = RuleId
455
+
442
456
 
443
457
  def _deserialize(self, params):
444
458
  self._LoadBalancerId = params.get("LoadBalancerId")
@@ -451,6 +465,7 @@ class AssociationItem(AbstractModel):
451
465
  self._LoadBalancerName = params.get("LoadBalancerName")
452
466
  self._ListenerName = params.get("ListenerName")
453
467
  self._Weight = params.get("Weight")
468
+ self._RuleId = params.get("RuleId")
454
469
  memeber_set = set(params.keys())
455
470
  for name, value in vars(self).items():
456
471
  property_name = name[1:]
@@ -4471,6 +4486,8 @@ OPEN:公网属性, INTERNAL:内网属性。
4471
4486
  :type LBChargeType: str
4472
4487
  :param _AccessLogTopicId: 七层访问日志主题ID
4473
4488
  :type AccessLogTopicId: str
4489
+ :param _AdvancedRoute: 是否开启七层高级路由
4490
+ :type AdvancedRoute: bool
4474
4491
  """
4475
4492
  self._LoadBalancerType = None
4476
4493
  self._Forward = None
@@ -4502,6 +4519,7 @@ OPEN:公网属性, INTERNAL:内网属性。
4502
4519
  self._LBChargePrepaid = None
4503
4520
  self._LBChargeType = None
4504
4521
  self._AccessLogTopicId = None
4522
+ self._AdvancedRoute = None
4505
4523
 
4506
4524
  @property
4507
4525
  def LoadBalancerType(self):
@@ -4839,6 +4857,17 @@ OPEN:公网属性, INTERNAL:内网属性。
4839
4857
  def AccessLogTopicId(self, AccessLogTopicId):
4840
4858
  self._AccessLogTopicId = AccessLogTopicId
4841
4859
 
4860
+ @property
4861
+ def AdvancedRoute(self):
4862
+ """是否开启七层高级路由
4863
+ :rtype: bool
4864
+ """
4865
+ return self._AdvancedRoute
4866
+
4867
+ @AdvancedRoute.setter
4868
+ def AdvancedRoute(self, AdvancedRoute):
4869
+ self._AdvancedRoute = AdvancedRoute
4870
+
4842
4871
 
4843
4872
  def _deserialize(self, params):
4844
4873
  self._LoadBalancerType = params.get("LoadBalancerType")
@@ -4887,6 +4916,7 @@ OPEN:公网属性, INTERNAL:内网属性。
4887
4916
  self._LBChargePrepaid._deserialize(params.get("LBChargePrepaid"))
4888
4917
  self._LBChargeType = params.get("LBChargeType")
4889
4918
  self._AccessLogTopicId = params.get("AccessLogTopicId")
4919
+ self._AdvancedRoute = params.get("AdvancedRoute")
4890
4920
  memeber_set = set(params.keys())
4891
4921
  for name, value in vars(self).items():
4892
4922
  property_name = name[1:]
@@ -5192,7 +5222,7 @@ class CreateTargetGroupRequest(AbstractModel):
5192
5222
  :type TargetGroupInstances: list of TargetGroupInstance
5193
5223
  :param _Type: 目标组类型,当前支持v1(旧版目标组), v2(新版目标组), 默认为v1(旧版目标组)。
5194
5224
  :type Type: str
5195
- :param _Protocol: 目标组后端转发协议。v2新版目标组该项必填。目前支持tcpudp
5225
+ :param _Protocol: 目标组后端转发协议。v2新版目标组该项必填。目前支持TCPUDP、HTTP、HTTPS、GRPC
5196
5226
  :type Protocol: str
5197
5227
  :param _Tags: 标签。
5198
5228
  :type Tags: list of TagInfo
@@ -5203,11 +5233,11 @@ class CreateTargetGroupRequest(AbstractModel):
5203
5233
  </ul>
5204
5234
  v1 目标组类型不支持设置 Weight 参数。
5205
5235
  :type Weight: int
5206
- :param _FullListenSwitch: 全监听目标组标识,为true表示是全监听目标组,false表示不是全监听目标组。
5236
+ :param _FullListenSwitch: 全监听目标组标识,true表示是全监听目标组,false表示不是全监听目标组。仅V2新版类型目标组支持该参数。
5207
5237
  :type FullListenSwitch: bool
5208
5238
  :param _KeepaliveEnable: 是否开启长连接,此参数仅适用于HTTP/HTTPS目标组,0:关闭;1:开启, 默认关闭。
5209
5239
  :type KeepaliveEnable: bool
5210
- :param _SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。TCP/UDP目标组不支持该参数。
5240
+ :param _SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。仅V2新版且后端转发协议为HTTP/HTTPS/GRPC目标组支持该参数。
5211
5241
  :type SessionExpireTime: int
5212
5242
  """
5213
5243
  self._TargetGroupName = None
@@ -5280,7 +5310,7 @@ v1 目标组类型不支持设置 Weight 参数。
5280
5310
 
5281
5311
  @property
5282
5312
  def Protocol(self):
5283
- """目标组后端转发协议。v2新版目标组该项必填。目前支持tcpudp
5313
+ """目标组后端转发协议。v2新版目标组该项必填。目前支持TCPUDP、HTTP、HTTPS、GRPC
5284
5314
  :rtype: str
5285
5315
  """
5286
5316
  return self._Protocol
@@ -5318,7 +5348,7 @@ v1 目标组类型不支持设置 Weight 参数。
5318
5348
 
5319
5349
  @property
5320
5350
  def FullListenSwitch(self):
5321
- """全监听目标组标识,为true表示是全监听目标组,false表示不是全监听目标组。
5351
+ """全监听目标组标识,true表示是全监听目标组,false表示不是全监听目标组。仅V2新版类型目标组支持该参数。
5322
5352
  :rtype: bool
5323
5353
  """
5324
5354
  return self._FullListenSwitch
@@ -5340,7 +5370,7 @@ v1 目标组类型不支持设置 Weight 参数。
5340
5370
 
5341
5371
  @property
5342
5372
  def SessionExpireTime(self):
5343
- """会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。TCP/UDP目标组不支持该参数。
5373
+ """会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。仅V2新版且后端转发协议为HTTP/HTTPS/GRPC目标组支持该参数。
5344
5374
  :rtype: int
5345
5375
  """
5346
5376
  return self._SessionExpireTime
@@ -19710,12 +19740,15 @@ class RuleHealth(AbstractModel):
19710
19740
  :param _Url: 转发规则的Url
19711
19741
  注意:此字段可能返回 null,表示取不到有效值。
19712
19742
  :type Url: str
19743
+ :param _RuleId: 高级路由规则ID
19744
+ :type RuleId: str
19713
19745
  :param _Targets: 本规则上绑定的后端服务的健康检查状态
19714
19746
  :type Targets: list of TargetHealth
19715
19747
  """
19716
19748
  self._LocationId = None
19717
19749
  self._Domain = None
19718
19750
  self._Url = None
19751
+ self._RuleId = None
19719
19752
  self._Targets = None
19720
19753
 
19721
19754
  @property
@@ -19753,6 +19786,17 @@ class RuleHealth(AbstractModel):
19753
19786
  def Url(self, Url):
19754
19787
  self._Url = Url
19755
19788
 
19789
+ @property
19790
+ def RuleId(self):
19791
+ """高级路由规则ID
19792
+ :rtype: str
19793
+ """
19794
+ return self._RuleId
19795
+
19796
+ @RuleId.setter
19797
+ def RuleId(self, RuleId):
19798
+ self._RuleId = RuleId
19799
+
19756
19800
  @property
19757
19801
  def Targets(self):
19758
19802
  """本规则上绑定的后端服务的健康检查状态
@@ -19769,6 +19813,7 @@ class RuleHealth(AbstractModel):
19769
19813
  self._LocationId = params.get("LocationId")
19770
19814
  self._Domain = params.get("Domain")
19771
19815
  self._Url = params.get("Url")
19816
+ self._RuleId = params.get("RuleId")
19772
19817
  if params.get("Targets") is not None:
19773
19818
  self._Targets = []
19774
19819
  for item in params.get("Targets"):
@@ -21834,11 +21879,10 @@ class TargetGroupInfo(AbstractModel):
21834
21879
  :param _AssociatedRule: 关联到的规则数组。在DescribeTargetGroupList接口调用时无法获取到该参数。
21835
21880
  注意:此字段可能返回 null,表示取不到有效值。
21836
21881
  :type AssociatedRule: list of AssociationItem
21837
- :param _Protocol: 后端转发协议类型,支持类型TCP, UDP。仅V2新版目标组支持返回该参数。
21838
-
21882
+ :param _Protocol: 目标组后端转发协议, 仅v2新版目标组返回有效值。
21839
21883
  注意:此字段可能返回 null,表示取不到有效值。
21840
21884
  :type Protocol: str
21841
- :param _TargetGroupType: 目标组类型,当前支持v1(旧版目标组), v2(新版目标组), gwlb(全局负载均衡目标组)。
21885
+ :param _TargetGroupType: 目标组类型,当前支持v1(旧版目标组), v2(新版目标组)。默认为v1旧版目标组。
21842
21886
  :type TargetGroupType: str
21843
21887
  :param _AssociatedRuleCount: 目标组已关联的规则数。
21844
21888
  :type AssociatedRuleCount: int
@@ -21847,9 +21891,14 @@ class TargetGroupInfo(AbstractModel):
21847
21891
  :param _Tag: 标签。
21848
21892
  :type Tag: list of TagInfo
21849
21893
  :param _Weight: 默认权重。只有v2类型目标组返回该字段。当返回为NULL时, 表示未设置默认权重。
21894
+ 注意:此字段可能返回 null,表示取不到有效值。
21850
21895
  :type Weight: int
21851
- :param _FullListenSwitch: 是否全监听目标组
21896
+ :param _FullListenSwitch: 是否全监听目标组。
21852
21897
  :type FullListenSwitch: bool
21898
+ :param _KeepaliveEnable: 是否开启长连接, 仅后端转发协议为HTTP/HTTPS/GRPC目标组返回有效值。
21899
+ :type KeepaliveEnable: bool
21900
+ :param _SessionExpireTime: 会话保持时间,仅后端转发协议为HTTP/HTTPS/GRPC目标组返回有效值。
21901
+ :type SessionExpireTime: int
21853
21902
  """
21854
21903
  self._TargetGroupId = None
21855
21904
  self._VpcId = None
@@ -21865,6 +21914,8 @@ class TargetGroupInfo(AbstractModel):
21865
21914
  self._Tag = None
21866
21915
  self._Weight = None
21867
21916
  self._FullListenSwitch = None
21917
+ self._KeepaliveEnable = None
21918
+ self._SessionExpireTime = None
21868
21919
 
21869
21920
  @property
21870
21921
  def TargetGroupId(self):
@@ -21947,8 +21998,7 @@ class TargetGroupInfo(AbstractModel):
21947
21998
 
21948
21999
  @property
21949
22000
  def Protocol(self):
21950
- """后端转发协议类型,支持类型TCP, UDP。仅V2新版目标组支持返回该参数。
21951
-
22001
+ """目标组后端转发协议, 仅v2新版目标组返回有效值。
21952
22002
  注意:此字段可能返回 null,表示取不到有效值。
21953
22003
  :rtype: str
21954
22004
  """
@@ -21960,7 +22010,7 @@ class TargetGroupInfo(AbstractModel):
21960
22010
 
21961
22011
  @property
21962
22012
  def TargetGroupType(self):
21963
- """目标组类型,当前支持v1(旧版目标组), v2(新版目标组), gwlb(全局负载均衡目标组)。
22013
+ """目标组类型,当前支持v1(旧版目标组), v2(新版目标组)。默认为v1旧版目标组。
21964
22014
  :rtype: str
21965
22015
  """
21966
22016
  return self._TargetGroupType
@@ -22005,6 +22055,7 @@ class TargetGroupInfo(AbstractModel):
22005
22055
  @property
22006
22056
  def Weight(self):
22007
22057
  """默认权重。只有v2类型目标组返回该字段。当返回为NULL时, 表示未设置默认权重。
22058
+ 注意:此字段可能返回 null,表示取不到有效值。
22008
22059
  :rtype: int
22009
22060
  """
22010
22061
  return self._Weight
@@ -22015,7 +22066,7 @@ class TargetGroupInfo(AbstractModel):
22015
22066
 
22016
22067
  @property
22017
22068
  def FullListenSwitch(self):
22018
- """是否全监听目标组
22069
+ """是否全监听目标组。
22019
22070
  :rtype: bool
22020
22071
  """
22021
22072
  return self._FullListenSwitch
@@ -22024,6 +22075,28 @@ class TargetGroupInfo(AbstractModel):
22024
22075
  def FullListenSwitch(self, FullListenSwitch):
22025
22076
  self._FullListenSwitch = FullListenSwitch
22026
22077
 
22078
+ @property
22079
+ def KeepaliveEnable(self):
22080
+ """是否开启长连接, 仅后端转发协议为HTTP/HTTPS/GRPC目标组返回有效值。
22081
+ :rtype: bool
22082
+ """
22083
+ return self._KeepaliveEnable
22084
+
22085
+ @KeepaliveEnable.setter
22086
+ def KeepaliveEnable(self, KeepaliveEnable):
22087
+ self._KeepaliveEnable = KeepaliveEnable
22088
+
22089
+ @property
22090
+ def SessionExpireTime(self):
22091
+ """会话保持时间,仅后端转发协议为HTTP/HTTPS/GRPC目标组返回有效值。
22092
+ :rtype: int
22093
+ """
22094
+ return self._SessionExpireTime
22095
+
22096
+ @SessionExpireTime.setter
22097
+ def SessionExpireTime(self, SessionExpireTime):
22098
+ self._SessionExpireTime = SessionExpireTime
22099
+
22027
22100
 
22028
22101
  def _deserialize(self, params):
22029
22102
  self._TargetGroupId = params.get("TargetGroupId")
@@ -22050,6 +22123,8 @@ class TargetGroupInfo(AbstractModel):
22050
22123
  self._Tag.append(obj)
22051
22124
  self._Weight = params.get("Weight")
22052
22125
  self._FullListenSwitch = params.get("FullListenSwitch")
22126
+ self._KeepaliveEnable = params.get("KeepaliveEnable")
22127
+ self._SessionExpireTime = params.get("SessionExpireTime")
22053
22128
  memeber_set = set(params.keys())
22054
22129
  for name, value in vars(self).items():
22055
22130
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.0.1430
3
+ Version: 3.0.1435
4
4
  Summary: Tencent Cloud Clb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1435
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1430