@alicloud/cms20240330 1.0.0
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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +1163 -0
- package/dist/client.js +1520 -0
- package/dist/client.js.map +1 -0
- package/package.json +32 -0
- package/src/client.ts +2099 -0
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1,1163 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*/
|
|
3
|
+
import * as $Util from '@alicloud/tea-util';
|
|
4
|
+
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
5
|
+
import * as $tea from '@alicloud/tea-typescript';
|
|
6
|
+
export declare class AlertEventIntegrationPolicyForModify extends $tea.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* This parameter is required.
|
|
10
|
+
*/
|
|
11
|
+
alertEventIntegrationPolicyName?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
filterSetting?: FilterSetting;
|
|
14
|
+
integrationSetting?: string;
|
|
15
|
+
transformerSetting?: TransformAction[];
|
|
16
|
+
type?: string;
|
|
17
|
+
static names(): {
|
|
18
|
+
[key: string]: string;
|
|
19
|
+
};
|
|
20
|
+
static types(): {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
};
|
|
23
|
+
constructor(map?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
export declare class AlertEventIntegrationPolicyForView extends $tea.Model {
|
|
28
|
+
alertEventIntegrationPolicyId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* This parameter is required.
|
|
32
|
+
*/
|
|
33
|
+
alertEventIntegrationPolicyName?: string;
|
|
34
|
+
createTime?: string;
|
|
35
|
+
description?: string;
|
|
36
|
+
enable?: boolean;
|
|
37
|
+
filterSetting?: FilterSetting;
|
|
38
|
+
integrationSetting?: string;
|
|
39
|
+
transformerSetting?: TransformAction[];
|
|
40
|
+
type?: string;
|
|
41
|
+
updateTime?: string;
|
|
42
|
+
userId?: string;
|
|
43
|
+
workspace?: string;
|
|
44
|
+
static names(): {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
static types(): {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
};
|
|
50
|
+
constructor(map?: {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
export declare class AlertRuleAction extends $tea.Model {
|
|
55
|
+
actions?: string[];
|
|
56
|
+
static names(): {
|
|
57
|
+
[key: string]: string;
|
|
58
|
+
};
|
|
59
|
+
static types(): {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
};
|
|
62
|
+
constructor(map?: {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
export declare class AlertRuleAlertMetricFilterDef extends $tea.Model {
|
|
67
|
+
dim?: string;
|
|
68
|
+
displayNameCn?: string;
|
|
69
|
+
displayNameEn?: string;
|
|
70
|
+
hidden?: boolean;
|
|
71
|
+
opt?: string;
|
|
72
|
+
supportedOpts?: AlertRuleAlertMetricFilterDefSupportedOpts[];
|
|
73
|
+
static names(): {
|
|
74
|
+
[key: string]: string;
|
|
75
|
+
};
|
|
76
|
+
static types(): {
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
};
|
|
79
|
+
constructor(map?: {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
export declare class AlertRuleAlertMetricInput extends $tea.Model {
|
|
84
|
+
filterValues?: AlertRuleAlertMetricInputFilterValue[];
|
|
85
|
+
groupId?: string;
|
|
86
|
+
metricId?: string;
|
|
87
|
+
paramValues?: AlertRuleAlertMetricInputParamValue[];
|
|
88
|
+
static names(): {
|
|
89
|
+
[key: string]: string;
|
|
90
|
+
};
|
|
91
|
+
static types(): {
|
|
92
|
+
[key: string]: any;
|
|
93
|
+
};
|
|
94
|
+
constructor(map?: {
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
export declare class AlertRuleAlertMetricInputFilterValue extends $tea.Model {
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* This parameter is required.
|
|
102
|
+
*/
|
|
103
|
+
dim?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* This parameter is required.
|
|
107
|
+
*/
|
|
108
|
+
opt?: string;
|
|
109
|
+
value?: string;
|
|
110
|
+
static names(): {
|
|
111
|
+
[key: string]: string;
|
|
112
|
+
};
|
|
113
|
+
static types(): {
|
|
114
|
+
[key: string]: any;
|
|
115
|
+
};
|
|
116
|
+
constructor(map?: {
|
|
117
|
+
[key: string]: any;
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
export declare class AlertRuleAlertMetricInputParamValue extends $tea.Model {
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* This parameter is required.
|
|
124
|
+
*/
|
|
125
|
+
name?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* This parameter is required.
|
|
129
|
+
*/
|
|
130
|
+
value?: string;
|
|
131
|
+
static names(): {
|
|
132
|
+
[key: string]: string;
|
|
133
|
+
};
|
|
134
|
+
static types(): {
|
|
135
|
+
[key: string]: any;
|
|
136
|
+
};
|
|
137
|
+
constructor(map?: {
|
|
138
|
+
[key: string]: any;
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
export declare class AlertRuleAlertMetricParamDef extends $tea.Model {
|
|
142
|
+
maxWidth?: number;
|
|
143
|
+
minWidth?: number;
|
|
144
|
+
name?: string;
|
|
145
|
+
placeholderCn?: string;
|
|
146
|
+
placeholderEn?: string;
|
|
147
|
+
type?: string;
|
|
148
|
+
value?: string;
|
|
149
|
+
values?: AlertRuleAlertMetricParamDefValues[];
|
|
150
|
+
static names(): {
|
|
151
|
+
[key: string]: string;
|
|
152
|
+
};
|
|
153
|
+
static types(): {
|
|
154
|
+
[key: string]: any;
|
|
155
|
+
};
|
|
156
|
+
constructor(map?: {
|
|
157
|
+
[key: string]: any;
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
export declare class AlertRuleCondition extends $tea.Model {
|
|
161
|
+
/**
|
|
162
|
+
* @remarks
|
|
163
|
+
* type=SLS_CONDITION时指定,满足条件几次后告警,默认为1
|
|
164
|
+
*/
|
|
165
|
+
alertCount?: number;
|
|
166
|
+
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* type=SLS_CONDITION时指定
|
|
169
|
+
*/
|
|
170
|
+
caseList?: AlertRuleConditionCaseList[];
|
|
171
|
+
compareList?: AlertRuleConditionCompareList[];
|
|
172
|
+
noDataAppendValue?: string;
|
|
173
|
+
/**
|
|
174
|
+
* @remarks
|
|
175
|
+
* 无数据时按什么级别告警,不指定则不对无数据报警
|
|
176
|
+
*/
|
|
177
|
+
nodataAlertLevel?: string;
|
|
178
|
+
/**
|
|
179
|
+
* @remarks
|
|
180
|
+
* 规则条件类型,可选值:SLS_CONDITION
|
|
181
|
+
*
|
|
182
|
+
* This parameter is required.
|
|
183
|
+
*/
|
|
184
|
+
type?: string;
|
|
185
|
+
static names(): {
|
|
186
|
+
[key: string]: string;
|
|
187
|
+
};
|
|
188
|
+
static types(): {
|
|
189
|
+
[key: string]: any;
|
|
190
|
+
};
|
|
191
|
+
constructor(map?: {
|
|
192
|
+
[key: string]: any;
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
export declare class AlertRuleDataSource extends $tea.Model {
|
|
196
|
+
dsList?: AlertRuleDataSourceDsList[];
|
|
197
|
+
/**
|
|
198
|
+
* @remarks
|
|
199
|
+
* 实例id,当type=PROMETHEUS_DS/ENTERPRISE_DS时必填,为prometheus实例的clusterId或指标仓库名称
|
|
200
|
+
*/
|
|
201
|
+
instanceId?: string;
|
|
202
|
+
namespace?: string;
|
|
203
|
+
/**
|
|
204
|
+
* @remarks
|
|
205
|
+
* 数据源类型
|
|
206
|
+
*
|
|
207
|
+
* This parameter is required.
|
|
208
|
+
*/
|
|
209
|
+
type?: string;
|
|
210
|
+
static names(): {
|
|
211
|
+
[key: string]: string;
|
|
212
|
+
};
|
|
213
|
+
static types(): {
|
|
214
|
+
[key: string]: any;
|
|
215
|
+
};
|
|
216
|
+
constructor(map?: {
|
|
217
|
+
[key: string]: any;
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
export declare class AlertRuleLabelFilter extends $tea.Model {
|
|
221
|
+
labels?: {
|
|
222
|
+
[key: string]: string;
|
|
223
|
+
};
|
|
224
|
+
opt?: string;
|
|
225
|
+
static names(): {
|
|
226
|
+
[key: string]: string;
|
|
227
|
+
};
|
|
228
|
+
static types(): {
|
|
229
|
+
[key: string]: any;
|
|
230
|
+
};
|
|
231
|
+
constructor(map?: {
|
|
232
|
+
[key: string]: any;
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
export declare class AlertRuleNotification extends $tea.Model {
|
|
236
|
+
contacts?: string[];
|
|
237
|
+
customWebhooks?: string[];
|
|
238
|
+
dingWebhooks?: string[];
|
|
239
|
+
fsWebhooks?: string[];
|
|
240
|
+
groups?: string[];
|
|
241
|
+
notifyTime?: AlertRuleTimeSpan;
|
|
242
|
+
silenceTime?: number;
|
|
243
|
+
slackWebhooks?: string[];
|
|
244
|
+
wxWebhooks?: string[];
|
|
245
|
+
static names(): {
|
|
246
|
+
[key: string]: string;
|
|
247
|
+
};
|
|
248
|
+
static types(): {
|
|
249
|
+
[key: string]: any;
|
|
250
|
+
};
|
|
251
|
+
constructor(map?: {
|
|
252
|
+
[key: string]: any;
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
export declare class AlertRuleNotificationFilter extends $tea.Model {
|
|
256
|
+
contacts?: string[];
|
|
257
|
+
customWebhooks?: string[];
|
|
258
|
+
dingWebhooks?: string[];
|
|
259
|
+
fsWebhooks?: string[];
|
|
260
|
+
groups?: string[];
|
|
261
|
+
slackWebhooks?: string[];
|
|
262
|
+
wxWebhooks?: string[];
|
|
263
|
+
static names(): {
|
|
264
|
+
[key: string]: string;
|
|
265
|
+
};
|
|
266
|
+
static types(): {
|
|
267
|
+
[key: string]: any;
|
|
268
|
+
};
|
|
269
|
+
constructor(map?: {
|
|
270
|
+
[key: string]: any;
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
export declare class AlertRuleQuery extends $tea.Model {
|
|
274
|
+
duration?: number;
|
|
275
|
+
expr?: string;
|
|
276
|
+
firstJoin?: AlertRuleSlsQueryJoin;
|
|
277
|
+
groupFieldList?: string[];
|
|
278
|
+
groupType?: string;
|
|
279
|
+
queries?: AlertRuleQueryQueries[];
|
|
280
|
+
secondJoin?: AlertRuleSlsQueryJoin;
|
|
281
|
+
/**
|
|
282
|
+
* @remarks
|
|
283
|
+
* 查询类型
|
|
284
|
+
*
|
|
285
|
+
* This parameter is required.
|
|
286
|
+
*/
|
|
287
|
+
type?: string;
|
|
288
|
+
static names(): {
|
|
289
|
+
[key: string]: string;
|
|
290
|
+
};
|
|
291
|
+
static types(): {
|
|
292
|
+
[key: string]: any;
|
|
293
|
+
};
|
|
294
|
+
constructor(map?: {
|
|
295
|
+
[key: string]: any;
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
export declare class AlertRuleSend extends $tea.Model {
|
|
299
|
+
action?: AlertRuleAction;
|
|
300
|
+
notification?: AlertRuleNotification;
|
|
301
|
+
static names(): {
|
|
302
|
+
[key: string]: string;
|
|
303
|
+
};
|
|
304
|
+
static types(): {
|
|
305
|
+
[key: string]: any;
|
|
306
|
+
};
|
|
307
|
+
constructor(map?: {
|
|
308
|
+
[key: string]: any;
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
export declare class AlertRuleSlsQueryJoin extends $tea.Model {
|
|
312
|
+
conditions?: AlertRuleSlsQueryJoinConditions[];
|
|
313
|
+
/**
|
|
314
|
+
* @remarks
|
|
315
|
+
* 集合操作类型。
|
|
316
|
+
* ● CrossJoin: 笛卡尔积
|
|
317
|
+
* ● FullJoin:全联
|
|
318
|
+
* ● InnerJoin:内联
|
|
319
|
+
* ● LeftExclude: 左斥
|
|
320
|
+
* ● RightExclude:右斥
|
|
321
|
+
* ● LeftJoin:左联
|
|
322
|
+
* ● RightJoin:右联
|
|
323
|
+
* ● NoJoin:不合并
|
|
324
|
+
* ● Concat: 拼接
|
|
325
|
+
* https://help.aliyun.com/zh/sls/user-guide/set-query-statistics-statement
|
|
326
|
+
*
|
|
327
|
+
* This parameter is required.
|
|
328
|
+
*/
|
|
329
|
+
type?: string;
|
|
330
|
+
static names(): {
|
|
331
|
+
[key: string]: string;
|
|
332
|
+
};
|
|
333
|
+
static types(): {
|
|
334
|
+
[key: string]: any;
|
|
335
|
+
};
|
|
336
|
+
constructor(map?: {
|
|
337
|
+
[key: string]: any;
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
export declare class AlertRuleTimeSpan extends $tea.Model {
|
|
341
|
+
dayOfWeek?: number[];
|
|
342
|
+
endTime?: string;
|
|
343
|
+
gmtOffset?: string;
|
|
344
|
+
startTime?: string;
|
|
345
|
+
static names(): {
|
|
346
|
+
[key: string]: string;
|
|
347
|
+
};
|
|
348
|
+
static types(): {
|
|
349
|
+
[key: string]: any;
|
|
350
|
+
};
|
|
351
|
+
constructor(map?: {
|
|
352
|
+
[key: string]: any;
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
export declare class FilterSetting extends $tea.Model {
|
|
356
|
+
conditions?: FilterSettingConditions[];
|
|
357
|
+
expression?: string;
|
|
358
|
+
relation?: string;
|
|
359
|
+
static names(): {
|
|
360
|
+
[key: string]: string;
|
|
361
|
+
};
|
|
362
|
+
static types(): {
|
|
363
|
+
[key: string]: any;
|
|
364
|
+
};
|
|
365
|
+
constructor(map?: {
|
|
366
|
+
[key: string]: any;
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
export declare class MaintainWindowForModify extends $tea.Model {
|
|
370
|
+
description?: string;
|
|
371
|
+
effective?: string;
|
|
372
|
+
endTime?: string;
|
|
373
|
+
filterSetting?: FilterSetting;
|
|
374
|
+
/**
|
|
375
|
+
* @remarks
|
|
376
|
+
* This parameter is required.
|
|
377
|
+
*/
|
|
378
|
+
maintainWindowName?: string;
|
|
379
|
+
startTime?: string;
|
|
380
|
+
static names(): {
|
|
381
|
+
[key: string]: string;
|
|
382
|
+
};
|
|
383
|
+
static types(): {
|
|
384
|
+
[key: string]: any;
|
|
385
|
+
};
|
|
386
|
+
constructor(map?: {
|
|
387
|
+
[key: string]: any;
|
|
388
|
+
});
|
|
389
|
+
}
|
|
390
|
+
export declare class MaintainWindowForView extends $tea.Model {
|
|
391
|
+
createTime?: string;
|
|
392
|
+
description?: string;
|
|
393
|
+
effective?: string;
|
|
394
|
+
enable?: boolean;
|
|
395
|
+
endTime?: string;
|
|
396
|
+
filterSetting?: FilterSetting;
|
|
397
|
+
maintainWindowId?: string;
|
|
398
|
+
/**
|
|
399
|
+
* @remarks
|
|
400
|
+
* This parameter is required.
|
|
401
|
+
*/
|
|
402
|
+
maintainWindowName?: string;
|
|
403
|
+
startTime?: string;
|
|
404
|
+
updateTime?: string;
|
|
405
|
+
userId?: string;
|
|
406
|
+
workspace?: string;
|
|
407
|
+
static names(): {
|
|
408
|
+
[key: string]: string;
|
|
409
|
+
};
|
|
410
|
+
static types(): {
|
|
411
|
+
[key: string]: any;
|
|
412
|
+
};
|
|
413
|
+
constructor(map?: {
|
|
414
|
+
[key: string]: any;
|
|
415
|
+
});
|
|
416
|
+
}
|
|
417
|
+
export declare class NotifyStrategyForModify extends $tea.Model {
|
|
418
|
+
customTemplateEntries?: NotifyStrategyForModifyCustomTemplateEntries[];
|
|
419
|
+
description?: string;
|
|
420
|
+
/**
|
|
421
|
+
* @remarks
|
|
422
|
+
* This parameter is required.
|
|
423
|
+
*/
|
|
424
|
+
groupingSetting?: NotifyStrategyForModifyGroupingSetting;
|
|
425
|
+
ignoreRestoredNotification?: boolean;
|
|
426
|
+
/**
|
|
427
|
+
* @remarks
|
|
428
|
+
* This parameter is required.
|
|
429
|
+
*/
|
|
430
|
+
notifyStrategyName?: string;
|
|
431
|
+
/**
|
|
432
|
+
* @remarks
|
|
433
|
+
* This parameter is required.
|
|
434
|
+
*/
|
|
435
|
+
routes?: NotifyStrategyForModifyRoutes[];
|
|
436
|
+
static names(): {
|
|
437
|
+
[key: string]: string;
|
|
438
|
+
};
|
|
439
|
+
static types(): {
|
|
440
|
+
[key: string]: any;
|
|
441
|
+
};
|
|
442
|
+
constructor(map?: {
|
|
443
|
+
[key: string]: any;
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
export declare class NotifyStrategyForView extends $tea.Model {
|
|
447
|
+
createTime?: string;
|
|
448
|
+
customTemplateEntries?: NotifyStrategyForViewCustomTemplateEntries[];
|
|
449
|
+
description?: string;
|
|
450
|
+
enable?: boolean;
|
|
451
|
+
/**
|
|
452
|
+
* @remarks
|
|
453
|
+
* This parameter is required.
|
|
454
|
+
*/
|
|
455
|
+
groupingSetting?: NotifyStrategyForViewGroupingSetting;
|
|
456
|
+
ignoreRestoredNotification?: boolean;
|
|
457
|
+
notifyStrategyId?: string;
|
|
458
|
+
/**
|
|
459
|
+
* @remarks
|
|
460
|
+
* This parameter is required.
|
|
461
|
+
*/
|
|
462
|
+
notifyStrategyName?: string;
|
|
463
|
+
/**
|
|
464
|
+
* @remarks
|
|
465
|
+
* This parameter is required.
|
|
466
|
+
*/
|
|
467
|
+
routes?: NotifyStrategyForViewRoutes[];
|
|
468
|
+
updateTime?: string;
|
|
469
|
+
userId?: string;
|
|
470
|
+
workspace?: string;
|
|
471
|
+
static names(): {
|
|
472
|
+
[key: string]: string;
|
|
473
|
+
};
|
|
474
|
+
static types(): {
|
|
475
|
+
[key: string]: any;
|
|
476
|
+
};
|
|
477
|
+
constructor(map?: {
|
|
478
|
+
[key: string]: any;
|
|
479
|
+
});
|
|
480
|
+
}
|
|
481
|
+
export declare class SubscriptionForModify extends $tea.Model {
|
|
482
|
+
description?: string;
|
|
483
|
+
filterSetting?: FilterSetting;
|
|
484
|
+
notifyStrategyId?: string;
|
|
485
|
+
pushingSetting?: SubscriptionForModifyPushingSetting;
|
|
486
|
+
/**
|
|
487
|
+
* @remarks
|
|
488
|
+
* This parameter is required.
|
|
489
|
+
*/
|
|
490
|
+
subscriptionName?: string;
|
|
491
|
+
static names(): {
|
|
492
|
+
[key: string]: string;
|
|
493
|
+
};
|
|
494
|
+
static types(): {
|
|
495
|
+
[key: string]: any;
|
|
496
|
+
};
|
|
497
|
+
constructor(map?: {
|
|
498
|
+
[key: string]: any;
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
export declare class SubscriptionForView extends $tea.Model {
|
|
502
|
+
createTime?: string;
|
|
503
|
+
description?: string;
|
|
504
|
+
enable?: boolean;
|
|
505
|
+
filterSetting?: FilterSetting;
|
|
506
|
+
notifyStrategyId?: string;
|
|
507
|
+
pushingSetting?: SubscriptionForViewPushingSetting;
|
|
508
|
+
subscriptionId?: string;
|
|
509
|
+
/**
|
|
510
|
+
* @remarks
|
|
511
|
+
* This parameter is required.
|
|
512
|
+
*/
|
|
513
|
+
subscriptionName?: string;
|
|
514
|
+
updateTime?: string;
|
|
515
|
+
userId?: string;
|
|
516
|
+
workspace?: string;
|
|
517
|
+
static names(): {
|
|
518
|
+
[key: string]: string;
|
|
519
|
+
};
|
|
520
|
+
static types(): {
|
|
521
|
+
[key: string]: any;
|
|
522
|
+
};
|
|
523
|
+
constructor(map?: {
|
|
524
|
+
[key: string]: any;
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
export declare class TransformAction extends $tea.Model {
|
|
528
|
+
filterSetting?: FilterSetting;
|
|
529
|
+
labelKey?: string;
|
|
530
|
+
mapping?: {
|
|
531
|
+
[key: string]: string;
|
|
532
|
+
};
|
|
533
|
+
regExp?: string;
|
|
534
|
+
source?: string;
|
|
535
|
+
target?: string;
|
|
536
|
+
type?: string;
|
|
537
|
+
value?: string;
|
|
538
|
+
variable?: string;
|
|
539
|
+
static names(): {
|
|
540
|
+
[key: string]: string;
|
|
541
|
+
};
|
|
542
|
+
static types(): {
|
|
543
|
+
[key: string]: any;
|
|
544
|
+
};
|
|
545
|
+
constructor(map?: {
|
|
546
|
+
[key: string]: any;
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
export declare class TransformerForModify extends $tea.Model {
|
|
550
|
+
actions?: TransformAction[];
|
|
551
|
+
description?: string;
|
|
552
|
+
filterSetting?: FilterSetting;
|
|
553
|
+
quitAfterMatch?: boolean;
|
|
554
|
+
sortId?: number;
|
|
555
|
+
/**
|
|
556
|
+
* @remarks
|
|
557
|
+
* This parameter is required.
|
|
558
|
+
*/
|
|
559
|
+
transformerName?: string;
|
|
560
|
+
static names(): {
|
|
561
|
+
[key: string]: string;
|
|
562
|
+
};
|
|
563
|
+
static types(): {
|
|
564
|
+
[key: string]: any;
|
|
565
|
+
};
|
|
566
|
+
constructor(map?: {
|
|
567
|
+
[key: string]: any;
|
|
568
|
+
});
|
|
569
|
+
}
|
|
570
|
+
export declare class TransformerForView extends $tea.Model {
|
|
571
|
+
actions?: TransformAction[];
|
|
572
|
+
createTime?: string;
|
|
573
|
+
description?: string;
|
|
574
|
+
enable?: boolean;
|
|
575
|
+
filterSetting?: FilterSetting;
|
|
576
|
+
quitAfterMatch?: boolean;
|
|
577
|
+
sortId?: number;
|
|
578
|
+
transformerId?: string;
|
|
579
|
+
/**
|
|
580
|
+
* @remarks
|
|
581
|
+
* This parameter is required.
|
|
582
|
+
*/
|
|
583
|
+
transformerName?: string;
|
|
584
|
+
updateTime?: string;
|
|
585
|
+
userId?: string;
|
|
586
|
+
workspace?: string;
|
|
587
|
+
static names(): {
|
|
588
|
+
[key: string]: string;
|
|
589
|
+
};
|
|
590
|
+
static types(): {
|
|
591
|
+
[key: string]: any;
|
|
592
|
+
};
|
|
593
|
+
constructor(map?: {
|
|
594
|
+
[key: string]: any;
|
|
595
|
+
});
|
|
596
|
+
}
|
|
597
|
+
export declare class ListAlertActionsRequest extends $tea.Model {
|
|
598
|
+
alertActionIds?: string[];
|
|
599
|
+
alertActionName?: string;
|
|
600
|
+
pageNumber?: number;
|
|
601
|
+
pageSize?: number;
|
|
602
|
+
type?: string;
|
|
603
|
+
static names(): {
|
|
604
|
+
[key: string]: string;
|
|
605
|
+
};
|
|
606
|
+
static types(): {
|
|
607
|
+
[key: string]: any;
|
|
608
|
+
};
|
|
609
|
+
constructor(map?: {
|
|
610
|
+
[key: string]: any;
|
|
611
|
+
});
|
|
612
|
+
}
|
|
613
|
+
export declare class ListAlertActionsShrinkRequest extends $tea.Model {
|
|
614
|
+
alertActionIdsShrink?: string;
|
|
615
|
+
alertActionName?: string;
|
|
616
|
+
pageNumber?: number;
|
|
617
|
+
pageSize?: number;
|
|
618
|
+
type?: string;
|
|
619
|
+
static names(): {
|
|
620
|
+
[key: string]: string;
|
|
621
|
+
};
|
|
622
|
+
static types(): {
|
|
623
|
+
[key: string]: any;
|
|
624
|
+
};
|
|
625
|
+
constructor(map?: {
|
|
626
|
+
[key: string]: any;
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
export declare class ListAlertActionsResponseBody extends $tea.Model {
|
|
630
|
+
alertActions?: ListAlertActionsResponseBodyAlertActions[];
|
|
631
|
+
pageNumber?: number;
|
|
632
|
+
pageSize?: number;
|
|
633
|
+
requestId?: string;
|
|
634
|
+
total?: number;
|
|
635
|
+
static names(): {
|
|
636
|
+
[key: string]: string;
|
|
637
|
+
};
|
|
638
|
+
static types(): {
|
|
639
|
+
[key: string]: any;
|
|
640
|
+
};
|
|
641
|
+
constructor(map?: {
|
|
642
|
+
[key: string]: any;
|
|
643
|
+
});
|
|
644
|
+
}
|
|
645
|
+
export declare class ListAlertActionsResponse extends $tea.Model {
|
|
646
|
+
headers?: {
|
|
647
|
+
[key: string]: string;
|
|
648
|
+
};
|
|
649
|
+
statusCode?: number;
|
|
650
|
+
body?: ListAlertActionsResponseBody;
|
|
651
|
+
static names(): {
|
|
652
|
+
[key: string]: string;
|
|
653
|
+
};
|
|
654
|
+
static types(): {
|
|
655
|
+
[key: string]: any;
|
|
656
|
+
};
|
|
657
|
+
constructor(map?: {
|
|
658
|
+
[key: string]: any;
|
|
659
|
+
});
|
|
660
|
+
}
|
|
661
|
+
export declare class AlertRuleAlertMetricFilterDefSupportedOpts extends $tea.Model {
|
|
662
|
+
displayNameCn?: string;
|
|
663
|
+
displayNameEn?: string;
|
|
664
|
+
value?: string;
|
|
665
|
+
static names(): {
|
|
666
|
+
[key: string]: string;
|
|
667
|
+
};
|
|
668
|
+
static types(): {
|
|
669
|
+
[key: string]: any;
|
|
670
|
+
};
|
|
671
|
+
constructor(map?: {
|
|
672
|
+
[key: string]: any;
|
|
673
|
+
});
|
|
674
|
+
}
|
|
675
|
+
export declare class AlertRuleAlertMetricParamDefValues extends $tea.Model {
|
|
676
|
+
labelCn?: string;
|
|
677
|
+
labelEn?: string;
|
|
678
|
+
value?: string;
|
|
679
|
+
static names(): {
|
|
680
|
+
[key: string]: string;
|
|
681
|
+
};
|
|
682
|
+
static types(): {
|
|
683
|
+
[key: string]: any;
|
|
684
|
+
};
|
|
685
|
+
constructor(map?: {
|
|
686
|
+
[key: string]: any;
|
|
687
|
+
});
|
|
688
|
+
}
|
|
689
|
+
export declare class AlertRuleConditionCaseList extends $tea.Model {
|
|
690
|
+
condition?: string;
|
|
691
|
+
countCondition?: string;
|
|
692
|
+
level?: string;
|
|
693
|
+
type?: string;
|
|
694
|
+
static names(): {
|
|
695
|
+
[key: string]: string;
|
|
696
|
+
};
|
|
697
|
+
static types(): {
|
|
698
|
+
[key: string]: any;
|
|
699
|
+
};
|
|
700
|
+
constructor(map?: {
|
|
701
|
+
[key: string]: any;
|
|
702
|
+
});
|
|
703
|
+
}
|
|
704
|
+
export declare class AlertRuleConditionCompareListValueLevelList extends $tea.Model {
|
|
705
|
+
level?: string;
|
|
706
|
+
value?: number;
|
|
707
|
+
static names(): {
|
|
708
|
+
[key: string]: string;
|
|
709
|
+
};
|
|
710
|
+
static types(): {
|
|
711
|
+
[key: string]: any;
|
|
712
|
+
};
|
|
713
|
+
constructor(map?: {
|
|
714
|
+
[key: string]: any;
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
export declare class AlertRuleConditionCompareList extends $tea.Model {
|
|
718
|
+
aggregate?: string;
|
|
719
|
+
oper?: string;
|
|
720
|
+
value?: number;
|
|
721
|
+
valueLevelList?: AlertRuleConditionCompareListValueLevelList[];
|
|
722
|
+
yoyTimeUnit?: string;
|
|
723
|
+
yoyTimeValue?: number;
|
|
724
|
+
static names(): {
|
|
725
|
+
[key: string]: string;
|
|
726
|
+
};
|
|
727
|
+
static types(): {
|
|
728
|
+
[key: string]: any;
|
|
729
|
+
};
|
|
730
|
+
constructor(map?: {
|
|
731
|
+
[key: string]: any;
|
|
732
|
+
});
|
|
733
|
+
}
|
|
734
|
+
export declare class AlertRuleDataSourceDsList extends $tea.Model {
|
|
735
|
+
project?: string;
|
|
736
|
+
regionId?: string;
|
|
737
|
+
store?: string;
|
|
738
|
+
type?: string;
|
|
739
|
+
static names(): {
|
|
740
|
+
[key: string]: string;
|
|
741
|
+
};
|
|
742
|
+
static types(): {
|
|
743
|
+
[key: string]: any;
|
|
744
|
+
};
|
|
745
|
+
constructor(map?: {
|
|
746
|
+
[key: string]: any;
|
|
747
|
+
});
|
|
748
|
+
}
|
|
749
|
+
export declare class AlertRuleQueryQueries extends $tea.Model {
|
|
750
|
+
duration?: number;
|
|
751
|
+
/**
|
|
752
|
+
* @remarks
|
|
753
|
+
* 时间偏移结束时间(相对),如果指定了start、end,则不指定window。
|
|
754
|
+
*/
|
|
755
|
+
end?: number;
|
|
756
|
+
/**
|
|
757
|
+
* @remarks
|
|
758
|
+
* 查询表达式
|
|
759
|
+
*
|
|
760
|
+
* This parameter is required.
|
|
761
|
+
*/
|
|
762
|
+
expr?: string;
|
|
763
|
+
/**
|
|
764
|
+
* @remarks
|
|
765
|
+
* sls查询的时间偏移开始时间(相对),如果指定了start、end,则不指定window。 例如:start=15, timeUnit=minute,表示15分钟前
|
|
766
|
+
*/
|
|
767
|
+
start?: number;
|
|
768
|
+
/**
|
|
769
|
+
* @remarks
|
|
770
|
+
* start和end、window的时间单位: day/hour/minute/second
|
|
771
|
+
*/
|
|
772
|
+
timeUnit?: string;
|
|
773
|
+
/**
|
|
774
|
+
* @remarks
|
|
775
|
+
* 整点时间查询区间。 如果指定了window则不指定start、end
|
|
776
|
+
*/
|
|
777
|
+
window?: string;
|
|
778
|
+
static names(): {
|
|
779
|
+
[key: string]: string;
|
|
780
|
+
};
|
|
781
|
+
static types(): {
|
|
782
|
+
[key: string]: any;
|
|
783
|
+
};
|
|
784
|
+
constructor(map?: {
|
|
785
|
+
[key: string]: any;
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
export declare class AlertRuleSlsQueryJoinConditions extends $tea.Model {
|
|
789
|
+
/**
|
|
790
|
+
* @remarks
|
|
791
|
+
* 条件的左操作参数,格式为$<query_idx>.<结果集字段名>
|
|
792
|
+
*/
|
|
793
|
+
firstField?: string;
|
|
794
|
+
/**
|
|
795
|
+
* @remarks
|
|
796
|
+
* <, >, ==, !=, <=, >=
|
|
797
|
+
*/
|
|
798
|
+
oper?: string;
|
|
799
|
+
/**
|
|
800
|
+
* @remarks
|
|
801
|
+
* 条件的右操作参数,格式为$<query_idx>.<结果集字段名>
|
|
802
|
+
*/
|
|
803
|
+
secondField?: string;
|
|
804
|
+
static names(): {
|
|
805
|
+
[key: string]: string;
|
|
806
|
+
};
|
|
807
|
+
static types(): {
|
|
808
|
+
[key: string]: any;
|
|
809
|
+
};
|
|
810
|
+
constructor(map?: {
|
|
811
|
+
[key: string]: any;
|
|
812
|
+
});
|
|
813
|
+
}
|
|
814
|
+
export declare class FilterSettingConditions extends $tea.Model {
|
|
815
|
+
field?: string;
|
|
816
|
+
op?: string;
|
|
817
|
+
value?: string;
|
|
818
|
+
static names(): {
|
|
819
|
+
[key: string]: string;
|
|
820
|
+
};
|
|
821
|
+
static types(): {
|
|
822
|
+
[key: string]: any;
|
|
823
|
+
};
|
|
824
|
+
constructor(map?: {
|
|
825
|
+
[key: string]: any;
|
|
826
|
+
});
|
|
827
|
+
}
|
|
828
|
+
export declare class NotifyStrategyForModifyCustomTemplateEntries extends $tea.Model {
|
|
829
|
+
/**
|
|
830
|
+
* @remarks
|
|
831
|
+
* This parameter is required.
|
|
832
|
+
*/
|
|
833
|
+
targetType?: string;
|
|
834
|
+
/**
|
|
835
|
+
* @remarks
|
|
836
|
+
* This parameter is required.
|
|
837
|
+
*/
|
|
838
|
+
templateUuid?: string;
|
|
839
|
+
static names(): {
|
|
840
|
+
[key: string]: string;
|
|
841
|
+
};
|
|
842
|
+
static types(): {
|
|
843
|
+
[key: string]: any;
|
|
844
|
+
};
|
|
845
|
+
constructor(map?: {
|
|
846
|
+
[key: string]: any;
|
|
847
|
+
});
|
|
848
|
+
}
|
|
849
|
+
export declare class NotifyStrategyForModifyGroupingSetting extends $tea.Model {
|
|
850
|
+
groupingKeys?: string[];
|
|
851
|
+
periodMin?: number;
|
|
852
|
+
silenceSec?: number;
|
|
853
|
+
times?: number;
|
|
854
|
+
static names(): {
|
|
855
|
+
[key: string]: string;
|
|
856
|
+
};
|
|
857
|
+
static types(): {
|
|
858
|
+
[key: string]: any;
|
|
859
|
+
};
|
|
860
|
+
constructor(map?: {
|
|
861
|
+
[key: string]: any;
|
|
862
|
+
});
|
|
863
|
+
}
|
|
864
|
+
export declare class NotifyStrategyForModifyRoutesChannels extends $tea.Model {
|
|
865
|
+
/**
|
|
866
|
+
* @remarks
|
|
867
|
+
* This parameter is required.
|
|
868
|
+
*/
|
|
869
|
+
channelType?: string;
|
|
870
|
+
enabledSubChannels?: string[];
|
|
871
|
+
/**
|
|
872
|
+
* @remarks
|
|
873
|
+
* This parameter is required.
|
|
874
|
+
*/
|
|
875
|
+
receivers?: string[];
|
|
876
|
+
static names(): {
|
|
877
|
+
[key: string]: string;
|
|
878
|
+
};
|
|
879
|
+
static types(): {
|
|
880
|
+
[key: string]: any;
|
|
881
|
+
};
|
|
882
|
+
constructor(map?: {
|
|
883
|
+
[key: string]: any;
|
|
884
|
+
});
|
|
885
|
+
}
|
|
886
|
+
export declare class NotifyStrategyForModifyRoutesEffectTimeRange extends $tea.Model {
|
|
887
|
+
dayInWeek?: number[];
|
|
888
|
+
endTimeInMinute?: number;
|
|
889
|
+
startTimeInMinute?: number;
|
|
890
|
+
timeZone?: string;
|
|
891
|
+
static names(): {
|
|
892
|
+
[key: string]: string;
|
|
893
|
+
};
|
|
894
|
+
static types(): {
|
|
895
|
+
[key: string]: any;
|
|
896
|
+
};
|
|
897
|
+
constructor(map?: {
|
|
898
|
+
[key: string]: any;
|
|
899
|
+
});
|
|
900
|
+
}
|
|
901
|
+
export declare class NotifyStrategyForModifyRoutes extends $tea.Model {
|
|
902
|
+
channels?: NotifyStrategyForModifyRoutesChannels[];
|
|
903
|
+
effectTimeRange?: NotifyStrategyForModifyRoutesEffectTimeRange;
|
|
904
|
+
filterSetting?: FilterSetting;
|
|
905
|
+
severities?: string[];
|
|
906
|
+
static names(): {
|
|
907
|
+
[key: string]: string;
|
|
908
|
+
};
|
|
909
|
+
static types(): {
|
|
910
|
+
[key: string]: any;
|
|
911
|
+
};
|
|
912
|
+
constructor(map?: {
|
|
913
|
+
[key: string]: any;
|
|
914
|
+
});
|
|
915
|
+
}
|
|
916
|
+
export declare class NotifyStrategyForViewCustomTemplateEntries extends $tea.Model {
|
|
917
|
+
/**
|
|
918
|
+
* @remarks
|
|
919
|
+
* This parameter is required.
|
|
920
|
+
*/
|
|
921
|
+
targetType?: string;
|
|
922
|
+
/**
|
|
923
|
+
* @remarks
|
|
924
|
+
* This parameter is required.
|
|
925
|
+
*/
|
|
926
|
+
templateUuid?: string;
|
|
927
|
+
static names(): {
|
|
928
|
+
[key: string]: string;
|
|
929
|
+
};
|
|
930
|
+
static types(): {
|
|
931
|
+
[key: string]: any;
|
|
932
|
+
};
|
|
933
|
+
constructor(map?: {
|
|
934
|
+
[key: string]: any;
|
|
935
|
+
});
|
|
936
|
+
}
|
|
937
|
+
export declare class NotifyStrategyForViewGroupingSetting extends $tea.Model {
|
|
938
|
+
groupingKeys?: string[];
|
|
939
|
+
periodMin?: number;
|
|
940
|
+
silenceSec?: number;
|
|
941
|
+
times?: number;
|
|
942
|
+
static names(): {
|
|
943
|
+
[key: string]: string;
|
|
944
|
+
};
|
|
945
|
+
static types(): {
|
|
946
|
+
[key: string]: any;
|
|
947
|
+
};
|
|
948
|
+
constructor(map?: {
|
|
949
|
+
[key: string]: any;
|
|
950
|
+
});
|
|
951
|
+
}
|
|
952
|
+
export declare class NotifyStrategyForViewRoutesChannels extends $tea.Model {
|
|
953
|
+
/**
|
|
954
|
+
* @remarks
|
|
955
|
+
* This parameter is required.
|
|
956
|
+
*/
|
|
957
|
+
channelType?: string;
|
|
958
|
+
enabledSubChannels?: string[];
|
|
959
|
+
/**
|
|
960
|
+
* @remarks
|
|
961
|
+
* This parameter is required.
|
|
962
|
+
*/
|
|
963
|
+
receivers?: string[];
|
|
964
|
+
static names(): {
|
|
965
|
+
[key: string]: string;
|
|
966
|
+
};
|
|
967
|
+
static types(): {
|
|
968
|
+
[key: string]: any;
|
|
969
|
+
};
|
|
970
|
+
constructor(map?: {
|
|
971
|
+
[key: string]: any;
|
|
972
|
+
});
|
|
973
|
+
}
|
|
974
|
+
export declare class NotifyStrategyForViewRoutesEffectTimeRange extends $tea.Model {
|
|
975
|
+
dayInWeek?: number[];
|
|
976
|
+
endTimeInMinute?: number;
|
|
977
|
+
startTimeInMinute?: number;
|
|
978
|
+
timeZone?: string;
|
|
979
|
+
static names(): {
|
|
980
|
+
[key: string]: string;
|
|
981
|
+
};
|
|
982
|
+
static types(): {
|
|
983
|
+
[key: string]: any;
|
|
984
|
+
};
|
|
985
|
+
constructor(map?: {
|
|
986
|
+
[key: string]: any;
|
|
987
|
+
});
|
|
988
|
+
}
|
|
989
|
+
export declare class NotifyStrategyForViewRoutes extends $tea.Model {
|
|
990
|
+
channels?: NotifyStrategyForViewRoutesChannels[];
|
|
991
|
+
effectTimeRange?: NotifyStrategyForViewRoutesEffectTimeRange;
|
|
992
|
+
filterSetting?: FilterSetting;
|
|
993
|
+
severities?: string[];
|
|
994
|
+
static names(): {
|
|
995
|
+
[key: string]: string;
|
|
996
|
+
};
|
|
997
|
+
static types(): {
|
|
998
|
+
[key: string]: any;
|
|
999
|
+
};
|
|
1000
|
+
constructor(map?: {
|
|
1001
|
+
[key: string]: any;
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
1004
|
+
export declare class SubscriptionForModifyPushingSetting extends $tea.Model {
|
|
1005
|
+
alertActionIds?: string[];
|
|
1006
|
+
responsePlanId?: string;
|
|
1007
|
+
restoreActionIds?: string[];
|
|
1008
|
+
templateUuid?: string;
|
|
1009
|
+
static names(): {
|
|
1010
|
+
[key: string]: string;
|
|
1011
|
+
};
|
|
1012
|
+
static types(): {
|
|
1013
|
+
[key: string]: any;
|
|
1014
|
+
};
|
|
1015
|
+
constructor(map?: {
|
|
1016
|
+
[key: string]: any;
|
|
1017
|
+
});
|
|
1018
|
+
}
|
|
1019
|
+
export declare class SubscriptionForViewPushingSetting extends $tea.Model {
|
|
1020
|
+
alertActionIds?: string[];
|
|
1021
|
+
responsePlanId?: string;
|
|
1022
|
+
restoreActionIds?: string[];
|
|
1023
|
+
templateUuid?: string;
|
|
1024
|
+
static names(): {
|
|
1025
|
+
[key: string]: string;
|
|
1026
|
+
};
|
|
1027
|
+
static types(): {
|
|
1028
|
+
[key: string]: any;
|
|
1029
|
+
};
|
|
1030
|
+
constructor(map?: {
|
|
1031
|
+
[key: string]: any;
|
|
1032
|
+
});
|
|
1033
|
+
}
|
|
1034
|
+
export declare class ListAlertActionsResponseBodyAlertActionsEssParam extends $tea.Model {
|
|
1035
|
+
essGroupId?: string;
|
|
1036
|
+
essRuleId?: string;
|
|
1037
|
+
regionId?: string;
|
|
1038
|
+
static names(): {
|
|
1039
|
+
[key: string]: string;
|
|
1040
|
+
};
|
|
1041
|
+
static types(): {
|
|
1042
|
+
[key: string]: any;
|
|
1043
|
+
};
|
|
1044
|
+
constructor(map?: {
|
|
1045
|
+
[key: string]: any;
|
|
1046
|
+
});
|
|
1047
|
+
}
|
|
1048
|
+
export declare class ListAlertActionsResponseBodyAlertActionsFcParam extends $tea.Model {
|
|
1049
|
+
function?: string;
|
|
1050
|
+
regionId?: string;
|
|
1051
|
+
service?: string;
|
|
1052
|
+
static names(): {
|
|
1053
|
+
[key: string]: string;
|
|
1054
|
+
};
|
|
1055
|
+
static types(): {
|
|
1056
|
+
[key: string]: any;
|
|
1057
|
+
};
|
|
1058
|
+
constructor(map?: {
|
|
1059
|
+
[key: string]: any;
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
export declare class ListAlertActionsResponseBodyAlertActionsMnsParam extends $tea.Model {
|
|
1063
|
+
mnsType?: string;
|
|
1064
|
+
name?: string;
|
|
1065
|
+
regionId?: string;
|
|
1066
|
+
static names(): {
|
|
1067
|
+
[key: string]: string;
|
|
1068
|
+
};
|
|
1069
|
+
static types(): {
|
|
1070
|
+
[key: string]: any;
|
|
1071
|
+
};
|
|
1072
|
+
constructor(map?: {
|
|
1073
|
+
[key: string]: any;
|
|
1074
|
+
});
|
|
1075
|
+
}
|
|
1076
|
+
export declare class ListAlertActionsResponseBodyAlertActionsPagerDutyParam extends $tea.Model {
|
|
1077
|
+
key?: string;
|
|
1078
|
+
url?: string;
|
|
1079
|
+
static names(): {
|
|
1080
|
+
[key: string]: string;
|
|
1081
|
+
};
|
|
1082
|
+
static types(): {
|
|
1083
|
+
[key: string]: any;
|
|
1084
|
+
};
|
|
1085
|
+
constructor(map?: {
|
|
1086
|
+
[key: string]: any;
|
|
1087
|
+
});
|
|
1088
|
+
}
|
|
1089
|
+
export declare class ListAlertActionsResponseBodyAlertActionsSlsParam extends $tea.Model {
|
|
1090
|
+
logstore?: string;
|
|
1091
|
+
project?: string;
|
|
1092
|
+
regionId?: string;
|
|
1093
|
+
static names(): {
|
|
1094
|
+
[key: string]: string;
|
|
1095
|
+
};
|
|
1096
|
+
static types(): {
|
|
1097
|
+
[key: string]: any;
|
|
1098
|
+
};
|
|
1099
|
+
constructor(map?: {
|
|
1100
|
+
[key: string]: any;
|
|
1101
|
+
});
|
|
1102
|
+
}
|
|
1103
|
+
export declare class ListAlertActionsResponseBodyAlertActionsWebhookParam extends $tea.Model {
|
|
1104
|
+
contentType?: string;
|
|
1105
|
+
headers?: {
|
|
1106
|
+
[key: string]: string;
|
|
1107
|
+
};
|
|
1108
|
+
method?: string;
|
|
1109
|
+
url?: string;
|
|
1110
|
+
static names(): {
|
|
1111
|
+
[key: string]: string;
|
|
1112
|
+
};
|
|
1113
|
+
static types(): {
|
|
1114
|
+
[key: string]: any;
|
|
1115
|
+
};
|
|
1116
|
+
constructor(map?: {
|
|
1117
|
+
[key: string]: any;
|
|
1118
|
+
});
|
|
1119
|
+
}
|
|
1120
|
+
export declare class ListAlertActionsResponseBodyAlertActions extends $tea.Model {
|
|
1121
|
+
alertActionId?: string;
|
|
1122
|
+
alertActionName?: string;
|
|
1123
|
+
essParam?: ListAlertActionsResponseBodyAlertActionsEssParam;
|
|
1124
|
+
fcParam?: ListAlertActionsResponseBodyAlertActionsFcParam;
|
|
1125
|
+
mnsParam?: ListAlertActionsResponseBodyAlertActionsMnsParam;
|
|
1126
|
+
pagerDutyParam?: ListAlertActionsResponseBodyAlertActionsPagerDutyParam;
|
|
1127
|
+
slsParam?: ListAlertActionsResponseBodyAlertActionsSlsParam;
|
|
1128
|
+
type?: string;
|
|
1129
|
+
webhookParam?: ListAlertActionsResponseBodyAlertActionsWebhookParam;
|
|
1130
|
+
static names(): {
|
|
1131
|
+
[key: string]: string;
|
|
1132
|
+
};
|
|
1133
|
+
static types(): {
|
|
1134
|
+
[key: string]: any;
|
|
1135
|
+
};
|
|
1136
|
+
constructor(map?: {
|
|
1137
|
+
[key: string]: any;
|
|
1138
|
+
});
|
|
1139
|
+
}
|
|
1140
|
+
export default class Client extends OpenApi {
|
|
1141
|
+
constructor(config: $OpenApi.Config);
|
|
1142
|
+
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
1143
|
+
[key: string]: string;
|
|
1144
|
+
}, endpoint: string): string;
|
|
1145
|
+
/**
|
|
1146
|
+
* 查询告警动作
|
|
1147
|
+
*
|
|
1148
|
+
* @param tmpReq - ListAlertActionsRequest
|
|
1149
|
+
* @param headers - map
|
|
1150
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1151
|
+
* @returns ListAlertActionsResponse
|
|
1152
|
+
*/
|
|
1153
|
+
listAlertActionsWithOptions(tmpReq: ListAlertActionsRequest, headers: {
|
|
1154
|
+
[key: string]: string;
|
|
1155
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListAlertActionsResponse>;
|
|
1156
|
+
/**
|
|
1157
|
+
* 查询告警动作
|
|
1158
|
+
*
|
|
1159
|
+
* @param request - ListAlertActionsRequest
|
|
1160
|
+
* @returns ListAlertActionsResponse
|
|
1161
|
+
*/
|
|
1162
|
+
listAlertActions(request: ListAlertActionsRequest): Promise<ListAlertActionsResponse>;
|
|
1163
|
+
}
|