tencentcloud-sdk-sqlserver 1.0.306 → 1.0.307
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/VERSION +1 -1
 - data/lib/v20180328/models.rb +62 -13
 - 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: 3bd73804e1d5bb2462a1837432cd11659e69a73f
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 4a0e4b5d552fcc808d17d920a80a66c083e8c069
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 04142ad88f552d85aebb7f860d7a58571a54a46de2b7e31635202a0b890a6116c7f74c2827fbae629af891f0e7746f3f4bdb288fad1fe21a380b37a33b43973e
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: bc660ed395e12e8c43b0b7b097d9f25cf0fde595a8a7c3cb756aef5920755bbaafd0a7e0a1aad0d8521d420bf61d6710c1a6ab592f1fb748a21c4792243114c3
         
     | 
    
        data/lib/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.0.307
         
     | 
    
        data/lib/v20180328/models.rb
    CHANGED
    
    | 
         @@ -262,10 +262,12 @@ module TencentCloud 
     | 
|
| 
       262 
262 
     | 
    
         
             
                    # @type BackupName: String
         
     | 
| 
       263 
263 
     | 
    
         
             
                    # @param GroupId: 聚合Id,对于打包备份文件不返回此值。通过此值调用DescribeBackupFiles接口,获取单库备份文件的详细信息
         
     | 
| 
       264 
264 
     | 
    
         
             
                    # @type GroupId: String
         
     | 
| 
      
 265 
     | 
    
         
            +
                    # @param BackupFormat: 备份文件形式(pkg-打包备份文件,single-单库备份文件)
         
     | 
| 
      
 266 
     | 
    
         
            +
                    # @type BackupFormat: String
         
     | 
| 
       265 
267 
     | 
    
         | 
| 
       266 
     | 
    
         
            -
                    attr_accessor :FileName, :Size, :StartTime, :EndTime, :InternalAddr, :ExternalAddr, :Id, :Status, :DBs, :Strategy, :BackupWay, :BackupName, :GroupId
         
     | 
| 
      
 268 
     | 
    
         
            +
                    attr_accessor :FileName, :Size, :StartTime, :EndTime, :InternalAddr, :ExternalAddr, :Id, :Status, :DBs, :Strategy, :BackupWay, :BackupName, :GroupId, :BackupFormat
         
     | 
| 
       267 
269 
     | 
    
         | 
| 
       268 
     | 
    
         
            -
                    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)
         
     | 
| 
      
 270 
     | 
    
         
            +
                    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)
         
     | 
| 
       269 
271 
     | 
    
         
             
                      @FileName = filename
         
     | 
| 
       270 
272 
     | 
    
         
             
                      @Size = size
         
     | 
| 
       271 
273 
     | 
    
         
             
                      @StartTime = starttime
         
     | 
| 
         @@ -279,6 +281,7 @@ module TencentCloud 
     | 
|
| 
       279 
281 
     | 
    
         
             
                      @BackupWay = backupway
         
     | 
| 
       280 
282 
     | 
    
         
             
                      @BackupName = backupname
         
     | 
| 
       281 
283 
     | 
    
         
             
                      @GroupId = groupid
         
     | 
| 
      
 284 
     | 
    
         
            +
                      @BackupFormat = backupformat
         
     | 
| 
       282 
285 
     | 
    
         
             
                    end
         
     | 
| 
       283 
286 
     | 
    
         | 
| 
       284 
287 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
         @@ -295,6 +298,7 @@ module TencentCloud 
     | 
|
| 
       295 
298 
     | 
    
         
             
                      @BackupWay = params['BackupWay']
         
     | 
| 
       296 
299 
     | 
    
         
             
                      @BackupName = params['BackupName']
         
     | 
| 
       297 
300 
     | 
    
         
             
                      @GroupId = params['GroupId']
         
     | 
| 
      
 301 
     | 
    
         
            +
                      @BackupFormat = params['BackupFormat']
         
     | 
| 
       298 
302 
     | 
    
         
             
                    end
         
     | 
| 
       299 
303 
     | 
    
         
             
                  end
         
     | 
| 
       300 
304 
     | 
    
         | 
| 
         @@ -1373,10 +1377,21 @@ module TencentCloud 
     | 
|
| 
       1373 
