tencentcloud-sdk-nodejs-postgres 4.0.270 → 4.0.274

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.
@@ -325,6 +325,23 @@ export interface SpecItemInfo {
325
325
  */
326
326
  KernelVersion: string;
327
327
  }
328
+ /**
329
+ * DescribeAvailableRecoveryTime返回参数结构体
330
+ */
331
+ export interface DescribeAvailableRecoveryTimeResponse {
332
+ /**
333
+ * 可恢复的最早时间,时区为东八区(UTC+8)。
334
+ */
335
+ RecoveryBeginTime: string;
336
+ /**
337
+ * 可恢复的最晚时间,时区为东八区(UTC+8)。
338
+ */
339
+ RecoveryEndTime: string;
340
+ /**
341
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
342
+ */
343
+ RequestId?: string;
344
+ }
328
345
  /**
329
346
  * ModifyDBInstanceReadOnlyGroup返回参数结构体
330
347
  */
@@ -338,6 +355,121 @@ export interface ModifyDBInstanceReadOnlyGroupResponse {
338
355
  */
339
356
  RequestId?: string;
340
357
  }
358
+ /**
359
+ * CloneDBInstance请求参数结构体
360
+ */
361
+ export interface CloneDBInstanceRequest {
362
+ /**
363
+ * 克隆的源实例ID。
364
+ */
365
+ DBInstanceId: string;
366
+ /**
367
+ * 售卖规格ID。该参数可以通过调用DescribeProductConfig的返回值中的SpecCode字段来获取。
368
+ */
369
+ SpecCode: string;
370
+ /**
371
+ * 实例容量大小,单位:GB。
372
+ */
373
+ Storage: number;
374
+ /**
375
+ * 购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值,按量计费模式下该参数传1。
376
+ */
377
+ Period: number;
378
+ /**
379
+ * 续费标记:0-正常续费(默认);1-自动续费。
380
+ */
381
+ AutoRenewFlag: number;
382
+ /**
383
+ * 私有网络ID。
384
+ */
385
+ VpcId: string;
386
+ /**
387
+ * 已配置的私有网络中的子网ID。
388
+ */
389
+ SubnetId: string;
390
+ /**
391
+ * 新购实例的实例名称。
392
+ */
393
+ Name?: string;
394
+ /**
395
+ * 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。
396
+ */
397
+ InstanceChargeType?: string;
398
+ /**
399
+ * 安全组ID。
400
+ */
401
+ SecurityGroupIds?: Array<string>;
402
+ /**
403
+ * 项目ID。
404
+ */
405
+ ProjectId?: number;
406
+ /**
407
+ * 实例需要绑定的Tag信息,默认为空。
408
+ */
409
+ TagList?: Array<Tag>;
410
+ /**
411
+ * 购买多可用区实例时填写。
412
+ */
413
+ DBNodeSet?: Array<DBNode>;
414
+ /**
415
+ * 是否自动使用代金券。1(是),0(否),默认不使用。
416
+ */
417
+ AutoVoucher?: number;
418
+ /**
419
+ * 代金券ID列表。
420
+ */
421
+ VoucherIds?: string;
422
+ /**
423
+ * 活动ID。
424
+ */
425
+ ActivityId?: number;
426
+ /**
427
+ * 基础备份集ID。
428
+ */
429
+ BackupSetId?: string;
430
+ /**
431
+ * 恢复时间点。
432
+ */
433
+ RecoveryTargetTime?: string;
434
+ }
435
+ /**
436
+ * DescribeCloneDBInstanceSpec请求参数结构体
437
+ */
438
+ export interface DescribeCloneDBInstanceSpecRequest {
439
+ /**
440
+ * 实例ID。
441
+ */
442
+ DBInstanceId: string;
443
+ /**
444
+ * 基础备份集ID,此入参和RecoveryTargetTime必须选择一个传入。如与RecoveryTargetTime参数同时设置,则以此参数为准。
445
+ */
446
+ BackupSetId?: string;
447
+ /**
448
+ * 恢复目标时间,此入参和BackupSetId必须选择一个传入。时区以东八区(UTC+8)为准。
449
+ */
450
+ RecoveryTargetTime?: string;
451
+ }
452
+ /**
453
+ * 备份计划
454
+ */
455
+ export interface BackupPlan {
456
+ /**
457
+ * 备份周期
458
+ */
459
+ BackupPeriod: string;
460
+ /**
461
+ * 基础备份保留时长
462
+ */
463
+ BaseBackupRetentionPeriod: number;
464
+ /**
465
+ * 开始备份的最早时间
466
+ */
467
+ MinBackupStartTime: string;
468
+ /**
469
+ * 开始备份的最晚时间
470
+ */
471
+ MaxBackupStartTime: string;
472
+ }
341
473
  /**
342
474
  * OpenServerlessDBExtranetAccess请求参数结构体
343
475
  */
