tencentcloud-sdk-cdb 3.0.1162 → 3.0.1175

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170320/models.rb +64 -56
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05a17c6e90adaeb14e3af2a73ac866ba217f080f
4
- data.tar.gz: 22c5149115d41811c163aa689d743a380d176723
3
+ metadata.gz: c2ed924a8241f496dba96465619e24dc054e2925
4
+ data.tar.gz: b4d48eefd0fe100bc2cd1516ce10d90b605ac4c4
5
5
  SHA512:
6
- metadata.gz: 0e2f5507ed860e7bc488c237fe724c6f2aeb226b1f2280786c1c06b7a678492102de12e010a28643ca5b4a122e920a66d35d4b357c73c251abcaeda9a52d7020
7
- data.tar.gz: 10ff71cc6a4f8077f344eaaf2abc4d8a7d7ca0ae5736f7c9315a1ba6865b80a669b164aa0c8215777f94f3ba2eea464918d0f4cb4baa35d9fce01772b4d2d208
6
+ metadata.gz: 53ac92adeb546d6e6d34d89d98a64e132ec151b48395f30b2b4dd849990547a571d16cd8bde0a27bb141c3c0f56a86023f61a206d57aaa7a06634d4f52d3184b
7
+ data.tar.gz: 0d8630f337374775ee8ffa459fbe0df9ece0fbfae4c4d9797414c24380f14075c421fea13604277e2fc49aa169d5ecb27eef42127dfea8d0dffb3ea254949cd2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1162
1
+ 3.0.1175
@@ -61,8 +61,8 @@ module TencentCloud
61
61
 
62
62
  attr_accessor :Notes, :Host, :User, :ModifyTime, :ModifyPasswordTime, :CreateTime, :MaxUserConnections, :OpenCam
63
63
  extend Gem::Deprecate
64
- deprecate :CreateTime, :none, 2025, 11
65
- deprecate :CreateTime=, :none, 2025, 11
64
+ deprecate :CreateTime, :none, 2025, 12
65
+ deprecate :CreateTime=, :none, 2025, 12
66
66
 
67
67
  def initialize(notes=nil, host=nil, user=nil, modifytime=nil, modifypasswordtime=nil, createtime=nil, maxuserconnections=nil, opencam=nil)
68
68
  @Notes = notes
@@ -448,8 +448,8 @@ module TencentCloud
448
448
 
449
449
  attr_accessor :InstanceId, :StartTime, :EndTime, :AggregationConditions, :AuditLogFilter, :LogFilter
450
450
  extend Gem::Deprecate
451
- deprecate :AuditLogFilter, :none, 2025, 11
452
- deprecate :AuditLogFilter=, :none, 2025, 11
451
+ deprecate :AuditLogFilter, :none, 2025, 12
452
+ deprecate :AuditLogFilter=, :none, 2025, 12
453
453
 
454
454
  def initialize(instanceid=nil, starttime=nil, endtime=nil, aggregationconditions=nil, auditlogfilter=nil, logfilter=nil)
455
455
  @InstanceId = instanceid
@@ -1108,10 +1108,10 @@ module TencentCloud
1108
1108
 
1109
1109
  attr_accessor :ExpandThreshold, :ShrinkThreshold, :ExpandPeriod, :ShrinkPeriod, :ExpandSecondPeriod, :ShrinkSecondPeriod
1110
1110
  extend Gem::Deprecate
1111
- deprecate :ExpandPeriod, :none, 2025, 11
1112
- deprecate :ExpandPeriod=, :none, 2025, 11
1113
- deprecate :ShrinkPeriod, :none, 2025, 11
1114
- deprecate :ShrinkPeriod=, :none, 2025, 11
1111
+ deprecate :ExpandPeriod, :none, 2025, 12
1112
+ deprecate :ExpandPeriod=, :none, 2025, 12
1113
+ deprecate :ShrinkPeriod, :none, 2025, 12
1114
+ deprecate :ShrinkPeriod=, :none, 2025, 12
1115
1115
 
1116
1116
  def initialize(expandthreshold=nil, shrinkthreshold=nil, expandperiod=nil, shrinkperiod=nil, expandsecondperiod=nil, shrinksecondperiod=nil)
1117
1117
  @ExpandThreshold = expandthreshold
@@ -1424,8 +1424,8 @@ module TencentCloud
1424
1424
 
1425
1425
  attr_accessor :Name, :Size, :Date, :IntranetUrl, :InternetUrl, :Type, :BinlogStartTime, :BinlogFinishTime, :Region, :Status, :RemoteInfo, :CosStorageType, :InstanceId
