tencentcloud-sdk-python-hai 3.1.131__tar.gz → 3.1.162__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.131 → tencentcloud_sdk_python_hai-3.1.162}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/setup.py +1 -1
  3. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/tencentcloud/hai/v20230812/models.py +69 -54
  5. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_hai-3.1.162/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_hai-3.1.131/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/README.rst +0 -0
  9. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/tencentcloud/hai/__init__.py +0 -0
  11. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/tencentcloud/hai/v20230812/__init__.py +0 -0
  12. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/tencentcloud/hai/v20230812/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/tencentcloud/hai/v20230812/hai_client.py +0 -0
  14. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/tencentcloud/hai/v20230812/hai_client_async.py +0 -0
  15. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_hai-3.1.131 → tencentcloud_sdk_python_hai-3.1.162}/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.131
3
+ Version: 3.1.162
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.131
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.162
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.131,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.162,<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.131'
17
+ __version__ = '3.1.162'
@@ -304,23 +304,23 @@ class ComputeDetail(AbstractModel):
304
304
 
305
305
  def __init__(self):
306
306
  r"""
307
- :param _BundleType: 算力套餐ID
307
+ :param _BundleType: <p>算力套餐ID</p>
308
308
  :type BundleType: str
309
- :param _Count: 节点数量
309
+ :param _Count: <p>节点数量</p>
310
310
  :type Count: int
311
- :param _GPUCount: 显卡数量
311
+ :param _GPUCount: <p>显卡数量</p>
312
312
  :type GPUCount: str
313
- :param _GPUMemory: 显存
313
+ :param _GPUMemory: <p>显存</p>
314
314
  :type GPUMemory: str
315
- :param _GPUPerformance: 算力
315
+ :param _GPUPerformance: <p>算力</p>
316
316
  :type GPUPerformance: str
317
- :param _CPU: CPU核数
317
+ :param _CPU: <p>CPU核数</p>
318
318
  :type CPU: str
319
- :param _Memory: 内存
319
+ :param _Memory: <p>内存</p>
320
320
  :type Memory: str
321
- :param _PrepaidEnable: 该套餐是否支持包年包月
321
+ :param _PrepaidEnable: <p>该套餐是否支持包年包月</p>
322
322
  :type PrepaidEnable: bool
323
- :param _PostpaidEnable: 该套餐是否支持按量计费
323
+ :param _PostpaidEnable: <p>该套餐是否支持按量计费</p>
324
324
  :type PostpaidEnable: bool
325
325
  """
326
326
  self._BundleType = None
@@ -335,7 +335,7 @@ class ComputeDetail(AbstractModel):
335
335
 
336
336
  @property
337
337
  def BundleType(self):
338
- r"""算力套餐ID
338
+ r"""<p>算力套餐ID</p>
339
339
  :rtype: str
340
340
  """
341
341
  return self._BundleType
@@ -346,7 +346,7 @@ class ComputeDetail(AbstractModel):
346
346
 
347
347
  @property
348
348
  def Count(self):
349
- r"""节点数量
349
+ r"""<p>节点数量</p>
350
350
  :rtype: int
351
351
  """
352
352
  return self._Count
@@ -357,7 +357,7 @@ class ComputeDetail(AbstractModel):
357
357
 
358
358
  @property
359
359
  def GPUCount(self):
360
- r"""显卡数量
360
+ r"""<p>显卡数量</p>
361
361
  :rtype: str
362
362
  """
363
363
  return self._GPUCount
@@ -368,7 +368,7 @@ class ComputeDetail(AbstractModel):
368
368
 
369
369
  @property
370
370
  def GPUMemory(self):
371
- r"""显存
371
+ r"""<p>显存</p>
372
372
  :rtype: str
373
373
  """
374
374
  return self._GPUMemory
@@ -379,7 +379,7 @@ class ComputeDetail(AbstractModel):
379
379
 
380
380
  @property
381
381
  def GPUPerformance(self):
382
- r"""算力
382
+ r"""<p>算力</p>
383
383
  :rtype: str
384
384
  """
385
385
  return self._GPUPerformance
@@ -390,7 +390,7 @@ class ComputeDetail(AbstractModel):
390
390
 
391
391
  @property
392
392
  def CPU(self):
393
- r"""CPU核数
393
+ r"""<p>CPU核数</p>
394
394
  :rtype: str
395
395
  """
396
396
  return self._CPU
@@ -401,7 +401,7 @@ class ComputeDetail(AbstractModel):
401
401
 
402
402
  @property
403
403
  def Memory(self):
404
- r"""内存
404
+ r"""<p>内存</p>
405
405
  :rtype: str
