@alicloud/cs20151215 6.6.4 → 6.6.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 +202 -124
- package/dist/client.js +202 -124
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +2 -2
- package/dist/models/AttachInstancesResponseBody.d.ts +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +1 -1
- package/dist/models/AttachInstancesToNodePoolResponseBody.d.ts +1 -1
- package/dist/models/ContainerdConfig.d.ts +22 -2
- package/dist/models/ContainerdConfig.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +63 -0
- package/dist/models/CreateAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +6 -0
- package/dist/models/CreateAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +77 -40
- package/dist/models/CreateAutoscalingConfigRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -25
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +585 -353
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +5 -5
- package/dist/models/CreateTriggerResponseBody.d.ts +1 -1
- package/dist/models/DeleteAlertContactRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAutoRepairPolicyResponseBody.d.ts +3 -0
- package/dist/models/DeleteAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +2 -2
- package/dist/models/DeleteClusterNodesRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +26 -18
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterResponseBody.d.ts +2 -2
- package/dist/models/DeleteClusterShrinkRequest.d.ts +12 -9
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +7 -6
- package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +71 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +21 -18
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +243 -110
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +8 -4
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +49 -39
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +473 -220
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +425 -262
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodesRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +5 -5
- package/dist/models/DescribeClusterResourcesRequest.d.ts +5 -1
- package/dist/models/DescribeClusterResourcesRequest.js.map +1 -1
- package/dist/models/DescribeClusterResourcesResponse.d.ts +51 -33
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +9 -9
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +2 -2
- package/dist/models/DescribeClustersForRegionRequest.d.ts +32 -16
- package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +85 -56
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +33 -17
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +98 -72
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +6 -2
- package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +22 -15
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +53 -20
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +53 -29
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +2 -2
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +8 -8
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +11 -0
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +235 -7
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +35 -31
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +2 -2
- package/dist/models/DescribeTemplatesResponseBody.d.ts +4 -4
- package/dist/models/DescribeTriggerResponse.d.ts +1 -1
- package/dist/models/DescribeUserPermissionResponse.d.ts +1 -1
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +0 -35
- package/dist/models/DescribeUserQuotaResponseBody.js.map +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +1 -1
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +9 -0
- package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
- package/dist/models/GrantPermissionsRequest.d.ts +28 -20
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/InstanceMetadataOptions.d.ts +17 -0
- package/dist/models/InstanceMetadataOptions.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +10 -0
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ListAddonsRequest.d.ts +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +75 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListClusterChecksResponseBody.d.ts +2 -2
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +10 -0
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +39 -0
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +9 -0
- package/dist/models/ListOperationPlansForRegionRequest.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +52 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +1 -1
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/MigrateClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +58 -0
- package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyResponseBody.d.ts +3 -0
- package/dist/models/ModifyAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +358 -228
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +186 -123
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +8 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigResponseBody.d.ts +2 -2
- package/dist/models/Nodepool.d.ts +274 -180
- package/dist/models/Nodepool.js +2 -0
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/RemoveClusterNodesRequest.d.ts +0 -10
- package/dist/models/RemoveClusterNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +1 -1
- package/dist/models/RepairClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/RepairClusterNodePoolResponseBody.d.ts +2 -2
- package/dist/models/RunClusterCheckRequest.d.ts +2 -2
- package/dist/models/RunClusterCheckResponseBody.d.ts +2 -2
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/ScaleOutClusterRequest.d.ts +8 -131
- package/dist/models/ScaleOutClusterRequest.js.map +1 -1
- package/dist/models/ScaleOutClusterResponseBody.d.ts +0 -21
- package/dist/models/ScaleOutClusterResponseBody.js.map +1 -1
- package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +1 -1
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +1 -1
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +3 -3
- package/dist/models/UpgradeClusterAddonsResponseBody.d.ts +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +5 -5
- package/dist/models/UpgradeClusterNodepoolResponseBody.d.ts +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +3 -3
- package/package.json +1 -1
- package/src/client.ts +202 -124
- package/src/models/AttachInstancesRequest.ts +2 -2
- package/src/models/AttachInstancesResponseBody.ts +1 -1
- package/src/models/AttachInstancesToNodePoolRequest.ts +1 -1
- package/src/models/AttachInstancesToNodePoolResponseBody.ts +1 -1
- package/src/models/ContainerdConfig.ts +22 -2
- package/src/models/CreateAutoRepairPolicyRequest.ts +63 -0
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +6 -0
- package/src/models/CreateAutoscalingConfigRequest.ts +77 -40
- package/src/models/CreateClusterNodePoolRequest.ts +125 -25
- package/src/models/CreateClusterRequest.ts +585 -353
- package/src/models/CreateClusterResponseBody.ts +5 -5
- package/src/models/CreateTriggerResponseBody.ts +1 -1
- package/src/models/DeleteAlertContactRequest.ts +1 -1
- package/src/models/DeleteAlertContactShrinkRequest.ts +1 -1
- package/src/models/DeleteAutoRepairPolicyResponseBody.ts +3 -0
- package/src/models/DeleteClusterNodepoolResponseBody.ts +2 -2
- package/src/models/DeleteClusterNodesRequest.ts +1 -1
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +26 -18
- package/src/models/DeleteClusterResponseBody.ts +2 -2
- package/src/models/DeleteClusterShrinkRequest.ts +12 -9
- package/src/models/DeployPolicyInstanceRequest.ts +7 -6
- package/src/models/DeployPolicyInstanceResponseBody.ts +1 -1
- package/src/models/DescribeAddonsRequest.ts +1 -1
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +71 -0
- package/src/models/DescribeClusterAttachScriptsRequest.ts +21 -18
- package/src/models/DescribeClusterDetailResponseBody.ts +243 -110
- package/src/models/DescribeClusterEventsRequest.ts +8 -4
- package/src/models/DescribeClusterEventsResponseBody.ts +49 -39
- package/src/models/DescribeClusterLogsResponse.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +475 -220
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +427 -262
- package/src/models/DescribeClusterNodesRequest.ts +1 -1
- package/src/models/DescribeClusterNodesResponseBody.ts +5 -5
- package/src/models/DescribeClusterResourcesRequest.ts +5 -1
- package/src/models/DescribeClusterResourcesResponse.ts +51 -33
- package/src/models/DescribeClusterTasksResponseBody.ts +9 -9
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +1 -1
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
- package/src/models/DescribeClusterVulsResponseBody.ts +2 -2
- package/src/models/DescribeClustersForRegionRequest.ts +32 -16
- package/src/models/DescribeClustersForRegionResponseBody.ts +85 -56
- package/src/models/DescribeClustersV1request.ts +33 -17
- package/src/models/DescribeClustersV1responseBody.ts +98 -72
- package/src/models/DescribeEventsForRegionRequest.ts +6 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +22 -15
- package/src/models/DescribeEventsRequest.ts +53 -20
- package/src/models/DescribeEventsResponseBody.ts +53 -29
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +2 -2
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +8 -8
- package/src/models/DescribeNodePoolVulsResponseBody.ts +11 -0
- package/src/models/DescribePolicyDetailsResponseBody.ts +1 -1
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +235 -7
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +1 -1
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +1 -1
- package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +35 -31
- package/src/models/DescribeTemplateAttributeResponse.ts +2 -2
- package/src/models/DescribeTemplatesResponseBody.ts +4 -4
- package/src/models/DescribeTriggerResponse.ts +1 -1
- package/src/models/DescribeUserPermissionResponse.ts +1 -1
- package/src/models/DescribeUserQuotaResponseBody.ts +0 -35
- package/src/models/GetClusterAddonInstanceResponseBody.ts +1 -1
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +9 -0
- package/src/models/GrantPermissionsRequest.ts +28 -20
- package/src/models/InstallClusterAddonsRequest.ts +2 -2
- package/src/models/InstanceMetadataOptions.ts +17 -0
- package/src/models/KubeletConfig.ts +10 -0
- package/src/models/ListAddonsRequest.ts +1 -1
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +75 -0
- package/src/models/ListClusterChecksResponseBody.ts +2 -2
- package/src/models/ListClusterKubeconfigStatesRequest.ts +10 -0
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +39 -0
- package/src/models/ListOperationPlansForRegionRequest.ts +9 -0
- package/src/models/ListOperationPlansForRegionResponseBody.ts +52 -0
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +1 -1
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/MigrateClusterResponseBody.ts +3 -3
- package/src/models/ModifyAutoRepairPolicyRequest.ts +58 -0
- package/src/models/ModifyAutoRepairPolicyResponseBody.ts +3 -0
- package/src/models/ModifyClusterNodePoolRequest.ts +361 -229
- package/src/models/ModifyClusterNodePoolResponseBody.ts +1 -1
- package/src/models/ModifyClusterRequest.ts +186 -123
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +8 -0
- package/src/models/ModifyNodePoolNodeConfigResponseBody.ts +2 -2
- package/src/models/Nodepool.ts +276 -180
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/RemoveClusterNodesRequest.ts +0 -10
- package/src/models/RemoveNodePoolNodesResponseBody.ts +1 -1
- package/src/models/RepairClusterNodePoolRequest.ts +1 -1
- package/src/models/RepairClusterNodePoolResponseBody.ts +2 -2
- package/src/models/RunClusterCheckRequest.ts +2 -2
- package/src/models/RunClusterCheckResponseBody.ts +2 -2
- package/src/models/Runtime.ts +2 -2
- package/src/models/ScaleOutClusterRequest.ts +8 -131
- package/src/models/ScaleOutClusterResponseBody.ts +0 -21
- package/src/models/ScanClusterVulsResponseBody.ts +1 -1
- package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +1 -1
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +1 -1
- package/src/models/UpgradeClusterAddonsRequest.ts +3 -3
- package/src/models/UpgradeClusterAddonsResponseBody.ts +1 -1
- package/src/models/UpgradeClusterNodepoolRequest.ts +5 -5
- package/src/models/UpgradeClusterNodepoolResponseBody.ts +1 -1
- package/src/models/UpgradeClusterRequest.ts +3 -3
|
@@ -8,9 +8,9 @@ import { Taint } from "./Taint";
|
|
|
8
8
|
export declare class NodepoolAutoScaling extends $dara.Model {
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
-
* This parameter is deprecated.
|
|
11
|
+
* [This parameter is deprecated.]
|
|
12
12
|
*
|
|
13
|
-
* The
|
|
13
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 5
|
|
@@ -20,12 +20,13 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
20
20
|
eipBandwidth?: number;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* This parameter is deprecated.
|
|
23
|
+
* [This parameter is deprecated.]
|
|
24
24
|
*
|
|
25
|
-
* The
|
|
25
|
+
* The billing method for the EIP. Valid values:
|
|
26
26
|
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
28
|
+
*
|
|
29
|
+
* - `PayByTraffic`: Pay-by-traffic.
|
|
29
30
|
*
|
|
30
31
|
* Default value: PayByBandwidth.
|
|
31
32
|
*
|
|
@@ -37,10 +38,11 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
37
38
|
eipInternetChargeType?: string;
|
|
38
39
|
/**
|
|
39
40
|
* @remarks
|
|
40
|
-
*
|
|
41
|
+
* Whether to enable auto scaling.
|
|
42
|
+
*
|
|
43
|
+
* - `true`: enables auto scaling for the node pool.
|
|
41
44
|
*
|
|
42
|
-
*
|
|
43
|
-
* * `false`: disables auto scaling for the node pool. If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
|
|
45
|
+
* - `false`: Disables auto scaling. If you set this parameter to `false`, other parameters in the `auto_scaling` object do not take effect.
|
|
44
46
|
*
|
|
45
47
|
* Default value: `false`.
|
|
46
48
|
*
|
|
@@ -52,12 +54,13 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
52
54
|
enable?: boolean;
|
|
53
55
|
/**
|
|
54
56
|
* @remarks
|
|
55
|
-
* This parameter is deprecated.
|
|
57
|
+
* [This parameter is deprecated.]
|
|
58
|
+
*
|
|
59
|
+
* Whether to associate an EIP with each node in the pool. Valid values:
|
|
56
60
|
*
|
|
57
|
-
*
|
|
61
|
+
* - `true`: associates an EIP.
|
|
58
62
|
*
|
|
59
|
-
*
|
|
60
|
-
* * `false`: does not associate an EIP with the node pool.
|
|
63
|
+
* - `false`: does not associate an EIP.
|
|
61
64
|
*
|
|
62
65
|
* Default value: `false`.
|
|
63
66
|
*
|
|
@@ -69,7 +72,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
69
72
|
isBondEip?: boolean;
|
|
70
73
|
/**
|
|
71
74
|
* @remarks
|
|
72
|
-
* The maximum number of instances
|
|
75
|
+
* The maximum number of instances in the auto scaling group.
|
|
73
76
|
*
|
|
74
77
|
* This parameter is required.
|
|
75
78
|
*
|
|
@@ -79,7 +82,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
79
82
|
maxInstances?: number;
|
|
80
83
|
/**
|
|
81
84
|
* @remarks
|
|
82
|
-
* The minimum number of instances
|
|
85
|
+
* The minimum number of instances in the auto scaling group.
|
|
83
86
|
*
|
|
84
87
|
* This parameter is required.
|
|
85
88
|
*
|
|
@@ -89,12 +92,15 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
89
92
|
minInstances?: number;
|
|
90
93
|
/**
|
|
91
94
|
* @remarks
|
|
92
|
-
* The
|
|
95
|
+
* The type of instances to which auto scaling applies. This determines the scaling behavior. Valid values:
|
|
96
|
+
*
|
|
97
|
+
* - `cpu`: Regular instances.
|
|
98
|
+
*
|
|
99
|
+
* - `gpu`: GPU-accelerated instances.
|
|
93
100
|
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* * `spot`: preemptible instance.
|
|
101
|
+
* - `gpushare`: Shared GPU-accelerated instances.
|
|
102
|
+
*
|
|
103
|
+
* - `spot`: Spot instances.
|
|
98
104
|
*
|
|
99
105
|
* Default value: `cpu`.
|
|
100
106
|
*
|
|
@@ -116,9 +122,9 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
116
122
|
export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
117
123
|
/**
|
|
118
124
|
* @remarks
|
|
119
|
-
*
|
|
125
|
+
* 【该字段已废弃】
|
|
120
126
|
*
|
|
121
|
-
*
|
|
127
|
+
* 边缘增强型节点池的网络带宽,单位:Mbps。
|
|
122
128
|
*
|
|
123
129
|
* @example
|
|
124
130
|
* 10
|
|
@@ -128,9 +134,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
128
134
|
bandwidth?: number;
|
|
129
135
|
/**
|
|
130
136
|
* @remarks
|
|
131
|
-
*
|
|
137
|
+
* 【该字段已废弃】
|
|
132
138
|
*
|
|
133
|
-
*
|
|
139
|
+
* 边缘增强型节点池绑定的云连接网实例 ID(CCNID)。
|
|
134
140
|
*
|
|
135
141
|
* @example
|
|
136
142
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -140,9 +146,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
140
146
|
ccnId?: string;
|
|
141
147
|
/**
|
|
142
148
|
* @remarks
|
|
143
|
-
*
|
|
149
|
+
* 【该字段已废弃】
|
|
144
150
|
*
|
|
145
|
-
*
|
|
151
|
+
* 边缘增强型节点池绑定的云连接网实例所属的地域。
|
|
146
152
|
*
|
|
147
153
|
* @example
|
|
148
154
|
* cn-shanghai
|
|
@@ -152,9 +158,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
152
158
|
ccnRegionId?: string;
|
|
153
159
|
/**
|
|
154
160
|
* @remarks
|
|
155
|
-
* This parameter is deprecated.
|
|
161
|
+
* [This parameter is deprecated.]
|
|
156
162
|
*
|
|
157
|
-
* The ID of the Cloud Enterprise Network (
|
|
163
|
+
* The ID of the Cloud Enterprise Network (C
|
|
158
164
|
*
|
|
159
165
|
* @example
|
|
160
166
|
* cen-ey9k9nfhz0f*******
|
|
@@ -164,9 +170,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
164
170
|
cenId?: string;
|
|
165
171
|
/**
|
|
166
172
|
* @remarks
|
|
167
|
-
*
|
|
173
|
+
* 【该字段已废弃】
|
|
168
174
|
*
|
|
169
|
-
*
|
|
175
|
+
* 边缘增强型节点池的购买时长,单位:月。
|
|
170
176
|
*
|
|
171
177
|
* @example
|
|
172
178
|
* 1
|
|
@@ -188,10 +194,11 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
188
194
|
export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
189
195
|
/**
|
|
190
196
|
* @remarks
|
|
191
|
-
*
|
|
197
|
+
* Whether to install CloudMonitor on the nodes. After installation, you can view monitoring information about the instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
198
|
+
*
|
|
199
|
+
* - `true`: installs CloudMonitor on nodes.
|
|
192
200
|
*
|
|
193
|
-
*
|
|
194
|
-
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
201
|
+
* - `false`: does not install CloudMonitor on nodes.
|
|
195
202
|
*
|
|
196
203
|
* Default value: `false`.
|
|
197
204
|
*
|
|
@@ -201,10 +208,11 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
201
208
|
cmsEnabled?: boolean;
|
|
202
209
|
/**
|
|
203
210
|
* @remarks
|
|
204
|
-
* The CPU management policy of
|
|
211
|
+
* The CPU management policy of the nodes. This parameter is available only for clusters of Kubernetes 1.12.6 and later. The following policies are supported:
|
|
212
|
+
*
|
|
213
|
+
* - `static`: allows pods with specific resource characteristics to be granted with enhanced CPU affinity and exclusivity on the node.
|
|
205
214
|
*
|
|
206
|
-
*
|
|
207
|
-
* * `none`: specifies that the default CPU affinity is used.
|
|
215
|
+
* - `none`: indicates that the default CPU affinity is used.
|
|
208
216
|
*
|
|
209
217
|
* Default value: `none`.
|
|
210
218
|
*
|
|
@@ -214,17 +222,18 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
214
222
|
cpuPolicy?: string;
|
|
215
223
|
/**
|
|
216
224
|
* @remarks
|
|
217
|
-
* The labels
|
|
225
|
+
* The labels to add to the nodes in the node pool.
|
|
218
226
|
*/
|
|
219
227
|
labels?: Tag[];
|
|
220
228
|
/**
|
|
221
229
|
* @remarks
|
|
222
|
-
* The
|
|
230
|
+
* The naming convention of the node. A node name consists of a prefix, an IP address, and a suffix.
|
|
223
231
|
*
|
|
224
|
-
*
|
|
225
|
-
* * The node IP address is the complete private IP address of the node.
|
|
232
|
+
* - The prefix and suffix can consist of one or more parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A node name must start and end with a lowercase letter or a digit.
|
|
226
233
|
*
|
|
227
|
-
*
|
|
234
|
+
* - The node IP address is the complete private IP address of the node.
|
|
235
|
+
*
|
|
236
|
+
* This parameter consists of four comma-separated parts. For example, if you set the parameter to `customized,aliyun,ip,com`, where `customized` and `ip` are fixed strings, `aliyun` is the prefix, and `com` is the suffix, the node name is in the format of `aliyun.192.168.xxx.xxx.com`.
|
|
228
237
|
*
|
|
229
238
|
* @example
|
|
230
239
|
* customized,aliyun,ip,com
|
|
@@ -234,11 +243,13 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
234
243
|
* @remarks
|
|
235
244
|
* The container runtime. Valid values:
|
|
236
245
|
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
246
|
+
* - `containerd`: Recommended. This runtime is supported in all cluster versions.
|
|
247
|
+
*
|
|
248
|
+
* - `Sandboxed-Container.runv`: a sandboxed container that provides higher isolation. This runtime is supported in clusters of Kubernetes 1.24 and earlier.
|
|
240
249
|
*
|
|
241
|
-
*
|
|
250
|
+
* - `docker`: This runtime is supported in clusters of Kubernetes 1.22 and earlier.
|
|
251
|
+
*
|
|
252
|
+
* Default value: `containerd`
|
|
242
253
|
*
|
|
243
254
|
* This parameter is required.
|
|
244
255
|
*
|
|
@@ -258,12 +269,12 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
258
269
|
runtimeVersion?: string;
|
|
259
270
|
/**
|
|
260
271
|
* @remarks
|
|
261
|
-
* The
|
|
272
|
+
* The taints.
|
|
262
273
|
*/
|
|
263
274
|
taints?: Taint[];
|
|
264
275
|
/**
|
|
265
276
|
* @remarks
|
|
266
|
-
* The user data
|
|
277
|
+
* The user data of the node.
|
|
267
278
|
*
|
|
268
279
|
* @example
|
|
269
280
|
* MXM=
|
|
@@ -283,7 +294,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
283
294
|
export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
284
295
|
/**
|
|
285
296
|
* @remarks
|
|
286
|
-
*
|
|
297
|
+
* Specifies whether to allow the node to be restarted.
|
|
287
298
|
*
|
|
288
299
|
* @example
|
|
289
300
|
* true
|
|
@@ -303,7 +314,7 @@ export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
303
314
|
export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
304
315
|
/**
|
|
305
316
|
* @remarks
|
|
306
|
-
*
|
|
317
|
+
* Specifies whether to allow the kubelet to be automatically upgraded.
|
|
307
318
|
*
|
|
308
319
|
* @example
|
|
309
320
|
* true
|
|
@@ -323,7 +334,7 @@ export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
|
323
334
|
export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
324
335
|
/**
|
|
325
336
|
* @remarks
|
|
326
|
-
*
|
|
337
|
+
* Specifies whether to allow the node to be restarted.
|
|
327
338
|
*
|
|
328
339
|
* @example
|
|
329
340
|
* true
|
|
@@ -331,7 +342,7 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
331
342
|
restartNode?: boolean;
|
|
332
343
|
/**
|
|
333
344
|
* @remarks
|
|
334
|
-
* The
|
|
345
|
+
* The CVE vulnerability levels to automatically fix. You can specify multiple levels separated by commas.
|
|
335
346
|
*
|
|
336
347
|
* @example
|
|
337
348
|
* asap,nntf
|
|
@@ -351,10 +362,11 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
351
362
|
export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
352
363
|
/**
|
|
353
364
|
* @remarks
|
|
354
|
-
* Specifies whether to enable auto
|
|
365
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
366
|
+
*
|
|
367
|
+
* - `true`
|
|
355
368
|
*
|
|
356
|
-
*
|
|
357
|
-
* * `false`: disables auto update.
|
|
369
|
+
* - `false`
|
|
358
370
|
*
|
|
359
371
|
* @example
|
|
360
372
|
* false
|
|
@@ -372,7 +384,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
372
384
|
maxUnavailable?: number;
|
|
373
385
|
/**
|
|
374
386
|
* @remarks
|
|
375
|
-
* The number of
|
|
387
|
+
* The number of extra nodes.
|
|
376
388
|
*
|
|
377
389
|
* @example
|
|
378
390
|
* 0
|
|
@@ -380,7 +392,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
380
392
|
surge?: number;
|
|
381
393
|
/**
|
|
382
394
|
* @remarks
|
|
383
|
-
* The percentage of
|
|
395
|
+
* The percentage of extra nodes. You must specify this parameter or `surge`.
|
|
384
396
|
*
|
|
385
397
|
* @example
|
|
386
398
|
* 0
|
|
@@ -398,12 +410,14 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
398
410
|
});
|
|
399
411
|
}
|
|
400
412
|
export declare class NodepoolManagement extends $dara.Model {
|
|
413
|
+
autoFaultDiagnosis?: boolean;
|
|
401
414
|
/**
|
|
402
415
|
* @remarks
|
|
403
|
-
* Specifies whether to enable auto repair. This parameter takes effect only
|
|
416
|
+
* Specifies whether to enable auto repair. This parameter takes effect only if `enable` is set to `true`.
|
|
417
|
+
*
|
|
418
|
+
* - `true`
|
|
404
419
|
*
|
|
405
|
-
*
|
|
406
|
-
* * `false`: disables auto repair.
|
|
420
|
+
* - `false`
|
|
407
421
|
*
|
|
408
422
|
* @example
|
|
409
423
|
* false
|
|
@@ -411,12 +425,12 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
411
425
|
autoRepair?: boolean;
|
|
412
426
|
/**
|
|
413
427
|
* @remarks
|
|
414
|
-
* The auto
|
|
428
|
+
* The auto repair policy for nodes.
|
|
415
429
|
*/
|
|
416
430
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
417
431
|
/**
|
|
418
432
|
* @remarks
|
|
419
|
-
*
|
|
433
|
+
* Specifies whether to enable auto upgrade.
|
|
420
434
|
*
|
|
421
435
|
* @example
|
|
422
436
|
* true
|
|
@@ -424,12 +438,12 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
424
438
|
autoUpgrade?: boolean;
|
|
425
439
|
/**
|
|
426
440
|
* @remarks
|
|
427
|
-
* The auto
|
|
441
|
+
* The auto upgrade policy.
|
|
428
442
|
*/
|
|
429
443
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
430
444
|
/**
|
|
431
445
|
* @remarks
|
|
432
|
-
*
|
|
446
|
+
* Specifies whether to automatically fix CVEs.
|
|
433
447
|
*
|
|
434
448
|
* @example
|
|
435
449
|
* true
|
|
@@ -437,15 +451,16 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
437
451
|
autoVulFix?: boolean;
|
|
438
452
|
/**
|
|
439
453
|
* @remarks
|
|
440
|
-
* The
|
|
454
|
+
* The policy for automatically fixing CVEs.
|
|
441
455
|
*/
|
|
442
456
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
443
457
|
/**
|
|
444
458
|
* @remarks
|
|
445
|
-
*
|
|
459
|
+
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
446
460
|
*
|
|
447
|
-
*
|
|
448
|
-
*
|
|
461
|
+
* - `true`
|
|
462
|
+
*
|
|
463
|
+
* - `false`: If you set this parameter to false, the other parameters in the `management` object are ignored.
|
|
449
464
|
*
|
|
450
465
|
* @example
|
|
451
466
|
* false
|
|
@@ -453,7 +468,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
453
468
|
enable?: boolean;
|
|
454
469
|
/**
|
|
455
470
|
* @remarks
|
|
456
|
-
* The
|
|
471
|
+
* The auto upgrade configurations. This parameter takes effect only when `enable` is set to `true`.
|
|
457
472
|
*
|
|
458
473
|
* @deprecated
|
|
459
474
|
*/
|
|
@@ -470,6 +485,10 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
470
485
|
});
|
|
471
486
|
}
|
|
472
487
|
export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
488
|
+
/**
|
|
489
|
+
* @remarks
|
|
490
|
+
* 节点组件自定义配置。
|
|
491
|
+
*/
|
|
473
492
|
customConfig?: {
|
|
474
493
|
[key: string]: string;
|
|
475
494
|
};
|
|
@@ -485,13 +504,23 @@ export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
485
504
|
});
|
|
486
505
|
}
|
|
487
506
|
export declare class NodepoolNodeComponents extends $dara.Model {
|
|
507
|
+
/**
|
|
508
|
+
* @remarks
|
|
509
|
+
* 节点组件配置。
|
|
510
|
+
*/
|
|
488
511
|
config?: NodepoolNodeComponentsConfig;
|
|
489
512
|
/**
|
|
513
|
+
* @remarks
|
|
514
|
+
* 节点组件名称。
|
|
515
|
+
*
|
|
490
516
|
* @example
|
|
491
517
|
* kubelet
|
|
492
518
|
*/
|
|
493
519
|
name?: string;
|
|
494
520
|
/**
|
|
521
|
+
* @remarks
|
|
522
|
+
* 节点组件版本
|
|
523
|
+
*
|
|
495
524
|
* @example
|
|
496
525
|
* 1.33.3-aliyun.1
|
|
497
526
|
*/
|
|
@@ -510,7 +539,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
|
|
|
510
539
|
export declare class NodepoolNodeConfig extends $dara.Model {
|
|
511
540
|
/**
|
|
512
541
|
* @remarks
|
|
513
|
-
*
|
|
542
|
+
* Kubelet 参数配置。
|
|
514
543
|
*/
|
|
515
544
|
kubeletConfiguration?: KubeletConfig;
|
|
516
545
|
static names(): {
|
|
@@ -545,10 +574,11 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
545
574
|
resourceGroupId?: string;
|
|
546
575
|
/**
|
|
547
576
|
* @remarks
|
|
548
|
-
* The type of node pool. Valid values:
|
|
577
|
+
* The type of the node pool. Valid values:
|
|
578
|
+
*
|
|
579
|
+
* - `ess`: a regular node pool.
|
|
549
580
|
*
|
|
550
|
-
*
|
|
551
|
-
* * `edge`: edge node pool.
|
|
581
|
+
* - `edge`: an edge node pool.
|
|
552
582
|
*
|
|
553
583
|
* @example
|
|
554
584
|
* ess
|
|
@@ -576,11 +606,13 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
576
606
|
id?: string;
|
|
577
607
|
/**
|
|
578
608
|
* @remarks
|
|
579
|
-
* The type of the private
|
|
609
|
+
* The type of the private pool that is used to start instances. An elasticity assurance or a capacity reservation service generates a private pool after the service takes effect. You can select a private pool to start instances. Valid values:
|
|
580
610
|
*
|
|
581
|
-
*
|
|
582
|
-
*
|
|
583
|
-
*
|
|
611
|
+
* - `Open`: open mode. The system automatically matches an open private pool. If no matching private pool is found, the resources in the public pool are used.
|
|
612
|
+
*
|
|
613
|
+
* - `Target`: targeted mode. The instance is started from the specified private pool. If the private pool is unavailable, the instance fails to be started.
|
|
614
|
+
*
|
|
615
|
+
* - `None`: no mode. The instance is not started from a private pool.
|
|
584
616
|
*
|
|
585
617
|
* @example
|
|
586
618
|
* Open
|
|
@@ -598,8 +630,19 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
598
630
|
});
|
|
599
631
|
}
|
|
600
632
|
export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
633
|
+
/**
|
|
634
|
+
* @remarks
|
|
635
|
+
* The list of private pool IDs. The IDs are the IDs of elasticity assurances or capacity reservations. This parameter accepts only IDs of private pools in targeted mode. You can specify up to 20 IDs.
|
|
636
|
+
*/
|
|
601
637
|
privatePoolIds?: string[];
|
|
602
638
|
/**
|
|
639
|
+
* @remarks
|
|
640
|
+
* The resource pool policy that is used to create instances. Resource pools include private pools generated by an elasticity assurance or a capacity reservation service and public pools. You can select a resource pool to start an instance. Valid values:
|
|
641
|
+
* PrivatePoolFirst: The system prioritizes the use of private pools. If you specify `resource_pool_options.private_pool_ids`, the specified private pools are used first. If no private pool is specified or the capacity of the specified private pool is insufficient, the system automatically matches an open private pool. If no matching private pool is found, the resources in the public pool are used.
|
|
642
|
+
* PrivatePoolOnly: The instance can be created only from a private pool. You must specify `resource_pool_options.private_pool_ids`. If the capacity of the specified private pool is insufficient, the instance fails to be created.
|
|
643
|
+
* None: No resource pool policy is used.
|
|
644
|
+
* Default value: None.
|
|
645
|
+
*
|
|
603
646
|
* @example
|
|
604
647
|
* PrivatePoolFirst
|
|
605
648
|
*/
|
|
@@ -618,7 +661,7 @@ export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model
|
|
|
618
661
|
export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
619
662
|
/**
|
|
620
663
|
* @remarks
|
|
621
|
-
* The instance type
|
|
664
|
+
* The spot instance type.
|
|
622
665
|
*
|
|
623
666
|
* @example
|
|
624
667
|
* ecs.c6.large
|
|
@@ -626,7 +669,7 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
626
669
|
instanceType?: string;
|
|
627
670
|
/**
|
|
628
671
|
* @remarks
|
|
629
|
-
* The price
|
|
672
|
+
* The maximum price of a single instance.
|
|
630
673
|
*
|
|
631
674
|
* @example
|
|
632
675
|
* 0.39
|
|
@@ -646,7 +689,7 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
646
689
|
export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
647
690
|
/**
|
|
648
691
|
* @remarks
|
|
649
|
-
* The key of the
|
|
692
|
+
* The key of the tag.
|
|
650
693
|
*
|
|
651
694
|
* @example
|
|
652
695
|
* key
|
|
@@ -654,7 +697,7 @@ export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
654
697
|
key?: string;
|
|
655
698
|
/**
|
|
656
699
|
* @remarks
|
|
657
|
-
* The value of the
|
|
700
|
+
* The value of the tag.
|
|
658
701
|
*
|
|
659
702
|
* @example
|
|
660
703
|
* value
|
|
@@ -674,12 +717,13 @@ export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
674
717
|
export declare class NodepoolScalingGroup extends $dara.Model {
|
|
675
718
|
/**
|
|
676
719
|
* @remarks
|
|
677
|
-
*
|
|
720
|
+
* Whether to enable auto-renewal for the nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
721
|
+
*
|
|
722
|
+
* - `true`: enables auto-renewal.
|
|
678
723
|
*
|
|
679
|
-
*
|
|
680
|
-
* * `false`: disables auto-renewal.
|
|
724
|
+
* - `false`: disables auto-renewal.
|
|
681
725
|
*
|
|
682
|
-
* Default value: `true
|
|
726
|
+
* Default value: `true`.
|
|
683
727
|
*
|
|
684
728
|
* @example
|
|
685
729
|
* false
|
|
@@ -687,9 +731,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
687
731
|
autoRenew?: boolean;
|
|
688
732
|
/**
|
|
689
733
|
* @remarks
|
|
690
|
-
* The auto-renewal
|
|
734
|
+
* The auto-renewal period for the nodes. This parameter is required and takes effect only if `instance_charge_type` is set to `PrePaid`.
|
|
691
735
|
*
|
|
692
|
-
* If
|
|
736
|
+
* If `PeriodUnit` is set to `Month`, the valid values are 1, 2, 3, 6, and 12.
|
|
693
737
|
*
|
|
694
738
|
* Default value: 1.
|
|
695
739
|
*
|
|
@@ -699,10 +743,11 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
699
743
|
autoRenewPeriod?: number;
|
|
700
744
|
/**
|
|
701
745
|
* @remarks
|
|
702
|
-
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances
|
|
746
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when `multi_az_policy` is set to `COST_OPTIMIZED` and preemptible instances cannot be created due to price or inventory constraints. Valid values:
|
|
703
747
|
*
|
|
704
|
-
*
|
|
705
|
-
*
|
|
748
|
+
* - `true`
|
|
749
|
+
*
|
|
750
|
+
* - `false`
|
|
706
751
|
*
|
|
707
752
|
* @example
|
|
708
753
|
* true
|
|
@@ -710,7 +755,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
710
755
|
compensateWithOnDemand?: boolean;
|
|
711
756
|
/**
|
|
712
757
|
* @remarks
|
|
713
|
-
* The configurations of the data disks that
|
|
758
|
+
* The configurations of the data disks that are attached to the nodes in the node pool.
|
|
714
759
|
*/
|
|
715
760
|
dataDisks?: DataDisk[];
|
|
716
761
|
/**
|
|
@@ -729,10 +774,14 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
729
774
|
* 2
|
|
730
775
|
*/
|
|
731
776
|
desiredSize?: number;
|
|
777
|
+
/**
|
|
778
|
+
* @remarks
|
|
779
|
+
* The configurations of block devices.
|
|
780
|
+
*/
|
|
732
781
|
diskInit?: DiskInit[];
|
|
733
782
|
/**
|
|
734
783
|
* @remarks
|
|
735
|
-
* The custom image
|
|
784
|
+
* The ID of the custom image. If you do not set this parameter, the default system image is used.
|
|
736
785
|
*
|
|
737
786
|
* @example
|
|
738
787
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -740,16 +789,23 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
740
789
|
imageId?: string;
|
|
741
790
|
/**
|
|
742
791
|
* @remarks
|
|
743
|
-
* The type of the
|
|
792
|
+
* The type of the OS image. You must specify this parameter or `platform`. Valid values:
|
|
793
|
+
*
|
|
794
|
+
* - `AliyunLinux`: Alinux 2 image.
|
|
795
|
+
*
|
|
796
|
+
* - `AliyunLinux3`: Alinux 3 image.
|
|
744
797
|
*
|
|
745
|
-
*
|
|
746
|
-
*
|
|
747
|
-
*
|
|
748
|
-
*
|
|
749
|
-
*
|
|
750
|
-
*
|
|
751
|
-
*
|
|
752
|
-
*
|
|
798
|
+
* - `AliyunLinux3Arm64`: Alinux 3 image for ARM.
|
|
799
|
+
*
|
|
800
|
+
* - `AliyunLinuxUEFI`: Alinux 2 UEFI image.
|
|
801
|
+
*
|
|
802
|
+
* - `CentOS`: CentOS image.
|
|
803
|
+
*
|
|
804
|
+
* - `Windows`: Windows image.
|
|
805
|
+
*
|
|
806
|
+
* - `WindowsCore`: Windows Core image.
|
|
807
|
+
*
|
|
808
|
+
* - `ContainerOS`: Container-optimized image.
|
|
753
809
|
*
|
|
754
810
|
* @example
|
|
755
811
|
* AliyunLinux
|
|
@@ -759,8 +815,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
759
815
|
* @remarks
|
|
760
816
|
* The billing method of the nodes in the node pool. Valid values:
|
|
761
817
|
*
|
|
762
|
-
*
|
|
763
|
-
*
|
|
818
|
+
* - `PrePaid`: subscription.
|
|
819
|
+
*
|
|
820
|
+
* - `PostPaid`: pay-as-you-go.
|
|
764
821
|
*
|
|
765
822
|
* Default value: `PostPaid`.
|
|
766
823
|
*
|
|
@@ -770,10 +827,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
770
827
|
* PostPaid
|
|
771
828
|
*/
|
|
772
829
|
instanceChargeType?: string;
|
|
830
|
+
/**
|
|
831
|
+
* @remarks
|
|
832
|
+
* The configurations of metadata access for the ECS instances.
|
|
833
|
+
* This feature is available only to allowlisted users. To use this feature, submit a ticket.
|
|
834
|
+
*/
|
|
773
835
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
774
836
|
/**
|
|
775
837
|
* @remarks
|
|
776
|
-
* The instance
|
|
838
|
+
* The instance types.
|
|
777
839
|
*
|
|
778
840
|
* This parameter is required.
|
|
779
841
|
*/
|
|
@@ -782,8 +844,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
782
844
|
* @remarks
|
|
783
845
|
* The billing method of the public IP address. Valid values:
|
|
784
846
|
*
|
|
785
|
-
*
|
|
786
|
-
*
|
|
847
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
848
|
+
*
|
|
849
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
787
850
|
*
|
|
788
851
|
* @example
|
|
789
852
|
* PayByBandwidth
|
|
@@ -791,7 +854,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
791
854
|
internetChargeType?: string;
|
|
792
855
|
/**
|
|
793
856
|
* @remarks
|
|
794
|
-
* The maximum outbound bandwidth of
|
|
857
|
+
* The maximum outbound public bandwidth of a node. Unit: Mbit/s. Valid values: 1 to 100.
|
|
795
858
|
*
|
|
796
859
|
* @example
|
|
797
860
|
* 10
|
|
@@ -799,9 +862,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
799
862
|
internetMaxBandwidthOut?: number;
|
|
800
863
|
/**
|
|
801
864
|
* @remarks
|
|
802
|
-
* The name of the key pair. You must specify this parameter or
|
|
865
|
+
* The name of the key pair. You must specify this parameter or `login_password`.
|
|
803
866
|
*
|
|
804
|
-
* >
|
|
867
|
+
* > If you create a managed node pool, you can specify only `key_pair`.
|
|
805
868
|
*
|
|
806
869
|
* @example
|
|
807
870
|
* np-key
|
|
@@ -809,12 +872,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
809
872
|
keyPair?: string;
|
|
810
873
|
/**
|
|
811
874
|
* @remarks
|
|
812
|
-
* Specifies whether to
|
|
875
|
+
* Specifies whether to use a non-root user to log on to the ECS instances that are created.
|
|
813
876
|
*/
|
|
814
877
|
loginAsNonRoot?: boolean;
|
|
815
878
|
/**
|
|
816
879
|
* @remarks
|
|
817
|
-
* The password for SSH
|
|
880
|
+
* The password for SSH access. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
818
881
|
*
|
|
819
882
|
* @example
|
|
820
883
|
* Hello1234
|
|
@@ -822,17 +885,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
822
885
|
loginPassword?: string;
|
|
823
886
|
/**
|
|
824
887
|
* @remarks
|
|
825
|
-
* The
|
|
888
|
+
* The scaling policy for the ECS instances in a scaling group that spans multiple zones. Valid values:
|
|
826
889
|
*
|
|
827
|
-
*
|
|
890
|
+
* - `PRIORITY`: The system scales instances based on the priority of the vSwitches specified in `vswitch_ids`. The system preferentially scales instances in the zone where the vSwitch with the highest priority resides. If the scaling fails, the system scales instances in the zone where the vSwitch with the next highest priority resides.
|
|
828
891
|
*
|
|
829
|
-
*
|
|
892
|
+
* - `COST_OPTIMIZED`: The system scales instances based on the vCPU price from lowest to highest. The system preferentially scales instances that have the lowest vCPU price. If the scaling configuration includes multiple instance types and some of them are preemptible instance types, the system preferentially scales the preemptible instances. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to reasons such as stock-outs.
|
|
830
893
|
*
|
|
831
|
-
*
|
|
894
|
+
* > The `COST_OPTIMIZED` policy takes effect only when multiple instance types are specified or preemptible instances are selected in the scaling configuration.
|
|
832
895
|
*
|
|
833
|
-
*
|
|
834
|
-
*
|
|
835
|
-
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If the distribution of ECS instances across zones is not balanced due to reasons such as insufficient inventory, you can call the RebalanceInstances operation to evenly distribute the ECS instances across zones. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html)
|
|
896
|
+
* - `BALANCE`: The system evenly distributes ECS instances across the specified zones. If the distribution of instances becomes unbalanced due to stock-outs, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation to rebalance the resources.
|
|
836
897
|
*
|
|
837
898
|
* Default value: `PRIORITY`.
|
|
838
899
|
*
|
|
@@ -842,7 +903,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
842
903
|
multiAzPolicy?: string;
|
|
843
904
|
/**
|
|
844
905
|
* @remarks
|
|
845
|
-
* The minimum number of pay-as-you-go instances that must be
|
|
906
|
+
* The minimum number of pay-as-you-go instances that must be provisioned in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than this value, the system preferentially creates pay-as-you-go instances.
|
|
846
907
|
*
|
|
847
908
|
* @example
|
|
848
909
|
* 0
|
|
@@ -850,7 +911,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
850
911
|
onDemandBaseCapacity?: number;
|
|
851
912
|
/**
|
|
852
913
|
* @remarks
|
|
853
|
-
* The percentage of pay-as-you-go instances among the
|
|
914
|
+
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
|
|
854
915
|
*
|
|
855
916
|
* @example
|
|
856
917
|
* 20
|
|
@@ -858,7 +919,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
858
919
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
859
920
|
/**
|
|
860
921
|
* @remarks
|
|
861
|
-
* The subscription duration of the nodes in the node pool. This parameter
|
|
922
|
+
* The subscription duration of the nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`. If `period_unit` is set to `Month`, the valid values for `period` are 1, 2, 3, 6, and 12.
|
|
862
923
|
*
|
|
863
924
|
* Default value: 1.
|
|
864
925
|
*
|
|
@@ -868,9 +929,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
868
929
|
period?: number;
|
|
869
930
|
/**
|
|
870
931
|
* @remarks
|
|
871
|
-
* The billing cycle of the nodes in the node pool. This parameter is required
|
|
932
|
+
* The billing cycle of the subscription nodes in the node pool. This parameter is required when `instance_charge_type` is set to `PrePaid`.
|
|
872
933
|
*
|
|
873
|
-
*
|
|
934
|
+
* `Month`: The billing cycle is measured in months.
|
|
874
935
|
*
|
|
875
936
|
* @example
|
|
876
937
|
* Month
|
|
@@ -878,12 +939,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
878
939
|
periodUnit?: string;
|
|
879
940
|
/**
|
|
880
941
|
* @remarks
|
|
881
|
-
* The distribution
|
|
942
|
+
* The OS distribution. Valid values:
|
|
943
|
+
*
|
|
944
|
+
* - `CentOS`
|
|
945
|
+
*
|
|
946
|
+
* - `AliyunLinux`
|
|
882
947
|
*
|
|
883
|
-
*
|
|
884
|
-
*
|
|
885
|
-
*
|
|
886
|
-
* * `WindowsCore`
|
|
948
|
+
* - `Windows`
|
|
949
|
+
*
|
|
950
|
+
* - `WindowsCore`
|
|
887
951
|
*
|
|
888
952
|
* Default value: `AliyunLinux`.
|
|
889
953
|
*
|
|
@@ -900,9 +964,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
900
964
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
901
965
|
/**
|
|
902
966
|
* @remarks
|
|
903
|
-
* The name of the worker
|
|
904
|
-
*
|
|
905
|
-
* > You can configure this parameter when you create a node pool only for an ACK managed cluster that runs Kubernetes 1.22 or later.
|
|
967
|
+
* The name of the worker RAM role.
|
|
968
|
+
* >Notice: This parameter can be configured only when you create a node pool in an ACK managed cluster of Kubernetes 1.22 or later.
|
|
906
969
|
*
|
|
907
970
|
* @example
|
|
908
971
|
* example-role
|
|
@@ -913,13 +976,20 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
913
976
|
* A list of ApsaraDB RDS instances.
|
|
914
977
|
*/
|
|
915
978
|
rdsInstances?: string[];
|
|
979
|
+
/**
|
|
980
|
+
* @remarks
|
|
981
|
+
* The resource pool and resource pool policy that are used to create instances. Note the following when you set this parameter:
|
|
982
|
+
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
983
|
+
* You cannot specify this parameter together with `private_pool_options.match_criteria` or `private_pool_options.id`.
|
|
984
|
+
*/
|
|
916
985
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
917
986
|
/**
|
|
918
987
|
* @remarks
|
|
919
988
|
* The scaling mode of the scaling group. Valid values:
|
|
920
989
|
*
|
|
921
|
-
*
|
|
922
|
-
*
|
|
990
|
+
* - `release`: the standard mode. In this mode, resources are scaled by creating and releasing ECS instances based on the resource usage.
|
|
991
|
+
*
|
|
992
|
+
* - `recycle`: the rapid mode. In this mode, resources are scaled by creating, stopping, and starting ECS instances. This speeds up the scaling of resources. When an instance is stopped, you are not charged for its computing resources but are charged for its storage resources. This does not apply to instances that have local disks.
|
|
923
993
|
*
|
|
924
994
|
* Default value: `release`.
|
|
925
995
|
*
|
|
@@ -929,7 +999,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
929
999
|
scalingPolicy?: string;
|
|
930
1000
|
/**
|
|
931
1001
|
* @remarks
|
|
932
|
-
* The ID of the security group to which you want to add the
|
|
1002
|
+
* The ID of the security group to which you want to add the nodes. You must specify this parameter or `security_group_ids`. We recommend that you specify `security_group_ids`.
|
|
933
1003
|
*
|
|
934
1004
|
* @example
|
|
935
1005
|
* sg-2zeihch86ooz9io4****
|
|
@@ -937,12 +1007,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
937
1007
|
securityGroupId?: string;
|
|
938
1008
|
/**
|
|
939
1009
|
* @remarks
|
|
940
|
-
*
|
|
1010
|
+
* A list of security group IDs. You must specify this parameter or `security_group_id`. We recommend that you specify `security_group_ids`. If you specify both `security_group_id` and `security_group_ids`, `security_group_ids` takes precedence.
|
|
941
1011
|
*/
|
|
942
1012
|
securityGroupIds?: string[];
|
|
943
1013
|
/**
|
|
944
1014
|
* @remarks
|
|
945
|
-
* The number of instance types
|
|
1015
|
+
* The number of instance types. The scaling group creates preemptible instances of multiple instance types that have the lowest cost in a balanced manner. Valid values: 1 to 10.
|
|
946
1016
|
*
|
|
947
1017
|
* @example
|
|
948
1018
|
* 5
|
|
@@ -950,10 +1020,11 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
950
1020
|
spotInstancePools?: number;
|
|
951
1021
|
/**
|
|
952
1022
|
* @remarks
|
|
953
|
-
*
|
|
1023
|
+
* Specifies whether to enable replenishment for preemptible instances. If this feature is enabled, the scaling group attempts to create a new instance to replace a preemptible instance that is about to be reclaimed. Valid values:
|
|
954
1024
|
*
|
|
955
|
-
*
|
|
956
|
-
*
|
|
1025
|
+
* - `true`
|
|
1026
|
+
*
|
|
1027
|
+
* - `false`
|
|
957
1028
|
*
|
|
958
1029
|
* @example
|
|
959
1030
|
* false
|
|
@@ -961,18 +1032,20 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
961
1032
|
spotInstanceRemedy?: boolean;
|
|
962
1033
|
/**
|
|
963
1034
|
* @remarks
|
|
964
|
-
* The
|
|
1035
|
+
* The price limits for specific spot instance types.
|
|
965
1036
|
*/
|
|
966
1037
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
967
1038
|
/**
|
|
968
1039
|
* @remarks
|
|
969
|
-
* The
|
|
1040
|
+
* The bidding policy for the pay-as-you-go instances. Valid values:
|
|
1041
|
+
*
|
|
1042
|
+
* - NoSpot: normal pay-as-you-go instances.
|
|
1043
|
+
*
|
|
1044
|
+
* - SpotWithPriceLimit: spot instances with a user-defined maximum hourly price.
|
|
970
1045
|
*
|
|
971
|
-
*
|
|
972
|
-
* * SpotWithPriceLimit: a preemptible instance that is configured with the highest bid price.
|
|
973
|
-
* * SpotAsPriceGo: bids based on the up-to-date market price are submitted.
|
|
1046
|
+
* - SpotAsPriceGo: spot instances for which the system automatically bids based on the current market price.
|
|
974
1047
|
*
|
|
975
|
-
* For more information, see [Preemptible
|
|
1048
|
+
* For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/157759.html).
|
|
976
1049
|
*
|
|
977
1050
|
* @example
|
|
978
1051
|
* NoSpot
|
|
@@ -980,12 +1053,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
980
1053
|
spotStrategy?: string;
|
|
981
1054
|
/**
|
|
982
1055
|
* @remarks
|
|
983
|
-
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
1056
|
+
* Specifies whether to enable the performance burst feature for the system disk. Valid values:
|
|
984
1057
|
*
|
|
985
|
-
*
|
|
986
|
-
* * false: disables the burst feature.
|
|
1058
|
+
* - true: enables the performance burst feature.
|
|
987
1059
|
*
|
|
988
|
-
*
|
|
1060
|
+
* - false: disables the performance burst feature.
|
|
1061
|
+
*
|
|
1062
|
+
* This parameter is supported 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).
|
|
989
1063
|
*
|
|
990
1064
|
* @example
|
|
991
1065
|
* true
|
|
@@ -993,18 +1067,30 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
993
1067
|
systemDiskBurstingEnabled?: boolean;
|
|
994
1068
|
/**
|
|
995
1069
|
* @remarks
|
|
996
|
-
*
|
|
1070
|
+
* A prioritized list of system disk types. The system attempts to create a system disk of a disk type with a higher priority. If the disk type is unavailable, the system uses the next disk type to create the system disk. Valid values:
|
|
1071
|
+
*
|
|
1072
|
+
* - cloud: basic disk.
|
|
1073
|
+
*
|
|
1074
|
+
* - cloud_efficiency: ultra disk.
|
|
1075
|
+
*
|
|
1076
|
+
* - cloud_ssd: standard SSD.
|
|
1077
|
+
*
|
|
1078
|
+
* - cloud_essd: ESSD.
|
|
997
1079
|
*/
|
|
998
1080
|
systemDiskCategories?: string[];
|
|
999
1081
|
/**
|
|
1000
1082
|
* @remarks
|
|
1001
1083
|
* The type of the system disk. Valid values:
|
|
1002
1084
|
*
|
|
1003
|
-
*
|
|
1004
|
-
*
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
1007
|
-
*
|
|
1085
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1086
|
+
*
|
|
1087
|
+
* - `cloud_ssd`: standard SSD.
|
|
1088
|
+
*
|
|
1089
|
+
* - `cloud_essd`: enhanced SSD (ESSD).
|
|
1090
|
+
*
|
|
1091
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1092
|
+
*
|
|
1093
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1008
1094
|
*
|
|
1009
1095
|
* Default value: `cloud_efficiency`.
|
|
1010
1096
|
*
|
|
@@ -1014,7 +1100,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1014
1100
|
systemDiskCategory?: string;
|
|
1015
1101
|
/**
|
|
1016
1102
|
* @remarks
|
|
1017
|
-
* The algorithm that
|
|
1103
|
+
* The encryption algorithm that is used for the system disk. Set the value to aes-256.
|
|
1018
1104
|
*
|
|
1019
1105
|
* @example
|
|
1020
1106
|
* aes-256
|
|
@@ -1022,7 +1108,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1022
1108
|
systemDiskEncryptAlgorithm?: string;
|
|
1023
1109
|
/**
|
|
1024
1110
|
* @remarks
|
|
1025
|
-
* Specifies whether to encrypt the system disk. Valid values: true
|
|
1111
|
+
* Specifies whether to encrypt the system disk. Valid values: true and false.
|
|
1026
1112
|
*/
|
|
1027
1113
|
systemDiskEncrypted?: boolean;
|
|
1028
1114
|
/**
|
|
@@ -1035,12 +1121,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1035
1121
|
systemDiskKmsKeyId?: string;
|
|
1036
1122
|
/**
|
|
1037
1123
|
* @remarks
|
|
1038
|
-
* The performance level
|
|
1124
|
+
* The performance level of the ESSD that is used as the system disk. This parameter takes effect only for ESSDs.
|
|
1125
|
+
*
|
|
1126
|
+
* - PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
|
|
1127
|
+
*
|
|
1128
|
+
* - PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
|
|
1129
|
+
*
|
|
1130
|
+
* - PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
|
|
1039
1131
|
*
|
|
1040
|
-
*
|
|
1041
|
-
* * PL1: moderate maximum concurrent I/O performance and low I/O latency.
|
|
1042
|
-
* * PL2: high maximum concurrent I/O performance and low I/O latency.
|
|
1043
|
-
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
1132
|
+
* - PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
|
|
1044
1133
|
*
|
|
1045
1134
|
* @example
|
|
1046
1135
|
* PL1
|
|
@@ -1048,9 +1137,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1048
1137
|
systemDiskPerformanceLevel?: string;
|
|
1049
1138
|
/**
|
|
1050
1139
|
* @remarks
|
|
1051
|
-
* The
|
|
1140
|
+
* The provisioned read/write IOPS of the system disk. The valid values are 0 to min{50000, 1000 × Capacity - Base IOPS}. The default Base IOPS is min{1800 + 50 × Capacity, 50000}.
|
|
1052
1141
|
*
|
|
1053
|
-
* This parameter is
|
|
1142
|
+
* This parameter is supported 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).
|
|
1054
1143
|
*
|
|
1055
1144
|
* @example
|
|
1056
1145
|
* 1000
|
|
@@ -1068,14 +1157,14 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1068
1157
|
systemDiskSize?: number;
|
|
1069
1158
|
/**
|
|
1070
1159
|
* @remarks
|
|
1071
|
-
* The
|
|
1160
|
+
* The tags to add to the ECS instances in the node pool.
|
|
1072
1161
|
*
|
|
1073
|
-
*
|
|
1162
|
+
* A tag key must be unique and can be up to 128 characters in length. A tag key and a tag value cannot start with `aliyun` or `acs:` and cannot contain `https://` or `http://`.
|
|
1074
1163
|
*/
|
|
1075
1164
|
tags?: NodepoolScalingGroupTags[];
|
|
1076
1165
|
/**
|
|
1077
1166
|
* @remarks
|
|
1078
|
-
* The IDs of vSwitches.
|
|
1167
|
+
* The IDs of the vSwitches to which the nodes can be added.
|
|
1079
1168
|
*
|
|
1080
1169
|
* This parameter is required.
|
|
1081
1170
|
*/
|
|
@@ -1094,7 +1183,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1094
1183
|
export declare class NodepoolTeeConfig extends $dara.Model {
|
|
1095
1184
|
/**
|
|
1096
1185
|
* @remarks
|
|
1097
|
-
* Specifies whether to
|
|
1186
|
+
* Specifies whether to create a confidential computing node pool.
|
|
1098
1187
|
*
|
|
1099
1188
|
* This parameter is required.
|
|
1100
1189
|
*
|
|
@@ -1116,12 +1205,12 @@ export declare class NodepoolTeeConfig extends $dara.Model {
|
|
|
1116
1205
|
export declare class Nodepool extends $dara.Model {
|
|
1117
1206
|
/**
|
|
1118
1207
|
* @remarks
|
|
1119
|
-
* The auto scaling configurations
|
|
1208
|
+
* The auto scaling configurations for the node pool.
|
|
1120
1209
|
*/
|
|
1121
1210
|
autoScaling?: NodepoolAutoScaling;
|
|
1122
1211
|
/**
|
|
1123
1212
|
* @remarks
|
|
1124
|
-
* This parameter is deprecated. Use desired_size instead.
|
|
1213
|
+
* [This parameter is deprecated. Use desired_size instead.]
|
|
1125
1214
|
*
|
|
1126
1215
|
* The number of nodes in the node pool.
|
|
1127
1216
|
*
|
|
@@ -1133,7 +1222,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1133
1222
|
count?: number;
|
|
1134
1223
|
/**
|
|
1135
1224
|
* @remarks
|
|
1136
|
-
* This parameter is deprecated.
|
|
1225
|
+
* [This parameter is deprecated.]
|
|
1137
1226
|
*
|
|
1138
1227
|
* The configurations of the edge node pool.
|
|
1139
1228
|
*
|
|
@@ -1142,10 +1231,11 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1142
1231
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1143
1232
|
/**
|
|
1144
1233
|
* @remarks
|
|
1145
|
-
* The network
|
|
1234
|
+
* The network mode of the edge node pool. This parameter is valid only for edge node pools. Valid values:
|
|
1146
1235
|
*
|
|
1147
|
-
*
|
|
1148
|
-
*
|
|
1236
|
+
* - `basic`: basic mode.
|
|
1237
|
+
*
|
|
1238
|
+
* - `private`: dedicated mode. This mode is supported in clusters of Kubernetes 1.22 and later.
|
|
1149
1239
|
*
|
|
1150
1240
|
* @example
|
|
1151
1241
|
* basic
|
|
@@ -1153,41 +1243,45 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1153
1243
|
interconnectMode?: string;
|
|
1154
1244
|
/**
|
|
1155
1245
|
* @remarks
|
|
1156
|
-
* The configurations
|
|
1246
|
+
* The Kubernetes configurations for the nodes.
|
|
1157
1247
|
*/
|
|
1158
1248
|
kubernetesConfig?: NodepoolKubernetesConfig;
|
|
1159
1249
|
/**
|
|
1160
1250
|
* @remarks
|
|
1161
|
-
* The configurations of the managed node pool
|
|
1251
|
+
* The configurations of the managed node pool.
|
|
1162
1252
|
*/
|
|
1163
1253
|
management?: NodepoolManagement;
|
|
1164
1254
|
/**
|
|
1165
1255
|
* @remarks
|
|
1166
|
-
*
|
|
1256
|
+
* 边缘节点池允许容纳的最大节点数量,该参数大于等于 0。0 表示无额外限制(仅受限于集群整体可以容纳的节点数,节点池本身无额外限制)。边缘节点池该参数值往往大于 0;ess 类型节点池和默认的 edge 类型节点池该参数值为 0。
|
|
1167
1257
|
*
|
|
1168
1258
|
* @example
|
|
1169
1259
|
* 10
|
|
1170
1260
|
*/
|
|
1171
1261
|
maxNodes?: number;
|
|
1262
|
+
/**
|
|
1263
|
+
* @remarks
|
|
1264
|
+
* 节点组件列表。
|
|
1265
|
+
*/
|
|
1172
1266
|
nodeComponents?: NodepoolNodeComponents[];
|
|
1173
1267
|
/**
|
|
1174
1268
|
* @remarks
|
|
1175
|
-
*
|
|
1269
|
+
* 节点配置。
|
|
1176
1270
|
*/
|
|
1177
1271
|
nodeConfig?: NodepoolNodeConfig;
|
|
1178
1272
|
/**
|
|
1179
1273
|
* @remarks
|
|
1180
|
-
* The
|
|
1274
|
+
* The configurations of the node pool.
|
|
1181
1275
|
*/
|
|
1182
1276
|
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
1183
1277
|
/**
|
|
1184
1278
|
* @remarks
|
|
1185
|
-
* The configurations of the scaling group
|
|
1279
|
+
* The configurations of the scaling group.
|
|
1186
1280
|
*/
|
|
1187
1281
|
scalingGroup?: NodepoolScalingGroup;
|
|
1188
1282
|
/**
|
|
1189
1283
|
* @remarks
|
|
1190
|
-
* The configurations of confidential computing.
|
|
1284
|
+
* The configurations of the confidential computing node pool.
|
|
1191
1285
|
*/
|
|
1192
1286
|
teeConfig?: NodepoolTeeConfig;
|
|
1193
1287
|
static names(): {
|