tencentcloud-sdk-nodejs-apm 4.0.431 → 4.0.432

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 CHANGED
@@ -1,4 +1,4 @@
1
- # Release 4.0.431
1
+ # Release 4.0.432
2
2
 
3
3
  ## 企业收付平台(cpdp) 版本:2019-08-20
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-apm",
3
- "version": "4.0.431",
3
+ "version": "4.0.432",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
@@ -1,8 +1,5 @@
1
+ import { v20210622 } from "./v20210622"
1
2
 
2
- import { v20210622 } from "./v20210622"
3
-
4
- export const apm = {
5
- v20210622: v20210622,
6
-
7
- }
8
-
3
+ export const apm = {
4
+ v20210622: v20210622,
5
+ }
@@ -17,30 +17,29 @@
17
17
  */
18
18
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
19
19
  import {
20
- ApmInstanceDetail,
21
- CreateApmInstanceRequest,
22
- DescribeServiceOverviewResponse,
23
- QueryMetricItem,
24
- DescribeApmInstancesResponse,
25
- ApmAgentInfo,
26
- ApmMetricRecord,
27
- DescribeServiceOverviewRequest,
28
- DescribeApmAgentResponse,
29
- ApmField,
30
- Line,
31
- APMKVItem,
32
- OrderBy,
33
- DescribeMetricRecordsResponse,
34
- ApmTag,
35
- Filter,
36
- DescribeApmAgentRequest,
37
- DescribeMetricRecordsRequest,
38
- DescribeGeneralMetricDataRequest,
39
- CreateApmInstanceResponse,
40
- GeneralFilter,
41
- DescribeApmInstancesRequest,
42
- DescribeGeneralMetricDataResponse,
43
-
20
+ ApmInstanceDetail,
21
+ CreateApmInstanceRequest,
22
+ DescribeServiceOverviewResponse,
23
+ QueryMetricItem,
24
+ DescribeApmInstancesResponse,
25
+ ApmAgentInfo,
26
+ ApmMetricRecord,
27
+ DescribeServiceOverviewRequest,
28
+ DescribeApmAgentResponse,
29
+ ApmField,
30
+ Line,
31
+ APMKVItem,
32
+ OrderBy,
33
+ DescribeMetricRecordsResponse,
34
+ ApmTag,
35
+ Filter,
36
+ DescribeApmAgentRequest,
37
+ DescribeMetricRecordsRequest,
38
+ DescribeGeneralMetricDataRequest,
39
+ CreateApmInstanceResponse,
40
+ GeneralFilter,
41
+ DescribeApmInstancesRequest,
42
+ DescribeGeneralMetricDataResponse,
44
43
  } from "./apm_models"
45
44
 
46
45
  /**
@@ -48,53 +47,68 @@ import {
48
47
  * @class
49
48
  */
