tencentcloud-sdk-nodejs-intl-en 3.0.1118 → 3.0.1119

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1118",
3
+ "version": "3.0.1119",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ v20210622: require("./v20210622"),
3
+ };
@@ -0,0 +1,222 @@
1
+ /*
2
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+ const models = require("./models");
18
+ const AbstractClient = require('../../common/abstract_client')
19
+ const SpanLog = models.SpanLog;
20
+ const ModifyApmInstanceRequest = models.ModifyApmInstanceRequest;
21
+ const ApmInstanceDetail = models.ApmInstanceDetail;
22
+ const CreateApmInstanceRequest = models.CreateApmInstanceRequest;
23
+ const ModifyGeneralApmApplicationConfigRequest = models.ModifyGeneralApmApplicationConfigRequest;
24
+ const DescribeServiceOverviewResponse = models.DescribeServiceOverviewResponse;
25
+ const QueryMetricItem = models.QueryMetricItem;
26
+ const TerminateApmInstanceRequest = models.TerminateApmInstanceRequest;
27
+ const DescribeApmInstancesResponse = models.DescribeApmInstancesResponse;
28
+ const Instrument = models.Instrument;
29
+ const DescribeTagValuesResponse = models.DescribeTagValuesResponse;
30
+ const Span = models.Span;
31
+ const ApmAgentInfo = models.ApmAgentInfo;
32
+ const DescribeGeneralSpanListResponse = models.DescribeGeneralSpanListResponse;
33
+ const ApmMetricRecord = models.ApmMetricRecord;
34
+ const DescribeServiceOverviewRequest = models.DescribeServiceOverviewRequest;
35
+ const DescribeApmAgentResponse = models.DescribeApmAgentResponse;
36
+ const DescribeTagValuesRequest = models.DescribeTagValuesRequest;
37
+ const ApmField = models.ApmField;
38
+ const Line = models.Line;
39
+ const ApmApplicationConfigView = models.ApmApplicationConfigView;
40
+ const ApmTag = models.ApmTag;
41
+ const APMKVItem = models.APMKVItem;
42
+ const OrderBy = models.OrderBy;
43
+ const DescribeMetricRecordsResponse = models.DescribeMetricRecordsResponse;
44
+ const DescribeGeneralOTSpanListResponse = models.DescribeGeneralOTSpanListResponse;
45
+ const DescribeGeneralSpanListRequest = models.DescribeGeneralSpanListRequest;
46
+ const Filter = models.Filter;
47
+ const APMKV = models.APMKV;
48
+ const DescribeGeneralOTSpanListRequest = models.DescribeGeneralOTSpanListRequest;
49
+ const DescribeApmAgentRequest = models.DescribeApmAgentRequest;
50
+ const DescribeMetricRecordsRequest = models.DescribeMetricRecordsRequest;
51
+ const DescribeGeneralApmApplicationConfigResponse = models.DescribeGeneralApmApplicationConfigResponse;
52
+ const DescribeGeneralMetricDataRequest = models.DescribeGeneralMetricDataRequest;
53
+ const CreateApmInstanceResponse = models.CreateApmInstanceResponse;
54
+ const SpanReference = models.SpanReference;
55
+ const SpanProcess = models.SpanProcess;
56
+ const DescribeGeneralApmApplicationConfigRequest = models.DescribeGeneralApmApplicationConfigRequest;
57
+ const ModifyApmInstanceResponse = models.ModifyApmInstanceResponse;
58
+ const GeneralFilter = models.GeneralFilter;
59
+ const DescribeApmInstancesRequest = models.DescribeApmInstancesRequest;
60
+ const SpanTag = models.SpanTag;
61
+ const DescribeGeneralMetricDataResponse = models.DescribeGeneralMetricDataResponse;
62
+ const ModifyGeneralApmApplicationConfigResponse = models.ModifyGeneralApmApplicationConfigResponse;
63
+ const TerminateApmInstanceResponse = models.TerminateApmInstanceResponse;
64
+
65
+
66
+ /**
67
+ * apm client
68
+ * @class
69
+ */
70
+ class ApmClient extends AbstractClient {
71
+
72
+ constructor(credential, region, profile) {
73
+ super("apm.tencentcloudapi.com", "2021-06-22", credential, region, profile);
74
+ }
75
+
76
+ /**
77
+ * This API is used to query the application configuration information.
78
+ * @param {DescribeGeneralApmApplicationConfigRequest} req
79
+ * @param {function(string, DescribeGeneralApmApplicationConfigResponse):void} cb
80
+ * @public
81
+ */
82
+ DescribeGeneralApmApplicationConfig(req, cb) {
83
+ let resp = new DescribeGeneralApmApplicationConfigResponse();
84
+ this.request("DescribeGeneralApmApplicationConfig", req, resp, cb);
85
+ }
86
+
87
+ /**
88
+ * This API is used to query dimensional data by dimension name and filter condition.
89
+ * @param {DescribeTagValuesRequest} req
90
+ * @param {function(string, DescribeTagValuesResponse):void} cb
91
+ * @public
92
+ */
93
+ DescribeTagValues(req, cb) {
94
+ let resp = new DescribeTagValuesResponse();
95
+ this.request("DescribeTagValues", req, resp, cb);
96
+ }
97
+
98
+ /**
99
+ * General Query Call Chain List.
100
+ * @param {DescribeGeneralSpanListRequest} req
101
+ * @param {function(string, DescribeGeneralSpanListResponse):void} cb
102
+ * @public
103
+ */
104
+ DescribeGeneralSpanList(req, cb) {
105
+ let resp = new DescribeGeneralSpanListResponse();
106
+ this.request("DescribeGeneralSpanList", req, resp, cb);
107
+ }
108
+
109
+ /**
110
+ * This API is used to obtain the list of APM business systems.
111
+ * @param {DescribeApmInstancesRequest} req
112
+ * @param {function(string, DescribeApmInstancesResponse):void} cb
113
+ * @public
114
+ */
115
+ DescribeApmInstances(req, cb) {
116
+ let resp = new DescribeApmInstancesResponse();
117
+ this.request("DescribeApmInstances", req, resp, cb);
118
+ }
119
+
120
+ /**
121
+ * Obtaining APM Access Point.
122
+ * @param {DescribeApmAgentRequest} req
123
+ * @param {function(string, DescribeApmAgentResponse):void} cb
124
+ * @public
125
+ */
126
+ DescribeApmAgent(req, cb) {
127
+ let resp = new DescribeApmAgentResponse();
128
+ this.request("DescribeApmAgent", req, resp, cb);
129
+ }
130
+
131
+ /**
132
+ * General Query OpenTelemetry Call Chain List.
133
+ * @param {DescribeGeneralOTSpanListRequest} req
134
+ * @param {function(string, DescribeGeneralOTSpanListResponse):void} cb
135
+ * @public
136
+ */
137
+ DescribeGeneralOTSpanList(req, cb) {
138
+ let resp = new DescribeGeneralOTSpanListResponse();
139
+ this.request("DescribeGeneralOTSpanList", req, resp, cb);
140
+ }
141
+
142
+ /**
143
+ * This API is used to modify the APM business system.
144
+ * @param {ModifyApmInstanceRequest} req
145
+ * @param {function(string, ModifyApmInstanceResponse):void} cb
146
+ * @public
147
+ */
148
+ ModifyApmInstance(req, cb) {
149
+ let resp = new ModifyApmInstanceResponse();
150
+ this.request("ModifyApmInstance", req, resp, cb);
151
+ }
152
+
153
+ /**
154
+ * OpenAPI available for external use. Customers can flexibly specify the fields to be modified, and then add the list of services to be modified.
155
+ * @param {ModifyGeneralApmApplicationConfigRequest} req
156
+ * @param {function(string, ModifyGeneralApmApplicationConfigResponse):void} cb
157
+ * @public
158
+ */
159
+ ModifyGeneralApmApplicationConfig(req, cb) {
160
+ let resp = new ModifyGeneralApmApplicationConfigResponse();
161
+ this.request("ModifyGeneralApmApplicationConfig", req, resp, cb);
162
+ }
163
+
164
+ /**
165
+ * This API is a general API used to obtain metric data. Users submit request parameters as needed and receive the corresponding metric data.
166
+ The API call frequency is limited to 20 requests per second and 1200 requests per minute. The number of data points per request is limited to 1440.
167
+ * @param {DescribeGeneralMetricDataRequest} req
168
+ * @param {function(string, DescribeGeneralMetricDataResponse):void} cb
169
+ * @public
170
+ */
171
+ DescribeGeneralMetricData(req, cb) {
172
+ let resp = new DescribeGeneralMetricDataResponse();
173
+ this.request("DescribeGeneralMetricData", req, resp, cb);
174
+ }
175
+
176
+ /**
177
+ * This API is used to query metric list. To query metrics, it is recommended to use the DescribeGeneralMetricData API.
178
+ * @param {DescribeMetricRecordsRequest} req
179
+ * @param {function(string, DescribeMetricRecordsResponse):void} cb
180
+ * @public
181
+ */
182
+ DescribeMetricRecords(req, cb) {
183
+ let resp = new DescribeMetricRecordsResponse();
184
+ this.request("DescribeMetricRecords", req, resp, cb);
185
+ }
186
+
187
+ /**
188
+ * Termination of APM business system.
189
+ * @param {TerminateApmInstanceRequest} req
190
+ * @param {function(string, TerminateApmInstanceResponse):void} cb
191
+ * @public
192
+ */
193
+ TerminateApmInstance(req, cb) {
194
+ let resp = new TerminateApmInstanceResponse();
195
+ this.request("TerminateApmInstance", req, resp, cb);
196
+ }
197
+
198
+ /**
199
+ * This API is used to create a business purchase in the APM business system.
200
+ * @param {CreateApmInstanceRequest} req
201
+ * @param {function(string, CreateApmInstanceResponse):void} cb
202
+ * @public
203
+ */
204
+ CreateApmInstance(req, cb) {
205
+ let resp = new CreateApmInstanceResponse();
206
+ this.request("CreateApmInstance", req, resp, cb);
207
+ }
208
+
209
+ /**
210
+ * This API is used to pull application overview data.
211
+ * @param {DescribeServiceOverviewRequest} req
212
+ * @param {function(string, DescribeServiceOverviewResponse):void} cb
213
+ * @public
214
+ */
215
+ DescribeServiceOverview(req, cb) {
216
+ let resp = new DescribeServiceOverviewResponse();
217
+ this.request("DescribeServiceOverview", req, resp, cb);
218
+ }
219
+
220
+
221
+ }
222
+ module.exports = ApmClient;
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ Client: require("./apm_client"),
3
+ Models: require("./models"),
4
+ };