@alicloud/cs20151215 7.0.5 → 7.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.
Files changed (77) hide show
  1. package/dist/client.d.ts +90 -0
  2. package/dist/client.js +271 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +100 -0
  5. package/dist/models/CreateNodePoolComponentInstancesRequest.js +144 -0
  6. package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -0
  7. package/dist/models/CreateNodePoolComponentInstancesResponse.d.ts +19 -0
  8. package/dist/models/CreateNodePoolComponentInstancesResponse.js +69 -0
  9. package/dist/models/CreateNodePoolComponentInstancesResponse.js.map +1 -0
  10. package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +28 -0
  11. package/dist/models/CreateNodePoolComponentInstancesResponseBody.js +62 -0
  12. package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -0
  13. package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +38 -0
  14. package/dist/models/DeleteNodePoolComponentInstanceRequest.js +69 -0
  15. package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -0
  16. package/dist/models/DeleteNodePoolComponentInstanceResponse.d.ts +19 -0
  17. package/dist/models/DeleteNodePoolComponentInstanceResponse.js +69 -0
  18. package/dist/models/DeleteNodePoolComponentInstanceResponse.js.map +1 -0
  19. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +28 -0
  20. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js +62 -0
  21. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -0
  22. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +38 -0
  23. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js +66 -0
  24. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -0
  25. package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +23 -0
  26. package/dist/models/ListNodePoolComponentInstancesRequest.js +60 -0
  27. package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -0
  28. package/dist/models/ListNodePoolComponentInstancesResponse.d.ts +19 -0
  29. package/dist/models/ListNodePoolComponentInstancesResponse.js +69 -0
  30. package/dist/models/ListNodePoolComponentInstancesResponse.js.map +1 -0
  31. package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +76 -0
  32. package/dist/models/ListNodePoolComponentInstancesResponseBody.js +117 -0
  33. package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -0
  34. package/dist/models/ListNodePoolComponentsRequest.d.ts +48 -0
  35. package/dist/models/ListNodePoolComponentsRequest.js +73 -0
  36. package/dist/models/ListNodePoolComponentsRequest.js.map +1 -0
  37. package/dist/models/ListNodePoolComponentsResponse.d.ts +19 -0
  38. package/dist/models/ListNodePoolComponentsResponse.js +69 -0
  39. package/dist/models/ListNodePoolComponentsResponse.js.map +1 -0
  40. package/dist/models/ListNodePoolComponentsResponseBody.d.ts +51 -0
  41. package/dist/models/ListNodePoolComponentsResponseBody.js +88 -0
  42. package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -0
  43. package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +48 -0
  44. package/dist/models/ListNodePoolComponentsShrinkRequest.js +70 -0
  45. package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -0
  46. package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +77 -0
  47. package/dist/models/UpdateNodePoolComponentInstanceRequest.js +122 -0
  48. package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -0
  49. package/dist/models/UpdateNodePoolComponentInstanceResponse.d.ts +19 -0
  50. package/dist/models/UpdateNodePoolComponentInstanceResponse.js +69 -0
  51. package/dist/models/UpdateNodePoolComponentInstanceResponse.js.map +1 -0
  52. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +28 -0
  53. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js +62 -0
  54. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -0
  55. package/dist/models/model.d.ts +25 -0
  56. package/dist/models/model.js +63 -12
  57. package/dist/models/model.js.map +1 -1
  58. package/package.json +1 -1
  59. package/src/client.ts +305 -0
  60. package/src/models/CreateNodePoolComponentInstancesRequest.ts +170 -0
  61. package/src/models/CreateNodePoolComponentInstancesResponse.ts +40 -0
  62. package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +45 -0
  63. package/src/models/DeleteNodePoolComponentInstanceRequest.ts +62 -0
  64. package/src/models/DeleteNodePoolComponentInstanceResponse.ts +40 -0
  65. package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +45 -0
  66. package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +59 -0
  67. package/src/models/ListNodePoolComponentInstancesRequest.ts +38 -0
  68. package/src/models/ListNodePoolComponentInstancesResponse.ts +40 -0
  69. package/src/models/ListNodePoolComponentInstancesResponseBody.ts +128 -0
  70. package/src/models/ListNodePoolComponentsRequest.ts +76 -0
  71. package/src/models/ListNodePoolComponentsResponse.ts +40 -0
  72. package/src/models/ListNodePoolComponentsResponseBody.ts +85 -0
  73. package/src/models/ListNodePoolComponentsShrinkRequest.ts +73 -0
  74. package/src/models/UpdateNodePoolComponentInstanceRequest.ts +134 -0
  75. package/src/models/UpdateNodePoolComponentInstanceResponse.ts +40 -0
  76. package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +45 -0
  77. package/src/models/model.ts +25 -0
