tencentcloud-sdk-cynosdb 3.0.887 → 3.0.889
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/v20190107/client.rb +48 -0
- data/lib/v20190107/models.rb +111 -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: eec6a0ee55ce8b5f2e4d84febc8c02d8650e9628
|
4
|
+
data.tar.gz: b515e5b2e81c1ab8fa376a147c2a77fa557b140d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1385d32cd589a60712c8b8c4c35fe9120f9ba4aeafcd2de4f32d2215b36f54df725815115e39735acdfc3b59f062a7f1d3cda5a7d9c1f7d56ba962dbae3b5e9
|
7
|
+
data.tar.gz: 9fb0f3587975cbf966796c4aa1865b16d679cd214c53fab438bc062dd7949ee683fb5dbd5f53e3c3f4c1c3545998285798c79eb24fcd7b0e1a79e695abe94f4a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.889
|
data/lib/v20190107/client.rb
CHANGED
@@ -965,6 +965,30 @@ module TencentCloud
|
|
965
965
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
966
|
end
|
967
967
|
|
968
|
+
# 该接口(DescribeBinlogConfig)用于查询binlog配置
|
969
|
+
|
970
|
+
# @param request: Request instance for DescribeBinlogConfig.
|
971
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeBinlogConfigRequest`
|
972
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeBinlogConfigResponse`
|
973
|
+
def DescribeBinlogConfig(request)
|
974
|
+
body = send_request('DescribeBinlogConfig', request.serialize)
|
975
|
+
response = JSON.parse(body)
|
976
|
+
if response['Response'].key?('Error') == false
|
977
|
+
model = DescribeBinlogConfigResponse.new
|
978
|
+
model.deserialize(response['Response'])
|
979
|
+
model
|
980
|
+
else
|
981
|
+
code = response['Response']['Error']['Code']
|
982
|
+
message = response['Response']['Error']['Message']
|
983
|
+
reqid = response['Response']['RequestId']
|
984
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
985
|
+
end
|
986
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
987
|
+
raise e
|
988
|
+
rescue StandardError => e
|
989
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
|
+
end
|
991
|
+
|
968
992
|
# 此接口(DescribeBinlogDownloadUrl)用于查询Binlog的下载地址。
|
969
993
|
|
970
994
|
# @param request: Request instance for DescribeBinlogDownloadUrl.
|
@@ -2287,6 +2311,30 @@ module TencentCloud
|
|
2287
2311
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2288
2312
|
end
|
2289
2313
|
|
2314
|
+
# 该接口(ModifyBinlogConfig)用于修改Binlog配置
|
2315
|
+
|
2316
|
+
# @param request: Request instance for ModifyBinlogConfig.
|
2317
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::ModifyBinlogConfigRequest`
|
2318
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::ModifyBinlogConfigResponse`
|
2319
|
+
def ModifyBinlogConfig(request)
|
2320
|
+
body = send_request('ModifyBinlogConfig', request.serialize)
|
2321
|
+
response = JSON.parse(body)
|
2322
|
+
if response['Response'].key?('Error') == false
|
2323
|
+
model = ModifyBinlogConfigResponse.new
|
2324
|
+
model.deserialize(response['Response'])
|
2325
|
+
model
|
2326
|
+
else
|
2327
|
+
code = response['Response']['Error']['Code']
|
2328
|
+
message = response['Response']['Error']['Message']
|
2329
|
+
reqid = response['Response']['RequestId']
|
2330
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2331
|
+
end
|
2332
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2333
|
+
raise e
|
2334
|
+
rescue StandardError => e
|
2335
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2336
|
+
end
|
2337
|
+
|
2290
2338
|
# 此接口(ModifyBinlogSaveDays)用于修改集群Binlog保留天数。
|
2291
2339
|
|
2292
2340
|
# @param request: Request instance for ModifyBinlogSaveDays.
|
data/lib/v20190107/models.rb
CHANGED
@@ -914,6 +914,33 @@ module TencentCloud
|
|
914
914
|
end
|
915
915
|
end
|
916
916
|
|
917
|
+
# binlog配置信息
|
918
|
+
class BinlogConfigInfo < TencentCloud::Common::AbstractModel
|
919
|
+
# @param BinlogSaveDays: binlog保留时间
|
920
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
921
|
+
# @type BinlogSaveDays: Integer
|
922
|
+
# @param BinlogCrossRegionsEnable: binlog异地地域备份是否开启
|
923
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
924
|
+
# @type BinlogCrossRegionsEnable: String
|
925
|
+
# @param BinlogCrossRegions: binlog异地地域
|
926
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
927
|
+
# @type BinlogCrossRegions: Array
|
928
|
+
|
929
|
+
attr_accessor :BinlogSaveDays, :BinlogCrossRegionsEnable, :BinlogCrossRegions
|
930
|
+
|
931
|
+
def initialize(binlogsavedays=nil, binlogcrossregionsenable=nil, binlogcrossregions=nil)
|
932
|
+
@BinlogSaveDays = binlogsavedays
|
933
|
+
@BinlogCrossRegionsEnable = binlogcrossregionsenable
|
934
|
+
@BinlogCrossRegions = binlogcrossregions
|
935
|
+
end
|
936
|
+
|
937
|
+
def deserialize(params)
|
938
|
+
@BinlogSaveDays = params['BinlogSaveDays']
|
939
|
+
@BinlogCrossRegionsEnable = params['BinlogCrossRegionsEnable']
|
940
|
+
@BinlogCrossRegions = params['BinlogCrossRegions']
|
941
|
+
end
|
942
|
+
end
|
943
|
+
|
917
944
|
# Binlog描述
|
918
945
|
class BinlogItem < TencentCloud::Common::AbstractModel
|
919
946
|
# @param FileName: Binlog文件名称
|
@@ -5035,6 +5062,51 @@ module TencentCloud
|
|
5035
5062
|
end
|
5036
5063
|
end
|
5037
5064
|
|
5065
|
+
# DescribeBinlogConfig请求参数结构体
|
5066
|
+
class DescribeBinlogConfigRequest < TencentCloud::Common::AbstractModel
|
5067
|
+
# @param ClusterId: 集群ID
|
5068
|
+
# @type ClusterId: String
|
5069
|
+
|
5070
|
+
attr_accessor :ClusterId
|
5071
|
+
|
5072
|
+
def initialize(clusterid=nil)
|
5073
|
+
@ClusterId = clusterid
|
5074
|
+
end
|
5075
|
+
|
5076
|
+
def deserialize(params)
|
5077
|
+
@ClusterId = params['ClusterId']
|
5078
|
+
end
|
5079
|
+
end
|
5080
|
+
|
5081
|
+
# DescribeBinlogConfig返回参数结构体
|
5082
|
+
class DescribeBinlogConfigResponse < TencentCloud::Common::AbstractModel
|
5083
|
+
# @param BinlogCrossRegionsConfigUpdateTime: Binlog跨地域配置更新时间
|
5084
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5085
|
+
# @type BinlogCrossRegionsConfigUpdateTime: String
|
5086
|
+
# @param BinlogConfig: Binlog配置信息
|
5087
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5088
|
+
# @type BinlogConfig: :class:`Tencentcloud::Cynosdb.v20190107.models.BinlogConfigInfo`
|
5089
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5090
|
+
# @type RequestId: String
|
5091
|
+
|
5092
|
+
attr_accessor :BinlogCrossRegionsConfigUpdateTime, :BinlogConfig, :RequestId
|
5093
|
+
|
5094
|
+
def initialize(binlogcrossregionsconfigupdatetime=nil, binlogconfig=nil, requestid=nil)
|
5095
|
+
@BinlogCrossRegionsConfigUpdateTime = binlogcrossregionsconfigupdatetime
|
5096
|
+
@BinlogConfig = binlogconfig
|
5097
|
+
@RequestId = requestid
|
5098
|
+
end
|
5099
|
+
|
5100
|
+
def deserialize(params)
|
5101
|
+
@BinlogCrossRegionsConfigUpdateTime = params['BinlogCrossRegionsConfigUpdateTime']
|
5102
|
+
unless params['BinlogConfig'].nil?
|
5103
|
+
@BinlogConfig = BinlogConfigInfo.new
|
5104
|
+
@BinlogConfig.deserialize(params['BinlogConfig'])
|
5105
|
+
end
|
5106
|
+
@RequestId = params['RequestId']
|
5107
|
+
end
|
5108
|
+
end
|
5109
|
+
|
5038
5110
|
# DescribeBinlogDownloadUrl请求参数结构体
|
5039
5111
|
class DescribeBinlogDownloadUrlRequest < TencentCloud::Common::AbstractModel
|
5040
5112
|
# @param ClusterId: 集群ID
|
@@ -9002,6 +9074,45 @@ module TencentCloud
|
|
9002
9074
|
end
|
9003
9075
|
end
|
9004
9076
|
|
9077
|
+
# ModifyBinlogConfig请求参数结构体
|
9078
|
+
class ModifyBinlogConfigRequest < TencentCloud::Common::AbstractModel
|
9079
|
+
# @param ClusterId: 集群ID
|
9080
|
+
# @type ClusterId: String
|
9081
|
+
# @param BinlogConfig: Binlog配置信息
|
9082
|
+
# @type BinlogConfig: :class:`Tencentcloud::Cynosdb.v20190107.models.BinlogConfigInfo`
|
9083
|
+
|
9084
|
+
attr_accessor :ClusterId, :BinlogConfig
|
9085
|
+
|
9086
|
+
def initialize(clusterid=nil, binlogconfig=nil)
|
9087
|
+
@ClusterId = clusterid
|
9088
|
+
@BinlogConfig = binlogconfig
|
9089
|
+
end
|
9090
|
+
|
9091
|
+
def deserialize(params)
|
9092
|
+
@ClusterId = params['ClusterId']
|
9093
|
+
unless params['BinlogConfig'].nil?
|
9094
|
+
@BinlogConfig = BinlogConfigInfo.new
|
9095
|
+
@BinlogConfig.deserialize(params['BinlogConfig'])
|
9096
|
+
end
|
9097
|
+
end
|
9098
|
+
end
|
9099
|
+
|
9100
|
+
# ModifyBinlogConfig返回参数结构体
|
9101
|
+
class ModifyBinlogConfigResponse < TencentCloud::Common::AbstractModel
|
9102
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9103
|
+
# @type RequestId: String
|
9104
|
+
|
9105
|
+
attr_accessor :RequestId
|
9106
|
+
|
9107
|
+
def initialize(requestid=nil)
|
9108
|
+
@RequestId = requestid
|
9109
|
+
end
|
9110
|
+
|
9111
|
+
def deserialize(params)
|
9112
|
+
@RequestId = params['RequestId']
|
9113
|
+
end
|
9114
|
+
end
|
9115
|
+
|
9005
9116
|
# ModifyBinlogSaveDays请求参数结构体
|
9006
9117
|
class ModifyBinlogSaveDaysRequest < TencentCloud::Common::AbstractModel
|
9007
9118
|
# @param ClusterId: 集群ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cynosdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.889
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|