1377 
     | 
    
         
             
                    # @param BackupModel: 备份模式,master_pkg-主节点打包备份(默认) ;master_no_pkg-主节点不打包备份;slave_pkg-从节点打包备份(always on集群有效);slave_no_pkg-从节点不打包备份(always on集群有效);只读副本对该值无效。
         
     | 
| 
       1374 
1378 
     | 
    
         
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1375 
1379 
     | 
    
         
             
                    # @type BackupModel: String
         
     | 
| 
      
 1380 
     | 
    
         
            +
                    # @param InstanceNote: 实例备份信息
         
     | 
| 
      
 1381 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 1382 
     | 
    
         
            +
                    # @type InstanceNote: String
         
     | 
| 
      
 1383 
     | 
    
         
            +
                    # @param BackupCycle: 备份周期
         
     | 
| 
      
 1384 
     | 
    
         
            +
                    # @type BackupCycle: Array
         
     | 
| 
      
 1385 
     | 
    
         
            +
                    # @param BackupCycleType: 备份周期类型,[daily、weekly、monthly]
         
     | 
| 
      
 1386 
     | 
    
         
            +
                    # @type BackupCycleType: String
         
     | 
| 
      
 1387 
     | 
    
         
            +
                    # @param BackupSaveDays: 数据(日志)备份保留时间
         
     | 
| 
      
 1388 
     | 
    
         
            +
                    # @type BackupSaveDays: Integer
         
     | 
| 
      
 1389 
     | 
    
         
            +
                    # @param InstanceType: 实例类型 HA-高可用 RO-只读实例 SI-基础版 BI-商业智能服务
         
     | 
| 
      
 1390 
     | 
    
         
            +
                    # @type InstanceType: String
         
     | 
| 
       1376 
1391 
     | 
    
         | 
| 
       1377 
     | 
    
         
            -
                    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
         
     | 
| 
      
 1392 
     | 
    
         
            +
                    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
         
     | 
| 
       1378 
1393 
     | 
    
         | 
| 
       1379 
     | 
    
         
            -
                    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)
         
     | 
| 
      
 1394 
     | 
    
         
            +
                    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)
         
     | 
| 
       1380 
1395 
     | 
    
         
             
                      @InstanceId = instanceid
         
     | 
| 
       1381 
1396 
     | 
    
         
             
                      @Name = name
         
     | 
| 
       1382 
1397 
     | 
    
         
             
                      @ProjectId = projectid
         
     | 
| 
         @@ -1415,6 +1430,11 @@ module TencentCloud 
     | 
|
| 
       1415 
1430 
     | 
    
         
             
                      @HAFlag = haflag
         
     | 
| 
       1416 
1431 
     | 
    
         
             
                      @ResourceTags = resourcetags
         
     | 
| 
       1417 
1432 
     | 
    
         
             
                      @BackupModel = backupmodel
         
     | 
| 
      
 1433 
     | 
    
         
            +
                      @InstanceNote = instancenote
         
     | 
| 
      
 1434 
     | 
    
         
            +
                      @BackupCycle = backupcycle
         
     | 
| 
      
 1435 
     | 
    
         
            +
                      @BackupCycleType = backupcycletype
         
     | 
| 
      
 1436 
     | 
    
         
            +
                      @BackupSaveDays = backupsavedays
         
     | 
| 
      
 1437 
     | 
    
         
            +
                      @InstanceType = instancetype
         
     | 
| 
       1418 
1438 
     | 
    
         
             
                    end
         
     | 
| 
       1419 
1439 
     | 
    
         | 
| 
       1420 
1440 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
         @@ -1463,6 +1483,11 @@ module TencentCloud 
     | 
|
| 
       1463 
1483 
     | 
    
         
             
                        end
         
     | 
| 
       1464 
1484 
     | 
    
         
             
                      end
         
     | 
| 
       1465 
1485 
     | 
    
         
             
                      @BackupModel = params['BackupModel']
         
     | 
| 
      
 1486 
     | 
    
         
            +
                      @InstanceNote = params['InstanceNote']
         
     | 
| 
      
 1487 
     | 
    
         
            +
                      @BackupCycle = params['BackupCycle']
         
     | 
| 
      
 1488 
     | 
    
         
            +
                      @BackupCycleType = params['BackupCycleType']
         
     | 
