tencentcloud-sdk-python-hai 3.1.192__tar.gz → 3.1.200__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.192 → tencentcloud_sdk_python_hai-3.1.200}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/setup.py +1 -1
  3. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/tencentcloud/hai/v20230812/models.py +176 -0
  5. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_hai-3.1.200/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_hai-3.1.192/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/README.rst +0 -0
  9. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/tencentcloud/hai/__init__.py +0 -0
  11. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/tencentcloud/hai/v20230812/__init__.py +0 -0
  12. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/tencentcloud/hai/v20230812/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/tencentcloud/hai/v20230812/hai_client.py +0 -0
  14. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/tencentcloud/hai/v20230812/hai_client_async.py +0 -0
  15. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_hai-3.1.192 → tencentcloud_sdk_python_hai-3.1.200}/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.192
3
+ Version: 3.1.200
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.192
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.200
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.192,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.200,<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.192'
17
+ __version__ = '3.1.200'
@@ -5242,6 +5242,162 @@ class ResizeInstanceDiskResponse(AbstractModel):
5242
5242
  self._RequestId = params.get("RequestId")
5243
5243
 
5244
5244
 
5245
+ class RoleStatusInfo(AbstractModel):
5246
+ r"""角色状态信息
5247
+
5248
+ """
5249
+
5250
+ def __init__(self):
5251
+ r"""
5252
+ :param _RoleName:
5253
+ :type RoleName: str
5254
+ :param _WorkloadType:
5255
+ :type WorkloadType: str
5256
+ :param _WorkloadName:
5257
+ :type WorkloadName: str
5258
+ :param _RunningReplicas:
5259
+ :type RunningReplicas: int
5260
+ :param _TargetReplicas:
5261
+ :type TargetReplicas: int
5262
+ :param _ContainerCount:
5263
+ :type ContainerCount: int
5264
+ :param _State:
5265
+ :type State: str
5266
+ :param _LastObservedTime:
5267
+ :type LastObservedTime: str
5268
+ :param _Role:
5269
+ :type Role: str
5270
+ """
5271
+ self._RoleName = None
5272
+ self._WorkloadType = None
5273
+ self._WorkloadName = None
5274
+ self._RunningReplicas = None
5275
+ self._TargetReplicas = None
5276
+ self._ContainerCount = None
5277
+ self._State = None
5278
+ self._LastObservedTime = None
5279
+ self._Role = None
5280
+
5281
+ @property
5282
+ def RoleName(self):
5283
+ r"""
5284
+ :rtype: str
5285
+ """
5286
+ return self._RoleName
5287
+
5288
+ @RoleName.setter
5289
+ def RoleName(self, RoleName):
5290
+ self._RoleName = RoleName
5291
+
5292
+ @property
5293
+ def WorkloadType(self):
5294
+ r"""
5295
+ :rtype: str
5296
+ """
5297
+ return self._WorkloadType
5298
+
5299
+ @WorkloadType.setter
5300
+ def WorkloadType(self, WorkloadType):
5301
+ self._WorkloadType = WorkloadType
5302
+
5303
+ @property
5304
+ def WorkloadName(self):
5305
+ r"""
5306
+ :rtype: str
5307
+ """
5308
+ return self._WorkloadName
5309
+
5310
+ @WorkloadName.setter
5311
+ def WorkloadName(self, WorkloadName):
5312
+ self._WorkloadName = WorkloadName
5313
+
5314
+ @property
5315
+ def RunningReplicas(self):
5316
+ r"""
5317
+ :rtype: int
5318
+ """
5319
+ return self._RunningReplicas
5320
+
5321
+ @RunningReplicas.setter
5322
+ def RunningReplicas(self, RunningReplicas):
5323
+ self._RunningReplicas = RunningReplicas
5324
+
5325
+ @property
5326
+ def TargetReplicas(self):
5327
+ r"""
5328
+ :rtype: int
5329
+ """
5330
+ return self._TargetReplicas
5331
+
5332
+ @TargetReplicas.setter
5333
+ def TargetReplicas(self, TargetReplicas):
5334
+ self._TargetReplicas = TargetReplicas
5335
+
5336
+ @property
5337
+ def ContainerCount(self):
5338
+ r"""
5339
+ :rtype: int
5340
+ """
5341
+ return self._ContainerCount
5342
+
5343
+ @ContainerCount.setter
5344
+ def ContainerCount(self, ContainerCount):
5345
+ self._ContainerCount = ContainerCount
5346
+
5347
+ @property
5348
+ def State(self):
5349
+ r"""
5350
+ :rtype: str
5351
+ """
5352
+ return self._State
5353
+
5354
+ @State.setter
5355
+ def State(self, State):
5356
+ self._State = State
5357
+
5358
+ @property
5359
+ def LastObservedTime(self):
5360
+ r"""
5361
+ :rtype: str
5362
+ """
5363
+ return self._LastObservedTime
5364
+
5365
+ @LastObservedTime.setter
5366
+ def LastObservedTime(self, LastObservedTime):
5367
+ self._LastObservedTime = LastObservedTime
5368
+
5369
+ @property
5370
+ def Role(self):
5371
+ r"""
5372
+ :rtype: str
5373
+ """
5374
+ return self._Role
5375
+
5376
+ @Role.setter
5377
+ def Role(self, Role):
5378
+ self._Role = Role
5379
+
5380
+
5381
+ def _deserialize(self, params):
5382
+ self._RoleName = params.get("RoleName")
5383
+ self._WorkloadType = params.get("WorkloadType")
5384
+ self._WorkloadName = params.get("WorkloadName")
5385
+ self._RunningReplicas = params.get("RunningReplicas")
5386
+ self._TargetReplicas = params.get("TargetReplicas")
5387
+ self._ContainerCount = params.get("ContainerCount")
5388
+ self._State = params.get("State")
5389
+ self._LastObservedTime = params.get("LastObservedTime")
5390
+ self._Role = params.get("Role")
5391
+ memeber_set = set(params.keys())
5392
+ for name, value in vars(self).items():
5393
+ property_name = name[1:]
5394
+ if property_name in memeber_set:
5395
+ memeber_set.remove(property_name)
5396
+ if len(memeber_set) > 0:
5397
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5398
+
5399
+
5400
+
5245
5401
  class RunInstancesRequest(AbstractModel):
