@alicloud/cms20190101 2.0.7 → 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/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',
@@ -15228,6 +15271,506 @@ export class EscalationRuleEscalations extends $tea.Model {
15228
15271
  }
15229
15272
  }
15230
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
+
15231
15774
  export class NotificationStrategyEscalationSettingCustomChannels extends $tea.Model {
15232
15775
  channelType?: string;
15233
15776
  severities?: string[];
@@ -18543,6 +19086,47 @@ export class DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeLi
18543
19086
  }
18544
19087
  }
18545
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
+
18546
19130
  export class DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList extends $tea.Model {
18547
19131
  levelList?: string[];
18548
19132
  static names(): { [key: string]: string } {
@@ -18602,16 +19186,20 @@ export class DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList
18602
19186
 
18603
19187
  export class DescribeEventRuleAttributeResponseBodyResultEventPattern extends $tea.Model {
18604
19188
  eventTypeList?: DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList;
19189
+ keywordFilterObj?: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj;
18605
19190
  levelList?: DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList;
18606
19191
  nameList?: DescribeEventRuleAttributeResponseBodyResultEventPatternNameList;
18607
19192
  product?: string;
19193
+ SQLFilter?: string;
18608
19194
  statusList?: DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList;
18609
19195
  static names(): { [key: string]: string } {
18610
19196
  return {
18611
19197
  eventTypeList: 'EventTypeList',
19198
+ keywordFilterObj: 'KeywordFilterObj',
18612
19199
  levelList: 'LevelList',
18613
19200
  nameList: 'NameList',
18614
19201
  product: 'Product',
19202
+ SQLFilter: 'SQLFilter',
18615
19203
  statusList: 'StatusList',
18616
19204
  };
18617
19205
  }
@@ -18619,9 +19207,11 @@ export class DescribeEventRuleAttributeResponseBodyResultEventPattern extends $t
18619
19207
  static types(): { [key: string]: any } {
18620
19208
  return {
18621
19209
  eventTypeList: DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList,
19210
+ keywordFilterObj: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj,
18622
19211
  levelList: DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList,
18623
19212
  nameList: DescribeEventRuleAttributeResponseBodyResultEventPatternNameList,
18624
19213
  product: 'string',
19214
+ SQLFilter: 'string',
18625
19215
  statusList: DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList,
18626
19216
  };
18627
19217
  }
@@ -23184,6 +23774,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
23184
23774
  trafficHijackElementCount?: number;
23185
23775
  trafficHijackElementWhitelist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist;
23186
23776
  username?: string;
23777
+ waitTimeAfterCompletion?: number;
23187
23778
  static names(): { [key: string]: string } {
23188
23779
  return {
23189
23780
  assertions: 'assertions',
@@ -23228,6 +23819,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
23228
23819
  trafficHijackElementCount: 'traffic_hijack_element_count',
23229
23820
  trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
23230
23821
  username: 'username',
23822
+ waitTimeAfterCompletion: 'waitTime_after_completion',
23231
23823
  };
23232
23824
  }
23233
23825
 
@@ -23275,6 +23867,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
23275
23867
  trafficHijackElementCount: 'number',
23276
23868
  trafficHijackElementWhitelist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist,
23277
23869
  username: 'string',
23870
+ waitTimeAfterCompletion: 'number',
23278
23871
  };
23279
23872
  }
23280
23873
 
@@ -26287,9 +26880,7 @@ export default class Client extends OpenApi {
26287
26880
  }
26288
26881
 
26289
26882
  /**
26290
- * Indicates whether the call was successful. Valid values:
26291
- * * true: The call was successful.
26292
- * * 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`.
26293
26884
  *
26294
26885
  * @param request AddTagsRequest
26295
26886
  * @param runtime runtime options for this request RuntimeOptions
@@ -26324,9 +26915,7 @@ export default class Client extends OpenApi {
26324
26915
  }
26325
26916
 
26326
26917
  /**
26327
- * Indicates whether the call was successful. Valid values:
26328
- * * true: The call was successful.
26329
- * * 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`.
26330
26919
  *
26331
26920
  * @param request AddTagsRequest
26332
26921
  * @return AddTagsResponse
@@ -26494,6 +27083,16 @@ export default class Client extends OpenApi {
26494
27083
  return await this.batchCreateIntantSiteMonitorWithOptions(request, runtime);
26495
27084
  }
26496
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
+ */
26497
27096
  async batchExportWithOptions(tmpReq: BatchExportRequest, runtime: $Util.RuntimeOptions): Promise<BatchExportResponse> {
26498
27097
  Util.validateModel(tmpReq);
26499
27098
  let request = new BatchExportShrinkRequest({ });
@@ -26540,6 +27139,15 @@ export default class Client extends OpenApi {
26540
27139
  return $tea.cast<BatchExportResponse>(await this.callApi(params, req, runtime), new BatchExportResponse({}));
26541
27140
  }
26542
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
+ */
26543
27151
  async batchExport(request: BatchExportRequest): Promise<BatchExportResponse> {
26544
27152
  let runtime = new $Util.RuntimeOptions({ });
26545
27153
  return await this.batchExportWithOptions(request, runtime);
@@ -26902,7 +27510,7 @@ export default class Client extends OpenApi {
26902
27510
  }
26903
27511
 
26904
27512
  /**
26905
- * The ID of the resource for which alerts are triggered.
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.
26906
27514
  *
26907
27515
  * @param request CreateHostAvailabilityRequest
26908
27516
  * @param runtime runtime options for this request RuntimeOptions
@@ -26965,7 +27573,7 @@ export default class Client extends OpenApi {
26965
27573
  }
26966
27574
 
26967
27575
  /**
26968
- * The ID of the resource for which alerts are triggered.
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.
26969
27577
  *
26970
27578
  * @param request CreateHostAvailabilityRequest
26971
27579
  * @return CreateHostAvailabilityResponse
@@ -27232,8 +27840,9 @@ export default class Client extends OpenApi {
27232
27840
  }
27233
27841
 
27234
27842
  /**
27235
- * The name of the metric.
27236
- * Valid values of N: 1 to 10
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~~).
27237
27846
  *
27238
27847
  * @param request CreateMetricRuleBlackListRequest
27239
27848
  * @param runtime runtime options for this request RuntimeOptions
@@ -27300,8 +27909,9 @@ export default class Client extends OpenApi {
27300
27909
  }
27301
27910
 
27302
27911
  /**
27303
- * The name of the metric.
27304
- * Valid values of N: 1 to 10
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~~).
27305
27915
  *
27306
27916
  * @param request CreateMetricRuleBlackListRequest
27307
27917
  * @return CreateMetricRuleBlackListResponse
@@ -27469,8 +28079,7 @@ export default class Client extends OpenApi {
27469
28079
  }
27470
28080
 
27471
28081
  /**
27472
- * The ID of the region where the resource group resides.
27473
- * 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`.
27474
28083
  *
27475
28084
  * @param request CreateMonitorGroupByResourceGroupIdRequest
27476
28085
  * @param runtime runtime options for this request RuntimeOptions
@@ -27521,8 +28130,7 @@ export default class Client extends OpenApi {
27521
28130
  }
27522
28131
 
27523
28132
  /**
27524
- * The ID of the region where the resource group resides.
27525
- * 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`.
27526
28134
  *
27527
28135
  * @param request CreateMonitorGroupByResourceGroupIdRequest
27528
28136
  * @return CreateMonitorGroupByResourceGroupIdResponse
@@ -27672,9 +28280,7 @@ export default class Client extends OpenApi {
27672
28280
  }
27673
28281
 
27674
28282
  /**
27675
- * Indicates whether the call was successful. Valid values:
27676
- * * true: The call was successful.
27677
- * * 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`.
27678
28284
  *
27679
28285
  * @param request CreateSiteMonitorRequest
27680
28286
  * @param runtime runtime options for this request RuntimeOptions
@@ -27733,9 +28339,7 @@ export default class Client extends OpenApi {
27733
28339
  }
27734
28340
 
27735
28341
  /**
27736
- * Indicates whether the call was successful. Valid values:
27737
- * * true: The call was successful.
27738
- * * 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`.
27739
28343
  *
27740
28344
  * @param request CreateSiteMonitorRequest
27741
28345
  * @return CreateSiteMonitorResponse
@@ -27745,6 +28349,18 @@ export default class Client extends OpenApi {
27745
28349
  return await this.createSiteMonitorWithOptions(request, runtime);
27746
28350
  }
27747
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
+ */
27748
28364
  async cursorWithOptions(tmpReq: CursorRequest, runtime: $Util.RuntimeOptions): Promise<CursorResponse> {
27749
28365
  Util.validateModel(tmpReq);
27750
28366
  let request = new CursorShrinkRequest({ });
@@ -27795,6 +28411,17 @@ export default class Client extends OpenApi {
27795
28411
  return $tea.cast<CursorResponse>(await this.callApi(params, req, runtime), new CursorResponse({}));
27796
28412
  }
27797
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
+ */
27798
28425
  async cursor(request: CursorRequest): Promise<CursorResponse> {
27799
28426
  let runtime = new $Util.RuntimeOptions({ });
27800
28427
  return await this.cursorWithOptions(request, runtime);
@@ -28157,9 +28784,7 @@ export default class Client extends OpenApi {
28157
28784
  }
28158
28785
 
28159
28786
  /**
28160
- * Indicates whether the call is successful. Valid values:
28161
- * * true: The call is successful.
28162
- * * 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.
28163
28788
  *
28164
28789
  * @param request DeleteHybridMonitorSLSGroupRequest
28165
28790
  * @param runtime runtime options for this request RuntimeOptions
@@ -28190,9 +28815,7 @@ export default class Client extends OpenApi {
28190
28815
  }
28191
28816
 
28192
28817
  /**
28193
- * Indicates whether the call is successful. Valid values:
28194
- * * true: The call is successful.
28195
- * * 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.
28196
28819
  *
28197
28820
  * @param request DeleteHybridMonitorSLSGroupRequest
28198
28821
  * @return DeleteHybridMonitorSLSGroupResponse
@@ -28203,9 +28826,7 @@ export default class Client extends OpenApi {
28203
28826
  }
28204
28827
 
28205
28828
  /**
28206
- * Indicates whether the call was successful. Valid values:
28207
- * * true: The call was successful.
28208
- * * 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.
28209
28830
  *
28210
28831
  * @param request DeleteHybridMonitorTaskRequest
28211
28832
  * @param runtime runtime options for this request RuntimeOptions
@@ -28244,9 +28865,7 @@ export default class Client extends OpenApi {
28244
28865
  }
28245
28866
 
28246
28867
  /**
28247
- * Indicates whether the call was successful. Valid values:
28248
- * * true: The call was successful.
28249
- * * 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.
28250
28869
  *
28251
28870
  * @param request DeleteHybridMonitorTaskRequest
28252
28871
  * @return DeleteHybridMonitorTaskResponse
@@ -28862,7 +29481,7 @@ export default class Client extends OpenApi {
28862
29481
  }
28863
29482
 
28864
29483
  /**
28865
- * The operation that you want to perform. Set the value to DescribeAlertLogHistogram.
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.
28866
29485
  *
28867
29486
  * @param request DescribeAlertLogHistogramRequest
28868
29487
  * @param runtime runtime options for this request RuntimeOptions
@@ -28953,7 +29572,7 @@ export default class Client extends OpenApi {
28953
29572
  }
28954
29573
 
28955
29574
  /**
28956
- * The operation that you want to perform. Set the value to DescribeAlertLogHistogram.
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.
28957
29576
  *
28958
29577
  * @param request DescribeAlertLogHistogramRequest
28959
29578
  * @return DescribeAlertLogHistogramResponse
@@ -29506,8 +30125,7 @@ export default class Client extends OpenApi {
29506
30125
  }
29507
30126
 
29508
30127
  /**
29509
- * The name of the event-triggered alert rule.
29510
- * 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`.
29511
30129
  *
29512
30130
  * @param request DescribeEventRuleAttributeRequest
29513
30131
  * @param runtime runtime options for this request RuntimeOptions
@@ -29542,8 +30160,7 @@ export default class Client extends OpenApi {
29542
30160
  }
29543
30161
 
29544
30162
  /**
29545
- * The name of the event-triggered alert rule.
29546
- * 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`.
29547
30164
  *
29548
30165
  * @param request DescribeEventRuleAttributeRequest
29549
30166
  * @return DescribeEventRuleAttributeResponse
@@ -29560,6 +30177,10 @@ export default class Client extends OpenApi {
29560
30177
  query["GroupId"] = request.groupId;
29561
30178
  }
29562
30179
 
30180
+ if (!Util.isUnset(request.isEnable)) {
30181
+ query["IsEnable"] = request.isEnable;
30182
+ }
30183
+
29563
30184
  if (!Util.isUnset(request.namePrefix)) {
29564
30185
  query["NamePrefix"] = request.namePrefix;
29565
30186
  }
@@ -29947,9 +30568,7 @@ export default class Client extends OpenApi {
29947
30568
  }
29948
30569
 
29949
30570
  /**
29950
- * Indicates whether the call is successful. Valid values:
29951
- * * true: The call is successful.
29952
- * * 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`.
29953
30572
  *
29954
30573
  * @param request DescribeHybridMonitorSLSGroupRequest
29955
30574
  * @param runtime runtime options for this request RuntimeOptions
@@ -29992,9 +30611,7 @@ export default class Client extends OpenApi {
29992
30611
  }
29993
30612
 
29994
30613
  /**
29995
- * Indicates whether the call is successful. Valid values:
29996
- * * true: The call is successful.
29997
- * * 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`.
29998
30615
  *
29999
30616
  * @param request DescribeHybridMonitorSLSGroupRequest
30000
30617
  * @return DescribeHybridMonitorSLSGroupResponse
@@ -30005,9 +30622,7 @@ export default class Client extends OpenApi {
30005
30622
  }
30006
30623
 
30007
30624
  /**
30008
- * Indicates whether the call was successful. Valid values:
30009
- * * true: The call was successful.
30010
- * * 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`.
30011
30626
  *
30012
30627
  * @param request DescribeHybridMonitorTaskListRequest
30013
30628
  * @param runtime runtime options for this request RuntimeOptions
@@ -30070,9 +30685,7 @@ export default class Client extends OpenApi {
30070
30685
  }
30071
30686
 
30072
30687
  /**
30073
- * Indicates whether the call was successful. Valid values:
30074
- * * true: The call was successful.
30075
- * * 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`.
30076
30689
  *
30077
30690
  * @param request DescribeHybridMonitorTaskListRequest
30078
30691
  * @return DescribeHybridMonitorTaskListResponse
@@ -30229,9 +30842,15 @@ export default class Client extends OpenApi {
30229
30842
  }
30230
30843
 
30231
30844
  /**
30232
- * The number of entries to return on each page.
30233
- * Default value: 1000. This value indicates that a maximum of 1,000 entries of monitoring data can be returned on each page.
30234
- * > The maximum value of the Length parameter in a request is 1440.
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.
30235
30854
  *
30236
30855
  * @param request DescribeMetricLastRequest
30237
30856
  * @param runtime runtime options for this request RuntimeOptions
@@ -30294,9 +30913,15 @@ export default class Client extends OpenApi {
30294
30913
  }
30295
30914
 
30296
30915
  /**
30297
- * The number of entries to return on each page.
30298
- * Default value: 1000. This value indicates that a maximum of 1,000 entries of monitoring data can be returned on each page.
30299
- * > The maximum value of the Length parameter in a request is 1440.
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.
30300
30925
  *
30301
30926
  * @param request DescribeMetricLastRequest
30302
30927
  * @return DescribeMetricLastResponse
@@ -30699,8 +31324,7 @@ export default class Client extends OpenApi {
30699
31324
  }
30700
31325
 
30701
31326
  /**
30702
- * The HTTP status code.
30703
- * > 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`.
30704
31328
  *
30705
31329
  * @param request DescribeMetricRuleTemplateListRequest
30706
31330
  * @param runtime runtime options for this request RuntimeOptions
@@ -30759,8 +31383,7 @@ export default class Client extends OpenApi {
30759
31383
  }
30760
31384
 
30761
31385
  /**
30762
- * The HTTP status code.
30763
- * > 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`.
30764
31387
  *
30765
31388
  * @param request DescribeMetricRuleTemplateListRequest
30766
31389
  * @return DescribeMetricRuleTemplateListResponse
@@ -30771,9 +31394,15 @@ export default class Client extends OpenApi {
30771
31394
  }
30772
31395
 
30773
31396
  /**
30774
- * The order in which data is sorted. Valid values:
30775
- * * True: sorts data in ascending order.
30776
- * * False (default value): sorts data in descending order.
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.
30777
31406
  *
30778
31407
  * @param request DescribeMetricTopRequest
30779
31408
  * @param runtime runtime options for this request RuntimeOptions
@@ -30840,9 +31469,15 @@ export default class Client extends OpenApi {
30840
31469
  }
30841
31470
 
30842
31471
  /**
30843
- * The order in which data is sorted. Valid values:
30844
- * * True: sorts data in ascending order.
30845
- * * False (default value): sorts data in descending order.
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.
30846
31481
  *
30847
31482
  * @param request DescribeMetricTopRequest
30848
31483
  * @return DescribeMetricTopResponse
@@ -31328,12 +31963,7 @@ export default class Client extends OpenApi {
31328
31963
  }
31329
31964
 
31330
31965
  /**
31331
- * The details of the execution error. Valid values:
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.
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.
31337
31967
  *
31338
31968
  * @param request DescribeMonitoringAgentStatusesRequest
31339
31969
  * @param runtime runtime options for this request RuntimeOptions
@@ -31368,12 +31998,7 @@ export default class Client extends OpenApi {
31368
31998
  }
31369
31999
 
31370
32000
  /**
31371
- * The details of the execution error. Valid values:
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.
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.
31377
32002
  *
31378
32003
  * @param request DescribeMonitoringAgentStatusesRequest
31379
32004
  * @return DescribeMonitoringAgentStatusesResponse
@@ -31743,7 +32368,7 @@ export default class Client extends OpenApi {
31743
32368
  }
31744
32369
 
31745
32370
  /**
31746
- * 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.
31747
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****`.
31748
32373
  *
31749
32374
  * @param request DescribeSiteMonitorLogRequest
@@ -31819,7 +32444,7 @@ export default class Client extends OpenApi {
31819
32444
  }
31820
32445
 
31821
32446
  /**
31822
- * 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.
31823
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****`.
31824
32449
  *
31825
32450
  * @param request DescribeSiteMonitorLogRequest
@@ -32650,9 +33275,7 @@ export default class Client extends OpenApi {
32650
33275
  }
32651
33276
 
32652
33277
  /**
32653
- * Indicates whether the call was successful. Valid values:
32654
- * * true: The call was successful.
32655
- * * 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`.
32656
33279
  *
32657
33280
  * @param request ModifyHostAvailabilityRequest
32658
33281
  * @param runtime runtime options for this request RuntimeOptions
@@ -32715,9 +33338,7 @@ export default class Client extends OpenApi {
32715
33338
  }
32716
33339
 
32717
33340
  /**
32718
- * Indicates whether the call was successful. Valid values:
32719
- * * true: The call was successful.
32720
- * * 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`.
32721
33342
  *
32722
33343
  * @param request ModifyHostAvailabilityRequest
32723
33344
  * @return ModifyHostAvailabilityResponse
@@ -32880,7 +33501,7 @@ export default class Client extends OpenApi {
32880
33501
  }
32881
33502
 
32882
33503
  /**
32883
- * The alias of the extended field that specifies the result of basic operations performed on aggregation results.
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.
32884
33505
  *
32885
33506
  * @param request ModifyHybridMonitorTaskRequest
32886
33507
  * @param runtime runtime options for this request RuntimeOptions
@@ -32931,7 +33552,7 @@ export default class Client extends OpenApi {
32931
33552
  }
32932
33553
 
32933
33554
  /**
32934
- * The alias of the extended field that specifies the result of basic operations performed on aggregation results.
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.
32935
33556
  *
32936
33557
  * @param request ModifyHybridMonitorTaskRequest
32937
33558
  * @return ModifyHybridMonitorTaskResponse
@@ -33832,9 +34453,7 @@ export default class Client extends OpenApi {
33832
34453
  }
33833
34454
 
33834
34455
  /**
33835
- * Indicates whether the call was successful. Valid values:
33836
- * * true: The call was successful.
33837
- * * 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`.
33838
34457
  *
33839
34458
  * @param request PutGroupMetricRuleRequest
33840
34459
  * @param runtime runtime options for this request RuntimeOptions
@@ -33937,9 +34556,7 @@ export default class Client extends OpenApi {
33937
34556
  }
33938
34557
 
33939
34558
  /**
33940
- * Indicates whether the call was successful. Valid values:
33941
- * * true: The call was successful.
33942
- * * 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`.
33943
34560
  *
33944
34561
  * @param request PutGroupMetricRuleRequest
33945
34562
  * @return PutGroupMetricRuleResponse
@@ -33950,9 +34567,12 @@ export default class Client extends OpenApi {
33950
34567
  }
33951
34568
 
33952
34569
  /**
33953
- * The tag value of the metric.
33954
- * Valid values of N: 1 to 100.
33955
- * > You must specify a key and a value for a tag at the same time.
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.
33956
34576
  *
33957
34577
  * @param request PutHybridMonitorMetricDataRequest
33958
34578
  * @param runtime runtime options for this request RuntimeOptions
@@ -33987,9 +34607,12 @@ export default class Client extends OpenApi {
33987
34607
  }
33988
34608
 
33989
34609
  /**
33990
- * The tag value of the metric.
33991
- * Valid values of N: 1 to 100.
33992
- * > You must specify a key and a value for a tag at the same time.
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.
33993
34616
  *
33994
34617
  * @param request PutHybridMonitorMetricDataRequest
33995
34618
  * @return PutHybridMonitorMetricDataResponse
@@ -34210,8 +34833,7 @@ export default class Client extends OpenApi {
34210
34833
  }
34211
34834
 
34212
34835
  /**
34213
- * The mute period during which new alerts are not sent even if the trigger conditions are met. Unit: seconds. Default value: 86400.
34214
- * > 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`.
34215
34837
  *
34216
34838
  * @param tmpReq PutResourceMetricRuleRequest
34217
34839
  * @param runtime runtime options for this request RuntimeOptions
@@ -34320,8 +34942,7 @@ export default class Client extends OpenApi {
34320
34942
  }
34321
34943
 
34322
34944
  /**
34323
- * The mute period during which new alerts are not sent even if the trigger conditions are met. Unit: seconds. Default value: 86400.
34324
- * > 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`.
34325
34946
  *
34326
34947
  * @param request PutResourceMetricRuleRequest
34327
34948
  * @return PutResourceMetricRuleResponse