tencentcloud-sdk-sqlserver 1.0.356 → 1.0.357
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/models.rb +103 -6
- 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: 032d8f49ca5826903c4a47e537482e62b4fa003a
|
4
|
+
data.tar.gz: 38f98fe950a499c3275491c38d737ca81575de8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 260ce50176217dee95d3bde0eee8612b2684e7bbad178bb2f8aca680c93b107a5c40dc7c427e3ef82b8d08b9951765f30fff6a4524e8dfe671e0431815045379
|
7
|
+
data.tar.gz: 31acac091f906696b00c3819efd6f126674869401efcbf7ee07fb3d14039875d2007a785c75806e0172d61c67cce42756fd9c8bb40a8898be101e206bfd85b85
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.357
|
data/lib/v20180328/models.rb
CHANGED
@@ -280,10 +280,16 @@ module TencentCloud
|
|
280
280
|
# @type GroupId: String
|
281
281
|
# @param BackupFormat: 备份文件形式(pkg-打包备份文件,single-单库备份文件)
|
282
282
|
# @type BackupFormat: String
|
283
|
+
# @param Region: 实例当前地域Code
|
284
|
+
# @type Region: String
|
285
|
+
# @param CrossBackupAddr: 跨地域备份的目的地域下载链接
|
286
|
+
# @type CrossBackupAddr: Array
|
287
|
+
# @param CrossBackupStatus: 跨地域备份的目标地域和备份状态
|
288
|
+
# @type CrossBackupStatus: Array
|
283
289
|
|
284
|
-
attr_accessor :FileName, :Size, :StartTime, :EndTime, :InternalAddr, :ExternalAddr, :Id, :Status, :DBs, :Strategy, :BackupWay, :BackupName, :GroupId, :BackupFormat
|
290
|
+
attr_accessor :FileName, :Size, :StartTime, :EndTime, :InternalAddr, :ExternalAddr, :Id, :Status, :DBs, :Strategy, :BackupWay, :BackupName, :GroupId, :BackupFormat, :Region, :CrossBackupAddr, :CrossBackupStatus
|
285
291
|
|
286
|
-
def initialize(filename=nil, size=nil, starttime=nil, endtime=nil, internaladdr=nil, externaladdr=nil, id=nil, status=nil, dbs=nil, strategy=nil, backupway=nil, backupname=nil, groupid=nil, backupformat=nil)
|
292
|
+
def initialize(filename=nil, size=nil, starttime=nil, endtime=nil, internaladdr=nil, externaladdr=nil, id=nil, status=nil, dbs=nil, strategy=nil, backupway=nil, backupname=nil, groupid=nil, backupformat=nil, region=nil, crossbackupaddr=nil, crossbackupstatus=nil)
|
287
293
|
@FileName = filename
|
288
294
|
@Size = size
|
289
295
|
@StartTime = starttime
|
@@ -298,6 +304,9 @@ module TencentCloud
|
|
298
304
|
@BackupName = backupname
|
299
305
|
@GroupId = groupid
|
300
306
|
@BackupFormat = backupformat
|
307
|
+
@Region = region
|
308
|
+
@CrossBackupAddr = crossbackupaddr
|
309
|
+
@CrossBackupStatus = crossbackupstatus
|
301
310
|
end
|
302
311
|
|
303
312
|
def deserialize(params)
|
@@ -315,6 +324,23 @@ module TencentCloud
|
|
315
324
|
@BackupName = params['BackupName']
|
316
325
|
@GroupId = params['GroupId']
|
317
326
|
@BackupFormat = params['BackupFormat']
|
327
|
+
@Region = params['Region']
|
328
|
+
unless params['CrossBackupAddr'].nil?
|
329
|
+
@CrossBackupAddr = []
|
330
|
+
params['CrossBackupAddr'].each do |i|
|
331
|
+
crossbackupaddr_tmp = CrossBackupAddr.new
|
332
|
+
crossbackupaddr_tmp.deserialize(i)
|
333
|
+
@CrossBackupAddr << crossbackupaddr_tmp
|
334
|
+
end
|
335
|
+
end
|
336
|
+
unless params['CrossBackupStatus'].nil?
|
337
|
+
@CrossBackupStatus = []
|
338
|
+
params['CrossBackupStatus'].each do |i|
|
339
|
+
crossregionstatus_tmp = CrossRegionStatus.new
|
340
|
+
crossregionstatus_tmp.deserialize(i)
|
341
|
+
@CrossBackupStatus << crossregionstatus_tmp
|
342
|
+
end
|
343
|
+
end
|
318
344
|
end
|
319
345
|
end
|
320
346
|
|
@@ -330,15 +356,21 @@ module TencentCloud
|
|
330
356
|
# @type DBs: Array
|
331
357
|
# @param DownloadLink: 下载地址
|
332
358
|
# @type DownloadLink: String
|
359
|
+
# @param Region: 当前实例地域码
|
360
|
+
# @type Region: String
|
361
|
+
# @param CrossBackupAddr: 备份的跨地域region和所对应的下载地址
|
362
|
+
# @type CrossBackupAddr: Array
|
333
363
|
|
334
|
-
attr_accessor :Id, :FileName, :Size, :DBs, :DownloadLink
|
364
|
+
attr_accessor :Id, :FileName, :Size, :DBs, :DownloadLink, :Region, :CrossBackupAddr
|
335
365
|
|
336
|
-
def initialize(id=nil, filename=nil, size=nil, dbs=nil, downloadlink=nil)
|
366
|
+
def initialize(id=nil, filename=nil, size=nil, dbs=nil, downloadlink=nil, region=nil, crossbackupaddr=nil)
|
337
367
|
@Id = id
|
338
368
|
@FileName = filename
|
339
369
|
@Size = size
|
340
370
|
@DBs = dbs
|
341
371
|
@DownloadLink = downloadlink
|
372
|
+
@Region = region
|
373
|
+
@CrossBackupAddr = crossbackupaddr
|
342
374
|
end
|
343
375
|
|
344
376
|
def deserialize(params)
|
@@ -347,6 +379,15 @@ module TencentCloud
|
|
347
379
|
@Size = params['Size']
|
348
380
|
@DBs = params['DBs']
|
349
381
|
@DownloadLink = params['DownloadLink']
|
382
|
+
@Region = params['Region']
|
383
|
+
unless params['CrossBackupAddr'].nil?
|
384
|
+
@CrossBackupAddr = []
|
385
|
+
params['CrossBackupAddr'].each do |i|
|
386
|
+
crossbackupaddr_tmp = CrossBackupAddr.new
|
387
|
+
crossbackupaddr_tmp.deserialize(i)
|
388
|
+
@CrossBackupAddr << crossbackupaddr_tmp
|
389
|
+
end
|
390
|
+
end
|
350
391
|
end
|
351
392
|
end
|
352
393
|
|
@@ -1227,6 +1268,50 @@ module TencentCloud
|
|
1227
1268
|
end
|
1228
1269
|
end
|
1229
1270
|
|
1271
|
+
# 跨地域备份下载地址集合
|
1272
|
+
class CrossBackupAddr < TencentCloud::Common::AbstractModel
|
1273
|
+
# @param CrossRegion: 跨地域备份目标地域
|
1274
|
+
# @type CrossRegion: String
|
1275
|
+
# @param CrossInternalAddr: 跨地域备份内网下载地址
|
1276
|
+
# @type CrossInternalAddr: String
|
1277
|
+
# @param CrossExternalAddr: 跨地域备份外网下载地址
|
1278
|
+
# @type CrossExternalAddr: String
|
1279
|
+
|
1280
|
+
attr_accessor :CrossRegion, :CrossInternalAddr, :CrossExternalAddr
|
1281
|
+
|
1282
|
+
def initialize(crossregion=nil, crossinternaladdr=nil, crossexternaladdr=nil)
|
1283
|
+
@CrossRegion = crossregion
|
1284
|
+
@CrossInternalAddr = crossinternaladdr
|
1285
|
+
@CrossExternalAddr = crossexternaladdr
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
def deserialize(params)
|
1289
|
+
@CrossRegion = params['CrossRegion']
|
1290
|
+
@CrossInternalAddr = params['CrossInternalAddr']
|
1291
|
+
@CrossExternalAddr = params['CrossExternalAddr']
|
1292
|
+
end
|
1293
|
+
end
|
1294
|
+
|
1295
|
+
# 跨地域备份的目标地域和备份状态
|
1296
|
+
class CrossRegionStatus < TencentCloud::Common::AbstractModel
|
1297
|
+
# @param CrossRegion: 跨地域备份目标地域
|
1298
|
+
# @type CrossRegion: String
|
1299
|
+
# @param CrossStatus: 备份跨地域的同步状态 0-创建中;1-成功;2-失败;4-同步中
|
1300
|
+
# @type CrossStatus: Integer
|
1301
|
+
|
1302
|
+
attr_accessor :CrossRegion, :CrossStatus
|
1303
|
+
|
1304
|
+
def initialize(crossregion=nil, crossstatus=nil)
|
1305
|
+
@CrossRegion = crossregion
|
1306
|
+
@CrossStatus = crossstatus
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
def deserialize(params)
|
1310
|
+
@CrossRegion = params['CrossRegion']
|
1311
|
+
@CrossStatus = params['CrossStatus']
|
1312
|
+
end
|
1313
|
+
end
|
1314
|
+
|
1230
1315
|
# 数据库创建信息
|
1231
1316
|
class DBCreateInfo < TencentCloud::Common::AbstractModel
|
1232
1317
|
# @param DBName: 数据库名
|
@@ -1404,10 +1489,16 @@ module TencentCloud
|
|
1404
1489
|
# @type BackupSaveDays: Integer
|
1405
1490
|
# @param InstanceType: 实例类型 HA-高可用 RO-只读实例 SI-基础版 BI-商业智能服务
|
1406
1491
|
# @type InstanceType: String
|
1492
|
+
# @param CrossRegions: 跨地域备份目的地域,如果为空,则表示未开启跨地域备份
|
1493
|
+
# @type CrossRegions: Array
|
1494
|
+
# @param CrossBackupEnabled: 跨地域备份状态 enable-开启,disable-关闭
|
1495
|
+
# @type CrossBackupEnabled: String
|
1496
|
+
# @param CrossBackupSaveDays: 跨地域备份保留天数,则默认7天
|
1497
|
+
# @type CrossBackupSaveDays: Integer
|
1407
1498
|
|
1408
|
-
attr_accessor :InstanceId, :Name, :ProjectId, :RegionId, :ZoneId, :VpcId, :SubnetId, :Status, :Vip, :Vport, :CreateTime, :UpdateTime, :StartTime, :EndTime, :IsolateTime, :Memory, :UsedStorage, :Storage, :VersionName, :RenewFlag, :Model, :Region, :Zone, :BackupTime, :PayMode, :Uid, :Cpu, :Version, :Type, :Pid, :UniqVpcId, :UniqSubnetId, :IsolateOperator, :SubFlag, :ROFlag, :HAFlag, :ResourceTags, :BackupModel, :InstanceNote, :BackupCycle, :BackupCycleType, :BackupSaveDays, :InstanceType
|
1499
|
+
attr_accessor :InstanceId, :Name, :ProjectId, :RegionId, :ZoneId, :VpcId, :SubnetId, :Status, :Vip, :Vport, :CreateTime, :UpdateTime, :StartTime, :EndTime, :IsolateTime, :Memory, :UsedStorage, :Storage, :VersionName, :RenewFlag, :Model, :Region, :Zone, :BackupTime, :PayMode, :Uid, :Cpu, :Version, :Type, :Pid, :UniqVpcId, :UniqSubnetId, :IsolateOperator, :SubFlag, :ROFlag, :HAFlag, :ResourceTags, :BackupModel, :InstanceNote, :BackupCycle, :BackupCycleType, :BackupSaveDays, :InstanceType, :CrossRegions, :CrossBackupEnabled, :CrossBackupSaveDays
|
1409
1500
|
|
1410
|
-
def initialize(instanceid=nil, name=nil, projectid=nil, regionid=nil, zoneid=nil, vpcid=nil, subnetid=nil, status=nil, vip=nil, vport=nil, createtime=nil, updatetime=nil, starttime=nil, endtime=nil, isolatetime=nil, memory=nil, usedstorage=nil, storage=nil, versionname=nil, renewflag=nil, model=nil, region=nil, zone=nil, backuptime=nil, paymode=nil, uid=nil, cpu=nil, version=nil, type=nil, pid=nil, uniqvpcid=nil, uniqsubnetid=nil, isolateoperator=nil, subflag=nil, roflag=nil, haflag=nil, resourcetags=nil, backupmodel=nil, instancenote=nil, backupcycle=nil, backupcycletype=nil, backupsavedays=nil, instancetype=nil)
|
1501
|
+
def initialize(instanceid=nil, name=nil, projectid=nil, regionid=nil, zoneid=nil, vpcid=nil, subnetid=nil, status=nil, vip=nil, vport=nil, createtime=nil, updatetime=nil, starttime=nil, endtime=nil, isolatetime=nil, memory=nil, usedstorage=nil, storage=nil, versionname=nil, renewflag=nil, model=nil, region=nil, zone=nil, backuptime=nil, paymode=nil, uid=nil, cpu=nil, version=nil, type=nil, pid=nil, uniqvpcid=nil, uniqsubnetid=nil, isolateoperator=nil, subflag=nil, roflag=nil, haflag=nil, resourcetags=nil, backupmodel=nil, instancenote=nil, backupcycle=nil, backupcycletype=nil, backupsavedays=nil, instancetype=nil, crossregions=nil, crossbackupenabled=nil, crossbackupsavedays=nil)
|
1411
1502
|
@InstanceId = instanceid
|
1412
1503
|
@Name = name
|
1413
1504
|
@ProjectId = projectid
|
@@ -1451,6 +1542,9 @@ module TencentCloud
|
|
1451
1542
|
@BackupCycleType = backupcycletype
|
1452
1543
|
@BackupSaveDays = backupsavedays
|
1453
1544
|
@InstanceType = instancetype
|
1545
|
+
@CrossRegions = crossregions
|
1546
|
+
@CrossBackupEnabled = crossbackupenabled
|
1547
|
+
@CrossBackupSaveDays = crossbackupsavedays
|
1454
1548
|
end
|
1455
1549
|
|
1456
1550
|
def deserialize(params)
|
@@ -1504,6 +1598,9 @@ module TencentCloud
|
|
1504
1598
|
@BackupCycleType = params['BackupCycleType']
|
1505
1599
|
@BackupSaveDays = params['BackupSaveDays']
|
1506
1600
|
@InstanceType = params['InstanceType']
|
1601
|
+
@CrossRegions = params['CrossRegions']
|
1602
|
+
@CrossBackupEnabled = params['CrossBackupEnabled']
|
1603
|
+
@CrossBackupSaveDays = params['CrossBackupSaveDays']
|
1507
1604
|
end
|
1508
1605
|
end
|
1509
1606
|
|
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: 1.0.
|
4
|
+
version: 1.0.357
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|