tencentcloud-sdk-postgres 1.0.229 → 1.0.230
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/models.rb +56 -20
- 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: d92c1adeb7f3f6599311996b22016f35f3606cc3
|
4
|
+
data.tar.gz: 120ea004f7c49cc04252e04cf1650a426fcf351d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98cf09c7722038c118d7d8c6234f197d040e4737e815b9e8ffda7fd1b7dac3d8022ce14bb7b219f44eb79d09fc3180af34e194f1fe3ca7829b548bab1e1675fd
|
7
|
+
data.tar.gz: 5477955d9c35bc7e54fb5dc6333dd53e61f7b2376f9042ef921e505963bb022ec24277d459337b7646eacc0bcc020166aaf5e773f50cf96b28c7d2b0d89f493a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.230
|
data/lib/v20170312/models.rb
CHANGED
@@ -237,8 +237,6 @@ module TencentCloud
|
|
237
237
|
class CreateDBInstancesRequest < TencentCloud::Common::AbstractModel
|
238
238
|
# @param SpecCode: 售卖规格ID。该参数可以通过调用DescribeProductConfig的返回值中的SpecCode字段来获取。
|
239
239
|
# @type SpecCode: String
|
240
|
-
# @param DBVersion: PostgreSQL内核版本,目前支持以下版本:9.3.5、9.5.4、10.4、11.8、12.4 。
|
241
|
-
# @type DBVersion: String
|
242
240
|
# @param Storage: 实例容量大小,单位:GB。
|
243
241
|
# @type Storage: Integer
|
244
242
|
# @param InstanceCount: 一次性购买的实例数量。取值1-100
|
@@ -249,6 +247,8 @@ module TencentCloud
|
|
249
247
|
# @type Zone: String
|
250
248
|
# @param ProjectId: 项目ID。
|
251
249
|
# @type ProjectId: Integer
|
250
|
+
# @param DBVersion: PostgreSQL版本。当输入该参数时,会基于此版本创建对应的最新内核版本号实例。
|
251
|
+
# @type DBVersion: String
|
252
252
|
# @param InstanceChargeType: 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。
|
253
253
|
# @type InstanceChargeType: String
|
254
254
|
# @param AutoVoucher: 是否自动使用代金券。1(是),0(否),默认不使用。
|
@@ -271,17 +271,21 @@ module TencentCloud
|
|
271
271
|
# @type TagList: Array
|
272
272
|
# @param SecurityGroupIds: 安全组id
|
273
273
|
# @type SecurityGroupIds: Array
|
274
|
+
# @param DBMajorVersion: PostgreSQL主要版本。目前支持10,11,12,13这几个版本。当输入该参数时,会基于此版本创建对应的最新内核版本号实例。
|
275
|
+
# @type DBMajorVersion: String
|
276
|
+
# @param DBKernelVersion: PostgreSQL内核版本。当输入该参数时,会创建该内核版本号实例。
|
277
|
+
# @type DBKernelVersion: String
|
274
278
|
|
275
|
-
attr_accessor :SpecCode, :
|
279
|
+
attr_accessor :SpecCode, :Storage, :InstanceCount, :Period, :Zone, :ProjectId, :DBVersion, :InstanceChargeType, :AutoVoucher, :VoucherIds, :VpcId, :SubnetId, :AutoRenewFlag, :ActivityId, :Name, :NeedSupportIpv6, :TagList, :SecurityGroupIds, :DBMajorVersion, :DBKernelVersion
|
276
280
|
|
277
|
-
def initialize(speccode=nil,
|
281
|
+
def initialize(speccode=nil, storage=nil, instancecount=nil, period=nil, zone=nil, projectid=nil, dbversion=nil, instancechargetype=nil, autovoucher=nil, voucherids=nil, vpcid=nil, subnetid=nil, autorenewflag=nil, activityid=nil, name=nil, needsupportipv6=nil, taglist=nil, securitygroupids=nil, dbmajorversion=nil, dbkernelversion=nil)
|
278
282
|
@SpecCode = speccode
|
279
|
-
@DBVersion = dbversion
|
280
283
|
@Storage = storage
|
281
284
|
@InstanceCount = instancecount
|
282
285
|
@Period = period
|
283
286
|
@Zone = zone
|
284
287
|
@ProjectId = projectid
|
288
|
+
@DBVersion = dbversion
|
285
289
|
@InstanceChargeType = instancechargetype
|
286
290
|
@AutoVoucher = autovoucher
|
287
291
|
@VoucherIds = voucherids
|
@@ -293,16 +297,18 @@ module TencentCloud
|
|
293
297
|
@NeedSupportIpv6 = needsupportipv6
|
294
298
|
@TagList = taglist
|
295
299
|
@SecurityGroupIds = securitygroupids
|
300
|
+
@DBMajorVersion = dbmajorversion
|
301
|
+
@DBKernelVersion = dbkernelversion
|
296
302
|
end
|
297
303
|
|
298
304
|
def deserialize(params)
|
299
305
|
@SpecCode = params['SpecCode']
|
300
|
-
@DBVersion = params['DBVersion']
|
301
306
|
@Storage = params['Storage']
|
302
307
|
@InstanceCount = params['InstanceCount']
|
303
308
|
@Period = params['Period']
|
304
309
|
@Zone = params['Zone']
|
305
310
|
@ProjectId = params['ProjectId']
|
311
|
+
@DBVersion = params['DBVersion']
|
306
312
|
@InstanceChargeType = params['InstanceChargeType']
|
307
313
|
@AutoVoucher = params['AutoVoucher']
|
308
314
|
@VoucherIds = params['VoucherIds']
|
@@ -321,6 +327,8 @@ module TencentCloud
|
|
321
327
|
end
|
322
328
|
end
|
323
329
|
@SecurityGroupIds = params['SecurityGroupIds']
|
330
|
+
@DBMajorVersion = params['DBMajorVersion']
|
331
|
+
@DBKernelVersion = params['DBKernelVersion']
|
324
332
|
end
|
325
333
|
end
|
326
334
|
|
@@ -356,8 +364,6 @@ module TencentCloud
|
|
356
364
|
class CreateInstancesRequest < TencentCloud::Common::AbstractModel
|
357
365
|
# @param SpecCode: 售卖规格ID。该参数可以通过调用DescribeProductConfig的返回值中的SpecCode字段来获取。
|
358
366
|
# @type SpecCode: String
|
359
|
-
# @param DBVersion: PostgreSQL主版本,目前支持:9.3、9.5、10、11、12、13以及9.3.5、9.5.4、10.4、11.8、12.4版本。
|
360
|
-
# @type DBVersion: String
|
361
367
|
# @param Storage: 实例容量大小,单位:GB。
|
362
368
|
# @type Storage: Integer
|
363
369
|
# @param InstanceCount: 一次性购买的实例数量。取值1-10。
|
@@ -374,6 +380,8 @@ module TencentCloud
|
|
374
380
|
# @type AdminPassword: String
|
375
381
|
# @param ProjectId: 项目ID。
|
376
382
|
# @type ProjectId: Integer
|
383
|
+
# @param DBVersion: PostgreSQL版本。当输入该参数时,会基于此版本创建对应的最新内核版本号实例
|
384
|
+
# @type DBVersion: String
|
377
385
|
# @param InstanceChargeType: 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。
|
378
386
|
# @type InstanceChargeType: String
|
379
387
|
# @param AutoVoucher: 是否自动使用代金券。1(是),0(否),默认不使用。
|
@@ -396,12 +404,15 @@ module TencentCloud
|
|
396
404
|
# @type TagList: Array
|
397
405
|
# @param SecurityGroupIds: 安全组ID。
|
398
406
|
# @type SecurityGroupIds: Array
|
407
|
+
# @param DBMajorVersion: PostgreSQL主要版本。目前支持10,11,12,13这几个版本。当输入该参数时,会基于此版本创建对应的最新内核版本号实例
|
408
|
+
# @type DBMajorVersion: String
|
409
|
+
# @param DBKernelVersion: PostgreSQL内核版本。当输入该参数时,会创建该内核版本号实例
|
410
|
+
# @type DBKernelVersion: String
|
399
411
|
|
400
|
-
attr_accessor :SpecCode, :
|
412
|
+
attr_accessor :SpecCode, :Storage, :InstanceCount, :Period, :Zone, :Charset, :AdminName, :AdminPassword, :ProjectId, :DBVersion, :InstanceChargeType, :AutoVoucher, :VoucherIds, :VpcId, :SubnetId, :AutoRenewFlag, :ActivityId, :Name, :NeedSupportIpv6, :TagList, :SecurityGroupIds, :DBMajorVersion, :DBKernelVersion
|
401
413
|
|
402
|
-
def initialize(speccode=nil,
|
414
|
+
def initialize(speccode=nil, storage=nil, instancecount=nil, period=nil, zone=nil, charset=nil, adminname=nil, adminpassword=nil, projectid=nil, dbversion=nil, instancechargetype=nil, autovoucher=nil, voucherids=nil, vpcid=nil, subnetid=nil, autorenewflag=nil, activityid=nil, name=nil, needsupportipv6=nil, taglist=nil, securitygroupids=nil, dbmajorversion=nil, dbkernelversion=nil)
|
403
415
|
@SpecCode = speccode
|
404
|
-
@DBVersion = dbversion
|
405
416
|
@Storage = storage
|
406
417
|
@InstanceCount = instancecount
|
407
418
|
@Period = period
|
@@ -410,6 +421,7 @@ module TencentCloud
|
|
410
421
|
@AdminName = adminname
|
411
422
|
@AdminPassword = adminpassword
|
412
423
|
@ProjectId = projectid
|
424
|
+
@DBVersion = dbversion
|
413
425
|
@InstanceChargeType = instancechargetype
|
414
426
|
@AutoVoucher = autovoucher
|
415
427
|
@VoucherIds = voucherids
|
@@ -421,11 +433,12 @@ module TencentCloud
|
|
421
433
|
@NeedSupportIpv6 = needsupportipv6
|
422
434
|
@TagList = taglist
|
423
435
|
@SecurityGroupIds = securitygroupids
|
436
|
+
@DBMajorVersion = dbmajorversion
|
437
|
+
@DBKernelVersion = dbkernelversion
|
424
438
|
end
|
425
439
|
|
426
440
|
def deserialize(params)
|
427
441
|
@SpecCode = params['SpecCode']
|
428
|
-
@DBVersion = params['DBVersion']
|
429
442
|
@Storage = params['Storage']
|
430
443
|
@InstanceCount = params['InstanceCount']
|
431
444
|
@Period = params['Period']
|
@@ -434,6 +447,7 @@ module TencentCloud
|
|
434
447
|
@AdminName = params['AdminName']
|
435
448
|
@AdminPassword = params['AdminPassword']
|
436
449
|
@ProjectId = params['ProjectId']
|
450
|
+
@DBVersion = params['DBVersion']
|
437
451
|
@InstanceChargeType = params['InstanceChargeType']
|
438
452
|
@AutoVoucher = params['AutoVoucher']
|
439
453
|
@VoucherIds = params['VoucherIds']
|
@@ -452,6 +466,8 @@ module TencentCloud
|
|
452
466
|
end
|
453
467
|
end
|
454
468
|
@SecurityGroupIds = params['SecurityGroupIds']
|
469
|
+
@DBMajorVersion = params['DBMajorVersion']
|
470
|
+
@DBKernelVersion = params['DBKernelVersion']
|
455
471
|
end
|
456
472
|
end
|
457
473
|
|
@@ -846,7 +862,7 @@ module TencentCloud
|
|
846
862
|
# @type DBInstanceVersion: String
|
847
863
|
# @param DBCharset: 实例DB字符集
|
848
864
|
# @type DBCharset: String
|
849
|
-
# @param DBVersion: PostgreSQL
|
865
|
+
# @param DBVersion: PostgreSQL版本
|
850
866
|
# @type DBVersion: String
|
851
867
|
# @param CreateTime: 实例创建时间
|
852
868
|
# @type CreateTime: String
|
@@ -891,10 +907,13 @@ module TencentCloud
|
|
891
907
|
# @param NetworkAccessList: 实例网络信息列表(此字段已废弃)
|
892
908
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
893
909
|
# @type NetworkAccessList: Array
|
910
|
+
# @param DBMajorVersion: PostgreSQL主要版本
|
911
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
912
|
+
# @type DBMajorVersion: String
|
894
913
|
|
895
|
-
attr_accessor :Region, :Zone, :ProjectId, :VpcId, :SubnetId, :DBInstanceId, :DBInstanceName, :DBInstanceStatus, :DBInstanceMemory, :DBInstanceStorage, :DBInstanceCpu, :DBInstanceClass, :DBInstanceType, :DBInstanceVersion, :DBCharset, :DBVersion, :CreateTime, :UpdateTime, :ExpireTime, :IsolatedTime, :PayType, :AutoRenew, :DBInstanceNetInfo, :Type, :AppId, :Uid, :SupportIpv6, :TagList, :MasterDBInstanceId, :ReadOnlyInstanceNum, :StatusInReadonlyGroup, :OfflineTime, :DBKernelVersion, :NetworkAccessList
|
914
|
+
attr_accessor :Region, :Zone, :ProjectId, :VpcId, :SubnetId, :DBInstanceId, :DBInstanceName, :DBInstanceStatus, :DBInstanceMemory, :DBInstanceStorage, :DBInstanceCpu, :DBInstanceClass, :DBInstanceType, :DBInstanceVersion, :DBCharset, :DBVersion, :CreateTime, :UpdateTime, :ExpireTime, :IsolatedTime, :PayType, :AutoRenew, :DBInstanceNetInfo, :Type, :AppId, :Uid, :SupportIpv6, :TagList, :MasterDBInstanceId, :ReadOnlyInstanceNum, :StatusInReadonlyGroup, :OfflineTime, :DBKernelVersion, :NetworkAccessList, :DBMajorVersion
|
896
915
|
|
897
|
-
def initialize(region=nil, zone=nil, projectid=nil, vpcid=nil, subnetid=nil, dbinstanceid=nil, dbinstancename=nil, dbinstancestatus=nil, dbinstancememory=nil, dbinstancestorage=nil, dbinstancecpu=nil, dbinstanceclass=nil, dbinstancetype=nil, dbinstanceversion=nil, dbcharset=nil, dbversion=nil, createtime=nil, updatetime=nil, expiretime=nil, isolatedtime=nil, paytype=nil, autorenew=nil, dbinstancenetinfo=nil, type=nil, appid=nil, uid=nil, supportipv6=nil, taglist=nil, masterdbinstanceid=nil, readonlyinstancenum=nil, statusinreadonlygroup=nil, offlinetime=nil, dbkernelversion=nil, networkaccesslist=nil)
|
916
|
+
def initialize(region=nil, zone=nil, projectid=nil, vpcid=nil, subnetid=nil, dbinstanceid=nil, dbinstancename=nil, dbinstancestatus=nil, dbinstancememory=nil, dbinstancestorage=nil, dbinstancecpu=nil, dbinstanceclass=nil, dbinstancetype=nil, dbinstanceversion=nil, dbcharset=nil, dbversion=nil, createtime=nil, updatetime=nil, expiretime=nil, isolatedtime=nil, paytype=nil, autorenew=nil, dbinstancenetinfo=nil, type=nil, appid=nil, uid=nil, supportipv6=nil, taglist=nil, masterdbinstanceid=nil, readonlyinstancenum=nil, statusinreadonlygroup=nil, offlinetime=nil, dbkernelversion=nil, networkaccesslist=nil, dbmajorversion=nil)
|
898
917
|
@Region = region
|
899
918
|
@Zone = zone
|
900
919
|
@ProjectId = projectid
|
@@ -929,6 +948,7 @@ module TencentCloud
|
|
929
948
|
@OfflineTime = offlinetime
|
930
949
|
@DBKernelVersion = dbkernelversion
|
931
950
|
@NetworkAccessList = networkaccesslist
|
951
|
+
@DBMajorVersion = dbmajorversion
|
932
952
|
end
|
933
953
|
|
934
954
|
def deserialize(params)
|
@@ -987,6 +1007,7 @@ module TencentCloud
|
|
987
1007
|
@NetworkAccessList << networkaccess_tmp
|
988
1008
|
end
|
989
1009
|
end
|
1010
|
+
@DBMajorVersion = params['DBMajorVersion']
|
990
1011
|
end
|
991
1012
|
end
|
992
1013
|
|
@@ -3843,10 +3864,13 @@ module TencentCloud
|
|
3843
3864
|
# @param DBKernelVersion: 数据库内核版本
|
3844
3865
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3845
3866
|
# @type DBKernelVersion: String
|
3867
|
+
# @param DBMajorVersion: 数据库主要版本
|
3868
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3869
|
+
# @type DBMajorVersion: String
|
3846
3870
|
|
3847
|
-
attr_accessor :DBInstanceId, :DBInstanceName, :DBInstanceStatus, :Region, :Zone, :ProjectId, :VpcId, :SubnetId, :DBCharset, :DBVersion, :CreateTime, :DBInstanceNetInfo, :DBAccountSet, :DBDatabaseList, :TagList, :DBKernelVersion
|
3871
|
+
attr_accessor :DBInstanceId, :DBInstanceName, :DBInstanceStatus, :Region, :Zone, :ProjectId, :VpcId, :SubnetId, :DBCharset, :DBVersion, :CreateTime, :DBInstanceNetInfo, :DBAccountSet, :DBDatabaseList, :TagList, :DBKernelVersion, :DBMajorVersion
|
3848
3872
|
|
3849
|
-
def initialize(dbinstanceid=nil, dbinstancename=nil, dbinstancestatus=nil, region=nil, zone=nil, projectid=nil, vpcid=nil, subnetid=nil, dbcharset=nil, dbversion=nil, createtime=nil, dbinstancenetinfo=nil, dbaccountset=nil, dbdatabaselist=nil, taglist=nil, dbkernelversion=nil)
|
3873
|
+
def initialize(dbinstanceid=nil, dbinstancename=nil, dbinstancestatus=nil, region=nil, zone=nil, projectid=nil, vpcid=nil, subnetid=nil, dbcharset=nil, dbversion=nil, createtime=nil, dbinstancenetinfo=nil, dbaccountset=nil, dbdatabaselist=nil, taglist=nil, dbkernelversion=nil, dbmajorversion=nil)
|
3850
3874
|
@DBInstanceId = dbinstanceid
|
3851
3875
|
@DBInstanceName = dbinstancename
|
3852
3876
|
@DBInstanceStatus = dbinstancestatus
|
@@ -3863,6 +3887,7 @@ module TencentCloud
|
|
3863
3887
|
@DBDatabaseList = dbdatabaselist
|
3864
3888
|
@TagList = taglist
|
3865
3889
|
@DBKernelVersion = dbkernelversion
|
3890
|
+
@DBMajorVersion = dbmajorversion
|
3866
3891
|
end
|
3867
3892
|
|
3868
3893
|
def deserialize(params)
|
@@ -3903,6 +3928,7 @@ module TencentCloud
|
|
3903
3928
|
end
|
3904
3929
|
end
|
3905
3930
|
@DBKernelVersion = params['DBKernelVersion']
|
3931
|
+
@DBMajorVersion = params['DBMajorVersion']
|
3906
3932
|
end
|
3907
3933
|
end
|
3908
3934
|
|
@@ -4049,7 +4075,7 @@ module TencentCloud
|
|
4049
4075
|
class SpecItemInfo < TencentCloud::Common::AbstractModel
|
4050
4076
|
# @param SpecCode: 规格ID
|
4051
4077
|
# @type SpecCode: String
|
4052
|
-
# @param Version: PostgreSQL
|
4078
|
+
# @param Version: PostgreSQL的版本编号
|
4053
4079
|
# @type Version: String
|
4054
4080
|
# @param VersionName: 内核编号对应的完整版本名称
|
4055
4081
|
# @type VersionName: String
|
@@ -4067,10 +4093,16 @@ module TencentCloud
|
|
4067
4093
|
# @type Pid: Integer
|
4068
4094
|
# @param Type: 机器类型
|
4069
4095
|
# @type Type: String
|
4096
|
+
# @param MajorVersion: PostgreSQL的主要版本编号
|
4097
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4098
|
+
# @type MajorVersion: String
|
4099
|
+
# @param KernelVersion: PostgreSQL的内核版本编号
|
4100
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4101
|
+
# @type KernelVersion: String
|
4070
4102
|
|
4071
|
-
attr_accessor :SpecCode, :Version, :VersionName, :Cpu, :Memory, :MaxStorage, :MinStorage, :Qps, :Pid, :Type
|
4103
|
+
attr_accessor :SpecCode, :Version, :VersionName, :Cpu, :Memory, :MaxStorage, :MinStorage, :Qps, :Pid, :Type, :MajorVersion, :KernelVersion
|
4072
4104
|
|
4073
|
-
def initialize(speccode=nil, version=nil, versionname=nil, cpu=nil, memory=nil, maxstorage=nil, minstorage=nil, qps=nil, pid=nil, type=nil)
|
4105
|
+
def initialize(speccode=nil, version=nil, versionname=nil, cpu=nil, memory=nil, maxstorage=nil, minstorage=nil, qps=nil, pid=nil, type=nil, majorversion=nil, kernelversion=nil)
|
4074
4106
|
@SpecCode = speccode
|
4075
4107
|
@Version = version
|
4076
4108
|
@VersionName = versionname
|
@@ -4081,6 +4113,8 @@ module TencentCloud
|
|
4081
4113
|
@Qps = qps
|
4082
4114
|
@Pid = pid
|
4083
4115
|
@Type = type
|
4116
|
+
@MajorVersion = majorversion
|
4117
|
+
@KernelVersion = kernelversion
|
4084
4118
|
end
|
4085
4119
|
|
4086
4120
|
def deserialize(params)
|
@@ -4094,6 +4128,8 @@ module TencentCloud
|
|
4094
4128
|
@Qps = params['Qps']
|
4095
4129
|
@Pid = params['Pid']
|
4096
4130
|
@Type = params['Type']
|
4131
|
+
@MajorVersion = params['MajorVersion']
|
4132
|
+
@KernelVersion = params['KernelVersion']
|
4097
4133
|
end
|
4098
4134
|
end
|
4099
4135
|
|
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: 1.0.
|
4
|
+
version: 1.0.230
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|