@@ -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 DeleteNodePoolComponentInstanceResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * c846d7d529e34413c9ab1****
9
+ */
10
+ clusterId?: string;
11
+ /**
12
+ * @example
13
+ * EB022AB1-4CF7-5BB6-B44A-38****
14
+ */
15
+ requestId?: string;
16
+ /**
17
+ * @example
18
+ * T-696de321273bb00****
19
+ */
20
+ taskId?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ clusterId: 'cluster_id',
24
+ requestId: 'request_id',
25
+ taskId: 'task_id',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ clusterId: 'string',
32
+ requestId: 'string',
33
+ taskId: '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,59 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteNodePoolComponentInstanceShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 10
9
+ */
10
+ batchInterval?: number;
11
+ /**
12
+ * @example
13
+ * 0
14
+ */
15
+ maxFailedNodes?: number;
16
+ /**
17
+ * @example
18
+ * 1
19
+ */
20
+ maxParallelism?: number;
21
+ /**
22
+ * @example
23
+ * ["cn-hangzhou.10.91.xx.xx"]
24
+ */
25
+ nodeNamesShrink?: string;
26
+ /**
27
+ * @example
28
+ * NotPause
29
+ */
30
+ pausePolicy?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ batchInterval: 'batch_interval',
34
+ maxFailedNodes: 'max_failed_nodes',
35
+ maxParallelism: 'max_parallelism',
36
+ nodeNamesShrink: 'node_names',
37
+ pausePolicy: 'pause_policy',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ batchInterval: 'number',
44
+ maxFailedNodes: 'number',
45
+ maxParallelism: 'number',
46
+ nodeNamesShrink: 'string',
47
+ pausePolicy: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
@@ -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 ListNodePoolComponentInstancesRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 10
9
+ */
10
+ maxResults?: number;
11
+ /**
12
+ * @example
13
+ * 5c0a1c0f91c14c6****
14
+ */
15
+ nextToken?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ maxResults: 'max_results',
19
+ nextToken: 'next_token',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ maxResults: 'number',
26
+ nextToken: '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 { ListNodePoolComponentInstancesResponseBody } from "./ListNodePoolComponentInstancesResponseBody";
4
+
5
+
6
+ export class ListNodePoolComponentInstancesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListNodePoolComponentInstancesResponseBody;
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: ListNodePoolComponentInstancesResponseBody,
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,128 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListNodePoolComponentInstancesResponseBodyComponentInstancesConfig extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * {"cpuManagerPolicy":"static"}
9
+ */
10
+ customConfig?: { [key: string]: any };
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ customConfig: 'custom_config',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ if(this.customConfig) {
25
+ $dara.Model.validateMap(this.customConfig);
26
+ }
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
35
+ export class ListNodePoolComponentInstancesResponseBodyComponentInstances extends $dara.Model {
36
+ config?: ListNodePoolComponentInstancesResponseBodyComponentInstancesConfig;
37
+ /**
38
+ * @example
39
+ * 1
40
+ */
41
+ configRevision?: string;
42
+ /**
43
+ * @example
44
+ * kubelet
45
+ */
46
+ name?: string;
47
+ /**
48
+ * @example
49
+ * active
50
+ */
51
+ state?: string;
52
+ /**
53
+ * @example
54
+ * 1.33.3-aliyun.1
55
+ */
56
+ version?: string;
57
+ static names(): { [key: string]: string } {
58
+ return {
59
+ config: 'config',
60
+ configRevision: 'config_revision',
61
+ name: 'name',
62
+ state: 'state',
63
+ version: 'version',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ config: ListNodePoolComponentInstancesResponseBodyComponentInstancesConfig,
70
+ configRevision: 'string',
71
+ name: 'string',
72
+ state: 'string',
73
+ version: 'string',
74
+ };
75
+ }
76
+
77
+ validate() {
78
+ if(this.config && typeof (this.config as any).validate === 'function') {
79
+ (this.config as any).validate();
80
+ }
81
+ super.validate();
82
+ }
83
+
84
+ constructor(map?: { [key: string]: any }) {
85
+ super(map);
86
+ }
87
+ }
88
+
89
+ export class ListNodePoolComponentInstancesResponseBody extends $dara.Model {
90
+ componentInstances?: ListNodePoolComponentInstancesResponseBodyComponentInstances[];
91
+ /**
92
+ * @example
93
+ * 10
94
+ */
95
+ maxResults?: number;
96
+ /**
97
+ * @example
98
+ * 5c0a1c0f91c14c6****
99
+ */
100
+ nextToken?: string;
101
+ static names(): { [key: string]: string } {
102
+ return {
103
+ componentInstances: 'component_instances',
104
+ maxResults: 'max_results',
105
+ nextToken: 'next_token',
106
+ };
107
+ }
108
+
109
+ static types(): { [key: string]: any } {
110
+ return {
111
+ componentInstances: { 'type': 'array', 'itemType': ListNodePoolComponentInstancesResponseBodyComponentInstances },
112
+ maxResults: 'number',
113
+ nextToken: 'string',
114
+ };
115
+ }
116
+
117
+ validate() {
118
+ if(Array.isArray(this.componentInstances)) {
119
+ $dara.Model.validateArray(this.componentInstances);
120
+ }
121
+ super.validate();
122
+ }
123
+
124
+ constructor(map?: { [key: string]: any }) {
125
+ super(map);
126
+ }
127
+ }
128
+
@@ -0,0 +1,76 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListNodePoolComponentsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * aliyun_3_x64_20G_container_optimized_alibase_20250629.vhd
9
+ */
10
+ imageId?: string;
11
+ /**
12
+ * @example
13
+ * AliyunLinux3
14
+ */
15
+ imageType?: string;
16
+ /**
17
+ * @example
18
+ * ["ecs.c6.xlarge"]
19
+ */
20
+ instanceTypes?: string[];
21
+ /**
22
+ * @example
23
+ * 10
24
+ */
25
+ maxResults?: number;
26
+ /**
27
+ * @example
28
+ * 5c0a1c0f91c14c6****
29
+ */
30
+ nextToken?: string;
31
+ /**
32
+ * @example
33
+ * np1855b102ac434f5990d87b77a****
34
+ */
35
+ nodepoolId?: string;
36
+ /**
37
+ * @example
38
+ * ess
39
+ */
40
+ nodepoolType?: string;
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ imageId: 'image_id',
44
+ imageType: 'image_type',
45
+ instanceTypes: 'instance_types',
46
+ maxResults: 'max_results',
47
+ nextToken: 'next_token',
48
+ nodepoolId: 'nodepool_id',
49
+ nodepoolType: 'nodepool_type',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ imageId: 'string',
56
+ imageType: 'string',
57
+ instanceTypes: { 'type': 'array', 'itemType': 'string' },
58
+ maxResults: 'number',
59
+ nextToken: 'string',
60
+ nodepoolId: 'string',
61
+ nodepoolType: 'string',
62
+ };
63
+ }
64
+
65
+ validate() {
66
+ if(Array.isArray(this.instanceTypes)) {
67
+ $dara.Model.validateArray(this.instanceTypes);
68
+ }
69
+ super.validate();
70
+ }
71
+
72
+ constructor(map?: { [key: string]: any }) {
73
+ super(map);
74
+ }
75
+ }
76
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListNodePoolComponentsResponseBody } from "./ListNodePoolComponentsResponseBody";
4
+
5
+
6
+ export class ListNodePoolComponentsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListNodePoolComponentsResponseBody;
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: ListNodePoolComponentsResponseBody,
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,85 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListNodePoolComponentsResponseBodyComponents extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * "{\\"$schema\\": \\"\\",\\"properties\\": {}"
9
+ */
10
+ configSchema?: string;
11
+ /**
12
+ * @example
13
+ * kubelet
14
+ */
15
+ name?: string;
16
+ /**
17
+ * @example
18
+ * 1.28.9-aliyun.1
19
+ */
20
+ version?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ configSchema: 'config_schema',
24
+ name: 'name',
25
+ version: 'version',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ configSchema: 'string',
32
+ name: 'string',
33
+ version: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
46
+ export class ListNodePoolComponentsResponseBody extends $dara.Model {
47
+ components?: ListNodePoolComponentsResponseBodyComponents[];
48
+ /**
49
+ * @example
50
+ * 10
51
+ */
52
+ maxResults?: number;
53
+ /**
54
+ * @example
55
+ * 5c0a1c0f91c14c6****
56
+ */
57
+ nextToken?: string;
58
+ static names(): { [key: string]: string } {
59
+ return {
60
+ components: 'components',
61
+ maxResults: 'max_results',
62
+ nextToken: 'next_token',
63
+ };
64
+ }
65
+
66
+ static types(): { [key: string]: any } {
67
+ return {
68
+ components: { 'type': 'array', 'itemType': ListNodePoolComponentsResponseBodyComponents },
69
+ maxResults: 'number',
70
+ nextToken: 'string',
71
+ };
72
+ }
73
+
74
+ validate() {
75
+ if(Array.isArray(this.components)) {
76
+ $dara.Model.validateArray(this.components);
77
+ }
78
+ super.validate();
79
+ }
80
+
81
+ constructor(map?: { [key: string]: any }) {
82
+ super(map);
83
+ }
84
+ }
85
+
@@ -0,0 +1,73 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListNodePoolComponentsShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * aliyun_3_x64_20G_container_optimized_alibase_20250629.vhd
9
+ */
10
+ imageId?: string;
11
+ /**
12
+ * @example
13
+ * AliyunLinux3
14
+ */
15
+ imageType?: string;
16
+ /**
17
+ * @example
18
+ * ["ecs.c6.xlarge"]
19
+ */
20
+ instanceTypesShrink?: string;
21
+ /**
22
+ * @example
23
+ * 10
24
+ */
25
+ maxResults?: number;
26
+ /**
27
+ * @example
28
+ * 5c0a1c0f91c14c6****
29
+ */
30
+ nextToken?: string;
31
+ /**
32
+ * @example
33
+ * np1855b102ac434f5990d87b77a****
34
+ */
35
+ nodepoolId?: string;
36
+ /**
37
+ * @example
38
+ * ess
39
+ */
40
+ nodepoolType?: string;
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ imageId: 'image_id',
44
+ imageType: 'image_type',
45
+ instanceTypesShrink: 'instance_types',
46
+ maxResults: 'max_results',
47
+ nextToken: 'next_token',
48
+ nodepoolId: 'nodepool_id',
49
+ nodepoolType: 'nodepool_type',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ imageId: 'string',
56
+ imageType: 'string',
57
+ instanceTypesShrink: 'string',
58
+ maxResults: 'number',
59
+ nextToken: 'string',
60
+ nodepoolId: 'string',
61
+ nodepoolType: 'string',
62
+ };
63
+ }
64
+
65
+ validate() {
66
+ super.validate();
67
+ }
68
+
69
+ constructor(map?: { [key: string]: any }) {
70
+ super(map);
71
+ }
72
+ }
73
+