tencentcloud-sdk-mariadb 3.0.497 → 3.0.498
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 +44 -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: 98edcca06fc184baaa8424c727d3aa3c760fbfa6
|
4
|
+
data.tar.gz: be850698fd3d97707d05024e9e85c7c1daa06b37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 544650c900a18139df779761d15c0a045687668b2781d6b0a3591259e3fca15e21182c2fd588a6a5bf8054fb5613da288edc8280ffb02e2e1756e6a158a5fe17
|
7
|
+
data.tar.gz: 29663f951f2244bc66a8fa6ca009a004aaa58566db7b84624d9e508cefd00e98d11586bb62e2d438829c28d1f96c1d985b9f5d8886fff5c79e563d7de6973773
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.498
|
data/lib/v20170312/client.rb
CHANGED
@@ -391,6 +391,30 @@ module TencentCloud
|
|
391
391
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
392
392
|
end
|
393
393
|
|
394
|
+
# 本接口(DescribeDBEncryptAttributes)用于查询实例数据加密状态。
|
395
|
+
|
396
|
+
# @param request: Request instance for DescribeDBEncryptAttributes.
|
397
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeDBEncryptAttributesRequest`
|
398
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeDBEncryptAttributesResponse`
|
399
|
+
def DescribeDBEncryptAttributes(request)
|
400
|
+
body = send_request('DescribeDBEncryptAttributes', request.serialize)
|
401
|
+
response = JSON.parse(body)
|
402
|
+
if response['Response'].key?('Error') == false
|
403
|
+
model = DescribeDBEncryptAttributesResponse.new
|
404
|
+
model.deserialize(response['Response'])
|
405
|
+
model
|
406
|
+
else
|
407
|
+
code = response['Response']['Error']['Code']
|
408
|
+
message = response['Response']['Error']['Message']
|
409
|
+
reqid = response['Response']['RequestId']
|
410
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
411
|
+
end
|
412
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
413
|
+
raise e
|
414
|
+
rescue StandardError => e
|
415
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
416
|
+
end
|
417
|
+
|
394
418
|
# 本接口(DescribeDBInstanceSpecs)用于查询可创建的云数据库可售卖的规格配置。
|
395
419
|
|
396
420
|
# @param request: Request instance for DescribeDBInstanceSpecs.
|
data/lib/v20170312/models.rb
CHANGED
@@ -1723,6 +1723,50 @@ module TencentCloud
|
|
1723
1723
|
end
|
1724
1724
|
end
|
1725
1725
|
|
1726
|
+
# DescribeDBEncryptAttributes请求参数结构体
|
1727
|
+
class DescribeDBEncryptAttributesRequest < TencentCloud::Common::AbstractModel
|
1728
|
+
# @param InstanceId: 实例Id,形如:tdsql-ow728lmc。
|
1729
|
+
# @type InstanceId: String
|
1730
|
+
|
1731
|
+
attr_accessor :InstanceId
|
1732
|
+
|
1733
|
+
def initialize(instanceid=nil)
|
1734
|
+
@InstanceId = instanceid
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
def deserialize(params)
|
1738
|
+
@InstanceId = params['InstanceId']
|
1739
|
+
end
|
1740
|
+
end
|
1741
|
+
|
1742
|
+
# DescribeDBEncryptAttributes返回参数结构体
|
1743
|
+
class DescribeDBEncryptAttributesResponse < TencentCloud::Common::AbstractModel
|
1744
|
+
# @param EncryptStatus: 是否启用加密,1-已开启;0-未开启。
|
1745
|
+
# @type EncryptStatus: Integer
|
1746
|
+
# @param CipherText: DEK密钥
|
1747
|
+
# @type CipherText: String
|
1748
|
+
# @param ExpireDate: DEK密钥过期日期。
|
1749
|
+
# @type ExpireDate: String
|
1750
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1751
|
+
# @type RequestId: String
|
1752
|
+
|
1753
|
+
attr_accessor :EncryptStatus, :CipherText, :ExpireDate, :RequestId
|
1754
|
+
|
1755
|
+
def initialize(encryptstatus=nil, ciphertext=nil, expiredate=nil, requestid=nil)
|
1756
|
+
@EncryptStatus = encryptstatus
|
1757
|
+
@CipherText = ciphertext
|
1758
|
+
@ExpireDate = expiredate
|
1759
|
+
@RequestId = requestid
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
def deserialize(params)
|
1763
|
+
@EncryptStatus = params['EncryptStatus']
|
1764
|
+
@CipherText = params['CipherText']
|
1765
|
+
@ExpireDate = params['ExpireDate']
|
1766
|
+
@RequestId = params['RequestId']
|
1767
|
+
end
|
1768
|
+
end
|
1769
|
+
|
1726
1770
|
# DescribeDBInstanceSpecs请求参数结构体
|
1727
1771
|
class DescribeDBInstanceSpecsRequest < TencentCloud::Common::AbstractModel
|
1728
1772
|
|
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.498
|
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-01-
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|