tencentcloud-sdk-mariadb 3.0.511 → 3.0.513

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: 3ae0c9893027bf1941d0fc3a5e99021c34ffc35c
4
- data.tar.gz: 3de5f5a15d6af74d35ba4f541eeb8be7c696d2ba
3
+ metadata.gz: 7eb160e069afa81ea3016feac461bed4636eab3f
4
+ data.tar.gz: 058c7aa0d25f1344bbb4a1a256524824650f07cc
5
5
  SHA512:
6
- metadata.gz: 658c6b6b7277c0e58983549f9bf2332305110d4fa5f1deb41c0640feed00600f1f43e4d1dd4a7293007352752555df5efaa9007b7c7dcaedf578959b620665f2
7
- data.tar.gz: 6cd976aefd62648b93a55ac93ef05a90155fe5932d1375b8302be30a6d0bc1ff3eef559ea56ee1eac55b733ded39682f77322f5ccca70eb45b6b62a34e85db33
6
+ metadata.gz: 11cb52d1ebb8b7dc1557538905910f2505acc433e5e4ae2e60f7a0671cd1289f928e668fb0ecb7b90f162fdf055df3e2c9b260121317fd2da044edad5fae9ee0
7
+ data.tar.gz: 92493e466a6c37b015f502a93198841150cab7fea7c667201b1a3ab89c9b6b7e993d9267f5fdbcc941c67bfe7812210e31f4dd79d94eed679b5c97ae3eb5c8b0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.511
1
+ 3.0.513
@@ -1215,6 +1215,30 @@ module TencentCloud
1215
1215
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1216
1216
  end
1217
1217
 
1218
+ # 本接口(ModifyDBEncryptAttributes)用于修改实例数据加密。
1219
+
1220
+ # @param request: Request instance for ModifyDBEncryptAttributes.
1221
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::ModifyDBEncryptAttributesRequest`
1222
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::ModifyDBEncryptAttributesResponse`
1223
+ def ModifyDBEncryptAttributes(request)
1224
+ body = send_request('ModifyDBEncryptAttributes', request.serialize)
1225
+ response = JSON.parse(body)
1226
+ if response['Response'].key?('Error') == false
1227
+ model = ModifyDBEncryptAttributesResponse.new
1228
+ model.deserialize(response['Response'])
1229
+ model
1230
+ else
1231
+ code = response['Response']['Error']['Code']
1232
+ message = response['Response']['Error']['Message']
1233
+ reqid = response['Response']['RequestId']
1234
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1235
+ end
1236
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1237
+ raise e
1238
+ rescue StandardError => e
1239
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1240
+ end
1241
+
1218
1242
  # 本接口(ModifyDBInstanceName)用于修改云数据库实例的名称。
1219
1243
 
1220
1244
  # @param request: Request instance for ModifyDBInstanceName.
@@ -3643,6 +3643,42 @@ module TencentCloud
3643
3643
  end
3644
3644
  end
3645
3645
 
3646
+ # ModifyDBEncryptAttributes请求参数结构体
3647
+ class ModifyDBEncryptAttributesRequest < TencentCloud::Common::AbstractModel
3648
+ # @param InstanceId: 实例Id,形如:tdsql-ow728lmc。
3649
+ # @type InstanceId: String
3650
+ # @param EncryptEnabled: 是否启用数据加密,开启后暂不支持关闭。本接口的可选值为:1-开启数据加密。
3651
+ # @type EncryptEnabled: Integer
3652
+
3653
+ attr_accessor :InstanceId, :EncryptEnabled
3654
+
3655
+ def initialize(instanceid=nil, encryptenabled=nil)
3656
+ @InstanceId = instanceid
3657
+ @EncryptEnabled = encryptenabled
3658
+ end
3659
+
3660
+ def deserialize(params)
3661
+ @InstanceId = params['InstanceId']
3662
+ @EncryptEnabled = params['EncryptEnabled']
3663
+ end
3664
+ end
3665
+
3666
+ # ModifyDBEncryptAttributes返回参数结构体
3667
+ class ModifyDBEncryptAttributesResponse < TencentCloud::Common::AbstractModel
3668
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3669
+ # @type RequestId: String
3670
+
3671
+ attr_accessor :RequestId
3672
+
3673
+ def initialize(requestid=nil)
3674
+ @RequestId = requestid
3675
+ end
3676
+
3677
+ def deserialize(params)
3678
+ @RequestId = params['RequestId']
3679
+ end
3680
+ end
3681
+
3646
3682
  # ModifyDBInstanceName请求参数结构体
3647
3683
  class ModifyDBInstanceNameRequest < TencentCloud::Common::AbstractModel
3648
3684
  # @param InstanceId: 待修改的实例 ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mariadb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.511
4
+ version: 3.0.513
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-02-17 00:00:00.000000000 Z
11
+ date: 2023-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common