tencentcloud-sdk-postgres 3.0.838 → 3.0.839

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: 024e547557e9e958418cb6620c5f2d2a03d7cd8a
4
- data.tar.gz: 5d4a9fd2364d807f5872ed5dccc2c863355ddad1
3
+ metadata.gz: e0fda07aa9adb84e095763aaf6524d03a900c27d
4
+ data.tar.gz: ab7f3c37ab26e045eb336443c2351c1312c42e3d
5
5
  SHA512:
6
- metadata.gz: 60b8a1635a104261b06db706b1719fad282fd6523d51cc0494a146d2a1152e5ca468e5c586eef9c879af952fdb7ba29dd5970f6f5f09e3fc8b96f4bbf1e8f258
7
- data.tar.gz: 3b192b18eefd36be357355bb45a701057d931faf5cec14ed8069a7bcc94d7620803c14d3b737af85b198215a6fa29aac9e004e9acf228395ef72b4183cd37ec3
6
+ metadata.gz: e6ba2ce0a661084bb67b41cf6cc0f7bdf2c2657fea3cb6aa73998919390be93c11b8a306e67342658e3cd932e624c6ec48e01c0088857dda7f8bcfb50675b0ed
7
+ data.tar.gz: 9f9844fcc8982d5cfcaccf744cf78d58e0948c085ed133d409cd7ded67ecdba760be575c1999ad7261c7ab1d2bb589a65522a67ed1807d119da922eca5684d5a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.838
1
+ 3.0.839
@@ -198,8 +198,8 @@ module TencentCloud
198
198
  end
199
199
 
200
200
  # 本接口 (CreateInstances) 用于创建一个或者多个PostgreSQL实例,通过此接口创建的实例无需进行初始化,可直接使用。
201
- # <li>实例创建成功后将自动开机启动,实例状态变为“运行中”。
202
- # <li>预付费实例的购买会预先扣除本次实例购买所需金额,按小时后付费实例购买会预先冻结本次实例购买一小时内所需金额,在调用本接口前请确保账户余额充足。
201
+ # <li>实例创建成功后将自动开机启动,实例状态变为“运行中”。</li>
202
+ # <li>预付费实例的购买会预先扣除本次实例购买所需金额,按小时后付费实例购买会预先冻结本次实例购买一小时内所需金额,在调用本接口前请确保账户余额充足。</li>
203
203
 
204
204
  # @param request: Request instance for CreateInstances.
205
205
  # @type request: :class:`Tencentcloud::postgres::V20170312::CreateInstancesRequest`
@@ -2075,6 +2075,30 @@ module TencentCloud
2075
2075
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2076
2076
  end
2077
2077
 
2078
+ # 根据备份集或恢复目标时间,在原实例上恢复数据库相关对象,例如数据库、表。
2079
+
2080
+ # @param request: Request instance for RestoreDBInstanceObjects.
2081
+ # @type request: :class:`Tencentcloud::postgres::V20170312::RestoreDBInstanceObjectsRequest`
2082
+ # @rtype: :class:`Tencentcloud::postgres::V20170312::RestoreDBInstanceObjectsResponse`
2083
+ def RestoreDBInstanceObjects(request)
2084
+ body = send_request('RestoreDBInstanceObjects', request.serialize)
2085
+ response = JSON.parse(body)
2086
+ if response['Response'].key?('Error') == false
2087
+ model = RestoreDBInstanceObjectsResponse.new
2088
+ model.deserialize(response['Response'])
2089
+ model
2090
+ else
2091
+ code = response['Response']['Error']['Code']
2092
+ message = response['Response']['Error']['Message']
2093
+ reqid = response['Response']['RequestId']
2094
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2095
+ end
2096
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2097
+ raise e
2098
+ rescue StandardError => e
2099
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2100
+ end
2101
+
2078
2102
  # 本接口(SetAutoRenewFlag)用于设置自动续费。
2079
2103
 
2080
2104
  # @param request: Request instance for SetAutoRenewFlag.
@@ -362,12 +362,15 @@ module TencentCloud
362
362
  # @param Storage: 实例容量大小,单位:GB。
363
363
  # @type Storage: Integer
364
364
  # @param Period: 购买时长,单位:月。
