tencentcloud-sdk-postgres 3.0.984 → 3.0.985

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/v20170312/models.rb +31 -17
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 513e1f295d9c740788427826d87db7fa830f666d
4
- data.tar.gz: f5eecb97bf91aefa4830f68dfbfee064431aaf05
3
+ metadata.gz: 932b7d1040cef1ed352c3304c75024141b79e7fc
4
+ data.tar.gz: 7bd4d9df12d0ab89b60d3c7eba1524d3ea7332fa
5
5
  SHA512:
6
- metadata.gz: e095672e9599726f0e6cd36320f7a48c30e0474cd9424a1f6e6b4711012a25665e03a2623df5e858407a5512a3bc350c7718e31ef90de78dfc4c1ec807901141
7
- data.tar.gz: 94a9d1cc6c27ad51179244b52b050652293a095658a337872aa8030c472b9921df1da1cf5d5760064839b9b609729abc55c797c43cf34143b94378d65cfedd4f
6
+ metadata.gz: 4319b6fed5a093cd3337d0cca46359d2fe7fda2097c05269539b2c60b0cc6a34ac1a07ea16393ee68f4d168dbfb8e66782d0f73d2ea9ebcb0e53e0d13db624a6
7
+ data.tar.gz: 8247dd15db4a57c568b446e6d9f9aaf8cb208defd9aac009032bd2ad36e738d2dd57377e47a838467203d4fbc30bb3611113b9717c39efd9d7a000fec7b143d7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.984
1
+ 3.0.985
@@ -4767,12 +4767,12 @@ module TencentCloud
4767
4767
  # @param DBInstanceIdSet: 实例ID列表。注意:当前已不支持同时解隔离多个实例,这里只能传入单个实例ID。
4768
4768
  # @type DBInstanceIdSet: Array
4769
4769
  # @param Period: 购买时长,单位:月。
4770
- # <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
4771
- # <li>后付费:只支持1
4770
+ # <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
4771
+ # <li>后付费:只支持1</li>
4772
4772
  # @type Period: Integer
4773
4773
  # @param AutoVoucher: 是否使用代金券:
4774
- # <li>true:使用
4775
- # <li>false:不使用
4774
+ # <li>true:使用</li>
4775
+ # <li>false:不使用</li>
4776
4776
  # 默认值:false
4777
4777
  # @type AutoVoucher: Boolean
4778
4778
  # @param VoucherIds: 代金券id列表。
@@ -5510,20 +5510,26 @@ module TencentCloud
5510
5510
  # @type MaxBackupStartTime: String
5511
5511
  # @param BaseBackupRetentionPeriod: 实例备份保留时长,取值范围为7-1830,单位是天
5512
5512
  # @type BaseBackupRetentionPeriod: Integer
5513
- # @param BackupPeriod: 实例备份周期,按照星期维度,格式为小写星期英文单词
5513
+ # @param BackupPeriod: 实例备份周期,若是星期维度,格式为小写星期英文单词;若是按月维度,格式为数字字符,如["1","2"]。
5514
5514
  # @type BackupPeriod: Array
5515
5515
  # @param LogBackupRetentionPeriod: 实例日志备份保留时长,取值范围为7-1830,单位是天
5516
5516
  # @type LogBackupRetentionPeriod: Integer
5517
+ # @param PlanId: 备份计划ID,用于指明要修改哪个备份计划,不传则是修改默认备份计划。
5518
+ # @type PlanId: String
5519
+ # @param PlanName: 要修改的备份计划名称。
5520
+ # @type PlanName: String
5517
5521
 
5518
- attr_accessor :DBInstanceId, :MinBackupStartTime, :MaxBackupStartTime, :BaseBackupRetentionPeriod, :BackupPeriod, :LogBackupRetentionPeriod
5522
+ attr_accessor :DBInstanceId, :MinBackupStartTime, :MaxBackupStartTime, :BaseBackupRetentionPeriod, :BackupPeriod, :LogBackupRetentionPeriod, :PlanId, :PlanName
5519
5523
 
5520
- def initialize(dbinstanceid=nil, minbackupstarttime=nil, maxbackupstarttime=nil, basebackupretentionperiod=nil, backupperiod=nil, logbackupretentionperiod=nil)
5524
+ def initialize(dbinstanceid=nil, minbackupstarttime=nil, maxbackupstarttime=nil, basebackupretentionperiod=nil, backupperiod=nil, logbackupretentionperiod=nil, planid=nil, planname=nil)
5521
5525
  @DBInstanceId = dbinstanceid
