tencentcloud-sdk-python-thpc 3.0.1276__py2.py3-none-any.whl → 3.0.1293__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/thpc/v20211109/models.py +14 -16
- tencentcloud/thpc/v20220401/models.py +38 -46
- tencentcloud/thpc/v20230321/models.py +12 -14
- {tencentcloud_sdk_python_thpc-3.0.1276.dist-info → tencentcloud_sdk_python_thpc-3.0.1293.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_thpc-3.0.1276.dist-info → tencentcloud_sdk_python_thpc-3.0.1293.dist-info}/RECORD +8 -8
- {tencentcloud_sdk_python_thpc-3.0.1276.dist-info → tencentcloud_sdk_python_thpc-3.0.1293.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_thpc-3.0.1276.dist-info → tencentcloud_sdk_python_thpc-3.0.1293.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -306,7 +306,7 @@ class ClusterOverview(AbstractModel):
|
|
|
306
306
|
r"""
|
|
307
307
|
:param _ClusterId: 集群ID。
|
|
308
308
|
:type ClusterId: str
|
|
309
|
-
:param _ClusterStatus: 集群状态。取值范围:<br><li>PENDING
|
|
309
|
+
:param _ClusterStatus: 集群状态。取值范围:<br><li>PENDING:创建中</li><br><li>INITING:初始化中</li><br><li>INIT_FAILED:初始化失败</li><br><li>RUNNING:运行中</li><br><li>TERMINATING:销毁中</li>
|
|
310
310
|
:type ClusterStatus: str
|
|
311
311
|
:param _ClusterName: 集群名称。
|
|
312
312
|
:type ClusterName: str
|
|
@@ -355,7 +355,7 @@ class ClusterOverview(AbstractModel):
|
|
|
355
355
|
|
|
356
356
|
@property
|
|
357
357
|
def ClusterStatus(self):
|
|
358
|
-
"""集群状态。取值范围:<br><li>PENDING
|
|
358
|
+
"""集群状态。取值范围:<br><li>PENDING:创建中</li><br><li>INITING:初始化中</li><br><li>INIT_FAILED:初始化失败</li><br><li>RUNNING:运行中</li><br><li>TERMINATING:销毁中</li>
|
|
359
359
|
:rtype: str
|
|
360
360
|
"""
|
|
361
361
|
return self._ClusterStatus
|
|
@@ -522,12 +522,12 @@ class ComputeNode(AbstractModel):
|
|
|
522
522
|
|
|
523
523
|
def __init__(self):
|
|
524
524
|
r"""
|
|
525
|
-
:param _InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
|
525
|
+
:param _InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><br><li>POSTPAID_BY_HOUR:按小时后付费</li><br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。</li>
|
|
526
526
|
:type InstanceChargeType: str
|
|
527
527
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。
|
|
528
528
|
:type InstanceChargePrepaid: :class:`tencentcloud.thpc.v20211109.models.InstanceChargePrepaid`
|
|
529
529
|
:param _InstanceType: 节点机型。不同实例机型指定了不同的资源规格。
|
|
530
|
-
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
|
530
|
+
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>
|
|
531
531
|
:type InstanceType: str
|
|
532
532
|
:param _SystemDisk: 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
|
533
533
|
:type SystemDisk: :class:`tencentcloud.thpc.v20211109.models.SystemDisk`
|
|
@@ -537,7 +537,7 @@ class ComputeNode(AbstractModel):
|
|
|
537
537
|
:type InternetAccessible: :class:`tencentcloud.thpc.v20211109.models.InternetAccessible`
|
|
538
538
|
:param _InstanceName: 节点显示名称。<br><li>
|
|
539
539
|
不指定节点显示名称则默认显示‘未命名’。
|
|
540
|
-
最多支持60
|
|
540
|
+
最多支持60个字符。</li>
|
|
541
541
|
:type InstanceName: str
|
|
542
542
|
"""
|
|
543
543
|
self._InstanceChargeType = None
|
|
@@ -550,7 +550,7 @@ class ComputeNode(AbstractModel):
|
|
|
550
550
|
|
|
551
551
|
@property
|
|
552
552
|
def InstanceChargeType(self):
|
|
553
|
-
"""节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
|
553
|
+
"""节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><br><li>POSTPAID_BY_HOUR:按小时后付费</li><br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。</li>
|
|
554
554
|
:rtype: str
|
|
555
555
|
"""
|
|
556
556
|
return self._InstanceChargeType
|
|
@@ -573,7 +573,7 @@ class ComputeNode(AbstractModel):
|
|
|
573
573
|
@property
|
|
574
574
|
def InstanceType(self):
|
|
575
575
|
"""节点机型。不同实例机型指定了不同的资源规格。
|
|
576
|
-
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
|
576
|
+
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>
|
|
577
577
|
:rtype: str
|
|
578
578
|
"""
|
|
579
579
|
return self._InstanceType
|
|
@@ -619,7 +619,7 @@ class ComputeNode(AbstractModel):
|
|
|
619
619
|
def InstanceName(self):
|
|
620
620
|
"""节点显示名称。<br><li>
|
|
621
621
|
不指定节点显示名称则默认显示‘未命名’。
|
|
622
|
-
最多支持60
|
|
622
|
+
最多支持60个字符。</li>
|
|
623
623
|
:rtype: str
|
|
624
624
|
"""
|
|
625
625
|
return self._InstanceName
|
|
@@ -713,7 +713,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
713
713
|
:type ComputeNode: :class:`tencentcloud.thpc.v20211109.models.ComputeNode`
|
|
714
714
|
:param _ComputeNodeCount: 指定计算节点的数量。默认取值:0。
|
|
715
715
|
:type ComputeNodeCount: int
|
|
716
|
-
:param _SchedulerType: 调度器类型。<br><li>SGE:SGE
|
|
716
|
+
:param _SchedulerType: 调度器类型。<br><li>SGE:SGE调度器。</li><br><li>SLURM:SLURM调度器。</li>
|
|
717
717
|
:type SchedulerType: str
|
|
718
718
|
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜像。
|
|
719
719
|
:type ImageId: str
|
|
@@ -731,8 +731,7 @@ true:发送检查请求,不会创建实例。检查项包括是否填写了
|
|
|
731
731
|
如果检查通过,则返回RequestId.
|
|
732
732
|
false(默认):发送正常请求,通过检查后直接创建实例
|
|
733
733
|
:type DryRun: bool
|
|
734
|
-
:param _AccountType: 域名字服务类型。默认值:NIS
|
|
735
|
-
<li>NIS:NIS域名字服务。
|
|
734
|
+
:param _AccountType: 域名字服务类型。默认值:NIS<li>NIS:NIS域名字服务。</li>
|
|
736
735
|
:type AccountType: str
|
|
737
736
|
:param _ClusterName: 集群显示名称。
|
|
738
737
|
:type ClusterName: str
|
|
@@ -823,7 +822,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
823
822
|
|
|
824
823
|
@property
|
|
825
824
|
def SchedulerType(self):
|
|
826
|
-
"""调度器类型。<br><li>SGE:SGE
|
|
825
|
+
"""调度器类型。<br><li>SGE:SGE调度器。</li><br><li>SLURM:SLURM调度器。</li>
|
|
827
826
|
:rtype: str
|
|
828
827
|
"""
|
|
829
828
|
return self._SchedulerType
|
|
@@ -904,8 +903,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
904
903
|
|
|
905
904
|
@property
|
|
906
905
|
def AccountType(self):
|
|
907
|
-
"""域名字服务类型。默认值:NIS
|
|
908
|
-
<li>NIS:NIS域名字服务。
|
|
906
|
+
"""域名字服务类型。默认值:NIS<li>NIS:NIS域名字服务。</li>
|
|
909
907
|
:rtype: str
|
|
910
908
|
"""
|
|
911
909
|
return self._AccountType
|
|
@@ -1692,14 +1690,14 @@ class LoginSettings(AbstractModel):
|
|
|
1692
1690
|
|
|
1693
1691
|
def __init__(self):
|
|
1694
1692
|
r"""
|
|
1695
|
-
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
|
1693
|
+
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li><br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
1696
1694
|
:type Password: str
|
|
1697
1695
|
"""
|
|
1698
1696
|
self._Password = None
|
|
1699
1697
|
|
|
1700
1698
|
@property
|
|
1701
1699
|
def Password(self):
|
|
1702
|
-
"""实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
|
1700
|
+
"""实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li><br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
1703
1701
|
:rtype: str
|
|
1704
1702
|
"""
|
|
1705
1703
|
return self._Password
|
|
@@ -116,11 +116,11 @@ class AddNodesRequest(AbstractModel):
|
|
|
116
116
|
:type Count: int
|
|
117
117
|
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜像和特定自定义镜像。
|
|
118
118
|
:type ImageId: str
|
|
119
|
-
:param _InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
|
119
|
+
:param _InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><br><li>POSTPAID_BY_HOUR:按小时后付费</li><br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。</li>
|
|
120
120
|
:type InstanceChargeType: str
|
|
121
121
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。
|
|
122
122
|
:type InstanceChargePrepaid: :class:`tencentcloud.thpc.v20220401.models.InstanceChargePrepaid`
|
|
123
|
-
:param _InstanceType: 节点机型。不同实例机型指定了不同的资源规格。<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
|
123
|
+
:param _InstanceType: 节点机型。不同实例机型指定了不同的资源规格。<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>
|
|
124
124
|
:type InstanceType: str
|
|
125
125
|
:param _SystemDisk: 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
|
126
126
|
:type SystemDisk: list of SystemDisk
|
|
@@ -138,10 +138,9 @@ class AddNodesRequest(AbstractModel):
|
|
|
138
138
|
:type SecurityGroupIds: list of str
|
|
139
139
|
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
140
140
|
:type ClientToken: str
|
|
141
|
-
:param _QueueName: 队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute
|
|
142
|
-
|
|
141
|
+
:param _QueueName: 队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li><li>SGE默认队列为:all.q。</li>
|
|
143
142
|
:type QueueName: str
|
|
144
|
-
:param _NodeRole: 添加节点角色。默认值:Compute<br><li>Compute
|
|
143
|
+
:param _NodeRole: 添加节点角色。默认值:Compute<br><li>Compute:计算节点。</li><br><li>Login:登录节点。</li>
|
|
145
144
|
:type NodeRole: str
|
|
146
145
|
:param _DryRun: 是否只预检此次请求。
|
|
147
146
|
true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和云服务器库存。
|
|
@@ -149,7 +148,7 @@ true:发送检查请求,不会创建实例。检查项包括是否填写了
|
|
|
149
148
|
如果检查通过,则返回RequestId.
|
|
150
149
|
false(默认):发送正常请求,通过检查后直接创建实例
|
|
151
150
|
:type DryRun: bool
|
|
152
|
-
:param _NodeType: 添加节点类型。默认取值:STATIC。<li>STATIC
|
|
151
|
+
:param _NodeType: 添加节点类型。默认取值:STATIC。<li>STATIC:静态节点,不会参与弹性伸缩流程。</li><li>DYNAMIC:弹性节点,会被弹性缩容的节点。管控节点和登录节点不支持此参数。</li>
|
|
153
152
|
:type NodeType: str
|
|
154
153
|
"""
|
|
155
154
|
self._Placement = None
|
|
@@ -229,7 +228,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
229
228
|
|
|
230
229
|
@property
|
|
231
230
|
def InstanceChargeType(self):
|
|
232
|
-
"""节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
|
231
|
+
"""节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><br><li>POSTPAID_BY_HOUR:按小时后付费</li><br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。</li>
|
|
233
232
|
:rtype: str
|
|
234
233
|
"""
|
|
235
234
|
return self._InstanceChargeType
|
|
@@ -251,7 +250,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
251
250
|
|
|
252
251
|
@property
|
|
253
252
|
def InstanceType(self):
|
|
254
|
-
"""节点机型。不同实例机型指定了不同的资源规格。<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
|
253
|
+
"""节点机型。不同实例机型指定了不同的资源规格。<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>
|
|
255
254
|
:rtype: str
|
|
256
255
|
"""
|
|
257
256
|
return self._InstanceType
|
|
@@ -341,8 +340,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
341
340
|
|
|
342
341
|
@property
|
|
343
342
|
def QueueName(self):
|
|
344
|
-
"""队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute
|
|
345
|
-
|
|
343
|
+
"""队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li><li>SGE默认队列为:all.q。</li>
|
|
346
344
|
:rtype: str
|
|
347
345
|
"""
|
|
348
346
|
return self._QueueName
|
|
@@ -353,7 +351,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
353
351
|
|
|
354
352
|
@property
|
|
355
353
|
def NodeRole(self):
|
|
356
|
-
"""添加节点角色。默认值:Compute<br><li>Compute
|
|
354
|
+
"""添加节点角色。默认值:Compute<br><li>Compute:计算节点。</li><br><li>Login:登录节点。</li>
|
|
357
355
|
:rtype: str
|
|
358
356
|
"""
|
|
359
357
|
return self._NodeRole
|
|
@@ -379,7 +377,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
379
377
|
|
|
380
378
|
@property
|
|
381
379
|
def NodeType(self):
|
|
382
|
-
"""添加节点类型。默认取值:STATIC。<li>STATIC
|
|
380
|
+
"""添加节点类型。默认取值:STATIC。<li>STATIC:静态节点,不会参与弹性伸缩流程。</li><li>DYNAMIC:弹性节点,会被弹性缩容的节点。管控节点和登录节点不支持此参数。</li>
|
|
383
381
|
:rtype: str
|
|
384
382
|
"""
|
|
385
383
|
return self._NodeType
|
|
@@ -923,10 +921,9 @@ class ClusterActivity(AbstractModel):
|
|
|
923
921
|
:type ClusterId: str
|
|
924
922
|
:param _ActivityId: 集群活动ID。
|
|
925
923
|
:type ActivityId: str
|
|
926
|
-
:param _ActivityType: 集群活动类型。取值范围:<br><li>CreateAndAddNodes
|
|
927
|
-
|
|
924
|
+
:param _ActivityType: 集群活动类型。取值范围:<br><li>CreateAndAddNodes:创建实例并添加进集群</li><br><li>RemoveNodesFromCluster:从集群移除实例</li><br><li>TerminateNodes:销毁实例</li><br><li>MountStorageOption:增加挂载选项并进行挂载</li><br><li>UmountStorageOption:删除集群挂载存储选项并解挂载</li>
|
|
928
925
|
:type ActivityType: str
|
|
929
|
-
:param _ActivityStatus: 集群活动状态。取值范围:<br><li>PENDING
|
|
926
|
+
:param _ActivityStatus: 集群活动状态。取值范围:<br><li>PENDING:等待运行</li><br><li>RUNNING:运行中</li><br><li>SUCCESSFUL:活动成功</li><br><li>PARTIALLY_SUCCESSFUL:活动部分成功</li><br><li>FAILED:活动失败</li>
|
|
930
927
|
:type ActivityStatus: str
|
|
931
928
|
:param _ActivityStatusCode: 集群活动状态码。
|
|
932
929
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -983,8 +980,7 @@ class ClusterActivity(AbstractModel):
|
|
|
983
980
|
|
|
984
981
|
@property
|
|
985
982
|
def ActivityType(self):
|
|
986
|
-
"""集群活动类型。取值范围:<br><li>CreateAndAddNodes
|
|
987
|
-
|
|
983
|
+
"""集群活动类型。取值范围:<br><li>CreateAndAddNodes:创建实例并添加进集群</li><br><li>RemoveNodesFromCluster:从集群移除实例</li><br><li>TerminateNodes:销毁实例</li><br><li>MountStorageOption:增加挂载选项并进行挂载</li><br><li>UmountStorageOption:删除集群挂载存储选项并解挂载</li>
|
|
988
984
|
:rtype: str
|
|
989
985
|
"""
|
|
990
986
|
return self._ActivityType
|
|
@@ -995,7 +991,7 @@ class ClusterActivity(AbstractModel):
|
|
|
995
991
|
|
|
996
992
|
@property
|
|
997
993
|
def ActivityStatus(self):
|
|
998
|
-
"""集群活动状态。取值范围:<br><li>PENDING
|
|
994
|
+
"""集群活动状态。取值范围:<br><li>PENDING:等待运行</li><br><li>RUNNING:运行中</li><br><li>SUCCESSFUL:活动成功</li><br><li>PARTIALLY_SUCCESSFUL:活动部分成功</li><br><li>FAILED:活动失败</li>
|
|
999
995
|
:rtype: str
|
|
1000
996
|
"""
|
|
1001
997
|
return self._ActivityStatus
|
|
@@ -1122,7 +1118,7 @@ class ClusterOverview(AbstractModel):
|
|
|
1122
1118
|
r"""
|
|
1123
1119
|
:param _ClusterId: 集群ID。
|
|
1124
1120
|
:type ClusterId: str
|
|
1125
|
-
:param _ClusterStatus: 集群状态。取值范围:<br><li>PENDING
|
|
1121
|
+
:param _ClusterStatus: 集群状态。取值范围:<br><li>PENDING:创建中</li><br><li>INITING:初始化中</li><br><li>INIT_FAILED:初始化失败</li><br><li>RUNNING:运行中</li><br><li>TERMINATING:销毁中</li>
|
|
1126
1122
|
:type ClusterStatus: str
|
|
1127
1123
|
:param _ClusterName: 集群名称。
|
|
1128
1124
|
:type ClusterName: str
|
|
@@ -1174,7 +1170,7 @@ class ClusterOverview(AbstractModel):
|
|
|
1174
1170
|
|
|
1175
1171
|
@property
|
|
1176
1172
|
def ClusterStatus(self):
|
|
1177
|
-
"""集群状态。取值范围:<br><li>PENDING
|
|
1173
|
+
"""集群状态。取值范围:<br><li>PENDING:创建中</li><br><li>INITING:初始化中</li><br><li>INIT_FAILED:初始化失败</li><br><li>RUNNING:运行中</li><br><li>TERMINATING:销毁中</li>
|
|
1178
1174
|
:rtype: str
|
|
1179
1175
|
"""
|
|
1180
1176
|
return self._ClusterStatus
|
|
@@ -1353,12 +1349,12 @@ class ComputeNode(AbstractModel):
|
|
|
1353
1349
|
|
|
1354
1350
|
def __init__(self):
|
|
1355
1351
|
r"""
|
|
1356
|
-
:param _InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
|
1352
|
+
:param _InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><br><li>POSTPAID_BY_HOUR:按小时后付费</li><br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。</li>
|
|
1357
1353
|
:type InstanceChargeType: str
|
|
1358
1354
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。
|
|
1359
1355
|
:type InstanceChargePrepaid: :class:`tencentcloud.thpc.v20220401.models.InstanceChargePrepaid`
|
|
1360
1356
|
:param _InstanceType: 节点机型。不同实例机型指定了不同的资源规格。
|
|
1361
|
-
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
|
1357
|
+
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>
|
|
1362
1358
|
:type InstanceType: str
|
|
1363
1359
|
:param _SystemDisk: 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
|
1364
1360
|
:type SystemDisk: :class:`tencentcloud.thpc.v20220401.models.SystemDisk`
|
|
@@ -1368,7 +1364,7 @@ class ComputeNode(AbstractModel):
|
|
|
1368
1364
|
:type InternetAccessible: :class:`tencentcloud.thpc.v20220401.models.InternetAccessible`
|
|
1369
1365
|
:param _InstanceName: 节点显示名称。<br><li>
|
|
1370
1366
|
不指定节点显示名称则默认显示‘未命名’。
|
|
1371
|
-
最多支持60
|
|
1367
|
+
最多支持60个字符。</li>
|
|
1372
1368
|
:type InstanceName: str
|
|
1373
1369
|
"""
|
|
1374
1370
|
self._InstanceChargeType = None
|
|
@@ -1381,7 +1377,7 @@ class ComputeNode(AbstractModel):
|
|
|
1381
1377
|
|
|
1382
1378
|
@property
|
|
1383
1379
|
def InstanceChargeType(self):
|
|
1384
|
-
"""节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
|
1380
|
+
"""节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><br><li>POSTPAID_BY_HOUR:按小时后付费</li><br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。</li>
|
|
1385
1381
|
:rtype: str
|
|
1386
1382
|
"""
|
|
1387
1383
|
return self._InstanceChargeType
|
|
@@ -1404,7 +1400,7 @@ class ComputeNode(AbstractModel):
|
|
|
1404
1400
|
@property
|
|
1405
1401
|
def InstanceType(self):
|
|
1406
1402
|
"""节点机型。不同实例机型指定了不同的资源规格。
|
|
1407
|
-
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
|
1403
|
+
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>
|
|
1408
1404
|
:rtype: str
|
|
1409
1405
|
"""
|
|
1410
1406
|
return self._InstanceType
|
|
@@ -1450,7 +1446,7 @@ class ComputeNode(AbstractModel):
|
|
|
1450
1446
|
def InstanceName(self):
|
|
1451
1447
|
"""节点显示名称。<br><li>
|
|
1452
1448
|
不指定节点显示名称则默认显示‘未命名’。
|
|
1453
|
-
最多支持60
|
|
1449
|
+
最多支持60个字符。</li>
|
|
1454
1450
|
:rtype: str
|
|
1455
1451
|
"""
|
|
1456
1452
|
return self._InstanceName
|
|
@@ -1544,7 +1540,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1544
1540
|
:type ComputeNode: :class:`tencentcloud.thpc.v20220401.models.ComputeNode`
|
|
1545
1541
|
:param _ComputeNodeCount: 指定计算节点的数量。默认取值:0。
|
|
1546
1542
|
:type ComputeNodeCount: int
|
|
1547
|
-
:param _SchedulerType: 调度器类型。默认取值:SLURM。<br><li>SGE:SGE
|
|
1543
|
+
:param _SchedulerType: 调度器类型。默认取值:SLURM。<br><li>SGE:SGE调度器。</li><br><li>SLURM:SLURM调度器。</li>
|
|
1548
1544
|
:type SchedulerType: str
|
|
1549
1545
|
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。
|
|
1550
1546
|
:type ImageId: str
|
|
@@ -1562,8 +1558,7 @@ true:发送检查请求,不会创建实例。检查项包括是否填写了
|
|
|
1562
1558
|
如果检查通过,则返回RequestId.
|
|
1563
1559
|
false(默认):发送正常请求,通过检查后直接创建实例
|
|
1564
1560
|
:type DryRun: bool
|
|
1565
|
-
:param _AccountType: 域名字服务类型。默认取值:NIS
|
|
1566
|
-
<li>NIS:NIS域名字服务。
|
|
1561
|
+
:param _AccountType: 域名字服务类型。默认取值:NIS。<li>NIS:NIS域名字服务。</li>
|
|
1567
1562
|
:type AccountType: str
|
|
1568
1563
|
:param _ClusterName: 集群显示名称。
|
|
1569
1564
|
:type ClusterName: str
|
|
@@ -1575,7 +1570,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
1575
1570
|
:type LoginNodeCount: int
|
|
1576
1571
|
:param _Tags: 创建集群时同时绑定的标签对说明。
|
|
1577
1572
|
:type Tags: list of Tag
|
|
1578
|
-
:param _AutoScalingType: 弹性伸缩类型。<br><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)
|
|
1573
|
+
:param _AutoScalingType: 弹性伸缩类型。<br><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)产品实现。</li><br><li>THPC_AS:集群自动扩缩容由THPC产品内部实现。</li>
|
|
1579
1574
|
:type AutoScalingType: str
|
|
1580
1575
|
"""
|
|
1581
1576
|
self._Placement = None
|
|
@@ -1655,7 +1650,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
1655
1650
|
|
|
1656
1651
|
@property
|
|
1657
1652
|
def SchedulerType(self):
|
|
1658
|
-
"""调度器类型。默认取值:SLURM。<br><li>SGE:SGE
|
|
1653
|
+
"""调度器类型。默认取值:SLURM。<br><li>SGE:SGE调度器。</li><br><li>SLURM:SLURM调度器。</li>
|
|
1659
1654
|
:rtype: str
|
|
1660
1655
|
"""
|
|
1661
1656
|
return self._SchedulerType
|
|
@@ -1736,8 +1731,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
1736
1731
|
|
|
1737
1732
|
@property
|
|
1738
1733
|
def AccountType(self):
|
|
1739
|
-
"""域名字服务类型。默认取值:NIS
|
|
1740
|
-
<li>NIS:NIS域名字服务。
|
|
1734
|
+
"""域名字服务类型。默认取值:NIS。<li>NIS:NIS域名字服务。</li>
|
|
1741
1735
|
:rtype: str
|
|
1742
1736
|
"""
|
|
1743
1737
|
return self._AccountType
|
|
@@ -1803,7 +1797,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
1803
1797
|
|
|
1804
1798
|
@property
|
|
1805
1799
|
def AutoScalingType(self):
|
|
1806
|
-
"""弹性伸缩类型。<br><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)
|
|
1800
|
+
"""弹性伸缩类型。<br><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)产品实现。</li><br><li>THPC_AS:集群自动扩缩容由THPC产品内部实现。</li>
|
|
1807
1801
|
:rtype: str
|
|
1808
1802
|
"""
|
|
1809
1803
|
return self._AutoScalingType
|
|
@@ -1916,7 +1910,7 @@ class DataDisk(AbstractModel):
|
|
|
1916
1910
|
r"""
|
|
1917
1911
|
:param _DiskSize: 数据盘大小,单位:GB。最小调整步长为10G,不同数据盘类型取值范围不同,具体限制详见:[存储概述](https://cloud.tencent.com/document/product/213/4952)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
|
|
1918
1912
|
:type DiskSize: int
|
|
1919
|
-
:param _DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC
|
|
1913
|
+
:param _DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC:本地硬盘</li><br><li>LOCAL_SSD:本地SSD硬盘</li><br><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定</li><br><li>CLOUD_BASIC:普通云硬盘</li><br><li>CLOUD_PREMIUM:高性能云硬盘</li><br><li>CLOUD_SSD:SSD云硬盘</li><br><li>CLOUD_HSSD:增强型SSD云硬盘</li><br><li>CLOUD_TSSD:极速型SSD云硬盘</li><br><br>默认取值:LOCAL_BASIC。</li>
|
|
1920
1914
|
:type DiskType: str
|
|
1921
1915
|
"""
|
|
1922
1916
|
self._DiskSize = None
|
|
@@ -1935,7 +1929,7 @@ class DataDisk(AbstractModel):
|
|
|
1935
1929
|
|
|
1936
1930
|
@property
|
|
1937
1931
|
def DiskType(self):
|
|
1938
|
-
"""数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC
|
|
1932
|
+
"""数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC:本地硬盘</li><br><li>LOCAL_SSD:本地SSD硬盘</li><br><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定</li><br><li>CLOUD_BASIC:普通云硬盘</li><br><li>CLOUD_PREMIUM:高性能云硬盘</li><br><li>CLOUD_SSD:SSD云硬盘</li><br><li>CLOUD_HSSD:增强型SSD云硬盘</li><br><li>CLOUD_TSSD:极速型SSD云硬盘</li><br><br>默认取值:LOCAL_BASIC。</li>
|
|
1939
1933
|
:rtype: str
|
|
1940
1934
|
"""
|
|
1941
1935
|
return self._DiskType
|
|
@@ -3014,12 +3008,11 @@ class ExpansionNodeConfig(AbstractModel):
|
|
|
3014
3008
|
r"""
|
|
3015
3009
|
:param _Placement: 扩容实例所在的位置。
|
|
3016
3010
|
:type Placement: :class:`tencentcloud.thpc.v20220401.models.Placement`
|
|
3017
|
-
:param _InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
|
3011
|
+
:param _InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><br><li>POSTPAID_BY_HOUR:按小时后付费</li><br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。</li>
|
|
3018
3012
|
:type InstanceChargeType: str
|
|
3019
3013
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。
|
|
3020
3014
|
:type InstanceChargePrepaid: :class:`tencentcloud.thpc.v20220401.models.InstanceChargePrepaid`
|
|
3021
|
-
:param _InstanceType: 节点机型。不同实例机型指定了不同的资源规格。
|
|
3022
|
-
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。
|
|
3015
|
+
:param _InstanceType: 节点机型。不同实例机型指定了不同的资源规格。 <br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>
|
|
3023
3016
|
:type InstanceType: str
|
|
3024
3017
|
:param _VirtualPrivateCloud: 私有网络相关信息配置。
|
|
3025
3018
|
:type VirtualPrivateCloud: :class:`tencentcloud.thpc.v20220401.models.VirtualPrivateCloud`
|
|
@@ -3043,7 +3036,7 @@ class ExpansionNodeConfig(AbstractModel):
|
|
|
3043
3036
|
|
|
3044
3037
|
@property
|
|
3045
3038
|
def InstanceChargeType(self):
|
|
3046
|
-
"""节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
|
3039
|
+
"""节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><br><li>POSTPAID_BY_HOUR:按小时后付费</li><br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。</li>
|
|
3047
3040
|
:rtype: str
|
|
3048
3041
|
"""
|
|
3049
3042
|
return self._InstanceChargeType
|
|
@@ -3065,8 +3058,7 @@ class ExpansionNodeConfig(AbstractModel):
|
|
|
3065
3058
|
|
|
3066
3059
|
@property
|
|
3067
3060
|
def InstanceType(self):
|
|
3068
|
-
"""节点机型。不同实例机型指定了不同的资源规格。
|
|
3069
|
-
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。
|
|
3061
|
+
"""节点机型。不同实例机型指定了不同的资源规格。 <br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>
|
|
3070
3062
|
:rtype: str
|
|
3071
3063
|
"""
|
|
3072
3064
|
return self._InstanceType
|
|
@@ -3797,14 +3789,14 @@ class LoginSettings(AbstractModel):
|
|
|
3797
3789
|
|
|
3798
3790
|
def __init__(self):
|
|
3799
3791
|
r"""
|
|
3800
|
-
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
|
3792
|
+
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li><br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
3801
3793
|
:type Password: str
|
|
3802
3794
|
"""
|
|
3803
3795
|
self._Password = None
|
|
3804
3796
|
|
|
3805
3797
|
@property
|
|
3806
3798
|
def Password(self):
|
|
3807
|
-
"""实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
|
3799
|
+
"""实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li><br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
3808
3800
|
:rtype: str
|
|
3809
3801
|
"""
|
|
3810
3802
|
return self._Password
|
|
@@ -4021,7 +4013,7 @@ class NodeActivity(AbstractModel):
|
|
|
4021
4013
|
:param _NodeInstanceId: 节点活动所在的实例ID。
|
|
4022
4014
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4023
4015
|
:type NodeInstanceId: str
|
|
4024
|
-
:param _NodeActivityStatus: 节点活动状态。取值范围:<br><li>RUNNING
|
|
4016
|
+
:param _NodeActivityStatus: 节点活动状态。取值范围:<br><li>RUNNING:运行中</li><br><li>SUCCESSFUL:活动成功</li><br><li>FAILED:活动失败</li>
|
|
4025
4017
|
:type NodeActivityStatus: str
|
|
4026
4018
|
:param _NodeActivityStatusCode: 节点活动状态码。
|
|
4027
4019
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -4049,7 +4041,7 @@ class NodeActivity(AbstractModel):
|
|
|
4049
4041
|
|
|
4050
4042
|
@property
|
|
4051
4043
|
def NodeActivityStatus(self):
|
|
4052
|
-
"""节点活动状态。取值范围:<br><li>RUNNING
|
|
4044
|
+
"""节点活动状态。取值范围:<br><li>RUNNING:运行中</li><br><li>SUCCESSFUL:活动成功</li><br><li>FAILED:活动失败</li>
|
|
4053
4045
|
:rtype: str
|
|
4054
4046
|
"""
|
|
4055
4047
|
return self._NodeActivityStatus
|
|
@@ -924,10 +924,9 @@ class ClusterActivity(AbstractModel):
|
|
|
924
924
|
:type ClusterId: str
|
|
925
925
|
:param _ActivityId: 集群活动ID。
|
|
926
926
|
:type ActivityId: str
|
|
927
|
-
:param _ActivityType: 集群活动类型。取值范围:<br><li>CreateAndAddNodes
|
|
928
|
-
|
|
927
|
+
:param _ActivityType: 集群活动类型。取值范围:<br><li>CreateAndAddNodes:创建实例并添加进集群</li><br><li>RemoveNodesFromCluster:从集群移除实例</li><br><li>TerminateNodes:销毁实例</li><br><li>MountStorageOption:增加挂载选项并进行挂载</li><br><li>UmountStorageOption:删除集群挂载存储选项并解挂载</li>
|
|
929
928
|
:type ActivityType: str
|
|
930
|
-
:param _ActivityStatus: 集群活动状态。取值范围:<br><li>PENDING
|
|
929
|
+
:param _ActivityStatus: 集群活动状态。取值范围:<br><li>PENDING:等待运行</li><br><li>RUNNING:运行中</li><br><li>SUCCESSFUL:活动成功</li><br><li>PARTIALLY_SUCCESSFUL:活动部分成功</li><br><li>FAILED:活动失败</li>
|
|
931
930
|
:type ActivityStatus: str
|
|
932
931
|
:param _ActivityStatusCode: 集群活动状态码。
|
|
933
932
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -984,8 +983,7 @@ class ClusterActivity(AbstractModel):
|
|
|
984
983
|
|
|
985
984
|
@property
|
|
986
985
|
def ActivityType(self):
|
|
987
|
-
"""集群活动类型。取值范围:<br><li>CreateAndAddNodes
|
|
988
|
-
|
|
986
|
+
"""集群活动类型。取值范围:<br><li>CreateAndAddNodes:创建实例并添加进集群</li><br><li>RemoveNodesFromCluster:从集群移除实例</li><br><li>TerminateNodes:销毁实例</li><br><li>MountStorageOption:增加挂载选项并进行挂载</li><br><li>UmountStorageOption:删除集群挂载存储选项并解挂载</li>
|
|
989
987
|
:rtype: str
|
|
990
988
|
"""
|
|
991
989
|
return self._ActivityType
|
|
@@ -996,7 +994,7 @@ class ClusterActivity(AbstractModel):
|
|
|
996
994
|
|
|
997
995
|
@property
|
|
998
996
|
def ActivityStatus(self):
|
|
999
|
-
"""集群活动状态。取值范围:<br><li>PENDING
|
|
997
|
+
"""集群活动状态。取值范围:<br><li>PENDING:等待运行</li><br><li>RUNNING:运行中</li><br><li>SUCCESSFUL:活动成功</li><br><li>PARTIALLY_SUCCESSFUL:活动部分成功</li><br><li>FAILED:活动失败</li>
|
|
1000
998
|
:rtype: str
|
|
1001
999
|
"""
|
|
1002
1000
|
return self._ActivityStatus
|
|
@@ -2035,7 +2033,7 @@ class CreateWorkspacesRequest(AbstractModel):
|
|
|
2035
2033
|
:type Placement: :class:`tencentcloud.thpc.v20230321.models.SpacePlacement`
|
|
2036
2034
|
:param _SpaceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
|
|
2037
2035
|
:type SpaceChargePrepaid: :class:`tencentcloud.thpc.v20230321.models.SpaceChargePrepaid`
|
|
2038
|
-
:param _SpaceChargeType:
|
|
2036
|
+
:param _SpaceChargeType: 工作空间计费类型,包括:PREPAID,UNDERWRITE。工作空间计费类型,包括:PREPAID,UNDERWRITE。
|
|
2039
2037
|
:type SpaceChargeType: str
|
|
2040
2038
|
:param _SpaceType: 工作空间规格
|
|
2041
2039
|
:type SpaceType: str
|
|
@@ -2132,7 +2130,7 @@ class CreateWorkspacesRequest(AbstractModel):
|
|
|
2132
2130
|
|
|
2133
2131
|
@property
|
|
2134
2132
|
def SpaceChargeType(self):
|
|
2135
|
-
"""
|
|
2133
|
+
"""工作空间计费类型,包括:PREPAID,UNDERWRITE。工作空间计费类型,包括:PREPAID,UNDERWRITE。
|
|
2136
2134
|
:rtype: str
|
|
2137
2135
|
"""
|
|
2138
2136
|
return self._SpaceChargeType
|
|
@@ -3977,12 +3975,12 @@ class ExpansionNodeConfig(AbstractModel):
|
|
|
3977
3975
|
r"""
|
|
3978
3976
|
:param _Placement: 扩容实例所在的位置。
|
|
3979
3977
|
:type Placement: :class:`tencentcloud.thpc.v20230321.models.Placement`
|
|
3980
|
-
:param _InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
|
3978
|
+
:param _InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><br><li>POSTPAID_BY_HOUR:按小时后付费</li><br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。</li>
|
|
3981
3979
|
:type InstanceChargeType: str
|
|
3982
3980
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。
|
|
3983
3981
|
:type InstanceChargePrepaid: :class:`tencentcloud.thpc.v20230321.models.InstanceChargePrepaid`
|
|
3984
3982
|
:param _InstanceType: 节点机型。不同实例机型指定了不同的资源规格。
|
|
3985
|
-
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
|
3983
|
+
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>
|
|
3986
3984
|
:type InstanceType: str
|
|
3987
3985
|
:param _VirtualPrivateCloud: 私有网络相关信息配置。
|
|
3988
3986
|
:type VirtualPrivateCloud: :class:`tencentcloud.thpc.v20230321.models.VirtualPrivateCloud`
|
|
@@ -4009,7 +4007,7 @@ class ExpansionNodeConfig(AbstractModel):
|
|
|
4009
4007
|
|
|
4010
4008
|
@property
|
|
4011
4009
|
def InstanceChargeType(self):
|
|
4012
|
-
"""节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
|
4010
|
+
"""节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><br><li>POSTPAID_BY_HOUR:按小时后付费</li><br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。</li>
|
|
4013
4011
|
:rtype: str
|
|
4014
4012
|
"""
|
|
4015
4013
|
return self._InstanceChargeType
|
|
@@ -4032,7 +4030,7 @@ class ExpansionNodeConfig(AbstractModel):
|
|
|
4032
4030
|
@property
|
|
4033
4031
|
def InstanceType(self):
|
|
4034
4032
|
"""节点机型。不同实例机型指定了不同的资源规格。
|
|
4035
|
-
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
|
4033
|
+
<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>
|
|
4036
4034
|
:rtype: str
|
|
4037
4035
|
"""
|
|
4038
4036
|
return self._InstanceType
|
|
@@ -5332,7 +5330,7 @@ class NodeActivity(AbstractModel):
|
|
|
5332
5330
|
:param _NodeInstanceId: 节点活动所在的实例ID。
|
|
5333
5331
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5334
5332
|
:type NodeInstanceId: str
|
|
5335
|
-
:param _NodeActivityStatus: 节点活动状态。取值范围:<br><li>RUNNING
|
|
5333
|
+
:param _NodeActivityStatus: 节点活动状态。取值范围:<br><li>RUNNING:运行中</li><br><li>SUCCESSFUL:活动成功</li><br><li>FAILED:活动失败</li>
|
|
5336
5334
|
:type NodeActivityStatus: str
|
|
5337
5335
|
:param _NodeActivityStatusCode: 节点活动状态码。
|
|
5338
5336
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -5360,7 +5358,7 @@ class NodeActivity(AbstractModel):
|
|
|
5360
5358
|
|
|
5361
5359
|
@property
|
|
5362
5360
|
def NodeActivityStatus(self):
|
|
5363
|
-
"""节点活动状态。取值范围:<br><li>RUNNING
|
|
5361
|
+
"""节点活动状态。取值范围:<br><li>RUNNING:运行中</li><br><li>SUCCESSFUL:活动成功</li><br><li>FAILED:活动失败</li>
|
|
5364
5362
|
:rtype: str
|
|
5365
5363
|
"""
|
|
5366
5364
|
return self._NodeActivityStatus
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-thpc
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1293
|
|
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
|
|
@@ -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 (==3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.1293)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=Lcaq7MOeNWTrFmXZbCUGnZI--A1kbjulV6KSUW8wvi4,631
|
|
2
2
|
tencentcloud/thpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/thpc/v20211109/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/thpc/v20211109/errorcodes.py,sha256=xwipivn8e41cJXazb93E1dSq36noRO_aNmrGy_EjxTc,2035
|
|
5
|
-
tencentcloud/thpc/v20211109/models.py,sha256=
|
|
5
|
+
tencentcloud/thpc/v20211109/models.py,sha256=W7MGYJRzlKh0ezBioWmqpvMz84dERA-54bwvEmAMnKw,81819
|
|
6
6
|
tencentcloud/thpc/v20211109/thpc_client.py,sha256=RzRLcnxccfaESshDSbHugkl1I9DnqTHBBSvNYHyztKg,4628
|
|
7
7
|
tencentcloud/thpc/v20220401/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
tencentcloud/thpc/v20220401/errorcodes.py,sha256=7RNFDuGNCpUDA0OhzZUEdLb2YtBLo8GMqcUk2x_i75Q,4733
|
|
9
|
-
tencentcloud/thpc/v20220401/models.py,sha256=
|
|
9
|
+
tencentcloud/thpc/v20220401/models.py,sha256=vZc0gGX_pCdbBr2IEhY665koYN7X1haUNohvHCSQvKM,185642
|
|
10
10
|
tencentcloud/thpc/v20220401/thpc_client.py,sha256=rrgT0LO6OMZ9vve-_2fldB55OjtX8rIa5dSBomAjAlc,16797
|
|
11
11
|
tencentcloud/thpc/v20230321/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
12
|
tencentcloud/thpc/v20230321/errorcodes.py,sha256=-6slXCfU9hhy6gpzJxVr0X8XxmlRAnKBmRr5NiR2IAY,4560
|
|
13
|
-
tencentcloud/thpc/v20230321/models.py,sha256=
|
|
13
|
+
tencentcloud/thpc/v20230321/models.py,sha256=n3iXlFQHWTgKO0vQoP2DlKX8RvpCX9_a_7S7RjYS88w,288810
|
|
14
14
|
tencentcloud/thpc/v20230321/thpc_client.py,sha256=508bMeH-q1eeB3VJ-XygKKuvXBvayzaE0t5P80pUTIE,23401
|
|
15
|
-
tencentcloud_sdk_python_thpc-3.0.
|
|
16
|
-
tencentcloud_sdk_python_thpc-3.0.
|
|
17
|
-
tencentcloud_sdk_python_thpc-3.0.
|
|
18
|
-
tencentcloud_sdk_python_thpc-3.0.
|
|
15
|
+
tencentcloud_sdk_python_thpc-3.0.1293.dist-info/METADATA,sha256=7hN2pKX6nKVwTLw6r65mGFMvWuktTjW3RKpl9D9QhjA,1501
|
|
16
|
+
tencentcloud_sdk_python_thpc-3.0.1293.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
17
|
+
tencentcloud_sdk_python_thpc-3.0.1293.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
18
|
+
tencentcloud_sdk_python_thpc-3.0.1293.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|