| 
      
 1489 
     | 
    
         
            +
                      @BackupSaveDays = params['BackupSaveDays']
         
     | 
| 
      
 1490 
     | 
    
         
            +
                      @InstanceType = params['InstanceType']
         
     | 
| 
       1466 
1491 
     | 
    
         
             
                    end
         
     | 
| 
       1467 
1492 
     | 
    
         
             
                  end
         
     | 
| 
       1468 
1493 
     | 
    
         | 
| 
         @@ -2188,15 +2213,18 @@ module TencentCloud 
     | 
|
| 
       2188 
2213 
     | 
    
         
             
                    # @type Offset: Integer
         
     | 
| 
       2189 
2214 
     | 
    
         
             
                    # @param DatabaseName: 按照备份的库名称筛选,不填则不筛选此项
         
     | 
| 
       2190 
2215 
     | 
    
         
             
                    # @type DatabaseName: String
         
     | 
| 
      
 2216 
     | 
    
         
            +
                    # @param OrderBy: 列表项排序,目前只按照备份大小排序(desc-降序,asc-升序),默认desc
         
     | 
| 
      
 2217 
     | 
    
         
            +
                    # @type OrderBy: String
         
     | 
| 
       2191 
2218 
     | 
    
         | 
| 
       2192 
     | 
    
         
            -
                    attr_accessor :InstanceId, :GroupId, :Limit, :Offset, :DatabaseName
         
     | 
| 
      
 2219 
     | 
    
         
            +
                    attr_accessor :InstanceId, :GroupId, :Limit, :Offset, :DatabaseName, :OrderBy
         
     | 
| 
       2193 
2220 
     | 
    
         | 
| 
       2194 
     | 
    
         
            -
                    def initialize(instanceid=nil, groupid=nil, limit=nil, offset=nil, databasename=nil)
         
     | 
| 
      
 2221 
     | 
    
         
            +
                    def initialize(instanceid=nil, groupid=nil, limit=nil, offset=nil, databasename=nil, orderby=nil)
         
     | 
| 
       2195 
2222 
     | 
    
         
             
                      @InstanceId = instanceid
         
     | 
| 
       2196 
2223 
     | 
    
         
             
                      @GroupId = groupid
         
     | 
| 
       2197 
2224 
     | 
    
         
             
                      @Limit = limit
         
     | 
| 
       2198 
2225 
     | 
    
         
             
                      @Offset = offset
         
     | 
| 
       2199 
2226 
     | 
    
         
             
                      @DatabaseName = databasename
         
     | 
| 
      
 2227 
     | 
    
         
            +
                      @OrderBy = orderby
         
     | 
| 
       2200 
2228 
     | 
    
         
             
                    end
         
     | 
| 
       2201 
2229 
     | 
    
         | 
| 
       2202 
2230 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
         @@ -2205,6 +2233,7 @@ module TencentCloud 
     | 
|
| 
       2205 
2233 
     | 
    
         
             
                      @Limit = params['Limit']
         
     | 
| 
       2206 
2234 
     | 
    
         
             
                      @Offset = params['Offset']
         
     | 
| 
       2207 
2235 
     | 
    
         
             
                      @DatabaseName = params['DatabaseName']
         
     | 
| 
      
 2236 
     | 
    
         
            +
                      @OrderBy = params['OrderBy']
         
     | 
| 
       2208 
2237 
     | 
    
         
             
                    end
         
     | 
| 
       2209 
2238 
     | 
    
         
             
                  end
         
     | 
| 
       2210 
2239 
     | 
    
         | 
| 
         @@ -2401,10 +2430,14 @@ module TencentCloud 
     | 
|
| 
       2401 
2430 
     | 
    
         
             
                    # @type DatabaseName: String
         
     | 
| 
       2402 
2431 
     | 
    
         
             
                    # @param Group: 是否分组查询,默认是0,单库备份情况下 0-兼容老方式不分组,1-单库备份分组后展示
         
     | 
| 
       2403 
2432 
     | 
    
         
             
                    # @type Group: Integer
         
     | 
| 
      
 2433 
     | 
    
         
            +
                    # @param Type: 备份类型,1-数据备份,2-日志备份,默认值为1
         
     | 
