tencentcloud-sdk-tke 3.0.552 → 3.0.554

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: b4d6d374d9aab1e16793f88d9ebefba3af2afbe7
4
- data.tar.gz: 05a7a952c3270079cf67f22425ffde2038bbe2e1
3
+ metadata.gz: 3e0e6fe26d5cf73e1b194d06a0174c2e74854bd5
4
+ data.tar.gz: 3f9b6fc6f49d6b7f79c197caf02c395214e9e648
5
5
  SHA512:
6
- metadata.gz: b706c8f9078d1c1258d9ed27906465ae0f308d1020b8ad7ecf6bcda7ea1573174279e97b54131d7cc8167fc1eec7228153c223eeb586bffaa58fe192024197b3
7
- data.tar.gz: c28f5f041923405bc9b348f8208b0eba0cd18bcec15c802baf5da8ceb1b3775a46969236a46766d781fecebc4fb5fa0dd4f0cfd784d144b774e25f55106ac736
6
+ metadata.gz: e9181e97ad707234155623376b5bc5633818db5487a2e5228e82e7564a0b224acb7f94f3e013ea9cfd58eadc5deca5d2799027e6e5e73ad5d99de4c01b1bdb07
7
+ data.tar.gz: 05289e3a7a64cbc49662c09fe0da2cce79f32388046da11d872fb2b4f86fa8103ef2cc0b0e21a8a17b30f6fc6bd224b527f1042fcf3b33b8dde0ec3aa1eb2460
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.552
1
+ 3.0.554
@@ -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.
@@ -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.552
4
+ version: 3.0.554
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-17 00:00:00.000000000 Z
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