tencentcloud-sdk-postgres 3.0.617 → 3.0.618

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19c069962b35a2789770383f311545f4aef364be
4
- data.tar.gz: ecdc493f374ee3be67fcc2066586d763aa312f17
3
+ metadata.gz: eaa4480ae7f5f39f61469a94c397b405b3901ce3
4
+ data.tar.gz: ce410bd585d05f3934cda900e667867b1be6bcda
5
5
  SHA512:
6
- metadata.gz: 20df65f9ebb4acb8586a8c7056527a3786643623315a39ab39d83f077cac6fd23f07b46a7a2ac7d11cfb6d0daaecb1b59e46be815c3b53e23acd5111c897c4ec
7
- data.tar.gz: 16245da875f412cdd131ade73bc4bc6aa51225a46005f4b4d8c37dd2a07eafdb87256b77d2209e3eb095cd563b986f00c21b4acc5033b7c07a44e8a36e4f9511
6
+ metadata.gz: c1f2e0b759a8bfc70a6713928c2ab5a014907cf0f84b07633689cc2bfbe07611209bcbc9ddd22ddeb461886a0c4a3543b4cdb09c34bd26cd2b7f8397a4ec4287
7
+ data.tar.gz: d96ddc518baa340d3f22e49fc4289ce0692f9938af312a003411f8c3ac618e092b7f33ad287b7a4d6a10127f85d6d300a5dc8f82c1e63c3c5ae6bb3ef48b1358
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.617
1
+ 3.0.618
@@ -198,6 +198,8 @@ module TencentCloud
198
198
  end
199
199
 
200
200
  # 本接口 (CreateInstances) 用于创建一个或者多个PostgreSQL实例,通过此接口创建的实例无需进行初始化,可直接使用。
201
+ # <li>实例创建成功后将自动开机启动,实例状态变为“运行中”。
202
+ # <li>预付费实例的购买会预先扣除本次实例购买所需金额,按小时后付费实例购买会预先冻结本次实例购买一小时内所需金额,在调用本接口前请确保账户余额充足。
201
203
 
202
204
  # @param request: Request instance for CreateInstances.
203
205
  # @type request: :class:`Tencentcloud::postgres::V20170312::CreateInstancesRequest`
@@ -357,31 +357,43 @@ module TencentCloud
357
357
  class CloneDBInstanceRequest < TencentCloud::Common::AbstractModel
358
358
  # @param DBInstanceId: 克隆的源实例ID。
359
359
  # @type DBInstanceId: String
360
- # @param SpecCode: 售卖规格ID。该参数可以通过调用DescribeProductConfig的返回值中的SpecCode字段来获取。
360
+ # @param SpecCode: 售卖规格码。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)的返回值中的SpecCode字段来获取。
361
361
  # @type SpecCode: String
362
362
  # @param Storage: 实例容量大小,单位:GB。
363
363
  # @type Storage: Integer
364
- # @param Period: 购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值,按量计费模式下该参数传1。
364
+ # @param Period: 购买时长,单位:月。
365
+ # <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
366
+ # <li>后付费:只支持1
365
367
  # @type Period: Integer
366
- # @param AutoRenewFlag: 续费标记:0-正常续费(默认);1-自动续费。
368
+ # @param AutoRenewFlag: 续费标记:
369
+ # <li>0:手动续费
370
+ # <li>1:自动续费
371
+ # 默认值:0
367
372
  # @type AutoRenewFlag: Integer
368
- # @param VpcId: 私有网络ID
373
+ # @param VpcId: 私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。
369
374
  # @type VpcId: String
370
- # @param SubnetId: 已配置的私有网络中的子网ID
375
+ # @param SubnetId: 私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。
371
376
  # @type SubnetId: String
372
- # @param Name: 新购实例的实例名称。
377
+ # @param Name: 新购的实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-",不指定实例名称则默认显示"未命名"。
373
378
  # @type Name: String
374
- # @param InstanceChargeType: 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。
379
+ # @param InstanceChargeType: 实例计费类型,目前支持:
380
+ # <li>PREPAID:预付费,即包年包月
381
+ # <li>POSTPAID_BY_HOUR:后付费,即按量计费
382
+ # 默认值:PREPAID
375
383
  # @type InstanceChargeType: String
376
- # @param SecurityGroupIds: 安全组ID。
384
+ # @param SecurityGroupIds: 实例所属安全组,该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。
377
385
  # @type SecurityGroupIds: Array
378
386
  # @param ProjectId: 项目ID。
379
387
  # @type ProjectId: Integer
380
- # @param TagList: 实例需要绑定的Tag信息,默认为空。
388
+ # @param TagList: 实例需要绑定的Tag信息,默认为空;可以通过调用 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 返回值中的 Tags 字段来获取。
381
389
  # @type TagList: Array
382
- # @param DBNodeSet: 购买多可用区实例时填写。
390
+ # @param DBNodeSet: 实例节点部署信息,支持多可用区部署时需要指定每个节点的部署可用区信息。
391
+ # 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
383
392
  # @type DBNodeSet: Array
384
- # @param AutoVoucher: 是否自动使用代金券。1(是),0(否),默认不使用。
393
+ # @param AutoVoucher: 是否自动使用代金券:
394
+ # <li>0:否
395
+ # <li>1:是
396
+ # 默认值:0
385
397
  # @type AutoVoucher: Integer
