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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180525/client.rb +24 -0
- data/lib/v20180525/models.rb +36 -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: 2b74206f0acea6fa7125bef7d3770ac9b31784b8
|
4
|
+
data.tar.gz: cfa2259340593c625606b6595277c2d2c0a22ac4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13826e65773f27e99c832365e7a0437aa9275f5f2c53bd6a53465a13e7188d8831c66249df2b9b3bba87298b855a2b6b83885cda83a7ed14652b99a07707b052
|
7
|
+
data.tar.gz: 1adbef1c3c559e4c80f82c7462d8c20f4f5dba06e72bdce6b51ec07d15a397aef758da8b5a599f4fadbe217ece4319a11aedc93cd8b243a397e8fb840793d139
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.932
|
data/lib/v20180525/client.rb
CHANGED
@@ -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.
|
data/lib/v20180525/models.rb
CHANGED
@@ -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.
|
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-
|
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
|