@alicloud/cms20240330 8.0.1 → 8.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.
@@ -0,0 +1,143 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeMetricMetaListResponseBodyResourcesDimensionDescription extends $dara.Model {
6
+ name?: string;
7
+ static names(): { [key: string]: string } {
8
+ return {
9
+ name: 'name',
10
+ };
11
+ }
12
+
13
+ static types(): { [key: string]: any } {
14
+ return {
15
+ name: 'string',
16
+ };
17
+ }
18
+
19
+ validate() {
20
+ super.validate();
21
+ }
22
+
23
+ constructor(map?: { [key: string]: any }) {
24
+ super(map);
25
+ }
26
+ }
27
+
28
+ export class DescribeMetricMetaListResponseBodyResources extends $dara.Model {
29
+ description?: string;
30
+ dimensionDescription?: DescribeMetricMetaListResponseBodyResourcesDimensionDescription[];
31
+ dimensions?: string[];
32
+ labels?: { [key: string]: string };
33
+ metricName?: string;
34
+ namespace?: string;
35
+ periods?: string;
36
+ statistics?: string;
37
+ type?: string;
38
+ unit?: string;
39
+ static names(): { [key: string]: string } {
40
+ return {
41
+ description: 'description',
42
+ dimensionDescription: 'dimensionDescription',
43
+ dimensions: 'dimensions',
44
+ labels: 'labels',
45
+ metricName: 'metricName',
46
+ namespace: 'namespace',
47
+ periods: 'periods',
48
+ statistics: 'statistics',
49
+ type: 'type',
50
+ unit: 'unit',
51
+ };
52
+ }
53
+
54
+ static types(): { [key: string]: any } {
55
+ return {
56
+ description: 'string',
57
+ dimensionDescription: { 'type': 'array', 'itemType': DescribeMetricMetaListResponseBodyResourcesDimensionDescription },
58
+ dimensions: { 'type': 'array', 'itemType': 'string' },
59
+ labels: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
60
+ metricName: 'string',
61
+ namespace: 'string',
62
+ periods: 'string',
63
+ statistics: 'string',
64
+ type: 'string',
65
+ unit: 'string',
66
+ };
67
+ }
68
+
69
+ validate() {
70
+ if(Array.isArray(this.dimensionDescription)) {
71
+ $dara.Model.validateArray(this.dimensionDescription);
72
+ }
73
+ if(Array.isArray(this.dimensions)) {
74
+ $dara.Model.validateArray(this.dimensions);
75
+ }
76
+ if(this.labels) {
77
+ $dara.Model.validateMap(this.labels);
78
+ }
79
+ super.validate();
80
+ }
81
+
82
+ constructor(map?: { [key: string]: any }) {
83
+ super(map);
84
+ }
85
+ }
86
+
87
+ export class DescribeMetricMetaListResponseBody extends $dara.Model {
88
+ /**
89
+ * @example
90
+ * 1
91
+ */
92
+ pageNumber?: number;
93
+ /**
94
+ * @example
95
+ * 2000
96
+ */
97
+ pageSize?: number;
98
+ /**
99
+ * @remarks
100
+ * Id of the request
101
+ *
102
+ * @example
103
+ * 264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC
104
+ */
105
+ requestId?: string;
106
+ resources?: DescribeMetricMetaListResponseBodyResources[];
107
+ /**
108
+ * @example
109
+ * 6370
110
+ */
111
+ totalCount?: number;
112
+ static names(): { [key: string]: string } {
113
+ return {
114
+ pageNumber: 'pageNumber',
115
+ pageSize: 'pageSize',
116
+ requestId: 'requestId',
117
+ resources: 'resources',
118
+ totalCount: 'totalCount',
119
+ };
120
+ }
121
+
122
+ static types(): { [key: string]: any } {
123
+ return {
124
+ pageNumber: 'number',
125
+ pageSize: 'number',
126
+ requestId: 'string',
127
+ resources: { 'type': 'array', 'itemType': DescribeMetricMetaListResponseBodyResources },
128
+ totalCount: 'number',
129
+ };
130
+ }
131
+
132
+ validate() {
133
+ if(Array.isArray(this.resources)) {
134
+ $dara.Model.validateArray(this.resources);
135
+ }
136
+ super.validate();
137
+ }
138
+
139
+ constructor(map?: { [key: string]: any }) {
140
+ super(map);
141
+ }
142
+ }
143
+
@@ -0,0 +1,62 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeMetricMetaListShrinkRequest extends $dara.Model {
6
+ labelsShrink?: string;
7
+ /**
8
+ * @example
9
+ * CMS
10
+ */
11
+ metaFormat?: string;
12
+ /**
13
+ * @example
14
+ * CPUUtilization
15
+ */
16
+ metricName?: string;
17
+ /**
18
+ * @example
19
+ * acs_ecs_dashboard
20
+ */
21
+ namespace?: string;
22
+ /**
23
+ * @example
24
+ * 1
25
+ */
26
+ pageNumber?: number;
27
+ /**
28
+ * @example
29
+ * 2000
30
+ */
31
+ pageSize?: number;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ labelsShrink: 'labels',
35
+ metaFormat: 'metaFormat',
36
+ metricName: 'metricName',
37
+ namespace: 'namespace',
38
+ pageNumber: 'pageNumber',
39
+ pageSize: 'pageSize',
40
+ };
41
+ }
42
+
43
+ static types(): { [key: string]: any } {
44
+ return {
45
+ labelsShrink: 'string',
46
+ metaFormat: 'string',
47
+ metricName: 'string',
48
+ namespace: 'string',
49
+ pageNumber: 'number',
50
+ pageSize: 'number',
51
+ };
52
+ }
53
+
54
+ validate() {
55
+ super.validate();
56
+ }
57
+
58
+ constructor(map?: { [key: string]: any }) {
59
+ super(map);
60
+ }
61
+ }
62
+
@@ -76,6 +76,9 @@ export { CreatePrometheusViewRequestPrometheusInstances } from './CreatePromethe
76
76
  export { CreatePrometheusViewRequestTags } from './CreatePrometheusViewRequest';
77
77
  export { CreatePrometheusVirtualInstanceResponseBodyInstance } from './CreatePrometheusVirtualInstanceResponseBody';
78
78
  export { CreateServiceRequestTags } from './CreateServiceRequest';
79
+ export { DescribeMetricMetaListRequestLabels } from './DescribeMetricMetaListRequest';
80
+ export { DescribeMetricMetaListResponseBodyResourcesDimensionDescription } from './DescribeMetricMetaListResponseBody';
81
+ export { DescribeMetricMetaListResponseBodyResources } from './DescribeMetricMetaListResponseBody';
79
82
  export { DescribeRegionsResponseBodyRegions } from './DescribeRegionsResponseBody';
80
83
  export { ExecuteQueryResponseBodyMeta } from './ExecuteQueryResponseBody';
81
84
  export { GetAddonResponseBodyDataDashboards } from './GetAddonResponseBody';
@@ -438,6 +441,10 @@ export { DeleteUmodelDataResponse } from './DeleteUmodelDataResponse';
438
441
  export { DeleteWorkspaceRequest } from './DeleteWorkspaceRequest';
439
442
  export { DeleteWorkspaceResponseBody } from './DeleteWorkspaceResponseBody';
440
443
  export { DeleteWorkspaceResponse } from './DeleteWorkspaceResponse';
444
+ export { DescribeMetricMetaListRequest } from './DescribeMetricMetaListRequest';
445
+ export { DescribeMetricMetaListShrinkRequest } from './DescribeMetricMetaListShrinkRequest';
446
+ export { DescribeMetricMetaListResponseBody } from './DescribeMetricMetaListResponseBody';
447
+ export { DescribeMetricMetaListResponse } from './DescribeMetricMetaListResponse';
441
448
  export { DescribeRegionsRequest } from './DescribeRegionsRequest';
442
449
  export { DescribeRegionsResponseBody } from './DescribeRegionsResponseBody';
443
450
  export { DescribeRegionsResponse } from './DescribeRegionsResponse';