@alicloud/cs20151215 4.8.3 → 4.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +513 -122
- package/dist/client.js +134 -38
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +571 -126
package/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
|
*
|
|
@@ -1878,7 +1878,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1878
1878
|
* Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
1879
1879
|
*
|
|
1880
1880
|
* * `true`: enables auto-renewal.
|
|
1881
|
-
* * `false`: disables auto-renewal
|
|
1881
|
+
* * `false`: disables auto-renewal
|
|
1882
1882
|
*
|
|
1883
1883
|
* Default value: `false`
|
|
1884
1884
|
*
|
|
@@ -1894,7 +1894,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1894
1894
|
* @remarks
|
|
1895
1895
|
* 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
1896
|
*
|
|
1897
|
-
* Default value: 1
|
|
1897
|
+
* Default value: 1
|
|
1898
1898
|
*
|
|
1899
1899
|
* 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
1900
|
*
|
|
@@ -1975,7 +1975,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1975
1975
|
/**
|
|
1976
1976
|
* @remarks
|
|
1977
1977
|
* * `Kubernetes`: an ACK dedicated cluster.
|
|
1978
|
-
* * `ManagedKubernetes`:
|
|
1978
|
+
* * `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
1979
|
* * `ExternalKubernetes`: a registered cluster.
|
|
1980
1980
|
*
|
|
1981
1981
|
* This parameter is required.
|
|
@@ -2269,7 +2269,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2269
2269
|
loginPassword?: string;
|
|
2270
2270
|
/**
|
|
2271
2271
|
* @remarks
|
|
2272
|
-
*
|
|
2272
|
+
* The configurations of the cluster maintenance window.
|
|
2273
2273
|
*/
|
|
2274
2274
|
maintenanceWindow?: MaintenanceWindow;
|
|
2275
2275
|
/**
|
|
@@ -2277,7 +2277,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2277
2277
|
* 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
2278
|
*
|
|
2279
2279
|
* * `true`: enables auto-renewal.
|
|
2280
|
-
* * `false`: disables auto-renewal
|
|
2280
|
+
* * `false`: disables auto-renewal
|
|
2281
2281
|
*
|
|
2282
2282
|
* Default value: `true`
|
|
2283
2283
|
*
|
|
@@ -2293,7 +2293,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2293
2293
|
*
|
|
2294
2294
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
2295
2295
|
*
|
|
2296
|
-
* Default value: 1
|
|
2296
|
+
* Default value: 1
|
|
2297
2297
|
*
|
|
2298
2298
|
* @example
|
|
2299
2299
|
* 1
|
|
@@ -2318,7 +2318,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2318
2318
|
* The billing method of master nodes. Valid values:
|
|
2319
2319
|
*
|
|
2320
2320
|
* * `PrePaid`: subscription.
|
|
2321
|
-
* * `PostPaid`: pay-as-you-go.
|
|
2321
|
+
* * `PostPaid`: the pay-as-you-go.
|
|
2322
2322
|
*
|
|
2323
2323
|
* Default value: `PostPaid`
|
|
2324
2324
|
*
|
|
@@ -2330,7 +2330,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2330
2330
|
masterInstanceChargeType?: string;
|
|
2331
2331
|
/**
|
|
2332
2332
|
* @remarks
|
|
2333
|
-
* The instance types of master nodes. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
2333
|
+
* The instance types of master nodes. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
2334
2334
|
*
|
|
2335
2335
|
* @deprecated
|
|
2336
2336
|
*/
|
|
@@ -2341,7 +2341,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2341
2341
|
*
|
|
2342
2342
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2343
2343
|
*
|
|
2344
|
-
* Default value: 1
|
|
2344
|
+
* Default value: 1
|
|
2345
2345
|
*
|
|
2346
2346
|
* @example
|
|
2347
2347
|
* 1
|
|
@@ -2366,7 +2366,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2366
2366
|
* The system disk type of master nodes. Valid values:
|
|
2367
2367
|
*
|
|
2368
2368
|
* * `cloud_efficiency`: ultra disk
|
|
2369
|
-
* * `cloud_ssd`: standard SSD
|
|
2369
|
+
* * `cloud_ssd`: standard SSD.
|
|
2370
2370
|
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
2371
2371
|
*
|
|
2372
2372
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
@@ -2420,7 +2420,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2420
2420
|
masterVswitchIds?: string[];
|
|
2421
2421
|
/**
|
|
2422
2422
|
* @remarks
|
|
2423
|
-
* The name
|
|
2423
|
+
* The cluster name.
|
|
2424
2424
|
*
|
|
2425
2425
|
* 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
2426
|
*
|
|
@@ -2492,7 +2492,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2492
2492
|
numOfNodes?: number;
|
|
2493
2493
|
/**
|
|
2494
2494
|
* @remarks
|
|
2495
|
-
*
|
|
2495
|
+
* The automatic O\\&M policy of the cluster.
|
|
2496
2496
|
*/
|
|
2497
2497
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
2498
2498
|
/**
|
|
@@ -2516,7 +2516,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2516
2516
|
*
|
|
2517
2517
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2518
2518
|
*
|
|
2519
|
-
* Default value: 1
|
|
2519
|
+
* Default value: 1
|
|
2520
2520
|
*
|
|
2521
2521
|
* 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
2522
|
*
|
|
@@ -2542,7 +2542,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2542
2542
|
periodUnit?: string;
|
|
2543
2543
|
/**
|
|
2544
2544
|
* @remarks
|
|
2545
|
-
* The
|
|
2545
|
+
* The OS distribution that is used. Valid values:
|
|
2546
2546
|
*
|
|
2547
2547
|
* * CentOS
|
|
2548
2548
|
* * AliyunLinux
|
|
@@ -2570,10 +2570,10 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2570
2570
|
* @remarks
|
|
2571
2571
|
* 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
2572
|
*
|
|
2573
|
-
* * `Default
|
|
2574
|
-
* * `Edge`:
|
|
2575
|
-
* * `Serverless`:
|
|
2576
|
-
* * `Lingjun`:
|
|
2573
|
+
* * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
2574
|
+
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
2575
|
+
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
2576
|
+
* * `Lingjun`: ACK Lingjun Pro cluster.
|
|
2577
2577
|
*
|
|
2578
2578
|
* @example
|
|
2579
2579
|
* Default
|
|
@@ -2696,12 +2696,12 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2696
2696
|
snatEntry?: boolean;
|
|
2697
2697
|
/**
|
|
2698
2698
|
* @remarks
|
|
2699
|
-
* Specifies whether to enable
|
|
2699
|
+
* 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
2700
|
*
|
|
2701
2701
|
* Valid values:
|
|
2702
2702
|
*
|
|
2703
|
-
* * `true`: enables security hardening
|
|
2704
|
-
* * `false`: disables security hardening
|
|
2703
|
+
* * `true`: enables MLPS security hardening.
|
|
2704
|
+
* * `false`: disables MLPS security hardening.
|
|
2705
2705
|
*
|
|
2706
2706
|
* Default value: `false`
|
|
2707
2707
|
*
|
|
@@ -2726,15 +2726,15 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2726
2726
|
sshFlags?: boolean;
|
|
2727
2727
|
/**
|
|
2728
2728
|
* @remarks
|
|
2729
|
-
* The tags to be added to nodes.
|
|
2729
|
+
* The tags to be added to nodes. When you add tags to a node, the following rules apply:
|
|
2730
2730
|
*
|
|
2731
|
-
* * A
|
|
2731
|
+
* * A tag is a case-sensitive key-value pair. You can add up to 20 tags.
|
|
2732
2732
|
* * 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
2733
|
*/
|
|
2734
2734
|
tags?: Tag[];
|
|
2735
2735
|
/**
|
|
2736
2736
|
* @remarks
|
|
2737
|
-
* The
|
|
2737
|
+
* 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
2738
|
*
|
|
2739
2739
|
* @deprecated
|
|
2740
2740
|
*/
|
|
@@ -2827,7 +2827,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2827
2827
|
* The billing method of worker nodes. Valid values:
|
|
2828
2828
|
*
|
|
2829
2829
|
* * `PrePaid`: subscription.
|
|
2830
|
-
* * `PostPaid`: pay-as-you-go.
|
|
2830
|
+
* * `PostPaid`: the pay-as-you-go.
|
|
2831
2831
|
*
|
|
2832
2832
|
* Default value: PostPaid.
|
|
2833
2833
|
*
|
|
@@ -2850,7 +2850,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2850
2850
|
*
|
|
2851
2851
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2852
2852
|
*
|
|
2853
|
-
* Default value: 1
|
|
2853
|
+
* Default value: 1
|
|
2854
2854
|
*
|
|
2855
2855
|
* @example
|
|
2856
2856
|
* 1
|
|
@@ -5790,7 +5790,7 @@ export class DescribeClusterAttachScriptsResponse extends $tea.Model {
|
|
|
5790
5790
|
export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
5791
5791
|
/**
|
|
5792
5792
|
* @remarks
|
|
5793
|
-
* The
|
|
5793
|
+
* The domain name of the cluster.
|
|
5794
5794
|
*
|
|
5795
5795
|
* @example
|
|
5796
5796
|
* cluster.local
|
|
@@ -5827,12 +5827,16 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5827
5827
|
clusterType?: string;
|
|
5828
5828
|
/**
|
|
5829
5829
|
* @remarks
|
|
5830
|
-
* The CIDR block of the pod.
|
|
5830
|
+
* The CIDR block of the pod. The configuration of the Flannel network plug-in.
|
|
5831
5831
|
*
|
|
5832
5832
|
* @example
|
|
5833
5833
|
* 172.20.0.0/16
|
|
5834
5834
|
*/
|
|
5835
5835
|
containerCidr?: string;
|
|
5836
|
+
/**
|
|
5837
|
+
* @remarks
|
|
5838
|
+
* The control plane configurations in an ACK dedicated cluster.
|
|
5839
|
+
*/
|
|
5836
5840
|
controlPlaneConfig?: DescribeClusterDetailResponseBodyControlPlaneConfig;
|
|
5837
5841
|
/**
|
|
5838
5842
|
* @remarks
|
|
@@ -5945,7 +5949,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5945
5949
|
nextVersion?: string;
|
|
5946
5950
|
/**
|
|
5947
5951
|
* @remarks
|
|
5948
|
-
* The number of
|
|
5952
|
+
* 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
5953
|
*
|
|
5950
5954
|
* @example
|
|
5951
5955
|
* 26
|
|
@@ -5989,7 +5993,10 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5989
5993
|
profile?: string;
|
|
5990
5994
|
/**
|
|
5991
5995
|
* @remarks
|
|
5992
|
-
* The proxy mode. Valid values:
|
|
5996
|
+
* The kube-proxy mode. Valid values:
|
|
5997
|
+
*
|
|
5998
|
+
* * `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.
|
|
5999
|
+
* * `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
6000
|
*
|
|
5994
6001
|
* @example
|
|
5995
6002
|
* ipvs
|
|
@@ -6021,7 +6028,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
6021
6028
|
securityGroupId?: string;
|
|
6022
6029
|
/**
|
|
6023
6030
|
* @remarks
|
|
6024
|
-
* The CIDR block of the
|
|
6031
|
+
* The CIDR block of the service network.
|
|
6025
6032
|
*
|
|
6026
6033
|
* This parameter is required.
|
|
6027
6034
|
*
|
|
@@ -6083,7 +6090,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
6083
6090
|
tags?: Tag[];
|
|
6084
6091
|
/**
|
|
6085
6092
|
* @remarks
|
|
6086
|
-
* The time zone
|
|
6093
|
+
* The time zone
|
|
6087
6094
|
*
|
|
6088
6095
|
* @example
|
|
6089
6096
|
* Asia/Shanghai
|
|
@@ -6107,7 +6114,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
6107
6114
|
vpcId?: string;
|
|
6108
6115
|
/**
|
|
6109
6116
|
* @remarks
|
|
6110
|
-
* The
|
|
6117
|
+
* 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
6118
|
*
|
|
6112
6119
|
* @example
|
|
6113
6120
|
* vsw-2zete8s4qocqg0mf6****,vsw-2zete8s4qocqg0mf6****
|
|
@@ -7416,7 +7423,7 @@ export class DescribeClustersV1Request extends $tea.Model {
|
|
|
7416
7423
|
export class DescribeClustersV1ResponseBody extends $tea.Model {
|
|
7417
7424
|
/**
|
|
7418
7425
|
* @remarks
|
|
7419
|
-
*
|
|
7426
|
+
* Details of the clusters.
|
|
7420
7427
|
*/
|
|
7421
7428
|
clusters?: DescribeClustersV1ResponseBodyClusters[];
|
|
7422
7429
|
/**
|
|
@@ -9970,6 +9977,32 @@ export class GetClusterCheckResponse extends $tea.Model {
|
|
|
9970
9977
|
}
|
|
9971
9978
|
}
|
|
9972
9979
|
|
|
9980
|
+
export class GetClusterDiagnosisCheckItemsRequest extends $tea.Model {
|
|
9981
|
+
/**
|
|
9982
|
+
* @remarks
|
|
9983
|
+
* 查询语言。
|
|
9984
|
+
*
|
|
9985
|
+
* @example
|
|
9986
|
+
* zh_CN
|
|
9987
|
+
*/
|
|
9988
|
+
language?: string;
|
|
9989
|
+
static names(): { [key: string]: string } {
|
|
9990
|
+
return {
|
|
9991
|
+
language: 'language',
|
|
9992
|
+
};
|
|
9993
|
+
}
|
|
9994
|
+
|
|
9995
|
+
static types(): { [key: string]: any } {
|
|
9996
|
+
return {
|
|
9997
|
+
language: 'string',
|
|
9998
|
+
};
|
|
9999
|
+
}
|
|
10000
|
+
|
|
10001
|
+
constructor(map?: { [key: string]: any }) {
|
|
10002
|
+
super(map);
|
|
10003
|
+
}
|
|
10004
|
+
}
|
|
10005
|
+
|
|
9973
10006
|
export class GetClusterDiagnosisCheckItemsResponseBody extends $tea.Model {
|
|
9974
10007
|
/**
|
|
9975
10008
|
* @remarks
|
|
@@ -10048,6 +10081,32 @@ export class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
|
|
|
10048
10081
|
}
|
|
10049
10082
|
}
|
|
10050
10083
|
|
|
10084
|
+
export class GetClusterDiagnosisResultRequest extends $tea.Model {
|
|
10085
|
+
/**
|
|
10086
|
+
* @remarks
|
|
10087
|
+
* 查询语言。
|
|
10088
|
+
*
|
|
10089
|
+
* @example
|
|
10090
|
+
* zh_CN
|
|
10091
|
+
*/
|
|
10092
|
+
language?: string;
|
|
10093
|
+
static names(): { [key: string]: string } {
|
|
10094
|
+
return {
|
|
10095
|
+
language: 'language',
|
|
10096
|
+
};
|
|
10097
|
+
}
|
|
10098
|
+
|
|
10099
|
+
static types(): { [key: string]: any } {
|
|
10100
|
+
return {
|
|
10101
|
+
language: 'string',
|
|
10102
|
+
};
|
|
10103
|
+
}
|
|
10104
|
+
|
|
10105
|
+
constructor(map?: { [key: string]: any }) {
|
|
10106
|
+
super(map);
|
|
10107
|
+
}
|
|
10108
|
+
}
|
|
10109
|
+
|
|
10051
10110
|
export class GetClusterDiagnosisResultResponseBody extends $tea.Model {
|
|
10052
10111
|
/**
|
|
10053
10112
|
* @remarks
|
|
@@ -10462,13 +10521,61 @@ export class InstallClusterAddonsRequest extends $tea.Model {
|
|
|
10462
10521
|
}
|
|
10463
10522
|
}
|
|
10464
10523
|
|
|
10524
|
+
export class InstallClusterAddonsResponseBody extends $tea.Model {
|
|
10525
|
+
/**
|
|
10526
|
+
* @remarks
|
|
10527
|
+
* The ID of the cluster.
|
|
10528
|
+
*
|
|
10529
|
+
* @example
|
|
10530
|
+
* c82e6987e2961451182edacd74faf****
|
|
10531
|
+
*/
|
|
10532
|
+
clusterId?: string;
|
|
10533
|
+
/**
|
|
10534
|
+
* @remarks
|
|
10535
|
+
* The request ID.
|
|
10536
|
+
*
|
|
10537
|
+
* @example
|
|
10538
|
+
* 48BD70F6-A7E6-543D-9F23-08DEB764C92E
|
|
10539
|
+
*/
|
|
10540
|
+
requestId?: string;
|
|
10541
|
+
/**
|
|
10542
|
+
* @remarks
|
|
10543
|
+
* The ID of the job.
|
|
10544
|
+
*
|
|
10545
|
+
* @example
|
|
10546
|
+
* T-5a54309c80282e39ea00002f
|
|
10547
|
+
*/
|
|
10548
|
+
taskId?: string;
|
|
10549
|
+
static names(): { [key: string]: string } {
|
|
10550
|
+
return {
|
|
10551
|
+
clusterId: 'cluster_id',
|
|
10552
|
+
requestId: 'request_id',
|
|
10553
|
+
taskId: 'task_id',
|
|
10554
|
+
};
|
|
10555
|
+
}
|
|
10556
|
+
|
|
10557
|
+
static types(): { [key: string]: any } {
|
|
10558
|
+
return {
|
|
10559
|
+
clusterId: 'string',
|
|
10560
|
+
requestId: 'string',
|
|
10561
|
+
taskId: 'string',
|
|
10562
|
+
};
|
|
10563
|
+
}
|
|
10564
|
+
|
|
10565
|
+
constructor(map?: { [key: string]: any }) {
|
|
10566
|
+
super(map);
|
|
10567
|
+
}
|
|
10568
|
+
}
|
|
10569
|
+
|
|
10465
10570
|
export class InstallClusterAddonsResponse extends $tea.Model {
|
|
10466
10571
|
headers?: { [key: string]: string };
|
|
10467
10572
|
statusCode?: number;
|
|
10573
|
+
body?: InstallClusterAddonsResponseBody;
|
|
10468
10574
|
static names(): { [key: string]: string } {
|
|
10469
10575
|
return {
|
|
10470
10576
|
headers: 'headers',
|
|
10471
10577
|
statusCode: 'statusCode',
|
|
10578
|
+
body: 'body',
|
|
10472
10579
|
};
|
|
10473
10580
|
}
|
|
10474
10581
|
|
|
@@ -10476,6 +10583,7 @@ export class InstallClusterAddonsResponse extends $tea.Model {
|
|
|
10476
10583
|
return {
|
|
10477
10584
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10478
10585
|
statusCode: 'number',
|
|
10586
|
+
body: InstallClusterAddonsResponseBody,
|
|
10479
10587
|
};
|
|
10480
10588
|
}
|
|
10481
10589
|
|
|
@@ -11380,12 +11488,12 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11380
11488
|
controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
|
|
11381
11489
|
/**
|
|
11382
11490
|
* @remarks
|
|
11383
|
-
* Specifies whether to enable cluster deletion protection. If
|
|
11491
|
+
* 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:
|
|
11384
11492
|
*
|
|
11385
11493
|
* * `true`: enables cluster deletion protection.
|
|
11386
11494
|
* * `false`: disables cluster deletion protection.
|
|
11387
11495
|
*
|
|
11388
|
-
* Default value: `false
|
|
11496
|
+
* Default value: `false`
|
|
11389
11497
|
*
|
|
11390
11498
|
* @example
|
|
11391
11499
|
* true
|
|
@@ -11409,7 +11517,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11409
11517
|
* * `true`: remaps the test domain name of the cluster.
|
|
11410
11518
|
* * `false`: does not remap the test domain name of the cluster.
|
|
11411
11519
|
*
|
|
11412
|
-
* Default value: `false
|
|
11520
|
+
* Default value: `false`
|
|
11413
11521
|
*
|
|
11414
11522
|
* @example
|
|
11415
11523
|
* true
|
|
@@ -11430,7 +11538,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11430
11538
|
* * `true`: enables instance deletion protection.
|
|
11431
11539
|
* * `false`: disables instance deletion protection.
|
|
11432
11540
|
*
|
|
11433
|
-
* Default value: `false
|
|
11541
|
+
* Default value: `false`
|
|
11434
11542
|
*
|
|
11435
11543
|
* @example
|
|
11436
11544
|
* true
|
|
@@ -11459,6 +11567,15 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11459
11567
|
* The storage configurations of system events.
|
|
11460
11568
|
*/
|
|
11461
11569
|
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
11570
|
+
/**
|
|
11571
|
+
* @remarks
|
|
11572
|
+
* 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:
|
|
11573
|
+
*
|
|
11574
|
+
* * This parameter overwrites the existing configuration. You must specify all vSwitches of the control planes.
|
|
11575
|
+
* * The control planes restart during the update process. Exercise caution when you perform this operation.
|
|
11576
|
+
* * 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.
|
|
11577
|
+
* * 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.
|
|
11578
|
+
*/
|
|
11462
11579
|
vswitchIds?: string[];
|
|
11463
11580
|
static names(): { [key: string]: string } {
|
|
11464
11581
|
return {
|
|
@@ -11629,7 +11746,7 @@ export class ModifyClusterAddonResponse extends $tea.Model {
|
|
|
11629
11746
|
export class ModifyClusterConfigurationRequest extends $tea.Model {
|
|
11630
11747
|
/**
|
|
11631
11748
|
* @remarks
|
|
11632
|
-
* The custom
|
|
11749
|
+
* The custom configurations.
|
|
11633
11750
|
*/
|
|
11634
11751
|
customizeConfig?: ModifyClusterConfigurationRequestCustomizeConfig[];
|
|
11635
11752
|
static names(): { [key: string]: string } {
|
|
@@ -12321,8 +12438,12 @@ export class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
12321
12438
|
instanceIds?: string[];
|
|
12322
12439
|
/**
|
|
12323
12440
|
* @remarks
|
|
12441
|
+
* This parameter is deprecated.
|
|
12442
|
+
*
|
|
12324
12443
|
* A list of nodes that you want to remove.
|
|
12325
12444
|
*
|
|
12445
|
+
* > This parameter is deprecated. Use instance_ids instead.
|
|
12446
|
+
*
|
|
12326
12447
|
* @deprecated
|
|
12327
12448
|
*/
|
|
12328
12449
|
nodes?: string[];
|
|
@@ -12389,8 +12510,12 @@ export class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
|
12389
12510
|
instanceIdsShrink?: string;
|
|
12390
12511
|
/**
|
|
12391
12512
|
* @remarks
|
|
12513
|
+
* This parameter is deprecated.
|
|
12514
|
+
*
|
|
12392
12515
|
* A list of nodes that you want to remove.
|
|
12393
12516
|
*
|
|
12517
|
+
* > This parameter is deprecated. Use instance_ids instead.
|
|
12518
|
+
*
|
|
12394
12519
|
* @deprecated
|
|
12395
12520
|
*/
|
|
12396
12521
|
nodesShrink?: string;
|
|
@@ -13767,13 +13892,52 @@ export class UnInstallClusterAddonsRequest extends $tea.Model {
|
|
|
13767
13892
|
}
|
|
13768
13893
|
}
|
|
13769
13894
|
|
|
13895
|
+
export class UnInstallClusterAddonsResponseBody extends $tea.Model {
|
|
13896
|
+
/**
|
|
13897
|
+
* @remarks
|
|
13898
|
+
* 集群ID。
|
|
13899
|
+
*/
|
|
13900
|
+
clusterId?: string;
|
|
13901
|
+
/**
|
|
13902
|
+
* @remarks
|
|
13903
|
+
* 请求ID。
|
|
13904
|
+
*/
|
|
13905
|
+
requestId?: string;
|
|
13906
|
+
/**
|
|
13907
|
+
* @remarks
|
|
13908
|
+
* 任务ID。
|
|
13909
|
+
*/
|
|
13910
|
+
taskId?: string;
|
|
13911
|
+
static names(): { [key: string]: string } {
|
|
13912
|
+
return {
|
|
13913
|
+
clusterId: 'cluster_id',
|
|
13914
|
+
requestId: 'request_id',
|
|
13915
|
+
taskId: 'task_id',
|
|
13916
|
+
};
|
|
13917
|
+
}
|
|
13918
|
+
|
|
13919
|
+
static types(): { [key: string]: any } {
|
|
13920
|
+
return {
|
|
13921
|
+
clusterId: 'string',
|
|
13922
|
+
requestId: 'string',
|
|
13923
|
+
taskId: 'string',
|
|
13924
|
+
};
|
|
13925
|
+
}
|
|
13926
|
+
|
|
13927
|
+
constructor(map?: { [key: string]: any }) {
|
|
13928
|
+
super(map);
|
|
13929
|
+
}
|
|
13930
|
+
}
|
|
13931
|
+
|
|
13770
13932
|
export class UnInstallClusterAddonsResponse extends $tea.Model {
|
|
13771
13933
|
headers?: { [key: string]: string };
|
|
13772
13934
|
statusCode?: number;
|
|
13935
|
+
body?: UnInstallClusterAddonsResponseBody;
|
|
13773
13936
|
static names(): { [key: string]: string } {
|
|
13774
13937
|
return {
|
|
13775
13938
|
headers: 'headers',
|
|
13776
13939
|
statusCode: 'statusCode',
|
|
13940
|
+
body: 'body',
|
|
13777
13941
|
};
|
|
13778
13942
|
}
|
|
13779
13943
|
|
|
@@ -13781,6 +13945,7 @@ export class UnInstallClusterAddonsResponse extends $tea.Model {
|
|
|
13781
13945
|
return {
|
|
13782
13946
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13783
13947
|
statusCode: 'number',
|
|
13948
|
+
body: UnInstallClusterAddonsResponseBody,
|
|
13784
13949
|
};
|
|
13785
13950
|
}
|
|
13786
13951
|
|
|
@@ -14375,7 +14540,7 @@ export class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
|
|
|
14375
14540
|
export class UpdateResourcesDeleteProtectionRequest extends $tea.Model {
|
|
14376
14541
|
/**
|
|
14377
14542
|
* @remarks
|
|
14378
|
-
*
|
|
14543
|
+
* 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.
|
|
14379
14544
|
*
|
|
14380
14545
|
* @example
|
|
14381
14546
|
* true
|
|
@@ -14621,7 +14786,7 @@ export class UpdateUserPermissionsRequest extends $tea.Model {
|
|
|
14621
14786
|
* * `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.
|
|
14622
14787
|
* * `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.
|
|
14623
14788
|
*
|
|
14624
|
-
* Default value: `apply
|
|
14789
|
+
* Default value: `apply`.
|
|
14625
14790
|
*
|
|
14626
14791
|
* @example
|
|
14627
14792
|
* apply
|
|
@@ -14700,7 +14865,7 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14700
14865
|
nextVersion?: string;
|
|
14701
14866
|
/**
|
|
14702
14867
|
* @remarks
|
|
14703
|
-
*
|
|
14868
|
+
* The rotation configuration.
|
|
14704
14869
|
*/
|
|
14705
14870
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
14706
14871
|
/**
|
|
@@ -16054,29 +16219,121 @@ export class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
16054
16219
|
}
|
|
16055
16220
|
|
|
16056
16221
|
export class CreateClusterRequestControlPlaneConfig extends $tea.Model {
|
|
16222
|
+
/**
|
|
16223
|
+
* @example
|
|
16224
|
+
* true
|
|
16225
|
+
*/
|
|
16057
16226
|
autoRenew?: boolean;
|
|
16227
|
+
/**
|
|
16228
|
+
* @example
|
|
16229
|
+
* 1
|
|
16230
|
+
*/
|
|
16058
16231
|
autoRenewPeriod?: number;
|
|
16232
|
+
/**
|
|
16233
|
+
* @example
|
|
16234
|
+
* PrePaid
|
|
16235
|
+
*/
|
|
16059
16236
|
chargeType?: string;
|
|
16237
|
+
/**
|
|
16238
|
+
* @example
|
|
16239
|
+
* true
|
|
16240
|
+
*/
|
|
16060
16241
|
cloudMonitorFlags?: boolean;
|
|
16242
|
+
/**
|
|
16243
|
+
* @example
|
|
16244
|
+
* none
|
|
16245
|
+
*/
|
|
16061
16246
|
cpuPolicy?: string;
|
|
16247
|
+
/**
|
|
16248
|
+
* @example
|
|
16249
|
+
* ds-bp10b35imuam5amw****
|
|
16250
|
+
*/
|
|
16062
16251
|
deploymentsetId?: string;
|
|
16252
|
+
/**
|
|
16253
|
+
* @example
|
|
16254
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
16255
|
+
*/
|
|
16063
16256
|
imageId?: string;
|
|
16257
|
+
/**
|
|
16258
|
+
* @example
|
|
16259
|
+
* AliyunLinux3
|
|
16260
|
+
*/
|
|
16064
16261
|
imageType?: string;
|
|
16065
16262
|
instanceTypes?: string[];
|
|
16263
|
+
/**
|
|
16264
|
+
* @example
|
|
16265
|
+
* ack
|
|
16266
|
+
*/
|
|
16066
16267
|
keyPair?: string;
|
|
16268
|
+
/**
|
|
16269
|
+
* @example
|
|
16270
|
+
* ack@Test
|
|
16271
|
+
*/
|
|
16067
16272
|
loginPassword?: string;
|
|
16273
|
+
/**
|
|
16274
|
+
* @example
|
|
16275
|
+
* 30000-32767
|
|
16276
|
+
*/
|
|
16068
16277
|
nodePortRange?: string;
|
|
16278
|
+
/**
|
|
16279
|
+
* @example
|
|
16280
|
+
* 1
|
|
16281
|
+
*/
|
|
16069
16282
|
period?: number;
|
|
16283
|
+
/**
|
|
16284
|
+
* @example
|
|
16285
|
+
* Month
|
|
16286
|
+
*/
|
|
16070
16287
|
periodUnit?: string;
|
|
16288
|
+
/**
|
|
16289
|
+
* @example
|
|
16290
|
+
* containerd
|
|
16291
|
+
*/
|
|
16071
16292
|
runtime?: string;
|
|
16293
|
+
/**
|
|
16294
|
+
* @example
|
|
16295
|
+
* true
|
|
16296
|
+
*/
|
|
16072
16297
|
securityHardeningOs?: boolean;
|
|
16298
|
+
/**
|
|
16299
|
+
* @example
|
|
16300
|
+
* 3
|
|
16301
|
+
*/
|
|
16073
16302
|
size?: number;
|
|
16303
|
+
/**
|
|
16304
|
+
* @example
|
|
16305
|
+
* true
|
|
16306
|
+
*/
|
|
16074
16307
|
socEnabled?: boolean;
|
|
16308
|
+
/**
|
|
16309
|
+
* @example
|
|
16310
|
+
* true
|
|
16311
|
+
*/
|
|
16075
16312
|
systemDiskBurstingEnabled?: boolean;
|
|
16313
|
+
/**
|
|
16314
|
+
* @example
|
|
16315
|
+
* cloud_essd
|
|
16316
|
+
*/
|
|
16076
16317
|
systemDiskCategory?: string;
|
|
16318
|
+
/**
|
|
16319
|
+
* @example
|
|
16320
|
+
* PL1
|
|
16321
|
+
*/
|
|
16077
16322
|
systemDiskPerformanceLevel?: string;
|
|
16323
|
+
/**
|
|
16324
|
+
* @example
|
|
16325
|
+
* 1000
|
|
16326
|
+
*/
|
|
16078
16327
|
systemDiskProvisionedIops?: number;
|
|
16328
|
+
/**
|
|
16329
|
+
* @example
|
|
16330
|
+
* 120
|
|
16331
|
+
*/
|
|
16079
16332
|
systemDiskSize?: number;
|
|
16333
|
+
/**
|
|
16334
|
+
* @example
|
|
16335
|
+
* sp-2zej1nogjvovnz4z****
|
|
16336
|
+
*/
|
|
16080
16337
|
systemDiskSnapshotPolicyId?: string;
|
|
16081
16338
|
static names(): { [key: string]: string } {
|
|
16082
16339
|
return {
|
|
@@ -16144,11 +16401,11 @@ export class CreateClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
16144
16401
|
export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
16145
16402
|
/**
|
|
16146
16403
|
* @remarks
|
|
16147
|
-
*
|
|
16404
|
+
* The automatic update frequency. Valid values:
|
|
16148
16405
|
*
|
|
16149
|
-
*
|
|
16150
|
-
*
|
|
16151
|
-
*
|
|
16406
|
+
* * patch
|
|
16407
|
+
* * stable
|
|
16408
|
+
* * rapid
|
|
16152
16409
|
*
|
|
16153
16410
|
* @example
|
|
16154
16411
|
* patch
|
|
@@ -16156,7 +16413,7 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
16156
16413
|
channel?: string;
|
|
16157
16414
|
/**
|
|
16158
16415
|
* @remarks
|
|
16159
|
-
*
|
|
16416
|
+
* Specifies whether to enable auto cluster update.
|
|
16160
16417
|
*
|
|
16161
16418
|
* @example
|
|
16162
16419
|
* true
|
|
@@ -16184,7 +16441,7 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
16184
16441
|
export class CreateClusterRequestOperationPolicy extends $tea.Model {
|
|
16185
16442
|
/**
|
|
16186
16443
|
* @remarks
|
|
16187
|
-
*
|
|
16444
|
+
* The configurations of auto cluster update.
|
|
16188
16445
|
*/
|
|
16189
16446
|
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
16190
16447
|
static names(): { [key: string]: string } {
|
|
@@ -17926,28 +18183,186 @@ export class DescribeAddonsResponseBodyComponentGroups extends $tea.Model {
|
|
|
17926
18183
|
}
|
|
17927
18184
|
|
|
17928
18185
|
export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $tea.Model {
|
|
18186
|
+
/**
|
|
18187
|
+
* @remarks
|
|
18188
|
+
* Indicates whether auto-renewal is enabled for the node.
|
|
18189
|
+
*
|
|
18190
|
+
* @example
|
|
18191
|
+
* true
|
|
18192
|
+
*/
|
|
17929
18193
|
autoRenew?: boolean;
|
|
18194
|
+
/**
|
|
18195
|
+
* @remarks
|
|
18196
|
+
* The auto-renewal duration for the node.
|
|
18197
|
+
*
|
|
18198
|
+
* @example
|
|
18199
|
+
* 1
|
|
18200
|
+
*/
|
|
17930
18201
|
autoRenewPeriod?: number;
|
|
18202
|
+
/**
|
|
18203
|
+
* @remarks
|
|
18204
|
+
* The billing method of the control plane node.
|
|
18205
|
+
*
|
|
18206
|
+
* @example
|
|
18207
|
+
* PrePaid
|
|
18208
|
+
*/
|
|
17931
18209
|
chargeType?: string;
|
|
18210
|
+
/**
|
|
18211
|
+
* @remarks
|
|
18212
|
+
* Indicates whether to install CloudMonitor for the node.
|
|
18213
|
+
*
|
|
18214
|
+
* @example
|
|
18215
|
+
* true
|
|
18216
|
+
*/
|
|
17932
18217
|
cloudMonitorFlags?: boolean;
|
|
18218
|
+
/**
|
|
18219
|
+
* @remarks
|
|
18220
|
+
* The CPU management policy of nodes.
|
|
18221
|
+
*
|
|
18222
|
+
* @example
|
|
18223
|
+
* none
|
|
18224
|
+
*/
|
|
17933
18225
|
cpuPolicy?: string;
|
|
18226
|
+
/**
|
|
18227
|
+
* @remarks
|
|
18228
|
+
* The ID of the deployment set.
|
|
18229
|
+
*
|
|
18230
|
+
* @example
|
|
18231
|
+
* ds-bp10b35imuam5amw****
|
|
18232
|
+
*/
|
|
17934
18233
|
deploymentsetId?: string;
|
|
18234
|
+
/**
|
|
18235
|
+
* @remarks
|
|
18236
|
+
* The ID of the image.
|
|
18237
|
+
*
|
|
18238
|
+
* @example
|
|
18239
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
18240
|
+
*/
|
|
17935
18241
|
imageId?: string;
|
|
18242
|
+
/**
|
|
18243
|
+
* @remarks
|
|
18244
|
+
* The type of the OS image.
|
|
18245
|
+
*
|
|
18246
|
+
* @example
|
|
18247
|
+
* AliyunLinux3
|
|
18248
|
+
*/
|
|
17936
18249
|
imageType?: string;
|
|
18250
|
+
/**
|
|
18251
|
+
* @remarks
|
|
18252
|
+
* The instance type of the node.
|
|
18253
|
+
*/
|
|
17937
18254
|
instanceTypes?: string[];
|
|
18255
|
+
/**
|
|
18256
|
+
* @remarks
|
|
18257
|
+
* The name of the key pair. You must set key_pair or login_password.
|
|
18258
|
+
*
|
|
18259
|
+
* @example
|
|
18260
|
+
* ack
|
|
18261
|
+
*/
|
|
17938
18262
|
keyPair?: string;
|
|
18263
|
+
/**
|
|
18264
|
+
* @remarks
|
|
18265
|
+
* The node port range.
|
|
18266
|
+
*
|
|
18267
|
+
* @example
|
|
18268
|
+
* 30000-32767
|
|
18269
|
+
*/
|
|
17939
18270
|
nodePortRange?: string;
|
|
18271
|
+
/**
|
|
18272
|
+
* @remarks
|
|
18273
|
+
* The subscription duration.
|
|
18274
|
+
*
|
|
18275
|
+
* @example
|
|
18276
|
+
* 1
|
|
18277
|
+
*/
|
|
17940
18278
|
period?: number;
|
|
18279
|
+
/**
|
|
18280
|
+
* @remarks
|
|
18281
|
+
* The unit of the subscription duration.
|
|
18282
|
+
*
|
|
18283
|
+
* @example
|
|
18284
|
+
* Month
|
|
18285
|
+
*/
|
|
17941
18286
|
periodUnit?: string;
|
|
18287
|
+
/**
|
|
18288
|
+
* @remarks
|
|
18289
|
+
* The runtime.
|
|
18290
|
+
*
|
|
18291
|
+
* @example
|
|
18292
|
+
* containerd
|
|
18293
|
+
*/
|
|
17942
18294
|
runtime?: string;
|
|
18295
|
+
/**
|
|
18296
|
+
* @remarks
|
|
18297
|
+
* Indicates whether to enable Alibaba Cloud Linux Security Hardening.
|
|
18298
|
+
*
|
|
18299
|
+
* @example
|
|
18300
|
+
* true
|
|
18301
|
+
*/
|
|
17943
18302
|
securityHardeningOs?: boolean;
|
|
18303
|
+
/**
|
|
18304
|
+
* @remarks
|
|
18305
|
+
* The number of control plane nodes.
|
|
18306
|
+
*
|
|
18307
|
+
* @example
|
|
18308
|
+
* 3
|
|
18309
|
+
*/
|
|
17944
18310
|
size?: number;
|
|
18311
|
+
/**
|
|
18312
|
+
* @remarks
|
|
18313
|
+
* Indicates whether to enable Multi-Level Protection Scheme (MLPS) security hardening.
|
|
18314
|
+
*
|
|
18315
|
+
* @example
|
|
18316
|
+
* false
|
|
18317
|
+
*/
|
|
17945
18318
|
socEnabled?: boolean;
|
|
18319
|
+
/**
|
|
18320
|
+
* @remarks
|
|
18321
|
+
* Indicates whether to enable the burst feature for the system disk.
|
|
18322
|
+
*
|
|
18323
|
+
* @example
|
|
18324
|
+
* true
|
|
18325
|
+
*/
|
|
17946
18326
|
systemDiskBurstingEnabled?: boolean;
|
|
18327
|
+
/**
|
|
18328
|
+
* @remarks
|
|
18329
|
+
* The category of the system disk for nodes.
|
|
18330
|
+
*
|
|
18331
|
+
* @example
|
|
18332
|
+
* cloud_essd
|
|
18333
|
+
*/
|
|
17947
18334
|
systemDiskCategory?: string;
|
|
18335
|
+
/**
|
|
18336
|
+
* @remarks
|
|
18337
|
+
* The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for ESSDs.
|
|
18338
|
+
*
|
|
18339
|
+
* @example
|
|
18340
|
+
* PL1
|
|
18341
|
+
*/
|
|
17948
18342
|
systemDiskPerformanceLevel?: string;
|
|
18343
|
+
/**
|
|
18344
|
+
* @remarks
|
|
18345
|
+
* The preset read/write IOPS of the system disk.
|
|
18346
|
+
*
|
|
18347
|
+
* @example
|
|
18348
|
+
* 1000
|
|
18349
|
+
*/
|
|
17949
18350
|
systemDiskProvisionedIops?: number;
|
|
18351
|
+
/**
|
|
18352
|
+
* @remarks
|
|
18353
|
+
* The system disk size of the node. The value must be at least 40 GB.
|
|
18354
|
+
*
|
|
18355
|
+
* @example
|
|
18356
|
+
* 120
|
|
18357
|
+
*/
|
|
17950
18358
|
systemDiskSize?: number;
|
|
18359
|
+
/**
|
|
18360
|
+
* @remarks
|
|
18361
|
+
* The automatic snapshot policy of the node.
|
|
18362
|
+
*
|
|
18363
|
+
* @example
|
|
18364
|
+
* sp-2zej1nogjvovnz4z****
|
|
18365
|
+
*/
|
|
17951
18366
|
systemDiskSnapshotPolicyId?: string;
|
|
17952
18367
|
static names(): { [key: string]: string } {
|
|
17953
18368
|
return {
|
|
@@ -22622,7 +23037,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
22622
23037
|
clusterType?: string;
|
|
22623
23038
|
/**
|
|
22624
23039
|
* @remarks
|
|
22625
|
-
* The pod CIDR block.
|
|
23040
|
+
* The pod CIDR block and the configuration of the Flannel network plug-in.
|
|
22626
23041
|
*
|
|
22627
23042
|
* @example
|
|
22628
23043
|
* 172.20.0.0/16
|
|
@@ -22777,7 +23192,10 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
22777
23192
|
profile?: string;
|
|
22778
23193
|
/**
|
|
22779
23194
|
* @remarks
|
|
22780
|
-
* The
|
|
23195
|
+
* The Kube-proxy mode. Valid values:
|
|
23196
|
+
*
|
|
23197
|
+
* * `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.
|
|
23198
|
+
* * `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.
|
|
22781
23199
|
*
|
|
22782
23200
|
* @example
|
|
22783
23201
|
* ipvs
|
|
@@ -22846,7 +23264,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
22846
23264
|
state?: string;
|
|
22847
23265
|
/**
|
|
22848
23266
|
* @remarks
|
|
22849
|
-
* 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:
|
|
23267
|
+
* 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:
|
|
22850
23268
|
*
|
|
22851
23269
|
* * 10.0.0.0/8
|
|
22852
23270
|
* * 172.16-31.0.0/12-16
|
|
@@ -22869,7 +23287,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
22869
23287
|
tags?: Tag[];
|
|
22870
23288
|
/**
|
|
22871
23289
|
* @remarks
|
|
22872
|
-
* The time zone
|
|
23290
|
+
* The time zone
|
|
22873
23291
|
*
|
|
22874
23292
|
* @example
|
|
22875
23293
|
* Asia/Shanghai
|
|
@@ -26815,11 +27233,13 @@ export class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
26815
27233
|
export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
26816
27234
|
/**
|
|
26817
27235
|
* @remarks
|
|
26818
|
-
* The frequency
|
|
27236
|
+
* The automatic update frequency. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
26819
27237
|
*
|
|
26820
|
-
*
|
|
26821
|
-
*
|
|
26822
|
-
* *
|
|
27238
|
+
* Valid values:
|
|
27239
|
+
*
|
|
27240
|
+
* * patch: specifies the latest patch version.
|
|
27241
|
+
* * stables: the second-latest minor version.
|
|
27242
|
+
* * rapid: the latest minor version.
|
|
26823
27243
|
*
|
|
26824
27244
|
* @example
|
|
26825
27245
|
* patch
|
|
@@ -26827,7 +27247,7 @@ export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
26827
27247
|
channel?: string;
|
|
26828
27248
|
/**
|
|
26829
27249
|
* @remarks
|
|
26830
|
-
* Specifies whether to enable
|
|
27250
|
+
* Specifies whether to enable automatic update.
|
|
26831
27251
|
*
|
|
26832
27252
|
* @example
|
|
26833
27253
|
* true
|
|
@@ -26855,7 +27275,7 @@ export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
26855
27275
|
export class ModifyClusterRequestOperationPolicy extends $tea.Model {
|
|
26856
27276
|
/**
|
|
26857
27277
|
* @remarks
|
|
26858
|
-
* The configurations of
|
|
27278
|
+
* The configurations of automatic update.
|
|
26859
27279
|
*/
|
|
26860
27280
|
clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
26861
27281
|
static names(): { [key: string]: string } {
|
|
@@ -26950,7 +27370,7 @@ export class ModifyClusterConfigurationRequestCustomizeConfigConfigs extends $te
|
|
|
26950
27370
|
export class ModifyClusterConfigurationRequestCustomizeConfig extends $tea.Model {
|
|
26951
27371
|
/**
|
|
26952
27372
|
* @remarks
|
|
26953
|
-
* The custom
|
|
27373
|
+
* The custom configurations.
|
|
26954
27374
|
*/
|
|
26955
27375
|
configs?: ModifyClusterConfigurationRequestCustomizeConfigConfigs[];
|
|
26956
27376
|
/**
|
|
@@ -26983,7 +27403,7 @@ export class ModifyClusterConfigurationRequestCustomizeConfig extends $tea.Model
|
|
|
26983
27403
|
export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
26984
27404
|
/**
|
|
26985
27405
|
* @remarks
|
|
26986
|
-
* The maximum bandwidth of the EIP.
|
|
27406
|
+
* The maximum bandwidth of the elastic IP address (EIP).
|
|
26987
27407
|
*
|
|
26988
27408
|
* @example
|
|
26989
27409
|
* 5
|
|
@@ -26996,7 +27416,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
26996
27416
|
* The billing method of the EIP. Valid values:
|
|
26997
27417
|
*
|
|
26998
27418
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
26999
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
27419
|
+
* * `PayByTraffic`: pay-by-data-transfer
|
|
27000
27420
|
*
|
|
27001
27421
|
* Default value: `PayByBandwidth`.
|
|
27002
27422
|
*
|
|
@@ -27023,10 +27443,10 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
27023
27443
|
* @remarks
|
|
27024
27444
|
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
27025
27445
|
*
|
|
27026
|
-
* * `true`:
|
|
27446
|
+
* * `true`: An EIP is associated with the node pool.
|
|
27027
27447
|
* * `false`: No EIP is associated with the node pool.
|
|
27028
27448
|
*
|
|
27029
|
-
* Default value: `false
|
|
27449
|
+
* Default value: `false`
|
|
27030
27450
|
*
|
|
27031
27451
|
* @example
|
|
27032
27452
|
* true
|
|
@@ -27054,7 +27474,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
27054
27474
|
* @remarks
|
|
27055
27475
|
* The instance type that is used for auto scaling. Valid values:
|
|
27056
27476
|
*
|
|
27057
|
-
* * `cpu`: regular instance
|
|
27477
|
+
* * `cpu`: regular instance
|
|
27058
27478
|
* * `gpu`: GPU-accelerated instance.
|
|
27059
27479
|
* * `gpushare`: shared GPU-accelerated instance.
|
|
27060
27480
|
* * `spot`: preemptible instance.
|
|
@@ -27214,8 +27634,8 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea
|
|
|
27214
27634
|
* @remarks
|
|
27215
27635
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
27216
27636
|
*
|
|
27217
|
-
* * `true`:
|
|
27218
|
-
* * `false`:
|
|
27637
|
+
* * `true`: yes.
|
|
27638
|
+
* * `false`: no.
|
|
27219
27639
|
*
|
|
27220
27640
|
* @example
|
|
27221
27641
|
* true
|
|
@@ -27243,8 +27663,8 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
27243
27663
|
* @remarks
|
|
27244
27664
|
* Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
|
|
27245
27665
|
*
|
|
27246
|
-
* * `true`:
|
|
27247
|
-
* * `false`:
|
|
27666
|
+
* * `true`: yes.
|
|
27667
|
+
* * `false`: no.
|
|
27248
27668
|
*
|
|
27249
27669
|
* @example
|
|
27250
27670
|
* true
|
|
@@ -27296,8 +27716,8 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
27296
27716
|
* @remarks
|
|
27297
27717
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
27298
27718
|
*
|
|
27299
|
-
* * `true`:
|
|
27300
|
-
* * `false`:
|
|
27719
|
+
* * `true`: yes.
|
|
27720
|
+
* * `false`: no.
|
|
27301
27721
|
*
|
|
27302
27722
|
* @example
|
|
27303
27723
|
* true
|
|
@@ -27333,7 +27753,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
27333
27753
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
27334
27754
|
/**
|
|
27335
27755
|
* @remarks
|
|
27336
|
-
* Specifies whether to enable auto update.
|
|
27756
|
+
* Specifies whether to enable auto update. Valid values:
|
|
27337
27757
|
*
|
|
27338
27758
|
* * true: enables auto update.
|
|
27339
27759
|
* * false: disables auto update.
|
|
@@ -27352,7 +27772,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
27352
27772
|
*
|
|
27353
27773
|
* Valid values: 1 to 1000.
|
|
27354
27774
|
*
|
|
27355
|
-
* Default value: 1
|
|
27775
|
+
* Default value: 1
|
|
27356
27776
|
*
|
|
27357
27777
|
* @example
|
|
27358
27778
|
* 1
|
|
@@ -27407,7 +27827,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
27407
27827
|
* * `true`: enables auto repair.
|
|
27408
27828
|
* * `false`: disables auto repair.
|
|
27409
27829
|
*
|
|
27410
|
-
* Default value: `true
|
|
27830
|
+
* Default value: `true`
|
|
27411
27831
|
*
|
|
27412
27832
|
* @example
|
|
27413
27833
|
* true
|
|
@@ -27420,7 +27840,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
27420
27840
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
27421
27841
|
/**
|
|
27422
27842
|
* @remarks
|
|
27423
|
-
*
|
|
27843
|
+
* Specifies whether to enable auto update. Valid values:
|
|
27424
27844
|
*
|
|
27425
27845
|
* * `true`: enables auto update.
|
|
27426
27846
|
* * `false`: disables auto update.
|
|
@@ -27438,7 +27858,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
27438
27858
|
* @remarks
|
|
27439
27859
|
* Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
|
|
27440
27860
|
*
|
|
27441
|
-
* * `true`:
|
|
27861
|
+
* * `true`: eanbles auto CVE patching.
|
|
27442
27862
|
* * `true`: disables auto CVE patching.
|
|
27443
27863
|
*
|
|
27444
27864
|
* @example
|
|
@@ -27514,7 +27934,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
|
27514
27934
|
name?: string;
|
|
27515
27935
|
/**
|
|
27516
27936
|
* @remarks
|
|
27517
|
-
* The
|
|
27937
|
+
* The resource group ID.
|
|
27518
27938
|
*
|
|
27519
27939
|
* @example
|
|
27520
27940
|
* rg-acfmyvw3wjm****
|
|
@@ -27552,7 +27972,7 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
27552
27972
|
* @remarks
|
|
27553
27973
|
* 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:
|
|
27554
27974
|
*
|
|
27555
|
-
* * `Open`: open private
|
|
27975
|
+
* * `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.
|
|
27556
27976
|
* * `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.
|
|
27557
27977
|
* * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
|
|
27558
27978
|
*
|
|
@@ -27633,9 +28053,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27633
28053
|
autoRenew?: boolean;
|
|
27634
28054
|
/**
|
|
27635
28055
|
* @remarks
|
|
27636
|
-
* The
|
|
28056
|
+
* The auto-renewal period. Valid values:
|
|
27637
28057
|
*
|
|
27638
|
-
*
|
|
28058
|
+
* * Valid values when PeriodUnit is set to Week: 1, 2, and 3
|
|
28059
|
+
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
|
|
28060
|
+
*
|
|
28061
|
+
* Default value: 1
|
|
27639
28062
|
*
|
|
27640
28063
|
* @example
|
|
27641
28064
|
* 1
|
|
@@ -27645,7 +28068,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27645
28068
|
* @remarks
|
|
27646
28069
|
* 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:
|
|
27647
28070
|
*
|
|
27648
|
-
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
28071
|
+
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
27649
28072
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
27650
28073
|
*
|
|
27651
28074
|
* @example
|
|
@@ -27654,7 +28077,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27654
28077
|
compensateWithOnDemand?: boolean;
|
|
27655
28078
|
/**
|
|
27656
28079
|
* @remarks
|
|
27657
|
-
* The configurations of the data disks that are mounted to
|
|
28080
|
+
* 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.
|
|
27658
28081
|
*/
|
|
27659
28082
|
dataDisks?: DataDisk[];
|
|
27660
28083
|
/**
|
|
@@ -27679,7 +28102,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27679
28102
|
*
|
|
27680
28103
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
27681
28104
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
27682
|
-
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
28105
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
27683
28106
|
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
27684
28107
|
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
27685
28108
|
* * `CentOS`: CentOS.
|
|
@@ -27716,7 +28139,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27716
28139
|
instanceTypes?: string[];
|
|
27717
28140
|
/**
|
|
27718
28141
|
* @remarks
|
|
27719
|
-
* The
|
|
28142
|
+
* The billing method of the public IP address. Valid values:
|
|
27720
28143
|
*
|
|
27721
28144
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
27722
28145
|
* * `PayByTraffic`: pay-by-data-transfer
|
|
@@ -27872,7 +28295,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27872
28295
|
* The bidding policy of preemptible instances. Valid values:
|
|
27873
28296
|
*
|
|
27874
28297
|
* * `NoSpot`: non-preemptible instance.
|
|
27875
|
-
* * `SpotWithPriceLimit`: specifies the highest bid
|
|
28298
|
+
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
27876
28299
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
27877
28300
|
*
|
|
27878
28301
|
* For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html).
|
|
@@ -27891,7 +28314,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27891
28314
|
systemDiskBurstingEnabled?: boolean;
|
|
27892
28315
|
/**
|
|
27893
28316
|
* @remarks
|
|
27894
|
-
* 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)
|
|
28317
|
+
* 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).
|
|
27895
28318
|
*/
|
|
27896
28319
|
systemDiskCategories?: string[];
|
|
27897
28320
|
/**
|
|
@@ -27899,7 +28322,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27899
28322
|
* The type of system disk. Valid values:
|
|
27900
28323
|
*
|
|
27901
28324
|
* * `cloud_efficiency`: ultra disk.
|
|
27902
|
-
* * `cloud_ssd`: standard SSD
|
|
28325
|
+
* * `cloud_ssd`: standard SSD.
|
|
27903
28326
|
*
|
|
27904
28327
|
* Default value: `cloud_ssd`.
|
|
27905
28328
|
*
|
|
@@ -27917,7 +28340,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27917
28340
|
systemDiskEncryptAlgorithm?: string;
|
|
27918
28341
|
/**
|
|
27919
28342
|
* @remarks
|
|
27920
|
-
*
|
|
28343
|
+
* Specifies whether to encrypt the system disk. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
|
|
27921
28344
|
*
|
|
27922
28345
|
* @example
|
|
27923
28346
|
* false
|
|
@@ -27953,7 +28376,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27953
28376
|
*
|
|
27954
28377
|
* Valid values: 20 to 500.
|
|
27955
28378
|
*
|
|
27956
|
-
* The value of this parameter must be at least 20 and greater than or equal to the image
|
|
28379
|
+
* The value of this parameter must be at least 20 and greater than or equal to the size of the image.
|
|
27957
28380
|
*
|
|
27958
28381
|
* Default value: the greater value between 40 and the image size.
|
|
27959
28382
|
*
|
|
@@ -27965,7 +28388,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27965
28388
|
* @remarks
|
|
27966
28389
|
* The tags that you want to add only to ECS instances.
|
|
27967
28390
|
*
|
|
27968
|
-
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs:
|
|
28391
|
+
* 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://.
|
|
27969
28392
|
*/
|
|
27970
28393
|
tags?: Tag[];
|
|
27971
28394
|
/**
|
|
@@ -28427,7 +28850,7 @@ export class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
|
28427
28850
|
export class UpgradeClusterRequestRollingPolicy extends $tea.Model {
|
|
28428
28851
|
/**
|
|
28429
28852
|
* @remarks
|
|
28430
|
-
*
|
|
28853
|
+
* The maximum size of each batch.
|
|
28431
28854
|
*
|
|
28432
28855
|
* @example
|
|
28433
28856
|
* 3
|
|
@@ -29012,7 +29435,7 @@ export default class Client extends OpenApi {
|
|
|
29012
29435
|
}
|
|
29013
29436
|
|
|
29014
29437
|
/**
|
|
29015
|
-
*
|
|
29438
|
+
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
29016
29439
|
*
|
|
29017
29440
|
* @remarks
|
|
29018
29441
|
* >
|
|
@@ -29051,7 +29474,7 @@ export default class Client extends OpenApi {
|
|
|
29051
29474
|
}
|
|
29052
29475
|
|
|
29053
29476
|
/**
|
|
29054
|
-
*
|
|
29477
|
+
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
29055
29478
|
*
|
|
29056
29479
|
* @remarks
|
|
29057
29480
|
* >
|
|
@@ -29686,7 +30109,7 @@ export default class Client extends OpenApi {
|
|
|
29686
30109
|
}
|
|
29687
30110
|
|
|
29688
30111
|
/**
|
|
29689
|
-
*
|
|
30112
|
+
* Starts a cluster diagnostic.
|
|
29690
30113
|
*
|
|
29691
30114
|
* @param request - CreateClusterDiagnosisRequest
|
|
29692
30115
|
* @param headers - map
|
|
@@ -29723,7 +30146,7 @@ export default class Client extends OpenApi {
|
|
|
29723
30146
|
}
|
|
29724
30147
|
|
|
29725
30148
|
/**
|
|
29726
|
-
*
|
|
30149
|
+
* Starts a cluster diagnostic.
|
|
29727
30150
|
*
|
|
29728
30151
|
* @param request - CreateClusterDiagnosisRequest
|
|
29729
30152
|
* @returns CreateClusterDiagnosisResponse
|
|
@@ -30062,7 +30485,7 @@ export default class Client extends OpenApi {
|
|
|
30062
30485
|
}
|
|
30063
30486
|
|
|
30064
30487
|
/**
|
|
30065
|
-
*
|
|
30488
|
+
* Deletes one or more ACK alert contacts.
|
|
30066
30489
|
*
|
|
30067
30490
|
* @param tmpReq - DeleteAlertContactRequest
|
|
30068
30491
|
* @param headers - map
|
|
@@ -30101,7 +30524,7 @@ export default class Client extends OpenApi {
|
|
|
30101
30524
|
}
|
|
30102
30525
|
|
|
30103
30526
|
/**
|
|
30104
|
-
*
|
|
30527
|
+
* Deletes one or more ACK alert contacts.
|
|
30105
30528
|
*
|
|
30106
30529
|
* @param request - DeleteAlertContactRequest
|
|
30107
30530
|
* @returns DeleteAlertContactResponse
|
|
@@ -30113,7 +30536,7 @@ export default class Client extends OpenApi {
|
|
|
30113
30536
|
}
|
|
30114
30537
|
|
|
30115
30538
|
/**
|
|
30116
|
-
*
|
|
30539
|
+
* Deletes an ACK alert contact group.
|
|
30117
30540
|
*
|
|
30118
30541
|
* @param tmpReq - DeleteAlertContactGroupRequest
|
|
30119
30542
|
* @param headers - map
|
|
@@ -30152,7 +30575,7 @@ export default class Client extends OpenApi {
|
|
|
30152
30575
|
}
|
|
30153
30576
|
|
|
30154
30577
|
/**
|
|
30155
|
-
*
|
|
30578
|
+
* Deletes an ACK alert contact group.
|
|
30156
30579
|
*
|
|
30157
30580
|
* @param request - DeleteAlertContactGroupRequest
|
|
30158
30581
|
* @returns DeleteAlertContactGroupResponse
|
|
@@ -33023,15 +33446,23 @@ export default class Client extends OpenApi {
|
|
|
33023
33446
|
}
|
|
33024
33447
|
|
|
33025
33448
|
/**
|
|
33026
|
-
*
|
|
33449
|
+
* Queries cluster diagnostic items.
|
|
33027
33450
|
*
|
|
33451
|
+
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
33028
33452
|
* @param headers - map
|
|
33029
33453
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
33030
33454
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
33031
33455
|
*/
|
|
33032
|
-
async getClusterDiagnosisCheckItemsWithOptions(clusterId: string, diagnosisId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisCheckItemsResponse> {
|
|
33456
|
+
async getClusterDiagnosisCheckItemsWithOptions(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisCheckItemsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisCheckItemsResponse> {
|
|
33457
|
+
Util.validateModel(request);
|
|
33458
|
+
let query : {[key: string ]: any} = { };
|
|
33459
|
+
if (!Util.isUnset(request.language)) {
|
|
33460
|
+
query["language"] = request.language;
|
|
33461
|
+
}
|
|
33462
|
+
|
|
33033
33463
|
let req = new $OpenApi.OpenApiRequest({
|
|
33034
33464
|
headers: headers,
|
|
33465
|
+
query: OpenApiUtil.query(query),
|
|
33035
33466
|
});
|
|
33036
33467
|
let params = new $OpenApi.Params({
|
|
33037
33468
|
action: "GetClusterDiagnosisCheckItems",
|
|
@@ -33048,25 +33479,35 @@ export default class Client extends OpenApi {
|
|
|
33048
33479
|
}
|
|
33049
33480
|
|
|
33050
33481
|
/**
|
|
33051
|
-
*
|
|
33482
|
+
* Queries cluster diagnostic items.
|
|
33483
|
+
*
|
|
33484
|
+
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
33052
33485
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
33053
33486
|
*/
|
|
33054
|
-
async getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisCheckItemsResponse> {
|
|
33487
|
+
async getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisCheckItemsRequest): Promise<GetClusterDiagnosisCheckItemsResponse> {
|
|
33055
33488
|
let runtime = new $Util.RuntimeOptions({ });
|
|
33056
33489
|
let headers : {[key: string ]: string} = { };
|
|
33057
|
-
return await this.getClusterDiagnosisCheckItemsWithOptions(clusterId, diagnosisId, headers, runtime);
|
|
33490
|
+
return await this.getClusterDiagnosisCheckItemsWithOptions(clusterId, diagnosisId, request, headers, runtime);
|
|
33058
33491
|
}
|
|
33059
33492
|
|
|
33060
33493
|
/**
|
|
33061
|
-
*
|
|
33494
|
+
* Queries cluster diagnostic results.
|
|
33062
33495
|
*
|
|
33496
|
+
* @param request - GetClusterDiagnosisResultRequest
|
|
33063
33497
|
* @param headers - map
|
|
33064
33498
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
33065
33499
|
* @returns GetClusterDiagnosisResultResponse
|
|
33066
33500
|
*/
|
|
33067
|
-
async getClusterDiagnosisResultWithOptions(clusterId: string, diagnosisId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisResultResponse> {
|
|
33501
|
+
async getClusterDiagnosisResultWithOptions(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisResultResponse> {
|
|
33502
|
+
Util.validateModel(request);
|
|
33503
|
+
let query : {[key: string ]: any} = { };
|
|
33504
|
+
if (!Util.isUnset(request.language)) {
|
|
33505
|
+
query["language"] = request.language;
|
|
33506
|
+
}
|
|
33507
|
+
|
|
33068
33508
|
let req = new $OpenApi.OpenApiRequest({
|
|
33069
33509
|
headers: headers,
|
|
33510
|
+
query: OpenApiUtil.query(query),
|
|
33070
33511
|
});
|
|
33071
33512
|
let params = new $OpenApi.Params({
|
|
33072
33513
|
action: "GetClusterDiagnosisResult",
|
|
@@ -33083,13 +33524,15 @@ export default class Client extends OpenApi {
|
|
|
33083
33524
|
}
|
|
33084
33525
|
|
|
33085
33526
|
/**
|
|
33086
|
-
*
|
|
33527
|
+
* Queries cluster diagnostic results.
|
|
33528
|
+
*
|
|
33529
|
+
* @param request - GetClusterDiagnosisResultRequest
|
|
33087
33530
|
* @returns GetClusterDiagnosisResultResponse
|
|
33088
33531
|
*/
|
|
33089
|
-
async getClusterDiagnosisResult(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisResultResponse> {
|
|
33532
|
+
async getClusterDiagnosisResult(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisResultRequest): Promise<GetClusterDiagnosisResultResponse> {
|
|
33090
33533
|
let runtime = new $Util.RuntimeOptions({ });
|
|
33091
33534
|
let headers : {[key: string ]: string} = { };
|
|
33092
|
-
return await this.getClusterDiagnosisResultWithOptions(clusterId, diagnosisId, headers, runtime);
|
|
33535
|
+
return await this.getClusterDiagnosisResultWithOptions(clusterId, diagnosisId, request, headers, runtime);
|
|
33093
33536
|
}
|
|
33094
33537
|
|
|
33095
33538
|
/**
|
|
@@ -33269,7 +33712,7 @@ export default class Client extends OpenApi {
|
|
|
33269
33712
|
authType: "AK",
|
|
33270
33713
|
style: "ROA",
|
|
33271
33714
|
reqBodyType: "json",
|
|
33272
|
-
bodyType: "
|
|
33715
|
+
bodyType: "json",
|
|
33273
33716
|
});
|
|
33274
33717
|
return $tea.cast<InstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new InstallClusterAddonsResponse({}));
|
|
33275
33718
|
}
|
|
@@ -33436,7 +33879,7 @@ export default class Client extends OpenApi {
|
|
|
33436
33879
|
}
|
|
33437
33880
|
|
|
33438
33881
|
/**
|
|
33439
|
-
*
|
|
33882
|
+
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
33440
33883
|
*
|
|
33441
33884
|
* @remarks
|
|
33442
33885
|
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
@@ -33477,7 +33920,7 @@ export default class Client extends OpenApi {
|
|
|
33477
33920
|
}
|
|
33478
33921
|
|
|
33479
33922
|
/**
|
|
33480
|
-
*
|
|
33923
|
+
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
33481
33924
|
*
|
|
33482
33925
|
* @remarks
|
|
33483
33926
|
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
@@ -34405,10 +34848,11 @@ export default class Client extends OpenApi {
|
|
|
34405
34848
|
* Removes nodes from a node pool.
|
|
34406
34849
|
*
|
|
34407
34850
|
* @remarks
|
|
34408
|
-
*
|
|
34409
|
-
*
|
|
34410
|
-
*
|
|
34411
|
-
*
|
|
34851
|
+
* 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.
|
|
34852
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
34853
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
34854
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
34855
|
+
* * 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.
|
|
34412
34856
|
*
|
|
34413
34857
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
34414
34858
|
* @param headers - map
|
|
@@ -34470,10 +34914,11 @@ export default class Client extends OpenApi {
|
|
|
34470
34914
|
* Removes nodes from a node pool.
|
|
34471
34915
|
*
|
|
34472
34916
|
* @remarks
|
|
34473
|
-
*
|
|
34474
|
-
*
|
|
34475
|
-
*
|
|
34476
|
-
*
|
|
34917
|
+
* 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.
|
|
34918
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
34919
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
34920
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
34921
|
+
* * 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.
|
|
34477
34922
|
*
|
|
34478
34923
|
* @param request - RemoveNodePoolNodesRequest
|
|
34479
34924
|
* @returns RemoveNodePoolNodesResponse
|
|
@@ -35287,7 +35732,7 @@ export default class Client extends OpenApi {
|
|
|
35287
35732
|
authType: "AK",
|
|
35288
35733
|
style: "ROA",
|
|
35289
35734
|
reqBodyType: "json",
|
|
35290
|
-
bodyType: "
|
|
35735
|
+
bodyType: "json",
|
|
35291
35736
|
});
|
|
35292
35737
|
return $tea.cast<UnInstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
35293
35738
|
}
|