@alicloud/cms20190101 2.0.6 → 2.0.8
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 +589 -108
- package/dist/client.js +839 -149
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +969 -108
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;
|
|
@@ -6344,6 +6384,7 @@ export class DescribeEventRuleAttributeResponse extends $tea.Model {
|
|
|
6344
6384
|
|
|
6345
6385
|
export class DescribeEventRuleListRequest extends $tea.Model {
|
|
6346
6386
|
groupId?: string;
|
|
6387
|
+
isEnable?: boolean;
|
|
6347
6388
|
namePrefix?: string;
|
|
6348
6389
|
pageNumber?: string;
|
|
6349
6390
|
pageSize?: string;
|
|
@@ -6351,6 +6392,7 @@ export class DescribeEventRuleListRequest extends $tea.Model {
|
|
|
6351
6392
|
static names(): { [key: string]: string } {
|
|
6352
6393
|
return {
|
|
6353
6394
|
groupId: 'GroupId',
|
|
6395
|
+
isEnable: 'IsEnable',
|
|
6354
6396
|
namePrefix: 'NamePrefix',
|
|
6355
6397
|
pageNumber: 'PageNumber',
|
|
6356
6398
|
pageSize: 'PageSize',
|
|
@@ -6361,6 +6403,7 @@ export class DescribeEventRuleListRequest extends $tea.Model {
|
|
|
6361
6403
|
static types(): { [key: string]: any } {
|
|
6362
6404
|
return {
|
|
6363
6405
|
groupId: 'string',
|
|
6406
|
+
isEnable: 'boolean',
|
|
6364
6407
|
namePrefix: 'string',
|
|
6365
6408
|
pageNumber: 'string',
|
|
6366
6409
|
pageSize: 'string',
|
|
@@ -10324,7 +10367,10 @@ export class DescribeSiteMonitorListResponse extends $tea.Model {
|
|
|
10324
10367
|
}
|
|
10325
10368
|
|
|
10326
10369
|
export class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
10370
|
+
browser?: string;
|
|
10371
|
+
browserInfo?: string;
|
|
10327
10372
|
city?: string;
|
|
10373
|
+
device?: string;
|
|
10328
10374
|
endTime?: string;
|
|
10329
10375
|
filter?: string;
|
|
10330
10376
|
isp?: string;
|
|
@@ -10336,7 +10382,10 @@ export class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
|
10336
10382
|
taskIds?: string;
|
|
10337
10383
|
static names(): { [key: string]: string } {
|
|
10338
10384
|
return {
|
|
10385
|
+
browser: 'Browser',
|
|
10386
|
+
browserInfo: 'BrowserInfo',
|
|
10339
10387
|
city: 'City',
|
|
10388
|
+
device: 'Device',
|
|
10340
10389
|
endTime: 'EndTime',
|
|
10341
10390
|
filter: 'Filter',
|
|
10342
10391
|
isp: 'Isp',
|
|
@@ -10351,7 +10400,10 @@ export class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
|
10351
10400
|
|
|
10352
10401
|
static types(): { [key: string]: any } {
|
|
10353
10402
|
return {
|
|
10403
|
+
browser: 'string',
|
|
10404
|
+
browserInfo: 'string',
|
|
10354
10405
|
city: 'string',
|
|
10406
|
+
device: 'string',
|
|
10355
10407
|
endTime: 'string',
|
|
10356
10408
|
filter: 'string',
|
|
10357
10409
|
isp: 'string',
|
|
@@ -15219,6 +15271,506 @@ export class EscalationRuleEscalations extends $tea.Model {
|
|
|
15219
15271
|
}
|
|
15220
15272
|
}
|
|
15221
15273
|
|
|
15274
|
+
export class MigrationJobPlanContactsChannels extends $tea.Model {
|
|
15275
|
+
level?: number;
|
|
15276
|
+
type?: string;
|
|
15277
|
+
value?: string;
|
|
15278
|
+
static names(): { [key: string]: string } {
|
|
15279
|
+
return {
|
|
15280
|
+
level: 'Level',
|
|
15281
|
+
type: 'Type',
|
|
15282
|
+
value: 'Value',
|
|
15283
|
+
};
|
|
15284
|
+
}
|
|
15285
|
+
|
|
15286
|
+
static types(): { [key: string]: any } {
|
|
15287
|
+
return {
|
|
15288
|
+
level: 'number',
|
|
15289
|
+
type: 'string',
|
|
15290
|
+
value: 'string',
|
|
15291
|
+
};
|
|
15292
|
+
}
|
|
15293
|
+
|
|
15294
|
+
constructor(map?: { [key: string]: any }) {
|
|
15295
|
+
super(map);
|
|
15296
|
+
}
|
|
15297
|
+
}
|
|
15298
|
+
|
|
15299
|
+
export class MigrationJobPlanContacts extends $tea.Model {
|
|
15300
|
+
channels?: MigrationJobPlanContactsChannels[];
|
|
15301
|
+
name?: string;
|
|
15302
|
+
static names(): { [key: string]: string } {
|
|
15303
|
+
return {
|
|
15304
|
+
channels: 'Channels',
|
|
15305
|
+
name: 'Name',
|
|
15306
|
+
};
|
|
15307
|
+
}
|
|
15308
|
+
|
|
15309
|
+
static types(): { [key: string]: any } {
|
|
15310
|
+
return {
|
|
15311
|
+
channels: { 'type': 'array', 'itemType': MigrationJobPlanContactsChannels },
|
|
15312
|
+
name: 'string',
|
|
15313
|
+
};
|
|
15314
|
+
}
|
|
15315
|
+
|
|
15316
|
+
constructor(map?: { [key: string]: any }) {
|
|
15317
|
+
super(map);
|
|
15318
|
+
}
|
|
15319
|
+
}
|
|
15320
|
+
|
|
15321
|
+
export class MigrationJobPlanEscalationsEscalationsLevelGroups extends $tea.Model {
|
|
15322
|
+
critical?: string[];
|
|
15323
|
+
info?: string[];
|
|
15324
|
+
resolved?: string[];
|
|
15325
|
+
warning?: string[];
|
|
15326
|
+
static names(): { [key: string]: string } {
|
|
15327
|
+
return {
|
|
15328
|
+
critical: 'Critical',
|
|
15329
|
+
info: 'Info',
|
|
15330
|
+
resolved: 'Resolved',
|
|
15331
|
+
warning: 'Warning',
|
|
15332
|
+
};
|
|
15333
|
+
}
|
|
15334
|
+
|
|
15335
|
+
static types(): { [key: string]: any } {
|
|
15336
|
+
return {
|
|
15337
|
+
critical: { 'type': 'array', 'itemType': 'string' },
|
|
15338
|
+
info: { 'type': 'array', 'itemType': 'string' },
|
|
15339
|
+
resolved: { 'type': 'array', 'itemType': 'string' },
|
|
15340
|
+
warning: { 'type': 'array', 'itemType': 'string' },
|
|
15341
|
+
};
|
|
15342
|
+
}
|
|
15343
|
+
|
|
15344
|
+
constructor(map?: { [key: string]: any }) {
|
|
15345
|
+
super(map);
|
|
15346
|
+
}
|
|
15347
|
+
}
|
|
15348
|
+
|
|
15349
|
+
export class MigrationJobPlanEscalationsEscalations extends $tea.Model {
|
|
15350
|
+
groups?: string[];
|
|
15351
|
+
levelGroups?: MigrationJobPlanEscalationsEscalationsLevelGroups;
|
|
15352
|
+
static names(): { [key: string]: string } {
|
|
15353
|
+
return {
|
|
15354
|
+
groups: 'Groups',
|
|
15355
|
+
levelGroups: 'LevelGroups',
|
|
15356
|
+
};
|
|
15357
|
+
}
|
|
15358
|
+
|
|
15359
|
+
static types(): { [key: string]: any } {
|
|
15360
|
+
return {
|
|
15361
|
+
groups: { 'type': 'array', 'itemType': 'string' },
|
|
15362
|
+
levelGroups: MigrationJobPlanEscalationsEscalationsLevelGroups,
|
|
15363
|
+
};
|
|
15364
|
+
}
|
|
15365
|
+
|
|
15366
|
+
constructor(map?: { [key: string]: any }) {
|
|
15367
|
+
super(map);
|
|
15368
|
+
}
|
|
15369
|
+
}
|
|
15370
|
+
|
|
15371
|
+
export class MigrationJobPlanEscalations extends $tea.Model {
|
|
15372
|
+
escalations?: MigrationJobPlanEscalationsEscalations[];
|
|
15373
|
+
name?: string;
|
|
15374
|
+
uuid?: string;
|
|
15375
|
+
static names(): { [key: string]: string } {
|
|
15376
|
+
return {
|
|
15377
|
+
escalations: 'Escalations',
|
|
15378
|
+
name: 'Name',
|
|
15379
|
+
uuid: 'Uuid',
|
|
15380
|
+
};
|
|
15381
|
+
}
|
|
15382
|
+
|
|
15383
|
+
static types(): { [key: string]: any } {
|
|
15384
|
+
return {
|
|
15385
|
+
escalations: { 'type': 'array', 'itemType': MigrationJobPlanEscalationsEscalations },
|
|
15386
|
+
name: 'string',
|
|
15387
|
+
uuid: 'string',
|
|
15388
|
+
};
|
|
15389
|
+
}
|
|
15390
|
+
|
|
15391
|
+
constructor(map?: { [key: string]: any }) {
|
|
15392
|
+
super(map);
|
|
15393
|
+
}
|
|
15394
|
+
}
|
|
15395
|
+
|
|
15396
|
+
export class MigrationJobPlanGroups extends $tea.Model {
|
|
15397
|
+
contacts?: string[];
|
|
15398
|
+
name?: string;
|
|
15399
|
+
static names(): { [key: string]: string } {
|
|
15400
|
+
return {
|
|
15401
|
+
contacts: 'Contacts',
|
|
15402
|
+
name: 'Name',
|
|
15403
|
+
};
|
|
15404
|
+
}
|
|
15405
|
+
|
|
15406
|
+
static types(): { [key: string]: any } {
|
|
15407
|
+
return {
|
|
15408
|
+
contacts: { 'type': 'array', 'itemType': 'string' },
|
|
15409
|
+
name: 'string',
|
|
15410
|
+
};
|
|
15411
|
+
}
|
|
15412
|
+
|
|
15413
|
+
constructor(map?: { [key: string]: any }) {
|
|
15414
|
+
super(map);
|
|
15415
|
+
}
|
|
15416
|
+
}
|
|
15417
|
+
|
|
15418
|
+
export class MigrationJobPlanStrategiesEscalationSetting extends $tea.Model {
|
|
15419
|
+
escalationUuid?: string;
|
|
15420
|
+
static names(): { [key: string]: string } {
|
|
15421
|
+
return {
|
|
15422
|
+
escalationUuid: 'escalationUuid',
|
|
15423
|
+
};
|
|
15424
|
+
}
|
|
15425
|
+
|
|
15426
|
+
static types(): { [key: string]: any } {
|
|
15427
|
+
return {
|
|
15428
|
+
escalationUuid: 'string',
|
|
15429
|
+
};
|
|
15430
|
+
}
|
|
15431
|
+
|
|
15432
|
+
constructor(map?: { [key: string]: any }) {
|
|
15433
|
+
super(map);
|
|
15434
|
+
}
|
|
15435
|
+
}
|
|
15436
|
+
|
|
15437
|
+
export class MigrationJobPlanStrategiesPushingSetting extends $tea.Model {
|
|
15438
|
+
targetUuids?: string[];
|
|
15439
|
+
static names(): { [key: string]: string } {
|
|
15440
|
+
return {
|
|
15441
|
+
targetUuids: 'TargetUuids',
|
|
15442
|
+
};
|
|
15443
|
+
}
|
|
15444
|
+
|
|
15445
|
+
static types(): { [key: string]: any } {
|
|
15446
|
+
return {
|
|
15447
|
+
targetUuids: { 'type': 'array', 'itemType': 'string' },
|
|
15448
|
+
};
|
|
15449
|
+
}
|
|
15450
|
+
|
|
15451
|
+
constructor(map?: { [key: string]: any }) {
|
|
15452
|
+
super(map);
|
|
15453
|
+
}
|
|
15454
|
+
}
|
|
15455
|
+
|
|
15456
|
+
export class MigrationJobPlanStrategies extends $tea.Model {
|
|
15457
|
+
escalationSetting?: MigrationJobPlanStrategiesEscalationSetting;
|
|
15458
|
+
name?: string;
|
|
15459
|
+
pushingSetting?: MigrationJobPlanStrategiesPushingSetting;
|
|
15460
|
+
static names(): { [key: string]: string } {
|
|
15461
|
+
return {
|
|
15462
|
+
escalationSetting: 'EscalationSetting',
|
|
15463
|
+
name: 'Name',
|
|
15464
|
+
pushingSetting: 'PushingSetting',
|
|
15465
|
+
};
|
|
15466
|
+
}
|
|
15467
|
+
|
|
15468
|
+
static types(): { [key: string]: any } {
|
|
15469
|
+
return {
|
|
15470
|
+
escalationSetting: MigrationJobPlanStrategiesEscalationSetting,
|
|
15471
|
+
name: 'string',
|
|
15472
|
+
pushingSetting: MigrationJobPlanStrategiesPushingSetting,
|
|
15473
|
+
};
|
|
15474
|
+
}
|
|
15475
|
+
|
|
15476
|
+
constructor(map?: { [key: string]: any }) {
|
|
15477
|
+
super(map);
|
|
15478
|
+
}
|
|
15479
|
+
}
|
|
15480
|
+
|
|
15481
|
+
export class MigrationJobPlanSubscriptionsConditions extends $tea.Model {
|
|
15482
|
+
field?: string;
|
|
15483
|
+
op?: string;
|
|
15484
|
+
value?: string;
|
|
15485
|
+
static names(): { [key: string]: string } {
|
|
15486
|
+
return {
|
|
15487
|
+
field: 'Field',
|
|
15488
|
+
op: 'Op',
|
|
15489
|
+
value: 'Value',
|
|
15490
|
+
};
|
|
15491
|
+
}
|
|
15492
|
+
|
|
15493
|
+
static types(): { [key: string]: any } {
|
|
15494
|
+
return {
|
|
15495
|
+
field: 'string',
|
|
15496
|
+
op: 'string',
|
|
15497
|
+
value: 'string',
|
|
15498
|
+
};
|
|
15499
|
+
}
|
|
15500
|
+
|
|
15501
|
+
constructor(map?: { [key: string]: any }) {
|
|
15502
|
+
super(map);
|
|
15503
|
+
}
|
|
15504
|
+
}
|
|
15505
|
+
|
|
15506
|
+
export class MigrationJobPlanSubscriptions extends $tea.Model {
|
|
15507
|
+
conditions?: MigrationJobPlanSubscriptionsConditions[];
|
|
15508
|
+
name?: string;
|
|
15509
|
+
strategyUuid?: string;
|
|
15510
|
+
static names(): { [key: string]: string } {
|
|
15511
|
+
return {
|
|
15512
|
+
conditions: 'Conditions',
|
|
15513
|
+
name: 'Name',
|
|
15514
|
+
strategyUuid: 'StrategyUuid',
|
|
15515
|
+
};
|
|
15516
|
+
}
|
|
15517
|
+
|
|
15518
|
+
static types(): { [key: string]: any } {
|
|
15519
|
+
return {
|
|
15520
|
+
conditions: { 'type': 'array', 'itemType': MigrationJobPlanSubscriptionsConditions },
|
|
15521
|
+
name: 'string',
|
|
15522
|
+
strategyUuid: 'string',
|
|
15523
|
+
};
|
|
15524
|
+
}
|
|
15525
|
+
|
|
15526
|
+
constructor(map?: { [key: string]: any }) {
|
|
15527
|
+
super(map);
|
|
15528
|
+
}
|
|
15529
|
+
}
|
|
15530
|
+
|
|
15531
|
+
export class MigrationJobPlanTargetsHttpRequestTarget extends $tea.Model {
|
|
15532
|
+
contentType?: string;
|
|
15533
|
+
method?: string;
|
|
15534
|
+
url?: string;
|
|
15535
|
+
static names(): { [key: string]: string } {
|
|
15536
|
+
return {
|
|
15537
|
+
contentType: 'ContentType',
|
|
15538
|
+
method: 'Method',
|
|
15539
|
+
url: 'Url',
|
|
15540
|
+
};
|
|
15541
|
+
}
|
|
15542
|
+
|
|
15543
|
+
static types(): { [key: string]: any } {
|
|
15544
|
+
return {
|
|
15545
|
+
contentType: 'string',
|
|
15546
|
+
method: 'string',
|
|
15547
|
+
url: 'string',
|
|
15548
|
+
};
|
|
15549
|
+
}
|
|
15550
|
+
|
|
15551
|
+
constructor(map?: { [key: string]: any }) {
|
|
15552
|
+
super(map);
|
|
15553
|
+
}
|
|
15554
|
+
}
|
|
15555
|
+
|
|
15556
|
+
export class MigrationJobPlanTargets extends $tea.Model {
|
|
15557
|
+
arn?: string;
|
|
15558
|
+
httpRequestTarget?: MigrationJobPlanTargetsHttpRequestTarget;
|
|
15559
|
+
name?: string;
|
|
15560
|
+
type?: string;
|
|
15561
|
+
uuid?: string;
|
|
15562
|
+
static names(): { [key: string]: string } {
|
|
15563
|
+
return {
|
|
15564
|
+
arn: 'Arn',
|
|
15565
|
+
httpRequestTarget: 'HttpRequestTarget',
|
|
15566
|
+
name: 'Name',
|
|
15567
|
+
type: 'Type',
|
|
15568
|
+
uuid: 'Uuid',
|
|
15569
|
+
};
|
|
15570
|
+
}
|
|
15571
|
+
|
|
15572
|
+
static types(): { [key: string]: any } {
|
|
15573
|
+
return {
|
|
15574
|
+
arn: 'string',
|
|
15575
|
+
httpRequestTarget: MigrationJobPlanTargetsHttpRequestTarget,
|
|
15576
|
+
name: 'string',
|
|
15577
|
+
type: 'string',
|
|
15578
|
+
uuid: 'string',
|
|
15579
|
+
};
|
|
15580
|
+
}
|
|
15581
|
+
|
|
15582
|
+
constructor(map?: { [key: string]: any }) {
|
|
15583
|
+
super(map);
|
|
15584
|
+
}
|
|
15585
|
+
}
|
|
15586
|
+
|
|
15587
|
+
export class MigrationJobPlan extends $tea.Model {
|
|
15588
|
+
contacts?: MigrationJobPlanContacts[];
|
|
15589
|
+
escalations?: MigrationJobPlanEscalations[];
|
|
15590
|
+
groups?: MigrationJobPlanGroups[];
|
|
15591
|
+
ruleNames?: string[];
|
|
15592
|
+
strategies?: MigrationJobPlanStrategies[];
|
|
15593
|
+
subscriptions?: MigrationJobPlanSubscriptions[];
|
|
15594
|
+
targets?: MigrationJobPlanTargets[];
|
|
15595
|
+
static names(): { [key: string]: string } {
|
|
15596
|
+
return {
|
|
15597
|
+
contacts: 'Contacts',
|
|
15598
|
+
escalations: 'Escalations',
|
|
15599
|
+
groups: 'Groups',
|
|
15600
|
+
ruleNames: 'RuleNames',
|
|
15601
|
+
strategies: 'Strategies',
|
|
15602
|
+
subscriptions: 'Subscriptions',
|
|
15603
|
+
targets: 'Targets',
|
|
15604
|
+
};
|
|
15605
|
+
}
|
|
15606
|
+
|
|
15607
|
+
static types(): { [key: string]: any } {
|
|
15608
|
+
return {
|
|
15609
|
+
contacts: { 'type': 'array', 'itemType': MigrationJobPlanContacts },
|
|
15610
|
+
escalations: { 'type': 'array', 'itemType': MigrationJobPlanEscalations },
|
|
15611
|
+
groups: { 'type': 'array', 'itemType': MigrationJobPlanGroups },
|
|
15612
|
+
ruleNames: { 'type': 'array', 'itemType': 'string' },
|
|
15613
|
+
strategies: { 'type': 'array', 'itemType': MigrationJobPlanStrategies },
|
|
15614
|
+
subscriptions: { 'type': 'array', 'itemType': MigrationJobPlanSubscriptions },
|
|
15615
|
+
targets: { 'type': 'array', 'itemType': MigrationJobPlanTargets },
|
|
15616
|
+
};
|
|
15617
|
+
}
|
|
15618
|
+
|
|
15619
|
+
constructor(map?: { [key: string]: any }) {
|
|
15620
|
+
super(map);
|
|
15621
|
+
}
|
|
15622
|
+
}
|
|
15623
|
+
|
|
15624
|
+
export class MigrationJobSourceRuleKeywordFilter extends $tea.Model {
|
|
15625
|
+
keywords?: string[];
|
|
15626
|
+
relation?: string;
|
|
15627
|
+
static names(): { [key: string]: string } {
|
|
15628
|
+
return {
|
|
15629
|
+
keywords: 'Keywords',
|
|
15630
|
+
relation: 'Relation',
|
|
15631
|
+
};
|
|
15632
|
+
}
|
|
15633
|
+
|
|
15634
|
+
static types(): { [key: string]: any } {
|
|
15635
|
+
return {
|
|
15636
|
+
keywords: { 'type': 'array', 'itemType': 'string' },
|
|
15637
|
+
relation: 'string',
|
|
15638
|
+
};
|
|
15639
|
+
}
|
|
15640
|
+
|
|
15641
|
+
constructor(map?: { [key: string]: any }) {
|
|
15642
|
+
super(map);
|
|
15643
|
+
}
|
|
15644
|
+
}
|
|
15645
|
+
|
|
15646
|
+
export class MigrationJobSourceRulePrimaryFilters extends $tea.Model {
|
|
15647
|
+
field?: string;
|
|
15648
|
+
opType?: string;
|
|
15649
|
+
value?: string;
|
|
15650
|
+
static names(): { [key: string]: string } {
|
|
15651
|
+
return {
|
|
15652
|
+
field: 'Field',
|
|
15653
|
+
opType: 'OpType',
|
|
15654
|
+
value: 'Value',
|
|
15655
|
+
};
|
|
15656
|
+
}
|
|
15657
|
+
|
|
15658
|
+
static types(): { [key: string]: any } {
|
|
15659
|
+
return {
|
|
15660
|
+
field: 'string',
|
|
15661
|
+
opType: 'string',
|
|
15662
|
+
value: 'string',
|
|
15663
|
+
};
|
|
15664
|
+
}
|
|
15665
|
+
|
|
15666
|
+
constructor(map?: { [key: string]: any }) {
|
|
15667
|
+
super(map);
|
|
15668
|
+
}
|
|
15669
|
+
}
|
|
15670
|
+
|
|
15671
|
+
export class MigrationJobSourceRule extends $tea.Model {
|
|
15672
|
+
keywordFilter?: MigrationJobSourceRuleKeywordFilter;
|
|
15673
|
+
name?: string;
|
|
15674
|
+
primaryFilters?: MigrationJobSourceRulePrimaryFilters[];
|
|
15675
|
+
static names(): { [key: string]: string } {
|
|
15676
|
+
return {
|
|
15677
|
+
keywordFilter: 'KeywordFilter',
|
|
15678
|
+
name: 'Name',
|
|
15679
|
+
primaryFilters: 'PrimaryFilters',
|
|
15680
|
+
};
|
|
15681
|
+
}
|
|
15682
|
+
|
|
15683
|
+
static types(): { [key: string]: any } {
|
|
15684
|
+
return {
|
|
15685
|
+
keywordFilter: MigrationJobSourceRuleKeywordFilter,
|
|
15686
|
+
name: 'string',
|
|
15687
|
+
primaryFilters: { 'type': 'array', 'itemType': MigrationJobSourceRulePrimaryFilters },
|
|
15688
|
+
};
|
|
15689
|
+
}
|
|
15690
|
+
|
|
15691
|
+
constructor(map?: { [key: string]: any }) {
|
|
15692
|
+
super(map);
|
|
15693
|
+
}
|
|
15694
|
+
}
|
|
15695
|
+
|
|
15696
|
+
export class MigrationJobSourceTargetsContent extends $tea.Model {
|
|
15697
|
+
group?: string;
|
|
15698
|
+
level?: string;
|
|
15699
|
+
method?: string;
|
|
15700
|
+
region?: string;
|
|
15701
|
+
resourcePath?: string;
|
|
15702
|
+
url?: string;
|
|
15703
|
+
static names(): { [key: string]: string } {
|
|
15704
|
+
return {
|
|
15705
|
+
group: 'Group',
|
|
15706
|
+
level: 'Level',
|
|
15707
|
+
method: 'Method',
|
|
15708
|
+
region: 'Region',
|
|
15709
|
+
resourcePath: 'ResourcePath',
|
|
15710
|
+
url: 'Url',
|
|
15711
|
+
};
|
|
15712
|
+
}
|
|
15713
|
+
|
|
15714
|
+
static types(): { [key: string]: any } {
|
|
15715
|
+
return {
|
|
15716
|
+
group: 'string',
|
|
15717
|
+
level: 'string',
|
|
15718
|
+
method: 'string',
|
|
15719
|
+
region: 'string',
|
|
15720
|
+
resourcePath: 'string',
|
|
15721
|
+
url: 'string',
|
|
15722
|
+
};
|
|
15723
|
+
}
|
|
15724
|
+
|
|
15725
|
+
constructor(map?: { [key: string]: any }) {
|
|
15726
|
+
super(map);
|
|
15727
|
+
}
|
|
15728
|
+
}
|
|
15729
|
+
|
|
15730
|
+
export class MigrationJobSourceTargets extends $tea.Model {
|
|
15731
|
+
content?: MigrationJobSourceTargetsContent;
|
|
15732
|
+
type?: string;
|
|
15733
|
+
static names(): { [key: string]: string } {
|
|
15734
|
+
return {
|
|
15735
|
+
content: 'Content',
|
|
15736
|
+
type: 'Type',
|
|
15737
|
+
};
|
|
15738
|
+
}
|
|
15739
|
+
|
|
15740
|
+
static types(): { [key: string]: any } {
|
|
15741
|
+
return {
|
|
15742
|
+
content: MigrationJobSourceTargetsContent,
|
|
15743
|
+
type: 'string',
|
|
15744
|
+
};
|
|
15745
|
+
}
|
|
15746
|
+
|
|
15747
|
+
constructor(map?: { [key: string]: any }) {
|
|
15748
|
+
super(map);
|
|
15749
|
+
}
|
|
15750
|
+
}
|
|
15751
|
+
|
|
15752
|
+
export class MigrationJobSource extends $tea.Model {
|
|
15753
|
+
rule?: MigrationJobSourceRule;
|
|
15754
|
+
targets?: MigrationJobSourceTargets[];
|
|
15755
|
+
static names(): { [key: string]: string } {
|
|
15756
|
+
return {
|
|
15757
|
+
rule: 'Rule',
|
|
15758
|
+
targets: 'Targets',
|
|
15759
|
+
};
|
|
15760
|
+
}
|
|
15761
|
+
|
|
15762
|
+
static types(): { [key: string]: any } {
|
|
15763
|
+
return {
|
|
15764
|
+
rule: MigrationJobSourceRule,
|
|
15765
|
+
targets: { 'type': 'array', 'itemType': MigrationJobSourceTargets },
|
|
15766
|
+
};
|
|
15767
|
+
}
|
|
15768
|
+
|
|
15769
|
+
constructor(map?: { [key: string]: any }) {
|
|
15770
|
+
super(map);
|
|
15771
|
+
}
|
|
15772
|
+
}
|
|
15773
|
+
|
|
15222
15774
|
export class NotificationStrategyEscalationSettingCustomChannels extends $tea.Model {
|
|
15223
15775
|
channelType?: string;
|
|
15224
15776
|
severities?: string[];
|
|
@@ -15404,11 +15956,13 @@ export class NotificationStrategyGroupingSetting extends $tea.Model {
|
|
|
15404
15956
|
}
|
|
15405
15957
|
|
|
15406
15958
|
export class NotificationStrategyPushingSetting extends $tea.Model {
|
|
15959
|
+
pushingDataFormat?: string;
|
|
15407
15960
|
range?: string;
|
|
15408
15961
|
targetUuids?: string[];
|
|
15409
15962
|
templateUuid?: string;
|
|
15410
15963
|
static names(): { [key: string]: string } {
|
|
15411
15964
|
return {
|
|
15965
|
+
pushingDataFormat: 'PushingDataFormat',
|
|
15412
15966
|
range: 'Range',
|
|
15413
15967
|
targetUuids: 'TargetUuids',
|
|
15414
15968
|
templateUuid: 'TemplateUuid',
|
|
@@ -15417,6 +15971,7 @@ export class NotificationStrategyPushingSetting extends $tea.Model {
|
|
|
15417
15971
|
|
|
15418
15972
|
static types(): { [key: string]: any } {
|
|
15419
15973
|
return {
|
|
15974
|
+
pushingDataFormat: 'string',
|
|
15420
15975
|
range: 'string',
|
|
15421
15976
|
targetUuids: { 'type': 'array', 'itemType': 'string' },
|
|
15422
15977
|
templateUuid: 'string',
|
|
@@ -18531,6 +19086,47 @@ export class DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeLi
|
|
|
18531
19086
|
}
|
|
18532
19087
|
}
|
|
18533
19088
|
|
|
19089
|
+
export class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords extends $tea.Model {
|
|
19090
|
+
keyword?: string[];
|
|
19091
|
+
static names(): { [key: string]: string } {
|
|
19092
|
+
return {
|
|
19093
|
+
keyword: 'keyword',
|
|
19094
|
+
};
|
|
19095
|
+
}
|
|
19096
|
+
|
|
19097
|
+
static types(): { [key: string]: any } {
|
|
19098
|
+
return {
|
|
19099
|
+
keyword: { 'type': 'array', 'itemType': 'string' },
|
|
19100
|
+
};
|
|
19101
|
+
}
|
|
19102
|
+
|
|
19103
|
+
constructor(map?: { [key: string]: any }) {
|
|
19104
|
+
super(map);
|
|
19105
|
+
}
|
|
19106
|
+
}
|
|
19107
|
+
|
|
19108
|
+
export class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj extends $tea.Model {
|
|
19109
|
+
keywords?: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords;
|
|
19110
|
+
relation?: string;
|
|
19111
|
+
static names(): { [key: string]: string } {
|
|
19112
|
+
return {
|
|
19113
|
+
keywords: 'Keywords',
|
|
19114
|
+
relation: 'Relation',
|
|
19115
|
+
};
|
|
19116
|
+
}
|
|
19117
|
+
|
|
19118
|
+
static types(): { [key: string]: any } {
|
|
19119
|
+
return {
|
|
19120
|
+
keywords: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords,
|
|
19121
|
+
relation: 'string',
|
|
19122
|
+
};
|
|
19123
|
+
}
|
|
19124
|
+
|
|
19125
|
+
constructor(map?: { [key: string]: any }) {
|
|
19126
|
+
super(map);
|
|
19127
|
+
}
|
|
19128
|
+
}
|
|
19129
|
+
|
|
18534
19130
|
export class DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList extends $tea.Model {
|
|
18535
19131
|
levelList?: string[];
|
|
18536
19132
|
static names(): { [key: string]: string } {
|
|
@@ -18590,16 +19186,20 @@ export class DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList
|
|
|
18590
19186
|
|
|
18591
19187
|
export class DescribeEventRuleAttributeResponseBodyResultEventPattern extends $tea.Model {
|
|
18592
19188
|
eventTypeList?: DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList;
|
|
19189
|
+
keywordFilterObj?: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj;
|
|
18593
19190
|
levelList?: DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList;
|
|
18594
19191
|
nameList?: DescribeEventRuleAttributeResponseBodyResultEventPatternNameList;
|
|
18595
19192
|
product?: string;
|
|
19193
|
+
SQLFilter?: string;
|
|
18596
19194
|
statusList?: DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList;
|
|
18597
19195
|
static names(): { [key: string]: string } {
|
|
18598
19196
|
return {
|
|
18599
19197
|
eventTypeList: 'EventTypeList',
|
|
19198
|
+
keywordFilterObj: 'KeywordFilterObj',
|
|
18600
19199
|
levelList: 'LevelList',
|
|
18601
19200
|
nameList: 'NameList',
|
|
18602
19201
|
product: 'Product',
|
|
19202
|
+
SQLFilter: 'SQLFilter',
|
|
18603
19203
|
statusList: 'StatusList',
|
|
18604
19204
|
};
|
|
18605
19205
|
}
|
|
@@ -18607,9 +19207,11 @@ export class DescribeEventRuleAttributeResponseBodyResultEventPattern extends $t
|
|
|
18607
19207
|
static types(): { [key: string]: any } {
|
|
18608
19208
|
return {
|
|
18609
19209
|
eventTypeList: DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList,
|
|
19210
|
+
keywordFilterObj: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj,
|
|
18610
19211
|
levelList: DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList,
|
|
18611
19212
|
nameList: DescribeEventRuleAttributeResponseBodyResultEventPatternNameList,
|
|
18612
19213
|
product: 'string',
|
|
19214
|
+
SQLFilter: 'string',
|
|
18613
19215
|
statusList: DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList,
|
|
18614
19216
|
};
|
|
18615
19217
|
}
|
|
@@ -22955,10 +23557,190 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAsser
|
|
|
22955
23557
|
}
|
|
22956
23558
|
}
|
|
22957
23559
|
|
|
23560
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList extends $tea.Model {
|
|
23561
|
+
blockedUrlList?: string[];
|
|
23562
|
+
static names(): { [key: string]: string } {
|
|
23563
|
+
return {
|
|
23564
|
+
blockedUrlList: 'blocked_url_list',
|
|
23565
|
+
};
|
|
23566
|
+
}
|
|
23567
|
+
|
|
23568
|
+
static types(): { [key: string]: any } {
|
|
23569
|
+
return {
|
|
23570
|
+
blockedUrlList: { 'type': 'array', 'itemType': 'string' },
|
|
23571
|
+
};
|
|
23572
|
+
}
|
|
23573
|
+
|
|
23574
|
+
constructor(map?: { [key: string]: any }) {
|
|
23575
|
+
super(map);
|
|
23576
|
+
}
|
|
23577
|
+
}
|
|
23578
|
+
|
|
23579
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders extends $tea.Model {
|
|
23580
|
+
browserHeaders?: { [key: string]: any }[];
|
|
23581
|
+
static names(): { [key: string]: string } {
|
|
23582
|
+
return {
|
|
23583
|
+
browserHeaders: 'browser_headers',
|
|
23584
|
+
};
|
|
23585
|
+
}
|
|
23586
|
+
|
|
23587
|
+
static types(): { [key: string]: any } {
|
|
23588
|
+
return {
|
|
23589
|
+
browserHeaders: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
23590
|
+
};
|
|
23591
|
+
}
|
|
23592
|
+
|
|
23593
|
+
constructor(map?: { [key: string]: any }) {
|
|
23594
|
+
super(map);
|
|
23595
|
+
}
|
|
23596
|
+
}
|
|
23597
|
+
|
|
23598
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts extends $tea.Model {
|
|
23599
|
+
browserHosts?: string[];
|
|
23600
|
+
static names(): { [key: string]: string } {
|
|
23601
|
+
return {
|
|
23602
|
+
browserHosts: 'browser_hosts',
|
|
23603
|
+
};
|
|
23604
|
+
}
|
|
23605
|
+
|
|
23606
|
+
static types(): { [key: string]: any } {
|
|
23607
|
+
return {
|
|
23608
|
+
browserHosts: { 'type': 'array', 'itemType': 'string' },
|
|
23609
|
+
};
|
|
23610
|
+
}
|
|
23611
|
+
|
|
23612
|
+
constructor(map?: { [key: string]: any }) {
|
|
23613
|
+
super(map);
|
|
23614
|
+
}
|
|
23615
|
+
}
|
|
23616
|
+
|
|
23617
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo extends $tea.Model {
|
|
23618
|
+
browser?: string;
|
|
23619
|
+
device?: string;
|
|
23620
|
+
static names(): { [key: string]: string } {
|
|
23621
|
+
return {
|
|
23622
|
+
browser: 'browser',
|
|
23623
|
+
device: 'device',
|
|
23624
|
+
};
|
|
23625
|
+
}
|
|
23626
|
+
|
|
23627
|
+
static types(): { [key: string]: any } {
|
|
23628
|
+
return {
|
|
23629
|
+
browser: 'string',
|
|
23630
|
+
device: 'string',
|
|
23631
|
+
};
|
|
23632
|
+
}
|
|
23633
|
+
|
|
23634
|
+
constructor(map?: { [key: string]: any }) {
|
|
23635
|
+
super(map);
|
|
23636
|
+
}
|
|
23637
|
+
}
|
|
23638
|
+
|
|
23639
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo extends $tea.Model {
|
|
23640
|
+
browserInfo?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo[];
|
|
23641
|
+
static names(): { [key: string]: string } {
|
|
23642
|
+
return {
|
|
23643
|
+
browserInfo: 'browser_info',
|
|
23644
|
+
};
|
|
23645
|
+
}
|
|
23646
|
+
|
|
23647
|
+
static types(): { [key: string]: any } {
|
|
23648
|
+
return {
|
|
23649
|
+
browserInfo: { 'type': 'array', 'itemType': DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo },
|
|
23650
|
+
};
|
|
23651
|
+
}
|
|
23652
|
+
|
|
23653
|
+
constructor(map?: { [key: string]: any }) {
|
|
23654
|
+
super(map);
|
|
23655
|
+
}
|
|
23656
|
+
}
|
|
23657
|
+
|
|
23658
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString extends $tea.Model {
|
|
23659
|
+
expectExistString?: string[];
|
|
23660
|
+
static names(): { [key: string]: string } {
|
|
23661
|
+
return {
|
|
23662
|
+
expectExistString: 'expect_exist_string',
|
|
23663
|
+
};
|
|
23664
|
+
}
|
|
23665
|
+
|
|
23666
|
+
static types(): { [key: string]: any } {
|
|
23667
|
+
return {
|
|
23668
|
+
expectExistString: { 'type': 'array', 'itemType': 'string' },
|
|
23669
|
+
};
|
|
23670
|
+
}
|
|
23671
|
+
|
|
23672
|
+
constructor(map?: { [key: string]: any }) {
|
|
23673
|
+
super(map);
|
|
23674
|
+
}
|
|
23675
|
+
}
|
|
23676
|
+
|
|
23677
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString extends $tea.Model {
|
|
23678
|
+
expectNonExistString?: string[];
|
|
23679
|
+
static names(): { [key: string]: string } {
|
|
23680
|
+
return {
|
|
23681
|
+
expectNonExistString: 'expect_non_exist_string',
|
|
23682
|
+
};
|
|
23683
|
+
}
|
|
23684
|
+
|
|
23685
|
+
static types(): { [key: string]: any } {
|
|
23686
|
+
return {
|
|
23687
|
+
expectNonExistString: { 'type': 'array', 'itemType': 'string' },
|
|
23688
|
+
};
|
|
23689
|
+
}
|
|
23690
|
+
|
|
23691
|
+
constructor(map?: { [key: string]: any }) {
|
|
23692
|
+
super(map);
|
|
23693
|
+
}
|
|
23694
|
+
}
|
|
23695
|
+
|
|
23696
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist extends $tea.Model {
|
|
23697
|
+
trafficHijackElementBlacklist?: string[];
|
|
23698
|
+
static names(): { [key: string]: string } {
|
|
23699
|
+
return {
|
|
23700
|
+
trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
|
|
23701
|
+
};
|
|
23702
|
+
}
|
|
23703
|
+
|
|
23704
|
+
static types(): { [key: string]: any } {
|
|
23705
|
+
return {
|
|
23706
|
+
trafficHijackElementBlacklist: { 'type': 'array', 'itemType': 'string' },
|
|
23707
|
+
};
|
|
23708
|
+
}
|
|
23709
|
+
|
|
23710
|
+
constructor(map?: { [key: string]: any }) {
|
|
23711
|
+
super(map);
|
|
23712
|
+
}
|
|
23713
|
+
}
|
|
23714
|
+
|
|
23715
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist extends $tea.Model {
|
|
23716
|
+
trafficHijackElementWhitelist?: string[];
|
|
23717
|
+
static names(): { [key: string]: string } {
|
|
23718
|
+
return {
|
|
23719
|
+
trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
|
|
23720
|
+
};
|
|
23721
|
+
}
|
|
23722
|
+
|
|
23723
|
+
static types(): { [key: string]: any } {
|
|
23724
|
+
return {
|
|
23725
|
+
trafficHijackElementWhitelist: { 'type': 'array', 'itemType': 'string' },
|
|
23726
|
+
};
|
|
23727
|
+
}
|
|
23728
|
+
|
|
23729
|
+
constructor(map?: { [key: string]: any }) {
|
|
23730
|
+
super(map);
|
|
23731
|
+
}
|
|
23732
|
+
}
|
|
23733
|
+
|
|
22958
23734
|
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $tea.Model {
|
|
22959
23735
|
assertions?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions;
|
|
22960
23736
|
attempts?: number;
|
|
22961
23737
|
authentication?: number;
|
|
23738
|
+
blockedUrlList?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList;
|
|
23739
|
+
browserHeaders?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders;
|
|
23740
|
+
browserHosts?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts;
|
|
23741
|
+
browserInfo?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo;
|
|
23742
|
+
browserInsecure?: boolean;
|
|
23743
|
+
browserTaskVersion?: string;
|
|
22962
23744
|
cookie?: string;
|
|
22963
23745
|
diagnosisMtr?: boolean;
|
|
22964
23746
|
diagnosisPing?: boolean;
|
|
@@ -22966,6 +23748,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22966
23748
|
dnsMatchRule?: string;
|
|
22967
23749
|
dnsServer?: string;
|
|
22968
23750
|
dnsType?: string;
|
|
23751
|
+
expectExistString?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString;
|
|
23752
|
+
expectNonExistString?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString;
|
|
22969
23753
|
expectValue?: string;
|
|
22970
23754
|
failureRate?: number;
|
|
22971
23755
|
header?: string;
|
|
@@ -22975,6 +23759,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22975
23759
|
minTlsVersion?: string;
|
|
22976
23760
|
password?: string;
|
|
22977
23761
|
pingNum?: number;
|
|
23762
|
+
pingPort?: number;
|
|
23763
|
+
pingType?: string;
|
|
22978
23764
|
port?: number;
|
|
22979
23765
|
protocol?: string;
|
|
22980
23766
|
requestContent?: string;
|
|
@@ -22982,13 +23768,24 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22982
23768
|
responseContent?: string;
|
|
22983
23769
|
responseFormat?: string;
|
|
22984
23770
|
retryDelay?: number;
|
|
23771
|
+
strictMode?: boolean;
|
|
22985
23772
|
timeOut?: number;
|
|
23773
|
+
trafficHijackElementBlacklist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist;
|
|
23774
|
+
trafficHijackElementCount?: number;
|
|
23775
|
+
trafficHijackElementWhitelist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist;
|
|
22986
23776
|
username?: string;
|
|
23777
|
+
waitTimeAfterCompletion?: number;
|
|
22987
23778
|
static names(): { [key: string]: string } {
|
|
22988
23779
|
return {
|
|
22989
23780
|
assertions: 'assertions',
|
|
22990
23781
|
attempts: 'attempts',
|
|
22991
23782
|
authentication: 'authentication',
|
|
23783
|
+
blockedUrlList: 'blocked_url_list',
|
|
23784
|
+
browserHeaders: 'browser_headers',
|
|
23785
|
+
browserHosts: 'browser_hosts',
|
|
23786
|
+
browserInfo: 'browser_info',
|
|
23787
|
+
browserInsecure: 'browser_insecure',
|
|
23788
|
+
browserTaskVersion: 'browser_task_version',
|
|
22992
23789
|
cookie: 'cookie',
|
|
22993
23790
|
diagnosisMtr: 'diagnosis_mtr',
|
|
22994
23791
|
diagnosisPing: 'diagnosis_ping',
|
|
@@ -22996,6 +23793,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22996
23793
|
dnsMatchRule: 'dns_match_rule',
|
|
22997
23794
|
dnsServer: 'dns_server',
|
|
22998
23795
|
dnsType: 'dns_type',
|
|
23796
|
+
expectExistString: 'expect_exist_string',
|
|
23797
|
+
expectNonExistString: 'expect_non_exist_string',
|
|
22999
23798
|
expectValue: 'expect_value',
|
|
23000
23799
|
failureRate: 'failure_rate',
|
|
23001
23800
|
header: 'header',
|
|
@@ -23005,6 +23804,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
23005
23804
|
minTlsVersion: 'min_tls_version',
|
|
23006
23805
|
password: 'password',
|
|
23007
23806
|
pingNum: 'ping_num',
|
|
23807
|
+
pingPort: 'ping_port',
|
|
23808
|
+
pingType: 'ping_type',
|
|
23008
23809
|
port: 'port',
|
|
23009
23810
|
protocol: 'protocol',
|
|
23010
23811
|
requestContent: 'request_content',
|
|
@@ -23012,8 +23813,13 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
23012
23813
|
responseContent: 'response_content',
|
|
23013
23814
|
responseFormat: 'response_format',
|
|
23014
23815
|
retryDelay: 'retry_delay',
|
|
23816
|
+
strictMode: 'strict_mode',
|
|
23015
23817
|
timeOut: 'time_out',
|
|
23818
|
+
trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
|
|
23819
|
+
trafficHijackElementCount: 'traffic_hijack_element_count',
|
|
23820
|
+
trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
|
|
23016
23821
|
username: 'username',
|
|
23822
|
+
waitTimeAfterCompletion: 'waitTime_after_completion',
|
|
23017
23823
|
};
|
|
23018
23824
|
}
|
|
23019
23825
|
|
|
@@ -23022,6 +23828,12 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
23022
23828
|
assertions: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions,
|
|
23023
23829
|
attempts: 'number',
|
|
23024
23830
|
authentication: 'number',
|
|
23831
|
+
blockedUrlList: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList,
|
|
23832
|
+
browserHeaders: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders,
|
|
23833
|
+
browserHosts: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts,
|
|
23834
|
+
browserInfo: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo,
|
|
23835
|
+
browserInsecure: 'boolean',
|
|
23836
|
+
browserTaskVersion: 'string',
|
|
23025
23837
|
cookie: 'string',
|
|
23026
23838
|
diagnosisMtr: 'boolean',
|
|
23027
23839
|
diagnosisPing: 'boolean',
|
|
@@ -23029,6 +23841,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
23029
23841
|
dnsMatchRule: 'string',
|
|
23030
23842
|
dnsServer: 'string',
|
|
23031
23843
|
dnsType: 'string',
|
|
23844
|
+
expectExistString: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString,
|
|
23845
|
+
expectNonExistString: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString,
|
|
23032
23846
|
expectValue: 'string',
|
|
23033
23847
|
failureRate: 'number',
|
|
23034
23848
|
header: 'string',
|
|
@@ -23038,6 +23852,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
23038
23852
|
minTlsVersion: 'string',
|
|
23039
23853
|
password: 'string',
|
|
23040
23854
|
pingNum: 'number',
|
|
23855
|
+
pingPort: 'number',
|
|
23856
|
+
pingType: 'string',
|
|
23041
23857
|
port: 'number',
|
|
23042
23858
|
protocol: 'string',
|
|
23043
23859
|
requestContent: 'string',
|
|
@@ -23045,8 +23861,13 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
23045
23861
|
responseContent: 'string',
|
|
23046
23862
|
responseFormat: 'string',
|
|
23047
23863
|
retryDelay: 'number',
|
|
23864
|
+
strictMode: 'boolean',
|
|
23048
23865
|
timeOut: 'number',
|
|
23866
|
+
trafficHijackElementBlacklist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist,
|
|
23867
|
+
trafficHijackElementCount: 'number',
|
|
23868
|
+
trafficHijackElementWhitelist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist,
|
|
23049
23869
|
username: 'string',
|
|
23870
|
+
waitTimeAfterCompletion: 'number',
|
|
23050
23871
|
};
|
|
23051
23872
|
}
|
|
23052
23873
|
|
|
@@ -26059,9 +26880,7 @@ export default class Client extends OpenApi {
|
|
|
26059
26880
|
}
|
|
26060
26881
|
|
|
26061
26882
|
/**
|
|
26062
|
-
*
|
|
26063
|
-
* * true: The call was successful.
|
|
26064
|
-
* * false: The call failed.
|
|
26883
|
+
* 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`.
|
|
26065
26884
|
*
|
|
26066
26885
|
* @param request AddTagsRequest
|
|
26067
26886
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26096,9 +26915,7 @@ export default class Client extends OpenApi {
|
|
|
26096
26915
|
}
|
|
26097
26916
|
|
|
26098
26917
|
/**
|
|
26099
|
-
*
|
|
26100
|
-
* * true: The call was successful.
|
|
26101
|
-
* * false: The call failed.
|
|
26918
|
+
* 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`.
|
|
26102
26919
|
*
|
|
26103
26920
|
* @param request AddTagsRequest
|
|
26104
26921
|
* @return AddTagsResponse
|
|
@@ -26266,6 +27083,16 @@ export default class Client extends OpenApi {
|
|
|
26266
27083
|
return await this.batchCreateIntantSiteMonitorWithOptions(request, runtime);
|
|
26267
27084
|
}
|
|
26268
27085
|
|
|
27086
|
+
/**
|
|
27087
|
+
* ### [](#)Prerequisites
|
|
27088
|
+
* The `Cursor` information is returned by calling the [Cursor](~~2330730~~) operation.
|
|
27089
|
+
* ### [](#)Description
|
|
27090
|
+
* 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.
|
|
27091
|
+
*
|
|
27092
|
+
* @param tmpReq BatchExportRequest
|
|
27093
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
27094
|
+
* @return BatchExportResponse
|
|
27095
|
+
*/
|
|
26269
27096
|
async batchExportWithOptions(tmpReq: BatchExportRequest, runtime: $Util.RuntimeOptions): Promise<BatchExportResponse> {
|
|
26270
27097
|
Util.validateModel(tmpReq);
|
|
26271
27098
|
let request = new BatchExportShrinkRequest({ });
|
|
@@ -26312,6 +27139,15 @@ export default class Client extends OpenApi {
|
|
|
26312
27139
|
return $tea.cast<BatchExportResponse>(await this.callApi(params, req, runtime), new BatchExportResponse({}));
|
|
26313
27140
|
}
|
|
26314
27141
|
|
|
27142
|
+
/**
|
|
27143
|
+
* ### [](#)Prerequisites
|
|
27144
|
+
* The `Cursor` information is returned by calling the [Cursor](~~2330730~~) operation.
|
|
27145
|
+
* ### [](#)Description
|
|
27146
|
+
* 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.
|
|
27147
|
+
*
|
|
27148
|
+
* @param request BatchExportRequest
|
|
27149
|
+
* @return BatchExportResponse
|
|
27150
|
+
*/
|
|
26315
27151
|
async batchExport(request: BatchExportRequest): Promise<BatchExportResponse> {
|
|
26316
27152
|
let runtime = new $Util.RuntimeOptions({ });
|
|
26317
27153
|
return await this.batchExportWithOptions(request, runtime);
|
|
@@ -26674,7 +27510,7 @@ export default class Client extends OpenApi {
|
|
|
26674
27510
|
}
|
|
26675
27511
|
|
|
26676
27512
|
/**
|
|
26677
|
-
* The
|
|
27513
|
+
* 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.
|
|
26678
27514
|
*
|
|
26679
27515
|
* @param request CreateHostAvailabilityRequest
|
|
26680
27516
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26737,7 +27573,7 @@ export default class Client extends OpenApi {
|
|
|
26737
27573
|
}
|
|
26738
27574
|
|
|
26739
27575
|
/**
|
|
26740
|
-
* The
|
|
27576
|
+
* 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.
|
|
26741
27577
|
*
|
|
26742
27578
|
* @param request CreateHostAvailabilityRequest
|
|
26743
27579
|
* @return CreateHostAvailabilityResponse
|
|
@@ -26940,7 +27776,7 @@ export default class Client extends OpenApi {
|
|
|
26940
27776
|
}
|
|
26941
27777
|
|
|
26942
27778
|
/**
|
|
26943
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
27779
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
26944
27780
|
* This topic provides an example to show how to create an instant test task. The name of the task is `task1`. The tested address is `http://www.aliyun.com`. The test type is `HTTP`. The number of detection points is `1`.
|
|
26945
27781
|
*
|
|
26946
27782
|
* @param request CreateInstantSiteMonitorRequest
|
|
@@ -26992,7 +27828,7 @@ export default class Client extends OpenApi {
|
|
|
26992
27828
|
}
|
|
26993
27829
|
|
|
26994
27830
|
/**
|
|
26995
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
27831
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
26996
27832
|
* This topic provides an example to show how to create an instant test task. The name of the task is `task1`. The tested address is `http://www.aliyun.com`. The test type is `HTTP`. The number of detection points is `1`.
|
|
26997
27833
|
*
|
|
26998
27834
|
* @param request CreateInstantSiteMonitorRequest
|
|
@@ -27004,8 +27840,9 @@ export default class Client extends OpenApi {
|
|
|
27004
27840
|
}
|
|
27005
27841
|
|
|
27006
27842
|
/**
|
|
27007
|
-
*
|
|
27008
|
-
*
|
|
27843
|
+
* ### Background information
|
|
27844
|
+
* * 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.
|
|
27845
|
+
* * 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~~).
|
|
27009
27846
|
*
|
|
27010
27847
|
* @param request CreateMetricRuleBlackListRequest
|
|
27011
27848
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27072,8 +27909,9 @@ export default class Client extends OpenApi {
|
|
|
27072
27909
|
}
|
|
27073
27910
|
|
|
27074
27911
|
/**
|
|
27075
|
-
*
|
|
27076
|
-
*
|
|
27912
|
+
* ### Background information
|
|
27913
|
+
* * 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.
|
|
27914
|
+
* * 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~~).
|
|
27077
27915
|
*
|
|
27078
27916
|
* @param request CreateMetricRuleBlackListRequest
|
|
27079
27917
|
* @return CreateMetricRuleBlackListResponse
|
|
@@ -27241,8 +28079,7 @@ export default class Client extends OpenApi {
|
|
|
27241
28079
|
}
|
|
27242
28080
|
|
|
27243
28081
|
/**
|
|
27244
|
-
*
|
|
27245
|
-
* For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
|
|
28082
|
+
* 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`.
|
|
27246
28083
|
*
|
|
27247
28084
|
* @param request CreateMonitorGroupByResourceGroupIdRequest
|
|
27248
28085
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27293,8 +28130,7 @@ export default class Client extends OpenApi {
|
|
|
27293
28130
|
}
|
|
27294
28131
|
|
|
27295
28132
|
/**
|
|
27296
|
-
*
|
|
27297
|
-
* For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
|
|
28133
|
+
* 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`.
|
|
27298
28134
|
*
|
|
27299
28135
|
* @param request CreateMonitorGroupByResourceGroupIdRequest
|
|
27300
28136
|
* @return CreateMonitorGroupByResourceGroupIdResponse
|
|
@@ -27444,9 +28280,7 @@ export default class Client extends OpenApi {
|
|
|
27444
28280
|
}
|
|
27445
28281
|
|
|
27446
28282
|
/**
|
|
27447
|
-
*
|
|
27448
|
-
* * true: The call was successful.
|
|
27449
|
-
* * false: The call failed.
|
|
28283
|
+
* 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`.
|
|
27450
28284
|
*
|
|
27451
28285
|
* @param request CreateSiteMonitorRequest
|
|
27452
28286
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27505,9 +28339,7 @@ export default class Client extends OpenApi {
|
|
|
27505
28339
|
}
|
|
27506
28340
|
|
|
27507
28341
|
/**
|
|
27508
|
-
*
|
|
27509
|
-
* * true: The call was successful.
|
|
27510
|
-
* * false: The call failed.
|
|
28342
|
+
* 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`.
|
|
27511
28343
|
*
|
|
27512
28344
|
* @param request CreateSiteMonitorRequest
|
|
27513
28345
|
* @return CreateSiteMonitorResponse
|
|
@@ -27517,6 +28349,18 @@ export default class Client extends OpenApi {
|
|
|
27517
28349
|
return await this.createSiteMonitorWithOptions(request, runtime);
|
|
27518
28350
|
}
|
|
27519
28351
|
|
|
28352
|
+
/**
|
|
28353
|
+
* ### [](#)Prerequisites
|
|
28354
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
28355
|
+
* ### [](#)Background information
|
|
28356
|
+
* You can call this operation to obtain the Cursor information and then call the [BatchExport](~~2329847~~) operation to export the monitoring data.
|
|
28357
|
+
* ### [](#)Description
|
|
28358
|
+
* 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.
|
|
28359
|
+
*
|
|
28360
|
+
* @param tmpReq CursorRequest
|
|
28361
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28362
|
+
* @return CursorResponse
|
|
28363
|
+
*/
|
|
27520
28364
|
async cursorWithOptions(tmpReq: CursorRequest, runtime: $Util.RuntimeOptions): Promise<CursorResponse> {
|
|
27521
28365
|
Util.validateModel(tmpReq);
|
|
27522
28366
|
let request = new CursorShrinkRequest({ });
|
|
@@ -27567,6 +28411,17 @@ export default class Client extends OpenApi {
|
|
|
27567
28411
|
return $tea.cast<CursorResponse>(await this.callApi(params, req, runtime), new CursorResponse({}));
|
|
27568
28412
|
}
|
|
27569
28413
|
|
|
28414
|
+
/**
|
|
28415
|
+
* ### [](#)Prerequisites
|
|
28416
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
28417
|
+
* ### [](#)Background information
|
|
28418
|
+
* You can call this operation to obtain the Cursor information and then call the [BatchExport](~~2329847~~) operation to export the monitoring data.
|
|
28419
|
+
* ### [](#)Description
|
|
28420
|
+
* 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.
|
|
28421
|
+
*
|
|
28422
|
+
* @param request CursorRequest
|
|
28423
|
+
* @return CursorResponse
|
|
28424
|
+
*/
|
|
27570
28425
|
async cursor(request: CursorRequest): Promise<CursorResponse> {
|
|
27571
28426
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27572
28427
|
return await this.cursorWithOptions(request, runtime);
|
|
@@ -27929,9 +28784,7 @@ export default class Client extends OpenApi {
|
|
|
27929
28784
|
}
|
|
27930
28785
|
|
|
27931
28786
|
/**
|
|
27932
|
-
*
|
|
27933
|
-
* * true: The call is successful.
|
|
27934
|
-
* * false: The call fails.
|
|
28787
|
+
* This topic provides an example on how to delete a Logstore group named `Logstore_test`. The response shows that the Logstore group is deleted.
|
|
27935
28788
|
*
|
|
27936
28789
|
* @param request DeleteHybridMonitorSLSGroupRequest
|
|
27937
28790
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27962,9 +28815,7 @@ export default class Client extends OpenApi {
|
|
|
27962
28815
|
}
|
|
27963
28816
|
|
|
27964
28817
|
/**
|
|
27965
|
-
*
|
|
27966
|
-
* * true: The call is successful.
|
|
27967
|
-
* * false: The call fails.
|
|
28818
|
+
* This topic provides an example on how to delete a Logstore group named `Logstore_test`. The response shows that the Logstore group is deleted.
|
|
27968
28819
|
*
|
|
27969
28820
|
* @param request DeleteHybridMonitorSLSGroupRequest
|
|
27970
28821
|
* @return DeleteHybridMonitorSLSGroupResponse
|
|
@@ -27975,9 +28826,7 @@ export default class Client extends OpenApi {
|
|
|
27975
28826
|
}
|
|
27976
28827
|
|
|
27977
28828
|
/**
|
|
27978
|
-
*
|
|
27979
|
-
* * true: The call was successful.
|
|
27980
|
-
* * false: The call failed.
|
|
28829
|
+
* 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.
|
|
27981
28830
|
*
|
|
27982
28831
|
* @param request DeleteHybridMonitorTaskRequest
|
|
27983
28832
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28016,9 +28865,7 @@ export default class Client extends OpenApi {
|
|
|
28016
28865
|
}
|
|
28017
28866
|
|
|
28018
28867
|
/**
|
|
28019
|
-
*
|
|
28020
|
-
* * true: The call was successful.
|
|
28021
|
-
* * false: The call failed.
|
|
28868
|
+
* 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.
|
|
28022
28869
|
*
|
|
28023
28870
|
* @param request DeleteHybridMonitorTaskRequest
|
|
28024
28871
|
* @return DeleteHybridMonitorTaskResponse
|
|
@@ -28634,7 +29481,7 @@ export default class Client extends OpenApi {
|
|
|
28634
29481
|
}
|
|
28635
29482
|
|
|
28636
29483
|
/**
|
|
28637
|
-
*
|
|
29484
|
+
* This topic provides an example on how to query the number of alert logs for Elastic Compute Service (ECS) based on the `product` dimension.
|
|
28638
29485
|
*
|
|
28639
29486
|
* @param request DescribeAlertLogHistogramRequest
|
|
28640
29487
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28725,7 +29572,7 @@ export default class Client extends OpenApi {
|
|
|
28725
29572
|
}
|
|
28726
29573
|
|
|
28727
29574
|
/**
|
|
28728
|
-
*
|
|
29575
|
+
* This topic provides an example on how to query the number of alert logs for Elastic Compute Service (ECS) based on the `product` dimension.
|
|
28729
29576
|
*
|
|
28730
29577
|
* @param request DescribeAlertLogHistogramRequest
|
|
28731
29578
|
* @return DescribeAlertLogHistogramResponse
|
|
@@ -29278,8 +30125,7 @@ export default class Client extends OpenApi {
|
|
|
29278
30125
|
}
|
|
29279
30126
|
|
|
29280
30127
|
/**
|
|
29281
|
-
*
|
|
29282
|
-
* For information about how to obtain the name of an event-triggered alert rule, see [DescribeEventRuleList](~~114996~~).
|
|
30128
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
29283
30129
|
*
|
|
29284
30130
|
* @param request DescribeEventRuleAttributeRequest
|
|
29285
30131
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29314,8 +30160,7 @@ export default class Client extends OpenApi {
|
|
|
29314
30160
|
}
|
|
29315
30161
|
|
|
29316
30162
|
/**
|
|
29317
|
-
*
|
|
29318
|
-
* For information about how to obtain the name of an event-triggered alert rule, see [DescribeEventRuleList](~~114996~~).
|
|
30163
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
29319
30164
|
*
|
|
29320
30165
|
* @param request DescribeEventRuleAttributeRequest
|
|
29321
30166
|
* @return DescribeEventRuleAttributeResponse
|
|
@@ -29332,6 +30177,10 @@ export default class Client extends OpenApi {
|
|
|
29332
30177
|
query["GroupId"] = request.groupId;
|
|
29333
30178
|
}
|
|
29334
30179
|
|
|
30180
|
+
if (!Util.isUnset(request.isEnable)) {
|
|
30181
|
+
query["IsEnable"] = request.isEnable;
|
|
30182
|
+
}
|
|
30183
|
+
|
|
29335
30184
|
if (!Util.isUnset(request.namePrefix)) {
|
|
29336
30185
|
query["NamePrefix"] = request.namePrefix;
|
|
29337
30186
|
}
|
|
@@ -29719,9 +30568,7 @@ export default class Client extends OpenApi {
|
|
|
29719
30568
|
}
|
|
29720
30569
|
|
|
29721
30570
|
/**
|
|
29722
|
-
*
|
|
29723
|
-
* * true: The call is successful.
|
|
29724
|
-
* * false: The call fails.
|
|
30571
|
+
* 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`.
|
|
29725
30572
|
*
|
|
29726
30573
|
* @param request DescribeHybridMonitorSLSGroupRequest
|
|
29727
30574
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29764,9 +30611,7 @@ export default class Client extends OpenApi {
|
|
|
29764
30611
|
}
|
|
29765
30612
|
|
|
29766
30613
|
/**
|
|
29767
|
-
*
|
|
29768
|
-
* * true: The call is successful.
|
|
29769
|
-
* * 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`.
|
|
29770
30615
|
*
|
|
29771
30616
|
* @param request DescribeHybridMonitorSLSGroupRequest
|
|
29772
30617
|
* @return DescribeHybridMonitorSLSGroupResponse
|
|
@@ -29777,9 +30622,7 @@ export default class Client extends OpenApi {
|
|
|
29777
30622
|
}
|
|
29778
30623
|
|
|
29779
30624
|
/**
|
|
29780
|
-
*
|
|
29781
|
-
* * true: The call was successful.
|
|
29782
|
-
* * false: The call failed.
|
|
30625
|
+
* 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`.
|
|
29783
30626
|
*
|
|
29784
30627
|
* @param request DescribeHybridMonitorTaskListRequest
|
|
29785
30628
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29842,9 +30685,7 @@ export default class Client extends OpenApi {
|
|
|
29842
30685
|
}
|
|
29843
30686
|
|
|
29844
30687
|
/**
|
|
29845
|
-
*
|
|
29846
|
-
* * true: The call was successful.
|
|
29847
|
-
* * false: The call failed.
|
|
30688
|
+
* 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`.
|
|
29848
30689
|
*
|
|
29849
30690
|
* @param request DescribeHybridMonitorTaskListRequest
|
|
29850
30691
|
* @return DescribeHybridMonitorTaskListResponse
|
|
@@ -30001,9 +30842,15 @@ export default class Client extends OpenApi {
|
|
|
30001
30842
|
}
|
|
30002
30843
|
|
|
30003
30844
|
/**
|
|
30004
|
-
*
|
|
30005
|
-
*
|
|
30006
|
-
*
|
|
30845
|
+
* ### [](#)Limits
|
|
30846
|
+
* 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.
|
|
30847
|
+
* ### [](#)Precautions
|
|
30848
|
+
* 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:
|
|
30849
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
30850
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
30851
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
30852
|
+
* ### [](#)Description
|
|
30853
|
+
* 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.
|
|
30007
30854
|
*
|
|
30008
30855
|
* @param request DescribeMetricLastRequest
|
|
30009
30856
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30066,9 +30913,15 @@ export default class Client extends OpenApi {
|
|
|
30066
30913
|
}
|
|
30067
30914
|
|
|
30068
30915
|
/**
|
|
30069
|
-
*
|
|
30070
|
-
*
|
|
30071
|
-
*
|
|
30916
|
+
* ### [](#)Limits
|
|
30917
|
+
* 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.
|
|
30918
|
+
* ### [](#)Precautions
|
|
30919
|
+
* 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:
|
|
30920
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
30921
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
30922
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
30923
|
+
* ### [](#)Description
|
|
30924
|
+
* 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.
|
|
30072
30925
|
*
|
|
30073
30926
|
* @param request DescribeMetricLastRequest
|
|
30074
30927
|
* @return DescribeMetricLastResponse
|
|
@@ -30471,8 +31324,7 @@ export default class Client extends OpenApi {
|
|
|
30471
31324
|
}
|
|
30472
31325
|
|
|
30473
31326
|
/**
|
|
30474
|
-
*
|
|
30475
|
-
* > The status code 200 indicates that the call was successful.
|
|
31327
|
+
* 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`.
|
|
30476
31328
|
*
|
|
30477
31329
|
* @param request DescribeMetricRuleTemplateListRequest
|
|
30478
31330
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30531,8 +31383,7 @@ export default class Client extends OpenApi {
|
|
|
30531
31383
|
}
|
|
30532
31384
|
|
|
30533
31385
|
/**
|
|
30534
|
-
*
|
|
30535
|
-
* > The status code 200 indicates that the call was successful.
|
|
31386
|
+
* 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`.
|
|
30536
31387
|
*
|
|
30537
31388
|
* @param request DescribeMetricRuleTemplateListRequest
|
|
30538
31389
|
* @return DescribeMetricRuleTemplateListResponse
|
|
@@ -30543,9 +31394,15 @@ export default class Client extends OpenApi {
|
|
|
30543
31394
|
}
|
|
30544
31395
|
|
|
30545
31396
|
/**
|
|
30546
|
-
*
|
|
30547
|
-
*
|
|
30548
|
-
*
|
|
31397
|
+
* ### [](#)Limits
|
|
31398
|
+
* 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.
|
|
31399
|
+
* ### [](#)Precautions
|
|
31400
|
+
* 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:
|
|
31401
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
31402
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
31403
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
31404
|
+
* ### [](#)Description
|
|
31405
|
+
* 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.
|
|
30549
31406
|
*
|
|
30550
31407
|
* @param request DescribeMetricTopRequest
|
|
30551
31408
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30612,9 +31469,15 @@ export default class Client extends OpenApi {
|
|
|
30612
31469
|
}
|
|
30613
31470
|
|
|
30614
31471
|
/**
|
|
30615
|
-
*
|
|
30616
|
-
*
|
|
30617
|
-
*
|
|
31472
|
+
* ### [](#)Limits
|
|
31473
|
+
* 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.
|
|
31474
|
+
* ### [](#)Precautions
|
|
31475
|
+
* 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:
|
|
31476
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
31477
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
31478
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
31479
|
+
* ### [](#)Description
|
|
31480
|
+
* 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.
|
|
30618
31481
|
*
|
|
30619
31482
|
* @param request DescribeMetricTopRequest
|
|
30620
31483
|
* @return DescribeMetricTopResponse
|
|
@@ -31100,12 +31963,7 @@ export default class Client extends OpenApi {
|
|
|
31100
31963
|
}
|
|
31101
31964
|
|
|
31102
31965
|
/**
|
|
31103
|
-
*
|
|
31104
|
-
* * `Command.ErrorCode.Fail.Downlaod.REGIN_ID`: Failed to obtain the region ID.
|
|
31105
|
-
* * `Command.ErrorCode.Fail.Downlaod.SYSAK`: Failed to download the .rpm package of System Analyse Kit (SysAK).
|
|
31106
|
-
* * `Command.ErrorCode.Fail.Downlaod.CMON_FILE`: Failed to download the CMON file.
|
|
31107
|
-
* * `Command.ErrorCode.Fail.Downlaod.BTF`: Failed to start SysAK because the BTF file is not found.
|
|
31108
|
-
* * `Command.ErrorCode.Fail.Start.SYSAK`: Failed to start SysAK due to an unknown error.
|
|
31966
|
+
* 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.
|
|
31109
31967
|
*
|
|
31110
31968
|
* @param request DescribeMonitoringAgentStatusesRequest
|
|
31111
31969
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31140,12 +31998,7 @@ export default class Client extends OpenApi {
|
|
|
31140
31998
|
}
|
|
31141
31999
|
|
|
31142
32000
|
/**
|
|
31143
|
-
*
|
|
31144
|
-
* * `Command.ErrorCode.Fail.Downlaod.REGIN_ID`: Failed to obtain the region ID.
|
|
31145
|
-
* * `Command.ErrorCode.Fail.Downlaod.SYSAK`: Failed to download the .rpm package of System Analyse Kit (SysAK).
|
|
31146
|
-
* * `Command.ErrorCode.Fail.Downlaod.CMON_FILE`: Failed to download the CMON file.
|
|
31147
|
-
* * `Command.ErrorCode.Fail.Downlaod.BTF`: Failed to start SysAK because the BTF file is not found.
|
|
31148
|
-
* * `Command.ErrorCode.Fail.Start.SYSAK`: Failed to start SysAK due to an unknown error.
|
|
32001
|
+
* 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.
|
|
31149
32002
|
*
|
|
31150
32003
|
* @param request DescribeMonitoringAgentStatusesRequest
|
|
31151
32004
|
* @return DescribeMonitoringAgentStatusesResponse
|
|
@@ -31515,7 +32368,7 @@ export default class Client extends OpenApi {
|
|
|
31515
32368
|
}
|
|
31516
32369
|
|
|
31517
32370
|
/**
|
|
31518
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
32371
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
31519
32372
|
* 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****`.
|
|
31520
32373
|
*
|
|
31521
32374
|
* @param request DescribeSiteMonitorLogRequest
|
|
@@ -31525,10 +32378,22 @@ export default class Client extends OpenApi {
|
|
|
31525
32378
|
async describeSiteMonitorLogWithOptions(request: DescribeSiteMonitorLogRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorLogResponse> {
|
|
31526
32379
|
Util.validateModel(request);
|
|
31527
32380
|
let query = { };
|
|
32381
|
+
if (!Util.isUnset(request.browser)) {
|
|
32382
|
+
query["Browser"] = request.browser;
|
|
32383
|
+
}
|
|
32384
|
+
|
|
32385
|
+
if (!Util.isUnset(request.browserInfo)) {
|
|
32386
|
+
query["BrowserInfo"] = request.browserInfo;
|
|
32387
|
+
}
|
|
32388
|
+
|
|
31528
32389
|
if (!Util.isUnset(request.city)) {
|
|
31529
32390
|
query["City"] = request.city;
|
|
31530
32391
|
}
|
|
31531
32392
|
|
|
32393
|
+
if (!Util.isUnset(request.device)) {
|
|
32394
|
+
query["Device"] = request.device;
|
|
32395
|
+
}
|
|
32396
|
+
|
|
31532
32397
|
if (!Util.isUnset(request.endTime)) {
|
|
31533
32398
|
query["EndTime"] = request.endTime;
|
|
31534
32399
|
}
|
|
@@ -31579,7 +32444,7 @@ export default class Client extends OpenApi {
|
|
|
31579
32444
|
}
|
|
31580
32445
|
|
|
31581
32446
|
/**
|
|
31582
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
32447
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
31583
32448
|
* 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****`.
|
|
31584
32449
|
*
|
|
31585
32450
|
* @param request DescribeSiteMonitorLogRequest
|
|
@@ -32410,9 +33275,7 @@ export default class Client extends OpenApi {
|
|
|
32410
33275
|
}
|
|
32411
33276
|
|
|
32412
33277
|
/**
|
|
32413
|
-
*
|
|
32414
|
-
* * true: The call was successful.
|
|
32415
|
-
* * false: The call failed.
|
|
33278
|
+
* 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`.
|
|
32416
33279
|
*
|
|
32417
33280
|
* @param request ModifyHostAvailabilityRequest
|
|
32418
33281
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32475,9 +33338,7 @@ export default class Client extends OpenApi {
|
|
|
32475
33338
|
}
|
|
32476
33339
|
|
|
32477
33340
|
/**
|
|
32478
|
-
*
|
|
32479
|
-
* * true: The call was successful.
|
|
32480
|
-
* * false: The call failed.
|
|
33341
|
+
* 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`.
|
|
32481
33342
|
*
|
|
32482
33343
|
* @param request ModifyHostAvailabilityRequest
|
|
32483
33344
|
* @return ModifyHostAvailabilityResponse
|
|
@@ -32640,7 +33501,7 @@ export default class Client extends OpenApi {
|
|
|
32640
33501
|
}
|
|
32641
33502
|
|
|
32642
33503
|
/**
|
|
32643
|
-
*
|
|
33504
|
+
* 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.
|
|
32644
33505
|
*
|
|
32645
33506
|
* @param request ModifyHybridMonitorTaskRequest
|
|
32646
33507
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32691,7 +33552,7 @@ export default class Client extends OpenApi {
|
|
|
32691
33552
|
}
|
|
32692
33553
|
|
|
32693
33554
|
/**
|
|
32694
|
-
*
|
|
33555
|
+
* 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.
|
|
32695
33556
|
*
|
|
32696
33557
|
* @param request ModifyHybridMonitorTaskRequest
|
|
32697
33558
|
* @return ModifyHybridMonitorTaskResponse
|
|
@@ -33592,9 +34453,7 @@ export default class Client extends OpenApi {
|
|
|
33592
34453
|
}
|
|
33593
34454
|
|
|
33594
34455
|
/**
|
|
33595
|
-
*
|
|
33596
|
-
* * true: The call was successful.
|
|
33597
|
-
* * false: The call failed.
|
|
34456
|
+
* 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`.
|
|
33598
34457
|
*
|
|
33599
34458
|
* @param request PutGroupMetricRuleRequest
|
|
33600
34459
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33697,9 +34556,7 @@ export default class Client extends OpenApi {
|
|
|
33697
34556
|
}
|
|
33698
34557
|
|
|
33699
34558
|
/**
|
|
33700
|
-
*
|
|
33701
|
-
* * true: The call was successful.
|
|
33702
|
-
* * false: The call failed.
|
|
34559
|
+
* 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`.
|
|
33703
34560
|
*
|
|
33704
34561
|
* @param request PutGroupMetricRuleRequest
|
|
33705
34562
|
* @return PutGroupMetricRuleResponse
|
|
@@ -33710,9 +34567,12 @@ export default class Client extends OpenApi {
|
|
|
33710
34567
|
}
|
|
33711
34568
|
|
|
33712
34569
|
/**
|
|
33713
|
-
*
|
|
33714
|
-
*
|
|
33715
|
-
*
|
|
34570
|
+
* # [](#)Prerequisites
|
|
34571
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
34572
|
+
* # [](#)Limits
|
|
34573
|
+
* The size of the monitoring data that you import at a time must be less than or equal to 1 MB.
|
|
34574
|
+
* # [](#)Description
|
|
34575
|
+
* 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.
|
|
33716
34576
|
*
|
|
33717
34577
|
* @param request PutHybridMonitorMetricDataRequest
|
|
33718
34578
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33747,9 +34607,12 @@ export default class Client extends OpenApi {
|
|
|
33747
34607
|
}
|
|
33748
34608
|
|
|
33749
34609
|
/**
|
|
33750
|
-
*
|
|
33751
|
-
*
|
|
33752
|
-
*
|
|
34610
|
+
* # [](#)Prerequisites
|
|
34611
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
34612
|
+
* # [](#)Limits
|
|
34613
|
+
* The size of the monitoring data that you import at a time must be less than or equal to 1 MB.
|
|
34614
|
+
* # [](#)Description
|
|
34615
|
+
* 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.
|
|
33753
34616
|
*
|
|
33754
34617
|
* @param request PutHybridMonitorMetricDataRequest
|
|
33755
34618
|
* @return PutHybridMonitorMetricDataResponse
|
|
@@ -33970,8 +34833,7 @@ export default class Client extends OpenApi {
|
|
|
33970
34833
|
}
|
|
33971
34834
|
|
|
33972
34835
|
/**
|
|
33973
|
-
* The
|
|
33974
|
-
* > If an alert is not cleared within the mute period, a new alert notification is sent when the mute period ends.
|
|
34836
|
+
* 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`.
|
|
33975
34837
|
*
|
|
33976
34838
|
* @param tmpReq PutResourceMetricRuleRequest
|
|
33977
34839
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34080,8 +34942,7 @@ export default class Client extends OpenApi {
|
|
|
34080
34942
|
}
|
|
34081
34943
|
|
|
34082
34944
|
/**
|
|
34083
|
-
* The
|
|
34084
|
-
* > If an alert is not cleared within the mute period, a new alert notification is sent when the mute period ends.
|
|
34945
|
+
* 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`.
|
|
34085
34946
|
*
|
|
34086
34947
|
* @param request PutResourceMetricRuleRequest
|
|
34087
34948
|
* @return PutResourceMetricRuleResponse
|