@alicloud/cs20151215 7.2.4 → 7.2.6
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 +88 -88
- package/dist/client.js +107 -88
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +3 -13
- package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +2 -2
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +2 -2
- package/dist/models/CreateClusterNodePoolRequest.d.ts +214 -163
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +310 -392
- 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/DeleteClusterNodesRequest.d.ts +15 -7
- package/dist/models/DeleteClusterNodesRequest.js +2 -0
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +9 -17
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +85 -77
- 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/DescribeClustersForRegionRequest.d.ts +14 -14
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +23 -12
- package/dist/models/DescribeClustersForRegionResponseBody.js +2 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +27 -15
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js +2 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +70 -54
- 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/ListUserKubeConfigStatesRequest.d.ts +3 -3
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +4 -5
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +210 -235
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +111 -99
- package/dist/models/ModifyClusterRequest.js +2 -0
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +19 -11
- package/dist/models/RemoveNodePoolNodesRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +19 -11
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +4 -3
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +22 -22
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +112 -88
- package/src/models/AttachInstancesToNodePoolRequest.ts +3 -13
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -1
- package/src/models/CleanUserPermissionsRequest.ts +2 -2
- package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
- package/src/models/CreateClusterNodePoolRequest.ts +214 -163
- package/src/models/CreateClusterRequest.ts +312 -392
- package/src/models/DeleteClusterNodepoolRequest.ts +3 -1
- package/src/models/DeleteClusterNodesRequest.ts +17 -7
- package/src/models/DescribeClusterAttachScriptsRequest.ts +9 -17
- package/src/models/DescribeClusterDetailResponseBody.ts +87 -77
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +172 -176
- package/src/models/DescribeClustersForRegionRequest.ts +14 -14
- package/src/models/DescribeClustersForRegionResponseBody.ts +25 -12
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +29 -15
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +90 -70
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +1 -1
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +2 -2
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +1 -1
- package/src/models/ListUserKubeConfigStatesRequest.ts +3 -3
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +4 -5
- package/src/models/ModifyClusterNodePoolRequest.ts +210 -235
- package/src/models/ModifyClusterRequest.ts +113 -99
- package/src/models/ModifyClusterResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesRequest.ts +21 -11
- package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +21 -11
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +4 -3
- package/src/models/UpdateUserPermissionsRequest.ts +22 -22
|
@@ -13,17 +13,17 @@ export class DescribeClustersForRegionRequest extends $dara.Model {
|
|
|
13
13
|
clusterId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The cluster specification. Valid values:
|
|
17
17
|
*
|
|
18
|
-
* - `ack.standard`: Basic
|
|
19
|
-
* - `ack.pro.small`: Pro
|
|
20
|
-
* - `ack.pro.xlarge`: Pro XL
|
|
21
|
-
* - `ack.pro.2xlarge`: Pro 2XL
|
|
22
|
-
* - `ack.pro.4xlarge`: Pro 4XL (requires
|
|
18
|
+
* - `ack.standard`: Basic
|
|
19
|
+
* - `ack.pro.small`: Pro
|
|
20
|
+
* - `ack.pro.xlarge`: Pro XL
|
|
21
|
+
* - `ack.pro.2xlarge`: Pro 2XL
|
|
22
|
+
* - `ack.pro.4xlarge`: Pro 4XL (requires contacting customer service to apply for whitelist access)
|
|
23
23
|
*
|
|
24
|
-
* Pro XL, Pro 2XL, and Pro 4XL are the three tiers provided by <props="china">[ACK Pro provisioned control plane](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane)<props="intl">[ACK Pro provisioned control plane](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane). By pre-allocating and dedicating control plane resources, these tiers ensure that API concurrency and pod scheduling capabilities remain
|
|
24
|
+
* Pro XL, Pro 2XL, and Pro 4XL are the three tiers provided by the <props="china">[ACK Pro provisioned control plane](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane)<props="intl">[ACK Pro provisioned control plane](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane). By pre-allocating and dedicating control plane resources, these tiers ensure that API concurrency and pod scheduling capabilities remain at a consistently high level. They are suitable for AI training and inference, ultra-large-scale clusters, and mission-critical workloads.
|
|
25
25
|
*
|
|
26
|
-
* For cluster management fees of the Pro edition and provisioned control plane editions,
|
|
26
|
+
* For the cluster management fees of the Pro edition and provisioned control plane editions, see <props="china">[Cluster management fees](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee)<props="intl">[Cluster management fees](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee).
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* ack.standard
|
|
@@ -31,10 +31,10 @@ export class DescribeClustersForRegionRequest extends $dara.Model {
|
|
|
31
31
|
clusterSpec?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
*
|
|
35
|
-
* - Kubernetes: ACK dedicated
|
|
34
|
+
* The cluster type. Valid values:
|
|
35
|
+
* - Kubernetes: ACK dedicated cluster.
|
|
36
36
|
* - ManagedKubernetes: ACK managed clusters, including ACK managed clusters (ACK Pro and ACK Basic), ACK Serverless clusters (Pro and Basic), ACK Edge clusters (Pro and Basic), and ACK Lingjun clusters (Pro).
|
|
37
|
-
* - ExternalKubernetes: registered
|
|
37
|
+
* - ExternalKubernetes: registered cluster.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* Kubernetes
|
|
@@ -42,7 +42,7 @@ export class DescribeClustersForRegionRequest extends $dara.Model {
|
|
|
42
42
|
clusterType?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
*
|
|
45
|
+
* The cluster name for fuzzy match.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* test-cluster
|
|
@@ -66,11 +66,11 @@ export class DescribeClustersForRegionRequest extends $dara.Model {
|
|
|
66
66
|
pageSize?: number;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
*
|
|
69
|
+
* The cluster profile used to query clusters of a specified subtype. Valid values:
|
|
70
70
|
* - Default: ACK managed clusters, including ACK Pro and ACK Basic.
|
|
71
71
|
* - Edge: ACK Edge clusters, including ACK Edge Pro and ACK Edge Basic.
|
|
72
72
|
* - Serverless: ACK Serverless clusters, including ACK Serverless Pro and ACK Serverless Basic.
|
|
73
|
-
* - LingJun: ACK Lingjun clusters, available
|
|
73
|
+
* - LingJun: ACK Lingjun clusters, available in the Pro edition.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* Serverless
|
|
@@ -28,9 +28,9 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
28
28
|
* - `ack.pro.small`: Pro Edition.
|
|
29
29
|
* - `ack.pro.xlarge`: Pro XL.
|
|
30
30
|
* - `ack.pro.2xlarge`: Pro 2XL.
|
|
31
|
-
* - `ack.pro.4xlarge`: Pro 4XL. To use this specification,
|
|
31
|
+
* - `ack.pro.4xlarge`: Pro 4XL. To use this specification, you must contact customer service to apply for whitelist access.
|
|
32
32
|
*
|
|
33
|
-
* Pro XL, Pro 2XL, and Pro 4XL are the three tiers provided by the <props="china">[ACK Pro provisioned control plane](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane)<props="intl">[ACK Pro provisioned control plane](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane).
|
|
33
|
+
* Pro XL, Pro 2XL, and Pro 4XL are the three tiers provided by the <props="china">[ACK Pro provisioned control plane](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane)<props="intl">[ACK Pro provisioned control plane](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane). These tiers pre-allocate and reserve control plane resources to ensure that API concurrency and pod scheduling capabilities remain consistently high. They are suitable for AI training and inference, ultra-large-scale clusters, and mission-critical workloads.
|
|
34
34
|
*
|
|
35
35
|
* For more information about the cluster management fees for the Pro Edition and provisioned control plane editions, see <props="china">[Cluster management fees](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee)<props="intl">[Cluster management fees](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee).
|
|
36
36
|
*
|
|
@@ -40,9 +40,9 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
40
40
|
clusterSpec?: string;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The cluster
|
|
43
|
+
* The type of the cluster. Valid values:
|
|
44
44
|
* - Kubernetes: ACK dedicated cluster.
|
|
45
|
-
* - ManagedKubernetes: ACK managed
|
|
45
|
+
* - ManagedKubernetes: ACK managed cluster, including ACK managed clusters (Pro Edition and Basic Edition), ACK Serverless clusters (Pro Edition and Basic Edition), ACK Edge clusters (Pro Edition and Basic Edition), and ACK Lingjun clusters (Pro Edition).
|
|
46
46
|
* - ExternalKubernetes: registered cluster.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
@@ -118,10 +118,10 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
120
|
* The subtype of the cluster. Valid values:
|
|
121
|
-
* - Default: ACK managed
|
|
122
|
-
* - Edge: ACK Edge
|
|
123
|
-
* - Serverless: ACK Serverless
|
|
124
|
-
* - LingJun: ACK Lingjun
|
|
121
|
+
* - Default: ACK managed cluster, including ACK managed cluster Pro Edition and Basic Edition.
|
|
122
|
+
* - Edge: ACK Edge cluster, including ACK Edge cluster Pro Edition and Basic Edition.
|
|
123
|
+
* - Serverless: ACK Serverless cluster, including ACK Serverless cluster Pro Edition and Basic Edition.
|
|
124
|
+
* - LingJun: ACK Lingjun cluster, which provides only the Pro Edition.
|
|
125
125
|
*
|
|
126
126
|
* @example
|
|
127
127
|
* Default
|
|
@@ -129,7 +129,7 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
129
129
|
profile?: string;
|
|
130
130
|
/**
|
|
131
131
|
* @remarks
|
|
132
|
-
* The proxy mode of
|
|
132
|
+
* The kube-proxy mode of the cluster.
|
|
133
133
|
*
|
|
134
134
|
* @example
|
|
135
135
|
* ipvs
|
|
@@ -161,7 +161,7 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
161
161
|
securityGroupId?: string;
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
|
-
* The CIDR block for services.
|
|
164
|
+
* The CIDR block for services in the cluster.
|
|
165
165
|
*
|
|
166
166
|
* This parameter is required.
|
|
167
167
|
*
|
|
@@ -186,7 +186,7 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
186
186
|
* - `running`: The cluster is running.
|
|
187
187
|
* - `updating`: The cluster is being updated.
|
|
188
188
|
* - `upgrading`: The cluster is being upgraded.
|
|
189
|
-
* - `removing`: Nodes are being removed.
|
|
189
|
+
* - `removing`: Nodes are being removed from the cluster.
|
|
190
190
|
* - `draining`: Nodes are being drained.
|
|
191
191
|
* - `scaling`: The cluster is being scaled.
|
|
192
192
|
* - `inactive`: The cluster is inactive.
|
|
@@ -194,13 +194,24 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
194
194
|
* - `deleting`: The cluster is being deleted.
|
|
195
195
|
* - `deleted`: The cluster is deleted.
|
|
196
196
|
* - `delete_failed`: The cluster failed to be deleted.
|
|
197
|
-
* - `waiting`: The cluster is waiting
|
|
197
|
+
* - `waiting`: The cluster is waiting for the accessed state.
|
|
198
198
|
* - `disconnected`: The cluster is disconnected.
|
|
199
199
|
*
|
|
200
200
|
* @example
|
|
201
201
|
* running
|
|
202
202
|
*/
|
|
203
203
|
state?: string;
|
|
204
|
+
/**
|
|
205
|
+
* @remarks
|
|
206
|
+
* The version support policy of the cluster. The values are case-sensitive. Valid values:
|
|
207
|
+
* - Standard: standard support.
|
|
208
|
+
* - Extended: extended support. After the standard support period ends, the cluster enters the extended support period and continues to receive CVE patch updates.
|
|
209
|
+
* If this policy is not configured for an existing cluster, Standard is returned.
|
|
210
|
+
*
|
|
211
|
+
* @example
|
|
212
|
+
* Extended
|
|
213
|
+
*/
|
|
214
|
+
supportPolicy?: string;
|
|
204
215
|
/**
|
|
205
216
|
* @remarks
|
|
206
217
|
* The list of tags for the cluster.
|
|
@@ -257,6 +268,7 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
257
268
|
serviceCidr: 'service_cidr',
|
|
258
269
|
size: 'size',
|
|
259
270
|
state: 'state',
|
|
271
|
+
supportPolicy: 'support_policy',
|
|
260
272
|
tags: 'tags',
|
|
261
273
|
timezone: 'timezone',
|
|
262
274
|
updated: 'updated',
|
|
@@ -287,6 +299,7 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
287
299
|
serviceCidr: 'string',
|
|
288
300
|
size: 'number',
|
|
289
301
|
state: 'string',
|
|
302
|
+
supportPolicy: 'string',
|
|
290
303
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
291
304
|
timezone: 'string',
|
|
292
305
|
updated: 'string',
|
|
@@ -8,7 +8,7 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
8
8
|
* The cluster type. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* - `Kubernetes`: ACK dedicated cluster.
|
|
11
|
-
* - `ManagedKubernetes`: ACK managed cluster, including ACK Pro clusters, ACK
|
|
11
|
+
* - `ManagedKubernetes`: ACK managed cluster, including ACK Pro clusters, ACK Basic clusters, ACK Serverless Pro clusters, ACK Serverless Basic clusters, ACK Edge Pro clusters, and ACK Edge Basic clusters.
|
|
12
12
|
*
|
|
13
13
|
* This parameter is required.
|
|
14
14
|
*
|
|
@@ -18,7 +18,7 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
18
18
|
clusterType?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The Kubernetes version of the cluster
|
|
21
|
+
* The Kubernetes version of the cluster, which is consistent with the Kubernetes community baseline version. We recommend that you select the latest version. If you do not specify this parameter, the latest version is used by default.
|
|
22
22
|
*
|
|
23
23
|
* For more information about the Kubernetes versions supported by ACK, see [Overview of Kubernetes versions](https://help.aliyun.com/document_detail/185269.html).
|
|
24
24
|
*
|
|
@@ -29,13 +29,12 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
31
|
* The query mode. Valid values:
|
|
32
|
+
* - `supported`: queries supported versions.
|
|
33
|
+
* - `creatable`: queries versions available for cluster creation.
|
|
32
34
|
*
|
|
33
|
-
*
|
|
34
|
-
* - `creatable`: Versions available for cluster creation.
|
|
35
|
+
* If you specify KubernetesVersion, the query mode is ignored.
|
|
35
36
|
*
|
|
36
|
-
* If you specify
|
|
37
|
-
*
|
|
38
|
-
* If you do not specify a query mode, the system returns versions available for cluster creation by default.
|
|
37
|
+
* If you do not specify a query mode, versions available for cluster creation are returned by default.
|
|
39
38
|
*
|
|
40
39
|
* @example
|
|
41
40
|
* supported
|
|
@@ -43,10 +42,10 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
43
42
|
mode?: string;
|
|
44
43
|
/**
|
|
45
44
|
* @remarks
|
|
46
|
-
* The cluster profile. Valid values:
|
|
45
|
+
* The cluster profile used to differentiate cluster scenarios. Valid values:
|
|
47
46
|
*
|
|
48
|
-
* - `Default`:
|
|
49
|
-
* - `Edge`:
|
|
47
|
+
* - `Default`: non-edge cluster.
|
|
48
|
+
* - `Edge`: edge cluster.
|
|
50
49
|
* - `Serverless`: ASK cluster.
|
|
51
50
|
*
|
|
52
51
|
* Default value: `Default`.
|
|
@@ -59,8 +58,9 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
59
58
|
* @remarks
|
|
60
59
|
* Specifies whether to query the upgradable versions of the cluster version. This parameter takes effect only when the KubernetesVersion parameter is specified. Valid values:
|
|
61
60
|
*
|
|
62
|
-
* - true:
|
|
63
|
-
*
|
|
61
|
+
* - true: queries upgradable versions.
|
|
62
|
+
*
|
|
63
|
+
* - false: does not query upgradable versions.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* 1.30.1-aliyun.1
|
|
@@ -78,15 +78,27 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
78
78
|
region?: string;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The
|
|
81
|
+
* The version support policy. The value is case-sensitive. Valid values:
|
|
82
|
+
* - Standard: standard support. This is the default value.
|
|
83
|
+
* - Extended: extended support.
|
|
84
|
+
* If you set this parameter to Extended: when Mode is set to `supported`, versions in the extended support period are additionally returned; when Mode is set to `creatable`, the latest extended support patch version of the major version in the extended support period is additionally returned; upgradable_versions returns the extended support patch versions of the major version.
|
|
85
|
+
* Extended support applies only to ACK Pro managed clusters (where ClusterSpec is set to `ack.pro.*` and Profile is set to `Default`). Other cluster types (ACK Standard, ACS, ACK Edge managed, and ACK dedicated clusters) do not support extended support. If you specify a version in the extended support period to create or upgrade these clusters, the request will be rejected.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* Extended
|
|
89
|
+
*/
|
|
90
|
+
supportPolicy?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The runtime type. You can specify a runtime type to filter the system images supported by the runtime. Valid values:
|
|
82
94
|
*
|
|
83
95
|
* - `docker`: Docker runtime.
|
|
84
96
|
* - `containerd`: containerd runtime.
|
|
85
97
|
* - `Sandboxed-Container.runv`: sandboxed container.
|
|
86
98
|
*
|
|
87
|
-
* If you specify a runtime type, the
|
|
99
|
+
* If you specify a runtime type, the image versions supported by the specified runtime are returned.
|
|
88
100
|
*
|
|
89
|
-
* If you do not specify a runtime type,
|
|
101
|
+
* If you do not specify a runtime type, all images are returned by default.
|
|
90
102
|
*
|
|
91
103
|
* @example
|
|
92
104
|
* containerd
|
|
@@ -100,6 +112,7 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
100
112
|
profile: 'Profile',
|
|
101
113
|
queryUpgradableVersion: 'QueryUpgradableVersion',
|
|
102
114
|
region: 'Region',
|
|
115
|
+
supportPolicy: 'SupportPolicy',
|
|
103
116
|
runtime: 'runtime',
|
|
104
117
|
};
|
|
105
118
|
}
|
|
@@ -112,6 +125,7 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
112
125
|
profile: 'string',
|
|
113
126
|
queryUpgradableVersion: 'boolean',
|
|
114
127
|
region: 'string',
|
|
128
|
+
supportPolicy: 'string',
|
|
115
129
|
runtime: 'string',
|
|
116
130
|
};
|
|
117
131
|
}
|
|
@@ -6,44 +6,43 @@ import { Runtime } from "./Runtime";
|
|
|
6
6
|
export class DescribeKubernetesVersionMetadataResponseBodyImages extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The image
|
|
9
|
+
* The architecture of the image.
|
|
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 category of the image. Valid values:
|
|
18
|
+
* - `system`: public images
|
|
19
|
+
* - `self`: custom images
|
|
20
|
+
* - `others`: public images from other users
|
|
21
|
+
* - `marketplace`: marketplace images
|
|
18
22
|
*
|
|
19
23
|
* @example
|
|
20
|
-
*
|
|
24
|
+
* system
|
|
21
25
|
*/
|
|
22
|
-
|
|
26
|
+
imageCategory?: string;
|
|
23
27
|
/**
|
|
24
28
|
* @remarks
|
|
25
|
-
* The
|
|
26
|
-
* - `AliyunLinux`
|
|
27
|
-
* - `CentOS`
|
|
28
|
-
* - `Windows`
|
|
29
|
-
* - `WindowsCore`
|
|
29
|
+
* The ID of the image.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
|
-
*
|
|
32
|
+
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
imageId?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The image
|
|
37
|
+
* The name of the image.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
|
-
* 3.2104
|
|
40
|
+
* Alibaba Cloud Linux 3.2104
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
imageName?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The operating system distribution type. Use this field to specify the operating system
|
|
46
|
-
*
|
|
45
|
+
* The operating system distribution type. Use this field to specify the node operating system. Valid values:
|
|
47
46
|
* - `CentOS`
|
|
48
47
|
* - `AliyunLinux`
|
|
49
48
|
* - `AliyunLinux Qboot`
|
|
@@ -60,8 +59,7 @@ export class DescribeKubernetesVersionMetadataResponseBodyImages extends $dara.M
|
|
|
60
59
|
imageType?: string;
|
|
61
60
|
/**
|
|
62
61
|
* @remarks
|
|
63
|
-
* The operating system type.
|
|
64
|
-
*
|
|
62
|
+
* The operating system type. Valid values:
|
|
65
63
|
* - `Windows`
|
|
66
64
|
* - `Linux`
|
|
67
65
|
*
|
|
@@ -71,48 +69,47 @@ export class DescribeKubernetesVersionMetadataResponseBodyImages extends $dara.M
|
|
|
71
69
|
osType?: string;
|
|
72
70
|
/**
|
|
73
71
|
* @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.
|
|
72
|
+
* The image version.
|
|
80
73
|
*
|
|
81
74
|
* @example
|
|
82
|
-
*
|
|
75
|
+
* 3.2104
|
|
83
76
|
*/
|
|
84
|
-
|
|
77
|
+
osVersion?: string;
|
|
85
78
|
/**
|
|
86
79
|
* @remarks
|
|
87
|
-
* The
|
|
80
|
+
* The operating system platform. Valid values:
|
|
81
|
+
* - `AliyunLinux`
|
|
82
|
+
* - `CentOS`
|
|
83
|
+
* - `Windows`
|
|
84
|
+
* - `WindowsCore`
|
|
88
85
|
*
|
|
89
86
|
* @example
|
|
90
|
-
*
|
|
87
|
+
* AliyunLinux
|
|
91
88
|
*/
|
|
92
|
-
|
|
89
|
+
platform?: string;
|
|
93
90
|
static names(): { [key: string]: string } {
|
|
94
91
|
return {
|
|
92
|
+
architecture: 'architecture',
|
|
93
|
+
imageCategory: 'image_category',
|
|
95
94
|
imageId: 'image_id',
|
|
96
95
|
imageName: 'image_name',
|
|
97
|
-
platform: 'platform',
|
|
98
|
-
osVersion: 'os_version',
|
|
99
96
|
imageType: 'image_type',
|
|
100
97
|
osType: 'os_type',
|
|
101
|
-
|
|
102
|
-
|
|
98
|
+
osVersion: 'os_version',
|
|
99
|
+
platform: 'platform',
|
|
103
100
|
};
|
|
104
101
|
}
|
|
105
102
|
|
|
106
103
|
static types(): { [key: string]: any } {
|
|
107
104
|
return {
|
|
105
|
+
architecture: 'string',
|
|
106
|
+
imageCategory: 'string',
|
|
108
107
|
imageId: 'string',
|
|
109
108
|
imageName: 'string',
|
|
110
|
-
platform: 'string',
|
|
111
|
-
osVersion: 'string',
|
|
112
109
|
imageType: 'string',
|
|
113
110
|
osType: 'string',
|
|
114
|
-
|
|
115
|
-
|
|
111
|
+
osVersion: 'string',
|
|
112
|
+
platform: 'string',
|
|
116
113
|
};
|
|
117
114
|
}
|
|
118
115
|
|
|
@@ -139,37 +136,48 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $dara.Model {
|
|
|
139
136
|
capabilities?: { [key: string]: any };
|
|
140
137
|
/**
|
|
141
138
|
* @remarks
|
|
142
|
-
*
|
|
139
|
+
* Indicates whether the Kubernetes version can be created.
|
|
140
|
+
*
|
|
141
|
+
* @example
|
|
142
|
+
* true
|
|
143
143
|
*/
|
|
144
|
-
|
|
144
|
+
creatable?: boolean;
|
|
145
145
|
/**
|
|
146
146
|
* @remarks
|
|
147
|
-
* The
|
|
147
|
+
* The expiration time of the Kubernetes version, in ISO 8601 format with time zone information.
|
|
148
148
|
*
|
|
149
149
|
* @example
|
|
150
|
-
*
|
|
151
|
-
* "KubernetesVersion": "1.31.1-aliyun.1",
|
|
152
|
-
* "SubClass": "default",
|
|
153
|
-
* "ServiceCIDR": ""
|
|
154
|
-
* }
|
|
150
|
+
* 2026-01-30T00:00:00Z
|
|
155
151
|
*/
|
|
156
|
-
|
|
152
|
+
expirationDate?: string;
|
|
157
153
|
/**
|
|
158
154
|
* @remarks
|
|
159
|
-
* The
|
|
155
|
+
* The expiration time of the extended support for the Kubernetes version. An empty value indicates that extended support is not provided for this version.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* 2026-04-30T00:00:00Z
|
|
160
159
|
*/
|
|
161
|
-
|
|
160
|
+
extendedExpirationDate?: string;
|
|
161
|
+
/**
|
|
162
|
+
* @remarks
|
|
163
|
+
* The list of system images.
|
|
164
|
+
*/
|
|
165
|
+
images?: DescribeKubernetesVersionMetadataResponseBodyImages[];
|
|
162
166
|
/**
|
|
163
167
|
* @remarks
|
|
164
|
-
* The
|
|
168
|
+
* The metadata information of the Kubernetes version.
|
|
165
169
|
*
|
|
166
170
|
* @example
|
|
167
|
-
*
|
|
171
|
+
* {
|
|
172
|
+
* "KubernetesVersion": "1.31.1-aliyun.1",
|
|
173
|
+
* "SubClass": "default",
|
|
174
|
+
* "ServiceCIDR": ""
|
|
175
|
+
* }
|
|
168
176
|
*/
|
|
169
|
-
|
|
177
|
+
metaData?: { [key: string]: any };
|
|
170
178
|
/**
|
|
171
179
|
* @remarks
|
|
172
|
-
* The release time of the Kubernetes version
|
|
180
|
+
* The release time of the Kubernetes version, in ISO 8601 format with time zone information.
|
|
173
181
|
*
|
|
174
182
|
* @example
|
|
175
183
|
* 2025-01-30T00:00:00Z
|
|
@@ -177,50 +185,62 @@ 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
192
|
* @remarks
|
|
188
|
-
*
|
|
193
|
+
* The support policy required to obtain this patch version. The value is case-sensitive. Valid values:
|
|
194
|
+
* - Standard: regular patch versions
|
|
195
|
+
* - Extended: patch versions exclusive to the extended support period, which include backported CVE and critical bug fixes. Only clusters with extended support enabled can be upgraded to these versions.
|
|
196
|
+
* This field always has a value. It shares the same name and value range as the support_policy of the cluster. You can directly compare the policy enabled for the cluster with the policy required for this version.
|
|
189
197
|
*
|
|
190
198
|
* @example
|
|
191
|
-
*
|
|
199
|
+
* Extended
|
|
192
200
|
*/
|
|
193
|
-
|
|
201
|
+
supportPolicy?: string;
|
|
194
202
|
/**
|
|
195
203
|
* @remarks
|
|
196
204
|
* The list of upgradable versions.
|
|
197
205
|
*/
|
|
198
206
|
upgradableVersions?: string[];
|
|
207
|
+
/**
|
|
208
|
+
* @remarks
|
|
209
|
+
* The Kubernetes version released by ACK. For more version information, see [Kubernetes version release overview](https://help.aliyun.com/document_detail/185269.html).
|
|
210
|
+
*
|
|
211
|
+
* @example
|
|
212
|
+
* 1.31.1-aliyun.1
|
|
213
|
+
*/
|
|
214
|
+
version?: string;
|
|
199
215
|
static names(): { [key: string]: string } {
|
|
200
216
|
return {
|
|
201
217
|
capabilities: 'capabilities',
|
|
218
|
+
creatable: 'creatable',
|
|
219
|
+
expirationDate: 'expiration_date',
|
|
220
|
+
extendedExpirationDate: 'extended_expiration_date',
|
|
202
221
|
images: 'images',
|
|
203
222
|
metaData: 'meta_data',
|
|
204
|
-
runtimes: 'runtimes',
|
|
205
|
-
version: 'version',
|
|
206
223
|
releaseDate: 'release_date',
|
|
207
|
-
|
|
208
|
-
|
|
224
|
+
runtimes: 'runtimes',
|
|
225
|
+
supportPolicy: 'support_policy',
|
|
209
226
|
upgradableVersions: 'upgradable_versions',
|
|
227
|
+
version: 'version',
|
|
210
228
|
};
|
|
211
229
|
}
|
|
212
230
|
|
|
213
231
|
static types(): { [key: string]: any } {
|
|
214
232
|
return {
|
|
215
233
|
capabilities: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
234
|
+
creatable: 'boolean',
|
|
235
|
+
expirationDate: 'string',
|
|
236
|
+
extendedExpirationDate: 'string',
|
|
216
237
|
images: { 'type': 'array', 'itemType': DescribeKubernetesVersionMetadataResponseBodyImages },
|
|
217
238
|
metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
218
|
-
runtimes: { 'type': 'array', 'itemType': Runtime },
|
|
219
|
-
version: 'string',
|
|
220
239
|
releaseDate: 'string',
|
|
221
|
-
|
|
222
|
-
|
|
240
|
+
runtimes: { 'type': 'array', 'itemType': Runtime },
|
|
241
|
+
supportPolicy: 'string',
|
|
223
242
|
upgradableVersions: { 'type': 'array', 'itemType': 'string' },
|
|
243
|
+
version: 'string',
|
|
224
244
|
};
|
|
225
245
|
}
|
|
226
246
|
|
|
@@ -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
|
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListUserKubeConfigStatesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The page number.
|
|
8
|
+
* The current page number.
|
|
9
9
|
*
|
|
10
|
-
* - Valid values: greater than or equal to 1.
|
|
10
|
+
* - Valid values: an integer greater than or equal to 1.
|
|
11
11
|
*
|
|
12
12
|
* - Default value: 1.
|
|
13
13
|
*
|
|
@@ -17,7 +17,7 @@ export class ListUserKubeConfigStatesRequest extends $dara.Model {
|
|
|
17
17
|
pageNumber?: number;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The number of
|
|
20
|
+
* The number of results to return per page.
|
|
21
21
|
*
|
|
22
22
|
* - Valid values: 1 to 100.
|
|
23
23
|
*
|
|
@@ -21,7 +21,7 @@ export class ListUserKubeConfigStatesResponseBodyPage extends $dara.Model {
|
|
|
21
21
|
pageSize?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The total number of
|
|
24
|
+
* The total number of results.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 100
|
|
@@ -55,7 +55,7 @@ export class ListUserKubeConfigStatesResponseBodyPage extends $dara.Model {
|
|
|
55
55
|
export class ListUserKubeConfigStatesResponseBodyStates extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The expiration time of the KubeConfig certificate. The time is
|
|
58
|
+
* The expiration time of the KubeConfig certificate. The time is in UTC and follows the RFC 3339 format.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* 2028-04-09T06:20:47Z
|
|
@@ -68,7 +68,7 @@ export class ListUserKubeConfigStatesResponseBodyStates extends $dara.Model {
|
|
|
68
68
|
* - Unexpired: The certificate has not expired.
|
|
69
69
|
* - Unissued: The certificate has not been issued.
|
|
70
70
|
* - Unknown: The status is unknown.
|
|
71
|
-
* - Removed: The certificate has been removed
|
|
71
|
+
* - Removed: The certificate has been removed, but an issuance record exists.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* Unissued
|
|
@@ -93,7 +93,6 @@ export class ListUserKubeConfigStatesResponseBodyStates extends $dara.Model {
|
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
95
|
* The running status of the cluster. Valid values:
|
|
96
|
-
*
|
|
97
96
|
* - `initial`: The cluster is being created.
|
|
98
97
|
* - `failed`: The cluster failed to be created.
|
|
99
98
|
* - `running`: The cluster is running.
|
|
@@ -146,7 +145,7 @@ export class ListUserKubeConfigStatesResponseBody extends $dara.Model {
|
|
|
146
145
|
page?: ListUserKubeConfigStatesResponseBodyPage;
|
|
147
146
|
/**
|
|
148
147
|
* @remarks
|
|
149
|
-
* The KubeConfig status details
|
|
148
|
+
* The KubeConfig status details for the user.
|
|
150
149
|
*/
|
|
151
150
|
states?: ListUserKubeConfigStatesResponseBodyStates[];
|
|
152
151
|
static names(): { [key: string]: string } {
|