tencentcloud-sdk-cdb 1.0.297 → 1.0.298

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170320/models.rb +56 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f175a6f388f9990905bca596a2f6c941e6e3288
4
- data.tar.gz: 5e65de3343ceaa79339cd6baa2718dcaf2577a6e
3
+ metadata.gz: 2a58e9242c45c1ddc9c386f534ba5c35c0eea7fb
4
+ data.tar.gz: 28f709ad14378345407467e26b465fee79222ed6
5
5
  SHA512:
6
- metadata.gz: 335fe0a2431009f2766d6c37a772a9c3c9baa7d2c76b780815c1663359aea2b7d1233f040ad7ac63a1084f8424be45cfde19af0e9228266f7e8792e1359fa32d
7
- data.tar.gz: c2da2878017ee6cce3fd0c4f03cad3a26914bec374a4794985a28452ce0ff832dff66293c4b6564458dbda3eae1b36a74ad373197e0478f3cc6c6adcf3ef3a96
6
+ metadata.gz: 54cbaa542075ce3739b6debe94479c89ea794bd1e841010b7a76deb1566f82344c432d60ef1d5a5343937f12dd6d16762fa0ebc1db9506952f6e2b7b32c7d013
7
+ data.tar.gz: 51235eaa7df2ac59f7129776afc6a1363ae9cd38c8959774999e834e2bad5678076452001884090e26a69bbe67c4373f4d57bf381dca1a7b31508db09324b4ff
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.297
1
+ 1.0.298
@@ -574,10 +574,12 @@ module TencentCloud
574
574
  # @type Way: String
575
575
  # @param ManualBackupName: 手动备份别名
576
576
  # @type ManualBackupName: String
577
+ # @param SaveMode: 备份保留类型,save_mode_regular - 常规保存备份,save_mode_period - 定期保存备份
578
+ # @type SaveMode: String
577
579
 
578
- attr_accessor :Name, :Size, :Date, :IntranetUrl, :InternetUrl, :Type, :BackupId, :Status, :FinishTime, :Creator, :StartTime, :Method, :Way, :ManualBackupName
580
+ attr_accessor :Name, :Size, :Date, :IntranetUrl, :InternetUrl, :Type, :BackupId, :Status, :FinishTime, :Creator, :StartTime, :Method, :Way, :ManualBackupName, :SaveMode
579
581
 
580
- def initialize(name=nil, size=nil, date=nil, intraneturl=nil, interneturl=nil, type=nil, backupid=nil, status=nil, finishtime=nil, creator=nil, starttime=nil, method=nil, way=nil, manualbackupname=nil)
582
+ def initialize(name=nil, size=nil, date=nil, intraneturl=nil, interneturl=nil, type=nil, backupid=nil, status=nil, finishtime=nil, creator=nil, starttime=nil, method=nil, way=nil, manualbackupname=nil, savemode=nil)
581
583
  @Name = name
582
584
  @Size = size
583
585
  @Date = date
@@ -592,6 +594,7 @@ module TencentCloud
592
594
  @Method = method
593
595
  @Way = way
594
596
  @ManualBackupName = manualbackupname
597
+ @SaveMode = savemode
595
598
  end
596
599
 
597
600
  def deserialize(params)
@@ -609,6 +612,7 @@ module TencentCloud
609
612
  @Method = params['Method']
610
613
  @Way = params['Way']
611
614
  @ManualBackupName = params['ManualBackupName']
615
+ @SaveMode = params['SaveMode']
612
616
  end
613
617
  end
614
618
 
@@ -2979,18 +2983,33 @@ module TencentCloud
2979
2983
  # @type BinlogExpireDays: Integer
2980
2984
  # @param BackupTimeWindow: 实例自动备份的时间窗。
2981
2985
  # @type BackupTimeWindow: :class:`Tencentcloud::Cdb.v20170320.models.CommonTimeWindow`