365
- # <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
366
- # <li>后付费:只支持1
365
+
366
+ # - 预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
367
+ # - 后付费:只支持1
367
368
  # @type Period: Integer
368
369
  # @param AutoRenewFlag: 续费标记:
369
- # <li>0:手动续费
370
- # <li>1:自动续费
370
+
371
+ # - 0:手动续费
372
+ # - 1:自动续费
373
+
371
374
  # 默认值:0
372
375
  # @type AutoRenewFlag: Integer
373
376
  # @param VpcId: 私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。
@@ -377,8 +380,10 @@ module TencentCloud
377
380
  # @param Name: 新购的实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-",不指定实例名称则默认显示"未命名"。
378
381
  # @type Name: String
379
382
  # @param InstanceChargeType: 实例计费类型,目前支持:
380
- # <li>PREPAID:预付费,即包年包月
381
- # <li>POSTPAID_BY_HOUR:后付费,即按量计费
383
+
384
+ # - PREPAID:预付费,即包年包月
385
+ # - POSTPAID_BY_HOUR:后付费,即按量计费
386
+
382
387
  # 默认值:PREPAID
383
388
  # @type InstanceChargeType: String
384
389
  # @param SecurityGroupIds: 实例所属安全组,该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。
@@ -391,8 +396,10 @@ module TencentCloud
391
396
  # 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
392
397
  # @type DBNodeSet: Array
393
398
  # @param AutoVoucher: 是否自动使用代金券:
394
- # <li>0:否
395
- # <li>1:是
399
+
400
+ # - 0:否
401
+ # - 1:是
402
+
396
403
  # 默认值:0
397
404
  # @type AutoVoucher: Integer
398
405
  # @param VoucherIds: 代金券ID列表。
@@ -404,8 +411,8 @@ module TencentCloud
404
411
  # @param RecoveryTargetTime: 恢复时间点。
405
412
  # @type RecoveryTargetTime: String
406
413
  # @param SyncMode: 主从同步方式,支持:
407
- # <li>Semi-sync:半同步
408
- # <li>Async:异步
414
+ # <li>Semi-sync:半同步</li>
415
+ # <li>Async:异步</li>
409
416
  # 主实例默认值:Semi-sync
410
417
  # 只读实例默认值:Async
411
418
  # @type SyncMode: String
@@ -809,25 +816,25 @@ module TencentCloud
809
816
  # @param InstanceCount: 购买实例数量,取值范围:[1-10]。一次性购买支持最大数量10个,若超过该数量,可进行多次调用进行购买。
810
817
  # @type InstanceCount: Integer
811
818
  # @param Period: 购买时长,单位:月。
812
- # <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
813
- # <li>后付费:只支持1
819
+ # <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
820
+ # <li>后付费:只支持1</li>
814
821
  # @type Period: Integer
815
822
  # @param Charset: 实例字符集,目前只支持:
816
- # <li> UTF8
817
- # <li> LATIN1
823
+ # <li> UTF8</li>
824
+ # <li> LATIN1</li>
818
825
  # @type Charset: String
819
826
  # @param AdminName: 实例根账号用户名,具体规范如下:
820
- # <li>用户名需要1-16个字符,只能由字母、数字或下划线组成
821
- # <li>不能为postgres
822
- # <li>不能由数字和pg_开头
823
- # <li>所有规则均不区分大小写
827
+ # <li>用户名需要1-16个字符,只能由字母、数字或下划线组成</li>
828
+ # <li>不能为postgres</li>
829
+ # <li>不能由数字和pg_开头</li>
830
+ # <li>所有规则均不区分大小写</li>
824
831
  # @type AdminName: String
825
832
  # @param AdminPassword: 实例根账号用户名对应的密码,长度8 ~ 32位,推荐使用12位以上的密码;不能以" / "开头;
826
833
  # 必须包含以下四项,字符种类:
827
- # <li>小写字母: [a ~ z]
828
- # <li>大写字母:[A ~ Z]
829
- # <li>数字:0 - 9
830
- # <li>特殊字符:()`~!@#$%^&*-+=_|{}[]:;'<>,.?/
834
+ # <li>小写字母: [a ~ z]</li>
835
+ # <li>大写字母:[A ~ Z]</li>
836
+ # <li>数字:0 - 9</li>
837
+ # <li>特殊字符:()`~!@#$%^&*-+=_|{}[]:;'<>,.?/</li>
831
838
  # @type AdminPassword: String
