tencentcloud-sdk-python-clb 3.1.20__tar.gz → 3.1.21__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.1.20 → tencentcloud_sdk_python_clb-3.1.21}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/setup.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/tencentcloud/clb/v20180317/clb_client.py +23 -0
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/tencentcloud/clb/v20180317/models.py +96 -0
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_clb-3.1.21/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_clb-3.1.20/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/README.rst +0 -0
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/setup.cfg +0 -0
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.20 → tencentcloud_sdk_python_clb-3.1.21}/tencentcloud_sdk_python_clb.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-clb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.21
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.21
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.21,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Clb SDK for Python',
|
|
@@ -1996,6 +1996,29 @@ class ClbClient(AbstractClient):
|
|
|
1996
1996
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1997
1997
|
|
|
1998
1998
|
|
|
1999
|
+
def RenewLoadBalancers(self, request):
|
|
2000
|
+
r"""API接口续费包年包月实例还在灰度中,如您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)
|
|
2001
|
+
|
|
2002
|
+
:param request: Request instance for RenewLoadBalancers.
|
|
2003
|
+
:type request: :class:`tencentcloud.clb.v20180317.models.RenewLoadBalancersRequest`
|
|
2004
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RenewLoadBalancersResponse`
|
|
2005
|
+
|
|
2006
|
+
"""
|
|
2007
|
+
try:
|
|
2008
|
+
params = request._serialize()
|
|
2009
|
+
headers = request.headers
|
|
2010
|
+
body = self.call("RenewLoadBalancers", params, headers=headers)
|
|
2011
|
+
response = json.loads(body)
|
|
2012
|
+
model = models.RenewLoadBalancersResponse()
|
|
2013
|
+
model._deserialize(response["Response"])
|
|
2014
|
+
return model
|
|
2015
|
+
except Exception as e:
|
|
2016
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2017
|
+
raise
|
|
2018
|
+
else:
|
|
2019
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2020
|
+
|
|
2021
|
+
|
|
1999
2022
|
def ReplaceCertForLoadBalancers(self, request):
|
|
2000
2023
|
r"""ReplaceCertForLoadBalancers 接口用以替换负载均衡实例所关联的证书,对于各个地域的负载均衡,如果指定的老的证书ID与其有关联关系,则会先解除关联,再建立新证书与该负载均衡的关联关系。
|
|
2001
2024
|
此接口支持替换服务端证书或客户端证书。
|
|
@@ -1585,6 +1585,24 @@ class ClbClient(AbstractClient):
|
|
|
1585
1585
|
|
|
1586
1586
|
return await self.call_and_deserialize(**kwargs)
|
|
1587
1587
|
|
|
1588
|
+
async def RenewLoadBalancers(
|
|
1589
|
+
self,
|
|
1590
|
+
request: models.RenewLoadBalancersRequest,
|
|
1591
|
+
opts: Dict = None,
|
|
1592
|
+
) -> models.RenewLoadBalancersResponse:
|
|
1593
|
+
"""
|
|
1594
|
+
API接口续费包年包月实例还在灰度中,如您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)
|
|
1595
|
+
"""
|
|
1596
|
+
|
|
1597
|
+
kwargs = {}
|
|
1598
|
+
kwargs["action"] = "RenewLoadBalancers"
|
|
1599
|
+
kwargs["params"] = request._serialize()
|
|
1600
|
+
kwargs["resp_cls"] = models.RenewLoadBalancersResponse
|
|
1601
|
+
kwargs["headers"] = request.headers
|
|
1602
|
+
kwargs["opts"] = opts or {}
|
|
1603
|
+
|
|
1604
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1605
|
+
|
|
1588
1606
|
async def ReplaceCertForLoadBalancers(
|
|
1589
1607
|
self,
|
|
1590
1608
|
request: models.ReplaceCertForLoadBalancersRequest,
|
|
@@ -19078,6 +19078,102 @@ class RegisterTargetsWithClassicalLBResponse(AbstractModel):
|
|
|
19078
19078
|
self._RequestId = params.get("RequestId")
|
|
19079
19079
|
|
|
19080
19080
|
|
|
19081
|
+
class RenewLoadBalancersRequest(AbstractModel):
|
|
19082
|
+
r"""RenewLoadBalancers请求参数结构体
|
|
19083
|
+
|
|
19084
|
+
"""
|
|
19085
|
+
|
|
19086
|
+
def __init__(self):
|
|
19087
|
+
r"""
|
|
19088
|
+
:param _LoadBalancerIds: 负载均衡实例唯一ID数组,最多支持20个。
|
|
19089
|
+
:type LoadBalancerIds: list of str
|
|
19090
|
+
:param _LBChargePrepaid: 负载均衡实例的预付费相关属性。
|
|
19091
|
+
:type LBChargePrepaid: :class:`tencentcloud.clb.v20180317.models.LBChargePrepaid`
|
|
19092
|
+
"""
|
|
19093
|
+
self._LoadBalancerIds = None
|
|
19094
|
+
self._LBChargePrepaid = None
|
|
19095
|
+
|
|
19096
|
+
@property
|
|
19097
|
+
def LoadBalancerIds(self):
|
|
19098
|
+
r"""负载均衡实例唯一ID数组,最多支持20个。
|
|
19099
|
+
:rtype: list of str
|
|
19100
|
+
"""
|
|
19101
|
+
return self._LoadBalancerIds
|
|
19102
|
+
|
|
19103
|
+
@LoadBalancerIds.setter
|
|
19104
|
+
def LoadBalancerIds(self, LoadBalancerIds):
|
|
19105
|
+
self._LoadBalancerIds = LoadBalancerIds
|
|
19106
|
+
|
|
19107
|
+
@property
|
|
19108
|
+
def LBChargePrepaid(self):
|
|
19109
|
+
r"""负载均衡实例的预付费相关属性。
|
|
19110
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.LBChargePrepaid`
|
|
19111
|
+
"""
|
|
19112
|
+
return self._LBChargePrepaid
|
|
19113
|
+
|
|
19114
|
+
@LBChargePrepaid.setter
|
|
19115
|
+
def LBChargePrepaid(self, LBChargePrepaid):
|
|
19116
|
+
self._LBChargePrepaid = LBChargePrepaid
|
|
19117
|
+
|
|
19118
|
+
|
|
19119
|
+
def _deserialize(self, params):
|
|
19120
|
+
self._LoadBalancerIds = params.get("LoadBalancerIds")
|
|
19121
|
+
if params.get("LBChargePrepaid") is not None:
|
|
19122
|
+
self._LBChargePrepaid = LBChargePrepaid()
|
|
19123
|
+
self._LBChargePrepaid._deserialize(params.get("LBChargePrepaid"))
|
|
19124
|
+
memeber_set = set(params.keys())
|
|
19125
|
+
for name, value in vars(self).items():
|
|
19126
|
+
property_name = name[1:]
|
|
19127
|
+
if property_name in memeber_set:
|
|
19128
|
+
memeber_set.remove(property_name)
|
|
19129
|
+
if len(memeber_set) > 0:
|
|
19130
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19131
|
+
|
|
19132
|
+
|
|
19133
|
+
|
|
19134
|
+
class RenewLoadBalancersResponse(AbstractModel):
|
|
19135
|
+
r"""RenewLoadBalancers返回参数结构体
|
|
19136
|
+
|
|
19137
|
+
"""
|
|
19138
|
+
|
|
19139
|
+
def __init__(self):
|
|
19140
|
+
r"""
|
|
19141
|
+
:param _DealName: 订单号。
|
|
19142
|
+
:type DealName: str
|
|
19143
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19144
|
+
:type RequestId: str
|
|
19145
|
+
"""
|
|
19146
|
+
self._DealName = None
|
|
19147
|
+
self._RequestId = None
|
|
19148
|
+
|
|
19149
|
+
@property
|
|
19150
|
+
def DealName(self):
|
|
19151
|
+
r"""订单号。
|
|
19152
|
+
:rtype: str
|
|
19153
|
+
"""
|
|
19154
|
+
return self._DealName
|
|
19155
|
+
|
|
19156
|
+
@DealName.setter
|
|
19157
|
+
def DealName(self, DealName):
|
|
19158
|
+
self._DealName = DealName
|
|
19159
|
+
|
|
19160
|
+
@property
|
|
19161
|
+
def RequestId(self):
|
|
19162
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19163
|
+
:rtype: str
|
|
19164
|
+
"""
|
|
19165
|
+
return self._RequestId
|
|
19166
|
+
|
|
19167
|
+
@RequestId.setter
|
|
19168
|
+
def RequestId(self, RequestId):
|
|
19169
|
+
self._RequestId = RequestId
|
|
19170
|
+
|
|
19171
|
+
|
|
19172
|
+
def _deserialize(self, params):
|
|
19173
|
+
self._DealName = params.get("DealName")
|
|
19174
|
+
self._RequestId = params.get("RequestId")
|
|
19175
|
+
|
|
19176
|
+
|
|
19081
19177
|
class ReplaceCertForLoadBalancersRequest(AbstractModel):
|
|
19082
19178
|
r"""ReplaceCertForLoadBalancers请求参数结构体
|
|
19083
19179
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-clb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.21
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.21
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.21
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.20
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|