@alicloud/cs20151215 4.7.2 → 4.7.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cs20151215",
3
- "version": "4.7.2",
3
+ "version": "4.7.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
@@ -20,8 +20,8 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@alicloud/tea-typescript": "^1.7.1",
23
- "@alicloud/tea-util": "^1.4.8",
24
- "@alicloud/openapi-client": "^0.4.10",
23
+ "@alicloud/tea-util": "^1.4.9",
24
+ "@alicloud/openapi-client": "^0.4.11",
25
25
  "@alicloud/openapi-util": "^0.3.2",
26
26
  "@alicloud/endpoint-util": "^0.0.1"
27
27
  },
package/src/client.ts CHANGED
@@ -14418,6 +14418,7 @@ export class UpgradeClusterRequest extends $tea.Model {
14418
14418
  * 1.16.9-aliyun.1
14419
14419
  */
14420
14420
  nextVersion?: string;
14421
+ rollingPolicy?: UpgradeClusterRequestRollingPolicy;
14421
14422
  /**
14422
14423
  * @remarks
14423
14424
  * This parameter is discontinued. Specify the Kubernetes version by using the next_version parameter.
@@ -14433,6 +14434,7 @@ export class UpgradeClusterRequest extends $tea.Model {
14433
14434
  componentName: 'component_name',
14434
14435
  masterOnly: 'master_only',
14435
14436
  nextVersion: 'next_version',
14437
+ rollingPolicy: 'rolling_policy',
14436
14438
  version: 'version',
14437
14439
  };
14438
14440
  }
@@ -14442,6 +14444,7 @@ export class UpgradeClusterRequest extends $tea.Model {
14442
14444
  componentName: 'string',
14443
14445
  masterOnly: 'boolean',
14444
14446
  nextVersion: 'string',
14447
+ rollingPolicy: UpgradeClusterRequestRollingPolicy,
14445
14448
  version: 'string',
14446
14449
  };
14447
14450
  }
@@ -26724,6 +26727,25 @@ export class UpdateUserPermissionsRequestBody extends $tea.Model {
26724
26727
  }
26725
26728
  }
26726
26729
 
26730
+ export class UpgradeClusterRequestRollingPolicy extends $tea.Model {
26731
+ maxParallelism?: number;
26732
+ static names(): { [key: string]: string } {
26733
+ return {
26734
+ maxParallelism: 'max_parallelism',
26735
+ };
26736
+ }
26737
+
26738
+ static types(): { [key: string]: any } {
26739
+ return {
26740
+ maxParallelism: 'number',
26741
+ };
26742
+ }
26743
+
26744
+ constructor(map?: { [key: string]: any }) {
26745
+ super(map);
26746
+ }
26747
+ }
26748
+
26727
26749
  export class UpgradeClusterAddonsRequestBody extends $tea.Model {
26728
26750
  /**
26729
26751
  * @remarks
@@ -34115,6 +34137,10 @@ export default class Client extends OpenApi {
34115
34137
  body["next_version"] = request.nextVersion;
34116
34138
  }
34117
34139
 
34140
+ if (!Util.isUnset(request.rollingPolicy)) {
34141
+ body["rolling_policy"] = request.rollingPolicy;
34142
+ }
34143
+
34118
34144
  if (!Util.isUnset(request.version)) {
34119
34145
  body["version"] = request.version;
34120
34146
  }