tencentcloud-sdk-python-clb 3.1.192__tar.gz → 3.1.194__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.192 → tencentcloud_sdk_python_clb-3.1.194}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/setup.py +1 -1
  3. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/tencentcloud/clb/v20180317/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/tencentcloud/clb/v20180317/models.py +285 -18
  6. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_clb-3.1.194/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_clb-3.1.192/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/README.rst +0 -0
  10. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/tencentcloud/clb/__init__.py +0 -0
  12. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/tencentcloud/clb/v20180317/__init__.py +0 -0
  13. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/tencentcloud/clb/v20180317/clb_client.py +0 -0
  14. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
  15. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_clb-3.1.192 → tencentcloud_sdk_python_clb-3.1.194}/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.192
3
+ Version: 3.1.194
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.192
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.194
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.192,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.194,<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.192'
17
+ __version__ = '3.1.194'
@@ -206,6 +206,9 @@ UNSUPPORTEDOPERATION_INVALIDMODELROUTERSTATUS = 'UnsupportedOperation.InvalidMod
206
206
  # 无效的状态转换。
207
207
  UNSUPPORTEDOPERATION_INVALIDSTATETRANSITION = 'UnsupportedOperation.InvalidStateTransition'
208
208
 
209
+ # ServiceProvider有关联的CMR实例,操作拒绝
210
+ UNSUPPORTEDOPERATION_MODELASSOCIATEDWITHMODELROUTER = 'UnsupportedOperation.ModelAssociatedWithModelRouter'
211
+
209
212
  # 模型路由资源包已开启自动续订,请先关闭自动续订后再发起退款。
210
213
  UNSUPPORTEDOPERATION_MODELROUTERRESOURCEPACKAGEAUTOPURCHASEENABLED = 'UnsupportedOperation.ModelRouterResourcePackageAutoPurchaseEnabled'
211
214
 
@@ -15670,7 +15670,7 @@ class DescribeModelNamesRequest(AbstractModel):
15670
15670
  :type Limit: int
15671
15671
  :param _VpcId: <p>过滤PrivateCustom类型自建模型。如果传递了此参数,则只返回具有相同VPC Id的模型。</p>
15672
15672
  :type VpcId: str
15673
- :param _Filters: <p>过滤器,Name取值:</p><ul><li>ModelName:按照模型名称过滤。</li><li>ServiceProviderId:按照BYOK ID过滤。</li><li>InputModalitiesUnion:按照模态过滤。</li></ul>
15673
+ :param _Filters: <p>过滤器,Name取值:</p><ul><li>ModelName:按照模型名称过滤。</li><li>ServiceProviderId:按照BYOK ID过滤。</li><li>InputModalitiesUnion:按照输入模态过滤。</li><li>Capability:按照输出模态过滤。</li></ul>
15674
15674
  :type Filters: list of Filter
15675
15675
  """
15676
15676
  self._Offset = None
@@ -15713,7 +15713,7 @@ class DescribeModelNamesRequest(AbstractModel):
15713
15713
 
15714
15714
  @property
15715
15715
  def Filters(self):
15716
- r"""<p>过滤器,Name取值:</p><ul><li>ModelName:按照模型名称过滤。</li><li>ServiceProviderId:按照BYOK ID过滤。</li><li>InputModalitiesUnion:按照模态过滤。</li></ul>
15716
+ r"""<p>过滤器,Name取值:</p><ul><li>ModelName:按照模型名称过滤。</li><li>ServiceProviderId:按照BYOK ID过滤。</li><li>InputModalitiesUnion:按照输入模态过滤。</li><li>Capability:按照输出模态过滤。</li></ul>
15717
15717
  :rtype: list of Filter
15718
15718
  """
15719
15719
  return self._Filters
@@ -21001,8 +21001,11 @@ class IntentRouterDecisionModelConfig(AbstractModel):
21001
21001
  r"""
21002
21002
  :param _Enabled: <p>是否开启使用决策模型</p>
21003
21003
  :type Enabled: bool
21004
+ :param _ModelName: <p>选定的分类决策模型名,不传递表示随机选用。</p>
21005
+ :type ModelName: str
21004
21006
  """
21005
21007
  self._Enabled = None
21008
+ self._ModelName = None
21006
21009
 
21007
21010
  @property
21008
21011
  def Enabled(self):