832
839
  # @param DBMajorVersion: PostgreSQL大版本号(该参数当前必传),版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。目前支持10,11,12,13,14,15这几个大版本,详情见[内核版本概述](https://cloud.tencent.com/document/product/409/67018)。
833
840
  # 输入该参数时,会基于此大版本号创建对应的最新小版本的最新内核版本号实例。
@@ -839,8 +846,8 @@ module TencentCloud
839
846
  # 一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新内核版本号。
840
847
  # @type DBKernelVersion: String
841
848
  # @param InstanceChargeType: 实例计费类型,目前支持:
842
- # <li>PREPAID:预付费,即包年包月
843
- # <li>POSTPAID_BY_HOUR:后付费,即按量计费
849
+ # <li>PREPAID:预付费,即包年包月</li>
850
+ # <li>POSTPAID_BY_HOUR:后付费,即按量计费</li>
844
851
  # 默认值:PREPAID
845
852
  # @type InstanceChargeType: String
846
853
  # @param VpcId: 私有网络ID,形如vpc-xxxxxxxx(该参数当前必传)。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。
@@ -851,13 +858,13 @@ module TencentCloud
851
858
  # 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
852
859
  # @type DBNodeSet: Array
853
860
  # @param AutoRenewFlag: 续费标记:
854
- # <li>0:手动续费
855
- # <li>1:自动续费
861
+ # <li>0:手动续费</li>
862
+ # <li>1:自动续费</li>
856
863
  # 默认值:0
857
864
  # @type AutoRenewFlag: Integer
858
865
  # @param AutoVoucher: 是否自动使用代金券:
859
- # <li>0:否
860
- # <li>1:是
866
+ # <li>0:否</li>
867
+ # <li>1:是</li>
861
868
  # 默认值:0
862
869
  # @type AutoVoucher: Integer
863
870
  # @param VoucherIds: 代金券ID列表,目前仅支持指定一张代金券。
@@ -873,8 +880,8 @@ module TencentCloud
873
880
  # @param SecurityGroupIds: 实例所属安全组,该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。
874
881
  # @type SecurityGroupIds: Array
875
882
  # @param NeedSupportTDE: 是否需要支持数据透明加密:
876
- # <li>0:否
877
- # <li>1:是
883
+ # <li>0:否</li>
884
+ # <li>1:是</li>
878
885
  # 默认值:0
879
886
  # 参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
880
887
  # @type NeedSupportTDE: Integer
@@ -885,28 +892,28 @@ module TencentCloud
885
892
  # KMSRegion相关介绍参考[开启透明数据加密](https://cloud.tencent.com/document/product/409/71749)
886
893
  # @type KMSRegion: String
887
894
  # @param DBEngine: 数据库引擎,支持:
888
- # <li>postgresql:云数据库PostgreSQL
889
- # <li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL
895
+ # <li>postgresql:云数据库PostgreSQL</li>
896
+ # <li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li>
890
897
  # 默认值:postgresql
891
898
  # @type DBEngine: String
892
899
  # @param DBEngineConfig: 数据库引擎的配置信息,配置格式如下:
893
900
  # {"$key1":"$value1", "$key2":"$value2"}
894
901
  # 各引擎支持如下:
895
902
  # mssql_compatible引擎:
896
- # <li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db
903
+ # <li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。</li>
897
904
  # <li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
898
- # "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"
899
- # <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"
905
+ # "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"。</li>
906
+ # <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"。</li>
900
907
  # @type DBEngineConfig: String
901
908
  # @param SyncMode: 主从同步方式,支持:
902
- # <li>Semi-sync:半同步
903
- # <li>Async:异步
909
+ # <li>Semi-sync:半同步</li>
910
+ # <li>Async:异步</li>
904
911
  # 主实例默认值:Semi-sync
905
912
  # 只读实例默认值:Async
906
913
  # @type SyncMode: String
907
914
  # @param NeedSupportIpv6: 是否需要支持Ipv6:
908
- # <li>0:否
909
- # <li>1:是
915
+ # <li>0:否</li>
916
+ # <li>1:是</li>
910
917
  # 默认值:0
