@alicloud/cs20151215 6.6.4 → 6.7.0
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 +220 -124
- package/dist/client.js +247 -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 +491 -284
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +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 +464 -214
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +396 -233
- 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 +353 -216
- 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 +277 -183
- 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/RunNodeOperationRequest.d.ts +22 -0
- package/dist/models/RunNodeOperationRequest.js +63 -0
- package/dist/models/RunNodeOperationRequest.js.map +1 -0
- package/dist/models/RunNodeOperationResponse.d.ts +19 -0
- package/dist/models/RunNodeOperationResponse.js +69 -0
- package/dist/models/RunNodeOperationResponse.js.map +1 -0
- package/dist/models/RunNodeOperationResponseBody.d.ts +28 -0
- package/dist/models/RunNodeOperationResponseBody.js +62 -0
- package/dist/models/RunNodeOperationResponseBody.js.map +1 -0
- 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/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +251 -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 +493 -284
- package/src/models/CreateClusterNodePoolResponseBody.ts +1 -1
- 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 +466 -214
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +398 -233
- 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 +356 -217
- 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 +279 -183
- 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/RunNodeOperationRequest.ts +40 -0
- package/src/models/RunNodeOperationResponse.ts +40 -0
- package/src/models/RunNodeOperationResponseBody.ts +45 -0
- 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
- package/src/models/model.ts +3 -0
|
@@ -12,6 +12,9 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
|
|
13
13
|
export class DescribeClusterNodePoolDetailResponseBodyAutoMode extends $dara.Model {
|
|
14
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Indicates whether to enable the feature.
|
|
17
|
+
*
|
|
15
18
|
* @example
|
|
16
19
|
* false
|
|
17
20
|
*/
|
|
@@ -40,7 +43,9 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoMode extends $dara.Mod
|
|
|
40
43
|
export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.Model {
|
|
41
44
|
/**
|
|
42
45
|
* @remarks
|
|
43
|
-
* The
|
|
46
|
+
* The peak EIP bandwidth.
|
|
47
|
+
*
|
|
48
|
+
* Valid values: 1 to 100. Unit: Mbit/s.
|
|
44
49
|
*
|
|
45
50
|
* @example
|
|
46
51
|
* 5
|
|
@@ -48,10 +53,11 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
48
53
|
eipBandwidth?: number;
|
|
49
54
|
/**
|
|
50
55
|
* @remarks
|
|
51
|
-
* The
|
|
56
|
+
* The billing method of the EIP. Valid values:
|
|
52
57
|
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
58
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
59
|
+
*
|
|
60
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
55
61
|
*
|
|
56
62
|
* @example
|
|
57
63
|
* PayByBandwidth
|
|
@@ -59,10 +65,13 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
59
65
|
eipInternetChargeType?: string;
|
|
60
66
|
/**
|
|
61
67
|
* @remarks
|
|
62
|
-
* Indicates whether
|
|
68
|
+
* Indicates whether to enable automatic scaling. Valid values:
|
|
69
|
+
*
|
|
70
|
+
* - `true`: enables automatic scaling for the node pool. If the resources of the cluster cannot meet the scheduling requirements of pods, ACK automatically scales out or in nodes based on the configured minimum and maximum numbers of instances. For clusters of Kubernetes 1.24 or later, node elastic scaling is enabled by default. For clusters of a Kubernetes version earlier than 1.24, node autoscaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
71
|
+
*
|
|
72
|
+
* - `false`: disables automatic scaling. ACK adjusts the number of nodes in the node pool to the expected number of nodes. The number of nodes is always the same as the expected number of nodes.
|
|
63
73
|
*
|
|
64
|
-
*
|
|
65
|
-
* * `false`: auto scaling is disabled. If this parameter is set to false, other parameters in the `auto_scaling` section do not take effect.
|
|
74
|
+
* If this parameter is set to false, other parameters in auto_scaling do not take effect.
|
|
66
75
|
*
|
|
67
76
|
* @example
|
|
68
77
|
* true
|
|
@@ -70,10 +79,11 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
70
79
|
enable?: boolean;
|
|
71
80
|
/**
|
|
72
81
|
* @remarks
|
|
73
|
-
* Indicates whether an EIP
|
|
82
|
+
* Indicates whether to associate an EIP with the node pool. Valid values:
|
|
74
83
|
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
84
|
+
* - `true`: Associates an EIP with the node pool.
|
|
85
|
+
*
|
|
86
|
+
* - `false`: Does not associate an EIP with the node pool.
|
|
77
87
|
*
|
|
78
88
|
* @example
|
|
79
89
|
* true
|
|
@@ -81,7 +91,7 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
81
91
|
isBondEip?: boolean;
|
|
82
92
|
/**
|
|
83
93
|
* @remarks
|
|
84
|
-
* The maximum number of
|
|
94
|
+
* The maximum number of instances that can be created in the node pool. This value does not include the existing instances.
|
|
85
95
|
*
|
|
86
96
|
* @example
|
|
87
97
|
* 10
|
|
@@ -89,7 +99,7 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
89
99
|
maxInstances?: number;
|
|
90
100
|
/**
|
|
91
101
|
* @remarks
|
|
92
|
-
* The minimum number of
|
|
102
|
+
* The minimum number of instances that can be created in the node pool. This value does not include the existing instances.
|
|
93
103
|
*
|
|
94
104
|
* @example
|
|
95
105
|
* 1
|
|
@@ -97,12 +107,15 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
97
107
|
minInstances?: number;
|
|
98
108
|
/**
|
|
99
109
|
* @remarks
|
|
100
|
-
* The
|
|
110
|
+
* The type of automatic scaling that is configured for the node pool. This parameter is specified based on the instance type for automatic scaling. Valid values:
|
|
111
|
+
*
|
|
112
|
+
* - `cpu`: regular instances.
|
|
113
|
+
*
|
|
114
|
+
* - `gpu`: GPU-accelerated instances.
|
|
101
115
|
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
* * `spot`: preemptible instance.
|
|
116
|
+
* - `gpushare`: shared GPU-accelerated instances.
|
|
117
|
+
*
|
|
118
|
+
* - `spot`: spot instances.
|
|
106
119
|
*
|
|
107
120
|
* @example
|
|
108
121
|
* cpu
|
|
@@ -178,7 +191,9 @@ export class DescribeClusterNodePoolDetailResponseBodyEfloNodeGroup extends $dar
|
|
|
178
191
|
export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends $dara.Model {
|
|
179
192
|
/**
|
|
180
193
|
* @remarks
|
|
181
|
-
*
|
|
194
|
+
* [This parameter is deprecated]
|
|
195
|
+
*
|
|
196
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
182
197
|
*
|
|
183
198
|
* @example
|
|
184
199
|
* 10
|
|
@@ -186,7 +201,9 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
186
201
|
bandwidth?: number;
|
|
187
202
|
/**
|
|
188
203
|
* @remarks
|
|
189
|
-
*
|
|
204
|
+
* [This parameter is deprecated]
|
|
205
|
+
*
|
|
206
|
+
* The ID of the CCN instance that is associated with the enhanced edge node pool.
|
|
190
207
|
*
|
|
191
208
|
* @example
|
|
192
209
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -194,7 +211,9 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
194
211
|
ccnId?: string;
|
|
195
212
|
/**
|
|
196
213
|
* @remarks
|
|
197
|
-
*
|
|
214
|
+
* [This parameter is deprecated]
|
|
215
|
+
*
|
|
216
|
+
* The region where the CCN instance that is associated with the enhanced edge node pool resides.
|
|
198
217
|
*
|
|
199
218
|
* @example
|
|
200
219
|
* cn-shanghai
|
|
@@ -202,7 +221,9 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
202
221
|
ccnRegionId?: string;
|
|
203
222
|
/**
|
|
204
223
|
* @remarks
|
|
205
|
-
*
|
|
224
|
+
* [This parameter is deprecated]
|
|
225
|
+
*
|
|
226
|
+
* The ID of the CEN instance that is associated with the enhanced edge node pool.
|
|
206
227
|
*
|
|
207
228
|
* @example
|
|
208
229
|
* cen-ey9k9nfhz0f*******
|
|
@@ -210,7 +231,9 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
210
231
|
cenId?: string;
|
|
211
232
|
/**
|
|
212
233
|
* @remarks
|
|
213
|
-
*
|
|
234
|
+
* [This parameter is deprecated]
|
|
235
|
+
*
|
|
236
|
+
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
214
237
|
*
|
|
215
238
|
* @example
|
|
216
239
|
* 1
|
|
@@ -248,10 +271,11 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
248
271
|
export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $dara.Model {
|
|
249
272
|
/**
|
|
250
273
|
* @remarks
|
|
251
|
-
* Indicates whether
|
|
274
|
+
* Indicates whether to install Cloud Monitor on the ECS nodes. After you install Cloud Monitor, you can view the monitoring information of the created ECS instances in the Cloud Monitor console. We recommend that you enable this feature. Valid values:
|
|
252
275
|
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
276
|
+
* - `true`: Installs Cloud Monitor on the ECS nodes.
|
|
277
|
+
*
|
|
278
|
+
* - `false`: Does not install Cloud Monitor on the ECS nodes.
|
|
255
279
|
*
|
|
256
280
|
* @example
|
|
257
281
|
* true
|
|
@@ -259,10 +283,11 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
259
283
|
cmsEnabled?: boolean;
|
|
260
284
|
/**
|
|
261
285
|
* @remarks
|
|
262
|
-
* The CPU management policy
|
|
286
|
+
* The CPU management policy for the nodes. The following policies are supported for clusters of Kubernetes 1.12.6 and later:
|
|
287
|
+
*
|
|
288
|
+
* - `static`: Allows pods with specific resource characteristics on a node to have enhanced CPU affinity and exclusivity.
|
|
263
289
|
*
|
|
264
|
-
*
|
|
265
|
-
* * `none`: indicates that the default CPU affinity is used.
|
|
290
|
+
* - `none`: Enables the default CPU affinity scheme.
|
|
266
291
|
*
|
|
267
292
|
* @example
|
|
268
293
|
* none
|
|
@@ -270,28 +295,28 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
270
295
|
cpuPolicy?: string;
|
|
271
296
|
/**
|
|
272
297
|
* @remarks
|
|
273
|
-
* The labels
|
|
274
|
-
*
|
|
275
|
-
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
276
|
-
* * The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 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).
|
|
298
|
+
* The node labels.
|
|
277
299
|
*/
|
|
278
300
|
labels?: Tag[];
|
|
279
301
|
/**
|
|
280
302
|
* @remarks
|
|
281
|
-
*
|
|
303
|
+
* The custom node name.
|
|
282
304
|
*
|
|
283
|
-
*
|
|
284
|
-
* * 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.
|
|
305
|
+
* A node name consists of a prefix, the IP address of the node, and a suffix:
|
|
285
306
|
*
|
|
286
|
-
*
|
|
307
|
+
* - The prefix and suffix can consist of one or more parts separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or a digit.
|
|
308
|
+
*
|
|
309
|
+
* - The IP address segment length indicates the number of digits to be truncated from the end of the node IP address. Valid values: 5 to 12.
|
|
310
|
+
*
|
|
311
|
+
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP address segment length is 5, and the suffix is test, the node name is aliyun.com00055test.
|
|
287
312
|
*
|
|
288
313
|
* @example
|
|
289
|
-
*
|
|
314
|
+
* aliyun.com192.XX.YY.55test
|
|
290
315
|
*/
|
|
291
316
|
nodeNameMode?: string;
|
|
292
317
|
/**
|
|
293
318
|
* @remarks
|
|
294
|
-
* The
|
|
319
|
+
* The pre-custom data of the node pool. The script is run before the node is initialized. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
295
320
|
*
|
|
296
321
|
* @example
|
|
297
322
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -299,10 +324,16 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
299
324
|
preUserData?: string;
|
|
300
325
|
/**
|
|
301
326
|
* @remarks
|
|
302
|
-
* The name of the container runtime.
|
|
327
|
+
* The name of the container runtime. ACK supports the following container runtimes.
|
|
328
|
+
*
|
|
329
|
+
* - containerd: recommended. It is supported by all cluster versions.
|
|
330
|
+
*
|
|
331
|
+
* - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 and earlier.
|
|
332
|
+
*
|
|
333
|
+
* - docker: no longer maintained. It is supported by clusters of Kubernetes 1.22 and earlier.
|
|
303
334
|
*
|
|
304
335
|
* @example
|
|
305
|
-
*
|
|
336
|
+
* containerd
|
|
306
337
|
*/
|
|
307
338
|
runtime?: string;
|
|
308
339
|
/**
|
|
@@ -310,17 +341,21 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
310
341
|
* The version of the container runtime.
|
|
311
342
|
*
|
|
312
343
|
* @example
|
|
313
|
-
*
|
|
344
|
+
* 1.6.38
|
|
314
345
|
*/
|
|
315
346
|
runtimeVersion?: string;
|
|
316
347
|
/**
|
|
317
348
|
* @remarks
|
|
318
|
-
* The taints
|
|
349
|
+
* The node taints. Taints work with tolerations to prevent pods from being scheduled to unsuitable nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
319
350
|
*/
|
|
320
351
|
taints?: Taint[];
|
|
321
352
|
/**
|
|
322
353
|
* @remarks
|
|
323
|
-
*
|
|
354
|
+
* Indicates whether the scaled-out nodes are unschedulable.
|
|
355
|
+
*
|
|
356
|
+
* - true: The nodes are unschedulable.
|
|
357
|
+
*
|
|
358
|
+
* - false: The nodes are schedulable.
|
|
324
359
|
*
|
|
325
360
|
* @example
|
|
326
361
|
* true
|
|
@@ -328,7 +363,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
328
363
|
unschedulable?: boolean;
|
|
329
364
|
/**
|
|
330
365
|
* @remarks
|
|
331
|
-
* The custom
|
|
366
|
+
* The custom data of the node pool. The script is run after the node is initialized. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
332
367
|
*
|
|
333
368
|
* @example
|
|
334
369
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -380,15 +415,29 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
380
415
|
}
|
|
381
416
|
|
|
382
417
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy extends $dara.Model {
|
|
418
|
+
/**
|
|
419
|
+
* @remarks
|
|
420
|
+
* Indicates whether manual approval is required for node repair.
|
|
421
|
+
*
|
|
422
|
+
* @example
|
|
423
|
+
* false
|
|
424
|
+
*/
|
|
383
425
|
approvalRequired?: boolean;
|
|
384
426
|
/**
|
|
427
|
+
* @remarks
|
|
428
|
+
* The ID of the auto repair policy
|
|
429
|
+
*
|
|
385
430
|
* @example
|
|
386
431
|
* r-xxxxxxxxxx
|
|
387
432
|
*/
|
|
388
433
|
autoRepairPolicyId?: string;
|
|
389
434
|
/**
|
|
390
435
|
* @remarks
|
|
391
|
-
*
|
|
436
|
+
* Indicates whether to allow node restart. This parameter takes effect only if auto_repair is set to true.
|
|
437
|
+
*
|
|
438
|
+
* - `true`: Nodes can be restarted.
|
|
439
|
+
*
|
|
440
|
+
* - `false`: Nodes cannot be restarted.
|
|
392
441
|
*
|
|
393
442
|
* @example
|
|
394
443
|
* true
|
|
@@ -422,7 +471,11 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
422
471
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $dara.Model {
|
|
423
472
|
/**
|
|
424
473
|
* @remarks
|
|
425
|
-
*
|
|
474
|
+
* Indicates whether to allow automatic kubelet upgrades. This parameter takes effect only if auto_upgrade is set to true. Valid values:
|
|
475
|
+
*
|
|
476
|
+
* - `true`: Automatic kubelet upgrades are allowed.
|
|
477
|
+
*
|
|
478
|
+
* - `false`: Automatic kubelet upgrades are not allowed.
|
|
426
479
|
*
|
|
427
480
|
* @example
|
|
428
481
|
* true
|
|
@@ -450,10 +503,21 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolic
|
|
|
450
503
|
}
|
|
451
504
|
|
|
452
505
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $dara.Model {
|
|
506
|
+
/**
|
|
507
|
+
* @remarks
|
|
508
|
+
* The packages that should be excluded during CVE fixing.
|
|
509
|
+
*
|
|
510
|
+
* @example
|
|
511
|
+
* kernel
|
|
512
|
+
*/
|
|
453
513
|
excludePackages?: string;
|
|
454
514
|
/**
|
|
455
515
|
* @remarks
|
|
456
|
-
*
|
|
516
|
+
* Indicates whether to allow node restart. This parameter takes effect only if auto_vul_fix is set to true. Valid values:
|
|
517
|
+
*
|
|
518
|
+
* - `true`: Nodes can be restarted.
|
|
519
|
+
*
|
|
520
|
+
* - `false`: Nodes cannot be restarted.
|
|
457
521
|
*
|
|
458
522
|
* @example
|
|
459
523
|
* true
|
|
@@ -461,7 +525,13 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
461
525
|
restartNode?: boolean;
|
|
462
526
|
/**
|
|
463
527
|
* @remarks
|
|
464
|
-
* The
|
|
528
|
+
* The levels of CVEs that are allowed to be automatically fixed. The levels are separated by commas.
|
|
529
|
+
*
|
|
530
|
+
* - `asap`: high
|
|
531
|
+
*
|
|
532
|
+
* - `later`: medium
|
|
533
|
+
*
|
|
534
|
+
* - `nntf`: low
|
|
465
535
|
*
|
|
466
536
|
* @example
|
|
467
537
|
* asap,nntf
|
|
@@ -495,10 +565,11 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
495
565
|
export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $dara.Model {
|
|
496
566
|
/**
|
|
497
567
|
* @remarks
|
|
498
|
-
* Indicates whether
|
|
568
|
+
* Indicates whether to enable automatic upgrades. Valid values:
|
|
569
|
+
*
|
|
570
|
+
* - `true`: Automatic upgrades are enabled.
|
|
499
571
|
*
|
|
500
|
-
*
|
|
501
|
-
* * `false`: Auto update is disabled.
|
|
572
|
+
* - `false`: Automatic upgrades are disabled.
|
|
502
573
|
*
|
|
503
574
|
* @example
|
|
504
575
|
* true
|
|
@@ -506,7 +577,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
506
577
|
autoUpgrade?: boolean;
|
|
507
578
|
/**
|
|
508
579
|
* @remarks
|
|
509
|
-
* The maximum number of nodes
|
|
580
|
+
* The maximum number of unavailable nodes. Valid values: 1 to 1000.
|
|
510
581
|
*
|
|
511
582
|
* Default value: 1.
|
|
512
583
|
*
|
|
@@ -516,7 +587,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
516
587
|
maxUnavailable?: number;
|
|
517
588
|
/**
|
|
518
589
|
* @remarks
|
|
519
|
-
* The number of
|
|
590
|
+
* The number of extra nodes. You can specify only one of surge and surge_percentage.
|
|
520
591
|
*
|
|
521
592
|
* @example
|
|
522
593
|
* 5
|
|
@@ -524,7 +595,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
524
595
|
surge?: number;
|
|
525
596
|
/**
|
|
526
597
|
* @remarks
|
|
527
|
-
* The percentage of
|
|
598
|
+
* The percentage of extra nodes. You can specify only one of surge and surge_percentage.
|
|
599
|
+
*
|
|
600
|
+
* The number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if you set the percentage of extra nodes to 50% and the number of existing nodes is 6, the number of extra nodes is 3 (50% × 6).
|
|
528
601
|
*
|
|
529
602
|
* @example
|
|
530
603
|
* 50
|
|
@@ -558,12 +631,14 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
558
631
|
}
|
|
559
632
|
|
|
560
633
|
export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.Model {
|
|
634
|
+
autoFaultDiagnosis?: boolean;
|
|
561
635
|
/**
|
|
562
636
|
* @remarks
|
|
563
|
-
* Indicates whether auto repair
|
|
637
|
+
* Indicates whether to enable auto repair. This parameter takes effect only if enable is set to true.
|
|
638
|
+
*
|
|
639
|
+
* - `true`: Auto repair is enabled.
|
|
564
640
|
*
|
|
565
|
-
*
|
|
566
|
-
* * `false`: Auto repair is disabled.
|
|
641
|
+
* - `false`: Auto repair is disabled.
|
|
567
642
|
*
|
|
568
643
|
* @example
|
|
569
644
|
* true
|
|
@@ -571,12 +646,16 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
571
646
|
autoRepair?: boolean;
|
|
572
647
|
/**
|
|
573
648
|
* @remarks
|
|
574
|
-
*
|
|
649
|
+
* The policy for automatic node repair.
|
|
575
650
|
*/
|
|
576
651
|
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
577
652
|
/**
|
|
578
653
|
* @remarks
|
|
579
|
-
*
|
|
654
|
+
* Indicates whether to enable automatic node upgrades. This parameter takes effect only if enable is set to true.
|
|
655
|
+
*
|
|
656
|
+
* - `true`: Automatic upgrades are enabled.
|
|
657
|
+
*
|
|
658
|
+
* - `false`: Automatic upgrades are disabled.
|
|
580
659
|
*
|
|
581
660
|
* @example
|
|
582
661
|
* true
|
|
@@ -584,12 +663,16 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
584
663
|
autoUpgrade?: boolean;
|
|
585
664
|
/**
|
|
586
665
|
* @remarks
|
|
587
|
-
*
|
|
666
|
+
* The policy for automatic upgrades.
|
|
588
667
|
*/
|
|
589
668
|
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
590
669
|
/**
|
|
591
670
|
* @remarks
|
|
592
|
-
*
|
|
671
|
+
* Indicates whether to automatically fix CVEs. This parameter takes effect only if enable is set to true.
|
|
672
|
+
*
|
|
673
|
+
* - `true`: CVEs are automatically fixed.
|
|
674
|
+
*
|
|
675
|
+
* - `false`: CVEs are not automatically fixed.
|
|
593
676
|
*
|
|
594
677
|
* @example
|
|
595
678
|
* true
|
|
@@ -597,15 +680,16 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
597
680
|
autoVulFix?: boolean;
|
|
598
681
|
/**
|
|
599
682
|
* @remarks
|
|
600
|
-
*
|
|
683
|
+
* The policy for automatically fixing CVEs.
|
|
601
684
|
*/
|
|
602
685
|
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
603
686
|
/**
|
|
604
687
|
* @remarks
|
|
605
|
-
* Indicates whether the managed node pool feature
|
|
688
|
+
* Indicates whether to enable the managed node pool feature. Valid values:
|
|
606
689
|
*
|
|
607
|
-
*
|
|
608
|
-
*
|
|
690
|
+
* - `true`: Enables the managed node pool feature.
|
|
691
|
+
*
|
|
692
|
+
* - `false`: Disables the managed node pool feature. Other parameters in this section take effect only if this parameter is set to true.
|
|
609
693
|
*
|
|
610
694
|
* @example
|
|
611
695
|
* true
|
|
@@ -613,11 +697,12 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
613
697
|
enable?: boolean;
|
|
614
698
|
/**
|
|
615
699
|
* @remarks
|
|
616
|
-
* The
|
|
700
|
+
* The automatic upgrade configurations. This parameter takes effect only if enable is set to true.
|
|
617
701
|
*/
|
|
618
702
|
upgradeConfig?: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig;
|
|
619
703
|
static names(): { [key: string]: string } {
|
|
620
704
|
return {
|
|
705
|
+
autoFaultDiagnosis: 'auto_fault_diagnosis',
|
|
621
706
|
autoRepair: 'auto_repair',
|
|
622
707
|
autoRepairPolicy: 'auto_repair_policy',
|
|
623
708
|
autoUpgrade: 'auto_upgrade',
|
|
@@ -631,6 +716,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
631
716
|
|
|
632
717
|
static types(): { [key: string]: any } {
|
|
633
718
|
return {
|
|
719
|
+
autoFaultDiagnosis: 'boolean',
|
|
634
720
|
autoRepair: 'boolean',
|
|
635
721
|
autoRepairPolicy: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy,
|
|
636
722
|
autoUpgrade: 'boolean',
|
|
@@ -664,6 +750,10 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
664
750
|
}
|
|
665
751
|
|
|
666
752
|
export class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig extends $dara.Model {
|
|
753
|
+
/**
|
|
754
|
+
* @remarks
|
|
755
|
+
* The custom configurations of the node component.
|
|
756
|
+
*/
|
|
667
757
|
customConfig?: { [key: string]: string };
|
|
668
758
|
static names(): { [key: string]: string } {
|
|
669
759
|
return {
|
|
@@ -690,13 +780,23 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig exten
|
|
|
690
780
|
}
|
|
691
781
|
|
|
692
782
|
export class DescribeClusterNodePoolDetailResponseBodyNodeComponents extends $dara.Model {
|
|
783
|
+
/**
|
|
784
|
+
* @remarks
|
|
785
|
+
* The configurations of the node component.
|
|
786
|
+
*/
|
|
693
787
|
config?: DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig;
|
|
694
788
|
/**
|
|
789
|
+
* @remarks
|
|
790
|
+
* The name of the node component.
|
|
791
|
+
*
|
|
695
792
|
* @example
|
|
696
793
|
* kubelet
|
|
697
794
|
*/
|
|
698
795
|
name?: string;
|
|
699
796
|
/**
|
|
797
|
+
* @remarks
|
|
798
|
+
* The version of the node component.
|
|
799
|
+
*
|
|
700
800
|
* @example
|
|
701
801
|
* 1.33.3-aliyun.1
|
|
702
802
|
*/
|
|
@@ -730,6 +830,10 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeComponents extends $da
|
|
|
730
830
|
}
|
|
731
831
|
|
|
732
832
|
export class DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig extends $dara.Model {
|
|
833
|
+
/**
|
|
834
|
+
* @remarks
|
|
835
|
+
* The Hugepage configurations.
|
|
836
|
+
*/
|
|
733
837
|
hugepage?: Hugepage;
|
|
734
838
|
static names(): { [key: string]: string } {
|
|
735
839
|
return {
|
|
@@ -758,9 +862,13 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig ext
|
|
|
758
862
|
export class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $dara.Model {
|
|
759
863
|
/**
|
|
760
864
|
* @remarks
|
|
761
|
-
* The
|
|
865
|
+
* The Kubelet parameter settings.
|
|
762
866
|
*/
|
|
763
867
|
kubeletConfiguration?: KubeletConfig;
|
|
868
|
+
/**
|
|
869
|
+
* @remarks
|
|
870
|
+
* The node OS configurations.
|
|
871
|
+
*/
|
|
764
872
|
nodeOsConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig;
|
|
765
873
|
static names(): { [key: string]: string } {
|
|
766
874
|
return {
|
|
@@ -797,12 +905,16 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
797
905
|
* The time when the node pool was created.
|
|
798
906
|
*
|
|
799
907
|
* @example
|
|
800
|
-
*
|
|
908
|
+
* 2025-04-10T14:25:37.285530433+08:00
|
|
801
909
|
*/
|
|
802
910
|
created?: string;
|
|
803
911
|
/**
|
|
804
912
|
* @remarks
|
|
805
|
-
* Indicates whether the node pool is
|
|
913
|
+
* Indicates whether the node pool is the default node pool. A cluster usually has only one default node pool. Valid values:
|
|
914
|
+
*
|
|
915
|
+
* - `true`: the default node pool.
|
|
916
|
+
*
|
|
917
|
+
* - `false`: not the default node pool.
|
|
806
918
|
*
|
|
807
919
|
* @example
|
|
808
920
|
* true
|
|
@@ -812,8 +924,6 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
812
924
|
* @remarks
|
|
813
925
|
* The name of the node pool.
|
|
814
926
|
*
|
|
815
|
-
* The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
|
|
816
|
-
*
|
|
817
927
|
* @example
|
|
818
928
|
* default-nodepool
|
|
819
929
|
*/
|
|
@@ -836,7 +946,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
836
946
|
regionId?: string;
|
|
837
947
|
/**
|
|
838
948
|
* @remarks
|
|
839
|
-
* The
|
|
949
|
+
* The resource group ID.
|
|
840
950
|
*
|
|
841
951
|
* @example
|
|
842
952
|
* rg-acfmyvw3wjmb****
|
|
@@ -844,7 +954,13 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
844
954
|
resourceGroupId?: string;
|
|
845
955
|
/**
|
|
846
956
|
* @remarks
|
|
847
|
-
* The type of node pool.
|
|
957
|
+
* The type of the node pool.
|
|
958
|
+
*
|
|
959
|
+
* - `ess`: a regular node pool. It includes the features of managed node pools and automatic scaling.
|
|
960
|
+
*
|
|
961
|
+
* - `edge`: an edge node pool.
|
|
962
|
+
*
|
|
963
|
+
* - `lingjun`: a Lingjun node pool.
|
|
848
964
|
*
|
|
849
965
|
* @example
|
|
850
966
|
* ess
|
|
@@ -855,7 +971,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
855
971
|
* The time when the node pool was last updated.
|
|
856
972
|
*
|
|
857
973
|
* @example
|
|
858
|
-
*
|
|
974
|
+
* 2025-04-15T15:39:45.41+08:00
|
|
859
975
|
*/
|
|
860
976
|
updated?: string;
|
|
861
977
|
static names(): { [key: string]: string } {
|
|
@@ -896,7 +1012,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
896
1012
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
897
1013
|
/**
|
|
898
1014
|
* @remarks
|
|
899
|
-
* The
|
|
1015
|
+
* The private node pool ID.
|
|
900
1016
|
*
|
|
901
1017
|
* @example
|
|
902
1018
|
* eap-bp67acfmxazb4****
|
|
@@ -904,11 +1020,13 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOpt
|
|
|
904
1020
|
id?: string;
|
|
905
1021
|
/**
|
|
906
1022
|
* @remarks
|
|
907
|
-
* The type of private node pool. This parameter specifies the
|
|
1023
|
+
* The type of the private node pool. This parameter specifies the capacity option for the private pool that is used to start instances. After an elastic assurance service or a capacity reservation service takes effect, a private pool is generated. You can select the private pool to start instances. Valid values:
|
|
1024
|
+
*
|
|
1025
|
+
* - `Open`: The system automatically matches the capacity of an open private pool. If no matching private pool is found, the system uses public resources.
|
|
908
1026
|
*
|
|
909
|
-
*
|
|
910
|
-
*
|
|
911
|
-
*
|
|
1027
|
+
* - `Target`: The system uses the capacity of a specified private pool to start the instance. If the capacity of the specified private pool is unavailable, the instance fails to start.
|
|
1028
|
+
*
|
|
1029
|
+
* - `None`: The system does not use the capacity of a private pool.
|
|
912
1030
|
*
|
|
913
1031
|
* @example
|
|
914
1032
|
* Open
|
|
@@ -938,8 +1056,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOpt
|
|
|
938
1056
|
}
|
|
939
1057
|
|
|
940
1058
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOptions extends $dara.Model {
|
|
1059
|
+
/**
|
|
1060
|
+
* @remarks
|
|
1061
|
+
* The list of private pool IDs.
|
|
1062
|
+
*/
|
|
941
1063
|
privatePoolIds?: string[];
|
|
942
1064
|
/**
|
|
1065
|
+
* @remarks
|
|
1066
|
+
* The resource pool policy used when creating instances. Valid values: PrivatePoolFirst: The private pool is used first. PrivatePoolOnly: Only the private pool is used. None: No resource pool policy is used.
|
|
1067
|
+
*
|
|
943
1068
|
* @example
|
|
944
1069
|
* PrivatePoolFirst
|
|
945
1070
|
*/
|
|
@@ -973,7 +1098,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOp
|
|
|
973
1098
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit extends $dara.Model {
|
|
974
1099
|
/**
|
|
975
1100
|
* @remarks
|
|
976
|
-
* The instance type
|
|
1101
|
+
* The spot instance type.
|
|
977
1102
|
*
|
|
978
1103
|
* @example
|
|
979
1104
|
* ecs.c6.large
|
|
@@ -981,7 +1106,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
|
|
|
981
1106
|
instanceType?: string;
|
|
982
1107
|
/**
|
|
983
1108
|
* @remarks
|
|
984
|
-
* The price
|
|
1109
|
+
* The price of a single instance.
|
|
1110
|
+
*
|
|
1111
|
+
* <props="china">
|
|
1112
|
+
*
|
|
1113
|
+
* Unit: CNY/hour.
|
|
1114
|
+
*
|
|
1115
|
+
*
|
|
1116
|
+
*
|
|
1117
|
+
* <props="intl">
|
|
985
1118
|
*
|
|
986
1119
|
* Unit: USD/hour.
|
|
987
1120
|
*
|
|
@@ -1015,10 +1148,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
|
|
|
1015
1148
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara.Model {
|
|
1016
1149
|
/**
|
|
1017
1150
|
* @remarks
|
|
1018
|
-
* Indicates whether auto-renewal
|
|
1151
|
+
* Indicates whether to enable auto-renewal for the nodes. This parameter takes effect only if instance_charge_type is set to PrePaid. Valid values:
|
|
1152
|
+
*
|
|
1153
|
+
* - `true`: Auto-renewal is enabled.
|
|
1019
1154
|
*
|
|
1020
|
-
*
|
|
1021
|
-
* * `false`: Auto-renewal is disabled.
|
|
1155
|
+
* - `false`: Auto-renewal is disabled.
|
|
1022
1156
|
*
|
|
1023
1157
|
* @example
|
|
1024
1158
|
* false
|
|
@@ -1026,9 +1160,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1026
1160
|
autoRenew?: boolean;
|
|
1027
1161
|
/**
|
|
1028
1162
|
* @remarks
|
|
1029
|
-
* The duration of
|
|
1163
|
+
* The duration of each auto-renewal. Valid values:
|
|
1030
1164
|
*
|
|
1031
|
-
* If
|
|
1165
|
+
* - If PeriodUnit is set to Week: 1, 2, and 3.
|
|
1166
|
+
*
|
|
1167
|
+
* - If PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1032
1168
|
*
|
|
1033
1169
|
* @example
|
|
1034
1170
|
* 1
|
|
@@ -1036,7 +1172,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1036
1172
|
autoRenewPeriod?: number;
|
|
1037
1173
|
/**
|
|
1038
1174
|
* @remarks
|
|
1039
|
-
* [
|
|
1175
|
+
* [This parameter is deprecated] Use the security_hardening_os parameter instead.
|
|
1040
1176
|
*
|
|
1041
1177
|
* @example
|
|
1042
1178
|
* false
|
|
@@ -1046,10 +1182,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1046
1182
|
cisEnabled?: boolean;
|
|
1047
1183
|
/**
|
|
1048
1184
|
* @remarks
|
|
1049
|
-
*
|
|
1185
|
+
* If multi_az_policy is set to COST_OPTIMIZED, this parameter specifies whether to allow the system to automatically create on-demand instances to meet the required number of ECS instances when it is not possible to create a sufficient number of spot instances due to price or stock issues. Valid values:
|
|
1186
|
+
*
|
|
1187
|
+
* - `true`: Allows the system to automatically create on-demand instances to meet the required number of ECS instances.
|
|
1050
1188
|
*
|
|
1051
|
-
*
|
|
1052
|
-
* * `false`: Pay-as-you-go instances are not automatically created to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
1189
|
+
* - `false`: Does not allow the system to automatically create on-demand instances to meet the required number of ECS instances.
|
|
1053
1190
|
*
|
|
1054
1191
|
* @example
|
|
1055
1192
|
* true
|
|
@@ -1057,12 +1194,12 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1057
1194
|
compensateWithOnDemand?: boolean;
|
|
1058
1195
|
/**
|
|
1059
1196
|
* @remarks
|
|
1060
|
-
* The
|
|
1197
|
+
* The combination of the configurations, such as the type and size, of the data disks of the nodes.
|
|
1061
1198
|
*/
|
|
1062
1199
|
dataDisks?: DataDisk[];
|
|
1063
1200
|
/**
|
|
1064
1201
|
* @remarks
|
|
1065
|
-
* The
|
|
1202
|
+
* The deployment set ID.
|
|
1066
1203
|
*
|
|
1067
1204
|
* @example
|
|
1068
1205
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1076,48 +1213,81 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1076
1213
|
* 2
|
|
1077
1214
|
*/
|
|
1078
1215
|
desiredSize?: number;
|
|
1216
|
+
/**
|
|
1217
|
+
* @remarks
|
|
1218
|
+
* The configurations for block device initialization.
|
|
1219
|
+
*/
|
|
1079
1220
|
diskInit?: DiskInit[];
|
|
1080
1221
|
/**
|
|
1081
1222
|
* @remarks
|
|
1082
|
-
* The
|
|
1223
|
+
* The custom image ID.
|
|
1083
1224
|
*
|
|
1084
1225
|
* @example
|
|
1085
|
-
*
|
|
1226
|
+
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
1086
1227
|
*/
|
|
1087
1228
|
imageId?: string;
|
|
1088
1229
|
/**
|
|
1089
1230
|
* @remarks
|
|
1090
|
-
*
|
|
1231
|
+
* The OS image type.
|
|
1232
|
+
*
|
|
1233
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
1234
|
+
*
|
|
1235
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1236
|
+
*
|
|
1237
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
1238
|
+
*
|
|
1239
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1240
|
+
*
|
|
1241
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1242
|
+
*
|
|
1243
|
+
* - `CentOS`: CentOS image.
|
|
1244
|
+
*
|
|
1245
|
+
* - `Windows`: Windows image.
|
|
1246
|
+
*
|
|
1247
|
+
* - `WindowsCore`: WindowsCore image.
|
|
1248
|
+
*
|
|
1249
|
+
* - `ContainerOS`: Container-optimized image.
|
|
1250
|
+
*
|
|
1251
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1091
1252
|
*
|
|
1092
1253
|
* @example
|
|
1093
|
-
*
|
|
1254
|
+
* AliyunLinux3
|
|
1094
1255
|
*/
|
|
1095
1256
|
imageType?: string;
|
|
1096
1257
|
/**
|
|
1097
1258
|
* @remarks
|
|
1098
1259
|
* The billing method of the nodes in the node pool. Valid values:
|
|
1099
1260
|
*
|
|
1100
|
-
*
|
|
1101
|
-
*
|
|
1261
|
+
* - `PrePaid`: subscription.
|
|
1262
|
+
*
|
|
1263
|
+
* - `PostPaid`: pay-as-you-go.
|
|
1102
1264
|
*
|
|
1103
1265
|
* @example
|
|
1104
1266
|
* PostPaid
|
|
1105
1267
|
*/
|
|
1106
1268
|
instanceChargeType?: string;
|
|
1269
|
+
/**
|
|
1270
|
+
* @remarks
|
|
1271
|
+
* The configurations for accessing the metadata of ECS instances.
|
|
1272
|
+
*/
|
|
1107
1273
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1108
1274
|
/**
|
|
1109
1275
|
* @remarks
|
|
1110
|
-
* The instance
|
|
1276
|
+
* The instance attribute configurations.
|
|
1111
1277
|
*/
|
|
1112
1278
|
instancePatterns?: InstancePatterns[];
|
|
1113
1279
|
/**
|
|
1114
1280
|
* @remarks
|
|
1115
|
-
*
|
|
1281
|
+
* The list of node instance types.
|
|
1116
1282
|
*/
|
|
1117
1283
|
instanceTypes?: string[];
|
|
1118
1284
|
/**
|
|
1119
1285
|
* @remarks
|
|
1120
|
-
* The billing method
|
|
1286
|
+
* The billing method for the public IP address of the nodes.
|
|
1287
|
+
*
|
|
1288
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
1289
|
+
*
|
|
1290
|
+
* - PayByTraffic: pay-by-traffic.
|
|
1121
1291
|
*
|
|
1122
1292
|
* @example
|
|
1123
1293
|
* PayByBandwidth
|
|
@@ -1125,7 +1295,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1125
1295
|
internetChargeType?: string;
|
|
1126
1296
|
/**
|
|
1127
1297
|
* @remarks
|
|
1128
|
-
* The maximum outbound
|
|
1298
|
+
* The maximum outbound public bandwidth of the nodes. Unit: Mbit/s. Valid values: 1 to 100.
|
|
1129
1299
|
*
|
|
1130
1300
|
* @example
|
|
1131
1301
|
* 10
|
|
@@ -1133,7 +1303,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1133
1303
|
internetMaxBandwidthOut?: number;
|
|
1134
1304
|
/**
|
|
1135
1305
|
* @remarks
|
|
1136
|
-
* The name of the key pair. You must
|
|
1306
|
+
* The name of the key pair. You must specify either this parameter or login_password. When the node pool is a managed node pool, only key_pair is supported.
|
|
1137
1307
|
*
|
|
1138
1308
|
* @example
|
|
1139
1309
|
* pro-nodepool
|
|
@@ -1141,7 +1311,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1141
1311
|
keyPair?: string;
|
|
1142
1312
|
/**
|
|
1143
1313
|
* @remarks
|
|
1144
|
-
*
|
|
1314
|
+
* Indicates whether to log on to the created ECS instances as a non-root user.
|
|
1315
|
+
*
|
|
1316
|
+
* - true: Logs on as a non-root user (ecs-user).
|
|
1317
|
+
*
|
|
1318
|
+
* - false: Logs on as the root user.
|
|
1145
1319
|
*
|
|
1146
1320
|
* @example
|
|
1147
1321
|
* true
|
|
@@ -1149,9 +1323,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1149
1323
|
loginAsNonRoot?: boolean;
|
|
1150
1324
|
/**
|
|
1151
1325
|
* @remarks
|
|
1152
|
-
* The
|
|
1326
|
+
* The SSH logon password. You must specify either this parameter or key_pair. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1153
1327
|
*
|
|
1154
|
-
* For security
|
|
1328
|
+
* For security reasons, the password is encrypted in the query result.
|
|
1155
1329
|
*
|
|
1156
1330
|
* @example
|
|
1157
1331
|
* ********
|
|
@@ -1159,17 +1333,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1159
1333
|
loginPassword?: string;
|
|
1160
1334
|
/**
|
|
1161
1335
|
* @remarks
|
|
1162
|
-
* The
|
|
1163
|
-
*
|
|
1164
|
-
* * `PRIORITY`: the scaling group is scaled based on the VSwitchIds.N parameter. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, Auto Scaling creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
|
|
1336
|
+
* The scaling policy for the ECS instances in the multi-zone scaling group. Valid values:
|
|
1165
1337
|
*
|
|
1166
|
-
*
|
|
1338
|
+
* - `PRIORITY`: Scales instances based on the vSwitches that you define (VSwitchIds.N). If the ECS instances cannot be created in the zone of the vSwitch with a higher priority, the system automatically uses the vSwitch with the next priority to create the instances.
|
|
1167
1339
|
*
|
|
1168
|
-
*
|
|
1340
|
+
* - `COST_OPTIMIZED`: Attempts to create instances at the lowest vCPU unit price. If multiple instance types are specified for the scaling configuration and the preemption policy is configured, the system preferentially creates the corresponding spot instances. You can also use the `CompensateWithOnDemand` parameter to specify whether to automatically try to create on-demand instances when spot instances cannot be created due to reasons such as stock shortages.
|
|
1169
1341
|
*
|
|
1170
|
-
*
|
|
1342
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types are specified or spot instances are used for the scaling configuration.
|
|
1171
1343
|
*
|
|
1172
|
-
*
|
|
1344
|
+
* - `BALANCE`: Evenly distributes ECS instances across the specified zones of the scaling group. If the distribution of ECS instances becomes unbalanced between zones due to stock shortages, you can call the API RebalanceInstances operation to balance the resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) .
|
|
1173
1345
|
*
|
|
1174
1346
|
* Default value: `PRIORITY`.
|
|
1175
1347
|
*
|
|
@@ -1179,7 +1351,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1179
1351
|
multiAzPolicy?: string;
|
|
1180
1352
|
/**
|
|
1181
1353
|
* @remarks
|
|
1182
|
-
* The minimum number of
|
|
1354
|
+
* The minimum number of on-demand instances that the scaling group must contain. Valid values: 0 to 1000. If the number of on-demand instances is less than this value, on-demand instances are preferentially created.
|
|
1183
1355
|
*
|
|
1184
1356
|
* @example
|
|
1185
1357
|
* 0
|
|
@@ -1187,7 +1359,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1187
1359
|
onDemandBaseCapacity?: number;
|
|
1188
1360
|
/**
|
|
1189
1361
|
* @remarks
|
|
1190
|
-
* The percentage of
|
|
1362
|
+
* The percentage of on-demand instances among the instances that exceed the minimum number of on-demand instances (on_demand_base_capacity). Valid values: 0 to 100.
|
|
1191
1363
|
*
|
|
1192
1364
|
* @example
|
|
1193
1365
|
* 20
|
|
@@ -1195,9 +1367,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1195
1367
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1196
1368
|
/**
|
|
1197
1369
|
* @remarks
|
|
1198
|
-
* The subscription duration of
|
|
1370
|
+
* The subscription duration of the nodes. This parameter is required and takes effect only if instance_charge_type is set to PrePaid.
|
|
1371
|
+
*
|
|
1372
|
+
* - If period_unit is set to Week, the valid values of period are 1, 2, 3, and 4.
|
|
1199
1373
|
*
|
|
1200
|
-
* If
|
|
1374
|
+
* - If period_unit is set to Month, the valid values of period are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
1201
1375
|
*
|
|
1202
1376
|
* @example
|
|
1203
1377
|
* 0
|
|
@@ -1205,9 +1379,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1205
1379
|
period?: number;
|
|
1206
1380
|
/**
|
|
1207
1381
|
* @remarks
|
|
1208
|
-
* The billing cycle of the nodes. This parameter is required if
|
|
1382
|
+
* The billing cycle of the nodes. This parameter is required if instance_charge_type is set to PrePaid.
|
|
1209
1383
|
*
|
|
1210
|
-
*
|
|
1384
|
+
* - `Month`: The billing cycle is measured in months.
|
|
1385
|
+
*
|
|
1386
|
+
* - `Week`: The billing cycle is measured in weeks.
|
|
1211
1387
|
*
|
|
1212
1388
|
* @example
|
|
1213
1389
|
* Month
|
|
@@ -1215,12 +1391,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1215
1391
|
periodUnit?: string;
|
|
1216
1392
|
/**
|
|
1217
1393
|
* @remarks
|
|
1218
|
-
* The
|
|
1394
|
+
* The OS distribution. Valid values:
|
|
1395
|
+
*
|
|
1396
|
+
* - `CentOS`
|
|
1397
|
+
*
|
|
1398
|
+
* - `AliyunLinux`
|
|
1219
1399
|
*
|
|
1220
|
-
*
|
|
1221
|
-
*
|
|
1222
|
-
*
|
|
1223
|
-
* * `WindowsCore`
|
|
1400
|
+
* - `Windows`
|
|
1401
|
+
*
|
|
1402
|
+
* - `WindowsCore`
|
|
1224
1403
|
*
|
|
1225
1404
|
* @example
|
|
1226
1405
|
* AliyunLinux
|
|
@@ -1228,12 +1407,12 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1228
1407
|
platform?: string;
|
|
1229
1408
|
/**
|
|
1230
1409
|
* @remarks
|
|
1231
|
-
* The
|
|
1410
|
+
* The private node pool configurations.
|
|
1232
1411
|
*/
|
|
1233
1412
|
privatePoolOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions;
|
|
1234
1413
|
/**
|
|
1235
1414
|
* @remarks
|
|
1236
|
-
*
|
|
1415
|
+
* [This parameter is deprecated] Use ram_role_name instead.
|
|
1237
1416
|
*
|
|
1238
1417
|
* @example
|
|
1239
1418
|
* KubernetesWorkerRole-021dc54f-929b-437a-8ae0-34c24d3e****
|
|
@@ -1241,7 +1420,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1241
1420
|
ramPolicy?: string;
|
|
1242
1421
|
/**
|
|
1243
1422
|
* @remarks
|
|
1244
|
-
*
|
|
1423
|
+
* The name of the worker RAM role.
|
|
1245
1424
|
*
|
|
1246
1425
|
* @example
|
|
1247
1426
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
@@ -1249,9 +1428,13 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1249
1428
|
ramRoleName?: string;
|
|
1250
1429
|
/**
|
|
1251
1430
|
* @remarks
|
|
1252
|
-
*
|
|
1431
|
+
* If you specify a list of RDS instances, the ECS nodes of the cluster are automatically added to the RDS instance whitelist.
|
|
1253
1432
|
*/
|
|
1254
1433
|
rdsInstances?: string[];
|
|
1434
|
+
/**
|
|
1435
|
+
* @remarks
|
|
1436
|
+
* The resource pool and resource pool policy used when creating instances.
|
|
1437
|
+
*/
|
|
1255
1438
|
resourcePoolOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOptions;
|
|
1256
1439
|
/**
|
|
1257
1440
|
* @remarks
|
|
@@ -1263,10 +1446,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1263
1446
|
scalingGroupId?: string;
|
|
1264
1447
|
/**
|
|
1265
1448
|
* @remarks
|
|
1266
|
-
* The scaling mode
|
|
1449
|
+
* The scaling group mode. Valid values:
|
|
1450
|
+
*
|
|
1451
|
+
* - `release`: standard mode. Instances are created and released based on the resource usage.
|
|
1267
1452
|
*
|
|
1268
|
-
*
|
|
1269
|
-
* * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
|
|
1453
|
+
* - `recycle`: fast mode. Instances are created, stopped, and started to accelerate scaling. Compute resources are not billed when instances are stopped, but storage resources are. This does not apply to instances with local disks.
|
|
1270
1454
|
*
|
|
1271
1455
|
* @example
|
|
1272
1456
|
* release
|
|
@@ -1274,7 +1458,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1274
1458
|
scalingPolicy?: string;
|
|
1275
1459
|
/**
|
|
1276
1460
|
* @remarks
|
|
1277
|
-
* The
|
|
1461
|
+
* The security group ID of the node pool. If the node pool is associated with multiple security groups, this is the first value in security_group_ids.
|
|
1278
1462
|
*
|
|
1279
1463
|
* @example
|
|
1280
1464
|
* sg-2ze60ockeekspl3d****
|
|
@@ -1282,14 +1466,16 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1282
1466
|
securityGroupId?: string;
|
|
1283
1467
|
/**
|
|
1284
1468
|
* @remarks
|
|
1285
|
-
* The
|
|
1469
|
+
* The list of security group IDs for the node pool.
|
|
1286
1470
|
*/
|
|
1287
1471
|
securityGroupIds?: string[];
|
|
1288
1472
|
/**
|
|
1289
1473
|
* @remarks
|
|
1290
|
-
* Alibaba Cloud OS security hardening.
|
|
1291
|
-
*
|
|
1292
|
-
* - `
|
|
1474
|
+
* Alibaba Cloud OS security hardening. Valid values:
|
|
1475
|
+
*
|
|
1476
|
+
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1477
|
+
*
|
|
1478
|
+
* - `false`: Disables Alibaba Cloud OS security hardening.
|
|
1293
1479
|
*
|
|
1294
1480
|
* Default value: `false`.
|
|
1295
1481
|
*
|
|
@@ -1299,7 +1485,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1299
1485
|
securityHardeningOs?: boolean;
|
|
1300
1486
|
/**
|
|
1301
1487
|
* @remarks
|
|
1302
|
-
* Indicates whether to enable
|
|
1488
|
+
* Indicates whether to enable classified protection compliance. You can enable classified protection compliance for nodes only when you select Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 as the OS image. Alibaba Cloud provides baseline check standards and scanning programs for MLPS 2.0 Level 3-compliant Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images.
|
|
1303
1489
|
*
|
|
1304
1490
|
* @example
|
|
1305
1491
|
* false
|
|
@@ -1307,7 +1493,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1307
1493
|
socEnabled?: boolean;
|
|
1308
1494
|
/**
|
|
1309
1495
|
* @remarks
|
|
1310
|
-
* The number of instance types
|
|
1496
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types that have the lowest costs in a balanced manner. Valid values: 1 to 10.
|
|
1311
1497
|
*
|
|
1312
1498
|
* @example
|
|
1313
1499
|
* 5
|
|
@@ -1315,10 +1501,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1315
1501
|
spotInstancePools?: number;
|
|
1316
1502
|
/**
|
|
1317
1503
|
* @remarks
|
|
1318
|
-
* Indicates whether
|
|
1504
|
+
* Indicates whether to enable the feature of supplementing spot instances. If this feature is enabled, the scaling group attempts to create a new instance to replace a spot instance that is reclaimed. Valid values:
|
|
1505
|
+
*
|
|
1506
|
+
* - `true`: Enables the feature of supplementing spot instances.
|
|
1319
1507
|
*
|
|
1320
|
-
*
|
|
1321
|
-
* * `false`: Supplementation of preemptible instances is disabled.
|
|
1508
|
+
* - `false`: Disables the feature of supplementing spot instances.
|
|
1322
1509
|
*
|
|
1323
1510
|
* @example
|
|
1324
1511
|
* false
|
|
@@ -1326,18 +1513,20 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1326
1513
|
spotInstanceRemedy?: boolean;
|
|
1327
1514
|
/**
|
|
1328
1515
|
* @remarks
|
|
1329
|
-
* The
|
|
1516
|
+
* The configurations of the price range for spot instances.
|
|
1330
1517
|
*/
|
|
1331
1518
|
spotPriceLimit?: DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit[];
|
|
1332
1519
|
/**
|
|
1333
1520
|
* @remarks
|
|
1334
|
-
* The
|
|
1521
|
+
* The preemption policy for the spot instances. Valid values:
|
|
1522
|
+
*
|
|
1523
|
+
* - NoSpot: The instances are not spot instances.
|
|
1335
1524
|
*
|
|
1336
|
-
*
|
|
1337
|
-
* * SpotWithPriceLimit: a preemptible instance that is configured with the highest bid price.
|
|
1338
|
-
* * SpotAsPriceGo: a preemptible instance for which the system automatically bids based on the current market price.
|
|
1525
|
+
* - SpotWithPriceLimit: Sets the maximum price for a spot instance.
|
|
1339
1526
|
*
|
|
1340
|
-
*
|
|
1527
|
+
* - SpotAsPriceGo: The system automatically places bids based on the market price.
|
|
1528
|
+
*
|
|
1529
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1341
1530
|
*
|
|
1342
1531
|
* @example
|
|
1343
1532
|
* NoSpot
|
|
@@ -1345,12 +1534,13 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1345
1534
|
spotStrategy?: string;
|
|
1346
1535
|
/**
|
|
1347
1536
|
* @remarks
|
|
1348
|
-
* Indicates whether to enable
|
|
1537
|
+
* Indicates whether to enable performance burst for the system disk of the nodes. Valid values:
|
|
1538
|
+
*
|
|
1539
|
+
* - true: Enables performance burst. If you enable this feature, the cloud disk can temporarily improve its performance to handle sudden data read and write pressure when the business is unstable.
|
|
1349
1540
|
*
|
|
1350
|
-
*
|
|
1351
|
-
* * false: does not enable the burst feature for the system disk.
|
|
1541
|
+
* - false: Disables performance burst.
|
|
1352
1542
|
*
|
|
1353
|
-
* This parameter
|
|
1543
|
+
* This parameter can be set 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).
|
|
1354
1544
|
*
|
|
1355
1545
|
* @example
|
|
1356
1546
|
* true
|
|
@@ -1358,30 +1548,22 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1358
1548
|
systemDiskBurstingEnabled?: boolean;
|
|
1359
1549
|
/**
|
|
1360
1550
|
* @remarks
|
|
1361
|
-
* The
|
|
1362
|
-
*
|
|
1363
|
-
* * `cloud`: basic disk.
|
|
1364
|
-
* * `cloud_efficiency`: ultra disk.
|
|
1365
|
-
* * `cloud_ssd`: standard SSD.
|
|
1366
|
-
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
1367
|
-
* * `cloud_auto`: ESSD AutoPL disk.
|
|
1368
|
-
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
1369
|
-
*
|
|
1370
|
-
* Default value: `cloud_efficiency`.
|
|
1551
|
+
* The types of system disks. When a disk of a high-priority type is not available, the system automatically tries the next-priority disk type to create the system disk.
|
|
1371
1552
|
*/
|
|
1372
1553
|
systemDiskCategories?: string[];
|
|
1373
1554
|
/**
|
|
1374
1555
|
* @remarks
|
|
1375
|
-
* The system disk
|
|
1556
|
+
* The type of the system disk of the nodes. Valid values:
|
|
1557
|
+
*
|
|
1558
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1559
|
+
*
|
|
1560
|
+
* - `cloud_ssd`: standard SSD.
|
|
1376
1561
|
*
|
|
1377
|
-
*
|
|
1378
|
-
* * `cloud_efficiency`: ultra disk
|
|
1379
|
-
* * `cloud_ssd`: standard SSD
|
|
1380
|
-
* * `cloud_essd`: Enterprise SSD (ESSD)
|
|
1381
|
-
* * `cloud_auto`: ESSD AutoPL disk
|
|
1382
|
-
* * `cloud_essd_entry`: ESSD Entry disk
|
|
1562
|
+
* - `cloud_essd`: Enhanced SSD (ESSD).
|
|
1383
1563
|
*
|
|
1384
|
-
*
|
|
1564
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1565
|
+
*
|
|
1566
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1385
1567
|
*
|
|
1386
1568
|
* @example
|
|
1387
1569
|
* cloud_efficiency
|
|
@@ -1389,7 +1571,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1389
1571
|
systemDiskCategory?: string;
|
|
1390
1572
|
/**
|
|
1391
1573
|
* @remarks
|
|
1392
|
-
* The encryption algorithm that is used
|
|
1574
|
+
* The encryption algorithm that is used for the system disk. Valid value: aes-256.
|
|
1393
1575
|
*
|
|
1394
1576
|
* @example
|
|
1395
1577
|
* aes-256
|
|
@@ -1397,10 +1579,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1397
1579
|
systemDiskEncryptAlgorithm?: string;
|
|
1398
1580
|
/**
|
|
1399
1581
|
* @remarks
|
|
1400
|
-
*
|
|
1582
|
+
* Indicates whether to encrypt the system disk. Valid values:
|
|
1583
|
+
*
|
|
1584
|
+
* - `true`: Encrypts the system disk.
|
|
1401
1585
|
*
|
|
1402
|
-
*
|
|
1403
|
-
* * `false`: does not encrypt the system disk.
|
|
1586
|
+
* - `false`: Does not encrypt the system disk.
|
|
1404
1587
|
*
|
|
1405
1588
|
* @example
|
|
1406
1589
|
* false
|
|
@@ -1408,7 +1591,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1408
1591
|
systemDiskEncrypted?: boolean;
|
|
1409
1592
|
/**
|
|
1410
1593
|
* @remarks
|
|
1411
|
-
*
|
|
1594
|
+
* The ID of the KMS key that is used to encrypt the system disk.
|
|
1412
1595
|
*
|
|
1413
1596
|
* @example
|
|
1414
1597
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1416,7 +1599,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1416
1599
|
systemDiskKmsKeyId?: string;
|
|
1417
1600
|
/**
|
|
1418
1601
|
* @remarks
|
|
1419
|
-
* The performance level
|
|
1602
|
+
* The performance level of the system disk of the nodes. This parameter is valid only for ESSDs. The disk performance level is related to the disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1603
|
+
*
|
|
1604
|
+
* - PL0: The I/O performance is moderate and the read/write latency is stable.
|
|
1605
|
+
*
|
|
1606
|
+
* - PL1: The I/O performance is moderate and the read/write latency is stable.
|
|
1607
|
+
*
|
|
1608
|
+
* - PL2: The I/O performance is high and the read/write latency is stable.
|
|
1609
|
+
*
|
|
1610
|
+
* - PL3: The I/O performance is very high and the read/write latency is very stable.
|
|
1420
1611
|
*
|
|
1421
1612
|
* @example
|
|
1422
1613
|
* PL1
|
|
@@ -1424,7 +1615,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1424
1615
|
systemDiskPerformanceLevel?: string;
|
|
1425
1616
|
/**
|
|
1426
1617
|
* @remarks
|
|
1427
|
-
*
|
|
1618
|
+
* The pre-configured read and write IOPS of the system disk of the nodes.
|
|
1619
|
+
*
|
|
1620
|
+
* Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
1621
|
+
*
|
|
1622
|
+
* This parameter can be set 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).
|
|
1428
1623
|
*
|
|
1429
1624
|
* @example
|
|
1430
1625
|
* 1000
|
|
@@ -1432,27 +1627,30 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1432
1627
|
systemDiskProvisionedIops?: number;
|
|
1433
1628
|
/**
|
|
1434
1629
|
* @remarks
|
|
1435
|
-
* The system disk
|
|
1630
|
+
* The size of the system disk of the nodes. Unit: GiB.
|
|
1436
1631
|
*
|
|
1437
|
-
* Valid values: 20 to
|
|
1632
|
+
* Valid values: 20 to 2048.
|
|
1438
1633
|
*
|
|
1439
1634
|
* @example
|
|
1440
1635
|
* 120
|
|
1441
1636
|
*/
|
|
1442
1637
|
systemDiskSize?: number;
|
|
1443
|
-
systemDiskSnapshotPolicyId?: string;
|
|
1444
1638
|
/**
|
|
1445
1639
|
* @remarks
|
|
1446
|
-
* The
|
|
1640
|
+
* The system disk snapshot policy
|
|
1447
1641
|
*
|
|
1448
|
-
*
|
|
1642
|
+
* @example
|
|
1643
|
+
* sp-bp11g8z59rawcud9****
|
|
1644
|
+
*/
|
|
1645
|
+
systemDiskSnapshotPolicyId?: string;
|
|
1646
|
+
/**
|
|
1647
|
+
* @remarks
|
|
1648
|
+
* The ECS instance tags.
|
|
1449
1649
|
*/
|
|
1450
1650
|
tags?: Tag[];
|
|
1451
1651
|
/**
|
|
1452
1652
|
* @remarks
|
|
1453
|
-
* The
|
|
1454
|
-
*
|
|
1455
|
-
* > We recommend that you select vSwitches in different zones to ensure high availability.
|
|
1653
|
+
* The list of vSwitch IDs.
|
|
1456
1654
|
*/
|
|
1457
1655
|
vswitchIds?: string[];
|
|
1458
1656
|
static names(): { [key: string]: string } {
|
|
@@ -1618,10 +1816,45 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1618
1816
|
}
|
|
1619
1817
|
|
|
1620
1818
|
export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $dara.Model {
|
|
1819
|
+
/**
|
|
1820
|
+
* @remarks
|
|
1821
|
+
* The time of the last status transition.
|
|
1822
|
+
*
|
|
1823
|
+
* @example
|
|
1824
|
+
* 20**-**-30T10:39:00+08:00
|
|
1825
|
+
*/
|
|
1621
1826
|
lastTransitionTime?: string;
|
|
1827
|
+
/**
|
|
1828
|
+
* @remarks
|
|
1829
|
+
* The detailed information.
|
|
1830
|
+
*
|
|
1831
|
+
* @example
|
|
1832
|
+
* AutoUpgradeDisabled
|
|
1833
|
+
*/
|
|
1622
1834
|
message?: string;
|
|
1835
|
+
/**
|
|
1836
|
+
* @remarks
|
|
1837
|
+
* The reason.
|
|
1838
|
+
*
|
|
1839
|
+
* @example
|
|
1840
|
+
* UpgradeDisabled
|
|
1841
|
+
*/
|
|
1623
1842
|
reason?: string;
|
|
1843
|
+
/**
|
|
1844
|
+
* @remarks
|
|
1845
|
+
* The status.
|
|
1846
|
+
*
|
|
1847
|
+
* @example
|
|
1848
|
+
* True
|
|
1849
|
+
*/
|
|
1624
1850
|
status?: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* @remarks
|
|
1853
|
+
* The type.
|
|
1854
|
+
*
|
|
1855
|
+
* @example
|
|
1856
|
+
* ImageUpgradeReady
|
|
1857
|
+
*/
|
|
1625
1858
|
type?: string;
|
|
1626
1859
|
static names(): { [key: string]: string } {
|
|
1627
1860
|
return {
|
|
@@ -1653,6 +1886,10 @@ export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $
|
|
|
1653
1886
|
}
|
|
1654
1887
|
|
|
1655
1888
|
export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model {
|
|
1889
|
+
/**
|
|
1890
|
+
* @remarks
|
|
1891
|
+
* The current status of the node pool. This parameter indicates the status of the node pool from different dimensions.
|
|
1892
|
+
*/
|
|
1656
1893
|
conditions?: DescribeClusterNodePoolDetailResponseBodyStatusConditions[];
|
|
1657
1894
|
/**
|
|
1658
1895
|
* @remarks
|
|
@@ -1696,7 +1933,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1696
1933
|
removingNodes?: number;
|
|
1697
1934
|
/**
|
|
1698
1935
|
* @remarks
|
|
1699
|
-
* The number of
|
|
1936
|
+
* The number of nodes that are in service.
|
|
1700
1937
|
*
|
|
1701
1938
|
* @example
|
|
1702
1939
|
* 3
|
|
@@ -1704,13 +1941,17 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1704
1941
|
servingNodes?: number;
|
|
1705
1942
|
/**
|
|
1706
1943
|
* @remarks
|
|
1707
|
-
* The
|
|
1944
|
+
* The state of the node pool. Valid values:
|
|
1945
|
+
*
|
|
1946
|
+
* - `active`: The node pool is active.
|
|
1708
1947
|
*
|
|
1709
|
-
*
|
|
1710
|
-
*
|
|
1711
|
-
*
|
|
1712
|
-
*
|
|
1713
|
-
*
|
|
1948
|
+
* - `scaling`: The node pool is being scaled.
|
|
1949
|
+
*
|
|
1950
|
+
* - `removing`: Nodes are being removed.
|
|
1951
|
+
*
|
|
1952
|
+
* - `deleting`: The node pool is being deleted.
|
|
1953
|
+
*
|
|
1954
|
+
* - `updating`: The node pool is being updated.
|
|
1714
1955
|
*
|
|
1715
1956
|
* @example
|
|
1716
1957
|
* active
|
|
@@ -1767,10 +2008,11 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1767
2008
|
export class DescribeClusterNodePoolDetailResponseBodyTeeConfig extends $dara.Model {
|
|
1768
2009
|
/**
|
|
1769
2010
|
* @remarks
|
|
1770
|
-
* Indicates whether confidential computing
|
|
2011
|
+
* Indicates whether to enable the confidential computing cluster. Valid values:
|
|
1771
2012
|
*
|
|
1772
|
-
*
|
|
1773
|
-
*
|
|
2013
|
+
* - `true`: Enables the confidential computing cluster.
|
|
2014
|
+
*
|
|
2015
|
+
* - `false`: Disables the confidential computing cluster.
|
|
1774
2016
|
*
|
|
1775
2017
|
* @example
|
|
1776
2018
|
* false
|
|
@@ -1798,20 +2040,24 @@ export class DescribeClusterNodePoolDetailResponseBodyTeeConfig extends $dara.Mo
|
|
|
1798
2040
|
}
|
|
1799
2041
|
|
|
1800
2042
|
export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
2043
|
+
/**
|
|
2044
|
+
* @remarks
|
|
2045
|
+
* The smart hosting configurations.
|
|
2046
|
+
*/
|
|
1801
2047
|
autoMode?: DescribeClusterNodePoolDetailResponseBodyAutoMode;
|
|
1802
2048
|
/**
|
|
1803
2049
|
* @remarks
|
|
1804
|
-
* The
|
|
2050
|
+
* The configurations of the node pool that is configured for automatic scaling.
|
|
1805
2051
|
*/
|
|
1806
2052
|
autoScaling?: DescribeClusterNodePoolDetailResponseBodyAutoScaling;
|
|
1807
2053
|
efloNodeGroup?: DescribeClusterNodePoolDetailResponseBodyEfloNodeGroup;
|
|
1808
2054
|
/**
|
|
1809
2055
|
* @remarks
|
|
1810
|
-
* Indicates whether the
|
|
2056
|
+
* Indicates whether the pod network uses the host network mode.
|
|
1811
2057
|
*
|
|
1812
|
-
* `true`:
|
|
2058
|
+
* - `true`: host network. Pods directly use the host\\"s network stack and share IP addresses and ports with the host.
|
|
1813
2059
|
*
|
|
1814
|
-
* `false`:
|
|
2060
|
+
* - `false`: container network. Pods have an independent network stack and do not use host network ports.
|
|
1815
2061
|
*
|
|
1816
2062
|
* @example
|
|
1817
2063
|
* true
|
|
@@ -1819,28 +2065,30 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1819
2065
|
hostNetwork?: boolean;
|
|
1820
2066
|
/**
|
|
1821
2067
|
* @remarks
|
|
1822
|
-
*
|
|
2068
|
+
* [This parameter is deprecated]
|
|
2069
|
+
*
|
|
2070
|
+
* The network configurations of the edge node pool. This parameter is valid only for edge node pools.
|
|
1823
2071
|
*/
|
|
1824
2072
|
interconnectConfig?: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig;
|
|
1825
2073
|
/**
|
|
1826
2074
|
* @remarks
|
|
1827
|
-
* The network type of the edge node pool. This parameter
|
|
2075
|
+
* The network type of the edge node pool. This parameter is valid only for `edge` node pools. Valid values:
|
|
1828
2076
|
*
|
|
1829
|
-
* `basic`: Internet.
|
|
2077
|
+
* - `basic`: public network. The nodes in the node pool interact with cloud nodes over the Internet. Applications in the node pool cannot directly access the VPC in the cloud.
|
|
1830
2078
|
*
|
|
1831
|
-
* `private`:
|
|
2079
|
+
* - `private`: dedicated network. The nodes in the node pool connect to the cloud network through leased lines, VPNs, or CEN. This provides higher communication quality between the cloud and the edge and offers more effective security.
|
|
1832
2080
|
*
|
|
1833
2081
|
* @example
|
|
1834
|
-
*
|
|
2082
|
+
* basic
|
|
1835
2083
|
*/
|
|
1836
2084
|
interconnectMode?: string;
|
|
1837
2085
|
/**
|
|
1838
2086
|
* @remarks
|
|
1839
|
-
*
|
|
2087
|
+
* Indicates whether nodes in the edge node pool have Layer 3 network connectivity.
|
|
1840
2088
|
*
|
|
1841
|
-
* `true`:
|
|
2089
|
+
* - `true`: connected. All nodes in this node pool have Layer 3 network connectivity.
|
|
1842
2090
|
*
|
|
1843
|
-
* `false`:
|
|
2091
|
+
* - `false`: not connected. All hosts in this node pool do not have Layer 3 network connectivity.
|
|
1844
2092
|
*
|
|
1845
2093
|
* @example
|
|
1846
2094
|
* true
|
|
@@ -1848,24 +2096,28 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1848
2096
|
intranet?: boolean;
|
|
1849
2097
|
/**
|
|
1850
2098
|
* @remarks
|
|
1851
|
-
* The
|
|
2099
|
+
* The cluster-related configurations.
|
|
1852
2100
|
*/
|
|
1853
2101
|
kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
|
|
1854
2102
|
/**
|
|
1855
2103
|
* @remarks
|
|
1856
|
-
* The
|
|
2104
|
+
* The configurations of the managed node pool.
|
|
1857
2105
|
*/
|
|
1858
2106
|
management?: DescribeClusterNodePoolDetailResponseBodyManagement;
|
|
1859
2107
|
/**
|
|
1860
2108
|
* @remarks
|
|
1861
|
-
* This parameter is deprecated
|
|
2109
|
+
* [This parameter is deprecated]
|
|
1862
2110
|
*
|
|
1863
|
-
* The maximum number of nodes
|
|
2111
|
+
* The maximum number of nodes that the edge node pool can contain.
|
|
1864
2112
|
*
|
|
1865
2113
|
* @example
|
|
1866
2114
|
* 10
|
|
1867
2115
|
*/
|
|
1868
2116
|
maxNodes?: number;
|
|
2117
|
+
/**
|
|
2118
|
+
* @remarks
|
|
2119
|
+
* The list of node components.
|
|
2120
|
+
*/
|
|
1869
2121
|
nodeComponents?: DescribeClusterNodePoolDetailResponseBodyNodeComponents[];
|
|
1870
2122
|
/**
|
|
1871
2123
|
* @remarks
|
|
@@ -1874,22 +2126,22 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1874
2126
|
nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
|
|
1875
2127
|
/**
|
|
1876
2128
|
* @remarks
|
|
1877
|
-
* The
|
|
2129
|
+
* The node pool configurations.
|
|
1878
2130
|
*/
|
|
1879
2131
|
nodepoolInfo?: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo;
|
|
1880
2132
|
/**
|
|
1881
2133
|
* @remarks
|
|
1882
|
-
* The configurations of the scaling group
|
|
2134
|
+
* The configurations of the scaling group for the node pool.
|
|
1883
2135
|
*/
|
|
1884
2136
|
scalingGroup?: DescribeClusterNodePoolDetailResponseBodyScalingGroup;
|
|
1885
2137
|
/**
|
|
1886
2138
|
* @remarks
|
|
1887
|
-
* The status
|
|
2139
|
+
* The status of the node pool.
|
|
1888
2140
|
*/
|
|
1889
2141
|
status?: DescribeClusterNodePoolDetailResponseBodyStatus;
|
|
1890
2142
|
/**
|
|
1891
2143
|
* @remarks
|
|
1892
|
-
* The
|
|
2144
|
+
* The configurations of the confidential computing cluster.
|
|
1893
2145
|
*/
|
|
1894
2146
|
teeConfig?: DescribeClusterNodePoolDetailResponseBodyTeeConfig;
|
|
1895
2147
|
static names(): { [key: string]: string } {
|