@alicloud/cs20151215 4.7.10 → 4.7.11

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/src/client.ts CHANGED
@@ -688,14 +688,14 @@ export class QuotasValue extends $tea.Model {
688
688
  export class AttachInstancesRequest extends $tea.Model {
689
689
  /**
690
690
  * @remarks
691
- * The CPU management policy. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later.
691
+ * The CPU management policy of the node. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
692
692
  *
693
- * * `static`: This policy allows pods with specific resource characteristics on the node to be configured with enhanced CPU affinity and exclusivity.
694
- * * `none`: The default CPU affinity is used.
693
+ * * `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
694
+ * * `none`: specifies that the default CPU affinity is used.
695
695
  *
696
696
  * Default value: `none`.
697
697
  *
698
- * > This parameter is not supported if you specify the `nodepool_id` parameter.
698
+ * > This parameter is not supported if you specify `nodepool_id`.
699
699
  *
700
700
  * @example
701
701
  * none
@@ -710,12 +710,12 @@ export class AttachInstancesRequest extends $tea.Model {
710
710
  *
711
711
  * Default value: `false`.
712
712
  *
713
- * How a data disk is mounted:
713
+ * How data disks are attached:
714
714
  *
715
- * * If the ECS instances are already mounted with data disks and the file system of the last data disk is not initialized, the system automatically formats this data disk to ext4 and mounts it to /var/lib/docker and /var/lib/kubelet.
716
- * * If no data disk is attached to the ECS instances, the system does not purchase a new data disk.
715
+ * * If the ECS instance is already attached with data disks and the file system of the last data disk is not initialized, the system automatically formats this data disk to ext4. Then, the system uses the disk to store the data in the /var/lib/docker and /var/lib/kubelet directories.
716
+ * * If no data disk is attached to the ECS instance, the system does not purchase a new data disk.
717
717
  *
718
- * > If you choose to store container data and images on data disks and a data disk is already mounted to the ECS instance, the original data on this data disk will be cleared. You can back up the disk to avoid data loss.
718
+ * > If you choose to store container data and images on data disks and a data disk is already attached to the ECS instance, the original data on this data disk is cleared. You can back up the disk to prevent data loss.
719
719
  *
720
720
  * @example
721
721
  * false
@@ -723,13 +723,13 @@ export class AttachInstancesRequest extends $tea.Model {
723
723
  formatDisk?: boolean;
724
724
  /**
725
725
  * @remarks
726
- * The ID of the custom image. If you do not set this parameter, the default system image is used.
726
+ * The custom image ID. If you do not specify this parameter, the default system image is used.
727
727
  *
728
728
  * >
729
729
  *
730
- * * If you specify a custom image, the custom image is used to deploy the operating systems on the system disks of the nodes.
730
+ * * If you specify a custom image, the custom image is used to deploy the operating system on the system disk of the node.
731
731
  *
732
- * * This parameter is not supported after you specify `nodepool_id`.
732
+ * * This parameter is not supported if you specify `nodepool_id`.
733
733
  *
734
734
  * @example
735
735
  * aliyun_2_1903_x64_20G_alibase_20200529.vhd
@@ -737,21 +737,21 @@ export class AttachInstancesRequest extends $tea.Model {
737
737
  imageId?: string;
738
738
  /**
739
739
  * @remarks
740
- * The ECS instances to be added.
740
+ * The ECS instances that you want to add.
741
741
  *
742
742
  * This parameter is required.
743
743
  */
744
744
  instances?: string[];
745
745
  /**
746
746
  * @remarks
747
- * Specifies whether the nodes that you want to add are Edge Node Service (ENS) nodes. Valid values:
747
+ * Specifies whether the node that you want to add is an Edge Node Service (ENS) node. Valid values:
748
748
  *
749
- * * `true`: The nodes that you want to add are ENS nodes.
750
- * * `false`: The nodes that you want to add are not ENS nodes.
749
+ * * `true`: the node that you want to add is an ENS node.
750
+ * * `false`: the node that you want to add is not an ENS node.
751
751
  *
752
752
  * Default value: `false`.
753
753
  *
754
- * > If the nodes that you want to add are ENS nodes, you must set this parameter to `true`. This allows you to identify these nodes.
754
+ * > If the node that you want to add is an ENS node, you must set the value to `true`. This allows you to identify the node.
755
755
  *
756
756
  * @example
757
757
  * false
@@ -764,7 +764,7 @@ export class AttachInstancesRequest extends $tea.Model {
764
764
  * * `true`: retains the instance name.
765
765
  * * `false`: does not retain the instance name.
766
766
  *
767
- * Default value: `true`
767
+ * Default value: `false`.
768
768
  *
769
769
  * @example
770
770
  * true
@@ -772,9 +772,9 @@ export class AttachInstancesRequest extends $tea.Model {
772
772
  keepInstanceName?: boolean;
773
773
  /**
774
774
  * @remarks
775
- * The name of the key pair that is used to log on to the ECS instances. You must set key_pair or `login_password`.
775
+ * The name of the key pair used to log on to the ECS instances. You must specify this parameter or `login_password`.
776
776
  *
777
- * > This parameter is not supported if you specify the `nodepool_id` parameter.
777
+ * > This parameter is not supported if you specify `nodepool_id`.
778
778
  *
779
779
  * @example
780
780
  * secrity-key
@@ -782,7 +782,7 @@ export class AttachInstancesRequest extends $tea.Model {
782
782
  keyPair?: string;
783
783
  /**
784
784
  * @remarks
785
- * The node pool ID. If you do not set this parameter, the nodes are added to the default node pool.
785
+ * The ID of the node pool to which the node is added. If you do not specify this parameter, the node is added to the default node pool.
786
786
  *
787
787
  * @example
788
788
  * np615c0e0966124216a0412e10afe0****
@@ -790,9 +790,9 @@ export class AttachInstancesRequest extends $tea.Model {
790
790
  nodepoolId?: string;
791
791
  /**
792
792
  * @remarks
793
- * The SSH logon password that is used to log on to the ECS instances. You must set login_password or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. It cannot contain backslashes (\\\\) or double quotation marks (").
793
+ * The SSH logon password used to log on to the ECS instances. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The password cannot contain backslashes (\\\\) or double quotation marks (").
794
794
  *
795
- * For security considerations, the password is encrypted during data transfer.
795
+ * The password is encrypted during data transfer to ensure security.
796
796
  *
797
797
  * @example
798
798
  * Hello1234
@@ -807,24 +807,24 @@ export class AttachInstancesRequest extends $tea.Model {
807
807
  * @remarks
808
808
  * The container runtime.
809
809
  *
810
- * > This parameter is not supported if you specify the `nodepool_id` parameter.
810
+ * > This parameter is not supported if you specify `nodepool_id`.
811
811
  */
812
812
  runtime?: Runtime;
813
813
  /**
814
814
  * @remarks
815
- * The labels that you want to add to nodes. You must add labels based on the following rules:
815
+ * The labels that you want to add to the node. When you add labels to a node, the following rules apply:
816
816
  *
817
- * * Each label is a case-sensitive key-value pair. You can add up to 20 labels.
818
- * * A key must be unique and cannot exceed 64 characters in length. A value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
817
+ * * A label is a case-sensitive key-value pair. You can add up to 20 labels.
818
+ * * The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
819
819
  *
820
- * > This parameter is not supported if you specify the `nodepool_id` parameter.
820
+ * > This parameter is not supported if you specify `nodepool_id`.
821
821
  */
822
822
  tags?: Tag[];
823
823
  /**
824
824
  * @remarks
825
- * User-defined data. For more information, see [Generate user data](https://help.aliyun.com/document_detail/49121.html).
825
+ * The user-defined data on the node. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
826
826
  *
827
- * > This parameter is not supported if you specify the `nodepool_id` parameter.
827
+ * > This parameter is not supported if you specify `nodepool_id`.
828
828
  *
829
829
  * @example
830
830
  * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
@@ -1388,17 +1388,15 @@ export class CleanClusterUserPermissionsResponse extends $tea.Model {
1388
1388
  export class CleanUserPermissionsRequest extends $tea.Model {
1389
1389
  /**
1390
1390
  * @remarks
1391
- * The cluster IDs.
1392
- *
1393
- * * If cluster IDs are specified, only the kubeconfig files of the specified clusters and the relevant RBAC permissions are deleted and revoked.
1391
+ * The cluster IDs. If you specify a list of cluster IDs, only the kubeconfig files and RBAC permissions of the clusters that belong to the current user in the list are revoked.
1394
1392
  */
1395
1393
  clusterIds?: string[];
1396
1394
  /**
1397
1395
  * @remarks
1398
1396
  * Specifies whether to forcefully delete the specified kubeconfig files. Valid values:
1399
1397
  *
1400
- * * **false** (default): checks the cluster access records within the previous seven days before deleting the kubeconfig files. The kubeconfig files are not deleted if cluster access records are found or fail to be retrieved.
1401
- * * **true**: forcefully deletes the kubeconfig files without checking cluster access records.
1398
+ * * false (default): checks the cluster access records within the previous seven days before deleting the kubeconfig files. The kubeconfig files are not deleted if cluster access records are found or fail to be retrieved.
1399
+ * * true: forcefully deletes the kubeconfig files without checking the cluster access records.
1402
1400
  *
1403
1401
  * @example
1404
1402
  * false
@@ -1426,17 +1424,15 @@ export class CleanUserPermissionsRequest extends $tea.Model {
1426
1424
  export class CleanUserPermissionsShrinkRequest extends $tea.Model {
1427
1425
  /**
1428
1426
  * @remarks
1429
- * The cluster IDs.
1430
- *
1431
- * * If cluster IDs are specified, only the kubeconfig files of the specified clusters and the relevant RBAC permissions are deleted and revoked.
1427
+ * The cluster IDs. If you specify a list of cluster IDs, only the kubeconfig files and RBAC permissions of the clusters that belong to the current user in the list are revoked.
1432
1428
  */
1433
1429
  clusterIdsShrink?: string;
1434
1430
  /**
1435
1431
  * @remarks
1436
1432
  * Specifies whether to forcefully delete the specified kubeconfig files. Valid values:
1437
1433
  *
1438
- * * **false** (default): checks the cluster access records within the previous seven days before deleting the kubeconfig files. The kubeconfig files are not deleted if cluster access records are found or fail to be retrieved.
1439
- * * **true**: forcefully deletes the kubeconfig files without checking cluster access records.
1434
+ * * false (default): checks the cluster access records within the previous seven days before deleting the kubeconfig files. The kubeconfig files are not deleted if cluster access records are found or fail to be retrieved.
1435
+ * * true: forcefully deletes the kubeconfig files without checking the cluster access records.
1440
1436
  *
1441
1437
  * @example
1442
1438
  * false
@@ -1464,7 +1460,7 @@ export class CleanUserPermissionsShrinkRequest extends $tea.Model {
1464
1460
  export class CleanUserPermissionsResponseBody extends $tea.Model {
1465
1461
  /**
1466
1462
  * @remarks
1467
- * 请求ID
1463
+ * The request ID.
1468
1464
  *
1469
1465
  * @example
1470
1466
  * 687C5BAA-D103-4993-884B-C35E4314****
@@ -1472,7 +1468,7 @@ export class CleanUserPermissionsResponseBody extends $tea.Model {
1472
1468
  requestId?: string;
1473
1469
  /**
1474
1470
  * @remarks
1475
- * 任务ID
1471
+ * The task ID.
1476
1472
  *
1477
1473
  * @example
1478
1474
  * clean-user-permissions-2085266204********-6694c16e6ae07***********
@@ -1729,19 +1725,19 @@ export class CreateAutoscalingConfigResponse extends $tea.Model {
1729
1725
  export class CreateClusterRequest extends $tea.Model {
1730
1726
  /**
1731
1727
  * @remarks
1732
- * The network access control list (ACL) of the SLB instance associated with the API server if the cluster is a registered cluster.
1728
+ * The ACL rule of the SLB instance associated with the API server if the cluster is a registered cluster.
1733
1729
  */
1734
1730
  accessControlList?: string[];
1735
1731
  /**
1736
1732
  * @remarks
1737
- * The components that you want to install in the cluster. When you create a cluster, you can configure the `addons` parameter to specify the components that you want to install.
1733
+ * The components that you want to install in the cluster. When you create a cluster, you can specify `addons` to install specific components.
1738
1734
  *
1739
1735
  * **Network plug-in**: required. The Flannel and Terway plug-ins are supported. Select one of the plug-ins for the cluster.
1740
1736
  *
1741
- * * If you want to use the Terway component, specify the network plug-in in the [{"name":"flannel","config":""}] format.
1742
- * * If you want to use the Terway component, specify the value network plug-in in the [{"Name": "terway-eniip","Config": ""}] format.
1737
+ * * Specify the Flannel plug-in in the following format: [{"name":"flannel","config":""}].
1738
+ * * If you want to use the Terway component, specify the value in the [{"Name": "terway-eniip","Config": ""}] format.
1743
1739
  *
1744
- * **Volume plug-in**: optional. Only the `Container Storage Interface (CSI)` plug-in is supported.
1740
+ * **Volume plug-in**: optional. Only the `CSI` plug-in is supported.
1745
1741
  *
1746
1742
  * Specify the `CSI` plug-in in the following format: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
1747
1743
  *
@@ -1750,23 +1746,23 @@ export class CreateClusterRequest extends $tea.Model {
1750
1746
  * * Specify an existing `Simple Log Service project` in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true","sls_project_name":"your_sls_project_name"}"}].
1751
1747
  * * To create a `Simple Log Service project`, specify the component in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true"}"}].
1752
1748
  *
1753
- * **Ingress controller**: optional. By default, the `nginx-ingress-controller` component is installed in ACK dedicated clusters.
1749
+ * **Ingress controller**`: optional. By default, the nginx-ingress-controller component is installed in ACK dedicated clusters.`
1754
1750
  *
1755
1751
  * * To install nginx-ingress-controller and enable Internet access, specify the Ingress controller in the following format: [{"name":"nginx-ingress-controller","config":"{"IngressSlbNetworkType":"internet"}"}].
1756
- * * To disable the automatic installation of nginx-ingress-controller, specify the Ingress controller in the following format: [{"name": "nginx-ingress-controller","config": "","disabled": true}].
1752
+ * * To disable the automatic installation of nginx-ingress-controller, specify the component in the following format: [{"name": "nginx-ingress-controller","config": "","disabled": true}].
1757
1753
  *
1758
1754
  * **Event center**: optional. By default, the event center feature is enabled.
1759
1755
  *
1760
1756
  * You can use ACK event centers to store and query events and configure alerts. You can use the Logstores that are associated with ACK event centers free of charge within 90 days. For more information, see [Create and use an event center](https://help.aliyun.com/document_detail/150476.html).
1761
1757
  *
1762
- * To enable the event center feature, specify the event center component in the following format: [{"name":"ack-node-problem-detector","config":"{"sls_project_name":"your_sls_project_name"}"}].
1758
+ * Enable the ack-node-problem-detector component in the following format: [{"name":"ack-node-problem-detector","config":"{"sls_project_name":"your_sls_project_name"}"}].
1763
1759
  */
1764
1760
  addons?: Addon[];
1765
1761
  /**
1766
1762
  * @remarks
1767
- * Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. The `api-audiences` parameter validates `tokens` and is used by the `API server` to check whether the `tokens` of requests are valid. Separate multiple values with commas (,).``
1763
+ * Provides identities for pods when pods communicate with the `API server` of the cluster. `api-audiences` are used by the `API server` to check whether the `tokens` of requests are legitimate.`` Separate multiple values with commas (,).``
1768
1764
  *
1769
- * For more information about `service accounts`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
1765
+ * For more information about `ServiceAccount`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
1770
1766
  *
1771
1767
  * @example
1772
1768
  * kubernetes.default.svc
@@ -1774,13 +1770,14 @@ export class CreateClusterRequest extends $tea.Model {
1774
1770
  apiAudiences?: string;
1775
1771
  /**
1776
1772
  * @remarks
1777
- * Specifies whether to enable auto-renewal, which takes effect only when the `charge_type` value is set to `PrePaid`.
1773
+ * Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
1774
+ *
1775
+ * * `true`: enables auto-renewal.
1776
+ * * `false`: disables auto-renewal.
1778
1777
  *
1779
- * Possible values:
1780
- * - `true`: Enable auto-renewal.
1781
- * - `false`: Do not auto-renew.
1778
+ * Default value: `false`
1782
1779
  *
1783
- * Default value: `false`.
1780
+ * This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
1784
1781
  *
1785
1782
  * @example
1786
1783
  * true
@@ -1788,29 +1785,32 @@ export class CreateClusterRequest extends $tea.Model {
1788
1785
  autoRenew?: boolean;
1789
1786
  /**
1790
1787
  * @remarks
1791
- * Renewal period, which takes effect only when Prepaid and Auto-Renewal are selected. When `PeriodUnit=Month`, the value range is {1, 2, 3, 6, 12}.
1788
+ * The auto-renewal duration. This parameter takes effect only if charge_type is set to PrePaid and auto_renew is set to true. If you set `period_unit` to Month, the valid values of auto_renew_period are 1, 2, 3, 6, and 12.
1789
+ *
1792
1790
  * Default value: 1.
1793
1791
  *
1792
+ * This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
1793
+ *
1794
1794
  * @example
1795
1795
  * 1
1796
1796
  */
1797
1797
  autoRenewPeriod?: number;
1798
1798
  /**
1799
1799
  * @remarks
1800
- * The billing method of the cluster. The following resources are billed on a subscription basis:
1800
+ * The billing method of the resource. The following resources are billed on a subscription basis:
1801
1801
  *
1802
- * ECS instances in node pools.
1803
- *
1804
- * The internal-facing SLB instance associated with the API server.
1802
+ * The internal-facing SLB instance used by the API server.
1805
1803
  *
1806
1804
  * Valid values:
1807
1805
  *
1808
- * PrePaid: subscription.
1806
+ * PrePaid: subscription
1809
1807
  *
1810
- * PostPaid: pay-as-you-go.
1808
+ * PostPaid: pay-as-you-go
1811
1809
  *
1812
1810
  * Default value: PostPaid.
1813
1811
  *
1812
+ * This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
1813
+ *
1814
1814
  * @example
1815
1815
  * 1
1816
1816
  */
@@ -1832,7 +1832,7 @@ export class CreateClusterRequest extends $tea.Model {
1832
1832
  * * `true`: installs the CloudMonitor agent.
1833
1833
  * * `false`: does not install the CloudMonitor agent.
1834
1834
  *
1835
- * Default value: `false`.
1835
+ * Default value: `false`
1836
1836
  *
1837
1837
  * @example
1838
1838
  * true
@@ -1850,10 +1850,10 @@ export class CreateClusterRequest extends $tea.Model {
1850
1850
  clusterDomain?: string;
1851
1851
  /**
1852
1852
  * @remarks
1853
- * After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the cluster edition. Valid values:
1853
+ * If you set `cluster_type` to `ManagedKubernetes` and specify `profile`, you can further specify the edition of the cluster. Valid values:
1854
1854
  *
1855
- * * `ack.pro.small`: Pro Edition.
1856
- * * `ack.standard`: Basic Edition. If you leave the parameter empty, an ACK Basic cluster is created.
1855
+ * * `ack.pro.small`: creates an ACK Pro cluster.
1856
+ * * `ack.standard`: creates an ACK Basic cluster. If you leave the parameter empty, an ACK Basic cluster is created.
1857
1857
  *
1858
1858
  * @example
1859
1859
  * ack.pro.small
@@ -1861,9 +1861,9 @@ export class CreateClusterRequest extends $tea.Model {
1861
1861
  clusterSpec?: string;
1862
1862
  /**
1863
1863
  * @remarks
1864
- * * `Kubernetes`: ACK dedicated cluster.
1865
- * * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters (Basic Edition and Pro Edition), ACK Edge clusters (Basic Edition and Pro Edition), and ACK Lingjun clusters (Pro Edition).
1866
- * * `ExternalKubernetes`: registered cluster.
1864
+ * * `Kubernetes`: an ACK dedicated cluster.
1865
+ * * `ManagedKubernetes`: an ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters (Basic and Pro), ACK Edge clusters (Basic and Pro), and ACK Lingjun clusters (Pro).
1866
+ * * `ExternalKubernetes`: a registered cluster.
1867
1867
  *
1868
1868
  * This parameter is required.
1869
1869
  *
@@ -1885,9 +1885,9 @@ export class CreateClusterRequest extends $tea.Model {
1885
1885
  containerCidr?: string;
1886
1886
  /**
1887
1887
  * @remarks
1888
- * The list of control plane components for which you want to enable log collection.
1888
+ * The control plane component for which you want to enable log collection.
1889
1889
  *
1890
- * By default, the logs of kube-apiserver, kube-controller-manager, and kube-scheduler are collected.
1890
+ * By default, the log of kube-apiserver, kube-controller-manager, and kube-scheduler is collected.
1891
1891
  */
1892
1892
  controlplaneLogComponents?: string[];
1893
1893
  /**
@@ -1910,8 +1910,8 @@ export class CreateClusterRequest extends $tea.Model {
1910
1910
  * @remarks
1911
1911
  * The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
1912
1912
  *
1913
- * * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
1914
- * * `none`: specifies that the default CPU affinity is used.
1913
+ * * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity
1914
+ * * `none`: specifies that the default CPU affinity is used
1915
1915
  *
1916
1916
  * Default value: `none`.
1917
1917
  *
@@ -1921,7 +1921,7 @@ export class CreateClusterRequest extends $tea.Model {
1921
1921
  cpuPolicy?: string;
1922
1922
  /**
1923
1923
  * @remarks
1924
- * The custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. Separate multiple IP addresses and domain names with commas (,).
1924
+ * The custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. Separate multiple IP addresses and domain names by commas (,).
1925
1925
  *
1926
1926
  * @example
1927
1927
  * cs.aliyun.com
@@ -1929,12 +1929,12 @@ export class CreateClusterRequest extends $tea.Model {
1929
1929
  customSan?: string;
1930
1930
  /**
1931
1931
  * @remarks
1932
- * Specifies whether to enable cluster deletion protection. If this option is enabled, the cluster cannot be deleted in the ACK console or by calling API operations. Valid values:
1932
+ * Specifies whether to enable cluster deletion protection. If this option is enabled, the cluster cannot be deleted in the console or by calling API operations. Valid values:
1933
1933
  *
1934
- * * `true`: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the ACK console or by calling API operations.
1935
- * * `false`: disables deletion protection for the cluster. This way, the cluster can be deleted in the ACK console or by calling API operations.
1934
+ * * `true`: The cluster cannot be deleted in the Container Service console or by calling API operations.
1935
+ * * `false`: The cluster can be deleted in the Container Service console or by calling API operations.
1936
1936
  *
1937
- * Default value: `false`.
1937
+ * Default value: `false`
1938
1938
  *
1939
1939
  * @example
1940
1940
  * true
@@ -1942,12 +1942,12 @@ export class CreateClusterRequest extends $tea.Model {
1942
1942
  deletionProtection?: boolean;
1943
1943
  /**
1944
1944
  * @remarks
1945
- * Specifies whether to perform a rollback when the cluster fails to be created. Valid values:
1945
+ * Specifies whether to perform a rollback if the cluster fails to be created. Valid values:
1946
1946
  *
1947
1947
  * * `true`: performs a rollback when the cluster fails to be created.
1948
1948
  * * `false`: does not perform a rollback when the cluster fails to be created.
1949
1949
  *
1950
- * Default value: `true`.
1950
+ * Default value: `true`
1951
1951
  *
1952
1952
  * @example
1953
1953
  * true
@@ -1957,7 +1957,7 @@ export class CreateClusterRequest extends $tea.Model {
1957
1957
  disableRollback?: boolean;
1958
1958
  /**
1959
1959
  * @remarks
1960
- * Specifies whether to enable the RAM Roles for Service Accounts (RRSA) feature.
1960
+ * Specifies whether to enable the Resource Access Management (RAM) Roles for Service Accounts (RRSA) feature.
1961
1961
  *
1962
1962
  * @example
1963
1963
  * true
@@ -1980,7 +1980,7 @@ export class CreateClusterRequest extends $tea.Model {
1980
1980
  * * `true`: enables Internet access for the cluster.
1981
1981
  * * `false`: disables Internet access for the cluster. If you set the value to false, the API server cannot be accessed over the Internet.
1982
1982
  *
1983
- * Default value: `false`.
1983
+ * Default value: `false`
1984
1984
  *
1985
1985
  * @example
1986
1986
  * true
@@ -1990,10 +1990,10 @@ export class CreateClusterRequest extends $tea.Model {
1990
1990
  * @remarks
1991
1991
  * Specifies whether to mount a data disk to a node that is created based on an existing ECS instance. Valid values:
1992
1992
  *
1993
- * * `true`: stores the data of containers and images on a data disk. The existing data stored on the data disk is lost. Back up the existing data first.
1993
+ * * `true`: stores the data of containers and images on a data disk. The existing data stored in the data disk is lost. Back up the existing data first.
1994
1994
  * * `false`: does not store the data of containers and images on a data disk.
1995
1995
  *
1996
- * Default value: `false`.
1996
+ * Default value: `false`
1997
1997
  *
1998
1998
  * How data disks are mounted:
1999
1999
  *
@@ -2034,7 +2034,7 @@ export class CreateClusterRequest extends $tea.Model {
2034
2034
  imageType?: string;
2035
2035
  /**
2036
2036
  * @remarks
2037
- * The existing ECS instances that are specified as worker nodes for the cluster.
2037
+ * The existing Elastic Compute Service (ECS) instances that are specified as worker nodes for the cluster.
2038
2038
  *
2039
2039
  * > This parameter is required if you create worker nodes on existing ECS instances.
2040
2040
  */
@@ -2057,7 +2057,7 @@ export class CreateClusterRequest extends $tea.Model {
2057
2057
  * * `true`: creates an advanced security group.
2058
2058
  * * `false`: does not create an advanced security group.
2059
2059
  *
2060
- * Default value: `true`.
2060
+ * Default value: `true`
2061
2061
  *
2062
2062
  * @example
2063
2063
  * true
@@ -2070,7 +2070,7 @@ export class CreateClusterRequest extends $tea.Model {
2070
2070
  * * `true`: retains the names.
2071
2071
  * * `false`: does not retain the names. The system assigns new names.
2072
2072
  *
2073
- * Default value: `true`.
2073
+ * Default value: `true`
2074
2074
  *
2075
2075
  * @example
2076
2076
  * true
@@ -2078,7 +2078,7 @@ export class CreateClusterRequest extends $tea.Model {
2078
2078
  keepInstanceName?: boolean;
2079
2079
  /**
2080
2080
  * @remarks
2081
- * The name of the key pair. You must specify this parameter or the `login_password` parameter.
2081
+ * The name of the key pair. You must configure this parameter or the `login_password` parameter.
2082
2082
  *
2083
2083
  * @example
2084
2084
  * secrity-key
@@ -2096,7 +2096,7 @@ export class CreateClusterRequest extends $tea.Model {
2096
2096
  kubernetesVersion?: string;
2097
2097
  /**
2098
2098
  * @remarks
2099
- * Specifies the CLB instance ID for accessing the APIServer. When this parameter is set, an APIServer CLB will no longer be automatically created.
2099
+ * Specifies the ID of the CLB instance for accessing the API server. If this parameter is specified, the system does not automatically create a CLB instance for the API server.
2100
2100
  *
2101
2101
  * @example
2102
2102
  * lb-wz9t256gqa3vbouk****
@@ -2129,12 +2129,16 @@ export class CreateClusterRequest extends $tea.Model {
2129
2129
  loggingType?: string;
2130
2130
  /**
2131
2131
  * @remarks
2132
- * The password for SSH logon. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
2132
+ * The password for SSH logon. You must set this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
2133
2133
  *
2134
2134
  * @example
2135
2135
  * Hello@1234
2136
2136
  */
2137
2137
  loginPassword?: string;
2138
+ /**
2139
+ * @remarks
2140
+ * Cluster maintenance window.
2141
+ */
2138
2142
  maintenanceWindow?: MaintenanceWindow;
2139
2143
  /**
2140
2144
  * @remarks
@@ -2143,7 +2147,7 @@ export class CreateClusterRequest extends $tea.Model {
2143
2147
  * * `true`: enables auto-renewal.
2144
2148
  * * `false`: disables auto-renewal.
2145
2149
  *
2146
- * Default value: `true`.
2150
+ * Default value: `true`
2147
2151
  *
2148
2152
  * @example
2149
2153
  * true
@@ -2151,7 +2155,7 @@ export class CreateClusterRequest extends $tea.Model {
2151
2155
  masterAutoRenew?: boolean;
2152
2156
  /**
2153
2157
  * @remarks
2154
- * The auto-renewal duration. This parameter takes effect and is required only when the subscription billing method is selected for master nodes.
2158
+ * The cycle of auto-renewal. This parameter takes effect and is required only if the subscription billing method is selected for master nodes.
2155
2159
  *
2156
2160
  * Valid values: 1, 2, 3, 6, and 12.
2157
2161
  *
@@ -2176,9 +2180,9 @@ export class CreateClusterRequest extends $tea.Model {
2176
2180
  * The billing method of master nodes. Valid values:
2177
2181
  *
2178
2182
  * * `PrePaid`: subscription.
2179
- * * `PostPaid`: the pay-as-you-go.
2183
+ * * `PostPaid`: pay-as-you-go.
2180
2184
  *
2181
- * Default value: `PostPaid`.
2185
+ * Default value: `PostPaid`
2182
2186
  *
2183
2187
  * @example
2184
2188
  * PrePaid
@@ -2215,8 +2219,8 @@ export class CreateClusterRequest extends $tea.Model {
2215
2219
  * @remarks
2216
2220
  * The system disk type of master nodes. Valid values:
2217
2221
  *
2218
- * * `cloud_efficiency`: ultra disk.
2219
- * * `cloud_ssd`: standard SSD.
2222
+ * * `cloud_efficiency`: ultra disk
2223
+ * * `cloud_ssd`: standard SSD
2220
2224
  * * `cloud_essd`: Enterprise SSD (ESSD).
2221
2225
  *
2222
2226
  * Default value: `cloud_ssd`. The default value may vary in different zones.
@@ -2255,14 +2259,14 @@ export class CreateClusterRequest extends $tea.Model {
2255
2259
  * @remarks
2256
2260
  * The IDs of the vSwitches that are specified for master nodes. You can specify up to three vSwitches. We recommend that you specify three vSwitches in different zones to ensure high availability.
2257
2261
  *
2258
- * The number of vSwitches must be the same as the value of the `master_count` parameter and also the same as the number of vSwitches specified in the `master_vswitch_ids` parameter.
2262
+ * The number of vSwitches must be the same as that specified in `master_count` and the same as those specified in `master_vswitch_ids`.
2259
2263
  */
2260
2264
  masterVswitchIds?: string[];
2261
2265
  /**
2262
2266
  * @remarks
2263
- * The cluster name.
2267
+ * The name of the cluster.
2264
2268
  *
2265
- * The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
2269
+ * The cluster name must be 1 to 63 characters in length, and can contain digits, letters, and underscores (_). The cluster name cannot start with a hyphen (-).
2266
2270
  *
2267
2271
  * This parameter is required.
2268
2272
  *
@@ -2272,12 +2276,7 @@ export class CreateClusterRequest extends $tea.Model {
2272
2276
  name?: string;
2273
2277
  /**
2274
2278
  * @remarks
2275
- * Specifies whether to create a NAT gateway and configure SNAT rules if you create an ACK Serverless cluster. Valid values:
2276
- *
2277
- * * `true`: automatically creates a NAT gateway and configures SNAT rules. This enables Internet access for the VPC in which the cluster is deployed.
2278
- * * `false`: does not create a NAT gateway or configure SNAT rules. If you specify this value, the cluster in the VPC cannot access the Internet.
2279
- *
2280
- * Default value: `false`.
2279
+ * This parameter is deprecated. Use `snat_entry` instead.
2281
2280
  *
2282
2281
  * @example
2283
2282
  * true
@@ -2285,7 +2284,7 @@ export class CreateClusterRequest extends $tea.Model {
2285
2284
  natGateway?: boolean;
2286
2285
  /**
2287
2286
  * @remarks
2288
- * The maximum number of IP addresses that can be assigned to each node. This number is determined by the subnet mask of the specified CIDR block. This parameter takes effect only if the cluster uses the Flannel plug-in.
2287
+ * The maximum number of IP addresses that can be assigned to nodes. This number is determined by the node CIDR block. This parameter takes effect only if the cluster uses Flannel network plug-in.
2289
2288
  *
2290
2289
  * Default value: `26`.
2291
2290
  *
@@ -2302,7 +2301,7 @@ export class CreateClusterRequest extends $tea.Model {
2302
2301
  * * The prefix and suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-), and must start and end with a lowercase letter or digit.
2303
2302
  * * The IP substring length specifies the number of digits to be truncated from the end of the node IP address. The IP substring length ranges from 5 to 12.
2304
2303
  *
2305
- * For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name will aliyun.com00055test.
2304
+ * For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name is aliyun.com00055test.
2306
2305
  *
2307
2306
  * @example
2308
2307
  * aliyun.com00055test
@@ -2333,6 +2332,10 @@ export class CreateClusterRequest extends $tea.Model {
2333
2332
  * @deprecated
2334
2333
  */
2335
2334
  numOfNodes?: number;
2335
+ /**
2336
+ * @remarks
2337
+ * Cluster auto operation and maintenance policy.
2338
+ */
2336
2339
  operationPolicy?: CreateClusterRequestOperationPolicy;
2337
2340
  /**
2338
2341
  * @remarks
@@ -2355,6 +2358,8 @@ export class CreateClusterRequest extends $tea.Model {
2355
2358
  *
2356
2359
  * Default value: 1.
2357
2360
  *
2361
+ * This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
2362
+ *
2358
2363
  * @example
2359
2364
  * FY2023
2360
2365
  */
@@ -2363,7 +2368,9 @@ export class CreateClusterRequest extends $tea.Model {
2363
2368
  * @remarks
2364
2369
  * The billing cycle. This parameter is required if charge_type is set to PrePaid.
2365
2370
  *
2366
- * Set the value to Month. Subscription clusters are billed only on a monthly basis.
2371
+ * Valid value: Month, which indicates that resources are billed only on a monthly basis.
2372
+ *
2373
+ * This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
2367
2374
  *
2368
2375
  * @example
2369
2376
  * Month
@@ -2371,7 +2378,7 @@ export class CreateClusterRequest extends $tea.Model {
2371
2378
  periodUnit?: string;
2372
2379
  /**
2373
2380
  * @remarks
2374
- * The OS distribution that is used. Valid values:
2381
+ * The operating system distribution. Valid values:
2375
2382
  *
2376
2383
  * * CentOS
2377
2384
  * * AliyunLinux
@@ -2388,19 +2395,19 @@ export class CreateClusterRequest extends $tea.Model {
2388
2395
  platform?: string;
2389
2396
  /**
2390
2397
  * @remarks
2391
- * If you select Terway as the network plug-in, you must allocate vSwitches to pods. For each vSwitch that allocates IP addresses to worker nodes, you must select a vSwitch in the same zone to allocate IP addresses to pods.
2398
+ * If you select Terway as the network plug-in, you must allocate vSwitches to pods. Each pod vSwitch must correspond to a worker node vSwitch. Pod vSwitches and worker node vSwitches must reside in the same zone.
2392
2399
  *
2393
- * > We recommend that you select pod vSwitches whose subnet masks that do not exceed 19 bits in length. The maximum subnet mask length of a pod vSwitch is 25 bits. If you select a pod vSwitch whose subnet mask exceeds 25 bits in length, the IP addresses that can be allocated to pods may be insufficient.
2400
+ * > We recommend that you select pod vSwitches whose subnet mask lengths are no longer than 19 bits. The maximum subnet mask length of a pod vSwitch is 25 bits. If you select a pod vSwitch whose subnet mask length is longer than 25 bits, the IP addresses that can be allocated to pods may be insufficient.
2394
2401
  */
2395
2402
  podVswitchIds?: string[];
2396
2403
  /**
2397
2404
  * @remarks
2398
2405
  * If you set `cluster_type` to `ManagedKubernetes`, an ACK managed cluster is created. In this case, you can further specify the cluster edition. Valid values:
2399
2406
  *
2400
- * * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
2401
- * * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
2402
- * * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
2403
- * * `Lingjun`: ACK Lingjun Pro cluster.
2407
+ * * `Default`. an ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
2408
+ * * `Edge`: an ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
2409
+ * * `Serverless`: an ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
2410
+ * * `Lingjun`: an ACK Lingjun Pro cluster.
2404
2411
  *
2405
2412
  * @example
2406
2413
  * Default
@@ -2410,8 +2417,8 @@ export class CreateClusterRequest extends $tea.Model {
2410
2417
  * @remarks
2411
2418
  * The kube-proxy mode. Valid values:
2412
2419
  *
2413
- * * `iptables`: a mature and stable mode that uses iptables rules to conduct service discovery and load balancing. The performance of this mode is limited by the size of the cluster. This mode is suitable for clusters that run a small number of Services.
2414
- * * `ipvs`: a mode that provides high performance and uses IP Virtual Server (IPVS) to conduct service discovery and load balancing. This mode is suitable for clusters that run a large number of Services. We recommend that you use this mode in scenarios that require high-performance load balancing.
2420
+ * * `iptables`: a mature and stable kube-proxy mode that uses iptables rules to conduct Service discovery and load balancing. The performance of this mode is limited by the size of the cluster. This mode is suitable for clusters that run a small number of Services.
2421
+ * * `ipvs`: provides high performance and uses IP Virtual Server (IPVS). This allows you to configure service discovery and load balancing. This mode is suitable for clusters that are required to run a large number of services. We recommend that you use this mode in scenarios that require high load balancing performance.
2415
2422
  *
2416
2423
  * Default value: `ipvs`.
2417
2424
  *
@@ -2421,7 +2428,7 @@ export class CreateClusterRequest extends $tea.Model {
2421
2428
  proxyMode?: string;
2422
2429
  /**
2423
2430
  * @remarks
2424
- * The ApsaraDB RDS instances. The pod CIDR block and node CIDR block are added to the whitelists of the ApsaraDB RDS instances. We recommend that you add the pod CIDR block and node CIDR block to the whitelists of the ApsaraDB RDS instances in the ApsaraDB RDS console. If the RDS instances are not in the Running state, new nodes cannot be added to the cluster.
2431
+ * The ApsaraDB RDS instances. Select the ApsaraDB RDS instances that you want to add to the whitelist. We recommend that you add the pod CIDR block and node CIDR block to the ApsaraDB RDS instances in the ApsaraDB RDS console. When you configure the ApsaraDB RDS instances, you cannot scale out the number of nodes because the instances are not in the Running state.
2425
2432
  */
2426
2433
  rdsInstances?: string[];
2427
2434
  /**
@@ -2451,7 +2458,7 @@ export class CreateClusterRequest extends $tea.Model {
2451
2458
  runtime?: Runtime;
2452
2459
  /**
2453
2460
  * @remarks
2454
- * The ID of an existing security group. You must specify this parameter or the `is_enterprise_security_group` parameter. Cluster nodes are automatically added to the security group.
2461
+ * The ID of an existing security group. You must specify this parameter or `is_enterprise_security_group`. Cluster nodes are automatically added to the security group.
2455
2462
  *
2456
2463
  * @example
2457
2464
  * sg-bp1bdue0qc1g7k****
@@ -2464,7 +2471,7 @@ export class CreateClusterRequest extends $tea.Model {
2464
2471
  * * `true`: enables Alibaba Cloud Linux Security Hardening.
2465
2472
  * * `false`: disables Alibaba Cloud Linux Security Hardening.
2466
2473
  *
2467
- * Default value: `false`.
2474
+ * Default value: `false`
2468
2475
  *
2469
2476
  * @example
2470
2477
  * false
@@ -2472,9 +2479,9 @@ export class CreateClusterRequest extends $tea.Model {
2472
2479
  securityHardeningOs?: boolean;
2473
2480
  /**
2474
2481
  * @remarks
2475
- * Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. The `service-account-issuer` parameter specifies the issuer of the `service account token`, which is specified by using the `iss` field in the `token payload`.
2482
+ * Provides identities for pods when pods communicate with the `API server` of the cluster. `service-account-issuer` specifies the issuer of the `serviceaccount token`, which is specified by using the `iss` field in the `token payload`.
2476
2483
  *
2477
- * For more information about `service accounts`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
2484
+ * For more information about `ServiceAccount`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
2478
2485
  *
2479
2486
  * @example
2480
2487
  * kubernetes.default.svc
@@ -2482,7 +2489,7 @@ export class CreateClusterRequest extends $tea.Model {
2482
2489
  serviceAccountIssuer?: string;
2483
2490
  /**
2484
2491
  * @remarks
2485
- * The Service CIDR block. Valid values: 10.0.0.0/16-24, 172.16-31.0.0/16-24, and 192.168.0.0/16-24. The Service CIDR block cannot overlap with the VPC CIDR block (10.1.0.0/21) or the CIDR blocks of existing clusters in the VPC. You cannot modify the Service CIDR block after the cluster is created.
2492
+ * The Service CIDR block. Valid values: 10.0.0.0/16-24, 172.16-31.0.0/16-24, and 192.168.0.0/16-24. The Service CIDR block cannot overlap with the CIDR block of the VPC (10.1.0.0/21) or the CIDR blocks of existing clusters in the VPC. You cannot modify the CIDR block of Services after the cluster is created.
2486
2493
  *
2487
2494
  * By default, the Service CIDR block is set to 172.19.0.0/20.
2488
2495
  *
@@ -2494,24 +2501,24 @@ export class CreateClusterRequest extends $tea.Model {
2494
2501
  serviceCidr?: string;
2495
2502
  /**
2496
2503
  * @remarks
2497
- * The type of service discovery that is implemented in the `ACK Serverless` cluster.
2504
+ * The methods for implementing service discovery in `ACK Serverless` clusters.
2498
2505
  *
2499
- * * `CoreDNS`: a standard service discovery plug-in provided by open source Kubernetes. To use DNS resolution, you must provision pods. By default, two elastic container instances are used. The specification of each instance is 0.25 vCPUs and 512 MiB of memory.
2500
- * * `PrivateZone`: a DNS resolution service provided by Alibaba Cloud. You must activate Alibaba Cloud DNS PrivateZone before you can use it to implement service discovery.
2506
+ * * `CoreDNS`: a standard service discovery plug-in that is provided by open source Kubernetes. To use DNS resolution, you must provision pods. By default, two elastic container instances are used. The specification of each instance is 0.25 vCPUs and 512 MiB of memory.
2507
+ * * `PrivateZone`: a DNS resolution service provided by Alibaba Cloud. You must activate Alibaba Cloud DNS PrivateZone before you can use it for service discovery.
2501
2508
  *
2502
2509
  * By default, this parameter is not specified.
2503
2510
  */
2504
2511
  serviceDiscoveryTypes?: string[];
2505
2512
  /**
2506
2513
  * @remarks
2507
- * Specifies whether to configure SNAT rules for the VPC in which your cluster is deployed. Valid values:
2514
+ * Specifies whether to configure Source Network Address Translation (SNAT) rules for the VPC in which your cluster is deployed. Valid values:
2508
2515
  *
2509
2516
  * * `true`: automatically creates a NAT gateway and configures SNAT rules. Set the value to `true` if nodes and applications in the cluster need to access the Internet.
2510
2517
  * * `false`: does not create a NAT gateway or configure SNAT rules. In this case, nodes and applications in the cluster cannot access the Internet.
2511
2518
  *
2512
2519
  * > If this feature is disabled when you create the cluster, you can also manually enable this feature after you create the cluster. For more information, see [Enable an existing ACK cluster to access the Internet](https://help.aliyun.com/document_detail/178480.html).
2513
2520
  *
2514
- * Default value: `true`.
2521
+ * Default value: `true`
2515
2522
  *
2516
2523
  * @example
2517
2524
  * true
@@ -2526,7 +2533,7 @@ export class CreateClusterRequest extends $tea.Model {
2526
2533
  * * `true`: enables security hardening based on MLPS.
2527
2534
  * * `false`: disables security hardening based on MLPS.
2528
2535
  *
2529
- * Default value: `false`.
2536
+ * Default value: `false`
2530
2537
  *
2531
2538
  * @example
2532
2539
  * false
@@ -2539,7 +2546,7 @@ export class CreateClusterRequest extends $tea.Model {
2539
2546
  * * `true`: enables SSH logon.
2540
2547
  * * `false`: disables SSH logon.
2541
2548
  *
2542
- * Default value: `false`.
2549
+ * Default value: `false`
2543
2550
  *
2544
2551
  * @example
2545
2552
  * true
@@ -2547,15 +2554,15 @@ export class CreateClusterRequest extends $tea.Model {
2547
2554
  sshFlags?: boolean;
2548
2555
  /**
2549
2556
  * @remarks
2550
- * The labels that you want to add to nodes. You must add labels based on the following rules:
2557
+ * The tags to be added to nodes. You must add labels based on the following rules:
2551
2558
  *
2552
2559
  * * A label is a case-sensitive key-value pair. You can add up to 20 labels.
2553
- * * When you add a label, you must specify a unique key but you can leave the value empty. A key cannot exceed 64 characters in length and a value cannot exceed 128 characters in length. Keys and values cannot start with aliyun, acs:, https://, or http://. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
2560
+ * * When you add a tag, you must specify a unique key but you can leave the value empty. A key cannot exceed 64 characters in length and a value cannot exceed 128 characters in length. Keys and values cannot start with aliyun, acs:, https://, or http://. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
2554
2561
  */
2555
2562
  tags?: Tag[];
2556
2563
  /**
2557
2564
  * @remarks
2558
- * The taints that you want to add to nodes. Taints can be used together with tolerations to avoid scheduling pods to specific nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
2565
+ * The taint. Taints can be used together with tolerations to avoid scheduling pods to specified nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
2559
2566
  */
2560
2567
  taints?: Taint[];
2561
2568
  /**
@@ -2602,15 +2609,15 @@ export class CreateClusterRequest extends $tea.Model {
2602
2609
  vpcid?: string;
2603
2610
  /**
2604
2611
  * @remarks
2605
- * The vSwitches for nodes in the cluster. This parameter is required if you create an ACK managed cluster that does not contain nodes.
2612
+ * The vSwitches that are specified for nodes in the cluster. This parameter is required if you create an ACK managed cluster that does not contain nodes.
2606
2613
  */
2607
2614
  vswitchIds?: string[];
2608
2615
  /**
2609
2616
  * @remarks
2610
- * Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect and is required only when `worker_instance_charge_type` is set to `PrePaid`. Valid values:
2617
+ * Specifies whether to enable auto renewal for worker nodes. This parameter takes effect and is required only when `worker_instance_charge_type` is set to `PrePaid`. Valid values:
2611
2618
  *
2612
2619
  * * `true`: enables auto-renewal.
2613
- * * `false`: disables auto-renewal.
2620
+ * * `false`: disables auto-renewal
2614
2621
  *
2615
2622
  * Default value: `true`
2616
2623
  *
@@ -2622,7 +2629,7 @@ export class CreateClusterRequest extends $tea.Model {
2622
2629
  workerAutoRenew?: boolean;
2623
2630
  /**
2624
2631
  * @remarks
2625
- * The auto-renewal duration. This parameter takes effect and is required only when the subscription billing method is selected for worker nodes.
2632
+ * The cycle of auto-renewal. This parameter takes effect and is required only if the subscription billing method is selected for worker nodes.
2626
2633
  *
2627
2634
  * Valid values: 1, 2, 3, 6, and 12.
2628
2635
  *
@@ -2679,7 +2686,7 @@ export class CreateClusterRequest extends $tea.Model {
2679
2686
  * @remarks
2680
2687
  * The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
2681
2688
  *
2682
- * Set the value to `Month`. Subscription worker nodes are billed only on a monthly basis.
2689
+ * Valid value: `Month`, which indicates that worker nodes are billed only on a monthly basis.
2683
2690
  *
2684
2691
  * @example
2685
2692
  * Month
@@ -2689,7 +2696,7 @@ export class CreateClusterRequest extends $tea.Model {
2689
2696
  workerPeriodUnit?: string;
2690
2697
  /**
2691
2698
  * @remarks
2692
- * The system disk type of worker nodes. For more information, see [Overview of Block Storage](https://help.aliyun.com/document_detail/63136.html).
2699
+ * The system disk category of worker nodes. For more information, see [Elastic Block Storage devices](https://help.aliyun.com/document_detail/63136.html).
2693
2700
  *
2694
2701
  * Valid values:
2695
2702
  *
@@ -2749,7 +2756,7 @@ export class CreateClusterRequest extends $tea.Model {
2749
2756
  workerSystemDiskSnapshotPolicyId?: string;
2750
2757
  /**
2751
2758
  * @remarks
2752
- * The vSwitches for worker nodes. Each worker node is allocated a vSwitch.
2759
+ * The vSwitches that are specified for worker nodes. Each worker node is allocated a vSwitch.
2753
2760
  *
2754
2761
  * `worker_vswitch_ids` is optional but `vswitch_ids` is required if you create an ACK managed cluster that does not contain nodes.
2755
2762
  *
@@ -2758,9 +2765,11 @@ export class CreateClusterRequest extends $tea.Model {
2758
2765
  workerVswitchIds?: string[];
2759
2766
  /**
2760
2767
  * @remarks
2761
- * The ID of the zone to which the cluster belongs. This parameter takes effect only for ACK Serverless clusters.
2768
+ * This parameter is deprecated. Use `zone_ids` instead.
2769
+ *
2770
+ * The ID of the zone to which the cluster belongs. This parameter is specific to ACK managed clusters.
2762
2771
  *
2763
- * If you create an ACK Serverless cluster, you must specify `zone_id` if `vpc_id` and `vswitch_ids` are not specified. This way, the system automatically creates a VPC in the specified zone.
2772
+ * When you create an ACK managed cluster, you must set the `zone_id` parameter if `vpc_id` and `vswitch_ids` are not specified. This way, the system automatically creates a VPC in the specified zone. This parameter is invalid if you specify the `vpc_id` and `vswitch_ids` parameters.
2764
2773
  *
2765
2774
  * @example
2766
2775
  * cn-beiji****
@@ -2770,8 +2779,9 @@ export class CreateClusterRequest extends $tea.Model {
2770
2779
  zoneId?: string;
2771
2780
  /**
2772
2781
  * @remarks
2773
- * List of availability zone IDs in the region where the cluster resides. This parameter is specific to ACK managed clusters.
2774
- * When creating an ACK managed cluster, if `vpc_id` and `vswitch_ids` are not specified, specifying `zone_ids` allows for automatic creation of VPC network resources across multiple availability zones. If `vpc_id` and `vswitch_ids` are specified, this parameter becomes ineffective.
2782
+ * The IDs of the zone in which the cluster is deployed. This parameter is specific to ACK managed clusters.
2783
+ *
2784
+ * When you create an ACK managed cluster, you must set the `zone_id` parameter if `vpc_id` and `vswitch_ids` are not specified. This way, the system automatically creates a VPC in the specified zone. This parameter is invalid if you specify the `vpc_id` and `vswitch_ids` parameters.
2775
2785
  */
2776
2786
  zoneIds?: string[];
2777
2787
  static names(): { [key: string]: string } {
@@ -3203,7 +3213,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
3203
3213
  autoScaling?: CreateClusterNodePoolRequestAutoScaling;
3204
3214
  /**
3205
3215
  * @remarks
3206
- * This parameter is deprecated. Use desired_size instead.
3216
+ * This parameter is deprecated. Use the desired_size parameter instead.
3207
3217
  *
3208
3218
  * The number of nodes in the node pool.
3209
3219
  *
@@ -3213,6 +3223,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
3213
3223
  * @deprecated
3214
3224
  */
3215
3225
  count?: number;
3226
+ hostNetwork?: boolean;
3216
3227
  /**
3217
3228
  * @remarks
3218
3229
  * This parameter is deprecated.
@@ -3224,15 +3235,16 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
3224
3235
  interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
3225
3236
  /**
3226
3237
  * @remarks
3227
- * The network type of the edge node pool. This parameter takes effect only if you set the `type` of the node pool to `edge`. Valid values:
3238
+ * The network type of the edge node pool. This parameter takes effect only when the `type` of the node pool is set to `edge`. Valid values:
3228
3239
  *
3229
- * * `basic`: basic
3230
- * * `private`: dedicated Only Kubernetes 1.22 and later support this value.
3240
+ * * `basic`: basic.
3241
+ * * `private`: dedicated. Only clusters that run Kubernetes 1.22 and later support this value.
3231
3242
  *
3232
3243
  * @example
3233
3244
  * basic
3234
3245
  */
3235
3246
  interconnectMode?: string;
3247
+ intranet?: boolean;
3236
3248
  /**
3237
3249
  * @remarks
3238
3250
  * The configurations of the cluster.
@@ -3280,8 +3292,10 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
3280
3292
  return {
3281
3293
  autoScaling: 'auto_scaling',
3282
3294
  count: 'count',
3295
+ hostNetwork: 'host_network',
3283
3296
  interconnectConfig: 'interconnect_config',
3284
3297
  interconnectMode: 'interconnect_mode',
3298
+ intranet: 'intranet',
3285
3299
  kubernetesConfig: 'kubernetes_config',
3286
3300
  management: 'management',
3287
3301
  maxNodes: 'max_nodes',
@@ -3296,8 +3310,10 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
3296
3310
  return {
3297
3311
  autoScaling: CreateClusterNodePoolRequestAutoScaling,
3298
3312
  count: 'number',
3313
+ hostNetwork: 'boolean',
3299
3314
  interconnectConfig: CreateClusterNodePoolRequestInterconnectConfig,
3300
3315
  interconnectMode: 'string',
3316
+ intranet: 'boolean',
3301
3317
  kubernetesConfig: CreateClusterNodePoolRequestKubernetesConfig,
3302
3318
  management: CreateClusterNodePoolRequestManagement,
3303
3319
  maxNodes: 'number',
@@ -5170,12 +5186,12 @@ export class DescribeClusterAddonInstanceResponseBody extends $tea.Model {
5170
5186
  * @remarks
5171
5187
  * The status of the component. Valid values:
5172
5188
  *
5173
- * * initial: the component is being installed.
5174
- * * active: the component is installed.
5175
- * * unhealthy: the component abnormal.
5176
- * * upgrading: the component is being updated.
5177
- * * updating: the component is being modified.
5178
- * * deleting: the component is being uninstalled.
5189
+ * * initial: The component is being installed.
5190
+ * * active: The component is installed.
5191
+ * * unhealthy: The component is in an abnormal state.
5192
+ * * upgrading: The component is being updated.
5193
+ * * updating: The component is being modified.
5194
+ * * deleting: The component is being uninstalled.
5179
5195
  * * deleted: The component is deleted.
5180
5196
  *
5181
5197
  * @example
@@ -5576,6 +5592,9 @@ export class DescribeClusterAttachScriptsResponse extends $tea.Model {
5576
5592
 
5577
5593
  export class DescribeClusterDetailResponseBody extends $tea.Model {
5578
5594
  /**
5595
+ * @remarks
5596
+ * The on-premises domain name of the cluster.
5597
+ *
5579
5598
  * @example
5580
5599
  * cluster.local
5581
5600
  */
@@ -5610,6 +5629,9 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5610
5629
  */
5611
5630
  clusterType?: string;
5612
5631
  /**
5632
+ * @remarks
5633
+ * The CIDR block of the pod.
5634
+ *
5613
5635
  * @example
5614
5636
  * 172.20.0.0/16
5615
5637
  */
@@ -5650,6 +5672,9 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5650
5672
  */
5651
5673
  dockerVersion?: string;
5652
5674
  /**
5675
+ * @remarks
5676
+ * The ID of the Server Load Balancer (SLB) instance that is created for the Ingress of the cluster.
5677
+ *
5653
5678
  * @example
5654
5679
  * lb-2zehc05z3b8dwiifh****
5655
5680
  */
@@ -5663,6 +5688,12 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5663
5688
  */
5664
5689
  initVersion?: string;
5665
5690
  /**
5691
+ * @remarks
5692
+ * The IP protocol stack of the cluster. Valid values:
5693
+ *
5694
+ * * ipv4: creates a cluster that supports only the IPv4 protocol stack.
5695
+ * * dual: creates a cluster that supports IPv4/IPv6 dual-stack.
5696
+ *
5666
5697
  * @example
5667
5698
  * ipv4
5668
5699
  */
@@ -5699,27 +5730,48 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5699
5730
  */
5700
5731
  name?: string;
5701
5732
  /**
5733
+ * @remarks
5734
+ * The network type of the cluster. Example: Virtual Private Cloud (VPC).
5735
+ *
5702
5736
  * @example
5703
5737
  * vpc
5704
5738
  */
5705
5739
  networkMode?: string;
5706
5740
  /**
5741
+ * @remarks
5742
+ * The Kubernetes version to which the cluster can be updated.
5743
+ *
5707
5744
  * @example
5708
5745
  * 1.18.8-aliyun.1
5709
5746
  */
5710
5747
  nextVersion?: string;
5711
5748
  /**
5749
+ * @remarks
5750
+ * The number of the IP addresses of the node.
5751
+ *
5712
5752
  * @example
5713
5753
  * 26
5714
5754
  */
5715
5755
  nodeCidrMask?: string;
5756
+ /**
5757
+ * @remarks
5758
+ * The automatic O\\&M policy of the cluster.
5759
+ */
5716
5760
  operationPolicy?: DescribeClusterDetailResponseBodyOperationPolicy;
5717
5761
  /**
5718
5762
  * @remarks
5719
- * The ROS parameters of the cluster.
5763
+ * The Resource Orchestration Service (ROS) parameters of the cluster.
5720
5764
  */
5721
5765
  parameters?: { [key: string]: string };
5722
5766
  /**
5767
+ * @remarks
5768
+ * Indicates whether Alibaba Cloud DNS PrivateZone (PrivateZone) is enabled for the cluster. Valid values:
5769
+ *
5770
+ * * `true`: PrivateZone is enabled.
5771
+ * * `false`: PrivateZone is dislabled.
5772
+ *
5773
+ * Default value: false
5774
+ *
5723
5775
  * @example
5724
5776
  * false
5725
5777
  */
@@ -5738,6 +5790,9 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5738
5790
  */
5739
5791
  profile?: string;
5740
5792
  /**
5793
+ * @remarks
5794
+ * The proxy mode. Valid values: ipvs and iptables.
5795
+ *
5741
5796
  * @example
5742
5797
  * ipvs
5743
5798
  */
@@ -5768,6 +5823,8 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5768
5823
  securityGroupId?: string;
5769
5824
  /**
5770
5825
  * @remarks
5826
+ * The CIDR block of the Service.
5827
+ *
5771
5828
  * This parameter is required.
5772
5829
  *
5773
5830
  * @example
@@ -5811,9 +5868,9 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5811
5868
  * * 172.16-31.0.0/12-16
5812
5869
  * * 192.168.0.0/16
5813
5870
  *
5814
- * The pod CIDR block cannot overlap with the CIDR block of the VPC or the CIDR blocks of the clusters in the VPC.
5871
+ * The pod CIDR block cannot overlap with the CIDR block of the VPC in which the cluster is deployed and the CIDR blocks of existing clusters in the VPC. You cannot modify the pod CIDR block after you create the cluster.
5815
5872
  *
5816
- * For more information, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/186964.html).
5873
+ * For more information about the network planning of ACK clusters, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/186964.html).
5817
5874
  *
5818
5875
  * @example
5819
5876
  * 172.20.0.0/16
@@ -5827,6 +5884,9 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5827
5884
  */
5828
5885
  tags?: Tag[];
5829
5886
  /**
5887
+ * @remarks
5888
+ * The time zone.
5889
+ *
5830
5890
  * @example
5831
5891
  * Asia/Shanghai
5832
5892
  */
@@ -5849,7 +5909,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5849
5909
  vpcId?: string;
5850
5910
  /**
5851
5911
  * @remarks
5852
- * The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster. We recommend that you select vSwitches in different zones to ensure high availability.
5912
+ * The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster. To ensure the high availability of the cluster, we recommend that you select vSwitches in different zones.
5853
5913
  *
5854
5914
  * @example
5855
5915
  * vsw-2zete8s4qocqg0mf6****,vsw-2zete8s4qocqg0mf6****
@@ -5857,6 +5917,10 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5857
5917
  * @deprecated
5858
5918
  */
5859
5919
  vswitchId?: string;
5920
+ /**
5921
+ * @remarks
5922
+ * The vSwitch for the control plane of the cluster.
5923
+ */
5860
5924
  vswitchIds?: string[];
5861
5925
  /**
5862
5926
  * @remarks
@@ -5867,6 +5931,9 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5867
5931
  */
5868
5932
  workerRamRoleName?: string;
5869
5933
  /**
5934
+ * @remarks
5935
+ * The ID of the zone within the region where the cluster is located.
5936
+ *
5870
5937
  * @example
5871
5938
  * cn-beijing-a
5872
5939
  */
@@ -6121,6 +6188,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
6121
6188
  * The auto scaling configuration of the node pool.
6122
6189
  */
6123
6190
  autoScaling?: DescribeClusterNodePoolDetailResponseBodyAutoScaling;
6191
+ hostNetwork?: boolean;
6124
6192
  /**
6125
6193
  * @remarks
6126
6194
  * The network configuration of the edge node pool. This parameter takes effect only for edge node pools.
@@ -6134,9 +6202,10 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
6134
6202
  * improved
6135
6203
  */
6136
6204
  interconnectMode?: string;
6205
+ intranet?: boolean;
6137
6206
  /**
6138
6207
  * @remarks
6139
- * The configuration of the cluster where the node pool is deployed.
6208
+ * The configurations of the cluster in which the node pool is deployed.
6140
6209
  */
6141
6210
  kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
6142
6211
  /**
@@ -6180,8 +6249,10 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
6180
6249
  static names(): { [key: string]: string } {
6181
6250
  return {
6182
6251
  autoScaling: 'auto_scaling',
6252
+ hostNetwork: 'host_network',
6183
6253
  interconnectConfig: 'interconnect_config',
6184
6254
  interconnectMode: 'interconnect_mode',
6255
+ intranet: 'intranet',
6185
6256
  kubernetesConfig: 'kubernetes_config',
6186
6257
  management: 'management',
6187
6258
  maxNodes: 'max_nodes',
@@ -6196,8 +6267,10 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
6196
6267
  static types(): { [key: string]: any } {
6197
6268
  return {
6198
6269
  autoScaling: DescribeClusterNodePoolDetailResponseBodyAutoScaling,
6270
+ hostNetwork: 'boolean',
6199
6271
  interconnectConfig: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig,
6200
6272
  interconnectMode: 'string',
6273
+ intranet: 'boolean',
6201
6274
  kubernetesConfig: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig,
6202
6275
  management: DescribeClusterNodePoolDetailResponseBodyManagement,
6203
6276
  maxNodes: 'number',
@@ -7497,7 +7570,7 @@ export class DescribeEventsRequest extends $tea.Model {
7497
7570
  export class DescribeEventsResponseBody extends $tea.Model {
7498
7571
  /**
7499
7572
  * @remarks
7500
- * The details of the event.
7573
+ * The details of the events.
7501
7574
  */
7502
7575
  events?: DescribeEventsResponseBodyEvents[];
7503
7576
  /**
@@ -7672,12 +7745,12 @@ export class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
7672
7745
  * @remarks
7673
7746
  * The query mode. Valid values:
7674
7747
  *
7675
- * * `supported`: queries all supported versions.
7676
- * * `creatable`: queries only versions that allow you to create clusters.
7748
+ * * `supported`: queries all supported Kubernetes versions.
7749
+ * * `creatable`: queries only Kubernetes versions of clusters that you can create.
7677
7750
  *
7678
7751
  * If you specify `KubernetesVersion`, this parameter does not take effect.
7679
7752
  *
7680
- * Default value: creatable.
7753
+ * If you do not specify a query mode, Kubernetes versions of clusters that you can create are returned.
7681
7754
  *
7682
7755
  * @example
7683
7756
  * supported
@@ -9269,7 +9342,10 @@ export class GetClusterAddonInstanceResponse extends $tea.Model {
9269
9342
  export class GetClusterAuditProjectResponseBody extends $tea.Model {
9270
9343
  /**
9271
9344
  * @remarks
9272
- * Indicates whether the cluster auditing feature is enabled for the cluster. `true`: The cluster auditing feature is enabled for the cluster. `false`: The cluster auditing feature is disabled for the cluster.
9345
+ * Indicates whether the cluster auditing feature is enabled for the cluster.
9346
+ *
9347
+ * * `true`: The cluster auditing feature is enabled for the cluster.
9348
+ * * `false`: The cluster auditing feature is disabled for the cluster.
9273
9349
  *
9274
9350
  * @example
9275
9351
  * true
@@ -10427,7 +10503,7 @@ export class ListTagResourcesRequest extends $tea.Model {
10427
10503
  resourceType?: string;
10428
10504
  /**
10429
10505
  * @remarks
10430
- * The list of labels that you want to query. You can specify at most 20 labels.
10506
+ * The labels that you want to query. You can specify up to 20 labels.
10431
10507
  *
10432
10508
  * @example
10433
10509
  * [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}]
@@ -10499,7 +10575,7 @@ export class ListTagResourcesShrinkRequest extends $tea.Model {
10499
10575
  resourceType?: string;
10500
10576
  /**
10501
10577
  * @remarks
10502
- * The list of labels that you want to query. You can specify at most 20 labels.
10578
+ * The labels that you want to query. You can specify up to 20 labels.
10503
10579
  *
10504
10580
  * @example
10505
10581
  * [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}]
@@ -11330,9 +11406,13 @@ export class ModifyClusterTagsResponse extends $tea.Model {
11330
11406
  export class ModifyNodePoolNodeConfigRequest extends $tea.Model {
11331
11407
  /**
11332
11408
  * @remarks
11333
- * The parameter settings of the kubelet.
11409
+ * The parameters of the kubelet.
11334
11410
  */
11335
11411
  kubeletConfig?: KubeletConfig;
11412
+ /**
11413
+ * @remarks
11414
+ * Operating system parameter configuration.
11415
+ */
11336
11416
  osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
11337
11417
  /**
11338
11418
  * @remarks
@@ -12536,15 +12616,15 @@ export class ScaleOutClusterRequest extends $tea.Model {
12536
12616
  runtime?: Runtime;
12537
12617
  /**
12538
12618
  * @remarks
12539
- * The labels that you want to add to nodes. You must add labels based on the following rules:
12619
+ * The tags that you want to add to nodes. When you add labels to a node, the following rules apply:
12540
12620
  *
12541
12621
  * * A label is a case-sensitive key-value pair. You can add up to 20 labels.
12542
- * * When you add a label, you must specify a unique key but you can leave the value empty. A key cannot exceed 64 characters in length and a value cannot exceed 128 characters in length. Keys and values cannot start with aliyun, acs:, https://, or http://. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
12622
+ * * When you add a tag, you must specify a unique key but you can leave the value empty. A key cannot exceed 64 characters in length and a value cannot exceed 128 characters in length. Keys and values cannot start with aliyun, acs:, https://, or http://. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
12543
12623
  */
12544
12624
  tags?: Tag[];
12545
12625
  /**
12546
12626
  * @remarks
12547
- * The taints that you want to add to nodes. Taints can be used together with tolerations to avoid scheduling pods to specified nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
12627
+ * The taints that you want to add to nodes. Taints can be used together with tolerations to prevent pods from being scheduled to specific nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
12548
12628
  */
12549
12629
  taints?: Taint[];
12550
12630
  /**
@@ -12567,7 +12647,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
12567
12647
  * Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect and is required only if `worker_instance_charge_type` is set to `PrePaid`. Valid values:
12568
12648
  *
12569
12649
  * * `true`: enables auto-renewal.
12570
- * * `false`: does not enable auto-renewal.
12650
+ * * `false`: disables auto-renewal.
12571
12651
  *
12572
12652
  * Default value: `true`.
12573
12653
  *
@@ -12599,7 +12679,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
12599
12679
  * * `PrePaid`: subscription.
12600
12680
  * * `PostPaid`: pay-as-you-go.
12601
12681
  *
12602
- * Default value: `PostPaid`.
12682
+ * Default value: `PostPaid`
12603
12683
  *
12604
12684
  * @example
12605
12685
  * PrePaid
@@ -12618,7 +12698,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
12618
12698
  *
12619
12699
  * Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
12620
12700
  *
12621
- * Default value: 1.
12701
+ * Default value: 1
12622
12702
  *
12623
12703
  * @example
12624
12704
  * 1
@@ -13092,7 +13172,7 @@ export class SyncClusterNodePoolResponse extends $tea.Model {
13092
13172
  export class TagResourcesRequest extends $tea.Model {
13093
13173
  /**
13094
13174
  * @remarks
13095
- * The region ID of the resource.
13175
+ * The ID of the region in which the resource resides.
13096
13176
  *
13097
13177
  * This parameter is required.
13098
13178
  *
@@ -13109,7 +13189,7 @@ export class TagResourcesRequest extends $tea.Model {
13109
13189
  resourceIds?: string[];
13110
13190
  /**
13111
13191
  * @remarks
13112
- * The type of resource that you want to label. Set the value to `CLUSTER`.
13192
+ * The type of resources that you want to label. Valid value: `CLUSTER`.
13113
13193
  *
13114
13194
  * This parameter is required.
13115
13195
  *
@@ -13119,11 +13199,11 @@ export class TagResourcesRequest extends $tea.Model {
13119
13199
  resourceType?: string;
13120
13200
  /**
13121
13201
  * @remarks
13122
- * The labels that you want to add to the resources in key-value pairs. You can add up to 20 labels. Usage notes:
13202
+ * The tags that you want to add to the resources in key-value pairs. You can add up to 20 key-value pairs. Note:
13123
13203
  *
13124
- * * Label values must not be empty strings. A label value must be 1 to 128 characters in length.
13125
- * * The label value must not start with `aliyun` or `acs:`.
13126
- * * The label value must not contain `http://` or `https://`.
13204
+ * * The values must not be empty strings. A value must be 1 to 128 characters in length.
13205
+ * * A key or value must not start with `aliyun` or `acs:`.
13206
+ * * A key or value must not contain `http://` or `https://`.
13127
13207
  *
13128
13208
  * This parameter is required.
13129
13209
  */
@@ -14293,7 +14373,7 @@ export class UpgradeClusterAddonsRequest extends $tea.Model {
14293
14373
  export class UpgradeClusterAddonsResponseBody extends $tea.Model {
14294
14374
  /**
14295
14375
  * @remarks
14296
- * The ID of the cluster.
14376
+ * The cluster ID.
14297
14377
  *
14298
14378
  * @example
14299
14379
  * cf4299b79b3e34226abfdc80a4bda****
@@ -14301,7 +14381,7 @@ export class UpgradeClusterAddonsResponseBody extends $tea.Model {
14301
14381
  clusterId?: string;
14302
14382
  /**
14303
14383
  * @remarks
14304
- * The ID of the request.
14384
+ * The request ID.
14305
14385
  *
14306
14386
  * @example
14307
14387
  * bfd12953-31cb-42f1-8a36-7b80ec345094
@@ -14309,7 +14389,7 @@ export class UpgradeClusterAddonsResponseBody extends $tea.Model {
14309
14389
  requestId?: string;
14310
14390
  /**
14311
14391
  * @remarks
14312
- * The ID of the task.
14392
+ * The task ID.
14313
14393
  *
14314
14394
  * @example
14315
14395
  * T-62a944794ee141074400****
@@ -14398,7 +14478,7 @@ export class UpgradeClusterNodepoolRequest extends $tea.Model {
14398
14478
  runtimeType?: string;
14399
14479
  /**
14400
14480
  * @remarks
14401
- * The version of the container runtime that is used by the nodes. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the runtime version information returned in the runtime parameter.
14481
+ * The version of the container runtime that is used by the nodes. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the runtime version returned in the runtime parameter.
14402
14482
  *
14403
14483
  * @example
14404
14484
  * 1.5.10
@@ -15464,7 +15544,25 @@ export class CheckServiceRoleResponseBodyRoles extends $tea.Model {
15464
15544
  }
15465
15545
 
15466
15546
  export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
15547
+ /**
15548
+ * @remarks
15549
+ * Cluster auto-upgrade frequency. Possible values:
15550
+ *
15551
+ * - patch
15552
+ * - stable
15553
+ * - rapid
15554
+ *
15555
+ * @example
15556
+ * patch
15557
+ */
15467
15558
  channel?: string;
15559
+ /**
15560
+ * @remarks
15561
+ * Whether to enable automatic cluster upgrades.
15562
+ *
15563
+ * @example
15564
+ * true
15565
+ */
15468
15566
  enabled?: boolean;
15469
15567
  static names(): { [key: string]: string } {
15470
15568
  return {
@@ -15486,6 +15584,10 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
15486
15584
  }
15487
15585
 
15488
15586
  export class CreateClusterRequestOperationPolicy extends $tea.Model {
15587
+ /**
15588
+ * @remarks
15589
+ * Automatic cluster upgrade
15590
+ */
15489
15591
  clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
15490
15592
  static names(): { [key: string]: string } {
15491
15593
  return {
@@ -15517,12 +15619,12 @@ export class CreateClusterRequestWorkerDataDisks extends $tea.Model {
15517
15619
  category?: string;
15518
15620
  /**
15519
15621
  * @remarks
15520
- * Specifies whether to encrypt the data disk. Valid values:
15622
+ * Specifies whether to encrypt the data disks. Valid values:
15521
15623
  *
15522
15624
  * * `true`: encrypts the data disk.
15523
15625
  * * `false`: does not encrypt the data disk.
15524
15626
  *
15525
- * Default value: `false`.
15627
+ * Default value: `false`
15526
15628
  *
15527
15629
  * @example
15528
15630
  * true
@@ -15578,7 +15680,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
15578
15680
  *
15579
15681
  * **
15580
15682
  *
15581
- * **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
15683
+ * **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
15582
15684
  *
15583
15685
  * @example
15584
15686
  * 5
@@ -15599,7 +15701,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
15599
15701
  *
15600
15702
  * **
15601
15703
  *
15602
- * **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
15704
+ * **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
15603
15705
  *
15604
15706
  * @example
15605
15707
  * PayByBandwidth
@@ -15633,7 +15735,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
15633
15735
  *
15634
15736
  * **
15635
15737
  *
15636
- * **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
15738
+ * **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
15637
15739
  *
15638
15740
  * @example
15639
15741
  * true
@@ -15795,7 +15897,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
15795
15897
  cmsEnabled?: boolean;
15796
15898
  /**
15797
15899
  * @remarks
15798
- * The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
15900
+ * The CPU management policy of nodes. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
15799
15901
  *
15800
15902
  * * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
15801
15903
  * * `none`: specifies that the default CPU affinity is used.
@@ -15808,12 +15910,12 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
15808
15910
  cpuPolicy?: string;
15809
15911
  /**
15810
15912
  * @remarks
15811
- * The labels that you want to add to nodes in the cluster.
15913
+ * The labels that you want to add to the nodes in the cluster.
15812
15914
  */
15813
15915
  labels?: Tag[];
15814
15916
  /**
15815
15917
  * @remarks
15816
- * The custom node name. A custom node name consists of a prefix, a node IP address, and a suffix.
15918
+ * A custom node name consists of a prefix, a node IP address, and a suffix.
15817
15919
  *
15818
15920
  * * The prefix and the suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A custom node name must start and end with a digit or lowercase letter.
15819
15921
  * * The node IP address in a custom node name is the private IP address of the node.
@@ -15824,10 +15926,17 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
15824
15926
  * customized,aliyun,ip,com
15825
15927
  */
15826
15928
  nodeNameMode?: string;
15929
+ /**
15930
+ * @remarks
15931
+ * The user-defined data of nodes. You can specify custom scripts that are automatically executed before the nodes are initialized.
15932
+ *
15933
+ * @example
15934
+ * dGhpcyBpcyBhIGV4YW1wbGU
15935
+ */
15827
15936
  preUserData?: string;
15828
15937
  /**
15829
15938
  * @remarks
15830
- * The name of the container runtime. The following types of runtime are supported by Container Service for Kubernetes (ACK):
15939
+ * The name of the container runtime. The following types of runtime are supported by ACK:
15831
15940
  *
15832
15941
  * * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
15833
15942
  * * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.24 and earlier.
@@ -15862,7 +15971,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
15862
15971
  unschedulable?: boolean;
15863
15972
  /**
15864
15973
  * @remarks
15865
- * The user data on the node.
15974
+ * The user-defined data of nodes. You can specify custom scripts that are automatically executed after the nodes are initialized.
15866
15975
  *
15867
15976
  * @example
15868
15977
  * dGhpcyBpcyBhIGV4YW1wbGU=
@@ -16005,9 +16114,9 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
16005
16114
  * @remarks
16006
16115
  * The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
16007
16116
  *
16008
- * * `asap`: high.
16009
- * * `later`: medium.
16010
- * * `nntf`: low.
16117
+ * * `asap`: high severity.
16118
+ * * `later`: medium severity.
16119
+ * * `nntf`: low severity.
16011
16120
  *
16012
16121
  * If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
16013
16122
  *
@@ -16044,7 +16153,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
16044
16153
  *
16045
16154
  * **
16046
16155
  *
16047
- * **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter.
16156
+ * **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter instead.
16048
16157
  *
16049
16158
  * @example
16050
16159
  * false
@@ -16054,9 +16163,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
16054
16163
  autoUpgrade?: boolean;
16055
16164
  /**
16056
16165
  * @remarks
16057
- * The maximum number of unavailable nodes. Valid values: 1 to 1000.
16166
+ * The maximum number of nodes that can be in the Unavailable state. Valid values: 1 to 1000.
16058
16167
  *
16059
- * Default value: 1
16168
+ * Default value: 1.
16060
16169
  *
16061
16170
  * @example
16062
16171
  * 1
@@ -16064,7 +16173,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
16064
16173
  maxUnavailable?: number;
16065
16174
  /**
16066
16175
  * @remarks
16067
- * The number of additional nodes that are temporarily added to the node pool during an auto update.
16176
+ * The number of additional nodes.
16068
16177
  *
16069
16178
  * @example
16070
16179
  * 0
@@ -16285,7 +16394,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model {
16285
16394
  export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $tea.Model {
16286
16395
  /**
16287
16396
  * @remarks
16288
- * The private node pool ID.
16397
+ * The ID of the private node pool.
16289
16398
  *
16290
16399
  * @example
16291
16400
  * eap-bp67acfmxazb4****
@@ -16295,9 +16404,9 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
16295
16404
  * @remarks
16296
16405
  * The type of private node pool. This parameter specifies the type of private pool that you want to use to create instances. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. The system selects a private pool to start instances. Valid values:
16297
16406
  *
16298
- * * `Open`: open private node pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
16299
- * * `Target`: private node pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
16300
- * * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
16407
+ * * `Open`: uses an open private pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
16408
+ * * `Target`: uses a specified private pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
16409
+ * * `None`: no private pool is used. The resources of private pools are not used to launch the instances.
16301
16410
  *
16302
16411
  * @example
16303
16412
  * Open
@@ -16333,7 +16442,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea
16333
16442
  instanceType?: string;
16334
16443
  /**
16335
16444
  * @remarks
16336
- * The price cap of a preemptible instance.
16445
+ * The price cap of a preemptible instance of the type.
16337
16446
  *
16338
16447
  * @example
16339
16448
  * 0.39
@@ -16420,7 +16529,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16420
16529
  autoRenewPeriod?: number;
16421
16530
  /**
16422
16531
  * @remarks
16423
- * This parameter is deprecated. Use security_hardening_os instead.
16532
+ * This parameter is deprecated. Use the security_hardening_os parameter instead.
16424
16533
  *
16425
16534
  * @example
16426
16535
  * false
@@ -16441,7 +16550,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16441
16550
  compensateWithOnDemand?: boolean;
16442
16551
  /**
16443
16552
  * @remarks
16444
- * The configurations of the data disks that are mounted to nodes in the node pool.
16553
+ * The configurations of the data disks that are attached to nodes in the node pool.
16445
16554
  */
16446
16555
  dataDisks?: DataDisk[];
16447
16556
  /**
@@ -16462,7 +16571,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16462
16571
  desiredSize?: number;
16463
16572
  /**
16464
16573
  * @remarks
16465
- * The custom image ID. By default, the image provided by ACK is used.
16574
+ * The custom image ID. By default, the image provided by Container Service for Kubernetes (ACK) is used.
16466
16575
  *
16467
16576
  * @example
16468
16577
  * aliyun_2_1903_x64_20G_alibase_20200529.vhd
@@ -16503,7 +16612,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16503
16612
  instanceChargeType?: string;
16504
16613
  /**
16505
16614
  * @remarks
16506
- * The instance attributes.
16615
+ * The instance properties.
16507
16616
  */
16508
16617
  instancePatterns?: InstancePatterns[];
16509
16618
  /**
@@ -16554,7 +16663,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16554
16663
  loginAsNonRoot?: boolean;
16555
16664
  /**
16556
16665
  * @remarks
16557
- * The password for SSH logon. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
16666
+ * The password for SSH logon. You must specify this parameter or the `key_pair` parameter. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
16558
16667
  *
16559
16668
  * @example
16560
16669
  * Hello1234
@@ -16566,13 +16675,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16566
16675
  *
16567
16676
  * * `PRIORITY`: ECS instances are scaled based on the value of VSwitchIds.N. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, the system creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
16568
16677
  *
16569
- * * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configurations. You can set `CompensateWithOnDemand` to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
16678
+ * * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created if preemptible instance types are specified in the scaling configurations. You can set the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
16570
16679
  *
16571
16680
  * **
16572
16681
  *
16573
- * **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
16682
+ * **Note** `COST_OPTIMIZED` takes effect only when multiple instance types are specified or at least one preemptible instance type is specified.
16574
16683
  *
16575
- * * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation of Auto Scaling to evenly distribute the ECS instances among zones.
16684
+ * * `BALANCE`: ECS instances are evenly distributed across multiple zones for the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation of Auto Scaling to evenly distribute the ECS instances among zones.
16576
16685
  *
16577
16686
  * Default value: `PRIORITY`.
16578
16687
  *
@@ -16582,7 +16691,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16582
16691
  multiAzPolicy?: string;
16583
16692
  /**
16584
16693
  * @remarks
16585
- * The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is smaller than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
16694
+ * The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, the system preferably creates pay-as-you-go instances.
16586
16695
  *
16587
16696
  * @example
16588
16697
  * 0
@@ -16622,7 +16731,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16622
16731
  periodUnit?: string;
16623
16732
  /**
16624
16733
  * @remarks
16625
- * The OS distribution that is used. Valid values:
16734
+ * The operating system distribution. Valid values:
16626
16735
  *
16627
16736
  * * `CentOS`
16628
16737
  * * `AliyunLinux`
@@ -16644,7 +16753,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16644
16753
  privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
16645
16754
  /**
16646
16755
  * @remarks
16647
- * The name of the worker Resource Access Management (RAM) role.
16756
+ * The name of the worker RAM role.
16648
16757
  *
16649
16758
  * * If you do not specify this parameter, the default worker RAM role created by the cluster is used.
16650
16759
  * * The specified RAM role must be a **regular service role** and the **Select Trusted Service** parameter must be set to **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role created by the cluster, the name of the RAM role cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
@@ -16666,7 +16775,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16666
16775
  * @remarks
16667
16776
  * The scaling mode of the scaling group. Valid values:
16668
16777
  *
16669
- * * `release`: the standard mode. ECS instances are created and released based on resource usage.
16778
+ * * `release`: the standard mode. ECS instances are created and released based on the resource usage.
16670
16779
  * * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
16671
16780
  *
16672
16781
  * Default value: `release`.
@@ -16702,7 +16811,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16702
16811
  securityHardeningOs?: boolean;
16703
16812
  /**
16704
16813
  * @remarks
16705
- * Specifies whether to enable MLPS Security Hardening. You can enable MLPS Security Hardening only when Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 is installed on nodes. Alibaba Cloud provides standards for baseline checks and a scanner to ensure the compliance of Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images with the level 3 standards of MLPS 2.0.
16814
+ * Specifies whether to enable MLPS Security Hardening. You can enable security hardening based on Multi-Level Protection Scheme (MLPS) only when Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 is installed on nodes. Alibaba Cloud provides standards for baseline checks and a scanner to ensure the compliance of Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images with the level 3 standards of MLPS 2.0.
16706
16815
  *
16707
16816
  * @example
16708
16817
  * false
@@ -16718,10 +16827,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16718
16827
  spotInstancePools?: number;
16719
16828
  /**
16720
16829
  * @remarks
16721
- * Specifies whether to supplement preemptible instances. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group creates a new instance to replace this instance. Valid values:
16830
+ * Specifies whether to enable the supplementation of preemptible instances. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group attempts to create a new instance to replace this instance. Valid values:
16722
16831
  *
16723
- * * `true`: supplements preemptible instances.
16724
- * * `false`: does not supplement preemptible instances.
16832
+ * * `true`: enables the supplementation of preemptible instances.
16833
+ * * `false`: disables the supplementation of preemptible instances.
16725
16834
  *
16726
16835
  * @example
16727
16836
  * false
@@ -16737,10 +16846,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16737
16846
  * The bidding policy of preemptible instances. Valid values:
16738
16847
  *
16739
16848
  * * `NoSpot`: non-preemptible.
16740
- * * `SpotWithPriceLimit`: specifies the highest bid.
16849
+ * * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
16741
16850
  * * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
16742
16851
  *
16743
- * For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/165053.html).
16852
+ * For more information, see [Use preemptible instances](https://help.aliyun.com/document_detail/165053.html).
16744
16853
  *
16745
16854
  * @example
16746
16855
  * NoSpot
@@ -16761,7 +16870,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16761
16870
  systemDiskBurstingEnabled?: boolean;
16762
16871
  /**
16763
16872
  * @remarks
16764
- * The system disk types. The system creates system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values:
16873
+ * The categories of the system disk for nodes. The system attempts to create system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable. Valid values: Valid values:
16765
16874
  *
16766
16875
  * * `cloud`: basic disk.
16767
16876
  * * `cloud_efficiency`: ultra disk.
@@ -16773,7 +16882,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16773
16882
  systemDiskCategories?: string[];
16774
16883
  /**
16775
16884
  * @remarks
16776
- * The system disk type. Valid values:
16885
+ * The category of the system disk for nodes. Valid values:
16777
16886
  *
16778
16887
  * * `cloud`: basic disk.
16779
16888
  * * `cloud_efficiency`: ultra disk.
@@ -16831,7 +16940,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16831
16940
  * @remarks
16832
16941
  * The preset read/write IOPS of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS} Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
16833
16942
  *
16834
- * This parameter is available only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
16943
+ * This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
16835
16944
  *
16836
16945
  * @example
16837
16946
  * 1000
@@ -16851,7 +16960,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16851
16960
  * @remarks
16852
16961
  * The labels that you want to add only to ECS instances.
16853
16962
  *
16854
- * The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: and cannot contain https:// or http://.
16963
+ * The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: or contain https:// or http://.
16855
16964
  */
16856
16965
  tags?: CreateClusterNodePoolRequestScalingGroupTags[];
16857
16966
  /**
@@ -17216,7 +17325,27 @@ export class DescribeAddonsResponseBodyComponentGroups extends $tea.Model {
17216
17325
  }
17217
17326
 
17218
17327
  export class DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade extends $tea.Model {
17328
+ /**
17329
+ * @remarks
17330
+ * The frequency of auto cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
17331
+ *
17332
+ * Valid values:
17333
+ *
17334
+ * * patch: specifies the latest patch version.
17335
+ * * stable: specifies the second-latest minor version.
17336
+ * * rapid: specifies the latest minor version.
17337
+ *
17338
+ * @example
17339
+ * patch
17340
+ */
17219
17341
  channel?: string;
17342
+ /**
17343
+ * @remarks
17344
+ * Specifies whether to enable auto cluster update.
17345
+ *
17346
+ * @example
17347
+ * true
17348
+ */
17220
17349
  enabled?: boolean;
17221
17350
  static names(): { [key: string]: string } {
17222
17351
  return {
@@ -17238,6 +17367,10 @@ export class DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade
17238
17367
  }
17239
17368
 
17240
17369
  export class DescribeClusterDetailResponseBodyOperationPolicy extends $tea.Model {
17370
+ /**
17371
+ * @remarks
17372
+ * The configurations of auto cluster update.
17373
+ */
17241
17374
  clusterAutoUpgrade?: DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade;
17242
17375
  static names(): { [key: string]: string } {
17243
17376
  return {
@@ -17733,6 +17866,10 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
17733
17866
  * customized,test.,5,.com
17734
17867
  */
17735
17868
  nodeNameMode?: string;
17869
+ /**
17870
+ * @remarks
17871
+ * The custom script to be executed before nodes in the node pool are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
17872
+ */
17736
17873
  preUserData?: string;
17737
17874
  /**
17738
17875
  * @remarks
@@ -17765,7 +17902,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
17765
17902
  unschedulable?: boolean;
17766
17903
  /**
17767
17904
  * @remarks
17768
- * The user data of the node pool. For more information, see [Generate user data](https://help.aliyun.com/document_detail/49121.html).
17905
+ * The custom script to be executed after nodes in the node pool are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
17769
17906
  *
17770
17907
  * @example
17771
17908
  * IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi
@@ -19121,7 +19258,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
19121
19258
  cpuPolicy?: string;
19122
19259
  /**
19123
19260
  * @remarks
19124
- * The labels that you want to add to the nodes in the cluster. You must add labels based on the following rules:
19261
+ * The labels that are added to the nodes in the cluster. You must add labels based on the following rules:
19125
19262
  *
19126
19263
  * * A label is a case-sensitive key-value pair. You can add up to 20 labels.
19127
19264
  * * The key must be unique and can be up to 64 characters in length. The value can be empty and can be up to 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
@@ -19140,6 +19277,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
19140
19277
  * customized,test.,5,.com
19141
19278
  */
19142
19279
  nodeNameMode?: string;
19280
+ /**
19281
+ * @remarks
19282
+ * The user-defined script that is executed before nodes are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
19283
+ *
19284
+ * @example
19285
+ * IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD
19286
+ */
19143
19287
  preUserData?: string;
19144
19288
  /**
19145
19289
  * @remarks
@@ -19159,7 +19303,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
19159
19303
  runtimeVersion?: string;
19160
19304
  /**
19161
19305
  * @remarks
19162
- * The taints of the nodes in the node pool. Taints can be used together with tolerations to prevent pods from being scheduled to specified nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
19306
+ * The taints of the nodes in the node pool. Taints can be used together with tolerations to prevent pods from being scheduled to specific nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
19163
19307
  */
19164
19308
  taints?: Taint[];
19165
19309
  /**
@@ -19172,7 +19316,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
19172
19316
  unschedulable?: boolean;
19173
19317
  /**
19174
19318
  * @remarks
19175
- * The user data of the node pool. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
19319
+ * The user-defined script that is executed after nodes are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
19176
19320
  *
19177
19321
  * @example
19178
19322
  * IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD****
@@ -19457,7 +19601,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $te
19457
19601
  export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig extends $tea.Model {
19458
19602
  /**
19459
19603
  * @remarks
19460
- * The parameter settings of the kubelet.
19604
+ * The configurations of the kubelet.
19461
19605
  */
19462
19606
  kubeletConfiguration?: KubeletConfig;
19463
19607
  static names(): { [key: string]: string } {
@@ -19752,7 +19896,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
19752
19896
  instanceChargeType?: string;
19753
19897
  /**
19754
19898
  * @remarks
19755
- * Instance attributes
19899
+ * The attributes of an instance.
19756
19900
  */
19757
19901
  instancePatterns?: InstancePatterns[];
19758
19902
  /**
@@ -19998,7 +20142,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
19998
20142
  systemDiskBurstingEnabled?: boolean;
19999
20143
  /**
20000
20144
  * @remarks
20001
- * The system disk types. The system attempts to create system disks from a disk type with a lower priority when the disk type with a higher priority is unavailable. Valid values: cloud: disk cloud_efficiency: utra disk cloud_ssd: standard SSD cloud_essd: Enterprise SSD (ESSD)
20145
+ * The types of system disks. The system attempts to create system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values: Valid values: cloud (basic disk), cloud_efficiency (ultra disk), cloud_ssd (standard SSD), cloud_essd (Enterprise SSD).
20002
20146
  */
20003
20147
  systemDiskCategories?: string[];
20004
20148
  /**
@@ -20014,7 +20158,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
20014
20158
  systemDiskCategory?: string;
20015
20159
  /**
20016
20160
  * @remarks
20017
- * The algorithm that you want to use to encrypt the system disk. Set the value to aes-256.
20161
+ * The encryption algorithm that is used to encrypt the system disk. The value is aes-256.
20018
20162
  *
20019
20163
  * @example
20020
20164
  * aes-256
@@ -20067,7 +20211,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
20067
20211
  systemDiskSize?: number;
20068
20212
  /**
20069
20213
  * @remarks
20070
- * The tag that you want to add only to ECS instances.
20214
+ * The labels that you want to add only to Elastic Compute Service (ECS) instances.
20071
20215
  *
20072
20216
  * The tag key must be unique and cannot exceed 128 characters in length. The tag key and value must not start with aliyun or acs: or contain https:// or http://.
20073
20217
  */
@@ -20372,7 +20516,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.Model {
20372
20516
  nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
20373
20517
  /**
20374
20518
  * @remarks
20375
- * The configuration of the scaling group.
20519
+ * The configurations of the scaling group.
20376
20520
  */
20377
20521
  scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
20378
20522
  /**
@@ -21344,7 +21488,27 @@ export class DescribeClustersResponseBody extends $tea.Model {
21344
21488
  }
21345
21489
 
21346
21490
  export class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade extends $tea.Model {
21491
+ /**
21492
+ * @remarks
21493
+ * The frequency of auto cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
21494
+ *
21495
+ * Valid values:
21496
+ *
21497
+ * * patch: the latest patch version.
21498
+ * * stables: the second-latest minor version.
21499
+ * * rapid: the latest minor version.
21500
+ *
21501
+ * @example
21502
+ * patch
21503
+ */
21347
21504
  channel?: string;
21505
+ /**
21506
+ * @remarks
21507
+ * Specifies whether to enable auto cluster update.
21508
+ *
21509
+ * @example
21510
+ * true
21511
+ */
21348
21512
  enabled?: boolean;
21349
21513
  static names(): { [key: string]: string } {
21350
21514
  return {
@@ -21366,6 +21530,10 @@ export class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpg
21366
21530
  }
21367
21531
 
21368
21532
  export class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.Model {
21533
+ /**
21534
+ * @remarks
21535
+ * The configurations of auto cluster update.
21536
+ */
21369
21537
  clusterAutoUpgrade?: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade;
21370
21538
  static names(): { [key: string]: string } {
21371
21539
  return {
@@ -21386,6 +21554,9 @@ export class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.
21386
21554
 
21387
21555
  export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21388
21556
  /**
21557
+ * @remarks
21558
+ * The domain name of the cluster.
21559
+ *
21389
21560
  * @example
21390
21561
  * cluster.local
21391
21562
  */
@@ -21420,6 +21591,9 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21420
21591
  */
21421
21592
  clusterType?: string;
21422
21593
  /**
21594
+ * @remarks
21595
+ * The pod CIDR block.
21596
+ *
21423
21597
  * @example
21424
21598
  * 172.20.0.0/16
21425
21599
  */
@@ -21480,6 +21654,12 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21480
21654
  */
21481
21655
  initVersion?: string;
21482
21656
  /**
21657
+ * @remarks
21658
+ * The IP stack of the cluster. Valid values:
21659
+ *
21660
+ * * ipv4: The cluster is an IPv4 cluster.
21661
+ * * dual: The cluster is a dual-stack cluster.
21662
+ *
21483
21663
  * @example
21484
21664
  * ipv4
21485
21665
  */
@@ -21536,6 +21716,10 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21536
21716
  * 1.18.8-aliyun.1
21537
21717
  */
21538
21718
  nextVersion?: string;
21719
+ /**
21720
+ * @remarks
21721
+ * The automatic O\\&M policy of the cluster.
21722
+ */
21539
21723
  operationPolicy?: DescribeClustersV1ResponseBodyClustersOperationPolicy;
21540
21724
  /**
21541
21725
  * @remarks
@@ -21562,6 +21746,9 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21562
21746
  */
21563
21747
  profile?: string;
21564
21748
  /**
21749
+ * @remarks
21750
+ * The kube-proxy mode. Valid values: ipvs and iptables.
21751
+ *
21565
21752
  * @example
21566
21753
  * ipvs
21567
21754
  */
@@ -21592,6 +21779,8 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21592
21779
  securityGroupId?: string;
21593
21780
  /**
21594
21781
  * @remarks
21782
+ * The Service CIDR block.
21783
+ *
21595
21784
  * This parameter is required.
21596
21785
  *
21597
21786
  * @example
@@ -21600,7 +21789,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21600
21789
  serviceCidr?: string;
21601
21790
  /**
21602
21791
  * @remarks
21603
- * The number of nodes in the cluster, including master nodes and worker nodes.
21792
+ * The number of nodes in the cluster, including control planes and worker nodes.
21604
21793
  *
21605
21794
  * @example
21606
21795
  * 5
@@ -21635,7 +21824,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21635
21824
  *
21636
21825
  * The pod CIDR block cannot overlap with the CIDR block of the VPC in which the cluster is deployed and the CIDR blocks of existing clusters in the VPC. You cannot modify the pod CIDR block after you create the cluster.
21637
21826
  *
21638
- * For more information about the network planning of ACK clusters, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/86500.html).
21827
+ * For more information about the network planning of Container Service for Kubernetes (ACK) clusters, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/86500.html).
21639
21828
  *
21640
21829
  * @example
21641
21830
  * 172.21.0.0/16
@@ -21649,6 +21838,9 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21649
21838
  */
21650
21839
  tags?: Tag[];
21651
21840
  /**
21841
+ * @remarks
21842
+ * The time zone.
21843
+ *
21652
21844
  * @example
21653
21845
  * Asia/Shanghai
21654
21846
  */
@@ -21671,7 +21863,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21671
21863
  vpcId?: string;
21672
21864
  /**
21673
21865
  * @remarks
21674
- * The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster. We recommend that you select vSwitches in different zones to ensure high availability.
21866
+ * The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster. To ensure the high availability of the cluster, we recommend that you select vSwitches in different zones.
21675
21867
  *
21676
21868
  * @example
21677
21869
  * vsw-2vc41xuumx5z2rdma****,vsw-2vc41xuumx5z2rdma****
@@ -21679,6 +21871,10 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21679
21871
  * @deprecated
21680
21872
  */
21681
21873
  vswitchId?: string;
21874
+ /**
21875
+ * @remarks
21876
+ * The vSwitches of the control planes.
21877
+ */
21682
21878
  vswitchIds?: string[];
21683
21879
  /**
21684
21880
  * @remarks
@@ -22096,7 +22292,11 @@ export class DescribeEdgeMachinesResponseBodyPageInfo extends $tea.Model {
22096
22292
  export class DescribeEventsResponseBodyEventsData extends $tea.Model {
22097
22293
  /**
22098
22294
  * @remarks
22099
- * The severity level of the event.
22295
+ * The severity level of the event. Valid values:
22296
+ *
22297
+ * * info
22298
+ * * warning
22299
+ * * error
22100
22300
  *
22101
22301
  * @example
22102
22302
  * info
@@ -22531,6 +22731,9 @@ export class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Mode
22531
22731
  /**
22532
22732
  * @remarks
22533
22733
  * Indicates whether a restart is required.
22734
+ *
22735
+ * @example
22736
+ * false
22534
22737
  */
22535
22738
  needReboot?: boolean;
22536
22739
  static names(): { [key: string]: string } {
@@ -25201,9 +25404,9 @@ export class ListUserKubeConfigStatesResponseBodyStates extends $tea.Model {
25201
25404
  clusterId?: string;
25202
25405
  /**
25203
25406
  * @remarks
25204
- * The cluster name.
25407
+ * The name of the cluster.
25205
25408
  *
25206
- * The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
25409
+ * The name must be 1 to 63 characters in length, and can contain digits, underscores (_), and hyphens (-). The name must start with a letter or number.
25207
25410
  *
25208
25411
  * @example
25209
25412
  * cluster-demo
@@ -25219,8 +25422,6 @@ export class ListUserKubeConfigStatesResponseBodyStates extends $tea.Model {
25219
25422
  * * `updating`: The cluster is being upgraded.
25220
25423
  * * `updating_failed`: The cluster failed to be updated.
25221
25424
  * * `scaling`: The cluster is being scaled.
25222
- * * `waiting`: The cluster is waiting for connection requests.
25223
- * * `disconnected`: The cluster is disconnected.
25224
25425
  * * `stopped`: The cluster is stopped.
25225
25426
  * * `deleting`: The cluster is being deleted.
25226
25427
  * * `deleted`: The cluster is deleted.
@@ -25490,7 +25691,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
25490
25691
  * Specifies whether to enable auto scaling. Valid values:
25491
25692
  *
25492
25693
  * * `true`: enables auto scaling for the node pool.
25493
- * * `false`: disables auto scaling for the node pool. If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
25694
+ * * `false`: disables auto scaling for the node pool. If you set this parameter to false, other parameters in `auto_scaling` do not take effect.
25494
25695
  *
25495
25696
  * Default value: `false`.
25496
25697
  *
@@ -25531,7 +25732,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
25531
25732
  minInstances?: number;
25532
25733
  /**
25533
25734
  * @remarks
25534
- * The instance types that can be used for the auto scaling of the node pool. Valid values:
25735
+ * The instance type that is used for auto scaling. Valid values:
25535
25736
  *
25536
25737
  * * `cpu`: regular instance.
25537
25738
  * * `gpu`: GPU-accelerated instance.
@@ -25591,7 +25792,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
25591
25792
  cmsEnabled?: boolean;
25592
25793
  /**
25593
25794
  * @remarks
25594
- * The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
25795
+ * The CPU management policy of nodes. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
25595
25796
  *
25596
25797
  * * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
25597
25798
  * * `none`: specifies that the default CPU affinity is used.
@@ -25610,6 +25811,13 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
25610
25811
  * * The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
25611
25812
  */
25612
25813
  labels?: Tag[];
25814
+ /**
25815
+ * @remarks
25816
+ * The user-defined script that is executed before nodes are initialized. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
25817
+ *
25818
+ * @example
25819
+ * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
25820
+ */
25613
25821
  preUserData?: string;
25614
25822
  /**
25615
25823
  * @remarks
@@ -25642,7 +25850,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
25642
25850
  unschedulable?: boolean;
25643
25851
  /**
25644
25852
  * @remarks
25645
- * The user data of the node pool. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
25853
+ * The user-defined script that is executed after nodes are initialized. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
25646
25854
  *
25647
25855
  * @example
25648
25856
  * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
@@ -25824,7 +26032,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
25824
26032
  *
25825
26033
  * Valid values: 1 to 1000.
25826
26034
  *
25827
- * Default value: 1
26035
+ * Default value: 1.
25828
26036
  *
25829
26037
  * @example
25830
26038
  * 1
@@ -25892,7 +26100,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
25892
26100
  autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
25893
26101
  /**
25894
26102
  * @remarks
25895
- * Specifies whether to enable auto update. Valid values:
26103
+ * Indicates whether auto update is enabled. Valid values:
25896
26104
  *
25897
26105
  * * `true`: enables auto update.
25898
26106
  * * `false`: disables auto update.
@@ -26054,7 +26262,7 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
26054
26262
  export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
26055
26263
  /**
26056
26264
  * @remarks
26057
- * The instance type of preemptible instances.
26265
+ * The price cap of a preemptible instance.
26058
26266
  *
26059
26267
  * @example
26060
26268
  * ecs.c6.large
@@ -26117,7 +26325,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
26117
26325
  * @remarks
26118
26326
  * Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as the cost or insufficient inventory. This parameter takes effect only when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
26119
26327
  *
26120
- * * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
26328
+ * * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
26121
26329
  * * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
26122
26330
  *
26123
26331
  * @example
@@ -26188,10 +26396,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
26188
26396
  instanceTypes?: string[];
26189
26397
  /**
26190
26398
  * @remarks
26191
- * The billing method of the public IP address. Valid values:
26399
+ * The metering method of the public IP address. Valid values:
26192
26400
  *
26193
26401
  * * `PayByBandwidth`: pay-by-bandwidth.
26194
- * * `PayByTraffic`: pay-by-data-transfer.
26402
+ * * `PayByTraffic`: pay-by-data-transfer
26195
26403
  *
26196
26404
  * @example
26197
26405
  * PayByBandwidth
@@ -26207,7 +26415,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
26207
26415
  internetMaxBandwidthOut?: number;
26208
26416
  /**
26209
26417
  * @remarks
26210
- * The name of the key pair. You must specify this parameter or the `login_password` parameter. You must specify the `key_pair` parameter if the node pool is a managed node pool.
26418
+ * The name of the key pair. You must specify this parameter or `login_password`. You must specify the `key_pair` parameter if the node pool is a managed node pool.
26211
26419
  *
26212
26420
  * @example
26213
26421
  * pro-nodepool
@@ -26215,7 +26423,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
26215
26423
  keyPair?: string;
26216
26424
  /**
26217
26425
  * @remarks
26218
- * The password for SSH logon. You must specify this parameter or the `key_pair` parameter. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
26426
+ * The password for SSH logon. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
26219
26427
  *
26220
26428
  * @example
26221
26429
  * Hello1234
@@ -26296,12 +26504,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
26296
26504
  platform?: string;
26297
26505
  /**
26298
26506
  * @remarks
26299
- * The configurations of the private node pool.
26507
+ * The configuration of the private node pool.
26300
26508
  */
26301
26509
  privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
26302
26510
  /**
26303
26511
  * @remarks
26304
- * A list of ApsaraDB RDS instances.
26512
+ * The ApsaraDB RDS instances.
26305
26513
  */
26306
26514
  rdsInstances?: string[];
26307
26515
  /**
@@ -26368,10 +26576,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
26368
26576
  systemDiskCategories?: string[];
26369
26577
  /**
26370
26578
  * @remarks
26371
- * The type of the system disk. Valid values:
26579
+ * The type of system disk. Valid values:
26372
26580
  *
26373
26581
  * * `cloud_efficiency`: ultra disk.
26374
- * * `cloud_ssd`: standard SSD.
26582
+ * * `cloud_ssd`: standard SSD
26375
26583
  *
26376
26584
  * Default value: `cloud_ssd`.
26377
26585
  *
@@ -26381,7 +26589,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
26381
26589
  systemDiskCategory?: string;
26382
26590
  /**
26383
26591
  * @remarks
26384
- * The encryption algorithm that is used by the system disk. Set the value to aes-256.
26592
+ * The encryption algorithm that is used by the system disk. The value is aes-256.
26385
26593
  *
26386
26594
  * @example
26387
26595
  * aes-256
@@ -26389,7 +26597,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
26389
26597
  systemDiskEncryptAlgorithm?: string;
26390
26598
  /**
26391
26599
  * @remarks
26392
- * Specifies whether to encrypt the system disk. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
26600
+ * Indicates whether the system disk is encrypted. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
26393
26601
  *
26394
26602
  * @example
26395
26603
  * false
@@ -26435,7 +26643,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
26435
26643
  systemDiskSize?: number;
26436
26644
  /**
26437
26645
  * @remarks
26438
- * The labels that you want to add only to ECS instances.
26646
+ * The tags that you want to add only to ECS instances.
26439
26647
  *
26440
26648
  * The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: or contain https:// or http://.
26441
26649
  */
@@ -26570,6 +26778,10 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
26570
26778
  }
26571
26779
 
26572
26780
  export class ModifyNodePoolNodeConfigRequestOsConfig extends $tea.Model {
26781
+ /**
26782
+ * @remarks
26783
+ * sysctl parameter configuration
26784
+ */
26573
26785
  sysctl?: { [key: string]: any };
26574
26786
  static names(): { [key: string]: string } {
26575
26787
  return {
@@ -26718,7 +26930,7 @@ export class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
26718
26930
  autoSnapshotPolicyId?: string;
26719
26931
  /**
26720
26932
  * @remarks
26721
- * The data disk type.
26933
+ * The type of the data disk.
26722
26934
  *
26723
26935
  * @example
26724
26936
  * cloud_essd
@@ -26726,7 +26938,7 @@ export class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
26726
26938
  category?: string;
26727
26939
  /**
26728
26940
  * @remarks
26729
- * Specifies whether to encrypt the data disk. Valid values:
26941
+ * Specifies whether to encrypt the data disks. Valid values:
26730
26942
  *
26731
26943
  * * `true`: encrypts the data disk.
26732
26944
  * * `false`: does not encrypt the data disk.
@@ -26739,7 +26951,7 @@ export class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
26739
26951
  encrypted?: string;
26740
26952
  /**
26741
26953
  * @remarks
26742
- * The data disk size. Valid values: 40 to 32767.
26954
+ * The size of the data disk. Valid values: 40 to 32767.
26743
26955
  *
26744
26956
  * @example
26745
26957
  * 120
@@ -27002,7 +27214,7 @@ export class UpgradeClusterNodepoolRequestRollingPolicy extends $tea.Model {
27002
27214
  batchInterval?: number;
27003
27215
  /**
27004
27216
  * @remarks
27005
- * The maximum number of unavailable nodes.
27217
+ * The maximum number of nodes per batch.
27006
27218
  *
27007
27219
  * @example
27008
27220
  * 3
@@ -27540,9 +27752,9 @@ export default class Client extends OpenApi {
27540
27752
  * You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
27541
27753
  *
27542
27754
  * @remarks
27543
- * >- To call this operation, make sure that you have the AliyunCSFullAccess permissions.
27544
- * >- You cannot revoke the permissions of an Alibaba Cloud account.
27545
- * >- You cannot revoke the permissions of the account that you use to call this operation.
27755
+ * > - To call this operation, make sure that you have the AliyunCSFullAccess permission.
27756
+ * > - You cannot revoke the permissions of an Alibaba Cloud account.
27757
+ * > - You cannot revoke the permissions of the account that you use to call this operation.
27546
27758
  *
27547
27759
  * @param tmpReq - CleanUserPermissionsRequest
27548
27760
  * @param headers - map
@@ -27588,9 +27800,9 @@ export default class Client extends OpenApi {
27588
27800
  * You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
27589
27801
  *
27590
27802
  * @remarks
27591
- * >- To call this operation, make sure that you have the AliyunCSFullAccess permissions.
27592
- * >- You cannot revoke the permissions of an Alibaba Cloud account.
27593
- * >- You cannot revoke the permissions of the account that you use to call this operation.
27803
+ * > - To call this operation, make sure that you have the AliyunCSFullAccess permission.
27804
+ * > - You cannot revoke the permissions of an Alibaba Cloud account.
27805
+ * > - You cannot revoke the permissions of the account that you use to call this operation.
27594
27806
  *
27595
27807
  * @param request - CleanUserPermissionsRequest
27596
27808
  * @returns CleanUserPermissionsResponse
@@ -28195,7 +28407,7 @@ export default class Client extends OpenApi {
28195
28407
  }
28196
28408
 
28197
28409
  /**
28198
- * Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\&M workload.
28410
+ * Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
28199
28411
  *
28200
28412
  * @param request - CreateClusterNodePoolRequest
28201
28413
  * @param headers - map
@@ -28213,6 +28425,10 @@ export default class Client extends OpenApi {
28213
28425
  body["count"] = request.count;
28214
28426
  }
28215
28427
 
28428
+ if (!Util.isUnset(request.hostNetwork)) {
28429
+ body["host_network"] = request.hostNetwork;
28430
+ }
28431
+
28216
28432
  if (!Util.isUnset(request.interconnectConfig)) {
28217
28433
  body["interconnect_config"] = request.interconnectConfig;
28218
28434
  }
@@ -28221,6 +28437,10 @@ export default class Client extends OpenApi {
28221
28437
  body["interconnect_mode"] = request.interconnectMode;
28222
28438
  }
28223
28439
 
28440
+ if (!Util.isUnset(request.intranet)) {
28441
+ body["intranet"] = request.intranet;
28442
+ }
28443
+
28224
28444
  if (!Util.isUnset(request.kubernetesConfig)) {
28225
28445
  body["kubernetes_config"] = request.kubernetesConfig;
28226
28446
  }
@@ -28268,7 +28488,7 @@ export default class Client extends OpenApi {
28268
28488
  }
28269
28489
 
28270
28490
  /**
28271
- * Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\&M workload.
28491
+ * Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
28272
28492
  *
28273
28493
  * @param request - CreateClusterNodePoolRequest
28274
28494
  * @returns CreateClusterNodePoolResponse
@@ -29625,7 +29845,7 @@ export default class Client extends OpenApi {
29625
29845
  }
29626
29846
 
29627
29847
  /**
29628
- * Queries node pools in a Container Service for Kubernetes (ACK) cluster.
29848
+ * Queries the information about all node pools in a cluster.
29629
29849
  *
29630
29850
  * @param request - DescribeClusterNodePoolsRequest
29631
29851
  * @param headers - map
@@ -29658,7 +29878,7 @@ export default class Client extends OpenApi {
29658
29878
  }
29659
29879
 
29660
29880
  /**
29661
- * Queries node pools in a Container Service for Kubernetes (ACK) cluster.
29881
+ * Queries the information about all node pools in a cluster.
29662
29882
  *
29663
29883
  * @param request - DescribeClusterNodePoolsRequest
29664
29884
  * @returns DescribeClusterNodePoolsResponse
@@ -29670,7 +29890,7 @@ export default class Client extends OpenApi {
29670
29890
  }
29671
29891
 
29672
29892
  /**
29673
- * You can call the DescribeClusterNodes operation to query the details about all nodes in a cluster by cluster ID.
29893
+ * null
29674
29894
  *
29675
29895
  * @param request - DescribeClusterNodesRequest
29676
29896
  * @param headers - map
@@ -29719,7 +29939,7 @@ export default class Client extends OpenApi {
29719
29939
  }
29720
29940
 
29721
29941
  /**
29722
- * You can call the DescribeClusterNodes operation to query the details about all nodes in a cluster by cluster ID.
29942
+ * null
29723
29943
  *
29724
29944
  * @param request - DescribeClusterNodesRequest
29725
29945
  * @returns DescribeClusterNodesResponse
@@ -30268,7 +30488,7 @@ export default class Client extends OpenApi {
30268
30488
  }
30269
30489
 
30270
30490
  /**
30271
- * Queries detailed information about a type of events, including the severity level, status, and start time of each event. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
30491
+ * Queries the detailed information about a type of events, including the severity level, status, and time. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
30272
30492
  *
30273
30493
  * @param request - DescribeEventsRequest
30274
30494
  * @param headers - map
@@ -30313,7 +30533,7 @@ export default class Client extends OpenApi {
30313
30533
  }
30314
30534
 
30315
30535
  /**
30316
- * Queries detailed information about a type of events, including the severity level, status, and start time of each event. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
30536
+ * Queries the detailed information about a type of events, including the severity level, status, and time. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
30317
30537
  *
30318
30538
  * @param request - DescribeEventsRequest
30319
30539
  * @returns DescribeEventsResponse
@@ -30494,7 +30714,7 @@ export default class Client extends OpenApi {
30494
30714
  }
30495
30715
 
30496
30716
  /**
30497
- * Queries the policies for a Container Service for Kubernetes (ACK) cluster. Container security policies for ACK clusters offer a variety of built-in policies, including cis-k8s, infra, k8s-general, and PodSecurityPolicy. You can use these policies to ensure the security of containers running in a production environment.
30717
+ * Queries a list of security policies. Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment.
30498
30718
  *
30499
30719
  * @param headers - map
30500
30720
  * @param runtime - runtime options for this request RuntimeOptions
@@ -30519,7 +30739,7 @@ export default class Client extends OpenApi {
30519
30739
  }
30520
30740
 
30521
30741
  /**
30522
- * Queries the policies for a Container Service for Kubernetes (ACK) cluster. Container security policies for ACK clusters offer a variety of built-in policies, including cis-k8s, infra, k8s-general, and PodSecurityPolicy. You can use these policies to ensure the security of containers running in a production environment.
30742
+ * Queries a list of security policies. Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment.
30523
30743
  * @returns DescribePoliciesResponse
30524
30744
  */
30525
30745
  async describePolicies(): Promise<DescribePoliciesResponse> {
@@ -31249,6 +31469,8 @@ export default class Client extends OpenApi {
31249
31469
  }
31250
31470
 
31251
31471
  /**
31472
+ * You can call the GetClusterAuditProject operation to query the Simple Log Service (SLS) project that stores the audit logs of the API server of a cluster.
31473
+ *
31252
31474
  * @param headers - map
31253
31475
  * @param runtime - runtime options for this request RuntimeOptions
31254
31476
  * @returns GetClusterAuditProjectResponse
@@ -31272,6 +31494,7 @@ export default class Client extends OpenApi {
31272
31494
  }
31273
31495
 
31274
31496
  /**
31497
+ * You can call the GetClusterAuditProject operation to query the Simple Log Service (SLS) project that stores the audit logs of the API server of a cluster.
31275
31498
  * @returns GetClusterAuditProjectResponse
31276
31499
  */
31277
31500
  async getClusterAuditProject(clusterid: string): Promise<GetClusterAuditProjectResponse> {
@@ -31488,8 +31711,7 @@ export default class Client extends OpenApi {
31488
31711
  *
31489
31712
  * @remarks
31490
31713
  * *Precautions**:
31491
- * * Make sure that you have attached a RAM policy that has at least the read-only permissions on the cluster to the RAM user or RAM role in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned when you call the operation. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](https://help.aliyun.com/document_detail/86485.html).
31492
- * * If you use a RAM user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned when you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
31714
+ * * If you use a Resource Access Management (RAM) user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned after you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
31493
31715
  * * If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
31494
31716
  *
31495
31717
  * @param request - GrantPermissionsRequest
@@ -31522,8 +31744,7 @@ export default class Client extends OpenApi {
31522
31744
  *
31523
31745
  * @remarks
31524
31746
  * *Precautions**:
31525
- * * Make sure that you have attached a RAM policy that has at least the read-only permissions on the cluster to the RAM user or RAM role in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned when you call the operation. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](https://help.aliyun.com/document_detail/86485.html).
31526
- * * If you use a RAM user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned when you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
31747
+ * * If you use a Resource Access Management (RAM) user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned after you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
31527
31748
  * * If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
31528
31749
  *
31529
31750
  * @param request - GrantPermissionsRequest
@@ -32762,7 +32983,7 @@ export default class Client extends OpenApi {
32762
32983
  }
32763
32984
 
32764
32985
  /**
32765
- * Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
32986
+ * Repairs a node pool.
32766
32987
  *
32767
32988
  * @param request - RepairClusterNodePoolRequest
32768
32989
  * @param headers - map
@@ -32803,7 +33024,7 @@ export default class Client extends OpenApi {
32803
33024
  }
32804
33025
 
32805
33026
  /**
32806
- * Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
33027
+ * Repairs a node pool.
32807
33028
  *
32808
33029
  * @param request - RepairClusterNodePoolRequest
32809
33030
  * @returns RepairClusterNodePoolResponse
@@ -32856,7 +33077,7 @@ export default class Client extends OpenApi {
32856
33077
  }
32857
33078
 
32858
33079
  /**
32859
- * You can call the ResumeTask operation to resume a task.
33080
+ * Resumes a task.
32860
33081
  *
32861
33082
  * @param headers - map
32862
33083
  * @param runtime - runtime options for this request RuntimeOptions
@@ -32881,7 +33102,7 @@ export default class Client extends OpenApi {
32881
33102
  }
32882
33103
 
32883
33104
  /**
32884
- * You can call the ResumeTask operation to resume a task.
33105
+ * Resumes a task.
32885
33106
  * @returns ResumeTaskResponse
32886
33107
  */
32887
33108
  async resumeTask(taskId: string): Promise<ResumeTaskResponse> {
@@ -33143,7 +33364,7 @@ export default class Client extends OpenApi {
33143
33364
  }
33144
33365
 
33145
33366
  /**
33146
- * You can call the ScaleClusterNodePool operation to scale out a node pool by node pool ID.
33367
+ * Scales out a node pool.
33147
33368
  *
33148
33369
  * @param request - ScaleClusterNodePoolRequest
33149
33370
  * @param headers - map
@@ -33176,7 +33397,7 @@ export default class Client extends OpenApi {
33176
33397
  }
33177
33398
 
33178
33399
  /**
33179
- * You can call the ScaleClusterNodePool operation to scale out a node pool by node pool ID.
33400
+ * Scales out a node pool.
33180
33401
  *
33181
33402
  * @param request - ScaleClusterNodePoolRequest
33182
33403
  * @returns ScaleClusterNodePoolResponse