tencentcloud-sdk-python-clb 3.1.178__tar.gz → 3.1.180__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/setup.py +1 -1
  3. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/tencentcloud/clb/v20180317/models.py +447 -33
  5. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_clb-3.1.180/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_clb-3.1.178/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/README.rst +0 -0
  9. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/tencentcloud/clb/__init__.py +0 -0
  11. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/tencentcloud/clb/v20180317/__init__.py +0 -0
  12. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/tencentcloud/clb/v20180317/clb_client.py +0 -0
  13. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
  14. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_clb-3.1.178 → tencentcloud_sdk_python_clb-3.1.180}/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.178
3
+ Version: 3.1.180
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.178
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.180
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.178,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.180,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Clb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.178'
17
+ __version__ = '3.1.180'
@@ -987,15 +987,15 @@ class AutoRewriteRequest(AbstractModel):
987
987
 
988
988
  def __init__(self):
989
989
  r"""
990
- :param _LoadBalancerId: 负载均衡实例ID。
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: 重定向状态码,可取值301,302,307。
996
+ :param _RewriteCodes: <p>重定向状态码,可取值301,302,307。</p><p>默认值:302</p>
997
997
  :type RewriteCodes: list of int
998
- :param _TakeUrls: 重定向是否携带匹配的URL。
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"""负载均衡实例ID。
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"""重定向状态码,可取值301,302,307。
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"""重定向是否携带匹配的URL。
1053
+ r"""<p>重定向是否携带匹配的URL。</p>
1054
1054
  :rtype: list of bool
1055
1055
  """
1056
1056
  return self._TakeUrls
@@ -5153,11 +5153,20 @@ class Coefficient(AbstractModel):
5153
5153
  :type InputCoefficient: float
5154
5154
  :param _OutputCoefficient: <p>输出积分系数。</p><p>取值范围:[1, 5000]</p><p>默认值:100</p>
5155
5155
  :type OutputCoefficient: float
