tencentcloud-sdk-nodejs-apm 4.1.181 → 4.1.183

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.
@@ -6,6 +6,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
6
6
  async ModifyApmInstance(req, cb) {
7
7
  return this.request("ModifyApmInstance", req, cb);
8
8
  }
9
+ async DescribeApmVulnerabilityDetail(req, cb) {
10
+ return this.request("DescribeApmVulnerabilityDetail", req, cb);
11
+ }
9
12
  async DescribeGeneralSpanList(req, cb) {
10
13
  return this.request("DescribeGeneralSpanList", req, cb);
11
14
  }
@@ -69,6 +72,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
69
72
  async CreateProfileTask(req, cb) {
70
73
  return this.request("CreateProfileTask", req, cb);
71
74
  }
75
+ async DescribeApmAllVulCount(req, cb) {
76
+ return this.request("DescribeApmAllVulCount", req, cb);
77
+ }
72
78
  async DescribeApmApplicationConfig(req, cb) {
73
79
  return this.request("DescribeApmApplicationConfig", req, cb);
74
80
  }
@@ -81,7 +87,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
81
87
  async ModifyApmApplicationConfig(req, cb) {
82
88
  return this.request("ModifyApmApplicationConfig", req, cb);
83
89
  }
90
+ async DescribeOPRAllVulCount(req, cb) {
91
+ return this.request("DescribeOPRAllVulCount", req, cb);
92
+ }
84
93
  async DescribeServiceOverview(req, cb) {
85
94
  return this.request("DescribeServiceOverview", req, cb);
86
95
  }