5246
5402
  r"""RunInstances请求参数结构体
5247
5403
 
@@ -5561,6 +5717,8 @@ class ServiceDetail(AbstractModel):
5561
5717
  :type DeploymentConfigs: list of DeploymentConfig
5562
5718
  :param _HyperParam: <p>服务超参数配置</p>
5563
5719
  :type HyperParam: :class:`tencentcloud.hai.v20230812.models.HyperParam`
5720
+ :param _RoleStatuses: <p>角色状态</p>
5721
+ :type RoleStatuses: list of RoleStatusInfo
5564
5722
  :param _SecurityType: <p>安全类型</p>
5565
5723
  :type SecurityType: str
5566
5724
  :param _RoleComputeSet: <p>角色算力配置列表</p>
@@ -5588,6 +5746,7 @@ class ServiceDetail(AbstractModel):
5588
5746
  self._ModelName = None
5589
5747
  self._DeploymentConfigs = None
5590
5748
  self._HyperParam = None
5749
+ self._RoleStatuses = None
5591
5750
  self._SecurityType = None
5592
5751
  self._RoleComputeSet = None
5593
5752
  self._TargetReplicas = None
@@ -5707,6 +5866,17 @@ class ServiceDetail(AbstractModel):
5707
5866
  def HyperParam(self, HyperParam):
5708
5867
  self._HyperParam = HyperParam
5709
5868
 
5869
+ @property
5870
+ def RoleStatuses(self):
5871
+ r"""<p>角色状态</p>
5872
+ :rtype: list of RoleStatusInfo
5873
+ """
5874
+ return self._RoleStatuses
5875
+
5876
+ @RoleStatuses.setter
5877
+ def RoleStatuses(self, RoleStatuses):
5878
+ self._RoleStatuses = RoleStatuses
5879
+
5710
5880
  @property
5711
5881
  def SecurityType(self):
5712
5882
  r"""<p>安全类型</p>
@@ -5819,6 +5989,12 @@ class ServiceDetail(AbstractModel):
5819
5989
  if params.get("HyperParam") is not None:
5820
5990
  self._HyperParam = HyperParam()
5821
5991
  self._HyperParam._deserialize(params.get("HyperParam"))
5992
+ if params.get("RoleStatuses") is not None:
5993
+ self._RoleStatuses = []
5994
+ for item in params.get("RoleStatuses"):
5995
+ obj = RoleStatusInfo()
5996
+ obj._deserialize(item)
5997
+ self._RoleStatuses.append(obj)
5822
5998
  self._SecurityType = params.get("SecurityType")
5823
5999
  if params.get("RoleComputeSet") is not None:
5824
6000
  self._RoleComputeSet = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-hai
3
- Version: 3.1.192
3
+ Version: 3.1.200
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.192
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.200
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.200
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.192