tencentcloud-sdk-nodejs 4.0.841 → 4.0.842
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/CHANGELOG.md +176 -0
- package/README.md +7 -0
- package/SERVICE_CHANGELOG.md +234 -59
- package/examples/common/common_client.js +47 -0
- package/examples/common/common_client.ts +47 -0
- package/package.json +6 -1
- package/products.md +14 -14
- package/src/common/index.ts +3 -0
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apm/v20210622/apm_client.ts +46 -8
- package/src/services/apm/v20210622/apm_models.ts +233 -24
- package/src/services/cloudstudio/v20230508/cloudstudio_models.ts +1 -1
- package/src/services/ess/v20201111/ess_client.ts +2 -0
- package/src/services/ess/v20201111/ess_models.ts +30 -2
- package/src/services/essbasic/v20210526/essbasic_client.ts +2 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +30 -2
- package/src/services/ims/v20201229/ims_client.ts +2 -3
- package/src/services/ims/v20201229/ims_models.ts +54 -54
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +13 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +47 -0
- package/src/services/iss/v20230517/iss_models.ts +16 -0
- package/src/services/lke/v20231130/lke_client.ts +0 -24
- package/src/services/lke/v20231130/lke_models.ts +0 -81
- package/src/services/tdid/v20210519/tdid_client.ts +1 -1
- package/src/services/teo/v20220901/teo_models.ts +8 -9
- package/src/services/tione/v20211111/tione_client.ts +1 -0
- package/src/services/tione/v20211111/tione_models.ts +16 -0
- package/tencentcloud/common/index.d.ts +3 -0
- package/tencentcloud/common/index.js +6 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +15 -3
- package/tencentcloud/services/apm/v20210622/apm_client.js +21 -3
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +225 -24
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +28 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +28 -2
- package/tencentcloud/services/ims/v20201229/ims_client.d.ts +2 -3
- package/tencentcloud/services/ims/v20201229/ims_client.js +2 -3
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +54 -54
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +44 -0
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +16 -0
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -9
- package/tencentcloud/services/lke/v20231130/lke_client.js +0 -12
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +0 -77
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +1 -1
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +8 -9
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +15 -0
- package/test/apm.v20210622.test.js +32 -2
- package/test/iotexplorer.v20190423.test.js +10 -0
- package/test/lke.v20231130.test.js +0 -20
|
@@ -1024,33 +1024,6 @@ export interface DeleteQARequest {
|
|
|
1024
1024
|
QaBizIds: Array<string>
|
|
1025
1025
|
}
|
|
1026
1026
|
|
|
1027
|
-
/**
|
|
1028
|
-
* ParseDoc请求参数结构体
|
|
1029
|
-
*/
|
|
1030
|
-
export interface ParseDocRequest {
|
|
1031
|
-
/**
|
|
1032
|
-
* 文件名称(需要包括文件后缀, 最大长度1024字节)
|
|
1033
|
-
*/
|
|
1034
|
-
Name: string
|
|
1035
|
-
/**
|
|
1036
|
-
* 文件下载链接 (支持的文件类型: docx, txt, markdown, pdf)
|
|
1037
|
-
*/
|
|
1038
|
-
Url: string
|
|
1039
|
-
/**
|
|
1040
|
-
* 任务ID, 用于幂等去重, 业务自行定义(最大长度64字节)
|
|
1041
|
-
*/
|
|
1042
|
-
TaskId: string
|
|
1043
|
-
/**
|
|
1044
|
-
* 切分策略
|
|
1045
|
-
*/
|
|
1046
|
-
Policy?: string
|
|
1047
|
-
/**
|
|
1048
|
-
* 默认值: parse
|
|
1049
|
-
* @deprecated
|
|
1050
|
-
*/
|
|
1051
|
-
Operate?: string
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
1027
|
/**
|
|
1055
1028
|
* ListRelease请求参数结构体
|
|
1056
1029
|
*/
|
|
@@ -1860,36 +1833,6 @@ export interface DeleteQACateResponse {
|
|
|
1860
1833
|
RequestId?: string
|
|
1861
1834
|
}
|
|
1862
1835
|
|
|
1863
|
-
/**
|
|
1864
|
-
* QueryParseDocResult返回参数结构体
|
|
1865
|
-
*/
|
|
1866
|
-
export interface QueryParseDocResultResponse {
|
|
1867
|
-
/**
|
|
1868
|
-
* 等待 / 执行中 / 成功 / 失败
|
|
1869
|
-
*/
|
|
1870
|
-
Status?: string
|
|
1871
|
-
/**
|
|
1872
|
-
* 解析后的文件内容
|
|
1873
|
-
*/
|
|
1874
|
-
Name?: string
|
|
1875
|
-
/**
|
|
1876
|
-
* 文件下载地址
|
|
1877
|
-
*/
|
|
1878
|
-
Url?: string
|
|
1879
|
-
/**
|
|
1880
|
-
* 解析失败原因
|
|
1881
|
-
*/
|
|
1882
|
-
Reason?: string
|
|
1883
|
-
/**
|
|
1884
|
-
* 消耗量,输出页数
|
|
1885
|
-
*/
|
|
1886
|
-
Usage?: Usage
|
|
1887
|
-
/**
|
|
1888
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1889
|
-
*/
|
|
1890
|
-
RequestId?: string
|
|
1891
|
-
}
|
|
1892
|
-
|
|
1893
1836
|
/**
|
|
1894
1837
|
* ListReleaseDocPreview返回参数结构体
|
|
1895
1838
|
*/
|
|
@@ -3173,16 +3116,6 @@ export interface AppInfo {
|
|
|
3173
3116
|
ModelAliasName?: string
|
|
3174
3117
|
}
|
|
3175
3118
|
|
|
3176
|
-
/**
|
|
3177
|
-
* QueryParseDocResult请求参数结构体
|
|
3178
|
-
*/
|
|
3179
|
-
export interface QueryParseDocResultRequest {
|
|
3180
|
-
/**
|
|
3181
|
-
* 任务ID
|
|
3182
|
-
*/
|
|
3183
|
-
TaskId: string
|
|
3184
|
-
}
|
|
3185
|
-
|
|
3186
3119
|
/**
|
|
3187
3120
|
* 知识问答配置
|
|
3188
3121
|
*/
|
|
@@ -3875,20 +3808,6 @@ export interface StopDocParseResponse {
|
|
|
3875
3808
|
RequestId?: string
|
|
3876
3809
|
}
|
|
3877
3810
|
|
|
3878
|
-
/**
|
|
3879
|
-
* ParseDoc返回参数结构体
|
|
3880
|
-
*/
|
|
3881
|
-
export interface ParseDocResponse {
|
|
3882
|
-
/**
|
|
3883
|
-
* 任务ID
|
|
3884
|
-
*/
|
|
3885
|
-
TaskId?: string
|
|
3886
|
-
/**
|
|
3887
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3888
|
-
*/
|
|
3889
|
-
RequestId?: string
|
|
3890
|
-
}
|
|
3891
|
-
|
|
3892
3811
|
/**
|
|
3893
3812
|
* ListQACate请求参数结构体
|
|
3894
3813
|
*/
|
|
@@ -172,7 +172,7 @@ export interface OriginDetail {
|
|
|
172
172
|
<li>COS:腾讯云 COS 对象存储源站;</li>
|
|
173
173
|
<li>AWS_S3:AWS S3 对象存储源站;</li>
|
|
174
174
|
<li>ORIGIN_GROUP:源站组类型源站;</li>
|
|
175
|
-
|
|
175
|
+
<li>VODEO:云点播(混合云版);</li>
|
|
176
176
|
<li>SPACE:源站卸载,当前仅白名单开放;</li>
|
|
177
177
|
<li>LB:负载均衡,当前仅白名单开放。</li>
|
|
178
178
|
*/
|
|
@@ -184,7 +184,6 @@ export interface OriginDetail {
|
|
|
184
184
|
<li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
|
|
185
185
|
<li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
|
|
186
186
|
<li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。</li>
|
|
187
|
-
|
|
188
187
|
*/
|
|
189
188
|
Origin?: string
|
|
190
189
|
/**
|
|
@@ -200,10 +199,10 @@ export interface OriginDetail {
|
|
|
200
199
|
*/
|
|
201
200
|
BackOriginGroupName?: string
|
|
202
201
|
/**
|
|
203
|
-
* 指定是否允许访问私有对象存储源站,该参数仅当源站类型
|
|
202
|
+
* 指定是否允许访问私有对象存储源站,该参数仅当源站类型OriginType = COS 或 AWS_S3 时会生效,取值有:
|
|
204
203
|
<li>on:使用私有鉴权;</li>
|
|
205
204
|
<li>off:不使用私有鉴权。</li>
|
|
206
|
-
不填写,默认值为off。
|
|
205
|
+
不填写,默认值为 off。
|
|
207
206
|
*/
|
|
208
207
|
PrivateAccess?: string
|
|
209
208
|
/**
|
|
@@ -8122,6 +8121,11 @@ export interface AccelerationDomain {
|
|
|
8122
8121
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8123
8122
|
*/
|
|
8124
8123
|
OriginProtocol?: string
|
|
8124
|
+
/**
|
|
8125
|
+
* 域名证书信息
|
|
8126
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8127
|
+
*/
|
|
8128
|
+
Certificate?: AccelerationDomainCertificate
|
|
8125
8129
|
/**
|
|
8126
8130
|
* HTTP回源端口。
|
|
8127
8131
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -8162,11 +8166,6 @@ export interface AccelerationDomain {
|
|
|
8162
8166
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8163
8167
|
*/
|
|
8164
8168
|
OwnershipVerification?: OwnershipVerification
|
|
8165
|
-
/**
|
|
8166
|
-
* 域名证书信息
|
|
8167
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8168
|
-
*/
|
|
8169
|
-
Certificate?: AccelerationDomainCertificate
|
|
8170
8169
|
}
|
|
8171
8170
|
|
|
8172
8171
|
/**
|
|
@@ -7003,6 +7003,17 @@ export interface CronInfo {
|
|
|
7003
7003
|
EndTime?: string
|
|
7004
7004
|
}
|
|
7005
7005
|
|
|
7006
|
+
/**
|
|
7007
|
+
* 本地磁盘信息
|
|
7008
|
+
*/
|
|
7009
|
+
export interface LocalDisk {
|
|
7010
|
+
/**
|
|
7011
|
+
* 节点ID
|
|
7012
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7013
|
+
*/
|
|
7014
|
+
InstanceId: string
|
|
7015
|
+
}
|
|
7016
|
+
|
|
7006
7017
|
/**
|
|
7007
7018
|
* 框架信息列表
|
|
7008
7019
|
*/
|
|
@@ -7435,6 +7446,11 @@ export interface DataConfig {
|
|
|
7435
7446
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7436
7447
|
*/
|
|
7437
7448
|
CFSTurboSource?: CFSTurbo
|
|
7449
|
+
/**
|
|
7450
|
+
* 来自本地磁盘的信息
|
|
7451
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7452
|
+
*/
|
|
7453
|
+
LocalDiskSource?: LocalDisk
|
|
7438
7454
|
}
|
|
7439
7455
|
|
|
7440
7456
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./abstract_client"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./common_client"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./interface"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.842";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { ModifyApmInstanceRequest, CreateApmInstanceRequest, DescribeServiceOverviewResponse, TerminateApmInstanceRequest, DescribeApmInstancesResponse, DescribeGeneralSpanListResponse, DescribeServiceOverviewRequest, DescribeApmAgentResponse,
|
|
3
|
+
import { ModifyApmInstanceRequest, CreateApmInstanceRequest, ModifyGeneralApmApplicationConfigRequest, DescribeServiceOverviewResponse, TerminateApmInstanceRequest, DescribeApmInstancesResponse, DescribeTagValuesResponse, DescribeGeneralSpanListResponse, DescribeServiceOverviewRequest, DescribeApmAgentResponse, DescribeTagValuesRequest, DescribeMetricRecordsResponse, DescribeGeneralSpanListRequest, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralApmApplicationConfigResponse, DescribeGeneralMetricDataRequest, CreateApmInstanceResponse, DescribeGeneralApmApplicationConfigRequest, ModifyApmInstanceResponse, DescribeApmInstancesRequest, DescribeGeneralMetricDataResponse, ModifyGeneralApmApplicationConfigResponse, TerminateApmInstanceResponse } from "./apm_models";
|
|
4
4
|
/**
|
|
5
5
|
* apm client
|
|
6
6
|
* @class
|
|
@@ -8,9 +8,13 @@ import { ModifyApmInstanceRequest, CreateApmInstanceRequest, DescribeServiceOver
|
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 查询应用配置信息
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
DescribeGeneralApmApplicationConfig(req: DescribeGeneralApmApplicationConfigRequest, cb?: (error: string, rep: DescribeGeneralApmApplicationConfigResponse) => void): Promise<DescribeGeneralApmApplicationConfigResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 根据维度名和过滤条件,查询维度数据.
|
|
16
|
+
*/
|
|
17
|
+
DescribeTagValues(req: DescribeTagValuesRequest, cb?: (error: string, rep: DescribeTagValuesResponse) => void): Promise<DescribeTagValuesResponse>;
|
|
14
18
|
/**
|
|
15
19
|
* 通用查询调用链列表
|
|
16
20
|
*/
|
|
@@ -23,6 +27,14 @@ export declare class Client extends AbstractClient {
|
|
|
23
27
|
* 获取APM Agent信息
|
|
24
28
|
*/
|
|
25
29
|
DescribeApmAgent(req: DescribeApmAgentRequest, cb?: (error: string, rep: DescribeApmAgentResponse) => void): Promise<DescribeApmAgentResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 修改APM实例接口
|
|
32
|
+
*/
|
|
33
|
+
ModifyApmInstance(req: ModifyApmInstanceRequest, cb?: (error: string, rep: ModifyApmInstanceResponse) => void): Promise<ModifyApmInstanceResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 对外开放的openApi,客户可以灵活的指定需要修改的字段,再加入需要修改的服务列表.
|
|
36
|
+
*/
|
|
37
|
+
ModifyGeneralApmApplicationConfig(req: ModifyGeneralApmApplicationConfigRequest, cb?: (error: string, rep: ModifyGeneralApmApplicationConfigResponse) => void): Promise<ModifyGeneralApmApplicationConfigResponse>;
|
|
26
38
|
/**
|
|
27
39
|
* 获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。
|
|
28
40
|
接口调用频率限制为:20次/秒,1200次/分钟。单请求的数据点数限制为1440个。
|
|
@@ -28,10 +28,16 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("apm.tencentcloudapi.com", "2021-06-22", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 查询应用配置信息
|
|
32
32
|
*/
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
33
|
+
async DescribeGeneralApmApplicationConfig(req, cb) {
|
|
34
|
+
return this.request("DescribeGeneralApmApplicationConfig", req, cb);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 根据维度名和过滤条件,查询维度数据.
|
|
38
|
+
*/
|
|
39
|
+
async DescribeTagValues(req, cb) {
|
|
40
|
+
return this.request("DescribeTagValues", req, cb);
|
|
35
41
|
}
|
|
36
42
|
/**
|
|
37
43
|
* 通用查询调用链列表
|
|
@@ -51,6 +57,18 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
51
57
|
async DescribeApmAgent(req, cb) {
|
|
52
58
|
return this.request("DescribeApmAgent", req, cb);
|
|
53
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* 修改APM实例接口
|
|
62
|
+
*/
|
|
63
|
+
async ModifyApmInstance(req, cb) {
|
|
64
|
+
return this.request("ModifyApmInstance", req, cb);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 对外开放的openApi,客户可以灵活的指定需要修改的字段,再加入需要修改的服务列表.
|
|
68
|
+
*/
|
|
69
|
+
async ModifyGeneralApmApplicationConfig(req, cb) {
|
|
70
|
+
return this.request("ModifyGeneralApmApplicationConfig", req, cb);
|
|
71
|
+
}
|
|
54
72
|
/**
|
|
55
73
|
* 获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。
|
|
56
74
|
接口调用频率限制为:20次/秒,1200次/分钟。单请求的数据点数限制为1440个。
|
|
@@ -271,6 +271,23 @@ export interface CreateApmInstanceRequest {
|
|
|
271
271
|
*/
|
|
272
272
|
PayMode?: number;
|
|
273
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* ModifyGeneralApmApplicationConfig请求参数结构体
|
|
276
|
+
*/
|
|
277
|
+
export interface ModifyGeneralApmApplicationConfigRequest {
|
|
278
|
+
/**
|
|
279
|
+
* 实例Id
|
|
280
|
+
*/
|
|
281
|
+
InstanceId: string;
|
|
282
|
+
/**
|
|
283
|
+
* 需要修改的字段key value分别指定字段名、字段值
|
|
284
|
+
*/
|
|
285
|
+
Tags: Array<ApmTag>;
|
|
286
|
+
/**
|
|
287
|
+
* 需要修改配置的服务列表名称
|
|
288
|
+
*/
|
|
289
|
+
ServiceNames?: Array<string>;
|
|
290
|
+
}
|
|
274
291
|
/**
|
|
275
292
|
* DescribeServiceOverview返回参数结构体
|
|
276
293
|
*/
|
|
@@ -325,6 +342,34 @@ export interface DescribeApmInstancesResponse {
|
|
|
325
342
|
*/
|
|
326
343
|
RequestId?: string;
|
|
327
344
|
}
|
|
345
|
+
/**
|
|
346
|
+
* 组件
|
|
347
|
+
*/
|
|
348
|
+
export interface Instrument {
|
|
349
|
+
/**
|
|
350
|
+
* 组件名称
|
|
351
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
352
|
+
*/
|
|
353
|
+
Name?: string;
|
|
354
|
+
/**
|
|
355
|
+
* 组件开关
|
|
356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
357
|
+
*/
|
|
358
|
+
Enable?: boolean;
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* DescribeTagValues返回参数结构体
|
|
362
|
+
*/
|
|
363
|
+
export interface DescribeTagValuesResponse {
|
|
364
|
+
/**
|
|
365
|
+
* 维度值列表
|
|
366
|
+
*/
|
|
367
|
+
Values?: Array<string>;
|
|
368
|
+
/**
|
|
369
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
370
|
+
*/
|
|
371
|
+
RequestId?: string;
|
|
372
|
+
}
|
|
328
373
|
/**
|
|
329
374
|
* Span对象
|
|
330
375
|
*/
|
|
@@ -510,6 +555,39 @@ export interface DescribeApmAgentResponse {
|
|
|
510
555
|
*/
|
|
511
556
|
RequestId?: string;
|
|
512
557
|
}
|
|
558
|
+
/**
|
|
559
|
+
* DescribeTagValues请求参数结构体
|
|
560
|
+
*/
|
|
561
|
+
export interface DescribeTagValuesRequest {
|
|
562
|
+
/**
|
|
563
|
+
* 维度名
|
|
564
|
+
*/
|
|
565
|
+
TagKey: string;
|
|
566
|
+
/**
|
|
567
|
+
* 实例ID
|
|
568
|
+
*/
|
|
569
|
+
InstanceId?: string;
|
|
570
|
+
/**
|
|
571
|
+
* 结束时间
|
|
572
|
+
*/
|
|
573
|
+
EndTime?: number;
|
|
574
|
+
/**
|
|
575
|
+
* 过滤条件
|
|
576
|
+
*/
|
|
577
|
+
Filters?: Array<Filter>;
|
|
578
|
+
/**
|
|
579
|
+
* 开始时间
|
|
580
|
+
*/
|
|
581
|
+
StartTime?: number;
|
|
582
|
+
/**
|
|
583
|
+
* Or过滤条件
|
|
584
|
+
*/
|
|
585
|
+
OrFilters?: Array<Filter>;
|
|
586
|
+
/**
|
|
587
|
+
* 使用类型
|
|
588
|
+
*/
|
|
589
|
+
Type?: string;
|
|
590
|
+
}
|
|
513
591
|
/**
|
|
514
592
|
* 指标维度信息
|
|
515
593
|
*/
|
|
@@ -572,41 +650,101 @@ export interface Line {
|
|
|
572
650
|
Tags: Array<ApmTag>;
|
|
573
651
|
}
|
|
574
652
|
/**
|
|
575
|
-
*
|
|
653
|
+
* 应用相关的配置列表项
|
|
576
654
|
*/
|
|
577
|
-
export interface
|
|
655
|
+
export interface ApmApplicationConfigView {
|
|
578
656
|
/**
|
|
579
|
-
*
|
|
657
|
+
* 实例ID
|
|
580
658
|
*/
|
|
581
|
-
|
|
659
|
+
InstanceKey?: string;
|
|
582
660
|
/**
|
|
583
|
-
*
|
|
661
|
+
* 服务名
|
|
584
662
|
*/
|
|
585
|
-
|
|
663
|
+
ServiceName?: string;
|
|
586
664
|
/**
|
|
587
|
-
*
|
|
665
|
+
* 接口过滤
|
|
588
666
|
*/
|
|
589
|
-
|
|
667
|
+
OperationNameFilter?: string;
|
|
590
668
|
/**
|
|
591
|
-
*
|
|
669
|
+
* 异常过滤
|
|
592
670
|
*/
|
|
593
|
-
|
|
671
|
+
ExceptionFilter?: string;
|
|
594
672
|
/**
|
|
595
|
-
*
|
|
673
|
+
* 错误码过滤
|
|
596
674
|
*/
|
|
597
|
-
|
|
675
|
+
ErrorCodeFilter?: string;
|
|
598
676
|
/**
|
|
599
|
-
*
|
|
677
|
+
* 应用诊断开关
|
|
678
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
600
679
|
*/
|
|
601
|
-
|
|
680
|
+
EventEnable?: boolean;
|
|
602
681
|
/**
|
|
603
|
-
*
|
|
682
|
+
* URL收敛开关 0 关 1 开
|
|
604
683
|
*/
|
|
605
|
-
|
|
684
|
+
UrlConvergenceSwitch?: number;
|
|
606
685
|
/**
|
|
607
|
-
*
|
|
686
|
+
* URL收敛阈值
|
|
608
687
|
*/
|
|
609
|
-
|
|
688
|
+
UrlConvergenceThreshold?: number;
|
|
689
|
+
/**
|
|
690
|
+
* URL收敛规则正则
|
|
691
|
+
*/
|
|
692
|
+
UrlConvergence?: string;
|
|
693
|
+
/**
|
|
694
|
+
* URL排除规则正则
|
|
695
|
+
*/
|
|
696
|
+
UrlExclude?: string;
|
|
697
|
+
/**
|
|
698
|
+
* 是否开启日志 0 关 1 开
|
|
699
|
+
*/
|
|
700
|
+
IsRelatedLog?: number;
|
|
701
|
+
/**
|
|
702
|
+
* 日志来源
|
|
703
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
704
|
+
*/
|
|
705
|
+
LogSource?: string;
|
|
706
|
+
/**
|
|
707
|
+
* CLS日志集
|
|
708
|
+
*/
|
|
709
|
+
LogSet?: string;
|
|
710
|
+
/**
|
|
711
|
+
* 日志主题ID
|
|
712
|
+
*/
|
|
713
|
+
LogTopicID?: string;
|
|
714
|
+
/**
|
|
715
|
+
* 线程剖析开关
|
|
716
|
+
*/
|
|
717
|
+
SnapshotEnable?: boolean;
|
|
718
|
+
/**
|
|
719
|
+
* 线程剖析超时阈值
|
|
720
|
+
*/
|
|
721
|
+
SnapshotTimeout?: number;
|
|
722
|
+
/**
|
|
723
|
+
* 探针开启开关
|
|
724
|
+
*/
|
|
725
|
+
AgentEnable?: boolean;
|
|
726
|
+
/**
|
|
727
|
+
* 组件列表开关
|
|
728
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
729
|
+
*/
|
|
730
|
+
InstrumentList?: Array<Instrument>;
|
|
731
|
+
/**
|
|
732
|
+
* 链路压缩开关
|
|
733
|
+
*/
|
|
734
|
+
TraceSquash?: boolean;
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
* 维度(标签)对象
|
|
738
|
+
*/
|
|
739
|
+
export interface ApmTag {
|
|
740
|
+
/**
|
|
741
|
+
* 维度Key(列名,标签Key)
|
|
742
|
+
*/
|
|
743
|
+
Key: string;
|
|
744
|
+
/**
|
|
745
|
+
* 维度值(标签值)
|
|
746
|
+
*/
|
|
747
|
+
Value: string;
|
|
610
748
|
}
|
|
611
749
|
/**
|
|
612
750
|
* Apm通用KV结构
|
|
@@ -656,17 +794,41 @@ export interface DescribeMetricRecordsResponse {
|
|
|
656
794
|
RequestId?: string;
|
|
657
795
|
}
|
|
658
796
|
/**
|
|
659
|
-
*
|
|
797
|
+
* DescribeGeneralSpanList请求参数结构体
|
|
660
798
|
*/
|
|
661
|
-
export interface
|
|
799
|
+
export interface DescribeGeneralSpanListRequest {
|
|
662
800
|
/**
|
|
663
|
-
*
|
|
801
|
+
* 分页
|
|
664
802
|
*/
|
|
665
|
-
|
|
803
|
+
Offset: number;
|
|
666
804
|
/**
|
|
667
|
-
*
|
|
805
|
+
* 列表项个数
|
|
668
806
|
*/
|
|
669
|
-
|
|
807
|
+
Limit: number;
|
|
808
|
+
/**
|
|
809
|
+
* 排序
|
|
810
|
+
*/
|
|
811
|
+
OrderBy?: OrderBy;
|
|
812
|
+
/**
|
|
813
|
+
* span查询开始时间戳(单位:秒)
|
|
814
|
+
*/
|
|
815
|
+
StartTime?: number;
|
|
816
|
+
/**
|
|
817
|
+
* 实例名
|
|
818
|
+
*/
|
|
819
|
+
InstanceId?: string;
|
|
820
|
+
/**
|
|
821
|
+
* 通用过滤参数
|
|
822
|
+
*/
|
|
823
|
+
Filters?: Array<Filter>;
|
|
824
|
+
/**
|
|
825
|
+
* 业务自身服务名
|
|
826
|
+
*/
|
|
827
|
+
BusinessName?: string;
|
|
828
|
+
/**
|
|
829
|
+
* span查询结束时间戳(单位:秒)
|
|
830
|
+
*/
|
|
831
|
+
EndTime?: number;
|
|
670
832
|
}
|
|
671
833
|
/**
|
|
672
834
|
* 查询过滤参数
|
|
@@ -782,6 +944,19 @@ export interface DescribeMetricRecordsRequest {
|
|
|
782
944
|
*/
|
|
783
945
|
OrFilters?: Array<Filter>;
|
|
784
946
|
}
|
|
947
|
+
/**
|
|
948
|
+
* DescribeGeneralApmApplicationConfig返回参数结构体
|
|
949
|
+
*/
|
|
950
|
+
export interface DescribeGeneralApmApplicationConfigResponse {
|
|
951
|
+
/**
|
|
952
|
+
* 应用配置项
|
|
953
|
+
*/
|
|
954
|
+
ApmApplicationConfigView?: ApmApplicationConfigView;
|
|
955
|
+
/**
|
|
956
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
957
|
+
*/
|
|
958
|
+
RequestId?: string;
|
|
959
|
+
}
|
|
785
960
|
/**
|
|
786
961
|
* DescribeGeneralMetricData请求参数结构体
|
|
787
962
|
*/
|
|
@@ -889,6 +1064,19 @@ export interface SpanProcess {
|
|
|
889
1064
|
*/
|
|
890
1065
|
Tags: Array<SpanTag>;
|
|
891
1066
|
}
|
|
1067
|
+
/**
|
|
1068
|
+
* DescribeGeneralApmApplicationConfig请求参数结构体
|
|
1069
|
+
*/
|
|
1070
|
+
export interface DescribeGeneralApmApplicationConfigRequest {
|
|
1071
|
+
/**
|
|
1072
|
+
* 应用名
|
|
1073
|
+
*/
|
|
1074
|
+
ServiceName: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* 实例Id
|
|
1077
|
+
*/
|
|
1078
|
+
InstanceId: string;
|
|
1079
|
+
}
|
|
892
1080
|
/**
|
|
893
1081
|
* ModifyApmInstance返回参数结构体
|
|
894
1082
|
*/
|
|
@@ -969,6 +1157,19 @@ export interface DescribeGeneralMetricDataResponse {
|
|
|
969
1157
|
*/
|
|
970
1158
|
RequestId?: string;
|
|
971
1159
|
}
|
|
1160
|
+
/**
|
|
1161
|
+
* ModifyGeneralApmApplicationConfig返回参数结构体
|
|
1162
|
+
*/
|
|
1163
|
+
export interface ModifyGeneralApmApplicationConfigResponse {
|
|
1164
|
+
/**
|
|
1165
|
+
* 返回值描述
|
|
1166
|
+
*/
|
|
1167
|
+
Message?: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1170
|
+
*/
|
|
1171
|
+
RequestId?: string;
|
|
1172
|
+
}
|
|
972
1173
|
/**
|
|
973
1174
|
* TerminateApmInstance返回参数结构体
|
|
974
1175
|
*/
|