@@ -21015,9 +21018,21 @@ class IntentRouterDecisionModelConfig(AbstractModel):
21015
21018
  def Enabled(self, Enabled):
21016
21019
  self._Enabled = Enabled
21017
21020
 
21021
+ @property
21022
+ def ModelName(self):
21023
+ r"""<p>选定的分类决策模型名,不传递表示随机选用。</p>
21024
+ :rtype: str
21025
+ """
21026
+ return self._ModelName
21027
+
21028
+ @ModelName.setter
21029
+ def ModelName(self, ModelName):
21030
+ self._ModelName = ModelName
21031
+
21018
21032
 
21019
21033
  def _deserialize(self, params):
21020
21034
  self._Enabled = params.get("Enabled")
21035
+ self._ModelName = params.get("ModelName")
21021
21036
  memeber_set = set(params.keys())
21022
21037
  for name, value in vars(self).items():
21023
21038
  property_name = name[1:]
@@ -25561,7 +25576,7 @@ class ModelAssociation(AbstractModel):
25561
25576
 
25562
25577
  def __init__(self):
25563
25578
  r"""
25564
- :param _InputModalitiesUnion: <p>该模型最大可支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul>
25579
+ :param _InputModalitiesUnion: <p>该模型最大可支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul>
25565
25580
  :type InputModalitiesUnion: list of str
25566
25581
  :param _ModelName: <p>模型名称</p>
25567
25582
  :type ModelName: str
@@ -25580,7 +25595,7 @@ class ModelAssociation(AbstractModel):
25580
25595
 
25581
25596
  @property
25582
25597
  def InputModalitiesUnion(self):
25583
- r"""<p>该模型最大可支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul>
25598
+ r"""<p>该模型最大可支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul>
25584
25599
  :rtype: list of str
25585
25600
  """
25586
25601
  return self._InputModalitiesUnion
@@ -25662,7 +25677,7 @@ class ModelAvailability(AbstractModel):
25662
25677
 
25663
25678
  def __init__(self):
25664
25679
  r"""
25665
- :param _InputModalities: <p>该模型所有健康BYOK实例下支持的输入多模态能力的并集。模型不健康时返回空列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul>
25680
+ :param _InputModalities: <p>该模型所有健康BYOK实例下支持的输入多模态能力的并集。模型不健康时返回空列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul>
25666
25681
  :type InputModalities: list of str
25667
25682
  :param _Model: <p>模型</p>
25668
25683
  :type Model: str
@@ -25675,7 +25690,7 @@ class ModelAvailability(AbstractModel):
25675
25690
 
25676
25691
  @property
25677
25692
  def InputModalities(self):
25678
- r"""<p>该模型所有健康BYOK实例下支持的输入多模态能力的并集。模型不健康时返回空列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul>
25693
+ r"""<p>该模型所有健康BYOK实例下支持的输入多模态能力的并集。模型不健康时返回空列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul>
25679
25694
  :rtype: list of str
25680
25695
  """
25681
25696
  return self._InputModalities
@@ -25796,7 +25811,7 @@ class ModelItem(AbstractModel):
25796
25811
  r"""
25797
25812
  :param _ModelId: <p>模型唯一标识, 用于实际访问</p>
25798
25813
  :type ModelId: str
25799
- :param _InputModalities: <p>该模型当前支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul><p>默认值:text</p>
25814
+ :param _InputModalities: <p>该模型当前支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul><p>默认值:text</p>
25800
25815
  :type InputModalities: list of str
25801
25816
  :param _ModelAlias: <p>模型别名, 可以用于实际访问</p>
25802
25817
  :type ModelAlias: str
@@ -25818,7 +25833,7 @@ class ModelItem(AbstractModel):
25818
25833
 
25819
25834
  @property
25820
25835
  def InputModalities(self):
25821
- r"""<p>该模型当前支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul><p>默认值:text</p>
25836
+ r"""<p>该模型当前支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul><p>默认值:text</p>
25822
25837
  :rtype: list of str
25823
25838
  """
25824
25839
  return self._InputModalities
@@ -26294,7 +26309,7 @@ class ModelNameAggregatedItem(AbstractModel):
26294
26309
  :type ModelName: str
26295
26310
  :param _ServiceProviders: <p>关联的服务商列表</p>
26296
26311
  :type ServiceProviders: list of ServiceProviderItem
