@alicloud/cms20190101 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +632 -278
- package/dist/client.js +794 -278
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +931 -280
package/dist/client.d.ts
CHANGED
|
@@ -141,6 +141,25 @@ export declare class MetricStat extends $tea.Model {
|
|
|
141
141
|
[key: string]: any;
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
|
+
export declare class MigrationJob extends $tea.Model {
|
|
145
|
+
createTime?: string;
|
|
146
|
+
detail?: string;
|
|
147
|
+
jobStatus?: string;
|
|
148
|
+
plan?: MigrationJobPlan;
|
|
149
|
+
ruleNames?: string[];
|
|
150
|
+
source?: MigrationJobSource[];
|
|
151
|
+
updateTime?: string;
|
|
152
|
+
uuid?: string;
|
|
153
|
+
static names(): {
|
|
154
|
+
[key: string]: string;
|
|
155
|
+
};
|
|
156
|
+
static types(): {
|
|
157
|
+
[key: string]: any;
|
|
158
|
+
};
|
|
159
|
+
constructor(map?: {
|
|
160
|
+
[key: string]: any;
|
|
161
|
+
});
|
|
162
|
+
}
|
|
144
163
|
export declare class NotificationStrategy extends $tea.Model {
|
|
145
164
|
createTime?: string;
|
|
146
165
|
description?: string;
|
|
@@ -2979,6 +2998,7 @@ export declare class DescribeAlertLogListResponse extends $tea.Model {
|
|
|
2979
2998
|
});
|
|
2980
2999
|
}
|
|
2981
3000
|
export declare class DescribeAlertingMetricRuleResourcesRequest extends $tea.Model {
|
|
3001
|
+
alertBeforeTime?: string;
|
|
2982
3002
|
dimensions?: string;
|
|
2983
3003
|
groupId?: string;
|
|
2984
3004
|
namespace?: string;
|
|
@@ -3474,6 +3494,7 @@ export declare class DescribeEventRuleAttributeResponse extends $tea.Model {
|
|
|
3474
3494
|
}
|
|
3475
3495
|
export declare class DescribeEventRuleListRequest extends $tea.Model {
|
|
3476
3496
|
groupId?: string;
|
|
3497
|
+
isEnable?: boolean;
|
|
3477
3498
|
namePrefix?: string;
|
|
3478
3499
|
pageNumber?: string;
|
|
3479
3500
|
pageSize?: string;
|
|
@@ -8313,6 +8334,286 @@ export declare class EscalationRuleEscalations extends $tea.Model {
|
|
|
8313
8334
|
[key: string]: any;
|
|
8314
8335
|
});
|
|
8315
8336
|
}
|
|
8337
|
+
export declare class MigrationJobPlanContactsChannels extends $tea.Model {
|
|
8338
|
+
level?: number;
|
|
8339
|
+
type?: string;
|
|
8340
|
+
value?: string;
|
|
8341
|
+
static names(): {
|
|
8342
|
+
[key: string]: string;
|
|
8343
|
+
};
|
|
8344
|
+
static types(): {
|
|
8345
|
+
[key: string]: any;
|
|
8346
|
+
};
|
|
8347
|
+
constructor(map?: {
|
|
8348
|
+
[key: string]: any;
|
|
8349
|
+
});
|
|
8350
|
+
}
|
|
8351
|
+
export declare class MigrationJobPlanContacts extends $tea.Model {
|
|
8352
|
+
channels?: MigrationJobPlanContactsChannels[];
|
|
8353
|
+
name?: string;
|
|
8354
|
+
static names(): {
|
|
8355
|
+
[key: string]: string;
|
|
8356
|
+
};
|
|
8357
|
+
static types(): {
|
|
8358
|
+
[key: string]: any;
|
|
8359
|
+
};
|
|
8360
|
+
constructor(map?: {
|
|
8361
|
+
[key: string]: any;
|
|
8362
|
+
});
|
|
8363
|
+
}
|
|
8364
|
+
export declare class MigrationJobPlanEscalationsEscalationsLevelGroups extends $tea.Model {
|
|
8365
|
+
critical?: string[];
|
|
8366
|
+
info?: string[];
|
|
8367
|
+
resolved?: string[];
|
|
8368
|
+
warning?: string[];
|
|
8369
|
+
static names(): {
|
|
8370
|
+
[key: string]: string;
|
|
8371
|
+
};
|
|
8372
|
+
static types(): {
|
|
8373
|
+
[key: string]: any;
|
|
8374
|
+
};
|
|
8375
|
+
constructor(map?: {
|
|
8376
|
+
[key: string]: any;
|
|
8377
|
+
});
|
|
8378
|
+
}
|
|
8379
|
+
export declare class MigrationJobPlanEscalationsEscalations extends $tea.Model {
|
|
8380
|
+
groups?: string[];
|
|
8381
|
+
levelGroups?: MigrationJobPlanEscalationsEscalationsLevelGroups;
|
|
8382
|
+
static names(): {
|
|
8383
|
+
[key: string]: string;
|
|
8384
|
+
};
|
|
8385
|
+
static types(): {
|
|
8386
|
+
[key: string]: any;
|
|
8387
|
+
};
|
|
8388
|
+
constructor(map?: {
|
|
8389
|
+
[key: string]: any;
|
|
8390
|
+
});
|
|
8391
|
+
}
|
|
8392
|
+
export declare class MigrationJobPlanEscalations extends $tea.Model {
|
|
8393
|
+
escalations?: MigrationJobPlanEscalationsEscalations[];
|
|
8394
|
+
name?: string;
|
|
8395
|
+
uuid?: string;
|
|
8396
|
+
static names(): {
|
|
8397
|
+
[key: string]: string;
|
|
8398
|
+
};
|
|
8399
|
+
static types(): {
|
|
8400
|
+
[key: string]: any;
|
|
8401
|
+
};
|
|
8402
|
+
constructor(map?: {
|
|
8403
|
+
[key: string]: any;
|
|
8404
|
+
});
|
|
8405
|
+
}
|
|
8406
|
+
export declare class MigrationJobPlanGroups extends $tea.Model {
|
|
8407
|
+
contacts?: string[];
|
|
8408
|
+
name?: string;
|
|
8409
|
+
static names(): {
|
|
8410
|
+
[key: string]: string;
|
|
8411
|
+
};
|
|
8412
|
+
static types(): {
|
|
8413
|
+
[key: string]: any;
|
|
8414
|
+
};
|
|
8415
|
+
constructor(map?: {
|
|
8416
|
+
[key: string]: any;
|
|
8417
|
+
});
|
|
8418
|
+
}
|
|
8419
|
+
export declare class MigrationJobPlanStrategiesEscalationSetting extends $tea.Model {
|
|
8420
|
+
escalationUuid?: string;
|
|
8421
|
+
static names(): {
|
|
8422
|
+
[key: string]: string;
|
|
8423
|
+
};
|
|
8424
|
+
static types(): {
|
|
8425
|
+
[key: string]: any;
|
|
8426
|
+
};
|
|
8427
|
+
constructor(map?: {
|
|
8428
|
+
[key: string]: any;
|
|
8429
|
+
});
|
|
8430
|
+
}
|
|
8431
|
+
export declare class MigrationJobPlanStrategiesPushingSetting extends $tea.Model {
|
|
8432
|
+
targetUuids?: string[];
|
|
8433
|
+
static names(): {
|
|
8434
|
+
[key: string]: string;
|
|
8435
|
+
};
|
|
8436
|
+
static types(): {
|
|
8437
|
+
[key: string]: any;
|
|
8438
|
+
};
|
|
8439
|
+
constructor(map?: {
|
|
8440
|
+
[key: string]: any;
|
|
8441
|
+
});
|
|
8442
|
+
}
|
|
8443
|
+
export declare class MigrationJobPlanStrategies extends $tea.Model {
|
|
8444
|
+
escalationSetting?: MigrationJobPlanStrategiesEscalationSetting;
|
|
8445
|
+
name?: string;
|
|
8446
|
+
pushingSetting?: MigrationJobPlanStrategiesPushingSetting;
|
|
8447
|
+
static names(): {
|
|
8448
|
+
[key: string]: string;
|
|
8449
|
+
};
|
|
8450
|
+
static types(): {
|
|
8451
|
+
[key: string]: any;
|
|
8452
|
+
};
|
|
8453
|
+
constructor(map?: {
|
|
8454
|
+
[key: string]: any;
|
|
8455
|
+
});
|
|
8456
|
+
}
|
|
8457
|
+
export declare class MigrationJobPlanSubscriptionsConditions extends $tea.Model {
|
|
8458
|
+
field?: string;
|
|
8459
|
+
op?: string;
|
|
8460
|
+
value?: string;
|
|
8461
|
+
static names(): {
|
|
8462
|
+
[key: string]: string;
|
|
8463
|
+
};
|
|
8464
|
+
static types(): {
|
|
8465
|
+
[key: string]: any;
|
|
8466
|
+
};
|
|
8467
|
+
constructor(map?: {
|
|
8468
|
+
[key: string]: any;
|
|
8469
|
+
});
|
|
8470
|
+
}
|
|
8471
|
+
export declare class MigrationJobPlanSubscriptions extends $tea.Model {
|
|
8472
|
+
conditions?: MigrationJobPlanSubscriptionsConditions[];
|
|
8473
|
+
name?: string;
|
|
8474
|
+
strategyUuid?: string;
|
|
8475
|
+
static names(): {
|
|
8476
|
+
[key: string]: string;
|
|
8477
|
+
};
|
|
8478
|
+
static types(): {
|
|
8479
|
+
[key: string]: any;
|
|
8480
|
+
};
|
|
8481
|
+
constructor(map?: {
|
|
8482
|
+
[key: string]: any;
|
|
8483
|
+
});
|
|
8484
|
+
}
|
|
8485
|
+
export declare class MigrationJobPlanTargetsHttpRequestTarget extends $tea.Model {
|
|
8486
|
+
contentType?: string;
|
|
8487
|
+
method?: string;
|
|
8488
|
+
url?: string;
|
|
8489
|
+
static names(): {
|
|
8490
|
+
[key: string]: string;
|
|
8491
|
+
};
|
|
8492
|
+
static types(): {
|
|
8493
|
+
[key: string]: any;
|
|
8494
|
+
};
|
|
8495
|
+
constructor(map?: {
|
|
8496
|
+
[key: string]: any;
|
|
8497
|
+
});
|
|
8498
|
+
}
|
|
8499
|
+
export declare class MigrationJobPlanTargets extends $tea.Model {
|
|
8500
|
+
arn?: string;
|
|
8501
|
+
httpRequestTarget?: MigrationJobPlanTargetsHttpRequestTarget;
|
|
8502
|
+
name?: string;
|
|
8503
|
+
type?: string;
|
|
8504
|
+
uuid?: string;
|
|
8505
|
+
static names(): {
|
|
8506
|
+
[key: string]: string;
|
|
8507
|
+
};
|
|
8508
|
+
static types(): {
|
|
8509
|
+
[key: string]: any;
|
|
8510
|
+
};
|
|
8511
|
+
constructor(map?: {
|
|
8512
|
+
[key: string]: any;
|
|
8513
|
+
});
|
|
8514
|
+
}
|
|
8515
|
+
export declare class MigrationJobPlan extends $tea.Model {
|
|
8516
|
+
contacts?: MigrationJobPlanContacts[];
|
|
8517
|
+
escalations?: MigrationJobPlanEscalations[];
|
|
8518
|
+
groups?: MigrationJobPlanGroups[];
|
|
8519
|
+
ruleNames?: string[];
|
|
8520
|
+
strategies?: MigrationJobPlanStrategies[];
|
|
8521
|
+
subscriptions?: MigrationJobPlanSubscriptions[];
|
|
8522
|
+
targets?: MigrationJobPlanTargets[];
|
|
8523
|
+
static names(): {
|
|
8524
|
+
[key: string]: string;
|
|
8525
|
+
};
|
|
8526
|
+
static types(): {
|
|
8527
|
+
[key: string]: any;
|
|
8528
|
+
};
|
|
8529
|
+
constructor(map?: {
|
|
8530
|
+
[key: string]: any;
|
|
8531
|
+
});
|
|
8532
|
+
}
|
|
8533
|
+
export declare class MigrationJobSourceRuleKeywordFilter extends $tea.Model {
|
|
8534
|
+
keywords?: string[];
|
|
8535
|
+
relation?: string;
|
|
8536
|
+
static names(): {
|
|
8537
|
+
[key: string]: string;
|
|
8538
|
+
};
|
|
8539
|
+
static types(): {
|
|
8540
|
+
[key: string]: any;
|
|
8541
|
+
};
|
|
8542
|
+
constructor(map?: {
|
|
8543
|
+
[key: string]: any;
|
|
8544
|
+
});
|
|
8545
|
+
}
|
|
8546
|
+
export declare class MigrationJobSourceRulePrimaryFilters extends $tea.Model {
|
|
8547
|
+
field?: string;
|
|
8548
|
+
opType?: string;
|
|
8549
|
+
value?: string;
|
|
8550
|
+
static names(): {
|
|
8551
|
+
[key: string]: string;
|
|
8552
|
+
};
|
|
8553
|
+
static types(): {
|
|
8554
|
+
[key: string]: any;
|
|
8555
|
+
};
|
|
8556
|
+
constructor(map?: {
|
|
8557
|
+
[key: string]: any;
|
|
8558
|
+
});
|
|
8559
|
+
}
|
|
8560
|
+
export declare class MigrationJobSourceRule extends $tea.Model {
|
|
8561
|
+
keywordFilter?: MigrationJobSourceRuleKeywordFilter;
|
|
8562
|
+
name?: string;
|
|
8563
|
+
primaryFilters?: MigrationJobSourceRulePrimaryFilters[];
|
|
8564
|
+
static names(): {
|
|
8565
|
+
[key: string]: string;
|
|
8566
|
+
};
|
|
8567
|
+
static types(): {
|
|
8568
|
+
[key: string]: any;
|
|
8569
|
+
};
|
|
8570
|
+
constructor(map?: {
|
|
8571
|
+
[key: string]: any;
|
|
8572
|
+
});
|
|
8573
|
+
}
|
|
8574
|
+
export declare class MigrationJobSourceTargetsContent extends $tea.Model {
|
|
8575
|
+
group?: string;
|
|
8576
|
+
level?: string;
|
|
8577
|
+
method?: string;
|
|
8578
|
+
region?: string;
|
|
8579
|
+
resourcePath?: string;
|
|
8580
|
+
url?: string;
|
|
8581
|
+
static names(): {
|
|
8582
|
+
[key: string]: string;
|
|
8583
|
+
};
|
|
8584
|
+
static types(): {
|
|
8585
|
+
[key: string]: any;
|
|
8586
|
+
};
|
|
8587
|
+
constructor(map?: {
|
|
8588
|
+
[key: string]: any;
|
|
8589
|
+
});
|
|
8590
|
+
}
|
|
8591
|
+
export declare class MigrationJobSourceTargets extends $tea.Model {
|
|
8592
|
+
content?: MigrationJobSourceTargetsContent;
|
|
8593
|
+
type?: string;
|
|
8594
|
+
static names(): {
|
|
8595
|
+
[key: string]: string;
|
|
8596
|
+
};
|
|
8597
|
+
static types(): {
|
|
8598
|
+
[key: string]: any;
|
|
8599
|
+
};
|
|
8600
|
+
constructor(map?: {
|
|
8601
|
+
[key: string]: any;
|
|
8602
|
+
});
|
|
8603
|
+
}
|
|
8604
|
+
export declare class MigrationJobSource extends $tea.Model {
|
|
8605
|
+
rule?: MigrationJobSourceRule;
|
|
8606
|
+
targets?: MigrationJobSourceTargets[];
|
|
8607
|
+
static names(): {
|
|
8608
|
+
[key: string]: string;
|
|
8609
|
+
};
|
|
8610
|
+
static types(): {
|
|
8611
|
+
[key: string]: any;
|
|
8612
|
+
};
|
|
8613
|
+
constructor(map?: {
|
|
8614
|
+
[key: string]: any;
|
|
8615
|
+
});
|
|
8616
|
+
}
|
|
8316
8617
|
export declare class NotificationStrategyEscalationSettingCustomChannels extends $tea.Model {
|
|
8317
8618
|
channelType?: string;
|
|
8318
8619
|
severities?: string[];
|
|
@@ -10098,6 +10399,31 @@ export declare class DescribeEventRuleAttributeResponseBodyResultEventPatternEve
|
|
|
10098
10399
|
[key: string]: any;
|
|
10099
10400
|
});
|
|
10100
10401
|
}
|
|
10402
|
+
export declare class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords extends $tea.Model {
|
|
10403
|
+
keyword?: string[];
|
|
10404
|
+
static names(): {
|
|
10405
|
+
[key: string]: string;
|
|
10406
|
+
};
|
|
10407
|
+
static types(): {
|
|
10408
|
+
[key: string]: any;
|
|
10409
|
+
};
|
|
10410
|
+
constructor(map?: {
|
|
10411
|
+
[key: string]: any;
|
|
10412
|
+
});
|
|
10413
|
+
}
|
|
10414
|
+
export declare class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj extends $tea.Model {
|
|
10415
|
+
keywords?: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords;
|
|
10416
|
+
relation?: string;
|
|
10417
|
+
static names(): {
|
|
10418
|
+
[key: string]: string;
|
|
10419
|
+
};
|
|
10420
|
+
static types(): {
|
|
10421
|
+
[key: string]: any;
|
|
10422
|
+
};
|
|
10423
|
+
constructor(map?: {
|
|
10424
|
+
[key: string]: any;
|
|
10425
|
+
});
|
|
10426
|
+
}
|
|
10101
10427
|
export declare class DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList extends $tea.Model {
|
|
10102
10428
|
levelList?: string[];
|
|
10103
10429
|
static names(): {
|
|
@@ -10136,9 +10462,11 @@ export declare class DescribeEventRuleAttributeResponseBodyResultEventPatternSta
|
|
|
10136
10462
|
}
|
|
10137
10463
|
export declare class DescribeEventRuleAttributeResponseBodyResultEventPattern extends $tea.Model {
|
|
10138
10464
|
eventTypeList?: DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList;
|
|
10465
|
+
keywordFilterObj?: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj;
|
|
10139
10466
|
levelList?: DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList;
|
|
10140
10467
|
nameList?: DescribeEventRuleAttributeResponseBodyResultEventPatternNameList;
|
|
10141
10468
|
product?: string;
|
|
10469
|
+
SQLFilter?: string;
|
|
10142
10470
|
statusList?: DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList;
|
|
10143
10471
|
static names(): {
|
|
10144
10472
|
[key: string]: string;
|
|
@@ -12127,6 +12455,20 @@ export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQu
|
|
|
12127
12455
|
[key: string]: any;
|
|
12128
12456
|
});
|
|
12129
12457
|
}
|
|
12458
|
+
export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser extends $tea.Model {
|
|
12459
|
+
quotaLimit?: number;
|
|
12460
|
+
quotaPackage?: number;
|
|
12461
|
+
quotaUsed?: number;
|
|
12462
|
+
static names(): {
|
|
12463
|
+
[key: string]: string;
|
|
12464
|
+
};
|
|
12465
|
+
static types(): {
|
|
12466
|
+
[key: string]: any;
|
|
12467
|
+
};
|
|
12468
|
+
constructor(map?: {
|
|
12469
|
+
[key: string]: any;
|
|
12470
|
+
});
|
|
12471
|
+
}
|
|
12130
12472
|
export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe extends $tea.Model {
|
|
12131
12473
|
quotaLimit?: number;
|
|
12132
12474
|
quotaPackage?: number;
|
|
@@ -12141,6 +12483,20 @@ export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQu
|
|
|
12141
12483
|
[key: string]: any;
|
|
12142
12484
|
});
|
|
12143
12485
|
}
|
|
12486
|
+
export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile extends $tea.Model {
|
|
12487
|
+
quotaLimit?: number;
|
|
12488
|
+
quotaPackage?: number;
|
|
12489
|
+
quotaUsed?: number;
|
|
12490
|
+
static names(): {
|
|
12491
|
+
[key: string]: string;
|
|
12492
|
+
};
|
|
12493
|
+
static types(): {
|
|
12494
|
+
[key: string]: any;
|
|
12495
|
+
};
|
|
12496
|
+
constructor(map?: {
|
|
12497
|
+
[key: string]: any;
|
|
12498
|
+
});
|
|
12499
|
+
}
|
|
12144
12500
|
export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorOperatorProbe extends $tea.Model {
|
|
12145
12501
|
quotaLimit?: number;
|
|
12146
12502
|
quotaPackage?: number;
|
|
@@ -12179,7 +12535,9 @@ export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQu
|
|
|
12179
12535
|
logMonitor?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaLogMonitor;
|
|
12180
12536
|
phone?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaPhone;
|
|
12181
12537
|
SMS?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSMS;
|
|
12538
|
+
siteMonitorBrowser?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser;
|
|
12182
12539
|
siteMonitorEcsProbe?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe;
|
|
12540
|
+
siteMonitorMobile?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile;
|
|
12183
12541
|
siteMonitorOperatorProbe?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorOperatorProbe;
|
|
12184
12542
|
siteMonitorTask?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorTask;
|
|
12185
12543
|
suitInfo?: string;
|
|
@@ -12656,6 +13014,7 @@ export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJ
|
|
|
12656
13014
|
trafficHijackElementCount?: number;
|
|
12657
13015
|
trafficHijackElementWhitelist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist;
|
|
12658
13016
|
username?: string;
|
|
13017
|
+
waitTimeAfterCompletion?: number;
|
|
12659
13018
|
static names(): {
|
|
12660
13019
|
[key: string]: string;
|
|
12661
13020
|
};
|
|
@@ -14266,9 +14625,7 @@ export default class Client extends OpenApi {
|
|
|
14266
14625
|
[key: string]: string;
|
|
14267
14626
|
}, endpoint: string): string;
|
|
14268
14627
|
/**
|
|
14269
|
-
*
|
|
14270
|
-
* * true: The call was successful.
|
|
14271
|
-
* * false: The call failed.
|
|
14628
|
+
* 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`.
|
|
14272
14629
|
*
|
|
14273
14630
|
* @param request AddTagsRequest
|
|
14274
14631
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14276,17 +14633,14 @@ export default class Client extends OpenApi {
|
|
|
14276
14633
|
*/
|
|
14277
14634
|
addTagsWithOptions(request: AddTagsRequest, runtime: $Util.RuntimeOptions): Promise<AddTagsResponse>;
|
|
14278
14635
|
/**
|
|
14279
|
-
*
|
|
14280
|
-
* * true: The call was successful.
|
|
14281
|
-
* * false: The call failed.
|
|
14636
|
+
* 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`.
|
|
14282
14637
|
*
|
|
14283
14638
|
* @param request AddTagsRequest
|
|
14284
14639
|
* @return AddTagsResponse
|
|
14285
14640
|
*/
|
|
14286
14641
|
addTags(request: AddTagsRequest): Promise<AddTagsResponse>;
|
|
14287
14642
|
/**
|
|
14288
|
-
*
|
|
14289
|
-
* For more information about how to query the ID of an application group, see [DescribeMonitorGroups](~~115032~~).
|
|
14643
|
+
* In this example, the `700****` alert template is applied to the `123456` application group. For the generated alert rule, the ID is `applyTemplate8ab74c6b-9f27-47ab-8841-de01dc08****`, and the name is `test123`.
|
|
14290
14644
|
*
|
|
14291
14645
|
* @param request ApplyMetricRuleTemplateRequest
|
|
14292
14646
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14294,15 +14648,14 @@ export default class Client extends OpenApi {
|
|
|
14294
14648
|
*/
|
|
14295
14649
|
applyMetricRuleTemplateWithOptions(request: ApplyMetricRuleTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ApplyMetricRuleTemplateResponse>;
|
|
14296
14650
|
/**
|
|
14297
|
-
*
|
|
14298
|
-
* For more information about how to query the ID of an application group, see [DescribeMonitorGroups](~~115032~~).
|
|
14651
|
+
* In this example, the `700****` alert template is applied to the `123456` application group. For the generated alert rule, the ID is `applyTemplate8ab74c6b-9f27-47ab-8841-de01dc08****`, and the name is `test123`.
|
|
14299
14652
|
*
|
|
14300
14653
|
* @param request ApplyMetricRuleTemplateRequest
|
|
14301
14654
|
* @return ApplyMetricRuleTemplateResponse
|
|
14302
14655
|
*/
|
|
14303
14656
|
applyMetricRuleTemplate(request: ApplyMetricRuleTemplateRequest): Promise<ApplyMetricRuleTemplateResponse>;
|
|
14304
14657
|
/**
|
|
14305
|
-
*
|
|
14658
|
+
* This topic provides an example on how to create a site monitoring task named `HangZhou_ECS1`. The URL that is monitored by the task is `https://www.aliyun.com` and the type of the task is `HTTP`. The returned result shows that the site monitoring task is created. The name of the site monitoring task is `HangZhou_ECS1` and the task ID is `679fbe4f-b80b-4706-91b2-5427b43e****`.
|
|
14306
14659
|
*
|
|
14307
14660
|
* @param request BatchCreateInstantSiteMonitorRequest
|
|
14308
14661
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14310,7 +14663,7 @@ export default class Client extends OpenApi {
|
|
|
14310
14663
|
*/
|
|
14311
14664
|
batchCreateInstantSiteMonitorWithOptions(request: BatchCreateInstantSiteMonitorRequest, runtime: $Util.RuntimeOptions): Promise<BatchCreateInstantSiteMonitorResponse>;
|
|
14312
14665
|
/**
|
|
14313
|
-
*
|
|
14666
|
+
* This topic provides an example on how to create a site monitoring task named `HangZhou_ECS1`. The URL that is monitored by the task is `https://www.aliyun.com` and the type of the task is `HTTP`. The returned result shows that the site monitoring task is created. The name of the site monitoring task is `HangZhou_ECS1` and the task ID is `679fbe4f-b80b-4706-91b2-5427b43e****`.
|
|
14314
14667
|
*
|
|
14315
14668
|
* @param request BatchCreateInstantSiteMonitorRequest
|
|
14316
14669
|
* @return BatchCreateInstantSiteMonitorResponse
|
|
@@ -14331,7 +14684,26 @@ export default class Client extends OpenApi {
|
|
|
14331
14684
|
* @return BatchCreateIntantSiteMonitorResponse
|
|
14332
14685
|
*/
|
|
14333
14686
|
batchCreateIntantSiteMonitor(request: BatchCreateIntantSiteMonitorRequest): Promise<BatchCreateIntantSiteMonitorResponse>;
|
|
14687
|
+
/**
|
|
14688
|
+
* ### [](#)Prerequisites
|
|
14689
|
+
* The `Cursor` information is returned by calling the [Cursor](~~2330730~~) operation.
|
|
14690
|
+
* ### [](#)Description
|
|
14691
|
+
* 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.
|
|
14692
|
+
*
|
|
14693
|
+
* @param tmpReq BatchExportRequest
|
|
14694
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14695
|
+
* @return BatchExportResponse
|
|
14696
|
+
*/
|
|
14334
14697
|
batchExportWithOptions(tmpReq: BatchExportRequest, runtime: $Util.RuntimeOptions): Promise<BatchExportResponse>;
|
|
14698
|
+
/**
|
|
14699
|
+
* ### [](#)Prerequisites
|
|
14700
|
+
* The `Cursor` information is returned by calling the [Cursor](~~2330730~~) operation.
|
|
14701
|
+
* ### [](#)Description
|
|
14702
|
+
* 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.
|
|
14703
|
+
*
|
|
14704
|
+
* @param request BatchExportRequest
|
|
14705
|
+
* @return BatchExportResponse
|
|
14706
|
+
*/
|
|
14335
14707
|
batchExport(request: BatchExportRequest): Promise<BatchExportResponse>;
|
|
14336
14708
|
createCmsCallNumOrderWithOptions(request: CreateCmsCallNumOrderRequest, runtime: $Util.RuntimeOptions): Promise<CreateCmsCallNumOrderResponse>;
|
|
14337
14709
|
createCmsCallNumOrder(request: CreateCmsCallNumOrderRequest): Promise<CreateCmsCallNumOrderResponse>;
|
|
@@ -14340,9 +14712,8 @@ export default class Client extends OpenApi {
|
|
|
14340
14712
|
createCmsSmspackageOrderWithOptions(request: CreateCmsSmspackageOrderRequest, runtime: $Util.RuntimeOptions): Promise<CreateCmsSmspackageOrderResponse>;
|
|
14341
14713
|
createCmsSmspackageOrder(request: CreateCmsSmspackageOrderRequest): Promise<CreateCmsSmspackageOrderResponse>;
|
|
14342
14714
|
/**
|
|
14343
|
-
*
|
|
14344
|
-
*
|
|
14345
|
-
* * false (default value): The application group does not automatically subscribe to event notifications.
|
|
14715
|
+
* This operation is available for Elastic Compute Service (ECS), ApsaraDB RDS, and Server Load Balancer (SLB).
|
|
14716
|
+
* This topic provides an example to show how to create an application group for resources whose tag key is `ecs_instance`. In this example, the alert contact group of the application group is `ECS_Group`.
|
|
14346
14717
|
*
|
|
14347
14718
|
* @param request CreateDynamicTagGroupRequest
|
|
14348
14719
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14350,16 +14721,15 @@ export default class Client extends OpenApi {
|
|
|
14350
14721
|
*/
|
|
14351
14722
|
createDynamicTagGroupWithOptions(request: CreateDynamicTagGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateDynamicTagGroupResponse>;
|
|
14352
14723
|
/**
|
|
14353
|
-
*
|
|
14354
|
-
*
|
|
14355
|
-
* * false (default value): The application group does not automatically subscribe to event notifications.
|
|
14724
|
+
* This operation is available for Elastic Compute Service (ECS), ApsaraDB RDS, and Server Load Balancer (SLB).
|
|
14725
|
+
* This topic provides an example to show how to create an application group for resources whose tag key is `ecs_instance`. In this example, the alert contact group of the application group is `ECS_Group`.
|
|
14356
14726
|
*
|
|
14357
14727
|
* @param request CreateDynamicTagGroupRequest
|
|
14358
14728
|
* @return CreateDynamicTagGroupResponse
|
|
14359
14729
|
*/
|
|
14360
14730
|
createDynamicTagGroup(request: CreateDynamicTagGroupRequest): Promise<CreateDynamicTagGroupResponse>;
|
|
14361
14731
|
/**
|
|
14362
|
-
* The
|
|
14732
|
+
* This topic provides an example to show how to create an alert rule for the `cpu_total` metric of Elastic Compute Service (ECS) in the `123456` application group. The ID of the alert rule is `456789`. The name of the alert rule is `ECS_Rule1`. The alert level is `Critical`. The statistical method is `Average`. The comparison operator is `GreaterThanOrEqualToThreshold`. The alert threshold is `90`. The number of alert retries is `3`. The response shows that the alert rule named `ECS_Rule1` is created.
|
|
14363
14733
|
*
|
|
14364
14734
|
* @param request CreateGroupMetricRulesRequest
|
|
14365
14735
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14367,7 +14737,7 @@ export default class Client extends OpenApi {
|
|
|
14367
14737
|
*/
|
|
14368
14738
|
createGroupMetricRulesWithOptions(request: CreateGroupMetricRulesRequest, runtime: $Util.RuntimeOptions): Promise<CreateGroupMetricRulesResponse>;
|
|
14369
14739
|
/**
|
|
14370
|
-
* The
|
|
14740
|
+
* This topic provides an example to show how to create an alert rule for the `cpu_total` metric of Elastic Compute Service (ECS) in the `123456` application group. The ID of the alert rule is `456789`. The name of the alert rule is `ECS_Rule1`. The alert level is `Critical`. The statistical method is `Average`. The comparison operator is `GreaterThanOrEqualToThreshold`. The alert threshold is `90`. The number of alert retries is `3`. The response shows that the alert rule named `ECS_Rule1` is created.
|
|
14371
14741
|
*
|
|
14372
14742
|
* @param request CreateGroupMetricRulesRequest
|
|
14373
14743
|
* @return CreateGroupMetricRulesResponse
|
|
@@ -14376,7 +14746,7 @@ export default class Client extends OpenApi {
|
|
|
14376
14746
|
createGroupMonitoringAgentProcessWithOptions(request: CreateGroupMonitoringAgentProcessRequest, runtime: $Util.RuntimeOptions): Promise<CreateGroupMonitoringAgentProcessResponse>;
|
|
14377
14747
|
createGroupMonitoringAgentProcess(request: CreateGroupMonitoringAgentProcessRequest): Promise<CreateGroupMonitoringAgentProcessResponse>;
|
|
14378
14748
|
/**
|
|
14379
|
-
* The
|
|
14749
|
+
* 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.
|
|
14380
14750
|
*
|
|
14381
14751
|
* @param request CreateHostAvailabilityRequest
|
|
14382
14752
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14384,16 +14754,15 @@ export default class Client extends OpenApi {
|
|
|
14384
14754
|
*/
|
|
14385
14755
|
createHostAvailabilityWithOptions(request: CreateHostAvailabilityRequest, runtime: $Util.RuntimeOptions): Promise<CreateHostAvailabilityResponse>;
|
|
14386
14756
|
/**
|
|
14387
|
-
* The
|
|
14757
|
+
* 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.
|
|
14388
14758
|
*
|
|
14389
14759
|
* @param request CreateHostAvailabilityRequest
|
|
14390
14760
|
* @return CreateHostAvailabilityResponse
|
|
14391
14761
|
*/
|
|
14392
14762
|
createHostAvailability(request: CreateHostAvailabilityRequest): Promise<CreateHostAvailabilityResponse>;
|
|
14393
14763
|
/**
|
|
14394
|
-
*
|
|
14395
|
-
*
|
|
14396
|
-
* * false: The call failed.
|
|
14764
|
+
* ## Prerequisites
|
|
14765
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14397
14766
|
*
|
|
14398
14767
|
* @param request CreateHybridMonitorNamespaceRequest
|
|
14399
14768
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14401,17 +14770,18 @@ export default class Client extends OpenApi {
|
|
|
14401
14770
|
*/
|
|
14402
14771
|
createHybridMonitorNamespaceWithOptions(request: CreateHybridMonitorNamespaceRequest, runtime: $Util.RuntimeOptions): Promise<CreateHybridMonitorNamespaceResponse>;
|
|
14403
14772
|
/**
|
|
14404
|
-
*
|
|
14405
|
-
*
|
|
14406
|
-
* * false: The call failed.
|
|
14773
|
+
* ## Prerequisites
|
|
14774
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14407
14775
|
*
|
|
14408
14776
|
* @param request CreateHybridMonitorNamespaceRequest
|
|
14409
14777
|
* @return CreateHybridMonitorNamespaceResponse
|
|
14410
14778
|
*/
|
|
14411
14779
|
createHybridMonitorNamespace(request: CreateHybridMonitorNamespaceRequest): Promise<CreateHybridMonitorNamespaceResponse>;
|
|
14412
14780
|
/**
|
|
14413
|
-
*
|
|
14414
|
-
*
|
|
14781
|
+
* # Prerequisites
|
|
14782
|
+
* Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](~~54604~~).
|
|
14783
|
+
* # Description
|
|
14784
|
+
* In this example, a Logstore group named `Logstore_test` is created. The region ID is `cn-hangzhou`. The project is `aliyun-project`. The Logstore is `Logstore-ECS`. The response shows that the Logstore group is created.
|
|
14415
14785
|
*
|
|
14416
14786
|
* @param request CreateHybridMonitorSLSGroupRequest
|
|
14417
14787
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14419,15 +14789,19 @@ export default class Client extends OpenApi {
|
|
|
14419
14789
|
*/
|
|
14420
14790
|
createHybridMonitorSLSGroupWithOptions(request: CreateHybridMonitorSLSGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateHybridMonitorSLSGroupResponse>;
|
|
14421
14791
|
/**
|
|
14422
|
-
*
|
|
14423
|
-
*
|
|
14792
|
+
* # Prerequisites
|
|
14793
|
+
* Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](~~54604~~).
|
|
14794
|
+
* # Description
|
|
14795
|
+
* In this example, a Logstore group named `Logstore_test` is created. The region ID is `cn-hangzhou`. The project is `aliyun-project`. The Logstore is `Logstore-ECS`. The response shows that the Logstore group is created.
|
|
14424
14796
|
*
|
|
14425
14797
|
* @param request CreateHybridMonitorSLSGroupRequest
|
|
14426
14798
|
* @return CreateHybridMonitorSLSGroupResponse
|
|
14427
14799
|
*/
|
|
14428
14800
|
createHybridMonitorSLSGroup(request: CreateHybridMonitorSLSGroupRequest): Promise<CreateHybridMonitorSLSGroupResponse>;
|
|
14429
14801
|
/**
|
|
14430
|
-
*
|
|
14802
|
+
* ## Prerequisites
|
|
14803
|
+
* * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14804
|
+
* * If you want to create a metric for logs imported from Log Service, make sure that you have activated Log Service and created a project and a Logstore. For more information, see [Getting Started](~~54604~~).
|
|
14431
14805
|
*
|
|
14432
14806
|
* @param request CreateHybridMonitorTaskRequest
|
|
14433
14807
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14435,7 +14809,9 @@ export default class Client extends OpenApi {
|
|
|
14435
14809
|
*/
|
|
14436
14810
|
createHybridMonitorTaskWithOptions(request: CreateHybridMonitorTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateHybridMonitorTaskResponse>;
|
|
14437
14811
|
/**
|
|
14438
|
-
*
|
|
14812
|
+
* ## Prerequisites
|
|
14813
|
+
* * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14814
|
+
* * If you want to create a metric for logs imported from Log Service, make sure that you have activated Log Service and created a project and a Logstore. For more information, see [Getting Started](~~54604~~).
|
|
14439
14815
|
*
|
|
14440
14816
|
* @param request CreateHybridMonitorTaskRequest
|
|
14441
14817
|
* @return CreateHybridMonitorTaskResponse
|
|
@@ -14459,8 +14835,9 @@ export default class Client extends OpenApi {
|
|
|
14459
14835
|
*/
|
|
14460
14836
|
createInstantSiteMonitor(request: CreateInstantSiteMonitorRequest): Promise<CreateInstantSiteMonitorResponse>;
|
|
14461
14837
|
/**
|
|
14462
|
-
*
|
|
14463
|
-
*
|
|
14838
|
+
* ### Background information
|
|
14839
|
+
* * 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.
|
|
14840
|
+
* * 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~~).
|
|
14464
14841
|
*
|
|
14465
14842
|
* @param request CreateMetricRuleBlackListRequest
|
|
14466
14843
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14468,8 +14845,9 @@ export default class Client extends OpenApi {
|
|
|
14468
14845
|
*/
|
|
14469
14846
|
createMetricRuleBlackListWithOptions(request: CreateMetricRuleBlackListRequest, runtime: $Util.RuntimeOptions): Promise<CreateMetricRuleBlackListResponse>;
|
|
14470
14847
|
/**
|
|
14471
|
-
*
|
|
14472
|
-
*
|
|
14848
|
+
* ### Background information
|
|
14849
|
+
* * 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.
|
|
14850
|
+
* * 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~~).
|
|
14473
14851
|
*
|
|
14474
14852
|
* @param request CreateMetricRuleBlackListRequest
|
|
14475
14853
|
* @return CreateMetricRuleBlackListResponse
|
|
@@ -14482,7 +14860,7 @@ export default class Client extends OpenApi {
|
|
|
14482
14860
|
createMonitorAgentProcessWithOptions(request: CreateMonitorAgentProcessRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorAgentProcessResponse>;
|
|
14483
14861
|
createMonitorAgentProcess(request: CreateMonitorAgentProcessRequest): Promise<CreateMonitorAgentProcessResponse>;
|
|
14484
14862
|
/**
|
|
14485
|
-
*
|
|
14863
|
+
* In this example, the application group named `ECS_Group` is created.
|
|
14486
14864
|
*
|
|
14487
14865
|
* @param request CreateMonitorGroupRequest
|
|
14488
14866
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14490,15 +14868,14 @@ export default class Client extends OpenApi {
|
|
|
14490
14868
|
*/
|
|
14491
14869
|
createMonitorGroupWithOptions(request: CreateMonitorGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorGroupResponse>;
|
|
14492
14870
|
/**
|
|
14493
|
-
*
|
|
14871
|
+
* In this example, the application group named `ECS_Group` is created.
|
|
14494
14872
|
*
|
|
14495
14873
|
* @param request CreateMonitorGroupRequest
|
|
14496
14874
|
* @return CreateMonitorGroupResponse
|
|
14497
14875
|
*/
|
|
14498
14876
|
createMonitorGroup(request: CreateMonitorGroupRequest): Promise<CreateMonitorGroupResponse>;
|
|
14499
14877
|
/**
|
|
14500
|
-
*
|
|
14501
|
-
* For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
|
|
14878
|
+
* 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`.
|
|
14502
14879
|
*
|
|
14503
14880
|
* @param request CreateMonitorGroupByResourceGroupIdRequest
|
|
14504
14881
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14506,16 +14883,15 @@ export default class Client extends OpenApi {
|
|
|
14506
14883
|
*/
|
|
14507
14884
|
createMonitorGroupByResourceGroupIdWithOptions(request: CreateMonitorGroupByResourceGroupIdRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorGroupByResourceGroupIdResponse>;
|
|
14508
14885
|
/**
|
|
14509
|
-
*
|
|
14510
|
-
* For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
|
|
14886
|
+
* 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`.
|
|
14511
14887
|
*
|
|
14512
14888
|
* @param request CreateMonitorGroupByResourceGroupIdRequest
|
|
14513
14889
|
* @return CreateMonitorGroupByResourceGroupIdResponse
|
|
14514
14890
|
*/
|
|
14515
14891
|
createMonitorGroupByResourceGroupId(request: CreateMonitorGroupByResourceGroupIdRequest): Promise<CreateMonitorGroupByResourceGroupIdResponse>;
|
|
14516
14892
|
/**
|
|
14517
|
-
*
|
|
14518
|
-
*
|
|
14893
|
+
* You can add a maximum of 1,000 instances to an application group at a time. You can add a maximum of 3,000 instances of an Alibaba Cloud service to an application group. The total number of instances that you can add to an application group is unlimited.
|
|
14894
|
+
* In this example, an Elastic Compute Service (ECS) instance in the `China (Hangzhou)` region is added to the `3607****` application group. The instance ID is `i-2ze26xj5wwy12****` and the instance name is `test-instance-ecs`.
|
|
14519
14895
|
*
|
|
14520
14896
|
* @param request CreateMonitorGroupInstancesRequest
|
|
14521
14897
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14523,15 +14899,16 @@ export default class Client extends OpenApi {
|
|
|
14523
14899
|
*/
|
|
14524
14900
|
createMonitorGroupInstancesWithOptions(request: CreateMonitorGroupInstancesRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorGroupInstancesResponse>;
|
|
14525
14901
|
/**
|
|
14526
|
-
*
|
|
14527
|
-
*
|
|
14902
|
+
* You can add a maximum of 1,000 instances to an application group at a time. You can add a maximum of 3,000 instances of an Alibaba Cloud service to an application group. The total number of instances that you can add to an application group is unlimited.
|
|
14903
|
+
* In this example, an Elastic Compute Service (ECS) instance in the `China (Hangzhou)` region is added to the `3607****` application group. The instance ID is `i-2ze26xj5wwy12****` and the instance name is `test-instance-ecs`.
|
|
14528
14904
|
*
|
|
14529
14905
|
* @param request CreateMonitorGroupInstancesRequest
|
|
14530
14906
|
* @return CreateMonitorGroupInstancesResponse
|
|
14531
14907
|
*/
|
|
14532
14908
|
createMonitorGroupInstances(request: CreateMonitorGroupInstancesRequest): Promise<CreateMonitorGroupInstancesResponse>;
|
|
14533
14909
|
/**
|
|
14534
|
-
*
|
|
14910
|
+
* If the policy is valid, no alert notifications are sent for the application group.
|
|
14911
|
+
* This topic describes how to create the `PauseNotify` policy to pause alert notifications for the `7301****` application group. The StartTime parameter is set to `1622949300000` and the EndTime parameter is set to `1623208500000`. This indicates that the policy is valid from `2021-06-06 11:15:00 UTC+8` to `2021-06-09 11:15:00 UTC+8`.
|
|
14535
14912
|
*
|
|
14536
14913
|
* @param request CreateMonitorGroupNotifyPolicyRequest
|
|
14537
14914
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14539,7 +14916,8 @@ export default class Client extends OpenApi {
|
|
|
14539
14916
|
*/
|
|
14540
14917
|
createMonitorGroupNotifyPolicyWithOptions(request: CreateMonitorGroupNotifyPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorGroupNotifyPolicyResponse>;
|
|
14541
14918
|
/**
|
|
14542
|
-
*
|
|
14919
|
+
* If the policy is valid, no alert notifications are sent for the application group.
|
|
14920
|
+
* This topic describes how to create the `PauseNotify` policy to pause alert notifications for the `7301****` application group. The StartTime parameter is set to `1622949300000` and the EndTime parameter is set to `1623208500000`. This indicates that the policy is valid from `2021-06-06 11:15:00 UTC+8` to `2021-06-09 11:15:00 UTC+8`.
|
|
14543
14921
|
*
|
|
14544
14922
|
* @param request CreateMonitorGroupNotifyPolicyRequest
|
|
14545
14923
|
* @return CreateMonitorGroupNotifyPolicyResponse
|
|
@@ -14548,9 +14926,7 @@ export default class Client extends OpenApi {
|
|
|
14548
14926
|
createMonitoringAgentProcessWithOptions(request: CreateMonitoringAgentProcessRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitoringAgentProcessResponse>;
|
|
14549
14927
|
createMonitoringAgentProcess(request: CreateMonitoringAgentProcessRequest): Promise<CreateMonitoringAgentProcessResponse>;
|
|
14550
14928
|
/**
|
|
14551
|
-
*
|
|
14552
|
-
* * true: The call was successful.
|
|
14553
|
-
* * false: The call failed.
|
|
14929
|
+
* 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`.
|
|
14554
14930
|
*
|
|
14555
14931
|
* @param request CreateSiteMonitorRequest
|
|
14556
14932
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14558,15 +14934,36 @@ export default class Client extends OpenApi {
|
|
|
14558
14934
|
*/
|
|
14559
14935
|
createSiteMonitorWithOptions(request: CreateSiteMonitorRequest, runtime: $Util.RuntimeOptions): Promise<CreateSiteMonitorResponse>;
|
|
14560
14936
|
/**
|
|
14561
|
-
*
|
|
14562
|
-
* * true: The call was successful.
|
|
14563
|
-
* * false: The call failed.
|
|
14937
|
+
* 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`.
|
|
14564
14938
|
*
|
|
14565
14939
|
* @param request CreateSiteMonitorRequest
|
|
14566
14940
|
* @return CreateSiteMonitorResponse
|
|
14567
14941
|
*/
|
|
14568
14942
|
createSiteMonitor(request: CreateSiteMonitorRequest): Promise<CreateSiteMonitorResponse>;
|
|
14943
|
+
/**
|
|
14944
|
+
* ### [](#)Prerequisites
|
|
14945
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14946
|
+
* ### [](#)Background information
|
|
14947
|
+
* You can call this operation to obtain the Cursor information and then call the [BatchExport](~~2329847~~) operation to export the monitoring data.
|
|
14948
|
+
* ### [](#)Description
|
|
14949
|
+
* 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.
|
|
14950
|
+
*
|
|
14951
|
+
* @param tmpReq CursorRequest
|
|
14952
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14953
|
+
* @return CursorResponse
|
|
14954
|
+
*/
|
|
14569
14955
|
cursorWithOptions(tmpReq: CursorRequest, runtime: $Util.RuntimeOptions): Promise<CursorResponse>;
|
|
14956
|
+
/**
|
|
14957
|
+
* ### [](#)Prerequisites
|
|
14958
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14959
|
+
* ### [](#)Background information
|
|
14960
|
+
* You can call this operation to obtain the Cursor information and then call the [BatchExport](~~2329847~~) operation to export the monitoring data.
|
|
14961
|
+
* ### [](#)Description
|
|
14962
|
+
* 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.
|
|
14963
|
+
*
|
|
14964
|
+
* @param request CursorRequest
|
|
14965
|
+
* @return CursorResponse
|
|
14966
|
+
*/
|
|
14570
14967
|
cursor(request: CursorRequest): Promise<CursorResponse>;
|
|
14571
14968
|
deleteContactWithOptions(request: DeleteContactRequest, runtime: $Util.RuntimeOptions): Promise<DeleteContactResponse>;
|
|
14572
14969
|
deleteContact(request: DeleteContactRequest): Promise<DeleteContactResponse>;
|
|
@@ -14589,9 +14986,8 @@ export default class Client extends OpenApi {
|
|
|
14589
14986
|
deleteHostAvailabilityWithOptions(request: DeleteHostAvailabilityRequest, runtime: $Util.RuntimeOptions): Promise<DeleteHostAvailabilityResponse>;
|
|
14590
14987
|
deleteHostAvailability(request: DeleteHostAvailabilityRequest): Promise<DeleteHostAvailabilityResponse>;
|
|
14591
14988
|
/**
|
|
14592
|
-
*
|
|
14593
|
-
*
|
|
14594
|
-
* * false: The call failed.
|
|
14989
|
+
* > If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first.
|
|
14990
|
+
* This topic provides an example on how to delete a namespace named `aliyun`. The response shows that the namespace is deleted.
|
|
14595
14991
|
*
|
|
14596
14992
|
* @param request DeleteHybridMonitorNamespaceRequest
|
|
14597
14993
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14599,18 +14995,15 @@ export default class Client extends OpenApi {
|
|
|
14599
14995
|
*/
|
|
14600
14996
|
deleteHybridMonitorNamespaceWithOptions(request: DeleteHybridMonitorNamespaceRequest, runtime: $Util.RuntimeOptions): Promise<DeleteHybridMonitorNamespaceResponse>;
|
|
14601
14997
|
/**
|
|
14602
|
-
*
|
|
14603
|
-
*
|
|
14604
|
-
* * false: The call failed.
|
|
14998
|
+
* > If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first.
|
|
14999
|
+
* This topic provides an example on how to delete a namespace named `aliyun`. The response shows that the namespace is deleted.
|
|
14605
15000
|
*
|
|
14606
15001
|
* @param request DeleteHybridMonitorNamespaceRequest
|
|
14607
15002
|
* @return DeleteHybridMonitorNamespaceResponse
|
|
14608
15003
|
*/
|
|
14609
15004
|
deleteHybridMonitorNamespace(request: DeleteHybridMonitorNamespaceRequest): Promise<DeleteHybridMonitorNamespaceResponse>;
|
|
14610
15005
|
/**
|
|
14611
|
-
*
|
|
14612
|
-
* * true: The call is successful.
|
|
14613
|
-
* * false: The call fails.
|
|
15006
|
+
* This topic provides an example on how to delete a Logstore group named `Logstore_test`. The response shows that the Logstore group is deleted.
|
|
14614
15007
|
*
|
|
14615
15008
|
* @param request DeleteHybridMonitorSLSGroupRequest
|
|
14616
15009
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14618,18 +15011,14 @@ export default class Client extends OpenApi {
|
|
|
14618
15011
|
*/
|
|
14619
15012
|
deleteHybridMonitorSLSGroupWithOptions(request: DeleteHybridMonitorSLSGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteHybridMonitorSLSGroupResponse>;
|
|
14620
15013
|
/**
|
|
14621
|
-
*
|
|
14622
|
-
* * true: The call is successful.
|
|
14623
|
-
* * false: The call fails.
|
|
15014
|
+
* This topic provides an example on how to delete a Logstore group named `Logstore_test`. The response shows that the Logstore group is deleted.
|
|
14624
15015
|
*
|
|
14625
15016
|
* @param request DeleteHybridMonitorSLSGroupRequest
|
|
14626
15017
|
* @return DeleteHybridMonitorSLSGroupResponse
|
|
14627
15018
|
*/
|
|
14628
15019
|
deleteHybridMonitorSLSGroup(request: DeleteHybridMonitorSLSGroupRequest): Promise<DeleteHybridMonitorSLSGroupResponse>;
|
|
14629
15020
|
/**
|
|
14630
|
-
*
|
|
14631
|
-
* * true: The call was successful.
|
|
14632
|
-
* * false: The call failed.
|
|
15021
|
+
* 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.
|
|
14633
15022
|
*
|
|
14634
15023
|
* @param request DeleteHybridMonitorTaskRequest
|
|
14635
15024
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14637,9 +15026,7 @@ export default class Client extends OpenApi {
|
|
|
14637
15026
|
*/
|
|
14638
15027
|
deleteHybridMonitorTaskWithOptions(request: DeleteHybridMonitorTaskRequest, runtime: $Util.RuntimeOptions): Promise<DeleteHybridMonitorTaskResponse>;
|
|
14639
15028
|
/**
|
|
14640
|
-
*
|
|
14641
|
-
* * true: The call was successful.
|
|
14642
|
-
* * false: The call failed.
|
|
15029
|
+
* 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.
|
|
14643
15030
|
*
|
|
14644
15031
|
* @param request DeleteHybridMonitorTaskRequest
|
|
14645
15032
|
* @return DeleteHybridMonitorTaskResponse
|
|
@@ -14704,7 +15091,7 @@ export default class Client extends OpenApi {
|
|
|
14704
15091
|
*/
|
|
14705
15092
|
describeAlertLogCount(request: DescribeAlertLogCountRequest): Promise<DescribeAlertLogCountResponse>;
|
|
14706
15093
|
/**
|
|
14707
|
-
*
|
|
15094
|
+
* This topic provides an example on how to query the number of alert logs for Elastic Compute Service (ECS) based on the `product` dimension.
|
|
14708
15095
|
*
|
|
14709
15096
|
* @param request DescribeAlertLogHistogramRequest
|
|
14710
15097
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14712,16 +15099,14 @@ export default class Client extends OpenApi {
|
|
|
14712
15099
|
*/
|
|
14713
15100
|
describeAlertLogHistogramWithOptions(request: DescribeAlertLogHistogramRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAlertLogHistogramResponse>;
|
|
14714
15101
|
/**
|
|
14715
|
-
*
|
|
15102
|
+
* This topic provides an example on how to query the number of alert logs for Elastic Compute Service (ECS) based on the `product` dimension.
|
|
14716
15103
|
*
|
|
14717
15104
|
* @param request DescribeAlertLogHistogramRequest
|
|
14718
15105
|
* @return DescribeAlertLogHistogramResponse
|
|
14719
15106
|
*/
|
|
14720
15107
|
describeAlertLogHistogram(request: DescribeAlertLogHistogramRequest): Promise<DescribeAlertLogHistogramResponse>;
|
|
14721
15108
|
/**
|
|
14722
|
-
*
|
|
14723
|
-
* * true: The call was successful.
|
|
14724
|
-
* * false: The call failed.
|
|
15109
|
+
* This topic provides an example to show how to query the alert logs of Elastic Compute Service (ECS) based on the `product` dimension.
|
|
14725
15110
|
*
|
|
14726
15111
|
* @param request DescribeAlertLogListRequest
|
|
14727
15112
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14729,9 +15114,7 @@ export default class Client extends OpenApi {
|
|
|
14729
15114
|
*/
|
|
14730
15115
|
describeAlertLogListWithOptions(request: DescribeAlertLogListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAlertLogListResponse>;
|
|
14731
15116
|
/**
|
|
14732
|
-
*
|
|
14733
|
-
* * true: The call was successful.
|
|
14734
|
-
* * false: The call failed.
|
|
15117
|
+
* This topic provides an example to show how to query the alert logs of Elastic Compute Service (ECS) based on the `product` dimension.
|
|
14735
15118
|
*
|
|
14736
15119
|
* @param request DescribeAlertLogListRequest
|
|
14737
15120
|
* @return DescribeAlertLogListResponse
|
|
@@ -14748,7 +15131,7 @@ export default class Client extends OpenApi {
|
|
|
14748
15131
|
describeCustomEventAttributeWithOptions(request: DescribeCustomEventAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCustomEventAttributeResponse>;
|
|
14749
15132
|
describeCustomEventAttribute(request: DescribeCustomEventAttributeRequest): Promise<DescribeCustomEventAttributeResponse>;
|
|
14750
15133
|
/**
|
|
14751
|
-
*
|
|
15134
|
+
* > This operation counts the number of times that a custom event occurred for each service.
|
|
14752
15135
|
*
|
|
14753
15136
|
* @param request DescribeCustomEventCountRequest
|
|
14754
15137
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14756,7 +15139,7 @@ export default class Client extends OpenApi {
|
|
|
14756
15139
|
*/
|
|
14757
15140
|
describeCustomEventCountWithOptions(request: DescribeCustomEventCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCustomEventCountResponse>;
|
|
14758
15141
|
/**
|
|
14759
|
-
*
|
|
15142
|
+
* > This operation counts the number of times that a custom event occurred for each service.
|
|
14760
15143
|
*
|
|
14761
15144
|
* @param request DescribeCustomEventCountRequest
|
|
14762
15145
|
* @return DescribeCustomEventCountResponse
|
|
@@ -14765,8 +15148,7 @@ export default class Client extends OpenApi {
|
|
|
14765
15148
|
describeCustomEventHistogramWithOptions(request: DescribeCustomEventHistogramRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCustomEventHistogramResponse>;
|
|
14766
15149
|
describeCustomEventHistogram(request: DescribeCustomEventHistogramRequest): Promise<DescribeCustomEventHistogramResponse>;
|
|
14767
15150
|
/**
|
|
14768
|
-
*
|
|
14769
|
-
* For more information, see [DescribeMonitorGroups](~~115032~~).
|
|
15151
|
+
* > You can call the DescribeMetricList operation to query the metrics of a cloud service. For more information, see [DescribeMetricList](~~51936~~).
|
|
14770
15152
|
*
|
|
14771
15153
|
* @param request DescribeCustomMetricListRequest
|
|
14772
15154
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14774,16 +15156,14 @@ export default class Client extends OpenApi {
|
|
|
14774
15156
|
*/
|
|
14775
15157
|
describeCustomMetricListWithOptions(request: DescribeCustomMetricListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCustomMetricListResponse>;
|
|
14776
15158
|
/**
|
|
14777
|
-
*
|
|
14778
|
-
* For more information, see [DescribeMonitorGroups](~~115032~~).
|
|
15159
|
+
* > You can call the DescribeMetricList operation to query the metrics of a cloud service. For more information, see [DescribeMetricList](~~51936~~).
|
|
14779
15160
|
*
|
|
14780
15161
|
* @param request DescribeCustomMetricListRequest
|
|
14781
15162
|
* @return DescribeCustomMetricListResponse
|
|
14782
15163
|
*/
|
|
14783
15164
|
describeCustomMetricList(request: DescribeCustomMetricListRequest): Promise<DescribeCustomMetricListResponse>;
|
|
14784
15165
|
/**
|
|
14785
|
-
* The
|
|
14786
|
-
* > The status code 200 indicates that the call was successful.
|
|
15166
|
+
* This topic provides an example to show how to query tag rules that are related to `tagkey1`. The sample responses indicate that two tag rules are found. The rule IDs are `1536df65-a719-429d-8813-73cc40d7****` and `56e8cebb-b3d7-4a91-9880-78a8c84f****`.
|
|
14787
15167
|
*
|
|
14788
15168
|
* @param request DescribeDynamicTagRuleListRequest
|
|
14789
15169
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14791,16 +15171,14 @@ export default class Client extends OpenApi {
|
|
|
14791
15171
|
*/
|
|
14792
15172
|
describeDynamicTagRuleListWithOptions(request: DescribeDynamicTagRuleListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDynamicTagRuleListResponse>;
|
|
14793
15173
|
/**
|
|
14794
|
-
* The
|
|
14795
|
-
* > The status code 200 indicates that the call was successful.
|
|
15174
|
+
* This topic provides an example to show how to query tag rules that are related to `tagkey1`. The sample responses indicate that two tag rules are found. The rule IDs are `1536df65-a719-429d-8813-73cc40d7****` and `56e8cebb-b3d7-4a91-9880-78a8c84f****`.
|
|
14796
15175
|
*
|
|
14797
15176
|
* @param request DescribeDynamicTagRuleListRequest
|
|
14798
15177
|
* @return DescribeDynamicTagRuleListResponse
|
|
14799
15178
|
*/
|
|
14800
15179
|
describeDynamicTagRuleList(request: DescribeDynamicTagRuleListRequest): Promise<DescribeDynamicTagRuleListResponse>;
|
|
14801
15180
|
/**
|
|
14802
|
-
*
|
|
14803
|
-
* For information about how to obtain the name of an event-triggered alert rule, see [DescribeEventRuleList](~~114996~~).
|
|
15181
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
14804
15182
|
*
|
|
14805
15183
|
* @param request DescribeEventRuleAttributeRequest
|
|
14806
15184
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14808,8 +15186,7 @@ export default class Client extends OpenApi {
|
|
|
14808
15186
|
*/
|
|
14809
15187
|
describeEventRuleAttributeWithOptions(request: DescribeEventRuleAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEventRuleAttributeResponse>;
|
|
14810
15188
|
/**
|
|
14811
|
-
*
|
|
14812
|
-
* For information about how to obtain the name of an event-triggered alert rule, see [DescribeEventRuleList](~~114996~~).
|
|
15189
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
14813
15190
|
*
|
|
14814
15191
|
* @param request DescribeEventRuleAttributeRequest
|
|
14815
15192
|
* @return DescribeEventRuleAttributeResponse
|
|
@@ -14818,7 +15195,7 @@ export default class Client extends OpenApi {
|
|
|
14818
15195
|
describeEventRuleListWithOptions(request: DescribeEventRuleListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEventRuleListResponse>;
|
|
14819
15196
|
describeEventRuleList(request: DescribeEventRuleListRequest): Promise<DescribeEventRuleListResponse>;
|
|
14820
15197
|
/**
|
|
14821
|
-
*
|
|
15198
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
14822
15199
|
*
|
|
14823
15200
|
* @param request DescribeEventRuleTargetListRequest
|
|
14824
15201
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14826,7 +15203,7 @@ export default class Client extends OpenApi {
|
|
|
14826
15203
|
*/
|
|
14827
15204
|
describeEventRuleTargetListWithOptions(request: DescribeEventRuleTargetListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEventRuleTargetListResponse>;
|
|
14828
15205
|
/**
|
|
14829
|
-
*
|
|
15206
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
14830
15207
|
*
|
|
14831
15208
|
* @param request DescribeEventRuleTargetListRequest
|
|
14832
15209
|
* @return DescribeEventRuleTargetListResponse
|
|
@@ -14837,7 +15214,7 @@ export default class Client extends OpenApi {
|
|
|
14837
15214
|
describeExporterRuleListWithOptions(request: DescribeExporterRuleListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeExporterRuleListResponse>;
|
|
14838
15215
|
describeExporterRuleList(request: DescribeExporterRuleListRequest): Promise<DescribeExporterRuleListResponse>;
|
|
14839
15216
|
/**
|
|
14840
|
-
*
|
|
15217
|
+
* You can create a process monitoring task to monitor all or the specified Elastic Compute Service (ECS) instances in an application group and set alert rules for the process monitoring task.
|
|
14841
15218
|
*
|
|
14842
15219
|
* @param request DescribeGroupMonitoringAgentProcessRequest
|
|
14843
15220
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14845,14 +15222,14 @@ export default class Client extends OpenApi {
|
|
|
14845
15222
|
*/
|
|
14846
15223
|
describeGroupMonitoringAgentProcessWithOptions(request: DescribeGroupMonitoringAgentProcessRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupMonitoringAgentProcessResponse>;
|
|
14847
15224
|
/**
|
|
14848
|
-
*
|
|
15225
|
+
* You can create a process monitoring task to monitor all or the specified Elastic Compute Service (ECS) instances in an application group and set alert rules for the process monitoring task.
|
|
14849
15226
|
*
|
|
14850
15227
|
* @param request DescribeGroupMonitoringAgentProcessRequest
|
|
14851
15228
|
* @return DescribeGroupMonitoringAgentProcessResponse
|
|
14852
15229
|
*/
|
|
14853
15230
|
describeGroupMonitoringAgentProcess(request: DescribeGroupMonitoringAgentProcessRequest): Promise<DescribeGroupMonitoringAgentProcessResponse>;
|
|
14854
15231
|
/**
|
|
14855
|
-
*
|
|
15232
|
+
* This topic provides an example to show how to query all the availability monitoring tasks of your Alibaba Cloud account. The sample responses indicate that the account has one availability monitoring task named `ecs_instance`.
|
|
14856
15233
|
*
|
|
14857
15234
|
* @param request DescribeHostAvailabilityListRequest
|
|
14858
15235
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14860,14 +15237,15 @@ export default class Client extends OpenApi {
|
|
|
14860
15237
|
*/
|
|
14861
15238
|
describeHostAvailabilityListWithOptions(request: DescribeHostAvailabilityListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHostAvailabilityListResponse>;
|
|
14862
15239
|
/**
|
|
14863
|
-
*
|
|
15240
|
+
* This topic provides an example to show how to query all the availability monitoring tasks of your Alibaba Cloud account. The sample responses indicate that the account has one availability monitoring task named `ecs_instance`.
|
|
14864
15241
|
*
|
|
14865
15242
|
* @param request DescribeHostAvailabilityListRequest
|
|
14866
15243
|
* @return DescribeHostAvailabilityListResponse
|
|
14867
15244
|
*/
|
|
14868
15245
|
describeHostAvailabilityList(request: DescribeHostAvailabilityListRequest): Promise<DescribeHostAvailabilityListResponse>;
|
|
14869
15246
|
/**
|
|
14870
|
-
*
|
|
15247
|
+
* ## Prerequisites
|
|
15248
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14871
15249
|
*
|
|
14872
15250
|
* @param request DescribeHybridMonitorDataListRequest
|
|
14873
15251
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14875,20 +15253,15 @@ export default class Client extends OpenApi {
|
|
|
14875
15253
|
*/
|
|
14876
15254
|
describeHybridMonitorDataListWithOptions(request: DescribeHybridMonitorDataListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHybridMonitorDataListResponse>;
|
|
14877
15255
|
/**
|
|
14878
|
-
*
|
|
15256
|
+
* ## Prerequisites
|
|
15257
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14879
15258
|
*
|
|
14880
15259
|
* @param request DescribeHybridMonitorDataListRequest
|
|
14881
15260
|
* @return DescribeHybridMonitorDataListResponse
|
|
14882
15261
|
*/
|
|
14883
15262
|
describeHybridMonitorDataList(request: DescribeHybridMonitorDataListRequest): Promise<DescribeHybridMonitorDataListResponse>;
|
|
14884
15263
|
/**
|
|
14885
|
-
*
|
|
14886
|
-
* * cms.s1.large: Data is stored for 15 days.
|
|
14887
|
-
* * cms.s1.xlarge: Data is stored for 32 days.
|
|
14888
|
-
* * cms.s1.2xlarge: Data is stored for 63 days.
|
|
14889
|
-
* * cms.s1.3xlarge: Data is stored for 93 days.
|
|
14890
|
-
* * cms.s1.6xlarge: Data is stored for 185 days.
|
|
14891
|
-
* * cms.s1.12xlarge: Data is stored for 376 days.
|
|
15264
|
+
* In this example, all namespaces within the current account are queried. The response shows that the current account has only one namespace named `aliyun-test`.
|
|
14892
15265
|
*
|
|
14893
15266
|
* @param request DescribeHybridMonitorNamespaceListRequest
|
|
14894
15267
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14896,22 +15269,14 @@ export default class Client extends OpenApi {
|
|
|
14896
15269
|
*/
|
|
14897
15270
|
describeHybridMonitorNamespaceListWithOptions(request: DescribeHybridMonitorNamespaceListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHybridMonitorNamespaceListResponse>;
|
|
14898
15271
|
/**
|
|
14899
|
-
*
|
|
14900
|
-
* * cms.s1.large: Data is stored for 15 days.
|
|
14901
|
-
* * cms.s1.xlarge: Data is stored for 32 days.
|
|
14902
|
-
* * cms.s1.2xlarge: Data is stored for 63 days.
|
|
14903
|
-
* * cms.s1.3xlarge: Data is stored for 93 days.
|
|
14904
|
-
* * cms.s1.6xlarge: Data is stored for 185 days.
|
|
14905
|
-
* * cms.s1.12xlarge: Data is stored for 376 days.
|
|
15272
|
+
* In this example, all namespaces within the current account are queried. The response shows that the current account has only one namespace named `aliyun-test`.
|
|
14906
15273
|
*
|
|
14907
15274
|
* @param request DescribeHybridMonitorNamespaceListRequest
|
|
14908
15275
|
* @return DescribeHybridMonitorNamespaceListResponse
|
|
14909
15276
|
*/
|
|
14910
15277
|
describeHybridMonitorNamespaceList(request: DescribeHybridMonitorNamespaceListRequest): Promise<DescribeHybridMonitorNamespaceListResponse>;
|
|
14911
15278
|
/**
|
|
14912
|
-
*
|
|
14913
|
-
* * true: The call is successful.
|
|
14914
|
-
* * false: The call fails.
|
|
15279
|
+
* 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`.
|
|
14915
15280
|
*
|
|
14916
15281
|
* @param request DescribeHybridMonitorSLSGroupRequest
|
|
14917
15282
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14919,18 +15284,14 @@ export default class Client extends OpenApi {
|
|
|
14919
15284
|
*/
|
|
14920
15285
|
describeHybridMonitorSLSGroupWithOptions(request: DescribeHybridMonitorSLSGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHybridMonitorSLSGroupResponse>;
|
|
14921
15286
|
/**
|
|
14922
|
-
*
|
|
14923
|
-
* * true: The call is successful.
|
|
14924
|
-
* * false: The call fails.
|
|
15287
|
+
* 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`.
|
|
14925
15288
|
*
|
|
14926
15289
|
* @param request DescribeHybridMonitorSLSGroupRequest
|
|
14927
15290
|
* @return DescribeHybridMonitorSLSGroupResponse
|
|
14928
15291
|
*/
|
|
14929
15292
|
describeHybridMonitorSLSGroup(request: DescribeHybridMonitorSLSGroupRequest): Promise<DescribeHybridMonitorSLSGroupResponse>;
|
|
14930
15293
|
/**
|
|
14931
|
-
*
|
|
14932
|
-
* * true: The call was successful.
|
|
14933
|
-
* * false: The call failed.
|
|
15294
|
+
* 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`.
|
|
14934
15295
|
*
|
|
14935
15296
|
* @param request DescribeHybridMonitorTaskListRequest
|
|
14936
15297
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14938,9 +15299,7 @@ export default class Client extends OpenApi {
|
|
|
14938
15299
|
*/
|
|
14939
15300
|
describeHybridMonitorTaskListWithOptions(request: DescribeHybridMonitorTaskListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHybridMonitorTaskListResponse>;
|
|
14940
15301
|
/**
|
|
14941
|
-
*
|
|
14942
|
-
* * true: The call was successful.
|
|
14943
|
-
* * false: The call failed.
|
|
15302
|
+
* 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`.
|
|
14944
15303
|
*
|
|
14945
15304
|
* @param request DescribeHybridMonitorTaskListRequest
|
|
14946
15305
|
* @return DescribeHybridMonitorTaskListResponse
|
|
@@ -14951,12 +15310,9 @@ export default class Client extends OpenApi {
|
|
|
14951
15310
|
describeLogMonitorListWithOptions(request: DescribeLogMonitorListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLogMonitorListResponse>;
|
|
14952
15311
|
describeLogMonitorList(request: DescribeLogMonitorListRequest): Promise<DescribeLogMonitorListResponse>;
|
|
14953
15312
|
/**
|
|
14954
|
-
*
|
|
14955
|
-
*
|
|
14956
|
-
*
|
|
14957
|
-
* >
|
|
14958
|
-
* * If this parameter is not specified, monitoring data is queried based on the period in which metric values are reported.
|
|
14959
|
-
* * For more information about the statistical period of a metric that is specified by the `MetricName` parameter, see [Appendix 1: Metrics](~~163515~~).
|
|
15313
|
+
* ## Limits
|
|
15314
|
+
* 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.
|
|
15315
|
+
* > Different from [DescribeMetricList](~~51936~~), the DescribeMetricData operation provides statistical features. You can set the `Dimension` parameter to {"instanceId": "i-abcdefgh12****"} to aggregate all data of your Alibaba Cloud account. This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`.
|
|
14960
15316
|
*
|
|
14961
15317
|
* @param request DescribeMetricDataRequest
|
|
14962
15318
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14964,21 +15320,24 @@ export default class Client extends OpenApi {
|
|
|
14964
15320
|
*/
|
|
14965
15321
|
describeMetricDataWithOptions(request: DescribeMetricDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricDataResponse>;
|
|
14966
15322
|
/**
|
|
14967
|
-
*
|
|
14968
|
-
*
|
|
14969
|
-
*
|
|
14970
|
-
* >
|
|
14971
|
-
* * If this parameter is not specified, monitoring data is queried based on the period in which metric values are reported.
|
|
14972
|
-
* * For more information about the statistical period of a metric that is specified by the `MetricName` parameter, see [Appendix 1: Metrics](~~163515~~).
|
|
15323
|
+
* ## Limits
|
|
15324
|
+
* 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.
|
|
15325
|
+
* > Different from [DescribeMetricList](~~51936~~), the DescribeMetricData operation provides statistical features. You can set the `Dimension` parameter to {"instanceId": "i-abcdefgh12****"} to aggregate all data of your Alibaba Cloud account. This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`.
|
|
14973
15326
|
*
|
|
14974
15327
|
* @param request DescribeMetricDataRequest
|
|
14975
15328
|
* @return DescribeMetricDataResponse
|
|
14976
15329
|
*/
|
|
14977
15330
|
describeMetricData(request: DescribeMetricDataRequest): Promise<DescribeMetricDataResponse>;
|
|
14978
15331
|
/**
|
|
14979
|
-
*
|
|
14980
|
-
*
|
|
14981
|
-
*
|
|
15332
|
+
* ### [](#)Limits
|
|
15333
|
+
* 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.
|
|
15334
|
+
* ### [](#)Precautions
|
|
15335
|
+
* 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:
|
|
15336
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
15337
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
15338
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
15339
|
+
* ### [](#)Description
|
|
15340
|
+
* 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.
|
|
14982
15341
|
*
|
|
14983
15342
|
* @param request DescribeMetricLastRequest
|
|
14984
15343
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14986,17 +15345,24 @@ export default class Client extends OpenApi {
|
|
|
14986
15345
|
*/
|
|
14987
15346
|
describeMetricLastWithOptions(request: DescribeMetricLastRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricLastResponse>;
|
|
14988
15347
|
/**
|
|
14989
|
-
*
|
|
14990
|
-
*
|
|
14991
|
-
*
|
|
15348
|
+
* ### [](#)Limits
|
|
15349
|
+
* 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.
|
|
15350
|
+
* ### [](#)Precautions
|
|
15351
|
+
* 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:
|
|
15352
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
15353
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
15354
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
15355
|
+
* ### [](#)Description
|
|
15356
|
+
* 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.
|
|
14992
15357
|
*
|
|
14993
15358
|
* @param request DescribeMetricLastRequest
|
|
14994
15359
|
* @return DescribeMetricLastResponse
|
|
14995
15360
|
*/
|
|
14996
15361
|
describeMetricLast(request: DescribeMetricLastRequest): Promise<DescribeMetricLastResponse>;
|
|
14997
15362
|
/**
|
|
14998
|
-
*
|
|
14999
|
-
*
|
|
15363
|
+
* ## Limits
|
|
15364
|
+
* 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.
|
|
15365
|
+
* >This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The returned result indicates that the monitoring data for the instance `i-abcdefgh12****` of the account `120886317861****` is queried at an interval of 60 seconds. The maximum, minimum, and average values of the metric are 100, 93.1, and 99.52.
|
|
15000
15366
|
*
|
|
15001
15367
|
* @param request DescribeMetricListRequest
|
|
15002
15368
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15004,16 +15370,16 @@ export default class Client extends OpenApi {
|
|
|
15004
15370
|
*/
|
|
15005
15371
|
describeMetricListWithOptions(request: DescribeMetricListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricListResponse>;
|
|
15006
15372
|
/**
|
|
15007
|
-
*
|
|
15008
|
-
*
|
|
15373
|
+
* ## Limits
|
|
15374
|
+
* 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.
|
|
15375
|
+
* >This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The returned result indicates that the monitoring data for the instance `i-abcdefgh12****` of the account `120886317861****` is queried at an interval of 60 seconds. The maximum, minimum, and average values of the metric are 100, 93.1, and 99.52.
|
|
15009
15376
|
*
|
|
15010
15377
|
* @param request DescribeMetricListRequest
|
|
15011
15378
|
* @return DescribeMetricListResponse
|
|
15012
15379
|
*/
|
|
15013
15380
|
describeMetricList(request: DescribeMetricListRequest): Promise<DescribeMetricListResponse>;
|
|
15014
15381
|
/**
|
|
15015
|
-
*
|
|
15016
|
-
* For more information, see [Appendix 1: Metrics](~~163515~~).
|
|
15382
|
+
* This operation is usually used with DescribeMetricList and DescribeMetricLast. For more information, see [DescribeMetricList](~~51936~~) and [DescribeMetricLast](~~51939~~).
|
|
15017
15383
|
*
|
|
15018
15384
|
* @param request DescribeMetricMetaListRequest
|
|
15019
15385
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15021,8 +15387,7 @@ export default class Client extends OpenApi {
|
|
|
15021
15387
|
*/
|
|
15022
15388
|
describeMetricMetaListWithOptions(request: DescribeMetricMetaListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricMetaListResponse>;
|
|
15023
15389
|
/**
|
|
15024
|
-
*
|
|
15025
|
-
* For more information, see [Appendix 1: Metrics](~~163515~~).
|
|
15390
|
+
* This operation is usually used with DescribeMetricList and DescribeMetricLast. For more information, see [DescribeMetricList](~~51936~~) and [DescribeMetricLast](~~51939~~).
|
|
15026
15391
|
*
|
|
15027
15392
|
* @param request DescribeMetricMetaListRequest
|
|
15028
15393
|
* @return DescribeMetricMetaListResponse
|
|
@@ -15048,7 +15413,9 @@ export default class Client extends OpenApi {
|
|
|
15048
15413
|
*/
|
|
15049
15414
|
describeMetricRuleList(request: DescribeMetricRuleListRequest): Promise<DescribeMetricRuleListResponse>;
|
|
15050
15415
|
/**
|
|
15051
|
-
*
|
|
15416
|
+
* ## Limit
|
|
15417
|
+
* This operation supports only Message Service (MNS) resources.
|
|
15418
|
+
* >This topic provides an example on how to query the resources that are associated with an alert rule whose ID is `ae06917_75a8c43178ab66****`.
|
|
15052
15419
|
*
|
|
15053
15420
|
* @param request DescribeMetricRuleTargetsRequest
|
|
15054
15421
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15056,14 +15423,16 @@ export default class Client extends OpenApi {
|
|
|
15056
15423
|
*/
|
|
15057
15424
|
describeMetricRuleTargetsWithOptions(request: DescribeMetricRuleTargetsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricRuleTargetsResponse>;
|
|
15058
15425
|
/**
|
|
15059
|
-
*
|
|
15426
|
+
* ## Limit
|
|
15427
|
+
* This operation supports only Message Service (MNS) resources.
|
|
15428
|
+
* >This topic provides an example on how to query the resources that are associated with an alert rule whose ID is `ae06917_75a8c43178ab66****`.
|
|
15060
15429
|
*
|
|
15061
15430
|
* @param request DescribeMetricRuleTargetsRequest
|
|
15062
15431
|
* @return DescribeMetricRuleTargetsResponse
|
|
15063
15432
|
*/
|
|
15064
15433
|
describeMetricRuleTargets(request: DescribeMetricRuleTargetsRequest): Promise<DescribeMetricRuleTargetsResponse>;
|
|
15065
15434
|
/**
|
|
15066
|
-
*
|
|
15435
|
+
* This topic provides an example to show how to query the details of an alert template whose ID is `70****`.
|
|
15067
15436
|
*
|
|
15068
15437
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
15069
15438
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15071,15 +15440,14 @@ export default class Client extends OpenApi {
|
|
|
15071
15440
|
*/
|
|
15072
15441
|
describeMetricRuleTemplateAttributeWithOptions(request: DescribeMetricRuleTemplateAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricRuleTemplateAttributeResponse>;
|
|
15073
15442
|
/**
|
|
15074
|
-
*
|
|
15443
|
+
* This topic provides an example to show how to query the details of an alert template whose ID is `70****`.
|
|
15075
15444
|
*
|
|
15076
15445
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
15077
15446
|
* @return DescribeMetricRuleTemplateAttributeResponse
|
|
15078
15447
|
*/
|
|
15079
15448
|
describeMetricRuleTemplateAttribute(request: DescribeMetricRuleTemplateAttributeRequest): Promise<DescribeMetricRuleTemplateAttributeResponse>;
|
|
15080
15449
|
/**
|
|
15081
|
-
*
|
|
15082
|
-
* > The status code 200 indicates that the call was successful.
|
|
15450
|
+
* 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`.
|
|
15083
15451
|
*
|
|
15084
15452
|
* @param request DescribeMetricRuleTemplateListRequest
|
|
15085
15453
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15087,17 +15455,22 @@ export default class Client extends OpenApi {
|
|
|
15087
15455
|
*/
|
|
15088
15456
|
describeMetricRuleTemplateListWithOptions(request: DescribeMetricRuleTemplateListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricRuleTemplateListResponse>;
|
|
15089
15457
|
/**
|
|
15090
|
-
*
|
|
15091
|
-
* > The status code 200 indicates that the call was successful.
|
|
15458
|
+
* 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`.
|
|
15092
15459
|
*
|
|
15093
15460
|
* @param request DescribeMetricRuleTemplateListRequest
|
|
15094
15461
|
* @return DescribeMetricRuleTemplateListResponse
|
|
15095
15462
|
*/
|
|
15096
15463
|
describeMetricRuleTemplateList(request: DescribeMetricRuleTemplateListRequest): Promise<DescribeMetricRuleTemplateListResponse>;
|
|
15097
15464
|
/**
|
|
15098
|
-
*
|
|
15099
|
-
*
|
|
15100
|
-
*
|
|
15465
|
+
* ### [](#)Limits
|
|
15466
|
+
* 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.
|
|
15467
|
+
* ### [](#)Precautions
|
|
15468
|
+
* 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:
|
|
15469
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
15470
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
15471
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
15472
|
+
* ### [](#)Description
|
|
15473
|
+
* 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.
|
|
15101
15474
|
*
|
|
15102
15475
|
* @param request DescribeMetricTopRequest
|
|
15103
15476
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15105,9 +15478,15 @@ export default class Client extends OpenApi {
|
|
|
15105
15478
|
*/
|
|
15106
15479
|
describeMetricTopWithOptions(request: DescribeMetricTopRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricTopResponse>;
|
|
15107
15480
|
/**
|
|
15108
|
-
*
|
|
15109
|
-
*
|
|
15110
|
-
*
|
|
15481
|
+
* ### [](#)Limits
|
|
15482
|
+
* 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.
|
|
15483
|
+
* ### [](#)Precautions
|
|
15484
|
+
* 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:
|
|
15485
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
15486
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
15487
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
15488
|
+
* ### [](#)Description
|
|
15489
|
+
* 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.
|
|
15111
15490
|
*
|
|
15112
15491
|
* @param request DescribeMetricTopRequest
|
|
15113
15492
|
* @return DescribeMetricTopResponse
|
|
@@ -15147,7 +15526,8 @@ export default class Client extends OpenApi {
|
|
|
15147
15526
|
describeMonitoringAgentHostsWithOptions(request: DescribeMonitoringAgentHostsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMonitoringAgentHostsResponse>;
|
|
15148
15527
|
describeMonitoringAgentHosts(request: DescribeMonitoringAgentHostsRequest): Promise<DescribeMonitoringAgentHostsResponse>;
|
|
15149
15528
|
/**
|
|
15150
|
-
*
|
|
15529
|
+
* > Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see [CreateMonitoringAgentProcess](~~114951~~~).
|
|
15530
|
+
* This topic provides an example of how to query the processes of the `i-hp3hl3cx1pbahzy8****` instance. The response indicates the details of the `NGINX` and `HTTP` processes.
|
|
15151
15531
|
*
|
|
15152
15532
|
* @param request DescribeMonitoringAgentProcessesRequest
|
|
15153
15533
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15155,19 +15535,15 @@ export default class Client extends OpenApi {
|
|
|
15155
15535
|
*/
|
|
15156
15536
|
describeMonitoringAgentProcessesWithOptions(request: DescribeMonitoringAgentProcessesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMonitoringAgentProcessesResponse>;
|
|
15157
15537
|
/**
|
|
15158
|
-
*
|
|
15538
|
+
* > Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see [CreateMonitoringAgentProcess](~~114951~~~).
|
|
15539
|
+
* This topic provides an example of how to query the processes of the `i-hp3hl3cx1pbahzy8****` instance. The response indicates the details of the `NGINX` and `HTTP` processes.
|
|
15159
15540
|
*
|
|
15160
15541
|
* @param request DescribeMonitoringAgentProcessesRequest
|
|
15161
15542
|
* @return DescribeMonitoringAgentProcessesResponse
|
|
15162
15543
|
*/
|
|
15163
15544
|
describeMonitoringAgentProcesses(request: DescribeMonitoringAgentProcessesRequest): Promise<DescribeMonitoringAgentProcessesResponse>;
|
|
15164
15545
|
/**
|
|
15165
|
-
*
|
|
15166
|
-
* * `Command.ErrorCode.Fail.Downlaod.REGIN_ID`: Failed to obtain the region ID.
|
|
15167
|
-
* * `Command.ErrorCode.Fail.Downlaod.SYSAK`: Failed to download the .rpm package of System Analyse Kit (SysAK).
|
|
15168
|
-
* * `Command.ErrorCode.Fail.Downlaod.CMON_FILE`: Failed to download the CMON file.
|
|
15169
|
-
* * `Command.ErrorCode.Fail.Downlaod.BTF`: Failed to start SysAK because the BTF file is not found.
|
|
15170
|
-
* * `Command.ErrorCode.Fail.Start.SYSAK`: Failed to start SysAK due to an unknown error.
|
|
15546
|
+
* 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.
|
|
15171
15547
|
*
|
|
15172
15548
|
* @param request DescribeMonitoringAgentStatusesRequest
|
|
15173
15549
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15175,12 +15551,7 @@ export default class Client extends OpenApi {
|
|
|
15175
15551
|
*/
|
|
15176
15552
|
describeMonitoringAgentStatusesWithOptions(request: DescribeMonitoringAgentStatusesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMonitoringAgentStatusesResponse>;
|
|
15177
15553
|
/**
|
|
15178
|
-
*
|
|
15179
|
-
* * `Command.ErrorCode.Fail.Downlaod.REGIN_ID`: Failed to obtain the region ID.
|
|
15180
|
-
* * `Command.ErrorCode.Fail.Downlaod.SYSAK`: Failed to download the .rpm package of System Analyse Kit (SysAK).
|
|
15181
|
-
* * `Command.ErrorCode.Fail.Downlaod.CMON_FILE`: Failed to download the CMON file.
|
|
15182
|
-
* * `Command.ErrorCode.Fail.Downlaod.BTF`: Failed to start SysAK because the BTF file is not found.
|
|
15183
|
-
* * `Command.ErrorCode.Fail.Start.SYSAK`: Failed to start SysAK due to an unknown error.
|
|
15554
|
+
* 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.
|
|
15184
15555
|
*
|
|
15185
15556
|
* @param request DescribeMonitoringAgentStatusesRequest
|
|
15186
15557
|
* @return DescribeMonitoringAgentStatusesResponse
|
|
@@ -15189,7 +15560,7 @@ export default class Client extends OpenApi {
|
|
|
15189
15560
|
describeMonitoringConfigWithOptions(request: DescribeMonitoringConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMonitoringConfigResponse>;
|
|
15190
15561
|
describeMonitoringConfig(request: DescribeMonitoringConfigRequest): Promise<DescribeMonitoringConfigResponse>;
|
|
15191
15562
|
/**
|
|
15192
|
-
*
|
|
15563
|
+
* > If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once.
|
|
15193
15564
|
*
|
|
15194
15565
|
* @param request DescribeProductResourceTagKeyListRequest
|
|
15195
15566
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15197,7 +15568,7 @@ export default class Client extends OpenApi {
|
|
|
15197
15568
|
*/
|
|
15198
15569
|
describeProductResourceTagKeyListWithOptions(request: DescribeProductResourceTagKeyListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeProductResourceTagKeyListResponse>;
|
|
15199
15570
|
/**
|
|
15200
|
-
*
|
|
15571
|
+
* > If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once.
|
|
15201
15572
|
*
|
|
15202
15573
|
* @param request DescribeProductResourceTagKeyListRequest
|
|
15203
15574
|
* @return DescribeProductResourceTagKeyListResponse
|
|
@@ -15221,7 +15592,7 @@ export default class Client extends OpenApi {
|
|
|
15221
15592
|
*/
|
|
15222
15593
|
describeProjectMeta(request: DescribeProjectMetaRequest): Promise<DescribeProjectMetaResponse>;
|
|
15223
15594
|
/**
|
|
15224
|
-
* The
|
|
15595
|
+
* This topic provides an example on how to query the details of a site monitoring task whose ID is `cc641dff-c19d-45f3-ad0a-818a0c4f****`. The returned result indicates that the task name is `test123`, the URL that is monitored by the task is `https://aliyun.com`, and the name of the carrier is `Alibaba`.
|
|
15225
15596
|
*
|
|
15226
15597
|
* @param request DescribeSiteMonitorAttributeRequest
|
|
15227
15598
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15229,7 +15600,7 @@ export default class Client extends OpenApi {
|
|
|
15229
15600
|
*/
|
|
15230
15601
|
describeSiteMonitorAttributeWithOptions(request: DescribeSiteMonitorAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorAttributeResponse>;
|
|
15231
15602
|
/**
|
|
15232
|
-
* The
|
|
15603
|
+
* This topic provides an example on how to query the details of a site monitoring task whose ID is `cc641dff-c19d-45f3-ad0a-818a0c4f****`. The returned result indicates that the task name is `test123`, the URL that is monitored by the task is `https://aliyun.com`, and the name of the carrier is `Alibaba`.
|
|
15233
15604
|
*
|
|
15234
15605
|
* @param request DescribeSiteMonitorAttributeRequest
|
|
15235
15606
|
* @return DescribeSiteMonitorAttributeResponse
|
|
@@ -15253,7 +15624,7 @@ export default class Client extends OpenApi {
|
|
|
15253
15624
|
*/
|
|
15254
15625
|
describeSiteMonitorISPCityList(request: DescribeSiteMonitorISPCityListRequest): Promise<DescribeSiteMonitorISPCityListResponse>;
|
|
15255
15626
|
/**
|
|
15256
|
-
*
|
|
15627
|
+
* This topic provides an example on how to query all the site monitoring tasks of your Alibaba Cloud account. In this example, the returned result indicates that the Alibaba Cloud account has one site monitoring task named `HanZhou_ECS2`.
|
|
15257
15628
|
*
|
|
15258
15629
|
* @param request DescribeSiteMonitorListRequest
|
|
15259
15630
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15261,7 +15632,7 @@ export default class Client extends OpenApi {
|
|
|
15261
15632
|
*/
|
|
15262
15633
|
describeSiteMonitorListWithOptions(request: DescribeSiteMonitorListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorListResponse>;
|
|
15263
15634
|
/**
|
|
15264
|
-
*
|
|
15635
|
+
* This topic provides an example on how to query all the site monitoring tasks of your Alibaba Cloud account. In this example, the returned result indicates that the Alibaba Cloud account has one site monitoring task named `HanZhou_ECS2`.
|
|
15265
15636
|
*
|
|
15266
15637
|
* @param request DescribeSiteMonitorListRequest
|
|
15267
15638
|
* @return DescribeSiteMonitorListResponse
|
|
@@ -15286,12 +15657,25 @@ export default class Client extends OpenApi {
|
|
|
15286
15657
|
describeSiteMonitorLog(request: DescribeSiteMonitorLogRequest): Promise<DescribeSiteMonitorLogResponse>;
|
|
15287
15658
|
describeSiteMonitorQuotaWithOptions(request: DescribeSiteMonitorQuotaRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorQuotaResponse>;
|
|
15288
15659
|
describeSiteMonitorQuota(request: DescribeSiteMonitorQuotaRequest): Promise<DescribeSiteMonitorQuotaResponse>;
|
|
15660
|
+
/**
|
|
15661
|
+
* This topic provides an example to show how to query the statistics of the `Availability` metric for a site monitoring task whose ID is `ef4cdc8b-9dc7-43e7-810e-f950e56c****`. The result indicates that the availability rate of the site is `100%`.
|
|
15662
|
+
*
|
|
15663
|
+
* @param request DescribeSiteMonitorStatisticsRequest
|
|
15664
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15665
|
+
* @return DescribeSiteMonitorStatisticsResponse
|
|
15666
|
+
*/
|
|
15289
15667
|
describeSiteMonitorStatisticsWithOptions(request: DescribeSiteMonitorStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorStatisticsResponse>;
|
|
15668
|
+
/**
|
|
15669
|
+
* This topic provides an example to show how to query the statistics of the `Availability` metric for a site monitoring task whose ID is `ef4cdc8b-9dc7-43e7-810e-f950e56c****`. The result indicates that the availability rate of the site is `100%`.
|
|
15670
|
+
*
|
|
15671
|
+
* @param request DescribeSiteMonitorStatisticsRequest
|
|
15672
|
+
* @return DescribeSiteMonitorStatisticsResponse
|
|
15673
|
+
*/
|
|
15290
15674
|
describeSiteMonitorStatistics(request: DescribeSiteMonitorStatisticsRequest): Promise<DescribeSiteMonitorStatisticsResponse>;
|
|
15291
15675
|
describeSystemEventAttributeWithOptions(request: DescribeSystemEventAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSystemEventAttributeResponse>;
|
|
15292
15676
|
describeSystemEventAttribute(request: DescribeSystemEventAttributeRequest): Promise<DescribeSystemEventAttributeResponse>;
|
|
15293
15677
|
/**
|
|
15294
|
-
*
|
|
15678
|
+
* This topic provides an example on how to query the number of times that a system event occurred for Elastic Compute Service (`ECS`). The returned result indicates that the number of times that the specified system event occurred is 3.
|
|
15295
15679
|
*
|
|
15296
15680
|
* @param request DescribeSystemEventCountRequest
|
|
15297
15681
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15299,7 +15683,7 @@ export default class Client extends OpenApi {
|
|
|
15299
15683
|
*/
|
|
15300
15684
|
describeSystemEventCountWithOptions(request: DescribeSystemEventCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSystemEventCountResponse>;
|
|
15301
15685
|
/**
|
|
15302
|
-
*
|
|
15686
|
+
* This topic provides an example on how to query the number of times that a system event occurred for Elastic Compute Service (`ECS`). The returned result indicates that the number of times that the specified system event occurred is 3.
|
|
15303
15687
|
*
|
|
15304
15688
|
* @param request DescribeSystemEventCountRequest
|
|
15305
15689
|
* @return DescribeSystemEventCountResponse
|
|
@@ -15312,7 +15696,7 @@ export default class Client extends OpenApi {
|
|
|
15312
15696
|
describeTagKeyListWithOptions(request: DescribeTagKeyListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTagKeyListResponse>;
|
|
15313
15697
|
describeTagKeyList(request: DescribeTagKeyListRequest): Promise<DescribeTagKeyListResponse>;
|
|
15314
15698
|
/**
|
|
15315
|
-
*
|
|
15699
|
+
* This topic provides an example of how to query the tag values corresponding to `tagKey1`. The return results are `tagValue1` and `tagValue2`.
|
|
15316
15700
|
*
|
|
15317
15701
|
* @param request DescribeTagValueListRequest
|
|
15318
15702
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15320,7 +15704,7 @@ export default class Client extends OpenApi {
|
|
|
15320
15704
|
*/
|
|
15321
15705
|
describeTagValueListWithOptions(request: DescribeTagValueListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTagValueListResponse>;
|
|
15322
15706
|
/**
|
|
15323
|
-
*
|
|
15707
|
+
* This topic provides an example of how to query the tag values corresponding to `tagKey1`. The return results are `tagValue1` and `tagValue2`.
|
|
15324
15708
|
*
|
|
15325
15709
|
* @param request DescribeTagValueListRequest
|
|
15326
15710
|
* @return DescribeTagValueListResponse
|
|
@@ -15351,9 +15735,8 @@ export default class Client extends OpenApi {
|
|
|
15351
15735
|
enableSiteMonitorsWithOptions(request: EnableSiteMonitorsRequest, runtime: $Util.RuntimeOptions): Promise<EnableSiteMonitorsResponse>;
|
|
15352
15736
|
enableSiteMonitors(request: EnableSiteMonitorsRequest): Promise<EnableSiteMonitorsResponse>;
|
|
15353
15737
|
/**
|
|
15354
|
-
*
|
|
15355
|
-
*
|
|
15356
|
-
* * false: The call failed.
|
|
15738
|
+
* ## Prerequisites
|
|
15739
|
+
* The Cloud Assistant client is installed on an ECS instance. For more information about how to install the Cloud Assistant client, see [Overview](~~64601~~).
|
|
15357
15740
|
*
|
|
15358
15741
|
* @param request InstallMonitoringAgentRequest
|
|
15359
15742
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15361,9 +15744,8 @@ export default class Client extends OpenApi {
|
|
|
15361
15744
|
*/
|
|
15362
15745
|
installMonitoringAgentWithOptions(request: InstallMonitoringAgentRequest, runtime: $Util.RuntimeOptions): Promise<InstallMonitoringAgentResponse>;
|
|
15363
15746
|
/**
|
|
15364
|
-
*
|
|
15365
|
-
*
|
|
15366
|
-
* * false: The call failed.
|
|
15747
|
+
* ## Prerequisites
|
|
15748
|
+
* The Cloud Assistant client is installed on an ECS instance. For more information about how to install the Cloud Assistant client, see [Overview](~~64601~~).
|
|
15367
15749
|
*
|
|
15368
15750
|
* @param request InstallMonitoringAgentRequest
|
|
15369
15751
|
* @return InstallMonitoringAgentResponse
|
|
@@ -15372,9 +15754,7 @@ export default class Client extends OpenApi {
|
|
|
15372
15754
|
modifyGroupMonitoringAgentProcessWithOptions(request: ModifyGroupMonitoringAgentProcessRequest, runtime: $Util.RuntimeOptions): Promise<ModifyGroupMonitoringAgentProcessResponse>;
|
|
15373
15755
|
modifyGroupMonitoringAgentProcess(request: ModifyGroupMonitoringAgentProcessRequest): Promise<ModifyGroupMonitoringAgentProcessResponse>;
|
|
15374
15756
|
/**
|
|
15375
|
-
*
|
|
15376
|
-
* * true: The call was successful.
|
|
15377
|
-
* * false: The call failed.
|
|
15757
|
+
* 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`.
|
|
15378
15758
|
*
|
|
15379
15759
|
* @param request ModifyHostAvailabilityRequest
|
|
15380
15760
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15382,9 +15762,7 @@ export default class Client extends OpenApi {
|
|
|
15382
15762
|
*/
|
|
15383
15763
|
modifyHostAvailabilityWithOptions(request: ModifyHostAvailabilityRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHostAvailabilityResponse>;
|
|
15384
15764
|
/**
|
|
15385
|
-
*
|
|
15386
|
-
* * true: The call was successful.
|
|
15387
|
-
* * false: The call failed.
|
|
15765
|
+
* 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`.
|
|
15388
15766
|
*
|
|
15389
15767
|
* @param request ModifyHostAvailabilityRequest
|
|
15390
15768
|
* @return ModifyHostAvailabilityResponse
|
|
@@ -15406,9 +15784,7 @@ export default class Client extends OpenApi {
|
|
|
15406
15784
|
*/
|
|
15407
15785
|
modifyHostInfo(request: ModifyHostInfoRequest): Promise<ModifyHostInfoResponse>;
|
|
15408
15786
|
/**
|
|
15409
|
-
*
|
|
15410
|
-
* * true: The call was successful.
|
|
15411
|
-
* * false: The call failed.
|
|
15787
|
+
* This topic provides an example on how to change the data retention period of the `aliyun` namespace to `cms.s1.2xlarge`. The response shows that the namespace is modified.
|
|
15412
15788
|
*
|
|
15413
15789
|
* @param request ModifyHybridMonitorNamespaceRequest
|
|
15414
15790
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15416,17 +15792,14 @@ export default class Client extends OpenApi {
|
|
|
15416
15792
|
*/
|
|
15417
15793
|
modifyHybridMonitorNamespaceWithOptions(request: ModifyHybridMonitorNamespaceRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHybridMonitorNamespaceResponse>;
|
|
15418
15794
|
/**
|
|
15419
|
-
*
|
|
15420
|
-
* * true: The call was successful.
|
|
15421
|
-
* * false: The call failed.
|
|
15795
|
+
* This topic provides an example on how to change the data retention period of the `aliyun` namespace to `cms.s1.2xlarge`. The response shows that the namespace is modified.
|
|
15422
15796
|
*
|
|
15423
15797
|
* @param request ModifyHybridMonitorNamespaceRequest
|
|
15424
15798
|
* @return ModifyHybridMonitorNamespaceResponse
|
|
15425
15799
|
*/
|
|
15426
15800
|
modifyHybridMonitorNamespace(request: ModifyHybridMonitorNamespaceRequest): Promise<ModifyHybridMonitorNamespaceResponse>;
|
|
15427
15801
|
/**
|
|
15428
|
-
* The
|
|
15429
|
-
* Valid values of N: 1 to 25.
|
|
15802
|
+
* In this example, a Logstore group named `Logstore_test` is modified. The Logstore of the `aliyun-project` project in the `cn-hangzhou` region is changed to `Logstore-aliyun-all`. The response shows that the Logstore group is modified.
|
|
15430
15803
|
*
|
|
15431
15804
|
* @param request ModifyHybridMonitorSLSGroupRequest
|
|
15432
15805
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15434,15 +15807,14 @@ export default class Client extends OpenApi {
|
|
|
15434
15807
|
*/
|
|
15435
15808
|
modifyHybridMonitorSLSGroupWithOptions(request: ModifyHybridMonitorSLSGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHybridMonitorSLSGroupResponse>;
|
|
15436
15809
|
/**
|
|
15437
|
-
* The
|
|
15438
|
-
* Valid values of N: 1 to 25.
|
|
15810
|
+
* In this example, a Logstore group named `Logstore_test` is modified. The Logstore of the `aliyun-project` project in the `cn-hangzhou` region is changed to `Logstore-aliyun-all`. The response shows that the Logstore group is modified.
|
|
15439
15811
|
*
|
|
15440
15812
|
* @param request ModifyHybridMonitorSLSGroupRequest
|
|
15441
15813
|
* @return ModifyHybridMonitorSLSGroupResponse
|
|
15442
15814
|
*/
|
|
15443
15815
|
modifyHybridMonitorSLSGroup(request: ModifyHybridMonitorSLSGroupRequest): Promise<ModifyHybridMonitorSLSGroupResponse>;
|
|
15444
15816
|
/**
|
|
15445
|
-
*
|
|
15817
|
+
* 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.
|
|
15446
15818
|
*
|
|
15447
15819
|
* @param request ModifyHybridMonitorTaskRequest
|
|
15448
15820
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15450,7 +15822,7 @@ export default class Client extends OpenApi {
|
|
|
15450
15822
|
*/
|
|
15451
15823
|
modifyHybridMonitorTaskWithOptions(request: ModifyHybridMonitorTaskRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHybridMonitorTaskResponse>;
|
|
15452
15824
|
/**
|
|
15453
|
-
*
|
|
15825
|
+
* 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.
|
|
15454
15826
|
*
|
|
15455
15827
|
* @param request ModifyHybridMonitorTaskRequest
|
|
15456
15828
|
* @return ModifyHybridMonitorTaskResponse
|
|
@@ -15459,9 +15831,7 @@ export default class Client extends OpenApi {
|
|
|
15459
15831
|
modifyMetricRuleBlackListWithOptions(request: ModifyMetricRuleBlackListRequest, runtime: $Util.RuntimeOptions): Promise<ModifyMetricRuleBlackListResponse>;
|
|
15460
15832
|
modifyMetricRuleBlackList(request: ModifyMetricRuleBlackListRequest): Promise<ModifyMetricRuleBlackListResponse>;
|
|
15461
15833
|
/**
|
|
15462
|
-
*
|
|
15463
|
-
* * true: The call was successful.
|
|
15464
|
-
* * false: The call failed.
|
|
15834
|
+
* This topic provides an example on how to modify an alert template whose version is `1` and ID is `123456`. The alert level is changed to `Critical`. The statistical method is changed to `Average`. The alert threshold comparator is changed to `GreaterThanOrEqualToThreshold`. The alert threshold is changed to `90`. The number of alert retries is changed to `3`. The response shows that the alert template is modified.
|
|
15465
15835
|
*
|
|
15466
15836
|
* @param request ModifyMetricRuleTemplateRequest
|
|
15467
15837
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15469,9 +15839,7 @@ export default class Client extends OpenApi {
|
|
|
15469
15839
|
*/
|
|
15470
15840
|
modifyMetricRuleTemplateWithOptions(request: ModifyMetricRuleTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyMetricRuleTemplateResponse>;
|
|
15471
15841
|
/**
|
|
15472
|
-
*
|
|
15473
|
-
* * true: The call was successful.
|
|
15474
|
-
* * false: The call failed.
|
|
15842
|
+
* This topic provides an example on how to modify an alert template whose version is `1` and ID is `123456`. The alert level is changed to `Critical`. The statistical method is changed to `Average`. The alert threshold comparator is changed to `GreaterThanOrEqualToThreshold`. The alert threshold is changed to `90`. The number of alert retries is changed to `3`. The response shows that the alert template is modified.
|
|
15475
15843
|
*
|
|
15476
15844
|
* @param request ModifyMetricRuleTemplateRequest
|
|
15477
15845
|
* @return ModifyMetricRuleTemplateResponse
|
|
@@ -15513,7 +15881,7 @@ export default class Client extends OpenApi {
|
|
|
15513
15881
|
putContactWithOptions(request: PutContactRequest, runtime: $Util.RuntimeOptions): Promise<PutContactResponse>;
|
|
15514
15882
|
putContact(request: PutContactRequest): Promise<PutContactResponse>;
|
|
15515
15883
|
/**
|
|
15516
|
-
*
|
|
15884
|
+
* This topic provides an example on how to create an alert contact group named `ECS_Group`.
|
|
15517
15885
|
*
|
|
15518
15886
|
* @param request PutContactGroupRequest
|
|
15519
15887
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15521,7 +15889,7 @@ export default class Client extends OpenApi {
|
|
|
15521
15889
|
*/
|
|
15522
15890
|
putContactGroupWithOptions(request: PutContactGroupRequest, runtime: $Util.RuntimeOptions): Promise<PutContactGroupResponse>;
|
|
15523
15891
|
/**
|
|
15524
|
-
*
|
|
15892
|
+
* This topic provides an example on how to create an alert contact group named `ECS_Group`.
|
|
15525
15893
|
*
|
|
15526
15894
|
* @param request PutContactGroupRequest
|
|
15527
15895
|
* @return PutContactGroupResponse
|
|
@@ -15530,7 +15898,7 @@ export default class Client extends OpenApi {
|
|
|
15530
15898
|
putCustomEventWithOptions(request: PutCustomEventRequest, runtime: $Util.RuntimeOptions): Promise<PutCustomEventResponse>;
|
|
15531
15899
|
putCustomEvent(request: PutCustomEventRequest): Promise<PutCustomEventResponse>;
|
|
15532
15900
|
/**
|
|
15533
|
-
*
|
|
15901
|
+
* Before you call this operation, call the PutCustomEvent operation to report the monitoring data of the custom event. For more information, see [PutCustomEvent](~~115012~~).
|
|
15534
15902
|
*
|
|
15535
15903
|
* @param request PutCustomEventRuleRequest
|
|
15536
15904
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15538,18 +15906,14 @@ export default class Client extends OpenApi {
|
|
|
15538
15906
|
*/
|
|
15539
15907
|
putCustomEventRuleWithOptions(request: PutCustomEventRuleRequest, runtime: $Util.RuntimeOptions): Promise<PutCustomEventRuleResponse>;
|
|
15540
15908
|
/**
|
|
15541
|
-
*
|
|
15909
|
+
* Before you call this operation, call the PutCustomEvent operation to report the monitoring data of the custom event. For more information, see [PutCustomEvent](~~115012~~).
|
|
15542
15910
|
*
|
|
15543
15911
|
* @param request PutCustomEventRuleRequest
|
|
15544
15912
|
* @return PutCustomEventRuleResponse
|
|
15545
15913
|
*/
|
|
15546
15914
|
putCustomEventRule(request: PutCustomEventRuleRequest): Promise<PutCustomEventRuleResponse>;
|
|
15547
15915
|
/**
|
|
15548
|
-
*
|
|
15549
|
-
* Set the value to a collection of key-value pairs. Format:`{"Key":"Value"}`.
|
|
15550
|
-
* The key or value must be 1 to 64 bytes in length. Excessive characters are truncated.
|
|
15551
|
-
* The key or value can contain letters, digits, periods (.), hyphens (-), underscores (\\_), forward slashes (/), and backslashes (\\\\).
|
|
15552
|
-
* > Dimensions must be formatted as a JSON string in a specified order.
|
|
15916
|
+
* > We recommend that you call the [PutHybridMonitorMetricData](~~383455~~) operation of Hybrid Cloud Monitoring to report monitoring data.
|
|
15553
15917
|
*
|
|
15554
15918
|
* @param request PutCustomMetricRequest
|
|
15555
15919
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15557,18 +15921,14 @@ export default class Client extends OpenApi {
|
|
|
15557
15921
|
*/
|
|
15558
15922
|
putCustomMetricWithOptions(request: PutCustomMetricRequest, runtime: $Util.RuntimeOptions): Promise<PutCustomMetricResponse>;
|
|
15559
15923
|
/**
|
|
15560
|
-
*
|
|
15561
|
-
* Set the value to a collection of key-value pairs. Format:`{"Key":"Value"}`.
|
|
15562
|
-
* The key or value must be 1 to 64 bytes in length. Excessive characters are truncated.
|
|
15563
|
-
* The key or value can contain letters, digits, periods (.), hyphens (-), underscores (\\_), forward slashes (/), and backslashes (\\\\).
|
|
15564
|
-
* > Dimensions must be formatted as a JSON string in a specified order.
|
|
15924
|
+
* > We recommend that you call the [PutHybridMonitorMetricData](~~383455~~) operation of Hybrid Cloud Monitoring to report monitoring data.
|
|
15565
15925
|
*
|
|
15566
15926
|
* @param request PutCustomMetricRequest
|
|
15567
15927
|
* @return PutCustomMetricResponse
|
|
15568
15928
|
*/
|
|
15569
15929
|
putCustomMetric(request: PutCustomMetricRequest): Promise<PutCustomMetricResponse>;
|
|
15570
15930
|
/**
|
|
15571
|
-
*
|
|
15931
|
+
* Before you call this operation, call the PutCustomMetric operation to report custom monitoring data. For more information, see [PutCustomMetric](~~115004~~).
|
|
15572
15932
|
*
|
|
15573
15933
|
* @param request PutCustomMetricRuleRequest
|
|
15574
15934
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15576,14 +15936,15 @@ export default class Client extends OpenApi {
|
|
|
15576
15936
|
*/
|
|
15577
15937
|
putCustomMetricRuleWithOptions(request: PutCustomMetricRuleRequest, runtime: $Util.RuntimeOptions): Promise<PutCustomMetricRuleResponse>;
|
|
15578
15938
|
/**
|
|
15579
|
-
*
|
|
15939
|
+
* Before you call this operation, call the PutCustomMetric operation to report custom monitoring data. For more information, see [PutCustomMetric](~~115004~~).
|
|
15580
15940
|
*
|
|
15581
15941
|
* @param request PutCustomMetricRuleRequest
|
|
15582
15942
|
* @return PutCustomMetricRuleResponse
|
|
15583
15943
|
*/
|
|
15584
15944
|
putCustomMetricRule(request: PutCustomMetricRuleRequest): Promise<PutCustomMetricRuleResponse>;
|
|
15585
15945
|
/**
|
|
15586
|
-
*
|
|
15946
|
+
* If the specified rule name does not exist, an event-triggered alert rule is created. If the specified rule name exists, the specified event-triggered alert rule is modified.
|
|
15947
|
+
* In this example, the `myRuleName` alert rule is created for the `ecs` cloud service.
|
|
15587
15948
|
*
|
|
15588
15949
|
* @param request PutEventRuleRequest
|
|
15589
15950
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15591,7 +15952,8 @@ export default class Client extends OpenApi {
|
|
|
15591
15952
|
*/
|
|
15592
15953
|
putEventRuleWithOptions(request: PutEventRuleRequest, runtime: $Util.RuntimeOptions): Promise<PutEventRuleResponse>;
|
|
15593
15954
|
/**
|
|
15594
|
-
*
|
|
15955
|
+
* If the specified rule name does not exist, an event-triggered alert rule is created. If the specified rule name exists, the specified event-triggered alert rule is modified.
|
|
15956
|
+
* In this example, the `myRuleName` alert rule is created for the `ecs` cloud service.
|
|
15595
15957
|
*
|
|
15596
15958
|
* @param request PutEventRuleRequest
|
|
15597
15959
|
* @return PutEventRuleResponse
|
|
@@ -15617,9 +15979,7 @@ export default class Client extends OpenApi {
|
|
|
15617
15979
|
putExporterRuleWithOptions(request: PutExporterRuleRequest, runtime: $Util.RuntimeOptions): Promise<PutExporterRuleResponse>;
|
|
15618
15980
|
putExporterRule(request: PutExporterRuleRequest): Promise<PutExporterRuleResponse>;
|
|
15619
15981
|
/**
|
|
15620
|
-
*
|
|
15621
|
-
* * true: The call was successful.
|
|
15622
|
-
* * false: The call failed.
|
|
15982
|
+
* 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`.
|
|
15623
15983
|
*
|
|
15624
15984
|
* @param request PutGroupMetricRuleRequest
|
|
15625
15985
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15627,18 +15987,19 @@ export default class Client extends OpenApi {
|
|
|
15627
15987
|
*/
|
|
15628
15988
|
putGroupMetricRuleWithOptions(request: PutGroupMetricRuleRequest, runtime: $Util.RuntimeOptions): Promise<PutGroupMetricRuleResponse>;
|
|
15629
15989
|
/**
|
|
15630
|
-
*
|
|
15631
|
-
* * true: The call was successful.
|
|
15632
|
-
* * false: The call failed.
|
|
15990
|
+
* 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`.
|
|
15633
15991
|
*
|
|
15634
15992
|
* @param request PutGroupMetricRuleRequest
|
|
15635
15993
|
* @return PutGroupMetricRuleResponse
|
|
15636
15994
|
*/
|
|
15637
15995
|
putGroupMetricRule(request: PutGroupMetricRuleRequest): Promise<PutGroupMetricRuleResponse>;
|
|
15638
15996
|
/**
|
|
15639
|
-
*
|
|
15640
|
-
*
|
|
15641
|
-
*
|
|
15997
|
+
* # [](#)Prerequisites
|
|
15998
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
15999
|
+
* # [](#)Limits
|
|
16000
|
+
* The size of the monitoring data that you import at a time must be less than or equal to 1 MB.
|
|
16001
|
+
* # [](#)Description
|
|
16002
|
+
* 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.
|
|
15642
16003
|
*
|
|
15643
16004
|
* @param request PutHybridMonitorMetricDataRequest
|
|
15644
16005
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15646,16 +16007,19 @@ export default class Client extends OpenApi {
|
|
|
15646
16007
|
*/
|
|
15647
16008
|
putHybridMonitorMetricDataWithOptions(request: PutHybridMonitorMetricDataRequest, runtime: $Util.RuntimeOptions): Promise<PutHybridMonitorMetricDataResponse>;
|
|
15648
16009
|
/**
|
|
15649
|
-
*
|
|
15650
|
-
*
|
|
15651
|
-
*
|
|
16010
|
+
* # [](#)Prerequisites
|
|
16011
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
16012
|
+
* # [](#)Limits
|
|
16013
|
+
* The size of the monitoring data that you import at a time must be less than or equal to 1 MB.
|
|
16014
|
+
* # [](#)Description
|
|
16015
|
+
* 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.
|
|
15652
16016
|
*
|
|
15653
16017
|
* @param request PutHybridMonitorMetricDataRequest
|
|
15654
16018
|
* @return PutHybridMonitorMetricDataResponse
|
|
15655
16019
|
*/
|
|
15656
16020
|
putHybridMonitorMetricData(request: PutHybridMonitorMetricDataRequest): Promise<PutHybridMonitorMetricDataResponse>;
|
|
15657
16021
|
/**
|
|
15658
|
-
*
|
|
16022
|
+
* In the example of this topic, the `cpu_total` log monitoring metric is created. The response shows that the log monitoring metric is created and the metric ID is `16****`.
|
|
15659
16023
|
*
|
|
15660
16024
|
* @param request PutLogMonitorRequest
|
|
15661
16025
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15663,16 +16027,15 @@ export default class Client extends OpenApi {
|
|
|
15663
16027
|
*/
|
|
15664
16028
|
putLogMonitorWithOptions(request: PutLogMonitorRequest, runtime: $Util.RuntimeOptions): Promise<PutLogMonitorResponse>;
|
|
15665
16029
|
/**
|
|
15666
|
-
*
|
|
16030
|
+
* In the example of this topic, the `cpu_total` log monitoring metric is created. The response shows that the log monitoring metric is created and the metric ID is `16****`.
|
|
15667
16031
|
*
|
|
15668
16032
|
* @param request PutLogMonitorRequest
|
|
15669
16033
|
* @return PutLogMonitorResponse
|
|
15670
16034
|
*/
|
|
15671
16035
|
putLogMonitor(request: PutLogMonitorRequest): Promise<PutLogMonitorResponse>;
|
|
15672
16036
|
/**
|
|
15673
|
-
*
|
|
15674
|
-
*
|
|
15675
|
-
* * false: The call failed.
|
|
16037
|
+
* ## Limit
|
|
16038
|
+
* This operation supports only Message Service (MNS) resources.
|
|
15676
16039
|
*
|
|
15677
16040
|
* @param request PutMetricRuleTargetsRequest
|
|
15678
16041
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15680,9 +16043,8 @@ export default class Client extends OpenApi {
|
|
|
15680
16043
|
*/
|
|
15681
16044
|
putMetricRuleTargetsWithOptions(request: PutMetricRuleTargetsRequest, runtime: $Util.RuntimeOptions): Promise<PutMetricRuleTargetsResponse>;
|
|
15682
16045
|
/**
|
|
15683
|
-
*
|
|
15684
|
-
*
|
|
15685
|
-
* * false: The call failed.
|
|
16046
|
+
* ## Limit
|
|
16047
|
+
* This operation supports only Message Service (MNS) resources.
|
|
15686
16048
|
*
|
|
15687
16049
|
* @param request PutMetricRuleTargetsRequest
|
|
15688
16050
|
* @return PutMetricRuleTargetsResponse
|
|
@@ -15693,8 +16055,7 @@ export default class Client extends OpenApi {
|
|
|
15693
16055
|
putMonitoringConfigWithOptions(request: PutMonitoringConfigRequest, runtime: $Util.RuntimeOptions): Promise<PutMonitoringConfigResponse>;
|
|
15694
16056
|
putMonitoringConfig(request: PutMonitoringConfigRequest): Promise<PutMonitoringConfigResponse>;
|
|
15695
16057
|
/**
|
|
15696
|
-
* The
|
|
15697
|
-
* > If an alert is not cleared within the mute period, a new alert notification is sent when the mute period ends.
|
|
16058
|
+
* 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`.
|
|
15698
16059
|
*
|
|
15699
16060
|
* @param tmpReq PutResourceMetricRuleRequest
|
|
15700
16061
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15702,17 +16063,14 @@ export default class Client extends OpenApi {
|
|
|
15702
16063
|
*/
|
|
15703
16064
|
putResourceMetricRuleWithOptions(tmpReq: PutResourceMetricRuleRequest, runtime: $Util.RuntimeOptions): Promise<PutResourceMetricRuleResponse>;
|
|
15704
16065
|
/**
|
|
15705
|
-
* The
|
|
15706
|
-
* > If an alert is not cleared within the mute period, a new alert notification is sent when the mute period ends.
|
|
16066
|
+
* 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`.
|
|
15707
16067
|
*
|
|
15708
16068
|
* @param request PutResourceMetricRuleRequest
|
|
15709
16069
|
* @return PutResourceMetricRuleResponse
|
|
15710
16070
|
*/
|
|
15711
16071
|
putResourceMetricRule(request: PutResourceMetricRuleRequest): Promise<PutResourceMetricRuleResponse>;
|
|
15712
16072
|
/**
|
|
15713
|
-
*
|
|
15714
|
-
* * true: The call was successful.
|
|
15715
|
-
* * false: The call failed.
|
|
16073
|
+
* This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of the `i-uf6j91r34rnwawoo****` instance that belongs to Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. In this example, the alert contact group of the alert rule is `ECS_Group`, the name of the alert rule is `test123`, and the ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`, the comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`, the threshold for Critical-level alerts is `90`, and the consecutive number of times for which the metric value is measured before a Critical-level alert is triggered is `3`.
|
|
15716
16074
|
*
|
|
15717
16075
|
* @param request PutResourceMetricRulesRequest
|
|
15718
16076
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15720,9 +16078,7 @@ export default class Client extends OpenApi {
|
|
|
15720
16078
|
*/
|
|
15721
16079
|
putResourceMetricRulesWithOptions(request: PutResourceMetricRulesRequest, runtime: $Util.RuntimeOptions): Promise<PutResourceMetricRulesResponse>;
|
|
15722
16080
|
/**
|
|
15723
|
-
*
|
|
15724
|
-
* * true: The call was successful.
|
|
15725
|
-
* * false: The call failed.
|
|
16081
|
+
* This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of the `i-uf6j91r34rnwawoo****` instance that belongs to Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. In this example, the alert contact group of the alert rule is `ECS_Group`, the name of the alert rule is `test123`, and the ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`, the comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`, the threshold for Critical-level alerts is `90`, and the consecutive number of times for which the metric value is measured before a Critical-level alert is triggered is `3`.
|
|
15726
16082
|
*
|
|
15727
16083
|
* @param request PutResourceMetricRulesRequest
|
|
15728
16084
|
* @return PutResourceMetricRulesResponse
|
|
@@ -15731,8 +16087,7 @@ export default class Client extends OpenApi {
|
|
|
15731
16087
|
removeTagsWithOptions(request: RemoveTagsRequest, runtime: $Util.RuntimeOptions): Promise<RemoveTagsResponse>;
|
|
15732
16088
|
removeTags(request: RemoveTagsRequest): Promise<RemoveTagsResponse>;
|
|
15733
16089
|
/**
|
|
15734
|
-
*
|
|
15735
|
-
* > For information about the system events supported by Cloud Monitor for Alibaba Cloud services, see [System events](~~167388~~).
|
|
16090
|
+
* This operation is used to test whether a system event can be triggered as expected. You can call this operation to simulate a system event and check whether an expected response is returned after an alert is triggered by the system event.
|
|
15736
16091
|
*
|
|
15737
16092
|
* @param request SendDryRunSystemEventRequest
|
|
15738
16093
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15740,15 +16095,14 @@ export default class Client extends OpenApi {
|
|
|
15740
16095
|
*/
|
|
15741
16096
|
sendDryRunSystemEventWithOptions(request: SendDryRunSystemEventRequest, runtime: $Util.RuntimeOptions): Promise<SendDryRunSystemEventResponse>;
|
|
15742
16097
|
/**
|
|
15743
|
-
*
|
|
15744
|
-
* > For information about the system events supported by Cloud Monitor for Alibaba Cloud services, see [System events](~~167388~~).
|
|
16098
|
+
* This operation is used to test whether a system event can be triggered as expected. You can call this operation to simulate a system event and check whether an expected response is returned after an alert is triggered by the system event.
|
|
15745
16099
|
*
|
|
15746
16100
|
* @param request SendDryRunSystemEventRequest
|
|
15747
16101
|
* @return SendDryRunSystemEventResponse
|
|
15748
16102
|
*/
|
|
15749
16103
|
sendDryRunSystemEvent(request: SendDryRunSystemEventRequest): Promise<SendDryRunSystemEventResponse>;
|
|
15750
16104
|
/**
|
|
15751
|
-
*
|
|
16105
|
+
* > This API operation is not applicable to ECS instances. To uninstall the agent from an ECS instance, see [Install and uninstall the Cloud Monitor agent](~~183482~~).
|
|
15752
16106
|
*
|
|
15753
16107
|
* @param request UninstallMonitoringAgentRequest
|
|
15754
16108
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15756,7 +16110,7 @@ export default class Client extends OpenApi {
|
|
|
15756
16110
|
*/
|
|
15757
16111
|
uninstallMonitoringAgentWithOptions(request: UninstallMonitoringAgentRequest, runtime: $Util.RuntimeOptions): Promise<UninstallMonitoringAgentResponse>;
|
|
15758
16112
|
/**
|
|
15759
|
-
*
|
|
16113
|
+
* > This API operation is not applicable to ECS instances. To uninstall the agent from an ECS instance, see [Install and uninstall the Cloud Monitor agent](~~183482~~).
|
|
15760
16114
|
*
|
|
15761
16115
|
* @param request UninstallMonitoringAgentRequest
|
|
15762
16116
|
* @return UninstallMonitoringAgentResponse
|