| 
      
 2434 
     | 
    
         
            +
                    # @type Type: Integer
         
     | 
| 
      
 2435 
     | 
    
         
            +
                    # @param BackupFormat: 按照备份文件形式筛选,pkg-打包备份文件,single-单库备份文件
         
     | 
| 
      
 2436 
     | 
    
         
            +
                    # @type BackupFormat: String
         
     | 
| 
       2404 
2437 
     | 
    
         | 
| 
       2405 
     | 
    
         
            -
                    attr_accessor :StartTime, :EndTime, :InstanceId, :Limit, :Offset, :BackupName, :Strategy, :BackupWay, :BackupId, :DatabaseName, :Group
         
     | 
| 
      
 2438 
     | 
    
         
            +
                    attr_accessor :StartTime, :EndTime, :InstanceId, :Limit, :Offset, :BackupName, :Strategy, :BackupWay, :BackupId, :DatabaseName, :Group, :Type, :BackupFormat
         
     | 
| 
       2406 
2439 
     | 
    
         | 
| 
       2407 
     | 
    
         
            -
                    def initialize(starttime=nil, endtime=nil, instanceid=nil, limit=nil, offset=nil, backupname=nil, strategy=nil, backupway=nil, backupid=nil, databasename=nil, group=nil)
         
     | 
| 
      
 2440 
     | 
    
         
            +
                    def initialize(starttime=nil, endtime=nil, instanceid=nil, limit=nil, offset=nil, backupname=nil, strategy=nil, backupway=nil, backupid=nil, databasename=nil, group=nil, type=nil, backupformat=nil)
         
     | 
| 
       2408 
2441 
     | 
    
         
             
                      @StartTime = starttime
         
     | 
| 
       2409 
2442 
     | 
    
         
             
                      @EndTime = endtime
         
     | 
| 
       2410 
2443 
     | 
    
         
             
                      @InstanceId = instanceid
         
     | 
| 
         @@ -2416,6 +2449,8 @@ module TencentCloud 
     | 
|
| 
       2416 
2449 
     | 
    
         
             
                      @BackupId = backupid
         
     | 
| 
       2417 
2450 
     | 
    
         
             
                      @DatabaseName = databasename
         
     | 
| 
       2418 
2451 
     | 
    
         
             
                      @Group = group
         
     | 
| 
      
 2452 
     | 
    
         
            +
                      @Type = type
         
     | 
| 
      
 2453 
     | 
    
         
            +
                      @BackupFormat = backupformat
         
     | 
| 
       2419 
2454 
     | 
    
         
             
                    end
         
     | 
| 
       2420 
2455 
     | 
    
         | 
| 
       2421 
2456 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
         @@ -2430,6 +2465,8 @@ module TencentCloud 
     | 
|
| 
       2430 
2465 
     | 
    
         
             
                      @BackupId = params['BackupId']
         
     | 
| 
       2431 
2466 
     | 
    
         
             
                      @DatabaseName = params['DatabaseName']
         
     | 
| 
       2432 
2467 
     | 
    
         
             
                      @Group = params['Group']
         
     | 
| 
      
 2468 
     | 
    
         
            +
                      @Type = params['Type']
         
     | 
| 
      
 2469 
     | 
    
         
            +
                      @BackupFormat = params['BackupFormat']
         
     | 
| 
       2433 
2470 
     | 
    
         
             
                    end
         
     | 
| 
       2434 
2471 
     | 
    
         
             
                  end
         
     | 
| 
       2435 
2472 
     | 
    
         | 
| 
         @@ -2584,10 +2621,12 @@ module TencentCloud 
     | 
|
| 
       2584 
2621 
     | 
    
         
             
                    # @type SearchKey: String
         
     | 
| 
       2585 
2622 
     | 
    
         
             
                    # @param UidSet: 实例唯一Uid列表
         
     | 
| 
       2586 
2623 
     | 
    
         
             
                    # @type UidSet: Array
         
     | 
| 
      
 2624 
     | 
    
         
            +
                    # @param InstanceType: 实例类型 HA-高可用 RO-只读实例 SI-基础版 BI-商业智能服务
         
     | 
| 
      
 2625 
     | 
    
         
            +
                    # @type InstanceType: String
         
     | 
| 
       2587 
2626 
     | 
    
         | 