911
918
  # @type NeedSupportIpv6: Integer
912
919
 
@@ -1487,7 +1494,7 @@ module TencentCloud
1487
1494
  # @type DBInstanceId: String
1488
1495
  # @param DBInstanceName: 实例名称。
1489
1496
  # @type DBInstanceName: String
1490
- # @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(主备切换中)
1497
+ # @param DBInstanceStatus: 实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolating(隔离中)、isolated(已隔离)、disisolating(解隔离中)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)、upgrading(内核版本升级中)、audit-switching(审计状态变更中)、primary-switching(主备切换中)
1491
1498
  # @type DBInstanceStatus: String
1492
1499
  # @param DBInstanceMemory: 实例分配的内存大小,单位:GB
1493
1500
  # @type DBInstanceMemory: Integer
@@ -1506,16 +1513,16 @@ module TencentCloud
1506
1513
  # 注意:此字段可能返回 null,表示取不到有效值。
1507
1514
  # @type DBKernelVersion: String
1508
1515
  # @param DBInstanceType: 实例类型,类型有:
1509
- # <li>primary:主实例
1510
- # <li>readonly:只读实例
1511
- # <li>guard:灾备实例
1512
- # <li>temp:临时实例
1516
+ # <li>primary:主实例</li>
1517
+ # <li>readonly:只读实例</li>
1518
+ # <li>guard:灾备实例</li>
1519
+ # <li>temp:临时实例</li>
1513
1520
  # @type DBInstanceType: String
1514
1521
  # @param DBInstanceVersion: 实例版本,目前只支持standard(双机高可用版, 一主一从)。
1515
1522
  # @type DBInstanceVersion: String
1516
1523
  # @param DBCharset: 实例字符集,目前只支持:
1517
- # <li> UTF8
1518
- # <li> LATIN1
1524
+ # <li> UTF8</li>
1525
+ # <li> LATIN1</li>
1519
1526
  # @type DBCharset: String
1520
1527
  # @param CreateTime: 实例创建时间。
1521
1528
  # @type CreateTime: String
@@ -1526,12 +1533,12 @@ module TencentCloud
1526
1533
  # @param IsolatedTime: 实例隔离时间。
1527
1534
  # @type IsolatedTime: String
1528
1535
  # @param PayType: 计费模式:
1529
- # <li>prepaid:包年包月,预付费
1530
- # <li>postpaid:按量计费,后付费
1536
+ # <li>prepaid:包年包月,预付费</li>
1537
+ # <li>postpaid:按量计费,后付费</li>
1531
1538
  # @type PayType: String
1532
1539
  # @param AutoRenew: 是否自动续费:
1533
- # <li>0:手动续费
1534
- # <li>1:自动续费
1540
+ # <li>0:手动续费</li>
1541
+ # <li>1:自动续费</li>
1535
1542
  # 默认值:0
1536
1543
  # @type AutoRenew: Integer
1537
1544
  # @param DBInstanceNetInfo: 实例网络连接信息。
@@ -1563,15 +1570,15 @@ module TencentCloud
1563
1570
  # 注意:此字段可能返回 null,表示取不到有效值。
1564
1571
  # @type DBNodeSet: Array
1565
1572
  # @param IsSupportTDE: 实例是否支持TDE数据加密:
1566
- # <li>0:不支持
1567
- # <li>1:支持
1573
+ # <li>0:不支持</li>
1574
+ # <li>1:支持</li>
1568
1575
  # 默认值:0
1569
1576
  # TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
1570
1577
  # 注意:此字段可能返回 null,表示取不到有效值。
1571
1578
  # @type IsSupportTDE: Integer
1572
1579
  # @param DBEngine: 数据库引擎,支持:
1573
- # <li>postgresql:云数据库PostgreSQL
1574
- # <li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL
1580
+ # <li>postgresql:云数据库PostgreSQL</li>
1581
+ # <li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li>
1575
1582
  # 默认值:postgresql
1576
1583
  # 注意:此字段可能返回 null,表示取不到有效值。
1577
1584
  # @type DBEngine: String
@@ -1579,18 +1586,18 @@ module TencentCloud
1579
1586
  # {"$key1":"$value1", "$key2":"$value2"}
