tencentcloud-sdk-tdcpg 3.0.432 → 3.0.433

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/v20211118/models.rb +13 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45a536403504ca818b986d7a6088f5e86e309ed3
4
- data.tar.gz: 99c31977b2ac39cb280161f7c082b1944fb81f66
3
+ metadata.gz: feade0276806f08569b831e3b7ee9a3aa57c4c4e
4
+ data.tar.gz: 80b7549a11f8bb4d0e7ec520050d664f455a9ae9
5
5
  SHA512:
6
- metadata.gz: 72161d3a1976b8767046d059ac5091ec5cc6aa3e847ec69fc66bcb60c56cb3c3ec8c08b9aec2ce124d5e55ff2a82bca0323a6afcae617c3d3f9643d2e7da364a
7
- data.tar.gz: e37402b05324e2ac83b3285b386a319c5c5a56a06a82a23e9cc814f088d47f050c4e6256c071c97a914b397c6b09894495fb7ee4b0ab441df35526f716b37e83
6
+ metadata.gz: 2c5a7dcd41bf668f8c53a26e0d384977fbcc06572f1540f6731ea34b374eba05e4bf7f97fb61cc8a65038b51e9d6df519879b5e9bd5598040ceeca92382d39a2
7
+ data.tar.gz: dd58f22226c1e262fd0512a16df90e6ee4fdf3bc273c7ddc6c0c378804895662e440de8cd5fc0b43a69e20557571a072e609575755c702b48d305fe99a9d7f00
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.432
1
+ 3.0.433
@@ -148,10 +148,17 @@ module TencentCloud
148
148
  # @type Period: Integer
149
149
  # @param AutoRenewFlag: 是否自动续费,0-不 1-是。默认为0,只有当PayMode为PREPAID时生效。
150
150
  # @type AutoRenewFlag: Integer
151
+ # @param StoragePayMode: 存储付费模式
152
+ # - PREPAID:预付费,即包年包月
153
+ # - POSTPAID_BY_HOUR:按小时后付费
154
+ # 默认为POSTPAID_BY_HOUR,实例付费模式为按小时付费时,存储付费模式不支持包年包月
155
+ # @type StoragePayMode: String
156
+ # @param Storage: 存储最大使用量,单位GB。取值参考文档【购买指南】。存储使用预付费模式时必须设置,存储使用按小时后付费时不可设置
157
+ # @type Storage: Integer
151
158
 
152
- attr_accessor :Zone, :DBVersion, :CPU, :Memory, :VpcId, :SubnetId, :PayMode, :SourceClusterId, :SourceDataPoint, :ClusterName, :ProjectId, :Port, :InstanceCount, :Period, :AutoRenewFlag
159
+ attr_accessor :Zone, :DBVersion, :CPU, :Memory, :VpcId, :SubnetId, :PayMode, :SourceClusterId, :SourceDataPoint, :ClusterName, :ProjectId, :Port, :InstanceCount, :Period, :AutoRenewFlag, :StoragePayMode, :Storage
153
160
 
154
- def initialize(zone=nil, dbversion=nil, cpu=nil, memory=nil, vpcid=nil, subnetid=nil, paymode=nil, sourceclusterid=nil, sourcedatapoint=nil, clustername=nil, projectid=nil, port=nil, instancecount=nil, period=nil, autorenewflag=nil)
161
+ def initialize(zone=nil, dbversion=nil, cpu=nil, memory=nil, vpcid=nil, subnetid=nil, paymode=nil, sourceclusterid=nil, sourcedatapoint=nil, clustername=nil, projectid=nil, port=nil, instancecount=nil, period=nil, autorenewflag=nil, storagepaymode=nil, storage=nil)
155
162
  @Zone = zone
156
163
  @DBVersion = dbversion
157
164
  @CPU = cpu
@@ -167,6 +174,8 @@ module TencentCloud
167
174
  @InstanceCount = instancecount
168
175
  @Period = period
169
176
  @AutoRenewFlag = autorenewflag
177
+ @StoragePayMode = storagepaymode
178
+ @Storage = storage
170
179
  end
171
180
 
172
181
  def deserialize(params)
@@ -185,6 +194,8 @@ module TencentCloud
185
194
  @InstanceCount = params['InstanceCount']
186
195
  @Period = params['Period']
187
196
  @AutoRenewFlag = params['AutoRenewFlag']
197
+ @StoragePayMode = params['StoragePayMode']
198
+ @Storage = params['Storage']
188
199
  end
189
200
  end
190
201
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tdcpg
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.432
4
+ version: 3.0.433
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-10-20 00:00:00.000000000 Z
11
+ date: 2022-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common