tencentcloud-sdk-nodejs-postgres 4.0.360 → 4.0.363

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.
@@ -88,7 +88,7 @@ export interface CreateDBInstancesRequest {
88
88
  */
89
89
  export interface SetAutoRenewFlagRequest {
90
90
  /**
91
- * 实例ID数组
91
+ * 实例ID集合。注意:当前已不支持同时操作多个实例,这里只能传入单个实例ID。
92
92
  */
93
93
  DBInstanceIdSet: Array<string>;
94
94
  /**
@@ -164,11 +164,11 @@ export interface DescribeAccountsRequest {
164
164
  */
165
165
  DBInstanceId: string;
166
166
  /**
167
- * 分页返回,每页最大返回数目,默认20,取值范围为1-100
167
+ * 分页返回,每页最大返回数目,默认10,取值范围为1-100
168
168
  */
169
169
  Limit?: number;
170
170
  /**
171
- * 分页返回,返回第几页的用户数据。页码从0开始计数
171
+ * 数据偏移量,从0开始。
172
172
  */
173
173
  Offset?: number;
174
174
  /**
@@ -299,11 +299,11 @@ export interface CreateInstancesRequest {
299
299
  */
300
300
  NeedSupportTDE?: number;
301
301
  /**
302
- * 自定义密钥的keyId,若选择自定义密匙加密,则需要传入自定义密匙的keyIdkeyId是CMK的唯一标识。
302
+ * 自定义密钥的KeyId,若选择自定义密匙加密,则需要传入自定义密匙的KeyIdKeyId是CMK的唯一标识。
303
303
  */
304
304
  KMSKeyId?: string;
305
305
  /**
306
- * 使用KMS服务的地域,KMSRegion为空默认使用本地域的kms,本地域不支持的情况下需自选其他KMS支持的地域。
306
+ * 使用KMS服务的地域,KMSRegion为空默认使用本地域的KMS,本地域不支持的情况下需自选其他KMS支持的地域。
307
307
  */
308
308
  KMSRegion?: string;
309
309
  }
@@ -546,7 +546,7 @@ export interface RenewInstanceResponse {
546
546
  /**
547
547
  * 订单名
548
548
  */
549
- DealName?: string;
549
+ DealName: string;
550
550
  /**
551
551
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
552
552
  */
@@ -627,7 +627,7 @@ export interface InitDBInstancesResponse {
627
627
  /**
628
628
  * 实例ID集合。
629
629
  */
630
- DBInstanceIdSet?: Array<string>;
630
+ DBInstanceIdSet: Array<string>;
631
631
  /**
632
632
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
633
633
  */
@@ -670,11 +670,11 @@ export interface DescribeRegionsResponse {
670
670
  /**
671
671
  * 返回的结果数量。
672
672
  */
673
- TotalCount?: number;
673
+ TotalCount: number;
674
674
  /**
675
675
  * 地域信息集合。
676
676
  */
677
- RegionSet?: Array<RegionInfo>;
677
+ RegionSet: Array<RegionInfo>;
678
678
  /**
679
679
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
680
680
  */
@@ -1036,11 +1036,11 @@ export interface DescribeOrdersResponse {
1036
1036
  /**
1037
1037
  * 订单数量
1038
1038
  */
1039
- TotalCount?: number;
1039
+ TotalCount: number;
1040
1040
  /**
1041
1041
  * 订单数组
1042
1042
  */
1043
- Deals?: Array<PgDeal>;
1043
+ Deals: Array<PgDeal>;
1044
1044
  /**
1045
1045
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1046
1046
  */
@@ -1062,11 +1062,15 @@ export interface InquiryPriceCreateDBInstancesResponse {
1062
1062
  /**
1063
1063
  * 原始价格,单位:分
1064
1064
  */
1065
- OriginalPrice?: number;
1065
+ OriginalPrice: number;
1066
1066
  /**
1067
1067
  * 折后价格,单位:分
1068
1068
  */
1069
- Price?: number;
1069
+ Price: number;
1070
+ /**
1071
+ * 币种。例如,CNY:人民币。
1072
+ */
1073
+ Currency: string;
1070
1074
  /**
1071
1075
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1072
1076
  */
@@ -1111,7 +1115,7 @@ export interface ModifySwitchTimePeriodResponse {
1111
1115
  */
1112
1116
  export interface DisIsolateDBInstancesRequest {
1113
1117
  /**
1114
- * 资源ID列表
1118
+ * 资源ID列表。注意:当前已不支持同时解隔离多个实例,这里只能传入单个实例ID。
1115
1119
  */
1116
1120
  DBInstanceIdSet: Array<string>;
1117
1121
  /**
@@ -1188,13 +1192,13 @@ export interface DescribeDBInstancesRequest {
1188
1192
  */
1189
1193
  Limit?: number;
1190
1194
  /**
1191
- * 排序指标,如实例名、创建时间等,支持DBInstanceId,CreateTime,Name,EndTime
1195
+ * 数据偏移量,从0开始。
1192
1196
  */
1193
- OrderBy?: string;
1197
+ Offset?: number;
1194
1198
  /**
1195
- * 页码偏移量,从0开始。
1199
+ * 排序指标,如实例名、创建时间等,支持DBInstanceId,CreateTime,Name,EndTime
1196
1200
  */
1197
- Offset?: number;
1201
+ OrderBy?: string;
1198
1202
  /**
1199
1203
  * 排序方式,包括升序:asc、降序:desc。
1200
1204
  */
@@ -1337,7 +1341,7 @@ export interface SetAutoRenewFlagResponse {
1337
1341
  /**
1338
1342
  * 设置成功的实例个数
1339
1343
  */
1340
- Count?: number;
1344
+ Count: number;
1341
1345
  /**
1342
1346
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1343
1347
  */
@@ -1404,7 +1408,7 @@ export interface ModifyDBInstancesProjectResponse {
1404
1408
  /**
1405
1409
  * 转移项目成功的实例个数
1406
1410
  */
1407
- Count?: number;
1411
+ Count: number;
1408
1412
  /**
1409
1413
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1410
1414
  */
@@ -1801,11 +1805,11 @@ export interface DescribeDBBackupsResponse {
1801
1805
  /**
1802
1806
  * 返回备份列表中备份文件的个数
1803
1807
  */
1804
- TotalCount?: number;
1808
+ TotalCount: number;
1805
1809
  /**
1806
1810
  * 备份列表
1807
1811
  */
1808
- BackupList?: Array<DBBackup>;
1812
+ BackupList: Array<DBBackup>;
1809
1813
  /**
1810
1814
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1811
1815
  */
@@ -2173,7 +2177,7 @@ export interface OpenDBExtranetAccessResponse {
2173
2177
  /**
2174
2178
  * 异步任务流程ID
2175
2179
  */
2176
- FlowId?: number;
2180
+ FlowId: number;
2177
2181
  /**
2178
2182
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2179
2183
  */
@@ -2264,11 +2268,15 @@ export interface InquiryPriceRenewDBInstanceResponse {
2264
2268
  /**
2265
2269
  * 总费用,打折前的。比如24650表示246.5元
2266
2270
  */
2267
- OriginalPrice?: number;
2271
+ OriginalPrice: number;
2268
2272
  /**
2269
2273
  * 实际需要付款金额。比如24650表示246.5元
2270
2274
  */
2271
- Price?: number;
2275
+ Price: number;
2276
+ /**
2277
+ * 币种。例如,CNY:人民币。
2278
+ */
2279
+ Currency: string;
2272
2280
  /**
2273
2281
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2274
2282
  */
@@ -2355,7 +2363,7 @@ export interface DescribeServerlessDBInstancesResponse {
2355
2363
  */
2356
2364
  export interface IsolateDBInstancesRequest {
2357
2365
  /**
2358
- * 实例ID集合
2366
+ * 实例ID集合。注意:当前已不支持同时隔离多个实例,这里只能传入单个实例ID。
2359
2367
  */
2360
2368
  DBInstanceIdSet: Array<string>;
2361
2369
  }
@@ -2722,7 +2730,7 @@ export interface CloseDBExtranetAccessResponse {
2722
2730
  /**
2723
2731
  * 异步任务流程ID
2724
2732
  */
2725
- FlowId?: number;
2733
+ FlowId: number;
2726
2734
  /**
2727
2735
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2728
2736
  */
@@ -2854,7 +2862,7 @@ export interface CreateServerlessDBInstanceResponse {
2854
2862
  /**
2855
2863
  * 实例ID,该ID全局唯一,如:postgres-xxxxx
2856
2864
  */
2857
- DBInstanceId?: string;
2865
+ DBInstanceId: string;
2858
2866
  /**
2859
2867
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2860
2868
  */
@@ -2867,7 +2875,7 @@ export interface DescribeDatabasesResponse {
2867
2875
  /**
2868
2876
  * 数据库信息
2869
2877
  */
2870
- Items?: Array<string>;
2878
+ Items: Array<string>;
2871
2879
  /**
2872
2880
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2873
2881
  */
@@ -3179,11 +3187,15 @@ export interface InquiryPriceUpgradeDBInstanceResponse {
3179
3187
  /**
3180
3188
  * 总费用,打折前的
3181
3189
  */
3182
- OriginalPrice?: number;
3190
+ OriginalPrice: number;
3183
3191
  /**
3184
3192
  * 实际需要付款金额
3185
3193
  */
3186
- Price?: number;
3194
+ Price: number;
3195
+ /**
3196
+ * 币种。例如,CNY:人民币。
3197
+ */
3198
+ Currency: string;
3187
3199
  /**
3188
3200
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3189
3201
  */
@@ -3289,7 +3301,7 @@ export interface RestartDBInstanceResponse {
3289
3301
  /**
3290
3302
  * 异步流程ID
3291
3303
  */
3292
- FlowId?: number;
3304
+ FlowId: number;
3293
3305
  /**
3294
3306
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3295
3307
  */
@@ -3442,11 +3454,11 @@ export interface DescribeAccountsResponse {
3442
3454
  /**
3443
3455
  * 本次调用接口共返回了多少条数据。
3444
3456
  */
3445
- TotalCount?: number;
3457
+ TotalCount: number;
3446
3458
  /**
3447
3459
  * 帐号列表详细信息。
3448
3460
  */
3449
- Details?: Array<AccountInfo>;
3461
+ Details: Array<AccountInfo>;
3450
3462
  /**
3451
3463
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3452
3464
  */
@@ -3474,11 +3486,11 @@ export interface UpgradeDBInstanceResponse {
3474
3486
  */
3475
3487
  export interface ModifyDBInstancesProjectRequest {
3476
3488
  /**
3477
- * postgresql实例ID数组
3489
+ * 实例ID集合。注意:当前已不支持同时操作多个实例,这里只能传入单个实例ID。
3478
3490
  */
3479
3491
  DBInstanceIdSet: Array<string>;
3480
3492
  /**
3481
- * postgresql实例所属新项目的ID
3493
+ * 所属新项目的ID
3482
3494
  */
3483
3495
  ProjectId: string;
3484
3496
  }
@@ -3565,11 +3577,11 @@ export interface DescribeDBXlogsResponse {
3565
3577
  /**
3566
3578
  * 表示此次返回结果有多少条数据。
3567
3579
  */
3568
- TotalCount?: number;
3580
+ TotalCount: number;
3569
3581
  /**
3570
3582
  * Xlog列表
3571
3583
  */
3572
- XlogList?: Array<Xlog>;
3584
+ XlogList: Array<Xlog>;
3573
3585
  /**
3574
3586
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3575
3587
  */