1580
1587
  # 各引擎支持如下:
1581
1588
  # mssql_compatible引擎:
1582
- # <li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db
1589
+ # <li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。</li>
1583
1590
  # <li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
1584
- # "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"
1585
- # <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"
1591
+ # "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"。</li>
1592
+ # <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"。</li>
1586
1593
  # 注意:此字段可能返回 null,表示取不到有效值。
1587
1594
  # @type DBEngineConfig: String
1588
1595
  # @param NetworkAccessList: 实例网络信息列表(此字段已废弃)
1589
1596
  # 注意:此字段可能返回 null,表示取不到有效值。
1590
1597
  # @type NetworkAccessList: Array
1591
1598
  # @param SupportIpv6: 实例是否支持Ipv6:
1592
- # <li>0:否
1593
- # <li>1:是
1599
+ # <li>0:否</li>
1600
+ # <li>1:是</li>
1594
1601
  # 默认值:0
1595
1602
  # @type SupportIpv6: Integer
1596
1603
 
@@ -2971,8 +2978,10 @@ module TencentCloud
2971
2978
  # db-instance-id:按照实例ID过滤,类型为string
2972
2979
  # db-instance-name:按照实例名过滤,类型为string
2973
2980
  # db-project-id:按照项目ID过滤,类型为integer
2974
- # db-pay-mode:按照付费模式过滤,类型为string
2981
+ # db-pay-mode:按照实例付费模式过滤,类型为string
2975
2982
  # db-tag-key:按照标签键过滤,类型为string
2983
+ # db-private-ip: 按照实例私有网络IP过滤,类型为string
2984
+ # db-public-address: 按照实例外网地址过滤,类型为string
2976
2985
  # @type Filters: Array
2977
2986
  # @param Limit: 每页显示数量,取值范围为1-100,默认为返回10条。
2978
2987
  # @type Limit: Integer
@@ -3216,15 +3225,34 @@ module TencentCloud
3216
3225
  class DescribeDatabasesRequest < TencentCloud::Common::AbstractModel
3217
3226
  # @param DBInstanceId: 实例ID
3218
3227
  # @type DBInstanceId: String
3228
+ # @param Filters: 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:database-name:按照数据库名称过滤,类型为string。此处使用模糊匹配搜索符合条件的数据库。
3229
+ # @type Filters: Array
3230
+ # @param Offset: 数据偏移量,从0开始。
3231
+ # @type Offset: Integer
3232
+ # @param Limit: 单次显示数量
3233
+ # @type Limit: Integer
3219
3234
 
3220
- attr_accessor :DBInstanceId
3235
+ attr_accessor :DBInstanceId, :Filters, :Offset, :Limit
3221
3236
 
3222
- def initialize(dbinstanceid=nil)
3237
+ def initialize(dbinstanceid=nil, filters=nil, offset=nil, limit=nil)
3223
3238
  @DBInstanceId = dbinstanceid
3239
+ @Filters = filters
3240
+ @Offset = offset
3241
+ @Limit = limit
3224
3242
  end
3225
3243
 
3226
3244
  def deserialize(params)
3227
3245
  @DBInstanceId = params['DBInstanceId']
3246
+ unless params['Filters'].nil?
3247
+ @Filters = []
3248
+ params['Filters'].each do |i|
3249
+ filter_tmp = Filter.new
3250
+ filter_tmp.deserialize(i)
3251
+ @Filters << filter_tmp
3252
+ end
3253
+ end
3254
+ @Offset = params['Offset']
3255
+ @Limit = params['Limit']
3228
3256
  end
3229
3257
  end
3230
3258
 
@@ -3232,18 +3260,22 @@ module TencentCloud
3232
3260
  class DescribeDatabasesResponse < TencentCloud::Common::AbstractModel
3233
3261
  # @param Items: 数据库信息
3234
3262
  # @type Items: Array
3263
+ # @param TotalCount: 数据库总数
3264
+ # @type TotalCount: Integer
3235
3265
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3236
3266
  # @type RequestId: String
3237
3267
 
3238
- attr_accessor :Items, :RequestId
3268
+ attr_accessor :Items, :TotalCount, :RequestId
3239
3269
 
