tencentcloud-sdk-mariadb 3.0.497 → 3.0.499

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: bd0ebdce9afac9a19cd05f5b1ccbb2a3344776e0
4
- data.tar.gz: 4631cd68308a25ee989f2b370cd69d607228513e
3
+ metadata.gz: 0c7c338f35ab232cd30189846555819e7203de30
4
+ data.tar.gz: 3aff5171657539e0e894e2c5c65c3c15f2b34aa9
5
5
  SHA512:
6
- metadata.gz: 283e898b4f829e6b343aeecff8e56d74e2846f3a075081738e1ea5d8a8a27e6e1cdca76e26ba0380441aa136b276ad1c455976f50e13e733fd685d4c1e2e7536
7
- data.tar.gz: e86177c9ef3a2b8195f96a64930b18482b0742ad59123737c4c993331de8019c256bd9a1825b46f2a2fd82895a9f3022a1211bb620424be4639a41db7d8e22e0
6
+ metadata.gz: 9354d0e96836ed06f1f2022bd95ecb443269a163c81e97a0a6fa62f73bb13d3361b8ea81cdb83b3fb0cc9bfe9d673077b8868177709f70dc5579d3c4108d4085
7
+ data.tar.gz: 993f0b46ac8c1953766f78a756dd308863e39aed869c9cd635c53b3f33cb2a3ec859f714219bda8b36f3326396be25b5f20cb6f08a35743faf0db70c1e0622d4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.497
1
+ 3.0.499
@@ -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.
@@ -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.497
4
+ version: 3.0.499
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-30 00:00:00.000000000 Z
11
+ date: 2023-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common