@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
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AlertRuleConditionCaseList extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The matching expression. Example: logLevel: error
8
+ * The match expression. Example: logLevel: error.
9
9
  *
10
10
  * @example
11
11
  * logLevel: error
@@ -13,9 +13,9 @@ export class AlertRuleConditionCaseList extends $dara.Model {
13
13
  condition?: string;
14
14
  /**
15
15
  * @remarks
16
- * The expression for matching a quantity. Examples:
17
- * Combined range: **count** >= 3 && **count** <= 10
18
- * Single range: **count** >= 3
16
+ * The count match expression. Examples:
17
+ * Range combination: __count__ >= 3 && __count__ <= 10
18
+ * Single range: __count__ >= 3
19
19
  *
20
20
  * @example
21
21
  * count >= 3
@@ -31,17 +31,13 @@ export class AlertRuleConditionCaseList extends $dara.Model {
31
31
  level?: string;
32
32
  /**
33
33
  * @remarks
34
- * 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.
34
+ * The match type: has data, has a specific number of data entries, has data match, or has a specific number of data matches.
35
35
  *
36
36
  * Valid values:
37
- *
38
- * - HasData: Data is available.
39
- *
40
- * - HasDataCount: A specific number of data entries are available.
41
- *
42
- * - HasDataMatch: Data matches the condition.
43
- *
44
- * - HasDataMatchCount: A specific number of data entries match the condition.
37
+ * - HasData: has data
38
+ * - HasDataCount: has a specific number of data entries
39
+ * - HasDataMatch: has data match
40
+ * - HasDataMatchCount: has a specific number of data matches
45
41
  *
46
42
  * @example
47
43
  * HasData
@@ -85,7 +81,7 @@ export class AlertRuleConditionCompareListValueLevelList extends $dara.Model {
85
81
  level?: string;
86
82
  /**
87
83
  * @remarks
88
- * The threshold for comparison.
84
+ * The comparison threshold.
89
85
  *
90
86
  * @example
91
87
  * 120
@@ -117,22 +113,15 @@ export class AlertRuleConditionCompareListValueLevelList extends $dara.Model {
117
113
  export class AlertRuleConditionCompareList extends $dara.Model {
118
114
  /**
119
115
  * @remarks
120
- * The aggregate function for the time series.
116
+ * The aggregate functions applied after time series aggregation.
121
117
  *
122
118
  * - count
123
- *
124
119
  * - sum
125
- *
126
120
  * - avg
127
- *
128
121
  * - min
129
- *
130
122
  * - max
131
- *
132
123
  * - p90
133
- *
134
124
  * - p95
135
- *
136
125
  * - p99
137
126
  *
138
127
  * @example
@@ -141,7 +130,7 @@ export class AlertRuleConditionCompareList extends $dara.Model {
141
130
  aggregate?: string;
142
131
  /**
143
132
  * @remarks
144
- * The unit of the data.
133
+ * The data unit.
145
134
  *
146
135
  * @example
147
136
  * %
@@ -149,7 +138,7 @@ export class AlertRuleConditionCompareList extends $dara.Model {
149
138
  baseUnit?: string;
150
139
  /**
151
140
  * @remarks
152
- * The unit for display.
141
+ * The display unit.
153
142
  *
154
143
  * @example
155
144
  * %
@@ -157,23 +146,16 @@ export class AlertRuleConditionCompareList extends $dara.Model {
157
146
  displayUnit?: string;
158
147
  /**
159
148
  * @remarks
160
- * The comparison operation. It determines whether to perform a year-over-year or period-over-period comparison.
161
- *
162
- * - GT: Greater than.
149
+ * The comparison operator. Determines whether year-over-year or period-over-period comparison is used.
163
150
  *
164
- * - GTE: Greater than or equal to.
165
- *
166
- * - LT: Less than.
167
- *
168
- * - LTE: Less than or equal to.
169
- *
170
- * - EQ: Equal to.
171
- *
172
- * - NE: Not equal to.
173
- *
174
- * - YOY_UP: Year-over-year increase.
175
- *
176
- * - YOY_DOWN: Year-over-year decrease.
151
+ * - Greater than: GT
152
+ * - Greater than or equal to: GTE
153
+ * - Less than: LT
154
+ * - Less than or equal to: LTE
155
+ * - Equal to: EQ
156
+ * - Not equal to: NE
157
+ * - Year-over-year increase: YOY_UP
158
+ * - Year-over-year decrease: YOY_DOWN
177
159
  *
178
160
  * @example
179
161
  * GT
@@ -181,7 +163,7 @@ export class AlertRuleConditionCompareList extends $dara.Model {
181
163
  oper?: string;
182
164
  /**
183
165
  * @remarks
184
- * The threshold for comparison.
166
+ * The comparison threshold.
185
167
  *
186
168
  * @example
187
169
  * 50
@@ -189,12 +171,13 @@ export class AlertRuleConditionCompareList extends $dara.Model {
189
171
  value?: number;
190
172
  /**
191
173
  * @remarks
192
- * A list of alert levels for different values.
174
+ * The list of alert levels for different values.
193
175
  */
194
176
  valueLevelList?: AlertRuleConditionCompareListValueLevelList[];
195
177
  /**
196
178
  * @remarks
197
- * 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.
179
+ * The time unit for year-over-year comparison. Valid only when oper is set to YOY_UP or YOY_DOWN.
180
+ * Valid values: minute, hour, day, week, month.
198
181
  *
199
182
  * @example
200
183
  * month
@@ -202,7 +185,7 @@ export class AlertRuleConditionCompareList extends $dara.Model {
202
185
  yoyTimeUnit?: string;
203
186
  /**
204
187
  * @remarks
205
- * The time value for year-over-year comparison. Used with yoyTimeUnit.
188
+ * The value of the year-over-year time period. Used together with yoyTimeUnit.
206
189
  *
207
190
  * @example
208
191
  * 1
@@ -249,31 +232,20 @@ export class AlertRuleConditionCompareList extends $dara.Model {
249
232
  export class AlertRuleConditionCompositeEscalationEscalations extends $dara.Model {
250
233
  /**
251
234
  * @remarks
252
- * The comparison operator for the threshold. Valid values:
235
+ * The threshold comparison operator. Valid values:
253
236
  *
254
237
  * - GreaterThanOrEqualToThreshold: Greater than or equal to.
255
- *
256
238
  * - GreaterThanThreshold: Greater than.
257
- *
258
239
  * - LessThanOrEqualToThreshold: Less than or equal to.
259
- *
260
240
  * - LessThanThreshold: Less than.
261
- *
262
241
  * - NotEqualToThreshold: Not equal to.
263
- *
264
242
  * - EqualToThreshold: Equal to.
265
- *
266
- * - GreaterThanYesterday: Higher than the value at the same time yesterday.
267
- *
268
- * - LessThanYesterday: Lower than the value at the same time yesterday.
269
- *
270
- * - GreaterThanLastWeek: Higher than the value at the same time last week.
271
- *
272
- * - LessThanLastWeek: Lower than the value at the same time last week.
273
- *
274
- * - GreaterThanLastPeriod: Higher than the value in the previous period.
275
- *
276
- * - LessThanLastPeriod: Lower than the value in the previous period.
243
+ * - GreaterThanYesterday: Year-over-year increase compared with the same time yesterday.
244
+ * - LessThanYesterday: Year-over-year decrease compared with the same time yesterday.
245
+ * - GreaterThanLastWeek: Year-over-year increase compared with the same time last week.
246
+ * - LessThanLastWeek: Year-over-year decrease compared with the same time last week.
247
+ * - GreaterThanLastPeriod: Period-over-period increase compared with the previous period.
248
+ * - LessThanLastPeriod: Period-over-period decrease compared with the previous period.
277
249
  *
278
250
  * @example
279
251
  * GreaterThanOrEqualToThreshold
@@ -281,7 +253,7 @@ export class AlertRuleConditionCompositeEscalationEscalations extends $dara.Mode
281
253
  comparisonOperator?: string;
282
254
  /**
283
255
  * @remarks
284
- * The name of the metric.
256
+ * The metric name.
285
257
  *
286
258
  * @example
287
259
  * cpu_total
@@ -289,7 +261,7 @@ export class AlertRuleConditionCompositeEscalationEscalations extends $dara.Mode
289
261
  metricName?: string;
290
262
  /**
291
263
  * @remarks
292
- * The time window for the metric.
264
+ * The time window of the metric.
293
265
  *
294
266
  * @example
295
267
  * 60
@@ -297,17 +269,14 @@ export class AlertRuleConditionCompositeEscalationEscalations extends $dara.Mode
297
269
  period?: number;
298
270
  /**
299
271
  * @remarks
300
- * 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:
272
+ * 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:
301
273
  *
302
- * - $Maximum: The maximum value.
274
+ * - $Maximum: Maximum value.
275
+ * - $Minimum: Minimum value.
276
+ * - $Average: Average value.
277
+ * - $Availability: Availability rate (typically used for site monitoring).
303
278
  *
304
- * - $Minimum: The minimum value.
305
- *
306
- * - $Average: The average value.
307
- *
308
- * - $Availability: The availability rate. This is typically used for site monitoring.
309
- *
310
- * Note: The dollar sign ($) is a standard prefix for metrics.
279
+ * Note: $ is the unified prefix symbol for metrics.
311
280
  *
312
281
  * @example
313
282
  * $Maximum
@@ -353,12 +322,12 @@ export class AlertRuleConditionCompositeEscalationEscalations extends $dara.Mode
353
322
  export class AlertRuleConditionCompositeEscalation extends $dara.Model {
354
323
  /**
355
324
  * @remarks
356
- * A list of composite conditions for multiple metrics.
325
+ * The list of composite conditions for multiple metrics.
357
326
  */
358
327
  escalations?: AlertRuleConditionCompositeEscalationEscalations[];
359
328
  /**
360
329
  * @remarks
361
- * The alert level that is triggered when the condition is met. Composite metric alerts support only one level.
330
+ * The alert level triggered when the condition is met. Composite metric alerts support only one level.
362
331
  *
363
332
  * @example
364
333
  * INFO
@@ -366,7 +335,7 @@ export class AlertRuleConditionCompositeEscalation extends $dara.Model {
366
335
  level?: string;
367
336
  /**
368
337
  * @remarks
369
- * The relationship between multiple metric conditions. Valid values: and or or.
338
+ * The relationship between multiple metric conditions. Valid values: and, or.
370
339
  *
371
340
  * @example
372
341
  * and
@@ -413,12 +382,10 @@ export class AlertRuleConditionCompositeEscalation extends $dara.Model {
413
382
  export class AlertRuleConditionExpressEscalation extends $dara.Model {
414
383
  /**
415
384
  * @remarks
416
- * The alert level that is triggered when the condition is met. Expression-based alerts support only one level.
385
+ * The alert level triggered when the condition is met. Expression-based alerts support only one level.
417
386
  *
418
387
  * - CRITICAL
419
- *
420
388
  * - WARNING
421
- *
422
389
  * - INFO
423
390
  *
424
391
  * @example
@@ -469,31 +436,20 @@ export class AlertRuleConditionExpressEscalation extends $dara.Model {
469
436
  export class AlertRuleConditionSimpleEscalationEscalations extends $dara.Model {
470
437
  /**
471
438
  * @remarks
472
- * The comparison operator for the threshold. Valid values:
439
+ * The threshold comparison operator. Valid values:
473
440
  *
474
441
  * - GreaterThanOrEqualToThreshold: Greater than or equal to.
475
- *
476
442
  * - GreaterThanThreshold: Greater than.
477
- *
478
443
  * - LessThanOrEqualToThreshold: Less than or equal to.
479
- *
480
444
  * - LessThanThreshold: Less than.
481
- *
482
445
  * - NotEqualToThreshold: Not equal to.
483
- *
484
446
  * - EqualToThreshold: Equal to.
485
- *
486
- * - GreaterThanYesterday: Higher than the value at the same time yesterday.
487
- *
488
- * - LessThanYesterday: Lower than the value at the same time yesterday.
489
- *
490
- * - GreaterThanLastWeek: Higher than the value at the same time last week.
491
- *
492
- * - LessThanLastWeek: Lower than the value at the same time last week.
493
- *
494
- * - GreaterThanLastPeriod: Higher than the value in the previous period.
495
- *
496
- * - LessThanLastPeriod: Lower than the value in the previous period.
447
+ * - GreaterThanYesterday: Year-over-year increase compared with the same time yesterday.
448
+ * - LessThanYesterday: Year-over-year decrease compared with the same time yesterday.
449
+ * - GreaterThanLastWeek: Year-over-year increase compared with the same time last week.
450
+ * - LessThanLastWeek: Year-over-year decrease compared with the same time last week.
451
+ * - GreaterThanLastPeriod: Period-over-period increase compared with the previous period.
452
+ * - LessThanLastPeriod: Period-over-period decrease compared with the previous period.
497
453
  *
498
454
  * @example
499
455
  * GreaterThanOrEqualToThreshold
@@ -501,12 +457,10 @@ export class AlertRuleConditionSimpleEscalationEscalations extends $dara.Model {
501
457
  comparisonOperator?: string;
502
458
  /**
503
459
  * @remarks
504
- * The alert level that is triggered when the condition is met. Expression-based alerts support only one level.
460
+ * The alert level triggered when the condition is met. Expression-based alerts support only one level.
505
461
  *
506
462
  * - CRITICAL
507
- *
508
463
  * - WARNING
509
- *
510
464
  * - INFO
511
465
  *
512
466
  * @example
@@ -515,7 +469,7 @@ export class AlertRuleConditionSimpleEscalationEscalations extends $dara.Model {
515
469
  level?: string;
516
470
  /**
517
471
  * @remarks
518
- * 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.
472
+ * 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.
519
473
  *
520
474
  * @example
521
475
  * Average
@@ -569,12 +523,12 @@ export class AlertRuleConditionSimpleEscalationEscalations extends $dara.Model {
569
523
  export class AlertRuleConditionSimpleEscalation extends $dara.Model {
570
524
  /**
571
525
  * @remarks
572
- * A list of conditions. If an alert rule has multiple levels, each level has a corresponding condition object.
526
+ * The list of conditions. When an alert rule corresponds to multiple levels, each level has a condition object.
573
527
  */
574
528
  escalations?: AlertRuleConditionSimpleEscalationEscalations[];
575
529
  /**
576
530
  * @remarks
577
- * Applicable to the CMS_BASIC_CONDITION type.
531
+ * Applicable condition type: CMS_BASIC_CONDITION.
578
532
  *
579
533
  * The metric associated with the alert condition.
580
534
  *
@@ -584,7 +538,7 @@ export class AlertRuleConditionSimpleEscalation extends $dara.Model {
584
538
  metricName?: string;
585
539
  /**
586
540
  * @remarks
587
- * The time window for the metric, in seconds.
541
+ * The time window of the metric. Unit: seconds.
588
542
  *
589
543
  * @example
590
544
  * 60
@@ -618,6 +572,38 @@ export class AlertRuleConditionSimpleEscalation extends $dara.Model {
618
572
  }
619
573
  }
620
574
 
575
+ export class AlertRuleConditionThresholdList extends $dara.Model {
576
+ max?: number;
577
+ min?: number;
578
+ severity?: string;
579
+ threshold?: number;
580
+ static names(): { [key: string]: string } {
581
+ return {
582
+ max: 'max',
583
+ min: 'min',
584
+ severity: 'severity',
585
+ threshold: 'threshold',
586
+ };
587
+ }
588
+
589
+ static types(): { [key: string]: any } {
590
+ return {
591
+ max: 'number',
592
+ min: 'number',
593
+ severity: 'string',
594
+ threshold: 'number',
595
+ };
596
+ }
597
+
598
+ validate() {
599
+ super.validate();
600
+ }
601
+
602
+ constructor(map?: { [key: string]: any }) {
603
+ super(map);
604
+ }
605
+ }
606
+
621
607
  export class AlertRuleConditionTriggersExpressionConditions extends $dara.Model {
622
608
  expressionType?: string;
623
609
  operator?: string;
@@ -717,9 +703,9 @@ export class AlertRuleConditionTriggers extends $dara.Model {
717
703
  export class AlertRuleCondition extends $dara.Model {
718
704
  /**
719
705
  * @remarks
720
- * Applicable to the SLS_CONDITION type.
706
+ * Applicable condition type: SLS_CONDITION.
721
707
  *
722
- * The number of times the condition must be met to trigger an alert. The default value is 1.
708
+ * The number of times the condition must be met before an alert is triggered. Default value: 1.
723
709
  *
724
710
  * @example
725
711
  * 1
@@ -727,37 +713,37 @@ export class AlertRuleCondition extends $dara.Model {
727
713
  alertCount?: number;
728
714
  /**
729
715
  * @remarks
730
- * Applicable to the SLS_CONDITION type.
716
+ * Applicable condition type: SLS_CONDITION.
731
717
  *
732
- * A list of SLS alert conditions.
718
+ * The list of Simple Log Service alert conditions.
733
719
  */
734
720
  caseList?: AlertRuleConditionCaseList[];
735
721
  /**
736
722
  * @remarks
737
- * Applicable to the APM_CONDITION type.
723
+ * Applicable condition type: APM_CONDITION.
738
724
  *
739
- * A list of Application Performance Management (APM) alert comparison conditions.
725
+ * The list of Application Performance Monitoring (APM) alert comparison conditions.
740
726
  */
741
727
  compareList?: AlertRuleConditionCompareList[];
742
728
  /**
743
729
  * @remarks
744
- * Applicable to the CMS_BASIC_CONDITION type.
730
+ * Applicable condition type: CMS_BASIC_CONDITION.
745
731
  *
746
- * This parameter is valid only when escalationType is set to composite. It specifies the alert condition for composite metrics.
732
+ * This parameter takes effect only when escalationType is set to composite. The composite metric alert condition.
747
733
  */
748
734
  compositeEscalation?: AlertRuleConditionCompositeEscalation;
735
+ countOperator?: string;
736
+ countThreshold?: number;
749
737
  enableSeveritySuppression?: boolean;
750
738
  /**
751
739
  * @remarks
752
- * Applicable to the CMS_BASIC_CONDITION type.
740
+ * Applicable condition type: CMS_BASIC_CONDITION.
753
741
  *
754
742
  * Valid values:
755
743
  *
756
- * - simple: A simple metric condition.
757
- *
758
- * - composite: A composite metric condition.
759
- *
760
- * - express: An expression-based condition.
744
+ * - simple: simple metric condition.
745
+ * - composite: composite metric condition.
746
+ * - express: expression condition.
761
747
  *
762
748
  * @example
763
749
  * simple
@@ -765,16 +751,21 @@ export class AlertRuleCondition extends $dara.Model {
765
751
  escalationType?: string;
766
752
  /**
767
753
  * @remarks
768
- * This parameter is applicable only to the CMS_BASIC_CONDITION condition type.
754
+ * Applicable condition type: CMS_BASIC_CONDITION.
769
755
  *
770
- * This parameter takes effect when escalationType is set to composite. It defines the conditions for a composite alert based on multiple metrics.
756
+ * This parameter takes effect only when escalationType is set to composite. The multi-metric composite alert condition.
771
757
  */
772
758
  expressEscalation?: AlertRuleConditionExpressEscalation;
759
+ matchField?: string;
760
+ matchOperator?: string;
761
+ matchValue?: string;
762
+ max?: number;
763
+ min?: number;
773
764
  /**
774
765
  * @remarks
775
- * Applicable to the APM_CONDITION type.
766
+ * Applicable condition type: APM_CONDITION.
776
767
  *
777
- * 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.
768
+ * The alert level when no data is available. If this parameter is not specified, no alert is triggered when no data is available.
778
769
  *
779
770
  * @example
780
771
  * INFO
@@ -782,9 +773,9 @@ export class AlertRuleCondition extends $dara.Model {
782
773
  noDataAlertLevel?: string;
783
774
  /**
784
775
  * @remarks
785
- * Applicable to the APM_CONDITION type.
776
+ * Applicable condition type: APM_CONDITION.
786
777
  *
787
- * The value to use when no data is available.
778
+ * The compensation value when no data is available.
788
779
  *
789
780
  * @example
790
781
  * 1
@@ -792,15 +783,13 @@ export class AlertRuleCondition extends $dara.Model {
792
783
  noDataAppendValue?: string;
793
784
  /**
794
785
  * @remarks
795
- * Applicable to the CMS_BASIC_CONDITION type.
786
+ * Applicable condition type: CMS_BASIC_CONDITION.
796
787
  *
797
- * The method for handling alerts when no monitoring data is available. Valid values:
788
+ * The method used to handle alerts when no monitoring data is available. Valid values:
798
789
  *
799
790
  * - KEEP_LAST_STATE (default): No action is taken.
800
- *
801
791
  * - INSUFFICIENT_DATA: The alert content indicates that no data is available.
802
- *
803
- * - OK: The status is normal.
792
+ * - OK: Normal.
804
793
  *
805
794
  * @example
806
795
  * KEEP_LAST_STATE
@@ -808,23 +797,16 @@ export class AlertRuleCondition extends $dara.Model {
808
797
  noDataPolicy?: string;
809
798
  /**
810
799
  * @remarks
811
- * The comparison operation. It determines whether to perform a year-over-year or period-over-period comparison.
812
- *
813
- * - GT: Greater than.
814
- *
815
- * - GTE: Greater than or equal to.
800
+ * The comparison operator. Specifies whether to use year-over-year or period-over-period comparison. Valid values:
816
801
  *
817
- * - LT: Less than.
818
- *
819
- * - LTE: Less than or equal to.
820
- *
821
- * - EQ: Equal to.
822
- *
823
- * - NE: Not equal to.
824
- *
825
- * - YOY_UP: Year-over-year increase.
826
- *
827
- * - YOY_DOWN: Year-over-year decrease.
802
+ * - GT: greater than.
803
+ * - GTE: greater than or equal to.
804
+ * - LT: less than.
805
+ * - LTE: less than or equal to.
806
+ * - EQ: equal to.
807
+ * - NE: not equal to.
808
+ * - YOY_UP: year-over-year increase.
809
+ * - YOY_DOWN: year-over-year decrease.
828
810
  *
829
811
  * @example
830
812
  * LT
@@ -832,12 +814,10 @@ export class AlertRuleCondition extends $dara.Model {
832
814
  oper?: string;
833
815
  /**
834
816
  * @remarks
835
- * Applicable to the APM_CONDITION type.
817
+ * Applicable condition type: APM_CONDITION.
836
818
  *
837
819
  * The logical relationship between multiple conditions. Valid values:
838
- *
839
820
  * - and
840
- *
841
821
  * - or
842
822
  *
843
823
  * @example
@@ -846,21 +826,19 @@ export class AlertRuleCondition extends $dara.Model {
846
826
  relation?: string;
847
827
  /**
848
828
  * @remarks
849
- * Applicable to the CMS_BASIC_CONDITION type.
829
+ * Applicable condition type: CMS_BASIC_CONDITION.
850
830
  *
851
- * This parameter is valid only when escalationType is set to simple. It specifies the alert condition for a single metric.
831
+ * This parameter takes effect only when escalationType is set to simple. The alert condition configured for a single metric.
852
832
  */
853
833
  simpleEscalation?: AlertRuleConditionSimpleEscalation;
834
+ thresholdList?: AlertRuleConditionThresholdList[];
854
835
  triggers?: AlertRuleConditionTriggers[];
855
836
  /**
856
837
  * @remarks
857
- * The type of the rule condition. Valid values:
858
- *
859
- * - SLS_CONDITION: An SLS alert condition.
860
- *
861
- * - APM_CONDITION: An APM alert condition.
862
- *
863
- * - CMS_BASIC_CONDITION: A basic Cloud Monitor alert condition.
838
+ * The rule condition type. Valid values:
839
+ * - SLS_CONDITION: Simple Log Service alert condition.
840
+ * - APM_CONDITION: APM alert condition.
841
+ * - CMS_BASIC_CONDITION: CloudMonitor Basic monitoring alert condition.
864
842
  *
865
843
  * This parameter is required.
866
844
  *
@@ -870,7 +848,7 @@ export class AlertRuleCondition extends $dara.Model {
870
848
  type?: string;
871
849
  /**
872
850
  * @remarks
873
- * The threshold that triggers an alert.
851
+ * The threshold that triggers the alert.
874
852
  *
875
853
  * @example
876
854
  * 60
@@ -882,15 +860,23 @@ export class AlertRuleCondition extends $dara.Model {
882
860
  caseList: 'caseList',
883
861
  compareList: 'compareList',
884
862
  compositeEscalation: 'compositeEscalation',
863
+ countOperator: 'countOperator',
864
+ countThreshold: 'countThreshold',
885
865
  enableSeveritySuppression: 'enableSeveritySuppression',
886
866
  escalationType: 'escalationType',
887
867
  expressEscalation: 'expressEscalation',
868
+ matchField: 'matchField',
869
+ matchOperator: 'matchOperator',
870
+ matchValue: 'matchValue',
871
+ max: 'max',
872
+ min: 'min',
888
873
  noDataAlertLevel: 'noDataAlertLevel',
889
874
  noDataAppendValue: 'noDataAppendValue',
890
875
  noDataPolicy: 'noDataPolicy',
891
876
  oper: 'oper',
892
877
  relation: 'relation',
893
878
  simpleEscalation: 'simpleEscalation',
879
+ thresholdList: 'thresholdList',
894
880
  triggers: 'triggers',
895
881
  type: 'type',
896
882
  value: 'value',
@@ -903,15 +889,23 @@ export class AlertRuleCondition extends $dara.Model {
903
889
  caseList: { 'type': 'array', 'itemType': AlertRuleConditionCaseList },
904
890
  compareList: { 'type': 'array', 'itemType': AlertRuleConditionCompareList },
905
891
  compositeEscalation: AlertRuleConditionCompositeEscalation,
892
+ countOperator: 'string',
893
+ countThreshold: 'number',
906
894
  enableSeveritySuppression: 'boolean',
907
895
  escalationType: 'string',
908
896
  expressEscalation: AlertRuleConditionExpressEscalation,
897
+ matchField: 'string',
898
+ matchOperator: 'string',
899
+ matchValue: 'string',
900
+ max: 'number',
901
+ min: 'number',
909
902
  noDataAlertLevel: 'string',
910
903
  noDataAppendValue: 'string',
911
904
  noDataPolicy: 'string',
912
905
  oper: 'string',
913
906
  relation: 'string',
914
907
  simpleEscalation: AlertRuleConditionSimpleEscalation,
908
+ thresholdList: { 'type': 'array', 'itemType': AlertRuleConditionThresholdList },
915
909
  triggers: { 'type': 'array', 'itemType': AlertRuleConditionTriggers },
916
910
  type: 'string',
917
911
  value: 'number',
@@ -934,6 +928,9 @@ export class AlertRuleCondition extends $dara.Model {
934
928
  if(this.simpleEscalation && typeof (this.simpleEscalation as any).validate === 'function') {
935
929
  (this.simpleEscalation as any).validate();
936
930
  }
931
+ if(Array.isArray(this.thresholdList)) {
932
+ $dara.Model.validateArray(this.thresholdList);
933
+ }
937
934
  if(Array.isArray(this.triggers)) {
938
935
  $dara.Model.validateArray(this.triggers);
939
936
  }