1426
1426
  extend Gem::Deprecate
1427
- deprecate :InstanceId, :none, 2025, 11
1428
- deprecate :InstanceId=, :none, 2025, 11
1427
+ deprecate :InstanceId, :none, 2025, 12
1428
+ deprecate :InstanceId=, :none, 2025, 12
1429
1429
 
1430
1430
  def initialize(name=nil, size=nil, date=nil, intraneturl=nil, interneturl=nil, type=nil, binlogstarttime=nil, binlogfinishtime=nil, region=nil, status=nil, remoteinfo=nil, cosstoragetype=nil, instanceid=nil)
1431
1431
  @Name = name
@@ -2375,8 +2375,8 @@ module TencentCloud
2375
2375
 
2376
2376
  attr_accessor :InstanceId, :StartTime, :EndTime, :Order, :OrderBy, :Filter, :LogFilter, :ColumnFilter
2377
2377
  extend Gem::Deprecate
2378
- deprecate :Filter, :none, 2025, 11
2379
- deprecate :Filter=, :none, 2025, 11
2378
+ deprecate :Filter, :none, 2025, 12
2379
+ deprecate :Filter=, :none, 2025, 12
2380
2380
 
2381
2381
  def initialize(instanceid=nil, starttime=nil, endtime=nil, order=nil, orderby=nil, filter=nil, logfilter=nil, columnfilter=nil)
2382
2382
  @InstanceId = instanceid
@@ -3075,10 +3075,10 @@ module TencentCloud
3075
3075
  # @param Volume: 实例硬盘大小,单位:GB,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的硬盘范围。
3076
3076
  # @type Volume: Integer
3077
3077
  # @param EngineVersion: MySQL 版本,值包括:5.5、5.6、5.7和8.0,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的实例版本。
3078
- # 说明:创建非集群版实例时,请根据需要指定实例版本(推荐5.7或8.0),若此参数不填,则默认值为5.6;若创建的是集群版实例,则此参数仅能指定为5.7或8.0。
3078
+ # 说明:创建非云盘版实例时,请根据需要指定实例版本(推荐5.7或8.0),若此参数不填,则默认值为8.0;若创建的是云盘版实例,则此参数仅能指定为5.7或8.0。
3079
3079
  # @type EngineVersion: String
3080
3080
  # @param UniqVpcId: 私有网络 ID,请使用 [查询私有网络列表](/document/api/215/15778)。
3081
- # 说明:如果创建的是集群版实例,此参数为必填且为私有网络类型。若此项不填,则系统会选择默认的 VPC。
3081
+ # 说明:如果创建的是云盘版实例,此参数为必填且为私有网络类型。若此项不填,则系统会选择默认的 VPC。
3082
3082
  # @type UniqVpcId: String
3083
3083
  # @param UniqSubnetId: 私有网络下的子网 ID,如果设置了 UniqVpcId,则 UniqSubnetId 必填,请使用 [查询子网列表](/document/api/215/15784)。
3084
3084
  # 说明:若此项不填,则系统会选择默认 VPC 下的默认子网。
@@ -3086,7 +3086,7 @@ module TencentCloud
3086
3086
  # @param ProjectId: 项目 ID,不填为默认项目。
3087
3087
  # @type ProjectId: Integer
3088
3088
  # @param Zone: 可用区信息,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的可用区。
3089
- # 说明:若您创建单节点、双节点、三节点实例,此参数为必填项,请指定可用区,若不指定可用区,则系统会自动选择一个可用区(可能不是您希望部署的可用区);若您创建集群版实例,此参数不填,请通过参数 ClusterTopology 进行读写节点和只读节点的可用区配置。
3089
+ # 说明:若您创建单节点、双节点、三节点实例,此参数为必填项,请指定可用区,若不指定可用区,则系统会自动选择一个可用区(可能不是您希望部署的可用区);若您创建云盘版实例,此参数不填,请通过参数 ClusterTopology 进行读写节点和只读节点的可用区配置。
3090
3090
  # @type Zone: String
3091
3091
  # @param MasterInstanceId: 实例 ID,购买只读实例或者灾备实例时必填,该字段表示只读实例或者灾备实例的主实例 ID,请使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口查询云数据库实例 ID。
3092
3092
  # @type MasterInstanceId: String
@@ -3108,7 +3108,7 @@ module TencentCloud
3108
3108
  # @param DeployMode: 多可用区域,默认为 0,支持值包括:0 - 表示单可用区,1 - 表示多可用区,购买主实例时可指定该参数,购买只读实例或者灾备实例时指定该参数无意义。
3109
3109
  # @type DeployMode: Integer
