tencentcloud-sdk-cdb 1.0.296 → 1.0.299
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/v20170320/client.rb +1 -1
- data/lib/v20170320/models.rb +59 -11
- 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: 45512eb56ff892ace3cc4f6c0bc23039eeb6c379
|
4
|
+
data.tar.gz: 4d3202c7cc3bd1f3390cc0ef7de0b54328b3b129
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34a2140e5f3485c3e320a9292aa1e63c6f79e921780617857cd75e6849b37d3c8179ec8ff5a8c9f8e86ec4d72322b1734544b2dcdf0fca49c8b4d82b0d3efd01
|
7
|
+
data.tar.gz: 3e8de5a9375e19a1a1c5443eedaf39b63467d2696a4f76b34d66f85f8ff89fb549f4373f06af20c0f008efc80a50c10d0237fc4d8c17d8445a4e3d4d424be7b7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.299
|
data/lib/v20170320/client.rb
CHANGED
@@ -2873,7 +2873,7 @@ module TencentCloud
|
|
2873
2873
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2874
2874
|
end
|
2875
2875
|
|
2876
|
-
# 重置实例ROOT
|
2876
|
+
# 重置实例ROOT账号,初始化账号权限
|
2877
2877
|
|
2878
2878
|
# @param request: Request instance for ResetRootAccount.
|
2879
2879
|
# @type request: :class:`Tencentcloud::cdb::V20170320::ResetRootAccountRequest`
|
data/lib/v20170320/models.rb
CHANGED
@@ -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
|
|
@@ -1579,7 +1583,7 @@ module TencentCloud
|
|
1579
1583
|
# @type AutoSyncFlag: Integer
|
1580
1584
|
# @param CageId: 金融围拢 ID 。
|
1581
1585
|
# @type CageId: String
|
1582
|
-
# @param ParamTemplateType: 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模板,"HIGH_PERFORMANCE" -
|
1586
|
+
# @param ParamTemplateType: 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模板,"HIGH_PERFORMANCE" - 高性能模板,默认值是:"HIGH_STABILITY"。
|
1583
1587
|
# @type ParamTemplateType: String
|
1584
1588
|
# @param AlarmPolicyIdList: 告警策略名数组,例如:["policy-uyoee9wg"],AlarmPolicyList不为空时该参数无效。
|
1585
1589
|
# @type AlarmPolicyIdList: Array
|
@@ -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
|
@@ -7136,26 +7160,44 @@ module TencentCloud
|
|
7136
7160
|
class ModifyBackupConfigRequest < TencentCloud::Common::AbstractModel
|
7137
7161
|
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例ID相同。
|
7138
7162
|
# @type InstanceId: String
|
7139
|
-
# @param ExpireDays: 备份文件的保留时间,单位为天。最小值为7天,最大值为
|
7163
|
+
# @param ExpireDays: 备份文件的保留时间,单位为天。最小值为7天,最大值为1830天。
|
7140
7164
|
# @type ExpireDays: Integer
|
7141
7165
|
# @param StartTime: (将废弃,建议使用 BackupTimeWindow 参数) 备份时间范围,格式为:02:00-06:00,起点和终点时间目前限制为整点,目前可以选择的范围为: 00:00-12:00,02:00-06:00,06:00-10:00,10:00-14:00,14:00-18:00,18:00-22:00,22:00-02:00。
|
7142
7166
|
# @type StartTime: String
|
7143
7167
|
# @param BackupMethod: 自动备份方式,仅支持:physical - 物理冷备
|
7144
7168
|
# @type BackupMethod: String
|
7145
|
-
# @param BinlogExpireDays: binlog的保留时间,单位为天。最小值为7天,最大值为
|
7169
|
+
# @param BinlogExpireDays: binlog的保留时间,单位为天。最小值为7天,最大值为1830天。该值的设置不能大于备份文件的保留时间。
|
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
|
-
|
7151
|
-
|
7152
|
-
|
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.
|
4
|
+
version: 1.0.299
|
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-
|
11
|
+
date: 2022-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|