tencentcloud-sdk-nodejs-postgres 4.1.28 → 4.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-postgres",
3
- "version": "4.1.28",
3
+ "version": "4.1.29",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -423,6 +423,10 @@ export interface CreateInstancesRequest {
423
423
  KMSRegion相关介绍参考[开启透明数据加密](https://cloud.tencent.com/document/product/409/71749)
424
424
  */
425
425
  KMSRegion?: string;
426
+ /**
427
+ * 指定KMS服务的集群,KMSClusterId为空使用默认集群的KMS,若选择指定KMS集群,则需要传入KMSClusterId。 KMSClusterId相关介绍参考开启透明数据加密
428
+ */
429
+ KMSClusterId?: string;
426
430
  /**
427
431
  * 数据库引擎,支持:
428
432
  <li>postgresql:云数据库PostgreSQL</li>
@@ -1104,6 +1108,7 @@ export interface ModifyBackupDownloadRestrictionRequest {
1104
1108
  VpcRestrictionEffect?: string;
1105
1109
  /**
1106
1110
  * 允许或拒绝下载备份文件的vpcId列表。
1111
+ **注意:**该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
1107
1112
  */
1108
1113
  VpcIdSet?: Array<string>;
1109
1114
  /**
@@ -1112,6 +1117,7 @@ export interface ModifyBackupDownloadRestrictionRequest {
1112
1117
  IpRestrictionEffect?: string;
1113
1118
  /**
1114
1119
  * 允许或拒绝下载备份文件的ip列表。
1120
+ **注意:**该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
1115
1121
  */
1116
1122
  IpSet?: Array<string>;
1117
1123
  }
@@ -1548,6 +1554,10 @@ export interface EncryptionKey {
1548
1554
  * DEK密钥创建时间。
1549
1555
  */
1550
1556
  CreateTime?: string;
1557
+ /**
1558
+ * 密钥所在的KMS服务集群Id,为空表示密钥在默认的KMS集群中,不为空表示在指定的KMS服务集群中
1559
+ */
1560
+ KMSClusterId?: string;
1551
1561
  }
1552
1562
  /**
1553
1563
  * 数据库数据备份信息
@@ -1993,27 +2003,22 @@ export interface DescribeDBInstancesRequest {
1993
2003
  export interface ReadOnlyGroup {
1994
2004
  /**
1995
2005
  * 只读组标识
1996
- 注意:此字段可能返回 null,表示取不到有效值。
1997
2006
  */
1998
2007
  ReadOnlyGroupId?: string;
1999
2008
  /**
2000
2009
  * 只读组名字
2001
- 注意:此字段可能返回 null,表示取不到有效值。
2002
2010
  */
2003
2011
  ReadOnlyGroupName?: string;
2004
2012
  /**
2005
2013
  * 项目id
2006
- 注意:此字段可能返回 null,表示取不到有效值。
2007
2014
  */
2008
2015
  ProjectId?: number;
2009
2016
  /**
2010
2017
  * 主实例id
2011
- 注意:此字段可能返回 null,表示取不到有效值。
2012
2018
  */
2013
2019
  MasterDBInstanceId?: string;
2014
2020
  /**
2015
2021
  * 最小保留实例数
2016
- 注意:此字段可能返回 null,表示取不到有效值。
2017
2022
  */
2018
2023
  MinDelayEliminateReserve?: number;
2019
2024
  /**
@@ -2038,7 +2043,6 @@ export interface ReadOnlyGroup {
2038
2043
  VpcId?: string;
2039
2044
  /**
2040
2045
  * 子网id
2041
- 注意:此字段可能返回 null,表示取不到有效值。
2042
2046
  */
2043
2047
  SubnetId?: string;
2044
2048
  /**
@@ -2234,32 +2238,26 @@ export interface ModifyBackupDownloadRestrictionResponse {
2234
2238
  export interface ParamVersionRelation {
2235
2239
  /**
2236
2240
  * 参数名称
2237
- 注意:此字段可能返回 null,表示取不到有效值。
2238
2241
  */
2239
2242
  Name?: string;
2240
2243
  /**
2241
2244
  * 参数信息所属内核版本
2242
- 注意:此字段可能返回 null,表示取不到有效值。
2243
2245
  */
2244
2246
  DBKernelVersion?: string;
2245
2247
  /**
2246
2248
  * 参数在该版本该规格下的默认值
2247
- 注意:此字段可能返回 null,表示取不到有效值。
2248
2249
  */
2249
2250
  Value?: string;
2250
2251
  /**
2251
2252
  * 参数值单位。参数没有单位时,该字段返回空
2252
- 注意:此字段可能返回 null,表示取不到有效值。
2253
2253
  */
2254
2254
  Unit?: string;
2255
2255
  /**
2256
2256
  * 数值类型(integer、real)参数,取值上界
2257
- 注意:此字段可能返回 null,表示取不到有效值。
2258
2257
  */
2259
2258
  Max?: number;
2260
2259
  /**
2261
2260
  * 数值类型(integer、real)参数,取值下界
2262
- 注意:此字段可能返回 null,表示取不到有效值。
2263
2261
  */
2264
2262
  Min?: number;
2265
2263
  /**
@@ -2490,32 +2488,26 @@ export interface DescribeParameterTemplatesResponse {
2490
2488
  export interface ParamSpecRelation {
2491
2489
  /**
2492
2490
  * 参数名称
2493
- 注意:此字段可能返回 null,表示取不到有效值。
2494
2491
  */
2495
2492
  Name?: string;
2496
2493
  /**
2497
2494
  * 参数信息所属规格
2498
- 注意:此字段可能返回 null,表示取不到有效值。
2499
2495
  */
2500
2496
  Memory?: string;
2501
2497
  /**
2502
2498
  * 参数在该规格下的默认值
2503
- 注意:此字段可能返回 null,表示取不到有效值。
2504
2499
  */
2505
2500
  Value?: string;
2506
2501
  /**
2507
2502
  * 参数值单位。参数没有单位时,该字段返回空
2508
- 注意:此字段可能返回 null,表示取不到有效值。
2509
2503
  */
2510
2504
  Unit?: string;
2511
2505
  /**
2512
2506
  * 数值类型(integer、real)参数,取值上界
2513
- 注意:此字段可能返回 null,表示取不到有效值。
2514
2507
  */
2515
2508
  Max?: number;
2516
2509
  /**
2517
2510
  * 数值类型(integer、real)参数,取值下界
2518
- 注意:此字段可能返回 null,表示取不到有效值。
2519
2511
  */
2520
2512
  Min?: number;
2521
2513
  /**
@@ -3345,7 +3337,7 @@ export interface ModifyDBInstanceSecurityGroupsRequest {
3345
3337
  /**
3346
3338
  * 实例或只读组要绑定的安全组列表。
3347
3339
  安全组信息可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来查询。
3348
-
3340
+ **注意:**该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
3349
3341
  */
3350
3342
  SecurityGroupIdSet: Array<string>;
3351
3343
  /**
@@ -3430,12 +3422,10 @@ export interface CreateParameterTemplateResponse {
3430
3422
  export interface ParamInfo {
3431
3423
  /**
3432
3424
  * 参数ID
3433
- 注意:此字段可能返回 null,表示取不到有效值。
3434
3425
  */
3435
3426
  ID?: number;
3436
3427
  /**
3437
3428
  * 参数名
3438
- 注意:此字段可能返回 null,表示取不到有效值。
3439
3429
  */
3440
3430
  Name?: string;
3441
3431
  /**
@@ -3443,27 +3433,22 @@ export interface ParamInfo {
3443
3433
  当参数类型为integer(整型)、real(浮点型)时,参数的取值范围根据返回值的Max、Min确定;
3444
3434
  当参数类型为bool(布尔型)时,参数设置值取值范围是true | false;
3445
3435
  当参数类型为enum(枚举类型)、mutil_enum(多枚举类型)时,参数的取值范围由返回值中的EnumValue确定。
3446
- 注意:此字段可能返回 null,表示取不到有效值。
3447
3436
  */
3448
3437
  ParamValueType?: string;
3449
3438
  /**
3450
3439
  * 参数值 单位。参数没有单位时,该字段返回空
3451
- 注意:此字段可能返回 null,表示取不到有效值。
3452
3440
  */
3453
3441
  Unit?: string;
3454
3442
  /**
3455
3443
  * 参数默认值。以字符串形式返回
3456
- 注意:此字段可能返回 null,表示取不到有效值。
3457
3444
  */
3458
3445
  DefaultValue?: string;
3459
3446
  /**
3460
3447
  * 参数当前运行值。以字符串形式返回
3461
- 注意:此字段可能返回 null,表示取不到有效值。
3462
3448
  */
3463
3449
  CurrentValue?: string;
3464
3450
  /**
3465
3451
  * 数值类型(integer、real)参数,取值下界
3466
- 注意:此字段可能返回 null,表示取不到有效值。
3467
3452
  */
3468
3453
  Max?: number;
3469
3454
  /**
@@ -3473,52 +3458,42 @@ export interface ParamInfo {
3473
3458
  EnumValue?: Array<string>;
3474
3459
  /**
3475
3460
  * 数值类型(integer、real)参数,取值上界
3476
- 注意:此字段可能返回 null,表示取不到有效值。
3477
3461
  */
3478
3462
  Min?: number;
3479
3463
  /**
3480
3464
  * 参数中文描述
3481
- 注意:此字段可能返回 null,表示取不到有效值。
3482
3465
  */
3483
3466
  ParamDescriptionCH?: string;
3484
3467
  /**
3485
3468
  * 参数英文描述
3486
- 注意:此字段可能返回 null,表示取不到有效值。
3487
3469
  */
3488
3470
  ParamDescriptionEN?: string;
3489
3471
  /**
3490
3472
  * 参数修改,是否重启生效。(true为需要,false为不需要)
3491
- 注意:此字段可能返回 null,表示取不到有效值。
3492
3473
  */
3493
3474
  NeedReboot?: boolean;
3494
3475
  /**
3495
3476
  * 参数中文分类
3496
- 注意:此字段可能返回 null,表示取不到有效值。
3497
3477
  */
3498
3478
  ClassificationCN?: string;
3499
3479
  /**
3500
3480
  * 参数英文分类
3501
- 注意:此字段可能返回 null,表示取不到有效值。
3502
3481
  */
3503
3482
  ClassificationEN?: string;
3504
3483
  /**
3505
3484
  * 是否和规格相关。(true为相关,false为不想关)
3506
- 注意:此字段可能返回 null,表示取不到有效值。
3507
3485
  */
3508
3486
  SpecRelated?: boolean;
3509
3487
  /**
3510
3488
  * 是否为重点参数。(true为重点参数,修改是需要重点关注,可能会影响实例性能)
3511
- 注意:此字段可能返回 null,表示取不到有效值。
3512
3489
  */
3513
3490
  Advanced?: boolean;
3514
3491
  /**
3515
3492
  * 参数最后一次修改时间
3516
- 注意:此字段可能返回 null,表示取不到有效值。
3517
3493
  */
3518
3494
  LastModifyTime?: string;
3519
3495
  /**
3520
3496
  * 参数主备制约,0:无主备制约关系,1:备机参数值需比主机大,2:主机参数值需比备机大
3521
- 注意:此字段可能返回 null,表示取不到有效值。
3522
3497
  */
3523
3498
  StandbyRelated?: number;
3524
3499
  /**
@@ -3700,7 +3675,6 @@ export interface DescribeDatabaseObjectsResponse {
3700
3675
  ObjectSet?: Array<string>;
3701
3676
  /**
3702
3677
  * 查询对象总数量
3703
- 注意:此字段可能返回 null,表示取不到有效值。
3704
3678
  */
3705
3679
  TotalCount?: number;
3706
3680
  /**
@@ -4092,7 +4066,6 @@ export interface DBInstance {
4092
4066
  DBInstanceClass?: string;
4093
4067
  /**
4094
4068
  * PostgreSQL大版本号,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取,目前支持10,11,12,13,14,15这几个大版本。
4095
- 注意:此字段可能返回 null,表示取不到有效值。
4096
4069
  */
4097
4070
  DBMajorVersion?: string;
4098
4071
  /**
@@ -4101,7 +4074,6 @@ export interface DBInstance {
4101
4074
  DBVersion?: string;
4102
4075
  /**
4103
4076
  * PostgreSQL内核版本号,如v12.7_r1.8,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
4104
- 注意:此字段可能返回 null,表示取不到有效值。
4105
4077
  */
4106
4078
  DBKernelVersion?: string;
4107
4079
  /**
@@ -4173,27 +4145,22 @@ export interface DBInstance {
4173
4145
  ProjectId?: number;
4174
4146
  /**
4175
4147
  * 实例绑定的标签信息。
4176
- 注意:此字段可能返回 null,表示取不到有效值。
4177
4148
  */
4178
4149
  TagList?: Array<Tag>;
4179
4150
  /**
4180
4151
  * 主实例信息,仅在实例为只读实例时返回。
4181
- 注意:此字段可能返回 null,表示取不到有效值。
4182
4152
  */
4183
4153
  MasterDBInstanceId?: string;
4184
4154
  /**
4185
4155
  * 只读实例数量。
4186
- 注意:此字段可能返回 null,表示取不到有效值。
4187
4156
  */
4188
4157
  ReadOnlyInstanceNum?: number;
4189
4158
  /**
4190
4159
  * 只读实例在只读组中的状态。
4191
- 注意:此字段可能返回 null,表示取不到有效值。
4192
4160
  */
4193
4161
  StatusInReadonlyGroup?: string;
4194
4162
  /**
4195
4163
  * 下线时间。
4196
- 注意:此字段可能返回 null,表示取不到有效值。
4197
4164
  */
4198
4165
  OfflineTime?: string;
4199
4166
  /**
@@ -4207,7 +4174,6 @@ export interface DBInstance {
4207
4174
  <li>1:支持</li>
4208
4175
  默认值:0
4209
4176
  TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
4210
- 注意:此字段可能返回 null,表示取不到有效值。
4211
4177
  */
4212
4178
  IsSupportTDE?: number;
4213
4179
  /**
@@ -4215,7 +4181,6 @@ export interface DBInstance {
4215
4181
  <li>postgresql:云数据库PostgreSQL</li>
4216
4182
  <li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li>
4217
4183
  默认值:postgresql
4218
- 注意:此字段可能返回 null,表示取不到有效值。
4219
4184
  */
4220
4185
  DBEngine?: string;
4221
4186
  /**
@@ -4227,7 +4192,6 @@ export interface DBInstance {
4227
4192
  <li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
4228
4193
  "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>
4229
4194
  <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>
4230
- 注意:此字段可能返回 null,表示取不到有效值。
4231
4195
  */
4232
4196
  DBEngineConfig?: string;
4233
4197
  /**
@@ -5753,12 +5717,10 @@ export interface ModifyDBInstanceChargeTypeRequest {
5753
5717
  export interface DescribeParameterTemplateAttributesResponse {
5754
5718
  /**
5755
5719
  * 参数模板ID
5756
- 注意:此字段可能返回 null,表示取不到有效值。
5757
5720
  */
5758
5721
  TemplateId?: string;
5759
5722
  /**
5760
5723
  * 参数模板包含的参数个数
5761
- 注意:此字段可能返回 null,表示取不到有效值。
5762
5724
  */
5763
5725
  TotalCount?: number;
5764
5726
  /**
@@ -5768,22 +5730,18 @@ export interface DescribeParameterTemplateAttributesResponse {
5768
5730
  ParamInfoSet?: Array<ParamInfo>;
5769
5731
  /**
5770
5732
  * 参数模板名称
5771
- 注意:此字段可能返回 null,表示取不到有效值。
5772
5733
  */
5773
5734
  TemplateName?: string;
5774
5735
  /**
5775
5736
  * 参数模板适用的数据库版本
5776
- 注意:此字段可能返回 null,表示取不到有效值。
5777
5737
  */
5778
5738
  DBMajorVersion?: string;
5779
5739
  /**
5780
5740
  * 参数模板适用的数据库引擎
5781
- 注意:此字段可能返回 null,表示取不到有效值。
5782
5741
  */
5783
5742
  DBEngine?: string;
5784
5743
  /**
5785
5744
  * 参数模板描述
5786
- 注意:此字段可能返回 null,表示取不到有效值。
5787
5745
  */
5788
5746
  TemplateDescription?: string;
5789
5747
  /**