@alicloud/cs20151215 4.8.4 → 4.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +483 -122
- package/dist/client.js +88 -36
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +513 -124
package/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
|
|
@@ -10463,8 +10522,29 @@ export class InstallClusterAddonsRequest extends $tea.Model {
|
|
|
10463
10522
|
}
|
|
10464
10523
|
|
|
10465
10524
|
export class InstallClusterAddonsResponseBody extends $tea.Model {
|
|
10525
|
+
/**
|
|
10526
|
+
* @remarks
|
|
10527
|
+
* The ID of the cluster.
|
|
10528
|
+
*
|
|
10529
|
+
* @example
|
|
10530
|
+
* c82e6987e2961451182edacd74faf****
|
|
10531
|
+
*/
|
|
10466
10532
|
clusterId?: string;
|
|
10533
|
+
/**
|
|
10534
|
+
* @remarks
|
|
10535
|
+
* The request ID.
|
|
10536
|
+
*
|
|
10537
|
+
* @example
|
|
10538
|
+
* 48BD70F6-A7E6-543D-9F23-08DEB764C92E
|
|
10539
|
+
*/
|
|
10467
10540
|
requestId?: string;
|
|
10541
|
+
/**
|
|
10542
|
+
* @remarks
|
|
10543
|
+
* The ID of the job.
|
|
10544
|
+
*
|
|
10545
|
+
* @example
|
|
10546
|
+
* T-5a54309c80282e39ea00002f
|
|
10547
|
+
*/
|
|
10468
10548
|
taskId?: string;
|
|
10469
10549
|
static names(): { [key: string]: string } {
|
|
10470
10550
|
return {
|
|
@@ -11408,12 +11488,12 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11408
11488
|
controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
|
|
11409
11489
|
/**
|
|
11410
11490
|
* @remarks
|
|
11411
|
-
* 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:
|
|
11412
11492
|
*
|
|
11413
11493
|
* * `true`: enables cluster deletion protection.
|
|
11414
11494
|
* * `false`: disables cluster deletion protection.
|
|
11415
11495
|
*
|
|
11416
|
-
* Default value: `false
|
|
11496
|
+
* Default value: `false`
|
|
11417
11497
|
*
|
|
11418
11498
|
* @example
|
|
11419
11499
|
* true
|
|
@@ -11437,7 +11517,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11437
11517
|
* * `true`: remaps the test domain name of the cluster.
|
|
11438
11518
|
* * `false`: does not remap the test domain name of the cluster.
|
|
11439
11519
|
*
|
|
11440
|
-
* Default value: `false
|
|
11520
|
+
* Default value: `false`
|
|
11441
11521
|
*
|
|
11442
11522
|
* @example
|
|
11443
11523
|
* true
|
|
@@ -11458,7 +11538,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11458
11538
|
* * `true`: enables instance deletion protection.
|
|
11459
11539
|
* * `false`: disables instance deletion protection.
|
|
11460
11540
|
*
|
|
11461
|
-
* Default value: `false
|
|
11541
|
+
* Default value: `false`
|
|
11462
11542
|
*
|
|
11463
11543
|
* @example
|
|
11464
11544
|
* true
|
|
@@ -11487,6 +11567,15 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11487
11567
|
* The storage configurations of system events.
|
|
11488
11568
|
*/
|
|
11489
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
|
+
*/
|
|
11490
11579
|
vswitchIds?: string[];
|
|
11491
11580
|
static names(): { [key: string]: string } {
|
|
11492
11581
|
return {
|
|
@@ -11657,7 +11746,7 @@ export class ModifyClusterAddonResponse extends $tea.Model {
|
|
|
11657
11746
|
export class ModifyClusterConfigurationRequest extends $tea.Model {
|
|
11658
11747
|
/**
|
|
11659
11748
|
* @remarks
|
|
11660
|
-
* The custom
|
|
11749
|
+
* The custom configurations.
|
|
11661
11750
|
*/
|
|
11662
11751
|
customizeConfig?: ModifyClusterConfigurationRequestCustomizeConfig[];
|
|
11663
11752
|
static names(): { [key: string]: string } {
|
|
@@ -12349,8 +12438,12 @@ export class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
12349
12438
|
instanceIds?: string[];
|
|
12350
12439
|
/**
|
|
12351
12440
|
* @remarks
|
|
12441
|
+
* This parameter is deprecated.
|
|
12442
|
+
*
|
|
12352
12443
|
* A list of nodes that you want to remove.
|
|
12353
12444
|
*
|
|
12445
|
+
* > This parameter is deprecated. Use instance_ids instead.
|
|
12446
|
+
*
|
|
12354
12447
|
* @deprecated
|
|
12355
12448
|
*/
|
|
12356
12449
|
nodes?: string[];
|
|
@@ -12417,8 +12510,12 @@ export class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
|
12417
12510
|
instanceIdsShrink?: string;
|
|
12418
12511
|
/**
|
|
12419
12512
|
* @remarks
|
|
12513
|
+
* This parameter is deprecated.
|
|
12514
|
+
*
|
|
12420
12515
|
* A list of nodes that you want to remove.
|
|
12421
12516
|
*
|
|
12517
|
+
* > This parameter is deprecated. Use instance_ids instead.
|
|
12518
|
+
*
|
|
12422
12519
|
* @deprecated
|
|
12423
12520
|
*/
|
|
12424
12521
|
nodesShrink?: string;
|
|
@@ -13796,8 +13893,20 @@ export class UnInstallClusterAddonsRequest extends $tea.Model {
|
|
|
13796
13893
|
}
|
|
13797
13894
|
|
|
13798
13895
|
export class UnInstallClusterAddonsResponseBody extends $tea.Model {
|
|
13896
|
+
/**
|
|
13897
|
+
* @remarks
|
|
13898
|
+
* 集群ID。
|
|
13899
|
+
*/
|
|
13799
13900
|
clusterId?: string;
|
|
13901
|
+
/**
|
|
13902
|
+
* @remarks
|
|
13903
|
+
* 请求ID。
|
|
13904
|
+
*/
|
|
13800
13905
|
requestId?: string;
|
|
13906
|
+
/**
|
|
13907
|
+
* @remarks
|
|
13908
|
+
* 任务ID。
|
|
13909
|
+
*/
|
|
13801
13910
|
taskId?: string;
|
|
13802
13911
|
static names(): { [key: string]: string } {
|
|
13803
13912
|
return {
|
|
@@ -14431,7 +14540,7 @@ export class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
|
|
|
14431
14540
|
export class UpdateResourcesDeleteProtectionRequest extends $tea.Model {
|
|
14432
14541
|
/**
|
|
14433
14542
|
* @remarks
|
|
14434
|
-
*
|
|
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.
|
|
14435
14544
|
*
|
|
14436
14545
|
* @example
|
|
14437
14546
|
* true
|
|
@@ -14677,7 +14786,7 @@ export class UpdateUserPermissionsRequest extends $tea.Model {
|
|
|
14677
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.
|
|
14678
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.
|
|
14679
14788
|
*
|
|
14680
|
-
* Default value: `apply
|
|
14789
|
+
* Default value: `apply`.
|
|
14681
14790
|
*
|
|
14682
14791
|
* @example
|
|
14683
14792
|
* apply
|
|
@@ -14756,7 +14865,7 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14756
14865
|
nextVersion?: string;
|
|
14757
14866
|
/**
|
|
14758
14867
|
* @remarks
|
|
14759
|
-
*
|
|
14868
|
+
* The rotation configuration.
|
|
14760
14869
|
*/
|
|
14761
14870
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
14762
14871
|
/**
|
|
@@ -16110,29 +16219,121 @@ export class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
16110
16219
|
}
|
|
16111
16220
|
|
|
16112
16221
|
export class CreateClusterRequestControlPlaneConfig extends $tea.Model {
|
|
16222
|
+
/**
|
|
16223
|
+
* @example
|
|
16224
|
+
* true
|
|
16225
|
+
*/
|
|
16113
16226
|
autoRenew?: boolean;
|
|
16227
|
+
/**
|
|
16228
|
+
* @example
|
|
16229
|
+
* 1
|
|
16230
|
+
*/
|
|
16114
16231
|
autoRenewPeriod?: number;
|
|
16232
|
+
/**
|
|
16233
|
+
* @example
|
|
16234
|
+
* PrePaid
|
|
16235
|
+
*/
|
|
16115
16236
|
chargeType?: string;
|
|
16237
|
+
/**
|
|
16238
|
+
* @example
|
|
16239
|
+
* true
|
|
16240
|
+
*/
|
|
16116
16241
|
cloudMonitorFlags?: boolean;
|
|
16242
|
+
/**
|
|
16243
|
+
* @example
|
|
16244
|
+
* none
|
|
16245
|
+
*/
|
|
16117
16246
|
cpuPolicy?: string;
|
|
16247
|
+
/**
|
|
16248
|
+
* @example
|
|
16249
|
+
* ds-bp10b35imuam5amw****
|
|
16250
|
+
*/
|
|
16118
16251
|
deploymentsetId?: string;
|
|
16252
|
+
/**
|
|
16253
|
+
* @example
|
|
16254
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
16255
|
+
*/
|
|
16119
16256
|
imageId?: string;
|
|
16257
|
+
/**
|
|
16258
|
+
* @example
|
|
16259
|
+
* AliyunLinux3
|
|
16260
|
+
*/
|
|
16120
16261
|
imageType?: string;
|
|
16121
16262
|
instanceTypes?: string[];
|
|
16263
|
+
/**
|
|
16264
|
+
* @example
|
|
16265
|
+
* ack
|
|
16266
|
+
*/
|
|
16122
16267
|
keyPair?: string;
|
|
16268
|
+
/**
|
|
16269
|
+
* @example
|
|
16270
|
+
* ack@Test
|
|
16271
|
+
*/
|
|
16123
16272
|
loginPassword?: string;
|
|
16273
|
+
/**
|
|
16274
|
+
* @example
|
|
16275
|
+
* 30000-32767
|
|
16276
|
+
*/
|
|
16124
16277
|
nodePortRange?: string;
|
|
16278
|
+
/**
|
|
16279
|
+
* @example
|
|
16280
|
+
* 1
|
|
16281
|
+
*/
|
|
16125
16282
|
period?: number;
|
|
16283
|
+
/**
|
|
16284
|
+
* @example
|
|
16285
|
+
* Month
|
|
16286
|
+
*/
|
|
16126
16287
|
periodUnit?: string;
|
|
16288
|
+
/**
|
|
16289
|
+
* @example
|
|
16290
|
+
* containerd
|
|
16291
|
+
*/
|
|
16127
16292
|
runtime?: string;
|
|
16293
|
+
/**
|
|
16294
|
+
* @example
|
|
16295
|
+
* true
|
|
16296
|
+
*/
|
|
16128
16297
|
securityHardeningOs?: boolean;
|
|
16298
|
+
/**
|
|
16299
|
+
* @example
|
|
16300
|
+
* 3
|
|
16301
|
+
*/
|
|
16129
16302
|
size?: number;
|
|
16303
|
+
/**
|
|
16304
|
+
* @example
|
|
16305
|
+
* true
|
|
16306
|
+
*/
|
|
16130
16307
|
socEnabled?: boolean;
|
|
16308
|
+
/**
|
|
16309
|
+
* @example
|
|
16310
|
+
* true
|
|
16311
|
+
*/
|
|
16131
16312
|
systemDiskBurstingEnabled?: boolean;
|
|
16313
|
+
/**
|
|
16314
|
+
* @example
|
|
16315
|
+
* cloud_essd
|
|
16316
|
+
*/
|
|
16132
16317
|
systemDiskCategory?: string;
|
|
16318
|
+
/**
|
|
16319
|
+
* @example
|
|
16320
|
+
* PL1
|
|
16321
|
+
*/
|
|
16133
16322
|
systemDiskPerformanceLevel?: string;
|
|
16323
|
+
/**
|
|
16324
|
+
* @example
|
|
16325
|
+
* 1000
|
|
16326
|
+
*/
|
|
16134
16327
|
systemDiskProvisionedIops?: number;
|
|
16328
|
+
/**
|
|
16329
|
+
* @example
|
|
16330
|
+
* 120
|
|
16331
|
+
*/
|
|
16135
16332
|
systemDiskSize?: number;
|
|
16333
|
+
/**
|
|
16334
|
+
* @example
|
|
16335
|
+
* sp-2zej1nogjvovnz4z****
|
|
16336
|
+
*/
|
|
16136
16337
|
systemDiskSnapshotPolicyId?: string;
|
|
16137
16338
|
static names(): { [key: string]: string } {
|
|
16138
16339
|
return {
|
|
@@ -16200,11 +16401,11 @@ export class CreateClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
16200
16401
|
export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
16201
16402
|
/**
|
|
16202
16403
|
* @remarks
|
|
16203
|
-
*
|
|
16404
|
+
* The automatic update frequency. Valid values:
|
|
16204
16405
|
*
|
|
16205
|
-
*
|
|
16206
|
-
*
|
|
16207
|
-
*
|
|
16406
|
+
* * patch
|
|
16407
|
+
* * stable
|
|
16408
|
+
* * rapid
|
|
16208
16409
|
*
|
|
16209
16410
|
* @example
|
|
16210
16411
|
* patch
|
|
@@ -16212,7 +16413,7 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
16212
16413
|
channel?: string;
|
|
16213
16414
|
/**
|
|
16214
16415
|
* @remarks
|
|
16215
|
-
*
|
|
16416
|
+
* Specifies whether to enable auto cluster update.
|
|
16216
16417
|
*
|
|
16217
16418
|
* @example
|
|
16218
16419
|
* true
|
|
@@ -16240,7 +16441,7 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
16240
16441
|
export class CreateClusterRequestOperationPolicy extends $tea.Model {
|
|
16241
16442
|
/**
|
|
16242
16443
|
* @remarks
|
|
16243
|
-
*
|
|
16444
|
+
* The configurations of auto cluster update.
|
|
16244
16445
|
*/
|
|
16245
16446
|
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
16246
16447
|
static names(): { [key: string]: string } {
|
|
@@ -17982,28 +18183,186 @@ export class DescribeAddonsResponseBodyComponentGroups extends $tea.Model {
|
|
|
17982
18183
|
}
|
|
17983
18184
|
|
|
17984
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
|
+
*/
|
|
17985
18193
|
autoRenew?: boolean;
|
|
18194
|
+
/**
|
|
18195
|
+
* @remarks
|
|
18196
|
+
* The auto-renewal duration for the node.
|
|
18197
|
+
*
|
|
18198
|
+
* @example
|
|
18199
|
+
* 1
|
|
18200
|
+
*/
|
|
17986
18201
|
autoRenewPeriod?: number;
|
|
18202
|
+
/**
|
|
18203
|
+
* @remarks
|
|
18204
|
+
* The billing method of the control plane node.
|
|
18205
|
+
*
|
|
18206
|
+
* @example
|
|
18207
|
+
* PrePaid
|
|
18208
|
+
*/
|
|
17987
18209
|
chargeType?: string;
|
|
18210
|
+
/**
|
|
18211
|
+
* @remarks
|
|
18212
|
+
* Indicates whether to install CloudMonitor for the node.
|
|
18213
|
+
*
|
|
18214
|
+
* @example
|
|
18215
|
+
* true
|
|
18216
|
+
*/
|
|
17988
18217
|
cloudMonitorFlags?: boolean;
|
|
18218
|
+
/**
|
|
18219
|
+
* @remarks
|
|
18220
|
+
* The CPU management policy of nodes.
|
|
18221
|
+
*
|
|
18222
|
+
* @example
|
|
18223
|
+
* none
|
|
18224
|
+
*/
|
|
17989
18225
|
cpuPolicy?: string;
|
|
18226
|
+
/**
|
|
18227
|
+
* @remarks
|
|
18228
|
+
* The ID of the deployment set.
|
|
18229
|
+
*
|
|
18230
|
+
* @example
|
|
18231
|
+
* ds-bp10b35imuam5amw****
|
|
18232
|
+
*/
|
|
17990
18233
|
deploymentsetId?: string;
|
|
18234
|
+
/**
|
|
18235
|
+
* @remarks
|
|
18236
|
+
* The ID of the image.
|
|
18237
|
+
*
|
|
18238
|
+
* @example
|
|
18239
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
18240
|
+
*/
|
|
17991
18241
|
imageId?: string;
|
|
18242
|
+
/**
|
|
18243
|
+
* @remarks
|
|
18244
|
+
* The type of the OS image.
|
|
18245
|
+
*
|
|
18246
|
+
* @example
|
|
18247
|
+
* AliyunLinux3
|
|
18248
|
+
*/
|
|
17992
18249
|
imageType?: string;
|
|
18250
|
+
/**
|
|
18251
|
+
* @remarks
|
|
18252
|
+
* The instance type of the node.
|
|
18253
|
+
*/
|
|
17993
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
|
+
*/
|
|
17994
18262
|
keyPair?: string;
|
|
18263
|
+
/**
|
|
18264
|
+
* @remarks
|
|
18265
|
+
* The node port range.
|
|
18266
|
+
*
|
|
18267
|
+
* @example
|
|
18268
|
+
* 30000-32767
|
|
18269
|
+
*/
|
|
17995
18270
|
nodePortRange?: string;
|
|
18271
|
+
/**
|
|
18272
|
+
* @remarks
|
|
18273
|
+
* The subscription duration.
|
|
18274
|
+
*
|
|
18275
|
+
* @example
|
|
18276
|
+
* 1
|
|
18277
|
+
*/
|
|
17996
18278
|
period?: number;
|
|
18279
|
+
/**
|
|
18280
|
+
* @remarks
|
|
18281
|
+
* The unit of the subscription duration.
|
|
18282
|
+
*
|
|
18283
|
+
* @example
|
|
18284
|
+
* Month
|
|
18285
|
+
*/
|
|
17997
18286
|
periodUnit?: string;
|
|
18287
|
+
/**
|
|
18288
|
+
* @remarks
|
|
18289
|
+
* The runtime.
|
|
18290
|
+
*
|
|
18291
|
+
* @example
|
|
18292
|
+
* containerd
|
|
18293
|
+
*/
|
|
17998
18294
|
runtime?: string;
|
|
18295
|
+
/**
|
|
18296
|
+
* @remarks
|
|
18297
|
+
* Indicates whether to enable Alibaba Cloud Linux Security Hardening.
|
|
18298
|
+
*
|
|
18299
|
+
* @example
|
|
18300
|
+
* true
|
|
18301
|
+
*/
|
|
17999
18302
|
securityHardeningOs?: boolean;
|
|
18303
|
+
/**
|
|
18304
|
+
* @remarks
|
|
18305
|
+
* The number of control plane nodes.
|
|
18306
|
+
*
|
|
18307
|
+
* @example
|
|
18308
|
+
* 3
|
|
18309
|
+
*/
|
|
18000
18310
|
size?: number;
|
|
18311
|
+
/**
|
|
18312
|
+
* @remarks
|
|
18313
|
+
* Indicates whether to enable Multi-Level Protection Scheme (MLPS) security hardening.
|
|
18314
|
+
*
|
|
18315
|
+
* @example
|
|
18316
|
+
* false
|
|
18317
|
+
*/
|
|
18001
18318
|
socEnabled?: boolean;
|
|
18319
|
+
/**
|
|
18320
|
+
* @remarks
|
|
18321
|
+
* Indicates whether to enable the burst feature for the system disk.
|
|
18322
|
+
*
|
|
18323
|
+
* @example
|
|
18324
|
+
* true
|
|
18325
|
+
*/
|
|
18002
18326
|
systemDiskBurstingEnabled?: boolean;
|
|
18327
|
+
/**
|
|
18328
|
+
* @remarks
|
|
18329
|
+
* The category of the system disk for nodes.
|
|
18330
|
+
*
|
|
18331
|
+
* @example
|
|
18332
|
+
* cloud_essd
|
|
18333
|
+
*/
|
|
18003
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
|
+
*/
|
|
18004
18342
|
systemDiskPerformanceLevel?: string;
|
|
18343
|
+
/**
|
|
18344
|
+
* @remarks
|
|
18345
|
+
* The preset read/write IOPS of the system disk.
|
|
18346
|
+
*
|
|
18347
|
+
* @example
|
|
18348
|
+
* 1000
|
|
18349
|
+
*/
|
|
18005
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
|
+
*/
|
|
18006
18358
|
systemDiskSize?: number;
|
|
18359
|
+
/**
|
|
18360
|
+
* @remarks
|
|
18361
|
+
* The automatic snapshot policy of the node.
|
|
18362
|
+
*
|
|
18363
|
+
* @example
|
|
18364
|
+
* sp-2zej1nogjvovnz4z****
|
|
18365
|
+
*/
|
|
18007
18366
|
systemDiskSnapshotPolicyId?: string;
|
|
18008
18367
|
static names(): { [key: string]: string } {
|
|
18009
18368
|
return {
|
|
@@ -22678,7 +23037,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
22678
23037
|
clusterType?: string;
|
|
22679
23038
|
/**
|
|
22680
23039
|
* @remarks
|
|
22681
|
-
* The pod CIDR block.
|
|
23040
|
+
* The pod CIDR block and the configuration of the Flannel network plug-in.
|
|
22682
23041
|
*
|
|
22683
23042
|
* @example
|
|
22684
23043
|
* 172.20.0.0/16
|
|
@@ -22833,7 +23192,10 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
22833
23192
|
profile?: string;
|
|
22834
23193
|
/**
|
|
22835
23194
|
* @remarks
|
|
22836
|
-
* 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.
|
|
22837
23199
|
*
|
|
22838
23200
|
* @example
|
|
22839
23201
|
* ipvs
|
|
@@ -22902,7 +23264,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
22902
23264
|
state?: string;
|
|
22903
23265
|
/**
|
|
22904
23266
|
* @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:
|
|
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:
|
|
22906
23268
|
*
|
|
22907
23269
|
* * 10.0.0.0/8
|
|
22908
23270
|
* * 172.16-31.0.0/12-16
|
|
@@ -22925,7 +23287,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
22925
23287
|
tags?: Tag[];
|
|
22926
23288
|
/**
|
|
22927
23289
|
* @remarks
|
|
22928
|
-
* The time zone
|
|
23290
|
+
* The time zone
|
|
22929
23291
|
*
|
|
22930
23292
|
* @example
|
|
22931
23293
|
* Asia/Shanghai
|
|
@@ -26871,11 +27233,13 @@ export class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
26871
27233
|
export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
26872
27234
|
/**
|
|
26873
27235
|
* @remarks
|
|
26874
|
-
* The frequency
|
|
27236
|
+
* The automatic update frequency. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
26875
27237
|
*
|
|
26876
|
-
*
|
|
26877
|
-
*
|
|
26878
|
-
* *
|
|
27238
|
+
* Valid values:
|
|
27239
|
+
*
|
|
27240
|
+
* * patch: specifies the latest patch version.
|
|
27241
|
+
* * stables: the second-latest minor version.
|
|
27242
|
+
* * rapid: the latest minor version.
|
|
26879
27243
|
*
|
|
26880
27244
|
* @example
|
|
26881
27245
|
* patch
|
|
@@ -26883,7 +27247,7 @@ export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
26883
27247
|
channel?: string;
|
|
26884
27248
|
/**
|
|
26885
27249
|
* @remarks
|
|
26886
|
-
* Specifies whether to enable
|
|
27250
|
+
* Specifies whether to enable automatic update.
|
|
26887
27251
|
*
|
|
26888
27252
|
* @example
|
|
26889
27253
|
* true
|
|
@@ -26911,7 +27275,7 @@ export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.
|
|
|
26911
27275
|
export class ModifyClusterRequestOperationPolicy extends $tea.Model {
|
|
26912
27276
|
/**
|
|
26913
27277
|
* @remarks
|
|
26914
|
-
* The configurations of
|
|
27278
|
+
* The configurations of automatic update.
|
|
26915
27279
|
*/
|
|
26916
27280
|
clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
26917
27281
|
static names(): { [key: string]: string } {
|
|
@@ -27006,7 +27370,7 @@ export class ModifyClusterConfigurationRequestCustomizeConfigConfigs extends $te
|
|
|
27006
27370
|
export class ModifyClusterConfigurationRequestCustomizeConfig extends $tea.Model {
|
|
27007
27371
|
/**
|
|
27008
27372
|
* @remarks
|
|
27009
|
-
* The custom
|
|
27373
|
+
* The custom configurations.
|
|
27010
27374
|
*/
|
|
27011
27375
|
configs?: ModifyClusterConfigurationRequestCustomizeConfigConfigs[];
|
|
27012
27376
|
/**
|
|
@@ -27039,7 +27403,7 @@ export class ModifyClusterConfigurationRequestCustomizeConfig extends $tea.Model
|
|
|
27039
27403
|
export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
27040
27404
|
/**
|
|
27041
27405
|
* @remarks
|
|
27042
|
-
* The maximum bandwidth of the EIP.
|
|
27406
|
+
* The maximum bandwidth of the elastic IP address (EIP).
|
|
27043
27407
|
*
|
|
27044
27408
|
* @example
|
|
27045
27409
|
* 5
|
|
@@ -27052,7 +27416,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
27052
27416
|
* The billing method of the EIP. Valid values:
|
|
27053
27417
|
*
|
|
27054
27418
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
27055
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
27419
|
+
* * `PayByTraffic`: pay-by-data-transfer
|
|
27056
27420
|
*
|
|
27057
27421
|
* Default value: `PayByBandwidth`.
|
|
27058
27422
|
*
|
|
@@ -27079,10 +27443,10 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
27079
27443
|
* @remarks
|
|
27080
27444
|
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
27081
27445
|
*
|
|
27082
|
-
* * `true`:
|
|
27446
|
+
* * `true`: An EIP is associated with the node pool.
|
|
27083
27447
|
* * `false`: No EIP is associated with the node pool.
|
|
27084
27448
|
*
|
|
27085
|
-
* Default value: `false
|
|
27449
|
+
* Default value: `false`
|
|
27086
27450
|
*
|
|
27087
27451
|
* @example
|
|
27088
27452
|
* true
|
|
@@ -27110,7 +27474,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
27110
27474
|
* @remarks
|
|
27111
27475
|
* The instance type that is used for auto scaling. Valid values:
|
|
27112
27476
|
*
|
|
27113
|
-
* * `cpu`: regular instance
|
|
27477
|
+
* * `cpu`: regular instance
|
|
27114
27478
|
* * `gpu`: GPU-accelerated instance.
|
|
27115
27479
|
* * `gpushare`: shared GPU-accelerated instance.
|
|
27116
27480
|
* * `spot`: preemptible instance.
|
|
@@ -27270,8 +27634,8 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea
|
|
|
27270
27634
|
* @remarks
|
|
27271
27635
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
27272
27636
|
*
|
|
27273
|
-
* * `true`:
|
|
27274
|
-
* * `false`:
|
|
27637
|
+
* * `true`: yes.
|
|
27638
|
+
* * `false`: no.
|
|
27275
27639
|
*
|
|
27276
27640
|
* @example
|
|
27277
27641
|
* true
|
|
@@ -27299,8 +27663,8 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
27299
27663
|
* @remarks
|
|
27300
27664
|
* Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
|
|
27301
27665
|
*
|
|
27302
|
-
* * `true`:
|
|
27303
|
-
* * `false`:
|
|
27666
|
+
* * `true`: yes.
|
|
27667
|
+
* * `false`: no.
|
|
27304
27668
|
*
|
|
27305
27669
|
* @example
|
|
27306
27670
|
* true
|
|
@@ -27352,8 +27716,8 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
27352
27716
|
* @remarks
|
|
27353
27717
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
27354
27718
|
*
|
|
27355
|
-
* * `true`:
|
|
27356
|
-
* * `false`:
|
|
27719
|
+
* * `true`: yes.
|
|
27720
|
+
* * `false`: no.
|
|
27357
27721
|
*
|
|
27358
27722
|
* @example
|
|
27359
27723
|
* true
|
|
@@ -27389,7 +27753,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
27389
27753
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
27390
27754
|
/**
|
|
27391
27755
|
* @remarks
|
|
27392
|
-
* Specifies whether to enable auto update.
|
|
27756
|
+
* Specifies whether to enable auto update. Valid values:
|
|
27393
27757
|
*
|
|
27394
27758
|
* * true: enables auto update.
|
|
27395
27759
|
* * false: disables auto update.
|
|
@@ -27408,7 +27772,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
27408
27772
|
*
|
|
27409
27773
|
* Valid values: 1 to 1000.
|
|
27410
27774
|
*
|
|
27411
|
-
* Default value: 1
|
|
27775
|
+
* Default value: 1
|
|
27412
27776
|
*
|
|
27413
27777
|
* @example
|
|
27414
27778
|
* 1
|
|
@@ -27463,7 +27827,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
27463
27827
|
* * `true`: enables auto repair.
|
|
27464
27828
|
* * `false`: disables auto repair.
|
|
27465
27829
|
*
|
|
27466
|
-
* Default value: `true
|
|
27830
|
+
* Default value: `true`
|
|
27467
27831
|
*
|
|
27468
27832
|
* @example
|
|
27469
27833
|
* true
|
|
@@ -27476,7 +27840,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
27476
27840
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
27477
27841
|
/**
|
|
27478
27842
|
* @remarks
|
|
27479
|
-
*
|
|
27843
|
+
* Specifies whether to enable auto update. Valid values:
|
|
27480
27844
|
*
|
|
27481
27845
|
* * `true`: enables auto update.
|
|
27482
27846
|
* * `false`: disables auto update.
|
|
@@ -27494,7 +27858,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
27494
27858
|
* @remarks
|
|
27495
27859
|
* Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
|
|
27496
27860
|
*
|
|
27497
|
-
* * `true`:
|
|
27861
|
+
* * `true`: eanbles auto CVE patching.
|
|
27498
27862
|
* * `true`: disables auto CVE patching.
|
|
27499
27863
|
*
|
|
27500
27864
|
* @example
|
|
@@ -27570,7 +27934,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
|
27570
27934
|
name?: string;
|
|
27571
27935
|
/**
|
|
27572
27936
|
* @remarks
|
|
27573
|
-
* The
|
|
27937
|
+
* The resource group ID.
|
|
27574
27938
|
*
|
|
27575
27939
|
* @example
|
|
27576
27940
|
* rg-acfmyvw3wjm****
|
|
@@ -27608,7 +27972,7 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
27608
27972
|
* @remarks
|
|
27609
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:
|
|
27610
27974
|
*
|
|
27611
|
-
* * `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.
|
|
27612
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.
|
|
27613
27977
|
* * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
|
|
27614
27978
|
*
|
|
@@ -27689,9 +28053,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27689
28053
|
autoRenew?: boolean;
|
|
27690
28054
|
/**
|
|
27691
28055
|
* @remarks
|
|
27692
|
-
* The
|
|
28056
|
+
* The auto-renewal period. Valid values:
|
|
27693
28057
|
*
|
|
27694
|
-
*
|
|
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
|
|
27695
28062
|
*
|
|
27696
28063
|
* @example
|
|
27697
28064
|
* 1
|
|
@@ -27701,7 +28068,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27701
28068
|
* @remarks
|
|
27702
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:
|
|
27703
28070
|
*
|
|
27704
|
-
* * `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
|
|
27705
28072
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
27706
28073
|
*
|
|
27707
28074
|
* @example
|
|
@@ -27710,7 +28077,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27710
28077
|
compensateWithOnDemand?: boolean;
|
|
27711
28078
|
/**
|
|
27712
28079
|
* @remarks
|
|
27713
|
-
* 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.
|
|
27714
28081
|
*/
|
|
27715
28082
|
dataDisks?: DataDisk[];
|
|
27716
28083
|
/**
|
|
@@ -27735,7 +28102,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27735
28102
|
*
|
|
27736
28103
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
27737
28104
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
27738
|
-
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
28105
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
27739
28106
|
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
27740
28107
|
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
27741
28108
|
* * `CentOS`: CentOS.
|
|
@@ -27772,7 +28139,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27772
28139
|
instanceTypes?: string[];
|
|
27773
28140
|
/**
|
|
27774
28141
|
* @remarks
|
|
27775
|
-
* The
|
|
28142
|
+
* The billing method of the public IP address. Valid values:
|
|
27776
28143
|
*
|
|
27777
28144
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
27778
28145
|
* * `PayByTraffic`: pay-by-data-transfer
|
|
@@ -27928,7 +28295,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27928
28295
|
* The bidding policy of preemptible instances. Valid values:
|
|
27929
28296
|
*
|
|
27930
28297
|
* * `NoSpot`: non-preemptible instance.
|
|
27931
|
-
* * `SpotWithPriceLimit`: specifies the highest bid
|
|
28298
|
+
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
27932
28299
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
27933
28300
|
*
|
|
27934
28301
|
* For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html).
|
|
@@ -27947,7 +28314,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27947
28314
|
systemDiskBurstingEnabled?: boolean;
|
|
27948
28315
|
/**
|
|
27949
28316
|
* @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)
|
|
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).
|
|
27951
28318
|
*/
|
|
27952
28319
|
systemDiskCategories?: string[];
|
|
27953
28320
|
/**
|
|
@@ -27955,7 +28322,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27955
28322
|
* The type of system disk. Valid values:
|
|
27956
28323
|
*
|
|
27957
28324
|
* * `cloud_efficiency`: ultra disk.
|
|
27958
|
-
* * `cloud_ssd`: standard SSD
|
|
28325
|
+
* * `cloud_ssd`: standard SSD.
|
|
27959
28326
|
*
|
|
27960
28327
|
* Default value: `cloud_ssd`.
|
|
27961
28328
|
*
|
|
@@ -27973,7 +28340,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
27973
28340
|
systemDiskEncryptAlgorithm?: string;
|
|
27974
28341
|
/**
|
|
27975
28342
|
* @remarks
|
|
27976
|
-
*
|
|
28343
|
+
* Specifies whether to encrypt the system disk. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
|
|
27977
28344
|
*
|
|
27978
28345
|
* @example
|
|
27979
28346
|
* false
|
|
@@ -28009,7 +28376,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
28009
28376
|
*
|
|
28010
28377
|
* Valid values: 20 to 500.
|
|
28011
28378
|
*
|
|
28012
|
-
* 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.
|
|
28013
28380
|
*
|
|
28014
28381
|
* Default value: the greater value between 40 and the image size.
|
|
28015
28382
|
*
|
|
@@ -28021,7 +28388,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
28021
28388
|
* @remarks
|
|
28022
28389
|
* The tags that you want to add only to ECS instances.
|
|
28023
28390
|
*
|
|
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:
|
|
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://.
|
|
28025
28392
|
*/
|
|
28026
28393
|
tags?: Tag[];
|
|
28027
28394
|
/**
|
|
@@ -28483,7 +28850,7 @@ export class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
|
28483
28850
|
export class UpgradeClusterRequestRollingPolicy extends $tea.Model {
|
|
28484
28851
|
/**
|
|
28485
28852
|
* @remarks
|
|
28486
|
-
*
|
|
28853
|
+
* The maximum size of each batch.
|
|
28487
28854
|
*
|
|
28488
28855
|
* @example
|
|
28489
28856
|
* 3
|
|
@@ -29068,7 +29435,7 @@ export default class Client extends OpenApi {
|
|
|
29068
29435
|
}
|
|
29069
29436
|
|
|
29070
29437
|
/**
|
|
29071
|
-
*
|
|
29438
|
+
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
29072
29439
|
*
|
|
29073
29440
|
* @remarks
|
|
29074
29441
|
* >
|
|
@@ -29107,7 +29474,7 @@ export default class Client extends OpenApi {
|
|
|
29107
29474
|
}
|
|
29108
29475
|
|
|
29109
29476
|
/**
|
|
29110
|
-
*
|
|
29477
|
+
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
29111
29478
|
*
|
|
29112
29479
|
* @remarks
|
|
29113
29480
|
* >
|
|
@@ -29742,7 +30109,7 @@ export default class Client extends OpenApi {
|
|
|
29742
30109
|
}
|
|
29743
30110
|
|
|
29744
30111
|
/**
|
|
29745
|
-
*
|
|
30112
|
+
* Starts a cluster diagnostic.
|
|
29746
30113
|
*
|
|
29747
30114
|
* @param request - CreateClusterDiagnosisRequest
|
|
29748
30115
|
* @param headers - map
|
|
@@ -29779,7 +30146,7 @@ export default class Client extends OpenApi {
|
|
|
29779
30146
|
}
|
|
29780
30147
|
|
|
29781
30148
|
/**
|
|
29782
|
-
*
|
|
30149
|
+
* Starts a cluster diagnostic.
|
|
29783
30150
|
*
|
|
29784
30151
|
* @param request - CreateClusterDiagnosisRequest
|
|
29785
30152
|
* @returns CreateClusterDiagnosisResponse
|
|
@@ -30118,7 +30485,7 @@ export default class Client extends OpenApi {
|
|
|
30118
30485
|
}
|
|
30119
30486
|
|
|
30120
30487
|
/**
|
|
30121
|
-
*
|
|
30488
|
+
* Deletes one or more ACK alert contacts.
|
|
30122
30489
|
*
|
|
30123
30490
|
* @param tmpReq - DeleteAlertContactRequest
|
|
30124
30491
|
* @param headers - map
|
|
@@ -30157,7 +30524,7 @@ export default class Client extends OpenApi {
|
|
|
30157
30524
|
}
|
|
30158
30525
|
|
|
30159
30526
|
/**
|
|
30160
|
-
*
|
|
30527
|
+
* Deletes one or more ACK alert contacts.
|
|
30161
30528
|
*
|
|
30162
30529
|
* @param request - DeleteAlertContactRequest
|
|
30163
30530
|
* @returns DeleteAlertContactResponse
|
|
@@ -30169,7 +30536,7 @@ export default class Client extends OpenApi {
|
|
|
30169
30536
|
}
|
|
30170
30537
|
|
|
30171
30538
|
/**
|
|
30172
|
-
*
|
|
30539
|
+
* Deletes an ACK alert contact group.
|
|
30173
30540
|
*
|
|
30174
30541
|
* @param tmpReq - DeleteAlertContactGroupRequest
|
|
30175
30542
|
* @param headers - map
|
|
@@ -30208,7 +30575,7 @@ export default class Client extends OpenApi {
|
|
|
30208
30575
|
}
|
|
30209
30576
|
|
|
30210
30577
|
/**
|
|
30211
|
-
*
|
|
30578
|
+
* Deletes an ACK alert contact group.
|
|
30212
30579
|
*
|
|
30213
30580
|
* @param request - DeleteAlertContactGroupRequest
|
|
30214
30581
|
* @returns DeleteAlertContactGroupResponse
|
|
@@ -33079,15 +33446,23 @@ export default class Client extends OpenApi {
|
|
|
33079
33446
|
}
|
|
33080
33447
|
|
|
33081
33448
|
/**
|
|
33082
|
-
*
|
|
33449
|
+
* Queries cluster diagnostic items.
|
|
33083
33450
|
*
|
|
33451
|
+
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
33084
33452
|
* @param headers - map
|
|
33085
33453
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
33086
33454
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
33087
33455
|
*/
|
|
33088
|
-
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
|
+
|
|
33089
33463
|
let req = new $OpenApi.OpenApiRequest({
|
|
33090
33464
|
headers: headers,
|
|
33465
|
+
query: OpenApiUtil.query(query),
|
|
33091
33466
|
});
|
|
33092
33467
|
let params = new $OpenApi.Params({
|
|
33093
33468
|
action: "GetClusterDiagnosisCheckItems",
|
|
@@ -33104,25 +33479,35 @@ export default class Client extends OpenApi {
|
|
|
33104
33479
|
}
|
|
33105
33480
|
|
|
33106
33481
|
/**
|
|
33107
|
-
*
|
|
33482
|
+
* Queries cluster diagnostic items.
|
|
33483
|
+
*
|
|
33484
|
+
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
33108
33485
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
33109
33486
|
*/
|
|
33110
|
-
async getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisCheckItemsResponse> {
|
|
33487
|
+
async getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisCheckItemsRequest): Promise<GetClusterDiagnosisCheckItemsResponse> {
|
|
33111
33488
|
let runtime = new $Util.RuntimeOptions({ });
|
|
33112
33489
|
let headers : {[key: string ]: string} = { };
|
|
33113
|
-
return await this.getClusterDiagnosisCheckItemsWithOptions(clusterId, diagnosisId, headers, runtime);
|
|
33490
|
+
return await this.getClusterDiagnosisCheckItemsWithOptions(clusterId, diagnosisId, request, headers, runtime);
|
|
33114
33491
|
}
|
|
33115
33492
|
|
|
33116
33493
|
/**
|
|
33117
|
-
*
|
|
33494
|
+
* Queries cluster diagnostic results.
|
|
33118
33495
|
*
|
|
33496
|
+
* @param request - GetClusterDiagnosisResultRequest
|
|
33119
33497
|
* @param headers - map
|
|
33120
33498
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
33121
33499
|
* @returns GetClusterDiagnosisResultResponse
|
|
33122
33500
|
*/
|
|
33123
|
-
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
|
+
|
|
33124
33508
|
let req = new $OpenApi.OpenApiRequest({
|
|
33125
33509
|
headers: headers,
|
|
33510
|
+
query: OpenApiUtil.query(query),
|
|
33126
33511
|
});
|
|
33127
33512
|
let params = new $OpenApi.Params({
|
|
33128
33513
|
action: "GetClusterDiagnosisResult",
|
|
@@ -33139,13 +33524,15 @@ export default class Client extends OpenApi {
|
|
|
33139
33524
|
}
|
|
33140
33525
|
|
|
33141
33526
|
/**
|
|
33142
|
-
*
|
|
33527
|
+
* Queries cluster diagnostic results.
|
|
33528
|
+
*
|
|
33529
|
+
* @param request - GetClusterDiagnosisResultRequest
|
|
33143
33530
|
* @returns GetClusterDiagnosisResultResponse
|
|
33144
33531
|
*/
|
|
33145
|
-
async getClusterDiagnosisResult(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisResultResponse> {
|
|
33532
|
+
async getClusterDiagnosisResult(clusterId: string, diagnosisId: string, request: GetClusterDiagnosisResultRequest): Promise<GetClusterDiagnosisResultResponse> {
|
|
33146
33533
|
let runtime = new $Util.RuntimeOptions({ });
|
|
33147
33534
|
let headers : {[key: string ]: string} = { };
|
|
33148
|
-
return await this.getClusterDiagnosisResultWithOptions(clusterId, diagnosisId, headers, runtime);
|
|
33535
|
+
return await this.getClusterDiagnosisResultWithOptions(clusterId, diagnosisId, request, headers, runtime);
|
|
33149
33536
|
}
|
|
33150
33537
|
|
|
33151
33538
|
/**
|
|
@@ -33492,7 +33879,7 @@ export default class Client extends OpenApi {
|
|
|
33492
33879
|
}
|
|
33493
33880
|
|
|
33494
33881
|
/**
|
|
33495
|
-
*
|
|
33882
|
+
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
33496
33883
|
*
|
|
33497
33884
|
* @remarks
|
|
33498
33885
|
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
@@ -33533,7 +33920,7 @@ export default class Client extends OpenApi {
|
|
|
33533
33920
|
}
|
|
33534
33921
|
|
|
33535
33922
|
/**
|
|
33536
|
-
*
|
|
33923
|
+
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
33537
33924
|
*
|
|
33538
33925
|
* @remarks
|
|
33539
33926
|
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
@@ -34461,10 +34848,11 @@ export default class Client extends OpenApi {
|
|
|
34461
34848
|
* Removes nodes from a node pool.
|
|
34462
34849
|
*
|
|
34463
34850
|
* @remarks
|
|
34464
|
-
*
|
|
34465
|
-
*
|
|
34466
|
-
*
|
|
34467
|
-
*
|
|
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.
|
|
34468
34856
|
*
|
|
34469
34857
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
34470
34858
|
* @param headers - map
|
|
@@ -34526,10 +34914,11 @@ export default class Client extends OpenApi {
|
|
|
34526
34914
|
* Removes nodes from a node pool.
|
|
34527
34915
|
*
|
|
34528
34916
|
* @remarks
|
|
34529
|
-
*
|
|
34530
|
-
*
|
|
34531
|
-
*
|
|
34532
|
-
*
|
|
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.
|
|
34533
34922
|
*
|
|
34534
34923
|
* @param request - RemoveNodePoolNodesRequest
|
|
34535
34924
|
* @returns RemoveNodePoolNodesResponse
|