tencentcloud-sdk-tdcpg 3.0.427 → 3.0.428
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/v20211118/models.rb +23 -5
- 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: 8d75e53ec855083d738b2a19c490bdec15aab89d
|
4
|
+
data.tar.gz: 3d293a07b5f9642859be454af55442c183c3f871
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f72ed4cabb46744de35ef6915bcad58f9941339a16047de0e67dc3c278cc8c6774d2b234fe9071f90ac193fab4a36d1bf1e4c8d9afb5661423f1cdb23b6b0ad
|
7
|
+
data.tar.gz: 8aadf9015b6b0bd8e142d7d9b3ce126173dc3a1eb9acb2fc9449a3a9825606a8ffd867327f68a87714e3ec4ae655a74c322e49bdc0aaec8d092c35fc09f95515
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.428
|
data/lib/v20211118/models.rb
CHANGED
@@ -259,10 +259,15 @@ module TencentCloud
|
|
259
259
|
# @type DBMajorVersion: String
|
260
260
|
# @param DBKernelVersion: TDSQL-C PostgreSQL 内核版本号
|
261
261
|
# @type DBKernelVersion: String
|
262
|
+
# @param StoragePayMode: 存储付费模式
|
263
|
+
# - PREPAID:预付费,即包年包月
|
264
|
+
# - POSTPAID_BY_HOUR:按小时后付费
|
265
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
266
|
+
# @type StoragePayMode: String
|
262
267
|
|
263
|
-
attr_accessor :ClusterId, :ClusterName, :Region, :Zone, :DBVersion, :ProjectId, :Status, :StatusDesc, :CreateTime, :StorageUsed, :StorageLimit, :PayMode, :PayPeriodEndTime, :AutoRenewFlag, :DBCharset, :InstanceCount, :EndpointSet, :DBMajorVersion, :DBKernelVersion
|
268
|
+
attr_accessor :ClusterId, :ClusterName, :Region, :Zone, :DBVersion, :ProjectId, :Status, :StatusDesc, :CreateTime, :StorageUsed, :StorageLimit, :PayMode, :PayPeriodEndTime, :AutoRenewFlag, :DBCharset, :InstanceCount, :EndpointSet, :DBMajorVersion, :DBKernelVersion, :StoragePayMode
|
264
269
|
|
265
|
-
def initialize(clusterid=nil, clustername=nil, region=nil, zone=nil, dbversion=nil, projectid=nil, status=nil, statusdesc=nil, createtime=nil, storageused=nil, storagelimit=nil, paymode=nil, payperiodendtime=nil, autorenewflag=nil, dbcharset=nil, instancecount=nil, endpointset=nil, dbmajorversion=nil, dbkernelversion=nil)
|
270
|
+
def initialize(clusterid=nil, clustername=nil, region=nil, zone=nil, dbversion=nil, projectid=nil, status=nil, statusdesc=nil, createtime=nil, storageused=nil, storagelimit=nil, paymode=nil, payperiodendtime=nil, autorenewflag=nil, dbcharset=nil, instancecount=nil, endpointset=nil, dbmajorversion=nil, dbkernelversion=nil, storagepaymode=nil)
|
266
271
|
@ClusterId = clusterid
|
267
272
|
@ClusterName = clustername
|
268
273
|
@Region = region
|
@@ -282,6 +287,7 @@ module TencentCloud
|
|
282
287
|
@EndpointSet = endpointset
|
283
288
|
@DBMajorVersion = dbmajorversion
|
284
289
|
@DBKernelVersion = dbkernelversion
|
290
|
+
@StoragePayMode = storagepaymode
|
285
291
|
end
|
286
292
|
|
287
293
|
def deserialize(params)
|
@@ -311,6 +317,7 @@ module TencentCloud
|
|
311
317
|
end
|
312
318
|
@DBMajorVersion = params['DBMajorVersion']
|
313
319
|
@DBKernelVersion = params['DBKernelVersion']
|
320
|
+
@StoragePayMode = params['StoragePayMode']
|
314
321
|
end
|
315
322
|
end
|
316
323
|
|
@@ -380,7 +387,7 @@ module TencentCloud
|
|
380
387
|
# @type VpcId: String
|
381
388
|
# @param SubnetId: 已配置的私有网络中的子网ID
|
382
389
|
# @type SubnetId: String
|
383
|
-
# @param PayMode:
|
390
|
+
# @param PayMode: 实例付费模式
|
384
391
|
# - PREPAID:预付费,即包年包月
|
385
392
|
# - POSTPAID_BY_HOUR:按小时后付费
|
386
393
|
# @type PayMode: String
|
@@ -409,10 +416,17 @@ module TencentCloud
|
|
409
416
|
# 支持入参值为:v10.17_r1.4。当输入该参数时,会创建此版本号对应的数据库内核。
|
410
417
|
# 注:该参数和DBVersion、DBMajorVersion只能传递一个,且需要传递一个。
|
411
418
|
# @type DBKernelVersion: String
|
419
|
+
# @param StoragePayMode: 存储付费模式
|
420
|
+
# - PREPAID:预付费,即包年包月
|
421
|
+
# - POSTPAID_BY_HOUR:按小时后付费
|
422
|
+
# 默认为POSTPAID_BY_HOUR,实例付费模式为按小时付费时,存储付费模式不支持包年包月
|
423
|
+
# @type StoragePayMode: String
|
424
|
+
# @param Storage: 存储最大使用量,单位GB。取值参考文档【购买指南】。存储使用预付费模式时必须设置,存储使用按小时后付费时不可设置
|
425
|
+
# @type Storage: Integer
|
412
426
|
|
413
|
-
attr_accessor :Zone, :MasterUserPassword, :CPU, :Memory, :VpcId, :SubnetId, :PayMode, :ClusterName, :DBVersion, :ProjectId, :Port, :InstanceCount, :Period, :AutoRenewFlag, :DBMajorVersion, :DBKernelVersion
|
427
|
+
attr_accessor :Zone, :MasterUserPassword, :CPU, :Memory, :VpcId, :SubnetId, :PayMode, :ClusterName, :DBVersion, :ProjectId, :Port, :InstanceCount, :Period, :AutoRenewFlag, :DBMajorVersion, :DBKernelVersion, :StoragePayMode, :Storage
|
414
428
|
|
415
|
-
def initialize(zone=nil, masteruserpassword=nil, cpu=nil, memory=nil, vpcid=nil, subnetid=nil, paymode=nil, clustername=nil, dbversion=nil, projectid=nil, port=nil, instancecount=nil, period=nil, autorenewflag=nil, dbmajorversion=nil, dbkernelversion=nil)
|
429
|
+
def initialize(zone=nil, masteruserpassword=nil, cpu=nil, memory=nil, vpcid=nil, subnetid=nil, paymode=nil, clustername=nil, dbversion=nil, projectid=nil, port=nil, instancecount=nil, period=nil, autorenewflag=nil, dbmajorversion=nil, dbkernelversion=nil, storagepaymode=nil, storage=nil)
|
416
430
|
@Zone = zone
|
417
431
|
@MasterUserPassword = masteruserpassword
|
418
432
|
@CPU = cpu
|
@@ -429,6 +443,8 @@ module TencentCloud
|
|
429
443
|
@AutoRenewFlag = autorenewflag
|
430
444
|
@DBMajorVersion = dbmajorversion
|
431
445
|
@DBKernelVersion = dbkernelversion
|
446
|
+
@StoragePayMode = storagepaymode
|
447
|
+
@Storage = storage
|
432
448
|
end
|
433
449
|
|
434
450
|
def deserialize(params)
|
@@ -448,6 +464,8 @@ module TencentCloud
|
|
448
464
|
@AutoRenewFlag = params['AutoRenewFlag']
|
449
465
|
@DBMajorVersion = params['DBMajorVersion']
|
450
466
|
@DBKernelVersion = params['DBKernelVersion']
|
467
|
+
@StoragePayMode = params['StoragePayMode']
|
468
|
+
@Storage = params['Storage']
|
451
469
|
end
|
452
470
|
end
|
453
471
|
|
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.
|
4
|
+
version: 3.0.428
|
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-
|
11
|
+
date: 2022-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|