5156
+ :param _InputImageCoefficient: <p>输入图片系数</p>
5157
+ :type InputImageCoefficient: float
5158
+ :param _InputVideoSecondCoefficient: <p>输入视频每秒系数</p>
5159
+ :type InputVideoSecondCoefficient: float
5160
+ :param _OutputVideoSecondCoefficient: <p>输出视频每秒系数</p>
5161
+ :type OutputVideoSecondCoefficient: float
5156
5162
  """
5157
5163
  self._InputCachedCoefficient = None
5158
5164
  self._InputCacheCreationCoefficient = None
5159
5165
  self._InputCoefficient = None
5160
5166
  self._OutputCoefficient = None
5167
+ self._InputImageCoefficient = None
5168
+ self._InputVideoSecondCoefficient = None
5169
+ self._OutputVideoSecondCoefficient = None
5161
5170
 
5162
5171
  @property
5163
5172
  def InputCachedCoefficient(self):
@@ -5203,12 +5212,235 @@ class Coefficient(AbstractModel):
5203
5212
  def OutputCoefficient(self, OutputCoefficient):
5204
5213
  self._OutputCoefficient = OutputCoefficient
5205
5214
 
5215
+ @property
5216
+ def InputImageCoefficient(self):
5217
+ r"""<p>输入图片系数</p>
5218
+ :rtype: float
5219
+ """
5220
+ return self._InputImageCoefficient
5221
+
5222
+ @InputImageCoefficient.setter
5223
+ def InputImageCoefficient(self, InputImageCoefficient):
5224
+ self._InputImageCoefficient = InputImageCoefficient
5225
+
5226
+ @property
5227
+ def InputVideoSecondCoefficient(self):
5228
+ r"""<p>输入视频每秒系数</p>
5229
+ :rtype: float
5230
+ """
5231
+ return self._InputVideoSecondCoefficient
5232
+
5233
+ @InputVideoSecondCoefficient.setter
5234
+ def InputVideoSecondCoefficient(self, InputVideoSecondCoefficient):
5235
+ self._InputVideoSecondCoefficient = InputVideoSecondCoefficient
5236
+
5237
+ @property
5238
+ def OutputVideoSecondCoefficient(self):
5239
+ r"""<p>输出视频每秒系数</p>
5240
+ :rtype: float
5241
+ """
5242
+ return self._OutputVideoSecondCoefficient
5243
+
5244
+ @OutputVideoSecondCoefficient.setter
5245
+ def OutputVideoSecondCoefficient(self, OutputVideoSecondCoefficient):
5246
+ self._OutputVideoSecondCoefficient = OutputVideoSecondCoefficient
5247
+
5206
5248
 
5207
5249
  def _deserialize(self, params):
5208
5250
  self._InputCachedCoefficient = params.get("InputCachedCoefficient")
5209
5251
  self._InputCacheCreationCoefficient = params.get("InputCacheCreationCoefficient")
5210
5252
  self._InputCoefficient = params.get("InputCoefficient")
5211
5253
  self._OutputCoefficient = params.get("OutputCoefficient")
5254
+ self._InputImageCoefficient = params.get("InputImageCoefficient")
5255
+ self._InputVideoSecondCoefficient = params.get("InputVideoSecondCoefficient")
5256
+ self._OutputVideoSecondCoefficient = params.get("OutputVideoSecondCoefficient")
5257
+ memeber_set = set(params.keys())
5258
+ for name, value in vars(self).items():
5259
+ property_name = name[1:]
5260
+ if property_name in memeber_set:
5261
+ memeber_set.remove(property_name)
5262
+ if len(memeber_set) > 0:
5263
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5264
+
5265
+
5266
+
5267
+ class CoefficientScheduleRule(AbstractModel):
5268
+ r"""峰谷计费配置
5269
+
5270
+ """
5271
+
5272
+ def __init__(self):
5273
+ r"""
5274
+ :param _Weekdays: <p>1~7,表示周一至周日</p>
5275
+ :type Weekdays: list of int non-negative
5276
+ :param _StartTime: <p>00:00~23:59,固定 UTC+8,窗口左闭</p><p>参数格式:HH:mm</p>
5277
+ :type StartTime: str
5278
+ :param _EndTime: <p>大于 StartTime,最大 24:00,窗口右开;跨午夜拆分并调整星期</p><p>参数格式:HH:mm</p>
5279
+ :type EndTime: str
5280
+ :param _Multiplier: <p>有限非负数,建议最多 6 位小数;0 免费、0.5 半价、1 原价,可大于 1;倍率计算后的价格须在服务支持的数值范围内</p>
5281
+ :type Multiplier: float
5282
+ """
5283
+ self._Weekdays = None
5284
+ self._StartTime = None
5285
+ self._EndTime = None
5286
+ self._Multiplier = None
5287
+
5288
+ @property
5289
+ def Weekdays(self):
5290
+ r"""<p>1~7,表示周一至周日</p>
5291
+ :rtype: list of int non-negative
5292
+ """
5293
+ return self._Weekdays
5294
+
5295
+ @Weekdays.setter
5296
+ def Weekdays(self, Weekdays):
5297
+ self._Weekdays = Weekdays
5298
+
5299
+ @property
5300
+ def StartTime(self):
5301
+ r"""<p>00:00~23:59,固定 UTC+8,窗口左闭</p><p>参数格式:HH:mm</p>
5302
+ :rtype: str
5303
+ """
5304
+ return self._StartTime
5305
+
5306
+ @StartTime.setter
5307
+ def StartTime(self, StartTime):
5308
+ self._StartTime = StartTime
5309
+
5310
+ @property
5311
+ def EndTime(self):
5312
+ r"""<p>大于 StartTime,最大 24:00,窗口右开;跨午夜拆分并调整星期</p><p>参数格式:HH:mm</p>
5313
+ :rtype: str
5314
+ """
5315
+ return self._EndTime
5316
+
5317
+ @EndTime.setter
5318
+ def EndTime(self, EndTime):
5319
+ self._EndTime = EndTime
5320
+
5321
+ @property
5322
+ def Multiplier(self):
5323
+ r"""<p>有限非负数,建议最多 6 位小数;0 免费、0.5 半价、1 原价,可大于 1;倍率计算后的价格须在服务支持的数值范围内</p>
5324
+ :rtype: float
5325
+ """
5326
+ return self._Multiplier
5327
+
5328
+ @Multiplier.setter
5329
+ def Multiplier(self, Multiplier):
5330
+ self._Multiplier = Multiplier
5331
+
5332
+
5333
+ def _deserialize(self, params):
5334
+ self._Weekdays = params.get("Weekdays")
5335
+ self._StartTime = params.get("StartTime")
5336
+ self._EndTime = params.get("EndTime")
5337
+ self._Multiplier = params.get("Multiplier")
5338
+ memeber_set = set(params.keys())
5339
+ for name, value in vars(self).items():
5340
+ property_name = name[1:]
5341
+ if property_name in memeber_set:
5342
+ memeber_set.remove(property_name)
5343
+ if len(memeber_set) > 0:
5344
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5345
+
5346
+
5347
+
5348
+ class CoefficientTier(AbstractModel):
5349
+ r"""积分分档配置
5350
+
5351
+ """
5352
+
5353
+ def __init__(self):
5354
+ r"""
5355
+ :param _Condition: <p>积分分级条件</p>
5356
+ :type Condition: :class:`tencentcloud.clb.v20180317.models.CoefficientTierCondition`
5357
+ :param _Coefficient: <p>积分系数</p>
5358
+ :type Coefficient: :class:`tencentcloud.clb.v20180317.models.Coefficient`
5359
+ """
5360
+ self._Condition = None
5361
+ self._Coefficient = None
5362
+
5363
+ @property
5364
+ def Condition(self):
5365
+ r"""<p>积分分级条件</p>
5366
+ :rtype: :class:`tencentcloud.clb.v20180317.models.CoefficientTierCondition`
5367
+ """
5368
+ return self._Condition
5369
+
5370
+ @Condition.setter
5371
+ def Condition(self, Condition):
5372
+ self._Condition = Condition
5373
+
5374
+ @property
5375
+ def Coefficient(self):
5376
+ r"""<p>积分系数</p>
5377
+ :rtype: :class:`tencentcloud.clb.v20180317.models.Coefficient`
5378
+ """
5379
+ return self._Coefficient
5380
+
5381
+ @Coefficient.setter
5382
+ def Coefficient(self, Coefficient):
5383
+ self._Coefficient = Coefficient
5384
+
5385
+
5386
+ def _deserialize(self, params):
5387
+ if params.get("Condition") is not None:
5388
+ self._Condition = CoefficientTierCondition()
5389
+ self._Condition._deserialize(params.get("Condition"))
5390
+ if params.get("Coefficient") is not None:
5391
+ self._Coefficient = Coefficient()
5392
+ self._Coefficient._deserialize(params.get("Coefficient"))
5393
+ memeber_set = set(params.keys())
5394
+ for name, value in vars(self).items():
5395
+ property_name = name[1:]
5396
+ if property_name in memeber_set:
5397
+ memeber_set.remove(property_name)
5398
+ if len(memeber_set) > 0:
5399
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5400
+
5401
+
5402
+
5403
+ class CoefficientTierCondition(AbstractModel):
5404
+ r"""积分分档匹配条件
5405
+
5406
+ """
5407
+
5408
+ def __init__(self):
5409
+ r"""
5410
+ :param _InputTokensAbove: <p>仅 chat;单位 K Token(1K=1000 Token);非负整数,最大 2147483647;非空数组首条必须为 0,数组内严格递增、无重复;输入总 Token 严格超过阈值×1000,取满足条件的最大阈值,整单选价</p>
5411
+ :type InputTokensAbove: int
5412
+ :param _Resolution: <p>video 仅 480p/720p/768p/1024p/1080p/2k/4k,统一小写;只校验全局枚举,不校验模型支持子集;列表内不重复</p>
5413
+ :type Resolution: str
5414
+ """
5415
+ self._InputTokensAbove = None
5416
+ self._Resolution = None
5417
+
5418
+ @property
5419
+ def InputTokensAbove(self):
5420
+ r"""<p>仅 chat;单位 K Token(1K=1000 Token);非负整数,最大 2147483647;非空数组首条必须为 0,数组内严格递增、无重复;输入总 Token 严格超过阈值×1000,取满足条件的最大阈值,整单选价</p>
5421
+ :rtype: int
5422
+ """
5423
+ return self._InputTokensAbove
5424
+
5425
+ @InputTokensAbove.setter
5426
+ def InputTokensAbove(self, InputTokensAbove):
5427
+ self._InputTokensAbove = InputTokensAbove
5428
+
5429
+ @property
5430
+ def Resolution(self):
5431
+ r"""<p>video 仅 480p/720p/768p/1024p/1080p/2k/4k,统一小写;只校验全局枚举,不校验模型支持子集;列表内不重复</p>
5432
+ :rtype: str
5433
+ """
5434
+ return self._Resolution
5435
+
5436
+ @Resolution.setter
5437
+ def Resolution(self, Resolution):
5438
+ self._Resolution = Resolution
5439
+
5440
+
5441
+ def _deserialize(self, params):
5442
+ self._InputTokensAbove = params.get("InputTokensAbove")
5443
+ self._Resolution = params.get("Resolution")
5212
5444
  memeber_set = set(params.keys())
5213
5445
  for name, value in vars(self).items():
5214
5446
  property_name = name[1:]
@@ -14736,13 +14968,13 @@ class DescribeModelAliasesRequest(AbstractModel):
14736
14968
 
14737
14969
  def __init__(self):
14738
14970
  r"""
