@alicloud/cms20240330 3.2.5 → 3.4.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 (257) hide show
  1. package/dist/client.d.ts +242 -2
  2. package/dist/client.js +574 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AlertRuleSend.d.ts +1 -0
  5. package/dist/models/AlertRuleSend.js +5 -0
  6. package/dist/models/AlertRuleSend.js.map +1 -1
  7. package/dist/models/CmsEventForView.d.ts +42 -0
  8. package/dist/models/CmsEventForView.js +113 -0
  9. package/dist/models/CmsEventForView.js.map +1 -0
  10. package/dist/models/ContactForIncidentView.d.ts +15 -0
  11. package/dist/models/ContactForIncidentView.js +60 -0
  12. package/dist/models/ContactForIncidentView.js.map +1 -0
  13. package/dist/models/CreateCloudResourceResponse.d.ts +19 -0
  14. package/dist/models/CreateCloudResourceResponse.js +69 -0
  15. package/dist/models/CreateCloudResourceResponse.js.map +1 -0
  16. package/dist/models/CreateCloudResourceResponseBody.d.ts +18 -0
  17. package/dist/models/CreateCloudResourceResponseBody.js +58 -0
  18. package/dist/models/CreateCloudResourceResponseBody.js.map +1 -0
  19. package/dist/models/CreateIntegrationPolicyRequest.d.ts +9 -2
  20. package/dist/models/CreateIntegrationPolicyRequest.js.map +1 -1
  21. package/dist/models/CreateIntegrationPolicyResponseBody.d.ts +1 -1
  22. package/dist/models/DeleteCloudResourceResponse.d.ts +19 -0
  23. package/dist/models/DeleteCloudResourceResponse.js +69 -0
  24. package/dist/models/DeleteCloudResourceResponse.js.map +1 -0
  25. package/dist/models/DeleteCloudResourceResponseBody.d.ts +18 -0
  26. package/dist/models/DeleteCloudResourceResponseBody.js +58 -0
  27. package/dist/models/DeleteCloudResourceResponseBody.js.map +1 -0
  28. package/dist/models/DeleteUmodelCommonSchemaRefRequest.d.ts +21 -0
  29. package/dist/models/DeleteUmodelCommonSchemaRefRequest.js +58 -0
  30. package/dist/models/DeleteUmodelCommonSchemaRefRequest.js.map +1 -0
  31. package/dist/models/DeleteUmodelCommonSchemaRefResponse.d.ts +19 -0
  32. package/dist/models/DeleteUmodelCommonSchemaRefResponse.js +69 -0
  33. package/dist/models/DeleteUmodelCommonSchemaRefResponse.js.map +1 -0
  34. package/dist/models/DeleteUmodelCommonSchemaRefResponseBody.d.ts +18 -0
  35. package/dist/models/DeleteUmodelCommonSchemaRefResponseBody.js +58 -0
  36. package/dist/models/DeleteUmodelCommonSchemaRefResponseBody.js.map +1 -0
  37. package/dist/models/DescribeRegionsRequest.d.ts +18 -0
  38. package/dist/models/DescribeRegionsRequest.js +58 -0
  39. package/dist/models/DescribeRegionsRequest.js.map +1 -0
  40. package/dist/models/DescribeRegionsResponse.d.ts +19 -0
  41. package/dist/models/DescribeRegionsResponse.js +69 -0
  42. package/dist/models/DescribeRegionsResponse.js.map +1 -0
  43. package/dist/models/DescribeRegionsResponseBody.d.ts +44 -0
  44. package/dist/models/DescribeRegionsResponseBody.js +84 -0
  45. package/dist/models/DescribeRegionsResponseBody.js.map +1 -0
  46. package/dist/models/EffectTimeRange.d.ts +17 -0
  47. package/dist/models/EffectTimeRange.js +67 -0
  48. package/dist/models/EffectTimeRange.js.map +1 -0
  49. package/dist/models/EventResourceForEventView.d.ts +35 -0
  50. package/dist/models/EventResourceForEventView.js +94 -0
  51. package/dist/models/EventResourceForEventView.js.map +1 -0
  52. package/dist/models/EventResourceForIncidentView.d.ts +18 -0
  53. package/dist/models/EventResourceForIncidentView.js +66 -0
  54. package/dist/models/EventResourceForIncidentView.js.map +1 -0
  55. package/dist/models/GetCloudResourceDataRequest.d.ts +37 -0
  56. package/dist/models/GetCloudResourceDataRequest.js +62 -0
  57. package/dist/models/GetCloudResourceDataRequest.js.map +1 -0
  58. package/dist/models/GetCloudResourceDataResponse.d.ts +19 -0
  59. package/dist/models/GetCloudResourceDataResponse.js +69 -0
  60. package/dist/models/GetCloudResourceDataResponse.js.map +1 -0
  61. package/dist/models/GetCloudResourceDataResponseBody.d.ts +20 -0
  62. package/dist/models/GetCloudResourceDataResponseBody.js +68 -0
  63. package/dist/models/GetCloudResourceDataResponseBody.js.map +1 -0
  64. package/dist/models/GetCloudResourceResponse.d.ts +19 -0
  65. package/dist/models/GetCloudResourceResponse.js +69 -0
  66. package/dist/models/GetCloudResourceResponse.js.map +1 -0
  67. package/dist/models/GetCloudResourceResponseBody.d.ts +23 -0
  68. package/dist/models/GetCloudResourceResponseBody.js +60 -0
  69. package/dist/models/GetCloudResourceResponseBody.js.map +1 -0
  70. package/dist/models/GetCmsServiceRequest.d.ts +29 -0
  71. package/dist/models/GetCmsServiceRequest.js +60 -0
  72. package/dist/models/GetCmsServiceRequest.js.map +1 -0
  73. package/dist/models/GetCmsServiceResponse.d.ts +19 -0
  74. package/dist/models/GetCmsServiceResponse.js +69 -0
  75. package/dist/models/GetCmsServiceResponse.js.map +1 -0
  76. package/dist/models/GetCmsServiceResponseBody.d.ts +31 -0
  77. package/dist/models/GetCmsServiceResponseBody.js +62 -0
  78. package/dist/models/GetCmsServiceResponseBody.js.map +1 -0
  79. package/dist/models/GetPrometheusUserSettingRequest.d.ts +18 -0
  80. package/dist/models/GetPrometheusUserSettingRequest.js +58 -0
  81. package/dist/models/GetPrometheusUserSettingRequest.js.map +1 -0
  82. package/dist/models/GetPrometheusUserSettingResponse.d.ts +19 -0
  83. package/dist/models/GetPrometheusUserSettingResponse.js +69 -0
  84. package/dist/models/GetPrometheusUserSettingResponse.js.map +1 -0
  85. package/dist/models/GetPrometheusUserSettingResponseBody.d.ts +24 -0
  86. package/dist/models/GetPrometheusUserSettingResponseBody.js +63 -0
  87. package/dist/models/GetPrometheusUserSettingResponseBody.js.map +1 -0
  88. package/dist/models/GetUmodelCommonSchemaRefResponse.d.ts +19 -0
  89. package/dist/models/GetUmodelCommonSchemaRefResponse.js +69 -0
  90. package/dist/models/GetUmodelCommonSchemaRefResponse.js.map +1 -0
  91. package/dist/models/GetUmodelCommonSchemaRefResponseBody.d.ts +36 -0
  92. package/dist/models/GetUmodelCommonSchemaRefResponseBody.js +82 -0
  93. package/dist/models/GetUmodelCommonSchemaRefResponseBody.js.map +1 -0
  94. package/dist/models/IncidentEscalationPolicyForModify.d.ts +22 -0
  95. package/dist/models/IncidentEscalationPolicyForModify.js +68 -0
  96. package/dist/models/IncidentEscalationPolicyForModify.js.map +1 -0
  97. package/dist/models/IncidentEscalationPolicyForView.d.ts +31 -0
  98. package/dist/models/IncidentEscalationPolicyForView.js +86 -0
  99. package/dist/models/IncidentEscalationPolicyForView.js.map +1 -0
  100. package/dist/models/IncidentEscalationStageForView.d.ts +26 -0
  101. package/dist/models/IncidentEscalationStageForView.js +78 -0
  102. package/dist/models/IncidentEscalationStageForView.js.map +1 -0
  103. package/dist/models/IncidentEventForView.d.ts +43 -0
  104. package/dist/models/IncidentEventForView.js +119 -0
  105. package/dist/models/IncidentEventForView.js.map +1 -0
  106. package/dist/models/IncidentForView.d.ts +41 -0
  107. package/dist/models/IncidentForView.js +125 -0
  108. package/dist/models/IncidentForView.js.map +1 -0
  109. package/dist/models/IncidentResponsePlanForView.d.ts +30 -0
  110. package/dist/models/IncidentResponsePlanForView.js +97 -0
  111. package/dist/models/IncidentResponsePlanForView.js.map +1 -0
  112. package/dist/models/IncidentTimelineForView.d.ts +24 -0
  113. package/dist/models/IncidentTimelineForView.js +80 -0
  114. package/dist/models/IncidentTimelineForView.js.map +1 -0
  115. package/dist/models/ListIntegrationPoliciesRequest.d.ts +10 -10
  116. package/dist/models/ListIntegrationPoliciesResponseBody.d.ts +13 -6
  117. package/dist/models/ListIntegrationPoliciesResponseBody.js.map +1 -1
  118. package/dist/models/ListIntegrationPoliciesShrinkRequest.d.ts +10 -10
  119. package/dist/models/ListIntegrationPolicyServiceMonitorsRequest.d.ts +28 -0
  120. package/dist/models/ListIntegrationPolicyServiceMonitorsRequest.js +62 -0
  121. package/dist/models/ListIntegrationPolicyServiceMonitorsRequest.js.map +1 -0
  122. package/dist/models/ListIntegrationPolicyServiceMonitorsResponse.d.ts +19 -0
  123. package/dist/models/ListIntegrationPolicyServiceMonitorsResponse.js +69 -0
  124. package/dist/models/ListIntegrationPolicyServiceMonitorsResponse.js.map +1 -0
  125. package/dist/models/ListIntegrationPolicyServiceMonitorsResponseBody.d.ts +124 -0
  126. package/dist/models/ListIntegrationPolicyServiceMonitorsResponseBody.js +134 -0
  127. package/dist/models/ListIntegrationPolicyServiceMonitorsResponseBody.js.map +1 -0
  128. package/dist/models/NotifyChannel.d.ts +16 -0
  129. package/dist/models/NotifyChannel.js +68 -0
  130. package/dist/models/NotifyChannel.js.map +1 -0
  131. package/dist/models/NotifyStrategyForModify.d.ts +37 -0
  132. package/dist/models/NotifyStrategyForModify.js +81 -1
  133. package/dist/models/NotifyStrategyForModify.js.map +1 -1
  134. package/dist/models/NotifyStrategyForView.d.ts +38 -0
  135. package/dist/models/NotifyStrategyForView.js +86 -1
  136. package/dist/models/NotifyStrategyForView.js.map +1 -1
  137. package/dist/models/PushingSetting.d.ts +16 -0
  138. package/dist/models/PushingSetting.js +68 -0
  139. package/dist/models/PushingSetting.js.map +1 -0
  140. package/dist/models/RepeatNotifySetting.d.ts +15 -0
  141. package/dist/models/RepeatNotifySetting.js +60 -0
  142. package/dist/models/RepeatNotifySetting.js.map +1 -0
  143. package/dist/models/SubscriptionForView.d.ts +1 -0
  144. package/dist/models/SubscriptionForView.js +2 -0
  145. package/dist/models/SubscriptionForView.js.map +1 -1
  146. package/dist/models/Tag.d.ts +15 -0
  147. package/dist/models/Tag.js +60 -0
  148. package/dist/models/Tag.js.map +1 -0
  149. package/dist/models/UpdateNotifyStrategyRequest.d.ts +20 -0
  150. package/dist/models/UpdateNotifyStrategyRequest.js +64 -0
  151. package/dist/models/UpdateNotifyStrategyRequest.js.map +1 -0
  152. package/dist/models/UpdateNotifyStrategyResponse.d.ts +19 -0
  153. package/dist/models/UpdateNotifyStrategyResponse.js +69 -0
  154. package/dist/models/UpdateNotifyStrategyResponse.js.map +1 -0
  155. package/dist/models/UpdateNotifyStrategyResponseBody.d.ts +26 -0
  156. package/dist/models/UpdateNotifyStrategyResponseBody.js +60 -0
  157. package/dist/models/UpdateNotifyStrategyResponseBody.js.map +1 -0
  158. package/dist/models/UpdatePrometheusUserSettingRequest.d.ts +21 -0
  159. package/dist/models/UpdatePrometheusUserSettingRequest.js +58 -0
  160. package/dist/models/UpdatePrometheusUserSettingRequest.js.map +1 -0
  161. package/dist/models/UpdatePrometheusUserSettingResponse.d.ts +19 -0
  162. package/dist/models/UpdatePrometheusUserSettingResponse.js +69 -0
  163. package/dist/models/UpdatePrometheusUserSettingResponse.js.map +1 -0
  164. package/dist/models/UpdatePrometheusUserSettingResponseBody.d.ts +21 -0
  165. package/dist/models/UpdatePrometheusUserSettingResponseBody.js +58 -0
  166. package/dist/models/UpdatePrometheusUserSettingResponseBody.js.map +1 -0
  167. package/dist/models/UpdateSubscriptionRequest.d.ts +20 -0
  168. package/dist/models/UpdateSubscriptionRequest.js +64 -0
  169. package/dist/models/UpdateSubscriptionRequest.js.map +1 -0
  170. package/dist/models/UpdateSubscriptionResponse.d.ts +19 -0
  171. package/dist/models/UpdateSubscriptionResponse.js +69 -0
  172. package/dist/models/UpdateSubscriptionResponse.js.map +1 -0
  173. package/dist/models/UpdateSubscriptionResponseBody.d.ts +26 -0
  174. package/dist/models/UpdateSubscriptionResponseBody.js +60 -0
  175. package/dist/models/UpdateSubscriptionResponseBody.js.map +1 -0
  176. package/dist/models/UpsertUmodelCommonSchemaRefRequest.d.ts +29 -0
  177. package/dist/models/UpsertUmodelCommonSchemaRefRequest.js +60 -0
  178. package/dist/models/UpsertUmodelCommonSchemaRefRequest.js.map +1 -0
  179. package/dist/models/UpsertUmodelCommonSchemaRefResponse.d.ts +19 -0
  180. package/dist/models/UpsertUmodelCommonSchemaRefResponse.js +69 -0
  181. package/dist/models/UpsertUmodelCommonSchemaRefResponse.js.map +1 -0
  182. package/dist/models/UpsertUmodelCommonSchemaRefResponseBody.d.ts +18 -0
  183. package/dist/models/UpsertUmodelCommonSchemaRefResponseBody.js +58 -0
  184. package/dist/models/UpsertUmodelCommonSchemaRefResponseBody.js.map +1 -0
  185. package/dist/models/WorkspaceFilterSetting.d.ts +16 -0
  186. package/dist/models/WorkspaceFilterSetting.js +67 -0
  187. package/dist/models/WorkspaceFilterSetting.js.map +1 -0
  188. package/dist/models/model.d.ts +64 -0
  189. package/dist/models/model.js +147 -17
  190. package/dist/models/model.js.map +1 -1
  191. package/package.json +1 -1
  192. package/src/client.ts +618 -2
  193. package/src/models/AlertRuleSend.ts +6 -0
  194. package/src/models/CmsEventForView.ts +103 -0
  195. package/src/models/ContactForIncidentView.ts +30 -0
  196. package/src/models/CreateCloudResourceResponse.ts +40 -0
  197. package/src/models/CreateCloudResourceResponseBody.ts +31 -0
  198. package/src/models/CreateIntegrationPolicyRequest.ts +9 -2
  199. package/src/models/CreateIntegrationPolicyResponseBody.ts +1 -1
  200. package/src/models/DeleteCloudResourceResponse.ts +40 -0
  201. package/src/models/DeleteCloudResourceResponseBody.ts +31 -0
  202. package/src/models/DeleteUmodelCommonSchemaRefRequest.ts +34 -0
  203. package/src/models/DeleteUmodelCommonSchemaRefResponse.ts +40 -0
  204. package/src/models/DeleteUmodelCommonSchemaRefResponseBody.ts +31 -0
  205. package/src/models/DescribeRegionsRequest.ts +31 -0
  206. package/src/models/DescribeRegionsResponse.ts +40 -0
  207. package/src/models/DescribeRegionsResponseBody.ts +74 -0
  208. package/src/models/EffectTimeRange.ts +39 -0
  209. package/src/models/EventResourceForEventView.ts +71 -0
  210. package/src/models/EventResourceForIncidentView.ts +39 -0
  211. package/src/models/GetCloudResourceDataRequest.ts +54 -0
  212. package/src/models/GetCloudResourceDataResponse.ts +40 -0
  213. package/src/models/GetCloudResourceDataResponseBody.ts +43 -0
  214. package/src/models/GetCloudResourceResponse.ts +40 -0
  215. package/src/models/GetCloudResourceResponseBody.ts +38 -0
  216. package/src/models/GetCmsServiceRequest.ts +44 -0
  217. package/src/models/GetCmsServiceResponse.ts +40 -0
  218. package/src/models/GetCmsServiceResponseBody.ts +48 -0
  219. package/src/models/GetPrometheusUserSettingRequest.ts +31 -0
  220. package/src/models/GetPrometheusUserSettingResponse.ts +40 -0
  221. package/src/models/GetPrometheusUserSettingResponseBody.ts +40 -0
  222. package/src/models/GetUmodelCommonSchemaRefResponse.ts +40 -0
  223. package/src/models/GetUmodelCommonSchemaRefResponseBody.ts +64 -0
  224. package/src/models/IncidentEscalationPolicyForModify.ts +44 -0
  225. package/src/models/IncidentEscalationPolicyForView.ts +71 -0
  226. package/src/models/IncidentEscalationStageForView.ts +57 -0
  227. package/src/models/IncidentEventForView.ts +107 -0
  228. package/src/models/IncidentForView.ts +115 -0
  229. package/src/models/IncidentResponsePlanForView.ts +80 -0
  230. package/src/models/IncidentTimelineForView.ts +58 -0
  231. package/src/models/ListIntegrationPoliciesRequest.ts +10 -10
  232. package/src/models/ListIntegrationPoliciesResponseBody.ts +13 -6
  233. package/src/models/ListIntegrationPoliciesShrinkRequest.ts +10 -10
  234. package/src/models/ListIntegrationPolicyServiceMonitorsRequest.ts +45 -0
  235. package/src/models/ListIntegrationPolicyServiceMonitorsResponse.ts +40 -0
  236. package/src/models/ListIntegrationPolicyServiceMonitorsResponseBody.ts +195 -0
  237. package/src/models/NotifyChannel.ts +39 -0
  238. package/src/models/NotifyStrategyForModify.ts +98 -0
  239. package/src/models/NotifyStrategyForView.ts +104 -0
  240. package/src/models/PushingSetting.ts +39 -0
  241. package/src/models/RepeatNotifySetting.ts +30 -0
  242. package/src/models/SubscriptionForView.ts +3 -0
  243. package/src/models/Tag.ts +30 -0
  244. package/src/models/UpdateNotifyStrategyRequest.ts +38 -0
  245. package/src/models/UpdateNotifyStrategyResponse.ts +40 -0
  246. package/src/models/UpdateNotifyStrategyResponseBody.ts +41 -0
  247. package/src/models/UpdatePrometheusUserSettingRequest.ts +34 -0
  248. package/src/models/UpdatePrometheusUserSettingResponse.ts +40 -0
  249. package/src/models/UpdatePrometheusUserSettingResponseBody.ts +34 -0
  250. package/src/models/UpdateSubscriptionRequest.ts +38 -0
  251. package/src/models/UpdateSubscriptionResponse.ts +40 -0
  252. package/src/models/UpdateSubscriptionResponseBody.ts +41 -0
  253. package/src/models/UpsertUmodelCommonSchemaRefRequest.ts +44 -0
  254. package/src/models/UpsertUmodelCommonSchemaRefResponse.ts +40 -0
  255. package/src/models/UpsertUmodelCommonSchemaRefResponseBody.ts +31 -0
  256. package/src/models/WorkspaceFilterSetting.ts +37 -0
  257. package/src/models/model.ts +64 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListIntegrationPoliciesShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Addon Name.