3110
3110
  # @param SlaveZone: 备库 1 的可用区信息。
3111
- # 说明:双节点、三节点实例请指定此参数值,若不指定,则默认为 Zone 的值;集群版实例此参数可不填,请通过参数 ClusterTopology 进行读写节点和只读节点的可用区配置;单节点实例为单可用区,无需指定此参数。
3111
+ # 说明:双节点、三节点实例请指定此参数值,若不指定,则默认为 Zone 的值;云盘版实例此参数可不填,请通过参数 ClusterTopology 进行读写节点和只读节点的可用区配置;单节点实例为单可用区,无需指定此参数。
3112
3112
  # @type SlaveZone: String
3113
3113
  # @param BackupZone: 备库 2 的可用区信息,默认为空,购买三节点主实例时可指定该参数。
3114
3114
  # @type BackupZone: String
@@ -3126,8 +3126,8 @@ module TencentCloud
3126
3126
  # @type DeployGroupId: String
3127
3127
  # @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间在48小时内唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
3128
3128
  # @type ClientToken: String
3129
- # @param DeviceType: 实例隔离类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"BASIC_V2" - ONTKE 单节点实例,"CLOUD_NATIVE_CLUSTER" - 集群版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 集群版加强型。不指定则默认为通用型实例。
3130
- # 说明:如果创建的是集群版实例,此参数为必填。
3129
+ # @param DeviceType: 实例隔离类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"BASIC_V2" - ONTKE 单节点实例,"CLOUD_NATIVE_CLUSTER" - 云盘版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 云盘版加强型。不指定则默认为通用型实例。
3130
+ # 说明:如果创建的是云盘版实例,此参数为必填。
3131
3131
  # @type DeviceType: String
3132
3132
  # @param ParamTemplateId: 参数模板 id。
3133
3133
  # 备注:如您使用自定义参数模板 id,可传入自定义参数模板 id;如您计划使用默认参数模板,该参数模板 id 传入 id 无效,需设置 ParamTemplateType。
@@ -3153,20 +3153,22 @@ module TencentCloud
3153
3153
  # @type EngineType: String
3154
3154
  # @param Vips: 指定实例的IP列表。仅支持主实例指定,按实例顺序,不足则按未指定处理。
3155
3155
  # @type Vips: Array
3156
- # @param DataProtectVolume: 集群版实例的数据保护空间大小,单位 GB,设置范围1 - 10。
3156
+ # @param DataProtectVolume: 云盘版实例的数据保护空间大小,单位 GB,设置范围1 - 10。
3157
3157
  # @type DataProtectVolume: Integer
3158
- # @param ClusterTopology: 集群版节点拓扑配置。
3159
- # 说明:若购买的是集群版实例,此参数为必填,需设置集群版实例的 RW 和 RO 节点拓扑,RO 节点范围是1 - 5个,请至少设置1个 RO 节点。
3158
+ # @param ClusterTopology: 云盘版节点拓扑配置。
3159
+ # 说明:若购买的是云盘版实例,此参数为必填,需设置云盘版实例的 RW 和 RO 节点拓扑,RO 节点范围是1 - 5个,请至少设置1个 RO 节点。
3160
3160
  # @type ClusterTopology: :class:`Tencentcloud::Cdb.v20170320.models.ClusterTopology`
3161
- # @param DiskType: 硬盘类型,单节点(云盘版)或者集群版实例可以指定此参数。CLOUD_SSD 表示 SSD 云硬盘,CLOUD_HSSD 表示增强型 SSD 云硬盘。
3162
- # 说明:单节点(云盘版)、集群版实例硬盘类型所支持的地域略有不同,具体支持情况请参考 [地域和可用区](https://cloud.tencent.com/document/product/236/8458)。
3161
+ # @param DiskType: 硬盘类型,单节点(云盘)或者云盘版实例可以指定此参数。CLOUD_SSD 表示 SSD 云硬盘,CLOUD_HSSD 表示增强型 SSD 云硬盘,CLOUD_PREMIUM 表示高性能云硬盘。
3162
+ # 说明:单节点(云盘)、云盘版实例硬盘类型所支持的地域略有不同,具体支持情况请参考 [地域和可用区](https://cloud.tencent.com/document/product/236/8458)。
3163
3163
  # @type DiskType: String
3164
3164
  # @param ClusterType: 集群类型:cage——金融围拢,cdc——CDB ON CDC;dedicate——独享集群
3165
3165
  # @type ClusterType: String
3166
+ # @param DestroyProtect: 开启或关闭实例销毁保护。on-开启,off-关闭
3167
+ # @type DestroyProtect: String
3166
3168
 