14739
- :param _Filters: <p>过滤条件</p><p>支持的过滤键:</p><ul><li>ModelAliasName:按模型别名过滤。</li></ul>
14971
+ :param _Filters: <p>过滤条件</p><p></p>- ModelAliasName:模型别名<p></p><p></p>- Capability:输出模态<p></p>
14740
14972
  :type Filters: list of Filter
14741
14973
  :param _Limit: <p>每页数量,取值范围:[1, 100],默认值:20。</p>
14742
14974
  :type Limit: int
14743
14975
  :param _Offset: <p>分页偏移量,默认值:0。</p>
14744
14976
  :type Offset: int
14745
- :param _Sort: <p>排序条件。支持按 InputCoefficient、InputCachedCoefficient 或 OutputCoefficient 排序,Order 支持 ASC、DESC。不传或传空数组时,默认按 OutputCoefficient 降序排列。最多支持 3 个排序条件,排序字段不可重复。</p>
14977
+ :param _Sort: <p>排序条件。支持按 InputCoefficient 或 OutputCoefficient 排序,Order 支持 ASC、DESC。不传或传空数组时,默认按 OutputCoefficient 降序排列。最多支持 2 个排序条件,排序字段不可重复。</p>
14746
14978
  :type Sort: list of Sort
14747
14979
  """
14748
14980
  self._Filters = None
@@ -14752,7 +14984,7 @@ class DescribeModelAliasesRequest(AbstractModel):
14752
14984
 
14753
14985
  @property
14754
14986
  def Filters(self):
14755
- r"""<p>过滤条件</p><p>支持的过滤键:</p><ul><li>ModelAliasName:按模型别名过滤。</li></ul>
14987
+ r"""<p>过滤条件</p><p></p>- ModelAliasName:模型别名<p></p><p></p>- Capability:输出模态<p></p>
14756
14988
  :rtype: list of Filter
14757
14989
  """
