tencentcloud-sdk-nodejs 4.1.219 → 4.1.220
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/es/common/credential.js +1 -1
- package/es/common/sdk_version.js +1 -1
- package/es/services/emr/v20190103/emr_client.js +3 -0
- package/es/services/ess/v20201111/ess_client.js +3 -0
- package/es/services/waf/v20180125/waf_client.js +55 -10
- package/package.json +1 -1
- package/tencentcloud/common/credential.js +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +4 -0
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +5 -1
- package/tencentcloud/services/emr/v20190103/emr_client.js +6 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +329 -72
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +21 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +22 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +82 -44
- package/tencentcloud/services/ft/v20200304/ft_models.d.ts +8 -4
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +8 -0
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +2 -2
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +46 -34
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +106 -25
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +211 -211
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +71 -11
- package/tencentcloud/services/waf/v20180125/waf_client.js +105 -15
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1273 -433
|
@@ -2128,29 +2128,54 @@ export interface RemoveDBInstanceFromReadOnlyGroupResponse {
|
|
|
2128
2128
|
*/
|
|
2129
2129
|
export interface RawSlowQuery {
|
|
2130
2130
|
/**
|
|
2131
|
-
*
|
|
2131
|
+
* <p>慢SQL 语句</p>
|
|
2132
2132
|
*/
|
|
2133
|
-
RawQuery
|
|
2133
|
+
RawQuery?: string;
|
|
2134
2134
|
/**
|
|
2135
|
-
*
|
|
2135
|
+
* <p>慢SQL 查询的数据库</p>
|
|
2136
2136
|
*/
|
|
2137
|
-
DatabaseName
|
|
2137
|
+
DatabaseName?: string;
|
|
2138
2138
|
/**
|
|
2139
|
-
*
|
|
2139
|
+
* <p>慢SQL执行 耗时</p>
|
|
2140
2140
|
*/
|
|
2141
|
-
Duration
|
|
2141
|
+
Duration?: number;
|
|
2142
2142
|
/**
|
|
2143
|
-
*
|
|
2143
|
+
* <p>执行慢SQL的客户端</p>
|
|
2144
2144
|
*/
|
|
2145
|
-
ClientAddr
|
|
2145
|
+
ClientAddr?: string;
|
|
2146
2146
|
/**
|
|
2147
|
-
*
|
|
2147
|
+
* <p>执行慢SQL的用户名</p>
|
|
2148
2148
|
*/
|
|
2149
|
-
UserName
|
|
2149
|
+
UserName?: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* <p>慢SQL执行的开始时间</p>
|
|
2152
|
+
*/
|
|
2153
|
+
SessionStartTime?: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* <p>执行慢SQL的进程ID</p>
|
|
2156
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2157
|
+
*/
|
|
2158
|
+
ProcessId?: number;
|
|
2159
|
+
/**
|
|
2160
|
+
* <p>执行慢SQL的会话ID</p>
|
|
2161
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2162
|
+
*/
|
|
2163
|
+
SessionId?: string;
|
|
2164
|
+
/**
|
|
2165
|
+
* <p>执行慢SQL的事务ID</p>
|
|
2166
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2167
|
+
*/
|
|
2168
|
+
VirtualTransactionId?: string;
|
|
2169
|
+
/**
|
|
2170
|
+
* <p>执行慢SQL的状态码</p>
|
|
2171
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2172
|
+
*/
|
|
2173
|
+
SqlStateCode?: string;
|
|
2150
2174
|
/**
|
|
2151
|
-
*
|
|
2175
|
+
* <p>执行慢SQL的客户端名称</p>
|
|
2176
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2152
2177
|
*/
|
|
2153
|
-
|
|
2178
|
+
ApplicationName?: string;
|
|
2154
2179
|
}
|
|
2155
2180
|
/**
|
|
2156
2181
|
* DescribeDatabaseObjects请求参数结构体
|
|
@@ -2430,33 +2455,37 @@ export interface DescribeBackupSummariesResponse {
|
|
|
2430
2455
|
*/
|
|
2431
2456
|
export interface DescribeDBErrlogsRequest {
|
|
2432
2457
|
/**
|
|
2433
|
-
*
|
|
2458
|
+
* <p>实例ID。 可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
2434
2459
|
*/
|
|
2435
2460
|
DBInstanceId: string;
|
|
2436
2461
|
/**
|
|
2437
|
-
*
|
|
2462
|
+
* <p>查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。</p>
|
|
2438
2463
|
*/
|
|
2439
2464
|
StartTime: string;
|
|
2440
2465
|
/**
|
|
2441
|
-
*
|
|
2466
|
+
* <p>查询结束时间,形如2018-01-01 00:00:00。</p>
|
|
2442
2467
|
*/
|
|
2443
2468
|
EndTime: string;
|
|
2444
2469
|
/**
|
|
2445
|
-
*
|
|
2470
|
+
* <p>数据库名字。</p>
|
|
2446
2471
|
*/
|
|
2447
2472
|
DatabaseName?: string;
|
|
2448
2473
|
/**
|
|
2449
|
-
*
|
|
2474
|
+
* <p>搜索关键字。</p>
|
|
2450
2475
|
*/
|
|
2451
2476
|
SearchKeys?: Array<string>;
|
|
2452
2477
|
/**
|
|
2453
|
-
*
|
|
2478
|
+
* <p>每页显示数量,取值范围为1-100。默认值为50。</p>
|
|
2454
2479
|
*/
|
|
2455
2480
|
Limit?: number;
|
|
2456
2481
|
/**
|
|
2457
|
-
*
|
|
2482
|
+
* <p>数据偏移量,从0开始。默认值为0。</p>
|
|
2458
2483
|
*/
|
|
2459
2484
|
Offset?: number;
|
|
2485
|
+
/**
|
|
2486
|
+
* <p>日志过滤条件。格式为 [{Type: "ApplicationName", Compare: "INC", Value: ["123"]}]。</p>
|
|
2487
|
+
*/
|
|
2488
|
+
LogFilters?: Array<LogFilter>;
|
|
2460
2489
|
}
|
|
2461
2490
|
/**
|
|
2462
2491
|
* 数据库备份信息
|
|
@@ -3459,21 +3488,56 @@ export interface DescribeSlowQueryAnalysisRequest {
|
|
|
3459
3488
|
*/
|
|
3460
3489
|
export interface ErrLogDetail {
|
|
3461
3490
|
/**
|
|
3462
|
-
*
|
|
3491
|
+
* <p>用户名</p>
|
|
3463
3492
|
*/
|
|
3464
3493
|
UserName?: string;
|
|
3465
3494
|
/**
|
|
3466
|
-
*
|
|
3495
|
+
* <p>数据库名字</p>
|
|
3467
3496
|
*/
|
|
3468
3497
|
Database?: string;
|
|
3469
3498
|
/**
|
|
3470
|
-
*
|
|
3499
|
+
* <p>错误发生时间</p>
|
|
3471
3500
|
*/
|
|
3472
3501
|
ErrTime?: string;
|
|
3473
3502
|
/**
|
|
3474
|
-
*
|
|
3503
|
+
* <p>错误消息</p>
|
|
3475
3504
|
*/
|
|
3476
3505
|
ErrMsg?: string;
|
|
3506
|
+
/**
|
|
3507
|
+
* <p>进程ID</p>
|
|
3508
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3509
|
+
*/
|
|
3510
|
+
ProcessId?: number;
|
|
3511
|
+
/**
|
|
3512
|
+
* <p>客户端地址</p>
|
|
3513
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3514
|
+
*/
|
|
3515
|
+
ClientAddr?: string;
|
|
3516
|
+
/**
|
|
3517
|
+
* <p>会话ID</p>
|
|
3518
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3519
|
+
*/
|
|
3520
|
+
SessionId?: string;
|
|
3521
|
+
/**
|
|
3522
|
+
* <p>会话开始时间</p>
|
|
3523
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3524
|
+
*/
|
|
3525
|
+
SessionStartTime?: string;
|
|
3526
|
+
/**
|
|
3527
|
+
* <p>虚拟事务ID</p>
|
|
3528
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3529
|
+
*/
|
|
3530
|
+
VirtualTransactionId?: string;
|
|
3531
|
+
/**
|
|
3532
|
+
* <p>SQLSTATE错误码</p>
|
|
3533
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3534
|
+
*/
|
|
3535
|
+
SqlStateCode?: string;
|
|
3536
|
+
/**
|
|
3537
|
+
* <p>客户端应用名称</p>
|
|
3538
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3539
|
+
*/
|
|
3540
|
+
ApplicationName?: string;
|
|
3477
3541
|
}
|
|
3478
3542
|
/**
|
|
3479
3543
|
* DestroyDBInstance请求参数结构体
|
|
@@ -4593,11 +4657,11 @@ export interface DescribeParameterTemplateAttributesRequest {
|
|
|
4593
4657
|
*/
|
|
4594
4658
|
export interface DescribeDBErrlogsResponse {
|
|
4595
4659
|
/**
|
|
4596
|
-
*
|
|
4660
|
+
* <p>查询到的日志数量,最大值为10000条。</p>
|
|
4597
4661
|
*/
|
|
4598
4662
|
TotalCount?: number;
|
|
4599
4663
|
/**
|
|
4600
|
-
*
|
|
4664
|
+
* <p>错误日志详细信息集合。</p>
|
|
4601
4665
|
*/
|
|
4602
4666
|
Details?: Array<ErrLogDetail>;
|
|
4603
4667
|
/**
|
|
@@ -5590,3 +5654,20 @@ export interface DeleteAccountResponse {
|
|
|
5590
5654
|
*/
|
|
5591
5655
|
RequestId?: string;
|
|
5592
5656
|
}
|
|
5657
|
+
/**
|
|
5658
|
+
* 日志过滤条件
|
|
5659
|
+
*/
|
|
5660
|
+
export interface LogFilter {
|
|
5661
|
+
/**
|
|
5662
|
+
* <p>过滤条件名称。</p><p>如:sql - SQL命令详情</p><p>host – 客户端 IP;<br>user – 数据库账户。</p>
|
|
5663
|
+
*/
|
|
5664
|
+
Type: string;
|
|
5665
|
+
/**
|
|
5666
|
+
* <p>过滤条件匹配类型。支持:<br>INC – 包含; (多个值之间是||的关系)<br>EXC – 不包含; (多个值之间是&&的关系)<br>EQS – 等于; (多个值之间是||的关系)<br>NEQ – 不等于;(多个值之间是&&的关系)<br>RG – 范围;</p>
|
|
5667
|
+
*/
|
|
5668
|
+
Compare: string;
|
|
5669
|
+
/**
|
|
5670
|
+
* <p>过滤条件匹配值。当Compare=RG时,例:["1-100","200-300"]</p>
|
|
5671
|
+
*/
|
|
5672
|
+
Value: Array<string>;
|
|
5673
|
+
}
|