tencentcloud-sdk-tke 3.0.1172 → 3.0.1174

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df00cf0385b0fff2085ce0ce6cf6598f17619d3d
4
- data.tar.gz: dd5a1c636bbf8879c93948031df7aae10d1b8697
3
+ metadata.gz: e1ca3224a5d3e447a4f53f9b2b3197deecde3a0c
4
+ data.tar.gz: f99e91414f32529c134682f1a23d61b6f88b213e
5
5
  SHA512:
6
- metadata.gz: 33d80c014f9117fb6a6bc01f732825882e5230ea3f7fd8c99333e0e065264af71aad5f5afe7164e6c278fafebe38b4230be64988ff209918725164ae760f0653
7
- data.tar.gz: be5242b01cc8c269546ba72c659965c62ff112744454d9afed454c71f9cb2c59aaa9cc3892c54500a9a8a5ead5004053cc3632349fa46c5a7a558b358bc4192b
6
+ metadata.gz: e725133b36c818f7eb899d681e62cd2c9daa38152d06255f610b2f8fadc50d0f857c0b13ded653cbb260d7a1a9019163a31ae4d2956df5f61052592d3d02aecb
7
+ data.tar.gz: 26852eb018796791e52c5efb7e2b454eb6fa0dff5b1539ced080cafd860da9a5c498c0bef5bd83524e409d3415c86f333f3ef5d83006da5795f592e3d7a044c6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1172
1
+ 3.0.1174
@@ -2,12 +2,12 @@
2
2
 
3
3
  require 'tencentcloud-sdk-common'
4
4
 
5
- require_relative 'v20180525/client'
6
- require_relative 'v20180525/models'
7
-
8
5
  require_relative 'v20220501/client'
9
6
  require_relative 'v20220501/models'
10
7
 
8
+ require_relative 'v20180525/client'
9
+ require_relative 'v20180525/models'
10
+
11
11
  module TencentCloud
12
12
  module Tke
13
13
  end
@@ -173,6 +173,30 @@ module TencentCloud
173
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
174
  end
175
175
 