14758
14990
  return self._Filters
@@ -14785,7 +15017,7 @@ class DescribeModelAliasesRequest(AbstractModel):
14785
15017
 
14786
15018
  @property
14787
15019
  def Sort(self):
14788
- r"""<p>排序条件。支持按 InputCoefficient、InputCachedCoefficient 或 OutputCoefficient 排序,Order 支持 ASC、DESC。不传或传空数组时,默认按 OutputCoefficient 降序排列。最多支持 3 个排序条件,排序字段不可重复。</p>
15020
+ r"""<p>排序条件。支持按 InputCoefficient 或 OutputCoefficient 排序,Order 支持 ASC、DESC。不传或传空数组时,默认按 OutputCoefficient 降序排列。最多支持 2 个排序条件,排序字段不可重复。</p>
14789
15021
  :rtype: list of Sort
14790
15022
  """
14791
15023
  return self._Sort
@@ -24820,8 +25052,12 @@ class ModelAlias(AbstractModel):
24820
25052
  :type Source: str
24821
25053
  :param _Status: <p>状态</p><p>枚举值:</p><ul><li>Active: 正常可用</li><li>Configuring: 变配中</li><li>ConfigureFailed: 变配失败</li></ul>
24822
25054
  :type Status: str
24823
- :param _Capability: <p>模型能力</p>
25055
+ :param _Capability: <p>模型输出模态</p><p>枚举值:</p><ul><li>chat : 文本</li><li>embedding: 向量</li><li>rerank: 重排序</li><li>video: 视频</li></ul>
24824
25056
  :type Capability: str
25057
+ :param _CoefficientTiers: <p>分级积分系数配置</p>
25058
+ :type CoefficientTiers: list of CoefficientTier
25059
+ :param _CoefficientSchedule: <p>峰谷积分系数配置</p>
25060
+ :type CoefficientSchedule: list of CoefficientScheduleRule
24825
25061
  """
24826
25062
  self._Coefficient = None
24827
25063
  self._ModelAliasName = None
@@ -24829,6 +25065,8 @@ class ModelAlias(AbstractModel):
24829
25065
  self._Source = None
24830
25066
  self._Status = None
24831
25067
  self._Capability = None
25068
+ self._CoefficientTiers = None
25069
+ self._CoefficientSchedule = None
24832
25070
 
24833
25071
  @property
24834
25072
  def Coefficient(self):
@@ -24887,7 +25125,7 @@ class ModelAlias(AbstractModel):
24887
25125
 
24888
25126
  @property
24889
25127
  def Capability(self):
24890
- r"""<p>模型能力</p>
25128
+ r"""<p>模型输出模态</p><p>枚举值:</p><ul><li>chat : 文本</li><li>embedding: 向量</li><li>rerank: 重排序</li><li>video: 视频</li></ul>
24891
25129
  :rtype: str
