@alicloud/cs20151215 7.2.5 → 7.3.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.
- package/dist/client.d.ts +110 -72
- package/dist/client.js +259 -72
- 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/CreateClusterRequest.d.ts +305 -392
- package/dist/models/CreateClusterRequest.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 +80 -77
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +14 -14
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +18 -12
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +22 -15
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +23 -17
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/InvokeAgentRequest.d.ts +296 -0
- package/dist/models/InvokeAgentRequest.js +279 -0
- package/dist/models/InvokeAgentRequest.js.map +1 -0
- package/dist/models/InvokeAgentResponse.d.ts +21 -0
- package/dist/models/InvokeAgentResponse.js +73 -0
- package/dist/models/InvokeAgentResponse.js.map +1 -0
- package/dist/models/InvokeAgentResponseBody.d.ts +178 -0
- package/dist/models/InvokeAgentResponseBody.js +152 -0
- package/dist/models/InvokeAgentResponseBody.js.map +1 -0
- 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/ModifyClusterRequest.d.ts +106 -99
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +18 -11
- package/dist/models/RemoveNodePoolNodesRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +18 -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/dist/models/model.d.ts +12 -0
- package/dist/models/model.js +34 -10
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +249 -72
- 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/CreateClusterRequest.ts +305 -392
- package/src/models/DeleteClusterNodesRequest.ts +17 -7
- package/src/models/DescribeClusterAttachScriptsRequest.ts +9 -17
- package/src/models/DescribeClusterDetailResponseBody.ts +80 -77
- package/src/models/DescribeClustersForRegionRequest.ts +14 -14
- package/src/models/DescribeClustersForRegionResponseBody.ts +18 -12
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +22 -15
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +23 -17
- package/src/models/InvokeAgentRequest.ts +461 -0
- package/src/models/InvokeAgentResponse.ts +46 -0
- package/src/models/InvokeAgentResponseBody.ts +263 -0
- package/src/models/ListUserKubeConfigStatesRequest.ts +3 -3
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +4 -5
- package/src/models/ModifyClusterRequest.ts +106 -99
- package/src/models/ModifyClusterResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesRequest.ts +20 -11
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +20 -11
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +4 -3
- package/src/models/UpdateUserPermissionsRequest.ts +22 -22
- package/src/models/model.ts +12 -0
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DeleteClusterNodesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to automatically drain
|
|
9
|
-
* - `true`: Automatically drains
|
|
10
|
-
* - `false`: Does not automatically drain
|
|
8
|
+
* Specifies whether to automatically drain pods from the nodes. Valid values:
|
|
9
|
+
* - `true`: Automatically drains pods from the nodes.
|
|
10
|
+
* - `false`: Does not automatically drain pods from the nodes.
|
|
11
11
|
*
|
|
12
12
|
* Default value: `false`.
|
|
13
13
|
*
|
|
@@ -15,6 +15,14 @@ export class DeleteClusterNodesRequest extends $dara.Model {
|
|
|
15
15
|
* false
|
|
16
16
|
*/
|
|
17
17
|
drainNode?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The drain timeout period in seconds. Valid values: (0, 1800]. If this parameter is not specified, the default value 1800 is used. This parameter takes effect only when drain_node is set to true.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* 600
|
|
24
|
+
*/
|
|
25
|
+
drainTimeoutSeconds?: number;
|
|
18
26
|
/**
|
|
19
27
|
* @remarks
|
|
20
28
|
* The list of nodes to remove. The node name must be the name of the node in the cluster, such as `cn-hangzhou.192.168.xx.xx`.
|
|
@@ -24,14 +32,14 @@ export class DeleteClusterNodesRequest extends $dara.Model {
|
|
|
24
32
|
nodes?: string[];
|
|
25
33
|
/**
|
|
26
34
|
* @remarks
|
|
27
|
-
* Specifies whether to release the ECS instances
|
|
35
|
+
* Specifies whether to release the associated ECS instances. Valid values:
|
|
28
36
|
*
|
|
29
|
-
* - `true`: Releases the ECS instances
|
|
30
|
-
* - `false`: Retains the ECS instances.
|
|
37
|
+
* - `true`: Releases the associated ECS instances.
|
|
38
|
+
* - `false`: Retains the associated ECS instances.
|
|
31
39
|
*
|
|
32
40
|
* Default value: `false`.
|
|
33
41
|
*
|
|
34
|
-
* >
|
|
42
|
+
* > When a node is a subscription instance, you cannot release the associated ECS instance.
|
|
35
43
|
*
|
|
36
44
|
* @example
|
|
37
45
|
* true
|
|
@@ -40,6 +48,7 @@ export class DeleteClusterNodesRequest extends $dara.Model {
|
|
|
40
48
|
static names(): { [key: string]: string } {
|
|
41
49
|
return {
|
|
42
50
|
drainNode: 'drain_node',
|
|
51
|
+
drainTimeoutSeconds: 'drain_timeout_seconds',
|
|
43
52
|
nodes: 'nodes',
|
|
44
53
|
releaseNode: 'release_node',
|
|
45
54
|
};
|
|
@@ -48,6 +57,7 @@ export class DeleteClusterNodesRequest extends $dara.Model {
|
|
|
48
57
|
static types(): { [key: string]: any } {
|
|
49
58
|
return {
|
|
50
59
|
drainNode: 'boolean',
|
|
60
|
+
drainTimeoutSeconds: 'number',
|
|
51
61
|
nodes: { 'type': 'array', 'itemType': 'string' },
|
|
52
62
|
releaseNode: 'boolean',
|
|
53
63
|
};
|
|
@@ -25,17 +25,9 @@ export class DescribeClusterAttachScriptsRequest extends $dara.Model {
|
|
|
25
25
|
expired?: number;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* - `
|
|
31
|
-
* - `false`: Does not mount a data cloud disk to the instance.
|
|
32
|
-
*
|
|
33
|
-
* Default value: `false`.
|
|
34
|
-
*
|
|
35
|
-
* Data mounting rules:
|
|
36
|
-
*
|
|
37
|
-
* - If the ECS instance has a data cloud disk mounted and the file system of the last data cloud disk is not initialized, the system automatically formats the data cloud disk to ext4 to store the /var/lib/docker and /var/lib/kubelet directories.
|
|
38
|
-
* - If the ECS instance does not have a data cloud disk mounted, no new data cloud disk is mounted.
|
|
28
|
+
* **[Deprecated]** Use `format_disk_option` instead.
|
|
29
|
+
* - `true`: equivalent to setting `format_disk_option` to `DataDisk`.
|
|
30
|
+
* - `false`: equivalent to setting `format_disk_option` to `SystemDisk`.
|
|
39
31
|
*
|
|
40
32
|
* @example
|
|
41
33
|
* false
|
|
@@ -43,10 +35,10 @@ export class DescribeClusterAttachScriptsRequest extends $dara.Model {
|
|
|
43
35
|
formatDisk?: boolean;
|
|
44
36
|
/**
|
|
45
37
|
* @remarks
|
|
46
|
-
* Specifies whether to retain the instance name when adding an existing instance to the cluster. If
|
|
38
|
+
* Specifies whether to retain the instance name when adding an existing instance to the cluster. If the instance name is not retained, the instance name format is `worker-k8s-for-cs-<clusterid>`. Valid values:
|
|
47
39
|
*
|
|
48
|
-
* - `true`:
|
|
49
|
-
* - `false`:
|
|
40
|
+
* - `true`: retains the instance name.
|
|
41
|
+
* - `false`: does not retain the instance name. The instance name is replaced based on system rules.
|
|
50
42
|
*
|
|
51
43
|
* Default value: `true`.
|
|
52
44
|
*
|
|
@@ -56,9 +48,9 @@ export class DescribeClusterAttachScriptsRequest extends $dara.Model {
|
|
|
56
48
|
keepInstanceName?: boolean;
|
|
57
49
|
/**
|
|
58
50
|
* @remarks
|
|
59
|
-
* The node pool ID.
|
|
51
|
+
* The node pool ID. When you add a node, you can add the node to a specified node pool.
|
|
60
52
|
*
|
|
61
|
-
* > If you do not specify a node pool ID, the node is added to the default node pool.
|
|
53
|
+
* > If you do not specify a node pool ID, the node is added to the default node pool by default.
|
|
62
54
|
*
|
|
63
55
|
* @example
|
|
64
56
|
* np1c9229d9be2d432c93f77a88fca0****
|
|
@@ -67,7 +59,7 @@ export class DescribeClusterAttachScriptsRequest extends $dara.Model {
|
|
|
67
59
|
oneTimeToken?: boolean;
|
|
68
60
|
/**
|
|
69
61
|
* @remarks
|
|
70
|
-
* The
|
|
62
|
+
* The onboarding configuration parameters for the node.
|
|
71
63
|
*
|
|
72
64
|
* > This parameter is required when the cluster type is ACK Edge.
|
|
73
65
|
*
|
|
@@ -8,7 +8,7 @@ import { InstanceMetadataOptions } from "./InstanceMetadataOptions";
|
|
|
8
8
|
export class DescribeClusterDetailResponseBodyAutoMode extends $dara.Model {
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
-
*
|
|
11
|
+
* Specifies whether auto mode is enabled.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* false
|
|
@@ -38,7 +38,7 @@ export class DescribeClusterDetailResponseBodyAutoMode extends $dara.Model {
|
|
|
38
38
|
export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.Model {
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
*
|
|
41
|
+
* Specifies whether auto-renewal is enabled for the node.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* true
|
|
@@ -46,7 +46,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
46
46
|
autoRenew?: boolean;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The auto-renewal period for the
|
|
49
|
+
* The auto-renewal period for the node.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* 1
|
|
@@ -54,7 +54,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
54
54
|
autoRenewPeriod?: number;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The billing method for the control plane
|
|
57
|
+
* The billing method for the control plane node.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* PrePaid
|
|
@@ -62,7 +62,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
62
62
|
chargeType?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
*
|
|
65
|
+
* Specifies whether CloudMonitor is installed on the node.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* true
|
|
@@ -70,7 +70,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
70
70
|
cloudMonitorFlags?: boolean;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The CPU management policy for the
|
|
73
|
+
* The CPU management policy for the node.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* none
|
|
@@ -102,17 +102,17 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
102
102
|
imageType?: string;
|
|
103
103
|
/**
|
|
104
104
|
* @remarks
|
|
105
|
-
* The metadata access configuration for the ECS
|
|
105
|
+
* The metadata access configuration for the ECS instance.
|
|
106
106
|
*/
|
|
107
107
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
|
-
* The instance
|
|
110
|
+
* The instance types of the node.
|
|
111
111
|
*/
|
|
112
112
|
instanceTypes?: string[];
|
|
113
113
|
/**
|
|
114
114
|
* @remarks
|
|
115
|
-
* The name of the key pair. You must specify either this parameter or
|
|
115
|
+
* The name of the key pair. You must specify either this parameter or login_password.
|
|
116
116
|
*
|
|
117
117
|
* @example
|
|
118
118
|
* ack
|
|
@@ -128,7 +128,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
128
128
|
nodePortRange?: string;
|
|
129
129
|
/**
|
|
130
130
|
* @remarks
|
|
131
|
-
* The subscription period for the
|
|
131
|
+
* The subscription period for the node.
|
|
132
132
|
*
|
|
133
133
|
* @example
|
|
134
134
|
* 1
|
|
@@ -136,7 +136,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
136
136
|
period?: number;
|
|
137
137
|
/**
|
|
138
138
|
* @remarks
|
|
139
|
-
* The unit of the subscription period for the
|
|
139
|
+
* The unit of the subscription period for the node.
|
|
140
140
|
*
|
|
141
141
|
* @example
|
|
142
142
|
* Month
|
|
@@ -152,7 +152,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
152
152
|
runtime?: string;
|
|
153
153
|
/**
|
|
154
154
|
* @remarks
|
|
155
|
-
*
|
|
155
|
+
* Specifies whether Alibaba Cloud OS security hardening is enabled.
|
|
156
156
|
*
|
|
157
157
|
* @example
|
|
158
158
|
* true
|
|
@@ -168,7 +168,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
168
168
|
size?: number;
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
|
-
*
|
|
171
|
+
* Specifies whether MLPS 2.0 security hardening is enabled.
|
|
172
172
|
*
|
|
173
173
|
* @example
|
|
174
174
|
* false
|
|
@@ -176,7 +176,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
176
176
|
socEnabled?: boolean;
|
|
177
177
|
/**
|
|
178
178
|
* @remarks
|
|
179
|
-
*
|
|
179
|
+
* Specifies whether performance bursting is enabled for the system cloud disk of the node.
|
|
180
180
|
*
|
|
181
181
|
* @example
|
|
182
182
|
* true
|
|
@@ -184,7 +184,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
184
184
|
systemDiskBurstingEnabled?: boolean;
|
|
185
185
|
/**
|
|
186
186
|
* @remarks
|
|
187
|
-
* The
|
|
187
|
+
* The category of the system cloud disk for the node.
|
|
188
188
|
*
|
|
189
189
|
* @example
|
|
190
190
|
* cloud_essd
|
|
@@ -192,7 +192,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
192
192
|
systemDiskCategory?: string;
|
|
193
193
|
/**
|
|
194
194
|
* @remarks
|
|
195
|
-
* The performance level of the system cloud
|
|
195
|
+
* The performance level of the system cloud disk for the node. This parameter takes effect only for ESSDs.
|
|
196
196
|
*
|
|
197
197
|
* @example
|
|
198
198
|
* PL1
|
|
@@ -200,7 +200,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
200
200
|
systemDiskPerformanceLevel?: string;
|
|
201
201
|
/**
|
|
202
202
|
* @remarks
|
|
203
|
-
* The provisioned read and write IOPS for the system cloud
|
|
203
|
+
* The provisioned read and write IOPS for the system cloud disk of the node.
|
|
204
204
|
*
|
|
205
205
|
* @example
|
|
206
206
|
* 1000
|
|
@@ -208,7 +208,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
208
208
|
systemDiskProvisionedIops?: number;
|
|
209
209
|
/**
|
|
210
210
|
* @remarks
|
|
211
|
-
* The size of the system cloud
|
|
211
|
+
* The size of the system cloud disk for the node. The minimum value is 40.
|
|
212
212
|
*
|
|
213
213
|
* @example
|
|
214
214
|
* 120
|
|
@@ -216,7 +216,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
216
216
|
systemDiskSize?: number;
|
|
217
217
|
/**
|
|
218
218
|
* @remarks
|
|
219
|
-
* The ID of the automatic snapshot policy for the
|
|
219
|
+
* The ID of the automatic snapshot policy for the node.
|
|
220
220
|
*
|
|
221
221
|
* @example
|
|
222
222
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -298,13 +298,13 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
298
298
|
export class DescribeClusterDetailResponseBodyControlPlaneEndpointsConfigInternalDnsConfig extends $dara.Model {
|
|
299
299
|
/**
|
|
300
300
|
* @remarks
|
|
301
|
-
* The
|
|
301
|
+
* The VPCs where the resolution of the internal domain name records takes effect. By default, this includes the VPC where the cluster is deployed.
|
|
302
302
|
*/
|
|
303
303
|
bindVpcs?: string[];
|
|
304
304
|
/**
|
|
305
305
|
* @remarks
|
|
306
|
-
*
|
|
307
|
-
* - true: Internal
|
|
306
|
+
* Specifies whether internal domain name access is enabled for the cluster. Valid values:
|
|
307
|
+
* - true: Internal domain name access is enabled. Node-side components such as kubelet and kube-proxy access the API server by using the internal domain name.
|
|
308
308
|
*
|
|
309
309
|
* @example
|
|
310
310
|
* true
|
|
@@ -339,7 +339,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneEndpointsConfigInterna
|
|
|
339
339
|
export class DescribeClusterDetailResponseBodyControlPlaneEndpointsConfigLoadBalancersConfig extends $dara.Model {
|
|
340
340
|
/**
|
|
341
341
|
* @remarks
|
|
342
|
-
* The endpoint.
|
|
342
|
+
* The endpoint address.
|
|
343
343
|
*
|
|
344
344
|
* @example
|
|
345
345
|
* nlb-0ogk9aaxxxxxxx.cn-hangzhou.nlb.aliyuncsslb.com
|
|
@@ -355,7 +355,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneEndpointsConfigLoadBal
|
|
|
355
355
|
endpointType?: string;
|
|
356
356
|
/**
|
|
357
357
|
* @remarks
|
|
358
|
-
* The SLB instance associated with the endpoint.
|
|
358
|
+
* The Server Load Balancer (SLB) instance associated with the endpoint.
|
|
359
359
|
*
|
|
360
360
|
* @example
|
|
361
361
|
* nlb-0ogk9aaxxxxxxx
|
|
@@ -389,7 +389,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneEndpointsConfigLoadBal
|
|
|
389
389
|
export class DescribeClusterDetailResponseBodyControlPlaneEndpointsConfig extends $dara.Model {
|
|
390
390
|
/**
|
|
391
391
|
* @remarks
|
|
392
|
-
* The internal DNS configuration of the cluster,
|
|
392
|
+
* The internal DNS configuration of the cluster, which applies to ACK managed clusters. The internal domain name is used by node-side system components such as kubelet and kube-proxy to access the API server. If internal domain name access is not enabled, node-side system components access the API server by using the CLB IP address.
|
|
393
393
|
*/
|
|
394
394
|
internalDnsConfig?: DescribeClusterDetailResponseBodyControlPlaneEndpointsConfigInternalDnsConfig;
|
|
395
395
|
/**
|
|
@@ -430,9 +430,9 @@ export class DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade
|
|
|
430
430
|
/**
|
|
431
431
|
* @remarks
|
|
432
432
|
* The automatic upgrade channel of the cluster. For more information, see [Upgrade channels](https://help.aliyun.com/document_detail/2712866.html). Valid values:
|
|
433
|
-
* - patch:
|
|
434
|
-
* - stable:
|
|
435
|
-
* - rapid:
|
|
433
|
+
* - patch: the latest patch version.
|
|
434
|
+
* - stable: the second latest minor version.
|
|
435
|
+
* - rapid: the latest minor version.
|
|
436
436
|
*
|
|
437
437
|
* @example
|
|
438
438
|
* patch
|
|
@@ -440,7 +440,7 @@ export class DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade
|
|
|
440
440
|
channel?: string;
|
|
441
441
|
/**
|
|
442
442
|
* @remarks
|
|
443
|
-
* Specifies whether automatic cluster upgrade
|
|
443
|
+
* Specifies whether to enable automatic cluster upgrade.
|
|
444
444
|
*
|
|
445
445
|
* @example
|
|
446
446
|
* true
|
|
@@ -502,7 +502,7 @@ export class DescribeClusterDetailResponseBodyOperationPolicy extends $dara.Mode
|
|
|
502
502
|
export class DescribeClusterDetailResponseBodyRrsaConfig extends $dara.Model {
|
|
503
503
|
/**
|
|
504
504
|
* @remarks
|
|
505
|
-
* The default audience of the OIDC token. If multiple values are
|
|
505
|
+
* The default audience of the OpenID Connect (OIDC) token. If multiple values are specified, they are separated by commas (,). The values are used as an array for the `aud` field in the OIDC token.
|
|
506
506
|
*
|
|
507
507
|
* @example
|
|
508
508
|
* https://kubernetes.default.svc,https://example.***.com
|
|
@@ -510,7 +510,7 @@ export class DescribeClusterDetailResponseBodyRrsaConfig extends $dara.Model {
|
|
|
510
510
|
audience?: string;
|
|
511
511
|
/**
|
|
512
512
|
* @remarks
|
|
513
|
-
* Specifies whether
|
|
513
|
+
* Specifies whether to enable RRSA.
|
|
514
514
|
*
|
|
515
515
|
* @example
|
|
516
516
|
* true
|
|
@@ -518,7 +518,7 @@ export class DescribeClusterDetailResponseBodyRrsaConfig extends $dara.Model {
|
|
|
518
518
|
enabled?: boolean;
|
|
519
519
|
/**
|
|
520
520
|
* @remarks
|
|
521
|
-
* The issuer of the OIDC token. If multiple values are
|
|
521
|
+
* The issuer of the OIDC token. If multiple values are specified, they are separated by commas (,). The first value is used as the `iss` field in the OIDC token and the issuer URL of the OIDC identity provider (IdP).
|
|
522
522
|
*
|
|
523
523
|
* @example
|
|
524
524
|
* https://oidc-ack-***,https://kubernetes.default.svc
|
|
@@ -531,7 +531,7 @@ export class DescribeClusterDetailResponseBodyRrsaConfig extends $dara.Model {
|
|
|
531
531
|
jwksUrl?: string;
|
|
532
532
|
/**
|
|
533
533
|
* @remarks
|
|
534
|
-
* The maximum
|
|
534
|
+
* The maximum validity period that can be configured for the OIDC token.
|
|
535
535
|
*
|
|
536
536
|
* @example
|
|
537
537
|
* 12h
|
|
@@ -539,7 +539,7 @@ export class DescribeClusterDetailResponseBodyRrsaConfig extends $dara.Model {
|
|
|
539
539
|
maxOidcTokenExpiration?: string;
|
|
540
540
|
/**
|
|
541
541
|
* @remarks
|
|
542
|
-
* The ARN of the OIDC IdP.
|
|
542
|
+
* The Alibaba Cloud Resource Name (ARN) of the OIDC IdP.
|
|
543
543
|
*
|
|
544
544
|
* @example
|
|
545
545
|
* acs:ram::1138***:oidc-provider/ack-rrsa-***
|
|
@@ -596,7 +596,7 @@ export class DescribeClusterDetailResponseBodyRrsaConfig extends $dara.Model {
|
|
|
596
596
|
export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
597
597
|
/**
|
|
598
598
|
* @remarks
|
|
599
|
-
* The
|
|
599
|
+
* The auto mode configuration.
|
|
600
600
|
*/
|
|
601
601
|
autoMode?: DescribeClusterDetailResponseBodyAutoMode;
|
|
602
602
|
/**
|
|
@@ -617,17 +617,17 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
617
617
|
clusterId?: string;
|
|
618
618
|
/**
|
|
619
619
|
* @remarks
|
|
620
|
-
* The
|
|
620
|
+
* The specifications of the cluster when cluster_type is set to ManagedKubernetes and profile is configured. Valid values:
|
|
621
621
|
*
|
|
622
|
-
* -
|
|
623
|
-
* -
|
|
624
|
-
* -
|
|
625
|
-
* -
|
|
626
|
-
* -
|
|
622
|
+
* - ack.standard: Basic Edition. This is the default value if this parameter is left empty.
|
|
623
|
+
* - ack.pro.small: Pro Edition.
|
|
624
|
+
* - ack.pro.xlarge: Pro XL.
|
|
625
|
+
* - ack.pro.2xlarge: Pro 2XL.
|
|
626
|
+
* - ack.pro.4xlarge: Pro 4XL. You must contact customer service to apply for whitelist access.
|
|
627
627
|
*
|
|
628
|
-
* 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
|
|
628
|
+
* 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 consistently high levels of API concurrency and pod scheduling capabilities. They are suitable for AI training and inference, ultra-large-scale clusters, and mission-critical workloads.
|
|
629
629
|
*
|
|
630
|
-
* For the cluster management fees
|
|
630
|
+
* For more information about the cluster management fees for 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).
|
|
631
631
|
*
|
|
632
632
|
* @example
|
|
633
633
|
* ack.pro.small
|
|
@@ -637,11 +637,9 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
637
637
|
* @remarks
|
|
638
638
|
* The cluster type. Valid values:
|
|
639
639
|
*
|
|
640
|
-
* -
|
|
641
|
-
*
|
|
642
|
-
* -
|
|
643
|
-
*
|
|
644
|
-
* - `ExternalKubernetes`: Registered cluster.
|
|
640
|
+
* - Kubernetes: ACK dedicated cluster.
|
|
641
|
+
* - ManagedKubernetes: ACK ACK cluster, including ACK ACK 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).
|
|
642
|
+
* - ExternalKubernetes: registered cluster.
|
|
645
643
|
*
|
|
646
644
|
* @example
|
|
647
645
|
* Kubernetes
|
|
@@ -649,7 +647,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
649
647
|
clusterType?: string;
|
|
650
648
|
/**
|
|
651
649
|
* @remarks
|
|
652
|
-
* The Pod CIDR block for
|
|
650
|
+
* The Pod CIDR block for Flannel network configuration.
|
|
653
651
|
*
|
|
654
652
|
* @example
|
|
655
653
|
* 172.20.xx.xx/16
|
|
@@ -657,7 +655,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
657
655
|
containerCidr?: string;
|
|
658
656
|
/**
|
|
659
657
|
* @remarks
|
|
660
|
-
* The control plane configuration for dedicated
|
|
658
|
+
* The control plane configuration for an ACK dedicated cluster.
|
|
661
659
|
*/
|
|
662
660
|
controlPlaneConfig?: DescribeClusterDetailResponseBodyControlPlaneConfig;
|
|
663
661
|
/**
|
|
@@ -683,7 +681,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
683
681
|
currentVersion?: string;
|
|
684
682
|
/**
|
|
685
683
|
* @remarks
|
|
686
|
-
* Specifies whether deletion protection is enabled for the cluster
|
|
684
|
+
* Specifies whether deletion protection is enabled for the cluster to prevent accidental deletion through the console or API calls. Valid values:
|
|
687
685
|
*
|
|
688
686
|
* - `true`: Deletion protection is enabled. The cluster cannot be deleted through the console or API calls.
|
|
689
687
|
* - `false`: Deletion protection is disabled. The cluster can be deleted through the console or API calls.
|
|
@@ -704,7 +702,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
704
702
|
dockerVersion?: string;
|
|
705
703
|
/**
|
|
706
704
|
* @remarks
|
|
707
|
-
* The instance ID of the Ingress
|
|
705
|
+
* The instance ID of the Ingress LB for the cluster.
|
|
708
706
|
*
|
|
709
707
|
* @example
|
|
710
708
|
* lb-2zehc05z3b8dwiifh****
|
|
@@ -727,9 +725,9 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
727
725
|
initVersion?: string;
|
|
728
726
|
/**
|
|
729
727
|
* @remarks
|
|
730
|
-
* The IP stack of the cluster. Valid values:
|
|
731
|
-
* - ipv4: The cluster supports only the IPv4 stack.
|
|
732
|
-
* - dual: The cluster supports both IPv4 and IPv6 stacks.
|
|
728
|
+
* The IP protocol stack of the cluster. Valid values:
|
|
729
|
+
* - ipv4: The cluster supports only the IPv4 protocol stack.
|
|
730
|
+
* - dual: The cluster supports both IPv4 and IPv6 protocol stacks.
|
|
733
731
|
*
|
|
734
732
|
* @example
|
|
735
733
|
* ipv4
|
|
@@ -737,12 +735,12 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
737
735
|
ipStack?: string;
|
|
738
736
|
/**
|
|
739
737
|
* @remarks
|
|
740
|
-
* The maintenance window configuration of the cluster. This
|
|
738
|
+
* The maintenance window configuration of the cluster. This parameter takes effect only for managed clusters, namely ACK Pro clusters.
|
|
741
739
|
*/
|
|
742
740
|
maintenanceWindow?: MaintenanceWindow;
|
|
743
741
|
/**
|
|
744
742
|
* @remarks
|
|
745
|
-
* The access
|
|
743
|
+
* The access endpoint of the cluster, including the internal network access endpoint and the public network access endpoint.
|
|
746
744
|
*
|
|
747
745
|
* @example
|
|
748
746
|
* {\\"intranet_api_server_endpoint\\":\\"https://192.168.xx.xx:6443\\"***}
|
|
@@ -784,9 +782,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
784
782
|
nextVersion?: string;
|
|
785
783
|
/**
|
|
786
784
|
* @remarks
|
|
787
|
-
*
|
|
788
|
-
*
|
|
789
|
-
* The size of the subnet mask allocated to nodes, which controls the number of IP addresses that can be allocated to each node.
|
|
785
|
+
* The size of the subnet mask allocated to nodes, which determines the number of IP addresses that can be allocated to each node. This parameter applies only to the Flannel network plugin.
|
|
790
786
|
*
|
|
791
787
|
* @example
|
|
792
788
|
* 26
|
|
@@ -806,10 +802,10 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
806
802
|
parameters?: { [key: string]: string };
|
|
807
803
|
/**
|
|
808
804
|
* @remarks
|
|
809
|
-
* Specifies whether
|
|
805
|
+
* Specifies whether to enable PrivateZone for the cluster. Valid values:
|
|
810
806
|
*
|
|
811
|
-
* - `true`:
|
|
812
|
-
* - `false`:
|
|
807
|
+
* - `true`: enabled.
|
|
808
|
+
* - `false`: disabled.
|
|
813
809
|
*
|
|
814
810
|
* Default value: false.
|
|
815
811
|
*
|
|
@@ -821,15 +817,15 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
821
817
|
privateZone?: boolean;
|
|
822
818
|
/**
|
|
823
819
|
* @remarks
|
|
824
|
-
* The cluster
|
|
820
|
+
* The subtype of the cluster. Valid values:
|
|
825
821
|
*
|
|
826
|
-
* - `Default`: ACK managed
|
|
822
|
+
* - `Default`: ACK managed cluster, including ACK cluster Pro and ACK cluster Basic.
|
|
827
823
|
*
|
|
828
|
-
* - `Edge`: ACK Edge
|
|
824
|
+
* - `Edge`: ACK Edge cluster, including ACK Edge cluster Pro and ACK Edge cluster Basic.
|
|
829
825
|
*
|
|
830
|
-
* - `Serverless`: ACK Serverless
|
|
826
|
+
* - `Serverless`: ACK Serverless cluster, including ACK Serverless cluster Pro and ACK Serverless cluster Basic.
|
|
831
827
|
*
|
|
832
|
-
* - `Lingjun`: ACK Lingjun
|
|
828
|
+
* - `Lingjun`: ACK Lingjun cluster, which provides only the Pro edition.
|
|
833
829
|
*
|
|
834
830
|
* @example
|
|
835
831
|
* Default
|
|
@@ -839,8 +835,8 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
839
835
|
* @remarks
|
|
840
836
|
* The kube-proxy mode. Valid values:
|
|
841
837
|
*
|
|
842
|
-
* - `iptables`:
|
|
843
|
-
* - `ipvs`:
|
|
838
|
+
* - `iptables`: the mature and stable kube-proxy mode. Service discovery and load balancing for Kubernetes Services are configured by using iptables rules. This mode provides average performance and is significantly affected by the cluster scale. It is suitable for clusters with a small number of Services.
|
|
839
|
+
* - `ipvs`: the high-performance kube-proxy mode. Service discovery and load balancing for Kubernetes Services are configured by using the Linux IPVS module. This mode is suitable for clusters with a large number of Services and scenarios that require high-performance load balancing.
|
|
844
840
|
*
|
|
845
841
|
* @example
|
|
846
842
|
* ipvs
|
|
@@ -896,8 +892,9 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
896
892
|
/**
|
|
897
893
|
* @remarks
|
|
898
894
|
* The cluster status. Valid values:
|
|
895
|
+
*
|
|
899
896
|
* - `initial`: The cluster is being created.
|
|
900
|
-
* - `failed`:
|
|
897
|
+
* - `failed`: The cluster creation failed.
|
|
901
898
|
* - `running`: The cluster is running.
|
|
902
899
|
* - `updating`: The cluster is being updated.
|
|
903
900
|
* - `upgrading`: The cluster is being upgraded.
|
|
@@ -907,9 +904,9 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
907
904
|
* - `inactive`: The cluster is inactive.
|
|
908
905
|
* - `unavailable`: The cluster is unavailable.
|
|
909
906
|
* - `deleting`: The cluster is being deleted.
|
|
910
|
-
* - `deleted`: The cluster
|
|
911
|
-
* - `delete_failed`:
|
|
912
|
-
* - `waiting`: The cluster is waiting for
|
|
907
|
+
* - `deleted`: The cluster is deleted.
|
|
908
|
+
* - `delete_failed`: The cluster deletion failed.
|
|
909
|
+
* - `waiting`: The cluster is waiting for the accessed state.
|
|
913
910
|
* - `disconnected`: The cluster is disconnected.
|
|
914
911
|
*
|
|
915
912
|
* @example
|
|
@@ -918,7 +915,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
918
915
|
state?: string;
|
|
919
916
|
/**
|
|
920
917
|
* @remarks
|
|
921
|
-
* The Pod CIDR block.
|
|
918
|
+
* **[Deprecated]** Use container_cidr to obtain the Pod CIDR block. The Pod CIDR block. It must be a valid private CIDR block, specifically one of the following CIDR blocks or their subnets: 10.0.0.0/8, 172.16.0.0/12 to 172.31.0.0/16, and 192.168.0.0/16. It cannot overlap with the CIDR block of the VPC or the CIDR blocks used by existing Kubernetes clusters in the VPC. It cannot be modified after the cluster is created. For more information about cluster network planning, see [Plan CIDR blocks for Kubernetes clusters in a VPC](https://help.aliyun.com/document_detail/~~86500~~).
|
|
922
919
|
*
|
|
923
920
|
* @example
|
|
924
921
|
* 172.20.xx.xx/16
|
|
@@ -927,6 +924,12 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
927
924
|
*/
|
|
928
925
|
subnetCidr?: string;
|
|
929
926
|
/**
|
|
927
|
+
* @remarks
|
|
928
|
+
* The cluster version support policy. The value is case-sensitive. Valid values:
|
|
929
|
+
* - Standard: Standard support.
|
|
930
|
+
* - Extended: Extended support. After the standard support period ends, the cluster enters the extended support period and continues to receive CVE patch updates.
|
|
931
|
+
* If this policy is not set for an existing cluster, Standard is returned.
|
|
932
|
+
*
|
|
930
933
|
* @example
|
|
931
934
|
* Extended
|
|
932
935
|
*/
|
|
@@ -962,7 +965,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
962
965
|
vpcId?: string;
|
|
963
966
|
/**
|
|
964
967
|
* @remarks
|
|
965
|
-
*
|
|
968
|
+
* **[Deprecated]** To query the vSwitches for the control plane, use vswitch_ids. To query the vSwitches for the data plane, use the vswitch_ids of the node pool. The vSwitch ID.
|
|
966
969
|
*
|
|
967
970
|
* @example
|
|
968
971
|
* vsw-2zete8s4qocqg0mf6****,vsw-2zete8s4qocqg0mf6****
|
|
@@ -977,7 +980,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
977
980
|
vswitchIds?: string[];
|
|
978
981
|
/**
|
|
979
982
|
* @remarks
|
|
980
|
-
* The name of the RAM role for worker nodes.
|
|
983
|
+
* The name of the RAM role for worker nodes. It is used to authorize ECS instances as worker nodes in the cluster.
|
|
981
984
|
*
|
|
982
985
|
* @example
|
|
983
986
|
* KubernetesWorkerRole-ec87d15b-edca-4302-933f-c8a16bf0****
|