@alicloud/cms20240330 10.0.0 → 10.0.1

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 (282) hide show
  1. package/dist/client.d.ts +114 -60
  2. package/dist/client.js +163 -61
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AlertRuleCondition.d.ts +120 -158
  5. package/dist/models/AlertRuleCondition.js +45 -1
  6. package/dist/models/AlertRuleCondition.js.map +1 -1
  7. package/dist/models/AlertRuleQuery.d.ts +78 -75
  8. package/dist/models/AlertRuleQuery.js +41 -1
  9. package/dist/models/AlertRuleQuery.js.map +1 -1
  10. package/dist/models/AlertRuleTemplate.d.ts +5 -56
  11. package/dist/models/AlertRuleTemplate.js +10 -0
  12. package/dist/models/AlertRuleTemplate.js.map +1 -1
  13. package/dist/models/AlertRuleV2.d.ts +16 -2
  14. package/dist/models/AlertRuleV2.js +10 -3
  15. package/dist/models/AlertRuleV2.js.map +1 -1
  16. package/dist/models/ApmCompositeCompareConfig.d.ts +10 -0
  17. package/dist/models/ApmCompositeCompareConfig.js +4 -0
  18. package/dist/models/ApmCompositeCompareConfig.js.map +1 -1
  19. package/dist/models/ApmThresholdConfig.d.ts +2 -8
  20. package/dist/models/ApmThresholdConfig.js +4 -0
  21. package/dist/models/ApmThresholdConfig.js.map +1 -1
  22. package/dist/models/CloudMonitoringCompositeEscalation.d.ts +34 -0
  23. package/dist/models/CloudMonitoringCompositeEscalation.js +68 -0
  24. package/dist/models/CloudMonitoringCompositeEscalation.js.map +1 -0
  25. package/dist/models/CloudMonitoringCompositeEscalationEntry.d.ts +19 -0
  26. package/dist/models/CloudMonitoringCompositeEscalationEntry.js +68 -0
  27. package/dist/models/CloudMonitoringCompositeEscalationEntry.js.map +1 -0
  28. package/dist/models/CloudMonitoringExpressEscalation.d.ts +28 -0
  29. package/dist/models/CloudMonitoringExpressEscalation.js +62 -0
  30. package/dist/models/CloudMonitoringExpressEscalation.js.map +1 -0
  31. package/dist/models/CloudMonitoringPrometheusEscalation.d.ts +28 -0
  32. package/dist/models/CloudMonitoringPrometheusEscalation.js +62 -0
  33. package/dist/models/CloudMonitoringPrometheusEscalation.js.map +1 -0
  34. package/dist/models/CloudMonitoringSimpleEscalation.d.ts +29 -0
  35. package/dist/models/CloudMonitoringSimpleEscalation.js +66 -0
  36. package/dist/models/CloudMonitoringSimpleEscalation.js.map +1 -0
  37. package/dist/models/CloudMonitoringSimpleEscalationEntry.d.ts +19 -0
  38. package/dist/models/CloudMonitoringSimpleEscalationEntry.js +68 -0
  39. package/dist/models/CloudMonitoringSimpleEscalationEntry.js.map +1 -0
  40. package/dist/models/ConditionConfigUnified.d.ts +24 -34
  41. package/dist/models/ConditionConfigUnified.js +58 -0
  42. package/dist/models/ConditionConfigUnified.js.map +1 -1
  43. package/dist/models/CreateAggTaskGroupRequest.d.ts +20 -20
  44. package/dist/models/CreateAggTaskGroupResponseBody.d.ts +6 -6
  45. package/dist/models/CreatePrometheusInstanceRequest.d.ts +25 -22
  46. package/dist/models/CreatePrometheusInstanceRequest.js +2 -0
  47. package/dist/models/CreatePrometheusInstanceRequest.js.map +1 -1
  48. package/dist/models/CreatePrometheusInstanceResponseBody.d.ts +1 -1
  49. package/dist/models/CreatePrometheusViewRequest.d.ts +12 -12
  50. package/dist/models/CreatePrometheusViewResponseBody.d.ts +2 -2
  51. package/dist/models/DatasourceConfigUnified.d.ts +15 -0
  52. package/dist/models/DatasourceConfigUnified.js +6 -0
  53. package/dist/models/DatasourceConfigUnified.js.map +1 -1
  54. package/dist/models/DatasourceTypeFilter.d.ts +18 -0
  55. package/dist/models/DatasourceTypeFilter.js +58 -0
  56. package/dist/models/DatasourceTypeFilter.js.map +1 -0
  57. package/dist/models/DescribeMetricMetaListRequest.d.ts +23 -20
  58. package/dist/models/DescribeMetricMetaListRequest.js.map +1 -1
  59. package/dist/models/DescribeMetricMetaListResponseBody.d.ts +25 -17
  60. package/dist/models/DescribeMetricMetaListResponseBody.js.map +1 -1
  61. package/dist/models/DescribeMetricMetaListShrinkRequest.d.ts +21 -18
  62. package/dist/models/DescribeMetricMetaListShrinkRequest.js.map +1 -1
  63. package/dist/models/GetCloudResourceDataRequest.d.ts +5 -5
  64. package/dist/models/GetCloudResourceDataResponseBody.d.ts +66 -2
  65. package/dist/models/GetCloudResourceDataResponseBody.js.map +1 -1
  66. package/dist/models/GetDeliveryTaskResponseBody.d.ts +15 -15
  67. package/dist/models/GetIntegrationPolicyResponseBody.d.ts +49 -49
  68. package/dist/models/GetMemoryStoreResponseBody.d.ts +15 -15
  69. package/dist/models/GetPrometheusInstanceRequest.d.ts +2 -2
  70. package/dist/models/GetPrometheusInstanceResponseBody.d.ts +36 -31
  71. package/dist/models/GetPrometheusInstanceResponseBody.js.map +1 -1
  72. package/dist/models/GetPrometheusViewRequest.d.ts +2 -2
  73. package/dist/models/GetPrometheusViewResponseBody.d.ts +35 -21
  74. package/dist/models/GetPrometheusViewResponseBody.js.map +1 -1
  75. package/dist/models/ListAggTaskGroupsRequest.d.ts +13 -8
  76. package/dist/models/ListAggTaskGroupsRequest.js.map +1 -1
  77. package/dist/models/ListAggTaskGroupsResponseBody.d.ts +15 -15
  78. package/dist/models/ListAggTaskGroupsShrinkRequest.d.ts +13 -8
  79. package/dist/models/ListAggTaskGroupsShrinkRequest.js.map +1 -1
  80. package/dist/models/ListAlertRobotsRequest.d.ts +5 -5
  81. package/dist/models/ListAlertRobotsResponseBody.d.ts +7 -6
  82. package/dist/models/ListAlertRobotsResponseBody.js +2 -0
  83. package/dist/models/ListAlertRobotsResponseBody.js.map +1 -1
  84. package/dist/models/ListAlertRobotsShrinkRequest.d.ts +5 -5
  85. package/dist/models/ListDeliveryTasksRequest.d.ts +4 -4
  86. package/dist/models/ListDeliveryTasksResponseBody.d.ts +22 -22
  87. package/dist/models/ListDeliveryTasksShrinkRequest.d.ts +4 -4
  88. package/dist/models/ListEventMetaCacheAllKeysDataResult.d.ts +37 -0
  89. package/dist/models/ListEventMetaCacheAllKeysDataResult.js +71 -0
  90. package/dist/models/ListEventMetaCacheAllKeysDataResult.js.map +1 -0
  91. package/dist/models/ListIntegrationPoliciesRequest.d.ts +9 -9
  92. package/dist/models/ListIntegrationPoliciesResponseBody.d.ts +24 -20
  93. package/dist/models/ListIntegrationPoliciesResponseBody.js.map +1 -1
  94. package/dist/models/ListIntegrationPoliciesShrinkRequest.d.ts +9 -9
  95. package/dist/models/ListPipelinesRequest.d.ts +3 -3
  96. package/dist/models/ListPipelinesResponseBody.d.ts +6 -6
  97. package/dist/models/ListPrometheusInstancesRequest.d.ts +13 -5
  98. package/dist/models/ListPrometheusInstancesRequest.js.map +1 -1
  99. package/dist/models/ListPrometheusInstancesResponseBody.d.ts +21 -9
  100. package/dist/models/ListPrometheusInstancesResponseBody.js +2 -0
  101. package/dist/models/ListPrometheusInstancesResponseBody.js.map +1 -1
  102. package/dist/models/ListPrometheusInstancesShrinkRequest.d.ts +13 -5
  103. package/dist/models/ListPrometheusInstancesShrinkRequest.js.map +1 -1
  104. package/dist/models/ListPrometheusViewsRequest.d.ts +5 -5
  105. package/dist/models/ListPrometheusViewsResponseBody.d.ts +20 -10
  106. package/dist/models/ListPrometheusViewsResponseBody.js +2 -0
  107. package/dist/models/ListPrometheusViewsResponseBody.js.map +1 -1
  108. package/dist/models/ListPrometheusViewsShrinkRequest.d.ts +5 -5
  109. package/dist/models/ManageAlertRulesRequest.d.ts +1 -1
  110. package/dist/models/ManageAlertRulesResult.d.ts +10 -0
  111. package/dist/models/ManageAlertRulesResult.js +7 -0
  112. package/dist/models/ManageAlertRulesResult.js.map +1 -1
  113. package/dist/models/ManageAlertRulesShrinkRequest.d.ts +1 -1
  114. package/dist/models/ManageAlertRulesUnifiedActionInput.d.ts +2 -62
  115. package/dist/models/ManageAlertRulesUnifiedActionInput.js +4 -0
  116. package/dist/models/ManageAlertRulesUnifiedActionInput.js.map +1 -1
  117. package/dist/models/MetricSetMultiTrigger.d.ts +24 -0
  118. package/dist/models/MetricSetMultiTrigger.js +80 -0
  119. package/dist/models/MetricSetMultiTrigger.js.map +1 -0
  120. package/dist/models/MetricSetNamedQueryEntry.d.ts +18 -0
  121. package/dist/models/MetricSetNamedQueryEntry.js +68 -0
  122. package/dist/models/MetricSetNamedQueryEntry.js.map +1 -0
  123. package/dist/models/MetricSetTriggerCompositeExpression.d.ts +17 -0
  124. package/dist/models/MetricSetTriggerCompositeExpression.js +66 -0
  125. package/dist/models/MetricSetTriggerCompositeExpression.js.map +1 -0
  126. package/dist/models/MetricSetTriggerSimpleExpression.d.ts +19 -0
  127. package/dist/models/MetricSetTriggerSimpleExpression.js +68 -0
  128. package/dist/models/MetricSetTriggerSimpleExpression.js.map +1 -0
  129. package/dist/models/NotifyConfigUnified.d.ts +1 -28
  130. package/dist/models/NotifyConfigUnified.js +5 -0
  131. package/dist/models/NotifyConfigUnified.js.map +1 -1
  132. package/dist/models/NotifyStrategyIdFilter.d.ts +18 -0
  133. package/dist/models/NotifyStrategyIdFilter.js +58 -0
  134. package/dist/models/NotifyStrategyIdFilter.js.map +1 -0
  135. package/dist/models/ObserveGroup.d.ts +132 -0
  136. package/dist/models/ObserveGroup.js +119 -0
  137. package/dist/models/ObserveGroup.js.map +1 -0
  138. package/dist/models/ObserveGroupDetail.d.ts +123 -0
  139. package/dist/models/ObserveGroupDetail.js +116 -0
  140. package/dist/models/ObserveGroupDetail.js.map +1 -0
  141. package/dist/models/ObserveGroupDiscoverRule.d.ts +176 -0
  142. package/dist/models/ObserveGroupDiscoverRule.js +197 -0
  143. package/dist/models/ObserveGroupDiscoverRule.js.map +1 -0
  144. package/dist/models/ObserveGroupInstance.d.ts +72 -0
  145. package/dist/models/ObserveGroupInstance.js +84 -0
  146. package/dist/models/ObserveGroupInstance.js.map +1 -0
  147. package/dist/models/ObserveResourceGlobalScopeFilter.d.ts +18 -0
  148. package/dist/models/ObserveResourceGlobalScopeFilter.js +58 -0
  149. package/dist/models/ObserveResourceGlobalScopeFilter.js.map +1 -0
  150. package/dist/models/ObserveResourceListFilter.d.ts +18 -0
  151. package/dist/models/ObserveResourceListFilter.js +61 -0
  152. package/dist/models/ObserveResourceListFilter.js.map +1 -0
  153. package/dist/models/ObserveResourceTypeFilter.d.ts +18 -0
  154. package/dist/models/ObserveResourceTypeFilter.js +58 -0
  155. package/dist/models/ObserveResourceTypeFilter.js.map +1 -0
  156. package/dist/models/OpenCmsServiceResponseBody.d.ts +2 -2
  157. package/dist/models/PartitionKeyFilter.d.ts +18 -0
  158. package/dist/models/PartitionKeyFilter.js +58 -0
  159. package/dist/models/PartitionKeyFilter.js.map +1 -0
  160. package/dist/models/QueryAlertRulesFilter.d.ts +16 -4
  161. package/dist/models/QueryAlertRulesFilter.js +38 -4
  162. package/dist/models/QueryAlertRulesFilter.js.map +1 -1
  163. package/dist/models/QueryAlertRulesRequest.d.ts +4 -4
  164. package/dist/models/QueryAlertRulesShrinkRequest.d.ts +4 -4
  165. package/dist/models/QueryConfigUnified.d.ts +15 -52
  166. package/dist/models/QueryConfigUnified.js +29 -0
  167. package/dist/models/QueryConfigUnified.js.map +1 -1
  168. package/dist/models/SearchMemoriesRequest.d.ts +7 -4
  169. package/dist/models/SearchMemoriesRequest.js.map +1 -1
  170. package/dist/models/SearchMemoriesResponseBody.d.ts +4 -4
  171. package/dist/models/SeverityLevelsFilter.d.ts +18 -0
  172. package/dist/models/SeverityLevelsFilter.js +61 -0
  173. package/dist/models/SeverityLevelsFilter.js.map +1 -0
  174. package/dist/models/SubscriptionForModify.d.ts +16 -9
  175. package/dist/models/SubscriptionForModify.js +2 -0
  176. package/dist/models/SubscriptionForModify.js.map +1 -1
  177. package/dist/models/SubscriptionForView.d.ts +12 -5
  178. package/dist/models/SubscriptionForView.js +2 -0
  179. package/dist/models/SubscriptionForView.js.map +1 -1
  180. package/dist/models/UpdateContextStoreRequest.d.ts +6 -6
  181. package/dist/models/UpdateDeliveryTaskRequest.d.ts +8 -8
  182. package/dist/models/UpdateDeliveryTaskResponseBody.d.ts +1 -1
  183. package/dist/models/UpdatePrometheusInstanceRequest.d.ts +16 -10
  184. package/dist/models/UpdatePrometheusInstanceRequest.js.map +1 -1
  185. package/dist/models/UpdatePrometheusInstanceResponseBody.d.ts +2 -2
  186. package/dist/models/UpdateSubscriptionRequest.d.ts +1 -1
  187. package/dist/models/UpdateSubscriptionResponseBody.d.ts +1 -1
  188. package/dist/models/model.d.ts +30 -0
  189. package/dist/models/model.js +86 -25
  190. package/dist/models/model.js.map +1 -1
  191. package/package.json +1 -1
  192. package/src/client.ts +164 -61
  193. package/src/models/AlertRuleCondition.ts +155 -158
  194. package/src/models/AlertRuleQuery.ts +111 -77
  195. package/src/models/AlertRuleTemplate.ts +15 -56
  196. package/src/models/AlertRuleV2.ts +26 -5
  197. package/src/models/ApmCompositeCompareConfig.ts +14 -0
  198. package/src/models/ApmThresholdConfig.ts +6 -8
  199. package/src/models/CloudMonitoringCompositeEscalation.ts +56 -0
  200. package/src/models/CloudMonitoringCompositeEscalationEntry.ts +42 -0
  201. package/src/models/CloudMonitoringExpressEscalation.ts +45 -0
  202. package/src/models/CloudMonitoringPrometheusEscalation.ts +45 -0
  203. package/src/models/CloudMonitoringSimpleEscalation.ts +49 -0
  204. package/src/models/CloudMonitoringSimpleEscalationEntry.ts +42 -0
  205. package/src/models/ConditionConfigUnified.ts +77 -34
  206. package/src/models/CreateAggTaskGroupRequest.ts +20 -20
  207. package/src/models/CreateAggTaskGroupResponseBody.ts +6 -6
  208. package/src/models/CreatePrometheusInstanceRequest.ts +27 -22
  209. package/src/models/CreatePrometheusInstanceResponseBody.ts +1 -1
  210. package/src/models/CreatePrometheusViewRequest.ts +12 -12
  211. package/src/models/CreatePrometheusViewResponseBody.ts +2 -2
  212. package/src/models/DatasourceConfigUnified.ts +21 -0
  213. package/src/models/DatasourceTypeFilter.ts +31 -0
  214. package/src/models/DescribeMetricMetaListRequest.ts +23 -20
  215. package/src/models/DescribeMetricMetaListResponseBody.ts +25 -17
  216. package/src/models/DescribeMetricMetaListShrinkRequest.ts +21 -18
  217. package/src/models/GetCloudResourceDataRequest.ts +5 -5
  218. package/src/models/GetCloudResourceDataResponseBody.ts +66 -2
  219. package/src/models/GetDeliveryTaskResponseBody.ts +15 -15
  220. package/src/models/GetIntegrationPolicyResponseBody.ts +49 -49
  221. package/src/models/GetMemoryStoreResponseBody.ts +15 -15
  222. package/src/models/GetPrometheusInstanceRequest.ts +2 -2
  223. package/src/models/GetPrometheusInstanceResponseBody.ts +36 -31
  224. package/src/models/GetPrometheusViewRequest.ts +2 -2
  225. package/src/models/GetPrometheusViewResponseBody.ts +35 -21
  226. package/src/models/ListAggTaskGroupsRequest.ts +13 -8
  227. package/src/models/ListAggTaskGroupsResponseBody.ts +15 -15
  228. package/src/models/ListAggTaskGroupsShrinkRequest.ts +13 -8
  229. package/src/models/ListAlertRobotsRequest.ts +5 -5
  230. package/src/models/ListAlertRobotsResponseBody.ts +9 -6
  231. package/src/models/ListAlertRobotsShrinkRequest.ts +5 -5
  232. package/src/models/ListDeliveryTasksRequest.ts +4 -4
  233. package/src/models/ListDeliveryTasksResponseBody.ts +22 -22
  234. package/src/models/ListDeliveryTasksShrinkRequest.ts +4 -4
  235. package/src/models/ListEventMetaCacheAllKeysDataResult.ts +63 -0
  236. package/src/models/ListIntegrationPoliciesRequest.ts +9 -9
  237. package/src/models/ListIntegrationPoliciesResponseBody.ts +24 -20
  238. package/src/models/ListIntegrationPoliciesShrinkRequest.ts +9 -9
  239. package/src/models/ListPipelinesRequest.ts +3 -3
  240. package/src/models/ListPipelinesResponseBody.ts +6 -6
  241. package/src/models/ListPrometheusInstancesRequest.ts +13 -5
  242. package/src/models/ListPrometheusInstancesResponseBody.ts +23 -9
  243. package/src/models/ListPrometheusInstancesShrinkRequest.ts +13 -5
  244. package/src/models/ListPrometheusViewsRequest.ts +5 -5
  245. package/src/models/ListPrometheusViewsResponseBody.ts +22 -10
  246. package/src/models/ListPrometheusViewsShrinkRequest.ts +5 -5
  247. package/src/models/ManageAlertRulesRequest.ts +1 -1
  248. package/src/models/ManageAlertRulesResult.ts +17 -0
  249. package/src/models/ManageAlertRulesShrinkRequest.ts +1 -1
  250. package/src/models/ManageAlertRulesUnifiedActionInput.ts +6 -62
  251. package/src/models/MetricSetMultiTrigger.ts +58 -0
  252. package/src/models/MetricSetNamedQueryEntry.ts +40 -0
  253. package/src/models/MetricSetTriggerCompositeExpression.ts +37 -0
  254. package/src/models/MetricSetTriggerSimpleExpression.ts +42 -0
  255. package/src/models/NotifyConfigUnified.ts +6 -28
  256. package/src/models/NotifyStrategyIdFilter.ts +31 -0
  257. package/src/models/ObserveGroup.ts +195 -0
  258. package/src/models/ObserveGroupDetail.ts +185 -0
  259. package/src/models/ObserveGroupDiscoverRule.ts +292 -0
  260. package/src/models/ObserveGroupInstance.ts +107 -0
  261. package/src/models/ObserveResourceGlobalScopeFilter.ts +31 -0
  262. package/src/models/ObserveResourceListFilter.ts +34 -0
  263. package/src/models/ObserveResourceTypeFilter.ts +31 -0
  264. package/src/models/OpenCmsServiceResponseBody.ts +2 -2
  265. package/src/models/PartitionKeyFilter.ts +31 -0
  266. package/src/models/QueryAlertRulesFilter.ts +47 -8
  267. package/src/models/QueryAlertRulesRequest.ts +4 -4
  268. package/src/models/QueryAlertRulesShrinkRequest.ts +4 -4
  269. package/src/models/QueryConfigUnified.ts +41 -52
  270. package/src/models/SearchMemoriesRequest.ts +7 -4
  271. package/src/models/SearchMemoriesResponseBody.ts +4 -4
  272. package/src/models/SeverityLevelsFilter.ts +34 -0
  273. package/src/models/SubscriptionForModify.ts +18 -9
  274. package/src/models/SubscriptionForView.ts +14 -5
  275. package/src/models/UpdateContextStoreRequest.ts +6 -6
  276. package/src/models/UpdateDeliveryTaskRequest.ts +8 -8
  277. package/src/models/UpdateDeliveryTaskResponseBody.ts +1 -1
  278. package/src/models/UpdatePrometheusInstanceRequest.ts +16 -10
  279. package/src/models/UpdatePrometheusInstanceResponseBody.ts +2 -2
  280. package/src/models/UpdateSubscriptionRequest.ts +1 -1
  281. package/src/models/UpdateSubscriptionResponseBody.ts +1 -1
  282. package/src/models/model.ts +30 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class AlertRuleConditionCaseList extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The matching expression. Example: logLevel: error