5522
5526
  @MinBackupStartTime = minbackupstarttime
5523
5527
  @MaxBackupStartTime = maxbackupstarttime
5524
5528
  @BaseBackupRetentionPeriod = basebackupretentionperiod
5525
5529
  @BackupPeriod = backupperiod
5526
5530
  @LogBackupRetentionPeriod = logbackupretentionperiod
5531
+ @PlanId = planid
5532
+ @PlanName = planname
5527
5533
  end
5528
5534
 
5529
5535
  def deserialize(params)
@@ -5533,6 +5539,8 @@ module TencentCloud
5533
5539
  @BaseBackupRetentionPeriod = params['BaseBackupRetentionPeriod']
5534
5540
  @BackupPeriod = params['BackupPeriod']
5535
5541
  @LogBackupRetentionPeriod = params['LogBackupRetentionPeriod']
5542
+ @PlanId = params['PlanId']
5543
+ @PlanName = params['PlanName']
5536
5544
  end
5537
5545
  end
5538
5546
 
@@ -5597,22 +5605,22 @@ module TencentCloud
5597
5605
  # @param DBInstanceId: 实例ID,形如postgres-6fego161
5598
5606
  # @type DBInstanceId: String
5599
5607
  # @param InstanceChargeType: 实例计费类型,目前支持:
5600
- # <li>PREPAID:预付费,即包年包月
5601
- # <li>POSTPAID_BY_HOUR:后付费,即按量计费
5608
+ # <li>PREPAID:预付费,即包年包月</li>
5609
+ # <li>POSTPAID_BY_HOUR:后付费,即按量计费</li>
5602
5610
  # 默认值:PREPAID
5603
5611
  # @type InstanceChargeType: String
5604
5612
  # @param Period: 购买时长,单位:月。
5605
- # <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
5606
- # <li>后付费:只支持1
5613
+ # <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
5614
+ # <li>后付费:只支持1</li>
5607
5615
  # @type Period: Integer
5608
5616
  # @param AutoRenewFlag: 续费标记:
5609
- # <li>0:手动续费
5610
- # <li>1:自动续费
5617
+ # <li>0:手动续费</li>
5618
+ # <li>1:自动续费</li>
5611
5619
  # 默认值:0
5612
5620
  # @type AutoRenewFlag: Integer
5613
5621
  # @param AutoVoucher: 是否自动使用代金券:
5614
- # <li>0:否
5615
- # <li>1:是
5622
+ # <li>0:否</li>
5623
+ # <li>1:是</li>
5616
5624
  # 默认值:0
5617
5625
  # @type AutoVoucher: Integer
5618
5626
 
@@ -7131,9 +7139,14 @@ module TencentCloud
7131
7139
  class RenewInstanceRequest < TencentCloud::Common::AbstractModel
7132
7140
  # @param DBInstanceId: 实例ID,形如postgres-6fego161
7133
7141
  # @type DBInstanceId: String
7134
- # @param Period: 续费多少个月
7142
+ # @param Period: 购买时长,单位:月。
7143
+ # <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
7144
+ # <li>后付费:只支持1</li>
7135
7145
  # @type Period: Integer
7136
- # @param AutoVoucher: 是否自动使用代金券,1是,0否,默认不使用
7146
+ # @param AutoVoucher: 是否自动使用代金券:
7147
+ # <li>0:否</li>
7148
+ # <li>1:是</li>
7149
+ # 默认值:0
7137
7150
  # @type AutoVoucher: Integer
7138
7151
  # @param VoucherIds: 代金券ID列表,目前仅支持指定一张代金券
7139
7152
  # @type VoucherIds: Array
@@ -8040,6 +8053,7 @@ module TencentCloud
8040
8053
  # @type SupportedFeatureNames: Array
8041
8054
  # @param Status: 数据库版本状态,包括:
8042
8055
  # AVAILABLE:可用;
8056
+ # UPGRADE_ONLY:不可创建,此版本仅可升级至高版本;
8043
8057
  # DEPRECATED:已弃用。
8044
8058
  # @type Status: String
8045
8059
  # @param AvailableUpgradeTarget: 该数据库版本(DBKernelVersion)可以升级到的版本号列表。其中包含可升级的小版本号和可升级的大版本号(完整内核版本格式示例:v15.1_v1.6)。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.984
4
+ version: 3.0.985
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-01-16 00:00:00.000000000 Z
11
+ date: 2025-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common