@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
|
@@ -12,7 +12,7 @@ import { InstanceMetadataOptions } from "./InstanceMetadataOptions";
|
|
|
12
12
|
export class CreateClusterRequestAuditLogConfig extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* Whether to enable cluster audit
|
|
15
|
+
* Whether to enable the cluster audit log feature.
|
|
16
16
|
*
|
|
17
17
|
* - true: Enable.
|
|
18
18
|
*
|
|
@@ -24,11 +24,11 @@ export class CreateClusterRequestAuditLogConfig extends $dara.Model {
|
|
|
24
24
|
enabled?: boolean;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The [SLS Project](https://help.aliyun.com/document_detail/48873.html)
|
|
27
|
+
* 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.
|
|
28
28
|
*
|
|
29
29
|
* - Default value: `k8s-log-{clusterid}`.
|
|
30
30
|
*
|
|
31
|
-
* -
|
|
31
|
+
* - After enabling the cluster audit log feature, a corresponding Logstore will be created under the specified SLS Project.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* k8s-log-c2345xxxxxxxxxxxx
|
|
@@ -60,7 +60,7 @@ export class CreateClusterRequestAuditLogConfig extends $dara.Model {
|
|
|
60
60
|
export class CreateClusterRequestAutoMode extends $dara.Model {
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* Whether to enable
|
|
63
|
+
* Whether to enable intelligent managed mode.
|
|
64
64
|
*
|
|
65
65
|
* - true: Enable.
|
|
66
66
|
*
|
|
@@ -94,10 +94,8 @@ export class CreateClusterRequestAutoMode extends $dara.Model {
|
|
|
94
94
|
export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* Whether to enable auto-renewal for control plane nodes. Valid
|
|
98
|
-
*
|
|
97
|
+
* Whether to enable auto-renewal for control plane nodes. Valid when the billing type is `PrePaid`.
|
|
99
98
|
* - true: Enable auto-renewal.
|
|
100
|
-
*
|
|
101
99
|
* - false: Disable auto-renewal.
|
|
102
100
|
*
|
|
103
101
|
* Default value: true.
|
|
@@ -108,9 +106,9 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
108
106
|
autoRenew?: boolean;
|
|
109
107
|
/**
|
|
110
108
|
* @remarks
|
|
111
|
-
* Auto-renewal duration for control plane nodes
|
|
109
|
+
* Auto-renewal duration for control plane nodes.
|
|
112
110
|
*
|
|
113
|
-
* Valid values: {1, 2, 3, 6, 12}.
|
|
111
|
+
* Valid values: {1, 2, 3, 6, 12}. Unit: months.
|
|
114
112
|
*
|
|
115
113
|
* Default value: 1.
|
|
116
114
|
*
|
|
@@ -123,7 +121,6 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
123
121
|
* Control plane node billing type.
|
|
124
122
|
*
|
|
125
123
|
* - `PrePaid`: Subscription.
|
|
126
|
-
*
|
|
127
124
|
* - `PostPaid`: Pay-as-you-go.
|
|
128
125
|
*
|
|
129
126
|
* Default value: `PostPaid`.
|
|
@@ -134,7 +131,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
134
131
|
chargeType?: string;
|
|
135
132
|
/**
|
|
136
133
|
* @remarks
|
|
137
|
-
* Whether to install
|
|
134
|
+
* Whether to install CloudMonitor on nodes.
|
|
138
135
|
*
|
|
139
136
|
* - true: Install the CloudMonitor agent.
|
|
140
137
|
*
|
|
@@ -150,9 +147,9 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
150
147
|
* @remarks
|
|
151
148
|
* Node CPU management policy.
|
|
152
149
|
*
|
|
153
|
-
* - static:
|
|
150
|
+
* - static: Allows enhancing CPU affinity and exclusivity for Pods with certain resource characteristics on the node.
|
|
154
151
|
*
|
|
155
|
-
* - none:
|
|
152
|
+
* - none: Enables the existing default CPU affinity scheme.
|
|
156
153
|
*
|
|
157
154
|
* Default value: none.
|
|
158
155
|
*
|
|
@@ -178,7 +175,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
178
175
|
imageId?: string;
|
|
179
176
|
/**
|
|
180
177
|
* @remarks
|
|
181
|
-
*
|
|
178
|
+
* OS image type.
|
|
182
179
|
*
|
|
183
180
|
* @example
|
|
184
181
|
* AliyunLinux3
|
|
@@ -196,7 +193,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
196
193
|
instanceTypes?: string[];
|
|
197
194
|
/**
|
|
198
195
|
* @remarks
|
|
199
|
-
* Key pair name.
|
|
196
|
+
* Key pair name. Mutually exclusive with login_password.
|
|
200
197
|
*
|
|
201
198
|
* @example
|
|
202
199
|
* ack
|
|
@@ -204,7 +201,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
204
201
|
keyPair?: string;
|
|
205
202
|
/**
|
|
206
203
|
* @remarks
|
|
207
|
-
* SSH login password.
|
|
204
|
+
* 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.
|
|
208
205
|
*
|
|
209
206
|
* @example
|
|
210
207
|
* ********
|
|
@@ -212,7 +209,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
212
209
|
loginPassword?: string;
|
|
213
210
|
/**
|
|
214
211
|
* @remarks
|
|
215
|
-
*
|
|
212
|
+
* [**This field is deprecated**] Node service port range.
|
|
216
213
|
*
|
|
217
214
|
* @example
|
|
218
215
|
* 30000-32767
|
|
@@ -220,9 +217,9 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
220
217
|
nodePortRange?: string;
|
|
221
218
|
/**
|
|
222
219
|
* @remarks
|
|
223
|
-
* Subscription duration for control plane nodes
|
|
220
|
+
* Subscription duration for control plane nodes. Valid and required when the billing type is `PrePaid`.
|
|
224
221
|
*
|
|
225
|
-
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
222
|
+
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}. Unit: months.
|
|
226
223
|
*
|
|
227
224
|
* Default value: 1.
|
|
228
225
|
*
|
|
@@ -232,9 +229,9 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
232
229
|
period?: number;
|
|
233
230
|
/**
|
|
234
231
|
* @remarks
|
|
235
|
-
*
|
|
232
|
+
* Subscription period unit for control plane nodes. Valid and required when the billing type is `PrePaid`.
|
|
236
233
|
*
|
|
237
|
-
* Valid value: `Month`.
|
|
234
|
+
* Valid value: `Month`. Currently, only month-based periods are supported.
|
|
238
235
|
*
|
|
239
236
|
* @example
|
|
240
237
|
* Month
|
|
@@ -242,9 +239,9 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
242
239
|
periodUnit?: string;
|
|
243
240
|
/**
|
|
244
241
|
* @remarks
|
|
245
|
-
*
|
|
242
|
+
* [**This field is deprecated**] Control plane node runtime name. Valid value:
|
|
246
243
|
*
|
|
247
|
-
* containerd: Containerd runtime, supported
|
|
244
|
+
* containerd: Containerd runtime, supported by all cluster versions.
|
|
248
245
|
*
|
|
249
246
|
* @example
|
|
250
247
|
* containerd
|
|
@@ -276,11 +273,11 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
276
273
|
size?: number;
|
|
277
274
|
/**
|
|
278
275
|
* @remarks
|
|
279
|
-
* Whether to enable
|
|
276
|
+
* Whether to enable classified protection security hardening.
|
|
280
277
|
*
|
|
281
|
-
* - true: Enable
|
|
278
|
+
* - true: Enable classified protection hardening.
|
|
282
279
|
*
|
|
283
|
-
* - false: Disable
|
|
280
|
+
* - false: Disable classified protection hardening.
|
|
284
281
|
*
|
|
285
282
|
* Default value: false.
|
|
286
283
|
*
|
|
@@ -290,13 +287,13 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
290
287
|
socEnabled?: boolean;
|
|
291
288
|
/**
|
|
292
289
|
* @remarks
|
|
293
|
-
* Whether to enable performance burst for node system
|
|
290
|
+
* Whether to enable burst (performance burst) for the node system disk.
|
|
294
291
|
*
|
|
295
292
|
* - true: Enable.
|
|
296
293
|
*
|
|
297
294
|
* - false: Disable.
|
|
298
295
|
*
|
|
299
|
-
* This parameter is supported
|
|
296
|
+
* This parameter is only supported when `system_disk_category` is set to `cloud_auto`.
|
|
300
297
|
*
|
|
301
298
|
* @example
|
|
302
299
|
* true
|
|
@@ -307,16 +304,12 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
307
304
|
* Node system disk type.
|
|
308
305
|
*
|
|
309
306
|
* - `cloud_efficiency`: Ultra disk.
|
|
307
|
+
* - `cloud_ssd`: SSD disk.
|
|
308
|
+
* - `cloud_essd`: ESSD disk.
|
|
309
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
310
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
310
311
|
*
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
* - `cloud_essd`: ESSD.
|
|
314
|
-
*
|
|
315
|
-
* - `cloud_auto`: ESSD AutoPL.
|
|
316
|
-
*
|
|
317
|
-
* - `cloud_essd_entry`: ESSD Entry.
|
|
318
|
-
*
|
|
319
|
-
* Default value: `cloud_ssd`. The default may vary by zone.
|
|
312
|
+
* Default value: `cloud_ssd`. The default value may vary across availability zones.
|
|
320
313
|
*
|
|
321
314
|
* @example
|
|
322
315
|
* cloud_ssd
|
|
@@ -324,9 +317,9 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
324
317
|
systemDiskCategory?: string;
|
|
325
318
|
/**
|
|
326
319
|
* @remarks
|
|
327
|
-
* Node system disk performance level.
|
|
320
|
+
* Node system disk performance level. Only takes effect for ESSD disks.
|
|
328
321
|
*
|
|
329
|
-
*
|
|
322
|
+
* The performance level is related to the disk size. For more information, see [ESSD disk](https://help.aliyun.com/document_detail/122389.html).
|
|
330
323
|
*
|
|
331
324
|
* @example
|
|
332
325
|
* PL1
|
|
@@ -334,11 +327,11 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
334
327
|
systemDiskPerformanceLevel?: string;
|
|
335
328
|
/**
|
|
336
329
|
* @remarks
|
|
337
|
-
*
|
|
330
|
+
* Pre-provisioned read/write IOPS for the node system disk.
|
|
338
331
|
*
|
|
339
|
-
* Valid
|
|
332
|
+
* Valid values: 0 to min{50,000, 1000*capacity - baseline performance}. Baseline performance = min{1,800 + 50*capacity, 50000}.
|
|
340
333
|
*
|
|
341
|
-
* This parameter is supported
|
|
334
|
+
* This parameter is only supported when `system_disk_category` is set to `cloud_auto`.
|
|
342
335
|
*
|
|
343
336
|
* @example
|
|
344
337
|
* 1000
|
|
@@ -346,9 +339,9 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
346
339
|
systemDiskProvisionedIops?: number;
|
|
347
340
|
/**
|
|
348
341
|
* @remarks
|
|
349
|
-
* Node system disk size
|
|
342
|
+
* Node system disk size.
|
|
350
343
|
*
|
|
351
|
-
* Valid
|
|
344
|
+
* Valid values: [40, 500\\]. Unit: GiB.
|
|
352
345
|
*
|
|
353
346
|
* Default value: `120`.
|
|
354
347
|
*
|
|
@@ -358,7 +351,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
358
351
|
systemDiskSize?: number;
|
|
359
352
|
/**
|
|
360
353
|
* @remarks
|
|
361
|
-
*
|
|
354
|
+
* Node automatic snapshot backup policy.
|
|
362
355
|
*
|
|
363
356
|
* @example
|
|
364
357
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -442,7 +435,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
442
435
|
export class CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig extends $dara.Model {
|
|
443
436
|
/**
|
|
444
437
|
* @remarks
|
|
445
|
-
* VPCs where the internal
|
|
438
|
+
* VPCs where the internal DNS record resolution takes effect.
|
|
446
439
|
*/
|
|
447
440
|
bindVpcs?: string[];
|
|
448
441
|
static names(): { [key: string]: string } {
|
|
@@ -472,7 +465,7 @@ export class CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig ex
|
|
|
472
465
|
export class CreateClusterRequestControlPlaneEndpointsConfig extends $dara.Model {
|
|
473
466
|
/**
|
|
474
467
|
* @remarks
|
|
475
|
-
* Internal
|
|
468
|
+
* 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.
|
|
476
469
|
*/
|
|
477
470
|
internalDnsConfig?: CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig;
|
|
478
471
|
static names(): { [key: string]: string } {
|
|
@@ -503,12 +496,9 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $dara
|
|
|
503
496
|
/**
|
|
504
497
|
* @remarks
|
|
505
498
|
* Cluster automatic upgrade frequency. Valid values:
|
|
506
|
-
*
|
|
507
|
-
* -
|
|
508
|
-
*
|
|
509
|
-
* - 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.
|
|
510
|
-
*
|
|
511
|
-
* - rapid: Automatically upgrade to the latest patch version of the newest minor version to quickly access new Kubernetes community features.
|
|
499
|
+
* - patch: Automatically upgrade to an available patch version of the current minor version. The new Kubernetes version will not contain breaking changes.
|
|
500
|
+
* - 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.
|
|
501
|
+
* - rapid: Automatically upgrade to the latest patch version of the latest minor version to get new features from the Kubernetes community faster.
|
|
512
502
|
*
|
|
513
503
|
* @example
|
|
514
504
|
* stable
|
|
@@ -582,7 +572,7 @@ export class CreateClusterRequestOperationPolicy extends $dara.Model {
|
|
|
582
572
|
export class CreateClusterRequestRrsaConfig extends $dara.Model {
|
|
583
573
|
/**
|
|
584
574
|
* @remarks
|
|
585
|
-
* Whether to enable RRSA.
|
|
575
|
+
* Whether to enable the RRSA feature.
|
|
586
576
|
*
|
|
587
577
|
* - true: Enable.
|
|
588
578
|
*
|
|
@@ -629,7 +619,6 @@ export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
629
619
|
* Whether to encrypt the data disk. Valid values:
|
|
630
620
|
*
|
|
631
621
|
* - `true`: Encrypt the data disk.
|
|
632
|
-
*
|
|
633
622
|
* - `false`: Do not encrypt the data disk.
|
|
634
623
|
*
|
|
635
624
|
* Default value: `false`.
|
|
@@ -640,7 +629,7 @@ export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
640
629
|
encrypted?: string;
|
|
641
630
|
/**
|
|
642
631
|
* @remarks
|
|
643
|
-
*
|
|
632
|
+
* Node data disk performance level. Only takes effect for [ESSD disks](https://help.aliyun.com/document_detail/122389.html).
|
|
644
633
|
*
|
|
645
634
|
* @example
|
|
646
635
|
* PL1
|
|
@@ -648,7 +637,7 @@ export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
648
637
|
performanceLevel?: string;
|
|
649
638
|
/**
|
|
650
639
|
* @remarks
|
|
651
|
-
* Data disk size
|
|
640
|
+
* Data disk size. Valid values: 40 to 32767. Unit: GiB.
|
|
652
641
|
*
|
|
653
642
|
* This parameter is required.
|
|
654
643
|
*
|
|
@@ -686,49 +675,46 @@ export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
686
675
|
export class CreateClusterRequest extends $dara.Model {
|
|
687
676
|
/**
|
|
688
677
|
* @remarks
|
|
689
|
-
*
|
|
678
|
+
* [**This field is deprecated**] Registered cluster API Server SLB access control list.
|
|
690
679
|
*
|
|
691
680
|
* @deprecated
|
|
692
681
|
*/
|
|
693
682
|
accessControlList?: string[];
|
|
694
683
|
/**
|
|
695
684
|
* @remarks
|
|
696
|
-
* List of cluster components. Specify components to install
|
|
685
|
+
* List of cluster components. Specify the components to install when creating a cluster through `addons`.
|
|
697
686
|
*
|
|
698
|
-
* **Network
|
|
687
|
+
* **Network component**: Required. Choose between Flannel and Terway network types when creating a cluster:
|
|
699
688
|
*
|
|
700
689
|
* - Flannel network: [{"name":"flannel","config":""}].
|
|
690
|
+
* - Terway network: [{"name": "terway-eniip","config": ""}] .
|
|
701
691
|
*
|
|
702
|
-
*
|
|
703
|
-
*
|
|
704
|
-
* **Storage components**: Optional. Only `csi` is supported:
|
|
692
|
+
* **Storage component**: Optional. Only the `csi` type is supported:
|
|
705
693
|
*
|
|
706
694
|
* `csi`: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
|
|
707
695
|
*
|
|
708
|
-
* **
|
|
709
|
-
*
|
|
710
|
-
* - Use an existing `SLS Project`: [{"name": "loongcollector","config": "{"IngressDashboardEnabled":"true","sls_project_name":"your_sls_project_name"}"}].
|
|
711
|
-
*
|
|
712
|
-
* - Create a new `SLS Project`: [{"name": "loongcollector","config": "{"IngressDashboardEnabled":"true"}"}].
|
|
696
|
+
* **Log component**: Optional. Recommended to enable. If Log Service is not enabled, the cluster audit feature will be unavailable.
|
|
713
697
|
*
|
|
714
|
-
*
|
|
698
|
+
* - Use an existing `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\",\\"sls_project_name\\":\\"your_sls_project_name\\"}"}] .
|
|
699
|
+
* - Create a new `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\"}"}] .
|
|
715
700
|
*
|
|
716
|
-
*
|
|
701
|
+
* **Ingress component**: Optional. ACK dedicated clusters install the Ingress component `nginx-ingress-controller` by default.
|
|
717
702
|
*
|
|
718
|
-
* -
|
|
703
|
+
* - Install Ingress with public network access: [{"name":"nginx-ingress-controller","config":"{\\"IngressSlbNetworkType\\":\\"internet\\"}"}] .
|
|
704
|
+
* - Disable default Ingress installation: [{"name": "nginx-ingress-controller","config": "","disabled": true}] .
|
|
719
705
|
*
|
|
720
|
-
* **Event
|
|
706
|
+
* **Event center**: Optional. Enabled by default.
|
|
721
707
|
*
|
|
722
|
-
*
|
|
708
|
+
* 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).
|
|
723
709
|
*
|
|
724
|
-
* Example
|
|
710
|
+
* Example of enabling the event center: [{"name":"ack-node-problem-detector","config":"{\\"sls_project_name\\":\\"your_sls_project_name\\"}"}].
|
|
725
711
|
*/
|
|
726
712
|
addons?: Addon[];
|
|
727
713
|
/**
|
|
728
714
|
* @remarks
|
|
729
|
-
* ServiceAccount is the access credential
|
|
715
|
+
* 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 (,).
|
|
730
716
|
*
|
|
731
|
-
* For more
|
|
717
|
+
* For more details about `ServiceAccount`, see [Deploy service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
732
718
|
*
|
|
733
719
|
* @example
|
|
734
720
|
* kubernetes.default.svc
|
|
@@ -741,22 +727,21 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
741
727
|
auditLogConfig?: CreateClusterRequestAuditLogConfig;
|
|
742
728
|
/**
|
|
743
729
|
* @remarks
|
|
744
|
-
* [Intelligent
|
|
730
|
+
* [Intelligent managed mode](https://help.aliyun.com/document_detail/2938898.html) configuration.
|
|
745
731
|
*/
|
|
746
732
|
autoMode?: CreateClusterRequestAutoMode;
|
|
747
733
|
/**
|
|
748
734
|
* @remarks
|
|
749
|
-
* **
|
|
735
|
+
* [**This field is deprecated**]
|
|
750
736
|
*
|
|
751
|
-
* Whether to enable auto-renewal.
|
|
737
|
+
* Whether to enable auto-renewal. Only takes effect when `charge_type` is set to `PrePaid`. Valid values:
|
|
752
738
|
*
|
|
753
739
|
* - `true`: Enable auto-renewal.
|
|
754
|
-
*
|
|
755
740
|
* - `false`: Disable auto-renewal.
|
|
756
741
|
*
|
|
757
742
|
* Default value: `false`.
|
|
758
743
|
*
|
|
759
|
-
* This
|
|
744
|
+
* 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).
|
|
760
745
|
*
|
|
761
746
|
* @example
|
|
762
747
|
* true
|
|
@@ -766,13 +751,13 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
766
751
|
autoRenew?: boolean;
|
|
767
752
|
/**
|
|
768
753
|
* @remarks
|
|
769
|
-
* **
|
|
754
|
+
* [**This field is deprecated**]
|
|
770
755
|
*
|
|
771
|
-
* Auto-renewal period
|
|
756
|
+
* Auto-renewal period. Only takes effect when subscription and auto-renewal are selected. When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
|
|
772
757
|
*
|
|
773
758
|
* Default value: 1.
|
|
774
759
|
*
|
|
775
|
-
* This
|
|
760
|
+
* 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).
|
|
776
761
|
*
|
|
777
762
|
* @example
|
|
778
763
|
* 1
|
|
@@ -782,22 +767,19 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
782
767
|
autoRenewPeriod?: number;
|
|
783
768
|
/**
|
|
784
769
|
* @remarks
|
|
785
|
-
* **
|
|
786
|
-
*
|
|
787
|
-
* Billing type for the CLB instance used by the API Server. Default value: PostPaid. Valid values:
|
|
770
|
+
* [**This field is deprecated**]
|
|
788
771
|
*
|
|
772
|
+
* Billing type of the CLB instance used by the API Server. Default value: PostPaid. Valid values:
|
|
789
773
|
* - PostPaid: Pay-as-you-go.
|
|
790
|
-
*
|
|
791
|
-
* - PrePaid: Subscription. New CLB instances no longer support subscription billing, but existing instances are unaffected.
|
|
774
|
+
* - PrePaid: Subscription. This billing type is no longer supported for newly created CLB instances. Existing instances are not affected.
|
|
792
775
|
*
|
|
793
776
|
* >Notice:
|
|
794
777
|
*
|
|
795
|
-
* - This
|
|
796
|
-
*
|
|
797
|
-
*
|
|
798
|
-
*
|
|
799
|
-
* <props="
|
|
800
|
-
* <props="intl">For details, see [Adjustment of Classic Load Balancer Billing Items](https://help.aliyun.com/document_detail/2839797.html).
|
|
778
|
+
* - 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).
|
|
779
|
+
* - Starting from December 1, 2024, newly created CLB instances no longer support the subscription billing type, and instance fees will be charged.
|
|
780
|
+
* </notice>
|
|
781
|
+
* <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).
|
|
782
|
+
* <props="intl">For details, see [CLB billing adjustment announcement](https://help.aliyun.com/document_detail/2839797.html).
|
|
801
783
|
*
|
|
802
784
|
* @example
|
|
803
785
|
* PostPaid
|
|
@@ -807,7 +789,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
807
789
|
chargeType?: string;
|
|
808
790
|
/**
|
|
809
791
|
* @remarks
|
|
810
|
-
*
|
|
792
|
+
* [**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.
|
|
811
793
|
*
|
|
812
794
|
* @example
|
|
813
795
|
* false
|
|
@@ -817,12 +799,11 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
817
799
|
cisEnabled?: boolean;
|
|
818
800
|
/**
|
|
819
801
|
* @remarks
|
|
820
|
-
*
|
|
802
|
+
* [**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.
|
|
821
803
|
*
|
|
822
|
-
* Whether to install the CloudMonitor agent
|
|
804
|
+
* Whether to install the CloudMonitor agent in the cluster. Valid values:
|
|
823
805
|
*
|
|
824
806
|
* - `true`: Install the CloudMonitor agent.
|
|
825
|
-
*
|
|
826
807
|
* - `false`: Do not install the CloudMonitor agent.
|
|
827
808
|
*
|
|
828
809
|
* Default value: `false`.
|
|
@@ -837,7 +818,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
837
818
|
* @remarks
|
|
838
819
|
* Cluster local domain name.
|
|
839
820
|
*
|
|
840
|
-
* Naming rules: The domain name consists of one or more parts separated by
|
|
821
|
+
* 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.
|
|
841
822
|
*
|
|
842
823
|
* @example
|
|
843
824
|
* cluster.local
|
|
@@ -845,21 +826,17 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
845
826
|
clusterDomain?: string;
|
|
846
827
|
/**
|
|
847
828
|
* @remarks
|
|
848
|
-
*
|
|
849
|
-
*
|
|
850
|
-
* - `ack.standard`: Basic Edition (default when this parameter is empty)
|
|
851
|
-
*
|
|
852
|
-
* - `ack.pro.small`: Pro Edition
|
|
829
|
+
* After selecting `cluster_type` as `ManagedKubernetes` and configuring `profile`, you can further specify the cluster specification. Valid values:
|
|
853
830
|
*
|
|
831
|
+
* - `ack.standard`: Basic edition (selected by default when the value is empty)
|
|
832
|
+
* - `ack.pro.small`: Pro edition
|
|
854
833
|
* - `ack.pro.xlarge`: Pro XL
|
|
855
|
-
*
|
|
856
834
|
* - `ack.pro.2xlarge`: Pro 2XL
|
|
835
|
+
* - `ack.pro.4xlarge`: Pro 4XL (requires contacting customer service to enable allowlisting)
|
|
857
836
|
*
|
|
858
|
-
*
|
|
859
|
-
*
|
|
860
|
-
* 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.
|
|
837
|
+
* 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.
|
|
861
838
|
*
|
|
862
|
-
* For cluster management fees
|
|
839
|
+
* 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).
|
|
863
840
|
*
|
|
864
841
|
* @example
|
|
865
842
|
* ack.pro.small
|
|
@@ -868,10 +845,8 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
868
845
|
/**
|
|
869
846
|
* @remarks
|
|
870
847
|
* - `Kubernetes`: ACK dedicated cluster.
|
|
871
|
-
*
|
|
872
|
-
* - `
|
|
873
|
-
*
|
|
874
|
-
* - `ExternalKubernetes`: registered cluster.
|
|
848
|
+
* - `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).
|
|
849
|
+
* - `ExternalKubernetes`: Registered cluster.
|
|
875
850
|
*
|
|
876
851
|
* @example
|
|
877
852
|
* Kubernetes
|
|
@@ -879,9 +854,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
879
854
|
clusterType?: string;
|
|
880
855
|
/**
|
|
881
856
|
* @remarks
|
|
882
|
-
* Pod network CIDR block.
|
|
857
|
+
* 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.
|
|
883
858
|
*
|
|
884
|
-
* For cluster network planning, see [
|
|
859
|
+
* For cluster network planning, see [ACK managed cluster network planning](https://help.aliyun.com/document_detail/86500.html).
|
|
885
860
|
*
|
|
886
861
|
* > This field is required for Flannel clusters.
|
|
887
862
|
*
|
|
@@ -891,7 +866,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
891
866
|
containerCidr?: string;
|
|
892
867
|
/**
|
|
893
868
|
* @remarks
|
|
894
|
-
*
|
|
869
|
+
* ACK dedicated cluster control plane configuration.
|
|
895
870
|
*/
|
|
896
871
|
controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
|
|
897
872
|
/**
|
|
@@ -901,14 +876,14 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
901
876
|
controlPlaneEndpointsConfig?: CreateClusterRequestControlPlaneEndpointsConfig;
|
|
902
877
|
/**
|
|
903
878
|
* @remarks
|
|
904
|
-
* List of component names specifying which control plane
|
|
879
|
+
* List of component names, specifying which control plane components\\" logs to collect.
|
|
905
880
|
*
|
|
906
|
-
* By default, logs are collected
|
|
881
|
+
* By default, logs are collected from kube-apiserver, kube-controller-manager, kube-scheduler, and cloud-controller-manager.
|
|
907
882
|
*/
|
|
908
883
|
controlplaneLogComponents?: string[];
|
|
909
884
|
/**
|
|
910
885
|
* @remarks
|
|
911
|
-
*
|
|
886
|
+
* 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.
|
|
912
887
|
*
|
|
913
888
|
* @example
|
|
914
889
|
* k8s-log-xxx
|
|
@@ -924,13 +899,12 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
924
899
|
controlplaneLogTtl?: string;
|
|
925
900
|
/**
|
|
926
901
|
* @remarks
|
|
927
|
-
*
|
|
928
|
-
*
|
|
929
|
-
* Node CPU management policy. Supported for cluster versions 1.12.6 and later:
|
|
902
|
+
* [**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.
|
|
930
903
|
*
|
|
931
|
-
*
|
|
904
|
+
* Node CPU management policy. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
932
905
|
*
|
|
933
|
-
* - `
|
|
906
|
+
* - `static`: Allows enhancing CPU affinity and exclusivity for Pods with certain resource characteristics on the node.
|
|
907
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
934
908
|
*
|
|
935
909
|
* Default value: `none`.
|
|
936
910
|
*
|
|
@@ -942,9 +916,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
942
916
|
cpuPolicy?: string;
|
|
943
917
|
/**
|
|
944
918
|
* @remarks
|
|
945
|
-
*
|
|
919
|
+
* [**This field is deprecated**] Use the `extra_sans` parameter instead.
|
|
946
920
|
*
|
|
947
|
-
* Custom certificate SAN.
|
|
921
|
+
* Custom certificate SAN. Multiple IPs or domain names are separated by commas (,).
|
|
948
922
|
*
|
|
949
923
|
* @example
|
|
950
924
|
* cs.aliyun.com
|
|
@@ -954,11 +928,10 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
954
928
|
customSan?: string;
|
|
955
929
|
/**
|
|
956
930
|
* @remarks
|
|
957
|
-
* Cluster deletion protection prevents accidental cluster deletion through the console or API. Valid values:
|
|
958
|
-
*
|
|
959
|
-
* - `true`: Enable deletion protection. You cannot delete the cluster through the console or API.
|
|
931
|
+
* Cluster deletion protection, which prevents accidental cluster deletion through the console or API. Valid values:
|
|
960
932
|
*
|
|
961
|
-
* - `
|
|
933
|
+
* - `true`: Enable cluster deletion protection. The cluster cannot be deleted through the console or API.
|
|
934
|
+
* - `false`: Disable cluster deletion protection. The cluster can be deleted through the console or API.
|
|
962
935
|
*
|
|
963
936
|
* Default value: `false`.
|
|
964
937
|
*
|
|
@@ -968,13 +941,13 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
968
941
|
deletionProtection?: boolean;
|
|
969
942
|
/**
|
|
970
943
|
* @remarks
|
|
971
|
-
*
|
|
944
|
+
* [**This field is deprecated**] By default, no rollback is performed when cluster creation fails. You need to clean up the failed cluster yourself.
|
|
972
945
|
*
|
|
973
|
-
* Whether to roll back
|
|
946
|
+
* Whether to roll back when cluster creation fails. Valid values:
|
|
974
947
|
*
|
|
975
|
-
* - `true`: Roll back
|
|
948
|
+
* - `true`: Roll back when cluster creation fails.
|
|
949
|
+
* - `false`: Do not roll back when cluster creation fails.
|
|
976
950
|
*
|
|
977
|
-
* - `false`: Do not roll back on failure.
|
|
978
951
|
*
|
|
979
952
|
* Default value: `true`.
|
|
980
953
|
*
|
|
@@ -986,9 +959,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
986
959
|
disableRollback?: boolean;
|
|
987
960
|
/**
|
|
988
961
|
* @remarks
|
|
989
|
-
*
|
|
962
|
+
* [**This field is deprecated**] Use the `rrsa_config` parameter instead.
|
|
990
963
|
*
|
|
991
|
-
* Whether to enable RRSA.
|
|
964
|
+
* Whether to enable the RRSA feature.
|
|
992
965
|
*
|
|
993
966
|
* - true: Enable.
|
|
994
967
|
*
|
|
@@ -1002,9 +975,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1002
975
|
enableRrsa?: boolean;
|
|
1003
976
|
/**
|
|
1004
977
|
* @remarks
|
|
1005
|
-
* KMS key ID used to encrypt data disks. For more
|
|
978
|
+
* 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).
|
|
1006
979
|
*
|
|
1007
|
-
* > This feature
|
|
980
|
+
* > This feature only takes effect in professional managed clusters (ACK Pro clusters).
|
|
1008
981
|
*
|
|
1009
982
|
* @example
|
|
1010
983
|
* 0fe64791-55eb-4fc7-84c5-c6c7cdca****
|
|
@@ -1012,11 +985,10 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1012
985
|
encryptionProviderKey?: string;
|
|
1013
986
|
/**
|
|
1014
987
|
* @remarks
|
|
1015
|
-
* Whether to enable public
|
|
988
|
+
* Whether to enable public access. Expose the API Server through an EIP to enable public access to the cluster.
|
|
1016
989
|
*
|
|
1017
|
-
* - `true`: Enable public
|
|
1018
|
-
*
|
|
1019
|
-
* - `false`: Disable public network access. If disabled, you cannot access the cluster API Server from external networks.
|
|
990
|
+
* - `true`: Enable public access.
|
|
991
|
+
* - `false`: Disable public access. When disabled, the cluster API Server cannot be accessed from the Internet.
|
|
1020
992
|
*
|
|
1021
993
|
* Default value: `false`.
|
|
1022
994
|
*
|
|
@@ -1031,11 +1003,11 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1031
1003
|
extraSans?: string[];
|
|
1032
1004
|
/**
|
|
1033
1005
|
* @remarks
|
|
1034
|
-
*
|
|
1006
|
+
* [**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.
|
|
1035
1007
|
*
|
|
1036
|
-
*
|
|
1008
|
+
* Whether to mount data disks on instances when creating a cluster with existing instances. Valid values:
|
|
1037
1009
|
*
|
|
1038
|
-
* - `true`: Store containers and images on the data disk. Existing data on the data disk will be lost.
|
|
1010
|
+
* - `true`: Store containers and images on the data disk. Existing data on the data disk will be lost. Please back up your data.
|
|
1039
1011
|
*
|
|
1040
1012
|
* - `false`: Do not store containers and images on the data disk.
|
|
1041
1013
|
*
|
|
@@ -1043,9 +1015,8 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1043
1015
|
*
|
|
1044
1016
|
* Data disk mounting rules:
|
|
1045
1017
|
*
|
|
1046
|
-
* - If the ECS instance has
|
|
1047
|
-
*
|
|
1048
|
-
* - If the ECS instance has no mounted data disks, no new data disks are mounted.
|
|
1018
|
+
* - 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.
|
|
1019
|
+
* - If the ECS instance has no data disks mounted, no new data disk will be mounted.
|
|
1049
1020
|
*
|
|
1050
1021
|
* @example
|
|
1051
1022
|
* false
|
|
@@ -1055,9 +1026,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1055
1026
|
formatDisk?: boolean;
|
|
1056
1027
|
/**
|
|
1057
1028
|
* @remarks
|
|
1058
|
-
*
|
|
1029
|
+
* [**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.
|
|
1059
1030
|
*
|
|
1060
|
-
* Custom node image.
|
|
1031
|
+
* 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).
|
|
1061
1032
|
*
|
|
1062
1033
|
* @example
|
|
1063
1034
|
* m-bp16z7xko3vvv8gt****
|
|
@@ -1067,26 +1038,18 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1067
1038
|
imageId?: string;
|
|
1068
1039
|
/**
|
|
1069
1040
|
* @remarks
|
|
1070
|
-
*
|
|
1041
|
+
* [**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.
|
|
1071
1042
|
*
|
|
1072
|
-
*
|
|
1043
|
+
* OS distribution type. It is recommended to use this field to specify the node OS. Valid values:
|
|
1073
1044
|
*
|
|
1074
1045
|
* - CentOS
|
|
1075
|
-
*
|
|
1076
1046
|
* - AliyunLinux
|
|
1077
|
-
*
|
|
1078
1047
|
* - AliyunLinux Qboot
|
|
1079
|
-
*
|
|
1080
1048
|
* - AliyunLinuxUEFI
|
|
1081
|
-
*
|
|
1082
1049
|
* - AliyunLinux3
|
|
1083
|
-
*
|
|
1084
1050
|
* - Windows
|
|
1085
|
-
*
|
|
1086
1051
|
* - WindowsCore
|
|
1087
|
-
*
|
|
1088
1052
|
* - AliyunLinux3Arm64
|
|
1089
|
-
*
|
|
1090
1053
|
* - ContainerOS
|
|
1091
1054
|
*
|
|
1092
1055
|
* Default value: `CentOS`.
|
|
@@ -1099,11 +1062,12 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1099
1062
|
imageType?: string;
|
|
1100
1063
|
/**
|
|
1101
1064
|
* @remarks
|
|
1102
|
-
*
|
|
1065
|
+
* [**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.
|
|
1103
1066
|
*
|
|
1104
|
-
* When using existing nodes to create a cluster, specify the ECS instance list. These instances are added as worker nodes to the cluster.
|
|
1105
1067
|
*
|
|
1106
|
-
*
|
|
1068
|
+
* 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.
|
|
1069
|
+
*
|
|
1070
|
+
* > This field is required when creating a cluster with existing instances.
|
|
1107
1071
|
*
|
|
1108
1072
|
* @deprecated
|
|
1109
1073
|
*/
|
|
@@ -1120,12 +1084,11 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1120
1084
|
ipStack?: string;
|
|
1121
1085
|
/**
|
|
1122
1086
|
* @remarks
|
|
1123
|
-
* Automatically create an
|
|
1124
|
-
*
|
|
1125
|
-
* > 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.
|
|
1087
|
+
* Automatically create an enterprise security group. Takes effect when `security_group_id` is empty.
|
|
1126
1088
|
*
|
|
1127
|
-
*
|
|
1089
|
+
* > 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.
|
|
1128
1090
|
*
|
|
1091
|
+
* - `true`: Create and use an enterprise security group.
|
|
1129
1092
|
* - `false`: Use a basic security group.
|
|
1130
1093
|
*
|
|
1131
1094
|
* Default value: `true`.
|
|
@@ -1136,13 +1099,12 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1136
1099
|
isEnterpriseSecurityGroup?: boolean;
|
|
1137
1100
|
/**
|
|
1138
1101
|
* @remarks
|
|
1139
|
-
*
|
|
1102
|
+
* [**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.
|
|
1140
1103
|
*
|
|
1141
|
-
*
|
|
1104
|
+
* Whether to retain instance names when creating a cluster with existing instances.
|
|
1142
1105
|
*
|
|
1143
|
-
* - `true`:
|
|
1144
|
-
*
|
|
1145
|
-
* - `false`: Replace with system-generated names.
|
|
1106
|
+
* - `true`: Retain.
|
|
1107
|
+
* - `false`: Do not retain. Names will be replaced using system rules.
|
|
1146
1108
|
*
|
|
1147
1109
|
* Default value: `true`.
|
|
1148
1110
|
*
|
|
@@ -1154,9 +1116,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1154
1116
|
keepInstanceName?: boolean;
|
|
1155
1117
|
/**
|
|
1156
1118
|
* @remarks
|
|
1157
|
-
*
|
|
1119
|
+
* [**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.
|
|
1158
1120
|
*
|
|
1159
|
-
* Key pair name.
|
|
1121
|
+
* Key pair name. Mutually exclusive with `login_password`.
|
|
1160
1122
|
*
|
|
1161
1123
|
* @example
|
|
1162
1124
|
* security-key
|
|
@@ -1166,11 +1128,11 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1166
1128
|
keyPair?: string;
|
|
1167
1129
|
/**
|
|
1168
1130
|
* @remarks
|
|
1169
|
-
* Cluster version,
|
|
1131
|
+
* 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.
|
|
1170
1132
|
*
|
|
1171
|
-
* You can create clusters
|
|
1133
|
+
* 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.
|
|
1172
1134
|
*
|
|
1173
|
-
* For
|
|
1135
|
+
* For Kubernetes versions supported by ACK, see [Kubernetes version release overview](https://help.aliyun.com/document_detail/185269.html).
|
|
1174
1136
|
*
|
|
1175
1137
|
* @example
|
|
1176
1138
|
* 1.32.1-aliyun.1
|
|
@@ -1178,9 +1140,8 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1178
1140
|
kubernetesVersion?: string;
|
|
1179
1141
|
/**
|
|
1180
1142
|
* @remarks
|
|
1181
|
-
* Specify the CLB instance ID for API Server access.
|
|
1182
|
-
*
|
|
1183
|
-
* > Ensure the CLB instance has no dependencies (such as listeners or backend servers). Shared and public CLB instances are not supported.
|
|
1143
|
+
* Specify the CLB instance ID for API Server access. When this parameter is specified, an API Server CLB will not be automatically created.
|
|
1144
|
+
* > Ensure that the CLB instance has no other dependencies (such as listeners or backend servers). Shared and public-network CLB instances are not supported.
|
|
1184
1145
|
*
|
|
1185
1146
|
* @example
|
|
1186
1147
|
* lb-wz9t256gqa3vbouk****
|
|
@@ -1188,20 +1149,14 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1188
1149
|
loadBalancerId?: string;
|
|
1189
1150
|
/**
|
|
1190
1151
|
* @remarks
|
|
1191
|
-
*
|
|
1192
|
-
*
|
|
1193
|
-
* Load Balancer specification. Valid values:
|
|
1152
|
+
* [**This parameter is deprecated**] CLB is billed by usage. This parameter does not take effect.
|
|
1194
1153
|
*
|
|
1154
|
+
* Load balancer specification. Valid values:
|
|
1195
1155
|
* - slb.s1.small
|
|
1196
|
-
*
|
|
1197
1156
|
* - slb.s2.small
|
|
1198
|
-
*
|
|
1199
1157
|
* - slb.s2.medium
|
|
1200
|
-
*
|
|
1201
1158
|
* - slb.s3.small
|
|
1202
|
-
*
|
|
1203
1159
|
* - slb.s3.medium
|
|
1204
|
-
*
|
|
1205
1160
|
* - slb.s3.large
|
|
1206
1161
|
*
|
|
1207
1162
|
* Default value: `slb.s2.small`.
|
|
@@ -1214,7 +1169,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1214
1169
|
loadBalancerSpec?: string;
|
|
1215
1170
|
/**
|
|
1216
1171
|
* @remarks
|
|
1217
|
-
*
|
|
1172
|
+
* [**This field is deprecated**] Enable Log Service for the cluster. Only takes effect for ACK Serverless clusters, and the value must be `SLS`.
|
|
1218
1173
|
*
|
|
1219
1174
|
* @example
|
|
1220
1175
|
* SLS
|
|
@@ -1224,9 +1179,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1224
1179
|
loggingType?: string;
|
|
1225
1180
|
/**
|
|
1226
1181
|
* @remarks
|
|
1227
|
-
*
|
|
1182
|
+
* [**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.
|
|
1228
1183
|
*
|
|
1229
|
-
* SSH login password.
|
|
1184
|
+
* 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.
|
|
1230
1185
|
*
|
|
1231
1186
|
* @example
|
|
1232
1187
|
* null
|
|
@@ -1241,12 +1196,11 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1241
1196
|
maintenanceWindow?: MaintenanceWindow;
|
|
1242
1197
|
/**
|
|
1243
1198
|
* @remarks
|
|
1244
|
-
*
|
|
1199
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `auto_renew` parameter under `control_plane_config` instead.
|
|
1245
1200
|
*
|
|
1246
|
-
* Whether to enable auto-renewal for
|
|
1201
|
+
* Whether to enable auto-renewal for Master nodes. Only takes effect when `master_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1247
1202
|
*
|
|
1248
1203
|
* - `true`: Enable auto-renewal.
|
|
1249
|
-
*
|
|
1250
1204
|
* - `false`: Disable auto-renewal.
|
|
1251
1205
|
*
|
|
1252
1206
|
* Default value: `true`.
|
|
@@ -1259,9 +1213,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1259
1213
|
masterAutoRenew?: boolean;
|
|
1260
1214
|
/**
|
|
1261
1215
|
* @remarks
|
|
1262
|
-
*
|
|
1216
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `auto_renew_period` parameter under `control_plane_config` instead.
|
|
1263
1217
|
*
|
|
1264
|
-
*
|
|
1218
|
+
* Master node auto-renewal period. Only takes effect when subscription billing type is selected, and is a required value.
|
|
1265
1219
|
*
|
|
1266
1220
|
* Valid values: {1, 2, 3, 6, 12}.
|
|
1267
1221
|
*
|
|
@@ -1275,9 +1229,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1275
1229
|
masterAutoRenewPeriod?: number;
|
|
1276
1230
|
/**
|
|
1277
1231
|
* @remarks
|
|
1278
|
-
*
|
|
1232
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `size` parameter under `control_plane_config` instead.
|
|
1279
1233
|
*
|
|
1280
|
-
* Number of
|
|
1234
|
+
* Number of Master nodes. Valid values: `3` or `5`.
|
|
1281
1235
|
*
|
|
1282
1236
|
* Default value: `3`.
|
|
1283
1237
|
*
|
|
@@ -1289,12 +1243,11 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1289
1243
|
masterCount?: number;
|
|
1290
1244
|
/**
|
|
1291
1245
|
* @remarks
|
|
1292
|
-
*
|
|
1246
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `instance_charge_type` parameter under `control_plane_config` instead.
|
|
1293
1247
|
*
|
|
1294
1248
|
* Master node billing type. Valid values:
|
|
1295
1249
|
*
|
|
1296
1250
|
* - `PrePaid`: Subscription.
|
|
1297
|
-
*
|
|
1298
1251
|
* - `PostPaid`: Pay-as-you-go.
|
|
1299
1252
|
*
|
|
1300
1253
|
* Default value: `PostPaid`.
|
|
@@ -1307,18 +1260,18 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1307
1260
|
masterInstanceChargeType?: string;
|
|
1308
1261
|
/**
|
|
1309
1262
|
* @remarks
|
|
1310
|
-
*
|
|
1263
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `instance_types` parameter under `control_plane_config` instead.
|
|
1311
1264
|
*
|
|
1312
|
-
* Master node instance types. For more information, see [Instance
|
|
1265
|
+
* Master node instance types. For more information, see [Instance family](https://help.aliyun.com/document_detail/25378.html).
|
|
1313
1266
|
*
|
|
1314
1267
|
* @deprecated
|
|
1315
1268
|
*/
|
|
1316
1269
|
masterInstanceTypes?: string[];
|
|
1317
1270
|
/**
|
|
1318
1271
|
* @remarks
|
|
1319
|
-
*
|
|
1272
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `unit` parameter under `control_plane_config` instead.
|
|
1320
1273
|
*
|
|
1321
|
-
*
|
|
1274
|
+
* Master node subscription duration. Valid and required when `master_instance_charge_type` is set to `PrePaid`.
|
|
1322
1275
|
*
|
|
1323
1276
|
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
1324
1277
|
*
|
|
@@ -1332,11 +1285,11 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1332
1285
|
masterPeriod?: number;
|
|
1333
1286
|
/**
|
|
1334
1287
|
* @remarks
|
|
1335
|
-
*
|
|
1288
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `period_unit` parameter under `control_plane_config` instead.
|
|
1336
1289
|
*
|
|
1337
|
-
* Master node billing
|
|
1290
|
+
* Master node billing period. Must be specified when the billing type is `PrePaid`.
|
|
1338
1291
|
*
|
|
1339
|
-
* Valid value: `Month`.
|
|
1292
|
+
* Valid value: `Month`. Currently, only month-based periods are supported.
|
|
1340
1293
|
*
|
|
1341
1294
|
* @example
|
|
1342
1295
|
* Month
|
|
@@ -1346,17 +1299,15 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1346
1299
|
masterPeriodUnit?: string;
|
|
1347
1300
|
/**
|
|
1348
1301
|
* @remarks
|
|
1349
|
-
*
|
|
1302
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `system_disk_category` parameter under `control_plane_config` instead.
|
|
1350
1303
|
*
|
|
1351
1304
|
* Master node system disk type. Valid values:
|
|
1352
1305
|
*
|
|
1353
1306
|
* - `cloud_efficiency`: Ultra disk.
|
|
1307
|
+
* - `cloud_ssd`: SSD disk.
|
|
1308
|
+
* - `cloud_essd`: ESSD disk.
|
|
1354
1309
|
*
|
|
1355
|
-
*
|
|
1356
|
-
*
|
|
1357
|
-
* - `cloud_essd`: ESSD.
|
|
1358
|
-
*
|
|
1359
|
-
* Default value: `cloud_ssd`. The default may vary by zone.
|
|
1310
|
+
* Default value: `cloud_ssd`. The default value may vary across availability zones.
|
|
1360
1311
|
*
|
|
1361
1312
|
* @example
|
|
1362
1313
|
* cloud_ssd
|
|
@@ -1366,9 +1317,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1366
1317
|
masterSystemDiskCategory?: string;
|
|
1367
1318
|
/**
|
|
1368
1319
|
* @remarks
|
|
1369
|
-
*
|
|
1320
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `system_disk_performance_level` parameter under `control_plane_config` instead.
|
|
1370
1321
|
*
|
|
1371
|
-
*
|
|
1322
|
+
* 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).
|
|
1372
1323
|
*
|
|
1373
1324
|
* @example
|
|
1374
1325
|
* PL1
|
|
@@ -1378,9 +1329,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1378
1329
|
masterSystemDiskPerformanceLevel?: string;
|
|
1379
1330
|
/**
|
|
1380
1331
|
* @remarks
|
|
1381
|
-
*
|
|
1332
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `system_disk_size` parameter under `control_plane_config` instead.
|
|
1382
1333
|
*
|
|
1383
|
-
* Valid
|
|
1334
|
+
* Master node system disk size. Valid values: [40, 500\\]. Unit: GiB.
|
|
1384
1335
|
*
|
|
1385
1336
|
* Default value: `120`.
|
|
1386
1337
|
*
|
|
@@ -1392,9 +1343,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1392
1343
|
masterSystemDiskSize?: number;
|
|
1393
1344
|
/**
|
|
1394
1345
|
* @remarks
|
|
1395
|
-
*
|
|
1346
|
+
* [**This field is deprecated**] For cluster control plane configuration, use the `system_disk_snapshot_policy_id` parameter under `control_plane_config` instead.
|
|
1396
1347
|
*
|
|
1397
|
-
* Automatic snapshot policy ID for
|
|
1348
|
+
* Automatic snapshot policy ID for the Master node system disk.
|
|
1398
1349
|
*
|
|
1399
1350
|
* @example
|
|
1400
1351
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -1404,18 +1355,18 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1404
1355
|
masterSystemDiskSnapshotPolicyId?: string;
|
|
1405
1356
|
/**
|
|
1406
1357
|
* @remarks
|
|
1407
|
-
*
|
|
1358
|
+
* [**This field is deprecated**] Use the `vswitch_ids` parameter instead.
|
|
1408
1359
|
*
|
|
1409
|
-
* List of
|
|
1360
|
+
* 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.
|
|
1410
1361
|
*
|
|
1411
|
-
* The number of specified instance types must
|
|
1362
|
+
* The number of specified instance types must be consistent with `master_count` and correspond one-to-one with the elements in `master_vswitch_ids`.
|
|
1412
1363
|
*
|
|
1413
1364
|
* @deprecated
|
|
1414
1365
|
*/
|
|
1415
1366
|
masterVswitchIds?: string[];
|
|
1416
1367
|
/**
|
|
1417
1368
|
* @remarks
|
|
1418
|
-
* Custom cluster name.
|
|
1369
|
+
* 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 (-).
|
|
1419
1370
|
*
|
|
1420
1371
|
* This parameter is required.
|
|
1421
1372
|
*
|
|
@@ -1425,7 +1376,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1425
1376
|
name?: string;
|
|
1426
1377
|
/**
|
|
1427
1378
|
* @remarks
|
|
1428
|
-
*
|
|
1379
|
+
* [**This field is deprecated**] Use the `snat_entry` parameter instead.
|
|
1429
1380
|
*
|
|
1430
1381
|
* @example
|
|
1431
1382
|
* true
|
|
@@ -1435,7 +1386,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1435
1386
|
natGateway?: boolean;
|
|
1436
1387
|
/**
|
|
1437
1388
|
* @remarks
|
|
1438
|
-
* Number of node
|
|
1389
|
+
* Number of node IPs, determined by specifying the network CIDR. Only takes effect for Flannel network type clusters.
|
|
1439
1390
|
*
|
|
1440
1391
|
* Default value: `26`.
|
|
1441
1392
|
*
|
|
@@ -1445,7 +1396,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1445
1396
|
nodeCidrMask?: string;
|
|
1446
1397
|
/**
|
|
1447
1398
|
* @remarks
|
|
1448
|
-
*
|
|
1399
|
+
* [**This field is deprecated**] For node pool configuration, use the `node_name_mode` parameter under `kubernetes_config` in `nodepool` instead.
|
|
1449
1400
|
*
|
|
1450
1401
|
* @example
|
|
1451
1402
|
* null
|
|
@@ -1455,7 +1406,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1455
1406
|
nodeNameMode?: string;
|
|
1456
1407
|
/**
|
|
1457
1408
|
* @remarks
|
|
1458
|
-
* Node service port range: [30000,65535].
|
|
1409
|
+
* Node service ports. Valid port range: [30000, 65535\\].
|
|
1459
1410
|
*
|
|
1460
1411
|
* Default value: `30000-32767`.
|
|
1461
1412
|
*
|
|
@@ -1467,14 +1418,14 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1467
1418
|
nodePortRange?: string;
|
|
1468
1419
|
/**
|
|
1469
1420
|
* @remarks
|
|
1470
|
-
*
|
|
1421
|
+
* Node pool list.
|
|
1471
1422
|
*/
|
|
1472
1423
|
nodepools?: Nodepool[];
|
|
1473
1424
|
/**
|
|
1474
1425
|
* @remarks
|
|
1475
|
-
*
|
|
1426
|
+
* [**This field is deprecated**] For node pool configuration, use the `desired_size` parameter under `scaling_group` in `nodepool` instead.
|
|
1476
1427
|
*
|
|
1477
|
-
* Number of
|
|
1428
|
+
* Number of Worker nodes. Range: [0, 100\\].
|
|
1478
1429
|
*
|
|
1479
1430
|
* @example
|
|
1480
1431
|
* 3
|
|
@@ -1484,17 +1435,15 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1484
1435
|
numOfNodes?: number;
|
|
1485
1436
|
/**
|
|
1486
1437
|
* @remarks
|
|
1487
|
-
* Cluster
|
|
1438
|
+
* Cluster automatic O&M policy.
|
|
1488
1439
|
*/
|
|
1489
1440
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
1490
1441
|
/**
|
|
1491
1442
|
* @remarks
|
|
1492
|
-
*
|
|
1493
|
-
*
|
|
1494
|
-
* Operating system platform type. Valid values:
|
|
1443
|
+
* [**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.
|
|
1495
1444
|
*
|
|
1445
|
+
* OS platform type. Valid values:
|
|
1496
1446
|
* - Windows
|
|
1497
|
-
*
|
|
1498
1447
|
* - Linux
|
|
1499
1448
|
*
|
|
1500
1449
|
* Default value: `Linux`.
|
|
@@ -1507,15 +1456,15 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1507
1456
|
osType?: string;
|
|
1508
1457
|
/**
|
|
1509
1458
|
* @remarks
|
|
1510
|
-
* **
|
|
1459
|
+
* [**This field is deprecated**]
|
|
1511
1460
|
*
|
|
1512
|
-
*
|
|
1461
|
+
* Purchase duration. Subscription duration. Valid and required when charge_type is set to PrePaid.
|
|
1513
1462
|
*
|
|
1514
1463
|
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
1515
1464
|
*
|
|
1516
1465
|
* Default value: 1.
|
|
1517
1466
|
*
|
|
1518
|
-
* This
|
|
1467
|
+
* 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).
|
|
1519
1468
|
*
|
|
1520
1469
|
* @example
|
|
1521
1470
|
* 1
|
|
@@ -1525,13 +1474,13 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1525
1474
|
period?: number;
|
|
1526
1475
|
/**
|
|
1527
1476
|
* @remarks
|
|
1528
|
-
* **
|
|
1477
|
+
* [**This field is deprecated**]
|
|
1529
1478
|
*
|
|
1530
|
-
* Billing
|
|
1479
|
+
* Billing period. Must be specified when the billing type is PrePaid.
|
|
1531
1480
|
*
|
|
1532
|
-
* Valid value: Month.
|
|
1481
|
+
* Valid value: Month. Currently, only month-based periods are supported.
|
|
1533
1482
|
*
|
|
1534
|
-
* This
|
|
1483
|
+
* 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).
|
|
1535
1484
|
*
|
|
1536
1485
|
* @example
|
|
1537
1486
|
* Month
|
|
@@ -1541,20 +1490,15 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1541
1490
|
periodUnit?: string;
|
|
1542
1491
|
/**
|
|
1543
1492
|
* @remarks
|
|
1544
|
-
*
|
|
1493
|
+
* [**This field is deprecated**] For node pool configuration, use the `platform` parameter under `scaling_group` in `nodepool` instead.
|
|
1545
1494
|
*
|
|
1546
|
-
*
|
|
1495
|
+
* OS distribution. Valid values:
|
|
1547
1496
|
*
|
|
1548
1497
|
* - CentOS
|
|
1549
|
-
*
|
|
1550
1498
|
* - AliyunLinux
|
|
1551
|
-
*
|
|
1552
1499
|
* - QbootAliyunLinux
|
|
1553
|
-
*
|
|
1554
1500
|
* - Qboot
|
|
1555
|
-
*
|
|
1556
1501
|
* - Windows
|
|
1557
|
-
*
|
|
1558
1502
|
* - WindowsCore
|
|
1559
1503
|
*
|
|
1560
1504
|
* Default value: `CentOS`.
|
|
@@ -1567,24 +1511,19 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1567
1511
|
platform?: string;
|
|
1568
1512
|
/**
|
|
1569
1513
|
* @remarks
|
|
1570
|
-
*
|
|
1571
|
-
*
|
|
1572
|
-
* > 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.
|
|
1514
|
+
* [**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.
|
|
1515
|
+
* > 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.
|
|
1573
1516
|
*
|
|
1574
1517
|
* @deprecated
|
|
1575
1518
|
*/
|
|
1576
1519
|
podVswitchIds?: string[];
|
|
1577
1520
|
/**
|
|
1578
1521
|
* @remarks
|
|
1579
|
-
* When
|
|
1580
|
-
*
|
|
1581
|
-
* - `
|
|
1582
|
-
*
|
|
1583
|
-
* - `
|
|
1584
|
-
*
|
|
1585
|
-
* - `Serverless`: ACK serverless cluster, including ACK serverless clusters (Pro Edition, Basic Edition).
|
|
1586
|
-
*
|
|
1587
|
-
* - `Lingjun`: ACK LINGJUN cluster, available only in Pro Edition.
|
|
1522
|
+
* When `cluster_type` is set to `ManagedKubernetes`, you can further specify the cluster subtype.
|
|
1523
|
+
* - `Default`: ACK managed cluster, including ACK cluster (Pro and Basic editions).
|
|
1524
|
+
* - `Edge`: ACK Edge cluster, including ACK Edge cluster (Pro and Basic editions).
|
|
1525
|
+
* - `Serverless`: ACK Serverless cluster, including ACK Serverless cluster (Pro and Basic editions).
|
|
1526
|
+
* - `Lingjun`: ACK Lingjun cluster, available in Pro edition.
|
|
1588
1527
|
*
|
|
1589
1528
|
* @example
|
|
1590
1529
|
* Default
|
|
@@ -1592,14 +1531,12 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1592
1531
|
profile?: string;
|
|
1593
1532
|
/**
|
|
1594
1533
|
* @remarks
|
|
1595
|
-
* kube-proxy
|
|
1596
|
-
*
|
|
1597
|
-
* - `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.
|
|
1598
|
-
*
|
|
1599
|
-
* - `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.
|
|
1534
|
+
* kube-proxy mode
|
|
1600
1535
|
*
|
|
1601
|
-
* - `
|
|
1602
|
-
*
|
|
1536
|
+
* - `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.
|
|
1537
|
+
* - `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.
|
|
1538
|
+
* - `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.
|
|
1539
|
+
* 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.
|
|
1603
1540
|
*
|
|
1604
1541
|
* Default value: `ipvs`.
|
|
1605
1542
|
*
|
|
@@ -1609,16 +1546,16 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1609
1546
|
proxyMode?: string;
|
|
1610
1547
|
/**
|
|
1611
1548
|
* @remarks
|
|
1612
|
-
*
|
|
1549
|
+
* [**This field is deprecated**] For node pool configuration, use the `rds_instances` parameter under `scaling_group` in `nodepool` instead.
|
|
1613
1550
|
*
|
|
1614
|
-
* List of RDS instances to add to the whitelist.
|
|
1551
|
+
* 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.
|
|
1615
1552
|
*
|
|
1616
1553
|
* @deprecated
|
|
1617
1554
|
*/
|
|
1618
1555
|
rdsInstances?: string[];
|
|
1619
1556
|
/**
|
|
1620
1557
|
* @remarks
|
|
1621
|
-
* The region ID where the cluster is
|
|
1558
|
+
* The region ID where the cluster is located. For details, see [Regions supported by Container Service](https://help.aliyun.com/document_detail/216938.html).
|
|
1622
1559
|
*
|
|
1623
1560
|
* This parameter is required.
|
|
1624
1561
|
*
|
|
@@ -1628,7 +1565,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1628
1565
|
regionId?: string;
|
|
1629
1566
|
/**
|
|
1630
1567
|
* @remarks
|
|
1631
|
-
* The resource group ID to which the cluster belongs, used
|
|
1568
|
+
* The resource group ID to which the cluster belongs, used for isolating different resources.
|
|
1632
1569
|
*
|
|
1633
1570
|
* @example
|
|
1634
1571
|
* rg-acfm3mkrure****
|
|
@@ -1641,8 +1578,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1641
1578
|
rrsaConfig?: CreateClusterRequestRrsaConfig;
|
|
1642
1579
|
/**
|
|
1643
1580
|
* @remarks
|
|
1644
|
-
* Container runtime
|
|
1645
|
-
*
|
|
1581
|
+
* Container runtime in the cluster. Supports containerd, sandboxed containers, and Docker.
|
|
1646
1582
|
* > Kubernetes 1.24 no longer supports Docker as a built-in container runtime.
|
|
1647
1583
|
*
|
|
1648
1584
|
* For more information, see [Comparison of Docker, containerd, and sandboxed container runtimes](https://help.aliyun.com/document_detail/160313.html).
|
|
@@ -1652,7 +1588,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1652
1588
|
runtime?: Runtime;
|
|
1653
1589
|
/**
|
|
1654
1590
|
* @remarks
|
|
1655
|
-
* Specify
|
|
1591
|
+
* 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.
|
|
1656
1592
|
*
|
|
1657
1593
|
* @example
|
|
1658
1594
|
* sg-bp1bdue0qc1g7k****
|
|
@@ -1660,12 +1596,11 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1660
1596
|
securityGroupId?: string;
|
|
1661
1597
|
/**
|
|
1662
1598
|
* @remarks
|
|
1663
|
-
*
|
|
1599
|
+
* [**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.
|
|
1664
1600
|
*
|
|
1665
1601
|
* Alibaba Cloud OS security hardening. Valid values:
|
|
1666
1602
|
*
|
|
1667
1603
|
* - `true`: Enable Alibaba Cloud OS security hardening.
|
|
1668
|
-
*
|
|
1669
1604
|
* - `false`: Disable Alibaba Cloud OS security hardening.
|
|
1670
1605
|
*
|
|
1671
1606
|
* Default value: `false`.
|
|
@@ -1678,9 +1613,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1678
1613
|
securityHardeningOs?: boolean;
|
|
1679
1614
|
/**
|
|
1680
1615
|
* @remarks
|
|
1681
|
-
* ServiceAccount is the access credential
|
|
1616
|
+
* 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`.
|
|
1682
1617
|
*
|
|
1683
|
-
* For more
|
|
1618
|
+
* For more details about `ServiceAccount`, see [Deploy service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
1684
1619
|
*
|
|
1685
1620
|
* @example
|
|
1686
1621
|
* kubernetes.default.svc
|
|
@@ -1688,8 +1623,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1688
1623
|
serviceAccountIssuer?: string;
|
|
1689
1624
|
/**
|
|
1690
1625
|
* @remarks
|
|
1691
|
-
* Service network CIDR block. Valid ranges: 10.0.0.0/16-24, 172.16.0.0/16-24
|
|
1692
|
-
* 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.
|
|
1626
|
+
* 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.
|
|
1693
1627
|
*
|
|
1694
1628
|
* Default value: 172.19.0.0/20.
|
|
1695
1629
|
*
|
|
@@ -1699,13 +1633,12 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1699
1633
|
serviceCidr?: string;
|
|
1700
1634
|
/**
|
|
1701
1635
|
* @remarks
|
|
1702
|
-
*
|
|
1703
|
-
*
|
|
1704
|
-
* - `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.
|
|
1636
|
+
* [**This field is deprecated**] Service discovery type within the cluster, used to specify the service discovery method in `ACK Serverless` clusters.
|
|
1705
1637
|
*
|
|
1706
|
-
* - `
|
|
1638
|
+
* - `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.
|
|
1639
|
+
* - `PrivateZone`: Uses the Alibaba Cloud PrivateZone product for service discovery capabilities. The PrivateZone service needs to be enabled.
|
|
1707
1640
|
*
|
|
1708
|
-
* Default value:
|
|
1641
|
+
* Default value: Not enabled.
|
|
1709
1642
|
*
|
|
1710
1643
|
* @deprecated
|
|
1711
1644
|
*/
|
|
@@ -1714,11 +1647,10 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1714
1647
|
* @remarks
|
|
1715
1648
|
* Configure SNAT for the VPC. Valid values:
|
|
1716
1649
|
*
|
|
1717
|
-
* - `true`: Automatically create a NAT
|
|
1650
|
+
* - `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.
|
|
1651
|
+
* - `false`: Do not create a NAT gateway or SNAT rules. Nodes and applications in the cluster will not be able to access the Internet.
|
|
1718
1652
|
*
|
|
1719
|
-
*
|
|
1720
|
-
*
|
|
1721
|
-
* > 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).
|
|
1653
|
+
* > 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).
|
|
1722
1654
|
*
|
|
1723
1655
|
* Default value: `false`.
|
|
1724
1656
|
*
|
|
@@ -1728,15 +1660,13 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1728
1660
|
snatEntry?: boolean;
|
|
1729
1661
|
/**
|
|
1730
1662
|
* @remarks
|
|
1731
|
-
*
|
|
1663
|
+
* [**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.
|
|
1732
1664
|
*
|
|
1733
|
-
*
|
|
1665
|
+
* Classified protection hardening. For more information, see [ACK classified protection hardening user guide](https://help.aliyun.com/document_detail/196148.html).
|
|
1734
1666
|
*
|
|
1735
1667
|
* Valid values:
|
|
1736
|
-
*
|
|
1737
|
-
* - `
|
|
1738
|
-
*
|
|
1739
|
-
* - `false`: Disable MLPS 2.0 security hardening.
|
|
1668
|
+
* - `true`: Enable classified protection hardening.
|
|
1669
|
+
* - `false`: Disable classified protection hardening.
|
|
1740
1670
|
*
|
|
1741
1671
|
* Default value: `false`.
|
|
1742
1672
|
*
|
|
@@ -1748,10 +1678,8 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1748
1678
|
socEnabled?: boolean;
|
|
1749
1679
|
/**
|
|
1750
1680
|
* @remarks
|
|
1751
|
-
* Whether to enable public SSH
|
|
1752
|
-
*
|
|
1681
|
+
* 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.
|
|
1753
1682
|
* - `true`: Enable.
|
|
1754
|
-
*
|
|
1755
1683
|
* - `false`: Disable.
|
|
1756
1684
|
*
|
|
1757
1685
|
* Default value: `false`.
|
|
@@ -1762,27 +1690,26 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1762
1690
|
sshFlags?: boolean;
|
|
1763
1691
|
/**
|
|
1764
1692
|
* @remarks
|
|
1765
|
-
* Node
|
|
1693
|
+
* Node tags. Tag definition rules:
|
|
1766
1694
|
*
|
|
1767
|
-
* -
|
|
1768
|
-
*
|
|
1769
|
-
* - 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).
|
|
1695
|
+
* - Tags consist of case-sensitive key-value pairs. You can set up to 20 tags.
|
|
1696
|
+
* - 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).
|
|
1770
1697
|
*/
|
|
1771
1698
|
tags?: Tag[];
|
|
1772
1699
|
/**
|
|
1773
1700
|
* @remarks
|
|
1774
|
-
*
|
|
1701
|
+
* [**This field is deprecated**] For node pool configuration, use the `taints` parameter under `kubernetes_config` in `nodepool` instead.
|
|
1775
1702
|
*
|
|
1776
|
-
* Node taint information. Taints and tolerations work together to prevent
|
|
1703
|
+
* 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/).
|
|
1777
1704
|
*
|
|
1778
1705
|
* @deprecated
|
|
1779
1706
|
*/
|
|
1780
1707
|
taints?: Taint[];
|
|
1781
1708
|
/**
|
|
1782
1709
|
* @remarks
|
|
1783
|
-
*
|
|
1710
|
+
* [**This field is deprecated**] By default, no rollback is performed when cluster creation fails. You need to clean up the failed cluster yourself.
|
|
1784
1711
|
*
|
|
1785
|
-
* Cluster creation timeout
|
|
1712
|
+
* Cluster creation timeout. Unit: minutes.
|
|
1786
1713
|
*
|
|
1787
1714
|
* Default value: `60`.
|
|
1788
1715
|
*
|
|
@@ -1794,7 +1721,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1794
1721
|
timeoutMins?: number;
|
|
1795
1722
|
/**
|
|
1796
1723
|
* @remarks
|
|
1797
|
-
*
|
|
1724
|
+
* The timezone used by the cluster. See [Supported timezones](https://help.aliyun.com/document_detail/354879.html).
|
|
1798
1725
|
*
|
|
1799
1726
|
* @example
|
|
1800
1727
|
* Asia/Shanghai
|
|
@@ -1810,7 +1737,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1810
1737
|
userCa?: string;
|
|
1811
1738
|
/**
|
|
1812
1739
|
* @remarks
|
|
1813
|
-
*
|
|
1740
|
+
* [**This field is deprecated**] Custom node data.
|
|
1814
1741
|
*
|
|
1815
1742
|
* @example
|
|
1816
1743
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -1820,7 +1747,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1820
1747
|
userData?: string;
|
|
1821
1748
|
/**
|
|
1822
1749
|
* @remarks
|
|
1823
|
-
* The VPC used by the cluster.
|
|
1750
|
+
* The VPC used by the cluster. Must be provided when creating a cluster.
|
|
1824
1751
|
*
|
|
1825
1752
|
* @example
|
|
1826
1753
|
* vpc-2zeik9h3ahvv2zz95****
|
|
@@ -1828,17 +1755,16 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1828
1755
|
vpcid?: string;
|
|
1829
1756
|
/**
|
|
1830
1757
|
* @remarks
|
|
1831
|
-
*
|
|
1758
|
+
* vSwitches for cluster nodes. This field is required when creating a zero-node managed cluster.
|
|
1832
1759
|
*/
|
|
1833
1760
|
vswitchIds?: string[];
|
|
1834
1761
|
/**
|
|
1835
1762
|
* @remarks
|
|
1836
|
-
*
|
|
1763
|
+
* [**This field is deprecated**] For node pool configuration, use the `auto_renew` parameter under `scaling_group` in `nodepool` instead.
|
|
1837
1764
|
*
|
|
1838
|
-
* Whether to enable auto-renewal for
|
|
1765
|
+
* Whether to enable auto-renewal for Worker nodes. Only takes effect when `worker_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1839
1766
|
*
|
|
1840
1767
|
* - `true`: Enable auto-renewal.
|
|
1841
|
-
*
|
|
1842
1768
|
* - `false`: Disable auto-renewal.
|
|
1843
1769
|
*
|
|
1844
1770
|
* Default value: `true`.
|
|
@@ -1851,9 +1777,10 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1851
1777
|
workerAutoRenew?: boolean;
|
|
1852
1778
|
/**
|
|
1853
1779
|
* @remarks
|
|
1854
|
-
*
|
|
1780
|
+
* [**This field is deprecated**] For node pool configuration, use the `auto_renew_period` parameter under `scaling_group` in `nodepool` instead.
|
|
1855
1781
|
*
|
|
1856
|
-
*
|
|
1782
|
+
*
|
|
1783
|
+
* Worker node auto-renewal period. Only takes effect when subscription billing type is selected, and is a required value.
|
|
1857
1784
|
*
|
|
1858
1785
|
* Valid values: {1, 2, 3, 6, 12}.
|
|
1859
1786
|
*
|
|
@@ -1865,21 +1792,20 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1865
1792
|
workerAutoRenewPeriod?: number;
|
|
1866
1793
|
/**
|
|
1867
1794
|
* @remarks
|
|
1868
|
-
*
|
|
1795
|
+
* [**This field is deprecated**] For node pool configuration, use the `data_disks` parameter under `scaling_group` in `nodepool` instead.
|
|
1869
1796
|
*
|
|
1870
|
-
*
|
|
1797
|
+
* Combination of Worker node data disk type, size, and other configurations.
|
|
1871
1798
|
*
|
|
1872
1799
|
* @deprecated
|
|
1873
1800
|
*/
|
|
1874
1801
|
workerDataDisks?: CreateClusterRequestWorkerDataDisks[];
|
|
1875
1802
|
/**
|
|
1876
1803
|
* @remarks
|
|
1877
|
-
*
|
|
1804
|
+
* [**This field is deprecated**] For node pool configuration, use the `instance_charge_type` parameter under `scaling_group` in `nodepool` instead.
|
|
1878
1805
|
*
|
|
1879
1806
|
* Worker node billing type. Valid values:
|
|
1880
1807
|
*
|
|
1881
1808
|
* - `PrePaid`: Subscription.
|
|
1882
|
-
*
|
|
1883
1809
|
* - `PostPaid`: Pay-as-you-go.
|
|
1884
1810
|
*
|
|
1885
1811
|
* Default value: Pay-as-you-go.
|
|
@@ -1892,7 +1818,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1892
1818
|
workerInstanceChargeType?: string;
|
|
1893
1819
|
/**
|
|
1894
1820
|
* @remarks
|
|
1895
|
-
*
|
|
1821
|
+
* [**This field is deprecated**] For node pool configuration, use the `instance_types` parameter under `scaling_group` in `nodepool` instead.
|
|
1896
1822
|
*
|
|
1897
1823
|
* Worker node instance configuration.
|
|
1898
1824
|
*
|
|
@@ -1901,9 +1827,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1901
1827
|
workerInstanceTypes?: string[];
|
|
1902
1828
|
/**
|
|
1903
1829
|
* @remarks
|
|
1904
|
-
*
|
|
1830
|
+
* [**This field is deprecated**] For node pool configuration, use the `period` parameter under `scaling_group` in `nodepool` instead.
|
|
1905
1831
|
*
|
|
1906
|
-
*
|
|
1832
|
+
* Worker node subscription duration. Valid and required when `worker_instance_charge_type` is set to `PrePaid`.
|
|
1907
1833
|
*
|
|
1908
1834
|
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
1909
1835
|
*
|
|
@@ -1917,11 +1843,11 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1917
1843
|
workerPeriod?: number;
|
|
1918
1844
|
/**
|
|
1919
1845
|
* @remarks
|
|
1920
|
-
*
|
|
1846
|
+
* [**This field is deprecated**] For node pool configuration, use the `period_unit` parameter under `scaling_group` in `nodepool` instead.
|
|
1921
1847
|
*
|
|
1922
|
-
* Worker node billing
|
|
1848
|
+
* Worker node billing period. Must be specified when the billing type is `PrePaid`.
|
|
1923
1849
|
*
|
|
1924
|
-
* Valid value: `Month`.
|
|
1850
|
+
* Valid value: `Month`. Currently, only month-based periods are supported.
|
|
1925
1851
|
*
|
|
1926
1852
|
* @example
|
|
1927
1853
|
* Month
|
|
@@ -1931,15 +1857,15 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1931
1857
|
workerPeriodUnit?: string;
|
|
1932
1858
|
/**
|
|
1933
1859
|
* @remarks
|
|
1934
|
-
*
|
|
1860
|
+
* [**This field is deprecated**] For node pool configuration, use the `system_disk_category` parameter under `scaling_group` in `nodepool` instead.
|
|
1935
1861
|
*
|
|
1936
|
-
* Worker node system disk type. For more information, see [
|
|
1862
|
+
* Worker node system disk type. For more information, see [Block storage overview](https://help.aliyun.com/document_detail/63136.html).
|
|
1937
1863
|
*
|
|
1938
1864
|
* Valid values:
|
|
1939
1865
|
*
|
|
1940
1866
|
* - `cloud_efficiency`: Ultra disk.
|
|
1867
|
+
* - `cloud_ssd`: SSD disk.
|
|
1941
1868
|
*
|
|
1942
|
-
* - `cloud_ssd`: Standard SSD.
|
|
1943
1869
|
*
|
|
1944
1870
|
* Default value: `cloud_ssd`.
|
|
1945
1871
|
*
|
|
@@ -1951,18 +1877,15 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1951
1877
|
workerSystemDiskCategory?: string;
|
|
1952
1878
|
/**
|
|
1953
1879
|
* @remarks
|
|
1954
|
-
*
|
|
1880
|
+
* [**This field is deprecated**] For node pool configuration, use the `system_disk_performance_level` parameter under `scaling_group` in `nodepool` instead.
|
|
1955
1881
|
*
|
|
1956
|
-
* When the system disk is an ESSD, you can set the
|
|
1882
|
+
* 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).
|
|
1957
1883
|
*
|
|
1958
1884
|
* Valid values:
|
|
1959
1885
|
*
|
|
1960
1886
|
* - PL0
|
|
1961
|
-
*
|
|
1962
1887
|
* - PL1
|
|
1963
|
-
*
|
|
1964
1888
|
* - PL2
|
|
1965
|
-
*
|
|
1966
1889
|
* - PL3
|
|
1967
1890
|
*
|
|
1968
1891
|
* @example
|
|
@@ -1973,13 +1896,13 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1973
1896
|
workerSystemDiskPerformanceLevel?: string;
|
|
1974
1897
|
/**
|
|
1975
1898
|
* @remarks
|
|
1976
|
-
*
|
|
1899
|
+
* [**This field is deprecated**] For node pool configuration, use the `system_disk_size` parameter under `scaling_group` in `nodepool` instead.
|
|
1977
1900
|
*
|
|
1978
|
-
* Worker node system disk size
|
|
1901
|
+
* Worker node system disk size. Unit: GiB.
|
|
1979
1902
|
*
|
|
1980
|
-
* Valid
|
|
1903
|
+
* Valid values: [40, 500\\].
|
|
1981
1904
|
*
|
|
1982
|
-
*
|
|
1905
|
+
* The value must be greater than or equal to max{40, ImageSize}.
|
|
1983
1906
|
*
|
|
1984
1907
|
* Default value: `120`.
|
|
1985
1908
|
*
|
|
@@ -1991,9 +1914,9 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1991
1914
|
workerSystemDiskSize?: number;
|
|
1992
1915
|
/**
|
|
1993
1916
|
* @remarks
|
|
1994
|
-
*
|
|
1917
|
+
* [**This field is deprecated**] For node pool configuration, use the `system_disk_snapshot_policy_id` parameter under `scaling_group` in `nodepool` instead.
|
|
1995
1918
|
*
|
|
1996
|
-
* Automatic snapshot policy ID for
|
|
1919
|
+
* Automatic snapshot policy ID for the Worker node system disk.
|
|
1997
1920
|
*
|
|
1998
1921
|
* @example
|
|
1999
1922
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -2003,22 +1926,22 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
2003
1926
|
workerSystemDiskSnapshotPolicyId?: string;
|
|
2004
1927
|
/**
|
|
2005
1928
|
* @remarks
|
|
2006
|
-
*
|
|
1929
|
+
* [**This field is deprecated**] For node pool configuration, use the `vswitch_ids` parameter under `scaling_group` in `nodepool` instead.
|
|
2007
1930
|
*
|
|
2008
1931
|
* List of vSwitches used by cluster nodes. One node corresponds to one value.
|
|
2009
1932
|
*
|
|
2010
|
-
* When creating a zero-node managed cluster, `worker_vswitch_ids` is
|
|
1933
|
+
* When creating a zero-node managed cluster, the `worker_vswitch_ids` field is not required, but `vswitch_ids` must be provided.
|
|
2011
1934
|
*
|
|
2012
1935
|
* @deprecated
|
|
2013
1936
|
*/
|
|
2014
1937
|
workerVswitchIds?: string[];
|
|
2015
1938
|
/**
|
|
2016
1939
|
* @remarks
|
|
2017
|
-
*
|
|
1940
|
+
* [**This field is deprecated**] Use the `zone_ids` parameter instead.
|
|
2018
1941
|
*
|
|
2019
|
-
*
|
|
1942
|
+
* Availability zone ID of the region where the cluster is located. This parameter is specific to ACK managed cluster types.
|
|
2020
1943
|
*
|
|
2021
|
-
* When creating an ACK managed cluster, if
|
|
1944
|
+
* 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.
|
|
2022
1945
|
*
|
|
2023
1946
|
* @example
|
|
2024
1947
|
* cn-beiji****
|
|
@@ -2028,7 +1951,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
2028
1951
|
zoneId?: string;
|
|
2029
1952
|
/**
|
|
2030
1953
|
* @remarks
|
|
2031
|
-
*
|
|
1954
|
+
* Multiple availability zone IDs of the region where the cluster is located. This parameter is specific to ACK managed cluster types.
|
|
2032
1955
|
*/
|
|
2033
1956
|
zoneIds?: string[];
|
|
2034
1957
|
static names(): { [key: string]: string } {
|