386
398
  # @param VoucherIds: 代金券ID列表。
387
399
  # @type VoucherIds: String
@@ -391,10 +403,16 @@ module TencentCloud
391
403
  # @type BackupSetId: String
392
404
  # @param RecoveryTargetTime: 恢复时间点。
393
405
  # @type RecoveryTargetTime: String
406
+ # @param SyncMode: 主从同步方式,支持:
407
+ # <li>Semi-sync:半同步
408
+ # <li>Async:异步
409
+ # 主实例默认值:Semi-sync
410
+ # 只读实例默认值:Async
411
+ # @type SyncMode: String
394
412
 
395
- attr_accessor :DBInstanceId, :SpecCode, :Storage, :Period, :AutoRenewFlag, :VpcId, :SubnetId, :Name, :InstanceChargeType, :SecurityGroupIds, :ProjectId, :TagList, :DBNodeSet, :AutoVoucher, :VoucherIds, :ActivityId, :BackupSetId, :RecoveryTargetTime
413
+ attr_accessor :DBInstanceId, :SpecCode, :Storage, :Period, :AutoRenewFlag, :VpcId, :SubnetId, :Name, :InstanceChargeType, :SecurityGroupIds, :ProjectId, :TagList, :DBNodeSet, :AutoVoucher, :VoucherIds, :ActivityId, :BackupSetId, :RecoveryTargetTime, :SyncMode
396
414
 
397
- def initialize(dbinstanceid=nil, speccode=nil, storage=nil, period=nil, autorenewflag=nil, vpcid=nil, subnetid=nil, name=nil, instancechargetype=nil, securitygroupids=nil, projectid=nil, taglist=nil, dbnodeset=nil, autovoucher=nil, voucherids=nil, activityid=nil, backupsetid=nil, recoverytargettime=nil)
415
+ def initialize(dbinstanceid=nil, speccode=nil, storage=nil, period=nil, autorenewflag=nil, vpcid=nil, subnetid=nil, name=nil, instancechargetype=nil, securitygroupids=nil, projectid=nil, taglist=nil, dbnodeset=nil, autovoucher=nil, voucherids=nil, activityid=nil, backupsetid=nil, recoverytargettime=nil, syncmode=nil)
398
416
  @DBInstanceId = dbinstanceid
399
417
  @SpecCode = speccode
400
418
  @Storage = storage
@@ -413,6 +431,7 @@ module TencentCloud
413
431
  @ActivityId = activityid
414
432
  @BackupSetId = backupsetid
415
433
  @RecoveryTargetTime = recoverytargettime
434
+ @SyncMode = syncmode
416
435
  end
417
436
 
418
437
  def deserialize(params)
@@ -448,6 +467,7 @@ module TencentCloud
448
467
  @ActivityId = params['ActivityId']
449
468
  @BackupSetId = params['BackupSetId']
450
469
  @RecoveryTargetTime = params['RecoveryTargetTime']
470
+ @SyncMode = params['SyncMode']
451
471
  end
452
472
  end
453
473
 
@@ -776,137 +796,183 @@ module TencentCloud
776
796
 
777
797
  # CreateInstances请求参数结构体
778
798
  class CreateInstancesRequest < TencentCloud::Common::AbstractModel
779
- # @param SpecCode: 售卖规格ID。该参数可以通过调用DescribeClasses的返回值中的SpecCode字段来获取。
799
+ # @param Zone: 实例所属主可用区, 如:ap-guangzhou-3;若需要支持多可用区,在DBNodeSet.N字段中进行添加主可用区和备可用区信息;
800
+ # 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
801
+ # @type Zone: String
802
+ # @param SpecCode: 售卖规格码。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)的返回值中的SpecCode字段来获取。
780
803
  # @type SpecCode: String
781
804
  # @param Storage: 实例容量大小,单位:GB。
782
805
  # @type Storage: Integer
783
- # @param InstanceCount: 一次性购买的实例数量。取值1-10
806
+ # @param InstanceCount: 购买实例数量,取值范围:[1-10]。一次性购买支持最大数量10个,若超过该数量,可进行多次调用进行购买。
784
807
  # @type InstanceCount: Integer
785
- # @param Period: 购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值,按量计费模式下该参数传1。
808
+ # @param Period: 购买时长,单位:月。
809
+ # <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
810
+ # <li>后付费:只支持1
786
811
  # @type Period: Integer
787
- # @param Zone: 可用区ID。该参数可以通过调用 DescribeZones 接口的返回值中的Zone字段来获取。
788
- # @type Zone: String
789
- # @param Charset: 实例字符集,目前只支持:UTF8、LATIN1
812
+ # @param Charset: 实例字符集,目前只支持:
813
+ # <li> UTF8
814
+ # <li> LATIN1
790
815
  # @type Charset: String
791
- # @param AdminName: 实例根账号用户名。
816
+ # @param AdminName: 实例根账号用户名,具体规范如下:
817
+ # <li>用户名需要1-16个字符,只能由字母、数字或下划线组成
818
+ # <li>不能为postgres
819
+ # <li>不能由数字和pg_开头
820
+ # <li>所有规则均不区分大小写
792
821
  # @type AdminName: String