26297
- :param _InputModalitiesUnion: <p>该模型最大可支持的输入多模态能力列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul>
26312
+ :param _InputModalitiesUnion: <p>该模型最大可支持的输入多模态能力列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul>
26298
26313
  :type InputModalitiesUnion: list of str
26299
26314
  """
26300
26315
  self._ModelName = None
@@ -26325,7 +26340,7 @@ class ModelNameAggregatedItem(AbstractModel):
26325
26340
 
26326
26341
  @property
26327
26342
  def InputModalitiesUnion(self):
26328
- r"""<p>该模型最大可支持的输入多模态能力列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul>
26343
+ r"""<p>该模型最大可支持的输入多模态能力列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul>
26329
26344
  :rtype: list of str
26330
26345
  """
26331
26346
  return self._InputModalitiesUnion
@@ -26567,6 +26582,8 @@ class ModelRouterDetail(AbstractModel):
26567
26582
  :type DecisionsConfig: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
26568
26583
  :param _ImageConfig: <p>Images 生图配置</p>
26569
26584
  :type ImageConfig: :class:`tencentcloud.clb.v20180317.models.ImageConfig`
26585
+ :param _RedirectConfig: <p>实例重定向配置</p>
26586
+ :type RedirectConfig: :class:`tencentcloud.clb.v20180317.models.RedirectConfig`
26570
26587
  """
26571
26588
  self._BudgetId = None
26572
26589
  self._BudgetName = None
@@ -26599,6 +26616,7 @@ class ModelRouterDetail(AbstractModel):
26599
26616
  self._RerankConfig = None
26600
26617
  self._DecisionsConfig = None
26601
26618
  self._ImageConfig = None
26619
+ self._RedirectConfig = None
26602
26620
 
26603
26621
  @property
26604
26622
  def BudgetId(self):
@@ -26947,6 +26965,17 @@ class ModelRouterDetail(AbstractModel):
26947
26965
  def ImageConfig(self, ImageConfig):
26948
26966
  self._ImageConfig = ImageConfig
26949
26967
 
26968
+ @property
26969
+ def RedirectConfig(self):
26970
+ r"""<p>实例重定向配置</p>
26971
+ :rtype: :class:`tencentcloud.clb.v20180317.models.RedirectConfig`
26972
+ """
26973
+ return self._RedirectConfig
26974
+
26975
+ @RedirectConfig.setter
26976
+ def RedirectConfig(self, RedirectConfig):
26977
+ self._RedirectConfig = RedirectConfig
26978
+
26950
26979
 
26951
26980
  def _deserialize(self, params):
26952
26981
  self._BudgetId = params.get("BudgetId")
@@ -27013,6 +27042,9 @@ class ModelRouterDetail(AbstractModel):
27013
27042
  if params.get("ImageConfig") is not None:
27014
27043
  self._ImageConfig = ImageConfig()
27015
27044
  self._ImageConfig._deserialize(params.get("ImageConfig"))
27045
+ if params.get("RedirectConfig") is not None:
27046
+ self._RedirectConfig = RedirectConfig()
27047
+ self._RedirectConfig._deserialize(params.get("RedirectConfig"))
27016
27048
  memeber_set = set(params.keys())
27017
27049
  for name, value in vars(self).items():
27018
27050
  property_name = name[1:]
@@ -27965,6 +27997,8 @@ class ModelRouterSet(AbstractModel):
27965
27997
  :type EipAddressId: str
27966
27998
  :param _BillingConfig: <p>计费信息</p>
27967
27999
  :type BillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
28000
+ :param _RedirectConfig: <p>实例重定向配置</p>
28001
+ :type RedirectConfig: :class:`tencentcloud.clb.v20180317.models.RedirectConfig`
27968
28002
  """
27969
28003
  self._BudgetId = None
27970
28004
  self._BudgetName = None
@@ -27986,6 +28020,7 @@ class ModelRouterSet(AbstractModel):
27986
28020
  self._Bandwidth = None
27987
28021
  self._EipAddressId = None
27988
28022
  self._BillingConfig = None
28023
+ self._RedirectConfig = None
27989
28024
 
27990
28025
  @property
27991
28026
  def BudgetId(self):
@@ -28210,6 +28245,17 @@ class ModelRouterSet(AbstractModel):
28210
28245
  def BillingConfig(self, BillingConfig):
