@alicloud/cs20151215 4.7.4 → 4.7.5
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 +964 -668
- package/dist/client.js +112 -89
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +983 -669
package/dist/client.d.ts
CHANGED
|
@@ -812,13 +812,6 @@ export declare class CancelComponentUpgradeResponse extends $tea.Model {
|
|
|
812
812
|
});
|
|
813
813
|
}
|
|
814
814
|
export declare class CancelOperationPlanResponseBody extends $tea.Model {
|
|
815
|
-
/**
|
|
816
|
-
* @remarks
|
|
817
|
-
* The request ID.
|
|
818
|
-
*
|
|
819
|
-
* @example
|
|
820
|
-
* 873DC52C-28AA-5A5C-938C-684D3D4B****
|
|
821
|
-
*/
|
|
822
815
|
requestId?: string;
|
|
823
816
|
static names(): {
|
|
824
817
|
[key: string]: string;
|
|
@@ -962,6 +955,8 @@ export declare class CheckControlPlaneLogEnableResponse extends $tea.Model {
|
|
|
962
955
|
export declare class CheckServiceRoleRequest extends $tea.Model {
|
|
963
956
|
/**
|
|
964
957
|
* @remarks
|
|
958
|
+
* The service roles that you want to check.
|
|
959
|
+
*
|
|
965
960
|
* This parameter is required.
|
|
966
961
|
*/
|
|
967
962
|
roles?: CheckServiceRoleRequestRoles[];
|
|
@@ -976,6 +971,10 @@ export declare class CheckServiceRoleRequest extends $tea.Model {
|
|
|
976
971
|
});
|
|
977
972
|
}
|
|
978
973
|
export declare class CheckServiceRoleResponseBody extends $tea.Model {
|
|
974
|
+
/**
|
|
975
|
+
* @remarks
|
|
976
|
+
* The check results.
|
|
977
|
+
*/
|
|
979
978
|
roles?: CheckServiceRoleResponseBodyRoles[];
|
|
980
979
|
static names(): {
|
|
981
980
|
[key: string]: string;
|
|
@@ -1008,8 +1007,8 @@ export declare class CleanClusterUserPermissionsRequest extends $tea.Model {
|
|
|
1008
1007
|
* @remarks
|
|
1009
1008
|
* Specifies whether to forcefully delete the specified kubeconfig files. Valid values:
|
|
1010
1009
|
*
|
|
1011
|
-
* *
|
|
1012
|
-
* *
|
|
1010
|
+
* * false (default): checks the cluster access records within the previous seven days before deleting the kubeconfig files. The kubeconfig files are not deleted if cluster access records are found or fail to be retrieved.
|
|
1011
|
+
* * true: forcefully deletes the kubeconfig files without checking the cluster access records.
|
|
1013
1012
|
*
|
|
1014
1013
|
* @example
|
|
1015
1014
|
* false
|
|
@@ -1144,7 +1143,7 @@ export declare class CleanUserPermissionsResponse extends $tea.Model {
|
|
|
1144
1143
|
export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
1145
1144
|
/**
|
|
1146
1145
|
* @remarks
|
|
1147
|
-
* The waiting time before the auto scaling feature performs a scale-in activity.
|
|
1146
|
+
* The waiting time before the auto scaling feature performs a scale-in activity. It is an interval between the time when the scale-in threshold is reached and the time when the scale-in activity (reduce the number of pods) starts. Unit: minutes. Default value: 10.
|
|
1148
1147
|
*
|
|
1149
1148
|
* @example
|
|
1150
1149
|
* 10 m
|
|
@@ -1152,7 +1151,7 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1152
1151
|
coolDownDuration?: string;
|
|
1153
1152
|
/**
|
|
1154
1153
|
* @remarks
|
|
1155
|
-
* Specifies whether to evict
|
|
1154
|
+
* Specifies whether to evict pods created by DaemonSets when the cluster autoscaler performs a scale-in activity. Valid values:
|
|
1156
1155
|
*
|
|
1157
1156
|
* * `true`: evicts DaemonSet pods.
|
|
1158
1157
|
* * `false`: does not evict DaemonSet pods.
|
|
@@ -1177,13 +1176,15 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1177
1176
|
* @remarks
|
|
1178
1177
|
* The scale-in threshold of GPU utilization. This threshold specifies the ratio of the GPU resources that are requested by pods to the total GPU resources on the node.
|
|
1179
1178
|
*
|
|
1179
|
+
* A scale-in activity is performed only when the CPU utilization, memory utilization, and GPU utilization of a GPU-accelerated node are lower than the scale-in threshold of GPU utilization.
|
|
1180
|
+
*
|
|
1180
1181
|
* @example
|
|
1181
1182
|
* 0.5
|
|
1182
1183
|
*/
|
|
1183
1184
|
gpuUtilizationThreshold?: string;
|
|
1184
1185
|
/**
|
|
1185
1186
|
* @remarks
|
|
1186
|
-
* The maximum amount of time
|
|
1187
|
+
* The maximum amount of time to wait for pods on a node to terminate during a scale-in activity. Unit: seconds.
|
|
1187
1188
|
*
|
|
1188
1189
|
* @example
|
|
1189
1190
|
* 14400s
|
|
@@ -1191,7 +1192,7 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1191
1192
|
maxGracefulTerminationSec?: number;
|
|
1192
1193
|
/**
|
|
1193
1194
|
* @remarks
|
|
1194
|
-
* The minimum number of pods
|
|
1195
|
+
* The minimum number of pods allowed in each ReplicaSet before a scale-in activity is performed.
|
|
1195
1196
|
*
|
|
1196
1197
|
* @example
|
|
1197
1198
|
* 0
|
|
@@ -1199,7 +1200,10 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1199
1200
|
minReplicaCount?: number;
|
|
1200
1201
|
/**
|
|
1201
1202
|
* @remarks
|
|
1202
|
-
* Specifies whether to delete the corresponding Kubernetes node objects after nodes are removed in swift mode.
|
|
1203
|
+
* Specifies whether to delete the corresponding Kubernetes node objects after nodes are removed in swift mode. For more information about the swift mode, see [Scaling mode](https://help.aliyun.com/document_detail/119099.html). Default value: false. Valid values:
|
|
1204
|
+
*
|
|
1205
|
+
* * `true`: deletes the corresponding Kubernetes node objects after nodes are removed in swift mode. We recommend that you do not set the value to true because data inconsistency may occur in Kubernetes objects.
|
|
1206
|
+
* * `false`: retains the corresponding Kubernetes node objects after nodes are removed in swift mode.
|
|
1203
1207
|
*
|
|
1204
1208
|
* @example
|
|
1205
1209
|
* false
|
|
@@ -1218,7 +1222,10 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1218
1222
|
scaleDownEnabled?: boolean;
|
|
1219
1223
|
/**
|
|
1220
1224
|
* @remarks
|
|
1221
|
-
* Specifies whether the cluster autoscaler performs scale-out
|
|
1225
|
+
* Specifies whether the cluster autoscaler performs a scale-out activity when the number of ready nodes in the cluster is 0. Default value: true. Valid values:
|
|
1226
|
+
*
|
|
1227
|
+
* * `true`: performs a scale-out activity.
|
|
1228
|
+
* * `false`: does not perform a scale-out activity.
|
|
1222
1229
|
*
|
|
1223
1230
|
* @example
|
|
1224
1231
|
* true
|
|
@@ -1226,7 +1233,7 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1226
1233
|
scaleUpFromZero?: boolean;
|
|
1227
1234
|
/**
|
|
1228
1235
|
* @remarks
|
|
1229
|
-
* The interval at which the
|
|
1236
|
+
* The interval at which the system scans for events that trigger scaling activities. Unit: seconds. Default value: 60.
|
|
1230
1237
|
*
|
|
1231
1238
|
* @example
|
|
1232
1239
|
* 30s
|
|
@@ -1234,7 +1241,7 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1234
1241
|
scanInterval?: string;
|
|
1235
1242
|
/**
|
|
1236
1243
|
* @remarks
|
|
1237
|
-
* Specifies whether
|
|
1244
|
+
* Specifies whether the cluster autoscaler scales in nodes that host pods mounted with local volumes, such as EmptyDir or HostPath volumes. Valid values:
|
|
1238
1245
|
*
|
|
1239
1246
|
* * `true`: does not allow the cluster autoscaler to scale in these nodes.
|
|
1240
1247
|
* * `false`: allows the cluster autoscaler to scale in these nodes.
|
|
@@ -1245,7 +1252,7 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1245
1252
|
skipNodesWithLocalStorage?: boolean;
|
|
1246
1253
|
/**
|
|
1247
1254
|
* @remarks
|
|
1248
|
-
* Specifies whether
|
|
1255
|
+
* Specifies whether the cluster autoscaler scales in nodes that host pods in the kube-system namespace. This parameter does not take effect on pods created by DaemonSets and mirror pods. Valid values:
|
|
1249
1256
|
*
|
|
1250
1257
|
* * `true`: does not allow the cluster autoscaler to scale in these nodes.
|
|
1251
1258
|
* * `false`: allows the cluster autoscaler to scale in these nodes.
|
|
@@ -1256,7 +1263,7 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1256
1263
|
skipNodesWithSystemPods?: boolean;
|
|
1257
1264
|
/**
|
|
1258
1265
|
* @remarks
|
|
1259
|
-
* The cooldown period. Newly added nodes can be removed in scale-in activities only after the cooldown period ends. Unit: minutes.
|
|
1266
|
+
* The cooldown period. After the autoscaler performs a scale-out activity, the autoscaler waits a cooldown period before it can perform a scale-in activity. Newly added nodes can be removed in scale-in activities only after the cooldown period ends. Unit: minutes.
|
|
1260
1267
|
*
|
|
1261
1268
|
* @example
|
|
1262
1269
|
* 10 m
|
|
@@ -1266,6 +1273,8 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1266
1273
|
* @remarks
|
|
1267
1274
|
* The scale-in threshold. This threshold specifies the ratio of the resources that are requested by pods to the total resources on the node.
|
|
1268
1275
|
*
|
|
1276
|
+
* A scale-in activity is performed only when the CPU utilization and memory utilization of a node are lower than the scale-in threshold.
|
|
1277
|
+
*
|
|
1269
1278
|
* @example
|
|
1270
1279
|
* 0.5
|
|
1271
1280
|
*/
|
|
@@ -1298,56 +1307,66 @@ export declare class CreateAutoscalingConfigResponse extends $tea.Model {
|
|
|
1298
1307
|
export declare class CreateClusterRequest extends $tea.Model {
|
|
1299
1308
|
/**
|
|
1300
1309
|
* @remarks
|
|
1301
|
-
* The access control list (ACL)
|
|
1310
|
+
* The network access control list (ACL) of the SLB instance associated with the API server if the cluster is a registered cluster.
|
|
1302
1311
|
*/
|
|
1303
1312
|
accessControlList?: string[];
|
|
1304
1313
|
/**
|
|
1305
1314
|
* @remarks
|
|
1306
|
-
* The components that you want to install in the cluster. When you create a cluster, you can configure the `addons` parameter to
|
|
1315
|
+
* The components that you want to install in the cluster. When you create a cluster, you can configure the `addons` parameter to specify the components that you want to install.
|
|
1307
1316
|
*
|
|
1308
1317
|
* **Network plug-in**: required. The Flannel and Terway plug-ins are supported. Select one of the plug-ins for the cluster.
|
|
1309
1318
|
*
|
|
1310
|
-
* *
|
|
1311
|
-
* *
|
|
1319
|
+
* * If you want to use the Terway component, specify the network plug-in in the [{"name":"flannel","config":""}] format.
|
|
1320
|
+
* * If you want to use the Terway component, specify the value network plug-in in the [{"Name": "terway-eniip","Config": ""}] format.
|
|
1312
1321
|
*
|
|
1313
|
-
* **Volume plug-in**: optional. Only the `CSI` plug-in is supported.
|
|
1322
|
+
* **Volume plug-in**: optional. Only the `Container Storage Interface (CSI)` plug-in is supported.
|
|
1314
1323
|
*
|
|
1315
1324
|
* Specify the `CSI` plug-in in the following format: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
|
|
1316
1325
|
*
|
|
1317
1326
|
* **Simple Log Service component**: optional. We recommend that you enable Simple Log Service. If Simple Log Service is disabled, you cannot use the cluster auditing feature.
|
|
1318
1327
|
*
|
|
1319
|
-
* *
|
|
1320
|
-
* * To create a `Simple Log Service project`, specify the
|
|
1328
|
+
* * Specify an existing `Simple Log Service project` in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true","sls_project_name":"your_sls_project_name"}"}].
|
|
1329
|
+
* * To create a `Simple Log Service project`, specify the component in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true"}"}].
|
|
1321
1330
|
*
|
|
1322
1331
|
* **Ingress controller**: optional. By default, the `nginx-ingress-controller` component is installed in ACK dedicated clusters.
|
|
1323
1332
|
*
|
|
1324
|
-
* * To install nginx-ingress-controller and enable Internet access, specify the
|
|
1325
|
-
* * To disable the
|
|
1333
|
+
* * To install nginx-ingress-controller and enable Internet access, specify the Ingress controller in the following format: [{"name":"nginx-ingress-controller","config":"{"IngressSlbNetworkType":"internet"}"}].
|
|
1334
|
+
* * To disable the automatic installation of nginx-ingress-controller, specify the Ingress controller in the following format: [{"name": "nginx-ingress-controller","config": "","disabled": true}].
|
|
1326
1335
|
*
|
|
1327
1336
|
* **Event center**: optional. By default, the event center feature is enabled.
|
|
1328
1337
|
*
|
|
1329
|
-
* You can use
|
|
1338
|
+
* You can use ACK event centers to store and query events and configure alerts. You can use the Logstores that are associated with ACK event centers free of charge within 90 days. For more information, see [Create and use an event center](https://help.aliyun.com/document_detail/150476.html).
|
|
1330
1339
|
*
|
|
1331
|
-
* To enable the
|
|
1340
|
+
* To enable the event center feature, specify the event center component in the following format: [{"name":"ack-node-problem-detector","config":"{"sls_project_name":"your_sls_project_name"}"}].
|
|
1332
1341
|
*/
|
|
1333
1342
|
addons?: Addon[];
|
|
1334
1343
|
/**
|
|
1335
1344
|
* @remarks
|
|
1336
|
-
* Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. `api-audiences`
|
|
1345
|
+
* Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. The `api-audiences` parameter validates `tokens` and is used by the `API server` to check whether the `tokens` of requests are valid. Separate multiple values with commas (,).``
|
|
1337
1346
|
*
|
|
1338
|
-
* For more information about `
|
|
1347
|
+
* For more information about `service accounts`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
1339
1348
|
*
|
|
1340
1349
|
* @example
|
|
1341
1350
|
* kubernetes.default.svc
|
|
1342
1351
|
*/
|
|
1343
1352
|
apiAudiences?: string;
|
|
1353
|
+
/**
|
|
1354
|
+
* @example
|
|
1355
|
+
* true
|
|
1356
|
+
*/
|
|
1357
|
+
autoRenew?: boolean;
|
|
1358
|
+
/**
|
|
1359
|
+
* @example
|
|
1360
|
+
* 1
|
|
1361
|
+
*/
|
|
1362
|
+
autoRenewPeriod?: number;
|
|
1344
1363
|
/**
|
|
1345
1364
|
* @remarks
|
|
1346
1365
|
* The billing method of the cluster. The following resources are billed on a subscription basis:
|
|
1347
1366
|
*
|
|
1348
1367
|
* ECS instances in node pools.
|
|
1349
1368
|
*
|
|
1350
|
-
* The internal-facing SLB instance
|
|
1369
|
+
* The internal-facing SLB instance associated with the API server.
|
|
1351
1370
|
*
|
|
1352
1371
|
* Valid values:
|
|
1353
1372
|
*
|
|
@@ -1363,9 +1382,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1363
1382
|
chargeType?: string;
|
|
1364
1383
|
/**
|
|
1365
1384
|
* @remarks
|
|
1366
|
-
*
|
|
1367
|
-
*
|
|
1368
|
-
* Please replace this parameter with security_hardening_os.
|
|
1385
|
+
* This parameter is deprecated. Use security_hardening_os instead.
|
|
1369
1386
|
*
|
|
1370
1387
|
* @example
|
|
1371
1388
|
* false
|
|
@@ -1398,10 +1415,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1398
1415
|
clusterDomain?: string;
|
|
1399
1416
|
/**
|
|
1400
1417
|
* @remarks
|
|
1401
|
-
* After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition
|
|
1418
|
+
* After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the cluster edition. Valid values:
|
|
1402
1419
|
*
|
|
1403
|
-
* * `ack.pro.small`: Pro.
|
|
1404
|
-
* * `ack.standard`: Basic. If you leave the parameter empty,
|
|
1420
|
+
* * `ack.pro.small`: Pro Edition.
|
|
1421
|
+
* * `ack.standard`: Basic Edition. If you leave the parameter empty, an ACK Basic cluster is created.
|
|
1405
1422
|
*
|
|
1406
1423
|
* @example
|
|
1407
1424
|
* ack.pro.small
|
|
@@ -1410,7 +1427,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1410
1427
|
/**
|
|
1411
1428
|
* @remarks
|
|
1412
1429
|
* * `Kubernetes`: ACK dedicated cluster.
|
|
1413
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters (Basic and Pro), ACK Edge clusters (Basic and Pro), and ACK Lingjun clusters (Pro).
|
|
1430
|
+
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters (Basic Edition and Pro Edition), ACK Edge clusters (Basic Edition and Pro Edition), and ACK Lingjun clusters (Pro Edition).
|
|
1414
1431
|
* * `ExternalKubernetes`: registered cluster.
|
|
1415
1432
|
*
|
|
1416
1433
|
* This parameter is required.
|
|
@@ -1421,11 +1438,11 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1421
1438
|
clusterType?: string;
|
|
1422
1439
|
/**
|
|
1423
1440
|
* @remarks
|
|
1424
|
-
* The CIDR block
|
|
1441
|
+
* The pod CIDR block. You can specify 10.0.0.0/8, 172.16-31.0.0/12-16, 192.168.0.0/16, or their subnets as the pod CIDR block. The pod CIDR block cannot overlap with the CIDR block of the VPC in which the cluster is deployed and the CIDR blocks of existing clusters in the VPC. You cannot modify the pod CIDR block after you create the cluster.
|
|
1425
1442
|
*
|
|
1426
|
-
* For more information about
|
|
1443
|
+
* For more information about how to plan the network of an ACK cluster, see [Plan the network of an ACK cluster](https://help.aliyun.com/document_detail/86500.html).
|
|
1427
1444
|
*
|
|
1428
|
-
* > This parameter is required if the cluster uses
|
|
1445
|
+
* > This parameter is required if the cluster uses the Flannel plug-in.
|
|
1429
1446
|
*
|
|
1430
1447
|
* @example
|
|
1431
1448
|
* 172.20.0.0/16
|
|
@@ -1435,7 +1452,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1435
1452
|
* @remarks
|
|
1436
1453
|
* The list of control plane components for which you want to enable log collection.
|
|
1437
1454
|
*
|
|
1438
|
-
* By default, the
|
|
1455
|
+
* By default, the logs of kube-apiserver, kube-controller-manager, and kube-scheduler are collected.
|
|
1439
1456
|
*/
|
|
1440
1457
|
controlplaneLogComponents?: string[];
|
|
1441
1458
|
/**
|
|
@@ -1456,7 +1473,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1456
1473
|
controlplaneLogTtl?: string;
|
|
1457
1474
|
/**
|
|
1458
1475
|
* @remarks
|
|
1459
|
-
* The CPU management policy of
|
|
1476
|
+
* The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
1460
1477
|
*
|
|
1461
1478
|
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
1462
1479
|
* * `none`: specifies that the default CPU affinity is used.
|
|
@@ -1469,7 +1486,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1469
1486
|
cpuPolicy?: string;
|
|
1470
1487
|
/**
|
|
1471
1488
|
* @remarks
|
|
1472
|
-
*
|
|
1489
|
+
* The custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. Separate multiple IP addresses and domain names with commas (,).
|
|
1473
1490
|
*
|
|
1474
1491
|
* @example
|
|
1475
1492
|
* cs.aliyun.com
|
|
@@ -1477,10 +1494,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1477
1494
|
customSan?: string;
|
|
1478
1495
|
/**
|
|
1479
1496
|
* @remarks
|
|
1480
|
-
* Specifies whether to enable cluster deletion protection. If this option is enabled, the cluster cannot be deleted in the console or by calling API operations. Valid values:
|
|
1497
|
+
* Specifies whether to enable cluster deletion protection. If this option is enabled, the cluster cannot be deleted in the ACK console or by calling API operations. Valid values:
|
|
1481
1498
|
*
|
|
1482
|
-
* * `true`: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the
|
|
1483
|
-
* * `false`: disables deletion protection for the cluster. This way, the cluster can be deleted in the
|
|
1499
|
+
* * `true`: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the ACK console or by calling API operations.
|
|
1500
|
+
* * `false`: disables deletion protection for the cluster. This way, the cluster can be deleted in the ACK console or by calling API operations.
|
|
1484
1501
|
*
|
|
1485
1502
|
* Default value: `false`.
|
|
1486
1503
|
*
|
|
@@ -1490,10 +1507,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1490
1507
|
deletionProtection?: boolean;
|
|
1491
1508
|
/**
|
|
1492
1509
|
* @remarks
|
|
1493
|
-
* Specifies whether to perform a rollback
|
|
1510
|
+
* Specifies whether to perform a rollback when the cluster fails to be created. Valid values:
|
|
1494
1511
|
*
|
|
1495
|
-
* * `true`: performs a rollback
|
|
1496
|
-
* * `false`: does not perform a rollback
|
|
1512
|
+
* * `true`: performs a rollback when the cluster fails to be created.
|
|
1513
|
+
* * `false`: does not perform a rollback when the cluster fails to be created.
|
|
1497
1514
|
*
|
|
1498
1515
|
* Default value: `true`.
|
|
1499
1516
|
*
|
|
@@ -1513,7 +1530,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1513
1530
|
enableRrsa?: boolean;
|
|
1514
1531
|
/**
|
|
1515
1532
|
* @remarks
|
|
1516
|
-
* The ID of
|
|
1533
|
+
* The ID of the Key Management Service (KMS) key that is used to encrypt the system disk. For more information, see [What is KMS?](https://help.aliyun.com/document_detail/28935.html)
|
|
1517
1534
|
*
|
|
1518
1535
|
* > The key can be used only in ACK Pro clusters.
|
|
1519
1536
|
*
|
|
@@ -1525,8 +1542,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1525
1542
|
* @remarks
|
|
1526
1543
|
* Specifies whether to enable Internet access for the cluster. You can use an elastic IP address (EIP) to expose the API server. This way, you can access the cluster over the Internet. Valid values:
|
|
1527
1544
|
*
|
|
1528
|
-
* * `true`: enables Internet access.
|
|
1529
|
-
* * `false`: disables Internet access. If you set
|
|
1545
|
+
* * `true`: enables Internet access for the cluster.
|
|
1546
|
+
* * `false`: disables Internet access for the cluster. If you set the value to false, the API server cannot be accessed over the Internet.
|
|
1530
1547
|
*
|
|
1531
1548
|
* Default value: `false`.
|
|
1532
1549
|
*
|
|
@@ -1538,7 +1555,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1538
1555
|
* @remarks
|
|
1539
1556
|
* Specifies whether to mount a data disk to a node that is created based on an existing ECS instance. Valid values:
|
|
1540
1557
|
*
|
|
1541
|
-
* * `true`: stores the data of containers and images on a data disk.
|
|
1558
|
+
* * `true`: stores the data of containers and images on a data disk. The existing data stored on the data disk is lost. Back up the existing data first.
|
|
1542
1559
|
* * `false`: does not store the data of containers and images on a data disk.
|
|
1543
1560
|
*
|
|
1544
1561
|
* Default value: `false`.
|
|
@@ -1554,7 +1571,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1554
1571
|
formatDisk?: boolean;
|
|
1555
1572
|
/**
|
|
1556
1573
|
* @remarks
|
|
1557
|
-
*
|
|
1574
|
+
* The custom image. By default, the image provided by ACK is used. You can select a custom image to replace the default image. For more information, see [Use a custom image to create an ACK cluster](https://help.aliyun.com/document_detail/146647.html).
|
|
1558
1575
|
*
|
|
1559
1576
|
* @example
|
|
1560
1577
|
* m-bp16z7xko3vvv8gt****
|
|
@@ -1582,9 +1599,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1582
1599
|
imageType?: string;
|
|
1583
1600
|
/**
|
|
1584
1601
|
* @remarks
|
|
1585
|
-
* The
|
|
1602
|
+
* The existing ECS instances that are specified as worker nodes for the cluster.
|
|
1586
1603
|
*
|
|
1587
|
-
* > This parameter is required
|
|
1604
|
+
* > This parameter is required if you create worker nodes on existing ECS instances.
|
|
1588
1605
|
*/
|
|
1589
1606
|
instances?: string[];
|
|
1590
1607
|
/**
|
|
@@ -1598,9 +1615,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1598
1615
|
ipStack?: string;
|
|
1599
1616
|
/**
|
|
1600
1617
|
* @remarks
|
|
1601
|
-
* Specifies whether to create an advanced security group. This parameter takes effect only if `security_group_id` is
|
|
1618
|
+
* Specifies whether to create an advanced security group. This parameter takes effect only if `security_group_id` is not specified.
|
|
1602
1619
|
*
|
|
1603
|
-
* > To use a basic security group, make sure that the sum of the number of nodes in the cluster and the number of pods that use Terway does not exceed 2,000. Therefore, we recommend that you specify an advanced security group for a cluster that
|
|
1620
|
+
* > To use a basic security group, make sure that the sum of the number of nodes in the cluster and the number of pods that use Terway does not exceed 2,000. Therefore, we recommend that you specify an advanced security group for a cluster that uses Terway.
|
|
1604
1621
|
*
|
|
1605
1622
|
* * `true`: creates an advanced security group.
|
|
1606
1623
|
* * `false`: does not create an advanced security group.
|
|
@@ -1626,7 +1643,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1626
1643
|
keepInstanceName?: boolean;
|
|
1627
1644
|
/**
|
|
1628
1645
|
* @remarks
|
|
1629
|
-
* The name of the key pair. You must
|
|
1646
|
+
* The name of the key pair. You must specify this parameter or the `login_password` parameter.
|
|
1630
1647
|
*
|
|
1631
1648
|
* @example
|
|
1632
1649
|
* secrity-key
|
|
@@ -1634,14 +1651,18 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1634
1651
|
keyPair?: string;
|
|
1635
1652
|
/**
|
|
1636
1653
|
* @remarks
|
|
1637
|
-
* The Kubernetes version of the cluster. The Kubernetes versions supported by ACK are the same as the Kubernetes versions supported by open source Kubernetes. We recommend that you specify the latest Kubernetes version. If you do not
|
|
1654
|
+
* The Kubernetes version of the cluster. The Kubernetes versions supported by ACK are the same as the Kubernetes versions supported by open source Kubernetes. We recommend that you specify the latest Kubernetes version. If you do not specify this parameter, the latest Kubernetes version is used.
|
|
1638
1655
|
*
|
|
1639
|
-
* You can create clusters of the latest two Kubernetes versions in the ACK console. If you want to create clusters that run earlier Kubernetes versions, use the API. For more information about the Kubernetes versions supported by ACK, see [
|
|
1656
|
+
* You can create clusters of the latest two Kubernetes versions in the ACK console. If you want to create clusters that run earlier Kubernetes versions, use the ACK API. For more information about the Kubernetes versions supported by ACK, see [Support for Kubernetes versions](https://help.aliyun.com/document_detail/185269.html).
|
|
1640
1657
|
*
|
|
1641
1658
|
* @example
|
|
1642
1659
|
* 1.16.9-aliyun.1
|
|
1643
1660
|
*/
|
|
1644
1661
|
kubernetesVersion?: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* @example
|
|
1664
|
+
* lb-wz9t256gqa3vbouk****
|
|
1665
|
+
*/
|
|
1645
1666
|
loadBalancerId?: string;
|
|
1646
1667
|
/**
|
|
1647
1668
|
* @remarks
|
|
@@ -1662,7 +1683,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1662
1683
|
loadBalancerSpec?: string;
|
|
1663
1684
|
/**
|
|
1664
1685
|
* @remarks
|
|
1665
|
-
* Enables Simple Log Service for the cluster. This parameter takes effect only
|
|
1686
|
+
* Enables Simple Log Service for the cluster. This parameter takes effect only for ACK Serverless clusters. Valid value: `SLS`.
|
|
1666
1687
|
*
|
|
1667
1688
|
* @example
|
|
1668
1689
|
* SLS
|
|
@@ -1670,7 +1691,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1670
1691
|
loggingType?: string;
|
|
1671
1692
|
/**
|
|
1672
1693
|
* @remarks
|
|
1673
|
-
* The password for SSH logon. You must
|
|
1694
|
+
* The password for SSH logon. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1674
1695
|
*
|
|
1675
1696
|
* @example
|
|
1676
1697
|
* Hello@1234
|
|
@@ -1678,7 +1699,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1678
1699
|
loginPassword?: string;
|
|
1679
1700
|
/**
|
|
1680
1701
|
* @remarks
|
|
1681
|
-
* Specifies whether to enable auto-renewal for master nodes. This parameter takes effect only
|
|
1702
|
+
* 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:
|
|
1682
1703
|
*
|
|
1683
1704
|
* * `true`: enables auto-renewal.
|
|
1684
1705
|
* * `false`: disables auto-renewal.
|
|
@@ -1691,7 +1712,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1691
1712
|
masterAutoRenew?: boolean;
|
|
1692
1713
|
/**
|
|
1693
1714
|
* @remarks
|
|
1694
|
-
* The
|
|
1715
|
+
* The auto-renewal duration. This parameter takes effect and is required only when the subscription billing method is selected for master nodes.
|
|
1695
1716
|
*
|
|
1696
1717
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
1697
1718
|
*
|
|
@@ -1716,7 +1737,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1716
1737
|
* The billing method of master nodes. Valid values:
|
|
1717
1738
|
*
|
|
1718
1739
|
* * `PrePaid`: subscription.
|
|
1719
|
-
* * `PostPaid`: pay-as-you-go.
|
|
1740
|
+
* * `PostPaid`: the pay-as-you-go.
|
|
1720
1741
|
*
|
|
1721
1742
|
* Default value: `PostPaid`.
|
|
1722
1743
|
*
|
|
@@ -1731,7 +1752,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1731
1752
|
masterInstanceTypes?: string[];
|
|
1732
1753
|
/**
|
|
1733
1754
|
* @remarks
|
|
1734
|
-
* The subscription duration of master nodes. This parameter takes effect and is required only
|
|
1755
|
+
* The subscription duration of master nodes. This parameter takes effect and is required only when `master_instance_charge_type` is set to `PrePaid`.
|
|
1735
1756
|
*
|
|
1736
1757
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1737
1758
|
*
|
|
@@ -1743,9 +1764,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1743
1764
|
masterPeriod?: number;
|
|
1744
1765
|
/**
|
|
1745
1766
|
* @remarks
|
|
1746
|
-
* The billing cycle of master nodes. This parameter is required if master_instance_charge_type is set to `PrePaid`.
|
|
1767
|
+
* The billing cycle of the master nodes in the cluster. This parameter is required if master_instance_charge_type is set to `PrePaid`.
|
|
1747
1768
|
*
|
|
1748
|
-
*
|
|
1769
|
+
* Valid value: `Month`, which indicates that master nodes are billed only on a monthly basis.
|
|
1749
1770
|
*
|
|
1750
1771
|
* @example
|
|
1751
1772
|
* Month
|
|
@@ -1753,11 +1774,11 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1753
1774
|
masterPeriodUnit?: string;
|
|
1754
1775
|
/**
|
|
1755
1776
|
* @remarks
|
|
1756
|
-
* The
|
|
1777
|
+
* The system disk type of master nodes. Valid values:
|
|
1757
1778
|
*
|
|
1758
1779
|
* * `cloud_efficiency`: ultra disk.
|
|
1759
1780
|
* * `cloud_ssd`: standard SSD.
|
|
1760
|
-
* * `cloud_essd`:
|
|
1781
|
+
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
1761
1782
|
*
|
|
1762
1783
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
1763
1784
|
*
|
|
@@ -1775,7 +1796,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1775
1796
|
masterSystemDiskPerformanceLevel?: string;
|
|
1776
1797
|
/**
|
|
1777
1798
|
* @remarks
|
|
1778
|
-
* The
|
|
1799
|
+
* The system disk size of master nodes. Valid values: 40 to 500. Unit: GiB.
|
|
1779
1800
|
*
|
|
1780
1801
|
* Default value: `120`.
|
|
1781
1802
|
*
|
|
@@ -1795,12 +1816,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1795
1816
|
* @remarks
|
|
1796
1817
|
* The IDs of the vSwitches that are specified for master nodes. You can specify up to three vSwitches. We recommend that you specify three vSwitches in different zones to ensure high availability.
|
|
1797
1818
|
*
|
|
1798
|
-
* The number of vSwitches must be the same as
|
|
1819
|
+
* The number of vSwitches must be the same as the value of the `master_count` parameter and also the same as the number of vSwitches specified in the `master_vswitch_ids` parameter.
|
|
1799
1820
|
*/
|
|
1800
1821
|
masterVswitchIds?: string[];
|
|
1801
1822
|
/**
|
|
1802
1823
|
* @remarks
|
|
1803
|
-
* The name
|
|
1824
|
+
* The cluster name.
|
|
1804
1825
|
*
|
|
1805
1826
|
* The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
|
|
1806
1827
|
*
|
|
@@ -1812,10 +1833,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1812
1833
|
name?: string;
|
|
1813
1834
|
/**
|
|
1814
1835
|
* @remarks
|
|
1815
|
-
* Specifies whether to create a NAT gateway and configure SNAT rules
|
|
1836
|
+
* Specifies whether to create a NAT gateway and configure SNAT rules if you create an ACK Serverless cluster. Valid values:
|
|
1816
1837
|
*
|
|
1817
1838
|
* * `true`: automatically creates a NAT gateway and configures SNAT rules. This enables Internet access for the VPC in which the cluster is deployed.
|
|
1818
|
-
* * `false`: does not create a NAT gateway or configure SNAT rules.
|
|
1839
|
+
* * `false`: does not create a NAT gateway or configure SNAT rules. If you specify this value, the cluster in the VPC cannot access the Internet.
|
|
1819
1840
|
*
|
|
1820
1841
|
* Default value: `false`.
|
|
1821
1842
|
*
|
|
@@ -1825,7 +1846,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1825
1846
|
natGateway?: boolean;
|
|
1826
1847
|
/**
|
|
1827
1848
|
* @remarks
|
|
1828
|
-
* The maximum number of IP addresses that can be assigned to
|
|
1849
|
+
* The maximum number of IP addresses that can be assigned to each node. This number is determined by the subnet mask of the specified CIDR block. This parameter takes effect only if the cluster uses the Flannel plug-in.
|
|
1829
1850
|
*
|
|
1830
1851
|
* Default value: `26`.
|
|
1831
1852
|
*
|
|
@@ -1835,14 +1856,14 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1835
1856
|
nodeCidrMask?: string;
|
|
1836
1857
|
/**
|
|
1837
1858
|
* @remarks
|
|
1838
|
-
* The
|
|
1859
|
+
* The custom node name.
|
|
1839
1860
|
*
|
|
1840
|
-
* A node name consists of a prefix,
|
|
1861
|
+
* A custom node name consists of a prefix, a node IP address, and a suffix.
|
|
1841
1862
|
*
|
|
1842
1863
|
* * The prefix and suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-), and must start and end with a lowercase letter or digit.
|
|
1843
1864
|
* * The IP substring length specifies the number of digits to be truncated from the end of the node IP address. The IP substring length ranges from 5 to 12.
|
|
1844
1865
|
*
|
|
1845
|
-
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name will
|
|
1866
|
+
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name will aliyun.com00055test.
|
|
1846
1867
|
*
|
|
1847
1868
|
* @example
|
|
1848
1869
|
* aliyun.com00055test
|
|
@@ -1888,7 +1909,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1888
1909
|
osType?: string;
|
|
1889
1910
|
/**
|
|
1890
1911
|
* @remarks
|
|
1891
|
-
* The subscription duration. This parameter takes effect and is required only
|
|
1912
|
+
* The subscription duration of the instance. This parameter takes effect and is required only when you set charge_type to PrePaid.
|
|
1892
1913
|
*
|
|
1893
1914
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1894
1915
|
*
|
|
@@ -1902,7 +1923,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1902
1923
|
* @remarks
|
|
1903
1924
|
* The billing cycle. This parameter is required if charge_type is set to PrePaid.
|
|
1904
1925
|
*
|
|
1905
|
-
* Set the value to Month.
|
|
1926
|
+
* Set the value to Month. Subscription clusters are billed only on a monthly basis.
|
|
1906
1927
|
*
|
|
1907
1928
|
* @example
|
|
1908
1929
|
* Month
|
|
@@ -1910,7 +1931,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1910
1931
|
periodUnit?: string;
|
|
1911
1932
|
/**
|
|
1912
1933
|
* @remarks
|
|
1913
|
-
* The OS distribution. Valid values:
|
|
1934
|
+
* The OS distribution that is used. Valid values:
|
|
1914
1935
|
*
|
|
1915
1936
|
* * CentOS
|
|
1916
1937
|
* * AliyunLinux
|
|
@@ -1927,9 +1948,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1927
1948
|
platform?: string;
|
|
1928
1949
|
/**
|
|
1929
1950
|
* @remarks
|
|
1930
|
-
*
|
|
1951
|
+
* If you select Terway as the network plug-in, you must allocate vSwitches to pods. For each vSwitch that allocates IP addresses to worker nodes, you must select a vSwitch in the same zone to allocate IP addresses to pods.
|
|
1931
1952
|
*
|
|
1932
|
-
* > The
|
|
1953
|
+
* > We recommend that you select pod vSwitches whose subnet masks that do not exceed 19 bits in length. The maximum subnet mask length of a pod vSwitch is 25 bits. If you select a pod vSwitch whose subnet mask exceeds 25 bits in length, the IP addresses that can be allocated to pods may be insufficient.
|
|
1933
1954
|
*/
|
|
1934
1955
|
podVswitchIds?: string[];
|
|
1935
1956
|
/**
|
|
@@ -1949,8 +1970,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1949
1970
|
* @remarks
|
|
1950
1971
|
* The kube-proxy mode. Valid values:
|
|
1951
1972
|
*
|
|
1952
|
-
* * `iptables`:
|
|
1953
|
-
* * `ipvs`: provides high performance and uses IP Virtual Server (IPVS)
|
|
1973
|
+
* * `iptables`: a mature and stable mode that uses iptables rules to conduct service discovery and load balancing. The performance of this mode is limited by the size of the cluster. This mode is suitable for clusters that run a small number of Services.
|
|
1974
|
+
* * `ipvs`: a mode that provides high performance and uses IP Virtual Server (IPVS) to conduct service discovery and load balancing. This mode is suitable for clusters that run a large number of Services. We recommend that you use this mode in scenarios that require high-performance load balancing.
|
|
1954
1975
|
*
|
|
1955
1976
|
* Default value: `ipvs`.
|
|
1956
1977
|
*
|
|
@@ -1960,12 +1981,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1960
1981
|
proxyMode?: string;
|
|
1961
1982
|
/**
|
|
1962
1983
|
* @remarks
|
|
1963
|
-
* The
|
|
1984
|
+
* The ApsaraDB RDS instances. The pod CIDR block and node CIDR block are added to the whitelists of the ApsaraDB RDS instances. We recommend that you add the pod CIDR block and node CIDR block to the whitelists of the ApsaraDB RDS instances in the ApsaraDB RDS console. If the RDS instances are not in the Running state, new nodes cannot be added to the cluster.
|
|
1964
1985
|
*/
|
|
1965
1986
|
rdsInstances?: string[];
|
|
1966
1987
|
/**
|
|
1967
1988
|
* @remarks
|
|
1968
|
-
* The ID of the region in which
|
|
1989
|
+
* The ID of the region in which the cluster is deployed.
|
|
1969
1990
|
*
|
|
1970
1991
|
* This parameter is required.
|
|
1971
1992
|
*
|
|
@@ -1985,12 +2006,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1985
2006
|
* @remarks
|
|
1986
2007
|
* The container runtime. The default container runtime is Docker. containerd and Sandboxed-Container are also supported.
|
|
1987
2008
|
*
|
|
1988
|
-
* For more information about how to select a proper container runtime, see [
|
|
2009
|
+
* For more information about how to select a proper container runtime, see [Comparison among Docker, containerd, and Sandboxed-Container](https://help.aliyun.com/document_detail/160313.html).
|
|
1989
2010
|
*/
|
|
1990
2011
|
runtime?: Runtime;
|
|
1991
2012
|
/**
|
|
1992
2013
|
* @remarks
|
|
1993
|
-
* The ID of an existing security group. You
|
|
2014
|
+
* The ID of an existing security group. You must specify this parameter or the `is_enterprise_security_group` parameter. Cluster nodes are automatically added to the security group.
|
|
1994
2015
|
*
|
|
1995
2016
|
* @example
|
|
1996
2017
|
* sg-bp1bdue0qc1g7k****
|
|
@@ -1998,14 +2019,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1998
2019
|
securityGroupId?: string;
|
|
1999
2020
|
/**
|
|
2000
2021
|
* @remarks
|
|
2001
|
-
* Specifies whether to enable Alibaba Cloud Linux Security Hardening.
|
|
2002
|
-
*
|
|
2003
|
-
* Valid values:
|
|
2022
|
+
* Specifies whether to enable Alibaba Cloud Linux Security Hardening. Valid values:
|
|
2004
2023
|
*
|
|
2005
|
-
*
|
|
2006
|
-
*
|
|
2024
|
+
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
2025
|
+
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
2007
2026
|
*
|
|
2008
|
-
* Default value: false
|
|
2027
|
+
* Default value: `false`.
|
|
2009
2028
|
*
|
|
2010
2029
|
* @example
|
|
2011
2030
|
* false
|
|
@@ -2013,9 +2032,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2013
2032
|
securityHardeningOs?: boolean;
|
|
2014
2033
|
/**
|
|
2015
2034
|
* @remarks
|
|
2016
|
-
* Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. `service-account-issuer`
|
|
2035
|
+
* Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. The `service-account-issuer` parameter specifies the issuer of the `service account token`, which is specified by using the `iss` field in the `token payload`.
|
|
2017
2036
|
*
|
|
2018
|
-
* For more information about `
|
|
2037
|
+
* For more information about `service accounts`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
2019
2038
|
*
|
|
2020
2039
|
* @example
|
|
2021
2040
|
* kubernetes.default.svc
|
|
@@ -2023,9 +2042,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2023
2042
|
serviceAccountIssuer?: string;
|
|
2024
2043
|
/**
|
|
2025
2044
|
* @remarks
|
|
2026
|
-
* The CIDR block
|
|
2045
|
+
* The Service CIDR block. Valid values: 10.0.0.0/16-24, 172.16-31.0.0/16-24, and 192.168.0.0/16-24. The Service CIDR block cannot overlap with the VPC CIDR block (10.1.0.0/21) or the CIDR blocks of existing clusters in the VPC. You cannot modify the Service CIDR block after the cluster is created.
|
|
2027
2046
|
*
|
|
2028
|
-
* By default, the CIDR block
|
|
2047
|
+
* By default, the Service CIDR block is set to 172.19.0.0/20.
|
|
2029
2048
|
*
|
|
2030
2049
|
* This parameter is required.
|
|
2031
2050
|
*
|
|
@@ -2037,20 +2056,20 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2037
2056
|
* @remarks
|
|
2038
2057
|
* The type of service discovery that is implemented in the `ACK Serverless` cluster.
|
|
2039
2058
|
*
|
|
2040
|
-
* * `CoreDNS`:
|
|
2041
|
-
* * `PrivateZone`: a DNS resolution service provided by Alibaba Cloud. You must activate Alibaba Cloud DNS PrivateZone before you can use it
|
|
2059
|
+
* * `CoreDNS`: a standard service discovery plug-in provided by open source Kubernetes. To use DNS resolution, you must provision pods. By default, two elastic container instances are used. The specification of each instance is 0.25 vCPUs and 512 MiB of memory.
|
|
2060
|
+
* * `PrivateZone`: a DNS resolution service provided by Alibaba Cloud. You must activate Alibaba Cloud DNS PrivateZone before you can use it to implement service discovery.
|
|
2042
2061
|
*
|
|
2043
2062
|
* By default, this parameter is not specified.
|
|
2044
2063
|
*/
|
|
2045
2064
|
serviceDiscoveryTypes?: string[];
|
|
2046
2065
|
/**
|
|
2047
2066
|
* @remarks
|
|
2048
|
-
* Specifies whether to configure
|
|
2067
|
+
* Specifies whether to configure SNAT rules for the VPC in which your cluster is deployed. Valid values:
|
|
2049
2068
|
*
|
|
2050
|
-
* * `true`: automatically creates a NAT gateway and configures SNAT rules. Set
|
|
2069
|
+
* * `true`: automatically creates a NAT gateway and configures SNAT rules. Set the value to `true` if nodes and applications in the cluster need to access the Internet.
|
|
2051
2070
|
* * `false`: does not create a NAT gateway or configure SNAT rules. In this case, nodes and applications in the cluster cannot access the Internet.
|
|
2052
2071
|
*
|
|
2053
|
-
* > If this feature is disabled when you create the cluster, you can manually enable this feature after you create the cluster. For more information, see [
|
|
2072
|
+
* > If this feature is disabled when you create the cluster, you can also manually enable this feature after you create the cluster. For more information, see [Enable an existing ACK cluster to access the Internet](https://help.aliyun.com/document_detail/178480.html).
|
|
2054
2073
|
*
|
|
2055
2074
|
* Default value: `true`.
|
|
2056
2075
|
*
|
|
@@ -2060,12 +2079,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2060
2079
|
snatEntry?: boolean;
|
|
2061
2080
|
/**
|
|
2062
2081
|
* @remarks
|
|
2063
|
-
* Specifies whether to enable
|
|
2082
|
+
* Specifies whether to enable security hardening based on Multi-Level Protection Scheme (MLPS). For more information, see [ACK security hardening based on MLPS](https://help.aliyun.com/document_detail/196148.html).
|
|
2064
2083
|
*
|
|
2065
2084
|
* Valid values:
|
|
2066
2085
|
*
|
|
2067
|
-
* * `true`: enables
|
|
2068
|
-
* * `false`: disables
|
|
2086
|
+
* * `true`: enables security hardening based on MLPS.
|
|
2087
|
+
* * `false`: disables security hardening based on MLPS.
|
|
2069
2088
|
*
|
|
2070
2089
|
* Default value: `false`.
|
|
2071
2090
|
*
|
|
@@ -2096,7 +2115,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2096
2115
|
tags?: Tag[];
|
|
2097
2116
|
/**
|
|
2098
2117
|
* @remarks
|
|
2099
|
-
* The taints
|
|
2118
|
+
* The taints that you want to add to nodes. Taints can be used together with tolerations to avoid scheduling pods to specific nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
2100
2119
|
*/
|
|
2101
2120
|
taints?: Taint[];
|
|
2102
2121
|
/**
|
|
@@ -2135,9 +2154,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2135
2154
|
userData?: string;
|
|
2136
2155
|
/**
|
|
2137
2156
|
* @remarks
|
|
2138
|
-
* The
|
|
2139
|
-
*
|
|
2140
|
-
* This parameter is required.
|
|
2157
|
+
* The virtual private cloud (VPC) in which you want to deploy the cluster. This parameter is required.
|
|
2141
2158
|
*
|
|
2142
2159
|
* @example
|
|
2143
2160
|
* vpc-2zeik9h3ahvv2zz95****
|
|
@@ -2145,19 +2162,17 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2145
2162
|
vpcid?: string;
|
|
2146
2163
|
/**
|
|
2147
2164
|
* @remarks
|
|
2148
|
-
* The vSwitches
|
|
2149
|
-
*
|
|
2150
|
-
* This parameter is required.
|
|
2165
|
+
* The vSwitches for nodes in the cluster. This parameter is required if you create an ACK managed cluster that does not contain nodes.
|
|
2151
2166
|
*/
|
|
2152
2167
|
vswitchIds?: string[];
|
|
2153
2168
|
/**
|
|
2154
2169
|
* @remarks
|
|
2155
|
-
* Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect and is required only
|
|
2170
|
+
* Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect and is required only when `worker_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
2156
2171
|
*
|
|
2157
2172
|
* * `true`: enables auto-renewal.
|
|
2158
2173
|
* * `false`: disables auto-renewal.
|
|
2159
2174
|
*
|
|
2160
|
-
* Default value: `true
|
|
2175
|
+
* Default value: `true`
|
|
2161
2176
|
*
|
|
2162
2177
|
* @example
|
|
2163
2178
|
* true
|
|
@@ -2167,7 +2182,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2167
2182
|
workerAutoRenew?: boolean;
|
|
2168
2183
|
/**
|
|
2169
2184
|
* @remarks
|
|
2170
|
-
* The
|
|
2185
|
+
* The auto-renewal duration. This parameter takes effect and is required only when the subscription billing method is selected for worker nodes.
|
|
2171
2186
|
*
|
|
2172
2187
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
2173
2188
|
*
|
|
@@ -2208,7 +2223,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2208
2223
|
workerInstanceTypes?: string[];
|
|
2209
2224
|
/**
|
|
2210
2225
|
* @remarks
|
|
2211
|
-
* The subscription duration of worker nodes. This parameter takes effect and is required only
|
|
2226
|
+
* The subscription duration of worker nodes. This parameter takes effect and is required only when `worker_instance_charge_type` is set to `PrePaid`.
|
|
2212
2227
|
*
|
|
2213
2228
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2214
2229
|
*
|
|
@@ -2224,7 +2239,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2224
2239
|
* @remarks
|
|
2225
2240
|
* The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
|
|
2226
2241
|
*
|
|
2227
|
-
* Set the value to `Month`.
|
|
2242
|
+
* Set the value to `Month`. Subscription worker nodes are billed only on a monthly basis.
|
|
2228
2243
|
*
|
|
2229
2244
|
* @example
|
|
2230
2245
|
* Month
|
|
@@ -2234,7 +2249,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2234
2249
|
workerPeriodUnit?: string;
|
|
2235
2250
|
/**
|
|
2236
2251
|
* @remarks
|
|
2237
|
-
* The
|
|
2252
|
+
* The system disk type of worker nodes. For more information, see [Overview of Block Storage](https://help.aliyun.com/document_detail/63136.html).
|
|
2238
2253
|
*
|
|
2239
2254
|
* Valid values:
|
|
2240
2255
|
*
|
|
@@ -2251,7 +2266,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2251
2266
|
workerSystemDiskCategory?: string;
|
|
2252
2267
|
/**
|
|
2253
2268
|
* @remarks
|
|
2254
|
-
* If the system disk is an ESSD, you can
|
|
2269
|
+
* If the system disk is an ESSD, you can specify the PL of the ESSD. For more information, see [Enterprise SSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
2255
2270
|
*
|
|
2256
2271
|
* Valid values:
|
|
2257
2272
|
*
|
|
@@ -2272,7 +2287,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2272
2287
|
*
|
|
2273
2288
|
* Valid values: 40 to 500.
|
|
2274
2289
|
*
|
|
2275
|
-
* The value of this parameter must be at least 40 and
|
|
2290
|
+
* The value of this parameter must be at least 40 and greater than or equal to the image size.
|
|
2276
2291
|
*
|
|
2277
2292
|
* Default value: `120`.
|
|
2278
2293
|
*
|
|
@@ -2294,23 +2309,26 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2294
2309
|
workerSystemDiskSnapshotPolicyId?: string;
|
|
2295
2310
|
/**
|
|
2296
2311
|
* @remarks
|
|
2297
|
-
* The
|
|
2312
|
+
* The vSwitches for worker nodes. Each worker node is allocated a vSwitch.
|
|
2298
2313
|
*
|
|
2299
|
-
*
|
|
2314
|
+
* `worker_vswitch_ids` is optional but `vswitch_ids` is required if you create an ACK managed cluster that does not contain nodes.
|
|
2300
2315
|
*
|
|
2301
2316
|
* @deprecated
|
|
2302
2317
|
*/
|
|
2303
2318
|
workerVswitchIds?: string[];
|
|
2304
2319
|
/**
|
|
2305
2320
|
* @remarks
|
|
2306
|
-
* The ID of the zone to which the cluster belongs. This parameter takes effect for
|
|
2321
|
+
* The ID of the zone to which the cluster belongs. This parameter takes effect only for ACK Serverless clusters.
|
|
2307
2322
|
*
|
|
2308
|
-
*
|
|
2323
|
+
* If you create an ACK Serverless cluster, you must specify `zone_id` if `vpc_id` and `vswitch_ids` are not specified. This way, the system automatically creates a VPC in the specified zone.
|
|
2309
2324
|
*
|
|
2310
2325
|
* @example
|
|
2311
2326
|
* cn-beiji****
|
|
2327
|
+
*
|
|
2328
|
+
* @deprecated
|
|
2312
2329
|
*/
|
|
2313
2330
|
zoneId?: string;
|
|
2331
|
+
zoneIds?: string[];
|
|
2314
2332
|
static names(): {
|
|
2315
2333
|
[key: string]: string;
|
|
2316
2334
|
};
|
|
@@ -2374,6 +2392,33 @@ export declare class CreateClusterResponse extends $tea.Model {
|
|
|
2374
2392
|
}
|
|
2375
2393
|
export declare class CreateClusterDiagnosisRequest extends $tea.Model {
|
|
2376
2394
|
/**
|
|
2395
|
+
* @remarks
|
|
2396
|
+
* The parameter used to specify the diagnostic object. Examples of parameters for different types of diagnostic objects:
|
|
2397
|
+
*
|
|
2398
|
+
* node:
|
|
2399
|
+
*
|
|
2400
|
+
* {"name": "cn-shanghai.10.10.10.107"}
|
|
2401
|
+
*
|
|
2402
|
+
* pod
|
|
2403
|
+
*
|
|
2404
|
+
* {"namespace": "kube-system", "name": "csi-plugin-2cg9f"}
|
|
2405
|
+
*
|
|
2406
|
+
* network
|
|
2407
|
+
*
|
|
2408
|
+
* {"src": "10.10.10.108", "dst": "10.11.247.16", "dport": "80"}
|
|
2409
|
+
*
|
|
2410
|
+
* ingress
|
|
2411
|
+
*
|
|
2412
|
+
* {"url": "https://example.com"}
|
|
2413
|
+
*
|
|
2414
|
+
* memory
|
|
2415
|
+
*
|
|
2416
|
+
* {"node":"cn-hangzhou.172.16.9.240"}
|
|
2417
|
+
*
|
|
2418
|
+
* service
|
|
2419
|
+
*
|
|
2420
|
+
* {"namespace": "kube-system", "name": "nginx-ingress-lb"}
|
|
2421
|
+
*
|
|
2377
2422
|
* @example
|
|
2378
2423
|
* {"namespace": "kube-system", "name": "csi-plugin-2cg9f"}
|
|
2379
2424
|
*/
|
|
@@ -2381,6 +2426,19 @@ export declare class CreateClusterDiagnosisRequest extends $tea.Model {
|
|
|
2381
2426
|
[key: string]: any;
|
|
2382
2427
|
};
|
|
2383
2428
|
/**
|
|
2429
|
+
* @remarks
|
|
2430
|
+
* The type of the diagnostic.
|
|
2431
|
+
*
|
|
2432
|
+
* Valid values:
|
|
2433
|
+
*
|
|
2434
|
+
* * node
|
|
2435
|
+
* * ingress
|
|
2436
|
+
* * cluster
|
|
2437
|
+
* * memory
|
|
2438
|
+
* * pod
|
|
2439
|
+
* * service
|
|
2440
|
+
* * network
|
|
2441
|
+
*
|
|
2384
2442
|
* @example
|
|
2385
2443
|
* node
|
|
2386
2444
|
*/
|
|
@@ -2397,16 +2455,25 @@ export declare class CreateClusterDiagnosisRequest extends $tea.Model {
|
|
|
2397
2455
|
}
|
|
2398
2456
|
export declare class CreateClusterDiagnosisResponseBody extends $tea.Model {
|
|
2399
2457
|
/**
|
|
2458
|
+
* @remarks
|
|
2459
|
+
* The cluster ID.
|
|
2460
|
+
*
|
|
2400
2461
|
* @example
|
|
2401
2462
|
* c5cdf7e3938bc4f8eb0e44b21a80f****
|
|
2402
2463
|
*/
|
|
2403
2464
|
clusterId?: string;
|
|
2404
2465
|
/**
|
|
2466
|
+
* @remarks
|
|
2467
|
+
* The diagnostic ID.
|
|
2468
|
+
*
|
|
2405
2469
|
* @example
|
|
2406
2470
|
* 6f719f23098240818eb26fe3a37d****
|
|
2407
2471
|
*/
|
|
2408
2472
|
diagnosisId?: string;
|
|
2409
2473
|
/**
|
|
2474
|
+
* @remarks
|
|
2475
|
+
* The request ID.
|
|
2476
|
+
*
|
|
2410
2477
|
* @example
|
|
2411
2478
|
* 687C5BAA-D103-4993-884B-C35E4314****
|
|
2412
2479
|
*/
|
|
@@ -2445,7 +2512,7 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2445
2512
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
2446
2513
|
/**
|
|
2447
2514
|
* @remarks
|
|
2448
|
-
* This parameter is
|
|
2515
|
+
* This parameter is deprecated. Use desired_size instead.
|
|
2449
2516
|
*
|
|
2450
2517
|
* The number of nodes in the node pool.
|
|
2451
2518
|
*
|
|
@@ -2457,7 +2524,7 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2457
2524
|
count?: number;
|
|
2458
2525
|
/**
|
|
2459
2526
|
* @remarks
|
|
2460
|
-
* This parameter is
|
|
2527
|
+
* This parameter is deprecated.
|
|
2461
2528
|
*
|
|
2462
2529
|
* The configurations of the edge node pool.
|
|
2463
2530
|
*
|
|
@@ -2466,10 +2533,10 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2466
2533
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
2467
2534
|
/**
|
|
2468
2535
|
* @remarks
|
|
2469
|
-
* The network type of the edge node pool. This parameter takes effect only if you set the `type`
|
|
2536
|
+
* The network type of the edge node pool. This parameter takes effect only if you set the `type` of the node pool to `edge`. Valid values:
|
|
2470
2537
|
*
|
|
2471
|
-
* * `basic`: basic
|
|
2472
|
-
* * `private`: dedicated
|
|
2538
|
+
* * `basic`: basic
|
|
2539
|
+
* * `private`: dedicated Only Kubernetes 1.22 and later support this value.
|
|
2473
2540
|
*
|
|
2474
2541
|
* @example
|
|
2475
2542
|
* basic
|
|
@@ -2477,7 +2544,7 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2477
2544
|
interconnectMode?: string;
|
|
2478
2545
|
/**
|
|
2479
2546
|
* @remarks
|
|
2480
|
-
* The cluster
|
|
2547
|
+
* The configurations of the cluster.
|
|
2481
2548
|
*/
|
|
2482
2549
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
2483
2550
|
/**
|
|
@@ -2487,7 +2554,10 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2487
2554
|
management?: CreateClusterNodePoolRequestManagement;
|
|
2488
2555
|
/**
|
|
2489
2556
|
* @remarks
|
|
2490
|
-
* The maximum number of nodes that can be
|
|
2557
|
+
* The maximum number of nodes that can be contained in the edge node pool. The value of this parameter must be greater than or equal to 0. A value of 0 indicates that the number of nodes in the node pool is limited only by the quota of nodes in the cluster.
|
|
2558
|
+
*
|
|
2559
|
+
* * In most cases, this parameter is set to a value greater than 0 for edge node pools.
|
|
2560
|
+
* * This parameter is set to 0 for node pools whose types are ess or default edge node pools.
|
|
2491
2561
|
*
|
|
2492
2562
|
* @example
|
|
2493
2563
|
* 10
|
|
@@ -3124,12 +3194,12 @@ export declare class DeleteClusterRequest extends $tea.Model {
|
|
|
3124
3194
|
deleteOptions?: DeleteClusterRequestDeleteOptions[];
|
|
3125
3195
|
/**
|
|
3126
3196
|
* @remarks
|
|
3127
|
-
* Specifies whether to retain the Server Load Balancer (SLB)
|
|
3197
|
+
* Specifies whether to retain the Server Load Balancer (SLB) resources that are created by the cluster.
|
|
3128
3198
|
*
|
|
3129
3199
|
* * `true`: retains the SLB instances that are created by the cluster.
|
|
3130
3200
|
* * `false`: does not retain the SLB instances that are created by the cluster.
|
|
3131
3201
|
*
|
|
3132
|
-
* Default value: `false`.
|
|
3202
|
+
* Default value: `false`. Set resource_type to `SLB` in the `delete_options` parameter to manage SLB instances.
|
|
3133
3203
|
*
|
|
3134
3204
|
* @example
|
|
3135
3205
|
* false
|
|
@@ -3139,10 +3209,10 @@ export declare class DeleteClusterRequest extends $tea.Model {
|
|
|
3139
3209
|
keepSlb?: boolean;
|
|
3140
3210
|
/**
|
|
3141
3211
|
* @remarks
|
|
3142
|
-
* Specifies whether to retain all resources. If you set the parameter to `true`, the `retain_resources` parameter is ignored.
|
|
3212
|
+
* Specifies whether to retain all resources. If you set the parameter to `true`, the `retain_resources` parameter is ignored. The cloud resources that are created by the cluster are retained. You can call the `DescribeClusterResources` operation to query cloud resources created by the cluster. If you set the parameter to `false`, resources to be retained by default in the `delete_options` parameter are still retained. To delete these resources, set `delete_mode` to `delete` in `delete_options`.
|
|
3143
3213
|
*
|
|
3144
|
-
* * `true`: retains all resources.
|
|
3145
|
-
* * `false`: does not retain all resources.
|
|
3214
|
+
* * `true`: retains all resources, including cloud resources created by the cluster.
|
|
3215
|
+
* * `false`: does not retain all resources. Resources to be retained by default in the `delete_options` parameter are retained. For example, `ALB` instances are retained when this parameter is set to `false`.
|
|
3146
3216
|
*
|
|
3147
3217
|
* Default value: `false`.
|
|
3148
3218
|
*
|
|
@@ -3173,12 +3243,12 @@ export declare class DeleteClusterShrinkRequest extends $tea.Model {
|
|
|
3173
3243
|
deleteOptionsShrink?: string;
|
|
3174
3244
|
/**
|
|
3175
3245
|
* @remarks
|
|
3176
|
-
* Specifies whether to retain the Server Load Balancer (SLB)
|
|
3246
|
+
* Specifies whether to retain the Server Load Balancer (SLB) resources that are created by the cluster.
|
|
3177
3247
|
*
|
|
3178
3248
|
* * `true`: retains the SLB instances that are created by the cluster.
|
|
3179
3249
|
* * `false`: does not retain the SLB instances that are created by the cluster.
|
|
3180
3250
|
*
|
|
3181
|
-
* Default value: `false`.
|
|
3251
|
+
* Default value: `false`. Set resource_type to `SLB` in the `delete_options` parameter to manage SLB instances.
|
|
3182
3252
|
*
|
|
3183
3253
|
* @example
|
|
3184
3254
|
* false
|
|
@@ -3188,10 +3258,10 @@ export declare class DeleteClusterShrinkRequest extends $tea.Model {
|
|
|
3188
3258
|
keepSlb?: boolean;
|
|
3189
3259
|
/**
|
|
3190
3260
|
* @remarks
|
|
3191
|
-
* Specifies whether to retain all resources. If you set the parameter to `true`, the `retain_resources` parameter is ignored.
|
|
3261
|
+
* Specifies whether to retain all resources. If you set the parameter to `true`, the `retain_resources` parameter is ignored. The cloud resources that are created by the cluster are retained. You can call the `DescribeClusterResources` operation to query cloud resources created by the cluster. If you set the parameter to `false`, resources to be retained by default in the `delete_options` parameter are still retained. To delete these resources, set `delete_mode` to `delete` in `delete_options`.
|
|
3192
3262
|
*
|
|
3193
|
-
* * `true`: retains all resources.
|
|
3194
|
-
* * `false`: does not retain all resources.
|
|
3263
|
+
* * `true`: retains all resources, including cloud resources created by the cluster.
|
|
3264
|
+
* * `false`: does not retain all resources. Resources to be retained by default in the `delete_options` parameter are retained. For example, `ALB` instances are retained when this parameter is set to `false`.
|
|
3195
3265
|
*
|
|
3196
3266
|
* Default value: `false`.
|
|
3197
3267
|
*
|
|
@@ -3920,12 +3990,10 @@ export declare class DescribeAddonsRequest extends $tea.Model {
|
|
|
3920
3990
|
clusterProfile?: string;
|
|
3921
3991
|
/**
|
|
3922
3992
|
* @remarks
|
|
3923
|
-
*
|
|
3993
|
+
* If you set `cluster_type` to `ManagedKubernetes` and specify `profile`, you can further specify the edition of the cluster. Valid values:
|
|
3924
3994
|
*
|
|
3925
|
-
* * `ack.pro.small`: ACK Pro cluster
|
|
3926
|
-
* * `ack.standard`: ACK Basic cluster
|
|
3927
|
-
*
|
|
3928
|
-
* By default, this parameter is left empty. If you leave this parameter empty, clusters are not filtered by edition.
|
|
3995
|
+
* * `ack.pro.small`: creates an ACK Pro cluster.
|
|
3996
|
+
* * `ack.standard`: creates an ACK Basic cluster. If you leave the parameter empty, an ACK Basic cluster is created.
|
|
3929
3997
|
*
|
|
3930
3998
|
* @example
|
|
3931
3999
|
* ack.pro.small
|
|
@@ -3933,10 +4001,8 @@ export declare class DescribeAddonsRequest extends $tea.Model {
|
|
|
3933
4001
|
clusterSpec?: string;
|
|
3934
4002
|
/**
|
|
3935
4003
|
* @remarks
|
|
3936
|
-
* The type of cluster. Valid values:
|
|
3937
|
-
*
|
|
3938
4004
|
* * `Kubernetes`: ACK dedicated cluster.
|
|
3939
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Pro clusters, ACK Basic clusters, ACK Serverless Pro clusters, ACK
|
|
4005
|
+
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters.
|
|
3940
4006
|
* * `ExternalKubernetes`: registered cluster.
|
|
3941
4007
|
*
|
|
3942
4008
|
* @example
|
|
@@ -4031,12 +4097,12 @@ export declare class DescribeClusterAddonInstanceResponseBody extends $tea.Model
|
|
|
4031
4097
|
* @remarks
|
|
4032
4098
|
* The status of the component. Valid values:
|
|
4033
4099
|
*
|
|
4034
|
-
* * initial:
|
|
4035
|
-
* * active:
|
|
4036
|
-
* * unhealthy:
|
|
4037
|
-
* * upgrading:
|
|
4038
|
-
* * updating:
|
|
4039
|
-
* * deleting:
|
|
4100
|
+
* * initial: the component is being installed.
|
|
4101
|
+
* * active: the component is installed.
|
|
4102
|
+
* * unhealthy: the component abnormal.
|
|
4103
|
+
* * upgrading: the component is being updated.
|
|
4104
|
+
* * updating: the component is being modified.
|
|
4105
|
+
* * deleting: the component is being uninstalled.
|
|
4040
4106
|
* * deleted: The component is deleted.
|
|
4041
4107
|
*
|
|
4042
4108
|
* @example
|
|
@@ -4336,10 +4402,10 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4336
4402
|
clusterId?: string;
|
|
4337
4403
|
/**
|
|
4338
4404
|
* @remarks
|
|
4339
|
-
*
|
|
4405
|
+
* After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition of the cluster.
|
|
4340
4406
|
*
|
|
4341
|
-
* * `ack.pro.small`:
|
|
4342
|
-
* * `ack.standard`:
|
|
4407
|
+
* * `ack.pro.small`: Pro.
|
|
4408
|
+
* * `ack.standard`: Basic. If you leave the parameter empty, the Basic edition is selected.
|
|
4343
4409
|
*
|
|
4344
4410
|
* @example
|
|
4345
4411
|
* ack.pro.small
|
|
@@ -4347,10 +4413,8 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4347
4413
|
clusterSpec?: string;
|
|
4348
4414
|
/**
|
|
4349
4415
|
* @remarks
|
|
4350
|
-
* The type of cluster. Valid values:
|
|
4351
|
-
*
|
|
4352
4416
|
* * `Kubernetes`: ACK dedicated cluster.
|
|
4353
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK
|
|
4417
|
+
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters (Basic and Pro), ACK Edge clusters (Basic and Pro), and ACK Lingjun clusters (Pro).
|
|
4354
4418
|
* * `ExternalKubernetes`: registered cluster.
|
|
4355
4419
|
*
|
|
4356
4420
|
* @example
|
|
@@ -4460,10 +4524,12 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4460
4524
|
privateZone?: boolean;
|
|
4461
4525
|
/**
|
|
4462
4526
|
* @remarks
|
|
4463
|
-
*
|
|
4527
|
+
* If you set `cluster_type` to `ManagedKubernetes`, an ACK managed cluster is created. In this case, you can further specify the cluster edition.
|
|
4464
4528
|
*
|
|
4465
|
-
* * `Default
|
|
4466
|
-
* * `Edge`:
|
|
4529
|
+
* * `Default`. ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
4530
|
+
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
4531
|
+
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
4532
|
+
* * `Lingjun`: ACK Lingjun Pro cluster.
|
|
4467
4533
|
*
|
|
4468
4534
|
* @example
|
|
4469
4535
|
* Default
|
|
@@ -4780,9 +4846,6 @@ export declare class DescribeClusterNodePoolDetailResponse extends $tea.Model {
|
|
|
4780
4846
|
}
|
|
4781
4847
|
export declare class DescribeClusterNodePoolsRequest extends $tea.Model {
|
|
4782
4848
|
/**
|
|
4783
|
-
* @remarks
|
|
4784
|
-
* 节点池名称。
|
|
4785
|
-
*
|
|
4786
4849
|
* @example
|
|
4787
4850
|
* nodepool-test
|
|
4788
4851
|
*/
|
|
@@ -4932,7 +4995,7 @@ export declare class DescribeClusterNodesResponse extends $tea.Model {
|
|
|
4932
4995
|
export declare class DescribeClusterResourcesRequest extends $tea.Model {
|
|
4933
4996
|
/**
|
|
4934
4997
|
* @remarks
|
|
4935
|
-
* Specifies whether to query the resources created by cluster components
|
|
4998
|
+
* Specifies whether to query the resources created by cluster components.
|
|
4936
4999
|
*/
|
|
4937
5000
|
withAddonResources?: boolean;
|
|
4938
5001
|
static names(): {
|
|
@@ -5237,12 +5300,10 @@ export declare class DescribeClustersV1Request extends $tea.Model {
|
|
|
5237
5300
|
clusterId?: string;
|
|
5238
5301
|
/**
|
|
5239
5302
|
* @remarks
|
|
5240
|
-
*
|
|
5241
|
-
*
|
|
5242
|
-
* * `ack.pro.small`: ACK Pro cluster
|
|
5243
|
-
* * `ack.standard`: ACK Basic cluster
|
|
5303
|
+
* After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition of the cluster. Valid values:
|
|
5244
5304
|
*
|
|
5245
|
-
*
|
|
5305
|
+
* * `ack.pro.small`: ACK Pro cluster.
|
|
5306
|
+
* * `ack.standard`: ACK Basic cluster. If you leave the parameter empty, ACK Basic cluster is selected.
|
|
5246
5307
|
*
|
|
5247
5308
|
* @example
|
|
5248
5309
|
* ack.pro.small
|
|
@@ -5250,10 +5311,8 @@ export declare class DescribeClustersV1Request extends $tea.Model {
|
|
|
5250
5311
|
clusterSpec?: string;
|
|
5251
5312
|
/**
|
|
5252
5313
|
* @remarks
|
|
5253
|
-
* The cluster type. Valid values:
|
|
5254
|
-
*
|
|
5255
5314
|
* * `Kubernetes`: ACK dedicated cluster.
|
|
5256
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Pro clusters, ACK Basic clusters, ACK Serverless Pro clusters, ACK
|
|
5315
|
+
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters.
|
|
5257
5316
|
* * `ExternalKubernetes`: registered cluster.
|
|
5258
5317
|
*
|
|
5259
5318
|
* @example
|
|
@@ -5288,17 +5347,12 @@ export declare class DescribeClustersV1Request extends $tea.Model {
|
|
|
5288
5347
|
pageSize?: number;
|
|
5289
5348
|
/**
|
|
5290
5349
|
* @remarks
|
|
5291
|
-
*
|
|
5292
|
-
*
|
|
5293
|
-
* * `Default`: ACK managed cluster
|
|
5294
|
-
* * `Serverless`: ACK Serverless cluster
|
|
5295
|
-
* * `Edge`: ACK Edge cluster
|
|
5296
|
-
*
|
|
5297
|
-
* Valid values when the cluster_type parameter is set to `Ask`:
|
|
5298
|
-
*
|
|
5299
|
-
* `ask.v2`: ACK Serverless cluster
|
|
5350
|
+
* If you set `cluster_type` to `ManagedKubernetes`, an ACK managed cluster is created. In this case, you can further specify the cluster edition. Valid values:
|
|
5300
5351
|
*
|
|
5301
|
-
*
|
|
5352
|
+
* * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
5353
|
+
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
5354
|
+
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
5355
|
+
* * `Lingjun`: ACK Lingjun Pro cluster.
|
|
5302
5356
|
*
|
|
5303
5357
|
* @example
|
|
5304
5358
|
* Default
|
|
@@ -5860,6 +5914,13 @@ export declare class DescribeKubernetesVersionMetadataRequest extends $tea.Model
|
|
|
5860
5914
|
* Default
|
|
5861
5915
|
*/
|
|
5862
5916
|
profile?: string;
|
|
5917
|
+
/**
|
|
5918
|
+
* @remarks
|
|
5919
|
+
* Specify whether to query the Kubernetes versions available for updates. This parameter takes effect only when the KubernetesVersion parameter is specified.
|
|
5920
|
+
*
|
|
5921
|
+
* @example
|
|
5922
|
+
* 1.30.1-aliyun.1
|
|
5923
|
+
*/
|
|
5863
5924
|
queryUpgradableVersion?: boolean;
|
|
5864
5925
|
/**
|
|
5865
5926
|
* @remarks
|
|
@@ -6188,7 +6249,7 @@ export declare class DescribePolicyInstancesResponse extends $tea.Model {
|
|
|
6188
6249
|
export declare class DescribePolicyInstancesStatusResponseBody extends $tea.Model {
|
|
6189
6250
|
/**
|
|
6190
6251
|
* @remarks
|
|
6191
|
-
*
|
|
6252
|
+
* The number of policy instances that are deployed in the cluster at different severity levels.
|
|
6192
6253
|
*
|
|
6193
6254
|
* @example
|
|
6194
6255
|
* { "high": 11, "medium": 1 }
|
|
@@ -6198,7 +6259,7 @@ export declare class DescribePolicyInstancesStatusResponseBody extends $tea.Mode
|
|
|
6198
6259
|
};
|
|
6199
6260
|
/**
|
|
6200
6261
|
* @remarks
|
|
6201
|
-
*
|
|
6262
|
+
* The number of policy instances of each policy type.
|
|
6202
6263
|
*/
|
|
6203
6264
|
policyInstances?: DescribePolicyInstancesStatusResponseBodyPolicyInstances[];
|
|
6204
6265
|
static names(): {
|
|
@@ -6733,9 +6794,9 @@ export declare class DescribeUserQuotaResponseBody extends $tea.Model {
|
|
|
6733
6794
|
clusterQuota?: number;
|
|
6734
6795
|
/**
|
|
6735
6796
|
* @remarks
|
|
6736
|
-
* This parameter is
|
|
6797
|
+
* This parameter is discontinued.
|
|
6737
6798
|
*
|
|
6738
|
-
* The
|
|
6799
|
+
* The quotas of enhanced edge node pools.
|
|
6739
6800
|
*/
|
|
6740
6801
|
edgeImprovedNodepoolQuota?: DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota;
|
|
6741
6802
|
/**
|
|
@@ -7030,8 +7091,18 @@ export declare class GetClusterAddonInstanceResponse extends $tea.Model {
|
|
|
7030
7091
|
});
|
|
7031
7092
|
}
|
|
7032
7093
|
export declare class GetClusterAuditProjectResponseBody extends $tea.Model {
|
|
7094
|
+
/**
|
|
7095
|
+
* @remarks
|
|
7096
|
+
* Indicates whether the cluster auditing feature is enabled for the cluster. `true`: The cluster auditing feature is enabled for the cluster. `false`: The cluster auditing feature is disabled for the cluster.
|
|
7097
|
+
*
|
|
7098
|
+
* @example
|
|
7099
|
+
* true
|
|
7100
|
+
*/
|
|
7033
7101
|
auditEnabled?: boolean;
|
|
7034
7102
|
/**
|
|
7103
|
+
* @remarks
|
|
7104
|
+
* The SLS project in which the audit logs of the API server are stored.
|
|
7105
|
+
*
|
|
7035
7106
|
* @example
|
|
7036
7107
|
* k8s-log-cad1230511cbb4db4a488e58518******
|
|
7037
7108
|
*/
|
|
@@ -7147,18 +7218,31 @@ export declare class GetClusterCheckResponse extends $tea.Model {
|
|
|
7147
7218
|
});
|
|
7148
7219
|
}
|
|
7149
7220
|
export declare class GetClusterDiagnosisCheckItemsResponseBody extends $tea.Model {
|
|
7221
|
+
/**
|
|
7222
|
+
* @remarks
|
|
7223
|
+
* The check item.
|
|
7224
|
+
*/
|
|
7150
7225
|
checkItems?: GetClusterDiagnosisCheckItemsResponseBodyCheckItems[];
|
|
7151
7226
|
/**
|
|
7227
|
+
* @remarks
|
|
7228
|
+
* The status code.
|
|
7229
|
+
*
|
|
7152
7230
|
* @example
|
|
7153
7231
|
* success
|
|
7154
7232
|
*/
|
|
7155
7233
|
code?: string;
|
|
7156
7234
|
/**
|
|
7235
|
+
* @remarks
|
|
7236
|
+
* Indicates whether the check is successful.
|
|
7237
|
+
*
|
|
7157
7238
|
* @example
|
|
7158
7239
|
* true
|
|
7159
7240
|
*/
|
|
7160
7241
|
isSuccess?: boolean;
|
|
7161
7242
|
/**
|
|
7243
|
+
* @remarks
|
|
7244
|
+
* The request ID.
|
|
7245
|
+
*
|
|
7162
7246
|
* @example
|
|
7163
7247
|
* 1DFFD8C6-259E-582B-8B40-002C17DC****
|
|
7164
7248
|
*/
|
|
@@ -7191,46 +7275,90 @@ export declare class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
|
|
|
7191
7275
|
}
|
|
7192
7276
|
export declare class GetClusterDiagnosisResultResponseBody extends $tea.Model {
|
|
7193
7277
|
/**
|
|
7278
|
+
* @remarks
|
|
7279
|
+
* The code that indicates the diagnostic result. Valid values:
|
|
7280
|
+
*
|
|
7281
|
+
* * 0: the diagnostic is completed.
|
|
7282
|
+
* * 1: the diagnostic failed.
|
|
7283
|
+
*
|
|
7194
7284
|
* @example
|
|
7195
7285
|
* 0
|
|
7196
7286
|
*/
|
|
7197
7287
|
code?: number;
|
|
7198
7288
|
/**
|
|
7289
|
+
* @remarks
|
|
7290
|
+
* The time when the diagnostic is initiated.
|
|
7291
|
+
*
|
|
7199
7292
|
* @example
|
|
7200
7293
|
* 2024-05-28T11:29Z
|
|
7201
7294
|
*/
|
|
7202
7295
|
created?: string;
|
|
7203
7296
|
/**
|
|
7297
|
+
* @remarks
|
|
7298
|
+
* The diagnostic ID.
|
|
7299
|
+
*
|
|
7204
7300
|
* @example
|
|
7205
7301
|
* 6cf6b62e334e4583bdfd26707516****
|
|
7206
7302
|
*/
|
|
7207
7303
|
diagnosisId?: string;
|
|
7208
7304
|
/**
|
|
7305
|
+
* @remarks
|
|
7306
|
+
* The time when the diagnostic is completed.
|
|
7307
|
+
*
|
|
7209
7308
|
* @example
|
|
7210
7309
|
* 2024-05-28T11:29Z
|
|
7211
7310
|
*/
|
|
7212
7311
|
finished?: string;
|
|
7213
7312
|
/**
|
|
7313
|
+
* @remarks
|
|
7314
|
+
* The diagnostic status information.
|
|
7315
|
+
*
|
|
7214
7316
|
* @example
|
|
7215
7317
|
* success
|
|
7216
7318
|
*/
|
|
7217
7319
|
message?: string;
|
|
7218
7320
|
/**
|
|
7321
|
+
* @remarks
|
|
7322
|
+
* The diagnostic result.
|
|
7323
|
+
*
|
|
7219
7324
|
* @example
|
|
7220
7325
|
* {"phase":5,"version":"20240101"}
|
|
7221
7326
|
*/
|
|
7222
7327
|
result?: string;
|
|
7223
7328
|
/**
|
|
7329
|
+
* @remarks
|
|
7330
|
+
* The status of the diagnostic. Valid values:
|
|
7331
|
+
*
|
|
7332
|
+
* * 0: The diagnostic is created.
|
|
7333
|
+
* * 1: The diagnostic is running.
|
|
7334
|
+
* * 2: The diagnostic is completed.
|
|
7335
|
+
*
|
|
7224
7336
|
* @example
|
|
7225
7337
|
* 2
|
|
7226
7338
|
*/
|
|
7227
7339
|
status?: number;
|
|
7228
7340
|
/**
|
|
7341
|
+
* @remarks
|
|
7342
|
+
* The diagnostic object.
|
|
7343
|
+
*
|
|
7229
7344
|
* @example
|
|
7230
7345
|
* {"name":"cn-hongkong.10.0.0.246"}
|
|
7231
7346
|
*/
|
|
7232
7347
|
target?: string;
|
|
7233
7348
|
/**
|
|
7349
|
+
* @remarks
|
|
7350
|
+
* The type of the diagnostic.
|
|
7351
|
+
*
|
|
7352
|
+
* Valid values:
|
|
7353
|
+
*
|
|
7354
|
+
* * node
|
|
7355
|
+
* * ingress
|
|
7356
|
+
* * cluster
|
|
7357
|
+
* * memory
|
|
7358
|
+
* * pod
|
|
7359
|
+
* * service
|
|
7360
|
+
* * network
|
|
7361
|
+
*
|
|
7234
7362
|
* @example
|
|
7235
7363
|
* Node
|
|
7236
7364
|
*/
|
|
@@ -7671,7 +7799,7 @@ export declare class ListClusterKubeconfigStatesRequest extends $tea.Model {
|
|
|
7671
7799
|
* The number of entries per page.
|
|
7672
7800
|
*
|
|
7673
7801
|
* * Valid values: 10 to 50.
|
|
7674
|
-
* * Default value: 10
|
|
7802
|
+
* * Default value: 10
|
|
7675
7803
|
*
|
|
7676
7804
|
* @example
|
|
7677
7805
|
* 10
|
|
@@ -7695,7 +7823,7 @@ export declare class ListClusterKubeconfigStatesResponseBody extends $tea.Model
|
|
|
7695
7823
|
page?: ListClusterKubeconfigStatesResponseBodyPage;
|
|
7696
7824
|
/**
|
|
7697
7825
|
* @remarks
|
|
7698
|
-
* The status of the kubeconfig files associated with the cluster.
|
|
7826
|
+
* The status list of the kubeconfig files associated with the cluster.
|
|
7699
7827
|
*/
|
|
7700
7828
|
states?: ListClusterKubeconfigStatesResponseBodyStates[];
|
|
7701
7829
|
static names(): {
|
|
@@ -8096,13 +8224,17 @@ export declare class MigrateClusterResponse extends $tea.Model {
|
|
|
8096
8224
|
export declare class ModifyClusterRequest extends $tea.Model {
|
|
8097
8225
|
/**
|
|
8098
8226
|
* @remarks
|
|
8099
|
-
* The network access control
|
|
8227
|
+
* The network access control lists (ACLs) of the SLB instance associated with the API server if the cluster is a registered cluster.
|
|
8100
8228
|
*/
|
|
8101
8229
|
accessControlList?: string[];
|
|
8230
|
+
/**
|
|
8231
|
+
* @remarks
|
|
8232
|
+
* The custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. This parameter is available only for ACK managed clusters.
|
|
8233
|
+
*/
|
|
8102
8234
|
apiServerCustomCertSans?: ModifyClusterRequestApiServerCustomCertSans;
|
|
8103
8235
|
/**
|
|
8104
8236
|
* @remarks
|
|
8105
|
-
* Specifies whether to associate an elastic IP address (EIP) with the cluster. This EIP is used
|
|
8237
|
+
* Specifies whether to associate an elastic IP address (EIP) with the cluster. This EIP is used to enable access to the API server over the Internet. Valid values:
|
|
8106
8238
|
*
|
|
8107
8239
|
* * `true`: associates an EIP with the cluster.
|
|
8108
8240
|
* * `false`: does not associate an EIP with the cluster.
|
|
@@ -8121,9 +8253,9 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8121
8253
|
apiServerEipId?: string;
|
|
8122
8254
|
/**
|
|
8123
8255
|
* @remarks
|
|
8124
|
-
* The cluster
|
|
8256
|
+
* The name of the cluster.
|
|
8125
8257
|
*
|
|
8126
|
-
* The cluster name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (
|
|
8258
|
+
* The cluster name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The cluster name cannot start with a hyphen (-).
|
|
8127
8259
|
*
|
|
8128
8260
|
* @example
|
|
8129
8261
|
* cluster-new-name
|
|
@@ -8131,12 +8263,12 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8131
8263
|
clusterName?: string;
|
|
8132
8264
|
/**
|
|
8133
8265
|
* @remarks
|
|
8134
|
-
* Specifies whether to enable cluster deletion protection. If this option
|
|
8266
|
+
* Specifies whether to enable cluster deletion protection. If you enable this option, the cluster cannot be deleted in the console or by calling API operations. Valid values:
|
|
8135
8267
|
*
|
|
8136
|
-
* * `true
|
|
8137
|
-
* * `false
|
|
8268
|
+
* * `true`: enables cluster deletion protection.
|
|
8269
|
+
* * `false`: disables cluster deletion protection.
|
|
8138
8270
|
*
|
|
8139
|
-
* Default value: `false
|
|
8271
|
+
* Default value: `false`.
|
|
8140
8272
|
*
|
|
8141
8273
|
* @example
|
|
8142
8274
|
* true
|
|
@@ -8144,10 +8276,10 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8144
8276
|
deletionProtection?: boolean;
|
|
8145
8277
|
/**
|
|
8146
8278
|
* @remarks
|
|
8147
|
-
* Specifies whether to enable the RRSA feature. Valid values:
|
|
8279
|
+
* Specifies whether to enable the RAM Roles for Service Accounts (RRSA) feature. This parameter is available only for ACK managed clusters. Valid values:
|
|
8148
8280
|
*
|
|
8149
|
-
* * `true
|
|
8150
|
-
* * `false
|
|
8281
|
+
* * `true`: enables the RRSA feature.
|
|
8282
|
+
* * `false`: disables the RRSA feature.
|
|
8151
8283
|
*
|
|
8152
8284
|
* @example
|
|
8153
8285
|
* true
|
|
@@ -8157,10 +8289,10 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8157
8289
|
* @remarks
|
|
8158
8290
|
* Specifies whether to remap the test domain name of the cluster. Valid values:
|
|
8159
8291
|
*
|
|
8160
|
-
* * `true
|
|
8161
|
-
* * `false
|
|
8292
|
+
* * `true`: remaps the test domain name of the cluster.
|
|
8293
|
+
* * `false`: does not remap the test domain name of the cluster.
|
|
8162
8294
|
*
|
|
8163
|
-
* Default value: `false
|
|
8295
|
+
* Default value: `false`.
|
|
8164
8296
|
*
|
|
8165
8297
|
* @example
|
|
8166
8298
|
* true
|
|
@@ -8176,12 +8308,12 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8176
8308
|
ingressLoadbalancerId?: string;
|
|
8177
8309
|
/**
|
|
8178
8310
|
* @remarks
|
|
8179
|
-
* Specifies whether to enable instance deletion protection. If this option
|
|
8311
|
+
* Specifies whether to enable instance deletion protection. If you enable this option, the instance cannot be deleted in the console or by calling API operations. Valid values:
|
|
8180
8312
|
*
|
|
8181
|
-
* * `true
|
|
8182
|
-
* * `false
|
|
8313
|
+
* * `true`: enables instance deletion protection.
|
|
8314
|
+
* * `false`: disables instance deletion protection.
|
|
8183
8315
|
*
|
|
8184
|
-
* Default value: `false
|
|
8316
|
+
* Default value: `false`.
|
|
8185
8317
|
*
|
|
8186
8318
|
* @example
|
|
8187
8319
|
* true
|
|
@@ -8189,13 +8321,17 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8189
8321
|
instanceDeletionProtection?: boolean;
|
|
8190
8322
|
/**
|
|
8191
8323
|
* @remarks
|
|
8192
|
-
* The cluster maintenance window. This feature takes effect only for
|
|
8324
|
+
* The cluster maintenance window. This feature takes effect only for ACK Pro clusters.
|
|
8193
8325
|
*/
|
|
8194
8326
|
maintenanceWindow?: MaintenanceWindow;
|
|
8327
|
+
/**
|
|
8328
|
+
* @remarks
|
|
8329
|
+
* The automatic O\\&M policy of the cluster.
|
|
8330
|
+
*/
|
|
8195
8331
|
operationPolicy?: ModifyClusterRequestOperationPolicy;
|
|
8196
8332
|
/**
|
|
8197
8333
|
* @remarks
|
|
8198
|
-
* The
|
|
8334
|
+
* The cluster resource group ID.
|
|
8199
8335
|
*
|
|
8200
8336
|
* @example
|
|
8201
8337
|
* rg-acfmyvw3wjm****
|
|
@@ -8348,12 +8484,12 @@ export declare class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
8348
8484
|
concurrency?: boolean;
|
|
8349
8485
|
/**
|
|
8350
8486
|
* @remarks
|
|
8351
|
-
* The
|
|
8487
|
+
* The configurations of the cluster in which the node pool is deployed.
|
|
8352
8488
|
*/
|
|
8353
8489
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
8354
8490
|
/**
|
|
8355
8491
|
* @remarks
|
|
8356
|
-
* The
|
|
8492
|
+
* The configurations of the managed node pool feature.
|
|
8357
8493
|
*/
|
|
8358
8494
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
8359
8495
|
/**
|
|
@@ -8363,7 +8499,7 @@ export declare class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
8363
8499
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
8364
8500
|
/**
|
|
8365
8501
|
* @remarks
|
|
8366
|
-
* The configurations of the scaling group.
|
|
8502
|
+
* The configurations of the scaling group that is used by the node pool.
|
|
8367
8503
|
*/
|
|
8368
8504
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
8369
8505
|
/**
|
|
@@ -8626,8 +8762,8 @@ export declare class OpenAckServiceRequest extends $tea.Model {
|
|
|
8626
8762
|
* @remarks
|
|
8627
8763
|
* The type of service that you want to activate. Valid values:
|
|
8628
8764
|
*
|
|
8629
|
-
* * `propayasgo`:
|
|
8630
|
-
* * `edgepayasgo`: ACK Edge.
|
|
8765
|
+
* * `propayasgo`: ACK clusters (including ACK managed clusters and ACK dedicated clusters), ACK Serverless clusters, and registered clusters.
|
|
8766
|
+
* * `edgepayasgo`: ACK Edge clusters.
|
|
8631
8767
|
*
|
|
8632
8768
|
* @example
|
|
8633
8769
|
* propayasgo
|
|
@@ -8776,9 +8912,6 @@ export declare class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
8776
8912
|
}
|
|
8777
8913
|
export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
8778
8914
|
/**
|
|
8779
|
-
* @remarks
|
|
8780
|
-
* 是否并发移除。
|
|
8781
|
-
*
|
|
8782
8915
|
* @example
|
|
8783
8916
|
* false
|
|
8784
8917
|
*/
|
|
@@ -8829,9 +8962,6 @@ export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
8829
8962
|
}
|
|
8830
8963
|
export declare class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
8831
8964
|
/**
|
|
8832
|
-
* @remarks
|
|
8833
|
-
* 是否并发移除。
|
|
8834
|
-
*
|
|
8835
8965
|
* @example
|
|
8836
8966
|
* false
|
|
8837
8967
|
*/
|
|
@@ -8941,7 +9071,7 @@ export declare class RemoveWorkflowResponse extends $tea.Model {
|
|
|
8941
9071
|
export declare class RepairClusterNodePoolRequest extends $tea.Model {
|
|
8942
9072
|
/**
|
|
8943
9073
|
* @remarks
|
|
8944
|
-
* Specifies whether to
|
|
9074
|
+
* Specifies whether to restart the instance of the node.
|
|
8945
9075
|
*
|
|
8946
9076
|
* @example
|
|
8947
9077
|
* true
|
|
@@ -8949,7 +9079,7 @@ export declare class RepairClusterNodePoolRequest extends $tea.Model {
|
|
|
8949
9079
|
autoRestart?: boolean;
|
|
8950
9080
|
/**
|
|
8951
9081
|
* @remarks
|
|
8952
|
-
* The
|
|
9082
|
+
* The list of nodes. If you do not specify nodes, all nodes in the node pool are selected.
|
|
8953
9083
|
*/
|
|
8954
9084
|
nodes?: string[];
|
|
8955
9085
|
operations?: RepairClusterNodePoolRequestOperations[];
|
|
@@ -9088,7 +9218,7 @@ export declare class RunClusterCheckRequest extends $tea.Model {
|
|
|
9088
9218
|
};
|
|
9089
9219
|
/**
|
|
9090
9220
|
* @remarks
|
|
9091
|
-
*
|
|
9221
|
+
* The target to be checked.
|
|
9092
9222
|
*
|
|
9093
9223
|
* @example
|
|
9094
9224
|
* np1f6779297c4444a3a1cdd29be8e5****
|
|
@@ -9220,7 +9350,7 @@ export declare class ScaleClusterResponse extends $tea.Model {
|
|
|
9220
9350
|
export declare class ScaleClusterNodePoolRequest extends $tea.Model {
|
|
9221
9351
|
/**
|
|
9222
9352
|
* @remarks
|
|
9223
|
-
* The number of worker nodes that you want to add.
|
|
9353
|
+
* The number of worker nodes that you want to add. For example, the current node pool contains two nodes. After the node pool 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.
|
|
9224
9354
|
*
|
|
9225
9355
|
* @example
|
|
9226
9356
|
* 1
|
|
@@ -9297,10 +9427,10 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9297
9427
|
count?: number;
|
|
9298
9428
|
/**
|
|
9299
9429
|
* @remarks
|
|
9300
|
-
* The CPU management policy of
|
|
9430
|
+
* The CPU management policy of nodes. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
9301
9431
|
*
|
|
9302
|
-
* * `static`:
|
|
9303
|
-
* * `none`:
|
|
9432
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
9433
|
+
* * `none`: specifies that the default CPU affinity is used.
|
|
9304
9434
|
*
|
|
9305
9435
|
* Default value: `none`.
|
|
9306
9436
|
*
|
|
@@ -9310,7 +9440,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9310
9440
|
cpuPolicy?: string;
|
|
9311
9441
|
/**
|
|
9312
9442
|
* @remarks
|
|
9313
|
-
* Specifies a custom image for nodes. By default, the image provided by
|
|
9443
|
+
* Specifies a custom image for nodes. By default, the image provided by ACK is used. You can select a custom image to replace the default image. For more information, see [Custom images](https://help.aliyun.com/document_detail/146647.html).
|
|
9314
9444
|
*
|
|
9315
9445
|
* @example
|
|
9316
9446
|
* m-bp16z7xko3vvv8gt****
|
|
@@ -9318,7 +9448,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9318
9448
|
imageId?: string;
|
|
9319
9449
|
/**
|
|
9320
9450
|
* @remarks
|
|
9321
|
-
* The name of the key pair. You must
|
|
9451
|
+
* The name of the key pair. You must configure this parameter or the `login_password` parameter.
|
|
9322
9452
|
*
|
|
9323
9453
|
* This parameter is required.
|
|
9324
9454
|
*
|
|
@@ -9328,7 +9458,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9328
9458
|
keyPair?: string;
|
|
9329
9459
|
/**
|
|
9330
9460
|
* @remarks
|
|
9331
|
-
* The password for SSH logon. You must
|
|
9461
|
+
* The password for SSH logon. You must configure this parameter or the `key_pair` parameter. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
9332
9462
|
*
|
|
9333
9463
|
* This parameter is required.
|
|
9334
9464
|
*
|
|
@@ -9338,7 +9468,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9338
9468
|
loginPassword?: string;
|
|
9339
9469
|
/**
|
|
9340
9470
|
* @remarks
|
|
9341
|
-
*
|
|
9471
|
+
* The ApsaraDB RDS instances. If you specify a list of ApsaraDB RDS instances, ECS instances in the cluster are automatically added to the whitelist of the ApsaraDB RDS instances.
|
|
9342
9472
|
*/
|
|
9343
9473
|
rdsInstances?: string[];
|
|
9344
9474
|
/**
|
|
@@ -9350,18 +9480,18 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9350
9480
|
* @remarks
|
|
9351
9481
|
* The labels that you want to add to nodes. You must add labels based on the following rules:
|
|
9352
9482
|
*
|
|
9353
|
-
* *
|
|
9354
|
-
* *
|
|
9483
|
+
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
9484
|
+
* * When you add a label, you must specify a unique key but you can leave the value empty. A key cannot exceed 64 characters in length and a value 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).
|
|
9355
9485
|
*/
|
|
9356
9486
|
tags?: Tag[];
|
|
9357
9487
|
/**
|
|
9358
9488
|
* @remarks
|
|
9359
|
-
* The taints that you want to add to nodes. Taints
|
|
9489
|
+
* The taints that you want to add to nodes. Taints can be used together with tolerations to avoid scheduling pods to specified nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
9360
9490
|
*/
|
|
9361
9491
|
taints?: Taint[];
|
|
9362
9492
|
/**
|
|
9363
9493
|
* @remarks
|
|
9364
|
-
* The user data of the node pool. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
|
|
9494
|
+
* The user-defined data of the node pool. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
|
|
9365
9495
|
*
|
|
9366
9496
|
* @example
|
|
9367
9497
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -9369,17 +9499,17 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9369
9499
|
userData?: string;
|
|
9370
9500
|
/**
|
|
9371
9501
|
* @remarks
|
|
9372
|
-
* The IDs
|
|
9502
|
+
* The vSwitch IDs. You can select one to three vSwitches when you create a cluster. To ensure the high availability of the cluster, we recommend that you select vSwitches in different zones.
|
|
9373
9503
|
*
|
|
9374
9504
|
* This parameter is required.
|
|
9375
9505
|
*/
|
|
9376
9506
|
vswitchIds?: string[];
|
|
9377
9507
|
/**
|
|
9378
9508
|
* @remarks
|
|
9379
|
-
* Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect only if `worker_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
9509
|
+
* Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect and is required only if `worker_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
9380
9510
|
*
|
|
9381
9511
|
* * `true`: enables auto-renewal.
|
|
9382
|
-
* * `false`:
|
|
9512
|
+
* * `false`: does not enable auto-renewal.
|
|
9383
9513
|
*
|
|
9384
9514
|
* Default value: `true`.
|
|
9385
9515
|
*
|
|
@@ -9389,7 +9519,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9389
9519
|
workerAutoRenew?: boolean;
|
|
9390
9520
|
/**
|
|
9391
9521
|
* @remarks
|
|
9392
|
-
* The auto-renewal
|
|
9522
|
+
* The auto-renewal duration of worker nodes. This parameter takes effect and is required only if the subscription billing method is selected for worker nodes.
|
|
9393
9523
|
*
|
|
9394
9524
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
9395
9525
|
*
|
|
@@ -9401,7 +9531,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9401
9531
|
workerAutoRenewPeriod?: number;
|
|
9402
9532
|
/**
|
|
9403
9533
|
* @remarks
|
|
9404
|
-
* The
|
|
9534
|
+
* The configurations of the data disks that you want to mount to worker nodes. The configurations include the disk type and disk size.
|
|
9405
9535
|
*/
|
|
9406
9536
|
workerDataDisks?: ScaleOutClusterRequestWorkerDataDisks[];
|
|
9407
9537
|
/**
|
|
@@ -9438,7 +9568,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9438
9568
|
workerPeriod?: number;
|
|
9439
9569
|
/**
|
|
9440
9570
|
* @remarks
|
|
9441
|
-
* The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
|
|
9571
|
+
* The billing cycle of worker nodes. This parameter is required only if worker_instance_charge_type is set to `PrePaid`.
|
|
9442
9572
|
*
|
|
9443
9573
|
* Set the value to `Month`. Worker nodes are billed only on a monthly basis.
|
|
9444
9574
|
*
|
|
@@ -9448,11 +9578,11 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9448
9578
|
workerPeriodUnit?: string;
|
|
9449
9579
|
/**
|
|
9450
9580
|
* @remarks
|
|
9451
|
-
* The
|
|
9581
|
+
* The system disk type of worker nodes. Valid values:
|
|
9452
9582
|
*
|
|
9453
9583
|
* * `cloud_efficiency`: ultra disk.
|
|
9454
9584
|
* * `cloud_ssd`: standard SSD.
|
|
9455
|
-
* * `cloud_essd`:
|
|
9585
|
+
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
9456
9586
|
*
|
|
9457
9587
|
* Default value: `cloud_ssd`.
|
|
9458
9588
|
*
|
|
@@ -9464,7 +9594,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9464
9594
|
workerSystemDiskCategory?: string;
|
|
9465
9595
|
/**
|
|
9466
9596
|
* @remarks
|
|
9467
|
-
* The
|
|
9597
|
+
* The system disk size of worker nodes. Unit: GiB.
|
|
9468
9598
|
*
|
|
9469
9599
|
* Valid values: 40 to 500.
|
|
9470
9600
|
*
|
|
@@ -10354,7 +10484,7 @@ export declare class UpdateControlPlaneLogRequest extends $tea.Model {
|
|
|
10354
10484
|
components?: string[];
|
|
10355
10485
|
/**
|
|
10356
10486
|
* @remarks
|
|
10357
|
-
* The name of the Simple Log Service
|
|
10487
|
+
* The name of the Simple Log Service Project that you want to use to store the logs of control plane components.
|
|
10358
10488
|
*
|
|
10359
10489
|
* Default value: k8s-log-$Cluster ID.
|
|
10360
10490
|
*
|
|
@@ -10705,7 +10835,7 @@ export declare class UpdateUserPermissionsResponse extends $tea.Model {
|
|
|
10705
10835
|
export declare class UpgradeClusterRequest extends $tea.Model {
|
|
10706
10836
|
/**
|
|
10707
10837
|
* @remarks
|
|
10708
|
-
* This parameter is
|
|
10838
|
+
* This parameter is deprecated.
|
|
10709
10839
|
*
|
|
10710
10840
|
* @example
|
|
10711
10841
|
* k8s
|
|
@@ -10717,8 +10847,8 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
10717
10847
|
* @remarks
|
|
10718
10848
|
* Specifies whether to update only the master nodes. Valid values:
|
|
10719
10849
|
*
|
|
10720
|
-
* * true:
|
|
10721
|
-
* * false:
|
|
10850
|
+
* * true: updates only the master nodes.
|
|
10851
|
+
* * false: updates the master nodes and worker nodes.
|
|
10722
10852
|
*
|
|
10723
10853
|
* @example
|
|
10724
10854
|
* true
|
|
@@ -10735,7 +10865,7 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
10735
10865
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
10736
10866
|
/**
|
|
10737
10867
|
* @remarks
|
|
10738
|
-
* This parameter is
|
|
10868
|
+
* This parameter is deprecated. Specify the Kubernetes version by using the next_version parameter.
|
|
10739
10869
|
*
|
|
10740
10870
|
* @example
|
|
10741
10871
|
* 1.14.8-aliyun.1
|
|
@@ -10755,25 +10885,16 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
10755
10885
|
}
|
|
10756
10886
|
export declare class UpgradeClusterResponseBody extends $tea.Model {
|
|
10757
10887
|
/**
|
|
10758
|
-
* @remarks
|
|
10759
|
-
* 集群ID。
|
|
10760
|
-
*
|
|
10761
10888
|
* @example
|
|
10762
10889
|
* c82e6987e2961451182edacd74faf****
|
|
10763
10890
|
*/
|
|
10764
10891
|
clusterId?: string;
|
|
10765
10892
|
/**
|
|
10766
|
-
* @remarks
|
|
10767
|
-
* 请求ID。
|
|
10768
|
-
*
|
|
10769
10893
|
* @example
|
|
10770
10894
|
* 0527ac9a-c899-4341-a21a-****
|
|
10771
10895
|
*/
|
|
10772
10896
|
requestId?: string;
|
|
10773
10897
|
/**
|
|
10774
|
-
* @remarks
|
|
10775
|
-
* 任务ID。
|
|
10776
|
-
*
|
|
10777
10898
|
* @example
|
|
10778
10899
|
* T-5faa48fb31b6b8078d00****
|
|
10779
10900
|
*/
|
|
@@ -10821,8 +10942,29 @@ export declare class UpgradeClusterAddonsRequest extends $tea.Model {
|
|
|
10821
10942
|
});
|
|
10822
10943
|
}
|
|
10823
10944
|
export declare class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
10945
|
+
/**
|
|
10946
|
+
* @remarks
|
|
10947
|
+
* The ID of the cluster.
|
|
10948
|
+
*
|
|
10949
|
+
* @example
|
|
10950
|
+
* cf4299b79b3e34226abfdc80a4bda****
|
|
10951
|
+
*/
|
|
10824
10952
|
clusterId?: string;
|
|
10953
|
+
/**
|
|
10954
|
+
* @remarks
|
|
10955
|
+
* The ID of the request.
|
|
10956
|
+
*
|
|
10957
|
+
* @example
|
|
10958
|
+
* bfd12953-31cb-42f1-8a36-7b80ec345094
|
|
10959
|
+
*/
|
|
10825
10960
|
requestId?: string;
|
|
10961
|
+
/**
|
|
10962
|
+
* @remarks
|
|
10963
|
+
* The ID of the task.
|
|
10964
|
+
*
|
|
10965
|
+
* @example
|
|
10966
|
+
* T-62a944794ee141074400****
|
|
10967
|
+
*/
|
|
10826
10968
|
taskId?: string;
|
|
10827
10969
|
static names(): {
|
|
10828
10970
|
[key: string]: string;
|
|
@@ -10861,17 +11003,25 @@ export declare class UpgradeClusterNodepoolRequest extends $tea.Model {
|
|
|
10861
11003
|
imageId?: string;
|
|
10862
11004
|
/**
|
|
10863
11005
|
* @remarks
|
|
10864
|
-
* The Kubernetes version that is used by the nodes.
|
|
11006
|
+
* The Kubernetes version that is used by the nodes. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the Kubernetes version of the cluster returned in the current_version parameter.
|
|
10865
11007
|
*
|
|
10866
11008
|
* @example
|
|
10867
11009
|
* 1.22.15-aliyun.1
|
|
10868
11010
|
*/
|
|
10869
11011
|
kubernetesVersion?: string;
|
|
11012
|
+
/**
|
|
11013
|
+
* @remarks
|
|
11014
|
+
* The nodes that you want to update. If you do not specify this parameter, all nodes in the node pool are updated by default.
|
|
11015
|
+
*/
|
|
10870
11016
|
nodeNames?: string[];
|
|
11017
|
+
/**
|
|
11018
|
+
* @remarks
|
|
11019
|
+
* The rotation configuration.
|
|
11020
|
+
*/
|
|
10871
11021
|
rollingPolicy?: UpgradeClusterNodepoolRequestRollingPolicy;
|
|
10872
11022
|
/**
|
|
10873
11023
|
* @remarks
|
|
10874
|
-
* The runtime type.
|
|
11024
|
+
* The runtime type. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the runtime information returned in the runtime parameter.
|
|
10875
11025
|
*
|
|
10876
11026
|
* @example
|
|
10877
11027
|
* containerd
|
|
@@ -10879,12 +11029,24 @@ export declare class UpgradeClusterNodepoolRequest extends $tea.Model {
|
|
|
10879
11029
|
runtimeType?: string;
|
|
10880
11030
|
/**
|
|
10881
11031
|
* @remarks
|
|
10882
|
-
* The version of the container runtime that is used by the nodes.
|
|
11032
|
+
* The version of the container runtime that is used by the nodes. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the runtime version information returned in the runtime parameter.
|
|
10883
11033
|
*
|
|
10884
11034
|
* @example
|
|
10885
11035
|
* 1.5.10
|
|
10886
11036
|
*/
|
|
10887
11037
|
runtimeVersion?: string;
|
|
11038
|
+
/**
|
|
11039
|
+
* @remarks
|
|
11040
|
+
* Specifies whether to perform the update by replacing the system disk. Valid values:
|
|
11041
|
+
*
|
|
11042
|
+
* * true: updates by replacing the system disk.
|
|
11043
|
+
* * false: does not update by replacing the system disk.
|
|
11044
|
+
*
|
|
11045
|
+
* Default value: false.
|
|
11046
|
+
*
|
|
11047
|
+
* @example
|
|
11048
|
+
* false
|
|
11049
|
+
*/
|
|
10888
11050
|
useReplace?: boolean;
|
|
10889
11051
|
static names(): {
|
|
10890
11052
|
[key: string]: string;
|
|
@@ -11560,6 +11722,8 @@ export declare class AttachInstancesResponseBodyList extends $tea.Model {
|
|
|
11560
11722
|
export declare class CheckServiceRoleRequestRoles extends $tea.Model {
|
|
11561
11723
|
/**
|
|
11562
11724
|
* @remarks
|
|
11725
|
+
* The service role name.
|
|
11726
|
+
*
|
|
11563
11727
|
* This parameter is required.
|
|
11564
11728
|
*
|
|
11565
11729
|
* @example
|
|
@@ -11578,16 +11742,25 @@ export declare class CheckServiceRoleRequestRoles extends $tea.Model {
|
|
|
11578
11742
|
}
|
|
11579
11743
|
export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
11580
11744
|
/**
|
|
11745
|
+
* @remarks
|
|
11746
|
+
* Specifies whether the service role is granted required permissions.
|
|
11747
|
+
*
|
|
11581
11748
|
* @example
|
|
11582
11749
|
* true
|
|
11583
11750
|
*/
|
|
11584
11751
|
granted?: boolean;
|
|
11585
11752
|
/**
|
|
11753
|
+
* @remarks
|
|
11754
|
+
* The message returned if the service role is not granted required permissions.
|
|
11755
|
+
*
|
|
11586
11756
|
* @example
|
|
11587
11757
|
* The role does not exist: AliyunCSManagedAutoScalerRole
|
|
11588
11758
|
*/
|
|
11589
11759
|
message?: string;
|
|
11590
11760
|
/**
|
|
11761
|
+
* @remarks
|
|
11762
|
+
* The service role name.
|
|
11763
|
+
*
|
|
11591
11764
|
* @example
|
|
11592
11765
|
* AliyunCSManagedAutoScalerRole
|
|
11593
11766
|
*/
|
|
@@ -11605,7 +11778,7 @@ export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
11605
11778
|
export declare class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
11606
11779
|
/**
|
|
11607
11780
|
* @remarks
|
|
11608
|
-
* The
|
|
11781
|
+
* The data disk type.
|
|
11609
11782
|
*
|
|
11610
11783
|
* This parameter is required.
|
|
11611
11784
|
*
|
|
@@ -11628,7 +11801,7 @@ export declare class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
11628
11801
|
encrypted?: string;
|
|
11629
11802
|
/**
|
|
11630
11803
|
* @remarks
|
|
11631
|
-
* The PL of the data disk. This parameter takes effect only for ESSDs. You can specify a higher PL if you increase the size of a data disk. For more information, see [
|
|
11804
|
+
* The PL of the data disk. This parameter takes effect only for ESSDs. You can specify a higher PL if you increase the size of a data disk. For more information, see [Enterprise SSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
11632
11805
|
*
|
|
11633
11806
|
* @example
|
|
11634
11807
|
* PL1
|
|
@@ -11636,7 +11809,7 @@ export declare class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
11636
11809
|
performanceLevel?: string;
|
|
11637
11810
|
/**
|
|
11638
11811
|
* @remarks
|
|
11639
|
-
* The
|
|
11812
|
+
* The data disk size. Valid values: 40 to 32767. Unit: GiB.
|
|
11640
11813
|
*
|
|
11641
11814
|
* This parameter is required.
|
|
11642
11815
|
*
|
|
@@ -11657,13 +11830,13 @@ export declare class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
11657
11830
|
export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
11658
11831
|
/**
|
|
11659
11832
|
* @remarks
|
|
11660
|
-
* This parameter is
|
|
11833
|
+
* This parameter is deprecated.
|
|
11661
11834
|
*
|
|
11662
11835
|
* The maximum bandwidth of the EIP. Unit: Mbit/s.
|
|
11663
11836
|
*
|
|
11664
11837
|
* **
|
|
11665
11838
|
*
|
|
11666
|
-
* **Important** This parameter is
|
|
11839
|
+
* **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
|
|
11667
11840
|
*
|
|
11668
11841
|
* @example
|
|
11669
11842
|
* 5
|
|
@@ -11673,18 +11846,18 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11673
11846
|
eipBandwidth?: number;
|
|
11674
11847
|
/**
|
|
11675
11848
|
* @remarks
|
|
11676
|
-
* This parameter is
|
|
11849
|
+
* This parameter is deprecated.
|
|
11677
11850
|
*
|
|
11678
|
-
* The
|
|
11851
|
+
* The metering method of the EIP. Valid values:
|
|
11679
11852
|
*
|
|
11680
|
-
* * `PayByBandwidth`: pay-by-bandwidth
|
|
11681
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
11853
|
+
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
11854
|
+
* * `PayByTraffic`: pay-by-data-transfer.
|
|
11682
11855
|
*
|
|
11683
11856
|
* Default value: `PayByBandwidth`.
|
|
11684
11857
|
*
|
|
11685
11858
|
* **
|
|
11686
11859
|
*
|
|
11687
|
-
* **Important** This parameter is
|
|
11860
|
+
* **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
|
|
11688
11861
|
*
|
|
11689
11862
|
* @example
|
|
11690
11863
|
* PayByBandwidth
|
|
@@ -11696,8 +11869,8 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11696
11869
|
* @remarks
|
|
11697
11870
|
* Specifies whether to enable auto scaling for the node pool. Valid values:
|
|
11698
11871
|
*
|
|
11699
|
-
* * `true
|
|
11700
|
-
* * `false`: If you set this parameter to false, other parameters
|
|
11872
|
+
* * `true`: enables auto scaling.
|
|
11873
|
+
* * `false`: disables auto scaling. If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
|
|
11701
11874
|
*
|
|
11702
11875
|
* Default value: `false`.
|
|
11703
11876
|
*
|
|
@@ -11707,18 +11880,18 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11707
11880
|
enable?: boolean;
|
|
11708
11881
|
/**
|
|
11709
11882
|
* @remarks
|
|
11710
|
-
* This parameter is
|
|
11883
|
+
* This parameter is deprecated.
|
|
11711
11884
|
*
|
|
11712
11885
|
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
11713
11886
|
*
|
|
11714
|
-
* * `true
|
|
11715
|
-
* * `false
|
|
11887
|
+
* * `true`: associates an EIP with the node pool.
|
|
11888
|
+
* * `false`: does not associate an EIP with the node pool.
|
|
11716
11889
|
*
|
|
11717
11890
|
* Default value: `false`.
|
|
11718
11891
|
*
|
|
11719
11892
|
* **
|
|
11720
11893
|
*
|
|
11721
|
-
* **Important** This parameter is
|
|
11894
|
+
* **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
|
|
11722
11895
|
*
|
|
11723
11896
|
* @example
|
|
11724
11897
|
* true
|
|
@@ -11728,7 +11901,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11728
11901
|
isBondEip?: boolean;
|
|
11729
11902
|
/**
|
|
11730
11903
|
* @remarks
|
|
11731
|
-
* The maximum number
|
|
11904
|
+
* The maximum number to which the Elastic Compute Service (ECS) instances in the node pool can be scaled. The number of nodes in the node pool cannot be greater than this value. This parameter takes effect only if `enable` is set to true. Valid values: [min_instances, 2000]. Default value: 0.
|
|
11732
11905
|
*
|
|
11733
11906
|
* @example
|
|
11734
11907
|
* 10
|
|
@@ -11736,7 +11909,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11736
11909
|
maxInstances?: number;
|
|
11737
11910
|
/**
|
|
11738
11911
|
* @remarks
|
|
11739
|
-
* The minimum number
|
|
11912
|
+
* The minimum number to which the ECS instances in the node pool can be scaled. The number of nodes in the node pool cannot be smaller than this value. This parameter takes effect only if `enable` is set to true. Valid values: [0, max_instances]. Default value: 0.
|
|
11740
11913
|
*
|
|
11741
11914
|
* @example
|
|
11742
11915
|
* 1
|
|
@@ -11744,12 +11917,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11744
11917
|
minInstances?: number;
|
|
11745
11918
|
/**
|
|
11746
11919
|
* @remarks
|
|
11747
|
-
* The type
|
|
11920
|
+
* The instance type that is used for auto scaling. This parameter takes effect only if `enable` is set to true. Valid values:
|
|
11748
11921
|
*
|
|
11749
|
-
* * `cpu`: regular instance
|
|
11750
|
-
* * `gpu`: GPU-accelerated instance
|
|
11751
|
-
* * `gpushare`: shared GPU-accelerated instance
|
|
11752
|
-
* * `spot`: preemptible instance
|
|
11922
|
+
* * `cpu`: regular instance.
|
|
11923
|
+
* * `gpu`: GPU-accelerated instance.
|
|
11924
|
+
* * `gpushare`: shared GPU-accelerated instance.
|
|
11925
|
+
* * `spot`: preemptible instance.
|
|
11753
11926
|
*
|
|
11754
11927
|
* Default value: `cpu`.
|
|
11755
11928
|
*
|
|
@@ -11772,7 +11945,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11772
11945
|
export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea.Model {
|
|
11773
11946
|
/**
|
|
11774
11947
|
* @remarks
|
|
11775
|
-
* This parameter is
|
|
11948
|
+
* This parameter is deprecated.
|
|
11776
11949
|
*
|
|
11777
11950
|
* The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
11778
11951
|
*
|
|
@@ -11782,7 +11955,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea
|
|
|
11782
11955
|
bandwidth?: number;
|
|
11783
11956
|
/**
|
|
11784
11957
|
* @remarks
|
|
11785
|
-
* This parameter is
|
|
11958
|
+
* This parameter is deprecated.
|
|
11786
11959
|
*
|
|
11787
11960
|
* The ID of the Cloud Connect Network (CCN) instance that is associated with the enhanced edge node pool.
|
|
11788
11961
|
*
|
|
@@ -11792,9 +11965,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea
|
|
|
11792
11965
|
ccnId?: string;
|
|
11793
11966
|
/**
|
|
11794
11967
|
* @remarks
|
|
11795
|
-
* This parameter is
|
|
11968
|
+
* This parameter is deprecated.
|
|
11796
11969
|
*
|
|
11797
|
-
* The region
|
|
11970
|
+
* The region to which the CCN instance that is associated with the enhanced edge node pool belongs.
|
|
11798
11971
|
*
|
|
11799
11972
|
* @example
|
|
11800
11973
|
* cn-shanghai
|
|
@@ -11802,7 +11975,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea
|
|
|
11802
11975
|
ccnRegionId?: string;
|
|
11803
11976
|
/**
|
|
11804
11977
|
* @remarks
|
|
11805
|
-
* This parameter is
|
|
11978
|
+
* This parameter is deprecated.
|
|
11806
11979
|
*
|
|
11807
11980
|
* The ID of the Cloud Enterprise Network (CEN) instance that is associated with the enhanced edge node pool.
|
|
11808
11981
|
*
|
|
@@ -11812,9 +11985,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea
|
|
|
11812
11985
|
cenId?: string;
|
|
11813
11986
|
/**
|
|
11814
11987
|
* @remarks
|
|
11815
|
-
* This parameter is
|
|
11988
|
+
* This parameter is deprecated.
|
|
11816
11989
|
*
|
|
11817
|
-
* The subscription duration of the enhanced edge node pool.
|
|
11990
|
+
* The subscription duration of the enhanced edge node pool. The duration is measured in months.
|
|
11818
11991
|
*
|
|
11819
11992
|
* @example
|
|
11820
11993
|
* 1
|
|
@@ -11833,10 +12006,10 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea
|
|
|
11833
12006
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
11834
12007
|
/**
|
|
11835
12008
|
* @remarks
|
|
11836
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After the CloudMonitor agent is installed on ECS nodes, you can view
|
|
12009
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After the CloudMonitor agent is installed on ECS nodes, you can view monitoring information about the instances in the CloudMonitor console. We recommend that you install the CloudMonitor agent. Valid values:
|
|
11837
12010
|
*
|
|
11838
|
-
* * `true
|
|
11839
|
-
* * `false
|
|
12011
|
+
* * `true`: installs the CloudMonitor agent on ECS nodes.
|
|
12012
|
+
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
11840
12013
|
*
|
|
11841
12014
|
* Default value: `false`.
|
|
11842
12015
|
*
|
|
@@ -11846,9 +12019,9 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11846
12019
|
cmsEnabled?: boolean;
|
|
11847
12020
|
/**
|
|
11848
12021
|
* @remarks
|
|
11849
|
-
* The CPU management policy of
|
|
12022
|
+
* The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
11850
12023
|
*
|
|
11851
|
-
* * `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
12024
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
11852
12025
|
* * `none`: specifies that the default CPU affinity is used.
|
|
11853
12026
|
*
|
|
11854
12027
|
* Default value: `none`.
|
|
@@ -11859,17 +12032,17 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11859
12032
|
cpuPolicy?: string;
|
|
11860
12033
|
/**
|
|
11861
12034
|
* @remarks
|
|
11862
|
-
* The labels that you want to add to
|
|
12035
|
+
* The labels that you want to add to nodes in the cluster.
|
|
11863
12036
|
*/
|
|
11864
12037
|
labels?: Tag[];
|
|
11865
12038
|
/**
|
|
11866
12039
|
* @remarks
|
|
11867
12040
|
* The custom node name. A custom node name consists of a prefix, a node IP address, and a suffix.
|
|
11868
12041
|
*
|
|
11869
|
-
* * The prefix and suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A custom node name must start and end with a digit or lowercase letter.
|
|
11870
|
-
* * The node IP address is the
|
|
12042
|
+
* * The prefix and the suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A custom node name must start and end with a digit or lowercase letter.
|
|
12043
|
+
* * The node IP address in a custom node name is the private IP address of the node.
|
|
11871
12044
|
*
|
|
11872
|
-
* Set the parameter to a value
|
|
12045
|
+
* Set the parameter to a value in the customized,aliyun,ip,com format. The value consists of four parts that are separated by commas (,). customized and ip are fixed content. aliyun is the prefix and com is the suffix. Example: aliyun.192.168.xxx.xxx.com.
|
|
11873
12046
|
*
|
|
11874
12047
|
* @example
|
|
11875
12048
|
* customized,aliyun,ip,com
|
|
@@ -11877,7 +12050,13 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11877
12050
|
nodeNameMode?: string;
|
|
11878
12051
|
/**
|
|
11879
12052
|
* @remarks
|
|
11880
|
-
* The container runtime.
|
|
12053
|
+
* The name of the container runtime. The following types of runtime are supported by Container Service for Kubernetes (ACK):
|
|
12054
|
+
*
|
|
12055
|
+
* * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
|
|
12056
|
+
* * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.24 and earlier.
|
|
12057
|
+
* * docker: The Docker runtime supports Kubernetes 1.22 and earlier.
|
|
12058
|
+
*
|
|
12059
|
+
* Default value: containerd.
|
|
11881
12060
|
*
|
|
11882
12061
|
* @example
|
|
11883
12062
|
* docker
|
|
@@ -11893,7 +12072,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11893
12072
|
runtimeVersion?: string;
|
|
11894
12073
|
/**
|
|
11895
12074
|
* @remarks
|
|
11896
|
-
* The
|
|
12075
|
+
* The taints.
|
|
11897
12076
|
*/
|
|
11898
12077
|
taints?: Taint[];
|
|
11899
12078
|
/**
|
|
@@ -11906,7 +12085,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11906
12085
|
unschedulable?: boolean;
|
|
11907
12086
|
/**
|
|
11908
12087
|
* @remarks
|
|
11909
|
-
* The user
|
|
12088
|
+
* The user data on the node.
|
|
11910
12089
|
*
|
|
11911
12090
|
* @example
|
|
11912
12091
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -11927,8 +12106,8 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
11927
12106
|
* @remarks
|
|
11928
12107
|
* Specifies whether to allow node restart. This parameter takes effect only if `auto_repair` is set to true. Valid values:
|
|
11929
12108
|
*
|
|
11930
|
-
* * `true
|
|
11931
|
-
* * `false
|
|
12109
|
+
* * `true`: allows node restart.
|
|
12110
|
+
* * `false`: does not allow node restart.
|
|
11932
12111
|
*
|
|
11933
12112
|
* If `auto_repair` is set to true, the default value of this parameter is `true`. If `auto_repair` is set to false, the default value of this parameter is `false`.
|
|
11934
12113
|
*
|
|
@@ -11951,8 +12130,8 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
11951
12130
|
* @remarks
|
|
11952
12131
|
* Specifies whether to allow auto update of the kubelet. This parameter takes effect only if `auto_upgrade` is set to true. Valid values:
|
|
11953
12132
|
*
|
|
11954
|
-
* * `true
|
|
11955
|
-
* * `false
|
|
12133
|
+
* * `true`: allows auto update of the kubelet.
|
|
12134
|
+
* * `false`: does not allow auto update of the kubelet.
|
|
11956
12135
|
*
|
|
11957
12136
|
* If `auto_upgrade` is set to true, the default value of this parameter is `true`. If `auto_upgrade` is set to false, the default value of this parameter is `false`.
|
|
11958
12137
|
*
|
|
@@ -11962,21 +12141,22 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
11962
12141
|
autoUpgradeKubelet?: boolean;
|
|
11963
12142
|
/**
|
|
11964
12143
|
* @remarks
|
|
11965
|
-
*
|
|
11966
|
-
* - `true`:允许自动升级操作系统。
|
|
11967
|
-
* - `false`:不允许自动升级操作系统。
|
|
12144
|
+
* Specifies whether to allow auto update of the OS. This parameter takes effect only if `auto_upgrade` is set to true. Valid values:
|
|
11968
12145
|
*
|
|
12146
|
+
* * `true`: allows auto update of the OS.
|
|
12147
|
+
* * `false`: does not allow auto update of the OS.
|
|
11969
12148
|
*
|
|
11970
|
-
*
|
|
12149
|
+
* Default value: `false`.
|
|
11971
12150
|
*/
|
|
11972
12151
|
autoUpgradeOs?: boolean;
|
|
11973
12152
|
/**
|
|
11974
12153
|
* @remarks
|
|
11975
|
-
*
|
|
11976
|
-
* - `true`:允许自动升级运行时。
|
|
11977
|
-
* - `false`:不允许自动升级运行时。
|
|
12154
|
+
* Specifies whether to allow auto update of the runtime. This parameter takes effect only if `auto_upgrade` is set to true. Valid values:
|
|
11978
12155
|
*
|
|
11979
|
-
*
|
|
12156
|
+
* * `true`: allows auto update of the runtime.
|
|
12157
|
+
* * `false`: does not allow auto update of the runtime.
|
|
12158
|
+
*
|
|
12159
|
+
* Default value: `false`.
|
|
11980
12160
|
*/
|
|
11981
12161
|
autoUpgradeRuntime?: boolean;
|
|
11982
12162
|
static names(): {
|
|
@@ -11994,8 +12174,8 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
11994
12174
|
* @remarks
|
|
11995
12175
|
* Specifies whether to allow node restart. This parameter takes effect only if `auto_vul_fix` is set to true. Valid values:
|
|
11996
12176
|
*
|
|
11997
|
-
* * `true
|
|
11998
|
-
* * `false
|
|
12177
|
+
* * `true`: allows node restart.
|
|
12178
|
+
* * `false`: does not allow node restart. If `auto_vul_fix` is set to true, the default value of this parameter is `false`. If `auto_vul_fix` is set to false, the default value of this parameter is `false`.
|
|
11999
12179
|
*
|
|
12000
12180
|
* @example
|
|
12001
12181
|
* true
|
|
@@ -12003,11 +12183,11 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
12003
12183
|
restartNode?: boolean;
|
|
12004
12184
|
/**
|
|
12005
12185
|
* @remarks
|
|
12006
|
-
* The
|
|
12186
|
+
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
|
|
12007
12187
|
*
|
|
12008
|
-
* * `asap`: high
|
|
12009
|
-
* * `later`: medium
|
|
12010
|
-
* * `nntf`: low
|
|
12188
|
+
* * `asap`: high.
|
|
12189
|
+
* * `later`: medium.
|
|
12190
|
+
* * `nntf`: low.
|
|
12011
12191
|
*
|
|
12012
12192
|
* If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
|
|
12013
12193
|
*
|
|
@@ -12030,12 +12210,12 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
12030
12210
|
* @remarks
|
|
12031
12211
|
* Specifies whether to enable auto update. Valid values:
|
|
12032
12212
|
*
|
|
12033
|
-
* * `true
|
|
12034
|
-
* * `false
|
|
12213
|
+
* * `true`: enables auto update.
|
|
12214
|
+
* * `false`: disables auto update.
|
|
12035
12215
|
*
|
|
12036
12216
|
* **
|
|
12037
12217
|
*
|
|
12038
|
-
* **
|
|
12218
|
+
* **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter.
|
|
12039
12219
|
*
|
|
12040
12220
|
* @example
|
|
12041
12221
|
* false
|
|
@@ -12055,7 +12235,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
12055
12235
|
maxUnavailable?: number;
|
|
12056
12236
|
/**
|
|
12057
12237
|
* @remarks
|
|
12058
|
-
* The number of additional nodes.
|
|
12238
|
+
* The number of additional nodes that are temporarily added to the node pool during an auto update.
|
|
12059
12239
|
*
|
|
12060
12240
|
* @example
|
|
12061
12241
|
* 0
|
|
@@ -12063,7 +12243,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
12063
12243
|
surge?: number;
|
|
12064
12244
|
/**
|
|
12065
12245
|
* @remarks
|
|
12066
|
-
* The percentage of additional nodes
|
|
12246
|
+
* The percentage of additional nodes that are temporarily added to the node pool during an auto update. You must set this parameter or `surge`.
|
|
12067
12247
|
*
|
|
12068
12248
|
* @example
|
|
12069
12249
|
* 0
|
|
@@ -12084,8 +12264,8 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
12084
12264
|
* @remarks
|
|
12085
12265
|
* Specifies whether to enable auto node repair. This parameter takes effect only if `enable` is set to true.
|
|
12086
12266
|
*
|
|
12087
|
-
* * `true
|
|
12088
|
-
* * `false
|
|
12267
|
+
* * `true`: enables auto node repair.
|
|
12268
|
+
* * `false`: disables auto node repair.
|
|
12089
12269
|
*
|
|
12090
12270
|
* If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
|
|
12091
12271
|
*
|
|
@@ -12102,8 +12282,8 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
12102
12282
|
* @remarks
|
|
12103
12283
|
* Specifies whether to enable auto node update. This parameter takes effect only if `enable` is set to true.
|
|
12104
12284
|
*
|
|
12105
|
-
* * `true
|
|
12106
|
-
* * `false
|
|
12285
|
+
* * `true`: enables auto node update.
|
|
12286
|
+
* * `false`: disables auto node update.
|
|
12107
12287
|
*
|
|
12108
12288
|
* If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
|
|
12109
12289
|
*
|
|
@@ -12118,10 +12298,10 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
12118
12298
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
12119
12299
|
/**
|
|
12120
12300
|
* @remarks
|
|
12121
|
-
* Specifies whether to enable auto CVE patching. This parameter takes effect only if `enable` is set to true.
|
|
12301
|
+
* Specifies whether to enable auto Common Vulnerabilities and Exposures (CVE) patching. This parameter takes effect only if `enable` is set to true.
|
|
12122
12302
|
*
|
|
12123
|
-
* * `true
|
|
12124
|
-
* * `false
|
|
12303
|
+
* * `true`: enables auto CVE patching.
|
|
12304
|
+
* * `false`: disables auto CVE patching.
|
|
12125
12305
|
*
|
|
12126
12306
|
* If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
|
|
12127
12307
|
*
|
|
@@ -12138,10 +12318,10 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
12138
12318
|
* @remarks
|
|
12139
12319
|
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
12140
12320
|
*
|
|
12141
|
-
* * `true
|
|
12142
|
-
* * `false`:
|
|
12321
|
+
* * `true`: enables the managed node pool feature.
|
|
12322
|
+
* * `false`: disables the managed node pool feature. Other parameters in this section take effect only if enable is set to true.
|
|
12143
12323
|
*
|
|
12144
|
-
* Default value: false
|
|
12324
|
+
* Default value: false
|
|
12145
12325
|
*
|
|
12146
12326
|
* @example
|
|
12147
12327
|
* false
|
|
@@ -12149,7 +12329,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
12149
12329
|
enable?: boolean;
|
|
12150
12330
|
/**
|
|
12151
12331
|
* @remarks
|
|
12152
|
-
* The configurations of auto update.
|
|
12332
|
+
* The configurations of auto update. The configurations take effects only if `enable` is set to true.
|
|
12153
12333
|
*
|
|
12154
12334
|
* @deprecated
|
|
12155
12335
|
*/
|
|
@@ -12167,7 +12347,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
12167
12347
|
export declare class CreateClusterNodePoolRequestNodeConfig extends $tea.Model {
|
|
12168
12348
|
/**
|
|
12169
12349
|
* @remarks
|
|
12170
|
-
* The
|
|
12350
|
+
* The configurations of the kubelet.
|
|
12171
12351
|
*/
|
|
12172
12352
|
kubeletConfiguration?: KubeletConfig;
|
|
12173
12353
|
static names(): {
|
|
@@ -12193,7 +12373,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
12193
12373
|
name?: string;
|
|
12194
12374
|
/**
|
|
12195
12375
|
* @remarks
|
|
12196
|
-
* The ID of the resource group. Instances that are added to the node pool belong to this resource group.
|
|
12376
|
+
* The ID of the resource group to which the node pool belongs. Instances that are added to the node pool belong to this resource group.
|
|
12197
12377
|
*
|
|
12198
12378
|
* @example
|
|
12199
12379
|
* rg-acfmyvw3wjmb****
|
|
@@ -12201,9 +12381,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
12201
12381
|
resourceGroupId?: string;
|
|
12202
12382
|
/**
|
|
12203
12383
|
* @remarks
|
|
12204
|
-
* The type of
|
|
12384
|
+
* The type of node pool. Valid values:
|
|
12205
12385
|
*
|
|
12206
|
-
* * `ess`: regular node pool, which supports the managed node pool feature and auto scaling feature.
|
|
12386
|
+
* * `ess`: regular node pool, which supports the managed node pool feature and the auto scaling feature.
|
|
12207
12387
|
* * `edge`: edge node pool.
|
|
12208
12388
|
* * `lingjun`: Lingjun node pool.
|
|
12209
12389
|
*
|
|
@@ -12224,7 +12404,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
12224
12404
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $tea.Model {
|
|
12225
12405
|
/**
|
|
12226
12406
|
* @remarks
|
|
12227
|
-
* The
|
|
12407
|
+
* The private node pool ID.
|
|
12228
12408
|
*
|
|
12229
12409
|
* @example
|
|
12230
12410
|
* eap-bp67acfmxazb4****
|
|
@@ -12232,11 +12412,11 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
12232
12412
|
id?: string;
|
|
12233
12413
|
/**
|
|
12234
12414
|
* @remarks
|
|
12235
|
-
* The type of
|
|
12415
|
+
* The type of private node pool. This parameter specifies the type of private pool that you want to use to create instances. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. The system selects a private pool to start instances. Valid values:
|
|
12236
12416
|
*
|
|
12237
|
-
* * `Open`:
|
|
12238
|
-
* * `Target`:
|
|
12239
|
-
* * `None`:
|
|
12417
|
+
* * `Open`: open private node pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
|
|
12418
|
+
* * `Target`: private node pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
|
|
12419
|
+
* * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
|
|
12240
12420
|
*
|
|
12241
12421
|
* @example
|
|
12242
12422
|
* Open
|
|
@@ -12255,7 +12435,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
12255
12435
|
export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
12256
12436
|
/**
|
|
12257
12437
|
* @remarks
|
|
12258
|
-
* The instance type of preemptible
|
|
12438
|
+
* The instance type of preemptible instances.
|
|
12259
12439
|
*
|
|
12260
12440
|
* @example
|
|
12261
12441
|
* ecs.c6.large
|
|
@@ -12263,7 +12443,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
12263
12443
|
instanceType?: string;
|
|
12264
12444
|
/**
|
|
12265
12445
|
* @remarks
|
|
12266
|
-
* The price cap of a preemptible instance
|
|
12446
|
+
* The price cap of a preemptible instance.
|
|
12267
12447
|
*
|
|
12268
12448
|
* @example
|
|
12269
12449
|
* 0.39
|
|
@@ -12282,7 +12462,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
12282
12462
|
export declare class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
|
|
12283
12463
|
/**
|
|
12284
12464
|
* @remarks
|
|
12285
|
-
* The
|
|
12465
|
+
* The label key.
|
|
12286
12466
|
*
|
|
12287
12467
|
* @example
|
|
12288
12468
|
* node-k-1
|
|
@@ -12290,7 +12470,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $tea.M
|
|
|
12290
12470
|
key?: string;
|
|
12291
12471
|
/**
|
|
12292
12472
|
* @remarks
|
|
12293
|
-
* The
|
|
12473
|
+
* The label value.
|
|
12294
12474
|
*
|
|
12295
12475
|
* @example
|
|
12296
12476
|
* node-v-1
|
|
@@ -12309,12 +12489,12 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $tea.M
|
|
|
12309
12489
|
export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
12310
12490
|
/**
|
|
12311
12491
|
* @remarks
|
|
12312
|
-
* Specifies whether to enable auto-renewal for
|
|
12492
|
+
* 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:
|
|
12313
12493
|
*
|
|
12314
|
-
* * `true
|
|
12315
|
-
* * `false
|
|
12494
|
+
* * `true`: enables auto-renewal.
|
|
12495
|
+
* * `false`: disables auto-renewal.
|
|
12316
12496
|
*
|
|
12317
|
-
* Default value: `
|
|
12497
|
+
* Default value: `false`.
|
|
12318
12498
|
*
|
|
12319
12499
|
* @example
|
|
12320
12500
|
* true
|
|
@@ -12322,7 +12502,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12322
12502
|
autoRenew?: boolean;
|
|
12323
12503
|
/**
|
|
12324
12504
|
* @remarks
|
|
12325
|
-
* The duration of the
|
|
12505
|
+
* The auto-renewal duration of nodes in the node pool. This parameter is available and required only if you set instance_charge_type to PrePaid and auto_renew to true. If `PeriodUnit=Month` is configured, the valid values are 1, 2, 3, 6, and 12.
|
|
12326
12506
|
*
|
|
12327
12507
|
* Default value: 1.
|
|
12328
12508
|
*
|
|
@@ -12332,7 +12512,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12332
12512
|
autoRenewPeriod?: number;
|
|
12333
12513
|
/**
|
|
12334
12514
|
* @remarks
|
|
12335
|
-
*
|
|
12515
|
+
* This parameter is deprecated. Use security_hardening_os instead.
|
|
12336
12516
|
*
|
|
12337
12517
|
* @example
|
|
12338
12518
|
* false
|
|
@@ -12342,10 +12522,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12342
12522
|
cisEnabled?: boolean;
|
|
12343
12523
|
/**
|
|
12344
12524
|
* @remarks
|
|
12345
|
-
* 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
|
|
12525
|
+
* 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 price or insufficient inventory. This parameter takes effect when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
|
|
12346
12526
|
*
|
|
12347
|
-
* * `true
|
|
12348
|
-
* * `false
|
|
12527
|
+
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
12528
|
+
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
12349
12529
|
*
|
|
12350
12530
|
* @example
|
|
12351
12531
|
* true
|
|
@@ -12353,12 +12533,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12353
12533
|
compensateWithOnDemand?: boolean;
|
|
12354
12534
|
/**
|
|
12355
12535
|
* @remarks
|
|
12356
|
-
* The configurations of the data disks that are mounted to
|
|
12536
|
+
* The configurations of the data disks that are mounted to nodes in the node pool.
|
|
12357
12537
|
*/
|
|
12358
12538
|
dataDisks?: DataDisk[];
|
|
12359
12539
|
/**
|
|
12360
12540
|
* @remarks
|
|
12361
|
-
* The deployment set
|
|
12541
|
+
* The ID of the deployment set.
|
|
12362
12542
|
*
|
|
12363
12543
|
* @example
|
|
12364
12544
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -12374,7 +12554,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12374
12554
|
desiredSize?: number;
|
|
12375
12555
|
/**
|
|
12376
12556
|
* @remarks
|
|
12377
|
-
* The custom image ID. By default, the image provided by
|
|
12557
|
+
* The custom image ID. By default, the image provided by ACK is used.
|
|
12378
12558
|
*
|
|
12379
12559
|
* @example
|
|
12380
12560
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -12382,16 +12562,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12382
12562
|
imageId?: string;
|
|
12383
12563
|
/**
|
|
12384
12564
|
* @remarks
|
|
12385
|
-
* The type of the
|
|
12565
|
+
* The type of the OS image. You must specify this parameter or `platform`. Valid values:
|
|
12386
12566
|
*
|
|
12387
|
-
* * `AliyunLinux`:
|
|
12388
|
-
* * `
|
|
12389
|
-
* * `
|
|
12390
|
-
* * `
|
|
12391
|
-
* * `
|
|
12392
|
-
* * `
|
|
12393
|
-
* * `
|
|
12394
|
-
* * `
|
|
12567
|
+
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
12568
|
+
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
12569
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3.
|
|
12570
|
+
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
12571
|
+
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
12572
|
+
* * `CentOS`: CentOS.
|
|
12573
|
+
* * `Windows`: Windows.
|
|
12574
|
+
* * `WindowsCore`: Windows Core.
|
|
12575
|
+
* * `ContainerOS`: ContainerOS.
|
|
12395
12576
|
*
|
|
12396
12577
|
* @example
|
|
12397
12578
|
* AliyunLinux
|
|
@@ -12399,10 +12580,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12399
12580
|
imageType?: string;
|
|
12400
12581
|
/**
|
|
12401
12582
|
* @remarks
|
|
12402
|
-
* The billing method of
|
|
12583
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
12403
12584
|
*
|
|
12404
|
-
* * `PrePaid`: subscription
|
|
12405
|
-
* * `PostPaid`: pay-as-you-go
|
|
12585
|
+
* * `PrePaid`: subscription.
|
|
12586
|
+
* * `PostPaid`: pay-as-you-go.
|
|
12406
12587
|
*
|
|
12407
12588
|
* Default value: `PostPaid`.
|
|
12408
12589
|
*
|
|
@@ -12412,10 +12593,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12412
12593
|
* PrePaid
|
|
12413
12594
|
*/
|
|
12414
12595
|
instanceChargeType?: string;
|
|
12596
|
+
/**
|
|
12597
|
+
* @remarks
|
|
12598
|
+
* The instance attributes.
|
|
12599
|
+
*/
|
|
12415
12600
|
instancePatterns?: InstancePatterns[];
|
|
12416
12601
|
/**
|
|
12417
12602
|
* @remarks
|
|
12418
|
-
* The instance types of nodes in the node pool.
|
|
12603
|
+
* The instance types of nodes in the node pool. When the system adds a node to the node pool, the system selects the most appropriate one from the specified instance types for the node. You can specify 1 to 10 instance types.
|
|
12419
12604
|
*
|
|
12420
12605
|
* > To ensure high availability, we recommend that you specify multiple instance types.
|
|
12421
12606
|
*
|
|
@@ -12424,10 +12609,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12424
12609
|
instanceTypes?: string[];
|
|
12425
12610
|
/**
|
|
12426
12611
|
* @remarks
|
|
12427
|
-
* The
|
|
12612
|
+
* The metering method of the public IP address. Valid values:
|
|
12428
12613
|
*
|
|
12429
|
-
* * PayByBandwidth: pay-by-bandwidth
|
|
12430
|
-
* * PayByTraffic: pay-by-data-transfer
|
|
12614
|
+
* * PayByBandwidth: pay-by-bandwidth.
|
|
12615
|
+
* * PayByTraffic: pay-by-data-transfer.
|
|
12431
12616
|
*
|
|
12432
12617
|
* @example
|
|
12433
12618
|
* PayByTraffic
|
|
@@ -12443,9 +12628,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12443
12628
|
internetMaxBandwidthOut?: number;
|
|
12444
12629
|
/**
|
|
12445
12630
|
* @remarks
|
|
12446
|
-
* The name of the key pair. You must
|
|
12631
|
+
* The name of the key pair used to log on to nodes in the node pool. You must set this parameter or `login_password`.
|
|
12447
12632
|
*
|
|
12448
|
-
* > If you
|
|
12633
|
+
* > If you select ContainerOS as the OS of nodes in the node pool, you must specify `key_pair`.
|
|
12449
12634
|
*
|
|
12450
12635
|
* @example
|
|
12451
12636
|
* np-key-name
|
|
@@ -12453,7 +12638,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12453
12638
|
keyPair?: string;
|
|
12454
12639
|
/**
|
|
12455
12640
|
* @remarks
|
|
12456
|
-
* Specifies whether a non-root user
|
|
12641
|
+
* Specifies whether to allow a non-root user to log on to an ECS instance that is added to the node pool.
|
|
12457
12642
|
*
|
|
12458
12643
|
* @example
|
|
12459
12644
|
* true
|
|
@@ -12461,7 +12646,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12461
12646
|
loginAsNonRoot?: boolean;
|
|
12462
12647
|
/**
|
|
12463
12648
|
* @remarks
|
|
12464
|
-
* The password for SSH logon. You must specify this parameter or
|
|
12649
|
+
* The password for SSH logon. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
12465
12650
|
*
|
|
12466
12651
|
* @example
|
|
12467
12652
|
* Hello1234
|
|
@@ -12471,15 +12656,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12471
12656
|
* @remarks
|
|
12472
12657
|
* The ECS instance scaling policy for the multi-zone scaling group. Valid values:
|
|
12473
12658
|
*
|
|
12474
|
-
* * `PRIORITY`: ECS instances are
|
|
12659
|
+
* * `PRIORITY`: ECS instances are scaled based on the value of VSwitchIds.N. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, the system creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
|
|
12475
12660
|
*
|
|
12476
|
-
* * `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
|
|
12661
|
+
* * `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 set `CompensateWithOnDemand` to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
|
|
12477
12662
|
*
|
|
12478
12663
|
* **
|
|
12479
12664
|
*
|
|
12480
|
-
* **Note** `COST_OPTIMIZED`
|
|
12665
|
+
* **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
12481
12666
|
*
|
|
12482
|
-
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If
|
|
12667
|
+
* * `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](https://help.aliyun.com/document_detail/71516.html) operation of Auto Scaling to evenly distribute the ECS instances among zones.
|
|
12483
12668
|
*
|
|
12484
12669
|
* Default value: `PRIORITY`.
|
|
12485
12670
|
*
|
|
@@ -12505,7 +12690,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12505
12690
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
12506
12691
|
/**
|
|
12507
12692
|
* @remarks
|
|
12508
|
-
* The subscription duration of
|
|
12693
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`.
|
|
12509
12694
|
*
|
|
12510
12695
|
* * If `period_unit` is set to Week, the valid values of `period` are 1, 2, 3, and 4.
|
|
12511
12696
|
* * If `period_unit` is set to Month, the valid values of `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
@@ -12516,7 +12701,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12516
12701
|
period?: number;
|
|
12517
12702
|
/**
|
|
12518
12703
|
* @remarks
|
|
12519
|
-
* The billing cycle of
|
|
12704
|
+
* The billing cycle of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
12520
12705
|
*
|
|
12521
12706
|
* * `Month`: The subscription duration is measured in months.
|
|
12522
12707
|
* * `Week`: The subscription duration is measured in weeks.
|
|
@@ -12529,7 +12714,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12529
12714
|
periodUnit?: string;
|
|
12530
12715
|
/**
|
|
12531
12716
|
* @remarks
|
|
12532
|
-
* The
|
|
12717
|
+
* The OS distribution that is used. Valid values:
|
|
12533
12718
|
*
|
|
12534
12719
|
* * `CentOS`
|
|
12535
12720
|
* * `AliyunLinux`
|
|
@@ -12550,20 +12735,30 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12550
12735
|
*/
|
|
12551
12736
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
12552
12737
|
/**
|
|
12738
|
+
* @remarks
|
|
12739
|
+
* The name of the worker Resource Access Management (RAM) role.
|
|
12740
|
+
*
|
|
12741
|
+
* * If you do not specify this parameter, the default worker RAM role created by the cluster is used.
|
|
12742
|
+
* * The specified RAM role must be a **regular service role** and the **Select Trusted Service** parameter must be set to **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role created by the cluster, the name of the RAM role cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
12743
|
+
*
|
|
12744
|
+
* This parameter is available only to users in the whitelist. To use this parameter, submit a ticket.
|
|
12745
|
+
*
|
|
12746
|
+
* > This parameter is available only for ACK managed clusters that run Kubernetes 1.22 or later.
|
|
12747
|
+
*
|
|
12553
12748
|
* @example
|
|
12554
12749
|
* example-role
|
|
12555
12750
|
*/
|
|
12556
12751
|
ramRoleName?: string;
|
|
12557
12752
|
/**
|
|
12558
12753
|
* @remarks
|
|
12559
|
-
*
|
|
12754
|
+
* A list of ApsaraDB RDS instances.
|
|
12560
12755
|
*/
|
|
12561
12756
|
rdsInstances?: string[];
|
|
12562
12757
|
/**
|
|
12563
12758
|
* @remarks
|
|
12564
12759
|
* The scaling mode of the scaling group. Valid values:
|
|
12565
12760
|
*
|
|
12566
|
-
* * `release`: the standard mode. ECS instances are created and released based on
|
|
12761
|
+
* * `release`: the standard mode. ECS instances are created and released based on resource usage.
|
|
12567
12762
|
* * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
|
|
12568
12763
|
*
|
|
12569
12764
|
* Default value: `release`.
|
|
@@ -12584,22 +12779,22 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12584
12779
|
securityGroupId?: string;
|
|
12585
12780
|
/**
|
|
12586
12781
|
* @remarks
|
|
12587
|
-
* The security
|
|
12782
|
+
* The IDs of security groups. You must specify this parameter or `security_group_id`. We recommend that you specify `security_group_ids`. If you specify both `security_group_id` and `security_group_ids`, `security_group_ids` is used.
|
|
12588
12783
|
*/
|
|
12589
12784
|
securityGroupIds?: string[];
|
|
12590
12785
|
/**
|
|
12591
12786
|
* @remarks
|
|
12592
|
-
*
|
|
12787
|
+
* Specifies whether to enable Alibaba Cloud Linux Security Hardening. Valid values:
|
|
12593
12788
|
*
|
|
12594
|
-
*
|
|
12595
|
-
*
|
|
12789
|
+
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
12790
|
+
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
12596
12791
|
*
|
|
12597
|
-
*
|
|
12792
|
+
* Default value: `false`.
|
|
12598
12793
|
*/
|
|
12599
12794
|
securityHardeningOs?: boolean;
|
|
12600
12795
|
/**
|
|
12601
12796
|
* @remarks
|
|
12602
|
-
* Specifies whether to enable
|
|
12797
|
+
* Specifies whether to enable MLPS Security Hardening. You can enable MLPS Security Hardening only when Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 is installed on nodes. Alibaba Cloud provides standards for baseline checks and a scanner to ensure the compliance of Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images with the level 3 standards of MLPS 2.0.
|
|
12603
12798
|
*
|
|
12604
12799
|
* @example
|
|
12605
12800
|
* false
|
|
@@ -12615,10 +12810,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12615
12810
|
spotInstancePools?: number;
|
|
12616
12811
|
/**
|
|
12617
12812
|
* @remarks
|
|
12618
|
-
* Specifies whether to
|
|
12813
|
+
* Specifies whether to supplement preemptible instances. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group creates a new instance to replace this instance. Valid values:
|
|
12619
12814
|
*
|
|
12620
|
-
* * `true
|
|
12621
|
-
* * `false
|
|
12815
|
+
* * `true`: supplements preemptible instances.
|
|
12816
|
+
* * `false`: does not supplement preemptible instances.
|
|
12622
12817
|
*
|
|
12623
12818
|
* @example
|
|
12624
12819
|
* false
|
|
@@ -12626,7 +12821,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12626
12821
|
spotInstanceRemedy?: boolean;
|
|
12627
12822
|
/**
|
|
12628
12823
|
* @remarks
|
|
12629
|
-
* The instance type of preemptible
|
|
12824
|
+
* The instance type of preemptible instances and the price cap for the instance type.
|
|
12630
12825
|
*/
|
|
12631
12826
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
12632
12827
|
/**
|
|
@@ -12637,7 +12832,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12637
12832
|
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
12638
12833
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
12639
12834
|
*
|
|
12640
|
-
* For more information, see [
|
|
12835
|
+
* For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/165053.html).
|
|
12641
12836
|
*
|
|
12642
12837
|
* @example
|
|
12643
12838
|
* NoSpot
|
|
@@ -12647,10 +12842,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12647
12842
|
* @remarks
|
|
12648
12843
|
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
12649
12844
|
*
|
|
12650
|
-
* * true
|
|
12651
|
-
* * false
|
|
12845
|
+
* * true: enables the burst feature.
|
|
12846
|
+
* * false: disables the burst feature.
|
|
12652
12847
|
*
|
|
12653
|
-
* This parameter is available only
|
|
12848
|
+
* This parameter is available only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
12654
12849
|
*
|
|
12655
12850
|
* @example
|
|
12656
12851
|
* true
|
|
@@ -12658,16 +12853,26 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12658
12853
|
systemDiskBurstingEnabled?: boolean;
|
|
12659
12854
|
/**
|
|
12660
12855
|
* @remarks
|
|
12661
|
-
* The system disk types. The system
|
|
12856
|
+
* The system disk types. The system creates system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values:
|
|
12857
|
+
*
|
|
12858
|
+
* * `cloud`: basic disk.
|
|
12859
|
+
* * `cloud_efficiency`: ultra disk.
|
|
12860
|
+
* * `cloud_ssd`: standard SSD.
|
|
12861
|
+
* * `cloud_essd`: ESSD.
|
|
12862
|
+
* * `cloud_auto`: ESSD AutoPL disk.
|
|
12863
|
+
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
12662
12864
|
*/
|
|
12663
12865
|
systemDiskCategories?: string[];
|
|
12664
12866
|
/**
|
|
12665
12867
|
* @remarks
|
|
12666
12868
|
* The system disk type. Valid values:
|
|
12667
12869
|
*
|
|
12668
|
-
* * `
|
|
12669
|
-
* * `
|
|
12670
|
-
* * `
|
|
12870
|
+
* * `cloud`: basic disk.
|
|
12871
|
+
* * `cloud_efficiency`: ultra disk.
|
|
12872
|
+
* * `cloud_ssd`: standard SSD.
|
|
12873
|
+
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
12874
|
+
* * `cloud_auto`: ESSD AutoPL disk.
|
|
12875
|
+
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
12671
12876
|
*
|
|
12672
12877
|
* Default value: `cloud_efficiency`.
|
|
12673
12878
|
*
|
|
@@ -12685,7 +12890,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12685
12890
|
systemDiskEncryptAlgorithm?: string;
|
|
12686
12891
|
/**
|
|
12687
12892
|
* @remarks
|
|
12688
|
-
* Specifies whether to encrypt the system disk. Valid values: true false
|
|
12893
|
+
* Specifies whether to encrypt the system disk. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
|
|
12689
12894
|
*
|
|
12690
12895
|
* @example
|
|
12691
12896
|
* false
|
|
@@ -12701,14 +12906,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12701
12906
|
systemDiskKmsKeyId?: string;
|
|
12702
12907
|
/**
|
|
12703
12908
|
* @remarks
|
|
12704
|
-
* The performance level (PL) of the system disk. This parameter takes effect only for an ESSD.
|
|
12909
|
+
* The performance level (PL) of the system disk. This parameter takes effect only for an ESSD.
|
|
12705
12910
|
*
|
|
12706
|
-
* * PL0: moderate maximum concurrent I/O performance and low I/O latency
|
|
12707
|
-
* * PL1: moderate maximum concurrent I/O performance and low I/O latency
|
|
12708
|
-
* * PL2: high maximum concurrent I/O performance and low I/O latency
|
|
12709
|
-
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency
|
|
12911
|
+
* * PL0: moderate maximum concurrent I/O performance and low I/O latency.
|
|
12912
|
+
* * PL1: moderate maximum concurrent I/O performance and low I/O latency.
|
|
12913
|
+
* * PL2: high maximum concurrent I/O performance and low I/O latency.
|
|
12914
|
+
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
12710
12915
|
*
|
|
12711
|
-
* > Disks support all of the preceding PLs. However, when you create a disk, the available PLs vary based on the
|
|
12916
|
+
* > Disks support all of the preceding PLs. However, when you create a disk, the available PLs vary based on the ECS instance type that you selected. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
12712
12917
|
*
|
|
12713
12918
|
* @example
|
|
12714
12919
|
* PL1
|
|
@@ -12716,9 +12921,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12716
12921
|
systemDiskPerformanceLevel?: string;
|
|
12717
12922
|
/**
|
|
12718
12923
|
* @remarks
|
|
12719
|
-
* The preset IOPS of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}
|
|
12924
|
+
* The preset read/write IOPS of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS} Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
12720
12925
|
*
|
|
12721
|
-
* This parameter is available only
|
|
12926
|
+
* This parameter is available only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
12722
12927
|
*
|
|
12723
12928
|
* @example
|
|
12724
12929
|
* 1000
|
|
@@ -12728,7 +12933,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12728
12933
|
* @remarks
|
|
12729
12934
|
* The size of the system disk. Unit: GiB.
|
|
12730
12935
|
*
|
|
12731
|
-
* Valid values: 20 to
|
|
12936
|
+
* Valid values: 20 to 20248.
|
|
12732
12937
|
*
|
|
12733
12938
|
* @example
|
|
12734
12939
|
* 120
|
|
@@ -12736,16 +12941,16 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12736
12941
|
systemDiskSize?: number;
|
|
12737
12942
|
/**
|
|
12738
12943
|
* @remarks
|
|
12739
|
-
* The
|
|
12944
|
+
* The labels that you want to add only to ECS instances.
|
|
12740
12945
|
*
|
|
12741
|
-
* The
|
|
12946
|
+
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: and cannot contain https:// or http://.
|
|
12742
12947
|
*/
|
|
12743
12948
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
12744
12949
|
/**
|
|
12745
12950
|
* @remarks
|
|
12746
|
-
*
|
|
12951
|
+
* The vSwitch IDs. You can specify one to eight vSwitch IDs.
|
|
12747
12952
|
*
|
|
12748
|
-
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
12953
|
+
* > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
|
|
12749
12954
|
*
|
|
12750
12955
|
* This parameter is required.
|
|
12751
12956
|
*/
|
|
@@ -12833,7 +13038,7 @@ export declare class DeleteClusterRequestDeleteOptions extends $tea.Model {
|
|
|
12833
13038
|
deleteMode?: string;
|
|
12834
13039
|
/**
|
|
12835
13040
|
* @remarks
|
|
12836
|
-
* Valid values:
|
|
13041
|
+
* The type of the resource. Valid values:
|
|
12837
13042
|
*
|
|
12838
13043
|
* * SLB: SLB resources created for Services. By default, the SLB resources are automatically deleted.
|
|
12839
13044
|
* * ALB: Application Load Balancer (ALB) resources created by the ALB Ingress controller. By default, the ALB resources are retained.
|
|
@@ -14975,7 +15180,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
14975
15180
|
privatePoolOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions;
|
|
14976
15181
|
/**
|
|
14977
15182
|
* @remarks
|
|
14978
|
-
*
|
|
15183
|
+
* This field is deprecated and replaced by the ram_role_name parameter.
|
|
14979
15184
|
*
|
|
14980
15185
|
* @example
|
|
14981
15186
|
* KubernetesWorkerRole-021dc54f-929b-437a-8ae0-34c24d3e****
|
|
@@ -15023,15 +15228,6 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15023
15228
|
* The IDs of security groups for the node pool.
|
|
15024
15229
|
*/
|
|
15025
15230
|
securityGroupIds?: string[];
|
|
15026
|
-
/**
|
|
15027
|
-
* @remarks
|
|
15028
|
-
* 阿里云OS安全加固。取值:
|
|
15029
|
-
*
|
|
15030
|
-
* - `true`:开启阿里云OS安全加固。
|
|
15031
|
-
* - `false`:不开启阿里云OS安全加固。
|
|
15032
|
-
*
|
|
15033
|
-
* 默认值:`false`。
|
|
15034
|
-
*/
|
|
15035
15231
|
securityHardeningOs?: boolean;
|
|
15036
15232
|
/**
|
|
15037
15233
|
* @remarks
|
|
@@ -15334,7 +15530,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.
|
|
|
15334
15530
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
15335
15531
|
/**
|
|
15336
15532
|
* @remarks
|
|
15337
|
-
* The
|
|
15533
|
+
* The configuration of the scaling group.
|
|
15338
15534
|
*/
|
|
15339
15535
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
15340
15536
|
/**
|
|
@@ -15746,11 +15942,11 @@ export declare class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
15746
15942
|
deleteBehavior?: DescribeClusterResourcesResponseBodyDeleteBehavior;
|
|
15747
15943
|
/**
|
|
15748
15944
|
* @remarks
|
|
15749
|
-
* The
|
|
15945
|
+
* The resource creator. Valid values:
|
|
15750
15946
|
*
|
|
15751
|
-
* * user:
|
|
15752
|
-
* * system:
|
|
15753
|
-
* * addon:
|
|
15947
|
+
* * user: The resource is created by the user.
|
|
15948
|
+
* * system: The resource is created by the ACK management system.
|
|
15949
|
+
* * addon: The resource is created by a cluster component.
|
|
15754
15950
|
*
|
|
15755
15951
|
* @example
|
|
15756
15952
|
* addon
|
|
@@ -16045,10 +16241,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16045
16241
|
clusterId?: string;
|
|
16046
16242
|
/**
|
|
16047
16243
|
* @remarks
|
|
16048
|
-
*
|
|
16244
|
+
* After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition of the cluster. Valid values:
|
|
16049
16245
|
*
|
|
16050
|
-
* * `ack.pro.small`: ACK Pro cluster
|
|
16051
|
-
* * `ack.standard`: ACK Basic cluster
|
|
16246
|
+
* * `ack.pro.small`: ACK Pro cluster.
|
|
16247
|
+
* * `ack.standard`: ACK Basic cluster. If you leave the parameter empty, ACK Basic cluster is selected.
|
|
16052
16248
|
*
|
|
16053
16249
|
* @example
|
|
16054
16250
|
* ack.standard
|
|
@@ -16056,12 +16252,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16056
16252
|
clusterSpec?: string;
|
|
16057
16253
|
/**
|
|
16058
16254
|
* @remarks
|
|
16059
|
-
*
|
|
16060
|
-
*
|
|
16061
|
-
* * `
|
|
16062
|
-
* * `ManagedKubernetes`: ACK managed cluster
|
|
16063
|
-
* * `Ask`: ACK Serverless cluster
|
|
16064
|
-
* * `ExternalKubernetes`: registered cluster
|
|
16255
|
+
* * `Kubernetes`: ACK dedicated cluster.
|
|
16256
|
+
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters.
|
|
16257
|
+
* * `ExternalKubernetes`: registered cluster.
|
|
16065
16258
|
*
|
|
16066
16259
|
* @example
|
|
16067
16260
|
* Kubernetes
|
|
@@ -16085,10 +16278,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16085
16278
|
currentVersion?: string;
|
|
16086
16279
|
/**
|
|
16087
16280
|
* @remarks
|
|
16088
|
-
*
|
|
16281
|
+
* Specifies whether to enable cluster deletion protection. If this option is enabled, the cluster cannot be deleted in the ACK console or by calling API operations. Valid values:
|
|
16089
16282
|
*
|
|
16090
|
-
* * `true`:
|
|
16091
|
-
* * `false`:
|
|
16283
|
+
* * `true`: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the ACK console or by calling API operations.
|
|
16284
|
+
* * `false`: disables deletion protection for the cluster. This way, the cluster can be deleted in the ACK console or by calling API operations.
|
|
16092
16285
|
*
|
|
16093
16286
|
* @example
|
|
16094
16287
|
* true
|
|
@@ -16104,7 +16297,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16104
16297
|
dockerVersion?: string;
|
|
16105
16298
|
/**
|
|
16106
16299
|
* @remarks
|
|
16107
|
-
* The ID of the Server Load Balancer (SLB) instance that is used by the
|
|
16300
|
+
* The ID of the Server Load Balancer (SLB) instance that is used by the Ingresses of the cluster.
|
|
16108
16301
|
*
|
|
16109
16302
|
* The default SLB specification is slb.s1.small, which belongs to the high-performance instance type.
|
|
16110
16303
|
*
|
|
@@ -16114,9 +16307,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16114
16307
|
externalLoadbalancerId?: string;
|
|
16115
16308
|
/**
|
|
16116
16309
|
* @remarks
|
|
16117
|
-
* The Kubernetes version of the cluster. The Kubernetes versions supported by ACK are the same as the versions
|
|
16310
|
+
* The Kubernetes version of the cluster. The Kubernetes versions supported by ACK are the same as the Kubernetes versions supported by open source Kubernetes. We recommend that you specify the latest Kubernetes version. If you do not configure this parameter, the latest Kubernetes version is used.
|
|
16118
16311
|
*
|
|
16119
|
-
* You can create clusters
|
|
16312
|
+
* You can create clusters that run the latest two Kubernetes versions in the ACK console. You can call the API operation to create clusters of other Kubernetes versions. For more information about the Kubernetes versions supported by ACK, see [Release notes for Kubernetes versions](https://help.aliyun.com/document_detail/185269.html).
|
|
16120
16313
|
*
|
|
16121
16314
|
* @example
|
|
16122
16315
|
* 1.16.9-aliyun.1
|
|
@@ -16124,12 +16317,12 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16124
16317
|
initVersion?: string;
|
|
16125
16318
|
/**
|
|
16126
16319
|
* @remarks
|
|
16127
|
-
* The maintenance window of the cluster. This feature is available only for ACK
|
|
16320
|
+
* The maintenance window of the cluster. This feature is available only for ACK managed clusters and ACK Serverless clusters.
|
|
16128
16321
|
*/
|
|
16129
16322
|
maintenanceWindow?: MaintenanceWindow;
|
|
16130
16323
|
/**
|
|
16131
16324
|
* @remarks
|
|
16132
|
-
* The
|
|
16325
|
+
* The address of the cluster API server. It includes an internal endpoint and a public endpoint.
|
|
16133
16326
|
*
|
|
16134
16327
|
* @example
|
|
16135
16328
|
* {\\"api_server_endpoint\\":\\"\\",\\"intranet_api_server_endpoint\\":\\"https://192.168.0.251:6443\\"}
|
|
@@ -16147,7 +16340,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16147
16340
|
* @remarks
|
|
16148
16341
|
* The cluster name.
|
|
16149
16342
|
*
|
|
16150
|
-
* The name must be 1 to 63 characters in length and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
|
|
16343
|
+
* The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
|
|
16151
16344
|
*
|
|
16152
16345
|
* @example
|
|
16153
16346
|
* cluster-demo
|
|
@@ -16157,9 +16350,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16157
16350
|
* @remarks
|
|
16158
16351
|
* The network mode of the cluster. Valid values:
|
|
16159
16352
|
*
|
|
16160
|
-
* * `classic`: classic network
|
|
16161
|
-
* * `vpc`: virtual private cloud (VPC)
|
|
16162
|
-
* * `overlay`: overlay network
|
|
16353
|
+
* * `classic`: classic network.
|
|
16354
|
+
* * `vpc`: virtual private cloud (VPC).
|
|
16355
|
+
* * `overlay`: overlay network.
|
|
16163
16356
|
* * `calico`: network powered by Calico.
|
|
16164
16357
|
*
|
|
16165
16358
|
* @example
|
|
@@ -16189,8 +16382,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16189
16382
|
* @remarks
|
|
16190
16383
|
* The cluster identifier. Valid values:
|
|
16191
16384
|
*
|
|
16192
|
-
* * `
|
|
16193
|
-
* * `
|
|
16385
|
+
* * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
16386
|
+
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
16387
|
+
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
16388
|
+
* * `Lingjun`: ACK Lingjun Pro cluster.
|
|
16194
16389
|
*
|
|
16195
16390
|
* @example
|
|
16196
16391
|
* Default
|
|
@@ -16214,7 +16409,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16214
16409
|
resourceGroupId?: string;
|
|
16215
16410
|
/**
|
|
16216
16411
|
* @remarks
|
|
16217
|
-
* The ID of the security group
|
|
16412
|
+
* The ID of the security group of the cluster.
|
|
16218
16413
|
*
|
|
16219
16414
|
* @example
|
|
16220
16415
|
* sg-2vcgwsrwgt5mp0yi****
|
|
@@ -16255,9 +16450,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16255
16450
|
* * 172.16-31.0.0/12-16
|
|
16256
16451
|
* * 192.168.0.0/16
|
|
16257
16452
|
*
|
|
16258
|
-
* The CIDR block
|
|
16453
|
+
* The pod CIDR block cannot overlap with the CIDR block of the VPC in which the cluster is deployed and the CIDR blocks of existing clusters in the VPC. You cannot modify the pod CIDR block after you create the cluster.
|
|
16259
16454
|
*
|
|
16260
|
-
* For more information, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/86500.html).
|
|
16455
|
+
* For more information about the network planning of ACK clusters, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/86500.html).
|
|
16261
16456
|
*
|
|
16262
16457
|
* @example
|
|
16263
16458
|
* 172.21.0.0/16
|
|
@@ -16294,7 +16489,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16294
16489
|
vswitchId?: string;
|
|
16295
16490
|
/**
|
|
16296
16491
|
* @remarks
|
|
16297
|
-
* The name of the worker Resource Access Management (RAM) role. The RAM role is assigned to the worker nodes of the cluster to allow the worker nodes to manage
|
|
16492
|
+
* The name of the worker Resource Access Management (RAM) role. The RAM role is assigned to the worker nodes of the cluster to allow the worker nodes to manage ECS instances.
|
|
16298
16493
|
*
|
|
16299
16494
|
* @example
|
|
16300
16495
|
* KubernetesWorkerRole-ec87d15b-edca-4302-933f-c8a16bf0****
|
|
@@ -16302,7 +16497,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16302
16497
|
workerRamRoleName?: string;
|
|
16303
16498
|
/**
|
|
16304
16499
|
* @remarks
|
|
16305
|
-
* The zone
|
|
16500
|
+
* The ID of the zone where the cluster is deployed.
|
|
16306
16501
|
*
|
|
16307
16502
|
* @example
|
|
16308
16503
|
* cn-beijing-b
|
|
@@ -16764,7 +16959,7 @@ export declare class DescribeKubernetesVersionMetadataResponseBodyImages extends
|
|
|
16764
16959
|
imageType?: string;
|
|
16765
16960
|
/**
|
|
16766
16961
|
* @remarks
|
|
16767
|
-
* The type of
|
|
16962
|
+
* The type of OS. Examples:
|
|
16768
16963
|
*
|
|
16769
16964
|
* * `Windows`
|
|
16770
16965
|
* * `Linux`
|
|
@@ -16831,7 +17026,7 @@ export declare class DescribeKubernetesVersionMetadataResponseBody extends $tea.
|
|
|
16831
17026
|
runtimes?: Runtime[];
|
|
16832
17027
|
/**
|
|
16833
17028
|
* @remarks
|
|
16834
|
-
* The Kubernetes version
|
|
17029
|
+
* The Kubernetes version supported by ACK. For more information, see [Release notes for Kubernetes versions](https://help.aliyun.com/document_detail/185269.html).
|
|
16835
17030
|
*
|
|
16836
17031
|
* @example
|
|
16837
17032
|
* 1.16.9-aliyun.1
|
|
@@ -16861,6 +17056,10 @@ export declare class DescribeKubernetesVersionMetadataResponseBody extends $tea.
|
|
|
16861
17056
|
* true
|
|
16862
17057
|
*/
|
|
16863
17058
|
creatable?: boolean;
|
|
17059
|
+
/**
|
|
17060
|
+
* @remarks
|
|
17061
|
+
* The list of available versions for updates.
|
|
17062
|
+
*/
|
|
16864
17063
|
upgradableVersions?: string[];
|
|
16865
17064
|
static names(): {
|
|
16866
17065
|
[key: string]: string;
|
|
@@ -17367,7 +17566,7 @@ export declare class DescribePolicyInstancesResponseBody extends $tea.Model {
|
|
|
17367
17566
|
export declare class DescribePolicyInstancesStatusResponseBodyPolicyInstances extends $tea.Model {
|
|
17368
17567
|
/**
|
|
17369
17568
|
* @remarks
|
|
17370
|
-
* The policy
|
|
17569
|
+
* The type of the policy. For more information about different types of policies and their descriptions, see [Predefined security policies of ACK](https://help.aliyun.com/document_detail/359819.html).
|
|
17371
17570
|
*
|
|
17372
17571
|
* @example
|
|
17373
17572
|
* compliance
|
|
@@ -18051,9 +18250,9 @@ export declare class DescribeUserPermissionResponseBody extends $tea.Model {
|
|
|
18051
18250
|
export declare class DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota extends $tea.Model {
|
|
18052
18251
|
/**
|
|
18053
18252
|
* @remarks
|
|
18054
|
-
* This parameter is
|
|
18253
|
+
* This parameter is discontinued.
|
|
18055
18254
|
*
|
|
18056
|
-
* The maximum bandwidth of each enhanced node pool. Unit: Mbit/s.
|
|
18255
|
+
* The maximum bandwidth of each enhanced edge node pool. Unit: Mbit/s.
|
|
18057
18256
|
*
|
|
18058
18257
|
* @example
|
|
18059
18258
|
* 10
|
|
@@ -18061,9 +18260,9 @@ export declare class DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota exte
|
|
|
18061
18260
|
bandwidth?: number;
|
|
18062
18261
|
/**
|
|
18063
18262
|
* @remarks
|
|
18064
|
-
* This parameter is
|
|
18263
|
+
* This parameter is discontinued.
|
|
18065
18264
|
*
|
|
18066
|
-
* The
|
|
18265
|
+
* The maximum number of enhanced edge node pools that you can create within an Alibaba Cloud account.
|
|
18067
18266
|
*
|
|
18068
18267
|
* @example
|
|
18069
18268
|
* 3
|
|
@@ -18071,11 +18270,11 @@ export declare class DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota exte
|
|
|
18071
18270
|
count?: number;
|
|
18072
18271
|
/**
|
|
18073
18272
|
* @remarks
|
|
18074
|
-
* This parameter is
|
|
18273
|
+
* This parameter is discontinued.
|
|
18075
18274
|
*
|
|
18076
18275
|
* The maximum subscription duration of an enhanced edge node pool. Unit: months.
|
|
18077
18276
|
*
|
|
18078
|
-
* >
|
|
18277
|
+
* > You are charged for enhanced edge node pools based on the pay-as-you-go billing method. Therefore, you can ignore this parameter.
|
|
18079
18278
|
*
|
|
18080
18279
|
* @example
|
|
18081
18280
|
* 3
|
|
@@ -18190,41 +18389,71 @@ export declare class GetClusterAddonInstanceResponseBodyLogging extends $tea.Mod
|
|
|
18190
18389
|
}
|
|
18191
18390
|
export declare class GetClusterDiagnosisCheckItemsResponseBodyCheckItems extends $tea.Model {
|
|
18192
18391
|
/**
|
|
18392
|
+
* @remarks
|
|
18393
|
+
* The description.
|
|
18394
|
+
*
|
|
18193
18395
|
* @example
|
|
18194
18396
|
* Check whether the node can access host dns service
|
|
18195
18397
|
*/
|
|
18196
18398
|
desc?: string;
|
|
18197
18399
|
/**
|
|
18400
|
+
* @remarks
|
|
18401
|
+
* The display name.
|
|
18402
|
+
*
|
|
18198
18403
|
* @example
|
|
18199
18404
|
* HostDNS
|
|
18200
18405
|
*/
|
|
18201
18406
|
display?: string;
|
|
18202
18407
|
/**
|
|
18408
|
+
* @remarks
|
|
18409
|
+
* The name of the group to which the check item belongs.
|
|
18410
|
+
*
|
|
18203
18411
|
* @example
|
|
18204
18412
|
* Node
|
|
18205
18413
|
*/
|
|
18206
18414
|
group?: string;
|
|
18207
18415
|
/**
|
|
18416
|
+
* @remarks
|
|
18417
|
+
* The severity level of the check result.
|
|
18418
|
+
*
|
|
18419
|
+
* Valid values:
|
|
18420
|
+
*
|
|
18421
|
+
* * normal
|
|
18422
|
+
* * warning
|
|
18423
|
+
* * error
|
|
18424
|
+
*
|
|
18208
18425
|
* @example
|
|
18209
18426
|
* normal
|
|
18210
18427
|
*/
|
|
18211
18428
|
level?: string;
|
|
18212
18429
|
/**
|
|
18430
|
+
* @remarks
|
|
18431
|
+
* The check result.
|
|
18432
|
+
*
|
|
18213
18433
|
* @example
|
|
18214
18434
|
* success
|
|
18215
18435
|
*/
|
|
18216
18436
|
message?: string;
|
|
18217
18437
|
/**
|
|
18438
|
+
* @remarks
|
|
18439
|
+
* The name of the check item.
|
|
18440
|
+
*
|
|
18218
18441
|
* @example
|
|
18219
18442
|
* HostDNS
|
|
18220
18443
|
*/
|
|
18221
18444
|
name?: string;
|
|
18222
18445
|
/**
|
|
18446
|
+
* @remarks
|
|
18447
|
+
* The reference value.
|
|
18448
|
+
*
|
|
18223
18449
|
* @example
|
|
18224
18450
|
* True
|
|
18225
18451
|
*/
|
|
18226
18452
|
refer?: string;
|
|
18227
18453
|
/**
|
|
18454
|
+
* @remarks
|
|
18455
|
+
* The value of the check item.
|
|
18456
|
+
*
|
|
18228
18457
|
* @example
|
|
18229
18458
|
* True
|
|
18230
18459
|
*/
|
|
@@ -18680,7 +18909,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyPage extends $tea.Mo
|
|
|
18680
18909
|
export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.Model {
|
|
18681
18910
|
/**
|
|
18682
18911
|
* @remarks
|
|
18683
|
-
* The
|
|
18912
|
+
* The displayed name or role name of the RAM user.
|
|
18684
18913
|
*
|
|
18685
18914
|
* @example
|
|
18686
18915
|
* tom
|
|
@@ -18696,7 +18925,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.
|
|
|
18696
18925
|
accountId?: string;
|
|
18697
18926
|
/**
|
|
18698
18927
|
* @remarks
|
|
18699
|
-
* The name of the
|
|
18928
|
+
* The logon name or role name of the RAM user.
|
|
18700
18929
|
*
|
|
18701
18930
|
* @example
|
|
18702
18931
|
* tom
|
|
@@ -18704,7 +18933,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.
|
|
|
18704
18933
|
accountName?: string;
|
|
18705
18934
|
/**
|
|
18706
18935
|
* @remarks
|
|
18707
|
-
* The status of the account.
|
|
18936
|
+
* The status of the account.
|
|
18708
18937
|
*
|
|
18709
18938
|
* * Active: The account is active.
|
|
18710
18939
|
* * InActive: The account is locked.
|
|
@@ -18716,7 +18945,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.
|
|
|
18716
18945
|
accountState?: string;
|
|
18717
18946
|
/**
|
|
18718
18947
|
* @remarks
|
|
18719
|
-
* The type of the account.
|
|
18948
|
+
* The type of the account.
|
|
18720
18949
|
*
|
|
18721
18950
|
* * RootAccount: Alibaba Cloud account.
|
|
18722
18951
|
* * RamUser: RAM user.
|
|
@@ -18728,7 +18957,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.
|
|
|
18728
18957
|
accountType?: string;
|
|
18729
18958
|
/**
|
|
18730
18959
|
* @remarks
|
|
18731
|
-
*
|
|
18960
|
+
* The expiration time of the client certificate for the kubeconfig file.
|
|
18732
18961
|
*
|
|
18733
18962
|
* @example
|
|
18734
18963
|
* 2027-07-15T01:32:20Z
|
|
@@ -18736,7 +18965,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.
|
|
|
18736
18965
|
certExpireTime?: string;
|
|
18737
18966
|
/**
|
|
18738
18967
|
* @remarks
|
|
18739
|
-
* The status of the certificate.
|
|
18968
|
+
* The status of the client certificate for the kubeconfig file.
|
|
18740
18969
|
*
|
|
18741
18970
|
* * Unexpired: The certificate is not expired.
|
|
18742
18971
|
* * Expired: The certificate is expired.
|
|
@@ -18748,7 +18977,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.
|
|
|
18748
18977
|
certState?: string;
|
|
18749
18978
|
/**
|
|
18750
18979
|
* @remarks
|
|
18751
|
-
* Indicates whether the certificate can be revoked.
|
|
18980
|
+
* Indicates whether the client certificate for the kubeconfig file can be revoked.
|
|
18752
18981
|
*
|
|
18753
18982
|
* @example
|
|
18754
18983
|
* true
|
|
@@ -19020,10 +19249,20 @@ export declare class ListUserKubeConfigStatesResponseBodyStates extends $tea.Mod
|
|
|
19020
19249
|
}
|
|
19021
19250
|
export declare class ModifyClusterRequestApiServerCustomCertSans extends $tea.Model {
|
|
19022
19251
|
/**
|
|
19252
|
+
* @remarks
|
|
19253
|
+
* Specifies whether to overwrite or add SANs. Valid values:
|
|
19254
|
+
*
|
|
19255
|
+
* * overwrite: overwrites SANs.
|
|
19256
|
+
* * append: adds SANs.
|
|
19257
|
+
*
|
|
19023
19258
|
* @example
|
|
19024
19259
|
* append
|
|
19025
19260
|
*/
|
|
19026
19261
|
action?: string;
|
|
19262
|
+
/**
|
|
19263
|
+
* @remarks
|
|
19264
|
+
* The SANs.
|
|
19265
|
+
*/
|
|
19027
19266
|
subjectAlternativeNames?: string[];
|
|
19028
19267
|
static names(): {
|
|
19029
19268
|
[key: string]: string;
|
|
@@ -19037,11 +19276,21 @@ export declare class ModifyClusterRequestApiServerCustomCertSans extends $tea.Mo
|
|
|
19037
19276
|
}
|
|
19038
19277
|
export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
19039
19278
|
/**
|
|
19279
|
+
* @remarks
|
|
19280
|
+
* The frequency of auto cluster updates. Valid values:
|
|
19281
|
+
*
|
|
19282
|
+
* * patch
|
|
19283
|
+
* * stable
|
|
19284
|
+
* * rapid
|
|
19285
|
+
*
|
|
19040
19286
|
* @example
|
|
19041
19287
|
* patch
|
|
19042
19288
|
*/
|
|
19043
19289
|
channel?: string;
|
|
19044
19290
|
/**
|
|
19291
|
+
* @remarks
|
|
19292
|
+
* Specifies whether to enable auto cluster update.
|
|
19293
|
+
*
|
|
19045
19294
|
* @example
|
|
19046
19295
|
* true
|
|
19047
19296
|
*/
|
|
@@ -19057,6 +19306,10 @@ export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
19057
19306
|
});
|
|
19058
19307
|
}
|
|
19059
19308
|
export declare class ModifyClusterRequestOperationPolicy extends $tea.Model {
|
|
19309
|
+
/**
|
|
19310
|
+
* @remarks
|
|
19311
|
+
* The configurations of auto cluster update.
|
|
19312
|
+
*/
|
|
19060
19313
|
clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
19061
19314
|
static names(): {
|
|
19062
19315
|
[key: string]: string;
|
|
@@ -19079,7 +19332,7 @@ export declare class ModifyClusterRequestSystemEventsLogging extends $tea.Model
|
|
|
19079
19332
|
enabled?: boolean;
|
|
19080
19333
|
/**
|
|
19081
19334
|
* @remarks
|
|
19082
|
-
* The name of the
|
|
19335
|
+
* The name of the Simple Log Service project that stores system events.
|
|
19083
19336
|
*
|
|
19084
19337
|
* @example
|
|
19085
19338
|
* k8s-log-cb95aa626a47740afbf6aa099b65****
|
|
@@ -19159,7 +19412,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19159
19412
|
eipBandwidth?: number;
|
|
19160
19413
|
/**
|
|
19161
19414
|
* @remarks
|
|
19162
|
-
* The metering method of the EIP. Valid values:
|
|
19415
|
+
* The metering method of the elastic IP address (EIP). Valid values:
|
|
19163
19416
|
*
|
|
19164
19417
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
19165
19418
|
* * `PayByTraffic`: pay-by-data-transfer.
|
|
@@ -19187,10 +19440,10 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19187
19440
|
enable?: boolean;
|
|
19188
19441
|
/**
|
|
19189
19442
|
* @remarks
|
|
19190
|
-
* Specifies whether to associate an
|
|
19443
|
+
* Specifies whether to associate an EIP with the node pool. Valid values:
|
|
19191
19444
|
*
|
|
19192
19445
|
* * `true`: associates an EIP with the node pool.
|
|
19193
|
-
* * `false`:
|
|
19446
|
+
* * `false`: No EIP is associated with the node pool.
|
|
19194
19447
|
*
|
|
19195
19448
|
* Default value: `false`.
|
|
19196
19449
|
*
|
|
@@ -19218,7 +19471,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19218
19471
|
minInstances?: number;
|
|
19219
19472
|
/**
|
|
19220
19473
|
* @remarks
|
|
19221
|
-
* The instance
|
|
19474
|
+
* The instance type that is used for auto scaling. Valid values:
|
|
19222
19475
|
*
|
|
19223
19476
|
* * `cpu`: regular instance.
|
|
19224
19477
|
* * `gpu`: GPU-accelerated instance.
|
|
@@ -19259,9 +19512,9 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19259
19512
|
cmsEnabled?: boolean;
|
|
19260
19513
|
/**
|
|
19261
19514
|
* @remarks
|
|
19262
|
-
* The CPU management policy of
|
|
19515
|
+
* The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
19263
19516
|
*
|
|
19264
|
-
* * `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
19517
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
19265
19518
|
* * `none`: specifies that the default CPU affinity is used.
|
|
19266
19519
|
*
|
|
19267
19520
|
* Default value: `none`.
|
|
@@ -19272,9 +19525,9 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19272
19525
|
cpuPolicy?: string;
|
|
19273
19526
|
/**
|
|
19274
19527
|
* @remarks
|
|
19275
|
-
* The labels
|
|
19528
|
+
* The labels that you want to add to nodes in the cluster. You must add labels based on the following rules:
|
|
19276
19529
|
*
|
|
19277
|
-
* * A
|
|
19530
|
+
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
19278
19531
|
* * 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).
|
|
19279
19532
|
*/
|
|
19280
19533
|
labels?: Tag[];
|
|
@@ -19296,7 +19549,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19296
19549
|
runtimeVersion?: string;
|
|
19297
19550
|
/**
|
|
19298
19551
|
* @remarks
|
|
19299
|
-
* The
|
|
19552
|
+
* The taints.
|
|
19300
19553
|
*/
|
|
19301
19554
|
taints?: Taint[];
|
|
19302
19555
|
/**
|
|
@@ -19309,7 +19562,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19309
19562
|
unschedulable?: boolean;
|
|
19310
19563
|
/**
|
|
19311
19564
|
* @remarks
|
|
19312
|
-
* The user
|
|
19565
|
+
* The user data on the node. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
|
|
19313
19566
|
*
|
|
19314
19567
|
* @example
|
|
19315
19568
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -19328,10 +19581,10 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19328
19581
|
export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
19329
19582
|
/**
|
|
19330
19583
|
* @remarks
|
|
19331
|
-
* Specifies whether
|
|
19584
|
+
* Specifies whether to allow node restart. Valid values:
|
|
19332
19585
|
*
|
|
19333
|
-
* * `true`:
|
|
19334
|
-
* * `false`:
|
|
19586
|
+
* * `true`: allows node restart.
|
|
19587
|
+
* * `false`: does not allow node restart.
|
|
19335
19588
|
*
|
|
19336
19589
|
* @example
|
|
19337
19590
|
* true
|
|
@@ -19350,10 +19603,10 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
19350
19603
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
19351
19604
|
/**
|
|
19352
19605
|
* @remarks
|
|
19353
|
-
* Specifies whether
|
|
19606
|
+
* Specifies whether to allow auto update of the kubelet. Valid values:
|
|
19354
19607
|
*
|
|
19355
|
-
* * `true`:
|
|
19356
|
-
* * `false`:
|
|
19608
|
+
* * `true`: allows auto update of the kubelet.
|
|
19609
|
+
* * `false`: does not allow auto update of the kubelet.
|
|
19357
19610
|
*
|
|
19358
19611
|
* @example
|
|
19359
19612
|
* true
|
|
@@ -19361,20 +19614,20 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
19361
19614
|
autoUpgradeKubelet?: boolean;
|
|
19362
19615
|
/**
|
|
19363
19616
|
* @remarks
|
|
19364
|
-
* Specifies whether
|
|
19617
|
+
* Specifies whether to allow auto update of the OS. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
19365
19618
|
*
|
|
19366
|
-
* * `true`:
|
|
19367
|
-
* * `false`:
|
|
19619
|
+
* * `true`: allows auto update of the OS.
|
|
19620
|
+
* * `false`: does not allow auto update of the OS.
|
|
19368
19621
|
*
|
|
19369
19622
|
* Default value: `false`.
|
|
19370
19623
|
*/
|
|
19371
19624
|
autoUpgradeOs?: boolean;
|
|
19372
19625
|
/**
|
|
19373
19626
|
* @remarks
|
|
19374
|
-
* Specifies whether
|
|
19627
|
+
* Specifies whether to allow auto update of the runtime. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
19375
19628
|
*
|
|
19376
|
-
* * `true`:
|
|
19377
|
-
* * `false`:
|
|
19629
|
+
* * `true`: allows auto update of the runtime.
|
|
19630
|
+
* * `false`: does not allow auto update of the runtime.
|
|
19378
19631
|
*
|
|
19379
19632
|
* Default value: `false`.
|
|
19380
19633
|
*/
|
|
@@ -19392,10 +19645,10 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
19392
19645
|
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
19393
19646
|
/**
|
|
19394
19647
|
* @remarks
|
|
19395
|
-
* Specifies whether
|
|
19648
|
+
* Specifies whether to allow node restart. Valid values:
|
|
19396
19649
|
*
|
|
19397
|
-
* * `true`:
|
|
19398
|
-
* * `false`:
|
|
19650
|
+
* * `true`: allows node restart.
|
|
19651
|
+
* * `false`: does not allow node restart.
|
|
19399
19652
|
*
|
|
19400
19653
|
* @example
|
|
19401
19654
|
* true
|
|
@@ -19403,7 +19656,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
19403
19656
|
restartNode?: boolean;
|
|
19404
19657
|
/**
|
|
19405
19658
|
* @remarks
|
|
19406
|
-
* The severity levels of
|
|
19659
|
+
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,).
|
|
19407
19660
|
*
|
|
19408
19661
|
* @example
|
|
19409
19662
|
* asap,nntf
|
|
@@ -19422,7 +19675,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
19422
19675
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
19423
19676
|
/**
|
|
19424
19677
|
* @remarks
|
|
19425
|
-
* Specifies whether to enable auto update.
|
|
19678
|
+
* Specifies whether to enable auto update. Valid values:
|
|
19426
19679
|
*
|
|
19427
19680
|
* * true: enables auto update.
|
|
19428
19681
|
* * false: disables auto update.
|
|
@@ -19437,7 +19690,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19437
19690
|
autoUpgrade?: boolean;
|
|
19438
19691
|
/**
|
|
19439
19692
|
* @remarks
|
|
19440
|
-
* The maximum number of nodes
|
|
19693
|
+
* The maximum number of unavailable nodes.
|
|
19441
19694
|
*
|
|
19442
19695
|
* Valid values: 1 to 1000.
|
|
19443
19696
|
*
|
|
@@ -19449,9 +19702,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19449
19702
|
maxUnavailable?: number;
|
|
19450
19703
|
/**
|
|
19451
19704
|
* @remarks
|
|
19452
|
-
* The number of nodes that are temporarily added to the node pool during an auto update. Additional nodes are used to host the workloads of nodes that are being updated.
|
|
19705
|
+
* The number of additional nodes that are temporarily added to the node pool during an auto update. A node is unavailable during an update. Additional nodes are used to temporarily host the workloads of nodes that are being updated.
|
|
19453
19706
|
*
|
|
19454
|
-
* > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes.
|
|
19707
|
+
* > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes in the node pool.
|
|
19455
19708
|
*
|
|
19456
19709
|
* @example
|
|
19457
19710
|
* 5
|
|
@@ -19459,7 +19712,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19459
19712
|
surge?: number;
|
|
19460
19713
|
/**
|
|
19461
19714
|
* @remarks
|
|
19462
|
-
* The percentage of additional nodes
|
|
19715
|
+
* The percentage of additional nodes that are temporarily added to the node pool during an auto update. You must set this parameter or `surge`.
|
|
19463
19716
|
*
|
|
19464
19717
|
* @example
|
|
19465
19718
|
* 0
|
|
@@ -19512,10 +19765,10 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
19512
19765
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
19513
19766
|
/**
|
|
19514
19767
|
* @remarks
|
|
19515
|
-
* Specifies whether
|
|
19768
|
+
* Specifies whether to enable auto Common Vulnerabilities and Exposures (CVE) patching. Valid values:
|
|
19516
19769
|
*
|
|
19517
|
-
* * `true`:
|
|
19518
|
-
* * `true`:
|
|
19770
|
+
* * `true`: enables auto CVE patching.
|
|
19771
|
+
* * `true`: disables auto CVE patching.
|
|
19519
19772
|
*
|
|
19520
19773
|
* @example
|
|
19521
19774
|
* true
|
|
@@ -19541,7 +19794,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
19541
19794
|
enable?: boolean;
|
|
19542
19795
|
/**
|
|
19543
19796
|
* @remarks
|
|
19544
|
-
* The
|
|
19797
|
+
* The configurations of auto update. The configuration takes effect only when you specify `enable=true`.
|
|
19545
19798
|
*
|
|
19546
19799
|
* @deprecated
|
|
19547
19800
|
*/
|
|
@@ -19569,7 +19822,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
19569
19822
|
name?: string;
|
|
19570
19823
|
/**
|
|
19571
19824
|
* @remarks
|
|
19572
|
-
* The
|
|
19825
|
+
* The resource group ID.
|
|
19573
19826
|
*
|
|
19574
19827
|
* @example
|
|
19575
19828
|
* rg-acfmyvw3wjm****
|
|
@@ -19588,7 +19841,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
19588
19841
|
export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $tea.Model {
|
|
19589
19842
|
/**
|
|
19590
19843
|
* @remarks
|
|
19591
|
-
* The
|
|
19844
|
+
* The private node pool ID.
|
|
19592
19845
|
*
|
|
19593
19846
|
* @example
|
|
19594
19847
|
* eap-bp67acfmxazb4****
|
|
@@ -19596,11 +19849,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
19596
19849
|
id?: string;
|
|
19597
19850
|
/**
|
|
19598
19851
|
* @remarks
|
|
19599
|
-
* The type of
|
|
19852
|
+
* The type of private node pool. This parameter specifies the type of private node pool that you want to use to create instances. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. The system selects a private pool to start instances. Valid values:
|
|
19600
19853
|
*
|
|
19601
|
-
* * `Open`:
|
|
19602
|
-
* * `Target`:
|
|
19603
|
-
* * `None`:
|
|
19854
|
+
* * `Open`: open private node pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
|
|
19855
|
+
* * `Target`: private node pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
|
|
19856
|
+
* * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
|
|
19604
19857
|
*
|
|
19605
19858
|
* @example
|
|
19606
19859
|
* Open
|
|
@@ -19619,7 +19872,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
19619
19872
|
export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
19620
19873
|
/**
|
|
19621
19874
|
* @remarks
|
|
19622
|
-
* The
|
|
19875
|
+
* The price cap of a preemptible instance.
|
|
19623
19876
|
*
|
|
19624
19877
|
* @example
|
|
19625
19878
|
* ecs.c6.large
|
|
@@ -19627,7 +19880,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
19627
19880
|
instanceType?: string;
|
|
19628
19881
|
/**
|
|
19629
19882
|
* @remarks
|
|
19630
|
-
* The
|
|
19883
|
+
* The price cap of a preemptible instance.
|
|
19631
19884
|
*
|
|
19632
19885
|
* Unit: USD/hour.
|
|
19633
19886
|
*
|
|
@@ -19648,7 +19901,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
19648
19901
|
export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
19649
19902
|
/**
|
|
19650
19903
|
* @remarks
|
|
19651
|
-
* Specifies whether to enable auto-renewal for
|
|
19904
|
+
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
19652
19905
|
*
|
|
19653
19906
|
* * `true`: enables auto-renewal.
|
|
19654
19907
|
* * `false`: disables auto-renewal.
|
|
@@ -19661,7 +19914,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19661
19914
|
autoRenew?: boolean;
|
|
19662
19915
|
/**
|
|
19663
19916
|
* @remarks
|
|
19664
|
-
* The auto-renewal duration. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`.
|
|
19917
|
+
* The auto-renewal duration of nodes in the node pool. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`.
|
|
19665
19918
|
*
|
|
19666
19919
|
* If you specify `PeriodUnit=Month`, the valid values are 1, 2, 3, 6, and 12.
|
|
19667
19920
|
*
|
|
@@ -19671,7 +19924,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19671
19924
|
autoRenewPeriod?: number;
|
|
19672
19925
|
/**
|
|
19673
19926
|
* @remarks
|
|
19674
|
-
* 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
|
|
19927
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect only when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
|
|
19675
19928
|
*
|
|
19676
19929
|
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
19677
19930
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
@@ -19682,7 +19935,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19682
19935
|
compensateWithOnDemand?: boolean;
|
|
19683
19936
|
/**
|
|
19684
19937
|
* @remarks
|
|
19685
|
-
* The configurations of the data disks that are mounted to
|
|
19938
|
+
* The configurations of the data disks that are mounted to nodes in the node pool. Valid values: 0 to 10. You can mount at most 10 data disks to nodes in the node pool.
|
|
19686
19939
|
*/
|
|
19687
19940
|
dataDisks?: DataDisk[];
|
|
19688
19941
|
/**
|
|
@@ -19695,7 +19948,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19695
19948
|
desiredSize?: number;
|
|
19696
19949
|
/**
|
|
19697
19950
|
* @remarks
|
|
19698
|
-
* The
|
|
19951
|
+
* The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported images. By default, the latest image provided by the system is used.
|
|
19699
19952
|
*
|
|
19700
19953
|
* @example
|
|
19701
19954
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -19703,7 +19956,17 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19703
19956
|
imageId?: string;
|
|
19704
19957
|
/**
|
|
19705
19958
|
* @remarks
|
|
19706
|
-
* The type of OS distribution that you want to use. To specify the node OS, we recommend that you use this parameter. Valid values:
|
|
19959
|
+
* The type of OS distribution that you want to use. To specify the node OS, we recommend that you use this parameter. Valid values:
|
|
19960
|
+
*
|
|
19961
|
+
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
19962
|
+
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
19963
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
19964
|
+
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
19965
|
+
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
19966
|
+
* * `CentOS`: CentOS.
|
|
19967
|
+
* * `Windows`: Windows.
|
|
19968
|
+
* * `WindowsCore`: Windows Core.
|
|
19969
|
+
* * `ContainerOS`: ContainerOS.
|
|
19707
19970
|
*
|
|
19708
19971
|
* @example
|
|
19709
19972
|
* AliyunLinux
|
|
@@ -19711,7 +19974,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19711
19974
|
imageType?: string;
|
|
19712
19975
|
/**
|
|
19713
19976
|
* @remarks
|
|
19714
|
-
* The billing method of
|
|
19977
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
19715
19978
|
*
|
|
19716
19979
|
* * `PrePaid`: subscription.
|
|
19717
19980
|
* * `PostPaid`: pay-as-you-go.
|
|
@@ -19725,7 +19988,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19725
19988
|
instancePatterns?: InstancePatterns[];
|
|
19726
19989
|
/**
|
|
19727
19990
|
* @remarks
|
|
19728
|
-
*
|
|
19991
|
+
* The instance types of nodes in the node pool. When the system adds a node to the node pool, the system selects the most appropriate one from the specified instance types for the node. The instance type that is used to create the node varies based on the actual instance stock.
|
|
19729
19992
|
*/
|
|
19730
19993
|
instanceTypes?: string[];
|
|
19731
19994
|
/**
|
|
@@ -19741,7 +20004,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19741
20004
|
internetChargeType?: string;
|
|
19742
20005
|
/**
|
|
19743
20006
|
* @remarks
|
|
19744
|
-
* The maximum outbound bandwidth of the public IP address
|
|
20007
|
+
* The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100.
|
|
19745
20008
|
*
|
|
19746
20009
|
* @example
|
|
19747
20010
|
* 5
|
|
@@ -19749,7 +20012,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19749
20012
|
internetMaxBandwidthOut?: number;
|
|
19750
20013
|
/**
|
|
19751
20014
|
* @remarks
|
|
19752
|
-
* The name of the key pair. You must
|
|
20015
|
+
* The name of the key pair. You must specify this parameter or the `login_password` parameter. You must specify the `key_pair` parameter if the node pool is a managed node pool.
|
|
19753
20016
|
*
|
|
19754
20017
|
* @example
|
|
19755
20018
|
* pro-nodepool
|
|
@@ -19757,7 +20020,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19757
20020
|
keyPair?: string;
|
|
19758
20021
|
/**
|
|
19759
20022
|
* @remarks
|
|
19760
|
-
* The password for SSH logon. You must
|
|
20023
|
+
* The password for SSH logon. You must specify this parameter or the `key_pair` parameter. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
19761
20024
|
*
|
|
19762
20025
|
* @example
|
|
19763
20026
|
* Hello1234
|
|
@@ -19767,15 +20030,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19767
20030
|
* @remarks
|
|
19768
20031
|
* The ECS instance scaling policy for the multi-zone scaling group. Valid values:
|
|
19769
20032
|
*
|
|
19770
|
-
* * `PRIORITY`:
|
|
20033
|
+
* * `PRIORITY`: ECS instances are 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.
|
|
19771
20034
|
*
|
|
19772
|
-
* * `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
|
|
20035
|
+
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configurations. You can set `CompensateWithOnDemand` to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
|
|
19773
20036
|
*
|
|
19774
20037
|
* **
|
|
19775
20038
|
*
|
|
19776
20039
|
* **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
19777
20040
|
*
|
|
19778
|
-
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to
|
|
20041
|
+
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the `RebalanceInstances` operation of Auto Scaling to evenly distribute the ECS instances among zones. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
19779
20042
|
*
|
|
19780
20043
|
* Default value: `PRIORITY`.
|
|
19781
20044
|
*
|
|
@@ -19785,7 +20048,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19785
20048
|
multiAzPolicy?: string;
|
|
19786
20049
|
/**
|
|
19787
20050
|
* @remarks
|
|
19788
|
-
* The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is
|
|
20051
|
+
* The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is smaller than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
|
|
19789
20052
|
*
|
|
19790
20053
|
* @example
|
|
19791
20054
|
* 0
|
|
@@ -19801,7 +20064,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19801
20064
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
19802
20065
|
/**
|
|
19803
20066
|
* @remarks
|
|
19804
|
-
* The subscription duration of
|
|
20067
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`.
|
|
19805
20068
|
*
|
|
19806
20069
|
* If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
19807
20070
|
*
|
|
@@ -19811,7 +20074,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19811
20074
|
period?: number;
|
|
19812
20075
|
/**
|
|
19813
20076
|
* @remarks
|
|
19814
|
-
* The billing cycle of
|
|
20077
|
+
* The billing cycle of nodes in the node pool. This parameter is required if you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
19815
20078
|
*
|
|
19816
20079
|
* The billing cycle is measured only in months.
|
|
19817
20080
|
*
|
|
@@ -19823,7 +20086,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19823
20086
|
periodUnit?: string;
|
|
19824
20087
|
/**
|
|
19825
20088
|
* @remarks
|
|
19826
|
-
* The
|
|
20089
|
+
* The OS platform. Valid values:
|
|
19827
20090
|
*
|
|
19828
20091
|
* * `AliyunLinux`
|
|
19829
20092
|
* * `CentOS`
|
|
@@ -19838,7 +20101,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19838
20101
|
platform?: string;
|
|
19839
20102
|
/**
|
|
19840
20103
|
* @remarks
|
|
19841
|
-
* The
|
|
20104
|
+
* The configurations of the private node pool.
|
|
19842
20105
|
*/
|
|
19843
20106
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
19844
20107
|
/**
|
|
@@ -19850,8 +20113,8 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19850
20113
|
* @remarks
|
|
19851
20114
|
* The scaling mode of the scaling group. Valid values:
|
|
19852
20115
|
*
|
|
19853
|
-
* * `release`: the standard mode. ECS instances are created and released based on
|
|
19854
|
-
* * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached
|
|
20116
|
+
* * `release`: the standard mode. ECS instances are created and released based on resource usage.
|
|
20117
|
+
* * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached to local disks.
|
|
19855
20118
|
*
|
|
19856
20119
|
* @example
|
|
19857
20120
|
* release
|
|
@@ -19867,10 +20130,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19867
20130
|
spotInstancePools?: number;
|
|
19868
20131
|
/**
|
|
19869
20132
|
* @remarks
|
|
19870
|
-
* Specifies whether to supplement preemptible instances. If this parameter
|
|
20133
|
+
* Specifies whether to supplement preemptible instances. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group creates a new instance to replace this instance. Valid values:
|
|
19871
20134
|
*
|
|
19872
|
-
* * `true`:
|
|
19873
|
-
* * `false`:
|
|
20135
|
+
* * `true`: supplements preemptible instances.
|
|
20136
|
+
* * `false`: does not supplement preemptible instances.
|
|
19874
20137
|
*
|
|
19875
20138
|
* @example
|
|
19876
20139
|
* false
|
|
@@ -19878,7 +20141,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19878
20141
|
spotInstanceRemedy?: boolean;
|
|
19879
20142
|
/**
|
|
19880
20143
|
* @remarks
|
|
19881
|
-
* The
|
|
20144
|
+
* The instance type of preemptible instances and the price cap for the instance type.
|
|
19882
20145
|
*/
|
|
19883
20146
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
19884
20147
|
/**
|
|
@@ -19886,7 +20149,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19886
20149
|
* The bidding policy of preemptible instances. Valid values:
|
|
19887
20150
|
*
|
|
19888
20151
|
* * `NoSpot`: non-preemptible instance.
|
|
19889
|
-
* * `SpotWithPriceLimit`: specifies the highest bid
|
|
20152
|
+
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
19890
20153
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
19891
20154
|
*
|
|
19892
20155
|
* For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/157759.html).
|
|
@@ -19897,7 +20160,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19897
20160
|
spotStrategy?: string;
|
|
19898
20161
|
/**
|
|
19899
20162
|
* @remarks
|
|
19900
|
-
* Specifies whether to enable
|
|
20163
|
+
* Specifies whether to enable the burst feature for the system disk when the disk type is cloud_auto.
|
|
19901
20164
|
*
|
|
19902
20165
|
* @example
|
|
19903
20166
|
* true
|
|
@@ -19905,12 +20168,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19905
20168
|
systemDiskBurstingEnabled?: boolean;
|
|
19906
20169
|
/**
|
|
19907
20170
|
* @remarks
|
|
19908
|
-
* The
|
|
20171
|
+
* The system disk types. The system creates system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values: cloud (basic disk), cloud_efficiency (ultra disk), cloud_ssd (standard SSD), and cloud_essd: (ESSD).
|
|
19909
20172
|
*/
|
|
19910
20173
|
systemDiskCategories?: string[];
|
|
19911
20174
|
/**
|
|
19912
20175
|
* @remarks
|
|
19913
|
-
* The
|
|
20176
|
+
* The system disk type. Valid values:
|
|
19914
20177
|
*
|
|
19915
20178
|
* * `cloud_efficiency`: ultra disk.
|
|
19916
20179
|
* * `cloud_ssd`: standard SSD.
|
|
@@ -19923,7 +20186,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19923
20186
|
systemDiskCategory?: string;
|
|
19924
20187
|
/**
|
|
19925
20188
|
* @remarks
|
|
19926
|
-
* The algorithm that
|
|
20189
|
+
* The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
|
|
19927
20190
|
*
|
|
19928
20191
|
* @example
|
|
19929
20192
|
* aes-256
|
|
@@ -19947,7 +20210,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19947
20210
|
systemDiskKmsKeyId?: string;
|
|
19948
20211
|
/**
|
|
19949
20212
|
* @remarks
|
|
19950
|
-
* The performance level (PL) of the system disk
|
|
20213
|
+
* The performance level (PL) of the system disk. This parameter takes effect only for an Enterprise SSD (ESSD). 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).
|
|
19951
20214
|
*
|
|
19952
20215
|
* @example
|
|
19953
20216
|
* PL1
|
|
@@ -19955,7 +20218,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19955
20218
|
systemDiskPerformanceLevel?: string;
|
|
19956
20219
|
/**
|
|
19957
20220
|
* @remarks
|
|
19958
|
-
* The
|
|
20221
|
+
* The preset read/write IOPS of the system disk when the disk type is cloud_auto.
|
|
19959
20222
|
*
|
|
19960
20223
|
* @example
|
|
19961
20224
|
* 1000
|
|
@@ -19963,11 +20226,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19963
20226
|
systemDiskProvisionedIops?: number;
|
|
19964
20227
|
/**
|
|
19965
20228
|
* @remarks
|
|
19966
|
-
* The size of the system disk
|
|
20229
|
+
* The size of the system disk. Unit: GiB.
|
|
19967
20230
|
*
|
|
19968
20231
|
* Valid values: 20 to 500.
|
|
19969
20232
|
*
|
|
19970
|
-
* The value of this parameter must be at least 20 and greater than or equal to the size
|
|
20233
|
+
* The value of this parameter must be at least 20 and greater than or equal to the image size.
|
|
19971
20234
|
*
|
|
19972
20235
|
* Default value: the greater value between 40 and the image size.
|
|
19973
20236
|
*
|
|
@@ -19979,14 +20242,14 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19979
20242
|
* @remarks
|
|
19980
20243
|
* The labels that you want to add only to ECS instances.
|
|
19981
20244
|
*
|
|
19982
|
-
* The
|
|
20245
|
+
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: and cannot contain https:// or http://.
|
|
19983
20246
|
*/
|
|
19984
20247
|
tags?: Tag[];
|
|
19985
20248
|
/**
|
|
19986
20249
|
* @remarks
|
|
19987
|
-
* The IDs
|
|
20250
|
+
* The vSwitch IDs. You can specify 1 to 20 vSwitches.
|
|
19988
20251
|
*
|
|
19989
|
-
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
20252
|
+
* > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
|
|
19990
20253
|
*/
|
|
19991
20254
|
vswitchIds?: string[];
|
|
19992
20255
|
static names(): {
|
|
@@ -20112,9 +20375,9 @@ export declare class ScaleClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
20112
20375
|
export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
20113
20376
|
/**
|
|
20114
20377
|
* @remarks
|
|
20115
|
-
* The ID of
|
|
20378
|
+
* The ID of the automatic snapshot policy. The system performs automatic backup for a cloud disk based on the specified automatic snapshot policy.
|
|
20116
20379
|
*
|
|
20117
|
-
* By default, this parameter is empty, which indicates that automatic backup is disabled.
|
|
20380
|
+
* By default, this parameter is left empty, which indicates that automatic backup is disabled.
|
|
20118
20381
|
*
|
|
20119
20382
|
* @example
|
|
20120
20383
|
* sp-bp14yziiuvu3s6jn****
|
|
@@ -20130,10 +20393,10 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
20130
20393
|
category?: string;
|
|
20131
20394
|
/**
|
|
20132
20395
|
* @remarks
|
|
20133
|
-
* Specifies whether to encrypt the data
|
|
20396
|
+
* Specifies whether to encrypt the data disk. Valid values:
|
|
20134
20397
|
*
|
|
20135
|
-
* * `true`: encrypts data
|
|
20136
|
-
* * `false`: does not encrypt data
|
|
20398
|
+
* * `true`: encrypts the data disk.
|
|
20399
|
+
* * `false`: does not encrypt the data disk.
|
|
20137
20400
|
*
|
|
20138
20401
|
* Default value: `false`.
|
|
20139
20402
|
*
|
|
@@ -20143,7 +20406,7 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
20143
20406
|
encrypted?: string;
|
|
20144
20407
|
/**
|
|
20145
20408
|
* @remarks
|
|
20146
|
-
* The
|
|
20409
|
+
* The data disk size. Valid values: 40 to 32767.
|
|
20147
20410
|
*
|
|
20148
20411
|
* @example
|
|
20149
20412
|
* 120
|
|
@@ -20328,8 +20591,33 @@ export declare class UpgradeClusterAddonsRequestBody extends $tea.Model {
|
|
|
20328
20591
|
});
|
|
20329
20592
|
}
|
|
20330
20593
|
export declare class UpgradeClusterNodepoolRequestRollingPolicy extends $tea.Model {
|
|
20594
|
+
/**
|
|
20595
|
+
* @remarks
|
|
20596
|
+
* The update interval between batches takes effect only when the pause policy is set to NotPause. Unit: minutes. Valid values: 5 to 120.
|
|
20597
|
+
*
|
|
20598
|
+
* @example
|
|
20599
|
+
* 5 minutes
|
|
20600
|
+
*/
|
|
20331
20601
|
batchInterval?: number;
|
|
20602
|
+
/**
|
|
20603
|
+
* @remarks
|
|
20604
|
+
* The maximum number of unavailable nodes.
|
|
20605
|
+
*
|
|
20606
|
+
* @example
|
|
20607
|
+
* 3
|
|
20608
|
+
*/
|
|
20332
20609
|
maxParallelism?: number;
|
|
20610
|
+
/**
|
|
20611
|
+
* @remarks
|
|
20612
|
+
* The policy that is used to pause the update. Valid values:
|
|
20613
|
+
*
|
|
20614
|
+
* * FirstBatch: pauses the update after the first batch is completed.
|
|
20615
|
+
* * EveryBatch: pauses after each batch is completed.
|
|
20616
|
+
* * NotPause: does not pause.
|
|
20617
|
+
*
|
|
20618
|
+
* @example
|
|
20619
|
+
* NotPause
|
|
20620
|
+
*/
|
|
20333
20621
|
pausePolicy?: string;
|
|
20334
20622
|
static names(): {
|
|
20335
20623
|
[key: string]: string;
|
|
@@ -20347,7 +20635,7 @@ export default class Client extends OpenApi {
|
|
|
20347
20635
|
[key: string]: string;
|
|
20348
20636
|
}, endpoint: string): string;
|
|
20349
20637
|
/**
|
|
20350
|
-
*
|
|
20638
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
20351
20639
|
*
|
|
20352
20640
|
* @param request - AttachInstancesRequest
|
|
20353
20641
|
* @param headers - map
|
|
@@ -20358,7 +20646,7 @@ export default class Client extends OpenApi {
|
|
|
20358
20646
|
[key: string]: string;
|
|
20359
20647
|
}, runtime: $Util.RuntimeOptions): Promise<AttachInstancesResponse>;
|
|
20360
20648
|
/**
|
|
20361
|
-
*
|
|
20649
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
20362
20650
|
*
|
|
20363
20651
|
* @param request - AttachInstancesRequest
|
|
20364
20652
|
* @returns AttachInstancesResponse
|
|
@@ -20488,7 +20776,7 @@ export default class Client extends OpenApi {
|
|
|
20488
20776
|
*/
|
|
20489
20777
|
checkControlPlaneLogEnable(ClusterId: string): Promise<CheckControlPlaneLogEnableResponse>;
|
|
20490
20778
|
/**
|
|
20491
|
-
*
|
|
20779
|
+
* Checks whether the specified service role is granted required permissions within the current Alibaba Cloud account.
|
|
20492
20780
|
*
|
|
20493
20781
|
* @param request - CheckServiceRoleRequest
|
|
20494
20782
|
* @param headers - map
|
|
@@ -20499,7 +20787,7 @@ export default class Client extends OpenApi {
|
|
|
20499
20787
|
[key: string]: string;
|
|
20500
20788
|
}, runtime: $Util.RuntimeOptions): Promise<CheckServiceRoleResponse>;
|
|
20501
20789
|
/**
|
|
20502
|
-
*
|
|
20790
|
+
* Checks whether the specified service role is granted required permissions within the current Alibaba Cloud account.
|
|
20503
20791
|
*
|
|
20504
20792
|
* @param request - CheckServiceRoleRequest
|
|
20505
20793
|
* @returns CheckServiceRoleResponse
|
|
@@ -20510,7 +20798,7 @@ export default class Client extends OpenApi {
|
|
|
20510
20798
|
*
|
|
20511
20799
|
* @remarks
|
|
20512
20800
|
* >
|
|
20513
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess
|
|
20801
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permission.
|
|
20514
20802
|
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
20515
20803
|
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
20516
20804
|
*
|
|
@@ -20527,7 +20815,7 @@ export default class Client extends OpenApi {
|
|
|
20527
20815
|
*
|
|
20528
20816
|
* @remarks
|
|
20529
20817
|
* >
|
|
20530
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess
|
|
20818
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permission.
|
|
20531
20819
|
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
20532
20820
|
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
20533
20821
|
*
|
|
@@ -20585,13 +20873,13 @@ export default class Client extends OpenApi {
|
|
|
20585
20873
|
* You can call the CreateCluster operation to create a Container Service for Kubernetes (ACK) cluster. ACK clusters include ACK managed clusters, ACK dedicated clusters, ACK Serverless clusters, ACK Edge clusters, ACK clusters that support sandboxed containers, and registered clusters. For more information about how to create different types of ACK clusters, see the following usage notes.
|
|
20586
20874
|
*
|
|
20587
20875
|
* @remarks
|
|
20588
|
-
* This topic describes all parameters for creating
|
|
20589
|
-
* * [
|
|
20590
|
-
* * [
|
|
20591
|
-
* * [
|
|
20592
|
-
* * [
|
|
20593
|
-
* * [
|
|
20594
|
-
* * [
|
|
20876
|
+
* This topic describes all request parameters for creating a Container Service for Kubernetes (ACK) cluster. For more information about how to call the API to create each type of ACK cluster, refer to the following topics:
|
|
20877
|
+
* * [Call the API to create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
20878
|
+
* * [Call the API to create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
20879
|
+
* * [Call the API to create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
20880
|
+
* * [Call the API to create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
20881
|
+
* * [Call the API to create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
20882
|
+
* * [Call the API to create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
20595
20883
|
*
|
|
20596
20884
|
* @param request - CreateClusterRequest
|
|
20597
20885
|
* @param headers - map
|
|
@@ -20605,13 +20893,13 @@ export default class Client extends OpenApi {
|
|
|
20605
20893
|
* You can call the CreateCluster operation to create a Container Service for Kubernetes (ACK) cluster. ACK clusters include ACK managed clusters, ACK dedicated clusters, ACK Serverless clusters, ACK Edge clusters, ACK clusters that support sandboxed containers, and registered clusters. For more information about how to create different types of ACK clusters, see the following usage notes.
|
|
20606
20894
|
*
|
|
20607
20895
|
* @remarks
|
|
20608
|
-
* This topic describes all parameters for creating
|
|
20609
|
-
* * [
|
|
20610
|
-
* * [
|
|
20611
|
-
* * [
|
|
20612
|
-
* * [
|
|
20613
|
-
* * [
|
|
20614
|
-
* * [
|
|
20896
|
+
* This topic describes all request parameters for creating a Container Service for Kubernetes (ACK) cluster. For more information about how to call the API to create each type of ACK cluster, refer to the following topics:
|
|
20897
|
+
* * [Call the API to create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
20898
|
+
* * [Call the API to create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
20899
|
+
* * [Call the API to create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
20900
|
+
* * [Call the API to create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
20901
|
+
* * [Call the API to create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
20902
|
+
* * [Call the API to create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
20615
20903
|
*
|
|
20616
20904
|
* @param request - CreateClusterRequest
|
|
20617
20905
|
* @returns CreateClusterResponse
|
|
@@ -20708,7 +20996,7 @@ export default class Client extends OpenApi {
|
|
|
20708
20996
|
*/
|
|
20709
20997
|
createTemplate(request: CreateTemplateRequest): Promise<CreateTemplateResponse>;
|
|
20710
20998
|
/**
|
|
20711
|
-
*
|
|
20999
|
+
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
20712
21000
|
*
|
|
20713
21001
|
* @param request - CreateTriggerRequest
|
|
20714
21002
|
* @param headers - map
|
|
@@ -20719,7 +21007,7 @@ export default class Client extends OpenApi {
|
|
|
20719
21007
|
[key: string]: string;
|
|
20720
21008
|
}, runtime: $Util.RuntimeOptions): Promise<CreateTriggerResponse>;
|
|
20721
21009
|
/**
|
|
20722
|
-
*
|
|
21010
|
+
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
20723
21011
|
*
|
|
20724
21012
|
* @param request - CreateTriggerRequest
|
|
20725
21013
|
* @returns CreateTriggerResponse
|
|
@@ -20801,8 +21089,10 @@ export default class Client extends OpenApi {
|
|
|
20801
21089
|
* Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
|
|
20802
21090
|
*
|
|
20803
21091
|
* @remarks
|
|
20804
|
-
*
|
|
20805
|
-
* *
|
|
21092
|
+
* When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
21093
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
21094
|
+
* * When the system removes a node, it sets the status of the node to Unschedulable.
|
|
21095
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
20806
21096
|
*
|
|
20807
21097
|
* @param request - DeleteClusterNodesRequest
|
|
20808
21098
|
* @param headers - map
|
|
@@ -20816,8 +21106,10 @@ export default class Client extends OpenApi {
|
|
|
20816
21106
|
* Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
|
|
20817
21107
|
*
|
|
20818
21108
|
* @remarks
|
|
20819
|
-
*
|
|
20820
|
-
* *
|
|
21109
|
+
* When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
21110
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
21111
|
+
* * When the system removes a node, it sets the status of the node to Unschedulable.
|
|
21112
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
20821
21113
|
*
|
|
20822
21114
|
* @param request - DeleteClusterNodesRequest
|
|
20823
21115
|
* @returns DeleteClusterNodesResponse
|
|
@@ -20890,7 +21182,7 @@ export default class Client extends OpenApi {
|
|
|
20890
21182
|
*/
|
|
20891
21183
|
deleteTemplate(TemplateId: string): Promise<DeleteTemplateResponse>;
|
|
20892
21184
|
/**
|
|
20893
|
-
*
|
|
21185
|
+
* Deletes an application trigger.
|
|
20894
21186
|
*
|
|
20895
21187
|
* @param headers - map
|
|
20896
21188
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20900,7 +21192,7 @@ export default class Client extends OpenApi {
|
|
|
20900
21192
|
[key: string]: string;
|
|
20901
21193
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteTriggerResponse>;
|
|
20902
21194
|
/**
|
|
20903
|
-
*
|
|
21195
|
+
* Deletes an application trigger.
|
|
20904
21196
|
* @returns DeleteTriggerResponse
|
|
20905
21197
|
*/
|
|
20906
21198
|
deleteTrigger(clusterId: string, Id: string): Promise<DeleteTriggerResponse>;
|
|
@@ -20942,7 +21234,7 @@ export default class Client extends OpenApi {
|
|
|
20942
21234
|
*/
|
|
20943
21235
|
descirbeWorkflow(workflowName: string): Promise<DescirbeWorkflowResponse>;
|
|
20944
21236
|
/**
|
|
20945
|
-
*
|
|
21237
|
+
* Queries the information about a component based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, cluster version, and component name. The information includes whether the component is managed, the component type, supported custom parameter schema, compatible operating system architecture, and earliest supported cluster version.
|
|
20946
21238
|
*
|
|
20947
21239
|
* @param request - DescribeAddonRequest
|
|
20948
21240
|
* @param headers - map
|
|
@@ -20953,7 +21245,7 @@ export default class Client extends OpenApi {
|
|
|
20953
21245
|
[key: string]: string;
|
|
20954
21246
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonResponse>;
|
|
20955
21247
|
/**
|
|
20956
|
-
*
|
|
21248
|
+
* Queries the information about a component based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, cluster version, and component name. The information includes whether the component is managed, the component type, supported custom parameter schema, compatible operating system architecture, and earliest supported cluster version.
|
|
20957
21249
|
*
|
|
20958
21250
|
* @param request - DescribeAddonRequest
|
|
20959
21251
|
* @returns DescribeAddonResponse
|
|
@@ -21083,7 +21375,7 @@ export default class Client extends OpenApi {
|
|
|
21083
21375
|
*/
|
|
21084
21376
|
describeClusterAddonsVersion(ClusterId: string): Promise<DescribeClusterAddonsVersionResponse>;
|
|
21085
21377
|
/**
|
|
21086
|
-
* Queries the
|
|
21378
|
+
* Queries the scripts used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. ACK allows you to manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add worker nodes that you remove from the cluster to a node pool.
|
|
21087
21379
|
*
|
|
21088
21380
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
21089
21381
|
* @param headers - map
|
|
@@ -21094,7 +21386,7 @@ export default class Client extends OpenApi {
|
|
|
21094
21386
|
[key: string]: string;
|
|
21095
21387
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAttachScriptsResponse>;
|
|
21096
21388
|
/**
|
|
21097
|
-
* Queries the
|
|
21389
|
+
* Queries the scripts used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. ACK allows you to manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add worker nodes that you remove from the cluster to a node pool.
|
|
21098
21390
|
*
|
|
21099
21391
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
21100
21392
|
* @returns DescribeClusterAttachScriptsResponse
|
|
@@ -21239,8 +21531,7 @@ export default class Client extends OpenApi {
|
|
|
21239
21531
|
* Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
21240
21532
|
*
|
|
21241
21533
|
* @remarks
|
|
21242
|
-
*
|
|
21243
|
-
* ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
21534
|
+
* > The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
21244
21535
|
*
|
|
21245
21536
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
21246
21537
|
* @param headers - map
|
|
@@ -21254,8 +21545,7 @@ export default class Client extends OpenApi {
|
|
|
21254
21545
|
* Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
21255
21546
|
*
|
|
21256
21547
|
* @remarks
|
|
21257
|
-
*
|
|
21258
|
-
* ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
21548
|
+
* > The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
21259
21549
|
*
|
|
21260
21550
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
21261
21551
|
* @returns DescribeClusterUserKubeconfigResponse
|
|
@@ -21299,7 +21589,7 @@ export default class Client extends OpenApi {
|
|
|
21299
21589
|
*/
|
|
21300
21590
|
describeClusterVuls(clusterId: string): Promise<DescribeClusterVulsResponse>;
|
|
21301
21591
|
/**
|
|
21302
|
-
*
|
|
21592
|
+
* Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
21303
21593
|
*
|
|
21304
21594
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
21305
21595
|
*
|
|
@@ -21312,7 +21602,7 @@ export default class Client extends OpenApi {
|
|
|
21312
21602
|
[key: string]: string;
|
|
21313
21603
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersResponse>;
|
|
21314
21604
|
/**
|
|
21315
|
-
*
|
|
21605
|
+
* Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
21316
21606
|
*
|
|
21317
21607
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
21318
21608
|
*
|
|
@@ -21321,7 +21611,7 @@ export default class Client extends OpenApi {
|
|
|
21321
21611
|
*/
|
|
21322
21612
|
describeClusters(request: DescribeClustersRequest): Promise<DescribeClustersResponse>;
|
|
21323
21613
|
/**
|
|
21324
|
-
*
|
|
21614
|
+
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
21325
21615
|
*
|
|
21326
21616
|
* @param request - DescribeClustersV1Request
|
|
21327
21617
|
* @param headers - map
|
|
@@ -21332,7 +21622,7 @@ export default class Client extends OpenApi {
|
|
|
21332
21622
|
[key: string]: string;
|
|
21333
21623
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersV1Response>;
|
|
21334
21624
|
/**
|
|
21335
|
-
*
|
|
21625
|
+
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
21336
21626
|
*
|
|
21337
21627
|
* @param request - DescribeClustersV1Request
|
|
21338
21628
|
* @returns DescribeClustersV1Response
|
|
@@ -21420,7 +21710,7 @@ export default class Client extends OpenApi {
|
|
|
21420
21710
|
*/
|
|
21421
21711
|
describeEvents(request: DescribeEventsRequest): Promise<DescribeEventsResponse>;
|
|
21422
21712
|
/**
|
|
21423
|
-
*
|
|
21713
|
+
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
21424
21714
|
*
|
|
21425
21715
|
* @remarks
|
|
21426
21716
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -21434,7 +21724,7 @@ export default class Client extends OpenApi {
|
|
|
21434
21724
|
[key: string]: string;
|
|
21435
21725
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeExternalAgentResponse>;
|
|
21436
21726
|
/**
|
|
21437
|
-
*
|
|
21727
|
+
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
21438
21728
|
*
|
|
21439
21729
|
* @remarks
|
|
21440
21730
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -21495,7 +21785,7 @@ export default class Client extends OpenApi {
|
|
|
21495
21785
|
*/
|
|
21496
21786
|
describePolicies(): Promise<DescribePoliciesResponse>;
|
|
21497
21787
|
/**
|
|
21498
|
-
*
|
|
21788
|
+
* Queries the detailed information about a policy. The information includes the content, action, and severity level of the policy. Container Service for Kubernetes (ACK) provides the following types of predefined security policies: Compliance, Infra, K8s-general, and pod security policy (PSP). These policies ensure that containers are running in the production environment in a secure manner.
|
|
21499
21789
|
*
|
|
21500
21790
|
* @param headers - map
|
|
21501
21791
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21505,12 +21795,12 @@ export default class Client extends OpenApi {
|
|
|
21505
21795
|
[key: string]: string;
|
|
21506
21796
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyDetailsResponse>;
|
|
21507
21797
|
/**
|
|
21508
|
-
*
|
|
21798
|
+
* Queries the detailed information about a policy. The information includes the content, action, and severity level of the policy. Container Service for Kubernetes (ACK) provides the following types of predefined security policies: Compliance, Infra, K8s-general, and pod security policy (PSP). These policies ensure that containers are running in the production environment in a secure manner.
|
|
21509
21799
|
* @returns DescribePolicyDetailsResponse
|
|
21510
21800
|
*/
|
|
21511
21801
|
describePolicyDetails(policyName: string): Promise<DescribePolicyDetailsResponse>;
|
|
21512
21802
|
/**
|
|
21513
|
-
*
|
|
21803
|
+
* Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment. You can call the DescribePolicyGovernanceInCluster operation to query the details of policies for an ACK cluster. For example, you can query the number of policies that are enabled per severity level, the audit logs of policies, and the blocking and alerting information.
|
|
21514
21804
|
*
|
|
21515
21805
|
* @param headers - map
|
|
21516
21806
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21520,7 +21810,7 @@ export default class Client extends OpenApi {
|
|
|
21520
21810
|
[key: string]: string;
|
|
21521
21811
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyGovernanceInClusterResponse>;
|
|
21522
21812
|
/**
|
|
21523
|
-
*
|
|
21813
|
+
* Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment. You can call the DescribePolicyGovernanceInCluster operation to query the details of policies for an ACK cluster. For example, you can query the number of policies that are enabled per severity level, the audit logs of policies, and the blocking and alerting information.
|
|
21524
21814
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
21525
21815
|
*/
|
|
21526
21816
|
describePolicyGovernanceInCluster(clusterId: string): Promise<DescribePolicyGovernanceInClusterResponse>;
|
|
@@ -21653,7 +21943,7 @@ export default class Client extends OpenApi {
|
|
|
21653
21943
|
*/
|
|
21654
21944
|
describeTemplates(request: DescribeTemplatesRequest): Promise<DescribeTemplatesResponse>;
|
|
21655
21945
|
/**
|
|
21656
|
-
*
|
|
21946
|
+
* Queries triggers that match specific conditions.
|
|
21657
21947
|
*
|
|
21658
21948
|
* @param request - DescribeTriggerRequest
|
|
21659
21949
|
* @param headers - map
|
|
@@ -21664,14 +21954,14 @@ export default class Client extends OpenApi {
|
|
|
21664
21954
|
[key: string]: string;
|
|
21665
21955
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeTriggerResponse>;
|
|
21666
21956
|
/**
|
|
21667
|
-
*
|
|
21957
|
+
* Queries triggers that match specific conditions.
|
|
21668
21958
|
*
|
|
21669
21959
|
* @param request - DescribeTriggerRequest
|
|
21670
21960
|
* @returns DescribeTriggerResponse
|
|
21671
21961
|
*/
|
|
21672
21962
|
describeTrigger(clusterId: string, request: DescribeTriggerRequest): Promise<DescribeTriggerResponse>;
|
|
21673
21963
|
/**
|
|
21674
|
-
*
|
|
21964
|
+
* You can use Kubernetes namespaces to limit users from accessing resources in a Container Service for Kubernetes (ACK) cluster. Users that are granted Role-Based Access Control (RBAC) permissions only on one namespace cannot access resources in other namespaces. Queries the RBAC permissions that are granted to the current Resource Access Management (RAM) user or RAM role on an ACK cluster.
|
|
21675
21965
|
*
|
|
21676
21966
|
* @param headers - map
|
|
21677
21967
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21681,13 +21971,17 @@ export default class Client extends OpenApi {
|
|
|
21681
21971
|
[key: string]: string;
|
|
21682
21972
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeUserClusterNamespacesResponse>;
|
|
21683
21973
|
/**
|
|
21684
|
-
*
|
|
21974
|
+
* You can use Kubernetes namespaces to limit users from accessing resources in a Container Service for Kubernetes (ACK) cluster. Users that are granted Role-Based Access Control (RBAC) permissions only on one namespace cannot access resources in other namespaces. Queries the RBAC permissions that are granted to the current Resource Access Management (RAM) user or RAM role on an ACK cluster.
|
|
21685
21975
|
* @returns DescribeUserClusterNamespacesResponse
|
|
21686
21976
|
*/
|
|
21687
21977
|
describeUserClusterNamespaces(ClusterId: string): Promise<DescribeUserClusterNamespacesResponse>;
|
|
21688
21978
|
/**
|
|
21689
21979
|
* In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
|
|
21690
21980
|
*
|
|
21981
|
+
* @remarks
|
|
21982
|
+
* *Precautions**:
|
|
21983
|
+
* * If you call this operation as a Resource Access Management (RAM) user or by assuming a RAM role, only the permissions granted on the clusters on which the current account has the role-based access control (RBAC) administrator permissions are returned. If you want to query the permissions on all clusters, you must use an account that has the RBAC administrator permissions on all clusters.
|
|
21984
|
+
*
|
|
21691
21985
|
* @param headers - map
|
|
21692
21986
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
21693
21987
|
* @returns DescribeUserPermissionResponse
|
|
@@ -21697,6 +21991,10 @@ export default class Client extends OpenApi {
|
|
|
21697
21991
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeUserPermissionResponse>;
|
|
21698
21992
|
/**
|
|
21699
21993
|
* In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
|
|
21994
|
+
*
|
|
21995
|
+
* @remarks
|
|
21996
|
+
* *Precautions**:
|
|
21997
|
+
* * If you call this operation as a Resource Access Management (RAM) user or by assuming a RAM role, only the permissions granted on the clusters on which the current account has the role-based access control (RBAC) administrator permissions are returned. If you want to query the permissions on all clusters, you must use an account that has the RBAC administrator permissions on all clusters.
|
|
21700
21998
|
* @returns DescribeUserPermissionResponse
|
|
21701
21999
|
*/
|
|
21702
22000
|
describeUserPermission(uid: string): Promise<DescribeUserPermissionResponse>;
|
|
@@ -21940,7 +22238,7 @@ export default class Client extends OpenApi {
|
|
|
21940
22238
|
*/
|
|
21941
22239
|
installClusterAddons(ClusterId: string, request: InstallClusterAddonsRequest): Promise<InstallClusterAddonsResponse>;
|
|
21942
22240
|
/**
|
|
21943
|
-
*
|
|
22241
|
+
* Queries the available components based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, and cluster version and queries the detailed information about a component. The information includes whether the component is managed, the supported custom parameter schema, and compatible operating system architecture.
|
|
21944
22242
|
*
|
|
21945
22243
|
* @param request - ListAddonsRequest
|
|
21946
22244
|
* @param headers - map
|
|
@@ -21951,14 +22249,14 @@ export default class Client extends OpenApi {
|
|
|
21951
22249
|
[key: string]: string;
|
|
21952
22250
|
}, runtime: $Util.RuntimeOptions): Promise<ListAddonsResponse>;
|
|
21953
22251
|
/**
|
|
21954
|
-
*
|
|
22252
|
+
* Queries the available components based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, and cluster version and queries the detailed information about a component. The information includes whether the component is managed, the supported custom parameter schema, and compatible operating system architecture.
|
|
21955
22253
|
*
|
|
21956
22254
|
* @param request - ListAddonsRequest
|
|
21957
22255
|
* @returns ListAddonsResponse
|
|
21958
22256
|
*/
|
|
21959
22257
|
listAddons(request: ListAddonsRequest): Promise<ListAddonsResponse>;
|
|
21960
22258
|
/**
|
|
21961
|
-
*
|
|
22259
|
+
* Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
|
|
21962
22260
|
*
|
|
21963
22261
|
* @param headers - map
|
|
21964
22262
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21968,7 +22266,7 @@ export default class Client extends OpenApi {
|
|
|
21968
22266
|
[key: string]: string;
|
|
21969
22267
|
}, runtime: $Util.RuntimeOptions): Promise<ListClusterAddonInstancesResponse>;
|
|
21970
22268
|
/**
|
|
21971
|
-
*
|
|
22269
|
+
* Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
|
|
21972
22270
|
* @returns ListClusterAddonInstancesResponse
|
|
21973
22271
|
*/
|
|
21974
22272
|
listClusterAddonInstances(clusterId: string): Promise<ListClusterAddonInstancesResponse>;
|
|
@@ -21994,9 +22292,8 @@ export default class Client extends OpenApi {
|
|
|
21994
22292
|
* You can call the ListClusterKubeconfigStates operation to query the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
21995
22293
|
*
|
|
21996
22294
|
* @remarks
|
|
21997
|
-
* >
|
|
21998
|
-
*
|
|
21999
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
22295
|
+
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
22296
|
+
* > - To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
22000
22297
|
*
|
|
22001
22298
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
22002
22299
|
* @param headers - map
|
|
@@ -22010,16 +22307,15 @@ export default class Client extends OpenApi {
|
|
|
22010
22307
|
* You can call the ListClusterKubeconfigStates operation to query the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
22011
22308
|
*
|
|
22012
22309
|
* @remarks
|
|
22013
|
-
* >
|
|
22014
|
-
*
|
|
22015
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
22310
|
+
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
22311
|
+
* > - To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
22016
22312
|
*
|
|
22017
22313
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
22018
22314
|
* @returns ListClusterKubeconfigStatesResponse
|
|
22019
22315
|
*/
|
|
22020
22316
|
listClusterKubeconfigStates(ClusterId: string, request: ListClusterKubeconfigStatesRequest): Promise<ListClusterKubeconfigStatesResponse>;
|
|
22021
22317
|
/**
|
|
22022
|
-
*
|
|
22318
|
+
* Queries the auto O\\&M schedules of a cluster.
|
|
22023
22319
|
*
|
|
22024
22320
|
* @param request - ListOperationPlansRequest
|
|
22025
22321
|
* @param headers - map
|
|
@@ -22030,7 +22326,7 @@ export default class Client extends OpenApi {
|
|
|
22030
22326
|
[key: string]: string;
|
|
22031
22327
|
}, runtime: $Util.RuntimeOptions): Promise<ListOperationPlansResponse>;
|
|
22032
22328
|
/**
|
|
22033
|
-
*
|
|
22329
|
+
* Queries the auto O\\&M schedules of a cluster.
|
|
22034
22330
|
*
|
|
22035
22331
|
* @param request - ListOperationPlansRequest
|
|
22036
22332
|
* @returns ListOperationPlansResponse
|
|
@@ -22119,8 +22415,8 @@ export default class Client extends OpenApi {
|
|
|
22119
22415
|
*
|
|
22120
22416
|
* @remarks
|
|
22121
22417
|
* You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
|
|
22122
|
-
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://
|
|
22123
|
-
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://
|
|
22418
|
+
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://help.aliyun.com/document_detail/2667944.html).
|
|
22419
|
+
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://help.aliyun.com/document_detail/199588.html).
|
|
22124
22420
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
22125
22421
|
*
|
|
22126
22422
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -22136,8 +22432,8 @@ export default class Client extends OpenApi {
|
|
|
22136
22432
|
*
|
|
22137
22433
|
* @remarks
|
|
22138
22434
|
* You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
|
|
22139
|
-
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://
|
|
22140
|
-
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://
|
|
22435
|
+
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://help.aliyun.com/document_detail/2667944.html).
|
|
22436
|
+
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://help.aliyun.com/document_detail/199588.html).
|
|
22141
22437
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
22142
22438
|
*
|
|
22143
22439
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -22181,7 +22477,7 @@ export default class Client extends OpenApi {
|
|
|
22181
22477
|
*/
|
|
22182
22478
|
modifyClusterNodePool(ClusterId: string, NodepoolId: string, request: ModifyClusterNodePoolRequest): Promise<ModifyClusterNodePoolResponse>;
|
|
22183
22479
|
/**
|
|
22184
|
-
*
|
|
22480
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
22185
22481
|
*
|
|
22186
22482
|
* @param request - ModifyClusterTagsRequest
|
|
22187
22483
|
* @param headers - map
|
|
@@ -22192,7 +22488,7 @@ export default class Client extends OpenApi {
|
|
|
22192
22488
|
[key: string]: string;
|
|
22193
22489
|
}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterTagsResponse>;
|
|
22194
22490
|
/**
|
|
22195
|
-
*
|
|
22491
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
22196
22492
|
*
|
|
22197
22493
|
* @param request - ModifyClusterTagsRequest
|
|
22198
22494
|
* @returns ModifyClusterTagsResponse
|
|
@@ -22241,7 +22537,7 @@ export default class Client extends OpenApi {
|
|
|
22241
22537
|
*/
|
|
22242
22538
|
modifyPolicyInstance(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest): Promise<ModifyPolicyInstanceResponse>;
|
|
22243
22539
|
/**
|
|
22244
|
-
*
|
|
22540
|
+
* When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
|
|
22245
22541
|
*
|
|
22246
22542
|
* @remarks
|
|
22247
22543
|
* You can activate ACK by using Alibaba Cloud accounts.
|
|
@@ -22256,7 +22552,7 @@ export default class Client extends OpenApi {
|
|
|
22256
22552
|
[key: string]: string;
|
|
22257
22553
|
}, runtime: $Util.RuntimeOptions): Promise<OpenAckServiceResponse>;
|
|
22258
22554
|
/**
|
|
22259
|
-
*
|
|
22555
|
+
* When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
|
|
22260
22556
|
*
|
|
22261
22557
|
* @remarks
|
|
22262
22558
|
* You can activate ACK by using Alibaba Cloud accounts.
|
|
@@ -22403,7 +22699,7 @@ export default class Client extends OpenApi {
|
|
|
22403
22699
|
*/
|
|
22404
22700
|
removeWorkflow(workflowName: string): Promise<RemoveWorkflowResponse>;
|
|
22405
22701
|
/**
|
|
22406
|
-
*
|
|
22702
|
+
* Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
|
|
22407
22703
|
*
|
|
22408
22704
|
* @param request - RepairClusterNodePoolRequest
|
|
22409
22705
|
* @param headers - map
|
|
@@ -22414,7 +22710,7 @@ export default class Client extends OpenApi {
|
|
|
22414
22710
|
[key: string]: string;
|
|
22415
22711
|
}, runtime: $Util.RuntimeOptions): Promise<RepairClusterNodePoolResponse>;
|
|
22416
22712
|
/**
|
|
22417
|
-
*
|
|
22713
|
+
* Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
|
|
22418
22714
|
*
|
|
22419
22715
|
* @param request - RepairClusterNodePoolRequest
|
|
22420
22716
|
* @returns RepairClusterNodePoolResponse
|
|
@@ -22474,7 +22770,7 @@ export default class Client extends OpenApi {
|
|
|
22474
22770
|
*/
|
|
22475
22771
|
resumeUpgradeCluster(ClusterId: string): Promise<ResumeUpgradeClusterResponse>;
|
|
22476
22772
|
/**
|
|
22477
|
-
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file that the current
|
|
22773
|
+
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file of a cluster that belongs to the current Alibaba Cloud account or RAM user. After the kubeconfig file is revoked, the cluster generates a new kubeconfig file, and the original kubeconfig file becomes invalid.
|
|
22478
22774
|
*
|
|
22479
22775
|
* @param headers - map
|
|
22480
22776
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22484,12 +22780,12 @@ export default class Client extends OpenApi {
|
|
|
22484
22780
|
[key: string]: string;
|
|
22485
22781
|
}, runtime: $Util.RuntimeOptions): Promise<RevokeK8sClusterKubeConfigResponse>;
|
|
22486
22782
|
/**
|
|
22487
|
-
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file that the current
|
|
22783
|
+
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file of a cluster that belongs to the current Alibaba Cloud account or RAM user. After the kubeconfig file is revoked, the cluster generates a new kubeconfig file, and the original kubeconfig file becomes invalid.
|
|
22488
22784
|
* @returns RevokeK8sClusterKubeConfigResponse
|
|
22489
22785
|
*/
|
|
22490
22786
|
revokeK8sClusterKubeConfig(ClusterId: string): Promise<RevokeK8sClusterKubeConfigResponse>;
|
|
22491
22787
|
/**
|
|
22492
|
-
*
|
|
22788
|
+
* Container Intelligence Service (CIS) provides a variety of cluster check capabilities to allow you to perform cluster update check, cluster migration check, component installation check, component update check, and node pool check. A precheck is automatically triggered before an update, migration, or installation is performed. You can perform changes only if the cluster passes the precheck. You can also manually call the RunClusterCheck operation to initiate cluster checks. We recommend that you periodically check and maintain your cluster to mitigate potential risks.
|
|
22493
22789
|
*
|
|
22494
22790
|
* @param request - RunClusterCheckRequest
|
|
22495
22791
|
* @param headers - map
|
|
@@ -22500,7 +22796,7 @@ export default class Client extends OpenApi {
|
|
|
22500
22796
|
[key: string]: string;
|
|
22501
22797
|
}, runtime: $Util.RuntimeOptions): Promise<RunClusterCheckResponse>;
|
|
22502
22798
|
/**
|
|
22503
|
-
*
|
|
22799
|
+
* Container Intelligence Service (CIS) provides a variety of cluster check capabilities to allow you to perform cluster update check, cluster migration check, component installation check, component update check, and node pool check. A precheck is automatically triggered before an update, migration, or installation is performed. You can perform changes only if the cluster passes the precheck. You can also manually call the RunClusterCheck operation to initiate cluster checks. We recommend that you periodically check and maintain your cluster to mitigate potential risks.
|
|
22504
22800
|
*
|
|
22505
22801
|
* @param request - RunClusterCheckRequest
|
|
22506
22802
|
* @returns RunClusterCheckResponse
|
|
@@ -22657,7 +22953,7 @@ export default class Client extends OpenApi {
|
|
|
22657
22953
|
*/
|
|
22658
22954
|
syncClusterNodePool(ClusterId: string): Promise<SyncClusterNodePoolResponse>;
|
|
22659
22955
|
/**
|
|
22660
|
-
*
|
|
22956
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
|
|
22661
22957
|
*
|
|
22662
22958
|
* @param request - TagResourcesRequest
|
|
22663
22959
|
* @param headers - map
|
|
@@ -22668,7 +22964,7 @@ export default class Client extends OpenApi {
|
|
|
22668
22964
|
[key: string]: string;
|
|
22669
22965
|
}, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse>;
|
|
22670
22966
|
/**
|
|
22671
|
-
*
|
|
22967
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
|
|
22672
22968
|
*
|
|
22673
22969
|
* @param request - TagResourcesRequest
|
|
22674
22970
|
* @returns TagResourcesResponse
|
|
@@ -22693,7 +22989,7 @@ export default class Client extends OpenApi {
|
|
|
22693
22989
|
*/
|
|
22694
22990
|
unInstallClusterAddons(ClusterId: string, request: UnInstallClusterAddonsRequest): Promise<UnInstallClusterAddonsResponse>;
|
|
22695
22991
|
/**
|
|
22696
|
-
*
|
|
22992
|
+
* If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
|
|
22697
22993
|
*
|
|
22698
22994
|
* @param tmpReq - UntagResourcesRequest
|
|
22699
22995
|
* @param headers - map
|
|
@@ -22704,7 +23000,7 @@ export default class Client extends OpenApi {
|
|
|
22704
23000
|
[key: string]: string;
|
|
22705
23001
|
}, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse>;
|
|
22706
23002
|
/**
|
|
22707
|
-
*
|
|
23003
|
+
* If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
|
|
22708
23004
|
*
|
|
22709
23005
|
* @param request - UntagResourcesRequest
|
|
22710
23006
|
* @returns UntagResourcesResponse
|
|
@@ -22735,7 +23031,7 @@ export default class Client extends OpenApi {
|
|
|
22735
23031
|
*/
|
|
22736
23032
|
updateClusterAuditLogConfig(clusterid: string, request: UpdateClusterAuditLogConfigRequest): Promise<UpdateClusterAuditLogConfigResponse>;
|
|
22737
23033
|
/**
|
|
22738
|
-
*
|
|
23034
|
+
* null
|
|
22739
23035
|
*
|
|
22740
23036
|
* @param request - UpdateContactGroupForAlertRequest
|
|
22741
23037
|
* @param headers - map
|
|
@@ -22746,14 +23042,14 @@ export default class Client extends OpenApi {
|
|
|
22746
23042
|
[key: string]: string;
|
|
22747
23043
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateContactGroupForAlertResponse>;
|
|
22748
23044
|
/**
|
|
22749
|
-
*
|
|
23045
|
+
* null
|
|
22750
23046
|
*
|
|
22751
23047
|
* @param request - UpdateContactGroupForAlertRequest
|
|
22752
23048
|
* @returns UpdateContactGroupForAlertResponse
|
|
22753
23049
|
*/
|
|
22754
23050
|
updateContactGroupForAlert(ClusterId: string, request: UpdateContactGroupForAlertRequest): Promise<UpdateContactGroupForAlertResponse>;
|
|
22755
23051
|
/**
|
|
22756
|
-
*
|
|
23052
|
+
* Modifies the log configurations of control plane components. The configurations include the log retention period and components whose logs that you want to collect. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube-apiserver, kube-scheduler, Kubernetes controller manager, and cloud controller manager (CCM).
|
|
22757
23053
|
*
|
|
22758
23054
|
* @param request - UpdateControlPlaneLogRequest
|
|
22759
23055
|
* @param headers - map
|
|
@@ -22764,7 +23060,7 @@ export default class Client extends OpenApi {
|
|
|
22764
23060
|
[key: string]: string;
|
|
22765
23061
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateControlPlaneLogResponse>;
|
|
22766
23062
|
/**
|
|
22767
|
-
*
|
|
23063
|
+
* Modifies the log configurations of control plane components. The configurations include the log retention period and components whose logs that you want to collect. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube-apiserver, kube-scheduler, Kubernetes controller manager, and cloud controller manager (CCM).
|
|
22768
23064
|
*
|
|
22769
23065
|
* @param request - UpdateControlPlaneLogRequest
|
|
22770
23066
|
* @returns UpdateControlPlaneLogResponse
|
|
@@ -22774,8 +23070,8 @@ export default class Client extends OpenApi {
|
|
|
22774
23070
|
* Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
22775
23071
|
*
|
|
22776
23072
|
* @remarks
|
|
22777
|
-
*
|
|
22778
|
-
*
|
|
23073
|
+
* You can call this operation only with an Alibaba Cloud account.
|
|
23074
|
+
* * If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
22779
23075
|
*
|
|
22780
23076
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
22781
23077
|
* @param headers - map
|
|
@@ -22789,8 +23085,8 @@ export default class Client extends OpenApi {
|
|
|
22789
23085
|
* Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
22790
23086
|
*
|
|
22791
23087
|
* @remarks
|
|
22792
|
-
*
|
|
22793
|
-
*
|
|
23088
|
+
* You can call this operation only with an Alibaba Cloud account.
|
|
23089
|
+
* * If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
22794
23090
|
*
|
|
22795
23091
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
22796
23092
|
* @returns UpdateK8sClusterUserConfigExpireResponse
|