| 
       2588 
     | 
    
         
            -
                    attr_accessor :ProjectId, :Status, :Offset, :Limit, :InstanceIdSet, :PayMode, :VpcId, :SubnetId, :VipSet, :InstanceNameSet, :VersionSet, :Zone, :TagKeys, :SearchKey, :UidSet
         
     | 
| 
      
 2627 
     | 
    
         
            +
                    attr_accessor :ProjectId, :Status, :Offset, :Limit, :InstanceIdSet, :PayMode, :VpcId, :SubnetId, :VipSet, :InstanceNameSet, :VersionSet, :Zone, :TagKeys, :SearchKey, :UidSet, :InstanceType
         
     | 
| 
       2589 
2628 
     | 
    
         | 
| 
       2590 
     | 
    
         
            -
                    def initialize(projectid=nil, status=nil, offset=nil, limit=nil, instanceidset=nil, paymode=nil, vpcid=nil, subnetid=nil, vipset=nil, instancenameset=nil, versionset=nil, zone=nil, tagkeys=nil, searchkey=nil, uidset=nil)
         
     | 
| 
      
 2629 
     | 
    
         
            +
                    def initialize(projectid=nil, status=nil, offset=nil, limit=nil, instanceidset=nil, paymode=nil, vpcid=nil, subnetid=nil, vipset=nil, instancenameset=nil, versionset=nil, zone=nil, tagkeys=nil, searchkey=nil, uidset=nil, instancetype=nil)
         
     | 
| 
       2591 
2630 
     | 
    
         
             
                      @ProjectId = projectid
         
     | 
| 
       2592 
2631 
     | 
    
         
             
                      @Status = status
         
     | 
| 
       2593 
2632 
     | 
    
         
             
                      @Offset = offset
         
     | 
| 
         @@ -2603,6 +2642,7 @@ module TencentCloud 
     | 
|
| 
       2603 
2642 
     | 
    
         
             
                      @TagKeys = tagkeys
         
     | 
| 
       2604 
2643 
     | 
    
         
             
                      @SearchKey = searchkey
         
     | 
| 
       2605 
2644 
     | 
    
         
             
                      @UidSet = uidset
         
     | 
| 
      
 2645 
     | 
    
         
            +
                      @InstanceType = instancetype
         
     | 
| 
       2606 
2646 
     | 
    
         
             
                    end
         
     | 
| 
       2607 
2647 
     | 
    
         | 
| 
       2608 
2648 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
         @@ -2621,6 +2661,7 @@ module TencentCloud 
     | 
|
| 
       2621 
2661 
     | 
    
         
             
                      @TagKeys = params['TagKeys']
         
     | 
| 
       2622 
2662 
     | 
    
         
             
                      @SearchKey = params['SearchKey']
         
     | 
| 
       2623 
2663 
     | 
    
         
             
                      @UidSet = params['UidSet']
         
     | 
| 
      
 2664 
     | 
    
         
            +
                      @InstanceType = params['InstanceType']
         
     | 
| 
       2624 
2665 
     | 
    
         
             
                    end
         
     | 
| 
       2625 
2666 
     | 
    
         
             
                  end
         
     | 
| 
       2626 
2667 
     | 
    
         | 
| 
         @@ -4854,7 +4895,7 @@ module TencentCloud 
     | 
|
| 
       4854 
4895 
     | 
    
         
             
                  class ModifyBackupStrategyRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       4855 
4896 
     | 
    
         
             
                    # @param InstanceId: 实例ID
         
     | 
| 
       4856 
4897 
     | 
    
         
             
                    # @type InstanceId: String
         
     | 
| 
       4857 
     | 
    
         
            -
                    # @param BackupType:  
     | 
| 
      
 4898 
     | 
    
         
            +
                    # @param BackupType: 备份类型,当length(BackupDay) <=7 && length(BackupDay) >=2时,取值为weekly,当length(BackupDay)=1时,取值daily,默认daily
         
     | 
| 
       4858 
4899 
     | 
    
         
             
                    # @type BackupType: String
         
     | 
| 
       4859 
4900 
     | 
    
         
             
                    # @param BackupTime: 备份时间点,取值为0-23的整数
         
     | 
| 
       4860 
4901 
     | 
    
         
             
                    # @type BackupTime: Integer
         
     | 
