tencentcloud-sdk-postgres 1.0.294 → 1.0.295

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 +39 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28c7203760d66361320f146e46143a56f0b40358
4
- data.tar.gz: 5ff996a0d2ecae7b419f5b2bc1d8a27f422ab869
3
+ metadata.gz: 56ce7c0fcb544e18e530700faf547f5d7c0f4830
4
+ data.tar.gz: 176bc4a97756349725ec29e02307c15902892f8e
5
5
  SHA512:
6
- metadata.gz: 6561c61b01d04fa55efc43c60b0f871ae324395bcaf56c53e5b0f1d0dee74d04debea98636d0384379f8a610886259af2842215a91628c0af61c94751e861af4
7
- data.tar.gz: 7272f8d5d6113f06135d4499f909125eb7497ea80439fc751323857acedf0bbd6d02828e1dad74dfe39f2243a6b5e24aa81ca5cd0264b21d43e82af3edf87512
6
+ metadata.gz: 218bb8e6394ee8932613915a78b6aa3c3db1661f0f700d8825810c3fef8598e333535b5d69dfb954e54880ae5d4a229593cbcd4958d5fdd28090602ae38437cd
7
+ data.tar.gz: ea0ccebace92eb7468ecaeb7a1888754bb46586c64f6aab050ca7332e2a97886df9c587d06f40d533bed83f227976203b5afe75b3026bd4290e807c99de48b10
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.294
1
+ 1.0.295
@@ -585,7 +585,7 @@ module TencentCloud
585
585
  # @type AdminPassword: String
586
586
  # @param ProjectId: 项目ID。
587
587
  # @type ProjectId: Integer
588
- # @param DBVersion: PostgreSQL版本。当输入该参数时,会基于此版本创建对应的最新内核版本号实例
588
+ # @param DBVersion: PostgreSQL版本。当输入该参数时,会基于此版本创建对应的最新内核版本号实例。该参数和DBMajorVersion、DBKernelVersion至少需要传递一个。
589
589
  # @type DBVersion: String
590
590
  # @param InstanceChargeType: 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。
591
591
  # @type InstanceChargeType: String
@@ -609,16 +609,22 @@ module TencentCloud
609
609
  # @type TagList: Array
610
610
  # @param SecurityGroupIds: 安全组ID。
611
611
  # @type SecurityGroupIds: Array
612
- # @param DBMajorVersion: PostgreSQL主要版本。目前支持10,11,12,13这几个版本。当输入该参数时,会基于此版本创建对应的最新内核版本号实例
612
+ # @param DBMajorVersion: PostgreSQL主要版本。目前支持10,11,12,13这几个版本。当输入该参数时,会基于此版本创建对应的最新内核版本号实例。该参数和DBVersion、DBKernelVersion至少需要传递一个。
613
613
  # @type DBMajorVersion: String
614
- # @param DBKernelVersion: PostgreSQL内核版本。当输入该参数时,会创建该内核版本号实例
614
+ # @param DBKernelVersion: PostgreSQL内核版本。当输入该参数时,会创建该内核版本号实例。该参数和DBVersion、DBMajorVersion至少需要传递一个。
615
615
  # @type DBKernelVersion: String
616
616
  # @param DBNodeSet: 实例节点信息,购买跨可用区实例时填写。
617
617
  # @type DBNodeSet: Array
618
+ # @param NeedSupportTDE: 是否需要支持数据透明加密,1:是,0:否(默认)。
619
+ # @type NeedSupportTDE: Integer
620
+ # @param KMSKeyId: 自定义密钥的keyId,若选择自定义密匙加密,则需要传入自定义密匙的keyId,keyId是CMK的唯一标识。
621
+ # @type KMSKeyId: String
622
+ # @param KMSRegion: 使用KMS服务的地域,KMSRegion为空默认使用本地域的kms,本地域不支持的情况下需自选其他KMS支持的地域。
623
+ # @type KMSRegion: String
618
624
 
619
- 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
625
+ 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, :NeedSupportTDE, :KMSKeyId, :KMSRegion
620
626
 
621
- 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)
627
+ 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, needsupporttde=nil, kmskeyid=nil, kmsregion=nil)
622
628
  @SpecCode = speccode
623
629
  @Storage = storage
624
630
  @InstanceCount = instancecount
@@ -643,6 +649,9 @@ module TencentCloud
643
649
  @DBMajorVersion = dbmajorversion
644
650
  @DBKernelVersion = dbkernelversion
645
651
  @DBNodeSet = dbnodeset
652
+ @NeedSupportTDE = needsupporttde
653
+ @KMSKeyId = kmskeyid
654
+ @KMSRegion = kmsregion
646
655
  end
647
656
 
648
657
  def deserialize(params)
@@ -684,6 +693,9 @@ module TencentCloud
684
693
  @DBNodeSet << dbnode_tmp
685
694
  end
686
695
  end
696
+ @NeedSupportTDE = params['NeedSupportTDE']
697
+ @KMSKeyId = params['KMSKeyId']
698
+ @KMSRegion = params['KMSRegion']
687
699
  end
688
700
  end
689
701
 
@@ -753,7 +765,7 @@ module TencentCloud
753
765
  # @type NeedSupportIpv6: Integer
754
766
  # @param ReadOnlyGroupId: 只读组ID。
755
767
  # @type ReadOnlyGroupId: String
