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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +24 -0
- data/lib/v20170312/models.rb +36 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8601b2cf7ec84f0acc209309105077ad099a6005
|
4
|
+
data.tar.gz: 366772fc3b4f943e1d18917b3eb70472356e26cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87db008fad4ec4247ad058a2099cd357455d86aac50c6e630d42cd1714d480f149dc4bf14f0597509998fb57088de294afe05b78e5ebdfb20ef6cfb1d508ed48
|
7
|
+
data.tar.gz: 097be71e5ff39a44417a916bad93880f0b69c79869fbb0c6a42de83339cdcef6ecd60c35f883adbf1ebb8f0bcdbff21bf423a856313f2d450238506d5d51b06a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.512
|
data/lib/v20170312/client.rb
CHANGED
@@ -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.
|
data/lib/v20170312/models.rb
CHANGED
@@ -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.
|
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-
|
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
|