@alicloud/cs20151215 4.8.4 → 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 +483 -122
- package/dist/client.js +88 -36
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +513 -124
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
|
|
@@ -7913,8 +7958,29 @@ export declare class InstallClusterAddonsRequest extends $tea.Model {
|
|
|
7913
7958
|
});
|
|
7914
7959
|
}
|
|
7915
7960
|
export declare class InstallClusterAddonsResponseBody extends $tea.Model {
|
|
7961
|
+
/**
|
|
7962
|
+
* @remarks
|
|
7963
|
+
* The ID of the cluster.
|
|
7964
|
+
*
|
|
7965
|
+
* @example
|
|
7966
|
+
* c82e6987e2961451182edacd74faf****
|
|
7967
|
+
*/
|
|
7916
7968
|
clusterId?: string;
|
|
7969
|
+
/**
|
|
7970
|
+
* @remarks
|
|
7971
|
+
* The request ID.
|
|
7972
|
+
*
|
|
7973
|
+
* @example
|
|
7974
|
+
* 48BD70F6-A7E6-543D-9F23-08DEB764C92E
|
|
7975
|
+
*/
|
|
7917
7976
|
requestId?: string;
|
|
7977
|
+
/**
|
|
7978
|
+
* @remarks
|
|
7979
|
+
* The ID of the job.
|
|
7980
|
+
*
|
|
7981
|
+
* @example
|
|
7982
|
+
* T-5a54309c80282e39ea00002f
|
|
7983
|
+
*/
|
|
7918
7984
|
taskId?: string;
|
|
7919
7985
|
static names(): {
|
|
7920
7986
|
[key: string]: string;
|
|
@@ -8606,12 +8672,12 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8606
8672
|
controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
|
|
8607
8673
|
/**
|
|
8608
8674
|
* @remarks
|
|
8609
|
-
* 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:
|
|
8610
8676
|
*
|
|
8611
8677
|
* * `true`: enables cluster deletion protection.
|
|
8612
8678
|
* * `false`: disables cluster deletion protection.
|
|
8613
8679
|
*
|
|
8614
|
-
* Default value: `false
|
|
8680
|
+
* Default value: `false`
|
|
8615
8681
|
*
|
|
8616
8682
|
* @example
|
|
8617
8683
|
* true
|
|
@@ -8635,7 +8701,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8635
8701
|
* * `true`: remaps the test domain name of the cluster.
|
|
8636
8702
|
* * `false`: does not remap the test domain name of the cluster.
|
|
8637
8703
|
*
|
|
8638
|
-
* Default value: `false
|
|
8704
|
+
* Default value: `false`
|
|
8639
8705
|
*
|
|
8640
8706
|
* @example
|
|
8641
8707
|
* true
|
|
@@ -8656,7 +8722,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8656
8722
|
* * `true`: enables instance deletion protection.
|
|
8657
8723
|
* * `false`: disables instance deletion protection.
|
|
8658
8724
|
*
|
|
8659
|
-
* Default value: `false
|
|
8725
|
+
* Default value: `false`
|
|
8660
8726
|
*
|
|
8661
8727
|
* @example
|
|
8662
8728
|
* true
|
|
@@ -8685,6 +8751,15 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8685
8751
|
* The storage configurations of system events.
|
|
8686
8752
|
*/
|
|
8687
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
|
+
*/
|
|
8688
8763
|
vswitchIds?: string[];
|
|
8689
8764
|
static names(): {
|
|
8690
8765
|
[key: string]: string;
|
|
@@ -8784,7 +8859,7 @@ export declare class ModifyClusterAddonResponse extends $tea.Model {
|
|
|
8784
8859
|
export declare class ModifyClusterConfigurationRequest extends $tea.Model {
|
|
8785
8860
|
/**
|
|
8786
8861
|
* @remarks
|
|
8787
|
-
* The custom
|
|
8862
|
+
* The custom configurations.
|
|
8788
8863
|
*/
|
|
8789
8864
|
customizeConfig?: ModifyClusterConfigurationRequestCustomizeConfig[];
|
|
8790
8865
|
static names(): {
|
|
@@ -9285,8 +9360,12 @@ export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
9285
9360
|
instanceIds?: string[];
|
|
9286
9361
|
/**
|
|
9287
9362
|
* @remarks
|
|
9363
|
+
* This parameter is deprecated.
|
|
9364
|
+
*
|
|
9288
9365
|
* A list of nodes that you want to remove.
|
|
9289
9366
|
*
|
|
9367
|
+
* > This parameter is deprecated. Use instance_ids instead.
|
|
9368
|
+
*
|
|
9290
9369
|
* @deprecated
|
|
9291
9370
|
*/
|
|
9292
9371
|
nodes?: string[];
|
|
@@ -9338,8 +9417,12 @@ export declare class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
|
9338
9417
|
instanceIdsShrink?: string;
|
|
9339
9418
|
/**
|
|
9340
9419
|
* @remarks
|
|
9420
|
+
* This parameter is deprecated.
|
|
9421
|
+
*
|
|
9341
9422
|
* A list of nodes that you want to remove.
|
|
9342
9423
|
*
|
|
9424
|
+
* > This parameter is deprecated. Use instance_ids instead.
|
|
9425
|
+
*
|
|
9343
9426
|
* @deprecated
|
|
9344
9427
|
*/
|
|
9345
9428
|
nodesShrink?: string;
|
|
@@ -10316,8 +10399,20 @@ export declare class UnInstallClusterAddonsRequest extends $tea.Model {
|
|
|
10316
10399
|
});
|
|
10317
10400
|
}
|
|
10318
10401
|
export declare class UnInstallClusterAddonsResponseBody extends $tea.Model {
|
|
10402
|
+
/**
|
|
10403
|
+
* @remarks
|
|
10404
|
+
* 集群ID。
|
|
10405
|
+
*/
|
|
10319
10406
|
clusterId?: string;
|
|
10407
|
+
/**
|
|
10408
|
+
* @remarks
|
|
10409
|
+
* 请求ID。
|
|
10410
|
+
*/
|
|
10320
10411
|
requestId?: string;
|
|
10412
|
+
/**
|
|
10413
|
+
* @remarks
|
|
10414
|
+
* 任务ID。
|
|
10415
|
+
*/
|
|
10321
10416
|
taskId?: string;
|
|
10322
10417
|
static names(): {
|
|
10323
10418
|
[key: string]: string;
|
|
@@ -10776,7 +10871,7 @@ export declare class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model
|
|
|
10776
10871
|
export declare class UpdateResourcesDeleteProtectionRequest extends $tea.Model {
|
|
10777
10872
|
/**
|
|
10778
10873
|
* @remarks
|
|
10779
|
-
*
|
|
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.
|
|
10780
10875
|
*
|
|
10781
10876
|
* @example
|
|
10782
10877
|
* true
|
|
@@ -10963,7 +11058,7 @@ export declare class UpdateUserPermissionsRequest extends $tea.Model {
|
|
|
10963
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.
|
|
10964
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.
|
|
10965
11060
|
*
|
|
10966
|
-
* Default value: `apply
|
|
11061
|
+
* Default value: `apply`.
|
|
10967
11062
|
*
|
|
10968
11063
|
* @example
|
|
10969
11064
|
* apply
|
|
@@ -11026,7 +11121,7 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
11026
11121
|
nextVersion?: string;
|
|
11027
11122
|
/**
|
|
11028
11123
|
* @remarks
|
|
11029
|
-
*
|
|
11124
|
+
* The rotation configuration.
|
|
11030
11125
|
*/
|
|
11031
11126
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
11032
11127
|
/**
|
|
@@ -11983,29 +12078,121 @@ export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
11983
12078
|
});
|
|
11984
12079
|
}
|
|
11985
12080
|
export declare class CreateClusterRequestControlPlaneConfig extends $tea.Model {
|
|
12081
|
+
/**
|
|
12082
|
+
* @example
|
|
12083
|
+
* true
|
|
12084
|
+
*/
|
|
11986
12085
|
autoRenew?: boolean;
|
|
12086
|
+
/**
|
|
12087
|
+
* @example
|
|
12088
|
+
* 1
|
|
12089
|
+
*/
|
|
11987
12090
|
autoRenewPeriod?: number;
|
|
12091
|
+
/**
|
|
12092
|
+
* @example
|
|
12093
|
+
* PrePaid
|
|
12094
|
+
*/
|
|
11988
12095
|
chargeType?: string;
|
|
12096
|
+
/**
|
|
12097
|
+
* @example
|
|
12098
|
+
* true
|
|
12099
|
+
*/
|
|
11989
12100
|
cloudMonitorFlags?: boolean;
|
|
12101
|
+
/**
|
|
12102
|
+
* @example
|
|
12103
|
+
* none
|
|
12104
|
+
*/
|
|
11990
12105
|
cpuPolicy?: string;
|
|
12106
|
+
/**
|
|
12107
|
+
* @example
|
|
12108
|
+
* ds-bp10b35imuam5amw****
|
|
12109
|
+
*/
|
|
11991
12110
|
deploymentsetId?: string;
|
|
12111
|
+
/**
|
|
12112
|
+
* @example
|
|
12113
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
12114
|
+
*/
|
|
11992
12115
|
imageId?: string;
|
|
12116
|
+
/**
|
|
12117
|
+
* @example
|
|
12118
|
+
* AliyunLinux3
|
|
12119
|
+
*/
|
|
11993
12120
|
imageType?: string;
|
|
11994
12121
|
instanceTypes?: string[];
|
|
12122
|
+
/**
|
|
12123
|
+
* @example
|
|
12124
|
+
* ack
|
|
12125
|
+
*/
|
|
11995
12126
|
keyPair?: string;
|
|
12127
|
+
/**
|
|
12128
|
+
* @example
|
|
12129
|
+
* ack@Test
|
|
12130
|
+
*/
|
|
11996
12131
|
loginPassword?: string;
|
|
12132
|
+
/**
|
|
12133
|
+
* @example
|
|
12134
|
+
* 30000-32767
|
|
12135
|
+
*/
|
|
11997
12136
|
nodePortRange?: string;
|
|
12137
|
+
/**
|
|
12138
|
+
* @example
|
|
12139
|
+
* 1
|
|
12140
|
+
*/
|
|
11998
12141
|
period?: number;
|
|
12142
|
+
/**
|
|
12143
|
+
* @example
|
|
12144
|
+
* Month
|
|
12145
|
+
*/
|
|
11999
12146
|
periodUnit?: string;
|
|
12147
|
+
/**
|
|
12148
|
+
* @example
|
|
12149
|
+
* containerd
|
|
12150
|
+
*/
|
|
12000
12151
|
runtime?: string;
|
|
12152
|
+
/**
|
|
12153
|
+
* @example
|
|
12154
|
+
* true
|
|
12155
|
+
*/
|
|
12001
12156
|
securityHardeningOs?: boolean;
|
|
12157
|
+
/**
|
|
12158
|
+
* @example
|
|
12159
|
+
* 3
|
|
12160
|
+
*/
|
|
12002
12161
|
size?: number;
|
|
12162
|
+
/**
|
|
12163
|
+
* @example
|
|
12164
|
+
* true
|
|
12165
|
+
*/
|
|
12003
12166
|
socEnabled?: boolean;
|
|
12167
|
+
/**
|
|
12168
|
+
* @example
|
|
12169
|
+
* true
|
|
12170
|
+
*/
|
|
12004
12171
|
systemDiskBurstingEnabled?: boolean;
|
|
12172
|
+
/**
|
|
12173
|
+
* @example
|
|
12174
|
+
* cloud_essd
|
|
12175
|
+
*/
|
|
12005
12176
|
systemDiskCategory?: string;
|
|
12177
|
+
/**
|
|
12178
|
+
* @example
|
|
12179
|
+
* PL1
|
|
12180
|
+
*/
|
|
12006
12181
|
systemDiskPerformanceLevel?: string;
|
|
12182
|
+
/**
|
|
12183
|
+
* @example
|
|
12184
|
+
* 1000
|
|
12185
|
+
*/
|
|
12007
12186
|
systemDiskProvisionedIops?: number;
|
|
12187
|
+
/**
|
|
12188
|
+
* @example
|
|
12189
|
+
* 120
|
|
12190
|
+
*/
|
|
12008
12191
|
systemDiskSize?: number;
|
|
12192
|
+
/**
|
|
12193
|
+
* @example
|
|
12194
|
+
* sp-2zej1nogjvovnz4z****
|
|
12195
|
+
*/
|
|
12009
12196
|
systemDiskSnapshotPolicyId?: string;
|
|
12010
12197
|
static names(): {
|
|
12011
12198
|
[key: string]: string;
|
|
@@ -12020,11 +12207,11 @@ export declare class CreateClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
12020
12207
|
export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
12021
12208
|
/**
|
|
12022
12209
|
* @remarks
|
|
12023
|
-
*
|
|
12210
|
+
* The automatic update frequency. Valid values:
|
|
12024
12211
|
*
|
|
12025
|
-
*
|
|
12026
|
-
*
|
|
12027
|
-
*
|
|
12212
|
+
* * patch
|
|
12213
|
+
* * stable
|
|
12214
|
+
* * rapid
|
|
12028
12215
|
*
|
|
12029
12216
|
* @example
|
|
12030
12217
|
* patch
|
|
@@ -12032,7 +12219,7 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
12032
12219
|
channel?: string;
|
|
12033
12220
|
/**
|
|
12034
12221
|
* @remarks
|
|
12035
|
-
*
|
|
12222
|
+
* Specifies whether to enable auto cluster update.
|
|
12036
12223
|
*
|
|
12037
12224
|
* @example
|
|
12038
12225
|
* true
|
|
@@ -12051,7 +12238,7 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
12051
12238
|
export declare class CreateClusterRequestOperationPolicy extends $tea.Model {
|
|
12052
12239
|
/**
|
|
12053
12240
|
* @remarks
|
|
12054
|
-
*
|
|
12241
|
+
* The configurations of auto cluster update.
|
|
12055
12242
|
*/
|
|
12056
12243
|
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
12057
12244
|
static names(): {
|
|
@@ -13439,28 +13626,186 @@ export declare class DescribeAddonsResponseBodyComponentGroups extends $tea.Mode
|
|
|
13439
13626
|
});
|
|
13440
13627
|
}
|
|
13441
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
|
+
*/
|
|
13442
13636
|
autoRenew?: boolean;
|
|
13637
|
+
/**
|
|
13638
|
+
* @remarks
|
|
13639
|
+
* The auto-renewal duration for the node.
|
|
13640
|
+
*
|
|
13641
|
+
* @example
|
|
13642
|
+
* 1
|
|
13643
|
+
*/
|
|
13443
13644
|
autoRenewPeriod?: number;
|
|
13645
|
+
/**
|
|
13646
|
+
* @remarks
|
|
13647
|
+
* The billing method of the control plane node.
|
|
13648
|
+
*
|
|
13649
|
+
* @example
|
|
13650
|
+
* PrePaid
|
|
13651
|
+
*/
|
|
13444
13652
|
chargeType?: string;
|
|
13653
|
+
/**
|
|
13654
|
+
* @remarks
|
|
13655
|
+
* Indicates whether to install CloudMonitor for the node.
|
|
13656
|
+
*
|
|
13657
|
+
* @example
|
|
13658
|
+
* true
|
|
13659
|
+
*/
|
|
13445
13660
|
cloudMonitorFlags?: boolean;
|
|
13661
|
+
/**
|
|
13662
|
+
* @remarks
|
|
13663
|
+
* The CPU management policy of nodes.
|
|
13664
|
+
*
|
|
13665
|
+
* @example
|
|
13666
|
+
* none
|
|
13667
|
+
*/
|
|
13446
13668
|
cpuPolicy?: string;
|
|
13669
|
+
/**
|
|
13670
|
+
* @remarks
|
|
13671
|
+
* The ID of the deployment set.
|
|
13672
|
+
*
|
|
13673
|
+
* @example
|
|
13674
|
+
* ds-bp10b35imuam5amw****
|
|
13675
|
+
*/
|
|
13447
13676
|
deploymentsetId?: string;
|
|
13677
|
+
/**
|
|
13678
|
+
* @remarks
|
|
13679
|
+
* The ID of the image.
|
|
13680
|
+
*
|
|
13681
|
+
* @example
|
|
13682
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
13683
|
+
*/
|
|
13448
13684
|
imageId?: string;
|
|
13685
|
+
/**
|
|
13686
|
+
* @remarks
|
|
13687
|
+
* The type of the OS image.
|
|
13688
|
+
*
|
|
13689
|
+
* @example
|
|
13690
|
+
* AliyunLinux3
|
|
13691
|
+
*/
|
|
13449
13692
|
imageType?: string;
|
|
13693
|
+
/**
|
|
13694
|
+
* @remarks
|
|
13695
|
+
* The instance type of the node.
|
|
13696
|
+
*/
|
|
13450
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
|
+
*/
|
|
13451
13705
|
keyPair?: string;
|
|
13706
|
+
/**
|
|
13707
|
+
* @remarks
|
|
13708
|
+
* The node port range.
|
|
13709
|
+
*
|
|
13710
|
+
* @example
|
|
13711
|
+
* 30000-32767
|
|
13712
|
+
*/
|
|
13452
13713
|
nodePortRange?: string;
|
|
13714
|
+
/**
|
|
13715
|
+
* @remarks
|
|
13716
|
+
* The subscription duration.
|
|
13717
|
+
*
|
|
13718
|
+
* @example
|
|
13719
|
+
* 1
|
|
13720
|
+
*/
|
|
13453
13721
|
period?: number;
|
|
13722
|
+
/**
|
|
13723
|
+
* @remarks
|
|
13724
|
+
* The unit of the subscription duration.
|
|
13725
|
+
*
|
|
13726
|
+
* @example
|
|
13727
|
+
* Month
|
|
13728
|
+
*/
|
|
13454
13729
|
periodUnit?: string;
|
|
13730
|
+
/**
|
|
13731
|
+
* @remarks
|
|
13732
|
+
* The runtime.
|
|
13733
|
+
*
|
|
13734
|
+
* @example
|
|
13735
|
+
* containerd
|
|
13736
|
+
*/
|
|
13455
13737
|
runtime?: string;
|
|
13738
|
+
/**
|
|
13739
|
+
* @remarks
|
|
13740
|
+
* Indicates whether to enable Alibaba Cloud Linux Security Hardening.
|
|
13741
|
+
*
|
|
13742
|
+
* @example
|
|
13743
|
+
* true
|
|
13744
|
+
*/
|
|
13456
13745
|
securityHardeningOs?: boolean;
|
|
13746
|
+
/**
|
|
13747
|
+
* @remarks
|
|
13748
|
+
* The number of control plane nodes.
|
|
13749
|
+
*
|
|
13750
|
+
* @example
|
|
13751
|
+
* 3
|
|
13752
|
+
*/
|
|
13457
13753
|
size?: number;
|
|
13754
|
+
/**
|
|
13755
|
+
* @remarks
|
|
13756
|
+
* Indicates whether to enable Multi-Level Protection Scheme (MLPS) security hardening.
|
|
13757
|
+
*
|
|
13758
|
+
* @example
|
|
13759
|
+
* false
|
|
13760
|
+
*/
|
|
13458
13761
|
socEnabled?: boolean;
|
|
13762
|
+
/**
|
|
13763
|
+
* @remarks
|
|
13764
|
+
* Indicates whether to enable the burst feature for the system disk.
|
|
13765
|
+
*
|
|
13766
|
+
* @example
|
|
13767
|
+
* true
|
|
13768
|
+
*/
|
|
13459
13769
|
systemDiskBurstingEnabled?: boolean;
|
|
13770
|
+
/**
|
|
13771
|
+
* @remarks
|
|
13772
|
+
* The category of the system disk for nodes.
|
|
13773
|
+
*
|
|
13774
|
+
* @example
|
|
13775
|
+
* cloud_essd
|
|
13776
|
+
*/
|
|
13460
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
|
+
*/
|
|
13461
13785
|
systemDiskPerformanceLevel?: string;
|
|
13786
|
+
/**
|
|
13787
|
+
* @remarks
|
|
13788
|
+
* The preset read/write IOPS of the system disk.
|
|
13789
|
+
*
|
|
13790
|
+
* @example
|
|
13791
|
+
* 1000
|
|
13792
|
+
*/
|
|
13462
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
|
+
*/
|
|
13463
13801
|
systemDiskSize?: number;
|
|
13802
|
+
/**
|
|
13803
|
+
* @remarks
|
|
13804
|
+
* The automatic snapshot policy of the node.
|
|
13805
|
+
*
|
|
13806
|
+
* @example
|
|
13807
|
+
* sp-2zej1nogjvovnz4z****
|
|
13808
|
+
*/
|
|
13464
13809
|
systemDiskSnapshotPolicyId?: string;
|
|
13465
13810
|
static names(): {
|
|
13466
13811
|
[key: string]: string;
|
|
@@ -17077,7 +17422,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
17077
17422
|
clusterType?: string;
|
|
17078
17423
|
/**
|
|
17079
17424
|
* @remarks
|
|
17080
|
-
* The pod CIDR block.
|
|
17425
|
+
* The pod CIDR block and the configuration of the Flannel network plug-in.
|
|
17081
17426
|
*
|
|
17082
17427
|
* @example
|
|
17083
17428
|
* 172.20.0.0/16
|
|
@@ -17232,7 +17577,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
17232
17577
|
profile?: string;
|
|
17233
17578
|
/**
|
|
17234
17579
|
* @remarks
|
|
17235
|
-
* 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.
|
|
17236
17584
|
*
|
|
17237
17585
|
* @example
|
|
17238
17586
|
* ipvs
|
|
@@ -17301,7 +17649,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
17301
17649
|
state?: string;
|
|
17302
17650
|
/**
|
|
17303
17651
|
* @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:
|
|
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:
|
|
17305
17653
|
*
|
|
17306
17654
|
* * 10.0.0.0/8
|
|
17307
17655
|
* * 172.16-31.0.0/12-16
|
|
@@ -17324,7 +17672,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
17324
17672
|
tags?: Tag[];
|
|
17325
17673
|
/**
|
|
17326
17674
|
* @remarks
|
|
17327
|
-
* The time zone
|
|
17675
|
+
* The time zone
|
|
17328
17676
|
*
|
|
17329
17677
|
* @example
|
|
17330
17678
|
* Asia/Shanghai
|
|
@@ -20337,11 +20685,13 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
20337
20685
|
export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
20338
20686
|
/**
|
|
20339
20687
|
* @remarks
|
|
20340
|
-
* The frequency
|
|
20688
|
+
* The automatic update frequency. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
20341
20689
|
*
|
|
20342
|
-
*
|
|
20343
|
-
*
|
|
20344
|
-
* *
|
|
20690
|
+
* Valid values:
|
|
20691
|
+
*
|
|
20692
|
+
* * patch: specifies the latest patch version.
|
|
20693
|
+
* * stables: the second-latest minor version.
|
|
20694
|
+
* * rapid: the latest minor version.
|
|
20345
20695
|
*
|
|
20346
20696
|
* @example
|
|
20347
20697
|
* patch
|
|
@@ -20349,7 +20699,7 @@ export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
20349
20699
|
channel?: string;
|
|
20350
20700
|
/**
|
|
20351
20701
|
* @remarks
|
|
20352
|
-
* Specifies whether to enable
|
|
20702
|
+
* Specifies whether to enable automatic update.
|
|
20353
20703
|
*
|
|
20354
20704
|
* @example
|
|
20355
20705
|
* true
|
|
@@ -20368,7 +20718,7 @@ export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
20368
20718
|
export declare class ModifyClusterRequestOperationPolicy extends $tea.Model {
|
|
20369
20719
|
/**
|
|
20370
20720
|
* @remarks
|
|
20371
|
-
* The configurations of
|
|
20721
|
+
* The configurations of automatic update.
|
|
20372
20722
|
*/
|
|
20373
20723
|
clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
20374
20724
|
static names(): {
|
|
@@ -20438,7 +20788,7 @@ export declare class ModifyClusterConfigurationRequestCustomizeConfigConfigs ext
|
|
|
20438
20788
|
export declare class ModifyClusterConfigurationRequestCustomizeConfig extends $tea.Model {
|
|
20439
20789
|
/**
|
|
20440
20790
|
* @remarks
|
|
20441
|
-
* The custom
|
|
20791
|
+
* The custom configurations.
|
|
20442
20792
|
*/
|
|
20443
20793
|
configs?: ModifyClusterConfigurationRequestCustomizeConfigConfigs[];
|
|
20444
20794
|
/**
|
|
@@ -20462,7 +20812,7 @@ export declare class ModifyClusterConfigurationRequestCustomizeConfig extends $t
|
|
|
20462
20812
|
export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
20463
20813
|
/**
|
|
20464
20814
|
* @remarks
|
|
20465
|
-
* The maximum bandwidth of the EIP.
|
|
20815
|
+
* The maximum bandwidth of the elastic IP address (EIP).
|
|
20466
20816
|
*
|
|
20467
20817
|
* @example
|
|
20468
20818
|
* 5
|
|
@@ -20475,7 +20825,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
20475
20825
|
* The billing method of the EIP. Valid values:
|
|
20476
20826
|
*
|
|
20477
20827
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
20478
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
20828
|
+
* * `PayByTraffic`: pay-by-data-transfer
|
|
20479
20829
|
*
|
|
20480
20830
|
* Default value: `PayByBandwidth`.
|
|
20481
20831
|
*
|
|
@@ -20502,10 +20852,10 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
20502
20852
|
* @remarks
|
|
20503
20853
|
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
20504
20854
|
*
|
|
20505
|
-
* * `true`:
|
|
20855
|
+
* * `true`: An EIP is associated with the node pool.
|
|
20506
20856
|
* * `false`: No EIP is associated with the node pool.
|
|
20507
20857
|
*
|
|
20508
|
-
* Default value: `false
|
|
20858
|
+
* Default value: `false`
|
|
20509
20859
|
*
|
|
20510
20860
|
* @example
|
|
20511
20861
|
* true
|
|
@@ -20533,7 +20883,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
20533
20883
|
* @remarks
|
|
20534
20884
|
* The instance type that is used for auto scaling. Valid values:
|
|
20535
20885
|
*
|
|
20536
|
-
* * `cpu`: regular instance
|
|
20886
|
+
* * `cpu`: regular instance
|
|
20537
20887
|
* * `gpu`: GPU-accelerated instance.
|
|
20538
20888
|
* * `gpushare`: shared GPU-accelerated instance.
|
|
20539
20889
|
* * `spot`: preemptible instance.
|
|
@@ -20651,8 +21001,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
20651
21001
|
* @remarks
|
|
20652
21002
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
20653
21003
|
*
|
|
20654
|
-
* * `true`:
|
|
20655
|
-
* * `false`:
|
|
21004
|
+
* * `true`: yes.
|
|
21005
|
+
* * `false`: no.
|
|
20656
21006
|
*
|
|
20657
21007
|
* @example
|
|
20658
21008
|
* true
|
|
@@ -20673,8 +21023,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
20673
21023
|
* @remarks
|
|
20674
21024
|
* Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
|
|
20675
21025
|
*
|
|
20676
|
-
* * `true`:
|
|
20677
|
-
* * `false`:
|
|
21026
|
+
* * `true`: yes.
|
|
21027
|
+
* * `false`: no.
|
|
20678
21028
|
*
|
|
20679
21029
|
* @example
|
|
20680
21030
|
* true
|
|
@@ -20715,8 +21065,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
20715
21065
|
* @remarks
|
|
20716
21066
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
20717
21067
|
*
|
|
20718
|
-
* * `true`:
|
|
20719
|
-
* * `false`:
|
|
21068
|
+
* * `true`: yes.
|
|
21069
|
+
* * `false`: no.
|
|
20720
21070
|
*
|
|
20721
21071
|
* @example
|
|
20722
21072
|
* true
|
|
@@ -20743,7 +21093,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
20743
21093
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
20744
21094
|
/**
|
|
20745
21095
|
* @remarks
|
|
20746
|
-
* Specifies whether to enable auto update.
|
|
21096
|
+
* Specifies whether to enable auto update. Valid values:
|
|
20747
21097
|
*
|
|
20748
21098
|
* * true: enables auto update.
|
|
20749
21099
|
* * false: disables auto update.
|
|
@@ -20762,7 +21112,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
20762
21112
|
*
|
|
20763
21113
|
* Valid values: 1 to 1000.
|
|
20764
21114
|
*
|
|
20765
|
-
* Default value: 1
|
|
21115
|
+
* Default value: 1
|
|
20766
21116
|
*
|
|
20767
21117
|
* @example
|
|
20768
21118
|
* 1
|
|
@@ -20804,7 +21154,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
20804
21154
|
* * `true`: enables auto repair.
|
|
20805
21155
|
* * `false`: disables auto repair.
|
|
20806
21156
|
*
|
|
20807
|
-
* Default value: `true
|
|
21157
|
+
* Default value: `true`
|
|
20808
21158
|
*
|
|
20809
21159
|
* @example
|
|
20810
21160
|
* true
|
|
@@ -20817,7 +21167,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
20817
21167
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
20818
21168
|
/**
|
|
20819
21169
|
* @remarks
|
|
20820
|
-
*
|
|
21170
|
+
* Specifies whether to enable auto update. Valid values:
|
|
20821
21171
|
*
|
|
20822
21172
|
* * `true`: enables auto update.
|
|
20823
21173
|
* * `false`: disables auto update.
|
|
@@ -20835,7 +21185,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
20835
21185
|
* @remarks
|
|
20836
21186
|
* Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
|
|
20837
21187
|
*
|
|
20838
|
-
* * `true`:
|
|
21188
|
+
* * `true`: eanbles auto CVE patching.
|
|
20839
21189
|
* * `true`: disables auto CVE patching.
|
|
20840
21190
|
*
|
|
20841
21191
|
* @example
|
|
@@ -20890,7 +21240,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
20890
21240
|
name?: string;
|
|
20891
21241
|
/**
|
|
20892
21242
|
* @remarks
|
|
20893
|
-
* The
|
|
21243
|
+
* The resource group ID.
|
|
20894
21244
|
*
|
|
20895
21245
|
* @example
|
|
20896
21246
|
* rg-acfmyvw3wjm****
|
|
@@ -20919,7 +21269,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
20919
21269
|
* @remarks
|
|
20920
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:
|
|
20921
21271
|
*
|
|
20922
|
-
* * `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.
|
|
20923
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.
|
|
20924
21274
|
* * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
|
|
20925
21275
|
*
|
|
@@ -20982,9 +21332,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20982
21332
|
autoRenew?: boolean;
|
|
20983
21333
|
/**
|
|
20984
21334
|
* @remarks
|
|
20985
|
-
* The
|
|
21335
|
+
* The auto-renewal period. Valid values:
|
|
20986
21336
|
*
|
|
20987
|
-
*
|
|
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
|
|
20988
21341
|
*
|
|
20989
21342
|
* @example
|
|
20990
21343
|
* 1
|
|
@@ -20994,7 +21347,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20994
21347
|
* @remarks
|
|
20995
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:
|
|
20996
21349
|
*
|
|
20997
|
-
* * `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
|
|
20998
21351
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
20999
21352
|
*
|
|
21000
21353
|
* @example
|
|
@@ -21003,7 +21356,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21003
21356
|
compensateWithOnDemand?: boolean;
|
|
21004
21357
|
/**
|
|
21005
21358
|
* @remarks
|
|
21006
|
-
* 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.
|
|
21007
21360
|
*/
|
|
21008
21361
|
dataDisks?: DataDisk[];
|
|
21009
21362
|
/**
|
|
@@ -21028,7 +21381,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21028
21381
|
*
|
|
21029
21382
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
21030
21383
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
21031
|
-
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
21384
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
21032
21385
|
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
21033
21386
|
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
21034
21387
|
* * `CentOS`: CentOS.
|
|
@@ -21065,7 +21418,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21065
21418
|
instanceTypes?: string[];
|
|
21066
21419
|
/**
|
|
21067
21420
|
* @remarks
|
|
21068
|
-
* The
|
|
21421
|
+
* The billing method of the public IP address. Valid values:
|
|
21069
21422
|
*
|
|
21070
21423
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
21071
21424
|
* * `PayByTraffic`: pay-by-data-transfer
|
|
@@ -21221,7 +21574,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21221
21574
|
* The bidding policy of preemptible instances. Valid values:
|
|
21222
21575
|
*
|
|
21223
21576
|
* * `NoSpot`: non-preemptible instance.
|
|
21224
|
-
* * `SpotWithPriceLimit`: specifies the highest bid
|
|
21577
|
+
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
21225
21578
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
21226
21579
|
*
|
|
21227
21580
|
* For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html).
|
|
@@ -21240,7 +21593,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21240
21593
|
systemDiskBurstingEnabled?: boolean;
|
|
21241
21594
|
/**
|
|
21242
21595
|
* @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)
|
|
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).
|
|
21244
21597
|
*/
|
|
21245
21598
|
systemDiskCategories?: string[];
|
|
21246
21599
|
/**
|
|
@@ -21248,7 +21601,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21248
21601
|
* The type of system disk. Valid values:
|
|
21249
21602
|
*
|
|
21250
21603
|
* * `cloud_efficiency`: ultra disk.
|
|
21251
|
-
* * `cloud_ssd`: standard SSD
|
|
21604
|
+
* * `cloud_ssd`: standard SSD.
|
|
21252
21605
|
*
|
|
21253
21606
|
* Default value: `cloud_ssd`.
|
|
21254
21607
|
*
|
|
@@ -21266,7 +21619,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21266
21619
|
systemDiskEncryptAlgorithm?: string;
|
|
21267
21620
|
/**
|
|
21268
21621
|
* @remarks
|
|
21269
|
-
*
|
|
21622
|
+
* Specifies whether to encrypt the system disk. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
|
|
21270
21623
|
*
|
|
21271
21624
|
* @example
|
|
21272
21625
|
* false
|
|
@@ -21302,7 +21655,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21302
21655
|
*
|
|
21303
21656
|
* Valid values: 20 to 500.
|
|
21304
21657
|
*
|
|
21305
|
-
* 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.
|
|
21306
21659
|
*
|
|
21307
21660
|
* Default value: the greater value between 40 and the image size.
|
|
21308
21661
|
*
|
|
@@ -21314,7 +21667,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
21314
21667
|
* @remarks
|
|
21315
21668
|
* The tags that you want to add only to ECS instances.
|
|
21316
21669
|
*
|
|
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:
|
|
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://.
|
|
21318
21671
|
*/
|
|
21319
21672
|
tags?: Tag[];
|
|
21320
21673
|
/**
|
|
@@ -21599,7 +21952,7 @@ export declare class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
|
21599
21952
|
export declare class UpgradeClusterRequestRollingPolicy extends $tea.Model {
|
|
21600
21953
|
/**
|
|
21601
21954
|
* @remarks
|
|
21602
|
-
*
|
|
21955
|
+
* The maximum size of each batch.
|
|
21603
21956
|
*
|
|
21604
21957
|
* @example
|
|
21605
21958
|
* 3
|
|
@@ -21855,7 +22208,7 @@ export default class Client extends OpenApi {
|
|
|
21855
22208
|
*/
|
|
21856
22209
|
checkServiceRole(request: CheckServiceRoleRequest): Promise<CheckServiceRoleResponse>;
|
|
21857
22210
|
/**
|
|
21858
|
-
*
|
|
22211
|
+
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
21859
22212
|
*
|
|
21860
22213
|
* @remarks
|
|
21861
22214
|
* >
|
|
@@ -21872,7 +22225,7 @@ export default class Client extends OpenApi {
|
|
|
21872
22225
|
[key: string]: string;
|
|
21873
22226
|
}, runtime: $Util.RuntimeOptions): Promise<CleanClusterUserPermissionsResponse>;
|
|
21874
22227
|
/**
|
|
21875
|
-
*
|
|
22228
|
+
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
21876
22229
|
*
|
|
21877
22230
|
* @remarks
|
|
21878
22231
|
* >
|
|
@@ -21967,7 +22320,7 @@ export default class Client extends OpenApi {
|
|
|
21967
22320
|
*/
|
|
21968
22321
|
createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse>;
|
|
21969
22322
|
/**
|
|
21970
|
-
*
|
|
22323
|
+
* Starts a cluster diagnostic.
|
|
21971
22324
|
*
|
|
21972
22325
|
* @param request - CreateClusterDiagnosisRequest
|
|
21973
22326
|
* @param headers - map
|
|
@@ -21978,7 +22331,7 @@ export default class Client extends OpenApi {
|
|
|
21978
22331
|
[key: string]: string;
|
|
21979
22332
|
}, runtime: $Util.RuntimeOptions): Promise<CreateClusterDiagnosisResponse>;
|
|
21980
22333
|
/**
|
|
21981
|
-
*
|
|
22334
|
+
* Starts a cluster diagnostic.
|
|
21982
22335
|
*
|
|
21983
22336
|
* @param request - CreateClusterDiagnosisRequest
|
|
21984
22337
|
* @returns CreateClusterDiagnosisResponse
|
|
@@ -22079,7 +22432,7 @@ export default class Client extends OpenApi {
|
|
|
22079
22432
|
*/
|
|
22080
22433
|
createTrigger(clusterId: string, request: CreateTriggerRequest): Promise<CreateTriggerResponse>;
|
|
22081
22434
|
/**
|
|
22082
|
-
*
|
|
22435
|
+
* Deletes one or more ACK alert contacts.
|
|
22083
22436
|
*
|
|
22084
22437
|
* @param tmpReq - DeleteAlertContactRequest
|
|
22085
22438
|
* @param headers - map
|
|
@@ -22090,14 +22443,14 @@ export default class Client extends OpenApi {
|
|
|
22090
22443
|
[key: string]: string;
|
|
22091
22444
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactResponse>;
|
|
22092
22445
|
/**
|
|
22093
|
-
*
|
|
22446
|
+
* Deletes one or more ACK alert contacts.
|
|
22094
22447
|
*
|
|
22095
22448
|
* @param request - DeleteAlertContactRequest
|
|
22096
22449
|
* @returns DeleteAlertContactResponse
|
|
22097
22450
|
*/
|
|
22098
22451
|
deleteAlertContact(request: DeleteAlertContactRequest): Promise<DeleteAlertContactResponse>;
|
|
22099
22452
|
/**
|
|
22100
|
-
*
|
|
22453
|
+
* Deletes an ACK alert contact group.
|
|
22101
22454
|
*
|
|
22102
22455
|
* @param tmpReq - DeleteAlertContactGroupRequest
|
|
22103
22456
|
* @param headers - map
|
|
@@ -22108,7 +22461,7 @@ export default class Client extends OpenApi {
|
|
|
22108
22461
|
[key: string]: string;
|
|
22109
22462
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactGroupResponse>;
|
|
22110
22463
|
/**
|
|
22111
|
-
*
|
|
22464
|
+
* Deletes an ACK alert contact group.
|
|
22112
22465
|
*
|
|
22113
22466
|
* @param request - DeleteAlertContactGroupRequest
|
|
22114
22467
|
* @returns DeleteAlertContactGroupResponse
|
|
@@ -23205,35 +23558,41 @@ export default class Client extends OpenApi {
|
|
|
23205
23558
|
*/
|
|
23206
23559
|
getClusterCheck(clusterId: string, checkId: string): Promise<GetClusterCheckResponse>;
|
|
23207
23560
|
/**
|
|
23208
|
-
*
|
|
23561
|
+
* Queries cluster diagnostic items.
|
|
23209
23562
|
*
|
|
23563
|
+
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
23210
23564
|
* @param headers - map
|
|
23211
23565
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
23212
23566
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
23213
23567
|
*/
|
|
23214
|
-
getClusterDiagnosisCheckItemsWithOptions(clusterId: string, diagnosisId: string, headers: {
|
|
23568
|
+
getClusterDiagnosisCheckItemsWithOptions(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisCheckItemsRequest, headers: {
|
|
23215
23569
|
[key: string]: string;
|
|
23216
23570
|
}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisCheckItemsResponse>;
|
|
23217
23571
|
/**
|
|
23218
|
-
*
|
|
23572
|
+
* Queries cluster diagnostic items.
|
|
23573
|
+
*
|
|
23574
|
+
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
23219
23575
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
23220
23576
|
*/
|
|
23221
|
-
getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisCheckItemsResponse>;
|
|
23577
|
+
getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisCheckItemsRequest): Promise<GetClusterDiagnosisCheckItemsResponse>;
|
|
23222
23578
|
/**
|
|
23223
|
-
*
|
|
23579
|
+
* Queries cluster diagnostic results.
|
|
23224
23580
|
*
|
|
23581
|
+
* @param request - GetClusterDiagnosisResultRequest
|
|
23225
23582
|
* @param headers - map
|
|
23226
23583
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
23227
23584
|
* @returns GetClusterDiagnosisResultResponse
|
|
23228
23585
|
*/
|
|
23229
|
-
getClusterDiagnosisResultWithOptions(clusterId: string, diagnosisId: string, headers: {
|
|
23586
|
+
getClusterDiagnosisResultWithOptions(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisResultRequest, headers: {
|
|
23230
23587
|
[key: string]: string;
|
|
23231
23588
|
}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisResultResponse>;
|
|
23232
23589
|
/**
|
|
23233
|
-
*
|
|
23590
|
+
* Queries cluster diagnostic results.
|
|
23591
|
+
*
|
|
23592
|
+
* @param request - GetClusterDiagnosisResultRequest
|
|
23234
23593
|
* @returns GetClusterDiagnosisResultResponse
|
|
23235
23594
|
*/
|
|
23236
|
-
getClusterDiagnosisResult(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisResultResponse>;
|
|
23595
|
+
getClusterDiagnosisResult(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisResultRequest): Promise<GetClusterDiagnosisResultResponse>;
|
|
23237
23596
|
/**
|
|
23238
23597
|
* You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
23239
23598
|
*
|
|
@@ -23373,7 +23732,7 @@ export default class Client extends OpenApi {
|
|
|
23373
23732
|
*/
|
|
23374
23733
|
listClusterChecks(clusterId: string, request: ListClusterChecksRequest): Promise<ListClusterChecksResponse>;
|
|
23375
23734
|
/**
|
|
23376
|
-
*
|
|
23735
|
+
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
23377
23736
|
*
|
|
23378
23737
|
* @remarks
|
|
23379
23738
|
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
@@ -23388,7 +23747,7 @@ export default class Client extends OpenApi {
|
|
|
23388
23747
|
[key: string]: string;
|
|
23389
23748
|
}, runtime: $Util.RuntimeOptions): Promise<ListClusterKubeconfigStatesResponse>;
|
|
23390
23749
|
/**
|
|
23391
|
-
*
|
|
23750
|
+
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
23392
23751
|
*
|
|
23393
23752
|
* @remarks
|
|
23394
23753
|
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
@@ -23743,10 +24102,11 @@ export default class Client extends OpenApi {
|
|
|
23743
24102
|
* Removes nodes from a node pool.
|
|
23744
24103
|
*
|
|
23745
24104
|
* @remarks
|
|
23746
|
-
*
|
|
23747
|
-
*
|
|
23748
|
-
*
|
|
23749
|
-
*
|
|
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.
|
|
23750
24110
|
*
|
|
23751
24111
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
23752
24112
|
* @param headers - map
|
|
@@ -23760,10 +24120,11 @@ export default class Client extends OpenApi {
|
|
|
23760
24120
|
* Removes nodes from a node pool.
|
|
23761
24121
|
*
|
|
23762
24122
|
* @remarks
|
|
23763
|
-
*
|
|
23764
|
-
*
|
|
23765
|
-
*
|
|
23766
|
-
*
|
|
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.
|
|
23767
24128
|
*
|
|
23768
24129
|
* @param request - RemoveNodePoolNodesRequest
|
|
23769
24130
|
* @returns RemoveNodePoolNodesResponse
|