@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.js
CHANGED
|
@@ -217,6 +217,36 @@ class MetricStat extends $tea.Model {
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
exports.MetricStat = MetricStat;
|
|
220
|
+
class MigrationJob extends $tea.Model {
|
|
221
|
+
constructor(map) {
|
|
222
|
+
super(map);
|
|
223
|
+
}
|
|
224
|
+
static names() {
|
|
225
|
+
return {
|
|
226
|
+
createTime: 'CreateTime',
|
|
227
|
+
detail: 'Detail',
|
|
228
|
+
jobStatus: 'JobStatus',
|
|
229
|
+
plan: 'Plan',
|
|
230
|
+
ruleNames: 'RuleNames',
|
|
231
|
+
source: 'Source',
|
|
232
|
+
updateTime: 'UpdateTime',
|
|
233
|
+
uuid: 'Uuid',
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
static types() {
|
|
237
|
+
return {
|
|
238
|
+
createTime: 'string',
|
|
239
|
+
detail: 'string',
|
|
240
|
+
jobStatus: 'string',
|
|
241
|
+
plan: MigrationJobPlan,
|
|
242
|
+
ruleNames: { 'type': 'array', 'itemType': 'string' },
|
|
243
|
+
source: { 'type': 'array', 'itemType': MigrationJobSource },
|
|
244
|
+
updateTime: 'string',
|
|
245
|
+
uuid: 'string',
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
exports.MigrationJob = MigrationJob;
|
|
220
250
|
class NotificationStrategy extends $tea.Model {
|
|
221
251
|
constructor(map) {
|
|
222
252
|
super(map);
|
|
@@ -4253,6 +4283,7 @@ class DescribeAlertingMetricRuleResourcesRequest extends $tea.Model {
|
|
|
4253
4283
|
}
|
|
4254
4284
|
static names() {
|
|
4255
4285
|
return {
|
|
4286
|
+
alertBeforeTime: 'AlertBeforeTime',
|
|
4256
4287
|
dimensions: 'Dimensions',
|
|
4257
4288
|
groupId: 'GroupId',
|
|
4258
4289
|
namespace: 'Namespace',
|
|
@@ -4264,6 +4295,7 @@ class DescribeAlertingMetricRuleResourcesRequest extends $tea.Model {
|
|
|
4264
4295
|
}
|
|
4265
4296
|
static types() {
|
|
4266
4297
|
return {
|
|
4298
|
+
alertBeforeTime: 'string',
|
|
4267
4299
|
dimensions: 'string',
|
|
4268
4300
|
groupId: 'string',
|
|
4269
4301
|
namespace: 'string',
|
|
@@ -4962,6 +4994,7 @@ class DescribeEventRuleListRequest extends $tea.Model {
|
|
|
4962
4994
|
static names() {
|
|
4963
4995
|
return {
|
|
4964
4996
|
groupId: 'GroupId',
|
|
4997
|
+
isEnable: 'IsEnable',
|
|
4965
4998
|
namePrefix: 'NamePrefix',
|
|
4966
4999
|
pageNumber: 'PageNumber',
|
|
4967
5000
|
pageSize: 'PageSize',
|
|
@@ -4971,6 +5004,7 @@ class DescribeEventRuleListRequest extends $tea.Model {
|
|
|
4971
5004
|
static types() {
|
|
4972
5005
|
return {
|
|
4973
5006
|
groupId: 'string',
|
|
5007
|
+
isEnable: 'boolean',
|
|
4974
5008
|
namePrefix: 'string',
|
|
4975
5009
|
pageNumber: 'string',
|
|
4976
5010
|
pageSize: 'string',
|
|
@@ -11869,6 +11903,406 @@ class EscalationRuleEscalations extends $tea.Model {
|
|
|
11869
11903
|
}
|
|
11870
11904
|
}
|
|
11871
11905
|
exports.EscalationRuleEscalations = EscalationRuleEscalations;
|
|
11906
|
+
class MigrationJobPlanContactsChannels extends $tea.Model {
|
|
11907
|
+
constructor(map) {
|
|
11908
|
+
super(map);
|
|
11909
|
+
}
|
|
11910
|
+
static names() {
|
|
11911
|
+
return {
|
|
11912
|
+
level: 'Level',
|
|
11913
|
+
type: 'Type',
|
|
11914
|
+
value: 'Value',
|
|
11915
|
+
};
|
|
11916
|
+
}
|
|
11917
|
+
static types() {
|
|
11918
|
+
return {
|
|
11919
|
+
level: 'number',
|
|
11920
|
+
type: 'string',
|
|
11921
|
+
value: 'string',
|
|
11922
|
+
};
|
|
11923
|
+
}
|
|
11924
|
+
}
|
|
11925
|
+
exports.MigrationJobPlanContactsChannels = MigrationJobPlanContactsChannels;
|
|
11926
|
+
class MigrationJobPlanContacts extends $tea.Model {
|
|
11927
|
+
constructor(map) {
|
|
11928
|
+
super(map);
|
|
11929
|
+
}
|
|
11930
|
+
static names() {
|
|
11931
|
+
return {
|
|
11932
|
+
channels: 'Channels',
|
|
11933
|
+
name: 'Name',
|
|
11934
|
+
};
|
|
11935
|
+
}
|
|
11936
|
+
static types() {
|
|
11937
|
+
return {
|
|
11938
|
+
channels: { 'type': 'array', 'itemType': MigrationJobPlanContactsChannels },
|
|
11939
|
+
name: 'string',
|
|
11940
|
+
};
|
|
11941
|
+
}
|
|
11942
|
+
}
|
|
11943
|
+
exports.MigrationJobPlanContacts = MigrationJobPlanContacts;
|
|
11944
|
+
class MigrationJobPlanEscalationsEscalationsLevelGroups extends $tea.Model {
|
|
11945
|
+
constructor(map) {
|
|
11946
|
+
super(map);
|
|
11947
|
+
}
|
|
11948
|
+
static names() {
|
|
11949
|
+
return {
|
|
11950
|
+
critical: 'Critical',
|
|
11951
|
+
info: 'Info',
|
|
11952
|
+
resolved: 'Resolved',
|
|
11953
|
+
warning: 'Warning',
|
|
11954
|
+
};
|
|
11955
|
+
}
|
|
11956
|
+
static types() {
|
|
11957
|
+
return {
|
|
11958
|
+
critical: { 'type': 'array', 'itemType': 'string' },
|
|
11959
|
+
info: { 'type': 'array', 'itemType': 'string' },
|
|
11960
|
+
resolved: { 'type': 'array', 'itemType': 'string' },
|
|
11961
|
+
warning: { 'type': 'array', 'itemType': 'string' },
|
|
11962
|
+
};
|
|
11963
|
+
}
|
|
11964
|
+
}
|
|
11965
|
+
exports.MigrationJobPlanEscalationsEscalationsLevelGroups = MigrationJobPlanEscalationsEscalationsLevelGroups;
|
|
11966
|
+
class MigrationJobPlanEscalationsEscalations extends $tea.Model {
|
|
11967
|
+
constructor(map) {
|
|
11968
|
+
super(map);
|
|
11969
|
+
}
|
|
11970
|
+
static names() {
|
|
11971
|
+
return {
|
|
11972
|
+
groups: 'Groups',
|
|
11973
|
+
levelGroups: 'LevelGroups',
|
|
11974
|
+
};
|
|
11975
|
+
}
|
|
11976
|
+
static types() {
|
|
11977
|
+
return {
|
|
11978
|
+
groups: { 'type': 'array', 'itemType': 'string' },
|
|
11979
|
+
levelGroups: MigrationJobPlanEscalationsEscalationsLevelGroups,
|
|
11980
|
+
};
|
|
11981
|
+
}
|
|
11982
|
+
}
|
|
11983
|
+
exports.MigrationJobPlanEscalationsEscalations = MigrationJobPlanEscalationsEscalations;
|
|
11984
|
+
class MigrationJobPlanEscalations extends $tea.Model {
|
|
11985
|
+
constructor(map) {
|
|
11986
|
+
super(map);
|
|
11987
|
+
}
|
|
11988
|
+
static names() {
|
|
11989
|
+
return {
|
|
11990
|
+
escalations: 'Escalations',
|
|
11991
|
+
name: 'Name',
|
|
11992
|
+
uuid: 'Uuid',
|
|
11993
|
+
};
|
|
11994
|
+
}
|
|
11995
|
+
static types() {
|
|
11996
|
+
return {
|
|
11997
|
+
escalations: { 'type': 'array', 'itemType': MigrationJobPlanEscalationsEscalations },
|
|
11998
|
+
name: 'string',
|
|
11999
|
+
uuid: 'string',
|
|
12000
|
+
};
|
|
12001
|
+
}
|
|
12002
|
+
}
|
|
12003
|
+
exports.MigrationJobPlanEscalations = MigrationJobPlanEscalations;
|
|
12004
|
+
class MigrationJobPlanGroups extends $tea.Model {
|
|
12005
|
+
constructor(map) {
|
|
12006
|
+
super(map);
|
|
12007
|
+
}
|
|
12008
|
+
static names() {
|
|
12009
|
+
return {
|
|
12010
|
+
contacts: 'Contacts',
|
|
12011
|
+
name: 'Name',
|
|
12012
|
+
};
|
|
12013
|
+
}
|
|
12014
|
+
static types() {
|
|
12015
|
+
return {
|
|
12016
|
+
contacts: { 'type': 'array', 'itemType': 'string' },
|
|
12017
|
+
name: 'string',
|
|
12018
|
+
};
|
|
12019
|
+
}
|
|
12020
|
+
}
|
|
12021
|
+
exports.MigrationJobPlanGroups = MigrationJobPlanGroups;
|
|
12022
|
+
class MigrationJobPlanStrategiesEscalationSetting extends $tea.Model {
|
|
12023
|
+
constructor(map) {
|
|
12024
|
+
super(map);
|
|
12025
|
+
}
|
|
12026
|
+
static names() {
|
|
12027
|
+
return {
|
|
12028
|
+
escalationUuid: 'escalationUuid',
|
|
12029
|
+
};
|
|
12030
|
+
}
|
|
12031
|
+
static types() {
|
|
12032
|
+
return {
|
|
12033
|
+
escalationUuid: 'string',
|
|
12034
|
+
};
|
|
12035
|
+
}
|
|
12036
|
+
}
|
|
12037
|
+
exports.MigrationJobPlanStrategiesEscalationSetting = MigrationJobPlanStrategiesEscalationSetting;
|
|
12038
|
+
class MigrationJobPlanStrategiesPushingSetting extends $tea.Model {
|
|
12039
|
+
constructor(map) {
|
|
12040
|
+
super(map);
|
|
12041
|
+
}
|
|
12042
|
+
static names() {
|
|
12043
|
+
return {
|
|
12044
|
+
targetUuids: 'TargetUuids',
|
|
12045
|
+
};
|
|
12046
|
+
}
|
|
12047
|
+
static types() {
|
|
12048
|
+
return {
|
|
12049
|
+
targetUuids: { 'type': 'array', 'itemType': 'string' },
|
|
12050
|
+
};
|
|
12051
|
+
}
|
|
12052
|
+
}
|
|
12053
|
+
exports.MigrationJobPlanStrategiesPushingSetting = MigrationJobPlanStrategiesPushingSetting;
|
|
12054
|
+
class MigrationJobPlanStrategies extends $tea.Model {
|
|
12055
|
+
constructor(map) {
|
|
12056
|
+
super(map);
|
|
12057
|
+
}
|
|
12058
|
+
static names() {
|
|
12059
|
+
return {
|
|
12060
|
+
escalationSetting: 'EscalationSetting',
|
|
12061
|
+
name: 'Name',
|
|
12062
|
+
pushingSetting: 'PushingSetting',
|
|
12063
|
+
};
|
|
12064
|
+
}
|
|
12065
|
+
static types() {
|
|
12066
|
+
return {
|
|
12067
|
+
escalationSetting: MigrationJobPlanStrategiesEscalationSetting,
|
|
12068
|
+
name: 'string',
|
|
12069
|
+
pushingSetting: MigrationJobPlanStrategiesPushingSetting,
|
|
12070
|
+
};
|
|
12071
|
+
}
|
|
12072
|
+
}
|
|
12073
|
+
exports.MigrationJobPlanStrategies = MigrationJobPlanStrategies;
|
|
12074
|
+
class MigrationJobPlanSubscriptionsConditions extends $tea.Model {
|
|
12075
|
+
constructor(map) {
|
|
12076
|
+
super(map);
|
|
12077
|
+
}
|
|
12078
|
+
static names() {
|
|
12079
|
+
return {
|
|
12080
|
+
field: 'Field',
|
|
12081
|
+
op: 'Op',
|
|
12082
|
+
value: 'Value',
|
|
12083
|
+
};
|
|
12084
|
+
}
|
|
12085
|
+
static types() {
|
|
12086
|
+
return {
|
|
12087
|
+
field: 'string',
|
|
12088
|
+
op: 'string',
|
|
12089
|
+
value: 'string',
|
|
12090
|
+
};
|
|
12091
|
+
}
|
|
12092
|
+
}
|
|
12093
|
+
exports.MigrationJobPlanSubscriptionsConditions = MigrationJobPlanSubscriptionsConditions;
|
|
12094
|
+
class MigrationJobPlanSubscriptions extends $tea.Model {
|
|
12095
|
+
constructor(map) {
|
|
12096
|
+
super(map);
|
|
12097
|
+
}
|
|
12098
|
+
static names() {
|
|
12099
|
+
return {
|
|
12100
|
+
conditions: 'Conditions',
|
|
12101
|
+
name: 'Name',
|
|
12102
|
+
strategyUuid: 'StrategyUuid',
|
|
12103
|
+
};
|
|
12104
|
+
}
|
|
12105
|
+
static types() {
|
|
12106
|
+
return {
|
|
12107
|
+
conditions: { 'type': 'array', 'itemType': MigrationJobPlanSubscriptionsConditions },
|
|
12108
|
+
name: 'string',
|
|
12109
|
+
strategyUuid: 'string',
|
|
12110
|
+
};
|
|
12111
|
+
}
|
|
12112
|
+
}
|
|
12113
|
+
exports.MigrationJobPlanSubscriptions = MigrationJobPlanSubscriptions;
|
|
12114
|
+
class MigrationJobPlanTargetsHttpRequestTarget extends $tea.Model {
|
|
12115
|
+
constructor(map) {
|
|
12116
|
+
super(map);
|
|
12117
|
+
}
|
|
12118
|
+
static names() {
|
|
12119
|
+
return {
|
|
12120
|
+
contentType: 'ContentType',
|
|
12121
|
+
method: 'Method',
|
|
12122
|
+
url: 'Url',
|
|
12123
|
+
};
|
|
12124
|
+
}
|
|
12125
|
+
static types() {
|
|
12126
|
+
return {
|
|
12127
|
+
contentType: 'string',
|
|
12128
|
+
method: 'string',
|
|
12129
|
+
url: 'string',
|
|
12130
|
+
};
|
|
12131
|
+
}
|
|
12132
|
+
}
|
|
12133
|
+
exports.MigrationJobPlanTargetsHttpRequestTarget = MigrationJobPlanTargetsHttpRequestTarget;
|
|
12134
|
+
class MigrationJobPlanTargets extends $tea.Model {
|
|
12135
|
+
constructor(map) {
|
|
12136
|
+
super(map);
|
|
12137
|
+
}
|
|
12138
|
+
static names() {
|
|
12139
|
+
return {
|
|
12140
|
+
arn: 'Arn',
|
|
12141
|
+
httpRequestTarget: 'HttpRequestTarget',
|
|
12142
|
+
name: 'Name',
|
|
12143
|
+
type: 'Type',
|
|
12144
|
+
uuid: 'Uuid',
|
|
12145
|
+
};
|
|
12146
|
+
}
|
|
12147
|
+
static types() {
|
|
12148
|
+
return {
|
|
12149
|
+
arn: 'string',
|
|
12150
|
+
httpRequestTarget: MigrationJobPlanTargetsHttpRequestTarget,
|
|
12151
|
+
name: 'string',
|
|
12152
|
+
type: 'string',
|
|
12153
|
+
uuid: 'string',
|
|
12154
|
+
};
|
|
12155
|
+
}
|
|
12156
|
+
}
|
|
12157
|
+
exports.MigrationJobPlanTargets = MigrationJobPlanTargets;
|
|
12158
|
+
class MigrationJobPlan extends $tea.Model {
|
|
12159
|
+
constructor(map) {
|
|
12160
|
+
super(map);
|
|
12161
|
+
}
|
|
12162
|
+
static names() {
|
|
12163
|
+
return {
|
|
12164
|
+
contacts: 'Contacts',
|
|
12165
|
+
escalations: 'Escalations',
|
|
12166
|
+
groups: 'Groups',
|
|
12167
|
+
ruleNames: 'RuleNames',
|
|
12168
|
+
strategies: 'Strategies',
|
|
12169
|
+
subscriptions: 'Subscriptions',
|
|
12170
|
+
targets: 'Targets',
|
|
12171
|
+
};
|
|
12172
|
+
}
|
|
12173
|
+
static types() {
|
|
12174
|
+
return {
|
|
12175
|
+
contacts: { 'type': 'array', 'itemType': MigrationJobPlanContacts },
|
|
12176
|
+
escalations: { 'type': 'array', 'itemType': MigrationJobPlanEscalations },
|
|
12177
|
+
groups: { 'type': 'array', 'itemType': MigrationJobPlanGroups },
|
|
12178
|
+
ruleNames: { 'type': 'array', 'itemType': 'string' },
|
|
12179
|
+
strategies: { 'type': 'array', 'itemType': MigrationJobPlanStrategies },
|
|
12180
|
+
subscriptions: { 'type': 'array', 'itemType': MigrationJobPlanSubscriptions },
|
|
12181
|
+
targets: { 'type': 'array', 'itemType': MigrationJobPlanTargets },
|
|
12182
|
+
};
|
|
12183
|
+
}
|
|
12184
|
+
}
|
|
12185
|
+
exports.MigrationJobPlan = MigrationJobPlan;
|
|
12186
|
+
class MigrationJobSourceRuleKeywordFilter extends $tea.Model {
|
|
12187
|
+
constructor(map) {
|
|
12188
|
+
super(map);
|
|
12189
|
+
}
|
|
12190
|
+
static names() {
|
|
12191
|
+
return {
|
|
12192
|
+
keywords: 'Keywords',
|
|
12193
|
+
relation: 'Relation',
|
|
12194
|
+
};
|
|
12195
|
+
}
|
|
12196
|
+
static types() {
|
|
12197
|
+
return {
|
|
12198
|
+
keywords: { 'type': 'array', 'itemType': 'string' },
|
|
12199
|
+
relation: 'string',
|
|
12200
|
+
};
|
|
12201
|
+
}
|
|
12202
|
+
}
|
|
12203
|
+
exports.MigrationJobSourceRuleKeywordFilter = MigrationJobSourceRuleKeywordFilter;
|
|
12204
|
+
class MigrationJobSourceRulePrimaryFilters extends $tea.Model {
|
|
12205
|
+
constructor(map) {
|
|
12206
|
+
super(map);
|
|
12207
|
+
}
|
|
12208
|
+
static names() {
|
|
12209
|
+
return {
|
|
12210
|
+
field: 'Field',
|
|
12211
|
+
opType: 'OpType',
|
|
12212
|
+
value: 'Value',
|
|
12213
|
+
};
|
|
12214
|
+
}
|
|
12215
|
+
static types() {
|
|
12216
|
+
return {
|
|
12217
|
+
field: 'string',
|
|
12218
|
+
opType: 'string',
|
|
12219
|
+
value: 'string',
|
|
12220
|
+
};
|
|
12221
|
+
}
|
|
12222
|
+
}
|
|
12223
|
+
exports.MigrationJobSourceRulePrimaryFilters = MigrationJobSourceRulePrimaryFilters;
|
|
12224
|
+
class MigrationJobSourceRule extends $tea.Model {
|
|
12225
|
+
constructor(map) {
|
|
12226
|
+
super(map);
|
|
12227
|
+
}
|
|
12228
|
+
static names() {
|
|
12229
|
+
return {
|
|
12230
|
+
keywordFilter: 'KeywordFilter',
|
|
12231
|
+
name: 'Name',
|
|
12232
|
+
primaryFilters: 'PrimaryFilters',
|
|
12233
|
+
};
|
|
12234
|
+
}
|
|
12235
|
+
static types() {
|
|
12236
|
+
return {
|
|
12237
|
+
keywordFilter: MigrationJobSourceRuleKeywordFilter,
|
|
12238
|
+
name: 'string',
|
|
12239
|
+
primaryFilters: { 'type': 'array', 'itemType': MigrationJobSourceRulePrimaryFilters },
|
|
12240
|
+
};
|
|
12241
|
+
}
|
|
12242
|
+
}
|
|
12243
|
+
exports.MigrationJobSourceRule = MigrationJobSourceRule;
|
|
12244
|
+
class MigrationJobSourceTargetsContent extends $tea.Model {
|
|
12245
|
+
constructor(map) {
|
|
12246
|
+
super(map);
|
|
12247
|
+
}
|
|
12248
|
+
static names() {
|
|
12249
|
+
return {
|
|
12250
|
+
group: 'Group',
|
|
12251
|
+
level: 'Level',
|
|
12252
|
+
method: 'Method',
|
|
12253
|
+
region: 'Region',
|
|
12254
|
+
resourcePath: 'ResourcePath',
|
|
12255
|
+
url: 'Url',
|
|
12256
|
+
};
|
|
12257
|
+
}
|
|
12258
|
+
static types() {
|
|
12259
|
+
return {
|
|
12260
|
+
group: 'string',
|
|
12261
|
+
level: 'string',
|
|
12262
|
+
method: 'string',
|
|
12263
|
+
region: 'string',
|
|
12264
|
+
resourcePath: 'string',
|
|
12265
|
+
url: 'string',
|
|
12266
|
+
};
|
|
12267
|
+
}
|
|
12268
|
+
}
|
|
12269
|
+
exports.MigrationJobSourceTargetsContent = MigrationJobSourceTargetsContent;
|
|
12270
|
+
class MigrationJobSourceTargets extends $tea.Model {
|
|
12271
|
+
constructor(map) {
|
|
12272
|
+
super(map);
|
|
12273
|
+
}
|
|
12274
|
+
static names() {
|
|
12275
|
+
return {
|
|
12276
|
+
content: 'Content',
|
|
12277
|
+
type: 'Type',
|
|
12278
|
+
};
|
|
12279
|
+
}
|
|
12280
|
+
static types() {
|
|
12281
|
+
return {
|
|
12282
|
+
content: MigrationJobSourceTargetsContent,
|
|
12283
|
+
type: 'string',
|
|
12284
|
+
};
|
|
12285
|
+
}
|
|
12286
|
+
}
|
|
12287
|
+
exports.MigrationJobSourceTargets = MigrationJobSourceTargets;
|
|
12288
|
+
class MigrationJobSource extends $tea.Model {
|
|
12289
|
+
constructor(map) {
|
|
12290
|
+
super(map);
|
|
12291
|
+
}
|
|
12292
|
+
static names() {
|
|
12293
|
+
return {
|
|
12294
|
+
rule: 'Rule',
|
|
12295
|
+
targets: 'Targets',
|
|
12296
|
+
};
|
|
12297
|
+
}
|
|
12298
|
+
static types() {
|
|
12299
|
+
return {
|
|
12300
|
+
rule: MigrationJobSourceRule,
|
|
12301
|
+
targets: { 'type': 'array', 'itemType': MigrationJobSourceTargets },
|
|
12302
|
+
};
|
|
12303
|
+
}
|
|
12304
|
+
}
|
|
12305
|
+
exports.MigrationJobSource = MigrationJobSource;
|
|
11872
12306
|
class NotificationStrategyEscalationSettingCustomChannels extends $tea.Model {
|
|
11873
12307
|
constructor(map) {
|
|
11874
12308
|
super(map);
|
|
@@ -14479,6 +14913,40 @@ class DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList exte
|
|
|
14479
14913
|
}
|
|
14480
14914
|
}
|
|
14481
14915
|
exports.DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList = DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList;
|
|
14916
|
+
class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords extends $tea.Model {
|
|
14917
|
+
constructor(map) {
|
|
14918
|
+
super(map);
|
|
14919
|
+
}
|
|
14920
|
+
static names() {
|
|
14921
|
+
return {
|
|
14922
|
+
keyword: 'keyword',
|
|
14923
|
+
};
|
|
14924
|
+
}
|
|
14925
|
+
static types() {
|
|
14926
|
+
return {
|
|
14927
|
+
keyword: { 'type': 'array', 'itemType': 'string' },
|
|
14928
|
+
};
|
|
14929
|
+
}
|
|
14930
|
+
}
|
|
14931
|
+
exports.DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords = DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords;
|
|
14932
|
+
class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj extends $tea.Model {
|
|
14933
|
+
constructor(map) {
|
|
14934
|
+
super(map);
|
|
14935
|
+
}
|
|
14936
|
+
static names() {
|
|
14937
|
+
return {
|
|
14938
|
+
keywords: 'Keywords',
|
|
14939
|
+
relation: 'Relation',
|
|
14940
|
+
};
|
|
14941
|
+
}
|
|
14942
|
+
static types() {
|
|
14943
|
+
return {
|
|
14944
|
+
keywords: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords,
|
|
14945
|
+
relation: 'string',
|
|
14946
|
+
};
|
|
14947
|
+
}
|
|
14948
|
+
}
|
|
14949
|
+
exports.DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj = DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj;
|
|
14482
14950
|
class DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList extends $tea.Model {
|
|
14483
14951
|
constructor(map) {
|
|
14484
14952
|
super(map);
|
|
@@ -14534,18 +15002,22 @@ class DescribeEventRuleAttributeResponseBodyResultEventPattern extends $tea.Mode
|
|
|
14534
15002
|
static names() {
|
|
14535
15003
|
return {
|
|
14536
15004
|
eventTypeList: 'EventTypeList',
|
|
15005
|
+
keywordFilterObj: 'KeywordFilterObj',
|
|
14537
15006
|
levelList: 'LevelList',
|
|
14538
15007
|
nameList: 'NameList',
|
|
14539
15008
|
product: 'Product',
|
|
15009
|
+
SQLFilter: 'SQLFilter',
|
|
14540
15010
|
statusList: 'StatusList',
|
|
14541
15011
|
};
|
|
14542
15012
|
}
|
|
14543
15013
|
static types() {
|
|
14544
15014
|
return {
|
|
14545
15015
|
eventTypeList: DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList,
|
|
15016
|
+
keywordFilterObj: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj,
|
|
14546
15017
|
levelList: DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList,
|
|
14547
15018
|
nameList: DescribeEventRuleAttributeResponseBodyResultEventPatternNameList,
|
|
14548
15019
|
product: 'string',
|
|
15020
|
+
SQLFilter: 'string',
|
|
14549
15021
|
statusList: DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList,
|
|
14550
15022
|
};
|
|
14551
15023
|
}
|
|
@@ -17425,6 +17897,26 @@ class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSMS extends
|
|
|
17425
17897
|
}
|
|
17426
17898
|
}
|
|
17427
17899
|
exports.DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSMS = DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSMS;
|
|
17900
|
+
class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser extends $tea.Model {
|
|
17901
|
+
constructor(map) {
|
|
17902
|
+
super(map);
|
|
17903
|
+
}
|
|
17904
|
+
static names() {
|
|
17905
|
+
return {
|
|
17906
|
+
quotaLimit: 'QuotaLimit',
|
|
17907
|
+
quotaPackage: 'QuotaPackage',
|
|
17908
|
+
quotaUsed: 'QuotaUsed',
|
|
17909
|
+
};
|
|
17910
|
+
}
|
|
17911
|
+
static types() {
|
|
17912
|
+
return {
|
|
17913
|
+
quotaLimit: 'number',
|
|
17914
|
+
quotaPackage: 'number',
|
|
17915
|
+
quotaUsed: 'number',
|
|
17916
|
+
};
|
|
17917
|
+
}
|
|
17918
|
+
}
|
|
17919
|
+
exports.DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser = DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser;
|
|
17428
17920
|
class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe extends $tea.Model {
|
|
17429
17921
|
constructor(map) {
|
|
17430
17922
|
super(map);
|
|
@@ -17445,6 +17937,26 @@ class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorE
|
|
|
17445
17937
|
}
|
|
17446
17938
|
}
|
|
17447
17939
|
exports.DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe = DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe;
|
|
17940
|
+
class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile extends $tea.Model {
|
|
17941
|
+
constructor(map) {
|
|
17942
|
+
super(map);
|
|
17943
|
+
}
|
|
17944
|
+
static names() {
|
|
17945
|
+
return {
|
|
17946
|
+
quotaLimit: 'QuotaLimit',
|
|
17947
|
+
quotaPackage: 'QuotaPackage',
|
|
17948
|
+
quotaUsed: 'QuotaUsed',
|
|
17949
|
+
};
|
|
17950
|
+
}
|
|
17951
|
+
static types() {
|
|
17952
|
+
return {
|
|
17953
|
+
quotaLimit: 'number',
|
|
17954
|
+
quotaPackage: 'number',
|
|
17955
|
+
quotaUsed: 'number',
|
|
17956
|
+
};
|
|
17957
|
+
}
|
|
17958
|
+
}
|
|
17959
|
+
exports.DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile = DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile;
|
|
17448
17960
|
class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorOperatorProbe extends $tea.Model {
|
|
17449
17961
|
constructor(map) {
|
|
17450
17962
|
super(map);
|
|
@@ -17500,7 +18012,9 @@ class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuota extends $te
|
|
|
17500
18012
|
logMonitor: 'LogMonitor',
|
|
17501
18013
|
phone: 'Phone',
|
|
17502
18014
|
SMS: 'SMS',
|
|
18015
|
+
siteMonitorBrowser: 'SiteMonitorBrowser',
|
|
17503
18016
|
siteMonitorEcsProbe: 'SiteMonitorEcsProbe',
|
|
18017
|
+
siteMonitorMobile: 'SiteMonitorMobile',
|
|
17504
18018
|
siteMonitorOperatorProbe: 'SiteMonitorOperatorProbe',
|
|
17505
18019
|
siteMonitorTask: 'SiteMonitorTask',
|
|
17506
18020
|
suitInfo: 'SuitInfo',
|
|
@@ -17517,7 +18031,9 @@ class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuota extends $te
|
|
|
17517
18031
|
logMonitor: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaLogMonitor,
|
|
17518
18032
|
phone: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaPhone,
|
|
17519
18033
|
SMS: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSMS,
|
|
18034
|
+
siteMonitorBrowser: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser,
|
|
17520
18035
|
siteMonitorEcsProbe: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe,
|
|
18036
|
+
siteMonitorMobile: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile,
|
|
17521
18037
|
siteMonitorOperatorProbe: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorOperatorProbe,
|
|
17522
18038
|
siteMonitorTask: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorTask,
|
|
17523
18039
|
suitInfo: 'string',
|
|
@@ -18169,6 +18685,7 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18169
18685
|
trafficHijackElementCount: 'traffic_hijack_element_count',
|
|
18170
18686
|
trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
|
|
18171
18687
|
username: 'username',
|
|
18688
|
+
waitTimeAfterCompletion: 'waitTime_after_completion',
|
|
18172
18689
|
};
|
|
18173
18690
|
}
|
|
18174
18691
|
static types() {
|
|
@@ -18215,6 +18732,7 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18215
18732
|
trafficHijackElementCount: 'number',
|
|
18216
18733
|
trafficHijackElementWhitelist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist,
|
|
18217
18734
|
username: 'string',
|
|
18735
|
+
waitTimeAfterCompletion: 'number',
|
|
18218
18736
|
};
|
|
18219
18737
|
}
|
|
18220
18738
|
}
|
|
@@ -20576,9 +21094,7 @@ class Client extends openapi_client_1.default {
|
|
|
20576
21094
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
20577
21095
|
}
|
|
20578
21096
|
/**
|
|
20579
|
-
*
|
|
20580
|
-
* * true: The call was successful.
|
|
20581
|
-
* * false: The call failed.
|
|
21097
|
+
* 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`.
|
|
20582
21098
|
*
|
|
20583
21099
|
* @param request AddTagsRequest
|
|
20584
21100
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20610,9 +21126,7 @@ class Client extends openapi_client_1.default {
|
|
|
20610
21126
|
return $tea.cast(await this.callApi(params, req, runtime), new AddTagsResponse({}));
|
|
20611
21127
|
}
|
|
20612
21128
|
/**
|
|
20613
|
-
*
|
|
20614
|
-
* * true: The call was successful.
|
|
20615
|
-
* * false: The call failed.
|
|
21129
|
+
* 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`.
|
|
20616
21130
|
*
|
|
20617
21131
|
* @param request AddTagsRequest
|
|
20618
21132
|
* @return AddTagsResponse
|
|
@@ -20622,8 +21136,7 @@ class Client extends openapi_client_1.default {
|
|
|
20622
21136
|
return await this.addTagsWithOptions(request, runtime);
|
|
20623
21137
|
}
|
|
20624
21138
|
/**
|
|
20625
|
-
*
|
|
20626
|
-
* For more information about how to query the ID of an application group, see [DescribeMonitorGroups](~~115032~~).
|
|
21139
|
+
* 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`.
|
|
20627
21140
|
*
|
|
20628
21141
|
* @param request ApplyMetricRuleTemplateRequest
|
|
20629
21142
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20673,8 +21186,7 @@ class Client extends openapi_client_1.default {
|
|
|
20673
21186
|
return $tea.cast(await this.callApi(params, req, runtime), new ApplyMetricRuleTemplateResponse({}));
|
|
20674
21187
|
}
|
|
20675
21188
|
/**
|
|
20676
|
-
*
|
|
20677
|
-
* For more information about how to query the ID of an application group, see [DescribeMonitorGroups](~~115032~~).
|
|
21189
|
+
* 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`.
|
|
20678
21190
|
*
|
|
20679
21191
|
* @param request ApplyMetricRuleTemplateRequest
|
|
20680
21192
|
* @return ApplyMetricRuleTemplateResponse
|
|
@@ -20684,7 +21196,7 @@ class Client extends openapi_client_1.default {
|
|
|
20684
21196
|
return await this.applyMetricRuleTemplateWithOptions(request, runtime);
|
|
20685
21197
|
}
|
|
20686
21198
|
/**
|
|
20687
|
-
*
|
|
21199
|
+
* 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****`.
|
|
20688
21200
|
*
|
|
20689
21201
|
* @param request BatchCreateInstantSiteMonitorRequest
|
|
20690
21202
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20713,7 +21225,7 @@ class Client extends openapi_client_1.default {
|
|
|
20713
21225
|
return $tea.cast(await this.callApi(params, req, runtime), new BatchCreateInstantSiteMonitorResponse({}));
|
|
20714
21226
|
}
|
|
20715
21227
|
/**
|
|
20716
|
-
*
|
|
21228
|
+
* 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****`.
|
|
20717
21229
|
*
|
|
20718
21230
|
* @param request BatchCreateInstantSiteMonitorRequest
|
|
20719
21231
|
* @return BatchCreateInstantSiteMonitorResponse
|
|
@@ -20763,6 +21275,16 @@ class Client extends openapi_client_1.default {
|
|
|
20763
21275
|
let runtime = new $Util.RuntimeOptions({});
|
|
20764
21276
|
return await this.batchCreateIntantSiteMonitorWithOptions(request, runtime);
|
|
20765
21277
|
}
|
|
21278
|
+
/**
|
|
21279
|
+
* ### [](#)Prerequisites
|
|
21280
|
+
* The `Cursor` information is returned by calling the [Cursor](~~2330730~~) operation.
|
|
21281
|
+
* ### [](#)Description
|
|
21282
|
+
* 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.
|
|
21283
|
+
*
|
|
21284
|
+
* @param tmpReq BatchExportRequest
|
|
21285
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21286
|
+
* @return BatchExportResponse
|
|
21287
|
+
*/
|
|
20766
21288
|
async batchExportWithOptions(tmpReq, runtime) {
|
|
20767
21289
|
tea_util_1.default.validateModel(tmpReq);
|
|
20768
21290
|
let request = new BatchExportShrinkRequest({});
|
|
@@ -20802,6 +21324,15 @@ class Client extends openapi_client_1.default {
|
|
|
20802
21324
|
});
|
|
20803
21325
|
return $tea.cast(await this.callApi(params, req, runtime), new BatchExportResponse({}));
|
|
20804
21326
|
}
|
|
21327
|
+
/**
|
|
21328
|
+
* ### [](#)Prerequisites
|
|
21329
|
+
* The `Cursor` information is returned by calling the [Cursor](~~2330730~~) operation.
|
|
21330
|
+
* ### [](#)Description
|
|
21331
|
+
* 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.
|
|
21332
|
+
*
|
|
21333
|
+
* @param request BatchExportRequest
|
|
21334
|
+
* @return BatchExportResponse
|
|
21335
|
+
*/
|
|
20805
21336
|
async batchExport(request) {
|
|
20806
21337
|
let runtime = new $Util.RuntimeOptions({});
|
|
20807
21338
|
return await this.batchExportWithOptions(request, runtime);
|
|
@@ -20963,9 +21494,8 @@ class Client extends openapi_client_1.default {
|
|
|
20963
21494
|
return await this.createCmsSmspackageOrderWithOptions(request, runtime);
|
|
20964
21495
|
}
|
|
20965
21496
|
/**
|
|
20966
|
-
*
|
|
20967
|
-
*
|
|
20968
|
-
* * false (default value): The application group does not automatically subscribe to event notifications.
|
|
21497
|
+
* This operation is available for Elastic Compute Service (ECS), ApsaraDB RDS, and Server Load Balancer (SLB).
|
|
21498
|
+
* 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`.
|
|
20969
21499
|
*
|
|
20970
21500
|
* @param request CreateDynamicTagGroupRequest
|
|
20971
21501
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21015,9 +21545,8 @@ class Client extends openapi_client_1.default {
|
|
|
21015
21545
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDynamicTagGroupResponse({}));
|
|
21016
21546
|
}
|
|
21017
21547
|
/**
|
|
21018
|
-
*
|
|
21019
|
-
*
|
|
21020
|
-
* * false (default value): The application group does not automatically subscribe to event notifications.
|
|
21548
|
+
* This operation is available for Elastic Compute Service (ECS), ApsaraDB RDS, and Server Load Balancer (SLB).
|
|
21549
|
+
* 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`.
|
|
21021
21550
|
*
|
|
21022
21551
|
* @param request CreateDynamicTagGroupRequest
|
|
21023
21552
|
* @return CreateDynamicTagGroupResponse
|
|
@@ -21027,7 +21556,7 @@ class Client extends openapi_client_1.default {
|
|
|
21027
21556
|
return await this.createDynamicTagGroupWithOptions(request, runtime);
|
|
21028
21557
|
}
|
|
21029
21558
|
/**
|
|
21030
|
-
* The
|
|
21559
|
+
* 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.
|
|
21031
21560
|
*
|
|
21032
21561
|
* @param request CreateGroupMetricRulesRequest
|
|
21033
21562
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21059,7 +21588,7 @@ class Client extends openapi_client_1.default {
|
|
|
21059
21588
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGroupMetricRulesResponse({}));
|
|
21060
21589
|
}
|
|
21061
21590
|
/**
|
|
21062
|
-
* The
|
|
21591
|
+
* 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.
|
|
21063
21592
|
*
|
|
21064
21593
|
* @param request CreateGroupMetricRulesRequest
|
|
21065
21594
|
* @return CreateGroupMetricRulesResponse
|
|
@@ -21107,7 +21636,7 @@ class Client extends openapi_client_1.default {
|
|
|
21107
21636
|
return await this.createGroupMonitoringAgentProcessWithOptions(request, runtime);
|
|
21108
21637
|
}
|
|
21109
21638
|
/**
|
|
21110
|
-
* The
|
|
21639
|
+
* 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.
|
|
21111
21640
|
*
|
|
21112
21641
|
* @param request CreateHostAvailabilityRequest
|
|
21113
21642
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21160,7 +21689,7 @@ class Client extends openapi_client_1.default {
|
|
|
21160
21689
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateHostAvailabilityResponse({}));
|
|
21161
21690
|
}
|
|
21162
21691
|
/**
|
|
21163
|
-
* The
|
|
21692
|
+
* 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.
|
|
21164
21693
|
*
|
|
21165
21694
|
* @param request CreateHostAvailabilityRequest
|
|
21166
21695
|
* @return CreateHostAvailabilityResponse
|
|
@@ -21170,9 +21699,8 @@ class Client extends openapi_client_1.default {
|
|
|
21170
21699
|
return await this.createHostAvailabilityWithOptions(request, runtime);
|
|
21171
21700
|
}
|
|
21172
21701
|
/**
|
|
21173
|
-
*
|
|
21174
|
-
*
|
|
21175
|
-
* * false: The call failed.
|
|
21702
|
+
* ## Prerequisites
|
|
21703
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
21176
21704
|
*
|
|
21177
21705
|
* @param request CreateHybridMonitorNamespaceRequest
|
|
21178
21706
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21207,9 +21735,8 @@ class Client extends openapi_client_1.default {
|
|
|
21207
21735
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateHybridMonitorNamespaceResponse({}));
|
|
21208
21736
|
}
|
|
21209
21737
|
/**
|
|
21210
|
-
*
|
|
21211
|
-
*
|
|
21212
|
-
* * false: The call failed.
|
|
21738
|
+
* ## Prerequisites
|
|
21739
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
21213
21740
|
*
|
|
21214
21741
|
* @param request CreateHybridMonitorNamespaceRequest
|
|
21215
21742
|
* @return CreateHybridMonitorNamespaceResponse
|
|
@@ -21219,8 +21746,10 @@ class Client extends openapi_client_1.default {
|
|
|
21219
21746
|
return await this.createHybridMonitorNamespaceWithOptions(request, runtime);
|
|
21220
21747
|
}
|
|
21221
21748
|
/**
|
|
21222
|
-
*
|
|
21223
|
-
*
|
|
21749
|
+
* # Prerequisites
|
|
21750
|
+
* Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](~~54604~~).
|
|
21751
|
+
* # Description
|
|
21752
|
+
* 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.
|
|
21224
21753
|
*
|
|
21225
21754
|
* @param request CreateHybridMonitorSLSGroupRequest
|
|
21226
21755
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21255,8 +21784,10 @@ class Client extends openapi_client_1.default {
|
|
|
21255
21784
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateHybridMonitorSLSGroupResponse({}));
|
|
21256
21785
|
}
|
|
21257
21786
|
/**
|
|
21258
|
-
*
|
|
21259
|
-
*
|
|
21787
|
+
* # Prerequisites
|
|
21788
|
+
* Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](~~54604~~).
|
|
21789
|
+
* # Description
|
|
21790
|
+
* 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.
|
|
21260
21791
|
*
|
|
21261
21792
|
* @param request CreateHybridMonitorSLSGroupRequest
|
|
21262
21793
|
* @return CreateHybridMonitorSLSGroupResponse
|
|
@@ -21266,7 +21797,9 @@ class Client extends openapi_client_1.default {
|
|
|
21266
21797
|
return await this.createHybridMonitorSLSGroupWithOptions(request, runtime);
|
|
21267
21798
|
}
|
|
21268
21799
|
/**
|
|
21269
|
-
*
|
|
21800
|
+
* ## Prerequisites
|
|
21801
|
+
* * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
21802
|
+
* * 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~~).
|
|
21270
21803
|
*
|
|
21271
21804
|
* @param request CreateHybridMonitorTaskRequest
|
|
21272
21805
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21328,7 +21861,9 @@ class Client extends openapi_client_1.default {
|
|
|
21328
21861
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateHybridMonitorTaskResponse({}));
|
|
21329
21862
|
}
|
|
21330
21863
|
/**
|
|
21331
|
-
*
|
|
21864
|
+
* ## Prerequisites
|
|
21865
|
+
* * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
21866
|
+
* * 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~~).
|
|
21332
21867
|
*
|
|
21333
21868
|
* @param request CreateHybridMonitorTaskRequest
|
|
21334
21869
|
* @return CreateHybridMonitorTaskResponse
|
|
@@ -21394,8 +21929,9 @@ class Client extends openapi_client_1.default {
|
|
|
21394
21929
|
return await this.createInstantSiteMonitorWithOptions(request, runtime);
|
|
21395
21930
|
}
|
|
21396
21931
|
/**
|
|
21397
|
-
*
|
|
21398
|
-
*
|
|
21932
|
+
* ### Background information
|
|
21933
|
+
* * 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.
|
|
21934
|
+
* * 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~~).
|
|
21399
21935
|
*
|
|
21400
21936
|
* @param request CreateMetricRuleBlackListRequest
|
|
21401
21937
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21451,8 +21987,9 @@ class Client extends openapi_client_1.default {
|
|
|
21451
21987
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateMetricRuleBlackListResponse({}));
|
|
21452
21988
|
}
|
|
21453
21989
|
/**
|
|
21454
|
-
*
|
|
21455
|
-
*
|
|
21990
|
+
* ### Background information
|
|
21991
|
+
* * 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.
|
|
21992
|
+
* * 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~~).
|
|
21456
21993
|
*
|
|
21457
21994
|
* @param request CreateMetricRuleBlackListRequest
|
|
21458
21995
|
* @return CreateMetricRuleBlackListResponse
|
|
@@ -21558,7 +22095,7 @@ class Client extends openapi_client_1.default {
|
|
|
21558
22095
|
return await this.createMonitorAgentProcessWithOptions(request, runtime);
|
|
21559
22096
|
}
|
|
21560
22097
|
/**
|
|
21561
|
-
*
|
|
22098
|
+
* In this example, the application group named `ECS_Group` is created.
|
|
21562
22099
|
*
|
|
21563
22100
|
* @param request CreateMonitorGroupRequest
|
|
21564
22101
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21590,7 +22127,7 @@ class Client extends openapi_client_1.default {
|
|
|
21590
22127
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateMonitorGroupResponse({}));
|
|
21591
22128
|
}
|
|
21592
22129
|
/**
|
|
21593
|
-
*
|
|
22130
|
+
* In this example, the application group named `ECS_Group` is created.
|
|
21594
22131
|
*
|
|
21595
22132
|
* @param request CreateMonitorGroupRequest
|
|
21596
22133
|
* @return CreateMonitorGroupResponse
|
|
@@ -21600,8 +22137,7 @@ class Client extends openapi_client_1.default {
|
|
|
21600
22137
|
return await this.createMonitorGroupWithOptions(request, runtime);
|
|
21601
22138
|
}
|
|
21602
22139
|
/**
|
|
21603
|
-
*
|
|
21604
|
-
* For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
|
|
22140
|
+
* 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`.
|
|
21605
22141
|
*
|
|
21606
22142
|
* @param request CreateMonitorGroupByResourceGroupIdRequest
|
|
21607
22143
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21645,8 +22181,7 @@ class Client extends openapi_client_1.default {
|
|
|
21645
22181
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateMonitorGroupByResourceGroupIdResponse({}));
|
|
21646
22182
|
}
|
|
21647
22183
|
/**
|
|
21648
|
-
*
|
|
21649
|
-
* For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
|
|
22184
|
+
* 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`.
|
|
21650
22185
|
*
|
|
21651
22186
|
* @param request CreateMonitorGroupByResourceGroupIdRequest
|
|
21652
22187
|
* @return CreateMonitorGroupByResourceGroupIdResponse
|
|
@@ -21656,8 +22191,8 @@ class Client extends openapi_client_1.default {
|
|
|
21656
22191
|
return await this.createMonitorGroupByResourceGroupIdWithOptions(request, runtime);
|
|
21657
22192
|
}
|
|
21658
22193
|
/**
|
|
21659
|
-
*
|
|
21660
|
-
*
|
|
22194
|
+
* 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.
|
|
22195
|
+
* 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`.
|
|
21661
22196
|
*
|
|
21662
22197
|
* @param request CreateMonitorGroupInstancesRequest
|
|
21663
22198
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21689,8 +22224,8 @@ class Client extends openapi_client_1.default {
|
|
|
21689
22224
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateMonitorGroupInstancesResponse({}));
|
|
21690
22225
|
}
|
|
21691
22226
|
/**
|
|
21692
|
-
*
|
|
21693
|
-
*
|
|
22227
|
+
* 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.
|
|
22228
|
+
* 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`.
|
|
21694
22229
|
*
|
|
21695
22230
|
* @param request CreateMonitorGroupInstancesRequest
|
|
21696
22231
|
* @return CreateMonitorGroupInstancesResponse
|
|
@@ -21700,7 +22235,8 @@ class Client extends openapi_client_1.default {
|
|
|
21700
22235
|
return await this.createMonitorGroupInstancesWithOptions(request, runtime);
|
|
21701
22236
|
}
|
|
21702
22237
|
/**
|
|
21703
|
-
*
|
|
22238
|
+
* If the policy is valid, no alert notifications are sent for the application group.
|
|
22239
|
+
* 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`.
|
|
21704
22240
|
*
|
|
21705
22241
|
* @param request CreateMonitorGroupNotifyPolicyRequest
|
|
21706
22242
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21738,7 +22274,8 @@ class Client extends openapi_client_1.default {
|
|
|
21738
22274
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateMonitorGroupNotifyPolicyResponse({}));
|
|
21739
22275
|
}
|
|
21740
22276
|
/**
|
|
21741
|
-
*
|
|
22277
|
+
* If the policy is valid, no alert notifications are sent for the application group.
|
|
22278
|
+
* 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`.
|
|
21742
22279
|
*
|
|
21743
22280
|
* @param request CreateMonitorGroupNotifyPolicyRequest
|
|
21744
22281
|
* @return CreateMonitorGroupNotifyPolicyResponse
|
|
@@ -21780,9 +22317,7 @@ class Client extends openapi_client_1.default {
|
|
|
21780
22317
|
return await this.createMonitoringAgentProcessWithOptions(request, runtime);
|
|
21781
22318
|
}
|
|
21782
22319
|
/**
|
|
21783
|
-
*
|
|
21784
|
-
* * true: The call was successful.
|
|
21785
|
-
* * false: The call failed.
|
|
22320
|
+
* 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`.
|
|
21786
22321
|
*
|
|
21787
22322
|
* @param request CreateSiteMonitorRequest
|
|
21788
22323
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21832,9 +22367,7 @@ class Client extends openapi_client_1.default {
|
|
|
21832
22367
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateSiteMonitorResponse({}));
|
|
21833
22368
|
}
|
|
21834
22369
|
/**
|
|
21835
|
-
*
|
|
21836
|
-
* * true: The call was successful.
|
|
21837
|
-
* * false: The call failed.
|
|
22370
|
+
* 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`.
|
|
21838
22371
|
*
|
|
21839
22372
|
* @param request CreateSiteMonitorRequest
|
|
21840
22373
|
* @return CreateSiteMonitorResponse
|
|
@@ -21843,6 +22376,18 @@ class Client extends openapi_client_1.default {
|
|
|
21843
22376
|
let runtime = new $Util.RuntimeOptions({});
|
|
21844
22377
|
return await this.createSiteMonitorWithOptions(request, runtime);
|
|
21845
22378
|
}
|
|
22379
|
+
/**
|
|
22380
|
+
* ### [](#)Prerequisites
|
|
22381
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
22382
|
+
* ### [](#)Background information
|
|
22383
|
+
* You can call this operation to obtain the Cursor information and then call the [BatchExport](~~2329847~~) operation to export the monitoring data.
|
|
22384
|
+
* ### [](#)Description
|
|
22385
|
+
* 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.
|
|
22386
|
+
*
|
|
22387
|
+
* @param tmpReq CursorRequest
|
|
22388
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22389
|
+
* @return CursorResponse
|
|
22390
|
+
*/
|
|
21846
22391
|
async cursorWithOptions(tmpReq, runtime) {
|
|
21847
22392
|
tea_util_1.default.validateModel(tmpReq);
|
|
21848
22393
|
let request = new CursorShrinkRequest({});
|
|
@@ -21885,6 +22430,17 @@ class Client extends openapi_client_1.default {
|
|
|
21885
22430
|
});
|
|
21886
22431
|
return $tea.cast(await this.callApi(params, req, runtime), new CursorResponse({}));
|
|
21887
22432
|
}
|
|
22433
|
+
/**
|
|
22434
|
+
* ### [](#)Prerequisites
|
|
22435
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
22436
|
+
* ### [](#)Background information
|
|
22437
|
+
* You can call this operation to obtain the Cursor information and then call the [BatchExport](~~2329847~~) operation to export the monitoring data.
|
|
22438
|
+
* ### [](#)Description
|
|
22439
|
+
* 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.
|
|
22440
|
+
*
|
|
22441
|
+
* @param request CursorRequest
|
|
22442
|
+
* @return CursorResponse
|
|
22443
|
+
*/
|
|
21888
22444
|
async cursor(request) {
|
|
21889
22445
|
let runtime = new $Util.RuntimeOptions({});
|
|
21890
22446
|
return await this.cursorWithOptions(request, runtime);
|
|
@@ -22165,9 +22721,8 @@ class Client extends openapi_client_1.default {
|
|
|
22165
22721
|
return await this.deleteHostAvailabilityWithOptions(request, runtime);
|
|
22166
22722
|
}
|
|
22167
22723
|
/**
|
|
22168
|
-
*
|
|
22169
|
-
*
|
|
22170
|
-
* * false: The call failed.
|
|
22724
|
+
* > If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first.
|
|
22725
|
+
* This topic provides an example on how to delete a namespace named `aliyun`. The response shows that the namespace is deleted.
|
|
22171
22726
|
*
|
|
22172
22727
|
* @param request DeleteHybridMonitorNamespaceRequest
|
|
22173
22728
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22196,9 +22751,8 @@ class Client extends openapi_client_1.default {
|
|
|
22196
22751
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteHybridMonitorNamespaceResponse({}));
|
|
22197
22752
|
}
|
|
22198
22753
|
/**
|
|
22199
|
-
*
|
|
22200
|
-
*
|
|
22201
|
-
* * false: The call failed.
|
|
22754
|
+
* > If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first.
|
|
22755
|
+
* This topic provides an example on how to delete a namespace named `aliyun`. The response shows that the namespace is deleted.
|
|
22202
22756
|
*
|
|
22203
22757
|
* @param request DeleteHybridMonitorNamespaceRequest
|
|
22204
22758
|
* @return DeleteHybridMonitorNamespaceResponse
|
|
@@ -22208,9 +22762,7 @@ class Client extends openapi_client_1.default {
|
|
|
22208
22762
|
return await this.deleteHybridMonitorNamespaceWithOptions(request, runtime);
|
|
22209
22763
|
}
|
|
22210
22764
|
/**
|
|
22211
|
-
*
|
|
22212
|
-
* * true: The call is successful.
|
|
22213
|
-
* * false: The call fails.
|
|
22765
|
+
* This topic provides an example on how to delete a Logstore group named `Logstore_test`. The response shows that the Logstore group is deleted.
|
|
22214
22766
|
*
|
|
22215
22767
|
* @param request DeleteHybridMonitorSLSGroupRequest
|
|
22216
22768
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22239,9 +22791,7 @@ class Client extends openapi_client_1.default {
|
|
|
22239
22791
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteHybridMonitorSLSGroupResponse({}));
|
|
22240
22792
|
}
|
|
22241
22793
|
/**
|
|
22242
|
-
*
|
|
22243
|
-
* * true: The call is successful.
|
|
22244
|
-
* * false: The call fails.
|
|
22794
|
+
* This topic provides an example on how to delete a Logstore group named `Logstore_test`. The response shows that the Logstore group is deleted.
|
|
22245
22795
|
*
|
|
22246
22796
|
* @param request DeleteHybridMonitorSLSGroupRequest
|
|
22247
22797
|
* @return DeleteHybridMonitorSLSGroupResponse
|
|
@@ -22251,9 +22801,7 @@ class Client extends openapi_client_1.default {
|
|
|
22251
22801
|
return await this.deleteHybridMonitorSLSGroupWithOptions(request, runtime);
|
|
22252
22802
|
}
|
|
22253
22803
|
/**
|
|
22254
|
-
*
|
|
22255
|
-
* * true: The call was successful.
|
|
22256
|
-
* * false: The call failed.
|
|
22804
|
+
* 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.
|
|
22257
22805
|
*
|
|
22258
22806
|
* @param request DeleteHybridMonitorTaskRequest
|
|
22259
22807
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22288,9 +22836,7 @@ class Client extends openapi_client_1.default {
|
|
|
22288
22836
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteHybridMonitorTaskResponse({}));
|
|
22289
22837
|
}
|
|
22290
22838
|
/**
|
|
22291
|
-
*
|
|
22292
|
-
* * true: The call was successful.
|
|
22293
|
-
* * false: The call failed.
|
|
22839
|
+
* 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.
|
|
22294
22840
|
*
|
|
22295
22841
|
* @param request DeleteHybridMonitorTaskRequest
|
|
22296
22842
|
* @return DeleteHybridMonitorTaskResponse
|
|
@@ -22825,7 +23371,7 @@ class Client extends openapi_client_1.default {
|
|
|
22825
23371
|
return await this.describeAlertLogCountWithOptions(request, runtime);
|
|
22826
23372
|
}
|
|
22827
23373
|
/**
|
|
22828
|
-
*
|
|
23374
|
+
* This topic provides an example on how to query the number of alert logs for Elastic Compute Service (ECS) based on the `product` dimension.
|
|
22829
23375
|
*
|
|
22830
23376
|
* @param request DescribeAlertLogHistogramRequest
|
|
22831
23377
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22899,7 +23445,7 @@ class Client extends openapi_client_1.default {
|
|
|
22899
23445
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertLogHistogramResponse({}));
|
|
22900
23446
|
}
|
|
22901
23447
|
/**
|
|
22902
|
-
*
|
|
23448
|
+
* This topic provides an example on how to query the number of alert logs for Elastic Compute Service (ECS) based on the `product` dimension.
|
|
22903
23449
|
*
|
|
22904
23450
|
* @param request DescribeAlertLogHistogramRequest
|
|
22905
23451
|
* @return DescribeAlertLogHistogramResponse
|
|
@@ -22909,9 +23455,7 @@ class Client extends openapi_client_1.default {
|
|
|
22909
23455
|
return await this.describeAlertLogHistogramWithOptions(request, runtime);
|
|
22910
23456
|
}
|
|
22911
23457
|
/**
|
|
22912
|
-
*
|
|
22913
|
-
* * true: The call was successful.
|
|
22914
|
-
* * false: The call failed.
|
|
23458
|
+
* This topic provides an example to show how to query the alert logs of Elastic Compute Service (ECS) based on the `product` dimension.
|
|
22915
23459
|
*
|
|
22916
23460
|
* @param request DescribeAlertLogListRequest
|
|
22917
23461
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22988,9 +23532,7 @@ class Client extends openapi_client_1.default {
|
|
|
22988
23532
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertLogListResponse({}));
|
|
22989
23533
|
}
|
|
22990
23534
|
/**
|
|
22991
|
-
*
|
|
22992
|
-
* * true: The call was successful.
|
|
22993
|
-
* * false: The call failed.
|
|
23535
|
+
* This topic provides an example to show how to query the alert logs of Elastic Compute Service (ECS) based on the `product` dimension.
|
|
22994
23536
|
*
|
|
22995
23537
|
* @param request DescribeAlertLogListRequest
|
|
22996
23538
|
* @return DescribeAlertLogListResponse
|
|
@@ -23163,7 +23705,7 @@ class Client extends openapi_client_1.default {
|
|
|
23163
23705
|
return await this.describeCustomEventAttributeWithOptions(request, runtime);
|
|
23164
23706
|
}
|
|
23165
23707
|
/**
|
|
23166
|
-
*
|
|
23708
|
+
* > This operation counts the number of times that a custom event occurred for each service.
|
|
23167
23709
|
*
|
|
23168
23710
|
* @param request DescribeCustomEventCountRequest
|
|
23169
23711
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23207,7 +23749,7 @@ class Client extends openapi_client_1.default {
|
|
|
23207
23749
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCustomEventCountResponse({}));
|
|
23208
23750
|
}
|
|
23209
23751
|
/**
|
|
23210
|
-
*
|
|
23752
|
+
* > This operation counts the number of times that a custom event occurred for each service.
|
|
23211
23753
|
*
|
|
23212
23754
|
* @param request DescribeCustomEventCountRequest
|
|
23213
23755
|
* @return DescribeCustomEventCountResponse
|
|
@@ -23261,8 +23803,7 @@ class Client extends openapi_client_1.default {
|
|
|
23261
23803
|
return await this.describeCustomEventHistogramWithOptions(request, runtime);
|
|
23262
23804
|
}
|
|
23263
23805
|
/**
|
|
23264
|
-
*
|
|
23265
|
-
* For more information, see [DescribeMonitorGroups](~~115032~~).
|
|
23806
|
+
* > You can call the DescribeMetricList operation to query the metrics of a cloud service. For more information, see [DescribeMetricList](~~51936~~).
|
|
23266
23807
|
*
|
|
23267
23808
|
* @param request DescribeCustomMetricListRequest
|
|
23268
23809
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23306,8 +23847,7 @@ class Client extends openapi_client_1.default {
|
|
|
23306
23847
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCustomMetricListResponse({}));
|
|
23307
23848
|
}
|
|
23308
23849
|
/**
|
|
23309
|
-
*
|
|
23310
|
-
* For more information, see [DescribeMonitorGroups](~~115032~~).
|
|
23850
|
+
* > You can call the DescribeMetricList operation to query the metrics of a cloud service. For more information, see [DescribeMetricList](~~51936~~).
|
|
23311
23851
|
*
|
|
23312
23852
|
* @param request DescribeCustomMetricListRequest
|
|
23313
23853
|
* @return DescribeCustomMetricListResponse
|
|
@@ -23317,8 +23857,7 @@ class Client extends openapi_client_1.default {
|
|
|
23317
23857
|
return await this.describeCustomMetricListWithOptions(request, runtime);
|
|
23318
23858
|
}
|
|
23319
23859
|
/**
|
|
23320
|
-
* The
|
|
23321
|
-
* > The status code 200 indicates that the call was successful.
|
|
23860
|
+
* 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****`.
|
|
23322
23861
|
*
|
|
23323
23862
|
* @param request DescribeDynamicTagRuleListRequest
|
|
23324
23863
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23362,8 +23901,7 @@ class Client extends openapi_client_1.default {
|
|
|
23362
23901
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDynamicTagRuleListResponse({}));
|
|
23363
23902
|
}
|
|
23364
23903
|
/**
|
|
23365
|
-
* The
|
|
23366
|
-
* > The status code 200 indicates that the call was successful.
|
|
23904
|
+
* 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****`.
|
|
23367
23905
|
*
|
|
23368
23906
|
* @param request DescribeDynamicTagRuleListRequest
|
|
23369
23907
|
* @return DescribeDynamicTagRuleListResponse
|
|
@@ -23373,8 +23911,7 @@ class Client extends openapi_client_1.default {
|
|
|
23373
23911
|
return await this.describeDynamicTagRuleListWithOptions(request, runtime);
|
|
23374
23912
|
}
|
|
23375
23913
|
/**
|
|
23376
|
-
*
|
|
23377
|
-
* For information about how to obtain the name of an event-triggered alert rule, see [DescribeEventRuleList](~~114996~~).
|
|
23914
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
23378
23915
|
*
|
|
23379
23916
|
* @param request DescribeEventRuleAttributeRequest
|
|
23380
23917
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23406,8 +23943,7 @@ class Client extends openapi_client_1.default {
|
|
|
23406
23943
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEventRuleAttributeResponse({}));
|
|
23407
23944
|
}
|
|
23408
23945
|
/**
|
|
23409
|
-
*
|
|
23410
|
-
* For information about how to obtain the name of an event-triggered alert rule, see [DescribeEventRuleList](~~114996~~).
|
|
23946
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
23411
23947
|
*
|
|
23412
23948
|
* @param request DescribeEventRuleAttributeRequest
|
|
23413
23949
|
* @return DescribeEventRuleAttributeResponse
|
|
@@ -23422,6 +23958,9 @@ class Client extends openapi_client_1.default {
|
|
|
23422
23958
|
if (!tea_util_1.default.isUnset(request.groupId)) {
|
|
23423
23959
|
query["GroupId"] = request.groupId;
|
|
23424
23960
|
}
|
|
23961
|
+
if (!tea_util_1.default.isUnset(request.isEnable)) {
|
|
23962
|
+
query["IsEnable"] = request.isEnable;
|
|
23963
|
+
}
|
|
23425
23964
|
if (!tea_util_1.default.isUnset(request.namePrefix)) {
|
|
23426
23965
|
query["NamePrefix"] = request.namePrefix;
|
|
23427
23966
|
}
|
|
@@ -23452,7 +23991,7 @@ class Client extends openapi_client_1.default {
|
|
|
23452
23991
|
return await this.describeEventRuleListWithOptions(request, runtime);
|
|
23453
23992
|
}
|
|
23454
23993
|
/**
|
|
23455
|
-
*
|
|
23994
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
23456
23995
|
*
|
|
23457
23996
|
* @param request DescribeEventRuleTargetListRequest
|
|
23458
23997
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23481,7 +24020,7 @@ class Client extends openapi_client_1.default {
|
|
|
23481
24020
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEventRuleTargetListResponse({}));
|
|
23482
24021
|
}
|
|
23483
24022
|
/**
|
|
23484
|
-
*
|
|
24023
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
23485
24024
|
*
|
|
23486
24025
|
* @param request DescribeEventRuleTargetListRequest
|
|
23487
24026
|
* @return DescribeEventRuleTargetListResponse
|
|
@@ -23549,7 +24088,7 @@ class Client extends openapi_client_1.default {
|
|
|
23549
24088
|
return await this.describeExporterRuleListWithOptions(request, runtime);
|
|
23550
24089
|
}
|
|
23551
24090
|
/**
|
|
23552
|
-
*
|
|
24091
|
+
* 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.
|
|
23553
24092
|
*
|
|
23554
24093
|
* @param request DescribeGroupMonitoringAgentProcessRequest
|
|
23555
24094
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23587,7 +24126,7 @@ class Client extends openapi_client_1.default {
|
|
|
23587
24126
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGroupMonitoringAgentProcessResponse({}));
|
|
23588
24127
|
}
|
|
23589
24128
|
/**
|
|
23590
|
-
*
|
|
24129
|
+
* 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.
|
|
23591
24130
|
*
|
|
23592
24131
|
* @param request DescribeGroupMonitoringAgentProcessRequest
|
|
23593
24132
|
* @return DescribeGroupMonitoringAgentProcessResponse
|
|
@@ -23597,7 +24136,7 @@ class Client extends openapi_client_1.default {
|
|
|
23597
24136
|
return await this.describeGroupMonitoringAgentProcessWithOptions(request, runtime);
|
|
23598
24137
|
}
|
|
23599
24138
|
/**
|
|
23600
|
-
*
|
|
24139
|
+
* 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`.
|
|
23601
24140
|
*
|
|
23602
24141
|
* @param request DescribeHostAvailabilityListRequest
|
|
23603
24142
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23641,7 +24180,7 @@ class Client extends openapi_client_1.default {
|
|
|
23641
24180
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeHostAvailabilityListResponse({}));
|
|
23642
24181
|
}
|
|
23643
24182
|
/**
|
|
23644
|
-
*
|
|
24183
|
+
* 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`.
|
|
23645
24184
|
*
|
|
23646
24185
|
* @param request DescribeHostAvailabilityListRequest
|
|
23647
24186
|
* @return DescribeHostAvailabilityListResponse
|
|
@@ -23651,7 +24190,8 @@ class Client extends openapi_client_1.default {
|
|
|
23651
24190
|
return await this.describeHostAvailabilityListWithOptions(request, runtime);
|
|
23652
24191
|
}
|
|
23653
24192
|
/**
|
|
23654
|
-
*
|
|
24193
|
+
* ## Prerequisites
|
|
24194
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
23655
24195
|
*
|
|
23656
24196
|
* @param request DescribeHybridMonitorDataListRequest
|
|
23657
24197
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23692,7 +24232,8 @@ class Client extends openapi_client_1.default {
|
|
|
23692
24232
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeHybridMonitorDataListResponse({}));
|
|
23693
24233
|
}
|
|
23694
24234
|
/**
|
|
23695
|
-
*
|
|
24235
|
+
* ## Prerequisites
|
|
24236
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
23696
24237
|
*
|
|
23697
24238
|
* @param request DescribeHybridMonitorDataListRequest
|
|
23698
24239
|
* @return DescribeHybridMonitorDataListResponse
|
|
@@ -23702,13 +24243,7 @@ class Client extends openapi_client_1.default {
|
|
|
23702
24243
|
return await this.describeHybridMonitorDataListWithOptions(request, runtime);
|
|
23703
24244
|
}
|
|
23704
24245
|
/**
|
|
23705
|
-
*
|
|
23706
|
-
* * cms.s1.large: Data is stored for 15 days.
|
|
23707
|
-
* * cms.s1.xlarge: Data is stored for 32 days.
|
|
23708
|
-
* * cms.s1.2xlarge: Data is stored for 63 days.
|
|
23709
|
-
* * cms.s1.3xlarge: Data is stored for 93 days.
|
|
23710
|
-
* * cms.s1.6xlarge: Data is stored for 185 days.
|
|
23711
|
-
* * cms.s1.12xlarge: Data is stored for 376 days.
|
|
24246
|
+
* 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`.
|
|
23712
24247
|
*
|
|
23713
24248
|
* @param request DescribeHybridMonitorNamespaceListRequest
|
|
23714
24249
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23749,13 +24284,7 @@ class Client extends openapi_client_1.default {
|
|
|
23749
24284
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeHybridMonitorNamespaceListResponse({}));
|
|
23750
24285
|
}
|
|
23751
24286
|
/**
|
|
23752
|
-
*
|
|
23753
|
-
* * cms.s1.large: Data is stored for 15 days.
|
|
23754
|
-
* * cms.s1.xlarge: Data is stored for 32 days.
|
|
23755
|
-
* * cms.s1.2xlarge: Data is stored for 63 days.
|
|
23756
|
-
* * cms.s1.3xlarge: Data is stored for 93 days.
|
|
23757
|
-
* * cms.s1.6xlarge: Data is stored for 185 days.
|
|
23758
|
-
* * cms.s1.12xlarge: Data is stored for 376 days.
|
|
24287
|
+
* 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`.
|
|
23759
24288
|
*
|
|
23760
24289
|
* @param request DescribeHybridMonitorNamespaceListRequest
|
|
23761
24290
|
* @return DescribeHybridMonitorNamespaceListResponse
|
|
@@ -23765,9 +24294,7 @@ class Client extends openapi_client_1.default {
|
|
|
23765
24294
|
return await this.describeHybridMonitorNamespaceListWithOptions(request, runtime);
|
|
23766
24295
|
}
|
|
23767
24296
|
/**
|
|
23768
|
-
*
|
|
23769
|
-
* * true: The call is successful.
|
|
23770
|
-
* * false: The call fails.
|
|
24297
|
+
* 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`.
|
|
23771
24298
|
*
|
|
23772
24299
|
* @param request DescribeHybridMonitorSLSGroupRequest
|
|
23773
24300
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23805,9 +24332,7 @@ class Client extends openapi_client_1.default {
|
|
|
23805
24332
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeHybridMonitorSLSGroupResponse({}));
|
|
23806
24333
|
}
|
|
23807
24334
|
/**
|
|
23808
|
-
*
|
|
23809
|
-
* * true: The call is successful.
|
|
23810
|
-
* * false: The call fails.
|
|
24335
|
+
* 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`.
|
|
23811
24336
|
*
|
|
23812
24337
|
* @param request DescribeHybridMonitorSLSGroupRequest
|
|
23813
24338
|
* @return DescribeHybridMonitorSLSGroupResponse
|
|
@@ -23817,9 +24342,7 @@ class Client extends openapi_client_1.default {
|
|
|
23817
24342
|
return await this.describeHybridMonitorSLSGroupWithOptions(request, runtime);
|
|
23818
24343
|
}
|
|
23819
24344
|
/**
|
|
23820
|
-
*
|
|
23821
|
-
* * true: The call was successful.
|
|
23822
|
-
* * false: The call failed.
|
|
24345
|
+
* 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`.
|
|
23823
24346
|
*
|
|
23824
24347
|
* @param request DescribeHybridMonitorTaskListRequest
|
|
23825
24348
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23872,9 +24395,7 @@ class Client extends openapi_client_1.default {
|
|
|
23872
24395
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeHybridMonitorTaskListResponse({}));
|
|
23873
24396
|
}
|
|
23874
24397
|
/**
|
|
23875
|
-
*
|
|
23876
|
-
* * true: The call was successful.
|
|
23877
|
-
* * false: The call failed.
|
|
24398
|
+
* 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`.
|
|
23878
24399
|
*
|
|
23879
24400
|
* @param request DescribeHybridMonitorTaskListRequest
|
|
23880
24401
|
* @return DescribeHybridMonitorTaskListResponse
|
|
@@ -23942,12 +24463,9 @@ class Client extends openapi_client_1.default {
|
|
|
23942
24463
|
return await this.describeLogMonitorListWithOptions(request, runtime);
|
|
23943
24464
|
}
|
|
23944
24465
|
/**
|
|
23945
|
-
*
|
|
23946
|
-
*
|
|
23947
|
-
*
|
|
23948
|
-
* >
|
|
23949
|
-
* * If this parameter is not specified, monitoring data is queried based on the period in which metric values are reported.
|
|
23950
|
-
* * For more information about the statistical period of a metric that is specified by the `MetricName` parameter, see [Appendix 1: Metrics](~~163515~~).
|
|
24466
|
+
* ## Limits
|
|
24467
|
+
* 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.
|
|
24468
|
+
* > 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`.
|
|
23951
24469
|
*
|
|
23952
24470
|
* @param request DescribeMetricDataRequest
|
|
23953
24471
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23997,12 +24515,9 @@ class Client extends openapi_client_1.default {
|
|
|
23997
24515
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricDataResponse({}));
|
|
23998
24516
|
}
|
|
23999
24517
|
/**
|
|
24000
|
-
*
|
|
24001
|
-
*
|
|
24002
|
-
*
|
|
24003
|
-
* >
|
|
24004
|
-
* * If this parameter is not specified, monitoring data is queried based on the period in which metric values are reported.
|
|
24005
|
-
* * For more information about the statistical period of a metric that is specified by the `MetricName` parameter, see [Appendix 1: Metrics](~~163515~~).
|
|
24518
|
+
* ## Limits
|
|
24519
|
+
* 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.
|
|
24520
|
+
* > 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`.
|
|
24006
24521
|
*
|
|
24007
24522
|
* @param request DescribeMetricDataRequest
|
|
24008
24523
|
* @return DescribeMetricDataResponse
|
|
@@ -24012,9 +24527,15 @@ class Client extends openapi_client_1.default {
|
|
|
24012
24527
|
return await this.describeMetricDataWithOptions(request, runtime);
|
|
24013
24528
|
}
|
|
24014
24529
|
/**
|
|
24015
|
-
*
|
|
24016
|
-
*
|
|
24017
|
-
*
|
|
24530
|
+
* ### [](#)Limits
|
|
24531
|
+
* 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.
|
|
24532
|
+
* ### [](#)Precautions
|
|
24533
|
+
* 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:
|
|
24534
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
24535
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
24536
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
24537
|
+
* ### [](#)Description
|
|
24538
|
+
* 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.
|
|
24018
24539
|
*
|
|
24019
24540
|
* @param request DescribeMetricLastRequest
|
|
24020
24541
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24067,9 +24588,15 @@ class Client extends openapi_client_1.default {
|
|
|
24067
24588
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricLastResponse({}));
|
|
24068
24589
|
}
|
|
24069
24590
|
/**
|
|
24070
|
-
*
|
|
24071
|
-
*
|
|
24072
|
-
*
|
|
24591
|
+
* ### [](#)Limits
|
|
24592
|
+
* 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.
|
|
24593
|
+
* ### [](#)Precautions
|
|
24594
|
+
* 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:
|
|
24595
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
24596
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
24597
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
24598
|
+
* ### [](#)Description
|
|
24599
|
+
* 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.
|
|
24073
24600
|
*
|
|
24074
24601
|
* @param request DescribeMetricLastRequest
|
|
24075
24602
|
* @return DescribeMetricLastResponse
|
|
@@ -24079,8 +24606,9 @@ class Client extends openapi_client_1.default {
|
|
|
24079
24606
|
return await this.describeMetricLastWithOptions(request, runtime);
|
|
24080
24607
|
}
|
|
24081
24608
|
/**
|
|
24082
|
-
*
|
|
24083
|
-
*
|
|
24609
|
+
* ## Limits
|
|
24610
|
+
* 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.
|
|
24611
|
+
* >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.
|
|
24084
24612
|
*
|
|
24085
24613
|
* @param request DescribeMetricListRequest
|
|
24086
24614
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24133,8 +24661,9 @@ class Client extends openapi_client_1.default {
|
|
|
24133
24661
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricListResponse({}));
|
|
24134
24662
|
}
|
|
24135
24663
|
/**
|
|
24136
|
-
*
|
|
24137
|
-
*
|
|
24664
|
+
* ## Limits
|
|
24665
|
+
* 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.
|
|
24666
|
+
* >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.
|
|
24138
24667
|
*
|
|
24139
24668
|
* @param request DescribeMetricListRequest
|
|
24140
24669
|
* @return DescribeMetricListResponse
|
|
@@ -24144,8 +24673,7 @@ class Client extends openapi_client_1.default {
|
|
|
24144
24673
|
return await this.describeMetricListWithOptions(request, runtime);
|
|
24145
24674
|
}
|
|
24146
24675
|
/**
|
|
24147
|
-
*
|
|
24148
|
-
* For more information, see [Appendix 1: Metrics](~~163515~~).
|
|
24676
|
+
* This operation is usually used with DescribeMetricList and DescribeMetricLast. For more information, see [DescribeMetricList](~~51936~~) and [DescribeMetricLast](~~51939~~).
|
|
24149
24677
|
*
|
|
24150
24678
|
* @param request DescribeMetricMetaListRequest
|
|
24151
24679
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24186,8 +24714,7 @@ class Client extends openapi_client_1.default {
|
|
|
24186
24714
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricMetaListResponse({}));
|
|
24187
24715
|
}
|
|
24188
24716
|
/**
|
|
24189
|
-
*
|
|
24190
|
-
* For more information, see [Appendix 1: Metrics](~~163515~~).
|
|
24717
|
+
* This operation is usually used with DescribeMetricList and DescribeMetricLast. For more information, see [DescribeMetricList](~~51936~~) and [DescribeMetricLast](~~51939~~).
|
|
24191
24718
|
*
|
|
24192
24719
|
* @param request DescribeMetricMetaListRequest
|
|
24193
24720
|
* @return DescribeMetricMetaListResponse
|
|
@@ -24339,7 +24866,9 @@ class Client extends openapi_client_1.default {
|
|
|
24339
24866
|
return await this.describeMetricRuleListWithOptions(request, runtime);
|
|
24340
24867
|
}
|
|
24341
24868
|
/**
|
|
24342
|
-
*
|
|
24869
|
+
* ## Limit
|
|
24870
|
+
* This operation supports only Message Service (MNS) resources.
|
|
24871
|
+
* >This topic provides an example on how to query the resources that are associated with an alert rule whose ID is `ae06917_75a8c43178ab66****`.
|
|
24343
24872
|
*
|
|
24344
24873
|
* @param request DescribeMetricRuleTargetsRequest
|
|
24345
24874
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24368,7 +24897,9 @@ class Client extends openapi_client_1.default {
|
|
|
24368
24897
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricRuleTargetsResponse({}));
|
|
24369
24898
|
}
|
|
24370
24899
|
/**
|
|
24371
|
-
*
|
|
24900
|
+
* ## Limit
|
|
24901
|
+
* This operation supports only Message Service (MNS) resources.
|
|
24902
|
+
* >This topic provides an example on how to query the resources that are associated with an alert rule whose ID is `ae06917_75a8c43178ab66****`.
|
|
24372
24903
|
*
|
|
24373
24904
|
* @param request DescribeMetricRuleTargetsRequest
|
|
24374
24905
|
* @return DescribeMetricRuleTargetsResponse
|
|
@@ -24378,7 +24909,7 @@ class Client extends openapi_client_1.default {
|
|
|
24378
24909
|
return await this.describeMetricRuleTargetsWithOptions(request, runtime);
|
|
24379
24910
|
}
|
|
24380
24911
|
/**
|
|
24381
|
-
*
|
|
24912
|
+
* This topic provides an example to show how to query the details of an alert template whose ID is `70****`.
|
|
24382
24913
|
*
|
|
24383
24914
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
24384
24915
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24410,7 +24941,7 @@ class Client extends openapi_client_1.default {
|
|
|
24410
24941
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricRuleTemplateAttributeResponse({}));
|
|
24411
24942
|
}
|
|
24412
24943
|
/**
|
|
24413
|
-
*
|
|
24944
|
+
* This topic provides an example to show how to query the details of an alert template whose ID is `70****`.
|
|
24414
24945
|
*
|
|
24415
24946
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
24416
24947
|
* @return DescribeMetricRuleTemplateAttributeResponse
|
|
@@ -24420,8 +24951,7 @@ class Client extends openapi_client_1.default {
|
|
|
24420
24951
|
return await this.describeMetricRuleTemplateAttributeWithOptions(request, runtime);
|
|
24421
24952
|
}
|
|
24422
24953
|
/**
|
|
24423
|
-
*
|
|
24424
|
-
* > The status code 200 indicates that the call was successful.
|
|
24954
|
+
* 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`.
|
|
24425
24955
|
*
|
|
24426
24956
|
* @param request DescribeMetricRuleTemplateListRequest
|
|
24427
24957
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24471,8 +25001,7 @@ class Client extends openapi_client_1.default {
|
|
|
24471
25001
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricRuleTemplateListResponse({}));
|
|
24472
25002
|
}
|
|
24473
25003
|
/**
|
|
24474
|
-
*
|
|
24475
|
-
* > The status code 200 indicates that the call was successful.
|
|
25004
|
+
* 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`.
|
|
24476
25005
|
*
|
|
24477
25006
|
* @param request DescribeMetricRuleTemplateListRequest
|
|
24478
25007
|
* @return DescribeMetricRuleTemplateListResponse
|
|
@@ -24482,9 +25011,15 @@ class Client extends openapi_client_1.default {
|
|
|
24482
25011
|
return await this.describeMetricRuleTemplateListWithOptions(request, runtime);
|
|
24483
25012
|
}
|
|
24484
25013
|
/**
|
|
24485
|
-
*
|
|
24486
|
-
*
|
|
24487
|
-
*
|
|
25014
|
+
* ### [](#)Limits
|
|
25015
|
+
* 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.
|
|
25016
|
+
* ### [](#)Precautions
|
|
25017
|
+
* 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:
|
|
25018
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
25019
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
25020
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
25021
|
+
* ### [](#)Description
|
|
25022
|
+
* 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.
|
|
24488
25023
|
*
|
|
24489
25024
|
* @param request DescribeMetricTopRequest
|
|
24490
25025
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24540,9 +25075,15 @@ class Client extends openapi_client_1.default {
|
|
|
24540
25075
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricTopResponse({}));
|
|
24541
25076
|
}
|
|
24542
25077
|
/**
|
|
24543
|
-
*
|
|
24544
|
-
*
|
|
24545
|
-
*
|
|
25078
|
+
* ### [](#)Limits
|
|
25079
|
+
* 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.
|
|
25080
|
+
* ### [](#)Precautions
|
|
25081
|
+
* 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:
|
|
25082
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
25083
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
25084
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
25085
|
+
* ### [](#)Description
|
|
25086
|
+
* 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.
|
|
24546
25087
|
*
|
|
24547
25088
|
* @param request DescribeMetricTopRequest
|
|
24548
25089
|
* @return DescribeMetricTopResponse
|
|
@@ -24921,7 +25462,8 @@ class Client extends openapi_client_1.default {
|
|
|
24921
25462
|
return await this.describeMonitoringAgentHostsWithOptions(request, runtime);
|
|
24922
25463
|
}
|
|
24923
25464
|
/**
|
|
24924
|
-
*
|
|
25465
|
+
* > Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see [CreateMonitoringAgentProcess](~~114951~~~).
|
|
25466
|
+
* 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.
|
|
24925
25467
|
*
|
|
24926
25468
|
* @param request DescribeMonitoringAgentProcessesRequest
|
|
24927
25469
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24950,7 +25492,8 @@ class Client extends openapi_client_1.default {
|
|
|
24950
25492
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMonitoringAgentProcessesResponse({}));
|
|
24951
25493
|
}
|
|
24952
25494
|
/**
|
|
24953
|
-
*
|
|
25495
|
+
* > Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see [CreateMonitoringAgentProcess](~~114951~~~).
|
|
25496
|
+
* 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.
|
|
24954
25497
|
*
|
|
24955
25498
|
* @param request DescribeMonitoringAgentProcessesRequest
|
|
24956
25499
|
* @return DescribeMonitoringAgentProcessesResponse
|
|
@@ -24960,12 +25503,7 @@ class Client extends openapi_client_1.default {
|
|
|
24960
25503
|
return await this.describeMonitoringAgentProcessesWithOptions(request, runtime);
|
|
24961
25504
|
}
|
|
24962
25505
|
/**
|
|
24963
|
-
*
|
|
24964
|
-
* * `Command.ErrorCode.Fail.Downlaod.REGIN_ID`: Failed to obtain the region ID.
|
|
24965
|
-
* * `Command.ErrorCode.Fail.Downlaod.SYSAK`: Failed to download the .rpm package of System Analyse Kit (SysAK).
|
|
24966
|
-
* * `Command.ErrorCode.Fail.Downlaod.CMON_FILE`: Failed to download the CMON file.
|
|
24967
|
-
* * `Command.ErrorCode.Fail.Downlaod.BTF`: Failed to start SysAK because the BTF file is not found.
|
|
24968
|
-
* * `Command.ErrorCode.Fail.Start.SYSAK`: Failed to start SysAK due to an unknown error.
|
|
25506
|
+
* 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.
|
|
24969
25507
|
*
|
|
24970
25508
|
* @param request DescribeMonitoringAgentStatusesRequest
|
|
24971
25509
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24997,12 +25535,7 @@ class Client extends openapi_client_1.default {
|
|
|
24997
25535
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMonitoringAgentStatusesResponse({}));
|
|
24998
25536
|
}
|
|
24999
25537
|
/**
|
|
25000
|
-
*
|
|
25001
|
-
* * `Command.ErrorCode.Fail.Downlaod.REGIN_ID`: Failed to obtain the region ID.
|
|
25002
|
-
* * `Command.ErrorCode.Fail.Downlaod.SYSAK`: Failed to download the .rpm package of System Analyse Kit (SysAK).
|
|
25003
|
-
* * `Command.ErrorCode.Fail.Downlaod.CMON_FILE`: Failed to download the CMON file.
|
|
25004
|
-
* * `Command.ErrorCode.Fail.Downlaod.BTF`: Failed to start SysAK because the BTF file is not found.
|
|
25005
|
-
* * `Command.ErrorCode.Fail.Start.SYSAK`: Failed to start SysAK due to an unknown error.
|
|
25538
|
+
* 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.
|
|
25006
25539
|
*
|
|
25007
25540
|
* @param request DescribeMonitoringAgentStatusesRequest
|
|
25008
25541
|
* @return DescribeMonitoringAgentStatusesResponse
|
|
@@ -25032,7 +25565,7 @@ class Client extends openapi_client_1.default {
|
|
|
25032
25565
|
return await this.describeMonitoringConfigWithOptions(request, runtime);
|
|
25033
25566
|
}
|
|
25034
25567
|
/**
|
|
25035
|
-
*
|
|
25568
|
+
* > If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once.
|
|
25036
25569
|
*
|
|
25037
25570
|
* @param request DescribeProductResourceTagKeyListRequest
|
|
25038
25571
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25061,7 +25594,7 @@ class Client extends openapi_client_1.default {
|
|
|
25061
25594
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeProductResourceTagKeyListResponse({}));
|
|
25062
25595
|
}
|
|
25063
25596
|
/**
|
|
25064
|
-
*
|
|
25597
|
+
* > If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once.
|
|
25065
25598
|
*
|
|
25066
25599
|
* @param request DescribeProductResourceTagKeyListRequest
|
|
25067
25600
|
* @return DescribeProductResourceTagKeyListResponse
|
|
@@ -25136,7 +25669,7 @@ class Client extends openapi_client_1.default {
|
|
|
25136
25669
|
return await this.describeProjectMetaWithOptions(request, runtime);
|
|
25137
25670
|
}
|
|
25138
25671
|
/**
|
|
25139
|
-
* The
|
|
25672
|
+
* 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`.
|
|
25140
25673
|
*
|
|
25141
25674
|
* @param request DescribeSiteMonitorAttributeRequest
|
|
25142
25675
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25168,7 +25701,7 @@ class Client extends openapi_client_1.default {
|
|
|
25168
25701
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSiteMonitorAttributeResponse({}));
|
|
25169
25702
|
}
|
|
25170
25703
|
/**
|
|
25171
|
-
* The
|
|
25704
|
+
* 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`.
|
|
25172
25705
|
*
|
|
25173
25706
|
* @param request DescribeSiteMonitorAttributeRequest
|
|
25174
25707
|
* @return DescribeSiteMonitorAttributeResponse
|
|
@@ -25276,7 +25809,7 @@ class Client extends openapi_client_1.default {
|
|
|
25276
25809
|
return await this.describeSiteMonitorISPCityListWithOptions(request, runtime);
|
|
25277
25810
|
}
|
|
25278
25811
|
/**
|
|
25279
|
-
*
|
|
25812
|
+
* 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`.
|
|
25280
25813
|
*
|
|
25281
25814
|
* @param request DescribeSiteMonitorListRequest
|
|
25282
25815
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25320,7 +25853,7 @@ class Client extends openapi_client_1.default {
|
|
|
25320
25853
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSiteMonitorListResponse({}));
|
|
25321
25854
|
}
|
|
25322
25855
|
/**
|
|
25323
|
-
*
|
|
25856
|
+
* 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`.
|
|
25324
25857
|
*
|
|
25325
25858
|
* @param request DescribeSiteMonitorListRequest
|
|
25326
25859
|
* @return DescribeSiteMonitorListResponse
|
|
@@ -25423,6 +25956,13 @@ class Client extends openapi_client_1.default {
|
|
|
25423
25956
|
let runtime = new $Util.RuntimeOptions({});
|
|
25424
25957
|
return await this.describeSiteMonitorQuotaWithOptions(request, runtime);
|
|
25425
25958
|
}
|
|
25959
|
+
/**
|
|
25960
|
+
* 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%`.
|
|
25961
|
+
*
|
|
25962
|
+
* @param request DescribeSiteMonitorStatisticsRequest
|
|
25963
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25964
|
+
* @return DescribeSiteMonitorStatisticsResponse
|
|
25965
|
+
*/
|
|
25426
25966
|
async describeSiteMonitorStatisticsWithOptions(request, runtime) {
|
|
25427
25967
|
tea_util_1.default.validateModel(request);
|
|
25428
25968
|
let query = {};
|
|
@@ -25454,6 +25994,12 @@ class Client extends openapi_client_1.default {
|
|
|
25454
25994
|
});
|
|
25455
25995
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSiteMonitorStatisticsResponse({}));
|
|
25456
25996
|
}
|
|
25997
|
+
/**
|
|
25998
|
+
* 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%`.
|
|
25999
|
+
*
|
|
26000
|
+
* @param request DescribeSiteMonitorStatisticsRequest
|
|
26001
|
+
* @return DescribeSiteMonitorStatisticsResponse
|
|
26002
|
+
*/
|
|
25457
26003
|
async describeSiteMonitorStatistics(request) {
|
|
25458
26004
|
let runtime = new $Util.RuntimeOptions({});
|
|
25459
26005
|
return await this.describeSiteMonitorStatisticsWithOptions(request, runtime);
|
|
@@ -25515,7 +26061,7 @@ class Client extends openapi_client_1.default {
|
|
|
25515
26061
|
return await this.describeSystemEventAttributeWithOptions(request, runtime);
|
|
25516
26062
|
}
|
|
25517
26063
|
/**
|
|
25518
|
-
*
|
|
26064
|
+
* 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.
|
|
25519
26065
|
*
|
|
25520
26066
|
* @param request DescribeSystemEventCountRequest
|
|
25521
26067
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25568,7 +26114,7 @@ class Client extends openapi_client_1.default {
|
|
|
25568
26114
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSystemEventCountResponse({}));
|
|
25569
26115
|
}
|
|
25570
26116
|
/**
|
|
25571
|
-
*
|
|
26117
|
+
* 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.
|
|
25572
26118
|
*
|
|
25573
26119
|
* @param request DescribeSystemEventCountRequest
|
|
25574
26120
|
* @return DescribeSystemEventCountResponse
|
|
@@ -25677,7 +26223,7 @@ class Client extends openapi_client_1.default {
|
|
|
25677
26223
|
return await this.describeTagKeyListWithOptions(request, runtime);
|
|
25678
26224
|
}
|
|
25679
26225
|
/**
|
|
25680
|
-
*
|
|
26226
|
+
* This topic provides an example of how to query the tag values corresponding to `tagKey1`. The return results are `tagValue1` and `tagValue2`.
|
|
25681
26227
|
*
|
|
25682
26228
|
* @param request DescribeTagValueListRequest
|
|
25683
26229
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25712,7 +26258,7 @@ class Client extends openapi_client_1.default {
|
|
|
25712
26258
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTagValueListResponse({}));
|
|
25713
26259
|
}
|
|
25714
26260
|
/**
|
|
25715
|
-
*
|
|
26261
|
+
* This topic provides an example of how to query the tag values corresponding to `tagKey1`. The return results are `tagValue1` and `tagValue2`.
|
|
25716
26262
|
*
|
|
25717
26263
|
* @param request DescribeTagValueListRequest
|
|
25718
26264
|
* @return DescribeTagValueListResponse
|
|
@@ -26037,9 +26583,8 @@ class Client extends openapi_client_1.default {
|
|
|
26037
26583
|
return await this.enableSiteMonitorsWithOptions(request, runtime);
|
|
26038
26584
|
}
|
|
26039
26585
|
/**
|
|
26040
|
-
*
|
|
26041
|
-
*
|
|
26042
|
-
* * false: The call failed.
|
|
26586
|
+
* ## Prerequisites
|
|
26587
|
+
* The Cloud Assistant client is installed on an ECS instance. For more information about how to install the Cloud Assistant client, see [Overview](~~64601~~).
|
|
26043
26588
|
*
|
|
26044
26589
|
* @param request InstallMonitoringAgentRequest
|
|
26045
26590
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26074,9 +26619,8 @@ class Client extends openapi_client_1.default {
|
|
|
26074
26619
|
return $tea.cast(await this.callApi(params, req, runtime), new InstallMonitoringAgentResponse({}));
|
|
26075
26620
|
}
|
|
26076
26621
|
/**
|
|
26077
|
-
*
|
|
26078
|
-
*
|
|
26079
|
-
* * false: The call failed.
|
|
26622
|
+
* ## Prerequisites
|
|
26623
|
+
* The Cloud Assistant client is installed on an ECS instance. For more information about how to install the Cloud Assistant client, see [Overview](~~64601~~).
|
|
26080
26624
|
*
|
|
26081
26625
|
* @param request InstallMonitoringAgentRequest
|
|
26082
26626
|
* @return InstallMonitoringAgentResponse
|
|
@@ -26121,9 +26665,7 @@ class Client extends openapi_client_1.default {
|
|
|
26121
26665
|
return await this.modifyGroupMonitoringAgentProcessWithOptions(request, runtime);
|
|
26122
26666
|
}
|
|
26123
26667
|
/**
|
|
26124
|
-
*
|
|
26125
|
-
* * true: The call was successful.
|
|
26126
|
-
* * false: The call failed.
|
|
26668
|
+
* 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`.
|
|
26127
26669
|
*
|
|
26128
26670
|
* @param request ModifyHostAvailabilityRequest
|
|
26129
26671
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26176,9 +26718,7 @@ class Client extends openapi_client_1.default {
|
|
|
26176
26718
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyHostAvailabilityResponse({}));
|
|
26177
26719
|
}
|
|
26178
26720
|
/**
|
|
26179
|
-
*
|
|
26180
|
-
* * true: The call was successful.
|
|
26181
|
-
* * false: The call failed.
|
|
26721
|
+
* 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`.
|
|
26182
26722
|
*
|
|
26183
26723
|
* @param request ModifyHostAvailabilityRequest
|
|
26184
26724
|
* @return ModifyHostAvailabilityResponse
|
|
@@ -26230,9 +26770,7 @@ class Client extends openapi_client_1.default {
|
|
|
26230
26770
|
return await this.modifyHostInfoWithOptions(request, runtime);
|
|
26231
26771
|
}
|
|
26232
26772
|
/**
|
|
26233
|
-
*
|
|
26234
|
-
* * true: The call was successful.
|
|
26235
|
-
* * false: The call failed.
|
|
26773
|
+
* 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.
|
|
26236
26774
|
*
|
|
26237
26775
|
* @param request ModifyHybridMonitorNamespaceRequest
|
|
26238
26776
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26267,9 +26805,7 @@ class Client extends openapi_client_1.default {
|
|
|
26267
26805
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyHybridMonitorNamespaceResponse({}));
|
|
26268
26806
|
}
|
|
26269
26807
|
/**
|
|
26270
|
-
*
|
|
26271
|
-
* * true: The call was successful.
|
|
26272
|
-
* * false: The call failed.
|
|
26808
|
+
* 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.
|
|
26273
26809
|
*
|
|
26274
26810
|
* @param request ModifyHybridMonitorNamespaceRequest
|
|
26275
26811
|
* @return ModifyHybridMonitorNamespaceResponse
|
|
@@ -26279,8 +26815,7 @@ class Client extends openapi_client_1.default {
|
|
|
26279
26815
|
return await this.modifyHybridMonitorNamespaceWithOptions(request, runtime);
|
|
26280
26816
|
}
|
|
26281
26817
|
/**
|
|
26282
|
-
* The
|
|
26283
|
-
* Valid values of N: 1 to 25.
|
|
26818
|
+
* 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.
|
|
26284
26819
|
*
|
|
26285
26820
|
* @param request ModifyHybridMonitorSLSGroupRequest
|
|
26286
26821
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26315,8 +26850,7 @@ class Client extends openapi_client_1.default {
|
|
|
26315
26850
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyHybridMonitorSLSGroupResponse({}));
|
|
26316
26851
|
}
|
|
26317
26852
|
/**
|
|
26318
|
-
* The
|
|
26319
|
-
* Valid values of N: 1 to 25.
|
|
26853
|
+
* 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.
|
|
26320
26854
|
*
|
|
26321
26855
|
* @param request ModifyHybridMonitorSLSGroupRequest
|
|
26322
26856
|
* @return ModifyHybridMonitorSLSGroupResponse
|
|
@@ -26326,7 +26860,7 @@ class Client extends openapi_client_1.default {
|
|
|
26326
26860
|
return await this.modifyHybridMonitorSLSGroupWithOptions(request, runtime);
|
|
26327
26861
|
}
|
|
26328
26862
|
/**
|
|
26329
|
-
*
|
|
26863
|
+
* 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.
|
|
26330
26864
|
*
|
|
26331
26865
|
* @param request ModifyHybridMonitorTaskRequest
|
|
26332
26866
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26370,7 +26904,7 @@ class Client extends openapi_client_1.default {
|
|
|
26370
26904
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyHybridMonitorTaskResponse({}));
|
|
26371
26905
|
}
|
|
26372
26906
|
/**
|
|
26373
|
-
*
|
|
26907
|
+
* 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.
|
|
26374
26908
|
*
|
|
26375
26909
|
* @param request ModifyHybridMonitorTaskRequest
|
|
26376
26910
|
* @return ModifyHybridMonitorTaskResponse
|
|
@@ -26436,9 +26970,7 @@ class Client extends openapi_client_1.default {
|
|
|
26436
26970
|
return await this.modifyMetricRuleBlackListWithOptions(request, runtime);
|
|
26437
26971
|
}
|
|
26438
26972
|
/**
|
|
26439
|
-
*
|
|
26440
|
-
* * true: The call was successful.
|
|
26441
|
-
* * false: The call failed.
|
|
26973
|
+
* 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.
|
|
26442
26974
|
*
|
|
26443
26975
|
* @param request ModifyMetricRuleTemplateRequest
|
|
26444
26976
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26479,9 +27011,7 @@ class Client extends openapi_client_1.default {
|
|
|
26479
27011
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyMetricRuleTemplateResponse({}));
|
|
26480
27012
|
}
|
|
26481
27013
|
/**
|
|
26482
|
-
*
|
|
26483
|
-
* * true: The call was successful.
|
|
26484
|
-
* * false: The call failed.
|
|
27014
|
+
* 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.
|
|
26485
27015
|
*
|
|
26486
27016
|
* @param request ModifyMetricRuleTemplateRequest
|
|
26487
27017
|
* @return ModifyMetricRuleTemplateResponse
|
|
@@ -26683,7 +27213,7 @@ class Client extends openapi_client_1.default {
|
|
|
26683
27213
|
return await this.putContactWithOptions(request, runtime);
|
|
26684
27214
|
}
|
|
26685
27215
|
/**
|
|
26686
|
-
*
|
|
27216
|
+
* This topic provides an example on how to create an alert contact group named `ECS_Group`.
|
|
26687
27217
|
*
|
|
26688
27218
|
* @param request PutContactGroupRequest
|
|
26689
27219
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26721,7 +27251,7 @@ class Client extends openapi_client_1.default {
|
|
|
26721
27251
|
return $tea.cast(await this.callApi(params, req, runtime), new PutContactGroupResponse({}));
|
|
26722
27252
|
}
|
|
26723
27253
|
/**
|
|
26724
|
-
*
|
|
27254
|
+
* This topic provides an example on how to create an alert contact group named `ECS_Group`.
|
|
26725
27255
|
*
|
|
26726
27256
|
* @param request PutContactGroupRequest
|
|
26727
27257
|
* @return PutContactGroupResponse
|
|
@@ -26757,7 +27287,7 @@ class Client extends openapi_client_1.default {
|
|
|
26757
27287
|
return await this.putCustomEventWithOptions(request, runtime);
|
|
26758
27288
|
}
|
|
26759
27289
|
/**
|
|
26760
|
-
*
|
|
27290
|
+
* Before you call this operation, call the PutCustomEvent operation to report the monitoring data of the custom event. For more information, see [PutCustomEvent](~~115012~~).
|
|
26761
27291
|
*
|
|
26762
27292
|
* @param request PutCustomEventRuleRequest
|
|
26763
27293
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26816,7 +27346,7 @@ class Client extends openapi_client_1.default {
|
|
|
26816
27346
|
return $tea.cast(await this.callApi(params, req, runtime), new PutCustomEventRuleResponse({}));
|
|
26817
27347
|
}
|
|
26818
27348
|
/**
|
|
26819
|
-
*
|
|
27349
|
+
* Before you call this operation, call the PutCustomEvent operation to report the monitoring data of the custom event. For more information, see [PutCustomEvent](~~115012~~).
|
|
26820
27350
|
*
|
|
26821
27351
|
* @param request PutCustomEventRuleRequest
|
|
26822
27352
|
* @return PutCustomEventRuleResponse
|
|
@@ -26826,11 +27356,7 @@ class Client extends openapi_client_1.default {
|
|
|
26826
27356
|
return await this.putCustomEventRuleWithOptions(request, runtime);
|
|
26827
27357
|
}
|
|
26828
27358
|
/**
|
|
26829
|
-
*
|
|
26830
|
-
* Set the value to a collection of key-value pairs. Format:`{"Key":"Value"}`.
|
|
26831
|
-
* The key or value must be 1 to 64 bytes in length. Excessive characters are truncated.
|
|
26832
|
-
* The key or value can contain letters, digits, periods (.), hyphens (-), underscores (\\_), forward slashes (/), and backslashes (\\\\).
|
|
26833
|
-
* > Dimensions must be formatted as a JSON string in a specified order.
|
|
27359
|
+
* > We recommend that you call the [PutHybridMonitorMetricData](~~383455~~) operation of Hybrid Cloud Monitoring to report monitoring data.
|
|
26834
27360
|
*
|
|
26835
27361
|
* @param request PutCustomMetricRequest
|
|
26836
27362
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26859,11 +27385,7 @@ class Client extends openapi_client_1.default {
|
|
|
26859
27385
|
return $tea.cast(await this.callApi(params, req, runtime), new PutCustomMetricResponse({}));
|
|
26860
27386
|
}
|
|
26861
27387
|
/**
|
|
26862
|
-
*
|
|
26863
|
-
* Set the value to a collection of key-value pairs. Format:`{"Key":"Value"}`.
|
|
26864
|
-
* The key or value must be 1 to 64 bytes in length. Excessive characters are truncated.
|
|
26865
|
-
* The key or value can contain letters, digits, periods (.), hyphens (-), underscores (\\_), forward slashes (/), and backslashes (\\\\).
|
|
26866
|
-
* > Dimensions must be formatted as a JSON string in a specified order.
|
|
27388
|
+
* > We recommend that you call the [PutHybridMonitorMetricData](~~383455~~) operation of Hybrid Cloud Monitoring to report monitoring data.
|
|
26867
27389
|
*
|
|
26868
27390
|
* @param request PutCustomMetricRequest
|
|
26869
27391
|
* @return PutCustomMetricResponse
|
|
@@ -26873,7 +27395,7 @@ class Client extends openapi_client_1.default {
|
|
|
26873
27395
|
return await this.putCustomMetricWithOptions(request, runtime);
|
|
26874
27396
|
}
|
|
26875
27397
|
/**
|
|
26876
|
-
*
|
|
27398
|
+
* Before you call this operation, call the PutCustomMetric operation to report custom monitoring data. For more information, see [PutCustomMetric](~~115004~~).
|
|
26877
27399
|
*
|
|
26878
27400
|
* @param request PutCustomMetricRuleRequest
|
|
26879
27401
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26947,7 +27469,7 @@ class Client extends openapi_client_1.default {
|
|
|
26947
27469
|
return $tea.cast(await this.callApi(params, req, runtime), new PutCustomMetricRuleResponse({}));
|
|
26948
27470
|
}
|
|
26949
27471
|
/**
|
|
26950
|
-
*
|
|
27472
|
+
* Before you call this operation, call the PutCustomMetric operation to report custom monitoring data. For more information, see [PutCustomMetric](~~115004~~).
|
|
26951
27473
|
*
|
|
26952
27474
|
* @param request PutCustomMetricRuleRequest
|
|
26953
27475
|
* @return PutCustomMetricRuleResponse
|
|
@@ -26957,7 +27479,8 @@ class Client extends openapi_client_1.default {
|
|
|
26957
27479
|
return await this.putCustomMetricRuleWithOptions(request, runtime);
|
|
26958
27480
|
}
|
|
26959
27481
|
/**
|
|
26960
|
-
*
|
|
27482
|
+
* 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.
|
|
27483
|
+
* In this example, the `myRuleName` alert rule is created for the `ecs` cloud service.
|
|
26961
27484
|
*
|
|
26962
27485
|
* @param request PutEventRuleRequest
|
|
26963
27486
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27004,7 +27527,8 @@ class Client extends openapi_client_1.default {
|
|
|
27004
27527
|
return $tea.cast(await this.callApi(params, req, runtime), new PutEventRuleResponse({}));
|
|
27005
27528
|
}
|
|
27006
27529
|
/**
|
|
27007
|
-
*
|
|
27530
|
+
* 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.
|
|
27531
|
+
* In this example, the `myRuleName` alert rule is created for the `ecs` cloud service.
|
|
27008
27532
|
*
|
|
27009
27533
|
* @param request PutEventRuleRequest
|
|
27010
27534
|
* @return PutEventRuleResponse
|
|
@@ -27147,9 +27671,7 @@ class Client extends openapi_client_1.default {
|
|
|
27147
27671
|
return await this.putExporterRuleWithOptions(request, runtime);
|
|
27148
27672
|
}
|
|
27149
27673
|
/**
|
|
27150
|
-
*
|
|
27151
|
-
* * true: The call was successful.
|
|
27152
|
-
* * false: The call failed.
|
|
27674
|
+
* 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`.
|
|
27153
27675
|
*
|
|
27154
27676
|
* @param request PutGroupMetricRuleRequest
|
|
27155
27677
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27232,9 +27754,7 @@ class Client extends openapi_client_1.default {
|
|
|
27232
27754
|
return $tea.cast(await this.callApi(params, req, runtime), new PutGroupMetricRuleResponse({}));
|
|
27233
27755
|
}
|
|
27234
27756
|
/**
|
|
27235
|
-
*
|
|
27236
|
-
* * true: The call was successful.
|
|
27237
|
-
* * false: The call failed.
|
|
27757
|
+
* 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`.
|
|
27238
27758
|
*
|
|
27239
27759
|
* @param request PutGroupMetricRuleRequest
|
|
27240
27760
|
* @return PutGroupMetricRuleResponse
|
|
@@ -27244,9 +27764,12 @@ class Client extends openapi_client_1.default {
|
|
|
27244
27764
|
return await this.putGroupMetricRuleWithOptions(request, runtime);
|
|
27245
27765
|
}
|
|
27246
27766
|
/**
|
|
27247
|
-
*
|
|
27248
|
-
*
|
|
27249
|
-
*
|
|
27767
|
+
* # [](#)Prerequisites
|
|
27768
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
27769
|
+
* # [](#)Limits
|
|
27770
|
+
* The size of the monitoring data that you import at a time must be less than or equal to 1 MB.
|
|
27771
|
+
* # [](#)Description
|
|
27772
|
+
* 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.
|
|
27250
27773
|
*
|
|
27251
27774
|
* @param request PutHybridMonitorMetricDataRequest
|
|
27252
27775
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27278,9 +27801,12 @@ class Client extends openapi_client_1.default {
|
|
|
27278
27801
|
return $tea.cast(await this.callApi(params, req, runtime), new PutHybridMonitorMetricDataResponse({}));
|
|
27279
27802
|
}
|
|
27280
27803
|
/**
|
|
27281
|
-
*
|
|
27282
|
-
*
|
|
27283
|
-
*
|
|
27804
|
+
* # [](#)Prerequisites
|
|
27805
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
27806
|
+
* # [](#)Limits
|
|
27807
|
+
* The size of the monitoring data that you import at a time must be less than or equal to 1 MB.
|
|
27808
|
+
* # [](#)Description
|
|
27809
|
+
* 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.
|
|
27284
27810
|
*
|
|
27285
27811
|
* @param request PutHybridMonitorMetricDataRequest
|
|
27286
27812
|
* @return PutHybridMonitorMetricDataResponse
|
|
@@ -27290,7 +27816,7 @@ class Client extends openapi_client_1.default {
|
|
|
27290
27816
|
return await this.putHybridMonitorMetricDataWithOptions(request, runtime);
|
|
27291
27817
|
}
|
|
27292
27818
|
/**
|
|
27293
|
-
*
|
|
27819
|
+
* 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****`.
|
|
27294
27820
|
*
|
|
27295
27821
|
* @param request PutLogMonitorRequest
|
|
27296
27822
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27355,7 +27881,7 @@ class Client extends openapi_client_1.default {
|
|
|
27355
27881
|
return $tea.cast(await this.callApi(params, req, runtime), new PutLogMonitorResponse({}));
|
|
27356
27882
|
}
|
|
27357
27883
|
/**
|
|
27358
|
-
*
|
|
27884
|
+
* 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****`.
|
|
27359
27885
|
*
|
|
27360
27886
|
* @param request PutLogMonitorRequest
|
|
27361
27887
|
* @return PutLogMonitorResponse
|
|
@@ -27365,9 +27891,8 @@ class Client extends openapi_client_1.default {
|
|
|
27365
27891
|
return await this.putLogMonitorWithOptions(request, runtime);
|
|
27366
27892
|
}
|
|
27367
27893
|
/**
|
|
27368
|
-
*
|
|
27369
|
-
*
|
|
27370
|
-
* * false: The call failed.
|
|
27894
|
+
* ## Limit
|
|
27895
|
+
* This operation supports only Message Service (MNS) resources.
|
|
27371
27896
|
*
|
|
27372
27897
|
* @param request PutMetricRuleTargetsRequest
|
|
27373
27898
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27399,9 +27924,8 @@ class Client extends openapi_client_1.default {
|
|
|
27399
27924
|
return $tea.cast(await this.callApi(params, req, runtime), new PutMetricRuleTargetsResponse({}));
|
|
27400
27925
|
}
|
|
27401
27926
|
/**
|
|
27402
|
-
*
|
|
27403
|
-
*
|
|
27404
|
-
* * false: The call failed.
|
|
27927
|
+
* ## Limit
|
|
27928
|
+
* This operation supports only Message Service (MNS) resources.
|
|
27405
27929
|
*
|
|
27406
27930
|
* @param request PutMetricRuleTargetsRequest
|
|
27407
27931
|
* @return PutMetricRuleTargetsResponse
|
|
@@ -27472,8 +27996,7 @@ class Client extends openapi_client_1.default {
|
|
|
27472
27996
|
return await this.putMonitoringConfigWithOptions(request, runtime);
|
|
27473
27997
|
}
|
|
27474
27998
|
/**
|
|
27475
|
-
* The
|
|
27476
|
-
* > If an alert is not cleared within the mute period, a new alert notification is sent when the mute period ends.
|
|
27999
|
+
* 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`.
|
|
27477
28000
|
*
|
|
27478
28001
|
* @param tmpReq PutResourceMetricRuleRequest
|
|
27479
28002
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27561,8 +28084,7 @@ class Client extends openapi_client_1.default {
|
|
|
27561
28084
|
return $tea.cast(await this.callApi(params, req, runtime), new PutResourceMetricRuleResponse({}));
|
|
27562
28085
|
}
|
|
27563
28086
|
/**
|
|
27564
|
-
* The
|
|
27565
|
-
* > If an alert is not cleared within the mute period, a new alert notification is sent when the mute period ends.
|
|
28087
|
+
* 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`.
|
|
27566
28088
|
*
|
|
27567
28089
|
* @param request PutResourceMetricRuleRequest
|
|
27568
28090
|
* @return PutResourceMetricRuleResponse
|
|
@@ -27572,9 +28094,7 @@ class Client extends openapi_client_1.default {
|
|
|
27572
28094
|
return await this.putResourceMetricRuleWithOptions(request, runtime);
|
|
27573
28095
|
}
|
|
27574
28096
|
/**
|
|
27575
|
-
*
|
|
27576
|
-
* * true: The call was successful.
|
|
27577
|
-
* * false: The call failed.
|
|
28097
|
+
* 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`.
|
|
27578
28098
|
*
|
|
27579
28099
|
* @param request PutResourceMetricRulesRequest
|
|
27580
28100
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27603,9 +28123,7 @@ class Client extends openapi_client_1.default {
|
|
|
27603
28123
|
return $tea.cast(await this.callApi(params, req, runtime), new PutResourceMetricRulesResponse({}));
|
|
27604
28124
|
}
|
|
27605
28125
|
/**
|
|
27606
|
-
*
|
|
27607
|
-
* * true: The call was successful.
|
|
27608
|
-
* * false: The call failed.
|
|
28126
|
+
* 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`.
|
|
27609
28127
|
*
|
|
27610
28128
|
* @param request PutResourceMetricRulesRequest
|
|
27611
28129
|
* @return PutResourceMetricRulesResponse
|
|
@@ -27644,8 +28162,7 @@ class Client extends openapi_client_1.default {
|
|
|
27644
28162
|
return await this.removeTagsWithOptions(request, runtime);
|
|
27645
28163
|
}
|
|
27646
28164
|
/**
|
|
27647
|
-
*
|
|
27648
|
-
* > For information about the system events supported by Cloud Monitor for Alibaba Cloud services, see [System events](~~167388~~).
|
|
28165
|
+
* 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.
|
|
27649
28166
|
*
|
|
27650
28167
|
* @param request SendDryRunSystemEventRequest
|
|
27651
28168
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27683,8 +28200,7 @@ class Client extends openapi_client_1.default {
|
|
|
27683
28200
|
return $tea.cast(await this.callApi(params, req, runtime), new SendDryRunSystemEventResponse({}));
|
|
27684
28201
|
}
|
|
27685
28202
|
/**
|
|
27686
|
-
*
|
|
27687
|
-
* > For information about the system events supported by Cloud Monitor for Alibaba Cloud services, see [System events](~~167388~~).
|
|
28203
|
+
* 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.
|
|
27688
28204
|
*
|
|
27689
28205
|
* @param request SendDryRunSystemEventRequest
|
|
27690
28206
|
* @return SendDryRunSystemEventResponse
|
|
@@ -27694,7 +28210,7 @@ class Client extends openapi_client_1.default {
|
|
|
27694
28210
|
return await this.sendDryRunSystemEventWithOptions(request, runtime);
|
|
27695
28211
|
}
|
|
27696
28212
|
/**
|
|
27697
|
-
*
|
|
28213
|
+
* > 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~~).
|
|
27698
28214
|
*
|
|
27699
28215
|
* @param request UninstallMonitoringAgentRequest
|
|
27700
28216
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27723,7 +28239,7 @@ class Client extends openapi_client_1.default {
|
|
|
27723
28239
|
return $tea.cast(await this.callApi(params, req, runtime), new UninstallMonitoringAgentResponse({}));
|
|
27724
28240
|
}
|
|
27725
28241
|
/**
|
|
27726
|
-
*
|
|
28242
|
+
* > 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~~).
|
|
27727
28243
|
*
|
|
27728
28244
|
* @param request UninstallMonitoringAgentRequest
|
|
27729
28245
|
* @return UninstallMonitoringAgentResponse
|