@@ -527,6 +659,31 @@ export interface DBInstanceNetInfo {
527
659
  */
528
660
  SubnetId: string;
529
661
  }
662
+ /**
663
+ * ModifyDBInstanceDeployment请求参数结构体
664
+ */
665
+ export interface ModifyDBInstanceDeploymentRequest {
666
+ /**
667
+ * 实例ID。
668
+ */
669
+ DBInstanceId: string;
670
+ /**
671
+ * 实例节点信息。
672
+ */
673
+ DBNodeSet: Array<DBNode>;
674
+ /**
675
+ * 切换时间,默认为 立即切换,入参为 0 :立即切换 。1:指定时间切换。
676
+ */
677
+ SwitchTag: number;
678
+ /**
679
+ * 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。
680
+ */
681
+ SwitchStartTime?: string;
682
+ /**
683
+ * 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。
684
+ */
685
+ SwitchEndTime?: string;
686
+ }
530
687
  /**
531
688
  * 描述可用区的编码和状态信息
532
689
  */
@@ -691,24 +848,23 @@ export interface CloseServerlessDBExtranetAccessRequest {
691
848
  DBInstanceName?: string;
692
849
  }
693
850
  /**
694
- * serverless账号描述
851
+ * CloneDBInstance返回参数结构体
695
852
  */
696
- export interface ServerlessDBAccount {
853
+ export interface CloneDBInstanceResponse {
697
854
  /**
698
- * 用户名
855
+ * 订单号。
699
856
  注意:此字段可能返回 null,表示取不到有效值。
700
857
  */
701
- DBUser: string;
858
+ DealName: string;
702
859
  /**
703
- * 密码
860
+ * 订单流水号。
704
861
  注意:此字段可能返回 null,表示取不到有效值。
705
862
  */
706
- DBPassword: string;
863
+ BillId: string;
707
864
  /**
708
- * 连接数限制
709
- 注意:此字段可能返回 null,表示取不到有效值。
710
- */
711
- DBConnLimit: number;
865
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
866
+ */
867
+ RequestId?: string;
712
868
  }
713
869
  /**
714
870
  * ModifyDBInstanceReadOnlyGroup请求参数结构体
@@ -761,6 +917,15 @@ export interface CreateReadOnlyDBInstanceResponse {
761
917
  */
762
918
  RequestId?: string;
763
919
  }
920
+ /**
921
+ * DescribeAvailableRecoveryTime请求参数结构体
922
+ */
923
+ export interface DescribeAvailableRecoveryTimeRequest {
924
+ /**
925
+ * 实例ID
926
+ */
927
+ DBInstanceId: string;
928
+ }
764
929
  /**
765
930
  * 慢SQL耗时分段分析
766
931
  */
@@ -881,6 +1046,19 @@ export interface ServerlessDBInstanceNetInfo {
881
1046
  */
882
1047
  NetType: string;
883
1048
  }
1049
+ /**
1050
+ * DescribeBackupPlans返回参数结构体
1051
+ */
1052
+ export interface DescribeBackupPlansResponse {
1053
+ /**
1054
+ * 实例的备份计划集
1055
+ */
1056
+ Plans: Array<BackupPlan>;
1057
+ /**
1058
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1059
+ */
1060
+ RequestId?: string;
1061
+ }
884
1062
  /**
885
1063
  * DescribeDBInstances请求参数结构体
886
1064
  */
@@ -1271,6 +1449,35 @@ export interface DestroyDBInstanceRequest {
1271
1449
  */
1272
1450
  DBInstanceId: string;
1273
1451
  }