96
+ async DescribeApmVulnerabilityCount(req, cb) {
97
+ return this.request("DescribeApmVulnerabilityCount", req, cb);
98
+ }
87
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-apm",
3
- "version": "4.1.181",
3
+ "version": "4.1.183",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { DescribeApmAssociationResponse, CreateApmInstanceRequest, DescribeServiceOverviewResponse, DescribeApmSampleConfigRequest, DescribeApmSampleConfigResponse, DescribeServiceOverviewRequest, DescribeTopologyNewResponse, ModifyApmApplicationConfigResponse, DescribeApmServiceMetricResponse, ModifyApmAssociationRequest, DescribeGeneralOTSpanListResponse, DescribeApmApplicationConfigResponse, DescribeApmAssociationRequest, CreateProfileTaskRequest, DescribeApmPrometheusRuleRequest, CreateApmPrometheusRuleResponse, TerminateApmInstanceResponse, DescribeApmAgentResponse, CreateApmSampleConfigRequest, DescribeTagValuesRequest, CreateApmSampleConfigResponse, ModifyApmAssociationResponse, DescribeGeneralSpanListRequest, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralMetricDataRequest, ModifyApmPrometheusRuleRequest, ModifyApmInstanceResponse, DescribeGeneralMetricDataResponse, ModifyApmInstanceRequest, ModifyApmSampleConfigRequest, DescribeApmInstancesResponse, DescribeApmPrometheusRuleResponse, ModifyApmSampleConfigResponse, DescribeApmApplicationConfigRequest, CreateProfileTaskResponse, ModifyApmPrometheusRuleResponse, DescribeMetricRecordsResponse, DescribeGeneralOTSpanListRequest, DescribeGeneralApmApplicationConfigResponse, CreateApmInstanceResponse, DeleteApmSampleConfigResponse, DescribeGeneralApmApplicationConfigRequest, DescribeTopologyNewRequest, DescribeApmInstancesRequest, DeleteApmSampleConfigRequest, TerminateApmInstanceRequest, ModifyGeneralApmApplicationConfigRequest, DescribeApmServiceMetricRequest, CreateApmPrometheusRuleRequest, DescribeTagValuesResponse, DescribeGeneralSpanListResponse, ModifyApmApplicationConfigRequest, ModifyGeneralApmApplicationConfigResponse } from "./apm_models";
2
+ import { DescribeApmAssociationResponse, CreateApmInstanceRequest, DescribeApmVulnerabilityCountResponse, DescribeServiceOverviewResponse, DescribeApmSampleConfigRequest, DescribeApmAllVulCountResponse, DescribeApmSampleConfigResponse, DescribeServiceOverviewRequest, DescribeTopologyNewResponse, DescribeOPRAllVulCountResponse, ModifyApmApplicationConfigResponse, DescribeApmServiceMetricResponse, ModifyApmAssociationRequest, DescribeGeneralOTSpanListResponse, DescribeApmApplicationConfigResponse, DescribeApmAssociationRequest, CreateProfileTaskRequest, DescribeApmVulnerabilityDetailRequest, DeleteApmSampleConfigResponse, DescribeApmPrometheusRuleRequest, CreateApmPrometheusRuleResponse, TerminateApmInstanceResponse, DescribeApmAgentResponse, CreateApmSampleConfigRequest, DescribeTagValuesRequest, CreateApmSampleConfigResponse, ModifyApmAssociationResponse, DescribeGeneralSpanListRequest, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralMetricDataRequest, ModifyApmPrometheusRuleRequest, ModifyApmInstanceResponse, DescribeGeneralMetricDataResponse, ModifyApmInstanceRequest, DescribeApmInstancesResponse, DescribeApmPrometheusRuleResponse, ModifyApmSampleConfigResponse, DescribeApmApplicationConfigRequest, CreateProfileTaskResponse, DescribeApmVulnerabilityDetailResponse, ModifyApmPrometheusRuleResponse, DescribeMetricRecordsResponse, DescribeGeneralOTSpanListRequest, DescribeGeneralApmApplicationConfigResponse, CreateApmInstanceResponse, DescribeGeneralApmApplicationConfigRequest, DescribeTopologyNewRequest, DescribeApmInstancesRequest, DeleteApmSampleConfigRequest, DescribeApmVulnerabilityCountRequest, ModifyApmSampleConfigRequest, TerminateApmInstanceRequest, ModifyGeneralApmApplicationConfigRequest, DescribeApmServiceMetricRequest, CreateApmPrometheusRuleRequest, DescribeApmAllVulCountRequest, DescribeTagValuesResponse, DescribeGeneralSpanListResponse, ModifyApmApplicationConfigRequest, ModifyGeneralApmApplicationConfigResponse, DescribeOPRAllVulCountRequest } from "./apm_models";
3
3
  /**
4
4
  * apm client
5
5
  * @class
@@ -10,6 +10,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
10
10
  * 修改APM业务系统接口
11
11
  */
12
12
  ModifyApmInstance(req: ModifyApmInstanceRequest, cb?: (error: string, rep: ModifyApmInstanceResponse) => void): Promise<ModifyApmInstanceResponse>;
13
+ /**
14
+ * 查询漏洞详情
15
+ */
16
+ DescribeApmVulnerabilityDetail(req: DescribeApmVulnerabilityDetailRequest, cb?: (error: string, rep: DescribeApmVulnerabilityDetailResponse) => void): Promise<DescribeApmVulnerabilityDetailResponse>;
13
17
  /**
14
18
  * 通用查询调用链列表
15
19
  */
@@ -115,6 +119,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
115
119
  * 创建事件任务
116
120
  */
117
121
  CreateProfileTask(req: CreateProfileTaskRequest, cb?: (error: string, rep: CreateProfileTaskResponse) => void): Promise<CreateProfileTaskResponse>;
122
+ /**
123
+ * 查询用户所有漏洞信息
124
+ */
125
+ DescribeApmAllVulCount(req: DescribeApmAllVulCountRequest, cb?: (error: string, rep: DescribeApmAllVulCountResponse) => void): Promise<DescribeApmAllVulCountResponse>;
118
126
  /**
119
127
  * 查询应用配置接口
120
128
  */
@@ -131,8 +139,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
131
139
  * 修改应用配置接口
132
140
  */
133
141
  ModifyApmApplicationConfig(req: ModifyApmApplicationConfigRequest, cb?: (error: string, rep: ModifyApmApplicationConfigResponse) => void): Promise<ModifyApmApplicationConfigResponse>;
