tencentcloud-sdk-python-hai 3.1.93__tar.gz → 3.1.108__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_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/setup.py +1 -1
  3. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/hai/v20230812/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/hai/v20230812/models.py +95 -10
  6. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_hai-3.1.108/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_hai-3.1.93/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/README.rst +0 -0
  10. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/hai/__init__.py +0 -0
  12. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/hai/v20230812/__init__.py +0 -0
  13. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/hai/v20230812/hai_client.py +0 -0
  14. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/hai/v20230812/hai_client_async.py +0 -0
  15. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_hai-3.1.93 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud_sdk_python_hai.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-hai
3
- Version: 3.1.93
3
+ Version: 3.1.108
4
4
  Summary: Tencent Cloud Hai 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.93
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.108
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-hai',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.93,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.108,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Hai SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.93'
17
+ __version__ = '3.1.108'
@@ -107,6 +107,9 @@ INVALIDPARAMETERVALUE_INVALIDPASSWORD = 'InvalidParameterValue.InvalidPassword'
107
107
  # 场景ID格式非法
108
108
  INVALIDPARAMETERVALUE_INVALIDSCENEIDMALFORMED = 'InvalidParameterValue.InvalidSceneIdMalformed'
109
109
 
110
+ # 非法安全类型
111
+ INVALIDPARAMETERVALUE_INVALIDSECURITYTYPE = 'InvalidParameterValue.InvalidSecurityType'
112
+
110
113
  # 服务ID格式错误
111
114
  INVALIDPARAMETERVALUE_INVALIDSERVICEIDMALFORMED = 'InvalidParameterValue.InvalidServiceIdMalformed'
112
115
 
@@ -783,6 +783,8 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
783
783
  :type HyperParam: :class:`tencentcloud.hai.v20230812.models.HyperParam`
784
784
  :param _NetworkSetting: <p>网络设置</p>
785
785
  :type NetworkSetting: :class:`tencentcloud.hai.v20230812.models.NetworkSetting`
786
+ :param _SecurityType: <p>推理服务安全类型</p><p>枚举值:</p><ul><li>STANDARD: 标准推理服务</li><li>CONFIDENTIAL: 可信推理服务</li></ul>
787
+ :type SecurityType: str
786
788
  """
787
789
  self._TemplateId = None
788
790
  self._ServiceName = None
@@ -790,6 +792,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
790
792
  self._ServiceChargeType = None
791
793
  self._HyperParam = None
792
794
  self._NetworkSetting = None
795
+ self._SecurityType = None
793
796
 
794
797
  @property
795
798
  def TemplateId(self):
@@ -857,6 +860,17 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
857
860
  def NetworkSetting(self, NetworkSetting):
858
861
  self._NetworkSetting = NetworkSetting
859
862
 
863
+ @property
864
+ def SecurityType(self):
865
+ r"""<p>推理服务安全类型</p><p>枚举值:</p><ul><li>STANDARD: 标准推理服务</li><li>CONFIDENTIAL: 可信推理服务</li></ul>
866
+ :rtype: str
867
+ """
868
+ return self._SecurityType
869
+
870
+ @SecurityType.setter
871
+ def SecurityType(self, SecurityType):
872
+ self._SecurityType = SecurityType
873
+
860
874
 
861
875
  def _deserialize(self, params):
862
876
  self._TemplateId = params.get("TemplateId")
@@ -869,6 +883,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
869
883
  if params.get("NetworkSetting") is not None:
870
884
  self._NetworkSetting = NetworkSetting()
871
885
  self._NetworkSetting._deserialize(params.get("NetworkSetting"))
886
+ self._SecurityType = params.get("SecurityType")
872
887
  memeber_set = set(params.keys())
873
888
  for name, value in vars(self).items():
874
889
  property_name = name[1:]
@@ -2501,11 +2516,11 @@ class DescribeServicesRequest(AbstractModel):
2501
2516
 
2502
2517
  def __init__(self):
2503
2518
  r"""
2504
- :param _ServiceIds: 服务列表
2519
+ :param _ServiceIds: <p>服务列表</p>
2505
2520
  :type ServiceIds: list of str
2506
- :param _Limit: 分页大小
2521
+ :param _Limit: <p>分页大小</p>
2507
2522
  :type Limit: int
