tencentcloud-sdk-nodejs-sqlserver 4.0.332 → 4.0.335

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.
@@ -160,7 +160,7 @@ export interface ModifyBackupStrategyRequest {
160
160
  */
161
161
  InstanceId: string;
162
162
  /**
163
- * 备份类型,当前只支持按天备份,取值为daily
163
+ * 备份类型,当length(BackupDay) <=7 && length(BackupDay) >=2时,取值为weekly,当length(BackupDay)=1时,取值daily,默认daily
164
164
  */
165
165
  BackupType?: string;
166
166
  /**
@@ -175,6 +175,14 @@ export interface ModifyBackupStrategyRequest {
175
175
  * 备份模式,master_pkg-主节点上打包备份文件;master_no_pkg-主节点单库备份文件;slave_pkg-从节点上打包备份文件;slave_no_pkg-从节点上单库备份文件,从节点上备份只有在always on容灾模式下支持。
176
176
  */
177
177
  BackupModel?: string;
178
+ /**
179
+ * BackupType取值为weekly时,表示每周的星期N做备份。(如果数据备份保留时间<7天,则取值[1,2,3,4,5,6,7]。如果数据备份保留时间>=7天,则备份周期取值至少是一周的任意2天)
180
+ */
181
+ BackupCycle?: Array<number>;
182
+ /**
183
+ * 数据(日志)备份保留时间,取值[3-1830]天,默认7天
184
+ */
185
+ BackupSaveDays?: number;
178
186
  }
179
187
  /**
180
188
  * RestoreInstance请求参数结构体
@@ -426,7 +434,7 @@ export interface StartBackupMigrationResponse {
426
434
  /**
427
435
  * 流程ID
428
436
  */
429
- FlowId?: number;
437
+ FlowId: number;
430
438
  /**
431
439
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
432
440
  */