793
- # @param AdminPassword: 实例根账号用户名对应的密码。
822
+ # @param AdminPassword: 实例根账号用户名对应的密码,长度8 ~ 32位,推荐使用12位以上的密码;不能以" / "开头;
823
+ # 必须包含以下四项,字符种类:
824
+ # <li>小写字母: [a ~ z]
825
+ # <li>大写字母:[A ~ Z]
826
+ # <li>数字:0 - 9
827
+ # <li>特殊字符:()`~!@#$%^&*-+=_|{}[]:;'<>,.?/
794
828
  # @type AdminPassword: String
795
- # @param ProjectId: 项目ID。
796
- # @type ProjectId: Integer
797
- # @param DBVersion: PostgreSQL版本。当输入该参数时,会基于此版本创建对应的最新内核版本号实例。该参数和DBMajorVersion、DBKernelVersion至少需要传递一个。
829
+ # @param DBMajorVersion: PostgreSQL大版本号,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取,目前支持10,11,12,13,14,15这几个大版本。
830
+ # 当只输入该参数时,会基于此大版本号创建对应的最新小版本的最新内核版本号实例。
831
+ # 该参数和DBVersion、DBKernelVersion需要至少指定一个,如无指定购买内核小版本需求时,只传入该参数即可。
832
+ # @type DBMajorVersion: String
833
+ # @param DBVersion: PostgreSQL社区大版本+小版本号,如12.4,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
834
+ # 当只输入该参数时,会基于此社区小版本号创建对应的最新内核版本实例。
835
+ # 该参数和DBMajorVersion、DBKernelVersion需要至少指定一个。
798
836
  # @type DBVersion: String
799
- # @param InstanceChargeType: 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。默认值:PREPAID。
837
+ # @param DBKernelVersion: PostgreSQL内核版本号,如v12.7_r1.8,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
838
+ # 当只输入该参数时,会创建指定的内核版本实例。只针对内核版本需要指定时使用,一般场景不推荐传入该参数。
839
+ # @type DBKernelVersion: String
840
+ # @param InstanceChargeType: 实例计费类型,目前支持:
841
+ # <li>PREPAID:预付费,即包年包月
842
+ # <li>POSTPAID_BY_HOUR:后付费,即按量计费
843
+ # 默认值:PREPAID
800
844
  # @type InstanceChargeType: String
801
- # @param AutoVoucher: 是否自动使用代金券。1(是),0(否),默认不使用。
802
- # @type AutoVoucher: Integer
803
- # @param VoucherIds: 代金券ID列表,目前仅支持指定一张代金券。
804
- # @type VoucherIds: Array
805
- # @param VpcId: 私有网络ID。
845
+ # @param VpcId: 私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。
806
846
  # @type VpcId: String
807
- # @param SubnetId: 已配置的私有网络中的子网ID
847
+ # @param SubnetId: 私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。
808
848
  # @type SubnetId: String
809
- # @param AutoRenewFlag: 续费标记:0-正常续费(默认);1-自动续费。
849
+ # @param DBNodeSet: 实例节点部署信息,支持多可用区部署时需要指定每个节点的部署可用区信息。
850
+ # 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
851
+ # @type DBNodeSet: Array
852
+ # @param AutoRenewFlag: 续费标记:
853
+ # <li>0:手动续费
854
+ # <li>1:自动续费
855
+ # 默认值:0
810
856
  # @type AutoRenewFlag: Integer
857
+ # @param AutoVoucher: 是否自动使用代金券:
858
+ # <li>0:否
859
+ # <li>1:是
860
+ # 默认值:0
861
+ # @type AutoVoucher: Integer
862
+ # @param VoucherIds: 代金券ID列表,目前仅支持指定一张代金券。
863
+ # @type VoucherIds: Array
864
+ # @param ProjectId: 项目ID。
865
+ # @type ProjectId: Integer
811
866
  # @param ActivityId: 活动ID。
812
867
  # @type ActivityId: Integer
813
- # @param Name: 实例名。
868
+ # @param Name: 实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-",不指定实例名称则默认显示"未命名"。
814
869
  # @type Name: String
815
- # @param NeedSupportIpv6: 是否需要支持Ipv6,1:是,0:否(默认)。
816
- # @type NeedSupportIpv6: Integer
817
- # @param TagList: 实例需要绑定的Tag信息,默认为空。
870
+ # @param TagList: 实例需要绑定的Tag信息,默认为空;可以通过调用 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 返回值中的 Tags 字段来获取。
818
871
  # @type TagList: Array
819
- # @param SecurityGroupIds: 安全组ID。
872
+ # @param SecurityGroupIds: 实例所属安全组,该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。
820
873
  # @type SecurityGroupIds: Array
821
- # @param DBMajorVersion: PostgreSQL主要版本。目前支持10,11,12,13这几个版本。当输入该参数时,会基于此版本创建对应的最新内核版本号实例。该参数和DBVersion、DBKernelVersion至少需要传递一个。
822
- # @type DBMajorVersion: String
823
- # @param DBKernelVersion: PostgreSQL内核版本。当输入该参数时,会创建该内核版本号实例。该参数和DBVersion、DBMajorVersion至少需要传递一个。
824
- # @type DBKernelVersion: String
825
- # @param DBNodeSet: 实例节点信息,购买跨可用区实例时填写。
826
- # @type DBNodeSet: Array
827
- # @param NeedSupportTDE: 是否需要支持数据透明加密,1:是,0:否(默认)。
874
+ # @param NeedSupportTDE: 是否需要支持数据透明加密:
875
+ # <li>0:否
876
+ # <li>1:是
877
+ # 默认值:0
878
+ # 参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
828
879
  # @type NeedSupportTDE: Integer
