@alicloud/cs20151215 4.9.0 → 4.9.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 +40 -34
- package/dist/client.js +43 -34
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +8 -0
- package/dist/models/CreateClusterInspectConfigRequest.js.map +1 -1
- package/dist/models/CreateClusterInspectConfigResponseBody.d.ts +3 -0
- package/dist/models/CreateClusterInspectConfigResponseBody.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +2 -0
- package/dist/models/CreateClusterRequest.js +6 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterRequestAuditLogConfig.d.ts +15 -0
- package/dist/models/CreateClusterRequestAuditLogConfig.js +60 -0
- package/dist/models/CreateClusterRequestAuditLogConfig.js.map +1 -0
- package/dist/models/CreateTemplateRequest.d.ts +2 -4
- package/dist/models/CreateTemplateRequest.js.map +1 -1
- package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterInspectConfigResponseBody.d.ts +3 -0
- package/dist/models/DeleteClusterInspectConfigResponseBody.js.map +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +11 -9
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +3 -11
- package/dist/models/DescribeAddonResponseBody.js.map +1 -1
- package/dist/models/DescribeAddonResponseBodyNewerVersions.d.ts +4 -1
- package/dist/models/DescribeAddonResponseBodyNewerVersions.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +17 -23
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBodyControlPlaneConfig.d.ts +2 -2
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBodyAutoMode.d.ts +4 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBodyAutoMode.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBodyScalingGroup.d.ts +6 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBodyScalingGroup.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepools.d.ts +9 -6
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepools.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling.d.ts +9 -5
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig.d.ts +14 -8
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagement.d.ts +8 -2
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagement.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy.d.ts +4 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy.d.ts +4 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy.d.ts +8 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo.d.ts +6 -7
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup.d.ts +65 -30
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +6 -4
- package/dist/models/DescribeClusterUserKubeconfigRequest.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +4 -4
- package/dist/models/DescribeClustersV1responseBodyClusters.d.ts +14 -36
- package/dist/models/DescribeClustersV1responseBodyClusters.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +6 -3
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponseBody.d.ts +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponseBodyImages.d.ts +3 -3
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +5 -2
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribeNodePoolVulsResponseBodyVulRecords.d.ts +1 -1
- package/dist/models/DescribeUserPermissionResponseBody.d.ts +1 -1
- package/dist/models/GetClusterCheckResponseBody.d.ts +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +1 -1
- package/dist/models/InstallClusterAddonsRequestBody.d.ts +6 -8
- package/dist/models/InstallClusterAddonsRequestBody.js.map +1 -1
- package/dist/models/InstallClusterAddonsResponseBody.d.ts +5 -5
- package/dist/models/ListClusterInspectReportsRequest.d.ts +6 -0
- package/dist/models/ListClusterInspectReportsRequest.js.map +1 -1
- package/dist/models/ListClusterInspectReportsResponseBody.d.ts +10 -0
- package/dist/models/ListClusterInspectReportsResponseBody.js.map +1 -1
- package/dist/models/ListClusterInspectReportsResponseBodyReports.d.ts +16 -0
- package/dist/models/ListClusterInspectReportsResponseBodyReports.js.map +1 -1
- package/dist/models/ListClusterInspectReportsResponseBodyReportsSummary.d.ts +15 -0
- package/dist/models/ListClusterInspectReportsResponseBodyReportsSummary.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +5 -5
- package/dist/models/ModifyClusterNodePoolRequestAutoScaling.d.ts +30 -14
- package/dist/models/ModifyClusterNodePoolRequestAutoScaling.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestKubernetesConfig.d.ts +16 -7
- package/dist/models/ModifyClusterNodePoolRequestKubernetesConfig.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestManagement.d.ts +10 -8
- package/dist/models/ModifyClusterNodePoolRequestManagement.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestManagementAutoRepairPolicy.d.ts +2 -2
- package/dist/models/ModifyClusterNodePoolRequestManagementAutoUpgradePolicy.d.ts +7 -7
- package/dist/models/ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.d.ts +9 -3
- package/dist/models/ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestManagementUpgradeConfig.d.ts +12 -6
- package/dist/models/ModifyClusterNodePoolRequestManagementUpgradeConfig.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestNodepoolInfo.d.ts +4 -2
- package/dist/models/ModifyClusterNodePoolRequestNodepoolInfo.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestScalingGroup.d.ts +77 -43
- package/dist/models/ModifyClusterNodePoolRequestScalingGroup.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions.d.ts +4 -4
- package/dist/models/ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit.d.ts +2 -2
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +6 -2
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequestOsConfig.d.ts +1 -1
- package/dist/models/RunClusterCheckRequest.d.ts +12 -3
- package/dist/models/RunClusterCheckRequest.js.map +1 -1
- package/dist/models/RunClusterInspectRequest.d.ts +3 -0
- package/dist/models/RunClusterInspectRequest.js.map +1 -1
- package/dist/models/RunClusterInspectResponseBody.d.ts +9 -0
- package/dist/models/RunClusterInspectResponseBody.js.map +1 -1
- package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/UnInstallClusterAddonsRequest.d.ts +1 -1
- package/dist/models/UnInstallClusterAddonsRequestAddons.d.ts +4 -4
- package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/UpdateClusterInspectConfigRequest.d.ts +10 -0
- package/dist/models/UpdateClusterInspectConfigRequest.js.map +1 -1
- package/dist/models/UpdateClusterInspectConfigResponseBody.d.ts +3 -0
- package/dist/models/UpdateClusterInspectConfigResponseBody.js.map +1 -1
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +3 -3
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +13 -11
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +44 -34
- package/src/models/CreateClusterInspectConfigRequest.ts +8 -0
- package/src/models/CreateClusterInspectConfigResponseBody.ts +3 -0
- package/src/models/CreateClusterRequest.ts +7 -0
- package/src/models/CreateClusterRequestAuditLogConfig.ts +30 -0
- package/src/models/CreateTemplateRequest.ts +2 -4
- package/src/models/CreateTriggerResponseBody.ts +3 -3
- package/src/models/DeleteClusterInspectConfigResponseBody.ts +3 -0
- package/src/models/DeleteClusterNodesRequest.ts +11 -9
- package/src/models/DeleteClusterNodesResponseBody.ts +1 -1
- package/src/models/DescribeAddonResponseBody.ts +3 -11
- package/src/models/DescribeAddonResponseBodyNewerVersions.ts +4 -1
- package/src/models/DescribeClusterDetailResponseBody.ts +17 -23
- package/src/models/DescribeClusterDetailResponseBodyControlPlaneConfig.ts +2 -2
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +1 -1
- package/src/models/DescribeClusterNodePoolDetailResponseBodyAutoMode.ts +4 -0
- package/src/models/DescribeClusterNodePoolDetailResponseBodyScalingGroup.ts +6 -1
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepools.ts +9 -6
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling.ts +9 -5
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig.ts +14 -8
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagement.ts +8 -2
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy.ts +4 -1
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy.ts +4 -1
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy.ts +8 -1
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo.ts +6 -7
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup.ts +65 -30
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +6 -4
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
- package/src/models/DescribeClusterVulsResponseBody.ts +1 -1
- package/src/models/DescribeClustersV1request.ts +4 -4
- package/src/models/DescribeClustersV1responseBodyClusters.ts +14 -36
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +6 -3
- package/src/models/DescribeKubernetesVersionMetadataResponseBody.ts +1 -1
- package/src/models/DescribeKubernetesVersionMetadataResponseBodyImages.ts +3 -3
- package/src/models/DescribeNodePoolVulsResponseBody.ts +5 -2
- package/src/models/DescribeNodePoolVulsResponseBodyVulRecords.ts +1 -1
- package/src/models/DescribeUserPermissionResponseBody.ts +1 -1
- package/src/models/GetClusterCheckResponseBody.ts +1 -1
- package/src/models/InstallClusterAddonsRequest.ts +1 -1
- package/src/models/InstallClusterAddonsRequestBody.ts +6 -8
- package/src/models/InstallClusterAddonsResponseBody.ts +5 -5
- package/src/models/ListClusterInspectReportsRequest.ts +6 -0
- package/src/models/ListClusterInspectReportsResponseBody.ts +10 -0
- package/src/models/ListClusterInspectReportsResponseBodyReports.ts +16 -0
- package/src/models/ListClusterInspectReportsResponseBodyReportsSummary.ts +15 -0
- package/src/models/ModifyClusterNodePoolRequest.ts +5 -5
- package/src/models/ModifyClusterNodePoolRequestAutoScaling.ts +30 -14
- package/src/models/ModifyClusterNodePoolRequestKubernetesConfig.ts +16 -7
- package/src/models/ModifyClusterNodePoolRequestManagement.ts +10 -8
- package/src/models/ModifyClusterNodePoolRequestManagementAutoRepairPolicy.ts +2 -2
- package/src/models/ModifyClusterNodePoolRequestManagementAutoUpgradePolicy.ts +7 -7
- package/src/models/ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.ts +9 -3
- package/src/models/ModifyClusterNodePoolRequestManagementUpgradeConfig.ts +12 -6
- package/src/models/ModifyClusterNodePoolRequestNodepoolInfo.ts +4 -2
- package/src/models/ModifyClusterNodePoolRequestScalingGroup.ts +77 -43
- package/src/models/ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions.ts +4 -4
- package/src/models/ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit.ts +2 -2
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +6 -2
- package/src/models/ModifyNodePoolNodeConfigRequestOsConfig.ts +1 -1
- package/src/models/RunClusterCheckRequest.ts +12 -3
- package/src/models/RunClusterInspectRequest.ts +3 -0
- package/src/models/RunClusterInspectResponseBody.ts +9 -0
- package/src/models/ScanClusterVulsResponseBody.ts +1 -1
- package/src/models/UnInstallClusterAddonsRequest.ts +1 -1
- package/src/models/UnInstallClusterAddonsRequestAddons.ts +4 -4
- package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/UpdateClusterInspectConfigRequest.ts +10 -0
- package/src/models/UpdateClusterInspectConfigResponseBody.ts +3 -0
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +3 -3
- package/src/models/model.ts +1 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
import { Addon } from "./Addon";
|
|
4
|
+
import { CreateClusterRequestAuditLogConfig } from "./CreateClusterRequestAuditLogConfig";
|
|
4
5
|
import { CreateClusterRequestControlPlaneConfig } from "./CreateClusterRequestControlPlaneConfig";
|
|
5
6
|
import { MaintenanceWindow } from "./MaintenanceWindow";
|
|
6
7
|
import { Nodepool } from "./Nodepool";
|
|
@@ -57,6 +58,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
57
58
|
* kubernetes.default.svc
|
|
58
59
|
*/
|
|
59
60
|
apiAudiences?: string;
|
|
61
|
+
auditLogConfig?: CreateClusterRequestAuditLogConfig;
|
|
60
62
|
/**
|
|
61
63
|
* @remarks
|
|
62
64
|
* [**Deprecated**]
|
|
@@ -1252,6 +1254,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1252
1254
|
accessControlList: 'access_control_list',
|
|
1253
1255
|
addons: 'addons',
|
|
1254
1256
|
apiAudiences: 'api_audiences',
|
|
1257
|
+
auditLogConfig: 'audit_log_config',
|
|
1255
1258
|
autoRenew: 'auto_renew',
|
|
1256
1259
|
autoRenewPeriod: 'auto_renew_period',
|
|
1257
1260
|
chargeType: 'charge_type',
|
|
@@ -1355,6 +1358,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1355
1358
|
accessControlList: { 'type': 'array', 'itemType': 'string' },
|
|
1356
1359
|
addons: { 'type': 'array', 'itemType': Addon },
|
|
1357
1360
|
apiAudiences: 'string',
|
|
1361
|
+
auditLogConfig: CreateClusterRequestAuditLogConfig,
|
|
1358
1362
|
autoRenew: 'boolean',
|
|
1359
1363
|
autoRenewPeriod: 'number',
|
|
1360
1364
|
chargeType: 'string',
|
|
@@ -1460,6 +1464,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1460
1464
|
if(Array.isArray(this.addons)) {
|
|
1461
1465
|
$dara.Model.validateArray(this.addons);
|
|
1462
1466
|
}
|
|
1467
|
+
if(this.auditLogConfig && typeof (this.auditLogConfig as any).validate === 'function') {
|
|
1468
|
+
(this.auditLogConfig as any).validate();
|
|
1469
|
+
}
|
|
1463
1470
|
if(this.controlPlaneConfig && typeof (this.controlPlaneConfig as any).validate === 'function') {
|
|
1464
1471
|
(this.controlPlaneConfig as any).validate();
|
|
1465
1472
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateClusterRequestAuditLogConfig extends $dara.Model {
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
slsProjectName?: string;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
enabled: 'enabled',
|
|
11
|
+
slsProjectName: 'sls_project_name',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
enabled: 'boolean',
|
|
18
|
+
slsProjectName: 'string',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -43,15 +43,13 @@ export class CreateTemplateRequest extends $dara.Model {
|
|
|
43
43
|
template?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The
|
|
46
|
+
* The template type.
|
|
47
47
|
*
|
|
48
48
|
* * If the parameter is set to `kubernetes`, the template is displayed on the Templates page in the console.
|
|
49
|
-
* * If
|
|
49
|
+
* * If this parameter is not specified or the value is set to another value, the template is not displayed on the Orchestration Template page in the console.
|
|
50
50
|
*
|
|
51
51
|
* We recommend that you set the parameter to `kubernetes`.
|
|
52
52
|
*
|
|
53
|
-
* Default value: `compose`.
|
|
54
|
-
*
|
|
55
53
|
* @example
|
|
56
54
|
* kubernetes
|
|
57
55
|
*/
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateTriggerResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The actions performed by the trigger.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* redeploy
|
|
@@ -21,7 +21,7 @@ export class CreateTriggerResponseBody extends $dara.Model {
|
|
|
21
21
|
clusterId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The ID
|
|
24
|
+
* The trigger ID.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 102536
|
|
@@ -37,7 +37,7 @@ export class CreateTriggerResponseBody extends $dara.Model {
|
|
|
37
37
|
projectId?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The
|
|
40
|
+
* The trigger type.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* deployment
|
|
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DeleteClusterNodesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to remove all pods from the nodes
|
|
8
|
+
* Specifies whether to remove all pods from the nodes you want to remove. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* * `true`: removes all pods
|
|
11
|
-
* * `false`:
|
|
10
|
+
* * `true`: removes all pods automatically.
|
|
11
|
+
* * `false`: skips removing pods.
|
|
12
12
|
*
|
|
13
|
-
* Default value: `false
|
|
13
|
+
* Default value: `false`
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* true
|
|
@@ -18,21 +18,23 @@ export class DeleteClusterNodesRequest extends $dara.Model {
|
|
|
18
18
|
drainNode?: boolean;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The list of nodes to
|
|
21
|
+
* The list of nodes to remove. You must specify the node names used in the cluster, for example, `cn-hangzhou.192.168.xx.xx`.
|
|
22
22
|
*
|
|
23
23
|
* This parameter is required.
|
|
24
24
|
*/
|
|
25
25
|
nodes?: string[];
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* Specifies whether to release the
|
|
28
|
+
* Specifies whether to release the ECS instances. Valid values:
|
|
29
29
|
*
|
|
30
30
|
* * `true`: releases the ECS instances.
|
|
31
|
-
* * `false`:
|
|
31
|
+
* * `false`: retains the ECS instances.
|
|
32
32
|
*
|
|
33
|
-
* Default value: `false
|
|
33
|
+
* Default value: `false`
|
|
34
34
|
*
|
|
35
|
-
*
|
|
35
|
+
* **
|
|
36
|
+
*
|
|
37
|
+
* **Notes** Unsupported for subscription ECS instances.
|
|
36
38
|
*
|
|
37
39
|
* @example
|
|
38
40
|
* true
|
|
@@ -6,10 +6,7 @@ import { DescribeAddonResponseBodyNewerVersions } from "./DescribeAddonResponseB
|
|
|
6
6
|
export class DescribeAddonResponseBody extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* * amd64
|
|
12
|
-
* * arm64
|
|
9
|
+
* The CPU architecture supported by the component.
|
|
13
10
|
*/
|
|
14
11
|
architecture?: string[];
|
|
15
12
|
/**
|
|
@@ -54,17 +51,12 @@ export class DescribeAddonResponseBody extends $dara.Model {
|
|
|
54
51
|
name?: string;
|
|
55
52
|
/**
|
|
56
53
|
* @remarks
|
|
57
|
-
* The latest version of the component.
|
|
54
|
+
* The latest version information of the component.
|
|
58
55
|
*/
|
|
59
56
|
newerVersions?: DescribeAddonResponseBodyNewerVersions[];
|
|
60
57
|
/**
|
|
61
58
|
* @remarks
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* * Install
|
|
65
|
-
* * Upgrade
|
|
66
|
-
* * Modify
|
|
67
|
-
* * Uninstall
|
|
59
|
+
* The operations supported by the component.
|
|
68
60
|
*/
|
|
69
61
|
supportedActions?: string[];
|
|
70
62
|
/**
|
|
@@ -15,13 +15,16 @@ export class DescribeAddonResponseBodyNewerVersions extends $dara.Model {
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* Indicates whether the component can be updated to the version.
|
|
17
17
|
*
|
|
18
|
+
* * true: yes
|
|
19
|
+
* * false: no
|
|
20
|
+
*
|
|
18
21
|
* @example
|
|
19
22
|
* true
|
|
20
23
|
*/
|
|
21
24
|
upgradable?: boolean;
|
|
22
25
|
/**
|
|
23
26
|
* @remarks
|
|
24
|
-
* The version number.
|
|
27
|
+
* The latest version number of the component.
|
|
25
28
|
*
|
|
26
29
|
* @example
|
|
27
30
|
* v1.9.3.10-7dfca203-aliyun
|
|
@@ -25,10 +25,10 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
25
25
|
clusterId?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
*
|
|
28
|
+
* The edition of the cluster
|
|
29
29
|
*
|
|
30
|
-
* * `ack.pro.small`: Pro.
|
|
31
|
-
* * `ack.standard`:
|
|
30
|
+
* * `ack.pro.small`: the Pro edition.
|
|
31
|
+
* * `ack.standard`: the Basic edition.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* ack.pro.small
|
|
@@ -36,8 +36,10 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
36
36
|
clusterSpec?: string;
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
+
* The type of the instance.
|
|
40
|
+
*
|
|
39
41
|
* * `Kubernetes`: ACK dedicated cluster.
|
|
40
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters
|
|
42
|
+
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK managed Basic clusters, ACK managed Pro clusters, ACK Serverless Pro clusters, ACK Serverless Basic clusters, ACK Edge Pro clusters, ACK Edge Basic clusters, and ACK Lingjun Pro clusters.
|
|
41
43
|
* * `ExternalKubernetes`: registered cluster.
|
|
42
44
|
*
|
|
43
45
|
* @example
|
|
@@ -46,7 +48,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
46
48
|
clusterType?: string;
|
|
47
49
|
/**
|
|
48
50
|
* @remarks
|
|
49
|
-
* The CIDR block
|
|
51
|
+
* The pod CIDR block. The configuration of the Flannel network plug-in.
|
|
50
52
|
*
|
|
51
53
|
* @example
|
|
52
54
|
* 172.20.0.0/16
|
|
@@ -67,7 +69,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
67
69
|
created?: string;
|
|
68
70
|
/**
|
|
69
71
|
* @remarks
|
|
70
|
-
* The
|
|
72
|
+
* The Kubernetes version of the cluster. For more information about the Kubernetes versions supported by ACK, see [Release notes for Kubernetes versions](https://help.aliyun.com/document_detail/185269.html).
|
|
71
73
|
*
|
|
72
74
|
* @example
|
|
73
75
|
* 1.16.6-aliyun.1
|
|
@@ -142,9 +144,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
142
144
|
metaData?: string;
|
|
143
145
|
/**
|
|
144
146
|
* @remarks
|
|
145
|
-
* The name
|
|
146
|
-
*
|
|
147
|
-
* The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
|
|
147
|
+
* The cluster name.
|
|
148
148
|
*
|
|
149
149
|
* @example
|
|
150
150
|
* cluster-demo
|
|
@@ -160,7 +160,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
160
160
|
networkMode?: string;
|
|
161
161
|
/**
|
|
162
162
|
* @remarks
|
|
163
|
-
* The Kubernetes version to which the cluster can be
|
|
163
|
+
* The Kubernetes version to which the cluster can be upgraded.
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
166
166
|
* 1.18.8-aliyun.1
|
|
@@ -168,7 +168,9 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
168
168
|
nextVersion?: string;
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
|
-
*
|
|
171
|
+
* This parameter is available only for Flannel.
|
|
172
|
+
*
|
|
173
|
+
* The subnet mask length of the node CIDR block. This parameter indicates the maximum number of IP addresses that can be assigned to nodes.
|
|
172
174
|
*
|
|
173
175
|
* @example
|
|
174
176
|
* 26
|
|
@@ -199,7 +201,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
199
201
|
privateZone?: boolean;
|
|
200
202
|
/**
|
|
201
203
|
* @remarks
|
|
202
|
-
*
|
|
204
|
+
* The subtype of the cluster.
|
|
203
205
|
*
|
|
204
206
|
* * `Default`. ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
205
207
|
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
@@ -247,7 +249,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
247
249
|
securityGroupId?: string;
|
|
248
250
|
/**
|
|
249
251
|
* @remarks
|
|
250
|
-
* The CIDR block
|
|
252
|
+
* The Service CIDR block.
|
|
251
253
|
*
|
|
252
254
|
* This parameter is required.
|
|
253
255
|
*
|
|
@@ -286,15 +288,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
286
288
|
state?: string;
|
|
287
289
|
/**
|
|
288
290
|
* @remarks
|
|
289
|
-
* The pod CIDR block.
|
|
290
|
-
*
|
|
291
|
-
* * 10.0.0.0/8
|
|
292
|
-
* * 172.16-31.0.0/12-16
|
|
293
|
-
* * 192.168.0.0/16
|
|
294
|
-
*
|
|
295
|
-
* The pod CIDR block cannot overlap with the CIDR block of the VPC in which the cluster is deployed and the CIDR blocks of existing clusters in the VPC. You cannot modify the pod CIDR block after you create the cluster.
|
|
296
|
-
*
|
|
297
|
-
* For more information about the network planning of ACK clusters, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/186964.html).
|
|
291
|
+
* The pod CIDR block.
|
|
298
292
|
*
|
|
299
293
|
* @example
|
|
300
294
|
* 172.20.0.0/16
|
|
@@ -304,7 +298,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
304
298
|
subnetCidr?: string;
|
|
305
299
|
/**
|
|
306
300
|
* @remarks
|
|
307
|
-
* The resource
|
|
301
|
+
* The resource labels of the cluster.
|
|
308
302
|
*/
|
|
309
303
|
tags?: Tag[];
|
|
310
304
|
/**
|
|
@@ -53,7 +53,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
53
53
|
deploymentsetId?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The ID
|
|
56
|
+
* The image ID.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
@@ -90,7 +90,7 @@ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $dara.M
|
|
|
90
90
|
nodePortRange?: string;
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The subscription duration.
|
|
93
|
+
* The subscription duration of nodes in the node pool.
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
96
|
* 1
|
|
@@ -92,7 +92,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
92
92
|
nodepoolInfo?: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* The configurations of the scaling group used by the node pool.
|
|
95
|
+
* The configurations of the scaling group that is used by the node pool.
|
|
96
96
|
*/
|
|
97
97
|
scalingGroup?: DescribeClusterNodePoolDetailResponseBodyScalingGroup;
|
|
98
98
|
/**
|
|
@@ -337,7 +337,12 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
337
337
|
spotStrategy?: string;
|
|
338
338
|
/**
|
|
339
339
|
* @remarks
|
|
340
|
-
*
|
|
340
|
+
* Indicates whether to enable the burst feature for the system disk. Valid values:
|
|
341
|
+
*
|
|
342
|
+
* * true: enables the burst feature for the system disk. The performance burst feature allows ESSD AutoPL disks to burst their performance when spikes in read/write workloads occur and reduce the performance to the baseline level at the end of workload spikes.
|
|
343
|
+
* * false: does not enable the burst feature for the system disk.
|
|
344
|
+
*
|
|
345
|
+
* This parameter is effective only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
341
346
|
*
|
|
342
347
|
* @example
|
|
343
348
|
* true
|
|
@@ -16,7 +16,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
16
16
|
autoMode?: DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode;
|
|
17
17
|
/**
|
|
18
18
|
* @remarks
|
|
19
|
-
* The configurations
|
|
19
|
+
* The configurations about auto scaling.
|
|
20
20
|
*/
|
|
21
21
|
autoScaling?: DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling;
|
|
22
22
|
/**
|
|
@@ -28,7 +28,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
28
28
|
interconnectConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The network type of the edge node pool.
|
|
31
|
+
* The network type of the edge node pool. This parameter takes effect only if you set `type` of the node pool to `edge`. Valid values:
|
|
32
|
+
*
|
|
33
|
+
* * `basic`: Internet. Nodes in the node pool communicate with nodes in the cloud over the Internet. Applications deployed on the edge nodes cannot directly access virtual private clouds (VPCs) over the Internet.
|
|
34
|
+
* * `private`: private network. You can connect nodes in the node pool to the cloud by using Express Connect, VPN, or Cloud Enterprise Network (CEN). This greatly improves the quality and security of cloud-edge communication.
|
|
32
35
|
*
|
|
33
36
|
* @example
|
|
34
37
|
* improved
|
|
@@ -36,12 +39,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
36
39
|
interconnectMode?: string;
|
|
37
40
|
/**
|
|
38
41
|
* @remarks
|
|
39
|
-
* The configurations of the cluster
|
|
42
|
+
* The configurations of the cluster.
|
|
40
43
|
*/
|
|
41
44
|
kubernetesConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig;
|
|
42
45
|
/**
|
|
43
46
|
* @remarks
|
|
44
|
-
* The
|
|
47
|
+
* The configuration of the managed node pool feature. The configuration takes effect only for ACK Pro managed clusters.
|
|
45
48
|
*/
|
|
46
49
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
47
50
|
/**
|
|
@@ -64,12 +67,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
64
67
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
65
68
|
/**
|
|
66
69
|
* @remarks
|
|
67
|
-
* The configurations of the scaling group.
|
|
70
|
+
* The configurations of the scaling group that is used by the node pool.
|
|
68
71
|
*/
|
|
69
72
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
70
73
|
/**
|
|
71
74
|
* @remarks
|
|
72
|
-
* The status
|
|
75
|
+
* The status of the node pool.
|
|
73
76
|
*/
|
|
74
77
|
status?: DescribeClusterNodePoolsResponseBodyNodepoolsStatus;
|
|
75
78
|
/**
|
|
@@ -7,6 +7,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The maximum bandwidth of the elastic IP address (EIP).
|
|
9
9
|
*
|
|
10
|
+
* Valid values: 1 to 100. Unit: Mbit/s.
|
|
11
|
+
*
|
|
10
12
|
* @example
|
|
11
13
|
* 5
|
|
12
14
|
*/
|
|
@@ -24,10 +26,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
24
26
|
eipInternetChargeType?: string;
|
|
25
27
|
/**
|
|
26
28
|
* @remarks
|
|
27
|
-
*
|
|
29
|
+
* Indicates whether auto scaling is enabled. Valid values:
|
|
28
30
|
*
|
|
29
|
-
* * `true
|
|
30
|
-
* * `false`:
|
|
31
|
+
* * `true`: Auto scaling is enabled for the node pool. When the capacity planning of the cluster cannot meet the requirements of pod scheduling, ACK automatically scales out nodes based on the configured minimum and maximum number of instances. Node instant scaling is enabled by default for clusters that run Kubernetes 1.24 or later. Node auto scaling is enabled for clusters that run Kubernetes 1.24 and earlier. For more information, see [Node auto scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
32
|
+
* * `false`: does not enable auto scaling. ACK adjusts the number of nodes in the node pool based on the value of the Expected Nodes parameter. The number of nodes is always the same as the value of the Expected Nodes parameter.
|
|
33
|
+
*
|
|
34
|
+
* If you set this parameter to false, other parameters of `auto_scaling` do not take effect.
|
|
31
35
|
*
|
|
32
36
|
* @example
|
|
33
37
|
* true
|
|
@@ -46,7 +50,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
46
50
|
isBondEip?: boolean;
|
|
47
51
|
/**
|
|
48
52
|
* @remarks
|
|
49
|
-
* The maximum number of
|
|
53
|
+
* The maximum number of scalable instances in the node pool. Your existing instances are not included.
|
|
50
54
|
*
|
|
51
55
|
* @example
|
|
52
56
|
* 10
|
|
@@ -54,7 +58,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
54
58
|
maxInstances?: number;
|
|
55
59
|
/**
|
|
56
60
|
* @remarks
|
|
57
|
-
* The minimum number of
|
|
61
|
+
* The minimum number of scalable instances in the node pool, excluding your existing instances.
|
|
58
62
|
*
|
|
59
63
|
* @example
|
|
60
64
|
* 2
|
|
@@ -29,20 +29,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
29
29
|
cpuPolicy?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The labels
|
|
33
|
-
*
|
|
34
|
-
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
35
|
-
* * The key must be unique and can be up to 64 characters in length. The value can be empty and can be up to 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
32
|
+
* The node labels.
|
|
36
33
|
*/
|
|
37
34
|
labels?: Tag[];
|
|
38
35
|
/**
|
|
39
36
|
* @remarks
|
|
37
|
+
* The name of the custom node.
|
|
38
|
+
*
|
|
40
39
|
* The custom node name. A custom node name consists of a prefix, an IP substring, and a suffix.
|
|
41
40
|
*
|
|
42
41
|
* * The prefix and suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A custom node name must start and end with a digit or lowercase letter.
|
|
43
42
|
* * The IP substring length specifies the number of digits to be truncated from the end of the node IP address. The IP substring length ranges from 5 to 12.
|
|
44
43
|
*
|
|
45
|
-
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name
|
|
44
|
+
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name will aliyun.com00055test.
|
|
46
45
|
*
|
|
47
46
|
* @example
|
|
48
47
|
* customized,test.,5,.com
|
|
@@ -58,7 +57,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
58
57
|
preUserData?: string;
|
|
59
58
|
/**
|
|
60
59
|
* @remarks
|
|
61
|
-
* The name of the container runtime.
|
|
60
|
+
* The name of the container runtime. The following types of runtime are supported by ACK:
|
|
61
|
+
*
|
|
62
|
+
* * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
|
|
63
|
+
* * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.31 and earlier.
|
|
64
|
+
* * Docker (deprecated): supports Kubernetes 1.22 and earlier.
|
|
62
65
|
*
|
|
63
66
|
* @example
|
|
64
67
|
* docker
|
|
@@ -74,12 +77,15 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
74
77
|
runtimeVersion?: string;
|
|
75
78
|
/**
|
|
76
79
|
* @remarks
|
|
77
|
-
* The
|
|
80
|
+
* The taint. Taints can be used together with tolerations to avoid scheduling pods to specified nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
78
81
|
*/
|
|
79
82
|
taints?: Taint[];
|
|
80
83
|
/**
|
|
81
84
|
* @remarks
|
|
82
|
-
* Specifies whether the nodes are
|
|
85
|
+
* Specifies whether the nodes are unschedulable after a scale-out activity is performed.
|
|
86
|
+
*
|
|
87
|
+
* * true: The node cannot be scheduled.
|
|
88
|
+
* * false: The node can be scheduled.
|
|
83
89
|
*
|
|
84
90
|
* @example
|
|
85
91
|
* true
|
|
@@ -25,7 +25,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
25
25
|
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* Specifies whether to enable auto
|
|
28
|
+
* Specifies whether to enable auto node upgrade. This parameter takes effect only if `enable` is set to true.
|
|
29
|
+
*
|
|
30
|
+
* * `true`: Auto update is enabled.
|
|
31
|
+
* * `false`: Auto update is disabled.
|
|
29
32
|
*
|
|
30
33
|
* @example
|
|
31
34
|
* true
|
|
@@ -38,7 +41,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
38
41
|
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
39
42
|
/**
|
|
40
43
|
* @remarks
|
|
41
|
-
*
|
|
44
|
+
* Indicates whether auto Common Vulnerabilities and Exposures (CVE) patching is enabled. This parameter takes effect only when `enable=true` is specified.
|
|
45
|
+
*
|
|
46
|
+
* * `true`: enables auto CVE patching.
|
|
47
|
+
* * `true`: disables auto CVE patching.
|
|
42
48
|
*
|
|
43
49
|
* @example
|
|
44
50
|
* true
|
package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy.ts
CHANGED
|
@@ -5,7 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to allow node restart.
|
|
8
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true` is specified.
|
|
9
|
+
*
|
|
10
|
+
* * `true`: allows node restart.
|
|
11
|
+
* * `false`: does not allow node restart.
|
|
9
12
|
*
|
|
10
13
|
* @example
|
|
11
14
|
* true
|
package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy.ts
CHANGED
|
@@ -5,7 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to allow auto
|
|
8
|
+
* Specifies whether to allow the auto upgrade of the kubelet. This parameter takes effect only if `auto_upgrade` is set to true. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* * `true`: allows the auto upgrade of the kubelet.
|
|
11
|
+
* * `false`: no.
|
|
9
12
|
*
|
|
10
13
|
* @example
|
|
11
14
|
* true
|
package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy.ts
CHANGED
|
@@ -5,7 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to allow node restart.
|
|
8
|
+
* Specifies whether to allow node restart. This parameter takes effect only if `auto_vul_fix` is set to true. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* * `true`: allows node restart.
|
|
11
|
+
* * `false`: does not allow node restart.
|
|
9
12
|
*
|
|
10
13
|
* @example
|
|
11
14
|
* true
|
|
@@ -15,6 +18,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
15
18
|
* @remarks
|
|
16
19
|
* The severity level of CVEs that can be automatically patched. Multiple severity levels are separated by commas (,).
|
|
17
20
|
*
|
|
21
|
+
* * `asap`: high.
|
|
22
|
+
* * `later`: medium.
|
|
23
|
+
* * `nntf`: low.
|
|
24
|
+
*
|
|
18
25
|
* @example
|
|
19
26
|
* asap,nntf
|
|
20
27
|
*/
|
|
@@ -26,7 +26,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
26
26
|
maxUnavailable?: number;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The number of
|
|
29
|
+
* The number of nodes that are temporarily added to the node pool during an auto update. You must specify this parameter or `surge_percentage`.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* 5
|