@alicloud/cms20240330 10.0.0 → 10.1.0

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 (342) hide show
  1. package/dist/client.d.ts +236 -62
  2. package/dist/client.js +420 -63
  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/CreateServiceRecordRequest.d.ts +40 -0
  52. package/dist/models/CreateServiceRecordRequest.js +60 -0
  53. package/dist/models/CreateServiceRecordRequest.js.map +1 -0
  54. package/dist/models/CreateServiceRecordResponse.d.ts +19 -0
  55. package/dist/models/CreateServiceRecordResponse.js +69 -0
  56. package/dist/models/CreateServiceRecordResponse.js.map +1 -0
  57. package/dist/models/CreateServiceRecordResponseBody.d.ts +21 -0
  58. package/dist/models/CreateServiceRecordResponseBody.js +58 -0
  59. package/dist/models/CreateServiceRecordResponseBody.js.map +1 -0
  60. package/dist/models/DatasourceConfigUnified.d.ts +15 -0
  61. package/dist/models/DatasourceConfigUnified.js +6 -0
  62. package/dist/models/DatasourceConfigUnified.js.map +1 -1
  63. package/dist/models/DatasourceTypeFilter.d.ts +18 -0
  64. package/dist/models/DatasourceTypeFilter.js +58 -0
  65. package/dist/models/DatasourceTypeFilter.js.map +1 -0
  66. package/dist/models/DeleteServiceRecordRequest.d.ts +24 -0
  67. package/dist/models/DeleteServiceRecordRequest.js +58 -0
  68. package/dist/models/DeleteServiceRecordRequest.js.map +1 -0
  69. package/dist/models/DeleteServiceRecordResponse.d.ts +19 -0
  70. package/dist/models/DeleteServiceRecordResponse.js +69 -0
  71. package/dist/models/DeleteServiceRecordResponse.js.map +1 -0
  72. package/dist/models/DeleteServiceRecordResponseBody.d.ts +21 -0
  73. package/dist/models/DeleteServiceRecordResponseBody.js +58 -0
  74. package/dist/models/DeleteServiceRecordResponseBody.js.map +1 -0
  75. package/dist/models/DescribeMetricMetaListRequest.d.ts +23 -20
  76. package/dist/models/DescribeMetricMetaListRequest.js.map +1 -1
  77. package/dist/models/DescribeMetricMetaListResponseBody.d.ts +23 -17
  78. package/dist/models/DescribeMetricMetaListResponseBody.js.map +1 -1
  79. package/dist/models/DescribeMetricMetaListShrinkRequest.d.ts +21 -18
  80. package/dist/models/DescribeMetricMetaListShrinkRequest.js.map +1 -1
  81. package/dist/models/GetCloudResourceDataRequest.d.ts +5 -5
  82. package/dist/models/GetCloudResourceDataResponseBody.d.ts +66 -2
  83. package/dist/models/GetCloudResourceDataResponseBody.js.map +1 -1
  84. package/dist/models/GetDeliveryTaskResponseBody.d.ts +15 -15
  85. package/dist/models/GetIntegrationPolicyResponseBody.d.ts +49 -49
  86. package/dist/models/GetMemoryStoreResponseBody.d.ts +15 -15
  87. package/dist/models/GetPrometheusInstanceRequest.d.ts +2 -2
  88. package/dist/models/GetPrometheusInstanceResponseBody.d.ts +36 -31
  89. package/dist/models/GetPrometheusInstanceResponseBody.js.map +1 -1
  90. package/dist/models/GetPrometheusViewRequest.d.ts +2 -2
  91. package/dist/models/GetPrometheusViewResponseBody.d.ts +35 -21
  92. package/dist/models/GetPrometheusViewResponseBody.js.map +1 -1
  93. package/dist/models/GetServiceRecordRequest.d.ts +24 -0
  94. package/dist/models/GetServiceRecordRequest.js +58 -0
  95. package/dist/models/GetServiceRecordRequest.js.map +1 -0
  96. package/dist/models/GetServiceRecordResponse.d.ts +19 -0
  97. package/dist/models/GetServiceRecordResponse.js +69 -0
  98. package/dist/models/GetServiceRecordResponse.js.map +1 -0
  99. package/dist/models/GetServiceRecordResponseBody.d.ts +71 -0
  100. package/dist/models/GetServiceRecordResponseBody.js +88 -0
  101. package/dist/models/GetServiceRecordResponseBody.js.map +1 -0
  102. package/dist/models/ListAggTaskGroupsRequest.d.ts +13 -8
  103. package/dist/models/ListAggTaskGroupsRequest.js.map +1 -1
  104. package/dist/models/ListAggTaskGroupsResponseBody.d.ts +15 -15
  105. package/dist/models/ListAggTaskGroupsShrinkRequest.d.ts +13 -8
  106. package/dist/models/ListAggTaskGroupsShrinkRequest.js.map +1 -1
  107. package/dist/models/ListAlertRobotsRequest.d.ts +5 -5
  108. package/dist/models/ListAlertRobotsResponseBody.d.ts +7 -6
  109. package/dist/models/ListAlertRobotsResponseBody.js +2 -0
  110. package/dist/models/ListAlertRobotsResponseBody.js.map +1 -1
  111. package/dist/models/ListAlertRobotsShrinkRequest.d.ts +5 -5
  112. package/dist/models/ListDeliveryTasksRequest.d.ts +4 -4
  113. package/dist/models/ListDeliveryTasksResponseBody.d.ts +23 -23
  114. package/dist/models/ListDeliveryTasksShrinkRequest.d.ts +4 -4
  115. package/dist/models/ListEventMetaCacheAllKeysDataResult.d.ts +37 -0
  116. package/dist/models/ListEventMetaCacheAllKeysDataResult.js +71 -0
  117. package/dist/models/ListEventMetaCacheAllKeysDataResult.js.map +1 -0
  118. package/dist/models/ListIntegrationPoliciesRequest.d.ts +9 -9
  119. package/dist/models/ListIntegrationPoliciesResponseBody.d.ts +24 -20
  120. package/dist/models/ListIntegrationPoliciesResponseBody.js.map +1 -1
  121. package/dist/models/ListIntegrationPoliciesShrinkRequest.d.ts +9 -9
  122. package/dist/models/ListPipelinesRequest.d.ts +3 -3
  123. package/dist/models/ListPipelinesResponseBody.d.ts +6 -6
  124. package/dist/models/ListPrometheusInstancesRequest.d.ts +13 -5
  125. package/dist/models/ListPrometheusInstancesRequest.js.map +1 -1
  126. package/dist/models/ListPrometheusInstancesResponseBody.d.ts +21 -9
  127. package/dist/models/ListPrometheusInstancesResponseBody.js +2 -0
  128. package/dist/models/ListPrometheusInstancesResponseBody.js.map +1 -1
  129. package/dist/models/ListPrometheusInstancesShrinkRequest.d.ts +13 -5
  130. package/dist/models/ListPrometheusInstancesShrinkRequest.js.map +1 -1
  131. package/dist/models/ListPrometheusViewsRequest.d.ts +5 -5
  132. package/dist/models/ListPrometheusViewsResponseBody.d.ts +20 -10
  133. package/dist/models/ListPrometheusViewsResponseBody.js +2 -0
  134. package/dist/models/ListPrometheusViewsResponseBody.js.map +1 -1
  135. package/dist/models/ListPrometheusViewsShrinkRequest.d.ts +5 -5
  136. package/dist/models/ListServiceRecordsRequest.d.ts +51 -0
  137. package/dist/models/ListServiceRecordsRequest.js +64 -0
  138. package/dist/models/ListServiceRecordsRequest.js.map +1 -0
  139. package/dist/models/ListServiceRecordsResponse.d.ts +19 -0
  140. package/dist/models/ListServiceRecordsResponse.js +69 -0
  141. package/dist/models/ListServiceRecordsResponse.js.map +1 -0
  142. package/dist/models/ListServiceRecordsResponseBody.d.ts +101 -0
  143. package/dist/models/ListServiceRecordsResponseBody.js +94 -0
  144. package/dist/models/ListServiceRecordsResponseBody.js.map +1 -0
  145. package/dist/models/ManageAlertRulesRequest.d.ts +1 -1
  146. package/dist/models/ManageAlertRulesResult.d.ts +10 -0
  147. package/dist/models/ManageAlertRulesResult.js +7 -0
  148. package/dist/models/ManageAlertRulesResult.js.map +1 -1
  149. package/dist/models/ManageAlertRulesShrinkRequest.d.ts +1 -1
  150. package/dist/models/ManageAlertRulesUnifiedActionInput.d.ts +2 -62
  151. package/dist/models/ManageAlertRulesUnifiedActionInput.js +4 -0
  152. package/dist/models/ManageAlertRulesUnifiedActionInput.js.map +1 -1
  153. package/dist/models/MetricSetMultiTrigger.d.ts +24 -0
  154. package/dist/models/MetricSetMultiTrigger.js +80 -0
  155. package/dist/models/MetricSetMultiTrigger.js.map +1 -0
  156. package/dist/models/MetricSetNamedQueryEntry.d.ts +18 -0
  157. package/dist/models/MetricSetNamedQueryEntry.js +68 -0
  158. package/dist/models/MetricSetNamedQueryEntry.js.map +1 -0
  159. package/dist/models/MetricSetTriggerCompositeExpression.d.ts +17 -0
  160. package/dist/models/MetricSetTriggerCompositeExpression.js +66 -0
  161. package/dist/models/MetricSetTriggerCompositeExpression.js.map +1 -0
  162. package/dist/models/MetricSetTriggerSimpleExpression.d.ts +19 -0
  163. package/dist/models/MetricSetTriggerSimpleExpression.js +68 -0
  164. package/dist/models/MetricSetTriggerSimpleExpression.js.map +1 -0
  165. package/dist/models/NotifyConfigUnified.d.ts +1 -28
  166. package/dist/models/NotifyConfigUnified.js +5 -0
  167. package/dist/models/NotifyConfigUnified.js.map +1 -1
  168. package/dist/models/NotifyStrategyIdFilter.d.ts +18 -0
  169. package/dist/models/NotifyStrategyIdFilter.js +58 -0
  170. package/dist/models/NotifyStrategyIdFilter.js.map +1 -0
  171. package/dist/models/ObserveGroup.d.ts +132 -0
  172. package/dist/models/ObserveGroup.js +119 -0
  173. package/dist/models/ObserveGroup.js.map +1 -0
  174. package/dist/models/ObserveGroupDetail.d.ts +123 -0
  175. package/dist/models/ObserveGroupDetail.js +116 -0
  176. package/dist/models/ObserveGroupDetail.js.map +1 -0
  177. package/dist/models/ObserveGroupDiscoverRule.d.ts +176 -0
  178. package/dist/models/ObserveGroupDiscoverRule.js +197 -0
  179. package/dist/models/ObserveGroupDiscoverRule.js.map +1 -0
  180. package/dist/models/ObserveGroupInstance.d.ts +72 -0
  181. package/dist/models/ObserveGroupInstance.js +84 -0
  182. package/dist/models/ObserveGroupInstance.js.map +1 -0
  183. package/dist/models/ObserveResourceGlobalScopeFilter.d.ts +18 -0
  184. package/dist/models/ObserveResourceGlobalScopeFilter.js +58 -0
  185. package/dist/models/ObserveResourceGlobalScopeFilter.js.map +1 -0
  186. package/dist/models/ObserveResourceListFilter.d.ts +18 -0
  187. package/dist/models/ObserveResourceListFilter.js +61 -0
  188. package/dist/models/ObserveResourceListFilter.js.map +1 -0
  189. package/dist/models/ObserveResourceTypeFilter.d.ts +18 -0
  190. package/dist/models/ObserveResourceTypeFilter.js +58 -0
  191. package/dist/models/ObserveResourceTypeFilter.js.map +1 -0
  192. package/dist/models/OpenCmsServiceResponseBody.d.ts +2 -2
  193. package/dist/models/PartitionKeyFilter.d.ts +18 -0
  194. package/dist/models/PartitionKeyFilter.js +58 -0
  195. package/dist/models/PartitionKeyFilter.js.map +1 -0
  196. package/dist/models/QueryAlertRulesFilter.d.ts +16 -4
  197. package/dist/models/QueryAlertRulesFilter.js +38 -4
  198. package/dist/models/QueryAlertRulesFilter.js.map +1 -1
  199. package/dist/models/QueryAlertRulesRequest.d.ts +4 -4
  200. package/dist/models/QueryAlertRulesShrinkRequest.d.ts +4 -4
  201. package/dist/models/QueryConfigUnified.d.ts +15 -52
  202. package/dist/models/QueryConfigUnified.js +29 -0
  203. package/dist/models/QueryConfigUnified.js.map +1 -1
  204. package/dist/models/SearchMemoriesRequest.d.ts +7 -4
  205. package/dist/models/SearchMemoriesRequest.js.map +1 -1
  206. package/dist/models/SearchMemoriesResponseBody.d.ts +4 -4
  207. package/dist/models/SeverityLevelsFilter.d.ts +18 -0
  208. package/dist/models/SeverityLevelsFilter.js +61 -0
  209. package/dist/models/SeverityLevelsFilter.js.map +1 -0
  210. package/dist/models/SubscriptionForModify.d.ts +16 -9
  211. package/dist/models/SubscriptionForModify.js +2 -0
  212. package/dist/models/SubscriptionForModify.js.map +1 -1
  213. package/dist/models/SubscriptionForView.d.ts +12 -5
  214. package/dist/models/SubscriptionForView.js +2 -0
  215. package/dist/models/SubscriptionForView.js.map +1 -1
  216. package/dist/models/UpdateContextStoreRequest.d.ts +6 -6
  217. package/dist/models/UpdateDeliveryTaskRequest.d.ts +8 -8
  218. package/dist/models/UpdateDeliveryTaskResponseBody.d.ts +1 -1
  219. package/dist/models/UpdatePrometheusInstanceRequest.d.ts +16 -10
  220. package/dist/models/UpdatePrometheusInstanceRequest.js.map +1 -1
  221. package/dist/models/UpdatePrometheusInstanceResponseBody.d.ts +2 -2
  222. package/dist/models/UpdateServiceRecordRequest.d.ts +40 -0
  223. package/dist/models/UpdateServiceRecordRequest.js +60 -0
  224. package/dist/models/UpdateServiceRecordRequest.js.map +1 -0
  225. package/dist/models/UpdateServiceRecordResponse.d.ts +19 -0
  226. package/dist/models/UpdateServiceRecordResponse.js +69 -0
  227. package/dist/models/UpdateServiceRecordResponse.js.map +1 -0
  228. package/dist/models/UpdateServiceRecordResponseBody.d.ts +21 -0
  229. package/dist/models/UpdateServiceRecordResponseBody.js +58 -0
  230. package/dist/models/UpdateServiceRecordResponseBody.js.map +1 -0
  231. package/dist/models/UpdateSubscriptionRequest.d.ts +1 -1
  232. package/dist/models/UpdateSubscriptionResponseBody.d.ts +1 -1
  233. package/dist/models/model.d.ts +47 -0
  234. package/dist/models/model.js +120 -25
  235. package/dist/models/model.js.map +1 -1
  236. package/package.json +1 -1
  237. package/src/client.ts +441 -63
  238. package/src/models/AlertRuleCondition.ts +155 -158
  239. package/src/models/AlertRuleQuery.ts +111 -77
  240. package/src/models/AlertRuleTemplate.ts +15 -56
  241. package/src/models/AlertRuleV2.ts +26 -5
  242. package/src/models/ApmCompositeCompareConfig.ts +14 -0
  243. package/src/models/ApmThresholdConfig.ts +6 -8
  244. package/src/models/CloudMonitoringCompositeEscalation.ts +56 -0
  245. package/src/models/CloudMonitoringCompositeEscalationEntry.ts +42 -0
  246. package/src/models/CloudMonitoringExpressEscalation.ts +45 -0
  247. package/src/models/CloudMonitoringPrometheusEscalation.ts +45 -0
  248. package/src/models/CloudMonitoringSimpleEscalation.ts +49 -0
  249. package/src/models/CloudMonitoringSimpleEscalationEntry.ts +42 -0
  250. package/src/models/ConditionConfigUnified.ts +77 -34
  251. package/src/models/CreateAggTaskGroupRequest.ts +20 -20
  252. package/src/models/CreateAggTaskGroupResponseBody.ts +6 -6
  253. package/src/models/CreatePrometheusInstanceRequest.ts +27 -22
  254. package/src/models/CreatePrometheusInstanceResponseBody.ts +1 -1
  255. package/src/models/CreatePrometheusViewRequest.ts +12 -12
  256. package/src/models/CreatePrometheusViewResponseBody.ts +2 -2
  257. package/src/models/CreateServiceRecordRequest.ts +55 -0
  258. package/src/models/CreateServiceRecordResponse.ts +40 -0
  259. package/src/models/CreateServiceRecordResponseBody.ts +34 -0
  260. package/src/models/DatasourceConfigUnified.ts +21 -0
  261. package/src/models/DatasourceTypeFilter.ts +31 -0
  262. package/src/models/DeleteServiceRecordRequest.ts +37 -0
  263. package/src/models/DeleteServiceRecordResponse.ts +40 -0
  264. package/src/models/DeleteServiceRecordResponseBody.ts +34 -0
  265. package/src/models/DescribeMetricMetaListRequest.ts +23 -20
  266. package/src/models/DescribeMetricMetaListResponseBody.ts +23 -17
  267. package/src/models/DescribeMetricMetaListShrinkRequest.ts +21 -18
  268. package/src/models/GetCloudResourceDataRequest.ts +5 -5
  269. package/src/models/GetCloudResourceDataResponseBody.ts +66 -2
  270. package/src/models/GetDeliveryTaskResponseBody.ts +15 -15
  271. package/src/models/GetIntegrationPolicyResponseBody.ts +49 -49
  272. package/src/models/GetMemoryStoreResponseBody.ts +15 -15
  273. package/src/models/GetPrometheusInstanceRequest.ts +2 -2
  274. package/src/models/GetPrometheusInstanceResponseBody.ts +36 -31
  275. package/src/models/GetPrometheusViewRequest.ts +2 -2
  276. package/src/models/GetPrometheusViewResponseBody.ts +35 -21
  277. package/src/models/GetServiceRecordRequest.ts +37 -0
  278. package/src/models/GetServiceRecordResponse.ts +40 -0
  279. package/src/models/GetServiceRecordResponseBody.ts +105 -0
  280. package/src/models/ListAggTaskGroupsRequest.ts +13 -8
  281. package/src/models/ListAggTaskGroupsResponseBody.ts +15 -15
  282. package/src/models/ListAggTaskGroupsShrinkRequest.ts +13 -8
  283. package/src/models/ListAlertRobotsRequest.ts +5 -5
  284. package/src/models/ListAlertRobotsResponseBody.ts +9 -6
  285. package/src/models/ListAlertRobotsShrinkRequest.ts +5 -5
  286. package/src/models/ListDeliveryTasksRequest.ts +4 -4
  287. package/src/models/ListDeliveryTasksResponseBody.ts +23 -23
  288. package/src/models/ListDeliveryTasksShrinkRequest.ts +4 -4
  289. package/src/models/ListEventMetaCacheAllKeysDataResult.ts +63 -0
  290. package/src/models/ListIntegrationPoliciesRequest.ts +9 -9
  291. package/src/models/ListIntegrationPoliciesResponseBody.ts +24 -20
  292. package/src/models/ListIntegrationPoliciesShrinkRequest.ts +9 -9
  293. package/src/models/ListPipelinesRequest.ts +3 -3
  294. package/src/models/ListPipelinesResponseBody.ts +6 -6
  295. package/src/models/ListPrometheusInstancesRequest.ts +13 -5
  296. package/src/models/ListPrometheusInstancesResponseBody.ts +23 -9
  297. package/src/models/ListPrometheusInstancesShrinkRequest.ts +13 -5
  298. package/src/models/ListPrometheusViewsRequest.ts +5 -5
  299. package/src/models/ListPrometheusViewsResponseBody.ts +22 -10
  300. package/src/models/ListPrometheusViewsShrinkRequest.ts +5 -5
  301. package/src/models/ListServiceRecordsRequest.ts +70 -0
  302. package/src/models/ListServiceRecordsResponse.ts +40 -0
  303. package/src/models/ListServiceRecordsResponseBody.ts +141 -0
  304. package/src/models/ManageAlertRulesRequest.ts +1 -1
  305. package/src/models/ManageAlertRulesResult.ts +17 -0
  306. package/src/models/ManageAlertRulesShrinkRequest.ts +1 -1
  307. package/src/models/ManageAlertRulesUnifiedActionInput.ts +6 -62
  308. package/src/models/MetricSetMultiTrigger.ts +58 -0
  309. package/src/models/MetricSetNamedQueryEntry.ts +40 -0
  310. package/src/models/MetricSetTriggerCompositeExpression.ts +37 -0
  311. package/src/models/MetricSetTriggerSimpleExpression.ts +42 -0
  312. package/src/models/NotifyConfigUnified.ts +6 -28
  313. package/src/models/NotifyStrategyIdFilter.ts +31 -0
  314. package/src/models/ObserveGroup.ts +195 -0
  315. package/src/models/ObserveGroupDetail.ts +185 -0
  316. package/src/models/ObserveGroupDiscoverRule.ts +292 -0
  317. package/src/models/ObserveGroupInstance.ts +107 -0
  318. package/src/models/ObserveResourceGlobalScopeFilter.ts +31 -0
  319. package/src/models/ObserveResourceListFilter.ts +34 -0
  320. package/src/models/ObserveResourceTypeFilter.ts +31 -0
  321. package/src/models/OpenCmsServiceResponseBody.ts +2 -2
  322. package/src/models/PartitionKeyFilter.ts +31 -0
  323. package/src/models/QueryAlertRulesFilter.ts +47 -8
  324. package/src/models/QueryAlertRulesRequest.ts +4 -4
  325. package/src/models/QueryAlertRulesShrinkRequest.ts +4 -4
  326. package/src/models/QueryConfigUnified.ts +41 -52
  327. package/src/models/SearchMemoriesRequest.ts +7 -4
  328. package/src/models/SearchMemoriesResponseBody.ts +4 -4
  329. package/src/models/SeverityLevelsFilter.ts +34 -0
  330. package/src/models/SubscriptionForModify.ts +18 -9
  331. package/src/models/SubscriptionForView.ts +14 -5
  332. package/src/models/UpdateContextStoreRequest.ts +6 -6
  333. package/src/models/UpdateDeliveryTaskRequest.ts +8 -8
  334. package/src/models/UpdateDeliveryTaskResponseBody.ts +1 -1
  335. package/src/models/UpdatePrometheusInstanceRequest.ts +16 -10
  336. package/src/models/UpdatePrometheusInstanceResponseBody.ts +2 -2
  337. package/src/models/UpdateServiceRecordRequest.ts +55 -0
  338. package/src/models/UpdateServiceRecordResponse.ts +40 -0
  339. package/src/models/UpdateServiceRecordResponseBody.ts +34 -0
  340. package/src/models/UpdateSubscriptionRequest.ts +1 -1
  341. package/src/models/UpdateSubscriptionResponseBody.ts +1 -1
  342. package/src/models/model.ts +47 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UmodelLabelFilter } from "./UmodelLabelFilter";
