tencentcloud-sdk-sqlserver 3.0.802 → 3.0.803
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/v20180328/client.rb +24 -0
- data/lib/v20180328/models.rb +44 -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: ed86ee35900a7812d49b9f0fdac08492c32545c3
|
4
|
+
data.tar.gz: 22c03984573b8d9d8751cb6d349c18fb1d500eed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb498b1ac039248abd408485e4e340f0d153010ebb7403aed5b4cc2045c4ac45b3840db167483a5faaf01ce5cd3d84761bab0fc147a8994349fc314f67623995
|
7
|
+
data.tar.gz: 9e8a0d87ed5e0662567363c241ef1e69540f36b7fb9995da8ff940744b7607f0fe31dd3b3c684ab6bac5ab16db9c9e86199ecc15834f6b59c3fb3d269bedfd2c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.803
|
data/lib/v20180328/client.rb
CHANGED
@@ -1997,6 +1997,30 @@ module TencentCloud
|
|
1997
1997
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1998
1998
|
end
|
1999
1999
|
|
2000
|
+
# 本接口(DescribeRestoreTimeRange)用于查询按照时间点可回档的时间范围。
|
2001
|
+
|
2002
|
+
# @param request: Request instance for DescribeRestoreTimeRange.
|
2003
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeRestoreTimeRangeRequest`
|
2004
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeRestoreTimeRangeResponse`
|
2005
|
+
def DescribeRestoreTimeRange(request)
|
2006
|
+
body = send_request('DescribeRestoreTimeRange', request.serialize)
|
2007
|
+
response = JSON.parse(body)
|
2008
|
+
if response['Response'].key?('Error') == false
|
2009
|
+
model = DescribeRestoreTimeRangeResponse.new
|
2010
|
+
model.deserialize(response['Response'])
|
2011
|
+
model
|
2012
|
+
else
|
2013
|
+
code = response['Response']['Error']['Code']
|
2014
|
+
message = response['Response']['Error']['Message']
|
2015
|
+
reqid = response['Response']['RequestId']
|
2016
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2017
|
+
end
|
2018
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2019
|
+
raise e
|
2020
|
+
rescue StandardError => e
|
2021
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2022
|
+
end
|
2023
|
+
|
2000
2024
|
# 本接口(DescribeRollbackTime)用于查询实例可回档时间范围
|
2001
2025
|
|
2002
2026
|
# @param request: Request instance for DescribeRollbackTime.
|
data/lib/v20180328/models.rb
CHANGED
@@ -6509,6 +6509,50 @@ module TencentCloud
|
|
6509
6509
|
end
|
6510
6510
|
end
|
6511
6511
|
|
6512
|
+
# DescribeRestoreTimeRange请求参数结构体
|
6513
|
+
class DescribeRestoreTimeRangeRequest < TencentCloud::Common::AbstractModel
|
6514
|
+
# @param InstanceId: 实例ID
|
6515
|
+
# @type InstanceId: String
|
6516
|
+
# @param TargetInstanceId: 回档的目标实例ID,不填默认回档到原实例
|
6517
|
+
# @type TargetInstanceId: String
|
6518
|
+
|
6519
|
+
attr_accessor :InstanceId, :TargetInstanceId
|
6520
|
+
|
6521
|
+
def initialize(instanceid=nil, targetinstanceid=nil)
|
6522
|
+
@InstanceId = instanceid
|
6523
|
+
@TargetInstanceId = targetinstanceid
|
6524
|
+
end
|
6525
|
+
|
6526
|
+
def deserialize(params)
|
6527
|
+
@InstanceId = params['InstanceId']
|
6528
|
+
@TargetInstanceId = params['TargetInstanceId']
|
6529
|
+
end
|
6530
|
+
end
|
6531
|
+
|
6532
|
+
# DescribeRestoreTimeRange返回参数结构体
|
6533
|
+
class DescribeRestoreTimeRangeResponse < TencentCloud::Common::AbstractModel
|
6534
|
+
# @param MinTime: 按照时间点可回档的最小时间
|
6535
|
+
# @type MinTime: String
|
6536
|
+
# @param MaxTime: 按照时间点可回档的最大时间
|
6537
|
+
# @type MaxTime: String
|
6538
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6539
|
+
# @type RequestId: String
|
6540
|
+
|
6541
|
+
attr_accessor :MinTime, :MaxTime, :RequestId
|
6542
|
+
|
6543
|
+
def initialize(mintime=nil, maxtime=nil, requestid=nil)
|
6544
|
+
@MinTime = mintime
|
6545
|
+
@MaxTime = maxtime
|
6546
|
+
@RequestId = requestid
|
6547
|
+
end
|
6548
|
+
|
6549
|
+
def deserialize(params)
|
6550
|
+
@MinTime = params['MinTime']
|
6551
|
+
@MaxTime = params['MaxTime']
|
6552
|
+
@RequestId = params['RequestId']
|
6553
|
+
end
|
6554
|
+
end
|
6555
|
+
|
6512
6556
|
# DescribeRollbackTime请求参数结构体
|
6513
6557
|
class DescribeRollbackTimeRequest < TencentCloud::Common::AbstractModel
|
6514
6558
|
# @param InstanceId: 实例ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-sqlserver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.803
|
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-04-
|
11
|
+
date: 2024-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|