829
880
  # @param KMSKeyId: 自定义密钥的KeyId,若选择自定义密匙加密,则需要传入自定义密匙的KeyId,KeyId是CMK的唯一标识。
881
+ # KeyId创建获取相关参考[开启透明数据加密](https://cloud.tencent.com/document/product/409/71749)
830
882
  # @type KMSKeyId: String
831
883
  # @param KMSRegion: 使用KMS服务的地域,KMSRegion为空默认使用本地域的KMS,本地域不支持的情况下需自选其他KMS支持的地域。
884
+ # KMSRegion相关介绍参考[开启透明数据加密](https://cloud.tencent.com/document/product/409/71749)
832
885
  # @type KMSRegion: String
833
886
  # @param DBEngine: 数据库引擎,支持:
834
- # 1、postgresql(云数据库PostgreSQL);
835
- # 2、mssql_compatibleMSSQL兼容-云数据库PostgreSQL);
836
- # 如不指定默认使用postgresql
887
+ # <li>postgresql:云数据库PostgreSQL
888
+ # <li>mssql_compatibleMSSQL兼容-云数据库PostgreSQL
889
+ # 默认值:postgresql
837
890
  # @type DBEngine: String
838
891
  # @param DBEngineConfig: 数据库引擎的配置信息,配置格式如下:
839
892
  # {"$key1":"$value1", "$key2":"$value2"}
840
-
841
893
  # 各引擎支持如下:
842
- # 1、mssql_compatible引擎:
843
- # migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。
844
- # defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
894
+ # mssql_compatible引擎:
895
+ # <li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。
896
+ # <li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
845
897
  # "af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。
846
- # serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:
847
- # "bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。
898
+ # <li>serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。
848
899
  # @type DBEngineConfig: String
849
- # @param SyncMode: 主从同步方式,可取值:
850
- # 1、Semi-sync:半同步
851
- # 2、Async:异步
852
- # 当前只支持Semi-sync
900
+ # @param SyncMode: 主从同步方式,支持:
901
+ # <li>Semi-sync:半同步
902
+ # <li>Async:异步
903
+ # 主实例默认值:Semi-sync
904
+ # 只读实例默认值:Async
853
905
  # @type SyncMode: String
906
+ # @param NeedSupportIpv6: 是否需要支持Ipv6:
907
+ # <li>0:否
908
+ # <li>1:是
909
+ # 默认值:0
910
+ # @type NeedSupportIpv6: Integer
854
911
 
855
- 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, :DBEngine, :DBEngineConfig, :SyncMode
912
+ attr_accessor :Zone, :SpecCode, :Storage, :InstanceCount, :Period, :Charset, :AdminName, :AdminPassword, :DBMajorVersion, :DBVersion, :DBKernelVersion, :InstanceChargeType, :VpcId, :SubnetId, :DBNodeSet, :AutoRenewFlag, :AutoVoucher, :VoucherIds, :ProjectId, :ActivityId, :Name, :TagList, :SecurityGroupIds, :NeedSupportTDE, :KMSKeyId, :KMSRegion, :DBEngine, :DBEngineConfig, :SyncMode, :NeedSupportIpv6
856
913
 
857
- 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, dbengine=nil, dbengineconfig=nil, syncmode=nil)
914
+ def initialize(zone=nil, speccode=nil, storage=nil, instancecount=nil, period=nil, charset=nil, adminname=nil, adminpassword=nil, dbmajorversion=nil, dbversion=nil, dbkernelversion=nil, instancechargetype=nil, vpcid=nil, subnetid=nil, dbnodeset=nil, autorenewflag=nil, autovoucher=nil, voucherids=nil, projectid=nil, activityid=nil, name=nil, taglist=nil, securitygroupids=nil, needsupporttde=nil, kmskeyid=nil, kmsregion=nil, dbengine=nil, dbengineconfig=nil, syncmode=nil, needsupportipv6=nil)
915
+ @Zone = zone
858
916
  @SpecCode = speccode
859
917
  @Storage = storage
860
918
  @InstanceCount = instancecount
861
919
  @Period = period
862
- @Zone = zone
863
920
  @Charset = charset
864
921
  @AdminName = adminname
865
922
  @AdminPassword = adminpassword
866
- @ProjectId = projectid
923
+ @DBMajorVersion = dbmajorversion
867
924
  @DBVersion = dbversion
925
+ @DBKernelVersion = dbkernelversion
868
926
  @InstanceChargeType = instancechargetype
869
- @AutoVoucher = autovoucher
870
- @VoucherIds = voucherids
871
927
  @VpcId = vpcid
872
928
  @SubnetId = subnetid
929
+ @DBNodeSet = dbnodeset
873
930
  @AutoRenewFlag = autorenewflag
931
+ @AutoVoucher = autovoucher
932
+ @VoucherIds = voucherids
933
+ @ProjectId = projectid
874
934
  @ActivityId = activityid
875
935
  @Name = name
876
- @NeedSupportIpv6 = needsupportipv6
877
936
  @TagList = taglist
878
937
  @SecurityGroupIds = securitygroupids
879
- @DBMajorVersion = dbmajorversion
880
- @DBKernelVersion = dbkernelversion
881
- @DBNodeSet = dbnodeset
882
938
  @NeedSupportTDE = needsupporttde
