tencentcloud-sdk-python-thpc 3.0.1346__tar.gz → 3.0.1347__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 (24) hide show
  1. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/setup.py +1 -1
  3. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/v20220401/models.py +0 -2
  5. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/v20230321/models.py +15 -32
  6. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud_sdk_python_thpc.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-thpc-3.0.1347/tencentcloud_sdk_python_thpc.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-thpc-3.0.1346/tencentcloud_sdk_python_thpc.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/README.rst +0 -0
  10. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/__init__.py +0 -0
  12. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/v20211109/__init__.py +0 -0
  13. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/v20211109/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/v20211109/models.py +0 -0
  15. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/v20211109/thpc_client.py +0 -0
  16. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/v20220401/__init__.py +0 -0
  17. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/v20220401/errorcodes.py +0 -0
  18. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/v20220401/thpc_client.py +0 -0
  19. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/v20230321/__init__.py +0 -0
  20. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/v20230321/errorcodes.py +0 -0
  21. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud/thpc/v20230321/thpc_client.py +0 -0
  22. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud_sdk_python_thpc.egg-info/SOURCES.txt +0 -0
  23. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud_sdk_python_thpc.egg-info/dependency_links.txt +0 -0
  24. {tencentcloud-sdk-python-thpc-3.0.1346 → tencentcloud-sdk-python-thpc-3.0.1347}/tencentcloud_sdk_python_thpc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-thpc
3
- Version: 3.0.1346
3
+ Version: 3.0.1347
4
4
  Summary: Tencent Cloud Thpc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-thpc',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1346"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1347"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Thpc SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1346'
17
+ __version__ = '3.0.1347'
@@ -4547,7 +4547,6 @@ class QueueOverview(AbstractModel):
4547
4547
  def __init__(self):
4548
4548
  r"""
4549
4549
  :param _QueueName: 队列名称。
4550
- 注意:此字段可能返回 null,表示取不到有效值。
4551
4550
  :type QueueName: str
4552
4551
  """
4553
4552
  self._QueueName = None
@@ -4555,7 +4554,6 @@ class QueueOverview(AbstractModel):
4555
4554
  @property
4556
4555
  def QueueName(self):
4557
4556
  """队列名称。
4558
- 注意:此字段可能返回 null,表示取不到有效值。
4559
4557
  :rtype: str
4560
4558
  """
4561
4559
  return self._QueueName
@@ -3882,13 +3882,10 @@ class EnhancedService(AbstractModel):
3882
3882
  def __init__(self):
3883
3883
  r"""
3884
3884
  :param _SecurityService: 开启云安全服务。若不指定该参数,则默认开启云安全服务。
3885
- 注意:此字段可能返回 null,表示取不到有效值。
3886
3885
  :type SecurityService: :class:`tencentcloud.thpc.v20230321.models.RunSecurityServiceEnabled`
3887
3886
  :param _MonitorService: 开启腾讯云可观测平台服务。若不指定该参数,则默认开启腾讯云可观测平台服务。
3888
- 注意:此字段可能返回 null,表示取不到有效值。
3889
3887
  :type MonitorService: :class:`tencentcloud.thpc.v20230321.models.RunMonitorServiceEnabled`
3890
3888
  :param _AutomationService: 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
3891
- 注意:此字段可能返回 null,表示取不到有效值。
3892
3889
  :type AutomationService: :class:`tencentcloud.thpc.v20230321.models.RunAutomationServiceEnabled`
3893
3890
  """
3894
3891
  self._SecurityService = None
@@ -3898,7 +3895,6 @@ class EnhancedService(AbstractModel):
3898
3895
  @property
3899
3896
  def SecurityService(self):
3900
3897
  """开启云安全服务。若不指定该参数,则默认开启云安全服务。
3901
- 注意:此字段可能返回 null,表示取不到有效值。
3902
3898
  :rtype: :class:`tencentcloud.thpc.v20230321.models.RunSecurityServiceEnabled`
3903
3899
  """
3904
3900
  return self._SecurityService
@@ -3910,7 +3906,6 @@ class EnhancedService(AbstractModel):
3910
3906
  @property
3911
3907
  def MonitorService(self):
