@alicloud/cs20151215 4.7.9 → 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/dist/client.d.ts +534 -299
- package/dist/client.js +55 -30
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +560 -299
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`:
|
|
694
|
-
* * `none`:
|
|
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
|
|
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
|
|
713
|
+
* How data disks are attached:
|
|
714
714
|
*
|
|
715
|
-
* * If the ECS
|
|
716
|
-
* * If no data disk is attached to the ECS
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
747
|
+
* Specifies whether the node that you want to add is an Edge Node Service (ENS) node. Valid values:
|
|
748
748
|
*
|
|
749
|
-
* * `true`:
|
|
750
|
-
* * `false`:
|
|
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
|
|
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: `
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
-
* *
|
|
818
|
-
* *
|
|
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
|
|
820
|
+
* > This parameter is not supported if you specify `nodepool_id`.
|
|
821
821
|
*/
|
|
822
822
|
tags?: Tag[];
|
|
823
823
|
/**
|
|
824
824
|
* @remarks
|
|
825
|
-
*
|
|
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
|
|
827
|
+
* > This parameter is not supported if you specify `nodepool_id`.
|
|
828
828
|
*
|
|
829
829
|
* @example
|
|
830
830
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -1105,6 +1105,13 @@ export class CancelComponentUpgradeResponse extends $tea.Model {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
|
|
1107
1107
|
export class CancelOperationPlanResponseBody extends $tea.Model {
|
|
1108
|
+
/**
|
|
1109
|
+
* @remarks
|
|
1110
|
+
* The request ID.
|
|
1111
|
+
*
|
|
1112
|
+
* @example
|
|
1113
|
+
* db82195b-75a8-40e5-9be4-16f1829dc624
|
|
1114
|
+
*/
|
|
1108
1115
|
requestId?: string;
|
|
1109
1116
|
static names(): { [key: string]: string } {
|
|
1110
1117
|
return {
|
|
@@ -1381,17 +1388,15 @@ export class CleanClusterUserPermissionsResponse extends $tea.Model {
|
|
|
1381
1388
|
export class CleanUserPermissionsRequest extends $tea.Model {
|
|
1382
1389
|
/**
|
|
1383
1390
|
* @remarks
|
|
1384
|
-
* The cluster IDs.
|
|
1385
|
-
*
|
|
1386
|
-
* * 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.
|
|
1387
1392
|
*/
|
|
1388
1393
|
clusterIds?: string[];
|
|
1389
1394
|
/**
|
|
1390
1395
|
* @remarks
|
|
1391
1396
|
* Specifies whether to forcefully delete the specified kubeconfig files. Valid values:
|
|
1392
1397
|
*
|
|
1393
|
-
* *
|
|
1394
|
-
* *
|
|
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.
|
|
1395
1400
|
*
|
|
1396
1401
|
* @example
|
|
1397
1402
|
* false
|
|
@@ -1419,17 +1424,15 @@ export class CleanUserPermissionsRequest extends $tea.Model {
|
|
|
1419
1424
|
export class CleanUserPermissionsShrinkRequest extends $tea.Model {
|
|
1420
1425
|
/**
|
|
1421
1426
|
* @remarks
|
|
1422
|
-
* The cluster IDs.
|
|
1423
|
-
*
|
|
1424
|
-
* * 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.
|
|
1425
1428
|
*/
|
|
1426
1429
|
clusterIdsShrink?: string;
|
|
1427
1430
|
/**
|
|
1428
1431
|
* @remarks
|
|
1429
1432
|
* Specifies whether to forcefully delete the specified kubeconfig files. Valid values:
|
|
1430
1433
|
*
|
|
1431
|
-
* *
|
|
1432
|
-
* *
|
|
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.
|
|
1433
1436
|
*
|
|
1434
1437
|
* @example
|
|
1435
1438
|
* false
|
|
@@ -1457,7 +1460,7 @@ export class CleanUserPermissionsShrinkRequest extends $tea.Model {
|
|
|
1457
1460
|
export class CleanUserPermissionsResponseBody extends $tea.Model {
|
|
1458
1461
|
/**
|
|
1459
1462
|
* @remarks
|
|
1460
|
-
*
|
|
1463
|
+
* The request ID.
|
|
1461
1464
|
*
|
|
1462
1465
|
* @example
|
|
1463
1466
|
* 687C5BAA-D103-4993-884B-C35E4314****
|
|
@@ -1465,7 +1468,7 @@ export class CleanUserPermissionsResponseBody extends $tea.Model {
|
|
|
1465
1468
|
requestId?: string;
|
|
1466
1469
|
/**
|
|
1467
1470
|
* @remarks
|
|
1468
|
-
*
|
|
1471
|
+
* The task ID.
|
|
1469
1472
|
*
|
|
1470
1473
|
* @example
|
|
1471
1474
|
* clean-user-permissions-2085266204********-6694c16e6ae07***********
|
|
@@ -1722,19 +1725,19 @@ export class CreateAutoscalingConfigResponse extends $tea.Model {
|
|
|
1722
1725
|
export class CreateClusterRequest extends $tea.Model {
|
|
1723
1726
|
/**
|
|
1724
1727
|
* @remarks
|
|
1725
|
-
* The
|
|
1728
|
+
* The ACL rule of the SLB instance associated with the API server if the cluster is a registered cluster.
|
|
1726
1729
|
*/
|
|
1727
1730
|
accessControlList?: string[];
|
|
1728
1731
|
/**
|
|
1729
1732
|
* @remarks
|
|
1730
|
-
* The components that you want to install in the cluster. When you create a cluster, you can
|
|
1733
|
+
* The components that you want to install in the cluster. When you create a cluster, you can specify `addons` to install specific components.
|
|
1731
1734
|
*
|
|
1732
1735
|
* **Network plug-in**: required. The Flannel and Terway plug-ins are supported. Select one of the plug-ins for the cluster.
|
|
1733
1736
|
*
|
|
1734
|
-
* *
|
|
1735
|
-
* * If you want to use the Terway component, specify the value
|
|
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.
|
|
1736
1739
|
*
|
|
1737
|
-
* **Volume plug-in**: optional. Only the `
|
|
1740
|
+
* **Volume plug-in**: optional. Only the `CSI` plug-in is supported.
|
|
1738
1741
|
*
|
|
1739
1742
|
* Specify the `CSI` plug-in in the following format: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
|
|
1740
1743
|
*
|
|
@@ -1743,23 +1746,23 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1743
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"}"}].
|
|
1744
1747
|
* * To create a `Simple Log Service project`, specify the component in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true"}"}].
|
|
1745
1748
|
*
|
|
1746
|
-
* **Ingress controller
|
|
1749
|
+
* **Ingress controller**`: optional. By default, the nginx-ingress-controller component is installed in ACK dedicated clusters.`
|
|
1747
1750
|
*
|
|
1748
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"}"}].
|
|
1749
|
-
* * To disable the automatic installation of nginx-ingress-controller, specify the
|
|
1752
|
+
* * To disable the automatic installation of nginx-ingress-controller, specify the component in the following format: [{"name": "nginx-ingress-controller","config": "","disabled": true}].
|
|
1750
1753
|
*
|
|
1751
1754
|
* **Event center**: optional. By default, the event center feature is enabled.
|
|
1752
1755
|
*
|
|
1753
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).
|
|
1754
1757
|
*
|
|
1755
|
-
*
|
|
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"}"}].
|
|
1756
1759
|
*/
|
|
1757
1760
|
addons?: Addon[];
|
|
1758
1761
|
/**
|
|
1759
1762
|
* @remarks
|
|
1760
|
-
*
|
|
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 (,).``
|
|
1761
1764
|
*
|
|
1762
|
-
* For more information about `
|
|
1765
|
+
* For more information about `ServiceAccount`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
1763
1766
|
*
|
|
1764
1767
|
* @example
|
|
1765
1768
|
* kubernetes.default.svc
|
|
@@ -1767,13 +1770,14 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1767
1770
|
apiAudiences?: string;
|
|
1768
1771
|
/**
|
|
1769
1772
|
* @remarks
|
|
1770
|
-
* Specifies whether to enable auto-renewal
|
|
1773
|
+
* Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
1771
1774
|
*
|
|
1772
|
-
*
|
|
1773
|
-
*
|
|
1774
|
-
* - `false`: Do not auto-renew.
|
|
1775
|
+
* * `true`: enables auto-renewal.
|
|
1776
|
+
* * `false`: disables auto-renewal.
|
|
1775
1777
|
*
|
|
1776
|
-
* Default value: `false
|
|
1778
|
+
* Default value: `false`
|
|
1779
|
+
*
|
|
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).
|
|
1777
1781
|
*
|
|
1778
1782
|
* @example
|
|
1779
1783
|
* true
|
|
@@ -1781,29 +1785,32 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1781
1785
|
autoRenew?: boolean;
|
|
1782
1786
|
/**
|
|
1783
1787
|
* @remarks
|
|
1784
|
-
*
|
|
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
|
+
*
|
|
1785
1790
|
* Default value: 1.
|
|
1786
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
|
+
*
|
|
1787
1794
|
* @example
|
|
1788
1795
|
* 1
|
|
1789
1796
|
*/
|
|
1790
1797
|
autoRenewPeriod?: number;
|
|
1791
1798
|
/**
|
|
1792
1799
|
* @remarks
|
|
1793
|
-
* The billing method of the
|
|
1800
|
+
* The billing method of the resource. The following resources are billed on a subscription basis:
|
|
1794
1801
|
*
|
|
1795
|
-
*
|
|
1796
|
-
*
|
|
1797
|
-
* The internal-facing SLB instance associated with the API server.
|
|
1802
|
+
* The internal-facing SLB instance used by the API server.
|
|
1798
1803
|
*
|
|
1799
1804
|
* Valid values:
|
|
1800
1805
|
*
|
|
1801
|
-
* PrePaid: subscription
|
|
1806
|
+
* PrePaid: subscription
|
|
1802
1807
|
*
|
|
1803
|
-
* PostPaid: pay-as-you-go
|
|
1808
|
+
* PostPaid: pay-as-you-go
|
|
1804
1809
|
*
|
|
1805
1810
|
* Default value: PostPaid.
|
|
1806
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
|
+
*
|
|
1807
1814
|
* @example
|
|
1808
1815
|
* 1
|
|
1809
1816
|
*/
|
|
@@ -1825,7 +1832,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1825
1832
|
* * `true`: installs the CloudMonitor agent.
|
|
1826
1833
|
* * `false`: does not install the CloudMonitor agent.
|
|
1827
1834
|
*
|
|
1828
|
-
* Default value: `false
|
|
1835
|
+
* Default value: `false`
|
|
1829
1836
|
*
|
|
1830
1837
|
* @example
|
|
1831
1838
|
* true
|
|
@@ -1843,10 +1850,10 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1843
1850
|
clusterDomain?: string;
|
|
1844
1851
|
/**
|
|
1845
1852
|
* @remarks
|
|
1846
|
-
*
|
|
1853
|
+
* If you set `cluster_type` to `ManagedKubernetes` and specify `profile`, you can further specify the edition of the cluster. Valid values:
|
|
1847
1854
|
*
|
|
1848
|
-
* * `ack.pro.small`: Pro
|
|
1849
|
-
* * `ack.standard`: Basic
|
|
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.
|
|
1850
1857
|
*
|
|
1851
1858
|
* @example
|
|
1852
1859
|
* ack.pro.small
|
|
@@ -1854,9 +1861,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1854
1861
|
clusterSpec?: string;
|
|
1855
1862
|
/**
|
|
1856
1863
|
* @remarks
|
|
1857
|
-
* * `Kubernetes`: ACK dedicated cluster.
|
|
1858
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters (Basic
|
|
1859
|
-
* * `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.
|
|
1860
1867
|
*
|
|
1861
1868
|
* This parameter is required.
|
|
1862
1869
|
*
|
|
@@ -1878,9 +1885,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1878
1885
|
containerCidr?: string;
|
|
1879
1886
|
/**
|
|
1880
1887
|
* @remarks
|
|
1881
|
-
* The
|
|
1888
|
+
* The control plane component for which you want to enable log collection.
|
|
1882
1889
|
*
|
|
1883
|
-
* By default, the
|
|
1890
|
+
* By default, the log of kube-apiserver, kube-controller-manager, and kube-scheduler is collected.
|
|
1884
1891
|
*/
|
|
1885
1892
|
controlplaneLogComponents?: string[];
|
|
1886
1893
|
/**
|
|
@@ -1903,8 +1910,8 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1903
1910
|
* @remarks
|
|
1904
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:
|
|
1905
1912
|
*
|
|
1906
|
-
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity
|
|
1907
|
-
* * `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
|
|
1908
1915
|
*
|
|
1909
1916
|
* Default value: `none`.
|
|
1910
1917
|
*
|
|
@@ -1914,7 +1921,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1914
1921
|
cpuPolicy?: string;
|
|
1915
1922
|
/**
|
|
1916
1923
|
* @remarks
|
|
1917
|
-
* 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
|
|
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 (,).
|
|
1918
1925
|
*
|
|
1919
1926
|
* @example
|
|
1920
1927
|
* cs.aliyun.com
|
|
@@ -1922,12 +1929,12 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1922
1929
|
customSan?: string;
|
|
1923
1930
|
/**
|
|
1924
1931
|
* @remarks
|
|
1925
|
-
* Specifies whether to enable cluster deletion protection. If this option is enabled, the cluster cannot be deleted in the
|
|
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:
|
|
1926
1933
|
*
|
|
1927
|
-
* * `true`:
|
|
1928
|
-
* * `false`:
|
|
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.
|
|
1929
1936
|
*
|
|
1930
|
-
* Default value: `false
|
|
1937
|
+
* Default value: `false`
|
|
1931
1938
|
*
|
|
1932
1939
|
* @example
|
|
1933
1940
|
* true
|
|
@@ -1935,12 +1942,12 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1935
1942
|
deletionProtection?: boolean;
|
|
1936
1943
|
/**
|
|
1937
1944
|
* @remarks
|
|
1938
|
-
* Specifies whether to perform a rollback
|
|
1945
|
+
* Specifies whether to perform a rollback if the cluster fails to be created. Valid values:
|
|
1939
1946
|
*
|
|
1940
1947
|
* * `true`: performs a rollback when the cluster fails to be created.
|
|
1941
1948
|
* * `false`: does not perform a rollback when the cluster fails to be created.
|
|
1942
1949
|
*
|
|
1943
|
-
* Default value: `true
|
|
1950
|
+
* Default value: `true`
|
|
1944
1951
|
*
|
|
1945
1952
|
* @example
|
|
1946
1953
|
* true
|
|
@@ -1950,7 +1957,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1950
1957
|
disableRollback?: boolean;
|
|
1951
1958
|
/**
|
|
1952
1959
|
* @remarks
|
|
1953
|
-
* 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.
|
|
1954
1961
|
*
|
|
1955
1962
|
* @example
|
|
1956
1963
|
* true
|
|
@@ -1973,7 +1980,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1973
1980
|
* * `true`: enables Internet access for the cluster.
|
|
1974
1981
|
* * `false`: disables Internet access for the cluster. If you set the value to false, the API server cannot be accessed over the Internet.
|
|
1975
1982
|
*
|
|
1976
|
-
* Default value: `false
|
|
1983
|
+
* Default value: `false`
|
|
1977
1984
|
*
|
|
1978
1985
|
* @example
|
|
1979
1986
|
* true
|
|
@@ -1983,10 +1990,10 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1983
1990
|
* @remarks
|
|
1984
1991
|
* Specifies whether to mount a data disk to a node that is created based on an existing ECS instance. Valid values:
|
|
1985
1992
|
*
|
|
1986
|
-
* * `true`: stores the data of containers and images on a data disk. The existing data stored
|
|
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.
|
|
1987
1994
|
* * `false`: does not store the data of containers and images on a data disk.
|
|
1988
1995
|
*
|
|
1989
|
-
* Default value: `false
|
|
1996
|
+
* Default value: `false`
|
|
1990
1997
|
*
|
|
1991
1998
|
* How data disks are mounted:
|
|
1992
1999
|
*
|
|
@@ -2027,7 +2034,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2027
2034
|
imageType?: string;
|
|
2028
2035
|
/**
|
|
2029
2036
|
* @remarks
|
|
2030
|
-
* 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.
|
|
2031
2038
|
*
|
|
2032
2039
|
* > This parameter is required if you create worker nodes on existing ECS instances.
|
|
2033
2040
|
*/
|
|
@@ -2050,7 +2057,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2050
2057
|
* * `true`: creates an advanced security group.
|
|
2051
2058
|
* * `false`: does not create an advanced security group.
|
|
2052
2059
|
*
|
|
2053
|
-
* Default value: `true
|
|
2060
|
+
* Default value: `true`
|
|
2054
2061
|
*
|
|
2055
2062
|
* @example
|
|
2056
2063
|
* true
|
|
@@ -2063,7 +2070,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2063
2070
|
* * `true`: retains the names.
|
|
2064
2071
|
* * `false`: does not retain the names. The system assigns new names.
|
|
2065
2072
|
*
|
|
2066
|
-
* Default value: `true
|
|
2073
|
+
* Default value: `true`
|
|
2067
2074
|
*
|
|
2068
2075
|
* @example
|
|
2069
2076
|
* true
|
|
@@ -2071,7 +2078,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2071
2078
|
keepInstanceName?: boolean;
|
|
2072
2079
|
/**
|
|
2073
2080
|
* @remarks
|
|
2074
|
-
* The name of the key pair. You must
|
|
2081
|
+
* The name of the key pair. You must configure this parameter or the `login_password` parameter.
|
|
2075
2082
|
*
|
|
2076
2083
|
* @example
|
|
2077
2084
|
* secrity-key
|
|
@@ -2089,7 +2096,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2089
2096
|
kubernetesVersion?: string;
|
|
2090
2097
|
/**
|
|
2091
2098
|
* @remarks
|
|
2092
|
-
* Specifies the CLB instance
|
|
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.
|
|
2093
2100
|
*
|
|
2094
2101
|
* @example
|
|
2095
2102
|
* lb-wz9t256gqa3vbouk****
|
|
@@ -2122,12 +2129,16 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2122
2129
|
loggingType?: string;
|
|
2123
2130
|
/**
|
|
2124
2131
|
* @remarks
|
|
2125
|
-
* The password for SSH logon. You must
|
|
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.
|
|
2126
2133
|
*
|
|
2127
2134
|
* @example
|
|
2128
2135
|
* Hello@1234
|
|
2129
2136
|
*/
|
|
2130
2137
|
loginPassword?: string;
|
|
2138
|
+
/**
|
|
2139
|
+
* @remarks
|
|
2140
|
+
* Cluster maintenance window.
|
|
2141
|
+
*/
|
|
2131
2142
|
maintenanceWindow?: MaintenanceWindow;
|
|
2132
2143
|
/**
|
|
2133
2144
|
* @remarks
|
|
@@ -2136,7 +2147,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2136
2147
|
* * `true`: enables auto-renewal.
|
|
2137
2148
|
* * `false`: disables auto-renewal.
|
|
2138
2149
|
*
|
|
2139
|
-
* Default value: `true
|
|
2150
|
+
* Default value: `true`
|
|
2140
2151
|
*
|
|
2141
2152
|
* @example
|
|
2142
2153
|
* true
|
|
@@ -2144,7 +2155,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2144
2155
|
masterAutoRenew?: boolean;
|
|
2145
2156
|
/**
|
|
2146
2157
|
* @remarks
|
|
2147
|
-
* The auto-renewal
|
|
2158
|
+
* The cycle of auto-renewal. This parameter takes effect and is required only if the subscription billing method is selected for master nodes.
|
|
2148
2159
|
*
|
|
2149
2160
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
2150
2161
|
*
|
|
@@ -2169,9 +2180,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2169
2180
|
* The billing method of master nodes. Valid values:
|
|
2170
2181
|
*
|
|
2171
2182
|
* * `PrePaid`: subscription.
|
|
2172
|
-
* * `PostPaid`:
|
|
2183
|
+
* * `PostPaid`: pay-as-you-go.
|
|
2173
2184
|
*
|
|
2174
|
-
* Default value: `PostPaid
|
|
2185
|
+
* Default value: `PostPaid`
|
|
2175
2186
|
*
|
|
2176
2187
|
* @example
|
|
2177
2188
|
* PrePaid
|
|
@@ -2208,8 +2219,8 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2208
2219
|
* @remarks
|
|
2209
2220
|
* The system disk type of master nodes. Valid values:
|
|
2210
2221
|
*
|
|
2211
|
-
* * `cloud_efficiency`: ultra disk
|
|
2212
|
-
* * `cloud_ssd`: standard SSD
|
|
2222
|
+
* * `cloud_efficiency`: ultra disk
|
|
2223
|
+
* * `cloud_ssd`: standard SSD
|
|
2213
2224
|
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
2214
2225
|
*
|
|
2215
2226
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
@@ -2248,14 +2259,14 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2248
2259
|
* @remarks
|
|
2249
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.
|
|
2250
2261
|
*
|
|
2251
|
-
* The number of vSwitches must be the same as
|
|
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`.
|
|
2252
2263
|
*/
|
|
2253
2264
|
masterVswitchIds?: string[];
|
|
2254
2265
|
/**
|
|
2255
2266
|
* @remarks
|
|
2256
|
-
* The cluster
|
|
2267
|
+
* The name of the cluster.
|
|
2257
2268
|
*
|
|
2258
|
-
* The name must be 1 to 63 characters in length, and can contain digits, letters, and
|
|
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 (-).
|
|
2259
2270
|
*
|
|
2260
2271
|
* This parameter is required.
|
|
2261
2272
|
*
|
|
@@ -2265,12 +2276,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2265
2276
|
name?: string;
|
|
2266
2277
|
/**
|
|
2267
2278
|
* @remarks
|
|
2268
|
-
*
|
|
2269
|
-
*
|
|
2270
|
-
* * `true`: automatically creates a NAT gateway and configures SNAT rules. This enables Internet access for the VPC in which the cluster is deployed.
|
|
2271
|
-
* * `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.
|
|
2272
|
-
*
|
|
2273
|
-
* Default value: `false`.
|
|
2279
|
+
* This parameter is deprecated. Use `snat_entry` instead.
|
|
2274
2280
|
*
|
|
2275
2281
|
* @example
|
|
2276
2282
|
* true
|
|
@@ -2278,7 +2284,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2278
2284
|
natGateway?: boolean;
|
|
2279
2285
|
/**
|
|
2280
2286
|
* @remarks
|
|
2281
|
-
* The maximum number of IP addresses that can be assigned to
|
|
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.
|
|
2282
2288
|
*
|
|
2283
2289
|
* Default value: `26`.
|
|
2284
2290
|
*
|
|
@@ -2295,7 +2301,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2295
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.
|
|
2296
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.
|
|
2297
2303
|
*
|
|
2298
|
-
* 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
|
|
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.
|
|
2299
2305
|
*
|
|
2300
2306
|
* @example
|
|
2301
2307
|
* aliyun.com00055test
|
|
@@ -2326,6 +2332,10 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2326
2332
|
* @deprecated
|
|
2327
2333
|
*/
|
|
2328
2334
|
numOfNodes?: number;
|
|
2335
|
+
/**
|
|
2336
|
+
* @remarks
|
|
2337
|
+
* Cluster auto operation and maintenance policy.
|
|
2338
|
+
*/
|
|
2329
2339
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
2330
2340
|
/**
|
|
2331
2341
|
* @remarks
|
|
@@ -2348,6 +2358,8 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2348
2358
|
*
|
|
2349
2359
|
* Default value: 1.
|
|
2350
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
|
+
*
|
|
2351
2363
|
* @example
|
|
2352
2364
|
* FY2023
|
|
2353
2365
|
*/
|
|
@@ -2356,7 +2368,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2356
2368
|
* @remarks
|
|
2357
2369
|
* The billing cycle. This parameter is required if charge_type is set to PrePaid.
|
|
2358
2370
|
*
|
|
2359
|
-
*
|
|
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).
|
|
2360
2374
|
*
|
|
2361
2375
|
* @example
|
|
2362
2376
|
* Month
|
|
@@ -2364,7 +2378,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2364
2378
|
periodUnit?: string;
|
|
2365
2379
|
/**
|
|
2366
2380
|
* @remarks
|
|
2367
|
-
* The
|
|
2381
|
+
* The operating system distribution. Valid values:
|
|
2368
2382
|
*
|
|
2369
2383
|
* * CentOS
|
|
2370
2384
|
* * AliyunLinux
|
|
@@ -2381,19 +2395,19 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2381
2395
|
platform?: string;
|
|
2382
2396
|
/**
|
|
2383
2397
|
* @remarks
|
|
2384
|
-
* If you select Terway as the network plug-in, you must allocate vSwitches 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.
|
|
2385
2399
|
*
|
|
2386
|
-
* > We recommend that you select pod vSwitches whose subnet
|
|
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.
|
|
2387
2401
|
*/
|
|
2388
2402
|
podVswitchIds?: string[];
|
|
2389
2403
|
/**
|
|
2390
2404
|
* @remarks
|
|
2391
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:
|
|
2392
2406
|
*
|
|
2393
|
-
* * `Default
|
|
2394
|
-
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
2395
|
-
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
2396
|
-
* * `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.
|
|
2397
2411
|
*
|
|
2398
2412
|
* @example
|
|
2399
2413
|
* Default
|
|
@@ -2403,8 +2417,8 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2403
2417
|
* @remarks
|
|
2404
2418
|
* The kube-proxy mode. Valid values:
|
|
2405
2419
|
*
|
|
2406
|
-
* * `iptables`: a mature and stable mode that uses iptables rules to conduct
|
|
2407
|
-
* * `ipvs`:
|
|
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.
|
|
2408
2422
|
*
|
|
2409
2423
|
* Default value: `ipvs`.
|
|
2410
2424
|
*
|
|
@@ -2414,7 +2428,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2414
2428
|
proxyMode?: string;
|
|
2415
2429
|
/**
|
|
2416
2430
|
* @remarks
|
|
2417
|
-
* The ApsaraDB RDS instances.
|
|
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.
|
|
2418
2432
|
*/
|
|
2419
2433
|
rdsInstances?: string[];
|
|
2420
2434
|
/**
|
|
@@ -2444,7 +2458,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2444
2458
|
runtime?: Runtime;
|
|
2445
2459
|
/**
|
|
2446
2460
|
* @remarks
|
|
2447
|
-
* The ID of an existing security group. You must specify this parameter or
|
|
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.
|
|
2448
2462
|
*
|
|
2449
2463
|
* @example
|
|
2450
2464
|
* sg-bp1bdue0qc1g7k****
|
|
@@ -2457,7 +2471,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2457
2471
|
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
2458
2472
|
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
2459
2473
|
*
|
|
2460
|
-
* Default value: `false
|
|
2474
|
+
* Default value: `false`
|
|
2461
2475
|
*
|
|
2462
2476
|
* @example
|
|
2463
2477
|
* false
|
|
@@ -2465,9 +2479,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2465
2479
|
securityHardeningOs?: boolean;
|
|
2466
2480
|
/**
|
|
2467
2481
|
* @remarks
|
|
2468
|
-
*
|
|
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`.
|
|
2469
2483
|
*
|
|
2470
|
-
* For more information about `
|
|
2484
|
+
* For more information about `ServiceAccount`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
2471
2485
|
*
|
|
2472
2486
|
* @example
|
|
2473
2487
|
* kubernetes.default.svc
|
|
@@ -2475,7 +2489,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2475
2489
|
serviceAccountIssuer?: string;
|
|
2476
2490
|
/**
|
|
2477
2491
|
* @remarks
|
|
2478
|
-
* 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
|
|
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.
|
|
2479
2493
|
*
|
|
2480
2494
|
* By default, the Service CIDR block is set to 172.19.0.0/20.
|
|
2481
2495
|
*
|
|
@@ -2487,24 +2501,24 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2487
2501
|
serviceCidr?: string;
|
|
2488
2502
|
/**
|
|
2489
2503
|
* @remarks
|
|
2490
|
-
* The
|
|
2504
|
+
* The methods for implementing service discovery in `ACK Serverless` clusters.
|
|
2491
2505
|
*
|
|
2492
|
-
* * `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.
|
|
2493
|
-
* * `PrivateZone`: a DNS resolution service provided by Alibaba Cloud. You must activate Alibaba Cloud DNS PrivateZone before you can use it
|
|
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.
|
|
2494
2508
|
*
|
|
2495
2509
|
* By default, this parameter is not specified.
|
|
2496
2510
|
*/
|
|
2497
2511
|
serviceDiscoveryTypes?: string[];
|
|
2498
2512
|
/**
|
|
2499
2513
|
* @remarks
|
|
2500
|
-
* 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:
|
|
2501
2515
|
*
|
|
2502
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.
|
|
2503
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.
|
|
2504
2518
|
*
|
|
2505
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).
|
|
2506
2520
|
*
|
|
2507
|
-
* Default value: `true
|
|
2521
|
+
* Default value: `true`
|
|
2508
2522
|
*
|
|
2509
2523
|
* @example
|
|
2510
2524
|
* true
|
|
@@ -2519,7 +2533,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2519
2533
|
* * `true`: enables security hardening based on MLPS.
|
|
2520
2534
|
* * `false`: disables security hardening based on MLPS.
|
|
2521
2535
|
*
|
|
2522
|
-
* Default value: `false
|
|
2536
|
+
* Default value: `false`
|
|
2523
2537
|
*
|
|
2524
2538
|
* @example
|
|
2525
2539
|
* false
|
|
@@ -2532,7 +2546,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2532
2546
|
* * `true`: enables SSH logon.
|
|
2533
2547
|
* * `false`: disables SSH logon.
|
|
2534
2548
|
*
|
|
2535
|
-
* Default value: `false
|
|
2549
|
+
* Default value: `false`
|
|
2536
2550
|
*
|
|
2537
2551
|
* @example
|
|
2538
2552
|
* true
|
|
@@ -2540,15 +2554,15 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2540
2554
|
sshFlags?: boolean;
|
|
2541
2555
|
/**
|
|
2542
2556
|
* @remarks
|
|
2543
|
-
* The
|
|
2557
|
+
* The tags to be added to nodes. You must add labels based on the following rules:
|
|
2544
2558
|
*
|
|
2545
2559
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
2546
|
-
* * When you add a
|
|
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).
|
|
2547
2561
|
*/
|
|
2548
2562
|
tags?: Tag[];
|
|
2549
2563
|
/**
|
|
2550
2564
|
* @remarks
|
|
2551
|
-
* The
|
|
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/).
|
|
2552
2566
|
*/
|
|
2553
2567
|
taints?: Taint[];
|
|
2554
2568
|
/**
|
|
@@ -2595,15 +2609,15 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2595
2609
|
vpcid?: string;
|
|
2596
2610
|
/**
|
|
2597
2611
|
* @remarks
|
|
2598
|
-
* 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.
|
|
2599
2613
|
*/
|
|
2600
2614
|
vswitchIds?: string[];
|
|
2601
2615
|
/**
|
|
2602
2616
|
* @remarks
|
|
2603
|
-
* Specifies whether to enable auto
|
|
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:
|
|
2604
2618
|
*
|
|
2605
2619
|
* * `true`: enables auto-renewal.
|
|
2606
|
-
* * `false`: disables auto-renewal
|
|
2620
|
+
* * `false`: disables auto-renewal
|
|
2607
2621
|
*
|
|
2608
2622
|
* Default value: `true`
|
|
2609
2623
|
*
|
|
@@ -2615,7 +2629,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2615
2629
|
workerAutoRenew?: boolean;
|
|
2616
2630
|
/**
|
|
2617
2631
|
* @remarks
|
|
2618
|
-
* The auto-renewal
|
|
2632
|
+
* The cycle of auto-renewal. This parameter takes effect and is required only if the subscription billing method is selected for worker nodes.
|
|
2619
2633
|
*
|
|
2620
2634
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
2621
2635
|
*
|
|
@@ -2672,7 +2686,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2672
2686
|
* @remarks
|
|
2673
2687
|
* The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
|
|
2674
2688
|
*
|
|
2675
|
-
*
|
|
2689
|
+
* Valid value: `Month`, which indicates that worker nodes are billed only on a monthly basis.
|
|
2676
2690
|
*
|
|
2677
2691
|
* @example
|
|
2678
2692
|
* Month
|
|
@@ -2682,7 +2696,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2682
2696
|
workerPeriodUnit?: string;
|
|
2683
2697
|
/**
|
|
2684
2698
|
* @remarks
|
|
2685
|
-
* The system disk
|
|
2699
|
+
* The system disk category of worker nodes. For more information, see [Elastic Block Storage devices](https://help.aliyun.com/document_detail/63136.html).
|
|
2686
2700
|
*
|
|
2687
2701
|
* Valid values:
|
|
2688
2702
|
*
|
|
@@ -2742,7 +2756,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2742
2756
|
workerSystemDiskSnapshotPolicyId?: string;
|
|
2743
2757
|
/**
|
|
2744
2758
|
* @remarks
|
|
2745
|
-
* 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.
|
|
2746
2760
|
*
|
|
2747
2761
|
* `worker_vswitch_ids` is optional but `vswitch_ids` is required if you create an ACK managed cluster that does not contain nodes.
|
|
2748
2762
|
*
|
|
@@ -2751,9 +2765,11 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2751
2765
|
workerVswitchIds?: string[];
|
|
2752
2766
|
/**
|
|
2753
2767
|
* @remarks
|
|
2754
|
-
*
|
|
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.
|
|
2755
2771
|
*
|
|
2756
|
-
*
|
|
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.
|
|
2757
2773
|
*
|
|
2758
2774
|
* @example
|
|
2759
2775
|
* cn-beiji****
|
|
@@ -2763,8 +2779,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2763
2779
|
zoneId?: string;
|
|
2764
2780
|
/**
|
|
2765
2781
|
* @remarks
|
|
2766
|
-
*
|
|
2767
|
-
*
|
|
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.
|
|
2768
2785
|
*/
|
|
2769
2786
|
zoneIds?: string[];
|
|
2770
2787
|
static names(): { [key: string]: string } {
|
|
@@ -3196,7 +3213,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
3196
3213
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
3197
3214
|
/**
|
|
3198
3215
|
* @remarks
|
|
3199
|
-
* This parameter is deprecated. Use desired_size instead.
|
|
3216
|
+
* This parameter is deprecated. Use the desired_size parameter instead.
|
|
3200
3217
|
*
|
|
3201
3218
|
* The number of nodes in the node pool.
|
|
3202
3219
|
*
|
|
@@ -3206,6 +3223,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
3206
3223
|
* @deprecated
|
|
3207
3224
|
*/
|
|
3208
3225
|
count?: number;
|
|
3226
|
+
hostNetwork?: boolean;
|
|
3209
3227
|
/**
|
|
3210
3228
|
* @remarks
|
|
3211
3229
|
* This parameter is deprecated.
|
|
@@ -3217,15 +3235,16 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
3217
3235
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
3218
3236
|
/**
|
|
3219
3237
|
* @remarks
|
|
3220
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
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:
|
|
3221
3239
|
*
|
|
3222
|
-
* * `basic`: basic
|
|
3223
|
-
* * `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.
|
|
3224
3242
|
*
|
|
3225
3243
|
* @example
|
|
3226
3244
|
* basic
|
|
3227
3245
|
*/
|
|
3228
3246
|
interconnectMode?: string;
|
|
3247
|
+
intranet?: boolean;
|
|
3229
3248
|
/**
|
|
3230
3249
|
* @remarks
|
|
3231
3250
|
* The configurations of the cluster.
|
|
@@ -3273,8 +3292,10 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
3273
3292
|
return {
|
|
3274
3293
|
autoScaling: 'auto_scaling',
|
|
3275
3294
|
count: 'count',
|
|
3295
|
+
hostNetwork: 'host_network',
|
|
3276
3296
|
interconnectConfig: 'interconnect_config',
|
|
3277
3297
|
interconnectMode: 'interconnect_mode',
|
|
3298
|
+
intranet: 'intranet',
|
|
3278
3299
|
kubernetesConfig: 'kubernetes_config',
|
|
3279
3300
|
management: 'management',
|
|
3280
3301
|
maxNodes: 'max_nodes',
|
|
@@ -3289,8 +3310,10 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
3289
3310
|
return {
|
|
3290
3311
|
autoScaling: CreateClusterNodePoolRequestAutoScaling,
|
|
3291
3312
|
count: 'number',
|
|
3313
|
+
hostNetwork: 'boolean',
|
|
3292
3314
|
interconnectConfig: CreateClusterNodePoolRequestInterconnectConfig,
|
|
3293
3315
|
interconnectMode: 'string',
|
|
3316
|
+
intranet: 'boolean',
|
|
3294
3317
|
kubernetesConfig: CreateClusterNodePoolRequestKubernetesConfig,
|
|
3295
3318
|
management: CreateClusterNodePoolRequestManagement,
|
|
3296
3319
|
maxNodes: 'number',
|
|
@@ -4328,6 +4351,9 @@ export class DeleteClusterNodepoolResponseBody extends $tea.Model {
|
|
|
4328
4351
|
*/
|
|
4329
4352
|
requestId?: string;
|
|
4330
4353
|
/**
|
|
4354
|
+
* @remarks
|
|
4355
|
+
* task IDs
|
|
4356
|
+
*
|
|
4331
4357
|
* @example
|
|
4332
4358
|
* T-655ace947e0e6603af000004
|
|
4333
4359
|
*/
|
|
@@ -5160,12 +5186,12 @@ export class DescribeClusterAddonInstanceResponseBody extends $tea.Model {
|
|
|
5160
5186
|
* @remarks
|
|
5161
5187
|
* The status of the component. Valid values:
|
|
5162
5188
|
*
|
|
5163
|
-
* * initial:
|
|
5164
|
-
* * active:
|
|
5165
|
-
* * unhealthy:
|
|
5166
|
-
* * upgrading:
|
|
5167
|
-
* * updating:
|
|
5168
|
-
* * deleting:
|
|
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.
|
|
5169
5195
|
* * deleted: The component is deleted.
|
|
5170
5196
|
*
|
|
5171
5197
|
* @example
|
|
@@ -5566,6 +5592,9 @@ export class DescribeClusterAttachScriptsResponse extends $tea.Model {
|
|
|
5566
5592
|
|
|
5567
5593
|
export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
5568
5594
|
/**
|
|
5595
|
+
* @remarks
|
|
5596
|
+
* The on-premises domain name of the cluster.
|
|
5597
|
+
*
|
|
5569
5598
|
* @example
|
|
5570
5599
|
* cluster.local
|
|
5571
5600
|
*/
|
|
@@ -5600,6 +5629,9 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5600
5629
|
*/
|
|
5601
5630
|
clusterType?: string;
|
|
5602
5631
|
/**
|
|
5632
|
+
* @remarks
|
|
5633
|
+
* The CIDR block of the pod.
|
|
5634
|
+
*
|
|
5603
5635
|
* @example
|
|
5604
5636
|
* 172.20.0.0/16
|
|
5605
5637
|
*/
|
|
@@ -5640,6 +5672,9 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5640
5672
|
*/
|
|
5641
5673
|
dockerVersion?: string;
|
|
5642
5674
|
/**
|
|
5675
|
+
* @remarks
|
|
5676
|
+
* The ID of the Server Load Balancer (SLB) instance that is created for the Ingress of the cluster.
|
|
5677
|
+
*
|
|
5643
5678
|
* @example
|
|
5644
5679
|
* lb-2zehc05z3b8dwiifh****
|
|
5645
5680
|
*/
|
|
@@ -5653,6 +5688,12 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5653
5688
|
*/
|
|
5654
5689
|
initVersion?: string;
|
|
5655
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
|
+
*
|
|
5656
5697
|
* @example
|
|
5657
5698
|
* ipv4
|
|
5658
5699
|
*/
|
|
@@ -5689,27 +5730,48 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5689
5730
|
*/
|
|
5690
5731
|
name?: string;
|
|
5691
5732
|
/**
|
|
5733
|
+
* @remarks
|
|
5734
|
+
* The network type of the cluster. Example: Virtual Private Cloud (VPC).
|
|
5735
|
+
*
|
|
5692
5736
|
* @example
|
|
5693
5737
|
* vpc
|
|
5694
5738
|
*/
|
|
5695
5739
|
networkMode?: string;
|
|
5696
5740
|
/**
|
|
5741
|
+
* @remarks
|
|
5742
|
+
* The Kubernetes version to which the cluster can be updated.
|
|
5743
|
+
*
|
|
5697
5744
|
* @example
|
|
5698
5745
|
* 1.18.8-aliyun.1
|
|
5699
5746
|
*/
|
|
5700
5747
|
nextVersion?: string;
|
|
5701
5748
|
/**
|
|
5749
|
+
* @remarks
|
|
5750
|
+
* The number of the IP addresses of the node.
|
|
5751
|
+
*
|
|
5702
5752
|
* @example
|
|
5703
5753
|
* 26
|
|
5704
5754
|
*/
|
|
5705
5755
|
nodeCidrMask?: string;
|
|
5756
|
+
/**
|
|
5757
|
+
* @remarks
|
|
5758
|
+
* The automatic O\\&M policy of the cluster.
|
|
5759
|
+
*/
|
|
5706
5760
|
operationPolicy?: DescribeClusterDetailResponseBodyOperationPolicy;
|
|
5707
5761
|
/**
|
|
5708
5762
|
* @remarks
|
|
5709
|
-
* The ROS parameters of the cluster.
|
|
5763
|
+
* The Resource Orchestration Service (ROS) parameters of the cluster.
|
|
5710
5764
|
*/
|
|
5711
5765
|
parameters?: { [key: string]: string };
|
|
5712
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
|
+
*
|
|
5713
5775
|
* @example
|
|
5714
5776
|
* false
|
|
5715
5777
|
*/
|
|
@@ -5728,6 +5790,9 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5728
5790
|
*/
|
|
5729
5791
|
profile?: string;
|
|
5730
5792
|
/**
|
|
5793
|
+
* @remarks
|
|
5794
|
+
* The proxy mode. Valid values: ipvs and iptables.
|
|
5795
|
+
*
|
|
5731
5796
|
* @example
|
|
5732
5797
|
* ipvs
|
|
5733
5798
|
*/
|
|
@@ -5758,6 +5823,8 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5758
5823
|
securityGroupId?: string;
|
|
5759
5824
|
/**
|
|
5760
5825
|
* @remarks
|
|
5826
|
+
* The CIDR block of the Service.
|
|
5827
|
+
*
|
|
5761
5828
|
* This parameter is required.
|
|
5762
5829
|
*
|
|
5763
5830
|
* @example
|
|
@@ -5801,9 +5868,9 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5801
5868
|
* * 172.16-31.0.0/12-16
|
|
5802
5869
|
* * 192.168.0.0/16
|
|
5803
5870
|
*
|
|
5804
|
-
* The pod CIDR block cannot overlap with the CIDR block of 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.
|
|
5805
5872
|
*
|
|
5806
|
-
* 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).
|
|
5807
5874
|
*
|
|
5808
5875
|
* @example
|
|
5809
5876
|
* 172.20.0.0/16
|
|
@@ -5817,6 +5884,9 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5817
5884
|
*/
|
|
5818
5885
|
tags?: Tag[];
|
|
5819
5886
|
/**
|
|
5887
|
+
* @remarks
|
|
5888
|
+
* The time zone.
|
|
5889
|
+
*
|
|
5820
5890
|
* @example
|
|
5821
5891
|
* Asia/Shanghai
|
|
5822
5892
|
*/
|
|
@@ -5839,7 +5909,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5839
5909
|
vpcId?: string;
|
|
5840
5910
|
/**
|
|
5841
5911
|
* @remarks
|
|
5842
|
-
* The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster.
|
|
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.
|
|
5843
5913
|
*
|
|
5844
5914
|
* @example
|
|
5845
5915
|
* vsw-2zete8s4qocqg0mf6****,vsw-2zete8s4qocqg0mf6****
|
|
@@ -5847,6 +5917,10 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5847
5917
|
* @deprecated
|
|
5848
5918
|
*/
|
|
5849
5919
|
vswitchId?: string;
|
|
5920
|
+
/**
|
|
5921
|
+
* @remarks
|
|
5922
|
+
* The vSwitch for the control plane of the cluster.
|
|
5923
|
+
*/
|
|
5850
5924
|
vswitchIds?: string[];
|
|
5851
5925
|
/**
|
|
5852
5926
|
* @remarks
|
|
@@ -5857,6 +5931,9 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5857
5931
|
*/
|
|
5858
5932
|
workerRamRoleName?: string;
|
|
5859
5933
|
/**
|
|
5934
|
+
* @remarks
|
|
5935
|
+
* The ID of the zone within the region where the cluster is located.
|
|
5936
|
+
*
|
|
5860
5937
|
* @example
|
|
5861
5938
|
* cn-beijing-a
|
|
5862
5939
|
*/
|
|
@@ -6111,6 +6188,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
|
|
|
6111
6188
|
* The auto scaling configuration of the node pool.
|
|
6112
6189
|
*/
|
|
6113
6190
|
autoScaling?: DescribeClusterNodePoolDetailResponseBodyAutoScaling;
|
|
6191
|
+
hostNetwork?: boolean;
|
|
6114
6192
|
/**
|
|
6115
6193
|
* @remarks
|
|
6116
6194
|
* The network configuration of the edge node pool. This parameter takes effect only for edge node pools.
|
|
@@ -6124,9 +6202,10 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
|
|
|
6124
6202
|
* improved
|
|
6125
6203
|
*/
|
|
6126
6204
|
interconnectMode?: string;
|
|
6205
|
+
intranet?: boolean;
|
|
6127
6206
|
/**
|
|
6128
6207
|
* @remarks
|
|
6129
|
-
* The
|
|
6208
|
+
* The configurations of the cluster in which the node pool is deployed.
|
|
6130
6209
|
*/
|
|
6131
6210
|
kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
|
|
6132
6211
|
/**
|
|
@@ -6170,8 +6249,10 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
|
|
|
6170
6249
|
static names(): { [key: string]: string } {
|
|
6171
6250
|
return {
|
|
6172
6251
|
autoScaling: 'auto_scaling',
|
|
6252
|
+
hostNetwork: 'host_network',
|
|
6173
6253
|
interconnectConfig: 'interconnect_config',
|
|
6174
6254
|
interconnectMode: 'interconnect_mode',
|
|
6255
|
+
intranet: 'intranet',
|
|
6175
6256
|
kubernetesConfig: 'kubernetes_config',
|
|
6176
6257
|
management: 'management',
|
|
6177
6258
|
maxNodes: 'max_nodes',
|
|
@@ -6186,8 +6267,10 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
|
|
|
6186
6267
|
static types(): { [key: string]: any } {
|
|
6187
6268
|
return {
|
|
6188
6269
|
autoScaling: DescribeClusterNodePoolDetailResponseBodyAutoScaling,
|
|
6270
|
+
hostNetwork: 'boolean',
|
|
6189
6271
|
interconnectConfig: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig,
|
|
6190
6272
|
interconnectMode: 'string',
|
|
6273
|
+
intranet: 'boolean',
|
|
6191
6274
|
kubernetesConfig: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig,
|
|
6192
6275
|
management: DescribeClusterNodePoolDetailResponseBodyManagement,
|
|
6193
6276
|
maxNodes: 'number',
|
|
@@ -7487,7 +7570,7 @@ export class DescribeEventsRequest extends $tea.Model {
|
|
|
7487
7570
|
export class DescribeEventsResponseBody extends $tea.Model {
|
|
7488
7571
|
/**
|
|
7489
7572
|
* @remarks
|
|
7490
|
-
* The details of the
|
|
7573
|
+
* The details of the events.
|
|
7491
7574
|
*/
|
|
7492
7575
|
events?: DescribeEventsResponseBodyEvents[];
|
|
7493
7576
|
/**
|
|
@@ -7662,12 +7745,12 @@ export class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
|
|
|
7662
7745
|
* @remarks
|
|
7663
7746
|
* The query mode. Valid values:
|
|
7664
7747
|
*
|
|
7665
|
-
* * `supported`: queries all supported versions.
|
|
7666
|
-
* * `creatable`: queries only versions that
|
|
7748
|
+
* * `supported`: queries all supported Kubernetes versions.
|
|
7749
|
+
* * `creatable`: queries only Kubernetes versions of clusters that you can create.
|
|
7667
7750
|
*
|
|
7668
7751
|
* If you specify `KubernetesVersion`, this parameter does not take effect.
|
|
7669
7752
|
*
|
|
7670
|
-
*
|
|
7753
|
+
* If you do not specify a query mode, Kubernetes versions of clusters that you can create are returned.
|
|
7671
7754
|
*
|
|
7672
7755
|
* @example
|
|
7673
7756
|
* supported
|
|
@@ -9259,7 +9342,10 @@ export class GetClusterAddonInstanceResponse extends $tea.Model {
|
|
|
9259
9342
|
export class GetClusterAuditProjectResponseBody extends $tea.Model {
|
|
9260
9343
|
/**
|
|
9261
9344
|
* @remarks
|
|
9262
|
-
* Indicates whether the cluster auditing feature is enabled 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.
|
|
9263
9349
|
*
|
|
9264
9350
|
* @example
|
|
9265
9351
|
* true
|
|
@@ -10417,7 +10503,7 @@ export class ListTagResourcesRequest extends $tea.Model {
|
|
|
10417
10503
|
resourceType?: string;
|
|
10418
10504
|
/**
|
|
10419
10505
|
* @remarks
|
|
10420
|
-
* The
|
|
10506
|
+
* The labels that you want to query. You can specify up to 20 labels.
|
|
10421
10507
|
*
|
|
10422
10508
|
* @example
|
|
10423
10509
|
* [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}]
|
|
@@ -10489,7 +10575,7 @@ export class ListTagResourcesShrinkRequest extends $tea.Model {
|
|
|
10489
10575
|
resourceType?: string;
|
|
10490
10576
|
/**
|
|
10491
10577
|
* @remarks
|
|
10492
|
-
* The
|
|
10578
|
+
* The labels that you want to query. You can specify up to 20 labels.
|
|
10493
10579
|
*
|
|
10494
10580
|
* @example
|
|
10495
10581
|
* [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}]
|
|
@@ -11320,9 +11406,13 @@ export class ModifyClusterTagsResponse extends $tea.Model {
|
|
|
11320
11406
|
export class ModifyNodePoolNodeConfigRequest extends $tea.Model {
|
|
11321
11407
|
/**
|
|
11322
11408
|
* @remarks
|
|
11323
|
-
* The
|
|
11409
|
+
* The parameters of the kubelet.
|
|
11324
11410
|
*/
|
|
11325
11411
|
kubeletConfig?: KubeletConfig;
|
|
11412
|
+
/**
|
|
11413
|
+
* @remarks
|
|
11414
|
+
* Operating system parameter configuration.
|
|
11415
|
+
*/
|
|
11326
11416
|
osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
|
|
11327
11417
|
/**
|
|
11328
11418
|
* @remarks
|
|
@@ -12526,15 +12616,15 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12526
12616
|
runtime?: Runtime;
|
|
12527
12617
|
/**
|
|
12528
12618
|
* @remarks
|
|
12529
|
-
* The
|
|
12619
|
+
* The tags that you want to add to nodes. When you add labels to a node, the following rules apply:
|
|
12530
12620
|
*
|
|
12531
12621
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
12532
|
-
* * When you add a
|
|
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).
|
|
12533
12623
|
*/
|
|
12534
12624
|
tags?: Tag[];
|
|
12535
12625
|
/**
|
|
12536
12626
|
* @remarks
|
|
12537
|
-
* The taints that you want to add to nodes. Taints can be used together with tolerations to
|
|
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/).
|
|
12538
12628
|
*/
|
|
12539
12629
|
taints?: Taint[];
|
|
12540
12630
|
/**
|
|
@@ -12557,7 +12647,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12557
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:
|
|
12558
12648
|
*
|
|
12559
12649
|
* * `true`: enables auto-renewal.
|
|
12560
|
-
* * `false`:
|
|
12650
|
+
* * `false`: disables auto-renewal.
|
|
12561
12651
|
*
|
|
12562
12652
|
* Default value: `true`.
|
|
12563
12653
|
*
|
|
@@ -12589,7 +12679,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12589
12679
|
* * `PrePaid`: subscription.
|
|
12590
12680
|
* * `PostPaid`: pay-as-you-go.
|
|
12591
12681
|
*
|
|
12592
|
-
* Default value: `PostPaid
|
|
12682
|
+
* Default value: `PostPaid`
|
|
12593
12683
|
*
|
|
12594
12684
|
* @example
|
|
12595
12685
|
* PrePaid
|
|
@@ -12608,7 +12698,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12608
12698
|
*
|
|
12609
12699
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
12610
12700
|
*
|
|
12611
|
-
* Default value: 1
|
|
12701
|
+
* Default value: 1
|
|
12612
12702
|
*
|
|
12613
12703
|
* @example
|
|
12614
12704
|
* 1
|
|
@@ -13082,7 +13172,7 @@ export class SyncClusterNodePoolResponse extends $tea.Model {
|
|
|
13082
13172
|
export class TagResourcesRequest extends $tea.Model {
|
|
13083
13173
|
/**
|
|
13084
13174
|
* @remarks
|
|
13085
|
-
* The
|
|
13175
|
+
* The ID of the region in which the resource resides.
|
|
13086
13176
|
*
|
|
13087
13177
|
* This parameter is required.
|
|
13088
13178
|
*
|
|
@@ -13099,7 +13189,7 @@ export class TagResourcesRequest extends $tea.Model {
|
|
|
13099
13189
|
resourceIds?: string[];
|
|
13100
13190
|
/**
|
|
13101
13191
|
* @remarks
|
|
13102
|
-
* The type of
|
|
13192
|
+
* The type of resources that you want to label. Valid value: `CLUSTER`.
|
|
13103
13193
|
*
|
|
13104
13194
|
* This parameter is required.
|
|
13105
13195
|
*
|
|
@@ -13109,11 +13199,11 @@ export class TagResourcesRequest extends $tea.Model {
|
|
|
13109
13199
|
resourceType?: string;
|
|
13110
13200
|
/**
|
|
13111
13201
|
* @remarks
|
|
13112
|
-
* The
|
|
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:
|
|
13113
13203
|
*
|
|
13114
|
-
* *
|
|
13115
|
-
* *
|
|
13116
|
-
* *
|
|
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://`.
|
|
13117
13207
|
*
|
|
13118
13208
|
* This parameter is required.
|
|
13119
13209
|
*/
|
|
@@ -14283,7 +14373,7 @@ export class UpgradeClusterAddonsRequest extends $tea.Model {
|
|
|
14283
14373
|
export class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
14284
14374
|
/**
|
|
14285
14375
|
* @remarks
|
|
14286
|
-
* The ID
|
|
14376
|
+
* The cluster ID.
|
|
14287
14377
|
*
|
|
14288
14378
|
* @example
|
|
14289
14379
|
* cf4299b79b3e34226abfdc80a4bda****
|
|
@@ -14291,7 +14381,7 @@ export class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
|
14291
14381
|
clusterId?: string;
|
|
14292
14382
|
/**
|
|
14293
14383
|
* @remarks
|
|
14294
|
-
* The ID
|
|
14384
|
+
* The request ID.
|
|
14295
14385
|
*
|
|
14296
14386
|
* @example
|
|
14297
14387
|
* bfd12953-31cb-42f1-8a36-7b80ec345094
|
|
@@ -14299,7 +14389,7 @@ export class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
|
14299
14389
|
requestId?: string;
|
|
14300
14390
|
/**
|
|
14301
14391
|
* @remarks
|
|
14302
|
-
* The ID
|
|
14392
|
+
* The task ID.
|
|
14303
14393
|
*
|
|
14304
14394
|
* @example
|
|
14305
14395
|
* T-62a944794ee141074400****
|
|
@@ -14388,7 +14478,7 @@ export class UpgradeClusterNodepoolRequest extends $tea.Model {
|
|
|
14388
14478
|
runtimeType?: string;
|
|
14389
14479
|
/**
|
|
14390
14480
|
* @remarks
|
|
14391
|
-
* 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
|
|
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.
|
|
14392
14482
|
*
|
|
14393
14483
|
* @example
|
|
14394
14484
|
* 1.5.10
|
|
@@ -15454,7 +15544,25 @@ export class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
15454
15544
|
}
|
|
15455
15545
|
|
|
15456
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
|
+
*/
|
|
15457
15558
|
channel?: string;
|
|
15559
|
+
/**
|
|
15560
|
+
* @remarks
|
|
15561
|
+
* Whether to enable automatic cluster upgrades.
|
|
15562
|
+
*
|
|
15563
|
+
* @example
|
|
15564
|
+
* true
|
|
15565
|
+
*/
|
|
15458
15566
|
enabled?: boolean;
|
|
15459
15567
|
static names(): { [key: string]: string } {
|
|
15460
15568
|
return {
|
|
@@ -15476,6 +15584,10 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
15476
15584
|
}
|
|
15477
15585
|
|
|
15478
15586
|
export class CreateClusterRequestOperationPolicy extends $tea.Model {
|
|
15587
|
+
/**
|
|
15588
|
+
* @remarks
|
|
15589
|
+
* Automatic cluster upgrade
|
|
15590
|
+
*/
|
|
15479
15591
|
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
15480
15592
|
static names(): { [key: string]: string } {
|
|
15481
15593
|
return {
|
|
@@ -15507,12 +15619,12 @@ export class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
15507
15619
|
category?: string;
|
|
15508
15620
|
/**
|
|
15509
15621
|
* @remarks
|
|
15510
|
-
* Specifies whether to encrypt the data
|
|
15622
|
+
* Specifies whether to encrypt the data disks. Valid values:
|
|
15511
15623
|
*
|
|
15512
15624
|
* * `true`: encrypts the data disk.
|
|
15513
15625
|
* * `false`: does not encrypt the data disk.
|
|
15514
15626
|
*
|
|
15515
|
-
* Default value: `false
|
|
15627
|
+
* Default value: `false`
|
|
15516
15628
|
*
|
|
15517
15629
|
* @example
|
|
15518
15630
|
* true
|
|
@@ -15568,7 +15680,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
15568
15680
|
*
|
|
15569
15681
|
* **
|
|
15570
15682
|
*
|
|
15571
|
-
* **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.
|
|
15572
15684
|
*
|
|
15573
15685
|
* @example
|
|
15574
15686
|
* 5
|
|
@@ -15589,7 +15701,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
15589
15701
|
*
|
|
15590
15702
|
* **
|
|
15591
15703
|
*
|
|
15592
|
-
* **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.
|
|
15593
15705
|
*
|
|
15594
15706
|
* @example
|
|
15595
15707
|
* PayByBandwidth
|
|
@@ -15623,7 +15735,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
15623
15735
|
*
|
|
15624
15736
|
* **
|
|
15625
15737
|
*
|
|
15626
|
-
* **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.
|
|
15627
15739
|
*
|
|
15628
15740
|
* @example
|
|
15629
15741
|
* true
|
|
@@ -15785,7 +15897,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
15785
15897
|
cmsEnabled?: boolean;
|
|
15786
15898
|
/**
|
|
15787
15899
|
* @remarks
|
|
15788
|
-
* The CPU management policy of nodes
|
|
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:
|
|
15789
15901
|
*
|
|
15790
15902
|
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
15791
15903
|
* * `none`: specifies that the default CPU affinity is used.
|
|
@@ -15798,12 +15910,12 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
15798
15910
|
cpuPolicy?: string;
|
|
15799
15911
|
/**
|
|
15800
15912
|
* @remarks
|
|
15801
|
-
* 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.
|
|
15802
15914
|
*/
|
|
15803
15915
|
labels?: Tag[];
|
|
15804
15916
|
/**
|
|
15805
15917
|
* @remarks
|
|
15806
|
-
*
|
|
15918
|
+
* A custom node name consists of a prefix, a node IP address, and a suffix.
|
|
15807
15919
|
*
|
|
15808
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.
|
|
15809
15921
|
* * The node IP address in a custom node name is the private IP address of the node.
|
|
@@ -15814,10 +15926,17 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
15814
15926
|
* customized,aliyun,ip,com
|
|
15815
15927
|
*/
|
|
15816
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
|
+
*/
|
|
15817
15936
|
preUserData?: string;
|
|
15818
15937
|
/**
|
|
15819
15938
|
* @remarks
|
|
15820
|
-
* The name of the container runtime. The following types of runtime are supported by
|
|
15939
|
+
* The name of the container runtime. The following types of runtime are supported by ACK:
|
|
15821
15940
|
*
|
|
15822
15941
|
* * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
|
|
15823
15942
|
* * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.24 and earlier.
|
|
@@ -15852,7 +15971,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
15852
15971
|
unschedulable?: boolean;
|
|
15853
15972
|
/**
|
|
15854
15973
|
* @remarks
|
|
15855
|
-
* The user data
|
|
15974
|
+
* The user-defined data of nodes. You can specify custom scripts that are automatically executed after the nodes are initialized.
|
|
15856
15975
|
*
|
|
15857
15976
|
* @example
|
|
15858
15977
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -15995,9 +16114,9 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
15995
16114
|
* @remarks
|
|
15996
16115
|
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
|
|
15997
16116
|
*
|
|
15998
|
-
* * `asap`: high.
|
|
15999
|
-
* * `later`: medium.
|
|
16000
|
-
* * `nntf`: low.
|
|
16117
|
+
* * `asap`: high severity.
|
|
16118
|
+
* * `later`: medium severity.
|
|
16119
|
+
* * `nntf`: low severity.
|
|
16001
16120
|
*
|
|
16002
16121
|
* If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
|
|
16003
16122
|
*
|
|
@@ -16034,7 +16153,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
16034
16153
|
*
|
|
16035
16154
|
* **
|
|
16036
16155
|
*
|
|
16037
|
-
* **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter.
|
|
16156
|
+
* **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter instead.
|
|
16038
16157
|
*
|
|
16039
16158
|
* @example
|
|
16040
16159
|
* false
|
|
@@ -16044,9 +16163,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
16044
16163
|
autoUpgrade?: boolean;
|
|
16045
16164
|
/**
|
|
16046
16165
|
* @remarks
|
|
16047
|
-
* The maximum number of
|
|
16166
|
+
* The maximum number of nodes that can be in the Unavailable state. Valid values: 1 to 1000.
|
|
16048
16167
|
*
|
|
16049
|
-
* Default value: 1
|
|
16168
|
+
* Default value: 1.
|
|
16050
16169
|
*
|
|
16051
16170
|
* @example
|
|
16052
16171
|
* 1
|
|
@@ -16054,7 +16173,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
16054
16173
|
maxUnavailable?: number;
|
|
16055
16174
|
/**
|
|
16056
16175
|
* @remarks
|
|
16057
|
-
* The number of additional nodes
|
|
16176
|
+
* The number of additional nodes.
|
|
16058
16177
|
*
|
|
16059
16178
|
* @example
|
|
16060
16179
|
* 0
|
|
@@ -16275,7 +16394,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
|
16275
16394
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $tea.Model {
|
|
16276
16395
|
/**
|
|
16277
16396
|
* @remarks
|
|
16278
|
-
* The private node pool
|
|
16397
|
+
* The ID of the private node pool.
|
|
16279
16398
|
*
|
|
16280
16399
|
* @example
|
|
16281
16400
|
* eap-bp67acfmxazb4****
|
|
@@ -16285,9 +16404,9 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
16285
16404
|
* @remarks
|
|
16286
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:
|
|
16287
16406
|
*
|
|
16288
|
-
* * `Open`: open private
|
|
16289
|
-
* * `Target`: private
|
|
16290
|
-
* * `None`:
|
|
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.
|
|
16291
16410
|
*
|
|
16292
16411
|
* @example
|
|
16293
16412
|
* Open
|
|
@@ -16323,7 +16442,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea
|
|
|
16323
16442
|
instanceType?: string;
|
|
16324
16443
|
/**
|
|
16325
16444
|
* @remarks
|
|
16326
|
-
* The price cap of a preemptible instance.
|
|
16445
|
+
* The price cap of a preemptible instance of the type.
|
|
16327
16446
|
*
|
|
16328
16447
|
* @example
|
|
16329
16448
|
* 0.39
|
|
@@ -16410,7 +16529,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16410
16529
|
autoRenewPeriod?: number;
|
|
16411
16530
|
/**
|
|
16412
16531
|
* @remarks
|
|
16413
|
-
* This parameter is deprecated. Use security_hardening_os instead.
|
|
16532
|
+
* This parameter is deprecated. Use the security_hardening_os parameter instead.
|
|
16414
16533
|
*
|
|
16415
16534
|
* @example
|
|
16416
16535
|
* false
|
|
@@ -16431,7 +16550,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16431
16550
|
compensateWithOnDemand?: boolean;
|
|
16432
16551
|
/**
|
|
16433
16552
|
* @remarks
|
|
16434
|
-
* The configurations of the data disks that are
|
|
16553
|
+
* The configurations of the data disks that are attached to nodes in the node pool.
|
|
16435
16554
|
*/
|
|
16436
16555
|
dataDisks?: DataDisk[];
|
|
16437
16556
|
/**
|
|
@@ -16452,7 +16571,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16452
16571
|
desiredSize?: number;
|
|
16453
16572
|
/**
|
|
16454
16573
|
* @remarks
|
|
16455
|
-
* 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.
|
|
16456
16575
|
*
|
|
16457
16576
|
* @example
|
|
16458
16577
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -16493,7 +16612,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16493
16612
|
instanceChargeType?: string;
|
|
16494
16613
|
/**
|
|
16495
16614
|
* @remarks
|
|
16496
|
-
* The instance
|
|
16615
|
+
* The instance properties.
|
|
16497
16616
|
*/
|
|
16498
16617
|
instancePatterns?: InstancePatterns[];
|
|
16499
16618
|
/**
|
|
@@ -16544,7 +16663,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16544
16663
|
loginAsNonRoot?: boolean;
|
|
16545
16664
|
/**
|
|
16546
16665
|
* @remarks
|
|
16547
|
-
* The password for SSH logon. You must specify this parameter or `key_pair
|
|
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.
|
|
16548
16667
|
*
|
|
16549
16668
|
* @example
|
|
16550
16669
|
* Hello1234
|
|
@@ -16556,13 +16675,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16556
16675
|
*
|
|
16557
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.
|
|
16558
16677
|
*
|
|
16559
|
-
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created
|
|
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.
|
|
16560
16679
|
*
|
|
16561
16680
|
* **
|
|
16562
16681
|
*
|
|
16563
|
-
* **Note** `COST_OPTIMIZED`
|
|
16682
|
+
* **Note** `COST_OPTIMIZED` takes effect only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
16564
16683
|
*
|
|
16565
|
-
* * `BALANCE`: ECS instances are evenly distributed across multiple 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.
|
|
16566
16685
|
*
|
|
16567
16686
|
* Default value: `PRIORITY`.
|
|
16568
16687
|
*
|
|
@@ -16572,7 +16691,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16572
16691
|
multiAzPolicy?: string;
|
|
16573
16692
|
/**
|
|
16574
16693
|
* @remarks
|
|
16575
|
-
* 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
|
|
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.
|
|
16576
16695
|
*
|
|
16577
16696
|
* @example
|
|
16578
16697
|
* 0
|
|
@@ -16612,7 +16731,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16612
16731
|
periodUnit?: string;
|
|
16613
16732
|
/**
|
|
16614
16733
|
* @remarks
|
|
16615
|
-
* The
|
|
16734
|
+
* The operating system distribution. Valid values:
|
|
16616
16735
|
*
|
|
16617
16736
|
* * `CentOS`
|
|
16618
16737
|
* * `AliyunLinux`
|
|
@@ -16634,7 +16753,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16634
16753
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
16635
16754
|
/**
|
|
16636
16755
|
* @remarks
|
|
16637
|
-
* The name of the worker
|
|
16756
|
+
* The name of the worker RAM role.
|
|
16638
16757
|
*
|
|
16639
16758
|
* * If you do not specify this parameter, the default worker RAM role created by the cluster is used.
|
|
16640
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-`.
|
|
@@ -16656,7 +16775,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16656
16775
|
* @remarks
|
|
16657
16776
|
* The scaling mode of the scaling group. Valid values:
|
|
16658
16777
|
*
|
|
16659
|
-
* * `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.
|
|
16660
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.
|
|
16661
16780
|
*
|
|
16662
16781
|
* Default value: `release`.
|
|
@@ -16692,7 +16811,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16692
16811
|
securityHardeningOs?: boolean;
|
|
16693
16812
|
/**
|
|
16694
16813
|
* @remarks
|
|
16695
|
-
* Specifies whether to enable MLPS Security Hardening. You can enable
|
|
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.
|
|
16696
16815
|
*
|
|
16697
16816
|
* @example
|
|
16698
16817
|
* false
|
|
@@ -16708,10 +16827,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16708
16827
|
spotInstancePools?: number;
|
|
16709
16828
|
/**
|
|
16710
16829
|
* @remarks
|
|
16711
|
-
* Specifies whether to
|
|
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:
|
|
16712
16831
|
*
|
|
16713
|
-
* * `true`:
|
|
16714
|
-
* * `false`:
|
|
16832
|
+
* * `true`: enables the supplementation of preemptible instances.
|
|
16833
|
+
* * `false`: disables the supplementation of preemptible instances.
|
|
16715
16834
|
*
|
|
16716
16835
|
* @example
|
|
16717
16836
|
* false
|
|
@@ -16727,10 +16846,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16727
16846
|
* The bidding policy of preemptible instances. Valid values:
|
|
16728
16847
|
*
|
|
16729
16848
|
* * `NoSpot`: non-preemptible.
|
|
16730
|
-
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
16849
|
+
* * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
|
|
16731
16850
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
16732
16851
|
*
|
|
16733
|
-
* For more information, see [
|
|
16852
|
+
* For more information, see [Use preemptible instances](https://help.aliyun.com/document_detail/165053.html).
|
|
16734
16853
|
*
|
|
16735
16854
|
* @example
|
|
16736
16855
|
* NoSpot
|
|
@@ -16751,7 +16870,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16751
16870
|
systemDiskBurstingEnabled?: boolean;
|
|
16752
16871
|
/**
|
|
16753
16872
|
* @remarks
|
|
16754
|
-
* The system disk
|
|
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:
|
|
16755
16874
|
*
|
|
16756
16875
|
* * `cloud`: basic disk.
|
|
16757
16876
|
* * `cloud_efficiency`: ultra disk.
|
|
@@ -16763,7 +16882,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16763
16882
|
systemDiskCategories?: string[];
|
|
16764
16883
|
/**
|
|
16765
16884
|
* @remarks
|
|
16766
|
-
* The system disk
|
|
16885
|
+
* The category of the system disk for nodes. Valid values:
|
|
16767
16886
|
*
|
|
16768
16887
|
* * `cloud`: basic disk.
|
|
16769
16888
|
* * `cloud_efficiency`: ultra disk.
|
|
@@ -16821,7 +16940,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16821
16940
|
* @remarks
|
|
16822
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}.
|
|
16823
16942
|
*
|
|
16824
|
-
* This parameter is
|
|
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).
|
|
16825
16944
|
*
|
|
16826
16945
|
* @example
|
|
16827
16946
|
* 1000
|
|
@@ -16841,7 +16960,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16841
16960
|
* @remarks
|
|
16842
16961
|
* The labels that you want to add only to ECS instances.
|
|
16843
16962
|
*
|
|
16844
|
-
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs:
|
|
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://.
|
|
16845
16964
|
*/
|
|
16846
16965
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
16847
16966
|
/**
|
|
@@ -17206,7 +17325,27 @@ export class DescribeAddonsResponseBodyComponentGroups extends $tea.Model {
|
|
|
17206
17325
|
}
|
|
17207
17326
|
|
|
17208
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
|
+
*/
|
|
17209
17341
|
channel?: string;
|
|
17342
|
+
/**
|
|
17343
|
+
* @remarks
|
|
17344
|
+
* Specifies whether to enable auto cluster update.
|
|
17345
|
+
*
|
|
17346
|
+
* @example
|
|
17347
|
+
* true
|
|
17348
|
+
*/
|
|
17210
17349
|
enabled?: boolean;
|
|
17211
17350
|
static names(): { [key: string]: string } {
|
|
17212
17351
|
return {
|
|
@@ -17228,6 +17367,10 @@ export class DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade
|
|
|
17228
17367
|
}
|
|
17229
17368
|
|
|
17230
17369
|
export class DescribeClusterDetailResponseBodyOperationPolicy extends $tea.Model {
|
|
17370
|
+
/**
|
|
17371
|
+
* @remarks
|
|
17372
|
+
* The configurations of auto cluster update.
|
|
17373
|
+
*/
|
|
17231
17374
|
clusterAutoUpgrade?: DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade;
|
|
17232
17375
|
static names(): { [key: string]: string } {
|
|
17233
17376
|
return {
|
|
@@ -17723,6 +17866,10 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
17723
17866
|
* customized,test.,5,.com
|
|
17724
17867
|
*/
|
|
17725
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
|
+
*/
|
|
17726
17873
|
preUserData?: string;
|
|
17727
17874
|
/**
|
|
17728
17875
|
* @remarks
|
|
@@ -17755,7 +17902,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
17755
17902
|
unschedulable?: boolean;
|
|
17756
17903
|
/**
|
|
17757
17904
|
* @remarks
|
|
17758
|
-
* The
|
|
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).
|
|
17759
17906
|
*
|
|
17760
17907
|
* @example
|
|
17761
17908
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -19111,7 +19258,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
19111
19258
|
cpuPolicy?: string;
|
|
19112
19259
|
/**
|
|
19113
19260
|
* @remarks
|
|
19114
|
-
* The labels that
|
|
19261
|
+
* The labels that are added to the nodes in the cluster. You must add labels based on the following rules:
|
|
19115
19262
|
*
|
|
19116
19263
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
19117
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).
|
|
@@ -19130,6 +19277,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
19130
19277
|
* customized,test.,5,.com
|
|
19131
19278
|
*/
|
|
19132
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
|
+
*/
|
|
19133
19287
|
preUserData?: string;
|
|
19134
19288
|
/**
|
|
19135
19289
|
* @remarks
|
|
@@ -19149,7 +19303,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
19149
19303
|
runtimeVersion?: string;
|
|
19150
19304
|
/**
|
|
19151
19305
|
* @remarks
|
|
19152
|
-
* The taints of the nodes in the node pool. Taints can be used together with tolerations to prevent pods from being scheduled to
|
|
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/).
|
|
19153
19307
|
*/
|
|
19154
19308
|
taints?: Taint[];
|
|
19155
19309
|
/**
|
|
@@ -19162,7 +19316,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
19162
19316
|
unschedulable?: boolean;
|
|
19163
19317
|
/**
|
|
19164
19318
|
* @remarks
|
|
19165
|
-
* The user
|
|
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).
|
|
19166
19320
|
*
|
|
19167
19321
|
* @example
|
|
19168
19322
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -19447,7 +19601,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $te
|
|
|
19447
19601
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig extends $tea.Model {
|
|
19448
19602
|
/**
|
|
19449
19603
|
* @remarks
|
|
19450
|
-
* The
|
|
19604
|
+
* The configurations of the kubelet.
|
|
19451
19605
|
*/
|
|
19452
19606
|
kubeletConfiguration?: KubeletConfig;
|
|
19453
19607
|
static names(): { [key: string]: string } {
|
|
@@ -19742,7 +19896,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
19742
19896
|
instanceChargeType?: string;
|
|
19743
19897
|
/**
|
|
19744
19898
|
* @remarks
|
|
19745
|
-
*
|
|
19899
|
+
* The attributes of an instance.
|
|
19746
19900
|
*/
|
|
19747
19901
|
instancePatterns?: InstancePatterns[];
|
|
19748
19902
|
/**
|
|
@@ -19988,7 +20142,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
19988
20142
|
systemDiskBurstingEnabled?: boolean;
|
|
19989
20143
|
/**
|
|
19990
20144
|
* @remarks
|
|
19991
|
-
* The system
|
|
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).
|
|
19992
20146
|
*/
|
|
19993
20147
|
systemDiskCategories?: string[];
|
|
19994
20148
|
/**
|
|
@@ -20004,7 +20158,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
20004
20158
|
systemDiskCategory?: string;
|
|
20005
20159
|
/**
|
|
20006
20160
|
* @remarks
|
|
20007
|
-
* The algorithm that
|
|
20161
|
+
* The encryption algorithm that is used to encrypt the system disk. The value is aes-256.
|
|
20008
20162
|
*
|
|
20009
20163
|
* @example
|
|
20010
20164
|
* aes-256
|
|
@@ -20057,7 +20211,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
20057
20211
|
systemDiskSize?: number;
|
|
20058
20212
|
/**
|
|
20059
20213
|
* @remarks
|
|
20060
|
-
* The
|
|
20214
|
+
* The labels that you want to add only to Elastic Compute Service (ECS) instances.
|
|
20061
20215
|
*
|
|
20062
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://.
|
|
20063
20217
|
*/
|
|
@@ -20362,7 +20516,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.Model {
|
|
|
20362
20516
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
20363
20517
|
/**
|
|
20364
20518
|
* @remarks
|
|
20365
|
-
* The
|
|
20519
|
+
* The configurations of the scaling group.
|
|
20366
20520
|
*/
|
|
20367
20521
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
20368
20522
|
/**
|
|
@@ -21334,7 +21488,27 @@ export class DescribeClustersResponseBody extends $tea.Model {
|
|
|
21334
21488
|
}
|
|
21335
21489
|
|
|
21336
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
|
+
*/
|
|
21337
21504
|
channel?: string;
|
|
21505
|
+
/**
|
|
21506
|
+
* @remarks
|
|
21507
|
+
* Specifies whether to enable auto cluster update.
|
|
21508
|
+
*
|
|
21509
|
+
* @example
|
|
21510
|
+
* true
|
|
21511
|
+
*/
|
|
21338
21512
|
enabled?: boolean;
|
|
21339
21513
|
static names(): { [key: string]: string } {
|
|
21340
21514
|
return {
|
|
@@ -21356,6 +21530,10 @@ export class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpg
|
|
|
21356
21530
|
}
|
|
21357
21531
|
|
|
21358
21532
|
export class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.Model {
|
|
21533
|
+
/**
|
|
21534
|
+
* @remarks
|
|
21535
|
+
* The configurations of auto cluster update.
|
|
21536
|
+
*/
|
|
21359
21537
|
clusterAutoUpgrade?: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade;
|
|
21360
21538
|
static names(): { [key: string]: string } {
|
|
21361
21539
|
return {
|
|
@@ -21376,6 +21554,9 @@ export class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.
|
|
|
21376
21554
|
|
|
21377
21555
|
export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
21378
21556
|
/**
|
|
21557
|
+
* @remarks
|
|
21558
|
+
* The domain name of the cluster.
|
|
21559
|
+
*
|
|
21379
21560
|
* @example
|
|
21380
21561
|
* cluster.local
|
|
21381
21562
|
*/
|
|
@@ -21410,6 +21591,9 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21410
21591
|
*/
|
|
21411
21592
|
clusterType?: string;
|
|
21412
21593
|
/**
|
|
21594
|
+
* @remarks
|
|
21595
|
+
* The pod CIDR block.
|
|
21596
|
+
*
|
|
21413
21597
|
* @example
|
|
21414
21598
|
* 172.20.0.0/16
|
|
21415
21599
|
*/
|
|
@@ -21470,6 +21654,12 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21470
21654
|
*/
|
|
21471
21655
|
initVersion?: string;
|
|
21472
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
|
+
*
|
|
21473
21663
|
* @example
|
|
21474
21664
|
* ipv4
|
|
21475
21665
|
*/
|
|
@@ -21526,6 +21716,10 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21526
21716
|
* 1.18.8-aliyun.1
|
|
21527
21717
|
*/
|
|
21528
21718
|
nextVersion?: string;
|
|
21719
|
+
/**
|
|
21720
|
+
* @remarks
|
|
21721
|
+
* The automatic O\\&M policy of the cluster.
|
|
21722
|
+
*/
|
|
21529
21723
|
operationPolicy?: DescribeClustersV1ResponseBodyClustersOperationPolicy;
|
|
21530
21724
|
/**
|
|
21531
21725
|
* @remarks
|
|
@@ -21552,6 +21746,9 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21552
21746
|
*/
|
|
21553
21747
|
profile?: string;
|
|
21554
21748
|
/**
|
|
21749
|
+
* @remarks
|
|
21750
|
+
* The kube-proxy mode. Valid values: ipvs and iptables.
|
|
21751
|
+
*
|
|
21555
21752
|
* @example
|
|
21556
21753
|
* ipvs
|
|
21557
21754
|
*/
|
|
@@ -21582,6 +21779,8 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21582
21779
|
securityGroupId?: string;
|
|
21583
21780
|
/**
|
|
21584
21781
|
* @remarks
|
|
21782
|
+
* The Service CIDR block.
|
|
21783
|
+
*
|
|
21585
21784
|
* This parameter is required.
|
|
21586
21785
|
*
|
|
21587
21786
|
* @example
|
|
@@ -21590,7 +21789,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21590
21789
|
serviceCidr?: string;
|
|
21591
21790
|
/**
|
|
21592
21791
|
* @remarks
|
|
21593
|
-
* The number of nodes in the cluster, including
|
|
21792
|
+
* The number of nodes in the cluster, including control planes and worker nodes.
|
|
21594
21793
|
*
|
|
21595
21794
|
* @example
|
|
21596
21795
|
* 5
|
|
@@ -21625,7 +21824,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21625
21824
|
*
|
|
21626
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.
|
|
21627
21826
|
*
|
|
21628
|
-
* 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).
|
|
21629
21828
|
*
|
|
21630
21829
|
* @example
|
|
21631
21830
|
* 172.21.0.0/16
|
|
@@ -21639,6 +21838,9 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21639
21838
|
*/
|
|
21640
21839
|
tags?: Tag[];
|
|
21641
21840
|
/**
|
|
21841
|
+
* @remarks
|
|
21842
|
+
* The time zone.
|
|
21843
|
+
*
|
|
21642
21844
|
* @example
|
|
21643
21845
|
* Asia/Shanghai
|
|
21644
21846
|
*/
|
|
@@ -21661,7 +21863,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21661
21863
|
vpcId?: string;
|
|
21662
21864
|
/**
|
|
21663
21865
|
* @remarks
|
|
21664
|
-
* The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster.
|
|
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.
|
|
21665
21867
|
*
|
|
21666
21868
|
* @example
|
|
21667
21869
|
* vsw-2vc41xuumx5z2rdma****,vsw-2vc41xuumx5z2rdma****
|
|
@@ -21669,6 +21871,10 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21669
21871
|
* @deprecated
|
|
21670
21872
|
*/
|
|
21671
21873
|
vswitchId?: string;
|
|
21874
|
+
/**
|
|
21875
|
+
* @remarks
|
|
21876
|
+
* The vSwitches of the control planes.
|
|
21877
|
+
*/
|
|
21672
21878
|
vswitchIds?: string[];
|
|
21673
21879
|
/**
|
|
21674
21880
|
* @remarks
|
|
@@ -22086,7 +22292,11 @@ export class DescribeEdgeMachinesResponseBodyPageInfo extends $tea.Model {
|
|
|
22086
22292
|
export class DescribeEventsResponseBodyEventsData extends $tea.Model {
|
|
22087
22293
|
/**
|
|
22088
22294
|
* @remarks
|
|
22089
|
-
* The severity level of the event.
|
|
22295
|
+
* The severity level of the event. Valid values:
|
|
22296
|
+
*
|
|
22297
|
+
* * info
|
|
22298
|
+
* * warning
|
|
22299
|
+
* * error
|
|
22090
22300
|
*
|
|
22091
22301
|
* @example
|
|
22092
22302
|
* info
|
|
@@ -22521,6 +22731,9 @@ export class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Mode
|
|
|
22521
22731
|
/**
|
|
22522
22732
|
* @remarks
|
|
22523
22733
|
* Indicates whether a restart is required.
|
|
22734
|
+
*
|
|
22735
|
+
* @example
|
|
22736
|
+
* false
|
|
22524
22737
|
*/
|
|
22525
22738
|
needReboot?: boolean;
|
|
22526
22739
|
static names(): { [key: string]: string } {
|
|
@@ -23091,6 +23304,26 @@ export class DescribePolicyInstancesResponseBody extends $tea.Model {
|
|
|
23091
23304
|
* deny
|
|
23092
23305
|
*/
|
|
23093
23306
|
policyAction?: string;
|
|
23307
|
+
/**
|
|
23308
|
+
* @deprecated
|
|
23309
|
+
*/
|
|
23310
|
+
created?: string;
|
|
23311
|
+
/**
|
|
23312
|
+
* @deprecated
|
|
23313
|
+
*/
|
|
23314
|
+
updated?: string;
|
|
23315
|
+
/**
|
|
23316
|
+
* @deprecated
|
|
23317
|
+
*/
|
|
23318
|
+
resourceId?: string;
|
|
23319
|
+
/**
|
|
23320
|
+
* @deprecated
|
|
23321
|
+
*/
|
|
23322
|
+
totalViolations?: number;
|
|
23323
|
+
/**
|
|
23324
|
+
* @deprecated
|
|
23325
|
+
*/
|
|
23326
|
+
isDeleted?: number;
|
|
23094
23327
|
static names(): { [key: string]: string } {
|
|
23095
23328
|
return {
|
|
23096
23329
|
aliUid: 'ali_uid',
|
|
@@ -23103,6 +23336,11 @@ export class DescribePolicyInstancesResponseBody extends $tea.Model {
|
|
|
23103
23336
|
policySeverity: 'policy_severity',
|
|
23104
23337
|
policyScope: 'policy_scope',
|
|
23105
23338
|
policyAction: 'policy_action',
|
|
23339
|
+
created: 'Created',
|
|
23340
|
+
updated: 'Updated',
|
|
23341
|
+
resourceId: 'resource_id',
|
|
23342
|
+
totalViolations: 'total_violations',
|
|
23343
|
+
isDeleted: 'is_deleted',
|
|
23106
23344
|
};
|
|
23107
23345
|
}
|
|
23108
23346
|
|
|
@@ -23118,6 +23356,11 @@ export class DescribePolicyInstancesResponseBody extends $tea.Model {
|
|
|
23118
23356
|
policySeverity: 'string',
|
|
23119
23357
|
policyScope: 'string',
|
|
23120
23358
|
policyAction: 'string',
|
|
23359
|
+
created: 'string',
|
|
23360
|
+
updated: 'string',
|
|
23361
|
+
resourceId: 'string',
|
|
23362
|
+
totalViolations: 'number',
|
|
23363
|
+
isDeleted: 'number',
|
|
23121
23364
|
};
|
|
23122
23365
|
}
|
|
23123
23366
|
|
|
@@ -25161,9 +25404,9 @@ export class ListUserKubeConfigStatesResponseBodyStates extends $tea.Model {
|
|
|
25161
25404
|
clusterId?: string;
|
|
25162
25405
|
/**
|
|
25163
25406
|
* @remarks
|
|
25164
|
-
* The cluster
|
|
25407
|
+
* The name of the cluster.
|
|
25165
25408
|
*
|
|
25166
|
-
* The name must be 1 to 63 characters in length, and can contain digits,
|
|
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.
|
|
25167
25410
|
*
|
|
25168
25411
|
* @example
|
|
25169
25412
|
* cluster-demo
|
|
@@ -25179,8 +25422,6 @@ export class ListUserKubeConfigStatesResponseBodyStates extends $tea.Model {
|
|
|
25179
25422
|
* * `updating`: The cluster is being upgraded.
|
|
25180
25423
|
* * `updating_failed`: The cluster failed to be updated.
|
|
25181
25424
|
* * `scaling`: The cluster is being scaled.
|
|
25182
|
-
* * `waiting`: The cluster is waiting for connection requests.
|
|
25183
|
-
* * `disconnected`: The cluster is disconnected.
|
|
25184
25425
|
* * `stopped`: The cluster is stopped.
|
|
25185
25426
|
* * `deleting`: The cluster is being deleted.
|
|
25186
25427
|
* * `deleted`: The cluster is deleted.
|
|
@@ -25450,7 +25691,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
25450
25691
|
* Specifies whether to enable auto scaling. Valid values:
|
|
25451
25692
|
*
|
|
25452
25693
|
* * `true`: enables auto scaling for the node pool.
|
|
25453
|
-
* * `false`: disables auto scaling for the node pool. If you set this parameter to false, other parameters in
|
|
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.
|
|
25454
25695
|
*
|
|
25455
25696
|
* Default value: `false`.
|
|
25456
25697
|
*
|
|
@@ -25491,7 +25732,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
25491
25732
|
minInstances?: number;
|
|
25492
25733
|
/**
|
|
25493
25734
|
* @remarks
|
|
25494
|
-
* The instance
|
|
25735
|
+
* The instance type that is used for auto scaling. Valid values:
|
|
25495
25736
|
*
|
|
25496
25737
|
* * `cpu`: regular instance.
|
|
25497
25738
|
* * `gpu`: GPU-accelerated instance.
|
|
@@ -25551,7 +25792,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25551
25792
|
cmsEnabled?: boolean;
|
|
25552
25793
|
/**
|
|
25553
25794
|
* @remarks
|
|
25554
|
-
* The CPU management policy of nodes
|
|
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:
|
|
25555
25796
|
*
|
|
25556
25797
|
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
25557
25798
|
* * `none`: specifies that the default CPU affinity is used.
|
|
@@ -25570,6 +25811,13 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25570
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).
|
|
25571
25812
|
*/
|
|
25572
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
|
+
*/
|
|
25573
25821
|
preUserData?: string;
|
|
25574
25822
|
/**
|
|
25575
25823
|
* @remarks
|
|
@@ -25602,7 +25850,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25602
25850
|
unschedulable?: boolean;
|
|
25603
25851
|
/**
|
|
25604
25852
|
* @remarks
|
|
25605
|
-
* The user
|
|
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).
|
|
25606
25854
|
*
|
|
25607
25855
|
* @example
|
|
25608
25856
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -25784,7 +26032,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
25784
26032
|
*
|
|
25785
26033
|
* Valid values: 1 to 1000.
|
|
25786
26034
|
*
|
|
25787
|
-
* Default value: 1
|
|
26035
|
+
* Default value: 1.
|
|
25788
26036
|
*
|
|
25789
26037
|
* @example
|
|
25790
26038
|
* 1
|
|
@@ -25852,7 +26100,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
25852
26100
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
25853
26101
|
/**
|
|
25854
26102
|
* @remarks
|
|
25855
|
-
*
|
|
26103
|
+
* Indicates whether auto update is enabled. Valid values:
|
|
25856
26104
|
*
|
|
25857
26105
|
* * `true`: enables auto update.
|
|
25858
26106
|
* * `false`: disables auto update.
|
|
@@ -26014,7 +26262,7 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
26014
26262
|
export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
26015
26263
|
/**
|
|
26016
26264
|
* @remarks
|
|
26017
|
-
* The
|
|
26265
|
+
* The price cap of a preemptible instance.
|
|
26018
26266
|
*
|
|
26019
26267
|
* @example
|
|
26020
26268
|
* ecs.c6.large
|
|
@@ -26077,7 +26325,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26077
26325
|
* @remarks
|
|
26078
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:
|
|
26079
26327
|
*
|
|
26080
|
-
* * `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.
|
|
26081
26329
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
26082
26330
|
*
|
|
26083
26331
|
* @example
|
|
@@ -26148,10 +26396,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26148
26396
|
instanceTypes?: string[];
|
|
26149
26397
|
/**
|
|
26150
26398
|
* @remarks
|
|
26151
|
-
* The
|
|
26399
|
+
* The metering method of the public IP address. Valid values:
|
|
26152
26400
|
*
|
|
26153
26401
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
26154
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
26402
|
+
* * `PayByTraffic`: pay-by-data-transfer
|
|
26155
26403
|
*
|
|
26156
26404
|
* @example
|
|
26157
26405
|
* PayByBandwidth
|
|
@@ -26167,7 +26415,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26167
26415
|
internetMaxBandwidthOut?: number;
|
|
26168
26416
|
/**
|
|
26169
26417
|
* @remarks
|
|
26170
|
-
* The name of the key pair. You must specify this parameter or
|
|
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.
|
|
26171
26419
|
*
|
|
26172
26420
|
* @example
|
|
26173
26421
|
* pro-nodepool
|
|
@@ -26175,7 +26423,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26175
26423
|
keyPair?: string;
|
|
26176
26424
|
/**
|
|
26177
26425
|
* @remarks
|
|
26178
|
-
* The password for SSH logon. You must specify this parameter or
|
|
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.
|
|
26179
26427
|
*
|
|
26180
26428
|
* @example
|
|
26181
26429
|
* Hello1234
|
|
@@ -26256,12 +26504,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26256
26504
|
platform?: string;
|
|
26257
26505
|
/**
|
|
26258
26506
|
* @remarks
|
|
26259
|
-
* The
|
|
26507
|
+
* The configuration of the private node pool.
|
|
26260
26508
|
*/
|
|
26261
26509
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
26262
26510
|
/**
|
|
26263
26511
|
* @remarks
|
|
26264
|
-
*
|
|
26512
|
+
* The ApsaraDB RDS instances.
|
|
26265
26513
|
*/
|
|
26266
26514
|
rdsInstances?: string[];
|
|
26267
26515
|
/**
|
|
@@ -26328,10 +26576,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26328
26576
|
systemDiskCategories?: string[];
|
|
26329
26577
|
/**
|
|
26330
26578
|
* @remarks
|
|
26331
|
-
* The type of
|
|
26579
|
+
* The type of system disk. Valid values:
|
|
26332
26580
|
*
|
|
26333
26581
|
* * `cloud_efficiency`: ultra disk.
|
|
26334
|
-
* * `cloud_ssd`: standard SSD
|
|
26582
|
+
* * `cloud_ssd`: standard SSD
|
|
26335
26583
|
*
|
|
26336
26584
|
* Default value: `cloud_ssd`.
|
|
26337
26585
|
*
|
|
@@ -26341,7 +26589,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26341
26589
|
systemDiskCategory?: string;
|
|
26342
26590
|
/**
|
|
26343
26591
|
* @remarks
|
|
26344
|
-
* The encryption algorithm that is used by the system disk.
|
|
26592
|
+
* The encryption algorithm that is used by the system disk. The value is aes-256.
|
|
26345
26593
|
*
|
|
26346
26594
|
* @example
|
|
26347
26595
|
* aes-256
|
|
@@ -26349,7 +26597,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26349
26597
|
systemDiskEncryptAlgorithm?: string;
|
|
26350
26598
|
/**
|
|
26351
26599
|
* @remarks
|
|
26352
|
-
*
|
|
26600
|
+
* Indicates whether the system disk is encrypted. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
|
|
26353
26601
|
*
|
|
26354
26602
|
* @example
|
|
26355
26603
|
* false
|
|
@@ -26395,7 +26643,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26395
26643
|
systemDiskSize?: number;
|
|
26396
26644
|
/**
|
|
26397
26645
|
* @remarks
|
|
26398
|
-
* The
|
|
26646
|
+
* The tags that you want to add only to ECS instances.
|
|
26399
26647
|
*
|
|
26400
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://.
|
|
26401
26649
|
*/
|
|
@@ -26530,6 +26778,10 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
26530
26778
|
}
|
|
26531
26779
|
|
|
26532
26780
|
export class ModifyNodePoolNodeConfigRequestOsConfig extends $tea.Model {
|
|
26781
|
+
/**
|
|
26782
|
+
* @remarks
|
|
26783
|
+
* sysctl parameter configuration
|
|
26784
|
+
*/
|
|
26533
26785
|
sysctl?: { [key: string]: any };
|
|
26534
26786
|
static names(): { [key: string]: string } {
|
|
26535
26787
|
return {
|
|
@@ -26678,7 +26930,7 @@ export class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
26678
26930
|
autoSnapshotPolicyId?: string;
|
|
26679
26931
|
/**
|
|
26680
26932
|
* @remarks
|
|
26681
|
-
* The data disk
|
|
26933
|
+
* The type of the data disk.
|
|
26682
26934
|
*
|
|
26683
26935
|
* @example
|
|
26684
26936
|
* cloud_essd
|
|
@@ -26686,7 +26938,7 @@ export class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
26686
26938
|
category?: string;
|
|
26687
26939
|
/**
|
|
26688
26940
|
* @remarks
|
|
26689
|
-
* Specifies whether to encrypt the data
|
|
26941
|
+
* Specifies whether to encrypt the data disks. Valid values:
|
|
26690
26942
|
*
|
|
26691
26943
|
* * `true`: encrypts the data disk.
|
|
26692
26944
|
* * `false`: does not encrypt the data disk.
|
|
@@ -26699,7 +26951,7 @@ export class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
26699
26951
|
encrypted?: string;
|
|
26700
26952
|
/**
|
|
26701
26953
|
* @remarks
|
|
26702
|
-
* The data disk
|
|
26954
|
+
* The size of the data disk. Valid values: 40 to 32767.
|
|
26703
26955
|
*
|
|
26704
26956
|
* @example
|
|
26705
26957
|
* 120
|
|
@@ -26962,7 +27214,7 @@ export class UpgradeClusterNodepoolRequestRollingPolicy extends $tea.Model {
|
|
|
26962
27214
|
batchInterval?: number;
|
|
26963
27215
|
/**
|
|
26964
27216
|
* @remarks
|
|
26965
|
-
* The maximum number of
|
|
27217
|
+
* The maximum number of nodes per batch.
|
|
26966
27218
|
*
|
|
26967
27219
|
* @example
|
|
26968
27220
|
* 3
|
|
@@ -27290,7 +27542,7 @@ export default class Client extends OpenApi {
|
|
|
27290
27542
|
}
|
|
27291
27543
|
|
|
27292
27544
|
/**
|
|
27293
|
-
* You can call the CancelOperationPlan operation to cancel a pending auto O
|
|
27545
|
+
* You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\&M plan.
|
|
27294
27546
|
*
|
|
27295
27547
|
* @param headers - map
|
|
27296
27548
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27315,7 +27567,7 @@ export default class Client extends OpenApi {
|
|
|
27315
27567
|
}
|
|
27316
27568
|
|
|
27317
27569
|
/**
|
|
27318
|
-
* You can call the CancelOperationPlan operation to cancel a pending auto O
|
|
27570
|
+
* You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\&M plan.
|
|
27319
27571
|
* @returns CancelOperationPlanResponse
|
|
27320
27572
|
*/
|
|
27321
27573
|
async cancelOperationPlan(planId: string): Promise<CancelOperationPlanResponse> {
|
|
@@ -27500,9 +27752,9 @@ export default class Client extends OpenApi {
|
|
|
27500
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.
|
|
27501
27753
|
*
|
|
27502
27754
|
* @remarks
|
|
27503
|
-
*
|
|
27504
|
-
*
|
|
27505
|
-
*
|
|
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.
|
|
27506
27758
|
*
|
|
27507
27759
|
* @param tmpReq - CleanUserPermissionsRequest
|
|
27508
27760
|
* @param headers - map
|
|
@@ -27548,9 +27800,9 @@ export default class Client extends OpenApi {
|
|
|
27548
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.
|
|
27549
27801
|
*
|
|
27550
27802
|
* @remarks
|
|
27551
|
-
*
|
|
27552
|
-
*
|
|
27553
|
-
*
|
|
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.
|
|
27554
27806
|
*
|
|
27555
27807
|
* @param request - CleanUserPermissionsRequest
|
|
27556
27808
|
* @returns CleanUserPermissionsResponse
|
|
@@ -28155,7 +28407,7 @@ export default class Client extends OpenApi {
|
|
|
28155
28407
|
}
|
|
28156
28408
|
|
|
28157
28409
|
/**
|
|
28158
|
-
* 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
|
|
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.
|
|
28159
28411
|
*
|
|
28160
28412
|
* @param request - CreateClusterNodePoolRequest
|
|
28161
28413
|
* @param headers - map
|
|
@@ -28173,6 +28425,10 @@ export default class Client extends OpenApi {
|
|
|
28173
28425
|
body["count"] = request.count;
|
|
28174
28426
|
}
|
|
28175
28427
|
|
|
28428
|
+
if (!Util.isUnset(request.hostNetwork)) {
|
|
28429
|
+
body["host_network"] = request.hostNetwork;
|
|
28430
|
+
}
|
|
28431
|
+
|
|
28176
28432
|
if (!Util.isUnset(request.interconnectConfig)) {
|
|
28177
28433
|
body["interconnect_config"] = request.interconnectConfig;
|
|
28178
28434
|
}
|
|
@@ -28181,6 +28437,10 @@ export default class Client extends OpenApi {
|
|
|
28181
28437
|
body["interconnect_mode"] = request.interconnectMode;
|
|
28182
28438
|
}
|
|
28183
28439
|
|
|
28440
|
+
if (!Util.isUnset(request.intranet)) {
|
|
28441
|
+
body["intranet"] = request.intranet;
|
|
28442
|
+
}
|
|
28443
|
+
|
|
28184
28444
|
if (!Util.isUnset(request.kubernetesConfig)) {
|
|
28185
28445
|
body["kubernetes_config"] = request.kubernetesConfig;
|
|
28186
28446
|
}
|
|
@@ -28228,7 +28488,7 @@ export default class Client extends OpenApi {
|
|
|
28228
28488
|
}
|
|
28229
28489
|
|
|
28230
28490
|
/**
|
|
28231
|
-
* 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
|
|
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.
|
|
28232
28492
|
*
|
|
28233
28493
|
* @param request - CreateClusterNodePoolRequest
|
|
28234
28494
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -28637,7 +28897,7 @@ export default class Client extends OpenApi {
|
|
|
28637
28897
|
}
|
|
28638
28898
|
|
|
28639
28899
|
/**
|
|
28640
|
-
*
|
|
28900
|
+
* null
|
|
28641
28901
|
*
|
|
28642
28902
|
* @param request - DeleteClusterNodepoolRequest
|
|
28643
28903
|
* @param headers - map
|
|
@@ -28670,7 +28930,7 @@ export default class Client extends OpenApi {
|
|
|
28670
28930
|
}
|
|
28671
28931
|
|
|
28672
28932
|
/**
|
|
28673
|
-
*
|
|
28933
|
+
* null
|
|
28674
28934
|
*
|
|
28675
28935
|
* @param request - DeleteClusterNodepoolRequest
|
|
28676
28936
|
* @returns DeleteClusterNodepoolResponse
|
|
@@ -29585,7 +29845,7 @@ export default class Client extends OpenApi {
|
|
|
29585
29845
|
}
|
|
29586
29846
|
|
|
29587
29847
|
/**
|
|
29588
|
-
* Queries node pools in a
|
|
29848
|
+
* Queries the information about all node pools in a cluster.
|
|
29589
29849
|
*
|
|
29590
29850
|
* @param request - DescribeClusterNodePoolsRequest
|
|
29591
29851
|
* @param headers - map
|
|
@@ -29618,7 +29878,7 @@ export default class Client extends OpenApi {
|
|
|
29618
29878
|
}
|
|
29619
29879
|
|
|
29620
29880
|
/**
|
|
29621
|
-
* Queries node pools in a
|
|
29881
|
+
* Queries the information about all node pools in a cluster.
|
|
29622
29882
|
*
|
|
29623
29883
|
* @param request - DescribeClusterNodePoolsRequest
|
|
29624
29884
|
* @returns DescribeClusterNodePoolsResponse
|
|
@@ -29630,7 +29890,7 @@ export default class Client extends OpenApi {
|
|
|
29630
29890
|
}
|
|
29631
29891
|
|
|
29632
29892
|
/**
|
|
29633
|
-
*
|
|
29893
|
+
* null
|
|
29634
29894
|
*
|
|
29635
29895
|
* @param request - DescribeClusterNodesRequest
|
|
29636
29896
|
* @param headers - map
|
|
@@ -29679,7 +29939,7 @@ export default class Client extends OpenApi {
|
|
|
29679
29939
|
}
|
|
29680
29940
|
|
|
29681
29941
|
/**
|
|
29682
|
-
*
|
|
29942
|
+
* null
|
|
29683
29943
|
*
|
|
29684
29944
|
* @param request - DescribeClusterNodesRequest
|
|
29685
29945
|
* @returns DescribeClusterNodesResponse
|
|
@@ -30228,7 +30488,7 @@ export default class Client extends OpenApi {
|
|
|
30228
30488
|
}
|
|
30229
30489
|
|
|
30230
30490
|
/**
|
|
30231
|
-
* Queries detailed information about a type of events, including the severity level, status, and
|
|
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.
|
|
30232
30492
|
*
|
|
30233
30493
|
* @param request - DescribeEventsRequest
|
|
30234
30494
|
* @param headers - map
|
|
@@ -30273,7 +30533,7 @@ export default class Client extends OpenApi {
|
|
|
30273
30533
|
}
|
|
30274
30534
|
|
|
30275
30535
|
/**
|
|
30276
|
-
* Queries detailed information about a type of events, including the severity level, status, and
|
|
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.
|
|
30277
30537
|
*
|
|
30278
30538
|
* @param request - DescribeEventsRequest
|
|
30279
30539
|
* @returns DescribeEventsResponse
|
|
@@ -30454,7 +30714,7 @@ export default class Client extends OpenApi {
|
|
|
30454
30714
|
}
|
|
30455
30715
|
|
|
30456
30716
|
/**
|
|
30457
|
-
* Queries
|
|
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.
|
|
30458
30718
|
*
|
|
30459
30719
|
* @param headers - map
|
|
30460
30720
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30479,7 +30739,7 @@ export default class Client extends OpenApi {
|
|
|
30479
30739
|
}
|
|
30480
30740
|
|
|
30481
30741
|
/**
|
|
30482
|
-
* Queries
|
|
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.
|
|
30483
30743
|
* @returns DescribePoliciesResponse
|
|
30484
30744
|
*/
|
|
30485
30745
|
async describePolicies(): Promise<DescribePoliciesResponse> {
|
|
@@ -31209,6 +31469,8 @@ export default class Client extends OpenApi {
|
|
|
31209
31469
|
}
|
|
31210
31470
|
|
|
31211
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
|
+
*
|
|
31212
31474
|
* @param headers - map
|
|
31213
31475
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
31214
31476
|
* @returns GetClusterAuditProjectResponse
|
|
@@ -31232,6 +31494,7 @@ export default class Client extends OpenApi {
|
|
|
31232
31494
|
}
|
|
31233
31495
|
|
|
31234
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.
|
|
31235
31498
|
* @returns GetClusterAuditProjectResponse
|
|
31236
31499
|
*/
|
|
31237
31500
|
async getClusterAuditProject(clusterid: string): Promise<GetClusterAuditProjectResponse> {
|
|
@@ -31448,8 +31711,7 @@ export default class Client extends OpenApi {
|
|
|
31448
31711
|
*
|
|
31449
31712
|
* @remarks
|
|
31450
31713
|
* *Precautions**:
|
|
31451
|
-
* *
|
|
31452
|
-
* * 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).
|
|
31453
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.
|
|
31454
31716
|
*
|
|
31455
31717
|
* @param request - GrantPermissionsRequest
|
|
@@ -31482,8 +31744,7 @@ export default class Client extends OpenApi {
|
|
|
31482
31744
|
*
|
|
31483
31745
|
* @remarks
|
|
31484
31746
|
* *Precautions**:
|
|
31485
|
-
* *
|
|
31486
|
-
* * 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).
|
|
31487
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.
|
|
31488
31749
|
*
|
|
31489
31750
|
* @param request - GrantPermissionsRequest
|
|
@@ -32722,7 +32983,7 @@ export default class Client extends OpenApi {
|
|
|
32722
32983
|
}
|
|
32723
32984
|
|
|
32724
32985
|
/**
|
|
32725
|
-
*
|
|
32986
|
+
* Repairs a node pool.
|
|
32726
32987
|
*
|
|
32727
32988
|
* @param request - RepairClusterNodePoolRequest
|
|
32728
32989
|
* @param headers - map
|
|
@@ -32763,7 +33024,7 @@ export default class Client extends OpenApi {
|
|
|
32763
33024
|
}
|
|
32764
33025
|
|
|
32765
33026
|
/**
|
|
32766
|
-
*
|
|
33027
|
+
* Repairs a node pool.
|
|
32767
33028
|
*
|
|
32768
33029
|
* @param request - RepairClusterNodePoolRequest
|
|
32769
33030
|
* @returns RepairClusterNodePoolResponse
|
|
@@ -32816,7 +33077,7 @@ export default class Client extends OpenApi {
|
|
|
32816
33077
|
}
|
|
32817
33078
|
|
|
32818
33079
|
/**
|
|
32819
|
-
*
|
|
33080
|
+
* Resumes a task.
|
|
32820
33081
|
*
|
|
32821
33082
|
* @param headers - map
|
|
32822
33083
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -32841,7 +33102,7 @@ export default class Client extends OpenApi {
|
|
|
32841
33102
|
}
|
|
32842
33103
|
|
|
32843
33104
|
/**
|
|
32844
|
-
*
|
|
33105
|
+
* Resumes a task.
|
|
32845
33106
|
* @returns ResumeTaskResponse
|
|
32846
33107
|
*/
|
|
32847
33108
|
async resumeTask(taskId: string): Promise<ResumeTaskResponse> {
|
|
@@ -33103,7 +33364,7 @@ export default class Client extends OpenApi {
|
|
|
33103
33364
|
}
|
|
33104
33365
|
|
|
33105
33366
|
/**
|
|
33106
|
-
*
|
|
33367
|
+
* Scales out a node pool.
|
|
33107
33368
|
*
|
|
33108
33369
|
* @param request - ScaleClusterNodePoolRequest
|
|
33109
33370
|
* @param headers - map
|
|
@@ -33136,7 +33397,7 @@ export default class Client extends OpenApi {
|
|
|
33136
33397
|
}
|
|
33137
33398
|
|
|
33138
33399
|
/**
|
|
33139
|
-
*
|
|
33400
|
+
* Scales out a node pool.
|
|
33140
33401
|
*
|
|
33141
33402
|
* @param request - ScaleClusterNodePoolRequest
|
|
33142
33403
|
* @returns ScaleClusterNodePoolResponse
|