tencentcloud-sdk-tdcpg 1.0.347 → 1.0.348
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 +42 -12
- 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: 73a65fcf84e42fb891f2d776d49e2ff787c4ce0a
|
4
|
+
data.tar.gz: 5449fcb0932876a302ed3d218a1104d9d4eee988
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 628b26378254a023c3fe3e48262bb4ca963ce6536e8426498cfedf538d472ade1990465a828ab0cacc7c9830f37db81732e57870adec56a6b601b4d0594d417c
|
7
|
+
data.tar.gz: 725ea1d0b918852c555396e942fe5d9c57da515a4cf07036cf35efd5da3303efab55754c1cd5a55df5e233d1e6e8423c080dd9fa85c761dfff265e38df582d91
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.348
|
data/lib/v20211118/models.rb
CHANGED
@@ -218,7 +218,7 @@ module TencentCloud
|
|
218
218
|
# @type Region: String
|
219
219
|
# @param Zone: 可用区
|
220
220
|
# @type Zone: String
|
221
|
-
# @param DBVersion:
|
221
|
+
# @param DBVersion: TDSQL-C PostgreSQL 合入的社区版本号
|
222
222
|
# @type DBVersion: String
|
223
223
|
# @param ProjectId: 项目ID
|
224
224
|
# @type ProjectId: Integer
|
@@ -255,10 +255,14 @@ module TencentCloud
|
|
255
255
|
# @type InstanceCount: Integer
|
256
256
|
# @param EndpointSet: 集群内访问点信息
|
257
257
|
# @type EndpointSet: Array
|
258
|
+
# @param DBMajorVersion: TDSQL-C PostgreSQL 合入的社区主要版本号
|
259
|
+
# @type DBMajorVersion: String
|
260
|
+
# @param DBKernelVersion: TDSQL-C PostgreSQL 内核版本号
|
261
|
+
# @type DBKernelVersion: String
|
258
262
|
|
259
|
-
attr_accessor :ClusterId, :ClusterName, :Region, :Zone, :DBVersion, :ProjectId, :Status, :StatusDesc, :CreateTime, :StorageUsed, :StorageLimit, :PayMode, :PayPeriodEndTime, :AutoRenewFlag, :DBCharset, :InstanceCount, :EndpointSet
|
263
|
+
attr_accessor :ClusterId, :ClusterName, :Region, :Zone, :DBVersion, :ProjectId, :Status, :StatusDesc, :CreateTime, :StorageUsed, :StorageLimit, :PayMode, :PayPeriodEndTime, :AutoRenewFlag, :DBCharset, :InstanceCount, :EndpointSet, :DBMajorVersion, :DBKernelVersion
|
260
264
|
|
261
|
-
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)
|
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)
|
262
266
|
@ClusterId = clusterid
|
263
267
|
@ClusterName = clustername
|
264
268
|
@Region = region
|
@@ -276,6 +280,8 @@ module TencentCloud
|
|
276
280
|
@DBCharset = dbcharset
|
277
281
|
@InstanceCount = instancecount
|
278
282
|
@EndpointSet = endpointset
|
283
|
+
@DBMajorVersion = dbmajorversion
|
284
|
+
@DBKernelVersion = dbkernelversion
|
279
285
|
end
|
280
286
|
|
281
287
|
def deserialize(params)
|
@@ -303,6 +309,8 @@ module TencentCloud
|
|
303
309
|
@EndpointSet << endpoint_tmp
|
304
310
|
end
|
305
311
|
end
|
312
|
+
@DBMajorVersion = params['DBMajorVersion']
|
313
|
+
@DBKernelVersion = params['DBKernelVersion']
|
306
314
|
end
|
307
315
|
end
|
308
316
|
|
@@ -362,8 +370,6 @@ module TencentCloud
|
|
362
370
|
class CreateClusterRequest < TencentCloud::Common::AbstractModel
|
363
371
|
# @param Zone: 可用区
|
364
372
|
# @type Zone: String
|
365
|
-
# @param DBVersion: 数据库版本,目前仅支持 10.17
|
366
|
-
# @type DBVersion: String
|
367
373
|
# @param MasterUserPassword: 数据库用户密码,必须满足 8-64个字符,至少包含 大写字母、小写字母、数字和符号~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/中的任意三种
|
368
374
|
# @type MasterUserPassword: String
|
369
375
|
# @param CPU: CPU核数。取值参考文档【购买指南】
|
@@ -380,6 +386,10 @@ module TencentCloud
|
|
380
386
|
# @type PayMode: String
|
381
387
|
# @param ClusterName: 集群名,1-60个字符,可以包含中文、英文、数字和符号"-"、"_"、"."。不输入此参数时默认与ClusterId保持一致
|
382
388
|
# @type ClusterName: String
|
389
|
+
# @param DBVersion: TDSQL-C PostgreSQL 合入的社区版本号。
|
390
|
+
# 支持入参值为:10.17。当输入该参数时,会基于此版本号创建对应的最新DBKernelVersion数据库内核。
|
391
|
+
# 注:该参数与DBMajorVersion、DBKernelVersion只能传递一个,且需要传递一个。
|
392
|
+
# @type DBVersion: String
|
383
393
|
# @param ProjectId: 项目Id,默认为0表示默认项目
|
384
394
|
# @type ProjectId: Integer
|
385
395
|
# @param Port: 连接数据库时,Endpoint使用的端口。取值范围为[1,65534],默认值为5432
|
@@ -391,12 +401,19 @@ module TencentCloud
|
|
391
401
|
# @type Period: Integer
|
392
402
|
# @param AutoRenewFlag: 是否自动续费,0-不 1-是。默认值为0,只有当PayMode为PREPAID时生效。
|
393
403
|
# @type AutoRenewFlag: Integer
|
394
|
-
|
395
|
-
|
404
|
+
# @param DBMajorVersion: TDSQL-C PostgreSQL 合入的社区主要版本号。
|
405
|
+
# 支持入参值为:10。当输入该参数时,会基于此版本号创建对应的最新DBKernelVersion数据库内核。
|
406
|
+
# 注:该参数和DBVersion、DBKernelVersion只能传递一个,且需要传递一个。
|
407
|
+
# @type DBMajorVersion: String
|
408
|
+
# @param DBKernelVersion: TDSQL-C PostgreSQL 内核版本号。
|
409
|
+
# 支持入参值为:v10.17_r1.4。当输入该参数时,会创建此版本号对应的数据库内核。
|
410
|
+
# 注:该参数和DBVersion、DBMajorVersion只能传递一个,且需要传递一个。
|
411
|
+
# @type DBKernelVersion: String
|
412
|
+
|
413
|
+
attr_accessor :Zone, :MasterUserPassword, :CPU, :Memory, :VpcId, :SubnetId, :PayMode, :ClusterName, :DBVersion, :ProjectId, :Port, :InstanceCount, :Period, :AutoRenewFlag, :DBMajorVersion, :DBKernelVersion
|
396
414
|
|
397
|
-
def initialize(zone=nil,
|
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)
|
398
416
|
@Zone = zone
|
399
|
-
@DBVersion = dbversion
|
400
417
|
@MasterUserPassword = masteruserpassword
|
401
418
|
@CPU = cpu
|
402
419
|
@Memory = memory
|
@@ -404,16 +421,18 @@ module TencentCloud
|
|
404
421
|
@SubnetId = subnetid
|
405
422
|
@PayMode = paymode
|
406
423
|
@ClusterName = clustername
|
424
|
+
@DBVersion = dbversion
|
407
425
|
@ProjectId = projectid
|
408
426
|
@Port = port
|
409
427
|
@InstanceCount = instancecount
|
410
428
|
@Period = period
|
411
429
|
@AutoRenewFlag = autorenewflag
|
430
|
+
@DBMajorVersion = dbmajorversion
|
431
|
+
@DBKernelVersion = dbkernelversion
|
412
432
|
end
|
413
433
|
|
414
434
|
def deserialize(params)
|
415
435
|
@Zone = params['Zone']
|
416
|
-
@DBVersion = params['DBVersion']
|
417
436
|
@MasterUserPassword = params['MasterUserPassword']
|
418
437
|
@CPU = params['CPU']
|
419
438
|
@Memory = params['Memory']
|
@@ -421,11 +440,14 @@ module TencentCloud
|
|
421
440
|
@SubnetId = params['SubnetId']
|
422
441
|
@PayMode = params['PayMode']
|
423
442
|
@ClusterName = params['ClusterName']
|
443
|
+
@DBVersion = params['DBVersion']
|
424
444
|
@ProjectId = params['ProjectId']
|
425
445
|
@Port = params['Port']
|
426
446
|
@InstanceCount = params['InstanceCount']
|
427
447
|
@Period = params['Period']
|
428
448
|
@AutoRenewFlag = params['AutoRenewFlag']
|
449
|
+
@DBMajorVersion = params['DBMajorVersion']
|
450
|
+
@DBKernelVersion = params['DBKernelVersion']
|
429
451
|
end
|
430
452
|
end
|
431
453
|
|
@@ -1038,10 +1060,14 @@ module TencentCloud
|
|
1038
1060
|
# - RW:读写实例
|
1039
1061
|
# - RO:只读实例
|
1040
1062
|
# @type InstanceType: String
|
1063
|
+
# @param DBMajorVersion: TDSQL-C PostgreSQL 合入的社区主要版本号
|
1064
|
+
# @type DBMajorVersion: String
|
1065
|
+
# @param DBKernelVersion: TDSQL-C PostgreSQL 内核版本号
|
1066
|
+
# @type DBKernelVersion: String
|
1041
1067
|
|
1042
|
-
attr_accessor :InstanceId, :InstanceName, :ClusterId, :EndpointId, :Region, :Zone, :DBVersion, :Status, :StatusDesc, :CreateTime, :PayMode, :PayPeriodEndTime, :CPU, :Memory, :InstanceType
|
1068
|
+
attr_accessor :InstanceId, :InstanceName, :ClusterId, :EndpointId, :Region, :Zone, :DBVersion, :Status, :StatusDesc, :CreateTime, :PayMode, :PayPeriodEndTime, :CPU, :Memory, :InstanceType, :DBMajorVersion, :DBKernelVersion
|
1043
1069
|
|
1044
|
-
def initialize(instanceid=nil, instancename=nil, clusterid=nil, endpointid=nil, region=nil, zone=nil, dbversion=nil, status=nil, statusdesc=nil, createtime=nil, paymode=nil, payperiodendtime=nil, cpu=nil, memory=nil, instancetype=nil)
|
1070
|
+
def initialize(instanceid=nil, instancename=nil, clusterid=nil, endpointid=nil, region=nil, zone=nil, dbversion=nil, status=nil, statusdesc=nil, createtime=nil, paymode=nil, payperiodendtime=nil, cpu=nil, memory=nil, instancetype=nil, dbmajorversion=nil, dbkernelversion=nil)
|
1045
1071
|
@InstanceId = instanceid
|
1046
1072
|
@InstanceName = instancename
|
1047
1073
|
@ClusterId = clusterid
|
@@ -1057,6 +1083,8 @@ module TencentCloud
|
|
1057
1083
|
@CPU = cpu
|
1058
1084
|
@Memory = memory
|
1059
1085
|
@InstanceType = instancetype
|
1086
|
+
@DBMajorVersion = dbmajorversion
|
1087
|
+
@DBKernelVersion = dbkernelversion
|
1060
1088
|
end
|
1061
1089
|
|
1062
1090
|
def deserialize(params)
|
@@ -1075,6 +1103,8 @@ module TencentCloud
|
|
1075
1103
|
@CPU = params['CPU']
|
1076
1104
|
@Memory = params['Memory']
|
1077
1105
|
@InstanceType = params['InstanceType']
|
1106
|
+
@DBMajorVersion = params['DBMajorVersion']
|
1107
|
+
@DBKernelVersion = params['DBKernelVersion']
|
1078
1108
|
end
|
1079
1109
|
end
|
1080
1110
|
|
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: 1.0.
|
4
|
+
version: 1.0.348
|
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-07-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|