| 
         @@ -4862,15 +4903,21 @@ module TencentCloud 
     | 
|
| 
       4862 
4903 
     | 
    
         
             
                    # @type BackupDay: Integer
         
     | 
| 
       4863 
4904 
     | 
    
         
             
                    # @param BackupModel: 备份模式,master_pkg-主节点上打包备份文件;master_no_pkg-主节点单库备份文件;slave_pkg-从节点上打包备份文件;slave_no_pkg-从节点上单库备份文件,从节点上备份只有在always on容灾模式下支持。
         
     | 
| 
       4864 
4905 
     | 
    
         
             
                    # @type BackupModel: String
         
     | 
| 
      
 4906 
     | 
    
         
            +
                    # @param BackupCycle: BackupType取值为weekly时,表示每周的星期N做备份。(如果数据备份保留时间<7天,则取值[1,2,3,4,5,6,7]。如果数据备份保留时间>=7天,则备份周期取值至少是一周的任意2天)
         
     | 
| 
      
 4907 
     | 
    
         
            +
                    # @type BackupCycle: Array
         
     | 
| 
      
 4908 
     | 
    
         
            +
                    # @param BackupSaveDays: 数据(日志)备份保留时间,取值[3-1830]天,默认7天
         
     | 
| 
      
 4909 
     | 
    
         
            +
                    # @type BackupSaveDays: Integer
         
     | 
| 
       4865 
4910 
     | 
    
         | 
| 
       4866 
     | 
    
         
            -
                    attr_accessor :InstanceId, :BackupType, :BackupTime, :BackupDay, :BackupModel
         
     | 
| 
      
 4911 
     | 
    
         
            +
                    attr_accessor :InstanceId, :BackupType, :BackupTime, :BackupDay, :BackupModel, :BackupCycle, :BackupSaveDays
         
     | 
| 
       4867 
4912 
     | 
    
         | 
| 
       4868 
     | 
    
         
            -
                    def initialize(instanceid=nil, backuptype=nil, backuptime=nil, backupday=nil, backupmodel=nil)
         
     | 
| 
      
 4913 
     | 
    
         
            +
                    def initialize(instanceid=nil, backuptype=nil, backuptime=nil, backupday=nil, backupmodel=nil, backupcycle=nil, backupsavedays=nil)
         
     | 
| 
       4869 
4914 
     | 
    
         
             
                      @InstanceId = instanceid
         
     | 
| 
       4870 
4915 
     | 
    
         
             
                      @BackupType = backuptype
         
     | 
| 
       4871 
4916 
     | 
    
         
             
                      @BackupTime = backuptime
         
     | 
| 
       4872 
4917 
     | 
    
         
             
                      @BackupDay = backupday
         
     | 
| 
       4873 
4918 
     | 
    
         
             
                      @BackupModel = backupmodel
         
     | 
| 
      
 4919 
     | 
    
         
            +
                      @BackupCycle = backupcycle
         
     | 
| 
      
 4920 
     | 
    
         
            +
                      @BackupSaveDays = backupsavedays
         
     | 
| 
       4874 
4921 
     | 
    
         
             
                    end
         
     | 
| 
       4875 
4922 
     | 
    
         | 
| 
       4876 
4923 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
         @@ -4879,6 +4926,8 @@ module TencentCloud 
     | 
|
| 
       4879 
4926 
     | 
    
         
             
                      @BackupTime = params['BackupTime']
         
     | 
| 
       4880 
4927 
     | 
    
         
             
                      @BackupDay = params['BackupDay']
         
     | 
| 
       4881 
4928 
     | 
    
         
             
                      @BackupModel = params['BackupModel']
         
     | 
| 
      
 4929 
     | 
    
         
            +
                      @BackupCycle = params['BackupCycle']
         
     | 
| 
      
 4930 
     | 
    
         
            +
                      @BackupSaveDays = params['BackupSaveDays']
         
     | 
| 
       4882 
4931 
     | 
    
         
             
                    end
         
     | 
| 
       4883 
4932 
     | 
    
         
             
                  end
         
     | 
| 
       4884 
4933 
     | 
    
         | 
    
        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.307
         
     | 
| 
       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-05- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2022-05-08 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: tencentcloud-sdk-common
         
     |