@alicloud/cs20151215 6.6.3 → 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 +496 -220
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +448 -262
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +29 -1
- 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/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +58 -54
- package/dist/models/model.js.map +1 -1
- 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 +515 -220
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +467 -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
- package/src/models/model.ts +2 -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 smart managed mode is enabled.
|
|
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 bandwidth of the EIP.
|
|
47
|
+
*
|
|
48
|
+
* Valid values: [1,100]. Unit: Mbps.
|
|
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 EIP billing method. Valid values:
|
|
57
|
+
*
|
|
58
|
+
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
52
59
|
*
|
|
53
|
-
*
|
|
54
|
-
* * `PayByTraffic`: pay-by-data-transfer.
|
|
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 automatic scaling is enabled. Valid values:
|
|
63
69
|
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
70
|
+
* - `true`: Enables automatic scaling for the node pool. When the cluster capacity cannot meet pod scheduling demands, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters running Kubernetes 1.24 or later enable instant elasticity by default. Clusters earlier than 1.24 enable node autoscaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
71
|
+
*
|
|
72
|
+
* - `false`: Disables automatic scaling. ACK maintains the node count at the desired number specified in the configuration.
|
|
73
|
+
*
|
|
74
|
+
* If set to false, other parameters under `auto_scaling` have no 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 is
|
|
82
|
+
* Indicates whether an EIP is bound. Valid values:
|
|
83
|
+
*
|
|
84
|
+
* - `true`: Binds an EIP.
|
|
74
85
|
*
|
|
75
|
-
*
|
|
76
|
-
* * `false`: No EIP is associated with the node pool.
|
|
86
|
+
* - `false`: Does not bind an EIP.
|
|
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 scalable instances in the node pool, excluding 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 scalable instances in the node pool, excluding 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 automatic scaling type, categorized by instance type. Valid values:
|
|
101
111
|
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
112
|
+
* - `cpu`: Standard instance.
|
|
113
|
+
*
|
|
114
|
+
* - `gpu`: GPU instance.
|
|
115
|
+
*
|
|
116
|
+
* - `gpushare`: Shared GPU instance.
|
|
117
|
+
*
|
|
118
|
+
* - `spot`: Spot instance.
|
|
106
119
|
*
|
|
107
120
|
* @example
|
|
108
121
|
* cpu
|
|
@@ -141,10 +154,46 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
141
154
|
}
|
|
142
155
|
}
|
|
143
156
|
|
|
157
|
+
export class DescribeClusterNodePoolDetailResponseBodyEfloNodeGroup extends $dara.Model {
|
|
158
|
+
/**
|
|
159
|
+
* @example
|
|
160
|
+
* i113790071760688002461
|
|
161
|
+
*/
|
|
162
|
+
clusterId?: string;
|
|
163
|
+
/**
|
|
164
|
+
* @example
|
|
165
|
+
* i128147721760688002463
|
|
166
|
+
*/
|
|
167
|
+
groupId?: string;
|
|
168
|
+
static names(): { [key: string]: string } {
|
|
169
|
+
return {
|
|
170
|
+
clusterId: 'cluster_id',
|
|
171
|
+
groupId: 'group_id',
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
static types(): { [key: string]: any } {
|
|
176
|
+
return {
|
|
177
|
+
clusterId: 'string',
|
|
178
|
+
groupId: 'string',
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
validate() {
|
|
183
|
+
super.validate();
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
constructor(map?: { [key: string]: any }) {
|
|
187
|
+
super(map);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
144
191
|
export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends $dara.Model {
|
|
145
192
|
/**
|
|
146
193
|
* @remarks
|
|
147
|
-
*
|
|
194
|
+
* [Deprecated]
|
|
195
|
+
*
|
|
196
|
+
* The network bandwidth for the enhanced edge node pool. Unit: Mbps.
|
|
148
197
|
*
|
|
149
198
|
* @example
|
|
150
199
|
* 10
|
|
@@ -152,7 +201,9 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
152
201
|
bandwidth?: number;
|
|
153
202
|
/**
|
|
154
203
|
* @remarks
|
|
155
|
-
*
|
|
204
|
+
* [Deprecated]
|
|
205
|
+
*
|
|
206
|
+
* The CCN instance ID bound to the enhanced edge node pool.
|
|
156
207
|
*
|
|
157
208
|
* @example
|
|
158
209
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -160,7 +211,9 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
160
211
|
ccnId?: string;
|
|
161
212
|
/**
|
|
162
213
|
* @remarks
|
|
163
|
-
*
|
|
214
|
+
* [Deprecated]
|
|
215
|
+
*
|
|
216
|
+
* The region of the CCN instance bound to the enhanced edge node pool.
|
|
164
217
|
*
|
|
165
218
|
* @example
|
|
166
219
|
* cn-shanghai
|
|
@@ -168,7 +221,9 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
168
221
|
ccnRegionId?: string;
|
|
169
222
|
/**
|
|
170
223
|
* @remarks
|
|
171
|
-
*
|
|
224
|
+
* [Deprecated]
|
|
225
|
+
*
|
|
226
|
+
* The CEN instance ID bound to the enhanced edge node pool.
|
|
172
227
|
*
|
|
173
228
|
* @example
|
|
174
229
|
* cen-ey9k9nfhz0f*******
|
|
@@ -176,7 +231,9 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
176
231
|
cenId?: string;
|
|
177
232
|
/**
|
|
178
233
|
* @remarks
|
|
179
|
-
*
|
|
234
|
+
* [Deprecated]
|
|
235
|
+
*
|
|
236
|
+
* The subscription duration for the enhanced edge node pool. Unit: months.
|
|
180
237
|
*
|
|
181
238
|
* @example
|
|
182
239
|
* 1
|
|
@@ -214,10 +271,11 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
214
271
|
export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $dara.Model {
|
|
215
272
|
/**
|
|
216
273
|
* @remarks
|
|
217
|
-
* Indicates whether
|
|
274
|
+
* Indicates whether Cloud Monitor is installed on ECS nodes. After installation, you can view monitoring data for created ECS instances in the Cloud Monitor console. We recommend enabling this feature. Valid values:
|
|
275
|
+
*
|
|
276
|
+
* - `true`: Installs Cloud Monitor on ECS nodes.
|
|
218
277
|
*
|
|
219
|
-
*
|
|
220
|
-
* * `false`: The CloudMonitor agent is not installed on ECS nodes.
|
|
278
|
+
* - `false`: Does not install Cloud Monitor on ECS nodes.
|
|
221
279
|
*
|
|
222
280
|
* @example
|
|
223
281
|
* true
|
|
@@ -225,10 +283,11 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
225
283
|
cmsEnabled?: boolean;
|
|
226
284
|
/**
|
|
227
285
|
* @remarks
|
|
228
|
-
* The CPU management policy
|
|
286
|
+
* The node CPU management policy. Clusters running Kubernetes 1.12.6 or later support the following policies:
|
|
229
287
|
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
288
|
+
* - `static`: Enhances CPU affinity and exclusivity for pods with specific resource characteristics.
|
|
289
|
+
*
|
|
290
|
+
* - `none`: Uses the default CPU affinity scheme.
|
|
232
291
|
*
|
|
233
292
|
* @example
|
|
234
293
|
* none
|
|
@@ -236,28 +295,28 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
236
295
|
cpuPolicy?: string;
|
|
237
296
|
/**
|
|
238
297
|
* @remarks
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
242
|
-
* * 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
|
+
* Node labels.
|
|
243
299
|
*/
|
|
244
300
|
labels?: Tag[];
|
|
245
301
|
/**
|
|
246
302
|
* @remarks
|
|
247
|
-
*
|
|
303
|
+
* Custom node naming.
|
|
304
|
+
*
|
|
305
|
+
* A node name consists of three parts: prefix + IP address substring + suffix:
|
|
306
|
+
*
|
|
307
|
+
* - Both 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 digit.
|
|
248
308
|
*
|
|
249
|
-
*
|
|
250
|
-
* * 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.
|
|
309
|
+
* - The IP address substring length is the number of trailing digits taken from the node\\"s IP address. Valid values: 5–12.
|
|
251
310
|
*
|
|
252
|
-
*
|
|
311
|
+
* Example: If the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name is aliyun.com00055test.
|
|
253
312
|
*
|
|
254
313
|
* @example
|
|
255
|
-
*
|
|
314
|
+
* aliyun.com192.XX.YY.55test
|
|
256
315
|
*/
|
|
257
316
|
nodeNameMode?: string;
|
|
258
317
|
/**
|
|
259
318
|
* @remarks
|
|
260
|
-
*
|
|
319
|
+
* Pre-custom data for the node pool, which runs before node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
261
320
|
*
|
|
262
321
|
* @example
|
|
263
322
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -265,28 +324,38 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
265
324
|
preUserData?: string;
|
|
266
325
|
/**
|
|
267
326
|
* @remarks
|
|
268
|
-
* The
|
|
327
|
+
* The container runtime. ACK supports the following runtimes:
|
|
328
|
+
*
|
|
329
|
+
* - containerd: Recommended. Supported in all cluster versions.
|
|
330
|
+
*
|
|
331
|
+
* - Sandboxed-Container.runv: Sandboxed container runtime with enhanced isolation. Supported in clusters up to version 1.31.
|
|
332
|
+
*
|
|
333
|
+
* - docker: Deprecated. Supported in clusters up to version 1.22.
|
|
269
334
|
*
|
|
270
335
|
* @example
|
|
271
|
-
*
|
|
336
|
+
* containerd
|
|
272
337
|
*/
|
|
273
338
|
runtime?: string;
|
|
274
339
|
/**
|
|
275
340
|
* @remarks
|
|
276
|
-
* The
|
|
341
|
+
* The container runtime version.
|
|
277
342
|
*
|
|
278
343
|
* @example
|
|
279
|
-
*
|
|
344
|
+
* 1.6.38
|
|
280
345
|
*/
|
|
281
346
|
runtimeVersion?: string;
|
|
282
347
|
/**
|
|
283
348
|
* @remarks
|
|
284
|
-
*
|
|
349
|
+
* Node taint information. Taints and tolerations work together to prevent pods from being scheduled onto unsuitable nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
285
350
|
*/
|
|
286
351
|
taints?: Taint[];
|
|
287
352
|
/**
|
|
288
353
|
* @remarks
|
|
289
|
-
*
|
|
354
|
+
* Indicates whether newly scaled nodes are unschedulable.
|
|
355
|
+
*
|
|
356
|
+
* - true: Unschedulable.
|
|
357
|
+
*
|
|
358
|
+
* - false: Schedulable.
|
|
290
359
|
*
|
|
291
360
|
* @example
|
|
292
361
|
* true
|
|
@@ -294,7 +363,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
294
363
|
unschedulable?: boolean;
|
|
295
364
|
/**
|
|
296
365
|
* @remarks
|
|
297
|
-
*
|
|
366
|
+
* Custom data for the node pool, which runs after node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
298
367
|
*
|
|
299
368
|
* @example
|
|
300
369
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -346,15 +415,29 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
346
415
|
}
|
|
347
416
|
|
|
348
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
|
+
*/
|
|
349
425
|
approvalRequired?: boolean;
|
|
350
426
|
/**
|
|
427
|
+
* @remarks
|
|
428
|
+
* The automatic repair policy ID.
|
|
429
|
+
*
|
|
351
430
|
* @example
|
|
352
431
|
* r-xxxxxxxxxx
|
|
353
432
|
*/
|
|
354
433
|
autoRepairPolicyId?: string;
|
|
355
434
|
/**
|
|
356
435
|
* @remarks
|
|
357
|
-
*
|
|
436
|
+
* Indicates whether node restart is allowed. This parameter takes effect only when `auto_repair=true`.
|
|
437
|
+
*
|
|
438
|
+
* - `true`: Allows node restart.
|
|
439
|
+
*
|
|
440
|
+
* - `false`: Disallows node restart.
|
|
358
441
|
*
|
|
359
442
|
* @example
|
|
360
443
|
* true
|
|
@@ -388,7 +471,11 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
388
471
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $dara.Model {
|
|
389
472
|
/**
|
|
390
473
|
* @remarks
|
|
391
|
-
*
|
|
474
|
+
* Indicates whether kubelet auto-upgrade is allowed. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
475
|
+
*
|
|
476
|
+
* - `true`: Allows kubelet auto-upgrade.
|
|
477
|
+
*
|
|
478
|
+
* - `false`: Disallows kubelet auto-upgrade.
|
|
392
479
|
*
|
|
393
480
|
* @example
|
|
394
481
|
* true
|
|
@@ -416,10 +503,21 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolic
|
|
|
416
503
|
}
|
|
417
504
|
|
|
418
505
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $dara.Model {
|
|
506
|
+
/**
|
|
507
|
+
* @remarks
|
|
508
|
+
* The packages excluded during vulnerability fixes.
|
|
509
|
+
*
|
|
510
|
+
* @example
|
|
511
|
+
* kernel
|
|
512
|
+
*/
|
|
419
513
|
excludePackages?: string;
|
|
420
514
|
/**
|
|
421
515
|
* @remarks
|
|
422
|
-
*
|
|
516
|
+
* Indicates whether node restart is allowed. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
517
|
+
*
|
|
518
|
+
* - `true`: Allows node restart.
|
|
519
|
+
*
|
|
520
|
+
* - `false`: Disallows node restart.
|
|
423
521
|
*
|
|
424
522
|
* @example
|
|
425
523
|
* true
|
|
@@ -427,7 +525,13 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
427
525
|
restartNode?: boolean;
|
|
428
526
|
/**
|
|
429
527
|
* @remarks
|
|
430
|
-
* The vulnerability levels
|
|
528
|
+
* The vulnerability levels that can be automatically fixed, separated by commas.
|
|
529
|
+
*
|
|
530
|
+
* - `asap`: High
|
|
531
|
+
*
|
|
532
|
+
* - `later`: Medium
|
|
533
|
+
*
|
|
534
|
+
* - `nntf`: Low
|
|
431
535
|
*
|
|
432
536
|
* @example
|
|
433
537
|
* asap,nntf
|
|
@@ -461,10 +565,11 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
461
565
|
export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $dara.Model {
|
|
462
566
|
/**
|
|
463
567
|
* @remarks
|
|
464
|
-
* Indicates whether auto
|
|
568
|
+
* Indicates whether auto-upgrade is enabled. Valid values:
|
|
465
569
|
*
|
|
466
|
-
*
|
|
467
|
-
*
|
|
570
|
+
* - `true`: Enables auto-upgrade.
|
|
571
|
+
*
|
|
572
|
+
* - `false`: Disables auto-upgrade.
|
|
468
573
|
*
|
|
469
574
|
* @example
|
|
470
575
|
* true
|
|
@@ -472,7 +577,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
472
577
|
autoUpgrade?: boolean;
|
|
473
578
|
/**
|
|
474
579
|
* @remarks
|
|
475
|
-
* The maximum number of nodes
|
|
580
|
+
* The maximum number of unavailable nodes. Valid values: [1,1000].
|
|
476
581
|
*
|
|
477
582
|
* Default value: 1.
|
|
478
583
|
*
|
|
@@ -482,7 +587,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
482
587
|
maxUnavailable?: number;
|
|
483
588
|
/**
|
|
484
589
|
* @remarks
|
|
485
|
-
* The number of
|
|
590
|
+
* The number of extra nodes. Choose either this parameter or surge_percentage.
|
|
486
591
|
*
|
|
487
592
|
* @example
|
|
488
593
|
* 5
|
|
@@ -490,7 +595,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
490
595
|
surge?: number;
|
|
491
596
|
/**
|
|
492
597
|
* @remarks
|
|
493
|
-
* The percentage of
|
|
598
|
+
* The percentage of extra nodes. Choose either this parameter or `surge`.
|
|
599
|
+
*
|
|
600
|
+
* Number of extra nodes = surge percentage × number of nodes. For example, if you set the surge percentage to 50% and there are 6 nodes, the number of extra nodes is 50% × 6 = 3.
|
|
494
601
|
*
|
|
495
602
|
* @example
|
|
496
603
|
* 50
|
|
@@ -524,12 +631,14 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
524
631
|
}
|
|
525
632
|
|
|
526
633
|
export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.Model {
|
|
634
|
+
autoFaultDiagnosis?: boolean;
|
|
527
635
|
/**
|
|
528
636
|
* @remarks
|
|
529
|
-
*
|
|
637
|
+
* Automatic repair. This parameter takes effect only when `enable=true`.
|
|
638
|
+
*
|
|
639
|
+
* - `true`: Enables automatic repair.
|
|
530
640
|
*
|
|
531
|
-
*
|
|
532
|
-
* * `false`: Auto repair is disabled.
|
|
641
|
+
* - `false`: Disables automatic repair.
|
|
533
642
|
*
|
|
534
643
|
* @example
|
|
535
644
|
* true
|
|
@@ -537,12 +646,16 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
537
646
|
autoRepair?: boolean;
|
|
538
647
|
/**
|
|
539
648
|
* @remarks
|
|
540
|
-
* Automatic repair
|
|
649
|
+
* Automatic node repair policy.
|
|
541
650
|
*/
|
|
542
651
|
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
543
652
|
/**
|
|
544
653
|
* @remarks
|
|
545
|
-
*
|
|
654
|
+
* Indicates whether node auto-upgrade is enabled. This parameter takes effect only when `enable=true`.
|
|
655
|
+
*
|
|
656
|
+
* - `true`: Enables auto-upgrade.
|
|
657
|
+
*
|
|
658
|
+
* - `false`: Disables auto-upgrade.
|
|
546
659
|
*
|
|
547
660
|
* @example
|
|
548
661
|
* true
|
|
@@ -550,12 +663,16 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
550
663
|
autoUpgrade?: boolean;
|
|
551
664
|
/**
|
|
552
665
|
* @remarks
|
|
553
|
-
*
|
|
666
|
+
* Auto-upgrade policy.
|
|
554
667
|
*/
|
|
555
668
|
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
556
669
|
/**
|
|
557
670
|
* @remarks
|
|
558
|
-
*
|
|
671
|
+
* Indicates whether CVEs are automatically fixed. This parameter takes effect only when `enable=true`.
|
|
672
|
+
*
|
|
673
|
+
* - `true`: Enables automatic CVE fixing.
|
|
674
|
+
*
|
|
675
|
+
* - `false`: Disables automatic CVE fixing.
|
|
559
676
|
*
|
|
560
677
|
* @example
|
|
561
678
|
* true
|
|
@@ -563,15 +680,16 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
563
680
|
autoVulFix?: boolean;
|
|
564
681
|
/**
|
|
565
682
|
* @remarks
|
|
566
|
-
*
|
|
683
|
+
* Automatic CVE fix policy.
|
|
567
684
|
*/
|
|
568
685
|
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
569
686
|
/**
|
|
570
687
|
* @remarks
|
|
571
688
|
* Indicates whether the managed node pool feature is enabled. Valid values:
|
|
572
689
|
*
|
|
573
|
-
*
|
|
574
|
-
*
|
|
690
|
+
* - `true`: Enables the managed node pool.
|
|
691
|
+
*
|
|
692
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
575
693
|
*
|
|
576
694
|
* @example
|
|
577
695
|
* true
|
|
@@ -579,11 +697,12 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
579
697
|
enable?: boolean;
|
|
580
698
|
/**
|
|
581
699
|
* @remarks
|
|
582
|
-
*
|
|
700
|
+
* Auto-upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
583
701
|
*/
|
|
584
702
|
upgradeConfig?: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig;
|
|
585
703
|
static names(): { [key: string]: string } {
|
|
586
704
|
return {
|
|
705
|
+
autoFaultDiagnosis: 'auto_fault_diagnosis',
|
|
587
706
|
autoRepair: 'auto_repair',
|
|
588
707
|
autoRepairPolicy: 'auto_repair_policy',
|
|
589
708
|
autoUpgrade: 'auto_upgrade',
|
|
@@ -597,6 +716,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
597
716
|
|
|
598
717
|
static types(): { [key: string]: any } {
|
|
599
718
|
return {
|
|
719
|
+
autoFaultDiagnosis: 'boolean',
|
|
600
720
|
autoRepair: 'boolean',
|
|
601
721
|
autoRepairPolicy: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy,
|
|
602
722
|
autoUpgrade: 'boolean',
|
|
@@ -630,6 +750,10 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
630
750
|
}
|
|
631
751
|
|
|
632
752
|
export class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig extends $dara.Model {
|
|
753
|
+
/**
|
|
754
|
+
* @remarks
|
|
755
|
+
* Custom configuration for the node component.
|
|
756
|
+
*/
|
|
633
757
|
customConfig?: { [key: string]: string };
|
|
634
758
|
static names(): { [key: string]: string } {
|
|
635
759
|
return {
|
|
@@ -656,13 +780,23 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig exten
|
|
|
656
780
|
}
|
|
657
781
|
|
|
658
782
|
export class DescribeClusterNodePoolDetailResponseBodyNodeComponents extends $dara.Model {
|
|
783
|
+
/**
|
|
784
|
+
* @remarks
|
|
785
|
+
* Node component configuration.
|
|
786
|
+
*/
|
|
659
787
|
config?: DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig;
|
|
660
788
|
/**
|
|
789
|
+
* @remarks
|
|
790
|
+
* The node component name.
|
|
791
|
+
*
|
|
661
792
|
* @example
|
|
662
793
|
* kubelet
|
|
663
794
|
*/
|
|
664
795
|
name?: string;
|
|
665
796
|
/**
|
|
797
|
+
* @remarks
|
|
798
|
+
* The node component version.
|
|
799
|
+
*
|
|
666
800
|
* @example
|
|
667
801
|
* 1.33.3-aliyun.1
|
|
668
802
|
*/
|
|
@@ -696,6 +830,10 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeComponents extends $da
|
|
|
696
830
|
}
|
|
697
831
|
|
|
698
832
|
export class DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig extends $dara.Model {
|
|
833
|
+
/**
|
|
834
|
+
* @remarks
|
|
835
|
+
* Hugepage configuration.
|
|
836
|
+
*/
|
|
699
837
|
hugepage?: Hugepage;
|
|
700
838
|
static names(): { [key: string]: string } {
|
|
701
839
|
return {
|
|
@@ -724,9 +862,13 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig ext
|
|
|
724
862
|
export class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $dara.Model {
|
|
725
863
|
/**
|
|
726
864
|
* @remarks
|
|
727
|
-
*
|
|
865
|
+
* Kubelet parameter settings.
|
|
728
866
|
*/
|
|
729
867
|
kubeletConfiguration?: KubeletConfig;
|
|
868
|
+
/**
|
|
869
|
+
* @remarks
|
|
870
|
+
* Node OS configuration.
|
|
871
|
+
*/
|
|
730
872
|
nodeOsConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig;
|
|
731
873
|
static names(): { [key: string]: string } {
|
|
732
874
|
return {
|
|
@@ -763,12 +905,16 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
763
905
|
* The time when the node pool was created.
|
|
764
906
|
*
|
|
765
907
|
* @example
|
|
766
|
-
*
|
|
908
|
+
* 2025-04-10T14:25:37.285530433+08:00
|
|
767
909
|
*/
|
|
768
910
|
created?: string;
|
|
769
911
|
/**
|
|
770
912
|
* @remarks
|
|
771
|
-
* Indicates whether
|
|
913
|
+
* Indicates whether this is the default node pool. A cluster usually has only one default node pool. Valid values:
|
|
914
|
+
*
|
|
915
|
+
* - `true`: Default node pool.
|
|
916
|
+
*
|
|
917
|
+
* - `false`: Non-default node pool.
|
|
772
918
|
*
|
|
773
919
|
* @example
|
|
774
920
|
* true
|
|
@@ -776,9 +922,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
776
922
|
isDefault?: boolean;
|
|
777
923
|
/**
|
|
778
924
|
* @remarks
|
|
779
|
-
* The
|
|
780
|
-
*
|
|
781
|
-
* The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
|
|
925
|
+
* The node pool name.
|
|
782
926
|
*
|
|
783
927
|
* @example
|
|
784
928
|
* default-nodepool
|
|
@@ -802,7 +946,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
802
946
|
regionId?: string;
|
|
803
947
|
/**
|
|
804
948
|
* @remarks
|
|
805
|
-
* The
|
|
949
|
+
* The resource group ID.
|
|
806
950
|
*
|
|
807
951
|
* @example
|
|
808
952
|
* rg-acfmyvw3wjmb****
|
|
@@ -810,7 +954,13 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
810
954
|
resourceGroupId?: string;
|
|
811
955
|
/**
|
|
812
956
|
* @remarks
|
|
813
|
-
* The
|
|
957
|
+
* The node pool type.
|
|
958
|
+
*
|
|
959
|
+
* - `ess`: Standard node pool (supports managed features and automatic scaling).
|
|
960
|
+
*
|
|
961
|
+
* - `edge`: Edge node pool.
|
|
962
|
+
*
|
|
963
|
+
* - `lingjun`: Lingjun node pool.
|
|
814
964
|
*
|
|
815
965
|
* @example
|
|
816
966
|
* ess
|
|
@@ -821,7 +971,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
821
971
|
* The time when the node pool was last updated.
|
|
822
972
|
*
|
|
823
973
|
* @example
|
|
824
|
-
*
|
|
974
|
+
* 2025-04-15T15:39:45.41+08:00
|
|
825
975
|
*/
|
|
826
976
|
updated?: string;
|
|
827
977
|
static names(): { [key: string]: string } {
|
|
@@ -862,7 +1012,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
862
1012
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
863
1013
|
/**
|
|
864
1014
|
* @remarks
|
|
865
|
-
* The
|
|
1015
|
+
* The private node pool ID.
|
|
866
1016
|
*
|
|
867
1017
|
* @example
|
|
868
1018
|
* eap-bp67acfmxazb4****
|
|
@@ -870,11 +1020,13 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOpt
|
|
|
870
1020
|
id?: string;
|
|
871
1021
|
/**
|
|
872
1022
|
* @remarks
|
|
873
|
-
* The
|
|
1023
|
+
* The private node pool type, which determines how instance capacity is selected from private pools. Elastic provisioning or capacity reservation services generate private pool capacity after they take effect. Valid values:
|
|
874
1024
|
*
|
|
875
|
-
*
|
|
876
|
-
*
|
|
877
|
-
*
|
|
1025
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, uses public pool resources.
|
|
1026
|
+
*
|
|
1027
|
+
* - `Target`: Target mode. Uses the specified private pool capacity. If the capacity is unavailable, instance creation fails.
|
|
1028
|
+
*
|
|
1029
|
+
* - `None`: None mode. Does not use private pool capacity.
|
|
878
1030
|
*
|
|
879
1031
|
* @example
|
|
880
1032
|
* Open
|
|
@@ -904,8 +1056,18 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOpt
|
|
|
904
1056
|
}
|
|
905
1057
|
|
|
906
1058
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOptions extends $dara.Model {
|
|
1059
|
+
/**
|
|
1060
|
+
* @remarks
|
|
1061
|
+
* The list of private pool IDs.
|
|
1062
|
+
*/
|
|
907
1063
|
privatePoolIds?: string[];
|
|
908
1064
|
/**
|
|
1065
|
+
* @remarks
|
|
1066
|
+
* The resource pool strategy used when creating instances. Valid values:
|
|
1067
|
+
* PrivatePoolFirst: Private pool first.
|
|
1068
|
+
* PrivatePoolOnly: Private pool only.
|
|
1069
|
+
* None: Do not use resource pool strategy.
|
|
1070
|
+
*
|
|
909
1071
|
* @example
|
|
910
1072
|
* PrivatePoolFirst
|
|
911
1073
|
*/
|
|
@@ -939,7 +1101,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOp
|
|
|
939
1101
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit extends $dara.Model {
|
|
940
1102
|
/**
|
|
941
1103
|
* @remarks
|
|
942
|
-
* The instance type
|
|
1104
|
+
* The spot instance type.
|
|
943
1105
|
*
|
|
944
1106
|
* @example
|
|
945
1107
|
* ecs.c6.large
|
|
@@ -947,7 +1109,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
|
|
|
947
1109
|
instanceType?: string;
|
|
948
1110
|
/**
|
|
949
1111
|
* @remarks
|
|
950
|
-
* The price
|
|
1112
|
+
* The market price per instance.
|
|
1113
|
+
*
|
|
1114
|
+
* <props="china">
|
|
1115
|
+
*
|
|
1116
|
+
* Unit: CNY/hour.
|
|
1117
|
+
*
|
|
1118
|
+
*
|
|
1119
|
+
*
|
|
1120
|
+
* <props="intl">
|
|
951
1121
|
*
|
|
952
1122
|
* Unit: USD/hour.
|
|
953
1123
|
*
|
|
@@ -981,10 +1151,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
|
|
|
981
1151
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara.Model {
|
|
982
1152
|
/**
|
|
983
1153
|
* @remarks
|
|
984
|
-
* Indicates whether auto-renewal is enabled for
|
|
1154
|
+
* Indicates whether auto-renewal is enabled for nodes. This parameter is valid only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1155
|
+
*
|
|
1156
|
+
* - `true`: Enables auto-renewal.
|
|
985
1157
|
*
|
|
986
|
-
*
|
|
987
|
-
* * `false`: Auto-renewal is disabled.
|
|
1158
|
+
* - `false`: Disables auto-renewal.
|
|
988
1159
|
*
|
|
989
1160
|
* @example
|
|
990
1161
|
* false
|
|
@@ -992,9 +1163,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
992
1163
|
autoRenew?: boolean;
|
|
993
1164
|
/**
|
|
994
1165
|
* @remarks
|
|
995
|
-
* The
|
|
1166
|
+
* The auto-renewal duration per cycle. Valid values:
|
|
996
1167
|
*
|
|
997
|
-
* If
|
|
1168
|
+
* - If PeriodUnit=Week: 1, 2, 3.
|
|
1169
|
+
*
|
|
1170
|
+
* - If PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
998
1171
|
*
|
|
999
1172
|
* @example
|
|
1000
1173
|
* 1
|
|
@@ -1002,7 +1175,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1002
1175
|
autoRenewPeriod?: number;
|
|
1003
1176
|
/**
|
|
1004
1177
|
* @remarks
|
|
1005
|
-
* [
|
|
1178
|
+
* [Deprecated] Use the security_hardening_os parameter instead.
|
|
1006
1179
|
*
|
|
1007
1180
|
* @example
|
|
1008
1181
|
* false
|
|
@@ -1012,10 +1185,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1012
1185
|
cisEnabled?: boolean;
|
|
1013
1186
|
/**
|
|
1014
1187
|
* @remarks
|
|
1015
|
-
*
|
|
1188
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, indicates whether to automatically try creating pay-as-you-go instances if spot instances cannot be created due to price or inventory issues. Valid values:
|
|
1189
|
+
*
|
|
1190
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1016
1191
|
*
|
|
1017
|
-
*
|
|
1018
|
-
* * `false`: Pay-as-you-go instances are not automatically created to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
1192
|
+
* - `false`: Disallows automatic creation of pay-as-you-go instances.
|
|
1019
1193
|
*
|
|
1020
1194
|
* @example
|
|
1021
1195
|
* true
|
|
@@ -1023,12 +1197,12 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1023
1197
|
compensateWithOnDemand?: boolean;
|
|
1024
1198
|
/**
|
|
1025
1199
|
* @remarks
|
|
1026
|
-
*
|
|
1200
|
+
* Configuration for node data disks, including type and size.
|
|
1027
1201
|
*/
|
|
1028
1202
|
dataDisks?: DataDisk[];
|
|
1029
1203
|
/**
|
|
1030
1204
|
* @remarks
|
|
1031
|
-
* The
|
|
1205
|
+
* The deployment set ID.
|
|
1032
1206
|
*
|
|
1033
1207
|
* @example
|
|
1034
1208
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1036,54 +1210,87 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1036
1210
|
deploymentsetId?: string;
|
|
1037
1211
|
/**
|
|
1038
1212
|
* @remarks
|
|
1039
|
-
* The
|
|
1213
|
+
* The desired number of nodes in the node pool.
|
|
1040
1214
|
*
|
|
1041
1215
|
* @example
|
|
1042
1216
|
* 2
|
|
1043
1217
|
*/
|
|
1044
1218
|
desiredSize?: number;
|
|
1219
|
+
/**
|
|
1220
|
+
* @remarks
|
|
1221
|
+
* Block device initialization configuration.
|
|
1222
|
+
*/
|
|
1045
1223
|
diskInit?: DiskInit[];
|
|
1046
1224
|
/**
|
|
1047
1225
|
* @remarks
|
|
1048
|
-
* The
|
|
1226
|
+
* The custom image ID.
|
|
1049
1227
|
*
|
|
1050
1228
|
* @example
|
|
1051
|
-
*
|
|
1229
|
+
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
1052
1230
|
*/
|
|
1053
1231
|
imageId?: string;
|
|
1054
1232
|
/**
|
|
1055
1233
|
* @remarks
|
|
1056
|
-
*
|
|
1234
|
+
* The OS image type.
|
|
1235
|
+
*
|
|
1236
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
1237
|
+
*
|
|
1238
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1239
|
+
*
|
|
1240
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
1241
|
+
*
|
|
1242
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1243
|
+
*
|
|
1244
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1245
|
+
*
|
|
1246
|
+
* - `CentOS`: CentOS image.
|
|
1247
|
+
*
|
|
1248
|
+
* - `Windows`: Windows image.
|
|
1249
|
+
*
|
|
1250
|
+
* - `WindowsCore`: WindowsCore image.
|
|
1251
|
+
*
|
|
1252
|
+
* - `ContainerOS`: Container-optimized image.
|
|
1253
|
+
*
|
|
1254
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1057
1255
|
*
|
|
1058
1256
|
* @example
|
|
1059
|
-
*
|
|
1257
|
+
* AliyunLinux3
|
|
1060
1258
|
*/
|
|
1061
1259
|
imageType?: string;
|
|
1062
1260
|
/**
|
|
1063
1261
|
* @remarks
|
|
1064
|
-
* The billing method
|
|
1262
|
+
* The billing method for nodes in the node pool. Valid values:
|
|
1263
|
+
*
|
|
1264
|
+
* - `PrePaid`: Subscription.
|
|
1065
1265
|
*
|
|
1066
|
-
*
|
|
1067
|
-
* * `PostPaid`: the pay-as-you-go billing method.
|
|
1266
|
+
* - `PostPaid`: Pay-as-you-go.
|
|
1068
1267
|
*
|
|
1069
1268
|
* @example
|
|
1070
1269
|
* PostPaid
|
|
1071
1270
|
*/
|
|
1072
1271
|
instanceChargeType?: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* @remarks
|
|
1274
|
+
* ECS instance metadata access configuration.
|
|
1275
|
+
*/
|
|
1073
1276
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1074
1277
|
/**
|
|
1075
1278
|
* @remarks
|
|
1076
|
-
*
|
|
1279
|
+
* Instance attribute configuration.
|
|
1077
1280
|
*/
|
|
1078
1281
|
instancePatterns?: InstancePatterns[];
|
|
1079
1282
|
/**
|
|
1080
1283
|
* @remarks
|
|
1081
|
-
*
|
|
1284
|
+
* The list of node instance types.
|
|
1082
1285
|
*/
|
|
1083
1286
|
instanceTypes?: string[];
|
|
1084
1287
|
/**
|
|
1085
1288
|
* @remarks
|
|
1086
|
-
* The billing method
|
|
1289
|
+
* The billing method for public network bandwidth of node public IP addresses.
|
|
1290
|
+
*
|
|
1291
|
+
* - PayByBandwidth: Pay-by-bandwidth.
|
|
1292
|
+
*
|
|
1293
|
+
* - PayByTraffic: Pay-by-traffic.
|
|
1087
1294
|
*
|
|
1088
1295
|
* @example
|
|
1089
1296
|
* PayByBandwidth
|
|
@@ -1091,7 +1298,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1091
1298
|
internetChargeType?: string;
|
|
1092
1299
|
/**
|
|
1093
1300
|
* @remarks
|
|
1094
|
-
* The maximum outbound bandwidth
|
|
1301
|
+
* The maximum outbound bandwidth for node public IP addresses. Unit: Mbps. Valid values: 1–100.
|
|
1095
1302
|
*
|
|
1096
1303
|
* @example
|
|
1097
1304
|
* 10
|
|
@@ -1099,7 +1306,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1099
1306
|
internetMaxBandwidthOut?: number;
|
|
1100
1307
|
/**
|
|
1101
1308
|
* @remarks
|
|
1102
|
-
* The
|
|
1309
|
+
* The key pair name. Choose either this parameter or `login_password`. For managed node pools, only `key_pair` is supported.
|
|
1103
1310
|
*
|
|
1104
1311
|
* @example
|
|
1105
1312
|
* pro-nodepool
|
|
@@ -1107,7 +1314,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1107
1314
|
keyPair?: string;
|
|
1108
1315
|
/**
|
|
1109
1316
|
* @remarks
|
|
1110
|
-
*
|
|
1317
|
+
* Indicates whether ECS instances use a non-root user for logon.
|
|
1318
|
+
*
|
|
1319
|
+
* - true: Log on as the non-root user (ecs-user).
|
|
1320
|
+
*
|
|
1321
|
+
* - false: Log on as the root user.
|
|
1111
1322
|
*
|
|
1112
1323
|
* @example
|
|
1113
1324
|
* true
|
|
@@ -1115,9 +1326,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1115
1326
|
loginAsNonRoot?: boolean;
|
|
1116
1327
|
/**
|
|
1117
1328
|
* @remarks
|
|
1118
|
-
* The
|
|
1329
|
+
* The SSH logon password. Choose either this parameter or `key_pair`. The password must be 8–30 characters long and include at least three of the following: uppercase letters, lowercase letters, digits, and special characters.
|
|
1119
1330
|
*
|
|
1120
|
-
* For security
|
|
1331
|
+
* For security reasons, the returned password is encrypted.
|
|
1121
1332
|
*
|
|
1122
1333
|
* @example
|
|
1123
1334
|
* ********
|
|
@@ -1125,17 +1336,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1125
1336
|
loginPassword?: string;
|
|
1126
1337
|
/**
|
|
1127
1338
|
* @remarks
|
|
1128
|
-
* The
|
|
1339
|
+
* The scaling policy for multi-zone scaling groups. Valid values:
|
|
1129
1340
|
*
|
|
1130
|
-
*
|
|
1341
|
+
* - `PRIORITY`: Scales based on the order of virtual switches (VSwitchIds.N) you define. If ECS instances cannot be created in the zone of a higher-priority virtual switch, the system uses the next-priority virtual switch.
|
|
1131
1342
|
*
|
|
1132
|
-
*
|
|
1343
|
+
* - `COST_OPTIMIZED`: Tries to create instances starting with the lowest vCPU unit price. If multiple instance types or spot billing are configured, it prioritizes spot instances. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically try pay-as-you-go instances if spot instances cannot be created due to inventory or other issues.
|
|
1133
1344
|
*
|
|
1134
|
-
*
|
|
1345
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types or spot instances are configured.
|
|
1135
1346
|
*
|
|
1136
|
-
*
|
|
1137
|
-
*
|
|
1138
|
-
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the RebalanceInstances operation of Auto Scaling to balance the instance distribution among zones. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1347
|
+
* - `BALANCE`: Distributes ECS instances evenly across all specified zones. If inventory shortages cause imbalance, you can call the RebalanceInstances API to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1139
1348
|
*
|
|
1140
1349
|
* Default value: `PRIORITY`.
|
|
1141
1350
|
*
|
|
@@ -1145,7 +1354,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1145
1354
|
multiAzPolicy?: string;
|
|
1146
1355
|
/**
|
|
1147
1356
|
* @remarks
|
|
1148
|
-
* The minimum number of pay-as-you-go instances
|
|
1357
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000]. If the number of pay-as-you-go instances falls below this value, the system prioritizes creating pay-as-you-go instances.
|
|
1149
1358
|
*
|
|
1150
1359
|
* @example
|
|
1151
1360
|
* 0
|
|
@@ -1153,7 +1362,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1153
1362
|
onDemandBaseCapacity?: number;
|
|
1154
1363
|
/**
|
|
1155
1364
|
* @remarks
|
|
1156
|
-
* The percentage of pay-as-you-go instances among
|
|
1365
|
+
* The percentage of pay-as-you-go instances among instances exceeding the minimum pay-as-you-go count (`on_demand_base_capacity`). Valid values: [0,100].
|
|
1157
1366
|
*
|
|
1158
1367
|
* @example
|
|
1159
1368
|
* 20
|
|
@@ -1161,9 +1370,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1161
1370
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1162
1371
|
/**
|
|
1163
1372
|
* @remarks
|
|
1164
|
-
* The subscription duration
|
|
1373
|
+
* The subscription duration for nodes. This parameter is required and valid only when `instance_charge_type` is set to `PrePaid`.
|
|
1374
|
+
*
|
|
1375
|
+
* - If `period_unit=Week`, valid values for `period` are {1, 2, 3, 4}.
|
|
1165
1376
|
*
|
|
1166
|
-
* If `
|
|
1377
|
+
* - If `period_unit=Month`, valid values for `period` are {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1167
1378
|
*
|
|
1168
1379
|
* @example
|
|
1169
1380
|
* 0
|
|
@@ -1171,9 +1382,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1171
1382
|
period?: number;
|
|
1172
1383
|
/**
|
|
1173
1384
|
* @remarks
|
|
1174
|
-
* The billing cycle
|
|
1385
|
+
* The billing cycle for nodes. Specify this parameter when `instance_charge_type` is set to `PrePaid`.
|
|
1386
|
+
*
|
|
1387
|
+
* - `Month`: Billed monthly.
|
|
1175
1388
|
*
|
|
1176
|
-
*
|
|
1389
|
+
* - `Week`: Billed weekly.
|
|
1177
1390
|
*
|
|
1178
1391
|
* @example
|
|
1179
1392
|
* Month
|
|
@@ -1181,12 +1394,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1181
1394
|
periodUnit?: string;
|
|
1182
1395
|
/**
|
|
1183
1396
|
* @remarks
|
|
1184
|
-
* The
|
|
1397
|
+
* The OS distribution. Valid values:
|
|
1185
1398
|
*
|
|
1186
|
-
*
|
|
1187
|
-
*
|
|
1188
|
-
*
|
|
1189
|
-
*
|
|
1399
|
+
* - `CentOS`
|
|
1400
|
+
*
|
|
1401
|
+
* - `AliyunLinux`
|
|
1402
|
+
*
|
|
1403
|
+
* - `Windows`
|
|
1404
|
+
*
|
|
1405
|
+
* - `WindowsCore`
|
|
1190
1406
|
*
|
|
1191
1407
|
* @example
|
|
1192
1408
|
* AliyunLinux
|
|
@@ -1194,12 +1410,12 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1194
1410
|
platform?: string;
|
|
1195
1411
|
/**
|
|
1196
1412
|
* @remarks
|
|
1197
|
-
*
|
|
1413
|
+
* Private node pool configuration.
|
|
1198
1414
|
*/
|
|
1199
1415
|
privatePoolOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions;
|
|
1200
1416
|
/**
|
|
1201
1417
|
* @remarks
|
|
1202
|
-
*
|
|
1418
|
+
* [Deprecated] Use ram_role_name instead.
|
|
1203
1419
|
*
|
|
1204
1420
|
* @example
|
|
1205
1421
|
* KubernetesWorkerRole-021dc54f-929b-437a-8ae0-34c24d3e****
|
|
@@ -1207,7 +1423,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1207
1423
|
ramPolicy?: string;
|
|
1208
1424
|
/**
|
|
1209
1425
|
* @remarks
|
|
1210
|
-
* Worker RAM role name.
|
|
1426
|
+
* The Worker RAM role name.
|
|
1211
1427
|
*
|
|
1212
1428
|
* @example
|
|
1213
1429
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
@@ -1215,13 +1431,17 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1215
1431
|
ramRoleName?: string;
|
|
1216
1432
|
/**
|
|
1217
1433
|
* @remarks
|
|
1218
|
-
*
|
|
1434
|
+
* If RDS instances are specified, the ECS nodes of the cluster are automatically added to the RDS whitelist.
|
|
1219
1435
|
*/
|
|
1220
1436
|
rdsInstances?: string[];
|
|
1437
|
+
/**
|
|
1438
|
+
* @remarks
|
|
1439
|
+
* The resource pool and strategy used when creating instances.
|
|
1440
|
+
*/
|
|
1221
1441
|
resourcePoolOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOptions;
|
|
1222
1442
|
/**
|
|
1223
1443
|
* @remarks
|
|
1224
|
-
* The
|
|
1444
|
+
* The scaling group ID.
|
|
1225
1445
|
*
|
|
1226
1446
|
* @example
|
|
1227
1447
|
* asg-2zeieod8giqmov7z****
|
|
@@ -1229,10 +1449,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1229
1449
|
scalingGroupId?: string;
|
|
1230
1450
|
/**
|
|
1231
1451
|
* @remarks
|
|
1232
|
-
* The scaling mode
|
|
1452
|
+
* The scaling group mode. Valid values:
|
|
1453
|
+
*
|
|
1454
|
+
* - `release`: Standard mode. Scales by creating or releasing ECS instances based on resource usage.
|
|
1233
1455
|
*
|
|
1234
|
-
*
|
|
1235
|
-
* * `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.
|
|
1456
|
+
* - `recycle`: Fast mode. Scales by creating, stopping, or starting instances to speed up future scaling (stopped instances incur no compute charges, only storage fees, except for local-disk instances).
|
|
1236
1457
|
*
|
|
1237
1458
|
* @example
|
|
1238
1459
|
* release
|
|
@@ -1240,7 +1461,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1240
1461
|
scalingPolicy?: string;
|
|
1241
1462
|
/**
|
|
1242
1463
|
* @remarks
|
|
1243
|
-
* The
|
|
1464
|
+
* The security group ID for the node pool. If multiple security groups are bound, this value is the first ID in `security_group_ids`.
|
|
1244
1465
|
*
|
|
1245
1466
|
* @example
|
|
1246
1467
|
* sg-2ze60ockeekspl3d****
|
|
@@ -1248,14 +1469,16 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1248
1469
|
securityGroupId?: string;
|
|
1249
1470
|
/**
|
|
1250
1471
|
* @remarks
|
|
1251
|
-
* The
|
|
1472
|
+
* The list of security group IDs for the node pool.
|
|
1252
1473
|
*/
|
|
1253
1474
|
securityGroupIds?: string[];
|
|
1254
1475
|
/**
|
|
1255
1476
|
* @remarks
|
|
1256
|
-
* Alibaba Cloud OS security hardening.
|
|
1257
|
-
*
|
|
1258
|
-
* - `
|
|
1477
|
+
* Alibaba Cloud OS security hardening. Valid values:
|
|
1478
|
+
*
|
|
1479
|
+
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1480
|
+
*
|
|
1481
|
+
* - `false`: Disables Alibaba Cloud OS security hardening.
|
|
1259
1482
|
*
|
|
1260
1483
|
* Default value: `false`.
|
|
1261
1484
|
*
|
|
@@ -1265,7 +1488,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1265
1488
|
securityHardeningOs?: boolean;
|
|
1266
1489
|
/**
|
|
1267
1490
|
* @remarks
|
|
1268
|
-
* Indicates whether
|
|
1491
|
+
* Indicates whether MLPS 2.0 security hardening is enabled. You can enable this feature only when using Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 images. Alibaba Cloud provides baseline check standards and scanning tools for MLPS 2.0 Level 3 compliance for these images.
|
|
1269
1492
|
*
|
|
1270
1493
|
* @example
|
|
1271
1494
|
* false
|
|
@@ -1273,7 +1496,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1273
1496
|
socEnabled?: boolean;
|
|
1274
1497
|
/**
|
|
1275
1498
|
* @remarks
|
|
1276
|
-
* The number of instance types
|
|
1499
|
+
* The number of available instance types. The scaling group creates spot instances evenly across the lowest-cost instance types. Valid values: [1,10].
|
|
1277
1500
|
*
|
|
1278
1501
|
* @example
|
|
1279
1502
|
* 5
|
|
@@ -1281,10 +1504,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1281
1504
|
spotInstancePools?: number;
|
|
1282
1505
|
/**
|
|
1283
1506
|
* @remarks
|
|
1284
|
-
* Indicates whether
|
|
1507
|
+
* Indicates whether to replenish spot instances. When enabled, if the system notifies that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace it. Valid values:
|
|
1285
1508
|
*
|
|
1286
|
-
*
|
|
1287
|
-
*
|
|
1509
|
+
* - `true`: Enables replenishment.
|
|
1510
|
+
*
|
|
1511
|
+
* - `false`: Disables replenishment.
|
|
1288
1512
|
*
|
|
1289
1513
|
* @example
|
|
1290
1514
|
* false
|
|
@@ -1292,18 +1516,20 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1292
1516
|
spotInstanceRemedy?: boolean;
|
|
1293
1517
|
/**
|
|
1294
1518
|
* @remarks
|
|
1295
|
-
*
|
|
1519
|
+
* Spot instance price range configuration.
|
|
1296
1520
|
*/
|
|
1297
1521
|
spotPriceLimit?: DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit[];
|
|
1298
1522
|
/**
|
|
1299
1523
|
* @remarks
|
|
1300
|
-
* The
|
|
1524
|
+
* The spot instance type. Valid values:
|
|
1525
|
+
*
|
|
1526
|
+
* - NoSpot: On-demand instance.
|
|
1301
1527
|
*
|
|
1302
|
-
*
|
|
1303
|
-
* * SpotWithPriceLimit: a preemptible instance that is configured with the highest bid price.
|
|
1304
|
-
* * SpotAsPriceGo: a preemptible instance for which the system automatically bids based on the current market price.
|
|
1528
|
+
* - SpotWithPriceLimit: Sets a maximum price for spot instances.
|
|
1305
1529
|
*
|
|
1306
|
-
*
|
|
1530
|
+
* - SpotAsPriceGo: Uses the current market price.
|
|
1531
|
+
*
|
|
1532
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1307
1533
|
*
|
|
1308
1534
|
* @example
|
|
1309
1535
|
* NoSpot
|
|
@@ -1311,12 +1537,13 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1311
1537
|
spotStrategy?: string;
|
|
1312
1538
|
/**
|
|
1313
1539
|
* @remarks
|
|
1314
|
-
* Indicates whether
|
|
1540
|
+
* Indicates whether burst performance is enabled for the system disk. Valid values:
|
|
1541
|
+
*
|
|
1542
|
+
* - true: Enabled. When facing sudden read/write pressure from variable workloads, the disk temporarily boosts performance until the workload stabilizes.
|
|
1315
1543
|
*
|
|
1316
|
-
*
|
|
1317
|
-
* * false: does not enable the burst feature for the system disk.
|
|
1544
|
+
* - false: Disabled.
|
|
1318
1545
|
*
|
|
1319
|
-
* This parameter is
|
|
1546
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
|
|
1320
1547
|
*
|
|
1321
1548
|
* @example
|
|
1322
1549
|
* true
|
|
@@ -1324,30 +1551,22 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1324
1551
|
systemDiskBurstingEnabled?: boolean;
|
|
1325
1552
|
/**
|
|
1326
1553
|
* @remarks
|
|
1327
|
-
*
|
|
1328
|
-
*
|
|
1329
|
-
* * `cloud`: basic disk.
|
|
1330
|
-
* * `cloud_efficiency`: ultra disk.
|
|
1331
|
-
* * `cloud_ssd`: standard SSD.
|
|
1332
|
-
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
1333
|
-
* * `cloud_auto`: ESSD AutoPL disk.
|
|
1334
|
-
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
1335
|
-
*
|
|
1336
|
-
* Default value: `cloud_efficiency`.
|
|
1554
|
+
* Multiple system disk types. If the higher-priority disk type is unavailable, the system tries the next priority disk type to create the system disk.
|
|
1337
1555
|
*/
|
|
1338
1556
|
systemDiskCategories?: string[];
|
|
1339
1557
|
/**
|
|
1340
1558
|
* @remarks
|
|
1341
|
-
* The system disk type. Valid values:
|
|
1559
|
+
* The system disk type for nodes. Valid values:
|
|
1560
|
+
*
|
|
1561
|
+
* - `cloud_efficiency`: Ultra disk.
|
|
1562
|
+
*
|
|
1563
|
+
* - `cloud_ssd`: Standard SSD.
|
|
1342
1564
|
*
|
|
1343
|
-
*
|
|
1344
|
-
* * `cloud_efficiency`: ultra disk
|
|
1345
|
-
* * `cloud_ssd`: standard SSD
|
|
1346
|
-
* * `cloud_essd`: Enterprise SSD (ESSD)
|
|
1347
|
-
* * `cloud_auto`: ESSD AutoPL disk
|
|
1348
|
-
* * `cloud_essd_entry`: ESSD Entry disk
|
|
1565
|
+
* - `cloud_essd`: ESSD.
|
|
1349
1566
|
*
|
|
1350
|
-
*
|
|
1567
|
+
* - `cloud_auto`: ESSD AutoPL.
|
|
1568
|
+
*
|
|
1569
|
+
* - `cloud_essd_entry`: ESSD Entry.
|
|
1351
1570
|
*
|
|
1352
1571
|
* @example
|
|
1353
1572
|
* cloud_efficiency
|
|
@@ -1355,7 +1574,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1355
1574
|
systemDiskCategory?: string;
|
|
1356
1575
|
/**
|
|
1357
1576
|
* @remarks
|
|
1358
|
-
* The encryption algorithm
|
|
1577
|
+
* The encryption algorithm used for the system disk. Valid value: aes-256.
|
|
1359
1578
|
*
|
|
1360
1579
|
* @example
|
|
1361
1580
|
* aes-256
|
|
@@ -1363,10 +1582,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1363
1582
|
systemDiskEncryptAlgorithm?: string;
|
|
1364
1583
|
/**
|
|
1365
1584
|
* @remarks
|
|
1366
|
-
*
|
|
1585
|
+
* Indicates whether the system disk is encrypted. Valid values:
|
|
1586
|
+
*
|
|
1587
|
+
* - `true`: Encrypted.
|
|
1367
1588
|
*
|
|
1368
|
-
*
|
|
1369
|
-
* * `false`: does not encrypt the system disk.
|
|
1589
|
+
* - `false`: Not encrypted.
|
|
1370
1590
|
*
|
|
1371
1591
|
* @example
|
|
1372
1592
|
* false
|
|
@@ -1374,7 +1594,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1374
1594
|
systemDiskEncrypted?: boolean;
|
|
1375
1595
|
/**
|
|
1376
1596
|
* @remarks
|
|
1377
|
-
*
|
|
1597
|
+
* The KMS key ID used for the system disk.
|
|
1378
1598
|
*
|
|
1379
1599
|
* @example
|
|
1380
1600
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1382,7 +1602,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1382
1602
|
systemDiskKmsKeyId?: string;
|
|
1383
1603
|
/**
|
|
1384
1604
|
* @remarks
|
|
1385
|
-
* The performance level
|
|
1605
|
+
* The system disk performance level. This parameter applies only to ESSD disks. The performance level depends on the disk size. For more information, see [ESSD](https://help.aliyun.com/document_detail/122389.html).
|
|
1606
|
+
*
|
|
1607
|
+
* - PL0: Moderate I/O performance with stable read/write latency.
|
|
1608
|
+
*
|
|
1609
|
+
* - PL1: Moderate I/O performance with stable read/write latency.
|
|
1610
|
+
*
|
|
1611
|
+
* - PL2: High I/O performance with stable read/write latency.
|
|
1612
|
+
*
|
|
1613
|
+
* - PL3: Extremely high I/O performance with very stable read/write latency.
|
|
1386
1614
|
*
|
|
1387
1615
|
* @example
|
|
1388
1616
|
* PL1
|
|
@@ -1390,7 +1618,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1390
1618
|
systemDiskPerformanceLevel?: string;
|
|
1391
1619
|
/**
|
|
1392
1620
|
* @remarks
|
|
1393
|
-
*
|
|
1621
|
+
* The provisioned read/write IOPS for the system disk.
|
|
1622
|
+
*
|
|
1623
|
+
* Valid values: 0 to min{50,000, 1000 × capacity − baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
1624
|
+
*
|
|
1625
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
|
|
1394
1626
|
*
|
|
1395
1627
|
* @example
|
|
1396
1628
|
* 1000
|
|
@@ -1398,27 +1630,30 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1398
1630
|
systemDiskProvisionedIops?: number;
|
|
1399
1631
|
/**
|
|
1400
1632
|
* @remarks
|
|
1401
|
-
* The system disk size
|
|
1633
|
+
* The system disk size for nodes. Unit: GiB.
|
|
1402
1634
|
*
|
|
1403
|
-
* Valid values: 20
|
|
1635
|
+
* Valid values: [20,2048].
|
|
1404
1636
|
*
|
|
1405
1637
|
* @example
|
|
1406
1638
|
* 120
|
|
1407
1639
|
*/
|
|
1408
1640
|
systemDiskSize?: number;
|
|
1409
|
-
systemDiskSnapshotPolicyId?: string;
|
|
1410
1641
|
/**
|
|
1411
1642
|
* @remarks
|
|
1412
|
-
* The
|
|
1643
|
+
* The system disk snapshot policy.
|
|
1413
1644
|
*
|
|
1414
|
-
*
|
|
1645
|
+
* @example
|
|
1646
|
+
* sp-bp11g8z59rawcud9****
|
|
1647
|
+
*/
|
|
1648
|
+
systemDiskSnapshotPolicyId?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* @remarks
|
|
1651
|
+
* ECS instance tags.
|
|
1415
1652
|
*/
|
|
1416
1653
|
tags?: Tag[];
|
|
1417
1654
|
/**
|
|
1418
1655
|
* @remarks
|
|
1419
|
-
* The
|
|
1420
|
-
*
|
|
1421
|
-
* > We recommend that you select vSwitches in different zones to ensure high availability.
|
|
1656
|
+
* The list of virtual switch IDs.
|
|
1422
1657
|
*/
|
|
1423
1658
|
vswitchIds?: string[];
|
|
1424
1659
|
static names(): { [key: string]: string } {
|
|
@@ -1584,10 +1819,45 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1584
1819
|
}
|
|
1585
1820
|
|
|
1586
1821
|
export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $dara.Model {
|
|
1822
|
+
/**
|
|
1823
|
+
* @remarks
|
|
1824
|
+
* The last time the condition changed.
|
|
1825
|
+
*
|
|
1826
|
+
* @example
|
|
1827
|
+
* 20**-**-30T10:39:00+08:00
|
|
1828
|
+
*/
|
|
1587
1829
|
lastTransitionTime?: string;
|
|
1830
|
+
/**
|
|
1831
|
+
* @remarks
|
|
1832
|
+
* Detailed information.
|
|
1833
|
+
*
|
|
1834
|
+
* @example
|
|
1835
|
+
* AutoUpgradeDisabled
|
|
1836
|
+
*/
|
|
1588
1837
|
message?: string;
|
|
1838
|
+
/**
|
|
1839
|
+
* @remarks
|
|
1840
|
+
* The reason for the condition.
|
|
1841
|
+
*
|
|
1842
|
+
* @example
|
|
1843
|
+
* UpgradeDisabled
|
|
1844
|
+
*/
|
|
1589
1845
|
reason?: string;
|
|
1846
|
+
/**
|
|
1847
|
+
* @remarks
|
|
1848
|
+
* The condition status.
|
|
1849
|
+
*
|
|
1850
|
+
* @example
|
|
1851
|
+
* True
|
|
1852
|
+
*/
|
|
1590
1853
|
status?: string;
|
|
1854
|
+
/**
|
|
1855
|
+
* @remarks
|
|
1856
|
+
* The condition type.
|
|
1857
|
+
*
|
|
1858
|
+
* @example
|
|
1859
|
+
* ImageUpgradeReady
|
|
1860
|
+
*/
|
|
1591
1861
|
type?: string;
|
|
1592
1862
|
static names(): { [key: string]: string } {
|
|
1593
1863
|
return {
|
|
@@ -1619,6 +1889,10 @@ export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $
|
|
|
1619
1889
|
}
|
|
1620
1890
|
|
|
1621
1891
|
export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model {
|
|
1892
|
+
/**
|
|
1893
|
+
* @remarks
|
|
1894
|
+
* The current conditions of the node pool, representing its status across different dimensions.
|
|
1895
|
+
*/
|
|
1622
1896
|
conditions?: DescribeClusterNodePoolDetailResponseBodyStatusConditions[];
|
|
1623
1897
|
/**
|
|
1624
1898
|
* @remarks
|
|
@@ -1638,7 +1912,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1638
1912
|
healthyNodes?: number;
|
|
1639
1913
|
/**
|
|
1640
1914
|
* @remarks
|
|
1641
|
-
* The number of nodes
|
|
1915
|
+
* The number of nodes being created.
|
|
1642
1916
|
*
|
|
1643
1917
|
* @example
|
|
1644
1918
|
* 0
|
|
@@ -1654,7 +1928,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1654
1928
|
offlineNodes?: number;
|
|
1655
1929
|
/**
|
|
1656
1930
|
* @remarks
|
|
1657
|
-
* The number of nodes
|
|
1931
|
+
* The number of nodes being removed.
|
|
1658
1932
|
*
|
|
1659
1933
|
* @example
|
|
1660
1934
|
* 0
|
|
@@ -1662,7 +1936,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1662
1936
|
removingNodes?: number;
|
|
1663
1937
|
/**
|
|
1664
1938
|
* @remarks
|
|
1665
|
-
* The number of
|
|
1939
|
+
* The number of working nodes.
|
|
1666
1940
|
*
|
|
1667
1941
|
* @example
|
|
1668
1942
|
* 3
|
|
@@ -1670,13 +1944,17 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1670
1944
|
servingNodes?: number;
|
|
1671
1945
|
/**
|
|
1672
1946
|
* @remarks
|
|
1673
|
-
* The
|
|
1947
|
+
* The node pool state. Valid values:
|
|
1674
1948
|
*
|
|
1675
|
-
*
|
|
1676
|
-
*
|
|
1677
|
-
*
|
|
1678
|
-
*
|
|
1679
|
-
*
|
|
1949
|
+
* - `active`: Active.
|
|
1950
|
+
*
|
|
1951
|
+
* - `scaling`: Scaling.
|
|
1952
|
+
*
|
|
1953
|
+
* - `removing`: Removing nodes.
|
|
1954
|
+
*
|
|
1955
|
+
* - `deleting`: Deleting.
|
|
1956
|
+
*
|
|
1957
|
+
* - `updating`: Updating.
|
|
1680
1958
|
*
|
|
1681
1959
|
* @example
|
|
1682
1960
|
* active
|
|
@@ -1735,8 +2013,9 @@ export class DescribeClusterNodePoolDetailResponseBodyTeeConfig extends $dara.Mo
|
|
|
1735
2013
|
* @remarks
|
|
1736
2014
|
* Indicates whether confidential computing is enabled. Valid values:
|
|
1737
2015
|
*
|
|
1738
|
-
*
|
|
1739
|
-
*
|
|
2016
|
+
* - `true`: Enabled.
|
|
2017
|
+
*
|
|
2018
|
+
* - `false`: Disabled.
|
|
1740
2019
|
*
|
|
1741
2020
|
* @example
|
|
1742
2021
|
* false
|
|
@@ -1764,19 +2043,24 @@ export class DescribeClusterNodePoolDetailResponseBodyTeeConfig extends $dara.Mo
|
|
|
1764
2043
|
}
|
|
1765
2044
|
|
|
1766
2045
|
export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
2046
|
+
/**
|
|
2047
|
+
* @remarks
|
|
2048
|
+
* Smart managed configuration.
|
|
2049
|
+
*/
|
|
1767
2050
|
autoMode?: DescribeClusterNodePoolDetailResponseBodyAutoMode;
|
|
1768
2051
|
/**
|
|
1769
2052
|
* @remarks
|
|
1770
|
-
*
|
|
2053
|
+
* Automatic scaling configuration for the node pool.
|
|
1771
2054
|
*/
|
|
1772
2055
|
autoScaling?: DescribeClusterNodePoolDetailResponseBodyAutoScaling;
|
|
2056
|
+
efloNodeGroup?: DescribeClusterNodePoolDetailResponseBodyEfloNodeGroup;
|
|
1773
2057
|
/**
|
|
1774
2058
|
* @remarks
|
|
1775
|
-
* Indicates whether
|
|
2059
|
+
* Indicates whether pods use the host network mode.
|
|
1776
2060
|
*
|
|
1777
|
-
* `true`:
|
|
2061
|
+
* - `true`: Host network. Pods share the host\\"s network stack, IP address, and ports.
|
|
1778
2062
|
*
|
|
1779
|
-
* `false`:
|
|
2063
|
+
* - `false`: Container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1780
2064
|
*
|
|
1781
2065
|
* @example
|
|
1782
2066
|
* true
|
|
@@ -1784,28 +2068,30 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1784
2068
|
hostNetwork?: boolean;
|
|
1785
2069
|
/**
|
|
1786
2070
|
* @remarks
|
|
1787
|
-
*
|
|
2071
|
+
* [Deprecated]
|
|
2072
|
+
*
|
|
2073
|
+
* Network configuration for edge node pools. This parameter applies only to edge-type node pools.
|
|
1788
2074
|
*/
|
|
1789
2075
|
interconnectConfig?: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig;
|
|
1790
2076
|
/**
|
|
1791
2077
|
* @remarks
|
|
1792
|
-
* The network type
|
|
2078
|
+
* The network type for edge node pools. This parameter applies only to node pools where `type` is `edge`. Valid values:
|
|
1793
2079
|
*
|
|
1794
|
-
* `basic`:
|
|
2080
|
+
* - `basic`: Public network. Nodes in the node pool interact with cloud nodes over the public network and cannot directly access the VPC intranet.
|
|
1795
2081
|
*
|
|
1796
|
-
* `private`:
|
|
2082
|
+
* - `private`: Private network. Nodes in the node pool connect to the cloud through leased lines, VPNs, or CEN, providing higher-quality cloud-edge communication and better security.
|
|
1797
2083
|
*
|
|
1798
2084
|
* @example
|
|
1799
|
-
*
|
|
2085
|
+
* basic
|
|
1800
2086
|
*/
|
|
1801
2087
|
interconnectMode?: string;
|
|
1802
2088
|
/**
|
|
1803
2089
|
* @remarks
|
|
1804
|
-
*
|
|
2090
|
+
* Indicates whether Layer 3 networking is enabled between nodes in the edge node pool.
|
|
1805
2091
|
*
|
|
1806
|
-
* `true`:
|
|
2092
|
+
* - `true`: Enabled. All nodes in the node pool can communicate over Layer 3.
|
|
1807
2093
|
*
|
|
1808
|
-
* `false`:
|
|
2094
|
+
* - `false`: Disabled. Layer 3 communication is disabled between nodes in the node pool.
|
|
1809
2095
|
*
|
|
1810
2096
|
* @example
|
|
1811
2097
|
* true
|
|
@@ -1813,54 +2099,59 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1813
2099
|
intranet?: boolean;
|
|
1814
2100
|
/**
|
|
1815
2101
|
* @remarks
|
|
1816
|
-
*
|
|
2102
|
+
* Cluster-related configuration.
|
|
1817
2103
|
*/
|
|
1818
2104
|
kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
|
|
1819
2105
|
/**
|
|
1820
2106
|
* @remarks
|
|
1821
|
-
*
|
|
2107
|
+
* Managed node pool configuration.
|
|
1822
2108
|
*/
|
|
1823
2109
|
management?: DescribeClusterNodePoolDetailResponseBodyManagement;
|
|
1824
2110
|
/**
|
|
1825
2111
|
* @remarks
|
|
1826
|
-
*
|
|
2112
|
+
* [Deprecated]
|
|
1827
2113
|
*
|
|
1828
|
-
* The maximum number of nodes allowed in
|
|
2114
|
+
* The maximum number of nodes allowed in the edge node pool.
|
|
1829
2115
|
*
|
|
1830
2116
|
* @example
|
|
1831
2117
|
* 10
|
|
1832
2118
|
*/
|
|
1833
2119
|
maxNodes?: number;
|
|
2120
|
+
/**
|
|
2121
|
+
* @remarks
|
|
2122
|
+
* List of node components.
|
|
2123
|
+
*/
|
|
1834
2124
|
nodeComponents?: DescribeClusterNodePoolDetailResponseBodyNodeComponents[];
|
|
1835
2125
|
/**
|
|
1836
2126
|
* @remarks
|
|
1837
|
-
*
|
|
2127
|
+
* Node configuration.
|
|
1838
2128
|
*/
|
|
1839
2129
|
nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
|
|
1840
2130
|
/**
|
|
1841
2131
|
* @remarks
|
|
1842
|
-
*
|
|
2132
|
+
* Node pool configuration.
|
|
1843
2133
|
*/
|
|
1844
2134
|
nodepoolInfo?: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo;
|
|
1845
2135
|
/**
|
|
1846
2136
|
* @remarks
|
|
1847
|
-
*
|
|
2137
|
+
* Scaling group configuration for the node pool.
|
|
1848
2138
|
*/
|
|
1849
2139
|
scalingGroup?: DescribeClusterNodePoolDetailResponseBodyScalingGroup;
|
|
1850
2140
|
/**
|
|
1851
2141
|
* @remarks
|
|
1852
|
-
* The status
|
|
2142
|
+
* The status of the node pool.
|
|
1853
2143
|
*/
|
|
1854
2144
|
status?: DescribeClusterNodePoolDetailResponseBodyStatus;
|
|
1855
2145
|
/**
|
|
1856
2146
|
* @remarks
|
|
1857
|
-
*
|
|
2147
|
+
* Confidential computing cluster configuration.
|
|
1858
2148
|
*/
|
|
1859
2149
|
teeConfig?: DescribeClusterNodePoolDetailResponseBodyTeeConfig;
|
|
1860
2150
|
static names(): { [key: string]: string } {
|
|
1861
2151
|
return {
|
|
1862
2152
|
autoMode: 'auto_mode',
|
|
1863
2153
|
autoScaling: 'auto_scaling',
|
|
2154
|
+
efloNodeGroup: 'eflo_node_group',
|
|
1864
2155
|
hostNetwork: 'host_network',
|
|
1865
2156
|
interconnectConfig: 'interconnect_config',
|
|
1866
2157
|
interconnectMode: 'interconnect_mode',
|
|
@@ -1881,6 +2172,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1881
2172
|
return {
|
|
1882
2173
|
autoMode: DescribeClusterNodePoolDetailResponseBodyAutoMode,
|
|
1883
2174
|
autoScaling: DescribeClusterNodePoolDetailResponseBodyAutoScaling,
|
|
2175
|
+
efloNodeGroup: DescribeClusterNodePoolDetailResponseBodyEfloNodeGroup,
|
|
1884
2176
|
hostNetwork: 'boolean',
|
|
1885
2177
|
interconnectConfig: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig,
|
|
1886
2178
|
interconnectMode: 'string',
|
|
@@ -1904,6 +2196,9 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1904
2196
|
if(this.autoScaling && typeof (this.autoScaling as any).validate === 'function') {
|
|
1905
2197
|
(this.autoScaling as any).validate();
|
|
1906
2198
|
}
|
|
2199
|
+
if(this.efloNodeGroup && typeof (this.efloNodeGroup as any).validate === 'function') {
|
|
2200
|
+
(this.efloNodeGroup as any).validate();
|
|
2201
|
+
}
|
|
1907
2202
|
if(this.interconnectConfig && typeof (this.interconnectConfig as any).validate === 'function') {
|
|
1908
2203
|
(this.interconnectConfig as any).validate();
|
|
1909
2204
|
}
|