8
+ * Addon name.
9
9
  *
10
10
  * @example
11
11
  * cs-default
@@ -13,7 +13,7 @@ export class ListIntegrationPoliciesShrinkRequest extends $dara.Model {
13
13
  addonName?: string;
14
14
  /**
15
15
  * @remarks
16
- * Bound Resource ID.
16
+ * Bound resource ID
17
17
  *
18
18
  * @example
19
19
  * 622d27c2e87d49debceeebc7c642610e
@@ -21,7 +21,7 @@ export class ListIntegrationPoliciesShrinkRequest extends $dara.Model {
21
21
  bindResourceId?: string;
22
22
  /**
23
23
  * @remarks
24
- * Filter for entity IDs, separated by commas.
24
+ * Filter for entity IDs, separated by commas
25
25
  *
26
26
  * @example
27
27
  * eg-1,eg-2,eg-3
@@ -29,7 +29,7 @@ export class ListIntegrationPoliciesShrinkRequest extends $dara.Model {
29
29
  entityGroupIds?: string;
30
30
  /**
31
31
  * @remarks
32
- * Used for Region query, separated by commas.
32
+ * Used for Region query, separated by commas
33
33
  *
34
34
  * @example
35
35
  * cn-beijing,cn-hangzhou
@@ -37,7 +37,7 @@ export class ListIntegrationPoliciesShrinkRequest extends $dara.Model {
37
37
  filterRegionIds?: string;
38
38
  /**
39
39
  * @remarks
40
- * Maximum number of results to return, default is 30, with a maximum of 100.
40
+ * Maximum number of results to return. Default is 30, with a maximum of 100.
41
41
  *
42
42
  * @example
43
43
  * 30
@@ -45,7 +45,7 @@ export class ListIntegrationPoliciesShrinkRequest extends $dara.Model {
45
45
  maxResults?: number;
46
46
  /**
47
47
  * @remarks
48
- * Used to return more results. This parameter is not required for the first query; for subsequent queries, use the Token obtained from the previous response.
48
+ * Used to return more results. This parameter is not required for the first query. For subsequent queries, use the Token obtained from the response.
49
49
  *
50
50
  * @example
51
51
  * mvnX6zqg3P
@@ -61,7 +61,7 @@ export class ListIntegrationPoliciesShrinkRequest extends $dara.Model {
61
61
  policyId?: string;
62
62
  /**
63
63
  * @remarks
64
- * Rule Name.
64
+ * Rule name.
65
65
  *
66
66
  * @example
67
67
  * prod-database
@@ -69,7 +69,7 @@ export class ListIntegrationPoliciesShrinkRequest extends $dara.Model {
69
69
  policyName?: string;
70
70
  /**
71
71
  * @remarks
72
- * Policy Type
72
+ * Policy type
73
73
  *
74
74
  * @example
75
75
  * CS
@@ -85,7 +85,7 @@ export class ListIntegrationPoliciesShrinkRequest extends $dara.Model {
85
85
  prometheusInstanceId?: string;
86
86
  /**
87
87
  * @remarks
88
- * Used for general queries.
88
+ * Used for general queries
89
89
  *
90
90
  * @example
91
91
  * test
@@ -93,7 +93,7 @@ export class ListIntegrationPoliciesShrinkRequest extends $dara.Model {
93
93
  query?: string;
94
94
  /**
95
95
  * @remarks
96
- * Resource Group ID.
96
+ * Resource group ID.
97
97
  *
98
98
  * @example
99
99
  * rg-xxxxx
@@ -0,0 +1,45 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListIntegrationPolicyServiceMonitorsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * release-12345678
9
+ */
10
+ addonReleaseName?: string;
11
+ /**
12
+ * @example
13
+ * true
14
+ */
15
+ encryptYaml?: boolean;
16
+ /**
17
+ * @example
18
+ * arms-prom
19
+ */
20
+ namespace?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ addonReleaseName: 'addonReleaseName',
24
+ encryptYaml: 'encryptYaml',
25
+ namespace: 'namespace',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ addonReleaseName: 'string',
32
+ encryptYaml: 'boolean',
33
+ namespace: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListIntegrationPolicyServiceMonitorsResponseBody } from "./ListIntegrationPolicyServiceMonitorsResponseBody";
4
+
5
+
6
+ export class ListIntegrationPolicyServiceMonitorsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListIntegrationPolicyServiceMonitorsResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ListIntegrationPolicyServiceMonitorsResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -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 ListIntegrationPolicyServiceMonitorsResponseBodyServiceMonitorsEndpoints extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 30s
9
+ */
10
+ interval?: string;
11
+ /**
12
+ * @example
13
+ * 65
14
+ */
15
+ matchedTargetCount?: number;
16
+ /**
17
+ * @example
18
+ * /metrics
19
+ */
20
+ path?: string;
21
+ /**
22
+ * @example
23
+ * 9100
24
+ */
25
+ port?: string;
26
+ /**
27
+ * @example
28
+ * http
29
+ */
30
+ targetPort?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ interval: 'interval',
34
+ matchedTargetCount: 'matchedTargetCount',
35
+ path: 'path',
36
+ port: 'port',
37
+ targetPort: 'targetPort',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ interval: 'string',
44
+ matchedTargetCount: 'number',
45
+ path: 'string',
46
+ port: 'string',
47
+ targetPort: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
60
+ export class ListIntegrationPolicyServiceMonitorsResponseBodyServiceMonitors extends $dara.Model {
61
+ /**
62
+ * @example
63
+ * cloud-acs-ecs
64
+ */
65
+ addonName?: string;
66
+ /**
67
+ * @example
68
+ * release-1234567
69
+ */
70
+ addonReleaseName?: string;
71
+ /**
72
+ * @example
73
+ * 0.0.1
74
+ */
75
+ addonVersion?: string;
76
+ /**
77
+ * @example
78
+ * apiVersion: xxxxx
79
+ */
80
+ configYaml?: string;
81
+ /**
82
+ * @example
83
+ * run
84
+ */
85
+ enableStatus?: string;
86
+ /**
87
+ * @example
88
+ * YXBpVmVyc2lvbjogeHh4eHgK
89
+ */
90
+ encryptYaml?: boolean;
91
+ endpoints?: ListIntegrationPolicyServiceMonitorsResponseBodyServiceMonitorsEndpoints[];
92
+ /**
93
+ * @example
94
+ * 50
95
+ */
96
+ matchedServiceCount?: number;
97
+ /**
98
+ * @example
99
+ * 62a526c5-f6ca-4cfb-b5a4-b76974cffe51
100
+ */
101
+ name?: string;
102
+ /**
103
+ * @example
104
+ * arms-prom
105
+ */
106
+ namespace?: string;
107
+ static names(): { [key: string]: string } {
108
+ return {
109
+ addonName: 'addonName',
110
+ addonReleaseName: 'addonReleaseName',
111
+ addonVersion: 'addonVersion',
112
+ configYaml: 'configYaml',
113
+ enableStatus: 'enableStatus',
114
+ encryptYaml: 'encryptYaml',
115
+ endpoints: 'endpoints',
116
+ matchedServiceCount: 'matchedServiceCount',
117
+ name: 'name',
118
+ namespace: 'namespace',
119
+ };
120
+ }
121
+
122
+ static types(): { [key: string]: any } {
123
+ return {
124
+ addonName: 'string',
125
+ addonReleaseName: 'string',
126
+ addonVersion: 'string',
127
+ configYaml: 'string',
128
+ enableStatus: 'string',
129
+ encryptYaml: 'boolean',
130
+ endpoints: { 'type': 'array', 'itemType': ListIntegrationPolicyServiceMonitorsResponseBodyServiceMonitorsEndpoints },
131
+ matchedServiceCount: 'number',
132
+ name: 'string',
133
+ namespace: 'string',
134
+ };
135
+ }
136
+
137
+ validate() {
138
+ if(Array.isArray(this.endpoints)) {
139
+ $dara.Model.validateArray(this.endpoints);
140
+ }
141
+ super.validate();
142
+ }
143
+
144
+ constructor(map?: { [key: string]: any }) {
145
+ super(map);
146
+ }
147
+ }
148
+
149
+ export class ListIntegrationPolicyServiceMonitorsResponseBody extends $dara.Model {
150
+ /**
151
+ * @example
152
+ * ea119prod-ea119blinkcptssd1
153
+ */
154
+ clusterId?: string;
155
+ /**
156
+ * @example
157
+ * policy-ac38a7cb02d14ff48bc9f97d0a75063e
158
+ */
159
+ policyId?: string;
160
+ /**
161
+ * @example
162
+ * CD8BA7D6-995D-578D-9941-78B0FECD14B5
163
+ */
164
+ requestId?: string;
165
+ serviceMonitors?: ListIntegrationPolicyServiceMonitorsResponseBodyServiceMonitors[];
166
+ static names(): { [key: string]: string } {
167
+ return {
168
+ clusterId: 'clusterId',
169
+ policyId: 'policyId',
170
+ requestId: 'requestId',
171
+ serviceMonitors: 'serviceMonitors',
172
+ };
173
+ }
174
+
175
+ static types(): { [key: string]: any } {
176
+ return {
177
+ clusterId: 'string',
178
+ policyId: 'string',
179
+ requestId: 'string',
180
+ serviceMonitors: { 'type': 'array', 'itemType': ListIntegrationPolicyServiceMonitorsResponseBodyServiceMonitors },
181
+ };
182
+ }
183
+
184
+ validate() {
185
+ if(Array.isArray(this.serviceMonitors)) {
186
+ $dara.Model.validateArray(this.serviceMonitors);
187
+ }
188
+ super.validate();
189
+ }
190
+
191
+ constructor(map?: { [key: string]: any }) {
192
+ super(map);
193
+ }
194
+ }
195
+
@@ -0,0 +1,39 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class NotifyChannel extends $dara.Model {
6
+ channelType?: string;
7
+ enabledSubChannels?: string[];
8
+ receivers?: string[];
9
+ static names(): { [key: string]: string } {
10
+ return {
11
+ channelType: 'channelType',
12
+ enabledSubChannels: 'enabledSubChannels',
13
+ receivers: 'receivers',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ channelType: 'string',
20
+ enabledSubChannels: { 'type': 'array', 'itemType': 'string' },
21
+ receivers: { 'type': 'array', 'itemType': 'string' },
22
+ };
23
+ }
24
+
25
+ validate() {
26
+ if(Array.isArray(this.enabledSubChannels)) {
27
+ $dara.Model.validateArray(this.enabledSubChannels);
28
+ }
29
+ if(Array.isArray(this.receivers)) {
30
+ $dara.Model.validateArray(this.receivers);
31
+ }
32
+ super.validate();
33
+ }
34
+
35
+ constructor(map?: { [key: string]: any }) {
36
+ super(map);
37
+ }
38
+ }
39
+
@@ -1,6 +1,7 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
3
  import { FilterSetting } from "./FilterSetting";
