tencentcloud-sdk-cynosdb 3.0.662 → 3.0.663

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/v20190107/models.rb +76 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 567667125641c3878eb1cfb5294674a719a8d4ec
4
- data.tar.gz: 5aa0cd2b26c61d88b441f17ab035b5a639debd01
3
+ metadata.gz: 05f96646396e58f85acdd243f4ecc9bca6553740
4
+ data.tar.gz: 74cef38d2fa014b3b95a63b3df1fdc4f34ef3c27
5
5
  SHA512:
6
- metadata.gz: f31910a9c5ab3bd1b1c3acfee111d7bf3c18013d5b5d582cf28bedf4c8d56b11e7eeb3458587b229b9bdd9f58fdec12f726ba5f5c8b6b857d9ba418c596b8bac
7
- data.tar.gz: 049709e89c889c8261989ee5b510f45333e958aa5b235c1fa883e22b87c076a6929c67db6bb45e11a4006d03b8066013e779735393e7e38d582ee5c3d78aa5d3
6
+ metadata.gz: ec9a22fa4f66e7d5165ccaa4cb2e25221efcfcb66cf9f657b914f26f1964b438741701c5045d229be86002d6198e3104846cd28cf175e99571053d6f1e1af1e1
7
+ data.tar.gz: 2a742921b1a643bb076844e2cdffadf8566f3a7783943efce4d50baf921f34986908013e984fad425e20a729e9b766ebe6ccfe68cbd4c783cf1e0d4c83429f6e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.662
1
+ 3.0.663
@@ -4014,17 +4014,21 @@ module TencentCloud
4014
4014
  # @param BackupType: 备份方式,logic-逻辑备份,snapshot-快照备份
4015
4015
  # 注意:此字段可能返回 null,表示取不到有效值。
4016
4016
  # @type BackupType: String
4017
+ # @param LogicCrossRegionsConfigUpdateTime: 跨地域逻辑备份配置修改时间
4018
+ # 注意:此字段可能返回 null,表示取不到有效值。
4019
+ # @type LogicCrossRegionsConfigUpdateTime: String
4017
4020
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4018
4021
  # @type RequestId: String
4019
4022
 
4020
- attr_accessor :BackupTimeBeg, :BackupTimeEnd, :ReserveDuration, :BackupFreq, :BackupType, :RequestId
4023
+ attr_accessor :BackupTimeBeg, :BackupTimeEnd, :ReserveDuration, :BackupFreq, :BackupType, :LogicCrossRegionsConfigUpdateTime, :RequestId
4021
4024
 
4022
- def initialize(backuptimebeg=nil, backuptimeend=nil, reserveduration=nil, backupfreq=nil, backuptype=nil, requestid=nil)
4025
+ def initialize(backuptimebeg=nil, backuptimeend=nil, reserveduration=nil, backupfreq=nil, backuptype=nil, logiccrossregionsconfigupdatetime=nil, requestid=nil)
4023
4026
  @BackupTimeBeg = backuptimebeg
4024
4027
  @BackupTimeEnd = backuptimeend
4025
4028
  @ReserveDuration = reserveduration
4026
4029
  @BackupFreq = backupfreq
4027
4030
  @BackupType = backuptype
4031
+ @LogicCrossRegionsConfigUpdateTime = logiccrossregionsconfigupdatetime
4028
4032
  @RequestId = requestid
4029
4033
  end
4030
4034
 
@@ -4034,6 +4038,7 @@ module TencentCloud
4034
4038
  @ReserveDuration = params['ReserveDuration']
4035
4039
  @BackupFreq = params['BackupFreq']
4036
4040
  @BackupType = params['BackupType']
4041
+ @LogicCrossRegionsConfigUpdateTime = params['LogicCrossRegionsConfigUpdateTime']
4037
4042
  @RequestId = params['RequestId']
4038
4043
  end
4039
4044
  end
@@ -4107,10 +4112,14 @@ module TencentCloud
4107
4112
  # @type BackupNames: Array
4108
4113
  # @param SnapshotIdList: 快照备份Id列表
4109
4114
  # @type SnapshotIdList: Array
4115
+ # @param BackupRegion: 备份地域
4116
+ # @type BackupRegion: String
4117
+ # @param IsCrossRegionsBackup: 是否跨地域备份
4118
+ # @type IsCrossRegionsBackup: String
4110
4119
 
