tencentcloud-sdk-thpc 3.0.870 → 3.0.871
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20230321/client.rb +48 -0
- data/lib/v20230321/models.rb +135 -21
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7ffbde7c5c97cf0df718f34b9e72d3afb62b733
|
4
|
+
data.tar.gz: 341c3e12ba2572586c3fa0c64207c8a6635249f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7d4c8e362d31b04d2e2a871964296a30d1a2b9e1ea096d8cb36e43b5eff5cdcb0b5a261461dabe7ae5550408f75e602ed5a112a2d5878536f6d60be644576c8
|
7
|
+
data.tar.gz: 42035acbf64e5d376cf2463a0a9a7002c206574b3953c5d80f55fe809cbc97eb61c7462b6b69918b4018721125ed28f7b56d09ba20fe1922fb5c33cccff84fae
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.871
|
data/lib/v20230321/client.rb
CHANGED
@@ -103,6 +103,30 @@ module TencentCloud
|
|
103
103
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
104
104
|
end
|
105
105
|
|
106
|
+
# 本接口 (AttachNodes) 用于绑定一个或者多个计算节点指定资源到指定集群中。
|
107
|
+
|
108
|
+
# @param request: Request instance for AttachNodes.
|
109
|
+
# @type request: :class:`Tencentcloud::thpc::V20230321::AttachNodesRequest`
|
110
|
+
# @rtype: :class:`Tencentcloud::thpc::V20230321::AttachNodesResponse`
|
111
|
+
def AttachNodes(request)
|
112
|
+
body = send_request('AttachNodes', request.serialize)
|
113
|
+
response = JSON.parse(body)
|
114
|
+
if response['Response'].key?('Error') == false
|
115
|
+
model = AttachNodesResponse.new
|
116
|
+
model.deserialize(response['Response'])
|
117
|
+
model
|
118
|
+
else
|
119
|
+
code = response['Response']['Error']['Code']
|
120
|
+
message = response['Response']['Error']['Message']
|
121
|
+
reqid = response['Response']['RequestId']
|
122
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
123
|
+
end
|
124
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
125
|
+
raise e
|
126
|
+
rescue StandardError => e
|
127
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
128
|
+
end
|
129
|
+
|
106
130
|
# 本接口 (CreateCluster) 用于创建并启动集群。
|
107
131
|
|
108
132
|
# * 本接口为异步接口, 当创建集群请求下发成功后会返回一个集群`ID`和一个`RequestId`,此时创建集群操作并未立即完成。在此期间集群的状态将会处于“PENDING”或者“INITING”,集群创建结果可以通过调用 [DescribeClusters](https://cloud.tencent.com/document/product/1527/72100) 接口查询,如果集群状态(ClusterStatus)变为“RUNNING(运行中)”,则代表集群创建成功,“ INIT_FAILED”代表集群创建失败。
|
@@ -396,6 +420,30 @@ module TencentCloud
|
|
396
420
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
397
421
|
end
|
398
422
|
|
423
|
+
# 本接口 (DetachNodes) 用于将一个或者多个计算节点从集群中移除,但是不销毁指定计算资源。
|
424
|
+
|
425
|
+
# @param request: Request instance for DetachNodes.
|
426
|
+
# @type request: :class:`Tencentcloud::thpc::V20230321::DetachNodesRequest`
|
427
|
+
# @rtype: :class:`Tencentcloud::thpc::V20230321::DetachNodesResponse`
|
428
|
+
def DetachNodes(request)
|
429
|
+
body = send_request('DetachNodes', request.serialize)
|
430
|
+
response = JSON.parse(body)
|
431
|
+
if response['Response'].key?('Error') == false
|
432
|
+
model = DetachNodesResponse.new
|
433
|
+
model.deserialize(response['Response'])
|
434
|
+
model
|
435
|
+
else
|
436
|
+
code = response['Response']['Error']['Code']
|
437
|
+
message = response['Response']['Error']['Message']
|
438
|
+
reqid = response['Response']['RequestId']
|
439
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
440
|
+
end
|
441
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
442
|
+
raise e
|
443
|
+
rescue StandardError => e
|
444
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
445
|
+
end
|
446
|
+
|
399
447
|
# 本接口 (ModifyInitNodeScripts) 用于修改节点初始化脚本。
|
400
448
|
|
401
449
|
# @param request: Request instance for ModifyInitNodeScripts.
|
data/lib/v20230321/models.rb
CHANGED
@@ -68,11 +68,11 @@ module TencentCloud
|
|
68
68
|
# @type Count: Integer
|
69
69
|
# @param ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜像和特定自定义镜像。
|
70
70
|
# @type ImageId: String
|
71
|
-
# @param InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
71
|
+
# @param InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:按小时后付费</li><li>SPOTPAID:竞价付费</li>默认值:POSTPAID_BY_HOUR。
|
72
72
|
# @type InstanceChargeType: String
|
73
73
|
# @param InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。
|
74
74
|
# @type InstanceChargePrepaid: :class:`Tencentcloud::Thpc.v20230321.models.InstanceChargePrepaid`
|
75
|
-
# @param InstanceType: 节点机型。不同实例机型指定了不同的资源规格。<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
75
|
+
# @param InstanceType: 节点机型。不同实例机型指定了不同的资源规格。<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>
|
76
76
|
# @type InstanceType: String
|
77
77
|
# @param SystemDisk: 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
78
78
|
# @type SystemDisk: :class:`Tencentcloud::Thpc.v20230321.models.SystemDisk`
|
@@ -90,9 +90,9 @@ module TencentCloud
|
|
90
90
|
# @type SecurityGroupIds: Array
|
91
91
|
# @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
92
92
|
# @type ClientToken: String
|
93
|
-
# @param QueueName: 队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute
|
93
|
+
# @param QueueName: 队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li><li>SGE默认队列为:all.q。</li>
|
94
94
|
# @type QueueName: String
|
95
|
-
# @param NodeRole: 添加节点角色。默认值:Compute<br><li>Compute
|
95
|
+
# @param NodeRole: 添加节点角色。默认值:Compute<br><li>Compute:计算节点。</li><li>Login:登录节点。</li>
|
96
96
|
# @type NodeRole: String
|
97
97
|
# @param DryRun: 是否只预检此次请求。
|
98
98
|
# true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和云服务器库存。
|
@@ -100,14 +100,16 @@ module TencentCloud
|
|
100
100
|
# 如果检查通过,则返回RequestId.
|
101
101
|
# false(默认):发送正常请求,通过检查后直接创建实例
|
102
102
|
# @type DryRun: Boolean
|
103
|
-
# @param NodeType: 添加节点类型。默认取值:STATIC。<li>STATIC
|
103
|
+
# @param NodeType: 添加节点类型。默认取值:STATIC。<li>STATIC:静态节点,不会参与弹性伸缩流程。</li><li>DYNAMIC:弹性节点,会被弹性缩容的节点。管控节点和登录节点不支持此参数。</li>
|
104
104
|
# @type NodeType: String
|
105
105
|
# @param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
|
106
106
|
# @type ProjectId: Integer
|
107
|
+
# @param ResourceType: 要新增节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。
|
108
|
+
# @type ResourceType: String
|
107
109
|
|
108
|
-
attr_accessor :Placement, :ClusterId, :VirtualPrivateCloud, :Count, :ImageId, :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :InstanceName, :LoginSettings, :SecurityGroupIds, :ClientToken, :QueueName, :NodeRole, :DryRun, :NodeType, :ProjectId
|
110
|
+
attr_accessor :Placement, :ClusterId, :VirtualPrivateCloud, :Count, :ImageId, :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :InstanceName, :LoginSettings, :SecurityGroupIds, :ClientToken, :QueueName, :NodeRole, :DryRun, :NodeType, :ProjectId, :ResourceType
|
109
111
|
|
110
|
-
def initialize(placement=nil, clusterid=nil, virtualprivatecloud=nil, count=nil, imageid=nil, instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, instancename=nil, loginsettings=nil, securitygroupids=nil, clienttoken=nil, queuename=nil, noderole=nil, dryrun=nil, nodetype=nil, projectid=nil)
|
112
|
+
def initialize(placement=nil, clusterid=nil, virtualprivatecloud=nil, count=nil, imageid=nil, instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, instancename=nil, loginsettings=nil, securitygroupids=nil, clienttoken=nil, queuename=nil, noderole=nil, dryrun=nil, nodetype=nil, projectid=nil, resourcetype=nil)
|
111
113
|
@Placement = placement
|
112
114
|
@ClusterId = clusterid
|
113
115
|
@VirtualPrivateCloud = virtualprivatecloud
|
@@ -128,6 +130,7 @@ module TencentCloud
|
|
128
130
|
@DryRun = dryrun
|
129
131
|
@NodeType = nodetype
|
130
132
|
@ProjectId = projectid
|
133
|
+
@ResourceType = resourcetype
|
131
134
|
end
|
132
135
|
|
133
136
|
def deserialize(params)
|
@@ -176,6 +179,7 @@ module TencentCloud
|
|
176
179
|
@DryRun = params['DryRun']
|
177
180
|
@NodeType = params['NodeType']
|
178
181
|
@ProjectId = params['ProjectId']
|
182
|
+
@ResourceType = params['ResourceType']
|
179
183
|
end
|
180
184
|
end
|
181
185
|
|
@@ -231,6 +235,56 @@ module TencentCloud
|
|
231
235
|
end
|
232
236
|
end
|
233
237
|
|
238
|
+
# AttachNodes请求参数结构体
|
239
|
+
class AttachNodesRequest < TencentCloud::Common::AbstractModel
|
240
|
+
# @param ClusterId: 集群id
|
241
|
+
# @type ClusterId: String
|
242
|
+
# @param ResourceSet: 节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。
|
243
|
+
# @type ResourceSet: Array
|
244
|
+
# @param QueueName: 队列名称。不指定则为默认队列:
|
245
|
+
# SLURM默认队列为:compute。
|
246
|
+
# SGE默认队列为:all.q。
|
247
|
+
# @type QueueName: String
|
248
|
+
# @param ImageId: 指定有效的镜像ID,格式形如img-xxx。目前仅支持公有镜像和特定自定义镜像。如不指定,则该字段是默认镜像。
|
249
|
+
# @type ImageId: String
|
250
|
+
# @param ResourceType: 要新增节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。
|
251
|
+
# @type ResourceType: String
|
252
|
+
|
253
|
+
attr_accessor :ClusterId, :ResourceSet, :QueueName, :ImageId, :ResourceType
|
254
|
+
|
255
|
+
def initialize(clusterid=nil, resourceset=nil, queuename=nil, imageid=nil, resourcetype=nil)
|
256
|
+
@ClusterId = clusterid
|
257
|
+
@ResourceSet = resourceset
|
258
|
+
@QueueName = queuename
|
259
|
+
@ImageId = imageid
|
260
|
+
@ResourceType = resourcetype
|
261
|
+
end
|
262
|
+
|
263
|
+
def deserialize(params)
|
264
|
+
@ClusterId = params['ClusterId']
|
265
|
+
@ResourceSet = params['ResourceSet']
|
266
|
+
@QueueName = params['QueueName']
|
267
|
+
@ImageId = params['ImageId']
|
268
|
+
@ResourceType = params['ResourceType']
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
# AttachNodes返回参数结构体
|
273
|
+
class AttachNodesResponse < TencentCloud::Common::AbstractModel
|
274
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
275
|
+
# @type RequestId: String
|
276
|
+
|
277
|
+
attr_accessor :RequestId
|
278
|
+
|
279
|
+
def initialize(requestid=nil)
|
280
|
+
@RequestId = requestid
|
281
|
+
end
|
282
|
+
|
283
|
+
def deserialize(params)
|
284
|
+
@RequestId = params['RequestId']
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
234
288
|
# 描述CFS文件系统版本和挂载信息
|
235
289
|
class CFSOption < TencentCloud::Common::AbstractModel
|
236
290
|
# @param LocalPath: 文件系统本地挂载路径。
|
@@ -471,12 +525,11 @@ module TencentCloud
|
|
471
525
|
|
472
526
|
# 计算节点信息。
|
473
527
|
class ComputeNode < TencentCloud::Common::AbstractModel
|
474
|
-
# @param InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<
|
528
|
+
# @param InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:按小时后付费</li><li>SPOTPAID:竞价付费</li>默认值:POSTPAID_BY_HOUR。
|
475
529
|
# @type InstanceChargeType: String
|
476
530
|
# @param InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。
|
477
531
|
# @type InstanceChargePrepaid: :class:`Tencentcloud::Thpc.v20230321.models.InstanceChargePrepaid`
|
478
|
-
# @param InstanceType:
|
479
|
-
# <br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。
|
532
|
+
# @param InstanceType: 节点机型。不同实例机型指定了不同的资源规格。<li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>
|
480
533
|
# @type InstanceType: String
|
481
534
|
# @param SystemDisk: 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
482
535
|
# @type SystemDisk: :class:`Tencentcloud::Thpc.v20230321.models.SystemDisk`
|
@@ -484,16 +537,17 @@ module TencentCloud
|
|
484
537
|
# @type DataDisks: Array
|
485
538
|
# @param InternetAccessible: 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。
|
486
539
|
# @type InternetAccessible: :class:`Tencentcloud::Thpc.v20230321.models.InternetAccessible`
|
487
|
-
# @param InstanceName: 节点显示名称。<
|
488
|
-
#
|
489
|
-
# 最多支持60个字符。
|
540
|
+
# @param InstanceName: 节点显示名称。<li>不指定节点显示名称则默认显示‘未命名’。
|
541
|
+
# 最多支持60个字符。</li>
|
490
542
|
# @type InstanceName: String
|
491
543
|
# @param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
|
492
544
|
# @type ProjectId: Integer
|
545
|
+
# @param ResourceType: 实例资源类型,默认是CVM资源
|
546
|
+
# @type ResourceType: String
|
493
547
|
|
494
|
-
attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :InstanceName, :ProjectId
|
548
|
+
attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :InstanceName, :ProjectId, :ResourceType
|
495
549
|
|
496
|
-
def initialize(instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, instancename=nil, projectid=nil)
|
550
|
+
def initialize(instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, instancename=nil, projectid=nil, resourcetype=nil)
|
497
551
|
@InstanceChargeType = instancechargetype
|
498
552
|
@InstanceChargePrepaid = instancechargeprepaid
|
499
553
|
@InstanceType = instancetype
|
@@ -502,6 +556,7 @@ module TencentCloud
|
|
502
556
|
@InternetAccessible = internetaccessible
|
503
557
|
@InstanceName = instancename
|
504
558
|
@ProjectId = projectid
|
559
|
+
@ResourceType = resourcetype
|
505
560
|
end
|
506
561
|
|
507
562
|
def deserialize(params)
|
@@ -529,6 +584,7 @@ module TencentCloud
|
|
529
584
|
end
|
530
585
|
@InstanceName = params['InstanceName']
|
531
586
|
@ProjectId = params['ProjectId']
|
587
|
+
@ResourceType = params['ResourceType']
|
532
588
|
end
|
533
589
|
end
|
534
590
|
|
@@ -1127,7 +1183,24 @@ module TencentCloud
|
|
1127
1183
|
class DescribeNodesRequest < TencentCloud::Common::AbstractModel
|
1128
1184
|
# @param ClusterId: 集群ID。
|
1129
1185
|
# @type ClusterId: String
|
1130
|
-
# @param Filters: <
|
1186
|
+
# @param Filters: <ul>
|
1187
|
+
# <li><strong>queue-name</strong>
|
1188
|
+
# <p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p>
|
1189
|
+
# <p style="padding-left: 30px;">类型:String</p>
|
1190
|
+
# <p style="padding-left: 30px;">必选:否</p>
|
1191
|
+
# </li>
|
1192
|
+
# <li><strong>node-role</strong>
|
1193
|
+
# <p style="padding-left: 30px;">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p>
|
1194
|
+
# <p style="padding-left: 30px;">类型:String</p>
|
1195
|
+
# <p style="padding-left: 30px;">必选:否</p>
|
1196
|
+
# </li>
|
1197
|
+
# <li><strong>node-type</strong>
|
1198
|
+
# <p style="padding-left: 30px;">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p>
|
1199
|
+
# <p style="padding-left: 30px;">类型:String</p>
|
1200
|
+
# <p style="padding-left: 30px;">必选:否</p>
|
1201
|
+
# </li>
|
1202
|
+
# </ul>
|
1203
|
+
# <p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。</p>
|
1131
1204
|
# @type Filters: Array
|
1132
1205
|
# @param Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
1133
1206
|
# @type Offset: Integer
|
@@ -1244,6 +1317,42 @@ module TencentCloud
|
|
1244
1317
|
end
|
1245
1318
|
end
|
1246
1319
|
|
1320
|
+
# DetachNodes请求参数结构体
|
1321
|
+
class DetachNodesRequest < TencentCloud::Common::AbstractModel
|
1322
|
+
# @param ClusterId: 集群id
|
1323
|
+
# @type ClusterId: String
|
1324
|
+
# @param NodeIds: 集群中的节点id
|
1325
|
+
# @type NodeIds: Array
|
1326
|
+
|
1327
|
+
attr_accessor :ClusterId, :NodeIds
|
1328
|
+
|
1329
|
+
def initialize(clusterid=nil, nodeids=nil)
|
1330
|
+
@ClusterId = clusterid
|
1331
|
+
@NodeIds = nodeids
|
1332
|
+
end
|
1333
|
+
|
1334
|
+
def deserialize(params)
|
1335
|
+
@ClusterId = params['ClusterId']
|
1336
|
+
@NodeIds = params['NodeIds']
|
1337
|
+
end
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
# DetachNodes返回参数结构体
|
1341
|
+
class DetachNodesResponse < TencentCloud::Common::AbstractModel
|
1342
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1343
|
+
# @type RequestId: String
|
1344
|
+
|
1345
|
+
attr_accessor :RequestId
|
1346
|
+
|
1347
|
+
def initialize(requestid=nil)
|
1348
|
+
@RequestId = requestid
|
1349
|
+
end
|
1350
|
+
|
1351
|
+
def deserialize(params)
|
1352
|
+
@RequestId = params['RequestId']
|
1353
|
+
end
|
1354
|
+
end
|
1355
|
+
|
1247
1356
|
# 描述了实例的增强服务启用情况与其设置,如云安全,腾讯云可观测平台等实例 Agent
|
1248
1357
|
class EnhancedService < TencentCloud::Common::AbstractModel
|
1249
1358
|
# @param SecurityService: 开启云安全服务。若不指定该参数,则默认开启云安全服务。
|
@@ -1841,7 +1950,7 @@ module TencentCloud
|
|
1841
1950
|
# @param Zone: 节点所在可用区信息。
|
1842
1951
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1843
1952
|
# @type Zone: String
|
1844
|
-
# @param NodeState: 节点状态。<
|
1953
|
+
# @param NodeState: 节点状态。<li>SUBMITTED:已完成提交。</li><li>CREATING:创建中。</li><li>CREATED:完成创建。</li><li>INITING:初始化中。</li><li>INIT_FAILED:初始化失败。</li><li>RUNNING:运行中。</li><li>DELETING:销毁中。</li>
|
1845
1954
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1846
1955
|
# @type NodeState: String
|
1847
1956
|
# @param ImageId: 镜像ID。
|
@@ -1850,16 +1959,19 @@ module TencentCloud
|
|
1850
1959
|
# @param QueueName: 节点所属队列名称。
|
1851
1960
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1852
1961
|
# @type QueueName: String
|
1853
|
-
# @param NodeRole: 节点角色。<
|
1962
|
+
# @param NodeRole: 节点角色。<li>Manager:管控节点。</li><li>Compute:计算节点。</li><li>Login:登录节点。</li><li>ManagerBackup:备用管控节点。</li>
|
1854
1963
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1855
1964
|
# @type NodeRole: String
|
1856
|
-
# @param NodeType: 节点类型。<
|
1965
|
+
# @param NodeType: 节点类型。<li>STATIC:静态节点。</li><li>DYNAMIC:弹性节点。</li>
|
1857
1966
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1858
1967
|
# @type NodeType: String
|
1968
|
+
# @param NodeId: thpc集群节点id
|
1969
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1970
|
+
# @type NodeId: String
|
1859
1971
|
|
1860
|
-
attr_accessor :InstanceId, :Zone, :NodeState, :ImageId, :QueueName, :NodeRole, :NodeType
|
1972
|
+
attr_accessor :InstanceId, :Zone, :NodeState, :ImageId, :QueueName, :NodeRole, :NodeType, :NodeId
|
1861
1973
|
|
1862
|
-
def initialize(instanceid=nil, zone=nil, nodestate=nil, imageid=nil, queuename=nil, noderole=nil, nodetype=nil)
|
1974
|
+
def initialize(instanceid=nil, zone=nil, nodestate=nil, imageid=nil, queuename=nil, noderole=nil, nodetype=nil, nodeid=nil)
|
1863
1975
|
@InstanceId = instanceid
|
1864
1976
|
@Zone = zone
|
1865
1977
|
@NodeState = nodestate
|
@@ -1867,6 +1979,7 @@ module TencentCloud
|
|
1867
1979
|
@QueueName = queuename
|
1868
1980
|
@NodeRole = noderole
|
1869
1981
|
@NodeType = nodetype
|
1982
|
+
@NodeId = nodeid
|
1870
1983
|
end
|
1871
1984
|
|
1872
1985
|
def deserialize(params)
|
@@ -1877,6 +1990,7 @@ module TencentCloud
|
|
1877
1990
|
@QueueName = params['QueueName']
|
1878
1991
|
@NodeRole = params['NodeRole']
|
1879
1992
|
@NodeType = params['NodeType']
|
1993
|
+
@NodeId = params['NodeId']
|
1880
1994
|
end
|
1881
1995
|
end
|
1882
1996
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-thpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.871
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|