3912
3908
  """开启腾讯云可观测平台服务。若不指定该参数,则默认开启腾讯云可观测平台服务。
3913
- 注意:此字段可能返回 null,表示取不到有效值。
3914
3909
  :rtype: :class:`tencentcloud.thpc.v20230321.models.RunMonitorServiceEnabled`
3915
3910
  """
3916
3911
  return self._MonitorService
@@ -3922,7 +3917,6 @@ class EnhancedService(AbstractModel):
3922
3917
  @property
3923
3918
  def AutomationService(self):
3924
3919
  """开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
3925
- 注意:此字段可能返回 null,表示取不到有效值。
3926
3920
  :rtype: :class:`tencentcloud.thpc.v20230321.models.RunAutomationServiceEnabled`
3927
3921
  """
3928
3922
  return self._AutomationService
@@ -5408,6 +5402,8 @@ class NodeOverview(AbstractModel):
5408
5402
  :param _NodeId: thpc集群节点id
5409
5403
  注意:此字段可能返回 null,表示取不到有效值。
5410
5404
  :type NodeId: str
5405
+ :param _NodeAllocateState: 节点的工作状态
5406
+ :type NodeAllocateState: str
5411
5407
  """
5412
5408
  self._InstanceId = None
5413
5409
  self._Zone = None
@@ -5417,6 +5413,7 @@ class NodeOverview(AbstractModel):
5417
5413
  self._NodeRole = None
5418
5414
  self._NodeType = None
5419
5415
  self._NodeId = None
5416
+ self._NodeAllocateState = None
5420
5417
 
5421
5418
  @property
5422
5419
  def InstanceId(self):
@@ -5514,6 +5511,17 @@ class NodeOverview(AbstractModel):
5514
5511
  def NodeId(self, NodeId):
5515
5512
  self._NodeId = NodeId
5516
5513
 
5514
+ @property
5515
+ def NodeAllocateState(self):
5516
+ """节点的工作状态
5517
+ :rtype: str
5518
+ """
5519
+ return self._NodeAllocateState
5520
+
5521
+ @NodeAllocateState.setter
5522
+ def NodeAllocateState(self, NodeAllocateState):
5523
+ self._NodeAllocateState = NodeAllocateState
5524
+
5517
5525
 
5518
5526
  def _deserialize(self, params):
5519
5527
  self._InstanceId = params.get("InstanceId")
@@ -5524,6 +5532,7 @@ class NodeOverview(AbstractModel):
5524
5532
  self._NodeRole = params.get("NodeRole")
5525
5533
  self._NodeType = params.get("NodeType")
5526
5534
  self._NodeId = params.get("NodeId")
5535
+ self._NodeAllocateState = params.get("NodeAllocateState")
5527
5536
  memeber_set = set(params.keys())
5528
5537
  for name, value in vars(self).items():
5529
5538
  property_name = name[1:]
@@ -5543,10 +5552,8 @@ class NodeScript(AbstractModel):
5543
5552
  r"""
5544
5553
  :param _ScriptPath: 节点执行脚本获取地址。
5545
5554
  目前仅支持cos地址。地址最大长度:255。
5546
- 注意:此字段可能返回 null,表示取不到有效值。
5547
5555
  :type ScriptPath: str
5548
5556
  :param _Timeout: 脚本执行超时时间(包含拉取脚本的时间)。单位秒,默认值:30。取值范围:10~1200。
5549
- 注意:此字段可能返回 null,表示取不到有效值。
5550
5557
  :type Timeout: int
5551
5558
  """
5552
5559
  self._ScriptPath = None
@@ -5556,7 +5563,6 @@ class NodeScript(AbstractModel):
5556
5563
  def ScriptPath(self):
5557
5564
  """节点执行脚本获取地址。
5558
5565
  目前仅支持cos地址。地址最大长度:255。
5559
- 注意:此字段可能返回 null,表示取不到有效值。
5560
5566
  :rtype: str
5561
5567
  """
5562
5568
  return self._ScriptPath
@@ -5568,7 +5574,6 @@ class NodeScript(AbstractModel):
5568
5574
  @property
5569
5575
  def Timeout(self):
5570
5576
  """脚本执行超时时间(包含拉取脚本的时间)。单位秒,默认值:30。取值范围:10~1200。
5571
- 注意:此字段可能返回 null,表示取不到有效值。
5572
5577
  :rtype: int