883
939
  @KMSKeyId = kmskeyid
884
940
  @KMSRegion = kmsregion
885
941
  @DBEngine = dbengine
886
942
  @DBEngineConfig = dbengineconfig
887
943
  @SyncMode = syncmode
944
+ @NeedSupportIpv6 = needsupportipv6
888
945
  end
889
946
 
890
947
  def deserialize(params)
948
+ @Zone = params['Zone']
891
949
  @SpecCode = params['SpecCode']
892
950
  @Storage = params['Storage']
893
951
  @InstanceCount = params['InstanceCount']
894
952
  @Period = params['Period']
895
- @Zone = params['Zone']
896
953
  @Charset = params['Charset']
897
954
  @AdminName = params['AdminName']
898
955
  @AdminPassword = params['AdminPassword']
899
- @ProjectId = params['ProjectId']
956
+ @DBMajorVersion = params['DBMajorVersion']
900
957
  @DBVersion = params['DBVersion']
958
+ @DBKernelVersion = params['DBKernelVersion']
901
959
  @InstanceChargeType = params['InstanceChargeType']
902
- @AutoVoucher = params['AutoVoucher']
903
- @VoucherIds = params['VoucherIds']
904
960
  @VpcId = params['VpcId']
905
961
  @SubnetId = params['SubnetId']
962
+ unless params['DBNodeSet'].nil?
963
+ @DBNodeSet = []
964
+ params['DBNodeSet'].each do |i|
965
+ dbnode_tmp = DBNode.new
966
+ dbnode_tmp.deserialize(i)
967
+ @DBNodeSet << dbnode_tmp
968
+ end
969
+ end
906
970
  @AutoRenewFlag = params['AutoRenewFlag']
971
+ @AutoVoucher = params['AutoVoucher']
972
+ @VoucherIds = params['VoucherIds']
973
+ @ProjectId = params['ProjectId']
907
974
  @ActivityId = params['ActivityId']
908
975
  @Name = params['Name']
909
- @NeedSupportIpv6 = params['NeedSupportIpv6']
910
976
  unless params['TagList'].nil?
911
977
  @TagList = []
912
978
  params['TagList'].each do |i|
@@ -916,22 +982,13 @@ module TencentCloud
916
982
  end
917
983
  end
918
984
  @SecurityGroupIds = params['SecurityGroupIds']
919
- @DBMajorVersion = params['DBMajorVersion']
920
- @DBKernelVersion = params['DBKernelVersion']
921
- unless params['DBNodeSet'].nil?
922
- @DBNodeSet = []
923
- params['DBNodeSet'].each do |i|
924
- dbnode_tmp = DBNode.new
925
- dbnode_tmp.deserialize(i)
926
- @DBNodeSet << dbnode_tmp
927
- end
928
- end
929
985
  @NeedSupportTDE = params['NeedSupportTDE']
930
986
  @KMSKeyId = params['KMSKeyId']
931
987
  @KMSRegion = params['KMSRegion']
932
988
  @DBEngine = params['DBEngine']
933
989
  @DBEngineConfig = params['DBEngineConfig']
934
990
  @SyncMode = params['SyncMode']
991
+ @NeedSupportIpv6 = params['NeedSupportIpv6']
935
992
  end
936
993
  end
937
994
 
@@ -1402,21 +1459,19 @@ module TencentCloud
1402
1459
 
1403
1460
  # 描述实例的详细信息
1404
1461
  class DBInstance < TencentCloud::Common::AbstractModel
1405
- # @param Region: 实例所属地域,如: ap-guangzhou,对应RegionSet的Region字段
1462
+ # @param Region: 实例所属地域,如: ap-guangzhou,对应RegionSet的Region字段。
1406
1463
  # @type Region: String
1407
- # @param Zone: 实例所属可用区, 如:ap-guangzhou-3,对应ZoneSet的Zone字段
1464
+ # @param Zone: 实例所属可用区, 如:ap-guangzhou-3,对应ZoneSet的Zone字段。
1408
1465
  # @type Zone: String
1409
- # @param ProjectId: 项目ID
1410
- # @type ProjectId: Integer
1411
- # @param VpcId: 私有网络ID
1466
+ # @param VpcId: 私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。
1412
1467
  # @type VpcId: String
1413
- # @param SubnetId: 子网ID
1468
+ # @param SubnetId: 私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。
1414
1469
  # @type SubnetId: String
1415
- # @param DBInstanceId: 实例ID
1470
+ # @param DBInstanceId: 实例ID
1416
1471
  # @type DBInstanceId: String
1417
- # @param DBInstanceName: 实例名称
1472
+ # @param DBInstanceName: 实例名称。
1418
1473
  # @type DBInstanceName: String
1419
- # @param DBInstanceStatus: 实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolating(隔离中)、isolated(已隔离)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)、upgrading(内核版本升级中)
1474
+ # @param DBInstanceStatus: 实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolating(隔离中)、isolated(已隔离)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)、upgrading(内核版本升级中)、audit-switching(审计状态变更中)、primary-switching(主备切换中)
1420
1475
  # @type DBInstanceStatus: String
1421
1476
  # @param DBInstanceMemory: 实例分配的内存大小,单位:GB
1422
1477
  # @type DBInstanceMemory: Integer
@@ -1426,81 +1481,108 @@ module TencentCloud
1426
1481
  # @type DBInstanceCpu: Integer
