@alicloud/cs20151215 4.0.0 → 4.0.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 +15 -0
- package/dist/client.js +1392 -1358
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +26 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/cs20151215",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"author": "Alibaba Cloud SDK",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@types/node": "^
|
|
15
|
+
"@types/node": "^16.0.0",
|
|
16
16
|
"nyc": "^15.0.0",
|
|
17
17
|
"source-map-support": "^0.5.16",
|
|
18
|
-
"ts-node": "^
|
|
19
|
-
"typescript": "^
|
|
18
|
+
"ts-node": "^10.0.0",
|
|
19
|
+
"typescript": "^5"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
package/src/client.ts
CHANGED
|
@@ -6002,10 +6002,12 @@ export class ModifyClusterTagsResponse extends $tea.Model {
|
|
|
6002
6002
|
|
|
6003
6003
|
export class ModifyNodePoolNodeConfigRequest extends $tea.Model {
|
|
6004
6004
|
kubeletConfig?: KubeletConfig;
|
|
6005
|
+
osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
|
|
6005
6006
|
rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
|
|
6006
6007
|
static names(): { [key: string]: string } {
|
|
6007
6008
|
return {
|
|
6008
6009
|
kubeletConfig: 'kubelet_config',
|
|
6010
|
+
osConfig: 'os_config',
|
|
6009
6011
|
rollingPolicy: 'rolling_policy',
|
|
6010
6012
|
};
|
|
6011
6013
|
}
|
|
@@ -6013,6 +6015,7 @@ export class ModifyNodePoolNodeConfigRequest extends $tea.Model {
|
|
|
6013
6015
|
static types(): { [key: string]: any } {
|
|
6014
6016
|
return {
|
|
6015
6017
|
kubeletConfig: KubeletConfig,
|
|
6018
|
+
osConfig: ModifyNodePoolNodeConfigRequestOsConfig,
|
|
6016
6019
|
rollingPolicy: ModifyNodePoolNodeConfigRequestRollingPolicy,
|
|
6017
6020
|
};
|
|
6018
6021
|
}
|
|
@@ -12943,6 +12946,25 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
12943
12946
|
}
|
|
12944
12947
|
}
|
|
12945
12948
|
|
|
12949
|
+
export class ModifyNodePoolNodeConfigRequestOsConfig extends $tea.Model {
|
|
12950
|
+
sysctl?: { [key: string]: any };
|
|
12951
|
+
static names(): { [key: string]: string } {
|
|
12952
|
+
return {
|
|
12953
|
+
sysctl: 'sysctl',
|
|
12954
|
+
};
|
|
12955
|
+
}
|
|
12956
|
+
|
|
12957
|
+
static types(): { [key: string]: any } {
|
|
12958
|
+
return {
|
|
12959
|
+
sysctl: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
12960
|
+
};
|
|
12961
|
+
}
|
|
12962
|
+
|
|
12963
|
+
constructor(map?: { [key: string]: any }) {
|
|
12964
|
+
super(map);
|
|
12965
|
+
}
|
|
12966
|
+
}
|
|
12967
|
+
|
|
12946
12968
|
export class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.Model {
|
|
12947
12969
|
maxParallelism?: number;
|
|
12948
12970
|
static names(): { [key: string]: string } {
|
|
@@ -17008,6 +17030,10 @@ export default class Client extends OpenApi {
|
|
|
17008
17030
|
body["kubelet_config"] = request.kubeletConfig;
|
|
17009
17031
|
}
|
|
17010
17032
|
|
|
17033
|
+
if (!Util.isUnset(request.osConfig)) {
|
|
17034
|
+
body["os_config"] = request.osConfig;
|
|
17035
|
+
}
|
|
17036
|
+
|
|
17011
17037
|
if (!Util.isUnset(request.rollingPolicy)) {
|
|
17012
17038
|
body["rolling_policy"] = request.rollingPolicy;
|
|
17013
17039
|
}
|