406
406
  """
407
407
  return self._Memory
@@ -412,7 +412,7 @@ class ComputeDetail(AbstractModel):
412
412
 
413
413
  @property
414
414
  def PrepaidEnable(self):
415
- r"""该套餐是否支持包年包月
415
+ r"""<p>该套餐是否支持包年包月</p>
416
416
  :rtype: bool
417
417
  """
418
418
  return self._PrepaidEnable
@@ -423,7 +423,7 @@ class ComputeDetail(AbstractModel):
423
423
 
424
424
  @property
425
425
  def PostpaidEnable(self):
426
- r"""该套餐是否支持按量计费
426
+ r"""<p>该套餐是否支持按量计费</p>
427
427
  :rtype: bool
428
428
  """
429
429
  return self._PostpaidEnable
@@ -2601,10 +2601,13 @@ class DescribeServicesRequest(AbstractModel):
2601
2601
  :type Limit: int
2602
2602
  :param _Offset: <p>偏移量</p>
2603
2603
  :type Offset: int
2604
+ :param _States: <p>实例状态</p><p>枚举值:</p><ul><li>RUNNING: 运行中</li><li>CREATING: 创建中</li><li>CREATE_FAILED: 部署失败</li><li>DELETING: 删除中</li><li>UPDATING: 更新中</li><li>RESTARTING: 重启中</li><li>ISOLATING: 隔离中</li><li>ARREARS: 欠费中</li><li>RESTORING: 冲正恢复中</li></ul>
2605
+ :type States: list of str
2604
2606
  """
2605
2607
  self._ServiceIds = None
2606
2608
  self._Limit = None
2607
2609
  self._Offset = None
2610
+ self._States = None
2608
2611
 
2609
2612
  @property
2610
2613
  def ServiceIds(self):
@@ -2639,11 +2642,23 @@ class DescribeServicesRequest(AbstractModel):
2639
2642
  def Offset(self, Offset):
2640
2643
  self._Offset = Offset
2641
2644
 
2645
+ @property
2646
+ def States(self):
2647
+ r"""<p>实例状态</p><p>枚举值:</p><ul><li>RUNNING: 运行中</li><li>CREATING: 创建中</li><li>CREATE_FAILED: 部署失败</li><li>DELETING: 删除中</li><li>UPDATING: 更新中</li><li>RESTARTING: 重启中</li><li>ISOLATING: 隔离中</li><li>ARREARS: 欠费中</li><li>RESTORING: 冲正恢复中</li></ul>
2648
+ :rtype: list of str
2649
+ """
2650
+ return self._States
2651
+
2652
+ @States.setter
2653
+ def States(self, States):
2654
+ self._States = States
2655
+
2642
2656
 
2643
2657
  def _deserialize(self, params):
2644
2658
  self._ServiceIds = params.get("ServiceIds")
2645
2659
  self._Limit = params.get("Limit")
2646
2660
  self._Offset = params.get("Offset")
2661
+ self._States = params.get("States")
2647
2662
  memeber_set = set(params.keys())
2648
2663
  for name, value in vars(self).items():
2649
2664
  property_name = name[1:]
@@ -5372,41 +5387,41 @@ class ServiceDetail(AbstractModel):
5372
5387
 
5373
5388
  def __init__(self):