4111
- attr_accessor :ClusterId, :Limit, :Offset, :DbType, :BackupIds, :BackupType, :BackupMethod, :SnapShotType, :StartTime, :EndTime, :FileNames, :BackupNames, :SnapshotIdList
4120
+ attr_accessor :ClusterId, :Limit, :Offset, :DbType, :BackupIds, :BackupType, :BackupMethod, :SnapShotType, :StartTime, :EndTime, :FileNames, :BackupNames, :SnapshotIdList, :BackupRegion, :IsCrossRegionsBackup
4112
4121
 
4113
- def initialize(clusterid=nil, limit=nil, offset=nil, dbtype=nil, backupids=nil, backuptype=nil, backupmethod=nil, snapshottype=nil, starttime=nil, endtime=nil, filenames=nil, backupnames=nil, snapshotidlist=nil)
4122
+ def initialize(clusterid=nil, limit=nil, offset=nil, dbtype=nil, backupids=nil, backuptype=nil, backupmethod=nil, snapshottype=nil, starttime=nil, endtime=nil, filenames=nil, backupnames=nil, snapshotidlist=nil, backupregion=nil, iscrossregionsbackup=nil)
4114
4123
  @ClusterId = clusterid
4115
4124
  @Limit = limit
4116
4125
  @Offset = offset
@@ -4124,6 +4133,8 @@ module TencentCloud
4124
4133
  @FileNames = filenames
4125
4134
  @BackupNames = backupnames
4126
4135
  @SnapshotIdList = snapshotidlist
4136
+ @BackupRegion = backupregion
4137
+ @IsCrossRegionsBackup = iscrossregionsbackup
4127
4138
  end
4128
4139
 
4129
4140
  def deserialize(params)
@@ -4140,6 +4151,8 @@ module TencentCloud
4140
4151
  @FileNames = params['FileNames']
4141
4152
  @BackupNames = params['BackupNames']
4142
4153
  @SnapshotIdList = params['SnapshotIdList']
4154
+ @BackupRegion = params['BackupRegion']
4155
+ @IsCrossRegionsBackup = params['IsCrossRegionsBackup']
4143
4156
  end
4144
4157
  end
4145
4158
 
@@ -7012,6 +7025,48 @@ module TencentCloud
7012
7025
  end
7013
7026
  end
7014
7027
 
7028
+ # 逻辑备份配置信息
7029
+ class LogicBackupConfigInfo < TencentCloud::Common::AbstractModel
7030
+ # @param LogicBackupEnable: 是否开启自动逻辑备份
7031
+ # 注意:此字段可能返回 null,表示取不到有效值。
7032
+ # @type LogicBackupEnable: String
7033
+ # @param LogicBackupTimeBeg: 自动逻辑备份开始时间
7034
+ # 注意:此字段可能返回 null,表示取不到有效值。
7035
+ # @type LogicBackupTimeBeg: Integer
7036
+ # @param LogicBackupTimeEnd: 自动逻辑备份结束时间
7037
+ # 注意:此字段可能返回 null,表示取不到有效值。
7038
+ # @type LogicBackupTimeEnd: Integer
7039
+ # @param LogicReserveDuration: 自动逻辑备份保留时间
7040
+ # 注意:此字段可能返回 null,表示取不到有效值。
7041
+ # @type LogicReserveDuration: Integer
7042
+ # @param LogicCrossRegionsEnable: 是否开启跨地域逻辑备份
7043
+ # 注意:此字段可能返回 null,表示取不到有效值。
7044
+ # @type LogicCrossRegionsEnable: String
7045
+ # @param LogicCrossRegions: 逻辑备份所跨地域
7046
+ # 注意:此字段可能返回 null,表示取不到有效值。
7047
+ # @type LogicCrossRegions: Array
7048
+
7049
+ attr_accessor :LogicBackupEnable, :LogicBackupTimeBeg, :LogicBackupTimeEnd, :LogicReserveDuration, :LogicCrossRegionsEnable, :LogicCrossRegions
7050
+
7051
+ def initialize(logicbackupenable=nil, logicbackuptimebeg=nil, logicbackuptimeend=nil, logicreserveduration=nil, logiccrossregionsenable=nil, logiccrossregions=nil)
7052
+ @LogicBackupEnable = logicbackupenable
7053
+ @LogicBackupTimeBeg = logicbackuptimebeg
7054
+ @LogicBackupTimeEnd = logicbackuptimeend
7055
+ @LogicReserveDuration = logicreserveduration
7056
+ @LogicCrossRegionsEnable = logiccrossregionsenable
7057
+ @LogicCrossRegions = logiccrossregions
7058
+ end
7059
+
7060
+ def deserialize(params)
7061
+ @LogicBackupEnable = params['LogicBackupEnable']
7062
+ @LogicBackupTimeBeg = params['LogicBackupTimeBeg']
7063
+ @LogicBackupTimeEnd = params['LogicBackupTimeEnd']
7064
+ @LogicReserveDuration = params['LogicReserveDuration']
7065
+ @LogicCrossRegionsEnable = params['LogicCrossRegionsEnable']
7066
+ @LogicCrossRegions = params['LogicCrossRegions']
7067
+ end
7068
+ end
7069
+
7015
7070
  # 参数是否可修改的详细信息
