tencentcloud-sdk-cynosdb 3.0.954 → 3.0.955
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/v20190107/client.rb +48 -0
- data/lib/v20190107/models.rb +88 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e2d1e5fbe376d9b972e0f9f795d4be13b84d5bc
|
4
|
+
data.tar.gz: 6d0e25826f6b23a6a9bc644f2cf758dd7a7cbd7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5894f6f4d9030a0e307e785a65baa5c1d203860d00e4d90ece3e6b94e2773142ace2fcd498c86d90406a3e35182658a449eb0dc6be43cd1d7ca1bf4fe85e0d2a
|
7
|
+
data.tar.gz: 884f7fdbbd8d4b0e50eceed4c2c40e02ca964ba7f832cc2b54e95b18ef8ef4a77e27f051d27ec1868d7781a27530b16ee6fc126e24d4a937091263d0e204ebc4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.955
|
data/lib/v20190107/client.rb
CHANGED
@@ -1277,6 +1277,30 @@ module TencentCloud
|
|
1277
1277
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1278
1278
|
end
|
1279
1279
|
|
1280
|
+
# 查询集群透明加密信息
|
1281
|
+
|
1282
|
+
# @param request: Request instance for DescribeClusterTransparentEncryptInfo.
|
1283
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterTransparentEncryptInfoRequest`
|
1284
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterTransparentEncryptInfoResponse`
|
1285
|
+
def DescribeClusterTransparentEncryptInfo(request)
|
1286
|
+
body = send_request('DescribeClusterTransparentEncryptInfo', request.serialize)
|
1287
|
+
response = JSON.parse(body)
|
1288
|
+
if response['Response'].key?('Error') == false
|
1289
|
+
model = DescribeClusterTransparentEncryptInfoResponse.new
|
1290
|
+
model.deserialize(response['Response'])
|
1291
|
+
model
|
1292
|
+
else
|
1293
|
+
code = response['Response']['Error']['Code']
|
1294
|
+
message = response['Response']['Error']['Message']
|
1295
|
+
reqid = response['Response']['RequestId']
|
1296
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1297
|
+
end
|
1298
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1299
|
+
raise e
|
1300
|
+
rescue StandardError => e
|
1301
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1302
|
+
end
|
1303
|
+
|
1280
1304
|
# 本接口(DescribeClusters)用于查询集群列表。
|
1281
1305
|
|
1282
1306
|
# @param request: Request instance for DescribeClusters.
|
@@ -2981,6 +3005,30 @@ module TencentCloud
|
|
2981
3005
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2982
3006
|
end
|
2983
3007
|
|
3008
|
+
# 开通集群透明加密
|
3009
|
+
|
3010
|
+
# @param request: Request instance for OpenClusterTransparentEncrypt.
|
3011
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::OpenClusterTransparentEncryptRequest`
|
3012
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::OpenClusterTransparentEncryptResponse`
|
3013
|
+
def OpenClusterTransparentEncrypt(request)
|
3014
|
+
body = send_request('OpenClusterTransparentEncrypt', request.serialize)
|
3015
|
+
response = JSON.parse(body)
|
3016
|
+
if response['Response'].key?('Error') == false
|
3017
|
+
model = OpenClusterTransparentEncryptResponse.new
|
3018
|
+
model.deserialize(response['Response'])
|
3019
|
+
model
|
3020
|
+
else
|
3021
|
+
code = response['Response']['Error']['Code']
|
3022
|
+
message = response['Response']['Error']['Message']
|
3023
|
+
reqid = response['Response']['RequestId']
|
3024
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3025
|
+
end
|
3026
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3027
|
+
raise e
|
3028
|
+
rescue StandardError => e
|
3029
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3030
|
+
end
|
3031
|
+
|
2984
3032
|
# 本接口(OpenReadOnlyInstanceExclusiveAccess)用于开通只读实例独有访问接入组。
|
2985
3033
|
|
2986
3034
|
# @param request: Request instance for OpenReadOnlyInstanceExclusiveAccess.
|
data/lib/v20190107/models.rb
CHANGED
@@ -5845,6 +5845,46 @@ module TencentCloud
|
|
5845
5845
|
end
|
5846
5846
|
end
|
5847
5847
|
|
5848
|
+
# DescribeClusterTransparentEncryptInfo请求参数结构体
|
5849
|
+
class DescribeClusterTransparentEncryptInfoRequest < TencentCloud::Common::AbstractModel
|
5850
|
+
# @param ClusterId: 集群id
|
5851
|
+
# @type ClusterId: String
|
5852
|
+
|
5853
|
+
attr_accessor :ClusterId
|
5854
|
+
|
5855
|
+
def initialize(clusterid=nil)
|
5856
|
+
@ClusterId = clusterid
|
5857
|
+
end
|
5858
|
+
|
5859
|
+
def deserialize(params)
|
5860
|
+
@ClusterId = params['ClusterId']
|
5861
|
+
end
|
5862
|
+
end
|
5863
|
+
|
5864
|
+
# DescribeClusterTransparentEncryptInfo返回参数结构体
|
5865
|
+
class DescribeClusterTransparentEncryptInfoResponse < TencentCloud::Common::AbstractModel
|
5866
|
+
# @param KeyId: 加密秘钥id
|
5867
|
+
# @type KeyId: String
|
5868
|
+
# @param KeyRegion: 加密秘钥地域
|
5869
|
+
# @type KeyRegion: String
|
5870
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5871
|
+
# @type RequestId: String
|
5872
|
+
|
5873
|
+
attr_accessor :KeyId, :KeyRegion, :RequestId
|
5874
|
+
|
5875
|
+
def initialize(keyid=nil, keyregion=nil, requestid=nil)
|
5876
|
+
@KeyId = keyid
|
5877
|
+
@KeyRegion = keyregion
|
5878
|
+
@RequestId = requestid
|
5879
|
+
end
|
5880
|
+
|
5881
|
+
def deserialize(params)
|
5882
|
+
@KeyId = params['KeyId']
|
5883
|
+
@KeyRegion = params['KeyRegion']
|
5884
|
+
@RequestId = params['RequestId']
|
5885
|
+
end
|
5886
|
+
end
|
5887
|
+
|
5848
5888
|
# DescribeClusters请求参数结构体
|
5849
5889
|
class DescribeClustersRequest < TencentCloud::Common::AbstractModel
|
5850
5890
|
# @param DbType: 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
|
@@ -10986,6 +11026,54 @@ module TencentCloud
|
|
10986
11026
|
end
|
10987
11027
|
end
|
10988
11028
|
|
11029
|
+
# OpenClusterTransparentEncrypt请求参数结构体
|
11030
|
+
class OpenClusterTransparentEncryptRequest < TencentCloud::Common::AbstractModel
|
11031
|
+
# @param ClusterId: 集群id
|
11032
|
+
# @type ClusterId: String
|
11033
|
+
# @param KeyType: 秘钥类型(cloud,custom)
|
11034
|
+
# @type KeyType: String
|
11035
|
+
# @param KeyId: 秘钥Id
|
11036
|
+
# @type KeyId: String
|
11037
|
+
# @param KeyRegion: 秘钥地域
|
11038
|
+
# @type KeyRegion: String
|
11039
|
+
|
11040
|
+
attr_accessor :ClusterId, :KeyType, :KeyId, :KeyRegion
|
11041
|
+
|
11042
|
+
def initialize(clusterid=nil, keytype=nil, keyid=nil, keyregion=nil)
|
11043
|
+
@ClusterId = clusterid
|
11044
|
+
@KeyType = keytype
|
11045
|
+
@KeyId = keyid
|
11046
|
+
@KeyRegion = keyregion
|
11047
|
+
end
|
11048
|
+
|
11049
|
+
def deserialize(params)
|
11050
|
+
@ClusterId = params['ClusterId']
|
11051
|
+
@KeyType = params['KeyType']
|
11052
|
+
@KeyId = params['KeyId']
|
11053
|
+
@KeyRegion = params['KeyRegion']
|
11054
|
+
end
|
11055
|
+
end
|
11056
|
+
|
11057
|
+
# OpenClusterTransparentEncrypt返回参数结构体
|
11058
|
+
class OpenClusterTransparentEncryptResponse < TencentCloud::Common::AbstractModel
|
11059
|
+
# @param TaskId: 异步任务id
|
11060
|
+
# @type TaskId: Integer
|
11061
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11062
|
+
# @type RequestId: String
|
11063
|
+
|
11064
|
+
attr_accessor :TaskId, :RequestId
|
11065
|
+
|
11066
|
+
def initialize(taskid=nil, requestid=nil)
|
11067
|
+
@TaskId = taskid
|
11068
|
+
@RequestId = requestid
|
11069
|
+
end
|
11070
|
+
|
11071
|
+
def deserialize(params)
|
11072
|
+
@TaskId = params['TaskId']
|
11073
|
+
@RequestId = params['RequestId']
|
11074
|
+
end
|
11075
|
+
end
|
11076
|
+
|
10989
11077
|
# OpenReadOnlyInstanceExclusiveAccess请求参数结构体
|
10990
11078
|
class OpenReadOnlyInstanceExclusiveAccessRequest < TencentCloud::Common::AbstractModel
|
10991
11079
|
# @param ClusterId: 请使用 [集群信息描述](https://cloud.tencent.com/document/api/1003/48086) 获取 clusterId。
|