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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9bafabbe7342a123e4c873ed09585c22f47aefd3
4
- data.tar.gz: 4ce7b77463d3aa6d6a14d751a55f9aea99eeaf34
3
+ metadata.gz: e366003552870d9333b8b67b40c349f616d71b99
4
+ data.tar.gz: 1af80ae8a6f9899873a5849f4e7d4bf350dbfb0f
5
5
  SHA512:
6
- metadata.gz: 392055b1d88fa4e286c4f394b5df2e3b1553fdc4db11332fd605184a85385d4fc9d9fcee837fbdbacbb311ac4dc3b2bf3499d0b8e7bb8b39f1a4d2ea0c05eb2b
7
- data.tar.gz: 0d1217d7b28ec324495c37cc09373b38af50ccde0edd57e057ceac1713d3713bd46c10e5731050671f08fe92ec31dfa7e2c9c96c078a8d8bbe3c029e74683290
6
+ metadata.gz: dc1cf872167eb97539066832639f25282c488b2a7d11a11f37a43895b3f7a9a3e4186e8c76f08f6ebce96f221ec70c74300f9d5fd60eb8caa57f949a5f29db3d
7
+ data.tar.gz: fcd9fda6e9a2159fcb24fcb170eb4ea6e3ae461e1a99bf3fae35c124a4e1cf51af774ac0f52da5b3cd4aecc5bbd348809f17f0e4b3ac6446e1d0338f576f920f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.564
1
+ 3.0.565
@@ -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.
@@ -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.564
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-08 00:00:00.000000000 Z
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