tencentcloud-sdk-python-clb 3.1.179__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.179 → tencentcloud_sdk_python_clb-3.1.181}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_clb-3.1.179 → tencentcloud_sdk_python_clb-3.1.181}/setup.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.179 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.179 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/clb/v20180317/models.py +503 -32
- {tencentcloud_sdk_python_clb-3.1.179 → 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.179/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_clb-3.1.179 → tencentcloud_sdk_python_clb-3.1.181}/README.rst +0 -0
- {tencentcloud_sdk_python_clb-3.1.179 → tencentcloud_sdk_python_clb-3.1.181}/setup.cfg +0 -0
- {tencentcloud_sdk_python_clb-3.1.179 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.179 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.179 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/clb/v20180317/clb_client.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.179 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.179 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.179 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.179 → tencentcloud_sdk_python_clb-3.1.181}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.179 → 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',
|
|
@@ -987,15 +987,15 @@ class AutoRewriteRequest(AbstractModel):
|
|
|
987
987
|
|
|
988
988
|
def __init__(self):
|
|
989
989
|
r"""
|
|
990
|
-
:param _LoadBalancerId:
|
|
990
|
+
:param _LoadBalancerId: <p>负载均衡实例ID。</p>
|
|
991
991
|
:type LoadBalancerId: str
|
|
992
|
-
:param _ListenerId: HTTPS:443监听器的ID
|
|
992
|
+
:param _ListenerId: <p>HTTPS:443监听器的ID。</p>
|
|
993
993
|
:type ListenerId: str
|
|
994
|
-
:param _Domains: HTTPS:443监听器下需要重定向的域名,若不填,则对HTTPS:443
|
|
994
|
+
:param _Domains: <p>HTTPS:443监听器下需要重定向的域名,若不填,则对HTTPS:443监听器下的所有域名都设置重定向。</p>
|
|
995
995
|
:type Domains: list of str
|
|
996
|
-
:param _RewriteCodes:
|
|
996
|
+
:param _RewriteCodes: <p>重定向状态码,可取值301,302,307。</p><p>默认值:302</p>
|
|
997
997
|
:type RewriteCodes: list of int
|
|
998
|
-
:param _TakeUrls:
|
|
998
|
+
:param _TakeUrls: <p>重定向是否携带匹配的URL。</p>
|
|
999
999
|
:type TakeUrls: list of bool
|
|
1000
1000
|
"""
|
|
1001
1001
|
self._LoadBalancerId = None
|
|
@@ -1006,7 +1006,7 @@ class AutoRewriteRequest(AbstractModel):
|
|
|
1006
1006
|
|
|
1007
1007
|
@property
|
|
1008
1008
|
def LoadBalancerId(self):
|
|
1009
|
-
r"""
|
|
1009
|
+
r"""<p>负载均衡实例ID。</p>
|
|
1010
1010
|
:rtype: str
|
|
1011
1011
|
"""
|
|
1012
1012
|
return self._LoadBalancerId
|
|
@@ -1017,7 +1017,7 @@ class AutoRewriteRequest(AbstractModel):
|
|
|
1017
1017
|
|
|
1018
1018
|
@property
|
|
1019
1019
|
def ListenerId(self):
|
|
1020
|
-
r"""HTTPS:443监听器的ID
|
|
1020
|
+
r"""<p>HTTPS:443监听器的ID。</p>
|
|
1021
1021
|
:rtype: str
|
|
1022
1022
|
"""
|
|
1023
1023
|
return self._ListenerId
|
|
@@ -1028,7 +1028,7 @@ class AutoRewriteRequest(AbstractModel):
|
|
|
1028
1028
|
|
|
1029
1029
|
@property
|
|
1030
1030
|
def Domains(self):
|
|
1031
|
-
r"""HTTPS:443监听器下需要重定向的域名,若不填,则对HTTPS:443
|
|
1031
|
+
r"""<p>HTTPS:443监听器下需要重定向的域名,若不填,则对HTTPS:443监听器下的所有域名都设置重定向。</p>
|
|
1032
1032
|
:rtype: list of str
|
|
1033
1033
|
"""
|
|
1034
1034
|
return self._Domains
|
|
@@ -1039,7 +1039,7 @@ class AutoRewriteRequest(AbstractModel):
|
|
|
1039
1039
|
|
|
1040
1040
|
@property
|
|
1041
1041
|
def RewriteCodes(self):
|
|
1042
|
-
r"""
|
|
1042
|
+
r"""<p>重定向状态码,可取值301,302,307。</p><p>默认值:302</p>
|
|
1043
1043
|
:rtype: list of int
|
|
1044
1044
|
"""
|
|
1045
1045
|
return self._RewriteCodes
|
|
@@ -1050,7 +1050,7 @@ class AutoRewriteRequest(AbstractModel):
|
|
|
1050
1050
|
|
|
1051
1051
|
@property
|
|
1052
1052
|
def TakeUrls(self):
|
|
1053
|
-
r"""
|
|
1053
|
+
r"""<p>重定向是否携带匹配的URL。</p>
|
|
1054
1054
|
:rtype: list of bool
|
|
1055
1055
|
"""
|
|
1056
1056
|
return self._TakeUrls
|
|
@@ -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
|
|
|
@@ -35790,12 +36125,18 @@ class ServiceProviderHealthCheckConfigItemInput(AbstractModel):
|
|
|
35790
36125
|
:type HealthCheckMaxTokens: int
|
|
35791
36126
|
:param _HealthCheckProtocol: <p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/v1/messages协议</li></ul>
|
|
35792
36127
|
:type HealthCheckProtocol: str
|
|
36128
|
+
:param _HealthCheckPath: <p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
|
|
36129
|
+
:type HealthCheckPath: str
|
|
36130
|
+
:param _HealthCheckMethod: <p>健康检查方式。</p><p>枚举值:</p><ul><li>Service: 探测服务可用性</li><li>Model: 探测模型可用性</li></ul>
|
|
36131
|
+
:type HealthCheckMethod: str
|
|
35793
36132
|
"""
|
|
35794
36133
|
self._HealthCheckEnabled = None
|
|
35795
36134
|
self._HealthCheckInterval = None
|
|
35796
36135
|
self._HealthCheckUnhealthyThreshold = None
|
|
35797
36136
|
self._HealthCheckMaxTokens = None
|
|
35798
36137
|
self._HealthCheckProtocol = None
|
|
36138
|
+
self._HealthCheckPath = None
|
|
36139
|
+
self._HealthCheckMethod = None
|
|
35799
36140
|
|
|
35800
36141
|
@property
|
|
35801
36142
|
def HealthCheckEnabled(self):
|
|
@@ -35852,6 +36193,28 @@ class ServiceProviderHealthCheckConfigItemInput(AbstractModel):
|
|
|
35852
36193
|
def HealthCheckProtocol(self, HealthCheckProtocol):
|
|
35853
36194
|
self._HealthCheckProtocol = HealthCheckProtocol
|
|
35854
36195
|
|
|
36196
|
+
@property
|
|
36197
|
+
def HealthCheckPath(self):
|
|
36198
|
+
r"""<p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
|
|
36199
|
+
:rtype: str
|
|
36200
|
+
"""
|
|
36201
|
+
return self._HealthCheckPath
|
|
36202
|
+
|
|
36203
|
+
@HealthCheckPath.setter
|
|
36204
|
+
def HealthCheckPath(self, HealthCheckPath):
|
|
36205
|
+
self._HealthCheckPath = HealthCheckPath
|
|
36206
|
+
|
|
36207
|
+
@property
|
|
36208
|
+
def HealthCheckMethod(self):
|
|
36209
|
+
r"""<p>健康检查方式。</p><p>枚举值:</p><ul><li>Service: 探测服务可用性</li><li>Model: 探测模型可用性</li></ul>
|
|
36210
|
+
:rtype: str
|
|
36211
|
+
"""
|
|
36212
|
+
return self._HealthCheckMethod
|
|
36213
|
+
|
|
36214
|
+
@HealthCheckMethod.setter
|
|
36215
|
+
def HealthCheckMethod(self, HealthCheckMethod):
|
|
36216
|
+
self._HealthCheckMethod = HealthCheckMethod
|
|
36217
|
+
|
|
35855
36218
|
|
|
35856
36219
|
def _deserialize(self, params):
|
|
35857
36220
|
self._HealthCheckEnabled = params.get("HealthCheckEnabled")
|
|
@@ -35859,6 +36222,8 @@ class ServiceProviderHealthCheckConfigItemInput(AbstractModel):
|
|
|
35859
36222
|
self._HealthCheckUnhealthyThreshold = params.get("HealthCheckUnhealthyThreshold")
|
|
35860
36223
|
self._HealthCheckMaxTokens = params.get("HealthCheckMaxTokens")
|
|
35861
36224
|
self._HealthCheckProtocol = params.get("HealthCheckProtocol")
|
|
36225
|
+
self._HealthCheckPath = params.get("HealthCheckPath")
|
|
36226
|
+
self._HealthCheckMethod = params.get("HealthCheckMethod")
|
|
35862
36227
|
memeber_set = set(params.keys())
|
|
35863
36228
|
for name, value in vars(self).items():
|
|
35864
36229
|
property_name = name[1:]
|
|
@@ -35883,16 +36248,23 @@ class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
|
|
|
35883
36248
|
:param _HealthCheckUnhealthyThreshold: <p>不健康阈值。表示当模型连续多少次不健康时认为该模型不健康。</p><p>取值范围:[1, 10]</p><p>默认值:1</p>
|
|
35884
36249
|
:type HealthCheckUnhealthyThreshold: int
|
|
35885
36250
|
:param _HealthCheckMaxTokens: <p>健康检查使用的最大Token数量。部分模型如gpt系列可能仅支持大于等于16。</p><p>默认值:1</p>
|
|
36251
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35886
36252
|
:type HealthCheckMaxTokens: int
|
|
35887
36253
|
:param _HealthCheckProtocol: <p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/v1/messages协议</li></ul>
|
|
35888
36254
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35889
36255
|
:type HealthCheckProtocol: str
|
|
36256
|
+
:param _HealthCheckPath: <p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
|
|
36257
|
+
:type HealthCheckPath: str
|
|
36258
|
+
:param _HealthCheckMethod: <p>健康检查方式。</p>
|
|
36259
|
+
:type HealthCheckMethod: str
|
|
35890
36260
|
"""
|
|
35891
36261
|
self._HealthCheckEnabled = None
|
|
35892
36262
|
self._HealthCheckInterval = None
|
|
35893
36263
|
self._HealthCheckUnhealthyThreshold = None
|
|
35894
36264
|
self._HealthCheckMaxTokens = None
|
|
35895
36265
|
self._HealthCheckProtocol = None
|
|
36266
|
+
self._HealthCheckPath = None
|
|
36267
|
+
self._HealthCheckMethod = None
|
|
35896
36268
|
|
|
35897
36269
|
@property
|
|
35898
36270
|
def HealthCheckEnabled(self):
|
|
@@ -35930,6 +36302,7 @@ class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
|
|
|
35930
36302
|
@property
|
|
35931
36303
|
def HealthCheckMaxTokens(self):
|
|
35932
36304
|
r"""<p>健康检查使用的最大Token数量。部分模型如gpt系列可能仅支持大于等于16。</p><p>默认值:1</p>
|
|
36305
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35933
36306
|
:rtype: int
|
|
35934
36307
|
"""
|
|
35935
36308
|
return self._HealthCheckMaxTokens
|
|
@@ -35950,6 +36323,28 @@ class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
|
|
|
35950
36323
|
def HealthCheckProtocol(self, HealthCheckProtocol):
|
|
35951
36324
|
self._HealthCheckProtocol = HealthCheckProtocol
|
|
35952
36325
|
|
|
36326
|
+
@property
|
|
36327
|
+
def HealthCheckPath(self):
|
|
36328
|
+
r"""<p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
|
|
36329
|
+
:rtype: str
|
|
36330
|
+
"""
|
|
36331
|
+
return self._HealthCheckPath
|
|
36332
|
+
|
|
36333
|
+
@HealthCheckPath.setter
|
|
36334
|
+
def HealthCheckPath(self, HealthCheckPath):
|
|
36335
|
+
self._HealthCheckPath = HealthCheckPath
|
|
36336
|
+
|
|
36337
|
+
@property
|
|
36338
|
+
def HealthCheckMethod(self):
|
|
36339
|
+
r"""<p>健康检查方式。</p>
|
|
36340
|
+
:rtype: str
|
|
36341
|
+
"""
|
|
36342
|
+
return self._HealthCheckMethod
|
|
36343
|
+
|
|
36344
|
+
@HealthCheckMethod.setter
|
|
36345
|
+
def HealthCheckMethod(self, HealthCheckMethod):
|
|
36346
|
+
self._HealthCheckMethod = HealthCheckMethod
|
|
36347
|
+
|
|
35953
36348
|
|
|
35954
36349
|
def _deserialize(self, params):
|
|
35955
36350
|
self._HealthCheckEnabled = params.get("HealthCheckEnabled")
|
|
@@ -35957,6 +36352,8 @@ class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
|
|
|
35957
36352
|
self._HealthCheckUnhealthyThreshold = params.get("HealthCheckUnhealthyThreshold")
|
|
35958
36353
|
self._HealthCheckMaxTokens = params.get("HealthCheckMaxTokens")
|
|
35959
36354
|
self._HealthCheckProtocol = params.get("HealthCheckProtocol")
|
|
36355
|
+
self._HealthCheckPath = params.get("HealthCheckPath")
|
|
36356
|
+
self._HealthCheckMethod = params.get("HealthCheckMethod")
|
|
35960
36357
|
memeber_set = set(params.keys())
|
|
35961
36358
|
for name, value in vars(self).items():
|
|
35962
36359
|
property_name = name[1:]
|
|
@@ -38891,7 +39288,7 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
38891
39288
|
:type HealthCheckProtocol: str
|
|
38892
39289
|
:param _CMRPrivateNetworkTunnelId: <p> CMR 私网管道ID </p>
|
|
38893
39290
|
:type CMRPrivateNetworkTunnelId: str
|
|
38894
|
-
: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>
|
|
38895
39292
|
:type Capability: str
|
|
38896
39293
|
:param _EndpointPath: <p>端点路径</p>
|
|
38897
39294
|
:type EndpointPath: str
|
|
@@ -39051,7 +39448,7 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
39051
39448
|
|
|
39052
39449
|
@property
|
|
39053
39450
|
def Capability(self):
|
|
39054
|
-
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>
|
|
39055
39452
|
:rtype: str
|
|
39056
39453
|
"""
|
|
39057
39454
|
return self._Capability
|
|
@@ -39551,6 +39948,80 @@ class UserGroupInfo(AbstractModel):
|
|
|
39551
39948
|
|
|
39552
39949
|
|
|
39553
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
|
+
|
|
39554
40025
|
class ZoneInfo(AbstractModel):
|
|
39555
40026
|
r"""可用区相关信息
|
|
39556
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.179
|
|
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
|