@alicloud/cs20151215 4.8.3 → 4.8.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 +513 -122
- package/dist/client.js +134 -38
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +571 -126
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
|
*
|
|
@@ -1392,7 +1392,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1392
1392
|
* Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
1393
1393
|
*
|
|
1394
1394
|
* * `true`: enables auto-renewal.
|
|
1395
|
-
* * `false`: disables auto-renewal
|
|
1395
|
+
* * `false`: disables auto-renewal
|
|
1396
1396
|
*
|
|
1397
1397
|
* Default value: `false`
|
|
1398
1398
|
*
|
|
@@ -1408,7 +1408,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1408
1408
|
* @remarks
|
|
1409
1409
|
* 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
1410
|
*
|
|
1411
|
-
* Default value: 1
|
|
1411
|
+
* Default value: 1
|
|
1412
1412
|
*
|
|
1413
1413
|
* 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
1414
|
*
|
|
@@ -1489,7 +1489,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1489
1489
|
/**
|
|
1490
1490
|
* @remarks
|
|
1491
1491
|
* * `Kubernetes`: an ACK dedicated cluster.
|
|
1492
|
-
* * `ManagedKubernetes`:
|
|
1492
|
+
* * `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
1493
|
* * `ExternalKubernetes`: a registered cluster.
|
|
1494
1494
|
*
|
|
1495
1495
|
* This parameter is required.
|
|
@@ -1783,7 +1783,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1783
1783
|
loginPassword?: string;
|
|
1784
1784
|
/**
|
|
1785
1785
|
* @remarks
|
|
1786
|
-
*
|
|
1786
|
+
* The configurations of the cluster maintenance window.
|
|
1787
1787
|
*/
|
|
1788
1788
|
maintenanceWindow?: MaintenanceWindow;
|
|
1789
1789
|
/**
|
|
@@ -1791,7 +1791,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1791
1791
|
* 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
1792
|
*
|
|
1793
1793
|
* * `true`: enables auto-renewal.
|
|
1794
|
-
* * `false`: disables auto-renewal
|
|
1794
|
+
* * `false`: disables auto-renewal
|
|
1795
1795
|
*
|
|
1796
1796
|
* Default value: `true`
|
|
1797
1797
|
*
|
|
@@ -1807,7 +1807,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1807
1807
|
*
|
|
1808
1808
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
1809
1809
|
*
|
|
1810
|
-
* Default value: 1
|
|
1810
|
+
* Default value: 1
|
|
1811
1811
|
*
|
|
1812
1812
|
* @example
|
|
1813
1813
|
* 1
|
|
@@ -1832,7 +1832,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1832
1832
|
* The billing method of master nodes. Valid values:
|
|
1833
1833
|
*
|
|
1834
1834
|
* * `PrePaid`: subscription.
|
|
1835
|
-
* * `PostPaid`: pay-as-you-go.
|
|
1835
|
+
* * `PostPaid`: the pay-as-you-go.
|
|
1836
1836
|
*
|
|
1837
1837
|
* Default value: `PostPaid`
|
|
1838
1838
|
*
|
|
@@ -1844,7 +1844,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1844
1844
|
masterInstanceChargeType?: string;
|
|
1845
1845
|
/**
|
|
1846
1846
|
* @remarks
|
|
1847
|
-
* The instance types of master nodes. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
1847
|
+
* The instance types of master nodes. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
1848
1848
|
*
|
|
1849
1849
|
* @deprecated
|
|
1850
1850
|
*/
|
|
@@ -1855,7 +1855,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1855
1855
|
*
|
|
1856
1856
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1857
1857
|
*
|
|
1858
|
-
* Default value: 1
|
|
1858
|
+
* Default value: 1
|
|
1859
1859
|
*
|
|
1860
1860
|
* @example
|
|
1861
1861
|
* 1
|
|
@@ -1880,7 +1880,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1880
1880
|
* The system disk type of master nodes. Valid values:
|
|
1881
1881
|
*
|
|
1882
1882
|
* * `cloud_efficiency`: ultra disk
|
|
1883
|
-
* * `cloud_ssd`: standard SSD
|
|
1883
|
+
* * `cloud_ssd`: standard SSD.
|
|
1884
1884
|
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
1885
1885
|
*
|
|
1886
1886
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
@@ -1934,7 +1934,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1934
1934
|
masterVswitchIds?: string[];
|
|
1935
1935
|
/**
|
|
1936
1936
|
* @remarks
|
|
1937
|
-
* The name
|
|
1937
|
+
* The cluster name.
|
|
1938
1938
|
*
|
|
1939
1939
|
* 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
1940
|
*
|
|
@@ -2006,7 +2006,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2006
2006
|
numOfNodes?: number;
|
|
2007
2007
|
/**
|
|
2008
2008
|
* @remarks
|
|
2009
|
-
*
|
|
2009
|
+
* The automatic O\\&M policy of the cluster.
|
|
2010
2010
|
*/
|
|
2011
2011
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
2012
2012
|
/**
|
|
@@ -2030,7 +2030,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2030
2030
|
*
|
|
2031
2031
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2032
2032
|
*
|
|
2033
|
-
* Default value: 1
|
|
2033
|
+
* Default value: 1
|
|
2034
2034
|
*
|
|
2035
2035
|
* 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
2036
|
*
|
|
@@ -2056,7 +2056,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2056
2056
|
periodUnit?: string;
|
|
2057
2057
|
/**
|
|
2058
2058
|
* @remarks
|
|
2059
|
-
* The
|
|
2059
|
+
* The OS distribution that is used. Valid values:
|
|
2060
2060
|
*
|
|
2061
2061
|
* * CentOS
|
|
2062
2062
|
* * AliyunLinux
|
|
@@ -2084,10 +2084,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2084
2084
|
* @remarks
|
|
2085
2085
|
* 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
2086
|
*
|
|
2087
|
-
* * `Default
|
|
2088
|
-
* * `Edge`:
|
|
2089
|
-
* * `Serverless`:
|
|
2090
|
-
* * `Lingjun`:
|
|
2087
|
+
* * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
2088
|
+
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
2089
|
+
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
2090
|
+
* * `Lingjun`: ACK Lingjun Pro cluster.
|
|
2091
2091
|
*
|
|
2092
2092
|
* @example
|
|
2093
2093
|
* Default
|
|
@@ -2210,12 +2210,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2210
2210
|
snatEntry?: boolean;
|
|
2211
2211
|
/**
|
|
2212
2212
|
* @remarks
|
|
2213
|
-
* Specifies whether to enable
|
|
2213
|
+
* 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
2214
|
*
|
|
2215
2215
|
* Valid values:
|
|
2216
2216
|
*
|
|
2217
|
-
* * `true`: enables security hardening
|
|
2218
|
-
* * `false`: disables security hardening
|
|
2217
|
+
* * `true`: enables MLPS security hardening.
|
|
2218
|
+
* * `false`: disables MLPS security hardening.
|
|
2219
2219
|
*
|
|
2220
2220
|
* Default value: `false`
|
|
2221
2221
|
*
|
|
@@ -2240,15 +2240,15 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2240
2240
|
sshFlags?: boolean;
|
|
2241
2241
|
/**
|
|
2242
2242
|
* @remarks
|
|
2243
|
-
* The tags to be added to nodes.
|
|
2243
|
+
* The tags to be added to nodes. When you add tags to a node, the following rules apply:
|
|
2244
2244
|
*
|
|
2245
|
-
* * A
|
|
2245
|
+
* * A tag is a case-sensitive key-value pair. You can add up to 20 tags.
|
|
2246
2246
|
* * 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
2247
|
*/
|
|
2248
2248
|
tags?: Tag[];
|
|
2249
2249
|
/**
|
|
2250
2250
|
* @remarks
|
|
2251
|
-
* The
|
|
2251
|
+
* 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
2252
|
*
|
|
2253
2253
|
* @deprecated
|
|
2254
2254
|
*/
|
|
@@ -2341,7 +2341,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2341
2341
|
* The billing method of worker nodes. Valid values:
|
|
2342
2342
|
*
|
|
2343
2343
|
* * `PrePaid`: subscription.
|
|
2344
|
-
* * `PostPaid`: pay-as-you-go.
|
|
2344
|
+
* * `PostPaid`: the pay-as-you-go.
|
|
2345
2345
|
*
|
|
2346
2346
|
* Default value: PostPaid.
|
|
2347
2347
|
*
|
|
@@ -2364,7 +2364,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2364
2364
|
*
|
|
2365
2365
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2366
2366
|
*
|
|
2367
|
-
* Default value: 1
|
|
2367
|
+
* Default value: 1
|
|
2368
2368
|
*
|
|
2369
2369
|
* @example
|
|
2370
2370
|
* 1
|
|
@@ -4448,7 +4448,7 @@ export declare class DescribeClusterAttachScriptsResponse extends $tea.Model {
|
|
|
4448
4448
|
export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
4449
4449
|
/**
|
|
4450
4450
|
* @remarks
|
|
4451
|
-
* The
|
|
4451
|
+
* The domain name of the cluster.
|
|
4452
4452
|
*
|
|
4453
4453
|
* @example
|
|
4454
4454
|
* cluster.local
|
|
@@ -4485,12 +4485,16 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4485
4485
|
clusterType?: string;
|
|
4486
4486
|
/**
|
|
4487
4487
|
* @remarks
|
|
4488
|
-
* The CIDR block of the pod.
|
|
4488
|
+
* The CIDR block of the pod. The configuration of the Flannel network plug-in.
|
|
4489
4489
|
*
|
|
4490
4490
|
* @example
|
|
4491
4491
|
* 172.20.0.0/16
|
|
4492
4492
|
*/
|
|
4493
4493
|
containerCidr?: string;
|
|
4494
|
+
/**
|
|
4495
|
+
* @remarks
|
|
4496
|
+
* The control plane configurations in an ACK dedicated cluster.
|
|
4497
|
+
*/
|
|
4494
4498
|
controlPlaneConfig?: DescribeClusterDetailResponseBodyControlPlaneConfig;
|
|
4495
4499
|
/**
|
|
4496
4500
|
* @remarks
|
|
@@ -4603,7 +4607,7 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4603
4607
|
nextVersion?: string;
|
|
4604
4608
|
/**
|
|
4605
4609
|
* @remarks
|
|
4606
|
-
* The number of
|
|
4610
|
+
* 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
4611
|
*
|
|
4608
4612
|
* @example
|
|
4609
4613
|
* 26
|
|
@@ -4649,7 +4653,10 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4649
4653
|
profile?: string;
|
|
4650
4654
|
/**
|
|
4651
4655
|
* @remarks
|
|
4652
|
-
* The proxy mode. Valid values:
|
|
4656
|
+
* The kube-proxy mode. Valid values:
|
|
4657
|
+
*
|
|
4658
|
+
* * `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.
|
|
4659
|
+
* * `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
4660
|
*
|
|
4654
4661
|
* @example
|
|
4655
4662
|
* ipvs
|
|
@@ -4681,7 +4688,7 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4681
4688
|
securityGroupId?: string;
|
|
4682
4689
|
/**
|
|
4683
4690
|
* @remarks
|
|
4684
|
-
* The CIDR block of the
|
|
4691
|
+
* The CIDR block of the service network.
|
|
4685
4692
|
*
|
|
4686
4693
|
* This parameter is required.
|
|
4687
4694
|
*
|
|
@@ -4743,7 +4750,7 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4743
4750
|
tags?: Tag[];
|
|
4744
4751
|
/**
|
|
4745
4752
|
* @remarks
|
|
4746
|
-
* The time zone
|
|
4753
|
+
* The time zone
|
|
4747
4754
|
*
|
|
4748
4755
|
* @example
|
|
4749
4756
|
* Asia/Shanghai
|
|
@@ -4767,7 +4774,7 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4767
4774
|
vpcId?: string;
|
|
4768
4775
|
/**
|
|
4769
4776
|
* @remarks
|
|
4770
|
-
* The
|
|
4777
|
+
* 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
4778
|
*
|
|
4772
4779
|
* @example
|
|
4773
4780
|
* vsw-2zete8s4qocqg0mf6****,vsw-2zete8s4qocqg0mf6****
|
|
@@ -5657,7 +5664,7 @@ export declare class DescribeClustersV1Request extends $tea.Model {
|
|
|
5657
5664
|
export declare class DescribeClustersV1ResponseBody extends $tea.Model {
|
|
5658
5665
|
/**
|
|
5659
5666
|
* @remarks
|
|
5660
|
-
*
|
|
5667
|
+
* Details of the clusters.
|
|
5661
5668
|
*/
|
|
5662
5669
|
clusters?: DescribeClustersV1ResponseBodyClusters[];
|
|
5663
5670
|
/**
|
|
@@ -7541,6 +7548,25 @@ export declare class GetClusterCheckResponse extends $tea.Model {
|
|
|
7541
7548
|
[key: string]: any;
|
|
7542
7549
|
});
|
|
7543
7550
|
}
|
|
7551
|
+
export declare class GetClusterDiagnosisCheckItemsRequest extends $tea.Model {
|
|
7552
|
+
/**
|
|
7553
|
+
* @remarks
|
|
7554
|
+
* 查询语言。
|
|
7555
|
+
*
|
|
7556
|
+
* @example
|
|
7557
|
+
* zh_CN
|
|
7558
|
+
*/
|
|
7559
|
+
language?: string;
|
|
7560
|
+
static names(): {
|
|
7561
|
+
[key: string]: string;
|
|
7562
|
+
};
|
|
7563
|
+
static types(): {
|
|
7564
|
+
[key: string]: any;
|
|
7565
|
+
};
|
|
7566
|
+
constructor(map?: {
|
|
7567
|
+
[key: string]: any;
|
|
7568
|
+
});
|
|
7569
|
+
}
|
|
7544
7570
|
export declare class GetClusterDiagnosisCheckItemsResponseBody extends $tea.Model {
|
|
7545
7571
|
/**
|
|
7546
7572
|
* @remarks
|
|
@@ -7597,6 +7623,25 @@ export declare class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
|
|
|
7597
7623
|
[key: string]: any;
|
|
7598
7624
|
});
|
|
7599
7625
|
}
|
|
7626
|
+
export declare class GetClusterDiagnosisResultRequest extends $tea.Model {
|
|
7627
|
+
/**
|
|
7628
|
+
* @remarks
|
|
7629
|
+
* 查询语言。
|
|
7630
|
+
*
|
|
7631
|
+
* @example
|
|
7632
|
+
* zh_CN
|
|
7633
|
+
*/
|
|
7634
|
+
language?: string;
|
|
7635
|
+
static names(): {
|
|
7636
|
+
[key: string]: string;
|
|
7637
|
+
};
|
|
7638
|
+
static types(): {
|
|
7639
|
+
[key: string]: any;
|
|
7640
|
+
};
|
|
7641
|
+
constructor(map?: {
|
|
7642
|
+
[key: string]: any;
|
|
7643
|
+
});
|
|
7644
|
+
}
|
|
7600
7645
|
export declare class GetClusterDiagnosisResultResponseBody extends $tea.Model {
|
|
7601
7646
|
/**
|
|
7602
7647
|
* @remarks
|
|
@@ -7912,11 +7957,47 @@ export declare class InstallClusterAddonsRequest extends $tea.Model {
|
|
|
7912
7957
|
[key: string]: any;
|
|
7913
7958
|
});
|
|
7914
7959
|
}
|
|
7960
|
+
export declare class InstallClusterAddonsResponseBody extends $tea.Model {
|
|
7961
|
+
/**
|
|
7962
|
+
* @remarks
|
|
7963
|
+
* The ID of the cluster.
|
|
7964
|
+
*
|
|
7965
|
+
* @example
|
|
7966
|
+
* c82e6987e2961451182edacd74faf****
|
|
7967
|
+
*/
|
|
7968
|
+
clusterId?: string;
|
|
7969
|
+
/**
|
|
7970
|
+
* @remarks
|
|
7971
|
+
* The request ID.
|
|
7972
|
+
*
|
|
7973
|
+
* @example
|
|
7974
|
+
* 48BD70F6-A7E6-543D-9F23-08DEB764C92E
|
|
7975
|
+
*/
|
|
7976
|
+
requestId?: string;
|
|
7977
|
+
/**
|
|
7978
|
+
* @remarks
|
|
7979
|
+
* The ID of the job.
|
|
7980
|
+
*
|
|
7981
|
+
* @example
|
|
7982
|
+
* T-5a54309c80282e39ea00002f
|
|
7983
|
+
*/
|
|
7984
|
+
taskId?: string;
|
|
7985
|
+
static names(): {
|
|
7986
|
+
[key: string]: string;
|
|
7987
|
+
};
|
|
7988
|
+
static types(): {
|
|
7989
|
+
[key: string]: any;
|
|
7990
|
+
};
|
|
7991
|
+
constructor(map?: {
|
|
7992
|
+
[key: string]: any;
|
|
7993
|
+
});
|
|
7994
|
+
}
|
|
7915
7995
|
export declare class InstallClusterAddonsResponse extends $tea.Model {
|
|
7916
7996
|
headers?: {
|
|
7917
7997
|
[key: string]: string;
|
|
7918
7998
|
};
|
|
7919
7999
|
statusCode?: number;
|
|
8000
|
+
body?: InstallClusterAddonsResponseBody;
|
|
7920
8001
|
static names(): {
|
|
7921
8002
|
[key: string]: string;
|
|
7922
8003
|
};
|
|
@@ -8591,12 +8672,12 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8591
8672
|
controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
|
|
8592
8673
|
/**
|
|
8593
8674
|
* @remarks
|
|
8594
|
-
* Specifies whether to enable cluster deletion protection. If
|
|
8675
|
+
* 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:
|
|
8595
8676
|
*
|
|
8596
8677
|
* * `true`: enables cluster deletion protection.
|
|
8597
8678
|
* * `false`: disables cluster deletion protection.
|
|
8598
8679
|
*
|
|
8599
|
-
* Default value: `false
|
|
8680
|
+
* Default value: `false`
|
|
8600
8681
|
*
|
|
8601
8682
|
* @example
|
|
8602
8683
|
* true
|
|
@@ -8620,7 +8701,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8620
8701
|
* * `true`: remaps the test domain name of the cluster.
|
|
8621
8702
|
* * `false`: does not remap the test domain name of the cluster.
|
|
8622
8703
|
*
|
|
8623
|
-
* Default value: `false
|
|
8704
|
+
* Default value: `false`
|
|
8624
8705
|
*
|
|
8625
8706
|
* @example
|
|
8626
8707
|
* true
|
|
@@ -8641,7 +8722,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8641
8722
|
* * `true`: enables instance deletion protection.
|
|
8642
8723
|
* * `false`: disables instance deletion protection.
|
|
8643
8724
|
*
|
|
8644
|
-
* Default value: `false
|
|
8725
|
+
* Default value: `false`
|
|
8645
8726
|
*
|
|
8646
8727
|
* @example
|
|
8647
8728
|
* true
|
|
@@ -8670,6 +8751,15 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8670
8751
|
* The storage configurations of system events.
|
|
8671
8752
|
*/
|
|
8672
8753
|
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
8754
|
+
/**
|
|
8755
|
+
* @remarks
|
|
8756
|
+
* 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:
|
|
8757
|
+
*
|
|
8758
|
+
* * This parameter overwrites the existing configuration. You must specify all vSwitches of the control planes.
|
|
8759
|
+
* * The control planes restart during the update process. Exercise caution when you perform this operation.
|
|
8760
|
+
* * 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.
|
|
8761
|
+
* * 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.
|
|
8762
|
+
*/
|
|
8673
8763
|
vswitchIds?: string[];
|
|
8674
8764
|
static names(): {
|
|
8675
8765
|
[key: string]: string;
|
|
@@ -8769,7 +8859,7 @@ export declare class ModifyClusterAddonResponse extends $tea.Model {
|
|
|
8769
8859
|
export declare class ModifyClusterConfigurationRequest extends $tea.Model {
|
|
8770
8860
|
/**
|
|
8771
8861
|
* @remarks
|
|
8772
|
-
* The custom
|
|
8862
|
+
* The custom configurations.
|
|
8773
8863
|
*/
|
|
8774
8864
|
customizeConfig?: ModifyClusterConfigurationRequestCustomizeConfig[];
|
|
8775
8865
|
static names(): {
|
|
@@ -9270,8 +9360,12 @@ export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
9270
9360
|
instanceIds?: string[];
|
|
9271
9361
|
/**
|
|
9272
9362
|
* @remarks
|
|
9363
|
+
* This parameter is deprecated.
|
|
9364
|
+
*
|
|
9273
9365
|
* A list of nodes that you want to remove.
|
|
9274
9366
|
*
|
|
9367
|
+
* > This parameter is deprecated. Use instance_ids instead.
|
|
9368
|
+
*
|
|
9275
9369
|
* @deprecated
|
|
9276
9370
|
*/
|
|
9277
9371
|
nodes?: string[];
|
|
@@ -9323,8 +9417,12 @@ export declare class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
|
9323
9417
|
instanceIdsShrink?: string;
|
|
9324
9418
|
/**
|
|
9325
9419
|
* @remarks
|
|
9420
|
+
* This parameter is deprecated.
|
|
9421
|
+
*
|
|
9326
9422
|
* A list of nodes that you want to remove.
|
|
9327
9423
|
*
|
|
9424
|
+
* > This parameter is deprecated. Use instance_ids instead.
|
|
9425
|
+
*
|
|
9328
9426
|
* @deprecated
|
|
9329
9427
|
*/
|
|
9330
9428
|
nodesShrink?: string;
|
|
@@ -10300,11 +10398,38 @@ export declare class UnInstallClusterAddonsRequest extends $tea.Model {
|
|
|
10300
10398
|
[key: string]: any;
|
|
10301
10399
|
});
|
|
10302
10400
|
}
|
|
10401
|
+
export declare class UnInstallClusterAddonsResponseBody extends $tea.Model {
|
|
10402
|
+
/**
|
|
10403
|
+
* @remarks
|
|
10404
|
+
* 集群ID。
|
|
10405
|
+
*/
|
|
10406
|
+
clusterId?: string;
|
|
10407
|
+
/**
|
|
10408
|
+
* @remarks
|
|
10409
|
+
* 请求ID。
|
|
10410
|
+
*/
|
|
10411
|
+
requestId?: string;
|
|
10412
|
+
/**
|
|
10413
|
+
* @remarks
|
|
10414
|
+
* 任务ID。
|
|
10415
|
+
*/
|
|
10416
|
+
taskId?: string;
|
|
10417
|
+
static names(): {
|
|
10418
|
+
[key: string]: string;
|
|
10419
|
+
};
|
|
10420
|
+
static types(): {
|
|
10421
|
+
[key: string]: any;
|
|
10422
|
+
};
|
|
10423
|
+
constructor(map?: {
|
|
10424
|
+
[key: string]: any;
|
|
10425
|
+
});
|
|
10426
|
+
}
|
|
10303
10427
|
export declare class UnInstallClusterAddonsResponse extends $tea.Model {
|
|
10304
10428
|
headers?: {
|
|
10305
10429
|
[key: string]: string;
|
|
10306
10430
|
};
|
|
10307
10431
|
statusCode?: number;
|
|
10432
|
+
body?: UnInstallClusterAddonsResponseBody;
|
|
10308
10433
|
static names(): {
|
|
10309
10434
|
[key: string]: string;
|
|
10310
10435
|
};
|
|
@@ -10746,7 +10871,7 @@ export declare class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model
|
|
|
10746
10871
|
export declare class UpdateResourcesDeleteProtectionRequest extends $tea.Model {
|
|
10747
10872
|
/**
|
|
10748
10873
|
* @remarks
|
|
10749
|
-
*
|
|
10874
|
+
* 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.
|
|
10750
10875
|
*
|
|
10751
10876
|
* @example
|
|
10752
10877
|
* true
|
|
@@ -10933,7 +11058,7 @@ export declare class UpdateUserPermissionsRequest extends $tea.Model {
|
|
|
10933
11058
|
* * `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.
|
|
10934
11059
|
* * `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.
|
|
10935
11060
|
*
|
|
10936
|
-
* Default value: `apply
|
|
11061
|
+
* Default value: `apply`.
|
|
10937
11062
|
*
|
|
10938
11063
|
* @example
|
|
10939
11064
|
* apply
|
|
@@ -10996,7 +11121,7 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
10996
11121
|
nextVersion?: string;
|
|
10997
11122
|
/**
|
|
10998
11123
|
* @remarks
|
|
10999
|
-
*
|
|
11124
|
+
* The rotation configuration.
|
|
11000
11125
|
*/
|
|
11001
11126
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
11002
11127
|
/**
|
|
@@ -11953,29 +12078,121 @@ export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
11953
12078
|
});
|
|
11954
12079
|
}
|
|
11955
12080
|
export declare class CreateClusterRequestControlPlaneConfig extends $tea.Model {
|
|
12081
|
+
/**
|
|
12082
|
+
* @example
|
|
12083
|
+
* true
|
|
12084
|
+
*/
|
|
11956
12085
|
autoRenew?: boolean;
|
|
12086
|
+
/**
|
|
12087
|
+
* @example
|
|
12088
|
+
* 1
|
|
12089
|
+
*/
|
|
11957
12090
|
autoRenewPeriod?: number;
|
|
12091
|
+
/**
|
|
12092
|
+
* @example
|
|
12093
|
+
* PrePaid
|
|
12094
|
+
*/
|
|
11958
12095
|
chargeType?: string;
|
|
12096
|
+
/**
|
|
12097
|
+
* @example
|
|
12098
|
+
* true
|
|
12099
|
+
*/
|
|
11959
12100
|
cloudMonitorFlags?: boolean;
|
|
12101
|
+
/**
|
|
12102
|
+
* @example
|
|
12103
|
+
* none
|
|
12104
|
+
*/
|
|
11960
12105
|
cpuPolicy?: string;
|
|
12106
|
+
/**
|
|
12107
|
+
* @example
|
|
12108
|
+
* ds-bp10b35imuam5amw****
|
|
12109
|
+
*/
|
|
11961
12110
|
deploymentsetId?: string;
|
|
12111
|
+
/**
|
|
12112
|
+
* @example
|
|
12113
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
12114
|
+
*/
|
|
11962
12115
|
imageId?: string;
|
|
12116
|
+
/**
|
|
12117
|
+
* @example
|
|
12118
|
+
* AliyunLinux3
|
|
12119
|
+
*/
|
|
11963
12120
|
imageType?: string;
|
|
11964
12121
|
instanceTypes?: string[];
|
|
12122
|
+
/**
|
|
12123
|
+
* @example
|
|
12124
|
+
* ack
|
|
12125
|
+
*/
|
|
11965
12126
|
keyPair?: string;
|
|
12127
|
+
/**
|
|
12128
|
+
* @example
|
|
12129
|
+
* ack@Test
|
|
12130
|
+
*/
|
|
11966
12131
|
loginPassword?: string;
|
|
12132
|
+
/**
|
|
12133
|
+
* @example
|
|
12134
|
+
* 30000-32767
|
|
12135
|
+
*/
|
|
11967
12136
|
nodePortRange?: string;
|
|
12137
|
+
/**
|
|
12138
|
+
* @example
|
|
12139
|
+
* 1
|
|
12140
|
+
*/
|
|
11968
12141
|
period?: number;
|
|
12142
|
+
/**
|
|
12143
|
+
* @example
|
|
12144
|
+
* Month
|
|
12145
|
+
*/
|
|
11969
12146
|
periodUnit?: string;
|
|
12147
|
+
/**
|
|
12148
|
+
* @example
|
|
12149
|
+
* containerd
|
|
12150
|
+
*/
|
|
11970
12151
|
runtime?: string;
|
|
12152
|
+
/**
|
|
12153
|
+
* @example
|
|
12154
|
+
* true
|
|
12155
|
+
*/
|
|
11971
12156
|
securityHardeningOs?: boolean;
|
|
12157
|
+
/**
|
|
12158
|
+
* @example
|
|
12159
|
+
* 3
|
|
12160
|
+
*/
|
|
11972
12161
|
size?: number;
|
|
12162
|
+
/**
|
|
12163
|
+
* @example
|
|
12164
|
+
* true
|
|
12165
|
+
*/
|
|
11973
12166
|
socEnabled?: boolean;
|
|
12167
|
+
/**
|
|
12168
|
+
* @example
|
|
12169
|
+
* true
|
|
12170
|
+
*/
|
|
11974
12171
|
systemDiskBurstingEnabled?: boolean;
|
|
12172
|
+
/**
|
|
12173
|
+
* @example
|
|
12174
|
+
* cloud_essd
|
|
12175
|
+
*/
|
|
11975
12176
|
systemDiskCategory?: string;
|
|
12177
|
+
/**
|
|
12178
|
+
* @example
|
|
12179
|
+
* PL1
|
|
12180
|
+
*/
|
|
11976
12181
|
systemDiskPerformanceLevel?: string;
|
|
12182
|
+
/**
|
|
12183
|
+
* @example
|
|
12184
|
+
* 1000
|
|
12185
|
+
*/
|
|
11977
12186
|
systemDiskProvisionedIops?: number;
|
|
12187
|
+
/**
|
|
12188
|
+
* @example
|
|
12189
|
+
* 120
|
|
12190
|
+
*/
|
|
11978
12191
|
systemDiskSize?: number;
|
|
12192
|
+
/**
|
|
12193
|
+
* @example
|
|
12194
|
+
* sp-2zej1nogjvovnz4z****
|
|
12195
|
+
*/
|
|
11979
12196
|
systemDiskSnapshotPolicyId?: string;
|
|
11980
12197
|
static names(): {
|
|
11981
12198
|
[key: string]: string;
|
|
@@ -11990,11 +12207,11 @@ export declare class CreateClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
11990
12207
|
export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
11991
12208
|
/**
|
|
11992
12209
|
* @remarks
|
|
11993
|
-
*
|
|
12210
|
+
* The automatic update frequency. Valid values:
|
|
11994
12211
|
*
|
|
11995
|
-
*
|
|
11996
|
-
*
|
|
11997
|
-
*
|
|
12212
|
+
* * patch
|
|
12213
|
+
* * stable
|
|
12214
|
+
* * rapid
|
|
11998
12215
|
*
|
|
11999
12216
|
* @example
|
|
12000
12217
|
* patch
|
|
@@ -12002,7 +12219,7 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
12002
12219
|
channel?: string;
|
|
12003
12220
|
/**
|
|
12004
12221
|
* @remarks
|
|
12005
|
-
*
|
|
12222
|
+
* Specifies whether to enable auto cluster update.
|
|
12006
12223
|
*
|
|
12007
12224
|
* @example
|
|
12008
12225
|
* true
|
|
@@ -12021,7 +12238,7 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
12021
12238
|
export declare class CreateClusterRequestOperationPolicy extends $tea.Model {
|
|
12022
12239
|
/**
|
|
12023
12240
|
* @remarks
|
|
12024
|
-
*
|
|
12241
|
+
* The configurations of auto cluster update.
|
|
12025
12242
|
*/
|
|
12026
12243
|
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
12027
12244
|
static names(): {
|
|
@@ -13409,28 +13626,186 @@ export declare class DescribeAddonsResponseBodyComponentGroups extends $tea.Mode
|
|
|
13409
13626
|
});
|
|
13410
13627
|
}
|
|
13411
13628
|
export declare class DescribeClusterDetailResponseBodyControlPlaneConfig extends $tea.Model {
|
|
13629
|
+
/**
|
|
13630
|
+
* @remarks
|
|
13631
|
+
* Indicates whether auto-renewal is enabled for the node.
|
|
13632
|
+
*
|
|
13633
|
+
* @example
|
|
13634
|
+
* true
|
|
13635
|
+
*/
|
|
13412
13636
|
autoRenew?: boolean;
|
|
13637
|
+
/**
|
|
13638
|
+
* @remarks
|
|
13639
|
+
* The auto-renewal duration for the node.
|
|
13640
|
+
*
|
|
13641
|
+
* @example
|
|
13642
|
+
* 1
|
|
13643
|
+
*/
|
|
13413
13644
|
autoRenewPeriod?: number;
|
|
13645
|
+
/**
|
|
13646
|
+
* @remarks
|
|
13647
|
+
* The billing method of the control plane node.
|
|
13648
|
+
*
|
|
13649
|
+
* @example
|
|
13650
|
+
* PrePaid
|
|
13651
|
+
*/
|
|
13414
13652
|
chargeType?: string;
|
|
13653
|
+
/**
|
|
13654
|
+
* @remarks
|
|
13655
|
+
* Indicates whether to install CloudMonitor for the node.
|
|
13656
|
+
*
|
|
13657
|
+
* @example
|
|
13658
|
+
* true
|
|
13659
|
+
*/
|
|
13415
13660
|
cloudMonitorFlags?: boolean;
|
|
13661
|
+
/**
|
|
13662
|
+
* @remarks
|
|
13663
|
+
* The CPU management policy of nodes.
|
|
13664
|
+
*
|
|
13665
|
+
* @example
|
|
13666
|
+
* none
|
|
13667
|
+
*/
|
|
13416
13668
|
cpuPolicy?: string;
|
|
13669
|
+
/**
|
|
13670
|
+
* @remarks
|
|
13671
|
+
* The ID of the deployment set.
|
|
13672
|
+
*
|
|
13673
|
+
* @example
|
|
13674
|
+
* ds-bp10b35imuam5amw****
|
|
13675
|
+
*/
|
|
13417
13676
|
deploymentsetId?: string;
|
|
13677
|
+
/**
|
|
13678
|
+
* @remarks
|
|
13679
|
+
* The ID of the image.
|
|
13680
|
+
*
|
|
13681
|
+
* @example
|
|
13682
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
13683
|
+
*/
|
|
13418
13684
|
imageId?: string;
|
|
13685
|
+
/**
|
|
13686
|
+
* @remarks
|
|
13687
|
+
* The type of the OS image.
|
|
13688
|
+
*
|
|
13689
|
+
* @example
|
|
13690
|
+
* AliyunLinux3
|
|
13691
|
+
*/
|
|
13419
13692
|
imageType?: string;
|
|
13693
|
+
/**
|
|
13694
|
+
* @remarks
|
|
13695
|
+
* The instance type of the node.
|
|
13696
|
+
*/
|
|
13420
13697
|
instanceTypes?: string[];
|
|
13698
|
+
/**
|
|
13699
|
+
* @remarks
|
|
13700
|
+
* The name of the key pair. You must set key_pair or login_password.
|
|
13701
|
+
*
|
|
13702
|
+
* @example
|
|
13703
|
+
* ack
|
|
13704
|
+
*/
|
|
13421
13705
|
keyPair?: string;
|
|
13706
|
+
/**
|
|
13707
|
+
* @remarks
|
|
13708
|
+
* The node port range.
|
|
13709
|
+
*
|
|
13710
|
+
* @example
|
|
13711
|
+
* 30000-32767
|
|
13712
|
+
*/
|
|
13422
13713
|
nodePortRange?: string;
|
|
13714
|
+
/**
|
|
13715
|
+
* @remarks
|
|
13716
|
+
* The subscription duration.
|
|
13717
|
+
*
|
|
13718
|
+
* @example
|
|
13719
|
+
* 1
|
|
13720
|
+
*/
|
|
13423
13721
|
period?: number;
|
|
13722
|
+
/**
|
|
13723
|
+
* @remarks
|
|
13724
|
+
* The unit of the subscription duration.
|
|
13725
|
+
*
|
|
13726
|
+
* @example
|
|
13727
|
+
* Month
|
|
13728
|
+
*/
|
|
13424
13729
|
periodUnit?: string;
|
|
13730
|
+
/**
|
|
13731
|
+
* @remarks
|
|
13732
|
+
* The runtime.
|
|
13733
|
+
*
|
|
13734
|
+
* @example
|
|
13735
|
+
* containerd
|
|
13736
|
+
*/
|
|
13425
13737
|
runtime?: string;
|
|
13738
|
+
/**
|
|
13739
|
+
* @remarks
|
|
13740
|
+
* Indicates whether to enable Alibaba Cloud Linux Security Hardening.
|
|
13741
|
+
*
|
|
13742
|
+
* @example
|
|
13743
|
+
* true
|
|
13744
|
+
*/
|
|
13426
13745
|
securityHardeningOs?: boolean;
|
|
13746
|
+
/**
|
|
13747
|
+
* @remarks
|
|
13748
|
+
* The number of control plane nodes.
|
|
13749
|
+
*
|
|
13750
|
+
* @example
|
|
13751
|
+
* 3
|
|
13752
|
+
*/
|
|
13427
13753
|
size?: number;
|
|
13754
|
+
/**
|
|
13755
|
+
* @remarks
|
|
13756
|
+
* Indicates whether to enable Multi-Level Protection Scheme (MLPS) security hardening.
|
|
13757
|
+
*
|
|
13758
|
+
* @example
|
|
13759
|
+
* false
|
|
13760
|
+
*/
|
|
13428
13761
|
socEnabled?: boolean;
|
|
13762
|
+
/**
|
|
13763
|
+
* @remarks
|
|
13764
|
+
* Indicates whether to enable the burst feature for the system disk.
|
|
13765
|
+
*
|
|
13766
|
+
* @example
|
|
13767
|
+
* true
|
|
13768
|
+
*/
|
|
13429
13769
|
systemDiskBurstingEnabled?: boolean;
|
|
13770
|
+
/**
|
|
13771
|
+
* @remarks
|
|
13772
|
+
* The category of the system disk for nodes.
|
|
13773
|
+
*
|
|
13774
|
+
* @example
|
|
13775
|
+
* cloud_essd
|
|
13776
|
+
*/
|
|
13430
13777
|
systemDiskCategory?: string;
|
|
13778
|
+
/**
|
|
13779
|
+
* @remarks
|
|
13780
|
+
* The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for ESSDs.
|
|
13781
|
+
*
|
|
13782
|
+
* @example
|
|
13783
|
+
* PL1
|
|
13784
|
+
*/
|
|
13431
13785
|
systemDiskPerformanceLevel?: string;
|
|
13786
|
+
/**
|
|
13787
|
+
* @remarks
|
|
13788
|
+
* The preset read/write IOPS of the system disk.
|
|
13789
|
+
*
|
|
13790
|
+
* @example
|
|
13791
|
+
* 1000
|
|
13792
|
+
*/
|
|
13432
13793
|
systemDiskProvisionedIops?: number;
|
|
13794
|
+
/**
|
|
13795
|
+
* @remarks
|
|
13796
|
+
* The system disk size of the node. The value must be at least 40 GB.
|
|
13797
|
+
*
|
|
13798
|
+
* @example
|
|
13799
|
+
* 120
|
|
13800
|
+
*/
|
|
13433
13801
|
systemDiskSize?: number;
|
|
13802
|
+
/**
|
|
13803
|
+
* @remarks
|
|
13804
|
+
* The automatic snapshot policy of the node.
|
|
13805
|
+
*
|
|
13806
|
+
* @example
|
|
13807
|
+
* sp-2zej1nogjvovnz4z****
|
|
13808
|
+
*/
|
|
13434
13809
|
systemDiskSnapshotPolicyId?: string;
|
|
13435
13810
|
static names(): {
|
|
13436
13811
|
[key: string]: string;
|
|
@@ -17047,7 +17422,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
17047
17422
|
clusterType?: string;
|
|
17048
17423
|
/**
|
|
17049
17424
|
* @remarks
|
|
17050
|
-
* The pod CIDR block.
|
|
17425
|
+
* The pod CIDR block and the configuration of the Flannel network plug-in.
|
|
17051
17426
|
*
|
|
17052
17427
|
* @example
|
|
17053
17428
|
* 172.20.0.0/16
|
|
@@ -17202,7 +17577,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
17202
17577
|
profile?: string;
|
|
17203
17578
|
/**
|
|
17204
17579
|
* @remarks
|
|
17205
|
-
* The
|
|
17580
|
+
* The Kube-proxy mode. Valid values:
|
|
17581
|
+
*
|
|
17582
|
+
* * `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.
|
|
17583
|
+
* * `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.
|
|
17206
17584
|
*
|
|
17207
17585
|
* @example
|
|
17208
17586
|
* ipvs
|
|
@@ -17271,7 +17649,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
17271
17649
|
state?: string;
|
|
17272
17650
|
/**
|
|
17273
17651
|
* @remarks
|
|
17274
|
-
* 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:
|
|
17652
|
+
* 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:
|
|
17275
17653
|
*
|
|
17276
17654
|
* * 10.0.0.0/8
|
|
17277
17655
|
* * 172.16-31.0.0/12-16
|
|
@@ -17294,7 +17672,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
17294
17672
|
tags?: Tag[];
|
|
17295
17673
|
/**
|
|
17296
17674
|
* @remarks
|
|
17297
|
-
* The time zone
|
|
17675
|
+
* The time zone
|
|
17298
17676
|
*
|
|
17299
17677
|
* @example
|
|
17300
17678
|
* Asia/Shanghai
|
|
@@ -20307,11 +20685,13 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
20307
20685
|
export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
20308
20686
|
/**
|
|
20309
20687
|
* @remarks
|
|
20310
|
-
* The frequency
|
|
20688
|
+
* The automatic update frequency. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
20311
20689
|
*
|
|
20312
|
-
*
|
|
20313
|
-
*
|
|
20314
|
-
* *
|
|
20690
|
+
* Valid values:
|
|
20691
|
+
*
|
|
20692
|
+
* * patch: specifies the latest patch version.
|
|
20693
|
+
* * stables: the second-latest minor version.
|
|
20694
|
+
* * rapid: the latest minor version.
|
|
20315
20695
|
*
|
|
20316
20696
|
* @example
|
|
20317
20697
|
* patch
|
|
@@ -20319,7 +20699,7 @@ export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
20319
20699
|
channel?: string;
|
|
20320
20700
|
/**
|
|
20321
20701
|
* @remarks
|
|
20322
|
-
* Specifies whether to enable
|
|
20702
|
+
* Specifies whether to enable automatic update.
|
|
20323
20703
|
*
|
|
20324
20704
|
* @example
|
|
20325
20705
|
* true
|
|
@@ -20338,7 +20718,7 @@ export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
20338
20718
|
export declare class ModifyClusterRequestOperationPolicy extends $tea.Model {
|
|
20339
20719
|
/**
|
|
20340
20720
|
* @remarks
|
|
20341
|
-
* The configurations of
|
|
20721
|
+
* The configurations of automatic update.
|
|
20342
20722
|
*/
|
|
20343
20723
|
clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
20344
20724
|
static names(): {
|
|
@@ -20408,7 +20788,7 @@ export declare class ModifyClusterConfigurationRequestCustomizeConfigConfigs ext
|
|
|
20408
20788
|
export declare class ModifyClusterConfigurationRequestCustomizeConfig extends $tea.Model {
|
|
20409
20789
|
/**
|
|
20410
20790
|
* @remarks
|
|
20411
|
-
* The custom
|
|
20791
|
+
* The custom configurations.
|
|
20412
20792
|
*/
|
|
20413
20793
|
configs?: ModifyClusterConfigurationRequestCustomizeConfigConfigs[];
|
|
20414
20794
|
/**
|
|
@@ -20432,7 +20812,7 @@ export declare class ModifyClusterConfigurationRequestCustomizeConfig extends $t
|
|
|
20432
20812
|
export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
20433
20813
|
/**
|
|
20434
20814
|
* @remarks
|
|
20435
|
-
* The maximum bandwidth of the EIP.
|
|
20815
|
+
* The maximum bandwidth of the elastic IP address (EIP).
|
|
20436
20816
|
*
|
|
20437
20817
|
* @example
|
|
20438
20818
|
* 5
|
|
@@ -20445,7 +20825,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
20445
20825
|
* The billing method of the EIP. Valid values:
|
|
20446
20826
|
*
|
|
20447
20827
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
20448
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
20828
|
+
* * `PayByTraffic`: pay-by-data-transfer
|
|
20449
20829
|
*
|
|
20450
20830
|
* Default value: `PayByBandwidth`.
|
|
20451
20831
|
*
|
|
@@ -20472,10 +20852,10 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
20472
20852
|
* @remarks
|
|
20473
20853
|
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
20474
20854
|
*
|
|
20475
|
-
* * `true`:
|
|
20855
|
+
* * `true`: An EIP is associated with the node pool.
|
|
20476
20856
|
* * `false`: No EIP is associated with the node pool.
|
|
20477
20857
|
*
|
|
20478
|
-
* Default value: `false
|
|
20858
|
+
* Default value: `false`
|
|
20479
20859
|
*
|
|
20480
20860
|
* @example
|
|
20481
20861
|
* true
|
|
@@ -20503,7 +20883,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
20503
20883
|
* @remarks
|
|
20504
20884
|
* The instance type that is used for auto scaling. Valid values:
|
|
20505
20885
|
*
|
|
20506
|
-
* * `cpu`: regular instance
|
|
20886
|
+
* * `cpu`: regular instance
|
|
20507
20887
|
* * `gpu`: GPU-accelerated instance.
|
|
20508
20888
|
* * `gpushare`: shared GPU-accelerated instance.
|
|
20509
20889
|
* * `spot`: preemptible instance.
|
|
@@ -20621,8 +21001,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
20621
21001
|
* @remarks
|
|
20622
21002
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
20623
21003
|
*
|
|
20624
|
-
* * `true`:
|
|
20625
|
-
* * `false`:
|
|
21004
|
+
* * `true`: yes.
|
|
21005
|
+
* * `false`: no.
|
|
20626
21006
|
*
|
|
20627
21007
|
* @example
|
|
20628
21008
|
* true
|
|
@@ -20643,8 +21023,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
20643
21023
|
* @remarks
|
|
20644
21024
|
* Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
|
|
20645
21025
|
*
|
|
20646
|
-
* * `true`:
|
|
20647
|
-
* * `false`:
|
|
21026
|
+
* * `true`: yes.
|
|
21027
|
+
* * `false`: no.
|
|
20648
21028
|
*
|
|
20649
21029
|
* @example
|
|
20650
21030
|
* true
|
|
@@ -20685,8 +21065,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
20685
21065
|
* @remarks
|
|
20686
21066
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
20687
21067
|
*
|
|
20688
|
-
* * `true`:
|
|
20689
|
-
* * `false`:
|
|
21068
|
+
* * `true`: yes.
|
|
21069
|
+
* * `false`: no.
|
|
20690
21070
|
*
|
|
20691
21071
|
* @example
|
|
20692
21072
|
* true
|
|
@@ -20713,7 +21093,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
20713
21093
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
20714
21094
|
/**
|
|
20715
21095
|
* @remarks
|
|
20716
|
-
* Specifies whether to enable auto update.
|
|
21096
|
+
* Specifies whether to enable auto update. Valid values:
|
|
20717
21097
|
*
|
|
20718
21098
|
* * true: enables auto update.
|
|
20719
21099
|
* * false: disables auto update.
|
|
@@ -20732,7 +21112,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
20732
21112
|
*
|
|
20733
21113
|
* Valid values: 1 to 1000.
|
|
20734
21114
|
*
|
|
20735
|
-
* Default value: 1
|
|
21115
|
+
* Default value: 1
|
|
20736
21116
|
*
|
|
20737
21117
|
* @example
|
|
20738
21118
|
* 1
|
|
@@ -20774,7 +21154,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
20774
21154
|
* * `true`: enables auto repair.
|
|
20775
21155
|
* * `false`: disables auto repair.
|
|
20776
21156
|
*
|
|
20777
|
-
* Default value: `true
|
|
21157
|
+
* Default value: `true`
|
|
20778
21158
|
*
|
|
20779
21159
|
* @example
|
|
20780
21160
|
* true
|
|
@@ -20787,7 +21167,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
20787
21167
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
20788
21168
|
/**
|
|
20789
21169
|
* @remarks
|
|
20790
|
-
*
|
|
21170
|
+
* Specifies whether to enable auto update. Valid values:
|
|
20791
21171
|
*
|
|
20792
21172
|
* * `true`: enables auto update.
|
|
20793
21173
|
* * `false`: disables auto update.
|
|
@@ -20805,7 +21185,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
20805
21185
|
* @remarks
|
|
20806
21186
|
* Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
|
|
20807
21187
|
*
|
|
20808
|
-
* * `true`:
|
|
21188
|
+
* * `true`: eanbles auto CVE patching.
|
|
20809
21189
|
* * `true`: disables auto CVE patching.
|
|
20810
21190
|
*
|
|
20811
21191
|
* @example
|
|
@@ -20860,7 +21240,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
20860
21240
|
name?: string;
|
|
20861
21241
|
/**
|
|
20862
21242
|
* @remarks
|
|
20863
|
-
* The
|
|
21243
|
+
* The resource group ID.
|
|
20864
21244
|
*
|
|
20865
21245
|
* @example
|
|
20866
21246
|
* rg-acfmyvw3wjm****
|
|
@@ -20889,7 +21269,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
20889
21269
|
* @remarks
|
|
20890
21270
|
* 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:
|
|
20891
21271
|
*
|
|
20892
|
-
* * `Open`: open private
|
|
21272
|
+
* * `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.
|
|
20893
21273
|
* * `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.
|
|
20894
21274
|
* * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
|
|
20895
21275
|
*
|
|
@@ -20952,9 +21332,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20952
21332
|
autoRenew?: boolean;
|
|
20953
21333
|
/**
|
|
20954
21334
|
* @remarks
|
|
20955
|
-
* The
|
|
21335
|
+
* The auto-renewal period. Valid values:
|
|
20956
21336
|
*
|
|
20957
|
-
*
|
|
21337
|
+
* * Valid values when PeriodUnit is set to Week: 1, 2, and 3
|
|
21338
|
+
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
|
|
21339
|
+
*
|
|
21340
|
+
* Default value: 1
|
|
20958
21341
|
*
|
|
20959
21342
|
* @example
|
|
20960
21343
|
* 1
|
|
@@ -20964,7 +21347,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20964
21347
|
* @remarks
|
|
20965
21348
|
* 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:
|
|
20966
21349
|
*
|
|
20967
|
-
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
21350
|
+
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
20968
21351
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
20969
21352
|
*
|
|
20970
21353
|
* @example
|
|
@@ -20973,7 +21356,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20973
21356
|
compensateWithOnDemand?: boolean;
|
|
20974
21357
|
/**
|
|
20975
21358
|
* @remarks
|
|
20976
|
-
* The configurations of the data disks that are mounted to
|
|
21359
|
+
* 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.
|
|
20977
21360
|
*/
|
|
20978
21361
|
dataDisks?: DataDisk[];
|
|
20979
21362
|
/**
|
|
@@ -20998,7 +21381,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20998
21381
|
*
|
|
20999
21382
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
21000
21383
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
21001
|
-
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
21384
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
21002
21385
|
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
21003
21386
|
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
21004
21387
|
* * `CentOS`: CentOS.
|
|
@@ -21035,7 +21418,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21035
21418
|
instanceTypes?: string[];
|
|
21036
21419
|
/**
|
|
21037
21420
|
* @remarks
|
|
21038
|
-
* The
|
|
21421
|
+
* The billing method of the public IP address. Valid values:
|
|
21039
21422
|
*
|
|
21040
21423
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
21041
21424
|
* * `PayByTraffic`: pay-by-data-transfer
|
|
@@ -21191,7 +21574,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21191
21574
|
* The bidding policy of preemptible instances. Valid values:
|
|
21192
21575
|
*
|
|
21193
21576
|
* * `NoSpot`: non-preemptible instance.
|
|
21194
|
-
* * `SpotWithPriceLimit`: specifies the highest bid
|
|
21577
|
+
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
21195
21578
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
21196
21579
|
*
|
|
21197
21580
|
* For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html).
|
|
@@ -21210,7 +21593,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21210
21593
|
systemDiskBurstingEnabled?: boolean;
|
|
21211
21594
|
/**
|
|
21212
21595
|
* @remarks
|
|
21213
|
-
* 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)
|
|
21596
|
+
* 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).
|
|
21214
21597
|
*/
|
|
21215
21598
|
systemDiskCategories?: string[];
|
|
21216
21599
|
/**
|
|
@@ -21218,7 +21601,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21218
21601
|
* The type of system disk. Valid values:
|
|
21219
21602
|
*
|
|
21220
21603
|
* * `cloud_efficiency`: ultra disk.
|
|
21221
|
-
* * `cloud_ssd`: standard SSD
|
|
21604
|
+
* * `cloud_ssd`: standard SSD.
|
|
21222
21605
|
*
|
|
21223
21606
|
* Default value: `cloud_ssd`.
|
|
21224
21607
|
*
|
|
@@ -21236,7 +21619,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21236
21619
|
systemDiskEncryptAlgorithm?: string;
|
|
21237
21620
|
/**
|
|
21238
21621
|
* @remarks
|
|
21239
|
-
*
|
|
21622
|
+
* Specifies whether to encrypt the system disk. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
|
|
21240
21623
|
*
|
|
21241
21624
|
* @example
|
|
21242
21625
|
* false
|
|
@@ -21272,7 +21655,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21272
21655
|
*
|
|
21273
21656
|
* Valid values: 20 to 500.
|
|
21274
21657
|
*
|
|
21275
|
-
* The value of this parameter must be at least 20 and greater than or equal to the image
|
|
21658
|
+
* The value of this parameter must be at least 20 and greater than or equal to the size of the image.
|
|
21276
21659
|
*
|
|
21277
21660
|
* Default value: the greater value between 40 and the image size.
|
|
21278
21661
|
*
|
|
@@ -21284,7 +21667,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21284
21667
|
* @remarks
|
|
21285
21668
|
* The tags that you want to add only to ECS instances.
|
|
21286
21669
|
*
|
|
21287
|
-
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs:
|
|
21670
|
+
* 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://.
|
|
21288
21671
|
*/
|
|
21289
21672
|
tags?: Tag[];
|
|
21290
21673
|
/**
|
|
@@ -21569,7 +21952,7 @@ export declare class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
|
21569
21952
|
export declare class UpgradeClusterRequestRollingPolicy extends $tea.Model {
|
|
21570
21953
|
/**
|
|
21571
21954
|
* @remarks
|
|
21572
|
-
*
|
|
21955
|
+
* The maximum size of each batch.
|
|
21573
21956
|
*
|
|
21574
21957
|
* @example
|
|
21575
21958
|
* 3
|
|
@@ -21825,7 +22208,7 @@ export default class Client extends OpenApi {
|
|
|
21825
22208
|
*/
|
|
21826
22209
|
checkServiceRole(request: CheckServiceRoleRequest): Promise<CheckServiceRoleResponse>;
|
|
21827
22210
|
/**
|
|
21828
|
-
*
|
|
22211
|
+
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
21829
22212
|
*
|
|
21830
22213
|
* @remarks
|
|
21831
22214
|
* >
|
|
@@ -21842,7 +22225,7 @@ export default class Client extends OpenApi {
|
|
|
21842
22225
|
[key: string]: string;
|
|
21843
22226
|
}, runtime: $Util.RuntimeOptions): Promise<CleanClusterUserPermissionsResponse>;
|
|
21844
22227
|
/**
|
|
21845
|
-
*
|
|
22228
|
+
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
21846
22229
|
*
|
|
21847
22230
|
* @remarks
|
|
21848
22231
|
* >
|
|
@@ -21937,7 +22320,7 @@ export default class Client extends OpenApi {
|
|
|
21937
22320
|
*/
|
|
21938
22321
|
createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse>;
|
|
21939
22322
|
/**
|
|
21940
|
-
*
|
|
22323
|
+
* Starts a cluster diagnostic.
|
|
21941
22324
|
*
|
|
21942
22325
|
* @param request - CreateClusterDiagnosisRequest
|
|
21943
22326
|
* @param headers - map
|
|
@@ -21948,7 +22331,7 @@ export default class Client extends OpenApi {
|
|
|
21948
22331
|
[key: string]: string;
|
|
21949
22332
|
}, runtime: $Util.RuntimeOptions): Promise<CreateClusterDiagnosisResponse>;
|
|
21950
22333
|
/**
|
|
21951
|
-
*
|
|
22334
|
+
* Starts a cluster diagnostic.
|
|
21952
22335
|
*
|
|
21953
22336
|
* @param request - CreateClusterDiagnosisRequest
|
|
21954
22337
|
* @returns CreateClusterDiagnosisResponse
|
|
@@ -22049,7 +22432,7 @@ export default class Client extends OpenApi {
|
|
|
22049
22432
|
*/
|
|
22050
22433
|
createTrigger(clusterId: string, request: CreateTriggerRequest): Promise<CreateTriggerResponse>;
|
|
22051
22434
|
/**
|
|
22052
|
-
*
|
|
22435
|
+
* Deletes one or more ACK alert contacts.
|
|
22053
22436
|
*
|
|
22054
22437
|
* @param tmpReq - DeleteAlertContactRequest
|
|
22055
22438
|
* @param headers - map
|
|
@@ -22060,14 +22443,14 @@ export default class Client extends OpenApi {
|
|
|
22060
22443
|
[key: string]: string;
|
|
22061
22444
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactResponse>;
|
|
22062
22445
|
/**
|
|
22063
|
-
*
|
|
22446
|
+
* Deletes one or more ACK alert contacts.
|
|
22064
22447
|
*
|
|
22065
22448
|
* @param request - DeleteAlertContactRequest
|
|
22066
22449
|
* @returns DeleteAlertContactResponse
|
|
22067
22450
|
*/
|
|
22068
22451
|
deleteAlertContact(request: DeleteAlertContactRequest): Promise<DeleteAlertContactResponse>;
|
|
22069
22452
|
/**
|
|
22070
|
-
*
|
|
22453
|
+
* Deletes an ACK alert contact group.
|
|
22071
22454
|
*
|
|
22072
22455
|
* @param tmpReq - DeleteAlertContactGroupRequest
|
|
22073
22456
|
* @param headers - map
|
|
@@ -22078,7 +22461,7 @@ export default class Client extends OpenApi {
|
|
|
22078
22461
|
[key: string]: string;
|
|
22079
22462
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactGroupResponse>;
|
|
22080
22463
|
/**
|
|
22081
|
-
*
|
|
22464
|
+
* Deletes an ACK alert contact group.
|
|
22082
22465
|
*
|
|
22083
22466
|
* @param request - DeleteAlertContactGroupRequest
|
|
22084
22467
|
* @returns DeleteAlertContactGroupResponse
|
|
@@ -23175,35 +23558,41 @@ export default class Client extends OpenApi {
|
|
|
23175
23558
|
*/
|
|
23176
23559
|
getClusterCheck(clusterId: string, checkId: string): Promise<GetClusterCheckResponse>;
|
|
23177
23560
|
/**
|
|
23178
|
-
*
|
|
23561
|
+
* Queries cluster diagnostic items.
|
|
23179
23562
|
*
|
|
23563
|
+
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
23180
23564
|
* @param headers - map
|
|
23181
23565
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
23182
23566
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
23183
23567
|
*/
|
|
23184
|
-
getClusterDiagnosisCheckItemsWithOptions(clusterId: string, diagnosisId: string, headers: {
|
|
23568
|
+
getClusterDiagnosisCheckItemsWithOptions(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisCheckItemsRequest, headers: {
|
|
23185
23569
|
[key: string]: string;
|
|
23186
23570
|
}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisCheckItemsResponse>;
|
|
23187
23571
|
/**
|
|
23188
|
-
*
|
|
23572
|
+
* Queries cluster diagnostic items.
|
|
23573
|
+
*
|
|
23574
|
+
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
23189
23575
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
23190
23576
|
*/
|
|
23191
|
-
getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisCheckItemsResponse>;
|
|
23577
|
+
getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisCheckItemsRequest): Promise<GetClusterDiagnosisCheckItemsResponse>;
|
|
23192
23578
|
/**
|
|
23193
|
-
*
|
|
23579
|
+
* Queries cluster diagnostic results.
|
|
23194
23580
|
*
|
|
23581
|
+
* @param request - GetClusterDiagnosisResultRequest
|
|
23195
23582
|
* @param headers - map
|
|
23196
23583
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
23197
23584
|
* @returns GetClusterDiagnosisResultResponse
|
|
23198
23585
|
*/
|
|
23199
|
-
getClusterDiagnosisResultWithOptions(clusterId: string, diagnosisId: string, headers: {
|
|
23586
|
+
getClusterDiagnosisResultWithOptions(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisResultRequest, headers: {
|
|
23200
23587
|
[key: string]: string;
|
|
23201
23588
|
}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisResultResponse>;
|
|
23202
23589
|
/**
|
|
23203
|
-
*
|
|
23590
|
+
* Queries cluster diagnostic results.
|
|
23591
|
+
*
|
|
23592
|
+
* @param request - GetClusterDiagnosisResultRequest
|
|
23204
23593
|
* @returns GetClusterDiagnosisResultResponse
|
|
23205
23594
|
*/
|
|
23206
|
-
getClusterDiagnosisResult(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisResultResponse>;
|
|
23595
|
+
getClusterDiagnosisResult(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisResultRequest): Promise<GetClusterDiagnosisResultResponse>;
|
|
23207
23596
|
/**
|
|
23208
23597
|
* You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
23209
23598
|
*
|
|
@@ -23343,7 +23732,7 @@ export default class Client extends OpenApi {
|
|
|
23343
23732
|
*/
|
|
23344
23733
|
listClusterChecks(clusterId: string, request: ListClusterChecksRequest): Promise<ListClusterChecksResponse>;
|
|
23345
23734
|
/**
|
|
23346
|
-
*
|
|
23735
|
+
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
23347
23736
|
*
|
|
23348
23737
|
* @remarks
|
|
23349
23738
|
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
@@ -23358,7 +23747,7 @@ export default class Client extends OpenApi {
|
|
|
23358
23747
|
[key: string]: string;
|
|
23359
23748
|
}, runtime: $Util.RuntimeOptions): Promise<ListClusterKubeconfigStatesResponse>;
|
|
23360
23749
|
/**
|
|
23361
|
-
*
|
|
23750
|
+
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
23362
23751
|
*
|
|
23363
23752
|
* @remarks
|
|
23364
23753
|
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
@@ -23713,10 +24102,11 @@ export default class Client extends OpenApi {
|
|
|
23713
24102
|
* Removes nodes from a node pool.
|
|
23714
24103
|
*
|
|
23715
24104
|
* @remarks
|
|
23716
|
-
*
|
|
23717
|
-
*
|
|
23718
|
-
*
|
|
23719
|
-
*
|
|
24105
|
+
* 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.
|
|
24106
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
24107
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
24108
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
24109
|
+
* * 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.
|
|
23720
24110
|
*
|
|
23721
24111
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
23722
24112
|
* @param headers - map
|
|
@@ -23730,10 +24120,11 @@ export default class Client extends OpenApi {
|
|
|
23730
24120
|
* Removes nodes from a node pool.
|
|
23731
24121
|
*
|
|
23732
24122
|
* @remarks
|
|
23733
|
-
*
|
|
23734
|
-
*
|
|
23735
|
-
*
|
|
23736
|
-
*
|
|
24123
|
+
* 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.
|
|
24124
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
24125
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
24126
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
24127
|
+
* * 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.
|
|
23737
24128
|
*
|
|
23738
24129
|
* @param request - RemoveNodePoolNodesRequest
|
|
23739
24130
|
* @returns RemoveNodePoolNodesResponse
|