@alicloud/cs20151215 6.2.0 → 6.3.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 (41) hide show
  1. package/dist/client.d.ts +36 -0
  2. package/dist/client.js +108 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/InstallNodePoolComponentsRequest.d.ts +84 -0
  5. package/dist/models/InstallNodePoolComponentsRequest.js +142 -0
  6. package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -0
  7. package/dist/models/InstallNodePoolComponentsResponse.d.ts +19 -0
  8. package/dist/models/InstallNodePoolComponentsResponse.js +69 -0
  9. package/dist/models/InstallNodePoolComponentsResponse.js.map +1 -0
  10. package/dist/models/InstallNodePoolComponentsResponseBody.d.ts +28 -0
  11. package/dist/models/InstallNodePoolComponentsResponseBody.js +62 -0
  12. package/dist/models/InstallNodePoolComponentsResponseBody.js.map +1 -0
  13. package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +1 -0
  14. package/dist/models/ListClusterKubeconfigStatesRequest.js +2 -0
  15. package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
  16. package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +17 -0
  17. package/dist/models/ListClusterKubeconfigStatesResponseBody.js +31 -1
  18. package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
  19. package/dist/models/UpdateNodePoolComponentRequest.d.ts +69 -0
  20. package/dist/models/UpdateNodePoolComponentRequest.js +122 -0
  21. package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -0
  22. package/dist/models/UpdateNodePoolComponentResponse.d.ts +19 -0
  23. package/dist/models/UpdateNodePoolComponentResponse.js +69 -0
  24. package/dist/models/UpdateNodePoolComponentResponse.js.map +1 -0
  25. package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +31 -0
  26. package/dist/models/UpdateNodePoolComponentResponseBody.js +62 -0
  27. package/dist/models/UpdateNodePoolComponentResponseBody.js.map +1 -0
  28. package/dist/models/model.d.ts +12 -0
  29. package/dist/models/model.js +36 -12
  30. package/dist/models/model.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/client.ts +122 -0
  33. package/src/models/InstallNodePoolComponentsRequest.ts +152 -0
  34. package/src/models/InstallNodePoolComponentsResponse.ts +40 -0
  35. package/src/models/InstallNodePoolComponentsResponseBody.ts +45 -0
  36. package/src/models/ListClusterKubeconfigStatesRequest.ts +3 -0
  37. package/src/models/ListClusterKubeconfigStatesResponseBody.ts +38 -0
  38. package/src/models/UpdateNodePoolComponentRequest.ts +126 -0
  39. package/src/models/UpdateNodePoolComponentResponse.ts +40 -0
  40. package/src/models/UpdateNodePoolComponentResponseBody.ts +48 -0
  41. package/src/models/model.ts +12 -0
@@ -0,0 +1,126 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateNodePoolComponentRequestConfig extends $dara.Model {
6
+ customConfig?: { [key: string]: string };
7
+ static names(): { [key: string]: string } {
8
+ return {
9
+ customConfig: 'customConfig',
10
+ };
11
+ }
12
+
13
+ static types(): { [key: string]: any } {
14
+ return {
15
+ customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16
+ };
17
+ }
18
+
19
+ validate() {
20
+ if(this.customConfig) {
21
+ $dara.Model.validateMap(this.customConfig);
22
+ }
23
+ super.validate();
24
+ }
25
+
26
+ constructor(map?: { [key: string]: any }) {
27
+ super(map);
28
+ }
29
+ }
30
+
31
+ export class UpdateNodePoolComponentRequestRollingPolicy extends $dara.Model {
32
+ /**
33
+ * @example
34
+ * 0
35
+ */
36
+ batchInterval?: number;
37
+ /**
38
+ * @example
39
+ * 1
40
+ */
41
+ maxParallelism?: number;
42
+ /**
43
+ * @example
44
+ * NotPause
45
+ */
46
+ pausePolicy?: string;
47
+ static names(): { [key: string]: string } {
48
+ return {
49
+ batchInterval: 'batchInterval',
50
+ maxParallelism: 'maxParallelism',
51
+ pausePolicy: 'pausePolicy',
52
+ };
53
+ }
54
+
55
+ static types(): { [key: string]: any } {
56
+ return {
57
+ batchInterval: 'number',
58
+ maxParallelism: 'number',
59
+ pausePolicy: 'string',
60
+ };
61
+ }
62
+
63
+ validate() {
64
+ super.validate();
65
+ }
66
+
67
+ constructor(map?: { [key: string]: any }) {
68
+ super(map);
69
+ }
70
+ }
71
+
72
+ export class UpdateNodePoolComponentRequest extends $dara.Model {
73
+ config?: UpdateNodePoolComponentRequestConfig;
74
+ disableRolling?: boolean;
75
+ /**
76
+ * @example
77
+ * kubelet
78
+ */
79
+ name?: string;
80
+ nodeNames?: string[];
81
+ rollingPolicy?: UpdateNodePoolComponentRequestRollingPolicy;
82
+ /**
83
+ * @example
84
+ * 1.28.9-aliyun.1
85
+ */
86
+ version?: string;
87
+ static names(): { [key: string]: string } {
88
+ return {
89
+ config: 'config',
90
+ disableRolling: 'disableRolling',
91
+ name: 'name',
92
+ nodeNames: 'nodeNames',
93
+ rollingPolicy: 'rollingPolicy',
94
+ version: 'version',
95
+ };
96
+ }
97
+
98
+ static types(): { [key: string]: any } {
99
+ return {
100
+ config: UpdateNodePoolComponentRequestConfig,
101
+ disableRolling: 'boolean',
102
+ name: 'string',
103
+ nodeNames: { 'type': 'array', 'itemType': 'string' },
104
+ rollingPolicy: UpdateNodePoolComponentRequestRollingPolicy,
105
+ version: 'string',
106
+ };
107
+ }
108
+
109
+ validate() {
110
+ if(this.config && typeof (this.config as any).validate === 'function') {
111
+ (this.config as any).validate();
112
+ }
113
+ if(Array.isArray(this.nodeNames)) {
114
+ $dara.Model.validateArray(this.nodeNames);
115
+ }
116
+ if(this.rollingPolicy && typeof (this.rollingPolicy as any).validate === 'function') {
117
+ (this.rollingPolicy as any).validate();
118
+ }
119
+ super.validate();
120
+ }
121
+
122
+ constructor(map?: { [key: string]: any }) {
123
+ super(map);
124
+ }
125
+ }
126
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateNodePoolComponentResponseBody } from "./UpdateNodePoolComponentResponseBody";
4
+
5
+
6
+ export class UpdateNodePoolComponentResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateNodePoolComponentResponseBody;
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: UpdateNodePoolComponentResponseBody,
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,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateNodePoolComponentResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * c82e6987e2961451182edacd74faf****
9
+ */
10
+ clusterId?: string;
11
+ /**
12
+ * @remarks
13
+ * Id of the request
14
+ *
15
+ * @example
16
+ * 49511F2D-D56A-5C24-B9AE-C8491E09B***
17
+ */
18
+ requestId?: string;
19
+ /**
20
+ * @example
21
+ * T-67d7ec016ce37c0106000***
22
+ */
23
+ taskId?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ clusterId: 'clusterId',
27
+ requestId: 'requestId',
28
+ taskId: 'taskId',
29
+ };
30
+ }
31
+
32
+ static types(): { [key: string]: any } {
33
+ return {
34
+ clusterId: 'string',
35
+ requestId: 'string',
36
+ taskId: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -168,6 +168,9 @@ export { GetKubernetesTriggerResponseBody } from './GetKubernetesTriggerResponse
168
168
  export { GetUpgradeStatusResponseBodyUpgradeTask } from './GetUpgradeStatusResponseBody';
169
169
  export { GrantPermissionsRequestBody } from './GrantPermissionsRequest';
170
170
  export { InstallClusterAddonsRequestBody } from './InstallClusterAddonsRequest';
171
+ export { InstallNodePoolComponentsRequestComponentsConfig } from './InstallNodePoolComponentsRequest';
172
+ export { InstallNodePoolComponentsRequestComponents } from './InstallNodePoolComponentsRequest';
173
+ export { InstallNodePoolComponentsRequestRollingPolicy } from './InstallNodePoolComponentsRequest';
171
174
  export { ListAddonsResponseBodyAddons } from './ListAddonsResponseBody';
172
175
  export { ListClusterAddonInstanceResourcesResponseBodyHelmRelease } from './ListClusterAddonInstanceResourcesResponseBody';
173
176
  export { ListClusterAddonInstanceResourcesResponseBodyKubernetesObjects } from './ListClusterAddonInstanceResourcesResponseBody';
@@ -176,6 +179,7 @@ export { ListClusterChecksResponseBodyChecks } from './ListClusterChecksResponse
176
179
  export { ListClusterInspectReportsResponseBodyReportsSummary } from './ListClusterInspectReportsResponseBody';
177
180
  export { ListClusterInspectReportsResponseBodyReports } from './ListClusterInspectReportsResponseBody';
178
181
  export { ListClusterKubeconfigStatesResponseBodyPage } from './ListClusterKubeconfigStatesResponseBody';
182
+ export { ListClusterKubeconfigStatesResponseBodyStatesCloudServiceRoles } from './ListClusterKubeconfigStatesResponseBody';
179
183
  export { ListClusterKubeconfigStatesResponseBodyStates } from './ListClusterKubeconfigStatesResponseBody';
180
184
  export { ListOperationPlansResponseBodyPlans } from './ListOperationPlansResponseBody';
181
185
  export { ListOperationPlansForRegionResponseBodyPlansStateReason } from './ListOperationPlansForRegionResponseBody';
@@ -207,6 +211,8 @@ export { ModifyNodePoolNodeConfigRequestRollingPolicy } from './ModifyNodePoolNo
207
211
  export { RepairClusterNodePoolRequestOperations } from './RepairClusterNodePoolRequest';
208
212
  export { ScaleOutClusterRequestWorkerDataDisks } from './ScaleOutClusterRequest';
209
213
  export { UnInstallClusterAddonsRequestAddons } from './UnInstallClusterAddonsRequest';
214
+ export { UpdateNodePoolComponentRequestConfig } from './UpdateNodePoolComponentRequest';
215
+ export { UpdateNodePoolComponentRequestRollingPolicy } from './UpdateNodePoolComponentRequest';
210
216
  export { UpdateUserPermissionsRequestBody } from './UpdateUserPermissionsRequest';
211
217
  export { UpgradeClusterRequestRollingPolicy } from './UpgradeClusterRequest';
212
218
  export { UpgradeClusterAddonsRequestBody } from './UpgradeClusterAddonsRequest';
@@ -421,6 +427,9 @@ export { GrantPermissionsResponse } from './GrantPermissionsResponse';
421
427
  export { InstallClusterAddonsRequest } from './InstallClusterAddonsRequest';
422
428
  export { InstallClusterAddonsResponseBody } from './InstallClusterAddonsResponseBody';
423
429
  export { InstallClusterAddonsResponse } from './InstallClusterAddonsResponse';
430
+ export { InstallNodePoolComponentsRequest } from './InstallNodePoolComponentsRequest';
431
+ export { InstallNodePoolComponentsResponseBody } from './InstallNodePoolComponentsResponseBody';
432
+ export { InstallNodePoolComponentsResponse } from './InstallNodePoolComponentsResponse';
424
433
  export { ListAddonsRequest } from './ListAddonsRequest';
425
434
  export { ListAddonsResponseBody } from './ListAddonsResponseBody';
426
435
  export { ListAddonsResponse } from './ListAddonsResponse';
@@ -535,6 +544,9 @@ export { UpdateControlPlaneLogResponseBody } from './UpdateControlPlaneLogRespon
535
544
  export { UpdateControlPlaneLogResponse } from './UpdateControlPlaneLogResponse';
536
545
  export { UpdateK8sClusterUserConfigExpireRequest } from './UpdateK8sClusterUserConfigExpireRequest';
537
546
  export { UpdateK8sClusterUserConfigExpireResponse } from './UpdateK8sClusterUserConfigExpireResponse';
547
+ export { UpdateNodePoolComponentRequest } from './UpdateNodePoolComponentRequest';
548
+ export { UpdateNodePoolComponentResponseBody } from './UpdateNodePoolComponentResponseBody';
549
+ export { UpdateNodePoolComponentResponse } from './UpdateNodePoolComponentResponse';
538
550
  export { UpdateResourcesDeleteProtectionRequest } from './UpdateResourcesDeleteProtectionRequest';
539
551
  export { UpdateResourcesDeleteProtectionResponseBody } from './UpdateResourcesDeleteProtectionResponseBody';
540
552
  export { UpdateResourcesDeleteProtectionResponse } from './UpdateResourcesDeleteProtectionResponse';