28211
28246
  self._BillingConfig = BillingConfig
28212
28247
 
28248
+ @property
28249
+ def RedirectConfig(self):
28250
+ r"""<p>实例重定向配置</p>
28251
+ :rtype: :class:`tencentcloud.clb.v20180317.models.RedirectConfig`
28252
+ """
28253
+ return self._RedirectConfig
28254
+
28255
+ @RedirectConfig.setter
28256
+ def RedirectConfig(self, RedirectConfig):
28257
+ self._RedirectConfig = RedirectConfig
28258
+
28213
28259
 
28214
28260
  def _deserialize(self, params):
28215
28261
  self._BudgetId = params.get("BudgetId")
@@ -28246,6 +28292,9 @@ class ModelRouterSet(AbstractModel):
28246
28292
  if params.get("BillingConfig") is not None:
28247
28293
  self._BillingConfig = ModelRouterBillingConfigOutput()
28248
28294
  self._BillingConfig._deserialize(params.get("BillingConfig"))
28295
+ if params.get("RedirectConfig") is not None:
28296
+ self._RedirectConfig = RedirectConfig()
28297
+ self._RedirectConfig._deserialize(params.get("RedirectConfig"))
28249
28298
  memeber_set = set(params.keys())
28250
28299
  for name, value in vars(self).items():
28251
28300
  property_name = name[1:]
@@ -30609,12 +30658,27 @@ class ModifyModelAttributesRequest(AbstractModel):
30609
30658
  :type ApiBase: str
30610
30659
  :param _EndpointPath: <p>非chat输出模态的请求后缀</p>
30611
30660
  :type EndpointPath: str
30661
+ :param _ModelProvider: <p>所属厂商</p>
30662
+ :type ModelProvider: str
30663
+ :param _Protocol: <p>协议</p>
30664
+ :type Protocol: str
30665
+ :param _CMRPrivateNetworkTunnelId: <p>所使用的CMR 私网管道 ID</p>
30666
+ :type CMRPrivateNetworkTunnelId: str
30667
+ :param _HostHeader: <p>携带的Host Header</p>
30668
+ :type HostHeader: str
30669
+ :param _VerifySSL: <p>是否需要进行ssl校验</p>
30670
+ :type VerifySSL: bool
30612
30671
  """
30613
30672
  self._ServiceProviderId = None
30614
30673
  self._ServiceProviderName = None
30615
30674
  self._ApiBases = None
30616
30675
  self._ApiBase = None
30617
30676
  self._EndpointPath = None
30677
+ self._ModelProvider = None
30678
+ self._Protocol = None
30679
+ self._CMRPrivateNetworkTunnelId = None
30680
+ self._HostHeader = None
30681
+ self._VerifySSL = None
30618
30682
 
30619
30683
  @property
30620
30684
  def ServiceProviderId(self):
@@ -30671,6 +30735,61 @@ class ModifyModelAttributesRequest(AbstractModel):
30671
30735
  def EndpointPath(self, EndpointPath):
30672
30736
  self._EndpointPath = EndpointPath
30673
30737
 
30738
+ @property
30739
+ def ModelProvider(self):
30740
+ r"""<p>所属厂商</p>
30741
+ :rtype: str
30742
+ """
30743
+ return self._ModelProvider
30744
+
30745
+ @ModelProvider.setter
30746
+ def ModelProvider(self, ModelProvider):
30747
+ self._ModelProvider = ModelProvider
30748
+
30749
+ @property
30750
+ def Protocol(self):
30751
+ r"""<p>协议</p>
30752
+ :rtype: str
30753
+ """
30754
+ return self._Protocol
30755
+
30756
+ @Protocol.setter
30757
+ def Protocol(self, Protocol):
30758
+ self._Protocol = Protocol
30759
+
30760
+ @property
30761
+ def CMRPrivateNetworkTunnelId(self):
30762
+ r"""<p>所使用的CMR 私网管道 ID</p>
30763
+ :rtype: str
30764
+ """
30765
+ return self._CMRPrivateNetworkTunnelId
30766
+
30767
+ @CMRPrivateNetworkTunnelId.setter
30768
+ def CMRPrivateNetworkTunnelId(self, CMRPrivateNetworkTunnelId):
30769
+ self._CMRPrivateNetworkTunnelId = CMRPrivateNetworkTunnelId
30770
+
30771
+ @property
30772
+ def HostHeader(self):
30773
+ r"""<p>携带的Host Header</p>
30774
+ :rtype: str
30775
+ """
30776
+ return self._HostHeader
30777
+
30778
+ @HostHeader.setter
30779
+ def HostHeader(self, HostHeader):
30780
+ self._HostHeader = HostHeader
30781
+
30782
+ @property
30783
+ def VerifySSL(self):
30784
+ r"""<p>是否需要进行ssl校验</p>
30785
+ :rtype: bool
30786
+ """
30787
+ return self._VerifySSL
30788
+
30789
+ @VerifySSL.setter
30790
+ def VerifySSL(self, VerifySSL):
30791
+ self._VerifySSL = VerifySSL
30792
+
30674
30793
 
30675
30794
  def _deserialize(self, params):
30676
30795
  self._ServiceProviderId = params.get("ServiceProviderId")
@@ -30683,6 +30802,11 @@ class ModifyModelAttributesRequest(AbstractModel):
30683
30802
  self._ApiBases.append(obj)
30684
30803
  self._ApiBase = params.get("ApiBase")
30685
30804
  self._EndpointPath = params.get("EndpointPath")
30805
+ self._ModelProvider = params.get("ModelProvider")
30806
+ self._Protocol = params.get("Protocol")
30807
+ self._CMRPrivateNetworkTunnelId = params.get("CMRPrivateNetworkTunnelId")
30808
+ self._HostHeader = params.get("HostHeader")
30809
+ self._VerifySSL = params.get("VerifySSL")
30686
30810
  memeber_set = set(params.keys())
30687
30811
  for name, value in vars(self).items():
30688
30812
  property_name = name[1:]
@@ -30752,6 +30876,12 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
30752
30876
  :type DecisionsConfig: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
30753
30877
  :param _ImageConfig: <p>Images 生图配置</p>
30754
30878
  :type ImageConfig: :class:`tencentcloud.clb.v20180317.models.ImageConfig`
30879
+ :param _RedirectConfig: <p>实例重定向配置</p>
30880
+ :type RedirectConfig: :class:`tencentcloud.clb.v20180317.models.RedirectConfig`
30881
+ :param _Schema: <p>网络协议</p>
30882
+ :type Schema: str
30883
+ :param _Port: <p>监听端口</p><p>取值范围:[1, 65535]</p>
30884
+ :type Port: int
30755
30885
  """
