tencentcloud-sdk-dcdb 3.0.634 → 3.0.635
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: de320027b226ca33da54c1cc679f78f2c3edf54d
|
4
|
+
data.tar.gz: c467ccf625f4d6f08842bfb3689db654a4fcbf43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3967095b4c9d1e146880855559846e1efe5e6a539cb4bde872f570aef29fe538c20929518f2d59b36017c52d801b254761f11a43b0ce56892ebc15eabe91b47f
|
7
|
+
data.tar.gz: 597d739b98a121be984f13a386b0a34088382dc22ba5fe0427b200632889939af1df8ae91f2dbc105f8c7ef185d3ba9f602b5b1d86577d7a96f809f035644b97
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.635
|
data/lib/v20180411/client.rb
CHANGED
@@ -896,6 +896,30 @@ module TencentCloud
|
|
896
896
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
897
897
|
end
|
898
898
|
|
899
|
+
# 本接口(DescribeLogFileRetentionPeriod)用于查看数据库备份日志的备份天数的设置情况。
|
900
|
+
|
901
|
+
# @param request: Request instance for DescribeLogFileRetentionPeriod.
|
902
|
+
# @type request: :class:`Tencentcloud::dcdb::V20180411::DescribeLogFileRetentionPeriodRequest`
|
903
|
+
# @rtype: :class:`Tencentcloud::dcdb::V20180411::DescribeLogFileRetentionPeriodResponse`
|
904
|
+
def DescribeLogFileRetentionPeriod(request)
|
905
|
+
body = send_request('DescribeLogFileRetentionPeriod', request.serialize)
|
906
|
+
response = JSON.parse(body)
|
907
|
+
if response['Response'].key?('Error') == false
|
908
|
+
model = DescribeLogFileRetentionPeriodResponse.new
|
909
|
+
model.deserialize(response['Response'])
|
910
|
+
model
|
911
|
+
else
|
912
|
+
code = response['Response']['Error']['Code']
|
913
|
+
message = response['Response']['Error']['Message']
|
914
|
+
reqid = response['Response']['RequestId']
|
915
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
916
|
+
end
|
917
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
918
|
+
raise e
|
919
|
+
rescue StandardError => e
|
920
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
921
|
+
end
|
922
|
+
|
899
923
|
# 本接口(DescribeOrders)用于查询分布式数据库订单信息。传入订单ID来查询订单关联的分布式数据库实例,和对应的任务流程ID。
|
900
924
|
|
901
925
|
# @param request: Request instance for DescribeOrders.
|
data/lib/v20180411/models.rb
CHANGED
@@ -3382,6 +3382,46 @@ module TencentCloud
|
|
3382
3382
|
end
|
3383
3383
|
end
|
3384
3384
|
|
3385
|
+
# DescribeLogFileRetentionPeriod请求参数结构体
|
3386
|
+
class DescribeLogFileRetentionPeriodRequest < TencentCloud::Common::AbstractModel
|
3387
|
+
# @param InstanceId: 实例 ID,形如:tdsql-ow728lmc。
|
3388
|
+
# @type InstanceId: String
|
3389
|
+
|
3390
|
+
attr_accessor :InstanceId
|
3391
|
+
|
3392
|
+
def initialize(instanceid=nil)
|
3393
|
+
@InstanceId = instanceid
|
3394
|
+
end
|
3395
|
+
|
3396
|
+
def deserialize(params)
|
3397
|
+
@InstanceId = params['InstanceId']
|
3398
|
+
end
|
3399
|
+
end
|
3400
|
+
|
3401
|
+
# DescribeLogFileRetentionPeriod返回参数结构体
|
3402
|
+
class DescribeLogFileRetentionPeriodResponse < TencentCloud::Common::AbstractModel
|
3403
|
+
# @param InstanceId: 实例 ID,形如:tdsql-ow728lmc。
|
3404
|
+
# @type InstanceId: String
|
3405
|
+
# @param Days: 日志备份天数
|
3406
|
+
# @type Days: Integer
|
3407
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3408
|
+
# @type RequestId: String
|
3409
|
+
|
3410
|
+
attr_accessor :InstanceId, :Days, :RequestId
|
3411
|
+
|
3412
|
+
def initialize(instanceid=nil, days=nil, requestid=nil)
|
3413
|
+
@InstanceId = instanceid
|
3414
|
+
@Days = days
|
3415
|
+
@RequestId = requestid
|
3416
|
+
end
|
3417
|
+
|
3418
|
+
def deserialize(params)
|
3419
|
+
@InstanceId = params['InstanceId']
|
3420
|
+
@Days = params['Days']
|
3421
|
+
@RequestId = params['RequestId']
|
3422
|
+
end
|
3423
|
+
end
|
3424
|
+
|
3385
3425
|
# DescribeOrders请求参数结构体
|
3386
3426
|
class DescribeOrdersRequest < TencentCloud::Common::AbstractModel
|
3387
3427
|
# @param DealNames: 待查询的长订单号列表,创建实例、续费实例、扩容实例接口返回。
|
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.635
|
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-08-
|
11
|
+
date: 2023-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|