@alicloud/cms20240330 3.1.0 → 3.2.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 (41) hide show
  1. package/dist/client.d.ts +36 -0
  2. package/dist/client.js +128 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AlertRuleQuery.d.ts +34 -0
  5. package/dist/models/AlertRuleQuery.js +61 -1
  6. package/dist/models/AlertRuleQuery.js.map +1 -1
  7. package/dist/models/ListIntegrationPoliciesRequest.d.ts +92 -0
  8. package/dist/models/ListIntegrationPoliciesRequest.js +106 -0
  9. package/dist/models/ListIntegrationPoliciesRequest.js.map +1 -0
  10. package/dist/models/ListIntegrationPoliciesResponse.d.ts +19 -0
  11. package/dist/models/ListIntegrationPoliciesResponse.js +69 -0
  12. package/dist/models/ListIntegrationPoliciesResponse.js.map +1 -0
  13. package/dist/models/ListIntegrationPoliciesResponseBody.d.ts +362 -0
  14. package/dist/models/ListIntegrationPoliciesResponseBody.js +433 -0
  15. package/dist/models/ListIntegrationPoliciesResponseBody.js.map +1 -0
  16. package/dist/models/ListIntegrationPoliciesShrinkRequest.d.ts +70 -0
  17. package/dist/models/ListIntegrationPoliciesShrinkRequest.js +82 -0
  18. package/dist/models/ListIntegrationPoliciesShrinkRequest.js.map +1 -0
  19. package/dist/models/ListIntegrationPolicyDashboardsRequest.d.ts +23 -0
  20. package/dist/models/ListIntegrationPolicyDashboardsRequest.js +60 -0
  21. package/dist/models/ListIntegrationPolicyDashboardsRequest.js.map +1 -0
  22. package/dist/models/ListIntegrationPolicyDashboardsResponse.d.ts +19 -0
  23. package/dist/models/ListIntegrationPolicyDashboardsResponse.js +69 -0
  24. package/dist/models/ListIntegrationPolicyDashboardsResponse.js.map +1 -0
  25. package/dist/models/ListIntegrationPolicyDashboardsResponseBody.d.ts +45 -0
  26. package/dist/models/ListIntegrationPolicyDashboardsResponseBody.js +97 -0
  27. package/dist/models/ListIntegrationPolicyDashboardsResponseBody.js.map +1 -0
  28. package/dist/models/model.d.ts +23 -0
  29. package/dist/models/model.js +57 -11
  30. package/dist/models/model.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/client.ts +148 -0
  33. package/src/models/AlertRuleQuery.ts +76 -0
  34. package/src/models/ListIntegrationPoliciesRequest.ts +144 -0
  35. package/src/models/ListIntegrationPoliciesResponse.ts +40 -0
  36. package/src/models/ListIntegrationPoliciesResponseBody.ts +642 -0
  37. package/src/models/ListIntegrationPoliciesShrinkRequest.ts +107 -0
  38. package/src/models/ListIntegrationPolicyDashboardsRequest.ts +38 -0
  39. package/src/models/ListIntegrationPolicyDashboardsResponse.ts +40 -0
  40. package/src/models/ListIntegrationPolicyDashboardsResponseBody.ts +88 -0
  41. package/src/models/model.ts +23 -0
