tencentcloud-sdk-nodejs-dbbrain 4.0.255 → 4.0.260

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.
@@ -240,6 +240,23 @@ export interface DescribeDBDiagEventResponse {
240
240
  */
241
241
  RequestId?: string;
242
242
  }
243
+ /**
244
+ * DescribeDBDiagEvents返回参数结构体
245
+ */
246
+ export interface DescribeDBDiagEventsResponse {
247
+ /**
248
+ * 诊断事件的总数目。
249
+ */
250
+ TotalCount: number;
251
+ /**
252
+ * 诊断事件的列表。
253
+ */
254
+ Items: Array<DiagHistoryEventItem>;
255
+ /**
256
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
257
+ */
258
+ RequestId?: string;
259
+ }
243
260
  /**
244
261
  * DescribeDBDiagReportTasks返回参数结构体
245
262
  */
@@ -578,18 +595,41 @@ export interface DescribeSecurityAuditLogDownloadUrlsRequest {
578
595
  Product: string;
579
596
  }
580
597
  /**
581
- * CreateDBDiagReportTask返回参数结构体
598
+ * 关系型数据库线程
582
599
  */
583
- export interface CreateDBDiagReportTaskResponse {
600
+ export interface MySqlProcess {
584
601
  /**
585
- * 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
586
- 注意:此字段可能返回 null,表示取不到有效值。
587
- */
588
- AsyncRequestId: number;
602
+ * 线程ID。
603
+ */
604
+ ID: string;
589
605
  /**
590
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
606
+ * 线程的操作账号名。
591
607
  */
592
- RequestId?: string;
608
+ User: string;
609
+ /**
610
+ * 线程的操作主机地址。
611
+ */
612
+ Host: string;
613
+ /**
614
+ * 线程的操作数据库。
615
+ */
616
+ DB: string;
617
+ /**
618
+ * 线程的操作状态。
619
+ */
620
+ State: string;
621
+ /**
622
+ * 线程的执行类型。
623
+ */
624
+ Command: string;
625
+ /**
626
+ * 线程的操作时长,单位秒。
627
+ */
628
+ Time: string;
629
+ /**
630
+ * 线程的操作语句。
631
+ */
632
+ Info: string;
593
633
  }
594
634
  /**
595
635
  * CreateMailProfile返回参数结构体
@@ -660,41 +700,18 @@ export interface DescribeDBDiagHistoryRequest {
660
700
  Product?: string;
661
701
  }
662
702
  /**
663
- * 关系型数据库线程
703
+ * CreateDBDiagReportTask返回参数结构体
664
704
  */
665
- export interface MySqlProcess {
666
- /**
667
- * 线程ID。
668
- */
669
- ID: string;
670
- /**
671
- * 线程的操作账号名。
672
- */
673
- User: string;
674
- /**
675
- * 线程的操作主机地址。
676
- */
677
- Host: string;
678
- /**
679
- * 线程的操作数据库。
680
- */
681
- DB: string;
682
- /**
683
- * 线程的操作状态。
684
- */
685
- State: string;
686
- /**
687
- * 线程的执行类型。
688
- */
689
- Command: string;
705
+ export interface CreateDBDiagReportTaskResponse {
690
706
  /**
691
- * 线程的操作时长,单位秒。
692
- */
693
- Time: string;
707
+ * 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
708
+ 注意:此字段可能返回 null,表示取不到有效值。
709
+ */
710
+ AsyncRequestId: number;
694
711
  /**
695
- * 线程的操作语句。
712
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
696
713
  */
697
- Info: string;
714
+ RequestId?: string;
698
715
  }
699
716
  /**
700
717
  * 实例诊断历史事件
@@ -1807,6 +1824,35 @@ export interface DescribeDBSpaceStatusResponse {
1807
1824
  */
1808
1825
  RequestId?: string;
1809
1826
  }
1827
+ /**
1828
+ * DescribeDBDiagEvents请求参数结构体
1829
+ */
1830
+ export interface DescribeDBDiagEventsRequest {
1831
+ /**
1832
+ * 开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。
1833
+ */
1834
+ StartTime: string;
1835
+ /**
1836
+ * 结束时间,如“2021-05-27 01:00:00”,结束时间与开始时间的间隔最大可为7天。
1837
+ */
1838
+ EndTime: string;
1839
+ /**
1840
+ * 风险等级列表,取值按影响程度从高至低分别为:1 - 致命、2 -严重、3 - 告警、4 - 提示、5 -健康。
1841
+ */
1842
+ Severities?: Array<number>;
1843
+ /**
1844
+ * 实例ID列表。
1845
+ */
1846
+ InstanceIds?: Array<string>;
1847
+ /**
1848
+ * 偏移量,默认0。
1849
+ */
1850
+ Offset?: number;
1851
+ /**
1852
+ * 返回数量,默认20,最大值为50。
1853
+ */
1854
+ Limit?: number;
1855
+ }
1810
1856
  /**
1811
1857
  * 描述组信息。
1812
1858
  */