@alicloud/cs20151215 7.0.3 → 7.0.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 +38 -50
- package/dist/client.js +72 -79
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +182 -369
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +174 -649
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +195 -232
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +153 -244
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +107 -250
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +128 -209
- package/dist/models/Nodepool.js +29 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +73 -79
- package/src/models/CreateClusterNodePoolRequest.ts +204 -370
- package/src/models/CreateClusterRequest.ts +191 -649
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +216 -232
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +174 -244
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +113 -250
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +147 -209
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +7 -0
package/src/client.ts
CHANGED
|
@@ -43,44 +43,46 @@ export default class Client extends OpenApi {
|
|
|
43
43
|
'cn-zhengzhou-nebula-1': "cs.aliyuncs.com",
|
|
44
44
|
'eu-west-1-oxs': "cs.aliyuncs.com",
|
|
45
45
|
'rus-west-1-pop': "cs.aliyuncs.com",
|
|
46
|
-
'
|
|
47
|
-
'us-southeast-1': "cs.us-southeast-1.aliyuncs.com",
|
|
48
|
-
'us-east-1': "cs.us-east-1.aliyuncs.com",
|
|
49
|
-
'na-south-1': "cs.na-south-1.aliyuncs.com",
|
|
50
|
-
'me-east-1': "cs.me-east-1.aliyuncs.com",
|
|
51
|
-
'me-central-1': "cs.me-central-1.aliyuncs.com",
|
|
52
|
-
'eu-west-1': "cs.eu-west-1.aliyuncs.com",
|
|
53
|
-
'eu-central-1': "cs.eu-central-1.aliyuncs.com",
|
|
46
|
+
'cn-beijing': "cs.cn-beijing.aliyuncs.com",
|
|
54
47
|
'cn-zhengzhou-jva': "cs.cn-zhengzhou-jva.aliyuncs.com",
|
|
48
|
+
'cn-heyuan': "cs.cn-heyuan.aliyuncs.com",
|
|
55
49
|
'cn-zhangjiakou': "cs.cn-zhangjiakou.aliyuncs.com",
|
|
56
|
-
'
|
|
50
|
+
'ap-northeast-2': "cs.ap-northeast-2.aliyuncs.com",
|
|
51
|
+
'ap-northeast-1': "cs.ap-northeast-1.aliyuncs.com",
|
|
52
|
+
'ap-southeast-1': "cs.ap-southeast-1.aliyuncs.com",
|
|
53
|
+
'ap-southeast-3': "cs.ap-southeast-3.aliyuncs.com",
|
|
54
|
+
'ap-southeast-5': "cs.ap-southeast-5.aliyuncs.com",
|
|
55
|
+
'ap-southeast-7': "cs.ap-southeast-7.aliyuncs.com",
|
|
57
56
|
'cn-wulanchabu': "cs.cn-wulanchabu.aliyuncs.com",
|
|
57
|
+
'cn-qingdao': "cs.cn-qingdao.aliyuncs.com",
|
|
58
58
|
'cn-wuhan-lr': "cs.cn-wuhan-lr.aliyuncs.com",
|
|
59
|
-
'cn-shenzhen-finance-1': "cs.cn-shenzhen-finance-1.aliyuncs.com",
|
|
60
|
-
'cn-shenzhen': "cs.cn-shenzhen.aliyuncs.com",
|
|
61
|
-
'cn-shanghai-finance-1': "cs.cn-shanghai-finance-1.aliyuncs.com",
|
|
62
59
|
'cn-shanghai': "cs.cn-shanghai.aliyuncs.com",
|
|
63
|
-
'cn-qingdao': "cs.cn-qingdao.aliyuncs.com",
|
|
64
|
-
'cn-nanjing': "cs.cn-nanjing.aliyuncs.com",
|
|
65
|
-
'cn-huhehaote': "cs.cn-huhehaote.aliyuncs.com",
|
|
66
60
|
'cn-hongkong': "cs.cn-hongkong.aliyuncs.com",
|
|
67
|
-
'cn-
|
|
68
|
-
'cn-
|
|
69
|
-
'cn-hangzhou-finance': "cs.cn-hangzhou-finance.aliyuncs.com",
|
|
70
|
-
'cn-hangzhou': "cs.cn-hangzhou.aliyuncs.com",
|
|
71
|
-
'cn-guangzhou': "cs.cn-guangzhou.aliyuncs.com",
|
|
61
|
+
'cn-shenzhen': "cs.cn-shenzhen.aliyuncs.com",
|
|
62
|
+
'cn-nanjing': "cs.cn-nanjing.aliyuncs.com",
|
|
72
63
|
'cn-fuzhou': "cs.cn-fuzhou.aliyuncs.com",
|
|
73
64
|
'cn-chengdu': "cs.cn-chengdu.aliyuncs.com",
|
|
65
|
+
'cn-guangzhou': "cs.cn-guangzhou.aliyuncs.com",
|
|
66
|
+
'cn-huhehaote': "cs.cn-huhehaote.aliyuncs.com",
|
|
67
|
+
'cn-hangzhou': "cs.cn-hangzhou.aliyuncs.com",
|
|
68
|
+
'ap-southeast-8': "cs.ap-southeast-8.aliyuncs.com",
|
|
69
|
+
'cn-zhongwei': "cs.cn-zhongwei.aliyuncs.com",
|
|
70
|
+
'eu-west-2': "cs.eu-west-2.aliyuncs.com",
|
|
71
|
+
'na-south-1': "cs.na-south-1.aliyuncs.com",
|
|
72
|
+
'us-west-1': "cs.us-west-1.aliyuncs.com",
|
|
73
|
+
'us-east-1': "cs.us-east-1.aliyuncs.com",
|
|
74
|
+
'eu-central-1': "cs.eu-central-1.aliyuncs.com",
|
|
75
|
+
'eu-west-1': "cs.eu-west-1.aliyuncs.com",
|
|
76
|
+
'us-southeast-1': "cs.us-southeast-1.aliyuncs.com",
|
|
77
|
+
'me-central-1': "cs.me-central-1.aliyuncs.com",
|
|
78
|
+
'me-east-1': "cs.me-east-1.aliyuncs.com",
|
|
79
|
+
'cn-north-2-gov-1': "cs.cn-north-2-gov-1.aliyuncs.com",
|
|
80
|
+
'cn-heyuan-acdr-1': "cs.cn-heyuan-acdr-1.aliyuncs.com",
|
|
81
|
+
'cn-wulanchabu-gic-1': "cs.cn-wulanchabu-gic-1.aliyuncs.com",
|
|
82
|
+
'cn-shanghai-finance-1': "cs.cn-shanghai-finance-1.aliyuncs.com",
|
|
74
83
|
'cn-beijing-finance-1': "cs.cn-beijing-finance-1.aliyuncs.com",
|
|
75
|
-
'cn-
|
|
76
|
-
'
|
|
77
|
-
'ap-southeast-5': "cs.ap-southeast-5.aliyuncs.com",
|
|
78
|
-
'ap-southeast-3': "cs.ap-southeast-3.aliyuncs.com",
|
|
79
|
-
'ap-southeast-2': "cs.ap-southeast-2.aliyuncs.com",
|
|
80
|
-
'ap-southeast-1': "cs.ap-southeast-1.aliyuncs.com",
|
|
81
|
-
'ap-south-1': "cs.ap-south-1.aliyuncs.com",
|
|
82
|
-
'ap-northeast-2': "cs.ap-northeast-2.aliyuncs.com",
|
|
83
|
-
'ap-northeast-1': "cs.ap-northeast-1.aliyuncs.com",
|
|
84
|
+
'cn-shenzhen-finance-1': "cs.cn-shenzhen-finance-1.aliyuncs.com",
|
|
85
|
+
'cn-hangzhou-finance': "cs.cn-hangzhou-finance.aliyuncs.com",
|
|
84
86
|
};
|
|
85
87
|
this.checkConfig(config);
|
|
86
88
|
this._endpoint = this.getEndpoint("cs", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -774,16 +776,10 @@ export default class Client extends OpenApi {
|
|
|
774
776
|
}
|
|
775
777
|
|
|
776
778
|
/**
|
|
777
|
-
*
|
|
779
|
+
* Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When you create a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
|
|
778
780
|
*
|
|
779
781
|
* @remarks
|
|
780
|
-
* ### Generate OpenAPI request parameters
|
|
781
|
-
* When calling the CreateCluster API to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations through the console. Follow these steps:
|
|
782
|
-
* 1. Log in to the [Container Service management console](https://csnew.console.aliyun.com) and choose **Clusters** in the left navigation pane.
|
|
783
|
-
* 1. On the **Clusters** page, click **Cluster Template**.
|
|
784
|
-
* 1. In the dialog box, select the cluster type to create, click Create, and then configure the cluster information on the cluster configuration page.
|
|
785
|
-
* 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box will display the parameter combinations required for creating the cluster, which you can copy and use.
|
|
786
|
-
* >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For change details and alternative parameter descriptions, see [Announcement on OpenAPI parameter changes and API deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
782
|
+
* ### Generate OpenAPI request parameters by using the console.
|
|
787
783
|
*
|
|
788
784
|
* @param request - CreateClusterRequest
|
|
789
785
|
* @param headers - map
|
|
@@ -1224,16 +1220,10 @@ export default class Client extends OpenApi {
|
|
|
1224
1220
|
}
|
|
1225
1221
|
|
|
1226
1222
|
/**
|
|
1227
|
-
*
|
|
1223
|
+
* Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When you create a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
|
|
1228
1224
|
*
|
|
1229
1225
|
* @remarks
|
|
1230
|
-
* ### Generate OpenAPI request parameters
|
|
1231
|
-
* When calling the CreateCluster API to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations through the console. Follow these steps:
|
|
1232
|
-
* 1. Log in to the [Container Service management console](https://csnew.console.aliyun.com) and choose **Clusters** in the left navigation pane.
|
|
1233
|
-
* 1. On the **Clusters** page, click **Cluster Template**.
|
|
1234
|
-
* 1. In the dialog box, select the cluster type to create, click Create, and then configure the cluster information on the cluster configuration page.
|
|
1235
|
-
* 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box will display the parameter combinations required for creating the cluster, which you can copy and use.
|
|
1236
|
-
* >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For change details and alternative parameter descriptions, see [Announcement on OpenAPI parameter changes and API deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
1226
|
+
* ### Generate OpenAPI request parameters by using the console.
|
|
1237
1227
|
*
|
|
1238
1228
|
* @param request - CreateClusterRequest
|
|
1239
1229
|
* @returns CreateClusterResponse
|
|
@@ -1347,7 +1337,7 @@ export default class Client extends OpenApi {
|
|
|
1347
1337
|
}
|
|
1348
1338
|
|
|
1349
1339
|
/**
|
|
1350
|
-
*
|
|
1340
|
+
* A node pool is a logical collection of nodes that share the same attributes, allowing unified management and O&M operations such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools, including automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, to reduce O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
|
|
1351
1341
|
*
|
|
1352
1342
|
* @param request - CreateClusterNodePoolRequest
|
|
1353
1343
|
* @param headers - map
|
|
@@ -1440,7 +1430,7 @@ export default class Client extends OpenApi {
|
|
|
1440
1430
|
}
|
|
1441
1431
|
|
|
1442
1432
|
/**
|
|
1443
|
-
*
|
|
1433
|
+
* A node pool is a logical collection of nodes that share the same attributes, allowing unified management and O&M operations such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools, including automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, to reduce O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
|
|
1444
1434
|
*
|
|
1445
1435
|
* @param request - CreateClusterNodePoolRequest
|
|
1446
1436
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -2221,7 +2211,7 @@ export default class Client extends OpenApi {
|
|
|
2221
2211
|
}
|
|
2222
2212
|
|
|
2223
2213
|
/**
|
|
2224
|
-
*
|
|
2214
|
+
* Invokes the DescribeAddon operation to perform a parameter query for information about a specified component based on parameters such as region, cluster type, cluster child class (profile), cluster version, and component name. The returned information includes whether the component is managed, the component categorization, the schema of supported custom parameters, compatible operating system architectures, and the minimum cluster version required by the component version.
|
|
2225
2215
|
*
|
|
2226
2216
|
* @param request - DescribeAddonRequest
|
|
2227
2217
|
* @param headers - map
|
|
@@ -2278,7 +2268,7 @@ export default class Client extends OpenApi {
|
|
|
2278
2268
|
}
|
|
2279
2269
|
|
|
2280
2270
|
/**
|
|
2281
|
-
*
|
|
2271
|
+
* Invokes the DescribeAddon operation to perform a parameter query for information about a specified component based on parameters such as region, cluster type, cluster child class (profile), cluster version, and component name. The returned information includes whether the component is managed, the component categorization, the schema of supported custom parameters, compatible operating system architectures, and the minimum cluster version required by the component version.
|
|
2282
2272
|
*
|
|
2283
2273
|
* @param request - DescribeAddonRequest
|
|
2284
2274
|
* @returns DescribeAddonResponse
|
|
@@ -2696,7 +2686,7 @@ export default class Client extends OpenApi {
|
|
|
2696
2686
|
}
|
|
2697
2687
|
|
|
2698
2688
|
/**
|
|
2699
|
-
*
|
|
2689
|
+
* Queries the details of a specified cluster by cluster ID.
|
|
2700
2690
|
*
|
|
2701
2691
|
* @param headers - map
|
|
2702
2692
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2721,7 +2711,7 @@ export default class Client extends OpenApi {
|
|
|
2721
2711
|
}
|
|
2722
2712
|
|
|
2723
2713
|
/**
|
|
2724
|
-
*
|
|
2714
|
+
* Queries the details of a specified cluster by cluster ID.
|
|
2725
2715
|
* @returns DescribeClusterDetailResponse
|
|
2726
2716
|
*/
|
|
2727
2717
|
async describeClusterDetail(ClusterId: string): Promise<$_model.DescribeClusterDetailResponse> {
|
|
@@ -2862,15 +2852,15 @@ export default class Client extends OpenApi {
|
|
|
2862
2852
|
}
|
|
2863
2853
|
|
|
2864
2854
|
/**
|
|
2865
|
-
* Queries all node pools in a cluster.
|
|
2855
|
+
* Queries the list of all node pools in a cluster.
|
|
2866
2856
|
*
|
|
2867
2857
|
* @remarks
|
|
2868
2858
|
* - When removing nodes, perform standardized operations through this API or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by using `kubectl delete node`.
|
|
2869
|
-
* - Do not directly release nodes, remove instances, or allow nodes to be passively released due to subscription instance
|
|
2870
|
-
* - If the node pool has a desired
|
|
2859
|
+
* - Do not directly release nodes, remove instances in the ECS or ESS console (or through related APIs), or allow nodes to be passively released due to subscription instance expires. In these cases, nodes are directly stopped and automatically removed from the Container Service console.
|
|
2860
|
+
* - If the node pool has a desired number of nodes configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
|
|
2871
2861
|
* - Removing nodes involves Pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up relevant data in advance.
|
|
2872
|
-
* - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application
|
|
2873
|
-
* - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not
|
|
2862
|
+
* - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application pods being unable to be scheduling.
|
|
2863
|
+
* - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not unschedulable on other nodes after the node is removed.
|
|
2874
2864
|
*
|
|
2875
2865
|
* @param request - DescribeClusterNodePoolsRequest
|
|
2876
2866
|
* @param headers - map
|
|
@@ -2903,15 +2893,15 @@ export default class Client extends OpenApi {
|
|
|
2903
2893
|
}
|
|
2904
2894
|
|
|
2905
2895
|
/**
|
|
2906
|
-
* Queries all node pools in a cluster.
|
|
2896
|
+
* Queries the list of all node pools in a cluster.
|
|
2907
2897
|
*
|
|
2908
2898
|
* @remarks
|
|
2909
2899
|
* - When removing nodes, perform standardized operations through this API or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by using `kubectl delete node`.
|
|
2910
|
-
* - Do not directly release nodes, remove instances, or allow nodes to be passively released due to subscription instance
|
|
2911
|
-
* - If the node pool has a desired
|
|
2900
|
+
* - Do not directly release nodes, remove instances in the ECS or ESS console (or through related APIs), or allow nodes to be passively released due to subscription instance expires. In these cases, nodes are directly stopped and automatically removed from the Container Service console.
|
|
2901
|
+
* - If the node pool has a desired number of nodes configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
|
|
2912
2902
|
* - Removing nodes involves Pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up relevant data in advance.
|
|
2913
|
-
* - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application
|
|
2914
|
-
* - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not
|
|
2903
|
+
* - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application pods being unable to be scheduling.
|
|
2904
|
+
* - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not unschedulable on other nodes after the node is removed.
|
|
2915
2905
|
*
|
|
2916
2906
|
* @param request - DescribeClusterNodePoolsRequest
|
|
2917
2907
|
* @returns DescribeClusterNodePoolsResponse
|
|
@@ -4949,7 +4939,7 @@ export default class Client extends OpenApi {
|
|
|
4949
4939
|
}
|
|
4950
4940
|
|
|
4951
4941
|
/**
|
|
4952
|
-
* Installs components
|
|
4942
|
+
* Installs node components. You can configure and specify nodes on which to install components.
|
|
4953
4943
|
*
|
|
4954
4944
|
* @param request - InstallNodePoolComponentsRequest
|
|
4955
4945
|
* @param headers - map
|
|
@@ -4990,7 +4980,7 @@ export default class Client extends OpenApi {
|
|
|
4990
4980
|
}
|
|
4991
4981
|
|
|
4992
4982
|
/**
|
|
4993
|
-
* Installs components
|
|
4983
|
+
* Installs node components. You can configure and specify nodes on which to install components.
|
|
4994
4984
|
*
|
|
4995
4985
|
* @param request - InstallNodePoolComponentsRequest
|
|
4996
4986
|
* @returns InstallNodePoolComponentsResponse
|
|
@@ -5675,10 +5665,10 @@ export default class Client extends OpenApi {
|
|
|
5675
5665
|
}
|
|
5676
5666
|
|
|
5677
5667
|
/**
|
|
5678
|
-
*
|
|
5668
|
+
* Modifies the configuration of an ACK cluster.
|
|
5679
5669
|
*
|
|
5680
5670
|
* @remarks
|
|
5681
|
-
* <notice>Starting
|
|
5671
|
+
* <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
5682
5672
|
*
|
|
5683
5673
|
* @param request - ModifyClusterRequest
|
|
5684
5674
|
* @param headers - map
|
|
@@ -5704,6 +5694,10 @@ export default class Client extends OpenApi {
|
|
|
5704
5694
|
body["api_server_eip_id"] = request.apiServerEipId;
|
|
5705
5695
|
}
|
|
5706
5696
|
|
|
5697
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
5698
|
+
body["client_token"] = request.clientToken;
|
|
5699
|
+
}
|
|
5700
|
+
|
|
5707
5701
|
if (!$dara.isNull(request.clusterName)) {
|
|
5708
5702
|
body["cluster_name"] = request.clusterName;
|
|
5709
5703
|
}
|
|
@@ -5787,10 +5781,10 @@ export default class Client extends OpenApi {
|
|
|
5787
5781
|
}
|
|
5788
5782
|
|
|
5789
5783
|
/**
|
|
5790
|
-
*
|
|
5784
|
+
* Modifies the configuration of an ACK cluster.
|
|
5791
5785
|
*
|
|
5792
5786
|
* @remarks
|
|
5793
|
-
* <notice>Starting
|
|
5787
|
+
* <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
5794
5788
|
*
|
|
5795
5789
|
* @param request - ModifyClusterRequest
|
|
5796
5790
|
* @returns ModifyClusterResponse
|
|
@@ -5859,10 +5853,10 @@ export default class Client extends OpenApi {
|
|
|
5859
5853
|
}
|
|
5860
5854
|
|
|
5861
5855
|
/**
|
|
5862
|
-
*
|
|
5856
|
+
* Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
|
|
5863
5857
|
*
|
|
5864
5858
|
* @remarks
|
|
5865
|
-
* <notice>Starting
|
|
5859
|
+
* <notice>Starting July 04, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to input and output parameters of OpenAPI operations related to ACK cluster management and the deprecation of specific OpenAPI operations](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
5866
5860
|
*
|
|
5867
5861
|
* @param request - ModifyClusterNodePoolRequest
|
|
5868
5862
|
* @param headers - map
|
|
@@ -5927,10 +5921,10 @@ export default class Client extends OpenApi {
|
|
|
5927
5921
|
}
|
|
5928
5922
|
|
|
5929
5923
|
/**
|
|
5930
|
-
*
|
|
5924
|
+
* Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
|
|
5931
5925
|
*
|
|
5932
5926
|
* @remarks
|
|
5933
|
-
* <notice>Starting
|
|
5927
|
+
* <notice>Starting July 04, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to input and output parameters of OpenAPI operations related to ACK cluster management and the deprecation of specific OpenAPI operations](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
5934
5928
|
*
|
|
5935
5929
|
* @param request - ModifyClusterNodePoolRequest
|
|
5936
5930
|
* @returns ModifyClusterNodePoolResponse
|
|
@@ -5991,7 +5985,7 @@ export default class Client extends OpenApi {
|
|
|
5991
5985
|
* Modifies the node configurations in a cluster node pool, such as kubelet configurations and rolling update configurations. Modifying node configurations applies changes in batches and restarts kubelet, which may affect node operations and workload execution. Perform this operation during off-peak hours.
|
|
5992
5986
|
*
|
|
5993
5987
|
* @remarks
|
|
5994
|
-
* > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the
|
|
5988
|
+
* > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification is complete, the configurations automatically take effect on existing nodes in the node pool, and new nodes added to the node pool also use the new configurations.
|
|
5995
5989
|
*
|
|
5996
5990
|
* @param request - ModifyNodePoolNodeConfigRequest
|
|
5997
5991
|
* @param headers - map
|
|
@@ -6043,7 +6037,7 @@ export default class Client extends OpenApi {
|
|
|
6043
6037
|
* Modifies the node configurations in a cluster node pool, such as kubelet configurations and rolling update configurations. Modifying node configurations applies changes in batches and restarts kubelet, which may affect node operations and workload execution. Perform this operation during off-peak hours.
|
|
6044
6038
|
*
|
|
6045
6039
|
* @remarks
|
|
6046
|
-
* > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the
|
|
6040
|
+
* > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification is complete, the configurations automatically take effect on existing nodes in the node pool, and new nodes added to the node pool also use the new configurations.
|
|
6047
6041
|
*
|
|
6048
6042
|
* @param request - ModifyNodePoolNodeConfigRequest
|
|
6049
6043
|
* @returns ModifyNodePoolNodeConfigResponse
|
|
@@ -7987,14 +7981,14 @@ export default class Client extends OpenApi {
|
|
|
7987
7981
|
}
|
|
7988
7982
|
|
|
7989
7983
|
/**
|
|
7990
|
-
* Upgrades the kubelet version (
|
|
7984
|
+
* Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
7991
7985
|
*
|
|
7992
7986
|
* @remarks
|
|
7993
|
-
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you call the UpgradeClusterNodepool operation, the API returns a task_id for the upgrade task. You can manage the task by calling the following task API operations:
|
|
7987
|
+
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you successfully call the UpgradeClusterNodepool operation, the API returns a `task_id` for the upgrade task. You can manage the task by calling the following task-related API operations:
|
|
7994
7988
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7995
7989
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7996
7990
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
7997
|
-
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7991
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7998
7992
|
*
|
|
7999
7993
|
* @param request - UpgradeClusterNodepoolRequest
|
|
8000
7994
|
* @param headers - map
|
|
@@ -8055,14 +8049,14 @@ export default class Client extends OpenApi {
|
|
|
8055
8049
|
}
|
|
8056
8050
|
|
|
8057
8051
|
/**
|
|
8058
|
-
* Upgrades the kubelet version (
|
|
8052
|
+
* Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
8059
8053
|
*
|
|
8060
8054
|
* @remarks
|
|
8061
|
-
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you call the UpgradeClusterNodepool operation, the API returns a task_id for the upgrade task. You can manage the task by calling the following task API operations:
|
|
8055
|
+
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you successfully call the UpgradeClusterNodepool operation, the API returns a `task_id` for the upgrade task. You can manage the task by calling the following task-related API operations:
|
|
8062
8056
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
8063
8057
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
8064
8058
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
8065
|
-
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
8059
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
8066
8060
|
*
|
|
8067
8061
|
* @param request - UpgradeClusterNodepoolRequest
|
|
8068
8062
|
* @returns UpgradeClusterNodepoolResponse
|