5374
5389
  r"""
5375
- :param _ServiceId: 服务id
5390
+ :param _ServiceId: <p>服务id</p>
5376
5391
  :type ServiceId: str
5377
- :param _ServiceName: 服务名称
5392
+ :param _ServiceName: <p>服务名称</p>
5378
5393
  :type ServiceName: str
5379
- :param _ServiceState: 服务状态
5394
+ :param _ServiceState: <p>服务状态</p>
5380
5395
  :type ServiceState: str
5381
- :param _RunningReplicas: 运行中的副本数
5396
+ :param _RunningReplicas: <p>运行中的副本数</p>
5382
5397
  :type RunningReplicas: int
5383
- :param _TotalReplicas: 期望的副本总数
5398
+ :param _TotalReplicas: <p>期望的副本总数</p>
5384
5399
  :type TotalReplicas: int
5385
- :param _CreateTime: 创建时间
5400
+ :param _CreateTime: <p>创建时间</p>
5386
5401
  :type CreateTime: str
5387
- :param _ComputeSet: 算力套餐详情
5402
+ :param _ComputeSet: <p>算力套餐详情</p>
5388
5403
  :type ComputeSet: list of ComputeDetail
5389
- :param _ModelName: 模型名称
5404
+ :param _ModelName: <p>模型名称</p>
5390
5405
  :type ModelName: str
5391
- :param _DeploymentConfigs: 服务部署信息
5406
+ :param _DeploymentConfigs: <p>服务部署信息</p>
5392
5407
  :type DeploymentConfigs: list of DeploymentConfig
5393
- :param _HyperParam: 服务超参数配置
5408
+ :param _HyperParam: <p>服务超参数配置</p>
5394
5409
  :type HyperParam: :class:`tencentcloud.hai.v20230812.models.HyperParam`
5395
- :param _SecurityType:
5410
+ :param _SecurityType: <p>安全类型</p>
5396
5411
  :type SecurityType: str
5397
- :param _RoleComputeSet:
5412
+ :param _RoleComputeSet: <p>角色算力配置列表</p>
5398
5413
  :type RoleComputeSet: list of ComputeDetail
5399
- :param _TargetReplicas:
5414
+ :param _TargetReplicas: <p>目标副本数</p>
5400
5415
  :type TargetReplicas: int
5401
- :param _ChargeType: 计费类型:POSTPAID_BY_HOUR(按量)/PREPAID_BY_MONTH(包月)
5416
+ :param _ChargeType: <p>计费类型:POSTPAID_BY_HOUR(按量)/PREPAID_BY_MONTH(包月)</p>
5402
5417
  :type ChargeType: str
5403
- :param _ExpireTime: 到期时间(包月),按量为空
5418
+ :param _ExpireTime: <p>到期时间(包月),按量为空</p>
5404
5419
  :type ExpireTime: str
5405
- :param _RenewFlag: 自动续费标识(包月)
5420
+ :param _RenewFlag: <p>自动续费标识(包月)</p>
5406
5421
  :type RenewFlag: str
5407
- :param _RestrictState: 受限状态(如欠费隔离)
5422
+ :param _RestrictState: <p>受限状态(如欠费隔离)</p>
5408
5423
  :type RestrictState: str
5409
- :param _IsCustomDeploy: 是否自定义部署:1是 0否
5424
+ :param _IsCustomDeploy: <p>是否自定义部署:1是 0否</p>
5410
5425
  :type IsCustomDeploy: int
5411
5426
  """
5412
5427
  self._ServiceId = None
@@ -5430,7 +5445,7 @@ class ServiceDetail(AbstractModel):
5430
5445
 
5431
5446
  @property
5432
5447
  def ServiceId(self):
5433
- r"""服务id
5448
+ r"""<p>服务id</p>
5434
5449
  :rtype: str
5435
5450
  """
5436
5451
  return self._ServiceId
@@ -5441,7 +5456,7 @@ class ServiceDetail(AbstractModel):
5441
5456
 
5442
5457
  @property
5443
5458
  def ServiceName(self):
5444
- r"""服务名称
5459
+ r"""<p>服务名称</p>
5445
5460
  :rtype: str
5446
5461
  """
5447
5462
  return self._ServiceName
@@ -5452,7 +5467,7 @@ class ServiceDetail(AbstractModel):
5452
5467
 
5453
5468
  @property
5454
5469
  def ServiceState(self):
5455
- r"""服务状态
5470
+ r"""<p>服务状态</p>
5456
5471
  :rtype: str
5457
5472
  """
5458
5473
  return self._ServiceState
@@ -5463,7 +5478,7 @@ class ServiceDetail(AbstractModel):
5463
5478
 
5464
5479
  @property
5465
5480
  def RunningReplicas(self):
5466
- r"""运行中的副本数
5481
+ r"""<p>运行中的副本数</p>
5467
5482
  :rtype: int
5468
5483
  """
5469
5484
  return self._RunningReplicas
@@ -5474,7 +5489,7 @@ class ServiceDetail(AbstractModel):
5474
5489
 
5475
5490
  @property
5476
5491
  def TotalReplicas(self):
5477
- r"""期望的副本总数
5492
+ r"""<p>期望的副本总数</p>
5478
5493
  :rtype: int
5479
5494
  """
5480
5495
  return self._TotalReplicas
@@ -5485,7 +5500,7 @@ class ServiceDetail(AbstractModel):
5485
5500
 
5486
5501
  @property
5487
5502
  def CreateTime(self):
5488
- r"""创建时间
5503
+ r"""<p>创建时间</p>
5489
5504
  :rtype: str
5490
5505
  """
5491
5506
  return self._CreateTime
@@ -5496,7 +5511,7 @@ class ServiceDetail(AbstractModel):
5496
5511
 
5497
5512
  @property
5498
5513
  def ComputeSet(self):
5499
- r"""算力套餐详情
5514
+ r"""<p>算力套餐详情</p>
5500
5515
  :rtype: list of ComputeDetail
