@alicloud/cs20151215 7.1.0 → 7.1.2
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 +18 -6
- package/dist/client.js +18 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +361 -75
- package/dist/models/CreateClusterNodePoolRequest.js +27 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +345 -70
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +23 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js +27 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +250 -94
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +27 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +267 -88
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +27 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +35 -2
- package/dist/models/InstallNodePoolComponentsRequest.js +27 -1
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +23 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js +27 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -1
- package/dist/models/Nodepool.d.ts +225 -55
- package/dist/models/Nodepool.js +33 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +23 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js +27 -1
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +40 -7
- package/dist/models/UpdateNodePoolComponentRequest.js +27 -1
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +110 -92
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -6
- package/src/models/CreateClusterNodePoolRequest.ts +379 -76
- package/src/models/CreateClusterRequest.ts +345 -70
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +40 -0
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +267 -94
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +284 -88
- package/src/models/InstallNodePoolComponentsRequest.ts +52 -2
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +40 -0
- package/src/models/Nodepool.ts +247 -55
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +40 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +57 -7
- package/src/models/model.ts +9 -0
|
@@ -2,21 +2,58 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class UpdateNodePoolComponentInstanceRequestConfigEnvs extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* LOG_LEVEL
|
|
9
|
+
*/
|
|
10
|
+
name?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* info
|
|
14
|
+
*/
|
|
15
|
+
value?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
name: 'name',
|
|
19
|
+
value: 'value',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
name: 'string',
|
|
26
|
+
value: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
5
39
|
export class UpdateNodePoolComponentInstanceRequestConfig extends $dara.Model {
|
|
6
40
|
/**
|
|
7
41
|
* @example
|
|
8
42
|
* {"cpuManagerPolicy":"static"}
|
|
9
43
|
*/
|
|
10
44
|
customConfig?: { [key: string]: any };
|
|
45
|
+
envs?: UpdateNodePoolComponentInstanceRequestConfigEnvs[];
|
|
11
46
|
static names(): { [key: string]: string } {
|
|
12
47
|
return {
|
|
13
48
|
customConfig: 'custom_config',
|
|
49
|
+
envs: 'envs',
|
|
14
50
|
};
|
|
15
51
|
}
|
|
16
52
|
|
|
17
53
|
static types(): { [key: string]: any } {
|
|
18
54
|
return {
|
|
19
55
|
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
56
|
+
envs: { 'type': 'array', 'itemType': UpdateNodePoolComponentInstanceRequestConfigEnvs },
|
|
20
57
|
};
|
|
21
58
|
}
|
|
22
59
|
|
|
@@ -24,6 +61,9 @@ export class UpdateNodePoolComponentInstanceRequestConfig extends $dara.Model {
|
|
|
24
61
|
if(this.customConfig) {
|
|
25
62
|
$dara.Model.validateMap(this.customConfig);
|
|
26
63
|
}
|
|
64
|
+
if(Array.isArray(this.envs)) {
|
|
65
|
+
$dara.Model.validateArray(this.envs);
|
|
66
|
+
}
|
|
27
67
|
super.validate();
|
|
28
68
|
}
|
|
29
69
|
|
|
@@ -2,6 +2,46 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class UpdateNodePoolComponentRequestConfigEnvs extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the environment variable.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* LOG_LEVEL
|
|
12
|
+
*/
|
|
13
|
+
name?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The value of the environment variable.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* info
|
|
20
|
+
*/
|
|
21
|
+
value?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
name: 'name',
|
|
25
|
+
value: 'value',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
name: 'string',
|
|
32
|
+
value: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
5
45
|
export class UpdateNodePoolComponentRequestConfig extends $dara.Model {
|
|
6
46
|
/**
|
|
7
47
|
* @remarks
|
|
@@ -11,15 +51,22 @@ export class UpdateNodePoolComponentRequestConfig extends $dara.Model {
|
|
|
11
51
|
* {"cpuManagerPolicy":"static"}
|
|
12
52
|
*/
|
|
13
53
|
customConfig?: { [key: string]: any };
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The environment variables of the node component.
|
|
57
|
+
*/
|
|
58
|
+
envs?: UpdateNodePoolComponentRequestConfigEnvs[];
|
|
14
59
|
static names(): { [key: string]: string } {
|
|
15
60
|
return {
|
|
16
61
|
customConfig: 'customConfig',
|
|
62
|
+
envs: 'envs',
|
|
17
63
|
};
|
|
18
64
|
}
|
|
19
65
|
|
|
20
66
|
static types(): { [key: string]: any } {
|
|
21
67
|
return {
|
|
22
68
|
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
69
|
+
envs: { 'type': 'array', 'itemType': UpdateNodePoolComponentRequestConfigEnvs },
|
|
23
70
|
};
|
|
24
71
|
}
|
|
25
72
|
|
|
@@ -27,6 +74,9 @@ export class UpdateNodePoolComponentRequestConfig extends $dara.Model {
|
|
|
27
74
|
if(this.customConfig) {
|
|
28
75
|
$dara.Model.validateMap(this.customConfig);
|
|
29
76
|
}
|
|
77
|
+
if(Array.isArray(this.envs)) {
|
|
78
|
+
$dara.Model.validateArray(this.envs);
|
|
79
|
+
}
|
|
30
80
|
super.validate();
|
|
31
81
|
}
|
|
32
82
|
|
|
@@ -38,7 +88,7 @@ export class UpdateNodePoolComponentRequestConfig extends $dara.Model {
|
|
|
38
88
|
export class UpdateNodePoolComponentRequestRollingPolicy extends $dara.Model {
|
|
39
89
|
/**
|
|
40
90
|
* @remarks
|
|
41
|
-
* The interval between batches
|
|
91
|
+
* The upgrade interval between batches. Unit: seconds.
|
|
42
92
|
*
|
|
43
93
|
* @example
|
|
44
94
|
* 0
|
|
@@ -46,7 +96,7 @@ export class UpdateNodePoolComponentRequestRollingPolicy extends $dara.Model {
|
|
|
46
96
|
batchInterval?: number;
|
|
47
97
|
/**
|
|
48
98
|
* @remarks
|
|
49
|
-
* The maximum number of nodes that
|
|
99
|
+
* The maximum number of nodes that can fail during the rolling update. Default value: 0, which means the task fails if any node fails. If the value is greater than 0, the task fails and stops when the cumulative number of failed nodes exceeds this value.
|
|
50
100
|
*
|
|
51
101
|
* @example
|
|
52
102
|
* 0
|
|
@@ -54,7 +104,7 @@ export class UpdateNodePoolComponentRequestRollingPolicy extends $dara.Model {
|
|
|
54
104
|
maxFailedNodes?: number;
|
|
55
105
|
/**
|
|
56
106
|
* @remarks
|
|
57
|
-
* The maximum number of
|
|
107
|
+
* The maximum number of parallel operations per batch. Default value: 1.
|
|
58
108
|
*
|
|
59
109
|
* @example
|
|
60
110
|
* 1
|
|
@@ -62,7 +112,7 @@ export class UpdateNodePoolComponentRequestRollingPolicy extends $dara.Model {
|
|
|
62
112
|
maxParallelism?: number;
|
|
63
113
|
/**
|
|
64
114
|
* @remarks
|
|
65
|
-
* The automatic pause policy during
|
|
115
|
+
* The automatic pause policy during node upgrade.
|
|
66
116
|
*
|
|
67
117
|
* @example
|
|
68
118
|
* NotPause
|
|
@@ -103,7 +153,7 @@ export class UpdateNodePoolComponentRequest extends $dara.Model {
|
|
|
103
153
|
config?: UpdateNodePoolComponentRequestConfig;
|
|
104
154
|
/**
|
|
105
155
|
* @remarks
|
|
106
|
-
* Specifies whether to disable
|
|
156
|
+
* Specifies whether to disable log rotation. Default value: false. Updating the baseline configuration triggers log rotation on nodes.
|
|
107
157
|
*/
|
|
108
158
|
disableRolling?: boolean;
|
|
109
159
|
/**
|
|
@@ -116,12 +166,12 @@ export class UpdateNodePoolComponentRequest extends $dara.Model {
|
|
|
116
166
|
name?: string;
|
|
117
167
|
/**
|
|
118
168
|
* @remarks
|
|
119
|
-
* The list of nodes
|
|
169
|
+
* The list of nodes for log rotation. By default, all nodes are included.
|
|
120
170
|
*/
|
|
121
171
|
nodeNames?: string[];
|
|
122
172
|
/**
|
|
123
173
|
* @remarks
|
|
124
|
-
* The
|
|
174
|
+
* The log rotation configuration.
|
|
125
175
|
*/
|
|
126
176
|
rollingPolicy?: UpdateNodePoolComponentRequestRollingPolicy;
|
|
127
177
|
/**
|
package/src/models/model.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { NodepoolManagementAutoUpgradePolicy } from './Nodepool';
|
|
|
8
8
|
export { NodepoolManagementAutoVulFixPolicy } from './Nodepool';
|
|
9
9
|
export { NodepoolManagementUpgradeConfig } from './Nodepool';
|
|
10
10
|
export { NodepoolManagement } from './Nodepool';
|
|
11
|
+
export { NodepoolNodeComponentsConfigEnvs } from './Nodepool';
|
|
11
12
|
export { NodepoolNodeComponentsConfig } from './Nodepool';
|
|
12
13
|
export { NodepoolNodeComponents } from './Nodepool';
|
|
13
14
|
export { NodepoolNodeConfig } from './Nodepool';
|
|
@@ -48,6 +49,7 @@ export { CreateClusterNodePoolRequestManagementAutoUpgradePolicy } from './Creat
|
|
|
48
49
|
export { CreateClusterNodePoolRequestManagementAutoVulFixPolicy } from './CreateClusterNodePoolRequest';
|
|
49
50
|
export { CreateClusterNodePoolRequestManagementUpgradeConfig } from './CreateClusterNodePoolRequest';
|
|
50
51
|
export { CreateClusterNodePoolRequestManagement } from './CreateClusterNodePoolRequest';
|
|
52
|
+
export { CreateClusterNodePoolRequestNodeComponentsConfigEnvs } from './CreateClusterNodePoolRequest';
|
|
51
53
|
export { CreateClusterNodePoolRequestNodeComponentsConfig } from './CreateClusterNodePoolRequest';
|
|
52
54
|
export { CreateClusterNodePoolRequestNodeComponents } from './CreateClusterNodePoolRequest';
|
|
53
55
|
export { CreateClusterNodePoolRequestNodeConfig } from './CreateClusterNodePoolRequest';
|
|
@@ -59,6 +61,7 @@ export { CreateClusterNodePoolRequestScalingGroupSpotPriceLimit } from './Create
|
|
|
59
61
|
export { CreateClusterNodePoolRequestScalingGroupTags } from './CreateClusterNodePoolRequest';
|
|
60
62
|
export { CreateClusterNodePoolRequestScalingGroup } from './CreateClusterNodePoolRequest';
|
|
61
63
|
export { CreateClusterNodePoolRequestTeeConfig } from './CreateClusterNodePoolRequest';
|
|
64
|
+
export { CreateNodePoolComponentInstancesRequestComponentsConfigEnvs } from './CreateNodePoolComponentInstancesRequest';
|
|
62
65
|
export { CreateNodePoolComponentInstancesRequestComponentsConfig } from './CreateNodePoolComponentInstancesRequest';
|
|
63
66
|
export { CreateNodePoolComponentInstancesRequestComponents } from './CreateNodePoolComponentInstancesRequest';
|
|
64
67
|
export { CreateNodePoolComponentInstancesRequestRollingPolicy } from './CreateNodePoolComponentInstancesRequest';
|
|
@@ -97,6 +100,7 @@ export { DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy }
|
|
|
97
100
|
export { DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy } from './DescribeClusterNodePoolDetailResponseBody';
|
|
98
101
|
export { DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig } from './DescribeClusterNodePoolDetailResponseBody';
|
|
99
102
|
export { DescribeClusterNodePoolDetailResponseBodyManagement } from './DescribeClusterNodePoolDetailResponseBody';
|
|
103
|
+
export { DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfigEnvs } from './DescribeClusterNodePoolDetailResponseBody';
|
|
100
104
|
export { DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig } from './DescribeClusterNodePoolDetailResponseBody';
|
|
101
105
|
export { DescribeClusterNodePoolDetailResponseBodyNodeComponents } from './DescribeClusterNodePoolDetailResponseBody';
|
|
102
106
|
export { DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig } from './DescribeClusterNodePoolDetailResponseBody';
|
|
@@ -120,6 +124,7 @@ export { DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolic
|
|
|
120
124
|
export { DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy } from './DescribeClusterNodePoolsResponseBody';
|
|
121
125
|
export { DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig } from './DescribeClusterNodePoolsResponseBody';
|
|
122
126
|
export { DescribeClusterNodePoolsResponseBodyNodepoolsManagement } from './DescribeClusterNodePoolsResponseBody';
|
|
127
|
+
export { DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfigEnvs } from './DescribeClusterNodePoolsResponseBody';
|
|
123
128
|
export { DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig } from './DescribeClusterNodePoolsResponseBody';
|
|
124
129
|
export { DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents } from './DescribeClusterNodePoolsResponseBody';
|
|
125
130
|
export { DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfigNodeOsConfig } from './DescribeClusterNodePoolsResponseBody';
|
|
@@ -196,6 +201,7 @@ export { GetKubernetesTriggerResponseBody } from './GetKubernetesTriggerResponse
|
|
|
196
201
|
export { GetUpgradeStatusResponseBodyUpgradeTask } from './GetUpgradeStatusResponseBody';
|
|
197
202
|
export { GrantPermissionsRequestBody } from './GrantPermissionsRequest';
|
|
198
203
|
export { InstallClusterAddonsRequestBody } from './InstallClusterAddonsRequest';
|
|
204
|
+
export { InstallNodePoolComponentsRequestComponentsConfigEnvs } from './InstallNodePoolComponentsRequest';
|
|
199
205
|
export { InstallNodePoolComponentsRequestComponentsConfig } from './InstallNodePoolComponentsRequest';
|
|
200
206
|
export { InstallNodePoolComponentsRequestComponents } from './InstallNodePoolComponentsRequest';
|
|
201
207
|
export { InstallNodePoolComponentsRequestRollingPolicy } from './InstallNodePoolComponentsRequest';
|
|
@@ -216,6 +222,7 @@ export { ListClusterInspectReportsResponseBodyReports } from './ListClusterInspe
|
|
|
216
222
|
export { ListClusterKubeconfigStatesResponseBodyPage } from './ListClusterKubeconfigStatesResponseBody';
|
|
217
223
|
export { ListClusterKubeconfigStatesResponseBodyStatesCloudServiceRoles } from './ListClusterKubeconfigStatesResponseBody';
|
|
218
224
|
export { ListClusterKubeconfigStatesResponseBodyStates } from './ListClusterKubeconfigStatesResponseBody';
|
|
225
|
+
export { ListNodePoolComponentInstancesResponseBodyComponentInstancesConfigEnvs } from './ListNodePoolComponentInstancesResponseBody';
|
|
219
226
|
export { ListNodePoolComponentInstancesResponseBodyComponentInstancesConfig } from './ListNodePoolComponentInstancesResponseBody';
|
|
220
227
|
export { ListNodePoolComponentInstancesResponseBodyComponentInstances } from './ListNodePoolComponentInstancesResponseBody';
|
|
221
228
|
export { ListNodePoolComponentsResponseBodyComponents } from './ListNodePoolComponentsResponseBody';
|
|
@@ -259,8 +266,10 @@ export { ModifyNodePoolNodeConfigRequestRollingPolicy } from './ModifyNodePoolNo
|
|
|
259
266
|
export { RepairClusterNodePoolRequestOperations } from './RepairClusterNodePoolRequest';
|
|
260
267
|
export { ScaleOutClusterRequestWorkerDataDisks } from './ScaleOutClusterRequest';
|
|
261
268
|
export { UnInstallClusterAddonsRequestAddons } from './UnInstallClusterAddonsRequest';
|
|
269
|
+
export { UpdateNodePoolComponentRequestConfigEnvs } from './UpdateNodePoolComponentRequest';
|
|
262
270
|
export { UpdateNodePoolComponentRequestConfig } from './UpdateNodePoolComponentRequest';
|
|
263
271
|
export { UpdateNodePoolComponentRequestRollingPolicy } from './UpdateNodePoolComponentRequest';
|
|
272
|
+
export { UpdateNodePoolComponentInstanceRequestConfigEnvs } from './UpdateNodePoolComponentInstanceRequest';
|
|
264
273
|
export { UpdateNodePoolComponentInstanceRequestConfig } from './UpdateNodePoolComponentInstanceRequest';
|
|
265
274
|
export { UpdateNodePoolComponentInstanceRequestRollingPolicy } from './UpdateNodePoolComponentInstanceRequest';
|
|
266
275
|
export { UpdateUserPermissionsRequestBody } from './UpdateUserPermissionsRequest';
|