tencentcloud-sdk-tke 3.0.930 → 3.0.932

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: 2e6aebfac4635676c50e377534bfbb850850784f
4
- data.tar.gz: f6f47dcc6328bb6d1e8b6e6f9a183c975f0799f7
3
+ metadata.gz: 2b74206f0acea6fa7125bef7d3770ac9b31784b8
4
+ data.tar.gz: cfa2259340593c625606b6595277c2d2c0a22ac4
5
5
  SHA512:
6
- metadata.gz: 9c6365b8d80f4b88ddb4cec10eaf06f503f61442515fb7ef31f09d18ac79f751ba3c42d67055b010052031ec43d149d629d75f017f7a4490322233513faac85c
7
- data.tar.gz: 4d86094a4c67c8b8f64a3f1471cefd754619ac2e1a4bbefdc48debd82300fcef8833720d50dafb9b43899f07e375de1eabaa1e181aaf7dcb711592c3aede3081
6
+ metadata.gz: 13826e65773f27e99c832365e7a0437aa9275f5f2c53bd6a53465a13e7188d8831c66249df2b9b3bba87298b855a2b6b83885cda83a7ed14652b99a07707b052
7
+ data.tar.gz: 1adbef1c3c559e4c80f82c7462d8c20f4f5dba06e72bdce6b51ec07d15a397aef758da8b5a599f4fadbe217ece4319a11aedc93cd8b243a397e8fb840793d139
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.930
1
+ 3.0.932
@@ -4541,6 +4541,30 @@ module TencentCloud
4541
4541
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4542
4542
  end
4543
4543
 
4544
+ # 修改集群镜像
4545
+
4546
+ # @param request: Request instance for ModifyClusterImage.
4547
+ # @type request: :class:`Tencentcloud::tke::V20180525::ModifyClusterImageRequest`
4548
+ # @rtype: :class:`Tencentcloud::tke::V20180525::ModifyClusterImageResponse`
4549
+ def ModifyClusterImage(request)
4550
+ body = send_request('ModifyClusterImage', request.serialize)
4551
+ response = JSON.parse(body)
4552
+ if response['Response'].key?('Error') == false
4553
+ model = ModifyClusterImageResponse.new
4554
+ model.deserialize(response['Response'])
4555
+ model
4556
+ else
4557
+ code = response['Response']['Error']['Code']
4558
+ message = response['Response']['Error']['Message']
4559
+ reqid = response['Response']['RequestId']
4560
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4561
+ end
4562
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4563
+ raise e
4564
+ rescue StandardError => e
4565
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4566
+ end
4567
+
4544
4568
  # 编辑节点池
4545
4569
 
4546
4570
  # @param request: Request instance for ModifyClusterNodePool.
@@ -13980,6 +13980,42 @@ module TencentCloud
13980
13980
  end
13981
13981
  end
13982
13982
 
13983
+ # ModifyClusterImage请求参数结构体
13984
+ class ModifyClusterImageRequest < TencentCloud::Common::AbstractModel
13985
+ # @param ClusterId: 集群ID
13986
+ # @type ClusterId: String
13987
+ # @param ImageId: 指定有效的镜像ID,格式形如img-xxxx。可通过登录控制台查询,也可调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715),取返回信息中的ImageId字段。
13988
+ # @type ImageId: String
13989
+
13990
+ attr_accessor :ClusterId, :ImageId
13991
+
13992
+ def initialize(clusterid=nil, imageid=nil)
13993
+ @ClusterId = clusterid
13994
+ @ImageId = imageid
13995
+ end
13996
+
13997
+ def deserialize(params)
13998
+ @ClusterId = params['ClusterId']
13999
+ @ImageId = params['ImageId']
14000
+ end
14001
+ end
14002
+
14003
+ # ModifyClusterImage返回参数结构体
14004
+ class ModifyClusterImageResponse < TencentCloud::Common::AbstractModel
14005
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14006
+ # @type RequestId: String
14007
+
14008
+ attr_accessor :RequestId
14009
+
14010
+ def initialize(requestid=nil)
14011
+ @RequestId = requestid
14012
+ end
14013
+
14014
+ def deserialize(params)
14015
+ @RequestId = params['RequestId']
14016
+ end
14017
+ end
14018
+
13983
14019
  # ModifyClusterNodePool请求参数结构体
13984
14020
  class ModifyClusterNodePoolRequest < TencentCloud::Common::AbstractModel
13985
14021
  # @param ClusterId: 集群ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.930
4
+ version: 3.0.932
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-10-22 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common