5573
5578
  """
5574
5579
  return self._Timeout
@@ -5955,28 +5960,23 @@ class QueueConfigOverview(AbstractModel):
5955
5960
  :param _ExpansionNodeConfigs: 扩容节点配置信息。
5956
5961
  :type ExpansionNodeConfigs: list of ExpansionNodeConfigOverview
5957
5962
  :param _DesiredIdleNodeCapacity: 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
5958
- 注意:此字段可能返回 null,表示取不到有效值。
5959
5963
  :type DesiredIdleNodeCapacity: int
5960
5964
  :param _DesiredNodeCount: 队列中期望的总节点数。
5961
5965
  :type DesiredNodeCount: int
5962
5966
  :param _ScaleOutRatio: 扩容比例。默认值:100。取值范围:1~100。
5963
5967
  如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
5964
- 注意:此字段可能返回 null,表示取不到有效值。
5965
5968
  :type ScaleOutRatio: int
5966
5969
  :param _ScaleOutNodeThreshold: 比例扩容阈值。默认值:0。取值范围:0~200。
5967
5970
  当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
5968
5971
  此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
5969
- 注意:此字段可能返回 null,表示取不到有效值。
5970
5972
  :type ScaleOutNodeThreshold: int
5971
5973
  :param _MaxNodesPerCycle: 每轮扩容最大节点个数。
5972
- 注意:此字段可能返回 null,表示取不到有效值。
5973
5974
  :type MaxNodesPerCycle: int
5974
5975
  :param _ScaleUpMemRatio: 扩容过程中,作业的内存在匹配实例机型时增大比例(不会影响作业提交的内存大小,只影响匹配计算过程)。<br/>
5975
5976
  针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,
5976
5977
 
5977
5978
  - 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
5978
5979
  - 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
5979
- 注意:此字段可能返回 null,表示取不到有效值。
5980
5980
  :type ScaleUpMemRatio: int
5981
5981
  """
5982
5982
  self._QueueName = None
@@ -6061,7 +6061,6 @@ class QueueConfigOverview(AbstractModel):
6061
6061
  @property
6062
6062
  def DesiredIdleNodeCapacity(self):
6063
6063
  """队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
6064
- 注意:此字段可能返回 null,表示取不到有效值。
6065
6064
  :rtype: int
6066
6065
  """
6067
6066
  return self._DesiredIdleNodeCapacity
@@ -6085,7 +6084,6 @@ class QueueConfigOverview(AbstractModel):
6085
6084
  def ScaleOutRatio(self):
6086
6085
  """扩容比例。默认值:100。取值范围:1~100。
6087
6086
  如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
6088
- 注意:此字段可能返回 null,表示取不到有效值。
6089
6087
  :rtype: int
6090
6088
  """
6091
6089
  return self._ScaleOutRatio
@@ -6099,7 +6097,6 @@ class QueueConfigOverview(AbstractModel):
6099
6097
  """比例扩容阈值。默认值:0。取值范围:0~200。
6100
6098
  当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
6101
6099
  此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
6102
- 注意:此字段可能返回 null,表示取不到有效值。
6103
6100
  :rtype: int
6104
6101
  """
6105
6102
  return self._ScaleOutNodeThreshold
@@ -6111,7 +6108,6 @@ class QueueConfigOverview(AbstractModel):
6111
6108
  @property
6112
6109
  def MaxNodesPerCycle(self):
6113
6110
  """每轮扩容最大节点个数。
6114
- 注意:此字段可能返回 null,表示取不到有效值。
6115
6111
  :rtype: int
6116
6112
  """
6117
6113
  return self._MaxNodesPerCycle
@@ -6127,7 +6123,6 @@ class QueueConfigOverview(AbstractModel):
6127
6123
 
6128
6124
  - 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
6129
6125
  - 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
6130
- 注意:此字段可能返回 null,表示取不到有效值。
6131
6126
  :rtype: int
6132
6127
  """
6133
6128
  return self._ScaleUpMemRatio
@@ -6173,7 +6168,6 @@ class QueueOverview(AbstractModel):
6173
6168
  def __init__(self):
6174
6169
  r"""
6175
6170
  :param _QueueName: 队列名称。
6176
- 注意:此字段可能返回 null,表示取不到有效值。
6177
6171
  :type QueueName: str
