@alicloud/cms20190101 4.0.8 → 4.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.
Files changed (182) hide show
  1. package/dist/client.d.ts +8 -4
  2. package/dist/client.js +11 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateGroupMetricRulesRequest.d.ts +132 -0
  5. package/dist/models/CreateGroupMetricRulesRequest.js.map +1 -1
  6. package/dist/models/CreateGroupMetricRulesResponseBody.d.ts +0 -44
  7. package/dist/models/CreateGroupMetricRulesResponseBody.js.map +1 -1
  8. package/dist/models/CreateMetricRuleTemplateRequest.d.ts +174 -0
  9. package/dist/models/CreateMetricRuleTemplateRequest.js.map +1 -1
  10. package/dist/models/CreateSiteMonitorResponseBody.d.ts +0 -64
  11. package/dist/models/CreateSiteMonitorResponseBody.js.map +1 -1
  12. package/dist/models/DeleteMetricRuleTargetsResponseBody.d.ts +0 -4
  13. package/dist/models/DeleteMetricRuleTargetsResponseBody.js.map +1 -1
  14. package/dist/models/DeleteMonitorGroupResponseBody.d.ts +0 -11
  15. package/dist/models/DeleteMonitorGroupResponseBody.js.map +1 -1
  16. package/dist/models/DescribeActiveMetricRuleListResponseBody.d.ts +0 -394
  17. package/dist/models/DescribeActiveMetricRuleListResponseBody.js.map +1 -1
  18. package/dist/models/DescribeAlertHistoryListResponseBody.d.ts +0 -150
  19. package/dist/models/DescribeAlertHistoryListResponseBody.js.map +1 -1
  20. package/dist/models/DescribeAlertingMetricRuleResourcesResponseBody.d.ts +0 -290
  21. package/dist/models/DescribeAlertingMetricRuleResourcesResponseBody.js.map +1 -1
  22. package/dist/models/DescribeContactGroupListResponseBody.d.ts +0 -58
  23. package/dist/models/DescribeContactGroupListResponseBody.js.map +1 -1
  24. package/dist/models/DescribeContactListByContactGroupResponseBody.d.ts +0 -72
  25. package/dist/models/DescribeContactListByContactGroupResponseBody.js.map +1 -1
  26. package/dist/models/DescribeContactListResponseBody.d.ts +0 -127
  27. package/dist/models/DescribeContactListResponseBody.js.map +1 -1
  28. package/dist/models/DescribeCustomEventAttributeResponseBody.d.ts +0 -41
  29. package/dist/models/DescribeCustomEventAttributeResponseBody.js.map +1 -1
  30. package/dist/models/DescribeCustomEventCountResponseBody.d.ts +0 -27
  31. package/dist/models/DescribeCustomEventCountResponseBody.js.map +1 -1
  32. package/dist/models/DescribeCustomEventHistogramResponseBody.d.ts +0 -29
  33. package/dist/models/DescribeCustomEventHistogramResponseBody.js.map +1 -1
  34. package/dist/models/DescribeDynamicTagRuleListResponseBody.d.ts +0 -89
  35. package/dist/models/DescribeDynamicTagRuleListResponseBody.js.map +1 -1
  36. package/dist/models/DescribeEventRuleAttributeResponseBody.d.ts +0 -8
  37. package/dist/models/DescribeEventRuleAttributeResponseBody.js.map +1 -1
  38. package/dist/models/DescribeEventRuleListResponseBody.d.ts +0 -107
  39. package/dist/models/DescribeEventRuleListResponseBody.js.map +1 -1
  40. package/dist/models/DescribeEventRuleTargetListResponseBody.d.ts +0 -253
  41. package/dist/models/DescribeEventRuleTargetListResponseBody.js.map +1 -1
  42. package/dist/models/DescribeExporterOutputListResponseBody.d.ts +0 -59
  43. package/dist/models/DescribeExporterOutputListResponseBody.js.map +1 -1
  44. package/dist/models/DescribeExporterRuleListResponseBody.d.ts +0 -67
  45. package/dist/models/DescribeExporterRuleListResponseBody.js.map +1 -1
  46. package/dist/models/DescribeGroupMonitoringAgentProcessResponseBody.d.ts +0 -213
  47. package/dist/models/DescribeGroupMonitoringAgentProcessResponseBody.js.map +1 -1
  48. package/dist/models/DescribeHostAvailabilityListResponseBody.d.ts +0 -288
  49. package/dist/models/DescribeHostAvailabilityListResponseBody.js.map +1 -1
  50. package/dist/models/DescribeMetricMetaListResponseBody.d.ts +0 -71
  51. package/dist/models/DescribeMetricMetaListResponseBody.js.map +1 -1
  52. package/dist/models/DescribeMetricRuleListResponseBody.d.ts +0 -497
  53. package/dist/models/DescribeMetricRuleListResponseBody.js.map +1 -1
  54. package/dist/models/DescribeMetricRuleTargetsResponseBody.d.ts +0 -41
  55. package/dist/models/DescribeMetricRuleTargetsResponseBody.js.map +1 -1
  56. package/dist/models/DescribeMetricRuleTemplateAttributeResponseBody.d.ts +0 -217
  57. package/dist/models/DescribeMetricRuleTemplateAttributeResponseBody.js.map +1 -1
  58. package/dist/models/DescribeMetricRuleTemplateListResponseBody.d.ts +0 -76
  59. package/dist/models/DescribeMetricRuleTemplateListResponseBody.js.map +1 -1
  60. package/dist/models/DescribeMonitorGroupCategoriesResponseBody.d.ts +0 -20
  61. package/dist/models/DescribeMonitorGroupCategoriesResponseBody.js.map +1 -1
  62. package/dist/models/DescribeMonitorGroupDynamicRulesResponseBody.d.ts +0 -54
  63. package/dist/models/DescribeMonitorGroupDynamicRulesResponseBody.js.map +1 -1
  64. package/dist/models/DescribeMonitorGroupInstanceAttributeResponseBody.d.ts +0 -100
  65. package/dist/models/DescribeMonitorGroupInstanceAttributeResponseBody.js.map +1 -1
  66. package/dist/models/DescribeMonitorGroupInstancesResponseBody.d.ts +0 -39
  67. package/dist/models/DescribeMonitorGroupInstancesResponseBody.js.map +1 -1
  68. package/dist/models/DescribeMonitorGroupNotifyPolicyListResponseBody.d.ts +0 -43
  69. package/dist/models/DescribeMonitorGroupNotifyPolicyListResponseBody.js.map +1 -1
  70. package/dist/models/DescribeMonitorGroupsResponseBody.d.ts +0 -118
  71. package/dist/models/DescribeMonitorGroupsResponseBody.js.map +1 -1
  72. package/dist/models/DescribeMonitoringAgentHostsResponseBody.d.ts +0 -109
  73. package/dist/models/DescribeMonitoringAgentHostsResponseBody.js.map +1 -1
  74. package/dist/models/DescribeMonitoringAgentProcessesResponseBody.d.ts +0 -48
  75. package/dist/models/DescribeMonitoringAgentProcessesResponseBody.js.map +1 -1
  76. package/dist/models/DescribeMonitoringAgentStatusesResponseBody.d.ts +0 -102
  77. package/dist/models/DescribeMonitoringAgentStatusesResponseBody.js.map +1 -1
  78. package/dist/models/DescribeProductsOfActiveMetricRuleResponseBody.d.ts +0 -121
  79. package/dist/models/DescribeProductsOfActiveMetricRuleResponseBody.js.map +1 -1
  80. package/dist/models/DescribeProjectMetaResponseBody.d.ts +0 -32
  81. package/dist/models/DescribeProjectMetaResponseBody.js.map +1 -1
  82. package/dist/models/DescribeSiteMonitorAttributeResponseBody.d.ts +0 -284
  83. package/dist/models/DescribeSiteMonitorAttributeResponseBody.js.map +1 -1
  84. package/dist/models/DescribeSiteMonitorIspcityListResponseBody.d.ts +0 -52
  85. package/dist/models/DescribeSiteMonitorIspcityListResponseBody.js.map +1 -1
  86. package/dist/models/DescribeSiteMonitorListResponseBody.d.ts +0 -391
  87. package/dist/models/DescribeSiteMonitorListResponseBody.js.map +1 -1
  88. package/dist/models/DescribeSystemEventAttributeResponseBody.d.ts +0 -87
  89. package/dist/models/DescribeSystemEventAttributeResponseBody.js.map +1 -1
  90. package/dist/models/DescribeSystemEventCountResponseBody.d.ts +0 -82
  91. package/dist/models/DescribeSystemEventCountResponseBody.js.map +1 -1
  92. package/dist/models/DescribeSystemEventHistogramResponseBody.d.ts +0 -29
  93. package/dist/models/DescribeSystemEventHistogramResponseBody.js.map +1 -1
  94. package/dist/models/DescribeSystemEventMetaListResponseBody.d.ts +0 -61
  95. package/dist/models/DescribeSystemEventMetaListResponseBody.js.map +1 -1
  96. package/dist/models/DescribeUnhealthyHostAvailabilityResponseBody.d.ts +0 -11
  97. package/dist/models/DescribeUnhealthyHostAvailabilityResponseBody.js.map +1 -1
  98. package/dist/models/Dimension.d.ts +14 -0
  99. package/dist/models/Dimension.js.map +1 -1
  100. package/dist/models/Matcher.d.ts +21 -0
  101. package/dist/models/Matcher.js.map +1 -1
  102. package/dist/models/MetricStat.d.ts +49 -0
  103. package/dist/models/MetricStat.js.map +1 -1
  104. package/dist/models/ModifyMetricRuleTemplateRequest.d.ts +174 -0
  105. package/dist/models/ModifyMetricRuleTemplateRequest.js.map +1 -1
  106. package/dist/models/PutEventRuleTargetsResponseBody.d.ts +0 -81
  107. package/dist/models/PutEventRuleTargetsResponseBody.js.map +1 -1
  108. package/dist/models/PutMetricRuleTargetsResponseBody.d.ts +0 -45
  109. package/dist/models/PutMetricRuleTargetsResponseBody.js.map +1 -1
  110. package/dist/models/PutResourceMetricRuleRequest.d.ts +1 -0
  111. package/dist/models/PutResourceMetricRuleRequest.js +2 -0
  112. package/dist/models/PutResourceMetricRuleRequest.js.map +1 -1
  113. package/dist/models/PutResourceMetricRuleShrinkRequest.d.ts +1 -0
  114. package/dist/models/PutResourceMetricRuleShrinkRequest.js +2 -0
  115. package/dist/models/PutResourceMetricRuleShrinkRequest.js.map +1 -1
  116. package/dist/models/PutResourceMetricRulesRequest.d.ts +176 -0
  117. package/dist/models/PutResourceMetricRulesRequest.js +2 -0
  118. package/dist/models/PutResourceMetricRulesRequest.js.map +1 -1
  119. package/dist/models/PutResourceMetricRulesResponseBody.d.ts +0 -39
  120. package/dist/models/PutResourceMetricRulesResponseBody.js.map +1 -1
  121. package/dist/models/RemoveTagsResponseBody.d.ts +0 -4
  122. package/dist/models/RemoveTagsResponseBody.js.map +1 -1
  123. package/package.json +1 -1
  124. package/src/client.ts +12 -4
  125. package/src/models/CreateGroupMetricRulesRequest.ts +132 -0
  126. package/src/models/CreateGroupMetricRulesResponseBody.ts +0 -44
  127. package/src/models/CreateMetricRuleTemplateRequest.ts +174 -0
  128. package/src/models/CreateSiteMonitorResponseBody.ts +0 -64
  129. package/src/models/DeleteMetricRuleTargetsResponseBody.ts +0 -4
  130. package/src/models/DeleteMonitorGroupResponseBody.ts +0 -11
  131. package/src/models/DescribeActiveMetricRuleListResponseBody.ts +0 -394
  132. package/src/models/DescribeAlertHistoryListResponseBody.ts +0 -150
  133. package/src/models/DescribeAlertingMetricRuleResourcesResponseBody.ts +0 -290
  134. package/src/models/DescribeContactGroupListResponseBody.ts +0 -58
  135. package/src/models/DescribeContactListByContactGroupResponseBody.ts +0 -72
  136. package/src/models/DescribeContactListResponseBody.ts +0 -127
  137. package/src/models/DescribeCustomEventAttributeResponseBody.ts +0 -41
  138. package/src/models/DescribeCustomEventCountResponseBody.ts +0 -27
  139. package/src/models/DescribeCustomEventHistogramResponseBody.ts +0 -29
  140. package/src/models/DescribeDynamicTagRuleListResponseBody.ts +0 -89
  141. package/src/models/DescribeEventRuleAttributeResponseBody.ts +0 -8
  142. package/src/models/DescribeEventRuleListResponseBody.ts +0 -107
  143. package/src/models/DescribeEventRuleTargetListResponseBody.ts +0 -253
  144. package/src/models/DescribeExporterOutputListResponseBody.ts +0 -59
  145. package/src/models/DescribeExporterRuleListResponseBody.ts +0 -67
  146. package/src/models/DescribeGroupMonitoringAgentProcessResponseBody.ts +0 -213
  147. package/src/models/DescribeHostAvailabilityListResponseBody.ts +0 -288
  148. package/src/models/DescribeMetricMetaListResponseBody.ts +0 -71
  149. package/src/models/DescribeMetricRuleListResponseBody.ts +0 -497
  150. package/src/models/DescribeMetricRuleTargetsResponseBody.ts +0 -41
  151. package/src/models/DescribeMetricRuleTemplateAttributeResponseBody.ts +0 -217
  152. package/src/models/DescribeMetricRuleTemplateListResponseBody.ts +0 -76
  153. package/src/models/DescribeMonitorGroupCategoriesResponseBody.ts +0 -20
  154. package/src/models/DescribeMonitorGroupDynamicRulesResponseBody.ts +0 -54
  155. package/src/models/DescribeMonitorGroupInstanceAttributeResponseBody.ts +0 -100
  156. package/src/models/DescribeMonitorGroupInstancesResponseBody.ts +0 -39
  157. package/src/models/DescribeMonitorGroupNotifyPolicyListResponseBody.ts +0 -43
  158. package/src/models/DescribeMonitorGroupsResponseBody.ts +0 -118
  159. package/src/models/DescribeMonitoringAgentHostsResponseBody.ts +0 -109
  160. package/src/models/DescribeMonitoringAgentProcessesResponseBody.ts +0 -48
  161. package/src/models/DescribeMonitoringAgentStatusesResponseBody.ts +0 -102
  162. package/src/models/DescribeProductsOfActiveMetricRuleResponseBody.ts +0 -121
  163. package/src/models/DescribeProjectMetaResponseBody.ts +0 -32
  164. package/src/models/DescribeSiteMonitorAttributeResponseBody.ts +0 -284
  165. package/src/models/DescribeSiteMonitorIspcityListResponseBody.ts +0 -52
  166. package/src/models/DescribeSiteMonitorListResponseBody.ts +0 -391
  167. package/src/models/DescribeSystemEventAttributeResponseBody.ts +0 -87
  168. package/src/models/DescribeSystemEventCountResponseBody.ts +0 -82
  169. package/src/models/DescribeSystemEventHistogramResponseBody.ts +0 -29
  170. package/src/models/DescribeSystemEventMetaListResponseBody.ts +0 -61
  171. package/src/models/DescribeUnhealthyHostAvailabilityResponseBody.ts +0 -11
  172. package/src/models/Dimension.ts +14 -0
  173. package/src/models/Matcher.ts +21 -0
  174. package/src/models/MetricStat.ts +49 -0
  175. package/src/models/ModifyMetricRuleTemplateRequest.ts +174 -0
  176. package/src/models/PutEventRuleTargetsResponseBody.ts +0 -81
  177. package/src/models/PutMetricRuleTargetsResponseBody.ts +0 -45
  178. package/src/models/PutResourceMetricRuleRequest.ts +3 -0
  179. package/src/models/PutResourceMetricRuleShrinkRequest.ts +3 -0
  180. package/src/models/PutResourceMetricRulesRequest.ts +178 -0
  181. package/src/models/PutResourceMetricRulesResponseBody.ts +0 -39
  182. package/src/models/RemoveTagsResponseBody.ts +0 -4
