tencentcloud-sdk-tke 3.0.553 → 3.0.555
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 +41 -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: 4cecb84f97607e0e4dacf128b9ec11f25acb5264
|
4
|
+
data.tar.gz: 0cd9d7009f160ada4fd3968248fed3c432287a4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efb4e593bd34e98e15acfd02020174f65614c997b73102db2268f4a9f8299bb5daec6ef214e59f1fce5b8e8bee4b57f5b56f3a919d3209d4a05de215d99efbef
|
7
|
+
data.tar.gz: d4d9da93d840df9e2a800e013235a63b783db40ede0e7f5c1d425e0b5b5d21f5163371e7dbb4455fe2aa6dbbc24c0d39894f7b05bccbf8b7cd8d192b58db3062
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.555
|
data/lib/v20180525/client.rb
CHANGED
@@ -4349,6 +4349,30 @@ module TencentCloud
|
|
4349
4349
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4350
4350
|
end
|
4351
4351
|
|
4352
|
+
# 对集群的Kubeconfig信息进行更新
|
4353
|
+
|
4354
|
+
# @param request: Request instance for UpdateClusterKubeconfig.
|
4355
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::UpdateClusterKubeconfigRequest`
|
4356
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::UpdateClusterKubeconfigResponse`
|
4357
|
+
def UpdateClusterKubeconfig(request)
|
4358
|
+
body = send_request('UpdateClusterKubeconfig', request.serialize)
|
4359
|
+
response = JSON.parse(body)
|
4360
|
+
if response['Response'].key?('Error') == false
|
4361
|
+
model = UpdateClusterKubeconfigResponse.new
|
4362
|
+
model.deserialize(response['Response'])
|
4363
|
+
model
|
4364
|
+
else
|
4365
|
+
code = response['Response']['Error']['Code']
|
4366
|
+
message = response['Response']['Error']['Message']
|
4367
|
+
reqid = response['Response']['RequestId']
|
4368
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4369
|
+
end
|
4370
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4371
|
+
raise e
|
4372
|
+
rescue StandardError => e
|
4373
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4374
|
+
end
|
4375
|
+
|
4352
4376
|
# 升级集群 Master 组件到指定版本
|
4353
4377
|
|
4354
4378
|
# @param request: Request instance for UpdateClusterVersion.
|
data/lib/v20180525/models.rb
CHANGED
@@ -15236,6 +15236,47 @@ module TencentCloud
|
|
15236
15236
|
end
|
15237
15237
|
end
|
15238
15238
|
|
15239
|
+
# UpdateClusterKubeconfig请求参数结构体
|
15240
|
+
class UpdateClusterKubeconfigRequest < TencentCloud::Common::AbstractModel
|
15241
|
+
# @param ClusterId: 集群ID
|
15242
|
+
# @type ClusterId: String
|
15243
|
+
# @param SubAccounts: 子账户Uin列表,传空默认为调用此接口的SubUin
|
15244
|
+
# @type SubAccounts: Array
|
15245
|
+
|
15246
|
+
attr_accessor :ClusterId, :SubAccounts
|
15247
|
+
|
15248
|
+
def initialize(clusterid=nil, subaccounts=nil)
|
15249
|
+
@ClusterId = clusterid
|
15250
|
+
@SubAccounts = subaccounts
|
15251
|
+
end
|
15252
|
+
|
15253
|
+
def deserialize(params)
|
15254
|
+
@ClusterId = params['ClusterId']
|
15255
|
+
@SubAccounts = params['SubAccounts']
|
15256
|
+
end
|
15257
|
+
end
|
15258
|
+
|
15259
|
+
# UpdateClusterKubeconfig返回参数结构体
|
15260
|
+
class UpdateClusterKubeconfigResponse < TencentCloud::Common::AbstractModel
|
15261
|
+
# @param UpdatedSubAccounts: 已更新的子账户Uin列表
|
15262
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15263
|
+
# @type UpdatedSubAccounts: Array
|
15264
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15265
|
+
# @type RequestId: String
|
15266
|
+
|
15267
|
+
attr_accessor :UpdatedSubAccounts, :RequestId
|
15268
|
+
|
15269
|
+
def initialize(updatedsubaccounts=nil, requestid=nil)
|
15270
|
+
@UpdatedSubAccounts = updatedsubaccounts
|
15271
|
+
@RequestId = requestid
|
15272
|
+
end
|
15273
|
+
|
15274
|
+
def deserialize(params)
|
15275
|
+
@UpdatedSubAccounts = params['UpdatedSubAccounts']
|
15276
|
+
@RequestId = params['RequestId']
|
15277
|
+
end
|
15278
|
+
end
|
15279
|
+
|
15239
15280
|
# UpdateClusterVersion请求参数结构体
|
15240
15281
|
class UpdateClusterVersionRequest < TencentCloud::Common::AbstractModel
|
15241
15282
|
# @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.555
|
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-04-
|
11
|
+
date: 2023-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|