tencentcloud-sdk-python-clb 3.0.1283__tar.gz → 3.0.1297__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.
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/setup.py +1 -1
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/tencentcloud/clb/v20180317/clb_client.py +0 -1
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/tencentcloud/clb/v20180317/models.py +77 -4
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-clb-3.0.1297/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-clb-3.0.1283/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/README.rst +0 -0
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/setup.cfg +0 -0
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-clb-3.0.1283 → tencentcloud-sdk-python-clb-3.0.1297}/tencentcloud_sdk_python_clb.egg-info/top_level.txt +0 -0
|
@@ -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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1297"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Clb SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -188,7 +188,6 @@ class ClbClient(AbstractClient):
|
|
|
188
188
|
通过接口调用:
|
|
189
189
|
BGP带宽包必须传带宽包id
|
|
190
190
|
独占集群克隆必须传对应的参数,否则按共享型创建
|
|
191
|
-
功能内测中,请提交 [内测申请](https://cloud.tencent.com/apply/p/1akuvsmyn0g)。
|
|
192
191
|
|
|
193
192
|
:param request: Request instance for CloneLoadBalancer.
|
|
194
193
|
:type request: :class:`tencentcloud.clb.v20180317.models.CloneLoadBalancerRequest`
|
|
@@ -115,6 +115,9 @@ class AssociationItem(AbstractModel):
|
|
|
115
115
|
:type LoadBalancerName: str
|
|
116
116
|
:param _ListenerName: 监听器名称
|
|
117
117
|
:type ListenerName: str
|
|
118
|
+
:param _Weight: 关联目标组的权重, 该参数只有v2新版目标组生效。
|
|
119
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
120
|
+
:type Weight: int
|
|
118
121
|
"""
|
|
119
122
|
self._LoadBalancerId = None
|
|
120
123
|
self._ListenerId = None
|
|
@@ -125,6 +128,7 @@ class AssociationItem(AbstractModel):
|
|
|
125
128
|
self._Url = None
|
|
126
129
|
self._LoadBalancerName = None
|
|
127
130
|
self._ListenerName = None
|
|
131
|
+
self._Weight = None
|
|
128
132
|
|
|
129
133
|
@property
|
|
130
134
|
def LoadBalancerId(self):
|
|
@@ -228,6 +232,18 @@ class AssociationItem(AbstractModel):
|
|
|
228
232
|
def ListenerName(self, ListenerName):
|
|
229
233
|
self._ListenerName = ListenerName
|
|
230
234
|
|
|
235
|
+
@property
|
|
236
|
+
def Weight(self):
|
|
237
|
+
"""关联目标组的权重, 该参数只有v2新版目标组生效。
|
|
238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
239
|
+
:rtype: int
|
|
240
|
+
"""
|
|
241
|
+
return self._Weight
|
|
242
|
+
|
|
243
|
+
@Weight.setter
|
|
244
|
+
def Weight(self, Weight):
|
|
245
|
+
self._Weight = Weight
|
|
246
|
+
|
|
231
247
|
|
|
232
248
|
def _deserialize(self, params):
|
|
233
249
|
self._LoadBalancerId = params.get("LoadBalancerId")
|
|
@@ -239,6 +255,7 @@ class AssociationItem(AbstractModel):
|
|
|
239
255
|
self._Url = params.get("Url")
|
|
240
256
|
self._LoadBalancerName = params.get("LoadBalancerName")
|
|
241
257
|
self._ListenerName = params.get("ListenerName")
|
|
258
|
+
self._Weight = params.get("Weight")
|
|
242
259
|
memeber_set = set(params.keys())
|
|
243
260
|
for name, value in vars(self).items():
|
|
244
261
|
property_name = name[1:]
|
|
@@ -567,9 +584,12 @@ class BasicTargetGroupInfo(AbstractModel):
|
|
|
567
584
|
:type TargetGroupId: str
|
|
568
585
|
:param _TargetGroupName: 目标组名称
|
|
569
586
|
:type TargetGroupName: str
|
|
587
|
+
:param _Weight: 权重
|
|
588
|
+
:type Weight: int
|
|
570
589
|
"""
|
|
571
590
|
self._TargetGroupId = None
|
|
572
591
|
self._TargetGroupName = None
|
|
592
|
+
self._Weight = None
|
|
573
593
|
|
|
574
594
|
@property
|
|
575
595
|
def TargetGroupId(self):
|
|
@@ -593,10 +613,22 @@ class BasicTargetGroupInfo(AbstractModel):
|
|
|
593
613
|
def TargetGroupName(self, TargetGroupName):
|
|
594
614
|
self._TargetGroupName = TargetGroupName
|
|
595
615
|
|
|
616
|
+
@property
|
|
617
|
+
def Weight(self):
|
|
618
|
+
"""权重
|
|
619
|
+
:rtype: int
|
|
620
|
+
"""
|
|
621
|
+
return self._Weight
|
|
622
|
+
|
|
623
|
+
@Weight.setter
|
|
624
|
+
def Weight(self, Weight):
|
|
625
|
+
self._Weight = Weight
|
|
626
|
+
|
|
596
627
|
|
|
597
628
|
def _deserialize(self, params):
|
|
598
629
|
self._TargetGroupId = params.get("TargetGroupId")
|
|
599
630
|
self._TargetGroupName = params.get("TargetGroupName")
|
|
631
|
+
self._Weight = params.get("Weight")
|
|
600
632
|
memeber_set = set(params.keys())
|
|
601
633
|
for name, value in vars(self).items():
|
|
602
634
|
property_name = name[1:]
|
|
@@ -672,10 +704,14 @@ class BatchDeregisterTargetsResponse(AbstractModel):
|
|
|
672
704
|
r"""
|
|
673
705
|
:param _FailListenerIdSet: 解绑失败的监听器ID。
|
|
674
706
|
:type FailListenerIdSet: list of str
|
|
707
|
+
:param _Message: 解绑失败错误原因信息。
|
|
708
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
709
|
+
:type Message: str
|
|
675
710
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
676
711
|
:type RequestId: str
|
|
677
712
|
"""
|
|
678
713
|
self._FailListenerIdSet = None
|
|
714
|
+
self._Message = None
|
|
679
715
|
self._RequestId = None
|
|
680
716
|
|
|
681
717
|
@property
|
|
@@ -689,6 +725,18 @@ class BatchDeregisterTargetsResponse(AbstractModel):
|
|
|
689
725
|
def FailListenerIdSet(self, FailListenerIdSet):
|
|
690
726
|
self._FailListenerIdSet = FailListenerIdSet
|
|
691
727
|
|
|
728
|
+
@property
|
|
729
|
+
def Message(self):
|
|
730
|
+
"""解绑失败错误原因信息。
|
|
731
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
732
|
+
:rtype: str
|
|
733
|
+
"""
|
|
734
|
+
return self._Message
|
|
735
|
+
|
|
736
|
+
@Message.setter
|
|
737
|
+
def Message(self, Message):
|
|
738
|
+
self._Message = Message
|
|
739
|
+
|
|
692
740
|
@property
|
|
693
741
|
def RequestId(self):
|
|
694
742
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -703,6 +751,7 @@ class BatchDeregisterTargetsResponse(AbstractModel):
|
|
|
703
751
|
|
|
704
752
|
def _deserialize(self, params):
|
|
705
753
|
self._FailListenerIdSet = params.get("FailListenerIdSet")
|
|
754
|
+
self._Message = params.get("Message")
|
|
706
755
|
self._RequestId = params.get("RequestId")
|
|
707
756
|
|
|
708
757
|
|
|
@@ -3640,7 +3689,13 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3640
3689
|
:type ListenerNames: list of str
|
|
3641
3690
|
:param _HealthCheck: 健康检查相关参数,此参数仅适用于TCP/UDP/TCP_SSL/QUIC监听器。
|
|
3642
3691
|
:type HealthCheck: :class:`tencentcloud.clb.v20180317.models.HealthCheck`
|
|
3643
|
-
:param _Certificate:
|
|
3692
|
+
:param _Certificate: 证书相关信息。参数限制如下:
|
|
3693
|
+
<li>
|
|
3694
|
+
此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。
|
|
3695
|
+
</li>
|
|
3696
|
+
<li>
|
|
3697
|
+
创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数MultiCertInfo至少需要传一个, 但不能同时传入。
|
|
3698
|
+
</li>
|
|
3644
3699
|
:type Certificate: :class:`tencentcloud.clb.v20180317.models.CertificateInput`
|
|
3645
3700
|
:param _SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。此参数仅适用于TCP/UDP监听器。
|
|
3646
3701
|
:type SessionExpireTime: int
|
|
@@ -3659,7 +3714,13 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3659
3714
|
:type EndPort: int
|
|
3660
3715
|
:param _DeregisterTargetRst: 解绑后端目标时,是否发RST给客户端,此参数仅适用于TCP监听器。
|
|
3661
3716
|
:type DeregisterTargetRst: bool
|
|
3662
|
-
:param _MultiCertInfo:
|
|
3717
|
+
:param _MultiCertInfo: 证书信息,支持同时传入不同算法类型的多本服务端证书,参数限制如下:
|
|
3718
|
+
<li>
|
|
3719
|
+
此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。
|
|
3720
|
+
</li>
|
|
3721
|
+
<li>
|
|
3722
|
+
创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数Certificate至少需要传一个, 但不能同时传入。
|
|
3723
|
+
</li>
|
|
3663
3724
|
:type MultiCertInfo: :class:`tencentcloud.clb.v20180317.models.MultiCertInfo`
|
|
3664
3725
|
:param _MaxConn: 监听器最大连接数,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持,不传或者传-1表示监听器维度不限速。基础网络实例不支持该参数。
|
|
3665
3726
|
:type MaxConn: int
|
|
@@ -3756,7 +3817,13 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3756
3817
|
|
|
3757
3818
|
@property
|
|
3758
3819
|
def Certificate(self):
|
|
3759
|
-
"""
|
|
3820
|
+
"""证书相关信息。参数限制如下:
|
|
3821
|
+
<li>
|
|
3822
|
+
此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。
|
|
3823
|
+
</li>
|
|
3824
|
+
<li>
|
|
3825
|
+
创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数MultiCertInfo至少需要传一个, 但不能同时传入。
|
|
3826
|
+
</li>
|
|
3760
3827
|
:rtype: :class:`tencentcloud.clb.v20180317.models.CertificateInput`
|
|
3761
3828
|
"""
|
|
3762
3829
|
return self._Certificate
|
|
@@ -3856,7 +3923,13 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3856
3923
|
|
|
3857
3924
|
@property
|
|
3858
3925
|
def MultiCertInfo(self):
|
|
3859
|
-
"""
|
|
3926
|
+
"""证书信息,支持同时传入不同算法类型的多本服务端证书,参数限制如下:
|
|
3927
|
+
<li>
|
|
3928
|
+
此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。
|
|
3929
|
+
</li>
|
|
3930
|
+
<li>
|
|
3931
|
+
创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数Certificate至少需要传一个, 但不能同时传入。
|
|
3932
|
+
</li>
|
|
3860
3933
|
:rtype: :class:`tencentcloud.clb.v20180317.models.MultiCertInfo`
|
|
3861
3934
|
"""
|
|
3862
3935
|
return self._MultiCertInfo
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1297
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1283
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|