@alicloud/cs20151215 4.7.1 → 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/dist/client.d.ts +14 -0
- package/dist/client.js +24 -1
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +29 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/cs20151215",
|
|
3
|
-
"version": "4.7.
|
|
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.
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
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
|
@@ -9337,6 +9337,7 @@ export class GetClusterAddonInstanceResponse extends $tea.Model {
|
|
|
9337
9337
|
}
|
|
9338
9338
|
|
|
9339
9339
|
export class GetClusterAuditProjectResponseBody extends $tea.Model {
|
|
9340
|
+
auditEnabled?: boolean;
|
|
9340
9341
|
/**
|
|
9341
9342
|
* @example
|
|
9342
9343
|
* k8s-log-cad1230511cbb4db4a488e58518******
|
|
@@ -9344,12 +9345,14 @@ export class GetClusterAuditProjectResponseBody extends $tea.Model {
|
|
|
9344
9345
|
slsProjectName?: string;
|
|
9345
9346
|
static names(): { [key: string]: string } {
|
|
9346
9347
|
return {
|
|
9348
|
+
auditEnabled: 'audit_enabled',
|
|
9347
9349
|
slsProjectName: 'sls_project_name',
|
|
9348
9350
|
};
|
|
9349
9351
|
}
|
|
9350
9352
|
|
|
9351
9353
|
static types(): { [key: string]: any } {
|
|
9352
9354
|
return {
|
|
9355
|
+
auditEnabled: 'boolean',
|
|
9353
9356
|
slsProjectName: 'string',
|
|
9354
9357
|
};
|
|
9355
9358
|
}
|
|
@@ -14415,6 +14418,7 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14415
14418
|
* 1.16.9-aliyun.1
|
|
14416
14419
|
*/
|
|
14417
14420
|
nextVersion?: string;
|
|
14421
|
+
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
14418
14422
|
/**
|
|
14419
14423
|
* @remarks
|
|
14420
14424
|
* This parameter is discontinued. Specify the Kubernetes version by using the next_version parameter.
|
|
@@ -14430,6 +14434,7 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14430
14434
|
componentName: 'component_name',
|
|
14431
14435
|
masterOnly: 'master_only',
|
|
14432
14436
|
nextVersion: 'next_version',
|
|
14437
|
+
rollingPolicy: 'rolling_policy',
|
|
14433
14438
|
version: 'version',
|
|
14434
14439
|
};
|
|
14435
14440
|
}
|
|
@@ -14439,6 +14444,7 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14439
14444
|
componentName: 'string',
|
|
14440
14445
|
masterOnly: 'boolean',
|
|
14441
14446
|
nextVersion: 'string',
|
|
14447
|
+
rollingPolicy: UpgradeClusterRequestRollingPolicy,
|
|
14442
14448
|
version: 'string',
|
|
14443
14449
|
};
|
|
14444
14450
|
}
|
|
@@ -26721,6 +26727,25 @@ export class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
|
26721
26727
|
}
|
|
26722
26728
|
}
|
|
26723
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
|
+
|
|
26724
26749
|
export class UpgradeClusterAddonsRequestBody extends $tea.Model {
|
|
26725
26750
|
/**
|
|
26726
26751
|
* @remarks
|
|
@@ -34112,6 +34137,10 @@ export default class Client extends OpenApi {
|
|
|
34112
34137
|
body["next_version"] = request.nextVersion;
|
|
34113
34138
|
}
|
|
34114
34139
|
|
|
34140
|
+
if (!Util.isUnset(request.rollingPolicy)) {
|
|
34141
|
+
body["rolling_policy"] = request.rollingPolicy;
|
|
34142
|
+
}
|
|
34143
|
+
|
|
34115
34144
|
if (!Util.isUnset(request.version)) {
|
|
34116
34145
|
body["version"] = request.version;
|
|
34117
34146
|
}
|