@alicloud/cs20151215 3.0.24 → 3.0.25

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.js CHANGED
@@ -67,6 +67,58 @@ class DataDisk extends $tea.Model {
67
67
  }
68
68
  }
69
69
  exports.DataDisk = DataDisk;
70
+ class KubeletConfig extends $tea.Model {
71
+ constructor(map) {
72
+ super(map);
73
+ }
74
+ static names() {
75
+ return {
76
+ allowedUnsafeSysctls: 'allowedUnsafeSysctls',
77
+ containerLogMaxFiles: 'containerLogMaxFiles',
78
+ containerLogMaxSize: 'containerLogMaxSize',
79
+ cpuManagerPolicy: 'cpuManagerPolicy',
80
+ eventBurst: 'eventBurst',
81
+ eventRecordQPS: 'eventRecordQPS',
82
+ evictionHard: 'evictionHard',
83
+ evictionSoft: 'evictionSoft',
84
+ evictionSoftGracePeriod: 'evictionSoftGracePeriod',
85
+ featureGates: 'featureGates',
86
+ kubeAPIBurst: 'kubeAPIBurst',
87
+ kubeAPIQPS: 'kubeAPIQPS',
88
+ kubeReserved: 'kubeReserved',
89
+ maxPods: 'maxPods',
90
+ readOnlyPort: 'readOnlyPort',
91
+ registryBurst: 'registryBurst',
92
+ registryPullQPS: 'registryPullQPS',
93
+ serializeImagePulls: 'serializeImagePulls',
94
+ systemReserved: 'systemReserved',
95
+ };
96
+ }
97
+ static types() {
98
+ return {
99
+ allowedUnsafeSysctls: { 'type': 'array', 'itemType': 'string' },
100
+ containerLogMaxFiles: 'number',
101
+ containerLogMaxSize: 'string',
102
+ cpuManagerPolicy: 'string',
103
+ eventBurst: 'number',
104
+ eventRecordQPS: 'number',
105
+ evictionHard: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
106
+ evictionSoft: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
107
+ evictionSoftGracePeriod: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
108
+ featureGates: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
109
+ kubeAPIBurst: 'number',
110
+ kubeAPIQPS: 'number',
111
+ kubeReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
112
+ maxPods: 'number',
113
+ readOnlyPort: 'number',
114
+ registryBurst: 'number',
115
+ registryPullQPS: 'number',
116
+ serializeImagePulls: 'boolean',
117
+ systemReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
118
+ };
119
+ }
120
+ }
121
+ exports.KubeletConfig = KubeletConfig;
70
122
  class MaintenanceWindow extends $tea.Model {
71
123
  constructor(map) {
72
124
  super(map);
@@ -559,6 +611,7 @@ class CreateClusterRequest extends $tea.Model {
559
611
  }
560
612
  static names() {
561
613
  return {
614
+ accessControlList: 'access_control_list',
562
615
  addons: 'addons',
563
616
  apiAudiences: 'api_audiences',
564
617
  chargeType: 'charge_type',
@@ -652,6 +705,7 @@ class CreateClusterRequest extends $tea.Model {
652
705
  }
653
706
  static types() {
654
707
  return {
708
+ accessControlList: { 'type': 'array', 'itemType': 'string' },
655
709
  addons: { 'type': 'array', 'itemType': Addon },
656
710
  apiAudiences: 'string',
657
711
  chargeType: 'string',
@@ -826,11 +880,13 @@ class CreateClusterNodePoolResponseBody extends $tea.Model {
826
880
  static names() {
827
881
  return {
828
882
  nodepoolId: 'nodepool_id',
883
+ taskId: 'task_id',
829
884
  };
830
885
  }
831
886
  static types() {
832
887
  return {
833
888
  nodepoolId: 'string',
889
+ taskId: 'string',
834
890
  };
835
891
  }
836
892
  }
@@ -2047,6 +2103,7 @@ class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
2047
2103
  kubernetesConfig: 'kubernetes_config',
2048
2104
  management: 'management',
2049
2105
  maxNodes: 'max_nodes',
2106
+ nodeConfig: 'node_config',
2050
2107
  nodepoolInfo: 'nodepool_info',
2051
2108
  scalingGroup: 'scaling_group',
2052
2109
  status: 'status',
@@ -2061,6 +2118,7 @@ class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
2061
2118
  kubernetesConfig: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig,
2062
2119
  management: DescribeClusterNodePoolDetailResponseBodyManagement,
2063
2120
  maxNodes: 'number',
2121
+ nodeConfig: DescribeClusterNodePoolDetailResponseBodyNodeConfig,
2064
2122
  nodepoolInfo: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo,
2065
2123
  scalingGroup: DescribeClusterNodePoolDetailResponseBodyScalingGroup,
2066
2124
  status: DescribeClusterNodePoolDetailResponseBodyStatus,
@@ -3885,8 +3943,10 @@ class ModifyClusterRequest extends $tea.Model {
3885
3943
  }
3886
3944
  static names() {
3887
3945
  return {
3946
+ accessControlList: 'access_control_list',
3888
3947
  apiServerEip: 'api_server_eip',
3889
3948
  apiServerEipId: 'api_server_eip_id',
3949
+ clusterName: 'cluster_name',
3890
3950
  deletionProtection: 'deletion_protection',
3891
3951
  enableRrsa: 'enable_rrsa',
3892
3952
  ingressDomainRebinding: 'ingress_domain_rebinding',
@@ -3898,11 +3958,13 @@ class ModifyClusterRequest extends $tea.Model {
3898
3958
  }
3899
3959
  static types() {
3900
3960
  return {
3961
+ accessControlList: { 'type': 'array', 'itemType': 'string' },
3901
3962
  apiServerEip: 'boolean',
3902
3963
  apiServerEipId: 'string',
3964
+ clusterName: 'string',
3903
3965
  deletionProtection: 'boolean',
3904
3966
  enableRrsa: 'boolean',
3905
- ingressDomainRebinding: 'string',
3967
+ ingressDomainRebinding: 'boolean',
3906
3968
  ingressLoadbalancerId: 'string',
3907
3969
  instanceDeletionProtection: 'boolean',
3908
3970
  maintenanceWindow: MaintenanceWindow,
@@ -4131,7 +4193,7 @@ class ModifyNodePoolNodeConfigRequest extends $tea.Model {
4131
4193
  }
4132
4194
  static types() {
4133
4195
  return {
4134
- kubeletConfig: ModifyNodePoolNodeConfigRequestKubeletConfig,
4196
+ kubeletConfig: KubeletConfig,
4135
4197
  rollingPolicy: ModifyNodePoolNodeConfigRequestRollingPolicy,
4136
4198
  };
4137
4199
  }
@@ -6405,6 +6467,22 @@ class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Model {
6405
6467
  }
6406
6468
  }
6407
6469
  exports.DescribeClusterNodePoolDetailResponseBodyManagement = DescribeClusterNodePoolDetailResponseBodyManagement;
6470
+ class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $tea.Model {
6471
+ constructor(map) {
6472
+ super(map);
6473
+ }
6474
+ static names() {
6475
+ return {
6476
+ kubeletConfiguration: 'kubelet_configuration',
6477
+ };
6478
+ }
6479
+ static types() {
6480
+ return {
6481
+ kubeletConfiguration: KubeletConfig,
6482
+ };
6483
+ }
6484
+ }
6485
+ exports.DescribeClusterNodePoolDetailResponseBodyNodeConfig = DescribeClusterNodePoolDetailResponseBodyNodeConfig;
6408
6486
  class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $tea.Model {
6409
6487
  constructor(map) {
6410
6488
  super(map);
@@ -6725,6 +6803,22 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $tea.Model
6725
6803
  }
6726
6804
  }
6727
6805
  exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagement = DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
6806
+ class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig extends $tea.Model {
6807
+ constructor(map) {
6808
+ super(map);
6809
+ }
6810
+ static names() {
6811
+ return {
6812
+ kubeletConfiguration: 'kubelet_configuration',
6813
+ };
6814
+ }
6815
+ static types() {
6816
+ return {
6817
+ kubeletConfiguration: KubeletConfig,
6818
+ };
6819
+ }
6820
+ }
6821
+ exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig = DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig;
6728
6822
  class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $tea.Model {
6729
6823
  constructor(map) {
6730
6824
  super(map);
@@ -6933,6 +7027,7 @@ class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.Model {
6933
7027
  kubernetesConfig: 'kubernetes_config',
6934
7028
  management: 'management',
6935
7029
  maxNodes: 'max_nodes',
7030
+ nodeConfig: 'node_config',
6936
7031
  nodepoolInfo: 'nodepool_info',
6937
7032
  scalingGroup: 'scaling_group',
6938
7033
  status: 'status',
@@ -6947,6 +7042,7 @@ class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.Model {
6947
7042
  kubernetesConfig: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig,
6948
7043
  management: DescribeClusterNodePoolsResponseBodyNodepoolsManagement,
6949
7044
  maxNodes: 'number',
7045
+ nodeConfig: DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig,
6950
7046
  nodepoolInfo: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo,
6951
7047
  scalingGroup: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup,
6952
7048
  status: DescribeClusterNodePoolsResponseBodyNodepoolsStatus,
@@ -8537,46 +8633,6 @@ class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
8537
8633
  }
8538
8634
  }
8539
8635
  exports.ModifyClusterNodePoolRequestTeeConfig = ModifyClusterNodePoolRequestTeeConfig;
8540
- class ModifyNodePoolNodeConfigRequestKubeletConfig extends $tea.Model {
8541
- constructor(map) {
8542
- super(map);
8543
- }
8544
- static names() {
8545
- return {
8546
- cpuManagerPolicy: 'cpuManagerPolicy',
8547
- eventBurst: 'eventBurst',
8548
- eventRecordQPS: 'eventRecordQPS',
8549
- evictionHard: 'evictionHard',
8550
- evictionSoft: 'evictionSoft',
8551
- evictionSoftGracePeriod: 'evictionSoftGracePeriod',
8552
- kubeAPIBurst: 'kubeAPIBurst',
8553
- kubeAPIQPS: 'kubeAPIQPS',
8554
- kubeReserved: 'kubeReserved',
8555
- registryBurst: 'registryBurst',
8556
- registryPullQPS: 'registryPullQPS',
8557
- serializeImagePulls: 'serializeImagePulls',
8558
- systemReserved: 'systemReserved',
8559
- };
8560
- }
8561
- static types() {
8562
- return {
8563
- cpuManagerPolicy: 'string',
8564
- eventBurst: 'number',
8565
- eventRecordQPS: 'number',
8566
- evictionHard: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
8567
- evictionSoft: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
8568
- evictionSoftGracePeriod: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
8569
- kubeAPIBurst: 'number',
8570
- kubeAPIQPS: 'number',
8571
- kubeReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
8572
- registryBurst: 'number',
8573
- registryPullQPS: 'number',
8574
- serializeImagePulls: 'boolean',
8575
- systemReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
8576
- };
8577
- }
8578
- }
8579
- exports.ModifyNodePoolNodeConfigRequestKubeletConfig = ModifyNodePoolNodeConfigRequestKubeletConfig;
8580
8636
  class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.Model {
8581
8637
  constructor(map) {
8582
8638
  super(map);
@@ -8677,11 +8733,13 @@ class UnInstallClusterAddonsRequestAddons extends $tea.Model {
8677
8733
  }
8678
8734
  static names() {
8679
8735
  return {
8736
+ cleanupCloudResources: 'cleanup_cloud_resources',
8680
8737
  name: 'name',
8681
8738
  };
8682
8739
  }
8683
8740
  static types() {
8684
8741
  return {
8742
+ cleanupCloudResources: 'boolean',
8685
8743
  name: 'string',
8686
8744
  };
8687
8745
  }
@@ -9047,6 +9105,9 @@ class Client extends openapi_client_1.default {
9047
9105
  async createClusterWithOptions(request, headers, runtime) {
9048
9106
  tea_util_1.default.validateModel(request);
9049
9107
  let body = {};
9108
+ if (!tea_util_1.default.isUnset(request.accessControlList)) {
9109
+ body["access_control_list"] = request.accessControlList;
9110
+ }
9050
9111
  if (!tea_util_1.default.isUnset(request.addons)) {
9051
9112
  body["addons"] = request.addons;
9052
9113
  }
@@ -9652,10 +9713,7 @@ class Client extends openapi_client_1.default {
9652
9713
  }
9653
9714
  /**
9654
9715
  * >
9655
- * * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
9656
- * * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
9657
- * * Nodes remain in the unschedulable state when they are being removed.
9658
- * * You can remove only worker nodes by calling this operation.
9716
+ * * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
9659
9717
  *
9660
9718
  * @param request DeleteClusterNodesRequest
9661
9719
  * @param headers map
@@ -9693,10 +9751,7 @@ class Client extends openapi_client_1.default {
9693
9751
  }
9694
9752
  /**
9695
9753
  * >
9696
- * * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
9697
- * * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
9698
- * * Nodes remain in the unschedulable state when they are being removed.
9699
- * * You can remove only worker nodes by calling this operation.
9754
+ * * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
9700
9755
  *
9701
9756
  * @param request DeleteClusterNodesRequest
9702
9757
  * @return DeleteClusterNodesResponse
@@ -10880,7 +10935,8 @@ class Client extends openapi_client_1.default {
10880
10935
  return await this.describePolicyInstancesStatusWithOptions(clusterId, headers, runtime);
10881
10936
  }
10882
10937
  /**
10883
- * > You can call this operation only with an Alibaba Cloud account.
10938
+ * **
10939
+ * ****Only Alibaba Cloud accounts can call this API operation.
10884
10940
  *
10885
10941
  * @param request DescribeSubaccountK8sClusterUserConfigRequest
10886
10942
  * @param headers map
@@ -10914,7 +10970,8 @@ class Client extends openapi_client_1.default {
10914
10970
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
10915
10971
  }
10916
10972
  /**
10917
- * > You can call this operation only with an Alibaba Cloud account.
10973
+ * **
10974
+ * ****Only Alibaba Cloud accounts can call this API operation.
10918
10975
  *
10919
10976
  * @param request DescribeSubaccountK8sClusterUserConfigRequest
10920
10977
  * @return DescribeSubaccountK8sClusterUserConfigResponse
@@ -11261,10 +11318,9 @@ class Client extends openapi_client_1.default {
11261
11318
  return await this.getUpgradeStatusWithOptions(ClusterId, headers, runtime);
11262
11319
  }
11263
11320
  /**
11264
- * **Precautions**:
11265
- * * Make sure that you have granted the specified RAM user at least read permissions on the specified cluster by attaching RAM policies. Otherwise, the `ErrorRamPolicyConfig` error will be returned.
11266
- * For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
11267
- * * If you call this operation as a RAM user, make sure that this RAM user has the permissions to grant other RAM users the permissions to manage ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` errors will be returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
11321
+ * ****
11322
+ * * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
11323
+ * * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
11268
11324
  * * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.
11269
11325
  *
11270
11326
  * @param request GrantPermissionsRequest
@@ -11292,10 +11348,9 @@ class Client extends openapi_client_1.default {
11292
11348
  return $tea.cast(await this.callApi(params, req, runtime), new GrantPermissionsResponse({}));
11293
11349
  }
11294
11350
  /**
11295
- * **Precautions**:
11296
- * * Make sure that you have granted the specified RAM user at least read permissions on the specified cluster by attaching RAM policies. Otherwise, the `ErrorRamPolicyConfig` error will be returned.
11297
- * For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
11298
- * * If you call this operation as a RAM user, make sure that this RAM user has the permissions to grant other RAM users the permissions to manage ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` errors will be returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
11351
+ * ****
11352
+ * * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
11353
+ * * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
11299
11354
  * * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.
11300
11355
  *
11301
11356
  * @param request GrantPermissionsRequest
@@ -11412,12 +11467,18 @@ class Client extends openapi_client_1.default {
11412
11467
  async modifyClusterWithOptions(ClusterId, request, headers, runtime) {
11413
11468
  tea_util_1.default.validateModel(request);
11414
11469
  let body = {};
11470
+ if (!tea_util_1.default.isUnset(request.accessControlList)) {
11471
+ body["access_control_list"] = request.accessControlList;
11472
+ }
11415
11473
  if (!tea_util_1.default.isUnset(request.apiServerEip)) {
11416
11474
  body["api_server_eip"] = request.apiServerEip;
11417
11475
  }
11418
11476
  if (!tea_util_1.default.isUnset(request.apiServerEipId)) {
11419
11477
  body["api_server_eip_id"] = request.apiServerEipId;
11420
11478
  }
11479
+ if (!tea_util_1.default.isUnset(request.clusterName)) {
11480
+ body["cluster_name"] = request.clusterName;
11481
+ }
11421
11482
  if (!tea_util_1.default.isUnset(request.deletionProtection)) {
11422
11483
  body["deletion_protection"] = request.deletionProtection;
11423
11484
  }
@@ -11465,7 +11526,7 @@ class Client extends openapi_client_1.default {
11465
11526
  * You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
11466
11527
  * * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/query).
11467
11528
  * * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/customize-control-plane-parameters-for-a-professional-kubernetes-cluster).
11468
- * After you call this operation, the component may be redeployed and restarted. We recommend that you evaluate the impact before you call this operation.
11529
+ * After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
11469
11530
  *
11470
11531
  * @param request ModifyClusterAddonRequest
11471
11532
  * @param headers map
@@ -11499,7 +11560,7 @@ class Client extends openapi_client_1.default {
11499
11560
  * You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
11500
11561
  * * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/query).
11501
11562
  * * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/customize-control-plane-parameters-for-a-professional-kubernetes-cluster).
11502
- * After you call this operation, the component may be redeployed and restarted. We recommend that you evaluate the impact before you call this operation.
11563
+ * After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
11503
11564
  *
11504
11565
  * @param request ModifyClusterAddonRequest
11505
11566
  * @return ModifyClusterAddonResponse
@@ -11607,6 +11668,14 @@ class Client extends openapi_client_1.default {
11607
11668
  let headers = {};
11608
11669
  return await this.modifyClusterTagsWithOptions(ClusterId, request, headers, runtime);
11609
11670
  }
11671
+ /**
11672
+ * This operation progressively modifies the kubelet configuration of the nodes in a node pool and restarts the kubelet process, which may affect your businesses.
11673
+ *
11674
+ * @param request ModifyNodePoolNodeConfigRequest
11675
+ * @param headers map
11676
+ * @param runtime runtime options for this request RuntimeOptions
11677
+ * @return ModifyNodePoolNodeConfigResponse
11678
+ */
11610
11679
  async modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
11611
11680
  tea_util_1.default.validateModel(request);
11612
11681
  let body = {};
@@ -11633,6 +11702,12 @@ class Client extends openapi_client_1.default {
11633
11702
  });
11634
11703
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
11635
11704
  }
11705
+ /**
11706
+ * This operation progressively modifies the kubelet configuration of the nodes in a node pool and restarts the kubelet process, which may affect your businesses.
11707
+ *
11708
+ * @param request ModifyNodePoolNodeConfigRequest
11709
+ * @return ModifyNodePoolNodeConfigResponse
11710
+ */
11636
11711
  async modifyNodePoolNodeConfig(ClusterId, NodepoolId, request) {
11637
11712
  let runtime = new $Util.RuntimeOptions({});
11638
11713
  let headers = {};
@@ -11676,7 +11751,8 @@ class Client extends openapi_client_1.default {
11676
11751
  return await this.modifyPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
11677
11752
  }
11678
11753
  /**
11679
- * You can activate ACK with Alibaba Cloud accounts or RAM users that have the authority of AdministratorAccess.
11754
+ * * You can activate ACK by using Alibaba Cloud accounts.
11755
+ * * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
11680
11756
  *
11681
11757
  * @param request OpenAckServiceRequest
11682
11758
  * @param headers map
@@ -11707,7 +11783,8 @@ class Client extends openapi_client_1.default {
11707
11783
  return $tea.cast(await this.callApi(params, req, runtime), new OpenAckServiceResponse({}));
11708
11784
  }
11709
11785
  /**
11710
- * You can activate ACK with Alibaba Cloud accounts or RAM users that have the authority of AdministratorAccess.
11786
+ * * You can activate ACK by using Alibaba Cloud accounts.
11787
+ * * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
11711
11788
  *
11712
11789
  * @param request OpenAckServiceRequest
11713
11790
  * @return OpenAckServiceResponse
@@ -11834,11 +11911,9 @@ class Client extends openapi_client_1.default {
11834
11911
  return await this.removeClusterNodesWithOptions(ClusterId, request, headers, runtime);
11835
11912
  }
11836
11913
  /**
11837
- * >
11838
- * * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
11839
- * * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
11840
- * * Nodes remain in the Unschedulable state when they are being removed.
11841
- * * You can remove only worker nodes. You cannot remove control planes.
11914
+ * **
11915
+ * ****
11916
+ * * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
11842
11917
  *
11843
11918
  * @param tmpReq RemoveNodePoolNodesRequest
11844
11919
  * @param headers map
@@ -11886,11 +11961,9 @@ class Client extends openapi_client_1.default {
11886
11961
  return $tea.cast(await this.callApi(params, req, runtime), new RemoveNodePoolNodesResponse({}));
11887
11962
  }
11888
11963
  /**
11889
- * >
11890
- * * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
11891
- * * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
11892
- * * Nodes remain in the Unschedulable state when they are being removed.
11893
- * * You can remove only worker nodes. You cannot remove control planes.
11964
+ * **
11965
+ * ****
11966
+ * * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
11894
11967
  *
11895
11968
  * @param request RemoveNodePoolNodesRequest
11896
11969
  * @return RemoveNodePoolNodesResponse
@@ -12143,7 +12216,8 @@ class Client extends openapi_client_1.default {
12143
12216
  return await this.scaleClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
12144
12217
  }
12145
12218
  /**
12146
- * > The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to an ACK cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](~~184928~~).
12219
+ * **
12220
+ * ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](~~184928~~).
12147
12221
  *
12148
12222
  * @param request ScaleOutClusterRequest
12149
12223
  * @param headers map
@@ -12234,7 +12308,8 @@ class Client extends openapi_client_1.default {
12234
12308
  return $tea.cast(await this.callApi(params, req, runtime), new ScaleOutClusterResponse({}));
12235
12309
  }
12236
12310
  /**
12237
- * > The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to an ACK cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](~~184928~~).
12311
+ * **
12312
+ * ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](~~184928~~).
12238
12313
  *
12239
12314
  * @param request ScaleOutClusterRequest
12240
12315
  * @return ScaleOutClusterResponse
@@ -12583,9 +12658,9 @@ class Client extends openapi_client_1.default {
12583
12658
  return await this.updateControlPlaneLogWithOptions(ClusterId, request, headers, runtime);
12584
12659
  }
12585
12660
  /**
12586
- * >
12587
- * * You can call this operation only with an Alibaba Cloud account.
12588
- * * After you revoke the kubeconfig file of a cluster, the validity period of the kubeconfig file that you specified becomes invalid. You can call this API operation to specify the validity period again.
12661
+ * **
12662
+ * ****
12663
+ * * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
12589
12664
  *
12590
12665
  * @param request UpdateK8sClusterUserConfigExpireRequest
12591
12666
  * @param headers map
@@ -12619,9 +12694,9 @@ class Client extends openapi_client_1.default {
12619
12694
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateK8sClusterUserConfigExpireResponse({}));
12620
12695
  }
12621
12696
  /**
12622
- * >
12623
- * * You can call this operation only with an Alibaba Cloud account.
12624
- * * After you revoke the kubeconfig file of a cluster, the validity period of the kubeconfig file that you specified becomes invalid. You can call this API operation to specify the validity period again.
12697
+ * **
12698
+ * ****
12699
+ * * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
12625
12700
  *
12626
12701
  * @param request UpdateK8sClusterUserConfigExpireRequest
12627
12702
  * @return UpdateK8sClusterUserConfigExpireResponse
@@ -12733,7 +12808,7 @@ class Client extends openapi_client_1.default {
12733
12808
  return await this.upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime);
12734
12809
  }
12735
12810
  /**
12736
- * You can call the UpgradeClusterNodepool operation to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
12811
+ * This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
12737
12812
  *
12738
12813
  * @param request UpgradeClusterNodepoolRequest
12739
12814
  * @param headers map
@@ -12773,7 +12848,7 @@ class Client extends openapi_client_1.default {
12773
12848
  return $tea.cast(await this.callApi(params, req, runtime), new UpgradeClusterNodepoolResponse({}));
12774
12849
  }
12775
12850
  /**
12776
- * You can call the UpgradeClusterNodepool operation to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
12851
+ * This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
12777
12852
  *
12778
12853
  * @param request UpgradeClusterNodepoolRequest
12779
12854
  * @return UpgradeClusterNodepoolResponse