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 +1 -1
- package/tencentcloud/apm/index.js +3 -0
- package/tencentcloud/apm/v20210622/apm_client.js +222 -0
- package/tencentcloud/apm/v20210622/index.js +4 -0
- package/tencentcloud/apm/v20210622/models.js +3075 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/intlpartnersmgt/v20220928/models.js +4 -2
|
@@ -0,0 +1,3075 @@
|
|
|
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 AbstractModel = require("../../common/abstract_model");
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Span log section.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
* @class
|
|
24
|
+
*/
|
|
25
|
+
class SpanLog extends AbstractModel {
|
|
26
|
+
constructor(){
|
|
27
|
+
super();
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Log timestamp.
|
|
31
|
+
* @type {number || null}
|
|
32
|
+
*/
|
|
33
|
+
this.Timestamp = null;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Tag.
|
|
37
|
+
* @type {Array.<SpanTag> || null}
|
|
38
|
+
*/
|
|
39
|
+
this.Fields = null;
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @private
|
|
45
|
+
*/
|
|
46
|
+
deserialize(params) {
|
|
47
|
+
if (!params) {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
|
|
51
|
+
|
|
52
|
+
if (params.Fields) {
|
|
53
|
+
this.Fields = new Array();
|
|
54
|
+
for (let z in params.Fields) {
|
|
55
|
+
let obj = new SpanTag();
|
|
56
|
+
obj.deserialize(params.Fields[z]);
|
|
57
|
+
this.Fields.push(obj);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* ModifyApmInstance request structure.
|
|
66
|
+
* @class
|
|
67
|
+
*/
|
|
68
|
+
class ModifyApmInstanceRequest extends AbstractModel {
|
|
69
|
+
constructor(){
|
|
70
|
+
super();
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Business system id.
|
|
74
|
+
* @type {string || null}
|
|
75
|
+
*/
|
|
76
|
+
this.InstanceId = null;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Business system name.
|
|
80
|
+
* @type {string || null}
|
|
81
|
+
*/
|
|
82
|
+
this.Name = null;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Tag list.
|
|
86
|
+
* @type {Array.<ApmTag> || null}
|
|
87
|
+
*/
|
|
88
|
+
this.Tags = null;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Business system description.
|
|
92
|
+
* @type {string || null}
|
|
93
|
+
*/
|
|
94
|
+
this.Description = null;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Retention period of trace data (unit: days).
|
|
98
|
+
* @type {number || null}
|
|
99
|
+
*/
|
|
100
|
+
this.TraceDuration = null;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Billing switch.
|
|
104
|
+
* @type {boolean || null}
|
|
105
|
+
*/
|
|
106
|
+
this.OpenBilling = null;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Business system report limit.
|
|
110
|
+
* @type {number || null}
|
|
111
|
+
*/
|
|
112
|
+
this.SpanDailyCounters = null;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
|
|
116
|
+
* @type {number || null}
|
|
117
|
+
*/
|
|
118
|
+
this.ErrRateThreshold = null;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Sampling rate (unit: %).
|
|
122
|
+
* @type {number || null}
|
|
123
|
+
*/
|
|
124
|
+
this.SampleRate = null;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Error sampling switch (0: off, 1: on).
|
|
128
|
+
* @type {number || null}
|
|
129
|
+
*/
|
|
130
|
+
this.ErrorSample = null;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Sampling slow call saving threshold (unit: ms).
|
|
134
|
+
* @type {number || null}
|
|
135
|
+
*/
|
|
136
|
+
this.SlowRequestSavedThreshold = null;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Log feature switch (0: off; 1: on).
|
|
140
|
+
* @type {number || null}
|
|
141
|
+
*/
|
|
142
|
+
this.IsRelatedLog = null;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Log region, which takes effect after the log feature is enabled.
|
|
146
|
+
* @type {string || null}
|
|
147
|
+
*/
|
|
148
|
+
this.LogRegion = null;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* CLS log topic id, which takes effect after the log feature is enabled.
|
|
152
|
+
* @type {string || null}
|
|
153
|
+
*/
|
|
154
|
+
this.LogTopicID = null;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Logset, which takes effect only after the log feature is enabled.
|
|
158
|
+
* @type {string || null}
|
|
159
|
+
*/
|
|
160
|
+
this.LogSet = null;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Log source, which takes effect only after the log feature is enabled.
|
|
164
|
+
* @type {string || null}
|
|
165
|
+
*/
|
|
166
|
+
this.LogSource = null;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* List of custom display tags.
|
|
170
|
+
* @type {Array.<string> || null}
|
|
171
|
+
*/
|
|
172
|
+
this.CustomShowTags = null;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Modify billing mode (1: prepaid, 0: pay-as-you-go).
|
|
176
|
+
* @type {number || null}
|
|
177
|
+
*/
|
|
178
|
+
this.PayMode = null;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Response time warning line.
|
|
182
|
+
* @type {number || null}
|
|
183
|
+
*/
|
|
184
|
+
this.ResponseDurationWarningThreshold = null;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
|
|
188
|
+
* @type {number || null}
|
|
189
|
+
*/
|
|
190
|
+
this.Free = null;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Whether to associate the dashboard (0 = off, 1 = on).
|
|
194
|
+
* @type {number || null}
|
|
195
|
+
*/
|
|
196
|
+
this.IsRelatedDashboard = null;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Associated dashboard id, which takes effect after the associated dashboard is enabled.
|
|
200
|
+
* @type {string || null}
|
|
201
|
+
*/
|
|
202
|
+
this.DashboardTopicID = null;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* SQL injection detection switch (0: off, 1: on).
|
|
206
|
+
* @type {number || null}
|
|
207
|
+
*/
|
|
208
|
+
this.IsSqlInjectionAnalysis = null;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Whether to enable component vulnerability detection (0 = no, 1 = yes).
|
|
212
|
+
* @type {number || null}
|
|
213
|
+
*/
|
|
214
|
+
this.IsInstrumentationVulnerabilityScan = null;
|
|
215
|
+
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @private
|
|
220
|
+
*/
|
|
221
|
+
deserialize(params) {
|
|
222
|
+
if (!params) {
|
|
223
|
+
return;
|
|
224
|
+
}
|
|
225
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
226
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
227
|
+
|
|
228
|
+
if (params.Tags) {
|
|
229
|
+
this.Tags = new Array();
|
|
230
|
+
for (let z in params.Tags) {
|
|
231
|
+
let obj = new ApmTag();
|
|
232
|
+
obj.deserialize(params.Tags[z]);
|
|
233
|
+
this.Tags.push(obj);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
237
|
+
this.TraceDuration = 'TraceDuration' in params ? params.TraceDuration : null;
|
|
238
|
+
this.OpenBilling = 'OpenBilling' in params ? params.OpenBilling : null;
|
|
239
|
+
this.SpanDailyCounters = 'SpanDailyCounters' in params ? params.SpanDailyCounters : null;
|
|
240
|
+
this.ErrRateThreshold = 'ErrRateThreshold' in params ? params.ErrRateThreshold : null;
|
|
241
|
+
this.SampleRate = 'SampleRate' in params ? params.SampleRate : null;
|
|
242
|
+
this.ErrorSample = 'ErrorSample' in params ? params.ErrorSample : null;
|
|
243
|
+
this.SlowRequestSavedThreshold = 'SlowRequestSavedThreshold' in params ? params.SlowRequestSavedThreshold : null;
|
|
244
|
+
this.IsRelatedLog = 'IsRelatedLog' in params ? params.IsRelatedLog : null;
|
|
245
|
+
this.LogRegion = 'LogRegion' in params ? params.LogRegion : null;
|
|
246
|
+
this.LogTopicID = 'LogTopicID' in params ? params.LogTopicID : null;
|
|
247
|
+
this.LogSet = 'LogSet' in params ? params.LogSet : null;
|
|
248
|
+
this.LogSource = 'LogSource' in params ? params.LogSource : null;
|
|
249
|
+
this.CustomShowTags = 'CustomShowTags' in params ? params.CustomShowTags : null;
|
|
250
|
+
this.PayMode = 'PayMode' in params ? params.PayMode : null;
|
|
251
|
+
this.ResponseDurationWarningThreshold = 'ResponseDurationWarningThreshold' in params ? params.ResponseDurationWarningThreshold : null;
|
|
252
|
+
this.Free = 'Free' in params ? params.Free : null;
|
|
253
|
+
this.IsRelatedDashboard = 'IsRelatedDashboard' in params ? params.IsRelatedDashboard : null;
|
|
254
|
+
this.DashboardTopicID = 'DashboardTopicID' in params ? params.DashboardTopicID : null;
|
|
255
|
+
this.IsSqlInjectionAnalysis = 'IsSqlInjectionAnalysis' in params ? params.IsSqlInjectionAnalysis : null;
|
|
256
|
+
this.IsInstrumentationVulnerabilityScan = 'IsInstrumentationVulnerabilityScan' in params ? params.IsInstrumentationVulnerabilityScan : null;
|
|
257
|
+
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* APM business system information.
|
|
263
|
+
* @class
|
|
264
|
+
*/
|
|
265
|
+
class ApmInstanceDetail extends AbstractModel {
|
|
266
|
+
constructor(){
|
|
267
|
+
super();
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Business system id.
|
|
271
|
+
* @type {string || null}
|
|
272
|
+
*/
|
|
273
|
+
this.InstanceId = null;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Business system name.
|
|
277
|
+
* @type {string || null}
|
|
278
|
+
*/
|
|
279
|
+
this.Name = null;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Business system description information.
|
|
283
|
+
* @type {string || null}
|
|
284
|
+
*/
|
|
285
|
+
this.Description = null;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Status of the business system.
|
|
289
|
+
{Initializing; running; throttling}.
|
|
290
|
+
* @type {number || null}
|
|
291
|
+
*/
|
|
292
|
+
this.Status = null;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Region where the business system belongs.
|
|
296
|
+
* @type {string || null}
|
|
297
|
+
*/
|
|
298
|
+
this.Region = null;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Business system tag list.
|
|
302
|
+
* @type {Array.<ApmTag> || null}
|
|
303
|
+
*/
|
|
304
|
+
this.Tags = null;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* AppID information.
|
|
308
|
+
* @type {number || null}
|
|
309
|
+
*/
|
|
310
|
+
this.AppId = null;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Creator uin.
|
|
314
|
+
* @type {string || null}
|
|
315
|
+
*/
|
|
316
|
+
this.CreateUin = null;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Storage used (unit: mb).
|
|
320
|
+
* @type {number || null}
|
|
321
|
+
*/
|
|
322
|
+
this.AmountOfUsedStorage = null;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Quantity of server applications of the business system.
|
|
326
|
+
* @type {number || null}
|
|
327
|
+
*/
|
|
328
|
+
this.ServiceCount = null;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Average daily reported span count.
|
|
332
|
+
* @type {number || null}
|
|
333
|
+
*/
|
|
334
|
+
this.CountOfReportSpanPerDay = null;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Retention period of trace data (unit: days).
|
|
338
|
+
* @type {number || null}
|
|
339
|
+
*/
|
|
340
|
+
this.TraceDuration = null;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Business system report limit.
|
|
344
|
+
* @type {number || null}
|
|
345
|
+
*/
|
|
346
|
+
this.SpanDailyCounters = null;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Whether the business system billing is Activated (0 = not activated, 1 = activated).
|
|
350
|
+
* @type {number || null}
|
|
351
|
+
*/
|
|
352
|
+
this.BillingInstance = null;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Error warning line (unit: %).
|
|
356
|
+
* @type {number || null}
|
|
357
|
+
*/
|
|
358
|
+
this.ErrRateThreshold = null;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Sampling rate (unit: %).
|
|
362
|
+
* @type {number || null}
|
|
363
|
+
*/
|
|
364
|
+
this.SampleRate = null;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Error sampling switch (0: off, 1: on).
|
|
368
|
+
* @type {number || null}
|
|
369
|
+
*/
|
|
370
|
+
this.ErrorSample = null;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Sampling slow call saving threshold (unit: ms).
|
|
374
|
+
* @type {number || null}
|
|
375
|
+
*/
|
|
376
|
+
this.SlowRequestSavedThreshold = null;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* CLS log region.
|
|
380
|
+
* @type {string || null}
|
|
381
|
+
*/
|
|
382
|
+
this.LogRegion = null;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Log source.
|
|
386
|
+
* @type {string || null}
|
|
387
|
+
*/
|
|
388
|
+
this.LogSource = null;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Log feature switch (0: off; 1: on).
|
|
392
|
+
* @type {number || null}
|
|
393
|
+
*/
|
|
394
|
+
this.IsRelatedLog = null;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Log topic id.
|
|
398
|
+
* @type {string || null}
|
|
399
|
+
*/
|
|
400
|
+
this.LogTopicID = null;
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Quantity of client applications of the business system.
|
|
404
|
+
* @type {number || null}
|
|
405
|
+
*/
|
|
406
|
+
this.ClientCount = null;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* The quantity of active applications in this business system in the last two days.
|
|
410
|
+
* @type {number || null}
|
|
411
|
+
*/
|
|
412
|
+
this.TotalCount = null;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* CLS log set.
|
|
416
|
+
* @type {string || null}
|
|
417
|
+
*/
|
|
418
|
+
this.LogSet = null;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Retention period of metric data (unit: days).
|
|
422
|
+
* @type {number || null}
|
|
423
|
+
*/
|
|
424
|
+
this.MetricDuration = null;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* List of custom display tags.
|
|
428
|
+
* @type {Array.<string> || null}
|
|
429
|
+
*/
|
|
430
|
+
this.CustomShowTags = null;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Business system billing mode (1: prepaid, 0: pay-as-you-go).
|
|
434
|
+
* @type {number || null}
|
|
435
|
+
*/
|
|
436
|
+
this.PayMode = null;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Indicates whether the billing mode of the business system takes effect.
|
|
440
|
+
* @type {boolean || null}
|
|
441
|
+
*/
|
|
442
|
+
this.PayModeEffective = null;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Response time warning line (unit: ms).
|
|
446
|
+
* @type {number || null}
|
|
447
|
+
*/
|
|
448
|
+
this.ResponseDurationWarningThreshold = null;
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* Whether it is free (0 = no; 1 = limited free; 2 = completely free), default 0.
|
|
452
|
+
* @type {number || null}
|
|
453
|
+
*/
|
|
454
|
+
this.Free = null;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Indicates whether it is the default business system of tsf (0 = no, 1 = yes).
|
|
458
|
+
* @type {number || null}
|
|
459
|
+
*/
|
|
460
|
+
this.DefaultTSF = null;
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* Whether to associate the dashboard (0 = off, 1 = on).
|
|
464
|
+
* @type {number || null}
|
|
465
|
+
*/
|
|
466
|
+
this.IsRelatedDashboard = null;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Associated dashboard id.
|
|
470
|
+
* @type {string || null}
|
|
471
|
+
*/
|
|
472
|
+
this.DashboardTopicID = null;
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Whether to enable component vulnerability detection (0 = no, 1 = yes).
|
|
476
|
+
* @type {number || null}
|
|
477
|
+
*/
|
|
478
|
+
this.IsInstrumentationVulnerabilityScan = null;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Whether to enable sql injection analysis (0: off, 1: on).
|
|
482
|
+
* @type {number || null}
|
|
483
|
+
*/
|
|
484
|
+
this.IsSqlInjectionAnalysis = null;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* Reasons for traffic throttling.
|
|
488
|
+
Official version quota;.
|
|
489
|
+
Trial version quota.
|
|
490
|
+
Trial version expiration;.
|
|
491
|
+
Account in arrears.
|
|
492
|
+
}.
|
|
493
|
+
* @type {number || null}
|
|
494
|
+
*/
|
|
495
|
+
this.StopReason = null;
|
|
496
|
+
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* @private
|
|
501
|
+
*/
|
|
502
|
+
deserialize(params) {
|
|
503
|
+
if (!params) {
|
|
504
|
+
return;
|
|
505
|
+
}
|
|
506
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
507
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
508
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
509
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
510
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
511
|
+
|
|
512
|
+
if (params.Tags) {
|
|
513
|
+
this.Tags = new Array();
|
|
514
|
+
for (let z in params.Tags) {
|
|
515
|
+
let obj = new ApmTag();
|
|
516
|
+
obj.deserialize(params.Tags[z]);
|
|
517
|
+
this.Tags.push(obj);
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
this.AppId = 'AppId' in params ? params.AppId : null;
|
|
521
|
+
this.CreateUin = 'CreateUin' in params ? params.CreateUin : null;
|
|
522
|
+
this.AmountOfUsedStorage = 'AmountOfUsedStorage' in params ? params.AmountOfUsedStorage : null;
|
|
523
|
+
this.ServiceCount = 'ServiceCount' in params ? params.ServiceCount : null;
|
|
524
|
+
this.CountOfReportSpanPerDay = 'CountOfReportSpanPerDay' in params ? params.CountOfReportSpanPerDay : null;
|
|
525
|
+
this.TraceDuration = 'TraceDuration' in params ? params.TraceDuration : null;
|
|
526
|
+
this.SpanDailyCounters = 'SpanDailyCounters' in params ? params.SpanDailyCounters : null;
|
|
527
|
+
this.BillingInstance = 'BillingInstance' in params ? params.BillingInstance : null;
|
|
528
|
+
this.ErrRateThreshold = 'ErrRateThreshold' in params ? params.ErrRateThreshold : null;
|
|
529
|
+
this.SampleRate = 'SampleRate' in params ? params.SampleRate : null;
|
|
530
|
+
this.ErrorSample = 'ErrorSample' in params ? params.ErrorSample : null;
|
|
531
|
+
this.SlowRequestSavedThreshold = 'SlowRequestSavedThreshold' in params ? params.SlowRequestSavedThreshold : null;
|
|
532
|
+
this.LogRegion = 'LogRegion' in params ? params.LogRegion : null;
|
|
533
|
+
this.LogSource = 'LogSource' in params ? params.LogSource : null;
|
|
534
|
+
this.IsRelatedLog = 'IsRelatedLog' in params ? params.IsRelatedLog : null;
|
|
535
|
+
this.LogTopicID = 'LogTopicID' in params ? params.LogTopicID : null;
|
|
536
|
+
this.ClientCount = 'ClientCount' in params ? params.ClientCount : null;
|
|
537
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
538
|
+
this.LogSet = 'LogSet' in params ? params.LogSet : null;
|
|
539
|
+
this.MetricDuration = 'MetricDuration' in params ? params.MetricDuration : null;
|
|
540
|
+
this.CustomShowTags = 'CustomShowTags' in params ? params.CustomShowTags : null;
|
|
541
|
+
this.PayMode = 'PayMode' in params ? params.PayMode : null;
|
|
542
|
+
this.PayModeEffective = 'PayModeEffective' in params ? params.PayModeEffective : null;
|
|
543
|
+
this.ResponseDurationWarningThreshold = 'ResponseDurationWarningThreshold' in params ? params.ResponseDurationWarningThreshold : null;
|
|
544
|
+
this.Free = 'Free' in params ? params.Free : null;
|
|
545
|
+
this.DefaultTSF = 'DefaultTSF' in params ? params.DefaultTSF : null;
|
|
546
|
+
this.IsRelatedDashboard = 'IsRelatedDashboard' in params ? params.IsRelatedDashboard : null;
|
|
547
|
+
this.DashboardTopicID = 'DashboardTopicID' in params ? params.DashboardTopicID : null;
|
|
548
|
+
this.IsInstrumentationVulnerabilityScan = 'IsInstrumentationVulnerabilityScan' in params ? params.IsInstrumentationVulnerabilityScan : null;
|
|
549
|
+
this.IsSqlInjectionAnalysis = 'IsSqlInjectionAnalysis' in params ? params.IsSqlInjectionAnalysis : null;
|
|
550
|
+
this.StopReason = 'StopReason' in params ? params.StopReason : null;
|
|
551
|
+
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* CreateApmInstance request structure.
|
|
557
|
+
* @class
|
|
558
|
+
*/
|
|
559
|
+
class CreateApmInstanceRequest extends AbstractModel {
|
|
560
|
+
constructor(){
|
|
561
|
+
super();
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Business system name.
|
|
565
|
+
* @type {string || null}
|
|
566
|
+
*/
|
|
567
|
+
this.Name = null;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Business system description information.
|
|
571
|
+
* @type {string || null}
|
|
572
|
+
*/
|
|
573
|
+
this.Description = null;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Retention period of trace data (unit: days, the default storage duration is 3 days).
|
|
577
|
+
* @type {number || null}
|
|
578
|
+
*/
|
|
579
|
+
this.TraceDuration = null;
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* Business system tag list.
|
|
583
|
+
* @type {Array.<ApmTag> || null}
|
|
584
|
+
*/
|
|
585
|
+
this.Tags = null;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* The report quota value of the business system. the default value is 0, indicating no limit on the report quota. (obsolete).
|
|
589
|
+
* @type {number || null}
|
|
590
|
+
*/
|
|
591
|
+
this.SpanDailyCounters = null;
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Billing model of the business system (0: pay-as-you-go, 1: prepaid).
|
|
595
|
+
* @type {number || null}
|
|
596
|
+
*/
|
|
597
|
+
this.PayMode = null;
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* Whether it is a free edition business system (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition).
|
|
601
|
+
* @type {number || null}
|
|
602
|
+
*/
|
|
603
|
+
this.Free = null;
|
|
604
|
+
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* @private
|
|
609
|
+
*/
|
|
610
|
+
deserialize(params) {
|
|
611
|
+
if (!params) {
|
|
612
|
+
return;
|
|
613
|
+
}
|
|
614
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
615
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
616
|
+
this.TraceDuration = 'TraceDuration' in params ? params.TraceDuration : null;
|
|
617
|
+
|
|
618
|
+
if (params.Tags) {
|
|
619
|
+
this.Tags = new Array();
|
|
620
|
+
for (let z in params.Tags) {
|
|
621
|
+
let obj = new ApmTag();
|
|
622
|
+
obj.deserialize(params.Tags[z]);
|
|
623
|
+
this.Tags.push(obj);
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
this.SpanDailyCounters = 'SpanDailyCounters' in params ? params.SpanDailyCounters : null;
|
|
627
|
+
this.PayMode = 'PayMode' in params ? params.PayMode : null;
|
|
628
|
+
this.Free = 'Free' in params ? params.Free : null;
|
|
629
|
+
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* ModifyGeneralApmApplicationConfig request structure.
|
|
635
|
+
* @class
|
|
636
|
+
*/
|
|
637
|
+
class ModifyGeneralApmApplicationConfigRequest extends AbstractModel {
|
|
638
|
+
constructor(){
|
|
639
|
+
super();
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Business system id.
|
|
643
|
+
* @type {string || null}
|
|
644
|
+
*/
|
|
645
|
+
this.InstanceId = null;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Fields to be modified. the key and value respectively specify the field name and field value.
|
|
649
|
+
.
|
|
650
|
+
For specific fields, please refer to.
|
|
651
|
+
* @type {Array.<ApmTag> || null}
|
|
652
|
+
*/
|
|
653
|
+
this.Tags = null;
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Name of the application list that requires configuration modification.
|
|
657
|
+
* @type {Array.<string> || null}
|
|
658
|
+
*/
|
|
659
|
+
this.ServiceNames = null;
|
|
660
|
+
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* @private
|
|
665
|
+
*/
|
|
666
|
+
deserialize(params) {
|
|
667
|
+
if (!params) {
|
|
668
|
+
return;
|
|
669
|
+
}
|
|
670
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
671
|
+
|
|
672
|
+
if (params.Tags) {
|
|
673
|
+
this.Tags = new Array();
|
|
674
|
+
for (let z in params.Tags) {
|
|
675
|
+
let obj = new ApmTag();
|
|
676
|
+
obj.deserialize(params.Tags[z]);
|
|
677
|
+
this.Tags.push(obj);
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
this.ServiceNames = 'ServiceNames' in params ? params.ServiceNames : null;
|
|
681
|
+
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* DescribeServiceOverview response structure.
|
|
687
|
+
* @class
|
|
688
|
+
*/
|
|
689
|
+
class DescribeServiceOverviewResponse extends AbstractModel {
|
|
690
|
+
constructor(){
|
|
691
|
+
super();
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Indicator result set.
|
|
695
|
+
* @type {Array.<ApmMetricRecord> || null}
|
|
696
|
+
*/
|
|
697
|
+
this.Records = null;
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
701
|
+
* @type {string || null}
|
|
702
|
+
*/
|
|
703
|
+
this.RequestId = null;
|
|
704
|
+
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* @private
|
|
709
|
+
*/
|
|
710
|
+
deserialize(params) {
|
|
711
|
+
if (!params) {
|
|
712
|
+
return;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
if (params.Records) {
|
|
716
|
+
this.Records = new Array();
|
|
717
|
+
for (let z in params.Records) {
|
|
718
|
+
let obj = new ApmMetricRecord();
|
|
719
|
+
obj.deserialize(params.Records[z]);
|
|
720
|
+
this.Records.push(obj);
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
724
|
+
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Querying.
|
|
730
|
+
* @class
|
|
731
|
+
*/
|
|
732
|
+
class QueryMetricItem extends AbstractModel {
|
|
733
|
+
constructor(){
|
|
734
|
+
super();
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Metric name.
|
|
738
|
+
* @type {string || null}
|
|
739
|
+
*/
|
|
740
|
+
this.MetricName = null;
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Year-Over-Year comparison is now supported for comparebyyesterday (compared to yesterday) and comparebylastweek (compared to last week).
|
|
744
|
+
* @type {Array.<string> || null}
|
|
745
|
+
*/
|
|
746
|
+
this.Compares = null;
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* Year-On-Year, deprecated, not recommended for use.
|
|
750
|
+
* @type {string || null}
|
|
751
|
+
*/
|
|
752
|
+
this.Compare = null;
|
|
753
|
+
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* @private
|
|
758
|
+
*/
|
|
759
|
+
deserialize(params) {
|
|
760
|
+
if (!params) {
|
|
761
|
+
return;
|
|
762
|
+
}
|
|
763
|
+
this.MetricName = 'MetricName' in params ? params.MetricName : null;
|
|
764
|
+
this.Compares = 'Compares' in params ? params.Compares : null;
|
|
765
|
+
this.Compare = 'Compare' in params ? params.Compare : null;
|
|
766
|
+
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* TerminateApmInstance request structure.
|
|
772
|
+
* @class
|
|
773
|
+
*/
|
|
774
|
+
class TerminateApmInstanceRequest extends AbstractModel {
|
|
775
|
+
constructor(){
|
|
776
|
+
super();
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* Business system id.
|
|
780
|
+
* @type {string || null}
|
|
781
|
+
*/
|
|
782
|
+
this.InstanceId = null;
|
|
783
|
+
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* @private
|
|
788
|
+
*/
|
|
789
|
+
deserialize(params) {
|
|
790
|
+
if (!params) {
|
|
791
|
+
return;
|
|
792
|
+
}
|
|
793
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
794
|
+
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* DescribeApmInstances response structure.
|
|
800
|
+
* @class
|
|
801
|
+
*/
|
|
802
|
+
class DescribeApmInstancesResponse extends AbstractModel {
|
|
803
|
+
constructor(){
|
|
804
|
+
super();
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* APM business system list.
|
|
808
|
+
* @type {Array.<ApmInstanceDetail> || null}
|
|
809
|
+
*/
|
|
810
|
+
this.Instances = null;
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
814
|
+
* @type {string || null}
|
|
815
|
+
*/
|
|
816
|
+
this.RequestId = null;
|
|
817
|
+
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* @private
|
|
822
|
+
*/
|
|
823
|
+
deserialize(params) {
|
|
824
|
+
if (!params) {
|
|
825
|
+
return;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
if (params.Instances) {
|
|
829
|
+
this.Instances = new Array();
|
|
830
|
+
for (let z in params.Instances) {
|
|
831
|
+
let obj = new ApmInstanceDetail();
|
|
832
|
+
obj.deserialize(params.Instances[z]);
|
|
833
|
+
this.Instances.push(obj);
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
837
|
+
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* Component.
|
|
843
|
+
* @class
|
|
844
|
+
*/
|
|
845
|
+
class Instrument extends AbstractModel {
|
|
846
|
+
constructor(){
|
|
847
|
+
super();
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* Component name.
|
|
851
|
+
* @type {string || null}
|
|
852
|
+
*/
|
|
853
|
+
this.Name = null;
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* Component switch.
|
|
857
|
+
* @type {boolean || null}
|
|
858
|
+
*/
|
|
859
|
+
this.Enable = null;
|
|
860
|
+
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* @private
|
|
865
|
+
*/
|
|
866
|
+
deserialize(params) {
|
|
867
|
+
if (!params) {
|
|
868
|
+
return;
|
|
869
|
+
}
|
|
870
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
871
|
+
this.Enable = 'Enable' in params ? params.Enable : null;
|
|
872
|
+
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* DescribeTagValues response structure.
|
|
878
|
+
* @class
|
|
879
|
+
*/
|
|
880
|
+
class DescribeTagValuesResponse extends AbstractModel {
|
|
881
|
+
constructor(){
|
|
882
|
+
super();
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* Dimension value list.
|
|
886
|
+
* @type {Array.<string> || null}
|
|
887
|
+
*/
|
|
888
|
+
this.Values = null;
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
892
|
+
* @type {string || null}
|
|
893
|
+
*/
|
|
894
|
+
this.RequestId = null;
|
|
895
|
+
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* @private
|
|
900
|
+
*/
|
|
901
|
+
deserialize(params) {
|
|
902
|
+
if (!params) {
|
|
903
|
+
return;
|
|
904
|
+
}
|
|
905
|
+
this.Values = 'Values' in params ? params.Values : null;
|
|
906
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
907
|
+
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* Span object.
|
|
913
|
+
* @class
|
|
914
|
+
*/
|
|
915
|
+
class Span extends AbstractModel {
|
|
916
|
+
constructor(){
|
|
917
|
+
super();
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Trace ID
|
|
921
|
+
* @type {string || null}
|
|
922
|
+
*/
|
|
923
|
+
this.TraceID = null;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Log.
|
|
927
|
+
* @type {Array.<SpanLog> || null}
|
|
928
|
+
*/
|
|
929
|
+
this.Logs = null;
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* Tag.
|
|
933
|
+
* @type {Array.<SpanTag> || null}
|
|
934
|
+
*/
|
|
935
|
+
this.Tags = null;
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* Submit application service information.
|
|
939
|
+
* @type {SpanProcess || null}
|
|
940
|
+
*/
|
|
941
|
+
this.Process = null;
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* Generated timestamp (ms).
|
|
945
|
+
* @type {number || null}
|
|
946
|
+
*/
|
|
947
|
+
this.Timestamp = null;
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* Span name.
|
|
951
|
+
* @type {string || null}
|
|
952
|
+
*/
|
|
953
|
+
this.OperationName = null;
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* Association relationship.
|
|
957
|
+
* @type {Array.<SpanReference> || null}
|
|
958
|
+
*/
|
|
959
|
+
this.References = null;
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* Generated timestamp (ms).
|
|
963
|
+
* @type {number || null}
|
|
964
|
+
*/
|
|
965
|
+
this.StartTime = null;
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* Duration (ms).
|
|
969
|
+
* @type {number || null}
|
|
970
|
+
*/
|
|
971
|
+
this.Duration = null;
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* Span ID
|
|
975
|
+
* @type {string || null}
|
|
976
|
+
*/
|
|
977
|
+
this.SpanID = null;
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* Generated timestamp (ms).
|
|
981
|
+
* @type {number || null}
|
|
982
|
+
*/
|
|
983
|
+
this.StartTimeMillis = null;
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* Parent Span ID
|
|
987
|
+
* @type {string || null}
|
|
988
|
+
*/
|
|
989
|
+
this.ParentSpanID = null;
|
|
990
|
+
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* @private
|
|
995
|
+
*/
|
|
996
|
+
deserialize(params) {
|
|
997
|
+
if (!params) {
|
|
998
|
+
return;
|
|
999
|
+
}
|
|
1000
|
+
this.TraceID = 'TraceID' in params ? params.TraceID : null;
|
|
1001
|
+
|
|
1002
|
+
if (params.Logs) {
|
|
1003
|
+
this.Logs = new Array();
|
|
1004
|
+
for (let z in params.Logs) {
|
|
1005
|
+
let obj = new SpanLog();
|
|
1006
|
+
obj.deserialize(params.Logs[z]);
|
|
1007
|
+
this.Logs.push(obj);
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
if (params.Tags) {
|
|
1012
|
+
this.Tags = new Array();
|
|
1013
|
+
for (let z in params.Tags) {
|
|
1014
|
+
let obj = new SpanTag();
|
|
1015
|
+
obj.deserialize(params.Tags[z]);
|
|
1016
|
+
this.Tags.push(obj);
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
if (params.Process) {
|
|
1021
|
+
let obj = new SpanProcess();
|
|
1022
|
+
obj.deserialize(params.Process)
|
|
1023
|
+
this.Process = obj;
|
|
1024
|
+
}
|
|
1025
|
+
this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
|
|
1026
|
+
this.OperationName = 'OperationName' in params ? params.OperationName : null;
|
|
1027
|
+
|
|
1028
|
+
if (params.References) {
|
|
1029
|
+
this.References = new Array();
|
|
1030
|
+
for (let z in params.References) {
|
|
1031
|
+
let obj = new SpanReference();
|
|
1032
|
+
obj.deserialize(params.References[z]);
|
|
1033
|
+
this.References.push(obj);
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1037
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
1038
|
+
this.SpanID = 'SpanID' in params ? params.SpanID : null;
|
|
1039
|
+
this.StartTimeMillis = 'StartTimeMillis' in params ? params.StartTimeMillis : null;
|
|
1040
|
+
this.ParentSpanID = 'ParentSpanID' in params ? params.ParentSpanID : null;
|
|
1041
|
+
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* APM agent information.
|
|
1047
|
+
* @class
|
|
1048
|
+
*/
|
|
1049
|
+
class ApmAgentInfo extends AbstractModel {
|
|
1050
|
+
constructor(){
|
|
1051
|
+
super();
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* Agent download address.
|
|
1055
|
+
* @type {string || null}
|
|
1056
|
+
*/
|
|
1057
|
+
this.AgentDownloadURL = null;
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* Collector reporting address.
|
|
1061
|
+
* @type {string || null}
|
|
1062
|
+
*/
|
|
1063
|
+
this.CollectorURL = null;
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* Token information.
|
|
1067
|
+
* @type {string || null}
|
|
1068
|
+
*/
|
|
1069
|
+
this.Token = null;
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* Public network reporting address.
|
|
1073
|
+
* @type {string || null}
|
|
1074
|
+
*/
|
|
1075
|
+
this.PublicCollectorURL = null;
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* Self-Developed vpc report address.
|
|
1079
|
+
* @type {string || null}
|
|
1080
|
+
*/
|
|
1081
|
+
this.InnerCollectorURL = null;
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* Private link reporting address.
|
|
1085
|
+
* @type {string || null}
|
|
1086
|
+
*/
|
|
1087
|
+
this.PrivateLinkCollectorURL = null;
|
|
1088
|
+
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* @private
|
|
1093
|
+
*/
|
|
1094
|
+
deserialize(params) {
|
|
1095
|
+
if (!params) {
|
|
1096
|
+
return;
|
|
1097
|
+
}
|
|
1098
|
+
this.AgentDownloadURL = 'AgentDownloadURL' in params ? params.AgentDownloadURL : null;
|
|
1099
|
+
this.CollectorURL = 'CollectorURL' in params ? params.CollectorURL : null;
|
|
1100
|
+
this.Token = 'Token' in params ? params.Token : null;
|
|
1101
|
+
this.PublicCollectorURL = 'PublicCollectorURL' in params ? params.PublicCollectorURL : null;
|
|
1102
|
+
this.InnerCollectorURL = 'InnerCollectorURL' in params ? params.InnerCollectorURL : null;
|
|
1103
|
+
this.PrivateLinkCollectorURL = 'PrivateLinkCollectorURL' in params ? params.PrivateLinkCollectorURL : null;
|
|
1104
|
+
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* DescribeGeneralSpanList response structure.
|
|
1110
|
+
* @class
|
|
1111
|
+
*/
|
|
1112
|
+
class DescribeGeneralSpanListResponse extends AbstractModel {
|
|
1113
|
+
constructor(){
|
|
1114
|
+
super();
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* Total number.
|
|
1118
|
+
* @type {number || null}
|
|
1119
|
+
*/
|
|
1120
|
+
this.TotalCount = null;
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* Span pagination list.
|
|
1124
|
+
* @type {Array.<Span> || null}
|
|
1125
|
+
*/
|
|
1126
|
+
this.Spans = null;
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1130
|
+
* @type {string || null}
|
|
1131
|
+
*/
|
|
1132
|
+
this.RequestId = null;
|
|
1133
|
+
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* @private
|
|
1138
|
+
*/
|
|
1139
|
+
deserialize(params) {
|
|
1140
|
+
if (!params) {
|
|
1141
|
+
return;
|
|
1142
|
+
}
|
|
1143
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1144
|
+
|
|
1145
|
+
if (params.Spans) {
|
|
1146
|
+
this.Spans = new Array();
|
|
1147
|
+
for (let z in params.Spans) {
|
|
1148
|
+
let obj = new Span();
|
|
1149
|
+
obj.deserialize(params.Spans[z]);
|
|
1150
|
+
this.Spans.push(obj);
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1154
|
+
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* Metric list cell.
|
|
1160
|
+
* @class
|
|
1161
|
+
*/
|
|
1162
|
+
class ApmMetricRecord extends AbstractModel {
|
|
1163
|
+
constructor(){
|
|
1164
|
+
super();
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* Field array, used for the query result of indicators.
|
|
1168
|
+
* @type {Array.<ApmField> || null}
|
|
1169
|
+
*/
|
|
1170
|
+
this.Fields = null;
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* Tag array, used to distinguish the objects of groupby.
|
|
1174
|
+
* @type {Array.<ApmTag> || null}
|
|
1175
|
+
*/
|
|
1176
|
+
this.Tags = null;
|
|
1177
|
+
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* @private
|
|
1182
|
+
*/
|
|
1183
|
+
deserialize(params) {
|
|
1184
|
+
if (!params) {
|
|
1185
|
+
return;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
if (params.Fields) {
|
|
1189
|
+
this.Fields = new Array();
|
|
1190
|
+
for (let z in params.Fields) {
|
|
1191
|
+
let obj = new ApmField();
|
|
1192
|
+
obj.deserialize(params.Fields[z]);
|
|
1193
|
+
this.Fields.push(obj);
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
if (params.Tags) {
|
|
1198
|
+
this.Tags = new Array();
|
|
1199
|
+
for (let z in params.Tags) {
|
|
1200
|
+
let obj = new ApmTag();
|
|
1201
|
+
obj.deserialize(params.Tags[z]);
|
|
1202
|
+
this.Tags.push(obj);
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* DescribeServiceOverview request structure.
|
|
1211
|
+
* @class
|
|
1212
|
+
*/
|
|
1213
|
+
class DescribeServiceOverviewRequest extends AbstractModel {
|
|
1214
|
+
constructor(){
|
|
1215
|
+
super();
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* Metric list.
|
|
1219
|
+
* @type {Array.<QueryMetricItem> || null}
|
|
1220
|
+
*/
|
|
1221
|
+
this.Metrics = null;
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Business system id.
|
|
1225
|
+
* @type {string || null}
|
|
1226
|
+
*/
|
|
1227
|
+
this.InstanceId = null;
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* Filter criteria.
|
|
1231
|
+
* @type {Array.<Filter> || null}
|
|
1232
|
+
*/
|
|
1233
|
+
this.Filters = null;
|
|
1234
|
+
|
|
1235
|
+
/**
|
|
1236
|
+
* Aggregation dimension.
|
|
1237
|
+
* @type {Array.<string> || null}
|
|
1238
|
+
*/
|
|
1239
|
+
this.GroupBy = null;
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* Start time (unit: sec).
|
|
1243
|
+
* @type {number || null}
|
|
1244
|
+
*/
|
|
1245
|
+
this.StartTime = null;
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* End time (unit: seconds).
|
|
1249
|
+
* @type {number || null}
|
|
1250
|
+
*/
|
|
1251
|
+
this.EndTime = null;
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* Sorting method
|
|
1255
|
+
.
|
|
1256
|
+
Value: fill in.
|
|
1257
|
+
-Asc: sorts query metrics in ascending order.
|
|
1258
|
+
- desc: sort query metrics in descending order.
|
|
1259
|
+
* @type {OrderBy || null}
|
|
1260
|
+
*/
|
|
1261
|
+
this.OrderBy = null;
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* Page size.
|
|
1265
|
+
* @type {number || null}
|
|
1266
|
+
*/
|
|
1267
|
+
this.Limit = null;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Paging starting point.
|
|
1271
|
+
* @type {number || null}
|
|
1272
|
+
*/
|
|
1273
|
+
this.Offset = null;
|
|
1274
|
+
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* @private
|
|
1279
|
+
*/
|
|
1280
|
+
deserialize(params) {
|
|
1281
|
+
if (!params) {
|
|
1282
|
+
return;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
if (params.Metrics) {
|
|
1286
|
+
this.Metrics = new Array();
|
|
1287
|
+
for (let z in params.Metrics) {
|
|
1288
|
+
let obj = new QueryMetricItem();
|
|
1289
|
+
obj.deserialize(params.Metrics[z]);
|
|
1290
|
+
this.Metrics.push(obj);
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1294
|
+
|
|
1295
|
+
if (params.Filters) {
|
|
1296
|
+
this.Filters = new Array();
|
|
1297
|
+
for (let z in params.Filters) {
|
|
1298
|
+
let obj = new Filter();
|
|
1299
|
+
obj.deserialize(params.Filters[z]);
|
|
1300
|
+
this.Filters.push(obj);
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
this.GroupBy = 'GroupBy' in params ? params.GroupBy : null;
|
|
1304
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1305
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1306
|
+
|
|
1307
|
+
if (params.OrderBy) {
|
|
1308
|
+
let obj = new OrderBy();
|
|
1309
|
+
obj.deserialize(params.OrderBy)
|
|
1310
|
+
this.OrderBy = obj;
|
|
1311
|
+
}
|
|
1312
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1313
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1314
|
+
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* DescribeApmAgent response structure.
|
|
1320
|
+
* @class
|
|
1321
|
+
*/
|
|
1322
|
+
class DescribeApmAgentResponse extends AbstractModel {
|
|
1323
|
+
constructor(){
|
|
1324
|
+
super();
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* Agent information.
|
|
1328
|
+
* @type {ApmAgentInfo || null}
|
|
1329
|
+
*/
|
|
1330
|
+
this.ApmAgent = null;
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1334
|
+
* @type {string || null}
|
|
1335
|
+
*/
|
|
1336
|
+
this.RequestId = null;
|
|
1337
|
+
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* @private
|
|
1342
|
+
*/
|
|
1343
|
+
deserialize(params) {
|
|
1344
|
+
if (!params) {
|
|
1345
|
+
return;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
if (params.ApmAgent) {
|
|
1349
|
+
let obj = new ApmAgentInfo();
|
|
1350
|
+
obj.deserialize(params.ApmAgent)
|
|
1351
|
+
this.ApmAgent = obj;
|
|
1352
|
+
}
|
|
1353
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1354
|
+
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* DescribeTagValues request structure.
|
|
1360
|
+
* @class
|
|
1361
|
+
*/
|
|
1362
|
+
class DescribeTagValuesRequest extends AbstractModel {
|
|
1363
|
+
constructor(){
|
|
1364
|
+
super();
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* Dimension name.
|
|
1368
|
+
* @type {string || null}
|
|
1369
|
+
*/
|
|
1370
|
+
this.TagKey = null;
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* Business system id.
|
|
1374
|
+
* @type {string || null}
|
|
1375
|
+
*/
|
|
1376
|
+
this.InstanceId = null;
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* Filter criteria.
|
|
1380
|
+
* @type {Array.<Filter> || null}
|
|
1381
|
+
*/
|
|
1382
|
+
this.Filters = null;
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* Start time (unit: sec).
|
|
1386
|
+
* @type {number || null}
|
|
1387
|
+
*/
|
|
1388
|
+
this.StartTime = null;
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* End time (unit: seconds).
|
|
1392
|
+
* @type {number || null}
|
|
1393
|
+
*/
|
|
1394
|
+
this.EndTime = null;
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* Or filter criteria.
|
|
1398
|
+
* @type {Array.<Filter> || null}
|
|
1399
|
+
*/
|
|
1400
|
+
this.OrFilters = null;
|
|
1401
|
+
|
|
1402
|
+
/**
|
|
1403
|
+
* Usage type.
|
|
1404
|
+
* @type {string || null}
|
|
1405
|
+
*/
|
|
1406
|
+
this.Type = null;
|
|
1407
|
+
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* @private
|
|
1412
|
+
*/
|
|
1413
|
+
deserialize(params) {
|
|
1414
|
+
if (!params) {
|
|
1415
|
+
return;
|
|
1416
|
+
}
|
|
1417
|
+
this.TagKey = 'TagKey' in params ? params.TagKey : null;
|
|
1418
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1419
|
+
|
|
1420
|
+
if (params.Filters) {
|
|
1421
|
+
this.Filters = new Array();
|
|
1422
|
+
for (let z in params.Filters) {
|
|
1423
|
+
let obj = new Filter();
|
|
1424
|
+
obj.deserialize(params.Filters[z]);
|
|
1425
|
+
this.Filters.push(obj);
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1429
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1430
|
+
|
|
1431
|
+
if (params.OrFilters) {
|
|
1432
|
+
this.OrFilters = new Array();
|
|
1433
|
+
for (let z in params.OrFilters) {
|
|
1434
|
+
let obj = new Filter();
|
|
1435
|
+
obj.deserialize(params.OrFilters[z]);
|
|
1436
|
+
this.OrFilters.push(obj);
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
1440
|
+
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* Metric dimension information.
|
|
1446
|
+
* @class
|
|
1447
|
+
*/
|
|
1448
|
+
class ApmField extends AbstractModel {
|
|
1449
|
+
constructor(){
|
|
1450
|
+
super();
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* Metric name.
|
|
1454
|
+
* @type {string || null}
|
|
1455
|
+
*/
|
|
1456
|
+
this.Key = null;
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* Indicator numerical value.
|
|
1460
|
+
* @type {number || null}
|
|
1461
|
+
*/
|
|
1462
|
+
this.Value = null;
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* Units corresponding to the metric.
|
|
1466
|
+
* @type {string || null}
|
|
1467
|
+
*/
|
|
1468
|
+
this.Unit = null;
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* Year-Over-Year result array, recommended to use.
|
|
1472
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1473
|
+
* @type {Array.<APMKVItem> || null}
|
|
1474
|
+
*/
|
|
1475
|
+
this.CompareVals = null;
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* Indicator numerical value of the previous period in year-over-year comparison.
|
|
1479
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1480
|
+
* @type {Array.<APMKV> || null}
|
|
1481
|
+
*/
|
|
1482
|
+
this.LastPeriodValue = null;
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* Year-On-Year metric value. deprecated, not recommended for use.
|
|
1486
|
+
* @type {string || null}
|
|
1487
|
+
*/
|
|
1488
|
+
this.CompareVal = null;
|
|
1489
|
+
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* @private
|
|
1494
|
+
*/
|
|
1495
|
+
deserialize(params) {
|
|
1496
|
+
if (!params) {
|
|
1497
|
+
return;
|
|
1498
|
+
}
|
|
1499
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
1500
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
1501
|
+
this.Unit = 'Unit' in params ? params.Unit : null;
|
|
1502
|
+
|
|
1503
|
+
if (params.CompareVals) {
|
|
1504
|
+
this.CompareVals = new Array();
|
|
1505
|
+
for (let z in params.CompareVals) {
|
|
1506
|
+
let obj = new APMKVItem();
|
|
1507
|
+
obj.deserialize(params.CompareVals[z]);
|
|
1508
|
+
this.CompareVals.push(obj);
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
if (params.LastPeriodValue) {
|
|
1513
|
+
this.LastPeriodValue = new Array();
|
|
1514
|
+
for (let z in params.LastPeriodValue) {
|
|
1515
|
+
let obj = new APMKV();
|
|
1516
|
+
obj.deserialize(params.LastPeriodValue[z]);
|
|
1517
|
+
this.LastPeriodValue.push(obj);
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
this.CompareVal = 'CompareVal' in params ? params.CompareVal : null;
|
|
1521
|
+
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* Metric curve data.
|
|
1527
|
+
* @class
|
|
1528
|
+
*/
|
|
1529
|
+
class Line extends AbstractModel {
|
|
1530
|
+
constructor(){
|
|
1531
|
+
super();
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* Metric name.
|
|
1535
|
+
* @type {string || null}
|
|
1536
|
+
*/
|
|
1537
|
+
this.MetricName = null;
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* Metric chinese name.
|
|
1541
|
+
* @type {string || null}
|
|
1542
|
+
*/
|
|
1543
|
+
this.MetricNameCN = null;
|
|
1544
|
+
|
|
1545
|
+
/**
|
|
1546
|
+
* Time series.
|
|
1547
|
+
* @type {Array.<number> || null}
|
|
1548
|
+
*/
|
|
1549
|
+
this.TimeSerial = null;
|
|
1550
|
+
|
|
1551
|
+
/**
|
|
1552
|
+
* Data sequence.
|
|
1553
|
+
* @type {Array.<number> || null}
|
|
1554
|
+
*/
|
|
1555
|
+
this.DataSerial = null;
|
|
1556
|
+
|
|
1557
|
+
/**
|
|
1558
|
+
* Dimension list.
|
|
1559
|
+
* @type {Array.<ApmTag> || null}
|
|
1560
|
+
*/
|
|
1561
|
+
this.Tags = null;
|
|
1562
|
+
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* @private
|
|
1567
|
+
*/
|
|
1568
|
+
deserialize(params) {
|
|
1569
|
+
if (!params) {
|
|
1570
|
+
return;
|
|
1571
|
+
}
|
|
1572
|
+
this.MetricName = 'MetricName' in params ? params.MetricName : null;
|
|
1573
|
+
this.MetricNameCN = 'MetricNameCN' in params ? params.MetricNameCN : null;
|
|
1574
|
+
this.TimeSerial = 'TimeSerial' in params ? params.TimeSerial : null;
|
|
1575
|
+
this.DataSerial = 'DataSerial' in params ? params.DataSerial : null;
|
|
1576
|
+
|
|
1577
|
+
if (params.Tags) {
|
|
1578
|
+
this.Tags = new Array();
|
|
1579
|
+
for (let z in params.Tags) {
|
|
1580
|
+
let obj = new ApmTag();
|
|
1581
|
+
obj.deserialize(params.Tags[z]);
|
|
1582
|
+
this.Tags.push(obj);
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* Application-Related configuration list items.
|
|
1591
|
+
* @class
|
|
1592
|
+
*/
|
|
1593
|
+
class ApmApplicationConfigView extends AbstractModel {
|
|
1594
|
+
constructor(){
|
|
1595
|
+
super();
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* Business system id.
|
|
1599
|
+
* @type {string || null}
|
|
1600
|
+
*/
|
|
1601
|
+
this.InstanceKey = null;
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* Application name .
|
|
1605
|
+
* @type {string || null}
|
|
1606
|
+
*/
|
|
1607
|
+
this.ServiceName = null;
|
|
1608
|
+
|
|
1609
|
+
/**
|
|
1610
|
+
* API filtering.
|
|
1611
|
+
* @type {string || null}
|
|
1612
|
+
*/
|
|
1613
|
+
this.OperationNameFilter = null;
|
|
1614
|
+
|
|
1615
|
+
/**
|
|
1616
|
+
* Error type filtering.
|
|
1617
|
+
* @type {string || null}
|
|
1618
|
+
*/
|
|
1619
|
+
this.ExceptionFilter = null;
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* HTTP status code filtering.
|
|
1623
|
+
* @type {string || null}
|
|
1624
|
+
*/
|
|
1625
|
+
this.ErrorCodeFilter = null;
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* Application diagnosis switch (deprecated).
|
|
1629
|
+
* @type {boolean || null}
|
|
1630
|
+
*/
|
|
1631
|
+
this.EventEnable = null;
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* URL convergence switch. 0: off; 1: on.
|
|
1635
|
+
* @type {number || null}
|
|
1636
|
+
*/
|
|
1637
|
+
this.UrlConvergenceSwitch = null;
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* URL convergence threshold.
|
|
1641
|
+
* @type {number || null}
|
|
1642
|
+
*/
|
|
1643
|
+
this.UrlConvergenceThreshold = null;
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* URL convergence rule in the form of a regular expression.
|
|
1647
|
+
* @type {string || null}
|
|
1648
|
+
*/
|
|
1649
|
+
this.UrlConvergence = null;
|
|
1650
|
+
|
|
1651
|
+
/**
|
|
1652
|
+
* URL exclusion rule in the form of a regular expression.
|
|
1653
|
+
* @type {string || null}
|
|
1654
|
+
*/
|
|
1655
|
+
this.UrlExclude = null;
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* Log feature switch. 0: off; 1: on.
|
|
1659
|
+
* @type {number || null}
|
|
1660
|
+
*/
|
|
1661
|
+
this.IsRelatedLog = null;
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* Log source.
|
|
1665
|
+
* @type {string || null}
|
|
1666
|
+
*/
|
|
1667
|
+
this.LogSource = null;
|
|
1668
|
+
|
|
1669
|
+
/**
|
|
1670
|
+
* Log set.
|
|
1671
|
+
* @type {string || null}
|
|
1672
|
+
*/
|
|
1673
|
+
this.LogSet = null;
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* Log topic.
|
|
1677
|
+
* @type {string || null}
|
|
1678
|
+
*/
|
|
1679
|
+
this.LogTopicID = null;
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* Method stack snapshot switch: true to enable, false to disable.
|
|
1683
|
+
* @type {boolean || null}
|
|
1684
|
+
*/
|
|
1685
|
+
this.SnapshotEnable = null;
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* Slow call listening trigger threshold.
|
|
1689
|
+
* @type {number || null}
|
|
1690
|
+
*/
|
|
1691
|
+
this.SnapshotTimeout = null;
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* Probe master switch.
|
|
1695
|
+
* @type {boolean || null}
|
|
1696
|
+
*/
|
|
1697
|
+
this.AgentEnable = null;
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* Component list switch (deprecated).
|
|
1701
|
+
* @type {Array.<Instrument> || null}
|
|
1702
|
+
*/
|
|
1703
|
+
this.InstrumentList = null;
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* Link compression switch (deprecated).
|
|
1707
|
+
* @type {boolean || null}
|
|
1708
|
+
*/
|
|
1709
|
+
this.TraceSquash = null;
|
|
1710
|
+
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* @private
|
|
1715
|
+
*/
|
|
1716
|
+
deserialize(params) {
|
|
1717
|
+
if (!params) {
|
|
1718
|
+
return;
|
|
1719
|
+
}
|
|
1720
|
+
this.InstanceKey = 'InstanceKey' in params ? params.InstanceKey : null;
|
|
1721
|
+
this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
|
|
1722
|
+
this.OperationNameFilter = 'OperationNameFilter' in params ? params.OperationNameFilter : null;
|
|
1723
|
+
this.ExceptionFilter = 'ExceptionFilter' in params ? params.ExceptionFilter : null;
|
|
1724
|
+
this.ErrorCodeFilter = 'ErrorCodeFilter' in params ? params.ErrorCodeFilter : null;
|
|
1725
|
+
this.EventEnable = 'EventEnable' in params ? params.EventEnable : null;
|
|
1726
|
+
this.UrlConvergenceSwitch = 'UrlConvergenceSwitch' in params ? params.UrlConvergenceSwitch : null;
|
|
1727
|
+
this.UrlConvergenceThreshold = 'UrlConvergenceThreshold' in params ? params.UrlConvergenceThreshold : null;
|
|
1728
|
+
this.UrlConvergence = 'UrlConvergence' in params ? params.UrlConvergence : null;
|
|
1729
|
+
this.UrlExclude = 'UrlExclude' in params ? params.UrlExclude : null;
|
|
1730
|
+
this.IsRelatedLog = 'IsRelatedLog' in params ? params.IsRelatedLog : null;
|
|
1731
|
+
this.LogSource = 'LogSource' in params ? params.LogSource : null;
|
|
1732
|
+
this.LogSet = 'LogSet' in params ? params.LogSet : null;
|
|
1733
|
+
this.LogTopicID = 'LogTopicID' in params ? params.LogTopicID : null;
|
|
1734
|
+
this.SnapshotEnable = 'SnapshotEnable' in params ? params.SnapshotEnable : null;
|
|
1735
|
+
this.SnapshotTimeout = 'SnapshotTimeout' in params ? params.SnapshotTimeout : null;
|
|
1736
|
+
this.AgentEnable = 'AgentEnable' in params ? params.AgentEnable : null;
|
|
1737
|
+
|
|
1738
|
+
if (params.InstrumentList) {
|
|
1739
|
+
this.InstrumentList = new Array();
|
|
1740
|
+
for (let z in params.InstrumentList) {
|
|
1741
|
+
let obj = new Instrument();
|
|
1742
|
+
obj.deserialize(params.InstrumentList[z]);
|
|
1743
|
+
this.InstrumentList.push(obj);
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
this.TraceSquash = 'TraceSquash' in params ? params.TraceSquash : null;
|
|
1747
|
+
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* Dimension (tag) object.
|
|
1753
|
+
* @class
|
|
1754
|
+
*/
|
|
1755
|
+
class ApmTag extends AbstractModel {
|
|
1756
|
+
constructor(){
|
|
1757
|
+
super();
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* Dimension key (column name, Tag key).
|
|
1761
|
+
* @type {string || null}
|
|
1762
|
+
*/
|
|
1763
|
+
this.Key = null;
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* Dimension value (tag value).
|
|
1767
|
+
* @type {string || null}
|
|
1768
|
+
*/
|
|
1769
|
+
this.Value = null;
|
|
1770
|
+
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* @private
|
|
1775
|
+
*/
|
|
1776
|
+
deserialize(params) {
|
|
1777
|
+
if (!params) {
|
|
1778
|
+
return;
|
|
1779
|
+
}
|
|
1780
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
1781
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
1782
|
+
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
* Common kv structure of apm.
|
|
1788
|
+
* @class
|
|
1789
|
+
*/
|
|
1790
|
+
class APMKVItem extends AbstractModel {
|
|
1791
|
+
constructor(){
|
|
1792
|
+
super();
|
|
1793
|
+
|
|
1794
|
+
/**
|
|
1795
|
+
* Key value definition.
|
|
1796
|
+
* @type {string || null}
|
|
1797
|
+
*/
|
|
1798
|
+
this.Key = null;
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* Value definition.
|
|
1802
|
+
* @type {string || null}
|
|
1803
|
+
*/
|
|
1804
|
+
this.Value = null;
|
|
1805
|
+
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
/**
|
|
1809
|
+
* @private
|
|
1810
|
+
*/
|
|
1811
|
+
deserialize(params) {
|
|
1812
|
+
if (!params) {
|
|
1813
|
+
return;
|
|
1814
|
+
}
|
|
1815
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
1816
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
1817
|
+
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* Sorting fields.
|
|
1823
|
+
* @class
|
|
1824
|
+
*/
|
|
1825
|
+
class OrderBy extends AbstractModel {
|
|
1826
|
+
constructor(){
|
|
1827
|
+
super();
|
|
1828
|
+
|
|
1829
|
+
/**
|
|
1830
|
+
* Sort field (starttime, endtime, duration are supported).
|
|
1831
|
+
* @type {string || null}
|
|
1832
|
+
*/
|
|
1833
|
+
this.Key = null;
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
* ASC: sequential sorting / desc: reverse sorting.
|
|
1837
|
+
* @type {string || null}
|
|
1838
|
+
*/
|
|
1839
|
+
this.Value = null;
|
|
1840
|
+
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* @private
|
|
1845
|
+
*/
|
|
1846
|
+
deserialize(params) {
|
|
1847
|
+
if (!params) {
|
|
1848
|
+
return;
|
|
1849
|
+
}
|
|
1850
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
1851
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
1852
|
+
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
/**
|
|
1857
|
+
* DescribeMetricRecords response structure.
|
|
1858
|
+
* @class
|
|
1859
|
+
*/
|
|
1860
|
+
class DescribeMetricRecordsResponse extends AbstractModel {
|
|
1861
|
+
constructor(){
|
|
1862
|
+
super();
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* Indicator result set.
|
|
1866
|
+
* @type {Array.<ApmMetricRecord> || null}
|
|
1867
|
+
*/
|
|
1868
|
+
this.Records = null;
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* Number of metric query result sets.
|
|
1872
|
+
* @type {number || null}
|
|
1873
|
+
*/
|
|
1874
|
+
this.TotalCount = null;
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1878
|
+
* @type {string || null}
|
|
1879
|
+
*/
|
|
1880
|
+
this.RequestId = null;
|
|
1881
|
+
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* @private
|
|
1886
|
+
*/
|
|
1887
|
+
deserialize(params) {
|
|
1888
|
+
if (!params) {
|
|
1889
|
+
return;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
if (params.Records) {
|
|
1893
|
+
this.Records = new Array();
|
|
1894
|
+
for (let z in params.Records) {
|
|
1895
|
+
let obj = new ApmMetricRecord();
|
|
1896
|
+
obj.deserialize(params.Records[z]);
|
|
1897
|
+
this.Records.push(obj);
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1901
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1902
|
+
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* DescribeGeneralOTSpanList response structure.
|
|
1908
|
+
* @class
|
|
1909
|
+
*/
|
|
1910
|
+
class DescribeGeneralOTSpanListResponse extends AbstractModel {
|
|
1911
|
+
constructor(){
|
|
1912
|
+
super();
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* Total number.
|
|
1916
|
+
* @type {number || null}
|
|
1917
|
+
*/
|
|
1918
|
+
this.TotalCount = null;
|
|
1919
|
+
|
|
1920
|
+
/**
|
|
1921
|
+
* The trace structure containing the query results spans. the string after the opentelemetry standard trace structure is hashed. first, the trace is converted into a json string using ptrace.jsonmarshaler, then compressed with gzip, and finally converted into a base64 standard string.
|
|
1922
|
+
* @type {string || null}
|
|
1923
|
+
*/
|
|
1924
|
+
this.Spans = null;
|
|
1925
|
+
|
|
1926
|
+
/**
|
|
1927
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1928
|
+
* @type {string || null}
|
|
1929
|
+
*/
|
|
1930
|
+
this.RequestId = null;
|
|
1931
|
+
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* @private
|
|
1936
|
+
*/
|
|
1937
|
+
deserialize(params) {
|
|
1938
|
+
if (!params) {
|
|
1939
|
+
return;
|
|
1940
|
+
}
|
|
1941
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1942
|
+
this.Spans = 'Spans' in params ? params.Spans : null;
|
|
1943
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1944
|
+
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* DescribeGeneralSpanList request structure.
|
|
1950
|
+
* @class
|
|
1951
|
+
*/
|
|
1952
|
+
class DescribeGeneralSpanListRequest extends AbstractModel {
|
|
1953
|
+
constructor(){
|
|
1954
|
+
super();
|
|
1955
|
+
|
|
1956
|
+
/**
|
|
1957
|
+
* Business system id.
|
|
1958
|
+
* @type {string || null}
|
|
1959
|
+
*/
|
|
1960
|
+
this.InstanceId = null;
|
|
1961
|
+
|
|
1962
|
+
/**
|
|
1963
|
+
* Span query start timestamp (unit: seconds).
|
|
1964
|
+
* @type {number || null}
|
|
1965
|
+
*/
|
|
1966
|
+
this.StartTime = null;
|
|
1967
|
+
|
|
1968
|
+
/**
|
|
1969
|
+
* Span query end timestamp (unit: seconds).
|
|
1970
|
+
* @type {number || null}
|
|
1971
|
+
*/
|
|
1972
|
+
this.EndTime = null;
|
|
1973
|
+
|
|
1974
|
+
/**
|
|
1975
|
+
* Universal filter parameters.
|
|
1976
|
+
* @type {Array.<Filter> || null}
|
|
1977
|
+
*/
|
|
1978
|
+
this.Filters = null;
|
|
1979
|
+
|
|
1980
|
+
/**
|
|
1981
|
+
* Sort
|
|
1982
|
+
.
|
|
1983
|
+
The currently supported keys are:.
|
|
1984
|
+
|
|
1985
|
+
-StartTime (start time).
|
|
1986
|
+
-EndTime (end time).
|
|
1987
|
+
-Duration (response time).
|
|
1988
|
+
|
|
1989
|
+
The currently supported values are:.
|
|
1990
|
+
|
|
1991
|
+
- desc: sort in descending order.
|
|
1992
|
+
-Asc - ascending order.
|
|
1993
|
+
* @type {OrderBy || null}
|
|
1994
|
+
*/
|
|
1995
|
+
this.OrderBy = null;
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* The service name of the business itself. console users should fill in taw.
|
|
1999
|
+
* @type {string || null}
|
|
2000
|
+
*/
|
|
2001
|
+
this.BusinessName = null;
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* Number of items per page, defaults to 10,000, valid values are 0 to 10,000.
|
|
2005
|
+
* @type {number || null}
|
|
2006
|
+
*/
|
|
2007
|
+
this.Limit = null;
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* Pagination.
|
|
2011
|
+
* @type {number || null}
|
|
2012
|
+
*/
|
|
2013
|
+
this.Offset = null;
|
|
2014
|
+
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
/**
|
|
2018
|
+
* @private
|
|
2019
|
+
*/
|
|
2020
|
+
deserialize(params) {
|
|
2021
|
+
if (!params) {
|
|
2022
|
+
return;
|
|
2023
|
+
}
|
|
2024
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2025
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
2026
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
2027
|
+
|
|
2028
|
+
if (params.Filters) {
|
|
2029
|
+
this.Filters = new Array();
|
|
2030
|
+
for (let z in params.Filters) {
|
|
2031
|
+
let obj = new Filter();
|
|
2032
|
+
obj.deserialize(params.Filters[z]);
|
|
2033
|
+
this.Filters.push(obj);
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
if (params.OrderBy) {
|
|
2038
|
+
let obj = new OrderBy();
|
|
2039
|
+
obj.deserialize(params.OrderBy)
|
|
2040
|
+
this.OrderBy = obj;
|
|
2041
|
+
}
|
|
2042
|
+
this.BusinessName = 'BusinessName' in params ? params.BusinessName : null;
|
|
2043
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2044
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2045
|
+
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* Queries filter parameters.
|
|
2051
|
+
* @class
|
|
2052
|
+
*/
|
|
2053
|
+
class Filter extends AbstractModel {
|
|
2054
|
+
constructor(){
|
|
2055
|
+
super();
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
* Filtering method (=, !=, in).
|
|
2059
|
+
* @type {string || null}
|
|
2060
|
+
*/
|
|
2061
|
+
this.Type = null;
|
|
2062
|
+
|
|
2063
|
+
/**
|
|
2064
|
+
* Filter dimension name.
|
|
2065
|
+
* @type {string || null}
|
|
2066
|
+
*/
|
|
2067
|
+
this.Key = null;
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* Filter value. uses commas to separate multiple values in in filtering method.
|
|
2071
|
+
* @type {string || null}
|
|
2072
|
+
*/
|
|
2073
|
+
this.Value = null;
|
|
2074
|
+
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* @private
|
|
2079
|
+
*/
|
|
2080
|
+
deserialize(params) {
|
|
2081
|
+
if (!params) {
|
|
2082
|
+
return;
|
|
2083
|
+
}
|
|
2084
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
2085
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
2086
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
2087
|
+
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
* APM floating-point number type key-value pair.
|
|
2093
|
+
* @class
|
|
2094
|
+
*/
|
|
2095
|
+
class APMKV extends AbstractModel {
|
|
2096
|
+
constructor(){
|
|
2097
|
+
super();
|
|
2098
|
+
|
|
2099
|
+
/**
|
|
2100
|
+
* Key value definition.
|
|
2101
|
+
* @type {string || null}
|
|
2102
|
+
*/
|
|
2103
|
+
this.Key = null;
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* Value definition.
|
|
2107
|
+
* @type {number || null}
|
|
2108
|
+
*/
|
|
2109
|
+
this.Value = null;
|
|
2110
|
+
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
/**
|
|
2114
|
+
* @private
|
|
2115
|
+
*/
|
|
2116
|
+
deserialize(params) {
|
|
2117
|
+
if (!params) {
|
|
2118
|
+
return;
|
|
2119
|
+
}
|
|
2120
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
2121
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
2122
|
+
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
/**
|
|
2127
|
+
* DescribeGeneralOTSpanList request structure.
|
|
2128
|
+
* @class
|
|
2129
|
+
*/
|
|
2130
|
+
class DescribeGeneralOTSpanListRequest extends AbstractModel {
|
|
2131
|
+
constructor(){
|
|
2132
|
+
super();
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* Business system id.
|
|
2136
|
+
* @type {string || null}
|
|
2137
|
+
*/
|
|
2138
|
+
this.InstanceId = null;
|
|
2139
|
+
|
|
2140
|
+
/**
|
|
2141
|
+
* Span query start timestamp (unit: seconds).
|
|
2142
|
+
* @type {number || null}
|
|
2143
|
+
*/
|
|
2144
|
+
this.StartTime = null;
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* Span query end timestamp (unit: seconds).
|
|
2148
|
+
* @type {number || null}
|
|
2149
|
+
*/
|
|
2150
|
+
this.EndTime = null;
|
|
2151
|
+
|
|
2152
|
+
/**
|
|
2153
|
+
* Universal filter parameters.
|
|
2154
|
+
* @type {Array.<Filter> || null}
|
|
2155
|
+
*/
|
|
2156
|
+
this.Filters = null;
|
|
2157
|
+
|
|
2158
|
+
/**
|
|
2159
|
+
* Sort
|
|
2160
|
+
.
|
|
2161
|
+
The currently supported keys are:.
|
|
2162
|
+
|
|
2163
|
+
-StartTime (start time).
|
|
2164
|
+
-EndTime (end time).
|
|
2165
|
+
-Duration (response time).
|
|
2166
|
+
|
|
2167
|
+
The currently supported values are:.
|
|
2168
|
+
|
|
2169
|
+
- desc: sort in descending order.
|
|
2170
|
+
-Asc - ascending order.
|
|
2171
|
+
* @type {OrderBy || null}
|
|
2172
|
+
*/
|
|
2173
|
+
this.OrderBy = null;
|
|
2174
|
+
|
|
2175
|
+
/**
|
|
2176
|
+
* The service name of the business itself. console users should fill in taw.
|
|
2177
|
+
* @type {string || null}
|
|
2178
|
+
*/
|
|
2179
|
+
this.BusinessName = null;
|
|
2180
|
+
|
|
2181
|
+
/**
|
|
2182
|
+
* Number of items per page, defaults to 10,000, valid value range is 0 – 10,000.
|
|
2183
|
+
* @type {number || null}
|
|
2184
|
+
*/
|
|
2185
|
+
this.Limit = null;
|
|
2186
|
+
|
|
2187
|
+
/**
|
|
2188
|
+
* Pagination.
|
|
2189
|
+
* @type {number || null}
|
|
2190
|
+
*/
|
|
2191
|
+
this.Offset = null;
|
|
2192
|
+
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
/**
|
|
2196
|
+
* @private
|
|
2197
|
+
*/
|
|
2198
|
+
deserialize(params) {
|
|
2199
|
+
if (!params) {
|
|
2200
|
+
return;
|
|
2201
|
+
}
|
|
2202
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2203
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
2204
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
2205
|
+
|
|
2206
|
+
if (params.Filters) {
|
|
2207
|
+
this.Filters = new Array();
|
|
2208
|
+
for (let z in params.Filters) {
|
|
2209
|
+
let obj = new Filter();
|
|
2210
|
+
obj.deserialize(params.Filters[z]);
|
|
2211
|
+
this.Filters.push(obj);
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
if (params.OrderBy) {
|
|
2216
|
+
let obj = new OrderBy();
|
|
2217
|
+
obj.deserialize(params.OrderBy)
|
|
2218
|
+
this.OrderBy = obj;
|
|
2219
|
+
}
|
|
2220
|
+
this.BusinessName = 'BusinessName' in params ? params.BusinessName : null;
|
|
2221
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2222
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2223
|
+
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
/**
|
|
2228
|
+
* DescribeApmAgent request structure.
|
|
2229
|
+
* @class
|
|
2230
|
+
*/
|
|
2231
|
+
class DescribeApmAgentRequest extends AbstractModel {
|
|
2232
|
+
constructor(){
|
|
2233
|
+
super();
|
|
2234
|
+
|
|
2235
|
+
/**
|
|
2236
|
+
* Business system id.
|
|
2237
|
+
* @type {string || null}
|
|
2238
|
+
*/
|
|
2239
|
+
this.InstanceId = null;
|
|
2240
|
+
|
|
2241
|
+
/**
|
|
2242
|
+
* Access method: currently supports access and reporting via skywalking, ot, and ebpf methods. if not specified, ot is used by default.
|
|
2243
|
+
* @type {string || null}
|
|
2244
|
+
*/
|
|
2245
|
+
this.AgentType = null;
|
|
2246
|
+
|
|
2247
|
+
/**
|
|
2248
|
+
* Reporting environment: currently supports pl (private network reporting), public (public network), and inner (self-developed vpc) environment reporting. if not specified, the default is public.
|
|
2249
|
+
* @type {string || null}
|
|
2250
|
+
*/
|
|
2251
|
+
this.NetworkMode = null;
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* Language reporting is now supported for java, golang, php, python, dotnet, nodejs. if not specified, golang is used by default.
|
|
2255
|
+
* @type {string || null}
|
|
2256
|
+
*/
|
|
2257
|
+
this.LanguageEnvironment = null;
|
|
2258
|
+
|
|
2259
|
+
/**
|
|
2260
|
+
* Reporting method, deprecated.
|
|
2261
|
+
* @type {string || null}
|
|
2262
|
+
*/
|
|
2263
|
+
this.ReportMethod = null;
|
|
2264
|
+
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
/**
|
|
2268
|
+
* @private
|
|
2269
|
+
*/
|
|
2270
|
+
deserialize(params) {
|
|
2271
|
+
if (!params) {
|
|
2272
|
+
return;
|
|
2273
|
+
}
|
|
2274
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2275
|
+
this.AgentType = 'AgentType' in params ? params.AgentType : null;
|
|
2276
|
+
this.NetworkMode = 'NetworkMode' in params ? params.NetworkMode : null;
|
|
2277
|
+
this.LanguageEnvironment = 'LanguageEnvironment' in params ? params.LanguageEnvironment : null;
|
|
2278
|
+
this.ReportMethod = 'ReportMethod' in params ? params.ReportMethod : null;
|
|
2279
|
+
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
|
|
2283
|
+
/**
|
|
2284
|
+
* DescribeMetricRecords request structure.
|
|
2285
|
+
* @class
|
|
2286
|
+
*/
|
|
2287
|
+
class DescribeMetricRecordsRequest extends AbstractModel {
|
|
2288
|
+
constructor(){
|
|
2289
|
+
super();
|
|
2290
|
+
|
|
2291
|
+
/**
|
|
2292
|
+
* Metric list.
|
|
2293
|
+
* @type {Array.<QueryMetricItem> || null}
|
|
2294
|
+
*/
|
|
2295
|
+
this.Metrics = null;
|
|
2296
|
+
|
|
2297
|
+
/**
|
|
2298
|
+
* Business system id.
|
|
2299
|
+
* @type {string || null}
|
|
2300
|
+
*/
|
|
2301
|
+
this.InstanceId = null;
|
|
2302
|
+
|
|
2303
|
+
/**
|
|
2304
|
+
* Start time (unit: sec).
|
|
2305
|
+
* @type {number || null}
|
|
2306
|
+
*/
|
|
2307
|
+
this.StartTime = null;
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* End time (unit: seconds).
|
|
2311
|
+
* @type {number || null}
|
|
2312
|
+
*/
|
|
2313
|
+
this.EndTime = null;
|
|
2314
|
+
|
|
2315
|
+
/**
|
|
2316
|
+
* Filter criteria.
|
|
2317
|
+
* @type {Array.<Filter> || null}
|
|
2318
|
+
*/
|
|
2319
|
+
this.Filters = null;
|
|
2320
|
+
|
|
2321
|
+
/**
|
|
2322
|
+
* Or filter criteria.
|
|
2323
|
+
* @type {Array.<Filter> || null}
|
|
2324
|
+
*/
|
|
2325
|
+
this.OrFilters = null;
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* Aggregation dimension.
|
|
2329
|
+
* @type {Array.<string> || null}
|
|
2330
|
+
*/
|
|
2331
|
+
this.GroupBy = null;
|
|
2332
|
+
|
|
2333
|
+
/**
|
|
2334
|
+
* Sort
|
|
2335
|
+
.
|
|
2336
|
+
The currently supported keys are:.
|
|
2337
|
+
|
|
2338
|
+
-StartTime (start time).
|
|
2339
|
+
-EndTime (end time).
|
|
2340
|
+
-Duration (response time).
|
|
2341
|
+
|
|
2342
|
+
The currently supported values are:.
|
|
2343
|
+
|
|
2344
|
+
- desc: sort in descending order.
|
|
2345
|
+
-Asc - ascending order.
|
|
2346
|
+
* @type {OrderBy || null}
|
|
2347
|
+
*/
|
|
2348
|
+
this.OrderBy = null;
|
|
2349
|
+
|
|
2350
|
+
/**
|
|
2351
|
+
* The service name of the business itself. console users should fill in taw.
|
|
2352
|
+
* @type {string || null}
|
|
2353
|
+
*/
|
|
2354
|
+
this.BusinessName = null;
|
|
2355
|
+
|
|
2356
|
+
/**
|
|
2357
|
+
* Special handling of query results.
|
|
2358
|
+
* @type {string || null}
|
|
2359
|
+
*/
|
|
2360
|
+
this.Type = null;
|
|
2361
|
+
|
|
2362
|
+
/**
|
|
2363
|
+
* Size per page, defaults to 1,000, valid value range is 0 – 1,000.
|
|
2364
|
+
* @type {number || null}
|
|
2365
|
+
*/
|
|
2366
|
+
this.Limit = null;
|
|
2367
|
+
|
|
2368
|
+
/**
|
|
2369
|
+
* Paging starting point.
|
|
2370
|
+
* @type {number || null}
|
|
2371
|
+
*/
|
|
2372
|
+
this.Offset = null;
|
|
2373
|
+
|
|
2374
|
+
/**
|
|
2375
|
+
* Page number.
|
|
2376
|
+
* @type {number || null}
|
|
2377
|
+
*/
|
|
2378
|
+
this.PageIndex = null;
|
|
2379
|
+
|
|
2380
|
+
/**
|
|
2381
|
+
* Page length.
|
|
2382
|
+
* @type {number || null}
|
|
2383
|
+
*/
|
|
2384
|
+
this.PageSize = null;
|
|
2385
|
+
|
|
2386
|
+
}
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* @private
|
|
2390
|
+
*/
|
|
2391
|
+
deserialize(params) {
|
|
2392
|
+
if (!params) {
|
|
2393
|
+
return;
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
if (params.Metrics) {
|
|
2397
|
+
this.Metrics = new Array();
|
|
2398
|
+
for (let z in params.Metrics) {
|
|
2399
|
+
let obj = new QueryMetricItem();
|
|
2400
|
+
obj.deserialize(params.Metrics[z]);
|
|
2401
|
+
this.Metrics.push(obj);
|
|
2402
|
+
}
|
|
2403
|
+
}
|
|
2404
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2405
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
2406
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
2407
|
+
|
|
2408
|
+
if (params.Filters) {
|
|
2409
|
+
this.Filters = new Array();
|
|
2410
|
+
for (let z in params.Filters) {
|
|
2411
|
+
let obj = new Filter();
|
|
2412
|
+
obj.deserialize(params.Filters[z]);
|
|
2413
|
+
this.Filters.push(obj);
|
|
2414
|
+
}
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
if (params.OrFilters) {
|
|
2418
|
+
this.OrFilters = new Array();
|
|
2419
|
+
for (let z in params.OrFilters) {
|
|
2420
|
+
let obj = new Filter();
|
|
2421
|
+
obj.deserialize(params.OrFilters[z]);
|
|
2422
|
+
this.OrFilters.push(obj);
|
|
2423
|
+
}
|
|
2424
|
+
}
|
|
2425
|
+
this.GroupBy = 'GroupBy' in params ? params.GroupBy : null;
|
|
2426
|
+
|
|
2427
|
+
if (params.OrderBy) {
|
|
2428
|
+
let obj = new OrderBy();
|
|
2429
|
+
obj.deserialize(params.OrderBy)
|
|
2430
|
+
this.OrderBy = obj;
|
|
2431
|
+
}
|
|
2432
|
+
this.BusinessName = 'BusinessName' in params ? params.BusinessName : null;
|
|
2433
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
2434
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2435
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2436
|
+
this.PageIndex = 'PageIndex' in params ? params.PageIndex : null;
|
|
2437
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
2438
|
+
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
/**
|
|
2443
|
+
* DescribeGeneralApmApplicationConfig response structure.
|
|
2444
|
+
* @class
|
|
2445
|
+
*/
|
|
2446
|
+
class DescribeGeneralApmApplicationConfigResponse extends AbstractModel {
|
|
2447
|
+
constructor(){
|
|
2448
|
+
super();
|
|
2449
|
+
|
|
2450
|
+
/**
|
|
2451
|
+
* Application configuration item.
|
|
2452
|
+
* @type {ApmApplicationConfigView || null}
|
|
2453
|
+
*/
|
|
2454
|
+
this.ApmApplicationConfigView = null;
|
|
2455
|
+
|
|
2456
|
+
/**
|
|
2457
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2458
|
+
* @type {string || null}
|
|
2459
|
+
*/
|
|
2460
|
+
this.RequestId = null;
|
|
2461
|
+
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* @private
|
|
2466
|
+
*/
|
|
2467
|
+
deserialize(params) {
|
|
2468
|
+
if (!params) {
|
|
2469
|
+
return;
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2472
|
+
if (params.ApmApplicationConfigView) {
|
|
2473
|
+
let obj = new ApmApplicationConfigView();
|
|
2474
|
+
obj.deserialize(params.ApmApplicationConfigView)
|
|
2475
|
+
this.ApmApplicationConfigView = obj;
|
|
2476
|
+
}
|
|
2477
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2478
|
+
|
|
2479
|
+
}
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2482
|
+
/**
|
|
2483
|
+
* DescribeGeneralMetricData request structure.
|
|
2484
|
+
* @class
|
|
2485
|
+
*/
|
|
2486
|
+
class DescribeGeneralMetricDataRequest extends AbstractModel {
|
|
2487
|
+
constructor(){
|
|
2488
|
+
super();
|
|
2489
|
+
|
|
2490
|
+
/**
|
|
2491
|
+
* Metric name to be queried, which cannot be customized. (for details, see <https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1>.).
|
|
2492
|
+
* @type {Array.<string> || null}
|
|
2493
|
+
*/
|
|
2494
|
+
this.Metrics = null;
|
|
2495
|
+
|
|
2496
|
+
/**
|
|
2497
|
+
* Business system id.
|
|
2498
|
+
* @type {string || null}
|
|
2499
|
+
*/
|
|
2500
|
+
this.InstanceId = null;
|
|
2501
|
+
|
|
2502
|
+
/**
|
|
2503
|
+
* View name. the input cannot be customized. [for details, see.](https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1).
|
|
2504
|
+
* @type {string || null}
|
|
2505
|
+
*/
|
|
2506
|
+
this.ViewName = null;
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
* The dimension information to be filtered; different views have corresponding metric dimensions. (for details, see <https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1>.).
|
|
2510
|
+
* @type {Array.<GeneralFilter> || null}
|
|
2511
|
+
*/
|
|
2512
|
+
this.Filters = null;
|
|
2513
|
+
|
|
2514
|
+
/**
|
|
2515
|
+
* Aggregated dimension; different views have corresponding metric dimensions. (for details, see <https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1>.).
|
|
2516
|
+
* @type {Array.<string> || null}
|
|
2517
|
+
*/
|
|
2518
|
+
this.GroupBy = null;
|
|
2519
|
+
|
|
2520
|
+
/**
|
|
2521
|
+
* The timestamp of the start time, supporting the query of metric data within 30 days. (unit: seconds).
|
|
2522
|
+
* @type {number || null}
|
|
2523
|
+
*/
|
|
2524
|
+
this.StartTime = null;
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* The timestamp of the end time, supporting the query of metric data within 30 days. (unit: seconds).
|
|
2528
|
+
* @type {number || null}
|
|
2529
|
+
*/
|
|
2530
|
+
this.EndTime = null;
|
|
2531
|
+
|
|
2532
|
+
/**
|
|
2533
|
+
* Whether to aggregate by a fixed time span: enter 1 for values of 1 and greater, and 0 if not filled in.
|
|
2534
|
+
-If 0 is filled in, it calculates the metric data from the start time to the cutoff time.
|
|
2535
|
+
- if 1 is filled in, the aggregation granularity will be selected according to the time span from the start time to the deadline:.
|
|
2536
|
+
-If the time span is (0,12) hours, it is aggregated by one-minute granularity.
|
|
2537
|
+
-If the time span is [12,48] hours, it is aggregated at a five-minute granularity.
|
|
2538
|
+
-If the time span is (48, +∞) hours, it is aggregated at an hourly granularity.
|
|
2539
|
+
* @type {number || null}
|
|
2540
|
+
*/
|
|
2541
|
+
this.Period = null;
|
|
2542
|
+
|
|
2543
|
+
/**
|
|
2544
|
+
* Sort query metrics.
|
|
2545
|
+
Key: enter the tencentcloud api metric name. [for details, see](https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1) .
|
|
2546
|
+
Value: specify the sorting method:.
|
|
2547
|
+
-Asc: sorts query metrics in ascending order.
|
|
2548
|
+
- desc: sort query metrics in descending order.
|
|
2549
|
+
* @type {OrderBy || null}
|
|
2550
|
+
*/
|
|
2551
|
+
this.OrderBy = null;
|
|
2552
|
+
|
|
2553
|
+
/**
|
|
2554
|
+
* Maximum number of queried metrics. currently, up to 50 data entries can be displayed. the value range for pagesize is 1-50. submit pagesize to show the limited number based on the value of pagesize.
|
|
2555
|
+
* @type {number || null}
|
|
2556
|
+
*/
|
|
2557
|
+
this.PageSize = null;
|
|
2558
|
+
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
/**
|
|
2562
|
+
* @private
|
|
2563
|
+
*/
|
|
2564
|
+
deserialize(params) {
|
|
2565
|
+
if (!params) {
|
|
2566
|
+
return;
|
|
2567
|
+
}
|
|
2568
|
+
this.Metrics = 'Metrics' in params ? params.Metrics : null;
|
|
2569
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2570
|
+
this.ViewName = 'ViewName' in params ? params.ViewName : null;
|
|
2571
|
+
|
|
2572
|
+
if (params.Filters) {
|
|
2573
|
+
this.Filters = new Array();
|
|
2574
|
+
for (let z in params.Filters) {
|
|
2575
|
+
let obj = new GeneralFilter();
|
|
2576
|
+
obj.deserialize(params.Filters[z]);
|
|
2577
|
+
this.Filters.push(obj);
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
this.GroupBy = 'GroupBy' in params ? params.GroupBy : null;
|
|
2581
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
2582
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
2583
|
+
this.Period = 'Period' in params ? params.Period : null;
|
|
2584
|
+
|
|
2585
|
+
if (params.OrderBy) {
|
|
2586
|
+
let obj = new OrderBy();
|
|
2587
|
+
obj.deserialize(params.OrderBy)
|
|
2588
|
+
this.OrderBy = obj;
|
|
2589
|
+
}
|
|
2590
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
2591
|
+
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
/**
|
|
2596
|
+
* CreateApmInstance response structure.
|
|
2597
|
+
* @class
|
|
2598
|
+
*/
|
|
2599
|
+
class CreateApmInstanceResponse extends AbstractModel {
|
|
2600
|
+
constructor(){
|
|
2601
|
+
super();
|
|
2602
|
+
|
|
2603
|
+
/**
|
|
2604
|
+
* Business system id.
|
|
2605
|
+
* @type {string || null}
|
|
2606
|
+
*/
|
|
2607
|
+
this.InstanceId = null;
|
|
2608
|
+
|
|
2609
|
+
/**
|
|
2610
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2611
|
+
* @type {string || null}
|
|
2612
|
+
*/
|
|
2613
|
+
this.RequestId = null;
|
|
2614
|
+
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
/**
|
|
2618
|
+
* @private
|
|
2619
|
+
*/
|
|
2620
|
+
deserialize(params) {
|
|
2621
|
+
if (!params) {
|
|
2622
|
+
return;
|
|
2623
|
+
}
|
|
2624
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2625
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2626
|
+
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* Upstream and downstream relationships of span.
|
|
2632
|
+
* @class
|
|
2633
|
+
*/
|
|
2634
|
+
class SpanReference extends AbstractModel {
|
|
2635
|
+
constructor(){
|
|
2636
|
+
super();
|
|
2637
|
+
|
|
2638
|
+
/**
|
|
2639
|
+
* Type of association relationship.
|
|
2640
|
+
* @type {string || null}
|
|
2641
|
+
*/
|
|
2642
|
+
this.RefType = null;
|
|
2643
|
+
|
|
2644
|
+
/**
|
|
2645
|
+
* Span ID
|
|
2646
|
+
* @type {string || null}
|
|
2647
|
+
*/
|
|
2648
|
+
this.SpanID = null;
|
|
2649
|
+
|
|
2650
|
+
/**
|
|
2651
|
+
* Trace ID
|
|
2652
|
+
* @type {string || null}
|
|
2653
|
+
*/
|
|
2654
|
+
this.TraceID = null;
|
|
2655
|
+
|
|
2656
|
+
}
|
|
2657
|
+
|
|
2658
|
+
/**
|
|
2659
|
+
* @private
|
|
2660
|
+
*/
|
|
2661
|
+
deserialize(params) {
|
|
2662
|
+
if (!params) {
|
|
2663
|
+
return;
|
|
2664
|
+
}
|
|
2665
|
+
this.RefType = 'RefType' in params ? params.RefType : null;
|
|
2666
|
+
this.SpanID = 'SpanID' in params ? params.SpanID : null;
|
|
2667
|
+
this.TraceID = 'TraceID' in params ? params.TraceID : null;
|
|
2668
|
+
|
|
2669
|
+
}
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
/**
|
|
2673
|
+
* Service information.
|
|
2674
|
+
* @class
|
|
2675
|
+
*/
|
|
2676
|
+
class SpanProcess extends AbstractModel {
|
|
2677
|
+
constructor(){
|
|
2678
|
+
super();
|
|
2679
|
+
|
|
2680
|
+
/**
|
|
2681
|
+
* Application service name.
|
|
2682
|
+
* @type {string || null}
|
|
2683
|
+
*/
|
|
2684
|
+
this.ServiceName = null;
|
|
2685
|
+
|
|
2686
|
+
/**
|
|
2687
|
+
* Tags Tag array.
|
|
2688
|
+
* @type {Array.<SpanTag> || null}
|
|
2689
|
+
*/
|
|
2690
|
+
this.Tags = null;
|
|
2691
|
+
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2694
|
+
/**
|
|
2695
|
+
* @private
|
|
2696
|
+
*/
|
|
2697
|
+
deserialize(params) {
|
|
2698
|
+
if (!params) {
|
|
2699
|
+
return;
|
|
2700
|
+
}
|
|
2701
|
+
this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
|
|
2702
|
+
|
|
2703
|
+
if (params.Tags) {
|
|
2704
|
+
this.Tags = new Array();
|
|
2705
|
+
for (let z in params.Tags) {
|
|
2706
|
+
let obj = new SpanTag();
|
|
2707
|
+
obj.deserialize(params.Tags[z]);
|
|
2708
|
+
this.Tags.push(obj);
|
|
2709
|
+
}
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
* DescribeGeneralApmApplicationConfig request structure.
|
|
2717
|
+
* @class
|
|
2718
|
+
*/
|
|
2719
|
+
class DescribeGeneralApmApplicationConfigRequest extends AbstractModel {
|
|
2720
|
+
constructor(){
|
|
2721
|
+
super();
|
|
2722
|
+
|
|
2723
|
+
/**
|
|
2724
|
+
* Application name.
|
|
2725
|
+
* @type {string || null}
|
|
2726
|
+
*/
|
|
2727
|
+
this.ServiceName = null;
|
|
2728
|
+
|
|
2729
|
+
/**
|
|
2730
|
+
* Business system id.
|
|
2731
|
+
* @type {string || null}
|
|
2732
|
+
*/
|
|
2733
|
+
this.InstanceId = null;
|
|
2734
|
+
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
/**
|
|
2738
|
+
* @private
|
|
2739
|
+
*/
|
|
2740
|
+
deserialize(params) {
|
|
2741
|
+
if (!params) {
|
|
2742
|
+
return;
|
|
2743
|
+
}
|
|
2744
|
+
this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
|
|
2745
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2746
|
+
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
/**
|
|
2751
|
+
* ModifyApmInstance response structure.
|
|
2752
|
+
* @class
|
|
2753
|
+
*/
|
|
2754
|
+
class ModifyApmInstanceResponse extends AbstractModel {
|
|
2755
|
+
constructor(){
|
|
2756
|
+
super();
|
|
2757
|
+
|
|
2758
|
+
/**
|
|
2759
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2760
|
+
* @type {string || null}
|
|
2761
|
+
*/
|
|
2762
|
+
this.RequestId = null;
|
|
2763
|
+
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
/**
|
|
2767
|
+
* @private
|
|
2768
|
+
*/
|
|
2769
|
+
deserialize(params) {
|
|
2770
|
+
if (!params) {
|
|
2771
|
+
return;
|
|
2772
|
+
}
|
|
2773
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2774
|
+
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
/**
|
|
2779
|
+
* Queries filter parameters.
|
|
2780
|
+
* @class
|
|
2781
|
+
*/
|
|
2782
|
+
class GeneralFilter extends AbstractModel {
|
|
2783
|
+
constructor(){
|
|
2784
|
+
super();
|
|
2785
|
+
|
|
2786
|
+
/**
|
|
2787
|
+
* Filter dimension name.
|
|
2788
|
+
* @type {string || null}
|
|
2789
|
+
*/
|
|
2790
|
+
this.Key = null;
|
|
2791
|
+
|
|
2792
|
+
/**
|
|
2793
|
+
* Values after filtering.
|
|
2794
|
+
* @type {string || null}
|
|
2795
|
+
*/
|
|
2796
|
+
this.Value = null;
|
|
2797
|
+
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2800
|
+
/**
|
|
2801
|
+
* @private
|
|
2802
|
+
*/
|
|
2803
|
+
deserialize(params) {
|
|
2804
|
+
if (!params) {
|
|
2805
|
+
return;
|
|
2806
|
+
}
|
|
2807
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
2808
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
2809
|
+
|
|
2810
|
+
}
|
|
2811
|
+
}
|
|
2812
|
+
|
|
2813
|
+
/**
|
|
2814
|
+
* DescribeApmInstances request structure.
|
|
2815
|
+
* @class
|
|
2816
|
+
*/
|
|
2817
|
+
class DescribeApmInstancesRequest extends AbstractModel {
|
|
2818
|
+
constructor(){
|
|
2819
|
+
super();
|
|
2820
|
+
|
|
2821
|
+
/**
|
|
2822
|
+
* Tag list.
|
|
2823
|
+
* @type {Array.<ApmTag> || null}
|
|
2824
|
+
*/
|
|
2825
|
+
this.Tags = null;
|
|
2826
|
+
|
|
2827
|
+
/**
|
|
2828
|
+
* Filter by business system name.
|
|
2829
|
+
* @type {string || null}
|
|
2830
|
+
*/
|
|
2831
|
+
this.InstanceName = null;
|
|
2832
|
+
|
|
2833
|
+
/**
|
|
2834
|
+
* Filter by business system id.
|
|
2835
|
+
* @type {Array.<string> || null}
|
|
2836
|
+
*/
|
|
2837
|
+
this.InstanceIds = null;
|
|
2838
|
+
|
|
2839
|
+
/**
|
|
2840
|
+
* Whether to query the official demo business system (0 = non-demo business system, 1 = demo business system, default is 0).
|
|
2841
|
+
* @type {number || null}
|
|
2842
|
+
*/
|
|
2843
|
+
this.DemoInstanceFlag = null;
|
|
2844
|
+
|
|
2845
|
+
/**
|
|
2846
|
+
* Whether to query all regional business systems (0 = do not query all regions, 1 = query all regions, default is 0).
|
|
2847
|
+
* @type {number || null}
|
|
2848
|
+
*/
|
|
2849
|
+
this.AllRegionsFlag = null;
|
|
2850
|
+
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
/**
|
|
2854
|
+
* @private
|
|
2855
|
+
*/
|
|
2856
|
+
deserialize(params) {
|
|
2857
|
+
if (!params) {
|
|
2858
|
+
return;
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
if (params.Tags) {
|
|
2862
|
+
this.Tags = new Array();
|
|
2863
|
+
for (let z in params.Tags) {
|
|
2864
|
+
let obj = new ApmTag();
|
|
2865
|
+
obj.deserialize(params.Tags[z]);
|
|
2866
|
+
this.Tags.push(obj);
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
2870
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
2871
|
+
this.DemoInstanceFlag = 'DemoInstanceFlag' in params ? params.DemoInstanceFlag : null;
|
|
2872
|
+
this.AllRegionsFlag = 'AllRegionsFlag' in params ? params.AllRegionsFlag : null;
|
|
2873
|
+
|
|
2874
|
+
}
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
/**
|
|
2878
|
+
* Tag.
|
|
2879
|
+
* @class
|
|
2880
|
+
*/
|
|
2881
|
+
class SpanTag extends AbstractModel {
|
|
2882
|
+
constructor(){
|
|
2883
|
+
super();
|
|
2884
|
+
|
|
2885
|
+
/**
|
|
2886
|
+
* Tag type.
|
|
2887
|
+
* @type {string || null}
|
|
2888
|
+
*/
|
|
2889
|
+
this.Type = null;
|
|
2890
|
+
|
|
2891
|
+
/**
|
|
2892
|
+
* Tag key.
|
|
2893
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2894
|
+
* @type {string || null}
|
|
2895
|
+
*/
|
|
2896
|
+
this.Key = null;
|
|
2897
|
+
|
|
2898
|
+
/**
|
|
2899
|
+
* Tag value
|
|
2900
|
+
.
|
|
2901
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2902
|
+
* @type {string || null}
|
|
2903
|
+
*/
|
|
2904
|
+
this.Value = null;
|
|
2905
|
+
|
|
2906
|
+
}
|
|
2907
|
+
|
|
2908
|
+
/**
|
|
2909
|
+
* @private
|
|
2910
|
+
*/
|
|
2911
|
+
deserialize(params) {
|
|
2912
|
+
if (!params) {
|
|
2913
|
+
return;
|
|
2914
|
+
}
|
|
2915
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
2916
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
2917
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
2918
|
+
|
|
2919
|
+
}
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2922
|
+
/**
|
|
2923
|
+
* DescribeGeneralMetricData response structure.
|
|
2924
|
+
* @class
|
|
2925
|
+
*/
|
|
2926
|
+
class DescribeGeneralMetricDataResponse extends AbstractModel {
|
|
2927
|
+
constructor(){
|
|
2928
|
+
super();
|
|
2929
|
+
|
|
2930
|
+
/**
|
|
2931
|
+
* Indicator result set.
|
|
2932
|
+
* @type {Array.<Line> || null}
|
|
2933
|
+
*/
|
|
2934
|
+
this.Records = null;
|
|
2935
|
+
|
|
2936
|
+
/**
|
|
2937
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2938
|
+
* @type {string || null}
|
|
2939
|
+
*/
|
|
2940
|
+
this.RequestId = null;
|
|
2941
|
+
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2944
|
+
/**
|
|
2945
|
+
* @private
|
|
2946
|
+
*/
|
|
2947
|
+
deserialize(params) {
|
|
2948
|
+
if (!params) {
|
|
2949
|
+
return;
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
if (params.Records) {
|
|
2953
|
+
this.Records = new Array();
|
|
2954
|
+
for (let z in params.Records) {
|
|
2955
|
+
let obj = new Line();
|
|
2956
|
+
obj.deserialize(params.Records[z]);
|
|
2957
|
+
this.Records.push(obj);
|
|
2958
|
+
}
|
|
2959
|
+
}
|
|
2960
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2961
|
+
|
|
2962
|
+
}
|
|
2963
|
+
}
|
|
2964
|
+
|
|
2965
|
+
/**
|
|
2966
|
+
* ModifyGeneralApmApplicationConfig response structure.
|
|
2967
|
+
* @class
|
|
2968
|
+
*/
|
|
2969
|
+
class ModifyGeneralApmApplicationConfigResponse extends AbstractModel {
|
|
2970
|
+
constructor(){
|
|
2971
|
+
super();
|
|
2972
|
+
|
|
2973
|
+
/**
|
|
2974
|
+
* Description of the returned value.
|
|
2975
|
+
* @type {string || null}
|
|
2976
|
+
*/
|
|
2977
|
+
this.Message = null;
|
|
2978
|
+
|
|
2979
|
+
/**
|
|
2980
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2981
|
+
* @type {string || null}
|
|
2982
|
+
*/
|
|
2983
|
+
this.RequestId = null;
|
|
2984
|
+
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
/**
|
|
2988
|
+
* @private
|
|
2989
|
+
*/
|
|
2990
|
+
deserialize(params) {
|
|
2991
|
+
if (!params) {
|
|
2992
|
+
return;
|
|
2993
|
+
}
|
|
2994
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
2995
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2996
|
+
|
|
2997
|
+
}
|
|
2998
|
+
}
|
|
2999
|
+
|
|
3000
|
+
/**
|
|
3001
|
+
* TerminateApmInstance response structure.
|
|
3002
|
+
* @class
|
|
3003
|
+
*/
|
|
3004
|
+
class TerminateApmInstanceResponse extends AbstractModel {
|
|
3005
|
+
constructor(){
|
|
3006
|
+
super();
|
|
3007
|
+
|
|
3008
|
+
/**
|
|
3009
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3010
|
+
* @type {string || null}
|
|
3011
|
+
*/
|
|
3012
|
+
this.RequestId = null;
|
|
3013
|
+
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
/**
|
|
3017
|
+
* @private
|
|
3018
|
+
*/
|
|
3019
|
+
deserialize(params) {
|
|
3020
|
+
if (!params) {
|
|
3021
|
+
return;
|
|
3022
|
+
}
|
|
3023
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3024
|
+
|
|
3025
|
+
}
|
|
3026
|
+
}
|
|
3027
|
+
|
|
3028
|
+
module.exports = {
|
|
3029
|
+
SpanLog: SpanLog,
|
|
3030
|
+
ModifyApmInstanceRequest: ModifyApmInstanceRequest,
|
|
3031
|
+
ApmInstanceDetail: ApmInstanceDetail,
|
|
3032
|
+
CreateApmInstanceRequest: CreateApmInstanceRequest,
|
|
3033
|
+
ModifyGeneralApmApplicationConfigRequest: ModifyGeneralApmApplicationConfigRequest,
|
|
3034
|
+
DescribeServiceOverviewResponse: DescribeServiceOverviewResponse,
|
|
3035
|
+
QueryMetricItem: QueryMetricItem,
|
|
3036
|
+
TerminateApmInstanceRequest: TerminateApmInstanceRequest,
|
|
3037
|
+
DescribeApmInstancesResponse: DescribeApmInstancesResponse,
|
|
3038
|
+
Instrument: Instrument,
|
|
3039
|
+
DescribeTagValuesResponse: DescribeTagValuesResponse,
|
|
3040
|
+
Span: Span,
|
|
3041
|
+
ApmAgentInfo: ApmAgentInfo,
|
|
3042
|
+
DescribeGeneralSpanListResponse: DescribeGeneralSpanListResponse,
|
|
3043
|
+
ApmMetricRecord: ApmMetricRecord,
|
|
3044
|
+
DescribeServiceOverviewRequest: DescribeServiceOverviewRequest,
|
|
3045
|
+
DescribeApmAgentResponse: DescribeApmAgentResponse,
|
|
3046
|
+
DescribeTagValuesRequest: DescribeTagValuesRequest,
|
|
3047
|
+
ApmField: ApmField,
|
|
3048
|
+
Line: Line,
|
|
3049
|
+
ApmApplicationConfigView: ApmApplicationConfigView,
|
|
3050
|
+
ApmTag: ApmTag,
|
|
3051
|
+
APMKVItem: APMKVItem,
|
|
3052
|
+
OrderBy: OrderBy,
|
|
3053
|
+
DescribeMetricRecordsResponse: DescribeMetricRecordsResponse,
|
|
3054
|
+
DescribeGeneralOTSpanListResponse: DescribeGeneralOTSpanListResponse,
|
|
3055
|
+
DescribeGeneralSpanListRequest: DescribeGeneralSpanListRequest,
|
|
3056
|
+
Filter: Filter,
|
|
3057
|
+
APMKV: APMKV,
|
|
3058
|
+
DescribeGeneralOTSpanListRequest: DescribeGeneralOTSpanListRequest,
|
|
3059
|
+
DescribeApmAgentRequest: DescribeApmAgentRequest,
|
|
3060
|
+
DescribeMetricRecordsRequest: DescribeMetricRecordsRequest,
|
|
3061
|
+
DescribeGeneralApmApplicationConfigResponse: DescribeGeneralApmApplicationConfigResponse,
|
|
3062
|
+
DescribeGeneralMetricDataRequest: DescribeGeneralMetricDataRequest,
|
|
3063
|
+
CreateApmInstanceResponse: CreateApmInstanceResponse,
|
|
3064
|
+
SpanReference: SpanReference,
|
|
3065
|
+
SpanProcess: SpanProcess,
|
|
3066
|
+
DescribeGeneralApmApplicationConfigRequest: DescribeGeneralApmApplicationConfigRequest,
|
|
3067
|
+
ModifyApmInstanceResponse: ModifyApmInstanceResponse,
|
|
3068
|
+
GeneralFilter: GeneralFilter,
|
|
3069
|
+
DescribeApmInstancesRequest: DescribeApmInstancesRequest,
|
|
3070
|
+
SpanTag: SpanTag,
|
|
3071
|
+
DescribeGeneralMetricDataResponse: DescribeGeneralMetricDataResponse,
|
|
3072
|
+
ModifyGeneralApmApplicationConfigResponse: ModifyGeneralApmApplicationConfigResponse,
|
|
3073
|
+
TerminateApmInstanceResponse: TerminateApmInstanceResponse,
|
|
3074
|
+
|
|
3075
|
+
}
|