24892
25130
  """
24893
25131
  return self._Capability
@@ -24896,6 +25134,28 @@ class ModelAlias(AbstractModel):
24896
25134
  def Capability(self, Capability):
24897
25135
  self._Capability = Capability
24898
25136
 
25137
+ @property
25138
+ def CoefficientTiers(self):
25139
+ r"""<p>分级积分系数配置</p>
25140
+ :rtype: list of CoefficientTier
25141
+ """
25142
+ return self._CoefficientTiers
25143
+
25144
+ @CoefficientTiers.setter
25145
+ def CoefficientTiers(self, CoefficientTiers):
25146
+ self._CoefficientTiers = CoefficientTiers
25147
+
25148
+ @property
25149
+ def CoefficientSchedule(self):
25150
+ r"""<p>峰谷积分系数配置</p>
25151
+ :rtype: list of CoefficientScheduleRule
25152
+ """
25153
+ return self._CoefficientSchedule
25154
+
25155
+ @CoefficientSchedule.setter
25156
+ def CoefficientSchedule(self, CoefficientSchedule):
25157
+ self._CoefficientSchedule = CoefficientSchedule
25158
+
24899
25159
 
24900
25160
  def _deserialize(self, params):
24901
25161
  if params.get("Coefficient") is not None:
@@ -24911,6 +25171,18 @@ class ModelAlias(AbstractModel):
24911
25171
  self._Source = params.get("Source")
24912
25172
  self._Status = params.get("Status")
24913
25173
  self._Capability = params.get("Capability")
25174
+ if params.get("CoefficientTiers") is not None:
25175
+ self._CoefficientTiers = []
25176
+ for item in params.get("CoefficientTiers"):
25177
+ obj = CoefficientTier()
25178
+ obj._deserialize(item)
25179
+ self._CoefficientTiers.append(obj)
25180
+ if params.get("CoefficientSchedule") is not None:
25181
+ self._CoefficientSchedule = []
25182
+ for item in params.get("CoefficientSchedule"):
25183
+ obj = CoefficientScheduleRule()
25184
+ obj._deserialize(item)
25185
+ self._CoefficientSchedule.append(obj)
24914
25186
  memeber_set = set(params.keys())
24915
25187
  for name, value in vars(self).items():
24916
25188
  property_name = name[1:]
@@ -29711,30 +29983,25 @@ class ModifyModelAliasAttributesRequest(AbstractModel):
29711
29983
 
29712
29984
  def __init__(self):
29713
29985
  r"""
29714
- :param _Coefficient: <p>模型积分系数配置。</p><p>必填,包含 <code>InputCoefficient</code> 和 <code>OutputCoefficient</code>。</p><p><code>InputCoefficient</code> 为输入积分系数。</p><p><code>OutputCoefficient</code> 为输出积分系数。</p><p>取值范围:[1, 200],最多支持 1 位小数。</p>
29715
- :type Coefficient: :class:`tencentcloud.clb.v20180317.models.Coefficient`
29716
29986
  :param _ModelAliasNames: <p>模型别名</p>
29717
29987
  :type ModelAliasNames: list of str
29988
+ :param _Coefficient: <p>基础积分系数配置,选填。不传时保留原配置。各系数字段均为选填,取值范围为 [0, 5000],最多支持 6 位小数,0 表示零价。传入本参数时,至少填写一项有效系数,不能传空对象。</p>
29989
+ :type Coefficient: :class:`tencentcloud.clb.v20180317.models.Coefficient`
29718
29990
  :param _ServiceProviderIds: <p>BYOK 实例(ServiceProvider)ID 列表。</p><p>可选,数组。传入时按 ServiceProvider 维度修改:把同一份 Coefficient 批量应用到数组内每一个实例(覆盖配置,仅作用于这些实例),此时 <code>ModelAliasNames</code> 只能传 1 个别名(即 1 别名 × N ServiceProvider);数组需去重、非空、上限 100,任一实例不归属/不存在/该实例下无该别名将整批返回错误。不传时按 ModelAlias(账号)维度修改,作用于该别名下未单独配置覆盖的全部实例。</p>
29719
29991
  :type ServiceProviderIds: list of str
29720
- :param _Capability: <p>模型能力</p>
29992
+ :param _Capability: <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
29721
29993
  :type Capability: str
29994
+ :param _CoefficientTiers: <p>积分梯度设置</p>
29995
+ :type CoefficientTiers: list of CoefficientTier
29996
+ :param _CoefficientSchedule: <p>积分峰谷设置</p>
29997
+ :type CoefficientSchedule: list of CoefficientScheduleRule
29722
29998
  """
29723
- self._Coefficient = None
29724
29999
  self._ModelAliasNames = None
30000
+ self._Coefficient = None
29725
30001
  self._ServiceProviderIds = None
29726
30002
  self._Capability = None
29727
-
29728
- @property
29729
- def Coefficient(self):
29730
- r"""<p>模型积分系数配置。</p><p>必填,包含 <code>InputCoefficient</code> 和 <code>OutputCoefficient</code>。</p><p><code>InputCoefficient</code> 为输入积分系数。</p><p><code>OutputCoefficient</code> 为输出积分系数。</p><p>取值范围:[1, 200],最多支持 1 位小数。</p>
29731
- :rtype: :class:`tencentcloud.clb.v20180317.models.Coefficient`
29732
- """
29733
- return self._Coefficient
29734
-
29735
- @Coefficient.setter
29736
- def Coefficient(self, Coefficient):
29737
- self._Coefficient = Coefficient
30003
+ self._CoefficientTiers = None
30004
+ self._CoefficientSchedule = None
29738
30005
 
29739
30006
  @property
29740
30007
  def ModelAliasNames(self):
@@ -29747,6 +30014,17 @@ class ModifyModelAliasAttributesRequest(AbstractModel):
29747
30014
  def ModelAliasNames(self, ModelAliasNames):
29748
30015
  self._ModelAliasNames = ModelAliasNames
29749
30016
 
30017
+ @property
30018
+ def Coefficient(self):
30019
+ r"""<p>基础积分系数配置,选填。不传时保留原配置。各系数字段均为选填,取值范围为 [0, 5000],最多支持 6 位小数,0 表示零价。传入本参数时,至少填写一项有效系数,不能传空对象。</p>
30020
+ :rtype: :class:`tencentcloud.clb.v20180317.models.Coefficient`
30021
+ """
30022
+ return self._Coefficient
30023
+
30024
+ @Coefficient.setter
30025
+ def Coefficient(self, Coefficient):
30026
+ self._Coefficient = Coefficient
30027
+
29750
30028
  @property
29751
30029
  def ServiceProviderIds(self):
29752
30030
  r"""<p>BYOK 实例(ServiceProvider)ID 列表。</p><p>可选,数组。传入时按 ServiceProvider 维度修改:把同一份 Coefficient 批量应用到数组内每一个实例(覆盖配置,仅作用于这些实例),此时 <code>ModelAliasNames</code> 只能传 1 个别名(即 1 别名 × N ServiceProvider);数组需去重、非空、上限 100,任一实例不归属/不存在/该实例下无该别名将整批返回错误。不传时按 ModelAlias(账号)维度修改,作用于该别名下未单独配置覆盖的全部实例。</p>
