@alicloud/cs20151215 4.7.5 → 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/src/client.ts
CHANGED
|
@@ -1816,11 +1816,24 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
1816
1816
|
*/
|
|
1817
1817
|
apiAudiences?: string;
|
|
1818
1818
|
/**
|
|
1819
|
+
* @remarks
|
|
1820
|
+
* Specifies whether to enable auto-renewal, which takes effect only when the `charge_type` value is set to `PrePaid`.
|
|
1821
|
+
*
|
|
1822
|
+
* Possible values:
|
|
1823
|
+
* - `true`: Enable auto-renewal.
|
|
1824
|
+
* - `false`: Do not auto-renew.
|
|
1825
|
+
*
|
|
1826
|
+
* Default value: `false`.
|
|
1827
|
+
*
|
|
1819
1828
|
* @example
|
|
1820
1829
|
* true
|
|
1821
1830
|
*/
|
|
1822
1831
|
autoRenew?: boolean;
|
|
1823
1832
|
/**
|
|
1833
|
+
* @remarks
|
|
1834
|
+
* 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}.
|
|
1835
|
+
* Default value: 1.
|
|
1836
|
+
*
|
|
1824
1837
|
* @example
|
|
1825
1838
|
* 1
|
|
1826
1839
|
*/
|
|
@@ -2125,6 +2138,9 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2125
2138
|
*/
|
|
2126
2139
|
kubernetesVersion?: string;
|
|
2127
2140
|
/**
|
|
2141
|
+
* @remarks
|
|
2142
|
+
* Specifies the CLB instance ID for accessing the APIServer. When this parameter is set, an APIServer CLB will no longer be automatically created.
|
|
2143
|
+
*
|
|
2128
2144
|
* @example
|
|
2129
2145
|
* lb-wz9t256gqa3vbouk****
|
|
2130
2146
|
*/
|
|
@@ -2793,6 +2809,11 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2793
2809
|
* @deprecated
|
|
2794
2810
|
*/
|
|
2795
2811
|
zoneId?: string;
|
|
2812
|
+
/**
|
|
2813
|
+
* @remarks
|
|
2814
|
+
* List of availability zone IDs in the region where the cluster resides. This parameter is specific to ACK managed clusters.
|
|
2815
|
+
* 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.
|
|
2816
|
+
*/
|
|
2796
2817
|
zoneIds?: string[];
|
|
2797
2818
|
static names(): { [key: string]: string } {
|
|
2798
2819
|
return {
|
|
@@ -6254,6 +6275,10 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
|
|
|
6254
6275
|
* 10
|
|
6255
6276
|
*/
|
|
6256
6277
|
maxNodes?: number;
|
|
6278
|
+
/**
|
|
6279
|
+
* @remarks
|
|
6280
|
+
* Node configuration.
|
|
6281
|
+
*/
|
|
6257
6282
|
nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
|
|
6258
6283
|
/**
|
|
6259
6284
|
* @remarks
|
|
@@ -6339,6 +6364,9 @@ export class DescribeClusterNodePoolDetailResponse extends $tea.Model {
|
|
|
6339
6364
|
|
|
6340
6365
|
export class DescribeClusterNodePoolsRequest extends $tea.Model {
|
|
6341
6366
|
/**
|
|
6367
|
+
* @remarks
|
|
6368
|
+
* Node pool name.
|
|
6369
|
+
*
|
|
6342
6370
|
* @example
|
|
6343
6371
|
* nodepool-test
|
|
6344
6372
|
*/
|
|
@@ -7917,6 +7945,9 @@ export class DescribeNodePoolVulsResponseBody extends $tea.Model {
|
|
|
7917
7945
|
*/
|
|
7918
7946
|
vulRecords?: DescribeNodePoolVulsResponseBodyVulRecords[];
|
|
7919
7947
|
/**
|
|
7948
|
+
* @remarks
|
|
7949
|
+
* Whether the Cloud Security CVE Remediation Service has been purchased
|
|
7950
|
+
*
|
|
7920
7951
|
* @example
|
|
7921
7952
|
* false
|
|
7922
7953
|
*/
|
|
@@ -10265,6 +10296,9 @@ export class ListClusterChecksRequest extends $tea.Model {
|
|
|
10265
10296
|
/**
|
|
10266
10297
|
* @remarks
|
|
10267
10298
|
* The targets to check.
|
|
10299
|
+
*
|
|
10300
|
+
* @example
|
|
10301
|
+
* ngw-bp19ay6nnvd4cexxxx
|
|
10268
10302
|
*/
|
|
10269
10303
|
target?: string;
|
|
10270
10304
|
/**
|
|
@@ -11270,7 +11304,7 @@ export class ModifyClusterConfigurationResponse extends $tea.Model {
|
|
|
11270
11304
|
export class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
11271
11305
|
/**
|
|
11272
11306
|
* @remarks
|
|
11273
|
-
* The
|
|
11307
|
+
* The configurations about auto scaling.
|
|
11274
11308
|
*/
|
|
11275
11309
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
11276
11310
|
/**
|
|
@@ -11288,7 +11322,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
11288
11322
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
11289
11323
|
/**
|
|
11290
11324
|
* @remarks
|
|
11291
|
-
* The
|
|
11325
|
+
* The configuration of the managed node pool feature.
|
|
11292
11326
|
*/
|
|
11293
11327
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
11294
11328
|
/**
|
|
@@ -11298,7 +11332,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
11298
11332
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
11299
11333
|
/**
|
|
11300
11334
|
* @remarks
|
|
11301
|
-
* The
|
|
11335
|
+
* The configuration of the scaling group.
|
|
11302
11336
|
*/
|
|
11303
11337
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
11304
11338
|
/**
|
|
@@ -11888,6 +11922,9 @@ export class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
11888
11922
|
|
|
11889
11923
|
export class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
11890
11924
|
/**
|
|
11925
|
+
* @remarks
|
|
11926
|
+
* Whether to remove concurrently.
|
|
11927
|
+
*
|
|
11891
11928
|
* @example
|
|
11892
11929
|
* false
|
|
11893
11930
|
*/
|
|
@@ -11953,6 +11990,9 @@ export class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
11953
11990
|
|
|
11954
11991
|
export class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
11955
11992
|
/**
|
|
11993
|
+
* @remarks
|
|
11994
|
+
* Whether to remove concurrently.
|
|
11995
|
+
*
|
|
11956
11996
|
* @example
|
|
11957
11997
|
* false
|
|
11958
11998
|
*/
|
|
@@ -12535,10 +12575,10 @@ export class ScaleClusterResponse extends $tea.Model {
|
|
|
12535
12575
|
export class ScaleClusterNodePoolRequest extends $tea.Model {
|
|
12536
12576
|
/**
|
|
12537
12577
|
* @remarks
|
|
12538
|
-
* The number of worker nodes that you want to add. For example, the current node pool contains two nodes. After the node
|
|
12578
|
+
* 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.
|
|
12539
12579
|
*
|
|
12540
12580
|
* @example
|
|
12541
|
-
*
|
|
12581
|
+
* 2
|
|
12542
12582
|
*/
|
|
12543
12583
|
count?: number;
|
|
12544
12584
|
static names(): { [key: string]: string } {
|
|
@@ -12944,11 +12984,17 @@ export class ScaleOutClusterResponse extends $tea.Model {
|
|
|
12944
12984
|
|
|
12945
12985
|
export class ScanClusterVulsResponseBody extends $tea.Model {
|
|
12946
12986
|
/**
|
|
12987
|
+
* @remarks
|
|
12988
|
+
* Request ID.
|
|
12989
|
+
*
|
|
12947
12990
|
* @example
|
|
12948
12991
|
* 687C5BAA-D103-4993-884B-C35E4314A1E1
|
|
12949
12992
|
*/
|
|
12950
12993
|
requestId?: string;
|
|
12951
12994
|
/**
|
|
12995
|
+
* @remarks
|
|
12996
|
+
* Task ID.
|
|
12997
|
+
*
|
|
12952
12998
|
* @example
|
|
12953
12999
|
* T-xascadasd*****
|
|
12954
13000
|
*/
|
|
@@ -14305,6 +14351,9 @@ export class UpdateResourcesDeleteProtectionResponseBody extends $tea.Model {
|
|
|
14305
14351
|
/**
|
|
14306
14352
|
* @remarks
|
|
14307
14353
|
* 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.
|
|
14354
|
+
*
|
|
14355
|
+
* @example
|
|
14356
|
+
* enable
|
|
14308
14357
|
*/
|
|
14309
14358
|
protection?: string;
|
|
14310
14359
|
/**
|
|
@@ -14318,6 +14367,9 @@ export class UpdateResourcesDeleteProtectionResponseBody extends $tea.Model {
|
|
|
14318
14367
|
/**
|
|
14319
14368
|
* @remarks
|
|
14320
14369
|
* The type of resource for which deletion protection is enabled or disabled.
|
|
14370
|
+
*
|
|
14371
|
+
* @example
|
|
14372
|
+
* namespaces
|
|
14321
14373
|
*/
|
|
14322
14374
|
resourceType?: string;
|
|
14323
14375
|
/**
|
|
@@ -14557,6 +14609,10 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14557
14609
|
* 1.16.9-aliyun.1
|
|
14558
14610
|
*/
|
|
14559
14611
|
nextVersion?: string;
|
|
14612
|
+
/**
|
|
14613
|
+
* @remarks
|
|
14614
|
+
* Policy of rolling.
|
|
14615
|
+
*/
|
|
14560
14616
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
14561
14617
|
/**
|
|
14562
14618
|
* @remarks
|
|
@@ -14595,16 +14651,25 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14595
14651
|
|
|
14596
14652
|
export class UpgradeClusterResponseBody extends $tea.Model {
|
|
14597
14653
|
/**
|
|
14654
|
+
* @remarks
|
|
14655
|
+
* Cluster ID.
|
|
14656
|
+
*
|
|
14598
14657
|
* @example
|
|
14599
14658
|
* c82e6987e2961451182edacd74faf****
|
|
14600
14659
|
*/
|
|
14601
14660
|
clusterId?: string;
|
|
14602
14661
|
/**
|
|
14662
|
+
* @remarks
|
|
14663
|
+
* Request ID.
|
|
14664
|
+
*
|
|
14603
14665
|
* @example
|
|
14604
14666
|
* 0527ac9a-c899-4341-a21a-****
|
|
14605
14667
|
*/
|
|
14606
14668
|
requestId?: string;
|
|
14607
14669
|
/**
|
|
14670
|
+
* @remarks
|
|
14671
|
+
* Task ID.
|
|
14672
|
+
*
|
|
14608
14673
|
* @example
|
|
14609
14674
|
* T-5faa48fb31b6b8078d00****
|
|
14610
14675
|
*/
|
|
@@ -16171,6 +16236,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
16171
16236
|
* customized,aliyun,ip,com
|
|
16172
16237
|
*/
|
|
16173
16238
|
nodeNameMode?: string;
|
|
16239
|
+
preUserData?: string;
|
|
16174
16240
|
/**
|
|
16175
16241
|
* @remarks
|
|
16176
16242
|
* The name of the container runtime. The following types of runtime are supported by Container Service for Kubernetes (ACK):
|
|
@@ -16220,6 +16286,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
16220
16286
|
cpuPolicy: 'cpu_policy',
|
|
16221
16287
|
labels: 'labels',
|
|
16222
16288
|
nodeNameMode: 'node_name_mode',
|
|
16289
|
+
preUserData: 'pre_user_data',
|
|
16223
16290
|
runtime: 'runtime',
|
|
16224
16291
|
runtimeVersion: 'runtime_version',
|
|
16225
16292
|
taints: 'taints',
|
|
@@ -16234,6 +16301,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
16234
16301
|
cpuPolicy: 'string',
|
|
16235
16302
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
16236
16303
|
nodeNameMode: 'string',
|
|
16304
|
+
preUserData: 'string',
|
|
16237
16305
|
runtime: 'string',
|
|
16238
16306
|
runtimeVersion: 'string',
|
|
16239
16307
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -18036,6 +18104,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
18036
18104
|
* customized,test.,5,.com
|
|
18037
18105
|
*/
|
|
18038
18106
|
nodeNameMode?: string;
|
|
18107
|
+
preUserData?: string;
|
|
18039
18108
|
/**
|
|
18040
18109
|
* @remarks
|
|
18041
18110
|
* The name of the container runtime.
|
|
@@ -18058,6 +18127,9 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
18058
18127
|
*/
|
|
18059
18128
|
taints?: Taint[];
|
|
18060
18129
|
/**
|
|
18130
|
+
* @remarks
|
|
18131
|
+
* Whether the expanded node is schedulable.
|
|
18132
|
+
*
|
|
18061
18133
|
* @example
|
|
18062
18134
|
* true
|
|
18063
18135
|
*/
|
|
@@ -18076,6 +18148,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
18076
18148
|
cpuPolicy: 'cpu_policy',
|
|
18077
18149
|
labels: 'labels',
|
|
18078
18150
|
nodeNameMode: 'node_name_mode',
|
|
18151
|
+
preUserData: 'pre_user_data',
|
|
18079
18152
|
runtime: 'runtime',
|
|
18080
18153
|
runtimeVersion: 'runtime_version',
|
|
18081
18154
|
taints: 'taints',
|
|
@@ -18090,6 +18163,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
18090
18163
|
cpuPolicy: 'string',
|
|
18091
18164
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
18092
18165
|
nodeNameMode: 'string',
|
|
18166
|
+
preUserData: 'string',
|
|
18093
18167
|
runtime: 'string',
|
|
18094
18168
|
runtimeVersion: 'string',
|
|
18095
18169
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -18105,6 +18179,9 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
18105
18179
|
|
|
18106
18180
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy extends $tea.Model {
|
|
18107
18181
|
/**
|
|
18182
|
+
* @remarks
|
|
18183
|
+
* Whether to allow restarting nodes.
|
|
18184
|
+
*
|
|
18108
18185
|
* @example
|
|
18109
18186
|
* true
|
|
18110
18187
|
*/
|
|
@@ -18128,6 +18205,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
18128
18205
|
|
|
18129
18206
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $tea.Model {
|
|
18130
18207
|
/**
|
|
18208
|
+
* @remarks
|
|
18209
|
+
* Whether to allow automatic upgrading of kubelet.
|
|
18210
|
+
*
|
|
18131
18211
|
* @example
|
|
18132
18212
|
* true
|
|
18133
18213
|
*/
|
|
@@ -18151,11 +18231,17 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolic
|
|
|
18151
18231
|
|
|
18152
18232
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $tea.Model {
|
|
18153
18233
|
/**
|
|
18234
|
+
* @remarks
|
|
18235
|
+
* Whether to allow restarting nodes.
|
|
18236
|
+
*
|
|
18154
18237
|
* @example
|
|
18155
18238
|
* true
|
|
18156
18239
|
*/
|
|
18157
18240
|
restartNode?: boolean;
|
|
18158
18241
|
/**
|
|
18242
|
+
* @remarks
|
|
18243
|
+
* The vulnerability levels allowed for auto-fixing, separated by commas.
|
|
18244
|
+
*
|
|
18159
18245
|
* @example
|
|
18160
18246
|
* asap,nntf
|
|
18161
18247
|
*/
|
|
@@ -18252,18 +18338,36 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Mo
|
|
|
18252
18338
|
* true
|
|
18253
18339
|
*/
|
|
18254
18340
|
autoRepair?: boolean;
|
|
18341
|
+
/**
|
|
18342
|
+
* @remarks
|
|
18343
|
+
* Automatic repair node policy.
|
|
18344
|
+
*/
|
|
18255
18345
|
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
18256
18346
|
/**
|
|
18347
|
+
* @remarks
|
|
18348
|
+
* Whether to automatically upgrade.
|
|
18349
|
+
*
|
|
18257
18350
|
* @example
|
|
18258
18351
|
* true
|
|
18259
18352
|
*/
|
|
18260
18353
|
autoUpgrade?: boolean;
|
|
18354
|
+
/**
|
|
18355
|
+
* @remarks
|
|
18356
|
+
* Automatic upgrade policy.
|
|
18357
|
+
*/
|
|
18261
18358
|
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
18262
18359
|
/**
|
|
18360
|
+
* @remarks
|
|
18361
|
+
* Whether to automatically fix CVEs.
|
|
18362
|
+
*
|
|
18263
18363
|
* @example
|
|
18264
18364
|
* true
|
|
18265
18365
|
*/
|
|
18266
18366
|
autoVulFix?: boolean;
|
|
18367
|
+
/**
|
|
18368
|
+
* @remarks
|
|
18369
|
+
* Automatically repair CVE policies.
|
|
18370
|
+
*/
|
|
18267
18371
|
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
18268
18372
|
/**
|
|
18269
18373
|
* @remarks
|
|
@@ -18313,6 +18417,10 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Mo
|
|
|
18313
18417
|
}
|
|
18314
18418
|
|
|
18315
18419
|
export class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $tea.Model {
|
|
18420
|
+
/**
|
|
18421
|
+
* @remarks
|
|
18422
|
+
* Kubelet parameter configuration.
|
|
18423
|
+
*/
|
|
18316
18424
|
kubeletConfiguration?: KubeletConfig;
|
|
18317
18425
|
static names(): { [key: string]: string } {
|
|
18318
18426
|
return {
|
|
@@ -18530,6 +18638,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18530
18638
|
*/
|
|
18531
18639
|
autoRenewPeriod?: number;
|
|
18532
18640
|
/**
|
|
18641
|
+
* @remarks
|
|
18642
|
+
* 【The field is deprecated】Please use the parameter security_hardening_os instead.
|
|
18643
|
+
*
|
|
18533
18644
|
* @example
|
|
18534
18645
|
* false
|
|
18535
18646
|
*
|
|
@@ -18577,6 +18688,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18577
18688
|
*/
|
|
18578
18689
|
imageId?: string;
|
|
18579
18690
|
/**
|
|
18691
|
+
* @remarks
|
|
18692
|
+
* Operating system image type.
|
|
18693
|
+
*
|
|
18580
18694
|
* @example
|
|
18581
18695
|
* AliyunLinux
|
|
18582
18696
|
*/
|
|
@@ -18594,7 +18708,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18594
18708
|
instanceChargeType?: string;
|
|
18595
18709
|
/**
|
|
18596
18710
|
* @remarks
|
|
18597
|
-
*
|
|
18711
|
+
* Instance attributes
|
|
18598
18712
|
*/
|
|
18599
18713
|
instancePatterns?: InstancePatterns[];
|
|
18600
18714
|
/**
|
|
@@ -18627,6 +18741,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18627
18741
|
*/
|
|
18628
18742
|
keyPair?: string;
|
|
18629
18743
|
/**
|
|
18744
|
+
* @remarks
|
|
18745
|
+
* Whether the popped ECS instance uses a non-root user for login.
|
|
18746
|
+
*
|
|
18630
18747
|
* @example
|
|
18631
18748
|
* true
|
|
18632
18749
|
*/
|
|
@@ -18725,7 +18842,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18725
18842
|
ramPolicy?: string;
|
|
18726
18843
|
/**
|
|
18727
18844
|
* @remarks
|
|
18728
|
-
* Worker RAM
|
|
18845
|
+
* Worker RAM role name.
|
|
18729
18846
|
*
|
|
18730
18847
|
* @example
|
|
18731
18848
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
@@ -18769,11 +18886,21 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18769
18886
|
*/
|
|
18770
18887
|
securityGroupIds?: string[];
|
|
18771
18888
|
/**
|
|
18889
|
+
* @remarks
|
|
18890
|
+
* Alibaba Cloud OS security hardening. Values:
|
|
18891
|
+
* - `true`: Enable Alibaba Cloud OS security hardening.
|
|
18892
|
+
* - `false`: Do not enable Alibaba Cloud OS security hardening.
|
|
18893
|
+
*
|
|
18894
|
+
* Default value: `false`.
|
|
18895
|
+
*
|
|
18772
18896
|
* @example
|
|
18773
18897
|
* false
|
|
18774
18898
|
*/
|
|
18775
18899
|
securityHardeningOs?: boolean;
|
|
18776
18900
|
/**
|
|
18901
|
+
* @remarks
|
|
18902
|
+
* 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.
|
|
18903
|
+
*
|
|
18777
18904
|
* @example
|
|
18778
18905
|
* false
|
|
18779
18906
|
*/
|
|
@@ -18817,6 +18944,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18817
18944
|
*/
|
|
18818
18945
|
spotStrategy?: string;
|
|
18819
18946
|
/**
|
|
18947
|
+
* @remarks
|
|
18948
|
+
* Whether to enable Burst (performance burst) for the node system disk, configured when the disk type is cloud_auto.
|
|
18949
|
+
*
|
|
18820
18950
|
* @example
|
|
18821
18951
|
* true
|
|
18822
18952
|
*/
|
|
@@ -18853,6 +18983,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18853
18983
|
*/
|
|
18854
18984
|
systemDiskCategory?: string;
|
|
18855
18985
|
/**
|
|
18986
|
+
* @remarks
|
|
18987
|
+
* Encryption algorithm used for the system disk. Valid values: aes-256.
|
|
18988
|
+
*
|
|
18856
18989
|
* @example
|
|
18857
18990
|
* aes-256
|
|
18858
18991
|
*/
|
|
@@ -18869,6 +19002,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18869
19002
|
*/
|
|
18870
19003
|
systemDiskEncrypted?: boolean;
|
|
18871
19004
|
/**
|
|
19005
|
+
* @remarks
|
|
19006
|
+
* System disk\\"s KMS key ID.
|
|
19007
|
+
*
|
|
18872
19008
|
* @example
|
|
18873
19009
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
18874
19010
|
*/
|
|
@@ -18882,6 +19018,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18882
19018
|
*/
|
|
18883
19019
|
systemDiskPerformanceLevel?: string;
|
|
18884
19020
|
/**
|
|
19021
|
+
* @remarks
|
|
19022
|
+
* Pre-configured read and write IOPS for the system disk of the node, configured when the disk type is cloud_auto.
|
|
19023
|
+
*
|
|
18885
19024
|
* @example
|
|
18886
19025
|
* 1000
|
|
18887
19026
|
*/
|
|
@@ -19372,6 +19511,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
19372
19511
|
* customized,test.,5,.com
|
|
19373
19512
|
*/
|
|
19374
19513
|
nodeNameMode?: string;
|
|
19514
|
+
preUserData?: string;
|
|
19375
19515
|
/**
|
|
19376
19516
|
* @remarks
|
|
19377
19517
|
* The name of the container runtime.
|
|
@@ -19415,6 +19555,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
19415
19555
|
cpuPolicy: 'cpu_policy',
|
|
19416
19556
|
labels: 'labels',
|
|
19417
19557
|
nodeNameMode: 'node_name_mode',
|
|
19558
|
+
preUserData: 'pre_user_data',
|
|
19418
19559
|
runtime: 'runtime',
|
|
19419
19560
|
runtimeVersion: 'runtime_version',
|
|
19420
19561
|
taints: 'taints',
|
|
@@ -19429,6 +19570,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
19429
19570
|
cpuPolicy: 'string',
|
|
19430
19571
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
19431
19572
|
nodeNameMode: 'string',
|
|
19573
|
+
preUserData: 'string',
|
|
19432
19574
|
runtime: 'string',
|
|
19433
19575
|
runtimeVersion: 'string',
|
|
19434
19576
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -19979,6 +20121,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
19979
20121
|
* PostPaid
|
|
19980
20122
|
*/
|
|
19981
20123
|
instanceChargeType?: string;
|
|
20124
|
+
/**
|
|
20125
|
+
* @remarks
|
|
20126
|
+
* Instance attributes
|
|
20127
|
+
*/
|
|
19982
20128
|
instancePatterns?: InstancePatterns[];
|
|
19983
20129
|
/**
|
|
19984
20130
|
* @remarks
|
|
@@ -20113,6 +20259,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
20113
20259
|
*/
|
|
20114
20260
|
ramPolicy?: string;
|
|
20115
20261
|
/**
|
|
20262
|
+
* @remarks
|
|
20263
|
+
* Worker RAM role name.
|
|
20264
|
+
*
|
|
20116
20265
|
* @example
|
|
20117
20266
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
20118
20267
|
*/
|
|
@@ -20154,6 +20303,15 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
20154
20303
|
* The IDs of security groups for the node pool.
|
|
20155
20304
|
*/
|
|
20156
20305
|
securityGroupIds?: string[];
|
|
20306
|
+
/**
|
|
20307
|
+
* @remarks
|
|
20308
|
+
* Alibaba Cloud OS security hardening. Values:
|
|
20309
|
+
* - `true`: Enable Alibaba Cloud OS security hardening. - `false`: Do not enable Alibaba Cloud OS security hardening.
|
|
20310
|
+
* Default value: `false`.
|
|
20311
|
+
*
|
|
20312
|
+
* @example
|
|
20313
|
+
* false
|
|
20314
|
+
*/
|
|
20157
20315
|
securityHardeningOs?: boolean;
|
|
20158
20316
|
/**
|
|
20159
20317
|
* @remarks
|
|
@@ -25605,7 +25763,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
25605
25763
|
eipBandwidth?: number;
|
|
25606
25764
|
/**
|
|
25607
25765
|
* @remarks
|
|
25608
|
-
* The
|
|
25766
|
+
* The billing method of the EIP. Valid values:
|
|
25609
25767
|
*
|
|
25610
25768
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
25611
25769
|
* * `PayByTraffic`: pay-by-data-transfer.
|
|
@@ -25633,7 +25791,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
25633
25791
|
enable?: boolean;
|
|
25634
25792
|
/**
|
|
25635
25793
|
* @remarks
|
|
25636
|
-
* Specifies whether to associate an EIP with the node pool. Valid values:
|
|
25794
|
+
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
25637
25795
|
*
|
|
25638
25796
|
* * `true`: associates an EIP with the node pool.
|
|
25639
25797
|
* * `false`: No EIP is associated with the node pool.
|
|
@@ -25664,7 +25822,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
25664
25822
|
minInstances?: number;
|
|
25665
25823
|
/**
|
|
25666
25824
|
* @remarks
|
|
25667
|
-
* The instance
|
|
25825
|
+
* The instance types that can be used for the auto scaling of the node pool. Valid values:
|
|
25668
25826
|
*
|
|
25669
25827
|
* * `cpu`: regular instance.
|
|
25670
25828
|
* * `gpu`: GPU-accelerated instance.
|
|
@@ -25737,12 +25895,13 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25737
25895
|
cpuPolicy?: string;
|
|
25738
25896
|
/**
|
|
25739
25897
|
* @remarks
|
|
25740
|
-
* The labels
|
|
25898
|
+
* 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:
|
|
25741
25899
|
*
|
|
25742
25900
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
25743
25901
|
* * 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).
|
|
25744
25902
|
*/
|
|
25745
25903
|
labels?: Tag[];
|
|
25904
|
+
preUserData?: string;
|
|
25746
25905
|
/**
|
|
25747
25906
|
* @remarks
|
|
25748
25907
|
* The name of the container runtime.
|
|
@@ -25761,7 +25920,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25761
25920
|
runtimeVersion?: string;
|
|
25762
25921
|
/**
|
|
25763
25922
|
* @remarks
|
|
25764
|
-
* The
|
|
25923
|
+
* The configuration of a node taint.
|
|
25765
25924
|
*/
|
|
25766
25925
|
taints?: Taint[];
|
|
25767
25926
|
/**
|
|
@@ -25774,7 +25933,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25774
25933
|
unschedulable?: boolean;
|
|
25775
25934
|
/**
|
|
25776
25935
|
* @remarks
|
|
25777
|
-
* The user data
|
|
25936
|
+
* The user data of the node pool. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
|
|
25778
25937
|
*
|
|
25779
25938
|
* @example
|
|
25780
25939
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -25785,6 +25944,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25785
25944
|
cmsEnabled: 'cms_enabled',
|
|
25786
25945
|
cpuPolicy: 'cpu_policy',
|
|
25787
25946
|
labels: 'labels',
|
|
25947
|
+
preUserData: 'pre_user_data',
|
|
25788
25948
|
runtime: 'runtime',
|
|
25789
25949
|
runtimeVersion: 'runtime_version',
|
|
25790
25950
|
taints: 'taints',
|
|
@@ -25798,6 +25958,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25798
25958
|
cmsEnabled: 'boolean',
|
|
25799
25959
|
cpuPolicy: 'string',
|
|
25800
25960
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
25961
|
+
preUserData: 'string',
|
|
25801
25962
|
runtime: 'string',
|
|
25802
25963
|
runtimeVersion: 'string',
|
|
25803
25964
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -25814,7 +25975,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25814
25975
|
export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
25815
25976
|
/**
|
|
25816
25977
|
* @remarks
|
|
25817
|
-
* Specifies whether to
|
|
25978
|
+
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
25818
25979
|
*
|
|
25819
25980
|
* * `true`: allows node restart.
|
|
25820
25981
|
* * `false`: does not allow node restart.
|
|
@@ -25843,7 +26004,7 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea
|
|
|
25843
26004
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
25844
26005
|
/**
|
|
25845
26006
|
* @remarks
|
|
25846
|
-
* Specifies whether to
|
|
26007
|
+
* Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
|
|
25847
26008
|
*
|
|
25848
26009
|
* * `true`: allows auto update of the kubelet.
|
|
25849
26010
|
* * `false`: does not allow auto update of the kubelet.
|
|
@@ -25854,7 +26015,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
25854
26015
|
autoUpgradeKubelet?: boolean;
|
|
25855
26016
|
/**
|
|
25856
26017
|
* @remarks
|
|
25857
|
-
* Specifies whether to
|
|
26018
|
+
* Specifies whether ACK is allowed to automatically update the operating system. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
25858
26019
|
*
|
|
25859
26020
|
* * `true`: allows auto update of the OS.
|
|
25860
26021
|
* * `false`: does not allow auto update of the OS.
|
|
@@ -25864,7 +26025,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
25864
26025
|
autoUpgradeOs?: boolean;
|
|
25865
26026
|
/**
|
|
25866
26027
|
* @remarks
|
|
25867
|
-
* Specifies whether to
|
|
26028
|
+
* Specifies whether ACK is allowed to automatically update the runtime. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
25868
26029
|
*
|
|
25869
26030
|
* * `true`: allows auto update of the runtime.
|
|
25870
26031
|
* * `false`: does not allow auto update of the runtime.
|
|
@@ -25896,7 +26057,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
25896
26057
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
25897
26058
|
/**
|
|
25898
26059
|
* @remarks
|
|
25899
|
-
* Specifies whether to
|
|
26060
|
+
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
25900
26061
|
*
|
|
25901
26062
|
* * `true`: allows node restart.
|
|
25902
26063
|
* * `false`: does not allow node restart.
|
|
@@ -25907,7 +26068,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
25907
26068
|
restartNode?: boolean;
|
|
25908
26069
|
/**
|
|
25909
26070
|
* @remarks
|
|
25910
|
-
* The severity levels of
|
|
26071
|
+
* The severity levels of vulnerabilities that ACK is allowed to automatically patch. Multiple severity levels are separated by commas (,).
|
|
25911
26072
|
*
|
|
25912
26073
|
* @example
|
|
25913
26074
|
* asap,nntf
|
|
@@ -25935,7 +26096,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
25935
26096
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
25936
26097
|
/**
|
|
25937
26098
|
* @remarks
|
|
25938
|
-
* Specifies whether to enable auto update.
|
|
26099
|
+
* Specifies whether to enable auto update.
|
|
25939
26100
|
*
|
|
25940
26101
|
* * true: enables auto update.
|
|
25941
26102
|
* * false: disables auto update.
|
|
@@ -25950,11 +26111,11 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
25950
26111
|
autoUpgrade?: boolean;
|
|
25951
26112
|
/**
|
|
25952
26113
|
* @remarks
|
|
25953
|
-
* The maximum number of
|
|
26114
|
+
* The maximum number of nodes that can be in the Unavailable state.
|
|
25954
26115
|
*
|
|
25955
26116
|
* Valid values: 1 to 1000.
|
|
25956
26117
|
*
|
|
25957
|
-
* Default value: 1
|
|
26118
|
+
* Default value: 1
|
|
25958
26119
|
*
|
|
25959
26120
|
* @example
|
|
25960
26121
|
* 1
|
|
@@ -25962,9 +26123,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
25962
26123
|
maxUnavailable?: number;
|
|
25963
26124
|
/**
|
|
25964
26125
|
* @remarks
|
|
25965
|
-
* The number of
|
|
26126
|
+
* 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.
|
|
25966
26127
|
*
|
|
25967
|
-
* > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes
|
|
26128
|
+
* > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes.
|
|
25968
26129
|
*
|
|
25969
26130
|
* @example
|
|
25970
26131
|
* 5
|
|
@@ -25972,7 +26133,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
25972
26133
|
surge?: number;
|
|
25973
26134
|
/**
|
|
25974
26135
|
* @remarks
|
|
25975
|
-
* The percentage of additional nodes
|
|
26136
|
+
* The percentage of additional nodes to the nodes in the node pool. You must set this parameter or `surge`.
|
|
25976
26137
|
*
|
|
25977
26138
|
* @example
|
|
25978
26139
|
* 0
|
|
@@ -26038,7 +26199,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
26038
26199
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
26039
26200
|
/**
|
|
26040
26201
|
* @remarks
|
|
26041
|
-
* Specifies whether
|
|
26202
|
+
* Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
|
|
26042
26203
|
*
|
|
26043
26204
|
* * `true`: enables auto CVE patching.
|
|
26044
26205
|
* * `true`: disables auto CVE patching.
|
|
@@ -26067,7 +26228,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
26067
26228
|
enable?: boolean;
|
|
26068
26229
|
/**
|
|
26069
26230
|
* @remarks
|
|
26070
|
-
* The
|
|
26231
|
+
* The configuration of auto update. The configuration takes effect only when `enable=true` is specified.
|
|
26071
26232
|
*
|
|
26072
26233
|
* @deprecated
|
|
26073
26234
|
*/
|
|
@@ -26116,7 +26277,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
|
26116
26277
|
name?: string;
|
|
26117
26278
|
/**
|
|
26118
26279
|
* @remarks
|
|
26119
|
-
* The resource group
|
|
26280
|
+
* The ID of the resource group.
|
|
26120
26281
|
*
|
|
26121
26282
|
* @example
|
|
26122
26283
|
* rg-acfmyvw3wjm****
|
|
@@ -26184,7 +26345,7 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
26184
26345
|
export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
26185
26346
|
/**
|
|
26186
26347
|
* @remarks
|
|
26187
|
-
* The
|
|
26348
|
+
* The instance type of preemptible instances.
|
|
26188
26349
|
*
|
|
26189
26350
|
* @example
|
|
26190
26351
|
* ecs.c6.large
|
|
@@ -26192,7 +26353,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea
|
|
|
26192
26353
|
instanceType?: string;
|
|
26193
26354
|
/**
|
|
26194
26355
|
* @remarks
|
|
26195
|
-
* The price
|
|
26356
|
+
* The maximum bid price of a preemptible instance.
|
|
26196
26357
|
*
|
|
26197
26358
|
* Unit: USD/hour.
|
|
26198
26359
|
*
|
|
@@ -26222,12 +26383,12 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea
|
|
|
26222
26383
|
export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
26223
26384
|
/**
|
|
26224
26385
|
* @remarks
|
|
26225
|
-
* 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:
|
|
26386
|
+
* 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:
|
|
26226
26387
|
*
|
|
26227
26388
|
* * `true`: enables auto-renewal.
|
|
26228
26389
|
* * `false`: disables auto-renewal.
|
|
26229
26390
|
*
|
|
26230
|
-
* Default value: `
|
|
26391
|
+
* Default value: `false`.
|
|
26231
26392
|
*
|
|
26232
26393
|
* @example
|
|
26233
26394
|
* true
|
|
@@ -26235,7 +26396,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26235
26396
|
autoRenew?: boolean;
|
|
26236
26397
|
/**
|
|
26237
26398
|
* @remarks
|
|
26238
|
-
* The
|
|
26399
|
+
* The duration of the auto-renewal. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`.
|
|
26239
26400
|
*
|
|
26240
26401
|
* If you specify `PeriodUnit=Month`, the valid values are 1, 2, 3, 6, and 12.
|
|
26241
26402
|
*
|
|
@@ -26245,7 +26406,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26245
26406
|
autoRenewPeriod?: number;
|
|
26246
26407
|
/**
|
|
26247
26408
|
* @remarks
|
|
26248
|
-
* 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:
|
|
26409
|
+
* 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:
|
|
26249
26410
|
*
|
|
26250
26411
|
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
26251
26412
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
@@ -26256,7 +26417,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26256
26417
|
compensateWithOnDemand?: boolean;
|
|
26257
26418
|
/**
|
|
26258
26419
|
* @remarks
|
|
26259
|
-
* The configurations of the data disks that are mounted to nodes in the node pool.
|
|
26420
|
+
* 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.
|
|
26260
26421
|
*/
|
|
26261
26422
|
dataDisks?: DataDisk[];
|
|
26262
26423
|
/**
|
|
@@ -26269,7 +26430,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26269
26430
|
desiredSize?: number;
|
|
26270
26431
|
/**
|
|
26271
26432
|
* @remarks
|
|
26272
|
-
* The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported images. By default, the latest image
|
|
26433
|
+
* The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported images. By default, the latest image is used.
|
|
26273
26434
|
*
|
|
26274
26435
|
* @example
|
|
26275
26436
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -26281,7 +26442,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26281
26442
|
*
|
|
26282
26443
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
26283
26444
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
26284
|
-
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
26445
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3.
|
|
26285
26446
|
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
26286
26447
|
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
26287
26448
|
* * `CentOS`: CentOS.
|
|
@@ -26306,15 +26467,19 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26306
26467
|
* PostPaid
|
|
26307
26468
|
*/
|
|
26308
26469
|
instanceChargeType?: string;
|
|
26470
|
+
/**
|
|
26471
|
+
* @remarks
|
|
26472
|
+
* The instance attributes.
|
|
26473
|
+
*/
|
|
26309
26474
|
instancePatterns?: InstancePatterns[];
|
|
26310
26475
|
/**
|
|
26311
26476
|
* @remarks
|
|
26312
|
-
* The instance types
|
|
26477
|
+
* 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.
|
|
26313
26478
|
*/
|
|
26314
26479
|
instanceTypes?: string[];
|
|
26315
26480
|
/**
|
|
26316
26481
|
* @remarks
|
|
26317
|
-
* The
|
|
26482
|
+
* The billing method of the public IP address. Valid values:
|
|
26318
26483
|
*
|
|
26319
26484
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
26320
26485
|
* * `PayByTraffic`: pay-by-data-transfer.
|
|
@@ -26325,7 +26490,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26325
26490
|
internetChargeType?: string;
|
|
26326
26491
|
/**
|
|
26327
26492
|
* @remarks
|
|
26328
|
-
* The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100.
|
|
26493
|
+
* The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
|
|
26329
26494
|
*
|
|
26330
26495
|
* @example
|
|
26331
26496
|
* 5
|
|
@@ -26351,15 +26516,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26351
26516
|
* @remarks
|
|
26352
26517
|
* The ECS instance scaling policy for the multi-zone scaling group. Valid values:
|
|
26353
26518
|
*
|
|
26354
|
-
* * `PRIORITY`:
|
|
26519
|
+
* * `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.
|
|
26355
26520
|
*
|
|
26356
|
-
* * `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
|
|
26521
|
+
* * `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.
|
|
26357
26522
|
*
|
|
26358
26523
|
* **
|
|
26359
26524
|
*
|
|
26360
26525
|
* **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
26361
26526
|
*
|
|
26362
|
-
* * `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
|
|
26527
|
+
* * `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).
|
|
26363
26528
|
*
|
|
26364
26529
|
* Default value: `PRIORITY`.
|
|
26365
26530
|
*
|
|
@@ -26385,7 +26550,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26385
26550
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
26386
26551
|
/**
|
|
26387
26552
|
* @remarks
|
|
26388
|
-
* The subscription duration of nodes in the node pool. This parameter takes effect and is required
|
|
26553
|
+
* 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`.
|
|
26389
26554
|
*
|
|
26390
26555
|
* If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
26391
26556
|
*
|
|
@@ -26395,7 +26560,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26395
26560
|
period?: number;
|
|
26396
26561
|
/**
|
|
26397
26562
|
* @remarks
|
|
26398
|
-
* The billing cycle of nodes in the node pool. This parameter is required if you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
26563
|
+
* The billing cycle of the nodes in the node pool. This parameter is required if you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
26399
26564
|
*
|
|
26400
26565
|
* The billing cycle is measured only in months.
|
|
26401
26566
|
*
|
|
@@ -26451,7 +26616,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26451
26616
|
spotInstancePools?: number;
|
|
26452
26617
|
/**
|
|
26453
26618
|
* @remarks
|
|
26454
|
-
* Specifies whether to supplement preemptible instances. If
|
|
26619
|
+
* 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:
|
|
26455
26620
|
*
|
|
26456
26621
|
* * `true`: supplements preemptible instances.
|
|
26457
26622
|
* * `false`: does not supplement preemptible instances.
|
|
@@ -26462,7 +26627,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26462
26627
|
spotInstanceRemedy?: boolean;
|
|
26463
26628
|
/**
|
|
26464
26629
|
* @remarks
|
|
26465
|
-
* The instance type of preemptible
|
|
26630
|
+
* The instance type of preemptible instance and the price cap for the instance type.
|
|
26466
26631
|
*/
|
|
26467
26632
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
26468
26633
|
/**
|
|
@@ -26470,10 +26635,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26470
26635
|
* The bidding policy of preemptible instances. Valid values:
|
|
26471
26636
|
*
|
|
26472
26637
|
* * `NoSpot`: non-preemptible instance.
|
|
26473
|
-
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
26638
|
+
* * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
|
|
26474
26639
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
26475
26640
|
*
|
|
26476
|
-
* For more information, see [
|
|
26641
|
+
* For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html).
|
|
26477
26642
|
*
|
|
26478
26643
|
* @example
|
|
26479
26644
|
* SpotWithPriceLimit
|
|
@@ -26481,7 +26646,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26481
26646
|
spotStrategy?: string;
|
|
26482
26647
|
/**
|
|
26483
26648
|
* @remarks
|
|
26484
|
-
* Specifies whether to enable
|
|
26649
|
+
* Specifies whether to enable Burst for the system disk when the disk type is cloud_auto.
|
|
26485
26650
|
*
|
|
26486
26651
|
* @example
|
|
26487
26652
|
* true
|
|
@@ -26489,12 +26654,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26489
26654
|
systemDiskBurstingEnabled?: boolean;
|
|
26490
26655
|
/**
|
|
26491
26656
|
* @remarks
|
|
26492
|
-
* The system disk types. The system
|
|
26657
|
+
* 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).
|
|
26493
26658
|
*/
|
|
26494
26659
|
systemDiskCategories?: string[];
|
|
26495
26660
|
/**
|
|
26496
26661
|
* @remarks
|
|
26497
|
-
* The system disk
|
|
26662
|
+
* The type of the system disk. Valid values:
|
|
26498
26663
|
*
|
|
26499
26664
|
* * `cloud_efficiency`: ultra disk.
|
|
26500
26665
|
* * `cloud_ssd`: standard SSD.
|
|
@@ -26507,7 +26672,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26507
26672
|
systemDiskCategory?: string;
|
|
26508
26673
|
/**
|
|
26509
26674
|
* @remarks
|
|
26510
|
-
* The encryption algorithm that is used
|
|
26675
|
+
* The encryption algorithm that is used by the system disk. Set the value to aes-256.
|
|
26511
26676
|
*
|
|
26512
26677
|
* @example
|
|
26513
26678
|
* aes-256
|
|
@@ -26531,7 +26696,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26531
26696
|
systemDiskKmsKeyId?: string;
|
|
26532
26697
|
/**
|
|
26533
26698
|
* @remarks
|
|
26534
|
-
* The performance level (PL) of the system disk. This parameter takes effect only for
|
|
26699
|
+
* 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).
|
|
26535
26700
|
*
|
|
26536
26701
|
* @example
|
|
26537
26702
|
* PL1
|
|
@@ -26539,7 +26704,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26539
26704
|
systemDiskPerformanceLevel?: string;
|
|
26540
26705
|
/**
|
|
26541
26706
|
* @remarks
|
|
26542
|
-
* The
|
|
26707
|
+
* The predefined read and write IOPS of the system disk when the disk type is cloud_auto.
|
|
26543
26708
|
*
|
|
26544
26709
|
* @example
|
|
26545
26710
|
* 1000
|
|
@@ -26547,7 +26712,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26547
26712
|
systemDiskProvisionedIops?: number;
|
|
26548
26713
|
/**
|
|
26549
26714
|
* @remarks
|
|
26550
|
-
* The size of the system disk
|
|
26715
|
+
* The size of the system disk in GiB.
|
|
26551
26716
|
*
|
|
26552
26717
|
* Valid values: 20 to 500.
|
|
26553
26718
|
*
|
|
@@ -26563,12 +26728,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26563
26728
|
* @remarks
|
|
26564
26729
|
* The labels that you want to add only to ECS instances.
|
|
26565
26730
|
*
|
|
26566
|
-
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs:
|
|
26731
|
+
* 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://.
|
|
26567
26732
|
*/
|
|
26568
26733
|
tags?: Tag[];
|
|
26569
26734
|
/**
|
|
26570
26735
|
* @remarks
|
|
26571
|
-
* The
|
|
26736
|
+
* The IDs of vSwitches. You can specify 1 to 20 vSwitches.
|
|
26572
26737
|
*
|
|
26573
26738
|
* > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
|
|
26574
26739
|
*/
|
|
@@ -27019,6 +27184,13 @@ export class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
|
27019
27184
|
}
|
|
27020
27185
|
|
|
27021
27186
|
export class UpgradeClusterRequestRollingPolicy extends $tea.Model {
|
|
27187
|
+
/**
|
|
27188
|
+
* @remarks
|
|
27189
|
+
* Maximum number of executions per batch.
|
|
27190
|
+
*
|
|
27191
|
+
* @example
|
|
27192
|
+
* 3
|
|
27193
|
+
*/
|
|
27022
27194
|
maxParallelism?: number;
|
|
27023
27195
|
static names(): { [key: string]: string } {
|
|
27024
27196
|
return {
|
|
@@ -32350,9 +32522,9 @@ export default class Client extends OpenApi {
|
|
|
32350
32522
|
* 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.
|
|
32351
32523
|
*
|
|
32352
32524
|
* @remarks
|
|
32353
|
-
* You can
|
|
32354
|
-
* * To
|
|
32355
|
-
* *
|
|
32525
|
+
* 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:
|
|
32526
|
+
* * 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).
|
|
32527
|
+
* * 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).
|
|
32356
32528
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
32357
32529
|
*
|
|
32358
32530
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -32389,9 +32561,9 @@ export default class Client extends OpenApi {
|
|
|
32389
32561
|
* 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.
|
|
32390
32562
|
*
|
|
32391
32563
|
* @remarks
|
|
32392
|
-
* You can
|
|
32393
|
-
* * To
|
|
32394
|
-
* *
|
|
32564
|
+
* 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:
|
|
32565
|
+
* * 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).
|
|
32566
|
+
* * 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).
|
|
32395
32567
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
32396
32568
|
*
|
|
32397
32569
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -33602,7 +33774,7 @@ export default class Client extends OpenApi {
|
|
|
33602
33774
|
}
|
|
33603
33775
|
|
|
33604
33776
|
/**
|
|
33605
|
-
*
|
|
33777
|
+
* 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.
|
|
33606
33778
|
*
|
|
33607
33779
|
* @param headers - map
|
|
33608
33780
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -33627,7 +33799,7 @@ export default class Client extends OpenApi {
|
|
|
33627
33799
|
}
|
|
33628
33800
|
|
|
33629
33801
|
/**
|
|
33630
|
-
*
|
|
33802
|
+
* 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.
|
|
33631
33803
|
* @returns ScanClusterVulsResponse
|
|
33632
33804
|
*/
|
|
33633
33805
|
async scanClusterVuls(clusterId: string): Promise<ScanClusterVulsResponse> {
|
|
@@ -34457,6 +34629,13 @@ export default class Client extends OpenApi {
|
|
|
34457
34629
|
/**
|
|
34458
34630
|
* You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
34459
34631
|
*
|
|
34632
|
+
* @remarks
|
|
34633
|
+
* 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:
|
|
34634
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
34635
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
34636
|
+
* - [Call ResumeTask to resume a task that has been paused](https://help.aliyun.com/document_detail/2667987.html)
|
|
34637
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
34638
|
+
*
|
|
34460
34639
|
* @param request - UpgradeClusterRequest
|
|
34461
34640
|
* @param headers - map
|
|
34462
34641
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -34506,6 +34685,13 @@ export default class Client extends OpenApi {
|
|
|
34506
34685
|
/**
|
|
34507
34686
|
* You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
34508
34687
|
*
|
|
34688
|
+
* @remarks
|
|
34689
|
+
* 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:
|
|
34690
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
34691
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
34692
|
+
* - [Call ResumeTask to resume a task that has been paused](https://help.aliyun.com/document_detail/2667987.html)
|
|
34693
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
34694
|
+
*
|
|
34509
34695
|
* @param request - UpgradeClusterRequest
|
|
34510
34696
|
* @returns UpgradeClusterResponse
|
|
34511
34697
|
*/
|