tencentcloud-sdk-python-clb 3.1.49__tar.gz → 3.1.59__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.49 → tencentcloud_sdk_python_clb-3.1.59}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/setup.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/tencentcloud/clb/v20180317/models.py +92 -92
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_clb-3.1.59/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_clb-3.1.49/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/README.rst +0 -0
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/setup.cfg +0 -0
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/tencentcloud/clb/v20180317/clb_client.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.49 → tencentcloud_sdk_python_clb-3.1.59}/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.59
|
|
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.59
|
|
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.59,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Clb SDK for Python',
|
|
@@ -2144,41 +2144,41 @@ class ClassicalListener(AbstractModel):
|
|
|
2144
2144
|
|
|
2145
2145
|
def __init__(self):
|
|
2146
2146
|
r"""
|
|
2147
|
-
:param _ListenerId:
|
|
2147
|
+
:param _ListenerId: <p>负载均衡监听器ID</p>
|
|
2148
2148
|
:type ListenerId: str
|
|
2149
|
-
:param _ListenerPort:
|
|
2149
|
+
:param _ListenerPort: <p>负载均衡监听器端口</p>
|
|
2150
2150
|
:type ListenerPort: int
|
|
2151
|
-
:param _InstancePort:
|
|
2151
|
+
:param _InstancePort: <p>监听器后端转发端口</p>
|
|
2152
2152
|
:type InstancePort: int
|
|
2153
|
-
:param _ListenerName:
|
|
2153
|
+
:param _ListenerName: <p>监听器名称</p>
|
|
2154
2154
|
:type ListenerName: str
|
|
2155
|
-
:param _Protocol:
|
|
2155
|
+
:param _Protocol: <p>监听器协议类型</p>
|
|
2156
2156
|
:type Protocol: str
|
|
2157
|
-
:param _SessionExpire:
|
|
2157
|
+
:param _SessionExpire: <p>会话保持时间</p>
|
|
2158
2158
|
:type SessionExpire: int
|
|
2159
|
-
:param _HealthSwitch:
|
|
2159
|
+
:param _HealthSwitch: <p>是否开启了健康检查:1(开启)、0(关闭)</p>
|
|
2160
2160
|
:type HealthSwitch: int
|
|
2161
|
-
:param _TimeOut:
|
|
2161
|
+
:param _TimeOut: <p>响应超时时间</p><p>单位:秒</p>
|
|
2162
2162
|
:type TimeOut: int
|
|
2163
|
-
:param _IntervalTime:
|
|
2163
|
+
:param _IntervalTime: <p>检查间隔</p><p>单位:秒</p>
|
|
2164
2164
|
:type IntervalTime: int
|
|
2165
|
-
:param _HealthNum:
|
|
2165
|
+
:param _HealthNum: <p>健康阈值</p>
|
|
2166
2166
|
:type HealthNum: int
|
|
2167
|
-
:param _UnhealthNum:
|
|
2167
|
+
:param _UnhealthNum: <p>不健康阈值</p>
|
|
2168
2168
|
:type UnhealthNum: int
|
|
2169
|
-
:param _HttpHash:
|
|
2169
|
+
:param _HttpHash: <p>传统型公网负载均衡 监听器的请求均衡方法。空字符串或wrr 表示按权重轮询,ip_hash 表示根据访问的源 IP 进行一致性哈希方式来分发,least_conn表示按最小连接数。</p>
|
|
2170
2170
|
:type HttpHash: str
|
|
2171
|
-
:param _HttpCode:
|
|
2171
|
+
:param _HttpCode: <p>传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查返回码。具体可参考创建监听器中对该字段的解释</p>
|
|
2172
2172
|
:type HttpCode: int
|
|
2173
|
-
:param _HttpCheckPath:
|
|
2173
|
+
:param _HttpCheckPath: <p>传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查路径</p>
|
|
2174
2174
|
:type HttpCheckPath: str
|
|
2175
|
-
:param _SSLMode:
|
|
2175
|
+
:param _SSLMode: <p>传统型公网负载均衡的 HTTPS 监听器的认证方式</p>
|
|
2176
2176
|
:type SSLMode: str
|
|
2177
|
-
:param _CertId:
|
|
2177
|
+
:param _CertId: <p>传统型公网负载均衡的 HTTPS 监听器的服务端证书 ID</p>
|
|
2178
2178
|
:type CertId: str
|
|
2179
|
-
:param _CertCaId:
|
|
2179
|
+
:param _CertCaId: <p>传统型公网负载均衡的 HTTPS 监听器的客户端证书 ID</p>
|
|
2180
2180
|
:type CertCaId: str
|
|
2181
|
-
:param _Status:
|
|
2181
|
+
:param _Status: <p>监听器的状态,0 表示创建中,1 表示运行中</p>
|
|
2182
2182
|
:type Status: int
|
|
2183
2183
|
"""
|
|
2184
2184
|
self._ListenerId = None
|
|
@@ -2202,7 +2202,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2202
2202
|
|
|
2203
2203
|
@property
|
|
2204
2204
|
def ListenerId(self):
|
|
2205
|
-
r"""
|
|
2205
|
+
r"""<p>负载均衡监听器ID</p>
|
|
2206
2206
|
:rtype: str
|
|
2207
2207
|
"""
|
|
2208
2208
|
return self._ListenerId
|
|
@@ -2213,7 +2213,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2213
2213
|
|
|
2214
2214
|
@property
|
|
2215
2215
|
def ListenerPort(self):
|
|
2216
|
-
r"""
|
|
2216
|
+
r"""<p>负载均衡监听器端口</p>
|
|
2217
2217
|
:rtype: int
|
|
2218
2218
|
"""
|
|
2219
2219
|
return self._ListenerPort
|
|
@@ -2224,7 +2224,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2224
2224
|
|
|
2225
2225
|
@property
|
|
2226
2226
|
def InstancePort(self):
|
|
2227
|
-
r"""
|
|
2227
|
+
r"""<p>监听器后端转发端口</p>
|
|
2228
2228
|
:rtype: int
|
|
2229
2229
|
"""
|
|
2230
2230
|
return self._InstancePort
|
|
@@ -2235,7 +2235,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2235
2235
|
|
|
2236
2236
|
@property
|
|
2237
2237
|
def ListenerName(self):
|
|
2238
|
-
r"""
|
|
2238
|
+
r"""<p>监听器名称</p>
|
|
2239
2239
|
:rtype: str
|
|
2240
2240
|
"""
|
|
2241
2241
|
return self._ListenerName
|
|
@@ -2246,7 +2246,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2246
2246
|
|
|
2247
2247
|
@property
|
|
2248
2248
|
def Protocol(self):
|
|
2249
|
-
r"""
|
|
2249
|
+
r"""<p>监听器协议类型</p>
|
|
2250
2250
|
:rtype: str
|
|
2251
2251
|
"""
|
|
2252
2252
|
return self._Protocol
|
|
@@ -2257,7 +2257,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2257
2257
|
|
|
2258
2258
|
@property
|
|
2259
2259
|
def SessionExpire(self):
|
|
2260
|
-
r"""
|
|
2260
|
+
r"""<p>会话保持时间</p>
|
|
2261
2261
|
:rtype: int
|
|
2262
2262
|
"""
|
|
2263
2263
|
return self._SessionExpire
|
|
@@ -2268,7 +2268,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2268
2268
|
|
|
2269
2269
|
@property
|
|
2270
2270
|
def HealthSwitch(self):
|
|
2271
|
-
r"""
|
|
2271
|
+
r"""<p>是否开启了健康检查:1(开启)、0(关闭)</p>
|
|
2272
2272
|
:rtype: int
|
|
2273
2273
|
"""
|
|
2274
2274
|
return self._HealthSwitch
|
|
@@ -2279,7 +2279,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2279
2279
|
|
|
2280
2280
|
@property
|
|
2281
2281
|
def TimeOut(self):
|
|
2282
|
-
r"""
|
|
2282
|
+
r"""<p>响应超时时间</p><p>单位:秒</p>
|
|
2283
2283
|
:rtype: int
|
|
2284
2284
|
"""
|
|
2285
2285
|
return self._TimeOut
|
|
@@ -2290,7 +2290,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2290
2290
|
|
|
2291
2291
|
@property
|
|
2292
2292
|
def IntervalTime(self):
|
|
2293
|
-
r"""
|
|
2293
|
+
r"""<p>检查间隔</p><p>单位:秒</p>
|
|
2294
2294
|
:rtype: int
|
|
2295
2295
|
"""
|
|
2296
2296
|
return self._IntervalTime
|
|
@@ -2301,7 +2301,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2301
2301
|
|
|
2302
2302
|
@property
|
|
2303
2303
|
def HealthNum(self):
|
|
2304
|
-
r"""
|
|
2304
|
+
r"""<p>健康阈值</p>
|
|
2305
2305
|
:rtype: int
|
|
2306
2306
|
"""
|
|
2307
2307
|
return self._HealthNum
|
|
@@ -2312,7 +2312,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2312
2312
|
|
|
2313
2313
|
@property
|
|
2314
2314
|
def UnhealthNum(self):
|
|
2315
|
-
r"""
|
|
2315
|
+
r"""<p>不健康阈值</p>
|
|
2316
2316
|
:rtype: int
|
|
2317
2317
|
"""
|
|
2318
2318
|
return self._UnhealthNum
|
|
@@ -2323,7 +2323,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2323
2323
|
|
|
2324
2324
|
@property
|
|
2325
2325
|
def HttpHash(self):
|
|
2326
|
-
r"""
|
|
2326
|
+
r"""<p>传统型公网负载均衡 监听器的请求均衡方法。空字符串或wrr 表示按权重轮询,ip_hash 表示根据访问的源 IP 进行一致性哈希方式来分发,least_conn表示按最小连接数。</p>
|
|
2327
2327
|
:rtype: str
|
|
2328
2328
|
"""
|
|
2329
2329
|
return self._HttpHash
|
|
@@ -2334,7 +2334,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2334
2334
|
|
|
2335
2335
|
@property
|
|
2336
2336
|
def HttpCode(self):
|
|
2337
|
-
r"""
|
|
2337
|
+
r"""<p>传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查返回码。具体可参考创建监听器中对该字段的解释</p>
|
|
2338
2338
|
:rtype: int
|
|
2339
2339
|
"""
|
|
2340
2340
|
return self._HttpCode
|
|
@@ -2345,7 +2345,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2345
2345
|
|
|
2346
2346
|
@property
|
|
2347
2347
|
def HttpCheckPath(self):
|
|
2348
|
-
r"""
|
|
2348
|
+
r"""<p>传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查路径</p>
|
|
2349
2349
|
:rtype: str
|
|
2350
2350
|
"""
|
|
2351
2351
|
return self._HttpCheckPath
|
|
@@ -2356,7 +2356,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2356
2356
|
|
|
2357
2357
|
@property
|
|
2358
2358
|
def SSLMode(self):
|
|
2359
|
-
r"""
|
|
2359
|
+
r"""<p>传统型公网负载均衡的 HTTPS 监听器的认证方式</p>
|
|
2360
2360
|
:rtype: str
|
|
2361
2361
|
"""
|
|
2362
2362
|
return self._SSLMode
|
|
@@ -2367,7 +2367,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2367
2367
|
|
|
2368
2368
|
@property
|
|
2369
2369
|
def CertId(self):
|
|
2370
|
-
r"""
|
|
2370
|
+
r"""<p>传统型公网负载均衡的 HTTPS 监听器的服务端证书 ID</p>
|
|
2371
2371
|
:rtype: str
|
|
2372
2372
|
"""
|
|
2373
2373
|
return self._CertId
|
|
@@ -2378,7 +2378,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2378
2378
|
|
|
2379
2379
|
@property
|
|
2380
2380
|
def CertCaId(self):
|
|
2381
|
-
r"""
|
|
2381
|
+
r"""<p>传统型公网负载均衡的 HTTPS 监听器的客户端证书 ID</p>
|
|
2382
2382
|
:rtype: str
|
|
2383
2383
|
"""
|
|
2384
2384
|
return self._CertCaId
|
|
@@ -2389,7 +2389,7 @@ class ClassicalListener(AbstractModel):
|
|
|
2389
2389
|
|
|
2390
2390
|
@property
|
|
2391
2391
|
def Status(self):
|
|
2392
|
-
r"""
|
|
2392
|
+
r"""<p>监听器的状态,0 表示创建中,1 表示运行中</p>
|
|
2393
2393
|
:rtype: int
|
|
2394
2394
|
"""
|
|
2395
2395
|
return self._Status
|
|
@@ -5244,7 +5244,7 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
|
5244
5244
|
:type Protocol: str
|
|
5245
5245
|
:param _HealthCheck: <p>健康检查。</p>
|
|
5246
5246
|
:type HealthCheck: :class:`tencentcloud.clb.v20180317.models.TargetGroupHealthCheck`
|
|
5247
|
-
:param _ScheduleAlgorithm: <p>调度算法,仅V2新版目标组,且后端转发协议为(HTTP|HTTPS|GRPC)
|
|
5247
|
+
:param _ScheduleAlgorithm: <p>调度算法,仅V2新版目标组,且后端转发协议为(HTTP|HTTPS|GRPC)时该参数有效。可选值:</p><li>WRR:按权重轮询。</li><li>LEAST_CONN:最小连接数。</li><li>IP_HASH:按IP哈希。</li><li>默认为 WRR。</li>
|
|
5248
5248
|
:type ScheduleAlgorithm: str
|
|
5249
5249
|
:param _Tags: <p>标签。</p>
|
|
5250
5250
|
:type Tags: list of TagInfo
|
|
@@ -5356,7 +5356,7 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
|
5356
5356
|
|
|
5357
5357
|
@property
|
|
5358
5358
|
def ScheduleAlgorithm(self):
|
|
5359
|
-
r"""<p>调度算法,仅V2新版目标组,且后端转发协议为(HTTP|HTTPS|GRPC)
|
|
5359
|
+
r"""<p>调度算法,仅V2新版目标组,且后端转发协议为(HTTP|HTTPS|GRPC)时该参数有效。可选值:</p><li>WRR:按权重轮询。</li><li>LEAST_CONN:最小连接数。</li><li>IP_HASH:按IP哈希。</li><li>默认为 WRR。</li>
|
|
5360
5360
|
:rtype: str
|
|
5361
5361
|
"""
|
|
5362
5362
|
return self._ScheduleAlgorithm
|
|
@@ -13146,67 +13146,67 @@ class Listener(AbstractModel):
|
|
|
13146
13146
|
|
|
13147
13147
|
def __init__(self):
|
|
13148
13148
|
r"""
|
|
13149
|
-
:param _ListenerId:
|
|
13149
|
+
:param _ListenerId: <p>负载均衡监听器 ID</p>
|
|
13150
13150
|
:type ListenerId: str
|
|
13151
|
-
:param _Protocol:
|
|
13151
|
+
:param _Protocol: <p>监听器协议,可选值:TCP、UDP、HTTP、HTTPS、TCP_SSL、QUIC</p>
|
|
13152
13152
|
:type Protocol: str
|
|
13153
|
-
:param _Port:
|
|
13153
|
+
:param _Port: <p>监听器端口,端口范围:1-65535</p>
|
|
13154
13154
|
:type Port: int
|
|
13155
|
-
:param _Certificate:
|
|
13155
|
+
:param _Certificate: <p>监听器绑定的证书信息</p>
|
|
13156
13156
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13157
13157
|
:type Certificate: :class:`tencentcloud.clb.v20180317.models.CertificateOutput`
|
|
13158
|
-
:param _HealthCheck:
|
|
13158
|
+
:param _HealthCheck: <p>监听器的健康检查信息</p>
|
|
13159
13159
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13160
13160
|
:type HealthCheck: :class:`tencentcloud.clb.v20180317.models.HealthCheck`
|
|
13161
|
-
:param _Scheduler:
|
|
13161
|
+
:param _Scheduler: <p>请求的调度方式。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。</p>
|
|
13162
13162
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13163
13163
|
:type Scheduler: str
|
|
13164
|
-
:param _SessionExpireTime:
|
|
13164
|
+
:param _SessionExpireTime: <p>会话保持时间,单位:秒。可选值:30~3600,默认 0,默认不开启。此参数仅适用于TCP/UDP监听器。</p><p>单位:秒</p>
|
|
13165
13165
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13166
13166
|
:type SessionExpireTime: int
|
|
13167
|
-
:param _SniSwitch:
|
|
13167
|
+
:param _SniSwitch: <p>是否开启SNI特性,1:表示开启,0:表示不开启(本参数仅对于HTTPS监听器有意义)</p>
|
|
13168
13168
|
:type SniSwitch: int
|
|
13169
|
-
:param _Rules:
|
|
13169
|
+
:param _Rules: <p>监听器下的全部转发规则(本参数仅对于HTTP/HTTPS监听器有意义)</p>
|
|
13170
13170
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13171
13171
|
:type Rules: list of RuleOutput
|
|
13172
|
-
:param _ListenerName:
|
|
13172
|
+
:param _ListenerName: <p>监听器的名称</p>
|
|
13173
13173
|
:type ListenerName: str
|
|
13174
|
-
:param _CreateTime:
|
|
13174
|
+
:param _CreateTime: <p>监听器的创建时间。</p>
|
|
13175
13175
|
:type CreateTime: str
|
|
13176
|
-
:param _EndPort:
|
|
13176
|
+
:param _EndPort: <p>端口段结束端口,端口范围:2-65535</p>
|
|
13177
13177
|
:type EndPort: int
|
|
13178
|
-
:param _TargetType:
|
|
13178
|
+
:param _TargetType: <p>后端服务器类型,可选值:NODE、POLARIS、TARGETGROUP、TARGETGROUP-V2</p>
|
|
13179
13179
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13180
13180
|
:type TargetType: str
|
|
13181
|
-
:param _TargetGroup:
|
|
13181
|
+
:param _TargetGroup: <p>绑定的目标组基本信息;当监听器绑定目标组时,会返回该字段</p>
|
|
13182
13182
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13183
13183
|
:type TargetGroup: :class:`tencentcloud.clb.v20180317.models.BasicTargetGroupInfo`
|
|
13184
|
-
:param _SessionType:
|
|
13184
|
+
:param _SessionType: <p>会话保持类型。NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。</p>
|
|
13185
13185
|
:type SessionType: str
|
|
13186
|
-
:param _KeepaliveEnable:
|
|
13186
|
+
:param _KeepaliveEnable: <p>是否开启长连接,1开启,0关闭,(本参数仅对于HTTP/HTTPS监听器有意义)</p>
|
|
13187
13187
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13188
13188
|
:type KeepaliveEnable: int
|
|
13189
|
-
:param _Toa:
|
|
13189
|
+
:param _Toa: <p>仅支持Nat64 CLB TCP监听器</p>
|
|
13190
13190
|
:type Toa: bool
|
|
13191
|
-
:param _DeregisterTargetRst:
|
|
13191
|
+
:param _DeregisterTargetRst: <p>重新调度功能,解绑后端服务开关,打开此开关,当解绑后端服务时触发重新调度。仅TCP/UDP监听器支持。</p>
|
|
13192
13192
|
:type DeregisterTargetRst: bool
|
|
13193
|
-
:param _AttrFlags:
|
|
13193
|
+
:param _AttrFlags: <p>监听器的属性</p>
|
|
13194
13194
|
:type AttrFlags: list of str
|
|
13195
|
-
:param _TargetGroupList:
|
|
13195
|
+
:param _TargetGroupList: <p>绑定的目标组列表</p>
|
|
13196
13196
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13197
13197
|
:type TargetGroupList: list of BasicTargetGroupInfo
|
|
13198
|
-
:param _MaxConn:
|
|
13198
|
+
:param _MaxConn: <p>监听器最大连接数,-1表示监听器维度不限速。</p>
|
|
13199
13199
|
:type MaxConn: int
|
|
13200
|
-
:param _MaxCps:
|
|
13200
|
+
:param _MaxCps: <p>监听器最大新增连接数,-1表示监听器维度不限速。</p>
|
|
13201
13201
|
:type MaxCps: int
|
|
13202
|
-
:param _IdleConnectTimeout:
|
|
13202
|
+
:param _IdleConnectTimeout: <p>空闲连接超时时间,仅支持TCP监听器。默认值:900;共享型实例和独占型实例取值范围:300~900,性能容量型实例取值范围:300~1980。</p>
|
|
13203
13203
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13204
13204
|
:type IdleConnectTimeout: int
|
|
13205
|
-
:param _RescheduleInterval:
|
|
13205
|
+
:param _RescheduleInterval: <p>重新调度触发持续时间,取值0~3600s。仅TCP/UDP监听器支持。触发重新调度后,长连接将会在设置的调度时间内断开并完成重新分配。</p><p>单位:秒</p>
|
|
13206
13206
|
:type RescheduleInterval: int
|
|
13207
|
-
:param _DataCompressMode:
|
|
13207
|
+
:param _DataCompressMode: <p>数据压缩模式</p>
|
|
13208
13208
|
:type DataCompressMode: str
|
|
13209
|
-
:param _RescheduleStartTime:
|
|
13209
|
+
:param _RescheduleStartTime: <p>重新调度启动时间,配置了重新调度启动时间后,会在启动时间到达时触发重新调度。</p>
|
|
13210
13210
|
:type RescheduleStartTime: int
|
|
13211
13211
|
"""
|
|
13212
13212
|
self._ListenerId = None
|
|
@@ -13238,7 +13238,7 @@ class Listener(AbstractModel):
|
|
|
13238
13238
|
|
|
13239
13239
|
@property
|
|
13240
13240
|
def ListenerId(self):
|
|
13241
|
-
r"""
|
|
13241
|
+
r"""<p>负载均衡监听器 ID</p>
|
|
13242
13242
|
:rtype: str
|
|
13243
13243
|
"""
|
|
13244
13244
|
return self._ListenerId
|
|
@@ -13249,7 +13249,7 @@ class Listener(AbstractModel):
|
|
|
13249
13249
|
|
|
13250
13250
|
@property
|
|
13251
13251
|
def Protocol(self):
|
|
13252
|
-
r"""
|
|
13252
|
+
r"""<p>监听器协议,可选值:TCP、UDP、HTTP、HTTPS、TCP_SSL、QUIC</p>
|
|
13253
13253
|
:rtype: str
|
|
13254
13254
|
"""
|
|
13255
13255
|
return self._Protocol
|
|
@@ -13260,7 +13260,7 @@ class Listener(AbstractModel):
|
|
|
13260
13260
|
|
|
13261
13261
|
@property
|
|
13262
13262
|
def Port(self):
|
|
13263
|
-
r"""
|
|
13263
|
+
r"""<p>监听器端口,端口范围:1-65535</p>
|
|
13264
13264
|
:rtype: int
|
|
13265
13265
|
"""
|
|
13266
13266
|
return self._Port
|
|
@@ -13271,7 +13271,7 @@ class Listener(AbstractModel):
|
|
|
13271
13271
|
|
|
13272
13272
|
@property
|
|
13273
13273
|
def Certificate(self):
|
|
13274
|
-
r"""
|
|
13274
|
+
r"""<p>监听器绑定的证书信息</p>
|
|
13275
13275
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13276
13276
|
:rtype: :class:`tencentcloud.clb.v20180317.models.CertificateOutput`
|
|
13277
13277
|
"""
|
|
@@ -13283,7 +13283,7 @@ class Listener(AbstractModel):
|
|
|
13283
13283
|
|
|
13284
13284
|
@property
|
|
13285
13285
|
def HealthCheck(self):
|
|
13286
|
-
r"""
|
|
13286
|
+
r"""<p>监听器的健康检查信息</p>
|
|
13287
13287
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13288
13288
|
:rtype: :class:`tencentcloud.clb.v20180317.models.HealthCheck`
|
|
13289
13289
|
"""
|
|
@@ -13295,7 +13295,7 @@ class Listener(AbstractModel):
|
|
|
13295
13295
|
|
|
13296
13296
|
@property
|
|
13297
13297
|
def Scheduler(self):
|
|
13298
|
-
r"""
|
|
13298
|
+
r"""<p>请求的调度方式。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。</p>
|
|
13299
13299
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13300
13300
|
:rtype: str
|
|
13301
13301
|
"""
|
|
@@ -13307,7 +13307,7 @@ class Listener(AbstractModel):
|
|
|
13307
13307
|
|
|
13308
13308
|
@property
|
|
13309
13309
|
def SessionExpireTime(self):
|
|
13310
|
-
r"""
|
|
13310
|
+
r"""<p>会话保持时间,单位:秒。可选值:30~3600,默认 0,默认不开启。此参数仅适用于TCP/UDP监听器。</p><p>单位:秒</p>
|
|
13311
13311
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13312
13312
|
:rtype: int
|
|
13313
13313
|
"""
|
|
@@ -13319,7 +13319,7 @@ class Listener(AbstractModel):
|
|
|
13319
13319
|
|
|
13320
13320
|
@property
|
|
13321
13321
|
def SniSwitch(self):
|
|
13322
|
-
r"""
|
|
13322
|
+
r"""<p>是否开启SNI特性,1:表示开启,0:表示不开启(本参数仅对于HTTPS监听器有意义)</p>
|
|
13323
13323
|
:rtype: int
|
|
13324
13324
|
"""
|
|
13325
13325
|
return self._SniSwitch
|
|
@@ -13330,7 +13330,7 @@ class Listener(AbstractModel):
|
|
|
13330
13330
|
|
|
13331
13331
|
@property
|
|
13332
13332
|
def Rules(self):
|
|
13333
|
-
r"""
|
|
13333
|
+
r"""<p>监听器下的全部转发规则(本参数仅对于HTTP/HTTPS监听器有意义)</p>
|
|
13334
13334
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13335
13335
|
:rtype: list of RuleOutput
|
|
13336
13336
|
"""
|
|
@@ -13342,7 +13342,7 @@ class Listener(AbstractModel):
|
|
|
13342
13342
|
|
|
13343
13343
|
@property
|
|
13344
13344
|
def ListenerName(self):
|
|
13345
|
-
r"""
|
|
13345
|
+
r"""<p>监听器的名称</p>
|
|
13346
13346
|
:rtype: str
|
|
13347
13347
|
"""
|
|
13348
13348
|
return self._ListenerName
|
|
@@ -13353,7 +13353,7 @@ class Listener(AbstractModel):
|
|
|
13353
13353
|
|
|
13354
13354
|
@property
|
|
13355
13355
|
def CreateTime(self):
|
|
13356
|
-
r"""
|
|
13356
|
+
r"""<p>监听器的创建时间。</p>
|
|
13357
13357
|
:rtype: str
|
|
13358
13358
|
"""
|
|
13359
13359
|
return self._CreateTime
|
|
@@ -13364,7 +13364,7 @@ class Listener(AbstractModel):
|
|
|
13364
13364
|
|
|
13365
13365
|
@property
|
|
13366
13366
|
def EndPort(self):
|
|
13367
|
-
r"""
|
|
13367
|
+
r"""<p>端口段结束端口,端口范围:2-65535</p>
|
|
13368
13368
|
:rtype: int
|
|
13369
13369
|
"""
|
|
13370
13370
|
return self._EndPort
|
|
@@ -13375,7 +13375,7 @@ class Listener(AbstractModel):
|
|
|
13375
13375
|
|
|
13376
13376
|
@property
|
|
13377
13377
|
def TargetType(self):
|
|
13378
|
-
r"""
|
|
13378
|
+
r"""<p>后端服务器类型,可选值:NODE、POLARIS、TARGETGROUP、TARGETGROUP-V2</p>
|
|
13379
13379
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13380
13380
|
:rtype: str
|
|
13381
13381
|
"""
|
|
@@ -13387,7 +13387,7 @@ class Listener(AbstractModel):
|
|
|
13387
13387
|
|
|
13388
13388
|
@property
|
|
13389
13389
|
def TargetGroup(self):
|
|
13390
|
-
r"""
|
|
13390
|
+
r"""<p>绑定的目标组基本信息;当监听器绑定目标组时,会返回该字段</p>
|
|
13391
13391
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13392
13392
|
:rtype: :class:`tencentcloud.clb.v20180317.models.BasicTargetGroupInfo`
|
|
13393
13393
|
"""
|
|
@@ -13399,7 +13399,7 @@ class Listener(AbstractModel):
|
|
|
13399
13399
|
|
|
13400
13400
|
@property
|
|
13401
13401
|
def SessionType(self):
|
|
13402
|
-
r"""
|
|
13402
|
+
r"""<p>会话保持类型。NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。</p>
|
|
13403
13403
|
:rtype: str
|
|
13404
13404
|
"""
|
|
13405
13405
|
return self._SessionType
|
|
@@ -13410,7 +13410,7 @@ class Listener(AbstractModel):
|
|
|
13410
13410
|
|
|
13411
13411
|
@property
|
|
13412
13412
|
def KeepaliveEnable(self):
|
|
13413
|
-
r"""
|
|
13413
|
+
r"""<p>是否开启长连接,1开启,0关闭,(本参数仅对于HTTP/HTTPS监听器有意义)</p>
|
|
13414
13414
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13415
13415
|
:rtype: int
|
|
13416
13416
|
"""
|
|
@@ -13422,7 +13422,7 @@ class Listener(AbstractModel):
|
|
|
13422
13422
|
|
|
13423
13423
|
@property
|
|
13424
13424
|
def Toa(self):
|
|
13425
|
-
r"""
|
|
13425
|
+
r"""<p>仅支持Nat64 CLB TCP监听器</p>
|
|
13426
13426
|
:rtype: bool
|
|
13427
13427
|
"""
|
|
13428
13428
|
return self._Toa
|
|
@@ -13433,7 +13433,7 @@ class Listener(AbstractModel):
|
|
|
13433
13433
|
|
|
13434
13434
|
@property
|
|
13435
13435
|
def DeregisterTargetRst(self):
|
|
13436
|
-
r"""
|
|
13436
|
+
r"""<p>重新调度功能,解绑后端服务开关,打开此开关,当解绑后端服务时触发重新调度。仅TCP/UDP监听器支持。</p>
|
|
13437
13437
|
:rtype: bool
|
|
13438
13438
|
"""
|
|
13439
13439
|
return self._DeregisterTargetRst
|
|
@@ -13444,7 +13444,7 @@ class Listener(AbstractModel):
|
|
|
13444
13444
|
|
|
13445
13445
|
@property
|
|
13446
13446
|
def AttrFlags(self):
|
|
13447
|
-
r"""
|
|
13447
|
+
r"""<p>监听器的属性</p>
|
|
13448
13448
|
:rtype: list of str
|
|
13449
13449
|
"""
|
|
13450
13450
|
return self._AttrFlags
|
|
@@ -13455,7 +13455,7 @@ class Listener(AbstractModel):
|
|
|
13455
13455
|
|
|
13456
13456
|
@property
|
|
13457
13457
|
def TargetGroupList(self):
|
|
13458
|
-
r"""
|
|
13458
|
+
r"""<p>绑定的目标组列表</p>
|
|
13459
13459
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13460
13460
|
:rtype: list of BasicTargetGroupInfo
|
|
13461
13461
|
"""
|
|
@@ -13467,7 +13467,7 @@ class Listener(AbstractModel):
|
|
|
13467
13467
|
|
|
13468
13468
|
@property
|
|
13469
13469
|
def MaxConn(self):
|
|
13470
|
-
r"""
|
|
13470
|
+
r"""<p>监听器最大连接数,-1表示监听器维度不限速。</p>
|
|
13471
13471
|
:rtype: int
|
|
13472
13472
|
"""
|
|
13473
13473
|
return self._MaxConn
|
|
@@ -13478,7 +13478,7 @@ class Listener(AbstractModel):
|
|
|
13478
13478
|
|
|
13479
13479
|
@property
|
|
13480
13480
|
def MaxCps(self):
|
|
13481
|
-
r"""
|
|
13481
|
+
r"""<p>监听器最大新增连接数,-1表示监听器维度不限速。</p>
|
|
13482
13482
|
:rtype: int
|
|
13483
13483
|
"""
|
|
13484
13484
|
return self._MaxCps
|
|
@@ -13489,7 +13489,7 @@ class Listener(AbstractModel):
|
|
|
13489
13489
|
|
|
13490
13490
|
@property
|
|
13491
13491
|
def IdleConnectTimeout(self):
|
|
13492
|
-
r"""
|
|
13492
|
+
r"""<p>空闲连接超时时间,仅支持TCP监听器。默认值:900;共享型实例和独占型实例取值范围:300~900,性能容量型实例取值范围:300~1980。</p>
|
|
13493
13493
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13494
13494
|
:rtype: int
|
|
13495
13495
|
"""
|
|
@@ -13501,7 +13501,7 @@ class Listener(AbstractModel):
|
|
|
13501
13501
|
|
|
13502
13502
|
@property
|
|
13503
13503
|
def RescheduleInterval(self):
|
|
13504
|
-
r"""
|
|
13504
|
+
r"""<p>重新调度触发持续时间,取值0~3600s。仅TCP/UDP监听器支持。触发重新调度后,长连接将会在设置的调度时间内断开并完成重新分配。</p><p>单位:秒</p>
|
|
13505
13505
|
:rtype: int
|
|
13506
13506
|
"""
|
|
13507
13507
|
return self._RescheduleInterval
|
|
@@ -13512,7 +13512,7 @@ class Listener(AbstractModel):
|
|
|
13512
13512
|
|
|
13513
13513
|
@property
|
|
13514
13514
|
def DataCompressMode(self):
|
|
13515
|
-
r"""
|
|
13515
|
+
r"""<p>数据压缩模式</p>
|
|
13516
13516
|
:rtype: str
|
|
13517
13517
|
"""
|
|
13518
13518
|
return self._DataCompressMode
|
|
@@ -13523,7 +13523,7 @@ class Listener(AbstractModel):
|
|
|
13523
13523
|
|
|
13524
13524
|
@property
|
|
13525
13525
|
def RescheduleStartTime(self):
|
|
13526
|
-
r"""
|
|
13526
|
+
r"""<p>重新调度启动时间,配置了重新调度启动时间后,会在启动时间到达时触发重新调度。</p>
|
|
13527
13527
|
:rtype: int
|
|
13528
13528
|
"""
|
|
13529
13529
|
return self._RescheduleStartTime
|
|
@@ -16804,7 +16804,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
|
16804
16804
|
:type ProxyProtocol: bool
|
|
16805
16805
|
:param _SnatEnable: <p>是否开启SNAT(源IP替换),True(开启)、False(关闭)。默认为关闭。注意:SnatEnable开启时会替换客户端源IP,此时<code>透传客户端源IP</code>选项关闭,反之亦然。</p>
|
|
16806
16806
|
:type SnatEnable: bool
|
|
16807
|
-
:param _DataCompressMode: <p>数据压缩模式</p>
|
|
16807
|
+
:param _DataCompressMode: <p>数据压缩模式</p><p>枚举值:</p><ul><li>transparent: 透明模式(默认值)</li><li>compatibility: 兼容模式(开启 gzip 兼容压缩配置)</li></ul>
|
|
16808
16808
|
:type DataCompressMode: str
|
|
16809
16809
|
:param _RescheduleTargetZeroWeight: <p>重新调度功能,权重调为0开关,打开此开关,后端服务器权重调为0时触发重新调度。仅TCP/UDP监听器支持。</p>
|
|
16810
16810
|
:type RescheduleTargetZeroWeight: bool
|
|
@@ -17042,7 +17042,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
|
17042
17042
|
|
|
17043
17043
|
@property
|
|
17044
17044
|
def DataCompressMode(self):
|
|
17045
|
-
r"""<p>数据压缩模式</p>
|
|
17045
|
+
r"""<p>数据压缩模式</p><p>枚举值:</p><ul><li>transparent: 透明模式(默认值)</li><li>compatibility: 兼容模式(开启 gzip 兼容压缩配置)</li></ul>
|
|
17046
17046
|
:rtype: str
|
|
17047
17047
|
"""
|
|
17048
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.
|
|
3
|
+
Version: 3.1.59
|
|
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.59
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.59
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.49
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|