@alicloud/cms20190101 2.0.7 → 2.0.9
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/dist/client.d.ts +632 -278
- package/dist/client.js +794 -278
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +931 -280
package/src/client.ts
CHANGED
|
@@ -270,6 +270,46 @@ export class MetricStat extends $tea.Model {
|
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
+
export class MigrationJob extends $tea.Model {
|
|
274
|
+
createTime?: string;
|
|
275
|
+
detail?: string;
|
|
276
|
+
jobStatus?: string;
|
|
277
|
+
plan?: MigrationJobPlan;
|
|
278
|
+
ruleNames?: string[];
|
|
279
|
+
source?: MigrationJobSource[];
|
|
280
|
+
updateTime?: string;
|
|
281
|
+
uuid?: string;
|
|
282
|
+
static names(): { [key: string]: string } {
|
|
283
|
+
return {
|
|
284
|
+
createTime: 'CreateTime',
|
|
285
|
+
detail: 'Detail',
|
|
286
|
+
jobStatus: 'JobStatus',
|
|
287
|
+
plan: 'Plan',
|
|
288
|
+
ruleNames: 'RuleNames',
|
|
289
|
+
source: 'Source',
|
|
290
|
+
updateTime: 'UpdateTime',
|
|
291
|
+
uuid: 'Uuid',
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
static types(): { [key: string]: any } {
|
|
296
|
+
return {
|
|
297
|
+
createTime: 'string',
|
|
298
|
+
detail: 'string',
|
|
299
|
+
jobStatus: 'string',
|
|
300
|
+
plan: MigrationJobPlan,
|
|
301
|
+
ruleNames: { 'type': 'array', 'itemType': 'string' },
|
|
302
|
+
source: { 'type': 'array', 'itemType': MigrationJobSource },
|
|
303
|
+
updateTime: 'string',
|
|
304
|
+
uuid: 'string',
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
constructor(map?: { [key: string]: any }) {
|
|
309
|
+
super(map);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
273
313
|
export class NotificationStrategy extends $tea.Model {
|
|
274
314
|
createTime?: string;
|
|
275
315
|
description?: string;
|
|
@@ -5431,6 +5471,7 @@ export class DescribeAlertLogListResponse extends $tea.Model {
|
|
|
5431
5471
|
}
|
|
5432
5472
|
|
|
5433
5473
|
export class DescribeAlertingMetricRuleResourcesRequest extends $tea.Model {
|
|
5474
|
+
alertBeforeTime?: string;
|
|
5434
5475
|
dimensions?: string;
|
|
5435
5476
|
groupId?: string;
|
|
5436
5477
|
namespace?: string;
|
|
@@ -5440,6 +5481,7 @@ export class DescribeAlertingMetricRuleResourcesRequest extends $tea.Model {
|
|
|
5440
5481
|
ruleId?: string;
|
|
5441
5482
|
static names(): { [key: string]: string } {
|
|
5442
5483
|
return {
|
|
5484
|
+
alertBeforeTime: 'AlertBeforeTime',
|
|
5443
5485
|
dimensions: 'Dimensions',
|
|
5444
5486
|
groupId: 'GroupId',
|
|
5445
5487
|
namespace: 'Namespace',
|
|
@@ -5452,6 +5494,7 @@ export class DescribeAlertingMetricRuleResourcesRequest extends $tea.Model {
|
|
|
5452
5494
|
|
|
5453
5495
|
static types(): { [key: string]: any } {
|
|
5454
5496
|
return {
|
|
5497
|
+
alertBeforeTime: 'string',
|
|
5455
5498
|
dimensions: 'string',
|
|
5456
5499
|
groupId: 'string',
|
|
5457
5500
|
namespace: 'string',
|
|
@@ -6344,6 +6387,7 @@ export class DescribeEventRuleAttributeResponse extends $tea.Model {
|
|
|
6344
6387
|
|
|
6345
6388
|
export class DescribeEventRuleListRequest extends $tea.Model {
|
|
6346
6389
|
groupId?: string;
|
|
6390
|
+
isEnable?: boolean;
|
|
6347
6391
|
namePrefix?: string;
|
|
6348
6392
|
pageNumber?: string;
|
|
6349
6393
|
pageSize?: string;
|
|
@@ -6351,6 +6395,7 @@ export class DescribeEventRuleListRequest extends $tea.Model {
|
|
|
6351
6395
|
static names(): { [key: string]: string } {
|
|
6352
6396
|
return {
|
|
6353
6397
|
groupId: 'GroupId',
|
|
6398
|
+
isEnable: 'IsEnable',
|
|
6354
6399
|
namePrefix: 'NamePrefix',
|
|
6355
6400
|
pageNumber: 'PageNumber',
|
|
6356
6401
|
pageSize: 'PageSize',
|
|
@@ -6361,6 +6406,7 @@ export class DescribeEventRuleListRequest extends $tea.Model {
|
|
|
6361
6406
|
static types(): { [key: string]: any } {
|
|
6362
6407
|
return {
|
|
6363
6408
|
groupId: 'string',
|
|
6409
|
+
isEnable: 'boolean',
|
|
6364
6410
|
namePrefix: 'string',
|
|
6365
6411
|
pageNumber: 'string',
|
|
6366
6412
|
pageSize: 'string',
|
|
@@ -15228,6 +15274,506 @@ export class EscalationRuleEscalations extends $tea.Model {
|
|
|
15228
15274
|
}
|
|
15229
15275
|
}
|
|
15230
15276
|
|
|
15277
|
+
export class MigrationJobPlanContactsChannels extends $tea.Model {
|
|
15278
|
+
level?: number;
|
|
15279
|
+
type?: string;
|
|
15280
|
+
value?: string;
|
|
15281
|
+
static names(): { [key: string]: string } {
|
|
15282
|
+
return {
|
|
15283
|
+
level: 'Level',
|
|
15284
|
+
type: 'Type',
|
|
15285
|
+
value: 'Value',
|
|
15286
|
+
};
|
|
15287
|
+
}
|
|
15288
|
+
|
|
15289
|
+
static types(): { [key: string]: any } {
|
|
15290
|
+
return {
|
|
15291
|
+
level: 'number',
|
|
15292
|
+
type: 'string',
|
|
15293
|
+
value: 'string',
|
|
15294
|
+
};
|
|
15295
|
+
}
|
|
15296
|
+
|
|
15297
|
+
constructor(map?: { [key: string]: any }) {
|
|
15298
|
+
super(map);
|
|
15299
|
+
}
|
|
15300
|
+
}
|
|
15301
|
+
|
|
15302
|
+
export class MigrationJobPlanContacts extends $tea.Model {
|
|
15303
|
+
channels?: MigrationJobPlanContactsChannels[];
|
|
15304
|
+
name?: string;
|
|
15305
|
+
static names(): { [key: string]: string } {
|
|
15306
|
+
return {
|
|
15307
|
+
channels: 'Channels',
|
|
15308
|
+
name: 'Name',
|
|
15309
|
+
};
|
|
15310
|
+
}
|
|
15311
|
+
|
|
15312
|
+
static types(): { [key: string]: any } {
|
|
15313
|
+
return {
|
|
15314
|
+
channels: { 'type': 'array', 'itemType': MigrationJobPlanContactsChannels },
|
|
15315
|
+
name: 'string',
|
|
15316
|
+
};
|
|
15317
|
+
}
|
|
15318
|
+
|
|
15319
|
+
constructor(map?: { [key: string]: any }) {
|
|
15320
|
+
super(map);
|
|
15321
|
+
}
|
|
15322
|
+
}
|
|
15323
|
+
|
|
15324
|
+
export class MigrationJobPlanEscalationsEscalationsLevelGroups extends $tea.Model {
|
|
15325
|
+
critical?: string[];
|
|
15326
|
+
info?: string[];
|
|
15327
|
+
resolved?: string[];
|
|
15328
|
+
warning?: string[];
|
|
15329
|
+
static names(): { [key: string]: string } {
|
|
15330
|
+
return {
|
|
15331
|
+
critical: 'Critical',
|
|
15332
|
+
info: 'Info',
|
|
15333
|
+
resolved: 'Resolved',
|
|
15334
|
+
warning: 'Warning',
|
|
15335
|
+
};
|
|
15336
|
+
}
|
|
15337
|
+
|
|
15338
|
+
static types(): { [key: string]: any } {
|
|
15339
|
+
return {
|
|
15340
|
+
critical: { 'type': 'array', 'itemType': 'string' },
|
|
15341
|
+
info: { 'type': 'array', 'itemType': 'string' },
|
|
15342
|
+
resolved: { 'type': 'array', 'itemType': 'string' },
|
|
15343
|
+
warning: { 'type': 'array', 'itemType': 'string' },
|
|
15344
|
+
};
|
|
15345
|
+
}
|
|
15346
|
+
|
|
15347
|
+
constructor(map?: { [key: string]: any }) {
|
|
15348
|
+
super(map);
|
|
15349
|
+
}
|
|
15350
|
+
}
|
|
15351
|
+
|
|
15352
|
+
export class MigrationJobPlanEscalationsEscalations extends $tea.Model {
|
|
15353
|
+
groups?: string[];
|
|
15354
|
+
levelGroups?: MigrationJobPlanEscalationsEscalationsLevelGroups;
|
|
15355
|
+
static names(): { [key: string]: string } {
|
|
15356
|
+
return {
|
|
15357
|
+
groups: 'Groups',
|
|
15358
|
+
levelGroups: 'LevelGroups',
|
|
15359
|
+
};
|
|
15360
|
+
}
|
|
15361
|
+
|
|
15362
|
+
static types(): { [key: string]: any } {
|
|
15363
|
+
return {
|
|
15364
|
+
groups: { 'type': 'array', 'itemType': 'string' },
|
|
15365
|
+
levelGroups: MigrationJobPlanEscalationsEscalationsLevelGroups,
|
|
15366
|
+
};
|
|
15367
|
+
}
|
|
15368
|
+
|
|
15369
|
+
constructor(map?: { [key: string]: any }) {
|
|
15370
|
+
super(map);
|
|
15371
|
+
}
|
|
15372
|
+
}
|
|
15373
|
+
|
|
15374
|
+
export class MigrationJobPlanEscalations extends $tea.Model {
|
|
15375
|
+
escalations?: MigrationJobPlanEscalationsEscalations[];
|
|
15376
|
+
name?: string;
|
|
15377
|
+
uuid?: string;
|
|
15378
|
+
static names(): { [key: string]: string } {
|
|
15379
|
+
return {
|
|
15380
|
+
escalations: 'Escalations',
|
|
15381
|
+
name: 'Name',
|
|
15382
|
+
uuid: 'Uuid',
|
|
15383
|
+
};
|
|
15384
|
+
}
|
|
15385
|
+
|
|
15386
|
+
static types(): { [key: string]: any } {
|
|
15387
|
+
return {
|
|
15388
|
+
escalations: { 'type': 'array', 'itemType': MigrationJobPlanEscalationsEscalations },
|
|
15389
|
+
name: 'string',
|
|
15390
|
+
uuid: 'string',
|
|
15391
|
+
};
|
|
15392
|
+
}
|
|
15393
|
+
|
|
15394
|
+
constructor(map?: { [key: string]: any }) {
|
|
15395
|
+
super(map);
|
|
15396
|
+
}
|
|
15397
|
+
}
|
|
15398
|
+
|
|
15399
|
+
export class MigrationJobPlanGroups extends $tea.Model {
|
|
15400
|
+
contacts?: string[];
|
|
15401
|
+
name?: string;
|
|
15402
|
+
static names(): { [key: string]: string } {
|
|
15403
|
+
return {
|
|
15404
|
+
contacts: 'Contacts',
|
|
15405
|
+
name: 'Name',
|
|
15406
|
+
};
|
|
15407
|
+
}
|
|
15408
|
+
|
|
15409
|
+
static types(): { [key: string]: any } {
|
|
15410
|
+
return {
|
|
15411
|
+
contacts: { 'type': 'array', 'itemType': 'string' },
|
|
15412
|
+
name: 'string',
|
|
15413
|
+
};
|
|
15414
|
+
}
|
|
15415
|
+
|
|
15416
|
+
constructor(map?: { [key: string]: any }) {
|
|
15417
|
+
super(map);
|
|
15418
|
+
}
|
|
15419
|
+
}
|
|
15420
|
+
|
|
15421
|
+
export class MigrationJobPlanStrategiesEscalationSetting extends $tea.Model {
|
|
15422
|
+
escalationUuid?: string;
|
|
15423
|
+
static names(): { [key: string]: string } {
|
|
15424
|
+
return {
|
|
15425
|
+
escalationUuid: 'escalationUuid',
|
|
15426
|
+
};
|
|
15427
|
+
}
|
|
15428
|
+
|
|
15429
|
+
static types(): { [key: string]: any } {
|
|
15430
|
+
return {
|
|
15431
|
+
escalationUuid: 'string',
|
|
15432
|
+
};
|
|
15433
|
+
}
|
|
15434
|
+
|
|
15435
|
+
constructor(map?: { [key: string]: any }) {
|
|
15436
|
+
super(map);
|
|
15437
|
+
}
|
|
15438
|
+
}
|
|
15439
|
+
|
|
15440
|
+
export class MigrationJobPlanStrategiesPushingSetting extends $tea.Model {
|
|
15441
|
+
targetUuids?: string[];
|
|
15442
|
+
static names(): { [key: string]: string } {
|
|
15443
|
+
return {
|
|
15444
|
+
targetUuids: 'TargetUuids',
|
|
15445
|
+
};
|
|
15446
|
+
}
|
|
15447
|
+
|
|
15448
|
+
static types(): { [key: string]: any } {
|
|
15449
|
+
return {
|
|
15450
|
+
targetUuids: { 'type': 'array', 'itemType': 'string' },
|
|
15451
|
+
};
|
|
15452
|
+
}
|
|
15453
|
+
|
|
15454
|
+
constructor(map?: { [key: string]: any }) {
|
|
15455
|
+
super(map);
|
|
15456
|
+
}
|
|
15457
|
+
}
|
|
15458
|
+
|
|
15459
|
+
export class MigrationJobPlanStrategies extends $tea.Model {
|
|
15460
|
+
escalationSetting?: MigrationJobPlanStrategiesEscalationSetting;
|
|
15461
|
+
name?: string;
|
|
15462
|
+
pushingSetting?: MigrationJobPlanStrategiesPushingSetting;
|
|
15463
|
+
static names(): { [key: string]: string } {
|
|
15464
|
+
return {
|
|
15465
|
+
escalationSetting: 'EscalationSetting',
|
|
15466
|
+
name: 'Name',
|
|
15467
|
+
pushingSetting: 'PushingSetting',
|
|
15468
|
+
};
|
|
15469
|
+
}
|
|
15470
|
+
|
|
15471
|
+
static types(): { [key: string]: any } {
|
|
15472
|
+
return {
|
|
15473
|
+
escalationSetting: MigrationJobPlanStrategiesEscalationSetting,
|
|
15474
|
+
name: 'string',
|
|
15475
|
+
pushingSetting: MigrationJobPlanStrategiesPushingSetting,
|
|
15476
|
+
};
|
|
15477
|
+
}
|
|
15478
|
+
|
|
15479
|
+
constructor(map?: { [key: string]: any }) {
|
|
15480
|
+
super(map);
|
|
15481
|
+
}
|
|
15482
|
+
}
|
|
15483
|
+
|
|
15484
|
+
export class MigrationJobPlanSubscriptionsConditions extends $tea.Model {
|
|
15485
|
+
field?: string;
|
|
15486
|
+
op?: string;
|
|
15487
|
+
value?: string;
|
|
15488
|
+
static names(): { [key: string]: string } {
|
|
15489
|
+
return {
|
|
15490
|
+
field: 'Field',
|
|
15491
|
+
op: 'Op',
|
|
15492
|
+
value: 'Value',
|
|
15493
|
+
};
|
|
15494
|
+
}
|
|
15495
|
+
|
|
15496
|
+
static types(): { [key: string]: any } {
|
|
15497
|
+
return {
|
|
15498
|
+
field: 'string',
|
|
15499
|
+
op: 'string',
|
|
15500
|
+
value: 'string',
|
|
15501
|
+
};
|
|
15502
|
+
}
|
|
15503
|
+
|
|
15504
|
+
constructor(map?: { [key: string]: any }) {
|
|
15505
|
+
super(map);
|
|
15506
|
+
}
|
|
15507
|
+
}
|
|
15508
|
+
|
|
15509
|
+
export class MigrationJobPlanSubscriptions extends $tea.Model {
|
|
15510
|
+
conditions?: MigrationJobPlanSubscriptionsConditions[];
|
|
15511
|
+
name?: string;
|
|
15512
|
+
strategyUuid?: string;
|
|
15513
|
+
static names(): { [key: string]: string } {
|
|
15514
|
+
return {
|
|
15515
|
+
conditions: 'Conditions',
|
|
15516
|
+
name: 'Name',
|
|
15517
|
+
strategyUuid: 'StrategyUuid',
|
|
15518
|
+
};
|
|
15519
|
+
}
|
|
15520
|
+
|
|
15521
|
+
static types(): { [key: string]: any } {
|
|
15522
|
+
return {
|
|
15523
|
+
conditions: { 'type': 'array', 'itemType': MigrationJobPlanSubscriptionsConditions },
|
|
15524
|
+
name: 'string',
|
|
15525
|
+
strategyUuid: 'string',
|
|
15526
|
+
};
|
|
15527
|
+
}
|
|
15528
|
+
|
|
15529
|
+
constructor(map?: { [key: string]: any }) {
|
|
15530
|
+
super(map);
|
|
15531
|
+
}
|
|
15532
|
+
}
|
|
15533
|
+
|
|
15534
|
+
export class MigrationJobPlanTargetsHttpRequestTarget extends $tea.Model {
|
|
15535
|
+
contentType?: string;
|
|
15536
|
+
method?: string;
|
|
15537
|
+
url?: string;
|
|
15538
|
+
static names(): { [key: string]: string } {
|
|
15539
|
+
return {
|
|
15540
|
+
contentType: 'ContentType',
|
|
15541
|
+
method: 'Method',
|
|
15542
|
+
url: 'Url',
|
|
15543
|
+
};
|
|
15544
|
+
}
|
|
15545
|
+
|
|
15546
|
+
static types(): { [key: string]: any } {
|
|
15547
|
+
return {
|
|
15548
|
+
contentType: 'string',
|
|
15549
|
+
method: 'string',
|
|
15550
|
+
url: 'string',
|
|
15551
|
+
};
|
|
15552
|
+
}
|
|
15553
|
+
|
|
15554
|
+
constructor(map?: { [key: string]: any }) {
|
|
15555
|
+
super(map);
|
|
15556
|
+
}
|
|
15557
|
+
}
|
|
15558
|
+
|
|
15559
|
+
export class MigrationJobPlanTargets extends $tea.Model {
|
|
15560
|
+
arn?: string;
|
|
15561
|
+
httpRequestTarget?: MigrationJobPlanTargetsHttpRequestTarget;
|
|
15562
|
+
name?: string;
|
|
15563
|
+
type?: string;
|
|
15564
|
+
uuid?: string;
|
|
15565
|
+
static names(): { [key: string]: string } {
|
|
15566
|
+
return {
|
|
15567
|
+
arn: 'Arn',
|
|
15568
|
+
httpRequestTarget: 'HttpRequestTarget',
|
|
15569
|
+
name: 'Name',
|
|
15570
|
+
type: 'Type',
|
|
15571
|
+
uuid: 'Uuid',
|
|
15572
|
+
};
|
|
15573
|
+
}
|
|
15574
|
+
|
|
15575
|
+
static types(): { [key: string]: any } {
|
|
15576
|
+
return {
|
|
15577
|
+
arn: 'string',
|
|
15578
|
+
httpRequestTarget: MigrationJobPlanTargetsHttpRequestTarget,
|
|
15579
|
+
name: 'string',
|
|
15580
|
+
type: 'string',
|
|
15581
|
+
uuid: 'string',
|
|
15582
|
+
};
|
|
15583
|
+
}
|
|
15584
|
+
|
|
15585
|
+
constructor(map?: { [key: string]: any }) {
|
|
15586
|
+
super(map);
|
|
15587
|
+
}
|
|
15588
|
+
}
|
|
15589
|
+
|
|
15590
|
+
export class MigrationJobPlan extends $tea.Model {
|
|
15591
|
+
contacts?: MigrationJobPlanContacts[];
|
|
15592
|
+
escalations?: MigrationJobPlanEscalations[];
|
|
15593
|
+
groups?: MigrationJobPlanGroups[];
|
|
15594
|
+
ruleNames?: string[];
|
|
15595
|
+
strategies?: MigrationJobPlanStrategies[];
|
|
15596
|
+
subscriptions?: MigrationJobPlanSubscriptions[];
|
|
15597
|
+
targets?: MigrationJobPlanTargets[];
|
|
15598
|
+
static names(): { [key: string]: string } {
|
|
15599
|
+
return {
|
|
15600
|
+
contacts: 'Contacts',
|
|
15601
|
+
escalations: 'Escalations',
|
|
15602
|
+
groups: 'Groups',
|
|
15603
|
+
ruleNames: 'RuleNames',
|
|
15604
|
+
strategies: 'Strategies',
|
|
15605
|
+
subscriptions: 'Subscriptions',
|
|
15606
|
+
targets: 'Targets',
|
|
15607
|
+
};
|
|
15608
|
+
}
|
|
15609
|
+
|
|
15610
|
+
static types(): { [key: string]: any } {
|
|
15611
|
+
return {
|
|
15612
|
+
contacts: { 'type': 'array', 'itemType': MigrationJobPlanContacts },
|
|
15613
|
+
escalations: { 'type': 'array', 'itemType': MigrationJobPlanEscalations },
|
|
15614
|
+
groups: { 'type': 'array', 'itemType': MigrationJobPlanGroups },
|
|
15615
|
+
ruleNames: { 'type': 'array', 'itemType': 'string' },
|
|
15616
|
+
strategies: { 'type': 'array', 'itemType': MigrationJobPlanStrategies },
|
|
15617
|
+
subscriptions: { 'type': 'array', 'itemType': MigrationJobPlanSubscriptions },
|
|
15618
|
+
targets: { 'type': 'array', 'itemType': MigrationJobPlanTargets },
|
|
15619
|
+
};
|
|
15620
|
+
}
|
|
15621
|
+
|
|
15622
|
+
constructor(map?: { [key: string]: any }) {
|
|
15623
|
+
super(map);
|
|
15624
|
+
}
|
|
15625
|
+
}
|
|
15626
|
+
|
|
15627
|
+
export class MigrationJobSourceRuleKeywordFilter extends $tea.Model {
|
|
15628
|
+
keywords?: string[];
|
|
15629
|
+
relation?: string;
|
|
15630
|
+
static names(): { [key: string]: string } {
|
|
15631
|
+
return {
|
|
15632
|
+
keywords: 'Keywords',
|
|
15633
|
+
relation: 'Relation',
|
|
15634
|
+
};
|
|
15635
|
+
}
|
|
15636
|
+
|
|
15637
|
+
static types(): { [key: string]: any } {
|
|
15638
|
+
return {
|
|
15639
|
+
keywords: { 'type': 'array', 'itemType': 'string' },
|
|
15640
|
+
relation: 'string',
|
|
15641
|
+
};
|
|
15642
|
+
}
|
|
15643
|
+
|
|
15644
|
+
constructor(map?: { [key: string]: any }) {
|
|
15645
|
+
super(map);
|
|
15646
|
+
}
|
|
15647
|
+
}
|
|
15648
|
+
|
|
15649
|
+
export class MigrationJobSourceRulePrimaryFilters extends $tea.Model {
|
|
15650
|
+
field?: string;
|
|
15651
|
+
opType?: string;
|
|
15652
|
+
value?: string;
|
|
15653
|
+
static names(): { [key: string]: string } {
|
|
15654
|
+
return {
|
|
15655
|
+
field: 'Field',
|
|
15656
|
+
opType: 'OpType',
|
|
15657
|
+
value: 'Value',
|
|
15658
|
+
};
|
|
15659
|
+
}
|
|
15660
|
+
|
|
15661
|
+
static types(): { [key: string]: any } {
|
|
15662
|
+
return {
|
|
15663
|
+
field: 'string',
|
|
15664
|
+
opType: 'string',
|
|
15665
|
+
value: 'string',
|
|
15666
|
+
};
|
|
15667
|
+
}
|
|
15668
|
+
|
|
15669
|
+
constructor(map?: { [key: string]: any }) {
|
|
15670
|
+
super(map);
|
|
15671
|
+
}
|
|
15672
|
+
}
|
|
15673
|
+
|
|
15674
|
+
export class MigrationJobSourceRule extends $tea.Model {
|
|
15675
|
+
keywordFilter?: MigrationJobSourceRuleKeywordFilter;
|
|
15676
|
+
name?: string;
|
|
15677
|
+
primaryFilters?: MigrationJobSourceRulePrimaryFilters[];
|
|
15678
|
+
static names(): { [key: string]: string } {
|
|
15679
|
+
return {
|
|
15680
|
+
keywordFilter: 'KeywordFilter',
|
|
15681
|
+
name: 'Name',
|
|
15682
|
+
primaryFilters: 'PrimaryFilters',
|
|
15683
|
+
};
|
|
15684
|
+
}
|
|
15685
|
+
|
|
15686
|
+
static types(): { [key: string]: any } {
|
|
15687
|
+
return {
|
|
15688
|
+
keywordFilter: MigrationJobSourceRuleKeywordFilter,
|
|
15689
|
+
name: 'string',
|
|
15690
|
+
primaryFilters: { 'type': 'array', 'itemType': MigrationJobSourceRulePrimaryFilters },
|
|
15691
|
+
};
|
|
15692
|
+
}
|
|
15693
|
+
|
|
15694
|
+
constructor(map?: { [key: string]: any }) {
|
|
15695
|
+
super(map);
|
|
15696
|
+
}
|
|
15697
|
+
}
|
|
15698
|
+
|
|
15699
|
+
export class MigrationJobSourceTargetsContent extends $tea.Model {
|
|
15700
|
+
group?: string;
|
|
15701
|
+
level?: string;
|
|
15702
|
+
method?: string;
|
|
15703
|
+
region?: string;
|
|
15704
|
+
resourcePath?: string;
|
|
15705
|
+
url?: string;
|
|
15706
|
+
static names(): { [key: string]: string } {
|
|
15707
|
+
return {
|
|
15708
|
+
group: 'Group',
|
|
15709
|
+
level: 'Level',
|
|
15710
|
+
method: 'Method',
|
|
15711
|
+
region: 'Region',
|
|
15712
|
+
resourcePath: 'ResourcePath',
|
|
15713
|
+
url: 'Url',
|
|
15714
|
+
};
|
|
15715
|
+
}
|
|
15716
|
+
|
|
15717
|
+
static types(): { [key: string]: any } {
|
|
15718
|
+
return {
|
|
15719
|
+
group: 'string',
|
|
15720
|
+
level: 'string',
|
|
15721
|
+
method: 'string',
|
|
15722
|
+
region: 'string',
|
|
15723
|
+
resourcePath: 'string',
|
|
15724
|
+
url: 'string',
|
|
15725
|
+
};
|
|
15726
|
+
}
|
|
15727
|
+
|
|
15728
|
+
constructor(map?: { [key: string]: any }) {
|
|
15729
|
+
super(map);
|
|
15730
|
+
}
|
|
15731
|
+
}
|
|
15732
|
+
|
|
15733
|
+
export class MigrationJobSourceTargets extends $tea.Model {
|
|
15734
|
+
content?: MigrationJobSourceTargetsContent;
|
|
15735
|
+
type?: string;
|
|
15736
|
+
static names(): { [key: string]: string } {
|
|
15737
|
+
return {
|
|
15738
|
+
content: 'Content',
|
|
15739
|
+
type: 'Type',
|
|
15740
|
+
};
|
|
15741
|
+
}
|
|
15742
|
+
|
|
15743
|
+
static types(): { [key: string]: any } {
|
|
15744
|
+
return {
|
|
15745
|
+
content: MigrationJobSourceTargetsContent,
|
|
15746
|
+
type: 'string',
|
|
15747
|
+
};
|
|
15748
|
+
}
|
|
15749
|
+
|
|
15750
|
+
constructor(map?: { [key: string]: any }) {
|
|
15751
|
+
super(map);
|
|
15752
|
+
}
|
|
15753
|
+
}
|
|
15754
|
+
|
|
15755
|
+
export class MigrationJobSource extends $tea.Model {
|
|
15756
|
+
rule?: MigrationJobSourceRule;
|
|
15757
|
+
targets?: MigrationJobSourceTargets[];
|
|
15758
|
+
static names(): { [key: string]: string } {
|
|
15759
|
+
return {
|
|
15760
|
+
rule: 'Rule',
|
|
15761
|
+
targets: 'Targets',
|
|
15762
|
+
};
|
|
15763
|
+
}
|
|
15764
|
+
|
|
15765
|
+
static types(): { [key: string]: any } {
|
|
15766
|
+
return {
|
|
15767
|
+
rule: MigrationJobSourceRule,
|
|
15768
|
+
targets: { 'type': 'array', 'itemType': MigrationJobSourceTargets },
|
|
15769
|
+
};
|
|
15770
|
+
}
|
|
15771
|
+
|
|
15772
|
+
constructor(map?: { [key: string]: any }) {
|
|
15773
|
+
super(map);
|
|
15774
|
+
}
|
|
15775
|
+
}
|
|
15776
|
+
|
|
15231
15777
|
export class NotificationStrategyEscalationSettingCustomChannels extends $tea.Model {
|
|
15232
15778
|
channelType?: string;
|
|
15233
15779
|
severities?: string[];
|
|
@@ -18543,6 +19089,47 @@ export class DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeLi
|
|
|
18543
19089
|
}
|
|
18544
19090
|
}
|
|
18545
19091
|
|
|
19092
|
+
export class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords extends $tea.Model {
|
|
19093
|
+
keyword?: string[];
|
|
19094
|
+
static names(): { [key: string]: string } {
|
|
19095
|
+
return {
|
|
19096
|
+
keyword: 'keyword',
|
|
19097
|
+
};
|
|
19098
|
+
}
|
|
19099
|
+
|
|
19100
|
+
static types(): { [key: string]: any } {
|
|
19101
|
+
return {
|
|
19102
|
+
keyword: { 'type': 'array', 'itemType': 'string' },
|
|
19103
|
+
};
|
|
19104
|
+
}
|
|
19105
|
+
|
|
19106
|
+
constructor(map?: { [key: string]: any }) {
|
|
19107
|
+
super(map);
|
|
19108
|
+
}
|
|
19109
|
+
}
|
|
19110
|
+
|
|
19111
|
+
export class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj extends $tea.Model {
|
|
19112
|
+
keywords?: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords;
|
|
19113
|
+
relation?: string;
|
|
19114
|
+
static names(): { [key: string]: string } {
|
|
19115
|
+
return {
|
|
19116
|
+
keywords: 'Keywords',
|
|
19117
|
+
relation: 'Relation',
|
|
19118
|
+
};
|
|
19119
|
+
}
|
|
19120
|
+
|
|
19121
|
+
static types(): { [key: string]: any } {
|
|
19122
|
+
return {
|
|
19123
|
+
keywords: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords,
|
|
19124
|
+
relation: 'string',
|
|
19125
|
+
};
|
|
19126
|
+
}
|
|
19127
|
+
|
|
19128
|
+
constructor(map?: { [key: string]: any }) {
|
|
19129
|
+
super(map);
|
|
19130
|
+
}
|
|
19131
|
+
}
|
|
19132
|
+
|
|
18546
19133
|
export class DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList extends $tea.Model {
|
|
18547
19134
|
levelList?: string[];
|
|
18548
19135
|
static names(): { [key: string]: string } {
|
|
@@ -18602,16 +19189,20 @@ export class DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList
|
|
|
18602
19189
|
|
|
18603
19190
|
export class DescribeEventRuleAttributeResponseBodyResultEventPattern extends $tea.Model {
|
|
18604
19191
|
eventTypeList?: DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList;
|
|
19192
|
+
keywordFilterObj?: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj;
|
|
18605
19193
|
levelList?: DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList;
|
|
18606
19194
|
nameList?: DescribeEventRuleAttributeResponseBodyResultEventPatternNameList;
|
|
18607
19195
|
product?: string;
|
|
19196
|
+
SQLFilter?: string;
|
|
18608
19197
|
statusList?: DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList;
|
|
18609
19198
|
static names(): { [key: string]: string } {
|
|
18610
19199
|
return {
|
|
18611
19200
|
eventTypeList: 'EventTypeList',
|
|
19201
|
+
keywordFilterObj: 'KeywordFilterObj',
|
|
18612
19202
|
levelList: 'LevelList',
|
|
18613
19203
|
nameList: 'NameList',
|
|
18614
19204
|
product: 'Product',
|
|
19205
|
+
SQLFilter: 'SQLFilter',
|
|
18615
19206
|
statusList: 'StatusList',
|
|
18616
19207
|
};
|
|
18617
19208
|
}
|
|
@@ -18619,9 +19210,11 @@ export class DescribeEventRuleAttributeResponseBodyResultEventPattern extends $t
|
|
|
18619
19210
|
static types(): { [key: string]: any } {
|
|
18620
19211
|
return {
|
|
18621
19212
|
eventTypeList: DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList,
|
|
19213
|
+
keywordFilterObj: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj,
|
|
18622
19214
|
levelList: DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList,
|
|
18623
19215
|
nameList: DescribeEventRuleAttributeResponseBodyResultEventPatternNameList,
|
|
18624
19216
|
product: 'string',
|
|
19217
|
+
SQLFilter: 'string',
|
|
18625
19218
|
statusList: DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList,
|
|
18626
19219
|
};
|
|
18627
19220
|
}
|
|
@@ -22267,6 +22860,31 @@ export class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSMS e
|
|
|
22267
22860
|
}
|
|
22268
22861
|
}
|
|
22269
22862
|
|
|
22863
|
+
export class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser extends $tea.Model {
|
|
22864
|
+
quotaLimit?: number;
|
|
22865
|
+
quotaPackage?: number;
|
|
22866
|
+
quotaUsed?: number;
|
|
22867
|
+
static names(): { [key: string]: string } {
|
|
22868
|
+
return {
|
|
22869
|
+
quotaLimit: 'QuotaLimit',
|
|
22870
|
+
quotaPackage: 'QuotaPackage',
|
|
22871
|
+
quotaUsed: 'QuotaUsed',
|
|
22872
|
+
};
|
|
22873
|
+
}
|
|
22874
|
+
|
|
22875
|
+
static types(): { [key: string]: any } {
|
|
22876
|
+
return {
|
|
22877
|
+
quotaLimit: 'number',
|
|
22878
|
+
quotaPackage: 'number',
|
|
22879
|
+
quotaUsed: 'number',
|
|
22880
|
+
};
|
|
22881
|
+
}
|
|
22882
|
+
|
|
22883
|
+
constructor(map?: { [key: string]: any }) {
|
|
22884
|
+
super(map);
|
|
22885
|
+
}
|
|
22886
|
+
}
|
|
22887
|
+
|
|
22270
22888
|
export class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe extends $tea.Model {
|
|
22271
22889
|
quotaLimit?: number;
|
|
22272
22890
|
quotaPackage?: number;
|
|
@@ -22292,6 +22910,31 @@ export class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteM
|
|
|
22292
22910
|
}
|
|
22293
22911
|
}
|
|
22294
22912
|
|
|
22913
|
+
export class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile extends $tea.Model {
|
|
22914
|
+
quotaLimit?: number;
|
|
22915
|
+
quotaPackage?: number;
|
|
22916
|
+
quotaUsed?: number;
|
|
22917
|
+
static names(): { [key: string]: string } {
|
|
22918
|
+
return {
|
|
22919
|
+
quotaLimit: 'QuotaLimit',
|
|
22920
|
+
quotaPackage: 'QuotaPackage',
|
|
22921
|
+
quotaUsed: 'QuotaUsed',
|
|
22922
|
+
};
|
|
22923
|
+
}
|
|
22924
|
+
|
|
22925
|
+
static types(): { [key: string]: any } {
|
|
22926
|
+
return {
|
|
22927
|
+
quotaLimit: 'number',
|
|
22928
|
+
quotaPackage: 'number',
|
|
22929
|
+
quotaUsed: 'number',
|
|
22930
|
+
};
|
|
22931
|
+
}
|
|
22932
|
+
|
|
22933
|
+
constructor(map?: { [key: string]: any }) {
|
|
22934
|
+
super(map);
|
|
22935
|
+
}
|
|
22936
|
+
}
|
|
22937
|
+
|
|
22295
22938
|
export class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorOperatorProbe extends $tea.Model {
|
|
22296
22939
|
quotaLimit?: number;
|
|
22297
22940
|
quotaPackage?: number;
|
|
@@ -22352,7 +22995,9 @@ export class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuota exte
|
|
|
22352
22995
|
logMonitor?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaLogMonitor;
|
|
22353
22996
|
phone?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaPhone;
|
|
22354
22997
|
SMS?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSMS;
|
|
22998
|
+
siteMonitorBrowser?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser;
|
|
22355
22999
|
siteMonitorEcsProbe?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe;
|
|
23000
|
+
siteMonitorMobile?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile;
|
|
22356
23001
|
siteMonitorOperatorProbe?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorOperatorProbe;
|
|
22357
23002
|
siteMonitorTask?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorTask;
|
|
22358
23003
|
suitInfo?: string;
|
|
@@ -22367,7 +23012,9 @@ export class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuota exte
|
|
|
22367
23012
|
logMonitor: 'LogMonitor',
|
|
22368
23013
|
phone: 'Phone',
|
|
22369
23014
|
SMS: 'SMS',
|
|
23015
|
+
siteMonitorBrowser: 'SiteMonitorBrowser',
|
|
22370
23016
|
siteMonitorEcsProbe: 'SiteMonitorEcsProbe',
|
|
23017
|
+
siteMonitorMobile: 'SiteMonitorMobile',
|
|
22371
23018
|
siteMonitorOperatorProbe: 'SiteMonitorOperatorProbe',
|
|
22372
23019
|
siteMonitorTask: 'SiteMonitorTask',
|
|
22373
23020
|
suitInfo: 'SuitInfo',
|
|
@@ -22385,7 +23032,9 @@ export class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuota exte
|
|
|
22385
23032
|
logMonitor: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaLogMonitor,
|
|
22386
23033
|
phone: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaPhone,
|
|
22387
23034
|
SMS: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSMS,
|
|
23035
|
+
siteMonitorBrowser: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser,
|
|
22388
23036
|
siteMonitorEcsProbe: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe,
|
|
23037
|
+
siteMonitorMobile: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile,
|
|
22389
23038
|
siteMonitorOperatorProbe: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorOperatorProbe,
|
|
22390
23039
|
siteMonitorTask: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorTask,
|
|
22391
23040
|
suitInfo: 'string',
|
|
@@ -23184,6 +23833,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
23184
23833
|
trafficHijackElementCount?: number;
|
|
23185
23834
|
trafficHijackElementWhitelist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist;
|
|
23186
23835
|
username?: string;
|
|
23836
|
+
waitTimeAfterCompletion?: number;
|
|
23187
23837
|
static names(): { [key: string]: string } {
|
|
23188
23838
|
return {
|
|
23189
23839
|
assertions: 'assertions',
|
|
@@ -23228,6 +23878,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
23228
23878
|
trafficHijackElementCount: 'traffic_hijack_element_count',
|
|
23229
23879
|
trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
|
|
23230
23880
|
username: 'username',
|
|
23881
|
+
waitTimeAfterCompletion: 'waitTime_after_completion',
|
|
23231
23882
|
};
|
|
23232
23883
|
}
|
|
23233
23884
|
|
|
@@ -23275,6 +23926,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
23275
23926
|
trafficHijackElementCount: 'number',
|
|
23276
23927
|
trafficHijackElementWhitelist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist,
|
|
23277
23928
|
username: 'string',
|
|
23929
|
+
waitTimeAfterCompletion: 'number',
|
|
23278
23930
|
};
|
|
23279
23931
|
}
|
|
23280
23932
|
|
|
@@ -26287,9 +26939,7 @@ export default class Client extends OpenApi {
|
|
|
26287
26939
|
}
|
|
26288
26940
|
|
|
26289
26941
|
/**
|
|
26290
|
-
*
|
|
26291
|
-
* * true: The call was successful.
|
|
26292
|
-
* * false: The call failed.
|
|
26942
|
+
* This topic provides an example on how to add a tag to an application group whose ID is `7301****`. In this example, the key of the tag is `key1` and the value of the tag is `value1`.
|
|
26293
26943
|
*
|
|
26294
26944
|
* @param request AddTagsRequest
|
|
26295
26945
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26324,9 +26974,7 @@ export default class Client extends OpenApi {
|
|
|
26324
26974
|
}
|
|
26325
26975
|
|
|
26326
26976
|
/**
|
|
26327
|
-
*
|
|
26328
|
-
* * true: The call was successful.
|
|
26329
|
-
* * false: The call failed.
|
|
26977
|
+
* This topic provides an example on how to add a tag to an application group whose ID is `7301****`. In this example, the key of the tag is `key1` and the value of the tag is `value1`.
|
|
26330
26978
|
*
|
|
26331
26979
|
* @param request AddTagsRequest
|
|
26332
26980
|
* @return AddTagsResponse
|
|
@@ -26337,8 +26985,7 @@ export default class Client extends OpenApi {
|
|
|
26337
26985
|
}
|
|
26338
26986
|
|
|
26339
26987
|
/**
|
|
26340
|
-
*
|
|
26341
|
-
* For more information about how to query the ID of an application group, see [DescribeMonitorGroups](~~115032~~).
|
|
26988
|
+
* In this example, the `700****` alert template is applied to the `123456` application group. For the generated alert rule, the ID is `applyTemplate8ab74c6b-9f27-47ab-8841-de01dc08****`, and the name is `test123`.
|
|
26342
26989
|
*
|
|
26343
26990
|
* @param request ApplyMetricRuleTemplateRequest
|
|
26344
26991
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26397,8 +27044,7 @@ export default class Client extends OpenApi {
|
|
|
26397
27044
|
}
|
|
26398
27045
|
|
|
26399
27046
|
/**
|
|
26400
|
-
*
|
|
26401
|
-
* For more information about how to query the ID of an application group, see [DescribeMonitorGroups](~~115032~~).
|
|
27047
|
+
* In this example, the `700****` alert template is applied to the `123456` application group. For the generated alert rule, the ID is `applyTemplate8ab74c6b-9f27-47ab-8841-de01dc08****`, and the name is `test123`.
|
|
26402
27048
|
*
|
|
26403
27049
|
* @param request ApplyMetricRuleTemplateRequest
|
|
26404
27050
|
* @return ApplyMetricRuleTemplateResponse
|
|
@@ -26409,7 +27055,7 @@ export default class Client extends OpenApi {
|
|
|
26409
27055
|
}
|
|
26410
27056
|
|
|
26411
27057
|
/**
|
|
26412
|
-
*
|
|
27058
|
+
* This topic provides an example on how to create a site monitoring task named `HangZhou_ECS1`. The URL that is monitored by the task is `https://www.aliyun.com` and the type of the task is `HTTP`. The returned result shows that the site monitoring task is created. The name of the site monitoring task is `HangZhou_ECS1` and the task ID is `679fbe4f-b80b-4706-91b2-5427b43e****`.
|
|
26413
27059
|
*
|
|
26414
27060
|
* @param request BatchCreateInstantSiteMonitorRequest
|
|
26415
27061
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26440,7 +27086,7 @@ export default class Client extends OpenApi {
|
|
|
26440
27086
|
}
|
|
26441
27087
|
|
|
26442
27088
|
/**
|
|
26443
|
-
*
|
|
27089
|
+
* This topic provides an example on how to create a site monitoring task named `HangZhou_ECS1`. The URL that is monitored by the task is `https://www.aliyun.com` and the type of the task is `HTTP`. The returned result shows that the site monitoring task is created. The name of the site monitoring task is `HangZhou_ECS1` and the task ID is `679fbe4f-b80b-4706-91b2-5427b43e****`.
|
|
26444
27090
|
*
|
|
26445
27091
|
* @param request BatchCreateInstantSiteMonitorRequest
|
|
26446
27092
|
* @return BatchCreateInstantSiteMonitorResponse
|
|
@@ -26494,6 +27140,16 @@ export default class Client extends OpenApi {
|
|
|
26494
27140
|
return await this.batchCreateIntantSiteMonitorWithOptions(request, runtime);
|
|
26495
27141
|
}
|
|
26496
27142
|
|
|
27143
|
+
/**
|
|
27144
|
+
* ### [](#)Prerequisites
|
|
27145
|
+
* The `Cursor` information is returned by calling the [Cursor](~~2330730~~) operation.
|
|
27146
|
+
* ### [](#)Description
|
|
27147
|
+
* This topic provides an example on how to export the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The `Cursor` information is specified. A maximum of 1,000 data entries can be returned in each response.
|
|
27148
|
+
*
|
|
27149
|
+
* @param tmpReq BatchExportRequest
|
|
27150
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
27151
|
+
* @return BatchExportResponse
|
|
27152
|
+
*/
|
|
26497
27153
|
async batchExportWithOptions(tmpReq: BatchExportRequest, runtime: $Util.RuntimeOptions): Promise<BatchExportResponse> {
|
|
26498
27154
|
Util.validateModel(tmpReq);
|
|
26499
27155
|
let request = new BatchExportShrinkRequest({ });
|
|
@@ -26540,6 +27196,15 @@ export default class Client extends OpenApi {
|
|
|
26540
27196
|
return $tea.cast<BatchExportResponse>(await this.callApi(params, req, runtime), new BatchExportResponse({}));
|
|
26541
27197
|
}
|
|
26542
27198
|
|
|
27199
|
+
/**
|
|
27200
|
+
* ### [](#)Prerequisites
|
|
27201
|
+
* The `Cursor` information is returned by calling the [Cursor](~~2330730~~) operation.
|
|
27202
|
+
* ### [](#)Description
|
|
27203
|
+
* This topic provides an example on how to export the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The `Cursor` information is specified. A maximum of 1,000 data entries can be returned in each response.
|
|
27204
|
+
*
|
|
27205
|
+
* @param request BatchExportRequest
|
|
27206
|
+
* @return BatchExportResponse
|
|
27207
|
+
*/
|
|
26543
27208
|
async batchExport(request: BatchExportRequest): Promise<BatchExportResponse> {
|
|
26544
27209
|
let runtime = new $Util.RuntimeOptions({ });
|
|
26545
27210
|
return await this.batchExportWithOptions(request, runtime);
|
|
@@ -26737,9 +27402,8 @@ export default class Client extends OpenApi {
|
|
|
26737
27402
|
}
|
|
26738
27403
|
|
|
26739
27404
|
/**
|
|
26740
|
-
*
|
|
26741
|
-
*
|
|
26742
|
-
* * false (default value): The application group does not automatically subscribe to event notifications.
|
|
27405
|
+
* This operation is available for Elastic Compute Service (ECS), ApsaraDB RDS, and Server Load Balancer (SLB).
|
|
27406
|
+
* This topic provides an example to show how to create an application group for resources whose tag key is `ecs_instance`. In this example, the alert contact group of the application group is `ECS_Group`.
|
|
26743
27407
|
*
|
|
26744
27408
|
* @param request CreateDynamicTagGroupRequest
|
|
26745
27409
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26798,9 +27462,8 @@ export default class Client extends OpenApi {
|
|
|
26798
27462
|
}
|
|
26799
27463
|
|
|
26800
27464
|
/**
|
|
26801
|
-
*
|
|
26802
|
-
*
|
|
26803
|
-
* * false (default value): The application group does not automatically subscribe to event notifications.
|
|
27465
|
+
* This operation is available for Elastic Compute Service (ECS), ApsaraDB RDS, and Server Load Balancer (SLB).
|
|
27466
|
+
* This topic provides an example to show how to create an application group for resources whose tag key is `ecs_instance`. In this example, the alert contact group of the application group is `ECS_Group`.
|
|
26804
27467
|
*
|
|
26805
27468
|
* @param request CreateDynamicTagGroupRequest
|
|
26806
27469
|
* @return CreateDynamicTagGroupResponse
|
|
@@ -26811,7 +27474,7 @@ export default class Client extends OpenApi {
|
|
|
26811
27474
|
}
|
|
26812
27475
|
|
|
26813
27476
|
/**
|
|
26814
|
-
* The
|
|
27477
|
+
* This topic provides an example to show how to create an alert rule for the `cpu_total` metric of Elastic Compute Service (ECS) in the `123456` application group. The ID of the alert rule is `456789`. The name of the alert rule is `ECS_Rule1`. The alert level is `Critical`. The statistical method is `Average`. The comparison operator is `GreaterThanOrEqualToThreshold`. The alert threshold is `90`. The number of alert retries is `3`. The response shows that the alert rule named `ECS_Rule1` is created.
|
|
26815
27478
|
*
|
|
26816
27479
|
* @param request CreateGroupMetricRulesRequest
|
|
26817
27480
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26846,7 +27509,7 @@ export default class Client extends OpenApi {
|
|
|
26846
27509
|
}
|
|
26847
27510
|
|
|
26848
27511
|
/**
|
|
26849
|
-
* The
|
|
27512
|
+
* This topic provides an example to show how to create an alert rule for the `cpu_total` metric of Elastic Compute Service (ECS) in the `123456` application group. The ID of the alert rule is `456789`. The name of the alert rule is `ECS_Rule1`. The alert level is `Critical`. The statistical method is `Average`. The comparison operator is `GreaterThanOrEqualToThreshold`. The alert threshold is `90`. The number of alert retries is `3`. The response shows that the alert rule named `ECS_Rule1` is created.
|
|
26850
27513
|
*
|
|
26851
27514
|
* @param request CreateGroupMetricRulesRequest
|
|
26852
27515
|
* @return CreateGroupMetricRulesResponse
|
|
@@ -26902,7 +27565,7 @@ export default class Client extends OpenApi {
|
|
|
26902
27565
|
}
|
|
26903
27566
|
|
|
26904
27567
|
/**
|
|
26905
|
-
* The
|
|
27568
|
+
* This topic provides an example on how to create an availability monitoring task named `task1` in an application group named `123456`. The TaskType parameter of the task is set to `HTTP`. After you start the task, the system sends alerts by using the specified email address and DingTalk chatbot.
|
|
26906
27569
|
*
|
|
26907
27570
|
* @param request CreateHostAvailabilityRequest
|
|
26908
27571
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26965,7 +27628,7 @@ export default class Client extends OpenApi {
|
|
|
26965
27628
|
}
|
|
26966
27629
|
|
|
26967
27630
|
/**
|
|
26968
|
-
* The
|
|
27631
|
+
* This topic provides an example on how to create an availability monitoring task named `task1` in an application group named `123456`. The TaskType parameter of the task is set to `HTTP`. After you start the task, the system sends alerts by using the specified email address and DingTalk chatbot.
|
|
26969
27632
|
*
|
|
26970
27633
|
* @param request CreateHostAvailabilityRequest
|
|
26971
27634
|
* @return CreateHostAvailabilityResponse
|
|
@@ -26976,9 +27639,8 @@ export default class Client extends OpenApi {
|
|
|
26976
27639
|
}
|
|
26977
27640
|
|
|
26978
27641
|
/**
|
|
26979
|
-
*
|
|
26980
|
-
*
|
|
26981
|
-
* * false: The call failed.
|
|
27642
|
+
* ## Prerequisites
|
|
27643
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
26982
27644
|
*
|
|
26983
27645
|
* @param request CreateHybridMonitorNamespaceRequest
|
|
26984
27646
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27017,9 +27679,8 @@ export default class Client extends OpenApi {
|
|
|
27017
27679
|
}
|
|
27018
27680
|
|
|
27019
27681
|
/**
|
|
27020
|
-
*
|
|
27021
|
-
*
|
|
27022
|
-
* * false: The call failed.
|
|
27682
|
+
* ## Prerequisites
|
|
27683
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
27023
27684
|
*
|
|
27024
27685
|
* @param request CreateHybridMonitorNamespaceRequest
|
|
27025
27686
|
* @return CreateHybridMonitorNamespaceResponse
|
|
@@ -27030,8 +27691,10 @@ export default class Client extends OpenApi {
|
|
|
27030
27691
|
}
|
|
27031
27692
|
|
|
27032
27693
|
/**
|
|
27033
|
-
*
|
|
27034
|
-
*
|
|
27694
|
+
* # Prerequisites
|
|
27695
|
+
* Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](~~54604~~).
|
|
27696
|
+
* # Description
|
|
27697
|
+
* In this example, a Logstore group named `Logstore_test` is created. The region ID is `cn-hangzhou`. The project is `aliyun-project`. The Logstore is `Logstore-ECS`. The response shows that the Logstore group is created.
|
|
27035
27698
|
*
|
|
27036
27699
|
* @param request CreateHybridMonitorSLSGroupRequest
|
|
27037
27700
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27070,8 +27733,10 @@ export default class Client extends OpenApi {
|
|
|
27070
27733
|
}
|
|
27071
27734
|
|
|
27072
27735
|
/**
|
|
27073
|
-
*
|
|
27074
|
-
*
|
|
27736
|
+
* # Prerequisites
|
|
27737
|
+
* Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](~~54604~~).
|
|
27738
|
+
* # Description
|
|
27739
|
+
* In this example, a Logstore group named `Logstore_test` is created. The region ID is `cn-hangzhou`. The project is `aliyun-project`. The Logstore is `Logstore-ECS`. The response shows that the Logstore group is created.
|
|
27075
27740
|
*
|
|
27076
27741
|
* @param request CreateHybridMonitorSLSGroupRequest
|
|
27077
27742
|
* @return CreateHybridMonitorSLSGroupResponse
|
|
@@ -27082,7 +27747,9 @@ export default class Client extends OpenApi {
|
|
|
27082
27747
|
}
|
|
27083
27748
|
|
|
27084
27749
|
/**
|
|
27085
|
-
*
|
|
27750
|
+
* ## Prerequisites
|
|
27751
|
+
* * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
27752
|
+
* * If you want to create a metric for logs imported from Log Service, make sure that you have activated Log Service and created a project and a Logstore. For more information, see [Getting Started](~~54604~~).
|
|
27086
27753
|
*
|
|
27087
27754
|
* @param request CreateHybridMonitorTaskRequest
|
|
27088
27755
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27157,7 +27824,9 @@ export default class Client extends OpenApi {
|
|
|
27157
27824
|
}
|
|
27158
27825
|
|
|
27159
27826
|
/**
|
|
27160
|
-
*
|
|
27827
|
+
* ## Prerequisites
|
|
27828
|
+
* * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
27829
|
+
* * If you want to create a metric for logs imported from Log Service, make sure that you have activated Log Service and created a project and a Logstore. For more information, see [Getting Started](~~54604~~).
|
|
27161
27830
|
*
|
|
27162
27831
|
* @param request CreateHybridMonitorTaskRequest
|
|
27163
27832
|
* @return CreateHybridMonitorTaskResponse
|
|
@@ -27232,8 +27901,9 @@ export default class Client extends OpenApi {
|
|
|
27232
27901
|
}
|
|
27233
27902
|
|
|
27234
27903
|
/**
|
|
27235
|
-
*
|
|
27236
|
-
*
|
|
27904
|
+
* ### Background information
|
|
27905
|
+
* * CloudMonitor blocks alert notifications based on the blacklist policies that take effect. To block alert notifications when the value of a metric that belongs to a cloud service reaches the threshold that you specified, add the metric to a blacklist policy.
|
|
27906
|
+
* * CloudMonitor allows you to create blacklist policies only based on threshold metrics. You cannot create blacklist policies based on system events. For more information about the cloud services and the thresholds of the metrics that are supported by CloudMonitor, see [Appendix 1: Metrics](~~163515~~).
|
|
27237
27907
|
*
|
|
27238
27908
|
* @param request CreateMetricRuleBlackListRequest
|
|
27239
27909
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27300,8 +27970,9 @@ export default class Client extends OpenApi {
|
|
|
27300
27970
|
}
|
|
27301
27971
|
|
|
27302
27972
|
/**
|
|
27303
|
-
*
|
|
27304
|
-
*
|
|
27973
|
+
* ### Background information
|
|
27974
|
+
* * CloudMonitor blocks alert notifications based on the blacklist policies that take effect. To block alert notifications when the value of a metric that belongs to a cloud service reaches the threshold that you specified, add the metric to a blacklist policy.
|
|
27975
|
+
* * CloudMonitor allows you to create blacklist policies only based on threshold metrics. You cannot create blacklist policies based on system events. For more information about the cloud services and the thresholds of the metrics that are supported by CloudMonitor, see [Appendix 1: Metrics](~~163515~~).
|
|
27305
27976
|
*
|
|
27306
27977
|
* @param request CreateMetricRuleBlackListRequest
|
|
27307
27978
|
* @return CreateMetricRuleBlackListResponse
|
|
@@ -27423,7 +28094,7 @@ export default class Client extends OpenApi {
|
|
|
27423
28094
|
}
|
|
27424
28095
|
|
|
27425
28096
|
/**
|
|
27426
|
-
*
|
|
28097
|
+
* In this example, the application group named `ECS_Group` is created.
|
|
27427
28098
|
*
|
|
27428
28099
|
* @param request CreateMonitorGroupRequest
|
|
27429
28100
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27458,7 +28129,7 @@ export default class Client extends OpenApi {
|
|
|
27458
28129
|
}
|
|
27459
28130
|
|
|
27460
28131
|
/**
|
|
27461
|
-
*
|
|
28132
|
+
* In this example, the application group named `ECS_Group` is created.
|
|
27462
28133
|
*
|
|
27463
28134
|
* @param request CreateMonitorGroupRequest
|
|
27464
28135
|
* @return CreateMonitorGroupResponse
|
|
@@ -27469,8 +28140,7 @@ export default class Client extends OpenApi {
|
|
|
27469
28140
|
}
|
|
27470
28141
|
|
|
27471
28142
|
/**
|
|
27472
|
-
*
|
|
27473
|
-
* For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
|
|
28143
|
+
* This topic provides an example on how to create an application group by using the resource group `CloudMonitor` and the alert contact group `ECS_Group`. The region ID of the resource group is `cn-hangzhou`.
|
|
27474
28144
|
*
|
|
27475
28145
|
* @param request CreateMonitorGroupByResourceGroupIdRequest
|
|
27476
28146
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27521,8 +28191,7 @@ export default class Client extends OpenApi {
|
|
|
27521
28191
|
}
|
|
27522
28192
|
|
|
27523
28193
|
/**
|
|
27524
|
-
*
|
|
27525
|
-
* For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
|
|
28194
|
+
* This topic provides an example on how to create an application group by using the resource group `CloudMonitor` and the alert contact group `ECS_Group`. The region ID of the resource group is `cn-hangzhou`.
|
|
27526
28195
|
*
|
|
27527
28196
|
* @param request CreateMonitorGroupByResourceGroupIdRequest
|
|
27528
28197
|
* @return CreateMonitorGroupByResourceGroupIdResponse
|
|
@@ -27533,8 +28202,8 @@ export default class Client extends OpenApi {
|
|
|
27533
28202
|
}
|
|
27534
28203
|
|
|
27535
28204
|
/**
|
|
27536
|
-
*
|
|
27537
|
-
*
|
|
28205
|
+
* You can add a maximum of 1,000 instances to an application group at a time. You can add a maximum of 3,000 instances of an Alibaba Cloud service to an application group. The total number of instances that you can add to an application group is unlimited.
|
|
28206
|
+
* In this example, an Elastic Compute Service (ECS) instance in the `China (Hangzhou)` region is added to the `3607****` application group. The instance ID is `i-2ze26xj5wwy12****` and the instance name is `test-instance-ecs`.
|
|
27538
28207
|
*
|
|
27539
28208
|
* @param request CreateMonitorGroupInstancesRequest
|
|
27540
28209
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27569,8 +28238,8 @@ export default class Client extends OpenApi {
|
|
|
27569
28238
|
}
|
|
27570
28239
|
|
|
27571
28240
|
/**
|
|
27572
|
-
*
|
|
27573
|
-
*
|
|
28241
|
+
* You can add a maximum of 1,000 instances to an application group at a time. You can add a maximum of 3,000 instances of an Alibaba Cloud service to an application group. The total number of instances that you can add to an application group is unlimited.
|
|
28242
|
+
* In this example, an Elastic Compute Service (ECS) instance in the `China (Hangzhou)` region is added to the `3607****` application group. The instance ID is `i-2ze26xj5wwy12****` and the instance name is `test-instance-ecs`.
|
|
27574
28243
|
*
|
|
27575
28244
|
* @param request CreateMonitorGroupInstancesRequest
|
|
27576
28245
|
* @return CreateMonitorGroupInstancesResponse
|
|
@@ -27581,7 +28250,8 @@ export default class Client extends OpenApi {
|
|
|
27581
28250
|
}
|
|
27582
28251
|
|
|
27583
28252
|
/**
|
|
27584
|
-
*
|
|
28253
|
+
* If the policy is valid, no alert notifications are sent for the application group.
|
|
28254
|
+
* This topic describes how to create the `PauseNotify` policy to pause alert notifications for the `7301****` application group. The StartTime parameter is set to `1622949300000` and the EndTime parameter is set to `1623208500000`. This indicates that the policy is valid from `2021-06-06 11:15:00 UTC+8` to `2021-06-09 11:15:00 UTC+8`.
|
|
27585
28255
|
*
|
|
27586
28256
|
* @param request CreateMonitorGroupNotifyPolicyRequest
|
|
27587
28257
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27624,7 +28294,8 @@ export default class Client extends OpenApi {
|
|
|
27624
28294
|
}
|
|
27625
28295
|
|
|
27626
28296
|
/**
|
|
27627
|
-
*
|
|
28297
|
+
* If the policy is valid, no alert notifications are sent for the application group.
|
|
28298
|
+
* This topic describes how to create the `PauseNotify` policy to pause alert notifications for the `7301****` application group. The StartTime parameter is set to `1622949300000` and the EndTime parameter is set to `1623208500000`. This indicates that the policy is valid from `2021-06-06 11:15:00 UTC+8` to `2021-06-09 11:15:00 UTC+8`.
|
|
27628
28299
|
*
|
|
27629
28300
|
* @param request CreateMonitorGroupNotifyPolicyRequest
|
|
27630
28301
|
* @return CreateMonitorGroupNotifyPolicyResponse
|
|
@@ -27672,9 +28343,7 @@ export default class Client extends OpenApi {
|
|
|
27672
28343
|
}
|
|
27673
28344
|
|
|
27674
28345
|
/**
|
|
27675
|
-
*
|
|
27676
|
-
* * true: The call was successful.
|
|
27677
|
-
* * false: The call failed.
|
|
28346
|
+
* This topic provides an example on how to create a site monitoring task named `HanZhou_ECS1`. The URL that is monitored by the task is `https://www.aliyun.com` and the type of the task is `HTTPS`.
|
|
27678
28347
|
*
|
|
27679
28348
|
* @param request CreateSiteMonitorRequest
|
|
27680
28349
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27733,9 +28402,7 @@ export default class Client extends OpenApi {
|
|
|
27733
28402
|
}
|
|
27734
28403
|
|
|
27735
28404
|
/**
|
|
27736
|
-
*
|
|
27737
|
-
* * true: The call was successful.
|
|
27738
|
-
* * false: The call failed.
|
|
28405
|
+
* This topic provides an example on how to create a site monitoring task named `HanZhou_ECS1`. The URL that is monitored by the task is `https://www.aliyun.com` and the type of the task is `HTTPS`.
|
|
27739
28406
|
*
|
|
27740
28407
|
* @param request CreateSiteMonitorRequest
|
|
27741
28408
|
* @return CreateSiteMonitorResponse
|
|
@@ -27745,6 +28412,18 @@ export default class Client extends OpenApi {
|
|
|
27745
28412
|
return await this.createSiteMonitorWithOptions(request, runtime);
|
|
27746
28413
|
}
|
|
27747
28414
|
|
|
28415
|
+
/**
|
|
28416
|
+
* ### [](#)Prerequisites
|
|
28417
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
28418
|
+
* ### [](#)Background information
|
|
28419
|
+
* You can call this operation to obtain the Cursor information and then call the [BatchExport](~~2329847~~) operation to export the monitoring data.
|
|
28420
|
+
* ### [](#)Description
|
|
28421
|
+
* This topic provides an example on how to define the monitoring data of a specified metric for a specified cloud service. In this example, the namespace of the cloud service is set to `acs_ecs_dashboard`, the metric is set to `cpu_idle`, the start time is set to `1641627000000`, and the end time is set to `1641645000000`. The number of idle CPU cores on your Elastic Compute Service (ECS) instances is measured every 60 seconds from 15:30:00, January 8, 2022 to 20:30:00, January 8, 2022. The `Cursor` information is returned.
|
|
28422
|
+
*
|
|
28423
|
+
* @param tmpReq CursorRequest
|
|
28424
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28425
|
+
* @return CursorResponse
|
|
28426
|
+
*/
|
|
27748
28427
|
async cursorWithOptions(tmpReq: CursorRequest, runtime: $Util.RuntimeOptions): Promise<CursorResponse> {
|
|
27749
28428
|
Util.validateModel(tmpReq);
|
|
27750
28429
|
let request = new CursorShrinkRequest({ });
|
|
@@ -27795,6 +28474,17 @@ export default class Client extends OpenApi {
|
|
|
27795
28474
|
return $tea.cast<CursorResponse>(await this.callApi(params, req, runtime), new CursorResponse({}));
|
|
27796
28475
|
}
|
|
27797
28476
|
|
|
28477
|
+
/**
|
|
28478
|
+
* ### [](#)Prerequisites
|
|
28479
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
28480
|
+
* ### [](#)Background information
|
|
28481
|
+
* You can call this operation to obtain the Cursor information and then call the [BatchExport](~~2329847~~) operation to export the monitoring data.
|
|
28482
|
+
* ### [](#)Description
|
|
28483
|
+
* This topic provides an example on how to define the monitoring data of a specified metric for a specified cloud service. In this example, the namespace of the cloud service is set to `acs_ecs_dashboard`, the metric is set to `cpu_idle`, the start time is set to `1641627000000`, and the end time is set to `1641645000000`. The number of idle CPU cores on your Elastic Compute Service (ECS) instances is measured every 60 seconds from 15:30:00, January 8, 2022 to 20:30:00, January 8, 2022. The `Cursor` information is returned.
|
|
28484
|
+
*
|
|
28485
|
+
* @param request CursorRequest
|
|
28486
|
+
* @return CursorResponse
|
|
28487
|
+
*/
|
|
27798
28488
|
async cursor(request: CursorRequest): Promise<CursorResponse> {
|
|
27799
28489
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27800
28490
|
return await this.cursorWithOptions(request, runtime);
|
|
@@ -28111,9 +28801,8 @@ export default class Client extends OpenApi {
|
|
|
28111
28801
|
}
|
|
28112
28802
|
|
|
28113
28803
|
/**
|
|
28114
|
-
*
|
|
28115
|
-
*
|
|
28116
|
-
* * false: The call failed.
|
|
28804
|
+
* > If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first.
|
|
28805
|
+
* This topic provides an example on how to delete a namespace named `aliyun`. The response shows that the namespace is deleted.
|
|
28117
28806
|
*
|
|
28118
28807
|
* @param request DeleteHybridMonitorNamespaceRequest
|
|
28119
28808
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28144,9 +28833,8 @@ export default class Client extends OpenApi {
|
|
|
28144
28833
|
}
|
|
28145
28834
|
|
|
28146
28835
|
/**
|
|
28147
|
-
*
|
|
28148
|
-
*
|
|
28149
|
-
* * false: The call failed.
|
|
28836
|
+
* > If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first.
|
|
28837
|
+
* This topic provides an example on how to delete a namespace named `aliyun`. The response shows that the namespace is deleted.
|
|
28150
28838
|
*
|
|
28151
28839
|
* @param request DeleteHybridMonitorNamespaceRequest
|
|
28152
28840
|
* @return DeleteHybridMonitorNamespaceResponse
|
|
@@ -28157,9 +28845,7 @@ export default class Client extends OpenApi {
|
|
|
28157
28845
|
}
|
|
28158
28846
|
|
|
28159
28847
|
/**
|
|
28160
|
-
*
|
|
28161
|
-
* * true: The call is successful.
|
|
28162
|
-
* * false: The call fails.
|
|
28848
|
+
* This topic provides an example on how to delete a Logstore group named `Logstore_test`. The response shows that the Logstore group is deleted.
|
|
28163
28849
|
*
|
|
28164
28850
|
* @param request DeleteHybridMonitorSLSGroupRequest
|
|
28165
28851
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28190,9 +28876,7 @@ export default class Client extends OpenApi {
|
|
|
28190
28876
|
}
|
|
28191
28877
|
|
|
28192
28878
|
/**
|
|
28193
|
-
*
|
|
28194
|
-
* * true: The call is successful.
|
|
28195
|
-
* * false: The call fails.
|
|
28879
|
+
* This topic provides an example on how to delete a Logstore group named `Logstore_test`. The response shows that the Logstore group is deleted.
|
|
28196
28880
|
*
|
|
28197
28881
|
* @param request DeleteHybridMonitorSLSGroupRequest
|
|
28198
28882
|
* @return DeleteHybridMonitorSLSGroupResponse
|
|
@@ -28203,9 +28887,7 @@ export default class Client extends OpenApi {
|
|
|
28203
28887
|
}
|
|
28204
28888
|
|
|
28205
28889
|
/**
|
|
28206
|
-
*
|
|
28207
|
-
* * true: The call was successful.
|
|
28208
|
-
* * false: The call failed.
|
|
28890
|
+
* This topic provides an example on how to delete a metric import task whose ID is `36****`. The returned result indicates that the metric import task is deleted.
|
|
28209
28891
|
*
|
|
28210
28892
|
* @param request DeleteHybridMonitorTaskRequest
|
|
28211
28893
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28244,9 +28926,7 @@ export default class Client extends OpenApi {
|
|
|
28244
28926
|
}
|
|
28245
28927
|
|
|
28246
28928
|
/**
|
|
28247
|
-
*
|
|
28248
|
-
* * true: The call was successful.
|
|
28249
|
-
* * false: The call failed.
|
|
28929
|
+
* This topic provides an example on how to delete a metric import task whose ID is `36****`. The returned result indicates that the metric import task is deleted.
|
|
28250
28930
|
*
|
|
28251
28931
|
* @param request DeleteHybridMonitorTaskRequest
|
|
28252
28932
|
* @return DeleteHybridMonitorTaskResponse
|
|
@@ -28862,7 +29542,7 @@ export default class Client extends OpenApi {
|
|
|
28862
29542
|
}
|
|
28863
29543
|
|
|
28864
29544
|
/**
|
|
28865
|
-
*
|
|
29545
|
+
* This topic provides an example on how to query the number of alert logs for Elastic Compute Service (ECS) based on the `product` dimension.
|
|
28866
29546
|
*
|
|
28867
29547
|
* @param request DescribeAlertLogHistogramRequest
|
|
28868
29548
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28953,7 +29633,7 @@ export default class Client extends OpenApi {
|
|
|
28953
29633
|
}
|
|
28954
29634
|
|
|
28955
29635
|
/**
|
|
28956
|
-
*
|
|
29636
|
+
* This topic provides an example on how to query the number of alert logs for Elastic Compute Service (ECS) based on the `product` dimension.
|
|
28957
29637
|
*
|
|
28958
29638
|
* @param request DescribeAlertLogHistogramRequest
|
|
28959
29639
|
* @return DescribeAlertLogHistogramResponse
|
|
@@ -28964,9 +29644,7 @@ export default class Client extends OpenApi {
|
|
|
28964
29644
|
}
|
|
28965
29645
|
|
|
28966
29646
|
/**
|
|
28967
|
-
*
|
|
28968
|
-
* * true: The call was successful.
|
|
28969
|
-
* * false: The call failed.
|
|
29647
|
+
* This topic provides an example to show how to query the alert logs of Elastic Compute Service (ECS) based on the `product` dimension.
|
|
28970
29648
|
*
|
|
28971
29649
|
* @param request DescribeAlertLogListRequest
|
|
28972
29650
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29061,9 +29739,7 @@ export default class Client extends OpenApi {
|
|
|
29061
29739
|
}
|
|
29062
29740
|
|
|
29063
29741
|
/**
|
|
29064
|
-
*
|
|
29065
|
-
* * true: The call was successful.
|
|
29066
|
-
* * false: The call failed.
|
|
29742
|
+
* This topic provides an example to show how to query the alert logs of Elastic Compute Service (ECS) based on the `product` dimension.
|
|
29067
29743
|
*
|
|
29068
29744
|
* @param request DescribeAlertLogListRequest
|
|
29069
29745
|
* @return DescribeAlertLogListResponse
|
|
@@ -29263,7 +29939,7 @@ export default class Client extends OpenApi {
|
|
|
29263
29939
|
}
|
|
29264
29940
|
|
|
29265
29941
|
/**
|
|
29266
|
-
*
|
|
29942
|
+
* > This operation counts the number of times that a custom event occurred for each service.
|
|
29267
29943
|
*
|
|
29268
29944
|
* @param request DescribeCustomEventCountRequest
|
|
29269
29945
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29314,7 +29990,7 @@ export default class Client extends OpenApi {
|
|
|
29314
29990
|
}
|
|
29315
29991
|
|
|
29316
29992
|
/**
|
|
29317
|
-
*
|
|
29993
|
+
* > This operation counts the number of times that a custom event occurred for each service.
|
|
29318
29994
|
*
|
|
29319
29995
|
* @param request DescribeCustomEventCountRequest
|
|
29320
29996
|
* @return DescribeCustomEventCountResponse
|
|
@@ -29378,8 +30054,7 @@ export default class Client extends OpenApi {
|
|
|
29378
30054
|
}
|
|
29379
30055
|
|
|
29380
30056
|
/**
|
|
29381
|
-
*
|
|
29382
|
-
* For more information, see [DescribeMonitorGroups](~~115032~~).
|
|
30057
|
+
* > You can call the DescribeMetricList operation to query the metrics of a cloud service. For more information, see [DescribeMetricList](~~51936~~).
|
|
29383
30058
|
*
|
|
29384
30059
|
* @param request DescribeCustomMetricListRequest
|
|
29385
30060
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29430,8 +30105,7 @@ export default class Client extends OpenApi {
|
|
|
29430
30105
|
}
|
|
29431
30106
|
|
|
29432
30107
|
/**
|
|
29433
|
-
*
|
|
29434
|
-
* For more information, see [DescribeMonitorGroups](~~115032~~).
|
|
30108
|
+
* > You can call the DescribeMetricList operation to query the metrics of a cloud service. For more information, see [DescribeMetricList](~~51936~~).
|
|
29435
30109
|
*
|
|
29436
30110
|
* @param request DescribeCustomMetricListRequest
|
|
29437
30111
|
* @return DescribeCustomMetricListResponse
|
|
@@ -29442,8 +30116,7 @@ export default class Client extends OpenApi {
|
|
|
29442
30116
|
}
|
|
29443
30117
|
|
|
29444
30118
|
/**
|
|
29445
|
-
* The
|
|
29446
|
-
* > The status code 200 indicates that the call was successful.
|
|
30119
|
+
* This topic provides an example to show how to query tag rules that are related to `tagkey1`. The sample responses indicate that two tag rules are found. The rule IDs are `1536df65-a719-429d-8813-73cc40d7****` and `56e8cebb-b3d7-4a91-9880-78a8c84f****`.
|
|
29447
30120
|
*
|
|
29448
30121
|
* @param request DescribeDynamicTagRuleListRequest
|
|
29449
30122
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29494,8 +30167,7 @@ export default class Client extends OpenApi {
|
|
|
29494
30167
|
}
|
|
29495
30168
|
|
|
29496
30169
|
/**
|
|
29497
|
-
* The
|
|
29498
|
-
* > The status code 200 indicates that the call was successful.
|
|
30170
|
+
* This topic provides an example to show how to query tag rules that are related to `tagkey1`. The sample responses indicate that two tag rules are found. The rule IDs are `1536df65-a719-429d-8813-73cc40d7****` and `56e8cebb-b3d7-4a91-9880-78a8c84f****`.
|
|
29499
30171
|
*
|
|
29500
30172
|
* @param request DescribeDynamicTagRuleListRequest
|
|
29501
30173
|
* @return DescribeDynamicTagRuleListResponse
|
|
@@ -29506,8 +30178,7 @@ export default class Client extends OpenApi {
|
|
|
29506
30178
|
}
|
|
29507
30179
|
|
|
29508
30180
|
/**
|
|
29509
|
-
*
|
|
29510
|
-
* For information about how to obtain the name of an event-triggered alert rule, see [DescribeEventRuleList](~~114996~~).
|
|
30181
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
29511
30182
|
*
|
|
29512
30183
|
* @param request DescribeEventRuleAttributeRequest
|
|
29513
30184
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29542,8 +30213,7 @@ export default class Client extends OpenApi {
|
|
|
29542
30213
|
}
|
|
29543
30214
|
|
|
29544
30215
|
/**
|
|
29545
|
-
*
|
|
29546
|
-
* For information about how to obtain the name of an event-triggered alert rule, see [DescribeEventRuleList](~~114996~~).
|
|
30216
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
29547
30217
|
*
|
|
29548
30218
|
* @param request DescribeEventRuleAttributeRequest
|
|
29549
30219
|
* @return DescribeEventRuleAttributeResponse
|
|
@@ -29560,6 +30230,10 @@ export default class Client extends OpenApi {
|
|
|
29560
30230
|
query["GroupId"] = request.groupId;
|
|
29561
30231
|
}
|
|
29562
30232
|
|
|
30233
|
+
if (!Util.isUnset(request.isEnable)) {
|
|
30234
|
+
query["IsEnable"] = request.isEnable;
|
|
30235
|
+
}
|
|
30236
|
+
|
|
29563
30237
|
if (!Util.isUnset(request.namePrefix)) {
|
|
29564
30238
|
query["NamePrefix"] = request.namePrefix;
|
|
29565
30239
|
}
|
|
@@ -29595,7 +30269,7 @@ export default class Client extends OpenApi {
|
|
|
29595
30269
|
}
|
|
29596
30270
|
|
|
29597
30271
|
/**
|
|
29598
|
-
*
|
|
30272
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
29599
30273
|
*
|
|
29600
30274
|
* @param request DescribeEventRuleTargetListRequest
|
|
29601
30275
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29626,7 +30300,7 @@ export default class Client extends OpenApi {
|
|
|
29626
30300
|
}
|
|
29627
30301
|
|
|
29628
30302
|
/**
|
|
29629
|
-
*
|
|
30303
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
29630
30304
|
*
|
|
29631
30305
|
* @param request DescribeEventRuleTargetListRequest
|
|
29632
30306
|
* @return DescribeEventRuleTargetListResponse
|
|
@@ -29703,7 +30377,7 @@ export default class Client extends OpenApi {
|
|
|
29703
30377
|
}
|
|
29704
30378
|
|
|
29705
30379
|
/**
|
|
29706
|
-
*
|
|
30380
|
+
* You can create a process monitoring task to monitor all or the specified Elastic Compute Service (ECS) instances in an application group and set alert rules for the process monitoring task.
|
|
29707
30381
|
*
|
|
29708
30382
|
* @param request DescribeGroupMonitoringAgentProcessRequest
|
|
29709
30383
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29746,7 +30420,7 @@ export default class Client extends OpenApi {
|
|
|
29746
30420
|
}
|
|
29747
30421
|
|
|
29748
30422
|
/**
|
|
29749
|
-
*
|
|
30423
|
+
* You can create a process monitoring task to monitor all or the specified Elastic Compute Service (ECS) instances in an application group and set alert rules for the process monitoring task.
|
|
29750
30424
|
*
|
|
29751
30425
|
* @param request DescribeGroupMonitoringAgentProcessRequest
|
|
29752
30426
|
* @return DescribeGroupMonitoringAgentProcessResponse
|
|
@@ -29757,7 +30431,7 @@ export default class Client extends OpenApi {
|
|
|
29757
30431
|
}
|
|
29758
30432
|
|
|
29759
30433
|
/**
|
|
29760
|
-
*
|
|
30434
|
+
* This topic provides an example to show how to query all the availability monitoring tasks of your Alibaba Cloud account. The sample responses indicate that the account has one availability monitoring task named `ecs_instance`.
|
|
29761
30435
|
*
|
|
29762
30436
|
* @param request DescribeHostAvailabilityListRequest
|
|
29763
30437
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29808,7 +30482,7 @@ export default class Client extends OpenApi {
|
|
|
29808
30482
|
}
|
|
29809
30483
|
|
|
29810
30484
|
/**
|
|
29811
|
-
*
|
|
30485
|
+
* This topic provides an example to show how to query all the availability monitoring tasks of your Alibaba Cloud account. The sample responses indicate that the account has one availability monitoring task named `ecs_instance`.
|
|
29812
30486
|
*
|
|
29813
30487
|
* @param request DescribeHostAvailabilityListRequest
|
|
29814
30488
|
* @return DescribeHostAvailabilityListResponse
|
|
@@ -29819,7 +30493,8 @@ export default class Client extends OpenApi {
|
|
|
29819
30493
|
}
|
|
29820
30494
|
|
|
29821
30495
|
/**
|
|
29822
|
-
*
|
|
30496
|
+
* ## Prerequisites
|
|
30497
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
29823
30498
|
*
|
|
29824
30499
|
* @param request DescribeHybridMonitorDataListRequest
|
|
29825
30500
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29866,7 +30541,8 @@ export default class Client extends OpenApi {
|
|
|
29866
30541
|
}
|
|
29867
30542
|
|
|
29868
30543
|
/**
|
|
29869
|
-
*
|
|
30544
|
+
* ## Prerequisites
|
|
30545
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
29870
30546
|
*
|
|
29871
30547
|
* @param request DescribeHybridMonitorDataListRequest
|
|
29872
30548
|
* @return DescribeHybridMonitorDataListResponse
|
|
@@ -29877,13 +30553,7 @@ export default class Client extends OpenApi {
|
|
|
29877
30553
|
}
|
|
29878
30554
|
|
|
29879
30555
|
/**
|
|
29880
|
-
*
|
|
29881
|
-
* * cms.s1.large: Data is stored for 15 days.
|
|
29882
|
-
* * cms.s1.xlarge: Data is stored for 32 days.
|
|
29883
|
-
* * cms.s1.2xlarge: Data is stored for 63 days.
|
|
29884
|
-
* * cms.s1.3xlarge: Data is stored for 93 days.
|
|
29885
|
-
* * cms.s1.6xlarge: Data is stored for 185 days.
|
|
29886
|
-
* * cms.s1.12xlarge: Data is stored for 376 days.
|
|
30556
|
+
* In this example, all namespaces within the current account are queried. The response shows that the current account has only one namespace named `aliyun-test`.
|
|
29887
30557
|
*
|
|
29888
30558
|
* @param request DescribeHybridMonitorNamespaceListRequest
|
|
29889
30559
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29930,13 +30600,7 @@ export default class Client extends OpenApi {
|
|
|
29930
30600
|
}
|
|
29931
30601
|
|
|
29932
30602
|
/**
|
|
29933
|
-
*
|
|
29934
|
-
* * cms.s1.large: Data is stored for 15 days.
|
|
29935
|
-
* * cms.s1.xlarge: Data is stored for 32 days.
|
|
29936
|
-
* * cms.s1.2xlarge: Data is stored for 63 days.
|
|
29937
|
-
* * cms.s1.3xlarge: Data is stored for 93 days.
|
|
29938
|
-
* * cms.s1.6xlarge: Data is stored for 185 days.
|
|
29939
|
-
* * cms.s1.12xlarge: Data is stored for 376 days.
|
|
30603
|
+
* In this example, all namespaces within the current account are queried. The response shows that the current account has only one namespace named `aliyun-test`.
|
|
29940
30604
|
*
|
|
29941
30605
|
* @param request DescribeHybridMonitorNamespaceListRequest
|
|
29942
30606
|
* @return DescribeHybridMonitorNamespaceListResponse
|
|
@@ -29947,9 +30611,7 @@ export default class Client extends OpenApi {
|
|
|
29947
30611
|
}
|
|
29948
30612
|
|
|
29949
30613
|
/**
|
|
29950
|
-
*
|
|
29951
|
-
* * true: The call is successful.
|
|
29952
|
-
* * false: The call fails.
|
|
30614
|
+
* In this example, all Logstore groups within the current account are queried. The response shows that the current account has two Logstore groups: `Logstore_test` and `Logstore_aliyun`.
|
|
29953
30615
|
*
|
|
29954
30616
|
* @param request DescribeHybridMonitorSLSGroupRequest
|
|
29955
30617
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29992,9 +30654,7 @@ export default class Client extends OpenApi {
|
|
|
29992
30654
|
}
|
|
29993
30655
|
|
|
29994
30656
|
/**
|
|
29995
|
-
*
|
|
29996
|
-
* * true: The call is successful.
|
|
29997
|
-
* * false: The call fails.
|
|
30657
|
+
* In this example, all Logstore groups within the current account are queried. The response shows that the current account has two Logstore groups: `Logstore_test` and `Logstore_aliyun`.
|
|
29998
30658
|
*
|
|
29999
30659
|
* @param request DescribeHybridMonitorSLSGroupRequest
|
|
30000
30660
|
* @return DescribeHybridMonitorSLSGroupResponse
|
|
@@ -30005,9 +30665,7 @@ export default class Client extends OpenApi {
|
|
|
30005
30665
|
}
|
|
30006
30666
|
|
|
30007
30667
|
/**
|
|
30008
|
-
*
|
|
30009
|
-
* * true: The call was successful.
|
|
30010
|
-
* * false: The call failed.
|
|
30668
|
+
* This topic provides an example on how to query all metric import tasks that belong to the current Alibaba Cloud account. The returned result indicates that the current account has only one metric import task. The metric import task is named `aliyun_task`.
|
|
30011
30669
|
*
|
|
30012
30670
|
* @param request DescribeHybridMonitorTaskListRequest
|
|
30013
30671
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30070,9 +30728,7 @@ export default class Client extends OpenApi {
|
|
|
30070
30728
|
}
|
|
30071
30729
|
|
|
30072
30730
|
/**
|
|
30073
|
-
*
|
|
30074
|
-
* * true: The call was successful.
|
|
30075
|
-
* * false: The call failed.
|
|
30731
|
+
* This topic provides an example on how to query all metric import tasks that belong to the current Alibaba Cloud account. The returned result indicates that the current account has only one metric import task. The metric import task is named `aliyun_task`.
|
|
30076
30732
|
*
|
|
30077
30733
|
* @param request DescribeHybridMonitorTaskListRequest
|
|
30078
30734
|
* @return DescribeHybridMonitorTaskListResponse
|
|
@@ -30149,12 +30805,9 @@ export default class Client extends OpenApi {
|
|
|
30149
30805
|
}
|
|
30150
30806
|
|
|
30151
30807
|
/**
|
|
30152
|
-
*
|
|
30153
|
-
*
|
|
30154
|
-
*
|
|
30155
|
-
* >
|
|
30156
|
-
* * If this parameter is not specified, monitoring data is queried based on the period in which metric values are reported.
|
|
30157
|
-
* * For more information about the statistical period of a metric that is specified by the `MetricName` parameter, see [Appendix 1: Metrics](~~163515~~).
|
|
30808
|
+
* ## Limits
|
|
30809
|
+
* Each API operation can be called up to 10 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
30810
|
+
* > Different from [DescribeMetricList](~~51936~~), the DescribeMetricData operation provides statistical features. You can set the `Dimension` parameter to {"instanceId": "i-abcdefgh12****"} to aggregate all data of your Alibaba Cloud account. This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`.
|
|
30158
30811
|
*
|
|
30159
30812
|
* @param request DescribeMetricDataRequest
|
|
30160
30813
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30213,12 +30866,9 @@ export default class Client extends OpenApi {
|
|
|
30213
30866
|
}
|
|
30214
30867
|
|
|
30215
30868
|
/**
|
|
30216
|
-
*
|
|
30217
|
-
*
|
|
30218
|
-
*
|
|
30219
|
-
* >
|
|
30220
|
-
* * If this parameter is not specified, monitoring data is queried based on the period in which metric values are reported.
|
|
30221
|
-
* * For more information about the statistical period of a metric that is specified by the `MetricName` parameter, see [Appendix 1: Metrics](~~163515~~).
|
|
30869
|
+
* ## Limits
|
|
30870
|
+
* Each API operation can be called up to 10 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
30871
|
+
* > Different from [DescribeMetricList](~~51936~~), the DescribeMetricData operation provides statistical features. You can set the `Dimension` parameter to {"instanceId": "i-abcdefgh12****"} to aggregate all data of your Alibaba Cloud account. This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`.
|
|
30222
30872
|
*
|
|
30223
30873
|
* @param request DescribeMetricDataRequest
|
|
30224
30874
|
* @return DescribeMetricDataResponse
|
|
@@ -30229,9 +30879,15 @@ export default class Client extends OpenApi {
|
|
|
30229
30879
|
}
|
|
30230
30880
|
|
|
30231
30881
|
/**
|
|
30232
|
-
*
|
|
30233
|
-
*
|
|
30234
|
-
*
|
|
30882
|
+
* ### [](#)Limits
|
|
30883
|
+
* Each API operation can be called up to 50 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
30884
|
+
* ### [](#)Precautions
|
|
30885
|
+
* The storage duration of the monitoring data of each cloud service is related to the `Period` parameter (statistical period). A larger value of the `Period` parameter indicates that the monitoring data is distributed in a larger time range and the storage duration of the monitoring data is longer. The following list describes the specific relationships:
|
|
30886
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
30887
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
30888
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
30889
|
+
* ### [](#)Description
|
|
30890
|
+
* This topic provides an example on how to query the latest monitoring data of the `CPUUtilization` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The returned result indicates that the monitoring data for the instance `i-abcdefgh12****` of the account `123456789876****` is queried at an interval of 60 seconds. The maximum, minimum, and average values of the metric are 100, 93.1, and 99.52.
|
|
30235
30891
|
*
|
|
30236
30892
|
* @param request DescribeMetricLastRequest
|
|
30237
30893
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30294,9 +30950,15 @@ export default class Client extends OpenApi {
|
|
|
30294
30950
|
}
|
|
30295
30951
|
|
|
30296
30952
|
/**
|
|
30297
|
-
*
|
|
30298
|
-
*
|
|
30299
|
-
*
|
|
30953
|
+
* ### [](#)Limits
|
|
30954
|
+
* Each API operation can be called up to 50 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
30955
|
+
* ### [](#)Precautions
|
|
30956
|
+
* The storage duration of the monitoring data of each cloud service is related to the `Period` parameter (statistical period). A larger value of the `Period` parameter indicates that the monitoring data is distributed in a larger time range and the storage duration of the monitoring data is longer. The following list describes the specific relationships:
|
|
30957
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
30958
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
30959
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
30960
|
+
* ### [](#)Description
|
|
30961
|
+
* This topic provides an example on how to query the latest monitoring data of the `CPUUtilization` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The returned result indicates that the monitoring data for the instance `i-abcdefgh12****` of the account `123456789876****` is queried at an interval of 60 seconds. The maximum, minimum, and average values of the metric are 100, 93.1, and 99.52.
|
|
30300
30962
|
*
|
|
30301
30963
|
* @param request DescribeMetricLastRequest
|
|
30302
30964
|
* @return DescribeMetricLastResponse
|
|
@@ -30307,8 +30969,9 @@ export default class Client extends OpenApi {
|
|
|
30307
30969
|
}
|
|
30308
30970
|
|
|
30309
30971
|
/**
|
|
30310
|
-
*
|
|
30311
|
-
*
|
|
30972
|
+
* ## Limits
|
|
30973
|
+
* Each API operation can be called up to 50 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
30974
|
+
* >This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The returned result indicates that the monitoring data for the instance `i-abcdefgh12****` of the account `120886317861****` is queried at an interval of 60 seconds. The maximum, minimum, and average values of the metric are 100, 93.1, and 99.52.
|
|
30312
30975
|
*
|
|
30313
30976
|
* @param request DescribeMetricListRequest
|
|
30314
30977
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30371,8 +31034,9 @@ export default class Client extends OpenApi {
|
|
|
30371
31034
|
}
|
|
30372
31035
|
|
|
30373
31036
|
/**
|
|
30374
|
-
*
|
|
30375
|
-
*
|
|
31037
|
+
* ## Limits
|
|
31038
|
+
* Each API operation can be called up to 50 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
31039
|
+
* >This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The returned result indicates that the monitoring data for the instance `i-abcdefgh12****` of the account `120886317861****` is queried at an interval of 60 seconds. The maximum, minimum, and average values of the metric are 100, 93.1, and 99.52.
|
|
30376
31040
|
*
|
|
30377
31041
|
* @param request DescribeMetricListRequest
|
|
30378
31042
|
* @return DescribeMetricListResponse
|
|
@@ -30383,8 +31047,7 @@ export default class Client extends OpenApi {
|
|
|
30383
31047
|
}
|
|
30384
31048
|
|
|
30385
31049
|
/**
|
|
30386
|
-
*
|
|
30387
|
-
* For more information, see [Appendix 1: Metrics](~~163515~~).
|
|
31050
|
+
* This operation is usually used with DescribeMetricList and DescribeMetricLast. For more information, see [DescribeMetricList](~~51936~~) and [DescribeMetricLast](~~51939~~).
|
|
30388
31051
|
*
|
|
30389
31052
|
* @param request DescribeMetricMetaListRequest
|
|
30390
31053
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30431,8 +31094,7 @@ export default class Client extends OpenApi {
|
|
|
30431
31094
|
}
|
|
30432
31095
|
|
|
30433
31096
|
/**
|
|
30434
|
-
*
|
|
30435
|
-
* For more information, see [Appendix 1: Metrics](~~163515~~).
|
|
31097
|
+
* This operation is usually used with DescribeMetricList and DescribeMetricLast. For more information, see [DescribeMetricList](~~51936~~) and [DescribeMetricLast](~~51939~~).
|
|
30436
31098
|
*
|
|
30437
31099
|
* @param request DescribeMetricMetaListRequest
|
|
30438
31100
|
* @return DescribeMetricMetaListResponse
|
|
@@ -30611,7 +31273,9 @@ export default class Client extends OpenApi {
|
|
|
30611
31273
|
}
|
|
30612
31274
|
|
|
30613
31275
|
/**
|
|
30614
|
-
*
|
|
31276
|
+
* ## Limit
|
|
31277
|
+
* This operation supports only Message Service (MNS) resources.
|
|
31278
|
+
* >This topic provides an example on how to query the resources that are associated with an alert rule whose ID is `ae06917_75a8c43178ab66****`.
|
|
30615
31279
|
*
|
|
30616
31280
|
* @param request DescribeMetricRuleTargetsRequest
|
|
30617
31281
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30642,7 +31306,9 @@ export default class Client extends OpenApi {
|
|
|
30642
31306
|
}
|
|
30643
31307
|
|
|
30644
31308
|
/**
|
|
30645
|
-
*
|
|
31309
|
+
* ## Limit
|
|
31310
|
+
* This operation supports only Message Service (MNS) resources.
|
|
31311
|
+
* >This topic provides an example on how to query the resources that are associated with an alert rule whose ID is `ae06917_75a8c43178ab66****`.
|
|
30646
31312
|
*
|
|
30647
31313
|
* @param request DescribeMetricRuleTargetsRequest
|
|
30648
31314
|
* @return DescribeMetricRuleTargetsResponse
|
|
@@ -30653,7 +31319,7 @@ export default class Client extends OpenApi {
|
|
|
30653
31319
|
}
|
|
30654
31320
|
|
|
30655
31321
|
/**
|
|
30656
|
-
*
|
|
31322
|
+
* This topic provides an example to show how to query the details of an alert template whose ID is `70****`.
|
|
30657
31323
|
*
|
|
30658
31324
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
30659
31325
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30688,7 +31354,7 @@ export default class Client extends OpenApi {
|
|
|
30688
31354
|
}
|
|
30689
31355
|
|
|
30690
31356
|
/**
|
|
30691
|
-
*
|
|
31357
|
+
* This topic provides an example to show how to query the details of an alert template whose ID is `70****`.
|
|
30692
31358
|
*
|
|
30693
31359
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
30694
31360
|
* @return DescribeMetricRuleTemplateAttributeResponse
|
|
@@ -30699,8 +31365,7 @@ export default class Client extends OpenApi {
|
|
|
30699
31365
|
}
|
|
30700
31366
|
|
|
30701
31367
|
/**
|
|
30702
|
-
*
|
|
30703
|
-
* > The status code 200 indicates that the call was successful.
|
|
31368
|
+
* This topic provides an example on how to query alert templates. In this example, the following alert templates are returned in the response: `ECS_Template1` and `ECS_Template2`.
|
|
30704
31369
|
*
|
|
30705
31370
|
* @param request DescribeMetricRuleTemplateListRequest
|
|
30706
31371
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30759,8 +31424,7 @@ export default class Client extends OpenApi {
|
|
|
30759
31424
|
}
|
|
30760
31425
|
|
|
30761
31426
|
/**
|
|
30762
|
-
*
|
|
30763
|
-
* > The status code 200 indicates that the call was successful.
|
|
31427
|
+
* This topic provides an example on how to query alert templates. In this example, the following alert templates are returned in the response: `ECS_Template1` and `ECS_Template2`.
|
|
30764
31428
|
*
|
|
30765
31429
|
* @param request DescribeMetricRuleTemplateListRequest
|
|
30766
31430
|
* @return DescribeMetricRuleTemplateListResponse
|
|
@@ -30771,9 +31435,15 @@ export default class Client extends OpenApi {
|
|
|
30771
31435
|
}
|
|
30772
31436
|
|
|
30773
31437
|
/**
|
|
30774
|
-
*
|
|
30775
|
-
*
|
|
30776
|
-
*
|
|
31438
|
+
* ### [](#)Limits
|
|
31439
|
+
* Each API operation can be called up to 10 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
31440
|
+
* ### [](#)Precautions
|
|
31441
|
+
* The storage duration of the monitoring data of each cloud service is related to the `Period` parameter (statistical period). A larger value of the `Period` parameter indicates that the monitoring data is distributed in a larger time range and the storage duration of the monitoring data is longer. The following list describes the specific relationships:
|
|
31442
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
31443
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
31444
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
31445
|
+
* ### [](#)Description
|
|
31446
|
+
* This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric in the last 60 seconds for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The monitoring data is sorted in the descending order based on the `Average` field.
|
|
30777
31447
|
*
|
|
30778
31448
|
* @param request DescribeMetricTopRequest
|
|
30779
31449
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30840,9 +31510,15 @@ export default class Client extends OpenApi {
|
|
|
30840
31510
|
}
|
|
30841
31511
|
|
|
30842
31512
|
/**
|
|
30843
|
-
*
|
|
30844
|
-
*
|
|
30845
|
-
*
|
|
31513
|
+
* ### [](#)Limits
|
|
31514
|
+
* Each API operation can be called up to 10 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
31515
|
+
* ### [](#)Precautions
|
|
31516
|
+
* The storage duration of the monitoring data of each cloud service is related to the `Period` parameter (statistical period). A larger value of the `Period` parameter indicates that the monitoring data is distributed in a larger time range and the storage duration of the monitoring data is longer. The following list describes the specific relationships:
|
|
31517
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
31518
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
31519
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
31520
|
+
* ### [](#)Description
|
|
31521
|
+
* This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric in the last 60 seconds for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The monitoring data is sorted in the descending order based on the `Average` field.
|
|
30846
31522
|
*
|
|
30847
31523
|
* @param request DescribeMetricTopRequest
|
|
30848
31524
|
* @return DescribeMetricTopResponse
|
|
@@ -31286,7 +31962,8 @@ export default class Client extends OpenApi {
|
|
|
31286
31962
|
}
|
|
31287
31963
|
|
|
31288
31964
|
/**
|
|
31289
|
-
*
|
|
31965
|
+
* > Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see [CreateMonitoringAgentProcess](~~114951~~~).
|
|
31966
|
+
* This topic provides an example of how to query the processes of the `i-hp3hl3cx1pbahzy8****` instance. The response indicates the details of the `NGINX` and `HTTP` processes.
|
|
31290
31967
|
*
|
|
31291
31968
|
* @param request DescribeMonitoringAgentProcessesRequest
|
|
31292
31969
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31317,7 +31994,8 @@ export default class Client extends OpenApi {
|
|
|
31317
31994
|
}
|
|
31318
31995
|
|
|
31319
31996
|
/**
|
|
31320
|
-
*
|
|
31997
|
+
* > Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see [CreateMonitoringAgentProcess](~~114951~~~).
|
|
31998
|
+
* This topic provides an example of how to query the processes of the `i-hp3hl3cx1pbahzy8****` instance. The response indicates the details of the `NGINX` and `HTTP` processes.
|
|
31321
31999
|
*
|
|
31322
32000
|
* @param request DescribeMonitoringAgentProcessesRequest
|
|
31323
32001
|
* @return DescribeMonitoringAgentProcessesResponse
|
|
@@ -31328,12 +32006,7 @@ export default class Client extends OpenApi {
|
|
|
31328
32006
|
}
|
|
31329
32007
|
|
|
31330
32008
|
/**
|
|
31331
|
-
*
|
|
31332
|
-
* * `Command.ErrorCode.Fail.Downlaod.REGIN_ID`: Failed to obtain the region ID.
|
|
31333
|
-
* * `Command.ErrorCode.Fail.Downlaod.SYSAK`: Failed to download the .rpm package of System Analyse Kit (SysAK).
|
|
31334
|
-
* * `Command.ErrorCode.Fail.Downlaod.CMON_FILE`: Failed to download the CMON file.
|
|
31335
|
-
* * `Command.ErrorCode.Fail.Downlaod.BTF`: Failed to start SysAK because the BTF file is not found.
|
|
31336
|
-
* * `Command.ErrorCode.Fail.Start.SYSAK`: Failed to start SysAK due to an unknown error.
|
|
32009
|
+
* This topic describes how to query the status of the CloudMonitor agent that is installed on the `i-hp3dunahluwajv6f****` instance. The result indicates that the CloudMonitor agent is in the `running` state.
|
|
31337
32010
|
*
|
|
31338
32011
|
* @param request DescribeMonitoringAgentStatusesRequest
|
|
31339
32012
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31368,12 +32041,7 @@ export default class Client extends OpenApi {
|
|
|
31368
32041
|
}
|
|
31369
32042
|
|
|
31370
32043
|
/**
|
|
31371
|
-
*
|
|
31372
|
-
* * `Command.ErrorCode.Fail.Downlaod.REGIN_ID`: Failed to obtain the region ID.
|
|
31373
|
-
* * `Command.ErrorCode.Fail.Downlaod.SYSAK`: Failed to download the .rpm package of System Analyse Kit (SysAK).
|
|
31374
|
-
* * `Command.ErrorCode.Fail.Downlaod.CMON_FILE`: Failed to download the CMON file.
|
|
31375
|
-
* * `Command.ErrorCode.Fail.Downlaod.BTF`: Failed to start SysAK because the BTF file is not found.
|
|
31376
|
-
* * `Command.ErrorCode.Fail.Start.SYSAK`: Failed to start SysAK due to an unknown error.
|
|
32044
|
+
* This topic describes how to query the status of the CloudMonitor agent that is installed on the `i-hp3dunahluwajv6f****` instance. The result indicates that the CloudMonitor agent is in the `running` state.
|
|
31377
32045
|
*
|
|
31378
32046
|
* @param request DescribeMonitoringAgentStatusesRequest
|
|
31379
32047
|
* @return DescribeMonitoringAgentStatusesResponse
|
|
@@ -31406,7 +32074,7 @@ export default class Client extends OpenApi {
|
|
|
31406
32074
|
}
|
|
31407
32075
|
|
|
31408
32076
|
/**
|
|
31409
|
-
*
|
|
32077
|
+
* > If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once.
|
|
31410
32078
|
*
|
|
31411
32079
|
* @param request DescribeProductResourceTagKeyListRequest
|
|
31412
32080
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31437,7 +32105,7 @@ export default class Client extends OpenApi {
|
|
|
31437
32105
|
}
|
|
31438
32106
|
|
|
31439
32107
|
/**
|
|
31440
|
-
*
|
|
32108
|
+
* > If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once.
|
|
31441
32109
|
*
|
|
31442
32110
|
* @param request DescribeProductResourceTagKeyListRequest
|
|
31443
32111
|
* @return DescribeProductResourceTagKeyListResponse
|
|
@@ -31520,7 +32188,7 @@ export default class Client extends OpenApi {
|
|
|
31520
32188
|
}
|
|
31521
32189
|
|
|
31522
32190
|
/**
|
|
31523
|
-
* The
|
|
32191
|
+
* This topic provides an example on how to query the details of a site monitoring task whose ID is `cc641dff-c19d-45f3-ad0a-818a0c4f****`. The returned result indicates that the task name is `test123`, the URL that is monitored by the task is `https://aliyun.com`, and the name of the carrier is `Alibaba`.
|
|
31524
32192
|
*
|
|
31525
32193
|
* @param request DescribeSiteMonitorAttributeRequest
|
|
31526
32194
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31555,7 +32223,7 @@ export default class Client extends OpenApi {
|
|
|
31555
32223
|
}
|
|
31556
32224
|
|
|
31557
32225
|
/**
|
|
31558
|
-
* The
|
|
32226
|
+
* This topic provides an example on how to query the details of a site monitoring task whose ID is `cc641dff-c19d-45f3-ad0a-818a0c4f****`. The returned result indicates that the task name is `test123`, the URL that is monitored by the task is `https://aliyun.com`, and the name of the carrier is `Alibaba`.
|
|
31559
32227
|
*
|
|
31560
32228
|
* @param request DescribeSiteMonitorAttributeRequest
|
|
31561
32229
|
* @return DescribeSiteMonitorAttributeResponse
|
|
@@ -31681,7 +32349,7 @@ export default class Client extends OpenApi {
|
|
|
31681
32349
|
}
|
|
31682
32350
|
|
|
31683
32351
|
/**
|
|
31684
|
-
*
|
|
32352
|
+
* This topic provides an example on how to query all the site monitoring tasks of your Alibaba Cloud account. In this example, the returned result indicates that the Alibaba Cloud account has one site monitoring task named `HanZhou_ECS2`.
|
|
31685
32353
|
*
|
|
31686
32354
|
* @param request DescribeSiteMonitorListRequest
|
|
31687
32355
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31732,7 +32400,7 @@ export default class Client extends OpenApi {
|
|
|
31732
32400
|
}
|
|
31733
32401
|
|
|
31734
32402
|
/**
|
|
31735
|
-
*
|
|
32403
|
+
* This topic provides an example on how to query all the site monitoring tasks of your Alibaba Cloud account. In this example, the returned result indicates that the Alibaba Cloud account has one site monitoring task named `HanZhou_ECS2`.
|
|
31736
32404
|
*
|
|
31737
32405
|
* @param request DescribeSiteMonitorListRequest
|
|
31738
32406
|
* @return DescribeSiteMonitorListResponse
|
|
@@ -31743,7 +32411,7 @@ export default class Client extends OpenApi {
|
|
|
31743
32411
|
}
|
|
31744
32412
|
|
|
31745
32413
|
/**
|
|
31746
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
32414
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
31747
32415
|
* This topic provides an example to show how to query the logs of an instant test task whose ID is `afa5c3ce-f944-4363-9edb-ce919a29****`.
|
|
31748
32416
|
*
|
|
31749
32417
|
* @param request DescribeSiteMonitorLogRequest
|
|
@@ -31819,7 +32487,7 @@ export default class Client extends OpenApi {
|
|
|
31819
32487
|
}
|
|
31820
32488
|
|
|
31821
32489
|
/**
|
|
31822
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
32490
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
31823
32491
|
* This topic provides an example to show how to query the logs of an instant test task whose ID is `afa5c3ce-f944-4363-9edb-ce919a29****`.
|
|
31824
32492
|
*
|
|
31825
32493
|
* @param request DescribeSiteMonitorLogRequest
|
|
@@ -31852,6 +32520,13 @@ export default class Client extends OpenApi {
|
|
|
31852
32520
|
return await this.describeSiteMonitorQuotaWithOptions(request, runtime);
|
|
31853
32521
|
}
|
|
31854
32522
|
|
|
32523
|
+
/**
|
|
32524
|
+
* This topic provides an example to show how to query the statistics of the `Availability` metric for a site monitoring task whose ID is `ef4cdc8b-9dc7-43e7-810e-f950e56c****`. The result indicates that the availability rate of the site is `100%`.
|
|
32525
|
+
*
|
|
32526
|
+
* @param request DescribeSiteMonitorStatisticsRequest
|
|
32527
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32528
|
+
* @return DescribeSiteMonitorStatisticsResponse
|
|
32529
|
+
*/
|
|
31855
32530
|
async describeSiteMonitorStatisticsWithOptions(request: DescribeSiteMonitorStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorStatisticsResponse> {
|
|
31856
32531
|
Util.validateModel(request);
|
|
31857
32532
|
let query = { };
|
|
@@ -31888,6 +32563,12 @@ export default class Client extends OpenApi {
|
|
|
31888
32563
|
return $tea.cast<DescribeSiteMonitorStatisticsResponse>(await this.callApi(params, req, runtime), new DescribeSiteMonitorStatisticsResponse({}));
|
|
31889
32564
|
}
|
|
31890
32565
|
|
|
32566
|
+
/**
|
|
32567
|
+
* This topic provides an example to show how to query the statistics of the `Availability` metric for a site monitoring task whose ID is `ef4cdc8b-9dc7-43e7-810e-f950e56c****`. The result indicates that the availability rate of the site is `100%`.
|
|
32568
|
+
*
|
|
32569
|
+
* @param request DescribeSiteMonitorStatisticsRequest
|
|
32570
|
+
* @return DescribeSiteMonitorStatisticsResponse
|
|
32571
|
+
*/
|
|
31891
32572
|
async describeSiteMonitorStatistics(request: DescribeSiteMonitorStatisticsRequest): Promise<DescribeSiteMonitorStatisticsResponse> {
|
|
31892
32573
|
let runtime = new $Util.RuntimeOptions({ });
|
|
31893
32574
|
return await this.describeSiteMonitorStatisticsWithOptions(request, runtime);
|
|
@@ -31963,7 +32644,7 @@ export default class Client extends OpenApi {
|
|
|
31963
32644
|
}
|
|
31964
32645
|
|
|
31965
32646
|
/**
|
|
31966
|
-
*
|
|
32647
|
+
* This topic provides an example on how to query the number of times that a system event occurred for Elastic Compute Service (`ECS`). The returned result indicates that the number of times that the specified system event occurred is 3.
|
|
31967
32648
|
*
|
|
31968
32649
|
* @param request DescribeSystemEventCountRequest
|
|
31969
32650
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32026,7 +32707,7 @@ export default class Client extends OpenApi {
|
|
|
32026
32707
|
}
|
|
32027
32708
|
|
|
32028
32709
|
/**
|
|
32029
|
-
*
|
|
32710
|
+
* This topic provides an example on how to query the number of times that a system event occurred for Elastic Compute Service (`ECS`). The returned result indicates that the number of times that the specified system event occurred is 3.
|
|
32030
32711
|
*
|
|
32031
32712
|
* @param request DescribeSystemEventCountRequest
|
|
32032
32713
|
* @return DescribeSystemEventCountResponse
|
|
@@ -32153,7 +32834,7 @@ export default class Client extends OpenApi {
|
|
|
32153
32834
|
}
|
|
32154
32835
|
|
|
32155
32836
|
/**
|
|
32156
|
-
*
|
|
32837
|
+
* This topic provides an example of how to query the tag values corresponding to `tagKey1`. The return results are `tagValue1` and `tagValue2`.
|
|
32157
32838
|
*
|
|
32158
32839
|
* @param request DescribeTagValueListRequest
|
|
32159
32840
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32192,7 +32873,7 @@ export default class Client extends OpenApi {
|
|
|
32192
32873
|
}
|
|
32193
32874
|
|
|
32194
32875
|
/**
|
|
32195
|
-
*
|
|
32876
|
+
* This topic provides an example of how to query the tag values corresponding to `tagKey1`. The return results are `tagValue1` and `tagValue2`.
|
|
32196
32877
|
*
|
|
32197
32878
|
* @param request DescribeTagValueListRequest
|
|
32198
32879
|
* @return DescribeTagValueListResponse
|
|
@@ -32555,9 +33236,8 @@ export default class Client extends OpenApi {
|
|
|
32555
33236
|
}
|
|
32556
33237
|
|
|
32557
33238
|
/**
|
|
32558
|
-
*
|
|
32559
|
-
*
|
|
32560
|
-
* * false: The call failed.
|
|
33239
|
+
* ## Prerequisites
|
|
33240
|
+
* The Cloud Assistant client is installed on an ECS instance. For more information about how to install the Cloud Assistant client, see [Overview](~~64601~~).
|
|
32561
33241
|
*
|
|
32562
33242
|
* @param request InstallMonitoringAgentRequest
|
|
32563
33243
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32596,9 +33276,8 @@ export default class Client extends OpenApi {
|
|
|
32596
33276
|
}
|
|
32597
33277
|
|
|
32598
33278
|
/**
|
|
32599
|
-
*
|
|
32600
|
-
*
|
|
32601
|
-
* * false: The call failed.
|
|
33279
|
+
* ## Prerequisites
|
|
33280
|
+
* The Cloud Assistant client is installed on an ECS instance. For more information about how to install the Cloud Assistant client, see [Overview](~~64601~~).
|
|
32602
33281
|
*
|
|
32603
33282
|
* @param request InstallMonitoringAgentRequest
|
|
32604
33283
|
* @return InstallMonitoringAgentResponse
|
|
@@ -32650,9 +33329,7 @@ export default class Client extends OpenApi {
|
|
|
32650
33329
|
}
|
|
32651
33330
|
|
|
32652
33331
|
/**
|
|
32653
|
-
*
|
|
32654
|
-
* * true: The call was successful.
|
|
32655
|
-
* * false: The call failed.
|
|
33332
|
+
* This topic provides an example on how to change the name of an availability monitoring task named `12345` in an application group named `123456` to `task2`.
|
|
32656
33333
|
*
|
|
32657
33334
|
* @param request ModifyHostAvailabilityRequest
|
|
32658
33335
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32715,9 +33392,7 @@ export default class Client extends OpenApi {
|
|
|
32715
33392
|
}
|
|
32716
33393
|
|
|
32717
33394
|
/**
|
|
32718
|
-
*
|
|
32719
|
-
* * true: The call was successful.
|
|
32720
|
-
* * false: The call failed.
|
|
33395
|
+
* This topic provides an example on how to change the name of an availability monitoring task named `12345` in an application group named `123456` to `task2`.
|
|
32721
33396
|
*
|
|
32722
33397
|
* @param request ModifyHostAvailabilityRequest
|
|
32723
33398
|
* @return ModifyHostAvailabilityResponse
|
|
@@ -32774,9 +33449,7 @@ export default class Client extends OpenApi {
|
|
|
32774
33449
|
}
|
|
32775
33450
|
|
|
32776
33451
|
/**
|
|
32777
|
-
*
|
|
32778
|
-
* * true: The call was successful.
|
|
32779
|
-
* * false: The call failed.
|
|
33452
|
+
* This topic provides an example on how to change the data retention period of the `aliyun` namespace to `cms.s1.2xlarge`. The response shows that the namespace is modified.
|
|
32780
33453
|
*
|
|
32781
33454
|
* @param request ModifyHybridMonitorNamespaceRequest
|
|
32782
33455
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32815,9 +33488,7 @@ export default class Client extends OpenApi {
|
|
|
32815
33488
|
}
|
|
32816
33489
|
|
|
32817
33490
|
/**
|
|
32818
|
-
*
|
|
32819
|
-
* * true: The call was successful.
|
|
32820
|
-
* * false: The call failed.
|
|
33491
|
+
* This topic provides an example on how to change the data retention period of the `aliyun` namespace to `cms.s1.2xlarge`. The response shows that the namespace is modified.
|
|
32821
33492
|
*
|
|
32822
33493
|
* @param request ModifyHybridMonitorNamespaceRequest
|
|
32823
33494
|
* @return ModifyHybridMonitorNamespaceResponse
|
|
@@ -32828,8 +33499,7 @@ export default class Client extends OpenApi {
|
|
|
32828
33499
|
}
|
|
32829
33500
|
|
|
32830
33501
|
/**
|
|
32831
|
-
* The
|
|
32832
|
-
* Valid values of N: 1 to 25.
|
|
33502
|
+
* In this example, a Logstore group named `Logstore_test` is modified. The Logstore of the `aliyun-project` project in the `cn-hangzhou` region is changed to `Logstore-aliyun-all`. The response shows that the Logstore group is modified.
|
|
32833
33503
|
*
|
|
32834
33504
|
* @param request ModifyHybridMonitorSLSGroupRequest
|
|
32835
33505
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32868,8 +33538,7 @@ export default class Client extends OpenApi {
|
|
|
32868
33538
|
}
|
|
32869
33539
|
|
|
32870
33540
|
/**
|
|
32871
|
-
* The
|
|
32872
|
-
* Valid values of N: 1 to 25.
|
|
33541
|
+
* In this example, a Logstore group named `Logstore_test` is modified. The Logstore of the `aliyun-project` project in the `cn-hangzhou` region is changed to `Logstore-aliyun-all`. The response shows that the Logstore group is modified.
|
|
32873
33542
|
*
|
|
32874
33543
|
* @param request ModifyHybridMonitorSLSGroupRequest
|
|
32875
33544
|
* @return ModifyHybridMonitorSLSGroupResponse
|
|
@@ -32880,7 +33549,7 @@ export default class Client extends OpenApi {
|
|
|
32880
33549
|
}
|
|
32881
33550
|
|
|
32882
33551
|
/**
|
|
32883
|
-
*
|
|
33552
|
+
* This topic provides an example on how to change the collection period of a metric import task whose ID is `36****` to `15` seconds. The task is used to monitor the logs that are imported from Log Service. The returned result indicates that the metric is modified.
|
|
32884
33553
|
*
|
|
32885
33554
|
* @param request ModifyHybridMonitorTaskRequest
|
|
32886
33555
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32931,7 +33600,7 @@ export default class Client extends OpenApi {
|
|
|
32931
33600
|
}
|
|
32932
33601
|
|
|
32933
33602
|
/**
|
|
32934
|
-
*
|
|
33603
|
+
* This topic provides an example on how to change the collection period of a metric import task whose ID is `36****` to `15` seconds. The task is used to monitor the logs that are imported from Log Service. The returned result indicates that the metric is modified.
|
|
32935
33604
|
*
|
|
32936
33605
|
* @param request ModifyHybridMonitorTaskRequest
|
|
32937
33606
|
* @return ModifyHybridMonitorTaskResponse
|
|
@@ -33011,9 +33680,7 @@ export default class Client extends OpenApi {
|
|
|
33011
33680
|
}
|
|
33012
33681
|
|
|
33013
33682
|
/**
|
|
33014
|
-
*
|
|
33015
|
-
* * true: The call was successful.
|
|
33016
|
-
* * false: The call failed.
|
|
33683
|
+
* This topic provides an example on how to modify an alert template whose version is `1` and ID is `123456`. The alert level is changed to `Critical`. The statistical method is changed to `Average`. The alert threshold comparator is changed to `GreaterThanOrEqualToThreshold`. The alert threshold is changed to `90`. The number of alert retries is changed to `3`. The response shows that the alert template is modified.
|
|
33017
33684
|
*
|
|
33018
33685
|
* @param request ModifyMetricRuleTemplateRequest
|
|
33019
33686
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33060,9 +33727,7 @@ export default class Client extends OpenApi {
|
|
|
33060
33727
|
}
|
|
33061
33728
|
|
|
33062
33729
|
/**
|
|
33063
|
-
*
|
|
33064
|
-
* * true: The call was successful.
|
|
33065
|
-
* * false: The call failed.
|
|
33730
|
+
* This topic provides an example on how to modify an alert template whose version is `1` and ID is `123456`. The alert level is changed to `Critical`. The statistical method is changed to `Average`. The alert threshold comparator is changed to `GreaterThanOrEqualToThreshold`. The alert threshold is changed to `90`. The number of alert retries is changed to `3`. The response shows that the alert template is modified.
|
|
33066
33731
|
*
|
|
33067
33732
|
* @param request ModifyMetricRuleTemplateRequest
|
|
33068
33733
|
* @return ModifyMetricRuleTemplateResponse
|
|
@@ -33293,7 +33958,7 @@ export default class Client extends OpenApi {
|
|
|
33293
33958
|
}
|
|
33294
33959
|
|
|
33295
33960
|
/**
|
|
33296
|
-
*
|
|
33961
|
+
* This topic provides an example on how to create an alert contact group named `ECS_Group`.
|
|
33297
33962
|
*
|
|
33298
33963
|
* @param request PutContactGroupRequest
|
|
33299
33964
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33336,7 +34001,7 @@ export default class Client extends OpenApi {
|
|
|
33336
34001
|
}
|
|
33337
34002
|
|
|
33338
34003
|
/**
|
|
33339
|
-
*
|
|
34004
|
+
* This topic provides an example on how to create an alert contact group named `ECS_Group`.
|
|
33340
34005
|
*
|
|
33341
34006
|
* @param request PutContactGroupRequest
|
|
33342
34007
|
* @return PutContactGroupResponse
|
|
@@ -33376,7 +34041,7 @@ export default class Client extends OpenApi {
|
|
|
33376
34041
|
}
|
|
33377
34042
|
|
|
33378
34043
|
/**
|
|
33379
|
-
*
|
|
34044
|
+
* Before you call this operation, call the PutCustomEvent operation to report the monitoring data of the custom event. For more information, see [PutCustomEvent](~~115012~~).
|
|
33380
34045
|
*
|
|
33381
34046
|
* @param request PutCustomEventRuleRequest
|
|
33382
34047
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33447,7 +34112,7 @@ export default class Client extends OpenApi {
|
|
|
33447
34112
|
}
|
|
33448
34113
|
|
|
33449
34114
|
/**
|
|
33450
|
-
*
|
|
34115
|
+
* Before you call this operation, call the PutCustomEvent operation to report the monitoring data of the custom event. For more information, see [PutCustomEvent](~~115012~~).
|
|
33451
34116
|
*
|
|
33452
34117
|
* @param request PutCustomEventRuleRequest
|
|
33453
34118
|
* @return PutCustomEventRuleResponse
|
|
@@ -33458,11 +34123,7 @@ export default class Client extends OpenApi {
|
|
|
33458
34123
|
}
|
|
33459
34124
|
|
|
33460
34125
|
/**
|
|
33461
|
-
*
|
|
33462
|
-
* Set the value to a collection of key-value pairs. Format:`{"Key":"Value"}`.
|
|
33463
|
-
* The key or value must be 1 to 64 bytes in length. Excessive characters are truncated.
|
|
33464
|
-
* The key or value can contain letters, digits, periods (.), hyphens (-), underscores (\\_), forward slashes (/), and backslashes (\\\\).
|
|
33465
|
-
* > Dimensions must be formatted as a JSON string in a specified order.
|
|
34126
|
+
* > We recommend that you call the [PutHybridMonitorMetricData](~~383455~~) operation of Hybrid Cloud Monitoring to report monitoring data.
|
|
33466
34127
|
*
|
|
33467
34128
|
* @param request PutCustomMetricRequest
|
|
33468
34129
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33493,11 +34154,7 @@ export default class Client extends OpenApi {
|
|
|
33493
34154
|
}
|
|
33494
34155
|
|
|
33495
34156
|
/**
|
|
33496
|
-
*
|
|
33497
|
-
* Set the value to a collection of key-value pairs. Format:`{"Key":"Value"}`.
|
|
33498
|
-
* The key or value must be 1 to 64 bytes in length. Excessive characters are truncated.
|
|
33499
|
-
* The key or value can contain letters, digits, periods (.), hyphens (-), underscores (\\_), forward slashes (/), and backslashes (\\\\).
|
|
33500
|
-
* > Dimensions must be formatted as a JSON string in a specified order.
|
|
34157
|
+
* > We recommend that you call the [PutHybridMonitorMetricData](~~383455~~) operation of Hybrid Cloud Monitoring to report monitoring data.
|
|
33501
34158
|
*
|
|
33502
34159
|
* @param request PutCustomMetricRequest
|
|
33503
34160
|
* @return PutCustomMetricResponse
|
|
@@ -33508,7 +34165,7 @@ export default class Client extends OpenApi {
|
|
|
33508
34165
|
}
|
|
33509
34166
|
|
|
33510
34167
|
/**
|
|
33511
|
-
*
|
|
34168
|
+
* Before you call this operation, call the PutCustomMetric operation to report custom monitoring data. For more information, see [PutCustomMetric](~~115004~~).
|
|
33512
34169
|
*
|
|
33513
34170
|
* @param request PutCustomMetricRuleRequest
|
|
33514
34171
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33599,7 +34256,7 @@ export default class Client extends OpenApi {
|
|
|
33599
34256
|
}
|
|
33600
34257
|
|
|
33601
34258
|
/**
|
|
33602
|
-
*
|
|
34259
|
+
* Before you call this operation, call the PutCustomMetric operation to report custom monitoring data. For more information, see [PutCustomMetric](~~115004~~).
|
|
33603
34260
|
*
|
|
33604
34261
|
* @param request PutCustomMetricRuleRequest
|
|
33605
34262
|
* @return PutCustomMetricRuleResponse
|
|
@@ -33610,7 +34267,8 @@ export default class Client extends OpenApi {
|
|
|
33610
34267
|
}
|
|
33611
34268
|
|
|
33612
34269
|
/**
|
|
33613
|
-
*
|
|
34270
|
+
* If the specified rule name does not exist, an event-triggered alert rule is created. If the specified rule name exists, the specified event-triggered alert rule is modified.
|
|
34271
|
+
* In this example, the `myRuleName` alert rule is created for the `ecs` cloud service.
|
|
33614
34272
|
*
|
|
33615
34273
|
* @param request PutEventRuleRequest
|
|
33616
34274
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33665,7 +34323,8 @@ export default class Client extends OpenApi {
|
|
|
33665
34323
|
}
|
|
33666
34324
|
|
|
33667
34325
|
/**
|
|
33668
|
-
*
|
|
34326
|
+
* If the specified rule name does not exist, an event-triggered alert rule is created. If the specified rule name exists, the specified event-triggered alert rule is modified.
|
|
34327
|
+
* In this example, the `myRuleName` alert rule is created for the `ecs` cloud service.
|
|
33669
34328
|
*
|
|
33670
34329
|
* @param request PutEventRuleRequest
|
|
33671
34330
|
* @return PutEventRuleResponse
|
|
@@ -33832,9 +34491,7 @@ export default class Client extends OpenApi {
|
|
|
33832
34491
|
}
|
|
33833
34492
|
|
|
33834
34493
|
/**
|
|
33835
|
-
*
|
|
33836
|
-
* * true: The call was successful.
|
|
33837
|
-
* * false: The call failed.
|
|
34494
|
+
* This topic provides an example on how to create an alert rule for the `cpu_total` metric of Elastic Compute Service (ECS) in the `17285****` application group. The ID of the alert rule is `123456`. The name of the alert rule is `Rule_test`. The alert level is `Critical`. The statistical method is `Average`. The alert threshold comparator is `GreaterThanOrEqualToThreshold`. The alert threshold is `90`. The number of alert retries is `3`. The returned result shows that the alert rule is created and the alert rule ID is `123456`.
|
|
33838
34495
|
*
|
|
33839
34496
|
* @param request PutGroupMetricRuleRequest
|
|
33840
34497
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33937,9 +34594,7 @@ export default class Client extends OpenApi {
|
|
|
33937
34594
|
}
|
|
33938
34595
|
|
|
33939
34596
|
/**
|
|
33940
|
-
*
|
|
33941
|
-
* * true: The call was successful.
|
|
33942
|
-
* * false: The call failed.
|
|
34597
|
+
* This topic provides an example on how to create an alert rule for the `cpu_total` metric of Elastic Compute Service (ECS) in the `17285****` application group. The ID of the alert rule is `123456`. The name of the alert rule is `Rule_test`. The alert level is `Critical`. The statistical method is `Average`. The alert threshold comparator is `GreaterThanOrEqualToThreshold`. The alert threshold is `90`. The number of alert retries is `3`. The returned result shows that the alert rule is created and the alert rule ID is `123456`.
|
|
33943
34598
|
*
|
|
33944
34599
|
* @param request PutGroupMetricRuleRequest
|
|
33945
34600
|
* @return PutGroupMetricRuleResponse
|
|
@@ -33950,9 +34605,12 @@ export default class Client extends OpenApi {
|
|
|
33950
34605
|
}
|
|
33951
34606
|
|
|
33952
34607
|
/**
|
|
33953
|
-
*
|
|
33954
|
-
*
|
|
33955
|
-
*
|
|
34608
|
+
* # [](#)Prerequisites
|
|
34609
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
34610
|
+
* # [](#)Limits
|
|
34611
|
+
* The size of the monitoring data that you import at a time must be less than or equal to 1 MB.
|
|
34612
|
+
* # [](#)Description
|
|
34613
|
+
* This topic provides an example on how to import the monitoring data of the `CPU_Usage` metric to the `default-aliyun` namespace of Hybrid Cloud Monitoring.
|
|
33956
34614
|
*
|
|
33957
34615
|
* @param request PutHybridMonitorMetricDataRequest
|
|
33958
34616
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33987,9 +34645,12 @@ export default class Client extends OpenApi {
|
|
|
33987
34645
|
}
|
|
33988
34646
|
|
|
33989
34647
|
/**
|
|
33990
|
-
*
|
|
33991
|
-
*
|
|
33992
|
-
*
|
|
34648
|
+
* # [](#)Prerequisites
|
|
34649
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
34650
|
+
* # [](#)Limits
|
|
34651
|
+
* The size of the monitoring data that you import at a time must be less than or equal to 1 MB.
|
|
34652
|
+
* # [](#)Description
|
|
34653
|
+
* This topic provides an example on how to import the monitoring data of the `CPU_Usage` metric to the `default-aliyun` namespace of Hybrid Cloud Monitoring.
|
|
33993
34654
|
*
|
|
33994
34655
|
* @param request PutHybridMonitorMetricDataRequest
|
|
33995
34656
|
* @return PutHybridMonitorMetricDataResponse
|
|
@@ -34000,7 +34661,7 @@ export default class Client extends OpenApi {
|
|
|
34000
34661
|
}
|
|
34001
34662
|
|
|
34002
34663
|
/**
|
|
34003
|
-
*
|
|
34664
|
+
* In the example of this topic, the `cpu_total` log monitoring metric is created. The response shows that the log monitoring metric is created and the metric ID is `16****`.
|
|
34004
34665
|
*
|
|
34005
34666
|
* @param request PutLogMonitorRequest
|
|
34006
34667
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34079,7 +34740,7 @@ export default class Client extends OpenApi {
|
|
|
34079
34740
|
}
|
|
34080
34741
|
|
|
34081
34742
|
/**
|
|
34082
|
-
*
|
|
34743
|
+
* In the example of this topic, the `cpu_total` log monitoring metric is created. The response shows that the log monitoring metric is created and the metric ID is `16****`.
|
|
34083
34744
|
*
|
|
34084
34745
|
* @param request PutLogMonitorRequest
|
|
34085
34746
|
* @return PutLogMonitorResponse
|
|
@@ -34090,9 +34751,8 @@ export default class Client extends OpenApi {
|
|
|
34090
34751
|
}
|
|
34091
34752
|
|
|
34092
34753
|
/**
|
|
34093
|
-
*
|
|
34094
|
-
*
|
|
34095
|
-
* * false: The call failed.
|
|
34754
|
+
* ## Limit
|
|
34755
|
+
* This operation supports only Message Service (MNS) resources.
|
|
34096
34756
|
*
|
|
34097
34757
|
* @param request PutMetricRuleTargetsRequest
|
|
34098
34758
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34127,9 +34787,8 @@ export default class Client extends OpenApi {
|
|
|
34127
34787
|
}
|
|
34128
34788
|
|
|
34129
34789
|
/**
|
|
34130
|
-
*
|
|
34131
|
-
*
|
|
34132
|
-
* * false: The call failed.
|
|
34790
|
+
* ## Limit
|
|
34791
|
+
* This operation supports only Message Service (MNS) resources.
|
|
34133
34792
|
*
|
|
34134
34793
|
* @param request PutMetricRuleTargetsRequest
|
|
34135
34794
|
* @return PutMetricRuleTargetsResponse
|
|
@@ -34210,8 +34869,7 @@ export default class Client extends OpenApi {
|
|
|
34210
34869
|
}
|
|
34211
34870
|
|
|
34212
34871
|
/**
|
|
34213
|
-
* The
|
|
34214
|
-
* > If an alert is not cleared within the mute period, a new alert notification is sent when the mute period ends.
|
|
34872
|
+
* This topic provides an example to show how to create a threshold-triggered alert rule for the `cpu_total` metric of an Elastic Compute Service (ECS) instance whose ID is `i-uf6j91r34rnwawoo****`. The namespace of ECS is `acs_ecs_dashboard`. The alert contact group of the alert rule is `ECS_Group`. The name of the alert rule is `test123`. The ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`. The comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`. The threshold for Critical-level alerts is `90`. The consecutive number of times for which the metric value meets the trigger condition before a Critical-level alert is triggered is `3`.
|
|
34215
34873
|
*
|
|
34216
34874
|
* @param tmpReq PutResourceMetricRuleRequest
|
|
34217
34875
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34320,8 +34978,7 @@ export default class Client extends OpenApi {
|
|
|
34320
34978
|
}
|
|
34321
34979
|
|
|
34322
34980
|
/**
|
|
34323
|
-
* The
|
|
34324
|
-
* > If an alert is not cleared within the mute period, a new alert notification is sent when the mute period ends.
|
|
34981
|
+
* This topic provides an example to show how to create a threshold-triggered alert rule for the `cpu_total` metric of an Elastic Compute Service (ECS) instance whose ID is `i-uf6j91r34rnwawoo****`. The namespace of ECS is `acs_ecs_dashboard`. The alert contact group of the alert rule is `ECS_Group`. The name of the alert rule is `test123`. The ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`. The comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`. The threshold for Critical-level alerts is `90`. The consecutive number of times for which the metric value meets the trigger condition before a Critical-level alert is triggered is `3`.
|
|
34325
34982
|
*
|
|
34326
34983
|
* @param request PutResourceMetricRuleRequest
|
|
34327
34984
|
* @return PutResourceMetricRuleResponse
|
|
@@ -34332,9 +34989,7 @@ export default class Client extends OpenApi {
|
|
|
34332
34989
|
}
|
|
34333
34990
|
|
|
34334
34991
|
/**
|
|
34335
|
-
*
|
|
34336
|
-
* * true: The call was successful.
|
|
34337
|
-
* * false: The call failed.
|
|
34992
|
+
* This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of the `i-uf6j91r34rnwawoo****` instance that belongs to Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. In this example, the alert contact group of the alert rule is `ECS_Group`, the name of the alert rule is `test123`, and the ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`, the comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`, the threshold for Critical-level alerts is `90`, and the consecutive number of times for which the metric value is measured before a Critical-level alert is triggered is `3`.
|
|
34338
34993
|
*
|
|
34339
34994
|
* @param request PutResourceMetricRulesRequest
|
|
34340
34995
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34365,9 +35020,7 @@ export default class Client extends OpenApi {
|
|
|
34365
35020
|
}
|
|
34366
35021
|
|
|
34367
35022
|
/**
|
|
34368
|
-
*
|
|
34369
|
-
* * true: The call was successful.
|
|
34370
|
-
* * false: The call failed.
|
|
35023
|
+
* This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of the `i-uf6j91r34rnwawoo****` instance that belongs to Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. In this example, the alert contact group of the alert rule is `ECS_Group`, the name of the alert rule is `test123`, and the ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`, the comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`, the threshold for Critical-level alerts is `90`, and the consecutive number of times for which the metric value is measured before a Critical-level alert is triggered is `3`.
|
|
34371
35024
|
*
|
|
34372
35025
|
* @param request PutResourceMetricRulesRequest
|
|
34373
35026
|
* @return PutResourceMetricRulesResponse
|
|
@@ -34411,8 +35064,7 @@ export default class Client extends OpenApi {
|
|
|
34411
35064
|
}
|
|
34412
35065
|
|
|
34413
35066
|
/**
|
|
34414
|
-
*
|
|
34415
|
-
* > For information about the system events supported by Cloud Monitor for Alibaba Cloud services, see [System events](~~167388~~).
|
|
35067
|
+
* This operation is used to test whether a system event can be triggered as expected. You can call this operation to simulate a system event and check whether an expected response is returned after an alert is triggered by the system event.
|
|
34416
35068
|
*
|
|
34417
35069
|
* @param request SendDryRunSystemEventRequest
|
|
34418
35070
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34455,8 +35107,7 @@ export default class Client extends OpenApi {
|
|
|
34455
35107
|
}
|
|
34456
35108
|
|
|
34457
35109
|
/**
|
|
34458
|
-
*
|
|
34459
|
-
* > For information about the system events supported by Cloud Monitor for Alibaba Cloud services, see [System events](~~167388~~).
|
|
35110
|
+
* This operation is used to test whether a system event can be triggered as expected. You can call this operation to simulate a system event and check whether an expected response is returned after an alert is triggered by the system event.
|
|
34460
35111
|
*
|
|
34461
35112
|
* @param request SendDryRunSystemEventRequest
|
|
34462
35113
|
* @return SendDryRunSystemEventResponse
|
|
@@ -34467,7 +35118,7 @@ export default class Client extends OpenApi {
|
|
|
34467
35118
|
}
|
|
34468
35119
|
|
|
34469
35120
|
/**
|
|
34470
|
-
*
|
|
35121
|
+
* > This API operation is not applicable to ECS instances. To uninstall the agent from an ECS instance, see [Install and uninstall the Cloud Monitor agent](~~183482~~).
|
|
34471
35122
|
*
|
|
34472
35123
|
* @param request UninstallMonitoringAgentRequest
|
|
34473
35124
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34498,7 +35149,7 @@ export default class Client extends OpenApi {
|
|
|
34498
35149
|
}
|
|
34499
35150
|
|
|
34500
35151
|
/**
|
|
34501
|
-
*
|
|
35152
|
+
* > This API operation is not applicable to ECS instances. To uninstall the agent from an ECS instance, see [Install and uninstall the Cloud Monitor agent](~~183482~~).
|
|
34502
35153
|
*
|
|
34503
35154
|
* @param request UninstallMonitoringAgentRequest
|
|
34504
35155
|
* @return UninstallMonitoringAgentResponse
|