tencentcloud-sdk-tke 3.0.593 → 3.0.594

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: 55a098874a6c915ffff8ad1e7352a42a55bbb068
4
- data.tar.gz: dcfab370855a684ead829b55275bad0446811a50
3
+ metadata.gz: 7a037b5947e24961a3bdfd630e6767eab848dda4
4
+ data.tar.gz: 85f3a69dc410472a4555c9a8cf819f60e5de8bd6
5
5
  SHA512:
6
- metadata.gz: 457ee061ac234c0ffd5b8bdb68272b3b2f84547a6f4f1b4eb62c0a303d28a0020189092df56942bb9c3770a3741e05a4a6f23e8db85d80d826d389ce33bb5db3
7
- data.tar.gz: 1928669fd4ed39c5959034844e57d8839a20a068d4a67271f2cf3b1680813de98af9b36df883d3580ecdd042e4cbc82383e0c13728821ff61ff3cb9ac998055d
6
+ metadata.gz: dc376cf6be32040d73d27f8e64a0733a8a3d0cf158fee50b3f9106f9b742b5ab32130c165eebfd0415936d6daba867891532e71c58ec040973901c93acbdc75f
7
+ data.tar.gz: 8b14ec1ba42b1e44a14c8c6c162564e4fe6c70d4f9b48c113a2dda1b253af288adb891adb9f9e995ec22e341cc971a7bebb8ca6495172aaf1500ab009ace35d2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.593
1
+ 3.0.594
@@ -2549,6 +2549,30 @@ module TencentCloud
2549
2549
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2550
2550
  end
2551
2551
 
2552
+ # 查询etcd数据是否进行加密
2553
+
2554
+ # @param request: Request instance for DescribeEncryptionStatus.
2555
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeEncryptionStatusRequest`
2556
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeEncryptionStatusResponse`
2557
+ def DescribeEncryptionStatus(request)
2558
+ body = send_request('DescribeEncryptionStatus', request.serialize)
2559
+ response = JSON.parse(body)
2560
+ if response['Response'].key?('Error') == false
2561
+ model = DescribeEncryptionStatusResponse.new
2562
+ model.deserialize(response['Response'])
2563
+ model
2564
+ else
2565
+ code = response['Response']['Error']['Code']
2566
+ message = response['Response']['Error']['Message']
2567
+ reqid = response['Response']['RequestId']
2568
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2569
+ end
2570
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2571
+ raise e
2572
+ rescue StandardError => e
2573
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2574
+ end
2575
+
2552
2576
  # 查询已经存在的节点,判断是否可以加入集群
2553
2577
 
2554
2578
  # @param request: Request instance for DescribeExistedInstances.
@@ -3389,6 +3413,30 @@ module TencentCloud
3389
3413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3390
3414
  end
3391
3415
 