3167
- attr_accessor :GoodsNum, :Memory, :Volume, :EngineVersion, :UniqVpcId, :UniqSubnetId, :ProjectId, :Zone, :MasterInstanceId, :InstanceRole, :MasterRegion, :Port, :Password, :ParamList, :ProtectMode, :DeployMode, :SlaveZone, :BackupZone, :SecurityGroup, :RoGroup, :AutoRenewFlag, :InstanceName, :ResourceTags, :DeployGroupId, :ClientToken, :DeviceType, :ParamTemplateId, :AlarmPolicyList, :InstanceNodes, :Cpu, :AutoSyncFlag, :CageId, :ParamTemplateType, :AlarmPolicyIdList, :DryRun, :EngineType, :Vips, :DataProtectVolume, :ClusterTopology, :DiskType, :ClusterType
3169
+ attr_accessor :GoodsNum, :Memory, :Volume, :EngineVersion, :UniqVpcId, :UniqSubnetId, :ProjectId, :Zone, :MasterInstanceId, :InstanceRole, :MasterRegion, :Port, :Password, :ParamList, :ProtectMode, :DeployMode, :SlaveZone, :BackupZone, :SecurityGroup, :RoGroup, :AutoRenewFlag, :InstanceName, :ResourceTags, :DeployGroupId, :ClientToken, :DeviceType, :ParamTemplateId, :AlarmPolicyList, :InstanceNodes, :Cpu, :AutoSyncFlag, :CageId, :ParamTemplateType, :AlarmPolicyIdList, :DryRun, :EngineType, :Vips, :DataProtectVolume, :ClusterTopology, :DiskType, :ClusterType, :DestroyProtect
3168
3170
 
3169
- def initialize(goodsnum=nil, memory=nil, volume=nil, engineversion=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, zone=nil, masterinstanceid=nil, instancerole=nil, masterregion=nil, port=nil, password=nil, paramlist=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, securitygroup=nil, rogroup=nil, autorenewflag=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil, enginetype=nil, vips=nil, dataprotectvolume=nil, clustertopology=nil, disktype=nil, clustertype=nil)
3171
+ def initialize(goodsnum=nil, memory=nil, volume=nil, engineversion=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, zone=nil, masterinstanceid=nil, instancerole=nil, masterregion=nil, port=nil, password=nil, paramlist=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, securitygroup=nil, rogroup=nil, autorenewflag=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil, enginetype=nil, vips=nil, dataprotectvolume=nil, clustertopology=nil, disktype=nil, clustertype=nil, destroyprotect=nil)
3170
3172
  @GoodsNum = goodsnum
3171
3173
  @Memory = memory
3172
3174
  @Volume = volume
@@ -3208,6 +3210,7 @@ module TencentCloud
3208
3210
  @ClusterTopology = clustertopology
3209
3211
  @DiskType = disktype
3210
3212
  @ClusterType = clustertype
3213
+ @DestroyProtect = destroyprotect
3211
3214
  end
3212
3215
 
3213
3216
  def deserialize(params)
@@ -3272,6 +3275,7 @@ module TencentCloud
3272
3275
  end
3273
3276
  @DiskType = params['DiskType']
3274
3277
  @ClusterType = params['ClusterType']
3278
+ @DestroyProtect = params['DestroyProtect']
3275
3279
  end
3276
3280
  end
3277
3281
 
@@ -3310,10 +3314,10 @@ module TencentCloud
3310
3314
  # @param GoodsNum: 实例数量,默认值为1, 最小值1,最大值为100。
3311
3315
  # @type GoodsNum: Integer
3312
3316
  # @param Zone: 可用区信息,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的可用区。
3313
- # 说明:若您创建单节点、双节点、三节点实例,此参数为必填项,请指定可用区,若不指定可用区,则系统会自动选择一个可用区(可能不是您希望部署的可用区);若您创建集群版实例,此参数不填,请通过参数 ClusterTopology 进行读写节点和只读节点的可用区配置。
3317
+ # 说明:若您创建单节点、双节点、三节点实例,此参数为必填项,请指定可用区,若不指定可用区,则系统会自动选择一个可用区(可能不是您希望部署的可用区);若您创建云盘版实例,此参数不填,请通过参数 ClusterTopology 进行读写节点和只读节点的可用区配置。
3314
3318
  # @type Zone: String
3315
3319
  # @param UniqVpcId: 私有网络 ID,请使用 [查询私有网络列表](/document/api/215/15778)。
