tencentcloud-sdk-dcdb 3.0.896 → 3.0.897
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/v20180411/client.rb +24 -0
- data/lib/v20180411/models.rb +40 -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: 30c9ae70dfebebdf04ed22539d8799b905843584
|
4
|
+
data.tar.gz: 49d33a3e68c920b00a6a4cb3720ede5d089ad79a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9c053f7f966f59c213606fd8dfafd7b2755ccd7219747f498682866148fbe44852a03bbfdfaaff0d12f4c51194048e155a5f03af10b625677aea558c3a118bd
|
7
|
+
data.tar.gz: e877862a80aa453809a3d38d1e965249f616c7b97619e18a8abe6926e0632892512a1571969799ad935c4dde310ce41e095342fe2f32b5eb1c858f6f45abaff3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.897
|
data/lib/v20180411/client.rb
CHANGED
@@ -559,6 +559,30 @@ module TencentCloud
|
|
559
559
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
560
560
|
end
|
561
561
|
|
562
|
+
# 获取实例回档时可选的时间范围
|
563
|
+
|
564
|
+
# @param request: Request instance for DescribeDCDBBinlogTime.
|
565
|
+
# @type request: :class:`Tencentcloud::dcdb::V20180411::DescribeDCDBBinlogTimeRequest`
|
566
|
+
# @rtype: :class:`Tencentcloud::dcdb::V20180411::DescribeDCDBBinlogTimeResponse`
|
567
|
+
def DescribeDCDBBinlogTime(request)
|
568
|
+
body = send_request('DescribeDCDBBinlogTime', request.serialize)
|
569
|
+
response = JSON.parse(body)
|
570
|
+
if response['Response'].key?('Error') == false
|
571
|
+
model = DescribeDCDBBinlogTimeResponse.new
|
572
|
+
model.deserialize(response['Response'])
|
573
|
+
model
|
574
|
+
else
|
575
|
+
code = response['Response']['Error']['Code']
|
576
|
+
message = response['Response']['Error']['Message']
|
577
|
+
reqid = response['Response']['RequestId']
|
578
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
579
|
+
end
|
580
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
581
|
+
raise e
|
582
|
+
rescue StandardError => e
|
583
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
584
|
+
end
|
585
|
+
|
562
586
|
# 本接口(DescribeDCDBInstanceDetail)用于获取TDSQL实例详情
|
563
587
|
|
564
588
|
# @param request: Request instance for DescribeDCDBInstanceDetail.
|
data/lib/v20180411/models.rb
CHANGED
@@ -2334,6 +2334,46 @@ module TencentCloud
|
|
2334
2334
|
end
|
2335
2335
|
end
|
2336
2336
|
|
2337
|
+
# DescribeDCDBBinlogTime请求参数结构体
|
2338
|
+
class DescribeDCDBBinlogTimeRequest < TencentCloud::Common::AbstractModel
|
2339
|
+
# @param InstanceId: 需要回档的实例ID
|
2340
|
+
# @type InstanceId: String
|
2341
|
+
|
2342
|
+
attr_accessor :InstanceId
|
2343
|
+
|
2344
|
+
def initialize(instanceid=nil)
|
2345
|
+
@InstanceId = instanceid
|
2346
|
+
end
|
2347
|
+
|
2348
|
+
def deserialize(params)
|
2349
|
+
@InstanceId = params['InstanceId']
|
2350
|
+
end
|
2351
|
+
end
|
2352
|
+
|
2353
|
+
# DescribeDCDBBinlogTime返回参数结构体
|
2354
|
+
class DescribeDCDBBinlogTimeResponse < TencentCloud::Common::AbstractModel
|
2355
|
+
# @param StartTime: 开始时间
|
2356
|
+
# @type StartTime: String
|
2357
|
+
# @param EndTime: 结束时间
|
2358
|
+
# @type EndTime: String
|
2359
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2360
|
+
# @type RequestId: String
|
2361
|
+
|
2362
|
+
attr_accessor :StartTime, :EndTime, :RequestId
|
2363
|
+
|
2364
|
+
def initialize(starttime=nil, endtime=nil, requestid=nil)
|
2365
|
+
@StartTime = starttime
|
2366
|
+
@EndTime = endtime
|
2367
|
+
@RequestId = requestid
|
2368
|
+
end
|
2369
|
+
|
2370
|
+
def deserialize(params)
|
2371
|
+
@StartTime = params['StartTime']
|
2372
|
+
@EndTime = params['EndTime']
|
2373
|
+
@RequestId = params['RequestId']
|
2374
|
+
end
|
2375
|
+
end
|
2376
|
+
|
2337
2377
|
# DescribeDCDBInstanceDetail请求参数结构体
|
2338
2378
|
class DescribeDCDBInstanceDetailRequest < TencentCloud::Common::AbstractModel
|
2339
2379
|
# @param InstanceId: 实例ID,形如dcdbt-7oaxtcb7
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dcdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.897
|
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-
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|