@alicloud/cs20151215 7.1.1 → 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 +4 -4
- package/dist/client.js +4 -4
- 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/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 +221 -70
- package/dist/models/Nodepool.js +27 -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 +4 -4
- package/src/models/CreateClusterNodePoolRequest.ts +379 -76
- 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 +238 -70
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +40 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +57 -7
- package/src/models/model.ts +9 -0
|
@@ -2,6 +2,46 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class InstallNodePoolComponentsRequestComponentsConfigEnvs 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 InstallNodePoolComponentsRequestComponentsConfig extends $dara.Model {
|
|
6
46
|
/**
|
|
7
47
|
* @remarks
|
|
@@ -11,15 +51,22 @@ export class InstallNodePoolComponentsRequestComponentsConfig extends $dara.Mode
|
|
|
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?: InstallNodePoolComponentsRequestComponentsConfigEnvs[];
|
|
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': InstallNodePoolComponentsRequestComponentsConfigEnvs },
|
|
23
70
|
};
|
|
24
71
|
}
|
|
25
72
|
|
|
@@ -27,6 +74,9 @@ export class InstallNodePoolComponentsRequestComponentsConfig extends $dara.Mode
|
|
|
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
|
|
|
@@ -98,7 +148,7 @@ export class InstallNodePoolComponentsRequestRollingPolicy extends $dara.Model {
|
|
|
98
148
|
batchInterval?: number;
|
|
99
149
|
/**
|
|
100
150
|
* @remarks
|
|
101
|
-
* The maximum number of nodes that are allowed to fail during the rolling process. Default value: 0, which indicates that the task
|
|
151
|
+
* The maximum number of nodes that are allowed to fail during the rolling process. Default value: 0, which indicates that the task is considered failed if any node fails. If the value is greater than 0, the task is considered failed and stops when the cumulative number of failed nodes exceeds this value.
|
|
102
152
|
*
|
|
103
153
|
* @example
|
|
104
154
|
* 0
|
|
@@ -155,7 +205,7 @@ export class InstallNodePoolComponentsRequest extends $dara.Model {
|
|
|
155
205
|
components?: InstallNodePoolComponentsRequestComponents[];
|
|
156
206
|
/**
|
|
157
207
|
* @remarks
|
|
158
|
-
* The list of node names for the rolling operation.
|
|
208
|
+
* The list of node names for the rolling operation. By default, all nodes are included.
|
|
159
209
|
*/
|
|
160
210
|
nodeNames?: string[];
|
|
161
211
|
/**
|
|
@@ -2,21 +2,58 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class ListNodePoolComponentInstancesResponseBodyComponentInstancesConfigEnvs 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 ListNodePoolComponentInstancesResponseBodyComponentInstancesConfig extends $dara.Model {
|
|
6
40
|
/**
|
|
7
41
|
* @example
|
|
8
42
|
* {"cpuManagerPolicy":"static"}
|
|
9
43
|
*/
|
|
10
44
|
customConfig?: { [key: string]: any };
|
|
45
|
+
envs?: ListNodePoolComponentInstancesResponseBodyComponentInstancesConfigEnvs[];
|
|
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': ListNodePoolComponentInstancesResponseBodyComponentInstancesConfigEnvs },
|
|
20
57
|
};
|
|
21
58
|
}
|
|
22
59
|
|
|
@@ -24,6 +61,9 @@ export class ListNodePoolComponentInstancesResponseBodyComponentInstancesConfig
|
|
|
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
|
|