3316
- # 说明:如果创建的是集群版实例,此参数为必填且为私有网络类型。若此项不填,则系统会选择默认的 VPC。
3320
+ # 说明:如果创建的是云盘版实例,此参数为必填且为私有网络类型。若此项不填,则系统会选择默认的 VPC。
3317
3321
  # @type UniqVpcId: String
3318
3322
  # @param UniqSubnetId: 私有网络下的子网 ID,如果设置了 UniqVpcId,则 UniqSubnetId 必填,请使用 [查询子网列表](/document/api/215/15784)。
3319
3323
  # 说明:若此项不填,则系统会选择默认 VPC 下的默认子网。
@@ -3329,7 +3333,7 @@ module TencentCloud
3329
3333
  # @param MasterInstanceId: 实例 ID,购买只读实例或灾备实例时必填,该字段表示只读实例或灾备实例的主实例 ID,请使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口查询云数据库实例 ID。
3330
3334
  # @type MasterInstanceId: String
3331
3335
  # @param EngineVersion: MySQL 版本,值包括:5.5、5.6、5.7和8.0,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的实例版本。
3332
- # 说明:创建非集群版实例时,请根据需要指定实例版本(推荐5.7或8.0),若此参数不填,则默认值为5.6;若创建的是集群版实例,则此参数仅能指定为5.7或8.0。
3336
+ # 说明:创建非云盘版实例时,请根据需要指定实例版本(推荐5.7或8.0),若此参数不填,则默认值为8.0;若创建的是云盘版实例,则此参数仅能指定为5.7或8.0。
3333
3337
  # @type EngineVersion: String
3334
3338
  # @param Password: 设置 root 账号密码,密码规则:8 - 64 个字符,至少包含字母、数字、字符(支持的字符:_+-&=!@#$%^*())中的两种,购买主实例时可指定该参数,购买只读实例或者灾备实例时指定该参数无意义。
3335
3339
  # @type Password: String
@@ -3338,7 +3342,7 @@ module TencentCloud
3338
3342
  # @param DeployMode: 多可用区域,默认为 0,支持值包括:0 - 表示单可用区,1 - 表示多可用区。
3339
3343
  # @type DeployMode: Integer
3340
3344
  # @param SlaveZone: 备库 1 的可用区信息。
3341
- # 说明:双节点、三节点实例请指定此参数值,若不指定,则默认为 Zone 的值;集群版实例此参数可不填,请通过参数 ClusterTopology 进行读写节点和只读节点的可用区配置;单节点实例为单可用区,无需指定此参数。
3345
+ # 说明:双节点、三节点实例请指定此参数值,若不指定,则默认为 Zone 的值;云盘版实例此参数可不填,请通过参数 ClusterTopology 进行读写节点和只读节点的可用区配置;单节点实例为单可用区,无需指定此参数。
3342
3346
  # @type SlaveZone: String
3343
3347
  # @param ParamList: 参数列表,参数格式如 ParamList.0.Name=auto_increment&ParamList.0.Value=1。可通过 [查询默认的可设置参数列表](https://cloud.tencent.com/document/api/236/32662) 查询支持设置的参数。
3344
3348
  # 说明:表名大小写敏感的开启和关闭可通过参数 lower_case_table_names 进行设置,参数值为0表示开启,参数值为1表示关闭,若不设置则此参数默认值为0。若您创建的是 MySQL 8.0 版本的实例,则需要在创建实例时通过设置 lower_case_table_names 参数来开启或关闭表名大小写敏感,创建实例后无法修改参数,即创建后无法修改表名大小写敏感。其他数据库版本的实例支持在创建实例后修改 lower_case_table_names 参数。创建实例时设置表名大小写敏感的 API 调用方法请参见本文中的示例3。
@@ -3361,8 +3365,8 @@ module TencentCloud
3361
3365
  # @type DeployGroupId: String
3362
3366
  # @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间在48小时内唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
3363
3367
  # @type ClientToken: String
3364
- # @param DeviceType: 实例隔离类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"BASIC_V2" - ONTKE 单节点实例,"CLOUD_NATIVE_CLUSTER" - 集群版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 集群版加强型。不指定则默认为通用型实例。
3365
- # 说明:如果创建的是集群版实例,此参数为必填。
3368
+ # @param DeviceType: 实例隔离类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"BASIC_V2" - ONTKE 单节点实例,"CLOUD_NATIVE_CLUSTER" - 云盘版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 云盘版加强型。不指定则默认为通用型实例。
3369
+ # 说明:如果创建的是云盘版实例,此参数为必填。
3366
3370
  # @type DeviceType: String
3367
3371
  # @param ParamTemplateId: 参数模板 id。
