tencentcloud-sdk-cdb 3.0.496 → 3.0.497
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 +68 -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: 74fecfeaa61e743d1b4ac7c897b1c93a6b5d6454
|
4
|
+
data.tar.gz: 68971d47d3a3f9eea59e4d6d78b6dd014215d14b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75d95cb5d4e5f1eb1f412d6f2381b06acbd28fadbe4bc1740e4e15fc3ea6abc11dd18d5cc327a3c5709a23293990ff02036204d9c32d425845f1d848dff0e0fe
|
7
|
+
data.tar.gz: 02cfbaede07b87e95e277bebc739052dc32899c42575fd610f9c71e9ba93f2b940875416ee3287c856ab3842e9e797932ee833792d0de7e2c52e84277debe3eb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.497
|
data/lib/v20170320/client.rb
CHANGED
@@ -1108,6 +1108,30 @@ module TencentCloud
|
|
1108
1108
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1109
1109
|
end
|
1110
1110
|
|
1111
|
+
# 本接口(DescribeDBFeatures)用于查询云数据库版本属性,包括是否支持数据库加密、数据库审计等功能。
|
1112
|
+
|
1113
|
+
# @param request: Request instance for DescribeDBFeatures.
|
1114
|
+
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeDBFeaturesRequest`
|
1115
|
+
# @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeDBFeaturesResponse`
|
1116
|
+
def DescribeDBFeatures(request)
|
1117
|
+
body = send_request('DescribeDBFeatures', request.serialize)
|
1118
|
+
response = JSON.parse(body)
|
1119
|
+
if response['Response'].key?('Error') == false
|
1120
|
+
model = DescribeDBFeaturesResponse.new
|
1121
|
+
model.deserialize(response['Response'])
|
1122
|
+
model
|
1123
|
+
else
|
1124
|
+
code = response['Response']['Error']['Code']
|
1125
|
+
message = response['Response']['Error']['Message']
|
1126
|
+
reqid = response['Response']['RequestId']
|
1127
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1128
|
+
end
|
1129
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1130
|
+
raise e
|
1131
|
+
rescue StandardError => e
|
1132
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1133
|
+
end
|
1134
|
+
|
1111
1135
|
# 本接口(DescribeDBImportRecords)用于查询云数据库导入任务操作日志。
|
1112
1136
|
|
1113
1137
|
# @param request: Request instance for DescribeDBImportRecords.
|
data/lib/v20170320/models.rb
CHANGED
@@ -4011,6 +4011,74 @@ module TencentCloud
|
|
4011
4011
|
end
|
4012
4012
|
end
|
4013
4013
|
|
4014
|
+
# DescribeDBFeatures请求参数结构体
|
4015
|
+
class DescribeDBFeaturesRequest < TencentCloud::Common::AbstractModel
|
4016
|
+
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
4017
|
+
# @type InstanceId: String
|
4018
|
+
|
4019
|
+
attr_accessor :InstanceId
|
4020
|
+
|
4021
|
+
def initialize(instanceid=nil)
|
4022
|
+
@InstanceId = instanceid
|
4023
|
+
end
|
4024
|
+
|
4025
|
+
def deserialize(params)
|
4026
|
+
@InstanceId = params['InstanceId']
|
4027
|
+
end
|
4028
|
+
end
|
4029
|
+
|
4030
|
+
# DescribeDBFeatures返回参数结构体
|
4031
|
+
class DescribeDBFeaturesResponse < TencentCloud::Common::AbstractModel
|
4032
|
+
# @param IsSupportAudit: 是否支持数据库审计功能。
|
4033
|
+
# @type IsSupportAudit: Boolean
|
4034
|
+
# @param AuditNeedUpgrade: 开启审计是否需要升级内核版本。
|
4035
|
+
# @type AuditNeedUpgrade: Boolean
|
4036
|
+
# @param IsSupportEncryption: 是否支持数据库加密功能。
|
4037
|
+
# @type IsSupportEncryption: Boolean
|
4038
|
+
# @param EncryptionNeedUpgrade: 开启加密是否需要升级内核版本。
|
4039
|
+
# @type EncryptionNeedUpgrade: Boolean
|
4040
|
+
# @param IsRemoteRo: 是否为异地只读实例。
|
4041
|
+
# @type IsRemoteRo: Boolean
|
4042
|
+
# @param MasterRegion: 主实例所在地域。
|
4043
|
+
# @type MasterRegion: String
|
4044
|
+
# @param IsSupportUpdateSubVersion: 是否支持小版本升级。
|
4045
|
+
# @type IsSupportUpdateSubVersion: Boolean
|
4046
|
+
# @param CurrentSubVersion: 当前内核版本。
|
4047
|
+
# @type CurrentSubVersion: String
|
4048
|
+
# @param TargetSubVersion: 可供升级的内核版本。
|
4049
|
+
# @type TargetSubVersion: String
|
4050
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4051
|
+
# @type RequestId: String
|
4052
|
+
|
4053
|
+
attr_accessor :IsSupportAudit, :AuditNeedUpgrade, :IsSupportEncryption, :EncryptionNeedUpgrade, :IsRemoteRo, :MasterRegion, :IsSupportUpdateSubVersion, :CurrentSubVersion, :TargetSubVersion, :RequestId
|
4054
|
+
|
4055
|
+
def initialize(issupportaudit=nil, auditneedupgrade=nil, issupportencryption=nil, encryptionneedupgrade=nil, isremotero=nil, masterregion=nil, issupportupdatesubversion=nil, currentsubversion=nil, targetsubversion=nil, requestid=nil)
|
4056
|
+
@IsSupportAudit = issupportaudit
|
4057
|
+
@AuditNeedUpgrade = auditneedupgrade
|
4058
|
+
@IsSupportEncryption = issupportencryption
|
4059
|
+
@EncryptionNeedUpgrade = encryptionneedupgrade
|
4060
|
+
@IsRemoteRo = isremotero
|
4061
|
+
@MasterRegion = masterregion
|
4062
|
+
@IsSupportUpdateSubVersion = issupportupdatesubversion
|
4063
|
+
@CurrentSubVersion = currentsubversion
|
4064
|
+
@TargetSubVersion = targetsubversion
|
4065
|
+
@RequestId = requestid
|
4066
|
+
end
|
4067
|
+
|
4068
|
+
def deserialize(params)
|
4069
|
+
@IsSupportAudit = params['IsSupportAudit']
|
4070
|
+
@AuditNeedUpgrade = params['AuditNeedUpgrade']
|
4071
|
+
@IsSupportEncryption = params['IsSupportEncryption']
|
4072
|
+
@EncryptionNeedUpgrade = params['EncryptionNeedUpgrade']
|
4073
|
+
@IsRemoteRo = params['IsRemoteRo']
|
4074
|
+
@MasterRegion = params['MasterRegion']
|
4075
|
+
@IsSupportUpdateSubVersion = params['IsSupportUpdateSubVersion']
|
4076
|
+
@CurrentSubVersion = params['CurrentSubVersion']
|
4077
|
+
@TargetSubVersion = params['TargetSubVersion']
|
4078
|
+
@RequestId = params['RequestId']
|
4079
|
+
end
|
4080
|
+
end
|
4081
|
+
|
4014
4082
|
# DescribeDBImportRecords请求参数结构体
|
4015
4083
|
class DescribeDBImportRecordsRequest < TencentCloud::Common::AbstractModel
|
4016
4084
|
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
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.497
|
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-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|