3240
- def initialize(items=nil, requestid=nil)
3270
+ def initialize(items=nil, totalcount=nil, requestid=nil)
3241
3271
  @Items = items
3272
+ @TotalCount = totalcount
3242
3273
  @RequestId = requestid
3243
3274
  end
3244
3275
 
3245
3276
  def deserialize(params)
3246
3277
  @Items = params['Items']
3278
+ @TotalCount = params['TotalCount']
3247
3279
  @RequestId = params['RequestId']
3248
3280
  end
3249
3281
  end
@@ -3825,7 +3857,13 @@ module TencentCloud
3825
3857
 
3826
3858
  # DescribeServerlessDBInstances请求参数结构体
3827
3859
  class DescribeServerlessDBInstancesRequest < TencentCloud::Common::AbstractModel
3828
- # @param Filter: 查询条件
3860
+ # @param Filter: 查询条件。按照一个或者多个过滤条件进行查询,目前支持的过滤条件类型(name字段指定)有:
3861
+
3862
+ # - db-instance-id:按照实例ID过滤,类型为string
3863
+ # - db-instance-name:按照实例名过滤,类型为string
3864
+ # - db-tag-key:按照实例的tag过滤,类型为string
3865
+
3866
+ # value字段指定该类型过滤条件下具体要过滤的实例ID/实例名/实例tag-key。
3829
3867
  # @type Filter: Array
3830
3868
  # @param Limit: 查询个数
3831
3869
  # @type Limit: Integer
@@ -3898,19 +3936,19 @@ module TencentCloud
3898
3936
  class DescribeSlowQueryAnalysisRequest < TencentCloud::Common::AbstractModel
3899
3937
  # @param DBInstanceId: 实例ID。
3900
3938
  # @type DBInstanceId: String
3901
- # @param StartTime: 查询起始时间戳,格式 “YYYY-MM-DD HH:mm:ss” ,日志保留时间默认为7天,起始时间不能超出保留时间范围。
3939
+ # @param StartTime: 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。
3902
3940
  # @type StartTime: String
3903
- # @param EndTime: 查询结束时间戳,格式 “YYYY-MM-DD HH:mm:ss”。
3941
+ # @param EndTime: 查询结束时间,形如2018-01-01 00:00:00。
3904
3942
  # @type EndTime: String
3905
- # @param DatabaseName: 根据数据库名进行筛选,可以为空。
3943
+ # @param DatabaseName: 数据库名字。
3906
3944
  # @type DatabaseName: String
3907
- # @param OrderBy: 排序维度。 可选参数,取值范围[CallNum,CostTime,AvgCostTime]。默认CallNum。
3945
+ # @param OrderBy: 排序字段,取值范围[CallNum,CostTime,AvgCostTime]。默认值为CallNum。
3908
3946
  # @type OrderBy: String
3909
- # @param OrderByType: 排序类型。升序asc、降序desc。默认desc。
3947
+ # @param OrderByType: 排序方式,包括升序:asc 降序:desc。默认值为desc。
3910
3948
  # @type OrderByType: String
3911
- # @param Limit: 分页大小。取值范围[1,100]。默认50。
3949
+ # @param Limit: 每页显示数量,取值范围为1-100。默认值为50。
3912
3950
  # @type Limit: Integer
3913
- # @param Offset: 分页偏移。取值范围[0,INF)。默认0。
3951
+ # @param Offset: 数据偏移量,从0开始。默认值为0。
3914
3952
  # @type Offset: Integer
3915
3953
 
3916
3954
  attr_accessor :DBInstanceId, :StartTime, :EndTime, :DatabaseName, :OrderBy, :OrderByType, :Limit, :Offset
@@ -3940,9 +3978,9 @@ module TencentCloud
3940
3978
 
3941
3979
  # DescribeSlowQueryAnalysis返回参数结构体
3942
3980
  class DescribeSlowQueryAnalysisResponse < TencentCloud::Common::AbstractModel
3943
- # @param TotalCount: 查询总条数。
3981
+ # @param TotalCount: 查询到的总条数,最大值为10000条。
3944
3982
  # @type TotalCount: Integer
