@alicloud/cs20151215 4.7.6 → 4.7.7
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 +244 -66
- package/dist/client.js +30 -8
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +252 -66
package/dist/client.d.ts
CHANGED
|
@@ -1351,11 +1351,24 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1351
1351
|
*/
|
|
1352
1352
|
apiAudiences?: string;
|
|
1353
1353
|
/**
|
|
1354
|
+
* @remarks
|
|
1355
|
+
* Specifies whether to enable auto-renewal, which takes effect only when the `charge_type` value is set to `PrePaid`.
|
|
1356
|
+
*
|
|
1357
|
+
* Possible values:
|
|
1358
|
+
* - `true`: Enable auto-renewal.
|
|
1359
|
+
* - `false`: Do not auto-renew.
|
|
1360
|
+
*
|
|
1361
|
+
* Default value: `false`.
|
|
1362
|
+
*
|
|
1354
1363
|
* @example
|
|
1355
1364
|
* true
|
|
1356
1365
|
*/
|
|
1357
1366
|
autoRenew?: boolean;
|
|
1358
1367
|
/**
|
|
1368
|
+
* @remarks
|
|
1369
|
+
* Renewal period, which takes effect only when Prepaid and Auto-Renewal are selected. When `PeriodUnit=Month`, the value range is {1, 2, 3, 6, 12}.
|
|
1370
|
+
* Default value: 1.
|
|
1371
|
+
*
|
|
1359
1372
|
* @example
|
|
1360
1373
|
* 1
|
|
1361
1374
|
*/
|
|
@@ -1660,6 +1673,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1660
1673
|
*/
|
|
1661
1674
|
kubernetesVersion?: string;
|
|
1662
1675
|
/**
|
|
1676
|
+
* @remarks
|
|
1677
|
+
* Specifies the CLB instance ID for accessing the APIServer. When this parameter is set, an APIServer CLB will no longer be automatically created.
|
|
1678
|
+
*
|
|
1663
1679
|
* @example
|
|
1664
1680
|
* lb-wz9t256gqa3vbouk****
|
|
1665
1681
|
*/
|
|
@@ -2328,6 +2344,11 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2328
2344
|
* @deprecated
|
|
2329
2345
|
*/
|
|
2330
2346
|
zoneId?: string;
|
|
2347
|
+
/**
|
|
2348
|
+
* @remarks
|
|
2349
|
+
* List of availability zone IDs in the region where the cluster resides. This parameter is specific to ACK managed clusters.
|
|
2350
|
+
* When creating an ACK managed cluster, if `vpc_id` and `vswitch_ids` are not specified, specifying `zone_ids` allows for automatic creation of VPC network resources across multiple availability zones. If `vpc_id` and `vswitch_ids` are specified, this parameter becomes ineffective.
|
|
2351
|
+
*/
|
|
2331
2352
|
zoneIds?: string[];
|
|
2332
2353
|
static names(): {
|
|
2333
2354
|
[key: string]: string;
|
|
@@ -4797,6 +4818,10 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
|
|
|
4797
4818
|
* 10
|
|
4798
4819
|
*/
|
|
4799
4820
|
maxNodes?: number;
|
|
4821
|
+
/**
|
|
4822
|
+
* @remarks
|
|
4823
|
+
* Node configuration.
|
|
4824
|
+
*/
|
|
4800
4825
|
nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
|
|
4801
4826
|
/**
|
|
4802
4827
|
* @remarks
|
|
@@ -4846,6 +4871,9 @@ export declare class DescribeClusterNodePoolDetailResponse extends $tea.Model {
|
|
|
4846
4871
|
}
|
|
4847
4872
|
export declare class DescribeClusterNodePoolsRequest extends $tea.Model {
|
|
4848
4873
|
/**
|
|
4874
|
+
* @remarks
|
|
4875
|
+
* Node pool name.
|
|
4876
|
+
*
|
|
4849
4877
|
* @example
|
|
4850
4878
|
* nodepool-test
|
|
4851
4879
|
*/
|
|
@@ -6004,6 +6032,9 @@ export declare class DescribeNodePoolVulsResponseBody extends $tea.Model {
|
|
|
6004
6032
|
*/
|
|
6005
6033
|
vulRecords?: DescribeNodePoolVulsResponseBodyVulRecords[];
|
|
6006
6034
|
/**
|
|
6035
|
+
* @remarks
|
|
6036
|
+
* Whether the Cloud Security CVE Remediation Service has been purchased
|
|
6037
|
+
*
|
|
6007
6038
|
* @example
|
|
6008
6039
|
* false
|
|
6009
6040
|
*/
|
|
@@ -7730,6 +7761,9 @@ export declare class ListClusterChecksRequest extends $tea.Model {
|
|
|
7730
7761
|
/**
|
|
7731
7762
|
* @remarks
|
|
7732
7763
|
* The targets to check.
|
|
7764
|
+
*
|
|
7765
|
+
* @example
|
|
7766
|
+
* ngw-bp19ay6nnvd4cexxxx
|
|
7733
7767
|
*/
|
|
7734
7768
|
target?: string;
|
|
7735
7769
|
/**
|
|
@@ -8471,7 +8505,7 @@ export declare class ModifyClusterConfigurationResponse extends $tea.Model {
|
|
|
8471
8505
|
export declare class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
8472
8506
|
/**
|
|
8473
8507
|
* @remarks
|
|
8474
|
-
* The
|
|
8508
|
+
* The configurations about auto scaling.
|
|
8475
8509
|
*/
|
|
8476
8510
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
8477
8511
|
/**
|
|
@@ -8489,7 +8523,7 @@ export declare class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
8489
8523
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
8490
8524
|
/**
|
|
8491
8525
|
* @remarks
|
|
8492
|
-
* The
|
|
8526
|
+
* The configuration of the managed node pool feature.
|
|
8493
8527
|
*/
|
|
8494
8528
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
8495
8529
|
/**
|
|
@@ -8499,7 +8533,7 @@ export declare class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
8499
8533
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
8500
8534
|
/**
|
|
8501
8535
|
* @remarks
|
|
8502
|
-
* The
|
|
8536
|
+
* The configuration of the scaling group.
|
|
8503
8537
|
*/
|
|
8504
8538
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
8505
8539
|
/**
|
|
@@ -8912,6 +8946,9 @@ export declare class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
8912
8946
|
}
|
|
8913
8947
|
export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
8914
8948
|
/**
|
|
8949
|
+
* @remarks
|
|
8950
|
+
* Whether to remove concurrently.
|
|
8951
|
+
*
|
|
8915
8952
|
* @example
|
|
8916
8953
|
* false
|
|
8917
8954
|
*/
|
|
@@ -8962,6 +8999,9 @@ export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
8962
8999
|
}
|
|
8963
9000
|
export declare class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
8964
9001
|
/**
|
|
9002
|
+
* @remarks
|
|
9003
|
+
* Whether to remove concurrently.
|
|
9004
|
+
*
|
|
8965
9005
|
* @example
|
|
8966
9006
|
* false
|
|
8967
9007
|
*/
|
|
@@ -9350,10 +9390,10 @@ export declare class ScaleClusterResponse extends $tea.Model {
|
|
|
9350
9390
|
export declare class ScaleClusterNodePoolRequest extends $tea.Model {
|
|
9351
9391
|
/**
|
|
9352
9392
|
* @remarks
|
|
9353
|
-
* The number of worker nodes that you want to add. For example, the current node pool contains two nodes. After the node
|
|
9393
|
+
* The number of worker nodes that you want to add. For example, the current node pool contains two nodes. After the two node is scaled out, the node pool contains four nodes. Due to the limit of the node quota, you can add at most 500 nodes in each request.
|
|
9354
9394
|
*
|
|
9355
9395
|
* @example
|
|
9356
|
-
*
|
|
9396
|
+
* 2
|
|
9357
9397
|
*/
|
|
9358
9398
|
count?: number;
|
|
9359
9399
|
static names(): {
|
|
@@ -9669,11 +9709,17 @@ export declare class ScaleOutClusterResponse extends $tea.Model {
|
|
|
9669
9709
|
}
|
|
9670
9710
|
export declare class ScanClusterVulsResponseBody extends $tea.Model {
|
|
9671
9711
|
/**
|
|
9712
|
+
* @remarks
|
|
9713
|
+
* Request ID.
|
|
9714
|
+
*
|
|
9672
9715
|
* @example
|
|
9673
9716
|
* 687C5BAA-D103-4993-884B-C35E4314A1E1
|
|
9674
9717
|
*/
|
|
9675
9718
|
requestId?: string;
|
|
9676
9719
|
/**
|
|
9720
|
+
* @remarks
|
|
9721
|
+
* Task ID.
|
|
9722
|
+
*
|
|
9677
9723
|
* @example
|
|
9678
9724
|
* T-xascadasd*****
|
|
9679
9725
|
*/
|
|
@@ -10672,6 +10718,9 @@ export declare class UpdateResourcesDeleteProtectionResponseBody extends $tea.Mo
|
|
|
10672
10718
|
/**
|
|
10673
10719
|
* @remarks
|
|
10674
10720
|
* Indicates the status of deletion protection. A value of true indicates that deletion protection is enabled and a value of false indicates that deletion protection is disabled.
|
|
10721
|
+
*
|
|
10722
|
+
* @example
|
|
10723
|
+
* enable
|
|
10675
10724
|
*/
|
|
10676
10725
|
protection?: string;
|
|
10677
10726
|
/**
|
|
@@ -10685,6 +10734,9 @@ export declare class UpdateResourcesDeleteProtectionResponseBody extends $tea.Mo
|
|
|
10685
10734
|
/**
|
|
10686
10735
|
* @remarks
|
|
10687
10736
|
* The type of resource for which deletion protection is enabled or disabled.
|
|
10737
|
+
*
|
|
10738
|
+
* @example
|
|
10739
|
+
* namespaces
|
|
10688
10740
|
*/
|
|
10689
10741
|
resourceType?: string;
|
|
10690
10742
|
/**
|
|
@@ -10862,6 +10914,10 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
10862
10914
|
* 1.16.9-aliyun.1
|
|
10863
10915
|
*/
|
|
10864
10916
|
nextVersion?: string;
|
|
10917
|
+
/**
|
|
10918
|
+
* @remarks
|
|
10919
|
+
* Policy of rolling.
|
|
10920
|
+
*/
|
|
10865
10921
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
10866
10922
|
/**
|
|
10867
10923
|
* @remarks
|
|
@@ -10885,16 +10941,25 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
10885
10941
|
}
|
|
10886
10942
|
export declare class UpgradeClusterResponseBody extends $tea.Model {
|
|
10887
10943
|
/**
|
|
10944
|
+
* @remarks
|
|
10945
|
+
* Cluster ID.
|
|
10946
|
+
*
|
|
10888
10947
|
* @example
|
|
10889
10948
|
* c82e6987e2961451182edacd74faf****
|
|
10890
10949
|
*/
|
|
10891
10950
|
clusterId?: string;
|
|
10892
10951
|
/**
|
|
10952
|
+
* @remarks
|
|
10953
|
+
* Request ID.
|
|
10954
|
+
*
|
|
10893
10955
|
* @example
|
|
10894
10956
|
* 0527ac9a-c899-4341-a21a-****
|
|
10895
10957
|
*/
|
|
10896
10958
|
requestId?: string;
|
|
10897
10959
|
/**
|
|
10960
|
+
* @remarks
|
|
10961
|
+
* Task ID.
|
|
10962
|
+
*
|
|
10898
10963
|
* @example
|
|
10899
10964
|
* T-5faa48fb31b6b8078d00****
|
|
10900
10965
|
*/
|
|
@@ -12048,6 +12113,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
12048
12113
|
* customized,aliyun,ip,com
|
|
12049
12114
|
*/
|
|
12050
12115
|
nodeNameMode?: string;
|
|
12116
|
+
preUserData?: string;
|
|
12051
12117
|
/**
|
|
12052
12118
|
* @remarks
|
|
12053
12119
|
* The name of the container runtime. The following types of runtime are supported by Container Service for Kubernetes (ACK):
|
|
@@ -13525,6 +13591,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13525
13591
|
* customized,test.,5,.com
|
|
13526
13592
|
*/
|
|
13527
13593
|
nodeNameMode?: string;
|
|
13594
|
+
preUserData?: string;
|
|
13528
13595
|
/**
|
|
13529
13596
|
* @remarks
|
|
13530
13597
|
* The name of the container runtime.
|
|
@@ -13547,6 +13614,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13547
13614
|
*/
|
|
13548
13615
|
taints?: Taint[];
|
|
13549
13616
|
/**
|
|
13617
|
+
* @remarks
|
|
13618
|
+
* Whether the expanded node is schedulable.
|
|
13619
|
+
*
|
|
13550
13620
|
* @example
|
|
13551
13621
|
* true
|
|
13552
13622
|
*/
|
|
@@ -13571,6 +13641,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13571
13641
|
}
|
|
13572
13642
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy extends $tea.Model {
|
|
13573
13643
|
/**
|
|
13644
|
+
* @remarks
|
|
13645
|
+
* Whether to allow restarting nodes.
|
|
13646
|
+
*
|
|
13574
13647
|
* @example
|
|
13575
13648
|
* true
|
|
13576
13649
|
*/
|
|
@@ -13587,6 +13660,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepa
|
|
|
13587
13660
|
}
|
|
13588
13661
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $tea.Model {
|
|
13589
13662
|
/**
|
|
13663
|
+
* @remarks
|
|
13664
|
+
* Whether to allow automatic upgrading of kubelet.
|
|
13665
|
+
*
|
|
13590
13666
|
* @example
|
|
13591
13667
|
* true
|
|
13592
13668
|
*/
|
|
@@ -13603,11 +13679,17 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgr
|
|
|
13603
13679
|
}
|
|
13604
13680
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $tea.Model {
|
|
13605
13681
|
/**
|
|
13682
|
+
* @remarks
|
|
13683
|
+
* Whether to allow restarting nodes.
|
|
13684
|
+
*
|
|
13606
13685
|
* @example
|
|
13607
13686
|
* true
|
|
13608
13687
|
*/
|
|
13609
13688
|
restartNode?: boolean;
|
|
13610
13689
|
/**
|
|
13690
|
+
* @remarks
|
|
13691
|
+
* The vulnerability levels allowed for auto-fixing, separated by commas.
|
|
13692
|
+
*
|
|
13611
13693
|
* @example
|
|
13612
13694
|
* asap,nntf
|
|
13613
13695
|
*/
|
|
@@ -13682,18 +13764,36 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
13682
13764
|
* true
|
|
13683
13765
|
*/
|
|
13684
13766
|
autoRepair?: boolean;
|
|
13767
|
+
/**
|
|
13768
|
+
* @remarks
|
|
13769
|
+
* Automatic repair node policy.
|
|
13770
|
+
*/
|
|
13685
13771
|
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
13686
13772
|
/**
|
|
13773
|
+
* @remarks
|
|
13774
|
+
* Whether to automatically upgrade.
|
|
13775
|
+
*
|
|
13687
13776
|
* @example
|
|
13688
13777
|
* true
|
|
13689
13778
|
*/
|
|
13690
13779
|
autoUpgrade?: boolean;
|
|
13780
|
+
/**
|
|
13781
|
+
* @remarks
|
|
13782
|
+
* Automatic upgrade policy.
|
|
13783
|
+
*/
|
|
13691
13784
|
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
13692
13785
|
/**
|
|
13786
|
+
* @remarks
|
|
13787
|
+
* Whether to automatically fix CVEs.
|
|
13788
|
+
*
|
|
13693
13789
|
* @example
|
|
13694
13790
|
* true
|
|
13695
13791
|
*/
|
|
13696
13792
|
autoVulFix?: boolean;
|
|
13793
|
+
/**
|
|
13794
|
+
* @remarks
|
|
13795
|
+
* Automatically repair CVE policies.
|
|
13796
|
+
*/
|
|
13697
13797
|
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
13698
13798
|
/**
|
|
13699
13799
|
* @remarks
|
|
@@ -13722,6 +13822,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
13722
13822
|
});
|
|
13723
13823
|
}
|
|
13724
13824
|
export declare class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $tea.Model {
|
|
13825
|
+
/**
|
|
13826
|
+
* @remarks
|
|
13827
|
+
* Kubelet parameter configuration.
|
|
13828
|
+
*/
|
|
13725
13829
|
kubeletConfiguration?: KubeletConfig;
|
|
13726
13830
|
static names(): {
|
|
13727
13831
|
[key: string]: string;
|
|
@@ -13893,6 +13997,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
13893
13997
|
*/
|
|
13894
13998
|
autoRenewPeriod?: number;
|
|
13895
13999
|
/**
|
|
14000
|
+
* @remarks
|
|
14001
|
+
* 【The field is deprecated】Please use the parameter security_hardening_os instead.
|
|
14002
|
+
*
|
|
13896
14003
|
* @example
|
|
13897
14004
|
* false
|
|
13898
14005
|
*
|
|
@@ -13940,6 +14047,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
13940
14047
|
*/
|
|
13941
14048
|
imageId?: string;
|
|
13942
14049
|
/**
|
|
14050
|
+
* @remarks
|
|
14051
|
+
* Operating system image type.
|
|
14052
|
+
*
|
|
13943
14053
|
* @example
|
|
13944
14054
|
* AliyunLinux
|
|
13945
14055
|
*/
|
|
@@ -13957,7 +14067,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
13957
14067
|
instanceChargeType?: string;
|
|
13958
14068
|
/**
|
|
13959
14069
|
* @remarks
|
|
13960
|
-
*
|
|
14070
|
+
* Instance attributes
|
|
13961
14071
|
*/
|
|
13962
14072
|
instancePatterns?: InstancePatterns[];
|
|
13963
14073
|
/**
|
|
@@ -13990,6 +14100,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
13990
14100
|
*/
|
|
13991
14101
|
keyPair?: string;
|
|
13992
14102
|
/**
|
|
14103
|
+
* @remarks
|
|
14104
|
+
* Whether the popped ECS instance uses a non-root user for login.
|
|
14105
|
+
*
|
|
13993
14106
|
* @example
|
|
13994
14107
|
* true
|
|
13995
14108
|
*/
|
|
@@ -14088,7 +14201,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14088
14201
|
ramPolicy?: string;
|
|
14089
14202
|
/**
|
|
14090
14203
|
* @remarks
|
|
14091
|
-
* Worker RAM
|
|
14204
|
+
* Worker RAM role name.
|
|
14092
14205
|
*
|
|
14093
14206
|
* @example
|
|
14094
14207
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
@@ -14132,11 +14245,21 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14132
14245
|
*/
|
|
14133
14246
|
securityGroupIds?: string[];
|
|
14134
14247
|
/**
|
|
14248
|
+
* @remarks
|
|
14249
|
+
* Alibaba Cloud OS security hardening. Values:
|
|
14250
|
+
* - `true`: Enable Alibaba Cloud OS security hardening.
|
|
14251
|
+
* - `false`: Do not enable Alibaba Cloud OS security hardening.
|
|
14252
|
+
*
|
|
14253
|
+
* Default value: `false`.
|
|
14254
|
+
*
|
|
14135
14255
|
* @example
|
|
14136
14256
|
* false
|
|
14137
14257
|
*/
|
|
14138
14258
|
securityHardeningOs?: boolean;
|
|
14139
14259
|
/**
|
|
14260
|
+
* @remarks
|
|
14261
|
+
* Indicates whether to enable security reinforcement compliant with the hardening standards. This option is available only when the system image is set to Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides baseline check standards and scanning programs compliant with Grade 3, Version 2.0 of the hardening standards for both Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images.
|
|
14262
|
+
*
|
|
14140
14263
|
* @example
|
|
14141
14264
|
* false
|
|
14142
14265
|
*/
|
|
@@ -14180,6 +14303,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14180
14303
|
*/
|
|
14181
14304
|
spotStrategy?: string;
|
|
14182
14305
|
/**
|
|
14306
|
+
* @remarks
|
|
14307
|
+
* Whether to enable Burst (performance burst) for the node system disk, configured when the disk type is cloud_auto.
|
|
14308
|
+
*
|
|
14183
14309
|
* @example
|
|
14184
14310
|
* true
|
|
14185
14311
|
*/
|
|
@@ -14216,6 +14342,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14216
14342
|
*/
|
|
14217
14343
|
systemDiskCategory?: string;
|
|
14218
14344
|
/**
|
|
14345
|
+
* @remarks
|
|
14346
|
+
* Encryption algorithm used for the system disk. Valid values: aes-256.
|
|
14347
|
+
*
|
|
14219
14348
|
* @example
|
|
14220
14349
|
* aes-256
|
|
14221
14350
|
*/
|
|
@@ -14232,6 +14361,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14232
14361
|
*/
|
|
14233
14362
|
systemDiskEncrypted?: boolean;
|
|
14234
14363
|
/**
|
|
14364
|
+
* @remarks
|
|
14365
|
+
* System disk\\"s KMS key ID.
|
|
14366
|
+
*
|
|
14235
14367
|
* @example
|
|
14236
14368
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
14237
14369
|
*/
|
|
@@ -14245,6 +14377,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14245
14377
|
*/
|
|
14246
14378
|
systemDiskPerformanceLevel?: string;
|
|
14247
14379
|
/**
|
|
14380
|
+
* @remarks
|
|
14381
|
+
* Pre-configured read and write IOPS for the system disk of the node, configured when the disk type is cloud_auto.
|
|
14382
|
+
*
|
|
14248
14383
|
* @example
|
|
14249
14384
|
* 1000
|
|
14250
14385
|
*/
|
|
@@ -14572,6 +14707,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
14572
14707
|
* customized,test.,5,.com
|
|
14573
14708
|
*/
|
|
14574
14709
|
nodeNameMode?: string;
|
|
14710
|
+
preUserData?: string;
|
|
14575
14711
|
/**
|
|
14576
14712
|
* @remarks
|
|
14577
14713
|
* The name of the container runtime.
|
|
@@ -15053,6 +15189,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15053
15189
|
* PostPaid
|
|
15054
15190
|
*/
|
|
15055
15191
|
instanceChargeType?: string;
|
|
15192
|
+
/**
|
|
15193
|
+
* @remarks
|
|
15194
|
+
* Instance attributes
|
|
15195
|
+
*/
|
|
15056
15196
|
instancePatterns?: InstancePatterns[];
|
|
15057
15197
|
/**
|
|
15058
15198
|
* @remarks
|
|
@@ -15187,6 +15327,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15187
15327
|
*/
|
|
15188
15328
|
ramPolicy?: string;
|
|
15189
15329
|
/**
|
|
15330
|
+
* @remarks
|
|
15331
|
+
* Worker RAM role name.
|
|
15332
|
+
*
|
|
15190
15333
|
* @example
|
|
15191
15334
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
15192
15335
|
*/
|
|
@@ -15228,6 +15371,15 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15228
15371
|
* The IDs of security groups for the node pool.
|
|
15229
15372
|
*/
|
|
15230
15373
|
securityGroupIds?: string[];
|
|
15374
|
+
/**
|
|
15375
|
+
* @remarks
|
|
15376
|
+
* Alibaba Cloud OS security hardening. Values:
|
|
15377
|
+
* - `true`: Enable Alibaba Cloud OS security hardening. - `false`: Do not enable Alibaba Cloud OS security hardening.
|
|
15378
|
+
* Default value: `false`.
|
|
15379
|
+
*
|
|
15380
|
+
* @example
|
|
15381
|
+
* false
|
|
15382
|
+
*/
|
|
15231
15383
|
securityHardeningOs?: boolean;
|
|
15232
15384
|
/**
|
|
15233
15385
|
* @remarks
|
|
@@ -19412,7 +19564,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19412
19564
|
eipBandwidth?: number;
|
|
19413
19565
|
/**
|
|
19414
19566
|
* @remarks
|
|
19415
|
-
* The
|
|
19567
|
+
* The billing method of the EIP. Valid values:
|
|
19416
19568
|
*
|
|
19417
19569
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
19418
19570
|
* * `PayByTraffic`: pay-by-data-transfer.
|
|
@@ -19440,7 +19592,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19440
19592
|
enable?: boolean;
|
|
19441
19593
|
/**
|
|
19442
19594
|
* @remarks
|
|
19443
|
-
* Specifies whether to associate an EIP with the node pool. Valid values:
|
|
19595
|
+
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
19444
19596
|
*
|
|
19445
19597
|
* * `true`: associates an EIP with the node pool.
|
|
19446
19598
|
* * `false`: No EIP is associated with the node pool.
|
|
@@ -19471,7 +19623,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19471
19623
|
minInstances?: number;
|
|
19472
19624
|
/**
|
|
19473
19625
|
* @remarks
|
|
19474
|
-
* The instance
|
|
19626
|
+
* The instance types that can be used for the auto scaling of the node pool. Valid values:
|
|
19475
19627
|
*
|
|
19476
19628
|
* * `cpu`: regular instance.
|
|
19477
19629
|
* * `gpu`: GPU-accelerated instance.
|
|
@@ -19525,12 +19677,13 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19525
19677
|
cpuPolicy?: string;
|
|
19526
19678
|
/**
|
|
19527
19679
|
* @remarks
|
|
19528
|
-
* The labels
|
|
19680
|
+
* The labels of the nodes in the node pool. You can add labels to the nodes in the cluster. You must add labels based on the following rules:
|
|
19529
19681
|
*
|
|
19530
19682
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
19531
19683
|
* * 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).
|
|
19532
19684
|
*/
|
|
19533
19685
|
labels?: Tag[];
|
|
19686
|
+
preUserData?: string;
|
|
19534
19687
|
/**
|
|
19535
19688
|
* @remarks
|
|
19536
19689
|
* The name of the container runtime.
|
|
@@ -19549,7 +19702,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19549
19702
|
runtimeVersion?: string;
|
|
19550
19703
|
/**
|
|
19551
19704
|
* @remarks
|
|
19552
|
-
* The
|
|
19705
|
+
* The configuration of a node taint.
|
|
19553
19706
|
*/
|
|
19554
19707
|
taints?: Taint[];
|
|
19555
19708
|
/**
|
|
@@ -19562,7 +19715,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19562
19715
|
unschedulable?: boolean;
|
|
19563
19716
|
/**
|
|
19564
19717
|
* @remarks
|
|
19565
|
-
* The user data
|
|
19718
|
+
* The user data of the node pool. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
|
|
19566
19719
|
*
|
|
19567
19720
|
* @example
|
|
19568
19721
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -19581,7 +19734,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19581
19734
|
export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
19582
19735
|
/**
|
|
19583
19736
|
* @remarks
|
|
19584
|
-
* Specifies whether to
|
|
19737
|
+
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
19585
19738
|
*
|
|
19586
19739
|
* * `true`: allows node restart.
|
|
19587
19740
|
* * `false`: does not allow node restart.
|
|
@@ -19603,7 +19756,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
19603
19756
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
19604
19757
|
/**
|
|
19605
19758
|
* @remarks
|
|
19606
|
-
* Specifies whether to
|
|
19759
|
+
* Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
|
|
19607
19760
|
*
|
|
19608
19761
|
* * `true`: allows auto update of the kubelet.
|
|
19609
19762
|
* * `false`: does not allow auto update of the kubelet.
|
|
@@ -19614,7 +19767,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
19614
19767
|
autoUpgradeKubelet?: boolean;
|
|
19615
19768
|
/**
|
|
19616
19769
|
* @remarks
|
|
19617
|
-
* Specifies whether to
|
|
19770
|
+
* Specifies whether ACK is allowed to automatically update the operating system. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
19618
19771
|
*
|
|
19619
19772
|
* * `true`: allows auto update of the OS.
|
|
19620
19773
|
* * `false`: does not allow auto update of the OS.
|
|
@@ -19624,7 +19777,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
19624
19777
|
autoUpgradeOs?: boolean;
|
|
19625
19778
|
/**
|
|
19626
19779
|
* @remarks
|
|
19627
|
-
* Specifies whether to
|
|
19780
|
+
* Specifies whether ACK is allowed to automatically update the runtime. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
19628
19781
|
*
|
|
19629
19782
|
* * `true`: allows auto update of the runtime.
|
|
19630
19783
|
* * `false`: does not allow auto update of the runtime.
|
|
@@ -19645,7 +19798,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
19645
19798
|
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
19646
19799
|
/**
|
|
19647
19800
|
* @remarks
|
|
19648
|
-
* Specifies whether to
|
|
19801
|
+
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
19649
19802
|
*
|
|
19650
19803
|
* * `true`: allows node restart.
|
|
19651
19804
|
* * `false`: does not allow node restart.
|
|
@@ -19656,7 +19809,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
19656
19809
|
restartNode?: boolean;
|
|
19657
19810
|
/**
|
|
19658
19811
|
* @remarks
|
|
19659
|
-
* The severity levels of
|
|
19812
|
+
* The severity levels of vulnerabilities that ACK is allowed to automatically patch. Multiple severity levels are separated by commas (,).
|
|
19660
19813
|
*
|
|
19661
19814
|
* @example
|
|
19662
19815
|
* asap,nntf
|
|
@@ -19675,7 +19828,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
19675
19828
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
19676
19829
|
/**
|
|
19677
19830
|
* @remarks
|
|
19678
|
-
* Specifies whether to enable auto update.
|
|
19831
|
+
* Specifies whether to enable auto update.
|
|
19679
19832
|
*
|
|
19680
19833
|
* * true: enables auto update.
|
|
19681
19834
|
* * false: disables auto update.
|
|
@@ -19690,11 +19843,11 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19690
19843
|
autoUpgrade?: boolean;
|
|
19691
19844
|
/**
|
|
19692
19845
|
* @remarks
|
|
19693
|
-
* The maximum number of
|
|
19846
|
+
* The maximum number of nodes that can be in the Unavailable state.
|
|
19694
19847
|
*
|
|
19695
19848
|
* Valid values: 1 to 1000.
|
|
19696
19849
|
*
|
|
19697
|
-
* Default value: 1
|
|
19850
|
+
* Default value: 1
|
|
19698
19851
|
*
|
|
19699
19852
|
* @example
|
|
19700
19853
|
* 1
|
|
@@ -19702,9 +19855,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19702
19855
|
maxUnavailable?: number;
|
|
19703
19856
|
/**
|
|
19704
19857
|
* @remarks
|
|
19705
|
-
* The number of
|
|
19858
|
+
* The number of nodes that are temporarily added to the node pool during an auto upgrade. Additional nodes are used to host the workloads of nodes that are being updated.
|
|
19706
19859
|
*
|
|
19707
|
-
* > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes
|
|
19860
|
+
* > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes.
|
|
19708
19861
|
*
|
|
19709
19862
|
* @example
|
|
19710
19863
|
* 5
|
|
@@ -19712,7 +19865,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19712
19865
|
surge?: number;
|
|
19713
19866
|
/**
|
|
19714
19867
|
* @remarks
|
|
19715
|
-
* The percentage of additional nodes
|
|
19868
|
+
* The percentage of additional nodes to the nodes in the node pool. You must set this parameter or `surge`.
|
|
19716
19869
|
*
|
|
19717
19870
|
* @example
|
|
19718
19871
|
* 0
|
|
@@ -19765,7 +19918,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
19765
19918
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
19766
19919
|
/**
|
|
19767
19920
|
* @remarks
|
|
19768
|
-
* Specifies whether
|
|
19921
|
+
* Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
|
|
19769
19922
|
*
|
|
19770
19923
|
* * `true`: enables auto CVE patching.
|
|
19771
19924
|
* * `true`: disables auto CVE patching.
|
|
@@ -19794,7 +19947,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
19794
19947
|
enable?: boolean;
|
|
19795
19948
|
/**
|
|
19796
19949
|
* @remarks
|
|
19797
|
-
* The
|
|
19950
|
+
* The configuration of auto update. The configuration takes effect only when `enable=true` is specified.
|
|
19798
19951
|
*
|
|
19799
19952
|
* @deprecated
|
|
19800
19953
|
*/
|
|
@@ -19822,7 +19975,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
19822
19975
|
name?: string;
|
|
19823
19976
|
/**
|
|
19824
19977
|
* @remarks
|
|
19825
|
-
* The resource group
|
|
19978
|
+
* The ID of the resource group.
|
|
19826
19979
|
*
|
|
19827
19980
|
* @example
|
|
19828
19981
|
* rg-acfmyvw3wjm****
|
|
@@ -19872,7 +20025,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
19872
20025
|
export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
19873
20026
|
/**
|
|
19874
20027
|
* @remarks
|
|
19875
|
-
* The
|
|
20028
|
+
* The instance type of preemptible instances.
|
|
19876
20029
|
*
|
|
19877
20030
|
* @example
|
|
19878
20031
|
* ecs.c6.large
|
|
@@ -19880,7 +20033,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
19880
20033
|
instanceType?: string;
|
|
19881
20034
|
/**
|
|
19882
20035
|
* @remarks
|
|
19883
|
-
* The price
|
|
20036
|
+
* The maximum bid price of a preemptible instance.
|
|
19884
20037
|
*
|
|
19885
20038
|
* Unit: USD/hour.
|
|
19886
20039
|
*
|
|
@@ -19901,12 +20054,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
19901
20054
|
export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
19902
20055
|
/**
|
|
19903
20056
|
* @remarks
|
|
19904
|
-
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
20057
|
+
* 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:
|
|
19905
20058
|
*
|
|
19906
20059
|
* * `true`: enables auto-renewal.
|
|
19907
20060
|
* * `false`: disables auto-renewal.
|
|
19908
20061
|
*
|
|
19909
|
-
* Default value: `
|
|
20062
|
+
* Default value: `false`.
|
|
19910
20063
|
*
|
|
19911
20064
|
* @example
|
|
19912
20065
|
* true
|
|
@@ -19914,7 +20067,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19914
20067
|
autoRenew?: boolean;
|
|
19915
20068
|
/**
|
|
19916
20069
|
* @remarks
|
|
19917
|
-
* The
|
|
20070
|
+
* The duration of the auto-renewal. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`.
|
|
19918
20071
|
*
|
|
19919
20072
|
* If you specify `PeriodUnit=Month`, the valid values are 1, 2, 3, 6, and 12.
|
|
19920
20073
|
*
|
|
@@ -19924,7 +20077,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19924
20077
|
autoRenewPeriod?: number;
|
|
19925
20078
|
/**
|
|
19926
20079
|
* @remarks
|
|
19927
|
-
* 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 cost or insufficient inventory. This parameter takes effect only when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
|
|
20080
|
+
* 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:
|
|
19928
20081
|
*
|
|
19929
20082
|
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
19930
20083
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
@@ -19935,7 +20088,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19935
20088
|
compensateWithOnDemand?: boolean;
|
|
19936
20089
|
/**
|
|
19937
20090
|
* @remarks
|
|
19938
|
-
* The configurations of the data disks that are mounted to nodes in the node pool.
|
|
20091
|
+
* The configurations of the data disks that are mounted to the nodes in the node pool. You can mount at most 10 data disks to the nodes in the node pool.
|
|
19939
20092
|
*/
|
|
19940
20093
|
dataDisks?: DataDisk[];
|
|
19941
20094
|
/**
|
|
@@ -19948,7 +20101,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19948
20101
|
desiredSize?: number;
|
|
19949
20102
|
/**
|
|
19950
20103
|
* @remarks
|
|
19951
|
-
* The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported images. By default, the latest image
|
|
20104
|
+
* The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported images. By default, the latest image is used.
|
|
19952
20105
|
*
|
|
19953
20106
|
* @example
|
|
19954
20107
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -19960,7 +20113,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19960
20113
|
*
|
|
19961
20114
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
19962
20115
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
19963
|
-
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
20116
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3.
|
|
19964
20117
|
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
19965
20118
|
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
19966
20119
|
* * `CentOS`: CentOS.
|
|
@@ -19985,15 +20138,19 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19985
20138
|
* PostPaid
|
|
19986
20139
|
*/
|
|
19987
20140
|
instanceChargeType?: string;
|
|
20141
|
+
/**
|
|
20142
|
+
* @remarks
|
|
20143
|
+
* The instance attributes.
|
|
20144
|
+
*/
|
|
19988
20145
|
instancePatterns?: InstancePatterns[];
|
|
19989
20146
|
/**
|
|
19990
20147
|
* @remarks
|
|
19991
|
-
* The instance types
|
|
20148
|
+
* The instance types. You can specify multiple instance types. A node is assigned the instance type from the first instance type of the list until the node is created. The instance type that is used to create the node varies based on the actual instance stock.
|
|
19992
20149
|
*/
|
|
19993
20150
|
instanceTypes?: string[];
|
|
19994
20151
|
/**
|
|
19995
20152
|
* @remarks
|
|
19996
|
-
* The
|
|
20153
|
+
* The billing method of the public IP address. Valid values:
|
|
19997
20154
|
*
|
|
19998
20155
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
19999
20156
|
* * `PayByTraffic`: pay-by-data-transfer.
|
|
@@ -20004,7 +20161,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20004
20161
|
internetChargeType?: string;
|
|
20005
20162
|
/**
|
|
20006
20163
|
* @remarks
|
|
20007
|
-
* The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100.
|
|
20164
|
+
* The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
|
|
20008
20165
|
*
|
|
20009
20166
|
* @example
|
|
20010
20167
|
* 5
|
|
@@ -20030,15 +20187,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20030
20187
|
* @remarks
|
|
20031
20188
|
* The ECS instance scaling policy for the multi-zone scaling group. Valid values:
|
|
20032
20189
|
*
|
|
20033
|
-
* * `PRIORITY`:
|
|
20190
|
+
* * `PRIORITY`: The scaling group is scaled based on the VSwitchIds.N parameter. If an ECS instance cannot be created in the zone in which the vSwitch that has the highest priority resides, Auto Scaling creates the ECS instance in the zone in which the vSwitch that has the next highest priority resides.
|
|
20034
20191
|
*
|
|
20035
|
-
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configurations. You can
|
|
20192
|
+
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configurations. You can specify `CompensateWithOnDemand` to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient resources.
|
|
20036
20193
|
*
|
|
20037
20194
|
* **
|
|
20038
20195
|
*
|
|
20039
20196
|
* **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
20040
20197
|
*
|
|
20041
|
-
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the `RebalanceInstances` operation of Auto Scaling to
|
|
20198
|
+
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to the insufficient inventory, you can call the `RebalanceInstances` operation of Auto Scaling to balance the instance distribution among zones. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
20042
20199
|
*
|
|
20043
20200
|
* Default value: `PRIORITY`.
|
|
20044
20201
|
*
|
|
@@ -20064,7 +20221,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20064
20221
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
20065
20222
|
/**
|
|
20066
20223
|
* @remarks
|
|
20067
|
-
* The subscription duration of nodes in the node pool. This parameter takes effect and is required
|
|
20224
|
+
* 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`.
|
|
20068
20225
|
*
|
|
20069
20226
|
* If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
20070
20227
|
*
|
|
@@ -20074,7 +20231,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20074
20231
|
period?: number;
|
|
20075
20232
|
/**
|
|
20076
20233
|
* @remarks
|
|
20077
|
-
* The billing cycle of nodes in the node pool. This parameter is required if you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
20234
|
+
* The billing cycle of the nodes in the node pool. This parameter is required if you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
20078
20235
|
*
|
|
20079
20236
|
* The billing cycle is measured only in months.
|
|
20080
20237
|
*
|
|
@@ -20130,7 +20287,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20130
20287
|
spotInstancePools?: number;
|
|
20131
20288
|
/**
|
|
20132
20289
|
* @remarks
|
|
20133
|
-
* Specifies whether to supplement preemptible instances. If
|
|
20290
|
+
* Specifies whether to supplement preemptible instances. 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:
|
|
20134
20291
|
*
|
|
20135
20292
|
* * `true`: supplements preemptible instances.
|
|
20136
20293
|
* * `false`: does not supplement preemptible instances.
|
|
@@ -20141,7 +20298,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20141
20298
|
spotInstanceRemedy?: boolean;
|
|
20142
20299
|
/**
|
|
20143
20300
|
* @remarks
|
|
20144
|
-
* The instance type of preemptible
|
|
20301
|
+
* The instance type of preemptible instance and the price cap for the instance type.
|
|
20145
20302
|
*/
|
|
20146
20303
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
20147
20304
|
/**
|
|
@@ -20149,10 +20306,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20149
20306
|
* The bidding policy of preemptible instances. Valid values:
|
|
20150
20307
|
*
|
|
20151
20308
|
* * `NoSpot`: non-preemptible instance.
|
|
20152
|
-
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
20309
|
+
* * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
|
|
20153
20310
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
20154
20311
|
*
|
|
20155
|
-
* For more information, see [
|
|
20312
|
+
* For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html).
|
|
20156
20313
|
*
|
|
20157
20314
|
* @example
|
|
20158
20315
|
* SpotWithPriceLimit
|
|
@@ -20160,7 +20317,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20160
20317
|
spotStrategy?: string;
|
|
20161
20318
|
/**
|
|
20162
20319
|
* @remarks
|
|
20163
|
-
* Specifies whether to enable
|
|
20320
|
+
* Specifies whether to enable Burst for the system disk when the disk type is cloud_auto.
|
|
20164
20321
|
*
|
|
20165
20322
|
* @example
|
|
20166
20323
|
* true
|
|
@@ -20168,12 +20325,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20168
20325
|
systemDiskBurstingEnabled?: boolean;
|
|
20169
20326
|
/**
|
|
20170
20327
|
* @remarks
|
|
20171
|
-
* The system disk types. The system
|
|
20328
|
+
* 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).
|
|
20172
20329
|
*/
|
|
20173
20330
|
systemDiskCategories?: string[];
|
|
20174
20331
|
/**
|
|
20175
20332
|
* @remarks
|
|
20176
|
-
* The system disk
|
|
20333
|
+
* The type of the system disk. Valid values:
|
|
20177
20334
|
*
|
|
20178
20335
|
* * `cloud_efficiency`: ultra disk.
|
|
20179
20336
|
* * `cloud_ssd`: standard SSD.
|
|
@@ -20186,7 +20343,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20186
20343
|
systemDiskCategory?: string;
|
|
20187
20344
|
/**
|
|
20188
20345
|
* @remarks
|
|
20189
|
-
* The encryption algorithm that is used
|
|
20346
|
+
* The encryption algorithm that is used by the system disk. Set the value to aes-256.
|
|
20190
20347
|
*
|
|
20191
20348
|
* @example
|
|
20192
20349
|
* aes-256
|
|
@@ -20210,7 +20367,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20210
20367
|
systemDiskKmsKeyId?: string;
|
|
20211
20368
|
/**
|
|
20212
20369
|
* @remarks
|
|
20213
|
-
* The performance level (PL) of the system disk. This parameter takes effect only for
|
|
20370
|
+
* The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for ESSDs. You can specify a higher PL if you increase the size of the data disk. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
20214
20371
|
*
|
|
20215
20372
|
* @example
|
|
20216
20373
|
* PL1
|
|
@@ -20218,7 +20375,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20218
20375
|
systemDiskPerformanceLevel?: string;
|
|
20219
20376
|
/**
|
|
20220
20377
|
* @remarks
|
|
20221
|
-
* The
|
|
20378
|
+
* The predefined read and write IOPS of the system disk when the disk type is cloud_auto.
|
|
20222
20379
|
*
|
|
20223
20380
|
* @example
|
|
20224
20381
|
* 1000
|
|
@@ -20226,7 +20383,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20226
20383
|
systemDiskProvisionedIops?: number;
|
|
20227
20384
|
/**
|
|
20228
20385
|
* @remarks
|
|
20229
|
-
* The size of the system disk
|
|
20386
|
+
* The size of the system disk in GiB.
|
|
20230
20387
|
*
|
|
20231
20388
|
* Valid values: 20 to 500.
|
|
20232
20389
|
*
|
|
@@ -20242,12 +20399,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20242
20399
|
* @remarks
|
|
20243
20400
|
* The labels that you want to add only to ECS instances.
|
|
20244
20401
|
*
|
|
20245
|
-
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs:
|
|
20402
|
+
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: or contain https:// or http://.
|
|
20246
20403
|
*/
|
|
20247
20404
|
tags?: Tag[];
|
|
20248
20405
|
/**
|
|
20249
20406
|
* @remarks
|
|
20250
|
-
* The
|
|
20407
|
+
* The IDs of vSwitches. You can specify 1 to 20 vSwitches.
|
|
20251
20408
|
*
|
|
20252
20409
|
* > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
|
|
20253
20410
|
*/
|
|
@@ -20521,6 +20678,13 @@ export declare class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
|
20521
20678
|
});
|
|
20522
20679
|
}
|
|
20523
20680
|
export declare class UpgradeClusterRequestRollingPolicy extends $tea.Model {
|
|
20681
|
+
/**
|
|
20682
|
+
* @remarks
|
|
20683
|
+
* Maximum number of executions per batch.
|
|
20684
|
+
*
|
|
20685
|
+
* @example
|
|
20686
|
+
* 3
|
|
20687
|
+
*/
|
|
20524
20688
|
maxParallelism?: number;
|
|
20525
20689
|
static names(): {
|
|
20526
20690
|
[key: string]: string;
|
|
@@ -22414,9 +22578,9 @@ export default class Client extends OpenApi {
|
|
|
22414
22578
|
* Modifies the configuration of a cluster component. This operation may affect your businesses. We recommend that you assess the impact, back up data, and perform the operation during off-peak hours.
|
|
22415
22579
|
*
|
|
22416
22580
|
* @remarks
|
|
22417
|
-
* You can
|
|
22418
|
-
* * To
|
|
22419
|
-
* *
|
|
22581
|
+
* You can call this API operation to modify the component parameters of an ACK Basic cluster or the control plane parameters of an ACK Pro cluster:
|
|
22582
|
+
* * To view the component parameters of an ACK Basic cluster, call the DescribeClusterAddonMetadata API operation. For more information, see [Query the metadata of a cluster component](https://help.aliyun.com/document_detail/2667944.html).
|
|
22583
|
+
* * To view the control plane parameters of an ACK Pro cluster, see [Customize the control plane parameters of an ACK Pro cluster](https://help.aliyun.com/document_detail/199588.html).
|
|
22420
22584
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
22421
22585
|
*
|
|
22422
22586
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -22431,9 +22595,9 @@ export default class Client extends OpenApi {
|
|
|
22431
22595
|
* Modifies the configuration of a cluster component. This operation may affect your businesses. We recommend that you assess the impact, back up data, and perform the operation during off-peak hours.
|
|
22432
22596
|
*
|
|
22433
22597
|
* @remarks
|
|
22434
|
-
* You can
|
|
22435
|
-
* * To
|
|
22436
|
-
* *
|
|
22598
|
+
* You can call this API operation to modify the component parameters of an ACK Basic cluster or the control plane parameters of an ACK Pro cluster:
|
|
22599
|
+
* * To view the component parameters of an ACK Basic cluster, call the DescribeClusterAddonMetadata API operation. For more information, see [Query the metadata of a cluster component](https://help.aliyun.com/document_detail/2667944.html).
|
|
22600
|
+
* * To view the control plane parameters of an ACK Pro cluster, see [Customize the control plane parameters of an ACK Pro cluster](https://help.aliyun.com/document_detail/199588.html).
|
|
22437
22601
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
22438
22602
|
*
|
|
22439
22603
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -22869,7 +23033,7 @@ export default class Client extends OpenApi {
|
|
|
22869
23033
|
*/
|
|
22870
23034
|
scaleOutCluster(ClusterId: string, request: ScaleOutClusterRequest): Promise<ScaleOutClusterResponse>;
|
|
22871
23035
|
/**
|
|
22872
|
-
*
|
|
23036
|
+
* Scans for vulnerabilities in a Container Service for Kubernetes (ACK) cluster, including workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows vulnerabilities. We recommend that you scan your cluster on a regular basis to ensure cluster security.
|
|
22873
23037
|
*
|
|
22874
23038
|
* @param headers - map
|
|
22875
23039
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22879,7 +23043,7 @@ export default class Client extends OpenApi {
|
|
|
22879
23043
|
[key: string]: string;
|
|
22880
23044
|
}, runtime: $Util.RuntimeOptions): Promise<ScanClusterVulsResponse>;
|
|
22881
23045
|
/**
|
|
22882
|
-
*
|
|
23046
|
+
* Scans for vulnerabilities in a Container Service for Kubernetes (ACK) cluster, including workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows vulnerabilities. We recommend that you scan your cluster on a regular basis to ensure cluster security.
|
|
22883
23047
|
* @returns ScanClusterVulsResponse
|
|
22884
23048
|
*/
|
|
22885
23049
|
scanClusterVuls(clusterId: string): Promise<ScanClusterVulsResponse>;
|
|
@@ -23157,6 +23321,13 @@ export default class Client extends OpenApi {
|
|
|
23157
23321
|
/**
|
|
23158
23322
|
* You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
23159
23323
|
*
|
|
23324
|
+
* @remarks
|
|
23325
|
+
* After successfully calling the UpgradeCluster interface, this API returns the `task_id` of the upgrade task. You can manage this operation task by calling the following task APIs:
|
|
23326
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
23327
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
23328
|
+
* - [Call ResumeTask to resume a task that has been paused](https://help.aliyun.com/document_detail/2667987.html)
|
|
23329
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
23330
|
+
*
|
|
23160
23331
|
* @param request - UpgradeClusterRequest
|
|
23161
23332
|
* @param headers - map
|
|
23162
23333
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23168,6 +23339,13 @@ export default class Client extends OpenApi {
|
|
|
23168
23339
|
/**
|
|
23169
23340
|
* You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
23170
23341
|
*
|
|
23342
|
+
* @remarks
|
|
23343
|
+
* After successfully calling the UpgradeCluster interface, this API returns the `task_id` of the upgrade task. You can manage this operation task by calling the following task APIs:
|
|
23344
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
23345
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
23346
|
+
* - [Call ResumeTask to resume a task that has been paused](https://help.aliyun.com/document_detail/2667987.html)
|
|
23347
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
23348
|
+
*
|
|
23171
23349
|
* @param request - UpgradeClusterRequest
|
|
23172
23350
|
* @returns UpgradeClusterResponse
|
|
23173
23351
|
*/
|