@alicloud/cs20151215 7.2.4 → 7.2.5
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.
- package/dist/client.d.ts +22 -22
- package/dist/client.js +31 -22
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +214 -163
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +5 -0
- package/dist/models/CreateClusterRequest.js +2 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -1
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +5 -0
- package/dist/models/DescribeClusterDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +172 -176
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +5 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js +2 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +5 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js +2 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +60 -50
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js +20 -16
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +2 -2
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +210 -235
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +5 -0
- package/dist/models/ModifyClusterRequest.js +2 -0
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +6 -5
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +6 -5
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +34 -22
- package/src/models/CreateClusterNodePoolRequest.ts +214 -163
- package/src/models/CreateClusterRequest.ts +7 -0
- package/src/models/DeleteClusterNodepoolRequest.ts +3 -1
- package/src/models/DescribeClusterDetailResponseBody.ts +7 -0
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +172 -176
- package/src/models/DescribeClustersForRegionResponseBody.ts +7 -0
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +7 -0
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +80 -66
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +1 -1
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +2 -2
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +210 -235
- package/src/models/ModifyClusterRequest.ts +7 -0
- package/src/models/RemoveNodePoolNodesRequest.ts +6 -5
- package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +6 -5
|
@@ -201,6 +201,11 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
201
201
|
* running
|
|
202
202
|
*/
|
|
203
203
|
state?: string;
|
|
204
|
+
/**
|
|
205
|
+
* @example
|
|
206
|
+
* Extended
|
|
207
|
+
*/
|
|
208
|
+
supportPolicy?: string;
|
|
204
209
|
/**
|
|
205
210
|
* @remarks
|
|
206
211
|
* The list of tags for the cluster.
|
|
@@ -257,6 +262,7 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
257
262
|
serviceCidr: 'service_cidr',
|
|
258
263
|
size: 'size',
|
|
259
264
|
state: 'state',
|
|
265
|
+
supportPolicy: 'support_policy',
|
|
260
266
|
tags: 'tags',
|
|
261
267
|
timezone: 'timezone',
|
|
262
268
|
updated: 'updated',
|
|
@@ -287,6 +293,7 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
287
293
|
serviceCidr: 'string',
|
|
288
294
|
size: 'number',
|
|
289
295
|
state: 'string',
|
|
296
|
+
supportPolicy: 'string',
|
|
290
297
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
291
298
|
timezone: 'string',
|
|
292
299
|
updated: 'string',
|
|
@@ -76,6 +76,11 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
76
76
|
* cn-beijing
|
|
77
77
|
*/
|
|
78
78
|
region?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* Extended
|
|
82
|
+
*/
|
|
83
|
+
supportPolicy?: string;
|
|
79
84
|
/**
|
|
80
85
|
* @remarks
|
|
81
86
|
* The runtime type. You can specify a runtime type to filter system images supported by the runtime. Valid values:
|
|
@@ -100,6 +105,7 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
100
105
|
profile: 'Profile',
|
|
101
106
|
queryUpgradableVersion: 'QueryUpgradableVersion',
|
|
102
107
|
region: 'Region',
|
|
108
|
+
supportPolicy: 'SupportPolicy',
|
|
103
109
|
runtime: 'runtime',
|
|
104
110
|
};
|
|
105
111
|
}
|
|
@@ -112,6 +118,7 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
112
118
|
profile: 'string',
|
|
113
119
|
queryUpgradableVersion: 'boolean',
|
|
114
120
|
region: 'string',
|
|
121
|
+
supportPolicy: 'string',
|
|
115
122
|
runtime: 'string',
|
|
116
123
|
};
|
|
117
124
|
}
|
|
@@ -6,40 +6,41 @@ import { Runtime } from "./Runtime";
|
|
|
6
6
|
export class DescribeKubernetesVersionMetadataResponseBodyImages extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The image
|
|
9
|
+
* The image architecture.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
|
-
*
|
|
12
|
+
* x86_64
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
architecture?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The image
|
|
17
|
+
* The image category. Some valid values:
|
|
18
|
+
*
|
|
19
|
+
* - `system`: public images.
|
|
20
|
+
* - `self`: your custom images.
|
|
21
|
+
* - `others`: public images from other users.
|
|
22
|
+
* - `marketplace`: Alibaba Cloud Marketplace images.
|
|
18
23
|
*
|
|
19
24
|
* @example
|
|
20
|
-
*
|
|
25
|
+
* system
|
|
21
26
|
*/
|
|
22
|
-
|
|
27
|
+
imageCategory?: string;
|
|
23
28
|
/**
|
|
24
29
|
* @remarks
|
|
25
|
-
* The
|
|
26
|
-
* - `AliyunLinux`
|
|
27
|
-
* - `CentOS`
|
|
28
|
-
* - `Windows`
|
|
29
|
-
* - `WindowsCore`
|
|
30
|
+
* The image ID.
|
|
30
31
|
*
|
|
31
32
|
* @example
|
|
32
|
-
*
|
|
33
|
+
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
33
34
|
*/
|
|
34
|
-
|
|
35
|
+
imageId?: string;
|
|
35
36
|
/**
|
|
36
37
|
* @remarks
|
|
37
|
-
* The image
|
|
38
|
+
* The image name.
|
|
38
39
|
*
|
|
39
40
|
* @example
|
|
40
|
-
* 3.2104
|
|
41
|
+
* Alibaba Cloud Linux 3.2104
|
|
41
42
|
*/
|
|
42
|
-
|
|
43
|
+
imageName?: string;
|
|
43
44
|
/**
|
|
44
45
|
* @remarks
|
|
45
46
|
* The operating system distribution type. Use this field to specify the operating system for nodes. Valid values:
|
|
@@ -71,48 +72,47 @@ export class DescribeKubernetesVersionMetadataResponseBodyImages extends $dara.M
|
|
|
71
72
|
osType?: string;
|
|
72
73
|
/**
|
|
73
74
|
* @remarks
|
|
74
|
-
* The image
|
|
75
|
-
*
|
|
76
|
-
* - `system`: public images.
|
|
77
|
-
* - `self`: your custom images.
|
|
78
|
-
* - `others`: public images from other users.
|
|
79
|
-
* - `marketplace`: Alibaba Cloud Marketplace images.
|
|
75
|
+
* The image version.
|
|
80
76
|
*
|
|
81
77
|
* @example
|
|
82
|
-
*
|
|
78
|
+
* 3.2104
|
|
83
79
|
*/
|
|
84
|
-
|
|
80
|
+
osVersion?: string;
|
|
85
81
|
/**
|
|
86
82
|
* @remarks
|
|
87
|
-
* The
|
|
83
|
+
* The operating system platform. Valid values:
|
|
84
|
+
* - `AliyunLinux`
|
|
85
|
+
* - `CentOS`
|
|
86
|
+
* - `Windows`
|
|
87
|
+
* - `WindowsCore`
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
|
-
*
|
|
90
|
+
* AliyunLinux
|
|
91
91
|
*/
|
|
92
|
-
|
|
92
|
+
platform?: string;
|
|
93
93
|
static names(): { [key: string]: string } {
|
|
94
94
|
return {
|
|
95
|
+
architecture: 'architecture',
|
|
96
|
+
imageCategory: 'image_category',
|
|
95
97
|
imageId: 'image_id',
|
|
96
98
|
imageName: 'image_name',
|
|
97
|
-
platform: 'platform',
|
|
98
|
-
osVersion: 'os_version',
|
|
99
99
|
imageType: 'image_type',
|
|
100
100
|
osType: 'os_type',
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
osVersion: 'os_version',
|
|
102
|
+
platform: 'platform',
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
static types(): { [key: string]: any } {
|
|
107
107
|
return {
|
|
108
|
+
architecture: 'string',
|
|
109
|
+
imageCategory: 'string',
|
|
108
110
|
imageId: 'string',
|
|
109
111
|
imageName: 'string',
|
|
110
|
-
platform: 'string',
|
|
111
|
-
osVersion: 'string',
|
|
112
112
|
imageType: 'string',
|
|
113
113
|
osType: 'string',
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
osVersion: 'string',
|
|
115
|
+
platform: 'string',
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
118
|
|
|
@@ -137,6 +137,27 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $dara.Model {
|
|
|
137
137
|
* }
|
|
138
138
|
*/
|
|
139
139
|
capabilities?: { [key: string]: any };
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* Indicates whether the Kubernetes version can be created.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* true
|
|
146
|
+
*/
|
|
147
|
+
creatable?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* The expiration time of the Kubernetes version. The time is in ISO 8601 format and includes time zone information.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* 2026-01-30T00:00:00Z
|
|
154
|
+
*/
|
|
155
|
+
expirationDate?: string;
|
|
156
|
+
/**
|
|
157
|
+
* @example
|
|
158
|
+
* 2026-04-30T00:00:00Z
|
|
159
|
+
*/
|
|
160
|
+
extendedExpirationDate?: string;
|
|
140
161
|
/**
|
|
141
162
|
* @remarks
|
|
142
163
|
* The list of system images.
|
|
@@ -154,19 +175,6 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $dara.Model {
|
|
|
154
175
|
* }
|
|
155
176
|
*/
|
|
156
177
|
metaData?: { [key: string]: any };
|
|
157
|
-
/**
|
|
158
|
-
* @remarks
|
|
159
|
-
* The container runtime configurations.
|
|
160
|
-
*/
|
|
161
|
-
runtimes?: Runtime[];
|
|
162
|
-
/**
|
|
163
|
-
* @remarks
|
|
164
|
-
* The Kubernetes version released by ACK. For more information about versions, see [Overview of Kubernetes version releases](https://help.aliyun.com/document_detail/185269.html).
|
|
165
|
-
*
|
|
166
|
-
* @example
|
|
167
|
-
* 1.31.1-aliyun.1
|
|
168
|
-
*/
|
|
169
|
-
version?: string;
|
|
170
178
|
/**
|
|
171
179
|
* @remarks
|
|
172
180
|
* The release time of the Kubernetes version. The time is in ISO 8601 format and includes time zone information.
|
|
@@ -177,50 +185,56 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $dara.Model {
|
|
|
177
185
|
releaseDate?: string;
|
|
178
186
|
/**
|
|
179
187
|
* @remarks
|
|
180
|
-
* The
|
|
181
|
-
*
|
|
182
|
-
* @example
|
|
183
|
-
* 2026-01-30T00:00:00Z
|
|
188
|
+
* The container runtime configurations.
|
|
184
189
|
*/
|
|
185
|
-
|
|
190
|
+
runtimes?: Runtime[];
|
|
186
191
|
/**
|
|
187
|
-
* @remarks
|
|
188
|
-
* Indicates whether the Kubernetes version can be created.
|
|
189
|
-
*
|
|
190
192
|
* @example
|
|
191
|
-
*
|
|
193
|
+
* Extended
|
|
192
194
|
*/
|
|
193
|
-
|
|
195
|
+
supportPolicy?: string;
|
|
194
196
|
/**
|
|
195
197
|
* @remarks
|
|
196
198
|
* The list of upgradable versions.
|
|
197
199
|
*/
|
|
198
200
|
upgradableVersions?: string[];
|
|
201
|
+
/**
|
|
202
|
+
* @remarks
|
|
203
|
+
* The Kubernetes version released by ACK. For more information about versions, see [Overview of Kubernetes version releases](https://help.aliyun.com/document_detail/185269.html).
|
|
204
|
+
*
|
|
205
|
+
* @example
|
|
206
|
+
* 1.31.1-aliyun.1
|
|
207
|
+
*/
|
|
208
|
+
version?: string;
|
|
199
209
|
static names(): { [key: string]: string } {
|
|
200
210
|
return {
|
|
201
211
|
capabilities: 'capabilities',
|
|
212
|
+
creatable: 'creatable',
|
|
213
|
+
expirationDate: 'expiration_date',
|
|
214
|
+
extendedExpirationDate: 'extended_expiration_date',
|
|
202
215
|
images: 'images',
|
|
203
216
|
metaData: 'meta_data',
|
|
204
|
-
runtimes: 'runtimes',
|
|
205
|
-
version: 'version',
|
|
206
217
|
releaseDate: 'release_date',
|
|
207
|
-
|
|
208
|
-
|
|
218
|
+
runtimes: 'runtimes',
|
|
219
|
+
supportPolicy: 'support_policy',
|
|
209
220
|
upgradableVersions: 'upgradable_versions',
|
|
221
|
+
version: 'version',
|
|
210
222
|
};
|
|
211
223
|
}
|
|
212
224
|
|
|
213
225
|
static types(): { [key: string]: any } {
|
|
214
226
|
return {
|
|
215
227
|
capabilities: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
228
|
+
creatable: 'boolean',
|
|
229
|
+
expirationDate: 'string',
|
|
230
|
+
extendedExpirationDate: 'string',
|
|
216
231
|
images: { 'type': 'array', 'itemType': DescribeKubernetesVersionMetadataResponseBodyImages },
|
|
217
232
|
metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
218
|
-
runtimes: { 'type': 'array', 'itemType': Runtime },
|
|
219
|
-
version: 'string',
|
|
220
233
|
releaseDate: 'string',
|
|
221
|
-
|
|
222
|
-
|
|
234
|
+
runtimes: { 'type': 'array', 'itemType': Runtime },
|
|
235
|
+
supportPolicy: 'string',
|
|
223
236
|
upgradableVersions: { 'type': 'array', 'itemType': 'string' },
|
|
237
|
+
version: 'string',
|
|
224
238
|
};
|
|
225
239
|
}
|
|
226
240
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListNodePoolComponentInstanceNodesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Filters nodes by the specified configuration
|
|
8
|
+
* Filters nodes by the specified configuration revision of the node component.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1
|
|
@@ -40,7 +40,7 @@ export class ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent ext
|
|
|
40
40
|
config?: ListNodePoolComponentInstanceNodesResponseBodyNodeListComponentConfig;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The custom configuration
|
|
43
|
+
* The custom configuration revision of the component on the node.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* 1
|
|
@@ -95,7 +95,7 @@ export class ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent ext
|
|
|
95
95
|
export class ListNodePoolComponentInstanceNodesResponseBodyNodeList extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The
|
|
98
|
+
* The detailed information about the component on the node.
|
|
99
99
|
*/
|
|
100
100
|
component?: ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent;
|
|
101
101
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListNodePoolComponentInstanceNodesShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Filters nodes by the specified configuration
|
|
8
|
+
* Filters nodes by the specified configuration revision of the node component.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1
|