4
+ import { WorkspaceFilterSetting } from "./WorkspaceFilterSetting";
4
5
 
5
6
 
6
7
  export class NotifyStrategyForModifyCustomTemplateEntries extends $dara.Model {
@@ -72,6 +73,67 @@ export class NotifyStrategyForModifyGroupingSetting extends $dara.Model {
72
73
  }
73
74
  }
74
75
 
76
+ export class NotifyStrategyForModifyPushingSetting extends $dara.Model {
77
+ alertActionIds?: string[];
78
+ restoreActionIds?: string[];
79
+ templateUuid?: string;
80
+ static names(): { [key: string]: string } {
81
+ return {
82
+ alertActionIds: 'alertActionIds',
83
+ restoreActionIds: 'restoreActionIds',
84
+ templateUuid: 'templateUuid',
85
+ };
86
+ }
87
+
88
+ static types(): { [key: string]: any } {
89
+ return {
90
+ alertActionIds: { 'type': 'array', 'itemType': 'string' },
91
+ restoreActionIds: { 'type': 'array', 'itemType': 'string' },
92
+ templateUuid: 'string',
93
+ };
94
+ }
95
+
96
+ validate() {
97
+ if(Array.isArray(this.alertActionIds)) {
98
+ $dara.Model.validateArray(this.alertActionIds);
99
+ }
100
+ if(Array.isArray(this.restoreActionIds)) {
101
+ $dara.Model.validateArray(this.restoreActionIds);
102
+ }
103
+ super.validate();
104
+ }
105
+
106
+ constructor(map?: { [key: string]: any }) {
107
+ super(map);
108
+ }
109
+ }
110
+
111
+ export class NotifyStrategyForModifyRepeatNotifySetting extends $dara.Model {
112
+ endIncidentState?: string;
113
+ repeatInterval?: number;
114
+ static names(): { [key: string]: string } {
115
+ return {
116
+ endIncidentState: 'endIncidentState',
117
+ repeatInterval: 'repeatInterval',
118
+ };
119
+ }
120
+
121
+ static types(): { [key: string]: any } {
122
+ return {
123
+ endIncidentState: 'string',
124
+ repeatInterval: 'number',
125
+ };
126
+ }
127
+
128
+ validate() {
129
+ super.validate();
130
+ }
131
+
132
+ constructor(map?: { [key: string]: any }) {
133
+ super(map);
134
+ }
135
+ }
136
+
75
137
  export class NotifyStrategyForModifyRoutesChannels extends $dara.Model {
76
138
  /**
77
139
  * @remarks
@@ -195,8 +257,12 @@ export class NotifyStrategyForModifyRoutes extends $dara.Model {
195
257
  }
196
258
 
197
259
  export class NotifyStrategyForModify extends $dara.Model {
260
+ autoRecoverSeconds?: number;
198
261
  customTemplateEntries?: NotifyStrategyForModifyCustomTemplateEntries[];
199
262
  description?: string;
263
+ enableIncidentManagement?: boolean;
264
+ escalationId?: string[];
265
+ filterSetting?: FilterSetting;
200
266
  /**
201
267
  * @remarks
202
268
  * This parameter is required.
@@ -208,30 +274,47 @@ export class NotifyStrategyForModify extends $dara.Model {
208
274
  * This parameter is required.
209
275
  */
210
276
  notifyStrategyName?: string;
277
+ pushingSetting?: NotifyStrategyForModifyPushingSetting;
278
+ repeatNotifySetting?: NotifyStrategyForModifyRepeatNotifySetting;
211
279
  /**
212
280
  * @remarks
213
281
  * This parameter is required.
214
282
  */
215
283
  routes?: NotifyStrategyForModifyRoutes[];
284
+ workspaceFilterSetting?: WorkspaceFilterSetting;
216
285
  static names(): { [key: string]: string } {
217
286
  return {
287
+ autoRecoverSeconds: 'autoRecoverSeconds',
218
288
  customTemplateEntries: 'customTemplateEntries',
219
289
  description: 'description',
290
+ enableIncidentManagement: 'enableIncidentManagement',
291
+ escalationId: 'escalationId',
292
+ filterSetting: 'filterSetting',
220
293
  groupingSetting: 'groupingSetting',
221
294
  ignoreRestoredNotification: 'ignoreRestoredNotification',
222
295
  notifyStrategyName: 'notifyStrategyName',
296
+ pushingSetting: 'pushingSetting',
297
+ repeatNotifySetting: 'repeatNotifySetting',
223
298
  routes: 'routes',
299
+ workspaceFilterSetting: 'workspaceFilterSetting',
224
300
  };
225
301
  }
226
302
 
227
303
  static types(): { [key: string]: any } {
228
304
  return {
305
+ autoRecoverSeconds: 'number',
229
306
  customTemplateEntries: { 'type': 'array', 'itemType': NotifyStrategyForModifyCustomTemplateEntries },
230
307
  description: 'string',
308
+ enableIncidentManagement: 'boolean',
309
+ escalationId: { 'type': 'array', 'itemType': 'string' },
310
+ filterSetting: FilterSetting,
231
311
  groupingSetting: NotifyStrategyForModifyGroupingSetting,
232
312
  ignoreRestoredNotification: 'boolean',
233
313
  notifyStrategyName: 'string',
314
+ pushingSetting: NotifyStrategyForModifyPushingSetting,
315
+ repeatNotifySetting: NotifyStrategyForModifyRepeatNotifySetting,
234
316
  routes: { 'type': 'array', 'itemType': NotifyStrategyForModifyRoutes },
317
+ workspaceFilterSetting: WorkspaceFilterSetting,
235
318
  };
236
319
  }
237
320
 
@@ -239,12 +322,27 @@ export class NotifyStrategyForModify extends $dara.Model {
239
322
  if(Array.isArray(this.customTemplateEntries)) {
240
323
  $dara.Model.validateArray(this.customTemplateEntries);
241
324
  }
325
+ if(Array.isArray(this.escalationId)) {
326
+ $dara.Model.validateArray(this.escalationId);
327
+ }
328
+ if(this.filterSetting && typeof (this.filterSetting as any).validate === 'function') {
329
+ (this.filterSetting as any).validate();
330
+ }
242
331
  if(this.groupingSetting && typeof (this.groupingSetting as any).validate === 'function') {
243
332
  (this.groupingSetting as any).validate();
244
333
  }
334
+ if(this.pushingSetting && typeof (this.pushingSetting as any).validate === 'function') {
335
+ (this.pushingSetting as any).validate();
336
+ }
337
+ if(this.repeatNotifySetting && typeof (this.repeatNotifySetting as any).validate === 'function') {
338
+ (this.repeatNotifySetting as any).validate();
339
+ }
245
340
  if(Array.isArray(this.routes)) {
246
341
  $dara.Model.validateArray(this.routes);
247
342
  }
343
+ if(this.workspaceFilterSetting && typeof (this.workspaceFilterSetting as any).validate === 'function') {
344
+ (this.workspaceFilterSetting as any).validate();
345
+ }
248
346
  super.validate();
249
347
  }
250
348