@alicloud/cs20151215 6.7.0 → 6.7.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 +438 -446
- package/dist/client.js +485 -446
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +59 -38
- package/dist/models/AttachInstancesRequest.js.map +1 -1
- package/dist/models/AttachInstancesResponseBody.d.ts +4 -4
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +14 -12
- package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
- package/dist/models/CheckControlPlaneLogEnableResponseBody.d.ts +4 -6
- package/dist/models/CheckControlPlaneLogEnableResponseBody.js.map +1 -1
- package/dist/models/CheckServiceRoleRequest.d.ts +2 -2
- package/dist/models/CheckServiceRoleResponseBody.d.ts +4 -9
- package/dist/models/CheckServiceRoleResponseBody.js.map +1 -1
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +3 -4
- package/dist/models/CleanClusterUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +4 -5
- package/dist/models/CleanUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +4 -5
- package/dist/models/CleanUserPermissionsShrinkRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +17 -17
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +42 -55
- package/dist/models/CreateAutoscalingConfigRequest.js.map +1 -1
- package/dist/models/CreateClusterDiagnosisRequest.d.ts +20 -24
- package/dist/models/CreateClusterDiagnosisRequest.js.map +1 -1
- package/dist/models/CreateClusterDiagnosisResponseBody.d.ts +1 -1
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +2 -2
- package/dist/models/CreateClusterNodePoolRequest.d.ts +277 -348
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +270 -347
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +8 -7
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +8 -7
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +10 -9
- package/dist/models/CreateTemplateRequest.js.map +1 -1
- package/dist/models/CreateTriggerRequest.d.ts +8 -7
- package/dist/models/CreateTriggerRequest.js.map +1 -1
- package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
- 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/DeleteAlertContactRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +5 -1
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +10 -13
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +18 -27
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterShrinkRequest.d.ts +9 -11
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeletePolicyInstanceRequest.d.ts +1 -1
- package/dist/models/DeletePolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +5 -6
- package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonRequest.d.ts +18 -7
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +14 -13
- package/dist/models/DescribeAddonResponseBody.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +13 -11
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +4 -4
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +19 -19
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +11 -11
- package/dist/models/DescribeClusterAddonMetadataResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +13 -16
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +96 -123
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +3 -3
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +22 -41
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +5 -5
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +224 -300
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +228 -306
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodesRequest.d.ts +24 -9
- package/dist/models/DescribeClusterNodesRequest.js +6 -0
- package/dist/models/DescribeClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +51 -38
- package/dist/models/DescribeClusterNodesResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +3 -3
- package/dist/models/DescribeClusterResourcesResponse.d.ts +37 -48
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +7 -7
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +6 -10
- package/dist/models/DescribeClusterUserKubeconfigRequest.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +13 -19
- package/dist/models/DescribeClusterVulsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +19 -30
- package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +40 -67
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersRequest.d.ts +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +18 -26
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +52 -77
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +2 -2
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +7 -11
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +22 -38
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +31 -50
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeExternalAgentRequest.d.ts +6 -4
- package/dist/models/DescribeExternalAgentRequest.js.map +1 -1
- package/dist/models/DescribeExternalAgentResponseBody.d.ts +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +24 -25
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +31 -32
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +4 -4
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +13 -18
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +17 -21
- package/dist/models/DescribePolicyDetailsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +30 -34
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesRequest.d.ts +2 -2
- package/dist/models/DescribePolicyInstancesResponse.d.ts +20 -19
- package/dist/models/DescribePolicyInstancesResponse.js.map +1 -1
- package/dist/models/DescribePolicyInstancesStatusResponseBody.d.ts +7 -7
- package/dist/models/DescribeRegionsRequest.d.ts +3 -21
- package/dist/models/DescribeRegionsRequest.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +4 -4
- package/dist/models/DescribeResourcesDeleteProtectionRequest.d.ts +6 -5
- package/dist/models/DescribeResourcesDeleteProtectionRequest.js.map +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +5 -6
- package/dist/models/DescribeResourcesDeleteProtectionResponse.js.map +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +6 -7
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.js.map +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +20 -26
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +5 -5
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +16 -14
- package/dist/models/DescribeTemplateAttributeResponse.js.map +1 -1
- package/dist/models/DescribeTemplatesRequest.d.ts +7 -6
- package/dist/models/DescribeTemplatesRequest.js.map +1 -1
- package/dist/models/DescribeTemplatesResponseBody.d.ts +19 -20
- package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
- package/dist/models/DescribeTriggerRequest.d.ts +8 -7
- package/dist/models/DescribeTriggerRequest.js.map +1 -1
- package/dist/models/DescribeTriggerResponse.d.ts +12 -13
- package/dist/models/DescribeTriggerResponse.js.map +1 -1
- package/dist/models/DescribeUserPermissionResponse.d.ts +21 -21
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/FixNodePoolVulsRequest.d.ts +9 -4
- package/dist/models/FixNodePoolVulsRequest.js.map +1 -1
- package/dist/models/FixNodePoolVulsResponseBody.d.ts +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +21 -14
- package/dist/models/GetClusterAddonInstanceResponseBody.js.map +1 -1
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +5 -4
- package/dist/models/GetClusterAuditProjectResponseBody.js.map +1 -1
- package/dist/models/GetClusterCheckResponseBody.d.ts +7 -7
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.d.ts +6 -12
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.js.map +1 -1
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +14 -26
- package/dist/models/GetClusterDiagnosisResultResponseBody.js.map +1 -1
- package/dist/models/GetClusterInspectConfigResponseBody.d.ts +2 -2
- package/dist/models/GetClusterInspectReportDetailRequest.d.ts +15 -18
- package/dist/models/GetClusterInspectReportDetailRequest.js.map +1 -1
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +30 -34
- package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
- package/dist/models/GetKubernetesTriggerRequest.d.ts +8 -7
- package/dist/models/GetKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/GetKubernetesTriggerResponse.d.ts +11 -10
- package/dist/models/GetKubernetesTriggerResponse.js.map +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +18 -19
- package/dist/models/GetUpgradeStatusResponseBody.js.map +1 -1
- package/dist/models/GrantPermissionsRequest.d.ts +19 -26
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +4 -4
- package/dist/models/InstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +10 -10
- package/dist/models/InstallNodePoolComponentsResponseBody.d.ts +2 -2
- package/dist/models/ListAddonsRequest.d.ts +17 -6
- package/dist/models/ListAddonsRequest.js.map +1 -1
- package/dist/models/ListAddonsResponseBody.d.ts +24 -15
- package/dist/models/ListAddonsResponseBody.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +20 -20
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +7 -7
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +7 -8
- package/dist/models/ListClusterAddonInstancesResponseBody.js.map +1 -1
- package/dist/models/ListClusterChecksRequest.d.ts +9 -2
- package/dist/models/ListClusterChecksRequest.js.map +1 -1
- package/dist/models/ListClusterChecksResponseBody.d.ts +7 -7
- package/dist/models/ListClusterInspectReportsRequest.d.ts +1 -1
- package/dist/models/ListClusterInspectReportsResponseBody.d.ts +11 -11
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +9 -8
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +32 -28
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +3 -3
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +14 -14
- package/dist/models/ListOperationPlansRequest.d.ts +1 -1
- package/dist/models/ListOperationPlansResponseBody.d.ts +13 -15
- package/dist/models/ListOperationPlansResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +6 -4
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +7 -7
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +6 -4
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +8 -6
- package/dist/models/ListUserKubeConfigStatesRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +24 -25
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/MigrateClusterRequest.d.ts +2 -2
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +15 -15
- package/dist/models/ModifyClusterAddonRequest.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +229 -298
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/ModifyClusterRequest.d.ts +106 -139
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyClusterTagsRequest.d.ts +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +11 -7
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/ModifyPolicyInstanceRequest.d.ts +6 -6
- package/dist/models/ModifyPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/Nodepool.d.ts +225 -272
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceRequest.d.ts +3 -3
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/QuotasValue.d.ts +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +17 -13
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +17 -13
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/dist/models/RepairClusterNodePoolRequest.d.ts +14 -9
- package/dist/models/RepairClusterNodePoolRequest.js.map +1 -1
- package/dist/models/RepairClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/RunClusterCheckRequest.d.ts +4 -9
- package/dist/models/RunClusterCheckRequest.js.map +1 -1
- package/dist/models/RunClusterCheckResponseBody.d.ts +2 -2
- package/dist/models/RunClusterInspectRequest.d.ts +1 -1
- package/dist/models/ScaleClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/StandardComponentsValue.d.ts +10 -9
- package/dist/models/StandardComponentsValue.js.map +1 -1
- package/dist/models/StartAlertRequest.d.ts +2 -2
- package/dist/models/StartAlertResponseBody.d.ts +1 -1
- package/dist/models/StopAlertRequest.d.ts +2 -2
- package/dist/models/StopAlertResponseBody.d.ts +4 -5
- package/dist/models/StopAlertResponseBody.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +9 -7
- package/dist/models/TagResourcesRequest.js.map +1 -1
- package/dist/models/UnInstallClusterAddonsRequest.d.ts +5 -6
- package/dist/models/UnInstallClusterAddonsRequest.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +9 -7
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/UntagResourcesShrinkRequest.d.ts +9 -7
- package/dist/models/UntagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +9 -7
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +2 -2
- package/dist/models/UpdateClusterInspectConfigRequest.d.ts +3 -3
- package/dist/models/UpdateContactGroupForAlertRequest.d.ts +2 -2
- package/dist/models/UpdateContactGroupForAlertResponseBody.d.ts +4 -5
- package/dist/models/UpdateContactGroupForAlertResponseBody.js.map +1 -1
- package/dist/models/UpdateControlPlaneLogRequest.d.ts +5 -5
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +3 -3
- package/dist/models/UpdateKmsencryptionRequest.d.ts +6 -6
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +8 -8
- package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +2 -2
- package/dist/models/UpdateResourcesDeleteProtectionRequest.d.ts +16 -4
- package/dist/models/UpdateResourcesDeleteProtectionRequest.js.map +1 -1
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +5 -5
- package/dist/models/UpdateTemplateRequest.d.ts +10 -7
- package/dist/models/UpdateTemplateRequest.js.map +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +30 -23
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +7 -8
- package/dist/models/UpgradeClusterAddonsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +22 -16
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +10 -9
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/UpgradeClusterResponseBody.d.ts +3 -3
- package/package.json +1 -1
- package/src/client.ts +490 -448
- package/src/models/AttachInstancesRequest.ts +59 -38
- package/src/models/AttachInstancesResponseBody.ts +4 -4
- package/src/models/AttachInstancesToNodePoolRequest.ts +14 -12
- package/src/models/CheckControlPlaneLogEnableResponseBody.ts +4 -6
- package/src/models/CheckServiceRoleRequest.ts +2 -2
- package/src/models/CheckServiceRoleResponseBody.ts +4 -9
- package/src/models/CleanClusterUserPermissionsRequest.ts +3 -4
- package/src/models/CleanUserPermissionsRequest.ts +4 -5
- package/src/models/CleanUserPermissionsShrinkRequest.ts +4 -5
- package/src/models/CreateAutoRepairPolicyRequest.ts +17 -17
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +1 -1
- package/src/models/CreateAutoscalingConfigRequest.ts +42 -55
- package/src/models/CreateClusterDiagnosisRequest.ts +20 -24
- package/src/models/CreateClusterDiagnosisResponseBody.ts +1 -1
- package/src/models/CreateClusterInspectConfigRequest.ts +2 -2
- package/src/models/CreateClusterNodePoolRequest.ts +279 -350
- package/src/models/CreateClusterRequest.ts +270 -347
- package/src/models/CreateKubernetesTriggerRequest.ts +8 -7
- package/src/models/CreateKubernetesTriggerResponseBody.ts +8 -7
- package/src/models/CreateTemplateRequest.ts +10 -9
- package/src/models/CreateTriggerRequest.ts +8 -7
- package/src/models/CreateTriggerResponseBody.ts +3 -3
- package/src/models/DeleteAlertContactGroupRequest.ts +1 -1
- package/src/models/DeleteAlertContactGroupResponse.ts +5 -5
- package/src/models/DeleteAlertContactGroupShrinkRequest.ts +1 -1
- package/src/models/DeleteAlertContactRequest.ts +1 -1
- package/src/models/DeleteAlertContactShrinkRequest.ts +1 -1
- package/src/models/DeleteClusterNodepoolRequest.ts +5 -1
- package/src/models/DeleteClusterNodepoolResponseBody.ts +1 -1
- package/src/models/DeleteClusterNodesRequest.ts +10 -13
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +18 -27
- package/src/models/DeleteClusterShrinkRequest.ts +9 -11
- package/src/models/DeletePolicyInstanceRequest.ts +1 -1
- package/src/models/DeletePolicyInstanceResponseBody.ts +1 -1
- package/src/models/DeployPolicyInstanceRequest.ts +5 -6
- package/src/models/DeployPolicyInstanceResponseBody.ts +1 -1
- package/src/models/DescribeAddonRequest.ts +18 -7
- package/src/models/DescribeAddonResponseBody.ts +14 -13
- package/src/models/DescribeAddonsRequest.ts +13 -11
- package/src/models/DescribeAddonsResponseBody.ts +4 -4
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +19 -19
- package/src/models/DescribeClusterAddonInstanceResponseBody.ts +11 -11
- package/src/models/DescribeClusterAddonMetadataResponseBody.ts +1 -1
- package/src/models/DescribeClusterAttachScriptsRequest.ts +13 -16
- package/src/models/DescribeClusterDetailResponseBody.ts +101 -128
- package/src/models/DescribeClusterEventsRequest.ts +3 -3
- package/src/models/DescribeClusterEventsResponseBody.ts +22 -41
- package/src/models/DescribeClusterLogsResponse.ts +5 -5
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +226 -302
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +230 -308
- package/src/models/DescribeClusterNodesRequest.ts +30 -9
- package/src/models/DescribeClusterNodesResponseBody.ts +51 -38
- package/src/models/DescribeClusterResourcesRequest.ts +3 -3
- package/src/models/DescribeClusterResourcesResponse.ts +37 -48
- package/src/models/DescribeClusterTasksRequest.ts +1 -1
- package/src/models/DescribeClusterTasksResponseBody.ts +7 -7
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +6 -10
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
- package/src/models/DescribeClusterVulsResponseBody.ts +13 -19
- package/src/models/DescribeClustersForRegionRequest.ts +19 -30
- package/src/models/DescribeClustersForRegionResponseBody.ts +40 -67
- package/src/models/DescribeClustersRequest.ts +1 -1
- package/src/models/DescribeClustersV1request.ts +18 -26
- package/src/models/DescribeClustersV1responseBody.ts +52 -77
- package/src/models/DescribeEventsForRegionRequest.ts +2 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +7 -11
- package/src/models/DescribeEventsRequest.ts +22 -38
- package/src/models/DescribeEventsResponseBody.ts +31 -50
- package/src/models/DescribeExternalAgentRequest.ts +6 -4
- package/src/models/DescribeExternalAgentResponseBody.ts +1 -1
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +24 -25
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +31 -32
- package/src/models/DescribeNodePoolVulsRequest.ts +4 -4
- package/src/models/DescribeNodePoolVulsResponseBody.ts +13 -18
- package/src/models/DescribePolicyDetailsResponseBody.ts +17 -21
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +30 -34
- package/src/models/DescribePolicyInstancesRequest.ts +2 -2
- package/src/models/DescribePolicyInstancesResponse.ts +20 -19
- package/src/models/DescribePolicyInstancesStatusResponseBody.ts +7 -7
- package/src/models/DescribeRegionsRequest.ts +3 -21
- package/src/models/DescribeRegionsResponseBody.ts +4 -4
- package/src/models/DescribeResourcesDeleteProtectionRequest.ts +6 -5
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +5 -6
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +6 -7
- package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +20 -26
- package/src/models/DescribeTemplateAttributeRequest.ts +5 -5
- package/src/models/DescribeTemplateAttributeResponse.ts +16 -14
- package/src/models/DescribeTemplatesRequest.ts +7 -6
- package/src/models/DescribeTemplatesResponseBody.ts +19 -20
- package/src/models/DescribeTriggerRequest.ts +8 -7
- package/src/models/DescribeTriggerResponse.ts +12 -13
- package/src/models/DescribeUserPermissionResponse.ts +21 -21
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/FixNodePoolVulsRequest.ts +9 -4
- package/src/models/FixNodePoolVulsResponseBody.ts +1 -1
- package/src/models/GetClusterAddonInstanceResponseBody.ts +21 -14
- package/src/models/GetClusterAuditProjectResponseBody.ts +5 -4
- package/src/models/GetClusterCheckResponseBody.ts +7 -7
- package/src/models/GetClusterDiagnosisCheckItemsResponseBody.ts +6 -12
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +14 -26
- package/src/models/GetClusterInspectConfigResponseBody.ts +2 -2
- package/src/models/GetClusterInspectReportDetailRequest.ts +15 -18
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +30 -34
- package/src/models/GetKubernetesTriggerRequest.ts +8 -7
- package/src/models/GetKubernetesTriggerResponse.ts +11 -10
- package/src/models/GetUpgradeStatusResponseBody.ts +18 -19
- package/src/models/GrantPermissionsRequest.ts +19 -26
- package/src/models/InstallClusterAddonsRequest.ts +4 -4
- package/src/models/InstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/InstallNodePoolComponentsRequest.ts +10 -10
- package/src/models/InstallNodePoolComponentsResponseBody.ts +2 -2
- package/src/models/ListAddonsRequest.ts +17 -6
- package/src/models/ListAddonsResponseBody.ts +24 -15
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +20 -20
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +7 -7
- package/src/models/ListClusterAddonInstancesResponseBody.ts +7 -8
- package/src/models/ListClusterChecksRequest.ts +9 -2
- package/src/models/ListClusterChecksResponseBody.ts +7 -7
- package/src/models/ListClusterInspectReportsRequest.ts +1 -1
- package/src/models/ListClusterInspectReportsResponseBody.ts +11 -11
- package/src/models/ListClusterKubeconfigStatesRequest.ts +9 -8
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +32 -28
- package/src/models/ListOperationPlansForRegionRequest.ts +3 -3
- package/src/models/ListOperationPlansForRegionResponseBody.ts +14 -14
- package/src/models/ListOperationPlansRequest.ts +1 -1
- package/src/models/ListOperationPlansResponseBody.ts +13 -15
- package/src/models/ListTagResourcesRequest.ts +6 -4
- package/src/models/ListTagResourcesResponseBody.ts +7 -7
- package/src/models/ListTagResourcesShrinkRequest.ts +6 -4
- package/src/models/ListUserKubeConfigStatesRequest.ts +8 -6
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +24 -25
- package/src/models/MigrateClusterRequest.ts +2 -2
- package/src/models/ModifyAutoRepairPolicyRequest.ts +15 -15
- package/src/models/ModifyClusterAddonRequest.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +229 -298
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyClusterRequest.ts +106 -139
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/ModifyClusterTagsRequest.ts +1 -1
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -7
- package/src/models/ModifyPolicyInstanceRequest.ts +6 -6
- package/src/models/ModifyPolicyInstanceResponseBody.ts +1 -1
- package/src/models/Nodepool.ts +225 -272
- package/src/models/OpenAckServiceRequest.ts +3 -3
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/QuotasValue.ts +1 -1
- package/src/models/RemoveNodePoolNodesRequest.ts +17 -13
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +17 -13
- package/src/models/RepairClusterNodePoolRequest.ts +14 -9
- package/src/models/RepairClusterNodePoolResponseBody.ts +1 -1
- package/src/models/RunClusterCheckRequest.ts +4 -9
- package/src/models/RunClusterCheckResponseBody.ts +2 -2
- package/src/models/RunClusterInspectRequest.ts +1 -1
- package/src/models/ScaleClusterNodePoolRequest.ts +1 -1
- package/src/models/ScanClusterVulsResponseBody.ts +1 -1
- package/src/models/StandardComponentsValue.ts +10 -9
- package/src/models/StartAlertRequest.ts +2 -2
- package/src/models/StartAlertResponseBody.ts +1 -1
- package/src/models/StopAlertRequest.ts +2 -2
- package/src/models/StopAlertResponseBody.ts +4 -5
- package/src/models/TagResourcesRequest.ts +9 -7
- package/src/models/UnInstallClusterAddonsRequest.ts +5 -6
- package/src/models/UntagResourcesRequest.ts +9 -7
- package/src/models/UntagResourcesShrinkRequest.ts +9 -7
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +9 -7
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +2 -2
- package/src/models/UpdateClusterInspectConfigRequest.ts +3 -3
- package/src/models/UpdateContactGroupForAlertRequest.ts +2 -2
- package/src/models/UpdateContactGroupForAlertResponseBody.ts +4 -5
- package/src/models/UpdateControlPlaneLogRequest.ts +5 -5
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +3 -3
- package/src/models/UpdateKmsencryptionRequest.ts +6 -6
- package/src/models/UpdateNodePoolComponentRequest.ts +8 -8
- package/src/models/UpdateNodePoolComponentResponseBody.ts +2 -2
- package/src/models/UpdateResourcesDeleteProtectionRequest.ts +16 -4
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +5 -5
- package/src/models/UpdateTemplateRequest.ts +10 -7
- package/src/models/UpdateUserPermissionsRequest.ts +30 -23
- package/src/models/UpgradeClusterAddonsRequest.ts +7 -8
- package/src/models/UpgradeClusterNodepoolRequest.ts +22 -16
- package/src/models/UpgradeClusterRequest.ts +10 -9
- package/src/models/UpgradeClusterResponseBody.ts +3 -3
|
@@ -9,7 +9,7 @@ import { InstanceMetadataOptions } from "./InstanceMetadataOptions";
|
|
|
9
9
|
export declare class CreateClusterRequestAuditLogConfig extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* Whether to enable cluster audit
|
|
12
|
+
* Whether to enable the cluster audit log feature.
|
|
13
13
|
*
|
|
14
14
|
* - true: Enable.
|
|
15
15
|
*
|
|
@@ -21,11 +21,11 @@ export declare class CreateClusterRequestAuditLogConfig extends $dara.Model {
|
|
|
21
21
|
enabled?: boolean;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The [SLS Project](https://help.aliyun.com/document_detail/48873.html)
|
|
24
|
+
* The [SLS Project](https://help.aliyun.com/document_detail/48873.html) where the cluster audit log [Logstore](https://help.aliyun.com/document_detail/48873.html) is located.
|
|
25
25
|
*
|
|
26
26
|
* - Default value: `k8s-log-{clusterid}`.
|
|
27
27
|
*
|
|
28
|
-
* -
|
|
28
|
+
* - After enabling the cluster audit log feature, a corresponding Logstore will be created under the specified SLS Project.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* k8s-log-c2345xxxxxxxxxxxx
|
|
@@ -45,7 +45,7 @@ export declare class CreateClusterRequestAuditLogConfig extends $dara.Model {
|
|
|
45
45
|
export declare class CreateClusterRequestAutoMode extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* Whether to enable
|
|
48
|
+
* Whether to enable intelligent managed mode.
|
|
49
49
|
*
|
|
50
50
|
* - true: Enable.
|
|
51
51
|
*
|
|
@@ -69,10 +69,8 @@ export declare class CreateClusterRequestAutoMode extends $dara.Model {
|
|
|
69
69
|
export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* Whether to enable auto-renewal for control plane nodes. Valid
|
|
73
|
-
*
|
|
72
|
+
* Whether to enable auto-renewal for control plane nodes. Valid when the billing type is `PrePaid`.
|
|
74
73
|
* - true: Enable auto-renewal.
|
|
75
|
-
*
|
|
76
74
|
* - false: Disable auto-renewal.
|
|
77
75
|
*
|
|
78
76
|
* Default value: true.
|
|
@@ -83,9 +81,9 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
83
81
|
autoRenew?: boolean;
|
|
84
82
|
/**
|
|
85
83
|
* @remarks
|
|
86
|
-
* Auto-renewal duration for control plane nodes
|
|
84
|
+
* Auto-renewal duration for control plane nodes.
|
|
87
85
|
*
|
|
88
|
-
* Valid values: {1, 2, 3, 6, 12}.
|
|
86
|
+
* Valid values: {1, 2, 3, 6, 12}. Unit: months.
|
|
89
87
|
*
|
|
90
88
|
* Default value: 1.
|
|
91
89
|
*
|
|
@@ -98,7 +96,6 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
98
96
|
* Control plane node billing type.
|
|
99
97
|
*
|
|
100
98
|
* - `PrePaid`: Subscription.
|
|
101
|
-
*
|
|
102
99
|
* - `PostPaid`: Pay-as-you-go.
|
|
103
100
|
*
|
|
104
101
|
* Default value: `PostPaid`.
|
|
@@ -109,7 +106,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
109
106
|
chargeType?: string;
|
|
110
107
|
/**
|
|
111
108
|
* @remarks
|
|
112
|
-
* Whether to install
|
|
109
|
+
* Whether to install CloudMonitor on nodes.
|
|
113
110
|
*
|
|
114
111
|
* - true: Install the CloudMonitor agent.
|
|
115
112
|
*
|
|
@@ -125,9 +122,9 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
125
122
|
* @remarks
|
|
126
123
|
* Node CPU management policy.
|
|
127
124
|
*
|
|
128
|
-
* - static:
|
|
125
|
+
* - static: Allows enhancing CPU affinity and exclusivity for Pods with certain resource characteristics on the node.
|
|
129
126
|
*
|
|
130
|
-
* - none:
|
|
127
|
+
* - none: Enables the existing default CPU affinity scheme.
|
|
131
128
|
*
|
|
132
129
|
* Default value: none.
|
|
133
130
|
*
|
|
@@ -153,7 +150,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
153
150
|
imageId?: string;
|
|
154
151
|
/**
|
|
155
152
|
* @remarks
|
|
156
|
-
*
|
|
153
|
+
* OS image type.
|
|
157
154
|
*
|
|
158
155
|
* @example
|
|
159
156
|
* AliyunLinux3
|
|
@@ -171,7 +168,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
171
168
|
instanceTypes?: string[];
|
|
172
169
|
/**
|
|
173
170
|
* @remarks
|
|
174
|
-
* Key pair name.
|
|
171
|
+
* Key pair name. Mutually exclusive with login_password.
|
|
175
172
|
*
|
|
176
173
|
* @example
|
|
177
174
|
* ack
|
|
@@ -179,7 +176,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
179
176
|
keyPair?: string;
|
|
180
177
|
/**
|
|
181
178
|
* @remarks
|
|
182
|
-
* SSH login password.
|
|
179
|
+
* SSH login password. The password must be 8 to 30 characters in length and contain at least three of the following: uppercase letters, lowercase letters, digits, and special characters. Mutually exclusive with key_pair.
|
|
183
180
|
*
|
|
184
181
|
* @example
|
|
185
182
|
* ********
|
|
@@ -187,7 +184,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
187
184
|
loginPassword?: string;
|
|
188
185
|
/**
|
|
189
186
|
* @remarks
|
|
190
|
-
*
|
|
187
|
+
* [**This field is deprecated**] Node service port range.
|
|
191
188
|
*
|
|
192
189
|
* @example
|
|
193
190
|
* 30000-32767
|
|
@@ -195,9 +192,9 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
195
192
|
nodePortRange?: string;
|
|
196
193
|
/**
|
|
197
194
|
* @remarks
|
|
198
|
-
* Subscription duration for control plane nodes
|
|
195
|
+
* Subscription duration for control plane nodes. Valid and required when the billing type is `PrePaid`.
|
|
199
196
|
*
|
|
200
|
-
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
197
|
+
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}. Unit: months.
|
|
201
198
|
*
|
|
202
199
|
* Default value: 1.
|
|
203
200
|
*
|
|
@@ -207,9 +204,9 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
207
204
|
period?: number;
|
|
208
205
|
/**
|
|
209
206
|
* @remarks
|
|
210
|
-
*
|
|
207
|
+
* Subscription period unit for control plane nodes. Valid and required when the billing type is `PrePaid`.
|
|
211
208
|
*
|
|
212
|
-
* Valid value: `Month`.
|
|
209
|
+
* Valid value: `Month`. Currently, only month-based periods are supported.
|
|
213
210
|
*
|
|
214
211
|
* @example
|
|
215
212
|
* Month
|
|
@@ -217,9 +214,9 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
217
214
|
periodUnit?: string;
|
|
218
215
|
/**
|
|
219
216
|
* @remarks
|
|
220
|
-
*
|
|
217
|
+
* [**This field is deprecated**] Control plane node runtime name. Valid value:
|
|
221
218
|
*
|
|
222
|
-
* containerd: Containerd runtime, supported
|
|
219
|
+
* containerd: Containerd runtime, supported by all cluster versions.
|
|
223
220
|
*
|
|
224
221
|
* @example
|
|
225
222
|
* containerd
|
|
@@ -251,11 +248,11 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
251
248
|
size?: number;
|
|
252
249
|
/**
|
|
253
250
|
* @remarks
|
|
254
|
-
* Whether to enable
|
|
251
|
+
* Whether to enable classified protection security hardening.
|
|
255
252
|
*
|
|
256
|
-
* - true: Enable
|
|
253
|
+
* - true: Enable classified protection hardening.
|
|
257
254
|
*
|
|
258
|
-
* - false: Disable
|
|
255
|
+
* - false: Disable classified protection hardening.
|
|
259
256
|
*
|
|
260
257
|
* Default value: false.
|
|
261
258
|
*
|
|
@@ -265,13 +262,13 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
265
262
|
socEnabled?: boolean;
|
|
266
263
|
/**
|
|
267
264
|
* @remarks
|
|
268
|
-
* Whether to enable performance burst for node system
|
|
265
|
+
* Whether to enable burst (performance burst) for the node system disk.
|
|
269
266
|
*
|
|
270
267
|
* - true: Enable.
|
|
271
268
|
*
|
|
272
269
|
* - false: Disable.
|
|
273
270
|
*
|
|
274
|
-
* This parameter is supported
|
|
271
|
+
* This parameter is only supported when `system_disk_category` is set to `cloud_auto`.
|
|
275
272
|
*
|
|
276
273
|
* @example
|
|
277
274
|
* true
|
|
@@ -282,16 +279,12 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
282
279
|
* Node system disk type.
|
|
283
280
|
*
|
|
284
281
|
* - `cloud_efficiency`: Ultra disk.
|
|
282
|
+
* - `cloud_ssd`: SSD disk.
|
|
283
|
+
* - `cloud_essd`: ESSD disk.
|
|
284
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
285
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
285
286
|
*
|
|
286
|
-
*
|
|
287
|
-
*
|
|
288
|
-
* - `cloud_essd`: ESSD.
|
|
289
|
-
*
|
|
290
|
-
* - `cloud_auto`: ESSD AutoPL.
|
|
291
|
-
*
|
|
292
|
-
* - `cloud_essd_entry`: ESSD Entry.
|
|
293
|
-
*
|
|
294
|
-
* Default value: `cloud_ssd`. The default may vary by zone.
|
|
287
|
+
* Default value: `cloud_ssd`. The default value may vary across availability zones.
|
|
295
288
|
*
|
|
296
289
|
* @example
|
|
297
290
|
* cloud_ssd
|
|
@@ -299,9 +292,9 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
299
292
|
systemDiskCategory?: string;
|
|
300
293
|
/**
|
|
301
294
|
* @remarks
|
|
302
|
-
* Node system disk performance level.
|
|
295
|
+
* Node system disk performance level. Only takes effect for ESSD disks.
|
|
303
296
|
*
|
|
304
|
-
*
|
|
297
|
+
* The performance level is related to the disk size. For more information, see [ESSD disk](https://help.aliyun.com/document_detail/122389.html).
|
|
305
298
|
*
|
|
306
299
|
* @example
|
|
307
300
|
* PL1
|
|
@@ -309,11 +302,11 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
309
302
|
systemDiskPerformanceLevel?: string;
|
|
310
303
|
/**
|
|
311
304
|
* @remarks
|
|
312
|
-
*
|
|
305
|
+
* Pre-provisioned read/write IOPS for the node system disk.
|
|
313
306
|
*
|
|
314
|
-
* Valid
|
|
307
|
+
* Valid values: 0 to min{50,000, 1000*capacity - baseline performance}. Baseline performance = min{1,800 + 50*capacity, 50000}.
|
|
315
308
|
*
|
|
316
|
-
* This parameter is supported
|
|
309
|
+
* This parameter is only supported when `system_disk_category` is set to `cloud_auto`.
|
|
317
310
|
*
|
|
318
311
|
* @example
|
|
319
312
|
* 1000
|
|
@@ -321,9 +314,9 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
321
314
|
systemDiskProvisionedIops?: number;
|
|
322
315
|
/**
|
|
323
316
|
* @remarks
|
|
324
|
-
* Node system disk size
|
|
317
|
+
* Node system disk size.
|
|
325
318
|
*
|
|
326
|
-
* Valid
|
|
319
|
+
* Valid values: [40, 500\\]. Unit: GiB.
|
|
327
320
|
*
|
|
328
321
|
* Default value: `120`.
|
|
329
322
|
*
|
|
@@ -333,7 +326,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
333
326
|
systemDiskSize?: number;
|
|
334
327
|
/**
|
|
335
328
|
* @remarks
|
|
336
|
-
*
|
|
329
|
+
* Node automatic snapshot backup policy.
|
|
337
330
|
*
|
|
338
331
|
* @example
|
|
339
332
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -353,7 +346,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
353
346
|
export declare class CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig extends $dara.Model {
|
|
354
347
|
/**
|
|
355
348
|
* @remarks
|
|
356
|
-
* VPCs where the internal
|
|
349
|
+
* VPCs where the internal DNS record resolution takes effect.
|
|
357
350
|
*/
|
|
358
351
|
bindVpcs?: string[];
|
|
359
352
|
static names(): {
|
|
@@ -370,7 +363,7 @@ export declare class CreateClusterRequestControlPlaneEndpointsConfigInternalDnsC
|
|
|
370
363
|
export declare class CreateClusterRequestControlPlaneEndpointsConfig extends $dara.Model {
|
|
371
364
|
/**
|
|
372
365
|
* @remarks
|
|
373
|
-
* Internal
|
|
366
|
+
* Internal DNS configuration for the cluster, applicable to ACK managed clusters. The internal DNS is used by node-side system components such as kubelet and kube-proxy to access the API Server. When internal DNS access is not enabled, node-side system components will access via CLB IP.
|
|
374
367
|
*/
|
|
375
368
|
internalDnsConfig?: CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig;
|
|
376
369
|
static names(): {
|
|
@@ -388,12 +381,9 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
388
381
|
/**
|
|
389
382
|
* @remarks
|
|
390
383
|
* Cluster automatic upgrade frequency. Valid values:
|
|
391
|
-
*
|
|
392
|
-
* -
|
|
393
|
-
*
|
|
394
|
-
* - stable: Automatically upgrade to the latest patch version of the second-newest minor version. New Kubernetes versions may include API and feature changes but have undergone extensive stability validation.
|
|
395
|
-
*
|
|
396
|
-
* - rapid: Automatically upgrade to the latest patch version of the newest minor version to quickly access new Kubernetes community features.
|
|
384
|
+
* - patch: Automatically upgrade to an available patch version of the current minor version. The new Kubernetes version will not contain breaking changes.
|
|
385
|
+
* - stable: Automatically upgrade to the latest patch version of the second-newest minor version. The new Kubernetes version may involve API and feature changes, but its stability has been widely verified.
|
|
386
|
+
* - rapid: Automatically upgrade to the latest patch version of the latest minor version to get new features from the Kubernetes community faster.
|
|
397
387
|
*
|
|
398
388
|
* @example
|
|
399
389
|
* stable
|
|
@@ -442,7 +432,7 @@ export declare class CreateClusterRequestOperationPolicy extends $dara.Model {
|
|
|
442
432
|
export declare class CreateClusterRequestRrsaConfig extends $dara.Model {
|
|
443
433
|
/**
|
|
444
434
|
* @remarks
|
|
445
|
-
* Whether to enable RRSA.
|
|
435
|
+
* Whether to enable the RRSA feature.
|
|
446
436
|
*
|
|
447
437
|
* - true: Enable.
|
|
448
438
|
*
|
|
@@ -479,7 +469,6 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
479
469
|
* Whether to encrypt the data disk. Valid values:
|
|
480
470
|
*
|
|
481
471
|
* - `true`: Encrypt the data disk.
|
|
482
|
-
*
|
|
483
472
|
* - `false`: Do not encrypt the data disk.
|
|
484
473
|
*
|
|
485
474
|
* Default value: `false`.
|
|
@@ -490,7 +479,7 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
490
479
|
encrypted?: string;
|
|
491
480
|
/**
|
|
492
481
|
* @remarks
|
|
493
|
-
*
|
|
482
|
+
* Node data disk performance level. Only takes effect for [ESSD disks](https://help.aliyun.com/document_detail/122389.html).
|
|
494
483
|
*
|
|
495
484
|
* @example
|
|
496
485
|
* PL1
|
|
@@ -498,7 +487,7 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
498
487
|
performanceLevel?: string;
|
|
499
488
|
/**
|
|
500
489
|
* @remarks
|
|
501
|
-
* Data disk size
|
|
490
|
+
* Data disk size. Valid values: 40 to 32767. Unit: GiB.
|
|
502
491
|
*
|
|
503
492
|
* This parameter is required.
|
|
504
493
|
*
|
|
@@ -520,49 +509,46 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
520
509
|
export declare class CreateClusterRequest extends $dara.Model {
|
|
521
510
|
/**
|
|
522
511
|
* @remarks
|
|
523
|
-
*
|
|
512
|
+
* [**This field is deprecated**] Registered cluster API Server SLB access control list.
|
|
524
513
|
*
|
|
525
514
|
* @deprecated
|
|
526
515
|
*/
|
|
527
516
|
accessControlList?: string[];
|
|
528
517
|
/**
|
|
529
518
|
* @remarks
|
|
530
|
-
* List of cluster components. Specify components to install
|
|
519
|
+
* List of cluster components. Specify the components to install when creating a cluster through `addons`.
|
|
531
520
|
*
|
|
532
|
-
* **Network
|
|
521
|
+
* **Network component**: Required. Choose between Flannel and Terway network types when creating a cluster:
|
|
533
522
|
*
|
|
534
523
|
* - Flannel network: [{"name":"flannel","config":""}].
|
|
524
|
+
* - Terway network: [{"name": "terway-eniip","config": ""}] .
|
|
535
525
|
*
|
|
536
|
-
*
|
|
537
|
-
*
|
|
538
|
-
* **Storage components**: Optional. Only `csi` is supported:
|
|
526
|
+
* **Storage component**: Optional. Only the `csi` type is supported:
|
|
539
527
|
*
|
|
540
528
|
* `csi`: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
|
|
541
529
|
*
|
|
542
|
-
* **
|
|
543
|
-
*
|
|
544
|
-
* - Use an existing `SLS Project`: [{"name": "loongcollector","config": "{"IngressDashboardEnabled":"true","sls_project_name":"your_sls_project_name"}"}].
|
|
545
|
-
*
|
|
546
|
-
* - Create a new `SLS Project`: [{"name": "loongcollector","config": "{"IngressDashboardEnabled":"true"}"}].
|
|
530
|
+
* **Log component**: Optional. Recommended to enable. If Log Service is not enabled, the cluster audit feature will be unavailable.
|
|
547
531
|
*
|
|
548
|
-
*
|
|
532
|
+
* - Use an existing `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\",\\"sls_project_name\\":\\"your_sls_project_name\\"}"}] .
|
|
533
|
+
* - Create a new `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\"}"}] .
|
|
549
534
|
*
|
|
550
|
-
*
|
|
535
|
+
* **Ingress component**: Optional. ACK dedicated clusters install the Ingress component `nginx-ingress-controller` by default.
|
|
551
536
|
*
|
|
552
|
-
* -
|
|
537
|
+
* - Install Ingress with public network access: [{"name":"nginx-ingress-controller","config":"{\\"IngressSlbNetworkType\\":\\"internet\\"}"}] .
|
|
538
|
+
* - Disable default Ingress installation: [{"name": "nginx-ingress-controller","config": "","disabled": true}] .
|
|
553
539
|
*
|
|
554
|
-
* **Event
|
|
540
|
+
* **Event center**: Optional. Enabled by default.
|
|
555
541
|
*
|
|
556
|
-
*
|
|
542
|
+
* The event center provides capabilities for storing, querying, and alerting on Kubernetes events. The Logstore associated with the Kubernetes event center is free for 90 days. For more information about the free policy, see [Create and use the Kubernetes event center](https://help.aliyun.com/document_detail/150476.html).
|
|
557
543
|
*
|
|
558
|
-
* Example
|
|
544
|
+
* Example of enabling the event center: [{"name":"ack-node-problem-detector","config":"{\\"sls_project_name\\":\\"your_sls_project_name\\"}"}].
|
|
559
545
|
*/
|
|
560
546
|
addons?: Addon[];
|
|
561
547
|
/**
|
|
562
548
|
* @remarks
|
|
563
|
-
* ServiceAccount is the access credential
|
|
549
|
+
* ServiceAccount is the access credential for communication between Pods and the cluster API Server. `api-audiences` defines the valid request `token` identities used by the `apiserver` to verify whether the request `token` is legitimate. Multiple `audience` values can be configured, separated by commas (,).
|
|
564
550
|
*
|
|
565
|
-
* For more
|
|
551
|
+
* For more details about `ServiceAccount`, see [Deploy service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
566
552
|
*
|
|
567
553
|
* @example
|
|
568
554
|
* kubernetes.default.svc
|
|
@@ -575,22 +561,21 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
575
561
|
auditLogConfig?: CreateClusterRequestAuditLogConfig;
|
|
576
562
|
/**
|
|
577
563
|
* @remarks
|
|
578
|
-
* [Intelligent
|
|
564
|
+
* [Intelligent managed mode](https://help.aliyun.com/document_detail/2938898.html) configuration.
|
|
579
565
|
*/
|
|
580
566
|
autoMode?: CreateClusterRequestAutoMode;
|
|
581
567
|
/**
|
|
582
568
|
* @remarks
|
|
583
|
-
* **
|
|
569
|
+
* [**This field is deprecated**]
|
|
584
570
|
*
|
|
585
|
-
* Whether to enable auto-renewal.
|
|
571
|
+
* Whether to enable auto-renewal. Only takes effect when `charge_type` is set to `PrePaid`. Valid values:
|
|
586
572
|
*
|
|
587
573
|
* - `true`: Enable auto-renewal.
|
|
588
|
-
*
|
|
589
574
|
* - `false`: Disable auto-renewal.
|
|
590
575
|
*
|
|
591
576
|
* Default value: `false`.
|
|
592
577
|
*
|
|
593
|
-
* This
|
|
578
|
+
* This field was changed on October 15, 2024. For more information, see [Announcement on CreateCluster API parameter behavior changes](https://help.aliyun.com/document_detail/2849194.html).
|
|
594
579
|
*
|
|
595
580
|
* @example
|
|
596
581
|
* true
|
|
@@ -600,13 +585,13 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
600
585
|
autoRenew?: boolean;
|
|
601
586
|
/**
|
|
602
587
|
* @remarks
|
|
603
|
-
* **
|
|
588
|
+
* [**This field is deprecated**]
|
|
604
589
|
*
|
|
605
|
-
* Auto-renewal period
|
|
590
|
+
* Auto-renewal period. Only takes effect when subscription and auto-renewal are selected. When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
|
|
606
591
|
*
|
|
607
592
|
* Default value: 1.
|
|
608
593
|
*
|
|
609
|
-
* This
|
|
594
|
+
* This field was changed on October 15, 2024. For more information, see [Announcement on CreateCluster API parameter behavior changes](https://help.aliyun.com/document_detail/2849194.html).
|
|
610
595
|
*
|
|
611
596
|
* @example
|
|
612
597
|
* 1
|
|
@@ -616,22 +601,19 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
616
601
|
autoRenewPeriod?: number;
|
|
617
602
|
/**
|
|
618
603
|
* @remarks
|
|
619
|
-
* **
|
|
620
|
-
*
|
|
621
|
-
* Billing type for the CLB instance used by the API Server. Default value: PostPaid. Valid values:
|
|
604
|
+
* [**This field is deprecated**]
|
|
622
605
|
*
|
|
606
|
+
* Billing type of the CLB instance used by the API Server. Default value: PostPaid. Valid values:
|
|
623
607
|
* - PostPaid: Pay-as-you-go.
|
|
624
|
-
*
|
|
625
|
-
* - PrePaid: Subscription. New CLB instances no longer support subscription billing, but existing instances are unaffected.
|
|
608
|
+
* - PrePaid: Subscription. This billing type is no longer supported for newly created CLB instances. Existing instances are not affected.
|
|
626
609
|
*
|
|
627
610
|
* >Notice:
|
|
628
611
|
*
|
|
629
|
-
* - This
|
|
630
|
-
*
|
|
631
|
-
*
|
|
632
|
-
*
|
|
633
|
-
* <props="
|
|
634
|
-
* <props="intl">For details, see [Adjustment of Classic Load Balancer Billing Items](https://help.aliyun.com/document_detail/2839797.html).
|
|
612
|
+
* - This field was changed on October 15, 2024. For more information, see [Announcement on CreateCluster API parameter behavior changes](https://help.aliyun.com/document_detail/2849194.html).
|
|
613
|
+
* - Starting from December 1, 2024, newly created CLB instances no longer support the subscription billing type, and instance fees will be charged.
|
|
614
|
+
* </notice>
|
|
615
|
+
* <props="china">For details, see [Product announcement on canceling subscription billing for cluster API Server CLB](https://help.aliyun.com/document_detail/2851191.html) and [CLB billing adjustment announcement](https://help.aliyun.com/document_detail/2839797.html).
|
|
616
|
+
* <props="intl">For details, see [CLB billing adjustment announcement](https://help.aliyun.com/document_detail/2839797.html).
|
|
635
617
|
*
|
|
636
618
|
* @example
|
|
637
619
|
* PostPaid
|
|
@@ -641,7 +623,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
641
623
|
chargeType?: string;
|
|
642
624
|
/**
|
|
643
625
|
* @remarks
|
|
644
|
-
*
|
|
626
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `security_hardening_os` parameter under `control_plane_config` instead. For node pool configuration, use the `security_hardening_os` parameter under `scaling_group` in `nodepool` instead.
|
|
645
627
|
*
|
|
646
628
|
* @example
|
|
647
629
|
* false
|
|
@@ -651,12 +633,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
651
633
|
cisEnabled?: boolean;
|
|
652
634
|
/**
|
|
653
635
|
* @remarks
|
|
654
|
-
*
|
|
636
|
+
* [**This field is deprecated**] For cluster control plane node configuration, use the `cloud_monitor_flags` parameter under `control_plane_config` instead. For node pool configuration, use the `cms_enabled` parameter under `kubernetes_config` in `nodepool` instead.
|
|
655
637
|
*
|
|
656
|
-
* Whether to install the CloudMonitor agent
|
|
638
|
+
* Whether to install the CloudMonitor agent in the cluster. Valid values:
|
|
657
639
|
*
|
|
658
640
|
* - `true`: Install the CloudMonitor agent.
|
|
659
|
-
*
|
|
660
641
|
* - `false`: Do not install the CloudMonitor agent.
|
|
661
642
|
*
|
|
662
643
|
* Default value: `false`.
|
|
@@ -671,7 +652,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
671
652
|
* @remarks
|
|
672
653
|
* Cluster local domain name.
|
|
673
654
|
*
|
|
674
|
-
* Naming rules: The domain name consists of one or more parts separated by
|
|
655
|
+
* Naming rules: The domain name consists of one or more parts separated by periods (.). Each part can be up to 63 characters long and can contain lowercase letters, digits, and hyphens (-). Each part must start and end with a lowercase letter or digit.
|
|
675
656
|
*
|
|
676
657
|
* @example
|
|
677
658
|
* cluster.local
|
|
@@ -679,21 +660,17 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
679
660
|
clusterDomain?: string;
|
|
680
661
|
/**
|
|
681
662
|
* @remarks
|
|
682
|
-
*
|
|
683
|
-
*
|
|
684
|
-
* - `ack.standard`: Basic Edition (default when this parameter is empty)
|
|
685
|
-
*
|
|
686
|
-
* - `ack.pro.small`: Pro Edition
|
|
663
|
+
* After selecting `cluster_type` as `ManagedKubernetes` and configuring `profile`, you can further specify the cluster specification. Valid values:
|
|
687
664
|
*
|
|
665
|
+
* - `ack.standard`: Basic edition (selected by default when the value is empty)
|
|
666
|
+
* - `ack.pro.small`: Pro edition
|
|
688
667
|
* - `ack.pro.xlarge`: Pro XL
|
|
689
|
-
*
|
|
690
668
|
* - `ack.pro.2xlarge`: Pro 2XL
|
|
669
|
+
* - `ack.pro.4xlarge`: Pro 4XL (requires contacting customer service to enable allowlisting)
|
|
691
670
|
*
|
|
692
|
-
*
|
|
693
|
-
*
|
|
694
|
-
* Pro XL, Pro 2XL, and Pro 4XL are three tiers provided by <props="china">[ACK Pro Provisioned Control Plane](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane)<props="intl">[ACK Pro Provisioned Control Plane](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane). These tiers pre-allocate and dedicate control plane resources to ensure consistently high API concurrency and pod scheduling performance. They are suitable for AI training and inference, ultra-large-scale clusters, and mission-critical workloads.
|
|
671
|
+
* Pro XL, Pro 2XL, and Pro 4XL are three tiers provided by <props="china">[ACK Pro Provisioned Control Plane](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane)<props="intl">[ACK Pro Provisioned Control Plane](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane). They pre-allocate and fix control plane resources to ensure that API concurrency and Pod scheduling capabilities always remain at a determined high level, suitable for AI training and inference, ultra-large-scale clusters, and mission-critical workloads.
|
|
695
672
|
*
|
|
696
|
-
* For cluster management fees
|
|
673
|
+
* For the cluster management fees of Pro edition and provisioned control plane editions, see <props="china">[Cluster management fees](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee)<props="intl">[Cluster management fees](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee).
|
|
697
674
|
*
|
|
698
675
|
* @example
|
|
699
676
|
* ack.pro.small
|
|
@@ -702,10 +679,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
702
679
|
/**
|
|
703
680
|
* @remarks
|
|
704
681
|
* - `Kubernetes`: ACK dedicated cluster.
|
|
705
|
-
*
|
|
706
|
-
* - `
|
|
707
|
-
*
|
|
708
|
-
* - `ExternalKubernetes`: registered cluster.
|
|
682
|
+
* - `ManagedKubernetes`: ACK managed cluster types, including ACK managed cluster (Pro and Basic editions), ACK Serverless cluster (Pro and Basic editions), ACK Edge cluster (Pro and Basic editions), and ACK Lingjun cluster (Pro edition).
|
|
683
|
+
* - `ExternalKubernetes`: Registered cluster.
|
|
709
684
|
*
|
|
710
685
|
* @example
|
|
711
686
|
* Kubernetes
|
|
@@ -713,9 +688,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
713
688
|
clusterType?: string;
|
|
714
689
|
/**
|
|
715
690
|
* @remarks
|
|
716
|
-
* Pod network CIDR block.
|
|
691
|
+
* Pod network CIDR block. Must be a valid private CIDR block, specifically the following CIDR blocks and their subnets: 10.0.0.0/8, 172.16-31.0.0/12-16, 192.168.0.0/16. Cannot overlap with the VPC or CIDR blocks used by existing Kubernetes clusters in the VPC. Cannot be modified after creation.
|
|
717
692
|
*
|
|
718
|
-
* For cluster network planning, see [
|
|
693
|
+
* For cluster network planning, see [ACK managed cluster network planning](https://help.aliyun.com/document_detail/86500.html).
|
|
719
694
|
*
|
|
720
695
|
* > This field is required for Flannel clusters.
|
|
721
696
|
*
|
|
@@ -725,7 +700,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
725
700
|
containerCidr?: string;
|
|
726
701
|
/**
|
|
727
702
|
* @remarks
|
|
728
|
-
*
|
|
703
|
+
* ACK dedicated cluster control plane configuration.
|
|
729
704
|
*/
|
|
730
705
|
controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
|
|
731
706
|
/**
|
|
@@ -735,14 +710,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
735
710
|
controlPlaneEndpointsConfig?: CreateClusterRequestControlPlaneEndpointsConfig;
|
|
736
711
|
/**
|
|
737
712
|
* @remarks
|
|
738
|
-
* List of component names specifying which control plane
|
|
713
|
+
* List of component names, specifying which control plane components\\" logs to collect.
|
|
739
714
|
*
|
|
740
|
-
* By default, logs are collected
|
|
715
|
+
* By default, logs are collected from kube-apiserver, kube-controller-manager, kube-scheduler, and cloud-controller-manager.
|
|
741
716
|
*/
|
|
742
717
|
controlplaneLogComponents?: string[];
|
|
743
718
|
/**
|
|
744
719
|
* @remarks
|
|
745
|
-
*
|
|
720
|
+
* Log Service project for control plane component logs. You can use an existing project for log storage or let the system automatically create a project. If you choose to auto-create a Log Service project, a project named `k8s-log-{ClusterID}` will be automatically created.
|
|
746
721
|
*
|
|
747
722
|
* @example
|
|
748
723
|
* k8s-log-xxx
|
|
@@ -758,13 +733,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
758
733
|
controlplaneLogTtl?: string;
|
|
759
734
|
/**
|
|
760
735
|
* @remarks
|
|
761
|
-
*
|
|
762
|
-
*
|
|
763
|
-
* Node CPU management policy. Supported for cluster versions 1.12.6 and later:
|
|
736
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `cpu_policy` parameter under `control_plane_config` instead. For node pool configuration, use the `cpu_policy` parameter under `kubernetes_config` in `nodepool` instead.
|
|
764
737
|
*
|
|
765
|
-
*
|
|
738
|
+
* Node CPU management policy. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
766
739
|
*
|
|
767
|
-
* - `
|
|
740
|
+
* - `static`: Allows enhancing CPU affinity and exclusivity for Pods with certain resource characteristics on the node.
|
|
741
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
768
742
|
*
|
|
769
743
|
* Default value: `none`.
|
|
770
744
|
*
|
|
@@ -776,9 +750,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
776
750
|
cpuPolicy?: string;
|
|
777
751
|
/**
|
|
778
752
|
* @remarks
|
|
779
|
-
*
|
|
753
|
+
* [**This field is deprecated**] Use the `extra_sans` parameter instead.
|
|
780
754
|
*
|
|
781
|
-
* Custom certificate SAN.
|
|
755
|
+
* Custom certificate SAN. Multiple IPs or domain names are separated by commas (,).
|
|
782
756
|
*
|
|
783
757
|
* @example
|
|
784
758
|
* cs.aliyun.com
|
|
@@ -788,11 +762,10 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
788
762
|
customSan?: string;
|
|
789
763
|
/**
|
|
790
764
|
* @remarks
|
|
791
|
-
* Cluster deletion protection prevents accidental cluster deletion through the console or API. Valid values:
|
|
792
|
-
*
|
|
793
|
-
* - `true`: Enable deletion protection. You cannot delete the cluster through the console or API.
|
|
765
|
+
* Cluster deletion protection, which prevents accidental cluster deletion through the console or API. Valid values:
|
|
794
766
|
*
|
|
795
|
-
* - `
|
|
767
|
+
* - `true`: Enable cluster deletion protection. The cluster cannot be deleted through the console or API.
|
|
768
|
+
* - `false`: Disable cluster deletion protection. The cluster can be deleted through the console or API.
|
|
796
769
|
*
|
|
797
770
|
* Default value: `false`.
|
|
798
771
|
*
|
|
@@ -802,13 +775,13 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
802
775
|
deletionProtection?: boolean;
|
|
803
776
|
/**
|
|
804
777
|
* @remarks
|
|
805
|
-
*
|
|
778
|
+
* [**This field is deprecated**] By default, no rollback is performed when cluster creation fails. You need to clean up the failed cluster yourself.
|
|
806
779
|
*
|
|
807
|
-
* Whether to roll back
|
|
780
|
+
* Whether to roll back when cluster creation fails. Valid values:
|
|
808
781
|
*
|
|
809
|
-
* - `true`: Roll back
|
|
782
|
+
* - `true`: Roll back when cluster creation fails.
|
|
783
|
+
* - `false`: Do not roll back when cluster creation fails.
|
|
810
784
|
*
|
|
811
|
-
* - `false`: Do not roll back on failure.
|
|
812
785
|
*
|
|
813
786
|
* Default value: `true`.
|
|
814
787
|
*
|
|
@@ -820,9 +793,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
820
793
|
disableRollback?: boolean;
|
|
821
794
|
/**
|
|
822
795
|
* @remarks
|
|
823
|
-
*
|
|
796
|
+
* [**This field is deprecated**] Use the `rrsa_config` parameter instead.
|
|
824
797
|
*
|
|
825
|
-
* Whether to enable RRSA.
|
|
798
|
+
* Whether to enable the RRSA feature.
|
|
826
799
|
*
|
|
827
800
|
* - true: Enable.
|
|
828
801
|
*
|
|
@@ -836,9 +809,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
836
809
|
enableRrsa?: boolean;
|
|
837
810
|
/**
|
|
838
811
|
* @remarks
|
|
839
|
-
* KMS key ID used to encrypt data disks. For more
|
|
812
|
+
* KMS key ID. This key is used to encrypt data disks. For more details, see [Key Management Service](https://help.aliyun.com/document_detail/28935.html).
|
|
840
813
|
*
|
|
841
|
-
* > This feature
|
|
814
|
+
* > This feature only takes effect in professional managed clusters (ACK Pro clusters).
|
|
842
815
|
*
|
|
843
816
|
* @example
|
|
844
817
|
* 0fe64791-55eb-4fc7-84c5-c6c7cdca****
|
|
@@ -846,11 +819,10 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
846
819
|
encryptionProviderKey?: string;
|
|
847
820
|
/**
|
|
848
821
|
* @remarks
|
|
849
|
-
* Whether to enable public
|
|
822
|
+
* Whether to enable public access. Expose the API Server through an EIP to enable public access to the cluster.
|
|
850
823
|
*
|
|
851
|
-
* - `true`: Enable public
|
|
852
|
-
*
|
|
853
|
-
* - `false`: Disable public network access. If disabled, you cannot access the cluster API Server from external networks.
|
|
824
|
+
* - `true`: Enable public access.
|
|
825
|
+
* - `false`: Disable public access. When disabled, the cluster API Server cannot be accessed from the Internet.
|
|
854
826
|
*
|
|
855
827
|
* Default value: `false`.
|
|
856
828
|
*
|
|
@@ -865,11 +837,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
865
837
|
extraSans?: string[];
|
|
866
838
|
/**
|
|
867
839
|
* @remarks
|
|
868
|
-
*
|
|
840
|
+
* [**This field is deprecated**] Selecting existing nodes when creating a cluster is no longer supported. To add existing nodes to a cluster, create a node pool first and call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) API.
|
|
869
841
|
*
|
|
870
|
-
*
|
|
842
|
+
* Whether to mount data disks on instances when creating a cluster with existing instances. Valid values:
|
|
871
843
|
*
|
|
872
|
-
* - `true`: Store containers and images on the data disk. Existing data on the data disk will be lost.
|
|
844
|
+
* - `true`: Store containers and images on the data disk. Existing data on the data disk will be lost. Please back up your data.
|
|
873
845
|
*
|
|
874
846
|
* - `false`: Do not store containers and images on the data disk.
|
|
875
847
|
*
|
|
@@ -877,9 +849,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
877
849
|
*
|
|
878
850
|
* Data disk mounting rules:
|
|
879
851
|
*
|
|
880
|
-
* - If the ECS instance has
|
|
881
|
-
*
|
|
882
|
-
* - If the ECS instance has no mounted data disks, no new data disks are mounted.
|
|
852
|
+
* - If the ECS instance already has data disks mounted and the file system of the last data disk is not initialized, the system will automatically format the data disk as ext4 to store /var/lib/docker and /var/lib/kubelet.
|
|
853
|
+
* - If the ECS instance has no data disks mounted, no new data disk will be mounted.
|
|
883
854
|
*
|
|
884
855
|
* @example
|
|
885
856
|
* false
|
|
@@ -889,9 +860,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
889
860
|
formatDisk?: boolean;
|
|
890
861
|
/**
|
|
891
862
|
* @remarks
|
|
892
|
-
*
|
|
863
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `image_id` parameter under `control_plane_config` instead. For node pool configuration, use the `image_id` parameter under `scaling_group` in `nodepool` instead.
|
|
893
864
|
*
|
|
894
|
-
* Custom node image.
|
|
865
|
+
* Custom node image. The system image is used by default. When a custom image is selected, it replaces the default system image. See [Custom images](https://help.aliyun.com/document_detail/146647.html).
|
|
895
866
|
*
|
|
896
867
|
* @example
|
|
897
868
|
* m-bp16z7xko3vvv8gt****
|
|
@@ -901,26 +872,18 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
901
872
|
imageId?: string;
|
|
902
873
|
/**
|
|
903
874
|
* @remarks
|
|
904
|
-
*
|
|
875
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `image_type` parameter under `control_plane_config` instead. For node pool configuration, use the `image_type` parameter under `scaling_group` in `nodepool` instead.
|
|
905
876
|
*
|
|
906
|
-
*
|
|
877
|
+
* OS distribution type. It is recommended to use this field to specify the node OS. Valid values:
|
|
907
878
|
*
|
|
908
879
|
* - CentOS
|
|
909
|
-
*
|
|
910
880
|
* - AliyunLinux
|
|
911
|
-
*
|
|
912
881
|
* - AliyunLinux Qboot
|
|
913
|
-
*
|
|
914
882
|
* - AliyunLinuxUEFI
|
|
915
|
-
*
|
|
916
883
|
* - AliyunLinux3
|
|
917
|
-
*
|
|
918
884
|
* - Windows
|
|
919
|
-
*
|
|
920
885
|
* - WindowsCore
|
|
921
|
-
*
|
|
922
886
|
* - AliyunLinux3Arm64
|
|
923
|
-
*
|
|
924
887
|
* - ContainerOS
|
|
925
888
|
*
|
|
926
889
|
* Default value: `CentOS`.
|
|
@@ -933,11 +896,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
933
896
|
imageType?: string;
|
|
934
897
|
/**
|
|
935
898
|
* @remarks
|
|
936
|
-
*
|
|
899
|
+
* [**This field is deprecated**] Selecting existing nodes when creating a cluster is no longer supported. To add existing nodes to a cluster, create a node pool first and call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) API.
|
|
937
900
|
*
|
|
938
|
-
* When using existing nodes to create a cluster, specify the ECS instance list. These instances are added as worker nodes to the cluster.
|
|
939
901
|
*
|
|
940
|
-
*
|
|
902
|
+
* When creating a cluster with existing nodes, you need to specify a list of ECS instances. These instances will join the cluster as Worker nodes.
|
|
903
|
+
*
|
|
904
|
+
* > This field is required when creating a cluster with existing instances.
|
|
941
905
|
*
|
|
942
906
|
* @deprecated
|
|
943
907
|
*/
|
|
@@ -954,12 +918,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
954
918
|
ipStack?: string;
|
|
955
919
|
/**
|
|
956
920
|
* @remarks
|
|
957
|
-
* Automatically create an
|
|
958
|
-
*
|
|
959
|
-
* > With basic security groups, the total number of nodes and Terway pods in a cluster cannot exceed 2,000. We recommend using advanced security groups for Terway network clusters.
|
|
921
|
+
* Automatically create an enterprise security group. Takes effect when `security_group_id` is empty.
|
|
960
922
|
*
|
|
961
|
-
*
|
|
923
|
+
* > When using a basic security group, the total number of nodes and Terway Pods in the cluster cannot exceed 2000. Therefore, when creating a Terway network type cluster, it is recommended to use an enterprise security group.
|
|
962
924
|
*
|
|
925
|
+
* - `true`: Create and use an enterprise security group.
|
|
963
926
|
* - `false`: Use a basic security group.
|
|
964
927
|
*
|
|
965
928
|
* Default value: `true`.
|
|
@@ -970,13 +933,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
970
933
|
isEnterpriseSecurityGroup?: boolean;
|
|
971
934
|
/**
|
|
972
935
|
* @remarks
|
|
973
|
-
*
|
|
936
|
+
* [**This field is deprecated**] Selecting existing nodes when creating a cluster is no longer supported. To add existing nodes to a cluster, create a node pool first and call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) API.
|
|
974
937
|
*
|
|
975
|
-
*
|
|
938
|
+
* Whether to retain instance names when creating a cluster with existing instances.
|
|
976
939
|
*
|
|
977
|
-
* - `true`:
|
|
978
|
-
*
|
|
979
|
-
* - `false`: Replace with system-generated names.
|
|
940
|
+
* - `true`: Retain.
|
|
941
|
+
* - `false`: Do not retain. Names will be replaced using system rules.
|
|
980
942
|
*
|
|
981
943
|
* Default value: `true`.
|
|
982
944
|
*
|
|
@@ -988,9 +950,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
988
950
|
keepInstanceName?: boolean;
|
|
989
951
|
/**
|
|
990
952
|
* @remarks
|
|
991
|
-
*
|
|
953
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `key_pair` parameter under `control_plane_config` instead. For node pool configuration, use the `key_pair` parameter under `scaling_group` in `nodepool` instead.
|
|
992
954
|
*
|
|
993
|
-
* Key pair name.
|
|
955
|
+
* Key pair name. Mutually exclusive with `login_password`.
|
|
994
956
|
*
|
|
995
957
|
* @example
|
|
996
958
|
* security-key
|
|
@@ -1000,11 +962,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1000
962
|
keyPair?: string;
|
|
1001
963
|
/**
|
|
1002
964
|
* @remarks
|
|
1003
|
-
* Cluster version,
|
|
965
|
+
* Cluster version, consistent with the Kubernetes community baseline version. We recommend selecting the latest version. If not specified, the latest version is used by default.
|
|
1004
966
|
*
|
|
1005
|
-
* You can create clusters
|
|
967
|
+
* You can create clusters of the three most recent versions. You can query supported cluster versions through the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) API.
|
|
1006
968
|
*
|
|
1007
|
-
* For
|
|
969
|
+
* For Kubernetes versions supported by ACK, see [Kubernetes version release overview](https://help.aliyun.com/document_detail/185269.html).
|
|
1008
970
|
*
|
|
1009
971
|
* @example
|
|
1010
972
|
* 1.32.1-aliyun.1
|
|
@@ -1012,9 +974,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1012
974
|
kubernetesVersion?: string;
|
|
1013
975
|
/**
|
|
1014
976
|
* @remarks
|
|
1015
|
-
* Specify the CLB instance ID for API Server access.
|
|
1016
|
-
*
|
|
1017
|
-
* > Ensure the CLB instance has no dependencies (such as listeners or backend servers). Shared and public CLB instances are not supported.
|
|
977
|
+
* Specify the CLB instance ID for API Server access. When this parameter is specified, an API Server CLB will not be automatically created.
|
|
978
|
+
* > Ensure that the CLB instance has no other dependencies (such as listeners or backend servers). Shared and public-network CLB instances are not supported.
|
|
1018
979
|
*
|
|
1019
980
|
* @example
|
|
1020
981
|
* lb-wz9t256gqa3vbouk****
|
|
@@ -1022,20 +983,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1022
983
|
loadBalancerId?: string;
|
|
1023
984
|
/**
|
|
1024
985
|
* @remarks
|
|
1025
|
-
*
|
|
1026
|
-
*
|
|
1027
|
-
* Load Balancer specification. Valid values:
|
|
986
|
+
* [**This parameter is deprecated**] CLB is billed by usage. This parameter does not take effect.
|
|
1028
987
|
*
|
|
988
|
+
* Load balancer specification. Valid values:
|
|
1029
989
|
* - slb.s1.small
|
|
1030
|
-
*
|
|
1031
990
|
* - slb.s2.small
|
|
1032
|
-
*
|
|
1033
991
|
* - slb.s2.medium
|
|
1034
|
-
*
|
|
1035
992
|
* - slb.s3.small
|
|
1036
|
-
*
|
|
1037
993
|
* - slb.s3.medium
|
|
1038
|
-
*
|
|
1039
994
|
* - slb.s3.large
|
|
1040
995
|
*
|
|
1041
996
|
* Default value: `slb.s2.small`.
|
|
@@ -1048,7 +1003,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1048
1003
|
loadBalancerSpec?: string;
|
|
1049
1004
|
/**
|
|
1050
1005
|
* @remarks
|
|
1051
|
-
*
|
|
1006
|
+
* [**This field is deprecated**] Enable Log Service for the cluster. Only takes effect for ACK Serverless clusters, and the value must be `SLS`.
|
|
1052
1007
|
*
|
|
1053
1008
|
* @example
|
|
1054
1009
|
* SLS
|
|
@@ -1058,9 +1013,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1058
1013
|
loggingType?: string;
|
|
1059
1014
|
/**
|
|
1060
1015
|
* @remarks
|
|
1061
|
-
*
|
|
1016
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `login_password` parameter under `control_plane_config` instead. For node pool configuration, use the `login_password` parameter under `scaling_group` in `nodepool` instead.
|
|
1062
1017
|
*
|
|
1063
|
-
* SSH login password.
|
|
1018
|
+
* SSH login password. Mutually exclusive with `key_pair`. The password must be 8 to 30 characters in length and contain at least three of the following: uppercase letters, lowercase letters, digits, and special characters.
|
|
1064
1019
|
*
|
|
1065
1020
|
* @example
|
|
1066
1021
|
* null
|
|
@@ -1075,12 +1030,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1075
1030
|
maintenanceWindow?: MaintenanceWindow;
|
|
1076
1031
|
/**
|
|
1077
1032
|
* @remarks
|
|
1078
|
-
*
|
|
1033
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `auto_renew` parameter under `control_plane_config` instead.
|
|
1079
1034
|
*
|
|
1080
|
-
* Whether to enable auto-renewal for
|
|
1035
|
+
* Whether to enable auto-renewal for Master nodes. Only takes effect when `master_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1081
1036
|
*
|
|
1082
1037
|
* - `true`: Enable auto-renewal.
|
|
1083
|
-
*
|
|
1084
1038
|
* - `false`: Disable auto-renewal.
|
|
1085
1039
|
*
|
|
1086
1040
|
* Default value: `true`.
|
|
@@ -1093,9 +1047,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1093
1047
|
masterAutoRenew?: boolean;
|
|
1094
1048
|
/**
|
|
1095
1049
|
* @remarks
|
|
1096
|
-
*
|
|
1050
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `auto_renew_period` parameter under `control_plane_config` instead.
|
|
1097
1051
|
*
|
|
1098
|
-
*
|
|
1052
|
+
* Master node auto-renewal period. Only takes effect when subscription billing type is selected, and is a required value.
|
|
1099
1053
|
*
|
|
1100
1054
|
* Valid values: {1, 2, 3, 6, 12}.
|
|
1101
1055
|
*
|
|
@@ -1109,9 +1063,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1109
1063
|
masterAutoRenewPeriod?: number;
|
|
1110
1064
|
/**
|
|
1111
1065
|
* @remarks
|
|
1112
|
-
*
|
|
1066
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `size` parameter under `control_plane_config` instead.
|
|
1113
1067
|
*
|
|
1114
|
-
* Number of
|
|
1068
|
+
* Number of Master nodes. Valid values: `3` or `5`.
|
|
1115
1069
|
*
|
|
1116
1070
|
* Default value: `3`.
|
|
1117
1071
|
*
|
|
@@ -1123,12 +1077,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1123
1077
|
masterCount?: number;
|
|
1124
1078
|
/**
|
|
1125
1079
|
* @remarks
|
|
1126
|
-
*
|
|
1080
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `instance_charge_type` parameter under `control_plane_config` instead.
|
|
1127
1081
|
*
|
|
1128
1082
|
* Master node billing type. Valid values:
|
|
1129
1083
|
*
|
|
1130
1084
|
* - `PrePaid`: Subscription.
|
|
1131
|
-
*
|
|
1132
1085
|
* - `PostPaid`: Pay-as-you-go.
|
|
1133
1086
|
*
|
|
1134
1087
|
* Default value: `PostPaid`.
|
|
@@ -1141,18 +1094,18 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1141
1094
|
masterInstanceChargeType?: string;
|
|
1142
1095
|
/**
|
|
1143
1096
|
* @remarks
|
|
1144
|
-
*
|
|
1097
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `instance_types` parameter under `control_plane_config` instead.
|
|
1145
1098
|
*
|
|
1146
|
-
* Master node instance types. For more information, see [Instance
|
|
1099
|
+
* Master node instance types. For more information, see [Instance family](https://help.aliyun.com/document_detail/25378.html).
|
|
1147
1100
|
*
|
|
1148
1101
|
* @deprecated
|
|
1149
1102
|
*/
|
|
1150
1103
|
masterInstanceTypes?: string[];
|
|
1151
1104
|
/**
|
|
1152
1105
|
* @remarks
|
|
1153
|
-
*
|
|
1106
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `unit` parameter under `control_plane_config` instead.
|
|
1154
1107
|
*
|
|
1155
|
-
*
|
|
1108
|
+
* Master node subscription duration. Valid and required when `master_instance_charge_type` is set to `PrePaid`.
|
|
1156
1109
|
*
|
|
1157
1110
|
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
1158
1111
|
*
|
|
@@ -1166,11 +1119,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1166
1119
|
masterPeriod?: number;
|
|
1167
1120
|
/**
|
|
1168
1121
|
* @remarks
|
|
1169
|
-
*
|
|
1122
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `period_unit` parameter under `control_plane_config` instead.
|
|
1170
1123
|
*
|
|
1171
|
-
* Master node billing
|
|
1124
|
+
* Master node billing period. Must be specified when the billing type is `PrePaid`.
|
|
1172
1125
|
*
|
|
1173
|
-
* Valid value: `Month`.
|
|
1126
|
+
* Valid value: `Month`. Currently, only month-based periods are supported.
|
|
1174
1127
|
*
|
|
1175
1128
|
* @example
|
|
1176
1129
|
* Month
|
|
@@ -1180,17 +1133,15 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1180
1133
|
masterPeriodUnit?: string;
|
|
1181
1134
|
/**
|
|
1182
1135
|
* @remarks
|
|
1183
|
-
*
|
|
1136
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `system_disk_category` parameter under `control_plane_config` instead.
|
|
1184
1137
|
*
|
|
1185
1138
|
* Master node system disk type. Valid values:
|
|
1186
1139
|
*
|
|
1187
1140
|
* - `cloud_efficiency`: Ultra disk.
|
|
1141
|
+
* - `cloud_ssd`: SSD disk.
|
|
1142
|
+
* - `cloud_essd`: ESSD disk.
|
|
1188
1143
|
*
|
|
1189
|
-
*
|
|
1190
|
-
*
|
|
1191
|
-
* - `cloud_essd`: ESSD.
|
|
1192
|
-
*
|
|
1193
|
-
* Default value: `cloud_ssd`. The default may vary by zone.
|
|
1144
|
+
* Default value: `cloud_ssd`. The default value may vary across availability zones.
|
|
1194
1145
|
*
|
|
1195
1146
|
* @example
|
|
1196
1147
|
* cloud_ssd
|
|
@@ -1200,9 +1151,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1200
1151
|
masterSystemDiskCategory?: string;
|
|
1201
1152
|
/**
|
|
1202
1153
|
* @remarks
|
|
1203
|
-
*
|
|
1154
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `system_disk_performance_level` parameter under `control_plane_config` instead.
|
|
1204
1155
|
*
|
|
1205
|
-
*
|
|
1156
|
+
* Cluster Master node system disk performance level. Only takes effect for ESSD disks. The performance level is related to the disk size. For more information, see [ESSD disk](https://help.aliyun.com/document_detail/122389.html).
|
|
1206
1157
|
*
|
|
1207
1158
|
* @example
|
|
1208
1159
|
* PL1
|
|
@@ -1212,9 +1163,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1212
1163
|
masterSystemDiskPerformanceLevel?: string;
|
|
1213
1164
|
/**
|
|
1214
1165
|
* @remarks
|
|
1215
|
-
*
|
|
1166
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `system_disk_size` parameter under `control_plane_config` instead.
|
|
1216
1167
|
*
|
|
1217
|
-
* Valid
|
|
1168
|
+
* Master node system disk size. Valid values: [40, 500\\]. Unit: GiB.
|
|
1218
1169
|
*
|
|
1219
1170
|
* Default value: `120`.
|
|
1220
1171
|
*
|
|
@@ -1226,9 +1177,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1226
1177
|
masterSystemDiskSize?: number;
|
|
1227
1178
|
/**
|
|
1228
1179
|
* @remarks
|
|
1229
|
-
*
|
|
1180
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `system_disk_snapshot_policy_id` parameter under `control_plane_config` instead.
|
|
1230
1181
|
*
|
|
1231
|
-
* Automatic snapshot policy ID for
|
|
1182
|
+
* Automatic snapshot policy ID for the Master node system disk.
|
|
1232
1183
|
*
|
|
1233
1184
|
* @example
|
|
1234
1185
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -1238,18 +1189,18 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1238
1189
|
masterSystemDiskSnapshotPolicyId?: string;
|
|
1239
1190
|
/**
|
|
1240
1191
|
* @remarks
|
|
1241
|
-
*
|
|
1192
|
+
* [**This field is deprecated**] Use the `vswitch_ids` parameter instead.
|
|
1242
1193
|
*
|
|
1243
|
-
* List of
|
|
1194
|
+
* List of Master node vSwitch IDs. The number of vSwitches ranges from [1, 3\\]. To ensure high availability of the cluster, it is recommended to select 3 vSwitches distributed in different availability zones.
|
|
1244
1195
|
*
|
|
1245
|
-
* The number of specified instance types must
|
|
1196
|
+
* The number of specified instance types must be consistent with `master_count` and correspond one-to-one with the elements in `master_vswitch_ids`.
|
|
1246
1197
|
*
|
|
1247
1198
|
* @deprecated
|
|
1248
1199
|
*/
|
|
1249
1200
|
masterVswitchIds?: string[];
|
|
1250
1201
|
/**
|
|
1251
1202
|
* @remarks
|
|
1252
|
-
* Custom cluster name.
|
|
1203
|
+
* Custom cluster name. Consists of digits, Chinese characters, English characters, or hyphens (-), with a length of 1 to 63 characters, and cannot start with a hyphen (-).
|
|
1253
1204
|
*
|
|
1254
1205
|
* This parameter is required.
|
|
1255
1206
|
*
|
|
@@ -1259,7 +1210,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1259
1210
|
name?: string;
|
|
1260
1211
|
/**
|
|
1261
1212
|
* @remarks
|
|
1262
|
-
*
|
|
1213
|
+
* [**This field is deprecated**] Use the `snat_entry` parameter instead.
|
|
1263
1214
|
*
|
|
1264
1215
|
* @example
|
|
1265
1216
|
* true
|
|
@@ -1269,7 +1220,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1269
1220
|
natGateway?: boolean;
|
|
1270
1221
|
/**
|
|
1271
1222
|
* @remarks
|
|
1272
|
-
* Number of node
|
|
1223
|
+
* Number of node IPs, determined by specifying the network CIDR. Only takes effect for Flannel network type clusters.
|
|
1273
1224
|
*
|
|
1274
1225
|
* Default value: `26`.
|
|
1275
1226
|
*
|
|
@@ -1279,7 +1230,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1279
1230
|
nodeCidrMask?: string;
|
|
1280
1231
|
/**
|
|
1281
1232
|
* @remarks
|
|
1282
|
-
*
|
|
1233
|
+
* [**This field is deprecated**] For node pool configuration, use the `node_name_mode` parameter under `kubernetes_config` in `nodepool` instead.
|
|
1283
1234
|
*
|
|
1284
1235
|
* @example
|
|
1285
1236
|
* null
|
|
@@ -1289,7 +1240,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1289
1240
|
nodeNameMode?: string;
|
|
1290
1241
|
/**
|
|
1291
1242
|
* @remarks
|
|
1292
|
-
* Node service port range: [30000,65535].
|
|
1243
|
+
* Node service ports. Valid port range: [30000, 65535\\].
|
|
1293
1244
|
*
|
|
1294
1245
|
* Default value: `30000-32767`.
|
|
1295
1246
|
*
|
|
@@ -1301,14 +1252,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1301
1252
|
nodePortRange?: string;
|
|
1302
1253
|
/**
|
|
1303
1254
|
* @remarks
|
|
1304
|
-
*
|
|
1255
|
+
* Node pool list.
|
|
1305
1256
|
*/
|
|
1306
1257
|
nodepools?: Nodepool[];
|
|
1307
1258
|
/**
|
|
1308
1259
|
* @remarks
|
|
1309
|
-
*
|
|
1260
|
+
* [**This field is deprecated**] For node pool configuration, use the `desired_size` parameter under `scaling_group` in `nodepool` instead.
|
|
1310
1261
|
*
|
|
1311
|
-
* Number of
|
|
1262
|
+
* Number of Worker nodes. Range: [0, 100\\].
|
|
1312
1263
|
*
|
|
1313
1264
|
* @example
|
|
1314
1265
|
* 3
|
|
@@ -1318,17 +1269,15 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1318
1269
|
numOfNodes?: number;
|
|
1319
1270
|
/**
|
|
1320
1271
|
* @remarks
|
|
1321
|
-
* Cluster
|
|
1272
|
+
* Cluster automatic O&M policy.
|
|
1322
1273
|
*/
|
|
1323
1274
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
1324
1275
|
/**
|
|
1325
1276
|
* @remarks
|
|
1326
|
-
*
|
|
1327
|
-
*
|
|
1328
|
-
* Operating system platform type. Valid values:
|
|
1277
|
+
* [**This field is deprecated**] For cluster control plane node configuration, use the `image_type` parameter under `control_plane_config` instead. For node pool configuration, use the `image_type` parameter under `scaling_group` in `nodepool` instead.
|
|
1329
1278
|
*
|
|
1279
|
+
* OS platform type. Valid values:
|
|
1330
1280
|
* - Windows
|
|
1331
|
-
*
|
|
1332
1281
|
* - Linux
|
|
1333
1282
|
*
|
|
1334
1283
|
* Default value: `Linux`.
|
|
@@ -1341,15 +1290,15 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1341
1290
|
osType?: string;
|
|
1342
1291
|
/**
|
|
1343
1292
|
* @remarks
|
|
1344
|
-
* **
|
|
1293
|
+
* [**This field is deprecated**]
|
|
1345
1294
|
*
|
|
1346
|
-
*
|
|
1295
|
+
* Purchase duration. Subscription duration. Valid and required when charge_type is set to PrePaid.
|
|
1347
1296
|
*
|
|
1348
1297
|
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
1349
1298
|
*
|
|
1350
1299
|
* Default value: 1.
|
|
1351
1300
|
*
|
|
1352
|
-
* This
|
|
1301
|
+
* This field was changed on October 15, 2024. For more information, see [Announcement on CreateCluster API parameter behavior changes](https://help.aliyun.com/document_detail/2849194.html).
|
|
1353
1302
|
*
|
|
1354
1303
|
* @example
|
|
1355
1304
|
* 1
|
|
@@ -1359,13 +1308,13 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1359
1308
|
period?: number;
|
|
1360
1309
|
/**
|
|
1361
1310
|
* @remarks
|
|
1362
|
-
* **
|
|
1311
|
+
* [**This field is deprecated**]
|
|
1363
1312
|
*
|
|
1364
|
-
* Billing
|
|
1313
|
+
* Billing period. Must be specified when the billing type is PrePaid.
|
|
1365
1314
|
*
|
|
1366
|
-
* Valid value: Month.
|
|
1315
|
+
* Valid value: Month. Currently, only month-based periods are supported.
|
|
1367
1316
|
*
|
|
1368
|
-
* This
|
|
1317
|
+
* This field was changed on October 15, 2024. For more information, see [Announcement on CreateCluster API parameter behavior changes](https://help.aliyun.com/document_detail/2849194.html).
|
|
1369
1318
|
*
|
|
1370
1319
|
* @example
|
|
1371
1320
|
* Month
|
|
@@ -1375,20 +1324,15 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1375
1324
|
periodUnit?: string;
|
|
1376
1325
|
/**
|
|
1377
1326
|
* @remarks
|
|
1378
|
-
*
|
|
1327
|
+
* [**This field is deprecated**] For node pool configuration, use the `platform` parameter under `scaling_group` in `nodepool` instead.
|
|
1379
1328
|
*
|
|
1380
|
-
*
|
|
1329
|
+
* OS distribution. Valid values:
|
|
1381
1330
|
*
|
|
1382
1331
|
* - CentOS
|
|
1383
|
-
*
|
|
1384
1332
|
* - AliyunLinux
|
|
1385
|
-
*
|
|
1386
1333
|
* - QbootAliyunLinux
|
|
1387
|
-
*
|
|
1388
1334
|
* - Qboot
|
|
1389
|
-
*
|
|
1390
1335
|
* - Windows
|
|
1391
|
-
*
|
|
1392
1336
|
* - WindowsCore
|
|
1393
1337
|
*
|
|
1394
1338
|
* Default value: `CentOS`.
|
|
@@ -1401,24 +1345,19 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1401
1345
|
platform?: string;
|
|
1402
1346
|
/**
|
|
1403
1347
|
* @remarks
|
|
1404
|
-
*
|
|
1405
|
-
*
|
|
1406
|
-
* > We recommend that the pod virtual switch CIDR mask not exceed /19 and must not exceed /25. Otherwise, the number of assignable pod IP addresses becomes very limited, affecting normal cluster operation.
|
|
1348
|
+
* [**This field is deprecated**] When using the Terway network plugin, you need to specify vSwitches for Pod IP allocation. Each Pod vSwitch corresponds to a Worker node vSwitch, and the availability zones of Pod vSwitches and Worker node vSwitches must be consistent.
|
|
1349
|
+
* > The CIDR mask of Pod vSwitches should not exceed 19 and must not exceed 25; otherwise, the available Pod IP addresses in the cluster network will be very limited, affecting normal cluster usage.
|
|
1407
1350
|
*
|
|
1408
1351
|
* @deprecated
|
|
1409
1352
|
*/
|
|
1410
1353
|
podVswitchIds?: string[];
|
|
1411
1354
|
/**
|
|
1412
1355
|
* @remarks
|
|
1413
|
-
* When
|
|
1414
|
-
*
|
|
1415
|
-
* - `
|
|
1416
|
-
*
|
|
1417
|
-
* - `
|
|
1418
|
-
*
|
|
1419
|
-
* - `Serverless`: ACK serverless cluster, including ACK serverless clusters (Pro Edition, Basic Edition).
|
|
1420
|
-
*
|
|
1421
|
-
* - `Lingjun`: ACK LINGJUN cluster, available only in Pro Edition.
|
|
1356
|
+
* When `cluster_type` is set to `ManagedKubernetes`, you can further specify the cluster subtype.
|
|
1357
|
+
* - `Default`: ACK managed cluster, including ACK cluster (Pro and Basic editions).
|
|
1358
|
+
* - `Edge`: ACK Edge cluster, including ACK Edge cluster (Pro and Basic editions).
|
|
1359
|
+
* - `Serverless`: ACK Serverless cluster, including ACK Serverless cluster (Pro and Basic editions).
|
|
1360
|
+
* - `Lingjun`: ACK Lingjun cluster, available in Pro edition.
|
|
1422
1361
|
*
|
|
1423
1362
|
* @example
|
|
1424
1363
|
* Default
|
|
@@ -1426,14 +1365,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1426
1365
|
profile?: string;
|
|
1427
1366
|
/**
|
|
1428
1367
|
* @remarks
|
|
1429
|
-
* kube-proxy
|
|
1430
|
-
*
|
|
1431
|
-
* - `iptables`: A mature and stable kube-proxy mode. Kubernetes Service discovery and load balancing use iptables rules. Performance is moderate and scales poorly with large numbers of Services. Suitable for clusters with few Services.
|
|
1432
|
-
*
|
|
1433
|
-
* - `ipvs`: A high-performance kube-proxy mode. Kubernetes Service discovery and load balancing use the Linux IPVS module. Suitable for clusters with many Services requiring high-performance load balancing.
|
|
1368
|
+
* kube-proxy mode
|
|
1434
1369
|
*
|
|
1435
|
-
* - `
|
|
1436
|
-
*
|
|
1370
|
+
* - `iptables`: A mature and stable kube-proxy mode. Kubernetes Service discovery and load balancing are configured using iptables rules. Performance is average and significantly affected by scale, suitable for clusters with a small number of Services.
|
|
1371
|
+
* - `ipvs`: A high-performance kube-proxy mode. Kubernetes Service discovery and load balancing are configured using the Linux IPVS module, suitable for clusters with a large number of Services that require high-performance load balancing.
|
|
1372
|
+
* - `nftables`: Next-generation kube-proxy mode based on Linux nftables for Service discovery and load balancing. It is a modern replacement for iptables. Compared to iptables, nftables performs better in network performance, rule update efficiency, and large-scale Service scenarios.
|
|
1373
|
+
* Only supported for clusters of version 1.35 and above. The Kubernetes community deprecated IPVS starting from version 1.35. It is recommended to use nftables for new clusters for longer-term community support.
|
|
1437
1374
|
*
|
|
1438
1375
|
* Default value: `ipvs`.
|
|
1439
1376
|
*
|
|
@@ -1443,16 +1380,16 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1443
1380
|
proxyMode?: string;
|
|
1444
1381
|
/**
|
|
1445
1382
|
* @remarks
|
|
1446
|
-
*
|
|
1383
|
+
* [**This field is deprecated**] For node pool configuration, use the `rds_instances` parameter under `scaling_group` in `nodepool` instead.
|
|
1447
1384
|
*
|
|
1448
|
-
* List of RDS instances to add to the whitelist.
|
|
1385
|
+
* List of RDS instances. Select the RDS instances you want to add to the whitelist. It is recommended to add the container Pod CIDR block and Node CIDR block in RDS. Setting RDS instances may fail to pop up due to non-running instance status.
|
|
1449
1386
|
*
|
|
1450
1387
|
* @deprecated
|
|
1451
1388
|
*/
|
|
1452
1389
|
rdsInstances?: string[];
|
|
1453
1390
|
/**
|
|
1454
1391
|
* @remarks
|
|
1455
|
-
* The region ID where the cluster is
|
|
1392
|
+
* The region ID where the cluster is located. For details, see [Regions supported by Container Service](https://help.aliyun.com/document_detail/216938.html).
|
|
1456
1393
|
*
|
|
1457
1394
|
* This parameter is required.
|
|
1458
1395
|
*
|
|
@@ -1462,7 +1399,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1462
1399
|
regionId?: string;
|
|
1463
1400
|
/**
|
|
1464
1401
|
* @remarks
|
|
1465
|
-
* The resource group ID to which the cluster belongs, used
|
|
1402
|
+
* The resource group ID to which the cluster belongs, used for isolating different resources.
|
|
1466
1403
|
*
|
|
1467
1404
|
* @example
|
|
1468
1405
|
* rg-acfm3mkrure****
|
|
@@ -1475,8 +1412,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1475
1412
|
rrsaConfig?: CreateClusterRequestRrsaConfig;
|
|
1476
1413
|
/**
|
|
1477
1414
|
* @remarks
|
|
1478
|
-
* Container runtime
|
|
1479
|
-
*
|
|
1415
|
+
* Container runtime in the cluster. Supports containerd, sandboxed containers, and Docker.
|
|
1480
1416
|
* > Kubernetes 1.24 no longer supports Docker as a built-in container runtime.
|
|
1481
1417
|
*
|
|
1482
1418
|
* For more information, see [Comparison of Docker, containerd, and sandboxed container runtimes](https://help.aliyun.com/document_detail/160313.html).
|
|
@@ -1486,7 +1422,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1486
1422
|
runtime?: Runtime;
|
|
1487
1423
|
/**
|
|
1488
1424
|
* @remarks
|
|
1489
|
-
* Specify
|
|
1425
|
+
* Specify the security group ID when creating a cluster with an existing security group. Mutually exclusive with `is_enterprise_security_group`. Cluster nodes are automatically added to this security group.
|
|
1490
1426
|
*
|
|
1491
1427
|
* @example
|
|
1492
1428
|
* sg-bp1bdue0qc1g7k****
|
|
@@ -1494,12 +1430,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1494
1430
|
securityGroupId?: string;
|
|
1495
1431
|
/**
|
|
1496
1432
|
* @remarks
|
|
1497
|
-
*
|
|
1433
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `security_hardening_os` parameter under `control_plane_config` instead. For node pool configuration, use the `security_hardening_os` parameter under `scaling_group` in `nodepool` instead.
|
|
1498
1434
|
*
|
|
1499
1435
|
* Alibaba Cloud OS security hardening. Valid values:
|
|
1500
1436
|
*
|
|
1501
1437
|
* - `true`: Enable Alibaba Cloud OS security hardening.
|
|
1502
|
-
*
|
|
1503
1438
|
* - `false`: Disable Alibaba Cloud OS security hardening.
|
|
1504
1439
|
*
|
|
1505
1440
|
* Default value: `false`.
|
|
@@ -1512,9 +1447,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1512
1447
|
securityHardeningOs?: boolean;
|
|
1513
1448
|
/**
|
|
1514
1449
|
* @remarks
|
|
1515
|
-
* ServiceAccount is the access credential
|
|
1450
|
+
* ServiceAccount is the access credential for communication between Pods and the cluster API Server. `service-account-issuer` is the issuer identity in the `serviceaccount token`, i.e., the `iss` field in the `token payload`.
|
|
1516
1451
|
*
|
|
1517
|
-
* For more
|
|
1452
|
+
* For more details about `ServiceAccount`, see [Deploy service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
1518
1453
|
*
|
|
1519
1454
|
* @example
|
|
1520
1455
|
* kubernetes.default.svc
|
|
@@ -1522,8 +1457,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1522
1457
|
serviceAccountIssuer?: string;
|
|
1523
1458
|
/**
|
|
1524
1459
|
* @remarks
|
|
1525
|
-
* Service network CIDR block. Valid ranges: 10.0.0.0/16-24, 172.16.0.0/16-24
|
|
1526
|
-
* It cannot overlap with the VPC CIDR block 10.1.0.0/21 or existing Kubernetes cluster CIDR blocks in the VPC. This cannot be modified after cluster creation.
|
|
1460
|
+
* Service network CIDR block. Valid ranges: 10.0.0.0/16-24, 172.16-31.0.0/16-24, 192.168.0.0/16-24. Cannot overlap with VPC CIDR block 10.1.0.0/21 or CIDR blocks used by existing Kubernetes clusters in the VPC. Cannot be modified after creation.
|
|
1527
1461
|
*
|
|
1528
1462
|
* Default value: 172.19.0.0/20.
|
|
1529
1463
|
*
|
|
@@ -1533,13 +1467,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1533
1467
|
serviceCidr?: string;
|
|
1534
1468
|
/**
|
|
1535
1469
|
* @remarks
|
|
1536
|
-
*
|
|
1537
|
-
*
|
|
1538
|
-
* - `CoreDNS`: Uses the standard Kubernetes service discovery component CoreDNS. Requires deploying a set of containers for DNS resolution. Defaults to two ECI instances with 0.25 vCPU and 512 MiB memory each.
|
|
1470
|
+
* [**This field is deprecated**] Service discovery type within the cluster, used to specify the service discovery method in `ACK Serverless` clusters.
|
|
1539
1471
|
*
|
|
1540
|
-
* - `
|
|
1472
|
+
* - `CoreDNS`: Uses the Kubernetes native standard service discovery component CoreDNS. A set of containers needs to be deployed in the cluster for DNS resolution. By default, two ECI instances with 0.25 Core 512 MiB specifications are used.
|
|
1473
|
+
* - `PrivateZone`: Uses the Alibaba Cloud PrivateZone product for service discovery capabilities. The PrivateZone service needs to be enabled.
|
|
1541
1474
|
*
|
|
1542
|
-
* Default value:
|
|
1475
|
+
* Default value: Not enabled.
|
|
1543
1476
|
*
|
|
1544
1477
|
* @deprecated
|
|
1545
1478
|
*/
|
|
@@ -1548,11 +1481,10 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1548
1481
|
* @remarks
|
|
1549
1482
|
* Configure SNAT for the VPC. Valid values:
|
|
1550
1483
|
*
|
|
1551
|
-
* - `true`: Automatically create a NAT
|
|
1484
|
+
* - `true`: Automatically create a NAT gateway and configure SNAT rules. Set to `true` if nodes and applications in the cluster need to access the Internet.
|
|
1485
|
+
* - `false`: Do not create a NAT gateway or SNAT rules. Nodes and applications in the cluster will not be able to access the Internet.
|
|
1552
1486
|
*
|
|
1553
|
-
*
|
|
1554
|
-
*
|
|
1555
|
-
* > If you do not enable this during cluster creation but later need public network access, you can [enable it manually](https://help.aliyun.com/document_detail/178480.html).
|
|
1487
|
+
* > If not enabled during cluster creation and the business later requires Internet access, you can [manually enable it](https://help.aliyun.com/document_detail/178480.html).
|
|
1556
1488
|
*
|
|
1557
1489
|
* Default value: `false`.
|
|
1558
1490
|
*
|
|
@@ -1562,15 +1494,13 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1562
1494
|
snatEntry?: boolean;
|
|
1563
1495
|
/**
|
|
1564
1496
|
* @remarks
|
|
1565
|
-
*
|
|
1497
|
+
* [**This field is deprecated**] For cluster control plane node configuration, use the `soc_enabled` parameter under `control_plane_config` instead. For node pool configuration, use the `soc_enabled` parameter under `scaling_group` in `nodepool` instead.
|
|
1566
1498
|
*
|
|
1567
|
-
*
|
|
1499
|
+
* Classified protection hardening. For more information, see [ACK classified protection hardening user guide](https://help.aliyun.com/document_detail/196148.html).
|
|
1568
1500
|
*
|
|
1569
1501
|
* Valid values:
|
|
1570
|
-
*
|
|
1571
|
-
* - `
|
|
1572
|
-
*
|
|
1573
|
-
* - `false`: Disable MLPS 2.0 security hardening.
|
|
1502
|
+
* - `true`: Enable classified protection hardening.
|
|
1503
|
+
* - `false`: Disable classified protection hardening.
|
|
1574
1504
|
*
|
|
1575
1505
|
* Default value: `false`.
|
|
1576
1506
|
*
|
|
@@ -1582,10 +1512,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1582
1512
|
socEnabled?: boolean;
|
|
1583
1513
|
/**
|
|
1584
1514
|
* @remarks
|
|
1585
|
-
* Whether to enable public SSH
|
|
1586
|
-
*
|
|
1515
|
+
* Whether to enable public SSH login. Used for logging in to Master nodes of ACK dedicated clusters. This parameter does not take effect in managed clusters.
|
|
1587
1516
|
* - `true`: Enable.
|
|
1588
|
-
*
|
|
1589
1517
|
* - `false`: Disable.
|
|
1590
1518
|
*
|
|
1591
1519
|
* Default value: `false`.
|
|
@@ -1596,27 +1524,26 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1596
1524
|
sshFlags?: boolean;
|
|
1597
1525
|
/**
|
|
1598
1526
|
* @remarks
|
|
1599
|
-
* Node
|
|
1527
|
+
* Node tags. Tag definition rules:
|
|
1600
1528
|
*
|
|
1601
|
-
* -
|
|
1602
|
-
*
|
|
1603
|
-
* - Tag keys must be unique and up to 64 characters long. Tag values can be empty and up to 128 characters long. Neither tag keys nor tag values can 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).
|
|
1529
|
+
* - Tags consist of case-sensitive key-value pairs. You can set up to 20 tags.
|
|
1530
|
+
* - Tag keys cannot be duplicated, with a maximum length of 64 characters; tag values can be empty, with a maximum length of 128 characters. Neither tag keys nor tag values can start with “aliyun”, “acs:”, “https://”, or “http://”. For details, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
1604
1531
|
*/
|
|
1605
1532
|
tags?: Tag[];
|
|
1606
1533
|
/**
|
|
1607
1534
|
* @remarks
|
|
1608
|
-
*
|
|
1535
|
+
* [**This field is deprecated**] For node pool configuration, use the `taints` parameter under `kubernetes_config` in `nodepool` instead.
|
|
1609
1536
|
*
|
|
1610
|
-
* Node taint information. Taints and tolerations work together to prevent
|
|
1537
|
+
* Node taint information. Taints and tolerations work together to prevent Pods from being scheduled on inappropriate nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
1611
1538
|
*
|
|
1612
1539
|
* @deprecated
|
|
1613
1540
|
*/
|
|
1614
1541
|
taints?: Taint[];
|
|
1615
1542
|
/**
|
|
1616
1543
|
* @remarks
|
|
1617
|
-
*
|
|
1544
|
+
* [**This field is deprecated**] By default, no rollback is performed when cluster creation fails. You need to clean up the failed cluster yourself.
|
|
1618
1545
|
*
|
|
1619
|
-
* Cluster creation timeout
|
|
1546
|
+
* Cluster creation timeout. Unit: minutes.
|
|
1620
1547
|
*
|
|
1621
1548
|
* Default value: `60`.
|
|
1622
1549
|
*
|
|
@@ -1628,7 +1555,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1628
1555
|
timeoutMins?: number;
|
|
1629
1556
|
/**
|
|
1630
1557
|
* @remarks
|
|
1631
|
-
*
|
|
1558
|
+
* The timezone used by the cluster. See [Supported timezones](https://help.aliyun.com/document_detail/354879.html).
|
|
1632
1559
|
*
|
|
1633
1560
|
* @example
|
|
1634
1561
|
* Asia/Shanghai
|
|
@@ -1644,7 +1571,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1644
1571
|
userCa?: string;
|
|
1645
1572
|
/**
|
|
1646
1573
|
* @remarks
|
|
1647
|
-
*
|
|
1574
|
+
* [**This field is deprecated**] Custom node data.
|
|
1648
1575
|
*
|
|
1649
1576
|
* @example
|
|
1650
1577
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -1654,7 +1581,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1654
1581
|
userData?: string;
|
|
1655
1582
|
/**
|
|
1656
1583
|
* @remarks
|
|
1657
|
-
* The VPC used by the cluster.
|
|
1584
|
+
* The VPC used by the cluster. Must be provided when creating a cluster.
|
|
1658
1585
|
*
|
|
1659
1586
|
* @example
|
|
1660
1587
|
* vpc-2zeik9h3ahvv2zz95****
|
|
@@ -1662,17 +1589,16 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1662
1589
|
vpcid?: string;
|
|
1663
1590
|
/**
|
|
1664
1591
|
* @remarks
|
|
1665
|
-
*
|
|
1592
|
+
* vSwitches for cluster nodes. This field is required when creating a zero-node managed cluster.
|
|
1666
1593
|
*/
|
|
1667
1594
|
vswitchIds?: string[];
|
|
1668
1595
|
/**
|
|
1669
1596
|
* @remarks
|
|
1670
|
-
*
|
|
1597
|
+
* [**This field is deprecated**] For node pool configuration, use the `auto_renew` parameter under `scaling_group` in `nodepool` instead.
|
|
1671
1598
|
*
|
|
1672
|
-
* Whether to enable auto-renewal for
|
|
1599
|
+
* Whether to enable auto-renewal for Worker nodes. Only takes effect when `worker_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1673
1600
|
*
|
|
1674
1601
|
* - `true`: Enable auto-renewal.
|
|
1675
|
-
*
|
|
1676
1602
|
* - `false`: Disable auto-renewal.
|
|
1677
1603
|
*
|
|
1678
1604
|
* Default value: `true`.
|
|
@@ -1685,9 +1611,10 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1685
1611
|
workerAutoRenew?: boolean;
|
|
1686
1612
|
/**
|
|
1687
1613
|
* @remarks
|
|
1688
|
-
*
|
|
1614
|
+
* [**This field is deprecated**] For node pool configuration, use the `auto_renew_period` parameter under `scaling_group` in `nodepool` instead.
|
|
1689
1615
|
*
|
|
1690
|
-
*
|
|
1616
|
+
*
|
|
1617
|
+
* Worker node auto-renewal period. Only takes effect when subscription billing type is selected, and is a required value.
|
|
1691
1618
|
*
|
|
1692
1619
|
* Valid values: {1, 2, 3, 6, 12}.
|
|
1693
1620
|
*
|
|
@@ -1699,21 +1626,20 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1699
1626
|
workerAutoRenewPeriod?: number;
|
|
1700
1627
|
/**
|
|
1701
1628
|
* @remarks
|
|
1702
|
-
*
|
|
1629
|
+
* [**This field is deprecated**] For node pool configuration, use the `data_disks` parameter under `scaling_group` in `nodepool` instead.
|
|
1703
1630
|
*
|
|
1704
|
-
*
|
|
1631
|
+
* Combination of Worker node data disk type, size, and other configurations.
|
|
1705
1632
|
*
|
|
1706
1633
|
* @deprecated
|
|
1707
1634
|
*/
|
|
1708
1635
|
workerDataDisks?: CreateClusterRequestWorkerDataDisks[];
|
|
1709
1636
|
/**
|
|
1710
1637
|
* @remarks
|
|
1711
|
-
*
|
|
1638
|
+
* [**This field is deprecated**] For node pool configuration, use the `instance_charge_type` parameter under `scaling_group` in `nodepool` instead.
|
|
1712
1639
|
*
|
|
1713
1640
|
* Worker node billing type. Valid values:
|
|
1714
1641
|
*
|
|
1715
1642
|
* - `PrePaid`: Subscription.
|
|
1716
|
-
*
|
|
1717
1643
|
* - `PostPaid`: Pay-as-you-go.
|
|
1718
1644
|
*
|
|
1719
1645
|
* Default value: Pay-as-you-go.
|
|
@@ -1726,7 +1652,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1726
1652
|
workerInstanceChargeType?: string;
|
|
1727
1653
|
/**
|
|
1728
1654
|
* @remarks
|
|
1729
|
-
*
|
|
1655
|
+
* [**This field is deprecated**] For node pool configuration, use the `instance_types` parameter under `scaling_group` in `nodepool` instead.
|
|
1730
1656
|
*
|
|
1731
1657
|
* Worker node instance configuration.
|
|
1732
1658
|
*
|
|
@@ -1735,9 +1661,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1735
1661
|
workerInstanceTypes?: string[];
|
|
1736
1662
|
/**
|
|
1737
1663
|
* @remarks
|
|
1738
|
-
*
|
|
1664
|
+
* [**This field is deprecated**] For node pool configuration, use the `period` parameter under `scaling_group` in `nodepool` instead.
|
|
1739
1665
|
*
|
|
1740
|
-
*
|
|
1666
|
+
* Worker node subscription duration. Valid and required when `worker_instance_charge_type` is set to `PrePaid`.
|
|
1741
1667
|
*
|
|
1742
1668
|
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
1743
1669
|
*
|
|
@@ -1751,11 +1677,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1751
1677
|
workerPeriod?: number;
|
|
1752
1678
|
/**
|
|
1753
1679
|
* @remarks
|
|
1754
|
-
*
|
|
1680
|
+
* [**This field is deprecated**] For node pool configuration, use the `period_unit` parameter under `scaling_group` in `nodepool` instead.
|
|
1755
1681
|
*
|
|
1756
|
-
* Worker node billing
|
|
1682
|
+
* Worker node billing period. Must be specified when the billing type is `PrePaid`.
|
|
1757
1683
|
*
|
|
1758
|
-
* Valid value: `Month`.
|
|
1684
|
+
* Valid value: `Month`. Currently, only month-based periods are supported.
|
|
1759
1685
|
*
|
|
1760
1686
|
* @example
|
|
1761
1687
|
* Month
|
|
@@ -1765,15 +1691,15 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1765
1691
|
workerPeriodUnit?: string;
|
|
1766
1692
|
/**
|
|
1767
1693
|
* @remarks
|
|
1768
|
-
*
|
|
1694
|
+
* [**This field is deprecated**] For node pool configuration, use the `system_disk_category` parameter under `scaling_group` in `nodepool` instead.
|
|
1769
1695
|
*
|
|
1770
|
-
* Worker node system disk type. For more information, see [
|
|
1696
|
+
* Worker node system disk type. For more information, see [Block storage overview](https://help.aliyun.com/document_detail/63136.html).
|
|
1771
1697
|
*
|
|
1772
1698
|
* Valid values:
|
|
1773
1699
|
*
|
|
1774
1700
|
* - `cloud_efficiency`: Ultra disk.
|
|
1701
|
+
* - `cloud_ssd`: SSD disk.
|
|
1775
1702
|
*
|
|
1776
|
-
* - `cloud_ssd`: Standard SSD.
|
|
1777
1703
|
*
|
|
1778
1704
|
* Default value: `cloud_ssd`.
|
|
1779
1705
|
*
|
|
@@ -1785,18 +1711,15 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1785
1711
|
workerSystemDiskCategory?: string;
|
|
1786
1712
|
/**
|
|
1787
1713
|
* @remarks
|
|
1788
|
-
*
|
|
1714
|
+
* [**This field is deprecated**] For node pool configuration, use the `system_disk_performance_level` parameter under `scaling_group` in `nodepool` instead.
|
|
1789
1715
|
*
|
|
1790
|
-
* When the system disk is an ESSD, you can set the
|
|
1716
|
+
* When the system disk is an ESSD disk, you can set the Performance Level (PL) of the ESSD disk. For more information, see [ESSD disk](https://help.aliyun.com/document_detail/122389.html).
|
|
1791
1717
|
*
|
|
1792
1718
|
* Valid values:
|
|
1793
1719
|
*
|
|
1794
1720
|
* - PL0
|
|
1795
|
-
*
|
|
1796
1721
|
* - PL1
|
|
1797
|
-
*
|
|
1798
1722
|
* - PL2
|
|
1799
|
-
*
|
|
1800
1723
|
* - PL3
|
|
1801
1724
|
*
|
|
1802
1725
|
* @example
|
|
@@ -1807,13 +1730,13 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1807
1730
|
workerSystemDiskPerformanceLevel?: string;
|
|
1808
1731
|
/**
|
|
1809
1732
|
* @remarks
|
|
1810
|
-
*
|
|
1733
|
+
* [**This field is deprecated**] For node pool configuration, use the `system_disk_size` parameter under `scaling_group` in `nodepool` instead.
|
|
1811
1734
|
*
|
|
1812
|
-
* Worker node system disk size
|
|
1735
|
+
* Worker node system disk size. Unit: GiB.
|
|
1813
1736
|
*
|
|
1814
|
-
* Valid
|
|
1737
|
+
* Valid values: [40, 500\\].
|
|
1815
1738
|
*
|
|
1816
|
-
*
|
|
1739
|
+
* The value must be greater than or equal to max{40, ImageSize}.
|
|
1817
1740
|
*
|
|
1818
1741
|
* Default value: `120`.
|
|
1819
1742
|
*
|
|
@@ -1825,9 +1748,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1825
1748
|
workerSystemDiskSize?: number;
|
|
1826
1749
|
/**
|
|
1827
1750
|
* @remarks
|
|
1828
|
-
*
|
|
1751
|
+
* [**This field is deprecated**] For node pool configuration, use the `system_disk_snapshot_policy_id` parameter under `scaling_group` in `nodepool` instead.
|
|
1829
1752
|
*
|
|
1830
|
-
* Automatic snapshot policy ID for
|
|
1753
|
+
* Automatic snapshot policy ID for the Worker node system disk.
|
|
1831
1754
|
*
|
|
1832
1755
|
* @example
|
|
1833
1756
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -1837,22 +1760,22 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1837
1760
|
workerSystemDiskSnapshotPolicyId?: string;
|
|
1838
1761
|
/**
|
|
1839
1762
|
* @remarks
|
|
1840
|
-
*
|
|
1763
|
+
* [**This field is deprecated**] For node pool configuration, use the `vswitch_ids` parameter under `scaling_group` in `nodepool` instead.
|
|
1841
1764
|
*
|
|
1842
1765
|
* List of vSwitches used by cluster nodes. One node corresponds to one value.
|
|
1843
1766
|
*
|
|
1844
|
-
* When creating a zero-node managed cluster, `worker_vswitch_ids` is
|
|
1767
|
+
* When creating a zero-node managed cluster, the `worker_vswitch_ids` field is not required, but `vswitch_ids` must be provided.
|
|
1845
1768
|
*
|
|
1846
1769
|
* @deprecated
|
|
1847
1770
|
*/
|
|
1848
1771
|
workerVswitchIds?: string[];
|
|
1849
1772
|
/**
|
|
1850
1773
|
* @remarks
|
|
1851
|
-
*
|
|
1774
|
+
* [**This field is deprecated**] Use the `zone_ids` parameter instead.
|
|
1852
1775
|
*
|
|
1853
|
-
*
|
|
1776
|
+
* Availability zone ID of the region where the cluster is located. This parameter is specific to ACK managed cluster types.
|
|
1854
1777
|
*
|
|
1855
|
-
* When creating an ACK managed cluster, if
|
|
1778
|
+
* When creating an ACK managed cluster, if `vpc_id` and `vswitch_ids` are not specified, `zone_id` must be specified for the cluster to automatically create VPC network resources in this availability zone. This parameter is ignored when `vpc_id` and `vswitch_ids` are specified.
|
|
1856
1779
|
*
|
|
1857
1780
|
* @example
|
|
1858
1781
|
* cn-beiji****
|
|
@@ -1862,7 +1785,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1862
1785
|
zoneId?: string;
|
|
1863
1786
|
/**
|
|
1864
1787
|
* @remarks
|
|
1865
|
-
*
|
|
1788
|
+
* Multiple availability zone IDs of the region where the cluster is located. This parameter is specific to ACK managed cluster types.
|
|
1866
1789
|
*/
|
|
1867
1790
|
zoneIds?: string[];
|
|
1868
1791
|
static names(): {
|