@alicloud/cs20151215 4.8.9 → 4.8.11
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 +200 -39
- package/dist/client.js +856 -146
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1032 -171
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
|
-
*
|
|
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
|
|
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
|
|
11008
|
+
* The name of the component.
|
|
10909
11009
|
*
|
|
10910
11010
|
* @example
|
|
10911
11011
|
* ack-node-problem-detector
|
|
@@ -11145,6 +11245,20 @@ export declare class Addon extends $dara.Model {
|
|
|
11145
11245
|
[key: string]: any;
|
|
11146
11246
|
});
|
|
11147
11247
|
}
|
|
11248
|
+
export declare class ContainerdConfig extends $dara.Model {
|
|
11249
|
+
insecureRegistries?: string[];
|
|
11250
|
+
registryMirrors?: string[];
|
|
11251
|
+
static names(): {
|
|
11252
|
+
[key: string]: string;
|
|
11253
|
+
};
|
|
11254
|
+
static types(): {
|
|
11255
|
+
[key: string]: any;
|
|
11256
|
+
};
|
|
11257
|
+
validate(): void;
|
|
11258
|
+
constructor(map?: {
|
|
11259
|
+
[key: string]: any;
|
|
11260
|
+
});
|
|
11261
|
+
}
|
|
11148
11262
|
export declare class DataDisk extends $dara.Model {
|
|
11149
11263
|
/**
|
|
11150
11264
|
* @example
|
|
@@ -11259,6 +11373,7 @@ export declare class InstancePatterns extends $dara.Model {
|
|
|
11259
11373
|
* EnterpriseLevel
|
|
11260
11374
|
*/
|
|
11261
11375
|
instanceFamilyLevel?: string;
|
|
11376
|
+
instanceTypeFamilies?: string[];
|
|
11262
11377
|
/**
|
|
11263
11378
|
* @example
|
|
11264
11379
|
* 8
|
|
@@ -11276,6 +11391,7 @@ export declare class InstancePatterns extends $dara.Model {
|
|
|
11276
11391
|
* @deprecated
|
|
11277
11392
|
*/
|
|
11278
11393
|
maxPrice?: number;
|
|
11394
|
+
maximumGpuAmount?: number;
|
|
11279
11395
|
/**
|
|
11280
11396
|
* @example
|
|
11281
11397
|
* 8
|
|
@@ -11291,6 +11407,9 @@ export declare class InstancePatterns extends $dara.Model {
|
|
|
11291
11407
|
* 8
|
|
11292
11408
|
*/
|
|
11293
11409
|
minMemorySize?: number;
|
|
11410
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
11411
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
11412
|
+
minimumEniQuantity?: number;
|
|
11294
11413
|
static names(): {
|
|
11295
11414
|
[key: string]: string;
|
|
11296
11415
|
};
|
|
@@ -12392,6 +12511,10 @@ export declare class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
12392
12511
|
* 0
|
|
12393
12512
|
*/
|
|
12394
12513
|
minReplicaCount?: number;
|
|
12514
|
+
/**
|
|
12515
|
+
* @remarks
|
|
12516
|
+
* 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.
|
|
12517
|
+
*/
|
|
12395
12518
|
priorities?: {
|
|
12396
12519
|
[key: string]: string[];
|
|
12397
12520
|
};
|
|
@@ -12429,8 +12552,14 @@ export declare class CreateAutoscalingConfigRequest extends $dara.Model {
|
|
|
12429
12552
|
*/
|
|
12430
12553
|
scaleUpFromZero?: boolean;
|
|
12431
12554
|
/**
|
|
12555
|
+
* @remarks
|
|
12556
|
+
* Elastic component type, default is goatscaler for cluster version 1.24 and above, and cluster-autoscaler below that. Values:
|
|
12557
|
+
*
|
|
12558
|
+
* - `goatscaler`: Instant elasticity.
|
|
12559
|
+
* - `cluster-autoscaler`: Auto-scaling.
|
|
12560
|
+
*
|
|
12432
12561
|
* @example
|
|
12433
|
-
*
|
|
12562
|
+
* goatscaler
|
|
12434
12563
|
*/
|
|
12435
12564
|
scalerType?: string;
|
|
12436
12565
|
/**
|
|
@@ -12593,6 +12722,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12593
12722
|
apiAudiences?: string;
|
|
12594
12723
|
/**
|
|
12595
12724
|
* @remarks
|
|
12725
|
+
* **This parameter is deprecated.**
|
|
12726
|
+
*
|
|
12596
12727
|
* Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
12597
12728
|
*
|
|
12598
12729
|
* * `true`: enables auto-renewal.
|
|
@@ -12610,9 +12741,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12610
12741
|
autoRenew?: boolean;
|
|
12611
12742
|
/**
|
|
12612
12743
|
* @remarks
|
|
12744
|
+
* **This parameter is deprecated.**
|
|
12745
|
+
*
|
|
12613
12746
|
* 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
12747
|
*
|
|
12615
|
-
* Default value: 1
|
|
12748
|
+
* Default value: 1.
|
|
12616
12749
|
*
|
|
12617
12750
|
* 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
12751
|
*
|
|
@@ -12624,19 +12757,18 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12624
12757
|
autoRenewPeriod?: number;
|
|
12625
12758
|
/**
|
|
12626
12759
|
* @remarks
|
|
12627
|
-
* The billing method of the
|
|
12760
|
+
* The billing method of the Classic Load Balancer (CLB) instance that is used by the API server. Default value: PostPaid. Valid values:
|
|
12628
12761
|
*
|
|
12629
|
-
*
|
|
12762
|
+
* * PostPaid: pay-as-you-go
|
|
12763
|
+
* * PrePaid: subscription. The newly created billing method for the CLB instance is not supported.
|
|
12630
12764
|
*
|
|
12631
|
-
*
|
|
12765
|
+
* >
|
|
12632
12766
|
*
|
|
12633
|
-
*
|
|
12767
|
+
* * 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).
|
|
12634
12768
|
*
|
|
12635
|
-
*
|
|
12769
|
+
* * Starting from December 1, 2024, new CLB instances no longer support the subscription billing method and will be charged for the instances.
|
|
12636
12770
|
*
|
|
12637
|
-
*
|
|
12638
|
-
*
|
|
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).
|
|
12771
|
+
* For more information, see [CLB billing adjustments](https://help.aliyun.com/document_detail/2839797.html).
|
|
12640
12772
|
*
|
|
12641
12773
|
* @example
|
|
12642
12774
|
* 1
|
|
@@ -12714,6 +12846,10 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
12714
12846
|
* 172.20.0.0/16
|
|
12715
12847
|
*/
|
|
12716
12848
|
containerCidr?: string;
|
|
12849
|
+
/**
|
|
12850
|
+
* @remarks
|
|
12851
|
+
* The control plane configurations of an ACK dedicated cluster.
|
|
12852
|
+
*/
|
|
12717
12853
|
controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
|
|
12718
12854
|
/**
|
|
12719
12855
|
* @remarks
|
|
@@ -13011,7 +13147,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13011
13147
|
*
|
|
13012
13148
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
13013
13149
|
*
|
|
13014
|
-
* Default value: 1
|
|
13150
|
+
* Default value: 1.
|
|
13015
13151
|
*
|
|
13016
13152
|
* @example
|
|
13017
13153
|
* 1
|
|
@@ -13035,8 +13171,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13035
13171
|
* @remarks
|
|
13036
13172
|
* The billing method of master nodes. Valid values:
|
|
13037
13173
|
*
|
|
13038
|
-
* * `PrePaid`: subscription
|
|
13039
|
-
* * `PostPaid`: the pay-as-you-go
|
|
13174
|
+
* * `PrePaid`: subscription
|
|
13175
|
+
* * `PostPaid`: the pay-as-you-go
|
|
13040
13176
|
*
|
|
13041
13177
|
* Default value: `PostPaid`
|
|
13042
13178
|
*
|
|
@@ -13059,7 +13195,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13059
13195
|
*
|
|
13060
13196
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
13061
13197
|
*
|
|
13062
|
-
* Default value: 1
|
|
13198
|
+
* Default value: 1.
|
|
13063
13199
|
*
|
|
13064
13200
|
* @example
|
|
13065
13201
|
* 1
|
|
@@ -13084,8 +13220,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13084
13220
|
* The system disk type of master nodes. Valid values:
|
|
13085
13221
|
*
|
|
13086
13222
|
* * `cloud_efficiency`: ultra disk
|
|
13087
|
-
* * `cloud_ssd`: standard SSD
|
|
13088
|
-
* * `cloud_essd`: Enterprise SSD (ESSD)
|
|
13223
|
+
* * `cloud_ssd`: standard SSD
|
|
13224
|
+
* * `cloud_essd`: Enterprise SSD (ESSD)
|
|
13089
13225
|
*
|
|
13090
13226
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
13091
13227
|
*
|
|
@@ -13230,11 +13366,13 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13230
13366
|
osType?: string;
|
|
13231
13367
|
/**
|
|
13232
13368
|
* @remarks
|
|
13369
|
+
* **This parameter is deprecated.**
|
|
13370
|
+
*
|
|
13233
13371
|
* The subscription duration of the instance. This parameter takes effect and is required only when you set charge_type to PrePaid.
|
|
13234
13372
|
*
|
|
13235
13373
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
13236
13374
|
*
|
|
13237
|
-
* Default value: 1
|
|
13375
|
+
* Default value: 1.
|
|
13238
13376
|
*
|
|
13239
13377
|
* 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
13378
|
*
|
|
@@ -13246,6 +13384,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13246
13384
|
period?: number;
|
|
13247
13385
|
/**
|
|
13248
13386
|
* @remarks
|
|
13387
|
+
* **This parameter is deprecated.**
|
|
13388
|
+
*
|
|
13249
13389
|
* The billing cycle. This parameter is required if charge_type is set to PrePaid.
|
|
13250
13390
|
*
|
|
13251
13391
|
* Valid value: Month, which indicates that resources are billed only on a monthly basis.
|
|
@@ -13452,7 +13592,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13452
13592
|
tags?: Tag[];
|
|
13453
13593
|
/**
|
|
13454
13594
|
* @remarks
|
|
13455
|
-
* The
|
|
13595
|
+
* 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
13596
|
*
|
|
13457
13597
|
* @deprecated
|
|
13458
13598
|
*/
|
|
@@ -13544,8 +13684,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13544
13684
|
* @remarks
|
|
13545
13685
|
* The billing method of worker nodes. Valid values:
|
|
13546
13686
|
*
|
|
13547
|
-
* * `PrePaid`: subscription
|
|
13548
|
-
* * `PostPaid`: the pay-as-you-go
|
|
13687
|
+
* * `PrePaid`: subscription
|
|
13688
|
+
* * `PostPaid`: the pay-as-you-go
|
|
13549
13689
|
*
|
|
13550
13690
|
* Default value: PostPaid.
|
|
13551
13691
|
*
|
|
@@ -13568,7 +13708,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13568
13708
|
*
|
|
13569
13709
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
13570
13710
|
*
|
|
13571
|
-
* Default value: 1
|
|
13711
|
+
* Default value: 1.
|
|
13572
13712
|
*
|
|
13573
13713
|
* @example
|
|
13574
13714
|
* 1
|
|
@@ -13594,10 +13734,10 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
13594
13734
|
*
|
|
13595
13735
|
* Valid values:
|
|
13596
13736
|
*
|
|
13597
|
-
* * `cloud_efficiency`: ultra disk
|
|
13598
|
-
* * `cloud_ssd`: standard SSD
|
|
13737
|
+
* * `cloud_efficiency`: ultra disk
|
|
13738
|
+
* * `cloud_ssd`: standard SSD
|
|
13599
13739
|
*
|
|
13600
|
-
* Default value: `cloud_ssd
|
|
13740
|
+
* Default value: `cloud_ssd`
|
|
13601
13741
|
*
|
|
13602
13742
|
* @example
|
|
13603
13743
|
* cloud_efficiency
|
|
@@ -18832,7 +18972,7 @@ export declare class GetClusterAuditProjectResponse extends $dara.Model {
|
|
|
18832
18972
|
export declare class GetClusterCheckResponseBody extends $dara.Model {
|
|
18833
18973
|
/**
|
|
18834
18974
|
* @remarks
|
|
18835
|
-
*
|
|
18975
|
+
* The ID of the cluster check task.
|
|
18836
18976
|
*
|
|
18837
18977
|
* @example
|
|
18838
18978
|
* 1697100584236600453-ce0da5a1d627e4e9e9f96cae8ad07****-clustercheck-lboto
|
|
@@ -20418,7 +20558,7 @@ export declare class ModifyClusterNodePoolResponse extends $dara.Model {
|
|
|
20418
20558
|
export declare class ModifyClusterTagsRequest extends $dara.Model {
|
|
20419
20559
|
/**
|
|
20420
20560
|
* @remarks
|
|
20421
|
-
* The data of the
|
|
20561
|
+
* The data of the tags that you want to modify.
|
|
20422
20562
|
*/
|
|
20423
20563
|
body?: Tag[];
|
|
20424
20564
|
static names(): {
|
|
@@ -20449,9 +20589,10 @@ export declare class ModifyClusterTagsResponse extends $dara.Model {
|
|
|
20449
20589
|
});
|
|
20450
20590
|
}
|
|
20451
20591
|
export declare class ModifyNodePoolNodeConfigRequest extends $dara.Model {
|
|
20592
|
+
containerdConfig?: ContainerdConfig;
|
|
20452
20593
|
/**
|
|
20453
20594
|
* @remarks
|
|
20454
|
-
* The kubelet
|
|
20595
|
+
* The parameters of the kubelet.
|
|
20455
20596
|
*/
|
|
20456
20597
|
kubeletConfig?: KubeletConfig;
|
|
20457
20598
|
/**
|
|
@@ -20461,7 +20602,7 @@ export declare class ModifyNodePoolNodeConfigRequest extends $dara.Model {
|
|
|
20461
20602
|
osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
|
|
20462
20603
|
/**
|
|
20463
20604
|
* @remarks
|
|
20464
|
-
* The
|
|
20605
|
+
* The rolling policy configuration.
|
|
20465
20606
|
*/
|
|
20466
20607
|
rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
|
|
20467
20608
|
static names(): {
|
|
@@ -20937,6 +21078,8 @@ export declare class RepairClusterNodePoolRequest extends $dara.Model {
|
|
|
20937
21078
|
*
|
|
20938
21079
|
* @example
|
|
20939
21080
|
* true
|
|
21081
|
+
*
|
|
21082
|
+
* @deprecated
|
|
20940
21083
|
*/
|
|
20941
21084
|
autoRestart?: boolean;
|
|
20942
21085
|
/**
|
|
@@ -20944,6 +21087,10 @@ export declare class RepairClusterNodePoolRequest extends $dara.Model {
|
|
|
20944
21087
|
* The list of nodes. If you do not specify nodes, all nodes in the node pool are selected.
|
|
20945
21088
|
*/
|
|
20946
21089
|
nodes?: string[];
|
|
21090
|
+
/**
|
|
21091
|
+
* @remarks
|
|
21092
|
+
* 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.
|
|
21093
|
+
*/
|
|
20947
21094
|
operations?: RepairClusterNodePoolRequestOperations[];
|
|
20948
21095
|
static names(): {
|
|
20949
21096
|
[key: string]: string;
|
|
@@ -21126,7 +21273,7 @@ export declare class RunClusterCheckResponseBody extends $dara.Model {
|
|
|
21126
21273
|
checkId?: string;
|
|
21127
21274
|
/**
|
|
21128
21275
|
* @remarks
|
|
21129
|
-
*
|
|
21276
|
+
* The ID of the request.
|
|
21130
21277
|
*
|
|
21131
21278
|
* @example
|
|
21132
21279
|
* F04DF81D-5C12-1524-B36A-86E02526****
|
|
@@ -21598,11 +21745,17 @@ export declare class StartAlertRequest extends $dara.Model {
|
|
|
21598
21745
|
/**
|
|
21599
21746
|
* @remarks
|
|
21600
21747
|
* The name of the alert rule set to be enabled.
|
|
21748
|
+
*
|
|
21749
|
+
* @example
|
|
21750
|
+
* sample
|
|
21601
21751
|
*/
|
|
21602
21752
|
alertRuleGroupName?: string;
|
|
21603
21753
|
/**
|
|
21604
21754
|
* @remarks
|
|
21605
21755
|
* The name of the alert rule to be enabled. If you do not specify an alert rule name, the alert rule set is enabled.
|
|
21756
|
+
*
|
|
21757
|
+
* @example
|
|
21758
|
+
* sample
|
|
21606
21759
|
*/
|
|
21607
21760
|
alertRuleName?: string;
|
|
21608
21761
|
static names(): {
|
|
@@ -21665,11 +21818,17 @@ export declare class StopAlertRequest extends $dara.Model {
|
|
|
21665
21818
|
/**
|
|
21666
21819
|
* @remarks
|
|
21667
21820
|
* The name of the alert rule set to be disabled.
|
|
21821
|
+
*
|
|
21822
|
+
* @example
|
|
21823
|
+
* sample
|
|
21668
21824
|
*/
|
|
21669
21825
|
alertRuleGroupName?: string;
|
|
21670
21826
|
/**
|
|
21671
21827
|
* @remarks
|
|
21672
21828
|
* The name of the alert rule to be disabled. If you do not specify an alert rule name, the alert rule set is disabled.
|
|
21829
|
+
*
|
|
21830
|
+
* @example
|
|
21831
|
+
* sample
|
|
21673
21832
|
*/
|
|
21674
21833
|
alertRuleName?: string;
|
|
21675
21834
|
static names(): {
|
|
@@ -21858,7 +22017,7 @@ export declare class TagResourcesResponse extends $dara.Model {
|
|
|
21858
22017
|
export declare class UnInstallClusterAddonsRequest extends $dara.Model {
|
|
21859
22018
|
/**
|
|
21860
22019
|
* @remarks
|
|
21861
|
-
* The components that you want to uninstall. The list is an array.
|
|
22020
|
+
* The list of components that you want to uninstall. The list is an array.
|
|
21862
22021
|
*/
|
|
21863
22022
|
addons?: UnInstallClusterAddonsRequestAddons[];
|
|
21864
22023
|
static names(): {
|
|
@@ -23331,8 +23490,7 @@ export default class Client extends OpenApi {
|
|
|
23331
23490
|
* @remarks
|
|
23332
23491
|
* 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
23492
|
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
23334
|
-
* * When
|
|
23335
|
-
* * The system removes only worker nodes. It does not remove master nodes.
|
|
23493
|
+
* * When you remove a node, the system sets the status of the node to Unschedulable.
|
|
23336
23494
|
*
|
|
23337
23495
|
* @param request - DeleteClusterNodesRequest
|
|
23338
23496
|
* @param headers - map
|
|
@@ -23348,8 +23506,7 @@ export default class Client extends OpenApi {
|
|
|
23348
23506
|
* @remarks
|
|
23349
23507
|
* 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
23508
|
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
23351
|
-
* * When
|
|
23352
|
-
* * The system removes only worker nodes. It does not remove master nodes.
|
|
23509
|
+
* * When you remove a node, the system sets the status of the node to Unschedulable.
|
|
23353
23510
|
*
|
|
23354
23511
|
* @param request - DeleteClusterNodesRequest
|
|
23355
23512
|
* @returns DeleteClusterNodesResponse
|
|
@@ -24744,7 +24901,7 @@ export default class Client extends OpenApi {
|
|
|
24744
24901
|
*/
|
|
24745
24902
|
modifyClusterNodePool(ClusterId: string, NodepoolId: string, request: ModifyClusterNodePoolRequest): Promise<ModifyClusterNodePoolResponse>;
|
|
24746
24903
|
/**
|
|
24747
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
24904
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
24748
24905
|
*
|
|
24749
24906
|
* @param request - ModifyClusterTagsRequest
|
|
24750
24907
|
* @param headers - map
|
|
@@ -24755,7 +24912,7 @@ export default class Client extends OpenApi {
|
|
|
24755
24912
|
[key: string]: string;
|
|
24756
24913
|
}, runtime: $dara.RuntimeOptions): Promise<ModifyClusterTagsResponse>;
|
|
24757
24914
|
/**
|
|
24758
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
24915
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
24759
24916
|
*
|
|
24760
24917
|
* @param request - ModifyClusterTagsRequest
|
|
24761
24918
|
* @returns ModifyClusterTagsResponse
|
|
@@ -25136,6 +25293,8 @@ export default class Client extends OpenApi {
|
|
|
25136
25293
|
*/
|
|
25137
25294
|
scanClusterVuls(clusterId: string): Promise<ScanClusterVulsResponse>;
|
|
25138
25295
|
/**
|
|
25296
|
+
* 启用告警
|
|
25297
|
+
*
|
|
25139
25298
|
* @param request - StartAlertRequest
|
|
25140
25299
|
* @param headers - map
|
|
25141
25300
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -25145,6 +25304,8 @@ export default class Client extends OpenApi {
|
|
|
25145
25304
|
[key: string]: string;
|
|
25146
25305
|
}, runtime: $dara.RuntimeOptions): Promise<StartAlertResponse>;
|
|
25147
25306
|
/**
|
|
25307
|
+
* 启用告警
|
|
25308
|
+
*
|
|
25148
25309
|
* @param request - StartAlertRequest
|
|
25149
25310
|
* @returns StartAlertResponse
|
|
25150
25311
|
*/
|