30756
30886
  self._ModelRouterId = None
30757
30887
  self._CertId = None
@@ -30765,6 +30895,9 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
30765
30895
  self._RerankConfig = None
30766
30896
  self._DecisionsConfig = None
30767
30897
  self._ImageConfig = None
30898
+ self._RedirectConfig = None
30899
+ self._Schema = None
30900
+ self._Port = None
30768
30901
 
30769
30902
  @property
30770
30903
  def ModelRouterId(self):
@@ -30898,6 +31031,39 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
30898
31031
  def ImageConfig(self, ImageConfig):
30899
31032
  self._ImageConfig = ImageConfig
30900
31033
 
31034
+ @property
31035
+ def RedirectConfig(self):
31036
+ r"""<p>实例重定向配置</p>
31037
+ :rtype: :class:`tencentcloud.clb.v20180317.models.RedirectConfig`
31038
+ """
31039
+ return self._RedirectConfig
31040
+
31041
+ @RedirectConfig.setter
31042
+ def RedirectConfig(self, RedirectConfig):
31043
+ self._RedirectConfig = RedirectConfig
31044
+
31045
+ @property
31046
+ def Schema(self):
31047
+ r"""<p>网络协议</p>
31048
+ :rtype: str
31049
+ """
31050
+ return self._Schema
31051
+
31052
+ @Schema.setter
31053
+ def Schema(self, Schema):
31054
+ self._Schema = Schema
31055
+
31056
+ @property
31057
+ def Port(self):
31058
+ r"""<p>监听端口</p><p>取值范围:[1, 65535]</p>
31059
+ :rtype: int
31060
+ """
31061
+ return self._Port
31062
+
31063
+ @Port.setter
31064
+ def Port(self, Port):
31065
+ self._Port = Port
31066
+
30901
31067
 
30902
31068
  def _deserialize(self, params):
30903
31069
  self._ModelRouterId = params.get("ModelRouterId")