3368
3372
  # 备注:如您使用自定义参数模板 id,可传入自定义参数模板 id;如您计划使用默认参数模板,该参数模板 id 传入 id 无效,需设置 ParamTemplateType。
@@ -3389,18 +3393,20 @@ module TencentCloud
3389
3393
  # @type EngineType: String
3390
3394
  # @param Vips: 指定实例的IP列表。仅支持主实例指定,按实例顺序,不足则按未指定处理。
3391
3395
  # @type Vips: Array
3392
- # @param DataProtectVolume: 集群版实例的数据保护空间大小,单位 GB,设置范围1 - 10。
3396
+ # @param DataProtectVolume: 云盘版实例的数据保护空间大小,单位 GB,设置范围1 - 10。
3393
3397
  # @type DataProtectVolume: Integer
3394
- # @param ClusterTopology: 集群版节点拓扑配置。
3395
- # 说明:若购买的是集群版实例,此参数为必填,需设置集群版实例的 RW 和 RO 节点拓扑,RO 节点范围是1 - 5个,请至少设置1个 RO 节点。
3398
+ # @param ClusterTopology: 云盘版节点拓扑配置。
3399
+ # 说明:若购买的是云盘版实例,此参数为必填,需设置云盘版实例的 RW 和 RO 节点拓扑,RO 节点范围是1 - 5个,请至少设置1个 RO 节点。
3396
3400
  # @type ClusterTopology: :class:`Tencentcloud::Cdb.v20170320.models.ClusterTopology`
3397
- # @param DiskType: 磁盘类型,单节点(云盘版)或者集群版实例可以指定此参数。CLOUD_SSD 表示 SSD 云硬盘,CLOUD_HSSD 表示增强型 SSD 云硬盘。
3398
- # 说明:单节点(云盘版)、集群版实例硬盘类型所支持的地域略有不同,具体支持情况请参考 [地域和可用区](https://cloud.tencent.com/document/product/236/8458)。
3401
+ # @param DiskType: 磁盘类型,单节点(云盘版)或者云盘版实例可以指定此参数。CLOUD_SSD 表示 SSD 云硬盘,CLOUD_HSSD 表示增强型 SSD 云硬盘,CLOUD_PREMIUM 表示高性能云硬盘。
3402
+ # 说明:单节点(云盘版)、云盘版实例硬盘类型所支持的地域略有不同,具体支持情况请参考 [地域和可用区](https://cloud.tencent.com/document/product/236/8458)。
3399
3403
  # @type DiskType: String
3404
+ # @param DestroyProtect: 开启或关闭实例销毁保护。on-开启,off-关闭
3405
+ # @type DestroyProtect: String
3400
3406
 
3401
- attr_accessor :Memory, :Volume, :Period, :GoodsNum, :Zone, :UniqVpcId, :UniqSubnetId, :ProjectId, :Port, :InstanceRole, :MasterInstanceId, :EngineVersion, :Password, :ProtectMode, :DeployMode, :SlaveZone, :ParamList, :BackupZone, :AutoRenewFlag, :MasterRegion, :SecurityGroup, :RoGroup, :InstanceName, :ResourceTags, :DeployGroupId, :ClientToken, :DeviceType, :ParamTemplateId, :AlarmPolicyList, :InstanceNodes, :Cpu, :AutoSyncFlag, :CageId, :ParamTemplateType, :AlarmPolicyIdList, :DryRun, :EngineType, :Vips, :DataProtectVolume, :ClusterTopology, :DiskType
3407
+ attr_accessor :Memory, :Volume, :Period, :GoodsNum, :Zone, :UniqVpcId, :UniqSubnetId, :ProjectId, :Port, :InstanceRole, :MasterInstanceId, :EngineVersion, :Password, :ProtectMode, :DeployMode, :SlaveZone, :ParamList, :BackupZone, :AutoRenewFlag, :MasterRegion, :SecurityGroup, :RoGroup, :InstanceName, :ResourceTags, :DeployGroupId, :ClientToken, :DeviceType, :ParamTemplateId, :AlarmPolicyList, :InstanceNodes, :Cpu, :AutoSyncFlag, :CageId, :ParamTemplateType, :AlarmPolicyIdList, :DryRun, :EngineType, :Vips, :DataProtectVolume, :ClusterTopology, :DiskType, :DestroyProtect
3402
3408
 