@@ -29760,7 +30038,7 @@ class ModifyModelAliasAttributesRequest(AbstractModel):
29760
30038
 
29761
30039
  @property
29762
30040
  def Capability(self):
29763
- r"""<p>模型能力</p>
30041
+ r"""<p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
29764
30042
  :rtype: str
29765
30043
  """
29766
30044
  return self._Capability
@@ -29769,14 +30047,48 @@ class ModifyModelAliasAttributesRequest(AbstractModel):
29769
30047
  def Capability(self, Capability):
29770
30048
  self._Capability = Capability
29771
30049
 
30050
+ @property
30051
+ def CoefficientTiers(self):
30052
+ r"""<p>积分梯度设置</p>
30053
+ :rtype: list of CoefficientTier
30054
+ """
30055
+ return self._CoefficientTiers
30056
+
30057
+ @CoefficientTiers.setter
30058
+ def CoefficientTiers(self, CoefficientTiers):
30059
+ self._CoefficientTiers = CoefficientTiers
30060
+
30061
+ @property
30062
+ def CoefficientSchedule(self):
30063
+ r"""<p>积分峰谷设置</p>
30064
+ :rtype: list of CoefficientScheduleRule
30065
+ """
30066
+ return self._CoefficientSchedule
30067
+
30068
+ @CoefficientSchedule.setter
30069
+ def CoefficientSchedule(self, CoefficientSchedule):
30070
+ self._CoefficientSchedule = CoefficientSchedule
30071
+
29772
30072
 
29773
30073
  def _deserialize(self, params):
30074
+ self._ModelAliasNames = params.get("ModelAliasNames")
29774
30075
  if params.get("Coefficient") is not None:
29775
30076
  self._Coefficient = Coefficient()
29776
30077
  self._Coefficient._deserialize(params.get("Coefficient"))
29777
- self._ModelAliasNames = params.get("ModelAliasNames")
29778
30078
  self._ServiceProviderIds = params.get("ServiceProviderIds")
29779
30079
  self._Capability = params.get("Capability")
30080
+ if params.get("CoefficientTiers") is not None:
30081
+ self._CoefficientTiers = []
30082
+ for item in params.get("CoefficientTiers"):
30083
+ obj = CoefficientTier()
30084
+ obj._deserialize(item)
30085
+ self._CoefficientTiers.append(obj)
30086
+ if params.get("CoefficientSchedule") is not None:
30087
+ self._CoefficientSchedule = []
30088
+ for item in params.get("CoefficientSchedule"):
30089
+ obj = CoefficientScheduleRule()
30090
+ obj._deserialize(item)
30091
+ self._CoefficientSchedule.append(obj)
29780
30092
  memeber_set = set(params.keys())
29781
30093
  for name, value in vars(self).items():
29782
30094
  property_name = name[1:]
@@ -35329,10 +35641,16 @@ class ServiceProviderCoefficient(AbstractModel):
35329
35641
  :type ServiceProviderId: str
35330
35642
  :param _ServiceProviderName: <p>BYOK 实例(ServiceProvider)名称。</p>
35331
35643
  :type ServiceProviderName: str
35644
+ :param _CoefficientTiers: <p>分级积分系数设置</p>
35645
+ :type CoefficientTiers: list of CoefficientTier
35646
+ :param _CoefficientSchedule: <p>峰谷积分系数设置</p>
35647
+ :type CoefficientSchedule: list of CoefficientScheduleRule
35332
35648
  """
35333
35649
  self._Coefficient = None
35334
35650
  self._ServiceProviderId = None
35335
35651
  self._ServiceProviderName = None
35652
+ self._CoefficientTiers = None
35653
+ self._CoefficientSchedule = None
35336
35654
 