@@ -3,57 +3,9 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfigTargetListTarget extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The Alibaba Cloud Resource Name (ARN) of the resource. Format: acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message. Example: acs:mns:cn-hangzhou:120886317861\\*\\*\\*\\*:/queues/test123/message. Fields:
9
- *
10
- * * {Service name abbreviation}: the abbreviation of the service name. Set the value to Simple Message Queue (formerly MNS) (SMQ).
11
- *
12
- * * {userId}: the ID of the Alibaba Cloud account.
13
- *
14
- * * {regionId}: the region ID of the SMQ queue or topic.
15
- *
16
- * * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
17
- *
18
- * * **queues**
19
- * * **topics**
20
- *
21
- * * {Resource name}: the resource name.
22
- *
23
- * * If the resource type is **queues**, the resource name is the queue name.
24
- * * If the resource type is **topics**, the resource name is the topic name.
25
- *
26
- * @example
27
- * acs:mns:cn-hangzhou:120886317861****:/queues/test/message
28
- */
29
6
  arn?: string;
30
- /**
31
- * @remarks
32
- * The ID of the resource for which alerts are triggered.
33
- *
34
- * @example
35
- * 123
36
- */
37
7
  id?: string;
38
- /**
39
- * @remarks
40
- * The parameters of the alert callback. The parameters are in the JSON format.
41
- *
42
- * @example
43
- * {"customField1":"value1","customField2":"$.name"}
44
- */
45
8
  jsonParmas?: string;
