@alicloud/cs20151215 4.8.10 → 4.8.12
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 +714 -352
- package/dist/client.js +106 -36
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +759 -352
package/dist/client.d.ts
CHANGED
|
@@ -674,7 +674,7 @@ export declare class AttachInstancesResponseBodyList extends $dara.Model {
|
|
|
674
674
|
export declare class CheckServiceRoleRequestRoles extends $dara.Model {
|
|
675
675
|
/**
|
|
676
676
|
* @remarks
|
|
677
|
-
* The service role
|
|
677
|
+
* The name of the service role. For more information about ACK roles, see [ACK roles](https://help.aliyun.com/document_detail/86483.html).
|
|
678
678
|
*
|
|
679
679
|
* This parameter is required.
|
|
680
680
|
*
|
|
@@ -696,7 +696,12 @@ export declare class CheckServiceRoleRequestRoles extends $dara.Model {
|
|
|
696
696
|
export declare class CheckServiceRoleResponseBodyRoles extends $dara.Model {
|
|
697
697
|
/**
|
|
698
698
|
* @remarks
|
|
699
|
-
*
|
|
699
|
+
* Indicates whether the service role is assigned to ACK.
|
|
700
|
+
*
|
|
701
|
+
* Valid values:
|
|
702
|
+
*
|
|
703
|
+
* * true: The role is assigned to ACK.
|
|
704
|
+
* * false: The role is not assigned to ACK.
|
|
700
705
|
*
|
|
701
706
|
* @example
|
|
702
707
|
* true
|
|
@@ -704,7 +709,7 @@ export declare class CheckServiceRoleResponseBodyRoles extends $dara.Model {
|
|
|
704
709
|
granted?: boolean;
|
|
705
710
|
/**
|
|
706
711
|
* @remarks
|
|
707
|
-
* The message
|
|
712
|
+
* The message that is displayed for a role that is not assigned to ACK.
|
|
708
713
|
*
|
|
709
714
|
* @example
|
|
710
715
|
* The role does not exist: AliyunCSManagedAutoScalerRole
|
|
@@ -712,7 +717,7 @@ export declare class CheckServiceRoleResponseBodyRoles extends $dara.Model {
|
|
|
712
717
|
message?: string;
|
|
713
718
|
/**
|
|
714
719
|
* @remarks
|
|
715
|
-
* The service role
|
|
720
|
+
* The name of the service role.
|
|
716
721
|
*
|
|
717
722
|
* @example
|
|
718
723
|
* AliyunCSManagedAutoScalerRole
|
|
@@ -732,7 +737,7 @@ export declare class CheckServiceRoleResponseBodyRoles extends $dara.Model {
|
|
|
732
737
|
export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
733
738
|
/**
|
|
734
739
|
* @remarks
|
|
735
|
-
*
|
|
740
|
+
* Specifies whether to enable auto-renewal for the node.
|
|
736
741
|
*
|
|
737
742
|
* @example
|
|
738
743
|
* true
|
|
@@ -740,7 +745,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
740
745
|
autoRenew?: boolean;
|
|
741
746
|
/**
|
|
742
747
|
* @remarks
|
|
743
|
-
* The auto-renewal duration for the
|
|
748
|
+
* The auto-renewal duration for the node.
|
|
744
749
|
*
|
|
745
750
|
* @example
|
|
746
751
|
* 1
|
|
@@ -748,7 +753,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
748
753
|
autoRenewPeriod?: number;
|
|
749
754
|
/**
|
|
750
755
|
* @remarks
|
|
751
|
-
* The billing method of the
|
|
756
|
+
* The billing method of the node.
|
|
752
757
|
*
|
|
753
758
|
* @example
|
|
754
759
|
* PrePaid
|
|
@@ -756,7 +761,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
756
761
|
chargeType?: string;
|
|
757
762
|
/**
|
|
758
763
|
* @remarks
|
|
759
|
-
*
|
|
764
|
+
* Specifies whether to install CloudMonitor on the node.
|
|
760
765
|
*
|
|
761
766
|
* @example
|
|
762
767
|
* true
|
|
@@ -764,7 +769,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
764
769
|
cloudMonitorFlags?: boolean;
|
|
765
770
|
/**
|
|
766
771
|
* @remarks
|
|
767
|
-
* The CPU management policy of
|
|
772
|
+
* The CPU management policy of the node.
|
|
768
773
|
*
|
|
769
774
|
* @example
|
|
770
775
|
* none
|
|
@@ -780,7 +785,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
780
785
|
deploymentsetId?: string;
|
|
781
786
|
/**
|
|
782
787
|
* @remarks
|
|
783
|
-
* The ID
|
|
788
|
+
* The image ID.
|
|
784
789
|
*
|
|
785
790
|
* @example
|
|
786
791
|
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
@@ -796,12 +801,12 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
796
801
|
imageType?: string;
|
|
797
802
|
/**
|
|
798
803
|
* @remarks
|
|
799
|
-
* The instance
|
|
804
|
+
* The instance types of the nodes.
|
|
800
805
|
*/
|
|
801
806
|
instanceTypes?: string[];
|
|
802
807
|
/**
|
|
803
808
|
* @remarks
|
|
804
|
-
* The name of the key pair. You must set
|
|
809
|
+
* The name of the key pair. You must set this parameter or login_password.
|
|
805
810
|
*
|
|
806
811
|
* @example
|
|
807
812
|
* ack
|
|
@@ -809,7 +814,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
809
814
|
keyPair?: string;
|
|
810
815
|
/**
|
|
811
816
|
* @remarks
|
|
812
|
-
* The SSH logon password. The password must be 8 to 30 characters in length and contain a minimum of three of the following character types: uppercase letters, lowercase letters, digits, and special characters. You must set
|
|
817
|
+
* The SSH logon password. The password must be 8 to 30 characters in length and contain a minimum of three of the following character types: uppercase letters, lowercase letters, digits, and special characters. You must set this parameter or key_pair.
|
|
813
818
|
*
|
|
814
819
|
* @example
|
|
815
820
|
* ack@Test
|
|
@@ -825,7 +830,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
825
830
|
nodePortRange?: string;
|
|
826
831
|
/**
|
|
827
832
|
* @remarks
|
|
828
|
-
* The subscription duration of the
|
|
833
|
+
* The subscription duration of the node.
|
|
829
834
|
*
|
|
830
835
|
* @example
|
|
831
836
|
* 1
|
|
@@ -833,7 +838,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
833
838
|
period?: number;
|
|
834
839
|
/**
|
|
835
840
|
* @remarks
|
|
836
|
-
* The unit of the subscription duration of the
|
|
841
|
+
* The unit of the subscription duration of the node.
|
|
837
842
|
*
|
|
838
843
|
* @example
|
|
839
844
|
* Month
|
|
@@ -841,7 +846,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
841
846
|
periodUnit?: string;
|
|
842
847
|
/**
|
|
843
848
|
* @remarks
|
|
844
|
-
* The runtime.
|
|
849
|
+
* The container runtime.
|
|
845
850
|
*
|
|
846
851
|
* @example
|
|
847
852
|
* containerd
|
|
@@ -849,7 +854,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
849
854
|
runtime?: string;
|
|
850
855
|
/**
|
|
851
856
|
* @remarks
|
|
852
|
-
*
|
|
857
|
+
* Specifies whether to enable Alibaba Cloud Linux Security Hardening.
|
|
853
858
|
*
|
|
854
859
|
* @example
|
|
855
860
|
* true
|
|
@@ -865,7 +870,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
865
870
|
size?: number;
|
|
866
871
|
/**
|
|
867
872
|
* @remarks
|
|
868
|
-
*
|
|
873
|
+
* Specifies whether to enable MLPS security hardening.
|
|
869
874
|
*
|
|
870
875
|
* @example
|
|
871
876
|
* true
|
|
@@ -873,7 +878,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
873
878
|
socEnabled?: boolean;
|
|
874
879
|
/**
|
|
875
880
|
* @remarks
|
|
876
|
-
*
|
|
881
|
+
* Specifies whether to enable the burst feature for the system disk.
|
|
877
882
|
*
|
|
878
883
|
* @example
|
|
879
884
|
* true
|
|
@@ -881,7 +886,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
881
886
|
systemDiskBurstingEnabled?: boolean;
|
|
882
887
|
/**
|
|
883
888
|
* @remarks
|
|
884
|
-
* The
|
|
889
|
+
* The system disk category for the node.
|
|
885
890
|
*
|
|
886
891
|
* @example
|
|
887
892
|
* cloud_essd
|
|
@@ -889,7 +894,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
889
894
|
systemDiskCategory?: string;
|
|
890
895
|
/**
|
|
891
896
|
* @remarks
|
|
892
|
-
* The
|
|
897
|
+
* The PL of the system disk that you want to use for the node. This parameter takes effect only for ESSDs.
|
|
893
898
|
*
|
|
894
899
|
* @example
|
|
895
900
|
* PL1
|
|
@@ -965,7 +970,7 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
965
970
|
export declare class CreateClusterRequestOperationPolicy extends $dara.Model {
|
|
966
971
|
/**
|
|
967
972
|
* @remarks
|
|
968
|
-
* The configurations of auto cluster
|
|
973
|
+
* The configurations of auto cluster upgrade.
|
|
969
974
|
*/
|
|
970
975
|
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
971
976
|
static names(): {
|
|
@@ -982,7 +987,7 @@ export declare class CreateClusterRequestOperationPolicy extends $dara.Model {
|
|
|
982
987
|
export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
983
988
|
/**
|
|
984
989
|
* @remarks
|
|
985
|
-
* The data disk
|
|
990
|
+
* The data disk category.
|
|
986
991
|
*
|
|
987
992
|
* This parameter is required.
|
|
988
993
|
*
|
|
@@ -992,12 +997,12 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
992
997
|
category?: string;
|
|
993
998
|
/**
|
|
994
999
|
* @remarks
|
|
995
|
-
* Specifies whether to encrypt the data
|
|
1000
|
+
* Specifies whether to encrypt the data disk. Valid values:
|
|
996
1001
|
*
|
|
997
1002
|
* * `true`: encrypts the data disk.
|
|
998
1003
|
* * `false`: does not encrypt the data disk.
|
|
999
1004
|
*
|
|
1000
|
-
* Default value: `false
|
|
1005
|
+
* Default value: `false`.
|
|
1001
1006
|
*
|
|
1002
1007
|
* @example
|
|
1003
1008
|
* true
|
|
@@ -1218,7 +1223,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
1218
1223
|
* * `true`: installs the CloudMonitor agent on ECS nodes.
|
|
1219
1224
|
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
1220
1225
|
*
|
|
1221
|
-
* Default value: `false
|
|
1226
|
+
* Default value: `false`.
|
|
1222
1227
|
*
|
|
1223
1228
|
* @example
|
|
1224
1229
|
* true
|
|
@@ -1226,7 +1231,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
1226
1231
|
cmsEnabled?: boolean;
|
|
1227
1232
|
/**
|
|
1228
1233
|
* @remarks
|
|
1229
|
-
* The CPU management policy of nodes. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
1234
|
+
* The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
1230
1235
|
*
|
|
1231
1236
|
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
1232
1237
|
* * `none`: specifies that the default CPU affinity is used.
|
|
@@ -1287,7 +1292,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
1287
1292
|
runtimeVersion?: string;
|
|
1288
1293
|
/**
|
|
1289
1294
|
* @remarks
|
|
1290
|
-
* The
|
|
1295
|
+
* The configurations of the taints.
|
|
1291
1296
|
*/
|
|
1292
1297
|
taints?: Taint[];
|
|
1293
1298
|
/**
|
|
@@ -1345,10 +1350,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
1345
1350
|
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
1346
1351
|
/**
|
|
1347
1352
|
* @remarks
|
|
1348
|
-
* Specifies whether to allow auto
|
|
1353
|
+
* Specifies whether to allow the auto upgrade of the kubelet. This parameter takes effect only if `auto_upgrade` is set to true. Valid values:
|
|
1349
1354
|
*
|
|
1350
|
-
* * `true`: allows auto
|
|
1351
|
-
* * `false`: does not allow auto
|
|
1355
|
+
* * `true`: allows the auto upgrade of the kubelet.
|
|
1356
|
+
* * `false`: does not allow the auto upgrade of the kubelet.
|
|
1352
1357
|
*
|
|
1353
1358
|
* If `auto_upgrade` is set to true, the default value of this parameter is `true`. If `auto_upgrade` is set to false, the default value of this parameter is `false`.
|
|
1354
1359
|
*
|
|
@@ -1358,20 +1363,20 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
1358
1363
|
autoUpgradeKubelet?: boolean;
|
|
1359
1364
|
/**
|
|
1360
1365
|
* @remarks
|
|
1361
|
-
* Specifies whether to allow auto
|
|
1366
|
+
* Specifies whether to allow the auto upgrade of the OS. This parameter takes effect only if `auto_upgrade` is set to true. Valid values:
|
|
1362
1367
|
*
|
|
1363
|
-
* * `true`: allows auto
|
|
1364
|
-
* * `false`: does not allow auto
|
|
1368
|
+
* * `true`: allows the auto upgrade of the OS.
|
|
1369
|
+
* * `false`: does not allow the auto upgrade of the OS.
|
|
1365
1370
|
*
|
|
1366
1371
|
* Default value: `false`.
|
|
1367
1372
|
*/
|
|
1368
1373
|
autoUpgradeOs?: boolean;
|
|
1369
1374
|
/**
|
|
1370
1375
|
* @remarks
|
|
1371
|
-
* Specifies whether to allow auto
|
|
1376
|
+
* Specifies whether to allow the auto upgrade of the runtime. This parameter takes effect only if `auto_upgrade` is set to true. Valid values:
|
|
1372
1377
|
*
|
|
1373
|
-
* * `true`: allows auto
|
|
1374
|
-
* * `false`: does not allow auto
|
|
1378
|
+
* * `true`: allows the auto upgrade of the runtime.
|
|
1379
|
+
* * `false`: does not allow the auto upgrade of the runtime.
|
|
1375
1380
|
*
|
|
1376
1381
|
* Default value: `false`.
|
|
1377
1382
|
*/
|
|
@@ -1403,9 +1408,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
1403
1408
|
* @remarks
|
|
1404
1409
|
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
|
|
1405
1410
|
*
|
|
1406
|
-
* * `asap`: high
|
|
1407
|
-
* * `later`: medium
|
|
1408
|
-
* * `nntf`: low
|
|
1411
|
+
* * `asap`: high.
|
|
1412
|
+
* * `later`: medium.
|
|
1413
|
+
* * `nntf`: low.
|
|
1409
1414
|
*
|
|
1410
1415
|
* If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
|
|
1411
1416
|
*
|
|
@@ -1427,10 +1432,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
1427
1432
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
1428
1433
|
/**
|
|
1429
1434
|
* @remarks
|
|
1430
|
-
* Specifies whether to enable auto
|
|
1435
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
1431
1436
|
*
|
|
1432
|
-
* * `true`: enables auto
|
|
1433
|
-
* * `false`: disables auto
|
|
1437
|
+
* * `true`: enables auto OS upgrade.
|
|
1438
|
+
* * `false`: disables auto OS upgrade.
|
|
1434
1439
|
*
|
|
1435
1440
|
* **
|
|
1436
1441
|
*
|
|
@@ -1454,7 +1459,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
1454
1459
|
maxUnavailable?: number;
|
|
1455
1460
|
/**
|
|
1456
1461
|
* @remarks
|
|
1457
|
-
* The number of
|
|
1462
|
+
* The number of nodes that are temporarily added to the node pool during an auto upgrade.
|
|
1458
1463
|
*
|
|
1459
1464
|
* @example
|
|
1460
1465
|
* 0
|
|
@@ -1500,10 +1505,10 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
1500
1505
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
1501
1506
|
/**
|
|
1502
1507
|
* @remarks
|
|
1503
|
-
* Specifies whether to enable auto node
|
|
1508
|
+
* Specifies whether to enable auto node upgrade. This parameter takes effect only if `enable` is set to true.
|
|
1504
1509
|
*
|
|
1505
|
-
* * `true`: enables auto node
|
|
1506
|
-
* * `false`: disables auto node
|
|
1510
|
+
* * `true`: enables auto node upgrade.
|
|
1511
|
+
* * `false`: disables auto node upgrade.
|
|
1507
1512
|
*
|
|
1508
1513
|
* If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
|
|
1509
1514
|
*
|
|
@@ -1513,7 +1518,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
1513
1518
|
autoUpgrade?: boolean;
|
|
1514
1519
|
/**
|
|
1515
1520
|
* @remarks
|
|
1516
|
-
* The auto node
|
|
1521
|
+
* The auto node upgrade policy.
|
|
1517
1522
|
*/
|
|
1518
1523
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
1519
1524
|
/**
|
|
@@ -1541,7 +1546,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
1541
1546
|
* * `true`: enables the managed node pool feature.
|
|
1542
1547
|
* * `false`: disables the managed node pool feature. Other parameters in this section take effect only if enable is set to true.
|
|
1543
1548
|
*
|
|
1544
|
-
* Default value: false
|
|
1549
|
+
* Default value: false.
|
|
1545
1550
|
*
|
|
1546
1551
|
* @example
|
|
1547
1552
|
* false
|
|
@@ -1549,7 +1554,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
1549
1554
|
enable?: boolean;
|
|
1550
1555
|
/**
|
|
1551
1556
|
* @remarks
|
|
1552
|
-
* The configurations of auto
|
|
1557
|
+
* The configurations of auto upgrade. The configurations take effects only if `enable` is set to true.
|
|
1553
1558
|
*
|
|
1554
1559
|
* @deprecated
|
|
1555
1560
|
*/
|
|
@@ -1720,7 +1725,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1720
1725
|
* * `true`: enables auto-renewal.
|
|
1721
1726
|
* * `false`: disables auto-renewal.
|
|
1722
1727
|
*
|
|
1723
|
-
* Default value: `false
|
|
1728
|
+
* Default value: `false`.
|
|
1724
1729
|
*
|
|
1725
1730
|
* @example
|
|
1726
1731
|
* true
|
|
@@ -1730,10 +1735,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1730
1735
|
* @remarks
|
|
1731
1736
|
* The auto-renewal period. Valid values:
|
|
1732
1737
|
*
|
|
1733
|
-
* * Valid values when PeriodUnit is set to Week: 1, 2, and 3
|
|
1734
|
-
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
|
|
1738
|
+
* * Valid values when PeriodUnit is set to Week: 1, 2, and 3.
|
|
1739
|
+
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1735
1740
|
*
|
|
1736
|
-
* Default value: 1
|
|
1741
|
+
* Default value: 1.
|
|
1737
1742
|
*
|
|
1738
1743
|
* @example
|
|
1739
1744
|
* 1
|
|
@@ -1741,7 +1746,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1741
1746
|
autoRenewPeriod?: number;
|
|
1742
1747
|
/**
|
|
1743
1748
|
* @remarks
|
|
1744
|
-
* This parameter is deprecated. Use
|
|
1749
|
+
* This parameter is deprecated. Use security_hardening_os instead.
|
|
1745
1750
|
*
|
|
1746
1751
|
* @example
|
|
1747
1752
|
* false
|
|
@@ -1795,13 +1800,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1795
1800
|
*
|
|
1796
1801
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
1797
1802
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
1798
|
-
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
1803
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
1799
1804
|
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
1800
1805
|
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
1801
1806
|
* * `CentOS`: CentOS.
|
|
1802
1807
|
* * `Windows`: Windows.
|
|
1803
1808
|
* * `WindowsCore`: Windows Core.
|
|
1804
1809
|
* * `ContainerOS`: ContainerOS.
|
|
1810
|
+
* * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized.
|
|
1805
1811
|
*
|
|
1806
1812
|
* @example
|
|
1807
1813
|
* AliyunLinux
|
|
@@ -1824,7 +1830,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1824
1830
|
instanceChargeType?: string;
|
|
1825
1831
|
/**
|
|
1826
1832
|
* @remarks
|
|
1827
|
-
* The instance
|
|
1833
|
+
* The instance attributes.
|
|
1828
1834
|
*/
|
|
1829
1835
|
instancePatterns?: InstancePatterns[];
|
|
1830
1836
|
/**
|
|
@@ -1875,7 +1881,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1875
1881
|
loginAsNonRoot?: boolean;
|
|
1876
1882
|
/**
|
|
1877
1883
|
* @remarks
|
|
1878
|
-
* The password for SSH logon. You must
|
|
1884
|
+
* The password for SSH logon. You must set this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1879
1885
|
*
|
|
1880
1886
|
* @example
|
|
1881
1887
|
* Hello1234
|
|
@@ -1943,7 +1949,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1943
1949
|
periodUnit?: string;
|
|
1944
1950
|
/**
|
|
1945
1951
|
* @remarks
|
|
1946
|
-
* The
|
|
1952
|
+
* The OS distribution that is used. Valid values:
|
|
1947
1953
|
*
|
|
1948
1954
|
* * `CentOS`
|
|
1949
1955
|
* * `AliyunLinux`
|
|
@@ -1970,8 +1976,6 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1970
1976
|
* * If you do not specify this parameter, the default worker RAM role created by the cluster is used.
|
|
1971
1977
|
* * The specified RAM role must be a **regular service role** and the **Select Trusted Service** parameter must be set to **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role created by the cluster, the name of the RAM role cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1972
1978
|
*
|
|
1973
|
-
* This parameter is available only to users in the whitelist. To use this parameter, submit a ticket.
|
|
1974
|
-
*
|
|
1975
1979
|
* > This parameter is available only for ACK managed clusters that run Kubernetes 1.22 or later.
|
|
1976
1980
|
*
|
|
1977
1981
|
* @example
|
|
@@ -1980,14 +1984,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1980
1984
|
ramRoleName?: string;
|
|
1981
1985
|
/**
|
|
1982
1986
|
* @remarks
|
|
1983
|
-
*
|
|
1987
|
+
* The IDs of ApsaraDB RDS instances.
|
|
1984
1988
|
*/
|
|
1985
1989
|
rdsInstances?: string[];
|
|
1986
1990
|
/**
|
|
1987
1991
|
* @remarks
|
|
1988
1992
|
* The scaling mode of the scaling group. Valid values:
|
|
1989
1993
|
*
|
|
1990
|
-
* * `release`: the standard mode. ECS instances are created and released based on
|
|
1994
|
+
* * `release`: the standard mode. ECS instances are created and released based on resource usage.
|
|
1991
1995
|
* * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
|
|
1992
1996
|
*
|
|
1993
1997
|
* Default value: `release`.
|
|
@@ -2039,7 +2043,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
2039
2043
|
spotInstancePools?: number;
|
|
2040
2044
|
/**
|
|
2041
2045
|
* @remarks
|
|
2042
|
-
*
|
|
2046
|
+
* Indicates whether preemptible instances can be supplemented. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group attempts to create a new instance to replace this instance. Valid values:
|
|
2043
2047
|
*
|
|
2044
2048
|
* * `true`: enables the supplementation of preemptible instances.
|
|
2045
2049
|
* * `false`: disables the supplementation of preemptible instances.
|
|
@@ -2082,7 +2086,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
2082
2086
|
systemDiskBurstingEnabled?: boolean;
|
|
2083
2087
|
/**
|
|
2084
2088
|
* @remarks
|
|
2085
|
-
* The categories of the system disk for nodes. The system attempts to create system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable. Valid values:
|
|
2089
|
+
* The categories of the system disk for nodes. The system attempts to create system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable. Valid values:
|
|
2086
2090
|
*
|
|
2087
2091
|
* * `cloud`: basic disk.
|
|
2088
2092
|
* * `cloud_efficiency`: ultra disk.
|
|
@@ -2094,12 +2098,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
2094
2098
|
systemDiskCategories?: string[];
|
|
2095
2099
|
/**
|
|
2096
2100
|
* @remarks
|
|
2097
|
-
* The category of the system disk
|
|
2101
|
+
* The category of the system disk. Valid values:
|
|
2098
2102
|
*
|
|
2099
2103
|
* * `cloud`: basic disk.
|
|
2100
2104
|
* * `cloud_efficiency`: ultra disk.
|
|
2101
2105
|
* * `cloud_ssd`: standard SSD.
|
|
2102
|
-
* * `cloud_essd`: ESSD.
|
|
2106
|
+
* * `cloud_essd`: Enterprise ESSD (ESSD).
|
|
2103
2107
|
* * `cloud_auto`: ESSD AutoPL disk.
|
|
2104
2108
|
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
2105
2109
|
*
|
|
@@ -2111,7 +2115,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
2111
2115
|
systemDiskCategory?: string;
|
|
2112
2116
|
/**
|
|
2113
2117
|
* @remarks
|
|
2114
|
-
* The encryption algorithm that is used to encrypt the system disk.
|
|
2118
|
+
* The encryption algorithm that is used to encrypt the system disk. The value is aes-256.
|
|
2115
2119
|
*
|
|
2116
2120
|
* @example
|
|
2117
2121
|
* aes-256
|
|
@@ -2119,7 +2123,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
2119
2123
|
systemDiskEncryptAlgorithm?: string;
|
|
2120
2124
|
/**
|
|
2121
2125
|
* @remarks
|
|
2122
|
-
* Specifies whether to encrypt the system disk.
|
|
2126
|
+
* Specifies whether to encrypt the system disk. true: encrypts the system disk. false: does not encrypt the system disk.
|
|
2123
2127
|
*
|
|
2124
2128
|
* @example
|
|
2125
2129
|
* false
|
|
@@ -2150,7 +2154,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
2150
2154
|
systemDiskPerformanceLevel?: string;
|
|
2151
2155
|
/**
|
|
2152
2156
|
* @remarks
|
|
2153
|
-
* The preset
|
|
2157
|
+
* The preset IOPS of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
2154
2158
|
*
|
|
2155
2159
|
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
2156
2160
|
*
|
|
@@ -2170,9 +2174,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
2170
2174
|
systemDiskSize?: number;
|
|
2171
2175
|
/**
|
|
2172
2176
|
* @remarks
|
|
2173
|
-
* The
|
|
2177
|
+
* The tags that you want to add only to ECS instances.
|
|
2174
2178
|
*
|
|
2175
|
-
* The
|
|
2179
|
+
* The tag key must be unique and cannot exceed 128 characters in length. The tag key and value cannot start with aliyun or acs: or contain https:// or http://.
|
|
2176
2180
|
*/
|
|
2177
2181
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
2178
2182
|
/**
|
|
@@ -2216,8 +2220,32 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
2216
2220
|
});
|
|
2217
2221
|
}
|
|
2218
2222
|
export declare class DeleteAlertContactResponseBodyResult extends $dara.Model {
|
|
2223
|
+
/**
|
|
2224
|
+
* @remarks
|
|
2225
|
+
* The deletion status.
|
|
2226
|
+
*
|
|
2227
|
+
* * true: The alert contact was deleted.
|
|
2228
|
+
* * false: The alert contact failed to be deleted.
|
|
2229
|
+
*
|
|
2230
|
+
* @example
|
|
2231
|
+
* true
|
|
2232
|
+
*/
|
|
2219
2233
|
status?: boolean;
|
|
2234
|
+
/**
|
|
2235
|
+
* @remarks
|
|
2236
|
+
* The error message returned if the call fails.
|
|
2237
|
+
*
|
|
2238
|
+
* @example
|
|
2239
|
+
* Delete contact resource failed.
|
|
2240
|
+
*/
|
|
2220
2241
|
msg?: string;
|
|
2242
|
+
/**
|
|
2243
|
+
* @remarks
|
|
2244
|
+
* An alert contact ID.
|
|
2245
|
+
*
|
|
2246
|
+
* @example
|
|
2247
|
+
* 12345
|
|
2248
|
+
*/
|
|
2221
2249
|
contactId?: string;
|
|
2222
2250
|
static names(): {
|
|
2223
2251
|
[key: string]: string;
|
|
@@ -2244,8 +2272,32 @@ export declare class DeleteAlertContactResponseBody extends $dara.Model {
|
|
|
2244
2272
|
});
|
|
2245
2273
|
}
|
|
2246
2274
|
export declare class DeleteAlertContactGroupResponseBody extends $dara.Model {
|
|
2275
|
+
/**
|
|
2276
|
+
* @remarks
|
|
2277
|
+
* The deletion status.
|
|
2278
|
+
*
|
|
2279
|
+
* * true: The alert contact group was deleted.
|
|
2280
|
+
* * false: The alert contact group failed to be deleted.
|
|
2281
|
+
*
|
|
2282
|
+
* @example
|
|
2283
|
+
* true
|
|
2284
|
+
*/
|
|
2247
2285
|
status?: boolean;
|
|
2286
|
+
/**
|
|
2287
|
+
* @remarks
|
|
2288
|
+
* The error message returned if the call fails.
|
|
2289
|
+
*
|
|
2290
|
+
* @example
|
|
2291
|
+
* Delete contact group resource failed.
|
|
2292
|
+
*/
|
|
2248
2293
|
msg?: string;
|
|
2294
|
+
/**
|
|
2295
|
+
* @remarks
|
|
2296
|
+
* The alert contact group ID.
|
|
2297
|
+
*
|
|
2298
|
+
* @example
|
|
2299
|
+
* 12345
|
|
2300
|
+
*/
|
|
2249
2301
|
contactGroupId?: string;
|
|
2250
2302
|
static names(): {
|
|
2251
2303
|
[key: string]: string;
|
|
@@ -3015,7 +3067,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
3015
3067
|
nodeNameMode?: string;
|
|
3016
3068
|
/**
|
|
3017
3069
|
* @remarks
|
|
3018
|
-
* The
|
|
3070
|
+
* The user-defined script that is executed before nodes are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
|
|
3019
3071
|
*
|
|
3020
3072
|
* @example
|
|
3021
3073
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -4177,7 +4229,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
4177
4229
|
runtimeVersion?: string;
|
|
4178
4230
|
/**
|
|
4179
4231
|
* @remarks
|
|
4180
|
-
* The taints of the nodes in the node pool. Taints can be used together with tolerations to
|
|
4232
|
+
* The taints of the nodes in the node pool. 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/).
|
|
4181
4233
|
*/
|
|
4182
4234
|
taints?: Taint[];
|
|
4183
4235
|
/**
|
|
@@ -4399,7 +4451,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
4399
4451
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig extends $dara.Model {
|
|
4400
4452
|
/**
|
|
4401
4453
|
* @remarks
|
|
4402
|
-
* The
|
|
4454
|
+
* The parameter settings of the kubelet.
|
|
4403
4455
|
*/
|
|
4404
4456
|
kubeletConfiguration?: KubeletConfig;
|
|
4405
4457
|
static names(): {
|
|
@@ -4573,9 +4625,12 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
4573
4625
|
autoRenew?: boolean;
|
|
4574
4626
|
/**
|
|
4575
4627
|
* @remarks
|
|
4576
|
-
* The auto-renewal
|
|
4628
|
+
* The auto-renewal period. Valid values:
|
|
4577
4629
|
*
|
|
4578
|
-
*
|
|
4630
|
+
* * Valid values when PeriodUnit is set to Week: 1, 2, and 3
|
|
4631
|
+
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
|
|
4632
|
+
*
|
|
4633
|
+
* Default value: 1.
|
|
4579
4634
|
*
|
|
4580
4635
|
* @example
|
|
4581
4636
|
* 0
|
|
@@ -4604,7 +4659,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
4604
4659
|
compensateWithOnDemand?: boolean;
|
|
4605
4660
|
/**
|
|
4606
4661
|
* @remarks
|
|
4607
|
-
* The configurations of the data disks that are mounted to the nodes in the node pool. The configurations include the disk
|
|
4662
|
+
* The configurations of the data disks that are mounted to the nodes in the node pool. The configurations include the disk category and disk size.
|
|
4608
4663
|
*/
|
|
4609
4664
|
dataDisks?: DataDisk[];
|
|
4610
4665
|
/**
|
|
@@ -4898,7 +4953,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
4898
4953
|
systemDiskBurstingEnabled?: boolean;
|
|
4899
4954
|
/**
|
|
4900
4955
|
* @remarks
|
|
4901
|
-
* The
|
|
4956
|
+
* The categories of system disks. The system creates system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable. Valid values: cloud (basic disk), cloud_efficiency (ultra disk). cloud_ssd (standard SSD), cloud_essd (Enterprise SSD).
|
|
4902
4957
|
*/
|
|
4903
4958
|
systemDiskCategories?: string[];
|
|
4904
4959
|
/**
|
|
@@ -4914,7 +4969,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
4914
4969
|
systemDiskCategory?: string;
|
|
4915
4970
|
/**
|
|
4916
4971
|
* @remarks
|
|
4917
|
-
* The encryption algorithm that is used to encrypt the system disk.
|
|
4972
|
+
* The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
|
|
4918
4973
|
*
|
|
4919
4974
|
* @example
|
|
4920
4975
|
* aes-256
|
|
@@ -4969,7 +5024,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
4969
5024
|
* @remarks
|
|
4970
5025
|
* The labels that you want to add only to Elastic Compute Service (ECS) instances.
|
|
4971
5026
|
*
|
|
4972
|
-
* The
|
|
5027
|
+
* The key must be unique and cannot exceed 128 characters in length. The key and value must not start with aliyun or acs: or contain https:// or http://.
|
|
4973
5028
|
*/
|
|
4974
5029
|
tags?: Tag[];
|
|
4975
5030
|
/**
|
|
@@ -5118,7 +5173,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $dara
|
|
|
5118
5173
|
interconnectMode?: string;
|
|
5119
5174
|
/**
|
|
5120
5175
|
* @remarks
|
|
5121
|
-
* The configurations of the cluster.
|
|
5176
|
+
* The configurations of the cluster in which the node pool is deployed.
|
|
5122
5177
|
*/
|
|
5123
5178
|
kubernetesConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig;
|
|
5124
5179
|
/**
|
|
@@ -5400,8 +5455,29 @@ export declare class DescribeClusterNodesResponseBodyPage extends $dara.Model {
|
|
|
5400
5455
|
});
|
|
5401
5456
|
}
|
|
5402
5457
|
export declare class DescribeClusterResourcesResponseBodyDependencies extends $dara.Model {
|
|
5458
|
+
/**
|
|
5459
|
+
* @remarks
|
|
5460
|
+
* The ID of the cluster to which the dependent resource is related.
|
|
5461
|
+
*
|
|
5462
|
+
* @example
|
|
5463
|
+
* cc5ee03f63e43425cb6f71f1a1756****
|
|
5464
|
+
*/
|
|
5403
5465
|
clusterId?: string;
|
|
5466
|
+
/**
|
|
5467
|
+
* @remarks
|
|
5468
|
+
* The dependent resource type.
|
|
5469
|
+
*
|
|
5470
|
+
* @example
|
|
5471
|
+
* ALIYUN::VPC::NatGateway
|
|
5472
|
+
*/
|
|
5404
5473
|
resourceType?: string;
|
|
5474
|
+
/**
|
|
5475
|
+
* @remarks
|
|
5476
|
+
* The dependent resource ID.
|
|
5477
|
+
*
|
|
5478
|
+
* @example
|
|
5479
|
+
* ngw-wz9sphwk42sdtjixo****
|
|
5480
|
+
*/
|
|
5405
5481
|
instanceId?: string;
|
|
5406
5482
|
static names(): {
|
|
5407
5483
|
[key: string]: string;
|
|
@@ -5564,7 +5640,7 @@ export declare class DescribeClusterResourcesResponseBody extends $dara.Model {
|
|
|
5564
5640
|
deleteBehavior?: DescribeClusterResourcesResponseBodyDeleteBehavior;
|
|
5565
5641
|
/**
|
|
5566
5642
|
* @remarks
|
|
5567
|
-
* The resource creator. Valid values:
|
|
5643
|
+
* The type of the resource creator. Valid values:
|
|
5568
5644
|
*
|
|
5569
5645
|
* * user: The resource is created by the user.
|
|
5570
5646
|
* * system: The resource is created by the ACK management system.
|
|
@@ -5968,7 +6044,7 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $dara
|
|
|
5968
6044
|
nextVersion?: string;
|
|
5969
6045
|
/**
|
|
5970
6046
|
* @remarks
|
|
5971
|
-
* The subtype of the
|
|
6047
|
+
* The subtype of the clusters. Valid values:
|
|
5972
6048
|
*
|
|
5973
6049
|
* * Default: ACK managed clusters. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
5974
6050
|
* * Edge: ACK Edge clusters. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
@@ -6057,7 +6133,7 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $dara
|
|
|
6057
6133
|
state?: string;
|
|
6058
6134
|
/**
|
|
6059
6135
|
* @remarks
|
|
6060
|
-
* The list of tags.
|
|
6136
|
+
* The list of cluster tags.
|
|
6061
6137
|
*/
|
|
6062
6138
|
tags?: Tag[];
|
|
6063
6139
|
/**
|
|
@@ -6086,7 +6162,7 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $dara
|
|
|
6086
6162
|
vpcId?: string;
|
|
6087
6163
|
/**
|
|
6088
6164
|
* @remarks
|
|
6089
|
-
* The vSwitches
|
|
6165
|
+
* The list of vSwitches on the control plane of the cluster.
|
|
6090
6166
|
*/
|
|
6091
6167
|
vswitchIds?: string[];
|
|
6092
6168
|
static names(): {
|
|
@@ -6440,12 +6516,14 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $dara.Model
|
|
|
6440
6516
|
* * `initial`: The cluster is being created.
|
|
6441
6517
|
* * `failed`: The cluster failed to be created.
|
|
6442
6518
|
* * `running`: The cluster is running.
|
|
6443
|
-
* * `
|
|
6444
|
-
* * `
|
|
6445
|
-
* * `
|
|
6446
|
-
* * `
|
|
6519
|
+
* * `upgrading`: The cluster is undergoing an upgrade.
|
|
6520
|
+
* * `updating`: Cluster specification changes are being applied.
|
|
6521
|
+
* * `removing`: Nodes are being removed from the node pool.
|
|
6522
|
+
* * `draining`: Node draining is in progress.
|
|
6523
|
+
* * `scaling`: Auto-scaling operation is in progress for the cluster.
|
|
6524
|
+
* * `stopped`: The cluster has stopped running.
|
|
6447
6525
|
* * `deleting`: The cluster is being deleted.
|
|
6448
|
-
* * `deleted`: The cluster
|
|
6526
|
+
* * `deleted`: The cluster has been deleted.
|
|
6449
6527
|
* * `delete_failed`: The cluster failed to be deleted.
|
|
6450
6528
|
*
|
|
6451
6529
|
* @example
|
|
@@ -7702,7 +7780,7 @@ export declare class DescribePolicyInstancesResponseBody extends $dara.Model {
|
|
|
7702
7780
|
policyName?: string;
|
|
7703
7781
|
/**
|
|
7704
7782
|
* @remarks
|
|
7705
|
-
* The type of policy.
|
|
7783
|
+
* The type of the policy.
|
|
7706
7784
|
*
|
|
7707
7785
|
* @example
|
|
7708
7786
|
* k8s-general
|
|
@@ -7757,7 +7835,7 @@ export declare class DescribePolicyInstancesResponseBody extends $dara.Model {
|
|
|
7757
7835
|
policyAction?: string;
|
|
7758
7836
|
/**
|
|
7759
7837
|
* @remarks
|
|
7760
|
-
*
|
|
7838
|
+
* The creation time of the instance. This parameter is deprecated.
|
|
7761
7839
|
*
|
|
7762
7840
|
* @example
|
|
7763
7841
|
* 2024-10-29T18:09:12+08:00
|
|
@@ -7767,7 +7845,7 @@ export declare class DescribePolicyInstancesResponseBody extends $dara.Model {
|
|
|
7767
7845
|
created?: string;
|
|
7768
7846
|
/**
|
|
7769
7847
|
* @remarks
|
|
7770
|
-
*
|
|
7848
|
+
* The update time of the instance. This parameter is deprecated.
|
|
7771
7849
|
*
|
|
7772
7850
|
* @example
|
|
7773
7851
|
* 2024-10-29T18:09:12+08:00
|
|
@@ -7777,7 +7855,7 @@ export declare class DescribePolicyInstancesResponseBody extends $dara.Model {
|
|
|
7777
7855
|
updated?: string;
|
|
7778
7856
|
/**
|
|
7779
7857
|
* @remarks
|
|
7780
|
-
*
|
|
7858
|
+
* The ID of the resource. This parameter is deprecated.
|
|
7781
7859
|
*
|
|
7782
7860
|
* @example
|
|
7783
7861
|
* 123456***
|
|
@@ -7787,7 +7865,7 @@ export declare class DescribePolicyInstancesResponseBody extends $dara.Model {
|
|
|
7787
7865
|
resourceId?: string;
|
|
7788
7866
|
/**
|
|
7789
7867
|
* @remarks
|
|
7790
|
-
*
|
|
7868
|
+
* The number of violations processed in the cluster. This parameter is deprecated.
|
|
7791
7869
|
*
|
|
7792
7870
|
* @example
|
|
7793
7871
|
* 0
|
|
@@ -7797,7 +7875,7 @@ export declare class DescribePolicyInstancesResponseBody extends $dara.Model {
|
|
|
7797
7875
|
totalViolations?: number;
|
|
7798
7876
|
/**
|
|
7799
7877
|
* @remarks
|
|
7800
|
-
*
|
|
7878
|
+
* The status of the deletion. This parameter is deprecated.
|
|
7801
7879
|
*
|
|
7802
7880
|
* @example
|
|
7803
7881
|
* 0
|
|
@@ -8852,14 +8930,20 @@ export declare class GrantPermissionsRequestBody extends $dara.Model {
|
|
|
8852
8930
|
namespace?: string;
|
|
8853
8931
|
/**
|
|
8854
8932
|
* @remarks
|
|
8855
|
-
* The predefined role. Valid values:
|
|
8933
|
+
* The predefined role name. Valid values:
|
|
8856
8934
|
*
|
|
8857
8935
|
* * `admin`: administrator
|
|
8936
|
+
* * `admin-view`: read-only administrator
|
|
8858
8937
|
* * `ops`: O\\&M engineer
|
|
8859
8938
|
* * `dev`: developer
|
|
8860
8939
|
* * `restricted`: restricted user
|
|
8861
8940
|
* * Custom role
|
|
8862
8941
|
*
|
|
8942
|
+
* Note:
|
|
8943
|
+
*
|
|
8944
|
+
* * You cannot grant namespace-level permissions to the `admin`, `admin-view`, and `ops` roles.
|
|
8945
|
+
* * You cannot grant all cluster-level permissions to the `admin-view` role.
|
|
8946
|
+
*
|
|
8863
8947
|
* This parameter is required.
|
|
8864
8948
|
*
|
|
8865
8949
|
* @example
|
|
@@ -8871,7 +8955,7 @@ export declare class GrantPermissionsRequestBody extends $dara.Model {
|
|
|
8871
8955
|
* The authorization type. Valid values:
|
|
8872
8956
|
*
|
|
8873
8957
|
* * `cluster`: authorizes the RAM user or RAM role to manage the specified clusters.
|
|
8874
|
-
* * `namespace`: authorizes the RAM user or RAM role to manage the specified
|
|
8958
|
+
* * `namespace`: authorizes the RAM user or RAM role to manage the specified namespaces.
|
|
8875
8959
|
* * `all-clusters`: authorizes the RAM user or RAM role to manage all clusters.
|
|
8876
8960
|
*
|
|
8877
8961
|
* This parameter is required.
|
|
@@ -9532,12 +9616,12 @@ export declare class ModifyClusterRequestApiServerCustomCertSans extends $dara.M
|
|
|
9532
9616
|
export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
9533
9617
|
/**
|
|
9534
9618
|
* @remarks
|
|
9535
|
-
* Specifies whether to enable auto-renewal for
|
|
9619
|
+
* Specifies whether to enable auto-renewal for control plane nodes. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
9536
9620
|
*
|
|
9537
9621
|
* * `true`: enables auto-renewal.
|
|
9538
9622
|
* * `false`: disables auto-renewal.
|
|
9539
9623
|
*
|
|
9540
|
-
* Default value: `false
|
|
9624
|
+
* Default value: `false`
|
|
9541
9625
|
*
|
|
9542
9626
|
* @example
|
|
9543
9627
|
* true
|
|
@@ -9545,7 +9629,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
9545
9629
|
autoRenew?: boolean;
|
|
9546
9630
|
/**
|
|
9547
9631
|
* @remarks
|
|
9548
|
-
* The auto-renewal period of
|
|
9632
|
+
* The auto-renewal period of control plane nodes. Valid values: 1, 2, 3, 6, and 12.
|
|
9549
9633
|
*
|
|
9550
9634
|
* Default value: 1.
|
|
9551
9635
|
*
|
|
@@ -9555,7 +9639,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
9555
9639
|
autoRenewPeriod?: number;
|
|
9556
9640
|
/**
|
|
9557
9641
|
* @remarks
|
|
9558
|
-
* The billing method of
|
|
9642
|
+
* The billing method of control plane nodes. Valid values:
|
|
9559
9643
|
*
|
|
9560
9644
|
* * `PrePaid`: subscription.
|
|
9561
9645
|
* * `PostPaid`: pay-as-you-go.
|
|
@@ -9619,7 +9703,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
9619
9703
|
imageType?: string;
|
|
9620
9704
|
/**
|
|
9621
9705
|
* @remarks
|
|
9622
|
-
* The instance
|
|
9706
|
+
* The type of instance. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
9623
9707
|
*/
|
|
9624
9708
|
instanceTypes?: string[];
|
|
9625
9709
|
/**
|
|
@@ -9658,9 +9742,9 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
9658
9742
|
period?: number;
|
|
9659
9743
|
/**
|
|
9660
9744
|
* @remarks
|
|
9661
|
-
* The billing cycle of
|
|
9745
|
+
* The billing cycle of control plane nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
9662
9746
|
*
|
|
9663
|
-
*
|
|
9747
|
+
* Set the value to `Month`.
|
|
9664
9748
|
*
|
|
9665
9749
|
* @example
|
|
9666
9750
|
* Month
|
|
@@ -9685,7 +9769,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
9685
9769
|
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
9686
9770
|
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
9687
9771
|
*
|
|
9688
|
-
* Default value: `false
|
|
9772
|
+
* Default value: `false`
|
|
9689
9773
|
*
|
|
9690
9774
|
* @example
|
|
9691
9775
|
* true
|
|
@@ -9729,12 +9813,12 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
9729
9813
|
systemDiskBurstingEnabled?: boolean;
|
|
9730
9814
|
/**
|
|
9731
9815
|
* @remarks
|
|
9732
|
-
* The
|
|
9816
|
+
* The category of the system disk for nodes. Valid values:
|
|
9733
9817
|
*
|
|
9734
9818
|
* * `cloud`: basic disk.
|
|
9735
9819
|
* * `cloud_efficiency`: ultra disk.
|
|
9736
9820
|
* * `cloud_ssd`: standard SSD.
|
|
9737
|
-
* * `cloud_essd`:
|
|
9821
|
+
* * `cloud_essd`: Enterprise ESSD (ESSD).
|
|
9738
9822
|
* * `cloud_auto`: ESSD AutoPL disk.
|
|
9739
9823
|
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
9740
9824
|
*
|
|
@@ -9752,7 +9836,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
9752
9836
|
systemDiskPerformanceLevel?: string;
|
|
9753
9837
|
/**
|
|
9754
9838
|
* @remarks
|
|
9755
|
-
* The preset read/write input/output operations per second (IOPS) of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS} Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
9839
|
+
* The preset read/write input/output operations per second (IOPS) of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
9756
9840
|
*
|
|
9757
9841
|
* This parameter is effective only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
9758
9842
|
*
|
|
@@ -9790,7 +9874,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
9790
9874
|
export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $dara.Model {
|
|
9791
9875
|
/**
|
|
9792
9876
|
* @remarks
|
|
9793
|
-
* The frequency of
|
|
9877
|
+
* The frequency of auto cluster update. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
9794
9878
|
*
|
|
9795
9879
|
* Valid values:
|
|
9796
9880
|
*
|
|
@@ -9922,7 +10006,7 @@ export declare class ModifyClusterConfigurationRequestCustomizeConfig extends $d
|
|
|
9922
10006
|
export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
9923
10007
|
/**
|
|
9924
10008
|
* @remarks
|
|
9925
|
-
* The maximum bandwidth of the
|
|
10009
|
+
* The maximum bandwidth of the EIP.
|
|
9926
10010
|
*
|
|
9927
10011
|
* @example
|
|
9928
10012
|
* 5
|
|
@@ -9934,7 +10018,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
9934
10018
|
* @remarks
|
|
9935
10019
|
* The billing method of the EIP. Valid values:
|
|
9936
10020
|
*
|
|
9937
|
-
* * `PayByBandwidth`: pay-by-bandwidth
|
|
10021
|
+
* * `PayByBandwidth`: pay-by-bandwidth
|
|
9938
10022
|
* * `PayByTraffic`: pay-by-data-transfer
|
|
9939
10023
|
*
|
|
9940
10024
|
* Default value: `PayByBandwidth`.
|
|
@@ -9952,7 +10036,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
9952
10036
|
* * `true`: enables auto scaling for the node pool.
|
|
9953
10037
|
* * `false`: disables auto scaling for the node pool. If you set this parameter to false, other parameters in `auto_scaling` do not take effect.
|
|
9954
10038
|
*
|
|
9955
|
-
* Default value: `false
|
|
10039
|
+
* Default value: `false`
|
|
9956
10040
|
*
|
|
9957
10041
|
* @example
|
|
9958
10042
|
* true
|
|
@@ -9975,7 +10059,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
9975
10059
|
isBondEip?: boolean;
|
|
9976
10060
|
/**
|
|
9977
10061
|
* @remarks
|
|
9978
|
-
* The maximum number of
|
|
10062
|
+
* The maximum number of instances.
|
|
9979
10063
|
*
|
|
9980
10064
|
* @example
|
|
9981
10065
|
* 10
|
|
@@ -9983,7 +10067,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
9983
10067
|
maxInstances?: number;
|
|
9984
10068
|
/**
|
|
9985
10069
|
* @remarks
|
|
9986
|
-
* The minimum number of
|
|
10070
|
+
* The minimum number of instances.
|
|
9987
10071
|
*
|
|
9988
10072
|
* @example
|
|
9989
10073
|
* 2
|
|
@@ -10025,7 +10109,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
10025
10109
|
* * `true`: installs the CloudMonitor agent on ECS nodes.
|
|
10026
10110
|
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
10027
10111
|
*
|
|
10028
|
-
* Default value: `false
|
|
10112
|
+
* Default value: `false`
|
|
10029
10113
|
*
|
|
10030
10114
|
* @example
|
|
10031
10115
|
* true
|
|
@@ -10033,10 +10117,10 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
10033
10117
|
cmsEnabled?: boolean;
|
|
10034
10118
|
/**
|
|
10035
10119
|
* @remarks
|
|
10036
|
-
* The CPU management policy of nodes. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
10120
|
+
* The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
10037
10121
|
*
|
|
10038
|
-
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity
|
|
10039
|
-
* * `none`: specifies that the default CPU affinity is used
|
|
10122
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity
|
|
10123
|
+
* * `none`: specifies that the default CPU affinity is used
|
|
10040
10124
|
*
|
|
10041
10125
|
* Default value: `none`.
|
|
10042
10126
|
*
|
|
@@ -10078,7 +10162,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
10078
10162
|
runtimeVersion?: string;
|
|
10079
10163
|
/**
|
|
10080
10164
|
* @remarks
|
|
10081
|
-
* The
|
|
10165
|
+
* The configurations of node taints.
|
|
10082
10166
|
*/
|
|
10083
10167
|
taints?: Taint[];
|
|
10084
10168
|
/**
|
|
@@ -10147,8 +10231,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
10147
10231
|
* @remarks
|
|
10148
10232
|
* Specifies whether ACK is allowed to automatically update the operating system. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
10149
10233
|
*
|
|
10150
|
-
* * `true`:
|
|
10151
|
-
* * `false`:
|
|
10234
|
+
* * `true`: yes.
|
|
10235
|
+
* * `false`: no.
|
|
10152
10236
|
*
|
|
10153
10237
|
* Default value: `false`.
|
|
10154
10238
|
*/
|
|
@@ -10157,8 +10241,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
10157
10241
|
* @remarks
|
|
10158
10242
|
* Specifies whether ACK is allowed to automatically update the runtime. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
10159
10243
|
*
|
|
10160
|
-
* * `true`:
|
|
10161
|
-
* * `false`:
|
|
10244
|
+
* * `true`: yes.
|
|
10245
|
+
* * `false`: no.
|
|
10162
10246
|
*
|
|
10163
10247
|
* Default value: `false`.
|
|
10164
10248
|
*/
|
|
@@ -10270,7 +10354,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
10270
10354
|
* * `true`: enables auto repair.
|
|
10271
10355
|
* * `false`: disables auto repair.
|
|
10272
10356
|
*
|
|
10273
|
-
* Default value: `true
|
|
10357
|
+
* Default value: `true`.
|
|
10274
10358
|
*
|
|
10275
10359
|
* @example
|
|
10276
10360
|
* true
|
|
@@ -10283,7 +10367,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
10283
10367
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
10284
10368
|
/**
|
|
10285
10369
|
* @remarks
|
|
10286
|
-
*
|
|
10370
|
+
* Indicates whether auto update is enabled. Valid values:
|
|
10287
10371
|
*
|
|
10288
10372
|
* * `true`: enables auto update.
|
|
10289
10373
|
* * `false`: disables auto update.
|
|
@@ -10320,7 +10404,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
10320
10404
|
* * `true`: enables the managed node pool feature.
|
|
10321
10405
|
* * `false`: disables the managed node pool feature. Other parameters in this section take effect only when `enable=true` is specified.
|
|
10322
10406
|
*
|
|
10323
|
-
* Default value: `false
|
|
10407
|
+
* Default value: `false`
|
|
10324
10408
|
*
|
|
10325
10409
|
* @example
|
|
10326
10410
|
* true
|
|
@@ -10347,7 +10431,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
10347
10431
|
export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
10348
10432
|
/**
|
|
10349
10433
|
* @remarks
|
|
10350
|
-
* The name of
|
|
10434
|
+
* The name of a node pool.
|
|
10351
10435
|
*
|
|
10352
10436
|
* The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
|
|
10353
10437
|
*
|
|
@@ -10357,7 +10441,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
10357
10441
|
name?: string;
|
|
10358
10442
|
/**
|
|
10359
10443
|
* @remarks
|
|
10360
|
-
* The resource group ID.
|
|
10444
|
+
* The resource group ID to which the instance belongs.
|
|
10361
10445
|
*
|
|
10362
10446
|
* @example
|
|
10363
10447
|
* rg-acfmyvw3wjm****
|
|
@@ -10387,8 +10471,8 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
10387
10471
|
* @remarks
|
|
10388
10472
|
* 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:
|
|
10389
10473
|
*
|
|
10390
|
-
* * `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.
|
|
10391
|
-
* * `Target`: private
|
|
10474
|
+
* * `Open`: uses an 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.
|
|
10475
|
+
* * `Target`: uses a specified private 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.
|
|
10392
10476
|
* * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
|
|
10393
10477
|
*
|
|
10394
10478
|
* @example
|
|
@@ -10441,10 +10525,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
10441
10525
|
* @remarks
|
|
10442
10526
|
* Specifies whether to enable auto-renewal for the nodes in the node pool. This parameter takes effect only when you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
10443
10527
|
*
|
|
10444
|
-
* * `true`: enables auto-renewal
|
|
10528
|
+
* * `true`: enables auto-renewal
|
|
10445
10529
|
* * `false`: disables auto-renewal.
|
|
10446
10530
|
*
|
|
10447
|
-
* Default value: `false
|
|
10531
|
+
* Default value: `false`
|
|
10448
10532
|
*
|
|
10449
10533
|
* @example
|
|
10450
10534
|
* true
|
|
@@ -10468,7 +10552,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
10468
10552
|
* 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:
|
|
10469
10553
|
*
|
|
10470
10554
|
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
10471
|
-
* * `false
|
|
10555
|
+
* * `false`
|
|
10472
10556
|
*
|
|
10473
10557
|
* @example
|
|
10474
10558
|
* true
|
|
@@ -10497,7 +10581,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
10497
10581
|
imageId?: string;
|
|
10498
10582
|
/**
|
|
10499
10583
|
* @remarks
|
|
10500
|
-
* The type of
|
|
10584
|
+
* The type of operating system distribution that you want to use. We recommend that you use this parameter to specify the node operating system. Valid values:
|
|
10501
10585
|
*
|
|
10502
10586
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
10503
10587
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
@@ -10508,6 +10592,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
10508
10592
|
* * `Windows`: Windows.
|
|
10509
10593
|
* * `WindowsCore`: Windows Core.
|
|
10510
10594
|
* * `ContainerOS`: ContainerOS.
|
|
10595
|
+
* * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized image.
|
|
10511
10596
|
*
|
|
10512
10597
|
* @example
|
|
10513
10598
|
* AliyunLinux
|
|
@@ -10517,10 +10602,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
10517
10602
|
* @remarks
|
|
10518
10603
|
* The billing method of nodes in the node pool. Valid values:
|
|
10519
10604
|
*
|
|
10520
|
-
* * `PrePaid`: subscription
|
|
10521
|
-
* * `PostPaid`: pay-as-you-go
|
|
10605
|
+
* * `PrePaid`: subscription
|
|
10606
|
+
* * `PostPaid`: pay-as-you-go
|
|
10522
10607
|
*
|
|
10523
|
-
* Default value: `PostPaid
|
|
10608
|
+
* Default value: `PostPaid`
|
|
10524
10609
|
*
|
|
10525
10610
|
* @example
|
|
10526
10611
|
* PostPaid
|
|
@@ -10540,7 +10625,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
10540
10625
|
* @remarks
|
|
10541
10626
|
* The billing method of the public IP address. Valid values:
|
|
10542
10627
|
*
|
|
10543
|
-
* * `PayByBandwidth`: pay-by-bandwidth
|
|
10628
|
+
* * `PayByBandwidth`: pay-by-bandwidth
|
|
10544
10629
|
* * `PayByTraffic`: pay-by-data-transfer
|
|
10545
10630
|
*
|
|
10546
10631
|
* @example
|
|
@@ -10611,7 +10696,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
10611
10696
|
* @remarks
|
|
10612
10697
|
* The subscription duration of the nodes in the node pool. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`.
|
|
10613
10698
|
*
|
|
10614
|
-
*
|
|
10699
|
+
* Valid values if `period_unit` is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
10615
10700
|
*
|
|
10616
10701
|
* @example
|
|
10617
10702
|
* 1
|
|
@@ -10675,7 +10760,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
10675
10760
|
spotInstancePools?: number;
|
|
10676
10761
|
/**
|
|
10677
10762
|
* @remarks
|
|
10678
|
-
*
|
|
10763
|
+
* Indicates whether preemptible instances can be supplemented. If the supplementation of preemptible instances is enabled, when the scaling group receives a system message that a preemptible instance is to be reclaimed, the scaling group attempts to create a new instance to replace this instance. Valid values:
|
|
10679
10764
|
*
|
|
10680
10765
|
* * `true`: supplements preemptible instances.
|
|
10681
10766
|
* * `false`: does not supplement preemptible instances.
|
|
@@ -10686,7 +10771,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
10686
10771
|
spotInstanceRemedy?: boolean;
|
|
10687
10772
|
/**
|
|
10688
10773
|
* @remarks
|
|
10689
|
-
* The
|
|
10774
|
+
* The bid configurations of preemptible instances.
|
|
10690
10775
|
*/
|
|
10691
10776
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
10692
10777
|
/**
|
|
@@ -10713,17 +10798,17 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
10713
10798
|
systemDiskBurstingEnabled?: boolean;
|
|
10714
10799
|
/**
|
|
10715
10800
|
* @remarks
|
|
10716
|
-
* 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
|
|
10801
|
+
* 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).
|
|
10717
10802
|
*/
|
|
10718
10803
|
systemDiskCategories?: string[];
|
|
10719
10804
|
/**
|
|
10720
10805
|
* @remarks
|
|
10721
10806
|
* The type of system disk. Valid values:
|
|
10722
10807
|
*
|
|
10723
|
-
* * `cloud_efficiency`: ultra disk
|
|
10724
|
-
* * `cloud_ssd`: standard SSD
|
|
10808
|
+
* * `cloud_efficiency`: ultra disk
|
|
10809
|
+
* * `cloud_ssd`: standard SSD
|
|
10725
10810
|
*
|
|
10726
|
-
* Default value: `cloud_ssd
|
|
10811
|
+
* Default value: `cloud_ssd`
|
|
10727
10812
|
*
|
|
10728
10813
|
* @example
|
|
10729
10814
|
* cloud_efficiency
|
|
@@ -10739,7 +10824,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
10739
10824
|
systemDiskEncryptAlgorithm?: string;
|
|
10740
10825
|
/**
|
|
10741
10826
|
* @remarks
|
|
10742
|
-
*
|
|
10827
|
+
* Indicates whether the system disk is encrypted. Valid values: true false: does not encrypt the system disk.
|
|
10743
10828
|
*
|
|
10744
10829
|
* @example
|
|
10745
10830
|
* false
|
|
@@ -10816,7 +10901,7 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
10816
10901
|
* * `true`: enables confidential computing for the cluster.
|
|
10817
10902
|
* * `false`: disables confidential computing for the cluster.
|
|
10818
10903
|
*
|
|
10819
|
-
* Default value: `false
|
|
10904
|
+
* Default value: `false`
|
|
10820
10905
|
*
|
|
10821
10906
|
* @example
|
|
10822
10907
|
* false
|
|
@@ -10836,7 +10921,7 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
10836
10921
|
export declare class ModifyNodePoolNodeConfigRequestOsConfig extends $dara.Model {
|
|
10837
10922
|
/**
|
|
10838
10923
|
* @remarks
|
|
10839
|
-
*
|
|
10924
|
+
* Configuration for sysctl kernel parameters.
|
|
10840
10925
|
*/
|
|
10841
10926
|
sysctl?: {
|
|
10842
10927
|
[key: string]: any;
|
|
@@ -10875,12 +10960,12 @@ export declare class ModifyNodePoolNodeConfigRequestRollingPolicy extends $dara.
|
|
|
10875
10960
|
export declare class RepairClusterNodePoolRequestOperations extends $dara.Model {
|
|
10876
10961
|
/**
|
|
10877
10962
|
* @remarks
|
|
10878
|
-
*
|
|
10963
|
+
* The parameters of a repair operation.
|
|
10879
10964
|
*/
|
|
10880
10965
|
args?: string[];
|
|
10881
10966
|
/**
|
|
10882
10967
|
* @remarks
|
|
10883
|
-
*
|
|
10968
|
+
* The ID of a repair operation.
|
|
10884
10969
|
*
|
|
10885
10970
|
* @example
|
|
10886
10971
|
* remove.containerdContainer
|
|
@@ -11059,14 +11144,20 @@ export declare class UpdateUserPermissionsRequestBody extends $dara.Model {
|
|
|
11059
11144
|
namespace?: string;
|
|
11060
11145
|
/**
|
|
11061
11146
|
* @remarks
|
|
11062
|
-
* The predefined role. Valid values:
|
|
11147
|
+
* The predefined role name. Valid values:
|
|
11063
11148
|
*
|
|
11064
11149
|
* * `admin`: administrator
|
|
11150
|
+
* * `admin-view`: read-only administrator
|
|
11065
11151
|
* * `ops`: O\\&M engineer
|
|
11066
11152
|
* * `dev`: developer
|
|
11067
11153
|
* * `restricted`: restricted user
|
|
11068
11154
|
* * Custom role
|
|
11069
11155
|
*
|
|
11156
|
+
* Note:
|
|
11157
|
+
*
|
|
11158
|
+
* * You cannot grant **namespace-level** permissions to the `admin`, `admin-view`, and `ops` roles.
|
|
11159
|
+
* * You cannot grant **all cluster-level** permissions to the `admin-view` role.
|
|
11160
|
+
*
|
|
11070
11161
|
* @example
|
|
11071
11162
|
* ops
|
|
11072
11163
|
*/
|
|
@@ -11076,7 +11167,7 @@ export declare class UpdateUserPermissionsRequestBody extends $dara.Model {
|
|
|
11076
11167
|
* The authorization type. Valid values:
|
|
11077
11168
|
*
|
|
11078
11169
|
* * `cluster`: authorizes the RAM user or RAM role to manage the specified clusters.
|
|
11079
|
-
* * `namespace`: authorizes the RAM user or RAM role to manage the specified
|
|
11170
|
+
* * `namespace`: authorizes the RAM user or RAM role to manage the specified namespaces.
|
|
11080
11171
|
* * `all-clusters`: authorizes the RAM user or RAM role to manage all clusters.
|
|
11081
11172
|
*
|
|
11082
11173
|
* @example
|
|
@@ -11097,7 +11188,7 @@ export declare class UpdateUserPermissionsRequestBody extends $dara.Model {
|
|
|
11097
11188
|
export declare class UpgradeClusterRequestRollingPolicy extends $dara.Model {
|
|
11098
11189
|
/**
|
|
11099
11190
|
* @remarks
|
|
11100
|
-
* The maximum
|
|
11191
|
+
* The maximum number of nodes concurrently upgraded per batch.
|
|
11101
11192
|
*
|
|
11102
11193
|
* @example
|
|
11103
11194
|
* 3
|
|
@@ -11245,6 +11336,20 @@ export declare class Addon extends $dara.Model {
|
|
|
11245
11336
|
[key: string]: any;
|
|
11246
11337
|
});
|
|
11247
11338
|
}
|
|
11339
|
+
export declare class ContainerdConfig extends $dara.Model {
|
|
11340
|
+
insecureRegistries?: string[];
|
|
11341
|
+
registryMirrors?: string[];
|
|
11342
|
+
static names(): {
|
|
11343
|
+
[key: string]: string;
|
|
11344
|
+
};
|
|
11345
|
+
static types(): {
|
|
11346
|
+
[key: string]: any;
|
|
11347
|
+
};
|
|
11348
|
+
validate(): void;
|
|
11349
|
+
constructor(map?: {
|
|
11350
|
+
[key: string]: any;
|
|
11351
|
+
});
|
|
11352
|
+
}
|
|
11248
11353
|
export declare class DataDisk extends $dara.Model {
|
|
11249
11354
|
/**
|
|
11250
11355
|
* @example
|
|
@@ -12442,7 +12547,7 @@ export declare class CleanUserPermissionsResponse extends $dara.Model {
|
|
|
12442
12547
|
export declare class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
12443
12548
|
/**
|
|
12444
12549
|
* @remarks
|
|
12445
|
-
* The waiting time before the auto scaling feature performs a scale-in activity. It is an interval between the time when the scale-in threshold is reached and the time when the scale-in activity (
|
|
12550
|
+
* The waiting time before the auto scaling feature performs a scale-in activity. It is an interval between the time when the scale-in threshold is reached and the time when the scale-in activity (reducing the number of pods) starts. Unit: minutes. Default value: 10.
|
|
12446
12551
|
*
|
|
12447
12552
|
* @example
|
|
12448
12553
|
* 10 m
|
|
@@ -12663,19 +12768,19 @@ export declare class CreateAutoscalingConfigResponse extends $dara.Model {
|
|
|
12663
12768
|
export declare class CreateClusterRequest extends $dara.Model {
|
|
12664
12769
|
/**
|
|
12665
12770
|
* @remarks
|
|
12666
|
-
* The ACL rule of the SLB instance associated with the API server if the cluster is a registered cluster.
|
|
12771
|
+
* The network access control list (ACL) rule of the SLB instance associated with the API server if the cluster is a registered cluster.
|
|
12667
12772
|
*/
|
|
12668
12773
|
accessControlList?: string[];
|
|
12669
12774
|
/**
|
|
12670
12775
|
* @remarks
|
|
12671
|
-
* The components that you want to install in the cluster. When you create a cluster, you can
|
|
12776
|
+
* The components that you want to install in the cluster. When you create a cluster, you can configure the `addons` parameter to specify the components that you want to install.
|
|
12672
12777
|
*
|
|
12673
12778
|
* **Network plug-in**: required. The Flannel and Terway plug-ins are supported. Select one of the plug-ins for the cluster.
|
|
12674
12779
|
*
|
|
12675
|
-
* *
|
|
12676
|
-
* * If you want to use the Terway component, specify the value in the [{"
|
|
12780
|
+
* * If you want to use the Terway component, specify the network plug-in in the [{"name":"flannel","config":""}] format.
|
|
12781
|
+
* * If you want to use the Terway component, specify the value network plug-in in the [{"name": "terway-eniip","Config": ""}] format.
|
|
12677
12782
|
*
|
|
12678
|
-
* **Volume plug-in**: optional. Only the `CSI` plug-in is supported.
|
|
12783
|
+
* **Volume plug-in**: optional. Only the `Container Storage Interface (CSI)` plug-in is supported.
|
|
12679
12784
|
*
|
|
12680
12785
|
* Specify the `CSI` plug-in in the following format: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
|
|
12681
12786
|
*
|
|
@@ -12684,23 +12789,23 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12684
12789
|
* * Specify an existing `Simple Log Service project` in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true","sls_project_name":"your_sls_project_name"}"}].
|
|
12685
12790
|
* * To create a `Simple Log Service project`, specify the component in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true"}"}].
|
|
12686
12791
|
*
|
|
12687
|
-
* **Ingress controller
|
|
12792
|
+
* **Ingress controller**: optional. By default, the `nginx-ingress-controller` component is installed in ACK dedicated clusters.
|
|
12688
12793
|
*
|
|
12689
12794
|
* * To install nginx-ingress-controller and enable Internet access, specify the Ingress controller in the following format: [{"name":"nginx-ingress-controller","config":"{"IngressSlbNetworkType":"internet"}"}].
|
|
12690
|
-
* * To disable the automatic installation of nginx-ingress-controller, specify the
|
|
12795
|
+
* * To disable the automatic installation of nginx-ingress-controller, specify the Ingress controller in the following format: [{"name": "nginx-ingress-controller","config": "","disabled": true}].
|
|
12691
12796
|
*
|
|
12692
12797
|
* **Event center**: optional. By default, the event center feature is enabled.
|
|
12693
12798
|
*
|
|
12694
12799
|
* You can use ACK event centers to store and query events and configure alerts. You can use the Logstores that are associated with ACK event centers free of charge within 90 days. For more information, see [Create and use an event center](https://help.aliyun.com/document_detail/150476.html).
|
|
12695
12800
|
*
|
|
12696
|
-
*
|
|
12801
|
+
* To enable the event center feature, specify the event center component in the following format: [{"name":"ack-node-problem-detector","config":"{"sls_project_name":"your_sls_project_name"}"}].
|
|
12697
12802
|
*/
|
|
12698
12803
|
addons?: Addon[];
|
|
12699
12804
|
/**
|
|
12700
12805
|
* @remarks
|
|
12701
|
-
*
|
|
12806
|
+
* Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. The `api-audiences` parameter validates `tokens` and is used by the `API server` to check whether the `tokens` of requests are valid. Separate multiple values with commas (,).``
|
|
12702
12807
|
*
|
|
12703
|
-
* For more information about `
|
|
12808
|
+
* For more information about `service accounts`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
12704
12809
|
*
|
|
12705
12810
|
* @example
|
|
12706
12811
|
* kubernetes.default.svc
|
|
@@ -12708,14 +12813,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12708
12813
|
apiAudiences?: string;
|
|
12709
12814
|
/**
|
|
12710
12815
|
* @remarks
|
|
12711
|
-
* **
|
|
12816
|
+
* [**Deprecated**]
|
|
12712
12817
|
*
|
|
12713
12818
|
* Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
12714
12819
|
*
|
|
12715
12820
|
* * `true`: enables auto-renewal.
|
|
12716
|
-
* * `false`: disables auto-renewal
|
|
12821
|
+
* * `false`: disables auto-renewal.
|
|
12717
12822
|
*
|
|
12718
|
-
* Default value: `false
|
|
12823
|
+
* Default value: `false`.
|
|
12719
12824
|
*
|
|
12720
12825
|
* 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).
|
|
12721
12826
|
*
|
|
@@ -12727,7 +12832,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12727
12832
|
autoRenew?: boolean;
|
|
12728
12833
|
/**
|
|
12729
12834
|
* @remarks
|
|
12730
|
-
* **
|
|
12835
|
+
* [**Deprecated**]
|
|
12731
12836
|
*
|
|
12732
12837
|
* 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.
|
|
12733
12838
|
*
|
|
@@ -12743,16 +12848,18 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12743
12848
|
autoRenewPeriod?: number;
|
|
12744
12849
|
/**
|
|
12745
12850
|
* @remarks
|
|
12746
|
-
*
|
|
12851
|
+
* [**Deprecated**]
|
|
12747
12852
|
*
|
|
12748
|
-
*
|
|
12749
|
-
*
|
|
12853
|
+
* The billing method of the CLB instance that is used by the API server. Default value: PostPaid. Valid values:
|
|
12854
|
+
*
|
|
12855
|
+
* * PostPaid: pay-as-you-go.
|
|
12856
|
+
* * PrePaid: subscription. This billing method is not supported by newly created CLB instances. Existing CLB instances are not affected.
|
|
12750
12857
|
*
|
|
12751
12858
|
* >
|
|
12752
12859
|
*
|
|
12753
12860
|
* * 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).
|
|
12754
12861
|
*
|
|
12755
|
-
* * Starting from December 1, 2024,
|
|
12862
|
+
* * Starting from December 1, 2024, newly created CLB instances no longer support the subscription billing method, and an instance fee will be charged for newly created CLB instances
|
|
12756
12863
|
*
|
|
12757
12864
|
* For more information, see [CLB billing adjustments](https://help.aliyun.com/document_detail/2839797.html).
|
|
12758
12865
|
*
|
|
@@ -12764,7 +12871,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12764
12871
|
chargeType?: string;
|
|
12765
12872
|
/**
|
|
12766
12873
|
* @remarks
|
|
12767
|
-
*
|
|
12874
|
+
* [Deprecated] When you configure the control plane, use the `security_hardening_os` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `security_hardening_os` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
12768
12875
|
*
|
|
12769
12876
|
* @example
|
|
12770
12877
|
* false
|
|
@@ -12774,12 +12881,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12774
12881
|
cisEnabled?: boolean;
|
|
12775
12882
|
/**
|
|
12776
12883
|
* @remarks
|
|
12884
|
+
* [**Deprecated**] When you configure the control plane, use the `cloud_monitor_flags` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `cms_enabled` parameter of the `kubernetes_config` field in the nodepool section instead.
|
|
12885
|
+
*
|
|
12777
12886
|
* Specifies whether to install the CloudMonitor agent. Valid values:
|
|
12778
12887
|
*
|
|
12779
12888
|
* * `true`: installs the CloudMonitor agent.
|
|
12780
12889
|
* * `false`: does not install the CloudMonitor agent.
|
|
12781
12890
|
*
|
|
12782
|
-
* Default value: `false
|
|
12891
|
+
* Default value: `false`.
|
|
12783
12892
|
*
|
|
12784
12893
|
* @example
|
|
12785
12894
|
* true
|
|
@@ -12801,8 +12910,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12801
12910
|
* @remarks
|
|
12802
12911
|
* If you set `cluster_type` to `ManagedKubernetes` and specify `profile`, you can further specify the edition of the cluster. Valid values:
|
|
12803
12912
|
*
|
|
12804
|
-
* * `ack.pro.small`:
|
|
12805
|
-
* * `ack.standard`:
|
|
12913
|
+
* * `ack.pro.small`: Pro Edition.
|
|
12914
|
+
* * `ack.standard`: Basic Edition. If you leave the parameter empty, an ACK Basic cluster is created.
|
|
12806
12915
|
*
|
|
12807
12916
|
* @example
|
|
12808
12917
|
* ack.pro.small
|
|
@@ -12810,9 +12919,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12810
12919
|
clusterSpec?: string;
|
|
12811
12920
|
/**
|
|
12812
12921
|
* @remarks
|
|
12813
|
-
* * `Kubernetes`:
|
|
12814
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic
|
|
12815
|
-
* * `ExternalKubernetes`:
|
|
12922
|
+
* * `Kubernetes`: ACK dedicated cluster.
|
|
12923
|
+
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters (Basic Edition and Pro Edition), ACK Edge clusters (Basic Edition and Pro Edition), and ACK Lingjun clusters (Pro Edition).
|
|
12924
|
+
* * `ExternalKubernetes`: registered cluster.
|
|
12816
12925
|
*
|
|
12817
12926
|
* This parameter is required.
|
|
12818
12927
|
*
|
|
@@ -12839,9 +12948,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12839
12948
|
controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
|
|
12840
12949
|
/**
|
|
12841
12950
|
* @remarks
|
|
12842
|
-
* The control plane
|
|
12951
|
+
* The control plane components for which you want to enable log collection.
|
|
12843
12952
|
*
|
|
12844
|
-
* By default, the
|
|
12953
|
+
* By default, the logs of kube-apiserver, kube-controller-manager, and kube-scheduler are collected.
|
|
12845
12954
|
*/
|
|
12846
12955
|
controlplaneLogComponents?: string[];
|
|
12847
12956
|
/**
|
|
@@ -12862,10 +12971,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12862
12971
|
controlplaneLogTtl?: string;
|
|
12863
12972
|
/**
|
|
12864
12973
|
* @remarks
|
|
12865
|
-
*
|
|
12974
|
+
* [**Deprecated**] When you configure the control plane, use the `cpu_policy` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `cpu_policy` parameter of the `kubernetes_config` field in the `nodepool` section instead.
|
|
12866
12975
|
*
|
|
12867
|
-
*
|
|
12868
|
-
*
|
|
12976
|
+
* 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:
|
|
12977
|
+
*
|
|
12978
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
12979
|
+
* * `none`: specifies that the default CPU affinity is used.
|
|
12869
12980
|
*
|
|
12870
12981
|
* Default value: `none`.
|
|
12871
12982
|
*
|
|
@@ -12877,7 +12988,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12877
12988
|
cpuPolicy?: string;
|
|
12878
12989
|
/**
|
|
12879
12990
|
* @remarks
|
|
12880
|
-
* The custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. Separate multiple IP addresses and domain names
|
|
12991
|
+
* The custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. Separate multiple IP addresses and domain names with commas (,).
|
|
12881
12992
|
*
|
|
12882
12993
|
* @example
|
|
12883
12994
|
* cs.aliyun.com
|
|
@@ -12885,12 +12996,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12885
12996
|
customSan?: string;
|
|
12886
12997
|
/**
|
|
12887
12998
|
* @remarks
|
|
12888
|
-
* Specifies whether to enable cluster deletion protection. If this option
|
|
12999
|
+
* Specifies whether to enable cluster deletion protection. If you enable this option, the cluster cannot be deleted in the console or by calling API operations. Valid values:
|
|
12889
13000
|
*
|
|
12890
|
-
* * `true`:
|
|
12891
|
-
* * `false`:
|
|
13001
|
+
* * `true`: enables cluster deletion protection.
|
|
13002
|
+
* * `false`: disables cluster deletion protection.
|
|
12892
13003
|
*
|
|
12893
|
-
* Default value: `false
|
|
13004
|
+
* Default value: `false`.
|
|
12894
13005
|
*
|
|
12895
13006
|
* @example
|
|
12896
13007
|
* true
|
|
@@ -12898,12 +13009,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12898
13009
|
deletionProtection?: boolean;
|
|
12899
13010
|
/**
|
|
12900
13011
|
* @remarks
|
|
12901
|
-
*
|
|
13012
|
+
* [**Deprecated**] By default, the system does not perform a rollback when the cluster fails to be created. You must manually delete the cluster that fails to be created.
|
|
13013
|
+
*
|
|
13014
|
+
* Specifies whether to perform a rollback when the cluster fails to be created. Valid values:
|
|
12902
13015
|
*
|
|
12903
13016
|
* * `true`: performs a rollback when the cluster fails to be created.
|
|
12904
13017
|
* * `false`: does not perform a rollback when the cluster fails to be created.
|
|
12905
13018
|
*
|
|
12906
|
-
* Default value: `true
|
|
13019
|
+
* Default value: `true`.
|
|
12907
13020
|
*
|
|
12908
13021
|
* @example
|
|
12909
13022
|
* true
|
|
@@ -12913,7 +13026,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12913
13026
|
disableRollback?: boolean;
|
|
12914
13027
|
/**
|
|
12915
13028
|
* @remarks
|
|
12916
|
-
* Specifies whether to enable the
|
|
13029
|
+
* Specifies whether to enable the RAM Roles for Service Accounts (RRSA) feature.
|
|
12917
13030
|
*
|
|
12918
13031
|
* @example
|
|
12919
13032
|
* true
|
|
@@ -12936,7 +13049,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12936
13049
|
* * `true`: enables Internet access for the cluster.
|
|
12937
13050
|
* * `false`: disables Internet access for the cluster. If you set the value to false, the API server cannot be accessed over the Internet.
|
|
12938
13051
|
*
|
|
12939
|
-
* Default value: `false
|
|
13052
|
+
* Default value: `false`.
|
|
12940
13053
|
*
|
|
12941
13054
|
* @example
|
|
12942
13055
|
* true
|
|
@@ -12944,12 +13057,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12944
13057
|
endpointPublicAccess?: boolean;
|
|
12945
13058
|
/**
|
|
12946
13059
|
* @remarks
|
|
13060
|
+
* [**Deprecated**] When you configure a node pool, you cannot add existing nodes to the cluster. If you want to add existing nodes, you must first create a node pool and then call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) operation.
|
|
13061
|
+
*
|
|
12947
13062
|
* Specifies whether to mount a data disk to a node that is created based on an existing ECS instance. Valid values:
|
|
12948
13063
|
*
|
|
12949
13064
|
* * `true`: stores the data of containers and images on a data disk. The existing data stored in the data disk is lost. Back up the existing data first.
|
|
12950
13065
|
* * `false`: does not store the data of containers and images on a data disk.
|
|
12951
13066
|
*
|
|
12952
|
-
* Default value: `false
|
|
13067
|
+
* Default value: `false`.
|
|
12953
13068
|
*
|
|
12954
13069
|
* How data disks are mounted:
|
|
12955
13070
|
*
|
|
@@ -12964,7 +13079,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12964
13079
|
formatDisk?: boolean;
|
|
12965
13080
|
/**
|
|
12966
13081
|
* @remarks
|
|
12967
|
-
*
|
|
13082
|
+
* [**Deprecated**] When you configure the control plane, use the `image_id` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `image_id` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13083
|
+
*
|
|
13084
|
+
* The custom image for nodes. By default, the image provided by ACK is used. You can select a custom image to replace the default image. For more information, see [Use a custom image to create an ACK cluster](https://help.aliyun.com/document_detail/146647.html).
|
|
12968
13085
|
*
|
|
12969
13086
|
* @example
|
|
12970
13087
|
* m-bp16z7xko3vvv8gt****
|
|
@@ -12974,6 +13091,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12974
13091
|
imageId?: string;
|
|
12975
13092
|
/**
|
|
12976
13093
|
* @remarks
|
|
13094
|
+
* [**Deprecated**] When you configure the control plane, use the `image_type` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `image_type` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13095
|
+
*
|
|
12977
13096
|
* The type of OS distribution that you want to use. To specify the node OS, we recommend that you use this parameter. Valid values:
|
|
12978
13097
|
*
|
|
12979
13098
|
* * CentOS
|
|
@@ -12996,7 +13115,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12996
13115
|
imageType?: string;
|
|
12997
13116
|
/**
|
|
12998
13117
|
* @remarks
|
|
12999
|
-
*
|
|
13118
|
+
* [**Deprecated**] When you configure a node pool, you cannot add existing nodes to the cluster. If you want to add existing nodes, you must first create a node pool and then call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) operation.
|
|
13119
|
+
*
|
|
13120
|
+
* The existing ECS instances that are specified as worker nodes for the cluster.
|
|
13000
13121
|
*
|
|
13001
13122
|
* > This parameter is required if you create worker nodes on existing ECS instances.
|
|
13002
13123
|
*
|
|
@@ -13014,14 +13135,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13014
13135
|
ipStack?: string;
|
|
13015
13136
|
/**
|
|
13016
13137
|
* @remarks
|
|
13017
|
-
* Specifies whether to create an advanced security group. This parameter takes effect only if `security_group_id` is
|
|
13138
|
+
* Specifies whether to create an advanced security group. This parameter takes effect only if `security_group_id` is left empty.
|
|
13018
13139
|
*
|
|
13019
13140
|
* > To use a basic security group, make sure that the sum of the number of nodes in the cluster and the number of pods that use Terway does not exceed 2,000. Therefore, we recommend that you specify an advanced security group for a cluster that uses Terway.
|
|
13020
13141
|
*
|
|
13021
13142
|
* * `true`: creates an advanced security group.
|
|
13022
13143
|
* * `false`: does not create an advanced security group.
|
|
13023
13144
|
*
|
|
13024
|
-
* Default value: `true
|
|
13145
|
+
* Default value: `true`.
|
|
13025
13146
|
*
|
|
13026
13147
|
* @example
|
|
13027
13148
|
* true
|
|
@@ -13029,12 +13150,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13029
13150
|
isEnterpriseSecurityGroup?: boolean;
|
|
13030
13151
|
/**
|
|
13031
13152
|
* @remarks
|
|
13153
|
+
* [**Deprecated**] When you configure a node pool, you cannot add existing nodes to the cluster. If you want to add existing nodes, you must first create a node pool and then call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) operation.
|
|
13154
|
+
*
|
|
13032
13155
|
* Specifies whether to retain the names of existing ECS instances that are used in the cluster. Valid values:
|
|
13033
13156
|
*
|
|
13034
13157
|
* * `true`: retains the names.
|
|
13035
13158
|
* * `false`: does not retain the names. The system assigns new names.
|
|
13036
13159
|
*
|
|
13037
|
-
* Default value: `true
|
|
13160
|
+
* Default value: `true`.
|
|
13038
13161
|
*
|
|
13039
13162
|
* @example
|
|
13040
13163
|
* true
|
|
@@ -13044,7 +13167,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13044
13167
|
keepInstanceName?: boolean;
|
|
13045
13168
|
/**
|
|
13046
13169
|
* @remarks
|
|
13047
|
-
*
|
|
13170
|
+
* [**Deprecated**] When you configure the control plane, use the `key_pair` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `key_pair` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13171
|
+
*
|
|
13172
|
+
* The name of the key pair. You must configure this parameter or `login_password`.
|
|
13048
13173
|
*
|
|
13049
13174
|
* @example
|
|
13050
13175
|
* secrity-key
|
|
@@ -13056,7 +13181,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13056
13181
|
* @remarks
|
|
13057
13182
|
* The Kubernetes version of the cluster. The Kubernetes versions supported by ACK are the same as the Kubernetes versions supported by open source Kubernetes. We recommend that you specify the latest Kubernetes version. If you do not specify this parameter, the latest Kubernetes version is used.
|
|
13058
13183
|
*
|
|
13059
|
-
* You can create clusters of the latest
|
|
13184
|
+
* You can create ACK clusters of the latest three Kubernetes versions in the ACK console. If you want to create clusters that run earlier Kubernetes versions, use the ACK API. For more information about the Kubernetes versions supported by ACK, see [Support for Kubernetes versions](https://help.aliyun.com/document_detail/185269.html).
|
|
13060
13185
|
*
|
|
13061
13186
|
* @example
|
|
13062
13187
|
* 1.16.9-aliyun.1
|
|
@@ -13066,12 +13191,16 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13066
13191
|
* @remarks
|
|
13067
13192
|
* Specifies the ID of the CLB instance for accessing the API server. If this parameter is specified, the system does not automatically create a CLB instance for the API server.
|
|
13068
13193
|
*
|
|
13194
|
+
* > Make sure that the CLB instance does not have other dependencies, such as listeners and backend servers. You cannot specify shared-resource or Internet-facing CLB instances.
|
|
13195
|
+
*
|
|
13069
13196
|
* @example
|
|
13070
13197
|
* lb-wz9t256gqa3vbouk****
|
|
13071
13198
|
*/
|
|
13072
13199
|
loadBalancerId?: string;
|
|
13073
13200
|
/**
|
|
13074
13201
|
* @remarks
|
|
13202
|
+
* [**Deprecated**] The pay-as-you-go billing method is used by Classic Load Balancer (CLB) instances. This parameter does not take effect.
|
|
13203
|
+
*
|
|
13075
13204
|
* The specification of the Server Load Balancer (SLB) instance. Valid values:
|
|
13076
13205
|
*
|
|
13077
13206
|
* * slb.s1.small
|
|
@@ -13091,7 +13220,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13091
13220
|
loadBalancerSpec?: string;
|
|
13092
13221
|
/**
|
|
13093
13222
|
* @remarks
|
|
13094
|
-
* Enables Simple Log Service for the cluster. This parameter takes effect only for ACK Serverless clusters.
|
|
13223
|
+
* Enables Simple Log Service for the cluster. This parameter takes effect only for ACK Serverless clusters. Set the value to `SLS`.
|
|
13095
13224
|
*
|
|
13096
13225
|
* @example
|
|
13097
13226
|
* SLS
|
|
@@ -13099,6 +13228,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13099
13228
|
loggingType?: string;
|
|
13100
13229
|
/**
|
|
13101
13230
|
* @remarks
|
|
13231
|
+
* [**Deprecated**] When you configure the control plane, use the `login_password` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `login_password` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13232
|
+
*
|
|
13102
13233
|
* The password for SSH logon. You must set this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
13103
13234
|
*
|
|
13104
13235
|
* @example
|
|
@@ -13114,12 +13245,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13114
13245
|
maintenanceWindow?: MaintenanceWindow;
|
|
13115
13246
|
/**
|
|
13116
13247
|
* @remarks
|
|
13248
|
+
* [**Deprecated**] When you configure the control plane, use the `auto-renew` parameter in the `control_plane_config` section instead.
|
|
13249
|
+
*
|
|
13117
13250
|
* 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:
|
|
13118
13251
|
*
|
|
13119
13252
|
* * `true`: enables auto-renewal.
|
|
13120
|
-
* * `false`: disables auto-renewal
|
|
13253
|
+
* * `false`: disables auto-renewal.
|
|
13121
13254
|
*
|
|
13122
|
-
* Default value: `true
|
|
13255
|
+
* Default value: `true`.
|
|
13123
13256
|
*
|
|
13124
13257
|
* @example
|
|
13125
13258
|
* true
|
|
@@ -13129,7 +13262,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13129
13262
|
masterAutoRenew?: boolean;
|
|
13130
13263
|
/**
|
|
13131
13264
|
* @remarks
|
|
13132
|
-
*
|
|
13265
|
+
* [**Deprecated**] When you configure the control plane, use the `auto-renew_period` parameter in the `control_plane_config` section instead.
|
|
13266
|
+
*
|
|
13267
|
+
* The auto-renewal duration. This parameter takes effect and is required only when the subscription billing method is selected for master nodes.
|
|
13133
13268
|
*
|
|
13134
13269
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
13135
13270
|
*
|
|
@@ -13143,6 +13278,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13143
13278
|
masterAutoRenewPeriod?: number;
|
|
13144
13279
|
/**
|
|
13145
13280
|
* @remarks
|
|
13281
|
+
* [**Deprecated**] When you configure the control plane, use the `size` parameter in the `control_plane_config` section instead.
|
|
13282
|
+
*
|
|
13146
13283
|
* The number of master nodes. Valid values: `3` and `5`.
|
|
13147
13284
|
*
|
|
13148
13285
|
* Default value: `3`.
|
|
@@ -13155,12 +13292,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13155
13292
|
masterCount?: number;
|
|
13156
13293
|
/**
|
|
13157
13294
|
* @remarks
|
|
13295
|
+
* [**Deprecated**] When you configure the control plane, use the `instance_charge_type` parameter in the `control_plane_config` section instead.
|
|
13296
|
+
*
|
|
13158
13297
|
* The billing method of master nodes. Valid values:
|
|
13159
13298
|
*
|
|
13160
|
-
* * `PrePaid`: subscription
|
|
13161
|
-
* * `PostPaid`:
|
|
13299
|
+
* * `PrePaid`: subscription.
|
|
13300
|
+
* * `PostPaid`: pay-as-you-go.
|
|
13162
13301
|
*
|
|
13163
|
-
* Default value: `PostPaid
|
|
13302
|
+
* Default value: `PostPaid`.
|
|
13164
13303
|
*
|
|
13165
13304
|
* @example
|
|
13166
13305
|
* PrePaid
|
|
@@ -13170,13 +13309,17 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13170
13309
|
masterInstanceChargeType?: string;
|
|
13171
13310
|
/**
|
|
13172
13311
|
* @remarks
|
|
13173
|
-
*
|
|
13312
|
+
* [**Deprecated**] When you configure the control plane, use the `instance_types` parameter in the `control_plane_config` section instead.
|
|
13313
|
+
*
|
|
13314
|
+
* The instance types of master nodes. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
13174
13315
|
*
|
|
13175
13316
|
* @deprecated
|
|
13176
13317
|
*/
|
|
13177
13318
|
masterInstanceTypes?: string[];
|
|
13178
13319
|
/**
|
|
13179
13320
|
* @remarks
|
|
13321
|
+
* [**Deprecated**] When you configure the control plane, use the `unit` parameter in the `control_plane_config` section instead.
|
|
13322
|
+
*
|
|
13180
13323
|
* The subscription duration of master nodes. This parameter takes effect and is required only when `master_instance_charge_type` is set to `PrePaid`.
|
|
13181
13324
|
*
|
|
13182
13325
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
@@ -13191,6 +13334,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13191
13334
|
masterPeriod?: number;
|
|
13192
13335
|
/**
|
|
13193
13336
|
* @remarks
|
|
13337
|
+
* [**Deprecated**] When you configure the control plane, use the `period_unit` parameter in the `control_plane_config` section instead.
|
|
13338
|
+
*
|
|
13194
13339
|
* The billing cycle of the master nodes in the cluster. This parameter is required if master_instance_charge_type is set to `PrePaid`.
|
|
13195
13340
|
*
|
|
13196
13341
|
* Valid value: `Month`, which indicates that master nodes are billed only on a monthly basis.
|
|
@@ -13203,11 +13348,13 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13203
13348
|
masterPeriodUnit?: string;
|
|
13204
13349
|
/**
|
|
13205
13350
|
* @remarks
|
|
13206
|
-
*
|
|
13351
|
+
* [**Deprecated**] When you configure the control plane, use the `system_disk_category` parameter in the `control_plane_config` section instead.
|
|
13207
13352
|
*
|
|
13208
|
-
*
|
|
13209
|
-
*
|
|
13210
|
-
* * `
|
|
13353
|
+
* The system disk category of master nodes. Valid values:
|
|
13354
|
+
*
|
|
13355
|
+
* * `cloud_efficiency`: ultra disk.
|
|
13356
|
+
* * `cloud_ssd`: standard SSD.
|
|
13357
|
+
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
13211
13358
|
*
|
|
13212
13359
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
13213
13360
|
*
|
|
@@ -13219,6 +13366,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13219
13366
|
masterSystemDiskCategory?: string;
|
|
13220
13367
|
/**
|
|
13221
13368
|
* @remarks
|
|
13369
|
+
* [**Deprecated**] When you configure the control plane, use the `system_disk_performance_level` parameter in the `control_plane_config` section instead.
|
|
13370
|
+
*
|
|
13222
13371
|
* The performance level (PL) of the system disk that you want to use for master nodes. This parameter takes effect only for ESSDs. For more information about the relationship between disk PLs and disk sizes, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
13223
13372
|
*
|
|
13224
13373
|
* @example
|
|
@@ -13229,6 +13378,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13229
13378
|
masterSystemDiskPerformanceLevel?: string;
|
|
13230
13379
|
/**
|
|
13231
13380
|
* @remarks
|
|
13381
|
+
* [**Deprecated**] When you configure the control plane, use the `system_disk_disk` parameter in the `control_plane_config` section instead.
|
|
13382
|
+
*
|
|
13232
13383
|
* The system disk size of master nodes. Valid values: 40 to 500. Unit: GiB.
|
|
13233
13384
|
*
|
|
13234
13385
|
* Default value: `120`.
|
|
@@ -13241,6 +13392,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13241
13392
|
masterSystemDiskSize?: number;
|
|
13242
13393
|
/**
|
|
13243
13394
|
* @remarks
|
|
13395
|
+
* [**Deprecated**] When you configure the control plane, use the `system_disk_snapshot_policy_id` parameter in the `control_plane_config` section instead.
|
|
13396
|
+
*
|
|
13244
13397
|
* The ID of the automatic snapshot policy that is used by the system disk specified for master nodes.
|
|
13245
13398
|
*
|
|
13246
13399
|
* @example
|
|
@@ -13251,9 +13404,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13251
13404
|
masterSystemDiskSnapshotPolicyId?: string;
|
|
13252
13405
|
/**
|
|
13253
13406
|
* @remarks
|
|
13407
|
+
* [**Deprecated**] Use the `vswitch_ids` parameter instead.
|
|
13408
|
+
*
|
|
13254
13409
|
* The IDs of the vSwitches that are specified for master nodes. You can specify up to three vSwitches. We recommend that you specify three vSwitches in different zones to ensure high availability.
|
|
13255
13410
|
*
|
|
13256
|
-
* The number of vSwitches must be the same as
|
|
13411
|
+
* The number of vSwitches must be the same as the value of the `master_count` parameter and also the same as the number of vSwitches specified in the `master_vswitch_ids` parameter.
|
|
13257
13412
|
*
|
|
13258
13413
|
* @deprecated
|
|
13259
13414
|
*/
|
|
@@ -13262,7 +13417,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13262
13417
|
* @remarks
|
|
13263
13418
|
* The cluster name.
|
|
13264
13419
|
*
|
|
13265
|
-
* The
|
|
13420
|
+
* The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
|
|
13266
13421
|
*
|
|
13267
13422
|
* This parameter is required.
|
|
13268
13423
|
*
|
|
@@ -13272,7 +13427,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13272
13427
|
name?: string;
|
|
13273
13428
|
/**
|
|
13274
13429
|
* @remarks
|
|
13275
|
-
*
|
|
13430
|
+
* [Deprecated] Use the `snat_entry` parameter instead.
|
|
13276
13431
|
*
|
|
13277
13432
|
* @example
|
|
13278
13433
|
* true
|
|
@@ -13280,7 +13435,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13280
13435
|
natGateway?: boolean;
|
|
13281
13436
|
/**
|
|
13282
13437
|
* @remarks
|
|
13283
|
-
* The maximum number of IP addresses that can be assigned to
|
|
13438
|
+
* The maximum number of IP addresses that can be assigned to each node. This number is determined by the subnet mask of the specified CIDR block. This parameter takes effect only if the cluster uses the Flannel plug-in.
|
|
13284
13439
|
*
|
|
13285
13440
|
* Default value: `26`.
|
|
13286
13441
|
*
|
|
@@ -13290,6 +13445,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13290
13445
|
nodeCidrMask?: string;
|
|
13291
13446
|
/**
|
|
13292
13447
|
* @remarks
|
|
13448
|
+
* [**Deprecated**] When you configure a node pool, use the `node_name_mode` parameter of the `kubernetes_config` field in the `nodepool` section instead.
|
|
13449
|
+
*
|
|
13293
13450
|
* The custom node name.
|
|
13294
13451
|
*
|
|
13295
13452
|
* A custom node name consists of a prefix, a node IP address, and a suffix.
|
|
@@ -13297,7 +13454,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13297
13454
|
* * The prefix and suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-), and must start and end with a lowercase letter or digit.
|
|
13298
13455
|
* * The IP substring length specifies the number of digits to be truncated from the end of the node IP address. The IP substring length ranges from 5 to 12.
|
|
13299
13456
|
*
|
|
13300
|
-
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name
|
|
13457
|
+
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name will aliyun.com00055test.
|
|
13301
13458
|
*
|
|
13302
13459
|
* @example
|
|
13303
13460
|
* aliyun.com00055test
|
|
@@ -13322,6 +13479,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13322
13479
|
nodepools?: Nodepool[];
|
|
13323
13480
|
/**
|
|
13324
13481
|
* @remarks
|
|
13482
|
+
* [**Deprecated**] When you configure a node pool, use the `desired_size` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13483
|
+
*
|
|
13325
13484
|
* The number of worker nodes. Valid values: 0 to 100.
|
|
13326
13485
|
*
|
|
13327
13486
|
* @example
|
|
@@ -13337,6 +13496,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13337
13496
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
13338
13497
|
/**
|
|
13339
13498
|
* @remarks
|
|
13499
|
+
* [**Deprecated**] When you configure the control plane, use the `image_type` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `image_type` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13500
|
+
*
|
|
13340
13501
|
* The type of OS. Valid values:
|
|
13341
13502
|
*
|
|
13342
13503
|
* * Windows
|
|
@@ -13352,9 +13513,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13352
13513
|
osType?: string;
|
|
13353
13514
|
/**
|
|
13354
13515
|
* @remarks
|
|
13355
|
-
* **
|
|
13516
|
+
* [**Deprecated**]
|
|
13356
13517
|
*
|
|
13357
|
-
* The subscription duration
|
|
13518
|
+
* The subscription duration. This parameter takes effect and is required only when you set charge_type to PrePaid.
|
|
13358
13519
|
*
|
|
13359
13520
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
13360
13521
|
*
|
|
@@ -13370,7 +13531,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13370
13531
|
period?: number;
|
|
13371
13532
|
/**
|
|
13372
13533
|
* @remarks
|
|
13373
|
-
* **
|
|
13534
|
+
* [**Deprecated**]
|
|
13374
13535
|
*
|
|
13375
13536
|
* The billing cycle. This parameter is required if charge_type is set to PrePaid.
|
|
13376
13537
|
*
|
|
@@ -13386,6 +13547,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13386
13547
|
periodUnit?: string;
|
|
13387
13548
|
/**
|
|
13388
13549
|
* @remarks
|
|
13550
|
+
* [**Deprecated**] When you configure a node pool, use the `platform` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13551
|
+
*
|
|
13389
13552
|
* The OS distribution that is used. Valid values:
|
|
13390
13553
|
*
|
|
13391
13554
|
* * CentOS
|
|
@@ -13405,9 +13568,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13405
13568
|
platform?: string;
|
|
13406
13569
|
/**
|
|
13407
13570
|
* @remarks
|
|
13408
|
-
* If you select Terway as the network plug-in, you must allocate vSwitches to pods.
|
|
13571
|
+
* If you select Terway as the network plug-in, you must allocate vSwitches to pods. For each vSwitch that allocates IP addresses to worker nodes, you must select a vSwitch in the same zone to allocate IP addresses to pods.
|
|
13409
13572
|
*
|
|
13410
|
-
* > We recommend that you select pod vSwitches whose subnet
|
|
13573
|
+
* > We recommend that you select pod vSwitches whose subnet masks do not exceed 19 bits in length. The maximum subnet mask length of a pod vSwitch is 25 bits. If you select a pod vSwitch whose subnet mask exceeds 25 bits in length, the IP addresses that can be allocated to pods may be insufficient.
|
|
13411
13574
|
*/
|
|
13412
13575
|
podVswitchIds?: string[];
|
|
13413
13576
|
/**
|
|
@@ -13427,7 +13590,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13427
13590
|
* @remarks
|
|
13428
13591
|
* The kube-proxy mode. Valid values:
|
|
13429
13592
|
*
|
|
13430
|
-
* * `iptables`: a mature and stable
|
|
13593
|
+
* * `iptables`: a mature and stable 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.
|
|
13431
13594
|
* * `ipvs`: a mode that provides high performance and uses IP Virtual Server (IPVS) to conduct service discovery and load balancing. This mode is suitable for clusters that run a large number of Services. We recommend that you use this mode in scenarios that require high-performance load balancing.
|
|
13432
13595
|
*
|
|
13433
13596
|
* Default value: `ipvs`.
|
|
@@ -13438,14 +13601,16 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13438
13601
|
proxyMode?: string;
|
|
13439
13602
|
/**
|
|
13440
13603
|
* @remarks
|
|
13441
|
-
*
|
|
13604
|
+
* [**Deprecated**] When you configure a node pool, use the `rds_instances` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13605
|
+
*
|
|
13606
|
+
* The ApsaraDB RDS instances. The pod CIDR block and node CIDR block are added to the whitelists of the ApsaraDB RDS instances. We recommend that you add the pod CIDR block and node CIDR block to the whitelists of the ApsaraDB RDS instances in the ApsaraDB RDS console. If the RDS instances are not in the Running state, new nodes cannot be added to the cluster.
|
|
13442
13607
|
*
|
|
13443
13608
|
* @deprecated
|
|
13444
13609
|
*/
|
|
13445
13610
|
rdsInstances?: string[];
|
|
13446
13611
|
/**
|
|
13447
13612
|
* @remarks
|
|
13448
|
-
* The ID of the region in which the cluster is deployed.
|
|
13613
|
+
* The ID of the region in which the cluster is deployed. For more information about the regions supported by ACK, see [Regions supported by ACK](https://help.aliyun.com/document_detail/216938.html).
|
|
13449
13614
|
*
|
|
13450
13615
|
* This parameter is required.
|
|
13451
13616
|
*
|
|
@@ -13478,12 +13643,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13478
13643
|
securityGroupId?: string;
|
|
13479
13644
|
/**
|
|
13480
13645
|
* @remarks
|
|
13646
|
+
* [**Deprecated**] When you configure the control plane, use the `security_hardening_os` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `security_hardening_os` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13647
|
+
*
|
|
13481
13648
|
* Specifies whether to enable Alibaba Cloud Linux Security Hardening. Valid values:
|
|
13482
13649
|
*
|
|
13483
13650
|
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
13484
13651
|
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
13485
13652
|
*
|
|
13486
|
-
* Default value: `false
|
|
13653
|
+
* Default value: `false`.
|
|
13487
13654
|
*
|
|
13488
13655
|
* @example
|
|
13489
13656
|
* false
|
|
@@ -13493,7 +13660,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13493
13660
|
securityHardeningOs?: boolean;
|
|
13494
13661
|
/**
|
|
13495
13662
|
* @remarks
|
|
13496
|
-
*
|
|
13663
|
+
* Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. `service-account-issuer` specifies the issuer of the `serviceaccount token`, which is specified by using the `iss` field in the `token payload`.
|
|
13497
13664
|
*
|
|
13498
13665
|
* For more information about `ServiceAccount`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
13499
13666
|
*
|
|
@@ -13503,7 +13670,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13503
13670
|
serviceAccountIssuer?: string;
|
|
13504
13671
|
/**
|
|
13505
13672
|
* @remarks
|
|
13506
|
-
* The Service CIDR block. Valid values: 10.0.0.0/16-24, 172.16-31.0.0/16-24, and 192.168.0.0/16-24. The Service CIDR block cannot overlap with the CIDR block
|
|
13673
|
+
* The Service CIDR block. Valid values: 10.0.0.0/16-24, 172.16-31.0.0/16-24, and 192.168.0.0/16-24. The Service CIDR block cannot overlap with the VPC CIDR block (10.1.0.0/21) or the CIDR blocks of existing clusters in the VPC. You cannot modify the Service CIDR block after the cluster is created.
|
|
13507
13674
|
*
|
|
13508
13675
|
* By default, the Service CIDR block is set to 172.19.0.0/20.
|
|
13509
13676
|
*
|
|
@@ -13517,7 +13684,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13517
13684
|
* @remarks
|
|
13518
13685
|
* The methods for implementing service discovery in `ACK Serverless` clusters.
|
|
13519
13686
|
*
|
|
13520
|
-
* * `CoreDNS`: a standard service discovery plug-in that is provided by open source Kubernetes. To use DNS resolution, you must provision pods. By default, two elastic container instances are used. The specification of each instance is 0.25
|
|
13687
|
+
* * `CoreDNS`: a standard service discovery plug-in that is provided by open source Kubernetes. To use DNS resolution, you must provision pods. By default, two elastic container instances are used. The specification of each instance is 0.25 vCores and 512 MiB of memory.
|
|
13521
13688
|
* * `PrivateZone`: a DNS resolution service provided by Alibaba Cloud. You must activate Alibaba Cloud DNS PrivateZone before you can use it for service discovery.
|
|
13522
13689
|
*
|
|
13523
13690
|
* By default, this parameter is not specified.
|
|
@@ -13525,14 +13692,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13525
13692
|
serviceDiscoveryTypes?: string[];
|
|
13526
13693
|
/**
|
|
13527
13694
|
* @remarks
|
|
13528
|
-
* Specifies whether to configure
|
|
13695
|
+
* Specifies whether to configure SNAT rules for the VPC in which your cluster is deployed. Valid values:
|
|
13529
13696
|
*
|
|
13530
13697
|
* * `true`: automatically creates a NAT gateway and configures SNAT rules. Set the value to `true` if nodes and applications in the cluster need to access the Internet.
|
|
13531
13698
|
* * `false`: does not create a NAT gateway or configure SNAT rules. In this case, nodes and applications in the cluster cannot access the Internet.
|
|
13532
13699
|
*
|
|
13533
13700
|
* > If this feature is disabled when you create the cluster, you can also manually enable this feature after you create the cluster. For more information, see [Enable an existing ACK cluster to access the Internet](https://help.aliyun.com/document_detail/178480.html).
|
|
13534
13701
|
*
|
|
13535
|
-
* Default value: `true
|
|
13702
|
+
* Default value: `true`.
|
|
13536
13703
|
*
|
|
13537
13704
|
* @example
|
|
13538
13705
|
* true
|
|
@@ -13540,6 +13707,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13540
13707
|
snatEntry?: boolean;
|
|
13541
13708
|
/**
|
|
13542
13709
|
* @remarks
|
|
13710
|
+
* [**Deprecated**] When you configure the control plane, use the `soc_enabled` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `soc_enabled` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13711
|
+
*
|
|
13543
13712
|
* 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).
|
|
13544
13713
|
*
|
|
13545
13714
|
* Valid values:
|
|
@@ -13547,7 +13716,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13547
13716
|
* * `true`: enables MLPS security hardening.
|
|
13548
13717
|
* * `false`: disables MLPS security hardening.
|
|
13549
13718
|
*
|
|
13550
|
-
* Default value: `false
|
|
13719
|
+
* Default value: `false`.
|
|
13551
13720
|
*
|
|
13552
13721
|
* @example
|
|
13553
13722
|
* false
|
|
@@ -13562,7 +13731,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13562
13731
|
* * `true`: enables SSH logon.
|
|
13563
13732
|
* * `false`: disables SSH logon.
|
|
13564
13733
|
*
|
|
13565
|
-
* Default value: `false
|
|
13734
|
+
* Default value: `false`.
|
|
13566
13735
|
*
|
|
13567
13736
|
* @example
|
|
13568
13737
|
* true
|
|
@@ -13570,21 +13739,25 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13570
13739
|
sshFlags?: boolean;
|
|
13571
13740
|
/**
|
|
13572
13741
|
* @remarks
|
|
13573
|
-
* The
|
|
13742
|
+
* The labels that you want to add to nodes. You must add labels based on the following rules:
|
|
13574
13743
|
*
|
|
13575
|
-
* * A
|
|
13576
|
-
* * When you add a
|
|
13744
|
+
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
13745
|
+
* * When you add a label, 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).
|
|
13577
13746
|
*/
|
|
13578
13747
|
tags?: Tag[];
|
|
13579
13748
|
/**
|
|
13580
13749
|
* @remarks
|
|
13581
|
-
*
|
|
13750
|
+
* [**Deprecated**] When you configure a node pool, use the `taints` parameter of the `kubernetes_config` field in the `nodepool` section instead.
|
|
13751
|
+
*
|
|
13752
|
+
* The taints that you want to add to nodes. Taints can be used together with tolerations to avoid scheduling pods to specific nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
13582
13753
|
*
|
|
13583
13754
|
* @deprecated
|
|
13584
13755
|
*/
|
|
13585
13756
|
taints?: Taint[];
|
|
13586
13757
|
/**
|
|
13587
13758
|
* @remarks
|
|
13759
|
+
* [**Deprecated**] By default, the system does not perform a rollback when the cluster fails to be created. You must manually delete the cluster that fails to be created.
|
|
13760
|
+
*
|
|
13588
13761
|
* Specifies the timeout period of cluster creation. Unit: minutes.
|
|
13589
13762
|
*
|
|
13590
13763
|
* Default value: `60`.
|
|
@@ -13629,17 +13802,19 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13629
13802
|
vpcid?: string;
|
|
13630
13803
|
/**
|
|
13631
13804
|
* @remarks
|
|
13632
|
-
* The vSwitches
|
|
13805
|
+
* The vSwitches for nodes in the cluster. This parameter is required if you create an ACK managed cluster that does not contain nodes.
|
|
13633
13806
|
*/
|
|
13634
13807
|
vswitchIds?: string[];
|
|
13635
13808
|
/**
|
|
13636
13809
|
* @remarks
|
|
13637
|
-
*
|
|
13810
|
+
* [**Deprecated**] When you configure a node pool, use the `auto_renew` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13811
|
+
*
|
|
13812
|
+
* Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect and is required only when `worker_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
13638
13813
|
*
|
|
13639
13814
|
* * `true`: enables auto-renewal.
|
|
13640
|
-
* * `false`: disables auto-renewal
|
|
13815
|
+
* * `false`: disables auto-renewal.
|
|
13641
13816
|
*
|
|
13642
|
-
* Default value: `true
|
|
13817
|
+
* Default value: `true`.
|
|
13643
13818
|
*
|
|
13644
13819
|
* @example
|
|
13645
13820
|
* true
|
|
@@ -13649,7 +13824,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13649
13824
|
workerAutoRenew?: boolean;
|
|
13650
13825
|
/**
|
|
13651
13826
|
* @remarks
|
|
13652
|
-
*
|
|
13827
|
+
* [**Deprecated**] When you configure a node pool, use the `auto_renew_period` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13828
|
+
*
|
|
13829
|
+
* The auto-renewal duration of worker nodes. This parameter takes effect and is required only if the subscription billing method is selected for worker nodes.
|
|
13653
13830
|
*
|
|
13654
13831
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
13655
13832
|
*
|
|
@@ -13661,17 +13838,21 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13661
13838
|
workerAutoRenewPeriod?: number;
|
|
13662
13839
|
/**
|
|
13663
13840
|
* @remarks
|
|
13664
|
-
*
|
|
13841
|
+
* [**Deprecated**] When you configure a node pool, use the `data_disks` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13842
|
+
*
|
|
13843
|
+
* The configurations of the data disks that you want to mount to worker nodes. The configurations include the disk category and disk size.
|
|
13665
13844
|
*
|
|
13666
13845
|
* @deprecated
|
|
13667
13846
|
*/
|
|
13668
13847
|
workerDataDisks?: CreateClusterRequestWorkerDataDisks[];
|
|
13669
13848
|
/**
|
|
13670
13849
|
* @remarks
|
|
13850
|
+
* [**Deprecated**] When you configure a node pool, use the `instance_charge_type` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13851
|
+
*
|
|
13671
13852
|
* The billing method of worker nodes. Valid values:
|
|
13672
13853
|
*
|
|
13673
|
-
* * `PrePaid`: subscription
|
|
13674
|
-
* * `PostPaid`:
|
|
13854
|
+
* * `PrePaid`: subscription.
|
|
13855
|
+
* * `PostPaid`: pay-as-you-go.
|
|
13675
13856
|
*
|
|
13676
13857
|
* Default value: PostPaid.
|
|
13677
13858
|
*
|
|
@@ -13683,6 +13864,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13683
13864
|
workerInstanceChargeType?: string;
|
|
13684
13865
|
/**
|
|
13685
13866
|
* @remarks
|
|
13867
|
+
* [**Deprecated**] When you configure a node pool, use the `instance_types` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13868
|
+
*
|
|
13686
13869
|
* The instance configurations of worker nodes.
|
|
13687
13870
|
*
|
|
13688
13871
|
* @deprecated
|
|
@@ -13690,6 +13873,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13690
13873
|
workerInstanceTypes?: string[];
|
|
13691
13874
|
/**
|
|
13692
13875
|
* @remarks
|
|
13876
|
+
* [**Deprecated**] When you configure a node pool, use the `period` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13877
|
+
*
|
|
13693
13878
|
* The subscription duration of worker nodes. This parameter takes effect and is required only when `worker_instance_charge_type` is set to `PrePaid`.
|
|
13694
13879
|
*
|
|
13695
13880
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
@@ -13704,6 +13889,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13704
13889
|
workerPeriod?: number;
|
|
13705
13890
|
/**
|
|
13706
13891
|
* @remarks
|
|
13892
|
+
* [**Deprecated**] When you configure a node pool, use the `period_unit` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13893
|
+
*
|
|
13707
13894
|
* The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
|
|
13708
13895
|
*
|
|
13709
13896
|
* Valid value: `Month`, which indicates that worker nodes are billed only on a monthly basis.
|
|
@@ -13716,14 +13903,16 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13716
13903
|
workerPeriodUnit?: string;
|
|
13717
13904
|
/**
|
|
13718
13905
|
* @remarks
|
|
13906
|
+
* [**Deprecated**] When you configure a node pool, use the `system_disk_category` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13907
|
+
*
|
|
13719
13908
|
* The system disk category of worker nodes. For more information, see [Elastic Block Storage devices](https://help.aliyun.com/document_detail/63136.html).
|
|
13720
13909
|
*
|
|
13721
13910
|
* Valid values:
|
|
13722
13911
|
*
|
|
13723
|
-
* * `cloud_efficiency`: ultra disk
|
|
13724
|
-
* * `cloud_ssd`: standard SSD
|
|
13912
|
+
* * `cloud_efficiency`: ultra disk.
|
|
13913
|
+
* * `cloud_ssd`: standard SSD.
|
|
13725
13914
|
*
|
|
13726
|
-
* Default value: `cloud_ssd
|
|
13915
|
+
* Default value: `cloud_ssd`.
|
|
13727
13916
|
*
|
|
13728
13917
|
* @example
|
|
13729
13918
|
* cloud_efficiency
|
|
@@ -13733,6 +13922,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13733
13922
|
workerSystemDiskCategory?: string;
|
|
13734
13923
|
/**
|
|
13735
13924
|
* @remarks
|
|
13925
|
+
* [**Deprecated**] When you configure a node pool, use the `system_disk_performance_level` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13926
|
+
*
|
|
13736
13927
|
* If the system disk is an ESSD, you can specify the PL of the ESSD. For more information, see [Enterprise SSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
13737
13928
|
*
|
|
13738
13929
|
* Valid values:
|
|
@@ -13750,6 +13941,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13750
13941
|
workerSystemDiskPerformanceLevel?: string;
|
|
13751
13942
|
/**
|
|
13752
13943
|
* @remarks
|
|
13944
|
+
* [**Deprecated**] When you configure a node pool, use the `system_disk_size` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13945
|
+
*
|
|
13753
13946
|
* The system disk size of worker nodes. Unit: GiB.
|
|
13754
13947
|
*
|
|
13755
13948
|
* Valid values: 40 to 500.
|
|
@@ -13766,6 +13959,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13766
13959
|
workerSystemDiskSize?: number;
|
|
13767
13960
|
/**
|
|
13768
13961
|
* @remarks
|
|
13962
|
+
* [**Deprecated**] When you configure a node pool, use the `system_disk_snapshot_policy_id` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13963
|
+
*
|
|
13769
13964
|
* The ID of the automatic snapshot policy that is used by the system disk specified for worker nodes.
|
|
13770
13965
|
*
|
|
13771
13966
|
* @example
|
|
@@ -13776,18 +13971,20 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13776
13971
|
workerSystemDiskSnapshotPolicyId?: string;
|
|
13777
13972
|
/**
|
|
13778
13973
|
* @remarks
|
|
13779
|
-
*
|
|
13974
|
+
* [**Deprecated**] When you configure a node pool, use the `vswitch_ids` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13780
13975
|
*
|
|
13781
|
-
*
|
|
13976
|
+
* The vSwitches for worker nodes. Each worker node is allocated a vSwitch.
|
|
13977
|
+
*
|
|
13978
|
+
* `worker_vswitch_ids` is optional, but `vswitch_ids` is required if you create an ACK managed cluster that does not contain nodes.
|
|
13782
13979
|
*
|
|
13783
13980
|
* @deprecated
|
|
13784
13981
|
*/
|
|
13785
13982
|
workerVswitchIds?: string[];
|
|
13786
13983
|
/**
|
|
13787
13984
|
* @remarks
|
|
13788
|
-
*
|
|
13985
|
+
* [Deprecated] Use the `zone_ids` parameter instead.
|
|
13789
13986
|
*
|
|
13790
|
-
* The ID of the zone to which the cluster belongs. This parameter is specific to ACK
|
|
13987
|
+
* The ID of the zone to which the cluster belongs. This parameter is specific to ACK Serverless clusters.
|
|
13791
13988
|
*
|
|
13792
13989
|
* When you create an ACK managed cluster, you must set the `zone_id` parameter if `vpc_id` and `vswitch_ids` are not specified. This way, the system automatically creates a VPC in the specified zone. This parameter is invalid if you specify the `vpc_id` and `vswitch_ids` parameters.
|
|
13793
13990
|
*
|
|
@@ -14005,7 +14202,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
14005
14202
|
count?: number;
|
|
14006
14203
|
/**
|
|
14007
14204
|
* @remarks
|
|
14008
|
-
* Specifies whether set the network type of the pod to host network.
|
|
14205
|
+
* Specifies whether to set the network type of the pod to host network.
|
|
14009
14206
|
*
|
|
14010
14207
|
* * `true`: sets to host network.
|
|
14011
14208
|
* * `false`: sets to container network.
|
|
@@ -14610,6 +14807,8 @@ export declare class CreateTriggerResponse extends $dara.Model {
|
|
|
14610
14807
|
export declare class DeleteAlertContactRequest extends $dara.Model {
|
|
14611
14808
|
/**
|
|
14612
14809
|
* @remarks
|
|
14810
|
+
* The list of alert contact IDs.
|
|
14811
|
+
*
|
|
14613
14812
|
* This parameter is required.
|
|
14614
14813
|
*/
|
|
14615
14814
|
contactIds?: number[];
|
|
@@ -14627,6 +14826,8 @@ export declare class DeleteAlertContactRequest extends $dara.Model {
|
|
|
14627
14826
|
export declare class DeleteAlertContactShrinkRequest extends $dara.Model {
|
|
14628
14827
|
/**
|
|
14629
14828
|
* @remarks
|
|
14829
|
+
* The list of alert contact IDs.
|
|
14830
|
+
*
|
|
14630
14831
|
* This parameter is required.
|
|
14631
14832
|
*/
|
|
14632
14833
|
contactIdsShrink?: string;
|
|
@@ -14661,6 +14862,8 @@ export declare class DeleteAlertContactResponse extends $dara.Model {
|
|
|
14661
14862
|
export declare class DeleteAlertContactGroupRequest extends $dara.Model {
|
|
14662
14863
|
/**
|
|
14663
14864
|
* @remarks
|
|
14865
|
+
* The list of alert contact group IDs.
|
|
14866
|
+
*
|
|
14664
14867
|
* This parameter is required.
|
|
14665
14868
|
*/
|
|
14666
14869
|
contactGroupIds?: number[];
|
|
@@ -14678,6 +14881,8 @@ export declare class DeleteAlertContactGroupRequest extends $dara.Model {
|
|
|
14678
14881
|
export declare class DeleteAlertContactGroupShrinkRequest extends $dara.Model {
|
|
14679
14882
|
/**
|
|
14680
14883
|
* @remarks
|
|
14884
|
+
* The list of alert contact group IDs.
|
|
14885
|
+
*
|
|
14681
14886
|
* This parameter is required.
|
|
14682
14887
|
*/
|
|
14683
14888
|
contactGroupIdsShrink?: string;
|
|
@@ -15536,12 +15741,12 @@ export declare class DescribeClusterAddonInstanceResponseBody extends $dara.Mode
|
|
|
15536
15741
|
* The status of the component. Valid values:
|
|
15537
15742
|
*
|
|
15538
15743
|
* * initial: The component is being installed.
|
|
15539
|
-
* * active: The component
|
|
15744
|
+
* * active: The component has been installed.
|
|
15540
15745
|
* * unhealthy: The component is in an abnormal state.
|
|
15541
|
-
* * upgrading: The component is
|
|
15542
|
-
* * updating:
|
|
15746
|
+
* * upgrading: The component is undergoing an upgrade.
|
|
15747
|
+
* * updating: Component configuration changes are being applied.
|
|
15543
15748
|
* * deleting: The component is being uninstalled.
|
|
15544
|
-
* * deleted: The component
|
|
15749
|
+
* * deleted: The component has been deleted.
|
|
15545
15750
|
*
|
|
15546
15751
|
* @example
|
|
15547
15752
|
* active
|
|
@@ -15759,17 +15964,25 @@ export declare class DescribeClusterAttachScriptsRequest extends $dara.Model {
|
|
|
15759
15964
|
arch?: string;
|
|
15760
15965
|
/**
|
|
15761
15966
|
* @remarks
|
|
15762
|
-
*
|
|
15967
|
+
* Describes the expiration time of the generated token, formatted as a Unix timestamp. For example, 1739980800 represents 2025-02-20 00:00:00.
|
|
15968
|
+
*
|
|
15969
|
+
* @example
|
|
15970
|
+
* 1740037333
|
|
15971
|
+
*/
|
|
15972
|
+
expired?: number;
|
|
15973
|
+
/**
|
|
15974
|
+
* @remarks
|
|
15975
|
+
* Specifies whether to mount data disks to an existing instance when you manually add this instance to the cluster. You can add data disks to store container data and images. Valid values:
|
|
15763
15976
|
*
|
|
15764
|
-
* * `true`: mounts data disks to the existing instance
|
|
15977
|
+
* * `true`: mounts data disks to the existing instance. Back up the data first to prevent losses.
|
|
15765
15978
|
* * `false`: does not mount data disks to the existing instance.
|
|
15766
15979
|
*
|
|
15767
15980
|
* Default value: `false`.
|
|
15768
15981
|
*
|
|
15769
|
-
*
|
|
15982
|
+
* Mounting rules:
|
|
15770
15983
|
*
|
|
15771
|
-
* * If the Elastic Compute Service (ECS) instances are already mounted with data disks and the file system of the last data disk is
|
|
15772
|
-
* * If no data disk is mounted to the ECS instance,
|
|
15984
|
+
* * If the Elastic Compute Service (ECS) instances are already mounted with data disks and the file system of the last data disk is uninitialized, the system automatically formats this data disk to ext4 and mounts it to /var/lib/docker and /var/lib/kubelet.
|
|
15985
|
+
* * If no data disk is mounted to the ECS instance, no new disk will be mounted.
|
|
15773
15986
|
*
|
|
15774
15987
|
* @example
|
|
15775
15988
|
* false
|
|
@@ -15777,10 +15990,10 @@ export declare class DescribeClusterAttachScriptsRequest extends $dara.Model {
|
|
|
15777
15990
|
formatDisk?: boolean;
|
|
15778
15991
|
/**
|
|
15779
15992
|
* @remarks
|
|
15780
|
-
* Specifies whether to retain the name of the existing instance when it is added to the cluster.
|
|
15993
|
+
* Specifies whether to retain the name of the existing instance when it is added to the cluster. ``Valid values:
|
|
15781
15994
|
*
|
|
15782
15995
|
* * `true`: retains the instance name.
|
|
15783
|
-
* * `false`:
|
|
15996
|
+
* * `false`: renames the instance to worker-k8s-for-cs-\\<clusterid>.
|
|
15784
15997
|
*
|
|
15785
15998
|
* Default value: `true`.
|
|
15786
15999
|
*
|
|
@@ -15792,7 +16005,7 @@ export declare class DescribeClusterAttachScriptsRequest extends $dara.Model {
|
|
|
15792
16005
|
* @remarks
|
|
15793
16006
|
* The ID of the node pool to which you want to add an existing node.
|
|
15794
16007
|
*
|
|
15795
|
-
* > If
|
|
16008
|
+
* > If not specified, the node is added to the default node pool.
|
|
15796
16009
|
*
|
|
15797
16010
|
* @example
|
|
15798
16011
|
* np1c9229d9be2d432c93f77a88fca0****
|
|
@@ -15810,7 +16023,7 @@ export declare class DescribeClusterAttachScriptsRequest extends $dara.Model {
|
|
|
15810
16023
|
options?: string;
|
|
15811
16024
|
/**
|
|
15812
16025
|
* @remarks
|
|
15813
|
-
*
|
|
16026
|
+
* If you specify a list of ApsaraDB RDS instances, ECS instances in the cluster will be automatically added to the whitelist of the ApsaraDB RDS instances.
|
|
15814
16027
|
*/
|
|
15815
16028
|
rdsInstances?: string[];
|
|
15816
16029
|
static names(): {
|
|
@@ -16329,6 +16542,10 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
16329
16542
|
* @remarks
|
|
16330
16543
|
* Indicates whether the pods in the edge node pool can use the host network.
|
|
16331
16544
|
*
|
|
16545
|
+
* `true`: sets to host network.
|
|
16546
|
+
*
|
|
16547
|
+
* `false`: sets to container network.
|
|
16548
|
+
*
|
|
16332
16549
|
* @example
|
|
16333
16550
|
* true
|
|
16334
16551
|
*/
|
|
@@ -16340,7 +16557,11 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
16340
16557
|
interconnectConfig?: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig;
|
|
16341
16558
|
/**
|
|
16342
16559
|
* @remarks
|
|
16343
|
-
* The network type of the edge node pool.
|
|
16560
|
+
* The network type of the edge node pool. This parameter takes effect only if you set the type parameter of the node pool to edge. Valid values:
|
|
16561
|
+
*
|
|
16562
|
+
* `basic`: Internet.
|
|
16563
|
+
*
|
|
16564
|
+
* `private`: private network.
|
|
16344
16565
|
*
|
|
16345
16566
|
* @example
|
|
16346
16567
|
* improved
|
|
@@ -16348,7 +16569,11 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
16348
16569
|
interconnectMode?: string;
|
|
16349
16570
|
/**
|
|
16350
16571
|
* @remarks
|
|
16351
|
-
*
|
|
16572
|
+
* Specifies whether all nodes in the edge node pool can communicate with each other at Layer 3.
|
|
16573
|
+
*
|
|
16574
|
+
* `true`: The nodes in the edge node pool can communicate with each other at Layer 3.
|
|
16575
|
+
*
|
|
16576
|
+
* `false`: The nodes in the edge node pool cannot communicate with each other at Layer 3.
|
|
16352
16577
|
*
|
|
16353
16578
|
* @example
|
|
16354
16579
|
* true
|
|
@@ -16356,7 +16581,7 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
16356
16581
|
intranet?: boolean;
|
|
16357
16582
|
/**
|
|
16358
16583
|
* @remarks
|
|
16359
|
-
* The configurations of the cluster.
|
|
16584
|
+
* The configurations of the cluster in which the node pool is deployed.
|
|
16360
16585
|
*/
|
|
16361
16586
|
kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
|
|
16362
16587
|
/**
|
|
@@ -16366,7 +16591,9 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
16366
16591
|
management?: DescribeClusterNodePoolDetailResponseBodyManagement;
|
|
16367
16592
|
/**
|
|
16368
16593
|
* @remarks
|
|
16369
|
-
*
|
|
16594
|
+
* This parameter is deprecated.
|
|
16595
|
+
*
|
|
16596
|
+
* The maximum number of nodes allowed in an edge node pool.
|
|
16370
16597
|
*
|
|
16371
16598
|
* @example
|
|
16372
16599
|
* 10
|
|
@@ -16586,6 +16813,9 @@ export declare class DescribeClusterResourcesRequest extends $dara.Model {
|
|
|
16586
16813
|
/**
|
|
16587
16814
|
* @remarks
|
|
16588
16815
|
* Specifies whether to query the resources created by cluster components.
|
|
16816
|
+
*
|
|
16817
|
+
* @example
|
|
16818
|
+
* false
|
|
16589
16819
|
*/
|
|
16590
16820
|
withAddonResources?: boolean;
|
|
16591
16821
|
static names(): {
|
|
@@ -16906,7 +17136,10 @@ export declare class DescribeClustersForRegionRequest extends $dara.Model {
|
|
|
16906
17136
|
clusterId?: string;
|
|
16907
17137
|
/**
|
|
16908
17138
|
* @remarks
|
|
16909
|
-
* The specification of the
|
|
17139
|
+
* The specification of the clusters to query. Valid values:
|
|
17140
|
+
*
|
|
17141
|
+
* * ack.pro.small: ACK Pro clusters.
|
|
17142
|
+
* * ack.standard: ACK Basic clusters.
|
|
16910
17143
|
*
|
|
16911
17144
|
* @example
|
|
16912
17145
|
* ack.standard
|
|
@@ -16914,7 +17147,11 @@ export declare class DescribeClustersForRegionRequest extends $dara.Model {
|
|
|
16914
17147
|
clusterSpec?: string;
|
|
16915
17148
|
/**
|
|
16916
17149
|
* @remarks
|
|
16917
|
-
* The type of the
|
|
17150
|
+
* The type of the clusters to query. Valid values:
|
|
17151
|
+
*
|
|
17152
|
+
* * Kubernetes: ACK dedicated clusters.
|
|
17153
|
+
* * ManagedKubernetes: ACK managed clusters. 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.
|
|
17154
|
+
* * ExternalKubernetes: registered clusters.
|
|
16918
17155
|
*
|
|
16919
17156
|
* @example
|
|
16920
17157
|
* Kubernetes
|
|
@@ -16946,7 +17183,12 @@ export declare class DescribeClustersForRegionRequest extends $dara.Model {
|
|
|
16946
17183
|
pageSize?: number;
|
|
16947
17184
|
/**
|
|
16948
17185
|
* @remarks
|
|
16949
|
-
* The
|
|
17186
|
+
* The subtype of the clusters to query. Valid values:
|
|
17187
|
+
*
|
|
17188
|
+
* * Default: ACK managed clusters. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
17189
|
+
* * Edge: ACK Edge clusters. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
17190
|
+
* * Serverless: ACK Serverless clusters. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
17191
|
+
* * Lingjun: ACK Lingjun Pro clusters.
|
|
16950
17192
|
*
|
|
16951
17193
|
* @example
|
|
16952
17194
|
* Serverless
|
|
@@ -16966,7 +17208,7 @@ export declare class DescribeClustersForRegionRequest extends $dara.Model {
|
|
|
16966
17208
|
export declare class DescribeClustersForRegionResponseBody extends $dara.Model {
|
|
16967
17209
|
/**
|
|
16968
17210
|
* @remarks
|
|
16969
|
-
* The
|
|
17211
|
+
* The information about the clusters returned.
|
|
16970
17212
|
*/
|
|
16971
17213
|
clusters?: DescribeClustersForRegionResponseBodyClusters[];
|
|
16972
17214
|
/**
|
|
@@ -17093,7 +17335,7 @@ export declare class DescribeClustersV1Request extends $dara.Model {
|
|
|
17093
17335
|
export declare class DescribeClustersV1ResponseBody extends $dara.Model {
|
|
17094
17336
|
/**
|
|
17095
17337
|
* @remarks
|
|
17096
|
-
*
|
|
17338
|
+
* The queried cluster(s) details.
|
|
17097
17339
|
*/
|
|
17098
17340
|
clusters?: DescribeClustersV1ResponseBodyClusters[];
|
|
17099
17341
|
/**
|
|
@@ -19413,7 +19655,7 @@ export declare class GetUpgradeStatusResponse extends $dara.Model {
|
|
|
19413
19655
|
export declare class GrantPermissionsRequest extends $dara.Model {
|
|
19414
19656
|
/**
|
|
19415
19657
|
* @remarks
|
|
19416
|
-
* The request
|
|
19658
|
+
* The request body.
|
|
19417
19659
|
*/
|
|
19418
19660
|
body?: GrantPermissionsRequestBody[];
|
|
19419
19661
|
static names(): {
|
|
@@ -19466,7 +19708,7 @@ export declare class InstallClusterAddonsRequest extends $dara.Model {
|
|
|
19466
19708
|
export declare class InstallClusterAddonsResponseBody extends $dara.Model {
|
|
19467
19709
|
/**
|
|
19468
19710
|
* @remarks
|
|
19469
|
-
* The ID
|
|
19711
|
+
* The cluster ID.
|
|
19470
19712
|
*
|
|
19471
19713
|
* @example
|
|
19472
19714
|
* c82e6987e2961451182edacd74faf****
|
|
@@ -19474,7 +19716,7 @@ export declare class InstallClusterAddonsResponseBody extends $dara.Model {
|
|
|
19474
19716
|
clusterId?: string;
|
|
19475
19717
|
/**
|
|
19476
19718
|
* @remarks
|
|
19477
|
-
* The ID
|
|
19719
|
+
* The request ID.
|
|
19478
19720
|
*
|
|
19479
19721
|
* @example
|
|
19480
19722
|
* 48BD70F6-A7E6-543D-9F23-08DEB764C92E
|
|
@@ -19482,7 +19724,7 @@ export declare class InstallClusterAddonsResponseBody extends $dara.Model {
|
|
|
19482
19724
|
requestId?: string;
|
|
19483
19725
|
/**
|
|
19484
19726
|
* @remarks
|
|
19485
|
-
* The ID
|
|
19727
|
+
* The task ID.
|
|
19486
19728
|
*
|
|
19487
19729
|
* @example
|
|
19488
19730
|
* T-5a54309c80282e39ea00002f
|
|
@@ -19882,7 +20124,7 @@ export declare class ListTagResourcesRequest extends $dara.Model {
|
|
|
19882
20124
|
resourceType?: string;
|
|
19883
20125
|
/**
|
|
19884
20126
|
* @remarks
|
|
19885
|
-
* The labels that you want to query. You can specify up to 20 labels.
|
|
20127
|
+
* The list of labels that you want to query. You can specify up to 20 labels.
|
|
19886
20128
|
*
|
|
19887
20129
|
* @example
|
|
19888
20130
|
* [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}]
|
|
@@ -19940,7 +20182,7 @@ export declare class ListTagResourcesShrinkRequest extends $dara.Model {
|
|
|
19940
20182
|
resourceType?: string;
|
|
19941
20183
|
/**
|
|
19942
20184
|
* @remarks
|
|
19943
|
-
* The labels that you want to query. You can specify up to 20 labels.
|
|
20185
|
+
* The list of labels that you want to query. You can specify up to 20 labels.
|
|
19944
20186
|
*
|
|
19945
20187
|
* @example
|
|
19946
20188
|
* [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}]
|
|
@@ -20193,7 +20435,7 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
20193
20435
|
apiServerEipId?: string;
|
|
20194
20436
|
/**
|
|
20195
20437
|
* @remarks
|
|
20196
|
-
* The name
|
|
20438
|
+
* The cluster name.
|
|
20197
20439
|
*
|
|
20198
20440
|
* The cluster name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The cluster name cannot start with a hyphen (-).
|
|
20199
20441
|
*
|
|
@@ -20213,7 +20455,7 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
20213
20455
|
* * `true`: enables cluster deletion protection.
|
|
20214
20456
|
* * `false`: disables cluster deletion protection.
|
|
20215
20457
|
*
|
|
20216
|
-
* Default value: `false
|
|
20458
|
+
* Default value: `false`
|
|
20217
20459
|
*
|
|
20218
20460
|
* @example
|
|
20219
20461
|
* true
|
|
@@ -20237,7 +20479,7 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
20237
20479
|
* * `true`: remaps the test domain name of the cluster.
|
|
20238
20480
|
* * `false`: does not remap the test domain name of the cluster.
|
|
20239
20481
|
*
|
|
20240
|
-
* Default value: `false
|
|
20482
|
+
* Default value: `false`
|
|
20241
20483
|
*
|
|
20242
20484
|
* @example
|
|
20243
20485
|
* true
|
|
@@ -20258,7 +20500,7 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
20258
20500
|
* * `true`: enables instance deletion protection.
|
|
20259
20501
|
* * `false`: disables instance deletion protection.
|
|
20260
20502
|
*
|
|
20261
|
-
* Default value: `false
|
|
20503
|
+
* Default value: `false`
|
|
20262
20504
|
*
|
|
20263
20505
|
* @example
|
|
20264
20506
|
* true
|
|
@@ -20282,17 +20524,56 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
20282
20524
|
* rg-acfmyvw3wjm****
|
|
20283
20525
|
*/
|
|
20284
20526
|
resourceGroupId?: string;
|
|
20527
|
+
/**
|
|
20528
|
+
* @remarks
|
|
20529
|
+
* The ID of the security group for the control plane.
|
|
20530
|
+
*
|
|
20531
|
+
* - If block rules are configured in the security group, ensure the security group rules allow traffic for protocols and ports required by the cluster. For recommended security group rules, see [Configure and manage security groups for an ACK cluster](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/user-guide/configure-security-group-rules-to-enforce-access-control-on-ack-clusters?spm=a2c63.p38356.help-menu-85222.d_2_0_4_3.43e35d09s8oSlR).
|
|
20532
|
+
*
|
|
20533
|
+
* - For non-ACK dedicated clusters:
|
|
20534
|
+
* - During security group updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
20535
|
+
* - After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
20536
|
+
*
|
|
20537
|
+
* - For ACK dedicated clusters:
|
|
20538
|
+
* - After updating the control plane security group, newly scaled-out master nodes will automatically apply the new security group. Existing control plane nodes remain unaffected.
|
|
20539
|
+
*
|
|
20540
|
+
* @example
|
|
20541
|
+
* sg-bp1h6rk3pgct2a08***
|
|
20542
|
+
*/
|
|
20543
|
+
securityGroupId?: string;
|
|
20285
20544
|
/**
|
|
20286
20545
|
* @remarks
|
|
20287
20546
|
* The storage configurations of system events.
|
|
20288
20547
|
*/
|
|
20289
20548
|
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
20549
|
+
/**
|
|
20550
|
+
* @remarks
|
|
20551
|
+
* The time zone configuration for the cluster.
|
|
20552
|
+
*
|
|
20553
|
+
* - After modifying the time zone, cluster inspection configurations will adopt the new time zone.
|
|
20554
|
+
*
|
|
20555
|
+
* - For ACK managed clusters:
|
|
20556
|
+
* - During time zone updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
20557
|
+
* - After updating the time zone:
|
|
20558
|
+
* - Newly scaled-out nodes will automatically apply the new time zone.
|
|
20559
|
+
* - Existing nodes remain unaffected. Reset the node to apply changes to existing nodes.
|
|
20560
|
+
*
|
|
20561
|
+
* - For ACK dedicated clusters:
|
|
20562
|
+
* - After updating the time zone:
|
|
20563
|
+
* - Newly scaled-out nodes (including control plane nodes) automatically apply the new time zone.
|
|
20564
|
+
* - Existing nodes (including control plane nodes) remain unaffected. Reset the node to apply changes to existing nodes.
|
|
20565
|
+
* - For control plane nodes, perform a scale-out followed by a scale-in to apply the new time zone to all control plane nodes.
|
|
20566
|
+
*
|
|
20567
|
+
* @example
|
|
20568
|
+
* Asia/Shanghai
|
|
20569
|
+
*/
|
|
20570
|
+
timezone?: string;
|
|
20290
20571
|
/**
|
|
20291
20572
|
* @remarks
|
|
20292
20573
|
* The vSwitches of the control plane. This parameter can be used to change the vSwitches of the control plane in an ACK managed cluster. Take note of the following items:
|
|
20293
20574
|
*
|
|
20294
20575
|
* * This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane.
|
|
20295
|
-
* * The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
20576
|
+
* * The control plane components restarts during the change process. Exercise caution when you perform this operation.
|
|
20296
20577
|
* * Ensure that all security groups of the cluster, including the security groups of the control plane, 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.
|
|
20297
20578
|
* * If the new vSwitches of the control plane are configured with an ACL, ensure that the ACL allows communication between the new vSwitches and CIDR blocks such as those of the cluster nodes and the container network.
|
|
20298
20579
|
*/
|
|
@@ -20456,7 +20737,7 @@ export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
20456
20737
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
20457
20738
|
/**
|
|
20458
20739
|
* @remarks
|
|
20459
|
-
* The
|
|
20740
|
+
* The configuration of the node pool.
|
|
20460
20741
|
*/
|
|
20461
20742
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
20462
20743
|
/**
|
|
@@ -20544,7 +20825,7 @@ export declare class ModifyClusterNodePoolResponse extends $dara.Model {
|
|
|
20544
20825
|
export declare class ModifyClusterTagsRequest extends $dara.Model {
|
|
20545
20826
|
/**
|
|
20546
20827
|
* @remarks
|
|
20547
|
-
* The data of the
|
|
20828
|
+
* The data of the tags that you want to modify.
|
|
20548
20829
|
*/
|
|
20549
20830
|
body?: Tag[];
|
|
20550
20831
|
static names(): {
|
|
@@ -20575,6 +20856,7 @@ export declare class ModifyClusterTagsResponse extends $dara.Model {
|
|
|
20575
20856
|
});
|
|
20576
20857
|
}
|
|
20577
20858
|
export declare class ModifyNodePoolNodeConfigRequest extends $dara.Model {
|
|
20859
|
+
containerdConfig?: ContainerdConfig;
|
|
20578
20860
|
/**
|
|
20579
20861
|
* @remarks
|
|
20580
20862
|
* The kubelet configuration.
|
|
@@ -20587,7 +20869,7 @@ export declare class ModifyNodePoolNodeConfigRequest extends $dara.Model {
|
|
|
20587
20869
|
osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
|
|
20588
20870
|
/**
|
|
20589
20871
|
* @remarks
|
|
20590
|
-
* The
|
|
20872
|
+
* The rolling update configuration.
|
|
20591
20873
|
*/
|
|
20592
20874
|
rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
|
|
20593
20875
|
static names(): {
|
|
@@ -21059,20 +21341,26 @@ export declare class RemoveNodePoolNodesResponse extends $dara.Model {
|
|
|
21059
21341
|
export declare class RepairClusterNodePoolRequest extends $dara.Model {
|
|
21060
21342
|
/**
|
|
21061
21343
|
* @remarks
|
|
21062
|
-
* Specifies whether to
|
|
21344
|
+
* Specifies whether to enable automatic instance restart.
|
|
21345
|
+
*
|
|
21346
|
+
* **
|
|
21347
|
+
*
|
|
21348
|
+
* **Warning** This parameter is deprecated. Any configured values will be ignored.
|
|
21063
21349
|
*
|
|
21064
21350
|
* @example
|
|
21065
21351
|
* true
|
|
21352
|
+
*
|
|
21353
|
+
* @deprecated
|
|
21066
21354
|
*/
|
|
21067
21355
|
autoRestart?: boolean;
|
|
21068
21356
|
/**
|
|
21069
21357
|
* @remarks
|
|
21070
|
-
* The list of nodes. If
|
|
21358
|
+
* The list of nodes. If not specified, all nodes in the node pool are selected.
|
|
21071
21359
|
*/
|
|
21072
21360
|
nodes?: string[];
|
|
21073
21361
|
/**
|
|
21074
21362
|
* @remarks
|
|
21075
|
-
* The repair
|
|
21363
|
+
* The list of repair operations to execute. If not specified, all repair operations are executed. Typically, you do not need to specify this parameter.
|
|
21076
21364
|
*/
|
|
21077
21365
|
operations?: RepairClusterNodePoolRequestOperations[];
|
|
21078
21366
|
static names(): {
|
|
@@ -21436,7 +21724,7 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21436
21724
|
count?: number;
|
|
21437
21725
|
/**
|
|
21438
21726
|
* @remarks
|
|
21439
|
-
* The CPU management policy of nodes. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
21727
|
+
* The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
21440
21728
|
*
|
|
21441
21729
|
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
21442
21730
|
* * `none`: specifies that the default CPU affinity is used.
|
|
@@ -21487,15 +21775,15 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21487
21775
|
runtime?: Runtime;
|
|
21488
21776
|
/**
|
|
21489
21777
|
* @remarks
|
|
21490
|
-
* The
|
|
21778
|
+
* The labels that you want to add to the node. When you add labels to a node, the following rules apply:
|
|
21491
21779
|
*
|
|
21492
21780
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
21493
|
-
* *
|
|
21781
|
+
* * The key must be unique and cannot exceed 64 characters in length. The value can be empty and 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).
|
|
21494
21782
|
*/
|
|
21495
21783
|
tags?: Tag[];
|
|
21496
21784
|
/**
|
|
21497
21785
|
* @remarks
|
|
21498
|
-
* The taints that you want to add to nodes. Taints can be used together with tolerations to
|
|
21786
|
+
* 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/).
|
|
21499
21787
|
*/
|
|
21500
21788
|
taints?: Taint[];
|
|
21501
21789
|
/**
|
|
@@ -21518,9 +21806,9 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21518
21806
|
* Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect and is required only if `worker_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
21519
21807
|
*
|
|
21520
21808
|
* * `true`: enables auto-renewal.
|
|
21521
|
-
* * `false`:
|
|
21809
|
+
* * `false`: does not enable auto-renewal.
|
|
21522
21810
|
*
|
|
21523
|
-
* Default value: `true
|
|
21811
|
+
* Default value: `true`
|
|
21524
21812
|
*
|
|
21525
21813
|
* @example
|
|
21526
21814
|
* true
|
|
@@ -21550,7 +21838,7 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21550
21838
|
* * `PrePaid`: subscription.
|
|
21551
21839
|
* * `PostPaid`: pay-as-you-go.
|
|
21552
21840
|
*
|
|
21553
|
-
* Default value: `PostPaid
|
|
21841
|
+
* Default value: `PostPaid`.
|
|
21554
21842
|
*
|
|
21555
21843
|
* @example
|
|
21556
21844
|
* PrePaid
|
|
@@ -21569,7 +21857,7 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21569
21857
|
*
|
|
21570
21858
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
21571
21859
|
*
|
|
21572
|
-
* Default value: 1
|
|
21860
|
+
* Default value: 1.
|
|
21573
21861
|
*
|
|
21574
21862
|
* @example
|
|
21575
21863
|
* 1
|
|
@@ -21579,7 +21867,7 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21579
21867
|
* @remarks
|
|
21580
21868
|
* The billing cycle of worker nodes. This parameter is required only if worker_instance_charge_type is set to `PrePaid`.
|
|
21581
21869
|
*
|
|
21582
|
-
* Set the value to `Month`.
|
|
21870
|
+
* Set the value to `Month`.
|
|
21583
21871
|
*
|
|
21584
21872
|
* @example
|
|
21585
21873
|
* Month
|
|
@@ -21587,7 +21875,7 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21587
21875
|
workerPeriodUnit?: string;
|
|
21588
21876
|
/**
|
|
21589
21877
|
* @remarks
|
|
21590
|
-
* The system disk
|
|
21878
|
+
* The system disk category of worker nodes. Valid values:
|
|
21591
21879
|
*
|
|
21592
21880
|
* * `cloud_efficiency`: ultra disk.
|
|
21593
21881
|
* * `cloud_ssd`: standard SSD.
|
|
@@ -21727,12 +22015,18 @@ export declare class ScanClusterVulsResponse extends $dara.Model {
|
|
|
21727
22015
|
export declare class StartAlertRequest extends $dara.Model {
|
|
21728
22016
|
/**
|
|
21729
22017
|
* @remarks
|
|
21730
|
-
* The name of the alert rule
|
|
22018
|
+
* The name of the alert rule group.
|
|
22019
|
+
*
|
|
22020
|
+
* @example
|
|
22021
|
+
* sample
|
|
21731
22022
|
*/
|
|
21732
22023
|
alertRuleGroupName?: string;
|
|
21733
22024
|
/**
|
|
21734
22025
|
* @remarks
|
|
21735
|
-
* The name of the alert rule
|
|
22026
|
+
* The name of the alert rule.
|
|
22027
|
+
*
|
|
22028
|
+
* @example
|
|
22029
|
+
* sample
|
|
21736
22030
|
*/
|
|
21737
22031
|
alertRuleName?: string;
|
|
21738
22032
|
static names(): {
|
|
@@ -21794,12 +22088,18 @@ export declare class StartAlertResponse extends $dara.Model {
|
|
|
21794
22088
|
export declare class StopAlertRequest extends $dara.Model {
|
|
21795
22089
|
/**
|
|
21796
22090
|
* @remarks
|
|
21797
|
-
* The name of the alert rule
|
|
22091
|
+
* The name of the alert rule group.
|
|
22092
|
+
*
|
|
22093
|
+
* @example
|
|
22094
|
+
* sample
|
|
21798
22095
|
*/
|
|
21799
22096
|
alertRuleGroupName?: string;
|
|
21800
22097
|
/**
|
|
21801
22098
|
* @remarks
|
|
21802
|
-
* The name of the alert rule
|
|
22099
|
+
* The name of the alert rule.
|
|
22100
|
+
*
|
|
22101
|
+
* @example
|
|
22102
|
+
* sample
|
|
21803
22103
|
*/
|
|
21804
22104
|
alertRuleName?: string;
|
|
21805
22105
|
static names(): {
|
|
@@ -21918,7 +22218,7 @@ export declare class TagResourcesRequest extends $dara.Model {
|
|
|
21918
22218
|
resourceIds?: string[];
|
|
21919
22219
|
/**
|
|
21920
22220
|
* @remarks
|
|
21921
|
-
* The type of resources that you want to label.
|
|
22221
|
+
* The type of resources that you want to label. Set the value to `CLUSTER`.
|
|
21922
22222
|
*
|
|
21923
22223
|
* This parameter is required.
|
|
21924
22224
|
*
|
|
@@ -21930,9 +22230,9 @@ export declare class TagResourcesRequest extends $dara.Model {
|
|
|
21930
22230
|
* @remarks
|
|
21931
22231
|
* The tags that you want to add to the resources in key-value pairs. You can add up to 20 key-value pairs. Note:
|
|
21932
22232
|
*
|
|
21933
|
-
* * The values
|
|
21934
|
-
* * A key or value
|
|
21935
|
-
* * A key or value
|
|
22233
|
+
* * The values cannot be empty strings. A value must be 1 to 128 characters in length.
|
|
22234
|
+
* * A key or value cannot start with `aliyun` or `acs:`.
|
|
22235
|
+
* * A key or value cannot contain `http://` or `https://`.
|
|
21936
22236
|
*
|
|
21937
22237
|
* This parameter is required.
|
|
21938
22238
|
*/
|
|
@@ -22220,10 +22520,10 @@ export declare class UpdateClusterAuditLogConfigRequest extends $dara.Model {
|
|
|
22220
22520
|
disable?: boolean;
|
|
22221
22521
|
/**
|
|
22222
22522
|
* @remarks
|
|
22223
|
-
* The [Simple Log Service project](https://help.aliyun.com/document_detail/48873.html) to which the [Logstore](https://help.aliyun.com/document_detail/48873.html)
|
|
22523
|
+
* The [Simple Log Service project](https://help.aliyun.com/document_detail/48873.html) to which the [Logstore](https://help.aliyun.com/document_detail/48873.html) storing the cluster audit logs belongs.
|
|
22224
22524
|
*
|
|
22225
22525
|
* * Default value: k8s-log-{clusterid}.
|
|
22226
|
-
* * After the cluster audit log feature is enabled, a Logstore is created in the specified
|
|
22526
|
+
* * After the cluster audit log feature is enabled, a Logstore is created in the specified Simple Log Service project to store cluster audit logs.
|
|
22227
22527
|
* * If you want to change the project after audit logging is enabled for the cluster, you can use this parameter to specify another project. You can perform this operation only in ACK managed clusters.
|
|
22228
22528
|
*
|
|
22229
22529
|
* @example
|
|
@@ -22295,9 +22595,34 @@ export declare class UpdateClusterAuditLogConfigResponse extends $dara.Model {
|
|
|
22295
22595
|
});
|
|
22296
22596
|
}
|
|
22297
22597
|
export declare class UpdateContactGroupForAlertRequest extends $dara.Model {
|
|
22598
|
+
/**
|
|
22599
|
+
* @remarks
|
|
22600
|
+
* The name of the alert contact group.
|
|
22601
|
+
*
|
|
22602
|
+
* @example
|
|
22603
|
+
* sample
|
|
22604
|
+
*/
|
|
22298
22605
|
alertRuleGroupName?: string;
|
|
22606
|
+
/**
|
|
22607
|
+
* @remarks
|
|
22608
|
+
* The list of contact group IDs.
|
|
22609
|
+
*/
|
|
22299
22610
|
contactGroupIds?: number[];
|
|
22611
|
+
/**
|
|
22612
|
+
* @remarks
|
|
22613
|
+
* The name of the container registry instance.
|
|
22614
|
+
*
|
|
22615
|
+
* @example
|
|
22616
|
+
* sample
|
|
22617
|
+
*/
|
|
22300
22618
|
crName?: string;
|
|
22619
|
+
/**
|
|
22620
|
+
* @remarks
|
|
22621
|
+
* The namespace in which the resource resides.
|
|
22622
|
+
*
|
|
22623
|
+
* @example
|
|
22624
|
+
* default
|
|
22625
|
+
*/
|
|
22301
22626
|
namespace?: string;
|
|
22302
22627
|
static names(): {
|
|
22303
22628
|
[key: string]: string;
|
|
@@ -22311,7 +22636,24 @@ export declare class UpdateContactGroupForAlertRequest extends $dara.Model {
|
|
|
22311
22636
|
});
|
|
22312
22637
|
}
|
|
22313
22638
|
export declare class UpdateContactGroupForAlertResponseBody extends $dara.Model {
|
|
22639
|
+
/**
|
|
22640
|
+
* @remarks
|
|
22641
|
+
* The error message returned if the call fails.
|
|
22642
|
+
*
|
|
22643
|
+
* @example
|
|
22644
|
+
* contact group illegal.
|
|
22645
|
+
*/
|
|
22314
22646
|
msg?: string;
|
|
22647
|
+
/**
|
|
22648
|
+
* @remarks
|
|
22649
|
+
* The update status.
|
|
22650
|
+
*
|
|
22651
|
+
* * true: The update is successful.
|
|
22652
|
+
* * false: The update failed.
|
|
22653
|
+
*
|
|
22654
|
+
* @example
|
|
22655
|
+
* true
|
|
22656
|
+
*/
|
|
22315
22657
|
status?: boolean;
|
|
22316
22658
|
static names(): {
|
|
22317
22659
|
[key: string]: string;
|
|
@@ -22690,8 +23032,8 @@ export declare class UpdateUserPermissionsRequest extends $dara.Model {
|
|
|
22690
23032
|
* The authorization method. Valid values:
|
|
22691
23033
|
*
|
|
22692
23034
|
* * `apply`: updates all permissions of the RAM user or RAM role. If you use this method, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
|
|
22693
|
-
* * `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.
|
|
22694
|
-
* * `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.
|
|
23035
|
+
* * `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, while other permissions of the RAM user or RAM role on the cluster are not affected.
|
|
23036
|
+
* * `patch`: grants the specified permissions to the RAM user or role. If you use this method, only the permissions that you specify are granted, while other permissions of the RAM user or RAM role on the cluster are not affected.
|
|
22695
23037
|
*
|
|
22696
23038
|
* Default value: `apply`.
|
|
22697
23039
|
*
|
|
@@ -22729,7 +23071,7 @@ export declare class UpdateUserPermissionsResponse extends $dara.Model {
|
|
|
22729
23071
|
export declare class UpgradeClusterRequest extends $dara.Model {
|
|
22730
23072
|
/**
|
|
22731
23073
|
* @remarks
|
|
22732
|
-
* This parameter is deprecated.
|
|
23074
|
+
* This parameter is deprecated. No need to pass values.
|
|
22733
23075
|
*
|
|
22734
23076
|
* @example
|
|
22735
23077
|
* k8s
|
|
@@ -22739,10 +23081,10 @@ export declare class UpgradeClusterRequest extends $dara.Model {
|
|
|
22739
23081
|
componentName?: string;
|
|
22740
23082
|
/**
|
|
22741
23083
|
* @remarks
|
|
22742
|
-
* Specifies whether to
|
|
23084
|
+
* Specifies whether to upgrade only master nodes. Valid values:
|
|
22743
23085
|
*
|
|
22744
|
-
* * true:
|
|
22745
|
-
* * false:
|
|
23086
|
+
* * true: upgrades master nodes only.
|
|
23087
|
+
* * false: upgrades both master and worker nodes.
|
|
22746
23088
|
*
|
|
22747
23089
|
* @example
|
|
22748
23090
|
* true
|
|
@@ -22750,7 +23092,7 @@ export declare class UpgradeClusterRequest extends $dara.Model {
|
|
|
22750
23092
|
masterOnly?: boolean;
|
|
22751
23093
|
/**
|
|
22752
23094
|
* @remarks
|
|
22753
|
-
* The Kubernetes version
|
|
23095
|
+
* The target Kubernetes version for cluster upgrade.
|
|
22754
23096
|
*
|
|
22755
23097
|
* @example
|
|
22756
23098
|
* 1.16.9-aliyun.1
|
|
@@ -22758,12 +23100,12 @@ export declare class UpgradeClusterRequest extends $dara.Model {
|
|
|
22758
23100
|
nextVersion?: string;
|
|
22759
23101
|
/**
|
|
22760
23102
|
* @remarks
|
|
22761
|
-
* The
|
|
23103
|
+
* The rolling update configuration.
|
|
22762
23104
|
*/
|
|
22763
23105
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
22764
23106
|
/**
|
|
22765
23107
|
* @remarks
|
|
22766
|
-
* This parameter is deprecated.
|
|
23108
|
+
* This parameter is deprecated. Use next_version to specify the upgrade target Kubernetes version.
|
|
22767
23109
|
*
|
|
22768
23110
|
* @example
|
|
22769
23111
|
* 1.14.8-aliyun.1
|
|
@@ -23142,7 +23484,7 @@ export default class Client extends OpenApi {
|
|
|
23142
23484
|
*/
|
|
23143
23485
|
checkControlPlaneLogEnable(ClusterId: string): Promise<CheckControlPlaneLogEnableResponse>;
|
|
23144
23486
|
/**
|
|
23145
|
-
* Checks whether the specified service
|
|
23487
|
+
* Checks whether the specified service roles are granted to Container Service for Kubernetes (ACK) within the current Alibaba Cloud account. ACK can access other cloud services, such as Elastic Compute Service (ECS), Object Storage Service (OSS), File Storage NAS (NAS), and Server Load Balancer (SLB), only after ACK is assigned the required service roles.
|
|
23146
23488
|
*
|
|
23147
23489
|
* @param request - CheckServiceRoleRequest
|
|
23148
23490
|
* @param headers - map
|
|
@@ -23153,7 +23495,7 @@ export default class Client extends OpenApi {
|
|
|
23153
23495
|
[key: string]: string;
|
|
23154
23496
|
}, runtime: $dara.RuntimeOptions): Promise<CheckServiceRoleResponse>;
|
|
23155
23497
|
/**
|
|
23156
|
-
* Checks whether the specified service
|
|
23498
|
+
* Checks whether the specified service roles are granted to Container Service for Kubernetes (ACK) within the current Alibaba Cloud account. ACK can access other cloud services, such as Elastic Compute Service (ECS), Object Storage Service (OSS), File Storage NAS (NAS), and Server Load Balancer (SLB), only after ACK is assigned the required service roles.
|
|
23157
23499
|
*
|
|
23158
23500
|
* @param request - CheckServiceRoleRequest
|
|
23159
23501
|
* @returns CheckServiceRoleResponse
|
|
@@ -23236,16 +23578,16 @@ export default class Client extends OpenApi {
|
|
|
23236
23578
|
*/
|
|
23237
23579
|
createAutoscalingConfig(ClusterId: string, request: CreateAutoscalingConfigRequest): Promise<CreateAutoscalingConfigResponse>;
|
|
23238
23580
|
/**
|
|
23239
|
-
*
|
|
23581
|
+
* Creates a Container Service for Kubernetes (ACK) cluster. For example, you can create an ACK managed cluster, ACK Serverless cluster, ACK Edge cluster, or registered cluster. When you create an ACK cluster, you need to configure the cluster information, components, and cloud resources used by ACK.
|
|
23240
23582
|
*
|
|
23241
23583
|
* @remarks
|
|
23242
|
-
*
|
|
23243
|
-
*
|
|
23244
|
-
*
|
|
23245
|
-
*
|
|
23246
|
-
*
|
|
23247
|
-
*
|
|
23248
|
-
*
|
|
23584
|
+
* ### [](#-openapi-)Generate API request parameters in the ACK console
|
|
23585
|
+
* When you fail to create an ACK cluster by calling the CreateCluster operation due to invalid parameter settings, you can generate valid API request parameters in the ACK console. Procedure:
|
|
23586
|
+
* 1. Log on to the [ACK console](javascript:void\\(0\\)). In the left-side navigation pane, click **Clusters**.
|
|
23587
|
+
* 2. On the **Cluster** page, click **Cluster Templates**.
|
|
23588
|
+
* 3. In the Select Cluster Template dialog box, select the type of cluster that you want to create and click Create. Then, configure the cluster setting parameters.
|
|
23589
|
+
* 4. After you configure the cluster parameters, click **Generate API Request Parameters** in the **Confirm Order** step.
|
|
23590
|
+
* The API request parameters are displayed in the API Request Parameters dialog box.
|
|
23249
23591
|
*
|
|
23250
23592
|
* @param request - CreateClusterRequest
|
|
23251
23593
|
* @param headers - map
|
|
@@ -23256,16 +23598,16 @@ export default class Client extends OpenApi {
|
|
|
23256
23598
|
[key: string]: string;
|
|
23257
23599
|
}, runtime: $dara.RuntimeOptions): Promise<CreateClusterResponse>;
|
|
23258
23600
|
/**
|
|
23259
|
-
*
|
|
23601
|
+
* Creates a Container Service for Kubernetes (ACK) cluster. For example, you can create an ACK managed cluster, ACK Serverless cluster, ACK Edge cluster, or registered cluster. When you create an ACK cluster, you need to configure the cluster information, components, and cloud resources used by ACK.
|
|
23260
23602
|
*
|
|
23261
23603
|
* @remarks
|
|
23262
|
-
*
|
|
23263
|
-
*
|
|
23264
|
-
*
|
|
23265
|
-
*
|
|
23266
|
-
*
|
|
23267
|
-
*
|
|
23268
|
-
*
|
|
23604
|
+
* ### [](#-openapi-)Generate API request parameters in the ACK console
|
|
23605
|
+
* When you fail to create an ACK cluster by calling the CreateCluster operation due to invalid parameter settings, you can generate valid API request parameters in the ACK console. Procedure:
|
|
23606
|
+
* 1. Log on to the [ACK console](javascript:void\\(0\\)). In the left-side navigation pane, click **Clusters**.
|
|
23607
|
+
* 2. On the **Cluster** page, click **Cluster Templates**.
|
|
23608
|
+
* 3. In the Select Cluster Template dialog box, select the type of cluster that you want to create and click Create. Then, configure the cluster setting parameters.
|
|
23609
|
+
* 4. After you configure the cluster parameters, click **Generate API Request Parameters** in the **Confirm Order** step.
|
|
23610
|
+
* The API request parameters are displayed in the API Request Parameters dialog box.
|
|
23269
23611
|
*
|
|
23270
23612
|
* @param request - CreateClusterRequest
|
|
23271
23613
|
* @returns CreateClusterResponse
|
|
@@ -23422,6 +23764,14 @@ export default class Client extends OpenApi {
|
|
|
23422
23764
|
/**
|
|
23423
23765
|
* You can call the DeleteCluster operation to delete a cluster and specify whether to delete or retain the relevant cluster resources. Before you delete a cluster, you must manually delete workloads in the cluster, such as Deployments, StatefulSets, Jobs, and CronJobs. Otherwise, you may fail to delete the cluster.
|
|
23424
23766
|
*
|
|
23767
|
+
* @remarks
|
|
23768
|
+
* Warning:
|
|
23769
|
+
* * Subscription ECS instances and Lingjun nodes in a cluster cannot be automatically released. To avoid unnecessary costs, we recommend that you manually release the resources. For more information, see \\<a href="{0}" target="_blank">Rules for deleting clusters and releasing nodes\\</a>.
|
|
23770
|
+
* * If the SLB instance of the API server uses the subscription billing method, it cannot be automatically released. To avoid unnecessary costs, we recommend that you manually release it.
|
|
23771
|
+
* * By default, virtual private clouds (VPCs), vSwitches, security groups, and RAM roles are retained if they are used by other resources. To avoid unnecessary costs, we recommend that you manually release the resources.
|
|
23772
|
+
* * Elastic container instances created on virtual nodes are automatically released.
|
|
23773
|
+
* * Some resources created together with a cluster are not automatically released when the cluster is deleted. After the cluster is deleted, you are still charged for the resources. Release or retain the resources based on your actual needs. The resources include Simple Log Service projects automatically created by the cluster and dynamically provisioned disks.
|
|
23774
|
+
*
|
|
23425
23775
|
* @param tmpReq - DeleteClusterRequest
|
|
23426
23776
|
* @param headers - map
|
|
23427
23777
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23433,6 +23783,14 @@ export default class Client extends OpenApi {
|
|
|
23433
23783
|
/**
|
|
23434
23784
|
* You can call the DeleteCluster operation to delete a cluster and specify whether to delete or retain the relevant cluster resources. Before you delete a cluster, you must manually delete workloads in the cluster, such as Deployments, StatefulSets, Jobs, and CronJobs. Otherwise, you may fail to delete the cluster.
|
|
23435
23785
|
*
|
|
23786
|
+
* @remarks
|
|
23787
|
+
* Warning:
|
|
23788
|
+
* * Subscription ECS instances and Lingjun nodes in a cluster cannot be automatically released. To avoid unnecessary costs, we recommend that you manually release the resources. For more information, see \\<a href="{0}" target="_blank">Rules for deleting clusters and releasing nodes\\</a>.
|
|
23789
|
+
* * If the SLB instance of the API server uses the subscription billing method, it cannot be automatically released. To avoid unnecessary costs, we recommend that you manually release it.
|
|
23790
|
+
* * By default, virtual private clouds (VPCs), vSwitches, security groups, and RAM roles are retained if they are used by other resources. To avoid unnecessary costs, we recommend that you manually release the resources.
|
|
23791
|
+
* * Elastic container instances created on virtual nodes are automatically released.
|
|
23792
|
+
* * Some resources created together with a cluster are not automatically released when the cluster is deleted. After the cluster is deleted, you are still charged for the resources. Release or retain the resources based on your actual needs. The resources include Simple Log Service projects automatically created by the cluster and dynamically provisioned disks.
|
|
23793
|
+
*
|
|
23436
23794
|
* @param request - DeleteClusterRequest
|
|
23437
23795
|
* @returns DeleteClusterResponse
|
|
23438
23796
|
*/
|
|
@@ -24103,7 +24461,7 @@ export default class Client extends OpenApi {
|
|
|
24103
24461
|
*/
|
|
24104
24462
|
describeEventsForRegion(regionId: string, request: DescribeEventsForRegionRequest): Promise<DescribeEventsForRegionResponse>;
|
|
24105
24463
|
/**
|
|
24106
|
-
* Queries the proxy configurations of a registered cluster
|
|
24464
|
+
* Queries the proxy configurations of a registered cluster by cluster ID.
|
|
24107
24465
|
*
|
|
24108
24466
|
* @remarks
|
|
24109
24467
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -24119,7 +24477,7 @@ export default class Client extends OpenApi {
|
|
|
24119
24477
|
[key: string]: string;
|
|
24120
24478
|
}, runtime: $dara.RuntimeOptions): Promise<DescribeExternalAgentResponse>;
|
|
24121
24479
|
/**
|
|
24122
|
-
* Queries the proxy configurations of a registered cluster
|
|
24480
|
+
* Queries the proxy configurations of a registered cluster by cluster ID.
|
|
24123
24481
|
*
|
|
24124
24482
|
* @remarks
|
|
24125
24483
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -24476,7 +24834,7 @@ export default class Client extends OpenApi {
|
|
|
24476
24834
|
*/
|
|
24477
24835
|
getClusterAddonInstance(clusterId: string, instanceName: string): Promise<GetClusterAddonInstanceResponse>;
|
|
24478
24836
|
/**
|
|
24479
|
-
* You can call the GetClusterAuditProject operation to
|
|
24837
|
+
* You can call the GetClusterAuditProject operation to check whether the cluster has API Server auditing enabled and the corresponding Simple Log Service project that stores API Server audit logs.
|
|
24480
24838
|
*
|
|
24481
24839
|
* @param headers - map
|
|
24482
24840
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -24486,7 +24844,7 @@ export default class Client extends OpenApi {
|
|
|
24486
24844
|
[key: string]: string;
|
|
24487
24845
|
}, runtime: $dara.RuntimeOptions): Promise<GetClusterAuditProjectResponse>;
|
|
24488
24846
|
/**
|
|
24489
|
-
* You can call the GetClusterAuditProject operation to
|
|
24847
|
+
* You can call the GetClusterAuditProject operation to check whether the cluster has API Server auditing enabled and the corresponding Simple Log Service project that stores API Server audit logs.
|
|
24490
24848
|
* @returns GetClusterAuditProjectResponse
|
|
24491
24849
|
*/
|
|
24492
24850
|
getClusterAuditProject(clusterid: string): Promise<GetClusterAuditProjectResponse>;
|
|
@@ -24872,7 +25230,7 @@ export default class Client extends OpenApi {
|
|
|
24872
25230
|
*/
|
|
24873
25231
|
modifyClusterNodePool(ClusterId: string, NodepoolId: string, request: ModifyClusterNodePoolRequest): Promise<ModifyClusterNodePoolResponse>;
|
|
24874
25232
|
/**
|
|
24875
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
25233
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
24876
25234
|
*
|
|
24877
25235
|
* @param request - ModifyClusterTagsRequest
|
|
24878
25236
|
* @param headers - map
|
|
@@ -24883,7 +25241,7 @@ export default class Client extends OpenApi {
|
|
|
24883
25241
|
[key: string]: string;
|
|
24884
25242
|
}, runtime: $dara.RuntimeOptions): Promise<ModifyClusterTagsResponse>;
|
|
24885
25243
|
/**
|
|
24886
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
25244
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
24887
25245
|
*
|
|
24888
25246
|
* @param request - ModifyClusterTagsRequest
|
|
24889
25247
|
* @returns ModifyClusterTagsResponse
|
|
@@ -25264,6 +25622,8 @@ export default class Client extends OpenApi {
|
|
|
25264
25622
|
*/
|
|
25265
25623
|
scanClusterVuls(clusterId: string): Promise<ScanClusterVulsResponse>;
|
|
25266
25624
|
/**
|
|
25625
|
+
* Activates the specified alert rule(s).
|
|
25626
|
+
*
|
|
25267
25627
|
* @param request - StartAlertRequest
|
|
25268
25628
|
* @param headers - map
|
|
25269
25629
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -25273,6 +25633,8 @@ export default class Client extends OpenApi {
|
|
|
25273
25633
|
[key: string]: string;
|
|
25274
25634
|
}, runtime: $dara.RuntimeOptions): Promise<StartAlertResponse>;
|
|
25275
25635
|
/**
|
|
25636
|
+
* Activates the specified alert rule(s).
|
|
25637
|
+
*
|
|
25276
25638
|
* @param request - StartAlertRequest
|
|
25277
25639
|
* @returns StartAlertResponse
|
|
25278
25640
|
*/
|
|
@@ -25368,7 +25730,7 @@ export default class Client extends OpenApi {
|
|
|
25368
25730
|
* You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
|
|
25369
25731
|
*
|
|
25370
25732
|
* @remarks
|
|
25371
|
-
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing)
|
|
25733
|
+
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing).
|
|
25372
25734
|
*
|
|
25373
25735
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
25374
25736
|
* @param headers - map
|
|
@@ -25382,7 +25744,7 @@ export default class Client extends OpenApi {
|
|
|
25382
25744
|
* You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
|
|
25383
25745
|
*
|
|
25384
25746
|
* @remarks
|
|
25385
|
-
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing)
|
|
25747
|
+
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing).
|
|
25386
25748
|
*
|
|
25387
25749
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
25388
25750
|
* @returns UpdateClusterAuditLogConfigResponse
|
|
@@ -25451,7 +25813,7 @@ export default class Client extends OpenApi {
|
|
|
25451
25813
|
*/
|
|
25452
25814
|
updateK8sClusterUserConfigExpire(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest): Promise<UpdateK8sClusterUserConfigExpireResponse>;
|
|
25453
25815
|
/**
|
|
25454
|
-
* Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services.
|
|
25816
|
+
* Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services. You can call this operation to enable deletion protection for namespaces or Services that involve businesses-critical and sensitive data to avoid incurring maintenance costs caused by accidental namespace or Service deletion.
|
|
25455
25817
|
*
|
|
25456
25818
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
25457
25819
|
* @param headers - map
|
|
@@ -25462,7 +25824,7 @@ export default class Client extends OpenApi {
|
|
|
25462
25824
|
[key: string]: string;
|
|
25463
25825
|
}, runtime: $dara.RuntimeOptions): Promise<UpdateResourcesDeleteProtectionResponse>;
|
|
25464
25826
|
/**
|
|
25465
|
-
* Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services.
|
|
25827
|
+
* Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services. You can call this operation to enable deletion protection for namespaces or Services that involve businesses-critical and sensitive data to avoid incurring maintenance costs caused by accidental namespace or Service deletion.
|
|
25466
25828
|
*
|
|
25467
25829
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
25468
25830
|
* @returns UpdateResourcesDeleteProtectionResponse
|