50
49
  export class Client extends TencentCloudCommon.AbstractClient {
50
+ constructor(clientConfig: TencentCloudCommon.ClientConfig) {
51
+ super("apm.tencentcloudapi.com", "2021-06-22", clientConfig)
52
+ }
51
53
 
52
- constructor(clientConfig: TencentCloudCommon.ClientConfig) {
53
- super("apm.tencentcloudapi.com", "2021-06-22", clientConfig);
54
- }
55
-
56
- /**
57
- * APM实例列表拉取
58
- */
59
- async DescribeApmInstances(req: DescribeApmInstancesRequest, cb?: (error: string, rep: DescribeApmInstancesResponse) => void): Promise<DescribeApmInstancesResponse> {
60
- return this.request("DescribeApmInstances", req, cb);
61
- }
54
+ /**
55
+ * APM实例列表拉取
56
+ */
57
+ async DescribeApmInstances(
58
+ req: DescribeApmInstancesRequest,
59
+ cb?: (error: string, rep: DescribeApmInstancesResponse) => void
60
+ ): Promise<DescribeApmInstancesResponse> {
61
+ return this.request("DescribeApmInstances", req, cb)
62
+ }
62
63
 
63
- /**
64
- * 获取Apm Agent信息
65
- */
66
- async DescribeApmAgent(req: DescribeApmAgentRequest, cb?: (error: string, rep: DescribeApmAgentResponse) => void): Promise<DescribeApmAgentResponse> {
67
- return this.request("DescribeApmAgent", req, cb);
68
- }
64
+ /**
65
+ * 获取Apm Agent信息
66
+ */
67
+ async DescribeApmAgent(
68
+ req: DescribeApmAgentRequest,
69
+ cb?: (error: string, rep: DescribeApmAgentResponse) => void
70
+ ): Promise<DescribeApmAgentResponse> {
71
+ return this.request("DescribeApmAgent", req, cb)
72
+ }
69
73
 
70
- /**
74
+ /**
71
75
  * 获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。
72
76
  接口调用频率限制为:20次/秒,1200次/分钟。单请求的数据点数限制为1440个。
73
77
  */
74
- async DescribeGeneralMetricData(req: DescribeGeneralMetricDataRequest, cb?: (error: string, rep: DescribeGeneralMetricDataResponse) => void): Promise<DescribeGeneralMetricDataResponse> {
75
- return this.request("DescribeGeneralMetricData", req, cb);
76
- }
77
-
78
- /**
79
- * 拉取通用指标列表
80
- */
81
- async DescribeMetricRecords(req: DescribeMetricRecordsRequest, cb?: (error: string, rep: DescribeMetricRecordsResponse) => void): Promise<DescribeMetricRecordsResponse> {
82
- return this.request("DescribeMetricRecords", req, cb);
83
- }
84
-
85
- /**
86
- * 业务购买APM实例,调用该接口创建
87
- */
88
- async CreateApmInstance(req: CreateApmInstanceRequest, cb?: (error: string, rep: CreateApmInstanceResponse) => void): Promise<CreateApmInstanceResponse> {
89
- return this.request("CreateApmInstance", req, cb);
90
- }
78
+ async DescribeGeneralMetricData(
79
+ req: DescribeGeneralMetricDataRequest,
80
+ cb?: (error: string, rep: DescribeGeneralMetricDataResponse) => void
81
+ ): Promise<DescribeGeneralMetricDataResponse> {
82
+ return this.request("DescribeGeneralMetricData", req, cb)
83
+ }
91
84
 
92
- /**
93
- * 服务概览数据拉取
94
- */
95
- async DescribeServiceOverview(req: DescribeServiceOverviewRequest, cb?: (error: string, rep: DescribeServiceOverviewResponse) => void): Promise<DescribeServiceOverviewResponse> {
96
- return this.request("DescribeServiceOverview", req, cb);
97
- }
85
+ /**
86
+ * 拉取通用指标列表
87
+ */
88
+ async DescribeMetricRecords(
89
+ req: DescribeMetricRecordsRequest,
90
+ cb?: (error: string, rep: DescribeMetricRecordsResponse) => void
91
+ ): Promise<DescribeMetricRecordsResponse> {
92
+ return this.request("DescribeMetricRecords", req, cb)
93
+ }
98
94
 
95
+ /**
96
+ * 业务购买APM实例,调用该接口创建
97
+ */
98
+ async CreateApmInstance(
99
+ req: CreateApmInstanceRequest,
100
+ cb?: (error: string, rep: CreateApmInstanceResponse) => void
101
+ ): Promise<CreateApmInstanceResponse> {
102
+ return this.request("CreateApmInstance", req, cb)
103
+ }
99
104
 
105
+ /**
106
+ * 服务概览数据拉取
107
+ */
108
+ async DescribeServiceOverview(
109
+ req: DescribeServiceOverviewRequest,
110
+ cb?: (error: string, rep: DescribeServiceOverviewResponse) => void
111
+ ): Promise<DescribeServiceOverviewResponse> {
112
+ return this.request("DescribeServiceOverview", req, cb)
113
+ }
100
114
  }