@alicloud/cms20190101 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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);
@@ -4962,6 +4992,7 @@ class DescribeEventRuleListRequest extends $tea.Model {
4962
4992
  static names() {
4963
4993
  return {
4964
4994
  groupId: 'GroupId',
4995
+ isEnable: 'IsEnable',
4965
4996
  namePrefix: 'NamePrefix',
4966
4997
  pageNumber: 'PageNumber',
4967
4998
  pageSize: 'PageSize',
@@ -4971,6 +5002,7 @@ class DescribeEventRuleListRequest extends $tea.Model {
4971
5002
  static types() {
4972
5003
  return {
4973
5004
  groupId: 'string',
5005
+ isEnable: 'boolean',
4974
5006
  namePrefix: 'string',
4975
5007
  pageNumber: 'string',
4976
5008
  pageSize: 'string',
@@ -11869,6 +11901,406 @@ class EscalationRuleEscalations extends $tea.Model {
11869
11901
  }
11870
11902
  }
11871
11903
  exports.EscalationRuleEscalations = EscalationRuleEscalations;
11904
+ class MigrationJobPlanContactsChannels extends $tea.Model {
11905
+ constructor(map) {
11906
+ super(map);
11907
+ }
11908
+ static names() {
11909
+ return {
11910
+ level: 'Level',
11911
+ type: 'Type',
11912
+ value: 'Value',
11913
+ };
11914
+ }
11915
+ static types() {
11916
+ return {
11917
+ level: 'number',
11918
+ type: 'string',
11919
+ value: 'string',
11920
+ };
11921
+ }
11922
+ }
11923
+ exports.MigrationJobPlanContactsChannels = MigrationJobPlanContactsChannels;
11924
+ class MigrationJobPlanContacts extends $tea.Model {
11925
+ constructor(map) {
11926
+ super(map);
11927
+ }
11928
+ static names() {
11929
+ return {
11930
+ channels: 'Channels',
11931
+ name: 'Name',
11932
+ };
11933
+ }
11934
+ static types() {
11935
+ return {
11936
+ channels: { 'type': 'array', 'itemType': MigrationJobPlanContactsChannels },
11937
+ name: 'string',
11938
+ };
11939
+ }
11940
+ }
11941
+ exports.MigrationJobPlanContacts = MigrationJobPlanContacts;
11942
+ class MigrationJobPlanEscalationsEscalationsLevelGroups extends $tea.Model {
11943
+ constructor(map) {
11944
+ super(map);
11945
+ }
11946
+ static names() {
11947
+ return {
11948
+ critical: 'Critical',
11949
+ info: 'Info',
11950
+ resolved: 'Resolved',
11951
+ warning: 'Warning',
11952
+ };
11953
+ }
11954
+ static types() {
11955
+ return {
11956
+ critical: { 'type': 'array', 'itemType': 'string' },
11957
+ info: { 'type': 'array', 'itemType': 'string' },
11958
+ resolved: { 'type': 'array', 'itemType': 'string' },
11959
+ warning: { 'type': 'array', 'itemType': 'string' },
11960
+ };
11961
+ }
11962
+ }
11963
+ exports.MigrationJobPlanEscalationsEscalationsLevelGroups = MigrationJobPlanEscalationsEscalationsLevelGroups;
11964
+ class MigrationJobPlanEscalationsEscalations extends $tea.Model {
11965
+ constructor(map) {
11966
+ super(map);
11967
+ }
11968
+ static names() {
11969
+ return {
11970
+ groups: 'Groups',
11971
+ levelGroups: 'LevelGroups',
11972
+ };
11973
+ }
11974
+ static types() {
11975
+ return {
11976
+ groups: { 'type': 'array', 'itemType': 'string' },
11977
+ levelGroups: MigrationJobPlanEscalationsEscalationsLevelGroups,
11978
+ };
11979
+ }
11980
+ }
11981
+ exports.MigrationJobPlanEscalationsEscalations = MigrationJobPlanEscalationsEscalations;
11982
+ class MigrationJobPlanEscalations extends $tea.Model {
11983
+ constructor(map) {
11984
+ super(map);
11985
+ }
11986
+ static names() {
11987
+ return {
11988
+ escalations: 'Escalations',
11989
+ name: 'Name',
11990
+ uuid: 'Uuid',
11991
+ };
11992
+ }
11993
+ static types() {
11994
+ return {
11995
+ escalations: { 'type': 'array', 'itemType': MigrationJobPlanEscalationsEscalations },
11996
+ name: 'string',
11997
+ uuid: 'string',
11998
+ };
11999
+ }
12000
+ }
12001
+ exports.MigrationJobPlanEscalations = MigrationJobPlanEscalations;
12002
+ class MigrationJobPlanGroups extends $tea.Model {
12003
+ constructor(map) {
12004
+ super(map);
12005
+ }
12006
+ static names() {
12007
+ return {
12008
+ contacts: 'Contacts',
12009
+ name: 'Name',
12010
+ };
12011
+ }
12012
+ static types() {
12013
+ return {
12014
+ contacts: { 'type': 'array', 'itemType': 'string' },
12015
+ name: 'string',
12016
+ };
12017
+ }
12018
+ }
12019
+ exports.MigrationJobPlanGroups = MigrationJobPlanGroups;
12020
+ class MigrationJobPlanStrategiesEscalationSetting extends $tea.Model {
12021
+ constructor(map) {
12022
+ super(map);
12023
+ }
12024
+ static names() {
12025
+ return {
12026
+ escalationUuid: 'escalationUuid',
12027
+ };
12028
+ }
12029
+ static types() {
12030
+ return {
12031
+ escalationUuid: 'string',
12032
+ };
12033
+ }
12034
+ }
12035
+ exports.MigrationJobPlanStrategiesEscalationSetting = MigrationJobPlanStrategiesEscalationSetting;
12036
+ class MigrationJobPlanStrategiesPushingSetting extends $tea.Model {
12037
+ constructor(map) {
12038
+ super(map);
12039
+ }
12040
+ static names() {
12041
+ return {
12042
+ targetUuids: 'TargetUuids',
12043
+ };
12044
+ }
12045
+ static types() {
12046
+ return {
12047
+ targetUuids: { 'type': 'array', 'itemType': 'string' },
12048
+ };
12049
+ }
12050
+ }
12051
+ exports.MigrationJobPlanStrategiesPushingSetting = MigrationJobPlanStrategiesPushingSetting;
12052
+ class MigrationJobPlanStrategies extends $tea.Model {
12053
+ constructor(map) {
12054
+ super(map);
12055
+ }
12056
+ static names() {
12057
+ return {
12058
+ escalationSetting: 'EscalationSetting',
12059
+ name: 'Name',
12060
+ pushingSetting: 'PushingSetting',
12061
+ };
12062
+ }
12063
+ static types() {
12064
+ return {
12065
+ escalationSetting: MigrationJobPlanStrategiesEscalationSetting,
12066
+ name: 'string',
12067
+ pushingSetting: MigrationJobPlanStrategiesPushingSetting,
12068
+ };
12069
+ }
12070
+ }
12071
+ exports.MigrationJobPlanStrategies = MigrationJobPlanStrategies;
12072
+ class MigrationJobPlanSubscriptionsConditions extends $tea.Model {
12073
+ constructor(map) {
12074
+ super(map);
12075
+ }
12076
+ static names() {
12077
+ return {
12078
+ field: 'Field',
12079
+ op: 'Op',
12080
+ value: 'Value',
12081
+ };
12082
+ }
12083
+ static types() {
12084
+ return {
12085
+ field: 'string',
12086
+ op: 'string',
12087
+ value: 'string',
12088
+ };
12089
+ }
12090
+ }
12091
+ exports.MigrationJobPlanSubscriptionsConditions = MigrationJobPlanSubscriptionsConditions;
12092
+ class MigrationJobPlanSubscriptions extends $tea.Model {
12093
+ constructor(map) {
12094
+ super(map);
12095
+ }
12096
+ static names() {
12097
+ return {
12098
+ conditions: 'Conditions',
12099
+ name: 'Name',
12100
+ strategyUuid: 'StrategyUuid',
12101
+ };
12102
+ }
12103
+ static types() {
12104
+ return {
12105
+ conditions: { 'type': 'array', 'itemType': MigrationJobPlanSubscriptionsConditions },
12106
+ name: 'string',
12107
+ strategyUuid: 'string',
12108
+ };
12109
+ }
12110
+ }
12111
+ exports.MigrationJobPlanSubscriptions = MigrationJobPlanSubscriptions;
12112
+ class MigrationJobPlanTargetsHttpRequestTarget extends $tea.Model {
12113
+ constructor(map) {
12114
+ super(map);
12115
+ }
12116
+ static names() {
12117
+ return {
12118
+ contentType: 'ContentType',
12119
+ method: 'Method',
12120
+ url: 'Url',
12121
+ };
12122
+ }
12123
+ static types() {
12124
+ return {
12125
+ contentType: 'string',
12126
+ method: 'string',
12127
+ url: 'string',
12128
+ };
12129
+ }
12130
+ }
12131
+ exports.MigrationJobPlanTargetsHttpRequestTarget = MigrationJobPlanTargetsHttpRequestTarget;
12132
+ class MigrationJobPlanTargets extends $tea.Model {
12133
+ constructor(map) {
12134
+ super(map);
12135
+ }
12136
+ static names() {
12137
+ return {
12138
+ arn: 'Arn',
12139
+ httpRequestTarget: 'HttpRequestTarget',
12140
+ name: 'Name',
12141
+ type: 'Type',
12142
+ uuid: 'Uuid',
12143
+ };
12144
+ }
12145
+ static types() {
12146
+ return {
12147
+ arn: 'string',
12148
+ httpRequestTarget: MigrationJobPlanTargetsHttpRequestTarget,
12149
+ name: 'string',
12150
+ type: 'string',
12151
+ uuid: 'string',
12152
+ };
12153
+ }
12154
+ }
12155
+ exports.MigrationJobPlanTargets = MigrationJobPlanTargets;
12156
+ class MigrationJobPlan extends $tea.Model {
12157
+ constructor(map) {
12158
+ super(map);
12159
+ }
12160
+ static names() {
12161
+ return {
12162
+ contacts: 'Contacts',
12163
+ escalations: 'Escalations',
12164
+ groups: 'Groups',
12165
+ ruleNames: 'RuleNames',
12166
+ strategies: 'Strategies',
12167
+ subscriptions: 'Subscriptions',
12168
+ targets: 'Targets',
12169
+ };
12170
+ }
12171
+ static types() {
12172
+ return {
12173
+ contacts: { 'type': 'array', 'itemType': MigrationJobPlanContacts },
12174
+ escalations: { 'type': 'array', 'itemType': MigrationJobPlanEscalations },
12175
+ groups: { 'type': 'array', 'itemType': MigrationJobPlanGroups },
12176
+ ruleNames: { 'type': 'array', 'itemType': 'string' },
12177
+ strategies: { 'type': 'array', 'itemType': MigrationJobPlanStrategies },
12178
+ subscriptions: { 'type': 'array', 'itemType': MigrationJobPlanSubscriptions },
12179
+ targets: { 'type': 'array', 'itemType': MigrationJobPlanTargets },
12180
+ };
12181
+ }
12182
+ }
12183
+ exports.MigrationJobPlan = MigrationJobPlan;
12184
+ class MigrationJobSourceRuleKeywordFilter extends $tea.Model {
12185
+ constructor(map) {
12186
+ super(map);
12187
+ }
12188
+ static names() {
12189
+ return {
12190
+ keywords: 'Keywords',
12191
+ relation: 'Relation',
12192
+ };
12193
+ }
12194
+ static types() {
12195
+ return {
12196
+ keywords: { 'type': 'array', 'itemType': 'string' },
12197
+ relation: 'string',
12198
+ };
12199
+ }
12200
+ }
12201
+ exports.MigrationJobSourceRuleKeywordFilter = MigrationJobSourceRuleKeywordFilter;
12202
+ class MigrationJobSourceRulePrimaryFilters extends $tea.Model {
12203
+ constructor(map) {
12204
+ super(map);
12205
+ }
12206
+ static names() {
12207
+ return {
12208
+ field: 'Field',
12209
+ opType: 'OpType',
12210
+ value: 'Value',
12211
+ };
12212
+ }
12213
+ static types() {
12214
+ return {
12215
+ field: 'string',
12216
+ opType: 'string',
12217
+ value: 'string',
12218
+ };
12219
+ }
12220
+ }
12221
+ exports.MigrationJobSourceRulePrimaryFilters = MigrationJobSourceRulePrimaryFilters;
12222
+ class MigrationJobSourceRule extends $tea.Model {
12223
+ constructor(map) {
12224
+ super(map);
12225
+ }
12226
+ static names() {
12227
+ return {
12228
+ keywordFilter: 'KeywordFilter',
12229
+ name: 'Name',
12230
+ primaryFilters: 'PrimaryFilters',
12231
+ };
12232
+ }
12233
+ static types() {
12234
+ return {
12235
+ keywordFilter: MigrationJobSourceRuleKeywordFilter,
12236
+ name: 'string',
12237
+ primaryFilters: { 'type': 'array', 'itemType': MigrationJobSourceRulePrimaryFilters },
12238
+ };
12239
+ }
12240
+ }
12241
+ exports.MigrationJobSourceRule = MigrationJobSourceRule;
12242
+ class MigrationJobSourceTargetsContent extends $tea.Model {
12243
+ constructor(map) {
12244
+ super(map);
12245
+ }
12246
+ static names() {
12247
+ return {
12248
+ group: 'Group',
12249
+ level: 'Level',
12250
+ method: 'Method',
12251
+ region: 'Region',
12252
+ resourcePath: 'ResourcePath',
12253
+ url: 'Url',
12254
+ };
12255
+ }
12256
+ static types() {
12257
+ return {
12258
+ group: 'string',
12259
+ level: 'string',
12260
+ method: 'string',
12261
+ region: 'string',
12262
+ resourcePath: 'string',
12263
+ url: 'string',
12264
+ };
12265
+ }
12266
+ }
12267
+ exports.MigrationJobSourceTargetsContent = MigrationJobSourceTargetsContent;
12268
+ class MigrationJobSourceTargets extends $tea.Model {
12269
+ constructor(map) {
12270
+ super(map);
12271
+ }
12272
+ static names() {
12273
+ return {
12274
+ content: 'Content',
12275
+ type: 'Type',
12276
+ };
12277
+ }
12278
+ static types() {
12279
+ return {
12280
+ content: MigrationJobSourceTargetsContent,
12281
+ type: 'string',
12282
+ };
12283
+ }
12284
+ }
12285
+ exports.MigrationJobSourceTargets = MigrationJobSourceTargets;
12286
+ class MigrationJobSource extends $tea.Model {
12287
+ constructor(map) {
12288
+ super(map);
12289
+ }
12290
+ static names() {
12291
+ return {
12292
+ rule: 'Rule',
12293
+ targets: 'Targets',
12294
+ };
12295
+ }
12296
+ static types() {
12297
+ return {
12298
+ rule: MigrationJobSourceRule,
12299
+ targets: { 'type': 'array', 'itemType': MigrationJobSourceTargets },
12300
+ };
12301
+ }
12302
+ }
12303
+ exports.MigrationJobSource = MigrationJobSource;
11872
12304
  class NotificationStrategyEscalationSettingCustomChannels extends $tea.Model {
11873
12305
  constructor(map) {
11874
12306
  super(map);
@@ -14479,6 +14911,40 @@ class DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList exte
14479
14911
  }
14480
14912
  }
14481
14913
  exports.DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList = DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList;
14914
+ class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords extends $tea.Model {
14915
+ constructor(map) {
14916
+ super(map);
14917
+ }
14918
+ static names() {
14919
+ return {
14920
+ keyword: 'keyword',
14921
+ };
14922
+ }
14923
+ static types() {
14924
+ return {
14925
+ keyword: { 'type': 'array', 'itemType': 'string' },
14926
+ };
14927
+ }
14928
+ }
14929
+ exports.DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords = DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords;
14930
+ class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj extends $tea.Model {
14931
+ constructor(map) {
14932
+ super(map);
14933
+ }
14934
+ static names() {
14935
+ return {
14936
+ keywords: 'Keywords',
14937
+ relation: 'Relation',
14938
+ };
14939
+ }
14940
+ static types() {
14941
+ return {
14942
+ keywords: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords,
14943
+ relation: 'string',
14944
+ };
14945
+ }
14946
+ }
14947
+ exports.DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj = DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj;
14482
14948
  class DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList extends $tea.Model {
14483
14949
  constructor(map) {
14484
14950
  super(map);
@@ -14534,18 +15000,22 @@ class DescribeEventRuleAttributeResponseBodyResultEventPattern extends $tea.Mode
14534
15000
  static names() {
14535
15001
  return {
14536
15002
  eventTypeList: 'EventTypeList',
15003
+ keywordFilterObj: 'KeywordFilterObj',
14537
15004
  levelList: 'LevelList',
14538
15005
  nameList: 'NameList',
14539
15006
  product: 'Product',
15007
+ SQLFilter: 'SQLFilter',
14540
15008
  statusList: 'StatusList',
14541
15009
  };
14542
15010
  }
14543
15011
  static types() {
14544
15012
  return {
14545
15013
  eventTypeList: DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList,
15014
+ keywordFilterObj: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj,
14546
15015
  levelList: DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList,
14547
15016
  nameList: DescribeEventRuleAttributeResponseBodyResultEventPatternNameList,
14548
15017
  product: 'string',
15018
+ SQLFilter: 'string',
14549
15019
  statusList: DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList,
14550
15020
  };
14551
15021
  }
@@ -18169,6 +18639,7 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
18169
18639
  trafficHijackElementCount: 'traffic_hijack_element_count',
18170
18640
  trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
18171
18641
  username: 'username',
18642
+ waitTimeAfterCompletion: 'waitTime_after_completion',
18172
18643
  };
18173
18644
  }
18174
18645
  static types() {
@@ -18215,6 +18686,7 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
18215
18686
  trafficHijackElementCount: 'number',
18216
18687
  trafficHijackElementWhitelist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist,
18217
18688
  username: 'string',
18689
+ waitTimeAfterCompletion: 'number',
18218
18690
  };
18219
18691
  }
18220
18692
  }
@@ -20576,9 +21048,7 @@ class Client extends openapi_client_1.default {
20576
21048
  return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
20577
21049
  }
20578
21050
  /**
20579
- * Indicates whether the call was successful. Valid values:
20580
- * * true: The call was successful.
20581
- * * false: The call failed.
21051
+ * 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
21052
  *
20583
21053
  * @param request AddTagsRequest
20584
21054
  * @param runtime runtime options for this request RuntimeOptions
@@ -20610,9 +21080,7 @@ class Client extends openapi_client_1.default {
20610
21080
  return $tea.cast(await this.callApi(params, req, runtime), new AddTagsResponse({}));
20611
21081
  }
20612
21082
  /**
20613
- * Indicates whether the call was successful. Valid values:
20614
- * * true: The call was successful.
20615
- * * false: The call failed.
21083
+ * 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
21084
  *
20617
21085
  * @param request AddTagsRequest
20618
21086
  * @return AddTagsResponse
@@ -20763,6 +21231,16 @@ class Client extends openapi_client_1.default {
20763
21231
  let runtime = new $Util.RuntimeOptions({});
20764
21232
  return await this.batchCreateIntantSiteMonitorWithOptions(request, runtime);
20765
21233
  }
21234
+ /**
21235
+ * ### [](#)Prerequisites
21236
+ * The `Cursor` information is returned by calling the [Cursor](~~2330730~~) operation.
21237
+ * ### [](#)Description
21238
+ * 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.
21239
+ *
21240
+ * @param tmpReq BatchExportRequest
21241
+ * @param runtime runtime options for this request RuntimeOptions
21242
+ * @return BatchExportResponse
21243
+ */
20766
21244
  async batchExportWithOptions(tmpReq, runtime) {
20767
21245
  tea_util_1.default.validateModel(tmpReq);
20768
21246
  let request = new BatchExportShrinkRequest({});
@@ -20802,6 +21280,15 @@ class Client extends openapi_client_1.default {
20802
21280
  });
20803
21281
  return $tea.cast(await this.callApi(params, req, runtime), new BatchExportResponse({}));
20804
21282
  }
21283
+ /**
21284
+ * ### [](#)Prerequisites
21285
+ * The `Cursor` information is returned by calling the [Cursor](~~2330730~~) operation.
21286
+ * ### [](#)Description
21287
+ * 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.
21288
+ *
21289
+ * @param request BatchExportRequest
21290
+ * @return BatchExportResponse
21291
+ */
20805
21292
  async batchExport(request) {
20806
21293
  let runtime = new $Util.RuntimeOptions({});
20807
21294
  return await this.batchExportWithOptions(request, runtime);
@@ -21107,7 +21594,7 @@ class Client extends openapi_client_1.default {
21107
21594
  return await this.createGroupMonitoringAgentProcessWithOptions(request, runtime);
21108
21595
  }
21109
21596
  /**
21110
- * The ID of the resource for which alerts are triggered.
21597
+ * 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
21598
  *
21112
21599
  * @param request CreateHostAvailabilityRequest
21113
21600
  * @param runtime runtime options for this request RuntimeOptions
@@ -21160,7 +21647,7 @@ class Client extends openapi_client_1.default {
21160
21647
  return $tea.cast(await this.callApi(params, req, runtime), new CreateHostAvailabilityResponse({}));
21161
21648
  }
21162
21649
  /**
21163
- * The ID of the resource for which alerts are triggered.
21650
+ * 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
21651
  *
21165
21652
  * @param request CreateHostAvailabilityRequest
21166
21653
  * @return CreateHostAvailabilityResponse
@@ -21394,8 +21881,9 @@ class Client extends openapi_client_1.default {
21394
21881
  return await this.createInstantSiteMonitorWithOptions(request, runtime);
21395
21882
  }
21396
21883
  /**
21397
- * The name of the metric.
21398
- * Valid values of N: 1 to 10
21884
+ * ### Background information
21885
+ * * 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.
21886
+ * * 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
21887
  *
21400
21888
  * @param request CreateMetricRuleBlackListRequest
21401
21889
  * @param runtime runtime options for this request RuntimeOptions
@@ -21451,8 +21939,9 @@ class Client extends openapi_client_1.default {
21451
21939
  return $tea.cast(await this.callApi(params, req, runtime), new CreateMetricRuleBlackListResponse({}));
21452
21940
  }
21453
21941
  /**
21454
- * The name of the metric.
21455
- * Valid values of N: 1 to 10
21942
+ * ### Background information
21943
+ * * 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.
21944
+ * * 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
21945
  *
21457
21946
  * @param request CreateMetricRuleBlackListRequest
21458
21947
  * @return CreateMetricRuleBlackListResponse
@@ -21600,8 +22089,7 @@ class Client extends openapi_client_1.default {
21600
22089
  return await this.createMonitorGroupWithOptions(request, runtime);
21601
22090
  }
21602
22091
  /**
21603
- * The ID of the region where the resource group resides.
21604
- * For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
22092
+ * 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
22093
  *
21606
22094
  * @param request CreateMonitorGroupByResourceGroupIdRequest
21607
22095
  * @param runtime runtime options for this request RuntimeOptions
@@ -21645,8 +22133,7 @@ class Client extends openapi_client_1.default {
21645
22133
  return $tea.cast(await this.callApi(params, req, runtime), new CreateMonitorGroupByResourceGroupIdResponse({}));
21646
22134
  }
21647
22135
  /**
21648
- * The ID of the region where the resource group resides.
21649
- * For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
22136
+ * 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
22137
  *
21651
22138
  * @param request CreateMonitorGroupByResourceGroupIdRequest
21652
22139
  * @return CreateMonitorGroupByResourceGroupIdResponse
@@ -21780,9 +22267,7 @@ class Client extends openapi_client_1.default {
21780
22267
  return await this.createMonitoringAgentProcessWithOptions(request, runtime);
21781
22268
  }
21782
22269
  /**
21783
- * Indicates whether the call was successful. Valid values:
21784
- * * true: The call was successful.
21785
- * * false: The call failed.
22270
+ * 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
22271
  *
21787
22272
  * @param request CreateSiteMonitorRequest
21788
22273
  * @param runtime runtime options for this request RuntimeOptions
@@ -21832,9 +22317,7 @@ class Client extends openapi_client_1.default {
21832
22317
  return $tea.cast(await this.callApi(params, req, runtime), new CreateSiteMonitorResponse({}));
21833
22318
  }
21834
22319
  /**
21835
- * Indicates whether the call was successful. Valid values:
21836
- * * true: The call was successful.
21837
- * * 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`.
21838
22321
  *
21839
22322
  * @param request CreateSiteMonitorRequest
21840
22323
  * @return CreateSiteMonitorResponse
@@ -21843,6 +22326,18 @@ class Client extends openapi_client_1.default {
21843
22326
  let runtime = new $Util.RuntimeOptions({});
21844
22327
  return await this.createSiteMonitorWithOptions(request, runtime);
21845
22328
  }
22329
+ /**
22330
+ * ### [](#)Prerequisites
22331
+ * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
22332
+ * ### [](#)Background information
22333
+ * You can call this operation to obtain the Cursor information and then call the [BatchExport](~~2329847~~) operation to export the monitoring data.
22334
+ * ### [](#)Description
22335
+ * 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.
22336
+ *
22337
+ * @param tmpReq CursorRequest
22338
+ * @param runtime runtime options for this request RuntimeOptions
22339
+ * @return CursorResponse
22340
+ */
21846
22341
  async cursorWithOptions(tmpReq, runtime) {
21847
22342
  tea_util_1.default.validateModel(tmpReq);
21848
22343
  let request = new CursorShrinkRequest({});
@@ -21885,6 +22380,17 @@ class Client extends openapi_client_1.default {
21885
22380
  });
21886
22381
  return $tea.cast(await this.callApi(params, req, runtime), new CursorResponse({}));
21887
22382
  }
22383
+ /**
22384
+ * ### [](#)Prerequisites
22385
+ * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
22386
+ * ### [](#)Background information
22387
+ * You can call this operation to obtain the Cursor information and then call the [BatchExport](~~2329847~~) operation to export the monitoring data.
22388
+ * ### [](#)Description
22389
+ * 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.
22390
+ *
22391
+ * @param request CursorRequest
22392
+ * @return CursorResponse
22393
+ */
21888
22394
  async cursor(request) {
21889
22395
  let runtime = new $Util.RuntimeOptions({});
21890
22396
  return await this.cursorWithOptions(request, runtime);
@@ -22208,9 +22714,7 @@ class Client extends openapi_client_1.default {
22208
22714
  return await this.deleteHybridMonitorNamespaceWithOptions(request, runtime);
22209
22715
  }
22210
22716
  /**
22211
- * Indicates whether the call is successful. Valid values:
22212
- * * true: The call is successful.
22213
- * * false: The call fails.
22717
+ * 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
22718
  *
22215
22719
  * @param request DeleteHybridMonitorSLSGroupRequest
22216
22720
  * @param runtime runtime options for this request RuntimeOptions
@@ -22239,9 +22743,7 @@ class Client extends openapi_client_1.default {
22239
22743
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteHybridMonitorSLSGroupResponse({}));
22240
22744
  }
22241
22745
  /**
22242
- * Indicates whether the call is successful. Valid values:
22243
- * * true: The call is successful.
22244
- * * false: The call fails.
22746
+ * 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
22747
  *
22246
22748
  * @param request DeleteHybridMonitorSLSGroupRequest
22247
22749
  * @return DeleteHybridMonitorSLSGroupResponse
@@ -22251,9 +22753,7 @@ class Client extends openapi_client_1.default {
22251
22753
  return await this.deleteHybridMonitorSLSGroupWithOptions(request, runtime);
22252
22754
  }
22253
22755
  /**
22254
- * Indicates whether the call was successful. Valid values:
22255
- * * true: The call was successful.
22256
- * * false: The call failed.
22756
+ * 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
22757
  *
22258
22758
  * @param request DeleteHybridMonitorTaskRequest
22259
22759
  * @param runtime runtime options for this request RuntimeOptions
@@ -22288,9 +22788,7 @@ class Client extends openapi_client_1.default {
22288
22788
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteHybridMonitorTaskResponse({}));
22289
22789
  }
22290
22790
  /**
22291
- * Indicates whether the call was successful. Valid values:
22292
- * * true: The call was successful.
22293
- * * false: The call failed.
22791
+ * 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
22792
  *
22295
22793
  * @param request DeleteHybridMonitorTaskRequest
22296
22794
  * @return DeleteHybridMonitorTaskResponse
@@ -22825,7 +23323,7 @@ class Client extends openapi_client_1.default {
22825
23323
  return await this.describeAlertLogCountWithOptions(request, runtime);
22826
23324
  }
22827
23325
  /**
22828
- * The operation that you want to perform. Set the value to DescribeAlertLogHistogram.
23326
+ * 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
23327
  *
22830
23328
  * @param request DescribeAlertLogHistogramRequest
22831
23329
  * @param runtime runtime options for this request RuntimeOptions
@@ -22899,7 +23397,7 @@ class Client extends openapi_client_1.default {
22899
23397
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertLogHistogramResponse({}));
22900
23398
  }
22901
23399
  /**
22902
- * The operation that you want to perform. Set the value to DescribeAlertLogHistogram.
23400
+ * 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
23401
  *
22904
23402
  * @param request DescribeAlertLogHistogramRequest
22905
23403
  * @return DescribeAlertLogHistogramResponse
@@ -23373,8 +23871,7 @@ class Client extends openapi_client_1.default {
23373
23871
  return await this.describeDynamicTagRuleListWithOptions(request, runtime);
23374
23872
  }
23375
23873
  /**
23376
- * The name of the event-triggered alert rule.
23377
- * For information about how to obtain the name of an event-triggered alert rule, see [DescribeEventRuleList](~~114996~~).
23874
+ * This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
23378
23875
  *
23379
23876
  * @param request DescribeEventRuleAttributeRequest
23380
23877
  * @param runtime runtime options for this request RuntimeOptions
@@ -23406,8 +23903,7 @@ class Client extends openapi_client_1.default {
23406
23903
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeEventRuleAttributeResponse({}));
23407
23904
  }
23408
23905
  /**
23409
- * The name of the event-triggered alert rule.
23410
- * For information about how to obtain the name of an event-triggered alert rule, see [DescribeEventRuleList](~~114996~~).
23906
+ * This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
23411
23907
  *
23412
23908
  * @param request DescribeEventRuleAttributeRequest
23413
23909
  * @return DescribeEventRuleAttributeResponse
@@ -23422,6 +23918,9 @@ class Client extends openapi_client_1.default {
23422
23918
  if (!tea_util_1.default.isUnset(request.groupId)) {
23423
23919
  query["GroupId"] = request.groupId;
23424
23920
  }
23921
+ if (!tea_util_1.default.isUnset(request.isEnable)) {
23922
+ query["IsEnable"] = request.isEnable;
23923
+ }
23425
23924
  if (!tea_util_1.default.isUnset(request.namePrefix)) {
23426
23925
  query["NamePrefix"] = request.namePrefix;
23427
23926
  }
@@ -23765,9 +24264,7 @@ class Client extends openapi_client_1.default {
23765
24264
  return await this.describeHybridMonitorNamespaceListWithOptions(request, runtime);
23766
24265
  }
23767
24266
  /**
23768
- * Indicates whether the call is successful. Valid values:
23769
- * * true: The call is successful.
23770
- * * false: The call fails.
24267
+ * 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
24268
  *
23772
24269
  * @param request DescribeHybridMonitorSLSGroupRequest
23773
24270
  * @param runtime runtime options for this request RuntimeOptions
@@ -23805,9 +24302,7 @@ class Client extends openapi_client_1.default {
23805
24302
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeHybridMonitorSLSGroupResponse({}));
23806
24303
  }
23807
24304
  /**
23808
- * Indicates whether the call is successful. Valid values:
23809
- * * true: The call is successful.
23810
- * * false: The call fails.
24305
+ * 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
24306
  *
23812
24307
  * @param request DescribeHybridMonitorSLSGroupRequest
23813
24308
  * @return DescribeHybridMonitorSLSGroupResponse
@@ -23817,9 +24312,7 @@ class Client extends openapi_client_1.default {
23817
24312
  return await this.describeHybridMonitorSLSGroupWithOptions(request, runtime);
23818
24313
  }
23819
24314
  /**
23820
- * Indicates whether the call was successful. Valid values:
23821
- * * true: The call was successful.
23822
- * * false: The call failed.
24315
+ * 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
24316
  *
23824
24317
  * @param request DescribeHybridMonitorTaskListRequest
23825
24318
  * @param runtime runtime options for this request RuntimeOptions
@@ -23872,9 +24365,7 @@ class Client extends openapi_client_1.default {
23872
24365
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeHybridMonitorTaskListResponse({}));
23873
24366
  }
23874
24367
  /**
23875
- * Indicates whether the call was successful. Valid values:
23876
- * * true: The call was successful.
23877
- * * false: The call failed.
24368
+ * 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
24369
  *
23879
24370
  * @param request DescribeHybridMonitorTaskListRequest
23880
24371
  * @return DescribeHybridMonitorTaskListResponse
@@ -24012,9 +24503,15 @@ class Client extends openapi_client_1.default {
24012
24503
  return await this.describeMetricDataWithOptions(request, runtime);
24013
24504
  }
24014
24505
  /**
24015
- * The number of entries to return on each page.
24016
- * Default value: 1000. This value indicates that a maximum of 1,000 entries of monitoring data can be returned on each page.
24017
- * > The maximum value of the Length parameter in a request is 1440.
24506
+ * ### [](#)Limits
24507
+ * 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.
24508
+ * ### [](#)Precautions
24509
+ * 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:
24510
+ * * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
24511
+ * * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
24512
+ * * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
24513
+ * ### [](#)Description
24514
+ * 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
24515
  *
24019
24516
  * @param request DescribeMetricLastRequest
24020
24517
  * @param runtime runtime options for this request RuntimeOptions
@@ -24067,9 +24564,15 @@ class Client extends openapi_client_1.default {
24067
24564
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricLastResponse({}));
24068
24565
  }
24069
24566
  /**
24070
- * The number of entries to return on each page.
24071
- * Default value: 1000. This value indicates that a maximum of 1,000 entries of monitoring data can be returned on each page.
24072
- * > The maximum value of the Length parameter in a request is 1440.
24567
+ * ### [](#)Limits
24568
+ * 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.
24569
+ * ### [](#)Precautions
24570
+ * 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:
24571
+ * * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
24572
+ * * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
24573
+ * * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
24574
+ * ### [](#)Description
24575
+ * 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
24576
  *
24074
24577
  * @param request DescribeMetricLastRequest
24075
24578
  * @return DescribeMetricLastResponse
@@ -24420,8 +24923,7 @@ class Client extends openapi_client_1.default {
24420
24923
  return await this.describeMetricRuleTemplateAttributeWithOptions(request, runtime);
24421
24924
  }
24422
24925
  /**
24423
- * The HTTP status code.
24424
- * > The status code 200 indicates that the call was successful.
24926
+ * 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
24927
  *
24426
24928
  * @param request DescribeMetricRuleTemplateListRequest
24427
24929
  * @param runtime runtime options for this request RuntimeOptions
@@ -24471,8 +24973,7 @@ class Client extends openapi_client_1.default {
24471
24973
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricRuleTemplateListResponse({}));
24472
24974
  }
24473
24975
  /**
24474
- * The HTTP status code.
24475
- * > The status code 200 indicates that the call was successful.
24976
+ * 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
24977
  *
24477
24978
  * @param request DescribeMetricRuleTemplateListRequest
24478
24979
  * @return DescribeMetricRuleTemplateListResponse
@@ -24482,9 +24983,15 @@ class Client extends openapi_client_1.default {
24482
24983
  return await this.describeMetricRuleTemplateListWithOptions(request, runtime);
24483
24984
  }
24484
24985
  /**
24485
- * The order in which data is sorted. Valid values:
24486
- * * True: sorts data in ascending order.
24487
- * * False (default value): sorts data in descending order.
24986
+ * ### [](#)Limits
24987
+ * 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.
24988
+ * ### [](#)Precautions
24989
+ * 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:
24990
+ * * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
24991
+ * * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
24992
+ * * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
24993
+ * ### [](#)Description
24994
+ * 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
24995
  *
24489
24996
  * @param request DescribeMetricTopRequest
24490
24997
  * @param runtime runtime options for this request RuntimeOptions
@@ -24540,9 +25047,15 @@ class Client extends openapi_client_1.default {
24540
25047
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricTopResponse({}));
24541
25048
  }
24542
25049
  /**
24543
- * The order in which data is sorted. Valid values:
24544
- * * True: sorts data in ascending order.
24545
- * * False (default value): sorts data in descending order.
25050
+ * ### [](#)Limits
25051
+ * 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.
25052
+ * ### [](#)Precautions
25053
+ * 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:
25054
+ * * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
25055
+ * * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
25056
+ * * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
25057
+ * ### [](#)Description
25058
+ * 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
25059
  *
24547
25060
  * @param request DescribeMetricTopRequest
24548
25061
  * @return DescribeMetricTopResponse
@@ -24960,12 +25473,7 @@ class Client extends openapi_client_1.default {
24960
25473
  return await this.describeMonitoringAgentProcessesWithOptions(request, runtime);
24961
25474
  }
24962
25475
  /**
24963
- * The details of the execution error. Valid values:
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.
25476
+ * 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
25477
  *
24970
25478
  * @param request DescribeMonitoringAgentStatusesRequest
24971
25479
  * @param runtime runtime options for this request RuntimeOptions
@@ -24997,12 +25505,7 @@ class Client extends openapi_client_1.default {
24997
25505
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeMonitoringAgentStatusesResponse({}));
24998
25506
  }
24999
25507
  /**
25000
- * The details of the execution error. Valid values:
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.
25508
+ * 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
25509
  *
25007
25510
  * @param request DescribeMonitoringAgentStatusesRequest
25008
25511
  * @return DescribeMonitoringAgentStatusesResponse
@@ -26121,9 +26624,7 @@ class Client extends openapi_client_1.default {
26121
26624
  return await this.modifyGroupMonitoringAgentProcessWithOptions(request, runtime);
26122
26625
  }
26123
26626
  /**
26124
- * Indicates whether the call was successful. Valid values:
26125
- * * true: The call was successful.
26126
- * * false: The call failed.
26627
+ * 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
26628
  *
26128
26629
  * @param request ModifyHostAvailabilityRequest
26129
26630
  * @param runtime runtime options for this request RuntimeOptions
@@ -26176,9 +26677,7 @@ class Client extends openapi_client_1.default {
26176
26677
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyHostAvailabilityResponse({}));
26177
26678
  }
26178
26679
  /**
26179
- * Indicates whether the call was successful. Valid values:
26180
- * * true: The call was successful.
26181
- * * false: The call failed.
26680
+ * 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
26681
  *
26183
26682
  * @param request ModifyHostAvailabilityRequest
26184
26683
  * @return ModifyHostAvailabilityResponse
@@ -26326,7 +26825,7 @@ class Client extends openapi_client_1.default {
26326
26825
  return await this.modifyHybridMonitorSLSGroupWithOptions(request, runtime);
26327
26826
  }
26328
26827
  /**
26329
- * The alias of the extended field that specifies the result of basic operations performed on aggregation results.
26828
+ * 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
26829
  *
26331
26830
  * @param request ModifyHybridMonitorTaskRequest
26332
26831
  * @param runtime runtime options for this request RuntimeOptions
@@ -26370,7 +26869,7 @@ class Client extends openapi_client_1.default {
26370
26869
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyHybridMonitorTaskResponse({}));
26371
26870
  }
26372
26871
  /**
26373
- * The alias of the extended field that specifies the result of basic operations performed on aggregation results.
26872
+ * 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
26873
  *
26375
26874
  * @param request ModifyHybridMonitorTaskRequest
26376
26875
  * @return ModifyHybridMonitorTaskResponse
@@ -27147,9 +27646,7 @@ class Client extends openapi_client_1.default {
27147
27646
  return await this.putExporterRuleWithOptions(request, runtime);
27148
27647
  }
27149
27648
  /**
27150
- * Indicates whether the call was successful. Valid values:
27151
- * * true: The call was successful.
27152
- * * false: The call failed.
27649
+ * 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
27650
  *
27154
27651
  * @param request PutGroupMetricRuleRequest
27155
27652
  * @param runtime runtime options for this request RuntimeOptions
@@ -27232,9 +27729,7 @@ class Client extends openapi_client_1.default {
27232
27729
  return $tea.cast(await this.callApi(params, req, runtime), new PutGroupMetricRuleResponse({}));
27233
27730
  }
27234
27731
  /**
27235
- * Indicates whether the call was successful. Valid values:
27236
- * * true: The call was successful.
27237
- * * false: The call failed.
27732
+ * 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
27733
  *
27239
27734
  * @param request PutGroupMetricRuleRequest
27240
27735
  * @return PutGroupMetricRuleResponse
@@ -27244,9 +27739,12 @@ class Client extends openapi_client_1.default {
27244
27739
  return await this.putGroupMetricRuleWithOptions(request, runtime);
27245
27740
  }
27246
27741
  /**
27247
- * The tag value of the metric.
27248
- * Valid values of N: 1 to 100.
27249
- * > You must specify a key and a value for a tag at the same time.
27742
+ * # [](#)Prerequisites
27743
+ * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
27744
+ * # [](#)Limits
27745
+ * The size of the monitoring data that you import at a time must be less than or equal to 1 MB.
27746
+ * # [](#)Description
27747
+ * 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
27748
  *
27251
27749
  * @param request PutHybridMonitorMetricDataRequest
27252
27750
  * @param runtime runtime options for this request RuntimeOptions
@@ -27278,9 +27776,12 @@ class Client extends openapi_client_1.default {
27278
27776
  return $tea.cast(await this.callApi(params, req, runtime), new PutHybridMonitorMetricDataResponse({}));
27279
27777
  }
27280
27778
  /**
27281
- * The tag value of the metric.
27282
- * Valid values of N: 1 to 100.
27283
- * > You must specify a key and a value for a tag at the same time.
27779
+ * # [](#)Prerequisites
27780
+ * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
27781
+ * # [](#)Limits
27782
+ * The size of the monitoring data that you import at a time must be less than or equal to 1 MB.
27783
+ * # [](#)Description
27784
+ * 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
27785
  *
27285
27786
  * @param request PutHybridMonitorMetricDataRequest
27286
27787
  * @return PutHybridMonitorMetricDataResponse
@@ -27472,8 +27973,7 @@ class Client extends openapi_client_1.default {
27472
27973
  return await this.putMonitoringConfigWithOptions(request, runtime);
27473
27974
  }
27474
27975
  /**
27475
- * The mute period during which new alerts are not sent even if the trigger conditions are met. Unit: seconds. Default value: 86400.
27476
- * > If an alert is not cleared within the mute period, a new alert notification is sent when the mute period ends.
27976
+ * 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
27977
  *
27478
27978
  * @param tmpReq PutResourceMetricRuleRequest
27479
27979
  * @param runtime runtime options for this request RuntimeOptions
@@ -27561,8 +28061,7 @@ class Client extends openapi_client_1.default {
27561
28061
  return $tea.cast(await this.callApi(params, req, runtime), new PutResourceMetricRuleResponse({}));
27562
28062
  }
27563
28063
  /**
27564
- * The mute period during which new alerts are not sent even if the trigger conditions are met. Unit: seconds. Default value: 86400.
27565
- * > If an alert is not cleared within the mute period, a new alert notification is sent when the mute period ends.
28064
+ * 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
28065
  *
27567
28066
  * @param request PutResourceMetricRuleRequest
27568
28067
  * @return PutResourceMetricRuleResponse