tencentcloud-sdk-thpc 3.0.564 → 3.0.565
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20230321/client.rb +24 -0
- data/lib/v20230321/models.rb +44 -0
- 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: e366003552870d9333b8b67b40c349f616d71b99
|
4
|
+
data.tar.gz: 1af80ae8a6f9899873a5849f4e7d4bf350dbfb0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc1cf872167eb97539066832639f25282c488b2a7d11a11f37a43895b3f7a9a3e4186e8c76f08f6ebce96f221ec70c74300f9d5fd60eb8caa57f949a5f29db3d
|
7
|
+
data.tar.gz: fcd9fda6e9a2159fcb24fcb170eb4ea6e3ae461e1a99bf3fae35c124a4e1cf51af774ac0f52da5b3cd4aecc5bbd348809f17f0e4b3ac6446e1d0338f576f920f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.565
|
data/lib/v20230321/client.rb
CHANGED
@@ -324,6 +324,30 @@ module TencentCloud
|
|
324
324
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
325
325
|
end
|
326
326
|
|
327
|
+
# 本接口 (DescribeInitNodeScripts) 用于查询节点初始化脚本列表。
|
328
|
+
|
329
|
+
# @param request: Request instance for DescribeInitNodeScripts.
|
330
|
+
# @type request: :class:`Tencentcloud::thpc::V20230321::DescribeInitNodeScriptsRequest`
|
331
|
+
# @rtype: :class:`Tencentcloud::thpc::V20230321::DescribeInitNodeScriptsResponse`
|
332
|
+
def DescribeInitNodeScripts(request)
|
333
|
+
body = send_request('DescribeInitNodeScripts', request.serialize)
|
334
|
+
response = JSON.parse(body)
|
335
|
+
if response['Response'].key?('Error') == false
|
336
|
+
model = DescribeInitNodeScriptsResponse.new
|
337
|
+
model.deserialize(response['Response'])
|
338
|
+
model
|
339
|
+
else
|
340
|
+
code = response['Response']['Error']['Code']
|
341
|
+
message = response['Response']['Error']['Message']
|
342
|
+
reqid = response['Response']['RequestId']
|
343
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
344
|
+
end
|
345
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
346
|
+
raise e
|
347
|
+
rescue StandardError => e
|
348
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
349
|
+
end
|
350
|
+
|
327
351
|
# 本接口 (DescribeNodes) 用于查询指定集群节点概览信息列表。
|
328
352
|
|
329
353
|
# @param request: Request instance for DescribeNodes.
|
data/lib/v20230321/models.rb
CHANGED
@@ -1039,6 +1039,50 @@ module TencentCloud
|
|
1039
1039
|
end
|
1040
1040
|
end
|
1041
1041
|
|
1042
|
+
# DescribeInitNodeScripts请求参数结构体
|
1043
|
+
class DescribeInitNodeScriptsRequest < TencentCloud::Common::AbstractModel
|
1044
|
+
# @param ClusterId: 集群ID。
|
1045
|
+
# @type ClusterId: String
|
1046
|
+
|
1047
|
+
attr_accessor :ClusterId
|
1048
|
+
|
1049
|
+
def initialize(clusterid=nil)
|
1050
|
+
@ClusterId = clusterid
|
1051
|
+
end
|
1052
|
+
|
1053
|
+
def deserialize(params)
|
1054
|
+
@ClusterId = params['ClusterId']
|
1055
|
+
end
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
# DescribeInitNodeScripts返回参数结构体
|
1059
|
+
class DescribeInitNodeScriptsResponse < TencentCloud::Common::AbstractModel
|
1060
|
+
# @param InitNodeScriptSet: 节点初始化脚本列表。
|
1061
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1062
|
+
# @type InitNodeScriptSet: Array
|
1063
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1064
|
+
# @type RequestId: String
|
1065
|
+
|
1066
|
+
attr_accessor :InitNodeScriptSet, :RequestId
|
1067
|
+
|
1068
|
+
def initialize(initnodescriptset=nil, requestid=nil)
|
1069
|
+
@InitNodeScriptSet = initnodescriptset
|
1070
|
+
@RequestId = requestid
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
def deserialize(params)
|
1074
|
+
unless params['InitNodeScriptSet'].nil?
|
1075
|
+
@InitNodeScriptSet = []
|
1076
|
+
params['InitNodeScriptSet'].each do |i|
|
1077
|
+
nodescript_tmp = NodeScript.new
|
1078
|
+
nodescript_tmp.deserialize(i)
|
1079
|
+
@InitNodeScriptSet << nodescript_tmp
|
1080
|
+
end
|
1081
|
+
end
|
1082
|
+
@RequestId = params['RequestId']
|
1083
|
+
end
|
1084
|
+
end
|
1085
|
+
|
1042
1086
|
# DescribeNodes请求参数结构体
|
1043
1087
|
class DescribeNodesRequest < TencentCloud::Common::AbstractModel
|
1044
1088
|
# @param ClusterId: 集群ID。
|
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.565
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|