@alicloud/cs20151215 7.2.0 → 7.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +274 -276
- package/dist/client.js +277 -316
- package/dist/client.js.map +1 -1
- package/dist/models/Addon.d.ts +4 -4
- package/dist/models/AttachInstancesRequest.d.ts +18 -17
- package/dist/models/AttachInstancesRequest.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +3 -3
- package/dist/models/CheckControlPlaneLogEnableResponseBody.d.ts +1 -1
- package/dist/models/CheckServiceRoleResponseBody.d.ts +2 -2
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -0
- package/dist/models/CleanClusterUserPermissionsRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +9 -9
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +31 -31
- package/dist/models/CreateClusterDiagnosisRequest.d.ts +3 -3
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +65 -60
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +414 -180
- package/dist/models/CreateClusterRequest.js +2 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +7 -8
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +5 -8
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +43 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +9 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +6 -6
- package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
- package/dist/models/DeleteAlertContactGroupRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactGroupResponse.d.ts +5 -5
- package/dist/models/DeleteAlertContactGroupShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +2 -2
- package/dist/models/DeleteClusterNodesRequest.d.ts +8 -8
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +11 -11
- package/dist/models/DeleteClusterShrinkRequest.d.ts +7 -7
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +20 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -1
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +9 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -1
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +20 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +3 -3
- package/dist/models/DescribeAddonRequest.d.ts +16 -6
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +3 -1
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +2 -2
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +14 -14
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +7 -7
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +15 -15
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +92 -95
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +9 -1
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +29 -25
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +5 -5
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +234 -282
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +99 -99
- package/dist/models/DescribeClusterNodesRequest.d.ts +17 -8
- package/dist/models/DescribeClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +34 -41
- package/dist/models/DescribeClusterNodesResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +2 -2
- package/dist/models/DescribeClusterResourcesResponse.d.ts +37 -37
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +6 -15
- package/dist/models/DescribeClusterVulsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +6 -6
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +11 -11
- package/dist/models/DescribeClustersRequest.d.ts +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +20 -23
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +56 -58
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +10 -2
- package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +6 -2
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +21 -21
- package/dist/models/DescribeEventsResponseBody.d.ts +23 -23
- package/dist/models/DescribeExternalAgentRequest.d.ts +7 -6
- package/dist/models/DescribeExternalAgentRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +18 -18
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +11 -11
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +2 -2
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +8 -8
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +34 -31
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesResponse.d.ts +19 -19
- package/dist/models/DescribePolicyInstancesStatusResponseBody.d.ts +4 -4
- package/dist/models/DescribeRegionsRequest.d.ts +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionRequest.d.ts +4 -4
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +3 -3
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +1 -2
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.js.map +1 -1
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +21 -17
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +2 -2
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +15 -15
- package/dist/models/DescribeTemplatesRequest.d.ts +1 -1
- package/dist/models/DescribeTemplatesResponseBody.d.ts +9 -9
- package/dist/models/DescribeTriggerResponse.d.ts +12 -12
- package/dist/models/DescribeUserPermissionResponse.d.ts +21 -21
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/DiskInit.d.ts +22 -0
- package/dist/models/DiskInit.js.map +1 -1
- package/dist/models/FixNodePoolVulsRequest.d.ts +2 -1
- package/dist/models/FixNodePoolVulsRequest.js.map +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +7 -7
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +1 -1
- package/dist/models/GetClusterCheckResponseBody.d.ts +1 -1
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +6 -6
- package/dist/models/GetClusterInspectReportDetailRequest.d.ts +8 -8
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +19 -19
- package/dist/models/GetKubernetesTriggerRequest.d.ts +5 -11
- package/dist/models/GetKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/GetKubernetesTriggerResponse.d.ts +4 -8
- package/dist/models/GetKubernetesTriggerResponse.js.map +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +8 -8
- package/dist/models/GrantPermissionsRequest.d.ts +4 -5
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +8 -8
- package/dist/models/InstanceMetadataOptions.d.ts +7 -7
- package/dist/models/KubeletConfig.d.ts +39 -33
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ListAddonsRequest.d.ts +2 -2
- package/dist/models/ListAddonsResponseBody.d.ts +2 -2
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +17 -17
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +3 -3
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +2 -2
- package/dist/models/ListClusterChecksRequest.d.ts +5 -5
- package/dist/models/ListClusterChecksResponseBody.d.ts +1 -1
- package/dist/models/ListClusterInspectReportsRequest.d.ts +1 -1
- package/dist/models/ListClusterInspectReportsResponseBody.d.ts +6 -6
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +10 -8
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +24 -24
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +15 -0
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +40 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +15 -0
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +6 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +39 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentsRequest.d.ts +21 -0
- package/dist/models/ListNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +19 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +21 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +3 -3
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +6 -6
- package/dist/models/ListOperationPlansResponseBody.d.ts +4 -4
- package/dist/models/ListTagResourcesRequest.d.ts +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +1 -1
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +3 -3
- package/dist/models/MaintenanceWindow.d.ts +69 -15
- package/dist/models/MaintenanceWindow.js +33 -1
- package/dist/models/MaintenanceWindow.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +8 -8
- package/dist/models/ModifyAutoRepairPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +255 -80
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +62 -62
- package/dist/models/ModifyClusterTagsRequest.d.ts +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +1 -1
- package/dist/models/ModifyPolicyInstanceRequest.d.ts +5 -5
- package/dist/models/Nodepool.d.ts +176 -175
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/QuotasValue.d.ts +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +2 -2
- package/dist/models/RepairClusterNodePoolRequest.d.ts +9 -9
- package/dist/models/RunClusterCheckRequest.d.ts +1 -1
- package/dist/models/RunNodeOperationRequest.d.ts +6 -0
- package/dist/models/RunNodeOperationRequest.js.map +1 -1
- package/dist/models/RunNodeOperationResponseBody.d.ts +9 -0
- package/dist/models/RunNodeOperationResponseBody.js.map +1 -1
- package/dist/models/Runtime.d.ts +7 -9
- package/dist/models/Runtime.js.map +1 -1
- package/dist/models/ScaleClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/StandardComponentsValue.d.ts +6 -6
- package/dist/models/StopAlertResponseBody.d.ts +2 -1
- package/dist/models/StopAlertResponseBody.js.map +1 -1
- package/dist/models/Tag.d.ts +2 -2
- package/dist/models/TagResourcesRequest.d.ts +1 -1
- package/dist/models/Taint.d.ts +7 -5
- package/dist/models/Taint.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +2 -2
- package/dist/models/UntagResourcesShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +2 -2
- package/dist/models/UpdateContactGroupForAlertResponseBody.d.ts +1 -1
- package/dist/models/UpdateControlPlaneLogRequest.d.ts +1 -1
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +2 -2
- package/dist/models/UpdateKmsencryptionRequest.d.ts +4 -4
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +43 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +9 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +6 -6
- package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +1 -1
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +8 -8
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +4 -4
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +5 -5
- package/dist/models/UpgradeClusterRequest.d.ts +7 -6
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +18 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +278 -316
- package/src/models/Addon.ts +4 -4
- package/src/models/AttachInstancesRequest.ts +18 -17
- package/src/models/AttachInstancesToNodePoolRequest.ts +3 -3
- package/src/models/CheckControlPlaneLogEnableResponseBody.ts +1 -1
- package/src/models/CheckServiceRoleResponseBody.ts +2 -2
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -0
- package/src/models/CreateAutoRepairPolicyRequest.ts +9 -9
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +1 -1
- package/src/models/CreateAutoscalingConfigRequest.ts +31 -31
- package/src/models/CreateClusterDiagnosisRequest.ts +3 -3
- package/src/models/CreateClusterInspectConfigRequest.ts +1 -1
- package/src/models/CreateClusterNodePoolRequest.ts +65 -60
- package/src/models/CreateClusterRequest.ts +416 -180
- package/src/models/CreateKubernetesTriggerRequest.ts +7 -8
- package/src/models/CreateKubernetesTriggerResponseBody.ts +5 -8
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +43 -0
- package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +9 -0
- package/src/models/CreateTemplateRequest.ts +6 -6
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/DeleteAlertContactGroupRequest.ts +1 -1
- package/src/models/DeleteAlertContactGroupResponse.ts +5 -5
- package/src/models/DeleteAlertContactGroupShrinkRequest.ts +1 -1
- package/src/models/DeleteClusterNodepoolRequest.ts +2 -2
- package/src/models/DeleteClusterNodesRequest.ts +8 -8
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +11 -11
- package/src/models/DeleteClusterShrinkRequest.ts +7 -7
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +20 -0
- package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +9 -0
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +20 -0
- package/src/models/DeployPolicyInstanceRequest.ts +3 -3
- package/src/models/DescribeAddonRequest.ts +16 -6
- package/src/models/DescribeAddonsRequest.ts +3 -1
- package/src/models/DescribeAddonsResponseBody.ts +2 -2
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +14 -14
- package/src/models/DescribeClusterAddonInstanceResponseBody.ts +7 -7
- package/src/models/DescribeClusterAttachScriptsRequest.ts +15 -15
- package/src/models/DescribeClusterDetailResponseBody.ts +92 -95
- package/src/models/DescribeClusterEventsRequest.ts +9 -1
- package/src/models/DescribeClusterEventsResponseBody.ts +29 -25
- package/src/models/DescribeClusterLogsResponse.ts +5 -5
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +234 -282
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +99 -99
- package/src/models/DescribeClusterNodesRequest.ts +17 -8
- package/src/models/DescribeClusterNodesResponseBody.ts +34 -41
- package/src/models/DescribeClusterResourcesRequest.ts +2 -2
- package/src/models/DescribeClusterResourcesResponse.ts +37 -37
- package/src/models/DescribeClusterVulsResponseBody.ts +6 -15
- package/src/models/DescribeClustersForRegionRequest.ts +6 -6
- package/src/models/DescribeClustersForRegionResponseBody.ts +11 -11
- package/src/models/DescribeClustersRequest.ts +1 -1
- package/src/models/DescribeClustersV1request.ts +20 -23
- package/src/models/DescribeClustersV1responseBody.ts +56 -58
- package/src/models/DescribeEventsForRegionRequest.ts +10 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +6 -2
- package/src/models/DescribeEventsRequest.ts +21 -21
- package/src/models/DescribeEventsResponseBody.ts +23 -23
- package/src/models/DescribeExternalAgentRequest.ts +7 -6
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +18 -18
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +11 -11
- package/src/models/DescribeNodePoolVulsRequest.ts +2 -2
- package/src/models/DescribeNodePoolVulsResponseBody.ts +1 -1
- package/src/models/DescribePolicyDetailsResponseBody.ts +8 -8
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +34 -31
- package/src/models/DescribePolicyInstancesResponse.ts +19 -19
- package/src/models/DescribePolicyInstancesStatusResponseBody.ts +4 -4
- package/src/models/DescribeRegionsRequest.ts +1 -1
- package/src/models/DescribeRegionsResponseBody.ts +1 -1
- package/src/models/DescribeResourcesDeleteProtectionRequest.ts +4 -4
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +3 -3
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +1 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +21 -17
- package/src/models/DescribeTemplateAttributeRequest.ts +2 -2
- package/src/models/DescribeTemplateAttributeResponse.ts +15 -15
- package/src/models/DescribeTemplatesRequest.ts +1 -1
- package/src/models/DescribeTemplatesResponseBody.ts +9 -9
- package/src/models/DescribeTriggerResponse.ts +12 -12
- package/src/models/DescribeUserPermissionResponse.ts +21 -21
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/DiskInit.ts +22 -0
- package/src/models/FixNodePoolVulsRequest.ts +2 -1
- package/src/models/GetClusterAddonInstanceResponseBody.ts +7 -7
- package/src/models/GetClusterAuditProjectResponseBody.ts +1 -1
- package/src/models/GetClusterCheckResponseBody.ts +1 -1
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +6 -6
- package/src/models/GetClusterInspectReportDetailRequest.ts +8 -8
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +19 -19
- package/src/models/GetKubernetesTriggerRequest.ts +5 -11
- package/src/models/GetKubernetesTriggerResponse.ts +4 -8
- package/src/models/GetUpgradeStatusResponseBody.ts +8 -8
- package/src/models/GrantPermissionsRequest.ts +4 -5
- package/src/models/InstallNodePoolComponentsRequest.ts +8 -8
- package/src/models/InstanceMetadataOptions.ts +9 -9
- package/src/models/KubeletConfig.ts +39 -33
- package/src/models/ListAddonsRequest.ts +2 -2
- package/src/models/ListAddonsResponseBody.ts +2 -2
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +17 -17
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +3 -3
- package/src/models/ListClusterAddonInstancesResponseBody.ts +2 -2
- package/src/models/ListClusterChecksRequest.ts +5 -5
- package/src/models/ListClusterChecksResponseBody.ts +1 -1
- package/src/models/ListClusterInspectReportsRequest.ts +1 -1
- package/src/models/ListClusterInspectReportsResponseBody.ts +6 -6
- package/src/models/ListClusterKubeconfigStatesRequest.ts +10 -8
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +24 -24
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +15 -0
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +40 -0
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +15 -0
- package/src/models/ListNodePoolComponentInstancesRequest.ts +6 -0
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +39 -0
- package/src/models/ListNodePoolComponentsRequest.ts +21 -0
- package/src/models/ListNodePoolComponentsResponseBody.ts +19 -0
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +21 -0
- package/src/models/ListOperationPlansForRegionRequest.ts +3 -3
- package/src/models/ListOperationPlansForRegionResponseBody.ts +6 -6
- package/src/models/ListOperationPlansResponseBody.ts +4 -4
- package/src/models/ListTagResourcesRequest.ts +1 -1
- package/src/models/ListTagResourcesResponseBody.ts +1 -1
- package/src/models/ListTagResourcesShrinkRequest.ts +1 -1
- package/src/models/ListUserKubeConfigStatesRequest.ts +1 -1
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +3 -3
- package/src/models/MaintenanceWindow.ts +92 -15
- package/src/models/ModifyAutoRepairPolicyRequest.ts +8 -8
- package/src/models/ModifyAutoRepairPolicyResponseBody.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +255 -80
- package/src/models/ModifyClusterRequest.ts +62 -62
- package/src/models/ModifyClusterTagsRequest.ts +1 -1
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +1 -1
- package/src/models/ModifyPolicyInstanceRequest.ts +5 -5
- package/src/models/Nodepool.ts +176 -175
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/QuotasValue.ts +1 -1
- package/src/models/RemoveNodePoolNodesRequest.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +2 -2
- package/src/models/RepairClusterNodePoolRequest.ts +9 -9
- package/src/models/RunClusterCheckRequest.ts +1 -1
- package/src/models/RunNodeOperationRequest.ts +6 -0
- package/src/models/RunNodeOperationResponseBody.ts +9 -0
- package/src/models/Runtime.ts +7 -9
- package/src/models/ScaleClusterNodePoolRequest.ts +1 -1
- package/src/models/StandardComponentsValue.ts +6 -6
- package/src/models/StopAlertResponseBody.ts +2 -1
- package/src/models/Tag.ts +2 -2
- package/src/models/TagResourcesRequest.ts +1 -1
- package/src/models/Taint.ts +7 -5
- package/src/models/UntagResourcesRequest.ts +2 -2
- package/src/models/UntagResourcesShrinkRequest.ts +2 -2
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +2 -2
- package/src/models/UpdateContactGroupForAlertResponseBody.ts +1 -1
- package/src/models/UpdateControlPlaneLogRequest.ts +1 -1
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +2 -2
- package/src/models/UpdateKmsencryptionRequest.ts +4 -4
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +43 -0
- package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +9 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +6 -6
- package/src/models/UpdateNodePoolComponentResponseBody.ts +1 -1
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +1 -1
- package/src/models/UpdateUserPermissionsRequest.ts +8 -8
- package/src/models/UpgradeClusterAddonsRequest.ts +4 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +5 -5
- package/src/models/UpgradeClusterRequest.ts +7 -6
- package/src/models/model.ts +1 -0
package/src/models/Nodepool.ts
CHANGED
|
@@ -28,8 +28,8 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
28
28
|
*
|
|
29
29
|
* The billing method of the EIP. Valid values:
|
|
30
30
|
*
|
|
31
|
-
* - `PayByBandwidth`:
|
|
32
|
-
* - `PayByTraffic`:
|
|
31
|
+
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
32
|
+
* - `PayByTraffic`: Pay-by-data-transfer.
|
|
33
33
|
*
|
|
34
34
|
* Default value: PayByBandwidth.
|
|
35
35
|
*
|
|
@@ -41,10 +41,9 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
41
41
|
eipInternetChargeType?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* Specifies whether to enable auto scaling.
|
|
45
|
-
*
|
|
46
|
-
* - `
|
|
47
|
-
* - `false`: Disables auto scaling. When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
44
|
+
* Specifies whether to enable auto scaling. Valid values:
|
|
45
|
+
* - `true`: Enables auto scaling for the node pool.
|
|
46
|
+
* - `false`: Disables auto scaling. If this parameter is set to false, other configuration parameters in auto_scaling do not take effect.
|
|
48
47
|
*
|
|
49
48
|
* Default value: `false`.
|
|
50
49
|
*
|
|
@@ -58,7 +57,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
58
57
|
* @remarks
|
|
59
58
|
* **[Deprecated]**
|
|
60
59
|
*
|
|
61
|
-
* Specifies whether to associate an EIP. Valid values:
|
|
60
|
+
* Specifies whether to associate an elastic IP address (EIP). Valid values:
|
|
62
61
|
*
|
|
63
62
|
* - `true`: Associates an EIP.
|
|
64
63
|
* - `false`: Does not associate an EIP.
|
|
@@ -73,7 +72,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
73
72
|
isBondEip?: boolean;
|
|
74
73
|
/**
|
|
75
74
|
* @remarks
|
|
76
|
-
* The maximum number of instances in the auto
|
|
75
|
+
* The maximum number of instances in the auto-scaling group.
|
|
77
76
|
*
|
|
78
77
|
* This parameter is required.
|
|
79
78
|
*
|
|
@@ -83,7 +82,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
83
82
|
maxInstances?: number;
|
|
84
83
|
/**
|
|
85
84
|
* @remarks
|
|
86
|
-
* The minimum number of instances in the auto
|
|
85
|
+
* The minimum number of instances in the auto-scaling group.
|
|
87
86
|
*
|
|
88
87
|
* This parameter is required.
|
|
89
88
|
*
|
|
@@ -93,12 +92,12 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
93
92
|
minInstances?: number;
|
|
94
93
|
/**
|
|
95
94
|
* @remarks
|
|
96
|
-
* The auto
|
|
95
|
+
* The auto-scaling type, which is classified by the instance type used for auto scaling. Valid values:
|
|
97
96
|
*
|
|
98
|
-
* - `cpu`:
|
|
99
|
-
* - `gpu`: GPU instance
|
|
100
|
-
* - `gpushare`: GPU
|
|
101
|
-
* - `spot`:
|
|
97
|
+
* - `cpu`: Regular instance.
|
|
98
|
+
* - `gpu`: GPU-accelerated instance.
|
|
99
|
+
* - `gpushare`: GPU-shared instance.
|
|
100
|
+
* - `spot`: Spot instance.
|
|
102
101
|
*
|
|
103
102
|
* Default value: `cpu`.
|
|
104
103
|
*
|
|
@@ -144,7 +143,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
144
143
|
* @remarks
|
|
145
144
|
* **[Deprecated]**
|
|
146
145
|
*
|
|
147
|
-
* The network bandwidth of the enhanced edge node pool. Unit:
|
|
146
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
148
147
|
*
|
|
149
148
|
* @example
|
|
150
149
|
* 10
|
|
@@ -168,7 +167,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
168
167
|
* @remarks
|
|
169
168
|
* **[Deprecated]**
|
|
170
169
|
*
|
|
171
|
-
* The region of the
|
|
170
|
+
* The region of the CCN instance that is bound to the enhanced edge node pool.
|
|
172
171
|
*
|
|
173
172
|
* @example
|
|
174
173
|
* cn-shanghai
|
|
@@ -192,7 +191,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
192
191
|
* @remarks
|
|
193
192
|
* **[Deprecated]**
|
|
194
193
|
*
|
|
195
|
-
* The
|
|
194
|
+
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
196
195
|
*
|
|
197
196
|
* @example
|
|
198
197
|
* 1
|
|
@@ -232,7 +231,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
232
231
|
export class NodepoolKubernetesConfig extends $dara.Model {
|
|
233
232
|
/**
|
|
234
233
|
* @remarks
|
|
235
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information
|
|
234
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view the monitoring information of the created ECS instances in the CloudMonitor console. Valid values:
|
|
236
235
|
*
|
|
237
236
|
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
238
237
|
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
@@ -245,9 +244,9 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
245
244
|
cmsEnabled?: boolean;
|
|
246
245
|
/**
|
|
247
246
|
* @remarks
|
|
248
|
-
* The CPU management policy for nodes. The following two policies are supported
|
|
247
|
+
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
249
248
|
*
|
|
250
|
-
* - `static`: Allows
|
|
249
|
+
* - `static`: Allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
|
|
251
250
|
* - `none`: Enables the existing default CPU affinity scheme.
|
|
252
251
|
*
|
|
253
252
|
* Default value: `none`.
|
|
@@ -258,17 +257,17 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
258
257
|
cpuPolicy?: string;
|
|
259
258
|
/**
|
|
260
259
|
* @remarks
|
|
261
|
-
* The node labels.
|
|
260
|
+
* The node labels. You can add labels to the nodes in the Kubernetes cluster.
|
|
262
261
|
*/
|
|
263
262
|
labels?: Tag[];
|
|
264
263
|
/**
|
|
265
264
|
* @remarks
|
|
266
|
-
* The node name consists of three parts: prefix + node IP + suffix
|
|
265
|
+
* The node name consists of three parts: prefix + node IP address + suffix.
|
|
267
266
|
*
|
|
268
|
-
* -
|
|
269
|
-
* - The node IP is the complete private IP address of the node.
|
|
267
|
+
* - The prefix and suffix can each 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.
|
|
268
|
+
* - The node IP address is the complete private IP address of the node.
|
|
270
269
|
*
|
|
271
|
-
* The parameter contains four parts separated by commas. For example, if
|
|
270
|
+
* The parameter value contains four parts separated by commas. For example, if the parameter is set to "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is aliyun.192.168.xxx.xxx.com.
|
|
272
271
|
*
|
|
273
272
|
* @example
|
|
274
273
|
* customized,aliyun,ip,com
|
|
@@ -277,11 +276,11 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
277
276
|
/**
|
|
278
277
|
* @remarks
|
|
279
278
|
* The container runtime. Valid values:
|
|
280
|
-
* - `containerd`: Recommended.
|
|
281
|
-
* - `Sandboxed-Container.runv`: Sandboxed container
|
|
282
|
-
* - `docker`:
|
|
279
|
+
* - `containerd`: Recommended. Supported by all cluster versions.
|
|
280
|
+
* - `Sandboxed-Container.runv`: Sandboxed container. Provides higher isolation. Supported by clusters of version 1.24 and earlier.
|
|
281
|
+
* - `docker`: Supported by clusters of version 1.22 and earlier.
|
|
283
282
|
*
|
|
284
|
-
* Default value: `containerd
|
|
283
|
+
* Default value: `containerd`.
|
|
285
284
|
*
|
|
286
285
|
* This parameter is required.
|
|
287
286
|
*
|
|
@@ -306,7 +305,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
306
305
|
taints?: Taint[];
|
|
307
306
|
/**
|
|
308
307
|
* @remarks
|
|
309
|
-
* The
|
|
308
|
+
* The user data of the node.
|
|
310
309
|
*
|
|
311
310
|
* @example
|
|
312
311
|
* MXM=
|
|
@@ -356,7 +355,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
356
355
|
export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
357
356
|
/**
|
|
358
357
|
* @remarks
|
|
359
|
-
* The maximum number of
|
|
358
|
+
* The maximum number of parallel repairs. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired simultaneously. You can specify a number (for example, 5, valid values: 1 to 100000) or a percentage (for example, 10%, valid values: 1% to 100%). Default value: 1.
|
|
360
359
|
*
|
|
361
360
|
* @example
|
|
362
361
|
* 5
|
|
@@ -364,7 +363,7 @@ export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
364
363
|
maxParallelRepairingNodes?: string;
|
|
365
364
|
/**
|
|
366
365
|
* @remarks
|
|
367
|
-
* The self-healing circuit breaker threshold. When the number or percentage of
|
|
366
|
+
* The self-healing circuit breaker threshold. When the number or percentage of failed nodes exceeds this threshold, self-healing enters the circuit breaker state and stops initiating new self-healing repair actions. You can specify a number (for example, 10, valid values: 1 to 100000) or a percentage (for example, 20%, valid values: 1% to 100%). Default value: 100%.
|
|
368
367
|
*
|
|
369
368
|
* @example
|
|
370
369
|
* 20%
|
|
@@ -372,7 +371,7 @@ export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
372
371
|
maxUnhealthyNodesThreshold?: string;
|
|
373
372
|
/**
|
|
374
373
|
* @remarks
|
|
375
|
-
* Specifies whether to allow node
|
|
374
|
+
* Specifies whether to allow node restarts.
|
|
376
375
|
*
|
|
377
376
|
* @example
|
|
378
377
|
* true
|
|
@@ -406,7 +405,7 @@ export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
406
405
|
export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
407
406
|
/**
|
|
408
407
|
* @remarks
|
|
409
|
-
* Specifies whether to allow automatic kubelet
|
|
408
|
+
* Specifies whether to allow automatic kubelet upgrades.
|
|
410
409
|
*
|
|
411
410
|
* @example
|
|
412
411
|
* true
|
|
@@ -436,7 +435,7 @@ export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
|
436
435
|
export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
437
436
|
/**
|
|
438
437
|
* @remarks
|
|
439
|
-
* Specifies whether to allow node
|
|
438
|
+
* Specifies whether to allow node restarts.
|
|
440
439
|
*
|
|
441
440
|
* @example
|
|
442
441
|
* true
|
|
@@ -444,7 +443,7 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
444
443
|
restartNode?: boolean;
|
|
445
444
|
/**
|
|
446
445
|
* @remarks
|
|
447
|
-
* The vulnerability levels allowed for automatic
|
|
446
|
+
* The vulnerability levels that are allowed for automatic repair, separated by commas.
|
|
448
447
|
*
|
|
449
448
|
* @example
|
|
450
449
|
* asap,nntf
|
|
@@ -476,10 +475,10 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
476
475
|
export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
477
476
|
/**
|
|
478
477
|
* @remarks
|
|
479
|
-
* Specifies whether to enable auto
|
|
478
|
+
* Specifies whether to enable auto-upgrade. Valid values:
|
|
480
479
|
*
|
|
481
|
-
* - `true`:
|
|
482
|
-
* - `false`:
|
|
480
|
+
* - `true`: Enables auto-upgrade.
|
|
481
|
+
* - `false`: Disables auto-upgrade.
|
|
483
482
|
*
|
|
484
483
|
* @example
|
|
485
484
|
* false
|
|
@@ -487,7 +486,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
487
486
|
autoUpgrade?: boolean;
|
|
488
487
|
/**
|
|
489
488
|
* @remarks
|
|
490
|
-
* The maximum number of unavailable nodes. Valid values:
|
|
489
|
+
* The maximum number of unavailable nodes. Valid values: 1 to 1000.
|
|
491
490
|
*
|
|
492
491
|
* Default value: 1.
|
|
493
492
|
*
|
|
@@ -505,7 +504,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
505
504
|
surge?: number;
|
|
506
505
|
/**
|
|
507
506
|
* @remarks
|
|
508
|
-
* The extra
|
|
507
|
+
* The percentage of extra nodes. This parameter and `surge` are mutually exclusive.
|
|
509
508
|
*
|
|
510
509
|
* @example
|
|
511
510
|
* 0
|
|
@@ -541,15 +540,15 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
541
540
|
export class NodepoolManagement extends $dara.Model {
|
|
542
541
|
/**
|
|
543
542
|
* @remarks
|
|
544
|
-
* Specifies whether to enable
|
|
543
|
+
* Specifies whether to enable Elastic Compute Service (ECS) fault detection for node self-healing.
|
|
545
544
|
*/
|
|
546
545
|
autoFaultDiagnosis?: boolean;
|
|
547
546
|
/**
|
|
548
547
|
* @remarks
|
|
549
|
-
* Specifies whether to enable auto
|
|
548
|
+
* Specifies whether to enable auto-repair. This parameter takes effect only when `enable` is set to `true`. Valid values:
|
|
550
549
|
*
|
|
551
|
-
* - `true`:
|
|
552
|
-
* - `false`:
|
|
550
|
+
* - `true`: Enables auto-repair.
|
|
551
|
+
* - `false`: Disables auto-repair.
|
|
553
552
|
*
|
|
554
553
|
* @example
|
|
555
554
|
* false
|
|
@@ -557,12 +556,12 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
557
556
|
autoRepair?: boolean;
|
|
558
557
|
/**
|
|
559
558
|
* @remarks
|
|
560
|
-
* The auto
|
|
559
|
+
* The auto-repair policy for nodes.
|
|
561
560
|
*/
|
|
562
561
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
563
562
|
/**
|
|
564
563
|
* @remarks
|
|
565
|
-
* Specifies whether to enable auto
|
|
564
|
+
* Specifies whether to enable auto-upgrade.
|
|
566
565
|
*
|
|
567
566
|
* @example
|
|
568
567
|
* true
|
|
@@ -570,12 +569,12 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
570
569
|
autoUpgrade?: boolean;
|
|
571
570
|
/**
|
|
572
571
|
* @remarks
|
|
573
|
-
* The auto
|
|
572
|
+
* The auto-upgrade policy.
|
|
574
573
|
*/
|
|
575
574
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
576
575
|
/**
|
|
577
576
|
* @remarks
|
|
578
|
-
* Specifies whether to automatically
|
|
577
|
+
* Specifies whether to automatically repair Common Vulnerabilities and Exposures (CVE).
|
|
579
578
|
*
|
|
580
579
|
* @example
|
|
581
580
|
* true
|
|
@@ -583,20 +582,20 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
583
582
|
autoVulFix?: boolean;
|
|
584
583
|
/**
|
|
585
584
|
* @remarks
|
|
586
|
-
* The
|
|
585
|
+
* The policy for automatic CVE repair.
|
|
587
586
|
*/
|
|
588
587
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
589
588
|
/**
|
|
590
589
|
* @remarks
|
|
591
|
-
* Specifies whether to enable node rotation.
|
|
590
|
+
* Specifies whether to enable node rotation. This feature is supported only by intelligent managed node pools and is enabled by default. Common node pools do not support this feature.
|
|
592
591
|
*/
|
|
593
592
|
driftEnabled?: boolean;
|
|
594
593
|
/**
|
|
595
594
|
* @remarks
|
|
596
595
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
597
596
|
*
|
|
598
|
-
* - `true`:
|
|
599
|
-
* - `false`:
|
|
597
|
+
* - `true`: Enables the managed node pool.
|
|
598
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable` is set to `true`.
|
|
600
599
|
*
|
|
601
600
|
* @example
|
|
602
601
|
* false
|
|
@@ -604,7 +603,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
604
603
|
enable?: boolean;
|
|
605
604
|
/**
|
|
606
605
|
* @remarks
|
|
607
|
-
* The auto
|
|
606
|
+
* The auto-upgrade configuration. This parameter takes effect only when `enable` is set to `true`.
|
|
608
607
|
*
|
|
609
608
|
* @deprecated
|
|
610
609
|
*/
|
|
@@ -663,7 +662,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
663
662
|
export class NodepoolNodeComponentsConfigEnvs extends $dara.Model {
|
|
664
663
|
/**
|
|
665
664
|
* @remarks
|
|
666
|
-
* The environment variable
|
|
665
|
+
* The name of the environment variable.
|
|
667
666
|
*
|
|
668
667
|
* @example
|
|
669
668
|
* LOG_LEVEL
|
|
@@ -671,7 +670,7 @@ export class NodepoolNodeComponentsConfigEnvs extends $dara.Model {
|
|
|
671
670
|
name?: string;
|
|
672
671
|
/**
|
|
673
672
|
* @remarks
|
|
674
|
-
* The environment variable
|
|
673
|
+
* The value of the environment variable.
|
|
675
674
|
*
|
|
676
675
|
* @example
|
|
677
676
|
* info
|
|
@@ -703,7 +702,7 @@ export class NodepoolNodeComponentsConfigEnvs extends $dara.Model {
|
|
|
703
702
|
export class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
704
703
|
/**
|
|
705
704
|
* @remarks
|
|
706
|
-
* The node component
|
|
705
|
+
* The custom node component configuration.
|
|
707
706
|
*
|
|
708
707
|
* @example
|
|
709
708
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -751,7 +750,7 @@ export class NodepoolNodeComponents extends $dara.Model {
|
|
|
751
750
|
config?: NodepoolNodeComponentsConfig;
|
|
752
751
|
/**
|
|
753
752
|
* @remarks
|
|
754
|
-
* The node component
|
|
753
|
+
* The name of the node component.
|
|
755
754
|
*
|
|
756
755
|
* @example
|
|
757
756
|
* kubelet
|
|
@@ -826,7 +825,7 @@ export class NodepoolNodeConfig extends $dara.Model {
|
|
|
826
825
|
export class NodepoolNodepoolInfo extends $dara.Model {
|
|
827
826
|
/**
|
|
828
827
|
* @remarks
|
|
829
|
-
* The node pool
|
|
828
|
+
* The name of the node pool.
|
|
830
829
|
*
|
|
831
830
|
* This parameter is required.
|
|
832
831
|
*
|
|
@@ -844,10 +843,10 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
844
843
|
resourceGroupId?: string;
|
|
845
844
|
/**
|
|
846
845
|
* @remarks
|
|
847
|
-
* The node pool
|
|
846
|
+
* The type of the node pool. Valid values:
|
|
848
847
|
*
|
|
849
|
-
* - `ess`:
|
|
850
|
-
* - `edge`:
|
|
848
|
+
* - `ess`: Node pool.
|
|
849
|
+
* - `edge`: Edge node pool.
|
|
851
850
|
*
|
|
852
851
|
* @example
|
|
853
852
|
* ess
|
|
@@ -882,8 +881,8 @@ export class NodepoolScalingGroupCpuOptions extends $dara.Model {
|
|
|
882
881
|
/**
|
|
883
882
|
* @remarks
|
|
884
883
|
* Specifies whether to enable nested virtualization. Valid values:
|
|
885
|
-
* disabled:
|
|
886
|
-
* enabled:
|
|
884
|
+
* disabled: Disables nested virtualization.
|
|
885
|
+
* enabled: Enables nested virtualization.
|
|
887
886
|
*
|
|
888
887
|
* @example
|
|
889
888
|
* enabled
|
|
@@ -913,7 +912,7 @@ export class NodepoolScalingGroupCpuOptions extends $dara.Model {
|
|
|
913
912
|
export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
914
913
|
/**
|
|
915
914
|
* @remarks
|
|
916
|
-
* The private
|
|
915
|
+
* The ID of the private pool.
|
|
917
916
|
*
|
|
918
917
|
* @example
|
|
919
918
|
* eap-bp67acfmxazb4****
|
|
@@ -921,13 +920,13 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
921
920
|
id?: string;
|
|
922
921
|
/**
|
|
923
922
|
* @remarks
|
|
924
|
-
* The private
|
|
923
|
+
* The match criteria for the private pool. This parameter specifies the private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for you to select when you start an instance. Valid values:
|
|
925
924
|
*
|
|
926
|
-
* -
|
|
925
|
+
* - Open: Open mode. The system automatically matches an open private pool. If no eligible private pool is available, the system uses the public pool to start the instance.
|
|
927
926
|
*
|
|
928
|
-
* -
|
|
927
|
+
* - Target: Target mode. The system uses the specified private pool to start the instance. If the specified private pool is unavailable, the instance fails to start.
|
|
929
928
|
*
|
|
930
|
-
* -
|
|
929
|
+
* - None: None mode. The system does not use a private pool to start the instance.
|
|
931
930
|
*
|
|
932
931
|
* @example
|
|
933
932
|
* Open
|
|
@@ -959,15 +958,15 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
959
958
|
export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
960
959
|
/**
|
|
961
960
|
* @remarks
|
|
962
|
-
* The list of private pool IDs, which are elasticity
|
|
961
|
+
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can specify only the IDs of private pools in Target mode. Valid values of N: 1 to 20.
|
|
963
962
|
*/
|
|
964
963
|
privatePoolIds?: string[];
|
|
965
964
|
/**
|
|
966
965
|
* @remarks
|
|
967
|
-
* The resource pool
|
|
968
|
-
* PrivatePoolFirst: private pool first.
|
|
969
|
-
* PrivatePoolOnly: private pool
|
|
970
|
-
* None:
|
|
966
|
+
* The resource pool strategy for instance creation. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, as well as the public pool. You can select a resource pool when you start an instance. Valid values:
|
|
967
|
+
* PrivatePoolFirst: Uses the private pool first. If you select this strategy and specify resource_pool_options.private_pool_ids, the system preferentially uses the specified private pools. If no private pool is specified or the specified private pools have insufficient capacity, the system automatically matches an open private pool. If no eligible private pool is available, the system uses the public pool to create the instance.
|
|
968
|
+
* PrivatePoolOnly: Uses only the private pool. If you select this strategy, you must specify resource_pool_options.private_pool_ids. If the specified private pools have insufficient capacity, the instance fails to start.
|
|
969
|
+
* None: Does not use a resource pool strategy.
|
|
971
970
|
* Default value: None.
|
|
972
971
|
*
|
|
973
972
|
* @example
|
|
@@ -1083,7 +1082,7 @@ export class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
1083
1082
|
export class NodepoolScalingGroup extends $dara.Model {
|
|
1084
1083
|
/**
|
|
1085
1084
|
* @remarks
|
|
1086
|
-
* Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only when
|
|
1085
|
+
* Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only when instance_charge_type is set to `PrePaid`. Valid values:
|
|
1087
1086
|
*
|
|
1088
1087
|
* - `true`: Enables auto-renewal.
|
|
1089
1088
|
* - `false`: Disables auto-renewal.
|
|
@@ -1096,9 +1095,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1096
1095
|
autoRenew?: boolean;
|
|
1097
1096
|
/**
|
|
1098
1097
|
* @remarks
|
|
1099
|
-
* The auto-renewal
|
|
1098
|
+
* The auto-renewal epoch for the node pool. This parameter takes effect and is required only when instance_charge_type is set to `PrePaid`.
|
|
1100
1099
|
*
|
|
1101
|
-
* When `
|
|
1100
|
+
* When PeriodUnit is set to `Month`, valid values are 1, 2, 3, 6, and 12.
|
|
1102
1101
|
*
|
|
1103
1102
|
* Default value: 1.
|
|
1104
1103
|
*
|
|
@@ -1108,10 +1107,10 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1108
1107
|
autoRenewPeriod?: number;
|
|
1109
1108
|
/**
|
|
1110
1109
|
* @remarks
|
|
1111
|
-
*
|
|
1110
|
+
* Specifies whether to allow the system to automatically try to create pay-as-you-go instances to meet the required number of ECS instances when multi_az_policy is set to COST_OPTIMIZED and sufficient spot instances cannot be created due to price, inventory, or other reasons. Valid values:
|
|
1112
1111
|
*
|
|
1113
|
-
* -
|
|
1114
|
-
* -
|
|
1112
|
+
* - true: Allows the system to automatically try to create pay-as-you-go instances to meet the required number of ECS instances.
|
|
1113
|
+
* - false: Does not allow the system to automatically try to create pay-as-you-go instances to meet the required number of ECS instances.
|
|
1115
1114
|
*
|
|
1116
1115
|
* @example
|
|
1117
1116
|
* true
|
|
@@ -1119,17 +1118,17 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1119
1118
|
compensateWithOnDemand?: boolean;
|
|
1120
1119
|
/**
|
|
1121
1120
|
* @remarks
|
|
1122
|
-
* The CPU configuration options.
|
|
1121
|
+
* The CPU-related configuration options.
|
|
1123
1122
|
*/
|
|
1124
1123
|
cpuOptions?: NodepoolScalingGroupCpuOptions;
|
|
1125
1124
|
/**
|
|
1126
1125
|
* @remarks
|
|
1127
|
-
* The data cloud disk configuration for nodes in the node pool.
|
|
1126
|
+
* The data cloud disk configuration for the nodes in the node pool.
|
|
1128
1127
|
*/
|
|
1129
1128
|
dataDisks?: DataDisk[];
|
|
1130
1129
|
/**
|
|
1131
1130
|
* @remarks
|
|
1132
|
-
* The deployment set
|
|
1131
|
+
* The ID of the deployment set.
|
|
1133
1132
|
*
|
|
1134
1133
|
* @example
|
|
1135
1134
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1137,7 +1136,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1137
1136
|
deploymentsetId?: string;
|
|
1138
1137
|
/**
|
|
1139
1138
|
* @remarks
|
|
1140
|
-
* The
|
|
1139
|
+
* The expected number of nodes in the node pool.
|
|
1141
1140
|
*
|
|
1142
1141
|
* @example
|
|
1143
1142
|
* 2
|
|
@@ -1150,7 +1149,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1150
1149
|
diskInit?: DiskInit[];
|
|
1151
1150
|
/**
|
|
1152
1151
|
* @remarks
|
|
1153
|
-
* The custom image
|
|
1152
|
+
* The ID of the custom image. By default, the system-provided image is used.
|
|
1154
1153
|
*
|
|
1155
1154
|
* @example
|
|
1156
1155
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -1160,14 +1159,14 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1160
1159
|
* @remarks
|
|
1161
1160
|
* The operating system image type. Specify either this parameter or the platform parameter. Valid values:
|
|
1162
1161
|
*
|
|
1163
|
-
* -
|
|
1164
|
-
* -
|
|
1165
|
-
* -
|
|
1166
|
-
* -
|
|
1167
|
-
* -
|
|
1168
|
-
* -
|
|
1169
|
-
* -
|
|
1170
|
-
* -
|
|
1162
|
+
* - AliyunLinux: Alinux2 image.
|
|
1163
|
+
* - AliyunLinux3: Alinux3 image.
|
|
1164
|
+
* - AliyunLinux3Arm64: Alinux3 ARM image.
|
|
1165
|
+
* - AliyunLinuxUEFI: Alinux2 UEFI image.
|
|
1166
|
+
* - CentOS: CentOS image.
|
|
1167
|
+
* - Windows: Windows image.
|
|
1168
|
+
* - WindowsCore: Windows Core image.
|
|
1169
|
+
* - ContainerOS: Container-optimized image.
|
|
1171
1170
|
*
|
|
1172
1171
|
* @example
|
|
1173
1172
|
* AliyunLinux
|
|
@@ -1175,10 +1174,10 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1175
1174
|
imageType?: string;
|
|
1176
1175
|
/**
|
|
1177
1176
|
* @remarks
|
|
1178
|
-
* The billing method
|
|
1177
|
+
* The billing method of the nodes in the node pool. Valid values:
|
|
1179
1178
|
*
|
|
1180
|
-
* - `PrePaid`:
|
|
1181
|
-
* - `PostPaid`:
|
|
1179
|
+
* - `PrePaid`: Subscription.
|
|
1180
|
+
* - `PostPaid`: Pay-as-you-go.
|
|
1182
1181
|
*
|
|
1183
1182
|
* Default value: `PostPaid`.
|
|
1184
1183
|
*
|
|
@@ -1190,8 +1189,8 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1190
1189
|
instanceChargeType?: string;
|
|
1191
1190
|
/**
|
|
1192
1191
|
* @remarks
|
|
1193
|
-
* The metadata access configuration for ECS
|
|
1194
|
-
* This parameter is
|
|
1192
|
+
* The metadata access configuration for the ECS instance.
|
|
1193
|
+
* This parameter is available only to users in the whitelist. To use this parameter, submit a ticket.
|
|
1195
1194
|
*/
|
|
1196
1195
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1197
1196
|
/**
|
|
@@ -1208,10 +1207,10 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1208
1207
|
instanceTypes?: string[];
|
|
1209
1208
|
/**
|
|
1210
1209
|
* @remarks
|
|
1211
|
-
* The billing
|
|
1210
|
+
* The billing method for public IP addresses. Valid values:
|
|
1212
1211
|
*
|
|
1213
|
-
* -
|
|
1214
|
-
* -
|
|
1212
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
1213
|
+
* - PayByTraffic: pay-by-traffic.
|
|
1215
1214
|
*
|
|
1216
1215
|
* @example
|
|
1217
1216
|
* PayByBandwidth
|
|
@@ -1219,7 +1218,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1219
1218
|
internetChargeType?: string;
|
|
1220
1219
|
/**
|
|
1221
1220
|
* @remarks
|
|
1222
|
-
* The maximum outbound bandwidth for
|
|
1221
|
+
* The maximum outbound bandwidth for the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
|
|
1223
1222
|
*
|
|
1224
1223
|
* @example
|
|
1225
1224
|
* 10
|
|
@@ -1227,9 +1226,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1227
1226
|
internetMaxBandwidthOut?: number;
|
|
1228
1227
|
/**
|
|
1229
1228
|
* @remarks
|
|
1230
|
-
* The key pair
|
|
1229
|
+
* The name of the key pair. You must specify this parameter or login_password.
|
|
1231
1230
|
*
|
|
1232
|
-
* > If you create a managed node pool, only
|
|
1231
|
+
* > If you create a managed node pool, only key_pair is supported.
|
|
1233
1232
|
*
|
|
1234
1233
|
* @example
|
|
1235
1234
|
* np-key
|
|
@@ -1237,12 +1236,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1237
1236
|
keyPair?: string;
|
|
1238
1237
|
/**
|
|
1239
1238
|
* @remarks
|
|
1240
|
-
* Specifies whether the
|
|
1239
|
+
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1241
1240
|
*/
|
|
1242
1241
|
loginAsNonRoot?: boolean;
|
|
1243
1242
|
/**
|
|
1244
1243
|
* @remarks
|
|
1245
|
-
* The SSH logon password.
|
|
1244
|
+
* The SSH logon password. You must specify 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.
|
|
1246
1245
|
*
|
|
1247
1246
|
* @example
|
|
1248
1247
|
* Hello1234
|
|
@@ -1252,15 +1251,15 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1252
1251
|
* @remarks
|
|
1253
1252
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1254
1253
|
*
|
|
1255
|
-
* -
|
|
1254
|
+
* - PRIORITY: Scales based on the vSwitches (VSwitchIds.N) you define. If an ECS instance cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch to create the ECS instance.
|
|
1256
1255
|
*
|
|
1257
|
-
* -
|
|
1256
|
+
* - COST_OPTIMIZED: Tries to create instances in ascending order of vCPU unit price. If the scaling configuration specifies the spot billing method for multiple instance types, the system preferentially creates spot instances. You can use the CompensateWithOnDemand parameter to specify whether to automatically try to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
1258
1257
|
*
|
|
1259
|
-
*
|
|
1258
|
+
* > COST_OPTIMIZED takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1260
1259
|
*
|
|
1261
|
-
* -
|
|
1260
|
+
* - BALANCE: Evenly allocates ECS instances across the zones specified in the scaling group. If the instances are unevenly distributed across zones due to insufficient inventory or other reasons, you can call the RebalanceInstances API operation to balance the resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1262
1261
|
*
|
|
1263
|
-
* Default value:
|
|
1262
|
+
* Default value: PRIORITY.
|
|
1264
1263
|
*
|
|
1265
1264
|
* @example
|
|
1266
1265
|
* COST_OPTIMIZED
|
|
@@ -1268,7 +1267,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1268
1267
|
multiAzPolicy?: string;
|
|
1269
1268
|
/**
|
|
1270
1269
|
* @remarks
|
|
1271
|
-
* The minimum number of pay-as-you-go instances required
|
|
1270
|
+
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than this value, the system preferentially creates pay-as-you-go instances.
|
|
1272
1271
|
*
|
|
1273
1272
|
* @example
|
|
1274
1273
|
* 0
|
|
@@ -1276,7 +1275,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1276
1275
|
onDemandBaseCapacity?: number;
|
|
1277
1276
|
/**
|
|
1278
1277
|
* @remarks
|
|
1279
|
-
* The percentage of pay-as-you-go instances among the instances
|
|
1278
|
+
* The percentage of pay-as-you-go instances among the excess instances after the scaling group meets the minimum number of pay-as-you-go instances (on_demand_base_capacity). Valid values: 0 to 100.
|
|
1280
1279
|
*
|
|
1281
1280
|
* @example
|
|
1282
1281
|
* 20
|
|
@@ -1284,7 +1283,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1284
1283
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1285
1284
|
/**
|
|
1286
1285
|
* @remarks
|
|
1287
|
-
* The subscription duration for nodes in the node pool. This parameter takes effect and is required only when
|
|
1286
|
+
* The subscription duration for the nodes in the node pool. This parameter takes effect and is required only when instance_charge_type is set to `PrePaid`. When period_unit is set to `Month`, valid values are 1, 2, 3, 6, and 12.
|
|
1288
1287
|
*
|
|
1289
1288
|
* Default value: 1.
|
|
1290
1289
|
*
|
|
@@ -1294,9 +1293,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1294
1293
|
period?: number;
|
|
1295
1294
|
/**
|
|
1296
1295
|
* @remarks
|
|
1297
|
-
* The
|
|
1296
|
+
* The subscription period unit for the nodes in the node pool. This parameter is required when instance_charge_type is set to `PrePaid`.
|
|
1298
1297
|
*
|
|
1299
|
-
* `Month`: Currently, only month is supported
|
|
1298
|
+
* `Month`: Currently, only month is supported.
|
|
1300
1299
|
*
|
|
1301
1300
|
* @example
|
|
1302
1301
|
* Month
|
|
@@ -1321,13 +1320,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1321
1320
|
platform?: string;
|
|
1322
1321
|
/**
|
|
1323
1322
|
* @remarks
|
|
1324
|
-
* The private
|
|
1323
|
+
* The private pool options.
|
|
1325
1324
|
*/
|
|
1326
1325
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
1327
1326
|
/**
|
|
1328
1327
|
* @remarks
|
|
1329
|
-
* The
|
|
1330
|
-
* >Notice:
|
|
1328
|
+
* The name of the worker RAM role.
|
|
1329
|
+
* >Notice: This parameter is supported only when you create a node pool in an ACK managed cluster of Kubernetes 1.22 or later.</notice>
|
|
1331
1330
|
*
|
|
1332
1331
|
* @example
|
|
1333
1332
|
* example-role
|
|
@@ -1335,24 +1334,24 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1335
1334
|
ramRoleName?: string;
|
|
1336
1335
|
/**
|
|
1337
1336
|
* @remarks
|
|
1338
|
-
* The list of RDS instances.
|
|
1337
|
+
* The list of ApsaraDB RDS instances.
|
|
1339
1338
|
*/
|
|
1340
1339
|
rdsInstances?: string[];
|
|
1341
1340
|
/**
|
|
1342
1341
|
* @remarks
|
|
1343
|
-
* The resource pool and resource pool
|
|
1344
|
-
* This parameter takes effect only when
|
|
1345
|
-
* This parameter cannot be
|
|
1342
|
+
* The resource pool and resource pool strategy for instance creation. When you configure this parameter, note the following items:
|
|
1343
|
+
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1344
|
+
* This parameter cannot be configured at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
1346
1345
|
*/
|
|
1347
1346
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
1348
1347
|
/**
|
|
1349
1348
|
* @remarks
|
|
1350
|
-
* The scaling group
|
|
1349
|
+
* The scaling group mode. Valid values:
|
|
1351
1350
|
*
|
|
1352
|
-
* -
|
|
1353
|
-
* -
|
|
1351
|
+
* - release: Standard mode. Scales by creating and releasing ECS instances based on the requested resource usage.
|
|
1352
|
+
* - recycle: Swift mode. Scales by creating, stopping, and starting instances to improve scaling speed. When an instance is stopped, you are not charged for compute resources, but you are still charged for storage resources, except for instances with local disks.
|
|
1354
1353
|
*
|
|
1355
|
-
* Default value:
|
|
1354
|
+
* Default value: release.
|
|
1356
1355
|
*
|
|
1357
1356
|
* @example
|
|
1358
1357
|
* release
|
|
@@ -1360,7 +1359,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1360
1359
|
scalingPolicy?: string;
|
|
1361
1360
|
/**
|
|
1362
1361
|
* @remarks
|
|
1363
|
-
* The security group
|
|
1362
|
+
* The ID of the security group for the node pool. Specify either this parameter or security_group_ids. The security_group_ids parameter is recommended.
|
|
1364
1363
|
*
|
|
1365
1364
|
* @example
|
|
1366
1365
|
* sg-2zeihch86ooz9io4****
|
|
@@ -1368,12 +1367,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1368
1367
|
securityGroupId?: string;
|
|
1369
1368
|
/**
|
|
1370
1369
|
* @remarks
|
|
1371
|
-
* The list of security group IDs. Specify either this parameter or
|
|
1370
|
+
* The list of security group IDs. Specify either this parameter or security_group_id. The security_group_ids parameter is recommended. If both security_group_id and security_group_ids are specified, security_group_ids takes precedence.
|
|
1372
1371
|
*/
|
|
1373
1372
|
securityGroupIds?: string[];
|
|
1374
1373
|
/**
|
|
1375
1374
|
* @remarks
|
|
1376
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1375
|
+
* The number of available instance types. The scaling group evenly creates spot instances based on the most cost-effective instance types. Valid values: 1 to 10.
|
|
1377
1376
|
*
|
|
1378
1377
|
* @example
|
|
1379
1378
|
* 5
|
|
@@ -1381,10 +1380,10 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1381
1380
|
spotInstancePools?: number;
|
|
1382
1381
|
/**
|
|
1383
1382
|
* @remarks
|
|
1384
|
-
* Specifies whether to enable
|
|
1383
|
+
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance will be reclaimed, the scaling group tries to create a new instance to replace the spot instance to be reclaimed. Valid values:
|
|
1385
1384
|
*
|
|
1386
|
-
* -
|
|
1387
|
-
* -
|
|
1385
|
+
* - true: Enables spot instance replenishment.
|
|
1386
|
+
* - false: Disables spot instance replenishment.
|
|
1388
1387
|
*
|
|
1389
1388
|
* @example
|
|
1390
1389
|
* false
|
|
@@ -1392,15 +1391,15 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1392
1391
|
spotInstanceRemedy?: boolean;
|
|
1393
1392
|
/**
|
|
1394
1393
|
* @remarks
|
|
1395
|
-
* The price range
|
|
1394
|
+
* The market price range configuration for a single spot instance type.
|
|
1396
1395
|
*/
|
|
1397
1396
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1398
1397
|
/**
|
|
1399
1398
|
* @remarks
|
|
1400
|
-
* The
|
|
1401
|
-
* - NoSpot:
|
|
1402
|
-
* - SpotWithPriceLimit:
|
|
1403
|
-
* - SpotAsPriceGo: system automatically bids
|
|
1399
|
+
* The spot instance type. Valid values:
|
|
1400
|
+
* - NoSpot: Pay-as-you-go instance.
|
|
1401
|
+
* - SpotWithPriceLimit: Sets the maximum price for spot instances.
|
|
1402
|
+
* - SpotAsPriceGo: The system automatically bids based on the current market price.
|
|
1404
1403
|
*
|
|
1405
1404
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1406
1405
|
*
|
|
@@ -1410,12 +1409,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1410
1409
|
spotStrategy?: string;
|
|
1411
1410
|
/**
|
|
1412
1411
|
* @remarks
|
|
1413
|
-
* Specifies whether to enable burst
|
|
1412
|
+
* Specifies whether to enable burst for the system cloud disk. Valid values:
|
|
1414
1413
|
*
|
|
1415
|
-
* - true:
|
|
1416
|
-
* - false:
|
|
1414
|
+
* - true: Enables burst.
|
|
1415
|
+
* - false: Disables burst.
|
|
1417
1416
|
*
|
|
1418
|
-
* This parameter is supported only when
|
|
1417
|
+
* This parameter is supported only when SystemDiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1419
1418
|
*
|
|
1420
1419
|
* @example
|
|
1421
1420
|
* true
|
|
@@ -1423,25 +1422,25 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1423
1422
|
systemDiskBurstingEnabled?: boolean;
|
|
1424
1423
|
/**
|
|
1425
1424
|
* @remarks
|
|
1426
|
-
*
|
|
1425
|
+
* The multiple system cloud disk types. If a high-priority disk type is unavailable, the system automatically tries the next priority disk type to create the system cloud disk. Valid values:
|
|
1427
1426
|
*
|
|
1428
|
-
* - cloud: basic
|
|
1429
|
-
* - cloud_efficiency: ultra
|
|
1427
|
+
* - cloud: basic disk.
|
|
1428
|
+
* - cloud_efficiency: ultra disk.
|
|
1430
1429
|
* - cloud_ssd: standard SSD.
|
|
1431
1430
|
* - cloud_essd: ESSD.
|
|
1432
1431
|
*/
|
|
1433
1432
|
systemDiskCategories?: string[];
|
|
1434
1433
|
/**
|
|
1435
1434
|
* @remarks
|
|
1436
|
-
* The type of the node
|
|
1435
|
+
* The system cloud disk type of the node. Valid values:
|
|
1437
1436
|
*
|
|
1438
|
-
* -
|
|
1439
|
-
* -
|
|
1440
|
-
* -
|
|
1441
|
-
* -
|
|
1442
|
-
* -
|
|
1437
|
+
* - cloud_efficiency: ultra disk.
|
|
1438
|
+
* - cloud_ssd: standard SSD.
|
|
1439
|
+
* - cloud_essd: ESSD.
|
|
1440
|
+
* - cloud_auto: ESSD AutoPL disk.
|
|
1441
|
+
* - cloud_essd_entry: ESSD Entry disk.
|
|
1443
1442
|
*
|
|
1444
|
-
* Default value:
|
|
1443
|
+
* Default value: cloud_efficiency.
|
|
1445
1444
|
*
|
|
1446
1445
|
* @example
|
|
1447
1446
|
* cloud_efficiency
|
|
@@ -1449,7 +1448,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1449
1448
|
systemDiskCategory?: string;
|
|
1450
1449
|
/**
|
|
1451
1450
|
* @remarks
|
|
1452
|
-
* The encryption algorithm used for the
|
|
1451
|
+
* The encryption algorithm used for the system cloud disk. Valid value: aes-256.
|
|
1453
1452
|
*
|
|
1454
1453
|
* @example
|
|
1455
1454
|
* aes-256
|
|
@@ -1457,12 +1456,14 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1457
1456
|
systemDiskEncryptAlgorithm?: string;
|
|
1458
1457
|
/**
|
|
1459
1458
|
* @remarks
|
|
1460
|
-
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1459
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1460
|
+
* - true: Encrypts the system cloud disk.
|
|
1461
|
+
* - false: Does not encrypt the system cloud disk.
|
|
1461
1462
|
*/
|
|
1462
1463
|
systemDiskEncrypted?: boolean;
|
|
1463
1464
|
/**
|
|
1464
1465
|
* @remarks
|
|
1465
|
-
* The KMS key
|
|
1466
|
+
* The ID of the KMS key used for the system cloud disk.
|
|
1466
1467
|
*
|
|
1467
1468
|
* @example
|
|
1468
1469
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1470,12 +1471,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1470
1471
|
systemDiskKmsKeyId?: string;
|
|
1471
1472
|
/**
|
|
1472
1473
|
* @remarks
|
|
1473
|
-
* The performance level of the
|
|
1474
|
+
* The performance level of the system cloud disk. This parameter takes effect only for ESSDs. Valid values:
|
|
1474
1475
|
*
|
|
1475
|
-
* - PL0:
|
|
1476
|
-
* - PL1:
|
|
1477
|
-
* - PL2: high
|
|
1478
|
-
* - PL3: ultra-high
|
|
1476
|
+
* - PL0: Delivers medium concurrent I/O performance and relatively stable read/write latency.
|
|
1477
|
+
* - PL1: Delivers medium concurrent I/O performance and relatively stable read/write latency.
|
|
1478
|
+
* - PL2: Delivers high concurrent I/O performance and stable read/write latency.
|
|
1479
|
+
* - PL3: Delivers ultra-high concurrent I/O performance and highly stable read/write latency.
|
|
1479
1480
|
*
|
|
1480
1481
|
* @example
|
|
1481
1482
|
* PL1
|
|
@@ -1483,9 +1484,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1483
1484
|
systemDiskPerformanceLevel?: string;
|
|
1484
1485
|
/**
|
|
1485
1486
|
* @remarks
|
|
1486
|
-
* The provisioned read/write IOPS for the
|
|
1487
|
+
* The provisioned read/write IOPS for the system cloud disk. Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}. Baseline performance = min{1,800 + 50 × Capacity, 50,000}.
|
|
1487
1488
|
*
|
|
1488
|
-
* This parameter is supported only when
|
|
1489
|
+
* This parameter is supported only when SystemDiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1489
1490
|
*
|
|
1490
1491
|
* @example
|
|
1491
1492
|
* 1000
|
|
@@ -1493,9 +1494,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1493
1494
|
systemDiskProvisionedIops?: number;
|
|
1494
1495
|
/**
|
|
1495
1496
|
* @remarks
|
|
1496
|
-
* The size of the
|
|
1497
|
+
* The size of the system cloud disk. Unit: GiB.
|
|
1497
1498
|
*
|
|
1498
|
-
* Valid values:
|
|
1499
|
+
* Valid values: 40 to 500.
|
|
1499
1500
|
*
|
|
1500
1501
|
* @example
|
|
1501
1502
|
* 120
|
|
@@ -1503,9 +1504,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1503
1504
|
systemDiskSize?: number;
|
|
1504
1505
|
/**
|
|
1505
1506
|
* @remarks
|
|
1506
|
-
*
|
|
1507
|
+
* Adds tags only to ECS instances.
|
|
1507
1508
|
*
|
|
1508
|
-
* Tag keys
|
|
1509
|
+
* Tag keys must be unique and can be up to 128 characters in length. Neither tag keys nor tag values can start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1509
1510
|
*/
|
|
1510
1511
|
tags?: NodepoolScalingGroupTags[];
|
|
1511
1512
|
/**
|
|
@@ -1705,12 +1706,12 @@ export class NodepoolTeeConfig extends $dara.Model {
|
|
|
1705
1706
|
export class Nodepool extends $dara.Model {
|
|
1706
1707
|
/**
|
|
1707
1708
|
* @remarks
|
|
1708
|
-
* The auto
|
|
1709
|
+
* The auto-scaling node pool configuration.
|
|
1709
1710
|
*/
|
|
1710
1711
|
autoScaling?: NodepoolAutoScaling;
|
|
1711
1712
|
/**
|
|
1712
1713
|
* @remarks
|
|
1713
|
-
* **[Deprecated]** Use desired_size instead.
|
|
1714
|
+
* **[Deprecated]** Use `desired_size` instead.
|
|
1714
1715
|
*
|
|
1715
1716
|
* The number of nodes in the node pool.
|
|
1716
1717
|
*
|
|
@@ -1724,17 +1725,17 @@ export class Nodepool extends $dara.Model {
|
|
|
1724
1725
|
* @remarks
|
|
1725
1726
|
* **[Deprecated]**
|
|
1726
1727
|
*
|
|
1727
|
-
* The edge node pool
|
|
1728
|
+
* The configuration of the edge node pool.
|
|
1728
1729
|
*
|
|
1729
1730
|
* @deprecated
|
|
1730
1731
|
*/
|
|
1731
1732
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1732
1733
|
/**
|
|
1733
1734
|
* @remarks
|
|
1734
|
-
* The network type of the edge node pool. This parameter is
|
|
1735
|
+
* The network type of the edge node pool. This parameter is valid only for node pools whose `type` is `edge`. Valid values:
|
|
1735
1736
|
*
|
|
1736
|
-
* - `basic`:
|
|
1737
|
-
* - `private`:
|
|
1737
|
+
* - `basic`: Basic.
|
|
1738
|
+
* - `private`: Dedicated. Supported in Kubernetes 1.22 and later.
|
|
1738
1739
|
*
|
|
1739
1740
|
* @example
|
|
1740
1741
|
* basic
|
|
@@ -1752,7 +1753,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1752
1753
|
management?: NodepoolManagement;
|
|
1753
1754
|
/**
|
|
1754
1755
|
* @remarks
|
|
1755
|
-
* The maximum number of nodes
|
|
1756
|
+
* The maximum number of nodes that the edge node pool can accommodate. The value must be greater than or equal to 0. A value of 0 indicates no additional limit, meaning the node pool is only limited by the maximum number of nodes that the entire cluster can accommodate. For edge node pools, this value is usually greater than 0. For Auto Scaling (ESS) node pools and default edge node pools, this value is 0.
|
|
1756
1757
|
*
|
|
1757
1758
|
* @example
|
|
1758
1759
|
* 10
|
|
@@ -1760,7 +1761,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1760
1761
|
maxNodes?: number;
|
|
1761
1762
|
/**
|
|
1762
1763
|
* @remarks
|
|
1763
|
-
* The node
|
|
1764
|
+
* The list of node components.
|
|
1764
1765
|
*/
|
|
1765
1766
|
nodeComponents?: NodepoolNodeComponents[];
|
|
1766
1767
|
/**
|
|
@@ -1775,7 +1776,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1775
1776
|
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
1776
1777
|
/**
|
|
1777
1778
|
* @remarks
|
|
1778
|
-
* The scaling group configuration
|
|
1779
|
+
* The scaling group configuration of the node pool.
|
|
1779
1780
|
*/
|
|
1780
1781
|
scalingGroup?: NodepoolScalingGroup;
|
|
1781
1782
|
/**
|