@@ -30926,6 +31092,11 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
30926
31092
  if params.get("ImageConfig") is not None:
30927
31093
  self._ImageConfig = ImageConfig()
30928
31094
  self._ImageConfig._deserialize(params.get("ImageConfig"))
31095
+ if params.get("RedirectConfig") is not None:
31096
+ self._RedirectConfig = RedirectConfig()
31097
+ self._RedirectConfig._deserialize(params.get("RedirectConfig"))
31098
+ self._Schema = params.get("Schema")
31099
+ self._Port = params.get("Port")
30929
31100
  memeber_set = set(params.keys())
30930
31101
  for name, value in vars(self).items():
30931
31102
  property_name = name[1:]
@@ -31377,10 +31548,16 @@ class ModifyServiceProviderModelAttributesRequest(AbstractModel):
31377
31548
  :type ModelName: str
31378
31549
  :param _InputModalities: <p>该模型支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul>
31379
31550
  :type InputModalities: list of str
31551
+ :param _NewModelName: <p>新的上游模型名称</p>
31552
+ :type NewModelName: str
31553
+ :param _NewModelAlias: <p>新的对外模型名称</p>
31554
+ :type NewModelAlias: str
31380
31555
  """
31381
31556
  self._ServiceProviderId = None
31382
31557
  self._ModelName = None
31383
31558
  self._InputModalities = None
31559
+ self._NewModelName = None
31560
+ self._NewModelAlias = None
31384
31561
 
31385
31562
  @property
31386
31563
  def ServiceProviderId(self):
@@ -31415,11 +31592,35 @@ class ModifyServiceProviderModelAttributesRequest(AbstractModel):
31415
31592
  def InputModalities(self, InputModalities):
31416
31593
  self._InputModalities = InputModalities
31417
31594
 
31595
+ @property
31596
+ def NewModelName(self):
31597
+ r"""<p>新的上游模型名称</p>
31598
+ :rtype: str
31599
+ """
31600
+ return self._NewModelName
31601
+
31602
+ @NewModelName.setter
31603
+ def NewModelName(self, NewModelName):
31604
+ self._NewModelName = NewModelName
31605
+
31606
+ @property
31607
+ def NewModelAlias(self):
31608
+ r"""<p>新的对外模型名称</p>
31609
+ :rtype: str
31610
+ """
31611
+ return self._NewModelAlias
31612
+
31613
+ @NewModelAlias.setter
31614
+ def NewModelAlias(self, NewModelAlias):
31615
+ self._NewModelAlias = NewModelAlias
31616
+
31418
31617
 
31419
31618
  def _deserialize(self, params):
31420
31619
  self._ServiceProviderId = params.get("ServiceProviderId")
31421
31620
  self._ModelName = params.get("ModelName")
31422
31621
  self._InputModalities = params.get("InputModalities")
31622
+ self._NewModelName = params.get("NewModelName")
31623
+ self._NewModelAlias = params.get("NewModelAlias")
31423
31624
  memeber_set = set(params.keys())
31424
31625
  for name, value in vars(self).items():
31425
31626
  property_name = name[1:]
@@ -32349,7 +32550,7 @@ class MultiModalityAttachments(AbstractModel):
32349
32550
  r"""
32350
32551
  :param _Data: <p>base64 url编码的文件内容</p>
32351
32552
  :type Data: str
32352
- :param _Type: <p>附件类型</p><p>枚举值:</p><ul><li>image: 图像</li><li>pdf: pdf(文件)</li></ul>
32553
+ :param _Type: <p>附件类型</p><p>枚举值:</p><ul><li>image: 图像</li><li>pdf: pdf(文件)</li><li>video: 视频</li></ul>
32353
32554
  :type Type: str
32354
32555
  """
32355
32556
  self._Data = None
@@ -32368,7 +32569,7 @@ class MultiModalityAttachments(AbstractModel):
32368
32569
 
32369
32570
  @property
32370
32571
  def Type(self):
32371
- r"""<p>附件类型</p><p>枚举值:</p><ul><li>image: 图像</li><li>pdf: pdf(文件)</li></ul>
32572
+ r"""<p>附件类型</p><p>枚举值:</p><ul><li>image: 图像</li><li>pdf: pdf(文件)</li><li>video: 视频</li></ul>
32372
32573
  :rtype: str
32373
32574
  """
32374
32575
  return self._Type