6178
6172
  """
6179
6173
  self._QueueName = None
@@ -6181,7 +6175,6 @@ class QueueOverview(AbstractModel):
6181
6175
  @property
6182
6176
  def QueueName(self):
6183
6177
  """队列名称。
6184
- 注意:此字段可能返回 null,表示取不到有效值。
6185
6178
  :rtype: str
6186
6179
  """
6187
6180
  return self._QueueName
@@ -6247,7 +6240,6 @@ class RunMonitorServiceEnabled(AbstractModel):
6247
6240
  def __init__(self):
6248
6241
  r"""
6249
6242
  :param _Enabled: 是否开启[腾讯云可观测平台](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启腾讯云可观测平台服务</li><br><li>FALSE:表示不开启腾讯云可观测平台服务</li><br><br>默认取值:TRUE。
6250
- 注意:此字段可能返回 null,表示取不到有效值。
6251
6243
  :type Enabled: bool
6252
6244
  """
6253
6245
  self._Enabled = None
@@ -6255,7 +6247,6 @@ class RunMonitorServiceEnabled(AbstractModel):
6255
6247
  @property
6256
6248
  def Enabled(self):
6257
6249
  """是否开启[腾讯云可观测平台](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启腾讯云可观测平台服务</li><br><li>FALSE:表示不开启腾讯云可观测平台服务</li><br><br>默认取值:TRUE。
6258
- 注意:此字段可能返回 null,表示取不到有效值。
6259
6250
  :rtype: bool
6260
6251
  """
6261
6252
  return self._Enabled
@@ -7124,10 +7115,8 @@ class SpacePlacement(AbstractModel):
7124
7115
  def __init__(self):
7125
7116
  r"""
7126
7117
  :param _Zone: 可用区
7127
- 注意:此字段可能返回 null,表示取不到有效值。
7128
7118
  :type Zone: str
7129
7119
  :param _ProjectId: 项目,默认是0
7130
- 注意:此字段可能返回 null,表示取不到有效值。
7131
7120
  :type ProjectId: int
7132
7121
  """
7133
7122
  self._Zone = None
@@ -7136,7 +7125,6 @@ class SpacePlacement(AbstractModel):
7136
7125
  @property
7137
7126
  def Zone(self):
7138
7127
  """可用区
7139
- 注意:此字段可能返回 null,表示取不到有效值。
7140
7128
  :rtype: str
7141
7129
  """
7142
7130
  return self._Zone
@@ -7148,7 +7136,6 @@ class SpacePlacement(AbstractModel):
7148
7136
  @property
7149
7137
  def ProjectId(self):
7150
7138
  """项目,默认是0
7151
- 注意:此字段可能返回 null,表示取不到有效值。
7152
7139
  :rtype: int
7153
7140
  """
7154
7141
  return self._ProjectId
@@ -7608,10 +7595,8 @@ class TagSpecification(AbstractModel):
7608
7595
  def __init__(self):
7609
7596
  r"""
7610
7597
  :param _ResourceType: 标签绑定的资源类型
7611
- 注意:此字段可能返回 null,表示取不到有效值。
7612
7598
  :type ResourceType: str
7613
7599
  :param _Tags: 标签对列表
7614
- 注意:此字段可能返回 null,表示取不到有效值。
7615
7600
  :type Tags: list of Tag
7616
7601
  """
7617
7602
  self._ResourceType = None
@@ -7620,7 +7605,6 @@ class TagSpecification(AbstractModel):
7620
7605
  @property
7621
7606
  def ResourceType(self):
7622
7607
  """标签绑定的资源类型
7623
- 注意:此字段可能返回 null,表示取不到有效值。
7624
7608
  :rtype: str
7625
7609
  """
7626
7610
  return self._ResourceType
@@ -7632,7 +7616,6 @@ class TagSpecification(AbstractModel):
7632
7616
  @property
7633
7617
  def Tags(self):
7634
7618
  """标签对列表
7635
- 注意:此字段可能返回 null,表示取不到有效值。
7636
7619
  :rtype: list of Tag
7637
7620
  """
7638
7621
  return self._Tags
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-thpc
3
- Version: 3.0.1346
3
+ Version: 3.0.1347
4
4
  Summary: Tencent Cloud Thpc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1347
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1346