46
- /**
47
- * @remarks
48
- * The alert level. Valid values:
49
- *
50
- * * INFO
51
- * * WARN
52
- * * CRITICAL
53
- *
54
- * @example
55
- * CRITICAL
56
- */
57
9
  level?: string;
58
10
  static names(): { [key: string]: string } {
59
11
  return {
@@ -109,102 +61,15 @@ export class DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAler
109
61
  }
110
62
 
111
63
  export class DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfig extends $dara.Model {
112
- /**
113
- * @remarks
114
- * The comparison operator that is used to compare the metric value with the threshold. Valid values:
115
- *
116
- * * GreaterThanOrEqualToThreshold: greater than or equal to the threshold
117
- * * GreaterThanThreshold: greater than the threshold
118
- * * LessThanOrEqualToThreshold: less than or equal to the threshold
119
- * * LessThanThreshold: less than the threshold
120
- * * NotEqualToThreshold: not equal to the threshold
121
- * * GreaterThanYesterday: greater than the metric value at the same time yesterday.
122
- * * LessThanYesterday: less than the metric value at the same time yesterday
123
- * * GreaterThanLastWeek: greater than the metric value at the same time last week
124
- * * LessThanLastWeek: less than the metric value at the same time last week
125
- * * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
126
- * * LessThanLastPeriod: less than the metric value in the last monitoring cycle
127
- *
128
- * @example
129
- * GreaterThanOrEqualToThreshold
130
- */
131
64
  comparisonOperator?: string;
132
- /**
133
- * @remarks
134
- * The time period during which the alert rule is effective.
135
- *
136
- * @example
137
- * 00:00-23:59
138
- */
139
65
  effectiveInterval?: string;
140
- /**
141
- * @remarks
142
- * The level of the alert. Valid values:
143
- *
144
- * * critical
145
- * * warn
146
- * * Info
147
- *
148
- * @example
149
- * warn
150
- */
151
66
  escalationsLevel?: string;
152
- /**
153
- * @remarks
154
- * The time period during which the alert rule is ineffective.
155
- *
156
- * @example
157
- * 00:00-23:59
158
- */
159
67
  noEffectiveInterval?: string;
160
- /**
161
- * @remarks
162
- * The mute period during which new alert notifications are not sent even if the trigger conditions are met. Unit: seconds. Minimum value: 3600, which is equivalent to one hour. Default value: 86400, which is equivalent to one day.
163
- *
164
- * > Only one alert notification is sent during each mute period even if the metric value exceeds the alert threshold several times.
165
- *
166
- * @example
167
- * 86400
168
- */
169
68
  silenceTime?: string;
170
- /**
171
- * @remarks
172
- * The method used to calculate metric values that trigger alerts.
173
- *
174
- * @example
175
- * Average
176
- */
177
69
  statistics?: string;
178
- /**
179
- * @remarks
180
- * The resources for which alerts are triggered.
181
- */
182
70
  targetList?: DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfigTargetList;
183
- /**
184
- * @remarks
185
- * The alert threshold.
186
- *
187
- * @example
188
- * 5
189
- */
190
71
  threshold?: string;
191
- /**
192
- * @remarks
193
- * The number of times for which the threshold can be consecutively exceeded.
194
- *
195
- * > A metric triggers an alert only after the metric value reaches the threshold consecutively for the specified times.
196
- *
197
- * @example
198
- * 3
199
- */
200
72
  times?: string;
201
- /**
202
- * @remarks
203
- * The callback URL to which a POST request is sent when an alert is triggered based on the alert rule.
204
- *
205
- * @example
206
- * http://www.aliyun.com
207
- */
208
73
  webhook?: string;
209
74
  static names(): { [key: string]: string } {
210
75
  return {
@@ -275,40 +140,8 @@ export class DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAler
275
140
  }
276
141
 
277
142
  export class DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessMatchExpressMatchExpress extends $dara.Model {
278
- /**
279
- * @remarks
280
- * The matching condition. Valid values:
281
- *
282
- * * all (default): matches all
283
- * * startWith: starts with a prefix
284
- * * endWith: ends with a suffix
285
- * * contains: contains
286
- * * notContains: excludes
287
- * * equals: equals
288
- *
289
- * > The matched instances are monitored by the process monitoring task.
290
- *
291
- * @example
292
- * all
293
- */
294
143
  function?: string;
295
- /**
296
- * @remarks
297
- * The criteria based on which the instances are matched.
298
- *
299
- * > Set the value to `name`. The value name indicates that the instances are matched based on the instance name.
300
- *
301
- * @example
302
- * name
303
- */
304
144
  name?: string;
305
- /**
306
- * @remarks
307
- * The keyword used to match the instance name.
308
- *
309
- * @example
310
- * portalHost
311
- */
312
145
  value?: string;
313
146
  static names(): { [key: string]: string } {
314
147
  return {
@@ -362,53 +195,11 @@ export class DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessMatc
362
195
  }
363
196
 
364
197
  export class DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcess extends $dara.Model {
365
- /**
366
- * @remarks
367
- * The alert rule configurations.
368
- */
369
198
  alertConfig?: DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfig;
370
- /**
371
- * @remarks
372
- * The ID of the application group.
373
- *
374
- * @example
375
- * 12345
376
- */
377
199
  groupId?: string;
378
- /**
379
- * @remarks
380
- * The ID of the process monitoring task.
381
- *
382
- * @example
383
- * 3F6150F9-45C7-43F9-9578-A58B2E72****
384
- */
385
200
  id?: string;
386
- /**
387
- * @remarks
388
- * The matching conditions.
389
- *
390
- * > Only the instances that meet the conditional expressions are monitored by the process monitoring task.
391
- */
392
201
  matchExpress?: DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessMatchExpress;
393
- /**
394
- * @remarks
395
- * The logical operator used between conditional expressions that are used to match instances. Valid values:
396
- *
397
- * * all
398
- * * and
399
- * * or
400
- *
401
- * @example
402
- * and
403
- */
404
202
  matchExpressFilterRelation?: string;
405
- /**
406
- * @remarks
407
- * The process name.
408
- *
409
- * @example
410
- * sshd
411
- */
412
203
  processName?: string;
413
204
  static names(): { [key: string]: string } {
414
205
  return {
@@ -508,10 +299,6 @@ export class DescribeGroupMonitoringAgentProcessResponseBody extends $dara.Model
508
299
  * 10
509
300
  */
510
301
  pageSize?: string;
511
- /**
512
- * @remarks
513
- * The process monitoring tasks.
514
- */
515
302
  processes?: DescribeGroupMonitoringAgentProcessResponseBodyProcesses;
516
303
  /**
517
304
  * @remarks
@@ -3,63 +3,10 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfigEscalationListEscalationList extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The method used to calculate metric values that trigger alerts. Valid values:
9
- *
10
- * * Value: the value of the HTTP status code
11
- * * Average: the average HTTP response time
12
- * * Value: the value of the Telnet status code
13
- * * TelnetLatency: the average Telnet response time
14
- * * Average: the average Ping packet loss rate
15
- *
16
- * @example
17
- * Value
18
- */
19
6
  aggregate?: string;
20
- /**
21
- * @remarks
22
- * The name of the metric. Valid values:
23
- *
24
- * * HttpStatus
25
- * * HttpLatency
26
- * * TelnetStatus
27
- * * TelnetLatency
28
- * * PingLostRate
29
- *
30
- * @example
31
- * HttpStatus
32
- */
33
7
  metricName?: string;
34
- /**
35
- * @remarks
36
- * The comparison operator that is used in the alert rule. Valid values:
37
- *
38
- * * `>`
39
- * * `>=`
40
- * * `<`
41
- * * `<=`
42
- * * `=`
43
- *
44
- * @example
45
- * =
46
- */
47
8
  operator?: string;
48
- /**
49
- * @remarks
50
- * The consecutive number of times for which the metric value is measured before an alert is triggered.
51
- *
52
- * @example
53
- * 3
54
- */
55
9
  times?: string;
56
- /**
57
- * @remarks
58
- * The alert threshold.
59
- *
60
- * @example
61
- * 400
62
- */
63
10
  value?: string;
64
11
  static names(): { [key: string]: string } {
65
12
  return {
@@ -117,49 +64,9 @@ export class DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlert
117
64
  }
118
65
 
119
66
  export class DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfigTargetListTarget extends $dara.Model {
120
- /**
121
- * @remarks
122
- * The Alibaba Cloud Resource Name (ARN) of the function.
123
- *
124
- * Format: `arn:acs:${Service}:${Region}:${Account}:${ResourceType}/${ResourceId}`. Fields:
125
- *
126
- * * Service: the service code
127
- * * Region: the region ID
128
- * * Account: the ID of the Alibaba Cloud account
129
- * * ResourceType: the resource type
130
- * * ResourceId: the resource ID.
131
- *
132
- * @example
133
- * acs:mns:cn-hangzhou:17754132319*****:/queues/test/messages
134
- */
135
67
  arn?: string;
136
- /**
137
- * @remarks
138
- * The ID of the resource that triggers the alert.
139
- *
140
- * @example
141
- * 1
142
- */
143
68
  id?: string;
144
- /**
145
- * @remarks
146
- * The JSON-formatted parameters of the alert callback.
147
- *
148
- * @example
149
- * {"key1":"value1"}
150
- */
151
69
  jsonParams?: string;
152
- /**
153
- * @remarks
154
- * The alert level. Valid values:
155
- *
156
- * * INFO
157
- * * WARN
158
- * * CRITICAL
159
- *
160
- * @example
161
- * INFO
162
- */
163
70
  level?: string;
164
71
  static names(): { [key: string]: string } {
165
72
  return {
@@ -215,69 +122,12 @@ export class DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlert
215
122
  }
216
123
 
217
124
  export class DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig extends $dara.Model {
218
- /**
219
- * @remarks
220
- * The end of the time period during which the alert rule is effective. Valid values: 0 to 23.
221
- *
222
- * For example, if the `AlertConfig.StartTime` parameter is set to 0 and the `AlertConfig.EndTime` parameter is set to 22, the alert rule is effective from 00:00:00 to 22:00:00.
223
- *
224
- * > Alert notifications are sent based on the specified threshold only if the alert rule is effective.
225
- *
226
- * @example
227
- * 22
228
- */
229
125
  endTime?: number;
230
- /**
231
- * @remarks
232
- * The trigger conditions of the alert rule.
233
- */
234
126
  escalationList?: DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfigEscalationList;
235
- /**
236
- * @remarks
237
- * The alert notification methods. Valid values:
238
- *
239
- * * 2: Alert notifications are sent by using emails and DingTalk chatbots.
240
- * * 1: Alert notifications are sent by using emails and DingTalk chatbots.
241
- * * 0: Alert notifications are sent by using emails and DingTalk chatbots.
242
- *
243
- * @example
244
- * 0
245
- */
246
127
  notifyType?: number;
247
- /**
248
- * @remarks
249
- * The mute period during which new alerts are not sent even if the trigger conditions are met. Unit: seconds. Default value: 86400.
250
- *
251
- * @example
252
- * 86400
253
- */
254
128
  silenceTime?: number;
255
- /**
256
- * @remarks
257
- * The beginning of the time period during which the alert rule is effective. Valid values: 0 to 23.
258
- *
259
- * For example, if the `AlertConfig.StartTime` parameter is set to 0 and the `AlertConfig.EndTime` parameter is set to 22, the alert rule is effective from 00:00:00 to 22:00:00.
260
- *
261
- * > Alert notifications are sent based on the specified threshold only if the alert rule is effective.
262
- *
263
- * @example
264
- * 0
265
- */
266
129
  startTime?: number;
267
- /**
268
- * @remarks
269
- * The monitored resources.
270
- */
271
130
  targetList?: DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfigTargetList;
272
- /**
273
- * @remarks
274
- * The callback URL.
275
- *
276
- * CloudMonitor pushes an alert notification to the specified callback URL by sending an HTTP POST request. Only the HTTP protocol is supported.
277
- *
278
- * @example
279
- * https://www.aliyun.com
280
- */
281
131
  webHook?: string;
282
132
  static names(): { [key: string]: string } {
283
133
  return {
@@ -345,76 +195,13 @@ export class DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigInsta
345
195
  }
346
196
 
347
197
  export class DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigTaskOption extends $dara.Model {
348
- /**
349
- * @remarks
350
- * The response to the HTTP request.
351
- *
352
- * @example
353
- * OK
354
- */
355
198
  httpKeyword?: string;
356
- /**
357
- * @remarks
358
- * The HTTP request method. Valid values:
359
- *
360
- * * GET
361
- * * POST
362
- * * HEAD
363
- *
364
- * @example
365
- * GET
366
- */
367
199
  httpMethod?: string;
368
- /**
369
- * @remarks
370
- * The method to trigger an alert. The alert can be triggered based on whether the specified alert rule is included in the response body. Valid values:
371
- *
372
- * * true: If the HTTP response body includes the alert rule, an alert is triggered.
373
- * * false: If the HTTP response does not include the alert rule, an alert is triggered.
374
- *
375
- * @example
376
- * true
377
- */
378
200
  httpNegative?: boolean;
379
- /**
380
- * @remarks
381
- * The content of the HTTP POST request.
382
- *
383
- * @example
384
- * params1=paramsValue1
385
- */
386
201
  httpPostContent?: string;
387
- /**
388
- * @remarks
389
- * The character set that is used in the HTTP response.
390
- *
391
- * @example
392
- * UTF-8
393
- */
394
202
  httpResponseCharset?: string;
395
- /**
396
- * @remarks
397
- * The URI that you want to monitor. If the TaskType parameter is set to HTTP, this parameter is required.
398
- *
399
- * @example
400
- * https://www.aliyun.com
401
- */
402
203
  httpURI?: string;
403
- /**
404
- * @remarks
405
- * The interval at which detection requests are sent. Unit: seconds.
406
- *
407
- * @example
408
- * 60
409
- */
410
204
  interval?: number;
411
- /**
412
- * @remarks
413
- * The domain name or IP address that you want to monitor.
414
- *
415
- * @example
416
- * ssh.aliyun.com
417
- */
418
205
  telnetOrPingHost?: string;
419
206
  static names(): { [key: string]: string } {
420
207
  return {
@@ -452,86 +239,15 @@ export class DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigTaskO
452
239
  }
453
240
 
454
241
  export class DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfig extends $dara.Model {
455
- /**
456
- * @remarks
457
- * The configurations of the alert rule.
458
- */
459
242
  alertConfig?: DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig;
460
- /**
461
- * @remarks
462
- * Indicates whether the availability monitoring task is disabled. Valid values:
463
- *
464
- * * true: The availability monitoring task is disabled.
465
- * * false: The availability monitoring task is enabled.
466
- *
467
- * @example
468
- * false
469
- */
470
243
  disabled?: boolean;
471
- /**
472
- * @remarks
473
- * The ID of the application group.
474
- *
475
- * @example
476
- * 12345
477
- */
478
244
  groupId?: number;
479
- /**
480
- * @remarks
481
- * The name of the application group.
482
- *
483
- * @example
484
- * Group_ECS
485
- */
486
245
  groupName?: string;
487
- /**
488
- * @remarks
489
- * The ID of the availability monitoring task.
490
- *
491
- * @example
492
- * 123456
493
- */
494
246
  id?: number;
495
- /**
496
- * @remarks
497
- * The ECS instances that are monitored.
498
- */
499
247
  instances?: DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigInstances;
500
- /**
501
- * @remarks
502
- * The name of the availability monitoring task.
503
- *
504
- * @example
505
- * ecs_instance
506
- */
507
248
  taskName?: string;
508
- /**
509
- * @remarks
510
- * The optional parameters of the availability monitoring task.
511
- */
512
249
  taskOption?: DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigTaskOption;
513
- /**
514
- * @remarks
515
- * The range of instances that are monitored by the availability monitoring task. Valid values:
516
- *
517
- * * GROUP: All ECS instances in the application group are monitored.
518
- * * GROUP_SPEC_INSTANCE: Specified ECS instances in the application group are monitored.
519
- *
520
- * @example
521
- * GROUP
522
- */
523
250
  taskScope?: string;
524
- /**
525
- * @remarks
526
- * The task type. Valid values:
527
- *
528
- * * PING
529
- * * TELNET
530
- * * HTTP
531
- *
532
- * @example
533
- * HTTP
534
- */
535
251
  taskType?: string;
536
252
  static names(): { [key: string]: string } {
537
253
  return {
@@ -645,10 +361,6 @@ export class DescribeHostAvailabilityListResponseBody extends $dara.Model {
645
361
  * true
646
362
  */
647
363
  success?: boolean;
648
- /**
649
- * @remarks
650
- * The details of the availability monitoring tasks.
651
- */
652
364
  taskList?: DescribeHostAvailabilityListResponseBodyTaskList;
653
365
  /**
654
366
  * @remarks
@@ -3,80 +3,13 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeMetricMetaListResponseBodyResourcesResource extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The metric description.
9
- *
10
- * @example
11
- * CPUUtilization
12
- */
13
6
  description?: string;
14
- /**
15
- * @remarks
16
- * The monitoring dimensions of the resource. Multiple monitoring dimensions are separated with commas (,).
17
- *
18
- * @example
19
- * instanceId
20
- */
21
7
  dimensions?: string;
22
- /**
23
- * @remarks
24
- * The tags of the metric, including one or more JSON strings.
25
- *
26
- * Format: `[{"name":"tag key","value":"tag value"}]`. The `name` can be repeated. The following tags are available:
27
- *
28
- * * metricCategory: the category of the metric.
29
- * * alertEnable: indicates whether to report alerts for the metric.
30
- * * alertUnit: the unit of the metric in the alerts.
31
- * * unitFactor: the factor for metric unit conversion.
32
- * * minAlertPeriod: the minimum interval at which the alert is reported.
33
- * * productCategory: the category of the service.
34
- *
35
- * @example
36
- * [{\\"name\\":\\"alertUnit\\",\\"value\\":\\"Bytes\\"},{\\"name\\":\\"minAlertPeriod\\",\\"value\\":\\"60\\"},{\\"name\\":\\"metricCategory\\",\\"value\\":\\"instanceId\\"},{\\"name\\":\\"instanceType\\",\\"value\\":\\"disaster\\"},{\\"name\\":\\"is_alarm\\",\\"value\\":\\"true\\"},{\\"name\\":\\"productCategory\\",\\"value\\":\\"kvstore_old\\"}]
37
- */
38
8
  labels?: string;
39
- /**
40
- * @remarks
41
- * The metric name.
42
- *
43
- * @example
44
- * CPUUtilization
45
- */
46
9
  metricName?: string;
47
- /**
48
- * @remarks
49
- * The namespace of the cloud service.
50
- *
51
- * @example
52
- * acs_kvstore
53
- */
54
10
  namespace?: string;
55
- /**
56
- * @remarks
57
- * The statistical periods of the metric. Multiple statistical periods are separated with commas (,).
58
- *
59
- * Unit: seconds.
60
- *
61
- * @example
62
- * 60,300
63
- */
64
11
  periods?: string;
65
- /**
66
- * @remarks
67
- * The statistical method. Multiple statistical methods are separated with commas (,).
68
- *
69
- * @example
70
- * Average,Minimum,Maximum
71
- */
72
12
  statistics?: string;
73
- /**
74
- * @remarks
75
- * The unit of the metric.
76
- *
77
- * @example
78
- * %
79
- */
80
13
  unit?: string;
81
14
  static names(): { [key: string]: string } {
82
15
  return {
@@ -166,10 +99,6 @@ export class DescribeMetricMetaListResponseBody extends $dara.Model {
166
99
  * 0CCE0AF0-053C-4B13-A583-DC9A85785D49
167
100
  */
168
101
  requestId?: string;
169
- /**
170
- * @remarks
171
- * The configuration of the metrics in the resources.
172
- */
173
102
  resources?: DescribeMetricMetaListResponseBodyResources;
174
103
  /**
175
104
  * @remarks