@alicloud/cs20151215 3.3.4 → 3.3.5
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 +1 -0
- package/dist/client.js +5 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/cs20151215",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.7",
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.8",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -7711,12 +7711,14 @@ export class UpgradeClusterNodepoolRequest extends $tea.Model {
|
|
|
7711
7711
|
kubernetesVersion?: string;
|
|
7712
7712
|
runtimeType?: string;
|
|
7713
7713
|
runtimeVersion?: string;
|
|
7714
|
+
useReplace?: boolean;
|
|
7714
7715
|
static names(): { [key: string]: string } {
|
|
7715
7716
|
return {
|
|
7716
7717
|
imageId: 'image_id',
|
|
7717
7718
|
kubernetesVersion: 'kubernetes_version',
|
|
7718
7719
|
runtimeType: 'runtime_type',
|
|
7719
7720
|
runtimeVersion: 'runtime_version',
|
|
7721
|
+
useReplace: 'use_replace',
|
|
7720
7722
|
};
|
|
7721
7723
|
}
|
|
7722
7724
|
|
|
@@ -7726,6 +7728,7 @@ export class UpgradeClusterNodepoolRequest extends $tea.Model {
|
|
|
7726
7728
|
kubernetesVersion: 'string',
|
|
7727
7729
|
runtimeType: 'string',
|
|
7728
7730
|
runtimeVersion: 'string',
|
|
7731
|
+
useReplace: 'boolean',
|
|
7729
7732
|
};
|
|
7730
7733
|
}
|
|
7731
7734
|
|
|
@@ -17975,6 +17978,10 @@ export default class Client extends OpenApi {
|
|
|
17975
17978
|
body["runtime_version"] = request.runtimeVersion;
|
|
17976
17979
|
}
|
|
17977
17980
|
|
|
17981
|
+
if (!Util.isUnset(request.useReplace)) {
|
|
17982
|
+
body["use_replace"] = request.useReplace;
|
|
17983
|
+
}
|
|
17984
|
+
|
|
17978
17985
|
let req = new $OpenApi.OpenApiRequest({
|
|
17979
17986
|
headers: headers,
|
|
17980
17987
|
body: OpenApiUtil.parseToMap(body),
|