2508
- :param _Offset: 偏移量
2523
+ :param _Offset: <p>偏移量</p>
2509
2524
  :type Offset: int
2510
2525
  """
2511
2526
  self._ServiceIds = None
@@ -2514,7 +2529,7 @@ class DescribeServicesRequest(AbstractModel):
2514
2529
 
2515
2530
  @property
2516
2531
  def ServiceIds(self):
2517
- r"""服务列表
2532
+ r"""<p>服务列表</p>
2518
2533
  :rtype: list of str
2519
2534
  """
2520
2535
  return self._ServiceIds
@@ -2525,7 +2540,7 @@ class DescribeServicesRequest(AbstractModel):
2525
2540
 
2526
2541
  @property
2527
2542
  def Limit(self):
2528
- r"""分页大小
2543
+ r"""<p>分页大小</p>
2529
2544
  :rtype: int
2530
2545
  """
2531
2546
  return self._Limit
@@ -2536,7 +2551,7 @@ class DescribeServicesRequest(AbstractModel):
2536
2551
 
2537
2552
  @property
2538
2553
  def Offset(self):
2539
- r"""偏移量
2554
+ r"""<p>偏移量</p>
2540
2555
  :rtype: int
2541
2556
  """
2542
2557
  return self._Offset
@@ -2567,9 +2582,9 @@ class DescribeServicesResponse(AbstractModel):
2567
2582
 
2568
2583
  def __init__(self):
2569
2584
  r"""
2570
- :param _TotalCount: 总数
2585
+ :param _TotalCount: <p>总数</p>
2571
2586
  :type TotalCount: int
2572
- :param _ServiceInfoSet: 服务列表
2587
+ :param _ServiceInfoSet: <p>服务列表</p>
2573
2588
  :type ServiceInfoSet: list of ServiceDetail
2574
2589
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2575
2590
  :type RequestId: str
@@ -2580,7 +2595,7 @@ class DescribeServicesResponse(AbstractModel):
2580
2595
 
2581
2596
  @property
2582
2597
  def TotalCount(self):
2583
- r"""总数
2598
+ r"""<p>总数</p>
2584
2599
  :rtype: int
2585
2600
  """
2586
2601
  return self._TotalCount
@@ -2591,7 +2606,7 @@ class DescribeServicesResponse(AbstractModel):
2591
2606
 
2592
2607
  @property
2593
2608
  def ServiceInfoSet(self):
2594
- r"""服务列表
2609
+ r"""<p>服务列表</p>
2595
2610
  :rtype: list of ServiceDetail
2596
2611
  """
2597
2612
  return self._ServiceInfoSet
@@ -5215,6 +5230,12 @@ class ServiceDetail(AbstractModel):
5215
5230
  :type DeploymentConfigs: list of DeploymentConfig
5216
5231
  :param _HyperParam: 服务超参数配置
5217
5232
  :type HyperParam: :class:`tencentcloud.hai.v20230812.models.HyperParam`
5233
+ :param _SecurityType:
5234
+ :type SecurityType: str
5235
+ :param _RoleComputeSet:
5236
+ :type RoleComputeSet: list of ComputeDetail
5237
+ :param _TargetReplicas:
5238
+ :type TargetReplicas: int
5218
5239
  """
5219
5240
  self._ServiceId = None
5220
5241
  self._ServiceName = None
@@ -5226,6 +5247,9 @@ class ServiceDetail(AbstractModel):
5226
5247
  self._ModelName = None
5227
5248
  self._DeploymentConfigs = None
5228
5249
  self._HyperParam = None
5250
+ self._SecurityType = None
5251
+ self._RoleComputeSet = None
5252
+ self._TargetReplicas = None
5229
5253
 
5230
5254
  @property
5231
5255
  def ServiceId(self):
@@ -5337,6 +5361,39 @@ class ServiceDetail(AbstractModel):
5337
5361
  def HyperParam(self, HyperParam):
5338
5362
  self._HyperParam = HyperParam
5339
5363
 