1427
1482
  # @param DBInstanceClass: 售卖规格ID
1428
1483
  # @type DBInstanceClass: String
1429
- # @param DBInstanceType: 实例类型,类型有:1、primary(主实例);2、readonly(只读实例);3、guard(灾备实例);4、temp(临时实例)
1484
+ # @param DBMajorVersion: PostgreSQL大版本号,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取,目前支持10,11,12,13,14,15这几个大版本。
1485
+ # 注意:此字段可能返回 null,表示取不到有效值。
1486
+ # @type DBMajorVersion: String
1487
+ # @param DBVersion: PostgreSQL社区大版本+小版本号,如12.4,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
1488
+ # @type DBVersion: String
1489
+ # @param DBKernelVersion: PostgreSQL内核版本号,如v12.7_r1.8,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
1490
+ # 注意:此字段可能返回 null,表示取不到有效值。
1491
+ # @type DBKernelVersion: String
1492
+ # @param DBInstanceType: 实例类型,类型有:
1493
+ # <li>primary:主实例
1494
+ # <li>readonly:只读实例
1495
+ # <li>guard:灾备实例
1496
+ # <li>temp:临时实例
1430
1497
  # @type DBInstanceType: String
1431
- # @param DBInstanceVersion: 实例版本,目前只支持standard(双机高可用版, 一主一从)
1498
+ # @param DBInstanceVersion: 实例版本,目前只支持standard(双机高可用版, 一主一从)。
1432
1499
  # @type DBInstanceVersion: String
1433
- # @param DBCharset: 实例DB字符集
1500
+ # @param DBCharset: 实例字符集,目前只支持:
1501
+ # <li> UTF8
1502
+ # <li> LATIN1
1434
1503
  # @type DBCharset: String
1435
- # @param DBVersion: PostgreSQL版本
1436
- # @type DBVersion: String
1437
- # @param CreateTime: 实例创建时间
1504
+ # @param CreateTime: 实例创建时间。
1438
1505
  # @type CreateTime: String
1439
- # @param UpdateTime: 实例执行最后一次更新的时间
1506
+ # @param UpdateTime: 实例执行最后一次更新的时间。
1440
1507
  # @type UpdateTime: String
1441
- # @param ExpireTime: 实例到期时间
1508
+ # @param ExpireTime: 实例到期时间。
1442
1509
  # @type ExpireTime: String
1443
- # @param IsolatedTime: 实例隔离时间
1510
+ # @param IsolatedTime: 实例隔离时间。
1444
1511
  # @type IsolatedTime: String
1445
- # @param PayType: 计费模式,1、prepaid(包年包月,预付费);2、postpaid(按量计费,后付费)
1512
+ # @param PayType: 计费模式:
1513
+ # <li>prepaid:包年包月,预付费
1514
+ # <li>postpaid:按量计费,后付费
1446
1515
  # @type PayType: String
1447
- # @param AutoRenew: 是否自动续费,1:自动续费,0:不自动续费
1516
+ # @param AutoRenew: 是否自动续费:
1517
+ # <li>0:手动续费
1518
+ # <li>1:自动续费
1519
+ # 默认值:0
1448
1520
  # @type AutoRenew: Integer
1449
- # @param DBInstanceNetInfo: 实例网络连接信息
1521
+ # @param DBInstanceNetInfo: 实例网络连接信息。
1450
1522
  # @type DBInstanceNetInfo: Array
1451
- # @param Type: 机器类型
1523
+ # @param Type: 机器类型。
1452
1524
  # @type Type: String
1453
- # @param AppId: 用户的AppId
1525
+ # @param AppId: 用户的AppId
1454
1526
  # @type AppId: Integer
1455
- # @param Uid: 实例的Uid
1527
+ # @param Uid: 实例的Uid
1456
1528
  # @type Uid: Integer
1457
- # @param SupportIpv6: 实例是否支持Ipv6,1:支持,0:不支持
1458
- # @type SupportIpv6: Integer
1459
- # @param TagList: 实例绑定的标签信息
1529
+ # @param ProjectId: 项目ID。
1530
+ # @type ProjectId: Integer
1531
+ # @param TagList: 实例绑定的标签信息。
1460
1532
  # 注意:此字段可能返回 null,表示取不到有效值。
1461
1533
  # @type TagList: Array
1462
- # @param MasterDBInstanceId: 主实例信息,仅在实例为只读实例时返回
1534
+ # @param MasterDBInstanceId: 主实例信息,仅在实例为只读实例时返回。
1463
1535
  # 注意:此字段可能返回 null,表示取不到有效值。
1464
1536
  # @type MasterDBInstanceId: String
1465
- # @param ReadOnlyInstanceNum: 只读实例数量
1537
+ # @param ReadOnlyInstanceNum: 只读实例数量。
1466
1538
  # 注意:此字段可能返回 null,表示取不到有效值。
1467
1539
  # @type ReadOnlyInstanceNum: Integer
1468
- # @param StatusInReadonlyGroup: 只读实例在只读组中的状态
1540
+ # @param StatusInReadonlyGroup: 只读实例在只读组中的状态。
1469
1541
  # 注意:此字段可能返回 null,表示取不到有效值。
1470
1542
  # @type StatusInReadonlyGroup: String
1471
- # @param OfflineTime: 下线时间
1543
+ # @param OfflineTime: 下线时间。
1472
1544
  # 注意:此字段可能返回 null,表示取不到有效值。
