tencentcloud-sdk-mariadb 3.0.510 → 3.0.512

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: 8463f675cb0b88f6dd70d645753b6e2a7bd115b0
4
- data.tar.gz: 01838b36bf1c8030b44f9d46c47b13dbe4cd811d
3
+ metadata.gz: 8601b2cf7ec84f0acc209309105077ad099a6005
4
+ data.tar.gz: 366772fc3b4f943e1d18917b3eb70472356e26cf
5
5
  SHA512:
6
- metadata.gz: 4fcab5d3e30f208ad60960ba5736703187b54a6d4ecb540db5f2d8b852d37601841bebd9f0fb9b41e2485734a1ff15a3a867a62299277ce440a2b471b1e39615
7
- data.tar.gz: fd50211fd8fbf3a321fa8aacc82dbd7692b7f61146c3c3adaa44c8393f04a77811187040f166b51e3a24e19c91eb677a98e51edebcd6699ab68f5727a89335c4
6
+ metadata.gz: 87db008fad4ec4247ad058a2099cd357455d86aac50c6e630d42cd1714d480f149dc4bf14f0597509998fb57088de294afe05b78e5ebdfb20ef6cfb1d508ed48
7
+ data.tar.gz: 097be71e5ff39a44417a916bad93880f0b69c79869fbb0c6a42de83339cdcef6ecd60c35f883adbf1ebb8f0bcdbff21bf423a856313f2d450238506d5d51b06a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.510
1
+ 3.0.512
@@ -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.510
4
+ version: 3.0.512
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-16 00:00:00.000000000 Z
11
+ date: 2023-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common