5
+ * The match expression. Example: logLevel: error.
6
6
  *
7
7
  * @example
8
8
  * logLevel: error
@@ -10,9 +10,9 @@ export declare class AlertRuleConditionCaseList extends $dara.Model {
10
10
  condition?: string;
11
11
  /**
12
12
  * @remarks
13
- * The expression for matching a quantity. Examples:
14
- * Combined range: **count** >= 3 && **count** <= 10
15
- * Single range: **count** >= 3
13
+ * The count match expression. Examples:
14
+ * Range combination: __count__ >= 3 && __count__ <= 10
15
+ * Single range: __count__ >= 3
16
16
  *
17
17
  * @example
18
18
  * count >= 3
@@ -28,17 +28,13 @@ export declare class AlertRuleConditionCaseList extends $dara.Model {
28
28
  level?: string;
29
29
  /**
30
30
  * @remarks
31
- * The match type. It can be data availability, a specific number of data entries, a data match, or a specific number of data entry matches.
31
+ * The match type: has data, has a specific number of data entries, has data match, or has a specific number of data matches.
32
32
  *
33
33
  * Valid values:
34
- *
35
- * - HasData: Data is available.
36
- *
37
- * - HasDataCount: A specific number of data entries are available.
38
- *
39
- * - HasDataMatch: Data matches the condition.
40
- *
41
- * - HasDataMatchCount: A specific number of data entries match the condition.
34
+ * - HasData: has data
35
+ * - HasDataCount: has a specific number of data entries
36
+ * - HasDataMatch: has data match
37
+ * - HasDataMatchCount: has a specific number of data matches
42
38
  *
43
39
  * @example
44
40
  * HasData
@@ -66,7 +62,7 @@ export declare class AlertRuleConditionCompareListValueLevelList extends $dara.M
66
62
  level?: string;
67
63
  /**
68
64
  * @remarks
69
- * The threshold for comparison.
65
+ * The comparison threshold.
70
66
  *
71
67
  * @example
72
68
  * 120
@@ -86,22 +82,15 @@ export declare class AlertRuleConditionCompareListValueLevelList extends $dara.M
86
82
  export declare class AlertRuleConditionCompareList extends $dara.Model {
87
83
  /**
88
84
  * @remarks
89
- * The aggregate function for the time series.
85
+ * The aggregate functions applied after time series aggregation.
90
86
  *
91
87
  * - count
92
- *
93
88
  * - sum
94
- *
95
89
  * - avg
96
- *
97
90
  * - min
98
- *
99
91
  * - max
100
- *
101
92
  * - p90
102
- *
103
93
  * - p95
104
- *
105
94
  * - p99
106
95
  *
107
96
  * @example
@@ -110,7 +99,7 @@ export declare class AlertRuleConditionCompareList extends $dara.Model {
110
99
  aggregate?: string;
111
100
  /**
112
101
  * @remarks
113
- * The unit of the data.
102
+ * The data unit.
114
103
  *
115
104
  * @example
116
105
  * %
@@ -118,7 +107,7 @@ export declare class AlertRuleConditionCompareList extends $dara.Model {
118
107
  baseUnit?: string;
119
108
  /**
120
109
  * @remarks
121
- * The unit for display.
110
+ * The display unit.
122
111
  *
123
112
  * @example
124
113
  * %
@@ -126,23 +115,16 @@ export declare class AlertRuleConditionCompareList extends $dara.Model {
126
115
  displayUnit?: string;
127
116
  /**
128
117
  * @remarks
129
- * The comparison operation. It determines whether to perform a year-over-year or period-over-period comparison.
130
- *
131
- * - GT: Greater than.
132
- *
133
- * - GTE: Greater than or equal to.
134
- *
135
- * - LT: Less than.
136
- *
137
- * - LTE: Less than or equal to.
118
+ * The comparison operator. Determines whether year-over-year or period-over-period comparison is used.
138
119
  *
139
- * - EQ: Equal to.
140
- *
141
- * - NE: Not equal to.
142
- *
143
- * - YOY_UP: Year-over-year increase.
144
- *
145
- * - YOY_DOWN: Year-over-year decrease.
120
+ * - Greater than: GT
121
+ * - Greater than or equal to: GTE
122
+ * - Less than: LT
123
+ * - Less than or equal to: LTE
124
+ * - Equal to: EQ
125
+ * - Not equal to: NE
126
+ * - Year-over-year increase: YOY_UP
127
+ * - Year-over-year decrease: YOY_DOWN
146
128
  *
147
129
  * @example
148
130
  * GT
@@ -150,7 +132,7 @@ export declare class AlertRuleConditionCompareList extends $dara.Model {
150
132
  oper?: string;
151
133
  /**
152
134
  * @remarks
153
- * The threshold for comparison.
135
+ * The comparison threshold.
154
136
  *
155
137
  * @example
156
138
  * 50
@@ -158,12 +140,13 @@ export declare class AlertRuleConditionCompareList extends $dara.Model {
158
140
  value?: number;
159
141
  /**
160
142
  * @remarks
161
- * A list of alert levels for different values.
143
+ * The list of alert levels for different values.
162
144
  */
163
145
  valueLevelList?: AlertRuleConditionCompareListValueLevelList[];
164
146
  /**
165
147
  * @remarks
166
- * The time unit for year-over-year comparison. This parameter is valid only when oper is set to YOY_UP or YOY_DOWN. Valid values: minute, hour, day, week, and month.
148
+ * The time unit for year-over-year comparison. Valid only when oper is set to YOY_UP or YOY_DOWN.
149
+ * Valid values: minute, hour, day, week, month.
167
150
  *
168
151
  * @example
169
152
  * month
@@ -171,7 +154,7 @@ export declare class AlertRuleConditionCompareList extends $dara.Model {
171
154
  yoyTimeUnit?: string;
172
155
  /**
173
156
  * @remarks
174
- * The time value for year-over-year comparison. Used with yoyTimeUnit.
157
+ * The value of the year-over-year time period. Used together with yoyTimeUnit.
175
158
  *
176
159
  * @example
177
160
  * 1
@@ -191,31 +174,20 @@ export declare class AlertRuleConditionCompareList extends $dara.Model {
191
174
  export declare class AlertRuleConditionCompositeEscalationEscalations extends $dara.Model {
192
175
  /**
193
176
  * @remarks
194
- * The comparison operator for the threshold. Valid values:
177
+ * The threshold comparison operator. Valid values:
195
178
  *
196
179
  * - GreaterThanOrEqualToThreshold: Greater than or equal to.
197
- *
198
180
  * - GreaterThanThreshold: Greater than.
199
- *
200
181
  * - LessThanOrEqualToThreshold: Less than or equal to.
201
- *
202
182
  * - LessThanThreshold: Less than.
203
- *
204
183
  * - NotEqualToThreshold: Not equal to.
205
- *
206
184
  * - EqualToThreshold: Equal to.
207
- *
208
- * - GreaterThanYesterday: Higher than the value at the same time yesterday.
209
- *
210
- * - LessThanYesterday: Lower than the value at the same time yesterday.
211
- *
212
- * - GreaterThanLastWeek: Higher than the value at the same time last week.
213
- *
214
- * - LessThanLastWeek: Lower than the value at the same time last week.
215
- *
216
- * - GreaterThanLastPeriod: Higher than the value in the previous period.
217
- *
218
- * - LessThanLastPeriod: Lower than the value in the previous period.
185
+ * - GreaterThanYesterday: Year-over-year increase compared with the same time yesterday.
186
+ * - LessThanYesterday: Year-over-year decrease compared with the same time yesterday.
187
+ * - GreaterThanLastWeek: Year-over-year increase compared with the same time last week.
188
+ * - LessThanLastWeek: Year-over-year decrease compared with the same time last week.
189
+ * - GreaterThanLastPeriod: Period-over-period increase compared with the previous period.
190
+ * - LessThanLastPeriod: Period-over-period decrease compared with the previous period.
219
191
  *
220
192
  * @example
221
193
  * GreaterThanOrEqualToThreshold
@@ -223,7 +195,7 @@ export declare class AlertRuleConditionCompositeEscalationEscalations extends $d
223
195
  comparisonOperator?: string;
224
196
  /**
225
197
  * @remarks
226
- * The name of the metric.
198
+ * The metric name.
227
199
  *
228
200
  * @example
229
201
  * cpu_total
@@ -231,7 +203,7 @@ export declare class AlertRuleConditionCompositeEscalationEscalations extends $d
231
203
  metricName?: string;
232
204
  /**
233
205
  * @remarks
234
- * The time window for the metric.
206
+ * The time window of the metric.
235
207
  *
236
208
  * @example
237
209
  * 60
@@ -239,17 +211,14 @@ export declare class AlertRuleConditionCompositeEscalationEscalations extends $d
239
211
  period?: number;
240
212
  /**
241
213
  * @remarks
242
- * The statistical method. The valid values for this parameter are determined by the Statistics column that corresponds to the MetricName of the specified cloud product. Examples of statistical methods for metrics:
214
+ * The statistical method. The value of this parameter is determined by the Statistics column corresponding to the MetricName of the specified cloud service. Example values for the statistical method of a metric:
243
215
  *
244
- * - $Maximum: The maximum value.
216
+ * - $Maximum: Maximum value.
217
+ * - $Minimum: Minimum value.
218
+ * - $Average: Average value.
219
+ * - $Availability: Availability rate (typically used for site monitoring).
245
220
  *
246
- * - $Minimum: The minimum value.
247
- *
248
- * - $Average: The average value.
249
- *
250
- * - $Availability: The availability rate. This is typically used for site monitoring.
251
- *
252
- * Note: The dollar sign ($) is a standard prefix for metrics.
221
+ * Note: $ is the unified prefix symbol for metrics.
253
222
  *
254
223
  * @example
255
224
  * $Maximum
@@ -277,12 +246,12 @@ export declare class AlertRuleConditionCompositeEscalationEscalations extends $d
277
246
  export declare class AlertRuleConditionCompositeEscalation extends $dara.Model {
278
247
  /**
279
248
  * @remarks
280
- * A list of composite conditions for multiple metrics.
249
+ * The list of composite conditions for multiple metrics.
281
250
  */
282
251
  escalations?: AlertRuleConditionCompositeEscalationEscalations[];
283
252
  /**
284
253
  * @remarks
285
- * The alert level that is triggered when the condition is met. Composite metric alerts support only one level.
254
+ * The alert level triggered when the condition is met. Composite metric alerts support only one level.
286
255
  *
287
256
  * @example
288
257
  * INFO
@@ -290,7 +259,7 @@ export declare class AlertRuleConditionCompositeEscalation extends $dara.Model {
290
259
  level?: string;
291
260
  /**
292
261
  * @remarks
293
- * The relationship between multiple metric conditions. Valid values: and or or.
262
+ * The relationship between multiple metric conditions. Valid values: and, or.
294
263
  *
295
264
  * @example
296
265
  * and
@@ -318,12 +287,10 @@ export declare class AlertRuleConditionCompositeEscalation extends $dara.Model {
318
287
  export declare class AlertRuleConditionExpressEscalation extends $dara.Model {
319
288
  /**
320
289
  * @remarks
321
- * The alert level that is triggered when the condition is met. Expression-based alerts support only one level.
290
+ * The alert level triggered when the condition is met. Expression-based alerts support only one level.
322
291
  *
323
292
  * - CRITICAL
324
- *
325
293
  * - WARNING
326
- *
327
294
  * - INFO
328
295
  *
329
296
  * @example
@@ -360,31 +327,20 @@ export declare class AlertRuleConditionExpressEscalation extends $dara.Model {
360
327
  export declare class AlertRuleConditionSimpleEscalationEscalations extends $dara.Model {
361
328
  /**
362
329
  * @remarks
363
- * The comparison operator for the threshold. Valid values:
330
+ * The threshold comparison operator. Valid values:
364
331
  *
365
332
  * - GreaterThanOrEqualToThreshold: Greater than or equal to.
366
- *
367
333
  * - GreaterThanThreshold: Greater than.
368
- *
369
334
  * - LessThanOrEqualToThreshold: Less than or equal to.
370
- *
371
335
  * - LessThanThreshold: Less than.
372
- *
373
336
  * - NotEqualToThreshold: Not equal to.
374
- *
375
337
  * - EqualToThreshold: Equal to.
376
- *
377
- * - GreaterThanYesterday: Higher than the value at the same time yesterday.
378
- *
379
- * - LessThanYesterday: Lower than the value at the same time yesterday.
380
- *
381
- * - GreaterThanLastWeek: Higher than the value at the same time last week.
382
- *
383
- * - LessThanLastWeek: Lower than the value at the same time last week.
384
- *
385
- * - GreaterThanLastPeriod: Higher than the value in the previous period.
386
- *
387
- * - LessThanLastPeriod: Lower than the value in the previous period.
338
+ * - GreaterThanYesterday: Year-over-year increase compared with the same time yesterday.
339
+ * - LessThanYesterday: Year-over-year decrease compared with the same time yesterday.
340
+ * - GreaterThanLastWeek: Year-over-year increase compared with the same time last week.
341
+ * - LessThanLastWeek: Year-over-year decrease compared with the same time last week.
342
+ * - GreaterThanLastPeriod: Period-over-period increase compared with the previous period.
343
+ * - LessThanLastPeriod: Period-over-period decrease compared with the previous period.
388
344
  *
389
345
  * @example
390
346
  * GreaterThanOrEqualToThreshold
@@ -392,12 +348,10 @@ export declare class AlertRuleConditionSimpleEscalationEscalations extends $dara
392
348
  comparisonOperator?: string;
393
349
  /**
394
350
  * @remarks
395
- * The alert level that is triggered when the condition is met. Expression-based alerts support only one level.
351
+ * The alert level triggered when the condition is met. Expression-based alerts support only one level.
396
352
  *
397
353
  * - CRITICAL
398
- *
399
354
  * - WARNING
400
- *
401
355
  * - INFO
402
356
  *
403
357
  * @example
@@ -406,7 +360,7 @@ export declare class AlertRuleConditionSimpleEscalationEscalations extends $dara
406
360
  level?: string;
407
361
  /**
408
362
  * @remarks
409
- * The statistical method. The valid values for this parameter are determined by the Statistics column that corresponds to the MetricName of the specified cloud product. Examples: Maximum, Minimum, and Average.
363
+ * The statistical method. The value of this parameter is determined by the Statistics column corresponding to the MetricName of the specified cloud service. Examples: Maximum, Minimum, and Average.
410
364
  *
411
365
  * @example
412
366
  * Average
@@ -442,12 +396,12 @@ export declare class AlertRuleConditionSimpleEscalationEscalations extends $dara
442
396
  export declare class AlertRuleConditionSimpleEscalation extends $dara.Model {
443
397
  /**
444
398
  * @remarks
445
- * A list of conditions. If an alert rule has multiple levels, each level has a corresponding condition object.
399
+ * The list of conditions. When an alert rule corresponds to multiple levels, each level has a condition object.
446
400
  */
447
401
  escalations?: AlertRuleConditionSimpleEscalationEscalations[];
448
402
  /**
449
403
  * @remarks
450
- * Applicable to the CMS_BASIC_CONDITION type.
404
+ * Applicable condition type: CMS_BASIC_CONDITION.
451
405
  *
452
406
  * The metric associated with the alert condition.
453
407
  *
@@ -457,7 +411,7 @@ export declare class AlertRuleConditionSimpleEscalation extends $dara.Model {
457
411
  metricName?: string;
458
412
  /**
459
413
  * @remarks
460
- * The time window for the metric, in seconds.
414
+ * The time window of the metric. Unit: seconds.
461
415
  *
462
416
  * @example
463
417
  * 60
@@ -474,6 +428,22 @@ export declare class AlertRuleConditionSimpleEscalation extends $dara.Model {
474
428
  [key: string]: any;
475
429
  });
476
430
  }
431
+ export declare class AlertRuleConditionThresholdList extends $dara.Model {
432
+ max?: number;
433
+ min?: number;
434
+ severity?: string;
435
+ threshold?: number;
436
+ static names(): {
437
+ [key: string]: string;
438
+ };
439
+ static types(): {
440
+ [key: string]: any;
441
+ };
442
+ validate(): void;
443
+ constructor(map?: {
444
+ [key: string]: any;
445
+ });
446
+ }
477
447
  export declare class AlertRuleConditionTriggersExpressionConditions extends $dara.Model {
478
448
  expressionType?: string;
479
449
  operator?: string;
@@ -523,9 +493,9 @@ export declare class AlertRuleConditionTriggers extends $dara.Model {
523
493
  export declare class AlertRuleCondition extends $dara.Model {
524
494
  /**
525
495
  * @remarks
526
- * Applicable to the SLS_CONDITION type.
496
+ * Applicable condition type: SLS_CONDITION.
527
497
  *
528
- * The number of times the condition must be met to trigger an alert. The default value is 1.
498
+ * The number of times the condition must be met before an alert is triggered. Default value: 1.
529
499
  *
530
500
  * @example
531
501
  * 1
@@ -533,37 +503,37 @@ export declare class AlertRuleCondition extends $dara.Model {
533
503
  alertCount?: number;
534
504
  /**
535
505
  * @remarks
536
- * Applicable to the SLS_CONDITION type.
506
+ * Applicable condition type: SLS_CONDITION.
537
507
  *
538
- * A list of SLS alert conditions.
508
+ * The list of Simple Log Service alert conditions.
539
509
  */
540
510
  caseList?: AlertRuleConditionCaseList[];
541
511
  /**
542
512
  * @remarks
543
- * Applicable to the APM_CONDITION type.
513
+ * Applicable condition type: APM_CONDITION.
544
514
  *
545
- * A list of Application Performance Management (APM) alert comparison conditions.
515
+ * The list of Application Performance Monitoring (APM) alert comparison conditions.
546
516
  */
547
517
  compareList?: AlertRuleConditionCompareList[];
548
518
  /**
549
519
  * @remarks
550
- * Applicable to the CMS_BASIC_CONDITION type.
520
+ * Applicable condition type: CMS_BASIC_CONDITION.
551
521
  *
552
- * This parameter is valid only when escalationType is set to composite. It specifies the alert condition for composite metrics.
522
+ * This parameter takes effect only when escalationType is set to composite. The composite metric alert condition.
553
523
  */
554
524
  compositeEscalation?: AlertRuleConditionCompositeEscalation;
525
+ countOperator?: string;
526
+ countThreshold?: number;
555
527
  enableSeveritySuppression?: boolean;
556
528
  /**
557
529
  * @remarks
558
- * Applicable to the CMS_BASIC_CONDITION type.
530
+ * Applicable condition type: CMS_BASIC_CONDITION.
559
531
  *
560
532
  * Valid values:
561
533
  *
562
- * - simple: A simple metric condition.
563
- *
564
- * - composite: A composite metric condition.
565
- *
566
- * - express: An expression-based condition.
534
+ * - simple: simple metric condition.
535
+ * - composite: composite metric condition.
536
+ * - express: expression condition.
567
537
  *
568
538
  * @example
569
539
  * simple
@@ -571,16 +541,21 @@ export declare class AlertRuleCondition extends $dara.Model {
571
541
  escalationType?: string;
572
542
  /**
573
543
  * @remarks
574
- * This parameter is applicable only to the CMS_BASIC_CONDITION condition type.
544
+ * Applicable condition type: CMS_BASIC_CONDITION.
575
545
  *
576
- * This parameter takes effect when escalationType is set to composite. It defines the conditions for a composite alert based on multiple metrics.
546
+ * This parameter takes effect only when escalationType is set to composite. The multi-metric composite alert condition.
577
547
  */
578
548
  expressEscalation?: AlertRuleConditionExpressEscalation;
549
+ matchField?: string;
550
+ matchOperator?: string;
551
+ matchValue?: string;
552
+ max?: number;
553
+ min?: number;
579
554
  /**
580
555
  * @remarks
581
- * Applicable to the APM_CONDITION type.
556
+ * Applicable condition type: APM_CONDITION.
582
557
  *
583
- * The alert level for when no data is available. If you do not specify this parameter, no alert is triggered when no data is available.
558
+ * The alert level when no data is available. If this parameter is not specified, no alert is triggered when no data is available.
584
559
  *
585
560
  * @example
586
561
  * INFO
@@ -588,9 +563,9 @@ export declare class AlertRuleCondition extends $dara.Model {
588
563
  noDataAlertLevel?: string;
589
564
  /**
590
565
  * @remarks
591
- * Applicable to the APM_CONDITION type.
566
+ * Applicable condition type: APM_CONDITION.
592
567
  *
593
- * The value to use when no data is available.
568
+ * The compensation value when no data is available.
594
569
  *
595
570
  * @example
596
571
  * 1
@@ -598,15 +573,13 @@ export declare class AlertRuleCondition extends $dara.Model {
598
573
  noDataAppendValue?: string;
599
574
  /**
600
575
  * @remarks
601
- * Applicable to the CMS_BASIC_CONDITION type.
576
+ * Applicable condition type: CMS_BASIC_CONDITION.
602
577
  *
603
- * The method for handling alerts when no monitoring data is available. Valid values:
578
+ * The method used to handle alerts when no monitoring data is available. Valid values:
604
579
  *
605
580
  * - KEEP_LAST_STATE (default): No action is taken.
606
- *
607
581
  * - INSUFFICIENT_DATA: The alert content indicates that no data is available.
608
- *
609
- * - OK: The status is normal.
582
+ * - OK: Normal.
610
583
  *
611
584
  * @example
612
585
  * KEEP_LAST_STATE
@@ -614,23 +587,16 @@ export declare class AlertRuleCondition extends $dara.Model {
614
587
  noDataPolicy?: string;
615
588
  /**
616
589
  * @remarks
617
- * The comparison operation. It determines whether to perform a year-over-year or period-over-period comparison.
618
- *
619
- * - GT: Greater than.
620
- *
621
- * - GTE: Greater than or equal to.
622
- *
623
- * - LT: Less than.
590
+ * The comparison operator. Specifies whether to use year-over-year or period-over-period comparison. Valid values:
624
591
  *
625
- * - LTE: Less than or equal to.
626
- *
627
- * - EQ: Equal to.
628
- *
629
- * - NE: Not equal to.
630
- *
631
- * - YOY_UP: Year-over-year increase.
632
- *
633
- * - YOY_DOWN: Year-over-year decrease.
592
+ * - GT: greater than.
593
+ * - GTE: greater than or equal to.
594
+ * - LT: less than.
595
+ * - LTE: less than or equal to.
596
+ * - EQ: equal to.
597
+ * - NE: not equal to.
598
+ * - YOY_UP: year-over-year increase.
599
+ * - YOY_DOWN: year-over-year decrease.
634
600
  *
635
601
  * @example
636
602
  * LT
@@ -638,12 +604,10 @@ export declare class AlertRuleCondition extends $dara.Model {
638
604
  oper?: string;
639
605
  /**
640
606
  * @remarks
641
- * Applicable to the APM_CONDITION type.
607
+ * Applicable condition type: APM_CONDITION.
642
608
  *
643
609
  * The logical relationship between multiple conditions. Valid values:
644
- *
645
610
  * - and
646
- *
647
611
  * - or
648
612
  *
649
613
  * @example
@@ -652,21 +616,19 @@ export declare class AlertRuleCondition extends $dara.Model {
652
616
  relation?: string;
653
617
  /**
654
618
  * @remarks
655
- * Applicable to the CMS_BASIC_CONDITION type.
619
+ * Applicable condition type: CMS_BASIC_CONDITION.
656
620
  *
657
- * This parameter is valid only when escalationType is set to simple. It specifies the alert condition for a single metric.
621
+ * This parameter takes effect only when escalationType is set to simple. The alert condition configured for a single metric.
658
622
  */
659
623
  simpleEscalation?: AlertRuleConditionSimpleEscalation;
624
+ thresholdList?: AlertRuleConditionThresholdList[];
660
625
  triggers?: AlertRuleConditionTriggers[];
661
626
  /**
662
627
  * @remarks
663
- * The type of the rule condition. Valid values:
664
- *
665
- * - SLS_CONDITION: An SLS alert condition.
666
- *
667
- * - APM_CONDITION: An APM alert condition.
668
- *
669
- * - CMS_BASIC_CONDITION: A basic Cloud Monitor alert condition.
628
+ * The rule condition type. Valid values:
629
+ * - SLS_CONDITION: Simple Log Service alert condition.
630
+ * - APM_CONDITION: APM alert condition.
631
+ * - CMS_BASIC_CONDITION: CloudMonitor Basic monitoring alert condition.
670
632
  *
671
633
  * This parameter is required.
672
634
  *
@@ -676,7 +638,7 @@ export declare class AlertRuleCondition extends $dara.Model {
676
638
  type?: string;
677
639
  /**
678
640
  * @remarks
679
- * The threshold that triggers an alert.
641
+ * The threshold that triggers the alert.
680
642
  *
681
643
  * @example
682
644
  * 60
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.AlertRuleCondition = exports.AlertRuleConditionTriggers = exports.AlertRuleConditionTriggersExpression = exports.AlertRuleConditionTriggersExpressionConditions = exports.AlertRuleConditionSimpleEscalation = exports.AlertRuleConditionSimpleEscalationEscalations = exports.AlertRuleConditionExpressEscalation = exports.AlertRuleConditionCompositeEscalation = exports.AlertRuleConditionCompositeEscalationEscalations = exports.AlertRuleConditionCompareList = exports.AlertRuleConditionCompareListValueLevelList = exports.AlertRuleConditionCaseList = void 0;
36
+ exports.AlertRuleCondition = exports.AlertRuleConditionTriggers = exports.AlertRuleConditionTriggersExpression = exports.AlertRuleConditionTriggersExpressionConditions = exports.AlertRuleConditionThresholdList = exports.AlertRuleConditionSimpleEscalation = exports.AlertRuleConditionSimpleEscalationEscalations = exports.AlertRuleConditionExpressEscalation = exports.AlertRuleConditionCompositeEscalation = exports.AlertRuleConditionCompositeEscalationEscalations = exports.AlertRuleConditionCompareList = exports.AlertRuleConditionCompareListValueLevelList = exports.AlertRuleConditionCaseList = void 0;
37
37
  // This file is auto-generated, don't edit it
38
38
  const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class AlertRuleConditionCaseList extends $dara.Model {
@@ -249,6 +249,31 @@ class AlertRuleConditionSimpleEscalation extends $dara.Model {
249
249
  }
250
250
  }
251
251
  exports.AlertRuleConditionSimpleEscalation = AlertRuleConditionSimpleEscalation;
252
+ class AlertRuleConditionThresholdList extends $dara.Model {
253
+ static names() {
254
+ return {
255
+ max: 'max',
256
+ min: 'min',
257
+ severity: 'severity',
258
+ threshold: 'threshold',
259
+ };
260
+ }
261
+ static types() {
262
+ return {
263
+ max: 'number',
264
+ min: 'number',
265
+ severity: 'string',
266
+ threshold: 'number',
267
+ };
268
+ }
269
+ validate() {
270
+ super.validate();
271
+ }
272
+ constructor(map) {
273
+ super(map);
274
+ }
275
+ }
276
+ exports.AlertRuleConditionThresholdList = AlertRuleConditionThresholdList;
252
277
  class AlertRuleConditionTriggersExpressionConditions extends $dara.Model {
253
278
  static names() {
254
279
  return {
@@ -333,15 +358,23 @@ class AlertRuleCondition extends $dara.Model {
333
358
  caseList: 'caseList',
334
359
  compareList: 'compareList',
335
360
  compositeEscalation: 'compositeEscalation',
361
+ countOperator: 'countOperator',
362
+ countThreshold: 'countThreshold',
336
363
  enableSeveritySuppression: 'enableSeveritySuppression',
337
364
  escalationType: 'escalationType',
338
365
  expressEscalation: 'expressEscalation',
366
+ matchField: 'matchField',
367
+ matchOperator: 'matchOperator',
368
+ matchValue: 'matchValue',
369
+ max: 'max',
370
+ min: 'min',
339
371
  noDataAlertLevel: 'noDataAlertLevel',
340
372
  noDataAppendValue: 'noDataAppendValue',
341
373
  noDataPolicy: 'noDataPolicy',
342
374
  oper: 'oper',
343
375
  relation: 'relation',
344
376
  simpleEscalation: 'simpleEscalation',
377
+ thresholdList: 'thresholdList',
345
378
  triggers: 'triggers',
346
379
  type: 'type',
347
380
  value: 'value',
@@ -353,15 +386,23 @@ class AlertRuleCondition extends $dara.Model {
353
386
  caseList: { 'type': 'array', 'itemType': AlertRuleConditionCaseList },
354
387
  compareList: { 'type': 'array', 'itemType': AlertRuleConditionCompareList },
355
388
  compositeEscalation: AlertRuleConditionCompositeEscalation,
389
+ countOperator: 'string',
390
+ countThreshold: 'number',
356
391
  enableSeveritySuppression: 'boolean',
357
392
  escalationType: 'string',
358
393
  expressEscalation: AlertRuleConditionExpressEscalation,
394
+ matchField: 'string',
395
+ matchOperator: 'string',
396
+ matchValue: 'string',
397
+ max: 'number',
398
+ min: 'number',
359
399
  noDataAlertLevel: 'string',
360
400
  noDataAppendValue: 'string',
361
401
  noDataPolicy: 'string',
362
402
  oper: 'string',
363
403
  relation: 'string',
364
404
  simpleEscalation: AlertRuleConditionSimpleEscalation,
405
+ thresholdList: { 'type': 'array', 'itemType': AlertRuleConditionThresholdList },
365
406
  triggers: { 'type': 'array', 'itemType': AlertRuleConditionTriggers },
366
407
  type: 'string',
367
408
  value: 'number',
@@ -383,6 +424,9 @@ class AlertRuleCondition extends $dara.Model {
383
424
  if (this.simpleEscalation && typeof this.simpleEscalation.validate === 'function') {
384
425
  this.simpleEscalation.validate();
385
426
  }
427
+ if (Array.isArray(this.thresholdList)) {
428
+ $dara.Model.validateArray(this.thresholdList);
429
+ }
386
430
  if (Array.isArray(this.triggers)) {
387
431
  $dara.Model.validateArray(this.triggers);
388
432
  }