@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
@@ -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
+
@@ -0,0 +1,292 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ObserveGroupDiscoverRuleNameRulesTags extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The matching operation.
9
+ */
10
+ op?: string;
11
+ /**
12
+ * @remarks
13
+ * The list of matching values.
14
+ */
15
+ tagValues?: string[];
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ op: 'Op',
19
+ tagValues: 'TagValues',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ op: 'string',
26
+ tagValues: { 'type': 'array', 'itemType': 'string' },
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ if(Array.isArray(this.tagValues)) {
32
+ $dara.Model.validateArray(this.tagValues);
33
+ }
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
42
+ export class ObserveGroupDiscoverRuleNameRules extends $dara.Model {
43
+ /**
44
+ * @remarks
45
+ * The name matching logic.
46
+ */
47
+ op?: string;
48
+ /**
49
+ * @remarks
50
+ * The list of name conditions.
51
+ */
52
+ tags?: ObserveGroupDiscoverRuleNameRulesTags[];
53
+ static names(): { [key: string]: string } {
54
+ return {
55
+ op: 'Op',
56
+ tags: 'Tags',
57
+ };
58
+ }
59
+
60
+ static types(): { [key: string]: any } {
61
+ return {
62
+ op: 'string',
63
+ tags: { 'type': 'array', 'itemType': ObserveGroupDiscoverRuleNameRulesTags },
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ if(Array.isArray(this.tags)) {
69
+ $dara.Model.validateArray(this.tags);
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
79
+ export class ObserveGroupDiscoverRuleTagRulesTags extends $dara.Model {
80
+ /**
81
+ * @remarks
82
+ * The matching operation.
83
+ */
84
+ op?: string;
85
+ /**
86
+ * @remarks
87
+ * The tag key.
88
+ */
89
+ tagKey?: string;
90
+ /**
91
+ * @remarks
92
+ * The list of tag values.
93
+ */
94
+ tagValues?: string[];
95
+ static names(): { [key: string]: string } {
96
+ return {
97
+ op: 'Op',
98
+ tagKey: 'TagKey',
99
+ tagValues: 'TagValues',
100
+ };
101
+ }
102
+
103
+ static types(): { [key: string]: any } {
104
+ return {
105
+ op: 'string',
106
+ tagKey: 'string',
107
+ tagValues: { 'type': 'array', 'itemType': 'string' },
108
+ };
109
+ }
110
+
111
+ validate() {
112
+ if(Array.isArray(this.tagValues)) {
113
+ $dara.Model.validateArray(this.tagValues);
114
+ }
115
+ super.validate();
116
+ }
117
+
118
+ constructor(map?: { [key: string]: any }) {
119
+ super(map);
120
+ }
121
+ }
122
+
123
+ export class ObserveGroupDiscoverRuleTagRules extends $dara.Model {
124
+ /**
125
+ * @remarks
126
+ * The tag matching logic.
127
+ */
128
+ op?: string;
129
+ /**
130
+ * @remarks
131
+ * The list of tag conditions.
132
+ */
133
+ tags?: ObserveGroupDiscoverRuleTagRulesTags[];
134
+ static names(): { [key: string]: string } {
135
+ return {
136
+ op: 'Op',
137
+ tags: 'Tags',
138
+ };
139
+ }
140
+
141
+ static types(): { [key: string]: any } {
142
+ return {
143
+ op: 'string',
144
+ tags: { 'type': 'array', 'itemType': ObserveGroupDiscoverRuleTagRulesTags },
145
+ };
146
+ }
147
+
148
+ validate() {
149
+ if(Array.isArray(this.tags)) {
150
+ $dara.Model.validateArray(this.tags);
151
+ }
152
+ super.validate();
153
+ }
154
+
155
+ constructor(map?: { [key: string]: any }) {
156
+ super(map);
157
+ }
158
+ }
159
+
160
+ export class ObserveGroupDiscoverRule extends $dara.Model {
161
+ /**
162
+ * @remarks
163
+ * Indicates whether the rule is enabled. If set to false, the data plane skips this rule and does not perform matching, tagging, or delivery.
164
+ */
165
+ enabled?: boolean;
166
+ /**
167
+ * @remarks
168
+ * The entity type (legacy). This parameter is retained for backward compatibility. Use entityTypes instead.
169
+ */
170
+ entityType?: string;
171
+ /**
172
+ * @remarks
173
+ * The list of entity types. A single rule can match across multiple types, such as acs.ecs.instance, acs.rds.instance, and acs.arms.service.
174
+ */
175
+ entityTypes?: string[];
176
+ /**
177
+ * @remarks
178
+ * The time when the rule was created, in UNIX millisecond timestamp format. This value is used for display in the console.
179
+ */
180
+ gmtCreate?: number;
181
+ /**
182
+ * @remarks
183
+ * The list of manually specified instance IDs. This is an enumeration type and includes instances synchronized manually in version 1.0.
184
+ */
185
+ instanceIds?: string[];
186
+ /**
187
+ * @remarks
188
+ * The name matching rules.
189
+ */
190
+ nameRules?: ObserveGroupDiscoverRuleNameRules;
191
+ /**
192
+ * @remarks
193
+ * The list of region IDs used for region-based filtering.
194
+ */
195
+ regionIds?: string[];
196
+ /**
197
+ * @remarks
198
+ * The resource group ID used for filtering.
199
+ */
200
+ resourceGroupId?: string;
201
+ /**
202
+ * @remarks
203
+ * The stable ID of the rule, used as an anchor for editing, deleting, and enabling or disabling operations. Format: dr-<16-character hash>.
204
+ */
205
+ ruleId?: string;
206
+ /**
207
+ * @remarks
208
+ * The matching method. Valid values: byTag, byResourceGroup, byInstanceName, byManual, and bySpl.
209
+ */
210
+ ruleType?: string;
211
+ /**
212
+ * @remarks
213
+ * The applicable scope. Valid values: all (all entity types, exclusive) and entity (specified entity types).
214
+ */
215
+ scope?: string;
216
+ /**
217
+ * @remarks
218
+ * The complete SPL expression for advanced configuration. If this parameter is not empty, it takes precedence over other filter fields.
219
+ */
220
+ spl?: string;
221
+ /**
222
+ * @remarks
223
+ * The tag matching rules.
224
+ */
225
+ tagRules?: ObserveGroupDiscoverRuleTagRules;
226
+ /**
227
+ * @remarks
228
+ * The UID of the user to whom the rule belongs.
229
+ */
230
+ userId?: string;
231
+ static names(): { [key: string]: string } {
232
+ return {
233
+ enabled: 'Enabled',
234
+ entityType: 'EntityType',
235
+ entityTypes: 'EntityTypes',
236
+ gmtCreate: 'GmtCreate',
237
+ instanceIds: 'InstanceIds',
238
+ nameRules: 'NameRules',
239
+ regionIds: 'RegionIds',
240
+ resourceGroupId: 'ResourceGroupId',
241
+ ruleId: 'RuleId',
242
+ ruleType: 'RuleType',
243
+ scope: 'Scope',
244
+ spl: 'Spl',
245
+ tagRules: 'TagRules',
246
+ userId: 'UserId',
247
+ };
248
+ }
249
+
250
+ static types(): { [key: string]: any } {
251
+ return {
252
+ enabled: 'boolean',
253
+ entityType: 'string',
254
+ entityTypes: { 'type': 'array', 'itemType': 'string' },
255
+ gmtCreate: 'number',
256
+ instanceIds: { 'type': 'array', 'itemType': 'string' },
257
+ nameRules: ObserveGroupDiscoverRuleNameRules,
258
+ regionIds: { 'type': 'array', 'itemType': 'string' },
259
+ resourceGroupId: 'string',
260
+ ruleId: 'string',
261
+ ruleType: 'string',
262
+ scope: 'string',
263
+ spl: 'string',
264
+ tagRules: ObserveGroupDiscoverRuleTagRules,
265
+ userId: 'string',
266
+ };
267
+ }
268
+
269
+ validate() {
270
+ if(Array.isArray(this.entityTypes)) {
271
+ $dara.Model.validateArray(this.entityTypes);
272
+ }
273
+ if(Array.isArray(this.instanceIds)) {
274
+ $dara.Model.validateArray(this.instanceIds);
275
+ }
276
+ if(this.nameRules && typeof (this.nameRules as any).validate === 'function') {
277
+ (this.nameRules as any).validate();
278
+ }
279
+ if(Array.isArray(this.regionIds)) {
280
+ $dara.Model.validateArray(this.regionIds);
281
+ }
282
+ if(this.tagRules && typeof (this.tagRules as any).validate === 'function') {
283
+ (this.tagRules as any).validate();
284
+ }
285
+ super.validate();
286
+ }
287
+
288
+ constructor(map?: { [key: string]: any }) {
289
+ super(map);
290
+ }
291
+ }
292
+
@@ -0,0 +1,107 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ObserveGroupInstance extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The entity category (adapted by entityType).
9
+ */
10
+ category?: string;
11
+ /**
12
+ * @remarks
13
+ * The key-value pairs of monitoring dimensions.
14
+ */
15
+ dimension?: { [key: string]: string };
16
+ /**
17
+ * @remarks
18
+ * The entity domain (such as acs).
19
+ */
20
+ entityDomain?: string;
21
+ /**
22
+ * @remarks
23
+ * The entity type (such as acs.ecs.instance).
24
+ */
25
+ entityType?: string;
26
+ /**
27
+ * @remarks
28
+ * The ID of the observation group to which the entity belongs.
29
+ */
30
+ groupId?: string;
31
+ /**
32
+ * @remarks
33
+ * The instance ID.
34
+ */
35
+ instanceId?: string;
36
+ /**
37
+ * @remarks
38
+ * The instance name.
39
+ */
40
+ instanceName?: string;
41
+ /**
42
+ * @remarks
43
+ * The region ID of the instance.
44
+ */
45
+ regionId?: string;
46
+ /**
47
+ * @remarks
48
+ * The resource group ID of the instance.
49
+ */
50
+ resourceGroupId?: string;
51
+ /**
52
+ * @remarks
53
+ * The key-value pairs of instance tags.
54
+ */
55
+ tags?: { [key: string]: string };
56
+ /**
57
+ * @remarks
58
+ * The UID of the user to which the instance belongs.
59
+ */
60
+ userId?: string;
61
+ static names(): { [key: string]: string } {
62
+ return {
63
+ category: 'category',
64
+ dimension: 'dimension',
65
+ entityDomain: 'entityDomain',
66
+ entityType: 'entityType',
67
+ groupId: 'groupId',
68
+ instanceId: 'instanceId',
69
+ instanceName: 'instanceName',
70
+ regionId: 'regionId',
71
+ resourceGroupId: 'resourceGroupId',
72
+ tags: 'tags',
73
+ userId: 'userId',
74
+ };
75
+ }
76
+
77
+ static types(): { [key: string]: any } {
78
+ return {
79
+ category: 'string',
80
+ dimension: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
81
+ entityDomain: 'string',
82
+ entityType: 'string',
83
+ groupId: 'string',
84
+ instanceId: 'string',
85
+ instanceName: 'string',
86
+ regionId: 'string',
87
+ resourceGroupId: 'string',
88
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
89
+ userId: 'string',
90
+ };
91
+ }
92
+
93
+ validate() {
94
+ if(this.dimension) {
95
+ $dara.Model.validateMap(this.dimension);
96
+ }
97
+ if(this.tags) {
98
+ $dara.Model.validateMap(this.tags);
99
+ }
100
+ super.validate();
101
+ }
102
+
103
+ constructor(map?: { [key: string]: any }) {
104
+ super(map);
105
+ }
106
+ }
107
+
@@ -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 ObserveResourceGlobalScopeFilter extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Specifies whether to retrieve only resources that are exclusive to the global scope.
9
+ */
10
+ eq?: boolean;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ eq: 'eq',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ eq: 'boolean',
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,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ObserveResourceListFilter extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Returns resources if a specified property contains any string in this array.
9
+ */
10
+ contains?: string[];
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ contains: 'contains',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ contains: { 'type': 'array', 'itemType': 'string' },
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ if(Array.isArray(this.contains)) {
25
+ $dara.Model.validateArray(this.contains);
26
+ }
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -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 ObserveResourceTypeFilter extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The exact resource type to query. Returns only resources of this type.
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
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class OpenCmsServiceResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Whether the specified monitoring services are enabled.
8
+ * Indicates whether the service or commodity is activated.
9
9
  *
10
10
  * @example
11
11
  * true
@@ -13,7 +13,7 @@ export class OpenCmsServiceResponseBody extends $dara.Model {
13
13
  enabled?: boolean;
14
14
  /**
15
15
  * @remarks
16
- * The request ID.
16
+ * Id of the request
17
17
  *
18
18
  * @example
19
19
  * 264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC