@alicloud/cs20151215 6.6.0 → 6.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +20 -20
- package/dist/client.js +44 -20
- package/dist/client.js.map +1 -1
- package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +2 -0
- package/dist/models/DescribeClusterEventsRequest.js +4 -0
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +1 -0
- package/dist/models/DescribeClusterEventsResponseBody.js +2 -0
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +2 -0
- package/dist/models/DescribeClusterTasksRequest.js +4 -0
- package/dist/models/DescribeClusterTasksRequest.js.map +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +1 -0
- package/dist/models/DescribeClusterTasksResponseBody.js +2 -0
- package/dist/models/DescribeClusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +2 -0
- package/dist/models/DescribeEventsForRegionRequest.js +4 -0
- package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +1 -0
- package/dist/models/DescribeEventsForRegionResponseBody.js +2 -0
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +2 -0
- package/dist/models/DescribeEventsRequest.js +4 -0
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +8 -4
- package/dist/models/DescribeEventsResponseBody.js +2 -0
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +27 -0
- package/dist/models/DescribeRegionsRequest.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +17 -0
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +34 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsResponseBody.d.ts +9 -0
- package/dist/models/InstallNodePoolComponentsResponseBody.js.map +1 -1
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +35 -0
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +3 -3
- package/dist/models/TagResourcesResponseBody.d.ts +1 -1
- package/dist/models/UntagResourcesResponseBody.d.ts +1 -1
- package/dist/models/UpdateKmsencryptionRequest.d.ts +16 -0
- package/dist/models/UpdateKmsencryptionRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +35 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +6 -0
- package/dist/models/UpdateNodePoolComponentResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +52 -20
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/DescribeClusterEventsRequest.ts +6 -0
- package/src/models/DescribeClusterEventsResponseBody.ts +3 -0
- package/src/models/DescribeClusterTasksRequest.ts +6 -0
- package/src/models/DescribeClusterTasksResponseBody.ts +3 -0
- package/src/models/DescribeEventsForRegionRequest.ts +6 -0
- package/src/models/DescribeEventsForRegionResponseBody.ts +3 -0
- package/src/models/DescribeEventsRequest.ts +6 -0
- package/src/models/DescribeEventsResponseBody.ts +10 -4
- package/src/models/DescribeRegionsRequest.ts +27 -0
- package/src/models/DescribeRegionsResponseBody.ts +17 -0
- package/src/models/InstallNodePoolComponentsRequest.ts +34 -0
- package/src/models/InstallNodePoolComponentsResponseBody.ts +9 -0
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +35 -0
- package/src/models/ListTagResourcesResponseBody.ts +3 -3
- package/src/models/TagResourcesResponseBody.ts +1 -1
- package/src/models/UntagResourcesResponseBody.ts +1 -1
- package/src/models/UpdateKmsencryptionRequest.ts +16 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +35 -0
- package/src/models/UpdateNodePoolComponentResponseBody.ts +6 -0
|
@@ -11,6 +11,8 @@ export class DescribeEventsForRegionRequest extends $dara.Model {
|
|
|
11
11
|
* cf62854ac2130470897be7a27ed1f****
|
|
12
12
|
*/
|
|
13
13
|
clusterId?: string;
|
|
14
|
+
maxResults?: number;
|
|
15
|
+
nextToken?: string;
|
|
14
16
|
/**
|
|
15
17
|
* @remarks
|
|
16
18
|
* The number of pages.
|
|
@@ -30,6 +32,8 @@ export class DescribeEventsForRegionRequest extends $dara.Model {
|
|
|
30
32
|
static names(): { [key: string]: string } {
|
|
31
33
|
return {
|
|
32
34
|
clusterId: 'cluster_id',
|
|
35
|
+
maxResults: 'max_results',
|
|
36
|
+
nextToken: 'next_token',
|
|
33
37
|
pageNumber: 'page_number',
|
|
34
38
|
pageSize: 'page_size',
|
|
35
39
|
};
|
|
@@ -38,6 +42,8 @@ export class DescribeEventsForRegionRequest extends $dara.Model {
|
|
|
38
42
|
static types(): { [key: string]: any } {
|
|
39
43
|
return {
|
|
40
44
|
clusterId: 'string',
|
|
45
|
+
maxResults: 'number',
|
|
46
|
+
nextToken: 'string',
|
|
41
47
|
pageNumber: 'number',
|
|
42
48
|
pageSize: 'number',
|
|
43
49
|
};
|
|
@@ -195,6 +195,7 @@ export class DescribeEventsForRegionResponseBody extends $dara.Model {
|
|
|
195
195
|
* The events.
|
|
196
196
|
*/
|
|
197
197
|
events?: DescribeEventsForRegionResponseBodyEvents[];
|
|
198
|
+
nextToken?: string;
|
|
198
199
|
/**
|
|
199
200
|
* @remarks
|
|
200
201
|
* The pagination details.
|
|
@@ -203,6 +204,7 @@ export class DescribeEventsForRegionResponseBody extends $dara.Model {
|
|
|
203
204
|
static names(): { [key: string]: string } {
|
|
204
205
|
return {
|
|
205
206
|
events: 'events',
|
|
207
|
+
nextToken: 'next_token',
|
|
206
208
|
pageInfo: 'page_info',
|
|
207
209
|
};
|
|
208
210
|
}
|
|
@@ -210,6 +212,7 @@ export class DescribeEventsForRegionResponseBody extends $dara.Model {
|
|
|
210
212
|
static types(): { [key: string]: any } {
|
|
211
213
|
return {
|
|
212
214
|
events: { 'type': 'array', 'itemType': DescribeEventsForRegionResponseBodyEvents },
|
|
215
|
+
nextToken: 'string',
|
|
213
216
|
pageInfo: DescribeEventsForRegionResponseBodyPageInfo,
|
|
214
217
|
};
|
|
215
218
|
}
|
|
@@ -11,6 +11,8 @@ export class DescribeEventsRequest extends $dara.Model {
|
|
|
11
11
|
* cf62854ac2130470897be7a27ed1f****
|
|
12
12
|
*/
|
|
13
13
|
clusterId?: string;
|
|
14
|
+
maxResults?: number;
|
|
15
|
+
nextToken?: string;
|
|
14
16
|
/**
|
|
15
17
|
* @remarks
|
|
16
18
|
* The page number.
|
|
@@ -55,6 +57,8 @@ export class DescribeEventsRequest extends $dara.Model {
|
|
|
55
57
|
static names(): { [key: string]: string } {
|
|
56
58
|
return {
|
|
57
59
|
clusterId: 'cluster_id',
|
|
60
|
+
maxResults: 'max_results',
|
|
61
|
+
nextToken: 'next_token',
|
|
58
62
|
pageNumber: 'page_number',
|
|
59
63
|
pageSize: 'page_size',
|
|
60
64
|
type: 'type',
|
|
@@ -64,6 +68,8 @@ export class DescribeEventsRequest extends $dara.Model {
|
|
|
64
68
|
static types(): { [key: string]: any } {
|
|
65
69
|
return {
|
|
66
70
|
clusterId: 'string',
|
|
71
|
+
maxResults: 'number',
|
|
72
|
+
nextToken: 'string',
|
|
67
73
|
pageNumber: 'number',
|
|
68
74
|
pageSize: 'number',
|
|
69
75
|
type: 'string',
|
|
@@ -62,7 +62,7 @@ export class DescribeEventsResponseBodyEvents extends $dara.Model {
|
|
|
62
62
|
* The ID of the cluster.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
|
-
*
|
|
65
|
+
* cf62854ac2130470897be7a27ed1f****
|
|
66
66
|
*/
|
|
67
67
|
clusterId?: string;
|
|
68
68
|
/**
|
|
@@ -75,12 +75,15 @@ export class DescribeEventsResponseBodyEvents extends $dara.Model {
|
|
|
75
75
|
* The event ID.
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
|
-
*
|
|
78
|
+
* e-dba703c8-953b-40d8-82e8-cb713590****
|
|
79
79
|
*/
|
|
80
80
|
eventId?: string;
|
|
81
81
|
/**
|
|
82
82
|
* @remarks
|
|
83
83
|
* The source of the event.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* task
|
|
84
87
|
*/
|
|
85
88
|
source?: string;
|
|
86
89
|
/**
|
|
@@ -88,7 +91,7 @@ export class DescribeEventsResponseBodyEvents extends $dara.Model {
|
|
|
88
91
|
* The subject of the event.
|
|
89
92
|
*
|
|
90
93
|
* @example
|
|
91
|
-
*
|
|
94
|
+
* np6a5c86f4ecae436f8f4a3dc034a7****
|
|
92
95
|
*/
|
|
93
96
|
subject?: string;
|
|
94
97
|
/**
|
|
@@ -96,7 +99,7 @@ export class DescribeEventsResponseBodyEvents extends $dara.Model {
|
|
|
96
99
|
* The time when the event started.
|
|
97
100
|
*
|
|
98
101
|
* @example
|
|
99
|
-
*
|
|
102
|
+
* 2025-04-23T20:48:01+08:00
|
|
100
103
|
*/
|
|
101
104
|
time?: string;
|
|
102
105
|
/**
|
|
@@ -216,6 +219,7 @@ export class DescribeEventsResponseBody extends $dara.Model {
|
|
|
216
219
|
* The details of the events.
|
|
217
220
|
*/
|
|
218
221
|
events?: DescribeEventsResponseBodyEvents[];
|
|
222
|
+
nextToken?: string;
|
|
219
223
|
/**
|
|
220
224
|
* @remarks
|
|
221
225
|
* The pagination information.
|
|
@@ -224,6 +228,7 @@ export class DescribeEventsResponseBody extends $dara.Model {
|
|
|
224
228
|
static names(): { [key: string]: string } {
|
|
225
229
|
return {
|
|
226
230
|
events: 'events',
|
|
231
|
+
nextToken: 'next_token',
|
|
227
232
|
pageInfo: 'page_info',
|
|
228
233
|
};
|
|
229
234
|
}
|
|
@@ -231,6 +236,7 @@ export class DescribeEventsResponseBody extends $dara.Model {
|
|
|
231
236
|
static types(): { [key: string]: any } {
|
|
232
237
|
return {
|
|
233
238
|
events: { 'type': 'array', 'itemType': DescribeEventsResponseBodyEvents },
|
|
239
|
+
nextToken: 'string',
|
|
234
240
|
pageInfo: DescribeEventsResponseBodyPageInfo,
|
|
235
241
|
};
|
|
236
242
|
}
|
|
@@ -4,16 +4,43 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribeRegionsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The language in which the results are returned.
|
|
9
|
+
*
|
|
10
|
+
* Valid values:
|
|
11
|
+
*
|
|
12
|
+
* * zh-CN
|
|
13
|
+
* * en-US
|
|
14
|
+
*
|
|
7
15
|
* @example
|
|
8
16
|
* zh-CN
|
|
9
17
|
*/
|
|
10
18
|
acceptLanguage?: string;
|
|
11
19
|
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The type of the cluster.
|
|
22
|
+
*
|
|
23
|
+
* Valid values:
|
|
24
|
+
*
|
|
25
|
+
* * ExternalKubernetes: registered clusters.
|
|
26
|
+
* * ManagedKubernetes: managed clusters.
|
|
27
|
+
* * Kubernetes: dedicated clusters.
|
|
28
|
+
*
|
|
12
29
|
* @example
|
|
13
30
|
* ManagedKubernetes
|
|
14
31
|
*/
|
|
15
32
|
clusterType?: string;
|
|
16
33
|
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The subtype of the managed cluster.
|
|
36
|
+
*
|
|
37
|
+
* Valid values:
|
|
38
|
+
*
|
|
39
|
+
* * Lingjun: ACK Lingjun clusters.
|
|
40
|
+
* * Serverless: ACK serverless clusters.
|
|
41
|
+
* * Default: ACK managed clusters.
|
|
42
|
+
* * Edge: ACK Edge clusters.
|
|
43
|
+
*
|
|
17
44
|
* @example
|
|
18
45
|
* Default
|
|
19
46
|
*/
|
|
@@ -3,8 +3,18 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeRegionsResponseBodyRegions extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the region.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 华东1(杭州)
|
|
12
|
+
*/
|
|
6
13
|
localName?: string;
|
|
7
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the region.
|
|
17
|
+
*
|
|
8
18
|
* @example
|
|
9
19
|
* cn-hangzhou
|
|
10
20
|
*/
|
|
@@ -33,8 +43,15 @@ export class DescribeRegionsResponseBodyRegions extends $dara.Model {
|
|
|
33
43
|
}
|
|
34
44
|
|
|
35
45
|
export class DescribeRegionsResponseBody extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* A list of available regions.
|
|
49
|
+
*/
|
|
36
50
|
regions?: DescribeRegionsResponseBodyRegions[];
|
|
37
51
|
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The unique ID of the request.
|
|
54
|
+
*
|
|
38
55
|
* @example
|
|
39
56
|
* CE0F23E3-C5F5-5FB3-AA9F-134093C49C60
|
|
40
57
|
*/
|
|
@@ -3,6 +3,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class InstallNodePoolComponentsRequestComponentsConfig extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Custom parameters for the component.
|
|
9
|
+
*/
|
|
6
10
|
customConfig?: { [key: string]: string };
|
|
7
11
|
static names(): { [key: string]: string } {
|
|
8
12
|
return {
|
|
@@ -29,9 +33,15 @@ export class InstallNodePoolComponentsRequestComponentsConfig extends $dara.Mode
|
|
|
29
33
|
}
|
|
30
34
|
|
|
31
35
|
export class InstallNodePoolComponentsRequestComponents extends $dara.Model {
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The configuration details for the component.
|
|
39
|
+
*/
|
|
32
40
|
config?: InstallNodePoolComponentsRequestComponentsConfig;
|
|
33
41
|
/**
|
|
34
42
|
* @remarks
|
|
43
|
+
* The name of the component.
|
|
44
|
+
*
|
|
35
45
|
* This parameter is required.
|
|
36
46
|
*
|
|
37
47
|
* @example
|
|
@@ -39,6 +49,9 @@ export class InstallNodePoolComponentsRequestComponents extends $dara.Model {
|
|
|
39
49
|
*/
|
|
40
50
|
name?: string;
|
|
41
51
|
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The version of the component.
|
|
54
|
+
*
|
|
42
55
|
* @example
|
|
43
56
|
* 1.28.9-aliyun.1
|
|
44
57
|
*/
|
|
@@ -73,16 +86,25 @@ export class InstallNodePoolComponentsRequestComponents extends $dara.Model {
|
|
|
73
86
|
|
|
74
87
|
export class InstallNodePoolComponentsRequestRollingPolicy extends $dara.Model {
|
|
75
88
|
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The time interval between update batches, in seconds.
|
|
91
|
+
*
|
|
76
92
|
* @example
|
|
77
93
|
* 0
|
|
78
94
|
*/
|
|
79
95
|
batchInterval?: number;
|
|
80
96
|
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The maximum number of nodes that can be updated concurrently in each batch. Default: 1.
|
|
99
|
+
*
|
|
81
100
|
* @example
|
|
82
101
|
* 1
|
|
83
102
|
*/
|
|
84
103
|
maxParallelism?: number;
|
|
85
104
|
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The strategy for automatic pausing during the update process. Valid values: NotPause, FirstBatchPause, EveryBatchPause.
|
|
107
|
+
*
|
|
86
108
|
* @example
|
|
87
109
|
* NotPause
|
|
88
110
|
*/
|
|
@@ -113,8 +135,20 @@ export class InstallNodePoolComponentsRequestRollingPolicy extends $dara.Model {
|
|
|
113
135
|
}
|
|
114
136
|
|
|
115
137
|
export class InstallNodePoolComponentsRequest extends $dara.Model {
|
|
138
|
+
/**
|
|
139
|
+
* @remarks
|
|
140
|
+
* A list of node components to be installed.
|
|
141
|
+
*/
|
|
116
142
|
components?: InstallNodePoolComponentsRequestComponents[];
|
|
143
|
+
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* A list of specific node names where the component should be installed. If not specified, the component will be installed on all nodes in the node pool.
|
|
146
|
+
*/
|
|
117
147
|
nodeNames?: string[];
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* Configuration for the rolling update process.
|
|
151
|
+
*/
|
|
118
152
|
rollingPolicy?: InstallNodePoolComponentsRequestRollingPolicy;
|
|
119
153
|
static names(): { [key: string]: string } {
|
|
120
154
|
return {
|
|
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class InstallNodePoolComponentsResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the asynchronous task. You can use this ID to track the installation progress.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* c8155823d057948c69a****
|
|
9
12
|
*/
|
|
10
13
|
clusterId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The unique ID of the request.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 49511F2D-D56A-5C24-B9AE-C8491E09B***
|
|
14
20
|
*/
|
|
15
21
|
requestId?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The task ID.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* T-67d7ec016ce37c0106000***
|
|
19
28
|
*/
|
|
@@ -4,21 +4,33 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListClusterAddonInstanceResourcesResponseBodyHelmRelease extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the Helm chart.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* ack-node-problem-detector
|
|
9
12
|
*/
|
|
10
13
|
chartName?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The version of the Helm chart.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 1.2.28
|
|
14
20
|
*/
|
|
15
21
|
chartVersion?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The namespace where the Helm release is located.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* kube-system
|
|
19
28
|
*/
|
|
20
29
|
namespace?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The name of the Helm release instance.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* ack-node-problem-detector
|
|
24
36
|
*/
|
|
@@ -52,26 +64,41 @@ export class ListClusterAddonInstanceResourcesResponseBodyHelmRelease extends $d
|
|
|
52
64
|
|
|
53
65
|
export class ListClusterAddonInstanceResourcesResponseBodyKubernetesObjects extends $dara.Model {
|
|
54
66
|
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The Kubernetes API group to which the object belongs.
|
|
69
|
+
*
|
|
55
70
|
* @example
|
|
56
71
|
* rbac.authorization.k8s.io
|
|
57
72
|
*/
|
|
58
73
|
group?: string;
|
|
59
74
|
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The Kubernetes API type to which the object belongs.
|
|
77
|
+
*
|
|
60
78
|
* @example
|
|
61
79
|
* ClusterRole
|
|
62
80
|
*/
|
|
63
81
|
kind?: string;
|
|
64
82
|
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The name of the Kubernetes object.
|
|
85
|
+
*
|
|
65
86
|
* @example
|
|
66
87
|
* terway-pod-reader
|
|
67
88
|
*/
|
|
68
89
|
name?: string;
|
|
69
90
|
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The namespace to which the object belongs.
|
|
93
|
+
*
|
|
70
94
|
* @example
|
|
71
95
|
* kube-system
|
|
72
96
|
*/
|
|
73
97
|
namespace?: string;
|
|
74
98
|
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The Kubernetes API version to which the object belongs.
|
|
101
|
+
*
|
|
75
102
|
* @example
|
|
76
103
|
* v1
|
|
77
104
|
*/
|
|
@@ -106,7 +133,15 @@ export class ListClusterAddonInstanceResourcesResponseBodyKubernetesObjects exte
|
|
|
106
133
|
}
|
|
107
134
|
|
|
108
135
|
export class ListClusterAddonInstanceResourcesResponseBody extends $dara.Model {
|
|
136
|
+
/**
|
|
137
|
+
* @remarks
|
|
138
|
+
* Information about the Helm release instance corresponding to the add-on.
|
|
139
|
+
*/
|
|
109
140
|
helmRelease?: ListClusterAddonInstanceResourcesResponseBodyHelmRelease;
|
|
141
|
+
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* A list of Kubernetes objects associated with the add-on.
|
|
144
|
+
*/
|
|
110
145
|
kubernetesObjects?: ListClusterAddonInstanceResourcesResponseBodyKubernetesObjects[];
|
|
111
146
|
static names(): { [key: string]: string } {
|
|
112
147
|
return {
|
|
@@ -8,7 +8,7 @@ export class ListTagResourcesResponseBodyTagResourcesTagResource extends $dara.M
|
|
|
8
8
|
* The ID of the resource.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* c2e39566adf23481fa1164ed510****
|
|
12
12
|
*/
|
|
13
13
|
resourceId?: string;
|
|
14
14
|
/**
|
|
@@ -16,7 +16,7 @@ export class ListTagResourcesResponseBodyTagResourcesTagResource extends $dara.M
|
|
|
16
16
|
* The type of the resource. For more information, see [Labels](https://help.aliyun.com/document_detail/110425.html).
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
* CLUSTER
|
|
19
|
+
* ALIYUN::CS::CLUSTER
|
|
20
20
|
*/
|
|
21
21
|
resourceType?: string;
|
|
22
22
|
/**
|
|
@@ -106,7 +106,7 @@ export class ListTagResourcesResponseBody extends $dara.Model {
|
|
|
106
106
|
* The request ID.
|
|
107
107
|
*
|
|
108
108
|
* @example
|
|
109
|
-
* E368C761-F8F6-4A36-9B58-
|
|
109
|
+
* E368C761-F8F6-4A36-9B58-BD53D5******
|
|
110
110
|
*/
|
|
111
111
|
requestId?: string;
|
|
112
112
|
/**
|
|
@@ -4,11 +4,27 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateKMSEncryptionRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether to disable the Secret-at-rest encryption feature.
|
|
9
|
+
*
|
|
10
|
+
* * `true`: Disables the at-rest encryption feature.
|
|
11
|
+
* * `false`: Enables the at-rest encryption feature.
|
|
12
|
+
*
|
|
7
13
|
* @example
|
|
8
14
|
* false
|
|
9
15
|
*/
|
|
10
16
|
disableEncryption?: boolean;
|
|
11
17
|
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* The KMS key ID used by the Secret-at-rest encryption feature.
|
|
20
|
+
*
|
|
21
|
+
* >Notice: You cannot use a service key. You must use either a master key or a customer master key. The key type must be `Aliyun_AES_256`, and the key usage must be `ENCRYPT/DECRYPT`.
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
*
|
|
26
|
+
* >Warning: During the process of enabling or disabling the at-rest encryption feature and after the feature is successfully enabled, do not disable or delete the KMS key via the KMS console or OpenAPI. Otherwise, the cluster API Server will become unavailable, preventing normal retrieval of objects such as Secrets and ServiceAccounts, which impacts the normal operation of business applications.
|
|
27
|
+
*
|
|
12
28
|
* @example
|
|
13
29
|
* key-abc***
|
|
14
30
|
*/
|
|
@@ -3,6 +3,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class UpdateNodePoolComponentRequestConfig extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Custom configuration parameters for the component.
|
|
9
|
+
*/
|
|
6
10
|
customConfig?: { [key: string]: string };
|
|
7
11
|
static names(): { [key: string]: string } {
|
|
8
12
|
return {
|
|
@@ -30,16 +34,25 @@ export class UpdateNodePoolComponentRequestConfig extends $dara.Model {
|
|
|
30
34
|
|
|
31
35
|
export class UpdateNodePoolComponentRequestRollingPolicy extends $dara.Model {
|
|
32
36
|
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The time interval between update batches, in seconds.
|
|
39
|
+
*
|
|
33
40
|
* @example
|
|
34
41
|
* 0
|
|
35
42
|
*/
|
|
36
43
|
batchInterval?: number;
|
|
37
44
|
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The maximum number of nodes that can be updated concurrently. Default: 1.
|
|
47
|
+
*
|
|
38
48
|
* @example
|
|
39
49
|
* 1
|
|
40
50
|
*/
|
|
41
51
|
maxParallelism?: number;
|
|
42
52
|
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The automatic pause strategy during the update process. Valid values: NotPause, FirstBatchPause, EveryBatchPause.
|
|
55
|
+
*
|
|
43
56
|
* @example
|
|
44
57
|
* NotPause
|
|
45
58
|
*/
|
|
@@ -70,16 +83,38 @@ export class UpdateNodePoolComponentRequestRollingPolicy extends $dara.Model {
|
|
|
70
83
|
}
|
|
71
84
|
|
|
72
85
|
export class UpdateNodePoolComponentRequest extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The configuration details for the component update.
|
|
89
|
+
*/
|
|
73
90
|
config?: UpdateNodePoolComponentRequestConfig;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* Specifies whether to disable rolling updates. Default: false. If set to false, nodes will be rolled automatically to apply the new configuration.
|
|
94
|
+
*/
|
|
74
95
|
disableRolling?: boolean;
|
|
75
96
|
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The name of the node component.
|
|
99
|
+
*
|
|
76
100
|
* @example
|
|
77
101
|
* kubelet
|
|
78
102
|
*/
|
|
79
103
|
name?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* A list of specific nodes to be rolled. If not specified, all nodes in the node pool will be updated.
|
|
107
|
+
*/
|
|
80
108
|
nodeNames?: string[];
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The rolling update configuration.
|
|
112
|
+
*/
|
|
81
113
|
rollingPolicy?: UpdateNodePoolComponentRequestRollingPolicy;
|
|
82
114
|
/**
|
|
115
|
+
* @remarks
|
|
116
|
+
* The version of the node component to be updated to.
|
|
117
|
+
*
|
|
83
118
|
* @example
|
|
84
119
|
* 1.28.9-aliyun.1
|
|
85
120
|
*/
|
|
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateNodePoolComponentResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the cluster.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* c82e6987e2961451182edacd74faf****
|
|
9
12
|
*/
|
|
@@ -17,6 +20,9 @@ export class UpdateNodePoolComponentResponseBody extends $dara.Model {
|
|
|
17
20
|
*/
|
|
18
21
|
requestId?: string;
|
|
19
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The ID of the asynchronous task generated by this operation.
|
|
25
|
+
*
|
|
20
26
|
* @example
|
|
21
27
|
* T-67d7ec016ce37c0106000***
|
|
22
28
|
*/
|