@@ -32929,6 +33130,57 @@ class RateLimitConfigForModelRouter(AbstractModel):
32929
33130
 
32930
33131
 
32931
33132
 
33133
+ class RedirectConfig(AbstractModel):
33134
+ r"""重定向配置
33135
+
33136
+ """
33137
+
33138
+ def __init__(self):
33139
+ r"""
33140
+ :param _StatusCode: <p>重定向状态码</p><p>枚举值:</p><ul><li>301: 永久重定向</li><li>302: 临时重定向</li><li>303: 查看其他位置</li><li>307: 临时重定向(保留请求方法)</li><li>308: 永久重定向(保留请求方法)</li></ul>
33141
+ :type StatusCode: int
33142
+ :param _TargetUrl: <p>目标地址,填写为空表示关闭重定向。不支持路径填写。</p>
33143
+ :type TargetUrl: str
33144
+ """
33145
+ self._StatusCode = None
33146
+ self._TargetUrl = None
33147
+
33148
+ @property
33149
+ def StatusCode(self):
33150
+ r"""<p>重定向状态码</p><p>枚举值:</p><ul><li>301: 永久重定向</li><li>302: 临时重定向</li><li>303: 查看其他位置</li><li>307: 临时重定向(保留请求方法)</li><li>308: 永久重定向(保留请求方法)</li></ul>
33151
+ :rtype: int
33152
+ """
33153
+ return self._StatusCode
33154
+
33155
+ @StatusCode.setter
33156
+ def StatusCode(self, StatusCode):
33157
+ self._StatusCode = StatusCode
33158
+
33159
+ @property
33160
+ def TargetUrl(self):
33161
+ r"""<p>目标地址,填写为空表示关闭重定向。不支持路径填写。</p>
33162
+ :rtype: str
33163
+ """
33164
+ return self._TargetUrl
33165
+
33166
+ @TargetUrl.setter
33167
+ def TargetUrl(self, TargetUrl):
33168
+ self._TargetUrl = TargetUrl
33169
+
33170
+
33171
+ def _deserialize(self, params):
33172
+ self._StatusCode = params.get("StatusCode")
33173
+ self._TargetUrl = params.get("TargetUrl")
33174
+ memeber_set = set(params.keys())
33175
+ for name, value in vars(self).items():
33176
+ property_name = name[1:]
33177
+ if property_name in memeber_set:
33178
+ memeber_set.remove(property_name)
33179
+ if len(memeber_set) > 0:
33180
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
33181
+
33182
+
33183
+
32932
33184
  class RefundModelRouterResourcePackageRequest(AbstractModel):
32933
33185
  r"""RefundModelRouterResourcePackage请求参数结构体
32934
33186
 
@@ -36087,7 +36339,7 @@ class ServiceProvider(AbstractModel):
36087
36339
  r"""
36088
36340
  :param _AccessType: <p>BYOK类型</p>
36089
36341
  :type AccessType: str
36090
- :param _InputModalities: <p>单个byok实例下该模型可支持的输入多模态能力列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>image: 支持图像输入</li></ul>
36342
+ :param _InputModalities: <p>单个byok实例下该模型可支持的输入多模态能力列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>image: 支持图像输入</li><li>video: 支持视频输入</li></ul>
36091
36343
  :type InputModalities: list of str
36092
36344
  :param _Protocol: <p>模型协议</p>
36093
36345
  :type Protocol: str
@@ -36127,7 +36379,7 @@ class ServiceProvider(AbstractModel):
36127
36379
 
36128
36380
  @property
36129
36381
  def InputModalities(self):
36130
- r"""<p>单个byok实例下该模型可支持的输入多模态能力列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>image: 支持图像输入</li></ul>
36382
+ r"""<p>单个byok实例下该模型可支持的输入多模态能力列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>image: 支持图像输入</li><li>video: 支持视频输入</li></ul>
36131
36383
  :rtype: list of str
36132
36384
  """
36133
36385
  return self._InputModalities
@@ -36716,7 +36968,7 @@ class ServiceProviderItem(AbstractModel):
36716
36968
  :type ServiceProviderName: str
36717
36969
  :param _ModelProvider: <p>模型供应商</p>
36718
36970
  :type ModelProvider: str
36719
- :param _InputModalities: <p>该byok实例下该模型可支持的输入多模态能力列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>image: 支持图像输入</li></ul>
36971
+ :param _InputModalities: <p>该byok实例下该模型可支持的输入多模态能力列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>image: 支持图像输入</li><li>video: 支持视频输入</li></ul>
36720
36972
  :type InputModalities: list of str
36721
36973
  """