3403
- def initialize(memory=nil, volume=nil, period=nil, goodsnum=nil, zone=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, port=nil, instancerole=nil, masterinstanceid=nil, engineversion=nil, password=nil, protectmode=nil, deploymode=nil, slavezone=nil, paramlist=nil, backupzone=nil, autorenewflag=nil, masterregion=nil, securitygroup=nil, rogroup=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil, enginetype=nil, vips=nil, dataprotectvolume=nil, clustertopology=nil, disktype=nil)
3409
+ def initialize(memory=nil, volume=nil, period=nil, goodsnum=nil, zone=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, port=nil, instancerole=nil, masterinstanceid=nil, engineversion=nil, password=nil, protectmode=nil, deploymode=nil, slavezone=nil, paramlist=nil, backupzone=nil, autorenewflag=nil, masterregion=nil, securitygroup=nil, rogroup=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil, enginetype=nil, vips=nil, dataprotectvolume=nil, clustertopology=nil, disktype=nil, destroyprotect=nil)
3404
3410
  @Memory = memory
3405
3411
  @Volume = volume
3406
3412
  @Period = period
@@ -3442,6 +3448,7 @@ module TencentCloud
3442
3448
  @DataProtectVolume = dataprotectvolume
3443
3449
  @ClusterTopology = clustertopology
3444
3450
  @DiskType = disktype
3451
+ @DestroyProtect = destroyprotect
3445
3452
  end
3446
3453
 
3447
3454
  def deserialize(params)
@@ -3506,6 +3513,7 @@ module TencentCloud
3506
3513
  @ClusterTopology.deserialize(params['ClusterTopology'])
3507
3514
  end
3508
3515
  @DiskType = params['DiskType']
3516
+ @DestroyProtect = params['DestroyProtect']
3509
3517
  end
3510
3518
  end
3511
3519
 
@@ -5110,10 +5118,10 @@ module TencentCloud
5110
5118
 
5111
5119
  attr_accessor :StartTimeMin, :StartTimeMax, :BackupExpireDays, :BackupMethod, :BinlogExpireDays, :BackupTimeWindow, :EnableBackupPeriodSave, :BackupPeriodSaveDays, :BackupPeriodSaveInterval, :BackupPeriodSaveCount, :StartBackupPeriodSaveDate, :EnableBackupArchive, :BackupArchiveDays, :EnableBinlogArchive, :BinlogArchiveDays, :EnableBackupStandby, :BackupStandbyDays, :EnableBinlogStandby, :BinlogStandbyDays, :RequestId
5112
5120
  extend Gem::Deprecate
5113
- deprecate :StartTimeMin, :none, 2025, 11
5114
- deprecate :StartTimeMin=, :none, 2025, 11
5115
- deprecate :StartTimeMax, :none, 2025, 11
5116
- deprecate :StartTimeMax=, :none, 2025, 11
5121
+ deprecate :StartTimeMin, :none, 2025, 12
5122
+ deprecate :StartTimeMin=, :none, 2025, 12
5123
+ deprecate :StartTimeMax, :none, 2025, 12
5124
+ deprecate :StartTimeMax=, :none, 2025, 12
5117
5125
 
5118
5126
  def initialize(starttimemin=nil, starttimemax=nil, backupexpiredays=nil, backupmethod=nil, binlogexpiredays=nil, backuptimewindow=nil, enablebackupperiodsave=nil, backupperiodsavedays=nil, backupperiodsaveinterval=nil, backupperiodsavecount=nil, startbackupperiodsavedate=nil, enablebackuparchive=nil, backuparchivedays=nil, enablebinlogarchive=nil, binlogarchivedays=nil, enablebackupstandby=nil, backupstandbydays=nil, enablebinlogstandby=nil, binlogstandbydays=nil, requestid=nil)
5119
5127
  @StartTimeMin = starttimemin
@@ -7805,8 +7813,8 @@ module TencentCloud
7805
7813
 
7806
7814
  attr_accessor :Count, :CustomConf, :WeightRule, :CustomConfInfo, :RequestId
7807
7815
  extend Gem::Deprecate
7808
- deprecate :CustomConf, :none, 2025, 11
7809
- deprecate :CustomConf=, :none, 2025, 11
7816
+ deprecate :CustomConf, :none, 2025, 12
7817
+ deprecate :CustomConf=, :none, 2025, 12
7810
7818
 
7811
7819
  def initialize(count=nil, customconf=nil, weightrule=nil, customconfinfo=nil, requestid=nil)
7812
7820
  @Count = count
@@ -9801,8 +9809,8 @@ module TencentCloud
9801
9809
 
9802
9810
  attr_accessor :AsyncRequestId, :RequestId
9803
9811
  extend Gem::Deprecate
9804
- deprecate :AsyncRequestId, :none, 2025, 11
9805
- deprecate :AsyncRequestId=, :none, 2025, 11
9812
+ deprecate :AsyncRequestId, :none, 2025, 12
9813
+ deprecate :AsyncRequestId=, :none, 2025, 12
9806
9814
 