176
+ # 取消升级计划
177
+
178
+ # @param request: Request instance for CancelUpgradePlan.
179
+ # @type request: :class:`Tencentcloud::tke::V20180525::CancelUpgradePlanRequest`
180
+ # @rtype: :class:`Tencentcloud::tke::V20180525::CancelUpgradePlanResponse`
181
+ def CancelUpgradePlan(request)
182
+ body = send_request('CancelUpgradePlan', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = CancelUpgradePlanResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
176
200
  # 检查边缘计算集群的CIDR是否冲突
177
201
 
178
202
  # @param request: Request instance for CheckEdgeClusterCIDR.
@@ -365,6 +389,30 @@ module TencentCloud
365
389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
390
  end
367
391
 
392
+ # 创建集群维护时间窗口和排除项
393
+
394
+ # @param request: Request instance for CreateClusterMaintenanceWindowAndExclusions.
395
+ # @type request: :class:`Tencentcloud::tke::V20180525::CreateClusterMaintenanceWindowAndExclusionsRequest`
396
+ # @rtype: :class:`Tencentcloud::tke::V20180525::CreateClusterMaintenanceWindowAndExclusionsResponse`
397
+ def CreateClusterMaintenanceWindowAndExclusions(request)
398
+ body = send_request('CreateClusterMaintenanceWindowAndExclusions', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = CreateClusterMaintenanceWindowAndExclusionsResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
368
416
  # 创建节点池
369
417
 
370
418
  # @param request: Request instance for CreateClusterNodePool.
@@ -653,6 +701,30 @@ module TencentCloud
653
701
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
702
  end
655
703
 
704
+ # 创建全局维护时间窗口和排除项
705
+
706
+ # @param request: Request instance for CreateGlobalMaintenanceWindowAndExclusions.
707
+ # @type request: :class:`Tencentcloud::tke::V20180525::CreateGlobalMaintenanceWindowAndExclusionsRequest`
708
+ # @rtype: :class:`Tencentcloud::tke::V20180525::CreateGlobalMaintenanceWindowAndExclusionsResponse`
709
+ def CreateGlobalMaintenanceWindowAndExclusions(request)
710
+ body = send_request('CreateGlobalMaintenanceWindowAndExclusions', request.serialize)
711
+ response = JSON.parse(body)
712
+ if response['Response'].key?('Error') == false
713
+ model = CreateGlobalMaintenanceWindowAndExclusionsResponse.new
714
+ model.deserialize(response['Response'])
715
+ model
716
+ else
717
+ code = response['Response']['Error']['Code']
718
+ message = response['Response']['Error']['Message']
719
+ reqid = response['Response']['RequestId']
720
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
721
+ end
722
+ rescue TencentCloud::Common::TencentCloudSDKException => e
723
+ raise e
724
+ rescue StandardError => e
725
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
726
+ end
727
+
656
728
  # 创建镜像缓存的接口。创建过程中,请勿删除EKSCI实例和云盘,否则镜像缓存将创建失败。
657
729
 
658
730
  # @param request: Request instance for CreateImageCache.
@@ -917,6 +989,30 @@ module TencentCloud
917
989
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
918
990
  end
919
991
 
992
+ # 创建集群发布序列
993
+
994
+ # @param request: Request instance for CreateRollOutSequence.
995
+ # @type request: :class:`Tencentcloud::tke::V20180525::CreateRollOutSequenceRequest`
996
+ # @rtype: :class:`Tencentcloud::tke::V20180525::CreateRollOutSequenceResponse`
997
+ def CreateRollOutSequence(request)
998
+ body = send_request('CreateRollOutSequence', request.serialize)
999
+ response = JSON.parse(body)
1000
+ if response['Response'].key?('Error') == false
1001
+ model = CreateRollOutSequenceResponse.new
1002
+ model.deserialize(response['Response'])
1003
+ model
1004
+ else
1005
+ code = response['Response']['Error']['Code']
1006
+ message = response['Response']['Error']['Message']
1007
+ reqid = response['Response']['RequestId']
1008
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1009
+ end
1010
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1011
+ raise e
1012
+ rescue StandardError => e
1013
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
+ end
1015
+
920
1016
  # 创建边缘计算集群
921
1017
 
922
1018
  # @param request: Request instance for CreateTKEEdgeCluster.
@@ -1109,6 +1205,30 @@ module TencentCloud
1109
1205
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
1206
  end
1111
1207
 
1208
+ # 删除集群维护时间窗口和排除项
1209
+
1210
+ # @param request: Request instance for DeleteClusterMaintenanceWindowAndExclusion.
1211
+ # @type request: :class:`Tencentcloud::tke::V20180525::DeleteClusterMaintenanceWindowAndExclusionRequest`
1212
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DeleteClusterMaintenanceWindowAndExclusionResponse`
1213
+ def DeleteClusterMaintenanceWindowAndExclusion(request)
1214
+ body = send_request('DeleteClusterMaintenanceWindowAndExclusion', request.serialize)
1215
+ response = JSON.parse(body)
1216
+ if response['Response'].key?('Error') == false
1217
+ model = DeleteClusterMaintenanceWindowAndExclusionResponse.new
1218
+ model.deserialize(response['Response'])
1219
+ model
1220
+ else
1221
+ code = response['Response']['Error']['Code']
1222
+ message = response['Response']['Error']['Message']
1223
+ reqid = response['Response']['RequestId']
1224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1225
+ end
1226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1227
+ raise e
1228
+ rescue StandardError => e
1229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1230
+ end
1231
+
1112
1232
  # 删除节点池
1113
1233
 
1114
1234
  # @param request: Request instance for DeleteClusterNodePool.
@@ -1349,6 +1469,30 @@ module TencentCloud
1349
1469
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1350
1470
  end
1351
1471
 
1472
+ # 删除全集维护时间窗口和排除项
1473
+
1474
+ # @param request: Request instance for DeleteGlobalMaintenanceWindowAndExclusion.
1475
+ # @type request: :class:`Tencentcloud::tke::V20180525::DeleteGlobalMaintenanceWindowAndExclusionRequest`
1476
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DeleteGlobalMaintenanceWindowAndExclusionResponse`
1477
+ def DeleteGlobalMaintenanceWindowAndExclusion(request)
1478
+ body = send_request('DeleteGlobalMaintenanceWindowAndExclusion', request.serialize)
1479
+ response = JSON.parse(body)
1480
+ if response['Response'].key?('Error') == false
1481
+ model = DeleteGlobalMaintenanceWindowAndExclusionResponse.new
1482
+ model.deserialize(response['Response'])
1483
+ model
1484
+ else
1485
+ code = response['Response']['Error']['Code']
1486
+ message = response['Response']['Error']['Message']
1487
+ reqid = response['Response']['RequestId']
1488
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1489
+ end
1490
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1491
+ raise e
1492
+ rescue StandardError => e
1493
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1494
+ end
1495
+
1352
1496
  # 批量删除镜像缓存
1353
1497
 
1354
1498
  # @param request: Request instance for DeleteImageCaches.
@@ -1637,6 +1781,30 @@ module TencentCloud
1637
1781
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1638
1782
  end
1639
1783
 
1784
+ # 删除集群发布序列
1785
+
1786
+ # @param request: Request instance for DeleteRollOutSequence.
1787
+ # @type request: :class:`Tencentcloud::tke::V20180525::DeleteRollOutSequenceRequest`
1788
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DeleteRollOutSequenceResponse`
1789
+ def DeleteRollOutSequence(request)
1790
+ body = send_request('DeleteRollOutSequence', request.serialize)
1791
+ response = JSON.parse(body)
1792
+ if response['Response'].key?('Error') == false
1793
+ model = DeleteRollOutSequenceResponse.new
1794
+ model.deserialize(response['Response'])
1795
+ model
1796
+ else
1797
+ code = response['Response']['Error']['Code']
1798
+ message = response['Response']['Error']['Message']
1799
+ reqid = response['Response']['RequestId']
1800
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1801
+ end
1802
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1803
+ raise e
1804
+ rescue StandardError => e
1805
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1806
+ end
1807
+
1640
1808
  # 删除边缘计算集群
1641
1809
 
1642
1810
  # @param request: Request instance for DeleteTKEEdgeCluster.
@@ -2165,6 +2333,30 @@ module TencentCloud
2165
2333
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2166
2334
  end
2167
2335
 
2336
+ # 获取集群维护时间窗口和排除项
2337
+
2338
+ # @param request: Request instance for DescribeClusterMaintenanceWindowAndExclusions.
2339
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeClusterMaintenanceWindowAndExclusionsRequest`
2340
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeClusterMaintenanceWindowAndExclusionsResponse`
2341
+ def DescribeClusterMaintenanceWindowAndExclusions(request)
2342
+ body = send_request('DescribeClusterMaintenanceWindowAndExclusions', request.serialize)
2343
+ response = JSON.parse(body)
2344
+ if response['Response'].key?('Error') == false
2345
+ model = DescribeClusterMaintenanceWindowAndExclusionsResponse.new
2346
+ model.deserialize(response['Response'])
2347
+ model
2348
+ else
2349
+ code = response['Response']['Error']['Code']
2350
+ message = response['Response']['Error']['Message']
2351
+ reqid = response['Response']['RequestId']
2352
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2353
+ end
2354
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2355
+ raise e
2356
+ rescue StandardError => e
2357
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2358
+ end
2359
+
2168
2360
  # 查询节点池详情
2169
2361
 
2170
2362
  # @param request: Request instance for DescribeClusterNodePoolDetail.
@@ -2309,6 +2501,30 @@ module TencentCloud
2309
2501
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2310
2502
  end
2311
2503
 
2504
+ # 查询集群发布序列标签
2505
+
2506
+ # @param request: Request instance for DescribeClusterRollOutSequenceTags.
2507
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeClusterRollOutSequenceTagsRequest`
2508
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeClusterRollOutSequenceTagsResponse`
2509
+ def DescribeClusterRollOutSequenceTags(request)
2510
+ body = send_request('DescribeClusterRollOutSequenceTags', request.serialize)
2511
+ response = JSON.parse(body)
2512
+ if response['Response'].key?('Error') == false
2513
+ model = DescribeClusterRollOutSequenceTagsResponse.new
2514
+ model.deserialize(response['Response'])
2515
+ model
2516
+ else
2517
+ code = response['Response']['Error']['Code']
2518
+ message = response['Response']['Error']['Message']
2519
+ reqid = response['Response']['RequestId']
2520
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2521
+ end
2522
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2523
+ raise e
2524
+ rescue StandardError => e
2525
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2526
+ end
2527
+
2312
2528
  # 查询集群路由表
2313
2529
 
2314
2530
  # @param request: Request instance for DescribeClusterRouteTables.
@@ -2885,6 +3101,30 @@ module TencentCloud
2885
3101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2886
3102
  end
2887
3103
 
3104
+ # 获取全局维护时间窗口和排除项
3105
+
3106
+ # @param request: Request instance for DescribeGlobalMaintenanceWindowAndExclusions.
3107
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeGlobalMaintenanceWindowAndExclusionsRequest`
3108
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeGlobalMaintenanceWindowAndExclusionsResponse`
3109
+ def DescribeGlobalMaintenanceWindowAndExclusions(request)
3110
+ body = send_request('DescribeGlobalMaintenanceWindowAndExclusions', request.serialize)
3111
+ response = JSON.parse(body)
3112
+ if response['Response'].key?('Error') == false
3113
+ model = DescribeGlobalMaintenanceWindowAndExclusionsResponse.new
3114
+ model.deserialize(response['Response'])
3115
+ model
3116
+ else
3117
+ code = response['Response']['Error']['Code']
3118
+ message = response['Response']['Error']['Message']
3119
+ reqid = response['Response']['RequestId']
3120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3121
+ end
3122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3123
+ raise e
3124
+ rescue StandardError => e
3125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3126
+ end
3127
+
2888
3128
  # 获取eniipamd组件信息
2889
3129
 
2890
3130
  # @param request: Request instance for DescribeIPAMD.
@@ -3749,6 +3989,30 @@ module TencentCloud
3749
3989
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3750
3990
  end
3751
3991
 
3992
+ # 查询集群发布序列
3993
+
3994
+ # @param request: Request instance for DescribeRollOutSequences.
3995
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeRollOutSequencesRequest`
3996
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeRollOutSequencesResponse`
3997
+ def DescribeRollOutSequences(request)
3998
+ body = send_request('DescribeRollOutSequences', request.serialize)
3999
+ response = JSON.parse(body)
4000
+ if response['Response'].key?('Error') == false
4001
+ model = DescribeRollOutSequencesResponse.new
4002
+ model.deserialize(response['Response'])
4003
+ model
4004
+ else
4005
+ code = response['Response']['Error']['Code']
4006
+ message = response['Response']['Error']['Message']
4007
+ reqid = response['Response']['RequestId']
4008
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4009
+ end
4010
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4011
+ raise e
4012
+ rescue StandardError => e
4013
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4014
+ end
4015
+
3752
4016
  # 查询路由表冲突列表
3753
4017
 
3754
4018
  # @param request: Request instance for DescribeRouteTableConflicts.
@@ -3941,6 +4205,54 @@ module TencentCloud
3941
4205
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3942
4206
  end
3943
4207
 
4208
+ # 查询计划升级任务详情
4209
+
4210
+ # @param request: Request instance for DescribeUpgradeTaskDetail.
4211
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeUpgradeTaskDetailRequest`
4212
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeUpgradeTaskDetailResponse`
4213
+ def DescribeUpgradeTaskDetail(request)
4214
+ body = send_request('DescribeUpgradeTaskDetail', request.serialize)
4215
+ response = JSON.parse(body)
4216
+ if response['Response'].key?('Error') == false
4217
+ model = DescribeUpgradeTaskDetailResponse.new
4218
+ model.deserialize(response['Response'])
4219
+ model
4220
+ else
4221
+ code = response['Response']['Error']['Code']
4222
+ message = response['Response']['Error']['Message']
4223
+ reqid = response['Response']['RequestId']
4224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4225
+ end
4226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4227
+ raise e
4228
+ rescue StandardError => e
4229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4230
+ end
4231
+
4232
+ # 查询计划升级任务
4233
+
4234
+ # @param request: Request instance for DescribeUpgradeTasks.
4235
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeUpgradeTasksRequest`
4236
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeUpgradeTasksResponse`
4237
+ def DescribeUpgradeTasks(request)
4238
+ body = send_request('DescribeUpgradeTasks', request.serialize)
4239
+ response = JSON.parse(body)
4240
+ if response['Response'].key?('Error') == false
4241
+ model = DescribeUpgradeTasksResponse.new
4242
+ model.deserialize(response['Response'])
4243
+ model
4244
+ else
4245
+ code = response['Response']['Error']['Code']
4246
+ message = response['Response']['Error']['Message']
4247
+ reqid = response['Response']['RequestId']
4248
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4249
+ end
4250
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4251
+ raise e
4252
+ rescue StandardError => e
4253
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4254
+ end
4255
+
3944
4256
  # 获取集群版本信息
3945
4257
 
3946
4258
  # @param request: Request instance for DescribeVersions.
@@ -4685,6 +4997,30 @@ module TencentCloud
4685
4997
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4686
4998
  end
4687
4999
 
5000
+ # 更新集群维护时间窗口和排除项
5001
+
5002
+ # @param request: Request instance for ModifyClusterMaintenanceWindowAndExclusions.
5003
+ # @type request: :class:`Tencentcloud::tke::V20180525::ModifyClusterMaintenanceWindowAndExclusionsRequest`
5004
+ # @rtype: :class:`Tencentcloud::tke::V20180525::ModifyClusterMaintenanceWindowAndExclusionsResponse`
5005
+ def ModifyClusterMaintenanceWindowAndExclusions(request)
5006
+ body = send_request('ModifyClusterMaintenanceWindowAndExclusions', request.serialize)
5007
+ response = JSON.parse(body)
5008
+ if response['Response'].key?('Error') == false
5009
+ model = ModifyClusterMaintenanceWindowAndExclusionsResponse.new
5010
+ model.deserialize(response['Response'])
5011
+ model
5012
+ else
5013
+ code = response['Response']['Error']['Code']
5014
+ message = response['Response']['Error']['Message']
5015
+ reqid = response['Response']['RequestId']
5016
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5017
+ end
5018
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5019
+ raise e
5020
+ rescue StandardError => e
5021
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5022
+ end
5023
+
4688
5024
  # 编辑节点池
4689
5025
 
4690
5026
  # @param request: Request instance for ModifyClusterNodePool.
@@ -4709,6 +5045,30 @@ module TencentCloud
4709
5045
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4710
5046
  end
4711
5047
 
5048
+ # 更新集群发布序列标签
5049
+
5050
+ # @param request: Request instance for ModifyClusterRollOutSequenceTags.
5051
+ # @type request: :class:`Tencentcloud::tke::V20180525::ModifyClusterRollOutSequenceTagsRequest`
5052
+ # @rtype: :class:`Tencentcloud::tke::V20180525::ModifyClusterRollOutSequenceTagsResponse`
5053
+ def ModifyClusterRollOutSequenceTags(request)
5054
+ body = send_request('ModifyClusterRollOutSequenceTags', request.serialize)
5055
+ response = JSON.parse(body)
5056
+ if response['Response'].key?('Error') == false
5057
+ model = ModifyClusterRollOutSequenceTagsResponse.new
5058
+ model.deserialize(response['Response'])
5059
+ model
5060
+ else
5061
+ code = response['Response']['Error']['Code']
5062
+ message = response['Response']['Error']['Message']
5063
+ reqid = response['Response']['RequestId']
5064
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5065
+ end
5066
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5067
+ raise e
5068
+ rescue StandardError => e
5069
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5070
+ end
5071
+
4712
5072
  # 修改集群及节点池维度运行时配置
4713
5073
 
4714
5074
  # @param request: Request instance for ModifyClusterRuntimeConfig.
@@ -4781,6 +5141,30 @@ module TencentCloud
4781
5141
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4782
5142
  end
4783
5143
 
5144
+ # 更新全局维护时间窗口和排除项
5145
+
5146
+ # @param request: Request instance for ModifyGlobalMaintenanceWindowAndExclusions.
5147
+ # @type request: :class:`Tencentcloud::tke::V20180525::ModifyGlobalMaintenanceWindowAndExclusionsRequest`
5148
+ # @rtype: :class:`Tencentcloud::tke::V20180525::ModifyGlobalMaintenanceWindowAndExclusionsResponse`
5149
+ def ModifyGlobalMaintenanceWindowAndExclusions(request)
5150
+ body = send_request('ModifyGlobalMaintenanceWindowAndExclusions', request.serialize)
5151
+ response = JSON.parse(body)
5152
+ if response['Response'].key?('Error') == false
5153
+ model = ModifyGlobalMaintenanceWindowAndExclusionsResponse.new
5154
+ model.deserialize(response['Response'])
5155
+ model
5156
+ else
5157
+ code = response['Response']['Error']['Code']
5158
+ message = response['Response']['Error']['Message']
5159
+ reqid = response['Response']['RequestId']
5160
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5161
+ end
5162
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5163
+ raise e
5164
+ rescue StandardError => e
5165
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5166
+ end
5167
+
4784
5168
  # 修改master组件,支持kube-apiserver、kube-scheduler、kube-controller-manager副本数调整为0和恢复
4785
5169
 
4786
5170
  # @param request: Request instance for ModifyMasterComponent.
@@ -5093,6 +5477,30 @@ module TencentCloud
5093
5477
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5094
5478
  end
5095
5479
 
5480
+ # 更新集群发布序列
5481
+
5482
+ # @param request: Request instance for ModifyRollOutSequence.
5483
+ # @type request: :class:`Tencentcloud::tke::V20180525::ModifyRollOutSequenceRequest`
5484
+ # @rtype: :class:`Tencentcloud::tke::V20180525::ModifyRollOutSequenceResponse`
5485
+ def ModifyRollOutSequence(request)
5486
+ body = send_request('ModifyRollOutSequence', request.serialize)
5487
+ response = JSON.parse(body)
5488
+ if response['Response'].key?('Error') == false
5489
+ model = ModifyRollOutSequenceResponse.new
5490
+ model.deserialize(response['Response'])
5491
+ model
5492
+ else
5493
+ code = response['Response']['Error']['Code']
5494
+ message = response['Response']['Error']['Message']
5495
+ reqid = response['Response']['RequestId']
5496
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5497
+ end
5498
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5499
+ raise e
5500
+ rescue StandardError => e
5501
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5502
+ end
5503
+
5096
5504
  # 移出节点池节点,但保留在集群内
5097
5505
 
5098
5506
  # @param request: Request instance for RemoveNodeFromNodePool.
@@ -5285,6 +5693,30 @@ module TencentCloud
5285
5693
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5286
5694
  end
5287
5695
 
5696
+ # 切换集群网络访问链路为直连
5697
+
5698
+ # @param request: Request instance for SwitchClusterEndpoint.
5699
+ # @type request: :class:`Tencentcloud::tke::V20180525::SwitchClusterEndpointRequest`
5700
+ # @rtype: :class:`Tencentcloud::tke::V20180525::SwitchClusterEndpointResponse`
5701
+ def SwitchClusterEndpoint(request)
5702
+ body = send_request('SwitchClusterEndpoint', request.serialize)
5703
+ response = JSON.parse(body)
5704
+ if response['Response'].key?('Error') == false
5705
+ model = SwitchClusterEndpointResponse.new
5706
+ model.deserialize(response['Response'])
5707
+ model
5708
+ else
5709
+ code = response['Response']['Error']['Code']
5710
+ message = response['Response']['Error']['Message']
5711
+ reqid = response['Response']['RequestId']
5712
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5713
+ end
5714
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5715
+ raise e
5716
+ rescue StandardError => e
5717
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5718
+ end
5719
+
5288
5720
  # 同步模板到实例或者集群,针对V2版本实例
5289
5721
 
5290
5722
  # @param request: Request instance for SyncPrometheusTemp.