tencentcloud-sdk-postgres 1.0.235 → 1.0.239
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/v20170312/models.rb +64 -9
- 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: 89bf3552d2d9a6d25164438fb791b4d981147a7d
|
4
|
+
data.tar.gz: 6dc05ca1532eaf4c9ce8055ed25c07f19b93f282
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f637ab10cb9ecb880933dc1f4e9deee7fedeae977004f0955bdeb63ff75fcda253cef326f432d7827c9450d1c776eb1d1a3b50962b8b6a6549388e6ca20fb3d7
|
7
|
+
data.tar.gz: 51fe3dd4dd4daa9880c4a1372552159a79f7e360d6d309a0af06e1dae28e50fb9ba09697df314bc9147bddf5186319dc8f3e9821cededb16d4f89033400bc5c6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.239
|
data/lib/v20170312/models.rb
CHANGED
@@ -408,10 +408,12 @@ module TencentCloud
|
|
408
408
|
# @type DBMajorVersion: String
|
409
409
|
# @param DBKernelVersion: PostgreSQL内核版本。当输入该参数时,会创建该内核版本号实例
|
410
410
|
# @type DBKernelVersion: String
|
411
|
+
# @param DBNodeSet: 实例节点信息,购买跨可用区实例时填写。
|
412
|
+
# @type DBNodeSet: Array
|
411
413
|
|
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
|
414
|
+
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, :DBNodeSet
|
413
415
|
|
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)
|
416
|
+
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, dbnodeset=nil)
|
415
417
|
@SpecCode = speccode
|
416
418
|
@Storage = storage
|
417
419
|
@InstanceCount = instancecount
|
@@ -435,6 +437,7 @@ module TencentCloud
|
|
435
437
|
@SecurityGroupIds = securitygroupids
|
436
438
|
@DBMajorVersion = dbmajorversion
|
437
439
|
@DBKernelVersion = dbkernelversion
|
440
|
+
@DBNodeSet = dbnodeset
|
438
441
|
end
|
439
442
|
|
440
443
|
def deserialize(params)
|
@@ -468,6 +471,14 @@ module TencentCloud
|
|
468
471
|
@SecurityGroupIds = params['SecurityGroupIds']
|
469
472
|
@DBMajorVersion = params['DBMajorVersion']
|
470
473
|
@DBKernelVersion = params['DBKernelVersion']
|
474
|
+
unless params['DBNodeSet'].nil?
|
475
|
+
@DBNodeSet = []
|
476
|
+
params['DBNodeSet'].each do |i|
|
477
|
+
dbnode_tmp = DBNode.new
|
478
|
+
dbnode_tmp.deserialize(i)
|
479
|
+
@DBNodeSet << dbnode_tmp
|
480
|
+
end
|
481
|
+
end
|
471
482
|
end
|
472
483
|
end
|
473
484
|
|
@@ -798,10 +809,13 @@ module TencentCloud
|
|
798
809
|
# @type InternalAddr: String
|
799
810
|
# @param ExternalAddr: 外网下载地址
|
800
811
|
# @type ExternalAddr: String
|
812
|
+
# @param SetId: 备份集ID
|
813
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
814
|
+
# @type SetId: String
|
801
815
|
|
802
|
-
attr_accessor :Id, :StartTime, :EndTime, :Size, :Strategy, :Way, :Type, :Status, :DbList, :InternalAddr, :ExternalAddr
|
816
|
+
attr_accessor :Id, :StartTime, :EndTime, :Size, :Strategy, :Way, :Type, :Status, :DbList, :InternalAddr, :ExternalAddr, :SetId
|
803
817
|
|
804
|
-
def initialize(id=nil, starttime=nil, endtime=nil, size=nil, strategy=nil, way=nil, type=nil, status=nil, dblist=nil, internaladdr=nil, externaladdr=nil)
|
818
|
+
def initialize(id=nil, starttime=nil, endtime=nil, size=nil, strategy=nil, way=nil, type=nil, status=nil, dblist=nil, internaladdr=nil, externaladdr=nil, setid=nil)
|
805
819
|
@Id = id
|
806
820
|
@StartTime = starttime
|
807
821
|
@EndTime = endtime
|
@@ -813,6 +827,7 @@ module TencentCloud
|
|
813
827
|
@DbList = dblist
|
814
828
|
@InternalAddr = internaladdr
|
815
829
|
@ExternalAddr = externaladdr
|
830
|
+
@SetId = setid
|
816
831
|
end
|
817
832
|
|
818
833
|
def deserialize(params)
|
@@ -827,6 +842,7 @@ module TencentCloud
|
|
827
842
|
@DbList = params['DbList']
|
828
843
|
@InternalAddr = params['InternalAddr']
|
829
844
|
@ExternalAddr = params['ExternalAddr']
|
845
|
+
@SetId = params['SetId']
|
830
846
|
end
|
831
847
|
end
|
832
848
|
|
@@ -910,10 +926,13 @@ module TencentCloud
|
|
910
926
|
# @param DBMajorVersion: PostgreSQL主要版本
|
911
927
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
912
928
|
# @type DBMajorVersion: String
|
929
|
+
# @param DBNodeSet: 实例的节点信息
|
930
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
931
|
+
# @type DBNodeSet: Array
|
913
932
|
|
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
|
933
|
+
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, :DBNodeSet
|
915
934
|
|
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)
|
935
|
+
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, dbnodeset=nil)
|
917
936
|
@Region = region
|
918
937
|
@Zone = zone
|
919
938
|
@ProjectId = projectid
|
@@ -949,6 +968,7 @@ module TencentCloud
|
|
949
968
|
@DBKernelVersion = dbkernelversion
|
950
969
|
@NetworkAccessList = networkaccesslist
|
951
970
|
@DBMajorVersion = dbmajorversion
|
971
|
+
@DBNodeSet = dbnodeset
|
952
972
|
end
|
953
973
|
|
954
974
|
def deserialize(params)
|
@@ -1008,6 +1028,14 @@ module TencentCloud
|
|
1008
1028
|
end
|
1009
1029
|
end
|
1010
1030
|
@DBMajorVersion = params['DBMajorVersion']
|
1031
|
+
unless params['DBNodeSet'].nil?
|
1032
|
+
@DBNodeSet = []
|
1033
|
+
params['DBNodeSet'].each do |i|
|
1034
|
+
dbnode_tmp = DBNode.new
|
1035
|
+
dbnode_tmp.deserialize(i)
|
1036
|
+
@DBNodeSet << dbnode_tmp
|
1037
|
+
end
|
1038
|
+
end
|
1011
1039
|
end
|
1012
1040
|
end
|
1013
1041
|
|
@@ -1053,6 +1081,28 @@ module TencentCloud
|
|
1053
1081
|
end
|
1054
1082
|
end
|
1055
1083
|
|
1084
|
+
# 描述实例节点信息,包括节点类型、节点所在可用区。
|
1085
|
+
class DBNode < TencentCloud::Common::AbstractModel
|
1086
|
+
# @param Role: 节点类型,值可以为:
|
1087
|
+
# Primary,代表主节点;
|
1088
|
+
# Standby,代表备节点。
|
1089
|
+
# @type Role: String
|
1090
|
+
# @param Zone: 节点所在可用区,例如 ap-guangzhou-1。
|
1091
|
+
# @type Zone: String
|
1092
|
+
|
1093
|
+
attr_accessor :Role, :Zone
|
1094
|
+
|
1095
|
+
def initialize(role=nil, zone=nil)
|
1096
|
+
@Role = role
|
1097
|
+
@Zone = zone
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
def deserialize(params)
|
1101
|
+
@Role = params['Role']
|
1102
|
+
@Zone = params['Zone']
|
1103
|
+
end
|
1104
|
+
end
|
1105
|
+
|
1056
1106
|
# DeleteReadOnlyGroup请求参数结构体
|
1057
1107
|
class DeleteReadOnlyGroupRequest < TencentCloud::Common::AbstractModel
|
1058
1108
|
# @param ReadOnlyGroupId: 待删除只读组ID
|
@@ -4269,19 +4319,23 @@ module TencentCloud
|
|
4269
4319
|
# @type ZoneName: String
|
4270
4320
|
# @param ZoneId: 该可用区对应的数字编号
|
4271
4321
|
# @type ZoneId: Integer
|
4272
|
-
# @param ZoneState: 可用状态,UNAVAILABLE表示不可用,AVAILABLE
|
4322
|
+
# @param ZoneState: 可用状态,UNAVAILABLE表示不可用,AVAILABLE表示可用,SELLOUT表示售罄
|
4273
4323
|
# @type ZoneState: String
|
4274
4324
|
# @param ZoneSupportIpv6: 该可用区是否支持Ipv6
|
4275
4325
|
# @type ZoneSupportIpv6: Integer
|
4326
|
+
# @param StandbyZoneSet: 该可用区对应的备可用区集合
|
4327
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4328
|
+
# @type StandbyZoneSet: Array
|
4276
4329
|
|
4277
|
-
attr_accessor :Zone, :ZoneName, :ZoneId, :ZoneState, :ZoneSupportIpv6
|
4330
|
+
attr_accessor :Zone, :ZoneName, :ZoneId, :ZoneState, :ZoneSupportIpv6, :StandbyZoneSet
|
4278
4331
|
|
4279
|
-
def initialize(zone=nil, zonename=nil, zoneid=nil, zonestate=nil, zonesupportipv6=nil)
|
4332
|
+
def initialize(zone=nil, zonename=nil, zoneid=nil, zonestate=nil, zonesupportipv6=nil, standbyzoneset=nil)
|
4280
4333
|
@Zone = zone
|
4281
4334
|
@ZoneName = zonename
|
4282
4335
|
@ZoneId = zoneid
|
4283
4336
|
@ZoneState = zonestate
|
4284
4337
|
@ZoneSupportIpv6 = zonesupportipv6
|
4338
|
+
@StandbyZoneSet = standbyzoneset
|
4285
4339
|
end
|
4286
4340
|
|
4287
4341
|
def deserialize(params)
|
@@ -4290,6 +4344,7 @@ module TencentCloud
|
|
4290
4344
|
@ZoneId = params['ZoneId']
|
4291
4345
|
@ZoneState = params['ZoneState']
|
4292
4346
|
@ZoneSupportIpv6 = params['ZoneSupportIpv6']
|
4347
|
+
@StandbyZoneSet = params['StandbyZoneSet']
|
4293
4348
|
end
|
4294
4349
|
end
|
4295
4350
|
|
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.239
|
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-01-
|
11
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|