9807
9815
  def initialize(asyncrequestid=nil, requestid=nil)
9808
9816
  @AsyncRequestId = asyncrequestid
@@ -10542,8 +10550,8 @@ module TencentCloud
10542
10550
 
10543
10551
  attr_accessor :InstanceId, :LogExpireDay, :HighLogExpireDay, :AuditAll, :AuditRuleFilters, :RuleTemplateIds
10544
10552
  extend Gem::Deprecate
10545
- deprecate :AuditRuleFilters, :none, 2025, 11
10546
- deprecate :AuditRuleFilters=, :none, 2025, 11
10553
+ deprecate :AuditRuleFilters, :none, 2025, 12
10554
+ deprecate :AuditRuleFilters=, :none, 2025, 12
10547
10555
 
10548
10556
  def initialize(instanceid=nil, logexpireday=nil, highlogexpireday=nil, auditall=nil, auditrulefilters=nil, ruletemplateids=nil)
10549
10557
  @InstanceId = instanceid
@@ -11297,8 +11305,8 @@ module TencentCloud
11297
11305
 
11298
11306
  attr_accessor :AsyncRequestId, :RequestId
11299
11307
  extend Gem::Deprecate
11300
- deprecate :AsyncRequestId, :none, 2025, 11
11301
- deprecate :AsyncRequestId=, :none, 2025, 11
11308
+ deprecate :AsyncRequestId, :none, 2025, 12
11309
+ deprecate :AsyncRequestId=, :none, 2025, 12
11302
11310
 
11303
11311
  def initialize(asyncrequestid=nil, requestid=nil)
11304
11312
  @AsyncRequestId = asyncrequestid
@@ -11723,8 +11731,8 @@ module TencentCloud
11723
11731
 
11724
11732
  attr_accessor :RoGroupId, :RoGroupInfo, :RoWeightValues, :IsBalanceRoLoad, :ReplicationDelayTime
11725
11733
  extend Gem::Deprecate
11726
- deprecate :ReplicationDelayTime, :none, 2025, 11
11727
- deprecate :ReplicationDelayTime=, :none, 2025, 11
11734
+ deprecate :ReplicationDelayTime, :none, 2025, 12
11735
+ deprecate :ReplicationDelayTime=, :none, 2025, 12
11728
11736
 
11729
11737
  def initialize(rogroupid=nil, rogroupinfo=nil, roweightvalues=nil, isbalanceroload=nil, replicationdelaytime=nil)
11730
11738
  @RoGroupId = rogroupid
@@ -11955,8 +11963,8 @@ module TencentCloud
11955
11963
 
11956
11964
  attr_accessor :InstanceId, :LogExpireDay, :HighLogExpireDay, :AuditRuleFilters, :RuleTemplateIds, :AuditAll
11957
11965
  extend Gem::Deprecate
11958
- deprecate :AuditRuleFilters, :none, 2025, 11
11959
- deprecate :AuditRuleFilters=, :none, 2025, 11
11966
+ deprecate :AuditRuleFilters, :none, 2025, 12
11967
+ deprecate :AuditRuleFilters=, :none, 2025, 12
11960
11968
 
11961
11969
  def initialize(instanceid=nil, logexpireday=nil, highlogexpireday=nil, auditrulefilters=nil, ruletemplateids=nil, auditall=nil)
11962
11970
  @InstanceId = instanceid
@@ -12235,8 +12243,8 @@ module TencentCloud
12235
12243
 
12236
12244
  attr_accessor :InstanceId, :ParamName, :OldValue, :NewValue, :IsSucess, :ModifyTime, :IsSuccess
12237
12245
  extend Gem::Deprecate
12238
- deprecate :IsSucess, :none, 2025, 11
12239
- deprecate :IsSucess=, :none, 2025, 11
12246
+ deprecate :IsSucess, :none, 2025, 12
12247
+ deprecate :IsSucess=, :none, 2025, 12
12240
12248
 
12241
12249
  def initialize(instanceid=nil, paramname=nil, oldvalue=nil, newvalue=nil, issucess=nil, modifytime=nil, issuccess=nil)
12242
12250
  @InstanceId = instanceid
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: 3.0.1162
4
+ version: 3.0.1175
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-05 00:00:00.000000000 Z
11
+ date: 2025-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-cdb.rb
37
- - lib/v20170320/client.rb
38
36
  - lib/v20170320/models.rb
37
+ - lib/v20170320/client.rb
38
+ - lib/tencentcloud-sdk-cdb.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: