@alicloud/cs20151215 4.8.9 → 4.8.10

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 CHANGED
@@ -731,117 +731,190 @@ export declare class CheckServiceRoleResponseBodyRoles extends $dara.Model {
731
731
  }
732
732
  export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model {
733
733
  /**
734
+ * @remarks
735
+ * Indicates whether auto-renewal is enabled for the control plane node.
736
+ *
734
737
  * @example
735
738
  * true
736
739
  */
737
740
  autoRenew?: boolean;
738
741
  /**
742
+ * @remarks
743
+ * The auto-renewal duration for the control plane node.
744
+ *
739
745
  * @example
740
746
  * 1
741
747
  */
742
748
  autoRenewPeriod?: number;
743
749
  /**
750
+ * @remarks
751
+ * The billing method of the control plane node.
752
+ *
744
753
  * @example
745
754
  * PrePaid
746
755
  */
747
756
  chargeType?: string;
748
757
  /**
758
+ * @remarks
759
+ * Indicates whether to install CloudMonitor for the node.
760
+ *
749
761
  * @example
750
762
  * true
751
763
  */
752
764
  cloudMonitorFlags?: boolean;
753
765
  /**
766
+ * @remarks
767
+ * The CPU management policy of nodes in the node pool.
768
+ *
754
769
  * @example
755
770
  * none
756
771
  */
757
772
  cpuPolicy?: string;
758
773
  /**
774
+ * @remarks
775
+ * The ID of the deployment set.
776
+ *
759
777
  * @example
760
778
  * ds-bp10b35imuam5amw****
761
779
  */
762
780
  deploymentsetId?: string;
763
781
  /**
782
+ * @remarks
783
+ * The ID of the image.
784
+ *
764
785
  * @example
765
786
  * aliyun_3_x64_20G_alibase_20240819.vhd
766
787
  */
767
788
  imageId?: string;
768
789
  /**
790
+ * @remarks
791
+ * The type of the OS image.
792
+ *
769
793
  * @example
770
794
  * AliyunLinux3
771
795
  */
772
796
  imageType?: string;
797
+ /**
798
+ * @remarks
799
+ * The instance type of the node.
800
+ */
773
801
  instanceTypes?: string[];
774
802
  /**
803
+ * @remarks
804
+ * The name of the key pair. You must set key_pair or login_password.
805
+ *
775
806
  * @example
776
807
  * ack
777
808
  */
778
809
  keyPair?: string;
779
810
  /**
811
+ * @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 login_password or key_pair.
813
+ *
780
814
  * @example
781
815
  * ack@Test
782
816
  */
783
817
  loginPassword?: string;
784
818
  /**
819
+ * @remarks
820
+ * The node port range.
821
+ *
785
822
  * @example
786
823
  * 30000-32767
787
824
  */
788
825
  nodePortRange?: string;
789
826
  /**
827
+ * @remarks
828
+ * The subscription duration of the control plane node.
829
+ *
790
830
  * @example
791
831
  * 1
792
832
  */
793
833
  period?: number;
794
834
  /**
835
+ * @remarks
836
+ * The unit of the subscription duration of the control plane node.
837
+ *
795
838
  * @example
796
839
  * Month
797
840
  */
798
841
  periodUnit?: string;
799
842
  /**
843
+ * @remarks
844
+ * The runtime.
845
+ *
800
846
  * @example
801
847
  * containerd
802
848
  */
803
849
  runtime?: string;
804
850
  /**
851
+ * @remarks
852
+ * Indicates whether to enable Alibaba Cloud Linux Security Hardening.
853
+ *
805
854
  * @example
806
855
  * true
807
856
  */
808
857
  securityHardeningOs?: boolean;
809
858
  /**
859
+ * @remarks
860
+ * The number of control plane nodes.
861
+ *
810
862
  * @example
811
863
  * 3
812
864
  */
813
865
  size?: number;
814
866
  /**
867
+ * @remarks
868
+ * Indicates whether to enable MLPS security hardening.
869
+ *
815
870
  * @example
816
871
  * true
817
872
  */
818
873
  socEnabled?: boolean;
819
874
  /**
875
+ * @remarks
876
+ * Indicates whether to enable the burst feature for the system disk.
877
+ *
820
878
  * @example
821
879
  * true
822
880
  */
823
881
  systemDiskBurstingEnabled?: boolean;
824
882
  /**
883
+ * @remarks
884
+ * The category of the system disk for nodes.
885
+ *
825
886
  * @example
826
887
  * cloud_essd
827
888
  */
828
889
  systemDiskCategory?: string;
829
890
  /**
891
+ * @remarks
892
+ * The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for ESSDs.
893
+ *
830
894
  * @example
831
895
  * PL1
832
896
  */
833
897
  systemDiskPerformanceLevel?: string;
834
898
  /**
899
+ * @remarks
900
+ * The preset read/write IOPS of the system disk.
901
+ *
835
902
  * @example
836
903
  * 1000
837
904
  */
838
905
  systemDiskProvisionedIops?: number;
839
906
  /**
907
+ * @remarks
908
+ * The system disk size of the node. The value must be at least 40 GB.
909
+ *
840
910
  * @example
841
911
  * 120
842
912
  */
843
913
  systemDiskSize?: number;
844
914
  /**
915
+ * @remarks
916
+ * The automatic snapshot policy of the node.
917
+ *
845
918
  * @example
846
919
  * sp-2zej1nogjvovnz4z****
847
920
  */
@@ -7104,6 +7177,12 @@ export declare class DescribeKubernetesVersionMetadataResponseBody extends $dara
7104
7177
  /**
7105
7178
  * @remarks
7106
7179
  * Features of the queried Kubernetes version.
7180
+ *
7181
+ * @example
7182
+ * {
7183
+ * "AnyAZ": true,
7184
+ * "ChargeType": "PostPaid"
7185
+ * }
7107
7186
  */
7108
7187
  capabilities?: {
7109
7188
  [key: string]: any;
@@ -7116,13 +7195,20 @@ export declare class DescribeKubernetesVersionMetadataResponseBody extends $dara
7116
7195
  /**
7117
7196
  * @remarks
7118
7197
  * The metadata of the Kubernetes version.
7198
+ *
7199
+ * @example
7200
+ * {
7201
+ * "KubernetesVersion": "1.31.1-aliyun.1",
7202
+ * "SubClass": "default",
7203
+ * "ServiceCIDR": ""
7204
+ * }
7119
7205
  */
7120
7206
  metaData?: {
7121
7207
  [key: string]: any;
7122
7208
  };
7123
7209
  /**
7124
7210
  * @remarks
7125
- * Details of the supported container runtimes.
7211
+ * The container runtime configurations.
7126
7212
  */
7127
7213
  runtimes?: Runtime[];
7128
7214
  /**
@@ -10787,7 +10873,18 @@ export declare class ModifyNodePoolNodeConfigRequestRollingPolicy extends $dara.
10787
10873
  });
10788
10874
  }
10789
10875
  export declare class RepairClusterNodePoolRequestOperations extends $dara.Model {
10876
+ /**
10877
+ * @remarks
10878
+ * List of repair operation parameters.
10879
+ */
10790
10880
  args?: string[];
10881
+ /**
10882
+ * @remarks
10883
+ * Repair operation ID.
10884
+ *
10885
+ * @example
10886
+ * remove.containerdContainer
10887
+ */
10791
10888
  operationId?: string;
10792
10889
  static names(): {
10793
10890
  [key: string]: string;
@@ -10897,7 +10994,10 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $dara.Model {
10897
10994
  export declare class UnInstallClusterAddonsRequestAddons extends $dara.Model {
10898
10995
  /**
10899
10996
  * @remarks
10900
- * Specifies whether to release cloud resources.
10997
+ * Specifies whether to clear cloud resources.
10998
+ *
10999
+ * * true: clears the data and cloud resources.
11000
+ * * false: retains the data and cloud resources.
10901
11001
  *
10902
11002
  * @example
10903
11003
  * true
@@ -10905,7 +11005,7 @@ export declare class UnInstallClusterAddonsRequestAddons extends $dara.Model {
10905
11005
  cleanupCloudResources?: boolean;
10906
11006
  /**
10907
11007
  * @remarks
10908
- * The component name.
11008
+ * The name of the component.
10909
11009
  *
10910
11010
  * @example
10911
11011
  * ack-node-problem-detector
@@ -11259,6 +11359,7 @@ export declare class InstancePatterns extends $dara.Model {
11259
11359
  * EnterpriseLevel
11260
11360
  */
11261
11361
  instanceFamilyLevel?: string;
11362
+ instanceTypeFamilies?: string[];
11262
11363
  /**
11263
11364
  * @example
11264
11365
  * 8
@@ -11276,6 +11377,7 @@ export declare class InstancePatterns extends $dara.Model {
11276
11377
  * @deprecated
11277
11378
  */
11278
11379
  maxPrice?: number;
11380
+ maximumGpuAmount?: number;
11279
11381
  /**
11280
11382
  * @example
11281
11383
  * 8
@@ -11291,6 +11393,9 @@ export declare class InstancePatterns extends $dara.Model {
11291
11393
  * 8
11292
11394
  */
11293
11395
  minMemorySize?: number;
11396
+ minimumEniIpv6AddressQuantity?: number;
11397
+ minimumEniPrivateIpAddressQuantity?: number;
11398
+ minimumEniQuantity?: number;
11294
11399
  static names(): {
11295
11400
  [key: string]: string;
11296
11401
  };
@@ -12392,6 +12497,10 @@ export declare class CreateAutoscalingConfigRequest extends $dara.Model {
12392
12497
  * 0
12393
12498
  */
12394
12499
  minReplicaCount?: number;
12500
+ /**
12501
+ * @remarks
12502
+ * Auto-scaling priority configuration. After creating a node pool with elasticity enabled, you can choose whether to configure a priority strategy and priority settings through [Enabling Node Auto-scaling](https://help.aliyun.com/document_detail/119099.html). This allows you to set priorities for the specified auto-scaling node pool scaling group. The priority value range is [1, 100] and must be a positive integer.
12503
+ */
12395
12504
  priorities?: {
12396
12505
  [key: string]: string[];
12397
12506
  };
@@ -12429,8 +12538,14 @@ export declare class CreateAutoscalingConfigRequest extends $dara.Model {
12429
12538
  */
12430
12539
  scaleUpFromZero?: boolean;
12431
12540
  /**
12541
+ * @remarks
12542
+ * Elastic component type, default is goatscaler for cluster version 1.24 and above, and cluster-autoscaler below that. Values:
12543
+ *
12544
+ * - `goatscaler`: Instant elasticity.
12545
+ * - `cluster-autoscaler`: Auto-scaling.
12546
+ *
12432
12547
  * @example
12433
- * cluster-autoscaler
12548
+ * goatscaler
12434
12549
  */
12435
12550
  scalerType?: string;
12436
12551
  /**
@@ -12593,6 +12708,8 @@ export declare class CreateClusterRequest extends $dara.Model {
12593
12708
  apiAudiences?: string;
12594
12709
  /**
12595
12710
  * @remarks
12711
+ * **This parameter is deprecated.**
12712
+ *
12596
12713
  * Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
12597
12714
  *
12598
12715
  * * `true`: enables auto-renewal.
@@ -12610,9 +12727,11 @@ export declare class CreateClusterRequest extends $dara.Model {
12610
12727
  autoRenew?: boolean;
12611
12728
  /**
12612
12729
  * @remarks
12730
+ * **This parameter is deprecated.**
12731
+ *
12613
12732
  * 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.
12614
12733
  *
12615
- * Default value: 1
12734
+ * Default value: 1.
12616
12735
  *
12617
12736
  * 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).
12618
12737
  *
@@ -12624,19 +12743,18 @@ export declare class CreateClusterRequest extends $dara.Model {
12624
12743
  autoRenewPeriod?: number;
12625
12744
  /**
12626
12745
  * @remarks
12627
- * The billing method of the resource. The following resources are billed on a subscription basis:
12628
- *
12629
- * The internal-facing SLB instance used by the API server.
12746
+ * The billing method of the Classic Load Balancer (CLB) instance that is used by the API server. Default value: PostPaid. Valid values:
12630
12747
  *
12631
- * Valid values:
12748
+ * * PostPaid: pay-as-you-go
12749
+ * * PrePaid: subscription. The newly created billing method for the CLB instance is not supported.
12632
12750
  *
12633
- * PrePaid: subscription
12751
+ * >
12634
12752
  *
12635
- * PostPaid: pay-as-you-go
12753
+ * * 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).
12636
12754
  *
12637
- * Default value: PostPaid.
12755
+ * * Starting from December 1, 2024, new CLB instances no longer support the subscription billing method and will be charged for the instances.
12638
12756
  *
12639
- * 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).
12757
+ * For more information, see [CLB billing adjustments](https://help.aliyun.com/document_detail/2839797.html).
12640
12758
  *
12641
12759
  * @example
12642
12760
  * 1
@@ -12714,6 +12832,10 @@ export declare class CreateClusterRequest extends $dara.Model {
12714
12832
  * 172.20.0.0/16
12715
12833
  */
12716
12834
  containerCidr?: string;
12835
+ /**
12836
+ * @remarks
12837
+ * The control plane configurations of an ACK dedicated cluster.
12838
+ */
12717
12839
  controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
12718
12840
  /**
12719
12841
  * @remarks
@@ -13011,7 +13133,7 @@ export declare class CreateClusterRequest extends $dara.Model {
13011
13133
  *
13012
13134
  * Valid values: 1, 2, 3, 6, and 12.
13013
13135
  *
13014
- * Default value: 1
13136
+ * Default value: 1.
13015
13137
  *
13016
13138
  * @example
13017
13139
  * 1
@@ -13035,8 +13157,8 @@ export declare class CreateClusterRequest extends $dara.Model {
13035
13157
  * @remarks
13036
13158
  * The billing method of master nodes. Valid values:
13037
13159
  *
13038
- * * `PrePaid`: subscription.
13039
- * * `PostPaid`: the pay-as-you-go.
13160
+ * * `PrePaid`: subscription
13161
+ * * `PostPaid`: the pay-as-you-go
13040
13162
  *
13041
13163
  * Default value: `PostPaid`
13042
13164
  *
@@ -13059,7 +13181,7 @@ export declare class CreateClusterRequest extends $dara.Model {
13059
13181
  *
13060
13182
  * Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
13061
13183
  *
13062
- * Default value: 1
13184
+ * Default value: 1.
13063
13185
  *
13064
13186
  * @example
13065
13187
  * 1
@@ -13084,8 +13206,8 @@ export declare class CreateClusterRequest extends $dara.Model {
13084
13206
  * The system disk type of master nodes. Valid values:
13085
13207
  *
13086
13208
  * * `cloud_efficiency`: ultra disk
13087
- * * `cloud_ssd`: standard SSD.
13088
- * * `cloud_essd`: Enterprise SSD (ESSD).
13209
+ * * `cloud_ssd`: standard SSD
13210
+ * * `cloud_essd`: Enterprise SSD (ESSD)
13089
13211
  *
13090
13212
  * Default value: `cloud_ssd`. The default value may vary in different zones.
13091
13213
  *
@@ -13230,11 +13352,13 @@ export declare class CreateClusterRequest extends $dara.Model {
13230
13352
  osType?: string;
13231
13353
  /**
13232
13354
  * @remarks
13355
+ * **This parameter is deprecated.**
13356
+ *
13233
13357
  * The subscription duration of the instance. This parameter takes effect and is required only when you set charge_type to PrePaid.
13234
13358
  *
13235
13359
  * Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
13236
13360
  *
13237
- * Default value: 1
13361
+ * Default value: 1.
13238
13362
  *
13239
13363
  * 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).
13240
13364
  *
@@ -13246,6 +13370,8 @@ export declare class CreateClusterRequest extends $dara.Model {
13246
13370
  period?: number;
13247
13371
  /**
13248
13372
  * @remarks
13373
+ * **This parameter is deprecated.**
13374
+ *
13249
13375
  * The billing cycle. This parameter is required if charge_type is set to PrePaid.
13250
13376
  *
13251
13377
  * Valid value: Month, which indicates that resources are billed only on a monthly basis.
@@ -13452,7 +13578,7 @@ export declare class CreateClusterRequest extends $dara.Model {
13452
13578
  tags?: Tag[];
13453
13579
  /**
13454
13580
  * @remarks
13455
- * 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/).
13581
+ * The taint. 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/).
13456
13582
  *
13457
13583
  * @deprecated
13458
13584
  */
@@ -13544,8 +13670,8 @@ export declare class CreateClusterRequest extends $dara.Model {
13544
13670
  * @remarks
13545
13671
  * The billing method of worker nodes. Valid values:
13546
13672
  *
13547
- * * `PrePaid`: subscription.
13548
- * * `PostPaid`: the pay-as-you-go.
13673
+ * * `PrePaid`: subscription
13674
+ * * `PostPaid`: the pay-as-you-go
13549
13675
  *
13550
13676
  * Default value: PostPaid.
13551
13677
  *
@@ -13568,7 +13694,7 @@ export declare class CreateClusterRequest extends $dara.Model {
13568
13694
  *
13569
13695
  * Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
13570
13696
  *
13571
- * Default value: 1
13697
+ * Default value: 1.
13572
13698
  *
13573
13699
  * @example
13574
13700
  * 1
@@ -13594,10 +13720,10 @@ export declare class CreateClusterRequest extends $dara.Model {
13594
13720
  *
13595
13721
  * Valid values:
13596
13722
  *
13597
- * * `cloud_efficiency`: ultra disk.
13598
- * * `cloud_ssd`: standard SSD.
13723
+ * * `cloud_efficiency`: ultra disk
13724
+ * * `cloud_ssd`: standard SSD
13599
13725
  *
13600
- * Default value: `cloud_ssd`.
13726
+ * Default value: `cloud_ssd`
13601
13727
  *
13602
13728
  * @example
13603
13729
  * cloud_efficiency
@@ -18832,7 +18958,7 @@ export declare class GetClusterAuditProjectResponse extends $dara.Model {
18832
18958
  export declare class GetClusterCheckResponseBody extends $dara.Model {
18833
18959
  /**
18834
18960
  * @remarks
18835
- * Id of the request
18961
+ * The ID of the cluster check task.
18836
18962
  *
18837
18963
  * @example
18838
18964
  * 1697100584236600453-ce0da5a1d627e4e9e9f96cae8ad07****-clustercheck-lboto
@@ -20944,6 +21070,10 @@ export declare class RepairClusterNodePoolRequest extends $dara.Model {
20944
21070
  * The list of nodes. If you do not specify nodes, all nodes in the node pool are selected.
20945
21071
  */
20946
21072
  nodes?: string[];
21073
+ /**
21074
+ * @remarks
21075
+ * The repair operation to be performed. If not specified, all repair operations will be executed by default. Generally, there is no need to specify this in most scenarios.
21076
+ */
20947
21077
  operations?: RepairClusterNodePoolRequestOperations[];
20948
21078
  static names(): {
20949
21079
  [key: string]: string;
@@ -21126,7 +21256,7 @@ export declare class RunClusterCheckResponseBody extends $dara.Model {
21126
21256
  checkId?: string;
21127
21257
  /**
21128
21258
  * @remarks
21129
- * Id of the request
21259
+ * The ID of the request.
21130
21260
  *
21131
21261
  * @example
21132
21262
  * F04DF81D-5C12-1524-B36A-86E02526****
@@ -21858,7 +21988,7 @@ export declare class TagResourcesResponse extends $dara.Model {
21858
21988
  export declare class UnInstallClusterAddonsRequest extends $dara.Model {
21859
21989
  /**
21860
21990
  * @remarks
21861
- * The components that you want to uninstall. The list is an array.
21991
+ * The list of components that you want to uninstall. The list is an array.
21862
21992
  */
21863
21993
  addons?: UnInstallClusterAddonsRequestAddons[];
21864
21994
  static names(): {
@@ -23331,8 +23461,7 @@ export default class Client extends OpenApi {
23331
23461
  * @remarks
23332
23462
  * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
23333
23463
  * * The operation may have unexpected risks. Back up the data before you perform this operation.
23334
- * * When the system removes a node, it sets the status of the node to Unschedulable.
23335
- * * The system removes only worker nodes. It does not remove master nodes.
23464
+ * * When you remove a node, the system sets the status of the node to Unschedulable.
23336
23465
  *
23337
23466
  * @param request - DeleteClusterNodesRequest
23338
23467
  * @param headers - map
@@ -23348,8 +23477,7 @@ export default class Client extends OpenApi {
23348
23477
  * @remarks
23349
23478
  * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
23350
23479
  * * The operation may have unexpected risks. Back up the data before you perform this operation.
23351
- * * When the system removes a node, it sets the status of the node to Unschedulable.
23352
- * * The system removes only worker nodes. It does not remove master nodes.
23480
+ * * When you remove a node, the system sets the status of the node to Unschedulable.
23353
23481
  *
23354
23482
  * @param request - DeleteClusterNodesRequest
23355
23483
  * @returns DeleteClusterNodesResponse