@alicloud/cs20151215 4.8.4 → 4.8.6
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 +501 -133
- package/dist/client.js +90 -40
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +531 -135
package/dist/client.d.ts
CHANGED
|
@@ -530,9 +530,9 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
530
530
|
* The CPU management policy of the node. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
531
531
|
*
|
|
532
532
|
* * `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
533
|
-
* * `none`:
|
|
533
|
+
* * `none`: uses default CPU affinity.
|
|
534
534
|
*
|
|
535
|
-
* Default value: `none
|
|
535
|
+
* Default value: `none`
|
|
536
536
|
*
|
|
537
537
|
* > This parameter is not supported if you specify `nodepool_id`.
|
|
538
538
|
*
|
|
@@ -542,7 +542,7 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
542
542
|
cpuPolicy?: string;
|
|
543
543
|
/**
|
|
544
544
|
* @remarks
|
|
545
|
-
* Specifies whether to store container data and images on data disks. Valid
|
|
545
|
+
* Specifies whether to store container data and images on data disks. Valid value:
|
|
546
546
|
*
|
|
547
547
|
* * `true`: stores container data and images on data disks.
|
|
548
548
|
* * `false`: does not store container data or images on data disks.
|
|
@@ -583,7 +583,7 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
583
583
|
instances?: string[];
|
|
584
584
|
/**
|
|
585
585
|
* @remarks
|
|
586
|
-
* Specifies whether the node that you want to add is an Edge Node Service (ENS) node. Valid
|
|
586
|
+
* Specifies whether the node that you want to add is an Edge Node Service (ENS) node. Valid value:
|
|
587
587
|
*
|
|
588
588
|
* * `true`: the node that you want to add is an ENS node.
|
|
589
589
|
* * `false`: the node that you want to add is not an ENS node.
|
|
@@ -598,7 +598,7 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
598
598
|
isEdgeWorker?: boolean;
|
|
599
599
|
/**
|
|
600
600
|
* @remarks
|
|
601
|
-
* Specifies whether to retain the instance name. Valid
|
|
601
|
+
* Specifies whether to retain the instance name. Valid value:
|
|
602
602
|
*
|
|
603
603
|
* * `true`: retains the instance name.
|
|
604
604
|
* * `false`: does not retain the instance name.
|
|
@@ -661,7 +661,7 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
661
661
|
tags?: Tag[];
|
|
662
662
|
/**
|
|
663
663
|
* @remarks
|
|
664
|
-
* The user-defined data on the node. For more information, see [
|
|
664
|
+
* The user-defined data on the node. For more information, see [Use instance user data to automatically run commands or scripts on instance startup](https://help.aliyun.com/document_detail/49121.html).
|
|
665
665
|
*
|
|
666
666
|
* > This parameter is not supported if you specify `nodepool_id`.
|
|
667
667
|
*
|
|
@@ -1205,7 +1205,7 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1205
1205
|
minReplicaCount?: number;
|
|
1206
1206
|
/**
|
|
1207
1207
|
* @remarks
|
|
1208
|
-
* 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
|
|
1208
|
+
* 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:
|
|
1209
1209
|
*
|
|
1210
1210
|
* * `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.
|
|
1211
1211
|
* * `false`: retains the corresponding Kubernetes node objects after nodes are removed in swift mode.
|
|
@@ -1301,16 +1301,25 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1301
1301
|
}
|
|
1302
1302
|
export declare class CreateAutoscalingConfigResponseBody extends $tea.Model {
|
|
1303
1303
|
/**
|
|
1304
|
+
* @remarks
|
|
1305
|
+
* The cluster ID.
|
|
1306
|
+
*
|
|
1304
1307
|
* @example
|
|
1305
1308
|
* cc212d04dfe184547bffaa596********
|
|
1306
1309
|
*/
|
|
1307
1310
|
clusterId?: string;
|
|
1308
1311
|
/**
|
|
1312
|
+
* @remarks
|
|
1313
|
+
* The request ID.
|
|
1314
|
+
*
|
|
1309
1315
|
* @example
|
|
1310
1316
|
* AF8BE105-C32B-1269-9774-5510********
|
|
1311
1317
|
*/
|
|
1312
1318
|
requestId?: string;
|
|
1313
1319
|
/**
|
|
1320
|
+
* @remarks
|
|
1321
|
+
* The task ID.
|
|
1322
|
+
*
|
|
1314
1323
|
* @example
|
|
1315
1324
|
* T-5fd211e924e1d007********
|
|
1316
1325
|
*/
|
|
@@ -1392,7 +1401,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1392
1401
|
* Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
1393
1402
|
*
|
|
1394
1403
|
* * `true`: enables auto-renewal.
|
|
1395
|
-
* * `false`: disables auto-renewal
|
|
1404
|
+
* * `false`: disables auto-renewal
|
|
1396
1405
|
*
|
|
1397
1406
|
* Default value: `false`
|
|
1398
1407
|
*
|
|
@@ -1408,7 +1417,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1408
1417
|
* @remarks
|
|
1409
1418
|
* The auto-renewal duration. This parameter takes effect only if charge_type is set to PrePaid and auto_renew is set to true. If you set `period_unit` to Month, the valid values of auto_renew_period are 1, 2, 3, 6, and 12.
|
|
1410
1419
|
*
|
|
1411
|
-
* Default value: 1
|
|
1420
|
+
* Default value: 1
|
|
1412
1421
|
*
|
|
1413
1422
|
* This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
|
|
1414
1423
|
*
|
|
@@ -1489,7 +1498,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1489
1498
|
/**
|
|
1490
1499
|
* @remarks
|
|
1491
1500
|
* * `Kubernetes`: an ACK dedicated cluster.
|
|
1492
|
-
* * `ManagedKubernetes`:
|
|
1501
|
+
* * `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.
|
|
1493
1502
|
* * `ExternalKubernetes`: a registered cluster.
|
|
1494
1503
|
*
|
|
1495
1504
|
* This parameter is required.
|
|
@@ -1783,7 +1792,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1783
1792
|
loginPassword?: string;
|
|
1784
1793
|
/**
|
|
1785
1794
|
* @remarks
|
|
1786
|
-
*
|
|
1795
|
+
* The configurations of the cluster maintenance window.
|
|
1787
1796
|
*/
|
|
1788
1797
|
maintenanceWindow?: MaintenanceWindow;
|
|
1789
1798
|
/**
|
|
@@ -1791,7 +1800,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1791
1800
|
* 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:
|
|
1792
1801
|
*
|
|
1793
1802
|
* * `true`: enables auto-renewal.
|
|
1794
|
-
* * `false`: disables auto-renewal
|
|
1803
|
+
* * `false`: disables auto-renewal
|
|
1795
1804
|
*
|
|
1796
1805
|
* Default value: `true`
|
|
1797
1806
|
*
|
|
@@ -1807,7 +1816,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1807
1816
|
*
|
|
1808
1817
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
1809
1818
|
*
|
|
1810
|
-
* Default value: 1
|
|
1819
|
+
* Default value: 1
|
|
1811
1820
|
*
|
|
1812
1821
|
* @example
|
|
1813
1822
|
* 1
|
|
@@ -1832,7 +1841,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1832
1841
|
* The billing method of master nodes. Valid values:
|
|
1833
1842
|
*
|
|
1834
1843
|
* * `PrePaid`: subscription.
|
|
1835
|
-
* * `PostPaid`: pay-as-you-go.
|
|
1844
|
+
* * `PostPaid`: the pay-as-you-go.
|
|
1836
1845
|
*
|
|
1837
1846
|
* Default value: `PostPaid`
|
|
1838
1847
|
*
|
|
@@ -1844,7 +1853,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1844
1853
|
masterInstanceChargeType?: string;
|
|
1845
1854
|
/**
|
|
1846
1855
|
* @remarks
|
|
1847
|
-
* The instance types of master nodes. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
1856
|
+
* The instance types of master nodes. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
1848
1857
|
*
|
|
1849
1858
|
* @deprecated
|
|
1850
1859
|
*/
|
|
@@ -1855,7 +1864,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1855
1864
|
*
|
|
1856
1865
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1857
1866
|
*
|
|
1858
|
-
* Default value: 1
|
|
1867
|
+
* Default value: 1
|
|
1859
1868
|
*
|
|
1860
1869
|
* @example
|
|
1861
1870
|
* 1
|
|
@@ -1880,7 +1889,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1880
1889
|
* The system disk type of master nodes. Valid values:
|
|
1881
1890
|
*
|
|
1882
1891
|
* * `cloud_efficiency`: ultra disk
|
|
1883
|
-
* * `cloud_ssd`: standard SSD
|
|
1892
|
+
* * `cloud_ssd`: standard SSD.
|
|
1884
1893
|
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
1885
1894
|
*
|
|
1886
1895
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
@@ -1934,7 +1943,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1934
1943
|
masterVswitchIds?: string[];
|
|
1935
1944
|
/**
|
|
1936
1945
|
* @remarks
|
|
1937
|
-
* The name
|
|
1946
|
+
* The cluster name.
|
|
1938
1947
|
*
|
|
1939
1948
|
* The cluster name must be 1 to 63 characters in length, and can contain digits, letters, and underscores (_). The cluster name cannot start with a hyphen (-).
|
|
1940
1949
|
*
|
|
@@ -2006,7 +2015,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2006
2015
|
numOfNodes?: number;
|
|
2007
2016
|
/**
|
|
2008
2017
|
* @remarks
|
|
2009
|
-
*
|
|
2018
|
+
* The automatic O\\&M policy of the cluster.
|
|
2010
2019
|
*/
|
|
2011
2020
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
2012
2021
|
/**
|
|
@@ -2030,7 +2039,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2030
2039
|
*
|
|
2031
2040
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2032
2041
|
*
|
|
2033
|
-
* Default value: 1
|
|
2042
|
+
* Default value: 1
|
|
2034
2043
|
*
|
|
2035
2044
|
* This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
|
|
2036
2045
|
*
|
|
@@ -2056,7 +2065,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2056
2065
|
periodUnit?: string;
|
|
2057
2066
|
/**
|
|
2058
2067
|
* @remarks
|
|
2059
|
-
* The
|
|
2068
|
+
* The OS distribution that is used. Valid values:
|
|
2060
2069
|
*
|
|
2061
2070
|
* * CentOS
|
|
2062
2071
|
* * AliyunLinux
|
|
@@ -2084,10 +2093,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2084
2093
|
* @remarks
|
|
2085
2094
|
* 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:
|
|
2086
2095
|
*
|
|
2087
|
-
* * `Default
|
|
2088
|
-
* * `Edge`:
|
|
2089
|
-
* * `Serverless`:
|
|
2090
|
-
* * `Lingjun`:
|
|
2096
|
+
* * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
2097
|
+
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
2098
|
+
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
2099
|
+
* * `Lingjun`: ACK Lingjun Pro cluster.
|
|
2091
2100
|
*
|
|
2092
2101
|
* @example
|
|
2093
2102
|
* Default
|
|
@@ -2098,7 +2107,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2098
2107
|
* The kube-proxy mode. Valid values:
|
|
2099
2108
|
*
|
|
2100
2109
|
* * `iptables`: a mature and stable kube-proxy mode that uses iptables rules to conduct Service discovery and load balancing. The performance of this mode is limited by the size of the cluster. This mode is suitable for clusters that run a small number of Services.
|
|
2101
|
-
* * `ipvs`: provides high performance and uses IP Virtual Server (IPVS)
|
|
2110
|
+
* * `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.
|
|
2102
2111
|
*
|
|
2103
2112
|
* Default value: `ipvs`.
|
|
2104
2113
|
*
|
|
@@ -2210,12 +2219,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2210
2219
|
snatEntry?: boolean;
|
|
2211
2220
|
/**
|
|
2212
2221
|
* @remarks
|
|
2213
|
-
* Specifies whether to enable
|
|
2222
|
+
* Specifies whether to enable Multi-Level Protection Scheme (MLPS) security hardening. For more information, see [ACK security hardening based on MLPS](https://help.aliyun.com/document_detail/196148.html).
|
|
2214
2223
|
*
|
|
2215
2224
|
* Valid values:
|
|
2216
2225
|
*
|
|
2217
|
-
* * `true`: enables security hardening
|
|
2218
|
-
* * `false`: disables security hardening
|
|
2226
|
+
* * `true`: enables MLPS security hardening.
|
|
2227
|
+
* * `false`: disables MLPS security hardening.
|
|
2219
2228
|
*
|
|
2220
2229
|
* Default value: `false`
|
|
2221
2230
|
*
|
|
@@ -2240,15 +2249,15 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2240
2249
|
sshFlags?: boolean;
|
|
2241
2250
|
/**
|
|
2242
2251
|
* @remarks
|
|
2243
|
-
* The tags to be added to nodes.
|
|
2252
|
+
* The tags to be added to nodes. When you add tags to a node, the following rules apply:
|
|
2244
2253
|
*
|
|
2245
|
-
* * A
|
|
2254
|
+
* * A tag is a case-sensitive key-value pair. You can add up to 20 tags.
|
|
2246
2255
|
* * When you add a tag, you must specify a unique key but you can leave the value empty. A key cannot exceed 64 characters in length and a value cannot exceed 128 characters in length. Keys and values cannot start with aliyun, acs:, https://, or http://. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
2247
2256
|
*/
|
|
2248
2257
|
tags?: Tag[];
|
|
2249
2258
|
/**
|
|
2250
2259
|
* @remarks
|
|
2251
|
-
* The
|
|
2260
|
+
* 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/).
|
|
2252
2261
|
*
|
|
2253
2262
|
* @deprecated
|
|
2254
2263
|
*/
|
|
@@ -2341,7 +2350,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2341
2350
|
* The billing method of worker nodes. Valid values:
|
|
2342
2351
|
*
|
|
2343
2352
|
* * `PrePaid`: subscription.
|
|
2344
|
-
* * `PostPaid`: pay-as-you-go.
|
|
2353
|
+
* * `PostPaid`: the pay-as-you-go.
|
|
2345
2354
|
*
|
|
2346
2355
|
* Default value: PostPaid.
|
|
2347
2356
|
*
|
|
@@ -2364,7 +2373,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2364
2373
|
*
|
|
2365
2374
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2366
2375
|
*
|
|
2367
|
-
* Default value: 1
|
|
2376
|
+
* Default value: 1
|
|
2368
2377
|
*
|
|
2369
2378
|
* @example
|
|
2370
2379
|
* 1
|
|
@@ -4448,7 +4457,7 @@ export declare class DescribeClusterAttachScriptsResponse extends $tea.Model {
|
|
|
4448
4457
|
export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
4449
4458
|
/**
|
|
4450
4459
|
* @remarks
|
|
4451
|
-
* The
|
|
4460
|
+
* The domain name of the cluster.
|
|
4452
4461
|
*
|
|
4453
4462
|
* @example
|
|
4454
4463
|
* cluster.local
|
|
@@ -4485,12 +4494,16 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4485
4494
|
clusterType?: string;
|
|
4486
4495
|
/**
|
|
4487
4496
|
* @remarks
|
|
4488
|
-
* The CIDR block of the pod.
|
|
4497
|
+
* The CIDR block of the pod. The configuration of the Flannel network plug-in.
|
|
4489
4498
|
*
|
|
4490
4499
|
* @example
|
|
4491
4500
|
* 172.20.0.0/16
|
|
4492
4501
|
*/
|
|
4493
4502
|
containerCidr?: string;
|
|
4503
|
+
/**
|
|
4504
|
+
* @remarks
|
|
4505
|
+
* The control plane configurations in an ACK dedicated cluster.
|
|
4506
|
+
*/
|
|
4494
4507
|
controlPlaneConfig?: DescribeClusterDetailResponseBodyControlPlaneConfig;
|
|
4495
4508
|
/**
|
|
4496
4509
|
* @remarks
|
|
@@ -4603,7 +4616,7 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4603
4616
|
nextVersion?: string;
|
|
4604
4617
|
/**
|
|
4605
4618
|
* @remarks
|
|
4606
|
-
* The number of
|
|
4619
|
+
* The maximum number of IP addresses that can be assigned to nodes. This number is determined by the node CIDR block. This parameter takes effect only if the cluster uses Flannel network plug-in.
|
|
4607
4620
|
*
|
|
4608
4621
|
* @example
|
|
4609
4622
|
* 26
|
|
@@ -4649,7 +4662,10 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4649
4662
|
profile?: string;
|
|
4650
4663
|
/**
|
|
4651
4664
|
* @remarks
|
|
4652
|
-
* The proxy mode. Valid values:
|
|
4665
|
+
* The kube-proxy mode. Valid values:
|
|
4666
|
+
*
|
|
4667
|
+
* * `iptables`: a mature and stable kube-proxy mode that uses iptables rules to conduct Service discovery and load balancing. The performance of this mode is limited by the size of the cluster. This mode is suitable for clusters that run a small number of Services.
|
|
4668
|
+
* * `ipvs`: provides high performance and uses IP Virtual Server (IPVS). This allows you to configure service discovery and load balancing. This mode is suitable for clusters that are required to run a large number of services. We recommend that you use this mode in scenarios that require high load balancing performance.
|
|
4653
4669
|
*
|
|
4654
4670
|
* @example
|
|
4655
4671
|
* ipvs
|
|
@@ -4681,7 +4697,7 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4681
4697
|
securityGroupId?: string;
|
|
4682
4698
|
/**
|
|
4683
4699
|
* @remarks
|
|
4684
|
-
* The CIDR block of the
|
|
4700
|
+
* The CIDR block of the service network.
|
|
4685
4701
|
*
|
|
4686
4702
|
* This parameter is required.
|
|
4687
4703
|
*
|
|
@@ -4738,12 +4754,12 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4738
4754
|
subnetCidr?: string;
|
|
4739
4755
|
/**
|
|
4740
4756
|
* @remarks
|
|
4741
|
-
* The resource
|
|
4757
|
+
* The resource labels of the cluster.
|
|
4742
4758
|
*/
|
|
4743
4759
|
tags?: Tag[];
|
|
4744
4760
|
/**
|
|
4745
4761
|
* @remarks
|
|
4746
|
-
* The time zone
|
|
4762
|
+
* The time zone
|
|
4747
4763
|
*
|
|
4748
4764
|
* @example
|
|
4749
4765
|
* Asia/Shanghai
|
|
@@ -4767,7 +4783,7 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4767
4783
|
vpcId?: string;
|
|
4768
4784
|
/**
|
|
4769
4785
|
* @remarks
|
|
4770
|
-
* The
|
|
4786
|
+
* The ID of the vSwitche. This field is deprecated. Use vswitch_ids to query the vSwitches on the control plane and vswitch_ids to query the vSwitches on the data plane.
|
|
4771
4787
|
*
|
|
4772
4788
|
* @example
|
|
4773
4789
|
* vsw-2zete8s4qocqg0mf6****,vsw-2zete8s4qocqg0mf6****
|
|
@@ -5657,7 +5673,7 @@ export declare class DescribeClustersV1Request extends $tea.Model {
|
|
|
5657
5673
|
export declare class DescribeClustersV1ResponseBody extends $tea.Model {
|
|
5658
5674
|
/**
|
|
5659
5675
|
* @remarks
|
|
5660
|
-
*
|
|
5676
|
+
* Details of the clusters.
|
|
5661
5677
|
*/
|
|
5662
5678
|
clusters?: DescribeClustersV1ResponseBodyClusters[];
|
|
5663
5679
|
/**
|
|
@@ -7541,6 +7557,25 @@ export declare class GetClusterCheckResponse extends $tea.Model {
|
|
|
7541
7557
|
[key: string]: any;
|
|
7542
7558
|
});
|
|
7543
7559
|
}
|
|
7560
|
+
export declare class GetClusterDiagnosisCheckItemsRequest extends $tea.Model {
|
|
7561
|
+
/**
|
|
7562
|
+
* @remarks
|
|
7563
|
+
* 查询语言。
|
|
7564
|
+
*
|
|
7565
|
+
* @example
|
|
7566
|
+
* zh_CN
|
|
7567
|
+
*/
|
|
7568
|
+
language?: string;
|
|
7569
|
+
static names(): {
|
|
7570
|
+
[key: string]: string;
|
|
7571
|
+
};
|
|
7572
|
+
static types(): {
|
|
7573
|
+
[key: string]: any;
|
|
7574
|
+
};
|
|
7575
|
+
constructor(map?: {
|
|
7576
|
+
[key: string]: any;
|
|
7577
|
+
});
|
|
7578
|
+
}
|
|
7544
7579
|
export declare class GetClusterDiagnosisCheckItemsResponseBody extends $tea.Model {
|
|
7545
7580
|
/**
|
|
7546
7581
|
* @remarks
|
|
@@ -7597,6 +7632,25 @@ export declare class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
|
|
|
7597
7632
|
[key: string]: any;
|
|
7598
7633
|
});
|
|
7599
7634
|
}
|
|
7635
|
+
export declare class GetClusterDiagnosisResultRequest extends $tea.Model {
|
|
7636
|
+
/**
|
|
7637
|
+
* @remarks
|
|
7638
|
+
* 查询语言。
|
|
7639
|
+
*
|
|
7640
|
+
* @example
|
|
7641
|
+
* zh_CN
|
|
7642
|
+
*/
|
|
7643
|
+
language?: string;
|
|
7644
|
+
static names(): {
|
|
7645
|
+
[key: string]: string;
|
|
7646
|
+
};
|
|
7647
|
+
static types(): {
|
|
7648
|
+
[key: string]: any;
|
|
7649
|
+
};
|
|
7650
|
+
constructor(map?: {
|
|
7651
|
+
[key: string]: any;
|
|
7652
|
+
});
|
|
7653
|
+
}
|
|
7600
7654
|
export declare class GetClusterDiagnosisResultResponseBody extends $tea.Model {
|
|
7601
7655
|
/**
|
|
7602
7656
|
* @remarks
|
|
@@ -7913,8 +7967,29 @@ export declare class InstallClusterAddonsRequest extends $tea.Model {
|
|
|
7913
7967
|
});
|
|
7914
7968
|
}
|
|
7915
7969
|
export declare class InstallClusterAddonsResponseBody extends $tea.Model {
|
|
7970
|
+
/**
|
|
7971
|
+
* @remarks
|
|
7972
|
+
* The ID of the cluster.
|
|
7973
|
+
*
|
|
7974
|
+
* @example
|
|
7975
|
+
* c82e6987e2961451182edacd74faf****
|
|
7976
|
+
*/
|
|
7916
7977
|
clusterId?: string;
|
|
7978
|
+
/**
|
|
7979
|
+
* @remarks
|
|
7980
|
+
* The request ID.
|
|
7981
|
+
*
|
|
7982
|
+
* @example
|
|
7983
|
+
* 48BD70F6-A7E6-543D-9F23-08DEB764C92E
|
|
7984
|
+
*/
|
|
7917
7985
|
requestId?: string;
|
|
7986
|
+
/**
|
|
7987
|
+
* @remarks
|
|
7988
|
+
* The ID of the job.
|
|
7989
|
+
*
|
|
7990
|
+
* @example
|
|
7991
|
+
* T-5a54309c80282e39ea00002f
|
|
7992
|
+
*/
|
|
7918
7993
|
taskId?: string;
|
|
7919
7994
|
static names(): {
|
|
7920
7995
|
[key: string]: string;
|
|
@@ -8606,12 +8681,12 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8606
8681
|
controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
|
|
8607
8682
|
/**
|
|
8608
8683
|
* @remarks
|
|
8609
|
-
* Specifies whether to enable cluster deletion protection. If
|
|
8684
|
+
* 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:
|
|
8610
8685
|
*
|
|
8611
8686
|
* * `true`: enables cluster deletion protection.
|
|
8612
8687
|
* * `false`: disables cluster deletion protection.
|
|
8613
8688
|
*
|
|
8614
|
-
* Default value: `false
|
|
8689
|
+
* Default value: `false`
|
|
8615
8690
|
*
|
|
8616
8691
|
* @example
|
|
8617
8692
|
* true
|
|
@@ -8635,7 +8710,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8635
8710
|
* * `true`: remaps the test domain name of the cluster.
|
|
8636
8711
|
* * `false`: does not remap the test domain name of the cluster.
|
|
8637
8712
|
*
|
|
8638
|
-
* Default value: `false
|
|
8713
|
+
* Default value: `false`
|
|
8639
8714
|
*
|
|
8640
8715
|
* @example
|
|
8641
8716
|
* true
|
|
@@ -8656,7 +8731,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8656
8731
|
* * `true`: enables instance deletion protection.
|
|
8657
8732
|
* * `false`: disables instance deletion protection.
|
|
8658
8733
|
*
|
|
8659
|
-
* Default value: `false
|
|
8734
|
+
* Default value: `false`
|
|
8660
8735
|
*
|
|
8661
8736
|
* @example
|
|
8662
8737
|
* true
|
|
@@ -8685,6 +8760,15 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8685
8760
|
* The storage configurations of system events.
|
|
8686
8761
|
*/
|
|
8687
8762
|
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
8763
|
+
/**
|
|
8764
|
+
* @remarks
|
|
8765
|
+
* The vSwitches of the control planes. This parameter can be used to change the vSwitches of the control planes in an ACK managed cluster. Take note of the following items:
|
|
8766
|
+
*
|
|
8767
|
+
* * This parameter overwrites the existing configuration. You must specify all vSwitches of the control planes.
|
|
8768
|
+
* * The control planes restart during the update process. Exercise caution when you perform this operation.
|
|
8769
|
+
* * Make sure that all security groups of the cluster, including the security groups of the control planes, all node pools, and container network, are allowed to access the CIDR blocks of the new vSwitches. This ensures that the nodes and containers can connect to the API server.
|
|
8770
|
+
* * If the new vSwitches of the control planes are configured with an access control list (ACL), ensure that the ACL allows communication between the new vSwitches and the CIDR blocks of cluster nodes and container networks.
|
|
8771
|
+
*/
|
|
8688
8772
|
vswitchIds?: string[];
|
|
8689
8773
|
static names(): {
|
|
8690
8774
|
[key: string]: string;
|
|
@@ -8784,7 +8868,7 @@ export declare class ModifyClusterAddonResponse extends $tea.Model {
|
|
|
8784
8868
|
export declare class ModifyClusterConfigurationRequest extends $tea.Model {
|
|
8785
8869
|
/**
|
|
8786
8870
|
* @remarks
|
|
8787
|
-
* The custom
|
|
8871
|
+
* The custom configurations.
|
|
8788
8872
|
*/
|
|
8789
8873
|
customizeConfig?: ModifyClusterConfigurationRequestCustomizeConfig[];
|
|
8790
8874
|
static names(): {
|
|
@@ -9285,8 +9369,12 @@ export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
9285
9369
|
instanceIds?: string[];
|
|
9286
9370
|
/**
|
|
9287
9371
|
* @remarks
|
|
9372
|
+
* This parameter is deprecated.
|
|
9373
|
+
*
|
|
9288
9374
|
* A list of nodes that you want to remove.
|
|
9289
9375
|
*
|
|
9376
|
+
* > This parameter is deprecated. Use instance_ids instead.
|
|
9377
|
+
*
|
|
9290
9378
|
* @deprecated
|
|
9291
9379
|
*/
|
|
9292
9380
|
nodes?: string[];
|
|
@@ -9338,8 +9426,12 @@ export declare class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
|
9338
9426
|
instanceIdsShrink?: string;
|
|
9339
9427
|
/**
|
|
9340
9428
|
* @remarks
|
|
9429
|
+
* This parameter is deprecated.
|
|
9430
|
+
*
|
|
9341
9431
|
* A list of nodes that you want to remove.
|
|
9342
9432
|
*
|
|
9433
|
+
* > This parameter is deprecated. Use instance_ids instead.
|
|
9434
|
+
*
|
|
9343
9435
|
* @deprecated
|
|
9344
9436
|
*/
|
|
9345
9437
|
nodesShrink?: string;
|
|
@@ -10316,8 +10408,20 @@ export declare class UnInstallClusterAddonsRequest extends $tea.Model {
|
|
|
10316
10408
|
});
|
|
10317
10409
|
}
|
|
10318
10410
|
export declare class UnInstallClusterAddonsResponseBody extends $tea.Model {
|
|
10411
|
+
/**
|
|
10412
|
+
* @remarks
|
|
10413
|
+
* 集群ID。
|
|
10414
|
+
*/
|
|
10319
10415
|
clusterId?: string;
|
|
10416
|
+
/**
|
|
10417
|
+
* @remarks
|
|
10418
|
+
* 请求ID。
|
|
10419
|
+
*/
|
|
10320
10420
|
requestId?: string;
|
|
10421
|
+
/**
|
|
10422
|
+
* @remarks
|
|
10423
|
+
* 任务ID。
|
|
10424
|
+
*/
|
|
10321
10425
|
taskId?: string;
|
|
10322
10426
|
static names(): {
|
|
10323
10427
|
[key: string]: string;
|
|
@@ -10776,7 +10880,7 @@ export declare class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model
|
|
|
10776
10880
|
export declare class UpdateResourcesDeleteProtectionRequest extends $tea.Model {
|
|
10777
10881
|
/**
|
|
10778
10882
|
* @remarks
|
|
10779
|
-
*
|
|
10883
|
+
* Specifies whether to enable deletion protection. Set the value to true to enable deletion protection and set the value to false to disable deletion protection.
|
|
10780
10884
|
*
|
|
10781
10885
|
* @example
|
|
10782
10886
|
* true
|
|
@@ -10963,7 +11067,7 @@ export declare class UpdateUserPermissionsRequest extends $tea.Model {
|
|
|
10963
11067
|
* * `delete`: revokes the specified permissions from the RAM user or RAM role. If you use this method, only the permissions that you specify are revoked, other permissions of the RAM user or RAM role on the cluster are not affected.
|
|
10964
11068
|
* * `patch`: grants the specified permissions to the RAM user or role. If you use this method, only the permissions that you specify are granted, other permissions of the RAM user or RAM role on the cluster are not affected.
|
|
10965
11069
|
*
|
|
10966
|
-
* Default value: `apply
|
|
11070
|
+
* Default value: `apply`.
|
|
10967
11071
|
*
|
|
10968
11072
|
* @example
|
|
10969
11073
|
* apply
|
|
@@ -11026,7 +11130,7 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
11026
11130
|
nextVersion?: string;
|
|
11027
11131
|
/**
|
|
11028
11132
|
* @remarks
|
|
11029
|
-
*
|
|
11133
|
+
* The rotation configuration.
|
|
11030
11134
|
*/
|
|
11031
11135
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
11032
11136
|
/**
|
|
@@ -11983,29 +12087,121 @@ export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
11983
12087
|
});
|
|
11984
12088
|
}
|
|
11985
12089
|
export declare class CreateClusterRequestControlPlaneConfig extends $tea.Model {
|
|
12090
|
+
/**
|
|
12091
|
+
* @example
|
|
12092
|
+
* true
|
|
12093
|
+
*/
|
|
11986
12094
|
autoRenew?: boolean;
|
|
12095
|
+
/**
|
|
12096
|
+
* @example
|
|
12097
|
+
* 1
|
|
12098
|
+
*/
|
|
11987
12099
|
autoRenewPeriod?: number;
|
|
12100
|
+
/**
|
|
12101
|
+
* @example
|
|
12102
|
+
* PrePaid
|
|
12103
|
+
*/
|
|
11988
12104
|
chargeType?: string;
|
|
12105
|
+
/**
|
|
12106
|
+
* @example
|
|
12107
|
+
* true
|
|
12108
|
+
*/
|
|
11989
12109
|
cloudMonitorFlags?: boolean;
|
|
12110
|
+
/**
|
|
12111
|
+
* @example
|
|
12112
|
+
* none
|
|
12113
|
+
*/
|
|
11990
12114
|
cpuPolicy?: string;
|
|
12115
|
+
/**
|
|
12116
|
+
* @example
|
|
12117
|
+
* ds-bp10b35imuam5amw****
|
|
12118
|
+
*/
|
|
11991
12119
|
deploymentsetId?: string;
|
|
12120
|
+
/**
|
|
12121
|
+
* @example
|
|
12122
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
12123
|
+
*/
|
|
11992
12124
|
imageId?: string;
|
|
12125
|
+
/**
|
|
12126
|
+
* @example
|
|
12127
|
+
* AliyunLinux3
|
|
12128
|
+
*/
|
|
11993
12129
|
imageType?: string;
|
|
11994
12130
|
instanceTypes?: string[];
|
|
12131
|
+
/**
|
|
12132
|
+
* @example
|
|
12133
|
+
* ack
|
|
12134
|
+
*/
|
|
11995
12135
|
keyPair?: string;
|
|
12136
|
+
/**
|
|
12137
|
+
* @example
|
|
12138
|
+
* ack@Test
|
|
12139
|
+
*/
|
|
11996
12140
|
loginPassword?: string;
|
|
12141
|
+
/**
|
|
12142
|
+
* @example
|
|
12143
|
+
* 30000-32767
|
|
12144
|
+
*/
|
|
11997
12145
|
nodePortRange?: string;
|
|
12146
|
+
/**
|
|
12147
|
+
* @example
|
|
12148
|
+
* 1
|
|
12149
|
+
*/
|
|
11998
12150
|
period?: number;
|
|
12151
|
+
/**
|
|
12152
|
+
* @example
|
|
12153
|
+
* Month
|
|
12154
|
+
*/
|
|
11999
12155
|
periodUnit?: string;
|
|
12156
|
+
/**
|
|
12157
|
+
* @example
|
|
12158
|
+
* containerd
|
|
12159
|
+
*/
|
|
12000
12160
|
runtime?: string;
|
|
12161
|
+
/**
|
|
12162
|
+
* @example
|
|
12163
|
+
* true
|
|
12164
|
+
*/
|
|
12001
12165
|
securityHardeningOs?: boolean;
|
|
12166
|
+
/**
|
|
12167
|
+
* @example
|
|
12168
|
+
* 3
|
|
12169
|
+
*/
|
|
12002
12170
|
size?: number;
|
|
12171
|
+
/**
|
|
12172
|
+
* @example
|
|
12173
|
+
* true
|
|
12174
|
+
*/
|
|
12003
12175
|
socEnabled?: boolean;
|
|
12176
|
+
/**
|
|
12177
|
+
* @example
|
|
12178
|
+
* true
|
|
12179
|
+
*/
|
|
12004
12180
|
systemDiskBurstingEnabled?: boolean;
|
|
12181
|
+
/**
|
|
12182
|
+
* @example
|
|
12183
|
+
* cloud_essd
|
|
12184
|
+
*/
|
|
12005
12185
|
systemDiskCategory?: string;
|
|
12186
|
+
/**
|
|
12187
|
+
* @example
|
|
12188
|
+
* PL1
|
|
12189
|
+
*/
|
|
12006
12190
|
systemDiskPerformanceLevel?: string;
|
|
12191
|
+
/**
|
|
12192
|
+
* @example
|
|
12193
|
+
* 1000
|
|
12194
|
+
*/
|
|
12007
12195
|
systemDiskProvisionedIops?: number;
|
|
12196
|
+
/**
|
|
12197
|
+
* @example
|
|
12198
|
+
* 120
|
|
12199
|
+
*/
|
|
12008
12200
|
systemDiskSize?: number;
|
|
12201
|
+
/**
|
|
12202
|
+
* @example
|
|
12203
|
+
* sp-2zej1nogjvovnz4z****
|
|
12204
|
+
*/
|
|
12009
12205
|
systemDiskSnapshotPolicyId?: string;
|
|
12010
12206
|
static names(): {
|
|
12011
12207
|
[key: string]: string;
|
|
@@ -12020,11 +12216,11 @@ export declare class CreateClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
12020
12216
|
export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
12021
12217
|
/**
|
|
12022
12218
|
* @remarks
|
|
12023
|
-
*
|
|
12219
|
+
* The automatic update frequency. Valid values:
|
|
12024
12220
|
*
|
|
12025
|
-
*
|
|
12026
|
-
*
|
|
12027
|
-
*
|
|
12221
|
+
* * patch
|
|
12222
|
+
* * stable
|
|
12223
|
+
* * rapid
|
|
12028
12224
|
*
|
|
12029
12225
|
* @example
|
|
12030
12226
|
* patch
|
|
@@ -12032,7 +12228,7 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
12032
12228
|
channel?: string;
|
|
12033
12229
|
/**
|
|
12034
12230
|
* @remarks
|
|
12035
|
-
*
|
|
12231
|
+
* Specifies whether to enable auto cluster update.
|
|
12036
12232
|
*
|
|
12037
12233
|
* @example
|
|
12038
12234
|
* true
|
|
@@ -12051,7 +12247,7 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
12051
12247
|
export declare class CreateClusterRequestOperationPolicy extends $tea.Model {
|
|
12052
12248
|
/**
|
|
12053
12249
|
* @remarks
|
|
12054
|
-
*
|
|
12250
|
+
* The configurations of auto cluster update.
|
|
12055
12251
|
*/
|
|
12056
12252
|
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
12057
12253
|
static names(): {
|
|
@@ -12482,9 +12678,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
12482
12678
|
* @remarks
|
|
12483
12679
|
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
|
|
12484
12680
|
*
|
|
12485
|
-
* * `asap`: high
|
|
12486
|
-
* * `later`: medium
|
|
12487
|
-
* * `nntf`: low
|
|
12681
|
+
* * `asap`: high
|
|
12682
|
+
* * `later`: medium
|
|
12683
|
+
* * `nntf`: low
|
|
12488
12684
|
*
|
|
12489
12685
|
* If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
|
|
12490
12686
|
*
|
|
@@ -13170,7 +13366,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
13170
13366
|
* * `cloud`: basic disk.
|
|
13171
13367
|
* * `cloud_efficiency`: ultra disk.
|
|
13172
13368
|
* * `cloud_ssd`: standard SSD.
|
|
13173
|
-
* * `cloud_essd`:
|
|
13369
|
+
* * `cloud_essd`: ESSD.
|
|
13174
13370
|
* * `cloud_auto`: ESSD AutoPL disk.
|
|
13175
13371
|
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
13176
13372
|
*
|
|
@@ -13439,28 +13635,186 @@ export declare class DescribeAddonsResponseBodyComponentGroups extends $tea.Mode
|
|
|
13439
13635
|
});
|
|
13440
13636
|
}
|
|
13441
13637
|
export declare class DescribeClusterDetailResponseBodyControlPlaneConfig extends $tea.Model {
|
|
13638
|
+
/**
|
|
13639
|
+
* @remarks
|
|
13640
|
+
* Indicates whether auto-renewal is enabled for the nodes.
|
|
13641
|
+
*
|
|
13642
|
+
* @example
|
|
13643
|
+
* true
|
|
13644
|
+
*/
|
|
13442
13645
|
autoRenew?: boolean;
|
|
13646
|
+
/**
|
|
13647
|
+
* @remarks
|
|
13648
|
+
* The auto-renewal duration for the nodes.
|
|
13649
|
+
*
|
|
13650
|
+
* @example
|
|
13651
|
+
* 1
|
|
13652
|
+
*/
|
|
13443
13653
|
autoRenewPeriod?: number;
|
|
13654
|
+
/**
|
|
13655
|
+
* @remarks
|
|
13656
|
+
* The billing method of the control plane node.
|
|
13657
|
+
*
|
|
13658
|
+
* @example
|
|
13659
|
+
* PrePaid
|
|
13660
|
+
*/
|
|
13444
13661
|
chargeType?: string;
|
|
13662
|
+
/**
|
|
13663
|
+
* @remarks
|
|
13664
|
+
* Indicates whether to install CloudMonitor for the node.
|
|
13665
|
+
*
|
|
13666
|
+
* @example
|
|
13667
|
+
* true
|
|
13668
|
+
*/
|
|
13445
13669
|
cloudMonitorFlags?: boolean;
|
|
13670
|
+
/**
|
|
13671
|
+
* @remarks
|
|
13672
|
+
* The CPU management policy of nodes.
|
|
13673
|
+
*
|
|
13674
|
+
* @example
|
|
13675
|
+
* none
|
|
13676
|
+
*/
|
|
13446
13677
|
cpuPolicy?: string;
|
|
13678
|
+
/**
|
|
13679
|
+
* @remarks
|
|
13680
|
+
* The ID of the deployment set.
|
|
13681
|
+
*
|
|
13682
|
+
* @example
|
|
13683
|
+
* ds-bp10b35imuam5amw****
|
|
13684
|
+
*/
|
|
13447
13685
|
deploymentsetId?: string;
|
|
13686
|
+
/**
|
|
13687
|
+
* @remarks
|
|
13688
|
+
* The ID of the image.
|
|
13689
|
+
*
|
|
13690
|
+
* @example
|
|
13691
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
13692
|
+
*/
|
|
13448
13693
|
imageId?: string;
|
|
13694
|
+
/**
|
|
13695
|
+
* @remarks
|
|
13696
|
+
* The type of the OS image.
|
|
13697
|
+
*
|
|
13698
|
+
* @example
|
|
13699
|
+
* AliyunLinux3
|
|
13700
|
+
*/
|
|
13449
13701
|
imageType?: string;
|
|
13702
|
+
/**
|
|
13703
|
+
* @remarks
|
|
13704
|
+
* The instance types of the nodes.
|
|
13705
|
+
*/
|
|
13450
13706
|
instanceTypes?: string[];
|
|
13707
|
+
/**
|
|
13708
|
+
* @remarks
|
|
13709
|
+
* The name of the key pair. You must set key_pair or login_password.
|
|
13710
|
+
*
|
|
13711
|
+
* @example
|
|
13712
|
+
* ack
|
|
13713
|
+
*/
|
|
13451
13714
|
keyPair?: string;
|
|
13715
|
+
/**
|
|
13716
|
+
* @remarks
|
|
13717
|
+
* The node port range.
|
|
13718
|
+
*
|
|
13719
|
+
* @example
|
|
13720
|
+
* 30000-32767
|
|
13721
|
+
*/
|
|
13452
13722
|
nodePortRange?: string;
|
|
13723
|
+
/**
|
|
13724
|
+
* @remarks
|
|
13725
|
+
* The subscription duration.
|
|
13726
|
+
*
|
|
13727
|
+
* @example
|
|
13728
|
+
* 1
|
|
13729
|
+
*/
|
|
13453
13730
|
period?: number;
|
|
13731
|
+
/**
|
|
13732
|
+
* @remarks
|
|
13733
|
+
* The unit of the subscription duration.
|
|
13734
|
+
*
|
|
13735
|
+
* @example
|
|
13736
|
+
* Month
|
|
13737
|
+
*/
|
|
13454
13738
|
periodUnit?: string;
|
|
13739
|
+
/**
|
|
13740
|
+
* @remarks
|
|
13741
|
+
* The runtime.
|
|
13742
|
+
*
|
|
13743
|
+
* @example
|
|
13744
|
+
* containerd
|
|
13745
|
+
*/
|
|
13455
13746
|
runtime?: string;
|
|
13747
|
+
/**
|
|
13748
|
+
* @remarks
|
|
13749
|
+
* Indicates whether to enable Alibaba Cloud Linux Security Hardening.
|
|
13750
|
+
*
|
|
13751
|
+
* @example
|
|
13752
|
+
* true
|
|
13753
|
+
*/
|
|
13456
13754
|
securityHardeningOs?: boolean;
|
|
13755
|
+
/**
|
|
13756
|
+
* @remarks
|
|
13757
|
+
* The number of control plane nodes.
|
|
13758
|
+
*
|
|
13759
|
+
* @example
|
|
13760
|
+
* 3
|
|
13761
|
+
*/
|
|
13457
13762
|
size?: number;
|
|
13763
|
+
/**
|
|
13764
|
+
* @remarks
|
|
13765
|
+
* Indicates whether to enable Multi-Level Protection Scheme (MLPS) security hardening.
|
|
13766
|
+
*
|
|
13767
|
+
* @example
|
|
13768
|
+
* false
|
|
13769
|
+
*/
|
|
13458
13770
|
socEnabled?: boolean;
|
|
13771
|
+
/**
|
|
13772
|
+
* @remarks
|
|
13773
|
+
* Indicates whether to enable the burst feature for the system disk.
|
|
13774
|
+
*
|
|
13775
|
+
* @example
|
|
13776
|
+
* true
|
|
13777
|
+
*/
|
|
13459
13778
|
systemDiskBurstingEnabled?: boolean;
|
|
13779
|
+
/**
|
|
13780
|
+
* @remarks
|
|
13781
|
+
* The category of the system disk for nodes.
|
|
13782
|
+
*
|
|
13783
|
+
* @example
|
|
13784
|
+
* cloud_essd
|
|
13785
|
+
*/
|
|
13460
13786
|
systemDiskCategory?: string;
|
|
13787
|
+
/**
|
|
13788
|
+
* @remarks
|
|
13789
|
+
* The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for ESSDs.
|
|
13790
|
+
*
|
|
13791
|
+
* @example
|
|
13792
|
+
* PL1
|
|
13793
|
+
*/
|
|
13461
13794
|
systemDiskPerformanceLevel?: string;
|
|
13795
|
+
/**
|
|
13796
|
+
* @remarks
|
|
13797
|
+
* The preset read/write IOPS of the system disk.
|
|
13798
|
+
*
|
|
13799
|
+
* @example
|
|
13800
|
+
* 1000
|
|
13801
|
+
*/
|
|
13462
13802
|
systemDiskProvisionedIops?: number;
|
|
13803
|
+
/**
|
|
13804
|
+
* @remarks
|
|
13805
|
+
* The system disk size of the node. The value must be at least 40 GB.
|
|
13806
|
+
*
|
|
13807
|
+
* @example
|
|
13808
|
+
* 120
|
|
13809
|
+
*/
|
|
13463
13810
|
systemDiskSize?: number;
|
|
13811
|
+
/**
|
|
13812
|
+
* @remarks
|
|
13813
|
+
* The automatic snapshot policy of the node.
|
|
13814
|
+
*
|
|
13815
|
+
* @example
|
|
13816
|
+
* sp-2zej1nogjvovnz4z****
|
|
13817
|
+
*/
|
|
13464
13818
|
systemDiskSnapshotPolicyId?: string;
|
|
13465
13819
|
static names(): {
|
|
13466
13820
|
[key: string]: string;
|
|
@@ -17077,7 +17431,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
17077
17431
|
clusterType?: string;
|
|
17078
17432
|
/**
|
|
17079
17433
|
* @remarks
|
|
17080
|
-
* The pod CIDR block.
|
|
17434
|
+
* The pod CIDR block and the configuration of the Flannel network plug-in.
|
|
17081
17435
|
*
|
|
17082
17436
|
* @example
|
|
17083
17437
|
* 172.20.0.0/16
|
|
@@ -17232,7 +17586,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
17232
17586
|
profile?: string;
|
|
17233
17587
|
/**
|
|
17234
17588
|
* @remarks
|
|
17235
|
-
* The
|
|
17589
|
+
* The Kube-proxy mode. Valid values:
|
|
17590
|
+
*
|
|
17591
|
+
* * `iptables`: a mature and stable kube-proxy mode that uses iptables rules to conduct Service discovery and load balancing. The performance of this mode is limited by the size of the cluster. This mode is suitable for clusters that run a small number of Services.
|
|
17592
|
+
* * `ipvs`: provides high performance and uses IP Virtual Server (IPVS). This allows you to configure service discovery and load balancing. This mode is suitable for clusters that are required to run a large number of services. We recommend that you use this mode in scenarios that require high load balancing performance.
|
|
17236
17593
|
*
|
|
17237
17594
|
* @example
|
|
17238
17595
|
* ipvs
|
|
@@ -17301,7 +17658,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
17301
17658
|
state?: string;
|
|
17302
17659
|
/**
|
|
17303
17660
|
* @remarks
|
|
17304
|
-
* The pod CIDR block. It must be a valid and private CIDR block, and must be one of the following CIDR blocks or their subnets:
|
|
17661
|
+
* Tis parameter is deprecated. Use the container_cidr parameter to obtain the pod CIDR block. The pod CIDR block. It must be a valid and private CIDR block, and must be one of the following CIDR blocks or their subnets:
|
|
17305
17662
|
*
|
|
17306
17663
|
* * 10.0.0.0/8
|
|
17307
17664
|
* * 172.16-31.0.0/12-16
|
|
@@ -17324,7 +17681,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
17324
17681
|
tags?: Tag[];
|
|
17325
17682
|
/**
|
|
17326
17683
|
* @remarks
|
|
17327
|
-
* The time zone
|
|
17684
|
+
* The time zone
|
|
17328
17685
|
*
|
|
17329
17686
|
* @example
|
|
17330
17687
|
* Asia/Shanghai
|
|
@@ -20337,11 +20694,13 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
20337
20694
|
export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
20338
20695
|
/**
|
|
20339
20696
|
* @remarks
|
|
20340
|
-
* The frequency
|
|
20697
|
+
* The automatic update frequency. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
20341
20698
|
*
|
|
20342
|
-
*
|
|
20343
|
-
*
|
|
20344
|
-
* *
|
|
20699
|
+
* Valid values:
|
|
20700
|
+
*
|
|
20701
|
+
* * patch: specifies the latest patch version.
|
|
20702
|
+
* * stables: the second-latest minor version.
|
|
20703
|
+
* * rapid: the latest minor version.
|
|
20345
20704
|
*
|
|
20346
20705
|
* @example
|
|
20347
20706
|
* patch
|
|
@@ -20349,7 +20708,7 @@ export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
20349
20708
|
channel?: string;
|
|
20350
20709
|
/**
|
|
20351
20710
|
* @remarks
|
|
20352
|
-
* Specifies whether to enable
|
|
20711
|
+
* Specifies whether to enable automatic update.
|
|
20353
20712
|
*
|
|
20354
20713
|
* @example
|
|
20355
20714
|
* true
|
|
@@ -20368,7 +20727,7 @@ export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
20368
20727
|
export declare class ModifyClusterRequestOperationPolicy extends $tea.Model {
|
|
20369
20728
|
/**
|
|
20370
20729
|
* @remarks
|
|
20371
|
-
* The configurations of
|
|
20730
|
+
* The configurations of automatic update.
|
|
20372
20731
|
*/
|
|
20373
20732
|
clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
20374
20733
|
static names(): {
|
|
@@ -20438,7 +20797,7 @@ export declare class ModifyClusterConfigurationRequestCustomizeConfigConfigs ext
|
|
|
20438
20797
|
export declare class ModifyClusterConfigurationRequestCustomizeConfig extends $tea.Model {
|
|
20439
20798
|
/**
|
|
20440
20799
|
* @remarks
|
|
20441
|
-
* The custom
|
|
20800
|
+
* The custom configurations.
|
|
20442
20801
|
*/
|
|
20443
20802
|
configs?: ModifyClusterConfigurationRequestCustomizeConfigConfigs[];
|
|
20444
20803
|
/**
|
|
@@ -20462,7 +20821,7 @@ export declare class ModifyClusterConfigurationRequestCustomizeConfig extends $t
|
|
|
20462
20821
|
export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
20463
20822
|
/**
|
|
20464
20823
|
* @remarks
|
|
20465
|
-
* The maximum bandwidth of the EIP.
|
|
20824
|
+
* The maximum bandwidth of the elastic IP address (EIP).
|
|
20466
20825
|
*
|
|
20467
20826
|
* @example
|
|
20468
20827
|
* 5
|
|
@@ -20475,7 +20834,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
20475
20834
|
* The billing method of the EIP. Valid values:
|
|
20476
20835
|
*
|
|
20477
20836
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
20478
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
20837
|
+
* * `PayByTraffic`: pay-by-data-transfer
|
|
20479
20838
|
*
|
|
20480
20839
|
* Default value: `PayByBandwidth`.
|
|
20481
20840
|
*
|
|
@@ -20502,10 +20861,10 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
20502
20861
|
* @remarks
|
|
20503
20862
|
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
20504
20863
|
*
|
|
20505
|
-
* * `true`:
|
|
20864
|
+
* * `true`: An EIP is associated with the node pool.
|
|
20506
20865
|
* * `false`: No EIP is associated with the node pool.
|
|
20507
20866
|
*
|
|
20508
|
-
* Default value: `false
|
|
20867
|
+
* Default value: `false`
|
|
20509
20868
|
*
|
|
20510
20869
|
* @example
|
|
20511
20870
|
* true
|
|
@@ -20533,7 +20892,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
20533
20892
|
* @remarks
|
|
20534
20893
|
* The instance type that is used for auto scaling. Valid values:
|
|
20535
20894
|
*
|
|
20536
|
-
* * `cpu`: regular instance
|
|
20895
|
+
* * `cpu`: regular instance
|
|
20537
20896
|
* * `gpu`: GPU-accelerated instance.
|
|
20538
20897
|
* * `gpushare`: shared GPU-accelerated instance.
|
|
20539
20898
|
* * `spot`: preemptible instance.
|
|
@@ -20651,8 +21010,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
20651
21010
|
* @remarks
|
|
20652
21011
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
20653
21012
|
*
|
|
20654
|
-
* * `true`:
|
|
20655
|
-
* * `false`:
|
|
21013
|
+
* * `true`: yes.
|
|
21014
|
+
* * `false`: no.
|
|
20656
21015
|
*
|
|
20657
21016
|
* @example
|
|
20658
21017
|
* true
|
|
@@ -20673,8 +21032,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
20673
21032
|
* @remarks
|
|
20674
21033
|
* Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
|
|
20675
21034
|
*
|
|
20676
|
-
* * `true`:
|
|
20677
|
-
* * `false`:
|
|
21035
|
+
* * `true`: yes.
|
|
21036
|
+
* * `false`: no.
|
|
20678
21037
|
*
|
|
20679
21038
|
* @example
|
|
20680
21039
|
* true
|
|
@@ -20715,8 +21074,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
20715
21074
|
* @remarks
|
|
20716
21075
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
20717
21076
|
*
|
|
20718
|
-
* * `true`:
|
|
20719
|
-
* * `false`:
|
|
21077
|
+
* * `true`: yes.
|
|
21078
|
+
* * `false`: no.
|
|
20720
21079
|
*
|
|
20721
21080
|
* @example
|
|
20722
21081
|
* true
|
|
@@ -20743,7 +21102,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
20743
21102
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
20744
21103
|
/**
|
|
20745
21104
|
* @remarks
|
|
20746
|
-
* Specifies whether to enable auto update.
|
|
21105
|
+
* Specifies whether to enable auto update. Valid values:
|
|
20747
21106
|
*
|
|
20748
21107
|
* * true: enables auto update.
|
|
20749
21108
|
* * false: disables auto update.
|
|
@@ -20762,7 +21121,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
20762
21121
|
*
|
|
20763
21122
|
* Valid values: 1 to 1000.
|
|
20764
21123
|
*
|
|
20765
|
-
* Default value: 1
|
|
21124
|
+
* Default value: 1
|
|
20766
21125
|
*
|
|
20767
21126
|
* @example
|
|
20768
21127
|
* 1
|
|
@@ -20804,7 +21163,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
20804
21163
|
* * `true`: enables auto repair.
|
|
20805
21164
|
* * `false`: disables auto repair.
|
|
20806
21165
|
*
|
|
20807
|
-
* Default value: `true
|
|
21166
|
+
* Default value: `true`
|
|
20808
21167
|
*
|
|
20809
21168
|
* @example
|
|
20810
21169
|
* true
|
|
@@ -20817,7 +21176,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
20817
21176
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
20818
21177
|
/**
|
|
20819
21178
|
* @remarks
|
|
20820
|
-
*
|
|
21179
|
+
* Specifies whether to enable auto update. Valid values:
|
|
20821
21180
|
*
|
|
20822
21181
|
* * `true`: enables auto update.
|
|
20823
21182
|
* * `false`: disables auto update.
|
|
@@ -20835,7 +21194,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
20835
21194
|
* @remarks
|
|
20836
21195
|
* Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
|
|
20837
21196
|
*
|
|
20838
|
-
* * `true`:
|
|
21197
|
+
* * `true`: eanbles auto CVE patching.
|
|
20839
21198
|
* * `true`: disables auto CVE patching.
|
|
20840
21199
|
*
|
|
20841
21200
|
* @example
|
|
@@ -20890,7 +21249,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
20890
21249
|
name?: string;
|
|
20891
21250
|
/**
|
|
20892
21251
|
* @remarks
|
|
20893
|
-
* The
|
|
21252
|
+
* The resource group ID.
|
|
20894
21253
|
*
|
|
20895
21254
|
* @example
|
|
20896
21255
|
* rg-acfmyvw3wjm****
|
|
@@ -20919,7 +21278,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
20919
21278
|
* @remarks
|
|
20920
21279
|
* 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:
|
|
20921
21280
|
*
|
|
20922
|
-
* * `Open`: open private
|
|
21281
|
+
* * `Open`: open private pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
|
|
20923
21282
|
* * `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.
|
|
20924
21283
|
* * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
|
|
20925
21284
|
*
|
|
@@ -20982,9 +21341,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20982
21341
|
autoRenew?: boolean;
|
|
20983
21342
|
/**
|
|
20984
21343
|
* @remarks
|
|
20985
|
-
* The
|
|
21344
|
+
* The auto-renewal period. Valid values:
|
|
20986
21345
|
*
|
|
20987
|
-
*
|
|
21346
|
+
* * Valid values when PeriodUnit is set to Week: 1, 2, and 3
|
|
21347
|
+
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
|
|
21348
|
+
*
|
|
21349
|
+
* Default value: 1
|
|
20988
21350
|
*
|
|
20989
21351
|
* @example
|
|
20990
21352
|
* 1
|
|
@@ -20994,7 +21356,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20994
21356
|
* @remarks
|
|
20995
21357
|
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as the cost or insufficient inventory. This parameter takes effect only when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
|
|
20996
21358
|
*
|
|
20997
|
-
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
21359
|
+
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
20998
21360
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
20999
21361
|
*
|
|
21000
21362
|
* @example
|
|
@@ -21003,7 +21365,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21003
21365
|
compensateWithOnDemand?: boolean;
|
|
21004
21366
|
/**
|
|
21005
21367
|
* @remarks
|
|
21006
|
-
* The configurations of the data disks that are mounted to
|
|
21368
|
+
* 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 the nodes in the node pool.
|
|
21007
21369
|
*/
|
|
21008
21370
|
dataDisks?: DataDisk[];
|
|
21009
21371
|
/**
|
|
@@ -21028,7 +21390,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21028
21390
|
*
|
|
21029
21391
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
21030
21392
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
21031
|
-
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
21393
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
21032
21394
|
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
21033
21395
|
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
21034
21396
|
* * `CentOS`: CentOS.
|
|
@@ -21065,7 +21427,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21065
21427
|
instanceTypes?: string[];
|
|
21066
21428
|
/**
|
|
21067
21429
|
* @remarks
|
|
21068
|
-
* The
|
|
21430
|
+
* The billing method of the public IP address. Valid values:
|
|
21069
21431
|
*
|
|
21070
21432
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
21071
21433
|
* * `PayByTraffic`: pay-by-data-transfer
|
|
@@ -21221,7 +21583,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21221
21583
|
* The bidding policy of preemptible instances. Valid values:
|
|
21222
21584
|
*
|
|
21223
21585
|
* * `NoSpot`: non-preemptible instance.
|
|
21224
|
-
* * `SpotWithPriceLimit`: specifies the highest bid
|
|
21586
|
+
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
21225
21587
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
21226
21588
|
*
|
|
21227
21589
|
* For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html).
|
|
@@ -21240,7 +21602,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21240
21602
|
systemDiskBurstingEnabled?: boolean;
|
|
21241
21603
|
/**
|
|
21242
21604
|
* @remarks
|
|
21243
|
-
* The system disk types. The system attempts to create system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values: cloud: disk. cloud_efficiency (ultra disk)
|
|
21605
|
+
* The system disk types. The system attempts to create system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values: cloud: disk. cloud_efficiency (ultra disk). cloud_ssd: standard SSD. cloud_essd: Enterprise SSD (ESSD).
|
|
21244
21606
|
*/
|
|
21245
21607
|
systemDiskCategories?: string[];
|
|
21246
21608
|
/**
|
|
@@ -21248,7 +21610,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21248
21610
|
* The type of system disk. Valid values:
|
|
21249
21611
|
*
|
|
21250
21612
|
* * `cloud_efficiency`: ultra disk.
|
|
21251
|
-
* * `cloud_ssd`: standard SSD
|
|
21613
|
+
* * `cloud_ssd`: standard SSD.
|
|
21252
21614
|
*
|
|
21253
21615
|
* Default value: `cloud_ssd`.
|
|
21254
21616
|
*
|
|
@@ -21266,7 +21628,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21266
21628
|
systemDiskEncryptAlgorithm?: string;
|
|
21267
21629
|
/**
|
|
21268
21630
|
* @remarks
|
|
21269
|
-
*
|
|
21631
|
+
* Specifies whether to encrypt the system disk. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
|
|
21270
21632
|
*
|
|
21271
21633
|
* @example
|
|
21272
21634
|
* false
|
|
@@ -21302,7 +21664,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21302
21664
|
*
|
|
21303
21665
|
* Valid values: 20 to 500.
|
|
21304
21666
|
*
|
|
21305
|
-
* The value of this parameter must be at least 20 and greater than or equal to the image
|
|
21667
|
+
* The value of this parameter must be at least 20 and greater than or equal to the size of the image.
|
|
21306
21668
|
*
|
|
21307
21669
|
* Default value: the greater value between 40 and the image size.
|
|
21308
21670
|
*
|
|
@@ -21314,7 +21676,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21314
21676
|
* @remarks
|
|
21315
21677
|
* The tags that you want to add only to ECS instances.
|
|
21316
21678
|
*
|
|
21317
|
-
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs:
|
|
21679
|
+
* 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://.
|
|
21318
21680
|
*/
|
|
21319
21681
|
tags?: Tag[];
|
|
21320
21682
|
/**
|
|
@@ -21599,7 +21961,7 @@ export declare class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
|
21599
21961
|
export declare class UpgradeClusterRequestRollingPolicy extends $tea.Model {
|
|
21600
21962
|
/**
|
|
21601
21963
|
* @remarks
|
|
21602
|
-
*
|
|
21964
|
+
* The maximum size of each batch.
|
|
21603
21965
|
*
|
|
21604
21966
|
* @example
|
|
21605
21967
|
* 3
|
|
@@ -21855,7 +22217,7 @@ export default class Client extends OpenApi {
|
|
|
21855
22217
|
*/
|
|
21856
22218
|
checkServiceRole(request: CheckServiceRoleRequest): Promise<CheckServiceRoleResponse>;
|
|
21857
22219
|
/**
|
|
21858
|
-
*
|
|
22220
|
+
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
21859
22221
|
*
|
|
21860
22222
|
* @remarks
|
|
21861
22223
|
* >
|
|
@@ -21872,7 +22234,7 @@ export default class Client extends OpenApi {
|
|
|
21872
22234
|
[key: string]: string;
|
|
21873
22235
|
}, runtime: $Util.RuntimeOptions): Promise<CleanClusterUserPermissionsResponse>;
|
|
21874
22236
|
/**
|
|
21875
|
-
*
|
|
22237
|
+
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
21876
22238
|
*
|
|
21877
22239
|
* @remarks
|
|
21878
22240
|
* >
|
|
@@ -21967,7 +22329,7 @@ export default class Client extends OpenApi {
|
|
|
21967
22329
|
*/
|
|
21968
22330
|
createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse>;
|
|
21969
22331
|
/**
|
|
21970
|
-
*
|
|
22332
|
+
* Starts a cluster diagnostic.
|
|
21971
22333
|
*
|
|
21972
22334
|
* @param request - CreateClusterDiagnosisRequest
|
|
21973
22335
|
* @param headers - map
|
|
@@ -21978,7 +22340,7 @@ export default class Client extends OpenApi {
|
|
|
21978
22340
|
[key: string]: string;
|
|
21979
22341
|
}, runtime: $Util.RuntimeOptions): Promise<CreateClusterDiagnosisResponse>;
|
|
21980
22342
|
/**
|
|
21981
|
-
*
|
|
22343
|
+
* Starts a cluster diagnostic.
|
|
21982
22344
|
*
|
|
21983
22345
|
* @param request - CreateClusterDiagnosisRequest
|
|
21984
22346
|
* @returns CreateClusterDiagnosisResponse
|
|
@@ -22079,7 +22441,7 @@ export default class Client extends OpenApi {
|
|
|
22079
22441
|
*/
|
|
22080
22442
|
createTrigger(clusterId: string, request: CreateTriggerRequest): Promise<CreateTriggerResponse>;
|
|
22081
22443
|
/**
|
|
22082
|
-
*
|
|
22444
|
+
* Deletes one or more ACK alert contacts.
|
|
22083
22445
|
*
|
|
22084
22446
|
* @param tmpReq - DeleteAlertContactRequest
|
|
22085
22447
|
* @param headers - map
|
|
@@ -22090,14 +22452,14 @@ export default class Client extends OpenApi {
|
|
|
22090
22452
|
[key: string]: string;
|
|
22091
22453
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactResponse>;
|
|
22092
22454
|
/**
|
|
22093
|
-
*
|
|
22455
|
+
* Deletes one or more ACK alert contacts.
|
|
22094
22456
|
*
|
|
22095
22457
|
* @param request - DeleteAlertContactRequest
|
|
22096
22458
|
* @returns DeleteAlertContactResponse
|
|
22097
22459
|
*/
|
|
22098
22460
|
deleteAlertContact(request: DeleteAlertContactRequest): Promise<DeleteAlertContactResponse>;
|
|
22099
22461
|
/**
|
|
22100
|
-
*
|
|
22462
|
+
* Deletes an ACK alert contact group.
|
|
22101
22463
|
*
|
|
22102
22464
|
* @param tmpReq - DeleteAlertContactGroupRequest
|
|
22103
22465
|
* @param headers - map
|
|
@@ -22108,7 +22470,7 @@ export default class Client extends OpenApi {
|
|
|
22108
22470
|
[key: string]: string;
|
|
22109
22471
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactGroupResponse>;
|
|
22110
22472
|
/**
|
|
22111
|
-
*
|
|
22473
|
+
* Deletes an ACK alert contact group.
|
|
22112
22474
|
*
|
|
22113
22475
|
* @param request - DeleteAlertContactGroupRequest
|
|
22114
22476
|
* @returns DeleteAlertContactGroupResponse
|
|
@@ -22963,8 +23325,7 @@ export default class Client extends OpenApi {
|
|
|
22963
23325
|
* Queries or issues the kubeconfig credentials of a Resource Access Management (RAM) user or RAM role of the account. If you are the permission manager of a Container Service for Kubernetes (ACK) cluster, you can issue the kubeconfig credentials to a specific RAM user or RAM role of the account by using the Alibaba Cloud account. The kubeconfig credentials, which are used to connect to the ACK cluster, contain the identity information about the RAM user or RAM role.
|
|
22964
23326
|
*
|
|
22965
23327
|
* @remarks
|
|
22966
|
-
*
|
|
22967
|
-
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
23328
|
+
* You can call this operation only by using an Alibaba Cloud account.
|
|
22968
23329
|
*
|
|
22969
23330
|
* @param request - DescribeSubaccountK8sClusterUserConfigRequest
|
|
22970
23331
|
* @param headers - map
|
|
@@ -22978,8 +23339,7 @@ export default class Client extends OpenApi {
|
|
|
22978
23339
|
* Queries or issues the kubeconfig credentials of a Resource Access Management (RAM) user or RAM role of the account. If you are the permission manager of a Container Service for Kubernetes (ACK) cluster, you can issue the kubeconfig credentials to a specific RAM user or RAM role of the account by using the Alibaba Cloud account. The kubeconfig credentials, which are used to connect to the ACK cluster, contain the identity information about the RAM user or RAM role.
|
|
22979
23340
|
*
|
|
22980
23341
|
* @remarks
|
|
22981
|
-
*
|
|
22982
|
-
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
23342
|
+
* You can call this operation only by using an Alibaba Cloud account.
|
|
22983
23343
|
*
|
|
22984
23344
|
* @param request - DescribeSubaccountK8sClusterUserConfigRequest
|
|
22985
23345
|
* @returns DescribeSubaccountK8sClusterUserConfigResponse
|
|
@@ -23205,35 +23565,41 @@ export default class Client extends OpenApi {
|
|
|
23205
23565
|
*/
|
|
23206
23566
|
getClusterCheck(clusterId: string, checkId: string): Promise<GetClusterCheckResponse>;
|
|
23207
23567
|
/**
|
|
23208
|
-
*
|
|
23568
|
+
* Queries cluster diagnostic items.
|
|
23209
23569
|
*
|
|
23570
|
+
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
23210
23571
|
* @param headers - map
|
|
23211
23572
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
23212
23573
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
23213
23574
|
*/
|
|
23214
|
-
getClusterDiagnosisCheckItemsWithOptions(clusterId: string, diagnosisId: string, headers: {
|
|
23575
|
+
getClusterDiagnosisCheckItemsWithOptions(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisCheckItemsRequest, headers: {
|
|
23215
23576
|
[key: string]: string;
|
|
23216
23577
|
}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisCheckItemsResponse>;
|
|
23217
23578
|
/**
|
|
23218
|
-
*
|
|
23579
|
+
* Queries cluster diagnostic items.
|
|
23580
|
+
*
|
|
23581
|
+
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
23219
23582
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
23220
23583
|
*/
|
|
23221
|
-
getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisCheckItemsResponse>;
|
|
23584
|
+
getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisCheckItemsRequest): Promise<GetClusterDiagnosisCheckItemsResponse>;
|
|
23222
23585
|
/**
|
|
23223
|
-
*
|
|
23586
|
+
* Queries cluster diagnostic results.
|
|
23224
23587
|
*
|
|
23588
|
+
* @param request - GetClusterDiagnosisResultRequest
|
|
23225
23589
|
* @param headers - map
|
|
23226
23590
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
23227
23591
|
* @returns GetClusterDiagnosisResultResponse
|
|
23228
23592
|
*/
|
|
23229
|
-
getClusterDiagnosisResultWithOptions(clusterId: string, diagnosisId: string, headers: {
|
|
23593
|
+
getClusterDiagnosisResultWithOptions(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisResultRequest, headers: {
|
|
23230
23594
|
[key: string]: string;
|
|
23231
23595
|
}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisResultResponse>;
|
|
23232
23596
|
/**
|
|
23233
|
-
*
|
|
23597
|
+
* Queries cluster diagnostic results.
|
|
23598
|
+
*
|
|
23599
|
+
* @param request - GetClusterDiagnosisResultRequest
|
|
23234
23600
|
* @returns GetClusterDiagnosisResultResponse
|
|
23235
23601
|
*/
|
|
23236
|
-
getClusterDiagnosisResult(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisResultResponse>;
|
|
23602
|
+
getClusterDiagnosisResult(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisResultRequest): Promise<GetClusterDiagnosisResultResponse>;
|
|
23237
23603
|
/**
|
|
23238
23604
|
* You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
23239
23605
|
*
|
|
@@ -23373,7 +23739,7 @@ export default class Client extends OpenApi {
|
|
|
23373
23739
|
*/
|
|
23374
23740
|
listClusterChecks(clusterId: string, request: ListClusterChecksRequest): Promise<ListClusterChecksResponse>;
|
|
23375
23741
|
/**
|
|
23376
|
-
*
|
|
23742
|
+
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
23377
23743
|
*
|
|
23378
23744
|
* @remarks
|
|
23379
23745
|
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
@@ -23388,7 +23754,7 @@ export default class Client extends OpenApi {
|
|
|
23388
23754
|
[key: string]: string;
|
|
23389
23755
|
}, runtime: $Util.RuntimeOptions): Promise<ListClusterKubeconfigStatesResponse>;
|
|
23390
23756
|
/**
|
|
23391
|
-
*
|
|
23757
|
+
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
23392
23758
|
*
|
|
23393
23759
|
* @remarks
|
|
23394
23760
|
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
@@ -23743,10 +24109,11 @@ export default class Client extends OpenApi {
|
|
|
23743
24109
|
* Removes nodes from a node pool.
|
|
23744
24110
|
*
|
|
23745
24111
|
* @remarks
|
|
23746
|
-
*
|
|
23747
|
-
*
|
|
23748
|
-
*
|
|
23749
|
-
*
|
|
24112
|
+
* When you remove a node, the pods on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
24113
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
24114
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
24115
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
24116
|
+
* * Even if you set the `release_node` parameter to `true`, subscription nodes are not released. You must release the subscription nodes in the [ECS console](https://ecs.console.aliyun.com/) after you remove the nodes.
|
|
23750
24117
|
*
|
|
23751
24118
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
23752
24119
|
* @param headers - map
|
|
@@ -23760,10 +24127,11 @@ export default class Client extends OpenApi {
|
|
|
23760
24127
|
* Removes nodes from a node pool.
|
|
23761
24128
|
*
|
|
23762
24129
|
* @remarks
|
|
23763
|
-
*
|
|
23764
|
-
*
|
|
23765
|
-
*
|
|
23766
|
-
*
|
|
24130
|
+
* When you remove a node, the pods on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
24131
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
24132
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
24133
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
24134
|
+
* * Even if you set the `release_node` parameter to `true`, subscription nodes are not released. You must release the subscription nodes in the [ECS console](https://ecs.console.aliyun.com/) after you remove the nodes.
|
|
23767
24135
|
*
|
|
23768
24136
|
* @param request - RemoveNodePoolNodesRequest
|
|
23769
24137
|
* @returns RemoveNodePoolNodesResponse
|