3416
+ # 关闭加密信息保护
3417
+
3418
+ # @param request: Request instance for DisableEncryptionProtection.
3419
+ # @type request: :class:`Tencentcloud::tke::V20180525::DisableEncryptionProtectionRequest`
3420
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DisableEncryptionProtectionResponse`
3421
+ def DisableEncryptionProtection(request)
3422
+ body = send_request('DisableEncryptionProtection', request.serialize)
3423
+ response = JSON.parse(body)
3424
+ if response['Response'].key?('Error') == false
3425
+ model = DisableEncryptionProtectionResponse.new
3426
+ model.deserialize(response['Response'])
3427
+ model
3428
+ else
3429
+ code = response['Response']['Error']['Code']
3430
+ message = response['Response']['Error']['Message']
3431
+ reqid = response['Response']['RequestId']
3432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3433
+ end
3434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3435
+ raise e
3436
+ rescue StandardError => e
3437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3438
+ end
3439
+
3392
3440
  # 关闭事件持久化功能
3393
3441
 
3394
3442
  # @param request: Request instance for DisableEventPersistence.
@@ -3509,6 +3557,30 @@ module TencentCloud
3509
3557
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3510
3558
  end
3511
3559
 
3560
+ # 开启加密数据保护
3561
+
3562
+ # @param request: Request instance for EnableEncryptionProtection.
3563
+ # @type request: :class:`Tencentcloud::tke::V20180525::EnableEncryptionProtectionRequest`
3564
+ # @rtype: :class:`Tencentcloud::tke::V20180525::EnableEncryptionProtectionResponse`
3565
+ def EnableEncryptionProtection(request)
3566
+ body = send_request('EnableEncryptionProtection', request.serialize)
3567
+ response = JSON.parse(body)
3568
+ if response['Response'].key?('Error') == false
3569
+ model = EnableEncryptionProtectionResponse.new
3570
+ model.deserialize(response['Response'])
3571
+ model
3572
+ else
3573
+ code = response['Response']['Error']['Code']
3574
+ message = response['Response']['Error']['Message']
3575
+ reqid = response['Response']['RequestId']
3576
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3577
+ end
3578
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3579
+ raise e
3580
+ rescue StandardError => e
3581
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3582
+ end
3583
+
3512
3584
  # 开启事件持久化功能
3513
3585
 
3514
3586
  # @param request: Request instance for EnableEventPersistence.
@@ -7130,6 +7130,33 @@ module TencentCloud
7130
7130
  end
7131
7131
  end
7132
7132
 
7133
+ # DescribeEncryptionStatus请求参数结构体
7134
+ class DescribeEncryptionStatusRequest < TencentCloud::Common::AbstractModel
7135
+
7136
+
7137
+ def initialize()
7138
+ end
7139
+
7140
+ def deserialize(params)
7141
+ end
7142
+ end
7143
+
7144
+ # DescribeEncryptionStatus返回参数结构体
7145
+ class DescribeEncryptionStatusResponse < TencentCloud::Common::AbstractModel
7146
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7147
+ # @type RequestId: String
7148
+
7149
+ attr_accessor :RequestId
7150
+
7151
+ def initialize(requestid=nil)
7152
+ @RequestId = requestid
7153
+ end
7154
+
7155
+ def deserialize(params)
7156
+ @RequestId = params['RequestId']
7157
+ end
7158
+ end
7159
+
7133
7160
  # DescribeExistedInstances请求参数结构体
7134
7161
  class DescribeExistedInstancesRequest < TencentCloud::Common::AbstractModel
7135
7162
  # @param ClusterId: 集群 ID,请填写查询集群列表 接口中返回的 ClusterId 字段(仅通过ClusterId获取需要过滤条件中的VPCID。节点状态比较时会使用该地域下所有集群中的节点进行比较。参数不支持同时指定InstanceIds和ClusterId。
@@ -9149,6 +9176,33 @@ module TencentCloud
9149
9176
  end
9150
9177
  end
9151
9178
 
9179
+ # DisableEncryptionProtection请求参数结构体
9180
+ class DisableEncryptionProtectionRequest < TencentCloud::Common::AbstractModel
9181
+
9182
+
9183
+ def initialize()
9184
+ end
9185
+
9186
+ def deserialize(params)
9187
+ end
9188
+ end
9189
+
9190
+ # DisableEncryptionProtection返回参数结构体
9191
+ class DisableEncryptionProtectionResponse < TencentCloud::Common::AbstractModel
9192
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9193
+ # @type RequestId: String
9194
+
9195
+ attr_accessor :RequestId
9196
+
9197
+ def initialize(requestid=nil)
9198
+ @RequestId = requestid
9199
+ end
9200
+
9201
+ def deserialize(params)
9202
+ @RequestId = params['RequestId']
9203
+ end
9204
+ end
9205
+
9152
9206
  # DisableEventPersistence请求参数结构体
9153
9207
  class DisableEventPersistenceRequest < TencentCloud::Common::AbstractModel
9154
9208
  # @param ClusterId: 集群ID
@@ -10063,6 +10117,33 @@ module TencentCloud
10063
10117
  end
10064
10118
  end
10065
10119
 
10120
+ # EnableEncryptionProtection请求参数结构体
10121
+ class EnableEncryptionProtectionRequest < TencentCloud::Common::AbstractModel
10122
+
10123
+
10124
+ def initialize()
10125
+ end
10126
+
10127
+ def deserialize(params)
10128
+ end
10129
+ end
10130
+
10131
+ # EnableEncryptionProtection返回参数结构体
10132
+ class EnableEncryptionProtectionResponse < TencentCloud::Common::AbstractModel
10133
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10134
+ # @type RequestId: String
10135
+
10136
+ attr_accessor :RequestId
10137
+
10138
+ def initialize(requestid=nil)
10139
+ @RequestId = requestid
10140
+ end
10141
+
10142
+ def deserialize(params)
10143
+ @RequestId = params['RequestId']
10144
+ end
10145
+ end
10146
+
10066
10147
  # EnableEventPersistence请求参数结构体
10067
10148
  class EnableEventPersistenceRequest < TencentCloud::Common::AbstractModel
10068
10149
  # @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.593
4
+ version: 3.0.594
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-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-tke.rb
37
36
  - lib/v20180525/client.rb
38
37
  - lib/v20180525/models.rb
38
+ - lib/tencentcloud-sdk-tke.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: