@alicloud/cs20151215 6.1.2 → 6.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.
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListClusterAddonInstanceResourcesResponseBody } from "./ListClusterAddonInstanceResourcesResponseBody";
4
+
5
+
6
+ export class ListClusterAddonInstanceResourcesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListClusterAddonInstanceResourcesResponseBody;
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: ListClusterAddonInstanceResourcesResponseBody,
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,139 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListClusterAddonInstanceResourcesResponseBodyHelmRelease extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ack-node-problem-detector
9
+ */
10
+ chartName?: string;
11
+ /**
12
+ * @example
13
+ * 1.2.28
14
+ */
15
+ chartVersion?: string;
16
+ /**
17
+ * @example
18
+ * kube-system
19
+ */
20
+ namespace?: string;
21
+ /**
22
+ * @example
23
+ * ack-node-problem-detector
24
+ */
25
+ releaseName?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ chartName: 'chart_name',
29
+ chartVersion: 'chart_version',
30
+ namespace: 'namespace',
31
+ releaseName: 'release_name',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ chartName: 'string',
38
+ chartVersion: 'string',
39
+ namespace: 'string',
40
+ releaseName: '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 ListClusterAddonInstanceResourcesResponseBodyKubernetesObjects extends $dara.Model {
54
+ /**
55
+ * @example
56
+ * rbac.authorization.k8s.io
57
+ */
58
+ group?: string;
59
+ /**
60
+ * @example
61
+ * ClusterRole
62
+ */
63
+ kind?: string;
64
+ /**
65
+ * @example
66
+ * terway-pod-reader
67
+ */
68
+ name?: string;
69
+ /**
70
+ * @example
71
+ * kube-system
72
+ */
73
+ namespace?: string;
74
+ /**
75
+ * @example
76
+ * v1
77
+ */
78
+ version?: string;
79
+ static names(): { [key: string]: string } {
80
+ return {
81
+ group: 'group',
82
+ kind: 'kind',
83
+ name: 'name',
84
+ namespace: 'namespace',
85
+ version: 'version',
86
+ };
87
+ }
88
+
89
+ static types(): { [key: string]: any } {
90
+ return {
91
+ group: 'string',
92
+ kind: 'string',
93
+ name: 'string',
94
+ namespace: 'string',
95
+ version: 'string',
96
+ };
97
+ }
98
+
99
+ validate() {
100
+ super.validate();
101
+ }
102
+
103
+ constructor(map?: { [key: string]: any }) {
104
+ super(map);
105
+ }
106
+ }
107
+
108
+ export class ListClusterAddonInstanceResourcesResponseBody extends $dara.Model {
109
+ helmRelease?: ListClusterAddonInstanceResourcesResponseBodyHelmRelease;
110
+ kubernetesObjects?: ListClusterAddonInstanceResourcesResponseBodyKubernetesObjects[];
111
+ static names(): { [key: string]: string } {
112
+ return {
113
+ helmRelease: 'helm_release',
114
+ kubernetesObjects: 'kubernetes_objects',
115
+ };
116
+ }
117
+
118
+ static types(): { [key: string]: any } {
119
+ return {
120
+ helmRelease: ListClusterAddonInstanceResourcesResponseBodyHelmRelease,
121
+ kubernetesObjects: { 'type': 'array', 'itemType': ListClusterAddonInstanceResourcesResponseBodyKubernetesObjects },
122
+ };
123
+ }
124
+
125
+ validate() {
126
+ if(this.helmRelease && typeof (this.helmRelease as any).validate === 'function') {
127
+ (this.helmRelease as any).validate();
128
+ }
129
+ if(Array.isArray(this.kubernetesObjects)) {
130
+ $dara.Model.validateArray(this.kubernetesObjects);
131
+ }
132
+ super.validate();
133
+ }
134
+
135
+ constructor(map?: { [key: string]: any }) {
136
+ super(map);
137
+ }
138
+ }
139
+
@@ -169,6 +169,8 @@ export { GetUpgradeStatusResponseBodyUpgradeTask } from './GetUpgradeStatusRespo
169
169
  export { GrantPermissionsRequestBody } from './GrantPermissionsRequest';
170
170
  export { InstallClusterAddonsRequestBody } from './InstallClusterAddonsRequest';
171
171
  export { ListAddonsResponseBodyAddons } from './ListAddonsResponseBody';
172
+ export { ListClusterAddonInstanceResourcesResponseBodyHelmRelease } from './ListClusterAddonInstanceResourcesResponseBody';
173
+ export { ListClusterAddonInstanceResourcesResponseBodyKubernetesObjects } from './ListClusterAddonInstanceResourcesResponseBody';
172
174
  export { ListClusterAddonInstancesResponseBodyAddons } from './ListClusterAddonInstancesResponseBody';
173
175
  export { ListClusterChecksResponseBodyChecks } from './ListClusterChecksResponseBody';
174
176
  export { ListClusterInspectReportsResponseBodyReportsSummary } from './ListClusterInspectReportsResponseBody';
@@ -422,6 +424,8 @@ export { InstallClusterAddonsResponse } from './InstallClusterAddonsResponse';
422
424
  export { ListAddonsRequest } from './ListAddonsRequest';
423
425
  export { ListAddonsResponseBody } from './ListAddonsResponseBody';
424
426
  export { ListAddonsResponse } from './ListAddonsResponse';
427
+ export { ListClusterAddonInstanceResourcesResponseBody } from './ListClusterAddonInstanceResourcesResponseBody';
428
+ export { ListClusterAddonInstanceResourcesResponse } from './ListClusterAddonInstanceResourcesResponse';
425
429
  export { ListClusterAddonInstancesResponseBody } from './ListClusterAddonInstancesResponseBody';
426
430
  export { ListClusterAddonInstancesResponse } from './ListClusterAddonInstancesResponse';
427
431
  export { ListClusterChecksRequest } from './ListClusterChecksRequest';