tencentcloud-sdk-sqlserver 3.0.705 → 3.0.706
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 +216 -0
- data/lib/v20180328/models.rb +728 -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: 0512b21363ea4d6b9c3e62652e68c847370070c2
|
4
|
+
data.tar.gz: bec1ebc30e7fb2c8c81bc3060342a50fbc91f5db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9177505c5f105123806f0f0a1f4b23de781a12f8662e73d18195793260c4e3cf3415eb245775ecdd15e3c650fee0c857b63e3a53f605c9f63c2828728219c5f
|
7
|
+
data.tar.gz: 78ca12b72b1b744062a28bf29625e5775c625a3a44e1a44a8466d77154982c47120b526d6e4834cde077a70f9bfeee0a5a774b616d3d6e1d40802ae3a8c44ef6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.706
|
data/lib/v20180328/client.rb
CHANGED
@@ -797,6 +797,78 @@ module TencentCloud
|
|
797
797
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
798
|
end
|
799
799
|
|
800
|
+
# 本接口(DescribeBackupMonitor)用于查询备份空间使用详情。
|
801
|
+
|
802
|
+
# @param request: Request instance for DescribeBackupMonitor.
|
803
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeBackupMonitorRequest`
|
804
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeBackupMonitorResponse`
|
805
|
+
def DescribeBackupMonitor(request)
|
806
|
+
body = send_request('DescribeBackupMonitor', request.serialize)
|
807
|
+
response = JSON.parse(body)
|
808
|
+
if response['Response'].key?('Error') == false
|
809
|
+
model = DescribeBackupMonitorResponse.new
|
810
|
+
model.deserialize(response['Response'])
|
811
|
+
model
|
812
|
+
else
|
813
|
+
code = response['Response']['Error']['Code']
|
814
|
+
message = response['Response']['Error']['Message']
|
815
|
+
reqid = response['Response']['RequestId']
|
816
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
817
|
+
end
|
818
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
819
|
+
raise e
|
820
|
+
rescue StandardError => e
|
821
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
|
+
end
|
823
|
+
|
824
|
+
# 本接口(DescribeBackupStatistical)用于查询备份实时统计列表。
|
825
|
+
|
826
|
+
# @param request: Request instance for DescribeBackupStatistical.
|
827
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeBackupStatisticalRequest`
|
828
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeBackupStatisticalResponse`
|
829
|
+
def DescribeBackupStatistical(request)
|
830
|
+
body = send_request('DescribeBackupStatistical', request.serialize)
|
831
|
+
response = JSON.parse(body)
|
832
|
+
if response['Response'].key?('Error') == false
|
833
|
+
model = DescribeBackupStatisticalResponse.new
|
834
|
+
model.deserialize(response['Response'])
|
835
|
+
model
|
836
|
+
else
|
837
|
+
code = response['Response']['Error']['Code']
|
838
|
+
message = response['Response']['Error']['Message']
|
839
|
+
reqid = response['Response']['RequestId']
|
840
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
841
|
+
end
|
842
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
843
|
+
raise e
|
844
|
+
rescue StandardError => e
|
845
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
846
|
+
end
|
847
|
+
|
848
|
+
# 本接口(DescribeBackupSummary)用于查询数据库备份概览信息。
|
849
|
+
|
850
|
+
# @param request: Request instance for DescribeBackupSummary.
|
851
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeBackupSummaryRequest`
|
852
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeBackupSummaryResponse`
|
853
|
+
def DescribeBackupSummary(request)
|
854
|
+
body = send_request('DescribeBackupSummary', request.serialize)
|
855
|
+
response = JSON.parse(body)
|
856
|
+
if response['Response'].key?('Error') == false
|
857
|
+
model = DescribeBackupSummaryResponse.new
|
858
|
+
model.deserialize(response['Response'])
|
859
|
+
model
|
860
|
+
else
|
861
|
+
code = response['Response']['Error']['Code']
|
862
|
+
message = response['Response']['Error']['Message']
|
863
|
+
reqid = response['Response']['RequestId']
|
864
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
865
|
+
end
|
866
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
867
|
+
raise e
|
868
|
+
rescue StandardError => e
|
869
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
870
|
+
end
|
871
|
+
|
800
872
|
# 本接口(DescribeBackupUploadSize)用于查询上传的备份文件大小。在备份上传类型是COS_UPLOAD(备份放在业务的对象存储上)时有效。
|
801
873
|
|
802
874
|
# @param request: Request instance for DescribeBackupUploadSize.
|
@@ -869,6 +941,30 @@ module TencentCloud
|
|
869
941
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
870
942
|
end
|
871
943
|
|
944
|
+
# 本接口(DescribeCrossBackupStatistical)用于查询跨地域备份实时统计列表。
|
945
|
+
|
946
|
+
# @param request: Request instance for DescribeCrossBackupStatistical.
|
947
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeCrossBackupStatisticalRequest`
|
948
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeCrossBackupStatisticalResponse`
|
949
|
+
def DescribeCrossBackupStatistical(request)
|
950
|
+
body = send_request('DescribeCrossBackupStatistical', request.serialize)
|
951
|
+
response = JSON.parse(body)
|
952
|
+
if response['Response'].key?('Error') == false
|
953
|
+
model = DescribeCrossBackupStatisticalResponse.new
|
954
|
+
model.deserialize(response['Response'])
|
955
|
+
model
|
956
|
+
else
|
957
|
+
code = response['Response']['Error']['Code']
|
958
|
+
message = response['Response']['Error']['Message']
|
959
|
+
reqid = response['Response']['RequestId']
|
960
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
961
|
+
end
|
962
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
963
|
+
raise e
|
964
|
+
rescue StandardError => e
|
965
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
|
+
end
|
967
|
+
|
872
968
|
# 本接口(DescribeCrossRegionZone)根据主实例查询备机的容灾地域和可用区。
|
873
969
|
|
874
970
|
# @param request: Request instance for DescribeCrossRegionZone.
|
@@ -1061,6 +1157,54 @@ module TencentCloud
|
|
1061
1157
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1062
1158
|
end
|
1063
1159
|
|
1160
|
+
# 本接口(DescribeDatabases)用于查询数据库列表。
|
1161
|
+
|
1162
|
+
# @param request: Request instance for DescribeDatabases.
|
1163
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeDatabasesRequest`
|
1164
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeDatabasesResponse`
|
1165
|
+
def DescribeDatabases(request)
|
1166
|
+
body = send_request('DescribeDatabases', request.serialize)
|
1167
|
+
response = JSON.parse(body)
|
1168
|
+
if response['Response'].key?('Error') == false
|
1169
|
+
model = DescribeDatabasesResponse.new
|
1170
|
+
model.deserialize(response['Response'])
|
1171
|
+
model
|
1172
|
+
else
|
1173
|
+
code = response['Response']['Error']['Code']
|
1174
|
+
message = response['Response']['Error']['Message']
|
1175
|
+
reqid = response['Response']['RequestId']
|
1176
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1177
|
+
end
|
1178
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1179
|
+
raise e
|
1180
|
+
rescue StandardError => e
|
1181
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1182
|
+
end
|
1183
|
+
|
1184
|
+
# 本接口(DescribeDBsNormal)用于查询数据库配置信息,此接口不包含数据库的关联账号
|
1185
|
+
|
1186
|
+
# @param request: Request instance for DescribeDatabasesNormal.
|
1187
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeDatabasesNormalRequest`
|
1188
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeDatabasesNormalResponse`
|
1189
|
+
def DescribeDatabasesNormal(request)
|
1190
|
+
body = send_request('DescribeDatabasesNormal', request.serialize)
|
1191
|
+
response = JSON.parse(body)
|
1192
|
+
if response['Response'].key?('Error') == false
|
1193
|
+
model = DescribeDatabasesNormalResponse.new
|
1194
|
+
model.deserialize(response['Response'])
|
1195
|
+
model
|
1196
|
+
else
|
1197
|
+
code = response['Response']['Error']['Code']
|
1198
|
+
message = response['Response']['Error']['Message']
|
1199
|
+
reqid = response['Response']['RequestId']
|
1200
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1201
|
+
end
|
1202
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1203
|
+
raise e
|
1204
|
+
rescue StandardError => e
|
1205
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1206
|
+
end
|
1207
|
+
|
1064
1208
|
# 本接口(DescribeFlowStatus)用于查询流程状态。
|
1065
1209
|
|
1066
1210
|
# @param request: Request instance for DescribeFlowStatus.
|
@@ -1493,6 +1637,30 @@ module TencentCloud
|
|
1493
1637
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1494
1638
|
end
|
1495
1639
|
|
1640
|
+
# 本接口(DescribeRegularBackupPlan)用于查询实例定期备份保留计划
|
1641
|
+
|
1642
|
+
# @param request: Request instance for DescribeRegularBackupPlan.
|
1643
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeRegularBackupPlanRequest`
|
1644
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeRegularBackupPlanResponse`
|
1645
|
+
def DescribeRegularBackupPlan(request)
|
1646
|
+
body = send_request('DescribeRegularBackupPlan', request.serialize)
|
1647
|
+
response = JSON.parse(body)
|
1648
|
+
if response['Response'].key?('Error') == false
|
1649
|
+
model = DescribeRegularBackupPlanResponse.new
|
1650
|
+
model.deserialize(response['Response'])
|
1651
|
+
model
|
1652
|
+
else
|
1653
|
+
code = response['Response']['Error']['Code']
|
1654
|
+
message = response['Response']['Error']['Message']
|
1655
|
+
reqid = response['Response']['RequestId']
|
1656
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1657
|
+
end
|
1658
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1659
|
+
raise e
|
1660
|
+
rescue StandardError => e
|
1661
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1662
|
+
end
|
1663
|
+
|
1496
1664
|
# 本接口(DescribeRollbackTime)用于查询实例可回档时间范围
|
1497
1665
|
|
1498
1666
|
# @param request: Request instance for DescribeRollbackTime.
|
@@ -1853,6 +2021,30 @@ module TencentCloud
|
|
1853
2021
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1854
2022
|
end
|
1855
2023
|
|
2024
|
+
# 本接口(ModifyCrossBackupStrategy)用于开启、关闭地域备份策略。
|
2025
|
+
|
2026
|
+
# @param request: Request instance for ModifyCrossBackupStrategy.
|
2027
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::ModifyCrossBackupStrategyRequest`
|
2028
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::ModifyCrossBackupStrategyResponse`
|
2029
|
+
def ModifyCrossBackupStrategy(request)
|
2030
|
+
body = send_request('ModifyCrossBackupStrategy', request.serialize)
|
2031
|
+
response = JSON.parse(body)
|
2032
|
+
if response['Response'].key?('Error') == false
|
2033
|
+
model = ModifyCrossBackupStrategyResponse.new
|
2034
|
+
model.deserialize(response['Response'])
|
2035
|
+
model
|
2036
|
+
else
|
2037
|
+
code = response['Response']['Error']['Code']
|
2038
|
+
message = response['Response']['Error']['Message']
|
2039
|
+
reqid = response['Response']['RequestId']
|
2040
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2041
|
+
end
|
2042
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2043
|
+
raise e
|
2044
|
+
rescue StandardError => e
|
2045
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2046
|
+
end
|
2047
|
+
|
1856
2048
|
# 本接口(ModifyDBEncryptAttributes)用于开启、关闭数据库的TDE加密功能。
|
1857
2049
|
|
1858
2050
|
# @param request: Request instance for ModifyDBEncryptAttributes.
|
@@ -2117,6 +2309,30 @@ module TencentCloud
|
|
2117
2309
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2118
2310
|
end
|
2119
2311
|
|
2312
|
+
# 本接口(ModifyDatabaseShrinkDMF)用于收缩数据库mdf(Shrink mdf)。
|
2313
|
+
|
2314
|
+
# @param request: Request instance for ModifyDatabaseShrinkMDF.
|
2315
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::ModifyDatabaseShrinkMDFRequest`
|
2316
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::ModifyDatabaseShrinkMDFResponse`
|
2317
|
+
def ModifyDatabaseShrinkMDF(request)
|
2318
|
+
body = send_request('ModifyDatabaseShrinkMDF', request.serialize)
|
2319
|
+
response = JSON.parse(body)
|
2320
|
+
if response['Response'].key?('Error') == false
|
2321
|
+
model = ModifyDatabaseShrinkMDFResponse.new
|
2322
|
+
model.deserialize(response['Response'])
|
2323
|
+
model
|
2324
|
+
else
|
2325
|
+
code = response['Response']['Error']['Code']
|
2326
|
+
message = response['Response']['Error']['Message']
|
2327
|
+
reqid = response['Response']['RequestId']
|
2328
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2329
|
+
end
|
2330
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2331
|
+
raise e
|
2332
|
+
rescue StandardError => e
|
2333
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2334
|
+
end
|
2335
|
+
|
2120
2336
|
# 本接口(ModifyIncrementalMigration)用于修改增量备份导入任务。
|
2121
2337
|
|
2122
2338
|
# @param request: Request instance for ModifyIncrementalMigration.
|
data/lib/v20180328/models.rb
CHANGED
@@ -1897,6 +1897,74 @@ module TencentCloud
|
|
1897
1897
|
end
|
1898
1898
|
end
|
1899
1899
|
|
1900
|
+
# 跨地域备份实时统计列表项
|
1901
|
+
class CrossSummaryDetailRes < TencentCloud::Common::AbstractModel
|
1902
|
+
# @param Status: 实例状态
|
1903
|
+
# @type Status: Integer
|
1904
|
+
# @param Region: 实例所属地域
|
1905
|
+
# @type Region: String
|
1906
|
+
# @param InstanceId: 实例ID
|
1907
|
+
# @type InstanceId: String
|
1908
|
+
# @param Name: 实例名称
|
1909
|
+
# @type Name: String
|
1910
|
+
# @param CrossBackupEnabled: 跨地域备份状态 enable-开启,disable-关闭
|
1911
|
+
# @type CrossBackupEnabled: String
|
1912
|
+
# @param CrossRegions: 跨地域备份目标地域
|
1913
|
+
# @type CrossRegions: Array
|
1914
|
+
# @param LastBackupStartTime: 最新备份开始时间
|
1915
|
+
# @type LastBackupStartTime: String
|
1916
|
+
# @param CrossBackupSaveDays: 跨地域备份保留天数
|
1917
|
+
# @type CrossBackupSaveDays: Integer
|
1918
|
+
# @param DataBackupSpace: 跨地域数据备份总空间
|
1919
|
+
# @type DataBackupSpace: Integer
|
1920
|
+
# @param DataBackupCount: 跨地域数据备份文件总个数
|
1921
|
+
# @type DataBackupCount: Integer
|
1922
|
+
# @param LogBackupSpace: 跨地域日志备份总空间
|
1923
|
+
# @type LogBackupSpace: Integer
|
1924
|
+
# @param LogBackupCount: 跨地域日志备份文件总个数
|
1925
|
+
# @type LogBackupCount: Integer
|
1926
|
+
# @param ActualUsedSpace: 跨地域备份总空间
|
1927
|
+
# @type ActualUsedSpace: Integer
|
1928
|
+
# @param ActualUsedCount: 跨地域备份总个数
|
1929
|
+
# @type ActualUsedCount: Integer
|
1930
|
+
|
1931
|
+
attr_accessor :Status, :Region, :InstanceId, :Name, :CrossBackupEnabled, :CrossRegions, :LastBackupStartTime, :CrossBackupSaveDays, :DataBackupSpace, :DataBackupCount, :LogBackupSpace, :LogBackupCount, :ActualUsedSpace, :ActualUsedCount
|
1932
|
+
|
1933
|
+
def initialize(status=nil, region=nil, instanceid=nil, name=nil, crossbackupenabled=nil, crossregions=nil, lastbackupstarttime=nil, crossbackupsavedays=nil, databackupspace=nil, databackupcount=nil, logbackupspace=nil, logbackupcount=nil, actualusedspace=nil, actualusedcount=nil)
|
1934
|
+
@Status = status
|
1935
|
+
@Region = region
|
1936
|
+
@InstanceId = instanceid
|
1937
|
+
@Name = name
|
1938
|
+
@CrossBackupEnabled = crossbackupenabled
|
1939
|
+
@CrossRegions = crossregions
|
1940
|
+
@LastBackupStartTime = lastbackupstarttime
|
1941
|
+
@CrossBackupSaveDays = crossbackupsavedays
|
1942
|
+
@DataBackupSpace = databackupspace
|
1943
|
+
@DataBackupCount = databackupcount
|
1944
|
+
@LogBackupSpace = logbackupspace
|
1945
|
+
@LogBackupCount = logbackupcount
|
1946
|
+
@ActualUsedSpace = actualusedspace
|
1947
|
+
@ActualUsedCount = actualusedcount
|
1948
|
+
end
|
1949
|
+
|
1950
|
+
def deserialize(params)
|
1951
|
+
@Status = params['Status']
|
1952
|
+
@Region = params['Region']
|
1953
|
+
@InstanceId = params['InstanceId']
|
1954
|
+
@Name = params['Name']
|
1955
|
+
@CrossBackupEnabled = params['CrossBackupEnabled']
|
1956
|
+
@CrossRegions = params['CrossRegions']
|
1957
|
+
@LastBackupStartTime = params['LastBackupStartTime']
|
1958
|
+
@CrossBackupSaveDays = params['CrossBackupSaveDays']
|
1959
|
+
@DataBackupSpace = params['DataBackupSpace']
|
1960
|
+
@DataBackupCount = params['DataBackupCount']
|
1961
|
+
@LogBackupSpace = params['LogBackupSpace']
|
1962
|
+
@LogBackupCount = params['LogBackupCount']
|
1963
|
+
@ActualUsedSpace = params['ActualUsedSpace']
|
1964
|
+
@ActualUsedCount = params['ActualUsedCount']
|
1965
|
+
end
|
1966
|
+
end
|
1967
|
+
|
1900
1968
|
# 数据库创建信息
|
1901
1969
|
class DBCreateInfo < TencentCloud::Common::AbstractModel
|
1902
1970
|
# @param DBName: 数据库名
|
@@ -3215,6 +3283,257 @@ module TencentCloud
|
|
3215
3283
|
end
|
3216
3284
|
end
|
3217
3285
|
|
3286
|
+
# DescribeBackupMonitor请求参数结构体
|
3287
|
+
class DescribeBackupMonitorRequest < TencentCloud::Common::AbstractModel
|
3288
|
+
# @param StartTime: 备份空间使用详情开始时间
|
3289
|
+
# @type StartTime: String
|
3290
|
+
# @param EndTime: 备份空间使用详情结束时间
|
3291
|
+
# @type EndTime: String
|
3292
|
+
# @param Type: 备份趋势查询类型,local-本地备份,cross-跨地域备份
|
3293
|
+
# @type Type: String
|
3294
|
+
|
3295
|
+
attr_accessor :StartTime, :EndTime, :Type
|
3296
|
+
|
3297
|
+
def initialize(starttime=nil, endtime=nil, type=nil)
|
3298
|
+
@StartTime = starttime
|
3299
|
+
@EndTime = endtime
|
3300
|
+
@Type = type
|
3301
|
+
end
|
3302
|
+
|
3303
|
+
def deserialize(params)
|
3304
|
+
@StartTime = params['StartTime']
|
3305
|
+
@EndTime = params['EndTime']
|
3306
|
+
@Type = params['Type']
|
3307
|
+
end
|
3308
|
+
end
|
3309
|
+
|
3310
|
+
# DescribeBackupMonitor返回参数结构体
|
3311
|
+
class DescribeBackupMonitorResponse < TencentCloud::Common::AbstractModel
|
3312
|
+
# @param TimeStamp: 备份趋势图时间轴
|
3313
|
+
# @type TimeStamp: Array
|
3314
|
+
# @param FreeSpace: 免费备份空间
|
3315
|
+
# @type FreeSpace: Array
|
3316
|
+
# @param ActualUsedSpace: 实际总备份空间
|
3317
|
+
# @type ActualUsedSpace: Array
|
3318
|
+
# @param LogBackupSpace: 日志备份空间
|
3319
|
+
# @type LogBackupSpace: Array
|
3320
|
+
# @param DataBackupSpace: 数据备份空间
|
3321
|
+
# @type DataBackupSpace: Array
|
3322
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3323
|
+
# @type RequestId: String
|
3324
|
+
|
3325
|
+
attr_accessor :TimeStamp, :FreeSpace, :ActualUsedSpace, :LogBackupSpace, :DataBackupSpace, :RequestId
|
3326
|
+
|
3327
|
+
def initialize(timestamp=nil, freespace=nil, actualusedspace=nil, logbackupspace=nil, databackupspace=nil, requestid=nil)
|
3328
|
+
@TimeStamp = timestamp
|
3329
|
+
@FreeSpace = freespace
|
3330
|
+
@ActualUsedSpace = actualusedspace
|
3331
|
+
@LogBackupSpace = logbackupspace
|
3332
|
+
@DataBackupSpace = databackupspace
|
3333
|
+
@RequestId = requestid
|
3334
|
+
end
|
3335
|
+
|
3336
|
+
def deserialize(params)
|
3337
|
+
@TimeStamp = params['TimeStamp']
|
3338
|
+
@FreeSpace = params['FreeSpace']
|
3339
|
+
@ActualUsedSpace = params['ActualUsedSpace']
|
3340
|
+
@LogBackupSpace = params['LogBackupSpace']
|
3341
|
+
@DataBackupSpace = params['DataBackupSpace']
|
3342
|
+
@RequestId = params['RequestId']
|
3343
|
+
end
|
3344
|
+
end
|
3345
|
+
|
3346
|
+
# DescribeBackupStatistical请求参数结构体
|
3347
|
+
class DescribeBackupStatisticalRequest < TencentCloud::Common::AbstractModel
|
3348
|
+
# @param Limit: 分页返回,每页返回的数目,取值为1-100,默认值为100
|
3349
|
+
# @type Limit: Integer
|
3350
|
+
# @param Offset: 分页返回,页编号,默认值为第0页。
|
3351
|
+
# @type Offset: Integer
|
3352
|
+
# @param InstanceIdSet: 一个或者多个实例ID。实例ID,格式如:mssql-si2823jyl。
|
3353
|
+
# @type InstanceIdSet: Array
|
3354
|
+
# @param InstanceNameSet: 实例名称列表,模糊查询。
|
3355
|
+
# @type InstanceNameSet: Array
|
3356
|
+
# @param OrderBy: 排序字段,默认default,则按照备份空间降序。
|
3357
|
+
# default 按照备份空间排序
|
3358
|
+
# data 数据备份排序
|
3359
|
+
# log 日志备份排序
|
3360
|
+
# auto 自动备份排序
|
3361
|
+
# manual 手动备份排序
|
3362
|
+
# @type OrderBy: String
|
3363
|
+
# @param OrderByType: 默认降序,[desc-降序,asc-升序]。
|
3364
|
+
# @type OrderByType: String
|
3365
|
+
|
3366
|
+
attr_accessor :Limit, :Offset, :InstanceIdSet, :InstanceNameSet, :OrderBy, :OrderByType
|
3367
|
+
|
3368
|
+
def initialize(limit=nil, offset=nil, instanceidset=nil, instancenameset=nil, orderby=nil, orderbytype=nil)
|
3369
|
+
@Limit = limit
|
3370
|
+
@Offset = offset
|
3371
|
+
@InstanceIdSet = instanceidset
|
3372
|
+
@InstanceNameSet = instancenameset
|
3373
|
+
@OrderBy = orderby
|
3374
|
+
@OrderByType = orderbytype
|
3375
|
+
end
|
3376
|
+
|
3377
|
+
def deserialize(params)
|
3378
|
+
@Limit = params['Limit']
|
3379
|
+
@Offset = params['Offset']
|
3380
|
+
@InstanceIdSet = params['InstanceIdSet']
|
3381
|
+
@InstanceNameSet = params['InstanceNameSet']
|
3382
|
+
@OrderBy = params['OrderBy']
|
3383
|
+
@OrderByType = params['OrderByType']
|
3384
|
+
end
|
3385
|
+
end
|
3386
|
+
|
3387
|
+
# DescribeBackupStatistical返回参数结构体
|
3388
|
+
class DescribeBackupStatisticalResponse < TencentCloud::Common::AbstractModel
|
3389
|
+
# @param TotalCount: 符合条件的实例总数。分页返回的话,这个值指的是所有符合条件的实例的个数,而非当前根据Limit和Offset值返回的实例个数。
|
3390
|
+
# @type TotalCount: Integer
|
3391
|
+
# @param Items: 实例列表。
|
3392
|
+
# @type Items: Array
|
3393
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3394
|
+
# @type RequestId: String
|
3395
|
+
|
3396
|
+
attr_accessor :TotalCount, :Items, :RequestId
|
3397
|
+
|
3398
|
+
def initialize(totalcount=nil, items=nil, requestid=nil)
|
3399
|
+
@TotalCount = totalcount
|
3400
|
+
@Items = items
|
3401
|
+
@RequestId = requestid
|
3402
|
+
end
|
3403
|
+
|
3404
|
+
def deserialize(params)
|
3405
|
+
@TotalCount = params['TotalCount']
|
3406
|
+
unless params['Items'].nil?
|
3407
|
+
@Items = []
|
3408
|
+
params['Items'].each do |i|
|
3409
|
+
summarydetailres_tmp = SummaryDetailRes.new
|
3410
|
+
summarydetailres_tmp.deserialize(i)
|
3411
|
+
@Items << summarydetailres_tmp
|
3412
|
+
end
|
3413
|
+
end
|
3414
|
+
@RequestId = params['RequestId']
|
3415
|
+
end
|
3416
|
+
end
|
3417
|
+
|
3418
|
+
# DescribeBackupSummary请求参数结构体
|
3419
|
+
class DescribeBackupSummaryRequest < TencentCloud::Common::AbstractModel
|
3420
|
+
|
3421
|
+
|
3422
|
+
def initialize()
|
3423
|
+
end
|
3424
|
+
|
3425
|
+
def deserialize(params)
|
3426
|
+
end
|
3427
|
+
end
|
3428
|
+
|
3429
|
+
# DescribeBackupSummary返回参数结构体
|
3430
|
+
class DescribeBackupSummaryResponse < TencentCloud::Common::AbstractModel
|
3431
|
+
# @param FreeSpace: 实际免费总空间,单位(KB)。
|
3432
|
+
# @type FreeSpace: Integer
|
3433
|
+
# @param ActualUsedSpace: 备份实际使用空间,单位(KB)。
|
3434
|
+
# @type ActualUsedSpace: Integer
|
3435
|
+
# @param BackupFilesTotal: 备份文件总个数。
|
3436
|
+
# @type BackupFilesTotal: Integer
|
3437
|
+
# @param BillingSpace: 备份占用收费空间,单位(KB)。
|
3438
|
+
# @type BillingSpace: Integer
|
3439
|
+
# @param DataBackupSpace: 数据备份使用空间,单位(KB)。
|
3440
|
+
# @type DataBackupSpace: Integer
|
3441
|
+
# @param DataBackupCount: 数据备份文件总个数。
|
3442
|
+
# @type DataBackupCount: Integer
|
3443
|
+
# @param ManualBackupSpace: 数据备份中手动备份使用空间,单位(KB)。
|
3444
|
+
# @type ManualBackupSpace: Integer
|
3445
|
+
# @param ManualBackupCount: 数据备份中手动备份文件总个数。
|
3446
|
+
# @type ManualBackupCount: Integer
|
3447
|
+
# @param AutoBackupSpace: 数据备份中自动备份使用空间,单位(KB)。
|
3448
|
+
# @type AutoBackupSpace: Integer
|
3449
|
+
# @param AutoBackupCount: 数据备份中自动备份文件总个数。
|
3450
|
+
# @type AutoBackupCount: Integer
|
3451
|
+
# @param LogBackupSpace: 日志备份使用空间,单位(KB)。
|
3452
|
+
# @type LogBackupSpace: Integer
|
3453
|
+
# @param LogBackupCount: 日志备份文件总个数。
|
3454
|
+
# @type LogBackupCount: Integer
|
3455
|
+
# @param EstimatedAmount: 预估收费金额,单位(元/小时)。
|
3456
|
+
# @type EstimatedAmount: Float
|
3457
|
+
# @param LocalBackupFilesTotal: 本地备份文件总个数
|
3458
|
+
# @type LocalBackupFilesTotal: Integer
|
3459
|
+
# @param CrossBackupFilesTotal: 跨地域备份文件总个数
|
3460
|
+
# @type CrossBackupFilesTotal: Integer
|
3461
|
+
# @param CrossBillingSpace: 跨地域备份占用收费空间,单位(KB)
|
3462
|
+
# @type CrossBillingSpace: Integer
|
3463
|
+
# @param CrossAutoBackupSpace: 跨地域自动数据备份使用空间,单位(KB)
|
3464
|
+
# @type CrossAutoBackupSpace: Integer
|
3465
|
+
# @param CrossAutoBackupCount: 跨地域自动数据备份文件总个数
|
3466
|
+
# @type CrossAutoBackupCount: Integer
|
3467
|
+
# @param LocalLogBackupSpace: 本地日志备份使用空间,单位(KB)
|
3468
|
+
# @type LocalLogBackupSpace: Integer
|
3469
|
+
# @param LocalLogBackupCount: 本地日志备份文件总个数
|
3470
|
+
# @type LocalLogBackupCount: Integer
|
3471
|
+
# @param CrossLogBackupSpace: 跨地域日志备份使用空间,单位(KB)
|
3472
|
+
# @type CrossLogBackupSpace: Integer
|
3473
|
+
# @param CrossLogBackupCount: 跨地域日志备份文件总个数
|
3474
|
+
# @type CrossLogBackupCount: Integer
|
3475
|
+
# @param CrossEstimatedAmount: 跨地域备份预估收费金额,单位(元/小时)
|
3476
|
+
# @type CrossEstimatedAmount: Float
|
3477
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3478
|
+
# @type RequestId: String
|
3479
|
+
|
3480
|
+
attr_accessor :FreeSpace, :ActualUsedSpace, :BackupFilesTotal, :BillingSpace, :DataBackupSpace, :DataBackupCount, :ManualBackupSpace, :ManualBackupCount, :AutoBackupSpace, :AutoBackupCount, :LogBackupSpace, :LogBackupCount, :EstimatedAmount, :LocalBackupFilesTotal, :CrossBackupFilesTotal, :CrossBillingSpace, :CrossAutoBackupSpace, :CrossAutoBackupCount, :LocalLogBackupSpace, :LocalLogBackupCount, :CrossLogBackupSpace, :CrossLogBackupCount, :CrossEstimatedAmount, :RequestId
|
3481
|
+
|
3482
|
+
def initialize(freespace=nil, actualusedspace=nil, backupfilestotal=nil, billingspace=nil, databackupspace=nil, databackupcount=nil, manualbackupspace=nil, manualbackupcount=nil, autobackupspace=nil, autobackupcount=nil, logbackupspace=nil, logbackupcount=nil, estimatedamount=nil, localbackupfilestotal=nil, crossbackupfilestotal=nil, crossbillingspace=nil, crossautobackupspace=nil, crossautobackupcount=nil, locallogbackupspace=nil, locallogbackupcount=nil, crosslogbackupspace=nil, crosslogbackupcount=nil, crossestimatedamount=nil, requestid=nil)
|
3483
|
+
@FreeSpace = freespace
|
3484
|
+
@ActualUsedSpace = actualusedspace
|
3485
|
+
@BackupFilesTotal = backupfilestotal
|
3486
|
+
@BillingSpace = billingspace
|
3487
|
+
@DataBackupSpace = databackupspace
|
3488
|
+
@DataBackupCount = databackupcount
|
3489
|
+
@ManualBackupSpace = manualbackupspace
|
3490
|
+
@ManualBackupCount = manualbackupcount
|
3491
|
+
@AutoBackupSpace = autobackupspace
|
3492
|
+
@AutoBackupCount = autobackupcount
|
3493
|
+
@LogBackupSpace = logbackupspace
|
3494
|
+
@LogBackupCount = logbackupcount
|
3495
|
+
@EstimatedAmount = estimatedamount
|
3496
|
+
@LocalBackupFilesTotal = localbackupfilestotal
|
3497
|
+
@CrossBackupFilesTotal = crossbackupfilestotal
|
3498
|
+
@CrossBillingSpace = crossbillingspace
|
3499
|
+
@CrossAutoBackupSpace = crossautobackupspace
|
3500
|
+
@CrossAutoBackupCount = crossautobackupcount
|
3501
|
+
@LocalLogBackupSpace = locallogbackupspace
|
3502
|
+
@LocalLogBackupCount = locallogbackupcount
|
3503
|
+
@CrossLogBackupSpace = crosslogbackupspace
|
3504
|
+
@CrossLogBackupCount = crosslogbackupcount
|
3505
|
+
@CrossEstimatedAmount = crossestimatedamount
|
3506
|
+
@RequestId = requestid
|
3507
|
+
end
|
3508
|
+
|
3509
|
+
def deserialize(params)
|
3510
|
+
@FreeSpace = params['FreeSpace']
|
3511
|
+
@ActualUsedSpace = params['ActualUsedSpace']
|
3512
|
+
@BackupFilesTotal = params['BackupFilesTotal']
|
3513
|
+
@BillingSpace = params['BillingSpace']
|
3514
|
+
@DataBackupSpace = params['DataBackupSpace']
|
3515
|
+
@DataBackupCount = params['DataBackupCount']
|
3516
|
+
@ManualBackupSpace = params['ManualBackupSpace']
|
3517
|
+
@ManualBackupCount = params['ManualBackupCount']
|
3518
|
+
@AutoBackupSpace = params['AutoBackupSpace']
|
3519
|
+
@AutoBackupCount = params['AutoBackupCount']
|
3520
|
+
@LogBackupSpace = params['LogBackupSpace']
|
3521
|
+
@LogBackupCount = params['LogBackupCount']
|
3522
|
+
@EstimatedAmount = params['EstimatedAmount']
|
3523
|
+
@LocalBackupFilesTotal = params['LocalBackupFilesTotal']
|
3524
|
+
@CrossBackupFilesTotal = params['CrossBackupFilesTotal']
|
3525
|
+
@CrossBillingSpace = params['CrossBillingSpace']
|
3526
|
+
@CrossAutoBackupSpace = params['CrossAutoBackupSpace']
|
3527
|
+
@CrossAutoBackupCount = params['CrossAutoBackupCount']
|
3528
|
+
@LocalLogBackupSpace = params['LocalLogBackupSpace']
|
3529
|
+
@LocalLogBackupCount = params['LocalLogBackupCount']
|
3530
|
+
@CrossLogBackupSpace = params['CrossLogBackupSpace']
|
3531
|
+
@CrossLogBackupCount = params['CrossLogBackupCount']
|
3532
|
+
@CrossEstimatedAmount = params['CrossEstimatedAmount']
|
3533
|
+
@RequestId = params['RequestId']
|
3534
|
+
end
|
3535
|
+
end
|
3536
|
+
|
3218
3537
|
# DescribeBackupUploadSize请求参数结构体
|
3219
3538
|
class DescribeBackupUploadSizeRequest < TencentCloud::Common::AbstractModel
|
3220
3539
|
# @param InstanceId: 导入目标实例ID
|
@@ -3440,6 +3759,81 @@ module TencentCloud
|
|
3440
3759
|
end
|
3441
3760
|
end
|
3442
3761
|
|
3762
|
+
# DescribeCrossBackupStatistical请求参数结构体
|
3763
|
+
class DescribeCrossBackupStatisticalRequest < TencentCloud::Common::AbstractModel
|
3764
|
+
# @param Offset: 分页,页数
|
3765
|
+
# @type Offset: Integer
|
3766
|
+
# @param Limit: 分页,页大小
|
3767
|
+
# @type Limit: Integer
|
3768
|
+
# @param InstanceIdSet: 实例ID列表
|
3769
|
+
# @type InstanceIdSet: Array
|
3770
|
+
# @param InstanceNameSet: 实例名称列表
|
3771
|
+
# @type InstanceNameSet: Array
|
3772
|
+
# @param CrossBackupStatus: 跨地域备份状态,enable-开启,disable-关闭
|
3773
|
+
# @type CrossBackupStatus: String
|
3774
|
+
# @param CrossRegion: 跨地域备份目标地域
|
3775
|
+
# @type CrossRegion: String
|
3776
|
+
# @param OrderBy: 排序字段,默认default-按照备份空间降序排序,data-按照数据备份排序,log-按照日志备份培训
|
3777
|
+
# @type OrderBy: String
|
3778
|
+
# @param OrderByType: 排序规则(desc-降序,asc-升序),默认desc
|
3779
|
+
# @type OrderByType: String
|
3780
|
+
|
3781
|
+
attr_accessor :Offset, :Limit, :InstanceIdSet, :InstanceNameSet, :CrossBackupStatus, :CrossRegion, :OrderBy, :OrderByType
|
3782
|
+
|
3783
|
+
def initialize(offset=nil, limit=nil, instanceidset=nil, instancenameset=nil, crossbackupstatus=nil, crossregion=nil, orderby=nil, orderbytype=nil)
|
3784
|
+
@Offset = offset
|
3785
|
+
@Limit = limit
|
3786
|
+
@InstanceIdSet = instanceidset
|
3787
|
+
@InstanceNameSet = instancenameset
|
3788
|
+
@CrossBackupStatus = crossbackupstatus
|
3789
|
+
@CrossRegion = crossregion
|
3790
|
+
@OrderBy = orderby
|
3791
|
+
@OrderByType = orderbytype
|
3792
|
+
end
|
3793
|
+
|
3794
|
+
def deserialize(params)
|
3795
|
+
@Offset = params['Offset']
|
3796
|
+
@Limit = params['Limit']
|
3797
|
+
@InstanceIdSet = params['InstanceIdSet']
|
3798
|
+
@InstanceNameSet = params['InstanceNameSet']
|
3799
|
+
@CrossBackupStatus = params['CrossBackupStatus']
|
3800
|
+
@CrossRegion = params['CrossRegion']
|
3801
|
+
@OrderBy = params['OrderBy']
|
3802
|
+
@OrderByType = params['OrderByType']
|
3803
|
+
end
|
3804
|
+
end
|
3805
|
+
|
3806
|
+
# DescribeCrossBackupStatistical返回参数结构体
|
3807
|
+
class DescribeCrossBackupStatisticalResponse < TencentCloud::Common::AbstractModel
|
3808
|
+
# @param TotalCount: 跨地域备份概览实时统计总条数
|
3809
|
+
# @type TotalCount: Integer
|
3810
|
+
# @param Items: 跨地域备份概览实时统计列表
|
3811
|
+
# @type Items: Array
|
3812
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3813
|
+
# @type RequestId: String
|
3814
|
+
|
3815
|
+
attr_accessor :TotalCount, :Items, :RequestId
|
3816
|
+
|
3817
|
+
def initialize(totalcount=nil, items=nil, requestid=nil)
|
3818
|
+
@TotalCount = totalcount
|
3819
|
+
@Items = items
|
3820
|
+
@RequestId = requestid
|
3821
|
+
end
|
3822
|
+
|
3823
|
+
def deserialize(params)
|
3824
|
+
@TotalCount = params['TotalCount']
|
3825
|
+
unless params['Items'].nil?
|
3826
|
+
@Items = []
|
3827
|
+
params['Items'].each do |i|
|
3828
|
+
crosssummarydetailres_tmp = CrossSummaryDetailRes.new
|
3829
|
+
crosssummarydetailres_tmp.deserialize(i)
|
3830
|
+
@Items << crosssummarydetailres_tmp
|
3831
|
+
end
|
3832
|
+
end
|
3833
|
+
@RequestId = params['RequestId']
|
3834
|
+
end
|
3835
|
+
end
|
3836
|
+
|
3443
3837
|
# DescribeCrossRegionZone请求参数结构体
|
3444
3838
|
class DescribeCrossRegionZoneRequest < TencentCloud::Common::AbstractModel
|
3445
3839
|
# @param InstanceId: 实例ID,格式如:mssql-3l3fgqn7
|
@@ -3934,6 +4328,120 @@ module TencentCloud
|
|
3934
4328
|
end
|
3935
4329
|
end
|
3936
4330
|
|
4331
|
+
# DescribeDatabasesNormal请求参数结构体
|
4332
|
+
class DescribeDatabasesNormalRequest < TencentCloud::Common::AbstractModel
|
4333
|
+
# @param InstanceId: 实例ID,形如mssql-7vfv3rk3
|
4334
|
+
# @type InstanceId: String
|
4335
|
+
|
4336
|
+
attr_accessor :InstanceId
|
4337
|
+
|
4338
|
+
def initialize(instanceid=nil)
|
4339
|
+
@InstanceId = instanceid
|
4340
|
+
end
|
4341
|
+
|
4342
|
+
def deserialize(params)
|
4343
|
+
@InstanceId = params['InstanceId']
|
4344
|
+
end
|
4345
|
+
end
|
4346
|
+
|
4347
|
+
# DescribeDatabasesNormal返回参数结构体
|
4348
|
+
class DescribeDatabasesNormalResponse < TencentCloud::Common::AbstractModel
|
4349
|
+
# @param TotalCount: 表示当前实例下的数据库总个数
|
4350
|
+
# @type TotalCount: Integer
|
4351
|
+
# @param DBList: 返回数据库的详细配置信息,例如:数据库是否开启CDC、CT等
|
4352
|
+
# @type DBList: Array
|
4353
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4354
|
+
# @type RequestId: String
|
4355
|
+
|
4356
|
+
attr_accessor :TotalCount, :DBList, :RequestId
|
4357
|
+
|
4358
|
+
def initialize(totalcount=nil, dblist=nil, requestid=nil)
|
4359
|
+
@TotalCount = totalcount
|
4360
|
+
@DBList = dblist
|
4361
|
+
@RequestId = requestid
|
4362
|
+
end
|
4363
|
+
|
4364
|
+
def deserialize(params)
|
4365
|
+
@TotalCount = params['TotalCount']
|
4366
|
+
unless params['DBList'].nil?
|
4367
|
+
@DBList = []
|
4368
|
+
params['DBList'].each do |i|
|
4369
|
+
dbnormaldetail_tmp = DbNormalDetail.new
|
4370
|
+
dbnormaldetail_tmp.deserialize(i)
|
4371
|
+
@DBList << dbnormaldetail_tmp
|
4372
|
+
end
|
4373
|
+
end
|
4374
|
+
@RequestId = params['RequestId']
|
4375
|
+
end
|
4376
|
+
end
|
4377
|
+
|
4378
|
+
# DescribeDatabases请求参数结构体
|
4379
|
+
class DescribeDatabasesRequest < TencentCloud::Common::AbstractModel
|
4380
|
+
# @param InstanceIdSet: 实例ID
|
4381
|
+
# @type InstanceIdSet: Array
|
4382
|
+
# @param Limit: 分页返回,每页返回的数目,取值为1-100,默认值为20
|
4383
|
+
# @type Limit: Integer
|
4384
|
+
# @param Offset: 分页返回,页编号,默认值为第0页
|
4385
|
+
# @type Offset: Integer
|
4386
|
+
# @param Name: 数据库名称
|
4387
|
+
# @type Name: String
|
4388
|
+
# @param OrderByType: 排序规则(desc-降序,asc-升序),默认desc
|
4389
|
+
# @type OrderByType: String
|
4390
|
+
# @param Encryption: 是否已开启TDE加密,enable-已加密,disable-未加密
|
4391
|
+
# @type Encryption: String
|
4392
|
+
|
4393
|
+
attr_accessor :InstanceIdSet, :Limit, :Offset, :Name, :OrderByType, :Encryption
|
4394
|
+
|
4395
|
+
def initialize(instanceidset=nil, limit=nil, offset=nil, name=nil, orderbytype=nil, encryption=nil)
|
4396
|
+
@InstanceIdSet = instanceidset
|
4397
|
+
@Limit = limit
|
4398
|
+
@Offset = offset
|
4399
|
+
@Name = name
|
4400
|
+
@OrderByType = orderbytype
|
4401
|
+
@Encryption = encryption
|
4402
|
+
end
|
4403
|
+
|
4404
|
+
def deserialize(params)
|
4405
|
+
@InstanceIdSet = params['InstanceIdSet']
|
4406
|
+
@Limit = params['Limit']
|
4407
|
+
@Offset = params['Offset']
|
4408
|
+
@Name = params['Name']
|
4409
|
+
@OrderByType = params['OrderByType']
|
4410
|
+
@Encryption = params['Encryption']
|
4411
|
+
end
|
4412
|
+
end
|
4413
|
+
|
4414
|
+
# DescribeDatabases返回参数结构体
|
4415
|
+
class DescribeDatabasesResponse < TencentCloud::Common::AbstractModel
|
4416
|
+
# @param TotalCount: 数据库数量
|
4417
|
+
# @type TotalCount: Integer
|
4418
|
+
# @param DBInstances: 实例数据库列表
|
4419
|
+
# @type DBInstances: Array
|
4420
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4421
|
+
# @type RequestId: String
|
4422
|
+
|
4423
|
+
attr_accessor :TotalCount, :DBInstances, :RequestId
|
4424
|
+
|
4425
|
+
def initialize(totalcount=nil, dbinstances=nil, requestid=nil)
|
4426
|
+
@TotalCount = totalcount
|
4427
|
+
@DBInstances = dbinstances
|
4428
|
+
@RequestId = requestid
|
4429
|
+
end
|
4430
|
+
|
4431
|
+
def deserialize(params)
|
4432
|
+
@TotalCount = params['TotalCount']
|
4433
|
+
unless params['DBInstances'].nil?
|
4434
|
+
@DBInstances = []
|
4435
|
+
params['DBInstances'].each do |i|
|
4436
|
+
instancedbdetail_tmp = InstanceDBDetail.new
|
4437
|
+
instancedbdetail_tmp.deserialize(i)
|
4438
|
+
@DBInstances << instancedbdetail_tmp
|
4439
|
+
end
|
4440
|
+
end
|
4441
|
+
@RequestId = params['RequestId']
|
4442
|
+
end
|
4443
|
+
end
|
4444
|
+
|
3937
4445
|
# DescribeFlowStatus请求参数结构体
|
3938
4446
|
class DescribeFlowStatusRequest < TencentCloud::Common::AbstractModel
|
3939
4447
|
# @param FlowId: 流程ID
|
@@ -5010,6 +5518,66 @@ module TencentCloud
|
|
5010
5518
|
end
|
5011
5519
|
end
|
5012
5520
|
|
5521
|
+
# DescribeRegularBackupPlan请求参数结构体
|
5522
|
+
class DescribeRegularBackupPlanRequest < TencentCloud::Common::AbstractModel
|
5523
|
+
# @param InstanceId: 实例ID
|
5524
|
+
# @type InstanceId: String
|
5525
|
+
# @param RegularBackupSaveDays: 定期备份保留天数 [90 - 3650]天,默认365天
|
5526
|
+
# @type RegularBackupSaveDays: Integer
|
5527
|
+
# @param RegularBackupStrategy: 定期备份策略 years-每年,quarters-每季度,months-每月,默认months
|
5528
|
+
# @type RegularBackupStrategy: String
|
5529
|
+
# @param RegularBackupCounts: 定期备份保留个数,默认1个
|
5530
|
+
# @type RegularBackupCounts: Integer
|
5531
|
+
# @param RegularBackupStartTime: 定期备份开始日期,格式-YYYY-MM-DD 默认当前日期
|
5532
|
+
# @type RegularBackupStartTime: String
|
5533
|
+
# @param BackupCycle: 常规备份周期
|
5534
|
+
# @type BackupCycle: Array
|
5535
|
+
|
5536
|
+
attr_accessor :InstanceId, :RegularBackupSaveDays, :RegularBackupStrategy, :RegularBackupCounts, :RegularBackupStartTime, :BackupCycle
|
5537
|
+
|
5538
|
+
def initialize(instanceid=nil, regularbackupsavedays=nil, regularbackupstrategy=nil, regularbackupcounts=nil, regularbackupstarttime=nil, backupcycle=nil)
|
5539
|
+
@InstanceId = instanceid
|
5540
|
+
@RegularBackupSaveDays = regularbackupsavedays
|
5541
|
+
@RegularBackupStrategy = regularbackupstrategy
|
5542
|
+
@RegularBackupCounts = regularbackupcounts
|
5543
|
+
@RegularBackupStartTime = regularbackupstarttime
|
5544
|
+
@BackupCycle = backupcycle
|
5545
|
+
end
|
5546
|
+
|
5547
|
+
def deserialize(params)
|
5548
|
+
@InstanceId = params['InstanceId']
|
5549
|
+
@RegularBackupSaveDays = params['RegularBackupSaveDays']
|
5550
|
+
@RegularBackupStrategy = params['RegularBackupStrategy']
|
5551
|
+
@RegularBackupCounts = params['RegularBackupCounts']
|
5552
|
+
@RegularBackupStartTime = params['RegularBackupStartTime']
|
5553
|
+
@BackupCycle = params['BackupCycle']
|
5554
|
+
end
|
5555
|
+
end
|
5556
|
+
|
5557
|
+
# DescribeRegularBackupPlan返回参数结构体
|
5558
|
+
class DescribeRegularBackupPlanResponse < TencentCloud::Common::AbstractModel
|
5559
|
+
# @param SaveModePeriod: 常规备份计划
|
5560
|
+
# @type SaveModePeriod: Array
|
5561
|
+
# @param SaveModeRegular: 定期备份计划
|
5562
|
+
# @type SaveModeRegular: Array
|
5563
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5564
|
+
# @type RequestId: String
|
5565
|
+
|
5566
|
+
attr_accessor :SaveModePeriod, :SaveModeRegular, :RequestId
|
5567
|
+
|
5568
|
+
def initialize(savemodeperiod=nil, savemoderegular=nil, requestid=nil)
|
5569
|
+
@SaveModePeriod = savemodeperiod
|
5570
|
+
@SaveModeRegular = savemoderegular
|
5571
|
+
@RequestId = requestid
|
5572
|
+
end
|
5573
|
+
|
5574
|
+
def deserialize(params)
|
5575
|
+
@SaveModePeriod = params['SaveModePeriod']
|
5576
|
+
@SaveModeRegular = params['SaveModeRegular']
|
5577
|
+
@RequestId = params['RequestId']
|
5578
|
+
end
|
5579
|
+
end
|
5580
|
+
|
5013
5581
|
# DescribeRollbackTime请求参数结构体
|
5014
5582
|
class DescribeRollbackTimeRequest < TencentCloud::Common::AbstractModel
|
5015
5583
|
# @param InstanceId: 实例ID
|
@@ -6479,6 +7047,58 @@ module TencentCloud
|
|
6479
7047
|
end
|
6480
7048
|
end
|
6481
7049
|
|
7050
|
+
# ModifyCrossBackupStrategy请求参数结构体
|
7051
|
+
class ModifyCrossBackupStrategyRequest < TencentCloud::Common::AbstractModel
|
7052
|
+
# @param CrossBackupEnabled: 跨地域备份开关(数据备份&日志备份) enable-开启,disable-关闭
|
7053
|
+
# @type CrossBackupEnabled: String
|
7054
|
+
# @param InstanceId: 实例Id
|
7055
|
+
# @type InstanceId: String
|
7056
|
+
# @param InstanceIdSet: 实例ID列表
|
7057
|
+
# @type InstanceIdSet: Array
|
7058
|
+
# @param CrossBackupSaveDays: 跨地域备份保留天数,取值:7~1830,默认7天
|
7059
|
+
# @type CrossBackupSaveDays: Integer
|
7060
|
+
# @param CrossBackupRegion: 跨地域备份的目标地域ID,最多两个,最少一个
|
7061
|
+
# @type CrossBackupRegion: Array
|
7062
|
+
# @param CleanUpCrossBackup: 是否立即清理跨地域备份(数据备份&日志备份) ,只有在BackupEnabled = disable时有效。1-是,0-否,默认:0
|
7063
|
+
# @type CleanUpCrossBackup: Integer
|
7064
|
+
|
7065
|
+
attr_accessor :CrossBackupEnabled, :InstanceId, :InstanceIdSet, :CrossBackupSaveDays, :CrossBackupRegion, :CleanUpCrossBackup
|
7066
|
+
|
7067
|
+
def initialize(crossbackupenabled=nil, instanceid=nil, instanceidset=nil, crossbackupsavedays=nil, crossbackupregion=nil, cleanupcrossbackup=nil)
|
7068
|
+
@CrossBackupEnabled = crossbackupenabled
|
7069
|
+
@InstanceId = instanceid
|
7070
|
+
@InstanceIdSet = instanceidset
|
7071
|
+
@CrossBackupSaveDays = crossbackupsavedays
|
7072
|
+
@CrossBackupRegion = crossbackupregion
|
7073
|
+
@CleanUpCrossBackup = cleanupcrossbackup
|
7074
|
+
end
|
7075
|
+
|
7076
|
+
def deserialize(params)
|
7077
|
+
@CrossBackupEnabled = params['CrossBackupEnabled']
|
7078
|
+
@InstanceId = params['InstanceId']
|
7079
|
+
@InstanceIdSet = params['InstanceIdSet']
|
7080
|
+
@CrossBackupSaveDays = params['CrossBackupSaveDays']
|
7081
|
+
@CrossBackupRegion = params['CrossBackupRegion']
|
7082
|
+
@CleanUpCrossBackup = params['CleanUpCrossBackup']
|
7083
|
+
end
|
7084
|
+
end
|
7085
|
+
|
7086
|
+
# ModifyCrossBackupStrategy返回参数结构体
|
7087
|
+
class ModifyCrossBackupStrategyResponse < TencentCloud::Common::AbstractModel
|
7088
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7089
|
+
# @type RequestId: String
|
7090
|
+
|
7091
|
+
attr_accessor :RequestId
|
7092
|
+
|
7093
|
+
def initialize(requestid=nil)
|
7094
|
+
@RequestId = requestid
|
7095
|
+
end
|
7096
|
+
|
7097
|
+
def deserialize(params)
|
7098
|
+
@RequestId = params['RequestId']
|
7099
|
+
end
|
7100
|
+
end
|
7101
|
+
|
6482
7102
|
# ModifyDBEncryptAttributes请求参数结构体
|
6483
7103
|
class ModifyDBEncryptAttributesRequest < TencentCloud::Common::AbstractModel
|
6484
7104
|
# @param InstanceId: 实例ID
|
@@ -6952,6 +7572,46 @@ module TencentCloud
|
|
6952
7572
|
end
|
6953
7573
|
end
|
6954
7574
|
|
7575
|
+
# ModifyDatabaseShrinkMDF请求参数结构体
|
7576
|
+
class ModifyDatabaseShrinkMDFRequest < TencentCloud::Common::AbstractModel
|
7577
|
+
# @param DBNames: 数据库名数组
|
7578
|
+
# @type DBNames: Array
|
7579
|
+
# @param InstanceId: 实例ID
|
7580
|
+
# @type InstanceId: String
|
7581
|
+
|
7582
|
+
attr_accessor :DBNames, :InstanceId
|
7583
|
+
|
7584
|
+
def initialize(dbnames=nil, instanceid=nil)
|
7585
|
+
@DBNames = dbnames
|
7586
|
+
@InstanceId = instanceid
|
7587
|
+
end
|
7588
|
+
|
7589
|
+
def deserialize(params)
|
7590
|
+
@DBNames = params['DBNames']
|
7591
|
+
@InstanceId = params['InstanceId']
|
7592
|
+
end
|
7593
|
+
end
|
7594
|
+
|
7595
|
+
# ModifyDatabaseShrinkMDF返回参数结构体
|
7596
|
+
class ModifyDatabaseShrinkMDFResponse < TencentCloud::Common::AbstractModel
|
7597
|
+
# @param FlowId: 流程ID
|
7598
|
+
# @type FlowId: Integer
|
7599
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7600
|
+
# @type RequestId: String
|
7601
|
+
|
7602
|
+
attr_accessor :FlowId, :RequestId
|
7603
|
+
|
7604
|
+
def initialize(flowid=nil, requestid=nil)
|
7605
|
+
@FlowId = flowid
|
7606
|
+
@RequestId = requestid
|
7607
|
+
end
|
7608
|
+
|
7609
|
+
def deserialize(params)
|
7610
|
+
@FlowId = params['FlowId']
|
7611
|
+
@RequestId = params['RequestId']
|
7612
|
+
end
|
7613
|
+
end
|
7614
|
+
|
6955
7615
|
# ModifyIncrementalMigration请求参数结构体
|
6956
7616
|
class ModifyIncrementalMigrationRequest < TencentCloud::Common::AbstractModel
|
6957
7617
|
# @param InstanceId: 导入目标实例ID
|
@@ -8811,6 +9471,74 @@ module TencentCloud
|
|
8811
9471
|
end
|
8812
9472
|
end
|
8813
9473
|
|
9474
|
+
# 备份概览实时统计项
|
9475
|
+
class SummaryDetailRes < TencentCloud::Common::AbstractModel
|
9476
|
+
# @param RegionId: 地域标识
|
9477
|
+
# @type RegionId: Integer
|
9478
|
+
# @param Status: 实例状态。1:申请中2:运行中3:受限运行中 (主备切换中)4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作)8:已下线9:实例扩容中10:实例迁移中
|
9479
|
+
# @type Status: Integer
|
9480
|
+
# @param InstanceId: 实例ID
|
9481
|
+
# @type InstanceId: String
|
9482
|
+
# @param Name: 实例名称
|
9483
|
+
# @type Name: String
|
9484
|
+
# @param ActualUsedSpace: 备份空间
|
9485
|
+
# @type ActualUsedSpace: Integer
|
9486
|
+
# @param DataBackupSpace: 数据备份空间
|
9487
|
+
# @type DataBackupSpace: Integer
|
9488
|
+
# @param DataBackupCount: 数据备份文件总个数
|
9489
|
+
# @type DataBackupCount: Integer
|
9490
|
+
# @param LogBackupSpace: 日志备份空间
|
9491
|
+
# @type LogBackupSpace: Integer
|
9492
|
+
# @param LogBackupCount: 日志备份文件总个数
|
9493
|
+
# @type LogBackupCount: Integer
|
9494
|
+
# @param AutoBackupSpace: 自动备份空间
|
9495
|
+
# @type AutoBackupSpace: Integer
|
9496
|
+
# @param AutoBackupCount: 自动备份文件总个数
|
9497
|
+
# @type AutoBackupCount: Integer
|
9498
|
+
# @param ManualBackupSpace: 手动备份空间
|
9499
|
+
# @type ManualBackupSpace: Integer
|
9500
|
+
# @param ManualBackupCount: 手动备份文件总个数
|
9501
|
+
# @type ManualBackupCount: Integer
|
9502
|
+
# @param Region: 实例所属地域码
|
9503
|
+
# @type Region: String
|
9504
|
+
|
9505
|
+
attr_accessor :RegionId, :Status, :InstanceId, :Name, :ActualUsedSpace, :DataBackupSpace, :DataBackupCount, :LogBackupSpace, :LogBackupCount, :AutoBackupSpace, :AutoBackupCount, :ManualBackupSpace, :ManualBackupCount, :Region
|
9506
|
+
|
9507
|
+
def initialize(regionid=nil, status=nil, instanceid=nil, name=nil, actualusedspace=nil, databackupspace=nil, databackupcount=nil, logbackupspace=nil, logbackupcount=nil, autobackupspace=nil, autobackupcount=nil, manualbackupspace=nil, manualbackupcount=nil, region=nil)
|
9508
|
+
@RegionId = regionid
|
9509
|
+
@Status = status
|
9510
|
+
@InstanceId = instanceid
|
9511
|
+
@Name = name
|
9512
|
+
@ActualUsedSpace = actualusedspace
|
9513
|
+
@DataBackupSpace = databackupspace
|
9514
|
+
@DataBackupCount = databackupcount
|
9515
|
+
@LogBackupSpace = logbackupspace
|
9516
|
+
@LogBackupCount = logbackupcount
|
9517
|
+
@AutoBackupSpace = autobackupspace
|
9518
|
+
@AutoBackupCount = autobackupcount
|
9519
|
+
@ManualBackupSpace = manualbackupspace
|
9520
|
+
@ManualBackupCount = manualbackupcount
|
9521
|
+
@Region = region
|
9522
|
+
end
|
9523
|
+
|
9524
|
+
def deserialize(params)
|
9525
|
+
@RegionId = params['RegionId']
|
9526
|
+
@Status = params['Status']
|
9527
|
+
@InstanceId = params['InstanceId']
|
9528
|
+
@Name = params['Name']
|
9529
|
+
@ActualUsedSpace = params['ActualUsedSpace']
|
9530
|
+
@DataBackupSpace = params['DataBackupSpace']
|
9531
|
+
@DataBackupCount = params['DataBackupCount']
|
9532
|
+
@LogBackupSpace = params['LogBackupSpace']
|
9533
|
+
@LogBackupCount = params['LogBackupCount']
|
9534
|
+
@AutoBackupSpace = params['AutoBackupSpace']
|
9535
|
+
@AutoBackupCount = params['AutoBackupCount']
|
9536
|
+
@ManualBackupSpace = params['ManualBackupSpace']
|
9537
|
+
@ManualBackupCount = params['ManualBackupCount']
|
9538
|
+
@Region = params['Region']
|
9539
|
+
end
|
9540
|
+
end
|
9541
|
+
|
8814
9542
|
# SwitchCloudInstanceHA请求参数结构体
|
8815
9543
|
class SwitchCloudInstanceHARequest < TencentCloud::Common::AbstractModel
|
8816
9544
|
# @param InstanceId: 实例ID
|