@alicloud/cs20151215 6.6.4 → 6.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +202 -124
- package/dist/client.js +202 -124
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +2 -2
- package/dist/models/AttachInstancesResponseBody.d.ts +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +1 -1
- package/dist/models/AttachInstancesToNodePoolResponseBody.d.ts +1 -1
- package/dist/models/ContainerdConfig.d.ts +22 -2
- package/dist/models/ContainerdConfig.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +63 -0
- package/dist/models/CreateAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +6 -0
- package/dist/models/CreateAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +77 -40
- package/dist/models/CreateAutoscalingConfigRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -25
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +585 -353
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +5 -5
- package/dist/models/CreateTriggerResponseBody.d.ts +1 -1
- package/dist/models/DeleteAlertContactRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAutoRepairPolicyResponseBody.d.ts +3 -0
- package/dist/models/DeleteAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +2 -2
- package/dist/models/DeleteClusterNodesRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +26 -18
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterResponseBody.d.ts +2 -2
- package/dist/models/DeleteClusterShrinkRequest.d.ts +12 -9
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +7 -6
- package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +71 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +21 -18
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +243 -110
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +8 -4
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +49 -39
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +473 -220
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +425 -262
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodesRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +5 -5
- package/dist/models/DescribeClusterResourcesRequest.d.ts +5 -1
- package/dist/models/DescribeClusterResourcesRequest.js.map +1 -1
- package/dist/models/DescribeClusterResourcesResponse.d.ts +51 -33
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +9 -9
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +2 -2
- package/dist/models/DescribeClustersForRegionRequest.d.ts +32 -16
- package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +85 -56
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +33 -17
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +98 -72
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +6 -2
- package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +22 -15
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +53 -20
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +53 -29
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +2 -2
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +8 -8
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +11 -0
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +235 -7
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +35 -31
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +2 -2
- package/dist/models/DescribeTemplatesResponseBody.d.ts +4 -4
- package/dist/models/DescribeTriggerResponse.d.ts +1 -1
- package/dist/models/DescribeUserPermissionResponse.d.ts +1 -1
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +0 -35
- package/dist/models/DescribeUserQuotaResponseBody.js.map +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +1 -1
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +9 -0
- package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
- package/dist/models/GrantPermissionsRequest.d.ts +28 -20
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/InstanceMetadataOptions.d.ts +17 -0
- package/dist/models/InstanceMetadataOptions.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +10 -0
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ListAddonsRequest.d.ts +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +75 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListClusterChecksResponseBody.d.ts +2 -2
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +10 -0
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +39 -0
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +9 -0
- package/dist/models/ListOperationPlansForRegionRequest.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +52 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +1 -1
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/MigrateClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +58 -0
- package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyResponseBody.d.ts +3 -0
- package/dist/models/ModifyAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +358 -228
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +186 -123
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +8 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigResponseBody.d.ts +2 -2
- package/dist/models/Nodepool.d.ts +274 -180
- package/dist/models/Nodepool.js +2 -0
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/RemoveClusterNodesRequest.d.ts +0 -10
- package/dist/models/RemoveClusterNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +1 -1
- package/dist/models/RepairClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/RepairClusterNodePoolResponseBody.d.ts +2 -2
- package/dist/models/RunClusterCheckRequest.d.ts +2 -2
- package/dist/models/RunClusterCheckResponseBody.d.ts +2 -2
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/ScaleOutClusterRequest.d.ts +8 -131
- package/dist/models/ScaleOutClusterRequest.js.map +1 -1
- package/dist/models/ScaleOutClusterResponseBody.d.ts +0 -21
- package/dist/models/ScaleOutClusterResponseBody.js.map +1 -1
- package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +1 -1
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +1 -1
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +3 -3
- package/dist/models/UpgradeClusterAddonsResponseBody.d.ts +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +5 -5
- package/dist/models/UpgradeClusterNodepoolResponseBody.d.ts +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +3 -3
- package/package.json +1 -1
- package/src/client.ts +202 -124
- package/src/models/AttachInstancesRequest.ts +2 -2
- package/src/models/AttachInstancesResponseBody.ts +1 -1
- package/src/models/AttachInstancesToNodePoolRequest.ts +1 -1
- package/src/models/AttachInstancesToNodePoolResponseBody.ts +1 -1
- package/src/models/ContainerdConfig.ts +22 -2
- package/src/models/CreateAutoRepairPolicyRequest.ts +63 -0
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +6 -0
- package/src/models/CreateAutoscalingConfigRequest.ts +77 -40
- package/src/models/CreateClusterNodePoolRequest.ts +125 -25
- package/src/models/CreateClusterRequest.ts +585 -353
- package/src/models/CreateClusterResponseBody.ts +5 -5
- package/src/models/CreateTriggerResponseBody.ts +1 -1
- package/src/models/DeleteAlertContactRequest.ts +1 -1
- package/src/models/DeleteAlertContactShrinkRequest.ts +1 -1
- package/src/models/DeleteAutoRepairPolicyResponseBody.ts +3 -0
- package/src/models/DeleteClusterNodepoolResponseBody.ts +2 -2
- package/src/models/DeleteClusterNodesRequest.ts +1 -1
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +26 -18
- package/src/models/DeleteClusterResponseBody.ts +2 -2
- package/src/models/DeleteClusterShrinkRequest.ts +12 -9
- package/src/models/DeployPolicyInstanceRequest.ts +7 -6
- package/src/models/DeployPolicyInstanceResponseBody.ts +1 -1
- package/src/models/DescribeAddonsRequest.ts +1 -1
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +71 -0
- package/src/models/DescribeClusterAttachScriptsRequest.ts +21 -18
- package/src/models/DescribeClusterDetailResponseBody.ts +243 -110
- package/src/models/DescribeClusterEventsRequest.ts +8 -4
- package/src/models/DescribeClusterEventsResponseBody.ts +49 -39
- package/src/models/DescribeClusterLogsResponse.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +475 -220
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +427 -262
- package/src/models/DescribeClusterNodesRequest.ts +1 -1
- package/src/models/DescribeClusterNodesResponseBody.ts +5 -5
- package/src/models/DescribeClusterResourcesRequest.ts +5 -1
- package/src/models/DescribeClusterResourcesResponse.ts +51 -33
- package/src/models/DescribeClusterTasksResponseBody.ts +9 -9
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +1 -1
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
- package/src/models/DescribeClusterVulsResponseBody.ts +2 -2
- package/src/models/DescribeClustersForRegionRequest.ts +32 -16
- package/src/models/DescribeClustersForRegionResponseBody.ts +85 -56
- package/src/models/DescribeClustersV1request.ts +33 -17
- package/src/models/DescribeClustersV1responseBody.ts +98 -72
- package/src/models/DescribeEventsForRegionRequest.ts +6 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +22 -15
- package/src/models/DescribeEventsRequest.ts +53 -20
- package/src/models/DescribeEventsResponseBody.ts +53 -29
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +2 -2
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +8 -8
- package/src/models/DescribeNodePoolVulsResponseBody.ts +11 -0
- package/src/models/DescribePolicyDetailsResponseBody.ts +1 -1
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +235 -7
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +1 -1
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +1 -1
- package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +35 -31
- package/src/models/DescribeTemplateAttributeResponse.ts +2 -2
- package/src/models/DescribeTemplatesResponseBody.ts +4 -4
- package/src/models/DescribeTriggerResponse.ts +1 -1
- package/src/models/DescribeUserPermissionResponse.ts +1 -1
- package/src/models/DescribeUserQuotaResponseBody.ts +0 -35
- package/src/models/GetClusterAddonInstanceResponseBody.ts +1 -1
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +9 -0
- package/src/models/GrantPermissionsRequest.ts +28 -20
- package/src/models/InstallClusterAddonsRequest.ts +2 -2
- package/src/models/InstanceMetadataOptions.ts +17 -0
- package/src/models/KubeletConfig.ts +10 -0
- package/src/models/ListAddonsRequest.ts +1 -1
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +75 -0
- package/src/models/ListClusterChecksResponseBody.ts +2 -2
- package/src/models/ListClusterKubeconfigStatesRequest.ts +10 -0
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +39 -0
- package/src/models/ListOperationPlansForRegionRequest.ts +9 -0
- package/src/models/ListOperationPlansForRegionResponseBody.ts +52 -0
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +1 -1
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/MigrateClusterResponseBody.ts +3 -3
- package/src/models/ModifyAutoRepairPolicyRequest.ts +58 -0
- package/src/models/ModifyAutoRepairPolicyResponseBody.ts +3 -0
- package/src/models/ModifyClusterNodePoolRequest.ts +361 -229
- package/src/models/ModifyClusterNodePoolResponseBody.ts +1 -1
- package/src/models/ModifyClusterRequest.ts +186 -123
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +8 -0
- package/src/models/ModifyNodePoolNodeConfigResponseBody.ts +2 -2
- package/src/models/Nodepool.ts +276 -180
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/RemoveClusterNodesRequest.ts +0 -10
- package/src/models/RemoveNodePoolNodesResponseBody.ts +1 -1
- package/src/models/RepairClusterNodePoolRequest.ts +1 -1
- package/src/models/RepairClusterNodePoolResponseBody.ts +2 -2
- package/src/models/RunClusterCheckRequest.ts +2 -2
- package/src/models/RunClusterCheckResponseBody.ts +2 -2
- package/src/models/Runtime.ts +2 -2
- package/src/models/ScaleOutClusterRequest.ts +8 -131
- package/src/models/ScaleOutClusterResponseBody.ts +0 -21
- package/src/models/ScanClusterVulsResponseBody.ts +1 -1
- package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +1 -1
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +1 -1
- package/src/models/UpgradeClusterAddonsRequest.ts +3 -3
- package/src/models/UpgradeClusterAddonsResponseBody.ts +1 -1
- package/src/models/UpgradeClusterNodepoolRequest.ts +5 -5
- package/src/models/UpgradeClusterNodepoolResponseBody.ts +1 -1
- package/src/models/UpgradeClusterRequest.ts +3 -3
|
@@ -6,10 +6,11 @@ import { MaintenanceWindow } from "./MaintenanceWindow";
|
|
|
6
6
|
export class ModifyClusterRequestApiServerCustomCertSans extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* Specifies whether to overwrite or
|
|
9
|
+
* Specifies whether to overwrite or append the SAN configuration. Valid values:
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* - overwrite: Overwrites the existing configuration.
|
|
12
|
+
*
|
|
13
|
+
* - append: Appends to the existing configuration.
|
|
13
14
|
*
|
|
14
15
|
* @example
|
|
15
16
|
* append
|
|
@@ -49,20 +50,23 @@ export class ModifyClusterRequestApiServerCustomCertSans extends $dara.Model {
|
|
|
49
50
|
export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
50
51
|
/**
|
|
51
52
|
* @remarks
|
|
52
|
-
* Specifies whether to enable auto-renewal for control plane
|
|
53
|
+
* Specifies whether to enable auto-renewal for control plane node instances. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
54
|
+
*
|
|
55
|
+
* - `true`: Enables auto-renewal.
|
|
53
56
|
*
|
|
54
|
-
*
|
|
55
|
-
* * `false`: disables auto-renewal.
|
|
57
|
+
* - `false`: Disables auto-renewal.
|
|
56
58
|
*
|
|
57
|
-
* Default value: `false
|
|
59
|
+
* Default value: `false`.
|
|
58
60
|
*
|
|
59
61
|
* @example
|
|
60
|
-
*
|
|
62
|
+
* false
|
|
61
63
|
*/
|
|
62
64
|
autoRenew?: boolean;
|
|
63
65
|
/**
|
|
64
66
|
* @remarks
|
|
65
|
-
* The auto-renewal
|
|
67
|
+
* The auto-renewal duration for each renewal of control plane node instances.
|
|
68
|
+
*
|
|
69
|
+
* Valid values: {1, 2, 3, 6, 12}. Unit: months.
|
|
66
70
|
*
|
|
67
71
|
* Default value: 1.
|
|
68
72
|
*
|
|
@@ -72,23 +76,25 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
72
76
|
autoRenewPeriod?: number;
|
|
73
77
|
/**
|
|
74
78
|
* @remarks
|
|
75
|
-
* The billing method
|
|
79
|
+
* The billing method for control plane node instances. Valid values:
|
|
80
|
+
*
|
|
81
|
+
* - `PrePaid`: Subscription.
|
|
76
82
|
*
|
|
77
|
-
*
|
|
78
|
-
* * `PostPaid`: pay-as-you-go.
|
|
83
|
+
* - `PostPaid`: Pay-as-you-go.
|
|
79
84
|
*
|
|
80
85
|
* Default value: `PostPaid`.
|
|
81
86
|
*
|
|
82
87
|
* @example
|
|
83
|
-
*
|
|
88
|
+
* PostPaid
|
|
84
89
|
*/
|
|
85
90
|
chargeType?: string;
|
|
86
91
|
/**
|
|
87
92
|
* @remarks
|
|
88
|
-
* Specifies whether to install the CloudMonitor agent. Valid values:
|
|
93
|
+
* Specifies whether to install the CloudMonitor agent on control plane nodes. Valid values:
|
|
94
|
+
*
|
|
95
|
+
* - `true`: Installs the CloudMonitor agent.
|
|
89
96
|
*
|
|
90
|
-
*
|
|
91
|
-
* * `false`: does not install the CloudMonitor agent.
|
|
97
|
+
* - `false`: Does not install the CloudMonitor agent.
|
|
92
98
|
*
|
|
93
99
|
* @example
|
|
94
100
|
* true
|
|
@@ -96,10 +102,11 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
96
102
|
cloudMonitorFlags?: boolean;
|
|
97
103
|
/**
|
|
98
104
|
* @remarks
|
|
99
|
-
* The CPU management policy
|
|
105
|
+
* The CPU management policy for nodes. Clusters of version 1.12.6 or later support the following policies:
|
|
100
106
|
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
107
|
+
* - `static`: Enhances CPU affinity and exclusivity for pods with specific resource characteristics on nodes.
|
|
108
|
+
*
|
|
109
|
+
* - `none`: Uses the default CPU affinity scheme.
|
|
103
110
|
*
|
|
104
111
|
* Default value: `none`.
|
|
105
112
|
*
|
|
@@ -109,7 +116,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
109
116
|
cpuPolicy?: string;
|
|
110
117
|
/**
|
|
111
118
|
* @remarks
|
|
112
|
-
* The
|
|
119
|
+
* The deployment set ID.
|
|
113
120
|
*
|
|
114
121
|
* @example
|
|
115
122
|
* ds-bp10b35imuam5amw****
|
|
@@ -117,7 +124,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
117
124
|
deploymentsetId?: string;
|
|
118
125
|
/**
|
|
119
126
|
* @remarks
|
|
120
|
-
* The custom image ID.
|
|
127
|
+
* The custom image ID. Specify this parameter when you use a custom image.
|
|
121
128
|
*
|
|
122
129
|
* @example
|
|
123
130
|
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
@@ -125,10 +132,11 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
125
132
|
imageId?: string;
|
|
126
133
|
/**
|
|
127
134
|
* @remarks
|
|
128
|
-
* The
|
|
135
|
+
* The operating system image type. Valid values:
|
|
136
|
+
*
|
|
137
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
129
138
|
*
|
|
130
|
-
*
|
|
131
|
-
* * `Custom`: the custom image.
|
|
139
|
+
* - `Custom`: Custom image.
|
|
132
140
|
*
|
|
133
141
|
* @example
|
|
134
142
|
* AliyunLinux3
|
|
@@ -136,12 +144,12 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
136
144
|
imageType?: string;
|
|
137
145
|
/**
|
|
138
146
|
* @remarks
|
|
139
|
-
* The
|
|
147
|
+
* The instance types. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
140
148
|
*/
|
|
141
149
|
instanceTypes?: string[];
|
|
142
150
|
/**
|
|
143
151
|
* @remarks
|
|
144
|
-
* The
|
|
152
|
+
* The key pair name. Specify either this parameter or `login_password`.
|
|
145
153
|
*
|
|
146
154
|
* @example
|
|
147
155
|
* ack
|
|
@@ -149,7 +157,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
149
157
|
keyPair?: string;
|
|
150
158
|
/**
|
|
151
159
|
* @remarks
|
|
152
|
-
* The
|
|
160
|
+
* The SSH logon password. Specify either this parameter or `key_pair`. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. To use password-based logon, specify this parameter during scale-out.
|
|
153
161
|
*
|
|
154
162
|
* @example
|
|
155
163
|
* Ack@2000.
|
|
@@ -157,7 +165,9 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
157
165
|
loginPassword?: string;
|
|
158
166
|
/**
|
|
159
167
|
* @remarks
|
|
160
|
-
*
|
|
168
|
+
* Valid port range: [30000,65535].
|
|
169
|
+
*
|
|
170
|
+
* Default value: 30000-32767.
|
|
161
171
|
*
|
|
162
172
|
* @example
|
|
163
173
|
* 30000-32767
|
|
@@ -165,9 +175,9 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
165
175
|
nodePortRange?: string;
|
|
166
176
|
/**
|
|
167
177
|
* @remarks
|
|
168
|
-
* The subscription duration
|
|
178
|
+
* The subscription duration for control plane node instances. This parameter is required and takes effect only when `charge_type` is set to `PrePaid`.
|
|
169
179
|
*
|
|
170
|
-
*
|
|
180
|
+
* When `period_unit=Month`, valid values are {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
171
181
|
*
|
|
172
182
|
* @example
|
|
173
183
|
* 1
|
|
@@ -175,9 +185,9 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
175
185
|
period?: number;
|
|
176
186
|
/**
|
|
177
187
|
* @remarks
|
|
178
|
-
* The billing cycle
|
|
188
|
+
* The billing cycle for control plane node instances. This parameter takes effect only when `charge_type` is set to `PrePaid`.
|
|
179
189
|
*
|
|
180
|
-
*
|
|
190
|
+
* `Month`: Billing by month. Only monthly billing is supported.
|
|
181
191
|
*
|
|
182
192
|
* @example
|
|
183
193
|
* Month
|
|
@@ -185,9 +195,9 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
185
195
|
periodUnit?: string;
|
|
186
196
|
/**
|
|
187
197
|
* @remarks
|
|
188
|
-
* The
|
|
198
|
+
* The container runtime. Valid values:
|
|
189
199
|
*
|
|
190
|
-
*
|
|
200
|
+
* - `containerd`: Recommended. Supported by all cluster versions.
|
|
191
201
|
*
|
|
192
202
|
* Default value: containerd.
|
|
193
203
|
*
|
|
@@ -197,20 +207,21 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
197
207
|
runtime?: string;
|
|
198
208
|
/**
|
|
199
209
|
* @remarks
|
|
200
|
-
*
|
|
210
|
+
* Alibaba Cloud OS security hardening. Valid values:
|
|
211
|
+
*
|
|
212
|
+
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
201
213
|
*
|
|
202
|
-
*
|
|
203
|
-
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
214
|
+
* - `false`: Disables Alibaba Cloud OS security hardening.
|
|
204
215
|
*
|
|
205
|
-
* Default value: `false
|
|
216
|
+
* Default value: `false`.
|
|
206
217
|
*
|
|
207
218
|
* @example
|
|
208
|
-
*
|
|
219
|
+
* false
|
|
209
220
|
*/
|
|
210
221
|
securityHardeningOs?: boolean;
|
|
211
222
|
/**
|
|
212
223
|
* @remarks
|
|
213
|
-
* The number of control plane nodes.
|
|
224
|
+
* The number of control plane nodes. To scale out the control plane of a dedicated cluster, set this parameter to the target number of control plane nodes, which must be greater than the current number.
|
|
214
225
|
*
|
|
215
226
|
* @example
|
|
216
227
|
* 5
|
|
@@ -218,12 +229,13 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
218
229
|
size?: number;
|
|
219
230
|
/**
|
|
220
231
|
* @remarks
|
|
221
|
-
*
|
|
232
|
+
* MLPS 2.0 security hardening. For more information, see [Use MLPS 2.0 security hardening for ACK](https://help.aliyun.com/document_detail/196148.html).
|
|
222
233
|
*
|
|
223
234
|
* Valid values:
|
|
224
235
|
*
|
|
225
|
-
*
|
|
226
|
-
*
|
|
236
|
+
* - `true`: Enables MLPS 2.0 security hardening.
|
|
237
|
+
*
|
|
238
|
+
* - `false`: Disables MLPS 2.0 security hardening.
|
|
227
239
|
*
|
|
228
240
|
* Default value: `false`.
|
|
229
241
|
*
|
|
@@ -233,12 +245,13 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
233
245
|
socEnabled?: boolean;
|
|
234
246
|
/**
|
|
235
247
|
* @remarks
|
|
236
|
-
* Specifies whether to enable
|
|
248
|
+
* Specifies whether to enable performance burst for node system disks. Valid values:
|
|
249
|
+
*
|
|
250
|
+
* - `true`: Enables performance burst.
|
|
237
251
|
*
|
|
238
|
-
*
|
|
239
|
-
* * `false`: disables the burst feature.
|
|
252
|
+
* - `false`: Disables performance burst.
|
|
240
253
|
*
|
|
241
|
-
*
|
|
254
|
+
* You can set this parameter only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
|
|
242
255
|
*
|
|
243
256
|
* @example
|
|
244
257
|
* true
|
|
@@ -246,14 +259,17 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
246
259
|
systemDiskBurstingEnabled?: boolean;
|
|
247
260
|
/**
|
|
248
261
|
* @remarks
|
|
249
|
-
* The
|
|
262
|
+
* The system disk category for nodes. Valid values:
|
|
263
|
+
*
|
|
264
|
+
* - `cloud_efficiency`: Ultra disk.
|
|
265
|
+
*
|
|
266
|
+
* - `cloud_ssd`: Standard SSD.
|
|
250
267
|
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
268
|
+
* - `cloud_essd`: ESSD.
|
|
269
|
+
*
|
|
270
|
+
* - `cloud_auto`: ESSD AutoPL.
|
|
271
|
+
*
|
|
272
|
+
* - `cloud_essd_entry`: ESSD Entry.
|
|
257
273
|
*
|
|
258
274
|
* @example
|
|
259
275
|
* cloud_essd
|
|
@@ -261,7 +277,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
261
277
|
systemDiskCategory?: string;
|
|
262
278
|
/**
|
|
263
279
|
* @remarks
|
|
264
|
-
* The performance level
|
|
280
|
+
* The performance level of node system disks. This parameter applies only to ESSDs. The performance level depends on the disk size. For more information, see [ESSD](https://help.aliyun.com/document_detail/122389.html).
|
|
265
281
|
*
|
|
266
282
|
* @example
|
|
267
283
|
* PL1
|
|
@@ -269,9 +285,9 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
269
285
|
systemDiskPerformanceLevel?: string;
|
|
270
286
|
/**
|
|
271
287
|
* @remarks
|
|
272
|
-
* The
|
|
288
|
+
* The provisioned read/write IOPS for node system disks. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
273
289
|
*
|
|
274
|
-
*
|
|
290
|
+
* You can set this parameter only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
|
|
275
291
|
*
|
|
276
292
|
* @example
|
|
277
293
|
* 1000
|
|
@@ -279,7 +295,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
279
295
|
systemDiskProvisionedIops?: number;
|
|
280
296
|
/**
|
|
281
297
|
* @remarks
|
|
282
|
-
* The
|
|
298
|
+
* The system disk size for nodes. Valid values: [40,500]. Unit: GiB.
|
|
283
299
|
*
|
|
284
300
|
* @example
|
|
285
301
|
* 120
|
|
@@ -287,7 +303,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
287
303
|
systemDiskSize?: number;
|
|
288
304
|
/**
|
|
289
305
|
* @remarks
|
|
290
|
-
* The
|
|
306
|
+
* The automatic snapshot policy ID for node system disks.
|
|
291
307
|
*
|
|
292
308
|
* @example
|
|
293
309
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -364,7 +380,20 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
364
380
|
}
|
|
365
381
|
|
|
366
382
|
export class ModifyClusterRequestControlPlaneEndpointsConfigInternalDnsConfig extends $dara.Model {
|
|
383
|
+
/**
|
|
384
|
+
* @remarks
|
|
385
|
+
* The VPCs where cluster internal domain name resolution takes effect.
|
|
386
|
+
*/
|
|
367
387
|
bindVpcs?: string[];
|
|
388
|
+
/**
|
|
389
|
+
* @remarks
|
|
390
|
+
* Specifies whether to enable cluster internal domain name access. Valid values:
|
|
391
|
+
*
|
|
392
|
+
* - true: Enables cluster internal domain name access. Node-side components (kubelet, kube-proxy) access the API server through the cluster internal domain name.
|
|
393
|
+
*
|
|
394
|
+
* @example
|
|
395
|
+
* true
|
|
396
|
+
*/
|
|
368
397
|
enabled?: boolean;
|
|
369
398
|
static names(): { [key: string]: string } {
|
|
370
399
|
return {
|
|
@@ -393,6 +422,10 @@ export class ModifyClusterRequestControlPlaneEndpointsConfigInternalDnsConfig ex
|
|
|
393
422
|
}
|
|
394
423
|
|
|
395
424
|
export class ModifyClusterRequestControlPlaneEndpointsConfig extends $dara.Model {
|
|
425
|
+
/**
|
|
426
|
+
* @remarks
|
|
427
|
+
* Internal domain name configuration for the cluster. This feature is available for ACK managed clusters. Cluster internal domain names allow node-side system components such as kubelet and kube-proxy to access the API server. If this feature is disabled, node-side system components access the API server through the CLB IP address.
|
|
428
|
+
*/
|
|
396
429
|
internalDnsConfig?: ModifyClusterRequestControlPlaneEndpointsConfigInternalDnsConfig;
|
|
397
430
|
static names(): { [key: string]: string } {
|
|
398
431
|
return {
|
|
@@ -421,13 +454,15 @@ export class ModifyClusterRequestControlPlaneEndpointsConfig extends $dara.Model
|
|
|
421
454
|
export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $dara.Model {
|
|
422
455
|
/**
|
|
423
456
|
* @remarks
|
|
424
|
-
* The frequency of
|
|
457
|
+
* The frequency of automatic cluster upgrades. For more information, see [Upgrade frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
425
458
|
*
|
|
426
459
|
* Valid values:
|
|
427
460
|
*
|
|
428
|
-
*
|
|
429
|
-
*
|
|
430
|
-
*
|
|
461
|
+
* - patch: Latest patch version.
|
|
462
|
+
*
|
|
463
|
+
* - stable: Second latest minor version.
|
|
464
|
+
*
|
|
465
|
+
* - rapid: Latest minor version.
|
|
431
466
|
*
|
|
432
467
|
* @example
|
|
433
468
|
* patch
|
|
@@ -435,7 +470,11 @@ export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $dara
|
|
|
435
470
|
channel?: string;
|
|
436
471
|
/**
|
|
437
472
|
* @remarks
|
|
438
|
-
* Specifies whether to enable automatic
|
|
473
|
+
* Specifies whether to enable automatic cluster upgrades.
|
|
474
|
+
*
|
|
475
|
+
* - true: Enables automatic upgrades.
|
|
476
|
+
*
|
|
477
|
+
* - false: Disables automatic upgrades.
|
|
439
478
|
*
|
|
440
479
|
* @example
|
|
441
480
|
* true
|
|
@@ -467,7 +506,7 @@ export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $dara
|
|
|
467
506
|
export class ModifyClusterRequestOperationPolicy extends $dara.Model {
|
|
468
507
|
/**
|
|
469
508
|
* @remarks
|
|
470
|
-
*
|
|
509
|
+
* Automatic cluster upgrade.
|
|
471
510
|
*/
|
|
472
511
|
clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
473
512
|
static names(): { [key: string]: string } {
|
|
@@ -497,7 +536,11 @@ export class ModifyClusterRequestOperationPolicy extends $dara.Model {
|
|
|
497
536
|
export class ModifyClusterRequestSystemEventsLogging extends $dara.Model {
|
|
498
537
|
/**
|
|
499
538
|
* @remarks
|
|
500
|
-
* Specifies whether to enable system event
|
|
539
|
+
* Specifies whether to enable system event logging.
|
|
540
|
+
*
|
|
541
|
+
* - true: Enables system event logging.
|
|
542
|
+
*
|
|
543
|
+
* - false: Disables system event logging.
|
|
501
544
|
*
|
|
502
545
|
* @example
|
|
503
546
|
* true
|
|
@@ -505,7 +548,7 @@ export class ModifyClusterRequestSystemEventsLogging extends $dara.Model {
|
|
|
505
548
|
enabled?: boolean;
|
|
506
549
|
/**
|
|
507
550
|
* @remarks
|
|
508
|
-
* The name
|
|
551
|
+
* The LogProject name for system event logging.
|
|
509
552
|
*
|
|
510
553
|
* @example
|
|
511
554
|
* k8s-log-cb95aa626a47740afbf6aa099b65****
|
|
@@ -537,22 +580,25 @@ export class ModifyClusterRequestSystemEventsLogging extends $dara.Model {
|
|
|
537
580
|
export class ModifyClusterRequest extends $dara.Model {
|
|
538
581
|
/**
|
|
539
582
|
* @remarks
|
|
540
|
-
* The
|
|
583
|
+
* The access control list for the API server SLB of registered clusters.
|
|
541
584
|
*
|
|
542
585
|
* @deprecated
|
|
543
586
|
*/
|
|
544
587
|
accessControlList?: string[];
|
|
545
588
|
/**
|
|
546
589
|
* @remarks
|
|
547
|
-
*
|
|
590
|
+
* This parameter adds custom IP addresses or domain names to the SAN field of the API server certificate to control client access.
|
|
591
|
+
*
|
|
592
|
+
* Only managed clusters support this parameter.
|
|
548
593
|
*/
|
|
549
594
|
apiServerCustomCertSans?: ModifyClusterRequestApiServerCustomCertSans;
|
|
550
595
|
/**
|
|
551
596
|
* @remarks
|
|
552
|
-
* Specifies whether to
|
|
597
|
+
* Specifies whether to bind an EIP to the cluster for public network access to the API server. Valid values:
|
|
598
|
+
*
|
|
599
|
+
* - `true`: Binds an EIP to the cluster.
|
|
553
600
|
*
|
|
554
|
-
*
|
|
555
|
-
* * `false`: does not associate an EIP with the cluster.
|
|
601
|
+
* - `false`: Does not bind an EIP to the cluster.
|
|
556
602
|
*
|
|
557
603
|
* @example
|
|
558
604
|
* true
|
|
@@ -560,7 +606,7 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
560
606
|
apiServerEip?: boolean;
|
|
561
607
|
/**
|
|
562
608
|
* @remarks
|
|
563
|
-
* The
|
|
609
|
+
* The EIP instance ID bound to the cluster API server. This parameter takes effect only when `api_server_eip` is set to `true`.
|
|
564
610
|
*
|
|
565
611
|
* @example
|
|
566
612
|
* eip-wz9fnasl6dsfhmvci****
|
|
@@ -568,40 +614,63 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
568
614
|
apiServerEipId?: string;
|
|
569
615
|
/**
|
|
570
616
|
* @remarks
|
|
571
|
-
* The cluster name.
|
|
572
|
-
*
|
|
573
|
-
* The cluster name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The cluster name cannot start with a hyphen (-).
|
|
617
|
+
* The custom cluster name. The name can contain digits, letters, Chinese characters, and hyphens (-). It must be 1 to 63 characters in length and cannot start with a hyphen (-).
|
|
574
618
|
*
|
|
575
619
|
* @example
|
|
576
620
|
* cluster-new-name
|
|
577
621
|
*/
|
|
578
622
|
clusterName?: string;
|
|
623
|
+
/**
|
|
624
|
+
* @remarks
|
|
625
|
+
* The cluster specification when you set `cluster_type` to `ManagedKubernetes` and configure `profile`. Valid values:
|
|
626
|
+
*
|
|
627
|
+
* - `ack.pro.small`: Pro
|
|
628
|
+
*
|
|
629
|
+
* - `ack.pro.xlarge`: Pro XL
|
|
630
|
+
*
|
|
631
|
+
* - `ack.pro.2xlarge`: Pro 2XL
|
|
632
|
+
*
|
|
633
|
+
* - `ack.pro.4xlarge`: Pro 4XL (requires approval from customer service to enable)
|
|
634
|
+
*
|
|
635
|
+
* 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 consistent high performance for API concurrency and pod scheduling. They are suitable for AI training and inference, ultra-large-scale clusters, and mission-critical workloads.
|
|
636
|
+
*
|
|
637
|
+
* For cluster management fees for Pro and provisioned control plane clusters, 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).
|
|
638
|
+
*
|
|
639
|
+
* @example
|
|
640
|
+
* ack.pro.small
|
|
641
|
+
*/
|
|
579
642
|
clusterSpec?: string;
|
|
580
643
|
/**
|
|
581
644
|
* @remarks
|
|
582
|
-
*
|
|
645
|
+
* Control plane configuration for dedicated clusters.
|
|
583
646
|
*/
|
|
584
647
|
controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
|
|
648
|
+
/**
|
|
649
|
+
* @remarks
|
|
650
|
+
* Cluster connection configuration.
|
|
651
|
+
*/
|
|
585
652
|
controlPlaneEndpointsConfig?: ModifyClusterRequestControlPlaneEndpointsConfig;
|
|
586
653
|
/**
|
|
587
654
|
* @remarks
|
|
588
|
-
*
|
|
655
|
+
* Enables or disables cluster deletion protection to prevent accidental cluster deletion from the console or using APIs. Valid values:
|
|
589
656
|
*
|
|
590
|
-
*
|
|
591
|
-
* * `false`: disables cluster deletion protection.
|
|
657
|
+
* - `true`: Enables cluster deletion protection. You cannot delete the cluster from the console or using APIs.
|
|
592
658
|
*
|
|
593
|
-
*
|
|
659
|
+
* - `false`: Disables cluster deletion protection. You can delete the cluster from the console or using APIs.
|
|
660
|
+
*
|
|
661
|
+
* Default value: `false`.
|
|
594
662
|
*
|
|
595
663
|
* @example
|
|
596
|
-
*
|
|
664
|
+
* false
|
|
597
665
|
*/
|
|
598
666
|
deletionProtection?: boolean;
|
|
599
667
|
/**
|
|
600
668
|
* @remarks
|
|
601
|
-
*
|
|
669
|
+
* Enables or disables the RRSA feature. Only managed clusters support this parameter. Valid values:
|
|
670
|
+
*
|
|
671
|
+
* - `true`: Enables RRSA.
|
|
602
672
|
*
|
|
603
|
-
*
|
|
604
|
-
* * `false`: disables the RRSA feature.
|
|
673
|
+
* - `false`: Disables RRSA.
|
|
605
674
|
*
|
|
606
675
|
* @example
|
|
607
676
|
* true
|
|
@@ -609,22 +678,23 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
609
678
|
enableRrsa?: boolean;
|
|
610
679
|
/**
|
|
611
680
|
* @remarks
|
|
612
|
-
* Specifies whether to
|
|
681
|
+
* Specifies whether to rebind the cluster test domain name. Valid values:
|
|
613
682
|
*
|
|
614
|
-
*
|
|
615
|
-
* * `false`: does not remap the test domain name of the cluster.
|
|
683
|
+
* - `true`: Rebinds the cluster test domain name.
|
|
616
684
|
*
|
|
617
|
-
*
|
|
685
|
+
* - `false`: Does not rebind the cluster test domain name.
|
|
686
|
+
*
|
|
687
|
+
* Default value: `false`.
|
|
618
688
|
*
|
|
619
689
|
* @example
|
|
620
|
-
*
|
|
690
|
+
* false
|
|
621
691
|
*
|
|
622
692
|
* @deprecated
|
|
623
693
|
*/
|
|
624
694
|
ingressDomainRebinding?: boolean;
|
|
625
695
|
/**
|
|
626
696
|
* @remarks
|
|
627
|
-
* The
|
|
697
|
+
* The SLB instance ID of the cluster to be modified.
|
|
628
698
|
*
|
|
629
699
|
* @example
|
|
630
700
|
* lb-wz97kes8tnndkpodw****
|
|
@@ -634,27 +704,28 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
634
704
|
ingressLoadbalancerId?: string;
|
|
635
705
|
/**
|
|
636
706
|
* @remarks
|
|
637
|
-
*
|
|
707
|
+
* Enables or disables instance deletion protection to prevent accidental release of nodes from the console or using APIs. Valid values:
|
|
638
708
|
*
|
|
639
|
-
*
|
|
640
|
-
* * `false`: disables instance deletion protection.
|
|
709
|
+
* - `true`: Prevents accidental node deletion from the console or using APIs.
|
|
641
710
|
*
|
|
642
|
-
*
|
|
711
|
+
* - `false`: Allows accidental node deletion from the console or using APIs.
|
|
712
|
+
*
|
|
713
|
+
* Default value: `false`.
|
|
643
714
|
*
|
|
644
715
|
* @example
|
|
645
|
-
*
|
|
716
|
+
* false
|
|
646
717
|
*
|
|
647
718
|
* @deprecated
|
|
648
719
|
*/
|
|
649
720
|
instanceDeletionProtection?: boolean;
|
|
650
721
|
/**
|
|
651
722
|
* @remarks
|
|
652
|
-
* The
|
|
723
|
+
* The maintenance window of the cluster. This feature is available only for ACK managed clusters Pro.
|
|
653
724
|
*/
|
|
654
725
|
maintenanceWindow?: MaintenanceWindow;
|
|
655
726
|
/**
|
|
656
727
|
* @remarks
|
|
657
|
-
*
|
|
728
|
+
* Automatic O\\&M policy for the cluster.
|
|
658
729
|
*/
|
|
659
730
|
operationPolicy?: ModifyClusterRequestOperationPolicy;
|
|
660
731
|
/**
|
|
@@ -667,16 +738,13 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
667
738
|
resourceGroupId?: string;
|
|
668
739
|
/**
|
|
669
740
|
* @remarks
|
|
670
|
-
* The
|
|
741
|
+
* The security group ID for the control plane.
|
|
671
742
|
*
|
|
672
|
-
* - If
|
|
743
|
+
* - If you configure blocking rules in the security group, ensure that the security group rules allow the protocols and ports required by the cluster. For recommended security group rules, see [Configure and manage cluster security groups](https://help.aliyun.com/document_detail/353191.html).
|
|
673
744
|
*
|
|
674
|
-
* - For non-ACK
|
|
675
|
-
* - During security group updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
676
|
-
* - After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
745
|
+
* - For non-dedicated ACK clusters, the control plane and installed managed components (such as terway-controlplane) restart briefly during the update. Perform this operation during off-peak hours. After you change the control plane security group, the ENIs used by the control plane and managed components are automatically added to the new security group.
|
|
677
746
|
*
|
|
678
|
-
* - For ACK dedicated clusters
|
|
679
|
-
* - After updating the control plane security group, newly scaled-out master nodes will automatically apply the new security group. Existing control plane nodes remain unaffected.
|
|
747
|
+
* - For ACK dedicated clusters, newly scaled-out master nodes automatically apply the new control plane security group. Existing control plane nodes are unaffected.
|
|
680
748
|
*
|
|
681
749
|
* @example
|
|
682
750
|
* sg-bp1h6rk3pgct2a08***
|
|
@@ -684,26 +752,18 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
684
752
|
securityGroupId?: string;
|
|
685
753
|
/**
|
|
686
754
|
* @remarks
|
|
687
|
-
*
|
|
755
|
+
* System event logging configuration.
|
|
688
756
|
*/
|
|
689
757
|
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
690
758
|
/**
|
|
691
759
|
* @remarks
|
|
692
|
-
* The time zone
|
|
760
|
+
* The cluster time zone. For more information, see [Supported time zones](https://help.aliyun.com/document_detail/354879.html).
|
|
693
761
|
*
|
|
694
|
-
* - After
|
|
762
|
+
* - After you change the time zone, cluster inspection configurations use the new time zone.
|
|
695
763
|
*
|
|
696
|
-
* - For
|
|
697
|
-
* - During time zone updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
698
|
-
* - After updating the time zone:
|
|
699
|
-
* - Newly scaled-out nodes will automatically apply the new time zone.
|
|
700
|
-
* - Existing nodes remain unaffected. Reset the node to apply changes to existing nodes.
|
|
764
|
+
* - For managed clusters, the control plane and installed managed components (such as terway-controlplane) restart briefly during the update. Perform this operation during off-peak hours. Newly scaled-out nodes automatically apply the new time zone. Existing nodes are unaffected. You can reset nodes in node pools to apply the new time zone to existing nodes.
|
|
701
765
|
*
|
|
702
|
-
* - For
|
|
703
|
-
* - After updating the time zone:
|
|
704
|
-
* - Newly scaled-out nodes (including control plane nodes) automatically apply the new time zone.
|
|
705
|
-
* - Existing nodes (including control plane nodes) remain unaffected. Reset the node to apply changes to existing nodes.
|
|
706
|
-
* - For control plane nodes, perform a scale-out followed by a scale-in to apply the new time zone to all control plane nodes.
|
|
766
|
+
* - For dedicated clusters, newly scaled-out nodes (including control plane nodes) automatically apply the new time zone. Existing nodes (including control plane nodes) are unaffected. You can reset nodes in node pools to apply the new time zone to existing nodes. For control plane nodes, scale out and then scale in to apply the new time zone to all control plane nodes.
|
|
707
767
|
*
|
|
708
768
|
* @example
|
|
709
769
|
* Asia/Shanghai
|
|
@@ -711,12 +771,15 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
711
771
|
timezone?: string;
|
|
712
772
|
/**
|
|
713
773
|
* @remarks
|
|
714
|
-
* The vSwitches
|
|
774
|
+
* The vSwitches for the cluster control plane. For dedicated clusters, the change applies only to newly scaled-out control plane nodes. When you change the control plane vSwitches for managed clusters, note the following:
|
|
775
|
+
*
|
|
776
|
+
* - This parameter performs an overwrite update. You must specify the complete target vSwitch list.
|
|
777
|
+
*
|
|
778
|
+
* - Control plane components restart briefly during the update. Proceed with caution.
|
|
779
|
+
*
|
|
780
|
+
* - Ensure that all security groups (including those for the control plane, all node pools, and container networking) allow inbound and outbound traffic for the IP CIDR blocks of the new vSwitches. Otherwise, nodes and containers cannot connect to the API server.
|
|
715
781
|
*
|
|
716
|
-
*
|
|
717
|
-
* * The control plane components restarts during the change process. Exercise caution when you perform this operation.
|
|
718
|
-
* * Ensure that all security groups of the cluster, including the security groups of the control plane, all node pools, and container network, are allowed to access the CIDR blocks of the new vSwitches. This ensures that the nodes and containers can connect to the API server.
|
|
719
|
-
* * If the new vSwitches of the control plane are configured with an ACL, ensure that the ACL allows communication between the new vSwitches and CIDR blocks such as those of the cluster nodes and the container network.
|
|
782
|
+
* - If the new control plane vSwitches have ACL rules configured, ensure that these rules allow communication between the vSwitches and the IP CIDR blocks of cluster nodes and container networks.
|
|
720
783
|
*/
|
|
721
784
|
vswitchIds?: string[];
|
|
722
785
|
static names(): { [key: string]: string } {
|