tencentcloud-sdk-cdb 3.0.570 → 3.0.571
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/v20170320/client.rb +24 -0
- data/lib/v20170320/models.rb +47 -2
- 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: a1442552354ad90332205632e2af013b5d09ba1f
|
4
|
+
data.tar.gz: da3f6c9590a1c2f86961d060d50c4b5b4b0f5cf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06307f99b14a926e7c21f07f1419c250207bf64f9b1c07de146c1c6e2a0efe62f0c6755a6776a0623c20032d97380dfcb879f5ee25ffdd547046e3c96920c02c
|
7
|
+
data.tar.gz: 47158190c2a9b2cc9c1f8764f6cb9eda095c145a122b1c2ede37ba95b7b9a48b928de3f67f87a99aff182ae9d47a9b38ed22dcee429eeb31273392532f3ad9cd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.571
|
data/lib/v20170320/client.rb
CHANGED
@@ -1010,6 +1010,30 @@ module TencentCloud
|
|
1010
1010
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1011
1011
|
end
|
1012
1012
|
|
1013
|
+
# 本接口(DescribeBackupDecryptionKey)用于查询备份文件解密密钥。
|
1014
|
+
|
1015
|
+
# @param request: Request instance for DescribeBackupDecryptionKey.
|
1016
|
+
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeBackupDecryptionKeyRequest`
|
1017
|
+
# @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeBackupDecryptionKeyResponse`
|
1018
|
+
def DescribeBackupDecryptionKey(request)
|
1019
|
+
body = send_request('DescribeBackupDecryptionKey', request.serialize)
|
1020
|
+
response = JSON.parse(body)
|
1021
|
+
if response['Response'].key?('Error') == false
|
1022
|
+
model = DescribeBackupDecryptionKeyResponse.new
|
1023
|
+
model.deserialize(response['Response'])
|
1024
|
+
model
|
1025
|
+
else
|
1026
|
+
code = response['Response']['Error']['Code']
|
1027
|
+
message = response['Response']['Error']['Message']
|
1028
|
+
reqid = response['Response']['RequestId']
|
1029
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1030
|
+
end
|
1031
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1032
|
+
raise e
|
1033
|
+
rescue StandardError => e
|
1034
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1035
|
+
end
|
1036
|
+
|
1013
1037
|
# 该接口用户查询当前地域用户设置的默认备份下载来源限制。
|
1014
1038
|
|
1015
1039
|
# @param request: Request instance for DescribeBackupDownloadRestriction.
|
data/lib/v20170320/models.rb
CHANGED
@@ -3987,6 +3987,46 @@ module TencentCloud
|
|
3987
3987
|
end
|
3988
3988
|
end
|
3989
3989
|
|
3990
|
+
# DescribeBackupDecryptionKey请求参数结构体
|
3991
|
+
class DescribeBackupDecryptionKeyRequest < TencentCloud::Common::AbstractModel
|
3992
|
+
# @param InstanceId: 实例ID,格式如:cdb-XXXX。与云数据库控制台页面中显示的实例 ID 相同。
|
3993
|
+
# @type InstanceId: String
|
3994
|
+
# @param BackupId: 实例的备份ID,可通过DescribeBackups接口查询备份的ID。
|
3995
|
+
# @type BackupId: Integer
|
3996
|
+
|
3997
|
+
attr_accessor :InstanceId, :BackupId
|
3998
|
+
|
3999
|
+
def initialize(instanceid=nil, backupid=nil)
|
4000
|
+
@InstanceId = instanceid
|
4001
|
+
@BackupId = backupid
|
4002
|
+
end
|
4003
|
+
|
4004
|
+
def deserialize(params)
|
4005
|
+
@InstanceId = params['InstanceId']
|
4006
|
+
@BackupId = params['BackupId']
|
4007
|
+
end
|
4008
|
+
end
|
4009
|
+
|
4010
|
+
# DescribeBackupDecryptionKey返回参数结构体
|
4011
|
+
class DescribeBackupDecryptionKeyResponse < TencentCloud::Common::AbstractModel
|
4012
|
+
# @param DecryptionKey: 备份文件解密密钥。
|
4013
|
+
# @type DecryptionKey: String
|
4014
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4015
|
+
# @type RequestId: String
|
4016
|
+
|
4017
|
+
attr_accessor :DecryptionKey, :RequestId
|
4018
|
+
|
4019
|
+
def initialize(decryptionkey=nil, requestid=nil)
|
4020
|
+
@DecryptionKey = decryptionkey
|
4021
|
+
@RequestId = requestid
|
4022
|
+
end
|
4023
|
+
|
4024
|
+
def deserialize(params)
|
4025
|
+
@DecryptionKey = params['DecryptionKey']
|
4026
|
+
@RequestId = params['RequestId']
|
4027
|
+
end
|
4028
|
+
end
|
4029
|
+
|
3990
4030
|
# DescribeBackupDownloadRestriction请求参数结构体
|
3991
4031
|
class DescribeBackupDownloadRestrictionRequest < TencentCloud::Common::AbstractModel
|
3992
4032
|
|
@@ -9875,15 +9915,19 @@ module TencentCloud
|
|
9875
9915
|
# @type EngineVersion: String
|
9876
9916
|
# @param TemplateType: 参数模板类型
|
9877
9917
|
# @type TemplateType: String
|
9918
|
+
# @param EngineType: 参数模板引擎
|
9919
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9920
|
+
# @type EngineType: String
|
9878
9921
|
|
9879
|
-
attr_accessor :TemplateId, :Name, :Description, :EngineVersion, :TemplateType
|
9922
|
+
attr_accessor :TemplateId, :Name, :Description, :EngineVersion, :TemplateType, :EngineType
|
9880
9923
|
|
9881
|
-
def initialize(templateid=nil, name=nil, description=nil, engineversion=nil, templatetype=nil)
|
9924
|
+
def initialize(templateid=nil, name=nil, description=nil, engineversion=nil, templatetype=nil, enginetype=nil)
|
9882
9925
|
@TemplateId = templateid
|
9883
9926
|
@Name = name
|
9884
9927
|
@Description = description
|
9885
9928
|
@EngineVersion = engineversion
|
9886
9929
|
@TemplateType = templatetype
|
9930
|
+
@EngineType = enginetype
|
9887
9931
|
end
|
9888
9932
|
|
9889
9933
|
def deserialize(params)
|
@@ -9892,6 +9936,7 @@ module TencentCloud
|
|
9892
9936
|
@Description = params['Description']
|
9893
9937
|
@EngineVersion = params['EngineVersion']
|
9894
9938
|
@TemplateType = params['TemplateType']
|
9939
|
+
@EngineType = params['EngineType']
|
9895
9940
|
end
|
9896
9941
|
end
|
9897
9942
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.571
|
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-05-
|
11
|
+
date: 2023-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|