3945
- # @param Detail: SQL统计分析接口返回详情。
3983
+ # @param Detail: 查询到的慢SQL统计分析详细信息集合。
3946
3984
  # @type Detail: :class:`Tencentcloud::Postgres.v20170312.models.Detail`
3947
3985
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3948
3986
  # @type RequestId: String
@@ -3969,19 +4007,19 @@ module TencentCloud
3969
4007
  class DescribeSlowQueryListRequest < TencentCloud::Common::AbstractModel
3970
4008
  # @param DBInstanceId: 实例ID。
3971
4009
  # @type DBInstanceId: String
3972
- # @param StartTime: 查询起始时间戳,格式 “YYYY-MM-DD HH:mm:ss” ,日志保留时间默认为7天,起始时间不能超出保留时间范围。
4010
+ # @param StartTime: 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。
3973
4011
  # @type StartTime: String
3974
- # @param EndTime: 查询结束时间戳,格式 “YYYY-MM-DD HH:mm:ss”。
4012
+ # @param EndTime: 查询结束时间,形如2018-01-01 00:00:00。
3975
4013
  # @type EndTime: String
3976
- # @param DatabaseName: 根据数据库名进行筛选,可以为空。
4014
+ # @param DatabaseName: 数据库名字。
3977
4015
  # @type DatabaseName: String
3978
- # @param OrderByType: 排序类型。升序asc、降序desc。默认为desc。
4016
+ # @param OrderByType: 排序方式,包括升序:asc 降序:desc。默认值为desc。
3979
4017
  # @type OrderByType: String
3980
- # @param OrderBy: 排序维度。 可选参数,取值范围[SessionStartTime,Duration],默认为SessionStartTime。
4018
+ # @param OrderBy: 排序字段,取值范围[SessionStartTime,Duration]。默认值为SessionStartTime。
3981
4019
  # @type OrderBy: String
3982
- # @param Limit: 分页大小。取值范围[1,100],默认为20
4020
+ # @param Limit: 每页显示数量,取值范围为1-100。默认值为50
3983
4021
  # @type Limit: Integer
3984
- # @param Offset: 分页偏移。取值范围[0,INF),默认为0。
4022
+ # @param Offset: 数据偏移量,从0开始。默认值为0。
3985
4023
  # @type Offset: Integer
3986
4024
 
3987
4025
  attr_accessor :DBInstanceId, :StartTime, :EndTime, :DatabaseName, :OrderByType, :OrderBy, :Limit, :Offset
@@ -4011,12 +4049,12 @@ module TencentCloud
4011
4049
 
4012
4050
  # DescribeSlowQueryList返回参数结构体
4013
4051
  class DescribeSlowQueryListResponse < TencentCloud::Common::AbstractModel
4014
- # @param TotalCount: 选定时间范围内慢SQL总条数。
4052
+ # @param TotalCount: 查询到的慢日志数量,最大值为10000条。
4015
4053
  # @type TotalCount: Integer
4016
- # @param DurationAnalysis: 指定时间范围内,慢SQL耗时分段分析。
4054
+ # @param DurationAnalysis: 查询到的慢日志耗时分段分析结果。
4017
4055
  # 注意:此字段可能返回 null,表示取不到有效值。
4018
4056
  # @type DurationAnalysis: Array
4019
- # @param RawSlowQueryList: 指定时间范围内 慢SQL流水。
4057
+ # @param RawSlowQueryList: 查询到的慢日志详细信息集合。
4020
4058
  # 注意:此字段可能返回 null,表示取不到有效值。
4021
4059
  # @type RawSlowQueryList: Array
4022
4060
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -4977,9 +5015,9 @@ module TencentCloud
4977
5015
  # 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
4978
5016
  # @type DBNodeSet: Array
4979
5017
  # @param SwitchTag: 指定实例配置完成变更后的切换时间。
4980
- # <li>0:立即切换
4981
- # <li>1:指定时间切换
4982
- # <li>2:维护时间窗口内切换
5018
+ # <li>0:立即切换 </li>
5019
+ # <li>1:指定时间切换</li>
5020
+ # <li>2:维护时间窗口内切换</li>
4983
5021
  # 默认值:0
4984
5022
  # @type SwitchTag: Integer
4985
5023
  # @param SwitchStartTime: 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。
@@ -5131,9 +5169,9 @@ module TencentCloud
5131
5169
 
