tencentcloud-sdk-python-clb 3.1.44__tar.gz → 3.1.51__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/setup.py +1 -1
  3. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/tencentcloud/clb/v20180317/clb_client.py +46 -0
  5. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/tencentcloud/clb/v20180317/clb_client_async.py +36 -0
  6. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/tencentcloud/clb/v20180317/models.py +339 -90
  7. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_clb-3.1.51/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_clb-3.1.44/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/README.rst +0 -0
  11. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/tencentcloud/clb/__init__.py +0 -0
  13. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/tencentcloud/clb/v20180317/__init__.py +0 -0
  14. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_clb-3.1.44 → tencentcloud_sdk_python_clb-3.1.51}/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.44
3
+ Version: 3.1.51
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.44
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.51
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.44,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.51,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Clb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.44'
17
+ __version__ = '3.1.51'
@@ -26,6 +26,29 @@ class ClbClient(AbstractClient):
26
26
  _service = 'clb'
27
27
 
28
28
 
29
+ def AssociateCustomizedConfig(self, request):
30
+ r"""关联配置到server或location,根据配置类型关联到server或location。准备下线,请使用SetCustomizedConfigForLoadBalancer。
31
+
32
+ :param request: Request instance for AssociateCustomizedConfig.
33
+ :type request: :class:`tencentcloud.clb.v20180317.models.AssociateCustomizedConfigRequest`
34
+ :rtype: :class:`tencentcloud.clb.v20180317.models.AssociateCustomizedConfigResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("AssociateCustomizedConfig", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.AssociateCustomizedConfigResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
29
52
  def AssociateTargetGroups(self, request):
30
53
  r"""本接口(AssociateTargetGroups)用来将目标组绑定到负载均衡的监听器(四层协议)或转发规则(七层协议)上。
31
54
  本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
@@ -1364,6 +1387,29 @@ class ClbClient(AbstractClient):
1364
1387
  raise TencentCloudSDKException(type(e).__name__, str(e))
1365
1388
 
1366
1389
 
1390
+ def DisassociateCustomizedConfig(self, request):
1391
+ r"""去关联个性化配置,准备下线,请使用SetCustomizedConfigForLoadBalancer。
1392
+
1393
+ :param request: Request instance for DisassociateCustomizedConfig.
1394
+ :type request: :class:`tencentcloud.clb.v20180317.models.DisassociateCustomizedConfigRequest`
1395
+ :rtype: :class:`tencentcloud.clb.v20180317.models.DisassociateCustomizedConfigResponse`
1396
+
1397
+ """
1398
+ try:
1399
+ params = request._serialize()
1400
+ headers = request.headers
1401
+ body = self.call("DisassociateCustomizedConfig", params, headers=headers)
1402
+ response = json.loads(body)
1403
+ model = models.DisassociateCustomizedConfigResponse()
1404
+ model._deserialize(response["Response"])
1405
+ return model
1406
+ except Exception as e:
1407
+ if isinstance(e, TencentCloudSDKException):
1408
+ raise
1409
+ else:
1410
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1411
+
1412
+
1367
1413
  def DisassociateTargetGroups(self, request):