5364
+ @property
5365
+ def SecurityType(self):
5366
+ r"""
5367
+ :rtype: str
5368
+ """
5369
+ return self._SecurityType
5370
+
5371
+ @SecurityType.setter
5372
+ def SecurityType(self, SecurityType):
5373
+ self._SecurityType = SecurityType
5374
+
5375
+ @property
5376
+ def RoleComputeSet(self):
5377
+ r"""
5378
+ :rtype: list of ComputeDetail
5379
+ """
5380
+ return self._RoleComputeSet
5381
+
5382
+ @RoleComputeSet.setter
5383
+ def RoleComputeSet(self, RoleComputeSet):
5384
+ self._RoleComputeSet = RoleComputeSet
5385
+
5386
+ @property
5387
+ def TargetReplicas(self):
5388
+ r"""
5389
+ :rtype: int
5390
+ """
5391
+ return self._TargetReplicas
5392
+
5393
+ @TargetReplicas.setter
5394
+ def TargetReplicas(self, TargetReplicas):
5395
+ self._TargetReplicas = TargetReplicas
5396
+
5340
5397
 
5341
5398
  def _deserialize(self, params):
5342
5399
  self._ServiceId = params.get("ServiceId")
@@ -5361,6 +5418,14 @@ class ServiceDetail(AbstractModel):
5361
5418
  if params.get("HyperParam") is not None:
5362
5419
  self._HyperParam = HyperParam()
5363
5420
  self._HyperParam._deserialize(params.get("HyperParam"))
5421
+ self._SecurityType = params.get("SecurityType")
5422
+ if params.get("RoleComputeSet") is not None:
5423
+ self._RoleComputeSet = []
5424
+ for item in params.get("RoleComputeSet"):
5425
+ obj = ComputeDetail()
5426
+ obj._deserialize(item)
5427
+ self._RoleComputeSet.append(obj)
5428
+ self._TargetReplicas = params.get("TargetReplicas")
5364
5429
  memeber_set = set(params.keys())
5365
5430
  for name, value in vars(self).items():
5366
5431
  property_name = name[1:]
@@ -5803,12 +5868,15 @@ class TemplateDetail(AbstractModel):
5803
5868
  :type ComputeSet: list of ComputeDetail
5804
5869
  :param _SupportFunc: 当前部署模板所支持的增强功能
5805
5870
  :type SupportFunc: list of str
5871
+ :param _RoleComputeSet:
5872
+ :type RoleComputeSet: list of ComputeDetail
5806
5873
  """
5807
5874
  self._TemplateId = None
5808
5875
  self._DeployMode = None
5809
5876
  self._EngineType = None
5810
5877
  self._ComputeSet = None
5811
5878
  self._SupportFunc = None
5879
+ self._RoleComputeSet = None
5812
5880
 
5813
5881
  @property
5814
5882
  def TemplateId(self):
@@ -5865,6 +5933,17 @@ class TemplateDetail(AbstractModel):
5865
5933
  def SupportFunc(self, SupportFunc):
5866
5934
  self._SupportFunc = SupportFunc
5867
5935
 
5936
+ @property
5937
+ def RoleComputeSet(self):
5938
+ r"""
5939
+ :rtype: list of ComputeDetail
5940
+ """
5941
+ return self._RoleComputeSet
5942
+
5943
+ @RoleComputeSet.setter
5944
+ def RoleComputeSet(self, RoleComputeSet):
5945
+ self._RoleComputeSet = RoleComputeSet
5946
+
5868
5947
 
5869
5948
  def _deserialize(self, params):
5870
5949
  self._TemplateId = params.get("TemplateId")
@@ -5877,6 +5956,12 @@ class TemplateDetail(AbstractModel):
5877
5956
  obj._deserialize(item)
5878
5957
  self._ComputeSet.append(obj)
5879
5958
  self._SupportFunc = params.get("SupportFunc")
5959
+ if params.get("RoleComputeSet") is not None:
5960
+ self._RoleComputeSet = []
5961
+ for item in params.get("RoleComputeSet"):
5962
+ obj = ComputeDetail()
5963
+ obj._deserialize(item)
5964
+ self._RoleComputeSet.append(obj)
5880
5965
  memeber_set = set(params.keys())
5881
5966
  for name, value in vars(self).items():
5882
5967
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-hai
3
- Version: 3.1.93
3
+ Version: 3.1.108
4
4
  Summary: Tencent Cloud Hai 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.93
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.108
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.108
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.93