756
- # @param TagList: 实例需要绑定的Tag信息,默认为空
768
+ # @param TagList: 实例需要绑定的Tag信息,默认为空(该类型为Tag数组类型)
757
769
  # @type TagList: :class:`Tencentcloud::Postgres.v20170312.models.Tag`
758
770
  # @param SecurityGroupIds: 安全组id
759
771
  # @type SecurityGroupIds: Array
@@ -1187,10 +1199,13 @@ module TencentCloud
1187
1199
  # @param DBNodeSet: 实例的节点信息
1188
1200
  # 注意:此字段可能返回 null,表示取不到有效值。
1189
1201
  # @type DBNodeSet: Array
1202
+ # @param IsSupportTDE: 实例是否支持TDE数据加密 0:不支持,1:支持
1203
+ # 注意:此字段可能返回 null,表示取不到有效值。
1204
+ # @type IsSupportTDE: Integer
1190
1205
 
1191
- 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
1206
+ 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, :IsSupportTDE
1192
1207
 
1193
- 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)
1208
+ 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, issupporttde=nil)
1194
1209
  @Region = region
1195
1210
  @Zone = zone
1196
1211
  @ProjectId = projectid
@@ -1227,6 +1242,7 @@ module TencentCloud
1227
1242
  @NetworkAccessList = networkaccesslist
1228
1243
  @DBMajorVersion = dbmajorversion
1229
1244
  @DBNodeSet = dbnodeset
1245
+ @IsSupportTDE = issupporttde
1230
1246
  end
1231
1247
 
1232
1248
  def deserialize(params)
@@ -1294,6 +1310,7 @@ module TencentCloud
1294
1310
  @DBNodeSet << dbnode_tmp
1295
1311
  end
1296
1312
  end
1313
+ @IsSupportTDE = params['IsSupportTDE']
1297
1314
  end
1298
1315
  end
1299
1316
 
@@ -4688,13 +4705,17 @@ module TencentCloud
4688
4705
  # @type Zone: String
4689
4706
  # @param SpecItemInfoList: 规格详细信息列表
4690
4707
  # @type SpecItemInfoList: Array
4708
+ # @param SupportKMSRegions: 支持KMS的地域
4709
+ # 注意:此字段可能返回 null,表示取不到有效值。
4710
+ # @type SupportKMSRegions: Array
4691
4711
 
4692
- attr_accessor :Region, :Zone, :SpecItemInfoList
4712
+ attr_accessor :Region, :Zone, :SpecItemInfoList, :SupportKMSRegions
4693
4713
 
4694
- def initialize(region=nil, zone=nil, speciteminfolist=nil)
4714
+ def initialize(region=nil, zone=nil, speciteminfolist=nil, supportkmsregions=nil)
4695
4715
  @Region = region
4696
4716
  @Zone = zone
4697
4717
  @SpecItemInfoList = speciteminfolist
4718
+ @SupportKMSRegions = supportkmsregions
4698
4719
  end
4699
4720
 
4700
4721
  def deserialize(params)
@@ -4708,6 +4729,7 @@ module TencentCloud
4708
4729
  @SpecItemInfoList << speciteminfo_tmp
4709
4730
  end
4710
4731
  end
4732
+ @SupportKMSRegions = params['SupportKMSRegions']
4711
4733
  end
4712
4734
  end
4713
4735
 
@@ -4739,10 +4761,13 @@ module TencentCloud
4739
4761
  # @param KernelVersion: PostgreSQL的内核版本编号
4740
4762
  # 注意:此字段可能返回 null,表示取不到有效值。
4741
4763
  # @type KernelVersion: String
4764
+ # @param IsSupportTDE: 是否支持TDE数据加密功能,0-不支持,1-支持
4765
+ # 注意:此字段可能返回 null,表示取不到有效值。
4766
+ # @type IsSupportTDE: Integer
4742
4767
 
4743
- attr_accessor :SpecCode, :Version, :VersionName, :Cpu, :Memory, :MaxStorage, :MinStorage, :Qps, :Pid, :Type, :MajorVersion, :KernelVersion
4768
+ attr_accessor :SpecCode, :Version, :VersionName, :Cpu, :Memory, :MaxStorage, :MinStorage, :Qps, :Pid, :Type, :MajorVersion, :KernelVersion, :IsSupportTDE
4744
4769
 
4745
- 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)
4770
+ 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, issupporttde=nil)
4746
4771
  @SpecCode = speccode
4747
4772
  @Version = version
4748
4773
  @VersionName = versionname
@@ -4755,6 +4780,7 @@ module TencentCloud
4755
4780
  @Type = type
4756
4781
  @MajorVersion = majorversion
4757
4782
  @KernelVersion = kernelversion
4783
+ @IsSupportTDE = issupporttde
4758
4784
  end
4759
4785
 
4760
4786
  def deserialize(params)
@@ -4770,6 +4796,7 @@ module TencentCloud
4770
4796
  @Type = params['Type']
4771
4797
  @MajorVersion = params['MajorVersion']
4772
4798
  @KernelVersion = params['KernelVersion']
4799
+ @IsSupportTDE = params['IsSupportTDE']
4773
4800
  end
4774
4801
  end
4775
4802
 
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.294
4
+ version: 1.0.295
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-04-12 00:00:00.000000000 Z
11
+ date: 2022-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common