@alicloud/cs20151215 7.0.4 → 7.1.0

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.
Files changed (126) hide show
  1. package/dist/client.d.ts +120 -42
  2. package/dist/client.js +332 -71
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -366
  5. package/dist/models/CreateClusterNodePoolRequest.js +2 -0
  6. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  7. package/dist/models/CreateClusterRequest.d.ts +119 -621
  8. package/dist/models/CreateClusterRequest.js.map +1 -1
  9. package/dist/models/CreateClusterResponseBody.d.ts +3 -3
  10. package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +100 -0
  11. package/dist/models/CreateNodePoolComponentInstancesRequest.js +144 -0
  12. package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -0
  13. package/dist/models/CreateNodePoolComponentInstancesResponse.d.ts +19 -0
  14. package/dist/models/CreateNodePoolComponentInstancesResponse.js +69 -0
  15. package/dist/models/CreateNodePoolComponentInstancesResponse.js.map +1 -0
  16. package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +28 -0
  17. package/dist/models/CreateNodePoolComponentInstancesResponseBody.js +62 -0
  18. package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -0
  19. package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +38 -0
  20. package/dist/models/DeleteNodePoolComponentInstanceRequest.js +69 -0
  21. package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -0
  22. package/dist/models/DeleteNodePoolComponentInstanceResponse.d.ts +19 -0
  23. package/dist/models/DeleteNodePoolComponentInstanceResponse.js +69 -0
  24. package/dist/models/DeleteNodePoolComponentInstanceResponse.js.map +1 -0
  25. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +28 -0
  26. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js +62 -0
  27. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -0
  28. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +38 -0
  29. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js +66 -0
  30. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -0
  31. package/dist/models/DescribeAddonRequest.d.ts +7 -18
  32. package/dist/models/DescribeAddonRequest.js.map +1 -1
  33. package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
  34. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +159 -228
  35. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
  36. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  37. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +121 -240
  38. package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
  39. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  40. package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
  41. package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
  42. package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
  43. package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +23 -0
  44. package/dist/models/ListNodePoolComponentInstancesRequest.js +60 -0
  45. package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -0
  46. package/dist/models/ListNodePoolComponentInstancesResponse.d.ts +19 -0
  47. package/dist/models/ListNodePoolComponentInstancesResponse.js +69 -0
  48. package/dist/models/ListNodePoolComponentInstancesResponse.js.map +1 -0
  49. package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +76 -0
  50. package/dist/models/ListNodePoolComponentInstancesResponseBody.js +117 -0
  51. package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -0
  52. package/dist/models/ListNodePoolComponentsRequest.d.ts +48 -0
  53. package/dist/models/ListNodePoolComponentsRequest.js +73 -0
  54. package/dist/models/ListNodePoolComponentsRequest.js.map +1 -0
  55. package/dist/models/ListNodePoolComponentsResponse.d.ts +19 -0
  56. package/dist/models/ListNodePoolComponentsResponse.js +69 -0
  57. package/dist/models/ListNodePoolComponentsResponse.js.map +1 -0
  58. package/dist/models/ListNodePoolComponentsResponseBody.d.ts +51 -0
  59. package/dist/models/ListNodePoolComponentsResponseBody.js +88 -0
  60. package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -0
  61. package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +48 -0
  62. package/dist/models/ListNodePoolComponentsShrinkRequest.js +70 -0
  63. package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -0
  64. package/dist/models/MaintenanceWindow.d.ts +1 -1
  65. package/dist/models/ModifyClusterNodePoolRequest.d.ts +99 -257
  66. package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
  67. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  68. package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
  69. package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
  70. package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
  71. package/dist/models/Nodepool.d.ts +70 -195
  72. package/dist/models/Nodepool.js.map +1 -1
  73. package/dist/models/Runtime.d.ts +2 -2
  74. package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +77 -0
  75. package/dist/models/UpdateNodePoolComponentInstanceRequest.js +122 -0
  76. package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -0
  77. package/dist/models/UpdateNodePoolComponentInstanceResponse.d.ts +19 -0
  78. package/dist/models/UpdateNodePoolComponentInstanceResponse.js +69 -0
  79. package/dist/models/UpdateNodePoolComponentInstanceResponse.js.map +1 -0
  80. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +28 -0
  81. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js +62 -0
  82. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -0
  83. package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
  84. package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
  85. package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
  86. package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
  87. package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
  88. package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
  89. package/dist/models/model.d.ts +25 -0
  90. package/dist/models/model.js +63 -12
  91. package/dist/models/model.js.map +1 -1
  92. package/package.json +1 -1
  93. package/src/client.ts +366 -71
  94. package/src/models/CreateClusterNodePoolRequest.ts +126 -367
  95. package/src/models/CreateClusterRequest.ts +119 -621
  96. package/src/models/CreateClusterResponseBody.ts +3 -3
  97. package/src/models/CreateNodePoolComponentInstancesRequest.ts +170 -0
  98. package/src/models/CreateNodePoolComponentInstancesResponse.ts +40 -0
  99. package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +45 -0
  100. package/src/models/DeleteNodePoolComponentInstanceRequest.ts +62 -0
  101. package/src/models/DeleteNodePoolComponentInstanceResponse.ts +40 -0
  102. package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +45 -0
  103. package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +59 -0
  104. package/src/models/DescribeAddonRequest.ts +7 -18
  105. package/src/models/DescribeAddonResponseBody.ts +12 -12
  106. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +161 -228
  107. package/src/models/DescribeClusterNodePoolsResponseBody.ts +123 -240
  108. package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
  109. package/src/models/ListNodePoolComponentInstancesRequest.ts +38 -0
  110. package/src/models/ListNodePoolComponentInstancesResponse.ts +40 -0
  111. package/src/models/ListNodePoolComponentInstancesResponseBody.ts +128 -0
  112. package/src/models/ListNodePoolComponentsRequest.ts +76 -0
  113. package/src/models/ListNodePoolComponentsResponse.ts +40 -0
  114. package/src/models/ListNodePoolComponentsResponseBody.ts +85 -0
  115. package/src/models/ListNodePoolComponentsShrinkRequest.ts +73 -0
  116. package/src/models/MaintenanceWindow.ts +1 -1
  117. package/src/models/ModifyClusterNodePoolRequest.ts +101 -257
  118. package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
  119. package/src/models/Nodepool.ts +70 -195
  120. package/src/models/Runtime.ts +2 -2
  121. package/src/models/UpdateNodePoolComponentInstanceRequest.ts +134 -0
  122. package/src/models/UpdateNodePoolComponentInstanceResponse.ts +40 -0
  123. package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +45 -0
  124. package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
  125. package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
  126. package/src/models/model.ts +25 -0