7016
7071
  class ModifiableInfo < TencentCloud::Common::AbstractModel
7017
7072
 
@@ -7347,35 +7402,46 @@ module TencentCloud
7347
7402
  class ModifyBackupConfigRequest < TencentCloud::Common::AbstractModel
7348
7403
  # @param ClusterId: 集群ID
7349
7404
  # @type ClusterId: String
7350
- # @param ReserveDuration: 表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600*24*7=604800,最大为158112000
7351
- # @type ReserveDuration: Integer
7352
7405
  # @param BackupTimeBeg: 表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
7353
7406
  # @type BackupTimeBeg: Integer
7354
7407
  # @param BackupTimeEnd: 表示全备结束时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
7355
7408
  # @type BackupTimeEnd: Integer
7409
+ # @param ReserveDuration: 表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600*24*7=604800,最大为158112000
7410
+ # @type ReserveDuration: Integer
7356
7411
  # @param BackupFreq: 该参数目前不支持修改,无需填写。备份频率,长度为7的数组,分别对应周一到周日的备份方式,full-全量备份,increment-增量备份
7357
7412
  # @type BackupFreq: Array
7358
7413
  # @param BackupType: 该参数目前不支持修改,无需填写。备份方式,logic-逻辑备份,snapshot-快照备份
7359
7414
  # @type BackupType: String
7415
+ # @param LogicBackupConfig: 逻辑备份配置
7416
+ # @type LogicBackupConfig: :class:`Tencentcloud::Cynosdb.v20190107.models.LogicBackupConfigInfo`
7417
+ # @param DeleteAutoLogicBackup: 是否删除自动逻辑备份
7418
+ # @type DeleteAutoLogicBackup: Boolean
7360
7419
 
7361
- attr_accessor :ClusterId, :ReserveDuration, :BackupTimeBeg, :BackupTimeEnd, :BackupFreq, :BackupType
7420
+ attr_accessor :ClusterId, :BackupTimeBeg, :BackupTimeEnd, :ReserveDuration, :BackupFreq, :BackupType, :LogicBackupConfig, :DeleteAutoLogicBackup
7362
7421
 
7363
- def initialize(clusterid=nil, reserveduration=nil, backuptimebeg=nil, backuptimeend=nil, backupfreq=nil, backuptype=nil)
7422
+ def initialize(clusterid=nil, backuptimebeg=nil, backuptimeend=nil, reserveduration=nil, backupfreq=nil, backuptype=nil, logicbackupconfig=nil, deleteautologicbackup=nil)
7364
7423
  @ClusterId = clusterid
7365
- @ReserveDuration = reserveduration
7366
7424
  @BackupTimeBeg = backuptimebeg
7367
7425
  @BackupTimeEnd = backuptimeend
7426
+ @ReserveDuration = reserveduration
7368
7427
  @BackupFreq = backupfreq
7369
7428
  @BackupType = backuptype
7429
+ @LogicBackupConfig = logicbackupconfig
7430
+ @DeleteAutoLogicBackup = deleteautologicbackup
7370
7431
  end
7371
7432
 
7372
7433
  def deserialize(params)
7373
7434
  @ClusterId = params['ClusterId']
7374
- @ReserveDuration = params['ReserveDuration']
7375
7435
  @BackupTimeBeg = params['BackupTimeBeg']
7376
7436
  @BackupTimeEnd = params['BackupTimeEnd']
7437
+ @ReserveDuration = params['ReserveDuration']
7377
7438
  @BackupFreq = params['BackupFreq']
7378
7439
  @BackupType = params['BackupType']
7440
+ unless params['LogicBackupConfig'].nil?
7441
+ @LogicBackupConfig = LogicBackupConfigInfo.new
7442
+ @LogicBackupConfig.deserialize(params['LogicBackupConfig'])
7443
+ end
7444
+ @DeleteAutoLogicBackup = params['DeleteAutoLogicBackup']
7379
7445
  end
7380
7446
  end
7381
7447
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.662
4
+ version: 3.0.663
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-19 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common