tencentcloud-sdk-python-clb 3.1.212__tar.gz → 3.1.216__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.212 → tencentcloud_sdk_python_clb-3.1.216}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/setup.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/tencentcloud/clb/v20180317/models.py +211 -0
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_clb-3.1.216/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_clb-3.1.212/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/README.rst +0 -0
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/setup.cfg +0 -0
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/tencentcloud/clb/v20180317/clb_client.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.212 → tencentcloud_sdk_python_clb-3.1.216}/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.216
|
|
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.216
|
|
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.216,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Clb SDK for Python',
|
|
@@ -5159,6 +5159,16 @@ class Coefficient(AbstractModel):
|
|
|
5159
5159
|
:type OutputVideoSecondCoefficient: float
|
|
5160
5160
|
:param _OutputImageCoefficient: <p>输出图片系数</p>
|
|
5161
5161
|
:type OutputImageCoefficient: float
|
|
5162
|
+
:param _InputAudioTokenCoefficient: <p>Realtime 音频输入积分系数,单位为积分/百万音频 Token。</p><p>取值范围:[0, 5000]</p><p>默认值:80</p><p>仅 Capability=realtime 支持,最多 6 位小数。修改时未提供此字段则保留旧值;0 表示零价,不接受 null。</p>
|
|
5163
|
+
:type InputAudioTokenCoefficient: float
|
|
5164
|
+
:param _InputCachedAudioTokenCoefficient: <p>Realtime 音频缓存命中输入积分系数,单位为积分/百万音频 Token。</p><p>取值范围:[0, 5000]</p><p>默认值:5</p><p>仅 Capability=realtime 支持,最多 6 位小数。修改时未提供此字段则保留旧值;0 表示零价,不接受 null。</p>
|
|
5165
|
+
:type InputCachedAudioTokenCoefficient: float
|
|
5166
|
+
:param _InputImageTokenCoefficient: <p>Realtime 图像输入积分系数,单位为积分/百万图像 Token。</p><p>取值范围:[0, 5000]</p><p>默认值:12.5</p><p>仅 Capability=realtime 支持,最多 6 位小数。修改时未提供此字段则保留旧值;0 表示零价,不接受 null。</p>
|
|
5167
|
+
:type InputImageTokenCoefficient: float
|
|
5168
|
+
:param _InputCachedImageTokenCoefficient: <p>Realtime 图像缓存命中输入积分系数,单位为积分/百万图像 Token。</p><p>取值范围:[0, 5000]</p><p>默认值:5</p><p>仅 Capability=realtime 支持,最多 6 位小数。修改时未提供此字段则保留旧值;0 表示零价,不接受 null。</p>
|
|
5169
|
+
:type InputCachedImageTokenCoefficient: float
|
|
5170
|
+
:param _OutputAudioTokenCoefficient: <p>Realtime 音频输出积分系数,单位为积分/百万音频 Token。</p><p>取值范围:[0, 5000]</p><p>默认值:300</p><p>仅 Capability=realtime 支持,最多 6 位小数。修改时未提供此字段则保留旧值;0 表示零价,不接受 null。</p>
|
|
5171
|
+
:type OutputAudioTokenCoefficient: float
|
|
5162
5172
|
"""
|
|
5163
5173
|
self._InputCachedCoefficient = None
|
|
5164
5174
|
self._InputCacheCreationCoefficient = None
|
|
@@ -5168,6 +5178,11 @@ class Coefficient(AbstractModel):
|
|
|
5168
5178
|
self._InputVideoSecondCoefficient = None
|
|
5169
5179
|
self._OutputVideoSecondCoefficient = None
|
|
5170
5180
|
self._OutputImageCoefficient = None
|
|
5181
|
+
self._InputAudioTokenCoefficient = None
|
|
5182
|
+
self._InputCachedAudioTokenCoefficient = None
|
|
5183
|
+
self._InputImageTokenCoefficient = None
|
|
5184
|
+
self._InputCachedImageTokenCoefficient = None
|
|
5185
|
+
self._OutputAudioTokenCoefficient = None
|
|
5171
5186
|
|
|
5172
5187
|
@property
|
|
5173
5188
|
def InputCachedCoefficient(self):
|
|
@@ -5257,6 +5272,61 @@ class Coefficient(AbstractModel):
|
|
|
5257
5272
|
def OutputImageCoefficient(self, OutputImageCoefficient):
|
|
5258
5273
|
self._OutputImageCoefficient = OutputImageCoefficient
|
|
5259
5274
|
|
|
5275
|
+
@property
|
|
5276
|
+
def InputAudioTokenCoefficient(self):
|
|
5277
|
+
r"""<p>Realtime 音频输入积分系数,单位为积分/百万音频 Token。</p><p>取值范围:[0, 5000]</p><p>默认值:80</p><p>仅 Capability=realtime 支持,最多 6 位小数。修改时未提供此字段则保留旧值;0 表示零价,不接受 null。</p>
|
|
5278
|
+
:rtype: float
|
|
5279
|
+
"""
|
|
5280
|
+
return self._InputAudioTokenCoefficient
|
|
5281
|
+
|
|
5282
|
+
@InputAudioTokenCoefficient.setter
|
|
5283
|
+
def InputAudioTokenCoefficient(self, InputAudioTokenCoefficient):
|
|
5284
|
+
self._InputAudioTokenCoefficient = InputAudioTokenCoefficient
|
|
5285
|
+
|
|
5286
|
+
@property
|
|
5287
|
+
def InputCachedAudioTokenCoefficient(self):
|
|
5288
|
+
r"""<p>Realtime 音频缓存命中输入积分系数,单位为积分/百万音频 Token。</p><p>取值范围:[0, 5000]</p><p>默认值:5</p><p>仅 Capability=realtime 支持,最多 6 位小数。修改时未提供此字段则保留旧值;0 表示零价,不接受 null。</p>
|
|
5289
|
+
:rtype: float
|
|
5290
|
+
"""
|
|
5291
|
+
return self._InputCachedAudioTokenCoefficient
|
|
5292
|
+
|
|
5293
|
+
@InputCachedAudioTokenCoefficient.setter
|
|
5294
|
+
def InputCachedAudioTokenCoefficient(self, InputCachedAudioTokenCoefficient):
|
|
5295
|
+
self._InputCachedAudioTokenCoefficient = InputCachedAudioTokenCoefficient
|
|
5296
|
+
|
|
5297
|
+
@property
|
|
5298
|
+
def InputImageTokenCoefficient(self):
|
|
5299
|
+
r"""<p>Realtime 图像输入积分系数,单位为积分/百万图像 Token。</p><p>取值范围:[0, 5000]</p><p>默认值:12.5</p><p>仅 Capability=realtime 支持,最多 6 位小数。修改时未提供此字段则保留旧值;0 表示零价,不接受 null。</p>
|
|
5300
|
+
:rtype: float
|
|
5301
|
+
"""
|
|
5302
|
+
return self._InputImageTokenCoefficient
|
|
5303
|
+
|
|
5304
|
+
@InputImageTokenCoefficient.setter
|
|
5305
|
+
def InputImageTokenCoefficient(self, InputImageTokenCoefficient):
|
|
5306
|
+
self._InputImageTokenCoefficient = InputImageTokenCoefficient
|
|
5307
|
+
|
|
5308
|
+
@property
|
|
5309
|
+
def InputCachedImageTokenCoefficient(self):
|
|
5310
|
+
r"""<p>Realtime 图像缓存命中输入积分系数,单位为积分/百万图像 Token。</p><p>取值范围:[0, 5000]</p><p>默认值:5</p><p>仅 Capability=realtime 支持,最多 6 位小数。修改时未提供此字段则保留旧值;0 表示零价,不接受 null。</p>
|
|
5311
|
+
:rtype: float
|
|
5312
|
+
"""
|
|
5313
|
+
return self._InputCachedImageTokenCoefficient
|
|
5314
|
+
|
|
5315
|
+
@InputCachedImageTokenCoefficient.setter
|
|
5316
|
+
def InputCachedImageTokenCoefficient(self, InputCachedImageTokenCoefficient):
|
|
5317
|
+
self._InputCachedImageTokenCoefficient = InputCachedImageTokenCoefficient
|
|
5318
|
+
|
|
5319
|
+
@property
|
|
5320
|
+
def OutputAudioTokenCoefficient(self):
|
|
5321
|
+
r"""<p>Realtime 音频输出积分系数,单位为积分/百万音频 Token。</p><p>取值范围:[0, 5000]</p><p>默认值:300</p><p>仅 Capability=realtime 支持,最多 6 位小数。修改时未提供此字段则保留旧值;0 表示零价,不接受 null。</p>
|
|
5322
|
+
:rtype: float
|
|
5323
|
+
"""
|
|
5324
|
+
return self._OutputAudioTokenCoefficient
|
|
5325
|
+
|
|
5326
|
+
@OutputAudioTokenCoefficient.setter
|
|
5327
|
+
def OutputAudioTokenCoefficient(self, OutputAudioTokenCoefficient):
|
|
5328
|
+
self._OutputAudioTokenCoefficient = OutputAudioTokenCoefficient
|
|
5329
|
+
|
|
5260
5330
|
|
|
5261
5331
|
def _deserialize(self, params):
|
|
5262
5332
|
self._InputCachedCoefficient = params.get("InputCachedCoefficient")
|
|
@@ -5267,6 +5337,11 @@ class Coefficient(AbstractModel):
|
|
|
5267
5337
|
self._InputVideoSecondCoefficient = params.get("InputVideoSecondCoefficient")
|
|
5268
5338
|
self._OutputVideoSecondCoefficient = params.get("OutputVideoSecondCoefficient")
|
|
5269
5339
|
self._OutputImageCoefficient = params.get("OutputImageCoefficient")
|
|
5340
|
+
self._InputAudioTokenCoefficient = params.get("InputAudioTokenCoefficient")
|
|
5341
|
+
self._InputCachedAudioTokenCoefficient = params.get("InputCachedAudioTokenCoefficient")
|
|
5342
|
+
self._InputImageTokenCoefficient = params.get("InputImageTokenCoefficient")
|
|
5343
|
+
self._InputCachedImageTokenCoefficient = params.get("InputCachedImageTokenCoefficient")
|
|
5344
|
+
self._OutputAudioTokenCoefficient = params.get("OutputAudioTokenCoefficient")
|
|
5270
5345
|
memeber_set = set(params.keys())
|
|
5271
5346
|
for name, value in vars(self).items():
|
|
5272
5347
|
property_name = name[1:]
|
|
@@ -8092,6 +8167,8 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8092
8167
|
:type DecisionsConfig: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
8093
8168
|
:param _ImageConfig: <p>Images 生图配置</p>
|
|
8094
8169
|
:type ImageConfig: :class:`tencentcloud.clb.v20180317.models.ImageConfig`
|
|
8170
|
+
:param _RealtimeConfig: <p>可选的 Realtime 路由配置,提供此参数时预置 realtime 能力的路由策略。</p><p>支持 SimpleShuffle、LeastBusy、CostBasedRouting;省略配置子字段时默认 RoutingStrategy=SimpleShuffle、NumRetries=2。配置及子字段不接受 null。</p>
|
|
8171
|
+
:type RealtimeConfig: :class:`tencentcloud.clb.v20180317.models.RealtimeConfig`
|
|
8095
8172
|
"""
|
|
8096
8173
|
self._ModelRouterType = None
|
|
8097
8174
|
self._BudgetId = None
|
|
@@ -8115,6 +8192,7 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8115
8192
|
self._RerankConfig = None
|
|
8116
8193
|
self._DecisionsConfig = None
|
|
8117
8194
|
self._ImageConfig = None
|
|
8195
|
+
self._RealtimeConfig = None
|
|
8118
8196
|
|
|
8119
8197
|
@property
|
|
8120
8198
|
def ModelRouterType(self):
|
|
@@ -8358,6 +8436,17 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8358
8436
|
def ImageConfig(self, ImageConfig):
|
|
8359
8437
|
self._ImageConfig = ImageConfig
|
|
8360
8438
|
|
|
8439
|
+
@property
|
|
8440
|
+
def RealtimeConfig(self):
|
|
8441
|
+
r"""<p>可选的 Realtime 路由配置,提供此参数时预置 realtime 能力的路由策略。</p><p>支持 SimpleShuffle、LeastBusy、CostBasedRouting;省略配置子字段时默认 RoutingStrategy=SimpleShuffle、NumRetries=2。配置及子字段不接受 null。</p>
|
|
8442
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RealtimeConfig`
|
|
8443
|
+
"""
|
|
8444
|
+
return self._RealtimeConfig
|
|
8445
|
+
|
|
8446
|
+
@RealtimeConfig.setter
|
|
8447
|
+
def RealtimeConfig(self, RealtimeConfig):
|
|
8448
|
+
self._RealtimeConfig = RealtimeConfig
|
|
8449
|
+
|
|
8361
8450
|
|
|
8362
8451
|
def _deserialize(self, params):
|
|
8363
8452
|
self._ModelRouterType = params.get("ModelRouterType")
|
|
@@ -8405,6 +8494,9 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8405
8494
|
if params.get("ImageConfig") is not None:
|
|
8406
8495
|
self._ImageConfig = ImageConfig()
|
|
8407
8496
|
self._ImageConfig._deserialize(params.get("ImageConfig"))
|
|
8497
|
+
if params.get("RealtimeConfig") is not None:
|
|
8498
|
+
self._RealtimeConfig = RealtimeConfig()
|
|
8499
|
+
self._RealtimeConfig._deserialize(params.get("RealtimeConfig"))
|
|
8408
8500
|
memeber_set = set(params.keys())
|
|
8409
8501
|
for name, value in vars(self).items():
|
|
8410
8502
|
property_name = name[1:]
|
|
@@ -33160,6 +33252,125 @@ class RateLimitConfigForModelRouter(AbstractModel):
|
|
|
33160
33252
|
|
|
33161
33253
|
|
|
33162
33254
|
|
|
33255
|
+
class RealtimeConfig(AbstractModel):
|
|
33256
|
+
r"""Realtime 路由配置。支持 SimpleShuffle、LeastBusy、CostBasedRouting,创建时默认 SimpleShuffle、NumRetries=2。修改时仅更新显式传入字段;切换策略时清理旧策略参数。所有字段选填,不接受显式 null。
|
|
33257
|
+
|
|
33258
|
+
"""
|
|
33259
|
+
|
|
33260
|
+
def __init__(self):
|
|
33261
|
+
r"""
|
|
33262
|
+
:param _RoutingStrategy: <p>Realtime 模型路由策略。</p><p>入参限制:仅支持 SimpleShuffle(随机)、LeastBusy(最少繁忙)、CostBasedRouting(最低成本)。</p><p>默认值:SimpleShuffle</p><p>修改时未传保留旧策略;切换策略会清理旧策略的 RoutingStrategyArgs。不接受 null。</p>
|
|
33263
|
+
:type RoutingStrategy: str
|
|
33264
|
+
:param _NumRetries: <p>Realtime 路由重试次数。</p><p>取值范围:[0, 5]</p><p>默认值:2</p><p>仅接受整数,0 表示不重试。修改时未提供此字段则保留旧值,不接受 null。</p>
|
|
33265
|
+
:type NumRetries: int
|
|
33266
|
+
:param _RoutingStrategyArgs: <p>Realtime 路由策略的附加参数。</p><p>入参限制:LeastBusy 仅接受 LeastBusyBuffer;CostBasedRouting 仅接受 LowestCostBuffer;SimpleShuffle 仅接受空对象。</p><p>修改时未提供的参数保留旧值,切换策略时清理旧参数;适用的 Buffer 默认 0。不接受 null。</p>
|
|
33267
|
+
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RealtimeRoutingStrategyArgs`
|
|
33268
|
+
"""
|
|
33269
|
+
self._RoutingStrategy = None
|
|
33270
|
+
self._NumRetries = None
|
|
33271
|
+
self._RoutingStrategyArgs = None
|
|
33272
|
+
|
|
33273
|
+
@property
|
|
33274
|
+
def RoutingStrategy(self):
|
|
33275
|
+
r"""<p>Realtime 模型路由策略。</p><p>入参限制:仅支持 SimpleShuffle(随机)、LeastBusy(最少繁忙)、CostBasedRouting(最低成本)。</p><p>默认值:SimpleShuffle</p><p>修改时未传保留旧策略;切换策略会清理旧策略的 RoutingStrategyArgs。不接受 null。</p>
|
|
33276
|
+
:rtype: str
|
|
33277
|
+
"""
|
|
33278
|
+
return self._RoutingStrategy
|
|
33279
|
+
|
|
33280
|
+
@RoutingStrategy.setter
|
|
33281
|
+
def RoutingStrategy(self, RoutingStrategy):
|
|
33282
|
+
self._RoutingStrategy = RoutingStrategy
|
|
33283
|
+
|
|
33284
|
+
@property
|
|
33285
|
+
def NumRetries(self):
|
|
33286
|
+
r"""<p>Realtime 路由重试次数。</p><p>取值范围:[0, 5]</p><p>默认值:2</p><p>仅接受整数,0 表示不重试。修改时未提供此字段则保留旧值,不接受 null。</p>
|
|
33287
|
+
:rtype: int
|
|
33288
|
+
"""
|
|
33289
|
+
return self._NumRetries
|
|
33290
|
+
|
|
33291
|
+
@NumRetries.setter
|
|
33292
|
+
def NumRetries(self, NumRetries):
|
|
33293
|
+
self._NumRetries = NumRetries
|
|
33294
|
+
|
|
33295
|
+
@property
|
|
33296
|
+
def RoutingStrategyArgs(self):
|
|
33297
|
+
r"""<p>Realtime 路由策略的附加参数。</p><p>入参限制:LeastBusy 仅接受 LeastBusyBuffer;CostBasedRouting 仅接受 LowestCostBuffer;SimpleShuffle 仅接受空对象。</p><p>修改时未提供的参数保留旧值,切换策略时清理旧参数;适用的 Buffer 默认 0。不接受 null。</p>
|
|
33298
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RealtimeRoutingStrategyArgs`
|
|
33299
|
+
"""
|
|
33300
|
+
return self._RoutingStrategyArgs
|
|
33301
|
+
|
|
33302
|
+
@RoutingStrategyArgs.setter
|
|
33303
|
+
def RoutingStrategyArgs(self, RoutingStrategyArgs):
|
|
33304
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs
|
|
33305
|
+
|
|
33306
|
+
|
|
33307
|
+
def _deserialize(self, params):
|
|
33308
|
+
self._RoutingStrategy = params.get("RoutingStrategy")
|
|
33309
|
+
self._NumRetries = params.get("NumRetries")
|
|
33310
|
+
if params.get("RoutingStrategyArgs") is not None:
|
|
33311
|
+
self._RoutingStrategyArgs = RealtimeRoutingStrategyArgs()
|
|
33312
|
+
self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
|
|
33313
|
+
memeber_set = set(params.keys())
|
|
33314
|
+
for name, value in vars(self).items():
|
|
33315
|
+
property_name = name[1:]
|
|
33316
|
+
if property_name in memeber_set:
|
|
33317
|
+
memeber_set.remove(property_name)
|
|
33318
|
+
if len(memeber_set) > 0:
|
|
33319
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33320
|
+
|
|
33321
|
+
|
|
33322
|
+
|
|
33323
|
+
class RealtimeRoutingStrategyArgs(AbstractModel):
|
|
33324
|
+
r"""Realtime 路由策略参数。LeastBusy 仅支持 LeastBusyBuffer,CostBasedRouting 仅支持 LowestCostBuffer,SimpleShuffle 不支持策略参数。Buffer 取值为 0~1000,最多两位小数,默认 0;修改时未传字段保留旧值。
|
|
33325
|
+
|
|
33326
|
+
"""
|
|
33327
|
+
|
|
33328
|
+
def __init__(self):
|
|
33329
|
+
r"""
|
|
33330
|
+
:param _LeastBusyBuffer: <p>LeastBusy 路由策略的缓冲参数,仅 RoutingStrategy=LeastBusy 时允许设置。</p><p>取值范围:[0, 1000]</p><p>默认值:0</p><p>最多支持两位小数;不接受字符串、布尔值或 null。修改时未传保留旧值,显式 0 生效。</p>
|
|
33331
|
+
:type LeastBusyBuffer: float
|
|
33332
|
+
:param _LowestCostBuffer: <p>CostBasedRouting 路由策略的缓冲参数,仅 RoutingStrategy=CostBasedRouting 时允许设置。</p><p>取值范围:[0, 1000]</p><p>默认值:0</p><p>最多支持两位小数;不接受字符串、布尔值或 null。修改时未传保留旧值,显式 0 生效。</p>
|
|
33333
|
+
:type LowestCostBuffer: float
|
|
33334
|
+
"""
|
|
33335
|
+
self._LeastBusyBuffer = None
|
|
33336
|
+
self._LowestCostBuffer = None
|
|
33337
|
+
|
|
33338
|
+
@property
|
|
33339
|
+
def LeastBusyBuffer(self):
|
|
33340
|
+
r"""<p>LeastBusy 路由策略的缓冲参数,仅 RoutingStrategy=LeastBusy 时允许设置。</p><p>取值范围:[0, 1000]</p><p>默认值:0</p><p>最多支持两位小数;不接受字符串、布尔值或 null。修改时未传保留旧值,显式 0 生效。</p>
|
|
33341
|
+
:rtype: float
|
|
33342
|
+
"""
|
|
33343
|
+
return self._LeastBusyBuffer
|
|
33344
|
+
|
|
33345
|
+
@LeastBusyBuffer.setter
|
|
33346
|
+
def LeastBusyBuffer(self, LeastBusyBuffer):
|
|
33347
|
+
self._LeastBusyBuffer = LeastBusyBuffer
|
|
33348
|
+
|
|
33349
|
+
@property
|
|
33350
|
+
def LowestCostBuffer(self):
|
|
33351
|
+
r"""<p>CostBasedRouting 路由策略的缓冲参数,仅 RoutingStrategy=CostBasedRouting 时允许设置。</p><p>取值范围:[0, 1000]</p><p>默认值:0</p><p>最多支持两位小数;不接受字符串、布尔值或 null。修改时未传保留旧值,显式 0 生效。</p>
|
|
33352
|
+
:rtype: float
|
|
33353
|
+
"""
|
|
33354
|
+
return self._LowestCostBuffer
|
|
33355
|
+
|
|
33356
|
+
@LowestCostBuffer.setter
|
|
33357
|
+
def LowestCostBuffer(self, LowestCostBuffer):
|
|
33358
|
+
self._LowestCostBuffer = LowestCostBuffer
|
|
33359
|
+
|
|
33360
|
+
|
|
33361
|
+
def _deserialize(self, params):
|
|
33362
|
+
self._LeastBusyBuffer = params.get("LeastBusyBuffer")
|
|
33363
|
+
self._LowestCostBuffer = params.get("LowestCostBuffer")
|
|
33364
|
+
memeber_set = set(params.keys())
|
|
33365
|
+
for name, value in vars(self).items():
|
|
33366
|
+
property_name = name[1:]
|
|
33367
|
+
if property_name in memeber_set:
|
|
33368
|
+
memeber_set.remove(property_name)
|
|
33369
|
+
if len(memeber_set) > 0:
|
|
33370
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33371
|
+
|
|
33372
|
+
|
|
33373
|
+
|
|
33163
33374
|
class RedirectConfig(AbstractModel):
|
|
33164
33375
|
r"""重定向配置
|
|
33165
33376
|
|
|
@@ -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.216
|
|
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.216
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.216
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.212
|
|
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
|