2986
+ # @param EnableBackupPeriodSave: 定期保留开关,off - 不开启定期保留策略,on - 开启定期保留策略,默认为off
2987
+ # @type EnableBackupPeriodSave: String
2988
+ # @param BackupPeriodSaveDays: 定期保留最长天数,最小值:90,最大值:3650,默认值:1080
2989
+ # @type BackupPeriodSaveDays: Integer
2990
+ # @param BackupPeriodSaveInterval: 定期保留策略周期,可取值:weekly - 周,monthly - 月, quarterly - 季度,yearly - 年,默认为monthly
2991
+ # @type BackupPeriodSaveInterval: String
2992
+ # @param BackupPeriodSaveCount: 定期保留的备份数量,最小值为1,最大值不超过定期保留策略周期内常规备份个数,默认值为1
2993
+ # @type BackupPeriodSaveCount: Integer
2994
+ # @param StartBackupPeriodSaveDate: 定期保留策略周期起始日期,格式:YYYY-MM-dd HH:mm:ss
2995
+ # @type StartBackupPeriodSaveDate: String
2982
2996
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2983
2997
  # @type RequestId: String
2984
2998
 
2985
- attr_accessor :StartTimeMin, :StartTimeMax, :BackupExpireDays, :BackupMethod, :BinlogExpireDays, :BackupTimeWindow, :RequestId
2999
+ attr_accessor :StartTimeMin, :StartTimeMax, :BackupExpireDays, :BackupMethod, :BinlogExpireDays, :BackupTimeWindow, :EnableBackupPeriodSave, :BackupPeriodSaveDays, :BackupPeriodSaveInterval, :BackupPeriodSaveCount, :StartBackupPeriodSaveDate, :RequestId
2986
3000
 
2987
- def initialize(starttimemin=nil, starttimemax=nil, backupexpiredays=nil, backupmethod=nil, binlogexpiredays=nil, backuptimewindow=nil, requestid=nil)
3001
+ def initialize(starttimemin=nil, starttimemax=nil, backupexpiredays=nil, backupmethod=nil, binlogexpiredays=nil, backuptimewindow=nil, enablebackupperiodsave=nil, backupperiodsavedays=nil, backupperiodsaveinterval=nil, backupperiodsavecount=nil, startbackupperiodsavedate=nil, requestid=nil)
2988
3002
  @StartTimeMin = starttimemin
2989
3003
  @StartTimeMax = starttimemax
2990
3004
  @BackupExpireDays = backupexpiredays
2991
3005
  @BackupMethod = backupmethod
2992
3006
  @BinlogExpireDays = binlogexpiredays
2993
3007
  @BackupTimeWindow = backuptimewindow
3008
+ @EnableBackupPeriodSave = enablebackupperiodsave
3009
+ @BackupPeriodSaveDays = backupperiodsavedays
3010
+ @BackupPeriodSaveInterval = backupperiodsaveinterval
3011
+ @BackupPeriodSaveCount = backupperiodsavecount
3012
+ @StartBackupPeriodSaveDate = startbackupperiodsavedate
2994
3013
  @RequestId = requestid
2995
3014
  end
2996
3015
 
@@ -3004,6 +3023,11 @@ module TencentCloud
3004
3023
  @BackupTimeWindow = CommonTimeWindow.new
3005
3024
  @BackupTimeWindow.deserialize(params['BackupTimeWindow'])
3006
3025
  end
3026
+ @EnableBackupPeriodSave = params['EnableBackupPeriodSave']
3027
+ @BackupPeriodSaveDays = params['BackupPeriodSaveDays']
3028
+ @BackupPeriodSaveInterval = params['BackupPeriodSaveInterval']
3029
+ @BackupPeriodSaveCount = params['BackupPeriodSaveCount']
3030
+ @StartBackupPeriodSaveDate = params['StartBackupPeriodSaveDate']
3007
3031
  @RequestId = params['RequestId']
3008
3032
  end
3009
3033
  end
@@ -7146,16 +7170,34 @@ module TencentCloud
7146
7170
  # @type BinlogExpireDays: Integer
7147
7171
  # @param BackupTimeWindow: 备份时间窗,比如要设置每周二和周日 10:00-14:00之间备份,该参数如下:{"Monday": "", "Tuesday": "10:00-14:00", "Wednesday": "", "Thursday": "", "Friday": "", "Saturday": "", "Sunday": "10:00-14:00"} (注:可以设置一周的某几天备份,但是每天的备份时间需要设置为相同的时间段。 如果设置了该字段,将忽略StartTime字段的设置)
7148
7172
  # @type BackupTimeWindow: :class:`Tencentcloud::Cdb.v20170320.models.CommonTimeWindow`
