tencentcloud-sdk-tke 3.0.553 → 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: 8d6635dd35224b12d1ab362330afd0c2b447b6b3
4
- data.tar.gz: 501b6fca9493f94e250e635d2722b8058889594c
3
+ metadata.gz: 3e0e6fe26d5cf73e1b194d06a0174c2e74854bd5
4
+ data.tar.gz: 3f9b6fc6f49d6b7f79c197caf02c395214e9e648
5
5
  SHA512:
6
- metadata.gz: 21093cbb748b5200d667d9bfa34b59ae60d81e2ce491bc45b8177c45b1828525d1442924b15ed2ce7a1a0503ca53adb7cc46c0f18d513b5cc7b9c0ac9e043928
7
- data.tar.gz: 27d5702cbe9589813dfe6ca63310864a978336f6729ff1d733f8320f46a4fe0d5810a46c364664e9da7e11a59204bfd9a15c80fe021a042910fe592ae27dae63
6
+ metadata.gz: e9181e97ad707234155623376b5bc5633818db5487a2e5228e82e7564a0b224acb7f94f3e013ea9cfd58eadc5deca5d2799027e6e5e73ad5d99de4c01b1bdb07
7
+ data.tar.gz: 05289e3a7a64cbc49662c09fe0da2cce79f32388046da11d872fb2b4f86fa8103ef2cc0b0e21a8a17b30f6fc6bd224b527f1042fcf3b33b8dde0ec3aa1eb2460
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.553
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.553
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-18 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