1368
1414
  r"""解除规则的目标组关联关系。
1369
1415
  本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
@@ -25,6 +25,24 @@ class ClbClient(AbstractClient):
25
25
  _endpoint = 'clb.tencentcloudapi.com'
26
26
  _service = 'clb'
27
27
 
28
+ async def AssociateCustomizedConfig(
29
+ self,
30
+ request: models.AssociateCustomizedConfigRequest,
31
+ opts: Dict = None,
32
+ ) -> models.AssociateCustomizedConfigResponse:
33
+ """
34
+ 关联配置到server或location,根据配置类型关联到server或location。准备下线,请使用SetCustomizedConfigForLoadBalancer。
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "AssociateCustomizedConfig"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.AssociateCustomizedConfigResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
28
46
  async def AssociateTargetGroups(
29
47
  self,
30
48
  request: models.AssociateTargetGroupsRequest,
@@ -1083,6 +1101,24 @@ class ClbClient(AbstractClient):
1083
1101
 
1084
1102
  return await self.call_and_deserialize(**kwargs)
1085
1103
 
1104
+ async def DisassociateCustomizedConfig(
1105
+ self,
1106
+ request: models.DisassociateCustomizedConfigRequest,
1107
+ opts: Dict = None,
1108
+ ) -> models.DisassociateCustomizedConfigResponse:
1109
+ """
1110
+ 去关联个性化配置,准备下线,请使用SetCustomizedConfigForLoadBalancer。
1111
+ """
1112
+
1113
+ kwargs = {}
1114
+ kwargs["action"] = "DisassociateCustomizedConfig"
1115
+ kwargs["params"] = request._serialize()
1116
+ kwargs["resp_cls"] = models.DisassociateCustomizedConfigResponse
1117
+ kwargs["headers"] = request.headers
1118
+ kwargs["opts"] = opts or {}
1119
+
1120
+ return await self.call_and_deserialize(**kwargs)
1121
+
1086
1122
  async def DisassociateTargetGroups(
1087
1123
  self,
1088
1124
  request: models.DisassociateTargetGroupsRequest,
@@ -18,6 +18,90 @@ import warnings
18
18
  from tencentcloud.common.abstract_model import AbstractModel
19
19
 
20
20
 
21
+ class AssociateCustomizedConfigRequest(AbstractModel):
22
+ r"""AssociateCustomizedConfig请求参数结构体
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _UconfigId: 配置ID
29
+ :type UconfigId: str
30
+ :param _BindList: 关联的server或location
31
+ :type BindList: list of BindItem
32
+ """
33
+ self._UconfigId = None
34
+ self._BindList = None
35
+
36
+ @property
37
+ def UconfigId(self):
38
+ r"""配置ID
39
+ :rtype: str
40
+ """
41
+ return self._UconfigId
42
+
43
+ @UconfigId.setter
44
+ def UconfigId(self, UconfigId):
45
+ self._UconfigId = UconfigId
46
+
47
+ @property
48
+ def BindList(self):
49
+ r"""关联的server或location
50
+ :rtype: list of BindItem
51
+ """
52
+ return self._BindList
53
+
54
+ @BindList.setter
55
+ def BindList(self, BindList):
56
+ self._BindList = BindList
57
+
58
+
59
+ def _deserialize(self, params):
60
+ self._UconfigId = params.get("UconfigId")
61
+ if params.get("BindList") is not None:
62
+ self._BindList = []
63
+ for item in params.get("BindList"):
64
+ obj = BindItem()
65
+ obj._deserialize(item)
66
+ self._BindList.append(obj)
67
+ memeber_set = set(params.keys())
68
+ for name, value in vars(self).items():
69
+ property_name = name[1:]
70
+ if property_name in memeber_set:
71
+ memeber_set.remove(property_name)
72
+ if len(memeber_set) > 0:
73
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
74
+
75
+
76
+
77
+ class AssociateCustomizedConfigResponse(AbstractModel):
78
+ r"""AssociateCustomizedConfig返回参数结构体
79
+
80
+ """
81
+
82
+ def __init__(self):
83
+ r"""
84
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
85
+ :type RequestId: str
86
+ """
87
+ self._RequestId = None
88
+
89
+ @property
90
+ def RequestId(self):
91
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
92
+ :rtype: str
93
+ """
94
+ return self._RequestId
95
+
96
+ @RequestId.setter
97
+ def RequestId(self, RequestId):
98
+ self._RequestId = RequestId
99
+
100
+
101
+ def _deserialize(self, params):
102
+ self._RequestId = params.get("RequestId")
103
+
104
+
21
105
  class AssociateTargetGroupsRequest(AbstractModel):
22
106
  r"""AssociateTargetGroups请求参数结构体
23
107
 
@@ -1419,6 +1503,87 @@ class BindDetailItem(AbstractModel):
1419
1503
 
1420
1504
 
1421
1505
 
1506
+ class BindItem(AbstractModel):
1507
+ r"""配置绑定关系
1508
+
1509
+ """
1510
+
1511
+ def __init__(self):
1512
+ r"""
1513
+ :param _LoadBalancerId: 配置绑定的CLB ID
1514
+ :type LoadBalancerId: str
1515
+ :param _ListenerId: 配置绑定的监听器ID
1516
+ :type ListenerId: str
1517
+ :param _Domain: 配置绑定的域名
1518
+ :type Domain: str
1519
+ :param _LocationId: 配置绑定的规则
1520
+ :type LocationId: str
1521
+ """
1522
+ self._LoadBalancerId = None
1523
+ self._ListenerId = None
1524
+ self._Domain = None
1525
+ self._LocationId = None
1526
+
1527
+ @property
1528
+ def LoadBalancerId(self):
1529
+ r"""配置绑定的CLB ID
1530
+ :rtype: str
1531
+ """
1532
+ return self._LoadBalancerId
1533
+
1534
+ @LoadBalancerId.setter
1535
+ def LoadBalancerId(self, LoadBalancerId):
1536
+ self._LoadBalancerId = LoadBalancerId
1537
+
1538
+ @property
1539
+ def ListenerId(self):
1540
+ r"""配置绑定的监听器ID
1541
+ :rtype: str
1542
+ """
1543
+ return self._ListenerId
1544
+
1545
+ @ListenerId.setter
1546
+ def ListenerId(self, ListenerId):
1547
+ self._ListenerId = ListenerId
1548
+
1549
+ @property
1550
+ def Domain(self):
1551
+ r"""配置绑定的域名
1552
+ :rtype: str
1553
+ """
1554
+ return self._Domain
1555
+
1556
+ @Domain.setter
1557
+ def Domain(self, Domain):
1558
+ self._Domain = Domain
1559
+
1560
+ @property
1561
+ def LocationId(self):
1562
+ r"""配置绑定的规则
1563
+ :rtype: str
1564
+ """
1565
+ return self._LocationId
1566
+
1567
+ @LocationId.setter
1568
+ def LocationId(self, LocationId):
1569
+ self._LocationId = LocationId
1570
+
1571
+
1572
+ def _deserialize(self, params):
1573
+ self._LoadBalancerId = params.get("LoadBalancerId")
1574
+ self._ListenerId = params.get("ListenerId")
1575
+ self._Domain = params.get("Domain")
1576
+ self._LocationId = params.get("LocationId")
1577
+ memeber_set = set(params.keys())
1578
+ for name, value in vars(self).items():
1579
+ property_name = name[1:]
1580
+ if property_name in memeber_set:
1581
+ memeber_set.remove(property_name)
1582
+ if len(memeber_set) > 0:
1583
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1584
+
1585
+
1586
+
1422
1587
  class BlockedIP(AbstractModel):
1423
1588
  r"""加入了12306黑名单的IP
1424
1589
 
@@ -1979,41 +2144,41 @@ class ClassicalListener(AbstractModel):
1979
2144
 
1980
2145
  def __init__(self):
1981
2146
  r"""
1982
- :param _ListenerId: 负载均衡监听器ID
2147
+ :param _ListenerId: <p>负载均衡监听器ID</p>
1983
2148
  :type ListenerId: str
1984
- :param _ListenerPort: 负载均衡监听器端口
2149
+ :param _ListenerPort: <p>负载均衡监听器端口</p>
1985
2150
  :type ListenerPort: int
1986
- :param _InstancePort: 监听器后端转发端口
2151
+ :param _InstancePort: <p>监听器后端转发端口</p>
1987
2152
  :type InstancePort: int
1988
- :param _ListenerName: 监听器名称
2153
+ :param _ListenerName: <p>监听器名称</p>
1989
2154
  :type ListenerName: str
1990
- :param _Protocol: 监听器协议类型
2155
+ :param _Protocol: <p>监听器协议类型</p>
1991
2156
  :type Protocol: str
1992
- :param _SessionExpire: 会话保持时间
2157
+ :param _SessionExpire: <p>会话保持时间</p>
1993
2158
  :type SessionExpire: int
1994
- :param _HealthSwitch: 是否开启了健康检查:1(开启)、0(关闭)
2159
+ :param _HealthSwitch: <p>是否开启了健康检查:1(开启)、0(关闭)</p>
1995
2160
  :type HealthSwitch: int
1996
- :param _TimeOut: 响应超时时间
2161
+ :param _TimeOut: <p>响应超时时间</p><p>单位:秒</p>
1997
2162
  :type TimeOut: int
1998
- :param _IntervalTime: 检查间隔
2163
+ :param _IntervalTime: <p>检查间隔</p><p>单位:秒</p>
1999
2164
  :type IntervalTime: int
2000
- :param _HealthNum: 健康阈值
2165
+ :param _HealthNum: <p>健康阈值</p>
2001
2166
  :type HealthNum: int
2002
- :param _UnhealthNum: 不健康阈值
2167
+ :param _UnhealthNum: <p>不健康阈值</p>
2003
2168
  :type UnhealthNum: int
2004
- :param _HttpHash: 传统型公网负载均衡 监听器的请求均衡方法。空字符串或wrr 表示按权重轮询,ip_hash 表示根据访问的源 IP 进行一致性哈希方式来分发,least_conn表示按最小连接数。
2169
+ :param _HttpHash: <p>传统型公网负载均衡 监听器的请求均衡方法。空字符串或wrr 表示按权重轮询,ip_hash 表示根据访问的源 IP 进行一致性哈希方式来分发,least_conn表示按最小连接数。</p>
2005
2170
  :type HttpHash: str
2006
- :param _HttpCode: 传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查返回码。具体可参考创建监听器中对该字段的解释
2171
+ :param _HttpCode: <p>传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查返回码。具体可参考创建监听器中对该字段的解释</p>
2007
2172
  :type HttpCode: int
2008
- :param _HttpCheckPath: 传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查路径
2173
+ :param _HttpCheckPath: <p>传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查路径</p>
2009
2174
  :type HttpCheckPath: str
2010
- :param _SSLMode: 传统型公网负载均衡的 HTTPS 监听器的认证方式
2175
+ :param _SSLMode: <p>传统型公网负载均衡的 HTTPS 监听器的认证方式</p>
2011
2176
  :type SSLMode: str
2012
- :param _CertId: 传统型公网负载均衡的 HTTPS 监听器的服务端证书 ID
2177
+ :param _CertId: <p>传统型公网负载均衡的 HTTPS 监听器的服务端证书 ID</p>
2013
2178
  :type CertId: str
2014
- :param _CertCaId: 传统型公网负载均衡的 HTTPS 监听器的客户端证书 ID
2179
+ :param _CertCaId: <p>传统型公网负载均衡的 HTTPS 监听器的客户端证书 ID</p>
2015
2180
  :type CertCaId: str
2016
- :param _Status: 监听器的状态,0 表示创建中,1 表示运行中
2181
+ :param _Status: <p>监听器的状态,0 表示创建中,1 表示运行中</p>
2017
2182
  :type Status: int
2018
2183
  """
2019
2184
  self._ListenerId = None
@@ -2037,7 +2202,7 @@ class ClassicalListener(AbstractModel):
2037
2202
 
2038
2203
  @property
2039
2204
  def ListenerId(self):
2040
- r"""负载均衡监听器ID
2205
+ r"""<p>负载均衡监听器ID</p>
2041
2206
  :rtype: str
2042
2207
  """
2043
2208
  return self._ListenerId
@@ -2048,7 +2213,7 @@ class ClassicalListener(AbstractModel):
2048
2213
 
2049
2214
  @property
2050
2215
  def ListenerPort(self):
2051
- r"""负载均衡监听器端口
2216
+ r"""<p>负载均衡监听器端口</p>
2052
2217
  :rtype: int
2053
2218
  """
2054
2219
  return self._ListenerPort
@@ -2059,7 +2224,7 @@ class ClassicalListener(AbstractModel):
2059
2224
 
2060
2225
  @property
2061
2226
  def InstancePort(self):
2062
- r"""监听器后端转发端口
2227
+ r"""<p>监听器后端转发端口</p>
2063
2228
  :rtype: int
2064
2229
  """
2065
2230
  return self._InstancePort
@@ -2070,7 +2235,7 @@ class ClassicalListener(AbstractModel):
2070
2235
 
2071
2236
  @property
2072
2237
  def ListenerName(self):
2073
- r"""监听器名称
2238
+ r"""<p>监听器名称</p>
2074
2239
  :rtype: str
2075
2240
  """
2076
2241
  return self._ListenerName
@@ -2081,7 +2246,7 @@ class ClassicalListener(AbstractModel):
2081
2246
 
2082
2247
  @property
2083
2248
  def Protocol(self):
2084
- r"""监听器协议类型
2249
+ r"""<p>监听器协议类型</p>
2085
2250
  :rtype: str
2086
2251
  """
2087
2252
  return self._Protocol
@@ -2092,7 +2257,7 @@ class ClassicalListener(AbstractModel):
2092
2257
 
2093
2258
  @property
2094
2259
  def SessionExpire(self):
2095
- r"""会话保持时间
2260
+ r"""<p>会话保持时间</p>
2096
2261
  :rtype: int
2097
2262
  """
2098
2263
  return self._SessionExpire
@@ -2103,7 +2268,7 @@ class ClassicalListener(AbstractModel):
2103
2268
 
2104
2269
  @property
2105
2270
  def HealthSwitch(self):
2106
- r"""是否开启了健康检查:1(开启)、0(关闭)
2271
+ r"""<p>是否开启了健康检查:1(开启)、0(关闭)</p>
2107
2272
  :rtype: int
2108
2273
  """
2109
2274
  return self._HealthSwitch
@@ -2114,7 +2279,7 @@ class ClassicalListener(AbstractModel):
2114
2279
 
2115
2280
  @property
2116
2281
  def TimeOut(self):
2117
- r"""响应超时时间
2282
+ r"""<p>响应超时时间</p><p>单位:秒</p>
2118
2283
  :rtype: int
2119
2284
  """
2120
2285
  return self._TimeOut
@@ -2125,7 +2290,7 @@ class ClassicalListener(AbstractModel):
2125
2290
 
2126
2291
  @property
2127
2292
  def IntervalTime(self):
2128
- r"""检查间隔
2293
+ r"""<p>检查间隔</p><p>单位:秒</p>
2129
2294
  :rtype: int
2130
2295
  """
2131
2296
  return self._IntervalTime
@@ -2136,7 +2301,7 @@ class ClassicalListener(AbstractModel):
2136
2301
 
2137
2302
  @property
2138
2303
  def HealthNum(self):
2139
- r"""健康阈值
2304
+ r"""<p>健康阈值</p>
2140
2305
  :rtype: int
2141
2306
  """
2142
2307
  return self._HealthNum
@@ -2147,7 +2312,7 @@ class ClassicalListener(AbstractModel):
2147
2312
 
2148
2313
  @property
2149
2314
  def UnhealthNum(self):
2150
- r"""不健康阈值
2315
+ r"""<p>不健康阈值</p>
2151
2316
  :rtype: int
2152
2317
  """
2153
2318
  return self._UnhealthNum
@@ -2158,7 +2323,7 @@ class ClassicalListener(AbstractModel):
2158
2323
 
2159
2324
  @property
2160
2325
  def HttpHash(self):
2161
- r"""传统型公网负载均衡 监听器的请求均衡方法。空字符串或wrr 表示按权重轮询,ip_hash 表示根据访问的源 IP 进行一致性哈希方式来分发,least_conn表示按最小连接数。
2326
+ r"""<p>传统型公网负载均衡 监听器的请求均衡方法。空字符串或wrr 表示按权重轮询,ip_hash 表示根据访问的源 IP 进行一致性哈希方式来分发,least_conn表示按最小连接数。</p>
2162
2327
  :rtype: str
2163
2328
  """
2164
2329
  return self._HttpHash
@@ -2169,7 +2334,7 @@ class ClassicalListener(AbstractModel):
2169
2334
 
2170
2335
  @property
2171
2336
  def HttpCode(self):
2172
- r"""传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查返回码。具体可参考创建监听器中对该字段的解释
2337
+ r"""<p>传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查返回码。具体可参考创建监听器中对该字段的解释</p>
2173
2338
  :rtype: int
2174
2339
  """
2175
2340
  return self._HttpCode
@@ -2180,7 +2345,7 @@ class ClassicalListener(AbstractModel):
2180
2345
 
2181
2346
  @property
2182
2347
  def HttpCheckPath(self):
2183
- r"""传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查路径
2348
+ r"""<p>传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查路径</p>
2184
2349
  :rtype: str
2185
2350
  """
2186
2351
  return self._HttpCheckPath
@@ -2191,7 +2356,7 @@ class ClassicalListener(AbstractModel):
2191
2356
 
2192
2357
  @property
2193
2358
  def SSLMode(self):
2194
- r"""传统型公网负载均衡的 HTTPS 监听器的认证方式
2359
+ r"""<p>传统型公网负载均衡的 HTTPS 监听器的认证方式</p>
2195
2360
  :rtype: str
2196
2361
  """
2197
2362
  return self._SSLMode
@@ -2202,7 +2367,7 @@ class ClassicalListener(AbstractModel):
2202
2367
 
2203
2368
  @property
2204
2369
  def CertId(self):
2205
- r"""传统型公网负载均衡的 HTTPS 监听器的服务端证书 ID
2370
+ r"""<p>传统型公网负载均衡的 HTTPS 监听器的服务端证书 ID</p>
2206
2371
  :rtype: str
2207
2372
  """
2208
2373
  return self._CertId
@@ -2213,7 +2378,7 @@ class ClassicalListener(AbstractModel):
2213
2378
 
2214
2379
  @property
2215
2380
  def CertCaId(self):
2216
- r"""传统型公网负载均衡的 HTTPS 监听器的客户端证书 ID
2381
+ r"""<p>传统型公网负载均衡的 HTTPS 监听器的客户端证书 ID</p>
2217
2382
  :rtype: str
2218
2383
  """
2219
2384
  return self._CertCaId
@@ -2224,7 +2389,7 @@ class ClassicalListener(AbstractModel):
2224
2389
 
2225
2390
  @property
2226
2391
  def Status(self):
2227
- r"""监听器的状态,0 表示创建中,1 表示运行中
2392
+ r"""<p>监听器的状态,0 表示创建中,1 表示运行中</p>
2228
2393
  :rtype: int
2229
2394
  """
2230
2395
  return self._Status
@@ -10962,6 +11127,90 @@ class DescribeTaskStatusResponse(AbstractModel):
10962
11127
  self._RequestId = params.get("RequestId")
10963
11128
 
10964
11129
 
11130
+ class DisassociateCustomizedConfigRequest(AbstractModel):
11131
+ r"""DisassociateCustomizedConfig请求参数结构体
11132
+
11133
+ """
11134
+
11135
+ def __init__(self):
11136
+ r"""
11137
+ :param _UconfigId: 配置ID
11138
+ :type UconfigId: str
11139
+ :param _BindList: 解绑的列表
11140
+ :type BindList: list of BindItem
11141
+ """
11142
+ self._UconfigId = None
11143
+ self._BindList = None
11144
+
11145
+ @property
11146
+ def UconfigId(self):
11147
+ r"""配置ID
11148
+ :rtype: str
11149
+ """
11150
+ return self._UconfigId
11151
+
11152
+ @UconfigId.setter
11153
+ def UconfigId(self, UconfigId):
11154
+ self._UconfigId = UconfigId
11155
+
11156
+ @property
11157
+ def BindList(self):
11158
+ r"""解绑的列表
11159
+ :rtype: list of BindItem
11160
+ """
11161
+ return self._BindList
11162
+
11163
+ @BindList.setter
11164
+ def BindList(self, BindList):
11165
+ self._BindList = BindList
11166
+
11167
+
11168
+ def _deserialize(self, params):
11169
+ self._UconfigId = params.get("UconfigId")
11170
+ if params.get("BindList") is not None:
11171
+ self._BindList = []
11172
+ for item in params.get("BindList"):
11173
+ obj = BindItem()
11174
+ obj._deserialize(item)
11175
+ self._BindList.append(obj)
11176
+ memeber_set = set(params.keys())
11177
+ for name, value in vars(self).items():
11178
+ property_name = name[1:]
11179
+ if property_name in memeber_set:
11180
+ memeber_set.remove(property_name)
11181
+ if len(memeber_set) > 0:
11182
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11183
+
11184
+
11185
+
11186
+ class DisassociateCustomizedConfigResponse(AbstractModel):
11187
+ r"""DisassociateCustomizedConfig返回参数结构体
11188
+
11189
+ """
11190
+
11191
+ def __init__(self):
11192
+ r"""
11193
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11194
+ :type RequestId: str
11195
+ """
11196
+ self._RequestId = None
11197
+
11198
+ @property
11199
+ def RequestId(self):
11200
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11201
+ :rtype: str
11202
+ """
11203
+ return self._RequestId
11204
+
11205
+ @RequestId.setter
11206
+ def RequestId(self, RequestId):
11207
+ self._RequestId = RequestId
11208
+
11209
+
11210
+ def _deserialize(self, params):
11211
+ self._RequestId = params.get("RequestId")
11212
+
11213
+
10965
11214
  class DisassociateTargetGroupsRequest(AbstractModel):
10966
11215
  r"""DisassociateTargetGroups请求参数结构体
10967
11216
 
@@ -12897,67 +13146,67 @@ class Listener(AbstractModel):
12897
13146
 
12898
13147
  def __init__(self):
12899
13148
  r"""
12900
- :param _ListenerId: 负载均衡监听器 ID
13149
+ :param _ListenerId: <p>负载均衡监听器 ID</p>
12901
13150
  :type ListenerId: str
12902
- :param _Protocol: 监听器协议,可选值:TCP、UDP、HTTP、HTTPS、TCP_SSL、QUIC
13151
+ :param _Protocol: <p>监听器协议,可选值:TCP、UDP、HTTP、HTTPS、TCP_SSL、QUIC</p>
12903
13152
  :type Protocol: str
12904
- :param _Port: 监听器端口,端口范围:1-65535
13153
+ :param _Port: <p>监听器端口,端口范围:1-65535</p>
12905
13154
  :type Port: int
12906
- :param _Certificate: 监听器绑定的证书信息
13155
+ :param _Certificate: <p>监听器绑定的证书信息</p>
12907
13156
  注意:此字段可能返回 null,表示取不到有效值。
12908
13157
  :type Certificate: :class:`tencentcloud.clb.v20180317.models.CertificateOutput`
12909
- :param _HealthCheck: 监听器的健康检查信息
13158
+ :param _HealthCheck: <p>监听器的健康检查信息</p>
12910
13159
  注意:此字段可能返回 null,表示取不到有效值。
12911
13160
  :type HealthCheck: :class:`tencentcloud.clb.v20180317.models.HealthCheck`
12912
- :param _Scheduler: 请求的调度方式。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash
13161
+ :param _Scheduler: <p>请求的调度方式。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。</p>
12913
13162
  注意:此字段可能返回 null,表示取不到有效值。
12914
13163
  :type Scheduler: str
12915
- :param _SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,默认不开启。此参数仅适用于TCP/UDP监听器。
13164
+ :param _SessionExpireTime: <p>会话保持时间,单位:秒。可选值:30~3600,默认 0,默认不开启。此参数仅适用于TCP/UDP监听器。</p><p>单位:秒</p>
12916
13165
  注意:此字段可能返回 null,表示取不到有效值。
12917
13166
  :type SessionExpireTime: int
12918
- :param _SniSwitch: 是否开启SNI特性,1:表示开启,0:表示不开启(本参数仅对于HTTPS监听器有意义)
13167
+ :param _SniSwitch: <p>是否开启SNI特性,1:表示开启,0:表示不开启(本参数仅对于HTTPS监听器有意义)</p>
12919
13168
  :type SniSwitch: int
12920
- :param _Rules: 监听器下的全部转发规则(本参数仅对于HTTP/HTTPS监听器有意义)
13169
+ :param _Rules: <p>监听器下的全部转发规则(本参数仅对于HTTP/HTTPS监听器有意义)</p>
12921
13170
  注意:此字段可能返回 null,表示取不到有效值。
12922
13171
  :type Rules: list of RuleOutput
12923
- :param _ListenerName: 监听器的名称
13172
+ :param _ListenerName: <p>监听器的名称</p>
12924
13173
  :type ListenerName: str
12925
- :param _CreateTime: 监听器的创建时间。
13174
+ :param _CreateTime: <p>监听器的创建时间。</p>
12926
13175
  :type CreateTime: str
12927
- :param _EndPort: 端口段结束端口,端口范围:2-65535
13176
+ :param _EndPort: <p>端口段结束端口,端口范围:2-65535</p>
12928
13177
  :type EndPort: int
12929
- :param _TargetType: 后端服务器类型,可选值:NODE、POLARIS、TARGETGROUP、TARGETGROUP-V2
13178
+ :param _TargetType: <p>后端服务器类型,可选值:NODE、POLARIS、TARGETGROUP、TARGETGROUP-V2</p>
12930
13179
  注意:此字段可能返回 null,表示取不到有效值。
12931
13180
  :type TargetType: str
12932
- :param _TargetGroup: 绑定的目标组基本信息;当监听器绑定目标组时,会返回该字段
13181
+ :param _TargetGroup: <p>绑定的目标组基本信息;当监听器绑定目标组时,会返回该字段</p>
12933
13182
  注意:此字段可能返回 null,表示取不到有效值。
12934
13183
  :type TargetGroup: :class:`tencentcloud.clb.v20180317.models.BasicTargetGroupInfo`
12935
- :param _SessionType: 会话保持类型。NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。
13184
+ :param _SessionType: <p>会话保持类型。NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。</p>
12936
13185
  :type SessionType: str
12937
- :param _KeepaliveEnable: 是否开启长连接,1开启,0关闭,(本参数仅对于HTTP/HTTPS监听器有意义)
13186
+ :param _KeepaliveEnable: <p>是否开启长连接,1开启,0关闭,(本参数仅对于HTTP/HTTPS监听器有意义)</p>
12938
13187
  注意:此字段可能返回 null,表示取不到有效值。
12939
13188
  :type KeepaliveEnable: int
12940
- :param _Toa: 仅支持Nat64 CLB TCP监听器
13189
+ :param _Toa: <p>仅支持Nat64 CLB TCP监听器</p>
12941
13190
  :type Toa: bool
12942
- :param _DeregisterTargetRst: 重新调度功能,解绑后端服务开关,打开此开关,当解绑后端服务时触发重新调度。仅TCP/UDP监听器支持。
13191
+ :param _DeregisterTargetRst: <p>重新调度功能,解绑后端服务开关,打开此开关,当解绑后端服务时触发重新调度。仅TCP/UDP监听器支持。</p>
12943
13192
  :type DeregisterTargetRst: bool
12944
- :param _AttrFlags: 监听器的属性
13193
+ :param _AttrFlags: <p>监听器的属性</p>
12945
13194
  :type AttrFlags: list of str
12946
- :param _TargetGroupList: 绑定的目标组列表
13195
+ :param _TargetGroupList: <p>绑定的目标组列表</p>
12947
13196
  注意:此字段可能返回 null,表示取不到有效值。
12948
13197
  :type TargetGroupList: list of BasicTargetGroupInfo
12949
- :param _MaxConn: 监听器最大连接数,-1表示监听器维度不限速。
13198
+ :param _MaxConn: <p>监听器最大连接数,-1表示监听器维度不限速。</p>
12950
13199
  :type MaxConn: int
12951
- :param _MaxCps: 监听器最大新增连接数,-1表示监听器维度不限速。
13200
+ :param _MaxCps: <p>监听器最大新增连接数,-1表示监听器维度不限速。</p>
12952
13201
  :type MaxCps: int
12953
- :param _IdleConnectTimeout: 空闲连接超时时间,仅支持TCP监听器。默认值:900;共享型实例和独占型实例取值范围:300~900,性能容量型实例取值范围:300~1980
13202
+ :param _IdleConnectTimeout: <p>空闲连接超时时间,仅支持TCP监听器。默认值:900;共享型实例和独占型实例取值范围:300~900,性能容量型实例取值范围:300~1980。</p>
12954
13203
  注意:此字段可能返回 null,表示取不到有效值。
12955
13204
  :type IdleConnectTimeout: int
12956
- :param _RescheduleInterval: 重新调度触发持续时间,取值0~3600s。仅TCP/UDP监听器支持。触发重新调度后,长连接将会在设置的调度时间内断开并完成重新分配。
13205
+ :param _RescheduleInterval: <p>重新调度触发持续时间,取值0~3600s。仅TCP/UDP监听器支持。触发重新调度后,长连接将会在设置的调度时间内断开并完成重新分配。</p><p>单位:秒</p>
12957
13206
  :type RescheduleInterval: int
12958
- :param _DataCompressMode: 数据压缩模式
13207
+ :param _DataCompressMode: <p>数据压缩模式</p>
12959
13208
  :type DataCompressMode: str
12960
- :param _RescheduleStartTime: 重新调度启动时间,配置了重新调度启动时间后,会在启动时间到达时触发重新调度。
13209
+ :param _RescheduleStartTime: <p>重新调度启动时间,配置了重新调度启动时间后,会在启动时间到达时触发重新调度。</p>
12961
13210
  :type RescheduleStartTime: int
12962
13211
  """
12963
13212
  self._ListenerId = None
@@ -12989,7 +13238,7 @@ class Listener(AbstractModel):
12989
13238
 
12990
13239
  @property
12991
13240
  def ListenerId(self):
12992
- r"""负载均衡监听器 ID
13241
+ r"""<p>负载均衡监听器 ID</p>
12993
13242
  :rtype: str
12994
13243
  """
12995
13244
  return self._ListenerId
@@ -13000,7 +13249,7 @@ class Listener(AbstractModel):
13000
13249
 
13001
13250
  @property
13002
13251
  def Protocol(self):
13003
- r"""监听器协议,可选值:TCP、UDP、HTTP、HTTPS、TCP_SSL、QUIC
13252
+ r"""<p>监听器协议,可选值:TCP、UDP、HTTP、HTTPS、TCP_SSL、QUIC</p>
13004
13253
  :rtype: str
13005
13254
  """
13006
13255
  return self._Protocol
@@ -13011,7 +13260,7 @@ class Listener(AbstractModel):
13011
13260
 
13012
13261
  @property
13013
13262
  def Port(self):
13014
- r"""监听器端口,端口范围:1-65535
13263
+ r"""<p>监听器端口,端口范围:1-65535</p>
13015
13264
  :rtype: int
13016
13265
  """
13017
13266
  return self._Port
@@ -13022,7 +13271,7 @@ class Listener(AbstractModel):
13022
13271
 
13023
13272
  @property
13024
13273
  def Certificate(self):
13025
- r"""监听器绑定的证书信息
13274
+ r"""<p>监听器绑定的证书信息</p>
13026
13275
  注意:此字段可能返回 null,表示取不到有效值。
13027
13276
  :rtype: :class:`tencentcloud.clb.v20180317.models.CertificateOutput`
13028
13277
  """
@@ -13034,7 +13283,7 @@ class Listener(AbstractModel):
13034
13283
 
13035
13284
  @property
13036
13285
  def HealthCheck(self):
13037
- r"""监听器的健康检查信息
13286
+ r"""<p>监听器的健康检查信息</p>
13038
13287
  注意:此字段可能返回 null,表示取不到有效值。
13039
13288
  :rtype: :class:`tencentcloud.clb.v20180317.models.HealthCheck`
13040
13289
  """
@@ -13046,7 +13295,7 @@ class Listener(AbstractModel):
13046
13295
 
13047
13296
  @property
13048
13297
  def Scheduler(self):
13049
- r"""请求的调度方式。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash
13298
+ r"""<p>请求的调度方式。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。</p>
13050
13299
  注意:此字段可能返回 null,表示取不到有效值。
13051
13300
  :rtype: str
13052
13301
  """
@@ -13058,7 +13307,7 @@ class Listener(AbstractModel):
13058
13307
 
13059
13308
  @property
13060
13309
  def SessionExpireTime(self):
13061
- r"""会话保持时间,单位:秒。可选值:30~3600,默认 0,默认不开启。此参数仅适用于TCP/UDP监听器。
13310
+ r"""<p>会话保持时间,单位:秒。可选值:30~3600,默认 0,默认不开启。此参数仅适用于TCP/UDP监听器。</p><p>单位:秒</p>
13062
13311
  注意:此字段可能返回 null,表示取不到有效值。
13063
13312
  :rtype: int
13064
13313
  """
@@ -13070,7 +13319,7 @@ class Listener(AbstractModel):
13070
13319
 
13071
13320
  @property
13072
13321
  def SniSwitch(self):
13073
- r"""是否开启SNI特性,1:表示开启,0:表示不开启(本参数仅对于HTTPS监听器有意义)
13322
+ r"""<p>是否开启SNI特性,1:表示开启,0:表示不开启(本参数仅对于HTTPS监听器有意义)</p>
13074
13323
  :rtype: int
13075
13324
  """
13076
13325
  return self._SniSwitch
@@ -13081,7 +13330,7 @@ class Listener(AbstractModel):
13081
13330
 
13082
13331
  @property
13083
13332
  def Rules(self):
13084
- r"""监听器下的全部转发规则(本参数仅对于HTTP/HTTPS监听器有意义)
13333
+ r"""<p>监听器下的全部转发规则(本参数仅对于HTTP/HTTPS监听器有意义)</p>
13085
13334
  注意:此字段可能返回 null,表示取不到有效值。
13086
13335
  :rtype: list of RuleOutput
13087
13336
  """
@@ -13093,7 +13342,7 @@ class Listener(AbstractModel):
13093
13342
 
13094
13343
  @property
13095
13344
  def ListenerName(self):
13096
- r"""监听器的名称
13345
+ r"""<p>监听器的名称</p>
13097
13346
  :rtype: str
13098
13347
  """
13099
13348
  return self._ListenerName
@@ -13104,7 +13353,7 @@ class Listener(AbstractModel):
13104
13353
 
13105
13354
  @property
13106
13355
  def CreateTime(self):
13107
- r"""监听器的创建时间。
13356
+ r"""<p>监听器的创建时间。</p>
13108
13357
  :rtype: str
13109
13358
  """
13110
13359
  return self._CreateTime
@@ -13115,7 +13364,7 @@ class Listener(AbstractModel):
13115
13364
 
13116
13365
  @property
13117
13366
  def EndPort(self):
13118
- r"""端口段结束端口,端口范围:2-65535
13367
+ r"""<p>端口段结束端口,端口范围:2-65535</p>
13119
13368
  :rtype: int
13120
13369
  """
13121
13370
  return self._EndPort
@@ -13126,7 +13375,7 @@ class Listener(AbstractModel):
13126
13375
 
13127
13376
  @property
13128
13377
  def TargetType(self):
13129
- r"""后端服务器类型,可选值:NODE、POLARIS、TARGETGROUP、TARGETGROUP-V2
13378
+ r"""<p>后端服务器类型,可选值:NODE、POLARIS、TARGETGROUP、TARGETGROUP-V2</p>
13130
13379
  注意:此字段可能返回 null,表示取不到有效值。
13131
13380
  :rtype: str
13132
13381
  """
@@ -13138,7 +13387,7 @@ class Listener(AbstractModel):
13138
13387
 
13139
13388
  @property
13140
13389
  def TargetGroup(self):
13141
- r"""绑定的目标组基本信息;当监听器绑定目标组时,会返回该字段
13390
+ r"""<p>绑定的目标组基本信息;当监听器绑定目标组时,会返回该字段</p>
13142
13391
  注意:此字段可能返回 null,表示取不到有效值。
13143
13392
  :rtype: :class:`tencentcloud.clb.v20180317.models.BasicTargetGroupInfo`
13144
13393
  """
@@ -13150,7 +13399,7 @@ class Listener(AbstractModel):
13150
13399
 
13151
13400
  @property
13152
13401
  def SessionType(self):
13153
- r"""会话保持类型。NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。
13402
+ r"""<p>会话保持类型。NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。</p>
13154
13403
  :rtype: str
13155
13404
  """
13156
13405
  return self._SessionType
@@ -13161,7 +13410,7 @@ class Listener(AbstractModel):
13161
13410
 
13162
13411
  @property
13163
13412
  def KeepaliveEnable(self):
13164
- r"""是否开启长连接,1开启,0关闭,(本参数仅对于HTTP/HTTPS监听器有意义)
13413
+ r"""<p>是否开启长连接,1开启,0关闭,(本参数仅对于HTTP/HTTPS监听器有意义)</p>
13165
13414
  注意:此字段可能返回 null,表示取不到有效值。
13166
13415
  :rtype: int
13167
13416
  """
@@ -13173,7 +13422,7 @@ class Listener(AbstractModel):
13173
13422
 
13174
13423
  @property
13175
13424
  def Toa(self):
13176
- r"""仅支持Nat64 CLB TCP监听器
13425
+ r"""<p>仅支持Nat64 CLB TCP监听器</p>
13177
13426
  :rtype: bool
13178
13427
  """
13179
13428
  return self._Toa
@@ -13184,7 +13433,7 @@ class Listener(AbstractModel):
13184
13433
 
13185
13434
  @property
13186
13435
  def DeregisterTargetRst(self):
13187
- r"""重新调度功能,解绑后端服务开关,打开此开关,当解绑后端服务时触发重新调度。仅TCP/UDP监听器支持。
13436
+ r"""<p>重新调度功能,解绑后端服务开关,打开此开关,当解绑后端服务时触发重新调度。仅TCP/UDP监听器支持。</p>
13188
13437
  :rtype: bool
13189
13438
  """
13190
13439
  return self._DeregisterTargetRst
@@ -13195,7 +13444,7 @@ class Listener(AbstractModel):
13195
13444
 
13196
13445
  @property
13197
13446
  def AttrFlags(self):
13198
- r"""监听器的属性
13447
+ r"""<p>监听器的属性</p>
13199
13448
  :rtype: list of str
13200
13449
  """
13201
13450
  return self._AttrFlags
@@ -13206,7 +13455,7 @@ class Listener(AbstractModel):
13206
13455
 
13207
13456
  @property
13208
13457
  def TargetGroupList(self):
13209
- r"""绑定的目标组列表
13458
+ r"""<p>绑定的目标组列表</p>
13210
13459
  注意:此字段可能返回 null,表示取不到有效值。
13211
13460
  :rtype: list of BasicTargetGroupInfo
13212
13461
  """
@@ -13218,7 +13467,7 @@ class Listener(AbstractModel):
13218
13467
 
13219
13468
  @property
13220
13469
  def MaxConn(self):
13221
- r"""监听器最大连接数,-1表示监听器维度不限速。
13470
+ r"""<p>监听器最大连接数,-1表示监听器维度不限速。</p>
13222
13471
  :rtype: int
13223
13472
  """
13224
13473
  return self._MaxConn
@@ -13229,7 +13478,7 @@ class Listener(AbstractModel):
13229
13478
 
13230
13479
  @property
13231
13480
  def MaxCps(self):
13232
- r"""监听器最大新增连接数,-1表示监听器维度不限速。
13481
+ r"""<p>监听器最大新增连接数,-1表示监听器维度不限速。</p>
13233
13482
  :rtype: int
13234
13483
  """
13235
13484
  return self._MaxCps
@@ -13240,7 +13489,7 @@ class Listener(AbstractModel):
13240
13489
 
13241
13490
  @property
13242
13491
  def IdleConnectTimeout(self):
13243
- r"""空闲连接超时时间,仅支持TCP监听器。默认值:900;共享型实例和独占型实例取值范围:300~900,性能容量型实例取值范围:300~1980
13492
+ r"""<p>空闲连接超时时间,仅支持TCP监听器。默认值:900;共享型实例和独占型实例取值范围:300~900,性能容量型实例取值范围:300~1980。</p>
13244
13493
  注意:此字段可能返回 null,表示取不到有效值。
13245
13494
  :rtype: int
13246
13495
  """
@@ -13252,7 +13501,7 @@ class Listener(AbstractModel):
13252
13501
 
13253
13502
  @property
13254
13503
  def RescheduleInterval(self):
13255
- r"""重新调度触发持续时间,取值0~3600s。仅TCP/UDP监听器支持。触发重新调度后,长连接将会在设置的调度时间内断开并完成重新分配。
13504
+ r"""<p>重新调度触发持续时间,取值0~3600s。仅TCP/UDP监听器支持。触发重新调度后,长连接将会在设置的调度时间内断开并完成重新分配。</p><p>单位:秒</p>
13256
13505
  :rtype: int
13257
13506
  """
13258
13507
  return self._RescheduleInterval
@@ -13263,7 +13512,7 @@ class Listener(AbstractModel):
13263
13512
 
13264
13513
  @property
13265
13514
  def DataCompressMode(self):
13266
- r"""数据压缩模式
13515
+ r"""<p>数据压缩模式</p>
13267
13516
  :rtype: str
13268
13517
  """
13269
13518
  return self._DataCompressMode
@@ -13274,7 +13523,7 @@ class Listener(AbstractModel):
13274
13523
 
13275
13524
  @property
13276
13525
  def RescheduleStartTime(self):
13277
- r"""重新调度启动时间,配置了重新调度启动时间后,会在启动时间到达时触发重新调度。
13526
+ r"""<p>重新调度启动时间,配置了重新调度启动时间后,会在启动时间到达时触发重新调度。</p>
13278
13527
  :rtype: int
13279
13528
  """
13280
13529
  return self._RescheduleStartTime
@@ -16555,7 +16804,7 @@ class ModifyListenerRequest(AbstractModel):
16555
16804
  :type ProxyProtocol: bool
16556
16805
  :param _SnatEnable: <p>是否开启SNAT(源IP替换),True(开启)、False(关闭)。默认为关闭。注意:SnatEnable开启时会替换客户端源IP,此时<code>透传客户端源IP</code>选项关闭,反之亦然。</p>
16557
16806
  :type SnatEnable: bool
16558
- :param _DataCompressMode: <p>数据压缩模式</p>
16807
+ :param _DataCompressMode: <p>数据压缩模式</p><p>枚举值:</p><ul><li>transparent: 透明模式(默认值)</li><li>compatibility: 兼容模式(开启 gzip 兼容压缩配置)</li></ul>
16559
16808
  :type DataCompressMode: str
16560
16809
  :param _RescheduleTargetZeroWeight: <p>重新调度功能,权重调为0开关,打开此开关,后端服务器权重调为0时触发重新调度。仅TCP/UDP监听器支持。</p>
16561
16810
  :type RescheduleTargetZeroWeight: bool
@@ -16793,7 +17042,7 @@ class ModifyListenerRequest(AbstractModel):
16793
17042
 
16794
17043
  @property
16795
17044
  def DataCompressMode(self):
16796
- r"""<p>数据压缩模式</p>
17045
+ r"""<p>数据压缩模式</p><p>枚举值:</p><ul><li>transparent: 透明模式(默认值)</li><li>compatibility: 兼容模式(开启 gzip 兼容压缩配置)</li></ul>
16797
17046
  :rtype: str
16798
17047
  """
16799
17048
  return self._DataCompressMode
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.1.44
3
+ Version: 3.1.51
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.44
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.51
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.51
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.44