tencentcloud-sdk-cdb 3.0.570 → 3.0.572
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170320/client.rb +24 -0
- data/lib/v20170320/models.rb +54 -4
- 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: d43cf1351a93208122887e9c5fd456af8779a863
|
4
|
+
data.tar.gz: 0b7964739ff42c9de5f9cc0be6cea5f5799c454d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb2c09986c481e61fb8e1d6600536176f3d054912f2232db98e74ee459322b3f3fc23059192ee0f74b89449bdbc328aae663263d9544719bebfce3b1055833e9
|
7
|
+
data.tar.gz: ab4b17357f60b044c659e33c45f0e8975983e52608b5414b727b0f9344a6aa254aed0a26d3b1585d554395af3f776897a5ed0d78ce6d7cb1805801efe52b7d38
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.572
|
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
|
|
@@ -6010,12 +6050,15 @@ module TencentCloud
|
|
6010
6050
|
# @type Description: String
|
6011
6051
|
# @param TemplateType: 参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模板,"HIGH_PERFORMANCE" - 高性能模板。
|
6012
6052
|
# @type TemplateType: String
|
6053
|
+
# @param EngineType: 参数模板引擎。支持值包括:"InnoDB","RocksDB"。
|
6054
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6055
|
+
# @type EngineType: String
|
6013
6056
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6014
6057
|
# @type RequestId: String
|
6015
6058
|
|
6016
|
-
attr_accessor :TemplateId, :Name, :EngineVersion, :TotalCount, :Items, :Description, :TemplateType, :RequestId
|
6059
|
+
attr_accessor :TemplateId, :Name, :EngineVersion, :TotalCount, :Items, :Description, :TemplateType, :EngineType, :RequestId
|
6017
6060
|
|
6018
|
-
def initialize(templateid=nil, name=nil, engineversion=nil, totalcount=nil, items=nil, description=nil, templatetype=nil, requestid=nil)
|
6061
|
+
def initialize(templateid=nil, name=nil, engineversion=nil, totalcount=nil, items=nil, description=nil, templatetype=nil, enginetype=nil, requestid=nil)
|
6019
6062
|
@TemplateId = templateid
|
6020
6063
|
@Name = name
|
6021
6064
|
@EngineVersion = engineversion
|
@@ -6023,6 +6066,7 @@ module TencentCloud
|
|
6023
6066
|
@Items = items
|
6024
6067
|
@Description = description
|
6025
6068
|
@TemplateType = templatetype
|
6069
|
+
@EngineType = enginetype
|
6026
6070
|
@RequestId = requestid
|
6027
6071
|
end
|
6028
6072
|
|
@@ -6041,6 +6085,7 @@ module TencentCloud
|
|
6041
6085
|
end
|
6042
6086
|
@Description = params['Description']
|
6043
6087
|
@TemplateType = params['TemplateType']
|
6088
|
+
@EngineType = params['EngineType']
|
6044
6089
|
@RequestId = params['RequestId']
|
6045
6090
|
end
|
6046
6091
|
end
|
@@ -9875,15 +9920,19 @@ module TencentCloud
|
|
9875
9920
|
# @type EngineVersion: String
|
9876
9921
|
# @param TemplateType: 参数模板类型
|
9877
9922
|
# @type TemplateType: String
|
9923
|
+
# @param EngineType: 参数模板引擎
|
9924
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9925
|
+
# @type EngineType: String
|
9878
9926
|
|
9879
|
-
attr_accessor :TemplateId, :Name, :Description, :EngineVersion, :TemplateType
|
9927
|
+
attr_accessor :TemplateId, :Name, :Description, :EngineVersion, :TemplateType, :EngineType
|
9880
9928
|
|
9881
|
-
def initialize(templateid=nil, name=nil, description=nil, engineversion=nil, templatetype=nil)
|
9929
|
+
def initialize(templateid=nil, name=nil, description=nil, engineversion=nil, templatetype=nil, enginetype=nil)
|
9882
9930
|
@TemplateId = templateid
|
9883
9931
|
@Name = name
|
9884
9932
|
@Description = description
|
9885
9933
|
@EngineVersion = engineversion
|
9886
9934
|
@TemplateType = templatetype
|
9935
|
+
@EngineType = enginetype
|
9887
9936
|
end
|
9888
9937
|
|
9889
9938
|
def deserialize(params)
|
@@ -9892,6 +9941,7 @@ module TencentCloud
|
|
9892
9941
|
@Description = params['Description']
|
9893
9942
|
@EngineVersion = params['EngineVersion']
|
9894
9943
|
@TemplateType = params['TemplateType']
|
9944
|
+
@EngineType = params['EngineType']
|
9895
9945
|
end
|
9896
9946
|
end
|
9897
9947
|
|
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.572
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|