@alicloud/cs20151215 4.8.4 → 4.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +501 -133
- package/dist/client.js +90 -40
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +531 -135
package/src/client.ts
CHANGED
|
@@ -749,9 +749,9 @@ export class AttachInstancesRequest extends $tea.Model {
|
|
|
749
749
|
* 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:
|
|
750
750
|
*
|
|
751
751
|
* * `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
752
|
-
* * `none`:
|
|
752
|
+
* * `none`: uses default CPU affinity.
|
|
753
753
|
*
|
|
754
|
-
* Default value: `none
|
|
754
|
+
* Default value: `none`
|
|
755
755
|
*
|
|
756
756
|
* > This parameter is not supported if you specify `nodepool_id`.
|
|
757
757
|
*
|
|
@@ -761,7 +761,7 @@ export class AttachInstancesRequest extends $tea.Model {
|
|
|
761
761
|
cpuPolicy?: string;
|
|
762
762
|
/**
|
|
763
763
|
* @remarks
|
|
764
|
-
* Specifies whether to store container data and images on data disks. Valid
|
|
764
|
+
* Specifies whether to store container data and images on data disks. Valid value:
|
|
765
765
|
*
|
|
766
766
|
* * `true`: stores container data and images on data disks.
|
|
767
767
|
* * `false`: does not store container data or images on data disks.
|
|
@@ -802,7 +802,7 @@ export class AttachInstancesRequest extends $tea.Model {
|
|
|
802
802
|
instances?: string[];
|
|
803
803
|
/**
|
|
804
804
|
* @remarks
|
|
805
|
-
* Specifies whether the node that you want to add is an Edge Node Service (ENS) node. Valid
|
|
805
|
+
* Specifies whether the node that you want to add is an Edge Node Service (ENS) node. Valid value:
|
|
806
806
|
*
|
|
807
807
|
* * `true`: the node that you want to add is an ENS node.
|
|
808
808
|
* * `false`: the node that you want to add is not an ENS node.
|
|
@@ -817,7 +817,7 @@ export class AttachInstancesRequest extends $tea.Model {
|
|
|
817
817
|
isEdgeWorker?: boolean;
|
|
818
818
|
/**
|
|
819
819
|
* @remarks
|
|
820
|
-
* Specifies whether to retain the instance name. Valid
|
|
820
|
+
* Specifies whether to retain the instance name. Valid value:
|
|
821
821
|
*
|
|
822
822
|
* * `true`: retains the instance name.
|
|
823
823
|
* * `false`: does not retain the instance name.
|
|
@@ -880,7 +880,7 @@ export class AttachInstancesRequest extends $tea.Model {
|
|
|
880
880
|
tags?: Tag[];
|
|
881
881
|
/**
|
|
882
882
|
* @remarks
|
|
883
|
-
* The user-defined data on the node. For more information, see [
|
|
883
|
+
* 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).
|
|
884
884
|
*
|
|
885
885
|
* > This parameter is not supported if you specify `nodepool_id`.
|
|
886
886
|
*
|
|
@@ -1636,7 +1636,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1636
1636
|
minReplicaCount?: number;
|
|
1637
1637
|
/**
|
|
1638
1638
|
* @remarks
|
|
1639
|
-
* Specifies whether to delete the corresponding Kubernetes node objects after nodes are removed in swift mode. For more information about the swift mode, see [Scaling mode](https://help.aliyun.com/document_detail/119099.html). Default value: false
|
|
1639
|
+
* Specifies whether to delete the corresponding Kubernetes node objects after nodes are removed in swift mode. For more information about the swift mode, see [Scaling mode](https://help.aliyun.com/document_detail/119099.html). Default value: false Valid values:
|
|
1640
1640
|
*
|
|
1641
1641
|
* * `true`: deletes the corresponding Kubernetes node objects after nodes are removed in swift mode. We recommend that you do not set the value to true because data inconsistency may occur in Kubernetes objects.
|
|
1642
1642
|
* * `false`: retains the corresponding Kubernetes node objects after nodes are removed in swift mode.
|
|
@@ -1767,16 +1767,25 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1767
1767
|
|
|
1768
1768
|
export class CreateAutoscalingConfigResponseBody extends $tea.Model {
|
|
1769
1769
|
/**
|
|
1770
|
+
* @remarks
|
|
1771
|
+
* The cluster ID.
|
|
1772
|
+
*
|
|
1770
1773
|
* @example
|
|
1771
1774
|
* cc212d04dfe184547bffaa596********
|
|
1772
1775
|
*/
|
|
1773
1776
|
clusterId?: string;
|
|
1774
1777
|
/**
|
|
1778
|
+
* @remarks
|
|
1779
|
+
* The request ID.
|
|
1780
|
+
*
|
|
1775
1781
|
* @example
|
|
1776
1782
|
* AF8BE105-C32B-1269-9774-5510********
|
|
1777
1783
|
*/
|
|
1778
1784
|
requestId?: string;
|
|
1779
1785
|
/**
|
|
1786
|
+
* @remarks
|
|
1787
|
+
* The task ID.
|
|
1788
|
+
*
|
|
1780
1789
|
* @example
|
|
1781
1790
|
* T-5fd211e924e1d007********
|
|
1782
1791
|
*/
|
|
@@ -1878,7 +1887,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1878
1887
|
* Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
1879
1888
|
*
|
|
1880
1889
|
* * `true`: enables auto-renewal.
|
|
1881
|
-
* * `false`: disables auto-renewal
|
|
1890
|
+
* * `false`: disables auto-renewal
|
|
1882
1891
|
*
|
|
1883
1892
|
* Default value: `false`
|
|
1884
1893
|
*
|
|
@@ -1894,7 +1903,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1894
1903
|
* @remarks
|
|
1895
1904
|
* 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.
|
|
1896
1905
|
*
|
|
1897
|
-
* Default value: 1
|
|
1906
|
+
* Default value: 1
|
|
1898
1907
|
*
|
|
1899
1908
|
* 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).
|
|
1900
1909
|
*
|
|
@@ -1975,7 +1984,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1975
1984
|
/**
|
|
1976
1985
|
* @remarks
|
|
1977
1986
|
* * `Kubernetes`: an ACK dedicated cluster.
|
|
1978
|
-
* * `ManagedKubernetes`:
|
|
1987
|
+
* * `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.
|
|
1979
1988
|
* * `ExternalKubernetes`: a registered cluster.
|
|
1980
1989
|
*
|
|
1981
1990
|
* This parameter is required.
|
|
@@ -2269,7 +2278,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2269
2278
|
loginPassword?: string;
|
|
2270
2279
|
/**
|
|
2271
2280
|
* @remarks
|
|
2272
|
-
*
|
|
2281
|
+
* The configurations of the cluster maintenance window.
|
|
2273
2282
|
*/
|
|
2274
2283
|
maintenanceWindow?: MaintenanceWindow;
|
|
2275
2284
|
/**
|
|
@@ -2277,7 +2286,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2277
2286
|
* 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:
|
|
2278
2287
|
*
|
|
2279
2288
|
* * `true`: enables auto-renewal.
|
|
2280
|
-
* * `false`: disables auto-renewal
|
|
2289
|
+
* * `false`: disables auto-renewal
|
|
2281
2290
|
*
|
|
2282
2291
|
* Default value: `true`
|
|
2283
2292
|
*
|
|
@@ -2293,7 +2302,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2293
2302
|
*
|
|
2294
2303
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
2295
2304
|
*
|
|
2296
|
-
* Default value: 1
|
|
2305
|
+
* Default value: 1
|
|
2297
2306
|
*
|
|
2298
2307
|
* @example
|
|
2299
2308
|
* 1
|
|
@@ -2318,7 +2327,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2318
2327
|
* The billing method of master nodes. Valid values:
|
|
2319
2328
|
*
|
|
2320
2329
|
* * `PrePaid`: subscription.
|
|
2321
|
-
* * `PostPaid`: pay-as-you-go.
|
|
2330
|
+
* * `PostPaid`: the pay-as-you-go.
|
|
2322
2331
|
*
|
|
2323
2332
|
* Default value: `PostPaid`
|
|
2324
2333
|
*
|
|
@@ -2330,7 +2339,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2330
2339
|
masterInstanceChargeType?: string;
|
|
2331
2340
|
/**
|
|
2332
2341
|
* @remarks
|
|
2333
|
-
* The instance types of master nodes. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
2342
|
+
* The instance types of master nodes. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
2334
2343
|
*
|
|
2335
2344
|
* @deprecated
|
|
2336
2345
|
*/
|
|
@@ -2341,7 +2350,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2341
2350
|
*
|
|
2342
2351
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2343
2352
|
*
|
|
2344
|
-
* Default value: 1
|
|
2353
|
+
* Default value: 1
|
|
2345
2354
|
*
|
|
2346
2355
|
* @example
|
|
2347
2356
|
* 1
|
|
@@ -2366,7 +2375,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2366
2375
|
* The system disk type of master nodes. Valid values:
|
|
2367
2376
|
*
|
|
2368
2377
|
* * `cloud_efficiency`: ultra disk
|
|
2369
|
-
* * `cloud_ssd`: standard SSD
|
|
2378
|
+
* * `cloud_ssd`: standard SSD.
|
|
2370
2379
|
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
2371
2380
|
*
|
|
2372
2381
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
@@ -2420,7 +2429,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2420
2429
|
masterVswitchIds?: string[];
|
|
2421
2430
|
/**
|
|
2422
2431
|
* @remarks
|
|
2423
|
-
* The name
|
|
2432
|
+
* The cluster name.
|
|
2424
2433
|
*
|
|
2425
2434
|
* 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 (-).
|
|
2426
2435
|
*
|
|
@@ -2492,7 +2501,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2492
2501
|
numOfNodes?: number;
|
|
2493
2502
|
/**
|
|
2494
2503
|
* @remarks
|
|
2495
|
-
*
|
|
2504
|
+
* The automatic O\\&M policy of the cluster.
|
|
2496
2505
|
*/
|
|
2497
2506
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
2498
2507
|
/**
|
|
@@ -2516,7 +2525,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2516
2525
|
*
|
|
2517
2526
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2518
2527
|
*
|
|
2519
|
-
* Default value: 1
|
|
2528
|
+
* Default value: 1
|
|
2520
2529
|
*
|
|
2521
2530
|
* 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).
|
|
2522
2531
|
*
|
|
@@ -2542,7 +2551,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2542
2551
|
periodUnit?: string;
|
|
2543
2552
|
/**
|
|
2544
2553
|
* @remarks
|
|
2545
|
-
* The
|
|
2554
|
+
* The OS distribution that is used. Valid values:
|
|
2546
2555
|
*
|
|
2547
2556
|
* * CentOS
|
|
2548
2557
|
* * AliyunLinux
|
|
@@ -2570,10 +2579,10 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2570
2579
|
* @remarks
|
|
2571
2580
|
* 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:
|
|
2572
2581
|
*
|
|
2573
|
-
* * `Default
|
|
2574
|
-
* * `Edge`:
|
|
2575
|
-
* * `Serverless`:
|
|
2576
|
-
* * `Lingjun`:
|
|
2582
|
+
* * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
2583
|
+
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
2584
|
+
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
2585
|
+
* * `Lingjun`: ACK Lingjun Pro cluster.
|
|
2577
2586
|
*
|
|
2578
2587
|
* @example
|
|
2579
2588
|
* Default
|
|
@@ -2584,7 +2593,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2584
2593
|
* The kube-proxy mode. Valid values:
|
|
2585
2594
|
*
|
|
2586
2595
|
* * `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.
|
|
2587
|
-
* * `ipvs`: provides high performance and uses IP Virtual Server (IPVS)
|
|
2596
|
+
* * `ipvs`: a mode that provides high performance and uses IP Virtual Server (IPVS) to conduct service discovery and load balancing. This mode is suitable for clusters that run a large number of Services. We recommend that you use this mode in scenarios that require high-performance load balancing.
|
|
2588
2597
|
*
|
|
2589
2598
|
* Default value: `ipvs`.
|
|
2590
2599
|
*
|
|
@@ -2696,12 +2705,12 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2696
2705
|
snatEntry?: boolean;
|
|
2697
2706
|
/**
|
|
2698
2707
|
* @remarks
|
|
2699
|
-
* Specifies whether to enable
|
|
2708
|
+
* 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).
|
|
2700
2709
|
*
|
|
2701
2710
|
* Valid values:
|
|
2702
2711
|
*
|
|
2703
|
-
* * `true`: enables security hardening
|
|
2704
|
-
* * `false`: disables security hardening
|
|
2712
|
+
* * `true`: enables MLPS security hardening.
|
|
2713
|
+
* * `false`: disables MLPS security hardening.
|
|
2705
2714
|
*
|
|
2706
2715
|
* Default value: `false`
|
|
2707
2716
|
*
|
|
@@ -2726,15 +2735,15 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2726
2735
|
sshFlags?: boolean;
|
|
2727
2736
|
/**
|
|
2728
2737
|
* @remarks
|
|
2729
|
-
* The tags to be added to nodes.
|
|
2738
|
+
* The tags to be added to nodes. When you add tags to a node, the following rules apply:
|
|
2730
2739
|
*
|
|
2731
|
-
* * A
|
|
2740
|
+
* * A tag is a case-sensitive key-value pair. You can add up to 20 tags.
|
|
2732
2741
|
* * 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).
|
|
2733
2742
|
*/
|
|
2734
2743
|
tags?: Tag[];
|
|
2735
2744
|
/**
|
|
2736
2745
|
* @remarks
|
|
2737
|
-
* The
|
|
2746
|
+
* 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/).
|
|
2738
2747
|
*
|
|
2739
2748
|
* @deprecated
|
|
2740
2749
|
*/
|
|
@@ -2827,7 +2836,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2827
2836
|
* The billing method of worker nodes. Valid values:
|
|
2828
2837
|
*
|
|
2829
2838
|
* * `PrePaid`: subscription.
|
|
2830
|
-
* * `PostPaid`: pay-as-you-go.
|
|
2839
|
+
* * `PostPaid`: the pay-as-you-go.
|
|
2831
2840
|
*
|
|
2832
2841
|
* Default value: PostPaid.
|
|
2833
2842
|
*
|
|
@@ -2850,7 +2859,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2850
2859
|
*
|
|
2851
2860
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2852
2861
|
*
|
|
2853
|
-
* Default value: 1
|
|
2862
|
+
* Default value: 1
|
|
2854
2863
|
*
|
|
2855
2864
|
* @example
|
|
2856
2865
|
* 1
|
|
@@ -5790,7 +5799,7 @@ export class DescribeClusterAttachScriptsResponse extends $tea.Model {
|
|
|
5790
5799
|
export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
5791
5800
|
/**
|
|
5792
5801
|
* @remarks
|
|
5793
|
-
* The
|
|
5802
|
+
* The domain name of the cluster.
|
|
5794
5803
|
*
|
|
5795
5804
|
* @example
|
|
5796
5805
|
* cluster.local
|
|
@@ -5827,12 +5836,16 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5827
5836
|
clusterType?: string;
|
|
5828
5837
|
/**
|
|
5829
5838
|
* @remarks
|
|
5830
|
-
* The CIDR block of the pod.
|
|
5839
|
+
* The CIDR block of the pod. The configuration of the Flannel network plug-in.
|
|
5831
5840
|
*
|
|
5832
5841
|
* @example
|
|
5833
5842
|
* 172.20.0.0/16
|
|
5834
5843
|
*/
|
|
5835
5844
|
containerCidr?: string;
|
|
5845
|
+
/**
|
|
5846
|
+
* @remarks
|
|
5847
|
+
* The control plane configurations in an ACK dedicated cluster.
|
|
5848
|
+
*/
|
|
5836
5849
|
controlPlaneConfig?: DescribeClusterDetailResponseBodyControlPlaneConfig;
|
|
5837
5850
|
/**
|
|
5838
5851
|
* @remarks
|
|
@@ -5945,7 +5958,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5945
5958
|
nextVersion?: string;
|
|
5946
5959
|
/**
|
|
5947
5960
|
* @remarks
|
|
5948
|
-
* The number of
|
|
5961
|
+
* 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.
|
|
5949
5962
|
*
|
|
5950
5963
|
* @example
|
|
5951
5964
|
* 26
|
|
@@ -5989,7 +6002,10 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5989
6002
|
profile?: string;
|
|
5990
6003
|
/**
|
|
5991
6004
|
* @remarks
|
|
5992
|
-
* The proxy mode. Valid values:
|
|
6005
|
+
* The kube-proxy mode. Valid values:
|
|
6006
|
+
*
|
|
6007
|
+
* * `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.
|
|
6008
|
+
* * `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.
|
|
5993
6009
|
*
|
|
5994
6010
|
* @example
|
|
5995
6011
|
* ipvs
|
|
@@ -6021,7 +6037,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
6021
6037
|
securityGroupId?: string;
|
|
6022
6038
|
/**
|
|
6023
6039
|
* @remarks
|
|
6024
|
-
* The CIDR block of the
|
|
6040
|
+
* The CIDR block of the service network.
|
|
6025
6041
|
*
|
|
6026
6042
|
* This parameter is required.
|
|
6027
6043
|
*
|
|
@@ -6078,12 +6094,12 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
6078
6094
|
subnetCidr?: string;
|
|
6079
6095
|
/**
|
|
6080
6096
|
* @remarks
|
|
6081
|
-
* The resource
|
|
6097
|
+
* The resource labels of the cluster.
|
|
6082
6098
|
*/
|
|
6083
6099
|
tags?: Tag[];
|
|
6084
6100
|
/**
|
|
6085
6101
|
* @remarks
|
|
6086
|
-
* The time zone
|
|
6102
|
+
* The time zone
|
|
6087
6103
|
*
|
|
6088
6104
|
* @example
|
|
6089
6105
|
* Asia/Shanghai
|
|
@@ -6107,7 +6123,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
6107
6123
|
vpcId?: string;
|
|
6108
6124
|
/**
|
|
6109
6125
|
* @remarks
|
|
6110
|
-
* The
|
|
6126
|
+
* 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.
|
|
6111
6127
|
*
|
|
6112
6128
|
* @example
|
|
6113
6129
|
* vsw-2zete8s4qocqg0mf6****,vsw-2zete8s4qocqg0mf6****
|
|
@@ -7416,7 +7432,7 @@ export class DescribeClustersV1Request extends $tea.Model {
|
|
|
7416
7432
|
export class DescribeClustersV1ResponseBody extends $tea.Model {
|
|
7417
7433
|
/**
|
|
7418
7434
|
* @remarks
|
|
7419
|
-
*
|
|
7435
|
+
* Details of the clusters.
|
|
7420
7436
|
*/
|
|
7421
7437
|
clusters?: DescribeClustersV1ResponseBodyClusters[];
|
|
7422
7438
|
/**
|
|
@@ -9970,6 +9986,32 @@ export class GetClusterCheckResponse extends $tea.Model {
|
|
|
9970
9986
|
}
|
|
9971
9987
|
}
|
|
9972
9988
|
|
|
9989
|
+
export class GetClusterDiagnosisCheckItemsRequest extends $tea.Model {
|
|
9990
|
+
/**
|
|
9991
|
+
* @remarks
|
|
9992
|
+
* 查询语言。
|
|
9993
|
+
*
|
|
9994
|
+
* @example
|
|
9995
|
+
* zh_CN
|
|
9996
|
+
*/
|
|
9997
|
+
language?: string;
|
|
9998
|
+
static names(): { [key: string]: string } {
|
|
9999
|
+
return {
|
|
10000
|
+
language: 'language',
|
|
10001
|
+
};
|
|
10002
|
+
}
|
|
10003
|
+
|
|
10004
|
+
static types(): { [key: string]: any } {
|
|
10005
|
+
return {
|
|
10006
|
+
language: 'string',
|
|
10007
|
+
};
|
|
10008
|
+
}
|
|
10009
|
+
|
|
10010
|
+
constructor(map?: { [key: string]: any }) {
|
|
10011
|
+
super(map);
|
|
10012
|
+
}
|
|
10013
|
+
}
|
|
10014
|
+
|
|
9973
10015
|
export class GetClusterDiagnosisCheckItemsResponseBody extends $tea.Model {
|
|
9974
10016
|
/**
|
|
9975
10017
|
* @remarks
|
|
@@ -10048,6 +10090,32 @@ export class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
|
|
|
10048
10090
|
}
|
|
10049
10091
|
}
|
|
10050
10092
|
|
|
10093
|
+
export class GetClusterDiagnosisResultRequest extends $tea.Model {
|
|
10094
|
+
/**
|
|
10095
|
+
* @remarks
|
|
10096
|
+
* 查询语言。
|
|
10097
|
+
*
|
|
10098
|
+
* @example
|
|
10099
|
+
* zh_CN
|
|
10100
|
+
*/
|
|
10101
|
+
language?: string;
|
|
10102
|
+
static names(): { [key: string]: string } {
|
|
10103
|
+
return {
|
|
10104
|
+
language: 'language',
|
|
10105
|
+
};
|
|
10106
|
+
}
|
|
10107
|
+
|
|
10108
|
+
static types(): { [key: string]: any } {
|
|
10109
|
+
return {
|
|
10110
|
+
language: 'string',
|
|
10111
|
+
};
|
|
10112
|
+
}
|
|
10113
|
+
|
|
10114
|
+
constructor(map?: { [key: string]: any }) {
|
|
10115
|
+
super(map);
|
|
10116
|
+
}
|
|
10117
|
+
}
|
|
10118
|
+
|
|
10051
10119
|
export class GetClusterDiagnosisResultResponseBody extends $tea.Model {
|
|
10052
10120
|
/**
|
|
10053
10121
|
* @remarks
|
|
@@ -10463,8 +10531,29 @@ export class InstallClusterAddonsRequest extends $tea.Model {
|
|
|
10463
10531
|
}
|
|
10464
10532
|
|
|
10465
10533
|
export class InstallClusterAddonsResponseBody extends $tea.Model {
|
|
10534
|
+
/**
|
|
10535
|
+
* @remarks
|
|
10536
|
+
* The ID of the cluster.
|
|
10537
|
+
*
|
|
10538
|
+
* @example
|
|
10539
|
+
* c82e6987e2961451182edacd74faf****
|
|
10540
|
+
*/
|
|
10466
10541
|
clusterId?: string;
|
|
10542
|
+
/**
|
|
10543
|
+
* @remarks
|
|
10544
|
+
* The request ID.
|
|
10545
|
+
*
|
|
10546
|
+
* @example
|
|
10547
|
+
* 48BD70F6-A7E6-543D-9F23-08DEB764C92E
|
|
10548
|
+
*/
|
|
10467
10549
|
requestId?: string;
|
|
10550
|
+
/**
|
|
10551
|
+
* @remarks
|
|
10552
|
+
* The ID of the job.
|
|
10553
|
+
*
|
|
10554
|
+
* @example
|
|
10555
|
+
* T-5a54309c80282e39ea00002f
|
|
10556
|
+
*/
|
|
10468
10557
|
taskId?: string;
|
|
10469
10558
|
static names(): { [key: string]: string } {
|
|
10470
10559
|
return {
|
|
@@ -11408,12 +11497,12 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11408
11497
|
controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
|
|
11409
11498
|
/**
|
|
11410
11499
|
* @remarks
|
|
11411
|
-
* Specifies whether to enable cluster deletion protection. If
|
|
11500
|
+
* 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:
|
|
11412
11501
|
*
|
|
11413
11502
|
* * `true`: enables cluster deletion protection.
|
|
11414
11503
|
* * `false`: disables cluster deletion protection.
|
|
11415
11504
|
*
|
|
11416
|
-
* Default value: `false
|
|
11505
|
+
* Default value: `false`
|
|
11417
11506
|
*
|
|
11418
11507
|
* @example
|
|
11419
11508
|
* true
|
|
@@ -11437,7 +11526,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11437
11526
|
* * `true`: remaps the test domain name of the cluster.
|
|
11438
11527
|
* * `false`: does not remap the test domain name of the cluster.
|
|
11439
11528
|
*
|
|
11440
|
-
* Default value: `false
|
|
11529
|
+
* Default value: `false`
|
|
11441
11530
|
*
|
|
11442
11531
|
* @example
|
|
11443
11532
|
* true
|
|
@@ -11458,7 +11547,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11458
11547
|
* * `true`: enables instance deletion protection.
|
|
11459
11548
|
* * `false`: disables instance deletion protection.
|
|
11460
11549
|
*
|
|
11461
|
-
* Default value: `false
|
|
11550
|
+
* Default value: `false`
|
|
11462
11551
|
*
|
|
11463
11552
|
* @example
|
|
11464
11553
|
* true
|
|
@@ -11487,6 +11576,15 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11487
11576
|
* The storage configurations of system events.
|
|
11488
11577
|
*/
|
|
11489
11578
|
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
11579
|
+
/**
|
|
11580
|
+
* @remarks
|
|
11581
|
+
* 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:
|
|
11582
|
+
*
|
|
11583
|
+
* * This parameter overwrites the existing configuration. You must specify all vSwitches of the control planes.
|
|
11584
|
+
* * The control planes restart during the update process. Exercise caution when you perform this operation.
|
|
11585
|
+
* * 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.
|
|
11586
|
+
* * 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.
|
|
11587
|
+
*/
|
|
11490
11588
|
vswitchIds?: string[];
|
|
11491
11589
|
static names(): { [key: string]: string } {
|
|
11492
11590
|
return {
|
|
@@ -11657,7 +11755,7 @@ export class ModifyClusterAddonResponse extends $tea.Model {
|
|
|
11657
11755
|
export class ModifyClusterConfigurationRequest extends $tea.Model {
|
|
11658
11756
|
/**
|
|
11659
11757
|
* @remarks
|
|
11660
|
-
* The custom
|
|
11758
|
+
* The custom configurations.
|
|
11661
11759
|
*/
|
|
11662
11760
|
customizeConfig?: ModifyClusterConfigurationRequestCustomizeConfig[];
|
|
11663
11761
|
static names(): { [key: string]: string } {
|
|
@@ -12349,8 +12447,12 @@ export class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
12349
12447
|
instanceIds?: string[];
|
|
12350
12448
|
/**
|
|
12351
12449
|
* @remarks
|
|
12450
|
+
* This parameter is deprecated.
|
|
12451
|
+
*
|
|
12352
12452
|
* A list of nodes that you want to remove.
|
|
12353
12453
|
*
|
|
12454
|
+
* > This parameter is deprecated. Use instance_ids instead.
|
|
12455
|
+
*
|
|
12354
12456
|
* @deprecated
|
|
12355
12457
|
*/
|
|
12356
12458
|
nodes?: string[];
|
|
@@ -12417,8 +12519,12 @@ export class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
|
12417
12519
|
instanceIdsShrink?: string;
|
|
12418
12520
|
/**
|
|
12419
12521
|
* @remarks
|
|
12522
|
+
* This parameter is deprecated.
|
|
12523
|
+
*
|
|
12420
12524
|
* A list of nodes that you want to remove.
|
|
12421
12525
|
*
|
|
12526
|
+
* > This parameter is deprecated. Use instance_ids instead.
|
|
12527
|
+
*
|
|
12422
12528
|
* @deprecated
|
|
12423
12529
|
*/
|
|
12424
12530
|
nodesShrink?: string;
|
|
@@ -13796,8 +13902,20 @@ export class UnInstallClusterAddonsRequest extends $tea.Model {
|
|
|
13796
13902
|
}
|
|
13797
13903
|
|
|
13798
13904
|
export class UnInstallClusterAddonsResponseBody extends $tea.Model {
|
|
13905
|
+
/**
|
|
13906
|
+
* @remarks
|
|
13907
|
+
* 集群ID。
|
|
13908
|
+
*/
|
|
13799
13909
|
clusterId?: string;
|
|
13910
|
+
/**
|
|
13911
|
+
* @remarks
|
|
13912
|
+
* 请求ID。
|
|
13913
|
+
*/
|
|
13800
13914
|
requestId?: string;
|
|
13915
|
+
/**
|
|
13916
|
+
* @remarks
|
|
13917
|
+
* 任务ID。
|
|
13918
|
+
*/
|
|
13801
13919
|
taskId?: string;
|
|
13802
13920
|
static names(): { [key: string]: string } {
|
|
13803
13921
|
return {
|
|
@@ -14431,7 +14549,7 @@ export class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
|
|
|
14431
14549
|
export class UpdateResourcesDeleteProtectionRequest extends $tea.Model {
|
|
14432
14550
|
/**
|
|
14433
14551
|
* @remarks
|
|
14434
|
-
*
|
|
14552
|
+
* 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.
|
|
14435
14553
|
*
|
|
14436
14554
|
* @example
|
|
14437
14555
|
* true
|
|
@@ -14677,7 +14795,7 @@ export class UpdateUserPermissionsRequest extends $tea.Model {
|
|
|
14677
14795
|
* * `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.
|
|
14678
14796
|
* * `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.
|
|
14679
14797
|
*
|
|
14680
|
-
* Default value: `apply
|
|
14798
|
+
* Default value: `apply`.
|
|
14681
14799
|
*
|
|
14682
14800
|
* @example
|
|
14683
14801
|
* apply
|
|
@@ -14756,7 +14874,7 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14756
14874
|
nextVersion?: string;
|
|
14757
14875
|
/**
|
|
14758
14876
|
* @remarks
|
|
14759
|
-
*
|
|
14877
|
+
* The rotation configuration.
|
|
14760
14878
|
*/
|
|
14761
14879
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
14762
14880
|
/**
|
|
@@ -16110,29 +16228,121 @@ export class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
16110
16228
|
}
|
|
16111
16229
|
|
|
16112
16230
|
export class CreateClusterRequestControlPlaneConfig extends $tea.Model {
|
|
16231
|
+
/**
|
|
16232
|
+
* @example
|
|
16233
|
+
* true
|
|
16234
|
+
*/
|
|
16113
16235
|
autoRenew?: boolean;
|
|
16236
|
+
/**
|
|
16237
|
+
* @example
|
|
16238
|
+
* 1
|
|
16239
|
+
*/
|
|
16114
16240
|
autoRenewPeriod?: number;
|
|
16241
|
+
/**
|
|
16242
|
+
* @example
|
|
16243
|
+
* PrePaid
|
|
16244
|
+
*/
|
|
16115
16245
|
chargeType?: string;
|
|
16246
|
+
/**
|
|
16247
|
+
* @example
|
|
16248
|
+
* true
|
|
16249
|
+
*/
|
|
16116
16250
|
cloudMonitorFlags?: boolean;
|
|
16251
|
+
/**
|
|
16252
|
+
* @example
|
|
16253
|
+
* none
|
|
16254
|
+
*/
|
|
16117
16255
|
cpuPolicy?: string;
|
|
16256
|
+
/**
|
|
16257
|
+
* @example
|
|
16258
|
+
* ds-bp10b35imuam5amw****
|
|
16259
|
+
*/
|
|
16118
16260
|
deploymentsetId?: string;
|
|
16261
|
+
/**
|
|
16262
|
+
* @example
|
|
16263
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
16264
|
+
*/
|
|
16119
16265
|
imageId?: string;
|
|
16266
|
+
/**
|
|
16267
|
+
* @example
|
|
16268
|
+
* AliyunLinux3
|
|
16269
|
+
*/
|
|
16120
16270
|
imageType?: string;
|
|
16121
16271
|
instanceTypes?: string[];
|
|
16272
|
+
/**
|
|
16273
|
+
* @example
|
|
16274
|
+
* ack
|
|
16275
|
+
*/
|
|
16122
16276
|
keyPair?: string;
|
|
16277
|
+
/**
|
|
16278
|
+
* @example
|
|
16279
|
+
* ack@Test
|
|
16280
|
+
*/
|
|
16123
16281
|
loginPassword?: string;
|
|
16282
|
+
/**
|
|
16283
|
+
* @example
|
|
16284
|
+
* 30000-32767
|
|
16285
|
+
*/
|
|
16124
16286
|
nodePortRange?: string;
|
|
16287
|
+
/**
|
|
16288
|
+
* @example
|
|
16289
|
+
* 1
|
|
16290
|
+
*/
|
|
16125
16291
|
period?: number;
|
|
16292
|
+
/**
|
|
16293
|
+
* @example
|
|
16294
|
+
* Month
|
|
16295
|
+
*/
|
|
16126
16296
|
periodUnit?: string;
|
|
16297
|
+
/**
|
|
16298
|
+
* @example
|
|
16299
|
+
* containerd
|
|
16300
|
+
*/
|
|
16127
16301
|
runtime?: string;
|
|
16302
|
+
/**
|
|
16303
|
+
* @example
|
|
16304
|
+
* true
|
|
16305
|
+
*/
|
|
16128
16306
|
securityHardeningOs?: boolean;
|
|
16307
|
+
/**
|
|
16308
|
+
* @example
|
|
16309
|
+
* 3
|
|
16310
|
+
*/
|
|
16129
16311
|
size?: number;
|
|
16312
|
+
/**
|
|
16313
|
+
* @example
|
|
16314
|
+
* true
|
|
16315
|
+
*/
|
|
16130
16316
|
socEnabled?: boolean;
|
|
16317
|
+
/**
|
|
16318
|
+
* @example
|
|
16319
|
+
* true
|
|
16320
|
+
*/
|
|
16131
16321
|
systemDiskBurstingEnabled?: boolean;
|
|
16322
|
+
/**
|
|
16323
|
+
* @example
|
|
16324
|
+
* cloud_essd
|
|
16325
|
+
*/
|
|
16132
16326
|
systemDiskCategory?: string;
|
|
16327
|
+
/**
|
|
16328
|
+
* @example
|
|
16329
|
+
* PL1
|
|
16330
|
+
*/
|
|
16133
16331
|
systemDiskPerformanceLevel?: string;
|
|
16332
|
+
/**
|
|
16333
|
+
* @example
|
|
16334
|
+
* 1000
|
|
16335
|
+
*/
|
|
16134
16336
|
systemDiskProvisionedIops?: number;
|
|
16337
|
+
/**
|
|
16338
|
+
* @example
|
|
16339
|
+
* 120
|
|
16340
|
+
*/
|
|
16135
16341
|
systemDiskSize?: number;
|
|
16342
|
+
/**
|
|
16343
|
+
* @example
|
|
16344
|
+
* sp-2zej1nogjvovnz4z****
|
|
16345
|
+
*/
|
|
16136
16346
|
systemDiskSnapshotPolicyId?: string;
|
|
16137
16347
|
static names(): { [key: string]: string } {
|
|
16138
16348
|
return {
|
|
@@ -16200,11 +16410,11 @@ export class CreateClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
16200
16410
|
export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
16201
16411
|
/**
|
|
16202
16412
|
* @remarks
|
|
16203
|
-
*
|
|
16413
|
+
* The automatic update frequency. Valid values:
|
|
16204
16414
|
*
|
|
16205
|
-
*
|
|
16206
|
-
*
|
|
16207
|
-
*
|
|
16415
|
+
* * patch
|
|
16416
|
+
* * stable
|
|
16417
|
+
* * rapid
|
|
16208
16418
|
*
|
|
16209
16419
|
* @example
|
|
16210
16420
|
* patch
|
|
@@ -16212,7 +16422,7 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
16212
16422
|
channel?: string;
|
|
16213
16423
|
/**
|
|
16214
16424
|
* @remarks
|
|
16215
|
-
*
|
|
16425
|
+
* Specifies whether to enable auto cluster update.
|
|
16216
16426
|
*
|
|
16217
16427
|
* @example
|
|
16218
16428
|
* true
|
|
@@ -16240,7 +16450,7 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
16240
16450
|
export class CreateClusterRequestOperationPolicy extends $tea.Model {
|
|
16241
16451
|
/**
|
|
16242
16452
|
* @remarks
|
|
16243
|
-
*
|
|
16453
|
+
* The configurations of auto cluster update.
|
|
16244
16454
|
*/
|
|
16245
16455
|
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
16246
16456
|
static names(): { [key: string]: string } {
|
|
@@ -16768,9 +16978,9 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
16768
16978
|
* @remarks
|
|
16769
16979
|
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
|
|
16770
16980
|
*
|
|
16771
|
-
* * `asap`: high
|
|
16772
|
-
* * `later`: medium
|
|
16773
|
-
* * `nntf`: low
|
|
16981
|
+
* * `asap`: high
|
|
16982
|
+
* * `later`: medium
|
|
16983
|
+
* * `nntf`: low
|
|
16774
16984
|
*
|
|
16775
16985
|
* If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
|
|
16776
16986
|
*
|
|
@@ -17544,7 +17754,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
17544
17754
|
* * `cloud`: basic disk.
|
|
17545
17755
|
* * `cloud_efficiency`: ultra disk.
|
|
17546
17756
|
* * `cloud_ssd`: standard SSD.
|
|
17547
|
-
* * `cloud_essd`:
|
|
17757
|
+
* * `cloud_essd`: ESSD.
|
|
17548
17758
|
* * `cloud_auto`: ESSD AutoPL disk.
|
|
17549
17759
|
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
17550
17760
|
*
|
|
@@ -17982,28 +18192,186 @@ export class DescribeAddonsResponseBodyComponentGroups extends $tea.Model {
|
|
|
17982
18192
|
}
|
|
17983
18193
|
|
|
17984
18194
|
export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $tea.Model {
|
|
18195
|
+
/**
|
|
18196
|
+
* @remarks
|
|
18197
|
+
* Indicates whether auto-renewal is enabled for the nodes.
|
|
18198
|
+
*
|
|
18199
|
+
* @example
|
|
18200
|
+
* true
|
|
18201
|
+
*/
|
|
17985
18202
|
autoRenew?: boolean;
|
|
18203
|
+
/**
|
|
18204
|
+
* @remarks
|
|
18205
|
+
* The auto-renewal duration for the nodes.
|
|
18206
|
+
*
|
|
18207
|
+
* @example
|
|
18208
|
+
* 1
|
|
18209
|
+
*/
|
|
17986
18210
|
autoRenewPeriod?: number;
|
|
18211
|
+
/**
|
|
18212
|
+
* @remarks
|
|
18213
|
+
* The billing method of the control plane node.
|
|
18214
|
+
*
|
|
18215
|
+
* @example
|
|
18216
|
+
* PrePaid
|
|
18217
|
+
*/
|
|
17987
18218
|
chargeType?: string;
|
|
18219
|
+
/**
|
|
18220
|
+
* @remarks
|
|
18221
|
+
* Indicates whether to install CloudMonitor for the node.
|
|
18222
|
+
*
|
|
18223
|
+
* @example
|
|
18224
|
+
* true
|
|
18225
|
+
*/
|
|
17988
18226
|
cloudMonitorFlags?: boolean;
|
|
18227
|
+
/**
|
|
18228
|
+
* @remarks
|
|
18229
|
+
* The CPU management policy of nodes.
|
|
18230
|
+
*
|
|
18231
|
+
* @example
|
|
18232
|
+
* none
|
|
18233
|
+
*/
|
|
17989
18234
|
cpuPolicy?: string;
|
|
18235
|
+
/**
|
|
18236
|
+
* @remarks
|
|
18237
|
+
* The ID of the deployment set.
|
|
18238
|
+
*
|
|
18239
|
+
* @example
|
|
18240
|
+
* ds-bp10b35imuam5amw****
|
|
18241
|
+
*/
|
|
17990
18242
|
deploymentsetId?: string;
|
|
18243
|
+
/**
|
|
18244
|
+
* @remarks
|
|
18245
|
+
* The ID of the image.
|
|
18246
|
+
*
|
|
18247
|
+
* @example
|
|
18248
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
18249
|
+
*/
|
|
17991
18250
|
imageId?: string;
|
|
18251
|
+
/**
|
|
18252
|
+
* @remarks
|
|
18253
|
+
* The type of the OS image.
|
|
18254
|
+
*
|
|
18255
|
+
* @example
|
|
18256
|
+
* AliyunLinux3
|
|
18257
|
+
*/
|
|
17992
18258
|
imageType?: string;
|
|
18259
|
+
/**
|
|
18260
|
+
* @remarks
|
|
18261
|
+
* The instance types of the nodes.
|
|
18262
|
+
*/
|
|
17993
18263
|
instanceTypes?: string[];
|
|
18264
|
+
/**
|
|
18265
|
+
* @remarks
|
|
18266
|
+
* The name of the key pair. You must set key_pair or login_password.
|
|
18267
|
+
*
|
|
18268
|
+
* @example
|
|
18269
|
+
* ack
|
|
18270
|
+
*/
|
|
17994
18271
|
keyPair?: string;
|
|
18272
|
+
/**
|
|
18273
|
+
* @remarks
|
|
18274
|
+
* The node port range.
|
|
18275
|
+
*
|
|
18276
|
+
* @example
|
|
18277
|
+
* 30000-32767
|
|
18278
|
+
*/
|
|
17995
18279
|
nodePortRange?: string;
|
|
18280
|
+
/**
|
|
18281
|
+
* @remarks
|
|
18282
|
+
* The subscription duration.
|
|
18283
|
+
*
|
|
18284
|
+
* @example
|
|
18285
|
+
* 1
|
|
18286
|
+
*/
|
|
17996
18287
|
period?: number;
|
|
18288
|
+
/**
|
|
18289
|
+
* @remarks
|
|
18290
|
+
* The unit of the subscription duration.
|
|
18291
|
+
*
|
|
18292
|
+
* @example
|
|
18293
|
+
* Month
|
|
18294
|
+
*/
|
|
17997
18295
|
periodUnit?: string;
|
|
18296
|
+
/**
|
|
18297
|
+
* @remarks
|
|
18298
|
+
* The runtime.
|
|
18299
|
+
*
|
|
18300
|
+
* @example
|
|
18301
|
+
* containerd
|
|
18302
|
+
*/
|
|
17998
18303
|
runtime?: string;
|
|
18304
|
+
/**
|
|
18305
|
+
* @remarks
|
|
18306
|
+
* Indicates whether to enable Alibaba Cloud Linux Security Hardening.
|
|
18307
|
+
*
|
|
18308
|
+
* @example
|
|
18309
|
+
* true
|
|
18310
|
+
*/
|
|
17999
18311
|
securityHardeningOs?: boolean;
|
|
18312
|
+
/**
|
|
18313
|
+
* @remarks
|
|
18314
|
+
* The number of control plane nodes.
|
|
18315
|
+
*
|
|
18316
|
+
* @example
|
|
18317
|
+
* 3
|
|
18318
|
+
*/
|
|
18000
18319
|
size?: number;
|
|
18320
|
+
/**
|
|
18321
|
+
* @remarks
|
|
18322
|
+
* Indicates whether to enable Multi-Level Protection Scheme (MLPS) security hardening.
|
|
18323
|
+
*
|
|
18324
|
+
* @example
|
|
18325
|
+
* false
|
|
18326
|
+
*/
|
|
18001
18327
|
socEnabled?: boolean;
|
|
18328
|
+
/**
|
|
18329
|
+
* @remarks
|
|
18330
|
+
* Indicates whether to enable the burst feature for the system disk.
|
|
18331
|
+
*
|
|
18332
|
+
* @example
|
|
18333
|
+
* true
|
|
18334
|
+
*/
|
|
18002
18335
|
systemDiskBurstingEnabled?: boolean;
|
|
18336
|
+
/**
|
|
18337
|
+
* @remarks
|
|
18338
|
+
* The category of the system disk for nodes.
|
|
18339
|
+
*
|
|
18340
|
+
* @example
|
|
18341
|
+
* cloud_essd
|
|
18342
|
+
*/
|
|
18003
18343
|
systemDiskCategory?: string;
|
|
18344
|
+
/**
|
|
18345
|
+
* @remarks
|
|
18346
|
+
* The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for ESSDs.
|
|
18347
|
+
*
|
|
18348
|
+
* @example
|
|
18349
|
+
* PL1
|
|
18350
|
+
*/
|
|
18004
18351
|
systemDiskPerformanceLevel?: string;
|
|
18352
|
+
/**
|
|
18353
|
+
* @remarks
|
|
18354
|
+
* The preset read/write IOPS of the system disk.
|
|
18355
|
+
*
|
|
18356
|
+
* @example
|
|
18357
|
+
* 1000
|
|
18358
|
+
*/
|
|
18005
18359
|
systemDiskProvisionedIops?: number;
|
|
18360
|
+
/**
|
|
18361
|
+
* @remarks
|
|
18362
|
+
* The system disk size of the node. The value must be at least 40 GB.
|
|
18363
|
+
*
|
|
18364
|
+
* @example
|
|
18365
|
+
* 120
|
|
18366
|
+
*/
|
|
18006
18367
|
systemDiskSize?: number;
|
|
18368
|
+
/**
|
|
18369
|
+
* @remarks
|
|
18370
|
+
* The automatic snapshot policy of the node.
|
|
18371
|
+
*
|
|
18372
|
+
* @example
|
|
18373
|
+
* sp-2zej1nogjvovnz4z****
|
|
18374
|
+
*/
|
|
18007
18375
|
systemDiskSnapshotPolicyId?: string;
|
|
18008
18376
|
static names(): { [key: string]: string } {
|
|
18009
18377
|
return {
|
|
@@ -22678,7 +23046,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
22678
23046
|
clusterType?: string;
|
|
22679
23047
|
/**
|
|
22680
23048
|
* @remarks
|
|
22681
|
-
* The pod CIDR block.
|
|
23049
|
+
* The pod CIDR block and the configuration of the Flannel network plug-in.
|
|
22682
23050
|
*
|
|
22683
23051
|
* @example
|
|
22684
23052
|
* 172.20.0.0/16
|
|
@@ -22833,7 +23201,10 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
22833
23201
|
profile?: string;
|
|
22834
23202
|
/**
|
|
22835
23203
|
* @remarks
|
|
22836
|
-
* The
|
|
23204
|
+
* The Kube-proxy mode. Valid values:
|
|
23205
|
+
*
|
|
23206
|
+
* * `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.
|
|
23207
|
+
* * `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.
|
|
22837
23208
|
*
|
|
22838
23209
|
* @example
|
|
22839
23210
|
* ipvs
|
|
@@ -22902,7 +23273,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
22902
23273
|
state?: string;
|
|
22903
23274
|
/**
|
|
22904
23275
|
* @remarks
|
|
22905
|
-
* 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:
|
|
23276
|
+
* 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:
|
|
22906
23277
|
*
|
|
22907
23278
|
* * 10.0.0.0/8
|
|
22908
23279
|
* * 172.16-31.0.0/12-16
|
|
@@ -22925,7 +23296,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
22925
23296
|
tags?: Tag[];
|
|
22926
23297
|
/**
|
|
22927
23298
|
* @remarks
|
|
22928
|
-
* The time zone
|
|
23299
|
+
* The time zone
|
|
22929
23300
|
*
|
|
22930
23301
|
* @example
|
|
22931
23302
|
* Asia/Shanghai
|
|
@@ -26871,11 +27242,13 @@ export class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
26871
27242
|
export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
26872
27243
|
/**
|
|
26873
27244
|
* @remarks
|
|
26874
|
-
* The frequency
|
|
27245
|
+
* The automatic update frequency. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
26875
27246
|
*
|
|
26876
|
-
*
|
|
26877
|
-
*
|
|
26878
|
-
* *
|
|
27247
|
+
* Valid values:
|
|
27248
|
+
*
|
|
27249
|
+
* * patch: specifies the latest patch version.
|
|
27250
|
+
* * stables: the second-latest minor version.
|
|
27251
|
+
* * rapid: the latest minor version.
|
|
26879
27252
|
*
|
|
26880
27253
|
* @example
|
|
26881
27254
|
* patch
|
|
@@ -26883,7 +27256,7 @@ export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
26883
27256
|
channel?: string;
|
|
26884
27257
|
/**
|
|
26885
27258
|
* @remarks
|
|
26886
|
-
* Specifies whether to enable
|
|
27259
|
+
* Specifies whether to enable automatic update.
|
|
26887
27260
|
*
|
|
26888
27261
|
* @example
|
|
26889
27262
|
* true
|
|
@@ -26911,7 +27284,7 @@ export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
26911
27284
|
export class ModifyClusterRequestOperationPolicy extends $tea.Model {
|
|
26912
27285
|
/**
|
|
26913
27286
|
* @remarks
|
|
26914
|
-
* The configurations of
|
|
27287
|
+
* The configurations of automatic update.
|
|
26915
27288
|
*/
|
|
26916
27289
|
clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
26917
27290
|
static names(): { [key: string]: string } {
|
|
@@ -27006,7 +27379,7 @@ export class ModifyClusterConfigurationRequestCustomizeConfigConfigs extends $te
|
|
|
27006
27379
|
export class ModifyClusterConfigurationRequestCustomizeConfig extends $tea.Model {
|
|
27007
27380
|
/**
|
|
27008
27381
|
* @remarks
|
|
27009
|
-
* The custom
|
|
27382
|
+
* The custom configurations.
|
|
27010
27383
|
*/
|
|
27011
27384
|
configs?: ModifyClusterConfigurationRequestCustomizeConfigConfigs[];
|
|
27012
27385
|
/**
|
|
@@ -27039,7 +27412,7 @@ export class ModifyClusterConfigurationRequestCustomizeConfig extends $tea.Model
|
|
|
27039
27412
|
export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
27040
27413
|
/**
|
|
27041
27414
|
* @remarks
|
|
27042
|
-
* The maximum bandwidth of the EIP.
|
|
27415
|
+
* The maximum bandwidth of the elastic IP address (EIP).
|
|
27043
27416
|
*
|
|
27044
27417
|
* @example
|
|
27045
27418
|
* 5
|
|
@@ -27052,7 +27425,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
27052
27425
|
* The billing method of the EIP. Valid values:
|
|
27053
27426
|
*
|
|
27054
27427
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
27055
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
27428
|
+
* * `PayByTraffic`: pay-by-data-transfer
|
|
27056
27429
|
*
|
|
27057
27430
|
* Default value: `PayByBandwidth`.
|
|
27058
27431
|
*
|
|
@@ -27079,10 +27452,10 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
27079
27452
|
* @remarks
|
|
27080
27453
|
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
27081
27454
|
*
|
|
27082
|
-
* * `true`:
|
|
27455
|
+
* * `true`: An EIP is associated with the node pool.
|
|
27083
27456
|
* * `false`: No EIP is associated with the node pool.
|
|
27084
27457
|
*
|
|
27085
|
-
* Default value: `false
|
|
27458
|
+
* Default value: `false`
|
|
27086
27459
|
*
|
|
27087
27460
|
* @example
|
|
27088
27461
|
* true
|
|
@@ -27110,7 +27483,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
27110
27483
|
* @remarks
|
|
27111
27484
|
* The instance type that is used for auto scaling. Valid values:
|
|
27112
27485
|
*
|
|
27113
|
-
* * `cpu`: regular instance
|
|
27486
|
+
* * `cpu`: regular instance
|
|
27114
27487
|
* * `gpu`: GPU-accelerated instance.
|
|
27115
27488
|
* * `gpushare`: shared GPU-accelerated instance.
|
|
27116
27489
|
* * `spot`: preemptible instance.
|
|
@@ -27270,8 +27643,8 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea
|
|
|
27270
27643
|
* @remarks
|
|
27271
27644
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
27272
27645
|
*
|
|
27273
|
-
* * `true`:
|
|
27274
|
-
* * `false`:
|
|
27646
|
+
* * `true`: yes.
|
|
27647
|
+
* * `false`: no.
|
|
27275
27648
|
*
|
|
27276
27649
|
* @example
|
|
27277
27650
|
* true
|
|
@@ -27299,8 +27672,8 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
27299
27672
|
* @remarks
|
|
27300
27673
|
* Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
|
|
27301
27674
|
*
|
|
27302
|
-
* * `true`:
|
|
27303
|
-
* * `false`:
|
|
27675
|
+
* * `true`: yes.
|
|
27676
|
+
* * `false`: no.
|
|
27304
27677
|
*
|
|
27305
27678
|
* @example
|
|
27306
27679
|
* true
|
|
@@ -27352,8 +27725,8 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
27352
27725
|
* @remarks
|
|
27353
27726
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
27354
27727
|
*
|
|
27355
|
-
* * `true`:
|
|
27356
|
-
* * `false`:
|
|
27728
|
+
* * `true`: yes.
|
|
27729
|
+
* * `false`: no.
|
|
27357
27730
|
*
|
|
27358
27731
|
* @example
|
|
27359
27732
|
* true
|
|
@@ -27389,7 +27762,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
27389
27762
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
27390
27763
|
/**
|
|
27391
27764
|
* @remarks
|
|
27392
|
-
* Specifies whether to enable auto update.
|
|
27765
|
+
* Specifies whether to enable auto update. Valid values:
|
|
27393
27766
|
*
|
|
27394
27767
|
* * true: enables auto update.
|
|
27395
27768
|
* * false: disables auto update.
|
|
@@ -27408,7 +27781,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
27408
27781
|
*
|
|
27409
27782
|
* Valid values: 1 to 1000.
|
|
27410
27783
|
*
|
|
27411
|
-
* Default value: 1
|
|
27784
|
+
* Default value: 1
|
|
27412
27785
|
*
|
|
27413
27786
|
* @example
|
|
27414
27787
|
* 1
|
|
@@ -27463,7 +27836,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
27463
27836
|
* * `true`: enables auto repair.
|
|
27464
27837
|
* * `false`: disables auto repair.
|
|
27465
27838
|
*
|
|
27466
|
-
* Default value: `true
|
|
27839
|
+
* Default value: `true`
|
|
27467
27840
|
*
|
|
27468
27841
|
* @example
|
|
27469
27842
|
* true
|
|
@@ -27476,7 +27849,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
27476
27849
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
27477
27850
|
/**
|
|
27478
27851
|
* @remarks
|
|
27479
|
-
*
|
|
27852
|
+
* Specifies whether to enable auto update. Valid values:
|
|
27480
27853
|
*
|
|
27481
27854
|
* * `true`: enables auto update.
|
|
27482
27855
|
* * `false`: disables auto update.
|
|
@@ -27494,7 +27867,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
27494
27867
|
* @remarks
|
|
27495
27868
|
* Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
|
|
27496
27869
|
*
|
|
27497
|
-
* * `true`:
|
|
27870
|
+
* * `true`: eanbles auto CVE patching.
|
|
27498
27871
|
* * `true`: disables auto CVE patching.
|
|
27499
27872
|
*
|
|
27500
27873
|
* @example
|
|
@@ -27570,7 +27943,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
|
27570
27943
|
name?: string;
|
|
27571
27944
|
/**
|
|
27572
27945
|
* @remarks
|
|
27573
|
-
* The
|
|
27946
|
+
* The resource group ID.
|
|
27574
27947
|
*
|
|
27575
27948
|
* @example
|
|
27576
27949
|
* rg-acfmyvw3wjm****
|
|
@@ -27608,7 +27981,7 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
27608
27981
|
* @remarks
|
|
27609
27982
|
* 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:
|
|
27610
27983
|
*
|
|
27611
|
-
* * `Open`: open private
|
|
27984
|
+
* * `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.
|
|
27612
27985
|
* * `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.
|
|
27613
27986
|
* * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
|
|
27614
27987
|
*
|
|
@@ -27689,9 +28062,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27689
28062
|
autoRenew?: boolean;
|
|
27690
28063
|
/**
|
|
27691
28064
|
* @remarks
|
|
27692
|
-
* The
|
|
28065
|
+
* The auto-renewal period. Valid values:
|
|
27693
28066
|
*
|
|
27694
|
-
*
|
|
28067
|
+
* * Valid values when PeriodUnit is set to Week: 1, 2, and 3
|
|
28068
|
+
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
|
|
28069
|
+
*
|
|
28070
|
+
* Default value: 1
|
|
27695
28071
|
*
|
|
27696
28072
|
* @example
|
|
27697
28073
|
* 1
|
|
@@ -27701,7 +28077,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27701
28077
|
* @remarks
|
|
27702
28078
|
* 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:
|
|
27703
28079
|
*
|
|
27704
|
-
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
28080
|
+
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
27705
28081
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
27706
28082
|
*
|
|
27707
28083
|
* @example
|
|
@@ -27710,7 +28086,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27710
28086
|
compensateWithOnDemand?: boolean;
|
|
27711
28087
|
/**
|
|
27712
28088
|
* @remarks
|
|
27713
|
-
* The configurations of the data disks that are mounted to
|
|
28089
|
+
* 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.
|
|
27714
28090
|
*/
|
|
27715
28091
|
dataDisks?: DataDisk[];
|
|
27716
28092
|
/**
|
|
@@ -27735,7 +28111,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27735
28111
|
*
|
|
27736
28112
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
27737
28113
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
27738
|
-
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
28114
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
27739
28115
|
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
27740
28116
|
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
27741
28117
|
* * `CentOS`: CentOS.
|
|
@@ -27772,7 +28148,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27772
28148
|
instanceTypes?: string[];
|
|
27773
28149
|
/**
|
|
27774
28150
|
* @remarks
|
|
27775
|
-
* The
|
|
28151
|
+
* The billing method of the public IP address. Valid values:
|
|
27776
28152
|
*
|
|
27777
28153
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
27778
28154
|
* * `PayByTraffic`: pay-by-data-transfer
|
|
@@ -27928,7 +28304,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27928
28304
|
* The bidding policy of preemptible instances. Valid values:
|
|
27929
28305
|
*
|
|
27930
28306
|
* * `NoSpot`: non-preemptible instance.
|
|
27931
|
-
* * `SpotWithPriceLimit`: specifies the highest bid
|
|
28307
|
+
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
27932
28308
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
27933
28309
|
*
|
|
27934
28310
|
* For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html).
|
|
@@ -27947,7 +28323,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27947
28323
|
systemDiskBurstingEnabled?: boolean;
|
|
27948
28324
|
/**
|
|
27949
28325
|
* @remarks
|
|
27950
|
-
* 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)
|
|
28326
|
+
* 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).
|
|
27951
28327
|
*/
|
|
27952
28328
|
systemDiskCategories?: string[];
|
|
27953
28329
|
/**
|
|
@@ -27955,7 +28331,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27955
28331
|
* The type of system disk. Valid values:
|
|
27956
28332
|
*
|
|
27957
28333
|
* * `cloud_efficiency`: ultra disk.
|
|
27958
|
-
* * `cloud_ssd`: standard SSD
|
|
28334
|
+
* * `cloud_ssd`: standard SSD.
|
|
27959
28335
|
*
|
|
27960
28336
|
* Default value: `cloud_ssd`.
|
|
27961
28337
|
*
|
|
@@ -27973,7 +28349,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27973
28349
|
systemDiskEncryptAlgorithm?: string;
|
|
27974
28350
|
/**
|
|
27975
28351
|
* @remarks
|
|
27976
|
-
*
|
|
28352
|
+
* Specifies whether to encrypt the system disk. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
|
|
27977
28353
|
*
|
|
27978
28354
|
* @example
|
|
27979
28355
|
* false
|
|
@@ -28009,7 +28385,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
28009
28385
|
*
|
|
28010
28386
|
* Valid values: 20 to 500.
|
|
28011
28387
|
*
|
|
28012
|
-
* The value of this parameter must be at least 20 and greater than or equal to the image
|
|
28388
|
+
* The value of this parameter must be at least 20 and greater than or equal to the size of the image.
|
|
28013
28389
|
*
|
|
28014
28390
|
* Default value: the greater value between 40 and the image size.
|
|
28015
28391
|
*
|
|
@@ -28021,7 +28397,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
28021
28397
|
* @remarks
|
|
28022
28398
|
* The tags that you want to add only to ECS instances.
|
|
28023
28399
|
*
|
|
28024
|
-
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs:
|
|
28400
|
+
* 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://.
|
|
28025
28401
|
*/
|
|
28026
28402
|
tags?: Tag[];
|
|
28027
28403
|
/**
|
|
@@ -28483,7 +28859,7 @@ export class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
|
28483
28859
|
export class UpgradeClusterRequestRollingPolicy extends $tea.Model {
|
|
28484
28860
|
/**
|
|
28485
28861
|
* @remarks
|
|
28486
|
-
*
|
|
28862
|
+
* The maximum size of each batch.
|
|
28487
28863
|
*
|
|
28488
28864
|
* @example
|
|
28489
28865
|
* 3
|
|
@@ -29068,7 +29444,7 @@ export default class Client extends OpenApi {
|
|
|
29068
29444
|
}
|
|
29069
29445
|
|
|
29070
29446
|
/**
|
|
29071
|
-
*
|
|
29447
|
+
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
29072
29448
|
*
|
|
29073
29449
|
* @remarks
|
|
29074
29450
|
* >
|
|
@@ -29107,7 +29483,7 @@ export default class Client extends OpenApi {
|
|
|
29107
29483
|
}
|
|
29108
29484
|
|
|
29109
29485
|
/**
|
|
29110
|
-
*
|
|
29486
|
+
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
29111
29487
|
*
|
|
29112
29488
|
* @remarks
|
|
29113
29489
|
* >
|
|
@@ -29742,7 +30118,7 @@ export default class Client extends OpenApi {
|
|
|
29742
30118
|
}
|
|
29743
30119
|
|
|
29744
30120
|
/**
|
|
29745
|
-
*
|
|
30121
|
+
* Starts a cluster diagnostic.
|
|
29746
30122
|
*
|
|
29747
30123
|
* @param request - CreateClusterDiagnosisRequest
|
|
29748
30124
|
* @param headers - map
|
|
@@ -29779,7 +30155,7 @@ export default class Client extends OpenApi {
|
|
|
29779
30155
|
}
|
|
29780
30156
|
|
|
29781
30157
|
/**
|
|
29782
|
-
*
|
|
30158
|
+
* Starts a cluster diagnostic.
|
|
29783
30159
|
*
|
|
29784
30160
|
* @param request - CreateClusterDiagnosisRequest
|
|
29785
30161
|
* @returns CreateClusterDiagnosisResponse
|
|
@@ -30118,7 +30494,7 @@ export default class Client extends OpenApi {
|
|
|
30118
30494
|
}
|
|
30119
30495
|
|
|
30120
30496
|
/**
|
|
30121
|
-
*
|
|
30497
|
+
* Deletes one or more ACK alert contacts.
|
|
30122
30498
|
*
|
|
30123
30499
|
* @param tmpReq - DeleteAlertContactRequest
|
|
30124
30500
|
* @param headers - map
|
|
@@ -30157,7 +30533,7 @@ export default class Client extends OpenApi {
|
|
|
30157
30533
|
}
|
|
30158
30534
|
|
|
30159
30535
|
/**
|
|
30160
|
-
*
|
|
30536
|
+
* Deletes one or more ACK alert contacts.
|
|
30161
30537
|
*
|
|
30162
30538
|
* @param request - DeleteAlertContactRequest
|
|
30163
30539
|
* @returns DeleteAlertContactResponse
|
|
@@ -30169,7 +30545,7 @@ export default class Client extends OpenApi {
|
|
|
30169
30545
|
}
|
|
30170
30546
|
|
|
30171
30547
|
/**
|
|
30172
|
-
*
|
|
30548
|
+
* Deletes an ACK alert contact group.
|
|
30173
30549
|
*
|
|
30174
30550
|
* @param tmpReq - DeleteAlertContactGroupRequest
|
|
30175
30551
|
* @param headers - map
|
|
@@ -30208,7 +30584,7 @@ export default class Client extends OpenApi {
|
|
|
30208
30584
|
}
|
|
30209
30585
|
|
|
30210
30586
|
/**
|
|
30211
|
-
*
|
|
30587
|
+
* Deletes an ACK alert contact group.
|
|
30212
30588
|
*
|
|
30213
30589
|
* @param request - DeleteAlertContactGroupRequest
|
|
30214
30590
|
* @returns DeleteAlertContactGroupResponse
|
|
@@ -32489,8 +32865,7 @@ export default class Client extends OpenApi {
|
|
|
32489
32865
|
* Queries or issues the kubeconfig credentials of a Resource Access Management (RAM) user or RAM role of the account. If you are the permission manager of a Container Service for Kubernetes (ACK) cluster, you can issue the kubeconfig credentials to a specific RAM user or RAM role of the account by using the Alibaba Cloud account. The kubeconfig credentials, which are used to connect to the ACK cluster, contain the identity information about the RAM user or RAM role.
|
|
32490
32866
|
*
|
|
32491
32867
|
* @remarks
|
|
32492
|
-
*
|
|
32493
|
-
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
32868
|
+
* You can call this operation only by using an Alibaba Cloud account.
|
|
32494
32869
|
*
|
|
32495
32870
|
* @param request - DescribeSubaccountK8sClusterUserConfigRequest
|
|
32496
32871
|
* @param headers - map
|
|
@@ -32530,8 +32905,7 @@ export default class Client extends OpenApi {
|
|
|
32530
32905
|
* Queries or issues the kubeconfig credentials of a Resource Access Management (RAM) user or RAM role of the account. If you are the permission manager of a Container Service for Kubernetes (ACK) cluster, you can issue the kubeconfig credentials to a specific RAM user or RAM role of the account by using the Alibaba Cloud account. The kubeconfig credentials, which are used to connect to the ACK cluster, contain the identity information about the RAM user or RAM role.
|
|
32531
32906
|
*
|
|
32532
32907
|
* @remarks
|
|
32533
|
-
*
|
|
32534
|
-
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
32908
|
+
* You can call this operation only by using an Alibaba Cloud account.
|
|
32535
32909
|
*
|
|
32536
32910
|
* @param request - DescribeSubaccountK8sClusterUserConfigRequest
|
|
32537
32911
|
* @returns DescribeSubaccountK8sClusterUserConfigResponse
|
|
@@ -33079,15 +33453,23 @@ export default class Client extends OpenApi {
|
|
|
33079
33453
|
}
|
|
33080
33454
|
|
|
33081
33455
|
/**
|
|
33082
|
-
*
|
|
33456
|
+
* Queries cluster diagnostic items.
|
|
33083
33457
|
*
|
|
33458
|
+
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
33084
33459
|
* @param headers - map
|
|
33085
33460
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
33086
33461
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
33087
33462
|
*/
|
|
33088
|
-
async getClusterDiagnosisCheckItemsWithOptions(clusterId: string, diagnosisId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisCheckItemsResponse> {
|
|
33463
|
+
async getClusterDiagnosisCheckItemsWithOptions(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisCheckItemsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisCheckItemsResponse> {
|
|
33464
|
+
Util.validateModel(request);
|
|
33465
|
+
let query : {[key: string ]: any} = { };
|
|
33466
|
+
if (!Util.isUnset(request.language)) {
|
|
33467
|
+
query["language"] = request.language;
|
|
33468
|
+
}
|
|
33469
|
+
|
|
33089
33470
|
let req = new $OpenApi.OpenApiRequest({
|
|
33090
33471
|
headers: headers,
|
|
33472
|
+
query: OpenApiUtil.query(query),
|
|
33091
33473
|
});
|
|
33092
33474
|
let params = new $OpenApi.Params({
|
|
33093
33475
|
action: "GetClusterDiagnosisCheckItems",
|
|
@@ -33104,25 +33486,35 @@ export default class Client extends OpenApi {
|
|
|
33104
33486
|
}
|
|
33105
33487
|
|
|
33106
33488
|
/**
|
|
33107
|
-
*
|
|
33489
|
+
* Queries cluster diagnostic items.
|
|
33490
|
+
*
|
|
33491
|
+
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
33108
33492
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
33109
33493
|
*/
|
|
33110
|
-
async getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisCheckItemsResponse> {
|
|
33494
|
+
async getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisCheckItemsRequest): Promise<GetClusterDiagnosisCheckItemsResponse> {
|
|
33111
33495
|
let runtime = new $Util.RuntimeOptions({ });
|
|
33112
33496
|
let headers : {[key: string ]: string} = { };
|
|
33113
|
-
return await this.getClusterDiagnosisCheckItemsWithOptions(clusterId, diagnosisId, headers, runtime);
|
|
33497
|
+
return await this.getClusterDiagnosisCheckItemsWithOptions(clusterId, diagnosisId, request, headers, runtime);
|
|
33114
33498
|
}
|
|
33115
33499
|
|
|
33116
33500
|
/**
|
|
33117
|
-
*
|
|
33501
|
+
* Queries cluster diagnostic results.
|
|
33118
33502
|
*
|
|
33503
|
+
* @param request - GetClusterDiagnosisResultRequest
|
|
33119
33504
|
* @param headers - map
|
|
33120
33505
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
33121
33506
|
* @returns GetClusterDiagnosisResultResponse
|
|
33122
33507
|
*/
|
|
33123
|
-
async getClusterDiagnosisResultWithOptions(clusterId: string, diagnosisId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisResultResponse> {
|
|
33508
|
+
async getClusterDiagnosisResultWithOptions(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisResultResponse> {
|
|
33509
|
+
Util.validateModel(request);
|
|
33510
|
+
let query : {[key: string ]: any} = { };
|
|
33511
|
+
if (!Util.isUnset(request.language)) {
|
|
33512
|
+
query["language"] = request.language;
|
|
33513
|
+
}
|
|
33514
|
+
|
|
33124
33515
|
let req = new $OpenApi.OpenApiRequest({
|
|
33125
33516
|
headers: headers,
|
|
33517
|
+
query: OpenApiUtil.query(query),
|
|
33126
33518
|
});
|
|
33127
33519
|
let params = new $OpenApi.Params({
|
|
33128
33520
|
action: "GetClusterDiagnosisResult",
|
|
@@ -33139,13 +33531,15 @@ export default class Client extends OpenApi {
|
|
|
33139
33531
|
}
|
|
33140
33532
|
|
|
33141
33533
|
/**
|
|
33142
|
-
*
|
|
33534
|
+
* Queries cluster diagnostic results.
|
|
33535
|
+
*
|
|
33536
|
+
* @param request - GetClusterDiagnosisResultRequest
|
|
33143
33537
|
* @returns GetClusterDiagnosisResultResponse
|
|
33144
33538
|
*/
|
|
33145
|
-
async getClusterDiagnosisResult(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisResultResponse> {
|
|
33539
|
+
async getClusterDiagnosisResult(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisResultRequest): Promise<GetClusterDiagnosisResultResponse> {
|
|
33146
33540
|
let runtime = new $Util.RuntimeOptions({ });
|
|
33147
33541
|
let headers : {[key: string ]: string} = { };
|
|
33148
|
-
return await this.getClusterDiagnosisResultWithOptions(clusterId, diagnosisId, headers, runtime);
|
|
33542
|
+
return await this.getClusterDiagnosisResultWithOptions(clusterId, diagnosisId, request, headers, runtime);
|
|
33149
33543
|
}
|
|
33150
33544
|
|
|
33151
33545
|
/**
|
|
@@ -33492,7 +33886,7 @@ export default class Client extends OpenApi {
|
|
|
33492
33886
|
}
|
|
33493
33887
|
|
|
33494
33888
|
/**
|
|
33495
|
-
*
|
|
33889
|
+
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
33496
33890
|
*
|
|
33497
33891
|
* @remarks
|
|
33498
33892
|
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
@@ -33533,7 +33927,7 @@ export default class Client extends OpenApi {
|
|
|
33533
33927
|
}
|
|
33534
33928
|
|
|
33535
33929
|
/**
|
|
33536
|
-
*
|
|
33930
|
+
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
33537
33931
|
*
|
|
33538
33932
|
* @remarks
|
|
33539
33933
|
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
@@ -34461,10 +34855,11 @@ export default class Client extends OpenApi {
|
|
|
34461
34855
|
* Removes nodes from a node pool.
|
|
34462
34856
|
*
|
|
34463
34857
|
* @remarks
|
|
34464
|
-
*
|
|
34465
|
-
*
|
|
34466
|
-
*
|
|
34467
|
-
*
|
|
34858
|
+
* 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.
|
|
34859
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
34860
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
34861
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
34862
|
+
* * 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.
|
|
34468
34863
|
*
|
|
34469
34864
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
34470
34865
|
* @param headers - map
|
|
@@ -34526,10 +34921,11 @@ export default class Client extends OpenApi {
|
|
|
34526
34921
|
* Removes nodes from a node pool.
|
|
34527
34922
|
*
|
|
34528
34923
|
* @remarks
|
|
34529
|
-
*
|
|
34530
|
-
*
|
|
34531
|
-
*
|
|
34532
|
-
*
|
|
34924
|
+
* 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.
|
|
34925
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
34926
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
34927
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
34928
|
+
* * 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.
|
|
34533
34929
|
*
|
|
34534
34930
|
* @param request - RemoveNodePoolNodesRequest
|
|
34535
34931
|
* @returns RemoveNodePoolNodesResponse
|