tencentcloud-sdk-python-thpc 3.0.1345__py2.py3-none-any.whl → 3.0.1350__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/v20220401/models.py +0 -8
- tencentcloud/thpc/v20230321/models.py +64 -44
- {tencentcloud_sdk_python_thpc-3.0.1345.dist-info → tencentcloud_sdk_python_thpc-3.0.1350.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_thpc-3.0.1345.dist-info → tencentcloud_sdk_python_thpc-3.0.1350.dist-info}/RECORD +7 -7
- {tencentcloud_sdk_python_thpc-3.0.1345.dist-info → tencentcloud_sdk_python_thpc-3.0.1350.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_thpc-3.0.1345.dist-info → tencentcloud_sdk_python_thpc-3.0.1350.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -926,7 +926,6 @@ class ClusterActivity(AbstractModel):
|
|
|
926
926
|
:param _ActivityStatus: 集群活动状态。取值范围:<br><li>PENDING:等待运行</li><br><li>RUNNING:运行中</li><br><li>SUCCESSFUL:活动成功</li><br><li>PARTIALLY_SUCCESSFUL:活动部分成功</li><br><li>FAILED:活动失败</li>
|
|
927
927
|
:type ActivityStatus: str
|
|
928
928
|
:param _ActivityStatusCode: 集群活动状态码。
|
|
929
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
930
929
|
:type ActivityStatusCode: str
|
|
931
930
|
:param _ResultDetail: 集群活动结果详情。
|
|
932
931
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -938,10 +937,8 @@ class ClusterActivity(AbstractModel):
|
|
|
938
937
|
:param _RelatedNodeActivitySet: 集群活动相关节点活动集合。
|
|
939
938
|
:type RelatedNodeActivitySet: list of NodeActivity
|
|
940
939
|
:param _StartTime: 集群活动开始时间。
|
|
941
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
942
940
|
:type StartTime: str
|
|
943
941
|
:param _EndTime: 集群活动结束时间。
|
|
944
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
945
942
|
:type EndTime: str
|
|
946
943
|
"""
|
|
947
944
|
self._ClusterId = None
|
|
@@ -1003,7 +1000,6 @@ class ClusterActivity(AbstractModel):
|
|
|
1003
1000
|
@property
|
|
1004
1001
|
def ActivityStatusCode(self):
|
|
1005
1002
|
"""集群活动状态码。
|
|
1006
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1007
1003
|
:rtype: str
|
|
1008
1004
|
"""
|
|
1009
1005
|
return self._ActivityStatusCode
|
|
@@ -1060,7 +1056,6 @@ class ClusterActivity(AbstractModel):
|
|
|
1060
1056
|
@property
|
|
1061
1057
|
def StartTime(self):
|
|
1062
1058
|
"""集群活动开始时间。
|
|
1063
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1064
1059
|
:rtype: str
|
|
1065
1060
|
"""
|
|
1066
1061
|
return self._StartTime
|
|
@@ -1072,7 +1067,6 @@ class ClusterActivity(AbstractModel):
|
|
|
1072
1067
|
@property
|
|
1073
1068
|
def EndTime(self):
|
|
1074
1069
|
"""集群活动结束时间。
|
|
1075
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1076
1070
|
:rtype: str
|
|
1077
1071
|
"""
|
|
1078
1072
|
return self._EndTime
|
|
@@ -4553,7 +4547,6 @@ class QueueOverview(AbstractModel):
|
|
|
4553
4547
|
def __init__(self):
|
|
4554
4548
|
r"""
|
|
4555
4549
|
:param _QueueName: 队列名称。
|
|
4556
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4557
4550
|
:type QueueName: str
|
|
4558
4551
|
"""
|
|
4559
4552
|
self._QueueName = None
|
|
@@ -4561,7 +4554,6 @@ class QueueOverview(AbstractModel):
|
|
|
4561
4554
|
@property
|
|
4562
4555
|
def QueueName(self):
|
|
4563
4556
|
"""队列名称。
|
|
4564
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4565
4557
|
:rtype: str
|
|
4566
4558
|
"""
|
|
4567
4559
|
return self._QueueName
|
|
@@ -929,7 +929,6 @@ class ClusterActivity(AbstractModel):
|
|
|
929
929
|
:param _ActivityStatus: 集群活动状态。取值范围:<br><li>PENDING:等待运行</li><br><li>RUNNING:运行中</li><br><li>SUCCESSFUL:活动成功</li><br><li>PARTIALLY_SUCCESSFUL:活动部分成功</li><br><li>FAILED:活动失败</li>
|
|
930
930
|
:type ActivityStatus: str
|
|
931
931
|
:param _ActivityStatusCode: 集群活动状态码。
|
|
932
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
933
932
|
:type ActivityStatusCode: str
|
|
934
933
|
:param _ResultDetail: 集群活动结果详情。
|
|
935
934
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -941,10 +940,8 @@ class ClusterActivity(AbstractModel):
|
|
|
941
940
|
:param _RelatedNodeActivitySet: 集群活动相关节点活动集合。
|
|
942
941
|
:type RelatedNodeActivitySet: list of NodeActivity
|
|
943
942
|
:param _StartTime: 集群活动开始时间。
|
|
944
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
945
943
|
:type StartTime: str
|
|
946
944
|
:param _EndTime: 集群活动结束时间。
|
|
947
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
948
945
|
:type EndTime: str
|
|
949
946
|
"""
|
|
950
947
|
self._ClusterId = None
|
|
@@ -1006,7 +1003,6 @@ class ClusterActivity(AbstractModel):
|
|
|
1006
1003
|
@property
|
|
1007
1004
|
def ActivityStatusCode(self):
|
|
1008
1005
|
"""集群活动状态码。
|
|
1009
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1010
1006
|
:rtype: str
|
|
1011
1007
|
"""
|
|
1012
1008
|
return self._ActivityStatusCode
|
|
@@ -1063,7 +1059,6 @@ class ClusterActivity(AbstractModel):
|
|
|
1063
1059
|
@property
|
|
1064
1060
|
def StartTime(self):
|
|
1065
1061
|
"""集群活动开始时间。
|
|
1066
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1067
1062
|
:rtype: str
|
|
1068
1063
|
"""
|
|
1069
1064
|
return self._StartTime
|
|
@@ -1075,7 +1070,6 @@ class ClusterActivity(AbstractModel):
|
|
|
1075
1070
|
@property
|
|
1076
1071
|
def EndTime(self):
|
|
1077
1072
|
"""集群活动结束时间。
|
|
1078
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1079
1073
|
:rtype: str
|
|
1080
1074
|
"""
|
|
1081
1075
|
return self._EndTime
|
|
@@ -1132,7 +1126,6 @@ class ClusterOverview(AbstractModel):
|
|
|
1132
1126
|
:param _SchedulerType: 集群调度器。
|
|
1133
1127
|
:type SchedulerType: str
|
|
1134
1128
|
:param _SchedulerVersion: 集群调度器版本。
|
|
1135
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1136
1129
|
:type SchedulerVersion: str
|
|
1137
1130
|
:param _ComputeNodeCount: 计算节点数量。
|
|
1138
1131
|
:type ComputeNodeCount: int
|
|
@@ -1150,6 +1143,8 @@ class ClusterOverview(AbstractModel):
|
|
|
1150
1143
|
:type AutoScalingType: str
|
|
1151
1144
|
:param _VpcId: 集群所属私有网络ID。
|
|
1152
1145
|
:type VpcId: str
|
|
1146
|
+
:param _ClusterType: 集群类型
|
|
1147
|
+
:type ClusterType: str
|
|
1153
1148
|
"""
|
|
1154
1149
|
self._ClusterId = None
|
|
1155
1150
|
self._ClusterStatus = None
|
|
@@ -1166,6 +1161,7 @@ class ClusterOverview(AbstractModel):
|
|
|
1166
1161
|
self._LoginNodeCount = None
|
|
1167
1162
|
self._AutoScalingType = None
|
|
1168
1163
|
self._VpcId = None
|
|
1164
|
+
self._ClusterType = None
|
|
1169
1165
|
|
|
1170
1166
|
@property
|
|
1171
1167
|
def ClusterId(self):
|
|
@@ -1236,7 +1232,6 @@ class ClusterOverview(AbstractModel):
|
|
|
1236
1232
|
@property
|
|
1237
1233
|
def SchedulerVersion(self):
|
|
1238
1234
|
"""集群调度器版本。
|
|
1239
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1240
1235
|
:rtype: str
|
|
1241
1236
|
"""
|
|
1242
1237
|
return self._SchedulerVersion
|
|
@@ -1333,6 +1328,17 @@ class ClusterOverview(AbstractModel):
|
|
|
1333
1328
|
def VpcId(self, VpcId):
|
|
1334
1329
|
self._VpcId = VpcId
|
|
1335
1330
|
|
|
1331
|
+
@property
|
|
1332
|
+
def ClusterType(self):
|
|
1333
|
+
"""集群类型
|
|
1334
|
+
:rtype: str
|
|
1335
|
+
"""
|
|
1336
|
+
return self._ClusterType
|
|
1337
|
+
|
|
1338
|
+
@ClusterType.setter
|
|
1339
|
+
def ClusterType(self, ClusterType):
|
|
1340
|
+
self._ClusterType = ClusterType
|
|
1341
|
+
|
|
1336
1342
|
|
|
1337
1343
|
def _deserialize(self, params):
|
|
1338
1344
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -1367,6 +1373,7 @@ class ClusterOverview(AbstractModel):
|
|
|
1367
1373
|
self._LoginNodeCount = params.get("LoginNodeCount")
|
|
1368
1374
|
self._AutoScalingType = params.get("AutoScalingType")
|
|
1369
1375
|
self._VpcId = params.get("VpcId")
|
|
1376
|
+
self._ClusterType = params.get("ClusterType")
|
|
1370
1377
|
memeber_set = set(params.keys())
|
|
1371
1378
|
for name, value in vars(self).items():
|
|
1372
1379
|
property_name = name[1:]
|
|
@@ -3142,10 +3149,20 @@ class DescribeClustersRequest(AbstractModel):
|
|
|
3142
3149
|
:type Offset: int
|
|
3143
3150
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
3144
3151
|
:type Limit: int
|
|
3152
|
+
:param _Filters: <ul>
|
|
3153
|
+
<li><strong>cluster-type</strong>
|
|
3154
|
+
<p style="padding-left: 30px;">按照【<strong>集群类型</strong>】进行过滤</p>
|
|
3155
|
+
<p style="padding-left: 30px;">类型:String</p>
|
|
3156
|
+
<p style="padding-left: 30px;">必选:否</p>
|
|
3157
|
+
</li>
|
|
3158
|
+
</ul>
|
|
3159
|
+
<p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。</p>
|
|
3160
|
+
:type Filters: list of Filter
|
|
3145
3161
|
"""
|
|
3146
3162
|
self._ClusterIds = None
|
|
3147
3163
|
self._Offset = None
|
|
3148
3164
|
self._Limit = None
|
|
3165
|
+
self._Filters = None
|
|
3149
3166
|
|
|
3150
3167
|
@property
|
|
3151
3168
|
def ClusterIds(self):
|
|
@@ -3180,11 +3197,35 @@ class DescribeClustersRequest(AbstractModel):
|
|
|
3180
3197
|
def Limit(self, Limit):
|
|
3181
3198
|
self._Limit = Limit
|
|
3182
3199
|
|
|
3200
|
+
@property
|
|
3201
|
+
def Filters(self):
|
|
3202
|
+
"""<ul>
|
|
3203
|
+
<li><strong>cluster-type</strong>
|
|
3204
|
+
<p style="padding-left: 30px;">按照【<strong>集群类型</strong>】进行过滤</p>
|
|
3205
|
+
<p style="padding-left: 30px;">类型:String</p>
|
|
3206
|
+
<p style="padding-left: 30px;">必选:否</p>
|
|
3207
|
+
</li>
|
|
3208
|
+
</ul>
|
|
3209
|
+
<p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。</p>
|
|
3210
|
+
:rtype: list of Filter
|
|
3211
|
+
"""
|
|
3212
|
+
return self._Filters
|
|
3213
|
+
|
|
3214
|
+
@Filters.setter
|
|
3215
|
+
def Filters(self, Filters):
|
|
3216
|
+
self._Filters = Filters
|
|
3217
|
+
|
|
3183
3218
|
|
|
3184
3219
|
def _deserialize(self, params):
|
|
3185
3220
|
self._ClusterIds = params.get("ClusterIds")
|
|
3186
3221
|
self._Offset = params.get("Offset")
|
|
3187
3222
|
self._Limit = params.get("Limit")
|
|
3223
|
+
if params.get("Filters") is not None:
|
|
3224
|
+
self._Filters = []
|
|
3225
|
+
for item in params.get("Filters"):
|
|
3226
|
+
obj = Filter()
|
|
3227
|
+
obj._deserialize(item)
|
|
3228
|
+
self._Filters.append(obj)
|
|
3188
3229
|
memeber_set = set(params.keys())
|
|
3189
3230
|
for name, value in vars(self).items():
|
|
3190
3231
|
property_name = name[1:]
|
|
@@ -3890,13 +3931,10 @@ class EnhancedService(AbstractModel):
|
|
|
3890
3931
|
def __init__(self):
|
|
3891
3932
|
r"""
|
|
3892
3933
|
:param _SecurityService: 开启云安全服务。若不指定该参数,则默认开启云安全服务。
|
|
3893
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3894
3934
|
:type SecurityService: :class:`tencentcloud.thpc.v20230321.models.RunSecurityServiceEnabled`
|
|
3895
3935
|
:param _MonitorService: 开启腾讯云可观测平台服务。若不指定该参数,则默认开启腾讯云可观测平台服务。
|
|
3896
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3897
3936
|
:type MonitorService: :class:`tencentcloud.thpc.v20230321.models.RunMonitorServiceEnabled`
|
|
3898
3937
|
:param _AutomationService: 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
|
|
3899
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3900
3938
|
:type AutomationService: :class:`tencentcloud.thpc.v20230321.models.RunAutomationServiceEnabled`
|
|
3901
3939
|
"""
|
|
3902
3940
|
self._SecurityService = None
|
|
@@ -3906,7 +3944,6 @@ class EnhancedService(AbstractModel):
|
|
|
3906
3944
|
@property
|
|
3907
3945
|
def SecurityService(self):
|
|
3908
3946
|
"""开启云安全服务。若不指定该参数,则默认开启云安全服务。
|
|
3909
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3910
3947
|
:rtype: :class:`tencentcloud.thpc.v20230321.models.RunSecurityServiceEnabled`
|
|
3911
3948
|
"""
|
|
3912
3949
|
return self._SecurityService
|
|
@@ -3918,7 +3955,6 @@ class EnhancedService(AbstractModel):
|
|
|
3918
3955
|
@property
|
|
3919
3956
|
def MonitorService(self):
|
|
3920
3957
|
"""开启腾讯云可观测平台服务。若不指定该参数,则默认开启腾讯云可观测平台服务。
|
|
3921
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3922
3958
|
:rtype: :class:`tencentcloud.thpc.v20230321.models.RunMonitorServiceEnabled`
|
|
3923
3959
|
"""
|
|
3924
3960
|
return self._MonitorService
|
|
@@ -3930,7 +3966,6 @@ class EnhancedService(AbstractModel):
|
|
|
3930
3966
|
@property
|
|
3931
3967
|
def AutomationService(self):
|
|
3932
3968
|
"""开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
|
|
3933
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3934
3969
|
:rtype: :class:`tencentcloud.thpc.v20230321.models.RunAutomationServiceEnabled`
|
|
3935
3970
|
"""
|
|
3936
3971
|
return self._AutomationService
|
|
@@ -4512,10 +4547,8 @@ class GooseFSxOptionOverview(AbstractModel):
|
|
|
4512
4547
|
def __init__(self):
|
|
4513
4548
|
r"""
|
|
4514
4549
|
:param _Masters: 文件系统master的ip和端口列表。
|
|
4515
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4516
4550
|
:type Masters: list of str
|
|
4517
4551
|
:param _LocalPath: 文件系统的本地挂载路径。GooseFSx目前只支持挂载在/goosefsx/{文件系统ID}_proxy/目录下。
|
|
4518
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4519
4552
|
:type LocalPath: str
|
|
4520
4553
|
"""
|
|
4521
4554
|
self._Masters = None
|
|
@@ -4524,7 +4557,6 @@ class GooseFSxOptionOverview(AbstractModel):
|
|
|
4524
4557
|
@property
|
|
4525
4558
|
def Masters(self):
|
|
4526
4559
|
"""文件系统master的ip和端口列表。
|
|
4527
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4528
4560
|
:rtype: list of str
|
|
4529
4561
|
"""
|
|
4530
4562
|
return self._Masters
|
|
@@ -4536,7 +4568,6 @@ class GooseFSxOptionOverview(AbstractModel):
|
|
|
4536
4568
|
@property
|
|
4537
4569
|
def LocalPath(self):
|
|
4538
4570
|
"""文件系统的本地挂载路径。GooseFSx目前只支持挂载在/goosefsx/{文件系统ID}_proxy/目录下。
|
|
4539
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4540
4571
|
:rtype: str
|
|
4541
4572
|
"""
|
|
4542
4573
|
return self._LocalPath
|
|
@@ -5420,6 +5451,8 @@ class NodeOverview(AbstractModel):
|
|
|
5420
5451
|
:param _NodeId: thpc集群节点id
|
|
5421
5452
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5422
5453
|
:type NodeId: str
|
|
5454
|
+
:param _NodeAllocateState: 节点的工作状态
|
|
5455
|
+
:type NodeAllocateState: str
|
|
5423
5456
|
"""
|
|
5424
5457
|
self._InstanceId = None
|
|
5425
5458
|
self._Zone = None
|
|
@@ -5429,6 +5462,7 @@ class NodeOverview(AbstractModel):
|
|
|
5429
5462
|
self._NodeRole = None
|
|
5430
5463
|
self._NodeType = None
|
|
5431
5464
|
self._NodeId = None
|
|
5465
|
+
self._NodeAllocateState = None
|
|
5432
5466
|
|
|
5433
5467
|
@property
|
|
5434
5468
|
def InstanceId(self):
|
|
@@ -5526,6 +5560,17 @@ class NodeOverview(AbstractModel):
|
|
|
5526
5560
|
def NodeId(self, NodeId):
|
|
5527
5561
|
self._NodeId = NodeId
|
|
5528
5562
|
|
|
5563
|
+
@property
|
|
5564
|
+
def NodeAllocateState(self):
|
|
5565
|
+
"""节点的工作状态
|
|
5566
|
+
:rtype: str
|
|
5567
|
+
"""
|
|
5568
|
+
return self._NodeAllocateState
|
|
5569
|
+
|
|
5570
|
+
@NodeAllocateState.setter
|
|
5571
|
+
def NodeAllocateState(self, NodeAllocateState):
|
|
5572
|
+
self._NodeAllocateState = NodeAllocateState
|
|
5573
|
+
|
|
5529
5574
|
|
|
5530
5575
|
def _deserialize(self, params):
|
|
5531
5576
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -5536,6 +5581,7 @@ class NodeOverview(AbstractModel):
|
|
|
5536
5581
|
self._NodeRole = params.get("NodeRole")
|
|
5537
5582
|
self._NodeType = params.get("NodeType")
|
|
5538
5583
|
self._NodeId = params.get("NodeId")
|
|
5584
|
+
self._NodeAllocateState = params.get("NodeAllocateState")
|
|
5539
5585
|
memeber_set = set(params.keys())
|
|
5540
5586
|
for name, value in vars(self).items():
|
|
5541
5587
|
property_name = name[1:]
|
|
@@ -5555,10 +5601,8 @@ class NodeScript(AbstractModel):
|
|
|
5555
5601
|
r"""
|
|
5556
5602
|
:param _ScriptPath: 节点执行脚本获取地址。
|
|
5557
5603
|
目前仅支持cos地址。地址最大长度:255。
|
|
5558
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5559
5604
|
:type ScriptPath: str
|
|
5560
5605
|
:param _Timeout: 脚本执行超时时间(包含拉取脚本的时间)。单位秒,默认值:30。取值范围:10~1200。
|
|
5561
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5562
5606
|
:type Timeout: int
|
|
5563
5607
|
"""
|
|
5564
5608
|
self._ScriptPath = None
|
|
@@ -5568,7 +5612,6 @@ class NodeScript(AbstractModel):
|
|
|
5568
5612
|
def ScriptPath(self):
|
|
5569
5613
|
"""节点执行脚本获取地址。
|
|
5570
5614
|
目前仅支持cos地址。地址最大长度:255。
|
|
5571
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5572
5615
|
:rtype: str
|
|
5573
5616
|
"""
|
|
5574
5617
|
return self._ScriptPath
|
|
@@ -5580,7 +5623,6 @@ class NodeScript(AbstractModel):
|
|
|
5580
5623
|
@property
|
|
5581
5624
|
def Timeout(self):
|
|
5582
5625
|
"""脚本执行超时时间(包含拉取脚本的时间)。单位秒,默认值:30。取值范围:10~1200。
|
|
5583
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5584
5626
|
:rtype: int
|
|
5585
5627
|
"""
|
|
5586
5628
|
return self._Timeout
|
|
@@ -5967,28 +6009,23 @@ class QueueConfigOverview(AbstractModel):
|
|
|
5967
6009
|
:param _ExpansionNodeConfigs: 扩容节点配置信息。
|
|
5968
6010
|
:type ExpansionNodeConfigs: list of ExpansionNodeConfigOverview
|
|
5969
6011
|
:param _DesiredIdleNodeCapacity: 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
|
|
5970
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5971
6012
|
:type DesiredIdleNodeCapacity: int
|
|
5972
6013
|
:param _DesiredNodeCount: 队列中期望的总节点数。
|
|
5973
6014
|
:type DesiredNodeCount: int
|
|
5974
6015
|
:param _ScaleOutRatio: 扩容比例。默认值:100。取值范围:1~100。
|
|
5975
6016
|
如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
|
|
5976
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5977
6017
|
:type ScaleOutRatio: int
|
|
5978
6018
|
:param _ScaleOutNodeThreshold: 比例扩容阈值。默认值:0。取值范围:0~200。
|
|
5979
6019
|
当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
|
|
5980
6020
|
此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
|
|
5981
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5982
6021
|
:type ScaleOutNodeThreshold: int
|
|
5983
6022
|
:param _MaxNodesPerCycle: 每轮扩容最大节点个数。
|
|
5984
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5985
6023
|
:type MaxNodesPerCycle: int
|
|
5986
6024
|
:param _ScaleUpMemRatio: 扩容过程中,作业的内存在匹配实例机型时增大比例(不会影响作业提交的内存大小,只影响匹配计算过程)。<br/>
|
|
5987
6025
|
针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,
|
|
5988
6026
|
|
|
5989
6027
|
- 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
|
|
5990
6028
|
- 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
|
|
5991
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5992
6029
|
:type ScaleUpMemRatio: int
|
|
5993
6030
|
"""
|
|
5994
6031
|
self._QueueName = None
|
|
@@ -6073,7 +6110,6 @@ class QueueConfigOverview(AbstractModel):
|
|
|
6073
6110
|
@property
|
|
6074
6111
|
def DesiredIdleNodeCapacity(self):
|
|
6075
6112
|
"""队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
|
|
6076
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6077
6113
|
:rtype: int
|
|
6078
6114
|
"""
|
|
6079
6115
|
return self._DesiredIdleNodeCapacity
|
|
@@ -6097,7 +6133,6 @@ class QueueConfigOverview(AbstractModel):
|
|
|
6097
6133
|
def ScaleOutRatio(self):
|
|
6098
6134
|
"""扩容比例。默认值:100。取值范围:1~100。
|
|
6099
6135
|
如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
|
|
6100
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6101
6136
|
:rtype: int
|
|
6102
6137
|
"""
|
|
6103
6138
|
return self._ScaleOutRatio
|
|
@@ -6111,7 +6146,6 @@ class QueueConfigOverview(AbstractModel):
|
|
|
6111
6146
|
"""比例扩容阈值。默认值:0。取值范围:0~200。
|
|
6112
6147
|
当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
|
|
6113
6148
|
此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
|
|
6114
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6115
6149
|
:rtype: int
|
|
6116
6150
|
"""
|
|
6117
6151
|
return self._ScaleOutNodeThreshold
|
|
@@ -6123,7 +6157,6 @@ class QueueConfigOverview(AbstractModel):
|
|
|
6123
6157
|
@property
|
|
6124
6158
|
def MaxNodesPerCycle(self):
|
|
6125
6159
|
"""每轮扩容最大节点个数。
|
|
6126
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6127
6160
|
:rtype: int
|
|
6128
6161
|
"""
|
|
6129
6162
|
return self._MaxNodesPerCycle
|
|
@@ -6139,7 +6172,6 @@ class QueueConfigOverview(AbstractModel):
|
|
|
6139
6172
|
|
|
6140
6173
|
- 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
|
|
6141
6174
|
- 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
|
|
6142
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6143
6175
|
:rtype: int
|
|
6144
6176
|
"""
|
|
6145
6177
|
return self._ScaleUpMemRatio
|
|
@@ -6185,7 +6217,6 @@ class QueueOverview(AbstractModel):
|
|
|
6185
6217
|
def __init__(self):
|
|
6186
6218
|
r"""
|
|
6187
6219
|
:param _QueueName: 队列名称。
|
|
6188
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6189
6220
|
:type QueueName: str
|
|
6190
6221
|
"""
|
|
6191
6222
|
self._QueueName = None
|
|
@@ -6193,7 +6224,6 @@ class QueueOverview(AbstractModel):
|
|
|
6193
6224
|
@property
|
|
6194
6225
|
def QueueName(self):
|
|
6195
6226
|
"""队列名称。
|
|
6196
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6197
6227
|
:rtype: str
|
|
6198
6228
|
"""
|
|
6199
6229
|
return self._QueueName
|
|
@@ -6259,7 +6289,6 @@ class RunMonitorServiceEnabled(AbstractModel):
|
|
|
6259
6289
|
def __init__(self):
|
|
6260
6290
|
r"""
|
|
6261
6291
|
:param _Enabled: 是否开启[腾讯云可观测平台](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启腾讯云可观测平台服务</li><br><li>FALSE:表示不开启腾讯云可观测平台服务</li><br><br>默认取值:TRUE。
|
|
6262
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6263
6292
|
:type Enabled: bool
|
|
6264
6293
|
"""
|
|
6265
6294
|
self._Enabled = None
|
|
@@ -6267,7 +6296,6 @@ class RunMonitorServiceEnabled(AbstractModel):
|
|
|
6267
6296
|
@property
|
|
6268
6297
|
def Enabled(self):
|
|
6269
6298
|
"""是否开启[腾讯云可观测平台](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启腾讯云可观测平台服务</li><br><li>FALSE:表示不开启腾讯云可观测平台服务</li><br><br>默认取值:TRUE。
|
|
6270
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6271
6299
|
:rtype: bool
|
|
6272
6300
|
"""
|
|
6273
6301
|
return self._Enabled
|
|
@@ -7136,10 +7164,8 @@ class SpacePlacement(AbstractModel):
|
|
|
7136
7164
|
def __init__(self):
|
|
7137
7165
|
r"""
|
|
7138
7166
|
:param _Zone: 可用区
|
|
7139
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7140
7167
|
:type Zone: str
|
|
7141
7168
|
:param _ProjectId: 项目,默认是0
|
|
7142
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7143
7169
|
:type ProjectId: int
|
|
7144
7170
|
"""
|
|
7145
7171
|
self._Zone = None
|
|
@@ -7148,7 +7174,6 @@ class SpacePlacement(AbstractModel):
|
|
|
7148
7174
|
@property
|
|
7149
7175
|
def Zone(self):
|
|
7150
7176
|
"""可用区
|
|
7151
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7152
7177
|
:rtype: str
|
|
7153
7178
|
"""
|
|
7154
7179
|
return self._Zone
|
|
@@ -7160,7 +7185,6 @@ class SpacePlacement(AbstractModel):
|
|
|
7160
7185
|
@property
|
|
7161
7186
|
def ProjectId(self):
|
|
7162
7187
|
"""项目,默认是0
|
|
7163
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7164
7188
|
:rtype: int
|
|
7165
7189
|
"""
|
|
7166
7190
|
return self._ProjectId
|
|
@@ -7620,10 +7644,8 @@ class TagSpecification(AbstractModel):
|
|
|
7620
7644
|
def __init__(self):
|
|
7621
7645
|
r"""
|
|
7622
7646
|
:param _ResourceType: 标签绑定的资源类型
|
|
7623
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7624
7647
|
:type ResourceType: str
|
|
7625
7648
|
:param _Tags: 标签对列表
|
|
7626
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7627
7649
|
:type Tags: list of Tag
|
|
7628
7650
|
"""
|
|
7629
7651
|
self._ResourceType = None
|
|
@@ -7632,7 +7654,6 @@ class TagSpecification(AbstractModel):
|
|
|
7632
7654
|
@property
|
|
7633
7655
|
def ResourceType(self):
|
|
7634
7656
|
"""标签绑定的资源类型
|
|
7635
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7636
7657
|
:rtype: str
|
|
7637
7658
|
"""
|
|
7638
7659
|
return self._ResourceType
|
|
@@ -7644,7 +7665,6 @@ class TagSpecification(AbstractModel):
|
|
|
7644
7665
|
@property
|
|
7645
7666
|
def Tags(self):
|
|
7646
7667
|
"""标签对列表
|
|
7647
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7648
7668
|
:rtype: list of Tag
|
|
7649
7669
|
"""
|
|
7650
7670
|
return self._Tags
|
|
@@ -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.1350
|
|
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.1350)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=wVNC5MY3FKauOk0lVeGUoZ6dWhMidsFeQu0c5iT863c,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
|
|
@@ -6,13 +6,13 @@ tencentcloud/thpc/v20211109/models.py,sha256=s6LaKrztMyKx_UENbUTqcw6mvdeeFEhXtBc
|
|
|
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=8FIC9X4qbx685eR8UqKe6RjDeV2lmgU4w52PIj6rpr4,184818
|
|
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=NMyHMOKcg1aInx95bMbdPpvsuzufixmmlDnF1-5HYk8,288640
|
|
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.1350.dist-info/METADATA,sha256=l_NF8UWXfU5OvPMVoRixBxag3Mzg_EwT_54psnMAaSI,1501
|
|
16
|
+
tencentcloud_sdk_python_thpc-3.0.1350.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
17
|
+
tencentcloud_sdk_python_thpc-3.0.1350.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
18
|
+
tencentcloud_sdk_python_thpc-3.0.1350.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|