5501
5516
  """
5502
5517
  return self._ComputeSet
@@ -5507,7 +5522,7 @@ class ServiceDetail(AbstractModel):
5507
5522
 
5508
5523
  @property
5509
5524
  def ModelName(self):
5510
- r"""模型名称
5525
+ r"""<p>模型名称</p>
5511
5526
  :rtype: str
5512
5527
  """
5513
5528
  return self._ModelName
@@ -5518,7 +5533,7 @@ class ServiceDetail(AbstractModel):
5518
5533
 
5519
5534
  @property
5520
5535
  def DeploymentConfigs(self):
5521
- r"""服务部署信息
5536
+ r"""<p>服务部署信息</p>
5522
5537
  :rtype: list of DeploymentConfig
5523
5538
  """
5524
5539
  return self._DeploymentConfigs
@@ -5529,7 +5544,7 @@ class ServiceDetail(AbstractModel):
5529
5544
 
5530
5545
  @property
5531
5546
  def HyperParam(self):
5532
- r"""服务超参数配置
5547
+ r"""<p>服务超参数配置</p>
5533
5548
  :rtype: :class:`tencentcloud.hai.v20230812.models.HyperParam`
5534
5549
  """
5535
5550
  return self._HyperParam
@@ -5540,7 +5555,7 @@ class ServiceDetail(AbstractModel):
5540
5555
 
5541
5556
  @property
5542
5557
  def SecurityType(self):
5543
- r"""
5558
+ r"""<p>安全类型</p>
5544
5559
  :rtype: str
5545
5560
  """
5546
5561
  return self._SecurityType
@@ -5551,7 +5566,7 @@ class ServiceDetail(AbstractModel):
5551
5566
 
5552
5567
  @property
5553
5568
  def RoleComputeSet(self):
5554
- r"""
5569
+ r"""<p>角色算力配置列表</p>
5555
5570
  :rtype: list of ComputeDetail
5556
5571
  """
5557
5572
  return self._RoleComputeSet
@@ -5562,7 +5577,7 @@ class ServiceDetail(AbstractModel):
5562
5577
 
5563
5578
  @property
5564
5579
  def TargetReplicas(self):
5565
- r"""
5580
+ r"""<p>目标副本数</p>
5566
5581
  :rtype: int
5567
5582
  """
5568
5583
  return self._TargetReplicas
@@ -5573,7 +5588,7 @@ class ServiceDetail(AbstractModel):
5573
5588
 
5574
5589
  @property
5575
5590
  def ChargeType(self):
5576
- r"""计费类型:POSTPAID_BY_HOUR(按量)/PREPAID_BY_MONTH(包月)
5591
+ r"""<p>计费类型:POSTPAID_BY_HOUR(按量)/PREPAID_BY_MONTH(包月)</p>
5577
5592
  :rtype: str
5578
5593
  """
5579
5594
  return self._ChargeType
@@ -5584,7 +5599,7 @@ class ServiceDetail(AbstractModel):
5584
5599
 
5585
5600
  @property
5586
5601
  def ExpireTime(self):
5587
- r"""到期时间(包月),按量为空
5602
+ r"""<p>到期时间(包月),按量为空</p>
5588
5603
  :rtype: str
5589
5604
  """
5590
5605
  return self._ExpireTime
@@ -5595,7 +5610,7 @@ class ServiceDetail(AbstractModel):
5595
5610
 
5596
5611
  @property
5597
5612
  def RenewFlag(self):
5598
- r"""自动续费标识(包月)
5613
+ r"""<p>自动续费标识(包月)</p>
5599
5614
  :rtype: str
5600
5615
  """
5601
5616
  return self._RenewFlag
@@ -5606,7 +5621,7 @@ class ServiceDetail(AbstractModel):
5606
5621
 
5607
5622
  @property
5608
5623
  def RestrictState(self):
5609
- r"""受限状态(如欠费隔离)
5624
+ r"""<p>受限状态(如欠费隔离)</p>
5610
5625
  :rtype: str
5611
5626
  """
5612
5627
  return self._RestrictState
@@ -5617,7 +5632,7 @@ class ServiceDetail(AbstractModel):
5617
5632
 
5618
5633
  @property
5619
5634
  def IsCustomDeploy(self):
5620
- r"""是否自定义部署:1是 0否
5635
+ r"""<p>是否自定义部署:1是 0否</p>
5621
5636
  :rtype: int
5622
5637
  """
5623
5638
  return self._IsCustomDeploy
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-hai
3
- Version: 3.1.131
3
+ Version: 3.1.162
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.131
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.162
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.162
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.131