package/dist/client.js CHANGED
@@ -80,44 +80,46 @@ class Client extends openapi_core_1.default {
80
80
  'cn-zhengzhou-nebula-1': "cs.aliyuncs.com",
81
81
  'eu-west-1-oxs': "cs.aliyuncs.com",
82
82
  'rus-west-1-pop': "cs.aliyuncs.com",
83
- 'us-west-1': "cs.us-west-1.aliyuncs.com",
84
- 'us-southeast-1': "cs.us-southeast-1.aliyuncs.com",
85
- 'us-east-1': "cs.us-east-1.aliyuncs.com",
86
- 'na-south-1': "cs.na-south-1.aliyuncs.com",
87
- 'me-east-1': "cs.me-east-1.aliyuncs.com",
88
- 'me-central-1': "cs.me-central-1.aliyuncs.com",
89
- 'eu-west-1': "cs.eu-west-1.aliyuncs.com",
90
- 'eu-central-1': "cs.eu-central-1.aliyuncs.com",
83
+ 'cn-beijing': "cs.cn-beijing.aliyuncs.com",
91
84
  'cn-zhengzhou-jva': "cs.cn-zhengzhou-jva.aliyuncs.com",
85
+ 'cn-heyuan': "cs.cn-heyuan.aliyuncs.com",
92
86
  'cn-zhangjiakou': "cs.cn-zhangjiakou.aliyuncs.com",
93
- 'cn-wulanchabu-gic-1': "cs.cn-wulanchabu-gic-1.aliyuncs.com",
87
+ 'ap-northeast-2': "cs.ap-northeast-2.aliyuncs.com",
88
+ 'ap-northeast-1': "cs.ap-northeast-1.aliyuncs.com",
89
+ 'ap-southeast-1': "cs.ap-southeast-1.aliyuncs.com",
90
+ 'ap-southeast-3': "cs.ap-southeast-3.aliyuncs.com",
91
+ 'ap-southeast-5': "cs.ap-southeast-5.aliyuncs.com",
92
+ 'ap-southeast-7': "cs.ap-southeast-7.aliyuncs.com",
94
93
  'cn-wulanchabu': "cs.cn-wulanchabu.aliyuncs.com",
94
+ 'cn-qingdao': "cs.cn-qingdao.aliyuncs.com",
95
95
  'cn-wuhan-lr': "cs.cn-wuhan-lr.aliyuncs.com",
96
- 'cn-shenzhen-finance-1': "cs.cn-shenzhen-finance-1.aliyuncs.com",
97
- 'cn-shenzhen': "cs.cn-shenzhen.aliyuncs.com",
98
- 'cn-shanghai-finance-1': "cs.cn-shanghai-finance-1.aliyuncs.com",
99
96
  'cn-shanghai': "cs.cn-shanghai.aliyuncs.com",
100
- 'cn-qingdao': "cs.cn-qingdao.aliyuncs.com",
101
- 'cn-nanjing': "cs.cn-nanjing.aliyuncs.com",
102
- 'cn-huhehaote': "cs.cn-huhehaote.aliyuncs.com",
103
97
  'cn-hongkong': "cs.cn-hongkong.aliyuncs.com",
104
- 'cn-heyuan-acdr-1': "cs.cn-heyuan-acdr-1.aliyuncs.com",
105
- 'cn-heyuan': "cs.cn-heyuan.aliyuncs.com",
106
- 'cn-hangzhou-finance': "cs.cn-hangzhou-finance.aliyuncs.com",
107
- 'cn-hangzhou': "cs.cn-hangzhou.aliyuncs.com",
108
- 'cn-guangzhou': "cs.cn-guangzhou.aliyuncs.com",
98
+ 'cn-shenzhen': "cs.cn-shenzhen.aliyuncs.com",
99
+ 'cn-nanjing': "cs.cn-nanjing.aliyuncs.com",
109
100
  'cn-fuzhou': "cs.cn-fuzhou.aliyuncs.com",
110
101
  'cn-chengdu': "cs.cn-chengdu.aliyuncs.com",
102
+ 'cn-guangzhou': "cs.cn-guangzhou.aliyuncs.com",
103
+ 'cn-huhehaote': "cs.cn-huhehaote.aliyuncs.com",
104
+ 'cn-hangzhou': "cs.cn-hangzhou.aliyuncs.com",
105
+ 'ap-southeast-8': "cs.ap-southeast-8.aliyuncs.com",
106
+ 'cn-zhongwei': "cs.cn-zhongwei.aliyuncs.com",
107
+ 'eu-west-2': "cs.eu-west-2.aliyuncs.com",
108
+ 'na-south-1': "cs.na-south-1.aliyuncs.com",
109
+ 'us-west-1': "cs.us-west-1.aliyuncs.com",
110
+ 'us-east-1': "cs.us-east-1.aliyuncs.com",
111
+ 'eu-central-1': "cs.eu-central-1.aliyuncs.com",
112
+ 'eu-west-1': "cs.eu-west-1.aliyuncs.com",
113
+ 'us-southeast-1': "cs.us-southeast-1.aliyuncs.com",
114
+ 'me-central-1': "cs.me-central-1.aliyuncs.com",
115
+ 'me-east-1': "cs.me-east-1.aliyuncs.com",
116
+ 'cn-north-2-gov-1': "cs.cn-north-2-gov-1.aliyuncs.com",
117
+ 'cn-heyuan-acdr-1': "cs.cn-heyuan-acdr-1.aliyuncs.com",
118
+ 'cn-wulanchabu-gic-1': "cs.cn-wulanchabu-gic-1.aliyuncs.com",
119
+ 'cn-shanghai-finance-1': "cs.cn-shanghai-finance-1.aliyuncs.com",
111
120
  'cn-beijing-finance-1': "cs.cn-beijing-finance-1.aliyuncs.com",
112
- 'cn-beijing': "cs.cn-beijing.aliyuncs.com",
113
- 'ap-southeast-7': "cs.ap-southeast-7.aliyuncs.com",
114
- 'ap-southeast-5': "cs.ap-southeast-5.aliyuncs.com",
115
- 'ap-southeast-3': "cs.ap-southeast-3.aliyuncs.com",
116
- 'ap-southeast-2': "cs.ap-southeast-2.aliyuncs.com",
117
- 'ap-southeast-1': "cs.ap-southeast-1.aliyuncs.com",
118
- 'ap-south-1': "cs.ap-south-1.aliyuncs.com",
119
- 'ap-northeast-2': "cs.ap-northeast-2.aliyuncs.com",
120
- 'ap-northeast-1': "cs.ap-northeast-1.aliyuncs.com",
121
+ 'cn-shenzhen-finance-1': "cs.cn-shenzhen-finance-1.aliyuncs.com",
122
+ 'cn-hangzhou-finance': "cs.cn-hangzhou-finance.aliyuncs.com",
121
123
  };
