@alicloud/cs20151215 4.8.11 → 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 +681 -352
- package/dist/client.js +59 -28
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +699 -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
|
|
@@ -12456,7 +12547,7 @@ export declare class CleanUserPermissionsResponse extends $dara.Model {
|
|
|
12456
12547
|
export declare class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
12457
12548
|
/**
|
|
12458
12549
|
* @remarks
|
|
12459
|
-
* 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.
|
|
12460
12551
|
*
|
|
12461
12552
|
* @example
|
|
12462
12553
|
* 10 m
|
|
@@ -12677,19 +12768,19 @@ export declare class CreateAutoscalingConfigResponse extends $dara.Model {
|
|
|
12677
12768
|
export declare class CreateClusterRequest extends $dara.Model {
|
|
12678
12769
|
/**
|
|
12679
12770
|
* @remarks
|
|
12680
|
-
* 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.
|
|
12681
12772
|
*/
|
|
12682
12773
|
accessControlList?: string[];
|
|
12683
12774
|
/**
|
|
12684
12775
|
* @remarks
|
|
12685
|
-
* 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.
|
|
12686
12777
|
*
|
|
12687
12778
|
* **Network plug-in**: required. The Flannel and Terway plug-ins are supported. Select one of the plug-ins for the cluster.
|
|
12688
12779
|
*
|
|
12689
|
-
* *
|
|
12690
|
-
* * 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.
|
|
12691
12782
|
*
|
|
12692
|
-
* **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.
|
|
12693
12784
|
*
|
|
12694
12785
|
* Specify the `CSI` plug-in in the following format: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
|
|
12695
12786
|
*
|
|
@@ -12698,23 +12789,23 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12698
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"}"}].
|
|
12699
12790
|
* * To create a `Simple Log Service project`, specify the component in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true"}"}].
|
|
12700
12791
|
*
|
|
12701
|
-
* **Ingress controller
|
|
12792
|
+
* **Ingress controller**: optional. By default, the `nginx-ingress-controller` component is installed in ACK dedicated clusters.
|
|
12702
12793
|
*
|
|
12703
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"}"}].
|
|
12704
|
-
* * 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}].
|
|
12705
12796
|
*
|
|
12706
12797
|
* **Event center**: optional. By default, the event center feature is enabled.
|
|
12707
12798
|
*
|
|
12708
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).
|
|
12709
12800
|
*
|
|
12710
|
-
*
|
|
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"}"}].
|
|
12711
12802
|
*/
|
|
12712
12803
|
addons?: Addon[];
|
|
12713
12804
|
/**
|
|
12714
12805
|
* @remarks
|
|
12715
|
-
*
|
|
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 (,).``
|
|
12716
12807
|
*
|
|
12717
|
-
* 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).
|
|
12718
12809
|
*
|
|
12719
12810
|
* @example
|
|
12720
12811
|
* kubernetes.default.svc
|
|
@@ -12722,14 +12813,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12722
12813
|
apiAudiences?: string;
|
|
12723
12814
|
/**
|
|
12724
12815
|
* @remarks
|
|
12725
|
-
* **
|
|
12816
|
+
* [**Deprecated**]
|
|
12726
12817
|
*
|
|
12727
12818
|
* Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
12728
12819
|
*
|
|
12729
12820
|
* * `true`: enables auto-renewal.
|
|
12730
|
-
* * `false`: disables auto-renewal
|
|
12821
|
+
* * `false`: disables auto-renewal.
|
|
12731
12822
|
*
|
|
12732
|
-
* Default value: `false
|
|
12823
|
+
* Default value: `false`.
|
|
12733
12824
|
*
|
|
12734
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).
|
|
12735
12826
|
*
|
|
@@ -12741,7 +12832,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12741
12832
|
autoRenew?: boolean;
|
|
12742
12833
|
/**
|
|
12743
12834
|
* @remarks
|
|
12744
|
-
* **
|
|
12835
|
+
* [**Deprecated**]
|
|
12745
12836
|
*
|
|
12746
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.
|
|
12747
12838
|
*
|
|
@@ -12757,16 +12848,18 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12757
12848
|
autoRenewPeriod?: number;
|
|
12758
12849
|
/**
|
|
12759
12850
|
* @remarks
|
|
12760
|
-
*
|
|
12851
|
+
* [**Deprecated**]
|
|
12852
|
+
*
|
|
12853
|
+
* The billing method of the CLB instance that is used by the API server. Default value: PostPaid. Valid values:
|
|
12761
12854
|
*
|
|
12762
|
-
* * PostPaid: pay-as-you-go
|
|
12763
|
-
* * PrePaid: subscription.
|
|
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.
|
|
12764
12857
|
*
|
|
12765
12858
|
* >
|
|
12766
12859
|
*
|
|
12767
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).
|
|
12768
12861
|
*
|
|
12769
|
-
* * 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
|
|
12770
12863
|
*
|
|
12771
12864
|
* For more information, see [CLB billing adjustments](https://help.aliyun.com/document_detail/2839797.html).
|
|
12772
12865
|
*
|
|
@@ -12778,7 +12871,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12778
12871
|
chargeType?: string;
|
|
12779
12872
|
/**
|
|
12780
12873
|
* @remarks
|
|
12781
|
-
*
|
|
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.
|
|
12782
12875
|
*
|
|
12783
12876
|
* @example
|
|
12784
12877
|
* false
|
|
@@ -12788,12 +12881,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12788
12881
|
cisEnabled?: boolean;
|
|
12789
12882
|
/**
|
|
12790
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
|
+
*
|
|
12791
12886
|
* Specifies whether to install the CloudMonitor agent. Valid values:
|
|
12792
12887
|
*
|
|
12793
12888
|
* * `true`: installs the CloudMonitor agent.
|
|
12794
12889
|
* * `false`: does not install the CloudMonitor agent.
|
|
12795
12890
|
*
|
|
12796
|
-
* Default value: `false
|
|
12891
|
+
* Default value: `false`.
|
|
12797
12892
|
*
|
|
12798
12893
|
* @example
|
|
12799
12894
|
* true
|
|
@@ -12815,8 +12910,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12815
12910
|
* @remarks
|
|
12816
12911
|
* If you set `cluster_type` to `ManagedKubernetes` and specify `profile`, you can further specify the edition of the cluster. Valid values:
|
|
12817
12912
|
*
|
|
12818
|
-
* * `ack.pro.small`:
|
|
12819
|
-
* * `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.
|
|
12820
12915
|
*
|
|
12821
12916
|
* @example
|
|
12822
12917
|
* ack.pro.small
|
|
@@ -12824,9 +12919,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12824
12919
|
clusterSpec?: string;
|
|
12825
12920
|
/**
|
|
12826
12921
|
* @remarks
|
|
12827
|
-
* * `Kubernetes`:
|
|
12828
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic
|
|
12829
|
-
* * `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.
|
|
12830
12925
|
*
|
|
12831
12926
|
* This parameter is required.
|
|
12832
12927
|
*
|
|
@@ -12853,9 +12948,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12853
12948
|
controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
|
|
12854
12949
|
/**
|
|
12855
12950
|
* @remarks
|
|
12856
|
-
* The control plane
|
|
12951
|
+
* The control plane components for which you want to enable log collection.
|
|
12857
12952
|
*
|
|
12858
|
-
* By default, the
|
|
12953
|
+
* By default, the logs of kube-apiserver, kube-controller-manager, and kube-scheduler are collected.
|
|
12859
12954
|
*/
|
|
12860
12955
|
controlplaneLogComponents?: string[];
|
|
12861
12956
|
/**
|
|
@@ -12876,10 +12971,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12876
12971
|
controlplaneLogTtl?: string;
|
|
12877
12972
|
/**
|
|
12878
12973
|
* @remarks
|
|
12879
|
-
*
|
|
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.
|
|
12880
12975
|
*
|
|
12881
|
-
*
|
|
12882
|
-
*
|
|
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.
|
|
12883
12980
|
*
|
|
12884
12981
|
* Default value: `none`.
|
|
12885
12982
|
*
|
|
@@ -12891,7 +12988,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12891
12988
|
cpuPolicy?: string;
|
|
12892
12989
|
/**
|
|
12893
12990
|
* @remarks
|
|
12894
|
-
* 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 (,).
|
|
12895
12992
|
*
|
|
12896
12993
|
* @example
|
|
12897
12994
|
* cs.aliyun.com
|
|
@@ -12899,12 +12996,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12899
12996
|
customSan?: string;
|
|
12900
12997
|
/**
|
|
12901
12998
|
* @remarks
|
|
12902
|
-
* 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:
|
|
12903
13000
|
*
|
|
12904
|
-
* * `true`:
|
|
12905
|
-
* * `false`:
|
|
13001
|
+
* * `true`: enables cluster deletion protection.
|
|
13002
|
+
* * `false`: disables cluster deletion protection.
|
|
12906
13003
|
*
|
|
12907
|
-
* Default value: `false
|
|
13004
|
+
* Default value: `false`.
|
|
12908
13005
|
*
|
|
12909
13006
|
* @example
|
|
12910
13007
|
* true
|
|
@@ -12912,12 +13009,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12912
13009
|
deletionProtection?: boolean;
|
|
12913
13010
|
/**
|
|
12914
13011
|
* @remarks
|
|
12915
|
-
*
|
|
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:
|
|
12916
13015
|
*
|
|
12917
13016
|
* * `true`: performs a rollback when the cluster fails to be created.
|
|
12918
13017
|
* * `false`: does not perform a rollback when the cluster fails to be created.
|
|
12919
13018
|
*
|
|
12920
|
-
* Default value: `true
|
|
13019
|
+
* Default value: `true`.
|
|
12921
13020
|
*
|
|
12922
13021
|
* @example
|
|
12923
13022
|
* true
|
|
@@ -12927,7 +13026,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12927
13026
|
disableRollback?: boolean;
|
|
12928
13027
|
/**
|
|
12929
13028
|
* @remarks
|
|
12930
|
-
* Specifies whether to enable the
|
|
13029
|
+
* Specifies whether to enable the RAM Roles for Service Accounts (RRSA) feature.
|
|
12931
13030
|
*
|
|
12932
13031
|
* @example
|
|
12933
13032
|
* true
|
|
@@ -12950,7 +13049,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12950
13049
|
* * `true`: enables Internet access for the cluster.
|
|
12951
13050
|
* * `false`: disables Internet access for the cluster. If you set the value to false, the API server cannot be accessed over the Internet.
|
|
12952
13051
|
*
|
|
12953
|
-
* Default value: `false
|
|
13052
|
+
* Default value: `false`.
|
|
12954
13053
|
*
|
|
12955
13054
|
* @example
|
|
12956
13055
|
* true
|
|
@@ -12958,12 +13057,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12958
13057
|
endpointPublicAccess?: boolean;
|
|
12959
13058
|
/**
|
|
12960
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
|
+
*
|
|
12961
13062
|
* Specifies whether to mount a data disk to a node that is created based on an existing ECS instance. Valid values:
|
|
12962
13063
|
*
|
|
12963
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.
|
|
12964
13065
|
* * `false`: does not store the data of containers and images on a data disk.
|
|
12965
13066
|
*
|
|
12966
|
-
* Default value: `false
|
|
13067
|
+
* Default value: `false`.
|
|
12967
13068
|
*
|
|
12968
13069
|
* How data disks are mounted:
|
|
12969
13070
|
*
|
|
@@ -12978,7 +13079,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12978
13079
|
formatDisk?: boolean;
|
|
12979
13080
|
/**
|
|
12980
13081
|
* @remarks
|
|
12981
|
-
*
|
|
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).
|
|
12982
13085
|
*
|
|
12983
13086
|
* @example
|
|
12984
13087
|
* m-bp16z7xko3vvv8gt****
|
|
@@ -12988,6 +13091,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12988
13091
|
imageId?: string;
|
|
12989
13092
|
/**
|
|
12990
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
|
+
*
|
|
12991
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:
|
|
12992
13097
|
*
|
|
12993
13098
|
* * CentOS
|
|
@@ -13010,7 +13115,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13010
13115
|
imageType?: string;
|
|
13011
13116
|
/**
|
|
13012
13117
|
* @remarks
|
|
13013
|
-
*
|
|
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.
|
|
13014
13121
|
*
|
|
13015
13122
|
* > This parameter is required if you create worker nodes on existing ECS instances.
|
|
13016
13123
|
*
|
|
@@ -13028,14 +13135,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13028
13135
|
ipStack?: string;
|
|
13029
13136
|
/**
|
|
13030
13137
|
* @remarks
|
|
13031
|
-
* 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.
|
|
13032
13139
|
*
|
|
13033
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.
|
|
13034
13141
|
*
|
|
13035
13142
|
* * `true`: creates an advanced security group.
|
|
13036
13143
|
* * `false`: does not create an advanced security group.
|
|
13037
13144
|
*
|
|
13038
|
-
* Default value: `true
|
|
13145
|
+
* Default value: `true`.
|
|
13039
13146
|
*
|
|
13040
13147
|
* @example
|
|
13041
13148
|
* true
|
|
@@ -13043,12 +13150,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13043
13150
|
isEnterpriseSecurityGroup?: boolean;
|
|
13044
13151
|
/**
|
|
13045
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
|
+
*
|
|
13046
13155
|
* Specifies whether to retain the names of existing ECS instances that are used in the cluster. Valid values:
|
|
13047
13156
|
*
|
|
13048
13157
|
* * `true`: retains the names.
|
|
13049
13158
|
* * `false`: does not retain the names. The system assigns new names.
|
|
13050
13159
|
*
|
|
13051
|
-
* Default value: `true
|
|
13160
|
+
* Default value: `true`.
|
|
13052
13161
|
*
|
|
13053
13162
|
* @example
|
|
13054
13163
|
* true
|
|
@@ -13058,7 +13167,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13058
13167
|
keepInstanceName?: boolean;
|
|
13059
13168
|
/**
|
|
13060
13169
|
* @remarks
|
|
13061
|
-
*
|
|
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`.
|
|
13062
13173
|
*
|
|
13063
13174
|
* @example
|
|
13064
13175
|
* secrity-key
|
|
@@ -13070,7 +13181,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13070
13181
|
* @remarks
|
|
13071
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.
|
|
13072
13183
|
*
|
|
13073
|
-
* 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).
|
|
13074
13185
|
*
|
|
13075
13186
|
* @example
|
|
13076
13187
|
* 1.16.9-aliyun.1
|
|
@@ -13080,12 +13191,16 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13080
13191
|
* @remarks
|
|
13081
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.
|
|
13082
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
|
+
*
|
|
13083
13196
|
* @example
|
|
13084
13197
|
* lb-wz9t256gqa3vbouk****
|
|
13085
13198
|
*/
|
|
13086
13199
|
loadBalancerId?: string;
|
|
13087
13200
|
/**
|
|
13088
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
|
+
*
|
|
13089
13204
|
* The specification of the Server Load Balancer (SLB) instance. Valid values:
|
|
13090
13205
|
*
|
|
13091
13206
|
* * slb.s1.small
|
|
@@ -13105,7 +13220,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13105
13220
|
loadBalancerSpec?: string;
|
|
13106
13221
|
/**
|
|
13107
13222
|
* @remarks
|
|
13108
|
-
* 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`.
|
|
13109
13224
|
*
|
|
13110
13225
|
* @example
|
|
13111
13226
|
* SLS
|
|
@@ -13113,6 +13228,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13113
13228
|
loggingType?: string;
|
|
13114
13229
|
/**
|
|
13115
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
|
+
*
|
|
13116
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.
|
|
13117
13234
|
*
|
|
13118
13235
|
* @example
|
|
@@ -13128,12 +13245,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13128
13245
|
maintenanceWindow?: MaintenanceWindow;
|
|
13129
13246
|
/**
|
|
13130
13247
|
* @remarks
|
|
13248
|
+
* [**Deprecated**] When you configure the control plane, use the `auto-renew` parameter in the `control_plane_config` section instead.
|
|
13249
|
+
*
|
|
13131
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:
|
|
13132
13251
|
*
|
|
13133
13252
|
* * `true`: enables auto-renewal.
|
|
13134
|
-
* * `false`: disables auto-renewal
|
|
13253
|
+
* * `false`: disables auto-renewal.
|
|
13135
13254
|
*
|
|
13136
|
-
* Default value: `true
|
|
13255
|
+
* Default value: `true`.
|
|
13137
13256
|
*
|
|
13138
13257
|
* @example
|
|
13139
13258
|
* true
|
|
@@ -13143,7 +13262,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13143
13262
|
masterAutoRenew?: boolean;
|
|
13144
13263
|
/**
|
|
13145
13264
|
* @remarks
|
|
13146
|
-
*
|
|
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.
|
|
13147
13268
|
*
|
|
13148
13269
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
13149
13270
|
*
|
|
@@ -13157,6 +13278,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13157
13278
|
masterAutoRenewPeriod?: number;
|
|
13158
13279
|
/**
|
|
13159
13280
|
* @remarks
|
|
13281
|
+
* [**Deprecated**] When you configure the control plane, use the `size` parameter in the `control_plane_config` section instead.
|
|
13282
|
+
*
|
|
13160
13283
|
* The number of master nodes. Valid values: `3` and `5`.
|
|
13161
13284
|
*
|
|
13162
13285
|
* Default value: `3`.
|
|
@@ -13169,12 +13292,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13169
13292
|
masterCount?: number;
|
|
13170
13293
|
/**
|
|
13171
13294
|
* @remarks
|
|
13295
|
+
* [**Deprecated**] When you configure the control plane, use the `instance_charge_type` parameter in the `control_plane_config` section instead.
|
|
13296
|
+
*
|
|
13172
13297
|
* The billing method of master nodes. Valid values:
|
|
13173
13298
|
*
|
|
13174
|
-
* * `PrePaid`: subscription
|
|
13175
|
-
* * `PostPaid`:
|
|
13299
|
+
* * `PrePaid`: subscription.
|
|
13300
|
+
* * `PostPaid`: pay-as-you-go.
|
|
13176
13301
|
*
|
|
13177
|
-
* Default value: `PostPaid
|
|
13302
|
+
* Default value: `PostPaid`.
|
|
13178
13303
|
*
|
|
13179
13304
|
* @example
|
|
13180
13305
|
* PrePaid
|
|
@@ -13184,13 +13309,17 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13184
13309
|
masterInstanceChargeType?: string;
|
|
13185
13310
|
/**
|
|
13186
13311
|
* @remarks
|
|
13187
|
-
*
|
|
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).
|
|
13188
13315
|
*
|
|
13189
13316
|
* @deprecated
|
|
13190
13317
|
*/
|
|
13191
13318
|
masterInstanceTypes?: string[];
|
|
13192
13319
|
/**
|
|
13193
13320
|
* @remarks
|
|
13321
|
+
* [**Deprecated**] When you configure the control plane, use the `unit` parameter in the `control_plane_config` section instead.
|
|
13322
|
+
*
|
|
13194
13323
|
* The subscription duration of master nodes. This parameter takes effect and is required only when `master_instance_charge_type` is set to `PrePaid`.
|
|
13195
13324
|
*
|
|
13196
13325
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
@@ -13205,6 +13334,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13205
13334
|
masterPeriod?: number;
|
|
13206
13335
|
/**
|
|
13207
13336
|
* @remarks
|
|
13337
|
+
* [**Deprecated**] When you configure the control plane, use the `period_unit` parameter in the `control_plane_config` section instead.
|
|
13338
|
+
*
|
|
13208
13339
|
* The billing cycle of the master nodes in the cluster. This parameter is required if master_instance_charge_type is set to `PrePaid`.
|
|
13209
13340
|
*
|
|
13210
13341
|
* Valid value: `Month`, which indicates that master nodes are billed only on a monthly basis.
|
|
@@ -13217,11 +13348,13 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13217
13348
|
masterPeriodUnit?: string;
|
|
13218
13349
|
/**
|
|
13219
13350
|
* @remarks
|
|
13220
|
-
*
|
|
13351
|
+
* [**Deprecated**] When you configure the control plane, use the `system_disk_category` parameter in the `control_plane_config` section instead.
|
|
13221
13352
|
*
|
|
13222
|
-
*
|
|
13223
|
-
*
|
|
13224
|
-
* * `
|
|
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).
|
|
13225
13358
|
*
|
|
13226
13359
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
13227
13360
|
*
|
|
@@ -13233,6 +13366,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13233
13366
|
masterSystemDiskCategory?: string;
|
|
13234
13367
|
/**
|
|
13235
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
|
+
*
|
|
13236
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).
|
|
13237
13372
|
*
|
|
13238
13373
|
* @example
|
|
@@ -13243,6 +13378,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13243
13378
|
masterSystemDiskPerformanceLevel?: string;
|
|
13244
13379
|
/**
|
|
13245
13380
|
* @remarks
|
|
13381
|
+
* [**Deprecated**] When you configure the control plane, use the `system_disk_disk` parameter in the `control_plane_config` section instead.
|
|
13382
|
+
*
|
|
13246
13383
|
* The system disk size of master nodes. Valid values: 40 to 500. Unit: GiB.
|
|
13247
13384
|
*
|
|
13248
13385
|
* Default value: `120`.
|
|
@@ -13255,6 +13392,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13255
13392
|
masterSystemDiskSize?: number;
|
|
13256
13393
|
/**
|
|
13257
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
|
+
*
|
|
13258
13397
|
* The ID of the automatic snapshot policy that is used by the system disk specified for master nodes.
|
|
13259
13398
|
*
|
|
13260
13399
|
* @example
|
|
@@ -13265,9 +13404,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13265
13404
|
masterSystemDiskSnapshotPolicyId?: string;
|
|
13266
13405
|
/**
|
|
13267
13406
|
* @remarks
|
|
13407
|
+
* [**Deprecated**] Use the `vswitch_ids` parameter instead.
|
|
13408
|
+
*
|
|
13268
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.
|
|
13269
13410
|
*
|
|
13270
|
-
* 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.
|
|
13271
13412
|
*
|
|
13272
13413
|
* @deprecated
|
|
13273
13414
|
*/
|
|
@@ -13276,7 +13417,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13276
13417
|
* @remarks
|
|
13277
13418
|
* The cluster name.
|
|
13278
13419
|
*
|
|
13279
|
-
* 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 (-).
|
|
13280
13421
|
*
|
|
13281
13422
|
* This parameter is required.
|
|
13282
13423
|
*
|
|
@@ -13286,7 +13427,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13286
13427
|
name?: string;
|
|
13287
13428
|
/**
|
|
13288
13429
|
* @remarks
|
|
13289
|
-
*
|
|
13430
|
+
* [Deprecated] Use the `snat_entry` parameter instead.
|
|
13290
13431
|
*
|
|
13291
13432
|
* @example
|
|
13292
13433
|
* true
|
|
@@ -13294,7 +13435,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13294
13435
|
natGateway?: boolean;
|
|
13295
13436
|
/**
|
|
13296
13437
|
* @remarks
|
|
13297
|
-
* 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.
|
|
13298
13439
|
*
|
|
13299
13440
|
* Default value: `26`.
|
|
13300
13441
|
*
|
|
@@ -13304,6 +13445,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13304
13445
|
nodeCidrMask?: string;
|
|
13305
13446
|
/**
|
|
13306
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
|
+
*
|
|
13307
13450
|
* The custom node name.
|
|
13308
13451
|
*
|
|
13309
13452
|
* A custom node name consists of a prefix, a node IP address, and a suffix.
|
|
@@ -13311,7 +13454,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13311
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.
|
|
13312
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.
|
|
13313
13456
|
*
|
|
13314
|
-
* 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.
|
|
13315
13458
|
*
|
|
13316
13459
|
* @example
|
|
13317
13460
|
* aliyun.com00055test
|
|
@@ -13336,6 +13479,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13336
13479
|
nodepools?: Nodepool[];
|
|
13337
13480
|
/**
|
|
13338
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
|
+
*
|
|
13339
13484
|
* The number of worker nodes. Valid values: 0 to 100.
|
|
13340
13485
|
*
|
|
13341
13486
|
* @example
|
|
@@ -13351,6 +13496,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13351
13496
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
13352
13497
|
/**
|
|
13353
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
|
+
*
|
|
13354
13501
|
* The type of OS. Valid values:
|
|
13355
13502
|
*
|
|
13356
13503
|
* * Windows
|
|
@@ -13366,9 +13513,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13366
13513
|
osType?: string;
|
|
13367
13514
|
/**
|
|
13368
13515
|
* @remarks
|
|
13369
|
-
* **
|
|
13516
|
+
* [**Deprecated**]
|
|
13370
13517
|
*
|
|
13371
|
-
* The subscription duration
|
|
13518
|
+
* The subscription duration. This parameter takes effect and is required only when you set charge_type to PrePaid.
|
|
13372
13519
|
*
|
|
13373
13520
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
13374
13521
|
*
|
|
@@ -13384,7 +13531,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13384
13531
|
period?: number;
|
|
13385
13532
|
/**
|
|
13386
13533
|
* @remarks
|
|
13387
|
-
* **
|
|
13534
|
+
* [**Deprecated**]
|
|
13388
13535
|
*
|
|
13389
13536
|
* The billing cycle. This parameter is required if charge_type is set to PrePaid.
|
|
13390
13537
|
*
|
|
@@ -13400,6 +13547,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13400
13547
|
periodUnit?: string;
|
|
13401
13548
|
/**
|
|
13402
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
|
+
*
|
|
13403
13552
|
* The OS distribution that is used. Valid values:
|
|
13404
13553
|
*
|
|
13405
13554
|
* * CentOS
|
|
@@ -13419,9 +13568,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13419
13568
|
platform?: string;
|
|
13420
13569
|
/**
|
|
13421
13570
|
* @remarks
|
|
13422
|
-
* 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.
|
|
13423
13572
|
*
|
|
13424
|
-
* > 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.
|
|
13425
13574
|
*/
|
|
13426
13575
|
podVswitchIds?: string[];
|
|
13427
13576
|
/**
|
|
@@ -13441,7 +13590,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13441
13590
|
* @remarks
|
|
13442
13591
|
* The kube-proxy mode. Valid values:
|
|
13443
13592
|
*
|
|
13444
|
-
* * `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.
|
|
13445
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.
|
|
13446
13595
|
*
|
|
13447
13596
|
* Default value: `ipvs`.
|
|
@@ -13452,14 +13601,16 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13452
13601
|
proxyMode?: string;
|
|
13453
13602
|
/**
|
|
13454
13603
|
* @remarks
|
|
13455
|
-
*
|
|
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.
|
|
13456
13607
|
*
|
|
13457
13608
|
* @deprecated
|
|
13458
13609
|
*/
|
|
13459
13610
|
rdsInstances?: string[];
|
|
13460
13611
|
/**
|
|
13461
13612
|
* @remarks
|
|
13462
|
-
* 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).
|
|
13463
13614
|
*
|
|
13464
13615
|
* This parameter is required.
|
|
13465
13616
|
*
|
|
@@ -13492,12 +13643,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13492
13643
|
securityGroupId?: string;
|
|
13493
13644
|
/**
|
|
13494
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
|
+
*
|
|
13495
13648
|
* Specifies whether to enable Alibaba Cloud Linux Security Hardening. Valid values:
|
|
13496
13649
|
*
|
|
13497
13650
|
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
13498
13651
|
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
13499
13652
|
*
|
|
13500
|
-
* Default value: `false
|
|
13653
|
+
* Default value: `false`.
|
|
13501
13654
|
*
|
|
13502
13655
|
* @example
|
|
13503
13656
|
* false
|
|
@@ -13507,7 +13660,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13507
13660
|
securityHardeningOs?: boolean;
|
|
13508
13661
|
/**
|
|
13509
13662
|
* @remarks
|
|
13510
|
-
*
|
|
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`.
|
|
13511
13664
|
*
|
|
13512
13665
|
* For more information about `ServiceAccount`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
13513
13666
|
*
|
|
@@ -13517,7 +13670,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13517
13670
|
serviceAccountIssuer?: string;
|
|
13518
13671
|
/**
|
|
13519
13672
|
* @remarks
|
|
13520
|
-
* 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.
|
|
13521
13674
|
*
|
|
13522
13675
|
* By default, the Service CIDR block is set to 172.19.0.0/20.
|
|
13523
13676
|
*
|
|
@@ -13531,7 +13684,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13531
13684
|
* @remarks
|
|
13532
13685
|
* The methods for implementing service discovery in `ACK Serverless` clusters.
|
|
13533
13686
|
*
|
|
13534
|
-
* * `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.
|
|
13535
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.
|
|
13536
13689
|
*
|
|
13537
13690
|
* By default, this parameter is not specified.
|
|
@@ -13539,14 +13692,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13539
13692
|
serviceDiscoveryTypes?: string[];
|
|
13540
13693
|
/**
|
|
13541
13694
|
* @remarks
|
|
13542
|
-
* Specifies whether to configure
|
|
13695
|
+
* Specifies whether to configure SNAT rules for the VPC in which your cluster is deployed. Valid values:
|
|
13543
13696
|
*
|
|
13544
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.
|
|
13545
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.
|
|
13546
13699
|
*
|
|
13547
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).
|
|
13548
13701
|
*
|
|
13549
|
-
* Default value: `true
|
|
13702
|
+
* Default value: `true`.
|
|
13550
13703
|
*
|
|
13551
13704
|
* @example
|
|
13552
13705
|
* true
|
|
@@ -13554,6 +13707,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13554
13707
|
snatEntry?: boolean;
|
|
13555
13708
|
/**
|
|
13556
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
|
+
*
|
|
13557
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).
|
|
13558
13713
|
*
|
|
13559
13714
|
* Valid values:
|
|
@@ -13561,7 +13716,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13561
13716
|
* * `true`: enables MLPS security hardening.
|
|
13562
13717
|
* * `false`: disables MLPS security hardening.
|
|
13563
13718
|
*
|
|
13564
|
-
* Default value: `false
|
|
13719
|
+
* Default value: `false`.
|
|
13565
13720
|
*
|
|
13566
13721
|
* @example
|
|
13567
13722
|
* false
|
|
@@ -13576,7 +13731,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13576
13731
|
* * `true`: enables SSH logon.
|
|
13577
13732
|
* * `false`: disables SSH logon.
|
|
13578
13733
|
*
|
|
13579
|
-
* Default value: `false
|
|
13734
|
+
* Default value: `false`.
|
|
13580
13735
|
*
|
|
13581
13736
|
* @example
|
|
13582
13737
|
* true
|
|
@@ -13584,21 +13739,25 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13584
13739
|
sshFlags?: boolean;
|
|
13585
13740
|
/**
|
|
13586
13741
|
* @remarks
|
|
13587
|
-
* The
|
|
13742
|
+
* The labels that you want to add to nodes. You must add labels based on the following rules:
|
|
13588
13743
|
*
|
|
13589
|
-
* * A
|
|
13590
|
-
* * 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).
|
|
13591
13746
|
*/
|
|
13592
13747
|
tags?: Tag[];
|
|
13593
13748
|
/**
|
|
13594
13749
|
* @remarks
|
|
13595
|
-
*
|
|
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/).
|
|
13596
13753
|
*
|
|
13597
13754
|
* @deprecated
|
|
13598
13755
|
*/
|
|
13599
13756
|
taints?: Taint[];
|
|
13600
13757
|
/**
|
|
13601
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
|
+
*
|
|
13602
13761
|
* Specifies the timeout period of cluster creation. Unit: minutes.
|
|
13603
13762
|
*
|
|
13604
13763
|
* Default value: `60`.
|
|
@@ -13643,17 +13802,19 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13643
13802
|
vpcid?: string;
|
|
13644
13803
|
/**
|
|
13645
13804
|
* @remarks
|
|
13646
|
-
* 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.
|
|
13647
13806
|
*/
|
|
13648
13807
|
vswitchIds?: string[];
|
|
13649
13808
|
/**
|
|
13650
13809
|
* @remarks
|
|
13651
|
-
*
|
|
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:
|
|
13652
13813
|
*
|
|
13653
13814
|
* * `true`: enables auto-renewal.
|
|
13654
|
-
* * `false`: disables auto-renewal
|
|
13815
|
+
* * `false`: disables auto-renewal.
|
|
13655
13816
|
*
|
|
13656
|
-
* Default value: `true
|
|
13817
|
+
* Default value: `true`.
|
|
13657
13818
|
*
|
|
13658
13819
|
* @example
|
|
13659
13820
|
* true
|
|
@@ -13663,7 +13824,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13663
13824
|
workerAutoRenew?: boolean;
|
|
13664
13825
|
/**
|
|
13665
13826
|
* @remarks
|
|
13666
|
-
*
|
|
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.
|
|
13667
13830
|
*
|
|
13668
13831
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
13669
13832
|
*
|
|
@@ -13675,17 +13838,21 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13675
13838
|
workerAutoRenewPeriod?: number;
|
|
13676
13839
|
/**
|
|
13677
13840
|
* @remarks
|
|
13678
|
-
*
|
|
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.
|
|
13679
13844
|
*
|
|
13680
13845
|
* @deprecated
|
|
13681
13846
|
*/
|
|
13682
13847
|
workerDataDisks?: CreateClusterRequestWorkerDataDisks[];
|
|
13683
13848
|
/**
|
|
13684
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
|
+
*
|
|
13685
13852
|
* The billing method of worker nodes. Valid values:
|
|
13686
13853
|
*
|
|
13687
|
-
* * `PrePaid`: subscription
|
|
13688
|
-
* * `PostPaid`:
|
|
13854
|
+
* * `PrePaid`: subscription.
|
|
13855
|
+
* * `PostPaid`: pay-as-you-go.
|
|
13689
13856
|
*
|
|
13690
13857
|
* Default value: PostPaid.
|
|
13691
13858
|
*
|
|
@@ -13697,6 +13864,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13697
13864
|
workerInstanceChargeType?: string;
|
|
13698
13865
|
/**
|
|
13699
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
|
+
*
|
|
13700
13869
|
* The instance configurations of worker nodes.
|
|
13701
13870
|
*
|
|
13702
13871
|
* @deprecated
|
|
@@ -13704,6 +13873,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13704
13873
|
workerInstanceTypes?: string[];
|
|
13705
13874
|
/**
|
|
13706
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
|
+
*
|
|
13707
13878
|
* The subscription duration of worker nodes. This parameter takes effect and is required only when `worker_instance_charge_type` is set to `PrePaid`.
|
|
13708
13879
|
*
|
|
13709
13880
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
@@ -13718,6 +13889,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13718
13889
|
workerPeriod?: number;
|
|
13719
13890
|
/**
|
|
13720
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
|
+
*
|
|
13721
13894
|
* The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
|
|
13722
13895
|
*
|
|
13723
13896
|
* Valid value: `Month`, which indicates that worker nodes are billed only on a monthly basis.
|
|
@@ -13730,14 +13903,16 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13730
13903
|
workerPeriodUnit?: string;
|
|
13731
13904
|
/**
|
|
13732
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
|
+
*
|
|
13733
13908
|
* The system disk category of worker nodes. For more information, see [Elastic Block Storage devices](https://help.aliyun.com/document_detail/63136.html).
|
|
13734
13909
|
*
|
|
13735
13910
|
* Valid values:
|
|
13736
13911
|
*
|
|
13737
|
-
* * `cloud_efficiency`: ultra disk
|
|
13738
|
-
* * `cloud_ssd`: standard SSD
|
|
13912
|
+
* * `cloud_efficiency`: ultra disk.
|
|
13913
|
+
* * `cloud_ssd`: standard SSD.
|
|
13739
13914
|
*
|
|
13740
|
-
* Default value: `cloud_ssd
|
|
13915
|
+
* Default value: `cloud_ssd`.
|
|
13741
13916
|
*
|
|
13742
13917
|
* @example
|
|
13743
13918
|
* cloud_efficiency
|
|
@@ -13747,6 +13922,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13747
13922
|
workerSystemDiskCategory?: string;
|
|
13748
13923
|
/**
|
|
13749
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
|
+
*
|
|
13750
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).
|
|
13751
13928
|
*
|
|
13752
13929
|
* Valid values:
|
|
@@ -13764,6 +13941,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13764
13941
|
workerSystemDiskPerformanceLevel?: string;
|
|
13765
13942
|
/**
|
|
13766
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
|
+
*
|
|
13767
13946
|
* The system disk size of worker nodes. Unit: GiB.
|
|
13768
13947
|
*
|
|
13769
13948
|
* Valid values: 40 to 500.
|
|
@@ -13780,6 +13959,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13780
13959
|
workerSystemDiskSize?: number;
|
|
13781
13960
|
/**
|
|
13782
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
|
+
*
|
|
13783
13964
|
* The ID of the automatic snapshot policy that is used by the system disk specified for worker nodes.
|
|
13784
13965
|
*
|
|
13785
13966
|
* @example
|
|
@@ -13790,18 +13971,20 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13790
13971
|
workerSystemDiskSnapshotPolicyId?: string;
|
|
13791
13972
|
/**
|
|
13792
13973
|
* @remarks
|
|
13793
|
-
*
|
|
13974
|
+
* [**Deprecated**] When you configure a node pool, use the `vswitch_ids` parameter of the `scaling_group` field in the `nodepool` section instead.
|
|
13794
13975
|
*
|
|
13795
|
-
*
|
|
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.
|
|
13796
13979
|
*
|
|
13797
13980
|
* @deprecated
|
|
13798
13981
|
*/
|
|
13799
13982
|
workerVswitchIds?: string[];
|
|
13800
13983
|
/**
|
|
13801
13984
|
* @remarks
|
|
13802
|
-
*
|
|
13985
|
+
* [Deprecated] Use the `zone_ids` parameter instead.
|
|
13803
13986
|
*
|
|
13804
|
-
* 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.
|
|
13805
13988
|
*
|
|
13806
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.
|
|
13807
13990
|
*
|
|
@@ -14019,7 +14202,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
14019
14202
|
count?: number;
|
|
14020
14203
|
/**
|
|
14021
14204
|
* @remarks
|
|
14022
|
-
* 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.
|
|
14023
14206
|
*
|
|
14024
14207
|
* * `true`: sets to host network.
|
|
14025
14208
|
* * `false`: sets to container network.
|
|
@@ -14624,6 +14807,8 @@ export declare class CreateTriggerResponse extends $dara.Model {
|
|
|
14624
14807
|
export declare class DeleteAlertContactRequest extends $dara.Model {
|
|
14625
14808
|
/**
|
|
14626
14809
|
* @remarks
|
|
14810
|
+
* The list of alert contact IDs.
|
|
14811
|
+
*
|
|
14627
14812
|
* This parameter is required.
|
|
14628
14813
|
*/
|
|
14629
14814
|
contactIds?: number[];
|
|
@@ -14641,6 +14826,8 @@ export declare class DeleteAlertContactRequest extends $dara.Model {
|
|
|
14641
14826
|
export declare class DeleteAlertContactShrinkRequest extends $dara.Model {
|
|
14642
14827
|
/**
|
|
14643
14828
|
* @remarks
|
|
14829
|
+
* The list of alert contact IDs.
|
|
14830
|
+
*
|
|
14644
14831
|
* This parameter is required.
|
|
14645
14832
|
*/
|
|
14646
14833
|
contactIdsShrink?: string;
|
|
@@ -14675,6 +14862,8 @@ export declare class DeleteAlertContactResponse extends $dara.Model {
|
|
|
14675
14862
|
export declare class DeleteAlertContactGroupRequest extends $dara.Model {
|
|
14676
14863
|
/**
|
|
14677
14864
|
* @remarks
|
|
14865
|
+
* The list of alert contact group IDs.
|
|
14866
|
+
*
|
|
14678
14867
|
* This parameter is required.
|
|
14679
14868
|
*/
|
|
14680
14869
|
contactGroupIds?: number[];
|
|
@@ -14692,6 +14881,8 @@ export declare class DeleteAlertContactGroupRequest extends $dara.Model {
|
|
|
14692
14881
|
export declare class DeleteAlertContactGroupShrinkRequest extends $dara.Model {
|
|
14693
14882
|
/**
|
|
14694
14883
|
* @remarks
|
|
14884
|
+
* The list of alert contact group IDs.
|
|
14885
|
+
*
|
|
14695
14886
|
* This parameter is required.
|
|
14696
14887
|
*/
|
|
14697
14888
|
contactGroupIdsShrink?: string;
|
|
@@ -15550,12 +15741,12 @@ export declare class DescribeClusterAddonInstanceResponseBody extends $dara.Mode
|
|
|
15550
15741
|
* The status of the component. Valid values:
|
|
15551
15742
|
*
|
|
15552
15743
|
* * initial: The component is being installed.
|
|
15553
|
-
* * active: The component
|
|
15744
|
+
* * active: The component has been installed.
|
|
15554
15745
|
* * unhealthy: The component is in an abnormal state.
|
|
15555
|
-
* * upgrading: The component is
|
|
15556
|
-
* * updating:
|
|
15746
|
+
* * upgrading: The component is undergoing an upgrade.
|
|
15747
|
+
* * updating: Component configuration changes are being applied.
|
|
15557
15748
|
* * deleting: The component is being uninstalled.
|
|
15558
|
-
* * deleted: The component
|
|
15749
|
+
* * deleted: The component has been deleted.
|
|
15559
15750
|
*
|
|
15560
15751
|
* @example
|
|
15561
15752
|
* active
|
|
@@ -15773,17 +15964,25 @@ export declare class DescribeClusterAttachScriptsRequest extends $dara.Model {
|
|
|
15773
15964
|
arch?: string;
|
|
15774
15965
|
/**
|
|
15775
15966
|
* @remarks
|
|
15776
|
-
*
|
|
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:
|
|
15777
15976
|
*
|
|
15778
|
-
* * `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.
|
|
15779
15978
|
* * `false`: does not mount data disks to the existing instance.
|
|
15780
15979
|
*
|
|
15781
15980
|
* Default value: `false`.
|
|
15782
15981
|
*
|
|
15783
|
-
*
|
|
15982
|
+
* Mounting rules:
|
|
15784
15983
|
*
|
|
15785
|
-
* * If the Elastic Compute Service (ECS) instances are already mounted with data disks and the file system of the last data disk is
|
|
15786
|
-
* * 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.
|
|
15787
15986
|
*
|
|
15788
15987
|
* @example
|
|
15789
15988
|
* false
|
|
@@ -15791,10 +15990,10 @@ export declare class DescribeClusterAttachScriptsRequest extends $dara.Model {
|
|
|
15791
15990
|
formatDisk?: boolean;
|
|
15792
15991
|
/**
|
|
15793
15992
|
* @remarks
|
|
15794
|
-
* 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:
|
|
15795
15994
|
*
|
|
15796
15995
|
* * `true`: retains the instance name.
|
|
15797
|
-
* * `false`:
|
|
15996
|
+
* * `false`: renames the instance to worker-k8s-for-cs-\\<clusterid>.
|
|
15798
15997
|
*
|
|
15799
15998
|
* Default value: `true`.
|
|
15800
15999
|
*
|
|
@@ -15806,7 +16005,7 @@ export declare class DescribeClusterAttachScriptsRequest extends $dara.Model {
|
|
|
15806
16005
|
* @remarks
|
|
15807
16006
|
* The ID of the node pool to which you want to add an existing node.
|
|
15808
16007
|
*
|
|
15809
|
-
* > If
|
|
16008
|
+
* > If not specified, the node is added to the default node pool.
|
|
15810
16009
|
*
|
|
15811
16010
|
* @example
|
|
15812
16011
|
* np1c9229d9be2d432c93f77a88fca0****
|
|
@@ -15824,7 +16023,7 @@ export declare class DescribeClusterAttachScriptsRequest extends $dara.Model {
|
|
|
15824
16023
|
options?: string;
|
|
15825
16024
|
/**
|
|
15826
16025
|
* @remarks
|
|
15827
|
-
*
|
|
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.
|
|
15828
16027
|
*/
|
|
15829
16028
|
rdsInstances?: string[];
|
|
15830
16029
|
static names(): {
|
|
@@ -16343,6 +16542,10 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
16343
16542
|
* @remarks
|
|
16344
16543
|
* Indicates whether the pods in the edge node pool can use the host network.
|
|
16345
16544
|
*
|
|
16545
|
+
* `true`: sets to host network.
|
|
16546
|
+
*
|
|
16547
|
+
* `false`: sets to container network.
|
|
16548
|
+
*
|
|
16346
16549
|
* @example
|
|
16347
16550
|
* true
|
|
16348
16551
|
*/
|
|
@@ -16354,7 +16557,11 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
16354
16557
|
interconnectConfig?: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig;
|
|
16355
16558
|
/**
|
|
16356
16559
|
* @remarks
|
|
16357
|
-
* 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.
|
|
16358
16565
|
*
|
|
16359
16566
|
* @example
|
|
16360
16567
|
* improved
|
|
@@ -16362,7 +16569,11 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
16362
16569
|
interconnectMode?: string;
|
|
16363
16570
|
/**
|
|
16364
16571
|
* @remarks
|
|
16365
|
-
*
|
|
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.
|
|
16366
16577
|
*
|
|
16367
16578
|
* @example
|
|
16368
16579
|
* true
|
|
@@ -16370,7 +16581,7 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
16370
16581
|
intranet?: boolean;
|
|
16371
16582
|
/**
|
|
16372
16583
|
* @remarks
|
|
16373
|
-
* The configurations of the cluster.
|
|
16584
|
+
* The configurations of the cluster in which the node pool is deployed.
|
|
16374
16585
|
*/
|
|
16375
16586
|
kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
|
|
16376
16587
|
/**
|
|
@@ -16380,7 +16591,9 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
16380
16591
|
management?: DescribeClusterNodePoolDetailResponseBodyManagement;
|
|
16381
16592
|
/**
|
|
16382
16593
|
* @remarks
|
|
16383
|
-
*
|
|
16594
|
+
* This parameter is deprecated.
|
|
16595
|
+
*
|
|
16596
|
+
* The maximum number of nodes allowed in an edge node pool.
|
|
16384
16597
|
*
|
|
16385
16598
|
* @example
|
|
16386
16599
|
* 10
|
|
@@ -16600,6 +16813,9 @@ export declare class DescribeClusterResourcesRequest extends $dara.Model {
|
|
|
16600
16813
|
/**
|
|
16601
16814
|
* @remarks
|
|
16602
16815
|
* Specifies whether to query the resources created by cluster components.
|
|
16816
|
+
*
|
|
16817
|
+
* @example
|
|
16818
|
+
* false
|
|
16603
16819
|
*/
|
|
16604
16820
|
withAddonResources?: boolean;
|
|
16605
16821
|
static names(): {
|
|
@@ -16920,7 +17136,10 @@ export declare class DescribeClustersForRegionRequest extends $dara.Model {
|
|
|
16920
17136
|
clusterId?: string;
|
|
16921
17137
|
/**
|
|
16922
17138
|
* @remarks
|
|
16923
|
-
* 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.
|
|
16924
17143
|
*
|
|
16925
17144
|
* @example
|
|
16926
17145
|
* ack.standard
|
|
@@ -16928,7 +17147,11 @@ export declare class DescribeClustersForRegionRequest extends $dara.Model {
|
|
|
16928
17147
|
clusterSpec?: string;
|
|
16929
17148
|
/**
|
|
16930
17149
|
* @remarks
|
|
16931
|
-
* 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.
|
|
16932
17155
|
*
|
|
16933
17156
|
* @example
|
|
16934
17157
|
* Kubernetes
|
|
@@ -16960,7 +17183,12 @@ export declare class DescribeClustersForRegionRequest extends $dara.Model {
|
|
|
16960
17183
|
pageSize?: number;
|
|
16961
17184
|
/**
|
|
16962
17185
|
* @remarks
|
|
16963
|
-
* 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.
|
|
16964
17192
|
*
|
|
16965
17193
|
* @example
|
|
16966
17194
|
* Serverless
|
|
@@ -16980,7 +17208,7 @@ export declare class DescribeClustersForRegionRequest extends $dara.Model {
|
|
|
16980
17208
|
export declare class DescribeClustersForRegionResponseBody extends $dara.Model {
|
|
16981
17209
|
/**
|
|
16982
17210
|
* @remarks
|
|
16983
|
-
* The
|
|
17211
|
+
* The information about the clusters returned.
|
|
16984
17212
|
*/
|
|
16985
17213
|
clusters?: DescribeClustersForRegionResponseBodyClusters[];
|
|
16986
17214
|
/**
|
|
@@ -17107,7 +17335,7 @@ export declare class DescribeClustersV1Request extends $dara.Model {
|
|
|
17107
17335
|
export declare class DescribeClustersV1ResponseBody extends $dara.Model {
|
|
17108
17336
|
/**
|
|
17109
17337
|
* @remarks
|
|
17110
|
-
*
|
|
17338
|
+
* The queried cluster(s) details.
|
|
17111
17339
|
*/
|
|
17112
17340
|
clusters?: DescribeClustersV1ResponseBodyClusters[];
|
|
17113
17341
|
/**
|
|
@@ -19427,7 +19655,7 @@ export declare class GetUpgradeStatusResponse extends $dara.Model {
|
|
|
19427
19655
|
export declare class GrantPermissionsRequest extends $dara.Model {
|
|
19428
19656
|
/**
|
|
19429
19657
|
* @remarks
|
|
19430
|
-
* The request
|
|
19658
|
+
* The request body.
|
|
19431
19659
|
*/
|
|
19432
19660
|
body?: GrantPermissionsRequestBody[];
|
|
19433
19661
|
static names(): {
|
|
@@ -19480,7 +19708,7 @@ export declare class InstallClusterAddonsRequest extends $dara.Model {
|
|
|
19480
19708
|
export declare class InstallClusterAddonsResponseBody extends $dara.Model {
|
|
19481
19709
|
/**
|
|
19482
19710
|
* @remarks
|
|
19483
|
-
* The ID
|
|
19711
|
+
* The cluster ID.
|
|
19484
19712
|
*
|
|
19485
19713
|
* @example
|
|
19486
19714
|
* c82e6987e2961451182edacd74faf****
|
|
@@ -19488,7 +19716,7 @@ export declare class InstallClusterAddonsResponseBody extends $dara.Model {
|
|
|
19488
19716
|
clusterId?: string;
|
|
19489
19717
|
/**
|
|
19490
19718
|
* @remarks
|
|
19491
|
-
* The ID
|
|
19719
|
+
* The request ID.
|
|
19492
19720
|
*
|
|
19493
19721
|
* @example
|
|
19494
19722
|
* 48BD70F6-A7E6-543D-9F23-08DEB764C92E
|
|
@@ -19496,7 +19724,7 @@ export declare class InstallClusterAddonsResponseBody extends $dara.Model {
|
|
|
19496
19724
|
requestId?: string;
|
|
19497
19725
|
/**
|
|
19498
19726
|
* @remarks
|
|
19499
|
-
* The ID
|
|
19727
|
+
* The task ID.
|
|
19500
19728
|
*
|
|
19501
19729
|
* @example
|
|
19502
19730
|
* T-5a54309c80282e39ea00002f
|
|
@@ -19896,7 +20124,7 @@ export declare class ListTagResourcesRequest extends $dara.Model {
|
|
|
19896
20124
|
resourceType?: string;
|
|
19897
20125
|
/**
|
|
19898
20126
|
* @remarks
|
|
19899
|
-
* 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.
|
|
19900
20128
|
*
|
|
19901
20129
|
* @example
|
|
19902
20130
|
* [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}]
|
|
@@ -19954,7 +20182,7 @@ export declare class ListTagResourcesShrinkRequest extends $dara.Model {
|
|
|
19954
20182
|
resourceType?: string;
|
|
19955
20183
|
/**
|
|
19956
20184
|
* @remarks
|
|
19957
|
-
* 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.
|
|
19958
20186
|
*
|
|
19959
20187
|
* @example
|
|
19960
20188
|
* [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}]
|
|
@@ -20207,7 +20435,7 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
20207
20435
|
apiServerEipId?: string;
|
|
20208
20436
|
/**
|
|
20209
20437
|
* @remarks
|
|
20210
|
-
* The name
|
|
20438
|
+
* The cluster name.
|
|
20211
20439
|
*
|
|
20212
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 (-).
|
|
20213
20441
|
*
|
|
@@ -20227,7 +20455,7 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
20227
20455
|
* * `true`: enables cluster deletion protection.
|
|
20228
20456
|
* * `false`: disables cluster deletion protection.
|
|
20229
20457
|
*
|
|
20230
|
-
* Default value: `false
|
|
20458
|
+
* Default value: `false`
|
|
20231
20459
|
*
|
|
20232
20460
|
* @example
|
|
20233
20461
|
* true
|
|
@@ -20251,7 +20479,7 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
20251
20479
|
* * `true`: remaps the test domain name of the cluster.
|
|
20252
20480
|
* * `false`: does not remap the test domain name of the cluster.
|
|
20253
20481
|
*
|
|
20254
|
-
* Default value: `false
|
|
20482
|
+
* Default value: `false`
|
|
20255
20483
|
*
|
|
20256
20484
|
* @example
|
|
20257
20485
|
* true
|
|
@@ -20272,7 +20500,7 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
20272
20500
|
* * `true`: enables instance deletion protection.
|
|
20273
20501
|
* * `false`: disables instance deletion protection.
|
|
20274
20502
|
*
|
|
20275
|
-
* Default value: `false
|
|
20503
|
+
* Default value: `false`
|
|
20276
20504
|
*
|
|
20277
20505
|
* @example
|
|
20278
20506
|
* true
|
|
@@ -20296,17 +20524,56 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
20296
20524
|
* rg-acfmyvw3wjm****
|
|
20297
20525
|
*/
|
|
20298
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;
|
|
20299
20544
|
/**
|
|
20300
20545
|
* @remarks
|
|
20301
20546
|
* The storage configurations of system events.
|
|
20302
20547
|
*/
|
|
20303
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;
|
|
20304
20571
|
/**
|
|
20305
20572
|
* @remarks
|
|
20306
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:
|
|
20307
20574
|
*
|
|
20308
20575
|
* * This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane.
|
|
20309
|
-
* * 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.
|
|
20310
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.
|
|
20311
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.
|
|
20312
20579
|
*/
|
|
@@ -20470,7 +20737,7 @@ export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
20470
20737
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
20471
20738
|
/**
|
|
20472
20739
|
* @remarks
|
|
20473
|
-
* The
|
|
20740
|
+
* The configuration of the node pool.
|
|
20474
20741
|
*/
|
|
20475
20742
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
20476
20743
|
/**
|
|
@@ -20592,7 +20859,7 @@ export declare class ModifyNodePoolNodeConfigRequest extends $dara.Model {
|
|
|
20592
20859
|
containerdConfig?: ContainerdConfig;
|
|
20593
20860
|
/**
|
|
20594
20861
|
* @remarks
|
|
20595
|
-
* The
|
|
20862
|
+
* The kubelet configuration.
|
|
20596
20863
|
*/
|
|
20597
20864
|
kubeletConfig?: KubeletConfig;
|
|
20598
20865
|
/**
|
|
@@ -20602,7 +20869,7 @@ export declare class ModifyNodePoolNodeConfigRequest extends $dara.Model {
|
|
|
20602
20869
|
osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
|
|
20603
20870
|
/**
|
|
20604
20871
|
* @remarks
|
|
20605
|
-
* The rolling
|
|
20872
|
+
* The rolling update configuration.
|
|
20606
20873
|
*/
|
|
20607
20874
|
rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
|
|
20608
20875
|
static names(): {
|
|
@@ -21074,7 +21341,11 @@ export declare class RemoveNodePoolNodesResponse extends $dara.Model {
|
|
|
21074
21341
|
export declare class RepairClusterNodePoolRequest extends $dara.Model {
|
|
21075
21342
|
/**
|
|
21076
21343
|
* @remarks
|
|
21077
|
-
* 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.
|
|
21078
21349
|
*
|
|
21079
21350
|
* @example
|
|
21080
21351
|
* true
|
|
@@ -21084,12 +21355,12 @@ export declare class RepairClusterNodePoolRequest extends $dara.Model {
|
|
|
21084
21355
|
autoRestart?: boolean;
|
|
21085
21356
|
/**
|
|
21086
21357
|
* @remarks
|
|
21087
|
-
* The list of nodes. If
|
|
21358
|
+
* The list of nodes. If not specified, all nodes in the node pool are selected.
|
|
21088
21359
|
*/
|
|
21089
21360
|
nodes?: string[];
|
|
21090
21361
|
/**
|
|
21091
21362
|
* @remarks
|
|
21092
|
-
* 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.
|
|
21093
21364
|
*/
|
|
21094
21365
|
operations?: RepairClusterNodePoolRequestOperations[];
|
|
21095
21366
|
static names(): {
|
|
@@ -21453,7 +21724,7 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21453
21724
|
count?: number;
|
|
21454
21725
|
/**
|
|
21455
21726
|
* @remarks
|
|
21456
|
-
* 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:
|
|
21457
21728
|
*
|
|
21458
21729
|
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
21459
21730
|
* * `none`: specifies that the default CPU affinity is used.
|
|
@@ -21504,15 +21775,15 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21504
21775
|
runtime?: Runtime;
|
|
21505
21776
|
/**
|
|
21506
21777
|
* @remarks
|
|
21507
|
-
* The
|
|
21778
|
+
* The labels that you want to add to the node. When you add labels to a node, the following rules apply:
|
|
21508
21779
|
*
|
|
21509
21780
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
21510
|
-
* *
|
|
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).
|
|
21511
21782
|
*/
|
|
21512
21783
|
tags?: Tag[];
|
|
21513
21784
|
/**
|
|
21514
21785
|
* @remarks
|
|
21515
|
-
* 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/).
|
|
21516
21787
|
*/
|
|
21517
21788
|
taints?: Taint[];
|
|
21518
21789
|
/**
|
|
@@ -21535,9 +21806,9 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21535
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:
|
|
21536
21807
|
*
|
|
21537
21808
|
* * `true`: enables auto-renewal.
|
|
21538
|
-
* * `false`:
|
|
21809
|
+
* * `false`: does not enable auto-renewal.
|
|
21539
21810
|
*
|
|
21540
|
-
* Default value: `true
|
|
21811
|
+
* Default value: `true`
|
|
21541
21812
|
*
|
|
21542
21813
|
* @example
|
|
21543
21814
|
* true
|
|
@@ -21567,7 +21838,7 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21567
21838
|
* * `PrePaid`: subscription.
|
|
21568
21839
|
* * `PostPaid`: pay-as-you-go.
|
|
21569
21840
|
*
|
|
21570
|
-
* Default value: `PostPaid
|
|
21841
|
+
* Default value: `PostPaid`.
|
|
21571
21842
|
*
|
|
21572
21843
|
* @example
|
|
21573
21844
|
* PrePaid
|
|
@@ -21586,7 +21857,7 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21586
21857
|
*
|
|
21587
21858
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
21588
21859
|
*
|
|
21589
|
-
* Default value: 1
|
|
21860
|
+
* Default value: 1.
|
|
21590
21861
|
*
|
|
21591
21862
|
* @example
|
|
21592
21863
|
* 1
|
|
@@ -21596,7 +21867,7 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21596
21867
|
* @remarks
|
|
21597
21868
|
* The billing cycle of worker nodes. This parameter is required only if worker_instance_charge_type is set to `PrePaid`.
|
|
21598
21869
|
*
|
|
21599
|
-
* Set the value to `Month`.
|
|
21870
|
+
* Set the value to `Month`.
|
|
21600
21871
|
*
|
|
21601
21872
|
* @example
|
|
21602
21873
|
* Month
|
|
@@ -21604,7 +21875,7 @@ export declare class ScaleOutClusterRequest extends $dara.Model {
|
|
|
21604
21875
|
workerPeriodUnit?: string;
|
|
21605
21876
|
/**
|
|
21606
21877
|
* @remarks
|
|
21607
|
-
* The system disk
|
|
21878
|
+
* The system disk category of worker nodes. Valid values:
|
|
21608
21879
|
*
|
|
21609
21880
|
* * `cloud_efficiency`: ultra disk.
|
|
21610
21881
|
* * `cloud_ssd`: standard SSD.
|
|
@@ -21744,7 +22015,7 @@ export declare class ScanClusterVulsResponse extends $dara.Model {
|
|
|
21744
22015
|
export declare class StartAlertRequest extends $dara.Model {
|
|
21745
22016
|
/**
|
|
21746
22017
|
* @remarks
|
|
21747
|
-
* The name of the alert rule
|
|
22018
|
+
* The name of the alert rule group.
|
|
21748
22019
|
*
|
|
21749
22020
|
* @example
|
|
21750
22021
|
* sample
|
|
@@ -21752,7 +22023,7 @@ export declare class StartAlertRequest extends $dara.Model {
|
|
|
21752
22023
|
alertRuleGroupName?: string;
|
|
21753
22024
|
/**
|
|
21754
22025
|
* @remarks
|
|
21755
|
-
* The name of the alert rule
|
|
22026
|
+
* The name of the alert rule.
|
|
21756
22027
|
*
|
|
21757
22028
|
* @example
|
|
21758
22029
|
* sample
|
|
@@ -21817,7 +22088,7 @@ export declare class StartAlertResponse extends $dara.Model {
|
|
|
21817
22088
|
export declare class StopAlertRequest extends $dara.Model {
|
|
21818
22089
|
/**
|
|
21819
22090
|
* @remarks
|
|
21820
|
-
* The name of the alert rule
|
|
22091
|
+
* The name of the alert rule group.
|
|
21821
22092
|
*
|
|
21822
22093
|
* @example
|
|
21823
22094
|
* sample
|
|
@@ -21825,7 +22096,7 @@ export declare class StopAlertRequest extends $dara.Model {
|
|
|
21825
22096
|
alertRuleGroupName?: string;
|
|
21826
22097
|
/**
|
|
21827
22098
|
* @remarks
|
|
21828
|
-
* The name of the alert rule
|
|
22099
|
+
* The name of the alert rule.
|
|
21829
22100
|
*
|
|
21830
22101
|
* @example
|
|
21831
22102
|
* sample
|
|
@@ -21947,7 +22218,7 @@ export declare class TagResourcesRequest extends $dara.Model {
|
|
|
21947
22218
|
resourceIds?: string[];
|
|
21948
22219
|
/**
|
|
21949
22220
|
* @remarks
|
|
21950
|
-
* The type of resources that you want to label.
|
|
22221
|
+
* The type of resources that you want to label. Set the value to `CLUSTER`.
|
|
21951
22222
|
*
|
|
21952
22223
|
* This parameter is required.
|
|
21953
22224
|
*
|
|
@@ -21959,9 +22230,9 @@ export declare class TagResourcesRequest extends $dara.Model {
|
|
|
21959
22230
|
* @remarks
|
|
21960
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:
|
|
21961
22232
|
*
|
|
21962
|
-
* * The values
|
|
21963
|
-
* * A key or value
|
|
21964
|
-
* * 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://`.
|
|
21965
22236
|
*
|
|
21966
22237
|
* This parameter is required.
|
|
21967
22238
|
*/
|
|
@@ -22249,10 +22520,10 @@ export declare class UpdateClusterAuditLogConfigRequest extends $dara.Model {
|
|
|
22249
22520
|
disable?: boolean;
|
|
22250
22521
|
/**
|
|
22251
22522
|
* @remarks
|
|
22252
|
-
* 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.
|
|
22253
22524
|
*
|
|
22254
22525
|
* * Default value: k8s-log-{clusterid}.
|
|
22255
|
-
* * 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.
|
|
22256
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.
|
|
22257
22528
|
*
|
|
22258
22529
|
* @example
|
|
@@ -22324,9 +22595,34 @@ export declare class UpdateClusterAuditLogConfigResponse extends $dara.Model {
|
|
|
22324
22595
|
});
|
|
22325
22596
|
}
|
|
22326
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
|
+
*/
|
|
22327
22605
|
alertRuleGroupName?: string;
|
|
22606
|
+
/**
|
|
22607
|
+
* @remarks
|
|
22608
|
+
* The list of contact group IDs.
|
|
22609
|
+
*/
|
|
22328
22610
|
contactGroupIds?: number[];
|
|
22611
|
+
/**
|
|
22612
|
+
* @remarks
|
|
22613
|
+
* The name of the container registry instance.
|
|
22614
|
+
*
|
|
22615
|
+
* @example
|
|
22616
|
+
* sample
|
|
22617
|
+
*/
|
|
22329
22618
|
crName?: string;
|
|
22619
|
+
/**
|
|
22620
|
+
* @remarks
|
|
22621
|
+
* The namespace in which the resource resides.
|
|
22622
|
+
*
|
|
22623
|
+
* @example
|
|
22624
|
+
* default
|
|
22625
|
+
*/
|
|
22330
22626
|
namespace?: string;
|
|
22331
22627
|
static names(): {
|
|
22332
22628
|
[key: string]: string;
|
|
@@ -22340,7 +22636,24 @@ export declare class UpdateContactGroupForAlertRequest extends $dara.Model {
|
|
|
22340
22636
|
});
|
|
22341
22637
|
}
|
|
22342
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
|
+
*/
|
|
22343
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
|
+
*/
|
|
22344
22657
|
status?: boolean;
|
|
22345
22658
|
static names(): {
|
|
22346
22659
|
[key: string]: string;
|
|
@@ -22719,8 +23032,8 @@ export declare class UpdateUserPermissionsRequest extends $dara.Model {
|
|
|
22719
23032
|
* The authorization method. Valid values:
|
|
22720
23033
|
*
|
|
22721
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.
|
|
22722
|
-
* * `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.
|
|
22723
|
-
* * `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.
|
|
22724
23037
|
*
|
|
22725
23038
|
* Default value: `apply`.
|
|
22726
23039
|
*
|
|
@@ -22758,7 +23071,7 @@ export declare class UpdateUserPermissionsResponse extends $dara.Model {
|
|
|
22758
23071
|
export declare class UpgradeClusterRequest extends $dara.Model {
|
|
22759
23072
|
/**
|
|
22760
23073
|
* @remarks
|
|
22761
|
-
* This parameter is deprecated.
|
|
23074
|
+
* This parameter is deprecated. No need to pass values.
|
|
22762
23075
|
*
|
|
22763
23076
|
* @example
|
|
22764
23077
|
* k8s
|
|
@@ -22768,10 +23081,10 @@ export declare class UpgradeClusterRequest extends $dara.Model {
|
|
|
22768
23081
|
componentName?: string;
|
|
22769
23082
|
/**
|
|
22770
23083
|
* @remarks
|
|
22771
|
-
* Specifies whether to
|
|
23084
|
+
* Specifies whether to upgrade only master nodes. Valid values:
|
|
22772
23085
|
*
|
|
22773
|
-
* * true:
|
|
22774
|
-
* * false:
|
|
23086
|
+
* * true: upgrades master nodes only.
|
|
23087
|
+
* * false: upgrades both master and worker nodes.
|
|
22775
23088
|
*
|
|
22776
23089
|
* @example
|
|
22777
23090
|
* true
|
|
@@ -22779,7 +23092,7 @@ export declare class UpgradeClusterRequest extends $dara.Model {
|
|
|
22779
23092
|
masterOnly?: boolean;
|
|
22780
23093
|
/**
|
|
22781
23094
|
* @remarks
|
|
22782
|
-
* The Kubernetes version
|
|
23095
|
+
* The target Kubernetes version for cluster upgrade.
|
|
22783
23096
|
*
|
|
22784
23097
|
* @example
|
|
22785
23098
|
* 1.16.9-aliyun.1
|
|
@@ -22787,12 +23100,12 @@ export declare class UpgradeClusterRequest extends $dara.Model {
|
|
|
22787
23100
|
nextVersion?: string;
|
|
22788
23101
|
/**
|
|
22789
23102
|
* @remarks
|
|
22790
|
-
* The
|
|
23103
|
+
* The rolling update configuration.
|
|
22791
23104
|
*/
|
|
22792
23105
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
22793
23106
|
/**
|
|
22794
23107
|
* @remarks
|
|
22795
|
-
* This parameter is deprecated.
|
|
23108
|
+
* This parameter is deprecated. Use next_version to specify the upgrade target Kubernetes version.
|
|
22796
23109
|
*
|
|
22797
23110
|
* @example
|
|
22798
23111
|
* 1.14.8-aliyun.1
|
|
@@ -23171,7 +23484,7 @@ export default class Client extends OpenApi {
|
|
|
23171
23484
|
*/
|
|
23172
23485
|
checkControlPlaneLogEnable(ClusterId: string): Promise<CheckControlPlaneLogEnableResponse>;
|
|
23173
23486
|
/**
|
|
23174
|
-
* 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.
|
|
23175
23488
|
*
|
|
23176
23489
|
* @param request - CheckServiceRoleRequest
|
|
23177
23490
|
* @param headers - map
|
|
@@ -23182,7 +23495,7 @@ export default class Client extends OpenApi {
|
|
|
23182
23495
|
[key: string]: string;
|
|
23183
23496
|
}, runtime: $dara.RuntimeOptions): Promise<CheckServiceRoleResponse>;
|
|
23184
23497
|
/**
|
|
23185
|
-
* 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.
|
|
23186
23499
|
*
|
|
23187
23500
|
* @param request - CheckServiceRoleRequest
|
|
23188
23501
|
* @returns CheckServiceRoleResponse
|
|
@@ -23265,16 +23578,16 @@ export default class Client extends OpenApi {
|
|
|
23265
23578
|
*/
|
|
23266
23579
|
createAutoscalingConfig(ClusterId: string, request: CreateAutoscalingConfigRequest): Promise<CreateAutoscalingConfigResponse>;
|
|
23267
23580
|
/**
|
|
23268
|
-
*
|
|
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.
|
|
23269
23582
|
*
|
|
23270
23583
|
* @remarks
|
|
23271
|
-
*
|
|
23272
|
-
*
|
|
23273
|
-
*
|
|
23274
|
-
*
|
|
23275
|
-
*
|
|
23276
|
-
*
|
|
23277
|
-
*
|
|
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.
|
|
23278
23591
|
*
|
|
23279
23592
|
* @param request - CreateClusterRequest
|
|
23280
23593
|
* @param headers - map
|
|
@@ -23285,16 +23598,16 @@ export default class Client extends OpenApi {
|
|
|
23285
23598
|
[key: string]: string;
|
|
23286
23599
|
}, runtime: $dara.RuntimeOptions): Promise<CreateClusterResponse>;
|
|
23287
23600
|
/**
|
|
23288
|
-
*
|
|
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.
|
|
23289
23602
|
*
|
|
23290
23603
|
* @remarks
|
|
23291
|
-
*
|
|
23292
|
-
*
|
|
23293
|
-
*
|
|
23294
|
-
*
|
|
23295
|
-
*
|
|
23296
|
-
*
|
|
23297
|
-
*
|
|
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.
|
|
23298
23611
|
*
|
|
23299
23612
|
* @param request - CreateClusterRequest
|
|
23300
23613
|
* @returns CreateClusterResponse
|
|
@@ -23451,6 +23764,14 @@ export default class Client extends OpenApi {
|
|
|
23451
23764
|
/**
|
|
23452
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.
|
|
23453
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
|
+
*
|
|
23454
23775
|
* @param tmpReq - DeleteClusterRequest
|
|
23455
23776
|
* @param headers - map
|
|
23456
23777
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23462,6 +23783,14 @@ export default class Client extends OpenApi {
|
|
|
23462
23783
|
/**
|
|
23463
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.
|
|
23464
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
|
+
*
|
|
23465
23794
|
* @param request - DeleteClusterRequest
|
|
23466
23795
|
* @returns DeleteClusterResponse
|
|
23467
23796
|
*/
|
|
@@ -24132,7 +24461,7 @@ export default class Client extends OpenApi {
|
|
|
24132
24461
|
*/
|
|
24133
24462
|
describeEventsForRegion(regionId: string, request: DescribeEventsForRegionRequest): Promise<DescribeEventsForRegionResponse>;
|
|
24134
24463
|
/**
|
|
24135
|
-
* Queries the proxy configurations of a registered cluster
|
|
24464
|
+
* Queries the proxy configurations of a registered cluster by cluster ID.
|
|
24136
24465
|
*
|
|
24137
24466
|
* @remarks
|
|
24138
24467
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -24148,7 +24477,7 @@ export default class Client extends OpenApi {
|
|
|
24148
24477
|
[key: string]: string;
|
|
24149
24478
|
}, runtime: $dara.RuntimeOptions): Promise<DescribeExternalAgentResponse>;
|
|
24150
24479
|
/**
|
|
24151
|
-
* Queries the proxy configurations of a registered cluster
|
|
24480
|
+
* Queries the proxy configurations of a registered cluster by cluster ID.
|
|
24152
24481
|
*
|
|
24153
24482
|
* @remarks
|
|
24154
24483
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -24505,7 +24834,7 @@ export default class Client extends OpenApi {
|
|
|
24505
24834
|
*/
|
|
24506
24835
|
getClusterAddonInstance(clusterId: string, instanceName: string): Promise<GetClusterAddonInstanceResponse>;
|
|
24507
24836
|
/**
|
|
24508
|
-
* 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.
|
|
24509
24838
|
*
|
|
24510
24839
|
* @param headers - map
|
|
24511
24840
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -24515,7 +24844,7 @@ export default class Client extends OpenApi {
|
|
|
24515
24844
|
[key: string]: string;
|
|
24516
24845
|
}, runtime: $dara.RuntimeOptions): Promise<GetClusterAuditProjectResponse>;
|
|
24517
24846
|
/**
|
|
24518
|
-
* 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.
|
|
24519
24848
|
* @returns GetClusterAuditProjectResponse
|
|
24520
24849
|
*/
|
|
24521
24850
|
getClusterAuditProject(clusterid: string): Promise<GetClusterAuditProjectResponse>;
|
|
@@ -25293,7 +25622,7 @@ export default class Client extends OpenApi {
|
|
|
25293
25622
|
*/
|
|
25294
25623
|
scanClusterVuls(clusterId: string): Promise<ScanClusterVulsResponse>;
|
|
25295
25624
|
/**
|
|
25296
|
-
*
|
|
25625
|
+
* Activates the specified alert rule(s).
|
|
25297
25626
|
*
|
|
25298
25627
|
* @param request - StartAlertRequest
|
|
25299
25628
|
* @param headers - map
|
|
@@ -25304,7 +25633,7 @@ export default class Client extends OpenApi {
|
|
|
25304
25633
|
[key: string]: string;
|
|
25305
25634
|
}, runtime: $dara.RuntimeOptions): Promise<StartAlertResponse>;
|
|
25306
25635
|
/**
|
|
25307
|
-
*
|
|
25636
|
+
* Activates the specified alert rule(s).
|
|
25308
25637
|
*
|
|
25309
25638
|
* @param request - StartAlertRequest
|
|
25310
25639
|
* @returns StartAlertResponse
|
|
@@ -25401,7 +25730,7 @@ export default class Client extends OpenApi {
|
|
|
25401
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.
|
|
25402
25731
|
*
|
|
25403
25732
|
* @remarks
|
|
25404
|
-
* 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).
|
|
25405
25734
|
*
|
|
25406
25735
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
25407
25736
|
* @param headers - map
|
|
@@ -25415,7 +25744,7 @@ export default class Client extends OpenApi {
|
|
|
25415
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.
|
|
25416
25745
|
*
|
|
25417
25746
|
* @remarks
|
|
25418
|
-
* 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).
|
|
25419
25748
|
*
|
|
25420
25749
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
25421
25750
|
* @returns UpdateClusterAuditLogConfigResponse
|
|
@@ -25484,7 +25813,7 @@ export default class Client extends OpenApi {
|
|
|
25484
25813
|
*/
|
|
25485
25814
|
updateK8sClusterUserConfigExpire(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest): Promise<UpdateK8sClusterUserConfigExpireResponse>;
|
|
25486
25815
|
/**
|
|
25487
|
-
* 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.
|
|
25488
25817
|
*
|
|
25489
25818
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
25490
25819
|
* @param headers - map
|
|
@@ -25495,7 +25824,7 @@ export default class Client extends OpenApi {
|
|
|
25495
25824
|
[key: string]: string;
|
|
25496
25825
|
}, runtime: $dara.RuntimeOptions): Promise<UpdateResourcesDeleteProtectionResponse>;
|
|
25497
25826
|
/**
|
|
25498
|
-
* 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.
|
|
25499
25828
|
*
|
|
25500
25829
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
25501
25830
|
* @returns UpdateResourcesDeleteProtectionResponse
|