142
+ /**
143
+ * 查询用户所有漏洞信息
144
+ */
145
+ DescribeOPRAllVulCount(req: DescribeOPRAllVulCountRequest, cb?: (error: string, rep: DescribeOPRAllVulCountResponse) => void): Promise<DescribeOPRAllVulCountResponse>;
134
146
  /**
135
147
  * 应用概览数据拉取
136
148
  */
137
149
  DescribeServiceOverview(req: DescribeServiceOverviewRequest, cb?: (error: string, rep: DescribeServiceOverviewResponse) => void): Promise<DescribeServiceOverviewResponse>;
150
+ /**
151
+ * 查询漏洞指标
152
+ */
153
+ DescribeApmVulnerabilityCount(req: DescribeApmVulnerabilityCountRequest, cb?: (error: string, rep: DescribeApmVulnerabilityCountResponse) => void): Promise<DescribeApmVulnerabilityCountResponse>;
138
154
  }
@@ -34,6 +34,12 @@ class Client extends TencentCloudCommon.AbstractClient {
34
34
  async ModifyApmInstance(req, cb) {
35
35
  return this.request("ModifyApmInstance", req, cb);
36
36
  }
37
+ /**
38
+ * 查询漏洞详情
39
+ */
40
+ async DescribeApmVulnerabilityDetail(req, cb) {
41
+ return this.request("DescribeApmVulnerabilityDetail", req, cb);
42
+ }
37
43
  /**
38
44
  * 通用查询调用链列表
39
45
  */
@@ -181,6 +187,12 @@ class Client extends TencentCloudCommon.AbstractClient {
181
187
  async CreateProfileTask(req, cb) {
182
188
  return this.request("CreateProfileTask", req, cb);
183
189
  }
190
+ /**
191
+ * 查询用户所有漏洞信息
192
+ */
193
+ async DescribeApmAllVulCount(req, cb) {
194
+ return this.request("DescribeApmAllVulCount", req, cb);
195
+ }
184
196
  /**
185
197
  * 查询应用配置接口
186
198
  */
@@ -205,11 +217,23 @@ class Client extends TencentCloudCommon.AbstractClient {
205
217
  async ModifyApmApplicationConfig(req, cb) {
206
218
  return this.request("ModifyApmApplicationConfig", req, cb);
207
219
  }
220
+ /**
221
+ * 查询用户所有漏洞信息
222
+ */
223
+ async DescribeOPRAllVulCount(req, cb) {
224
+ return this.request("DescribeOPRAllVulCount", req, cb);
225
+ }
208
226
  /**
209
227
  * 应用概览数据拉取
210
228
  */
211
229
  async DescribeServiceOverview(req, cb) {
212
230
  return this.request("DescribeServiceOverview", req, cb);
213
231
  }
232
+ /**
233
+ * 查询漏洞指标
234
+ */
235
+ async DescribeApmVulnerabilityCount(req, cb) {
236
+ return this.request("DescribeApmVulnerabilityCount", req, cb);
237
+ }
214
238
  }
215
239
  exports.Client = Client;
@@ -44,6 +44,31 @@ export interface CreateApmInstanceRequest {
44
44
  */
45
45
  Free?: number;
46
46
  }
47
+ /**
48
+ * DescribeApmVulnerabilityCount返回参数结构体
49
+ */
50
+ export interface DescribeApmVulnerabilityCountResponse {
51
+ /**
52
+ * 包含漏洞指标以及业务系统个数
53
+ */
54
+ VulnerabilityList?: Array<ApmMetricRecord>;
55
+ /**
56
+ * 总漏洞个数
57
+ */
58
+ VulnerabilityCount?: number;
59
+ /**
60
+ * 严重漏洞个数
61
+ */
62
+ ImportantVulnerabilityCount?: number;
63
+ /**
64
+ * 高危漏洞个数
65
+ */
66
+ CriticalVulnerabilityCount?: number;
67
+ /**
68
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
69
+ */
70
+ RequestId?: string;
71
+ }
47
72
  /**
48
73
  * DescribeServiceOverview返回参数结构体
49
74
  */
@@ -148,6 +173,31 @@ export interface DescribeApmSampleConfigRequest {
148
173
  */
149
174
  SampleName?: string;
150
175
  }
176
+ /**
177
+ * DescribeApmAllVulCount返回参数结构体
178
+ */
179
+ export interface DescribeApmAllVulCountResponse {
180
+ /**
181
+ * 包含漏洞指标以及业务系统个数
182
+ */
183
+ VulnerabilityList?: Array<ApmMetricRecord>;
184
+ /**
185
+ * 总漏洞个数
186
+ */
187
+ VulnerabilityCount?: number;
188
+ /**
189
+ * 严重漏洞个数
190
+ */
191
+ ImportantVulnerabilityCount?: number;
192
+ /**
193
+ * 高危漏洞个数
194
+ */
195
+ CriticalVulnerabilityCount?: number;
196
+ /**
197
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
198
+ */
199
+ RequestId?: string;
200
+ }
151
201
  /**
152
202
  * DescribeApmSampleConfig返回参数结构体
153
203
  */
@@ -234,6 +284,31 @@ export interface DescribeTopologyNewResponse {
234
284
  */
235
285
  RequestId?: string;
236
286
  }
287
+ /**
288
+ * DescribeOPRAllVulCount返回参数结构体
289
+ */
290
+ export interface DescribeOPRAllVulCountResponse {
291
+ /**
292
+ * 包含漏洞指标以及业务系统个数
293
+ */
294
+ VulnerabilityList?: Array<ApmMetricRecord>;
295
+ /**
296
+ * 总漏洞个数
297
+ */
298
+ VulnerabilityCount?: number;
299
+ /**
300
+ * 严重漏洞个数
301
+ */
302
+ ImportantVulnerabilityCount?: number;
303
+ /**
304
+ * 高危漏洞个数
305
+ */
306
+ CriticalVulnerabilityCount?: number;
307
+ /**
308
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
309
+ */
310
+ RequestId?: string;
311
+ }
237
312
  /**
238
313
  * ModifyApmApplicationConfig返回参数结构体
239
314
  */
@@ -443,38 +518,34 @@ export interface CreateProfileTaskRequest {
443
518
  TaskInterval?: number;
444
519
  }
445
520
  /**
446
- * 展示apm业务系统关联prometheus关系返回体
521
+ * DescribeApmVulnerabilityDetail请求参数结构体
447
522
  */
448
- export interface ApmPrometheusRules {
523
+ export interface DescribeApmVulnerabilityDetailRequest {
449
524
  /**
450
- * 指标匹配规则ID
451
- */
452
- Id?: number;
453
- /**
454
- * 指标匹配规则名
455
- 注意:此字段可能返回 null,表示取不到有效值。
525
+ * 秒级时间戳
456
526
  */
457
- Name?: string;
527
+ StartTime: number;
458
528
  /**
459
- * 规则生效的应用。生效于全部应用就传空字符串
460
- 注意:此字段可能返回 null,表示取不到有效值。
529
+ * 秒级时间戳
461
530
  */
462
- ServiceName?: string;
531
+ EndTime: number;
463
532
  /**
464
- * 指标匹配规则状态:1(启用)、2(不启用)
465
- 注意:此字段可能返回 null,表示取不到有效值。
533
+ * APM业务系统ID
466
534
  */
467
- Status?: number;
535
+ InstanceId: string;
468
536
  /**
469
- * 指标匹配规则
470
- 注意:此字段可能返回 null,表示取不到有效值。
537
+ * 条件过滤,必填service.name, instrumentation.name, version, vul.id
471
538
  */
472
- MetricNameRule?: string;
539
+ Filters?: Array<Filter>;
540
+ }
541
+ /**
542
+ * DeleteApmSampleConfig返回参数结构体
543
+ */
544
+ export interface DeleteApmSampleConfigResponse {
473
545
  /**
474
- * 匹配类型:0精准匹配,1前缀匹配,2后缀匹配
475
- 注意:此字段可能返回 null,表示取不到有效值。
546
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
476
547
  */
477
- MetricMatchType?: number;
548
+ RequestId?: string;
478
549
  }
479
550
  /**
480
551
  * 拓扑图边定义
@@ -572,6 +643,40 @@ export interface TerminateApmInstanceResponse {
572
643
  */
573
644
  RequestId?: string;
574
645
  }
646
+ /**
647
+ * 展示apm业务系统关联prometheus关系返回体
648
+ */
649
+ export interface ApmPrometheusRules {
650
+ /**
651
+ * 指标匹配规则ID
652
+ */
653
+ Id?: number;
654
+ /**
655
+ * 指标匹配规则名
656
+ 注意:此字段可能返回 null,表示取不到有效值。
657
+ */
658
+ Name?: string;
659
+ /**
660
+ * 规则生效的应用。生效于全部应用就传空字符串
661
+ 注意:此字段可能返回 null,表示取不到有效值。
662
+ */
663
+ ServiceName?: string;
664
+ /**
665
+ * 指标匹配规则状态:1(启用)、2(不启用)
666
+ 注意:此字段可能返回 null,表示取不到有效值。
667
+ */
668
+ Status?: number;
669
+ /**
670
+ * 指标匹配规则
671
+ 注意:此字段可能返回 null,表示取不到有效值。
672
+ */
673
+ MetricNameRule?: string;
674
+ /**
675
+ * 匹配类型:0精准匹配,1前缀匹配,2后缀匹配
676
+ 注意:此字段可能返回 null,表示取不到有效值。
677
+ */
678
+ MetricMatchType?: number;
679
+ }
575
680
  /**
576
681
  * 指标列表单元
577
682
  */
@@ -1037,6 +1142,10 @@ export interface ApmAppConfig {
1037
1142
  * spanId的索引key: 当CLS索引类型为键值索引时生效
1038
1143
  */
1039
1144
  LogSpanIdKey?: string;
1145
+ /**
1146
+ * 自动性能剖析配置
1147
+ */
1148
+ AutoProfilingConfig?: AutoProfilingConfig;
1040
1149
  }
1041
1150
  /**
1042
1151
  * CreateApmSampleConfig返回参数结构体
@@ -1551,45 +1660,19 @@ export interface ModifyApmInstanceRequest {
1551
1660
  LogSpanIdKey?: string;
1552
1661
  }
1553
1662
  /**
1554
- * ModifyApmSampleConfig请求参数结构体
1663
+ * Span日志部分
1664
+
1665
+
1555
1666
  */
1556
- export interface ModifyApmSampleConfigRequest {
1557
- /**
1558
- * 业务系统ID
1559
- */
1560
- InstanceId: string;
1561
- /**
1562
- * 采样规则名
1563
- */
1564
- SampleName: string;
1565
- /**
1566
- * 采样率
1567
- */
1568
- SampleRate: number;
1569
- /**
1570
- * 应用名,生效于所有应用则填空
1571
- */
1572
- ServiceName?: string;
1573
- /**
1574
- * 接口名
1575
- */
1576
- OperationName?: string;
1577
- /**
1578
- * 采样tag
1579
- */
1580
- Tags?: Array<APMKVItem>;
1581
- /**
1582
- * 采样开关 0关 1开 2删除
1583
- */
1584
- Status?: number;
1667
+ export interface SpanLog {
1585
1668
  /**
1586
- * 配置Id
1669
+ * 日志时间戳
1587
1670
  */
1588
- Id?: number;
1671
+ Timestamp: number;
1589
1672
  /**
1590
- * 0=精确匹配(默认);1=前缀匹配;2=后缀匹配
1673
+ * 标签
1591
1674
  */
1592
- OperationType?: number;
1675
+ Fields: Array<SpanTag>;
1593
1676
  }
1594
1677
  /**
1595
1678
  * 查询
@@ -1718,6 +1801,23 @@ export interface CreateProfileTaskResponse {
1718
1801
  */
1719
1802
  RequestId?: string;
1720
1803
  }
1804
+ /**
1805
+ * DescribeApmVulnerabilityDetail返回参数结构体
1806
+ */
1807
+ export interface DescribeApmVulnerabilityDetailResponse {
1808
+ /**
1809
+ * 漏洞详情
1810
+ */
1811
+ Tags?: Array<ApmTag>;
1812
+ /**
1813
+ * 漏洞相关业务系统列表
1814
+ */
1815
+ ServiceInstanceList?: Array<ApmVulnerabilityServiceDetail>;
1816
+ /**
1817
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1818
+ */
1819
+ RequestId?: string;
1820
+ }
1721
1821
  /**
1722
1822
  * ModifyApmPrometheusRule返回参数结构体
1723
1823
  */
@@ -1821,6 +1921,35 @@ export interface DescribeGeneralOTSpanListRequest {
1821
1921
  */
1822
1922
  Offset?: number;
1823
1923
  }
1924
+ /**
1925
+ * 自动性能剖析配置
1926
+ */
1927
+ export interface AutoProfilingConfig {
1928
+ /**
1929
+ * 自动CPU剖析任务开关
1930
+ */
1931
+ CpuProfilingEnable?: boolean;
1932
+ /**
1933
+ * 自动内存剖析任务开关
1934
+ */
1935
+ MemoryProfilingEnable?: boolean;
1936
+ /**
1937
+ * 自动CPU剖析任务阈值
1938
+ */
1939
+ CpuProfilingThreshold?: number;
1940
+ /**
1941
+ * 自动内存剖析任务阈值
1942
+ */
1943
+ MemoryProfilingThreshold?: number;
1944
+ /**
1945
+ * CPU自动剖析任务时长
1946
+ */
1947
+ CpuProfilingDuration?: number;
1948
+ /**
1949
+ * 内存自动剖析任务时长
1950
+ */
1951
+ MemoryProfilingDuration?: number;
1952
+ }
1824
1953
  /**
1825
1954
  * DescribeGeneralApmApplicationConfig返回参数结构体
1826
1955
  */
@@ -1848,13 +1977,24 @@ export interface CreateApmInstanceResponse {
1848
1977
  RequestId?: string;
1849
1978
  }
1850
1979
  /**
1851
- * DeleteApmSampleConfig返回参数结构体
1980
+ * APM应用实例漏洞相关信息
1852
1981
  */
1853
- export interface DeleteApmSampleConfigResponse {
1982
+ export interface ApmVulnerabilityServiceDetail {
1854
1983
  /**
1855
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1984
+ * 应用实例
1985
+ 注意:此字段可能返回 null,表示取不到有效值。
1856
1986
  */
1857
- RequestId?: string;
1987
+ ServiceInstance?: string;
1988
+ /**
1989
+ * 漏洞所在jar包路径
1990
+ 注意:此字段可能返回 null,表示取不到有效值。
1991
+ */
1992
+ Path?: string;
1993
+ /**
1994
+ * 最近发生时间
1995
+ 注意:此字段可能返回 null,表示取不到有效值。
1996
+ */
1997
+ LastOccurTime?: number;
1858
1998
  }
1859
1999
  /**
1860
2000
  * DescribeGeneralApmApplicationConfig请求参数结构体
@@ -1985,19 +2125,70 @@ export interface DeleteApmSampleConfigRequest {
1985
2125
  SampleName: string;
1986
2126
  }
1987
2127
  /**
1988
- * Span日志部分
1989
-
1990
-
2128
+ * DescribeApmVulnerabilityCount请求参数结构体
1991
2129
  */
1992
- export interface SpanLog {
2130
+ export interface DescribeApmVulnerabilityCountRequest {
1993
2131
  /**
1994
- * 日志时间戳
2132
+ * APM业务系统ID
1995
2133
  */
1996
- Timestamp: number;
2134
+ InstanceId: string;
1997
2135
  /**
1998
- * 标签
2136
+ * APM应用名称
1999
2137
  */
2000
- Fields: Array<SpanTag>;
2138
+ ServiceName: string;
2139
+ /**
2140
+ * 秒级时间戳
2141
+ */
2142
+ StartTime: number;
2143
+ /**
2144
+ * 秒级时间戳
2145
+ */
2146
+ EndTime?: number;
2147
+ /**
2148
+ * 查询的数据类型,攻击检测为“attack_detect”
2149
+ */
2150
+ Type?: string;
2151
+ }
2152
+ /**
2153
+ * ModifyApmSampleConfig请求参数结构体
2154
+ */
2155
+ export interface ModifyApmSampleConfigRequest {
2156
+ /**
2157
+ * 业务系统ID
2158
+ */
2159
+ InstanceId: string;
2160
+ /**
2161
+ * 采样规则名
2162
+ */
2163
+ SampleName: string;
2164
+ /**
2165
+ * 采样率
2166
+ */
2167
+ SampleRate: number;
2168
+ /**
2169
+ * 应用名,生效于所有应用则填空
2170
+ */
2171
+ ServiceName?: string;
2172
+ /**
2173
+ * 接口名
2174
+ */
2175
+ OperationName?: string;
2176
+ /**
2177
+ * 采样tag
2178
+ */
2179
+ Tags?: Array<APMKVItem>;
2180
+ /**
2181
+ * 采样开关 0关 1开 2删除
2182
+ */
2183
+ Status?: number;
2184
+ /**
2185
+ * 配置Id
2186
+ */
2187
+ Id?: number;
2188
+ /**
2189
+ * 0=精确匹配(默认);1=前缀匹配;2=后缀匹配
2190
+ */
2191
+ OperationType?: number;
2001
2192
  }
2002
2193
  /**
2003
2194
  * TerminateApmInstance请求参数结构体
@@ -2396,6 +2587,19 @@ export interface CreateApmPrometheusRuleRequest {
2396
2587
  */
2397
2588
  InstanceId: string;
2398
2589
  }
2590
+ /**
2591
+ * DescribeApmAllVulCount请求参数结构体
2592
+ */
2593
+ export interface DescribeApmAllVulCountRequest {
2594
+ /**
2595
+ * 秒级时间戳
2596
+ */
2597
+ StartTime: number;
2598
+ /**
2599
+ * 秒级时间戳
2600
+ */
2601
+ EndTime: number;
2602
+ }
2399
2603
  /**
2400
2604
  * tke资源元数据
2401
2605
  */
@@ -2588,6 +2792,10 @@ export interface ApmApplicationConfigView {
2588
2792
  * 脱敏规则
2589
2793
  */
2590
2794
  DesensitizationRule?: string;
2795
+ /**
2796
+ * 自动性能剖析任务配置
2797
+ */
2798
+ AutoProfilingConfig?: AutoProfilingConfig;
2591
2799
  }
2592
2800
  /**
2593
2801
  * 排序字段
@@ -2926,6 +3134,10 @@ export interface ModifyApmApplicationConfigRequest {
2926
3134
  * spanId的索引key: 当CLS索引类型为键值索引时生效
2927
3135
  */
2928
3136
  LogSpanIdKey?: string;
3137
+ /**
3138
+ * 自动性能剖析任务配置
3139
+ */
3140
+ AutoProfilingConfig?: AutoProfilingConfig;
2929
3141
  }
2930
3142
  /**
2931
3143
  * ModifyGeneralApmApplicationConfig返回参数结构体
@@ -2998,3 +3210,16 @@ export interface GeneralFilter {
2998
3210
  */
2999
3211
  Value: string;
3000
3212
  }
3213
+ /**
3214
+ * DescribeOPRAllVulCount请求参数结构体
3215
+ */
3216
+ export interface DescribeOPRAllVulCountRequest {
3217
+ /**
3218
+ * 秒级时间戳
3219
+ */
3220
+ StartTime: number;
3221
+ /**
3222
+ * 秒级时间戳
3223
+ */
3224
+ EndTime: number;
3225
+ }