@@ -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 ListIntegrationPoliciesShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * cs-default
9
+ */
10
+ addonName?: string;
11
+ /**
12
+ * @example
13
+ * eg-1,eg-2,eg-3
14
+ */
15
+ entityGroupIds?: string;
16
+ /**
17
+ * @example
18
+ * cn-beijing,cn-hangzhou
19
+ */
20
+ filterRegionIds?: string;
21
+ /**
22
+ * @example
23
+ * 30
24
+ */
25
+ maxResults?: number;
26
+ /**
27
+ * @example
28
+ * mvnX6zqg3P
29
+ */
30
+ nextToken?: string;
31
+ /**
32
+ * @example
33
+ * policy-93817a401f78435596d745a97d2e85a1
34
+ */
35
+ policyId?: string;
36
+ /**
37
+ * @example
38
+ * prod-database
39
+ */
40
+ policyName?: string;
41
+ /**
42
+ * @example
43
+ * CS
44
+ */
45
+ policyType?: string;
46
+ prometheusInstanceId?: string;
47
+ /**
48
+ * @example
49
+ * test
50
+ */
51
+ query?: string;
52
+ /**
53
+ * @example
54
+ * rg-xxxxx
55
+ */
56
+ resourceGroupId?: string;
57
+ tagShrink?: string;
58
+ /**
59
+ * @example
60
+ * demo
61
+ */
62
+ workspace?: string;
63
+ static names(): { [key: string]: string } {
64
+ return {
65
+ addonName: 'addonName',
66
+ entityGroupIds: 'entityGroupIds',
67
+ filterRegionIds: 'filterRegionIds',
68
+ maxResults: 'maxResults',
69
+ nextToken: 'nextToken',
70
+ policyId: 'policyId',
71
+ policyName: 'policyName',
72
+ policyType: 'policyType',
73
+ prometheusInstanceId: 'prometheusInstanceId',
74
+ query: 'query',
75
+ resourceGroupId: 'resourceGroupId',
76
+ tagShrink: 'tag',
77
+ workspace: 'workspace',
78
+ };
79
+ }
80
+
81
+ static types(): { [key: string]: any } {
82
+ return {
83
+ addonName: 'string',
84
+ entityGroupIds: 'string',
85
+ filterRegionIds: 'string',
86
+ maxResults: 'number',
87
+ nextToken: 'string',
88
+ policyId: 'string',
89
+ policyName: 'string',
90
+ policyType: 'string',
91
+ prometheusInstanceId: 'string',
92
+ query: 'string',
93
+ resourceGroupId: 'string',
94
+ tagShrink: 'string',
95
+ workspace: 'string',
96
+ };
97
+ }
98
+
99
+ validate() {
100
+ super.validate();
101
+ }
102
+
103
+ constructor(map?: { [key: string]: any }) {
104
+ super(map);
105
+ }
106
+ }
107
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListIntegrationPolicyDashboardsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * cs-default
9
+ */
10
+ addonName?: string;
11
+ /**
12
+ * @example
13
+ * databse
14
+ */
15
+ scene?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ addonName: 'addonName',
19
+ scene: 'scene',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ addonName: 'string',
26
+ scene: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListIntegrationPolicyDashboardsResponseBody } from "./ListIntegrationPolicyDashboardsResponseBody";
4
+
5
+
6
+ export class ListIntegrationPolicyDashboardsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListIntegrationPolicyDashboardsResponseBody;
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: ListIntegrationPolicyDashboardsResponseBody,
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,88 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListIntegrationPolicyDashboardsResponseBodyDashboards extends $dara.Model {
6
+ folderUid?: string;
7
+ region?: string;
8
+ tags?: string[];
9
+ title?: string;
10
+ uid?: string;
11
+ url?: string;
12
+ static names(): { [key: string]: string } {
13
+ return {
14
+ folderUid: 'folderUid',
15
+ region: 'region',
16
+ tags: 'tags',
17
+ title: 'title',
18
+ uid: 'uid',
19
+ url: 'url',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ folderUid: 'string',
26
+ region: 'string',
27
+ tags: { 'type': 'array', 'itemType': 'string' },
28
+ title: 'string',
29
+ uid: 'string',
30
+ url: 'string',
31
+ };
32
+ }
33
+
34
+ validate() {
35
+ if(Array.isArray(this.tags)) {
36
+ $dara.Model.validateArray(this.tags);
37
+ }
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
46
+ export class ListIntegrationPolicyDashboardsResponseBody extends $dara.Model {
47
+ dashboards?: ListIntegrationPolicyDashboardsResponseBodyDashboards[];
48
+ /**
49
+ * @remarks
50
+ * Id of the request
51
+ *
52
+ * @example
53
+ * CD8BA7D6-995D-578D-9941-78B0FECD14B5
54
+ */
55
+ requestId?: string;
56
+ /**
57
+ * @example
58
+ * 1
59
+ */
60
+ total?: number;
61
+ static names(): { [key: string]: string } {
62
+ return {
63
+ dashboards: 'dashboards',
64
+ requestId: 'requestId',
65
+ total: 'total',
66
+ };
67
+ }
68
+
69
+ static types(): { [key: string]: any } {
70
+ return {
71
+ dashboards: { 'type': 'array', 'itemType': ListIntegrationPolicyDashboardsResponseBodyDashboards },
72
+ requestId: 'string',
73
+ total: 'number',
74
+ };
75
+ }
76
+
77
+ validate() {
78
+ if(Array.isArray(this.dashboards)) {
79
+ $dara.Model.validateArray(this.dashboards);
80
+ }
81
+ super.validate();
82
+ }
83
+
84
+ constructor(map?: { [key: string]: any }) {
85
+ super(map);
86
+ }
87
+ }
88
+
@@ -16,6 +16,8 @@ export { AlertRuleConditionExpressEscalation } from './AlertRuleCondition';
16
16
  export { AlertRuleConditionSimpleEscalationEscalations } from './AlertRuleCondition';
17
17
  export { AlertRuleConditionSimpleEscalation } from './AlertRuleCondition';
18
18
  export { AlertRuleDataSourceDsList } from './AlertRuleDataSource';
19
+ export { AlertRuleQueryEntityFilterFilters } from './AlertRuleQuery';
20
+ export { AlertRuleQueryEntityFilter } from './AlertRuleQuery';
19
21
  export { AlertRuleQueryQueriesApmFilters } from './AlertRuleQuery';
20
22
  export { AlertRuleQueryQueries } from './AlertRuleQuery';
21
23
  export { AlertRuleSlsQueryJoinConditions } from './AlertRuleSlsQueryJoin';
@@ -97,8 +99,22 @@ export { ListAlertActionsResponseBodyAlertActionsPagerDutyParam } from './ListAl
97
99
  export { ListAlertActionsResponseBodyAlertActionsSlsParam } from './ListAlertActionsResponseBody';
98
100
  export { ListAlertActionsResponseBodyAlertActionsWebhookParam } from './ListAlertActionsResponseBody';
99
101
  export { ListAlertActionsResponseBodyAlertActions } from './ListAlertActionsResponseBody';
102
+ export { ListIntegrationPoliciesRequestTag } from './ListIntegrationPoliciesRequest';
103
+ export { ListIntegrationPoliciesResponseBodyPoliciesBindResource } from './ListIntegrationPoliciesResponseBody';
104
+ export { ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesAnnotations } from './ListIntegrationPoliciesResponseBody';
105
+ export { ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesFieldRules } from './ListIntegrationPoliciesResponseBody';
106
+ export { ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesIpMatchRule } from './ListIntegrationPoliciesResponseBody';
107
+ export { ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesLabels } from './ListIntegrationPoliciesResponseBody';
108
+ export { ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesTags } from './ListIntegrationPoliciesResponseBody';
109
+ export { ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRules } from './ListIntegrationPoliciesResponseBody';
110
+ export { ListIntegrationPoliciesResponseBodyPoliciesEntityGroup } from './ListIntegrationPoliciesResponseBody';
111
+ export { ListIntegrationPoliciesResponseBodyPoliciesManagedInfo } from './ListIntegrationPoliciesResponseBody';
112
+ export { ListIntegrationPoliciesResponseBodyPoliciesSubAddonRelease } from './ListIntegrationPoliciesResponseBody';
113
+ export { ListIntegrationPoliciesResponseBodyPoliciesTags } from './ListIntegrationPoliciesResponseBody';
114
+ export { ListIntegrationPoliciesResponseBodyPolicies } from './ListIntegrationPoliciesResponseBody';
100
115
  export { ListIntegrationPolicyCustomScrapeJobRulesResponseBodyCustomScrapeJobRulesScrapeConfigs } from './ListIntegrationPolicyCustomScrapeJobRulesResponseBody';
101
116
  export { ListIntegrationPolicyCustomScrapeJobRulesResponseBodyCustomScrapeJobRules } from './ListIntegrationPolicyCustomScrapeJobRulesResponseBody';
117
+ export { ListIntegrationPolicyDashboardsResponseBodyDashboards } from './ListIntegrationPolicyDashboardsResponseBody';
102
118
  export { ListIntegrationPolicyPodMonitorsResponseBodyPodMonitorsEndpoints } from './ListIntegrationPolicyPodMonitorsResponseBody';
103
119
  export { ListIntegrationPolicyPodMonitorsResponseBodyPodMonitors } from './ListIntegrationPolicyPodMonitorsResponseBody';
104
120
  export { ListIntegrationPolicyStorageRequirementsResponseBodyStorageRequirementsMetadata } from './ListIntegrationPolicyStorageRequirementsResponseBody';
@@ -261,9 +277,16 @@ export { ListAlertActionsRequest } from './ListAlertActionsRequest';
261
277
  export { ListAlertActionsShrinkRequest } from './ListAlertActionsShrinkRequest';
262
278
  export { ListAlertActionsResponseBody } from './ListAlertActionsResponseBody';
263
279
  export { ListAlertActionsResponse } from './ListAlertActionsResponse';
280
+ export { ListIntegrationPoliciesRequest } from './ListIntegrationPoliciesRequest';
281
+ export { ListIntegrationPoliciesShrinkRequest } from './ListIntegrationPoliciesShrinkRequest';
282
+ export { ListIntegrationPoliciesResponseBody } from './ListIntegrationPoliciesResponseBody';
283
+ export { ListIntegrationPoliciesResponse } from './ListIntegrationPoliciesResponse';
264
284
  export { ListIntegrationPolicyCustomScrapeJobRulesRequest } from './ListIntegrationPolicyCustomScrapeJobRulesRequest';
265
285
  export { ListIntegrationPolicyCustomScrapeJobRulesResponseBody } from './ListIntegrationPolicyCustomScrapeJobRulesResponseBody';
266
286
  export { ListIntegrationPolicyCustomScrapeJobRulesResponse } from './ListIntegrationPolicyCustomScrapeJobRulesResponse';
287
+ export { ListIntegrationPolicyDashboardsRequest } from './ListIntegrationPolicyDashboardsRequest';
288
+ export { ListIntegrationPolicyDashboardsResponseBody } from './ListIntegrationPolicyDashboardsResponseBody';
289
+ export { ListIntegrationPolicyDashboardsResponse } from './ListIntegrationPolicyDashboardsResponse';
267
290
  export { ListIntegrationPolicyPodMonitorsRequest } from './ListIntegrationPolicyPodMonitorsRequest';
268
291
  export { ListIntegrationPolicyPodMonitorsResponseBody } from './ListIntegrationPolicyPodMonitorsResponseBody';
269
292
  export { ListIntegrationPolicyPodMonitorsResponse } from './ListIntegrationPolicyPodMonitorsResponse';