5132
5170
  # ModifyDBInstanceParameters请求参数结构体
5133
5171
  class ModifyDBInstanceParametersRequest < TencentCloud::Common::AbstractModel
5134
- # @param DBInstanceId: 实例ID
5172
+ # @param DBInstanceId: 实例ID
5135
5173
  # @type DBInstanceId: String
5136
- # @param ParamList: 待修改参数及期望值
5174
+ # @param ParamList: 待修改参数及期望值。
5137
5175
  # @type ParamList: Array
5138
5176
 
5139
5177
  attr_accessor :DBInstanceId, :ParamList
@@ -6451,6 +6489,50 @@ module TencentCloud
6451
6489
  end
6452
6490
  end
6453
6491
 
6492
+ # RestoreDBInstanceObjects请求参数结构体
6493
+ class RestoreDBInstanceObjectsRequest < TencentCloud::Common::AbstractModel
6494
+ # @param DBInstanceId: 实例ID。
6495
+ # @type DBInstanceId: String
6496
+ # @param RestoreObjects: 需要恢复的对象列表。假设需要恢复的对象名为test,则恢复后的名称为test_bak_${LinuxTime}。${LinuxTime}无法指定,由系统根据任务发起的linux时间设定。
6497
+ # @type RestoreObjects: Array
6498
+ # @param BackupSetId: 恢复所用备份集。BackupSetId与RestoreTargetTime有且只能传一个。
6499
+ # @type BackupSetId: String
6500
+ # @param RestoreTargetTime: 恢复目标时间,北京时间。BackupSetId与RestoreTargetTime有且只能传一个。
6501
+ # @type RestoreTargetTime: String
6502
+
6503
+ attr_accessor :DBInstanceId, :RestoreObjects, :BackupSetId, :RestoreTargetTime
6504
+
6505
+ def initialize(dbinstanceid=nil, restoreobjects=nil, backupsetid=nil, restoretargettime=nil)
6506
+ @DBInstanceId = dbinstanceid
6507
+ @RestoreObjects = restoreobjects
6508
+ @BackupSetId = backupsetid
6509
+ @RestoreTargetTime = restoretargettime
6510
+ end
6511
+
6512
+ def deserialize(params)
6513
+ @DBInstanceId = params['DBInstanceId']
6514
+ @RestoreObjects = params['RestoreObjects']
6515
+ @BackupSetId = params['BackupSetId']
6516
+ @RestoreTargetTime = params['RestoreTargetTime']
6517
+ end
6518
+ end
6519
+
6520
+ # RestoreDBInstanceObjects返回参数结构体
6521
+ class RestoreDBInstanceObjectsResponse < TencentCloud::Common::AbstractModel
6522
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6523
+ # @type RequestId: String
6524
+
6525
+ attr_accessor :RequestId
6526
+
6527
+ def initialize(requestid=nil)
6528
+ @RequestId = requestid
6529
+ end
6530
+
6531
+ def deserialize(params)
6532
+ @RequestId = params['RequestId']
6533
+ end
6534
+ end
6535
+
6454
6536
  # 安全组信息
6455
6537
  class SecurityGroup < TencentCloud::Common::AbstractModel
6456
6538
  # @param ProjectId: 项目Id
@@ -7162,7 +7244,7 @@ module TencentCloud
7162
7244
  # AVAILABLE:可用;
7163
7245
  # DEPRECATED:已弃用。
7164
7246
  # @type Status: String
7165
- # @param AvailableUpgradeTarget: 该数据库版本(DBKernelVersion)可以升级到的版本号列表。
7247
+ # @param AvailableUpgradeTarget: 该数据库版本(DBKernelVersion)可以升级到的版本号列表。其中包含可升级的小版本号和可升级的大版本号(完整内核版本格式示例:v15.1_v1.6)。
7166
7248
  # @type AvailableUpgradeTarget: Array
7167
7249
 
7168
7250
  attr_accessor :DBEngine, :DBVersion, :DBMajorVersion, :DBKernelVersion, :SupportedFeatureNames, :Status, :AvailableUpgradeTarget
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.838
4
+ version: 3.0.839
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-05 00:00:00.000000000 Z
11
+ date: 2024-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common