35337
35655
  @property
35338
35656
  def Coefficient(self):
@@ -35368,6 +35686,28 @@ class ServiceProviderCoefficient(AbstractModel):
35368
35686
  def ServiceProviderName(self, ServiceProviderName):
35369
35687
  self._ServiceProviderName = ServiceProviderName
35370
35688
 
35689
+ @property
35690
+ def CoefficientTiers(self):
35691
+ r"""<p>分级积分系数设置</p>
35692
+ :rtype: list of CoefficientTier
35693
+ """
35694
+ return self._CoefficientTiers
35695
+
35696
+ @CoefficientTiers.setter
35697
+ def CoefficientTiers(self, CoefficientTiers):
35698
+ self._CoefficientTiers = CoefficientTiers
35699
+
35700
+ @property
35701
+ def CoefficientSchedule(self):
35702
+ r"""<p>峰谷积分系数设置</p>
35703
+ :rtype: list of CoefficientScheduleRule
35704
+ """
35705
+ return self._CoefficientSchedule
35706
+
35707
+ @CoefficientSchedule.setter
35708
+ def CoefficientSchedule(self, CoefficientSchedule):
35709
+ self._CoefficientSchedule = CoefficientSchedule
35710
+
35371
35711
 
35372
35712
  def _deserialize(self, params):
35373
35713
  if params.get("Coefficient") is not None:
@@ -35375,6 +35715,18 @@ class ServiceProviderCoefficient(AbstractModel):
35375
35715
  self._Coefficient._deserialize(params.get("Coefficient"))
35376
35716
  self._ServiceProviderId = params.get("ServiceProviderId")
35377
35717
  self._ServiceProviderName = params.get("ServiceProviderName")
35718
+ if params.get("CoefficientTiers") is not None:
35719
+ self._CoefficientTiers = []
35720
+ for item in params.get("CoefficientTiers"):
35721
+ obj = CoefficientTier()
35722
+ obj._deserialize(item)
35723
+ self._CoefficientTiers.append(obj)
35724
+ if params.get("CoefficientSchedule") is not None:
35725
+ self._CoefficientSchedule = []
35726
+ for item in params.get("CoefficientSchedule"):
35727
+ obj = CoefficientScheduleRule()
35728
+ obj._deserialize(item)
35729
+ self._CoefficientSchedule.append(obj)
35378
35730
  memeber_set = set(params.keys())
35379
35731
  for name, value in vars(self).items():
35380
35732
  property_name = name[1:]
@@ -35438,12 +35790,18 @@ class ServiceProviderHealthCheckConfigItemInput(AbstractModel):
35438
35790
  :type HealthCheckMaxTokens: int
35439
35791
  :param _HealthCheckProtocol: <p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/v1/messages协议</li></ul>
35440
35792
  :type HealthCheckProtocol: str
35793
+ :param _HealthCheckPath: <p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
35794
+ :type HealthCheckPath: str
35795
+ :param _HealthCheckMethod: <p>健康检查方式。</p><p>枚举值:</p><ul><li>Service: 探测服务可用性</li><li>Model: 探测模型可用性</li></ul>
35796
+ :type HealthCheckMethod: str
35441
35797
  """
35442
35798
  self._HealthCheckEnabled = None
35443
35799
  self._HealthCheckInterval = None
35444
35800
  self._HealthCheckUnhealthyThreshold = None
35445
35801
  self._HealthCheckMaxTokens = None
35446
35802
  self._HealthCheckProtocol = None
35803
+ self._HealthCheckPath = None
35804
+ self._HealthCheckMethod = None
35447
35805
 
35448
35806
  @property
35449
35807
  def HealthCheckEnabled(self):
@@ -35500,6 +35858,28 @@ class ServiceProviderHealthCheckConfigItemInput(AbstractModel):
35500
35858
  def HealthCheckProtocol(self, HealthCheckProtocol):
35501
35859
  self._HealthCheckProtocol = HealthCheckProtocol
35502
35860
 
35861
+ @property
35862
+ def HealthCheckPath(self):
35863
+ r"""<p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
35864
+ :rtype: str
35865
+ """
35866
+ return self._HealthCheckPath
35867
+
35868
+ @HealthCheckPath.setter
35869
+ def HealthCheckPath(self, HealthCheckPath):
35870
+ self._HealthCheckPath = HealthCheckPath
35871
+
35872
+ @property
35873
+ def HealthCheckMethod(self):
35874
+ r"""<p>健康检查方式。</p><p>枚举值:</p><ul><li>Service: 探测服务可用性</li><li>Model: 探测模型可用性</li></ul>
35875
+ :rtype: str
35876
+ """
35877
+ return self._HealthCheckMethod
35878
+
35879
+ @HealthCheckMethod.setter
35880
+ def HealthCheckMethod(self, HealthCheckMethod):
35881
+ self._HealthCheckMethod = HealthCheckMethod
35882
+
35503
35883
 
35504
35884
  def _deserialize(self, params):
35505
35885
  self._HealthCheckEnabled = params.get("HealthCheckEnabled")
@@ -35507,6 +35887,8 @@ class ServiceProviderHealthCheckConfigItemInput(AbstractModel):
35507
35887
  self._HealthCheckUnhealthyThreshold = params.get("HealthCheckUnhealthyThreshold")
35508
35888
  self._HealthCheckMaxTokens = params.get("HealthCheckMaxTokens")
35509
35889
  self._HealthCheckProtocol = params.get("HealthCheckProtocol")
35890
+ self._HealthCheckPath = params.get("HealthCheckPath")
35891
+ self._HealthCheckMethod = params.get("HealthCheckMethod")
35510
35892
  memeber_set = set(params.keys())
35511
35893
  for name, value in vars(self).items():
35512
35894
  property_name = name[1:]
@@ -35531,16 +35913,23 @@ class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
35531
35913
  :param _HealthCheckUnhealthyThreshold: <p>不健康阈值。表示当模型连续多少次不健康时认为该模型不健康。</p><p>取值范围:[1, 10]</p><p>默认值:1</p>
35532
35914
  :type HealthCheckUnhealthyThreshold: int
35533
35915
  :param _HealthCheckMaxTokens: <p>健康检查使用的最大Token数量。部分模型如gpt系列可能仅支持大于等于16。</p><p>默认值:1</p>
35916
+ 注意:此字段可能返回 null,表示取不到有效值。
35534
35917
  :type HealthCheckMaxTokens: int
35535
35918
  :param _HealthCheckProtocol: <p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/v1/messages协议</li></ul>
35536
35919
  注意:此字段可能返回 null,表示取不到有效值。
35537
35920
  :type HealthCheckProtocol: str
35921
+ :param _HealthCheckPath: <p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
35922
+ :type HealthCheckPath: str
35923
+ :param _HealthCheckMethod: <p>健康检查方式。</p>
35924
+ :type HealthCheckMethod: str
35538
35925
  """
