@alicloud/cs20151215 4.7.6 → 4.7.8
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 +324 -67
- package/dist/client.js +150 -12
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +396 -67
package/src/client.ts
CHANGED
|
@@ -356,7 +356,7 @@ export class MaintenanceWindow extends $tea.Model {
|
|
|
356
356
|
enable?: boolean;
|
|
357
357
|
/**
|
|
358
358
|
* @example
|
|
359
|
-
*
|
|
359
|
+
* 2020-10-15T12:31:00.000+08:00
|
|
360
360
|
*/
|
|
361
361
|
maintenanceTime?: string;
|
|
362
362
|
/**
|
|
@@ -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
|
*/
|
|
@@ -2162,6 +2178,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2162
2178
|
* Hello@1234
|
|
2163
2179
|
*/
|
|
2164
2180
|
loginPassword?: string;
|
|
2181
|
+
maintenanceWindow?: MaintenanceWindow;
|
|
2165
2182
|
/**
|
|
2166
2183
|
* @remarks
|
|
2167
2184
|
* Specifies whether to enable auto-renewal for master nodes. This parameter takes effect only when `master_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
@@ -2359,6 +2376,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2359
2376
|
* @deprecated
|
|
2360
2377
|
*/
|
|
2361
2378
|
numOfNodes?: number;
|
|
2379
|
+
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
2362
2380
|
/**
|
|
2363
2381
|
* @remarks
|
|
2364
2382
|
* The type of OS. Valid values:
|
|
@@ -2793,6 +2811,11 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2793
2811
|
* @deprecated
|
|
2794
2812
|
*/
|
|
2795
2813
|
zoneId?: string;
|
|
2814
|
+
/**
|
|
2815
|
+
* @remarks
|
|
2816
|
+
* List of availability zone IDs in the region where the cluster resides. This parameter is specific to ACK managed clusters.
|
|
2817
|
+
* 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.
|
|
2818
|
+
*/
|
|
2796
2819
|
zoneIds?: string[];
|
|
2797
2820
|
static names(): { [key: string]: string } {
|
|
2798
2821
|
return {
|
|
@@ -2831,6 +2854,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2831
2854
|
loadBalancerSpec: 'load_balancer_spec',
|
|
2832
2855
|
loggingType: 'logging_type',
|
|
2833
2856
|
loginPassword: 'login_password',
|
|
2857
|
+
maintenanceWindow: 'maintenance_window',
|
|
2834
2858
|
masterAutoRenew: 'master_auto_renew',
|
|
2835
2859
|
masterAutoRenewPeriod: 'master_auto_renew_period',
|
|
2836
2860
|
masterCount: 'master_count',
|
|
@@ -2850,6 +2874,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2850
2874
|
nodePortRange: 'node_port_range',
|
|
2851
2875
|
nodepools: 'nodepools',
|
|
2852
2876
|
numOfNodes: 'num_of_nodes',
|
|
2877
|
+
operationPolicy: 'operation_policy',
|
|
2853
2878
|
osType: 'os_type',
|
|
2854
2879
|
period: 'period',
|
|
2855
2880
|
periodUnit: 'period_unit',
|
|
@@ -2931,6 +2956,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2931
2956
|
loadBalancerSpec: 'string',
|
|
2932
2957
|
loggingType: 'string',
|
|
2933
2958
|
loginPassword: 'string',
|
|
2959
|
+
maintenanceWindow: MaintenanceWindow,
|
|
2934
2960
|
masterAutoRenew: 'boolean',
|
|
2935
2961
|
masterAutoRenewPeriod: 'number',
|
|
2936
2962
|
masterCount: 'number',
|
|
@@ -2950,6 +2976,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2950
2976
|
nodePortRange: 'string',
|
|
2951
2977
|
nodepools: { 'type': 'array', 'itemType': Nodepool },
|
|
2952
2978
|
numOfNodes: 'number',
|
|
2979
|
+
operationPolicy: CreateClusterRequestOperationPolicy,
|
|
2953
2980
|
osType: 'string',
|
|
2954
2981
|
period: 'number',
|
|
2955
2982
|
periodUnit: 'string',
|
|
@@ -5857,6 +5884,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
5857
5884
|
* 1.18.8-aliyun.1
|
|
5858
5885
|
*/
|
|
5859
5886
|
nextVersion?: string;
|
|
5887
|
+
operationPolicy?: DescribeClusterDetailResponseBodyOperationPolicy;
|
|
5860
5888
|
/**
|
|
5861
5889
|
* @remarks
|
|
5862
5890
|
* The ROS parameters of the cluster.
|
|
@@ -6008,6 +6036,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
6008
6036
|
name: 'name',
|
|
6009
6037
|
networkMode: 'network_mode',
|
|
6010
6038
|
nextVersion: 'next_version',
|
|
6039
|
+
operationPolicy: 'operation_policy',
|
|
6011
6040
|
parameters: 'parameters',
|
|
6012
6041
|
privateZone: 'private_zone',
|
|
6013
6042
|
profile: 'profile',
|
|
@@ -6043,6 +6072,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
6043
6072
|
name: 'string',
|
|
6044
6073
|
networkMode: 'string',
|
|
6045
6074
|
nextVersion: 'string',
|
|
6075
|
+
operationPolicy: DescribeClusterDetailResponseBodyOperationPolicy,
|
|
6046
6076
|
parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6047
6077
|
privateZone: 'boolean',
|
|
6048
6078
|
profile: 'string',
|
|
@@ -6254,6 +6284,10 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
|
|
|
6254
6284
|
* 10
|
|
6255
6285
|
*/
|
|
6256
6286
|
maxNodes?: number;
|
|
6287
|
+
/**
|
|
6288
|
+
* @remarks
|
|
6289
|
+
* Node configuration.
|
|
6290
|
+
*/
|
|
6257
6291
|
nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
|
|
6258
6292
|
/**
|
|
6259
6293
|
* @remarks
|
|
@@ -6339,6 +6373,9 @@ export class DescribeClusterNodePoolDetailResponse extends $tea.Model {
|
|
|
6339
6373
|
|
|
6340
6374
|
export class DescribeClusterNodePoolsRequest extends $tea.Model {
|
|
6341
6375
|
/**
|
|
6376
|
+
* @remarks
|
|
6377
|
+
* Node pool name.
|
|
6378
|
+
*
|
|
6342
6379
|
* @example
|
|
6343
6380
|
* nodepool-test
|
|
6344
6381
|
*/
|
|
@@ -7917,6 +7954,9 @@ export class DescribeNodePoolVulsResponseBody extends $tea.Model {
|
|
|
7917
7954
|
*/
|
|
7918
7955
|
vulRecords?: DescribeNodePoolVulsResponseBodyVulRecords[];
|
|
7919
7956
|
/**
|
|
7957
|
+
* @remarks
|
|
7958
|
+
* Whether the Cloud Security CVE Remediation Service has been purchased
|
|
7959
|
+
*
|
|
7920
7960
|
* @example
|
|
7921
7961
|
* false
|
|
7922
7962
|
*/
|
|
@@ -10265,6 +10305,9 @@ export class ListClusterChecksRequest extends $tea.Model {
|
|
|
10265
10305
|
/**
|
|
10266
10306
|
* @remarks
|
|
10267
10307
|
* The targets to check.
|
|
10308
|
+
*
|
|
10309
|
+
* @example
|
|
10310
|
+
* ngw-bp19ay6nnvd4cexxxx
|
|
10268
10311
|
*/
|
|
10269
10312
|
target?: string;
|
|
10270
10313
|
/**
|
|
@@ -11270,7 +11313,7 @@ export class ModifyClusterConfigurationResponse extends $tea.Model {
|
|
|
11270
11313
|
export class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
11271
11314
|
/**
|
|
11272
11315
|
* @remarks
|
|
11273
|
-
* The
|
|
11316
|
+
* The configurations about auto scaling.
|
|
11274
11317
|
*/
|
|
11275
11318
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
11276
11319
|
/**
|
|
@@ -11288,7 +11331,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
11288
11331
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
11289
11332
|
/**
|
|
11290
11333
|
* @remarks
|
|
11291
|
-
* The
|
|
11334
|
+
* The configuration of the managed node pool feature.
|
|
11292
11335
|
*/
|
|
11293
11336
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
11294
11337
|
/**
|
|
@@ -11298,7 +11341,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
11298
11341
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
11299
11342
|
/**
|
|
11300
11343
|
* @remarks
|
|
11301
|
-
* The
|
|
11344
|
+
* The configuration of the scaling group.
|
|
11302
11345
|
*/
|
|
11303
11346
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
11304
11347
|
/**
|
|
@@ -11888,6 +11931,9 @@ export class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
11888
11931
|
|
|
11889
11932
|
export class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
11890
11933
|
/**
|
|
11934
|
+
* @remarks
|
|
11935
|
+
* Whether to remove concurrently.
|
|
11936
|
+
*
|
|
11891
11937
|
* @example
|
|
11892
11938
|
* false
|
|
11893
11939
|
*/
|
|
@@ -11953,6 +11999,9 @@ export class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
11953
11999
|
|
|
11954
12000
|
export class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
11955
12001
|
/**
|
|
12002
|
+
* @remarks
|
|
12003
|
+
* Whether to remove concurrently.
|
|
12004
|
+
*
|
|
11956
12005
|
* @example
|
|
11957
12006
|
* false
|
|
11958
12007
|
*/
|
|
@@ -12535,10 +12584,10 @@ export class ScaleClusterResponse extends $tea.Model {
|
|
|
12535
12584
|
export class ScaleClusterNodePoolRequest extends $tea.Model {
|
|
12536
12585
|
/**
|
|
12537
12586
|
* @remarks
|
|
12538
|
-
* The number of worker nodes that you want to add. For example, the current node pool contains two nodes. After the node
|
|
12587
|
+
* 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
12588
|
*
|
|
12540
12589
|
* @example
|
|
12541
|
-
*
|
|
12590
|
+
* 2
|
|
12542
12591
|
*/
|
|
12543
12592
|
count?: number;
|
|
12544
12593
|
static names(): { [key: string]: string } {
|
|
@@ -12944,11 +12993,17 @@ export class ScaleOutClusterResponse extends $tea.Model {
|
|
|
12944
12993
|
|
|
12945
12994
|
export class ScanClusterVulsResponseBody extends $tea.Model {
|
|
12946
12995
|
/**
|
|
12996
|
+
* @remarks
|
|
12997
|
+
* Request ID.
|
|
12998
|
+
*
|
|
12947
12999
|
* @example
|
|
12948
13000
|
* 687C5BAA-D103-4993-884B-C35E4314A1E1
|
|
12949
13001
|
*/
|
|
12950
13002
|
requestId?: string;
|
|
12951
13003
|
/**
|
|
13004
|
+
* @remarks
|
|
13005
|
+
* Task ID.
|
|
13006
|
+
*
|
|
12952
13007
|
* @example
|
|
12953
13008
|
* T-xascadasd*****
|
|
12954
13009
|
*/
|
|
@@ -14305,6 +14360,9 @@ export class UpdateResourcesDeleteProtectionResponseBody extends $tea.Model {
|
|
|
14305
14360
|
/**
|
|
14306
14361
|
* @remarks
|
|
14307
14362
|
* 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.
|
|
14363
|
+
*
|
|
14364
|
+
* @example
|
|
14365
|
+
* enable
|
|
14308
14366
|
*/
|
|
14309
14367
|
protection?: string;
|
|
14310
14368
|
/**
|
|
@@ -14318,6 +14376,9 @@ export class UpdateResourcesDeleteProtectionResponseBody extends $tea.Model {
|
|
|
14318
14376
|
/**
|
|
14319
14377
|
* @remarks
|
|
14320
14378
|
* The type of resource for which deletion protection is enabled or disabled.
|
|
14379
|
+
*
|
|
14380
|
+
* @example
|
|
14381
|
+
* namespaces
|
|
14321
14382
|
*/
|
|
14322
14383
|
resourceType?: string;
|
|
14323
14384
|
/**
|
|
@@ -14557,6 +14618,10 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14557
14618
|
* 1.16.9-aliyun.1
|
|
14558
14619
|
*/
|
|
14559
14620
|
nextVersion?: string;
|
|
14621
|
+
/**
|
|
14622
|
+
* @remarks
|
|
14623
|
+
* Policy of rolling.
|
|
14624
|
+
*/
|
|
14560
14625
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
14561
14626
|
/**
|
|
14562
14627
|
* @remarks
|
|
@@ -14595,16 +14660,25 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14595
14660
|
|
|
14596
14661
|
export class UpgradeClusterResponseBody extends $tea.Model {
|
|
14597
14662
|
/**
|
|
14663
|
+
* @remarks
|
|
14664
|
+
* Cluster ID.
|
|
14665
|
+
*
|
|
14598
14666
|
* @example
|
|
14599
14667
|
* c82e6987e2961451182edacd74faf****
|
|
14600
14668
|
*/
|
|
14601
14669
|
clusterId?: string;
|
|
14602
14670
|
/**
|
|
14671
|
+
* @remarks
|
|
14672
|
+
* Request ID.
|
|
14673
|
+
*
|
|
14603
14674
|
* @example
|
|
14604
14675
|
* 0527ac9a-c899-4341-a21a-****
|
|
14605
14676
|
*/
|
|
14606
14677
|
requestId?: string;
|
|
14607
14678
|
/**
|
|
14679
|
+
* @remarks
|
|
14680
|
+
* Task ID.
|
|
14681
|
+
*
|
|
14608
14682
|
* @example
|
|
14609
14683
|
* T-5faa48fb31b6b8078d00****
|
|
14610
14684
|
*/
|
|
@@ -15851,6 +15925,47 @@ export class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
15851
15925
|
}
|
|
15852
15926
|
}
|
|
15853
15927
|
|
|
15928
|
+
export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
15929
|
+
channel?: string;
|
|
15930
|
+
enabled?: boolean;
|
|
15931
|
+
static names(): { [key: string]: string } {
|
|
15932
|
+
return {
|
|
15933
|
+
channel: 'channel',
|
|
15934
|
+
enabled: 'enabled',
|
|
15935
|
+
};
|
|
15936
|
+
}
|
|
15937
|
+
|
|
15938
|
+
static types(): { [key: string]: any } {
|
|
15939
|
+
return {
|
|
15940
|
+
channel: 'string',
|
|
15941
|
+
enabled: 'boolean',
|
|
15942
|
+
};
|
|
15943
|
+
}
|
|
15944
|
+
|
|
15945
|
+
constructor(map?: { [key: string]: any }) {
|
|
15946
|
+
super(map);
|
|
15947
|
+
}
|
|
15948
|
+
}
|
|
15949
|
+
|
|
15950
|
+
export class CreateClusterRequestOperationPolicy extends $tea.Model {
|
|
15951
|
+
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
15952
|
+
static names(): { [key: string]: string } {
|
|
15953
|
+
return {
|
|
15954
|
+
clusterAutoUpgrade: 'cluster_auto_upgrade',
|
|
15955
|
+
};
|
|
15956
|
+
}
|
|
15957
|
+
|
|
15958
|
+
static types(): { [key: string]: any } {
|
|
15959
|
+
return {
|
|
15960
|
+
clusterAutoUpgrade: CreateClusterRequestOperationPolicyClusterAutoUpgrade,
|
|
15961
|
+
};
|
|
15962
|
+
}
|
|
15963
|
+
|
|
15964
|
+
constructor(map?: { [key: string]: any }) {
|
|
15965
|
+
super(map);
|
|
15966
|
+
}
|
|
15967
|
+
}
|
|
15968
|
+
|
|
15854
15969
|
export class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
15855
15970
|
/**
|
|
15856
15971
|
* @remarks
|
|
@@ -16171,6 +16286,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
16171
16286
|
* customized,aliyun,ip,com
|
|
16172
16287
|
*/
|
|
16173
16288
|
nodeNameMode?: string;
|
|
16289
|
+
preUserData?: string;
|
|
16174
16290
|
/**
|
|
16175
16291
|
* @remarks
|
|
16176
16292
|
* The name of the container runtime. The following types of runtime are supported by Container Service for Kubernetes (ACK):
|
|
@@ -16220,6 +16336,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
16220
16336
|
cpuPolicy: 'cpu_policy',
|
|
16221
16337
|
labels: 'labels',
|
|
16222
16338
|
nodeNameMode: 'node_name_mode',
|
|
16339
|
+
preUserData: 'pre_user_data',
|
|
16223
16340
|
runtime: 'runtime',
|
|
16224
16341
|
runtimeVersion: 'runtime_version',
|
|
16225
16342
|
taints: 'taints',
|
|
@@ -16234,6 +16351,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
16234
16351
|
cpuPolicy: 'string',
|
|
16235
16352
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
16236
16353
|
nodeNameMode: 'string',
|
|
16354
|
+
preUserData: 'string',
|
|
16237
16355
|
runtime: 'string',
|
|
16238
16356
|
runtimeVersion: 'string',
|
|
16239
16357
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -17559,6 +17677,47 @@ export class DescribeAddonsResponseBodyComponentGroups extends $tea.Model {
|
|
|
17559
17677
|
}
|
|
17560
17678
|
}
|
|
17561
17679
|
|
|
17680
|
+
export class DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
17681
|
+
channel?: string;
|
|
17682
|
+
enabled?: boolean;
|
|
17683
|
+
static names(): { [key: string]: string } {
|
|
17684
|
+
return {
|
|
17685
|
+
channel: 'channel',
|
|
17686
|
+
enabled: 'enabled',
|
|
17687
|
+
};
|
|
17688
|
+
}
|
|
17689
|
+
|
|
17690
|
+
static types(): { [key: string]: any } {
|
|
17691
|
+
return {
|
|
17692
|
+
channel: 'string',
|
|
17693
|
+
enabled: 'boolean',
|
|
17694
|
+
};
|
|
17695
|
+
}
|
|
17696
|
+
|
|
17697
|
+
constructor(map?: { [key: string]: any }) {
|
|
17698
|
+
super(map);
|
|
17699
|
+
}
|
|
17700
|
+
}
|
|
17701
|
+
|
|
17702
|
+
export class DescribeClusterDetailResponseBodyOperationPolicy extends $tea.Model {
|
|
17703
|
+
clusterAutoUpgrade?: DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade;
|
|
17704
|
+
static names(): { [key: string]: string } {
|
|
17705
|
+
return {
|
|
17706
|
+
clusterAutoUpgrade: 'cluster_auto_upgrade',
|
|
17707
|
+
};
|
|
17708
|
+
}
|
|
17709
|
+
|
|
17710
|
+
static types(): { [key: string]: any } {
|
|
17711
|
+
return {
|
|
17712
|
+
clusterAutoUpgrade: DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade,
|
|
17713
|
+
};
|
|
17714
|
+
}
|
|
17715
|
+
|
|
17716
|
+
constructor(map?: { [key: string]: any }) {
|
|
17717
|
+
super(map);
|
|
17718
|
+
}
|
|
17719
|
+
}
|
|
17720
|
+
|
|
17562
17721
|
export class DescribeClusterEventsResponseBodyEventsData extends $tea.Model {
|
|
17563
17722
|
/**
|
|
17564
17723
|
* @remarks
|
|
@@ -18036,6 +18195,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
18036
18195
|
* customized,test.,5,.com
|
|
18037
18196
|
*/
|
|
18038
18197
|
nodeNameMode?: string;
|
|
18198
|
+
preUserData?: string;
|
|
18039
18199
|
/**
|
|
18040
18200
|
* @remarks
|
|
18041
18201
|
* The name of the container runtime.
|
|
@@ -18058,6 +18218,9 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
18058
18218
|
*/
|
|
18059
18219
|
taints?: Taint[];
|
|
18060
18220
|
/**
|
|
18221
|
+
* @remarks
|
|
18222
|
+
* Whether the expanded node is schedulable.
|
|
18223
|
+
*
|
|
18061
18224
|
* @example
|
|
18062
18225
|
* true
|
|
18063
18226
|
*/
|
|
@@ -18076,6 +18239,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
18076
18239
|
cpuPolicy: 'cpu_policy',
|
|
18077
18240
|
labels: 'labels',
|
|
18078
18241
|
nodeNameMode: 'node_name_mode',
|
|
18242
|
+
preUserData: 'pre_user_data',
|
|
18079
18243
|
runtime: 'runtime',
|
|
18080
18244
|
runtimeVersion: 'runtime_version',
|
|
18081
18245
|
taints: 'taints',
|
|
@@ -18090,6 +18254,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
18090
18254
|
cpuPolicy: 'string',
|
|
18091
18255
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
18092
18256
|
nodeNameMode: 'string',
|
|
18257
|
+
preUserData: 'string',
|
|
18093
18258
|
runtime: 'string',
|
|
18094
18259
|
runtimeVersion: 'string',
|
|
18095
18260
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -18105,6 +18270,9 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
18105
18270
|
|
|
18106
18271
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy extends $tea.Model {
|
|
18107
18272
|
/**
|
|
18273
|
+
* @remarks
|
|
18274
|
+
* Whether to allow restarting nodes.
|
|
18275
|
+
*
|
|
18108
18276
|
* @example
|
|
18109
18277
|
* true
|
|
18110
18278
|
*/
|
|
@@ -18128,6 +18296,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
18128
18296
|
|
|
18129
18297
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $tea.Model {
|
|
18130
18298
|
/**
|
|
18299
|
+
* @remarks
|
|
18300
|
+
* Whether to allow automatic upgrading of kubelet.
|
|
18301
|
+
*
|
|
18131
18302
|
* @example
|
|
18132
18303
|
* true
|
|
18133
18304
|
*/
|
|
@@ -18151,11 +18322,17 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolic
|
|
|
18151
18322
|
|
|
18152
18323
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $tea.Model {
|
|
18153
18324
|
/**
|
|
18325
|
+
* @remarks
|
|
18326
|
+
* Whether to allow restarting nodes.
|
|
18327
|
+
*
|
|
18154
18328
|
* @example
|
|
18155
18329
|
* true
|
|
18156
18330
|
*/
|
|
18157
18331
|
restartNode?: boolean;
|
|
18158
18332
|
/**
|
|
18333
|
+
* @remarks
|
|
18334
|
+
* The vulnerability levels allowed for auto-fixing, separated by commas.
|
|
18335
|
+
*
|
|
18159
18336
|
* @example
|
|
18160
18337
|
* asap,nntf
|
|
18161
18338
|
*/
|
|
@@ -18252,18 +18429,36 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Mo
|
|
|
18252
18429
|
* true
|
|
18253
18430
|
*/
|
|
18254
18431
|
autoRepair?: boolean;
|
|
18432
|
+
/**
|
|
18433
|
+
* @remarks
|
|
18434
|
+
* Automatic repair node policy.
|
|
18435
|
+
*/
|
|
18255
18436
|
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
18256
18437
|
/**
|
|
18438
|
+
* @remarks
|
|
18439
|
+
* Whether to automatically upgrade.
|
|
18440
|
+
*
|
|
18257
18441
|
* @example
|
|
18258
18442
|
* true
|
|
18259
18443
|
*/
|
|
18260
18444
|
autoUpgrade?: boolean;
|
|
18445
|
+
/**
|
|
18446
|
+
* @remarks
|
|
18447
|
+
* Automatic upgrade policy.
|
|
18448
|
+
*/
|
|
18261
18449
|
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
18262
18450
|
/**
|
|
18451
|
+
* @remarks
|
|
18452
|
+
* Whether to automatically fix CVEs.
|
|
18453
|
+
*
|
|
18263
18454
|
* @example
|
|
18264
18455
|
* true
|
|
18265
18456
|
*/
|
|
18266
18457
|
autoVulFix?: boolean;
|
|
18458
|
+
/**
|
|
18459
|
+
* @remarks
|
|
18460
|
+
* Automatically repair CVE policies.
|
|
18461
|
+
*/
|
|
18267
18462
|
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
18268
18463
|
/**
|
|
18269
18464
|
* @remarks
|
|
@@ -18313,6 +18508,10 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Mo
|
|
|
18313
18508
|
}
|
|
18314
18509
|
|
|
18315
18510
|
export class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $tea.Model {
|
|
18511
|
+
/**
|
|
18512
|
+
* @remarks
|
|
18513
|
+
* Kubelet parameter configuration.
|
|
18514
|
+
*/
|
|
18316
18515
|
kubeletConfiguration?: KubeletConfig;
|
|
18317
18516
|
static names(): { [key: string]: string } {
|
|
18318
18517
|
return {
|
|
@@ -18530,6 +18729,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18530
18729
|
*/
|
|
18531
18730
|
autoRenewPeriod?: number;
|
|
18532
18731
|
/**
|
|
18732
|
+
* @remarks
|
|
18733
|
+
* 【The field is deprecated】Please use the parameter security_hardening_os instead.
|
|
18734
|
+
*
|
|
18533
18735
|
* @example
|
|
18534
18736
|
* false
|
|
18535
18737
|
*
|
|
@@ -18577,6 +18779,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18577
18779
|
*/
|
|
18578
18780
|
imageId?: string;
|
|
18579
18781
|
/**
|
|
18782
|
+
* @remarks
|
|
18783
|
+
* Operating system image type.
|
|
18784
|
+
*
|
|
18580
18785
|
* @example
|
|
18581
18786
|
* AliyunLinux
|
|
18582
18787
|
*/
|
|
@@ -18594,7 +18799,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18594
18799
|
instanceChargeType?: string;
|
|
18595
18800
|
/**
|
|
18596
18801
|
* @remarks
|
|
18597
|
-
*
|
|
18802
|
+
* Instance attributes
|
|
18598
18803
|
*/
|
|
18599
18804
|
instancePatterns?: InstancePatterns[];
|
|
18600
18805
|
/**
|
|
@@ -18627,6 +18832,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18627
18832
|
*/
|
|
18628
18833
|
keyPair?: string;
|
|
18629
18834
|
/**
|
|
18835
|
+
* @remarks
|
|
18836
|
+
* Whether the popped ECS instance uses a non-root user for login.
|
|
18837
|
+
*
|
|
18630
18838
|
* @example
|
|
18631
18839
|
* true
|
|
18632
18840
|
*/
|
|
@@ -18725,7 +18933,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18725
18933
|
ramPolicy?: string;
|
|
18726
18934
|
/**
|
|
18727
18935
|
* @remarks
|
|
18728
|
-
* Worker RAM
|
|
18936
|
+
* Worker RAM role name.
|
|
18729
18937
|
*
|
|
18730
18938
|
* @example
|
|
18731
18939
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
@@ -18769,11 +18977,21 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18769
18977
|
*/
|
|
18770
18978
|
securityGroupIds?: string[];
|
|
18771
18979
|
/**
|
|
18980
|
+
* @remarks
|
|
18981
|
+
* Alibaba Cloud OS security hardening. Values:
|
|
18982
|
+
* - `true`: Enable Alibaba Cloud OS security hardening.
|
|
18983
|
+
* - `false`: Do not enable Alibaba Cloud OS security hardening.
|
|
18984
|
+
*
|
|
18985
|
+
* Default value: `false`.
|
|
18986
|
+
*
|
|
18772
18987
|
* @example
|
|
18773
18988
|
* false
|
|
18774
18989
|
*/
|
|
18775
18990
|
securityHardeningOs?: boolean;
|
|
18776
18991
|
/**
|
|
18992
|
+
* @remarks
|
|
18993
|
+
* 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.
|
|
18994
|
+
*
|
|
18777
18995
|
* @example
|
|
18778
18996
|
* false
|
|
18779
18997
|
*/
|
|
@@ -18817,6 +19035,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18817
19035
|
*/
|
|
18818
19036
|
spotStrategy?: string;
|
|
18819
19037
|
/**
|
|
19038
|
+
* @remarks
|
|
19039
|
+
* Whether to enable Burst (performance burst) for the node system disk, configured when the disk type is cloud_auto.
|
|
19040
|
+
*
|
|
18820
19041
|
* @example
|
|
18821
19042
|
* true
|
|
18822
19043
|
*/
|
|
@@ -18853,6 +19074,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18853
19074
|
*/
|
|
18854
19075
|
systemDiskCategory?: string;
|
|
18855
19076
|
/**
|
|
19077
|
+
* @remarks
|
|
19078
|
+
* Encryption algorithm used for the system disk. Valid values: aes-256.
|
|
19079
|
+
*
|
|
18856
19080
|
* @example
|
|
18857
19081
|
* aes-256
|
|
18858
19082
|
*/
|
|
@@ -18869,6 +19093,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18869
19093
|
*/
|
|
18870
19094
|
systemDiskEncrypted?: boolean;
|
|
18871
19095
|
/**
|
|
19096
|
+
* @remarks
|
|
19097
|
+
* System disk\\"s KMS key ID.
|
|
19098
|
+
*
|
|
18872
19099
|
* @example
|
|
18873
19100
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
18874
19101
|
*/
|
|
@@ -18882,6 +19109,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
18882
19109
|
*/
|
|
18883
19110
|
systemDiskPerformanceLevel?: string;
|
|
18884
19111
|
/**
|
|
19112
|
+
* @remarks
|
|
19113
|
+
* Pre-configured read and write IOPS for the system disk of the node, configured when the disk type is cloud_auto.
|
|
19114
|
+
*
|
|
18885
19115
|
* @example
|
|
18886
19116
|
* 1000
|
|
18887
19117
|
*/
|
|
@@ -19372,6 +19602,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
19372
19602
|
* customized,test.,5,.com
|
|
19373
19603
|
*/
|
|
19374
19604
|
nodeNameMode?: string;
|
|
19605
|
+
preUserData?: string;
|
|
19375
19606
|
/**
|
|
19376
19607
|
* @remarks
|
|
19377
19608
|
* The name of the container runtime.
|
|
@@ -19415,6 +19646,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
19415
19646
|
cpuPolicy: 'cpu_policy',
|
|
19416
19647
|
labels: 'labels',
|
|
19417
19648
|
nodeNameMode: 'node_name_mode',
|
|
19649
|
+
preUserData: 'pre_user_data',
|
|
19418
19650
|
runtime: 'runtime',
|
|
19419
19651
|
runtimeVersion: 'runtime_version',
|
|
19420
19652
|
taints: 'taints',
|
|
@@ -19429,6 +19661,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
19429
19661
|
cpuPolicy: 'string',
|
|
19430
19662
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
19431
19663
|
nodeNameMode: 'string',
|
|
19664
|
+
preUserData: 'string',
|
|
19432
19665
|
runtime: 'string',
|
|
19433
19666
|
runtimeVersion: 'string',
|
|
19434
19667
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -19979,6 +20212,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
19979
20212
|
* PostPaid
|
|
19980
20213
|
*/
|
|
19981
20214
|
instanceChargeType?: string;
|
|
20215
|
+
/**
|
|
20216
|
+
* @remarks
|
|
20217
|
+
* Instance attributes
|
|
20218
|
+
*/
|
|
19982
20219
|
instancePatterns?: InstancePatterns[];
|
|
19983
20220
|
/**
|
|
19984
20221
|
* @remarks
|
|
@@ -20113,6 +20350,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
20113
20350
|
*/
|
|
20114
20351
|
ramPolicy?: string;
|
|
20115
20352
|
/**
|
|
20353
|
+
* @remarks
|
|
20354
|
+
* Worker RAM role name.
|
|
20355
|
+
*
|
|
20116
20356
|
* @example
|
|
20117
20357
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
20118
20358
|
*/
|
|
@@ -20154,6 +20394,15 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
20154
20394
|
* The IDs of security groups for the node pool.
|
|
20155
20395
|
*/
|
|
20156
20396
|
securityGroupIds?: string[];
|
|
20397
|
+
/**
|
|
20398
|
+
* @remarks
|
|
20399
|
+
* Alibaba Cloud OS security hardening. Values:
|
|
20400
|
+
* - `true`: Enable Alibaba Cloud OS security hardening. - `false`: Do not enable Alibaba Cloud OS security hardening.
|
|
20401
|
+
* Default value: `false`.
|
|
20402
|
+
*
|
|
20403
|
+
* @example
|
|
20404
|
+
* false
|
|
20405
|
+
*/
|
|
20157
20406
|
securityHardeningOs?: boolean;
|
|
20158
20407
|
/**
|
|
20159
20408
|
* @remarks
|
|
@@ -21556,6 +21805,47 @@ export class DescribeClustersResponseBody extends $tea.Model {
|
|
|
21556
21805
|
}
|
|
21557
21806
|
}
|
|
21558
21807
|
|
|
21808
|
+
export class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
21809
|
+
channel?: string;
|
|
21810
|
+
enabled?: boolean;
|
|
21811
|
+
static names(): { [key: string]: string } {
|
|
21812
|
+
return {
|
|
21813
|
+
channel: 'channel',
|
|
21814
|
+
enabled: 'enabled',
|
|
21815
|
+
};
|
|
21816
|
+
}
|
|
21817
|
+
|
|
21818
|
+
static types(): { [key: string]: any } {
|
|
21819
|
+
return {
|
|
21820
|
+
channel: 'string',
|
|
21821
|
+
enabled: 'boolean',
|
|
21822
|
+
};
|
|
21823
|
+
}
|
|
21824
|
+
|
|
21825
|
+
constructor(map?: { [key: string]: any }) {
|
|
21826
|
+
super(map);
|
|
21827
|
+
}
|
|
21828
|
+
}
|
|
21829
|
+
|
|
21830
|
+
export class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.Model {
|
|
21831
|
+
clusterAutoUpgrade?: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade;
|
|
21832
|
+
static names(): { [key: string]: string } {
|
|
21833
|
+
return {
|
|
21834
|
+
clusterAutoUpgrade: 'cluster_auto_upgrade',
|
|
21835
|
+
};
|
|
21836
|
+
}
|
|
21837
|
+
|
|
21838
|
+
static types(): { [key: string]: any } {
|
|
21839
|
+
return {
|
|
21840
|
+
clusterAutoUpgrade: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade,
|
|
21841
|
+
};
|
|
21842
|
+
}
|
|
21843
|
+
|
|
21844
|
+
constructor(map?: { [key: string]: any }) {
|
|
21845
|
+
super(map);
|
|
21846
|
+
}
|
|
21847
|
+
}
|
|
21848
|
+
|
|
21559
21849
|
export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
21560
21850
|
/**
|
|
21561
21851
|
* @remarks
|
|
@@ -21693,6 +21983,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21693
21983
|
* 1.18.8-aliyun.1
|
|
21694
21984
|
*/
|
|
21695
21985
|
nextVersion?: string;
|
|
21986
|
+
operationPolicy?: DescribeClustersV1ResponseBodyClustersOperationPolicy;
|
|
21696
21987
|
/**
|
|
21697
21988
|
* @remarks
|
|
21698
21989
|
* Indicates whether Alibaba Cloud DNS PrivateZone is enabled. Valid values:
|
|
@@ -21846,6 +22137,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21846
22137
|
name: 'name',
|
|
21847
22138
|
networkMode: 'network_mode',
|
|
21848
22139
|
nextVersion: 'next_version',
|
|
22140
|
+
operationPolicy: 'operation_policy',
|
|
21849
22141
|
privateZone: 'private_zone',
|
|
21850
22142
|
profile: 'profile',
|
|
21851
22143
|
regionId: 'region_id',
|
|
@@ -21880,6 +22172,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
21880
22172
|
name: 'string',
|
|
21881
22173
|
networkMode: 'string',
|
|
21882
22174
|
nextVersion: 'string',
|
|
22175
|
+
operationPolicy: DescribeClustersV1ResponseBodyClustersOperationPolicy,
|
|
21883
22176
|
privateZone: 'boolean',
|
|
21884
22177
|
profile: 'string',
|
|
21885
22178
|
regionId: 'string',
|
|
@@ -25605,7 +25898,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
25605
25898
|
eipBandwidth?: number;
|
|
25606
25899
|
/**
|
|
25607
25900
|
* @remarks
|
|
25608
|
-
* The
|
|
25901
|
+
* The billing method of the EIP. Valid values:
|
|
25609
25902
|
*
|
|
25610
25903
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
25611
25904
|
* * `PayByTraffic`: pay-by-data-transfer.
|
|
@@ -25633,7 +25926,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
25633
25926
|
enable?: boolean;
|
|
25634
25927
|
/**
|
|
25635
25928
|
* @remarks
|
|
25636
|
-
* Specifies whether to associate an EIP with the node pool. Valid values:
|
|
25929
|
+
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
25637
25930
|
*
|
|
25638
25931
|
* * `true`: associates an EIP with the node pool.
|
|
25639
25932
|
* * `false`: No EIP is associated with the node pool.
|
|
@@ -25664,7 +25957,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
|
25664
25957
|
minInstances?: number;
|
|
25665
25958
|
/**
|
|
25666
25959
|
* @remarks
|
|
25667
|
-
* The instance
|
|
25960
|
+
* The instance types that can be used for the auto scaling of the node pool. Valid values:
|
|
25668
25961
|
*
|
|
25669
25962
|
* * `cpu`: regular instance.
|
|
25670
25963
|
* * `gpu`: GPU-accelerated instance.
|
|
@@ -25737,12 +26030,13 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25737
26030
|
cpuPolicy?: string;
|
|
25738
26031
|
/**
|
|
25739
26032
|
* @remarks
|
|
25740
|
-
* The labels
|
|
26033
|
+
* 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
26034
|
*
|
|
25742
26035
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
25743
26036
|
* * 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
26037
|
*/
|
|
25745
26038
|
labels?: Tag[];
|
|
26039
|
+
preUserData?: string;
|
|
25746
26040
|
/**
|
|
25747
26041
|
* @remarks
|
|
25748
26042
|
* The name of the container runtime.
|
|
@@ -25761,7 +26055,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25761
26055
|
runtimeVersion?: string;
|
|
25762
26056
|
/**
|
|
25763
26057
|
* @remarks
|
|
25764
|
-
* The
|
|
26058
|
+
* The configuration of a node taint.
|
|
25765
26059
|
*/
|
|
25766
26060
|
taints?: Taint[];
|
|
25767
26061
|
/**
|
|
@@ -25774,7 +26068,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25774
26068
|
unschedulable?: boolean;
|
|
25775
26069
|
/**
|
|
25776
26070
|
* @remarks
|
|
25777
|
-
* The user data
|
|
26071
|
+
* The user data of the node pool. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
|
|
25778
26072
|
*
|
|
25779
26073
|
* @example
|
|
25780
26074
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -25785,6 +26079,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25785
26079
|
cmsEnabled: 'cms_enabled',
|
|
25786
26080
|
cpuPolicy: 'cpu_policy',
|
|
25787
26081
|
labels: 'labels',
|
|
26082
|
+
preUserData: 'pre_user_data',
|
|
25788
26083
|
runtime: 'runtime',
|
|
25789
26084
|
runtimeVersion: 'runtime_version',
|
|
25790
26085
|
taints: 'taints',
|
|
@@ -25798,6 +26093,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25798
26093
|
cmsEnabled: 'boolean',
|
|
25799
26094
|
cpuPolicy: 'string',
|
|
25800
26095
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
26096
|
+
preUserData: 'string',
|
|
25801
26097
|
runtime: 'string',
|
|
25802
26098
|
runtimeVersion: 'string',
|
|
25803
26099
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -25814,7 +26110,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
25814
26110
|
export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
25815
26111
|
/**
|
|
25816
26112
|
* @remarks
|
|
25817
|
-
* Specifies whether to
|
|
26113
|
+
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
25818
26114
|
*
|
|
25819
26115
|
* * `true`: allows node restart.
|
|
25820
26116
|
* * `false`: does not allow node restart.
|
|
@@ -25843,7 +26139,7 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea
|
|
|
25843
26139
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
25844
26140
|
/**
|
|
25845
26141
|
* @remarks
|
|
25846
|
-
* Specifies whether to
|
|
26142
|
+
* Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
|
|
25847
26143
|
*
|
|
25848
26144
|
* * `true`: allows auto update of the kubelet.
|
|
25849
26145
|
* * `false`: does not allow auto update of the kubelet.
|
|
@@ -25854,7 +26150,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
25854
26150
|
autoUpgradeKubelet?: boolean;
|
|
25855
26151
|
/**
|
|
25856
26152
|
* @remarks
|
|
25857
|
-
* Specifies whether to
|
|
26153
|
+
* 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
26154
|
*
|
|
25859
26155
|
* * `true`: allows auto update of the OS.
|
|
25860
26156
|
* * `false`: does not allow auto update of the OS.
|
|
@@ -25864,7 +26160,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
25864
26160
|
autoUpgradeOs?: boolean;
|
|
25865
26161
|
/**
|
|
25866
26162
|
* @remarks
|
|
25867
|
-
* Specifies whether to
|
|
26163
|
+
* Specifies whether ACK is allowed to automatically update the runtime. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
25868
26164
|
*
|
|
25869
26165
|
* * `true`: allows auto update of the runtime.
|
|
25870
26166
|
* * `false`: does not allow auto update of the runtime.
|
|
@@ -25896,7 +26192,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $te
|
|
|
25896
26192
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
25897
26193
|
/**
|
|
25898
26194
|
* @remarks
|
|
25899
|
-
* Specifies whether to
|
|
26195
|
+
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
25900
26196
|
*
|
|
25901
26197
|
* * `true`: allows node restart.
|
|
25902
26198
|
* * `false`: does not allow node restart.
|
|
@@ -25907,7 +26203,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
25907
26203
|
restartNode?: boolean;
|
|
25908
26204
|
/**
|
|
25909
26205
|
* @remarks
|
|
25910
|
-
* The severity levels of
|
|
26206
|
+
* The severity levels of vulnerabilities that ACK is allowed to automatically patch. Multiple severity levels are separated by commas (,).
|
|
25911
26207
|
*
|
|
25912
26208
|
* @example
|
|
25913
26209
|
* asap,nntf
|
|
@@ -25935,7 +26231,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea
|
|
|
25935
26231
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
25936
26232
|
/**
|
|
25937
26233
|
* @remarks
|
|
25938
|
-
* Specifies whether to enable auto update.
|
|
26234
|
+
* Specifies whether to enable auto update.
|
|
25939
26235
|
*
|
|
25940
26236
|
* * true: enables auto update.
|
|
25941
26237
|
* * false: disables auto update.
|
|
@@ -25950,11 +26246,11 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
25950
26246
|
autoUpgrade?: boolean;
|
|
25951
26247
|
/**
|
|
25952
26248
|
* @remarks
|
|
25953
|
-
* The maximum number of
|
|
26249
|
+
* The maximum number of nodes that can be in the Unavailable state.
|
|
25954
26250
|
*
|
|
25955
26251
|
* Valid values: 1 to 1000.
|
|
25956
26252
|
*
|
|
25957
|
-
* Default value: 1
|
|
26253
|
+
* Default value: 1
|
|
25958
26254
|
*
|
|
25959
26255
|
* @example
|
|
25960
26256
|
* 1
|
|
@@ -25962,9 +26258,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
25962
26258
|
maxUnavailable?: number;
|
|
25963
26259
|
/**
|
|
25964
26260
|
* @remarks
|
|
25965
|
-
* The number of
|
|
26261
|
+
* 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
26262
|
*
|
|
25967
|
-
* > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes
|
|
26263
|
+
* > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes.
|
|
25968
26264
|
*
|
|
25969
26265
|
* @example
|
|
25970
26266
|
* 5
|
|
@@ -25972,7 +26268,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
25972
26268
|
surge?: number;
|
|
25973
26269
|
/**
|
|
25974
26270
|
* @remarks
|
|
25975
|
-
* The percentage of additional nodes
|
|
26271
|
+
* The percentage of additional nodes to the nodes in the node pool. You must set this parameter or `surge`.
|
|
25976
26272
|
*
|
|
25977
26273
|
* @example
|
|
25978
26274
|
* 0
|
|
@@ -26038,7 +26334,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
26038
26334
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
26039
26335
|
/**
|
|
26040
26336
|
* @remarks
|
|
26041
|
-
* Specifies whether
|
|
26337
|
+
* Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
|
|
26042
26338
|
*
|
|
26043
26339
|
* * `true`: enables auto CVE patching.
|
|
26044
26340
|
* * `true`: disables auto CVE patching.
|
|
@@ -26067,7 +26363,7 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
26067
26363
|
enable?: boolean;
|
|
26068
26364
|
/**
|
|
26069
26365
|
* @remarks
|
|
26070
|
-
* The
|
|
26366
|
+
* The configuration of auto update. The configuration takes effect only when `enable=true` is specified.
|
|
26071
26367
|
*
|
|
26072
26368
|
* @deprecated
|
|
26073
26369
|
*/
|
|
@@ -26116,7 +26412,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
|
26116
26412
|
name?: string;
|
|
26117
26413
|
/**
|
|
26118
26414
|
* @remarks
|
|
26119
|
-
* The resource group
|
|
26415
|
+
* The ID of the resource group.
|
|
26120
26416
|
*
|
|
26121
26417
|
* @example
|
|
26122
26418
|
* rg-acfmyvw3wjm****
|
|
@@ -26184,7 +26480,7 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
26184
26480
|
export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
26185
26481
|
/**
|
|
26186
26482
|
* @remarks
|
|
26187
|
-
* The
|
|
26483
|
+
* The instance type of preemptible instances.
|
|
26188
26484
|
*
|
|
26189
26485
|
* @example
|
|
26190
26486
|
* ecs.c6.large
|
|
@@ -26192,7 +26488,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea
|
|
|
26192
26488
|
instanceType?: string;
|
|
26193
26489
|
/**
|
|
26194
26490
|
* @remarks
|
|
26195
|
-
* The price
|
|
26491
|
+
* The maximum bid price of a preemptible instance.
|
|
26196
26492
|
*
|
|
26197
26493
|
* Unit: USD/hour.
|
|
26198
26494
|
*
|
|
@@ -26222,12 +26518,12 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea
|
|
|
26222
26518
|
export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
26223
26519
|
/**
|
|
26224
26520
|
* @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:
|
|
26521
|
+
* 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
26522
|
*
|
|
26227
26523
|
* * `true`: enables auto-renewal.
|
|
26228
26524
|
* * `false`: disables auto-renewal.
|
|
26229
26525
|
*
|
|
26230
|
-
* Default value: `
|
|
26526
|
+
* Default value: `false`.
|
|
26231
26527
|
*
|
|
26232
26528
|
* @example
|
|
26233
26529
|
* true
|
|
@@ -26235,7 +26531,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26235
26531
|
autoRenew?: boolean;
|
|
26236
26532
|
/**
|
|
26237
26533
|
* @remarks
|
|
26238
|
-
* The
|
|
26534
|
+
* The duration of the auto-renewal. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`.
|
|
26239
26535
|
*
|
|
26240
26536
|
* If you specify `PeriodUnit=Month`, the valid values are 1, 2, 3, 6, and 12.
|
|
26241
26537
|
*
|
|
@@ -26245,7 +26541,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26245
26541
|
autoRenewPeriod?: number;
|
|
26246
26542
|
/**
|
|
26247
26543
|
* @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:
|
|
26544
|
+
* 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
26545
|
*
|
|
26250
26546
|
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
26251
26547
|
* * `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 +26552,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26256
26552
|
compensateWithOnDemand?: boolean;
|
|
26257
26553
|
/**
|
|
26258
26554
|
* @remarks
|
|
26259
|
-
* The configurations of the data disks that are mounted to nodes in the node pool.
|
|
26555
|
+
* 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
26556
|
*/
|
|
26261
26557
|
dataDisks?: DataDisk[];
|
|
26262
26558
|
/**
|
|
@@ -26269,7 +26565,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26269
26565
|
desiredSize?: number;
|
|
26270
26566
|
/**
|
|
26271
26567
|
* @remarks
|
|
26272
|
-
* The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported images. By default, the latest image
|
|
26568
|
+
* The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported images. By default, the latest image is used.
|
|
26273
26569
|
*
|
|
26274
26570
|
* @example
|
|
26275
26571
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -26281,7 +26577,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26281
26577
|
*
|
|
26282
26578
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
26283
26579
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
26284
|
-
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
26580
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3.
|
|
26285
26581
|
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
26286
26582
|
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
26287
26583
|
* * `CentOS`: CentOS.
|
|
@@ -26306,15 +26602,19 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26306
26602
|
* PostPaid
|
|
26307
26603
|
*/
|
|
26308
26604
|
instanceChargeType?: string;
|
|
26605
|
+
/**
|
|
26606
|
+
* @remarks
|
|
26607
|
+
* The instance attributes.
|
|
26608
|
+
*/
|
|
26309
26609
|
instancePatterns?: InstancePatterns[];
|
|
26310
26610
|
/**
|
|
26311
26611
|
* @remarks
|
|
26312
|
-
* The instance types
|
|
26612
|
+
* 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
26613
|
*/
|
|
26314
26614
|
instanceTypes?: string[];
|
|
26315
26615
|
/**
|
|
26316
26616
|
* @remarks
|
|
26317
|
-
* The
|
|
26617
|
+
* The billing method of the public IP address. Valid values:
|
|
26318
26618
|
*
|
|
26319
26619
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
26320
26620
|
* * `PayByTraffic`: pay-by-data-transfer.
|
|
@@ -26325,7 +26625,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26325
26625
|
internetChargeType?: string;
|
|
26326
26626
|
/**
|
|
26327
26627
|
* @remarks
|
|
26328
|
-
* The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100.
|
|
26628
|
+
* The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
|
|
26329
26629
|
*
|
|
26330
26630
|
* @example
|
|
26331
26631
|
* 5
|
|
@@ -26351,15 +26651,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26351
26651
|
* @remarks
|
|
26352
26652
|
* The ECS instance scaling policy for the multi-zone scaling group. Valid values:
|
|
26353
26653
|
*
|
|
26354
|
-
* * `PRIORITY`:
|
|
26654
|
+
* * `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
26655
|
*
|
|
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
|
|
26656
|
+
* * `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
26657
|
*
|
|
26358
26658
|
* **
|
|
26359
26659
|
*
|
|
26360
26660
|
* **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
26361
26661
|
*
|
|
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
|
|
26662
|
+
* * `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
26663
|
*
|
|
26364
26664
|
* Default value: `PRIORITY`.
|
|
26365
26665
|
*
|
|
@@ -26385,7 +26685,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26385
26685
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
26386
26686
|
/**
|
|
26387
26687
|
* @remarks
|
|
26388
|
-
* The subscription duration of nodes in the node pool. This parameter takes effect and is required
|
|
26688
|
+
* 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
26689
|
*
|
|
26390
26690
|
* If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
26391
26691
|
*
|
|
@@ -26395,7 +26695,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26395
26695
|
period?: number;
|
|
26396
26696
|
/**
|
|
26397
26697
|
* @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:
|
|
26698
|
+
* 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
26699
|
*
|
|
26400
26700
|
* The billing cycle is measured only in months.
|
|
26401
26701
|
*
|
|
@@ -26451,7 +26751,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26451
26751
|
spotInstancePools?: number;
|
|
26452
26752
|
/**
|
|
26453
26753
|
* @remarks
|
|
26454
|
-
* Specifies whether to supplement preemptible instances. If
|
|
26754
|
+
* 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
26755
|
*
|
|
26456
26756
|
* * `true`: supplements preemptible instances.
|
|
26457
26757
|
* * `false`: does not supplement preemptible instances.
|
|
@@ -26462,7 +26762,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26462
26762
|
spotInstanceRemedy?: boolean;
|
|
26463
26763
|
/**
|
|
26464
26764
|
* @remarks
|
|
26465
|
-
* The instance type of preemptible
|
|
26765
|
+
* The instance type of preemptible instance and the price cap for the instance type.
|
|
26466
26766
|
*/
|
|
26467
26767
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
26468
26768
|
/**
|
|
@@ -26470,10 +26770,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26470
26770
|
* The bidding policy of preemptible instances. Valid values:
|
|
26471
26771
|
*
|
|
26472
26772
|
* * `NoSpot`: non-preemptible instance.
|
|
26473
|
-
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
26773
|
+
* * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
|
|
26474
26774
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
26475
26775
|
*
|
|
26476
|
-
* For more information, see [
|
|
26776
|
+
* For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html).
|
|
26477
26777
|
*
|
|
26478
26778
|
* @example
|
|
26479
26779
|
* SpotWithPriceLimit
|
|
@@ -26481,7 +26781,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26481
26781
|
spotStrategy?: string;
|
|
26482
26782
|
/**
|
|
26483
26783
|
* @remarks
|
|
26484
|
-
* Specifies whether to enable
|
|
26784
|
+
* Specifies whether to enable Burst for the system disk when the disk type is cloud_auto.
|
|
26485
26785
|
*
|
|
26486
26786
|
* @example
|
|
26487
26787
|
* true
|
|
@@ -26489,12 +26789,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26489
26789
|
systemDiskBurstingEnabled?: boolean;
|
|
26490
26790
|
/**
|
|
26491
26791
|
* @remarks
|
|
26492
|
-
* The system disk types. The system
|
|
26792
|
+
* 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
26793
|
*/
|
|
26494
26794
|
systemDiskCategories?: string[];
|
|
26495
26795
|
/**
|
|
26496
26796
|
* @remarks
|
|
26497
|
-
* The system disk
|
|
26797
|
+
* The type of the system disk. Valid values:
|
|
26498
26798
|
*
|
|
26499
26799
|
* * `cloud_efficiency`: ultra disk.
|
|
26500
26800
|
* * `cloud_ssd`: standard SSD.
|
|
@@ -26507,7 +26807,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26507
26807
|
systemDiskCategory?: string;
|
|
26508
26808
|
/**
|
|
26509
26809
|
* @remarks
|
|
26510
|
-
* The encryption algorithm that is used
|
|
26810
|
+
* The encryption algorithm that is used by the system disk. Set the value to aes-256.
|
|
26511
26811
|
*
|
|
26512
26812
|
* @example
|
|
26513
26813
|
* aes-256
|
|
@@ -26531,7 +26831,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26531
26831
|
systemDiskKmsKeyId?: string;
|
|
26532
26832
|
/**
|
|
26533
26833
|
* @remarks
|
|
26534
|
-
* The performance level (PL) of the system disk. This parameter takes effect only for
|
|
26834
|
+
* 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
26835
|
*
|
|
26536
26836
|
* @example
|
|
26537
26837
|
* PL1
|
|
@@ -26539,7 +26839,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26539
26839
|
systemDiskPerformanceLevel?: string;
|
|
26540
26840
|
/**
|
|
26541
26841
|
* @remarks
|
|
26542
|
-
* The
|
|
26842
|
+
* The predefined read and write IOPS of the system disk when the disk type is cloud_auto.
|
|
26543
26843
|
*
|
|
26544
26844
|
* @example
|
|
26545
26845
|
* 1000
|
|
@@ -26547,7 +26847,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26547
26847
|
systemDiskProvisionedIops?: number;
|
|
26548
26848
|
/**
|
|
26549
26849
|
* @remarks
|
|
26550
|
-
* The size of the system disk
|
|
26850
|
+
* The size of the system disk in GiB.
|
|
26551
26851
|
*
|
|
26552
26852
|
* Valid values: 20 to 500.
|
|
26553
26853
|
*
|
|
@@ -26563,12 +26863,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
26563
26863
|
* @remarks
|
|
26564
26864
|
* The labels that you want to add only to ECS instances.
|
|
26565
26865
|
*
|
|
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:
|
|
26866
|
+
* 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
26867
|
*/
|
|
26568
26868
|
tags?: Tag[];
|
|
26569
26869
|
/**
|
|
26570
26870
|
* @remarks
|
|
26571
|
-
* The
|
|
26871
|
+
* The IDs of vSwitches. You can specify 1 to 20 vSwitches.
|
|
26572
26872
|
*
|
|
26573
26873
|
* > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
|
|
26574
26874
|
*/
|
|
@@ -27019,6 +27319,13 @@ export class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
|
27019
27319
|
}
|
|
27020
27320
|
|
|
27021
27321
|
export class UpgradeClusterRequestRollingPolicy extends $tea.Model {
|
|
27322
|
+
/**
|
|
27323
|
+
* @remarks
|
|
27324
|
+
* Maximum number of executions per batch.
|
|
27325
|
+
*
|
|
27326
|
+
* @example
|
|
27327
|
+
* 3
|
|
27328
|
+
*/
|
|
27022
27329
|
maxParallelism?: number;
|
|
27023
27330
|
static names(): { [key: string]: string } {
|
|
27024
27331
|
return {
|
|
@@ -28028,6 +28335,10 @@ export default class Client extends OpenApi {
|
|
|
28028
28335
|
body["login_password"] = request.loginPassword;
|
|
28029
28336
|
}
|
|
28030
28337
|
|
|
28338
|
+
if (!Util.isUnset(request.maintenanceWindow)) {
|
|
28339
|
+
body["maintenance_window"] = request.maintenanceWindow;
|
|
28340
|
+
}
|
|
28341
|
+
|
|
28031
28342
|
if (!Util.isUnset(request.masterAutoRenew)) {
|
|
28032
28343
|
body["master_auto_renew"] = request.masterAutoRenew;
|
|
28033
28344
|
}
|
|
@@ -28104,6 +28415,10 @@ export default class Client extends OpenApi {
|
|
|
28104
28415
|
body["num_of_nodes"] = request.numOfNodes;
|
|
28105
28416
|
}
|
|
28106
28417
|
|
|
28418
|
+
if (!Util.isUnset(request.operationPolicy)) {
|
|
28419
|
+
body["operation_policy"] = request.operationPolicy;
|
|
28420
|
+
}
|
|
28421
|
+
|
|
28107
28422
|
if (!Util.isUnset(request.osType)) {
|
|
28108
28423
|
body["os_type"] = request.osType;
|
|
28109
28424
|
}
|
|
@@ -32350,9 +32665,9 @@ export default class Client extends OpenApi {
|
|
|
32350
32665
|
* 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
32666
|
*
|
|
32352
32667
|
* @remarks
|
|
32353
|
-
* You can
|
|
32354
|
-
* * To
|
|
32355
|
-
* *
|
|
32668
|
+
* 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:
|
|
32669
|
+
* * 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).
|
|
32670
|
+
* * 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
32671
|
* 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
32672
|
*
|
|
32358
32673
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -32389,9 +32704,9 @@ export default class Client extends OpenApi {
|
|
|
32389
32704
|
* 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
32705
|
*
|
|
32391
32706
|
* @remarks
|
|
32392
|
-
* You can
|
|
32393
|
-
* * To
|
|
32394
|
-
* *
|
|
32707
|
+
* 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:
|
|
32708
|
+
* * 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).
|
|
32709
|
+
* * 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
32710
|
* 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
32711
|
*
|
|
32397
32712
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -33602,7 +33917,7 @@ export default class Client extends OpenApi {
|
|
|
33602
33917
|
}
|
|
33603
33918
|
|
|
33604
33919
|
/**
|
|
33605
|
-
*
|
|
33920
|
+
* 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
33921
|
*
|
|
33607
33922
|
* @param headers - map
|
|
33608
33923
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -33627,7 +33942,7 @@ export default class Client extends OpenApi {
|
|
|
33627
33942
|
}
|
|
33628
33943
|
|
|
33629
33944
|
/**
|
|
33630
|
-
*
|
|
33945
|
+
* 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
33946
|
* @returns ScanClusterVulsResponse
|
|
33632
33947
|
*/
|
|
33633
33948
|
async scanClusterVuls(clusterId: string): Promise<ScanClusterVulsResponse> {
|
|
@@ -34457,6 +34772,13 @@ export default class Client extends OpenApi {
|
|
|
34457
34772
|
/**
|
|
34458
34773
|
* You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
34459
34774
|
*
|
|
34775
|
+
* @remarks
|
|
34776
|
+
* 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:
|
|
34777
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
34778
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
34779
|
+
* - [Call ResumeTask to resume a task that has been paused](https://help.aliyun.com/document_detail/2667987.html)
|
|
34780
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
34781
|
+
*
|
|
34460
34782
|
* @param request - UpgradeClusterRequest
|
|
34461
34783
|
* @param headers - map
|
|
34462
34784
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -34506,6 +34828,13 @@ export default class Client extends OpenApi {
|
|
|
34506
34828
|
/**
|
|
34507
34829
|
* You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
34508
34830
|
*
|
|
34831
|
+
* @remarks
|
|
34832
|
+
* 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:
|
|
34833
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
34834
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
34835
|
+
* - [Call ResumeTask to resume a task that has been paused](https://help.aliyun.com/document_detail/2667987.html)
|
|
34836
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
34837
|
+
*
|
|
34509
34838
|
* @param request - UpgradeClusterRequest
|
|
34510
34839
|
* @returns UpgradeClusterResponse
|
|
34511
34840
|
*/
|