tencentcloud-sdk-python-clb 3.1.180__tar.gz → 3.1.181__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.180 → tencentcloud_sdk_python_clb-3.1.181}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/setup.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/clb/v20180317/models.py +431 -22
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_clb-3.1.181/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_clb-3.1.180/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/README.rst +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/setup.cfg +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/clb/v20180317/clb_client.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.181}/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.181
|
|
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.181
|
|
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.181,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Clb SDK for Python',
|
|
@@ -7646,7 +7646,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
7646
7646
|
:type CMRPrivateNetworkTunnelId: str
|
|
7647
7647
|
:param _HealthCheckConfigs: <p>健康检查配置</p>
|
|
7648
7648
|
:type HealthCheckConfigs: list of ServiceProviderHealthCheckConfigItemInput
|
|
7649
|
-
:param _Capability: <p>模型输出模态</p>
|
|
7649
|
+
:param _Capability: <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
7650
7650
|
:type Capability: str
|
|
7651
7651
|
:param _EndpointPath: <p>请求后缀</p>
|
|
7652
7652
|
:type EndpointPath: str
|
|
@@ -7860,7 +7860,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
7860
7860
|
|
|
7861
7861
|
@property
|
|
7862
7862
|
def Capability(self):
|
|
7863
|
-
r"""<p>模型输出模态</p>
|
|
7863
|
+
r"""<p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
7864
7864
|
:rtype: str
|
|
7865
7865
|
"""
|
|
7866
7866
|
return self._Capability
|
|
@@ -8037,8 +8037,14 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8037
8037
|
:type EipAddressId: str
|
|
8038
8038
|
:param _Bandwidth: <p>单位</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
8039
8039
|
:type Bandwidth: int
|
|
8040
|
-
:param _EmbeddingConfig: <p>Embedding
|
|
8040
|
+
:param _EmbeddingConfig: <p>Embedding 调度配置</p>
|
|
8041
8041
|
:type EmbeddingConfig: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
8042
|
+
:param _VideoConfig: <p>Video 配置</p>
|
|
8043
|
+
:type VideoConfig: :class:`tencentcloud.clb.v20180317.models.VideoConfig`
|
|
8044
|
+
:param _RerankConfig: <p>Rerank 调度配置</p>
|
|
8045
|
+
:type RerankConfig: :class:`tencentcloud.clb.v20180317.models.RerankConfig`
|
|
8046
|
+
:param _DecisionsConfig: <p>Decisions 调度配置</p>
|
|
8047
|
+
:type DecisionsConfig: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
8042
8048
|
"""
|
|
8043
8049
|
self._ModelRouterType = None
|
|
8044
8050
|
self._BudgetId = None
|
|
@@ -8058,6 +8064,9 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8058
8064
|
self._EipAddressId = None
|
|
8059
8065
|
self._Bandwidth = None
|
|
8060
8066
|
self._EmbeddingConfig = None
|
|
8067
|
+
self._VideoConfig = None
|
|
8068
|
+
self._RerankConfig = None
|
|
8069
|
+
self._DecisionsConfig = None
|
|
8061
8070
|
|
|
8062
8071
|
@property
|
|
8063
8072
|
def ModelRouterType(self):
|
|
@@ -8248,7 +8257,7 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8248
8257
|
|
|
8249
8258
|
@property
|
|
8250
8259
|
def EmbeddingConfig(self):
|
|
8251
|
-
r"""<p>Embedding
|
|
8260
|
+
r"""<p>Embedding 调度配置</p>
|
|
8252
8261
|
:rtype: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
8253
8262
|
"""
|
|
8254
8263
|
return self._EmbeddingConfig
|
|
@@ -8257,6 +8266,39 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8257
8266
|
def EmbeddingConfig(self, EmbeddingConfig):
|
|
8258
8267
|
self._EmbeddingConfig = EmbeddingConfig
|
|
8259
8268
|
|
|
8269
|
+
@property
|
|
8270
|
+
def VideoConfig(self):
|
|
8271
|
+
r"""<p>Video 配置</p>
|
|
8272
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.VideoConfig`
|
|
8273
|
+
"""
|
|
8274
|
+
return self._VideoConfig
|
|
8275
|
+
|
|
8276
|
+
@VideoConfig.setter
|
|
8277
|
+
def VideoConfig(self, VideoConfig):
|
|
8278
|
+
self._VideoConfig = VideoConfig
|
|
8279
|
+
|
|
8280
|
+
@property
|
|
8281
|
+
def RerankConfig(self):
|
|
8282
|
+
r"""<p>Rerank 调度配置</p>
|
|
8283
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RerankConfig`
|
|
8284
|
+
"""
|
|
8285
|
+
return self._RerankConfig
|
|
8286
|
+
|
|
8287
|
+
@RerankConfig.setter
|
|
8288
|
+
def RerankConfig(self, RerankConfig):
|
|
8289
|
+
self._RerankConfig = RerankConfig
|
|
8290
|
+
|
|
8291
|
+
@property
|
|
8292
|
+
def DecisionsConfig(self):
|
|
8293
|
+
r"""<p>Decisions 调度配置</p>
|
|
8294
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
8295
|
+
"""
|
|
8296
|
+
return self._DecisionsConfig
|
|
8297
|
+
|
|
8298
|
+
@DecisionsConfig.setter
|
|
8299
|
+
def DecisionsConfig(self, DecisionsConfig):
|
|
8300
|
+
self._DecisionsConfig = DecisionsConfig
|
|
8301
|
+
|
|
8260
8302
|
|
|
8261
8303
|
def _deserialize(self, params):
|
|
8262
8304
|
self._ModelRouterType = params.get("ModelRouterType")
|
|
@@ -8292,6 +8334,15 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8292
8334
|
if params.get("EmbeddingConfig") is not None:
|
|
8293
8335
|
self._EmbeddingConfig = EmbeddingConfig()
|
|
8294
8336
|
self._EmbeddingConfig._deserialize(params.get("EmbeddingConfig"))
|
|
8337
|
+
if params.get("VideoConfig") is not None:
|
|
8338
|
+
self._VideoConfig = VideoConfig()
|
|
8339
|
+
self._VideoConfig._deserialize(params.get("VideoConfig"))
|
|
8340
|
+
if params.get("RerankConfig") is not None:
|
|
8341
|
+
self._RerankConfig = RerankConfig()
|
|
8342
|
+
self._RerankConfig._deserialize(params.get("RerankConfig"))
|
|
8343
|
+
if params.get("DecisionsConfig") is not None:
|
|
8344
|
+
self._DecisionsConfig = DecisionsConfig()
|
|
8345
|
+
self._DecisionsConfig._deserialize(params.get("DecisionsConfig"))
|
|
8295
8346
|
memeber_set = set(params.keys())
|
|
8296
8347
|
for name, value in vars(self).items():
|
|
8297
8348
|
property_name = name[1:]
|
|
@@ -9511,6 +9562,80 @@ class CrossTargets(AbstractModel):
|
|
|
9511
9562
|
|
|
9512
9563
|
|
|
9513
9564
|
|
|
9565
|
+
class DecisionsConfig(AbstractModel):
|
|
9566
|
+
r"""DecisionsConfig配置。
|
|
9567
|
+
|
|
9568
|
+
"""
|
|
9569
|
+
|
|
9570
|
+
def __init__(self):
|
|
9571
|
+
r"""
|
|
9572
|
+
:param _RoutingStrategy: <p>模型内路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
|
|
9573
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9574
|
+
:type RoutingStrategy: str
|
|
9575
|
+
:param _RoutingStrategyArgs: <p>路由参数</p>
|
|
9576
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9577
|
+
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
9578
|
+
:param _NumRetries: <p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
9579
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9580
|
+
:type NumRetries: int
|
|
9581
|
+
"""
|
|
9582
|
+
self._RoutingStrategy = None
|
|
9583
|
+
self._RoutingStrategyArgs = None
|
|
9584
|
+
self._NumRetries = None
|
|
9585
|
+
|
|
9586
|
+
@property
|
|
9587
|
+
def RoutingStrategy(self):
|
|
9588
|
+
r"""<p>模型内路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
|
|
9589
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9590
|
+
:rtype: str
|
|
9591
|
+
"""
|
|
9592
|
+
return self._RoutingStrategy
|
|
9593
|
+
|
|
9594
|
+
@RoutingStrategy.setter
|
|
9595
|
+
def RoutingStrategy(self, RoutingStrategy):
|
|
9596
|
+
self._RoutingStrategy = RoutingStrategy
|
|
9597
|
+
|
|
9598
|
+
@property
|
|
9599
|
+
def RoutingStrategyArgs(self):
|
|
9600
|
+
r"""<p>路由参数</p>
|
|
9601
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9602
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
9603
|
+
"""
|
|
9604
|
+
return self._RoutingStrategyArgs
|
|
9605
|
+
|
|
9606
|
+
@RoutingStrategyArgs.setter
|
|
9607
|
+
def RoutingStrategyArgs(self, RoutingStrategyArgs):
|
|
9608
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs
|
|
9609
|
+
|
|
9610
|
+
@property
|
|
9611
|
+
def NumRetries(self):
|
|
9612
|
+
r"""<p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
9613
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9614
|
+
:rtype: int
|
|
9615
|
+
"""
|
|
9616
|
+
return self._NumRetries
|
|
9617
|
+
|
|
9618
|
+
@NumRetries.setter
|
|
9619
|
+
def NumRetries(self, NumRetries):
|
|
9620
|
+
self._NumRetries = NumRetries
|
|
9621
|
+
|
|
9622
|
+
|
|
9623
|
+
def _deserialize(self, params):
|
|
9624
|
+
self._RoutingStrategy = params.get("RoutingStrategy")
|
|
9625
|
+
if params.get("RoutingStrategyArgs") is not None:
|
|
9626
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs()
|
|
9627
|
+
self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
|
|
9628
|
+
self._NumRetries = params.get("NumRetries")
|
|
9629
|
+
memeber_set = set(params.keys())
|
|
9630
|
+
for name, value in vars(self).items():
|
|
9631
|
+
property_name = name[1:]
|
|
9632
|
+
if property_name in memeber_set:
|
|
9633
|
+
memeber_set.remove(property_name)
|
|
9634
|
+
if len(memeber_set) > 0:
|
|
9635
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9636
|
+
|
|
9637
|
+
|
|
9638
|
+
|
|
9514
9639
|
class DeleteBudgetsRequest(AbstractModel):
|
|
9515
9640
|
r"""DeleteBudgets请求参数结构体
|
|
9516
9641
|
|
|
@@ -15128,13 +15253,16 @@ class DescribeModelAssociationsRequest(AbstractModel):
|
|
|
15128
15253
|
:type Limit: int
|
|
15129
15254
|
:param _Offset: <p>翻页偏移量</p><p>默认值:0</p>
|
|
15130
15255
|
:type Offset: int
|
|
15131
|
-
:param _Capability: <p>模型输出模态</p>
|
|
15256
|
+
:param _Capability: <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
15132
15257
|
:type Capability: str
|
|
15258
|
+
:param _Capabilities: <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>rerank: 重排序</li><li>video: 视频</li></ul>
|
|
15259
|
+
:type Capabilities: list of str
|
|
15133
15260
|
"""
|
|
15134
15261
|
self._ModelRouterId = None
|
|
15135
15262
|
self._Limit = None
|
|
15136
15263
|
self._Offset = None
|
|
15137
15264
|
self._Capability = None
|
|
15265
|
+
self._Capabilities = None
|
|
15138
15266
|
|
|
15139
15267
|
@property
|
|
15140
15268
|
def ModelRouterId(self):
|
|
@@ -15171,7 +15299,7 @@ class DescribeModelAssociationsRequest(AbstractModel):
|
|
|
15171
15299
|
|
|
15172
15300
|
@property
|
|
15173
15301
|
def Capability(self):
|
|
15174
|
-
r"""<p>模型输出模态</p>
|
|
15302
|
+
r"""<p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
15175
15303
|
:rtype: str
|
|
15176
15304
|
"""
|
|
15177
15305
|
return self._Capability
|
|
@@ -15180,12 +15308,24 @@ class DescribeModelAssociationsRequest(AbstractModel):
|
|
|
15180
15308
|
def Capability(self, Capability):
|
|
15181
15309
|
self._Capability = Capability
|
|
15182
15310
|
|
|
15311
|
+
@property
|
|
15312
|
+
def Capabilities(self):
|
|
15313
|
+
r"""<p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>rerank: 重排序</li><li>video: 视频</li></ul>
|
|
15314
|
+
:rtype: list of str
|
|
15315
|
+
"""
|
|
15316
|
+
return self._Capabilities
|
|
15317
|
+
|
|
15318
|
+
@Capabilities.setter
|
|
15319
|
+
def Capabilities(self, Capabilities):
|
|
15320
|
+
self._Capabilities = Capabilities
|
|
15321
|
+
|
|
15183
15322
|
|
|
15184
15323
|
def _deserialize(self, params):
|
|
15185
15324
|
self._ModelRouterId = params.get("ModelRouterId")
|
|
15186
15325
|
self._Limit = params.get("Limit")
|
|
15187
15326
|
self._Offset = params.get("Offset")
|
|
15188
15327
|
self._Capability = params.get("Capability")
|
|
15328
|
+
self._Capabilities = params.get("Capabilities")
|
|
15189
15329
|
memeber_set = set(params.keys())
|
|
15190
15330
|
for name, value in vars(self).items():
|
|
15191
15331
|
property_name = name[1:]
|
|
@@ -19000,13 +19140,13 @@ class EmbeddingConfig(AbstractModel):
|
|
|
19000
19140
|
|
|
19001
19141
|
def __init__(self):
|
|
19002
19142
|
r"""
|
|
19003
|
-
:param _RoutingStrategy: <p>模型内路由策略</p>
|
|
19143
|
+
:param _RoutingStrategy: <p>模型内路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
|
|
19004
19144
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19005
19145
|
:type RoutingStrategy: str
|
|
19006
19146
|
:param _RoutingStrategyArgs: <p>路由参数</p>
|
|
19007
19147
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19008
19148
|
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
19009
|
-
:param _NumRetries: <p
|
|
19149
|
+
:param _NumRetries: <p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
19010
19150
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19011
19151
|
:type NumRetries: int
|
|
19012
19152
|
"""
|
|
@@ -19016,7 +19156,7 @@ class EmbeddingConfig(AbstractModel):
|
|
|
19016
19156
|
|
|
19017
19157
|
@property
|
|
19018
19158
|
def RoutingStrategy(self):
|
|
19019
|
-
r"""<p>模型内路由策略</p>
|
|
19159
|
+
r"""<p>模型内路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
|
|
19020
19160
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19021
19161
|
:rtype: str
|
|
19022
19162
|
"""
|
|
@@ -19040,7 +19180,7 @@ class EmbeddingConfig(AbstractModel):
|
|
|
19040
19180
|
|
|
19041
19181
|
@property
|
|
19042
19182
|
def NumRetries(self):
|
|
19043
|
-
r"""<p
|
|
19183
|
+
r"""<p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
19044
19184
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19045
19185
|
:rtype: int
|
|
19046
19186
|
"""
|
|
@@ -25208,7 +25348,7 @@ class ModelAssociation(AbstractModel):
|
|
|
25208
25348
|
:type ServiceProviders: list of ServiceProvider
|
|
25209
25349
|
:param _Type: <p>模型类型</p>
|
|
25210
25350
|
:type Type: str
|
|
25211
|
-
:param _Capability: <p>输出模态</p>
|
|
25351
|
+
:param _Capability: <p>输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
25212
25352
|
:type Capability: str
|
|
25213
25353
|
"""
|
|
25214
25354
|
self._InputModalitiesUnion = None
|
|
@@ -25263,7 +25403,7 @@ class ModelAssociation(AbstractModel):
|
|
|
25263
25403
|
|
|
25264
25404
|
@property
|
|
25265
25405
|
def Capability(self):
|
|
25266
|
-
r"""<p>输出模态</p>
|
|
25406
|
+
r"""<p>输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
25267
25407
|
:rtype: str
|
|
25268
25408
|
"""
|
|
25269
25409
|
return self._Capability
|
|
@@ -25552,7 +25692,7 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25552
25692
|
:type CMRPrivateNetworkTunnelName: str
|
|
25553
25693
|
:param _HealthCheckConfigs: <p>健康检查配置</p>
|
|
25554
25694
|
:type HealthCheckConfigs: list of ServiceProviderHealthCheckConfigItemOutput
|
|
25555
|
-
:param _Capability: <p>模型输出模态</p>
|
|
25695
|
+
:param _Capability: <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
25556
25696
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
25557
25697
|
:type Capability: str
|
|
25558
25698
|
:param _EndpointPath: <p>请求后缀</p>
|
|
@@ -25837,7 +25977,7 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25837
25977
|
|
|
25838
25978
|
@property
|
|
25839
25979
|
def Capability(self):
|
|
25840
|
-
r"""<p>模型输出模态</p>
|
|
25980
|
+
r"""<p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
25841
25981
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
25842
25982
|
:rtype: str
|
|
25843
25983
|
"""
|
|
@@ -26192,8 +26332,18 @@ class ModelRouterDetail(AbstractModel):
|
|
|
26192
26332
|
:type EipAddressId: str
|
|
26193
26333
|
:param _BillingConfig: <p>计费信息</p>
|
|
26194
26334
|
:type BillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
|
|
26195
|
-
:param _EmbeddingConfig: <p>Embedding
|
|
26335
|
+
:param _EmbeddingConfig: <p>Embedding调度配置</p>
|
|
26336
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26196
26337
|
:type EmbeddingConfig: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
26338
|
+
:param _LoadBalancerId: <p>CMR关联的负载均衡实例id</p>
|
|
26339
|
+
:type LoadBalancerId: str
|
|
26340
|
+
:param _VideoConfig: <p>视频模型设置</p>
|
|
26341
|
+
:type VideoConfig: :class:`tencentcloud.clb.v20180317.models.VideoConfig`
|
|
26342
|
+
:param _RerankConfig: <p>Rerank调度配置</p>
|
|
26343
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26344
|
+
:type RerankConfig: :class:`tencentcloud.clb.v20180317.models.RerankConfig`
|
|
26345
|
+
:param _DecisionsConfig: <p>决策模型设置</p>
|
|
26346
|
+
:type DecisionsConfig: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
26197
26347
|
"""
|
|
26198
26348
|
self._BudgetId = None
|
|
26199
26349
|
self._BudgetName = None
|
|
@@ -26221,6 +26371,10 @@ class ModelRouterDetail(AbstractModel):
|
|
|
26221
26371
|
self._EipAddressId = None
|
|
26222
26372
|
self._BillingConfig = None
|
|
26223
26373
|
self._EmbeddingConfig = None
|
|
26374
|
+
self._LoadBalancerId = None
|
|
26375
|
+
self._VideoConfig = None
|
|
26376
|
+
self._RerankConfig = None
|
|
26377
|
+
self._DecisionsConfig = None
|
|
26224
26378
|
|
|
26225
26379
|
@property
|
|
26226
26380
|
def BudgetId(self):
|
|
@@ -26503,7 +26657,8 @@ class ModelRouterDetail(AbstractModel):
|
|
|
26503
26657
|
|
|
26504
26658
|
@property
|
|
26505
26659
|
def EmbeddingConfig(self):
|
|
26506
|
-
r"""<p>Embedding
|
|
26660
|
+
r"""<p>Embedding调度配置</p>
|
|
26661
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26507
26662
|
:rtype: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
26508
26663
|
"""
|
|
26509
26664
|
return self._EmbeddingConfig
|
|
@@ -26512,6 +26667,51 @@ class ModelRouterDetail(AbstractModel):
|
|
|
26512
26667
|
def EmbeddingConfig(self, EmbeddingConfig):
|
|
26513
26668
|
self._EmbeddingConfig = EmbeddingConfig
|
|
26514
26669
|
|
|
26670
|
+
@property
|
|
26671
|
+
def LoadBalancerId(self):
|
|
26672
|
+
r"""<p>CMR关联的负载均衡实例id</p>
|
|
26673
|
+
:rtype: str
|
|
26674
|
+
"""
|
|
26675
|
+
return self._LoadBalancerId
|
|
26676
|
+
|
|
26677
|
+
@LoadBalancerId.setter
|
|
26678
|
+
def LoadBalancerId(self, LoadBalancerId):
|
|
26679
|
+
self._LoadBalancerId = LoadBalancerId
|
|
26680
|
+
|
|
26681
|
+
@property
|
|
26682
|
+
def VideoConfig(self):
|
|
26683
|
+
r"""<p>视频模型设置</p>
|
|
26684
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.VideoConfig`
|
|
26685
|
+
"""
|
|
26686
|
+
return self._VideoConfig
|
|
26687
|
+
|
|
26688
|
+
@VideoConfig.setter
|
|
26689
|
+
def VideoConfig(self, VideoConfig):
|
|
26690
|
+
self._VideoConfig = VideoConfig
|
|
26691
|
+
|
|
26692
|
+
@property
|
|
26693
|
+
def RerankConfig(self):
|
|
26694
|
+
r"""<p>Rerank调度配置</p>
|
|
26695
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26696
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RerankConfig`
|
|
26697
|
+
"""
|
|
26698
|
+
return self._RerankConfig
|
|
26699
|
+
|
|
26700
|
+
@RerankConfig.setter
|
|
26701
|
+
def RerankConfig(self, RerankConfig):
|
|
26702
|
+
self._RerankConfig = RerankConfig
|
|
26703
|
+
|
|
26704
|
+
@property
|
|
26705
|
+
def DecisionsConfig(self):
|
|
26706
|
+
r"""<p>决策模型设置</p>
|
|
26707
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
26708
|
+
"""
|
|
26709
|
+
return self._DecisionsConfig
|
|
26710
|
+
|
|
26711
|
+
@DecisionsConfig.setter
|
|
26712
|
+
def DecisionsConfig(self, DecisionsConfig):
|
|
26713
|
+
self._DecisionsConfig = DecisionsConfig
|
|
26714
|
+
|
|
26515
26715
|
|
|
26516
26716
|
def _deserialize(self, params):
|
|
26517
26717
|
self._BudgetId = params.get("BudgetId")
|
|
@@ -26565,6 +26765,16 @@ class ModelRouterDetail(AbstractModel):
|
|
|
26565
26765
|
if params.get("EmbeddingConfig") is not None:
|
|
26566
26766
|
self._EmbeddingConfig = EmbeddingConfig()
|
|
26567
26767
|
self._EmbeddingConfig._deserialize(params.get("EmbeddingConfig"))
|
|
26768
|
+
self._LoadBalancerId = params.get("LoadBalancerId")
|
|
26769
|
+
if params.get("VideoConfig") is not None:
|
|
26770
|
+
self._VideoConfig = VideoConfig()
|
|
26771
|
+
self._VideoConfig._deserialize(params.get("VideoConfig"))
|
|
26772
|
+
if params.get("RerankConfig") is not None:
|
|
26773
|
+
self._RerankConfig = RerankConfig()
|
|
26774
|
+
self._RerankConfig._deserialize(params.get("RerankConfig"))
|
|
26775
|
+
if params.get("DecisionsConfig") is not None:
|
|
26776
|
+
self._DecisionsConfig = DecisionsConfig()
|
|
26777
|
+
self._DecisionsConfig._deserialize(params.get("DecisionsConfig"))
|
|
26568
26778
|
memeber_set = set(params.keys())
|
|
26569
26779
|
for name, value in vars(self).items():
|
|
26570
26780
|
property_name = name[1:]
|
|
@@ -30275,10 +30485,16 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
30275
30485
|
:type RouterSetting: :class:`tencentcloud.clb.v20180317.models.RouterSettingWithFallBack`
|
|
30276
30486
|
:param _Bandwidth: <p>带宽</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
30277
30487
|
:type Bandwidth: int
|
|
30278
|
-
:param _Capability: <p>模型输出模态</p>
|
|
30488
|
+
:param _Capability: <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
30279
30489
|
:type Capability: str
|
|
30280
|
-
:param _EmbeddingConfig: <p>
|
|
30490
|
+
:param _EmbeddingConfig: <p>Embedding 调度配置</p><p>传入该参数时,必须传Capability为embedding</p>
|
|
30281
30491
|
:type EmbeddingConfig: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
30492
|
+
:param _VideoConfig: <p>Video 调度配置</p>
|
|
30493
|
+
:type VideoConfig: :class:`tencentcloud.clb.v20180317.models.VideoConfig`
|
|
30494
|
+
:param _RerankConfig: <p>Rerank 调度配置</p><p>传入该参数时,必须传Capability为rerank</p>
|
|
30495
|
+
:type RerankConfig: :class:`tencentcloud.clb.v20180317.models.RerankConfig`
|
|
30496
|
+
:param _DecisionsConfig: <p>Decisions 调度配置</p>
|
|
30497
|
+
:type DecisionsConfig: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
30282
30498
|
"""
|
|
30283
30499
|
self._ModelRouterId = None
|
|
30284
30500
|
self._CertId = None
|
|
@@ -30288,6 +30504,9 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
30288
30504
|
self._Bandwidth = None
|
|
30289
30505
|
self._Capability = None
|
|
30290
30506
|
self._EmbeddingConfig = None
|
|
30507
|
+
self._VideoConfig = None
|
|
30508
|
+
self._RerankConfig = None
|
|
30509
|
+
self._DecisionsConfig = None
|
|
30291
30510
|
|
|
30292
30511
|
@property
|
|
30293
30512
|
def ModelRouterId(self):
|
|
@@ -30357,7 +30576,7 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
30357
30576
|
|
|
30358
30577
|
@property
|
|
30359
30578
|
def Capability(self):
|
|
30360
|
-
r"""<p>模型输出模态</p>
|
|
30579
|
+
r"""<p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
30361
30580
|
:rtype: str
|
|
30362
30581
|
"""
|
|
30363
30582
|
return self._Capability
|
|
@@ -30368,7 +30587,7 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
30368
30587
|
|
|
30369
30588
|
@property
|
|
30370
30589
|
def EmbeddingConfig(self):
|
|
30371
|
-
r"""<p>
|
|
30590
|
+
r"""<p>Embedding 调度配置</p><p>传入该参数时,必须传Capability为embedding</p>
|
|
30372
30591
|
:rtype: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
30373
30592
|
"""
|
|
30374
30593
|
return self._EmbeddingConfig
|
|
@@ -30377,6 +30596,39 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
30377
30596
|
def EmbeddingConfig(self, EmbeddingConfig):
|
|
30378
30597
|
self._EmbeddingConfig = EmbeddingConfig
|
|
30379
30598
|
|
|
30599
|
+
@property
|
|
30600
|
+
def VideoConfig(self):
|
|
30601
|
+
r"""<p>Video 调度配置</p>
|
|
30602
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.VideoConfig`
|
|
30603
|
+
"""
|
|
30604
|
+
return self._VideoConfig
|
|
30605
|
+
|
|
30606
|
+
@VideoConfig.setter
|
|
30607
|
+
def VideoConfig(self, VideoConfig):
|
|
30608
|
+
self._VideoConfig = VideoConfig
|
|
30609
|
+
|
|
30610
|
+
@property
|
|
30611
|
+
def RerankConfig(self):
|
|
30612
|
+
r"""<p>Rerank 调度配置</p><p>传入该参数时,必须传Capability为rerank</p>
|
|
30613
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RerankConfig`
|
|
30614
|
+
"""
|
|
30615
|
+
return self._RerankConfig
|
|
30616
|
+
|
|
30617
|
+
@RerankConfig.setter
|
|
30618
|
+
def RerankConfig(self, RerankConfig):
|
|
30619
|
+
self._RerankConfig = RerankConfig
|
|
30620
|
+
|
|
30621
|
+
@property
|
|
30622
|
+
def DecisionsConfig(self):
|
|
30623
|
+
r"""<p>Decisions 调度配置</p>
|
|
30624
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
30625
|
+
"""
|
|
30626
|
+
return self._DecisionsConfig
|
|
30627
|
+
|
|
30628
|
+
@DecisionsConfig.setter
|
|
30629
|
+
def DecisionsConfig(self, DecisionsConfig):
|
|
30630
|
+
self._DecisionsConfig = DecisionsConfig
|
|
30631
|
+
|
|
30380
30632
|
|
|
30381
30633
|
def _deserialize(self, params):
|
|
30382
30634
|
self._ModelRouterId = params.get("ModelRouterId")
|
|
@@ -30393,6 +30645,15 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
30393
30645
|
if params.get("EmbeddingConfig") is not None:
|
|
30394
30646
|
self._EmbeddingConfig = EmbeddingConfig()
|
|
30395
30647
|
self._EmbeddingConfig._deserialize(params.get("EmbeddingConfig"))
|
|
30648
|
+
if params.get("VideoConfig") is not None:
|
|
30649
|
+
self._VideoConfig = VideoConfig()
|
|
30650
|
+
self._VideoConfig._deserialize(params.get("VideoConfig"))
|
|
30651
|
+
if params.get("RerankConfig") is not None:
|
|
30652
|
+
self._RerankConfig = RerankConfig()
|
|
30653
|
+
self._RerankConfig._deserialize(params.get("RerankConfig"))
|
|
30654
|
+
if params.get("DecisionsConfig") is not None:
|
|
30655
|
+
self._DecisionsConfig = DecisionsConfig()
|
|
30656
|
+
self._DecisionsConfig._deserialize(params.get("DecisionsConfig"))
|
|
30396
30657
|
memeber_set = set(params.keys())
|
|
30397
30658
|
for name, value in vars(self).items():
|
|
30398
30659
|
property_name = name[1:]
|
|
@@ -33515,6 +33776,80 @@ class ReplaceCertForLoadBalancersResponse(AbstractModel):
|
|
|
33515
33776
|
self._RequestId = params.get("RequestId")
|
|
33516
33777
|
|
|
33517
33778
|
|
|
33779
|
+
class RerankConfig(AbstractModel):
|
|
33780
|
+
r"""Rerank调度配置。
|
|
33781
|
+
|
|
33782
|
+
"""
|
|
33783
|
+
|
|
33784
|
+
def __init__(self):
|
|
33785
|
+
r"""
|
|
33786
|
+
:param _RoutingStrategy: <p>L2路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
|
|
33787
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33788
|
+
:type RoutingStrategy: str
|
|
33789
|
+
:param _RoutingStrategyArgs: <p>L2路由算法参数</p>
|
|
33790
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33791
|
+
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
33792
|
+
:param _NumRetries: <p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
33793
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33794
|
+
:type NumRetries: int
|
|
33795
|
+
"""
|
|
33796
|
+
self._RoutingStrategy = None
|
|
33797
|
+
self._RoutingStrategyArgs = None
|
|
33798
|
+
self._NumRetries = None
|
|
33799
|
+
|
|
33800
|
+
@property
|
|
33801
|
+
def RoutingStrategy(self):
|
|
33802
|
+
r"""<p>L2路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
|
|
33803
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33804
|
+
:rtype: str
|
|
33805
|
+
"""
|
|
33806
|
+
return self._RoutingStrategy
|
|
33807
|
+
|
|
33808
|
+
@RoutingStrategy.setter
|
|
33809
|
+
def RoutingStrategy(self, RoutingStrategy):
|
|
33810
|
+
self._RoutingStrategy = RoutingStrategy
|
|
33811
|
+
|
|
33812
|
+
@property
|
|
33813
|
+
def RoutingStrategyArgs(self):
|
|
33814
|
+
r"""<p>L2路由算法参数</p>
|
|
33815
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33816
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
33817
|
+
"""
|
|
33818
|
+
return self._RoutingStrategyArgs
|
|
33819
|
+
|
|
33820
|
+
@RoutingStrategyArgs.setter
|
|
33821
|
+
def RoutingStrategyArgs(self, RoutingStrategyArgs):
|
|
33822
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs
|
|
33823
|
+
|
|
33824
|
+
@property
|
|
33825
|
+
def NumRetries(self):
|
|
33826
|
+
r"""<p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
33827
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33828
|
+
:rtype: int
|
|
33829
|
+
"""
|
|
33830
|
+
return self._NumRetries
|
|
33831
|
+
|
|
33832
|
+
@NumRetries.setter
|
|
33833
|
+
def NumRetries(self, NumRetries):
|
|
33834
|
+
self._NumRetries = NumRetries
|
|
33835
|
+
|
|
33836
|
+
|
|
33837
|
+
def _deserialize(self, params):
|
|
33838
|
+
self._RoutingStrategy = params.get("RoutingStrategy")
|
|
33839
|
+
if params.get("RoutingStrategyArgs") is not None:
|
|
33840
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs()
|
|
33841
|
+
self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
|
|
33842
|
+
self._NumRetries = params.get("NumRetries")
|
|
33843
|
+
memeber_set = set(params.keys())
|
|
33844
|
+
for name, value in vars(self).items():
|
|
33845
|
+
property_name = name[1:]
|
|
33846
|
+
if property_name in memeber_set:
|
|
33847
|
+
memeber_set.remove(property_name)
|
|
33848
|
+
if len(memeber_set) > 0:
|
|
33849
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33850
|
+
|
|
33851
|
+
|
|
33852
|
+
|
|
33518
33853
|
class Resource(AbstractModel):
|
|
33519
33854
|
r"""资源详细信息
|
|
33520
33855
|
|
|
@@ -38953,7 +39288,7 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
38953
39288
|
:type HealthCheckProtocol: str
|
|
38954
39289
|
:param _CMRPrivateNetworkTunnelId: <p> CMR 私网管道ID </p>
|
|
38955
39290
|
:type CMRPrivateNetworkTunnelId: str
|
|
38956
|
-
:param _Capability: <p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li></ul>
|
|
39291
|
+
:param _Capability: <p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li><li>rerank: 重排序能力</li><li>video: 生视频能力</li></ul>
|
|
38957
39292
|
:type Capability: str
|
|
38958
39293
|
:param _EndpointPath: <p>端点路径</p>
|
|
38959
39294
|
:type EndpointPath: str
|
|
@@ -39113,7 +39448,7 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
39113
39448
|
|
|
39114
39449
|
@property
|
|
39115
39450
|
def Capability(self):
|
|
39116
|
-
r"""<p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li></ul>
|
|
39451
|
+
r"""<p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li><li>rerank: 重排序能力</li><li>video: 生视频能力</li></ul>
|
|
39117
39452
|
:rtype: str
|
|
39118
39453
|
"""
|
|
39119
39454
|
return self._Capability
|
|
@@ -39613,6 +39948,80 @@ class UserGroupInfo(AbstractModel):
|
|
|
39613
39948
|
|
|
39614
39949
|
|
|
39615
39950
|
|
|
39951
|
+
class VideoConfig(AbstractModel):
|
|
39952
|
+
r"""video配置。
|
|
39953
|
+
|
|
39954
|
+
"""
|
|
39955
|
+
|
|
39956
|
+
def __init__(self):
|
|
39957
|
+
r"""
|
|
39958
|
+
:param _RoutingStrategy: <p>模型内路由策略</p>
|
|
39959
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
39960
|
+
:type RoutingStrategy: str
|
|
39961
|
+
:param _RoutingStrategyArgs: <p>路由参数</p>
|
|
39962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
39963
|
+
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
39964
|
+
:param _NumRetries: <p>同一模型请求重试次数</p>
|
|
39965
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
39966
|
+
:type NumRetries: int
|
|
39967
|
+
"""
|
|
39968
|
+
self._RoutingStrategy = None
|
|
39969
|
+
self._RoutingStrategyArgs = None
|
|
39970
|
+
self._NumRetries = None
|
|
39971
|
+
|
|
39972
|
+
@property
|
|
39973
|
+
def RoutingStrategy(self):
|
|
39974
|
+
r"""<p>模型内路由策略</p>
|
|
39975
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
39976
|
+
:rtype: str
|
|
39977
|
+
"""
|
|
39978
|
+
return self._RoutingStrategy
|
|
39979
|
+
|
|
39980
|
+
@RoutingStrategy.setter
|
|
39981
|
+
def RoutingStrategy(self, RoutingStrategy):
|
|
39982
|
+
self._RoutingStrategy = RoutingStrategy
|
|
39983
|
+
|
|
39984
|
+
@property
|
|
39985
|
+
def RoutingStrategyArgs(self):
|
|
39986
|
+
r"""<p>路由参数</p>
|
|
39987
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
39988
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
39989
|
+
"""
|
|
39990
|
+
return self._RoutingStrategyArgs
|
|
39991
|
+
|
|
39992
|
+
@RoutingStrategyArgs.setter
|
|
39993
|
+
def RoutingStrategyArgs(self, RoutingStrategyArgs):
|
|
39994
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs
|
|
39995
|
+
|
|
39996
|
+
@property
|
|
39997
|
+
def NumRetries(self):
|
|
39998
|
+
r"""<p>同一模型请求重试次数</p>
|
|
39999
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
40000
|
+
:rtype: int
|
|
40001
|
+
"""
|
|
40002
|
+
return self._NumRetries
|
|
40003
|
+
|
|
40004
|
+
@NumRetries.setter
|
|
40005
|
+
def NumRetries(self, NumRetries):
|
|
40006
|
+
self._NumRetries = NumRetries
|
|
40007
|
+
|
|
40008
|
+
|
|
40009
|
+
def _deserialize(self, params):
|
|
40010
|
+
self._RoutingStrategy = params.get("RoutingStrategy")
|
|
40011
|
+
if params.get("RoutingStrategyArgs") is not None:
|
|
40012
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs()
|
|
40013
|
+
self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
|
|
40014
|
+
self._NumRetries = params.get("NumRetries")
|
|
40015
|
+
memeber_set = set(params.keys())
|
|
40016
|
+
for name, value in vars(self).items():
|
|
40017
|
+
property_name = name[1:]
|
|
40018
|
+
if property_name in memeber_set:
|
|
40019
|
+
memeber_set.remove(property_name)
|
|
40020
|
+
if len(memeber_set) > 0:
|
|
40021
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
40022
|
+
|
|
40023
|
+
|
|
40024
|
+
|
|
39616
40025
|
class ZoneInfo(AbstractModel):
|
|
39617
40026
|
r"""可用区相关信息
|
|
39618
40027
|
|
|
@@ -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.181
|
|
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.181
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.181
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.180
|
|
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
|