1473
1545
  # @type OfflineTime: String
1474
- # @param DBKernelVersion: 数据库内核版本
1475
- # 注意:此字段可能返回 null,表示取不到有效值。
1476
- # @type DBKernelVersion: String
1477
- # @param NetworkAccessList: 实例网络信息列表(此字段已废弃)
1478
- # 注意:此字段可能返回 null,表示取不到有效值。
1479
- # @type NetworkAccessList: Array
1480
- # @param DBMajorVersion: PostgreSQL主要版本
1481
- # 注意:此字段可能返回 null,表示取不到有效值。
1482
- # @type DBMajorVersion: String
1483
- # @param DBNodeSet: 实例的节点信息
1546
+ # @param DBNodeSet: 实例的节点信息。
1484
1547
  # 注意:此字段可能返回 null,表示取不到有效值。
1485
1548
  # @type DBNodeSet: Array
1486
- # @param IsSupportTDE: 实例是否支持TDE数据加密 0:不支持,1:支持
1549
+ # @param IsSupportTDE: 实例是否支持TDE数据加密:
1550
+ # <li>0:不支持
1551
+ # <li>1:支持
1552
+ # 默认值:0
1553
+ # TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
1487
1554
  # 注意:此字段可能返回 null,表示取不到有效值。
1488
1555
  # @type IsSupportTDE: Integer
1489
1556
  # @param DBEngine: 数据库引擎,支持:
1490
- # 1、postgresql(云数据库PostgreSQL);
1491
- # 2、mssql_compatibleMSSQL兼容-云数据库PostgreSQL);
1557
+ # <li>postgresql:云数据库PostgreSQL
1558
+ # <li>mssql_compatibleMSSQL兼容-云数据库PostgreSQL
1559
+ # 默认值:postgresql
1492
1560
  # 注意:此字段可能返回 null,表示取不到有效值。
1493
1561
  # @type DBEngine: String
1494
- # @param DBEngineConfig: 数据库引擎的配置信息
1562
+ # @param DBEngineConfig: 数据库引擎的配置信息,配置格式如下:
1563
+ # {"$key1":"$value1", "$key2":"$value2"}
1564
+ # 各引擎支持如下:
1565
+ # mssql_compatible引擎:
1566
+ # <li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。
1567
+ # <li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
1568
+ # "af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。
1569
+ # <li>serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。
1495
1570
  # 注意:此字段可能返回 null,表示取不到有效值。
1496
1571
  # @type DBEngineConfig: String
1572
+ # @param NetworkAccessList: 实例网络信息列表(此字段已废弃)
1573
+ # 注意:此字段可能返回 null,表示取不到有效值。
1574
+ # @type NetworkAccessList: Array
1575
+ # @param SupportIpv6: 实例是否支持Ipv6:
1576
+ # <li>0:否
1577
+ # <li>1:是
1578
+ # 默认值:0
1579
+ # @type SupportIpv6: Integer
1497
1580
 
1498
- 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, :DBEngine, :DBEngineConfig
1581
+ attr_accessor :Region, :Zone, :VpcId, :SubnetId, :DBInstanceId, :DBInstanceName, :DBInstanceStatus, :DBInstanceMemory, :DBInstanceStorage, :DBInstanceCpu, :DBInstanceClass, :DBMajorVersion, :DBVersion, :DBKernelVersion, :DBInstanceType, :DBInstanceVersion, :DBCharset, :CreateTime, :UpdateTime, :ExpireTime, :IsolatedTime, :PayType, :AutoRenew, :DBInstanceNetInfo, :Type, :AppId, :Uid, :ProjectId, :TagList, :MasterDBInstanceId, :ReadOnlyInstanceNum, :StatusInReadonlyGroup, :OfflineTime, :DBNodeSet, :IsSupportTDE, :DBEngine, :DBEngineConfig, :NetworkAccessList, :SupportIpv6
1499
1582
 
1500
- 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, dbengine=nil, dbengineconfig=nil)
1583
+ def initialize(region=nil, zone=nil, vpcid=nil, subnetid=nil, dbinstanceid=nil, dbinstancename=nil, dbinstancestatus=nil, dbinstancememory=nil, dbinstancestorage=nil, dbinstancecpu=nil, dbinstanceclass=nil, dbmajorversion=nil, dbversion=nil, dbkernelversion=nil, dbinstancetype=nil, dbinstanceversion=nil, dbcharset=nil, createtime=nil, updatetime=nil, expiretime=nil, isolatedtime=nil, paytype=nil, autorenew=nil, dbinstancenetinfo=nil, type=nil, appid=nil, uid=nil, projectid=nil, taglist=nil, masterdbinstanceid=nil, readonlyinstancenum=nil, statusinreadonlygroup=nil, offlinetime=nil, dbnodeset=nil, issupporttde=nil, dbengine=nil, dbengineconfig=nil, networkaccesslist=nil, supportipv6=nil)
1501
1584
  @Region = region
1502
1585
  @Zone = zone
1503
- @ProjectId = projectid
1504
1586
  @VpcId = vpcid
1505
1587
  @SubnetId = subnetid
1506
1588
  @DBInstanceId = dbinstanceid
@@ -1510,10 +1592,12 @@ module TencentCloud
1510
1592
  @DBInstanceStorage = dbinstancestorage