36722
36974
  self._ServiceProviderId = None
@@ -36760,7 +37012,7 @@ class ServiceProviderItem(AbstractModel):
36760
37012
 
36761
37013
  @property
36762
37014
  def InputModalities(self):
36763
- r"""<p>该byok实例下该模型可支持的输入多模态能力列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>image: 支持图像输入</li></ul>
37015
+ r"""<p>该byok实例下该模型可支持的输入多模态能力列表。</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>image: 支持图像输入</li><li>video: 支持视频输入</li></ul>
36764
37016
  :rtype: list of str
36765
37017
  """
36766
37018
  return self._InputModalities
@@ -37694,8 +37946,11 @@ class StickyConfig(AbstractModel):
37694
37946
  r"""
37695
37947
  :param _Enabled: <p>是否开启粘连路由</p>
37696
37948
  :type Enabled: bool
37949
+ :param _TimeoutSeconds: <p>会话粘性的超时时间(秒),取值范围 180–86400。创建时默认为 1800;修改时若不设置该字段,则保留原有值。</p><p>取值范围:[180, 21600]</p><p>单位:秒</p><p>默认值:1800</p>
37950
+ :type TimeoutSeconds: int
37697
37951
  """
37698
37952
  self._Enabled = None
37953
+ self._TimeoutSeconds = None
37699
37954
 
37700
37955
  @property
37701
37956
  def Enabled(self):
@@ -37708,9 +37963,21 @@ class StickyConfig(AbstractModel):
37708
37963
  def Enabled(self, Enabled):
37709
37964
  self._Enabled = Enabled
37710
37965
 
37966
+ @property
37967
+ def TimeoutSeconds(self):
37968
+ r"""<p>会话粘性的超时时间(秒),取值范围 180–86400。创建时默认为 1800;修改时若不设置该字段,则保留原有值。</p><p>取值范围:[180, 21600]</p><p>单位:秒</p><p>默认值:1800</p>
37969
+ :rtype: int
37970
+ """
37971
+ return self._TimeoutSeconds
37972
+
37973
+ @TimeoutSeconds.setter
37974
+ def TimeoutSeconds(self, TimeoutSeconds):
37975
+ self._TimeoutSeconds = TimeoutSeconds
37976
+
37711
37977
 
37712
37978
  def _deserialize(self, params):
37713
37979
  self._Enabled = params.get("Enabled")
37980
+ self._TimeoutSeconds = params.get("TimeoutSeconds")
37714
37981
  memeber_set = set(params.keys())
37715
37982
  for name, value in vars(self).items():
37716
37983
  property_name = name[1:]
@@ -39490,7 +39757,7 @@ class TestModelInputModalitiesResponse(AbstractModel):
39490
39757
  r"""
39491
39758
  :param _Model: <p>探测的模型</p>
39492
39759
  :type Model: str
39493
- :param _SupportedModalities: <p>该模型确认支持的输入模态列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul><p>收到上游大模型对于输入模态的响应即为“确认支持”</p>
39760
+ :param _SupportedModalities: <p>该模型确认支持的输入模态列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul><p>收到上游大模型对于输入模态的响应即为“确认支持”</p>
39494
39761
  :type SupportedModalities: list of str
39495
39762
  :param _ProbeDetails: <p>每个待探测模态的详细请求结果</p>
39496
39763
  :type ProbeDetails: list of ModalityProbeDetail
@@ -39515,7 +39782,7 @@ class TestModelInputModalitiesResponse(AbstractModel):
39515
39782
 
39516
39783
  @property
39517
39784
  def SupportedModalities(self):
39518
- r"""<p>该模型确认支持的输入模态列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul><p>收到上游大模型对于输入模态的响应即为“确认支持”</p>
39785
+ r"""<p>该模型确认支持的输入模态列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul><p>收到上游大模型对于输入模态的响应即为“确认支持”</p>
39519
39786
  :rtype: list of str
39520
39787
  """
39521
39788
  return self._SupportedModalities
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.1.192
3
+ Version: 3.1.194
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.192
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.194
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.194
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.192