35539
35926
  self._HealthCheckEnabled = None
35540
35927
  self._HealthCheckInterval = None
35541
35928
  self._HealthCheckUnhealthyThreshold = None
35542
35929
  self._HealthCheckMaxTokens = None
35543
35930
  self._HealthCheckProtocol = None
35931
+ self._HealthCheckPath = None
35932
+ self._HealthCheckMethod = None
35544
35933
 
35545
35934
  @property
35546
35935
  def HealthCheckEnabled(self):
@@ -35578,6 +35967,7 @@ class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
35578
35967
  @property
35579
35968
  def HealthCheckMaxTokens(self):
35580
35969
  r"""<p>健康检查使用的最大Token数量。部分模型如gpt系列可能仅支持大于等于16。</p><p>默认值:1</p>
35970
+ 注意:此字段可能返回 null,表示取不到有效值。
35581
35971
  :rtype: int
35582
35972
  """
35583
35973
  return self._HealthCheckMaxTokens
@@ -35598,6 +35988,28 @@ class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
35598
35988
  def HealthCheckProtocol(self, HealthCheckProtocol):
35599
35989
  self._HealthCheckProtocol = HealthCheckProtocol
35600
35990
 
35991
+ @property
35992
+ def HealthCheckPath(self):
35993
+ r"""<p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
35994
+ :rtype: str
35995
+ """
35996
+ return self._HealthCheckPath
35997
+
35998
+ @HealthCheckPath.setter
35999
+ def HealthCheckPath(self, HealthCheckPath):
36000
+ self._HealthCheckPath = HealthCheckPath
36001
+
36002
+ @property
36003
+ def HealthCheckMethod(self):
36004
+ r"""<p>健康检查方式。</p>
36005
+ :rtype: str
36006
+ """
36007
+ return self._HealthCheckMethod
36008
+
36009
+ @HealthCheckMethod.setter
36010
+ def HealthCheckMethod(self, HealthCheckMethod):
36011
+ self._HealthCheckMethod = HealthCheckMethod
36012
+
35601
36013
 
35602
36014
  def _deserialize(self, params):
35603
36015
  self._HealthCheckEnabled = params.get("HealthCheckEnabled")
@@ -35605,6 +36017,8 @@ class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
35605
36017
  self._HealthCheckUnhealthyThreshold = params.get("HealthCheckUnhealthyThreshold")
35606
36018
  self._HealthCheckMaxTokens = params.get("HealthCheckMaxTokens")
35607
36019
  self._HealthCheckProtocol = params.get("HealthCheckProtocol")
36020
+ self._HealthCheckPath = params.get("HealthCheckPath")
36021
+ self._HealthCheckMethod = params.get("HealthCheckMethod")
35608
36022
  memeber_set = set(params.keys())
35609
36023
  for name, value in vars(self).items():
35610
36024
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.1.178
3
+ Version: 3.1.180
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.178
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.180
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.180
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.178