tencentcloud-sdk-postgres 1.0.237 → 1.0.238

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/v20170312/models.rb +64 -9
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67d1bfc60fbca41a610c86b6b0b2778a845dcb79
4
- data.tar.gz: 51a86f8a262626df5f932f5d2f4baf48d76b48f3
3
+ metadata.gz: d903df1df52c33362cfbd3b825be3a92b0b8901a
4
+ data.tar.gz: 93d3820e2ba630b7eaca65dcbd1b7c42d1ebd1eb
5
5
  SHA512:
6
- metadata.gz: 5b8b0c9474079f0481f7880f255342fb8af54cb9be770763bdeb5a766d533deab0b58f2bbc0e7542fa3c8d4d1928b07dca6a9ca3b7fb5aba5f41710ca1ebf741
7
- data.tar.gz: 41d7cef42dc588bb66a8ce0bae5d6aacb710da483746cf1d811fa3d114045ace5c2eb620f8dd5494b10234214ae5bc7fc33c70a504ae2ee12e3e7f5b7cfbaea1
6
+ metadata.gz: 1c86146f233f6b386d3c7816c9475ec3015092a7cfa4de13ba72e34a648bcfbaaf3c9eed3628a0650f5e94c1569b32de6031f6131623529453ba62c080710313
7
+ data.tar.gz: 08bf11f8e7fe1d5fd50246bef777ca7d7051d8a7e40b62cd6ad475375a6a5ee7adb7417aa287963d2d3c24bb9d026c02b6211fdb4e6b35685b5bf219e8d70469
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.237
1
+ 1.0.238
@@ -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.237
4
+ version: 1.0.238
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-07 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common