4
+
5
+
6
+ export class MetricSetNamedQueryEntry extends $dara.Model {
7
+ labelFilters?: UmodelLabelFilter[];
8
+ metric?: string;
9
+ metricSet?: string;
10
+ name?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ labelFilters: 'labelFilters',
14
+ metric: 'metric',
15
+ metricSet: 'metricSet',
16
+ name: 'name',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ labelFilters: { 'type': 'array', 'itemType': UmodelLabelFilter },
23
+ metric: 'string',
24
+ metricSet: 'string',
25
+ name: 'string',
26
+ };
27
+ }
28
+
29
+ validate() {
30
+ if(Array.isArray(this.labelFilters)) {
31
+ $dara.Model.validateArray(this.labelFilters);
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,37 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { MetricSetTriggerSimpleExpression } from "./MetricSetTriggerSimpleExpression";
4
+
5
+
6
+ export class MetricSetTriggerCompositeExpression extends $dara.Model {
7
+ conditions?: MetricSetTriggerSimpleExpression[];
8
+ expressionType?: string;
9
+ logicOperator?: string;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ conditions: 'conditions',
13
+ expressionType: 'expressionType',
14
+ logicOperator: 'logicOperator',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ conditions: { 'type': 'array', 'itemType': MetricSetTriggerSimpleExpression },
21
+ expressionType: 'string',
22
+ logicOperator: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(Array.isArray(this.conditions)) {
28
+ $dara.Model.validateArray(this.conditions);
29
+ }
30
+ super.validate();
31
+ }
32
+
33
+ constructor(map?: { [key: string]: any }) {
34
+ super(map);
35
+ }
36
+ }
37
+
@@ -0,0 +1,42 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class MetricSetTriggerSimpleExpression extends $dara.Model {
6
+ expressionType?: string;
7
+ max?: number;
8
+ min?: number;
9
+ operator?: string;
10
+ queryName?: string;
11
+ threshold?: number;
12
+ static names(): { [key: string]: string } {
13
+ return {
14
+ expressionType: 'expressionType',
15
+ max: 'max',
16
+ min: 'min',
17
+ operator: 'operator',
18
+ queryName: 'queryName',
19
+ threshold: 'threshold',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ expressionType: 'string',
26
+ max: 'number',
27
+ min: 'number',
28
+ operator: 'string',
29
+ queryName: 'string',
30
+ threshold: 'number',
31
+ };
32
+ }
33
+
34
+ validate() {
35
+ super.validate();
36
+ }
37
+
38
+ constructor(map?: { [key: string]: any }) {
39
+ super(map);
40
+ }
41
+ }
42
+
@@ -4,44 +4,17 @@ import { DirectNotifyChannel } from "./DirectNotifyChannel";
4
4
 
5
5
 
6
6
  export class NotifyConfigUnified extends $dara.Model {
7
- /**
8
- * @remarks
9
- * The active days of the week.
10
- */
11
7
  activeDays?: number[];
12
- /**
13
- * @remarks
14
- * The end of the daily active time window. On active days, the system sends notifications only before this time. Format: `HH:mm`.
15
- */
16
8
  activeEndTime?: string;
17
- /**
18
- * @remarks
19
- * The start of the daily active time window. On active days, the system sends notifications only after this time. Format: `HH:mm`.
20
- */
21
9
  activeStartTime?: string;
22
- /**
23
- * @remarks
24
- * The notification channels that receive alerts.
25
- *
26
- * This parameter is required.
27
- */
28
10
  channels?: DirectNotifyChannel[];
29
- /**
30
- * @remarks
31
- * The silence time in seconds. After sending a notification, the system suppresses new notifications for the same alert for this duration.
32
- */
11
+ notifyStrategies?: string[];
33
12
  silenceTimeSecs?: number;
34
13
  /**
35
14
  * @remarks
36
- * The type of the notification configuration.
37
- *
38
15
  * This parameter is required.
39
16
  */
40
17
  type?: string;
41
- /**
42
- * @remarks
43
- * The UTC offset for `activeStartTime` and `activeEndTime`. The format is `[+/-]HH:mm`. For example, `+08:00` represents the UTC+8 time zone.
44
- */
45
18
  utcOffset?: string;
46
19
  static names(): { [key: string]: string } {
47
20
  return {
@@ -49,6 +22,7 @@ export class NotifyConfigUnified extends $dara.Model {
49
22
  activeEndTime: 'activeEndTime',
50
23
  activeStartTime: 'activeStartTime',
51
24
  channels: 'channels',
25
+ notifyStrategies: 'notifyStrategies',
52
26
  silenceTimeSecs: 'silenceTimeSecs',
53
27
  type: 'type',
54
28
  utcOffset: 'utcOffset',
@@ -61,6 +35,7 @@ export class NotifyConfigUnified extends $dara.Model {
61
35
  activeEndTime: 'string',
62
36
  activeStartTime: 'string',
63
37
  channels: { 'type': 'array', 'itemType': DirectNotifyChannel },
38
+ notifyStrategies: { 'type': 'array', 'itemType': 'string' },
64
39
  silenceTimeSecs: 'number',
65
40
  type: 'string',
66
41
  utcOffset: 'string',
@@ -74,6 +49,9 @@ export class NotifyConfigUnified extends $dara.Model {
74
49
  if(Array.isArray(this.channels)) {
75
50
  $dara.Model.validateArray(this.channels);
76
51
  }
52
+ if(Array.isArray(this.notifyStrategies)) {
53
+ $dara.Model.validateArray(this.notifyStrategies);
54
+ }
77
55
  super.validate();
78
56
  }
79
57
 
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class NotifyStrategyIdFilter extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The exact ID of the notification strategy to retrieve.
9
+ */
10
+ eq?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ eq: 'eq',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ eq: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,195 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ObserveGroupTags extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The tag key.
9
+ */
10
+ tagKey?: string;
11
+ /**
12
+ * @remarks
13
+ * The tag value.
14
+ */
15
+ tagValue?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ tagKey: 'tagKey',
19
+ tagValue: 'tagValue',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ tagKey: 'string',
26
+ tagValue: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class ObserveGroup extends $dara.Model {
40
+ /**
41
+ * @remarks
42
+ * The UID of the Alibaba Cloud account to which the group belongs.
43
+ */
44
+ aliUid?: string;
45
+ /**
46
+ * @remarks
47
+ * The time when the group was created, in UTC format (yyyy-MM-ddTHH:mm:ssZ).
48
+ */
49
+ createTime?: string;
50
+ /**
51
+ * @remarks
52
+ * The description of the observability group, which describes the business purpose.
53
+ */
54
+ description?: string;
55
+ /**
56
+ * @remarks
57
+ * The list of entity discovery rules that define which entities the group automatically matches.
58
+ */
59
+ discoverRules?: string;
60
+ /**
61
+ * @remarks
62
+ * The number of entities in each category. The key is the category domain (such as acs for Alibaba Cloud services, apm, or rum, which is extensible). The value is the number of entities in that category that belong to this group. This parameter is returned only when withEntityCount is set to true.
63
+ */
64
+ entityCounts?: { [key: string]: number };
65
+ /**
66
+ * @remarks
67
+ * The extended information, which is a JSON string that contains alert templates, alert contact groups, pause policies, and other settings.
68
+ */
69
+ extraInfo?: string;
70
+ /**
71
+ * @remarks
72
+ * Indicates whether the current user has favorited this group. This value is used as the filter criterion for the My Favorites feature.
73
+ */
74
+ favorited?: boolean;
75
+ /**
76
+ * @remarks
77
+ * The globally unique ID of the observability group, in the format of og-<16-character hash>. This ID is used across metrics, alerts, and the console.
78
+ */
79
+ groupId?: string;
80
+ /**
81
+ * @remarks
82
+ * The name of the observability group. The name must be unique within the workspace.
83
+ */
84
+ groupName?: string;
85
+ /**
86
+ * @remarks
87
+ * The type of the observability group.
88
+ */
89
+ groupType?: string;
90
+ /**
91
+ * @remarks
92
+ * The health status of the group. Valid values:
93
+ * - -1: unknown (placeholder).
94
+ * - 1: healthy.
95
+ * - 0: unhealthy.
96
+ */
97
+ health?: number;
98
+ /**
99
+ * @remarks
100
+ * The time when the group was last modified, in UTC format (yyyy-MM-ddTHH:mm:ssZ). This value is automatically updated when any property of the resource changes.
101
+ */
102
+ modifyTime?: string;
103
+ /**
104
+ * @remarks
105
+ * The product_group.id of the version 1.0 application group. This parameter is returned only when sourceOrigin is set to synced_from_1_0.
106
+ */
107
+ originGroupId?: string;
108
+ /**
109
+ * @remarks
110
+ * The region ID of the group.
111
+ */
112
+ regionId?: string;
113
+ /**
114
+ * @remarks
115
+ * The Alibaba Cloud resource group ID.
116
+ */
117
+ resourceGroupId?: string;
118
+ /**
119
+ * @remarks
120
+ * The data source. Valid values:
121
+ * - native_2_0: created natively in version 2.0.
122
+ * - synced_from_1_0: synchronized from a version 1.0 application group.
123
+ */
124
+ sourceOrigin?: string;
125
+ /**
126
+ * @remarks
127
+ * The resource tags (Alibaba Cloud standard tags), which are an array of key-value pairs.
128
+ */
129
+ tags?: ObserveGroupTags[];
130
+ /**
131
+ * @remarks
132
+ * The workspace ID to which the group belongs. This value is set at the workspace level and cannot be changed after the group is created.
133
+ */
134
+ workspaceId?: string;
135
+ static names(): { [key: string]: string } {
136
+ return {
137
+ aliUid: 'aliUid',
138
+ createTime: 'createTime',
139
+ description: 'description',
140
+ discoverRules: 'discoverRules',
141
+ entityCounts: 'entityCounts',
142
+ extraInfo: 'extraInfo',
143
+ favorited: 'favorited',
144
+ groupId: 'groupId',
145
+ groupName: 'groupName',
146
+ groupType: 'groupType',
147
+ health: 'health',
148
+ modifyTime: 'modifyTime',
149
+ originGroupId: 'originGroupId',
150
+ regionId: 'regionId',
151
+ resourceGroupId: 'resourceGroupId',
152
+ sourceOrigin: 'sourceOrigin',
153
+ tags: 'tags',
154
+ workspaceId: 'workspaceId',
155
+ };
156
+ }
157
+
158
+ static types(): { [key: string]: any } {
159
+ return {
160
+ aliUid: 'string',
161
+ createTime: 'string',
162
+ description: 'string',
163
+ discoverRules: 'string',
164
+ entityCounts: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
165
+ extraInfo: 'string',
166
+ favorited: 'boolean',
167
+ groupId: 'string',
168
+ groupName: 'string',
169
+ groupType: 'string',
170
+ health: 'number',
171
+ modifyTime: 'string',
172
+ originGroupId: 'string',
173
+ regionId: 'string',
174
+ resourceGroupId: 'string',
175
+ sourceOrigin: 'string',
176
+ tags: { 'type': 'array', 'itemType': ObserveGroupTags },
177
+ workspaceId: 'string',
178
+ };
179
+ }
180
+
181
+ validate() {
182
+ if(this.entityCounts) {
183
+ $dara.Model.validateMap(this.entityCounts);
184
+ }
185
+ if(Array.isArray(this.tags)) {
186
+ $dara.Model.validateArray(this.tags);
187
+ }
188
+ super.validate();
189
+ }
190
+
191
+ constructor(map?: { [key: string]: any }) {
192
+ super(map);
193
+ }
194
+ }
195
+
@@ -0,0 +1,185 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ObserveGroupDetailEntitySummaries extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The entity category.
9
+ */
10
+ entityCategory?: string;
11
+ /**
12
+ * @remarks
13
+ * The entity count.
14
+ */
15
+ entityCount?: number;
16
+ /**
17
+ * @remarks
18
+ * The entity domain.
19
+ */
20
+ entityDomain?: string;
21
+ /**
22
+ * @remarks
23
+ * The entity type.
24
+ */
25
+ entityType?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ entityCategory: 'entityCategory',
29
+ entityCount: 'entityCount',
30
+ entityDomain: 'entityDomain',
31
+ entityType: 'entityType',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ entityCategory: 'string',
38
+ entityCount: 'number',
39
+ entityDomain: 'string',
40
+ entityType: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
53
+ export class ObserveGroupDetail extends $dara.Model {
54
+ /**
55
+ * @remarks
56
+ * The UID of the Alibaba Cloud account to which the group belongs.
57
+ */
58
+ aliUid?: string;
59
+ /**
60
+ * @remarks
61
+ * The time when the group was created, in UTC format (yyyy-MM-ddTHH:mm:ssZ).
62
+ */
63
+ createTime?: string;
64
+ /**
65
+ * @remarks
66
+ * The description of the observability group, which explains its business purpose.
67
+ */
68
+ description?: string;
69
+ /**
70
+ * @remarks
71
+ * The list of entity discovery rules that define which entities the group automatically matches.
72
+ */
73
+ discoverRules?: string;
74
+ /**
75
+ * @remarks
76
+ * The statistics of entities in the group, grouped by entity type.
77
+ */
78
+ entitySummaries?: ObserveGroupDetailEntitySummaries[];
79
+ /**
80
+ * @remarks
81
+ * The extended information in JSON string format, which carries alert templates, alert contact groups, pause policies, and other configurations.
82
+ */
83
+ extraInfo?: string;
84
+ /**
85
+ * @remarks
86
+ * Indicates whether the current user has favorited the group.
87
+ */
88
+ favorited?: boolean;
89
+ groupId?: string;
90
+ /**
91
+ * @remarks
92
+ * The name of the observability group. The name must be unique within the workspace.
93
+ */
94
+ groupName?: string;
95
+ /**
96
+ * @remarks
97
+ * The type of the observability group.
98
+ */
99
+ groupType?: string;
100
+ /**
101
+ * @remarks
102
+ * The time when the group was last modified, in UTC format (yyyy-MM-ddTHH:mm:ssZ). This value is automatically updated when any property of the resource changes.
103
+ */
104
+ modifyTime?: string;
105
+ /**
106
+ * @remarks
107
+ * The ID of the version 1.0 application group (product_group.id). This parameter is valid only when sourceOrigin is set to synced_from_1_0.
108
+ */
109
+ originGroupId?: string;
110
+ /**
111
+ * @remarks
112
+ * The region ID of the group.
113
+ */
114
+ regionId?: string;
115
+ /**
116
+ * @remarks
117
+ * The Alibaba Cloud resource group ID.
118
+ */
119
+ resourceGroupId?: string;
120
+ /**
121
+ * @remarks
122
+ * The data source. Valid values:
123
+ * - native_2_0: created natively in version 2.0.
124
+ * - synced_from_1_0: synchronized from a version 1.0 application group.
125
+ */
126
+ sourceOrigin?: string;
127
+ /**
128
+ * @remarks
129
+ * The workspace ID to which the group belongs. This value is set at the workspace level and cannot be changed after the group is created.
130
+ */
131
+ workspaceId?: string;
132
+ static names(): { [key: string]: string } {
133
+ return {
134
+ aliUid: 'aliUid',
135
+ createTime: 'createTime',
136
+ description: 'description',
137
+ discoverRules: 'discoverRules',
138
+ entitySummaries: 'entitySummaries',
139
+ extraInfo: 'extraInfo',
140
+ favorited: 'favorited',
141
+ groupId: 'groupId',
142
+ groupName: 'groupName',
143
+ groupType: 'groupType',
144
+ modifyTime: 'modifyTime',
145
+ originGroupId: 'originGroupId',
146
+ regionId: 'regionId',
147
+ resourceGroupId: 'resourceGroupId',
148
+ sourceOrigin: 'sourceOrigin',
149
+ workspaceId: 'workspaceId',
150
+ };
151
+ }
152
+
153
+ static types(): { [key: string]: any } {
154
+ return {
155
+ aliUid: 'string',
156
+ createTime: 'string',
157
+ description: 'string',
158
+ discoverRules: 'string',
159
+ entitySummaries: { 'type': 'array', 'itemType': ObserveGroupDetailEntitySummaries },
160
+ extraInfo: 'string',
161
+ favorited: 'boolean',
162
+ groupId: 'string',
163
+ groupName: 'string',
164
+ groupType: 'string',
165
+ modifyTime: 'string',
166
+ originGroupId: 'string',
167
+ regionId: 'string',
168
+ resourceGroupId: 'string',
169
+ sourceOrigin: 'string',
170
+ workspaceId: 'string',
171
+ };
172
+ }
173
+
174
+ validate() {
175
+ if(Array.isArray(this.entitySummaries)) {
176
+ $dara.Model.validateArray(this.entitySummaries);
177
+ }
178
+ super.validate();
179
+ }
180
+
181
+ constructor(map?: { [key: string]: any }) {
182
+ super(map);
183
+ }
184
+ }
185
+