1511
1593
  @DBInstanceCpu = dbinstancecpu
1512
1594
  @DBInstanceClass = dbinstanceclass
1595
+ @DBMajorVersion = dbmajorversion
1596
+ @DBVersion = dbversion
1597
+ @DBKernelVersion = dbkernelversion
1513
1598
  @DBInstanceType = dbinstancetype
1514
1599
  @DBInstanceVersion = dbinstanceversion
1515
1600
  @DBCharset = dbcharset
1516
- @DBVersion = dbversion
1517
1601
  @CreateTime = createtime
1518
1602
  @UpdateTime = updatetime
1519
1603
  @ExpireTime = expiretime
@@ -1524,25 +1608,23 @@ module TencentCloud
1524
1608
  @Type = type
1525
1609
  @AppId = appid
1526
1610
  @Uid = uid
1527
- @SupportIpv6 = supportipv6
1611
+ @ProjectId = projectid
1528
1612
  @TagList = taglist
1529
1613
  @MasterDBInstanceId = masterdbinstanceid
1530
1614
  @ReadOnlyInstanceNum = readonlyinstancenum
1531
1615
  @StatusInReadonlyGroup = statusinreadonlygroup
1532
1616
  @OfflineTime = offlinetime
1533
- @DBKernelVersion = dbkernelversion
1534
- @NetworkAccessList = networkaccesslist
1535
- @DBMajorVersion = dbmajorversion
1536
1617
  @DBNodeSet = dbnodeset
1537
1618
  @IsSupportTDE = issupporttde
1538
1619
  @DBEngine = dbengine
1539
1620
  @DBEngineConfig = dbengineconfig
1621
+ @NetworkAccessList = networkaccesslist
1622
+ @SupportIpv6 = supportipv6
1540
1623
  end
1541
1624
 
1542
1625
  def deserialize(params)
1543
1626
  @Region = params['Region']
1544
1627
  @Zone = params['Zone']
1545
- @ProjectId = params['ProjectId']
1546
1628
  @VpcId = params['VpcId']
1547
1629
  @SubnetId = params['SubnetId']
1548
1630
  @DBInstanceId = params['DBInstanceId']
@@ -1552,10 +1634,12 @@ module TencentCloud
1552
1634
  @DBInstanceStorage = params['DBInstanceStorage']
1553
1635
  @DBInstanceCpu = params['DBInstanceCpu']
1554
1636
  @DBInstanceClass = params['DBInstanceClass']
1637
+ @DBMajorVersion = params['DBMajorVersion']
1638
+ @DBVersion = params['DBVersion']
1639
+ @DBKernelVersion = params['DBKernelVersion']
1555
1640
  @DBInstanceType = params['DBInstanceType']
1556
1641
  @DBInstanceVersion = params['DBInstanceVersion']
1557
1642
  @DBCharset = params['DBCharset']
1558
- @DBVersion = params['DBVersion']
1559
1643
  @CreateTime = params['CreateTime']
1560
1644
  @UpdateTime = params['UpdateTime']
1561
1645
  @ExpireTime = params['ExpireTime']
@@ -1573,7 +1657,7 @@ module TencentCloud
1573
1657
  @Type = params['Type']
1574
1658
  @AppId = params['AppId']
1575
1659
  @Uid = params['Uid']
1576
- @SupportIpv6 = params['SupportIpv6']
1660
+ @ProjectId = params['ProjectId']
1577
1661
  unless params['TagList'].nil?
1578
1662
  @TagList = []
1579
1663
  params['TagList'].each do |i|
@@ -1586,16 +1670,6 @@ module TencentCloud
1586
1670
  @ReadOnlyInstanceNum = params['ReadOnlyInstanceNum']
1587
1671
  @StatusInReadonlyGroup = params['StatusInReadonlyGroup']
1588
1672
  @OfflineTime = params['OfflineTime']
1589
- @DBKernelVersion = params['DBKernelVersion']
1590
- unless params['NetworkAccessList'].nil?
1591
- @NetworkAccessList = []
1592
- params['NetworkAccessList'].each do |i|
1593
- networkaccess_tmp = NetworkAccess.new
1594
- networkaccess_tmp.deserialize(i)
1595
- @NetworkAccessList << networkaccess_tmp
1596
- end
1597
- end
1598
- @DBMajorVersion = params['DBMajorVersion']
1599
1673
  unless params['DBNodeSet'].nil?
1600
1674
  @DBNodeSet = []
1601
1675
  params['DBNodeSet'].each do |i|
@@ -1607,6 +1681,15 @@ module TencentCloud
1607
1681
  @IsSupportTDE = params['IsSupportTDE']
1608
1682
  @DBEngine = params['DBEngine']
1609
1683
  @DBEngineConfig = params['DBEngineConfig']
1684
+ unless params['NetworkAccessList'].nil?
1685
+ @NetworkAccessList = []
1686
+ params['NetworkAccessList'].each do |i|
1687
+ networkaccess_tmp = NetworkAccess.new
1688
+ networkaccess_tmp.deserialize(i)
1689
+ @NetworkAccessList << networkaccess_tmp
1690
+ end
1691
+ end
1692
+ @SupportIpv6 = params['SupportIpv6']
1610
1693
  end
1611
1694
  end
1612
1695
 
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: 3.0.617
4
+ version: 3.0.618
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-20 00:00:00.000000000 Z
11
+ date: 2023-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common