1452
+ /**
1453
+ * serverless账号描述
1454
+ */
1455
+ export interface ServerlessDBAccount {
1456
+ /**
1457
+ * 用户名
1458
+ 注意:此字段可能返回 null,表示取不到有效值。
1459
+ */
1460
+ DBUser: string;
1461
+ /**
1462
+ * 密码
1463
+ 注意:此字段可能返回 null,表示取不到有效值。
1464
+ */
1465
+ DBPassword: string;
1466
+ /**
1467
+ * 连接数限制
1468
+ 注意:此字段可能返回 null,表示取不到有效值。
1469
+ */
1470
+ DBConnLimit: number;
1471
+ }
1472
+ /**
1473
+ * ModifyDBInstanceDeployment返回参数结构体
1474
+ */
1475
+ export interface ModifyDBInstanceDeploymentResponse {
1476
+ /**
1477
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1478
+ */
1479
+ RequestId?: string;
1480
+ }
1274
1481
  /**
1275
1482
  * DescribeParamsEvent请求参数结构体
1276
1483
  */
@@ -2410,6 +2617,23 @@ export interface CreateReadOnlyDBInstanceRequest {
2410
2617
  */
2411
2618
  SecurityGroupIds?: Array<string>;
2412
2619
  }
2620
+ /**
2621
+ * DescribeCloneDBInstanceSpec返回参数结构体
2622
+ */
2623
+ export interface DescribeCloneDBInstanceSpecResponse {
2624
+ /**
2625
+ * 可购买的最小规格码。
2626
+ */
2627
+ MinSpecCode: string;
2628
+ /**
2629
+ * 可购买的最小磁盘容量,单位GB。
2630
+ */
2631
+ MinStorage: number;
2632
+ /**
2633
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2634
+ */
2635
+ RequestId?: string;
2636
+ }
2413
2637
  /**
2414
2638
  * DescribeZones返回参数结构体
2415
2639
  */
@@ -2492,6 +2716,15 @@ export interface CloseDBExtranetAccessRequest {
2492
2716
  */
2493
2717
  IsIpv6?: number;
2494
2718
  }
2719
+ /**
2720
+ * ModifyBackupPlan返回参数结构体
2721
+ */
2722
+ export interface ModifyBackupPlanResponse {
2723
+ /**
2724
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2725
+ */
2726
+ RequestId?: string;
2727
+ }
2495
2728
  /**
2496
2729
  * CreateServerlessDBInstance请求参数结构体
2497
2730
  */
@@ -2682,6 +2915,31 @@ export interface DescribeDBErrlogsResponse {
2682
2915
  */
2683
2916
  RequestId?: string;
2684
2917
  }
2918
+ /**
2919
+ * ModifyBackupPlan请求参数结构体
2920
+ */
2921
+ export interface ModifyBackupPlanRequest {
2922
+ /**
2923
+ * 实例ID
2924
+ */
2925
+ DBInstanceId: string;
2926
+ /**
2927
+ * 实例最早开始备份时间
2928
+ */
2929
+ MinBackupStartTime?: string;
2930
+ /**
2931
+ * 实例最晚开始备份时间
2932
+ */
2933
+ MaxBackupStartTime?: string;
2934
+ /**
2935
+ * 实例备份保留时长,取值范围为3-7,单位是天
2936
+ */
2937
+ BaseBackupRetentionPeriod?: number;
2938
+ /**
2939
+ * 实例备份周期,按照星期维度,格式为小写星期英文单词
2940
+ */
2941
+ BackupPeriod?: Array<string>;
2942
+ }
2685
2943
  /**
2686
2944
  * 批量修改参数
2687
2945
  */
@@ -2848,6 +3106,15 @@ export interface RemoveDBInstanceFromReadOnlyGroupResponse {
2848
3106
  */
2849
3107
  RequestId?: string;
2850
3108
  }
3109
+ /**
3110
+ * DescribeBackupPlans请求参数结构体
3111
+ */
3112
+ export interface DescribeBackupPlansRequest {
3113
+ /**
3114
+ * 实例ID
3115
+ */
3116
+ DBInstanceId: string;
3117
+ }
2851
3118
  /**
2852
3119
  * ResetAccountPassword请求参数结构体
2853
3120
  */