@alicloud/cs20151215 4.7.3 → 4.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +979 -670
- package/dist/client.js +139 -95
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1012 -672
package/src/client.ts
CHANGED
|
@@ -1105,17 +1105,10 @@ 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
|
-
* 873DC52C-28AA-5A5C-938C-684D3D4B****
|
|
1114
|
-
*/
|
|
1115
1108
|
requestId?: string;
|
|
1116
1109
|
static names(): { [key: string]: string } {
|
|
1117
1110
|
return {
|
|
1118
|
-
requestId: '
|
|
1111
|
+
requestId: 'request_id',
|
|
1119
1112
|
};
|
|
1120
1113
|
}
|
|
1121
1114
|
|
|
@@ -1314,6 +1307,8 @@ export class CheckControlPlaneLogEnableResponse extends $tea.Model {
|
|
|
1314
1307
|
export class CheckServiceRoleRequest extends $tea.Model {
|
|
1315
1308
|
/**
|
|
1316
1309
|
* @remarks
|
|
1310
|
+
* The service roles that you want to check.
|
|
1311
|
+
*
|
|
1317
1312
|
* This parameter is required.
|
|
1318
1313
|
*/
|
|
1319
1314
|
roles?: CheckServiceRoleRequestRoles[];
|
|
@@ -1335,6 +1330,10 @@ export class CheckServiceRoleRequest extends $tea.Model {
|
|
|
1335
1330
|
}
|
|
1336
1331
|
|
|
1337
1332
|
export class CheckServiceRoleResponseBody extends $tea.Model {
|
|
1333
|
+
/**
|
|
1334
|
+
* @remarks
|
|
1335
|
+
* The check results.
|
|
1336
|
+
*/
|
|
1338
1337
|
roles?: CheckServiceRoleResponseBodyRoles[];
|
|
1339
1338
|
static names(): { [key: string]: string } {
|
|
1340
1339
|
return {
|
|
@@ -1383,8 +1382,8 @@ export class CleanClusterUserPermissionsRequest extends $tea.Model {
|
|
|
1383
1382
|
* @remarks
|
|
1384
1383
|
* Specifies whether to forcefully delete the specified kubeconfig files. Valid values:
|
|
1385
1384
|
*
|
|
1386
|
-
* *
|
|
1387
|
-
* *
|
|
1385
|
+
* * 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.
|
|
1386
|
+
* * true: forcefully deletes the kubeconfig files without checking the cluster access records.
|
|
1388
1387
|
*
|
|
1389
1388
|
* @example
|
|
1390
1389
|
* false
|
|
@@ -1569,7 +1568,7 @@ export class CleanUserPermissionsResponse extends $tea.Model {
|
|
|
1569
1568
|
export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
1570
1569
|
/**
|
|
1571
1570
|
* @remarks
|
|
1572
|
-
* The waiting time before the auto scaling feature performs a scale-in activity.
|
|
1571
|
+
* The waiting time before the auto scaling feature performs a scale-in activity. It is an interval between the time when the scale-in threshold is reached and the time when the scale-in activity (reduce the number of pods) starts. Unit: minutes. Default value: 10.
|
|
1573
1572
|
*
|
|
1574
1573
|
* @example
|
|
1575
1574
|
* 10 m
|
|
@@ -1577,7 +1576,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1577
1576
|
coolDownDuration?: string;
|
|
1578
1577
|
/**
|
|
1579
1578
|
* @remarks
|
|
1580
|
-
* Specifies whether to evict
|
|
1579
|
+
* Specifies whether to evict pods created by DaemonSets when the cluster autoscaler performs a scale-in activity. Valid values:
|
|
1581
1580
|
*
|
|
1582
1581
|
* * `true`: evicts DaemonSet pods.
|
|
1583
1582
|
* * `false`: does not evict DaemonSet pods.
|
|
@@ -1602,13 +1601,15 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1602
1601
|
* @remarks
|
|
1603
1602
|
* The scale-in threshold of GPU utilization. This threshold specifies the ratio of the GPU resources that are requested by pods to the total GPU resources on the node.
|
|
1604
1603
|
*
|
|
1604
|
+
* A scale-in activity is performed only when the CPU utilization, memory utilization, and GPU utilization of a GPU-accelerated node are lower than the scale-in threshold of GPU utilization.
|
|
1605
|
+
*
|
|
1605
1606
|
* @example
|
|
1606
1607
|
* 0.5
|
|
1607
1608
|
*/
|
|
1608
1609
|
gpuUtilizationThreshold?: string;
|
|
1609
1610
|
/**
|
|
1610
1611
|
* @remarks
|
|
1611
|
-
* The maximum amount of time
|
|
1612
|
+
* The maximum amount of time to wait for pods on a node to terminate during a scale-in activity. Unit: seconds.
|
|
1612
1613
|
*
|
|
1613
1614
|
* @example
|
|
1614
1615
|
* 14400s
|
|
@@ -1616,7 +1617,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1616
1617
|
maxGracefulTerminationSec?: number;
|
|
1617
1618
|
/**
|
|
1618
1619
|
* @remarks
|
|
1619
|
-
* The minimum number of pods
|
|
1620
|
+
* The minimum number of pods allowed in each ReplicaSet before a scale-in activity is performed.
|
|
1620
1621
|
*
|
|
1621
1622
|
* @example
|
|
1622
1623
|
* 0
|
|
@@ -1624,7 +1625,10 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1624
1625
|
minReplicaCount?: number;
|
|
1625
1626
|
/**
|
|
1626
1627
|
* @remarks
|
|
1627
|
-
* Specifies whether to delete the corresponding Kubernetes node objects after nodes are removed in swift mode.
|
|
1628
|
+
* Specifies whether to delete the corresponding Kubernetes node objects after nodes are removed in swift mode. For more information about the swift mode, see [Scaling mode](https://help.aliyun.com/document_detail/119099.html). Default value: false. Valid values:
|
|
1629
|
+
*
|
|
1630
|
+
* * `true`: deletes the corresponding Kubernetes node objects after nodes are removed in swift mode. We recommend that you do not set the value to true because data inconsistency may occur in Kubernetes objects.
|
|
1631
|
+
* * `false`: retains the corresponding Kubernetes node objects after nodes are removed in swift mode.
|
|
1628
1632
|
*
|
|
1629
1633
|
* @example
|
|
1630
1634
|
* false
|
|
@@ -1643,7 +1647,10 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1643
1647
|
scaleDownEnabled?: boolean;
|
|
1644
1648
|
/**
|
|
1645
1649
|
* @remarks
|
|
1646
|
-
* Specifies whether the cluster autoscaler performs scale-out
|
|
1650
|
+
* Specifies whether the cluster autoscaler performs a scale-out activity when the number of ready nodes in the cluster is 0. Default value: true. Valid values:
|
|
1651
|
+
*
|
|
1652
|
+
* * `true`: performs a scale-out activity.
|
|
1653
|
+
* * `false`: does not perform a scale-out activity.
|
|
1647
1654
|
*
|
|
1648
1655
|
* @example
|
|
1649
1656
|
* true
|
|
@@ -1651,7 +1658,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1651
1658
|
scaleUpFromZero?: boolean;
|
|
1652
1659
|
/**
|
|
1653
1660
|
* @remarks
|
|
1654
|
-
* The interval at which the
|
|
1661
|
+
* The interval at which the system scans for events that trigger scaling activities. Unit: seconds. Default value: 60.
|
|
1655
1662
|
*
|
|
1656
1663
|
* @example
|
|
1657
1664
|
* 30s
|
|
@@ -1659,7 +1666,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1659
1666
|
scanInterval?: string;
|
|
1660
1667
|
/**
|
|
1661
1668
|
* @remarks
|
|
1662
|
-
* Specifies whether
|
|
1669
|
+
* Specifies whether the cluster autoscaler scales in nodes that host pods mounted with local volumes, such as EmptyDir or HostPath volumes. Valid values:
|
|
1663
1670
|
*
|
|
1664
1671
|
* * `true`: does not allow the cluster autoscaler to scale in these nodes.
|
|
1665
1672
|
* * `false`: allows the cluster autoscaler to scale in these nodes.
|
|
@@ -1670,7 +1677,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1670
1677
|
skipNodesWithLocalStorage?: boolean;
|
|
1671
1678
|
/**
|
|
1672
1679
|
* @remarks
|
|
1673
|
-
* Specifies whether
|
|
1680
|
+
* Specifies whether the cluster autoscaler scales in nodes that host pods in the kube-system namespace. This parameter does not take effect on pods created by DaemonSets and mirror pods. Valid values:
|
|
1674
1681
|
*
|
|
1675
1682
|
* * `true`: does not allow the cluster autoscaler to scale in these nodes.
|
|
1676
1683
|
* * `false`: allows the cluster autoscaler to scale in these nodes.
|
|
@@ -1681,7 +1688,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1681
1688
|
skipNodesWithSystemPods?: boolean;
|
|
1682
1689
|
/**
|
|
1683
1690
|
* @remarks
|
|
1684
|
-
* The cooldown period. Newly added nodes can be removed in scale-in activities only after the cooldown period ends. Unit: minutes.
|
|
1691
|
+
* The cooldown period. After the autoscaler performs a scale-out activity, the autoscaler waits a cooldown period before it can perform a scale-in activity. Newly added nodes can be removed in scale-in activities only after the cooldown period ends. Unit: minutes.
|
|
1685
1692
|
*
|
|
1686
1693
|
* @example
|
|
1687
1694
|
* 10 m
|
|
@@ -1691,6 +1698,8 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1691
1698
|
* @remarks
|
|
1692
1699
|
* The scale-in threshold. This threshold specifies the ratio of the resources that are requested by pods to the total resources on the node.
|
|
1693
1700
|
*
|
|
1701
|
+
* A scale-in activity is performed only when the CPU utilization and memory utilization of a node are lower than the scale-in threshold.
|
|
1702
|
+
*
|
|
1694
1703
|
* @example
|
|
1695
1704
|
* 0.5
|
|
1696
1705
|
*/
|
|
@@ -1763,56 +1772,66 @@ export class CreateAutoscalingConfigResponse extends $tea.Model {
|
|
|
1763
1772
|
export class CreateClusterRequest extends $tea.Model {
|
|
1764
1773
|
/**
|
|
1765
1774
|
* @remarks
|
|
1766
|
-
* The access control list (ACL)
|
|
1775
|
+
* The network access control list (ACL) of the SLB instance associated with the API server if the cluster is a registered cluster.
|
|
1767
1776
|
*/
|
|
1768
1777
|
accessControlList?: string[];
|
|
1769
1778
|
/**
|
|
1770
1779
|
* @remarks
|
|
1771
|
-
* The components that you want to install in the cluster. When you create a cluster, you can configure the `addons` parameter to
|
|
1780
|
+
* The components that you want to install in the cluster. When you create a cluster, you can configure the `addons` parameter to specify the components that you want to install.
|
|
1772
1781
|
*
|
|
1773
1782
|
* **Network plug-in**: required. The Flannel and Terway plug-ins are supported. Select one of the plug-ins for the cluster.
|
|
1774
1783
|
*
|
|
1775
|
-
* *
|
|
1776
|
-
* *
|
|
1784
|
+
* * If you want to use the Terway component, specify the network plug-in in the [{"name":"flannel","config":""}] format.
|
|
1785
|
+
* * If you want to use the Terway component, specify the value network plug-in in the [{"Name": "terway-eniip","Config": ""}] format.
|
|
1777
1786
|
*
|
|
1778
|
-
* **Volume plug-in**: optional. Only the `CSI` plug-in is supported.
|
|
1787
|
+
* **Volume plug-in**: optional. Only the `Container Storage Interface (CSI)` plug-in is supported.
|
|
1779
1788
|
*
|
|
1780
1789
|
* Specify the `CSI` plug-in in the following format: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
|
|
1781
1790
|
*
|
|
1782
1791
|
* **Simple Log Service component**: optional. We recommend that you enable Simple Log Service. If Simple Log Service is disabled, you cannot use the cluster auditing feature.
|
|
1783
1792
|
*
|
|
1784
|
-
* *
|
|
1785
|
-
* * To create a `Simple Log Service project`, specify the
|
|
1793
|
+
* * Specify an existing `Simple Log Service project` in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true","sls_project_name":"your_sls_project_name"}"}].
|
|
1794
|
+
* * To create a `Simple Log Service project`, specify the component in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true"}"}].
|
|
1786
1795
|
*
|
|
1787
1796
|
* **Ingress controller**: optional. By default, the `nginx-ingress-controller` component is installed in ACK dedicated clusters.
|
|
1788
1797
|
*
|
|
1789
|
-
* * To install nginx-ingress-controller and enable Internet access, specify the
|
|
1790
|
-
* * To disable the
|
|
1798
|
+
* * To install nginx-ingress-controller and enable Internet access, specify the Ingress controller in the following format: [{"name":"nginx-ingress-controller","config":"{"IngressSlbNetworkType":"internet"}"}].
|
|
1799
|
+
* * To disable the automatic installation of nginx-ingress-controller, specify the Ingress controller in the following format: [{"name": "nginx-ingress-controller","config": "","disabled": true}].
|
|
1791
1800
|
*
|
|
1792
1801
|
* **Event center**: optional. By default, the event center feature is enabled.
|
|
1793
1802
|
*
|
|
1794
|
-
* You can use
|
|
1803
|
+
* 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).
|
|
1795
1804
|
*
|
|
1796
|
-
* To enable the
|
|
1805
|
+
* To enable the event center feature, specify the event center component in the following format: [{"name":"ack-node-problem-detector","config":"{"sls_project_name":"your_sls_project_name"}"}].
|
|
1797
1806
|
*/
|
|
1798
1807
|
addons?: Addon[];
|
|
1799
1808
|
/**
|
|
1800
1809
|
* @remarks
|
|
1801
|
-
* Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. `api-audiences`
|
|
1810
|
+
* Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. The `api-audiences` parameter validates `tokens` and is used by the `API server` to check whether the `tokens` of requests are valid. Separate multiple values with commas (,).``
|
|
1802
1811
|
*
|
|
1803
|
-
* For more information about `
|
|
1812
|
+
* For more information about `service accounts`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
1804
1813
|
*
|
|
1805
1814
|
* @example
|
|
1806
1815
|
* kubernetes.default.svc
|
|
1807
1816
|
*/
|
|
1808
1817
|
apiAudiences?: string;
|
|
1818
|
+
/**
|
|
1819
|
+
* @example
|
|
1820
|
+
* true
|
|
1821
|
+
*/
|
|
1822
|
+
autoRenew?: boolean;
|
|
1823
|
+
/**
|
|
1824
|
+
* @example
|
|
1825
|
+
* 1
|
|
1826
|
+
*/
|
|
1827
|
+
autoRenewPeriod?: number;
|
|
1809
1828
|
/**
|
|
1810
1829
|
* @remarks
|
|
1811
1830
|
* The billing method of the cluster. The following resources are billed on a subscription basis:
|
|
1812
1831
|
*
|
|
1813
1832
|
* ECS instances in node pools.
|
|
1814
1833
|
*
|
|
1815
|
-
* The internal-facing SLB instance
|
|
1834
|
+
* The internal-facing SLB instance associated with the API server.
|
|
1816
1835
|
*
|
|
1817
1836
|
* Valid values:
|
|
1818
1837
|
*
|
|
@@ -1828,9 +1847,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1828
1847
|
chargeType?: string;
|
|
1829
1848
|
/**
|
|
1830
1849
|
* @remarks
|
|
1831
|
-
*
|
|
1832
|
-
*
|
|
1833
|
-
* Please replace this parameter with security_hardening_os.
|
|
1850
|
+
* This parameter is deprecated. Use security_hardening_os instead.
|
|
1834
1851
|
*
|
|
1835
1852
|
* @example
|
|
1836
1853
|
* false
|
|
@@ -1863,10 +1880,10 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1863
1880
|
clusterDomain?: string;
|
|
1864
1881
|
/**
|
|
1865
1882
|
* @remarks
|
|
1866
|
-
* After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition
|
|
1883
|
+
* After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the cluster edition. Valid values:
|
|
1867
1884
|
*
|
|
1868
|
-
* * `ack.pro.small`: Pro.
|
|
1869
|
-
* * `ack.standard`: Basic. If you leave the parameter empty,
|
|
1885
|
+
* * `ack.pro.small`: Pro Edition.
|
|
1886
|
+
* * `ack.standard`: Basic Edition. If you leave the parameter empty, an ACK Basic cluster is created.
|
|
1870
1887
|
*
|
|
1871
1888
|
* @example
|
|
1872
1889
|
* ack.pro.small
|
|
@@ -1875,7 +1892,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1875
1892
|
/**
|
|
1876
1893
|
* @remarks
|
|
1877
1894
|
* * `Kubernetes`: ACK dedicated cluster.
|
|
1878
|
-
* * `ManagedKubernetes`: 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).
|
|
1895
|
+
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters (Basic Edition and Pro Edition), ACK Edge clusters (Basic Edition and Pro Edition), and ACK Lingjun clusters (Pro Edition).
|
|
1879
1896
|
* * `ExternalKubernetes`: registered cluster.
|
|
1880
1897
|
*
|
|
1881
1898
|
* This parameter is required.
|
|
@@ -1886,11 +1903,11 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1886
1903
|
clusterType?: string;
|
|
1887
1904
|
/**
|
|
1888
1905
|
* @remarks
|
|
1889
|
-
* The CIDR block
|
|
1906
|
+
* The pod CIDR block. You can specify 10.0.0.0/8, 172.16-31.0.0/12-16, 192.168.0.0/16, or their subnets as the pod CIDR block. 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.
|
|
1890
1907
|
*
|
|
1891
|
-
* For more information about
|
|
1908
|
+
* For more information about how to plan the network of an ACK cluster, see [Plan the network of an ACK cluster](https://help.aliyun.com/document_detail/86500.html).
|
|
1892
1909
|
*
|
|
1893
|
-
* > This parameter is required if the cluster uses
|
|
1910
|
+
* > This parameter is required if the cluster uses the Flannel plug-in.
|
|
1894
1911
|
*
|
|
1895
1912
|
* @example
|
|
1896
1913
|
* 172.20.0.0/16
|
|
@@ -1900,7 +1917,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1900
1917
|
* @remarks
|
|
1901
1918
|
* The list of control plane components for which you want to enable log collection.
|
|
1902
1919
|
*
|
|
1903
|
-
* By default, the
|
|
1920
|
+
* By default, the logs of kube-apiserver, kube-controller-manager, and kube-scheduler are collected.
|
|
1904
1921
|
*/
|
|
1905
1922
|
controlplaneLogComponents?: string[];
|
|
1906
1923
|
/**
|
|
@@ -1921,7 +1938,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1921
1938
|
controlplaneLogTtl?: string;
|
|
1922
1939
|
/**
|
|
1923
1940
|
* @remarks
|
|
1924
|
-
* The CPU management policy of
|
|
1941
|
+
* 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:
|
|
1925
1942
|
*
|
|
1926
1943
|
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
1927
1944
|
* * `none`: specifies that the default CPU affinity is used.
|
|
@@ -1934,7 +1951,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1934
1951
|
cpuPolicy?: string;
|
|
1935
1952
|
/**
|
|
1936
1953
|
* @remarks
|
|
1937
|
-
*
|
|
1954
|
+
* The custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. Separate multiple IP addresses and domain names with commas (,).
|
|
1938
1955
|
*
|
|
1939
1956
|
* @example
|
|
1940
1957
|
* cs.aliyun.com
|
|
@@ -1942,10 +1959,10 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1942
1959
|
customSan?: string;
|
|
1943
1960
|
/**
|
|
1944
1961
|
* @remarks
|
|
1945
|
-
* 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:
|
|
1962
|
+
* Specifies whether to enable cluster deletion protection. If this option is enabled, the cluster cannot be deleted in the ACK console or by calling API operations. Valid values:
|
|
1946
1963
|
*
|
|
1947
|
-
* * `true`: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the
|
|
1948
|
-
* * `false`: disables deletion protection for the cluster. This way, the cluster can be deleted in the
|
|
1964
|
+
* * `true`: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the ACK console or by calling API operations.
|
|
1965
|
+
* * `false`: disables deletion protection for the cluster. This way, the cluster can be deleted in the ACK console or by calling API operations.
|
|
1949
1966
|
*
|
|
1950
1967
|
* Default value: `false`.
|
|
1951
1968
|
*
|
|
@@ -1955,10 +1972,10 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1955
1972
|
deletionProtection?: boolean;
|
|
1956
1973
|
/**
|
|
1957
1974
|
* @remarks
|
|
1958
|
-
* Specifies whether to perform a rollback
|
|
1975
|
+
* Specifies whether to perform a rollback when the cluster fails to be created. Valid values:
|
|
1959
1976
|
*
|
|
1960
|
-
* * `true`: performs a rollback
|
|
1961
|
-
* * `false`: does not perform a rollback
|
|
1977
|
+
* * `true`: performs a rollback when the cluster fails to be created.
|
|
1978
|
+
* * `false`: does not perform a rollback when the cluster fails to be created.
|
|
1962
1979
|
*
|
|
1963
1980
|
* Default value: `true`.
|
|
1964
1981
|
*
|
|
@@ -1978,7 +1995,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1978
1995
|
enableRrsa?: boolean;
|
|
1979
1996
|
/**
|
|
1980
1997
|
* @remarks
|
|
1981
|
-
* The ID of
|
|
1998
|
+
* The ID of the Key Management Service (KMS) key that is used to encrypt the system disk. For more information, see [What is KMS?](https://help.aliyun.com/document_detail/28935.html)
|
|
1982
1999
|
*
|
|
1983
2000
|
* > The key can be used only in ACK Pro clusters.
|
|
1984
2001
|
*
|
|
@@ -1990,8 +2007,8 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1990
2007
|
* @remarks
|
|
1991
2008
|
* Specifies whether to enable Internet access for the cluster. You can use an elastic IP address (EIP) to expose the API server. This way, you can access the cluster over the Internet. Valid values:
|
|
1992
2009
|
*
|
|
1993
|
-
* * `true`: enables Internet access.
|
|
1994
|
-
* * `false`: disables Internet access. If you set
|
|
2010
|
+
* * `true`: enables Internet access for the cluster.
|
|
2011
|
+
* * `false`: disables Internet access for the cluster. If you set the value to false, the API server cannot be accessed over the Internet.
|
|
1995
2012
|
*
|
|
1996
2013
|
* Default value: `false`.
|
|
1997
2014
|
*
|
|
@@ -2003,7 +2020,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2003
2020
|
* @remarks
|
|
2004
2021
|
* Specifies whether to mount a data disk to a node that is created based on an existing ECS instance. Valid values:
|
|
2005
2022
|
*
|
|
2006
|
-
* * `true`: stores the data of containers and images on a data disk.
|
|
2023
|
+
* * `true`: stores the data of containers and images on a data disk. The existing data stored on the data disk is lost. Back up the existing data first.
|
|
2007
2024
|
* * `false`: does not store the data of containers and images on a data disk.
|
|
2008
2025
|
*
|
|
2009
2026
|
* Default value: `false`.
|
|
@@ -2019,7 +2036,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2019
2036
|
formatDisk?: boolean;
|
|
2020
2037
|
/**
|
|
2021
2038
|
* @remarks
|
|
2022
|
-
*
|
|
2039
|
+
* The custom image. By default, the image provided by ACK is used. You can select a custom image to replace the default image. For more information, see [Use a custom image to create an ACK cluster](https://help.aliyun.com/document_detail/146647.html).
|
|
2023
2040
|
*
|
|
2024
2041
|
* @example
|
|
2025
2042
|
* m-bp16z7xko3vvv8gt****
|
|
@@ -2047,9 +2064,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2047
2064
|
imageType?: string;
|
|
2048
2065
|
/**
|
|
2049
2066
|
* @remarks
|
|
2050
|
-
* The
|
|
2067
|
+
* The existing ECS instances that are specified as worker nodes for the cluster.
|
|
2051
2068
|
*
|
|
2052
|
-
* > This parameter is required
|
|
2069
|
+
* > This parameter is required if you create worker nodes on existing ECS instances.
|
|
2053
2070
|
*/
|
|
2054
2071
|
instances?: string[];
|
|
2055
2072
|
/**
|
|
@@ -2063,9 +2080,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2063
2080
|
ipStack?: string;
|
|
2064
2081
|
/**
|
|
2065
2082
|
* @remarks
|
|
2066
|
-
* Specifies whether to create an advanced security group. This parameter takes effect only if `security_group_id` is
|
|
2083
|
+
* Specifies whether to create an advanced security group. This parameter takes effect only if `security_group_id` is not specified.
|
|
2067
2084
|
*
|
|
2068
|
-
* > To use a basic security group, make sure that the sum of the number of nodes in the cluster and the number of pods that use Terway does not exceed 2,000. Therefore, we recommend that you specify an advanced security group for a cluster that
|
|
2085
|
+
* > To use a basic security group, make sure that the sum of the number of nodes in the cluster and the number of pods that use Terway does not exceed 2,000. Therefore, we recommend that you specify an advanced security group for a cluster that uses Terway.
|
|
2069
2086
|
*
|
|
2070
2087
|
* * `true`: creates an advanced security group.
|
|
2071
2088
|
* * `false`: does not create an advanced security group.
|
|
@@ -2091,7 +2108,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2091
2108
|
keepInstanceName?: boolean;
|
|
2092
2109
|
/**
|
|
2093
2110
|
* @remarks
|
|
2094
|
-
* The name of the key pair. You must
|
|
2111
|
+
* The name of the key pair. You must specify this parameter or the `login_password` parameter.
|
|
2095
2112
|
*
|
|
2096
2113
|
* @example
|
|
2097
2114
|
* secrity-key
|
|
@@ -2099,14 +2116,19 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2099
2116
|
keyPair?: string;
|
|
2100
2117
|
/**
|
|
2101
2118
|
* @remarks
|
|
2102
|
-
* The Kubernetes version of the cluster. The Kubernetes versions supported by ACK are the same as the Kubernetes versions supported by open source Kubernetes. We recommend that you specify the latest Kubernetes version. If you do not
|
|
2119
|
+
* The Kubernetes version of the cluster. The Kubernetes versions supported by ACK are the same as the Kubernetes versions supported by open source Kubernetes. We recommend that you specify the latest Kubernetes version. If you do not specify this parameter, the latest Kubernetes version is used.
|
|
2103
2120
|
*
|
|
2104
|
-
* You can create clusters of the latest two Kubernetes versions in the ACK console. If you want to create clusters that run earlier Kubernetes versions, use the API. For more information about the Kubernetes versions supported by ACK, see [
|
|
2121
|
+
* You can create clusters of the latest two Kubernetes versions in the ACK console. If you want to create clusters that run earlier Kubernetes versions, use the ACK API. For more information about the Kubernetes versions supported by ACK, see [Support for Kubernetes versions](https://help.aliyun.com/document_detail/185269.html).
|
|
2105
2122
|
*
|
|
2106
2123
|
* @example
|
|
2107
2124
|
* 1.16.9-aliyun.1
|
|
2108
2125
|
*/
|
|
2109
2126
|
kubernetesVersion?: string;
|
|
2127
|
+
/**
|
|
2128
|
+
* @example
|
|
2129
|
+
* lb-wz9t256gqa3vbouk****
|
|
2130
|
+
*/
|
|
2131
|
+
loadBalancerId?: string;
|
|
2110
2132
|
/**
|
|
2111
2133
|
* @remarks
|
|
2112
2134
|
* The specification of the Server Load Balancer (SLB) instance. Valid values:
|
|
@@ -2126,7 +2148,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2126
2148
|
loadBalancerSpec?: string;
|
|
2127
2149
|
/**
|
|
2128
2150
|
* @remarks
|
|
2129
|
-
* Enables Simple Log Service for the cluster. This parameter takes effect only
|
|
2151
|
+
* Enables Simple Log Service for the cluster. This parameter takes effect only for ACK Serverless clusters. Valid value: `SLS`.
|
|
2130
2152
|
*
|
|
2131
2153
|
* @example
|
|
2132
2154
|
* SLS
|
|
@@ -2134,7 +2156,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2134
2156
|
loggingType?: string;
|
|
2135
2157
|
/**
|
|
2136
2158
|
* @remarks
|
|
2137
|
-
* The password for SSH logon. You must
|
|
2159
|
+
* 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.
|
|
2138
2160
|
*
|
|
2139
2161
|
* @example
|
|
2140
2162
|
* Hello@1234
|
|
@@ -2142,7 +2164,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2142
2164
|
loginPassword?: string;
|
|
2143
2165
|
/**
|
|
2144
2166
|
* @remarks
|
|
2145
|
-
* Specifies whether to enable auto-renewal for master nodes. This parameter takes effect only
|
|
2167
|
+
* Specifies whether to enable auto-renewal for master nodes. This parameter takes effect only when `master_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
2146
2168
|
*
|
|
2147
2169
|
* * `true`: enables auto-renewal.
|
|
2148
2170
|
* * `false`: disables auto-renewal.
|
|
@@ -2155,7 +2177,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2155
2177
|
masterAutoRenew?: boolean;
|
|
2156
2178
|
/**
|
|
2157
2179
|
* @remarks
|
|
2158
|
-
* The
|
|
2180
|
+
* The auto-renewal duration. This parameter takes effect and is required only when the subscription billing method is selected for master nodes.
|
|
2159
2181
|
*
|
|
2160
2182
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
2161
2183
|
*
|
|
@@ -2180,7 +2202,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2180
2202
|
* The billing method of master nodes. Valid values:
|
|
2181
2203
|
*
|
|
2182
2204
|
* * `PrePaid`: subscription.
|
|
2183
|
-
* * `PostPaid`: pay-as-you-go.
|
|
2205
|
+
* * `PostPaid`: the pay-as-you-go.
|
|
2184
2206
|
*
|
|
2185
2207
|
* Default value: `PostPaid`.
|
|
2186
2208
|
*
|
|
@@ -2195,7 +2217,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2195
2217
|
masterInstanceTypes?: string[];
|
|
2196
2218
|
/**
|
|
2197
2219
|
* @remarks
|
|
2198
|
-
* The subscription duration of master nodes. This parameter takes effect and is required only
|
|
2220
|
+
* The subscription duration of master nodes. This parameter takes effect and is required only when `master_instance_charge_type` is set to `PrePaid`.
|
|
2199
2221
|
*
|
|
2200
2222
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2201
2223
|
*
|
|
@@ -2207,9 +2229,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2207
2229
|
masterPeriod?: number;
|
|
2208
2230
|
/**
|
|
2209
2231
|
* @remarks
|
|
2210
|
-
* The billing cycle of master nodes. This parameter is required if master_instance_charge_type is set to `PrePaid`.
|
|
2232
|
+
* The billing cycle of the master nodes in the cluster. This parameter is required if master_instance_charge_type is set to `PrePaid`.
|
|
2211
2233
|
*
|
|
2212
|
-
*
|
|
2234
|
+
* Valid value: `Month`, which indicates that master nodes are billed only on a monthly basis.
|
|
2213
2235
|
*
|
|
2214
2236
|
* @example
|
|
2215
2237
|
* Month
|
|
@@ -2217,11 +2239,11 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2217
2239
|
masterPeriodUnit?: string;
|
|
2218
2240
|
/**
|
|
2219
2241
|
* @remarks
|
|
2220
|
-
* The
|
|
2242
|
+
* The system disk type of master nodes. Valid values:
|
|
2221
2243
|
*
|
|
2222
2244
|
* * `cloud_efficiency`: ultra disk.
|
|
2223
2245
|
* * `cloud_ssd`: standard SSD.
|
|
2224
|
-
* * `cloud_essd`:
|
|
2246
|
+
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
2225
2247
|
*
|
|
2226
2248
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
2227
2249
|
*
|
|
@@ -2239,7 +2261,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2239
2261
|
masterSystemDiskPerformanceLevel?: string;
|
|
2240
2262
|
/**
|
|
2241
2263
|
* @remarks
|
|
2242
|
-
* The
|
|
2264
|
+
* The system disk size of master nodes. Valid values: 40 to 500. Unit: GiB.
|
|
2243
2265
|
*
|
|
2244
2266
|
* Default value: `120`.
|
|
2245
2267
|
*
|
|
@@ -2259,12 +2281,12 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2259
2281
|
* @remarks
|
|
2260
2282
|
* 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.
|
|
2261
2283
|
*
|
|
2262
|
-
* The number of vSwitches must be the same as
|
|
2284
|
+
* The number of vSwitches must be the same as the value of the `master_count` parameter and also the same as the number of vSwitches specified in the `master_vswitch_ids` parameter.
|
|
2263
2285
|
*/
|
|
2264
2286
|
masterVswitchIds?: string[];
|
|
2265
2287
|
/**
|
|
2266
2288
|
* @remarks
|
|
2267
|
-
* The name
|
|
2289
|
+
* The cluster name.
|
|
2268
2290
|
*
|
|
2269
2291
|
* The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
|
|
2270
2292
|
*
|
|
@@ -2276,10 +2298,10 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2276
2298
|
name?: string;
|
|
2277
2299
|
/**
|
|
2278
2300
|
* @remarks
|
|
2279
|
-
* Specifies whether to create a NAT gateway and configure SNAT rules
|
|
2301
|
+
* Specifies whether to create a NAT gateway and configure SNAT rules if you create an ACK Serverless cluster. Valid values:
|
|
2280
2302
|
*
|
|
2281
2303
|
* * `true`: automatically creates a NAT gateway and configures SNAT rules. This enables Internet access for the VPC in which the cluster is deployed.
|
|
2282
|
-
* * `false`: does not create a NAT gateway or configure SNAT rules.
|
|
2304
|
+
* * `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.
|
|
2283
2305
|
*
|
|
2284
2306
|
* Default value: `false`.
|
|
2285
2307
|
*
|
|
@@ -2289,7 +2311,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2289
2311
|
natGateway?: boolean;
|
|
2290
2312
|
/**
|
|
2291
2313
|
* @remarks
|
|
2292
|
-
* The maximum number of IP addresses that can be assigned to
|
|
2314
|
+
* The maximum number of IP addresses that can be assigned to each node. This number is determined by the subnet mask of the specified CIDR block. This parameter takes effect only if the cluster uses the Flannel plug-in.
|
|
2293
2315
|
*
|
|
2294
2316
|
* Default value: `26`.
|
|
2295
2317
|
*
|
|
@@ -2299,14 +2321,14 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2299
2321
|
nodeCidrMask?: string;
|
|
2300
2322
|
/**
|
|
2301
2323
|
* @remarks
|
|
2302
|
-
* The
|
|
2324
|
+
* The custom node name.
|
|
2303
2325
|
*
|
|
2304
|
-
* A node name consists of a prefix,
|
|
2326
|
+
* A custom node name consists of a prefix, a node IP address, and a suffix.
|
|
2305
2327
|
*
|
|
2306
2328
|
* * 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.
|
|
2307
2329
|
* * 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.
|
|
2308
2330
|
*
|
|
2309
|
-
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name will
|
|
2331
|
+
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name will aliyun.com00055test.
|
|
2310
2332
|
*
|
|
2311
2333
|
* @example
|
|
2312
2334
|
* aliyun.com00055test
|
|
@@ -2352,7 +2374,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2352
2374
|
osType?: string;
|
|
2353
2375
|
/**
|
|
2354
2376
|
* @remarks
|
|
2355
|
-
* The subscription duration. This parameter takes effect and is required only
|
|
2377
|
+
* The subscription duration of the instance. This parameter takes effect and is required only when you set charge_type to PrePaid.
|
|
2356
2378
|
*
|
|
2357
2379
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2358
2380
|
*
|
|
@@ -2366,7 +2388,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2366
2388
|
* @remarks
|
|
2367
2389
|
* The billing cycle. This parameter is required if charge_type is set to PrePaid.
|
|
2368
2390
|
*
|
|
2369
|
-
* Set the value to Month.
|
|
2391
|
+
* Set the value to Month. Subscription clusters are billed only on a monthly basis.
|
|
2370
2392
|
*
|
|
2371
2393
|
* @example
|
|
2372
2394
|
* Month
|
|
@@ -2374,7 +2396,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2374
2396
|
periodUnit?: string;
|
|
2375
2397
|
/**
|
|
2376
2398
|
* @remarks
|
|
2377
|
-
* The OS distribution. Valid values:
|
|
2399
|
+
* The OS distribution that is used. Valid values:
|
|
2378
2400
|
*
|
|
2379
2401
|
* * CentOS
|
|
2380
2402
|
* * AliyunLinux
|
|
@@ -2391,9 +2413,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2391
2413
|
platform?: string;
|
|
2392
2414
|
/**
|
|
2393
2415
|
* @remarks
|
|
2394
|
-
*
|
|
2416
|
+
* If you select Terway as the network plug-in, you must allocate vSwitches to pods. For each vSwitch that allocates IP addresses to worker nodes, you must select a vSwitch in the same zone to allocate IP addresses to pods.
|
|
2395
2417
|
*
|
|
2396
|
-
* > The
|
|
2418
|
+
* > We recommend that you select pod vSwitches whose subnet masks that do not exceed 19 bits in length. The maximum subnet mask length of a pod vSwitch is 25 bits. If you select a pod vSwitch whose subnet mask exceeds 25 bits in length, the IP addresses that can be allocated to pods may be insufficient.
|
|
2397
2419
|
*/
|
|
2398
2420
|
podVswitchIds?: string[];
|
|
2399
2421
|
/**
|
|
@@ -2413,8 +2435,8 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2413
2435
|
* @remarks
|
|
2414
2436
|
* The kube-proxy mode. Valid values:
|
|
2415
2437
|
*
|
|
2416
|
-
* * `iptables`:
|
|
2417
|
-
* * `ipvs`: provides high performance and uses IP Virtual Server (IPVS)
|
|
2438
|
+
* * `iptables`: a mature and stable mode that uses iptables rules to conduct service discovery and load balancing. The performance of this mode is limited by the size of the cluster. This mode is suitable for clusters that run a small number of Services.
|
|
2439
|
+
* * `ipvs`: a mode that provides high performance and uses IP Virtual Server (IPVS) to conduct service discovery and load balancing. This mode is suitable for clusters that run a large number of Services. We recommend that you use this mode in scenarios that require high-performance load balancing.
|
|
2418
2440
|
*
|
|
2419
2441
|
* Default value: `ipvs`.
|
|
2420
2442
|
*
|
|
@@ -2424,12 +2446,12 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2424
2446
|
proxyMode?: string;
|
|
2425
2447
|
/**
|
|
2426
2448
|
* @remarks
|
|
2427
|
-
* The
|
|
2449
|
+
* The ApsaraDB RDS instances. The pod CIDR block and node CIDR block are added to the whitelists of the ApsaraDB RDS instances. We recommend that you add the pod CIDR block and node CIDR block to the whitelists of the ApsaraDB RDS instances in the ApsaraDB RDS console. If the RDS instances are not in the Running state, new nodes cannot be added to the cluster.
|
|
2428
2450
|
*/
|
|
2429
2451
|
rdsInstances?: string[];
|
|
2430
2452
|
/**
|
|
2431
2453
|
* @remarks
|
|
2432
|
-
* The ID of the region in which
|
|
2454
|
+
* The ID of the region in which the cluster is deployed.
|
|
2433
2455
|
*
|
|
2434
2456
|
* This parameter is required.
|
|
2435
2457
|
*
|
|
@@ -2449,12 +2471,12 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2449
2471
|
* @remarks
|
|
2450
2472
|
* The container runtime. The default container runtime is Docker. containerd and Sandboxed-Container are also supported.
|
|
2451
2473
|
*
|
|
2452
|
-
* For more information about how to select a proper container runtime, see [
|
|
2474
|
+
* For more information about how to select a proper container runtime, see [Comparison among Docker, containerd, and Sandboxed-Container](https://help.aliyun.com/document_detail/160313.html).
|
|
2453
2475
|
*/
|
|
2454
2476
|
runtime?: Runtime;
|
|
2455
2477
|
/**
|
|
2456
2478
|
* @remarks
|
|
2457
|
-
* The ID of an existing security group. You
|
|
2479
|
+
* The ID of an existing security group. You must specify this parameter or the `is_enterprise_security_group` parameter. Cluster nodes are automatically added to the security group.
|
|
2458
2480
|
*
|
|
2459
2481
|
* @example
|
|
2460
2482
|
* sg-bp1bdue0qc1g7k****
|
|
@@ -2462,14 +2484,12 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2462
2484
|
securityGroupId?: string;
|
|
2463
2485
|
/**
|
|
2464
2486
|
* @remarks
|
|
2465
|
-
* Specifies whether to enable Alibaba Cloud Linux Security Hardening.
|
|
2466
|
-
*
|
|
2467
|
-
* Valid values:
|
|
2487
|
+
* Specifies whether to enable Alibaba Cloud Linux Security Hardening. Valid values:
|
|
2468
2488
|
*
|
|
2469
|
-
*
|
|
2470
|
-
*
|
|
2489
|
+
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
2490
|
+
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
2471
2491
|
*
|
|
2472
|
-
* Default value: false
|
|
2492
|
+
* Default value: `false`.
|
|
2473
2493
|
*
|
|
2474
2494
|
* @example
|
|
2475
2495
|
* false
|
|
@@ -2477,9 +2497,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2477
2497
|
securityHardeningOs?: boolean;
|
|
2478
2498
|
/**
|
|
2479
2499
|
* @remarks
|
|
2480
|
-
* Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. `service-account-issuer`
|
|
2500
|
+
* Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. The `service-account-issuer` parameter specifies the issuer of the `service account token`, which is specified by using the `iss` field in the `token payload`.
|
|
2481
2501
|
*
|
|
2482
|
-
* For more information about `
|
|
2502
|
+
* For more information about `service accounts`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
2483
2503
|
*
|
|
2484
2504
|
* @example
|
|
2485
2505
|
* kubernetes.default.svc
|
|
@@ -2487,9 +2507,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2487
2507
|
serviceAccountIssuer?: string;
|
|
2488
2508
|
/**
|
|
2489
2509
|
* @remarks
|
|
2490
|
-
* The CIDR block
|
|
2510
|
+
* The Service CIDR block. Valid values: 10.0.0.0/16-24, 172.16-31.0.0/16-24, and 192.168.0.0/16-24. The Service CIDR block cannot overlap with the VPC CIDR block (10.1.0.0/21) or the CIDR blocks of existing clusters in the VPC. You cannot modify the Service CIDR block after the cluster is created.
|
|
2491
2511
|
*
|
|
2492
|
-
* By default, the CIDR block
|
|
2512
|
+
* By default, the Service CIDR block is set to 172.19.0.0/20.
|
|
2493
2513
|
*
|
|
2494
2514
|
* This parameter is required.
|
|
2495
2515
|
*
|
|
@@ -2501,20 +2521,20 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2501
2521
|
* @remarks
|
|
2502
2522
|
* The type of service discovery that is implemented in the `ACK Serverless` cluster.
|
|
2503
2523
|
*
|
|
2504
|
-
* * `CoreDNS`:
|
|
2505
|
-
* * `PrivateZone`: a DNS resolution service provided by Alibaba Cloud. You must activate Alibaba Cloud DNS PrivateZone before you can use it
|
|
2524
|
+
* * `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.
|
|
2525
|
+
* * `PrivateZone`: a DNS resolution service provided by Alibaba Cloud. You must activate Alibaba Cloud DNS PrivateZone before you can use it to implement service discovery.
|
|
2506
2526
|
*
|
|
2507
2527
|
* By default, this parameter is not specified.
|
|
2508
2528
|
*/
|
|
2509
2529
|
serviceDiscoveryTypes?: string[];
|
|
2510
2530
|
/**
|
|
2511
2531
|
* @remarks
|
|
2512
|
-
* Specifies whether to configure
|
|
2532
|
+
* Specifies whether to configure SNAT rules for the VPC in which your cluster is deployed. Valid values:
|
|
2513
2533
|
*
|
|
2514
|
-
* * `true`: automatically creates a NAT gateway and configures SNAT rules. Set
|
|
2534
|
+
* * `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.
|
|
2515
2535
|
* * `false`: does not create a NAT gateway or configure SNAT rules. In this case, nodes and applications in the cluster cannot access the Internet.
|
|
2516
2536
|
*
|
|
2517
|
-
* > If this feature is disabled when you create the cluster, you can manually enable this feature after you create the cluster. For more information, see [
|
|
2537
|
+
* > 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).
|
|
2518
2538
|
*
|
|
2519
2539
|
* Default value: `true`.
|
|
2520
2540
|
*
|
|
@@ -2524,12 +2544,12 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2524
2544
|
snatEntry?: boolean;
|
|
2525
2545
|
/**
|
|
2526
2546
|
* @remarks
|
|
2527
|
-
* Specifies whether to enable
|
|
2547
|
+
* Specifies whether to enable security hardening based on Multi-Level Protection Scheme (MLPS). For more information, see [ACK security hardening based on MLPS](https://help.aliyun.com/document_detail/196148.html).
|
|
2528
2548
|
*
|
|
2529
2549
|
* Valid values:
|
|
2530
2550
|
*
|
|
2531
|
-
* * `true`: enables
|
|
2532
|
-
* * `false`: disables
|
|
2551
|
+
* * `true`: enables security hardening based on MLPS.
|
|
2552
|
+
* * `false`: disables security hardening based on MLPS.
|
|
2533
2553
|
*
|
|
2534
2554
|
* Default value: `false`.
|
|
2535
2555
|
*
|
|
@@ -2560,7 +2580,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2560
2580
|
tags?: Tag[];
|
|
2561
2581
|
/**
|
|
2562
2582
|
* @remarks
|
|
2563
|
-
* The taints
|
|
2583
|
+
* The taints that you want to add to nodes. Taints can be used together with tolerations to avoid scheduling pods to specific nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
2564
2584
|
*/
|
|
2565
2585
|
taints?: Taint[];
|
|
2566
2586
|
/**
|
|
@@ -2599,9 +2619,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2599
2619
|
userData?: string;
|
|
2600
2620
|
/**
|
|
2601
2621
|
* @remarks
|
|
2602
|
-
* The
|
|
2603
|
-
*
|
|
2604
|
-
* This parameter is required.
|
|
2622
|
+
* The virtual private cloud (VPC) in which you want to deploy the cluster. This parameter is required.
|
|
2605
2623
|
*
|
|
2606
2624
|
* @example
|
|
2607
2625
|
* vpc-2zeik9h3ahvv2zz95****
|
|
@@ -2609,19 +2627,17 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2609
2627
|
vpcid?: string;
|
|
2610
2628
|
/**
|
|
2611
2629
|
* @remarks
|
|
2612
|
-
* The vSwitches
|
|
2613
|
-
*
|
|
2614
|
-
* This parameter is required.
|
|
2630
|
+
* The vSwitches for nodes in the cluster. This parameter is required if you create an ACK managed cluster that does not contain nodes.
|
|
2615
2631
|
*/
|
|
2616
2632
|
vswitchIds?: string[];
|
|
2617
2633
|
/**
|
|
2618
2634
|
* @remarks
|
|
2619
|
-
* Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect and is required only
|
|
2635
|
+
* 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:
|
|
2620
2636
|
*
|
|
2621
2637
|
* * `true`: enables auto-renewal.
|
|
2622
2638
|
* * `false`: disables auto-renewal.
|
|
2623
2639
|
*
|
|
2624
|
-
* Default value: `true
|
|
2640
|
+
* Default value: `true`
|
|
2625
2641
|
*
|
|
2626
2642
|
* @example
|
|
2627
2643
|
* true
|
|
@@ -2631,7 +2647,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2631
2647
|
workerAutoRenew?: boolean;
|
|
2632
2648
|
/**
|
|
2633
2649
|
* @remarks
|
|
2634
|
-
* The
|
|
2650
|
+
* The auto-renewal duration. This parameter takes effect and is required only when the subscription billing method is selected for worker nodes.
|
|
2635
2651
|
*
|
|
2636
2652
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
2637
2653
|
*
|
|
@@ -2672,7 +2688,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2672
2688
|
workerInstanceTypes?: string[];
|
|
2673
2689
|
/**
|
|
2674
2690
|
* @remarks
|
|
2675
|
-
* The subscription duration of worker nodes. This parameter takes effect and is required only
|
|
2691
|
+
* The subscription duration of worker nodes. This parameter takes effect and is required only when `worker_instance_charge_type` is set to `PrePaid`.
|
|
2676
2692
|
*
|
|
2677
2693
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2678
2694
|
*
|
|
@@ -2688,7 +2704,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2688
2704
|
* @remarks
|
|
2689
2705
|
* The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
|
|
2690
2706
|
*
|
|
2691
|
-
* Set the value to `Month`.
|
|
2707
|
+
* Set the value to `Month`. Subscription worker nodes are billed only on a monthly basis.
|
|
2692
2708
|
*
|
|
2693
2709
|
* @example
|
|
2694
2710
|
* Month
|
|
@@ -2698,7 +2714,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2698
2714
|
workerPeriodUnit?: string;
|
|
2699
2715
|
/**
|
|
2700
2716
|
* @remarks
|
|
2701
|
-
* The
|
|
2717
|
+
* The system disk type of worker nodes. For more information, see [Overview of Block Storage](https://help.aliyun.com/document_detail/63136.html).
|
|
2702
2718
|
*
|
|
2703
2719
|
* Valid values:
|
|
2704
2720
|
*
|
|
@@ -2715,7 +2731,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2715
2731
|
workerSystemDiskCategory?: string;
|
|
2716
2732
|
/**
|
|
2717
2733
|
* @remarks
|
|
2718
|
-
* If the system disk is an ESSD, you can
|
|
2734
|
+
* If the system disk is an ESSD, you can specify the PL of the ESSD. For more information, see [Enterprise SSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
2719
2735
|
*
|
|
2720
2736
|
* Valid values:
|
|
2721
2737
|
*
|
|
@@ -2736,7 +2752,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2736
2752
|
*
|
|
2737
2753
|
* Valid values: 40 to 500.
|
|
2738
2754
|
*
|
|
2739
|
-
* The value of this parameter must be at least 40 and
|
|
2755
|
+
* The value of this parameter must be at least 40 and greater than or equal to the image size.
|
|
2740
2756
|
*
|
|
2741
2757
|
* Default value: `120`.
|
|
2742
2758
|
*
|
|
@@ -2758,28 +2774,33 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2758
2774
|
workerSystemDiskSnapshotPolicyId?: string;
|
|
2759
2775
|
/**
|
|
2760
2776
|
* @remarks
|
|
2761
|
-
* The
|
|
2777
|
+
* The vSwitches for worker nodes. Each worker node is allocated a vSwitch.
|
|
2762
2778
|
*
|
|
2763
|
-
*
|
|
2779
|
+
* `worker_vswitch_ids` is optional but `vswitch_ids` is required if you create an ACK managed cluster that does not contain nodes.
|
|
2764
2780
|
*
|
|
2765
2781
|
* @deprecated
|
|
2766
2782
|
*/
|
|
2767
2783
|
workerVswitchIds?: string[];
|
|
2768
2784
|
/**
|
|
2769
2785
|
* @remarks
|
|
2770
|
-
* The ID of the zone to which the cluster belongs. This parameter takes effect for
|
|
2786
|
+
* The ID of the zone to which the cluster belongs. This parameter takes effect only for ACK Serverless clusters.
|
|
2771
2787
|
*
|
|
2772
|
-
*
|
|
2788
|
+
* If you create an ACK Serverless cluster, you must specify `zone_id` if `vpc_id` and `vswitch_ids` are not specified. This way, the system automatically creates a VPC in the specified zone.
|
|
2773
2789
|
*
|
|
2774
2790
|
* @example
|
|
2775
2791
|
* cn-beiji****
|
|
2792
|
+
*
|
|
2793
|
+
* @deprecated
|
|
2776
2794
|
*/
|
|
2777
2795
|
zoneId?: string;
|
|
2796
|
+
zoneIds?: string[];
|
|
2778
2797
|
static names(): { [key: string]: string } {
|
|
2779
2798
|
return {
|
|
2780
2799
|
accessControlList: 'access_control_list',
|
|
2781
2800
|
addons: 'addons',
|
|
2782
2801
|
apiAudiences: 'api_audiences',
|
|
2802
|
+
autoRenew: 'auto_renew',
|
|
2803
|
+
autoRenewPeriod: 'auto_renew_period',
|
|
2783
2804
|
chargeType: 'charge_type',
|
|
2784
2805
|
cisEnabled: 'cis_enabled',
|
|
2785
2806
|
cloudMonitorFlags: 'cloud_monitor_flags',
|
|
@@ -2806,6 +2827,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2806
2827
|
keepInstanceName: 'keep_instance_name',
|
|
2807
2828
|
keyPair: 'key_pair',
|
|
2808
2829
|
kubernetesVersion: 'kubernetes_version',
|
|
2830
|
+
loadBalancerId: 'load_balancer_id',
|
|
2809
2831
|
loadBalancerSpec: 'load_balancer_spec',
|
|
2810
2832
|
loggingType: 'logging_type',
|
|
2811
2833
|
loginPassword: 'login_password',
|
|
@@ -2868,6 +2890,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2868
2890
|
workerSystemDiskSnapshotPolicyId: 'worker_system_disk_snapshot_policy_id',
|
|
2869
2891
|
workerVswitchIds: 'worker_vswitch_ids',
|
|
2870
2892
|
zoneId: 'zone_id',
|
|
2893
|
+
zoneIds: 'zone_ids',
|
|
2871
2894
|
};
|
|
2872
2895
|
}
|
|
2873
2896
|
|
|
@@ -2876,6 +2899,8 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2876
2899
|
accessControlList: { 'type': 'array', 'itemType': 'string' },
|
|
2877
2900
|
addons: { 'type': 'array', 'itemType': Addon },
|
|
2878
2901
|
apiAudiences: 'string',
|
|
2902
|
+
autoRenew: 'boolean',
|
|
2903
|
+
autoRenewPeriod: 'number',
|
|
2879
2904
|
chargeType: 'string',
|
|
2880
2905
|
cisEnabled: 'boolean',
|
|
2881
2906
|
cloudMonitorFlags: 'boolean',
|
|
@@ -2902,6 +2927,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2902
2927
|
keepInstanceName: 'boolean',
|
|
2903
2928
|
keyPair: 'string',
|
|
2904
2929
|
kubernetesVersion: 'string',
|
|
2930
|
+
loadBalancerId: 'string',
|
|
2905
2931
|
loadBalancerSpec: 'string',
|
|
2906
2932
|
loggingType: 'string',
|
|
2907
2933
|
loginPassword: 'string',
|
|
@@ -2964,6 +2990,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2964
2990
|
workerSystemDiskSnapshotPolicyId: 'string',
|
|
2965
2991
|
workerVswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
2966
2992
|
zoneId: 'string',
|
|
2993
|
+
zoneIds: { 'type': 'array', 'itemType': 'string' },
|
|
2967
2994
|
};
|
|
2968
2995
|
}
|
|
2969
2996
|
|
|
@@ -3045,11 +3072,51 @@ export class CreateClusterResponse extends $tea.Model {
|
|
|
3045
3072
|
|
|
3046
3073
|
export class CreateClusterDiagnosisRequest extends $tea.Model {
|
|
3047
3074
|
/**
|
|
3075
|
+
* @remarks
|
|
3076
|
+
* The parameter used to specify the diagnostic object. Examples of parameters for different types of diagnostic objects:
|
|
3077
|
+
*
|
|
3078
|
+
* node:
|
|
3079
|
+
*
|
|
3080
|
+
* {"name": "cn-shanghai.10.10.10.107"}
|
|
3081
|
+
*
|
|
3082
|
+
* pod
|
|
3083
|
+
*
|
|
3084
|
+
* {"namespace": "kube-system", "name": "csi-plugin-2cg9f"}
|
|
3085
|
+
*
|
|
3086
|
+
* network
|
|
3087
|
+
*
|
|
3088
|
+
* {"src": "10.10.10.108", "dst": "10.11.247.16", "dport": "80"}
|
|
3089
|
+
*
|
|
3090
|
+
* ingress
|
|
3091
|
+
*
|
|
3092
|
+
* {"url": "https://example.com"}
|
|
3093
|
+
*
|
|
3094
|
+
* memory
|
|
3095
|
+
*
|
|
3096
|
+
* {"node":"cn-hangzhou.172.16.9.240"}
|
|
3097
|
+
*
|
|
3098
|
+
* service
|
|
3099
|
+
*
|
|
3100
|
+
* {"namespace": "kube-system", "name": "nginx-ingress-lb"}
|
|
3101
|
+
*
|
|
3048
3102
|
* @example
|
|
3049
3103
|
* {"namespace": "kube-system", "name": "csi-plugin-2cg9f"}
|
|
3050
3104
|
*/
|
|
3051
3105
|
target?: { [key: string]: any };
|
|
3052
3106
|
/**
|
|
3107
|
+
* @remarks
|
|
3108
|
+
* The type of the diagnostic.
|
|
3109
|
+
*
|
|
3110
|
+
* Valid values:
|
|
3111
|
+
*
|
|
3112
|
+
* * node
|
|
3113
|
+
* * ingress
|
|
3114
|
+
* * cluster
|
|
3115
|
+
* * memory
|
|
3116
|
+
* * pod
|
|
3117
|
+
* * service
|
|
3118
|
+
* * network
|
|
3119
|
+
*
|
|
3053
3120
|
* @example
|
|
3054
3121
|
* node
|
|
3055
3122
|
*/
|
|
@@ -3075,16 +3142,25 @@ export class CreateClusterDiagnosisRequest extends $tea.Model {
|
|
|
3075
3142
|
|
|
3076
3143
|
export class CreateClusterDiagnosisResponseBody extends $tea.Model {
|
|
3077
3144
|
/**
|
|
3145
|
+
* @remarks
|
|
3146
|
+
* The cluster ID.
|
|
3147
|
+
*
|
|
3078
3148
|
* @example
|
|
3079
3149
|
* c5cdf7e3938bc4f8eb0e44b21a80f****
|
|
3080
3150
|
*/
|
|
3081
3151
|
clusterId?: string;
|
|
3082
3152
|
/**
|
|
3153
|
+
* @remarks
|
|
3154
|
+
* The diagnostic ID.
|
|
3155
|
+
*
|
|
3083
3156
|
* @example
|
|
3084
3157
|
* 6f719f23098240818eb26fe3a37d****
|
|
3085
3158
|
*/
|
|
3086
3159
|
diagnosisId?: string;
|
|
3087
3160
|
/**
|
|
3161
|
+
* @remarks
|
|
3162
|
+
* The request ID.
|
|
3163
|
+
*
|
|
3088
3164
|
* @example
|
|
3089
3165
|
* 687C5BAA-D103-4993-884B-C35E4314****
|
|
3090
3166
|
*/
|
|
@@ -3143,7 +3219,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
3143
3219
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
3144
3220
|
/**
|
|
3145
3221
|
* @remarks
|
|
3146
|
-
* This parameter is
|
|
3222
|
+
* This parameter is deprecated. Use desired_size instead.
|
|
3147
3223
|
*
|
|
3148
3224
|
* The number of nodes in the node pool.
|
|
3149
3225
|
*
|
|
@@ -3155,7 +3231,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
3155
3231
|
count?: number;
|
|
3156
3232
|
/**
|
|
3157
3233
|
* @remarks
|
|
3158
|
-
* This parameter is
|
|
3234
|
+
* This parameter is deprecated.
|
|
3159
3235
|
*
|
|
3160
3236
|
* The configurations of the edge node pool.
|
|
3161
3237
|
*
|
|
@@ -3164,10 +3240,10 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
3164
3240
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
3165
3241
|
/**
|
|
3166
3242
|
* @remarks
|
|
3167
|
-
* The network type of the edge node pool. This parameter takes effect only if you set the `type`
|
|
3243
|
+
* The network type of the edge node pool. This parameter takes effect only if you set the `type` of the node pool to `edge`. Valid values:
|
|
3168
3244
|
*
|
|
3169
|
-
* * `basic`: basic
|
|
3170
|
-
* * `private`: dedicated
|
|
3245
|
+
* * `basic`: basic
|
|
3246
|
+
* * `private`: dedicated Only Kubernetes 1.22 and later support this value.
|
|
3171
3247
|
*
|
|
3172
3248
|
* @example
|
|
3173
3249
|
* basic
|
|
@@ -3175,7 +3251,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
3175
3251
|
interconnectMode?: string;
|
|
3176
3252
|
/**
|
|
3177
3253
|
* @remarks
|
|
3178
|
-
* The cluster
|
|
3254
|
+
* The configurations of the cluster.
|
|
3179
3255
|
*/
|
|
3180
3256
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
3181
3257
|
/**
|
|
@@ -3185,7 +3261,10 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
3185
3261
|
management?: CreateClusterNodePoolRequestManagement;
|
|
3186
3262
|
/**
|
|
3187
3263
|
* @remarks
|
|
3188
|
-
* The maximum number of nodes that can be
|
|
3264
|
+
* The maximum number of nodes that can be contained in the edge node pool. The value of this parameter must be greater than or equal to 0. A value of 0 indicates that the number of nodes in the node pool is limited only by the quota of nodes in the cluster.
|
|
3265
|
+
*
|
|
3266
|
+
* * In most cases, this parameter is set to a value greater than 0 for edge node pools.
|
|
3267
|
+
* * This parameter is set to 0 for node pools whose types are ess or default edge node pools.
|
|
3189
3268
|
*
|
|
3190
3269
|
* @example
|
|
3191
3270
|
* 10
|
|
@@ -3948,7 +4027,7 @@ export class DeleteAlertContactShrinkRequest extends $tea.Model {
|
|
|
3948
4027
|
export class DeleteAlertContactResponse extends $tea.Model {
|
|
3949
4028
|
headers?: { [key: string]: string };
|
|
3950
4029
|
statusCode?: number;
|
|
3951
|
-
body?: DeleteAlertContactResponseBody
|
|
4030
|
+
body?: DeleteAlertContactResponseBody;
|
|
3952
4031
|
static names(): { [key: string]: string } {
|
|
3953
4032
|
return {
|
|
3954
4033
|
headers: 'headers',
|
|
@@ -3961,7 +4040,7 @@ export class DeleteAlertContactResponse extends $tea.Model {
|
|
|
3961
4040
|
return {
|
|
3962
4041
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3963
4042
|
statusCode: 'number',
|
|
3964
|
-
body:
|
|
4043
|
+
body: DeleteAlertContactResponseBody,
|
|
3965
4044
|
};
|
|
3966
4045
|
}
|
|
3967
4046
|
|
|
@@ -4049,12 +4128,12 @@ export class DeleteClusterRequest extends $tea.Model {
|
|
|
4049
4128
|
deleteOptions?: DeleteClusterRequestDeleteOptions[];
|
|
4050
4129
|
/**
|
|
4051
4130
|
* @remarks
|
|
4052
|
-
* Specifies whether to retain the Server Load Balancer (SLB)
|
|
4131
|
+
* Specifies whether to retain the Server Load Balancer (SLB) resources that are created by the cluster.
|
|
4053
4132
|
*
|
|
4054
4133
|
* * `true`: retains the SLB instances that are created by the cluster.
|
|
4055
4134
|
* * `false`: does not retain the SLB instances that are created by the cluster.
|
|
4056
4135
|
*
|
|
4057
|
-
* Default value: `false`.
|
|
4136
|
+
* Default value: `false`. Set resource_type to `SLB` in the `delete_options` parameter to manage SLB instances.
|
|
4058
4137
|
*
|
|
4059
4138
|
* @example
|
|
4060
4139
|
* false
|
|
@@ -4064,10 +4143,10 @@ export class DeleteClusterRequest extends $tea.Model {
|
|
|
4064
4143
|
keepSlb?: boolean;
|
|
4065
4144
|
/**
|
|
4066
4145
|
* @remarks
|
|
4067
|
-
* Specifies whether to retain all resources. If you set the parameter to `true`, the `retain_resources` parameter is ignored.
|
|
4146
|
+
* Specifies whether to retain all resources. If you set the parameter to `true`, the `retain_resources` parameter is ignored. The cloud resources that are created by the cluster are retained. You can call the `DescribeClusterResources` operation to query cloud resources created by the cluster. If you set the parameter to `false`, resources to be retained by default in the `delete_options` parameter are still retained. To delete these resources, set `delete_mode` to `delete` in `delete_options`.
|
|
4068
4147
|
*
|
|
4069
|
-
* * `true`: retains all resources.
|
|
4070
|
-
* * `false`: does not retain all resources.
|
|
4148
|
+
* * `true`: retains all resources, including cloud resources created by the cluster.
|
|
4149
|
+
* * `false`: does not retain all resources. Resources to be retained by default in the `delete_options` parameter are retained. For example, `ALB` instances are retained when this parameter is set to `false`.
|
|
4071
4150
|
*
|
|
4072
4151
|
* Default value: `false`.
|
|
4073
4152
|
*
|
|
@@ -4111,12 +4190,12 @@ export class DeleteClusterShrinkRequest extends $tea.Model {
|
|
|
4111
4190
|
deleteOptionsShrink?: string;
|
|
4112
4191
|
/**
|
|
4113
4192
|
* @remarks
|
|
4114
|
-
* Specifies whether to retain the Server Load Balancer (SLB)
|
|
4193
|
+
* Specifies whether to retain the Server Load Balancer (SLB) resources that are created by the cluster.
|
|
4115
4194
|
*
|
|
4116
4195
|
* * `true`: retains the SLB instances that are created by the cluster.
|
|
4117
4196
|
* * `false`: does not retain the SLB instances that are created by the cluster.
|
|
4118
4197
|
*
|
|
4119
|
-
* Default value: `false`.
|
|
4198
|
+
* Default value: `false`. Set resource_type to `SLB` in the `delete_options` parameter to manage SLB instances.
|
|
4120
4199
|
*
|
|
4121
4200
|
* @example
|
|
4122
4201
|
* false
|
|
@@ -4126,10 +4205,10 @@ export class DeleteClusterShrinkRequest extends $tea.Model {
|
|
|
4126
4205
|
keepSlb?: boolean;
|
|
4127
4206
|
/**
|
|
4128
4207
|
* @remarks
|
|
4129
|
-
* Specifies whether to retain all resources. If you set the parameter to `true`, the `retain_resources` parameter is ignored.
|
|
4208
|
+
* Specifies whether to retain all resources. If you set the parameter to `true`, the `retain_resources` parameter is ignored. The cloud resources that are created by the cluster are retained. You can call the `DescribeClusterResources` operation to query cloud resources created by the cluster. If you set the parameter to `false`, resources to be retained by default in the `delete_options` parameter are still retained. To delete these resources, set `delete_mode` to `delete` in `delete_options`.
|
|
4130
4209
|
*
|
|
4131
|
-
* * `true`: retains all resources.
|
|
4132
|
-
* * `false`: does not retain all resources.
|
|
4210
|
+
* * `true`: retains all resources, including cloud resources created by the cluster.
|
|
4211
|
+
* * `false`: does not retain all resources. Resources to be retained by default in the `delete_options` parameter are retained. For example, `ALB` instances are retained when this parameter is set to `false`.
|
|
4133
4212
|
*
|
|
4134
4213
|
* Default value: `false`.
|
|
4135
4214
|
*
|
|
@@ -5117,12 +5196,10 @@ export class DescribeAddonsRequest extends $tea.Model {
|
|
|
5117
5196
|
clusterProfile?: string;
|
|
5118
5197
|
/**
|
|
5119
5198
|
* @remarks
|
|
5120
|
-
*
|
|
5121
|
-
*
|
|
5122
|
-
* * `ack.pro.small`: ACK Pro cluster
|
|
5123
|
-
* * `ack.standard`: ACK Basic cluster
|
|
5199
|
+
* If you set `cluster_type` to `ManagedKubernetes` and specify `profile`, you can further specify the edition of the cluster. Valid values:
|
|
5124
5200
|
*
|
|
5125
|
-
*
|
|
5201
|
+
* * `ack.pro.small`: creates an ACK Pro cluster.
|
|
5202
|
+
* * `ack.standard`: creates an ACK Basic cluster. If you leave the parameter empty, an ACK Basic cluster is created.
|
|
5126
5203
|
*
|
|
5127
5204
|
* @example
|
|
5128
5205
|
* ack.pro.small
|
|
@@ -5130,10 +5207,8 @@ export class DescribeAddonsRequest extends $tea.Model {
|
|
|
5130
5207
|
clusterSpec?: string;
|
|
5131
5208
|
/**
|
|
5132
5209
|
* @remarks
|
|
5133
|
-
* The type of cluster. Valid values:
|
|
5134
|
-
*
|
|
5135
5210
|
* * `Kubernetes`: ACK dedicated cluster.
|
|
5136
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Pro clusters, ACK Basic clusters, ACK Serverless Pro clusters, ACK
|
|
5211
|
+
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters.
|
|
5137
5212
|
* * `ExternalKubernetes`: registered cluster.
|
|
5138
5213
|
*
|
|
5139
5214
|
* @example
|
|
@@ -5259,12 +5334,12 @@ export class DescribeClusterAddonInstanceResponseBody extends $tea.Model {
|
|
|
5259
5334
|
* @remarks
|
|
5260
5335
|
* The status of the component. Valid values:
|
|
5261
5336
|
*
|
|
5262
|
-
* * initial:
|
|
5263
|
-
* * active:
|
|
5264
|
-
* * unhealthy:
|
|
5265
|
-
* * upgrading:
|
|
5266
|
-
* * updating:
|
|
5267
|
-
* * deleting:
|
|
5337
|
+
* * initial: the component is being installed.
|
|
5338
|
+
* * active: the component is installed.
|
|
5339
|
+
* * unhealthy: the component abnormal.
|
|
5340
|
+
* * upgrading: the component is being updated.
|
|
5341
|
+
* * updating: the component is being modified.
|
|
5342
|
+
* * deleting: the component is being uninstalled.
|
|
5268
5343
|
* * deleted: The component is deleted.
|
|
5269
5344
|
*
|
|
5270
5345
|
* @example
|
|
@@ -5674,10 +5749,10 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5674
5749
|
clusterId?: string;
|
|
5675
5750
|
/**
|
|
5676
5751
|
* @remarks
|
|
5677
|
-
*
|
|
5752
|
+
* After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition of the cluster.
|
|
5678
5753
|
*
|
|
5679
|
-
* * `ack.pro.small`:
|
|
5680
|
-
* * `ack.standard`:
|
|
5754
|
+
* * `ack.pro.small`: Pro.
|
|
5755
|
+
* * `ack.standard`: Basic. If you leave the parameter empty, the Basic edition is selected.
|
|
5681
5756
|
*
|
|
5682
5757
|
* @example
|
|
5683
5758
|
* ack.pro.small
|
|
@@ -5685,10 +5760,8 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5685
5760
|
clusterSpec?: string;
|
|
5686
5761
|
/**
|
|
5687
5762
|
* @remarks
|
|
5688
|
-
* The type of cluster. Valid values:
|
|
5689
|
-
*
|
|
5690
5763
|
* * `Kubernetes`: ACK dedicated cluster.
|
|
5691
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK
|
|
5764
|
+
* * `ManagedKubernetes`: 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).
|
|
5692
5765
|
* * `ExternalKubernetes`: registered cluster.
|
|
5693
5766
|
*
|
|
5694
5767
|
* @example
|
|
@@ -5796,10 +5869,12 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5796
5869
|
privateZone?: boolean;
|
|
5797
5870
|
/**
|
|
5798
5871
|
* @remarks
|
|
5799
|
-
*
|
|
5872
|
+
* If you set `cluster_type` to `ManagedKubernetes`, an ACK managed cluster is created. In this case, you can further specify the cluster edition.
|
|
5800
5873
|
*
|
|
5801
|
-
* * `Default
|
|
5802
|
-
* * `Edge`:
|
|
5874
|
+
* * `Default`. ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
5875
|
+
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
5876
|
+
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
5877
|
+
* * `Lingjun`: ACK Lingjun Pro cluster.
|
|
5803
5878
|
*
|
|
5804
5879
|
* @example
|
|
5805
5880
|
* Default
|
|
@@ -6264,9 +6339,6 @@ export class DescribeClusterNodePoolDetailResponse extends $tea.Model {
|
|
|
6264
6339
|
|
|
6265
6340
|
export class DescribeClusterNodePoolsRequest extends $tea.Model {
|
|
6266
6341
|
/**
|
|
6267
|
-
* @remarks
|
|
6268
|
-
* 节点池名称。
|
|
6269
|
-
*
|
|
6270
6342
|
* @example
|
|
6271
6343
|
* nodepool-test
|
|
6272
6344
|
*/
|
|
@@ -6472,7 +6544,7 @@ export class DescribeClusterNodesResponse extends $tea.Model {
|
|
|
6472
6544
|
export class DescribeClusterResourcesRequest extends $tea.Model {
|
|
6473
6545
|
/**
|
|
6474
6546
|
* @remarks
|
|
6475
|
-
* Specifies whether to query the resources created by cluster components
|
|
6547
|
+
* Specifies whether to query the resources created by cluster components.
|
|
6476
6548
|
*/
|
|
6477
6549
|
withAddonResources?: boolean;
|
|
6478
6550
|
static names(): { [key: string]: string } {
|
|
@@ -6908,12 +6980,10 @@ export class DescribeClustersV1Request extends $tea.Model {
|
|
|
6908
6980
|
clusterId?: string;
|
|
6909
6981
|
/**
|
|
6910
6982
|
* @remarks
|
|
6911
|
-
*
|
|
6912
|
-
*
|
|
6913
|
-
* * `ack.pro.small`: ACK Pro cluster
|
|
6914
|
-
* * `ack.standard`: ACK Basic cluster
|
|
6983
|
+
* After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition of the cluster. Valid values:
|
|
6915
6984
|
*
|
|
6916
|
-
*
|
|
6985
|
+
* * `ack.pro.small`: ACK Pro cluster.
|
|
6986
|
+
* * `ack.standard`: ACK Basic cluster. If you leave the parameter empty, ACK Basic cluster is selected.
|
|
6917
6987
|
*
|
|
6918
6988
|
* @example
|
|
6919
6989
|
* ack.pro.small
|
|
@@ -6921,10 +6991,8 @@ export class DescribeClustersV1Request extends $tea.Model {
|
|
|
6921
6991
|
clusterSpec?: string;
|
|
6922
6992
|
/**
|
|
6923
6993
|
* @remarks
|
|
6924
|
-
* The cluster type. Valid values:
|
|
6925
|
-
*
|
|
6926
6994
|
* * `Kubernetes`: ACK dedicated cluster.
|
|
6927
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Pro clusters, ACK Basic clusters, ACK Serverless Pro clusters, ACK
|
|
6995
|
+
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters.
|
|
6928
6996
|
* * `ExternalKubernetes`: registered cluster.
|
|
6929
6997
|
*
|
|
6930
6998
|
* @example
|
|
@@ -6959,17 +7027,12 @@ export class DescribeClustersV1Request extends $tea.Model {
|
|
|
6959
7027
|
pageSize?: number;
|
|
6960
7028
|
/**
|
|
6961
7029
|
* @remarks
|
|
6962
|
-
*
|
|
6963
|
-
*
|
|
6964
|
-
* * `Default`: ACK managed cluster
|
|
6965
|
-
* * `Serverless`: ACK Serverless cluster
|
|
6966
|
-
* * `Edge`: ACK Edge cluster
|
|
6967
|
-
*
|
|
6968
|
-
* Valid values when the cluster_type parameter is set to `Ask`:
|
|
6969
|
-
*
|
|
6970
|
-
* `ask.v2`: ACK Serverless cluster
|
|
7030
|
+
* 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:
|
|
6971
7031
|
*
|
|
6972
|
-
*
|
|
7032
|
+
* * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
7033
|
+
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
7034
|
+
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
7035
|
+
* * `Lingjun`: ACK Lingjun Pro cluster.
|
|
6973
7036
|
*
|
|
6974
7037
|
* @example
|
|
6975
7038
|
* Default
|
|
@@ -7729,6 +7792,13 @@ export class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
|
|
|
7729
7792
|
* Default
|
|
7730
7793
|
*/
|
|
7731
7794
|
profile?: string;
|
|
7795
|
+
/**
|
|
7796
|
+
* @remarks
|
|
7797
|
+
* Specify whether to query the Kubernetes versions available for updates. This parameter takes effect only when the KubernetesVersion parameter is specified.
|
|
7798
|
+
*
|
|
7799
|
+
* @example
|
|
7800
|
+
* 1.30.1-aliyun.1
|
|
7801
|
+
*/
|
|
7732
7802
|
queryUpgradableVersion?: boolean;
|
|
7733
7803
|
/**
|
|
7734
7804
|
* @remarks
|
|
@@ -8187,7 +8257,7 @@ export class DescribePolicyInstancesResponse extends $tea.Model {
|
|
|
8187
8257
|
export class DescribePolicyInstancesStatusResponseBody extends $tea.Model {
|
|
8188
8258
|
/**
|
|
8189
8259
|
* @remarks
|
|
8190
|
-
*
|
|
8260
|
+
* The number of policy instances that are deployed in the cluster at different severity levels.
|
|
8191
8261
|
*
|
|
8192
8262
|
* @example
|
|
8193
8263
|
* { "high": 11, "medium": 1 }
|
|
@@ -8195,7 +8265,7 @@ export class DescribePolicyInstancesStatusResponseBody extends $tea.Model {
|
|
|
8195
8265
|
instancesSeverityCount?: { [key: string]: any };
|
|
8196
8266
|
/**
|
|
8197
8267
|
* @remarks
|
|
8198
|
-
*
|
|
8268
|
+
* The number of policy instances of each policy type.
|
|
8199
8269
|
*/
|
|
8200
8270
|
policyInstances?: DescribePolicyInstancesStatusResponseBodyPolicyInstances[];
|
|
8201
8271
|
static names(): { [key: string]: string } {
|
|
@@ -8916,9 +8986,9 @@ export class DescribeUserQuotaResponseBody extends $tea.Model {
|
|
|
8916
8986
|
clusterQuota?: number;
|
|
8917
8987
|
/**
|
|
8918
8988
|
* @remarks
|
|
8919
|
-
* This parameter is
|
|
8989
|
+
* This parameter is discontinued.
|
|
8920
8990
|
*
|
|
8921
|
-
* The
|
|
8991
|
+
* The quotas of enhanced edge node pools.
|
|
8922
8992
|
*/
|
|
8923
8993
|
edgeImprovedNodepoolQuota?: DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota;
|
|
8924
8994
|
/**
|
|
@@ -9337,8 +9407,18 @@ export class GetClusterAddonInstanceResponse extends $tea.Model {
|
|
|
9337
9407
|
}
|
|
9338
9408
|
|
|
9339
9409
|
export class GetClusterAuditProjectResponseBody extends $tea.Model {
|
|
9410
|
+
/**
|
|
9411
|
+
* @remarks
|
|
9412
|
+
* Indicates whether the cluster auditing feature is enabled for the cluster. `true`: The cluster auditing feature is enabled for the cluster. `false`: The cluster auditing feature is disabled for the cluster.
|
|
9413
|
+
*
|
|
9414
|
+
* @example
|
|
9415
|
+
* true
|
|
9416
|
+
*/
|
|
9340
9417
|
auditEnabled?: boolean;
|
|
9341
9418
|
/**
|
|
9419
|
+
* @remarks
|
|
9420
|
+
* The SLS project in which the audit logs of the API server are stored.
|
|
9421
|
+
*
|
|
9342
9422
|
* @example
|
|
9343
9423
|
* k8s-log-cad1230511cbb4db4a488e58518******
|
|
9344
9424
|
*/
|
|
@@ -9496,18 +9576,31 @@ export class GetClusterCheckResponse extends $tea.Model {
|
|
|
9496
9576
|
}
|
|
9497
9577
|
|
|
9498
9578
|
export class GetClusterDiagnosisCheckItemsResponseBody extends $tea.Model {
|
|
9579
|
+
/**
|
|
9580
|
+
* @remarks
|
|
9581
|
+
* The check item.
|
|
9582
|
+
*/
|
|
9499
9583
|
checkItems?: GetClusterDiagnosisCheckItemsResponseBodyCheckItems[];
|
|
9500
9584
|
/**
|
|
9585
|
+
* @remarks
|
|
9586
|
+
* The status code.
|
|
9587
|
+
*
|
|
9501
9588
|
* @example
|
|
9502
9589
|
* success
|
|
9503
9590
|
*/
|
|
9504
9591
|
code?: string;
|
|
9505
9592
|
/**
|
|
9593
|
+
* @remarks
|
|
9594
|
+
* Indicates whether the check is successful.
|
|
9595
|
+
*
|
|
9506
9596
|
* @example
|
|
9507
9597
|
* true
|
|
9508
9598
|
*/
|
|
9509
9599
|
isSuccess?: boolean;
|
|
9510
9600
|
/**
|
|
9601
|
+
* @remarks
|
|
9602
|
+
* The request ID.
|
|
9603
|
+
*
|
|
9511
9604
|
* @example
|
|
9512
9605
|
* 1DFFD8C6-259E-582B-8B40-002C17DC****
|
|
9513
9606
|
*/
|
|
@@ -9562,46 +9655,90 @@ export class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
|
|
|
9562
9655
|
|
|
9563
9656
|
export class GetClusterDiagnosisResultResponseBody extends $tea.Model {
|
|
9564
9657
|
/**
|
|
9658
|
+
* @remarks
|
|
9659
|
+
* The code that indicates the diagnostic result. Valid values:
|
|
9660
|
+
*
|
|
9661
|
+
* * 0: the diagnostic is completed.
|
|
9662
|
+
* * 1: the diagnostic failed.
|
|
9663
|
+
*
|
|
9565
9664
|
* @example
|
|
9566
9665
|
* 0
|
|
9567
9666
|
*/
|
|
9568
9667
|
code?: number;
|
|
9569
9668
|
/**
|
|
9669
|
+
* @remarks
|
|
9670
|
+
* The time when the diagnostic is initiated.
|
|
9671
|
+
*
|
|
9570
9672
|
* @example
|
|
9571
9673
|
* 2024-05-28T11:29Z
|
|
9572
9674
|
*/
|
|
9573
9675
|
created?: string;
|
|
9574
9676
|
/**
|
|
9677
|
+
* @remarks
|
|
9678
|
+
* The diagnostic ID.
|
|
9679
|
+
*
|
|
9575
9680
|
* @example
|
|
9576
9681
|
* 6cf6b62e334e4583bdfd26707516****
|
|
9577
9682
|
*/
|
|
9578
9683
|
diagnosisId?: string;
|
|
9579
9684
|
/**
|
|
9685
|
+
* @remarks
|
|
9686
|
+
* The time when the diagnostic is completed.
|
|
9687
|
+
*
|
|
9580
9688
|
* @example
|
|
9581
9689
|
* 2024-05-28T11:29Z
|
|
9582
9690
|
*/
|
|
9583
9691
|
finished?: string;
|
|
9584
9692
|
/**
|
|
9693
|
+
* @remarks
|
|
9694
|
+
* The diagnostic status information.
|
|
9695
|
+
*
|
|
9585
9696
|
* @example
|
|
9586
9697
|
* success
|
|
9587
9698
|
*/
|
|
9588
9699
|
message?: string;
|
|
9589
9700
|
/**
|
|
9701
|
+
* @remarks
|
|
9702
|
+
* The diagnostic result.
|
|
9703
|
+
*
|
|
9590
9704
|
* @example
|
|
9591
9705
|
* {"phase":5,"version":"20240101"}
|
|
9592
9706
|
*/
|
|
9593
9707
|
result?: string;
|
|
9594
9708
|
/**
|
|
9709
|
+
* @remarks
|
|
9710
|
+
* The status of the diagnostic. Valid values:
|
|
9711
|
+
*
|
|
9712
|
+
* * 0: The diagnostic is created.
|
|
9713
|
+
* * 1: The diagnostic is running.
|
|
9714
|
+
* * 2: The diagnostic is completed.
|
|
9715
|
+
*
|
|
9595
9716
|
* @example
|
|
9596
9717
|
* 2
|
|
9597
9718
|
*/
|
|
9598
9719
|
status?: number;
|
|
9599
9720
|
/**
|
|
9721
|
+
* @remarks
|
|
9722
|
+
* The diagnostic object.
|
|
9723
|
+
*
|
|
9600
9724
|
* @example
|
|
9601
9725
|
* {"name":"cn-hongkong.10.0.0.246"}
|
|
9602
9726
|
*/
|
|
9603
9727
|
target?: string;
|
|
9604
9728
|
/**
|
|
9729
|
+
* @remarks
|
|
9730
|
+
* The type of the diagnostic.
|
|
9731
|
+
*
|
|
9732
|
+
* Valid values:
|
|
9733
|
+
*
|
|
9734
|
+
* * node
|
|
9735
|
+
* * ingress
|
|
9736
|
+
* * cluster
|
|
9737
|
+
* * memory
|
|
9738
|
+
* * pod
|
|
9739
|
+
* * service
|
|
9740
|
+
* * network
|
|
9741
|
+
*
|
|
9605
9742
|
* @example
|
|
9606
9743
|
* Node
|
|
9607
9744
|
*/
|
|
@@ -10222,7 +10359,7 @@ export class ListClusterKubeconfigStatesRequest extends $tea.Model {
|
|
|
10222
10359
|
* The number of entries per page.
|
|
10223
10360
|
*
|
|
10224
10361
|
* * Valid values: 10 to 50.
|
|
10225
|
-
* * Default value: 10
|
|
10362
|
+
* * Default value: 10
|
|
10226
10363
|
*
|
|
10227
10364
|
* @example
|
|
10228
10365
|
* 10
|
|
@@ -10255,7 +10392,7 @@ export class ListClusterKubeconfigStatesResponseBody extends $tea.Model {
|
|
|
10255
10392
|
page?: ListClusterKubeconfigStatesResponseBodyPage;
|
|
10256
10393
|
/**
|
|
10257
10394
|
* @remarks
|
|
10258
|
-
* The status of the kubeconfig files associated with the cluster.
|
|
10395
|
+
* The status list of the kubeconfig files associated with the cluster.
|
|
10259
10396
|
*/
|
|
10260
10397
|
states?: ListClusterKubeconfigStatesResponseBodyStates[];
|
|
10261
10398
|
static names(): { [key: string]: string } {
|
|
@@ -10805,13 +10942,17 @@ export class MigrateClusterResponse extends $tea.Model {
|
|
|
10805
10942
|
export class ModifyClusterRequest extends $tea.Model {
|
|
10806
10943
|
/**
|
|
10807
10944
|
* @remarks
|
|
10808
|
-
* The network access control
|
|
10945
|
+
* The network access control lists (ACLs) of the SLB instance associated with the API server if the cluster is a registered cluster.
|
|
10809
10946
|
*/
|
|
10810
10947
|
accessControlList?: string[];
|
|
10948
|
+
/**
|
|
10949
|
+
* @remarks
|
|
10950
|
+
* The custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. This parameter is available only for ACK managed clusters.
|
|
10951
|
+
*/
|
|
10811
10952
|
apiServerCustomCertSans?: ModifyClusterRequestApiServerCustomCertSans;
|
|
10812
10953
|
/**
|
|
10813
10954
|
* @remarks
|
|
10814
|
-
* Specifies whether to associate an elastic IP address (EIP) with the cluster. This EIP is used
|
|
10955
|
+
* Specifies whether to associate an elastic IP address (EIP) with the cluster. This EIP is used to enable access to the API server over the Internet. Valid values:
|
|
10815
10956
|
*
|
|
10816
10957
|
* * `true`: associates an EIP with the cluster.
|
|
10817
10958
|
* * `false`: does not associate an EIP with the cluster.
|
|
@@ -10830,9 +10971,9 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
10830
10971
|
apiServerEipId?: string;
|
|
10831
10972
|
/**
|
|
10832
10973
|
* @remarks
|
|
10833
|
-
* The cluster
|
|
10974
|
+
* The name of the cluster.
|
|
10834
10975
|
*
|
|
10835
|
-
* The cluster name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (
|
|
10976
|
+
* The cluster name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The cluster name cannot start with a hyphen (-).
|
|
10836
10977
|
*
|
|
10837
10978
|
* @example
|
|
10838
10979
|
* cluster-new-name
|
|
@@ -10840,12 +10981,12 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
10840
10981
|
clusterName?: string;
|
|
10841
10982
|
/**
|
|
10842
10983
|
* @remarks
|
|
10843
|
-
* Specifies whether to enable cluster deletion protection. If this option
|
|
10984
|
+
* Specifies whether to enable cluster deletion protection. If you enable this option, the cluster cannot be deleted in the console or by calling API operations. Valid values:
|
|
10844
10985
|
*
|
|
10845
|
-
* * `true
|
|
10846
|
-
* * `false
|
|
10986
|
+
* * `true`: enables cluster deletion protection.
|
|
10987
|
+
* * `false`: disables cluster deletion protection.
|
|
10847
10988
|
*
|
|
10848
|
-
* Default value: `false
|
|
10989
|
+
* Default value: `false`.
|
|
10849
10990
|
*
|
|
10850
10991
|
* @example
|
|
10851
10992
|
* true
|
|
@@ -10853,10 +10994,10 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
10853
10994
|
deletionProtection?: boolean;
|
|
10854
10995
|
/**
|
|
10855
10996
|
* @remarks
|
|
10856
|
-
* Specifies whether to enable the RRSA feature. Valid values:
|
|
10997
|
+
* Specifies whether to enable the RAM Roles for Service Accounts (RRSA) feature. This parameter is available only for ACK managed clusters. Valid values:
|
|
10857
10998
|
*
|
|
10858
|
-
* * `true
|
|
10859
|
-
* * `false
|
|
10999
|
+
* * `true`: enables the RRSA feature.
|
|
11000
|
+
* * `false`: disables the RRSA feature.
|
|
10860
11001
|
*
|
|
10861
11002
|
* @example
|
|
10862
11003
|
* true
|
|
@@ -10866,10 +11007,10 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
10866
11007
|
* @remarks
|
|
10867
11008
|
* Specifies whether to remap the test domain name of the cluster. Valid values:
|
|
10868
11009
|
*
|
|
10869
|
-
* * `true
|
|
10870
|
-
* * `false
|
|
11010
|
+
* * `true`: remaps the test domain name of the cluster.
|
|
11011
|
+
* * `false`: does not remap the test domain name of the cluster.
|
|
10871
11012
|
*
|
|
10872
|
-
* Default value: `false
|
|
11013
|
+
* Default value: `false`.
|
|
10873
11014
|
*
|
|
10874
11015
|
* @example
|
|
10875
11016
|
* true
|
|
@@ -10885,12 +11026,12 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
10885
11026
|
ingressLoadbalancerId?: string;
|
|
10886
11027
|
/**
|
|
10887
11028
|
* @remarks
|
|
10888
|
-
* Specifies whether to enable instance deletion protection. If this option
|
|
11029
|
+
* Specifies whether to enable instance deletion protection. If you enable this option, the instance cannot be deleted in the console or by calling API operations. Valid values:
|
|
10889
11030
|
*
|
|
10890
|
-
* * `true
|
|
10891
|
-
* * `false
|
|
11031
|
+
* * `true`: enables instance deletion protection.
|
|
11032
|
+
* * `false`: disables instance deletion protection.
|
|
10892
11033
|
*
|
|
10893
|
-
* Default value: `false
|
|
11034
|
+
* Default value: `false`.
|
|
10894
11035
|
*
|
|
10895
11036
|
* @example
|
|
10896
11037
|
* true
|
|
@@ -10898,13 +11039,17 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
10898
11039
|
instanceDeletionProtection?: boolean;
|
|
10899
11040
|
/**
|
|
10900
11041
|
* @remarks
|
|
10901
|
-
* The cluster maintenance window. This feature takes effect only for
|
|
11042
|
+
* The cluster maintenance window. This feature takes effect only for ACK Pro clusters.
|
|
10902
11043
|
*/
|
|
10903
11044
|
maintenanceWindow?: MaintenanceWindow;
|
|
11045
|
+
/**
|
|
11046
|
+
* @remarks
|
|
11047
|
+
* The automatic O\\&M policy of the cluster.
|
|
11048
|
+
*/
|
|
10904
11049
|
operationPolicy?: ModifyClusterRequestOperationPolicy;
|
|
10905
11050
|
/**
|
|
10906
11051
|
* @remarks
|
|
10907
|
-
* The
|
|
11052
|
+
* The cluster resource group ID.
|
|
10908
11053
|
*
|
|
10909
11054
|
* @example
|
|
10910
11055
|
* rg-acfmyvw3wjm****
|
|
@@ -11138,12 +11283,12 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
11138
11283
|
concurrency?: boolean;
|
|
11139
11284
|
/**
|
|
11140
11285
|
* @remarks
|
|
11141
|
-
* The
|
|
11286
|
+
* The configurations of the cluster in which the node pool is deployed.
|
|
11142
11287
|
*/
|
|
11143
11288
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
11144
11289
|
/**
|
|
11145
11290
|
* @remarks
|
|
11146
|
-
* The
|
|
11291
|
+
* The configurations of the managed node pool feature.
|
|
11147
11292
|
*/
|
|
11148
11293
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
11149
11294
|
/**
|
|
@@ -11153,7 +11298,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
11153
11298
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
11154
11299
|
/**
|
|
11155
11300
|
* @remarks
|
|
11156
|
-
* The configurations of the scaling group.
|
|
11301
|
+
* The configurations of the scaling group that is used by the node pool.
|
|
11157
11302
|
*/
|
|
11158
11303
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
11159
11304
|
/**
|
|
@@ -11529,8 +11674,8 @@ export class OpenAckServiceRequest extends $tea.Model {
|
|
|
11529
11674
|
* @remarks
|
|
11530
11675
|
* The type of service that you want to activate. Valid values:
|
|
11531
11676
|
*
|
|
11532
|
-
* * `propayasgo`:
|
|
11533
|
-
* * `edgepayasgo`: ACK Edge.
|
|
11677
|
+
* * `propayasgo`: ACK clusters (including ACK managed clusters and ACK dedicated clusters), ACK Serverless clusters, and registered clusters.
|
|
11678
|
+
* * `edgepayasgo`: ACK Edge clusters.
|
|
11534
11679
|
*
|
|
11535
11680
|
* @example
|
|
11536
11681
|
* propayasgo
|
|
@@ -11743,9 +11888,6 @@ export class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
11743
11888
|
|
|
11744
11889
|
export class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
11745
11890
|
/**
|
|
11746
|
-
* @remarks
|
|
11747
|
-
* 是否并发移除。
|
|
11748
|
-
*
|
|
11749
11891
|
* @example
|
|
11750
11892
|
* false
|
|
11751
11893
|
*/
|
|
@@ -11811,9 +11953,6 @@ export class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
11811
11953
|
|
|
11812
11954
|
export class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
11813
11955
|
/**
|
|
11814
|
-
* @remarks
|
|
11815
|
-
* 是否并发移除。
|
|
11816
|
-
*
|
|
11817
11956
|
* @example
|
|
11818
11957
|
* false
|
|
11819
11958
|
*/
|
|
@@ -11963,7 +12102,7 @@ export class RemoveWorkflowResponse extends $tea.Model {
|
|
|
11963
12102
|
export class RepairClusterNodePoolRequest extends $tea.Model {
|
|
11964
12103
|
/**
|
|
11965
12104
|
* @remarks
|
|
11966
|
-
* Specifies whether to
|
|
12105
|
+
* Specifies whether to restart the instance of the node.
|
|
11967
12106
|
*
|
|
11968
12107
|
* @example
|
|
11969
12108
|
* true
|
|
@@ -11971,7 +12110,7 @@ export class RepairClusterNodePoolRequest extends $tea.Model {
|
|
|
11971
12110
|
autoRestart?: boolean;
|
|
11972
12111
|
/**
|
|
11973
12112
|
* @remarks
|
|
11974
|
-
* The
|
|
12113
|
+
* The list of nodes. If you do not specify nodes, all nodes in the node pool are selected.
|
|
11975
12114
|
*/
|
|
11976
12115
|
nodes?: string[];
|
|
11977
12116
|
operations?: RepairClusterNodePoolRequestOperations[];
|
|
@@ -12172,7 +12311,7 @@ export class RunClusterCheckRequest extends $tea.Model {
|
|
|
12172
12311
|
options?: { [key: string]: string };
|
|
12173
12312
|
/**
|
|
12174
12313
|
* @remarks
|
|
12175
|
-
*
|
|
12314
|
+
* The target to be checked.
|
|
12176
12315
|
*
|
|
12177
12316
|
* @example
|
|
12178
12317
|
* np1f6779297c4444a3a1cdd29be8e5****
|
|
@@ -12396,7 +12535,7 @@ export class ScaleClusterResponse extends $tea.Model {
|
|
|
12396
12535
|
export class ScaleClusterNodePoolRequest extends $tea.Model {
|
|
12397
12536
|
/**
|
|
12398
12537
|
* @remarks
|
|
12399
|
-
* The number of worker nodes that you want to add.
|
|
12538
|
+
* The number of worker nodes that you want to add. For example, the current node pool contains two nodes. After the node pool is scaled out, the node pool contains four nodes. Due to the limit of the node quota, you can add at most 500 nodes in each request.
|
|
12400
12539
|
*
|
|
12401
12540
|
* @example
|
|
12402
12541
|
* 1
|
|
@@ -12496,10 +12635,10 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12496
12635
|
count?: number;
|
|
12497
12636
|
/**
|
|
12498
12637
|
* @remarks
|
|
12499
|
-
* The CPU management policy of
|
|
12638
|
+
* The CPU management policy of nodes. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
12500
12639
|
*
|
|
12501
|
-
* * `static`:
|
|
12502
|
-
* * `none`:
|
|
12640
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
12641
|
+
* * `none`: specifies that the default CPU affinity is used.
|
|
12503
12642
|
*
|
|
12504
12643
|
* Default value: `none`.
|
|
12505
12644
|
*
|
|
@@ -12509,7 +12648,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12509
12648
|
cpuPolicy?: string;
|
|
12510
12649
|
/**
|
|
12511
12650
|
* @remarks
|
|
12512
|
-
* Specifies a custom image for nodes. By default, the image provided by
|
|
12651
|
+
* Specifies a custom image for nodes. By default, the image provided by ACK is used. You can select a custom image to replace the default image. For more information, see [Custom images](https://help.aliyun.com/document_detail/146647.html).
|
|
12513
12652
|
*
|
|
12514
12653
|
* @example
|
|
12515
12654
|
* m-bp16z7xko3vvv8gt****
|
|
@@ -12517,7 +12656,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12517
12656
|
imageId?: string;
|
|
12518
12657
|
/**
|
|
12519
12658
|
* @remarks
|
|
12520
|
-
* The name of the key pair. You must
|
|
12659
|
+
* The name of the key pair. You must configure this parameter or the `login_password` parameter.
|
|
12521
12660
|
*
|
|
12522
12661
|
* This parameter is required.
|
|
12523
12662
|
*
|
|
@@ -12527,7 +12666,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12527
12666
|
keyPair?: string;
|
|
12528
12667
|
/**
|
|
12529
12668
|
* @remarks
|
|
12530
|
-
* The password for SSH logon. You must
|
|
12669
|
+
* The password for SSH logon. You must configure 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.
|
|
12531
12670
|
*
|
|
12532
12671
|
* This parameter is required.
|
|
12533
12672
|
*
|
|
@@ -12537,7 +12676,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12537
12676
|
loginPassword?: string;
|
|
12538
12677
|
/**
|
|
12539
12678
|
* @remarks
|
|
12540
|
-
*
|
|
12679
|
+
* The ApsaraDB RDS instances. If you specify a list of ApsaraDB RDS instances, ECS instances in the cluster are automatically added to the whitelist of the ApsaraDB RDS instances.
|
|
12541
12680
|
*/
|
|
12542
12681
|
rdsInstances?: string[];
|
|
12543
12682
|
/**
|
|
@@ -12549,18 +12688,18 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12549
12688
|
* @remarks
|
|
12550
12689
|
* The labels that you want to add to nodes. You must add labels based on the following rules:
|
|
12551
12690
|
*
|
|
12552
|
-
* *
|
|
12553
|
-
* *
|
|
12691
|
+
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
12692
|
+
* * When you add a label, you must specify a unique key but you can leave the value empty. A key cannot exceed 64 characters in length and a value cannot exceed 128 characters in length. Keys and values cannot start with aliyun, acs:, https://, or http://. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
12554
12693
|
*/
|
|
12555
12694
|
tags?: Tag[];
|
|
12556
12695
|
/**
|
|
12557
12696
|
* @remarks
|
|
12558
|
-
* The taints that you want to add to nodes. Taints
|
|
12697
|
+
* The taints that you want to add to nodes. Taints can be used together with tolerations to avoid scheduling pods to specified nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
12559
12698
|
*/
|
|
12560
12699
|
taints?: Taint[];
|
|
12561
12700
|
/**
|
|
12562
12701
|
* @remarks
|
|
12563
|
-
* The user data of the node pool. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
|
|
12702
|
+
* The user-defined data of the node pool. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
|
|
12564
12703
|
*
|
|
12565
12704
|
* @example
|
|
12566
12705
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -12568,17 +12707,17 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12568
12707
|
userData?: string;
|
|
12569
12708
|
/**
|
|
12570
12709
|
* @remarks
|
|
12571
|
-
* The IDs
|
|
12710
|
+
* The vSwitch IDs. 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.
|
|
12572
12711
|
*
|
|
12573
12712
|
* This parameter is required.
|
|
12574
12713
|
*/
|
|
12575
12714
|
vswitchIds?: string[];
|
|
12576
12715
|
/**
|
|
12577
12716
|
* @remarks
|
|
12578
|
-
* Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect only if `worker_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
12717
|
+
* 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:
|
|
12579
12718
|
*
|
|
12580
12719
|
* * `true`: enables auto-renewal.
|
|
12581
|
-
* * `false`:
|
|
12720
|
+
* * `false`: does not enable auto-renewal.
|
|
12582
12721
|
*
|
|
12583
12722
|
* Default value: `true`.
|
|
12584
12723
|
*
|
|
@@ -12588,7 +12727,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12588
12727
|
workerAutoRenew?: boolean;
|
|
12589
12728
|
/**
|
|
12590
12729
|
* @remarks
|
|
12591
|
-
* The auto-renewal
|
|
12730
|
+
* The auto-renewal duration of worker nodes. This parameter takes effect and is required only if the subscription billing method is selected for worker nodes.
|
|
12592
12731
|
*
|
|
12593
12732
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
12594
12733
|
*
|
|
@@ -12600,7 +12739,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12600
12739
|
workerAutoRenewPeriod?: number;
|
|
12601
12740
|
/**
|
|
12602
12741
|
* @remarks
|
|
12603
|
-
* The
|
|
12742
|
+
* The configurations of the data disks that you want to mount to worker nodes. The configurations include the disk type and disk size.
|
|
12604
12743
|
*/
|
|
12605
12744
|
workerDataDisks?: ScaleOutClusterRequestWorkerDataDisks[];
|
|
12606
12745
|
/**
|
|
@@ -12637,7 +12776,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12637
12776
|
workerPeriod?: number;
|
|
12638
12777
|
/**
|
|
12639
12778
|
* @remarks
|
|
12640
|
-
* The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
|
|
12779
|
+
* The billing cycle of worker nodes. This parameter is required only if worker_instance_charge_type is set to `PrePaid`.
|
|
12641
12780
|
*
|
|
12642
12781
|
* Set the value to `Month`. Worker nodes are billed only on a monthly basis.
|
|
12643
12782
|
*
|
|
@@ -12647,11 +12786,11 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12647
12786
|
workerPeriodUnit?: string;
|
|
12648
12787
|
/**
|
|
12649
12788
|
* @remarks
|
|
12650
|
-
* The
|
|
12789
|
+
* The system disk type of worker nodes. Valid values:
|
|
12651
12790
|
*
|
|
12652
12791
|
* * `cloud_efficiency`: ultra disk.
|
|
12653
12792
|
* * `cloud_ssd`: standard SSD.
|
|
12654
|
-
* * `cloud_essd`:
|
|
12793
|
+
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
12655
12794
|
*
|
|
12656
12795
|
* Default value: `cloud_ssd`.
|
|
12657
12796
|
*
|
|
@@ -12663,7 +12802,7 @@ export class ScaleOutClusterRequest extends $tea.Model {
|
|
|
12663
12802
|
workerSystemDiskCategory?: string;
|
|
12664
12803
|
/**
|
|
12665
12804
|
* @remarks
|
|
12666
|
-
* The
|
|
12805
|
+
* The system disk size of worker nodes. Unit: GiB.
|
|
12667
12806
|
*
|
|
12668
12807
|
* Valid values: 40 to 500.
|
|
12669
12808
|
*
|
|
@@ -13916,7 +14055,7 @@ export class UpdateControlPlaneLogRequest extends $tea.Model {
|
|
|
13916
14055
|
components?: string[];
|
|
13917
14056
|
/**
|
|
13918
14057
|
* @remarks
|
|
13919
|
-
* The name of the Simple Log Service
|
|
14058
|
+
* The name of the Simple Log Service Project that you want to use to store the logs of control plane components.
|
|
13920
14059
|
*
|
|
13921
14060
|
* Default value: k8s-log-$Cluster ID.
|
|
13922
14061
|
*
|
|
@@ -14391,7 +14530,7 @@ export class UpdateUserPermissionsResponse extends $tea.Model {
|
|
|
14391
14530
|
export class UpgradeClusterRequest extends $tea.Model {
|
|
14392
14531
|
/**
|
|
14393
14532
|
* @remarks
|
|
14394
|
-
* This parameter is
|
|
14533
|
+
* This parameter is deprecated.
|
|
14395
14534
|
*
|
|
14396
14535
|
* @example
|
|
14397
14536
|
* k8s
|
|
@@ -14403,8 +14542,8 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14403
14542
|
* @remarks
|
|
14404
14543
|
* Specifies whether to update only the master nodes. Valid values:
|
|
14405
14544
|
*
|
|
14406
|
-
* * true:
|
|
14407
|
-
* * false:
|
|
14545
|
+
* * true: updates only the master nodes.
|
|
14546
|
+
* * false: updates the master nodes and worker nodes.
|
|
14408
14547
|
*
|
|
14409
14548
|
* @example
|
|
14410
14549
|
* true
|
|
@@ -14421,7 +14560,7 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14421
14560
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
14422
14561
|
/**
|
|
14423
14562
|
* @remarks
|
|
14424
|
-
* This parameter is
|
|
14563
|
+
* This parameter is deprecated. Specify the Kubernetes version by using the next_version parameter.
|
|
14425
14564
|
*
|
|
14426
14565
|
* @example
|
|
14427
14566
|
* 1.14.8-aliyun.1
|
|
@@ -14456,25 +14595,16 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14456
14595
|
|
|
14457
14596
|
export class UpgradeClusterResponseBody extends $tea.Model {
|
|
14458
14597
|
/**
|
|
14459
|
-
* @remarks
|
|
14460
|
-
* 集群ID。
|
|
14461
|
-
*
|
|
14462
14598
|
* @example
|
|
14463
14599
|
* c82e6987e2961451182edacd74faf****
|
|
14464
14600
|
*/
|
|
14465
14601
|
clusterId?: string;
|
|
14466
14602
|
/**
|
|
14467
|
-
* @remarks
|
|
14468
|
-
* 请求ID。
|
|
14469
|
-
*
|
|
14470
14603
|
* @example
|
|
14471
14604
|
* 0527ac9a-c899-4341-a21a-****
|
|
14472
14605
|
*/
|
|
14473
14606
|
requestId?: string;
|
|
14474
14607
|
/**
|
|
14475
|
-
* @remarks
|
|
14476
|
-
* 任务ID。
|
|
14477
|
-
*
|
|
14478
14608
|
* @example
|
|
14479
14609
|
* T-5faa48fb31b6b8078d00****
|
|
14480
14610
|
*/
|
|
@@ -14549,8 +14679,29 @@ export class UpgradeClusterAddonsRequest extends $tea.Model {
|
|
|
14549
14679
|
}
|
|
14550
14680
|
|
|
14551
14681
|
export class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
14682
|
+
/**
|
|
14683
|
+
* @remarks
|
|
14684
|
+
* The ID of the cluster.
|
|
14685
|
+
*
|
|
14686
|
+
* @example
|
|
14687
|
+
* cf4299b79b3e34226abfdc80a4bda****
|
|
14688
|
+
*/
|
|
14552
14689
|
clusterId?: string;
|
|
14690
|
+
/**
|
|
14691
|
+
* @remarks
|
|
14692
|
+
* The ID of the request.
|
|
14693
|
+
*
|
|
14694
|
+
* @example
|
|
14695
|
+
* bfd12953-31cb-42f1-8a36-7b80ec345094
|
|
14696
|
+
*/
|
|
14553
14697
|
requestId?: string;
|
|
14698
|
+
/**
|
|
14699
|
+
* @remarks
|
|
14700
|
+
* The ID of the task.
|
|
14701
|
+
*
|
|
14702
|
+
* @example
|
|
14703
|
+
* T-62a944794ee141074400****
|
|
14704
|
+
*/
|
|
14554
14705
|
taskId?: string;
|
|
14555
14706
|
static names(): { [key: string]: string } {
|
|
14556
14707
|
return {
|
|
@@ -14609,17 +14760,25 @@ export class UpgradeClusterNodepoolRequest extends $tea.Model {
|
|
|
14609
14760
|
imageId?: string;
|
|
14610
14761
|
/**
|
|
14611
14762
|
* @remarks
|
|
14612
|
-
* The Kubernetes version that is used by the nodes.
|
|
14763
|
+
* The Kubernetes version that is used by the nodes. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the Kubernetes version of the cluster returned in the current_version parameter.
|
|
14613
14764
|
*
|
|
14614
14765
|
* @example
|
|
14615
14766
|
* 1.22.15-aliyun.1
|
|
14616
14767
|
*/
|
|
14617
14768
|
kubernetesVersion?: string;
|
|
14769
|
+
/**
|
|
14770
|
+
* @remarks
|
|
14771
|
+
* The nodes that you want to update. If you do not specify this parameter, all nodes in the node pool are updated by default.
|
|
14772
|
+
*/
|
|
14618
14773
|
nodeNames?: string[];
|
|
14774
|
+
/**
|
|
14775
|
+
* @remarks
|
|
14776
|
+
* The rotation configuration.
|
|
14777
|
+
*/
|
|
14619
14778
|
rollingPolicy?: UpgradeClusterNodepoolRequestRollingPolicy;
|
|
14620
14779
|
/**
|
|
14621
14780
|
* @remarks
|
|
14622
|
-
* The runtime type.
|
|
14781
|
+
* The runtime type. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the runtime information returned in the runtime parameter.
|
|
14623
14782
|
*
|
|
14624
14783
|
* @example
|
|
14625
14784
|
* containerd
|
|
@@ -14627,12 +14786,24 @@ export class UpgradeClusterNodepoolRequest extends $tea.Model {
|
|
|
14627
14786
|
runtimeType?: string;
|
|
14628
14787
|
/**
|
|
14629
14788
|
* @remarks
|
|
14630
|
-
* The version of the container runtime that is used by the nodes.
|
|
14789
|
+
* The version of the container runtime that is used by the nodes. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the runtime version information returned in the runtime parameter.
|
|
14631
14790
|
*
|
|
14632
14791
|
* @example
|
|
14633
14792
|
* 1.5.10
|
|
14634
14793
|
*/
|
|
14635
14794
|
runtimeVersion?: string;
|
|
14795
|
+
/**
|
|
14796
|
+
* @remarks
|
|
14797
|
+
* Specifies whether to perform the update by replacing the system disk. Valid values:
|
|
14798
|
+
*
|
|
14799
|
+
* * true: updates by replacing the system disk.
|
|
14800
|
+
* * false: does not update by replacing the system disk.
|
|
14801
|
+
*
|
|
14802
|
+
* Default value: false.
|
|
14803
|
+
*
|
|
14804
|
+
* @example
|
|
14805
|
+
* false
|
|
14806
|
+
*/
|
|
14636
14807
|
useReplace?: boolean;
|
|
14637
14808
|
static names(): { [key: string]: string } {
|
|
14638
14809
|
return {
|
|
@@ -15609,6 +15780,8 @@ export class AttachInstancesResponseBodyList extends $tea.Model {
|
|
|
15609
15780
|
export class CheckServiceRoleRequestRoles extends $tea.Model {
|
|
15610
15781
|
/**
|
|
15611
15782
|
* @remarks
|
|
15783
|
+
* The service role name.
|
|
15784
|
+
*
|
|
15612
15785
|
* This parameter is required.
|
|
15613
15786
|
*
|
|
15614
15787
|
* @example
|
|
@@ -15634,16 +15807,25 @@ export class CheckServiceRoleRequestRoles extends $tea.Model {
|
|
|
15634
15807
|
|
|
15635
15808
|
export class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
15636
15809
|
/**
|
|
15810
|
+
* @remarks
|
|
15811
|
+
* Specifies whether the service role is granted required permissions.
|
|
15812
|
+
*
|
|
15637
15813
|
* @example
|
|
15638
15814
|
* true
|
|
15639
15815
|
*/
|
|
15640
15816
|
granted?: boolean;
|
|
15641
15817
|
/**
|
|
15818
|
+
* @remarks
|
|
15819
|
+
* The message returned if the service role is not granted required permissions.
|
|
15820
|
+
*
|
|
15642
15821
|
* @example
|
|
15643
15822
|
* The role does not exist: AliyunCSManagedAutoScalerRole
|
|
15644
15823
|
*/
|
|
15645
15824
|
message?: string;
|
|
15646
15825
|
/**
|
|
15826
|
+
* @remarks
|
|
15827
|
+
* The service role name.
|
|
15828
|
+
*
|
|
15647
15829
|
* @example
|
|
15648
15830
|
* AliyunCSManagedAutoScalerRole
|
|
15649
15831
|
*/
|
|
@@ -15672,7 +15854,7 @@ export class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
15672
15854
|
export class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
15673
15855
|
/**
|
|
15674
15856
|
* @remarks
|
|
15675
|
-
* The
|
|
15857
|
+
* The data disk type.
|
|
15676
15858
|
*
|
|
15677
15859
|
* This parameter is required.
|
|
15678
15860
|
*
|
|
@@ -15695,7 +15877,7 @@ export class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
15695
15877
|
encrypted?: string;
|
|
15696
15878
|
/**
|
|
15697
15879
|
* @remarks
|
|
15698
|
-
* The PL of the data disk. This parameter takes effect only for ESSDs. You can specify a higher PL if you increase the size of a data disk. For more information, see [
|
|
15880
|
+
* The PL of the data disk. This parameter takes effect only for ESSDs. You can specify a higher PL if you increase the size of a data disk. For more information, see [Enterprise SSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
15699
15881
|
*
|
|
15700
15882
|
* @example
|
|
15701
15883
|
* PL1
|
|
@@ -15703,7 +15885,7 @@ export class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
15703
15885
|
performanceLevel?: string;
|
|
15704
15886
|
/**
|
|
15705
15887
|
* @remarks
|
|
15706
|
-
* The
|
|
15888
|
+
* The data disk size. Valid values: 40 to 32767. Unit: GiB.
|
|
15707
15889
|
*
|
|
15708
15890
|
* This parameter is required.
|
|
15709
15891
|
*
|
|
@@ -15737,13 +15919,13 @@ export class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
15737
15919
|
export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
15738
15920
|
/**
|
|
15739
15921
|
* @remarks
|
|
15740
|
-
* This parameter is
|
|
15922
|
+
* This parameter is deprecated.
|
|
15741
15923
|
*
|
|
15742
15924
|
* The maximum bandwidth of the EIP. Unit: Mbit/s.
|
|
15743
15925
|
*
|
|
15744
15926
|
* **
|
|
15745
15927
|
*
|
|
15746
|
-
* **Important** This parameter is
|
|
15928
|
+
* **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
|
|
15747
15929
|
*
|
|
15748
15930
|
* @example
|
|
15749
15931
|
* 5
|
|
@@ -15753,18 +15935,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
15753
15935
|
eipBandwidth?: number;
|
|
15754
15936
|
/**
|
|
15755
15937
|
* @remarks
|
|
15756
|
-
* This parameter is
|
|
15938
|
+
* This parameter is deprecated.
|
|
15757
15939
|
*
|
|
15758
|
-
* The
|
|
15940
|
+
* The metering method of the EIP. Valid values:
|
|
15759
15941
|
*
|
|
15760
|
-
* * `PayByBandwidth`: pay-by-bandwidth
|
|
15761
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
15942
|
+
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
15943
|
+
* * `PayByTraffic`: pay-by-data-transfer.
|
|
15762
15944
|
*
|
|
15763
15945
|
* Default value: `PayByBandwidth`.
|
|
15764
15946
|
*
|
|
15765
15947
|
* **
|
|
15766
15948
|
*
|
|
15767
|
-
* **Important** This parameter is
|
|
15949
|
+
* **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
|
|
15768
15950
|
*
|
|
15769
15951
|
* @example
|
|
15770
15952
|
* PayByBandwidth
|
|
@@ -15776,8 +15958,8 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
15776
15958
|
* @remarks
|
|
15777
15959
|
* Specifies whether to enable auto scaling for the node pool. Valid values:
|
|
15778
15960
|
*
|
|
15779
|
-
* * `true
|
|
15780
|
-
* * `false`: If you set this parameter to false, other parameters
|
|
15961
|
+
* * `true`: enables auto scaling.
|
|
15962
|
+
* * `false`: disables auto scaling. If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
|
|
15781
15963
|
*
|
|
15782
15964
|
* Default value: `false`.
|
|
15783
15965
|
*
|
|
@@ -15787,18 +15969,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
15787
15969
|
enable?: boolean;
|
|
15788
15970
|
/**
|
|
15789
15971
|
* @remarks
|
|
15790
|
-
* This parameter is
|
|
15972
|
+
* This parameter is deprecated.
|
|
15791
15973
|
*
|
|
15792
15974
|
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
15793
15975
|
*
|
|
15794
|
-
* * `true
|
|
15795
|
-
* * `false
|
|
15976
|
+
* * `true`: associates an EIP with the node pool.
|
|
15977
|
+
* * `false`: does not associate an EIP with the node pool.
|
|
15796
15978
|
*
|
|
15797
15979
|
* Default value: `false`.
|
|
15798
15980
|
*
|
|
15799
15981
|
* **
|
|
15800
15982
|
*
|
|
15801
|
-
* **Important** This parameter is
|
|
15983
|
+
* **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
|
|
15802
15984
|
*
|
|
15803
15985
|
* @example
|
|
15804
15986
|
* true
|
|
@@ -15808,7 +15990,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
15808
15990
|
isBondEip?: boolean;
|
|
15809
15991
|
/**
|
|
15810
15992
|
* @remarks
|
|
15811
|
-
* The maximum number
|
|
15993
|
+
* The maximum number to which the Elastic Compute Service (ECS) instances in the node pool can be scaled. The number of nodes in the node pool cannot be greater than this value. This parameter takes effect only if `enable` is set to true. Valid values: [min_instances, 2000]. Default value: 0.
|
|
15812
15994
|
*
|
|
15813
15995
|
* @example
|
|
15814
15996
|
* 10
|
|
@@ -15816,7 +15998,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
15816
15998
|
maxInstances?: number;
|
|
15817
15999
|
/**
|
|
15818
16000
|
* @remarks
|
|
15819
|
-
* The minimum number
|
|
16001
|
+
* The minimum number to which the ECS instances in the node pool can be scaled. The number of nodes in the node pool cannot be smaller than this value. This parameter takes effect only if `enable` is set to true. Valid values: [0, max_instances]. Default value: 0.
|
|
15820
16002
|
*
|
|
15821
16003
|
* @example
|
|
15822
16004
|
* 1
|
|
@@ -15824,12 +16006,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
15824
16006
|
minInstances?: number;
|
|
15825
16007
|
/**
|
|
15826
16008
|
* @remarks
|
|
15827
|
-
* The type
|
|
16009
|
+
* The instance type that is used for auto scaling. This parameter takes effect only if `enable` is set to true. Valid values:
|
|
15828
16010
|
*
|
|
15829
|
-
* * `cpu`: regular instance
|
|
15830
|
-
* * `gpu`: GPU-accelerated instance
|
|
15831
|
-
* * `gpushare`: shared GPU-accelerated instance
|
|
15832
|
-
* * `spot`: preemptible instance
|
|
16011
|
+
* * `cpu`: regular instance.
|
|
16012
|
+
* * `gpu`: GPU-accelerated instance.
|
|
16013
|
+
* * `gpushare`: shared GPU-accelerated instance.
|
|
16014
|
+
* * `spot`: preemptible instance.
|
|
15833
16015
|
*
|
|
15834
16016
|
* Default value: `cpu`.
|
|
15835
16017
|
*
|
|
@@ -15871,7 +16053,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
15871
16053
|
export class CreateClusterNodePoolRequestInterconnectConfig extends $tea.Model {
|
|
15872
16054
|
/**
|
|
15873
16055
|
* @remarks
|
|
15874
|
-
* This parameter is
|
|
16056
|
+
* This parameter is deprecated.
|
|
15875
16057
|
*
|
|
15876
16058
|
* The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
15877
16059
|
*
|
|
@@ -15881,7 +16063,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $tea.Model {
|
|
|
15881
16063
|
bandwidth?: number;
|
|
15882
16064
|
/**
|
|
15883
16065
|
* @remarks
|
|
15884
|
-
* This parameter is
|
|
16066
|
+
* This parameter is deprecated.
|
|
15885
16067
|
*
|
|
15886
16068
|
* The ID of the Cloud Connect Network (CCN) instance that is associated with the enhanced edge node pool.
|
|
15887
16069
|
*
|
|
@@ -15891,9 +16073,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $tea.Model {
|
|
|
15891
16073
|
ccnId?: string;
|
|
15892
16074
|
/**
|
|
15893
16075
|
* @remarks
|
|
15894
|
-
* This parameter is
|
|
16076
|
+
* This parameter is deprecated.
|
|
15895
16077
|
*
|
|
15896
|
-
* The region
|
|
16078
|
+
* The region to which the CCN instance that is associated with the enhanced edge node pool belongs.
|
|
15897
16079
|
*
|
|
15898
16080
|
* @example
|
|
15899
16081
|
* cn-shanghai
|
|
@@ -15901,7 +16083,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $tea.Model {
|
|
|
15901
16083
|
ccnRegionId?: string;
|
|
15902
16084
|
/**
|
|
15903
16085
|
* @remarks
|
|
15904
|
-
* This parameter is
|
|
16086
|
+
* This parameter is deprecated.
|
|
15905
16087
|
*
|
|
15906
16088
|
* The ID of the Cloud Enterprise Network (CEN) instance that is associated with the enhanced edge node pool.
|
|
15907
16089
|
*
|
|
@@ -15911,9 +16093,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $tea.Model {
|
|
|
15911
16093
|
cenId?: string;
|
|
15912
16094
|
/**
|
|
15913
16095
|
* @remarks
|
|
15914
|
-
* This parameter is
|
|
16096
|
+
* This parameter is deprecated.
|
|
15915
16097
|
*
|
|
15916
|
-
* The subscription duration of the enhanced edge node pool.
|
|
16098
|
+
* The subscription duration of the enhanced edge node pool. The duration is measured in months.
|
|
15917
16099
|
*
|
|
15918
16100
|
* @example
|
|
15919
16101
|
* 1
|
|
@@ -15947,10 +16129,10 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $tea.Model {
|
|
|
15947
16129
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
15948
16130
|
/**
|
|
15949
16131
|
* @remarks
|
|
15950
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After the CloudMonitor agent is installed on ECS nodes, you can view
|
|
16132
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After the CloudMonitor agent is installed on ECS nodes, you can view monitoring information about the instances in the CloudMonitor console. We recommend that you install the CloudMonitor agent. Valid values:
|
|
15951
16133
|
*
|
|
15952
|
-
* * `true
|
|
15953
|
-
* * `false
|
|
16134
|
+
* * `true`: installs the CloudMonitor agent on ECS nodes.
|
|
16135
|
+
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
15954
16136
|
*
|
|
15955
16137
|
* Default value: `false`.
|
|
15956
16138
|
*
|
|
@@ -15960,9 +16142,9 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
15960
16142
|
cmsEnabled?: boolean;
|
|
15961
16143
|
/**
|
|
15962
16144
|
* @remarks
|
|
15963
|
-
* The CPU management policy of
|
|
16145
|
+
* 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:
|
|
15964
16146
|
*
|
|
15965
|
-
* * `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
16147
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
15966
16148
|
* * `none`: specifies that the default CPU affinity is used.
|
|
15967
16149
|
*
|
|
15968
16150
|
* Default value: `none`.
|
|
@@ -15973,17 +16155,17 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
15973
16155
|
cpuPolicy?: string;
|
|
15974
16156
|
/**
|
|
15975
16157
|
* @remarks
|
|
15976
|
-
* The labels that you want to add to
|
|
16158
|
+
* The labels that you want to add to nodes in the cluster.
|
|
15977
16159
|
*/
|
|
15978
16160
|
labels?: Tag[];
|
|
15979
16161
|
/**
|
|
15980
16162
|
* @remarks
|
|
15981
16163
|
* The custom node name. A custom node name consists of a prefix, a node IP address, and a suffix.
|
|
15982
16164
|
*
|
|
15983
|
-
* * The prefix and 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.
|
|
15984
|
-
* * The node IP address is the
|
|
16165
|
+
* * 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.
|
|
16166
|
+
* * The node IP address in a custom node name is the private IP address of the node.
|
|
15985
16167
|
*
|
|
15986
|
-
* Set the parameter to a value
|
|
16168
|
+
* Set the parameter to a value in the customized,aliyun,ip,com format. The value consists of four parts that are separated by commas (,). customized and ip are fixed content. aliyun is the prefix and com is the suffix. Example: aliyun.192.168.xxx.xxx.com.
|
|
15987
16169
|
*
|
|
15988
16170
|
* @example
|
|
15989
16171
|
* customized,aliyun,ip,com
|
|
@@ -15991,7 +16173,13 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
15991
16173
|
nodeNameMode?: string;
|
|
15992
16174
|
/**
|
|
15993
16175
|
* @remarks
|
|
15994
|
-
* The container runtime.
|
|
16176
|
+
* The name of the container runtime. The following types of runtime are supported by Container Service for Kubernetes (ACK):
|
|
16177
|
+
*
|
|
16178
|
+
* * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
|
|
16179
|
+
* * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.24 and earlier.
|
|
16180
|
+
* * docker: The Docker runtime supports Kubernetes 1.22 and earlier.
|
|
16181
|
+
*
|
|
16182
|
+
* Default value: containerd.
|
|
15995
16183
|
*
|
|
15996
16184
|
* @example
|
|
15997
16185
|
* docker
|
|
@@ -16007,7 +16195,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
16007
16195
|
runtimeVersion?: string;
|
|
16008
16196
|
/**
|
|
16009
16197
|
* @remarks
|
|
16010
|
-
* The
|
|
16198
|
+
* The taints.
|
|
16011
16199
|
*/
|
|
16012
16200
|
taints?: Taint[];
|
|
16013
16201
|
/**
|
|
@@ -16020,7 +16208,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
16020
16208
|
unschedulable?: boolean;
|
|
16021
16209
|
/**
|
|
16022
16210
|
* @remarks
|
|
16023
|
-
* The user
|
|
16211
|
+
* The user data on the node.
|
|
16024
16212
|
*
|
|
16025
16213
|
* @example
|
|
16026
16214
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -16064,8 +16252,8 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $tea
|
|
|
16064
16252
|
* @remarks
|
|
16065
16253
|
* Specifies whether to allow node restart. This parameter takes effect only if `auto_repair` is set to true. Valid values:
|
|
16066
16254
|
*
|
|
16067
|
-
* * `true
|
|
16068
|
-
* * `false
|
|
16255
|
+
* * `true`: allows node restart.
|
|
16256
|
+
* * `false`: does not allow node restart.
|
|
16069
16257
|
*
|
|
16070
16258
|
* If `auto_repair` is set to true, the default value of this parameter is `true`. If `auto_repair` is set to false, the default value of this parameter is `false`.
|
|
16071
16259
|
*
|
|
@@ -16095,8 +16283,8 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
16095
16283
|
* @remarks
|
|
16096
16284
|
* Specifies whether to allow auto update of the kubelet. This parameter takes effect only if `auto_upgrade` is set to true. Valid values:
|
|
16097
16285
|
*
|
|
16098
|
-
* * `true
|
|
16099
|
-
* * `false
|
|
16286
|
+
* * `true`: allows auto update of the kubelet.
|
|
16287
|
+
* * `false`: does not allow auto update of the kubelet.
|
|
16100
16288
|
*
|
|
16101
16289
|
* If `auto_upgrade` is set to true, the default value of this parameter is `true`. If `auto_upgrade` is set to false, the default value of this parameter is `false`.
|
|
16102
16290
|
*
|
|
@@ -16106,21 +16294,22 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
16106
16294
|
autoUpgradeKubelet?: boolean;
|
|
16107
16295
|
/**
|
|
16108
16296
|
* @remarks
|
|
16109
|
-
*
|
|
16110
|
-
* - `true`:允许自动升级操作系统。
|
|
16111
|
-
* - `false`:不允许自动升级操作系统。
|
|
16297
|
+
* Specifies whether to allow auto update of the OS. This parameter takes effect only if `auto_upgrade` is set to true. Valid values:
|
|
16112
16298
|
*
|
|
16299
|
+
* * `true`: allows auto update of the OS.
|
|
16300
|
+
* * `false`: does not allow auto update of the OS.
|
|
16113
16301
|
*
|
|
16114
|
-
*
|
|
16302
|
+
* Default value: `false`.
|
|
16115
16303
|
*/
|
|
16116
16304
|
autoUpgradeOs?: boolean;
|
|
16117
16305
|
/**
|
|
16118
16306
|
* @remarks
|
|
16119
|
-
*
|
|
16120
|
-
* - `true`:允许自动升级运行时。
|
|
16121
|
-
* - `false`:不允许自动升级运行时。
|
|
16307
|
+
* Specifies whether to allow auto update of the runtime. This parameter takes effect only if `auto_upgrade` is set to true. Valid values:
|
|
16122
16308
|
*
|
|
16123
|
-
*
|
|
16309
|
+
* * `true`: allows auto update of the runtime.
|
|
16310
|
+
* * `false`: does not allow auto update of the runtime.
|
|
16311
|
+
*
|
|
16312
|
+
* Default value: `false`.
|
|
16124
16313
|
*/
|
|
16125
16314
|
autoUpgradeRuntime?: boolean;
|
|
16126
16315
|
static names(): { [key: string]: string } {
|
|
@@ -16149,8 +16338,8 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
16149
16338
|
* @remarks
|
|
16150
16339
|
* Specifies whether to allow node restart. This parameter takes effect only if `auto_vul_fix` is set to true. Valid values:
|
|
16151
16340
|
*
|
|
16152
|
-
* * `true
|
|
16153
|
-
* * `false
|
|
16341
|
+
* * `true`: allows node restart.
|
|
16342
|
+
* * `false`: does not allow node restart. If `auto_vul_fix` is set to true, the default value of this parameter is `false`. If `auto_vul_fix` is set to false, the default value of this parameter is `false`.
|
|
16154
16343
|
*
|
|
16155
16344
|
* @example
|
|
16156
16345
|
* true
|
|
@@ -16158,11 +16347,11 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
16158
16347
|
restartNode?: boolean;
|
|
16159
16348
|
/**
|
|
16160
16349
|
* @remarks
|
|
16161
|
-
* The
|
|
16350
|
+
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
|
|
16162
16351
|
*
|
|
16163
|
-
* * `asap`: high
|
|
16164
|
-
* * `later`: medium
|
|
16165
|
-
* * `nntf`: low
|
|
16352
|
+
* * `asap`: high.
|
|
16353
|
+
* * `later`: medium.
|
|
16354
|
+
* * `nntf`: low.
|
|
16166
16355
|
*
|
|
16167
16356
|
* If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
|
|
16168
16357
|
*
|
|
@@ -16194,12 +16383,12 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
16194
16383
|
* @remarks
|
|
16195
16384
|
* Specifies whether to enable auto update. Valid values:
|
|
16196
16385
|
*
|
|
16197
|
-
* * `true
|
|
16198
|
-
* * `false
|
|
16386
|
+
* * `true`: enables auto update.
|
|
16387
|
+
* * `false`: disables auto update.
|
|
16199
16388
|
*
|
|
16200
16389
|
* **
|
|
16201
16390
|
*
|
|
16202
|
-
* **
|
|
16391
|
+
* **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter.
|
|
16203
16392
|
*
|
|
16204
16393
|
* @example
|
|
16205
16394
|
* false
|
|
@@ -16219,7 +16408,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
16219
16408
|
maxUnavailable?: number;
|
|
16220
16409
|
/**
|
|
16221
16410
|
* @remarks
|
|
16222
|
-
* The number of additional nodes.
|
|
16411
|
+
* The number of additional nodes that are temporarily added to the node pool during an auto update.
|
|
16223
16412
|
*
|
|
16224
16413
|
* @example
|
|
16225
16414
|
* 0
|
|
@@ -16227,7 +16416,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
16227
16416
|
surge?: number;
|
|
16228
16417
|
/**
|
|
16229
16418
|
* @remarks
|
|
16230
|
-
* The percentage of additional nodes
|
|
16419
|
+
* The percentage of additional nodes that are temporarily added to the node pool during an auto update. You must set this parameter or `surge`.
|
|
16231
16420
|
*
|
|
16232
16421
|
* @example
|
|
16233
16422
|
* 0
|
|
@@ -16261,8 +16450,8 @@ export class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
16261
16450
|
* @remarks
|
|
16262
16451
|
* Specifies whether to enable auto node repair. This parameter takes effect only if `enable` is set to true.
|
|
16263
16452
|
*
|
|
16264
|
-
* * `true
|
|
16265
|
-
* * `false
|
|
16453
|
+
* * `true`: enables auto node repair.
|
|
16454
|
+
* * `false`: disables auto node repair.
|
|
16266
16455
|
*
|
|
16267
16456
|
* If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
|
|
16268
16457
|
*
|
|
@@ -16279,8 +16468,8 @@ export class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
16279
16468
|
* @remarks
|
|
16280
16469
|
* Specifies whether to enable auto node update. This parameter takes effect only if `enable` is set to true.
|
|
16281
16470
|
*
|
|
16282
|
-
* * `true
|
|
16283
|
-
* * `false
|
|
16471
|
+
* * `true`: enables auto node update.
|
|
16472
|
+
* * `false`: disables auto node update.
|
|
16284
16473
|
*
|
|
16285
16474
|
* If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
|
|
16286
16475
|
*
|
|
@@ -16295,10 +16484,10 @@ export class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
16295
16484
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
16296
16485
|
/**
|
|
16297
16486
|
* @remarks
|
|
16298
|
-
* Specifies whether to enable auto CVE patching. This parameter takes effect only if `enable` is set to true.
|
|
16487
|
+
* Specifies whether to enable auto Common Vulnerabilities and Exposures (CVE) patching. This parameter takes effect only if `enable` is set to true.
|
|
16299
16488
|
*
|
|
16300
|
-
* * `true
|
|
16301
|
-
* * `false
|
|
16489
|
+
* * `true`: enables auto CVE patching.
|
|
16490
|
+
* * `false`: disables auto CVE patching.
|
|
16302
16491
|
*
|
|
16303
16492
|
* If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
|
|
16304
16493
|
*
|
|
@@ -16315,10 +16504,10 @@ export class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
16315
16504
|
* @remarks
|
|
16316
16505
|
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
16317
16506
|
*
|
|
16318
|
-
* * `true
|
|
16319
|
-
* * `false`:
|
|
16507
|
+
* * `true`: enables the managed node pool feature.
|
|
16508
|
+
* * `false`: disables the managed node pool feature. Other parameters in this section take effect only if enable is set to true.
|
|
16320
16509
|
*
|
|
16321
|
-
* Default value: false
|
|
16510
|
+
* Default value: false
|
|
16322
16511
|
*
|
|
16323
16512
|
* @example
|
|
16324
16513
|
* false
|
|
@@ -16326,7 +16515,7 @@ export class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
16326
16515
|
enable?: boolean;
|
|
16327
16516
|
/**
|
|
16328
16517
|
* @remarks
|
|
16329
|
-
* The configurations of auto update.
|
|
16518
|
+
* The configurations of auto update. The configurations take effects only if `enable` is set to true.
|
|
16330
16519
|
*
|
|
16331
16520
|
* @deprecated
|
|
16332
16521
|
*/
|
|
@@ -16365,7 +16554,7 @@ export class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
16365
16554
|
export class CreateClusterNodePoolRequestNodeConfig extends $tea.Model {
|
|
16366
16555
|
/**
|
|
16367
16556
|
* @remarks
|
|
16368
|
-
* The
|
|
16557
|
+
* The configurations of the kubelet.
|
|
16369
16558
|
*/
|
|
16370
16559
|
kubeletConfiguration?: KubeletConfig;
|
|
16371
16560
|
static names(): { [key: string]: string } {
|
|
@@ -16398,7 +16587,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
|
16398
16587
|
name?: string;
|
|
16399
16588
|
/**
|
|
16400
16589
|
* @remarks
|
|
16401
|
-
* The ID of the resource group. Instances that are added to the node pool belong to this resource group.
|
|
16590
|
+
* The ID of the resource group to which the node pool belongs. Instances that are added to the node pool belong to this resource group.
|
|
16402
16591
|
*
|
|
16403
16592
|
* @example
|
|
16404
16593
|
* rg-acfmyvw3wjmb****
|
|
@@ -16406,9 +16595,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
|
16406
16595
|
resourceGroupId?: string;
|
|
16407
16596
|
/**
|
|
16408
16597
|
* @remarks
|
|
16409
|
-
* The type of
|
|
16598
|
+
* The type of node pool. Valid values:
|
|
16410
16599
|
*
|
|
16411
|
-
* * `ess`: regular node pool, which supports the managed node pool feature and auto scaling feature.
|
|
16600
|
+
* * `ess`: regular node pool, which supports the managed node pool feature and the auto scaling feature.
|
|
16412
16601
|
* * `edge`: edge node pool.
|
|
16413
16602
|
* * `lingjun`: Lingjun node pool.
|
|
16414
16603
|
*
|
|
@@ -16440,7 +16629,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
|
16440
16629
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $tea.Model {
|
|
16441
16630
|
/**
|
|
16442
16631
|
* @remarks
|
|
16443
|
-
* The
|
|
16632
|
+
* The private node pool ID.
|
|
16444
16633
|
*
|
|
16445
16634
|
* @example
|
|
16446
16635
|
* eap-bp67acfmxazb4****
|
|
@@ -16448,11 +16637,11 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
16448
16637
|
id?: string;
|
|
16449
16638
|
/**
|
|
16450
16639
|
* @remarks
|
|
16451
|
-
* The type of
|
|
16640
|
+
* 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:
|
|
16452
16641
|
*
|
|
16453
|
-
* * `Open`:
|
|
16454
|
-
* * `Target`:
|
|
16455
|
-
* * `None`:
|
|
16642
|
+
* * `Open`: open private node pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
|
|
16643
|
+
* * `Target`: private node pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
|
|
16644
|
+
* * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
|
|
16456
16645
|
*
|
|
16457
16646
|
* @example
|
|
16458
16647
|
* Open
|
|
@@ -16480,7 +16669,7 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
16480
16669
|
export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
16481
16670
|
/**
|
|
16482
16671
|
* @remarks
|
|
16483
|
-
* The instance type of preemptible
|
|
16672
|
+
* The instance type of preemptible instances.
|
|
16484
16673
|
*
|
|
16485
16674
|
* @example
|
|
16486
16675
|
* ecs.c6.large
|
|
@@ -16488,7 +16677,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea
|
|
|
16488
16677
|
instanceType?: string;
|
|
16489
16678
|
/**
|
|
16490
16679
|
* @remarks
|
|
16491
|
-
* The price cap of a preemptible instance
|
|
16680
|
+
* The price cap of a preemptible instance.
|
|
16492
16681
|
*
|
|
16493
16682
|
* @example
|
|
16494
16683
|
* 0.39
|
|
@@ -16516,7 +16705,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea
|
|
|
16516
16705
|
export class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
|
|
16517
16706
|
/**
|
|
16518
16707
|
* @remarks
|
|
16519
|
-
* The
|
|
16708
|
+
* The label key.
|
|
16520
16709
|
*
|
|
16521
16710
|
* @example
|
|
16522
16711
|
* node-k-1
|
|
@@ -16524,7 +16713,7 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
|
|
|
16524
16713
|
key?: string;
|
|
16525
16714
|
/**
|
|
16526
16715
|
* @remarks
|
|
16527
|
-
* The
|
|
16716
|
+
* The label value.
|
|
16528
16717
|
*
|
|
16529
16718
|
* @example
|
|
16530
16719
|
* node-v-1
|
|
@@ -16552,12 +16741,12 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
|
|
|
16552
16741
|
export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
16553
16742
|
/**
|
|
16554
16743
|
* @remarks
|
|
16555
|
-
* Specifies whether to enable auto-renewal for
|
|
16744
|
+
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
16556
16745
|
*
|
|
16557
|
-
* * `true
|
|
16558
|
-
* * `false
|
|
16746
|
+
* * `true`: enables auto-renewal.
|
|
16747
|
+
* * `false`: disables auto-renewal.
|
|
16559
16748
|
*
|
|
16560
|
-
* Default value: `
|
|
16749
|
+
* Default value: `false`.
|
|
16561
16750
|
*
|
|
16562
16751
|
* @example
|
|
16563
16752
|
* true
|
|
@@ -16565,7 +16754,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16565
16754
|
autoRenew?: boolean;
|
|
16566
16755
|
/**
|
|
16567
16756
|
* @remarks
|
|
16568
|
-
* The duration of the
|
|
16757
|
+
* The auto-renewal duration of nodes in the node pool. This parameter is available and required only if you set instance_charge_type to PrePaid and auto_renew to true. If `PeriodUnit=Month` is configured, the valid values are 1, 2, 3, 6, and 12.
|
|
16569
16758
|
*
|
|
16570
16759
|
* Default value: 1.
|
|
16571
16760
|
*
|
|
@@ -16575,7 +16764,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16575
16764
|
autoRenewPeriod?: number;
|
|
16576
16765
|
/**
|
|
16577
16766
|
* @remarks
|
|
16578
|
-
*
|
|
16767
|
+
* This parameter is deprecated. Use security_hardening_os instead.
|
|
16579
16768
|
*
|
|
16580
16769
|
* @example
|
|
16581
16770
|
* false
|
|
@@ -16585,10 +16774,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16585
16774
|
cisEnabled?: boolean;
|
|
16586
16775
|
/**
|
|
16587
16776
|
* @remarks
|
|
16588
|
-
* 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
|
|
16777
|
+
* 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 price or insufficient inventory. This parameter takes effect when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
|
|
16589
16778
|
*
|
|
16590
|
-
* * `true
|
|
16591
|
-
* * `false
|
|
16779
|
+
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
16780
|
+
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
16592
16781
|
*
|
|
16593
16782
|
* @example
|
|
16594
16783
|
* true
|
|
@@ -16596,12 +16785,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16596
16785
|
compensateWithOnDemand?: boolean;
|
|
16597
16786
|
/**
|
|
16598
16787
|
* @remarks
|
|
16599
|
-
* The configurations of the data disks that are mounted to
|
|
16788
|
+
* The configurations of the data disks that are mounted to nodes in the node pool.
|
|
16600
16789
|
*/
|
|
16601
16790
|
dataDisks?: DataDisk[];
|
|
16602
16791
|
/**
|
|
16603
16792
|
* @remarks
|
|
16604
|
-
* The deployment set
|
|
16793
|
+
* The ID of the deployment set.
|
|
16605
16794
|
*
|
|
16606
16795
|
* @example
|
|
16607
16796
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -16617,7 +16806,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16617
16806
|
desiredSize?: number;
|
|
16618
16807
|
/**
|
|
16619
16808
|
* @remarks
|
|
16620
|
-
* The custom image ID. By default, the image provided by
|
|
16809
|
+
* The custom image ID. By default, the image provided by ACK is used.
|
|
16621
16810
|
*
|
|
16622
16811
|
* @example
|
|
16623
16812
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -16625,16 +16814,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16625
16814
|
imageId?: string;
|
|
16626
16815
|
/**
|
|
16627
16816
|
* @remarks
|
|
16628
|
-
* The type of the
|
|
16817
|
+
* The type of the OS image. You must specify this parameter or `platform`. Valid values:
|
|
16629
16818
|
*
|
|
16630
|
-
* * `AliyunLinux`:
|
|
16631
|
-
* * `
|
|
16632
|
-
* * `
|
|
16633
|
-
* * `
|
|
16634
|
-
* * `
|
|
16635
|
-
* * `
|
|
16636
|
-
* * `
|
|
16637
|
-
* * `
|
|
16819
|
+
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
16820
|
+
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
16821
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3.
|
|
16822
|
+
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
16823
|
+
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
16824
|
+
* * `CentOS`: CentOS.
|
|
16825
|
+
* * `Windows`: Windows.
|
|
16826
|
+
* * `WindowsCore`: Windows Core.
|
|
16827
|
+
* * `ContainerOS`: ContainerOS.
|
|
16638
16828
|
*
|
|
16639
16829
|
* @example
|
|
16640
16830
|
* AliyunLinux
|
|
@@ -16642,10 +16832,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16642
16832
|
imageType?: string;
|
|
16643
16833
|
/**
|
|
16644
16834
|
* @remarks
|
|
16645
|
-
* The billing method of
|
|
16835
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
16646
16836
|
*
|
|
16647
|
-
* * `PrePaid`: subscription
|
|
16648
|
-
* * `PostPaid`: pay-as-you-go
|
|
16837
|
+
* * `PrePaid`: subscription.
|
|
16838
|
+
* * `PostPaid`: pay-as-you-go.
|
|
16649
16839
|
*
|
|
16650
16840
|
* Default value: `PostPaid`.
|
|
16651
16841
|
*
|
|
@@ -16655,10 +16845,14 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16655
16845
|
* PrePaid
|
|
16656
16846
|
*/
|
|
16657
16847
|
instanceChargeType?: string;
|
|
16848
|
+
/**
|
|
16849
|
+
* @remarks
|
|
16850
|
+
* The instance attributes.
|
|
16851
|
+
*/
|
|
16658
16852
|
instancePatterns?: InstancePatterns[];
|
|
16659
16853
|
/**
|
|
16660
16854
|
* @remarks
|
|
16661
|
-
* The instance types of nodes in the node pool.
|
|
16855
|
+
* The instance types of nodes in the node pool. When the system adds a node to the node pool, the system selects the most appropriate one from the specified instance types for the node. You can specify 1 to 10 instance types.
|
|
16662
16856
|
*
|
|
16663
16857
|
* > To ensure high availability, we recommend that you specify multiple instance types.
|
|
16664
16858
|
*
|
|
@@ -16667,10 +16861,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16667
16861
|
instanceTypes?: string[];
|
|
16668
16862
|
/**
|
|
16669
16863
|
* @remarks
|
|
16670
|
-
* The
|
|
16864
|
+
* The metering method of the public IP address. Valid values:
|
|
16671
16865
|
*
|
|
16672
|
-
* * PayByBandwidth: pay-by-bandwidth
|
|
16673
|
-
* * PayByTraffic: pay-by-data-transfer
|
|
16866
|
+
* * PayByBandwidth: pay-by-bandwidth.
|
|
16867
|
+
* * PayByTraffic: pay-by-data-transfer.
|
|
16674
16868
|
*
|
|
16675
16869
|
* @example
|
|
16676
16870
|
* PayByTraffic
|
|
@@ -16686,9 +16880,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16686
16880
|
internetMaxBandwidthOut?: number;
|
|
16687
16881
|
/**
|
|
16688
16882
|
* @remarks
|
|
16689
|
-
* The name of the key pair. You must
|
|
16883
|
+
* The name of the key pair used to log on to nodes in the node pool. You must set this parameter or `login_password`.
|
|
16690
16884
|
*
|
|
16691
|
-
* > If you
|
|
16885
|
+
* > If you select ContainerOS as the OS of nodes in the node pool, you must specify `key_pair`.
|
|
16692
16886
|
*
|
|
16693
16887
|
* @example
|
|
16694
16888
|
* np-key-name
|
|
@@ -16696,7 +16890,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16696
16890
|
keyPair?: string;
|
|
16697
16891
|
/**
|
|
16698
16892
|
* @remarks
|
|
16699
|
-
* Specifies whether a non-root user
|
|
16893
|
+
* Specifies whether to allow a non-root user to log on to an ECS instance that is added to the node pool.
|
|
16700
16894
|
*
|
|
16701
16895
|
* @example
|
|
16702
16896
|
* true
|
|
@@ -16704,7 +16898,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16704
16898
|
loginAsNonRoot?: boolean;
|
|
16705
16899
|
/**
|
|
16706
16900
|
* @remarks
|
|
16707
|
-
* The password for SSH logon. You must specify this parameter or
|
|
16901
|
+
* 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.
|
|
16708
16902
|
*
|
|
16709
16903
|
* @example
|
|
16710
16904
|
* Hello1234
|
|
@@ -16714,15 +16908,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16714
16908
|
* @remarks
|
|
16715
16909
|
* The ECS instance scaling policy for the multi-zone scaling group. Valid values:
|
|
16716
16910
|
*
|
|
16717
|
-
* * `PRIORITY`: ECS instances are
|
|
16911
|
+
* * `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.
|
|
16718
16912
|
*
|
|
16719
|
-
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configurations. You can
|
|
16913
|
+
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configurations. You can set `CompensateWithOnDemand` to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
|
|
16720
16914
|
*
|
|
16721
16915
|
* **
|
|
16722
16916
|
*
|
|
16723
|
-
* **Note** `COST_OPTIMIZED`
|
|
16917
|
+
* **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
16724
16918
|
*
|
|
16725
|
-
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If
|
|
16919
|
+
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation of Auto Scaling to evenly distribute the ECS instances among zones.
|
|
16726
16920
|
*
|
|
16727
16921
|
* Default value: `PRIORITY`.
|
|
16728
16922
|
*
|
|
@@ -16748,7 +16942,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16748
16942
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
16749
16943
|
/**
|
|
16750
16944
|
* @remarks
|
|
16751
|
-
* The subscription duration of
|
|
16945
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`.
|
|
16752
16946
|
*
|
|
16753
16947
|
* * If `period_unit` is set to Week, the valid values of `period` are 1, 2, 3, and 4.
|
|
16754
16948
|
* * If `period_unit` is set to Month, the valid values of `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
@@ -16759,7 +16953,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16759
16953
|
period?: number;
|
|
16760
16954
|
/**
|
|
16761
16955
|
* @remarks
|
|
16762
|
-
* The billing cycle of
|
|
16956
|
+
* The billing cycle of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
16763
16957
|
*
|
|
16764
16958
|
* * `Month`: The subscription duration is measured in months.
|
|
16765
16959
|
* * `Week`: The subscription duration is measured in weeks.
|
|
@@ -16772,7 +16966,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16772
16966
|
periodUnit?: string;
|
|
16773
16967
|
/**
|
|
16774
16968
|
* @remarks
|
|
16775
|
-
* The
|
|
16969
|
+
* The OS distribution that is used. Valid values:
|
|
16776
16970
|
*
|
|
16777
16971
|
* * `CentOS`
|
|
16778
16972
|
* * `AliyunLinux`
|
|
@@ -16793,20 +16987,30 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16793
16987
|
*/
|
|
16794
16988
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
16795
16989
|
/**
|
|
16990
|
+
* @remarks
|
|
16991
|
+
* The name of the worker Resource Access Management (RAM) role.
|
|
16992
|
+
*
|
|
16993
|
+
* * If you do not specify this parameter, the default worker RAM role created by the cluster is used.
|
|
16994
|
+
* * 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-`.
|
|
16995
|
+
*
|
|
16996
|
+
* This parameter is available only to users in the whitelist. To use this parameter, submit a ticket.
|
|
16997
|
+
*
|
|
16998
|
+
* > This parameter is available only for ACK managed clusters that run Kubernetes 1.22 or later.
|
|
16999
|
+
*
|
|
16796
17000
|
* @example
|
|
16797
17001
|
* example-role
|
|
16798
17002
|
*/
|
|
16799
17003
|
ramRoleName?: string;
|
|
16800
17004
|
/**
|
|
16801
17005
|
* @remarks
|
|
16802
|
-
*
|
|
17006
|
+
* A list of ApsaraDB RDS instances.
|
|
16803
17007
|
*/
|
|
16804
17008
|
rdsInstances?: string[];
|
|
16805
17009
|
/**
|
|
16806
17010
|
* @remarks
|
|
16807
17011
|
* The scaling mode of the scaling group. Valid values:
|
|
16808
17012
|
*
|
|
16809
|
-
* * `release`: the standard mode. ECS instances are created and released based on
|
|
17013
|
+
* * `release`: the standard mode. ECS instances are created and released based on resource usage.
|
|
16810
17014
|
* * `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.
|
|
16811
17015
|
*
|
|
16812
17016
|
* Default value: `release`.
|
|
@@ -16827,22 +17031,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16827
17031
|
securityGroupId?: string;
|
|
16828
17032
|
/**
|
|
16829
17033
|
* @remarks
|
|
16830
|
-
* The security
|
|
17034
|
+
* The IDs of security groups. You must specify this parameter or `security_group_id`. We recommend that you specify `security_group_ids`. If you specify both `security_group_id` and `security_group_ids`, `security_group_ids` is used.
|
|
16831
17035
|
*/
|
|
16832
17036
|
securityGroupIds?: string[];
|
|
16833
17037
|
/**
|
|
16834
17038
|
* @remarks
|
|
16835
|
-
*
|
|
17039
|
+
* Specifies whether to enable Alibaba Cloud Linux Security Hardening. Valid values:
|
|
16836
17040
|
*
|
|
16837
|
-
*
|
|
16838
|
-
*
|
|
17041
|
+
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
17042
|
+
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
16839
17043
|
*
|
|
16840
|
-
*
|
|
17044
|
+
* Default value: `false`.
|
|
16841
17045
|
*/
|
|
16842
17046
|
securityHardeningOs?: boolean;
|
|
16843
17047
|
/**
|
|
16844
17048
|
* @remarks
|
|
16845
|
-
* Specifies whether to enable
|
|
17049
|
+
* Specifies whether to enable MLPS Security Hardening. You can enable MLPS Security Hardening only when Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 is installed on nodes. Alibaba Cloud provides standards for baseline checks and a scanner to ensure the compliance of Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images with the level 3 standards of MLPS 2.0.
|
|
16846
17050
|
*
|
|
16847
17051
|
* @example
|
|
16848
17052
|
* false
|
|
@@ -16858,10 +17062,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16858
17062
|
spotInstancePools?: number;
|
|
16859
17063
|
/**
|
|
16860
17064
|
* @remarks
|
|
16861
|
-
* Specifies whether to
|
|
17065
|
+
* Specifies whether to supplement preemptible instances. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group creates a new instance to replace this instance. Valid values:
|
|
16862
17066
|
*
|
|
16863
|
-
* * `true
|
|
16864
|
-
* * `false
|
|
17067
|
+
* * `true`: supplements preemptible instances.
|
|
17068
|
+
* * `false`: does not supplement preemptible instances.
|
|
16865
17069
|
*
|
|
16866
17070
|
* @example
|
|
16867
17071
|
* false
|
|
@@ -16869,7 +17073,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16869
17073
|
spotInstanceRemedy?: boolean;
|
|
16870
17074
|
/**
|
|
16871
17075
|
* @remarks
|
|
16872
|
-
* The instance type of preemptible
|
|
17076
|
+
* The instance type of preemptible instances and the price cap for the instance type.
|
|
16873
17077
|
*/
|
|
16874
17078
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
16875
17079
|
/**
|
|
@@ -16880,7 +17084,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16880
17084
|
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
16881
17085
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
16882
17086
|
*
|
|
16883
|
-
* For more information, see [
|
|
17087
|
+
* For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/165053.html).
|
|
16884
17088
|
*
|
|
16885
17089
|
* @example
|
|
16886
17090
|
* NoSpot
|
|
@@ -16890,10 +17094,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16890
17094
|
* @remarks
|
|
16891
17095
|
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
16892
17096
|
*
|
|
16893
|
-
* * true
|
|
16894
|
-
* * false
|
|
17097
|
+
* * true: enables the burst feature.
|
|
17098
|
+
* * false: disables the burst feature.
|
|
16895
17099
|
*
|
|
16896
|
-
* This parameter is available only
|
|
17100
|
+
* This parameter is available only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
16897
17101
|
*
|
|
16898
17102
|
* @example
|
|
16899
17103
|
* true
|
|
@@ -16901,16 +17105,26 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16901
17105
|
systemDiskBurstingEnabled?: boolean;
|
|
16902
17106
|
/**
|
|
16903
17107
|
* @remarks
|
|
16904
|
-
* The system disk types. The system
|
|
17108
|
+
* The system disk types. The system creates system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values:
|
|
17109
|
+
*
|
|
17110
|
+
* * `cloud`: basic disk.
|
|
17111
|
+
* * `cloud_efficiency`: ultra disk.
|
|
17112
|
+
* * `cloud_ssd`: standard SSD.
|
|
17113
|
+
* * `cloud_essd`: ESSD.
|
|
17114
|
+
* * `cloud_auto`: ESSD AutoPL disk.
|
|
17115
|
+
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
16905
17116
|
*/
|
|
16906
17117
|
systemDiskCategories?: string[];
|
|
16907
17118
|
/**
|
|
16908
17119
|
* @remarks
|
|
16909
17120
|
* The system disk type. Valid values:
|
|
16910
17121
|
*
|
|
16911
|
-
* * `
|
|
16912
|
-
* * `
|
|
16913
|
-
* * `
|
|
17122
|
+
* * `cloud`: basic disk.
|
|
17123
|
+
* * `cloud_efficiency`: ultra disk.
|
|
17124
|
+
* * `cloud_ssd`: standard SSD.
|
|
17125
|
+
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
17126
|
+
* * `cloud_auto`: ESSD AutoPL disk.
|
|
17127
|
+
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
16914
17128
|
*
|
|
16915
17129
|
* Default value: `cloud_efficiency`.
|
|
16916
17130
|
*
|
|
@@ -16928,7 +17142,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16928
17142
|
systemDiskEncryptAlgorithm?: string;
|
|
16929
17143
|
/**
|
|
16930
17144
|
* @remarks
|
|
16931
|
-
* Specifies whether to encrypt the system disk. Valid values: true false
|
|
17145
|
+
* Specifies whether to encrypt the system disk. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
|
|
16932
17146
|
*
|
|
16933
17147
|
* @example
|
|
16934
17148
|
* false
|
|
@@ -16944,14 +17158,14 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16944
17158
|
systemDiskKmsKeyId?: string;
|
|
16945
17159
|
/**
|
|
16946
17160
|
* @remarks
|
|
16947
|
-
* The performance level (PL) of the system disk. This parameter takes effect only for an ESSD.
|
|
17161
|
+
* The performance level (PL) of the system disk. This parameter takes effect only for an ESSD.
|
|
16948
17162
|
*
|
|
16949
|
-
* * PL0: moderate maximum concurrent I/O performance and low I/O latency
|
|
16950
|
-
* * PL1: moderate maximum concurrent I/O performance and low I/O latency
|
|
16951
|
-
* * PL2: high maximum concurrent I/O performance and low I/O latency
|
|
16952
|
-
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency
|
|
17163
|
+
* * PL0: moderate maximum concurrent I/O performance and low I/O latency.
|
|
17164
|
+
* * PL1: moderate maximum concurrent I/O performance and low I/O latency.
|
|
17165
|
+
* * PL2: high maximum concurrent I/O performance and low I/O latency.
|
|
17166
|
+
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
16953
17167
|
*
|
|
16954
|
-
* > Disks support all of the preceding PLs. However, when you create a disk, the available PLs vary based on the
|
|
17168
|
+
* > Disks support all of the preceding PLs. However, when you create a disk, the available PLs vary based on the ECS instance type that you selected. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
16955
17169
|
*
|
|
16956
17170
|
* @example
|
|
16957
17171
|
* PL1
|
|
@@ -16959,9 +17173,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16959
17173
|
systemDiskPerformanceLevel?: string;
|
|
16960
17174
|
/**
|
|
16961
17175
|
* @remarks
|
|
16962
|
-
* The preset IOPS of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}
|
|
17176
|
+
* 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}.
|
|
16963
17177
|
*
|
|
16964
|
-
* This parameter is available only
|
|
17178
|
+
* This parameter is available only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
16965
17179
|
*
|
|
16966
17180
|
* @example
|
|
16967
17181
|
* 1000
|
|
@@ -16971,7 +17185,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16971
17185
|
* @remarks
|
|
16972
17186
|
* The size of the system disk. Unit: GiB.
|
|
16973
17187
|
*
|
|
16974
|
-
* Valid values: 20 to
|
|
17188
|
+
* Valid values: 20 to 20248.
|
|
16975
17189
|
*
|
|
16976
17190
|
* @example
|
|
16977
17191
|
* 120
|
|
@@ -16979,16 +17193,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
16979
17193
|
systemDiskSize?: number;
|
|
16980
17194
|
/**
|
|
16981
17195
|
* @remarks
|
|
16982
|
-
* The
|
|
17196
|
+
* The labels that you want to add only to ECS instances.
|
|
16983
17197
|
*
|
|
16984
|
-
* The
|
|
17198
|
+
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: and cannot contain https:// or http://.
|
|
16985
17199
|
*/
|
|
16986
17200
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
16987
17201
|
/**
|
|
16988
17202
|
* @remarks
|
|
16989
|
-
*
|
|
17203
|
+
* The vSwitch IDs. You can specify one to eight vSwitch IDs.
|
|
16990
17204
|
*
|
|
16991
|
-
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
17205
|
+
* > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
|
|
16992
17206
|
*
|
|
16993
17207
|
* This parameter is required.
|
|
16994
17208
|
*/
|
|
@@ -17126,7 +17340,7 @@ export class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
17126
17340
|
}
|
|
17127
17341
|
}
|
|
17128
17342
|
|
|
17129
|
-
export class
|
|
17343
|
+
export class DeleteAlertContactResponseBodyResult extends $tea.Model {
|
|
17130
17344
|
status?: boolean;
|
|
17131
17345
|
msg?: string;
|
|
17132
17346
|
contactId?: string;
|
|
@@ -17151,6 +17365,25 @@ export class DeleteAlertContactResponseBody extends $tea.Model {
|
|
|
17151
17365
|
}
|
|
17152
17366
|
}
|
|
17153
17367
|
|
|
17368
|
+
export class DeleteAlertContactResponseBody extends $tea.Model {
|
|
17369
|
+
result?: DeleteAlertContactResponseBodyResult[];
|
|
17370
|
+
static names(): { [key: string]: string } {
|
|
17371
|
+
return {
|
|
17372
|
+
result: 'result',
|
|
17373
|
+
};
|
|
17374
|
+
}
|
|
17375
|
+
|
|
17376
|
+
static types(): { [key: string]: any } {
|
|
17377
|
+
return {
|
|
17378
|
+
result: { 'type': 'array', 'itemType': DeleteAlertContactResponseBodyResult },
|
|
17379
|
+
};
|
|
17380
|
+
}
|
|
17381
|
+
|
|
17382
|
+
constructor(map?: { [key: string]: any }) {
|
|
17383
|
+
super(map);
|
|
17384
|
+
}
|
|
17385
|
+
}
|
|
17386
|
+
|
|
17154
17387
|
export class DeleteAlertContactGroupResponseBody extends $tea.Model {
|
|
17155
17388
|
status?: boolean;
|
|
17156
17389
|
msg?: string;
|
|
@@ -17190,7 +17423,7 @@ export class DeleteClusterRequestDeleteOptions extends $tea.Model {
|
|
|
17190
17423
|
deleteMode?: string;
|
|
17191
17424
|
/**
|
|
17192
17425
|
* @remarks
|
|
17193
|
-
* Valid values:
|
|
17426
|
+
* The type of the resource. Valid values:
|
|
17194
17427
|
*
|
|
17195
17428
|
* * SLB: SLB resources created for Services. By default, the SLB resources are automatically deleted.
|
|
17196
17429
|
* * ALB: Application Load Balancer (ALB) resources created by the ALB Ingress controller. By default, the ALB resources are retained.
|
|
@@ -19873,7 +20106,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
19873
20106
|
privatePoolOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions;
|
|
19874
20107
|
/**
|
|
19875
20108
|
* @remarks
|
|
19876
|
-
*
|
|
20109
|
+
* This field is deprecated and replaced by the ram_role_name parameter.
|
|
19877
20110
|
*
|
|
19878
20111
|
* @example
|
|
19879
20112
|
* KubernetesWorkerRole-021dc54f-929b-437a-8ae0-34c24d3e****
|
|
@@ -19921,15 +20154,6 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
19921
20154
|
* The IDs of security groups for the node pool.
|
|
19922
20155
|
*/
|
|
19923
20156
|
securityGroupIds?: string[];
|
|
19924
|
-
/**
|
|
19925
|
-
* @remarks
|
|
19926
|
-
* 阿里云OS安全加固。取值:
|
|
19927
|
-
*
|
|
19928
|
-
* - `true`:开启阿里云OS安全加固。
|
|
19929
|
-
* - `false`:不开启阿里云OS安全加固。
|
|
19930
|
-
*
|
|
19931
|
-
* 默认值:`false`。
|
|
19932
|
-
*/
|
|
19933
20157
|
securityHardeningOs?: boolean;
|
|
19934
20158
|
/**
|
|
19935
20159
|
* @remarks
|
|
@@ -20361,7 +20585,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.Model {
|
|
|
20361
20585
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
20362
20586
|
/**
|
|
20363
20587
|
* @remarks
|
|
20364
|
-
* The
|
|
20588
|
+
* The configuration of the scaling group.
|
|
20365
20589
|
*/
|
|
20366
20590
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
20367
20591
|
/**
|
|
@@ -20887,11 +21111,11 @@ export class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
20887
21111
|
deleteBehavior?: DescribeClusterResourcesResponseBodyDeleteBehavior;
|
|
20888
21112
|
/**
|
|
20889
21113
|
* @remarks
|
|
20890
|
-
* The
|
|
21114
|
+
* The resource creator. Valid values:
|
|
20891
21115
|
*
|
|
20892
|
-
* * user:
|
|
20893
|
-
* * system:
|
|
20894
|
-
* * addon:
|
|
21116
|
+
* * user: The resource is created by the user.
|
|
21117
|
+
* * system: The resource is created by the ACK management system.
|
|
21118
|
+
* * addon: The resource is created by a cluster component.
|
|
20895
21119
|
*
|
|
20896
21120
|
* @example
|
|
20897
21121
|
* addon
|
|
@@ -21343,10 +21567,10 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21343
21567
|
clusterId?: string;
|
|
21344
21568
|
/**
|
|
21345
21569
|
* @remarks
|
|
21346
|
-
*
|
|
21570
|
+
* After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition of the cluster. Valid values:
|
|
21347
21571
|
*
|
|
21348
|
-
* * `ack.pro.small`: ACK Pro cluster
|
|
21349
|
-
* * `ack.standard`: ACK Basic cluster
|
|
21572
|
+
* * `ack.pro.small`: ACK Pro cluster.
|
|
21573
|
+
* * `ack.standard`: ACK Basic cluster. If you leave the parameter empty, ACK Basic cluster is selected.
|
|
21350
21574
|
*
|
|
21351
21575
|
* @example
|
|
21352
21576
|
* ack.standard
|
|
@@ -21354,12 +21578,9 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21354
21578
|
clusterSpec?: string;
|
|
21355
21579
|
/**
|
|
21356
21580
|
* @remarks
|
|
21357
|
-
*
|
|
21358
|
-
*
|
|
21359
|
-
* * `
|
|
21360
|
-
* * `ManagedKubernetes`: ACK managed cluster
|
|
21361
|
-
* * `Ask`: ACK Serverless cluster
|
|
21362
|
-
* * `ExternalKubernetes`: registered cluster
|
|
21581
|
+
* * `Kubernetes`: ACK dedicated cluster.
|
|
21582
|
+
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters.
|
|
21583
|
+
* * `ExternalKubernetes`: registered cluster.
|
|
21363
21584
|
*
|
|
21364
21585
|
* @example
|
|
21365
21586
|
* Kubernetes
|
|
@@ -21383,10 +21604,10 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21383
21604
|
currentVersion?: string;
|
|
21384
21605
|
/**
|
|
21385
21606
|
* @remarks
|
|
21386
|
-
*
|
|
21607
|
+
* Specifies whether to enable cluster deletion protection. If this option is enabled, the cluster cannot be deleted in the ACK console or by calling API operations. Valid values:
|
|
21387
21608
|
*
|
|
21388
|
-
* * `true`:
|
|
21389
|
-
* * `false`:
|
|
21609
|
+
* * `true`: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the ACK console or by calling API operations.
|
|
21610
|
+
* * `false`: disables deletion protection for the cluster. This way, the cluster can be deleted in the ACK console or by calling API operations.
|
|
21390
21611
|
*
|
|
21391
21612
|
* @example
|
|
21392
21613
|
* true
|
|
@@ -21402,7 +21623,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21402
21623
|
dockerVersion?: string;
|
|
21403
21624
|
/**
|
|
21404
21625
|
* @remarks
|
|
21405
|
-
* The ID of the Server Load Balancer (SLB) instance that is used by the
|
|
21626
|
+
* The ID of the Server Load Balancer (SLB) instance that is used by the Ingresses of the cluster.
|
|
21406
21627
|
*
|
|
21407
21628
|
* The default SLB specification is slb.s1.small, which belongs to the high-performance instance type.
|
|
21408
21629
|
*
|
|
@@ -21412,9 +21633,9 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21412
21633
|
externalLoadbalancerId?: string;
|
|
21413
21634
|
/**
|
|
21414
21635
|
* @remarks
|
|
21415
|
-
* The Kubernetes version of the cluster. The Kubernetes versions supported by ACK are the same as the versions
|
|
21636
|
+
* The Kubernetes version of the cluster. The Kubernetes versions supported by ACK are the same as the Kubernetes versions supported by open source Kubernetes. We recommend that you specify the latest Kubernetes version. If you do not configure this parameter, the latest Kubernetes version is used.
|
|
21416
21637
|
*
|
|
21417
|
-
* You can create clusters
|
|
21638
|
+
* You can create clusters that run the latest two Kubernetes versions in the ACK console. You can call the API operation to create clusters of other Kubernetes versions. For more information about the Kubernetes versions supported by ACK, see [Release notes for Kubernetes versions](https://help.aliyun.com/document_detail/185269.html).
|
|
21418
21639
|
*
|
|
21419
21640
|
* @example
|
|
21420
21641
|
* 1.16.9-aliyun.1
|
|
@@ -21422,12 +21643,12 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21422
21643
|
initVersion?: string;
|
|
21423
21644
|
/**
|
|
21424
21645
|
* @remarks
|
|
21425
|
-
* The maintenance window of the cluster. This feature is available only for ACK
|
|
21646
|
+
* The maintenance window of the cluster. This feature is available only for ACK managed clusters and ACK Serverless clusters.
|
|
21426
21647
|
*/
|
|
21427
21648
|
maintenanceWindow?: MaintenanceWindow;
|
|
21428
21649
|
/**
|
|
21429
21650
|
* @remarks
|
|
21430
|
-
* The
|
|
21651
|
+
* The address of the cluster API server. It includes an internal endpoint and a public endpoint.
|
|
21431
21652
|
*
|
|
21432
21653
|
* @example
|
|
21433
21654
|
* {\\"api_server_endpoint\\":\\"\\",\\"intranet_api_server_endpoint\\":\\"https://192.168.0.251:6443\\"}
|
|
@@ -21445,7 +21666,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21445
21666
|
* @remarks
|
|
21446
21667
|
* The cluster name.
|
|
21447
21668
|
*
|
|
21448
|
-
* The name must be 1 to 63 characters in length and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
|
|
21669
|
+
* The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
|
|
21449
21670
|
*
|
|
21450
21671
|
* @example
|
|
21451
21672
|
* cluster-demo
|
|
@@ -21455,9 +21676,9 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21455
21676
|
* @remarks
|
|
21456
21677
|
* The network mode of the cluster. Valid values:
|
|
21457
21678
|
*
|
|
21458
|
-
* * `classic`: classic network
|
|
21459
|
-
* * `vpc`: virtual private cloud (VPC)
|
|
21460
|
-
* * `overlay`: overlay network
|
|
21679
|
+
* * `classic`: classic network.
|
|
21680
|
+
* * `vpc`: virtual private cloud (VPC).
|
|
21681
|
+
* * `overlay`: overlay network.
|
|
21461
21682
|
* * `calico`: network powered by Calico.
|
|
21462
21683
|
*
|
|
21463
21684
|
* @example
|
|
@@ -21487,8 +21708,10 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21487
21708
|
* @remarks
|
|
21488
21709
|
* The cluster identifier. Valid values:
|
|
21489
21710
|
*
|
|
21490
|
-
* * `
|
|
21491
|
-
* * `
|
|
21711
|
+
* * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
21712
|
+
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
21713
|
+
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
21714
|
+
* * `Lingjun`: ACK Lingjun Pro cluster.
|
|
21492
21715
|
*
|
|
21493
21716
|
* @example
|
|
21494
21717
|
* Default
|
|
@@ -21512,7 +21735,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21512
21735
|
resourceGroupId?: string;
|
|
21513
21736
|
/**
|
|
21514
21737
|
* @remarks
|
|
21515
|
-
* The ID of the security group
|
|
21738
|
+
* The ID of the security group of the cluster.
|
|
21516
21739
|
*
|
|
21517
21740
|
* @example
|
|
21518
21741
|
* sg-2vcgwsrwgt5mp0yi****
|
|
@@ -21553,9 +21776,9 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21553
21776
|
* * 172.16-31.0.0/12-16
|
|
21554
21777
|
* * 192.168.0.0/16
|
|
21555
21778
|
*
|
|
21556
|
-
* The CIDR block
|
|
21779
|
+
* 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.
|
|
21557
21780
|
*
|
|
21558
|
-
* For more information, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/86500.html).
|
|
21781
|
+
* 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).
|
|
21559
21782
|
*
|
|
21560
21783
|
* @example
|
|
21561
21784
|
* 172.21.0.0/16
|
|
@@ -21592,7 +21815,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21592
21815
|
vswitchId?: string;
|
|
21593
21816
|
/**
|
|
21594
21817
|
* @remarks
|
|
21595
|
-
* The name of the worker Resource Access Management (RAM) role. The RAM role is assigned to the worker nodes of the cluster to allow the worker nodes to manage
|
|
21818
|
+
* The name of the worker Resource Access Management (RAM) role. The RAM role is assigned to the worker nodes of the cluster to allow the worker nodes to manage ECS instances.
|
|
21596
21819
|
*
|
|
21597
21820
|
* @example
|
|
21598
21821
|
* KubernetesWorkerRole-ec87d15b-edca-4302-933f-c8a16bf0****
|
|
@@ -21600,7 +21823,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21600
21823
|
workerRamRoleName?: string;
|
|
21601
21824
|
/**
|
|
21602
21825
|
* @remarks
|
|
21603
|
-
* The zone
|
|
21826
|
+
* The ID of the zone where the cluster is deployed.
|
|
21604
21827
|
*
|
|
21605
21828
|
* @example
|
|
21606
21829
|
* cn-beijing-b
|
|
@@ -22234,7 +22457,7 @@ export class DescribeKubernetesVersionMetadataResponseBodyImages extends $tea.Mo
|
|
|
22234
22457
|
imageType?: string;
|
|
22235
22458
|
/**
|
|
22236
22459
|
* @remarks
|
|
22237
|
-
* The type of
|
|
22460
|
+
* The type of OS. Examples:
|
|
22238
22461
|
*
|
|
22239
22462
|
* * `Windows`
|
|
22240
22463
|
* * `Linux`
|
|
@@ -22318,7 +22541,7 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
|
|
|
22318
22541
|
runtimes?: Runtime[];
|
|
22319
22542
|
/**
|
|
22320
22543
|
* @remarks
|
|
22321
|
-
* The Kubernetes version
|
|
22544
|
+
* The Kubernetes version supported by ACK. For more information, see [Release notes for Kubernetes versions](https://help.aliyun.com/document_detail/185269.html).
|
|
22322
22545
|
*
|
|
22323
22546
|
* @example
|
|
22324
22547
|
* 1.16.9-aliyun.1
|
|
@@ -22348,6 +22571,10 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
|
|
|
22348
22571
|
* true
|
|
22349
22572
|
*/
|
|
22350
22573
|
creatable?: boolean;
|
|
22574
|
+
/**
|
|
22575
|
+
* @remarks
|
|
22576
|
+
* The list of available versions for updates.
|
|
22577
|
+
*/
|
|
22351
22578
|
upgradableVersions?: string[];
|
|
22352
22579
|
static names(): { [key: string]: string } {
|
|
22353
22580
|
return {
|
|
@@ -23029,7 +23256,7 @@ export class DescribePolicyInstancesResponseBody extends $tea.Model {
|
|
|
23029
23256
|
export class DescribePolicyInstancesStatusResponseBodyPolicyInstances extends $tea.Model {
|
|
23030
23257
|
/**
|
|
23031
23258
|
* @remarks
|
|
23032
|
-
* The policy
|
|
23259
|
+
* The type of the policy. For more information about different types of policies and their descriptions, see [Predefined security policies of ACK](https://help.aliyun.com/document_detail/359819.html).
|
|
23033
23260
|
*
|
|
23034
23261
|
* @example
|
|
23035
23262
|
* compliance
|
|
@@ -23895,9 +24122,9 @@ export class DescribeUserPermissionResponseBody extends $tea.Model {
|
|
|
23895
24122
|
export class DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota extends $tea.Model {
|
|
23896
24123
|
/**
|
|
23897
24124
|
* @remarks
|
|
23898
|
-
* This parameter is
|
|
24125
|
+
* This parameter is discontinued.
|
|
23899
24126
|
*
|
|
23900
|
-
* The maximum bandwidth of each enhanced node pool. Unit: Mbit/s.
|
|
24127
|
+
* The maximum bandwidth of each enhanced edge node pool. Unit: Mbit/s.
|
|
23901
24128
|
*
|
|
23902
24129
|
* @example
|
|
23903
24130
|
* 10
|
|
@@ -23905,9 +24132,9 @@ export class DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota extends $tea
|
|
|
23905
24132
|
bandwidth?: number;
|
|
23906
24133
|
/**
|
|
23907
24134
|
* @remarks
|
|
23908
|
-
* This parameter is
|
|
24135
|
+
* This parameter is discontinued.
|
|
23909
24136
|
*
|
|
23910
|
-
* The
|
|
24137
|
+
* The maximum number of enhanced edge node pools that you can create within an Alibaba Cloud account.
|
|
23911
24138
|
*
|
|
23912
24139
|
* @example
|
|
23913
24140
|
* 3
|
|
@@ -23915,11 +24142,11 @@ export class DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota extends $tea
|
|
|
23915
24142
|
count?: number;
|
|
23916
24143
|
/**
|
|
23917
24144
|
* @remarks
|
|
23918
|
-
* This parameter is
|
|
24145
|
+
* This parameter is discontinued.
|
|
23919
24146
|
*
|
|
23920
24147
|
* The maximum subscription duration of an enhanced edge node pool. Unit: months.
|
|
23921
24148
|
*
|
|
23922
|
-
* >
|
|
24149
|
+
* > You are charged for enhanced edge node pools based on the pay-as-you-go billing method. Therefore, you can ignore this parameter.
|
|
23923
24150
|
*
|
|
23924
24151
|
* @example
|
|
23925
24152
|
* 3
|
|
@@ -24076,41 +24303,71 @@ export class GetClusterAddonInstanceResponseBodyLogging extends $tea.Model {
|
|
|
24076
24303
|
|
|
24077
24304
|
export class GetClusterDiagnosisCheckItemsResponseBodyCheckItems extends $tea.Model {
|
|
24078
24305
|
/**
|
|
24306
|
+
* @remarks
|
|
24307
|
+
* The description.
|
|
24308
|
+
*
|
|
24079
24309
|
* @example
|
|
24080
24310
|
* Check whether the node can access host dns service
|
|
24081
24311
|
*/
|
|
24082
24312
|
desc?: string;
|
|
24083
24313
|
/**
|
|
24314
|
+
* @remarks
|
|
24315
|
+
* The display name.
|
|
24316
|
+
*
|
|
24084
24317
|
* @example
|
|
24085
24318
|
* HostDNS
|
|
24086
24319
|
*/
|
|
24087
24320
|
display?: string;
|
|
24088
24321
|
/**
|
|
24322
|
+
* @remarks
|
|
24323
|
+
* The name of the group to which the check item belongs.
|
|
24324
|
+
*
|
|
24089
24325
|
* @example
|
|
24090
24326
|
* Node
|
|
24091
24327
|
*/
|
|
24092
24328
|
group?: string;
|
|
24093
24329
|
/**
|
|
24330
|
+
* @remarks
|
|
24331
|
+
* The severity level of the check result.
|
|
24332
|
+
*
|
|
24333
|
+
* Valid values:
|
|
24334
|
+
*
|
|
24335
|
+
* * normal
|
|
24336
|
+
* * warning
|
|
24337
|
+
* * error
|
|
24338
|
+
*
|
|
24094
24339
|
* @example
|
|
24095
24340
|
* normal
|
|
24096
24341
|
*/
|
|
24097
24342
|
level?: string;
|
|
24098
24343
|
/**
|
|
24344
|
+
* @remarks
|
|
24345
|
+
* The check result.
|
|
24346
|
+
*
|
|
24099
24347
|
* @example
|
|
24100
24348
|
* success
|
|
24101
24349
|
*/
|
|
24102
24350
|
message?: string;
|
|
24103
24351
|
/**
|
|
24352
|
+
* @remarks
|
|
24353
|
+
* The name of the check item.
|
|
24354
|
+
*
|
|
24104
24355
|
* @example
|
|
24105
24356
|
* HostDNS
|
|
24106
24357
|
*/
|
|
24107
24358
|
name?: string;
|
|
24108
24359
|
/**
|
|
24360
|
+
* @remarks
|
|
24361
|
+
* The reference value.
|
|
24362
|
+
*
|
|
24109
24363
|
* @example
|
|
24110
24364
|
* True
|
|
24111
24365
|
*/
|
|
24112
24366
|
refer?: string;
|
|
24113
24367
|
/**
|
|
24368
|
+
* @remarks
|
|
24369
|
+
* The value of the check item.
|
|
24370
|
+
*
|
|
24114
24371
|
* @example
|
|
24115
24372
|
* True
|
|
24116
24373
|
*/
|
|
@@ -24703,7 +24960,7 @@ export class ListClusterKubeconfigStatesResponseBodyPage extends $tea.Model {
|
|
|
24703
24960
|
export class ListClusterKubeconfigStatesResponseBodyStates extends $tea.Model {
|
|
24704
24961
|
/**
|
|
24705
24962
|
* @remarks
|
|
24706
|
-
* The
|
|
24963
|
+
* The displayed name or role name of the RAM user.
|
|
24707
24964
|
*
|
|
24708
24965
|
* @example
|
|
24709
24966
|
* tom
|
|
@@ -24719,7 +24976,7 @@ export class ListClusterKubeconfigStatesResponseBodyStates extends $tea.Model {
|
|
|
24719
24976
|
accountId?: string;
|
|
24720
24977
|
/**
|
|
24721
24978
|
* @remarks
|
|
24722
|
-
* The name of the
|
|
24979
|
+
* The logon name or role name of the RAM user.
|
|
24723
24980
|
*
|
|
24724
24981
|
* @example
|
|
24725
24982
|
* tom
|
|
@@ -24727,7 +24984,7 @@ export class ListClusterKubeconfigStatesResponseBodyStates extends $tea.Model {
|
|
|
24727
24984
|
accountName?: string;
|
|
24728
24985
|
/**
|
|
24729
24986
|
* @remarks
|
|
24730
|
-
* The status of the account.
|
|
24987
|
+
* The status of the account.
|
|
24731
24988
|
*
|
|
24732
24989
|
* * Active: The account is active.
|
|
24733
24990
|
* * InActive: The account is locked.
|
|
@@ -24739,7 +24996,7 @@ export class ListClusterKubeconfigStatesResponseBodyStates extends $tea.Model {
|
|
|
24739
24996
|
accountState?: string;
|
|
24740
24997
|
/**
|
|
24741
24998
|
* @remarks
|
|
24742
|
-
* The type of the account.
|
|
24999
|
+
* The type of the account.
|
|
24743
25000
|
*
|
|
24744
25001
|
* * RootAccount: Alibaba Cloud account.
|
|
24745
25002
|
* * RamUser: RAM user.
|
|
@@ -24751,7 +25008,7 @@ export class ListClusterKubeconfigStatesResponseBodyStates extends $tea.Model {
|
|
|
24751
25008
|
accountType?: string;
|
|
24752
25009
|
/**
|
|
24753
25010
|
* @remarks
|
|
24754
|
-
*
|
|
25011
|
+
* The expiration time of the client certificate for the kubeconfig file.
|
|
24755
25012
|
*
|
|
24756
25013
|
* @example
|
|
24757
25014
|
* 2027-07-15T01:32:20Z
|
|
@@ -24759,7 +25016,7 @@ export class ListClusterKubeconfigStatesResponseBodyStates extends $tea.Model {
|
|
|
24759
25016
|
certExpireTime?: string;
|
|
24760
25017
|
/**
|
|
24761
25018
|
* @remarks
|
|
24762
|
-
* The status of the certificate.
|
|
25019
|
+
* The status of the client certificate for the kubeconfig file.
|
|
24763
25020
|
*
|
|
24764
25021
|
* * Unexpired: The certificate is not expired.
|
|
24765
25022
|
* * Expired: The certificate is expired.
|
|
@@ -24771,7 +25028,7 @@ export class ListClusterKubeconfigStatesResponseBodyStates extends $tea.Model {
|
|
|
24771
25028
|
certState?: string;
|
|
24772
25029
|
/**
|
|
24773
25030
|
* @remarks
|
|
24774
|
-
* Indicates whether the certificate can be revoked.
|
|
25031
|
+
* Indicates whether the client certificate for the kubeconfig file can be revoked.
|
|
24775
25032
|
*
|
|
24776
25033
|
* @example
|
|
24777
25034
|
* true
|
|
@@ -25133,10 +25390,20 @@ export class ListUserKubeConfigStatesResponseBodyStates extends $tea.Model {
|
|
|
25133
25390
|
|
|
25134
25391
|
export class ModifyClusterRequestApiServerCustomCertSans extends $tea.Model {
|
|
25135
25392
|
/**
|
|
25393
|
+
* @remarks
|
|
25394
|
+
* Specifies whether to overwrite or add SANs. Valid values:
|
|
25395
|
+
*
|
|
25396
|
+
* * overwrite: overwrites SANs.
|
|
25397
|
+
* * append: adds SANs.
|
|
25398
|
+
*
|
|
25136
25399
|
* @example
|
|
25137
25400
|
* append
|
|
25138
25401
|
*/
|
|
25139
25402
|
action?: string;
|
|
25403
|
+
/**
|
|
25404
|
+
* @remarks
|
|
25405
|
+
* The SANs.
|
|
25406
|
+
*/
|
|
25140
25407
|
subjectAlternativeNames?: string[];
|
|
25141
25408
|
static names(): { [key: string]: string } {
|
|
25142
25409
|
return {
|
|
@@ -25159,11 +25426,21 @@ export class ModifyClusterRequestApiServerCustomCertSans extends $tea.Model {
|
|
|
25159
25426
|
|
|
25160
25427
|
export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
25161
25428
|
/**
|
|
25429
|
+
* @remarks
|
|
25430
|
+
* The frequency of auto cluster updates. Valid values:
|
|
25431
|
+
*
|
|
25432
|
+
* * patch
|
|
25433
|
+
* * stable
|
|
25434
|
+
* * rapid
|
|
25435
|
+
*
|
|
25162
25436
|
* @example
|
|
25163
25437
|
* patch
|
|
25164
25438
|
*/
|
|
25165
25439
|
channel?: string;
|
|
25166
25440
|
/**
|
|
25441
|
+
* @remarks
|
|
25442
|
+
* Specifies whether to enable auto cluster update.
|
|
25443
|
+
*
|
|
25167
25444
|
* @example
|
|
25168
25445
|
* true
|
|
25169
25446
|
*/
|
|
@@ -25188,6 +25465,10 @@ export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
25188
25465
|
}
|
|
25189
25466
|
|
|
25190
25467
|
export class ModifyClusterRequestOperationPolicy extends $tea.Model {
|
|
25468
|
+
/**
|
|
25469
|
+
* @remarks
|
|
25470
|
+
* The configurations of auto cluster update.
|
|
25471
|
+
*/
|
|
25191
25472
|
clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
25192
25473
|
static names(): { [key: string]: string } {
|
|
25193
25474
|
return {
|
|
@@ -25217,7 +25498,7 @@ export class ModifyClusterRequestSystemEventsLogging extends $tea.Model {
|
|
|
25217
25498
|
enabled?: boolean;
|
|
25218
25499
|
/**
|
|
25219
25500
|
* @remarks
|
|
25220
|
-
* The name of the
|
|
25501
|
+
* The name of the Simple Log Service project that stores system events.
|
|
25221
25502
|
*
|
|
25222
25503
|
* @example
|
|
25223
25504
|
* k8s-log-cb95aa626a47740afbf6aa099b65****
|
|
@@ -25324,7 +25605,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
25324
25605
|
eipBandwidth?: number;
|
|
25325
25606
|
/**
|
|
25326
25607
|
* @remarks
|
|
25327
|
-
* The metering method of the EIP. Valid values:
|
|
25608
|
+
* The metering method of the elastic IP address (EIP). Valid values:
|
|
25328
25609
|
*
|
|
25329
25610
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
25330
25611
|
* * `PayByTraffic`: pay-by-data-transfer.
|
|
@@ -25352,10 +25633,10 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
25352
25633
|
enable?: boolean;
|
|
25353
25634
|
/**
|
|
25354
25635
|
* @remarks
|
|
25355
|
-
* Specifies whether to associate an
|
|
25636
|
+
* Specifies whether to associate an EIP with the node pool. Valid values:
|
|
25356
25637
|
*
|
|
25357
25638
|
* * `true`: associates an EIP with the node pool.
|
|
25358
|
-
* * `false`:
|
|
25639
|
+
* * `false`: No EIP is associated with the node pool.
|
|
25359
25640
|
*
|
|
25360
25641
|
* Default value: `false`.
|
|
25361
25642
|
*
|
|
@@ -25383,7 +25664,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
25383
25664
|
minInstances?: number;
|
|
25384
25665
|
/**
|
|
25385
25666
|
* @remarks
|
|
25386
|
-
* The instance
|
|
25667
|
+
* The instance type that is used for auto scaling. Valid values:
|
|
25387
25668
|
*
|
|
25388
25669
|
* * `cpu`: regular instance.
|
|
25389
25670
|
* * `gpu`: GPU-accelerated instance.
|
|
@@ -25443,9 +25724,9 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25443
25724
|
cmsEnabled?: boolean;
|
|
25444
25725
|
/**
|
|
25445
25726
|
* @remarks
|
|
25446
|
-
* The CPU management policy of
|
|
25727
|
+
* 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:
|
|
25447
25728
|
*
|
|
25448
|
-
* * `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
25729
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
25449
25730
|
* * `none`: specifies that the default CPU affinity is used.
|
|
25450
25731
|
*
|
|
25451
25732
|
* Default value: `none`.
|
|
@@ -25456,9 +25737,9 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25456
25737
|
cpuPolicy?: string;
|
|
25457
25738
|
/**
|
|
25458
25739
|
* @remarks
|
|
25459
|
-
* The labels
|
|
25740
|
+
* The labels that you want to add to nodes in the cluster. You must add labels based on the following rules:
|
|
25460
25741
|
*
|
|
25461
|
-
* * A
|
|
25742
|
+
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
25462
25743
|
* * 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).
|
|
25463
25744
|
*/
|
|
25464
25745
|
labels?: Tag[];
|
|
@@ -25480,7 +25761,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25480
25761
|
runtimeVersion?: string;
|
|
25481
25762
|
/**
|
|
25482
25763
|
* @remarks
|
|
25483
|
-
* The
|
|
25764
|
+
* The taints.
|
|
25484
25765
|
*/
|
|
25485
25766
|
taints?: Taint[];
|
|
25486
25767
|
/**
|
|
@@ -25493,7 +25774,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25493
25774
|
unschedulable?: boolean;
|
|
25494
25775
|
/**
|
|
25495
25776
|
* @remarks
|
|
25496
|
-
* The user
|
|
25777
|
+
* The user data on the node. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
|
|
25497
25778
|
*
|
|
25498
25779
|
* @example
|
|
25499
25780
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -25533,10 +25814,10 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25533
25814
|
export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
25534
25815
|
/**
|
|
25535
25816
|
* @remarks
|
|
25536
|
-
* Specifies whether
|
|
25817
|
+
* Specifies whether to allow node restart. Valid values:
|
|
25537
25818
|
*
|
|
25538
|
-
* * `true`:
|
|
25539
|
-
* * `false`:
|
|
25819
|
+
* * `true`: allows node restart.
|
|
25820
|
+
* * `false`: does not allow node restart.
|
|
25540
25821
|
*
|
|
25541
25822
|
* @example
|
|
25542
25823
|
* true
|
|
@@ -25562,10 +25843,10 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea
|
|
|
25562
25843
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
25563
25844
|
/**
|
|
25564
25845
|
* @remarks
|
|
25565
|
-
* Specifies whether
|
|
25846
|
+
* Specifies whether to allow auto update of the kubelet. Valid values:
|
|
25566
25847
|
*
|
|
25567
|
-
* * `true`:
|
|
25568
|
-
* * `false`:
|
|
25848
|
+
* * `true`: allows auto update of the kubelet.
|
|
25849
|
+
* * `false`: does not allow auto update of the kubelet.
|
|
25569
25850
|
*
|
|
25570
25851
|
* @example
|
|
25571
25852
|
* true
|
|
@@ -25573,20 +25854,20 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
25573
25854
|
autoUpgradeKubelet?: boolean;
|
|
25574
25855
|
/**
|
|
25575
25856
|
* @remarks
|
|
25576
|
-
* Specifies whether
|
|
25857
|
+
* Specifies whether to allow auto update of the OS. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
25577
25858
|
*
|
|
25578
|
-
* * `true`:
|
|
25579
|
-
* * `false`:
|
|
25859
|
+
* * `true`: allows auto update of the OS.
|
|
25860
|
+
* * `false`: does not allow auto update of the OS.
|
|
25580
25861
|
*
|
|
25581
25862
|
* Default value: `false`.
|
|
25582
25863
|
*/
|
|
25583
25864
|
autoUpgradeOs?: boolean;
|
|
25584
25865
|
/**
|
|
25585
25866
|
* @remarks
|
|
25586
|
-
* Specifies whether
|
|
25867
|
+
* Specifies whether to allow auto update of the runtime. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
25587
25868
|
*
|
|
25588
|
-
* * `true`:
|
|
25589
|
-
* * `false`:
|
|
25869
|
+
* * `true`: allows auto update of the runtime.
|
|
25870
|
+
* * `false`: does not allow auto update of the runtime.
|
|
25590
25871
|
*
|
|
25591
25872
|
* Default value: `false`.
|
|
25592
25873
|
*/
|
|
@@ -25615,10 +25896,10 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
25615
25896
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
25616
25897
|
/**
|
|
25617
25898
|
* @remarks
|
|
25618
|
-
* Specifies whether
|
|
25899
|
+
* Specifies whether to allow node restart. Valid values:
|
|
25619
25900
|
*
|
|
25620
|
-
* * `true`:
|
|
25621
|
-
* * `false`:
|
|
25901
|
+
* * `true`: allows node restart.
|
|
25902
|
+
* * `false`: does not allow node restart.
|
|
25622
25903
|
*
|
|
25623
25904
|
* @example
|
|
25624
25905
|
* true
|
|
@@ -25626,7 +25907,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
25626
25907
|
restartNode?: boolean;
|
|
25627
25908
|
/**
|
|
25628
25909
|
* @remarks
|
|
25629
|
-
* The severity levels of
|
|
25910
|
+
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,).
|
|
25630
25911
|
*
|
|
25631
25912
|
* @example
|
|
25632
25913
|
* asap,nntf
|
|
@@ -25654,7 +25935,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
25654
25935
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
25655
25936
|
/**
|
|
25656
25937
|
* @remarks
|
|
25657
|
-
* Specifies whether to enable auto update.
|
|
25938
|
+
* Specifies whether to enable auto update. Valid values:
|
|
25658
25939
|
*
|
|
25659
25940
|
* * true: enables auto update.
|
|
25660
25941
|
* * false: disables auto update.
|
|
@@ -25669,7 +25950,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
25669
25950
|
autoUpgrade?: boolean;
|
|
25670
25951
|
/**
|
|
25671
25952
|
* @remarks
|
|
25672
|
-
* The maximum number of nodes
|
|
25953
|
+
* The maximum number of unavailable nodes.
|
|
25673
25954
|
*
|
|
25674
25955
|
* Valid values: 1 to 1000.
|
|
25675
25956
|
*
|
|
@@ -25681,9 +25962,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
25681
25962
|
maxUnavailable?: number;
|
|
25682
25963
|
/**
|
|
25683
25964
|
* @remarks
|
|
25684
|
-
* The number of nodes that are temporarily added to the node pool during an auto update. Additional nodes are used to host the workloads of nodes that are being updated.
|
|
25965
|
+
* The number of additional nodes that are temporarily added to the node pool during an auto update. A node is unavailable during an update. Additional nodes are used to temporarily host the workloads of nodes that are being updated.
|
|
25685
25966
|
*
|
|
25686
|
-
* > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes.
|
|
25967
|
+
* > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes in the node pool.
|
|
25687
25968
|
*
|
|
25688
25969
|
* @example
|
|
25689
25970
|
* 5
|
|
@@ -25691,7 +25972,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
25691
25972
|
surge?: number;
|
|
25692
25973
|
/**
|
|
25693
25974
|
* @remarks
|
|
25694
|
-
* The percentage of additional nodes
|
|
25975
|
+
* The percentage of additional nodes that are temporarily added to the node pool during an auto update. You must set this parameter or `surge`.
|
|
25695
25976
|
*
|
|
25696
25977
|
* @example
|
|
25697
25978
|
* 0
|
|
@@ -25757,10 +26038,10 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
25757
26038
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
25758
26039
|
/**
|
|
25759
26040
|
* @remarks
|
|
25760
|
-
* Specifies whether
|
|
26041
|
+
* Specifies whether to enable auto Common Vulnerabilities and Exposures (CVE) patching. Valid values:
|
|
25761
26042
|
*
|
|
25762
|
-
* * `true`:
|
|
25763
|
-
* * `true`:
|
|
26043
|
+
* * `true`: enables auto CVE patching.
|
|
26044
|
+
* * `true`: disables auto CVE patching.
|
|
25764
26045
|
*
|
|
25765
26046
|
* @example
|
|
25766
26047
|
* true
|
|
@@ -25786,7 +26067,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
25786
26067
|
enable?: boolean;
|
|
25787
26068
|
/**
|
|
25788
26069
|
* @remarks
|
|
25789
|
-
* The
|
|
26070
|
+
* The configurations of auto update. The configuration takes effect only when you specify `enable=true`.
|
|
25790
26071
|
*
|
|
25791
26072
|
* @deprecated
|
|
25792
26073
|
*/
|
|
@@ -25835,7 +26116,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
|
25835
26116
|
name?: string;
|
|
25836
26117
|
/**
|
|
25837
26118
|
* @remarks
|
|
25838
|
-
* The
|
|
26119
|
+
* The resource group ID.
|
|
25839
26120
|
*
|
|
25840
26121
|
* @example
|
|
25841
26122
|
* rg-acfmyvw3wjm****
|
|
@@ -25863,7 +26144,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
|
25863
26144
|
export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $tea.Model {
|
|
25864
26145
|
/**
|
|
25865
26146
|
* @remarks
|
|
25866
|
-
* The
|
|
26147
|
+
* The private node pool ID.
|
|
25867
26148
|
*
|
|
25868
26149
|
* @example
|
|
25869
26150
|
* eap-bp67acfmxazb4****
|
|
@@ -25871,11 +26152,11 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
25871
26152
|
id?: string;
|
|
25872
26153
|
/**
|
|
25873
26154
|
* @remarks
|
|
25874
|
-
* The type of
|
|
26155
|
+
* The type of private node pool. This parameter specifies the type of private node 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:
|
|
25875
26156
|
*
|
|
25876
|
-
* * `Open`:
|
|
25877
|
-
* * `Target`:
|
|
25878
|
-
* * `None`:
|
|
26157
|
+
* * `Open`: open private node pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
|
|
26158
|
+
* * `Target`: private node pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
|
|
26159
|
+
* * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
|
|
25879
26160
|
*
|
|
25880
26161
|
* @example
|
|
25881
26162
|
* Open
|
|
@@ -25903,7 +26184,7 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
25903
26184
|
export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
25904
26185
|
/**
|
|
25905
26186
|
* @remarks
|
|
25906
|
-
* The
|
|
26187
|
+
* The price cap of a preemptible instance.
|
|
25907
26188
|
*
|
|
25908
26189
|
* @example
|
|
25909
26190
|
* ecs.c6.large
|
|
@@ -25911,7 +26192,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea
|
|
|
25911
26192
|
instanceType?: string;
|
|
25912
26193
|
/**
|
|
25913
26194
|
* @remarks
|
|
25914
|
-
* The
|
|
26195
|
+
* The price cap of a preemptible instance.
|
|
25915
26196
|
*
|
|
25916
26197
|
* Unit: USD/hour.
|
|
25917
26198
|
*
|
|
@@ -25941,7 +26222,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea
|
|
|
25941
26222
|
export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
25942
26223
|
/**
|
|
25943
26224
|
* @remarks
|
|
25944
|
-
* Specifies whether to enable auto-renewal for
|
|
26225
|
+
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
25945
26226
|
*
|
|
25946
26227
|
* * `true`: enables auto-renewal.
|
|
25947
26228
|
* * `false`: disables auto-renewal.
|
|
@@ -25954,7 +26235,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
25954
26235
|
autoRenew?: boolean;
|
|
25955
26236
|
/**
|
|
25956
26237
|
* @remarks
|
|
25957
|
-
* The auto-renewal duration. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`.
|
|
26238
|
+
* The auto-renewal duration of nodes in the node pool. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`.
|
|
25958
26239
|
*
|
|
25959
26240
|
* If you specify `PeriodUnit=Month`, the valid values are 1, 2, 3, 6, and 12.
|
|
25960
26241
|
*
|
|
@@ -25964,7 +26245,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
25964
26245
|
autoRenewPeriod?: number;
|
|
25965
26246
|
/**
|
|
25966
26247
|
* @remarks
|
|
25967
|
-
* 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
|
|
26248
|
+
* 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 cost or insufficient inventory. This parameter takes effect only when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
|
|
25968
26249
|
*
|
|
25969
26250
|
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
25970
26251
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
@@ -25975,7 +26256,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
25975
26256
|
compensateWithOnDemand?: boolean;
|
|
25976
26257
|
/**
|
|
25977
26258
|
* @remarks
|
|
25978
|
-
* The configurations of the data disks that are mounted to
|
|
26259
|
+
* The configurations of the data disks that are mounted to nodes in the node pool. Valid values: 0 to 10. You can mount at most 10 data disks to nodes in the node pool.
|
|
25979
26260
|
*/
|
|
25980
26261
|
dataDisks?: DataDisk[];
|
|
25981
26262
|
/**
|
|
@@ -25988,7 +26269,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
25988
26269
|
desiredSize?: number;
|
|
25989
26270
|
/**
|
|
25990
26271
|
* @remarks
|
|
25991
|
-
* The
|
|
26272
|
+
* The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported images. By default, the latest image provided by the system is used.
|
|
25992
26273
|
*
|
|
25993
26274
|
* @example
|
|
25994
26275
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -25996,7 +26277,17 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
25996
26277
|
imageId?: string;
|
|
25997
26278
|
/**
|
|
25998
26279
|
* @remarks
|
|
25999
|
-
* The type of OS distribution that you want to use. To specify the node OS, we recommend that you use this parameter. Valid values:
|
|
26280
|
+
* The type of OS distribution that you want to use. To specify the node OS, we recommend that you use this parameter. Valid values:
|
|
26281
|
+
*
|
|
26282
|
+
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
26283
|
+
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
26284
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
26285
|
+
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
26286
|
+
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
26287
|
+
* * `CentOS`: CentOS.
|
|
26288
|
+
* * `Windows`: Windows.
|
|
26289
|
+
* * `WindowsCore`: Windows Core.
|
|
26290
|
+
* * `ContainerOS`: ContainerOS.
|
|
26000
26291
|
*
|
|
26001
26292
|
* @example
|
|
26002
26293
|
* AliyunLinux
|
|
@@ -26004,7 +26295,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26004
26295
|
imageType?: string;
|
|
26005
26296
|
/**
|
|
26006
26297
|
* @remarks
|
|
26007
|
-
* The billing method of
|
|
26298
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
26008
26299
|
*
|
|
26009
26300
|
* * `PrePaid`: subscription.
|
|
26010
26301
|
* * `PostPaid`: pay-as-you-go.
|
|
@@ -26018,7 +26309,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26018
26309
|
instancePatterns?: InstancePatterns[];
|
|
26019
26310
|
/**
|
|
26020
26311
|
* @remarks
|
|
26021
|
-
*
|
|
26312
|
+
* The instance types of nodes in the node pool. When the system adds a node to the node pool, the system selects the most appropriate one from the specified instance types for the node. The instance type that is used to create the node varies based on the actual instance stock.
|
|
26022
26313
|
*/
|
|
26023
26314
|
instanceTypes?: string[];
|
|
26024
26315
|
/**
|
|
@@ -26034,7 +26325,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26034
26325
|
internetChargeType?: string;
|
|
26035
26326
|
/**
|
|
26036
26327
|
* @remarks
|
|
26037
|
-
* The maximum outbound bandwidth of the public IP address
|
|
26328
|
+
* The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100.
|
|
26038
26329
|
*
|
|
26039
26330
|
* @example
|
|
26040
26331
|
* 5
|
|
@@ -26042,7 +26333,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26042
26333
|
internetMaxBandwidthOut?: number;
|
|
26043
26334
|
/**
|
|
26044
26335
|
* @remarks
|
|
26045
|
-
* The name of the key pair. You must
|
|
26336
|
+
* The name of the key pair. You must specify this parameter or the `login_password` parameter. You must specify the `key_pair` parameter if the node pool is a managed node pool.
|
|
26046
26337
|
*
|
|
26047
26338
|
* @example
|
|
26048
26339
|
* pro-nodepool
|
|
@@ -26050,7 +26341,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26050
26341
|
keyPair?: string;
|
|
26051
26342
|
/**
|
|
26052
26343
|
* @remarks
|
|
26053
|
-
* The password for SSH logon. You must
|
|
26344
|
+
* 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.
|
|
26054
26345
|
*
|
|
26055
26346
|
* @example
|
|
26056
26347
|
* Hello1234
|
|
@@ -26060,15 +26351,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26060
26351
|
* @remarks
|
|
26061
26352
|
* The ECS instance scaling policy for the multi-zone scaling group. Valid values:
|
|
26062
26353
|
*
|
|
26063
|
-
* * `PRIORITY`:
|
|
26354
|
+
* * `PRIORITY`: ECS instances are scaled based on the VSwitchIds.N parameter. If an ECS instance cannot be created in the zone in which the vSwitch that has the highest priority resides, Auto Scaling creates the ECS instance in the zone in which the vSwitch that has the next highest priority resides.
|
|
26064
26355
|
*
|
|
26065
|
-
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling
|
|
26356
|
+
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configurations. You can set `CompensateWithOnDemand` to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
|
|
26066
26357
|
*
|
|
26067
26358
|
* **
|
|
26068
26359
|
*
|
|
26069
26360
|
* **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
26070
26361
|
*
|
|
26071
|
-
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to
|
|
26362
|
+
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the `RebalanceInstances` operation of Auto Scaling to evenly distribute the ECS instances among zones. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
26072
26363
|
*
|
|
26073
26364
|
* Default value: `PRIORITY`.
|
|
26074
26365
|
*
|
|
@@ -26078,7 +26369,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26078
26369
|
multiAzPolicy?: string;
|
|
26079
26370
|
/**
|
|
26080
26371
|
* @remarks
|
|
26081
|
-
* 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
|
|
26372
|
+
* The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is smaller than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
|
|
26082
26373
|
*
|
|
26083
26374
|
* @example
|
|
26084
26375
|
* 0
|
|
@@ -26094,7 +26385,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26094
26385
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
26095
26386
|
/**
|
|
26096
26387
|
* @remarks
|
|
26097
|
-
* The subscription duration of
|
|
26388
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`.
|
|
26098
26389
|
*
|
|
26099
26390
|
* If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
26100
26391
|
*
|
|
@@ -26104,7 +26395,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26104
26395
|
period?: number;
|
|
26105
26396
|
/**
|
|
26106
26397
|
* @remarks
|
|
26107
|
-
* The billing cycle of
|
|
26398
|
+
* The billing cycle of nodes in the node pool. This parameter is required if you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
26108
26399
|
*
|
|
26109
26400
|
* The billing cycle is measured only in months.
|
|
26110
26401
|
*
|
|
@@ -26116,7 +26407,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26116
26407
|
periodUnit?: string;
|
|
26117
26408
|
/**
|
|
26118
26409
|
* @remarks
|
|
26119
|
-
* The
|
|
26410
|
+
* The OS platform. Valid values:
|
|
26120
26411
|
*
|
|
26121
26412
|
* * `AliyunLinux`
|
|
26122
26413
|
* * `CentOS`
|
|
@@ -26131,7 +26422,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26131
26422
|
platform?: string;
|
|
26132
26423
|
/**
|
|
26133
26424
|
* @remarks
|
|
26134
|
-
* The
|
|
26425
|
+
* The configurations of the private node pool.
|
|
26135
26426
|
*/
|
|
26136
26427
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
26137
26428
|
/**
|
|
@@ -26143,8 +26434,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26143
26434
|
* @remarks
|
|
26144
26435
|
* The scaling mode of the scaling group. Valid values:
|
|
26145
26436
|
*
|
|
26146
|
-
* * `release`: the standard mode. ECS instances are created and released based on
|
|
26147
|
-
* * `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
|
|
26437
|
+
* * `release`: the standard mode. ECS instances are created and released based on resource usage.
|
|
26438
|
+
* * `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 to local disks.
|
|
26148
26439
|
*
|
|
26149
26440
|
* @example
|
|
26150
26441
|
* release
|
|
@@ -26160,10 +26451,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26160
26451
|
spotInstancePools?: number;
|
|
26161
26452
|
/**
|
|
26162
26453
|
* @remarks
|
|
26163
|
-
* Specifies whether to supplement preemptible instances. If this parameter
|
|
26454
|
+
* Specifies whether to supplement preemptible instances. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group creates a new instance to replace this instance. Valid values:
|
|
26164
26455
|
*
|
|
26165
|
-
* * `true`:
|
|
26166
|
-
* * `false`:
|
|
26456
|
+
* * `true`: supplements preemptible instances.
|
|
26457
|
+
* * `false`: does not supplement preemptible instances.
|
|
26167
26458
|
*
|
|
26168
26459
|
* @example
|
|
26169
26460
|
* false
|
|
@@ -26171,7 +26462,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26171
26462
|
spotInstanceRemedy?: boolean;
|
|
26172
26463
|
/**
|
|
26173
26464
|
* @remarks
|
|
26174
|
-
* The
|
|
26465
|
+
* The instance type of preemptible instances and the price cap for the instance type.
|
|
26175
26466
|
*/
|
|
26176
26467
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
26177
26468
|
/**
|
|
@@ -26179,7 +26470,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26179
26470
|
* The bidding policy of preemptible instances. Valid values:
|
|
26180
26471
|
*
|
|
26181
26472
|
* * `NoSpot`: non-preemptible instance.
|
|
26182
|
-
* * `SpotWithPriceLimit`: specifies the highest bid
|
|
26473
|
+
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
26183
26474
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
26184
26475
|
*
|
|
26185
26476
|
* For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/157759.html).
|
|
@@ -26190,7 +26481,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26190
26481
|
spotStrategy?: string;
|
|
26191
26482
|
/**
|
|
26192
26483
|
* @remarks
|
|
26193
|
-
* Specifies whether to enable
|
|
26484
|
+
* Specifies whether to enable the burst feature for the system disk when the disk type is cloud_auto.
|
|
26194
26485
|
*
|
|
26195
26486
|
* @example
|
|
26196
26487
|
* true
|
|
@@ -26198,12 +26489,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26198
26489
|
systemDiskBurstingEnabled?: boolean;
|
|
26199
26490
|
/**
|
|
26200
26491
|
* @remarks
|
|
26201
|
-
* The
|
|
26492
|
+
* The system disk types. The system creates system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values: cloud (basic disk), cloud_efficiency (ultra disk), cloud_ssd (standard SSD), and cloud_essd: (ESSD).
|
|
26202
26493
|
*/
|
|
26203
26494
|
systemDiskCategories?: string[];
|
|
26204
26495
|
/**
|
|
26205
26496
|
* @remarks
|
|
26206
|
-
* The
|
|
26497
|
+
* The system disk type. Valid values:
|
|
26207
26498
|
*
|
|
26208
26499
|
* * `cloud_efficiency`: ultra disk.
|
|
26209
26500
|
* * `cloud_ssd`: standard SSD.
|
|
@@ -26216,7 +26507,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26216
26507
|
systemDiskCategory?: string;
|
|
26217
26508
|
/**
|
|
26218
26509
|
* @remarks
|
|
26219
|
-
* The algorithm that
|
|
26510
|
+
* The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
|
|
26220
26511
|
*
|
|
26221
26512
|
* @example
|
|
26222
26513
|
* aes-256
|
|
@@ -26240,7 +26531,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26240
26531
|
systemDiskKmsKeyId?: string;
|
|
26241
26532
|
/**
|
|
26242
26533
|
* @remarks
|
|
26243
|
-
* The performance level (PL) of the system disk
|
|
26534
|
+
* The performance level (PL) of the system disk. This parameter takes effect only for an Enterprise SSD (ESSD). You can specify a higher PL if you increase the size of the data disk. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
26244
26535
|
*
|
|
26245
26536
|
* @example
|
|
26246
26537
|
* PL1
|
|
@@ -26248,7 +26539,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26248
26539
|
systemDiskPerformanceLevel?: string;
|
|
26249
26540
|
/**
|
|
26250
26541
|
* @remarks
|
|
26251
|
-
* The
|
|
26542
|
+
* The preset read/write IOPS of the system disk when the disk type is cloud_auto.
|
|
26252
26543
|
*
|
|
26253
26544
|
* @example
|
|
26254
26545
|
* 1000
|
|
@@ -26256,11 +26547,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26256
26547
|
systemDiskProvisionedIops?: number;
|
|
26257
26548
|
/**
|
|
26258
26549
|
* @remarks
|
|
26259
|
-
* The size of the system disk
|
|
26550
|
+
* The size of the system disk. Unit: GiB.
|
|
26260
26551
|
*
|
|
26261
26552
|
* Valid values: 20 to 500.
|
|
26262
26553
|
*
|
|
26263
|
-
* The value of this parameter must be at least 20 and greater than or equal to the size
|
|
26554
|
+
* The value of this parameter must be at least 20 and greater than or equal to the image size.
|
|
26264
26555
|
*
|
|
26265
26556
|
* Default value: the greater value between 40 and the image size.
|
|
26266
26557
|
*
|
|
@@ -26272,14 +26563,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26272
26563
|
* @remarks
|
|
26273
26564
|
* The labels that you want to add only to ECS instances.
|
|
26274
26565
|
*
|
|
26275
|
-
* The
|
|
26566
|
+
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: and cannot contain https:// or http://.
|
|
26276
26567
|
*/
|
|
26277
26568
|
tags?: Tag[];
|
|
26278
26569
|
/**
|
|
26279
26570
|
* @remarks
|
|
26280
|
-
* The IDs
|
|
26571
|
+
* The vSwitch IDs. You can specify 1 to 20 vSwitches.
|
|
26281
26572
|
*
|
|
26282
|
-
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
26573
|
+
* > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
|
|
26283
26574
|
*/
|
|
26284
26575
|
vswitchIds?: string[];
|
|
26285
26576
|
static names(): { [key: string]: string } {
|
|
@@ -26543,9 +26834,9 @@ export class ScaleClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
26543
26834
|
export class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
26544
26835
|
/**
|
|
26545
26836
|
* @remarks
|
|
26546
|
-
* The ID of
|
|
26837
|
+
* The ID of the automatic snapshot policy. The system performs automatic backup for a cloud disk based on the specified automatic snapshot policy.
|
|
26547
26838
|
*
|
|
26548
|
-
* By default, this parameter is empty, which indicates that automatic backup is disabled.
|
|
26839
|
+
* By default, this parameter is left empty, which indicates that automatic backup is disabled.
|
|
26549
26840
|
*
|
|
26550
26841
|
* @example
|
|
26551
26842
|
* sp-bp14yziiuvu3s6jn****
|
|
@@ -26561,10 +26852,10 @@ export class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
26561
26852
|
category?: string;
|
|
26562
26853
|
/**
|
|
26563
26854
|
* @remarks
|
|
26564
|
-
* Specifies whether to encrypt the data
|
|
26855
|
+
* Specifies whether to encrypt the data disk. Valid values:
|
|
26565
26856
|
*
|
|
26566
|
-
* * `true`: encrypts data
|
|
26567
|
-
* * `false`: does not encrypt data
|
|
26857
|
+
* * `true`: encrypts the data disk.
|
|
26858
|
+
* * `false`: does not encrypt the data disk.
|
|
26568
26859
|
*
|
|
26569
26860
|
* Default value: `false`.
|
|
26570
26861
|
*
|
|
@@ -26574,7 +26865,7 @@ export class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
26574
26865
|
encrypted?: string;
|
|
26575
26866
|
/**
|
|
26576
26867
|
* @remarks
|
|
26577
|
-
* The
|
|
26868
|
+
* The data disk size. Valid values: 40 to 32767.
|
|
26578
26869
|
*
|
|
26579
26870
|
* @example
|
|
26580
26871
|
* 120
|
|
@@ -26820,8 +27111,33 @@ export class UpgradeClusterAddonsRequestBody extends $tea.Model {
|
|
|
26820
27111
|
}
|
|
26821
27112
|
|
|
26822
27113
|
export class UpgradeClusterNodepoolRequestRollingPolicy extends $tea.Model {
|
|
27114
|
+
/**
|
|
27115
|
+
* @remarks
|
|
27116
|
+
* The update interval between batches takes effect only when the pause policy is set to NotPause. Unit: minutes. Valid values: 5 to 120.
|
|
27117
|
+
*
|
|
27118
|
+
* @example
|
|
27119
|
+
* 5 minutes
|
|
27120
|
+
*/
|
|
26823
27121
|
batchInterval?: number;
|
|
27122
|
+
/**
|
|
27123
|
+
* @remarks
|
|
27124
|
+
* The maximum number of unavailable nodes.
|
|
27125
|
+
*
|
|
27126
|
+
* @example
|
|
27127
|
+
* 3
|
|
27128
|
+
*/
|
|
26824
27129
|
maxParallelism?: number;
|
|
27130
|
+
/**
|
|
27131
|
+
* @remarks
|
|
27132
|
+
* The policy that is used to pause the update. Valid values:
|
|
27133
|
+
*
|
|
27134
|
+
* * FirstBatch: pauses the update after the first batch is completed.
|
|
27135
|
+
* * EveryBatch: pauses after each batch is completed.
|
|
27136
|
+
* * NotPause: does not pause.
|
|
27137
|
+
*
|
|
27138
|
+
* @example
|
|
27139
|
+
* NotPause
|
|
27140
|
+
*/
|
|
26825
27141
|
pausePolicy?: string;
|
|
26826
27142
|
static names(): { [key: string]: string } {
|
|
26827
27143
|
return {
|
|
@@ -26901,7 +27217,7 @@ export default class Client extends OpenApi {
|
|
|
26901
27217
|
}
|
|
26902
27218
|
|
|
26903
27219
|
/**
|
|
26904
|
-
*
|
|
27220
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
26905
27221
|
*
|
|
26906
27222
|
* @param request - AttachInstancesRequest
|
|
26907
27223
|
* @param headers - map
|
|
@@ -26982,7 +27298,7 @@ export default class Client extends OpenApi {
|
|
|
26982
27298
|
}
|
|
26983
27299
|
|
|
26984
27300
|
/**
|
|
26985
|
-
*
|
|
27301
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
26986
27302
|
*
|
|
26987
27303
|
* @param request - AttachInstancesRequest
|
|
26988
27304
|
* @returns AttachInstancesResponse
|
|
@@ -27289,7 +27605,7 @@ export default class Client extends OpenApi {
|
|
|
27289
27605
|
}
|
|
27290
27606
|
|
|
27291
27607
|
/**
|
|
27292
|
-
*
|
|
27608
|
+
* Checks whether the specified service role is granted required permissions within the current Alibaba Cloud account.
|
|
27293
27609
|
*
|
|
27294
27610
|
* @param request - CheckServiceRoleRequest
|
|
27295
27611
|
* @param headers - map
|
|
@@ -27322,7 +27638,7 @@ export default class Client extends OpenApi {
|
|
|
27322
27638
|
}
|
|
27323
27639
|
|
|
27324
27640
|
/**
|
|
27325
|
-
*
|
|
27641
|
+
* Checks whether the specified service role is granted required permissions within the current Alibaba Cloud account.
|
|
27326
27642
|
*
|
|
27327
27643
|
* @param request - CheckServiceRoleRequest
|
|
27328
27644
|
* @returns CheckServiceRoleResponse
|
|
@@ -27338,7 +27654,7 @@ export default class Client extends OpenApi {
|
|
|
27338
27654
|
*
|
|
27339
27655
|
* @remarks
|
|
27340
27656
|
* >
|
|
27341
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess
|
|
27657
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permission.
|
|
27342
27658
|
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
27343
27659
|
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
27344
27660
|
*
|
|
@@ -27377,7 +27693,7 @@ export default class Client extends OpenApi {
|
|
|
27377
27693
|
*
|
|
27378
27694
|
* @remarks
|
|
27379
27695
|
* >
|
|
27380
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess
|
|
27696
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permission.
|
|
27381
27697
|
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
27382
27698
|
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
27383
27699
|
*
|
|
@@ -27556,13 +27872,13 @@ export default class Client extends OpenApi {
|
|
|
27556
27872
|
* You can call the CreateCluster operation to create a Container Service for Kubernetes (ACK) cluster. ACK clusters include ACK managed clusters, ACK dedicated clusters, ACK Serverless clusters, ACK Edge clusters, ACK clusters that support sandboxed containers, and registered clusters. For more information about how to create different types of ACK clusters, see the following usage notes.
|
|
27557
27873
|
*
|
|
27558
27874
|
* @remarks
|
|
27559
|
-
* This topic describes all parameters for creating
|
|
27560
|
-
* * [
|
|
27561
|
-
* * [
|
|
27562
|
-
* * [
|
|
27563
|
-
* * [
|
|
27564
|
-
* * [
|
|
27565
|
-
* * [
|
|
27875
|
+
* This topic describes all request parameters for creating a Container Service for Kubernetes (ACK) cluster. For more information about how to call the API to create each type of ACK cluster, refer to the following topics:
|
|
27876
|
+
* * [Call the API to create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
27877
|
+
* * [Call the API to create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
27878
|
+
* * [Call the API to create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
27879
|
+
* * [Call the API to create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
27880
|
+
* * [Call the API to create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
27881
|
+
* * [Call the API to create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
27566
27882
|
*
|
|
27567
27883
|
* @param request - CreateClusterRequest
|
|
27568
27884
|
* @param headers - map
|
|
@@ -27584,6 +27900,14 @@ export default class Client extends OpenApi {
|
|
|
27584
27900
|
body["api_audiences"] = request.apiAudiences;
|
|
27585
27901
|
}
|
|
27586
27902
|
|
|
27903
|
+
if (!Util.isUnset(request.autoRenew)) {
|
|
27904
|
+
body["auto_renew"] = request.autoRenew;
|
|
27905
|
+
}
|
|
27906
|
+
|
|
27907
|
+
if (!Util.isUnset(request.autoRenewPeriod)) {
|
|
27908
|
+
body["auto_renew_period"] = request.autoRenewPeriod;
|
|
27909
|
+
}
|
|
27910
|
+
|
|
27587
27911
|
if (!Util.isUnset(request.chargeType)) {
|
|
27588
27912
|
body["charge_type"] = request.chargeType;
|
|
27589
27913
|
}
|
|
@@ -27688,6 +28012,10 @@ export default class Client extends OpenApi {
|
|
|
27688
28012
|
body["kubernetes_version"] = request.kubernetesVersion;
|
|
27689
28013
|
}
|
|
27690
28014
|
|
|
28015
|
+
if (!Util.isUnset(request.loadBalancerId)) {
|
|
28016
|
+
body["load_balancer_id"] = request.loadBalancerId;
|
|
28017
|
+
}
|
|
28018
|
+
|
|
27691
28019
|
if (!Util.isUnset(request.loadBalancerSpec)) {
|
|
27692
28020
|
body["load_balancer_spec"] = request.loadBalancerSpec;
|
|
27693
28021
|
}
|
|
@@ -27936,6 +28264,10 @@ export default class Client extends OpenApi {
|
|
|
27936
28264
|
body["zone_id"] = request.zoneId;
|
|
27937
28265
|
}
|
|
27938
28266
|
|
|
28267
|
+
if (!Util.isUnset(request.zoneIds)) {
|
|
28268
|
+
body["zone_ids"] = request.zoneIds;
|
|
28269
|
+
}
|
|
28270
|
+
|
|
27939
28271
|
let req = new $OpenApi.OpenApiRequest({
|
|
27940
28272
|
headers: headers,
|
|
27941
28273
|
body: OpenApiUtil.parseToMap(body),
|
|
@@ -27958,13 +28290,13 @@ export default class Client extends OpenApi {
|
|
|
27958
28290
|
* You can call the CreateCluster operation to create a Container Service for Kubernetes (ACK) cluster. ACK clusters include ACK managed clusters, ACK dedicated clusters, ACK Serverless clusters, ACK Edge clusters, ACK clusters that support sandboxed containers, and registered clusters. For more information about how to create different types of ACK clusters, see the following usage notes.
|
|
27959
28291
|
*
|
|
27960
28292
|
* @remarks
|
|
27961
|
-
* This topic describes all parameters for creating
|
|
27962
|
-
* * [
|
|
27963
|
-
* * [
|
|
27964
|
-
* * [
|
|
27965
|
-
* * [
|
|
27966
|
-
* * [
|
|
27967
|
-
* * [
|
|
28293
|
+
* This topic describes all request parameters for creating a Container Service for Kubernetes (ACK) cluster. For more information about how to call the API to create each type of ACK cluster, refer to the following topics:
|
|
28294
|
+
* * [Call the API to create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
28295
|
+
* * [Call the API to create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
28296
|
+
* * [Call the API to create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
28297
|
+
* * [Call the API to create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
28298
|
+
* * [Call the API to create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
28299
|
+
* * [Call the API to create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
27968
28300
|
*
|
|
27969
28301
|
* @param request - CreateClusterRequest
|
|
27970
28302
|
* @returns CreateClusterResponse
|
|
@@ -28281,7 +28613,7 @@ export default class Client extends OpenApi {
|
|
|
28281
28613
|
}
|
|
28282
28614
|
|
|
28283
28615
|
/**
|
|
28284
|
-
*
|
|
28616
|
+
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
28285
28617
|
*
|
|
28286
28618
|
* @param request - CreateTriggerRequest
|
|
28287
28619
|
* @param headers - map
|
|
@@ -28326,7 +28658,7 @@ export default class Client extends OpenApi {
|
|
|
28326
28658
|
}
|
|
28327
28659
|
|
|
28328
28660
|
/**
|
|
28329
|
-
*
|
|
28661
|
+
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
28330
28662
|
*
|
|
28331
28663
|
* @param request - CreateTriggerRequest
|
|
28332
28664
|
* @returns CreateTriggerResponse
|
|
@@ -28555,8 +28887,10 @@ export default class Client extends OpenApi {
|
|
|
28555
28887
|
* Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
|
|
28556
28888
|
*
|
|
28557
28889
|
* @remarks
|
|
28558
|
-
*
|
|
28559
|
-
* *
|
|
28890
|
+
* When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
28891
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
28892
|
+
* * When the system removes a node, it sets the status of the node to Unschedulable.
|
|
28893
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
28560
28894
|
*
|
|
28561
28895
|
* @param request - DeleteClusterNodesRequest
|
|
28562
28896
|
* @param headers - map
|
|
@@ -28600,8 +28934,10 @@ export default class Client extends OpenApi {
|
|
|
28600
28934
|
* Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
|
|
28601
28935
|
*
|
|
28602
28936
|
* @remarks
|
|
28603
|
-
*
|
|
28604
|
-
* *
|
|
28937
|
+
* When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
28938
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
28939
|
+
* * When the system removes a node, it sets the status of the node to Unschedulable.
|
|
28940
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
28605
28941
|
*
|
|
28606
28942
|
* @param request - DeleteClusterNodesRequest
|
|
28607
28943
|
* @returns DeleteClusterNodesResponse
|
|
@@ -28773,7 +29109,7 @@ export default class Client extends OpenApi {
|
|
|
28773
29109
|
}
|
|
28774
29110
|
|
|
28775
29111
|
/**
|
|
28776
|
-
*
|
|
29112
|
+
* Deletes an application trigger.
|
|
28777
29113
|
*
|
|
28778
29114
|
* @param headers - map
|
|
28779
29115
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -28798,7 +29134,7 @@ export default class Client extends OpenApi {
|
|
|
28798
29134
|
}
|
|
28799
29135
|
|
|
28800
29136
|
/**
|
|
28801
|
-
*
|
|
29137
|
+
* Deletes an application trigger.
|
|
28802
29138
|
* @returns DeleteTriggerResponse
|
|
28803
29139
|
*/
|
|
28804
29140
|
async deleteTrigger(clusterId: string, Id: string): Promise<DeleteTriggerResponse> {
|
|
@@ -28902,7 +29238,7 @@ export default class Client extends OpenApi {
|
|
|
28902
29238
|
}
|
|
28903
29239
|
|
|
28904
29240
|
/**
|
|
28905
|
-
*
|
|
29241
|
+
* Queries the information about a component based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, cluster version, and component name. The information includes whether the component is managed, the component type, supported custom parameter schema, compatible operating system architecture, and earliest supported cluster version.
|
|
28906
29242
|
*
|
|
28907
29243
|
* @param request - DescribeAddonRequest
|
|
28908
29244
|
* @param headers - map
|
|
@@ -28959,7 +29295,7 @@ export default class Client extends OpenApi {
|
|
|
28959
29295
|
}
|
|
28960
29296
|
|
|
28961
29297
|
/**
|
|
28962
|
-
*
|
|
29298
|
+
* Queries the information about a component based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, cluster version, and component name. The information includes whether the component is managed, the component type, supported custom parameter schema, compatible operating system architecture, and earliest supported cluster version.
|
|
28963
29299
|
*
|
|
28964
29300
|
* @param request - DescribeAddonRequest
|
|
28965
29301
|
* @returns DescribeAddonResponse
|
|
@@ -29269,7 +29605,7 @@ export default class Client extends OpenApi {
|
|
|
29269
29605
|
}
|
|
29270
29606
|
|
|
29271
29607
|
/**
|
|
29272
|
-
* Queries the
|
|
29608
|
+
* Queries the scripts used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. ACK allows you to manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add worker nodes that you remove from the cluster to a node pool.
|
|
29273
29609
|
*
|
|
29274
29610
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
29275
29611
|
* @param headers - map
|
|
@@ -29322,7 +29658,7 @@ export default class Client extends OpenApi {
|
|
|
29322
29658
|
}
|
|
29323
29659
|
|
|
29324
29660
|
/**
|
|
29325
|
-
* Queries the
|
|
29661
|
+
* Queries the scripts used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. ACK allows you to manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add worker nodes that you remove from the cluster to a node pool.
|
|
29326
29662
|
*
|
|
29327
29663
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
29328
29664
|
* @returns DescribeClusterAttachScriptsResponse
|
|
@@ -29695,8 +30031,7 @@ export default class Client extends OpenApi {
|
|
|
29695
30031
|
* Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
29696
30032
|
*
|
|
29697
30033
|
* @remarks
|
|
29698
|
-
*
|
|
29699
|
-
* ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
30034
|
+
* > The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
29700
30035
|
*
|
|
29701
30036
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
29702
30037
|
* @param headers - map
|
|
@@ -29736,8 +30071,7 @@ export default class Client extends OpenApi {
|
|
|
29736
30071
|
* Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
29737
30072
|
*
|
|
29738
30073
|
* @remarks
|
|
29739
|
-
*
|
|
29740
|
-
* ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
30074
|
+
* > The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
29741
30075
|
*
|
|
29742
30076
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
29743
30077
|
* @returns DescribeClusterUserKubeconfigResponse
|
|
@@ -29835,7 +30169,7 @@ export default class Client extends OpenApi {
|
|
|
29835
30169
|
}
|
|
29836
30170
|
|
|
29837
30171
|
/**
|
|
29838
|
-
*
|
|
30172
|
+
* Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
29839
30173
|
*
|
|
29840
30174
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
29841
30175
|
*
|
|
@@ -29879,7 +30213,7 @@ export default class Client extends OpenApi {
|
|
|
29879
30213
|
}
|
|
29880
30214
|
|
|
29881
30215
|
/**
|
|
29882
|
-
*
|
|
30216
|
+
* Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
29883
30217
|
*
|
|
29884
30218
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
29885
30219
|
*
|
|
@@ -29894,7 +30228,7 @@ export default class Client extends OpenApi {
|
|
|
29894
30228
|
}
|
|
29895
30229
|
|
|
29896
30230
|
/**
|
|
29897
|
-
*
|
|
30231
|
+
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
29898
30232
|
*
|
|
29899
30233
|
* @param request - DescribeClustersV1Request
|
|
29900
30234
|
* @param headers - map
|
|
@@ -29955,7 +30289,7 @@ export default class Client extends OpenApi {
|
|
|
29955
30289
|
}
|
|
29956
30290
|
|
|
29957
30291
|
/**
|
|
29958
|
-
*
|
|
30292
|
+
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
29959
30293
|
*
|
|
29960
30294
|
* @param request - DescribeClustersV1Request
|
|
29961
30295
|
* @returns DescribeClustersV1Response
|
|
@@ -30194,7 +30528,7 @@ export default class Client extends OpenApi {
|
|
|
30194
30528
|
}
|
|
30195
30529
|
|
|
30196
30530
|
/**
|
|
30197
|
-
*
|
|
30531
|
+
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
30198
30532
|
*
|
|
30199
30533
|
* @remarks
|
|
30200
30534
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -30234,7 +30568,7 @@ export default class Client extends OpenApi {
|
|
|
30234
30568
|
}
|
|
30235
30569
|
|
|
30236
30570
|
/**
|
|
30237
|
-
*
|
|
30571
|
+
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
30238
30572
|
*
|
|
30239
30573
|
* @remarks
|
|
30240
30574
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -30398,7 +30732,7 @@ export default class Client extends OpenApi {
|
|
|
30398
30732
|
}
|
|
30399
30733
|
|
|
30400
30734
|
/**
|
|
30401
|
-
*
|
|
30735
|
+
* Queries the detailed information about a policy. The information includes the content, action, and severity level of the policy. Container Service for Kubernetes (ACK) provides the following types of predefined security policies: Compliance, Infra, K8s-general, and pod security policy (PSP). These policies ensure that containers are running in the production environment in a secure manner.
|
|
30402
30736
|
*
|
|
30403
30737
|
* @param headers - map
|
|
30404
30738
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30423,7 +30757,7 @@ export default class Client extends OpenApi {
|
|
|
30423
30757
|
}
|
|
30424
30758
|
|
|
30425
30759
|
/**
|
|
30426
|
-
*
|
|
30760
|
+
* Queries the detailed information about a policy. The information includes the content, action, and severity level of the policy. Container Service for Kubernetes (ACK) provides the following types of predefined security policies: Compliance, Infra, K8s-general, and pod security policy (PSP). These policies ensure that containers are running in the production environment in a secure manner.
|
|
30427
30761
|
* @returns DescribePolicyDetailsResponse
|
|
30428
30762
|
*/
|
|
30429
30763
|
async describePolicyDetails(policyName: string): Promise<DescribePolicyDetailsResponse> {
|
|
@@ -30433,7 +30767,7 @@ export default class Client extends OpenApi {
|
|
|
30433
30767
|
}
|
|
30434
30768
|
|
|
30435
30769
|
/**
|
|
30436
|
-
*
|
|
30770
|
+
* 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. You can call the DescribePolicyGovernanceInCluster operation to query the details of policies for an ACK cluster. For example, you can query the number of policies that are enabled per severity level, the audit logs of policies, and the blocking and alerting information.
|
|
30437
30771
|
*
|
|
30438
30772
|
* @param headers - map
|
|
30439
30773
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30458,7 +30792,7 @@ export default class Client extends OpenApi {
|
|
|
30458
30792
|
}
|
|
30459
30793
|
|
|
30460
30794
|
/**
|
|
30461
|
-
*
|
|
30795
|
+
* 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. You can call the DescribePolicyGovernanceInCluster operation to query the details of policies for an ACK cluster. For example, you can query the number of policies that are enabled per severity level, the audit logs of policies, and the blocking and alerting information.
|
|
30462
30796
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
30463
30797
|
*/
|
|
30464
30798
|
async describePolicyGovernanceInCluster(clusterId: string): Promise<DescribePolicyGovernanceInClusterResponse> {
|
|
@@ -30791,7 +31125,7 @@ export default class Client extends OpenApi {
|
|
|
30791
31125
|
}
|
|
30792
31126
|
|
|
30793
31127
|
/**
|
|
30794
|
-
*
|
|
31128
|
+
* Queries triggers that match specific conditions.
|
|
30795
31129
|
*
|
|
30796
31130
|
* @param request - DescribeTriggerRequest
|
|
30797
31131
|
* @param headers - map
|
|
@@ -30836,7 +31170,7 @@ export default class Client extends OpenApi {
|
|
|
30836
31170
|
}
|
|
30837
31171
|
|
|
30838
31172
|
/**
|
|
30839
|
-
*
|
|
31173
|
+
* Queries triggers that match specific conditions.
|
|
30840
31174
|
*
|
|
30841
31175
|
* @param request - DescribeTriggerRequest
|
|
30842
31176
|
* @returns DescribeTriggerResponse
|
|
@@ -30848,7 +31182,7 @@ export default class Client extends OpenApi {
|
|
|
30848
31182
|
}
|
|
30849
31183
|
|
|
30850
31184
|
/**
|
|
30851
|
-
*
|
|
31185
|
+
* You can use Kubernetes namespaces to limit users from accessing resources in a Container Service for Kubernetes (ACK) cluster. Users that are granted Role-Based Access Control (RBAC) permissions only on one namespace cannot access resources in other namespaces. Queries the RBAC permissions that are granted to the current Resource Access Management (RAM) user or RAM role on an ACK cluster.
|
|
30852
31186
|
*
|
|
30853
31187
|
* @param headers - map
|
|
30854
31188
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30873,7 +31207,7 @@ export default class Client extends OpenApi {
|
|
|
30873
31207
|
}
|
|
30874
31208
|
|
|
30875
31209
|
/**
|
|
30876
|
-
*
|
|
31210
|
+
* You can use Kubernetes namespaces to limit users from accessing resources in a Container Service for Kubernetes (ACK) cluster. Users that are granted Role-Based Access Control (RBAC) permissions only on one namespace cannot access resources in other namespaces. Queries the RBAC permissions that are granted to the current Resource Access Management (RAM) user or RAM role on an ACK cluster.
|
|
30877
31211
|
* @returns DescribeUserClusterNamespacesResponse
|
|
30878
31212
|
*/
|
|
30879
31213
|
async describeUserClusterNamespaces(ClusterId: string): Promise<DescribeUserClusterNamespacesResponse> {
|
|
@@ -30885,6 +31219,10 @@ export default class Client extends OpenApi {
|
|
|
30885
31219
|
/**
|
|
30886
31220
|
* In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
|
|
30887
31221
|
*
|
|
31222
|
+
* @remarks
|
|
31223
|
+
* *Precautions**:
|
|
31224
|
+
* * If you call this operation as a Resource Access Management (RAM) user or by assuming a RAM role, only the permissions granted on the clusters on which the current account has the role-based access control (RBAC) administrator permissions are returned. If you want to query the permissions on all clusters, you must use an account that has the RBAC administrator permissions on all clusters.
|
|
31225
|
+
*
|
|
30888
31226
|
* @param headers - map
|
|
30889
31227
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
30890
31228
|
* @returns DescribeUserPermissionResponse
|
|
@@ -30909,6 +31247,10 @@ export default class Client extends OpenApi {
|
|
|
30909
31247
|
|
|
30910
31248
|
/**
|
|
30911
31249
|
* In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
|
|
31250
|
+
*
|
|
31251
|
+
* @remarks
|
|
31252
|
+
* *Precautions**:
|
|
31253
|
+
* * If you call this operation as a Resource Access Management (RAM) user or by assuming a RAM role, only the permissions granted on the clusters on which the current account has the role-based access control (RBAC) administrator permissions are returned. If you want to query the permissions on all clusters, you must use an account that has the RBAC administrator permissions on all clusters.
|
|
30912
31254
|
* @returns DescribeUserPermissionResponse
|
|
30913
31255
|
*/
|
|
30914
31256
|
async describeUserPermission(uid: string): Promise<DescribeUserPermissionResponse> {
|
|
@@ -31478,7 +31820,7 @@ export default class Client extends OpenApi {
|
|
|
31478
31820
|
}
|
|
31479
31821
|
|
|
31480
31822
|
/**
|
|
31481
|
-
*
|
|
31823
|
+
* Queries the available components based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, and cluster version and queries the detailed information about a component. The information includes whether the component is managed, the supported custom parameter schema, and compatible operating system architecture.
|
|
31482
31824
|
*
|
|
31483
31825
|
* @param request - ListAddonsRequest
|
|
31484
31826
|
* @param headers - map
|
|
@@ -31531,7 +31873,7 @@ export default class Client extends OpenApi {
|
|
|
31531
31873
|
}
|
|
31532
31874
|
|
|
31533
31875
|
/**
|
|
31534
|
-
*
|
|
31876
|
+
* Queries the available components based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, and cluster version and queries the detailed information about a component. The information includes whether the component is managed, the supported custom parameter schema, and compatible operating system architecture.
|
|
31535
31877
|
*
|
|
31536
31878
|
* @param request - ListAddonsRequest
|
|
31537
31879
|
* @returns ListAddonsResponse
|
|
@@ -31543,7 +31885,7 @@ export default class Client extends OpenApi {
|
|
|
31543
31885
|
}
|
|
31544
31886
|
|
|
31545
31887
|
/**
|
|
31546
|
-
*
|
|
31888
|
+
* Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
|
|
31547
31889
|
*
|
|
31548
31890
|
* @param headers - map
|
|
31549
31891
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -31568,7 +31910,7 @@ export default class Client extends OpenApi {
|
|
|
31568
31910
|
}
|
|
31569
31911
|
|
|
31570
31912
|
/**
|
|
31571
|
-
*
|
|
31913
|
+
* Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
|
|
31572
31914
|
* @returns ListClusterAddonInstancesResponse
|
|
31573
31915
|
*/
|
|
31574
31916
|
async listClusterAddonInstances(clusterId: string): Promise<ListClusterAddonInstancesResponse> {
|
|
@@ -31630,9 +31972,8 @@ export default class Client extends OpenApi {
|
|
|
31630
31972
|
* You can call the ListClusterKubeconfigStates operation to query the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
31631
31973
|
*
|
|
31632
31974
|
* @remarks
|
|
31633
|
-
* >
|
|
31634
|
-
*
|
|
31635
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
31975
|
+
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
31976
|
+
* > - To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
31636
31977
|
*
|
|
31637
31978
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
31638
31979
|
* @param headers - map
|
|
@@ -31672,9 +32013,8 @@ export default class Client extends OpenApi {
|
|
|
31672
32013
|
* You can call the ListClusterKubeconfigStates operation to query the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
31673
32014
|
*
|
|
31674
32015
|
* @remarks
|
|
31675
|
-
* >
|
|
31676
|
-
*
|
|
31677
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
32016
|
+
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
32017
|
+
* > - To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
31678
32018
|
*
|
|
31679
32019
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
31680
32020
|
* @returns ListClusterKubeconfigStatesResponse
|
|
@@ -31686,7 +32026,7 @@ export default class Client extends OpenApi {
|
|
|
31686
32026
|
}
|
|
31687
32027
|
|
|
31688
32028
|
/**
|
|
31689
|
-
*
|
|
32029
|
+
* Queries the auto O\\&M schedules of a cluster.
|
|
31690
32030
|
*
|
|
31691
32031
|
* @param request - ListOperationPlansRequest
|
|
31692
32032
|
* @param headers - map
|
|
@@ -31723,7 +32063,7 @@ export default class Client extends OpenApi {
|
|
|
31723
32063
|
}
|
|
31724
32064
|
|
|
31725
32065
|
/**
|
|
31726
|
-
*
|
|
32066
|
+
* Queries the auto O\\&M schedules of a cluster.
|
|
31727
32067
|
*
|
|
31728
32068
|
* @param request - ListOperationPlansRequest
|
|
31729
32069
|
* @returns ListOperationPlansResponse
|
|
@@ -32011,8 +32351,8 @@ export default class Client extends OpenApi {
|
|
|
32011
32351
|
*
|
|
32012
32352
|
* @remarks
|
|
32013
32353
|
* You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
|
|
32014
|
-
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://
|
|
32015
|
-
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://
|
|
32354
|
+
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://help.aliyun.com/document_detail/2667944.html).
|
|
32355
|
+
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://help.aliyun.com/document_detail/199588.html).
|
|
32016
32356
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
32017
32357
|
*
|
|
32018
32358
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -32050,8 +32390,8 @@ export default class Client extends OpenApi {
|
|
|
32050
32390
|
*
|
|
32051
32391
|
* @remarks
|
|
32052
32392
|
* You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
|
|
32053
|
-
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://
|
|
32054
|
-
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://
|
|
32393
|
+
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://help.aliyun.com/document_detail/2667944.html).
|
|
32394
|
+
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://help.aliyun.com/document_detail/199588.html).
|
|
32055
32395
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
32056
32396
|
*
|
|
32057
32397
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -32182,7 +32522,7 @@ export default class Client extends OpenApi {
|
|
|
32182
32522
|
}
|
|
32183
32523
|
|
|
32184
32524
|
/**
|
|
32185
|
-
*
|
|
32525
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
32186
32526
|
*
|
|
32187
32527
|
* @param request - ModifyClusterTagsRequest
|
|
32188
32528
|
* @param headers - map
|
|
@@ -32210,7 +32550,7 @@ export default class Client extends OpenApi {
|
|
|
32210
32550
|
}
|
|
32211
32551
|
|
|
32212
32552
|
/**
|
|
32213
|
-
*
|
|
32553
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
32214
32554
|
*
|
|
32215
32555
|
* @param request - ModifyClusterTagsRequest
|
|
32216
32556
|
* @returns ModifyClusterTagsResponse
|
|
@@ -32338,7 +32678,7 @@ export default class Client extends OpenApi {
|
|
|
32338
32678
|
}
|
|
32339
32679
|
|
|
32340
32680
|
/**
|
|
32341
|
-
*
|
|
32681
|
+
* When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
|
|
32342
32682
|
*
|
|
32343
32683
|
* @remarks
|
|
32344
32684
|
* You can activate ACK by using Alibaba Cloud accounts.
|
|
@@ -32375,7 +32715,7 @@ export default class Client extends OpenApi {
|
|
|
32375
32715
|
}
|
|
32376
32716
|
|
|
32377
32717
|
/**
|
|
32378
|
-
*
|
|
32718
|
+
* When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
|
|
32379
32719
|
*
|
|
32380
32720
|
* @remarks
|
|
32381
32721
|
* You can activate ACK by using Alibaba Cloud accounts.
|
|
@@ -32703,7 +33043,7 @@ export default class Client extends OpenApi {
|
|
|
32703
33043
|
}
|
|
32704
33044
|
|
|
32705
33045
|
/**
|
|
32706
|
-
*
|
|
33046
|
+
* Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
|
|
32707
33047
|
*
|
|
32708
33048
|
* @param request - RepairClusterNodePoolRequest
|
|
32709
33049
|
* @param headers - map
|
|
@@ -32744,7 +33084,7 @@ export default class Client extends OpenApi {
|
|
|
32744
33084
|
}
|
|
32745
33085
|
|
|
32746
33086
|
/**
|
|
32747
|
-
*
|
|
33087
|
+
* Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
|
|
32748
33088
|
*
|
|
32749
33089
|
* @param request - RepairClusterNodePoolRequest
|
|
32750
33090
|
* @returns RepairClusterNodePoolResponse
|
|
@@ -32873,7 +33213,7 @@ export default class Client extends OpenApi {
|
|
|
32873
33213
|
}
|
|
32874
33214
|
|
|
32875
33215
|
/**
|
|
32876
|
-
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file that the current
|
|
33216
|
+
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file of a cluster that belongs to the current Alibaba Cloud account or RAM user. After the kubeconfig file is revoked, the cluster generates a new kubeconfig file, and the original kubeconfig file becomes invalid.
|
|
32877
33217
|
*
|
|
32878
33218
|
* @param headers - map
|
|
32879
33219
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -32898,7 +33238,7 @@ export default class Client extends OpenApi {
|
|
|
32898
33238
|
}
|
|
32899
33239
|
|
|
32900
33240
|
/**
|
|
32901
|
-
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file that the current
|
|
33241
|
+
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file of a cluster that belongs to the current Alibaba Cloud account or RAM user. After the kubeconfig file is revoked, the cluster generates a new kubeconfig file, and the original kubeconfig file becomes invalid.
|
|
32902
33242
|
* @returns RevokeK8sClusterKubeConfigResponse
|
|
32903
33243
|
*/
|
|
32904
33244
|
async revokeK8sClusterKubeConfig(ClusterId: string): Promise<RevokeK8sClusterKubeConfigResponse> {
|
|
@@ -32908,7 +33248,7 @@ export default class Client extends OpenApi {
|
|
|
32908
33248
|
}
|
|
32909
33249
|
|
|
32910
33250
|
/**
|
|
32911
|
-
*
|
|
33251
|
+
* Container Intelligence Service (CIS) provides a variety of cluster check capabilities to allow you to perform cluster update check, cluster migration check, component installation check, component update check, and node pool check. A precheck is automatically triggered before an update, migration, or installation is performed. You can perform changes only if the cluster passes the precheck. You can also manually call the RunClusterCheck operation to initiate cluster checks. We recommend that you periodically check and maintain your cluster to mitigate potential risks.
|
|
32912
33252
|
*
|
|
32913
33253
|
* @param request - RunClusterCheckRequest
|
|
32914
33254
|
* @param headers - map
|
|
@@ -32949,7 +33289,7 @@ export default class Client extends OpenApi {
|
|
|
32949
33289
|
}
|
|
32950
33290
|
|
|
32951
33291
|
/**
|
|
32952
|
-
*
|
|
33292
|
+
* Container Intelligence Service (CIS) provides a variety of cluster check capabilities to allow you to perform cluster update check, cluster migration check, component installation check, component update check, and node pool check. A precheck is automatically triggered before an update, migration, or installation is performed. You can perform changes only if the cluster passes the precheck. You can also manually call the RunClusterCheck operation to initiate cluster checks. We recommend that you periodically check and maintain your cluster to mitigate potential risks.
|
|
32953
33293
|
*
|
|
32954
33294
|
* @param request - RunClusterCheckRequest
|
|
32955
33295
|
* @returns RunClusterCheckResponse
|
|
@@ -33549,7 +33889,7 @@ export default class Client extends OpenApi {
|
|
|
33549
33889
|
}
|
|
33550
33890
|
|
|
33551
33891
|
/**
|
|
33552
|
-
*
|
|
33892
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
|
|
33553
33893
|
*
|
|
33554
33894
|
* @param request - TagResourcesRequest
|
|
33555
33895
|
* @param headers - map
|
|
@@ -33594,7 +33934,7 @@ export default class Client extends OpenApi {
|
|
|
33594
33934
|
}
|
|
33595
33935
|
|
|
33596
33936
|
/**
|
|
33597
|
-
*
|
|
33937
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
|
|
33598
33938
|
*
|
|
33599
33939
|
* @param request - TagResourcesRequest
|
|
33600
33940
|
* @returns TagResourcesResponse
|
|
@@ -33646,7 +33986,7 @@ export default class Client extends OpenApi {
|
|
|
33646
33986
|
}
|
|
33647
33987
|
|
|
33648
33988
|
/**
|
|
33649
|
-
*
|
|
33989
|
+
* If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
|
|
33650
33990
|
*
|
|
33651
33991
|
* @param tmpReq - UntagResourcesRequest
|
|
33652
33992
|
* @param headers - map
|
|
@@ -33705,7 +34045,7 @@ export default class Client extends OpenApi {
|
|
|
33705
34045
|
}
|
|
33706
34046
|
|
|
33707
34047
|
/**
|
|
33708
|
-
*
|
|
34048
|
+
* If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
|
|
33709
34049
|
*
|
|
33710
34050
|
* @param request - UntagResourcesRequest
|
|
33711
34051
|
* @returns UntagResourcesResponse
|
|
@@ -33772,7 +34112,7 @@ export default class Client extends OpenApi {
|
|
|
33772
34112
|
}
|
|
33773
34113
|
|
|
33774
34114
|
/**
|
|
33775
|
-
*
|
|
34115
|
+
* null
|
|
33776
34116
|
*
|
|
33777
34117
|
* @param request - UpdateContactGroupForAlertRequest
|
|
33778
34118
|
* @param headers - map
|
|
@@ -33817,7 +34157,7 @@ export default class Client extends OpenApi {
|
|
|
33817
34157
|
}
|
|
33818
34158
|
|
|
33819
34159
|
/**
|
|
33820
|
-
*
|
|
34160
|
+
* null
|
|
33821
34161
|
*
|
|
33822
34162
|
* @param request - UpdateContactGroupForAlertRequest
|
|
33823
34163
|
* @returns UpdateContactGroupForAlertResponse
|
|
@@ -33829,7 +34169,7 @@ export default class Client extends OpenApi {
|
|
|
33829
34169
|
}
|
|
33830
34170
|
|
|
33831
34171
|
/**
|
|
33832
|
-
*
|
|
34172
|
+
* Modifies the log configurations of control plane components. The configurations include the log retention period and components whose logs that you want to collect. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube-apiserver, kube-scheduler, Kubernetes controller manager, and cloud controller manager (CCM).
|
|
33833
34173
|
*
|
|
33834
34174
|
* @param request - UpdateControlPlaneLogRequest
|
|
33835
34175
|
* @param headers - map
|
|
@@ -33874,7 +34214,7 @@ export default class Client extends OpenApi {
|
|
|
33874
34214
|
}
|
|
33875
34215
|
|
|
33876
34216
|
/**
|
|
33877
|
-
*
|
|
34217
|
+
* Modifies the log configurations of control plane components. The configurations include the log retention period and components whose logs that you want to collect. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube-apiserver, kube-scheduler, Kubernetes controller manager, and cloud controller manager (CCM).
|
|
33878
34218
|
*
|
|
33879
34219
|
* @param request - UpdateControlPlaneLogRequest
|
|
33880
34220
|
* @returns UpdateControlPlaneLogResponse
|
|
@@ -33889,8 +34229,8 @@ export default class Client extends OpenApi {
|
|
|
33889
34229
|
* Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
33890
34230
|
*
|
|
33891
34231
|
* @remarks
|
|
33892
|
-
*
|
|
33893
|
-
*
|
|
34232
|
+
* You can call this operation only with an Alibaba Cloud account.
|
|
34233
|
+
* * If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
33894
34234
|
*
|
|
33895
34235
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
33896
34236
|
* @param headers - map
|
|
@@ -33930,8 +34270,8 @@ export default class Client extends OpenApi {
|
|
|
33930
34270
|
* Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
33931
34271
|
*
|
|
33932
34272
|
* @remarks
|
|
33933
|
-
*
|
|
33934
|
-
*
|
|
34273
|
+
* You can call this operation only with an Alibaba Cloud account.
|
|
34274
|
+
* * If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
33935
34275
|
*
|
|
33936
34276
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
33937
34277
|
* @returns UpdateK8sClusterUserConfigExpireResponse
|