@@ -619,7 +627,7 @@ export interface RollbackInstanceResponse {
619
627
  /**
620
628
  * 异步任务ID
621
629
  */
622
- FlowId?: number;
630
+ FlowId: number;
623
631
  /**
624
632
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
625
633
  */
@@ -680,7 +688,7 @@ export interface DescribeReadOnlyGroupListResponse {
680
688
  /**
681
689
  * 只读组列表
682
690
  */
683
- ReadOnlyGroupSet?: Array<ReadOnlyGroup>;
691
+ ReadOnlyGroupSet: Array<ReadOnlyGroup>;
684
692
  /**
685
693
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
686
694
  */
@@ -751,6 +759,14 @@ export interface DescribeBackupsRequest {
751
759
  * 是否分组查询,默认是0,单库备份情况下 0-兼容老方式不分组,1-单库备份分组后展示
752
760
  */
753
761
  Group?: number;
762
+ /**
763
+ * 备份类型,1-数据备份,2-日志备份,默认值为1
764
+ */
765
+ Type?: number;
766
+ /**
767
+ * 按照备份文件形式筛选,pkg-打包备份文件,single-单库备份文件
768
+ */
769
+ BackupFormat?: string;
754
770
  }
755
771
  /**
756
772
  * ModifyDBInstanceProject返回参数结构体
@@ -1306,7 +1322,7 @@ export interface ResetAccountPasswordResponse {
1306
1322
  /**
1307
1323
  * 修改帐号密码的异步任务流程ID
1308
1324
  */
1309
- FlowId?: number;
1325
+ FlowId: number;
1310
1326
  /**
1311
1327
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1312
1328
  */
@@ -1678,6 +1694,10 @@ export interface DescribeDBInstancesRequest {
1678
1694
  * 实例唯一Uid列表
1679
1695
  */
1680
1696
  UidSet?: Array<string>;
1697
+ /**
1698
+ * 实例类型 HA-高可用 RO-只读实例 SI-基础版 BI-商业智能服务
1699
+ */
1700
+ InstanceType?: string;
1681
1701
  }
1682
1702
  /**
1683
1703
  * DescribeDBSecurityGroups请求参数结构体
@@ -1974,7 +1994,7 @@ export interface ModifyBackupMigrationResponse {
1974
1994
  /**
1975
1995
  * 备份导入任务ID
1976
1996
  */
1977
- BackupMigrationId?: string;
1997
+ BackupMigrationId: string;
1978
1998
  /**
1979
1999
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1980
2000
  */
@@ -2453,35 +2473,35 @@ export interface DescribeUploadIncrementalInfoResponse {
2453
2473
  /**
2454
2474
  * 存储桶名称
2455
2475
  */
2456
- BucketName?: string;
2476
+ BucketName: string;
2457
2477
  /**
2458
2478
  * 存储桶地域信息
2459
2479
  */
2460
- Region?: string;
2480
+ Region: string;
2461
2481
  /**
2462
2482
  * 存储路径
2463
2483
  */
2464
- Path?: string;
2484
+ Path: string;
2465
2485
  /**
2466
2486
  * 临时密钥ID
2467
2487
  */
2468
- TmpSecretId?: string;
2488
+ TmpSecretId: string;
2469
2489
  /**
2470
2490
  * 临时密钥Key
2471
2491
  */
2472
- TmpSecretKey?: string;
2492
+ TmpSecretKey: string;
2473
2493
  /**
2474
2494
  * 临时密钥Token
2475
2495
  */
2476
- XCosSecurityToken?: string;
2496
+ XCosSecurityToken: string;
2477
2497
  /**
2478
2498
  * 临时密钥开始时间
2479
2499
  */
2480
- StartTime?: string;
2500
+ StartTime: string;
2481
2501
  /**
2482
2502
  * 临时密钥到期时间
2483
2503
  */
2484
- ExpiredTime?: string;
2504
+ ExpiredTime: string;
2485
2505
  /**
2486
2506
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2487
2507
  */
@@ -2588,6 +2608,10 @@ export interface DescribeBackupFilesRequest {
2588
2608
  * 按照备份的库名称筛选,不填则不筛选此项
2589
2609
  */
2590
2610
  DatabaseName?: string;
2611
+ /**
2612
+ * 列表项排序,目前只按照备份大小排序(desc-降序,asc-升序),默认desc
2613
+ */
2614
+ OrderBy?: string;
2591
2615
  }
2592
2616
  /**
2593
2617
  * 用于RestoreInstance,RollbackInstance,CreateMigration、CloneDB 等接口;对恢复的库进行重命名,且支持选择要恢复的库。
@@ -2959,7 +2983,7 @@ export interface StartIncrementalMigrationResponse {
2959
2983
  /**
2960
2984
  * 流程ID
2961
2985
  */
2962
- FlowId?: number;
2986
+ FlowId: number;
2963
2987
  /**
2964
2988
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2965
2989
  */
@@ -3255,6 +3279,27 @@ export interface DBInstance {
3255
3279
  注意:此字段可能返回 null,表示取不到有效值。
3256
3280
  */
3257
3281
  BackupModel: string;
3282
+ /**
3283
+ * 实例备份信息
3284
+ 注意:此字段可能返回 null,表示取不到有效值。
3285
+ */
3286
+ InstanceNote: string;
3287
+ /**
3288
+ * 备份周期
3289
+ */
3290
+ BackupCycle: Array<number>;
3291
+ /**
3292
+ * 备份周期类型,[daily、weekly、monthly]
3293
+ */
3294
+ BackupCycleType: string;
3295
+ /**
3296
+ * 数据(日志)备份保留时间
3297
+ */
3298
+ BackupSaveDays: number;
3299
+ /**
3300
+ * 实例类型 HA-高可用 RO-只读实例 SI-基础版 BI-商业智能服务
3301
+ */
3302
+ InstanceType: string;
3258
3303
  }
3259
3304
  /**
3260
3305
  * DescribeProductConfig返回参数结构体
@@ -3461,7 +3506,7 @@ export interface ModifyDBNameResponse {
3461
3506
  /**
3462
3507
  * 任务流ID
3463
3508
  */
3464
- FlowId?: number;
3509
+ FlowId: number;
3465
3510
  /**
3466
3511
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3467
3512
  */
@@ -3622,6 +3667,10 @@ export interface Backup {
3622
3667
  * 聚合Id,对于打包备份文件不返回此值。通过此值调用DescribeBackupFiles接口,获取单库备份文件的详细信息
3623
3668
  */
3624
3669
  GroupId: string;
3670
+ /**
3671
+ * 备份文件形式(pkg-打包备份文件,single-单库备份文件)
3672
+ */
3673
+ BackupFormat: string;
3625
3674
  }
3626
3675
  /**
3627
3676
  * DescribeBackupCommand请求参数结构体
@@ -3727,7 +3776,7 @@ export interface CreateIncrementalMigrationResponse {
3727
3776
  /**
3728
3777
  * 增量备份导入任务ID
3729
3778
  */
3730
- IncrementalMigrationId?: string;
3779
+ IncrementalMigrationId: string;
3731
3780
  /**
3732
3781
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3733
3782
  */
@@ -4438,7 +4487,7 @@ export interface RestartDBInstanceResponse {
4438
4487
  /**
4439
4488
  * 异步任务流程ID
4440
4489
  */
4441
- FlowId?: number;
4490
+ FlowId: number;
4442
4491
  /**
4443
4492
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4444
4493
  */
@@ -4485,11 +4534,11 @@ export interface DescribeSlowlogsResponse {
4485
4534
  /**
4486
4535
  * 查询总数
4487
4536
  */
4488
- TotalCount?: number;
4537
+ TotalCount: number;
4489
4538
  /**
4490
4539
  * 慢查询日志信息列表
4491
4540
  */
4492
- Slowlogs?: Array<SlowlogInfo>;
4541
+ Slowlogs: Array<SlowlogInfo>;
4493
4542
  /**
4494
4543
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4495
4544
  */