122
124
  this.checkConfig(config);
123
125
  this._endpoint = this.getEndpoint("cs", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -740,16 +742,10 @@ class Client extends openapi_core_1.default {
740
742
  return await this.createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime);
741
743
  }
742
744
  /**
743
- * Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When creating a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
745
+ * 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.
744
746
  *
745
747
  * @remarks
746
- * ### Generate OpenAPI request parameters from the console
747
- * When you call the CreateCluster operation to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations from the console. Perform the following steps:
748
- * 1. Log on to the [Container Service console](https://csnew.console.aliyun.com) and choose **Cluster List** in the left-side navigation pane.
749
- * 1. On the **Cluster List** page, click **Cluster Template**.
750
- * 1. In the dialog box, select the cluster type that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
751
- * 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the parameter combinations required to create the cluster, which you can copy and use.
752
- * >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For details about the changes and override parameter descriptions, see [Notice on changes to OpenAPI parameters and offline of OpenAPIs for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
748
+ * ### Generate OpenAPI request parameters by using the console.
753
749
  *
754
750
  * @param request - CreateClusterRequest
755
751
  * @param headers - map
@@ -1086,16 +1082,10 @@ class Client extends openapi_core_1.default {
1086
1082
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterResponse({}));
1087
1083
  }
1088
1084
  /**
1089
- * Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When creating a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
1085
+ * 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.
1090
1086
  *
1091
1087
  * @remarks
1092
- * ### Generate OpenAPI request parameters from the console
1093
- * When you call the CreateCluster operation to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations from the console. Perform the following steps:
1094
- * 1. Log on to the [Container Service console](https://csnew.console.aliyun.com) and choose **Cluster List** in the left-side navigation pane.
1095
- * 1. On the **Cluster List** page, click **Cluster Template**.
1096
- * 1. In the dialog box, select the cluster type that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
1097
- * 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the parameter combinations required to create the cluster, which you can copy and use.
1098
- * >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For details about the changes and override parameter descriptions, see [Notice on changes to OpenAPI parameters and offline of OpenAPIs for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
1088
+ * ### Generate OpenAPI request parameters by using the console.
1099
1089
  *
1100
1090
  * @param request - CreateClusterRequest
1101
1091
  * @returns CreateClusterResponse
@@ -1199,7 +1189,7 @@ class Client extends openapi_core_1.default {
1199
1189
  return await this.createClusterInspectConfigWithOptions(clusterId, request, headers, runtime);
1200
1190
  }
1201
1191
  /**
1202
- * Creates a node pool for a cluster. 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 leverage 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.
1192
+ * 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.
1203
1193
  *
1204
1194
  * @param request - CreateClusterNodePoolRequest
1205
1195
  * @param headers - map
@@ -1275,7 +1265,7 @@ class Client extends openapi_core_1.default {
1275
1265
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterNodePoolResponse({}));
1276
1266
  }
1277
1267
  /**
1278
- * Creates a node pool for a cluster. 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 leverage 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.
1268
+ * 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.
1279
1269
  *
1280
1270
  * @param request - CreateClusterNodePoolRequest
1281
1271
  * @returns CreateClusterNodePoolResponse
@@ -1341,6 +1331,54 @@ class Client extends openapi_core_1.default {
1341
1331
  let headers = {};
1342
1332
  return await this.createKubernetesTriggerWithOptions(request, headers, runtime);
1343
1333
  }
1334
+ /**
1335
+ * 安装节点组件
1336
+ *
1337
+ * @param request - CreateNodePoolComponentInstancesRequest
1338
+ * @param headers - map
1339
+ * @param runtime - runtime options for this request RuntimeOptions
1340
+ * @returns CreateNodePoolComponentInstancesResponse
1341
+ */
1342
+ async createNodePoolComponentInstancesWithOptions(clusterId, nodepoolId, request, headers, runtime) {
1343
+ request.validate();
1344
+ let body = {};
1345
+ if (!$dara.isNull(request.components)) {
1346
+ body["components"] = request.components;
1347
+ }
1348
+ if (!$dara.isNull(request.nodeNames)) {
1349
+ body["node_names"] = request.nodeNames;
1350
+ }
1351
+ if (!$dara.isNull(request.rollingPolicy)) {
1352
+ body["rolling_policy"] = request.rollingPolicy;
1353
+ }
1354
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1355
+ headers: headers,
1356
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
1357
+ });
1358
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1359
+ action: "CreateNodePoolComponentInstances",
1360
+ version: "2015-12-15",
1361
+ protocol: "HTTPS",
1362
+ pathname: `/clusters/${$dara.URL.percentEncode(clusterId)}/nodepools/${$dara.URL.percentEncode(nodepoolId)}/component_instances`,
1363
+ method: "POST",
1364
+ authType: "AK",
1365
+ style: "ROA",
1366
+ reqBodyType: "json",
1367
+ bodyType: "json",
1368
+ });
1369
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateNodePoolComponentInstancesResponse({}));
1370
+ }
1371
+ /**
1372
+ * 安装节点组件
1373
+ *
1374
+ * @param request - CreateNodePoolComponentInstancesRequest
1375
+ * @returns CreateNodePoolComponentInstancesResponse
1376
+ */
1377
+ async createNodePoolComponentInstances(clusterId, nodepoolId, request) {
1378
+ let runtime = new $dara.RuntimeOptions({});
1379
+ let headers = {};
1380
+ return await this.createNodePoolComponentInstancesWithOptions(clusterId, nodepoolId, request, headers, runtime);
1381
+ }
1344
1382
  /**
1345
1383
  * An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner, specifying how applications should run or be configured. You can use these templates to automate the deployment and cluster management of resources, such as Pods, Services, Deployments, ConfigMaps, and PersistentVolumes. You can invoke the CreateTemplate operation to create an orchestration template.
1346
1384
  *
@@ -1837,6 +1875,65 @@ class Client extends openapi_core_1.default {
1837
1875
  let headers = {};
1838
1876
  return await this.deleteKubernetesTriggerWithOptions(Id, headers, runtime);
1839
1877
  }
1878
+ /**
1879
+ * 卸载节点组件
1880
+ *
1881
+ * @param tmpReq - DeleteNodePoolComponentInstanceRequest
1882
+ * @param headers - map
1883
+ * @param runtime - runtime options for this request RuntimeOptions
1884
+ * @returns DeleteNodePoolComponentInstanceResponse
1885
+ */
1886
+ async deleteNodePoolComponentInstanceWithOptions(clusterId, nodepoolId, name, tmpReq, headers, runtime) {
1887
+ tmpReq.validate();
1888
+ let request = new $_model.DeleteNodePoolComponentInstanceShrinkRequest({});
1889
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
1890
+ if (!$dara.isNull(tmpReq.nodeNames)) {
1891
+ request.nodeNamesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.nodeNames, "node_names", "json");
1892
+ }
1893
+ let query = {};
1894
+ if (!$dara.isNull(request.batchInterval)) {
1895
+ query["batch_interval"] = request.batchInterval;
1896
+ }
1897
+ if (!$dara.isNull(request.maxFailedNodes)) {
1898
+ query["max_failed_nodes"] = request.maxFailedNodes;
1899
+ }
1900
+ if (!$dara.isNull(request.maxParallelism)) {
1901
+ query["max_parallelism"] = request.maxParallelism;
1902
+ }
1903
+ if (!$dara.isNull(request.nodeNamesShrink)) {
1904
+ query["node_names"] = request.nodeNamesShrink;
1905
+ }
1906
+ if (!$dara.isNull(request.pausePolicy)) {
1907
+ query["pause_policy"] = request.pausePolicy;
1908
+ }
1909
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1910
+ headers: headers,
1911
+ query: openapi_core_2.OpenApiUtil.query(query),
1912
+ });
1913
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1914
+ action: "DeleteNodePoolComponentInstance",
1915
+ version: "2015-12-15",
1916
+ protocol: "HTTPS",
1917
+ pathname: `/clusters/${$dara.URL.percentEncode(clusterId)}/nodepools/${$dara.URL.percentEncode(nodepoolId)}/component_instances/${$dara.URL.percentEncode(name)}`,
1918
+ method: "DELETE",
1919
+ authType: "AK",
1920
+ style: "ROA",
1921
+ reqBodyType: "json",
1922
+ bodyType: "json",
1923
+ });
1924
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteNodePoolComponentInstanceResponse({}));
1925
+ }
1926
+ /**
1927
+ * 卸载节点组件
1928
+ *
1929
+ * @param request - DeleteNodePoolComponentInstanceRequest
1930
+ * @returns DeleteNodePoolComponentInstanceResponse
1931
+ */
1932
+ async deleteNodePoolComponentInstance(clusterId, nodepoolId, name, request) {
1933
+ let runtime = new $dara.RuntimeOptions({});
1934
+ let headers = {};
1935
+ return await this.deleteNodePoolComponentInstanceWithOptions(clusterId, nodepoolId, name, request, headers, runtime);
1936
+ }
1840
1937
  /**
1841
1938
  * Deletes a policy rule instance from a specified cluster.
1842
1939
  *
@@ -1994,7 +2091,7 @@ class Client extends openapi_core_1.default {
1994
2091
  return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
1995
2092
  }
1996
2093
  /**
1997
- * You can call the DescribeAddon operation to query information about a specified component based on parameters such as region, cluster type, cluster subtype (profile), cluster version, and component name. The returned information includes whether the component is managed, component category, supported custom parameter schema, compatible OS architectures, and the minimum cluster version required by the component version.
2094
+ * 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.
1998
2095
  *
1999
2096
  * @param request - DescribeAddonRequest
2000
2097
  * @param headers - map
@@ -2043,7 +2140,7 @@ class Client extends openapi_core_1.default {
2043
2140
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAddonResponse({}));
2044
2141
  }
2045
2142
  /**
2046
- * You can call the DescribeAddon operation to query information about a specified component based on parameters such as region, cluster type, cluster subtype (profile), cluster version, and component name. The returned information includes whether the component is managed, component category, supported custom parameter schema, compatible OS architectures, and the minimum cluster version required by the component version.
2143
+ * 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.
2047
2144
  *
2048
2145
  * @param request - DescribeAddonRequest
2049
2146
  * @returns DescribeAddonResponse
@@ -2585,11 +2682,11 @@ class Client extends openapi_core_1.default {
2585
2682
  *
2586
2683
  * @remarks
2587
2684
  * - 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`.
2588
- * - Do not directly release nodes, remove instances, or allow nodes to be passively released due to subscription instance expires in the ECS or ESS console (or through related APIs). In these cases, nodes are directly stopped and automatically removed from the Container Service console.
2589
- * - If the node pool has a desired node count configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
2685
+ * - 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.
2686
+ * - 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.
2590
2687
  * - 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.
2591
- * - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application Pods that cannot be scheduling.
2592
- * - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not left unschedulable after node removal.
2688
+ * - 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.
2689
+ * - 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.
2593
2690
  *
2594
2691
  * @param request - DescribeClusterNodePoolsRequest
2595
2692
  * @param headers - map
@@ -2624,11 +2721,11 @@ class Client extends openapi_core_1.default {
2624
2721
  *
2625
2722
  * @remarks
2626
2723
  * - 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`.
2627
- * - Do not directly release nodes, remove instances, or allow nodes to be passively released due to subscription instance expires in the ECS or ESS console (or through related APIs). In these cases, nodes are directly stopped and automatically removed from the Container Service console.
2628
- * - If the node pool has a desired node count configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
2724
+ * - 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.
2725
+ * - 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.
2629
2726
  * - 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.
2630
- * - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application Pods that cannot be scheduling.
2631
- * - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not left unschedulable after node removal.
2727
+ * - 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.
2728
+ * - 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.
2632
2729
  *
2633
2730
  * @param request - DescribeClusterNodePoolsRequest
2634
2731
  * @returns DescribeClusterNodePoolsResponse
@@ -4493,7 +4590,7 @@ class Client extends openapi_core_1.default {
4493
4590
  return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
4494
4591
  }
4495
4592
  /**
4496
- * Installs components on nodes. You can configure and specify nodes on which to install components.
4593
+ * Installs node components. You can configure and specify nodes on which to install components.
4497
4594
  *
4498
4595
  * @param request - InstallNodePoolComponentsRequest
4499
4596
  * @param headers - map
@@ -4530,7 +4627,7 @@ class Client extends openapi_core_1.default {
4530
4627
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallNodePoolComponentsResponse({}));
4531
4628
  }
4532
4629
  /**
4533
- * Installs components on nodes. You can configure and specify nodes on which to install components.
4630
+ * Installs node components. You can configure and specify nodes on which to install components.
4534
4631
  *
4535
4632
  * @param request - InstallNodePoolComponentsRequest
4536
4633
  * @returns InstallNodePoolComponentsResponse
@@ -4848,6 +4945,116 @@ class Client extends openapi_core_1.default {
4848
4945
  let headers = {};
4849
4946
  return await this.listClusterKubeconfigStatesWithOptions(ClusterId, request, headers, runtime);
4850
4947
  }
4948
+ /**
4949
+ * 查询节点组件实例列表
4950
+ *
4951
+ * @param request - ListNodePoolComponentInstancesRequest
4952
+ * @param headers - map
4953
+ * @param runtime - runtime options for this request RuntimeOptions
4954
+ * @returns ListNodePoolComponentInstancesResponse
4955
+ */
4956
+ async listNodePoolComponentInstancesWithOptions(clusterId, nodepoolId, request, headers, runtime) {
4957
+ request.validate();
4958
+ let query = {};
4959
+ if (!$dara.isNull(request.maxResults)) {
4960
+ query["max_results"] = request.maxResults;
4961
+ }
4962
+ if (!$dara.isNull(request.nextToken)) {
4963
+ query["next_token"] = request.nextToken;
4964
+ }
4965
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4966
+ headers: headers,
4967
+ query: openapi_core_2.OpenApiUtil.query(query),
4968
+ });
4969
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4970
+ action: "ListNodePoolComponentInstances",
4971
+ version: "2015-12-15",
4972
+ protocol: "HTTPS",
4973
+ pathname: `/clusters/${$dara.URL.percentEncode(clusterId)}/nodepools/${$dara.URL.percentEncode(nodepoolId)}/component_instances`,
4974
+ method: "GET",
4975
+ authType: "AK",
4976
+ style: "ROA",
4977
+ reqBodyType: "json",
4978
+ bodyType: "json",
4979
+ });
4980
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListNodePoolComponentInstancesResponse({}));
4981
+ }
4982
+ /**
4983
+ * 查询节点组件实例列表
4984
+ *
4985
+ * @param request - ListNodePoolComponentInstancesRequest
4986
+ * @returns ListNodePoolComponentInstancesResponse
4987
+ */
4988
+ async listNodePoolComponentInstances(clusterId, nodepoolId, request) {
4989
+ let runtime = new $dara.RuntimeOptions({});
4990
+ let headers = {};
4991
+ return await this.listNodePoolComponentInstancesWithOptions(clusterId, nodepoolId, request, headers, runtime);
4992
+ }
4993
+ /**
4994
+ * 查询节点池可安装的节点组件
4995
+ *
4996
+ * @param tmpReq - ListNodePoolComponentsRequest
4997
+ * @param headers - map
4998
+ * @param runtime - runtime options for this request RuntimeOptions
4999
+ * @returns ListNodePoolComponentsResponse
5000
+ */
5001
+ async listNodePoolComponentsWithOptions(clusterId, tmpReq, headers, runtime) {
5002
+ tmpReq.validate();
5003
+ let request = new $_model.ListNodePoolComponentsShrinkRequest({});
5004
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
5005
+ if (!$dara.isNull(tmpReq.instanceTypes)) {
5006
+ request.instanceTypesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.instanceTypes, "instance_types", "json");
5007
+ }
5008
+ let query = {};
5009
+ if (!$dara.isNull(request.imageId)) {
5010
+ query["image_id"] = request.imageId;
5011
+ }
5012
+ if (!$dara.isNull(request.imageType)) {
5013
+ query["image_type"] = request.imageType;
5014
+ }
5015
+ if (!$dara.isNull(request.instanceTypesShrink)) {
5016
+ query["instance_types"] = request.instanceTypesShrink;
5017
+ }
5018
+ if (!$dara.isNull(request.maxResults)) {
5019
+ query["max_results"] = request.maxResults;
5020
+ }
5021
+ if (!$dara.isNull(request.nextToken)) {
5022
+ query["next_token"] = request.nextToken;
5023
+ }
5024
+ if (!$dara.isNull(request.nodepoolId)) {
5025
+ query["nodepool_id"] = request.nodepoolId;
5026
+ }
5027
+ if (!$dara.isNull(request.nodepoolType)) {
5028
+ query["nodepool_type"] = request.nodepoolType;
5029
+ }
5030
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5031
+ headers: headers,
5032
+ query: openapi_core_2.OpenApiUtil.query(query),
5033
+ });
5034
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5035
+ action: "ListNodePoolComponents",
5036
+ version: "2015-12-15",
5037
+ protocol: "HTTPS",
5038
+ pathname: `/clusters/${$dara.URL.percentEncode(clusterId)}/nodepool_components`,
5039
+ method: "GET",
5040
+ authType: "AK",
5041
+ style: "ROA",
5042
+ reqBodyType: "json",
5043
+ bodyType: "json",
5044
+ });
5045
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListNodePoolComponentsResponse({}));
5046
+ }
5047
+ /**
5048
+ * 查询节点池可安装的节点组件
5049
+ *
5050
+ * @param request - ListNodePoolComponentsRequest
5051
+ * @returns ListNodePoolComponentsResponse
5052
+ */
5053
+ async listNodePoolComponents(clusterId, request) {
5054
+ let runtime = new $dara.RuntimeOptions({});
5055
+ let headers = {};
5056
+ return await this.listNodePoolComponentsWithOptions(clusterId, request, headers, runtime);
5057
+ }
4851
5058
  /**
4852
5059
  * Retrieves a list of automated O&M execution plans.
4853
5060
  *
@@ -5319,10 +5526,10 @@ class Client extends openapi_core_1.default {
5319
5526
  return await this.modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime);
5320
5527
  }
5321
5528
  /**
5322
- * Modifies the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5529
+ * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5323
5530
  *
5324
5531
  * @remarks
5325
- * <notice>Starting from 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 [Notice on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
5532
+ * <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>
5326
5533
  *
5327
5534
  * @param request - ModifyClusterNodePoolRequest
5328
5535
  * @param headers - map
@@ -5377,10 +5584,10 @@ class Client extends openapi_core_1.default {
5377
5584
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterNodePoolResponse({}));
5378
5585
  }
5379
5586
  /**
5380
- * Modifies the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5587
+ * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5381
5588
  *
5382
5589
  * @remarks
5383
- * <notice>Starting from 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 [Notice on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
5590
+ * <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>
5384
5591
  *
5385
5592
  * @param request - ModifyClusterNodePoolRequest
5386
5593
  * @returns ModifyClusterNodePoolResponse
@@ -5438,7 +5645,7 @@ class Client extends openapi_core_1.default {
5438
5645
  * 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.
5439
5646
  *
5440
5647
  * @remarks
5441
- * > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the new configurations automatically take effect on existing nodes in the node pool. New nodes added to the node pool also use the new configurations.
5648
+ * > 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.
5442
5649
  *
5443
5650
  * @param request - ModifyNodePoolNodeConfigRequest
5444
5651
  * @param headers - map
@@ -5484,7 +5691,7 @@ class Client extends openapi_core_1.default {
5484
5691
  * 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.
5485
5692
  *
5486
5693
  * @remarks
5487
- * > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the new configurations automatically take effect on existing nodes in the node pool. New nodes added to the node pool also use the new configurations.
5694
+ * > 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.
5488
5695
  *
5489
5696
  * @param request - ModifyNodePoolNodeConfigRequest
5490
5697
  * @returns ModifyNodePoolNodeConfigResponse
@@ -6975,6 +7182,60 @@ class Client extends openapi_core_1.default {
6975
7182
  let headers = {};
6976
7183
  return await this.updateNodePoolComponentWithOptions(clusterId, nodepoolId, request, headers, runtime);
6977
7184
  }
7185
+ /**
7186
+ * 更新节点组件
7187
+ *
7188
+ * @param request - UpdateNodePoolComponentInstanceRequest
7189
+ * @param headers - map
7190
+ * @param runtime - runtime options for this request RuntimeOptions
7191
+ * @returns UpdateNodePoolComponentInstanceResponse
7192
+ */
7193
+ async updateNodePoolComponentInstanceWithOptions(clusterId, nodepoolId, name, request, headers, runtime) {
7194
+ request.validate();
7195
+ let body = {};
7196
+ if (!$dara.isNull(request.config)) {
7197
+ body["config"] = request.config;
7198
+ }
7199
+ if (!$dara.isNull(request.disableRolling)) {
7200
+ body["disable_rolling"] = request.disableRolling;
7201
+ }
7202
+ if (!$dara.isNull(request.nodeNames)) {
7203
+ body["node_names"] = request.nodeNames;
7204
+ }
7205
+ if (!$dara.isNull(request.rollingPolicy)) {
7206
+ body["rolling_policy"] = request.rollingPolicy;
7207
+ }
7208
+ if (!$dara.isNull(request.version)) {
7209
+ body["version"] = request.version;
7210
+ }
7211
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7212
+ headers: headers,
7213
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
7214
+ });
7215
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7216
+ action: "UpdateNodePoolComponentInstance",
7217
+ version: "2015-12-15",
7218
+ protocol: "HTTPS",
7219
+ pathname: `/clusters/${$dara.URL.percentEncode(clusterId)}/nodepools/${$dara.URL.percentEncode(nodepoolId)}/component_instances/${$dara.URL.percentEncode(name)}`,
7220
+ method: "PUT",
7221
+ authType: "AK",
7222
+ style: "ROA",
7223
+ reqBodyType: "json",
7224
+ bodyType: "json",
7225
+ });
7226
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateNodePoolComponentInstanceResponse({}));
7227
+ }
7228
+ /**
7229
+ * 更新节点组件
7230
+ *
7231
+ * @param request - UpdateNodePoolComponentInstanceRequest
7232
+ * @returns UpdateNodePoolComponentInstanceResponse
7233
+ */
7234
+ async updateNodePoolComponentInstance(clusterId, nodepoolId, name, request) {
7235
+ let runtime = new $dara.RuntimeOptions({});
7236
+ let headers = {};
7237
+ return await this.updateNodePoolComponentInstanceWithOptions(clusterId, nodepoolId, name, request, headers, runtime);
7238
+ }
6978
7239
  /**
6979
7240
  * Updates the deletion protection status of a specified resource. Currently supported resource types include namespaces and services.
6980
7241
  * You can call this operation to enable deletion protection for namespaces or services that involve critical business or sensitive data to avoid maintenance costs caused by accidental deletion.
@@ -7256,14 +7517,14 @@ class Client extends openapi_core_1.default {
7256
7517
  return await this.upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime);
7257
7518
  }
7258
7519
  /**
7259
- * Upgrades the kubelet version (which should match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
7520
+ * Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
7260
7521
  *
7261
7522
  * @remarks
7262
- * 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:
7523
+ * 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:
7263
7524
  * - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
7264
7525
  * - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
7265
7526
  * - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
7266
- * - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html).
7527
+ * - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
7267
7528
  *
7268
7529
  * @param request - UpgradeClusterNodepoolRequest
7269
7530
  * @param headers - map
@@ -7315,14 +7576,14 @@ class Client extends openapi_core_1.default {
7315
7576
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterNodepoolResponse({}));
7316
7577
  }
7317
7578
  /**
7318
- * Upgrades the kubelet version (which should match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
7579
+ * Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
7319
7580
  *
7320
7581
  * @remarks
7321
- * 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:
7582
+ * 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:
7322
7583
  * - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
7323
7584
  * - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
7324
7585
  * - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
7325
- * - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html).
7586
+ * - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
7326
7587
  *
7327
7588
  * @param request - UpgradeClusterNodepoolRequest
7328
7589
  * @returns UpgradeClusterNodepoolResponse