7149
-
7150
- attr_accessor :InstanceId, :ExpireDays, :StartTime, :BackupMethod, :BinlogExpireDays, :BackupTimeWindow
7151
-
7152
- def initialize(instanceid=nil, expiredays=nil, starttime=nil, backupmethod=nil, binlogexpiredays=nil, backuptimewindow=nil)
7173
+ # @param EnableBackupPeriodSave: 定期保留开关,off - 不开启定期保留策略,on - 开启定期保留策略,默认为off
7174
+ # @type EnableBackupPeriodSave: String
7175
+ # @param EnableBackupPeriodLongTermSave: 长期保留开关,该字段功能暂未上线,可忽略。off - 不开启长期保留策略,on - 开启长期保留策略,默认为off,如果开启,则BackupPeriodSaveDays,BackupPeriodSaveInterval,BackupPeriodSaveCount参数无效
7176
+ # @type EnableBackupPeriodLongTermSave: String
7177
+ # @param BackupPeriodSaveDays: 定期保留最长天数,最小值:90,最大值:3650,默认值:1080
7178
+ # @type BackupPeriodSaveDays: Integer
7179
+ # @param BackupPeriodSaveInterval: 定期保留策略周期,可取值:weekly - 周,monthly - 月, quarterly - 季度,yearly - 年,默认为monthly
7180
+ # @type BackupPeriodSaveInterval: String
7181
+ # @param BackupPeriodSaveCount: 定期保留的备份数量,最小值为1,最大值不超过定期保留策略周期内常规备份个数,默认值为1
7182
+ # @type BackupPeriodSaveCount: Integer
7183
+ # @param StartBackupPeriodSaveDate: 定期保留策略周期起始日期,格式:YYYY-MM-dd HH:mm:ss
7184
+ # @type StartBackupPeriodSaveDate: String
7185
+
7186
+ attr_accessor :InstanceId, :ExpireDays, :StartTime, :BackupMethod, :BinlogExpireDays, :BackupTimeWindow, :EnableBackupPeriodSave, :EnableBackupPeriodLongTermSave, :BackupPeriodSaveDays, :BackupPeriodSaveInterval, :BackupPeriodSaveCount, :StartBackupPeriodSaveDate
7187
+
7188
+ def initialize(instanceid=nil, expiredays=nil, starttime=nil, backupmethod=nil, binlogexpiredays=nil, backuptimewindow=nil, enablebackupperiodsave=nil, enablebackupperiodlongtermsave=nil, backupperiodsavedays=nil, backupperiodsaveinterval=nil, backupperiodsavecount=nil, startbackupperiodsavedate=nil)
7153
7189
  @InstanceId = instanceid
7154
7190
  @ExpireDays = expiredays
7155
7191
  @StartTime = starttime
7156
7192
  @BackupMethod = backupmethod
7157
7193
  @BinlogExpireDays = binlogexpiredays
7158
7194
  @BackupTimeWindow = backuptimewindow
7195
+ @EnableBackupPeriodSave = enablebackupperiodsave
7196
+ @EnableBackupPeriodLongTermSave = enablebackupperiodlongtermsave
7197
+ @BackupPeriodSaveDays = backupperiodsavedays
7198
+ @BackupPeriodSaveInterval = backupperiodsaveinterval
7199
+ @BackupPeriodSaveCount = backupperiodsavecount
7200
+ @StartBackupPeriodSaveDate = startbackupperiodsavedate
7159
7201
  end
7160
7202
 
7161
7203
  def deserialize(params)
@@ -7168,6 +7210,12 @@ module TencentCloud
7168
7210
  @BackupTimeWindow = CommonTimeWindow.new
7169
7211
  @BackupTimeWindow.deserialize(params['BackupTimeWindow'])
7170
7212
  end
7213
+ @EnableBackupPeriodSave = params['EnableBackupPeriodSave']
7214
+ @EnableBackupPeriodLongTermSave = params['EnableBackupPeriodLongTermSave']
7215
+ @BackupPeriodSaveDays = params['BackupPeriodSaveDays']
7216
+ @BackupPeriodSaveInterval = params['BackupPeriodSaveInterval']
7217
+ @BackupPeriodSaveCount = params['BackupPeriodSaveCount']
7218
+ @StartBackupPeriodSaveDate = params['StartBackupPeriodSaveDate']
7171
7219
  end
7172
7220
  end
7173
7221
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.297
4
+ version: 1.0.298
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-04-14 00:00:00.000000000 Z
11
+ date: 2022-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common