@alicloud/cs20151215 4.7.3 → 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 +979 -670
- package/dist/client.js +139 -95
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1012 -672
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,19 @@ 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
|
+
*/
|
|
1666
|
+
loadBalancerId?: string;
|
|
1645
1667
|
/**
|
|
1646
1668
|
* @remarks
|
|
1647
1669
|
* The specification of the Server Load Balancer (SLB) instance. Valid values:
|
|
@@ -1661,7 +1683,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1661
1683
|
loadBalancerSpec?: string;
|
|
1662
1684
|
/**
|
|
1663
1685
|
* @remarks
|
|
1664
|
-
* 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`.
|
|
1665
1687
|
*
|
|
1666
1688
|
* @example
|
|
1667
1689
|
* SLS
|
|
@@ -1669,7 +1691,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1669
1691
|
loggingType?: string;
|
|
1670
1692
|
/**
|
|
1671
1693
|
* @remarks
|
|
1672
|
-
* 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.
|
|
1673
1695
|
*
|
|
1674
1696
|
* @example
|
|
1675
1697
|
* Hello@1234
|
|
@@ -1677,7 +1699,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1677
1699
|
loginPassword?: string;
|
|
1678
1700
|
/**
|
|
1679
1701
|
* @remarks
|
|
1680
|
-
* 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:
|
|
1681
1703
|
*
|
|
1682
1704
|
* * `true`: enables auto-renewal.
|
|
1683
1705
|
* * `false`: disables auto-renewal.
|
|
@@ -1690,7 +1712,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1690
1712
|
masterAutoRenew?: boolean;
|
|
1691
1713
|
/**
|
|
1692
1714
|
* @remarks
|
|
1693
|
-
* The
|
|
1715
|
+
* The auto-renewal duration. This parameter takes effect and is required only when the subscription billing method is selected for master nodes.
|
|
1694
1716
|
*
|
|
1695
1717
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
1696
1718
|
*
|
|
@@ -1715,7 +1737,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1715
1737
|
* The billing method of master nodes. Valid values:
|
|
1716
1738
|
*
|
|
1717
1739
|
* * `PrePaid`: subscription.
|
|
1718
|
-
* * `PostPaid`: pay-as-you-go.
|
|
1740
|
+
* * `PostPaid`: the pay-as-you-go.
|
|
1719
1741
|
*
|
|
1720
1742
|
* Default value: `PostPaid`.
|
|
1721
1743
|
*
|
|
@@ -1730,7 +1752,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1730
1752
|
masterInstanceTypes?: string[];
|
|
1731
1753
|
/**
|
|
1732
1754
|
* @remarks
|
|
1733
|
-
* 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`.
|
|
1734
1756
|
*
|
|
1735
1757
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1736
1758
|
*
|
|
@@ -1742,9 +1764,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1742
1764
|
masterPeriod?: number;
|
|
1743
1765
|
/**
|
|
1744
1766
|
* @remarks
|
|
1745
|
-
* 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`.
|
|
1746
1768
|
*
|
|
1747
|
-
*
|
|
1769
|
+
* Valid value: `Month`, which indicates that master nodes are billed only on a monthly basis.
|
|
1748
1770
|
*
|
|
1749
1771
|
* @example
|
|
1750
1772
|
* Month
|
|
@@ -1752,11 +1774,11 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1752
1774
|
masterPeriodUnit?: string;
|
|
1753
1775
|
/**
|
|
1754
1776
|
* @remarks
|
|
1755
|
-
* The
|
|
1777
|
+
* The system disk type of master nodes. Valid values:
|
|
1756
1778
|
*
|
|
1757
1779
|
* * `cloud_efficiency`: ultra disk.
|
|
1758
1780
|
* * `cloud_ssd`: standard SSD.
|
|
1759
|
-
* * `cloud_essd`:
|
|
1781
|
+
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
1760
1782
|
*
|
|
1761
1783
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
1762
1784
|
*
|
|
@@ -1774,7 +1796,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1774
1796
|
masterSystemDiskPerformanceLevel?: string;
|
|
1775
1797
|
/**
|
|
1776
1798
|
* @remarks
|
|
1777
|
-
* The
|
|
1799
|
+
* The system disk size of master nodes. Valid values: 40 to 500. Unit: GiB.
|
|
1778
1800
|
*
|
|
1779
1801
|
* Default value: `120`.
|
|
1780
1802
|
*
|
|
@@ -1794,12 +1816,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1794
1816
|
* @remarks
|
|
1795
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.
|
|
1796
1818
|
*
|
|
1797
|
-
* 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.
|
|
1798
1820
|
*/
|
|
1799
1821
|
masterVswitchIds?: string[];
|
|
1800
1822
|
/**
|
|
1801
1823
|
* @remarks
|
|
1802
|
-
* The name
|
|
1824
|
+
* The cluster name.
|
|
1803
1825
|
*
|
|
1804
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 (-).
|
|
1805
1827
|
*
|
|
@@ -1811,10 +1833,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1811
1833
|
name?: string;
|
|
1812
1834
|
/**
|
|
1813
1835
|
* @remarks
|
|
1814
|
-
* 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:
|
|
1815
1837
|
*
|
|
1816
1838
|
* * `true`: automatically creates a NAT gateway and configures SNAT rules. This enables Internet access for the VPC in which the cluster is deployed.
|
|
1817
|
-
* * `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.
|
|
1818
1840
|
*
|
|
1819
1841
|
* Default value: `false`.
|
|
1820
1842
|
*
|
|
@@ -1824,7 +1846,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1824
1846
|
natGateway?: boolean;
|
|
1825
1847
|
/**
|
|
1826
1848
|
* @remarks
|
|
1827
|
-
* 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.
|
|
1828
1850
|
*
|
|
1829
1851
|
* Default value: `26`.
|
|
1830
1852
|
*
|
|
@@ -1834,14 +1856,14 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1834
1856
|
nodeCidrMask?: string;
|
|
1835
1857
|
/**
|
|
1836
1858
|
* @remarks
|
|
1837
|
-
* The
|
|
1859
|
+
* The custom node name.
|
|
1838
1860
|
*
|
|
1839
|
-
* A node name consists of a prefix,
|
|
1861
|
+
* A custom node name consists of a prefix, a node IP address, and a suffix.
|
|
1840
1862
|
*
|
|
1841
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.
|
|
1842
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.
|
|
1843
1865
|
*
|
|
1844
|
-
* 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.
|
|
1845
1867
|
*
|
|
1846
1868
|
* @example
|
|
1847
1869
|
* aliyun.com00055test
|
|
@@ -1887,7 +1909,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1887
1909
|
osType?: string;
|
|
1888
1910
|
/**
|
|
1889
1911
|
* @remarks
|
|
1890
|
-
* 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.
|
|
1891
1913
|
*
|
|
1892
1914
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1893
1915
|
*
|
|
@@ -1901,7 +1923,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1901
1923
|
* @remarks
|
|
1902
1924
|
* The billing cycle. This parameter is required if charge_type is set to PrePaid.
|
|
1903
1925
|
*
|
|
1904
|
-
* Set the value to Month.
|
|
1926
|
+
* Set the value to Month. Subscription clusters are billed only on a monthly basis.
|
|
1905
1927
|
*
|
|
1906
1928
|
* @example
|
|
1907
1929
|
* Month
|
|
@@ -1909,7 +1931,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1909
1931
|
periodUnit?: string;
|
|
1910
1932
|
/**
|
|
1911
1933
|
* @remarks
|
|
1912
|
-
* The OS distribution. Valid values:
|
|
1934
|
+
* The OS distribution that is used. Valid values:
|
|
1913
1935
|
*
|
|
1914
1936
|
* * CentOS
|
|
1915
1937
|
* * AliyunLinux
|
|
@@ -1926,9 +1948,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1926
1948
|
platform?: string;
|
|
1927
1949
|
/**
|
|
1928
1950
|
* @remarks
|
|
1929
|
-
*
|
|
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.
|
|
1930
1952
|
*
|
|
1931
|
-
* > 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.
|
|
1932
1954
|
*/
|
|
1933
1955
|
podVswitchIds?: string[];
|
|
1934
1956
|
/**
|
|
@@ -1948,8 +1970,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1948
1970
|
* @remarks
|
|
1949
1971
|
* The kube-proxy mode. Valid values:
|
|
1950
1972
|
*
|
|
1951
|
-
* * `iptables`:
|
|
1952
|
-
* * `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.
|
|
1953
1975
|
*
|
|
1954
1976
|
* Default value: `ipvs`.
|
|
1955
1977
|
*
|
|
@@ -1959,12 +1981,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1959
1981
|
proxyMode?: string;
|
|
1960
1982
|
/**
|
|
1961
1983
|
* @remarks
|
|
1962
|
-
* 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.
|
|
1963
1985
|
*/
|
|
1964
1986
|
rdsInstances?: string[];
|
|
1965
1987
|
/**
|
|
1966
1988
|
* @remarks
|
|
1967
|
-
* The ID of the region in which
|
|
1989
|
+
* The ID of the region in which the cluster is deployed.
|
|
1968
1990
|
*
|
|
1969
1991
|
* This parameter is required.
|
|
1970
1992
|
*
|
|
@@ -1984,12 +2006,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1984
2006
|
* @remarks
|
|
1985
2007
|
* The container runtime. The default container runtime is Docker. containerd and Sandboxed-Container are also supported.
|
|
1986
2008
|
*
|
|
1987
|
-
* 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).
|
|
1988
2010
|
*/
|
|
1989
2011
|
runtime?: Runtime;
|
|
1990
2012
|
/**
|
|
1991
2013
|
* @remarks
|
|
1992
|
-
* 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.
|
|
1993
2015
|
*
|
|
1994
2016
|
* @example
|
|
1995
2017
|
* sg-bp1bdue0qc1g7k****
|
|
@@ -1997,14 +2019,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1997
2019
|
securityGroupId?: string;
|
|
1998
2020
|
/**
|
|
1999
2021
|
* @remarks
|
|
2000
|
-
* Specifies whether to enable Alibaba Cloud Linux Security Hardening.
|
|
2001
|
-
*
|
|
2002
|
-
* Valid values:
|
|
2022
|
+
* Specifies whether to enable Alibaba Cloud Linux Security Hardening. Valid values:
|
|
2003
2023
|
*
|
|
2004
|
-
*
|
|
2005
|
-
*
|
|
2024
|
+
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
2025
|
+
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
2006
2026
|
*
|
|
2007
|
-
* Default value: false
|
|
2027
|
+
* Default value: `false`.
|
|
2008
2028
|
*
|
|
2009
2029
|
* @example
|
|
2010
2030
|
* false
|
|
@@ -2012,9 +2032,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2012
2032
|
securityHardeningOs?: boolean;
|
|
2013
2033
|
/**
|
|
2014
2034
|
* @remarks
|
|
2015
|
-
* 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`.
|
|
2016
2036
|
*
|
|
2017
|
-
* 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).
|
|
2018
2038
|
*
|
|
2019
2039
|
* @example
|
|
2020
2040
|
* kubernetes.default.svc
|
|
@@ -2022,9 +2042,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2022
2042
|
serviceAccountIssuer?: string;
|
|
2023
2043
|
/**
|
|
2024
2044
|
* @remarks
|
|
2025
|
-
* 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.
|
|
2026
2046
|
*
|
|
2027
|
-
* By default, the CIDR block
|
|
2047
|
+
* By default, the Service CIDR block is set to 172.19.0.0/20.
|
|
2028
2048
|
*
|
|
2029
2049
|
* This parameter is required.
|
|
2030
2050
|
*
|
|
@@ -2036,20 +2056,20 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2036
2056
|
* @remarks
|
|
2037
2057
|
* The type of service discovery that is implemented in the `ACK Serverless` cluster.
|
|
2038
2058
|
*
|
|
2039
|
-
* * `CoreDNS`:
|
|
2040
|
-
* * `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.
|
|
2041
2061
|
*
|
|
2042
2062
|
* By default, this parameter is not specified.
|
|
2043
2063
|
*/
|
|
2044
2064
|
serviceDiscoveryTypes?: string[];
|
|
2045
2065
|
/**
|
|
2046
2066
|
* @remarks
|
|
2047
|
-
* Specifies whether to configure
|
|
2067
|
+
* Specifies whether to configure SNAT rules for the VPC in which your cluster is deployed. Valid values:
|
|
2048
2068
|
*
|
|
2049
|
-
* * `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.
|
|
2050
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.
|
|
2051
2071
|
*
|
|
2052
|
-
* > 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).
|
|
2053
2073
|
*
|
|
2054
2074
|
* Default value: `true`.
|
|
2055
2075
|
*
|
|
@@ -2059,12 +2079,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2059
2079
|
snatEntry?: boolean;
|
|
2060
2080
|
/**
|
|
2061
2081
|
* @remarks
|
|
2062
|
-
* 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).
|
|
2063
2083
|
*
|
|
2064
2084
|
* Valid values:
|
|
2065
2085
|
*
|
|
2066
|
-
* * `true`: enables
|
|
2067
|
-
* * `false`: disables
|
|
2086
|
+
* * `true`: enables security hardening based on MLPS.
|
|
2087
|
+
* * `false`: disables security hardening based on MLPS.
|
|
2068
2088
|
*
|
|
2069
2089
|
* Default value: `false`.
|
|
2070
2090
|
*
|
|
@@ -2095,7 +2115,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2095
2115
|
tags?: Tag[];
|
|
2096
2116
|
/**
|
|
2097
2117
|
* @remarks
|
|
2098
|
-
* 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/).
|
|
2099
2119
|
*/
|
|
2100
2120
|
taints?: Taint[];
|
|
2101
2121
|
/**
|
|
@@ -2134,9 +2154,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2134
2154
|
userData?: string;
|
|
2135
2155
|
/**
|
|
2136
2156
|
* @remarks
|
|
2137
|
-
* The
|
|
2138
|
-
*
|
|
2139
|
-
* This parameter is required.
|
|
2157
|
+
* The virtual private cloud (VPC) in which you want to deploy the cluster. This parameter is required.
|
|
2140
2158
|
*
|
|
2141
2159
|
* @example
|
|
2142
2160
|
* vpc-2zeik9h3ahvv2zz95****
|
|
@@ -2144,19 +2162,17 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2144
2162
|
vpcid?: string;
|
|
2145
2163
|
/**
|
|
2146
2164
|
* @remarks
|
|
2147
|
-
* The vSwitches
|
|
2148
|
-
*
|
|
2149
|
-
* 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.
|
|
2150
2166
|
*/
|
|
2151
2167
|
vswitchIds?: string[];
|
|
2152
2168
|
/**
|
|
2153
2169
|
* @remarks
|
|
2154
|
-
* 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:
|
|
2155
2171
|
*
|
|
2156
2172
|
* * `true`: enables auto-renewal.
|
|
2157
2173
|
* * `false`: disables auto-renewal.
|
|
2158
2174
|
*
|
|
2159
|
-
* Default value: `true
|
|
2175
|
+
* Default value: `true`
|
|
2160
2176
|
*
|
|
2161
2177
|
* @example
|
|
2162
2178
|
* true
|
|
@@ -2166,7 +2182,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2166
2182
|
workerAutoRenew?: boolean;
|
|
2167
2183
|
/**
|
|
2168
2184
|
* @remarks
|
|
2169
|
-
* The
|
|
2185
|
+
* The auto-renewal duration. This parameter takes effect and is required only when the subscription billing method is selected for worker nodes.
|
|
2170
2186
|
*
|
|
2171
2187
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
2172
2188
|
*
|
|
@@ -2207,7 +2223,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2207
2223
|
workerInstanceTypes?: string[];
|
|
2208
2224
|
/**
|
|
2209
2225
|
* @remarks
|
|
2210
|
-
* 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`.
|
|
2211
2227
|
*
|
|
2212
2228
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
2213
2229
|
*
|
|
@@ -2223,7 +2239,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2223
2239
|
* @remarks
|
|
2224
2240
|
* The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
|
|
2225
2241
|
*
|
|
2226
|
-
* Set the value to `Month`.
|
|
2242
|
+
* Set the value to `Month`. Subscription worker nodes are billed only on a monthly basis.
|
|
2227
2243
|
*
|
|
2228
2244
|
* @example
|
|
2229
2245
|
* Month
|
|
@@ -2233,7 +2249,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2233
2249
|
workerPeriodUnit?: string;
|
|
2234
2250
|
/**
|
|
2235
2251
|
* @remarks
|
|
2236
|
-
* 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).
|
|
2237
2253
|
*
|
|
2238
2254
|
* Valid values:
|
|
2239
2255
|
*
|
|
@@ -2250,7 +2266,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2250
2266
|
workerSystemDiskCategory?: string;
|
|
2251
2267
|
/**
|
|
2252
2268
|
* @remarks
|
|
2253
|
-
* 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).
|
|
2254
2270
|
*
|
|
2255
2271
|
* Valid values:
|
|
2256
2272
|
*
|
|
@@ -2271,7 +2287,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2271
2287
|
*
|
|
2272
2288
|
* Valid values: 40 to 500.
|
|
2273
2289
|
*
|
|
2274
|
-
* 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.
|
|
2275
2291
|
*
|
|
2276
2292
|
* Default value: `120`.
|
|
2277
2293
|
*
|
|
@@ -2293,23 +2309,26 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2293
2309
|
workerSystemDiskSnapshotPolicyId?: string;
|
|
2294
2310
|
/**
|
|
2295
2311
|
* @remarks
|
|
2296
|
-
* The
|
|
2312
|
+
* The vSwitches for worker nodes. Each worker node is allocated a vSwitch.
|
|
2297
2313
|
*
|
|
2298
|
-
*
|
|
2314
|
+
* `worker_vswitch_ids` is optional but `vswitch_ids` is required if you create an ACK managed cluster that does not contain nodes.
|
|
2299
2315
|
*
|
|
2300
2316
|
* @deprecated
|
|
2301
2317
|
*/
|
|
2302
2318
|
workerVswitchIds?: string[];
|
|
2303
2319
|
/**
|
|
2304
2320
|
* @remarks
|
|
2305
|
-
* 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.
|
|
2306
2322
|
*
|
|
2307
|
-
*
|
|
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.
|
|
2308
2324
|
*
|
|
2309
2325
|
* @example
|
|
2310
2326
|
* cn-beiji****
|
|
2327
|
+
*
|
|
2328
|
+
* @deprecated
|
|
2311
2329
|
*/
|
|
2312
2330
|
zoneId?: string;
|
|
2331
|
+
zoneIds?: string[];
|
|
2313
2332
|
static names(): {
|
|
2314
2333
|
[key: string]: string;
|
|
2315
2334
|
};
|
|
@@ -2373,6 +2392,33 @@ export declare class CreateClusterResponse extends $tea.Model {
|
|
|
2373
2392
|
}
|
|
2374
2393
|
export declare class CreateClusterDiagnosisRequest extends $tea.Model {
|
|
2375
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
|
+
*
|
|
2376
2422
|
* @example
|
|
2377
2423
|
* {"namespace": "kube-system", "name": "csi-plugin-2cg9f"}
|
|
2378
2424
|
*/
|
|
@@ -2380,6 +2426,19 @@ export declare class CreateClusterDiagnosisRequest extends $tea.Model {
|
|
|
2380
2426
|
[key: string]: any;
|
|
2381
2427
|
};
|
|
2382
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
|
+
*
|
|
2383
2442
|
* @example
|
|
2384
2443
|
* node
|
|
2385
2444
|
*/
|
|
@@ -2396,16 +2455,25 @@ export declare class CreateClusterDiagnosisRequest extends $tea.Model {
|
|
|
2396
2455
|
}
|
|
2397
2456
|
export declare class CreateClusterDiagnosisResponseBody extends $tea.Model {
|
|
2398
2457
|
/**
|
|
2458
|
+
* @remarks
|
|
2459
|
+
* The cluster ID.
|
|
2460
|
+
*
|
|
2399
2461
|
* @example
|
|
2400
2462
|
* c5cdf7e3938bc4f8eb0e44b21a80f****
|
|
2401
2463
|
*/
|
|
2402
2464
|
clusterId?: string;
|
|
2403
2465
|
/**
|
|
2466
|
+
* @remarks
|
|
2467
|
+
* The diagnostic ID.
|
|
2468
|
+
*
|
|
2404
2469
|
* @example
|
|
2405
2470
|
* 6f719f23098240818eb26fe3a37d****
|
|
2406
2471
|
*/
|
|
2407
2472
|
diagnosisId?: string;
|
|
2408
2473
|
/**
|
|
2474
|
+
* @remarks
|
|
2475
|
+
* The request ID.
|
|
2476
|
+
*
|
|
2409
2477
|
* @example
|
|
2410
2478
|
* 687C5BAA-D103-4993-884B-C35E4314****
|
|
2411
2479
|
*/
|
|
@@ -2444,7 +2512,7 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2444
2512
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
2445
2513
|
/**
|
|
2446
2514
|
* @remarks
|
|
2447
|
-
* This parameter is
|
|
2515
|
+
* This parameter is deprecated. Use desired_size instead.
|
|
2448
2516
|
*
|
|
2449
2517
|
* The number of nodes in the node pool.
|
|
2450
2518
|
*
|
|
@@ -2456,7 +2524,7 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2456
2524
|
count?: number;
|
|
2457
2525
|
/**
|
|
2458
2526
|
* @remarks
|
|
2459
|
-
* This parameter is
|
|
2527
|
+
* This parameter is deprecated.
|
|
2460
2528
|
*
|
|
2461
2529
|
* The configurations of the edge node pool.
|
|
2462
2530
|
*
|
|
@@ -2465,10 +2533,10 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2465
2533
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
2466
2534
|
/**
|
|
2467
2535
|
* @remarks
|
|
2468
|
-
* 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:
|
|
2469
2537
|
*
|
|
2470
|
-
* * `basic`: basic
|
|
2471
|
-
* * `private`: dedicated
|
|
2538
|
+
* * `basic`: basic
|
|
2539
|
+
* * `private`: dedicated Only Kubernetes 1.22 and later support this value.
|
|
2472
2540
|
*
|
|
2473
2541
|
* @example
|
|
2474
2542
|
* basic
|
|
@@ -2476,7 +2544,7 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2476
2544
|
interconnectMode?: string;
|
|
2477
2545
|
/**
|
|
2478
2546
|
* @remarks
|
|
2479
|
-
* The cluster
|
|
2547
|
+
* The configurations of the cluster.
|
|
2480
2548
|
*/
|
|
2481
2549
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
2482
2550
|
/**
|
|
@@ -2486,7 +2554,10 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2486
2554
|
management?: CreateClusterNodePoolRequestManagement;
|
|
2487
2555
|
/**
|
|
2488
2556
|
* @remarks
|
|
2489
|
-
* 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.
|
|
2490
2561
|
*
|
|
2491
2562
|
* @example
|
|
2492
2563
|
* 10
|
|
@@ -3056,7 +3127,7 @@ export declare class DeleteAlertContactResponse extends $tea.Model {
|
|
|
3056
3127
|
[key: string]: string;
|
|
3057
3128
|
};
|
|
3058
3129
|
statusCode?: number;
|
|
3059
|
-
body?: DeleteAlertContactResponseBody
|
|
3130
|
+
body?: DeleteAlertContactResponseBody;
|
|
3060
3131
|
static names(): {
|
|
3061
3132
|
[key: string]: string;
|
|
3062
3133
|
};
|
|
@@ -3123,12 +3194,12 @@ export declare class DeleteClusterRequest extends $tea.Model {
|
|
|
3123
3194
|
deleteOptions?: DeleteClusterRequestDeleteOptions[];
|
|
3124
3195
|
/**
|
|
3125
3196
|
* @remarks
|
|
3126
|
-
* 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.
|
|
3127
3198
|
*
|
|
3128
3199
|
* * `true`: retains the SLB instances that are created by the cluster.
|
|
3129
3200
|
* * `false`: does not retain the SLB instances that are created by the cluster.
|
|
3130
3201
|
*
|
|
3131
|
-
* Default value: `false`.
|
|
3202
|
+
* Default value: `false`. Set resource_type to `SLB` in the `delete_options` parameter to manage SLB instances.
|
|
3132
3203
|
*
|
|
3133
3204
|
* @example
|
|
3134
3205
|
* false
|
|
@@ -3138,10 +3209,10 @@ export declare class DeleteClusterRequest extends $tea.Model {
|
|
|
3138
3209
|
keepSlb?: boolean;
|
|
3139
3210
|
/**
|
|
3140
3211
|
* @remarks
|
|
3141
|
-
* 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`.
|
|
3142
3213
|
*
|
|
3143
|
-
* * `true`: retains all resources.
|
|
3144
|
-
* * `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`.
|
|
3145
3216
|
*
|
|
3146
3217
|
* Default value: `false`.
|
|
3147
3218
|
*
|
|
@@ -3172,12 +3243,12 @@ export declare class DeleteClusterShrinkRequest extends $tea.Model {
|
|
|
3172
3243
|
deleteOptionsShrink?: string;
|
|
3173
3244
|
/**
|
|
3174
3245
|
* @remarks
|
|
3175
|
-
* 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.
|
|
3176
3247
|
*
|
|
3177
3248
|
* * `true`: retains the SLB instances that are created by the cluster.
|
|
3178
3249
|
* * `false`: does not retain the SLB instances that are created by the cluster.
|
|
3179
3250
|
*
|
|
3180
|
-
* Default value: `false`.
|
|
3251
|
+
* Default value: `false`. Set resource_type to `SLB` in the `delete_options` parameter to manage SLB instances.
|
|
3181
3252
|
*
|
|
3182
3253
|
* @example
|
|
3183
3254
|
* false
|
|
@@ -3187,10 +3258,10 @@ export declare class DeleteClusterShrinkRequest extends $tea.Model {
|
|
|
3187
3258
|
keepSlb?: boolean;
|
|
3188
3259
|
/**
|
|
3189
3260
|
* @remarks
|
|
3190
|
-
* 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`.
|
|
3191
3262
|
*
|
|
3192
|
-
* * `true`: retains all resources.
|
|
3193
|
-
* * `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`.
|
|
3194
3265
|
*
|
|
3195
3266
|
* Default value: `false`.
|
|
3196
3267
|
*
|
|
@@ -3919,12 +3990,10 @@ export declare class DescribeAddonsRequest extends $tea.Model {
|
|
|
3919
3990
|
clusterProfile?: string;
|
|
3920
3991
|
/**
|
|
3921
3992
|
* @remarks
|
|
3922
|
-
*
|
|
3923
|
-
*
|
|
3924
|
-
* * `ack.pro.small`: ACK Pro cluster
|
|
3925
|
-
* * `ack.standard`: ACK Basic cluster
|
|
3993
|
+
* If you set `cluster_type` to `ManagedKubernetes` and specify `profile`, you can further specify the edition of the cluster. Valid values:
|
|
3926
3994
|
*
|
|
3927
|
-
*
|
|
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.
|
|
3928
3997
|
*
|
|
3929
3998
|
* @example
|
|
3930
3999
|
* ack.pro.small
|
|
@@ -3932,10 +4001,8 @@ export declare class DescribeAddonsRequest extends $tea.Model {
|
|
|
3932
4001
|
clusterSpec?: string;
|
|
3933
4002
|
/**
|
|
3934
4003
|
* @remarks
|
|
3935
|
-
* The type of cluster. Valid values:
|
|
3936
|
-
*
|
|
3937
4004
|
* * `Kubernetes`: ACK dedicated cluster.
|
|
3938
|
-
* * `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.
|
|
3939
4006
|
* * `ExternalKubernetes`: registered cluster.
|
|
3940
4007
|
*
|
|
3941
4008
|
* @example
|
|
@@ -4030,12 +4097,12 @@ export declare class DescribeClusterAddonInstanceResponseBody extends $tea.Model
|
|
|
4030
4097
|
* @remarks
|
|
4031
4098
|
* The status of the component. Valid values:
|
|
4032
4099
|
*
|
|
4033
|
-
* * initial:
|
|
4034
|
-
* * active:
|
|
4035
|
-
* * unhealthy:
|
|
4036
|
-
* * upgrading:
|
|
4037
|
-
* * updating:
|
|
4038
|
-
* * 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.
|
|
4039
4106
|
* * deleted: The component is deleted.
|
|
4040
4107
|
*
|
|
4041
4108
|
* @example
|
|
@@ -4335,10 +4402,10 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4335
4402
|
clusterId?: string;
|
|
4336
4403
|
/**
|
|
4337
4404
|
* @remarks
|
|
4338
|
-
*
|
|
4405
|
+
* After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition of the cluster.
|
|
4339
4406
|
*
|
|
4340
|
-
* * `ack.pro.small`:
|
|
4341
|
-
* * `ack.standard`:
|
|
4407
|
+
* * `ack.pro.small`: Pro.
|
|
4408
|
+
* * `ack.standard`: Basic. If you leave the parameter empty, the Basic edition is selected.
|
|
4342
4409
|
*
|
|
4343
4410
|
* @example
|
|
4344
4411
|
* ack.pro.small
|
|
@@ -4346,10 +4413,8 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4346
4413
|
clusterSpec?: string;
|
|
4347
4414
|
/**
|
|
4348
4415
|
* @remarks
|
|
4349
|
-
* The type of cluster. Valid values:
|
|
4350
|
-
*
|
|
4351
4416
|
* * `Kubernetes`: ACK dedicated cluster.
|
|
4352
|
-
* * `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).
|
|
4353
4418
|
* * `ExternalKubernetes`: registered cluster.
|
|
4354
4419
|
*
|
|
4355
4420
|
* @example
|
|
@@ -4459,10 +4524,12 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4459
4524
|
privateZone?: boolean;
|
|
4460
4525
|
/**
|
|
4461
4526
|
* @remarks
|
|
4462
|
-
*
|
|
4527
|
+
* If you set `cluster_type` to `ManagedKubernetes`, an ACK managed cluster is created. In this case, you can further specify the cluster edition.
|
|
4463
4528
|
*
|
|
4464
|
-
* * `Default
|
|
4465
|
-
* * `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.
|
|
4466
4533
|
*
|
|
4467
4534
|
* @example
|
|
4468
4535
|
* Default
|
|
@@ -4779,9 +4846,6 @@ export declare class DescribeClusterNodePoolDetailResponse extends $tea.Model {
|
|
|
4779
4846
|
}
|
|
4780
4847
|
export declare class DescribeClusterNodePoolsRequest extends $tea.Model {
|
|
4781
4848
|
/**
|
|
4782
|
-
* @remarks
|
|
4783
|
-
* 节点池名称。
|
|
4784
|
-
*
|
|
4785
4849
|
* @example
|
|
4786
4850
|
* nodepool-test
|
|
4787
4851
|
*/
|
|
@@ -4931,7 +4995,7 @@ export declare class DescribeClusterNodesResponse extends $tea.Model {
|
|
|
4931
4995
|
export declare class DescribeClusterResourcesRequest extends $tea.Model {
|
|
4932
4996
|
/**
|
|
4933
4997
|
* @remarks
|
|
4934
|
-
* Specifies whether to query the resources created by cluster components
|
|
4998
|
+
* Specifies whether to query the resources created by cluster components.
|
|
4935
4999
|
*/
|
|
4936
5000
|
withAddonResources?: boolean;
|
|
4937
5001
|
static names(): {
|
|
@@ -5236,12 +5300,10 @@ export declare class DescribeClustersV1Request extends $tea.Model {
|
|
|
5236
5300
|
clusterId?: string;
|
|
5237
5301
|
/**
|
|
5238
5302
|
* @remarks
|
|
5239
|
-
*
|
|
5240
|
-
*
|
|
5241
|
-
* * `ack.pro.small`: ACK Pro cluster
|
|
5242
|
-
* * `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:
|
|
5243
5304
|
*
|
|
5244
|
-
*
|
|
5305
|
+
* * `ack.pro.small`: ACK Pro cluster.
|
|
5306
|
+
* * `ack.standard`: ACK Basic cluster. If you leave the parameter empty, ACK Basic cluster is selected.
|
|
5245
5307
|
*
|
|
5246
5308
|
* @example
|
|
5247
5309
|
* ack.pro.small
|
|
@@ -5249,10 +5311,8 @@ export declare class DescribeClustersV1Request extends $tea.Model {
|
|
|
5249
5311
|
clusterSpec?: string;
|
|
5250
5312
|
/**
|
|
5251
5313
|
* @remarks
|
|
5252
|
-
* The cluster type. Valid values:
|
|
5253
|
-
*
|
|
5254
5314
|
* * `Kubernetes`: ACK dedicated cluster.
|
|
5255
|
-
* * `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.
|
|
5256
5316
|
* * `ExternalKubernetes`: registered cluster.
|
|
5257
5317
|
*
|
|
5258
5318
|
* @example
|
|
@@ -5287,17 +5347,12 @@ export declare class DescribeClustersV1Request extends $tea.Model {
|
|
|
5287
5347
|
pageSize?: number;
|
|
5288
5348
|
/**
|
|
5289
5349
|
* @remarks
|
|
5290
|
-
*
|
|
5291
|
-
*
|
|
5292
|
-
* * `Default`: ACK managed cluster
|
|
5293
|
-
* * `Serverless`: ACK Serverless cluster
|
|
5294
|
-
* * `Edge`: ACK Edge cluster
|
|
5295
|
-
*
|
|
5296
|
-
* Valid values when the cluster_type parameter is set to `Ask`:
|
|
5297
|
-
*
|
|
5298
|
-
* `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:
|
|
5299
5351
|
*
|
|
5300
|
-
*
|
|
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.
|
|
5301
5356
|
*
|
|
5302
5357
|
* @example
|
|
5303
5358
|
* Default
|
|
@@ -5859,6 +5914,13 @@ export declare class DescribeKubernetesVersionMetadataRequest extends $tea.Model
|
|
|
5859
5914
|
* Default
|
|
5860
5915
|
*/
|
|
5861
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
|
+
*/
|
|
5862
5924
|
queryUpgradableVersion?: boolean;
|
|
5863
5925
|
/**
|
|
5864
5926
|
* @remarks
|
|
@@ -6187,7 +6249,7 @@ export declare class DescribePolicyInstancesResponse extends $tea.Model {
|
|
|
6187
6249
|
export declare class DescribePolicyInstancesStatusResponseBody extends $tea.Model {
|
|
6188
6250
|
/**
|
|
6189
6251
|
* @remarks
|
|
6190
|
-
*
|
|
6252
|
+
* The number of policy instances that are deployed in the cluster at different severity levels.
|
|
6191
6253
|
*
|
|
6192
6254
|
* @example
|
|
6193
6255
|
* { "high": 11, "medium": 1 }
|
|
@@ -6197,7 +6259,7 @@ export declare class DescribePolicyInstancesStatusResponseBody extends $tea.Mode
|
|
|
6197
6259
|
};
|
|
6198
6260
|
/**
|
|
6199
6261
|
* @remarks
|
|
6200
|
-
*
|
|
6262
|
+
* The number of policy instances of each policy type.
|
|
6201
6263
|
*/
|
|
6202
6264
|
policyInstances?: DescribePolicyInstancesStatusResponseBodyPolicyInstances[];
|
|
6203
6265
|
static names(): {
|
|
@@ -6732,9 +6794,9 @@ export declare class DescribeUserQuotaResponseBody extends $tea.Model {
|
|
|
6732
6794
|
clusterQuota?: number;
|
|
6733
6795
|
/**
|
|
6734
6796
|
* @remarks
|
|
6735
|
-
* This parameter is
|
|
6797
|
+
* This parameter is discontinued.
|
|
6736
6798
|
*
|
|
6737
|
-
* The
|
|
6799
|
+
* The quotas of enhanced edge node pools.
|
|
6738
6800
|
*/
|
|
6739
6801
|
edgeImprovedNodepoolQuota?: DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota;
|
|
6740
6802
|
/**
|
|
@@ -7029,8 +7091,18 @@ export declare class GetClusterAddonInstanceResponse extends $tea.Model {
|
|
|
7029
7091
|
});
|
|
7030
7092
|
}
|
|
7031
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
|
+
*/
|
|
7032
7101
|
auditEnabled?: boolean;
|
|
7033
7102
|
/**
|
|
7103
|
+
* @remarks
|
|
7104
|
+
* The SLS project in which the audit logs of the API server are stored.
|
|
7105
|
+
*
|
|
7034
7106
|
* @example
|
|
7035
7107
|
* k8s-log-cad1230511cbb4db4a488e58518******
|
|
7036
7108
|
*/
|
|
@@ -7146,18 +7218,31 @@ export declare class GetClusterCheckResponse extends $tea.Model {
|
|
|
7146
7218
|
});
|
|
7147
7219
|
}
|
|
7148
7220
|
export declare class GetClusterDiagnosisCheckItemsResponseBody extends $tea.Model {
|
|
7221
|
+
/**
|
|
7222
|
+
* @remarks
|
|
7223
|
+
* The check item.
|
|
7224
|
+
*/
|
|
7149
7225
|
checkItems?: GetClusterDiagnosisCheckItemsResponseBodyCheckItems[];
|
|
7150
7226
|
/**
|
|
7227
|
+
* @remarks
|
|
7228
|
+
* The status code.
|
|
7229
|
+
*
|
|
7151
7230
|
* @example
|
|
7152
7231
|
* success
|
|
7153
7232
|
*/
|
|
7154
7233
|
code?: string;
|
|
7155
7234
|
/**
|
|
7235
|
+
* @remarks
|
|
7236
|
+
* Indicates whether the check is successful.
|
|
7237
|
+
*
|
|
7156
7238
|
* @example
|
|
7157
7239
|
* true
|
|
7158
7240
|
*/
|
|
7159
7241
|
isSuccess?: boolean;
|
|
7160
7242
|
/**
|
|
7243
|
+
* @remarks
|
|
7244
|
+
* The request ID.
|
|
7245
|
+
*
|
|
7161
7246
|
* @example
|
|
7162
7247
|
* 1DFFD8C6-259E-582B-8B40-002C17DC****
|
|
7163
7248
|
*/
|
|
@@ -7190,46 +7275,90 @@ export declare class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
|
|
|
7190
7275
|
}
|
|
7191
7276
|
export declare class GetClusterDiagnosisResultResponseBody extends $tea.Model {
|
|
7192
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
|
+
*
|
|
7193
7284
|
* @example
|
|
7194
7285
|
* 0
|
|
7195
7286
|
*/
|
|
7196
7287
|
code?: number;
|
|
7197
7288
|
/**
|
|
7289
|
+
* @remarks
|
|
7290
|
+
* The time when the diagnostic is initiated.
|
|
7291
|
+
*
|
|
7198
7292
|
* @example
|
|
7199
7293
|
* 2024-05-28T11:29Z
|
|
7200
7294
|
*/
|
|
7201
7295
|
created?: string;
|
|
7202
7296
|
/**
|
|
7297
|
+
* @remarks
|
|
7298
|
+
* The diagnostic ID.
|
|
7299
|
+
*
|
|
7203
7300
|
* @example
|
|
7204
7301
|
* 6cf6b62e334e4583bdfd26707516****
|
|
7205
7302
|
*/
|
|
7206
7303
|
diagnosisId?: string;
|
|
7207
7304
|
/**
|
|
7305
|
+
* @remarks
|
|
7306
|
+
* The time when the diagnostic is completed.
|
|
7307
|
+
*
|
|
7208
7308
|
* @example
|
|
7209
7309
|
* 2024-05-28T11:29Z
|
|
7210
7310
|
*/
|
|
7211
7311
|
finished?: string;
|
|
7212
7312
|
/**
|
|
7313
|
+
* @remarks
|
|
7314
|
+
* The diagnostic status information.
|
|
7315
|
+
*
|
|
7213
7316
|
* @example
|
|
7214
7317
|
* success
|
|
7215
7318
|
*/
|
|
7216
7319
|
message?: string;
|
|
7217
7320
|
/**
|
|
7321
|
+
* @remarks
|
|
7322
|
+
* The diagnostic result.
|
|
7323
|
+
*
|
|
7218
7324
|
* @example
|
|
7219
7325
|
* {"phase":5,"version":"20240101"}
|
|
7220
7326
|
*/
|
|
7221
7327
|
result?: string;
|
|
7222
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
|
+
*
|
|
7223
7336
|
* @example
|
|
7224
7337
|
* 2
|
|
7225
7338
|
*/
|
|
7226
7339
|
status?: number;
|
|
7227
7340
|
/**
|
|
7341
|
+
* @remarks
|
|
7342
|
+
* The diagnostic object.
|
|
7343
|
+
*
|
|
7228
7344
|
* @example
|
|
7229
7345
|
* {"name":"cn-hongkong.10.0.0.246"}
|
|
7230
7346
|
*/
|
|
7231
7347
|
target?: string;
|
|
7232
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
|
+
*
|
|
7233
7362
|
* @example
|
|
7234
7363
|
* Node
|
|
7235
7364
|
*/
|
|
@@ -7670,7 +7799,7 @@ export declare class ListClusterKubeconfigStatesRequest extends $tea.Model {
|
|
|
7670
7799
|
* The number of entries per page.
|
|
7671
7800
|
*
|
|
7672
7801
|
* * Valid values: 10 to 50.
|
|
7673
|
-
* * Default value: 10
|
|
7802
|
+
* * Default value: 10
|
|
7674
7803
|
*
|
|
7675
7804
|
* @example
|
|
7676
7805
|
* 10
|
|
@@ -7694,7 +7823,7 @@ export declare class ListClusterKubeconfigStatesResponseBody extends $tea.Model
|
|
|
7694
7823
|
page?: ListClusterKubeconfigStatesResponseBodyPage;
|
|
7695
7824
|
/**
|
|
7696
7825
|
* @remarks
|
|
7697
|
-
* The status of the kubeconfig files associated with the cluster.
|
|
7826
|
+
* The status list of the kubeconfig files associated with the cluster.
|
|
7698
7827
|
*/
|
|
7699
7828
|
states?: ListClusterKubeconfigStatesResponseBodyStates[];
|
|
7700
7829
|
static names(): {
|
|
@@ -8095,13 +8224,17 @@ export declare class MigrateClusterResponse extends $tea.Model {
|
|
|
8095
8224
|
export declare class ModifyClusterRequest extends $tea.Model {
|
|
8096
8225
|
/**
|
|
8097
8226
|
* @remarks
|
|
8098
|
-
* 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.
|
|
8099
8228
|
*/
|
|
8100
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
|
+
*/
|
|
8101
8234
|
apiServerCustomCertSans?: ModifyClusterRequestApiServerCustomCertSans;
|
|
8102
8235
|
/**
|
|
8103
8236
|
* @remarks
|
|
8104
|
-
* 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:
|
|
8105
8238
|
*
|
|
8106
8239
|
* * `true`: associates an EIP with the cluster.
|
|
8107
8240
|
* * `false`: does not associate an EIP with the cluster.
|
|
@@ -8120,9 +8253,9 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8120
8253
|
apiServerEipId?: string;
|
|
8121
8254
|
/**
|
|
8122
8255
|
* @remarks
|
|
8123
|
-
* The cluster
|
|
8256
|
+
* The name of the cluster.
|
|
8124
8257
|
*
|
|
8125
|
-
* 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 (-).
|
|
8126
8259
|
*
|
|
8127
8260
|
* @example
|
|
8128
8261
|
* cluster-new-name
|
|
@@ -8130,12 +8263,12 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8130
8263
|
clusterName?: string;
|
|
8131
8264
|
/**
|
|
8132
8265
|
* @remarks
|
|
8133
|
-
* 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:
|
|
8134
8267
|
*
|
|
8135
|
-
* * `true
|
|
8136
|
-
* * `false
|
|
8268
|
+
* * `true`: enables cluster deletion protection.
|
|
8269
|
+
* * `false`: disables cluster deletion protection.
|
|
8137
8270
|
*
|
|
8138
|
-
* Default value: `false
|
|
8271
|
+
* Default value: `false`.
|
|
8139
8272
|
*
|
|
8140
8273
|
* @example
|
|
8141
8274
|
* true
|
|
@@ -8143,10 +8276,10 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8143
8276
|
deletionProtection?: boolean;
|
|
8144
8277
|
/**
|
|
8145
8278
|
* @remarks
|
|
8146
|
-
* 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:
|
|
8147
8280
|
*
|
|
8148
|
-
* * `true
|
|
8149
|
-
* * `false
|
|
8281
|
+
* * `true`: enables the RRSA feature.
|
|
8282
|
+
* * `false`: disables the RRSA feature.
|
|
8150
8283
|
*
|
|
8151
8284
|
* @example
|
|
8152
8285
|
* true
|
|
@@ -8156,10 +8289,10 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8156
8289
|
* @remarks
|
|
8157
8290
|
* Specifies whether to remap the test domain name of the cluster. Valid values:
|
|
8158
8291
|
*
|
|
8159
|
-
* * `true
|
|
8160
|
-
* * `false
|
|
8292
|
+
* * `true`: remaps the test domain name of the cluster.
|
|
8293
|
+
* * `false`: does not remap the test domain name of the cluster.
|
|
8161
8294
|
*
|
|
8162
|
-
* Default value: `false
|
|
8295
|
+
* Default value: `false`.
|
|
8163
8296
|
*
|
|
8164
8297
|
* @example
|
|
8165
8298
|
* true
|
|
@@ -8175,12 +8308,12 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8175
8308
|
ingressLoadbalancerId?: string;
|
|
8176
8309
|
/**
|
|
8177
8310
|
* @remarks
|
|
8178
|
-
* 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:
|
|
8179
8312
|
*
|
|
8180
|
-
* * `true
|
|
8181
|
-
* * `false
|
|
8313
|
+
* * `true`: enables instance deletion protection.
|
|
8314
|
+
* * `false`: disables instance deletion protection.
|
|
8182
8315
|
*
|
|
8183
|
-
* Default value: `false
|
|
8316
|
+
* Default value: `false`.
|
|
8184
8317
|
*
|
|
8185
8318
|
* @example
|
|
8186
8319
|
* true
|
|
@@ -8188,13 +8321,17 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8188
8321
|
instanceDeletionProtection?: boolean;
|
|
8189
8322
|
/**
|
|
8190
8323
|
* @remarks
|
|
8191
|
-
* The cluster maintenance window. This feature takes effect only for
|
|
8324
|
+
* The cluster maintenance window. This feature takes effect only for ACK Pro clusters.
|
|
8192
8325
|
*/
|
|
8193
8326
|
maintenanceWindow?: MaintenanceWindow;
|
|
8327
|
+
/**
|
|
8328
|
+
* @remarks
|
|
8329
|
+
* The automatic O\\&M policy of the cluster.
|
|
8330
|
+
*/
|
|
8194
8331
|
operationPolicy?: ModifyClusterRequestOperationPolicy;
|
|
8195
8332
|
/**
|
|
8196
8333
|
* @remarks
|
|
8197
|
-
* The
|
|
8334
|
+
* The cluster resource group ID.
|
|
8198
8335
|
*
|
|
8199
8336
|
* @example
|
|
8200
8337
|
* rg-acfmyvw3wjm****
|
|
@@ -8347,12 +8484,12 @@ export declare class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
8347
8484
|
concurrency?: boolean;
|
|
8348
8485
|
/**
|
|
8349
8486
|
* @remarks
|
|
8350
|
-
* The
|
|
8487
|
+
* The configurations of the cluster in which the node pool is deployed.
|
|
8351
8488
|
*/
|
|
8352
8489
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
8353
8490
|
/**
|
|
8354
8491
|
* @remarks
|
|
8355
|
-
* The
|
|
8492
|
+
* The configurations of the managed node pool feature.
|
|
8356
8493
|
*/
|
|
8357
8494
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
8358
8495
|
/**
|
|
@@ -8362,7 +8499,7 @@ export declare class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
8362
8499
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
8363
8500
|
/**
|
|
8364
8501
|
* @remarks
|
|
8365
|
-
* The configurations of the scaling group.
|
|
8502
|
+
* The configurations of the scaling group that is used by the node pool.
|
|
8366
8503
|
*/
|
|
8367
8504
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
8368
8505
|
/**
|
|
@@ -8625,8 +8762,8 @@ export declare class OpenAckServiceRequest extends $tea.Model {
|
|
|
8625
8762
|
* @remarks
|
|
8626
8763
|
* The type of service that you want to activate. Valid values:
|
|
8627
8764
|
*
|
|
8628
|
-
* * `propayasgo`:
|
|
8629
|
-
* * `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.
|
|
8630
8767
|
*
|
|
8631
8768
|
* @example
|
|
8632
8769
|
* propayasgo
|
|
@@ -8775,9 +8912,6 @@ export declare class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
8775
8912
|
}
|
|
8776
8913
|
export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
8777
8914
|
/**
|
|
8778
|
-
* @remarks
|
|
8779
|
-
* 是否并发移除。
|
|
8780
|
-
*
|
|
8781
8915
|
* @example
|
|
8782
8916
|
* false
|
|
8783
8917
|
*/
|
|
@@ -8828,9 +8962,6 @@ export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
8828
8962
|
}
|
|
8829
8963
|
export declare class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
8830
8964
|
/**
|
|
8831
|
-
* @remarks
|
|
8832
|
-
* 是否并发移除。
|
|
8833
|
-
*
|
|
8834
8965
|
* @example
|
|
8835
8966
|
* false
|
|
8836
8967
|
*/
|
|
@@ -8940,7 +9071,7 @@ export declare class RemoveWorkflowResponse extends $tea.Model {
|
|
|
8940
9071
|
export declare class RepairClusterNodePoolRequest extends $tea.Model {
|
|
8941
9072
|
/**
|
|
8942
9073
|
* @remarks
|
|
8943
|
-
* Specifies whether to
|
|
9074
|
+
* Specifies whether to restart the instance of the node.
|
|
8944
9075
|
*
|
|
8945
9076
|
* @example
|
|
8946
9077
|
* true
|
|
@@ -8948,7 +9079,7 @@ export declare class RepairClusterNodePoolRequest extends $tea.Model {
|
|
|
8948
9079
|
autoRestart?: boolean;
|
|
8949
9080
|
/**
|
|
8950
9081
|
* @remarks
|
|
8951
|
-
* The
|
|
9082
|
+
* The list of nodes. If you do not specify nodes, all nodes in the node pool are selected.
|
|
8952
9083
|
*/
|
|
8953
9084
|
nodes?: string[];
|
|
8954
9085
|
operations?: RepairClusterNodePoolRequestOperations[];
|
|
@@ -9087,7 +9218,7 @@ export declare class RunClusterCheckRequest extends $tea.Model {
|
|
|
9087
9218
|
};
|
|
9088
9219
|
/**
|
|
9089
9220
|
* @remarks
|
|
9090
|
-
*
|
|
9221
|
+
* The target to be checked.
|
|
9091
9222
|
*
|
|
9092
9223
|
* @example
|
|
9093
9224
|
* np1f6779297c4444a3a1cdd29be8e5****
|
|
@@ -9219,7 +9350,7 @@ export declare class ScaleClusterResponse extends $tea.Model {
|
|
|
9219
9350
|
export declare class ScaleClusterNodePoolRequest extends $tea.Model {
|
|
9220
9351
|
/**
|
|
9221
9352
|
* @remarks
|
|
9222
|
-
* 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.
|
|
9223
9354
|
*
|
|
9224
9355
|
* @example
|
|
9225
9356
|
* 1
|
|
@@ -9296,10 +9427,10 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9296
9427
|
count?: number;
|
|
9297
9428
|
/**
|
|
9298
9429
|
* @remarks
|
|
9299
|
-
* 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:
|
|
9300
9431
|
*
|
|
9301
|
-
* * `static`:
|
|
9302
|
-
* * `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.
|
|
9303
9434
|
*
|
|
9304
9435
|
* Default value: `none`.
|
|
9305
9436
|
*
|
|
@@ -9309,7 +9440,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9309
9440
|
cpuPolicy?: string;
|
|
9310
9441
|
/**
|
|
9311
9442
|
* @remarks
|
|
9312
|
-
* 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).
|
|
9313
9444
|
*
|
|
9314
9445
|
* @example
|
|
9315
9446
|
* m-bp16z7xko3vvv8gt****
|
|
@@ -9317,7 +9448,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9317
9448
|
imageId?: string;
|
|
9318
9449
|
/**
|
|
9319
9450
|
* @remarks
|
|
9320
|
-
* 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.
|
|
9321
9452
|
*
|
|
9322
9453
|
* This parameter is required.
|
|
9323
9454
|
*
|
|
@@ -9327,7 +9458,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9327
9458
|
keyPair?: string;
|
|
9328
9459
|
/**
|
|
9329
9460
|
* @remarks
|
|
9330
|
-
* 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.
|
|
9331
9462
|
*
|
|
9332
9463
|
* This parameter is required.
|
|
9333
9464
|
*
|
|
@@ -9337,7 +9468,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9337
9468
|
loginPassword?: string;
|
|
9338
9469
|
/**
|
|
9339
9470
|
* @remarks
|
|
9340
|
-
*
|
|
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.
|
|
9341
9472
|
*/
|
|
9342
9473
|
rdsInstances?: string[];
|
|
9343
9474
|
/**
|
|
@@ -9349,18 +9480,18 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9349
9480
|
* @remarks
|
|
9350
9481
|
* The labels that you want to add to nodes. You must add labels based on the following rules:
|
|
9351
9482
|
*
|
|
9352
|
-
* *
|
|
9353
|
-
* *
|
|
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).
|
|
9354
9485
|
*/
|
|
9355
9486
|
tags?: Tag[];
|
|
9356
9487
|
/**
|
|
9357
9488
|
* @remarks
|
|
9358
|
-
* 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/).
|
|
9359
9490
|
*/
|
|
9360
9491
|
taints?: Taint[];
|
|
9361
9492
|
/**
|
|
9362
9493
|
* @remarks
|
|
9363
|
-
* 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).
|
|
9364
9495
|
*
|
|
9365
9496
|
* @example
|
|
9366
9497
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -9368,17 +9499,17 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9368
9499
|
userData?: string;
|
|
9369
9500
|
/**
|
|
9370
9501
|
* @remarks
|
|
9371
|
-
* 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.
|
|
9372
9503
|
*
|
|
9373
9504
|
* This parameter is required.
|
|
9374
9505
|
*/
|
|
9375
9506
|
vswitchIds?: string[];
|
|
9376
9507
|
/**
|
|
9377
9508
|
* @remarks
|
|
9378
|
-
* 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:
|
|
9379
9510
|
*
|
|
9380
9511
|
* * `true`: enables auto-renewal.
|
|
9381
|
-
* * `false`:
|
|
9512
|
+
* * `false`: does not enable auto-renewal.
|
|
9382
9513
|
*
|
|
9383
9514
|
* Default value: `true`.
|
|
9384
9515
|
*
|
|
@@ -9388,7 +9519,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9388
9519
|
workerAutoRenew?: boolean;
|
|
9389
9520
|
/**
|
|
9390
9521
|
* @remarks
|
|
9391
|
-
* 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.
|
|
9392
9523
|
*
|
|
9393
9524
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
9394
9525
|
*
|
|
@@ -9400,7 +9531,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9400
9531
|
workerAutoRenewPeriod?: number;
|
|
9401
9532
|
/**
|
|
9402
9533
|
* @remarks
|
|
9403
|
-
* 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.
|
|
9404
9535
|
*/
|
|
9405
9536
|
workerDataDisks?: ScaleOutClusterRequestWorkerDataDisks[];
|
|
9406
9537
|
/**
|
|
@@ -9437,7 +9568,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9437
9568
|
workerPeriod?: number;
|
|
9438
9569
|
/**
|
|
9439
9570
|
* @remarks
|
|
9440
|
-
* 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`.
|
|
9441
9572
|
*
|
|
9442
9573
|
* Set the value to `Month`. Worker nodes are billed only on a monthly basis.
|
|
9443
9574
|
*
|
|
@@ -9447,11 +9578,11 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9447
9578
|
workerPeriodUnit?: string;
|
|
9448
9579
|
/**
|
|
9449
9580
|
* @remarks
|
|
9450
|
-
* The
|
|
9581
|
+
* The system disk type of worker nodes. Valid values:
|
|
9451
9582
|
*
|
|
9452
9583
|
* * `cloud_efficiency`: ultra disk.
|
|
9453
9584
|
* * `cloud_ssd`: standard SSD.
|
|
9454
|
-
* * `cloud_essd`:
|
|
9585
|
+
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
9455
9586
|
*
|
|
9456
9587
|
* Default value: `cloud_ssd`.
|
|
9457
9588
|
*
|
|
@@ -9463,7 +9594,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9463
9594
|
workerSystemDiskCategory?: string;
|
|
9464
9595
|
/**
|
|
9465
9596
|
* @remarks
|
|
9466
|
-
* The
|
|
9597
|
+
* The system disk size of worker nodes. Unit: GiB.
|
|
9467
9598
|
*
|
|
9468
9599
|
* Valid values: 40 to 500.
|
|
9469
9600
|
*
|
|
@@ -10353,7 +10484,7 @@ export declare class UpdateControlPlaneLogRequest extends $tea.Model {
|
|
|
10353
10484
|
components?: string[];
|
|
10354
10485
|
/**
|
|
10355
10486
|
* @remarks
|
|
10356
|
-
* 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.
|
|
10357
10488
|
*
|
|
10358
10489
|
* Default value: k8s-log-$Cluster ID.
|
|
10359
10490
|
*
|
|
@@ -10704,7 +10835,7 @@ export declare class UpdateUserPermissionsResponse extends $tea.Model {
|
|
|
10704
10835
|
export declare class UpgradeClusterRequest extends $tea.Model {
|
|
10705
10836
|
/**
|
|
10706
10837
|
* @remarks
|
|
10707
|
-
* This parameter is
|
|
10838
|
+
* This parameter is deprecated.
|
|
10708
10839
|
*
|
|
10709
10840
|
* @example
|
|
10710
10841
|
* k8s
|
|
@@ -10716,8 +10847,8 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
10716
10847
|
* @remarks
|
|
10717
10848
|
* Specifies whether to update only the master nodes. Valid values:
|
|
10718
10849
|
*
|
|
10719
|
-
* * true:
|
|
10720
|
-
* * false:
|
|
10850
|
+
* * true: updates only the master nodes.
|
|
10851
|
+
* * false: updates the master nodes and worker nodes.
|
|
10721
10852
|
*
|
|
10722
10853
|
* @example
|
|
10723
10854
|
* true
|
|
@@ -10734,7 +10865,7 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
10734
10865
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
10735
10866
|
/**
|
|
10736
10867
|
* @remarks
|
|
10737
|
-
* This parameter is
|
|
10868
|
+
* This parameter is deprecated. Specify the Kubernetes version by using the next_version parameter.
|
|
10738
10869
|
*
|
|
10739
10870
|
* @example
|
|
10740
10871
|
* 1.14.8-aliyun.1
|
|
@@ -10754,25 +10885,16 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
10754
10885
|
}
|
|
10755
10886
|
export declare class UpgradeClusterResponseBody extends $tea.Model {
|
|
10756
10887
|
/**
|
|
10757
|
-
* @remarks
|
|
10758
|
-
* 集群ID。
|
|
10759
|
-
*
|
|
10760
10888
|
* @example
|
|
10761
10889
|
* c82e6987e2961451182edacd74faf****
|
|
10762
10890
|
*/
|
|
10763
10891
|
clusterId?: string;
|
|
10764
10892
|
/**
|
|
10765
|
-
* @remarks
|
|
10766
|
-
* 请求ID。
|
|
10767
|
-
*
|
|
10768
10893
|
* @example
|
|
10769
10894
|
* 0527ac9a-c899-4341-a21a-****
|
|
10770
10895
|
*/
|
|
10771
10896
|
requestId?: string;
|
|
10772
10897
|
/**
|
|
10773
|
-
* @remarks
|
|
10774
|
-
* 任务ID。
|
|
10775
|
-
*
|
|
10776
10898
|
* @example
|
|
10777
10899
|
* T-5faa48fb31b6b8078d00****
|
|
10778
10900
|
*/
|
|
@@ -10820,8 +10942,29 @@ export declare class UpgradeClusterAddonsRequest extends $tea.Model {
|
|
|
10820
10942
|
});
|
|
10821
10943
|
}
|
|
10822
10944
|
export declare class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
10945
|
+
/**
|
|
10946
|
+
* @remarks
|
|
10947
|
+
* The ID of the cluster.
|
|
10948
|
+
*
|
|
10949
|
+
* @example
|
|
10950
|
+
* cf4299b79b3e34226abfdc80a4bda****
|
|
10951
|
+
*/
|
|
10823
10952
|
clusterId?: string;
|
|
10953
|
+
/**
|
|
10954
|
+
* @remarks
|
|
10955
|
+
* The ID of the request.
|
|
10956
|
+
*
|
|
10957
|
+
* @example
|
|
10958
|
+
* bfd12953-31cb-42f1-8a36-7b80ec345094
|
|
10959
|
+
*/
|
|
10824
10960
|
requestId?: string;
|
|
10961
|
+
/**
|
|
10962
|
+
* @remarks
|
|
10963
|
+
* The ID of the task.
|
|
10964
|
+
*
|
|
10965
|
+
* @example
|
|
10966
|
+
* T-62a944794ee141074400****
|
|
10967
|
+
*/
|
|
10825
10968
|
taskId?: string;
|
|
10826
10969
|
static names(): {
|
|
10827
10970
|
[key: string]: string;
|
|
@@ -10860,17 +11003,25 @@ export declare class UpgradeClusterNodepoolRequest extends $tea.Model {
|
|
|
10860
11003
|
imageId?: string;
|
|
10861
11004
|
/**
|
|
10862
11005
|
* @remarks
|
|
10863
|
-
* 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.
|
|
10864
11007
|
*
|
|
10865
11008
|
* @example
|
|
10866
11009
|
* 1.22.15-aliyun.1
|
|
10867
11010
|
*/
|
|
10868
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
|
+
*/
|
|
10869
11016
|
nodeNames?: string[];
|
|
11017
|
+
/**
|
|
11018
|
+
* @remarks
|
|
11019
|
+
* The rotation configuration.
|
|
11020
|
+
*/
|
|
10870
11021
|
rollingPolicy?: UpgradeClusterNodepoolRequestRollingPolicy;
|
|
10871
11022
|
/**
|
|
10872
11023
|
* @remarks
|
|
10873
|
-
* 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.
|
|
10874
11025
|
*
|
|
10875
11026
|
* @example
|
|
10876
11027
|
* containerd
|
|
@@ -10878,12 +11029,24 @@ export declare class UpgradeClusterNodepoolRequest extends $tea.Model {
|
|
|
10878
11029
|
runtimeType?: string;
|
|
10879
11030
|
/**
|
|
10880
11031
|
* @remarks
|
|
10881
|
-
* 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.
|
|
10882
11033
|
*
|
|
10883
11034
|
* @example
|
|
10884
11035
|
* 1.5.10
|
|
10885
11036
|
*/
|
|
10886
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
|
+
*/
|
|
10887
11050
|
useReplace?: boolean;
|
|
10888
11051
|
static names(): {
|
|
10889
11052
|
[key: string]: string;
|
|
@@ -11559,6 +11722,8 @@ export declare class AttachInstancesResponseBodyList extends $tea.Model {
|
|
|
11559
11722
|
export declare class CheckServiceRoleRequestRoles extends $tea.Model {
|
|
11560
11723
|
/**
|
|
11561
11724
|
* @remarks
|
|
11725
|
+
* The service role name.
|
|
11726
|
+
*
|
|
11562
11727
|
* This parameter is required.
|
|
11563
11728
|
*
|
|
11564
11729
|
* @example
|
|
@@ -11577,16 +11742,25 @@ export declare class CheckServiceRoleRequestRoles extends $tea.Model {
|
|
|
11577
11742
|
}
|
|
11578
11743
|
export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
11579
11744
|
/**
|
|
11745
|
+
* @remarks
|
|
11746
|
+
* Specifies whether the service role is granted required permissions.
|
|
11747
|
+
*
|
|
11580
11748
|
* @example
|
|
11581
11749
|
* true
|
|
11582
11750
|
*/
|
|
11583
11751
|
granted?: boolean;
|
|
11584
11752
|
/**
|
|
11753
|
+
* @remarks
|
|
11754
|
+
* The message returned if the service role is not granted required permissions.
|
|
11755
|
+
*
|
|
11585
11756
|
* @example
|
|
11586
11757
|
* The role does not exist: AliyunCSManagedAutoScalerRole
|
|
11587
11758
|
*/
|
|
11588
11759
|
message?: string;
|
|
11589
11760
|
/**
|
|
11761
|
+
* @remarks
|
|
11762
|
+
* The service role name.
|
|
11763
|
+
*
|
|
11590
11764
|
* @example
|
|
11591
11765
|
* AliyunCSManagedAutoScalerRole
|
|
11592
11766
|
*/
|
|
@@ -11604,7 +11778,7 @@ export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
11604
11778
|
export declare class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
11605
11779
|
/**
|
|
11606
11780
|
* @remarks
|
|
11607
|
-
* The
|
|
11781
|
+
* The data disk type.
|
|
11608
11782
|
*
|
|
11609
11783
|
* This parameter is required.
|
|
11610
11784
|
*
|
|
@@ -11627,7 +11801,7 @@ export declare class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
11627
11801
|
encrypted?: string;
|
|
11628
11802
|
/**
|
|
11629
11803
|
* @remarks
|
|
11630
|
-
* 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).
|
|
11631
11805
|
*
|
|
11632
11806
|
* @example
|
|
11633
11807
|
* PL1
|
|
@@ -11635,7 +11809,7 @@ export declare class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
11635
11809
|
performanceLevel?: string;
|
|
11636
11810
|
/**
|
|
11637
11811
|
* @remarks
|
|
11638
|
-
* The
|
|
11812
|
+
* The data disk size. Valid values: 40 to 32767. Unit: GiB.
|
|
11639
11813
|
*
|
|
11640
11814
|
* This parameter is required.
|
|
11641
11815
|
*
|
|
@@ -11656,13 +11830,13 @@ export declare class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
11656
11830
|
export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model {
|
|
11657
11831
|
/**
|
|
11658
11832
|
* @remarks
|
|
11659
|
-
* This parameter is
|
|
11833
|
+
* This parameter is deprecated.
|
|
11660
11834
|
*
|
|
11661
11835
|
* The maximum bandwidth of the EIP. Unit: Mbit/s.
|
|
11662
11836
|
*
|
|
11663
11837
|
* **
|
|
11664
11838
|
*
|
|
11665
|
-
* **Important** This parameter is
|
|
11839
|
+
* **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
|
|
11666
11840
|
*
|
|
11667
11841
|
* @example
|
|
11668
11842
|
* 5
|
|
@@ -11672,18 +11846,18 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11672
11846
|
eipBandwidth?: number;
|
|
11673
11847
|
/**
|
|
11674
11848
|
* @remarks
|
|
11675
|
-
* This parameter is
|
|
11849
|
+
* This parameter is deprecated.
|
|
11676
11850
|
*
|
|
11677
|
-
* The
|
|
11851
|
+
* The metering method of the EIP. Valid values:
|
|
11678
11852
|
*
|
|
11679
|
-
* * `PayByBandwidth`: pay-by-bandwidth
|
|
11680
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
11853
|
+
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
11854
|
+
* * `PayByTraffic`: pay-by-data-transfer.
|
|
11681
11855
|
*
|
|
11682
11856
|
* Default value: `PayByBandwidth`.
|
|
11683
11857
|
*
|
|
11684
11858
|
* **
|
|
11685
11859
|
*
|
|
11686
|
-
* **Important** This parameter is
|
|
11860
|
+
* **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
|
|
11687
11861
|
*
|
|
11688
11862
|
* @example
|
|
11689
11863
|
* PayByBandwidth
|
|
@@ -11695,8 +11869,8 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11695
11869
|
* @remarks
|
|
11696
11870
|
* Specifies whether to enable auto scaling for the node pool. Valid values:
|
|
11697
11871
|
*
|
|
11698
|
-
* * `true
|
|
11699
|
-
* * `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.
|
|
11700
11874
|
*
|
|
11701
11875
|
* Default value: `false`.
|
|
11702
11876
|
*
|
|
@@ -11706,18 +11880,18 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11706
11880
|
enable?: boolean;
|
|
11707
11881
|
/**
|
|
11708
11882
|
* @remarks
|
|
11709
|
-
* This parameter is
|
|
11883
|
+
* This parameter is deprecated.
|
|
11710
11884
|
*
|
|
11711
11885
|
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
11712
11886
|
*
|
|
11713
|
-
* * `true
|
|
11714
|
-
* * `false
|
|
11887
|
+
* * `true`: associates an EIP with the node pool.
|
|
11888
|
+
* * `false`: does not associate an EIP with the node pool.
|
|
11715
11889
|
*
|
|
11716
11890
|
* Default value: `false`.
|
|
11717
11891
|
*
|
|
11718
11892
|
* **
|
|
11719
11893
|
*
|
|
11720
|
-
* **Important** This parameter is
|
|
11894
|
+
* **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
|
|
11721
11895
|
*
|
|
11722
11896
|
* @example
|
|
11723
11897
|
* true
|
|
@@ -11727,7 +11901,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11727
11901
|
isBondEip?: boolean;
|
|
11728
11902
|
/**
|
|
11729
11903
|
* @remarks
|
|
11730
|
-
* 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.
|
|
11731
11905
|
*
|
|
11732
11906
|
* @example
|
|
11733
11907
|
* 10
|
|
@@ -11735,7 +11909,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11735
11909
|
maxInstances?: number;
|
|
11736
11910
|
/**
|
|
11737
11911
|
* @remarks
|
|
11738
|
-
* 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.
|
|
11739
11913
|
*
|
|
11740
11914
|
* @example
|
|
11741
11915
|
* 1
|
|
@@ -11743,12 +11917,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11743
11917
|
minInstances?: number;
|
|
11744
11918
|
/**
|
|
11745
11919
|
* @remarks
|
|
11746
|
-
* 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:
|
|
11747
11921
|
*
|
|
11748
|
-
* * `cpu`: regular instance
|
|
11749
|
-
* * `gpu`: GPU-accelerated instance
|
|
11750
|
-
* * `gpushare`: shared GPU-accelerated instance
|
|
11751
|
-
* * `spot`: preemptible instance
|
|
11922
|
+
* * `cpu`: regular instance.
|
|
11923
|
+
* * `gpu`: GPU-accelerated instance.
|
|
11924
|
+
* * `gpushare`: shared GPU-accelerated instance.
|
|
11925
|
+
* * `spot`: preemptible instance.
|
|
11752
11926
|
*
|
|
11753
11927
|
* Default value: `cpu`.
|
|
11754
11928
|
*
|
|
@@ -11771,7 +11945,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11771
11945
|
export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea.Model {
|
|
11772
11946
|
/**
|
|
11773
11947
|
* @remarks
|
|
11774
|
-
* This parameter is
|
|
11948
|
+
* This parameter is deprecated.
|
|
11775
11949
|
*
|
|
11776
11950
|
* The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
11777
11951
|
*
|
|
@@ -11781,7 +11955,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea
|
|
|
11781
11955
|
bandwidth?: number;
|
|
11782
11956
|
/**
|
|
11783
11957
|
* @remarks
|
|
11784
|
-
* This parameter is
|
|
11958
|
+
* This parameter is deprecated.
|
|
11785
11959
|
*
|
|
11786
11960
|
* The ID of the Cloud Connect Network (CCN) instance that is associated with the enhanced edge node pool.
|
|
11787
11961
|
*
|
|
@@ -11791,9 +11965,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea
|
|
|
11791
11965
|
ccnId?: string;
|
|
11792
11966
|
/**
|
|
11793
11967
|
* @remarks
|
|
11794
|
-
* This parameter is
|
|
11968
|
+
* This parameter is deprecated.
|
|
11795
11969
|
*
|
|
11796
|
-
* The region
|
|
11970
|
+
* The region to which the CCN instance that is associated with the enhanced edge node pool belongs.
|
|
11797
11971
|
*
|
|
11798
11972
|
* @example
|
|
11799
11973
|
* cn-shanghai
|
|
@@ -11801,7 +11975,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea
|
|
|
11801
11975
|
ccnRegionId?: string;
|
|
11802
11976
|
/**
|
|
11803
11977
|
* @remarks
|
|
11804
|
-
* This parameter is
|
|
11978
|
+
* This parameter is deprecated.
|
|
11805
11979
|
*
|
|
11806
11980
|
* The ID of the Cloud Enterprise Network (CEN) instance that is associated with the enhanced edge node pool.
|
|
11807
11981
|
*
|
|
@@ -11811,9 +11985,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea
|
|
|
11811
11985
|
cenId?: string;
|
|
11812
11986
|
/**
|
|
11813
11987
|
* @remarks
|
|
11814
|
-
* This parameter is
|
|
11988
|
+
* This parameter is deprecated.
|
|
11815
11989
|
*
|
|
11816
|
-
* 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.
|
|
11817
11991
|
*
|
|
11818
11992
|
* @example
|
|
11819
11993
|
* 1
|
|
@@ -11832,10 +12006,10 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea
|
|
|
11832
12006
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
11833
12007
|
/**
|
|
11834
12008
|
* @remarks
|
|
11835
|
-
* 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:
|
|
11836
12010
|
*
|
|
11837
|
-
* * `true
|
|
11838
|
-
* * `false
|
|
12011
|
+
* * `true`: installs the CloudMonitor agent on ECS nodes.
|
|
12012
|
+
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
11839
12013
|
*
|
|
11840
12014
|
* Default value: `false`.
|
|
11841
12015
|
*
|
|
@@ -11845,9 +12019,9 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11845
12019
|
cmsEnabled?: boolean;
|
|
11846
12020
|
/**
|
|
11847
12021
|
* @remarks
|
|
11848
|
-
* 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:
|
|
11849
12023
|
*
|
|
11850
|
-
* * `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.
|
|
11851
12025
|
* * `none`: specifies that the default CPU affinity is used.
|
|
11852
12026
|
*
|
|
11853
12027
|
* Default value: `none`.
|
|
@@ -11858,17 +12032,17 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11858
12032
|
cpuPolicy?: string;
|
|
11859
12033
|
/**
|
|
11860
12034
|
* @remarks
|
|
11861
|
-
* The labels that you want to add to
|
|
12035
|
+
* The labels that you want to add to nodes in the cluster.
|
|
11862
12036
|
*/
|
|
11863
12037
|
labels?: Tag[];
|
|
11864
12038
|
/**
|
|
11865
12039
|
* @remarks
|
|
11866
12040
|
* The custom node name. A custom node name consists of a prefix, a node IP address, and a suffix.
|
|
11867
12041
|
*
|
|
11868
|
-
* * 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.
|
|
11869
|
-
* * 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.
|
|
11870
12044
|
*
|
|
11871
|
-
* 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.
|
|
11872
12046
|
*
|
|
11873
12047
|
* @example
|
|
11874
12048
|
* customized,aliyun,ip,com
|
|
@@ -11876,7 +12050,13 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11876
12050
|
nodeNameMode?: string;
|
|
11877
12051
|
/**
|
|
11878
12052
|
* @remarks
|
|
11879
|
-
* 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.
|
|
11880
12060
|
*
|
|
11881
12061
|
* @example
|
|
11882
12062
|
* docker
|
|
@@ -11892,7 +12072,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11892
12072
|
runtimeVersion?: string;
|
|
11893
12073
|
/**
|
|
11894
12074
|
* @remarks
|
|
11895
|
-
* The
|
|
12075
|
+
* The taints.
|
|
11896
12076
|
*/
|
|
11897
12077
|
taints?: Taint[];
|
|
11898
12078
|
/**
|
|
@@ -11905,7 +12085,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11905
12085
|
unschedulable?: boolean;
|
|
11906
12086
|
/**
|
|
11907
12087
|
* @remarks
|
|
11908
|
-
* The user
|
|
12088
|
+
* The user data on the node.
|
|
11909
12089
|
*
|
|
11910
12090
|
* @example
|
|
11911
12091
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -11926,8 +12106,8 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
11926
12106
|
* @remarks
|
|
11927
12107
|
* Specifies whether to allow node restart. This parameter takes effect only if `auto_repair` is set to true. Valid values:
|
|
11928
12108
|
*
|
|
11929
|
-
* * `true
|
|
11930
|
-
* * `false
|
|
12109
|
+
* * `true`: allows node restart.
|
|
12110
|
+
* * `false`: does not allow node restart.
|
|
11931
12111
|
*
|
|
11932
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`.
|
|
11933
12113
|
*
|
|
@@ -11950,8 +12130,8 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
11950
12130
|
* @remarks
|
|
11951
12131
|
* Specifies whether to allow auto update of the kubelet. This parameter takes effect only if `auto_upgrade` is set to true. Valid values:
|
|
11952
12132
|
*
|
|
11953
|
-
* * `true
|
|
11954
|
-
* * `false
|
|
12133
|
+
* * `true`: allows auto update of the kubelet.
|
|
12134
|
+
* * `false`: does not allow auto update of the kubelet.
|
|
11955
12135
|
*
|
|
11956
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`.
|
|
11957
12137
|
*
|
|
@@ -11961,21 +12141,22 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
11961
12141
|
autoUpgradeKubelet?: boolean;
|
|
11962
12142
|
/**
|
|
11963
12143
|
* @remarks
|
|
11964
|
-
*
|
|
11965
|
-
* - `true`:允许自动升级操作系统。
|
|
11966
|
-
* - `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:
|
|
11967
12145
|
*
|
|
12146
|
+
* * `true`: allows auto update of the OS.
|
|
12147
|
+
* * `false`: does not allow auto update of the OS.
|
|
11968
12148
|
*
|
|
11969
|
-
*
|
|
12149
|
+
* Default value: `false`.
|
|
11970
12150
|
*/
|
|
11971
12151
|
autoUpgradeOs?: boolean;
|
|
11972
12152
|
/**
|
|
11973
12153
|
* @remarks
|
|
11974
|
-
*
|
|
11975
|
-
* - `true`:允许自动升级运行时。
|
|
11976
|
-
* - `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:
|
|
11977
12155
|
*
|
|
11978
|
-
*
|
|
12156
|
+
* * `true`: allows auto update of the runtime.
|
|
12157
|
+
* * `false`: does not allow auto update of the runtime.
|
|
12158
|
+
*
|
|
12159
|
+
* Default value: `false`.
|
|
11979
12160
|
*/
|
|
11980
12161
|
autoUpgradeRuntime?: boolean;
|
|
11981
12162
|
static names(): {
|
|
@@ -11993,8 +12174,8 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
11993
12174
|
* @remarks
|
|
11994
12175
|
* Specifies whether to allow node restart. This parameter takes effect only if `auto_vul_fix` is set to true. Valid values:
|
|
11995
12176
|
*
|
|
11996
|
-
* * `true
|
|
11997
|
-
* * `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`.
|
|
11998
12179
|
*
|
|
11999
12180
|
* @example
|
|
12000
12181
|
* true
|
|
@@ -12002,11 +12183,11 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
12002
12183
|
restartNode?: boolean;
|
|
12003
12184
|
/**
|
|
12004
12185
|
* @remarks
|
|
12005
|
-
* The
|
|
12186
|
+
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
|
|
12006
12187
|
*
|
|
12007
|
-
* * `asap`: high
|
|
12008
|
-
* * `later`: medium
|
|
12009
|
-
* * `nntf`: low
|
|
12188
|
+
* * `asap`: high.
|
|
12189
|
+
* * `later`: medium.
|
|
12190
|
+
* * `nntf`: low.
|
|
12010
12191
|
*
|
|
12011
12192
|
* If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
|
|
12012
12193
|
*
|
|
@@ -12029,12 +12210,12 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
12029
12210
|
* @remarks
|
|
12030
12211
|
* Specifies whether to enable auto update. Valid values:
|
|
12031
12212
|
*
|
|
12032
|
-
* * `true
|
|
12033
|
-
* * `false
|
|
12213
|
+
* * `true`: enables auto update.
|
|
12214
|
+
* * `false`: disables auto update.
|
|
12034
12215
|
*
|
|
12035
12216
|
* **
|
|
12036
12217
|
*
|
|
12037
|
-
* **
|
|
12218
|
+
* **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter.
|
|
12038
12219
|
*
|
|
12039
12220
|
* @example
|
|
12040
12221
|
* false
|
|
@@ -12054,7 +12235,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
12054
12235
|
maxUnavailable?: number;
|
|
12055
12236
|
/**
|
|
12056
12237
|
* @remarks
|
|
12057
|
-
* The number of additional nodes.
|
|
12238
|
+
* The number of additional nodes that are temporarily added to the node pool during an auto update.
|
|
12058
12239
|
*
|
|
12059
12240
|
* @example
|
|
12060
12241
|
* 0
|
|
@@ -12062,7 +12243,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
12062
12243
|
surge?: number;
|
|
12063
12244
|
/**
|
|
12064
12245
|
* @remarks
|
|
12065
|
-
* 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`.
|
|
12066
12247
|
*
|
|
12067
12248
|
* @example
|
|
12068
12249
|
* 0
|
|
@@ -12083,8 +12264,8 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
12083
12264
|
* @remarks
|
|
12084
12265
|
* Specifies whether to enable auto node repair. This parameter takes effect only if `enable` is set to true.
|
|
12085
12266
|
*
|
|
12086
|
-
* * `true
|
|
12087
|
-
* * `false
|
|
12267
|
+
* * `true`: enables auto node repair.
|
|
12268
|
+
* * `false`: disables auto node repair.
|
|
12088
12269
|
*
|
|
12089
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`.
|
|
12090
12271
|
*
|
|
@@ -12101,8 +12282,8 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
12101
12282
|
* @remarks
|
|
12102
12283
|
* Specifies whether to enable auto node update. This parameter takes effect only if `enable` is set to true.
|
|
12103
12284
|
*
|
|
12104
|
-
* * `true
|
|
12105
|
-
* * `false
|
|
12285
|
+
* * `true`: enables auto node update.
|
|
12286
|
+
* * `false`: disables auto node update.
|
|
12106
12287
|
*
|
|
12107
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`.
|
|
12108
12289
|
*
|
|
@@ -12117,10 +12298,10 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
12117
12298
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
12118
12299
|
/**
|
|
12119
12300
|
* @remarks
|
|
12120
|
-
* 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.
|
|
12121
12302
|
*
|
|
12122
|
-
* * `true
|
|
12123
|
-
* * `false
|
|
12303
|
+
* * `true`: enables auto CVE patching.
|
|
12304
|
+
* * `false`: disables auto CVE patching.
|
|
12124
12305
|
*
|
|
12125
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`.
|
|
12126
12307
|
*
|
|
@@ -12137,10 +12318,10 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
12137
12318
|
* @remarks
|
|
12138
12319
|
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
12139
12320
|
*
|
|
12140
|
-
* * `true
|
|
12141
|
-
* * `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.
|
|
12142
12323
|
*
|
|
12143
|
-
* Default value: false
|
|
12324
|
+
* Default value: false
|
|
12144
12325
|
*
|
|
12145
12326
|
* @example
|
|
12146
12327
|
* false
|
|
@@ -12148,7 +12329,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
12148
12329
|
enable?: boolean;
|
|
12149
12330
|
/**
|
|
12150
12331
|
* @remarks
|
|
12151
|
-
* The configurations of auto update.
|
|
12332
|
+
* The configurations of auto update. The configurations take effects only if `enable` is set to true.
|
|
12152
12333
|
*
|
|
12153
12334
|
* @deprecated
|
|
12154
12335
|
*/
|
|
@@ -12166,7 +12347,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
12166
12347
|
export declare class CreateClusterNodePoolRequestNodeConfig extends $tea.Model {
|
|
12167
12348
|
/**
|
|
12168
12349
|
* @remarks
|
|
12169
|
-
* The
|
|
12350
|
+
* The configurations of the kubelet.
|
|
12170
12351
|
*/
|
|
12171
12352
|
kubeletConfiguration?: KubeletConfig;
|
|
12172
12353
|
static names(): {
|
|
@@ -12192,7 +12373,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
12192
12373
|
name?: string;
|
|
12193
12374
|
/**
|
|
12194
12375
|
* @remarks
|
|
12195
|
-
* 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.
|
|
12196
12377
|
*
|
|
12197
12378
|
* @example
|
|
12198
12379
|
* rg-acfmyvw3wjmb****
|
|
@@ -12200,9 +12381,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
12200
12381
|
resourceGroupId?: string;
|
|
12201
12382
|
/**
|
|
12202
12383
|
* @remarks
|
|
12203
|
-
* The type of
|
|
12384
|
+
* The type of node pool. Valid values:
|
|
12204
12385
|
*
|
|
12205
|
-
* * `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.
|
|
12206
12387
|
* * `edge`: edge node pool.
|
|
12207
12388
|
* * `lingjun`: Lingjun node pool.
|
|
12208
12389
|
*
|
|
@@ -12223,7 +12404,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
12223
12404
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $tea.Model {
|
|
12224
12405
|
/**
|
|
12225
12406
|
* @remarks
|
|
12226
|
-
* The
|
|
12407
|
+
* The private node pool ID.
|
|
12227
12408
|
*
|
|
12228
12409
|
* @example
|
|
12229
12410
|
* eap-bp67acfmxazb4****
|
|
@@ -12231,11 +12412,11 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
12231
12412
|
id?: string;
|
|
12232
12413
|
/**
|
|
12233
12414
|
* @remarks
|
|
12234
|
-
* 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:
|
|
12235
12416
|
*
|
|
12236
|
-
* * `Open`:
|
|
12237
|
-
* * `Target`:
|
|
12238
|
-
* * `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.
|
|
12239
12420
|
*
|
|
12240
12421
|
* @example
|
|
12241
12422
|
* Open
|
|
@@ -12254,7 +12435,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
12254
12435
|
export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
12255
12436
|
/**
|
|
12256
12437
|
* @remarks
|
|
12257
|
-
* The instance type of preemptible
|
|
12438
|
+
* The instance type of preemptible instances.
|
|
12258
12439
|
*
|
|
12259
12440
|
* @example
|
|
12260
12441
|
* ecs.c6.large
|
|
@@ -12262,7 +12443,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
12262
12443
|
instanceType?: string;
|
|
12263
12444
|
/**
|
|
12264
12445
|
* @remarks
|
|
12265
|
-
* The price cap of a preemptible instance
|
|
12446
|
+
* The price cap of a preemptible instance.
|
|
12266
12447
|
*
|
|
12267
12448
|
* @example
|
|
12268
12449
|
* 0.39
|
|
@@ -12281,7 +12462,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
12281
12462
|
export declare class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
|
|
12282
12463
|
/**
|
|
12283
12464
|
* @remarks
|
|
12284
|
-
* The
|
|
12465
|
+
* The label key.
|
|
12285
12466
|
*
|
|
12286
12467
|
* @example
|
|
12287
12468
|
* node-k-1
|
|
@@ -12289,7 +12470,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $tea.M
|
|
|
12289
12470
|
key?: string;
|
|
12290
12471
|
/**
|
|
12291
12472
|
* @remarks
|
|
12292
|
-
* The
|
|
12473
|
+
* The label value.
|
|
12293
12474
|
*
|
|
12294
12475
|
* @example
|
|
12295
12476
|
* node-v-1
|
|
@@ -12308,12 +12489,12 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $tea.M
|
|
|
12308
12489
|
export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
12309
12490
|
/**
|
|
12310
12491
|
* @remarks
|
|
12311
|
-
* 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:
|
|
12312
12493
|
*
|
|
12313
|
-
* * `true
|
|
12314
|
-
* * `false
|
|
12494
|
+
* * `true`: enables auto-renewal.
|
|
12495
|
+
* * `false`: disables auto-renewal.
|
|
12315
12496
|
*
|
|
12316
|
-
* Default value: `
|
|
12497
|
+
* Default value: `false`.
|
|
12317
12498
|
*
|
|
12318
12499
|
* @example
|
|
12319
12500
|
* true
|
|
@@ -12321,7 +12502,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12321
12502
|
autoRenew?: boolean;
|
|
12322
12503
|
/**
|
|
12323
12504
|
* @remarks
|
|
12324
|
-
* 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.
|
|
12325
12506
|
*
|
|
12326
12507
|
* Default value: 1.
|
|
12327
12508
|
*
|
|
@@ -12331,7 +12512,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12331
12512
|
autoRenewPeriod?: number;
|
|
12332
12513
|
/**
|
|
12333
12514
|
* @remarks
|
|
12334
|
-
*
|
|
12515
|
+
* This parameter is deprecated. Use security_hardening_os instead.
|
|
12335
12516
|
*
|
|
12336
12517
|
* @example
|
|
12337
12518
|
* false
|
|
@@ -12341,10 +12522,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12341
12522
|
cisEnabled?: boolean;
|
|
12342
12523
|
/**
|
|
12343
12524
|
* @remarks
|
|
12344
|
-
* 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:
|
|
12345
12526
|
*
|
|
12346
|
-
* * `true
|
|
12347
|
-
* * `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.
|
|
12348
12529
|
*
|
|
12349
12530
|
* @example
|
|
12350
12531
|
* true
|
|
@@ -12352,12 +12533,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12352
12533
|
compensateWithOnDemand?: boolean;
|
|
12353
12534
|
/**
|
|
12354
12535
|
* @remarks
|
|
12355
|
-
* 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.
|
|
12356
12537
|
*/
|
|
12357
12538
|
dataDisks?: DataDisk[];
|
|
12358
12539
|
/**
|
|
12359
12540
|
* @remarks
|
|
12360
|
-
* The deployment set
|
|
12541
|
+
* The ID of the deployment set.
|
|
12361
12542
|
*
|
|
12362
12543
|
* @example
|
|
12363
12544
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -12373,7 +12554,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12373
12554
|
desiredSize?: number;
|
|
12374
12555
|
/**
|
|
12375
12556
|
* @remarks
|
|
12376
|
-
* The custom image ID. By default, the image provided by
|
|
12557
|
+
* The custom image ID. By default, the image provided by ACK is used.
|
|
12377
12558
|
*
|
|
12378
12559
|
* @example
|
|
12379
12560
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -12381,16 +12562,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12381
12562
|
imageId?: string;
|
|
12382
12563
|
/**
|
|
12383
12564
|
* @remarks
|
|
12384
|
-
* The type of the
|
|
12565
|
+
* The type of the OS image. You must specify this parameter or `platform`. Valid values:
|
|
12385
12566
|
*
|
|
12386
|
-
* * `AliyunLinux`:
|
|
12387
|
-
* * `
|
|
12388
|
-
* * `
|
|
12389
|
-
* * `
|
|
12390
|
-
* * `
|
|
12391
|
-
* * `
|
|
12392
|
-
* * `
|
|
12393
|
-
* * `
|
|
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.
|
|
12394
12576
|
*
|
|
12395
12577
|
* @example
|
|
12396
12578
|
* AliyunLinux
|
|
@@ -12398,10 +12580,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12398
12580
|
imageType?: string;
|
|
12399
12581
|
/**
|
|
12400
12582
|
* @remarks
|
|
12401
|
-
* The billing method of
|
|
12583
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
12402
12584
|
*
|
|
12403
|
-
* * `PrePaid`: subscription
|
|
12404
|
-
* * `PostPaid`: pay-as-you-go
|
|
12585
|
+
* * `PrePaid`: subscription.
|
|
12586
|
+
* * `PostPaid`: pay-as-you-go.
|
|
12405
12587
|
*
|
|
12406
12588
|
* Default value: `PostPaid`.
|
|
12407
12589
|
*
|
|
@@ -12411,10 +12593,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12411
12593
|
* PrePaid
|
|
12412
12594
|
*/
|
|
12413
12595
|
instanceChargeType?: string;
|
|
12596
|
+
/**
|
|
12597
|
+
* @remarks
|
|
12598
|
+
* The instance attributes.
|
|
12599
|
+
*/
|
|
12414
12600
|
instancePatterns?: InstancePatterns[];
|
|
12415
12601
|
/**
|
|
12416
12602
|
* @remarks
|
|
12417
|
-
* 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.
|
|
12418
12604
|
*
|
|
12419
12605
|
* > To ensure high availability, we recommend that you specify multiple instance types.
|
|
12420
12606
|
*
|
|
@@ -12423,10 +12609,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12423
12609
|
instanceTypes?: string[];
|
|
12424
12610
|
/**
|
|
12425
12611
|
* @remarks
|
|
12426
|
-
* The
|
|
12612
|
+
* The metering method of the public IP address. Valid values:
|
|
12427
12613
|
*
|
|
12428
|
-
* * PayByBandwidth: pay-by-bandwidth
|
|
12429
|
-
* * PayByTraffic: pay-by-data-transfer
|
|
12614
|
+
* * PayByBandwidth: pay-by-bandwidth.
|
|
12615
|
+
* * PayByTraffic: pay-by-data-transfer.
|
|
12430
12616
|
*
|
|
12431
12617
|
* @example
|
|
12432
12618
|
* PayByTraffic
|
|
@@ -12442,9 +12628,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12442
12628
|
internetMaxBandwidthOut?: number;
|
|
12443
12629
|
/**
|
|
12444
12630
|
* @remarks
|
|
12445
|
-
* 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`.
|
|
12446
12632
|
*
|
|
12447
|
-
* > If you
|
|
12633
|
+
* > If you select ContainerOS as the OS of nodes in the node pool, you must specify `key_pair`.
|
|
12448
12634
|
*
|
|
12449
12635
|
* @example
|
|
12450
12636
|
* np-key-name
|
|
@@ -12452,7 +12638,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12452
12638
|
keyPair?: string;
|
|
12453
12639
|
/**
|
|
12454
12640
|
* @remarks
|
|
12455
|
-
* 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.
|
|
12456
12642
|
*
|
|
12457
12643
|
* @example
|
|
12458
12644
|
* true
|
|
@@ -12460,7 +12646,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12460
12646
|
loginAsNonRoot?: boolean;
|
|
12461
12647
|
/**
|
|
12462
12648
|
* @remarks
|
|
12463
|
-
* 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.
|
|
12464
12650
|
*
|
|
12465
12651
|
* @example
|
|
12466
12652
|
* Hello1234
|
|
@@ -12470,15 +12656,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12470
12656
|
* @remarks
|
|
12471
12657
|
* The ECS instance scaling policy for the multi-zone scaling group. Valid values:
|
|
12472
12658
|
*
|
|
12473
|
-
* * `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.
|
|
12474
12660
|
*
|
|
12475
|
-
* * `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.
|
|
12476
12662
|
*
|
|
12477
12663
|
* **
|
|
12478
12664
|
*
|
|
12479
|
-
* **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.
|
|
12480
12666
|
*
|
|
12481
|
-
* * `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.
|
|
12482
12668
|
*
|
|
12483
12669
|
* Default value: `PRIORITY`.
|
|
12484
12670
|
*
|
|
@@ -12504,7 +12690,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12504
12690
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
12505
12691
|
/**
|
|
12506
12692
|
* @remarks
|
|
12507
|
-
* 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`.
|
|
12508
12694
|
*
|
|
12509
12695
|
* * If `period_unit` is set to Week, the valid values of `period` are 1, 2, 3, and 4.
|
|
12510
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.
|
|
@@ -12515,7 +12701,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12515
12701
|
period?: number;
|
|
12516
12702
|
/**
|
|
12517
12703
|
* @remarks
|
|
12518
|
-
* 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:
|
|
12519
12705
|
*
|
|
12520
12706
|
* * `Month`: The subscription duration is measured in months.
|
|
12521
12707
|
* * `Week`: The subscription duration is measured in weeks.
|
|
@@ -12528,7 +12714,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12528
12714
|
periodUnit?: string;
|
|
12529
12715
|
/**
|
|
12530
12716
|
* @remarks
|
|
12531
|
-
* The
|
|
12717
|
+
* The OS distribution that is used. Valid values:
|
|
12532
12718
|
*
|
|
12533
12719
|
* * `CentOS`
|
|
12534
12720
|
* * `AliyunLinux`
|
|
@@ -12549,20 +12735,30 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12549
12735
|
*/
|
|
12550
12736
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
12551
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
|
+
*
|
|
12552
12748
|
* @example
|
|
12553
12749
|
* example-role
|
|
12554
12750
|
*/
|
|
12555
12751
|
ramRoleName?: string;
|
|
12556
12752
|
/**
|
|
12557
12753
|
* @remarks
|
|
12558
|
-
*
|
|
12754
|
+
* A list of ApsaraDB RDS instances.
|
|
12559
12755
|
*/
|
|
12560
12756
|
rdsInstances?: string[];
|
|
12561
12757
|
/**
|
|
12562
12758
|
* @remarks
|
|
12563
12759
|
* The scaling mode of the scaling group. Valid values:
|
|
12564
12760
|
*
|
|
12565
|
-
* * `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.
|
|
12566
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.
|
|
12567
12763
|
*
|
|
12568
12764
|
* Default value: `release`.
|
|
@@ -12583,22 +12779,22 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12583
12779
|
securityGroupId?: string;
|
|
12584
12780
|
/**
|
|
12585
12781
|
* @remarks
|
|
12586
|
-
* 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.
|
|
12587
12783
|
*/
|
|
12588
12784
|
securityGroupIds?: string[];
|
|
12589
12785
|
/**
|
|
12590
12786
|
* @remarks
|
|
12591
|
-
*
|
|
12787
|
+
* Specifies whether to enable Alibaba Cloud Linux Security Hardening. Valid values:
|
|
12592
12788
|
*
|
|
12593
|
-
*
|
|
12594
|
-
*
|
|
12789
|
+
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
12790
|
+
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
12595
12791
|
*
|
|
12596
|
-
*
|
|
12792
|
+
* Default value: `false`.
|
|
12597
12793
|
*/
|
|
12598
12794
|
securityHardeningOs?: boolean;
|
|
12599
12795
|
/**
|
|
12600
12796
|
* @remarks
|
|
12601
|
-
* 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.
|
|
12602
12798
|
*
|
|
12603
12799
|
* @example
|
|
12604
12800
|
* false
|
|
@@ -12614,10 +12810,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12614
12810
|
spotInstancePools?: number;
|
|
12615
12811
|
/**
|
|
12616
12812
|
* @remarks
|
|
12617
|
-
* 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:
|
|
12618
12814
|
*
|
|
12619
|
-
* * `true
|
|
12620
|
-
* * `false
|
|
12815
|
+
* * `true`: supplements preemptible instances.
|
|
12816
|
+
* * `false`: does not supplement preemptible instances.
|
|
12621
12817
|
*
|
|
12622
12818
|
* @example
|
|
12623
12819
|
* false
|
|
@@ -12625,7 +12821,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12625
12821
|
spotInstanceRemedy?: boolean;
|
|
12626
12822
|
/**
|
|
12627
12823
|
* @remarks
|
|
12628
|
-
* The instance type of preemptible
|
|
12824
|
+
* The instance type of preemptible instances and the price cap for the instance type.
|
|
12629
12825
|
*/
|
|
12630
12826
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
12631
12827
|
/**
|
|
@@ -12636,7 +12832,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12636
12832
|
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
12637
12833
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
12638
12834
|
*
|
|
12639
|
-
* For more information, see [
|
|
12835
|
+
* For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/165053.html).
|
|
12640
12836
|
*
|
|
12641
12837
|
* @example
|
|
12642
12838
|
* NoSpot
|
|
@@ -12646,10 +12842,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12646
12842
|
* @remarks
|
|
12647
12843
|
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
12648
12844
|
*
|
|
12649
|
-
* * true
|
|
12650
|
-
* * false
|
|
12845
|
+
* * true: enables the burst feature.
|
|
12846
|
+
* * false: disables the burst feature.
|
|
12651
12847
|
*
|
|
12652
|
-
* 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).
|
|
12653
12849
|
*
|
|
12654
12850
|
* @example
|
|
12655
12851
|
* true
|
|
@@ -12657,16 +12853,26 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12657
12853
|
systemDiskBurstingEnabled?: boolean;
|
|
12658
12854
|
/**
|
|
12659
12855
|
* @remarks
|
|
12660
|
-
* 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.
|
|
12661
12864
|
*/
|
|
12662
12865
|
systemDiskCategories?: string[];
|
|
12663
12866
|
/**
|
|
12664
12867
|
* @remarks
|
|
12665
12868
|
* The system disk type. Valid values:
|
|
12666
12869
|
*
|
|
12667
|
-
* * `
|
|
12668
|
-
* * `
|
|
12669
|
-
* * `
|
|
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.
|
|
12670
12876
|
*
|
|
12671
12877
|
* Default value: `cloud_efficiency`.
|
|
12672
12878
|
*
|
|
@@ -12684,7 +12890,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12684
12890
|
systemDiskEncryptAlgorithm?: string;
|
|
12685
12891
|
/**
|
|
12686
12892
|
* @remarks
|
|
12687
|
-
* 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.
|
|
12688
12894
|
*
|
|
12689
12895
|
* @example
|
|
12690
12896
|
* false
|
|
@@ -12700,14 +12906,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12700
12906
|
systemDiskKmsKeyId?: string;
|
|
12701
12907
|
/**
|
|
12702
12908
|
* @remarks
|
|
12703
|
-
* 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.
|
|
12704
12910
|
*
|
|
12705
|
-
* * PL0: moderate maximum concurrent I/O performance and low I/O latency
|
|
12706
|
-
* * PL1: moderate maximum concurrent I/O performance and low I/O latency
|
|
12707
|
-
* * PL2: high maximum concurrent I/O performance and low I/O latency
|
|
12708
|
-
* * 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.
|
|
12709
12915
|
*
|
|
12710
|
-
* > 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).
|
|
12711
12917
|
*
|
|
12712
12918
|
* @example
|
|
12713
12919
|
* PL1
|
|
@@ -12715,9 +12921,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12715
12921
|
systemDiskPerformanceLevel?: string;
|
|
12716
12922
|
/**
|
|
12717
12923
|
* @remarks
|
|
12718
|
-
* 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}.
|
|
12719
12925
|
*
|
|
12720
|
-
* 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).
|
|
12721
12927
|
*
|
|
12722
12928
|
* @example
|
|
12723
12929
|
* 1000
|
|
@@ -12727,7 +12933,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12727
12933
|
* @remarks
|
|
12728
12934
|
* The size of the system disk. Unit: GiB.
|
|
12729
12935
|
*
|
|
12730
|
-
* Valid values: 20 to
|
|
12936
|
+
* Valid values: 20 to 20248.
|
|
12731
12937
|
*
|
|
12732
12938
|
* @example
|
|
12733
12939
|
* 120
|
|
@@ -12735,16 +12941,16 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12735
12941
|
systemDiskSize?: number;
|
|
12736
12942
|
/**
|
|
12737
12943
|
* @remarks
|
|
12738
|
-
* The
|
|
12944
|
+
* The labels that you want to add only to ECS instances.
|
|
12739
12945
|
*
|
|
12740
|
-
* 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://.
|
|
12741
12947
|
*/
|
|
12742
12948
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
12743
12949
|
/**
|
|
12744
12950
|
* @remarks
|
|
12745
|
-
*
|
|
12951
|
+
* The vSwitch IDs. You can specify one to eight vSwitch IDs.
|
|
12746
12952
|
*
|
|
12747
|
-
* > 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.
|
|
12748
12954
|
*
|
|
12749
12955
|
* This parameter is required.
|
|
12750
12956
|
*/
|
|
@@ -12778,7 +12984,7 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
12778
12984
|
[key: string]: any;
|
|
12779
12985
|
});
|
|
12780
12986
|
}
|
|
12781
|
-
export declare class
|
|
12987
|
+
export declare class DeleteAlertContactResponseBodyResult extends $tea.Model {
|
|
12782
12988
|
status?: boolean;
|
|
12783
12989
|
msg?: string;
|
|
12784
12990
|
contactId?: string;
|
|
@@ -12792,6 +12998,18 @@ export declare class DeleteAlertContactResponseBody extends $tea.Model {
|
|
|
12792
12998
|
[key: string]: any;
|
|
12793
12999
|
});
|
|
12794
13000
|
}
|
|
13001
|
+
export declare class DeleteAlertContactResponseBody extends $tea.Model {
|
|
13002
|
+
result?: DeleteAlertContactResponseBodyResult[];
|
|
13003
|
+
static names(): {
|
|
13004
|
+
[key: string]: string;
|
|
13005
|
+
};
|
|
13006
|
+
static types(): {
|
|
13007
|
+
[key: string]: any;
|
|
13008
|
+
};
|
|
13009
|
+
constructor(map?: {
|
|
13010
|
+
[key: string]: any;
|
|
13011
|
+
});
|
|
13012
|
+
}
|
|
12795
13013
|
export declare class DeleteAlertContactGroupResponseBody extends $tea.Model {
|
|
12796
13014
|
status?: boolean;
|
|
12797
13015
|
msg?: string;
|
|
@@ -12820,7 +13038,7 @@ export declare class DeleteClusterRequestDeleteOptions extends $tea.Model {
|
|
|
12820
13038
|
deleteMode?: string;
|
|
12821
13039
|
/**
|
|
12822
13040
|
* @remarks
|
|
12823
|
-
* Valid values:
|
|
13041
|
+
* The type of the resource. Valid values:
|
|
12824
13042
|
*
|
|
12825
13043
|
* * SLB: SLB resources created for Services. By default, the SLB resources are automatically deleted.
|
|
12826
13044
|
* * ALB: Application Load Balancer (ALB) resources created by the ALB Ingress controller. By default, the ALB resources are retained.
|
|
@@ -14962,7 +15180,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
14962
15180
|
privatePoolOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions;
|
|
14963
15181
|
/**
|
|
14964
15182
|
* @remarks
|
|
14965
|
-
*
|
|
15183
|
+
* This field is deprecated and replaced by the ram_role_name parameter.
|
|
14966
15184
|
*
|
|
14967
15185
|
* @example
|
|
14968
15186
|
* KubernetesWorkerRole-021dc54f-929b-437a-8ae0-34c24d3e****
|
|
@@ -15010,15 +15228,6 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15010
15228
|
* The IDs of security groups for the node pool.
|
|
15011
15229
|
*/
|
|
15012
15230
|
securityGroupIds?: string[];
|
|
15013
|
-
/**
|
|
15014
|
-
* @remarks
|
|
15015
|
-
* 阿里云OS安全加固。取值:
|
|
15016
|
-
*
|
|
15017
|
-
* - `true`:开启阿里云OS安全加固。
|
|
15018
|
-
* - `false`:不开启阿里云OS安全加固。
|
|
15019
|
-
*
|
|
15020
|
-
* 默认值:`false`。
|
|
15021
|
-
*/
|
|
15022
15231
|
securityHardeningOs?: boolean;
|
|
15023
15232
|
/**
|
|
15024
15233
|
* @remarks
|
|
@@ -15321,7 +15530,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.
|
|
|
15321
15530
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
15322
15531
|
/**
|
|
15323
15532
|
* @remarks
|
|
15324
|
-
* The
|
|
15533
|
+
* The configuration of the scaling group.
|
|
15325
15534
|
*/
|
|
15326
15535
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
15327
15536
|
/**
|
|
@@ -15733,11 +15942,11 @@ export declare class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
15733
15942
|
deleteBehavior?: DescribeClusterResourcesResponseBodyDeleteBehavior;
|
|
15734
15943
|
/**
|
|
15735
15944
|
* @remarks
|
|
15736
|
-
* The
|
|
15945
|
+
* The resource creator. Valid values:
|
|
15737
15946
|
*
|
|
15738
|
-
* * user:
|
|
15739
|
-
* * system:
|
|
15740
|
-
* * 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.
|
|
15741
15950
|
*
|
|
15742
15951
|
* @example
|
|
15743
15952
|
* addon
|
|
@@ -16032,10 +16241,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16032
16241
|
clusterId?: string;
|
|
16033
16242
|
/**
|
|
16034
16243
|
* @remarks
|
|
16035
|
-
*
|
|
16244
|
+
* After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition of the cluster. Valid values:
|
|
16036
16245
|
*
|
|
16037
|
-
* * `ack.pro.small`: ACK Pro cluster
|
|
16038
|
-
* * `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.
|
|
16039
16248
|
*
|
|
16040
16249
|
* @example
|
|
16041
16250
|
* ack.standard
|
|
@@ -16043,12 +16252,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16043
16252
|
clusterSpec?: string;
|
|
16044
16253
|
/**
|
|
16045
16254
|
* @remarks
|
|
16046
|
-
*
|
|
16047
|
-
*
|
|
16048
|
-
* * `
|
|
16049
|
-
* * `ManagedKubernetes`: ACK managed cluster
|
|
16050
|
-
* * `Ask`: ACK Serverless cluster
|
|
16051
|
-
* * `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.
|
|
16052
16258
|
*
|
|
16053
16259
|
* @example
|
|
16054
16260
|
* Kubernetes
|
|
@@ -16072,10 +16278,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16072
16278
|
currentVersion?: string;
|
|
16073
16279
|
/**
|
|
16074
16280
|
* @remarks
|
|
16075
|
-
*
|
|
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:
|
|
16076
16282
|
*
|
|
16077
|
-
* * `true`:
|
|
16078
|
-
* * `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.
|
|
16079
16285
|
*
|
|
16080
16286
|
* @example
|
|
16081
16287
|
* true
|
|
@@ -16091,7 +16297,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16091
16297
|
dockerVersion?: string;
|
|
16092
16298
|
/**
|
|
16093
16299
|
* @remarks
|
|
16094
|
-
* 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.
|
|
16095
16301
|
*
|
|
16096
16302
|
* The default SLB specification is slb.s1.small, which belongs to the high-performance instance type.
|
|
16097
16303
|
*
|
|
@@ -16101,9 +16307,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16101
16307
|
externalLoadbalancerId?: string;
|
|
16102
16308
|
/**
|
|
16103
16309
|
* @remarks
|
|
16104
|
-
* 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.
|
|
16105
16311
|
*
|
|
16106
|
-
* 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).
|
|
16107
16313
|
*
|
|
16108
16314
|
* @example
|
|
16109
16315
|
* 1.16.9-aliyun.1
|
|
@@ -16111,12 +16317,12 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16111
16317
|
initVersion?: string;
|
|
16112
16318
|
/**
|
|
16113
16319
|
* @remarks
|
|
16114
|
-
* 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.
|
|
16115
16321
|
*/
|
|
16116
16322
|
maintenanceWindow?: MaintenanceWindow;
|
|
16117
16323
|
/**
|
|
16118
16324
|
* @remarks
|
|
16119
|
-
* The
|
|
16325
|
+
* The address of the cluster API server. It includes an internal endpoint and a public endpoint.
|
|
16120
16326
|
*
|
|
16121
16327
|
* @example
|
|
16122
16328
|
* {\\"api_server_endpoint\\":\\"\\",\\"intranet_api_server_endpoint\\":\\"https://192.168.0.251:6443\\"}
|
|
@@ -16134,7 +16340,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16134
16340
|
* @remarks
|
|
16135
16341
|
* The cluster name.
|
|
16136
16342
|
*
|
|
16137
|
-
* 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 (-).
|
|
16138
16344
|
*
|
|
16139
16345
|
* @example
|
|
16140
16346
|
* cluster-demo
|
|
@@ -16144,9 +16350,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16144
16350
|
* @remarks
|
|
16145
16351
|
* The network mode of the cluster. Valid values:
|
|
16146
16352
|
*
|
|
16147
|
-
* * `classic`: classic network
|
|
16148
|
-
* * `vpc`: virtual private cloud (VPC)
|
|
16149
|
-
* * `overlay`: overlay network
|
|
16353
|
+
* * `classic`: classic network.
|
|
16354
|
+
* * `vpc`: virtual private cloud (VPC).
|
|
16355
|
+
* * `overlay`: overlay network.
|
|
16150
16356
|
* * `calico`: network powered by Calico.
|
|
16151
16357
|
*
|
|
16152
16358
|
* @example
|
|
@@ -16176,8 +16382,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16176
16382
|
* @remarks
|
|
16177
16383
|
* The cluster identifier. Valid values:
|
|
16178
16384
|
*
|
|
16179
|
-
* * `
|
|
16180
|
-
* * `
|
|
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.
|
|
16181
16389
|
*
|
|
16182
16390
|
* @example
|
|
16183
16391
|
* Default
|
|
@@ -16201,7 +16409,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16201
16409
|
resourceGroupId?: string;
|
|
16202
16410
|
/**
|
|
16203
16411
|
* @remarks
|
|
16204
|
-
* The ID of the security group
|
|
16412
|
+
* The ID of the security group of the cluster.
|
|
16205
16413
|
*
|
|
16206
16414
|
* @example
|
|
16207
16415
|
* sg-2vcgwsrwgt5mp0yi****
|
|
@@ -16242,9 +16450,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16242
16450
|
* * 172.16-31.0.0/12-16
|
|
16243
16451
|
* * 192.168.0.0/16
|
|
16244
16452
|
*
|
|
16245
|
-
* 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.
|
|
16246
16454
|
*
|
|
16247
|
-
* 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).
|
|
16248
16456
|
*
|
|
16249
16457
|
* @example
|
|
16250
16458
|
* 172.21.0.0/16
|
|
@@ -16281,7 +16489,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16281
16489
|
vswitchId?: string;
|
|
16282
16490
|
/**
|
|
16283
16491
|
* @remarks
|
|
16284
|
-
* 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.
|
|
16285
16493
|
*
|
|
16286
16494
|
* @example
|
|
16287
16495
|
* KubernetesWorkerRole-ec87d15b-edca-4302-933f-c8a16bf0****
|
|
@@ -16289,7 +16497,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16289
16497
|
workerRamRoleName?: string;
|
|
16290
16498
|
/**
|
|
16291
16499
|
* @remarks
|
|
16292
|
-
* The zone
|
|
16500
|
+
* The ID of the zone where the cluster is deployed.
|
|
16293
16501
|
*
|
|
16294
16502
|
* @example
|
|
16295
16503
|
* cn-beijing-b
|
|
@@ -16751,7 +16959,7 @@ export declare class DescribeKubernetesVersionMetadataResponseBodyImages extends
|
|
|
16751
16959
|
imageType?: string;
|
|
16752
16960
|
/**
|
|
16753
16961
|
* @remarks
|
|
16754
|
-
* The type of
|
|
16962
|
+
* The type of OS. Examples:
|
|
16755
16963
|
*
|
|
16756
16964
|
* * `Windows`
|
|
16757
16965
|
* * `Linux`
|
|
@@ -16818,7 +17026,7 @@ export declare class DescribeKubernetesVersionMetadataResponseBody extends $tea.
|
|
|
16818
17026
|
runtimes?: Runtime[];
|
|
16819
17027
|
/**
|
|
16820
17028
|
* @remarks
|
|
16821
|
-
* 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).
|
|
16822
17030
|
*
|
|
16823
17031
|
* @example
|
|
16824
17032
|
* 1.16.9-aliyun.1
|
|
@@ -16848,6 +17056,10 @@ export declare class DescribeKubernetesVersionMetadataResponseBody extends $tea.
|
|
|
16848
17056
|
* true
|
|
16849
17057
|
*/
|
|
16850
17058
|
creatable?: boolean;
|
|
17059
|
+
/**
|
|
17060
|
+
* @remarks
|
|
17061
|
+
* The list of available versions for updates.
|
|
17062
|
+
*/
|
|
16851
17063
|
upgradableVersions?: string[];
|
|
16852
17064
|
static names(): {
|
|
16853
17065
|
[key: string]: string;
|
|
@@ -17354,7 +17566,7 @@ export declare class DescribePolicyInstancesResponseBody extends $tea.Model {
|
|
|
17354
17566
|
export declare class DescribePolicyInstancesStatusResponseBodyPolicyInstances extends $tea.Model {
|
|
17355
17567
|
/**
|
|
17356
17568
|
* @remarks
|
|
17357
|
-
* 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).
|
|
17358
17570
|
*
|
|
17359
17571
|
* @example
|
|
17360
17572
|
* compliance
|
|
@@ -18038,9 +18250,9 @@ export declare class DescribeUserPermissionResponseBody extends $tea.Model {
|
|
|
18038
18250
|
export declare class DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota extends $tea.Model {
|
|
18039
18251
|
/**
|
|
18040
18252
|
* @remarks
|
|
18041
|
-
* This parameter is
|
|
18253
|
+
* This parameter is discontinued.
|
|
18042
18254
|
*
|
|
18043
|
-
* The maximum bandwidth of each enhanced node pool. Unit: Mbit/s.
|
|
18255
|
+
* The maximum bandwidth of each enhanced edge node pool. Unit: Mbit/s.
|
|
18044
18256
|
*
|
|
18045
18257
|
* @example
|
|
18046
18258
|
* 10
|
|
@@ -18048,9 +18260,9 @@ export declare class DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota exte
|
|
|
18048
18260
|
bandwidth?: number;
|
|
18049
18261
|
/**
|
|
18050
18262
|
* @remarks
|
|
18051
|
-
* This parameter is
|
|
18263
|
+
* This parameter is discontinued.
|
|
18052
18264
|
*
|
|
18053
|
-
* The
|
|
18265
|
+
* The maximum number of enhanced edge node pools that you can create within an Alibaba Cloud account.
|
|
18054
18266
|
*
|
|
18055
18267
|
* @example
|
|
18056
18268
|
* 3
|
|
@@ -18058,11 +18270,11 @@ export declare class DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota exte
|
|
|
18058
18270
|
count?: number;
|
|
18059
18271
|
/**
|
|
18060
18272
|
* @remarks
|
|
18061
|
-
* This parameter is
|
|
18273
|
+
* This parameter is discontinued.
|
|
18062
18274
|
*
|
|
18063
18275
|
* The maximum subscription duration of an enhanced edge node pool. Unit: months.
|
|
18064
18276
|
*
|
|
18065
|
-
* >
|
|
18277
|
+
* > You are charged for enhanced edge node pools based on the pay-as-you-go billing method. Therefore, you can ignore this parameter.
|
|
18066
18278
|
*
|
|
18067
18279
|
* @example
|
|
18068
18280
|
* 3
|
|
@@ -18177,41 +18389,71 @@ export declare class GetClusterAddonInstanceResponseBodyLogging extends $tea.Mod
|
|
|
18177
18389
|
}
|
|
18178
18390
|
export declare class GetClusterDiagnosisCheckItemsResponseBodyCheckItems extends $tea.Model {
|
|
18179
18391
|
/**
|
|
18392
|
+
* @remarks
|
|
18393
|
+
* The description.
|
|
18394
|
+
*
|
|
18180
18395
|
* @example
|
|
18181
18396
|
* Check whether the node can access host dns service
|
|
18182
18397
|
*/
|
|
18183
18398
|
desc?: string;
|
|
18184
18399
|
/**
|
|
18400
|
+
* @remarks
|
|
18401
|
+
* The display name.
|
|
18402
|
+
*
|
|
18185
18403
|
* @example
|
|
18186
18404
|
* HostDNS
|
|
18187
18405
|
*/
|
|
18188
18406
|
display?: string;
|
|
18189
18407
|
/**
|
|
18408
|
+
* @remarks
|
|
18409
|
+
* The name of the group to which the check item belongs.
|
|
18410
|
+
*
|
|
18190
18411
|
* @example
|
|
18191
18412
|
* Node
|
|
18192
18413
|
*/
|
|
18193
18414
|
group?: string;
|
|
18194
18415
|
/**
|
|
18416
|
+
* @remarks
|
|
18417
|
+
* The severity level of the check result.
|
|
18418
|
+
*
|
|
18419
|
+
* Valid values:
|
|
18420
|
+
*
|
|
18421
|
+
* * normal
|
|
18422
|
+
* * warning
|
|
18423
|
+
* * error
|
|
18424
|
+
*
|
|
18195
18425
|
* @example
|
|
18196
18426
|
* normal
|
|
18197
18427
|
*/
|
|
18198
18428
|
level?: string;
|
|
18199
18429
|
/**
|
|
18430
|
+
* @remarks
|
|
18431
|
+
* The check result.
|
|
18432
|
+
*
|
|
18200
18433
|
* @example
|
|
18201
18434
|
* success
|
|
18202
18435
|
*/
|
|
18203
18436
|
message?: string;
|
|
18204
18437
|
/**
|
|
18438
|
+
* @remarks
|
|
18439
|
+
* The name of the check item.
|
|
18440
|
+
*
|
|
18205
18441
|
* @example
|
|
18206
18442
|
* HostDNS
|
|
18207
18443
|
*/
|
|
18208
18444
|
name?: string;
|
|
18209
18445
|
/**
|
|
18446
|
+
* @remarks
|
|
18447
|
+
* The reference value.
|
|
18448
|
+
*
|
|
18210
18449
|
* @example
|
|
18211
18450
|
* True
|
|
18212
18451
|
*/
|
|
18213
18452
|
refer?: string;
|
|
18214
18453
|
/**
|
|
18454
|
+
* @remarks
|
|
18455
|
+
* The value of the check item.
|
|
18456
|
+
*
|
|
18215
18457
|
* @example
|
|
18216
18458
|
* True
|
|
18217
18459
|
*/
|
|
@@ -18667,7 +18909,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyPage extends $tea.Mo
|
|
|
18667
18909
|
export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.Model {
|
|
18668
18910
|
/**
|
|
18669
18911
|
* @remarks
|
|
18670
|
-
* The
|
|
18912
|
+
* The displayed name or role name of the RAM user.
|
|
18671
18913
|
*
|
|
18672
18914
|
* @example
|
|
18673
18915
|
* tom
|
|
@@ -18683,7 +18925,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.
|
|
|
18683
18925
|
accountId?: string;
|
|
18684
18926
|
/**
|
|
18685
18927
|
* @remarks
|
|
18686
|
-
* The name of the
|
|
18928
|
+
* The logon name or role name of the RAM user.
|
|
18687
18929
|
*
|
|
18688
18930
|
* @example
|
|
18689
18931
|
* tom
|
|
@@ -18691,7 +18933,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.
|
|
|
18691
18933
|
accountName?: string;
|
|
18692
18934
|
/**
|
|
18693
18935
|
* @remarks
|
|
18694
|
-
* The status of the account.
|
|
18936
|
+
* The status of the account.
|
|
18695
18937
|
*
|
|
18696
18938
|
* * Active: The account is active.
|
|
18697
18939
|
* * InActive: The account is locked.
|
|
@@ -18703,7 +18945,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.
|
|
|
18703
18945
|
accountState?: string;
|
|
18704
18946
|
/**
|
|
18705
18947
|
* @remarks
|
|
18706
|
-
* The type of the account.
|
|
18948
|
+
* The type of the account.
|
|
18707
18949
|
*
|
|
18708
18950
|
* * RootAccount: Alibaba Cloud account.
|
|
18709
18951
|
* * RamUser: RAM user.
|
|
@@ -18715,7 +18957,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.
|
|
|
18715
18957
|
accountType?: string;
|
|
18716
18958
|
/**
|
|
18717
18959
|
* @remarks
|
|
18718
|
-
*
|
|
18960
|
+
* The expiration time of the client certificate for the kubeconfig file.
|
|
18719
18961
|
*
|
|
18720
18962
|
* @example
|
|
18721
18963
|
* 2027-07-15T01:32:20Z
|
|
@@ -18723,7 +18965,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.
|
|
|
18723
18965
|
certExpireTime?: string;
|
|
18724
18966
|
/**
|
|
18725
18967
|
* @remarks
|
|
18726
|
-
* The status of the certificate.
|
|
18968
|
+
* The status of the client certificate for the kubeconfig file.
|
|
18727
18969
|
*
|
|
18728
18970
|
* * Unexpired: The certificate is not expired.
|
|
18729
18971
|
* * Expired: The certificate is expired.
|
|
@@ -18735,7 +18977,7 @@ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.
|
|
|
18735
18977
|
certState?: string;
|
|
18736
18978
|
/**
|
|
18737
18979
|
* @remarks
|
|
18738
|
-
* Indicates whether the certificate can be revoked.
|
|
18980
|
+
* Indicates whether the client certificate for the kubeconfig file can be revoked.
|
|
18739
18981
|
*
|
|
18740
18982
|
* @example
|
|
18741
18983
|
* true
|
|
@@ -19007,10 +19249,20 @@ export declare class ListUserKubeConfigStatesResponseBodyStates extends $tea.Mod
|
|
|
19007
19249
|
}
|
|
19008
19250
|
export declare class ModifyClusterRequestApiServerCustomCertSans extends $tea.Model {
|
|
19009
19251
|
/**
|
|
19252
|
+
* @remarks
|
|
19253
|
+
* Specifies whether to overwrite or add SANs. Valid values:
|
|
19254
|
+
*
|
|
19255
|
+
* * overwrite: overwrites SANs.
|
|
19256
|
+
* * append: adds SANs.
|
|
19257
|
+
*
|
|
19010
19258
|
* @example
|
|
19011
19259
|
* append
|
|
19012
19260
|
*/
|
|
19013
19261
|
action?: string;
|
|
19262
|
+
/**
|
|
19263
|
+
* @remarks
|
|
19264
|
+
* The SANs.
|
|
19265
|
+
*/
|
|
19014
19266
|
subjectAlternativeNames?: string[];
|
|
19015
19267
|
static names(): {
|
|
19016
19268
|
[key: string]: string;
|
|
@@ -19024,11 +19276,21 @@ export declare class ModifyClusterRequestApiServerCustomCertSans extends $tea.Mo
|
|
|
19024
19276
|
}
|
|
19025
19277
|
export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
19026
19278
|
/**
|
|
19279
|
+
* @remarks
|
|
19280
|
+
* The frequency of auto cluster updates. Valid values:
|
|
19281
|
+
*
|
|
19282
|
+
* * patch
|
|
19283
|
+
* * stable
|
|
19284
|
+
* * rapid
|
|
19285
|
+
*
|
|
19027
19286
|
* @example
|
|
19028
19287
|
* patch
|
|
19029
19288
|
*/
|
|
19030
19289
|
channel?: string;
|
|
19031
19290
|
/**
|
|
19291
|
+
* @remarks
|
|
19292
|
+
* Specifies whether to enable auto cluster update.
|
|
19293
|
+
*
|
|
19032
19294
|
* @example
|
|
19033
19295
|
* true
|
|
19034
19296
|
*/
|
|
@@ -19044,6 +19306,10 @@ export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
19044
19306
|
});
|
|
19045
19307
|
}
|
|
19046
19308
|
export declare class ModifyClusterRequestOperationPolicy extends $tea.Model {
|
|
19309
|
+
/**
|
|
19310
|
+
* @remarks
|
|
19311
|
+
* The configurations of auto cluster update.
|
|
19312
|
+
*/
|
|
19047
19313
|
clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
19048
19314
|
static names(): {
|
|
19049
19315
|
[key: string]: string;
|
|
@@ -19066,7 +19332,7 @@ export declare class ModifyClusterRequestSystemEventsLogging extends $tea.Model
|
|
|
19066
19332
|
enabled?: boolean;
|
|
19067
19333
|
/**
|
|
19068
19334
|
* @remarks
|
|
19069
|
-
* The name of the
|
|
19335
|
+
* The name of the Simple Log Service project that stores system events.
|
|
19070
19336
|
*
|
|
19071
19337
|
* @example
|
|
19072
19338
|
* k8s-log-cb95aa626a47740afbf6aa099b65****
|
|
@@ -19146,7 +19412,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19146
19412
|
eipBandwidth?: number;
|
|
19147
19413
|
/**
|
|
19148
19414
|
* @remarks
|
|
19149
|
-
* The metering method of the EIP. Valid values:
|
|
19415
|
+
* The metering method of the elastic IP address (EIP). Valid values:
|
|
19150
19416
|
*
|
|
19151
19417
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
19152
19418
|
* * `PayByTraffic`: pay-by-data-transfer.
|
|
@@ -19174,10 +19440,10 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19174
19440
|
enable?: boolean;
|
|
19175
19441
|
/**
|
|
19176
19442
|
* @remarks
|
|
19177
|
-
* Specifies whether to associate an
|
|
19443
|
+
* Specifies whether to associate an EIP with the node pool. Valid values:
|
|
19178
19444
|
*
|
|
19179
19445
|
* * `true`: associates an EIP with the node pool.
|
|
19180
|
-
* * `false`:
|
|
19446
|
+
* * `false`: No EIP is associated with the node pool.
|
|
19181
19447
|
*
|
|
19182
19448
|
* Default value: `false`.
|
|
19183
19449
|
*
|
|
@@ -19205,7 +19471,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19205
19471
|
minInstances?: number;
|
|
19206
19472
|
/**
|
|
19207
19473
|
* @remarks
|
|
19208
|
-
* The instance
|
|
19474
|
+
* The instance type that is used for auto scaling. Valid values:
|
|
19209
19475
|
*
|
|
19210
19476
|
* * `cpu`: regular instance.
|
|
19211
19477
|
* * `gpu`: GPU-accelerated instance.
|
|
@@ -19246,9 +19512,9 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19246
19512
|
cmsEnabled?: boolean;
|
|
19247
19513
|
/**
|
|
19248
19514
|
* @remarks
|
|
19249
|
-
* 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:
|
|
19250
19516
|
*
|
|
19251
|
-
* * `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.
|
|
19252
19518
|
* * `none`: specifies that the default CPU affinity is used.
|
|
19253
19519
|
*
|
|
19254
19520
|
* Default value: `none`.
|
|
@@ -19259,9 +19525,9 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19259
19525
|
cpuPolicy?: string;
|
|
19260
19526
|
/**
|
|
19261
19527
|
* @remarks
|
|
19262
|
-
* The labels
|
|
19528
|
+
* The labels that you want to add to nodes in the cluster. You must add labels based on the following rules:
|
|
19263
19529
|
*
|
|
19264
|
-
* * A
|
|
19530
|
+
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
19265
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).
|
|
19266
19532
|
*/
|
|
19267
19533
|
labels?: Tag[];
|
|
@@ -19283,7 +19549,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19283
19549
|
runtimeVersion?: string;
|
|
19284
19550
|
/**
|
|
19285
19551
|
* @remarks
|
|
19286
|
-
* The
|
|
19552
|
+
* The taints.
|
|
19287
19553
|
*/
|
|
19288
19554
|
taints?: Taint[];
|
|
19289
19555
|
/**
|
|
@@ -19296,7 +19562,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19296
19562
|
unschedulable?: boolean;
|
|
19297
19563
|
/**
|
|
19298
19564
|
* @remarks
|
|
19299
|
-
* The user
|
|
19565
|
+
* The user data on the node. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
|
|
19300
19566
|
*
|
|
19301
19567
|
* @example
|
|
19302
19568
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -19315,10 +19581,10 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19315
19581
|
export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
19316
19582
|
/**
|
|
19317
19583
|
* @remarks
|
|
19318
|
-
* Specifies whether
|
|
19584
|
+
* Specifies whether to allow node restart. Valid values:
|
|
19319
19585
|
*
|
|
19320
|
-
* * `true`:
|
|
19321
|
-
* * `false`:
|
|
19586
|
+
* * `true`: allows node restart.
|
|
19587
|
+
* * `false`: does not allow node restart.
|
|
19322
19588
|
*
|
|
19323
19589
|
* @example
|
|
19324
19590
|
* true
|
|
@@ -19337,10 +19603,10 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
19337
19603
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
19338
19604
|
/**
|
|
19339
19605
|
* @remarks
|
|
19340
|
-
* Specifies whether
|
|
19606
|
+
* Specifies whether to allow auto update of the kubelet. Valid values:
|
|
19341
19607
|
*
|
|
19342
|
-
* * `true`:
|
|
19343
|
-
* * `false`:
|
|
19608
|
+
* * `true`: allows auto update of the kubelet.
|
|
19609
|
+
* * `false`: does not allow auto update of the kubelet.
|
|
19344
19610
|
*
|
|
19345
19611
|
* @example
|
|
19346
19612
|
* true
|
|
@@ -19348,20 +19614,20 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
19348
19614
|
autoUpgradeKubelet?: boolean;
|
|
19349
19615
|
/**
|
|
19350
19616
|
* @remarks
|
|
19351
|
-
* 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:
|
|
19352
19618
|
*
|
|
19353
|
-
* * `true`:
|
|
19354
|
-
* * `false`:
|
|
19619
|
+
* * `true`: allows auto update of the OS.
|
|
19620
|
+
* * `false`: does not allow auto update of the OS.
|
|
19355
19621
|
*
|
|
19356
19622
|
* Default value: `false`.
|
|
19357
19623
|
*/
|
|
19358
19624
|
autoUpgradeOs?: boolean;
|
|
19359
19625
|
/**
|
|
19360
19626
|
* @remarks
|
|
19361
|
-
* 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:
|
|
19362
19628
|
*
|
|
19363
|
-
* * `true`:
|
|
19364
|
-
* * `false`:
|
|
19629
|
+
* * `true`: allows auto update of the runtime.
|
|
19630
|
+
* * `false`: does not allow auto update of the runtime.
|
|
19365
19631
|
*
|
|
19366
19632
|
* Default value: `false`.
|
|
19367
19633
|
*/
|
|
@@ -19379,10 +19645,10 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
19379
19645
|
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
19380
19646
|
/**
|
|
19381
19647
|
* @remarks
|
|
19382
|
-
* Specifies whether
|
|
19648
|
+
* Specifies whether to allow node restart. Valid values:
|
|
19383
19649
|
*
|
|
19384
|
-
* * `true`:
|
|
19385
|
-
* * `false`:
|
|
19650
|
+
* * `true`: allows node restart.
|
|
19651
|
+
* * `false`: does not allow node restart.
|
|
19386
19652
|
*
|
|
19387
19653
|
* @example
|
|
19388
19654
|
* true
|
|
@@ -19390,7 +19656,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
19390
19656
|
restartNode?: boolean;
|
|
19391
19657
|
/**
|
|
19392
19658
|
* @remarks
|
|
19393
|
-
* The severity levels of
|
|
19659
|
+
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,).
|
|
19394
19660
|
*
|
|
19395
19661
|
* @example
|
|
19396
19662
|
* asap,nntf
|
|
@@ -19409,7 +19675,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
19409
19675
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
19410
19676
|
/**
|
|
19411
19677
|
* @remarks
|
|
19412
|
-
* Specifies whether to enable auto update.
|
|
19678
|
+
* Specifies whether to enable auto update. Valid values:
|
|
19413
19679
|
*
|
|
19414
19680
|
* * true: enables auto update.
|
|
19415
19681
|
* * false: disables auto update.
|
|
@@ -19424,7 +19690,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19424
19690
|
autoUpgrade?: boolean;
|
|
19425
19691
|
/**
|
|
19426
19692
|
* @remarks
|
|
19427
|
-
* The maximum number of nodes
|
|
19693
|
+
* The maximum number of unavailable nodes.
|
|
19428
19694
|
*
|
|
19429
19695
|
* Valid values: 1 to 1000.
|
|
19430
19696
|
*
|
|
@@ -19436,9 +19702,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19436
19702
|
maxUnavailable?: number;
|
|
19437
19703
|
/**
|
|
19438
19704
|
* @remarks
|
|
19439
|
-
* 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.
|
|
19440
19706
|
*
|
|
19441
|
-
* > 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.
|
|
19442
19708
|
*
|
|
19443
19709
|
* @example
|
|
19444
19710
|
* 5
|
|
@@ -19446,7 +19712,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19446
19712
|
surge?: number;
|
|
19447
19713
|
/**
|
|
19448
19714
|
* @remarks
|
|
19449
|
-
* 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`.
|
|
19450
19716
|
*
|
|
19451
19717
|
* @example
|
|
19452
19718
|
* 0
|
|
@@ -19499,10 +19765,10 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
19499
19765
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
19500
19766
|
/**
|
|
19501
19767
|
* @remarks
|
|
19502
|
-
* Specifies whether
|
|
19768
|
+
* Specifies whether to enable auto Common Vulnerabilities and Exposures (CVE) patching. Valid values:
|
|
19503
19769
|
*
|
|
19504
|
-
* * `true`:
|
|
19505
|
-
* * `true`:
|
|
19770
|
+
* * `true`: enables auto CVE patching.
|
|
19771
|
+
* * `true`: disables auto CVE patching.
|
|
19506
19772
|
*
|
|
19507
19773
|
* @example
|
|
19508
19774
|
* true
|
|
@@ -19528,7 +19794,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
19528
19794
|
enable?: boolean;
|
|
19529
19795
|
/**
|
|
19530
19796
|
* @remarks
|
|
19531
|
-
* The
|
|
19797
|
+
* The configurations of auto update. The configuration takes effect only when you specify `enable=true`.
|
|
19532
19798
|
*
|
|
19533
19799
|
* @deprecated
|
|
19534
19800
|
*/
|
|
@@ -19556,7 +19822,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
19556
19822
|
name?: string;
|
|
19557
19823
|
/**
|
|
19558
19824
|
* @remarks
|
|
19559
|
-
* The
|
|
19825
|
+
* The resource group ID.
|
|
19560
19826
|
*
|
|
19561
19827
|
* @example
|
|
19562
19828
|
* rg-acfmyvw3wjm****
|
|
@@ -19575,7 +19841,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
19575
19841
|
export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $tea.Model {
|
|
19576
19842
|
/**
|
|
19577
19843
|
* @remarks
|
|
19578
|
-
* The
|
|
19844
|
+
* The private node pool ID.
|
|
19579
19845
|
*
|
|
19580
19846
|
* @example
|
|
19581
19847
|
* eap-bp67acfmxazb4****
|
|
@@ -19583,11 +19849,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
19583
19849
|
id?: string;
|
|
19584
19850
|
/**
|
|
19585
19851
|
* @remarks
|
|
19586
|
-
* 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:
|
|
19587
19853
|
*
|
|
19588
|
-
* * `Open`:
|
|
19589
|
-
* * `Target`:
|
|
19590
|
-
* * `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.
|
|
19591
19857
|
*
|
|
19592
19858
|
* @example
|
|
19593
19859
|
* Open
|
|
@@ -19606,7 +19872,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
19606
19872
|
export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
19607
19873
|
/**
|
|
19608
19874
|
* @remarks
|
|
19609
|
-
* The
|
|
19875
|
+
* The price cap of a preemptible instance.
|
|
19610
19876
|
*
|
|
19611
19877
|
* @example
|
|
19612
19878
|
* ecs.c6.large
|
|
@@ -19614,7 +19880,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
19614
19880
|
instanceType?: string;
|
|
19615
19881
|
/**
|
|
19616
19882
|
* @remarks
|
|
19617
|
-
* The
|
|
19883
|
+
* The price cap of a preemptible instance.
|
|
19618
19884
|
*
|
|
19619
19885
|
* Unit: USD/hour.
|
|
19620
19886
|
*
|
|
@@ -19635,7 +19901,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
19635
19901
|
export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
19636
19902
|
/**
|
|
19637
19903
|
* @remarks
|
|
19638
|
-
* 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:
|
|
19639
19905
|
*
|
|
19640
19906
|
* * `true`: enables auto-renewal.
|
|
19641
19907
|
* * `false`: disables auto-renewal.
|
|
@@ -19648,7 +19914,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19648
19914
|
autoRenew?: boolean;
|
|
19649
19915
|
/**
|
|
19650
19916
|
* @remarks
|
|
19651
|
-
* 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`.
|
|
19652
19918
|
*
|
|
19653
19919
|
* If you specify `PeriodUnit=Month`, the valid values are 1, 2, 3, 6, and 12.
|
|
19654
19920
|
*
|
|
@@ -19658,7 +19924,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19658
19924
|
autoRenewPeriod?: number;
|
|
19659
19925
|
/**
|
|
19660
19926
|
* @remarks
|
|
19661
|
-
* 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:
|
|
19662
19928
|
*
|
|
19663
19929
|
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
19664
19930
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
@@ -19669,7 +19935,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19669
19935
|
compensateWithOnDemand?: boolean;
|
|
19670
19936
|
/**
|
|
19671
19937
|
* @remarks
|
|
19672
|
-
* 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.
|
|
19673
19939
|
*/
|
|
19674
19940
|
dataDisks?: DataDisk[];
|
|
19675
19941
|
/**
|
|
@@ -19682,7 +19948,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19682
19948
|
desiredSize?: number;
|
|
19683
19949
|
/**
|
|
19684
19950
|
* @remarks
|
|
19685
|
-
* 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.
|
|
19686
19952
|
*
|
|
19687
19953
|
* @example
|
|
19688
19954
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -19690,7 +19956,17 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19690
19956
|
imageId?: string;
|
|
19691
19957
|
/**
|
|
19692
19958
|
* @remarks
|
|
19693
|
-
* 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.
|
|
19694
19970
|
*
|
|
19695
19971
|
* @example
|
|
19696
19972
|
* AliyunLinux
|
|
@@ -19698,7 +19974,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19698
19974
|
imageType?: string;
|
|
19699
19975
|
/**
|
|
19700
19976
|
* @remarks
|
|
19701
|
-
* The billing method of
|
|
19977
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
19702
19978
|
*
|
|
19703
19979
|
* * `PrePaid`: subscription.
|
|
19704
19980
|
* * `PostPaid`: pay-as-you-go.
|
|
@@ -19712,7 +19988,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19712
19988
|
instancePatterns?: InstancePatterns[];
|
|
19713
19989
|
/**
|
|
19714
19990
|
* @remarks
|
|
19715
|
-
*
|
|
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.
|
|
19716
19992
|
*/
|
|
19717
19993
|
instanceTypes?: string[];
|
|
19718
19994
|
/**
|
|
@@ -19728,7 +20004,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19728
20004
|
internetChargeType?: string;
|
|
19729
20005
|
/**
|
|
19730
20006
|
* @remarks
|
|
19731
|
-
* 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.
|
|
19732
20008
|
*
|
|
19733
20009
|
* @example
|
|
19734
20010
|
* 5
|
|
@@ -19736,7 +20012,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19736
20012
|
internetMaxBandwidthOut?: number;
|
|
19737
20013
|
/**
|
|
19738
20014
|
* @remarks
|
|
19739
|
-
* 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.
|
|
19740
20016
|
*
|
|
19741
20017
|
* @example
|
|
19742
20018
|
* pro-nodepool
|
|
@@ -19744,7 +20020,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19744
20020
|
keyPair?: string;
|
|
19745
20021
|
/**
|
|
19746
20022
|
* @remarks
|
|
19747
|
-
* 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.
|
|
19748
20024
|
*
|
|
19749
20025
|
* @example
|
|
19750
20026
|
* Hello1234
|
|
@@ -19754,15 +20030,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19754
20030
|
* @remarks
|
|
19755
20031
|
* The ECS instance scaling policy for the multi-zone scaling group. Valid values:
|
|
19756
20032
|
*
|
|
19757
|
-
* * `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.
|
|
19758
20034
|
*
|
|
19759
|
-
* * `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.
|
|
19760
20036
|
*
|
|
19761
20037
|
* **
|
|
19762
20038
|
*
|
|
19763
20039
|
* **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
19764
20040
|
*
|
|
19765
|
-
* * `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).
|
|
19766
20042
|
*
|
|
19767
20043
|
* Default value: `PRIORITY`.
|
|
19768
20044
|
*
|
|
@@ -19772,7 +20048,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19772
20048
|
multiAzPolicy?: string;
|
|
19773
20049
|
/**
|
|
19774
20050
|
* @remarks
|
|
19775
|
-
* 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.
|
|
19776
20052
|
*
|
|
19777
20053
|
* @example
|
|
19778
20054
|
* 0
|
|
@@ -19788,7 +20064,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19788
20064
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
19789
20065
|
/**
|
|
19790
20066
|
* @remarks
|
|
19791
|
-
* 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`.
|
|
19792
20068
|
*
|
|
19793
20069
|
* If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
19794
20070
|
*
|
|
@@ -19798,7 +20074,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19798
20074
|
period?: number;
|
|
19799
20075
|
/**
|
|
19800
20076
|
* @remarks
|
|
19801
|
-
* 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:
|
|
19802
20078
|
*
|
|
19803
20079
|
* The billing cycle is measured only in months.
|
|
19804
20080
|
*
|
|
@@ -19810,7 +20086,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19810
20086
|
periodUnit?: string;
|
|
19811
20087
|
/**
|
|
19812
20088
|
* @remarks
|
|
19813
|
-
* The
|
|
20089
|
+
* The OS platform. Valid values:
|
|
19814
20090
|
*
|
|
19815
20091
|
* * `AliyunLinux`
|
|
19816
20092
|
* * `CentOS`
|
|
@@ -19825,7 +20101,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19825
20101
|
platform?: string;
|
|
19826
20102
|
/**
|
|
19827
20103
|
* @remarks
|
|
19828
|
-
* The
|
|
20104
|
+
* The configurations of the private node pool.
|
|
19829
20105
|
*/
|
|
19830
20106
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
19831
20107
|
/**
|
|
@@ -19837,8 +20113,8 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19837
20113
|
* @remarks
|
|
19838
20114
|
* The scaling mode of the scaling group. Valid values:
|
|
19839
20115
|
*
|
|
19840
|
-
* * `release`: the standard mode. ECS instances are created and released based on
|
|
19841
|
-
* * `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.
|
|
19842
20118
|
*
|
|
19843
20119
|
* @example
|
|
19844
20120
|
* release
|
|
@@ -19854,10 +20130,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19854
20130
|
spotInstancePools?: number;
|
|
19855
20131
|
/**
|
|
19856
20132
|
* @remarks
|
|
19857
|
-
* 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:
|
|
19858
20134
|
*
|
|
19859
|
-
* * `true`:
|
|
19860
|
-
* * `false`:
|
|
20135
|
+
* * `true`: supplements preemptible instances.
|
|
20136
|
+
* * `false`: does not supplement preemptible instances.
|
|
19861
20137
|
*
|
|
19862
20138
|
* @example
|
|
19863
20139
|
* false
|
|
@@ -19865,7 +20141,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19865
20141
|
spotInstanceRemedy?: boolean;
|
|
19866
20142
|
/**
|
|
19867
20143
|
* @remarks
|
|
19868
|
-
* The
|
|
20144
|
+
* The instance type of preemptible instances and the price cap for the instance type.
|
|
19869
20145
|
*/
|
|
19870
20146
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
19871
20147
|
/**
|
|
@@ -19873,7 +20149,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19873
20149
|
* The bidding policy of preemptible instances. Valid values:
|
|
19874
20150
|
*
|
|
19875
20151
|
* * `NoSpot`: non-preemptible instance.
|
|
19876
|
-
* * `SpotWithPriceLimit`: specifies the highest bid
|
|
20152
|
+
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
19877
20153
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
19878
20154
|
*
|
|
19879
20155
|
* For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/157759.html).
|
|
@@ -19884,7 +20160,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19884
20160
|
spotStrategy?: string;
|
|
19885
20161
|
/**
|
|
19886
20162
|
* @remarks
|
|
19887
|
-
* Specifies whether to enable
|
|
20163
|
+
* Specifies whether to enable the burst feature for the system disk when the disk type is cloud_auto.
|
|
19888
20164
|
*
|
|
19889
20165
|
* @example
|
|
19890
20166
|
* true
|
|
@@ -19892,12 +20168,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19892
20168
|
systemDiskBurstingEnabled?: boolean;
|
|
19893
20169
|
/**
|
|
19894
20170
|
* @remarks
|
|
19895
|
-
* 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).
|
|
19896
20172
|
*/
|
|
19897
20173
|
systemDiskCategories?: string[];
|
|
19898
20174
|
/**
|
|
19899
20175
|
* @remarks
|
|
19900
|
-
* The
|
|
20176
|
+
* The system disk type. Valid values:
|
|
19901
20177
|
*
|
|
19902
20178
|
* * `cloud_efficiency`: ultra disk.
|
|
19903
20179
|
* * `cloud_ssd`: standard SSD.
|
|
@@ -19910,7 +20186,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19910
20186
|
systemDiskCategory?: string;
|
|
19911
20187
|
/**
|
|
19912
20188
|
* @remarks
|
|
19913
|
-
* The algorithm that
|
|
20189
|
+
* The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
|
|
19914
20190
|
*
|
|
19915
20191
|
* @example
|
|
19916
20192
|
* aes-256
|
|
@@ -19934,7 +20210,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19934
20210
|
systemDiskKmsKeyId?: string;
|
|
19935
20211
|
/**
|
|
19936
20212
|
* @remarks
|
|
19937
|
-
* 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).
|
|
19938
20214
|
*
|
|
19939
20215
|
* @example
|
|
19940
20216
|
* PL1
|
|
@@ -19942,7 +20218,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19942
20218
|
systemDiskPerformanceLevel?: string;
|
|
19943
20219
|
/**
|
|
19944
20220
|
* @remarks
|
|
19945
|
-
* The
|
|
20221
|
+
* The preset read/write IOPS of the system disk when the disk type is cloud_auto.
|
|
19946
20222
|
*
|
|
19947
20223
|
* @example
|
|
19948
20224
|
* 1000
|
|
@@ -19950,11 +20226,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19950
20226
|
systemDiskProvisionedIops?: number;
|
|
19951
20227
|
/**
|
|
19952
20228
|
* @remarks
|
|
19953
|
-
* The size of the system disk
|
|
20229
|
+
* The size of the system disk. Unit: GiB.
|
|
19954
20230
|
*
|
|
19955
20231
|
* Valid values: 20 to 500.
|
|
19956
20232
|
*
|
|
19957
|
-
* 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.
|
|
19958
20234
|
*
|
|
19959
20235
|
* Default value: the greater value between 40 and the image size.
|
|
19960
20236
|
*
|
|
@@ -19966,14 +20242,14 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19966
20242
|
* @remarks
|
|
19967
20243
|
* The labels that you want to add only to ECS instances.
|
|
19968
20244
|
*
|
|
19969
|
-
* 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://.
|
|
19970
20246
|
*/
|
|
19971
20247
|
tags?: Tag[];
|
|
19972
20248
|
/**
|
|
19973
20249
|
* @remarks
|
|
19974
|
-
* The IDs
|
|
20250
|
+
* The vSwitch IDs. You can specify 1 to 20 vSwitches.
|
|
19975
20251
|
*
|
|
19976
|
-
* > 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.
|
|
19977
20253
|
*/
|
|
19978
20254
|
vswitchIds?: string[];
|
|
19979
20255
|
static names(): {
|
|
@@ -20099,9 +20375,9 @@ export declare class ScaleClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
20099
20375
|
export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
20100
20376
|
/**
|
|
20101
20377
|
* @remarks
|
|
20102
|
-
* 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.
|
|
20103
20379
|
*
|
|
20104
|
-
* 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.
|
|
20105
20381
|
*
|
|
20106
20382
|
* @example
|
|
20107
20383
|
* sp-bp14yziiuvu3s6jn****
|
|
@@ -20117,10 +20393,10 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
20117
20393
|
category?: string;
|
|
20118
20394
|
/**
|
|
20119
20395
|
* @remarks
|
|
20120
|
-
* Specifies whether to encrypt the data
|
|
20396
|
+
* Specifies whether to encrypt the data disk. Valid values:
|
|
20121
20397
|
*
|
|
20122
|
-
* * `true`: encrypts data
|
|
20123
|
-
* * `false`: does not encrypt data
|
|
20398
|
+
* * `true`: encrypts the data disk.
|
|
20399
|
+
* * `false`: does not encrypt the data disk.
|
|
20124
20400
|
*
|
|
20125
20401
|
* Default value: `false`.
|
|
20126
20402
|
*
|
|
@@ -20130,7 +20406,7 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
20130
20406
|
encrypted?: string;
|
|
20131
20407
|
/**
|
|
20132
20408
|
* @remarks
|
|
20133
|
-
* The
|
|
20409
|
+
* The data disk size. Valid values: 40 to 32767.
|
|
20134
20410
|
*
|
|
20135
20411
|
* @example
|
|
20136
20412
|
* 120
|
|
@@ -20315,8 +20591,33 @@ export declare class UpgradeClusterAddonsRequestBody extends $tea.Model {
|
|
|
20315
20591
|
});
|
|
20316
20592
|
}
|
|
20317
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
|
+
*/
|
|
20318
20601
|
batchInterval?: number;
|
|
20602
|
+
/**
|
|
20603
|
+
* @remarks
|
|
20604
|
+
* The maximum number of unavailable nodes.
|
|
20605
|
+
*
|
|
20606
|
+
* @example
|
|
20607
|
+
* 3
|
|
20608
|
+
*/
|
|
20319
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
|
+
*/
|
|
20320
20621
|
pausePolicy?: string;
|
|
20321
20622
|
static names(): {
|
|
20322
20623
|
[key: string]: string;
|
|
@@ -20334,7 +20635,7 @@ export default class Client extends OpenApi {
|
|
|
20334
20635
|
[key: string]: string;
|
|
20335
20636
|
}, endpoint: string): string;
|
|
20336
20637
|
/**
|
|
20337
|
-
*
|
|
20638
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
20338
20639
|
*
|
|
20339
20640
|
* @param request - AttachInstancesRequest
|
|
20340
20641
|
* @param headers - map
|
|
@@ -20345,7 +20646,7 @@ export default class Client extends OpenApi {
|
|
|
20345
20646
|
[key: string]: string;
|
|
20346
20647
|
}, runtime: $Util.RuntimeOptions): Promise<AttachInstancesResponse>;
|
|
20347
20648
|
/**
|
|
20348
|
-
*
|
|
20649
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
20349
20650
|
*
|
|
20350
20651
|
* @param request - AttachInstancesRequest
|
|
20351
20652
|
* @returns AttachInstancesResponse
|
|
@@ -20475,7 +20776,7 @@ export default class Client extends OpenApi {
|
|
|
20475
20776
|
*/
|
|
20476
20777
|
checkControlPlaneLogEnable(ClusterId: string): Promise<CheckControlPlaneLogEnableResponse>;
|
|
20477
20778
|
/**
|
|
20478
|
-
*
|
|
20779
|
+
* Checks whether the specified service role is granted required permissions within the current Alibaba Cloud account.
|
|
20479
20780
|
*
|
|
20480
20781
|
* @param request - CheckServiceRoleRequest
|
|
20481
20782
|
* @param headers - map
|
|
@@ -20486,7 +20787,7 @@ export default class Client extends OpenApi {
|
|
|
20486
20787
|
[key: string]: string;
|
|
20487
20788
|
}, runtime: $Util.RuntimeOptions): Promise<CheckServiceRoleResponse>;
|
|
20488
20789
|
/**
|
|
20489
|
-
*
|
|
20790
|
+
* Checks whether the specified service role is granted required permissions within the current Alibaba Cloud account.
|
|
20490
20791
|
*
|
|
20491
20792
|
* @param request - CheckServiceRoleRequest
|
|
20492
20793
|
* @returns CheckServiceRoleResponse
|
|
@@ -20497,7 +20798,7 @@ export default class Client extends OpenApi {
|
|
|
20497
20798
|
*
|
|
20498
20799
|
* @remarks
|
|
20499
20800
|
* >
|
|
20500
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess
|
|
20801
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permission.
|
|
20501
20802
|
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
20502
20803
|
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
20503
20804
|
*
|
|
@@ -20514,7 +20815,7 @@ export default class Client extends OpenApi {
|
|
|
20514
20815
|
*
|
|
20515
20816
|
* @remarks
|
|
20516
20817
|
* >
|
|
20517
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess
|
|
20818
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permission.
|
|
20518
20819
|
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
20519
20820
|
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
20520
20821
|
*
|
|
@@ -20572,13 +20873,13 @@ export default class Client extends OpenApi {
|
|
|
20572
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.
|
|
20573
20874
|
*
|
|
20574
20875
|
* @remarks
|
|
20575
|
-
* This topic describes all parameters for creating
|
|
20576
|
-
* * [
|
|
20577
|
-
* * [
|
|
20578
|
-
* * [
|
|
20579
|
-
* * [
|
|
20580
|
-
* * [
|
|
20581
|
-
* * [
|
|
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)
|
|
20582
20883
|
*
|
|
20583
20884
|
* @param request - CreateClusterRequest
|
|
20584
20885
|
* @param headers - map
|
|
@@ -20592,13 +20893,13 @@ export default class Client extends OpenApi {
|
|
|
20592
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.
|
|
20593
20894
|
*
|
|
20594
20895
|
* @remarks
|
|
20595
|
-
* This topic describes all parameters for creating
|
|
20596
|
-
* * [
|
|
20597
|
-
* * [
|
|
20598
|
-
* * [
|
|
20599
|
-
* * [
|
|
20600
|
-
* * [
|
|
20601
|
-
* * [
|
|
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)
|
|
20602
20903
|
*
|
|
20603
20904
|
* @param request - CreateClusterRequest
|
|
20604
20905
|
* @returns CreateClusterResponse
|
|
@@ -20695,7 +20996,7 @@ export default class Client extends OpenApi {
|
|
|
20695
20996
|
*/
|
|
20696
20997
|
createTemplate(request: CreateTemplateRequest): Promise<CreateTemplateResponse>;
|
|
20697
20998
|
/**
|
|
20698
|
-
*
|
|
20999
|
+
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
20699
21000
|
*
|
|
20700
21001
|
* @param request - CreateTriggerRequest
|
|
20701
21002
|
* @param headers - map
|
|
@@ -20706,7 +21007,7 @@ export default class Client extends OpenApi {
|
|
|
20706
21007
|
[key: string]: string;
|
|
20707
21008
|
}, runtime: $Util.RuntimeOptions): Promise<CreateTriggerResponse>;
|
|
20708
21009
|
/**
|
|
20709
|
-
*
|
|
21010
|
+
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
20710
21011
|
*
|
|
20711
21012
|
* @param request - CreateTriggerRequest
|
|
20712
21013
|
* @returns CreateTriggerResponse
|
|
@@ -20788,8 +21089,10 @@ export default class Client extends OpenApi {
|
|
|
20788
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.
|
|
20789
21090
|
*
|
|
20790
21091
|
* @remarks
|
|
20791
|
-
*
|
|
20792
|
-
* *
|
|
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.
|
|
20793
21096
|
*
|
|
20794
21097
|
* @param request - DeleteClusterNodesRequest
|
|
20795
21098
|
* @param headers - map
|
|
@@ -20803,8 +21106,10 @@ export default class Client extends OpenApi {
|
|
|
20803
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.
|
|
20804
21107
|
*
|
|
20805
21108
|
* @remarks
|
|
20806
|
-
*
|
|
20807
|
-
* *
|
|
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.
|
|
20808
21113
|
*
|
|
20809
21114
|
* @param request - DeleteClusterNodesRequest
|
|
20810
21115
|
* @returns DeleteClusterNodesResponse
|
|
@@ -20877,7 +21182,7 @@ export default class Client extends OpenApi {
|
|
|
20877
21182
|
*/
|
|
20878
21183
|
deleteTemplate(TemplateId: string): Promise<DeleteTemplateResponse>;
|
|
20879
21184
|
/**
|
|
20880
|
-
*
|
|
21185
|
+
* Deletes an application trigger.
|
|
20881
21186
|
*
|
|
20882
21187
|
* @param headers - map
|
|
20883
21188
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20887,7 +21192,7 @@ export default class Client extends OpenApi {
|
|
|
20887
21192
|
[key: string]: string;
|
|
20888
21193
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteTriggerResponse>;
|
|
20889
21194
|
/**
|
|
20890
|
-
*
|
|
21195
|
+
* Deletes an application trigger.
|
|
20891
21196
|
* @returns DeleteTriggerResponse
|
|
20892
21197
|
*/
|
|
20893
21198
|
deleteTrigger(clusterId: string, Id: string): Promise<DeleteTriggerResponse>;
|
|
@@ -20929,7 +21234,7 @@ export default class Client extends OpenApi {
|
|
|
20929
21234
|
*/
|
|
20930
21235
|
descirbeWorkflow(workflowName: string): Promise<DescirbeWorkflowResponse>;
|
|
20931
21236
|
/**
|
|
20932
|
-
*
|
|
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.
|
|
20933
21238
|
*
|
|
20934
21239
|
* @param request - DescribeAddonRequest
|
|
20935
21240
|
* @param headers - map
|
|
@@ -20940,7 +21245,7 @@ export default class Client extends OpenApi {
|
|
|
20940
21245
|
[key: string]: string;
|
|
20941
21246
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonResponse>;
|
|
20942
21247
|
/**
|
|
20943
|
-
*
|
|
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.
|
|
20944
21249
|
*
|
|
20945
21250
|
* @param request - DescribeAddonRequest
|
|
20946
21251
|
* @returns DescribeAddonResponse
|
|
@@ -21070,7 +21375,7 @@ export default class Client extends OpenApi {
|
|
|
21070
21375
|
*/
|
|
21071
21376
|
describeClusterAddonsVersion(ClusterId: string): Promise<DescribeClusterAddonsVersionResponse>;
|
|
21072
21377
|
/**
|
|
21073
|
-
* 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.
|
|
21074
21379
|
*
|
|
21075
21380
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
21076
21381
|
* @param headers - map
|
|
@@ -21081,7 +21386,7 @@ export default class Client extends OpenApi {
|
|
|
21081
21386
|
[key: string]: string;
|
|
21082
21387
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAttachScriptsResponse>;
|
|
21083
21388
|
/**
|
|
21084
|
-
* 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.
|
|
21085
21390
|
*
|
|
21086
21391
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
21087
21392
|
* @returns DescribeClusterAttachScriptsResponse
|
|
@@ -21226,8 +21531,7 @@ export default class Client extends OpenApi {
|
|
|
21226
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.
|
|
21227
21532
|
*
|
|
21228
21533
|
* @remarks
|
|
21229
|
-
*
|
|
21230
|
-
* ****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.
|
|
21231
21535
|
*
|
|
21232
21536
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
21233
21537
|
* @param headers - map
|
|
@@ -21241,8 +21545,7 @@ export default class Client extends OpenApi {
|
|
|
21241
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.
|
|
21242
21546
|
*
|
|
21243
21547
|
* @remarks
|
|
21244
|
-
*
|
|
21245
|
-
* ****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.
|
|
21246
21549
|
*
|
|
21247
21550
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
21248
21551
|
* @returns DescribeClusterUserKubeconfigResponse
|
|
@@ -21286,7 +21589,7 @@ export default class Client extends OpenApi {
|
|
|
21286
21589
|
*/
|
|
21287
21590
|
describeClusterVuls(clusterId: string): Promise<DescribeClusterVulsResponse>;
|
|
21288
21591
|
/**
|
|
21289
|
-
*
|
|
21592
|
+
* Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
21290
21593
|
*
|
|
21291
21594
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
21292
21595
|
*
|
|
@@ -21299,7 +21602,7 @@ export default class Client extends OpenApi {
|
|
|
21299
21602
|
[key: string]: string;
|
|
21300
21603
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersResponse>;
|
|
21301
21604
|
/**
|
|
21302
|
-
*
|
|
21605
|
+
* Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
21303
21606
|
*
|
|
21304
21607
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
21305
21608
|
*
|
|
@@ -21308,7 +21611,7 @@ export default class Client extends OpenApi {
|
|
|
21308
21611
|
*/
|
|
21309
21612
|
describeClusters(request: DescribeClustersRequest): Promise<DescribeClustersResponse>;
|
|
21310
21613
|
/**
|
|
21311
|
-
*
|
|
21614
|
+
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
21312
21615
|
*
|
|
21313
21616
|
* @param request - DescribeClustersV1Request
|
|
21314
21617
|
* @param headers - map
|
|
@@ -21319,7 +21622,7 @@ export default class Client extends OpenApi {
|
|
|
21319
21622
|
[key: string]: string;
|
|
21320
21623
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersV1Response>;
|
|
21321
21624
|
/**
|
|
21322
|
-
*
|
|
21625
|
+
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
21323
21626
|
*
|
|
21324
21627
|
* @param request - DescribeClustersV1Request
|
|
21325
21628
|
* @returns DescribeClustersV1Response
|
|
@@ -21407,7 +21710,7 @@ export default class Client extends OpenApi {
|
|
|
21407
21710
|
*/
|
|
21408
21711
|
describeEvents(request: DescribeEventsRequest): Promise<DescribeEventsResponse>;
|
|
21409
21712
|
/**
|
|
21410
|
-
*
|
|
21713
|
+
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
21411
21714
|
*
|
|
21412
21715
|
* @remarks
|
|
21413
21716
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -21421,7 +21724,7 @@ export default class Client extends OpenApi {
|
|
|
21421
21724
|
[key: string]: string;
|
|
21422
21725
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeExternalAgentResponse>;
|
|
21423
21726
|
/**
|
|
21424
|
-
*
|
|
21727
|
+
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
21425
21728
|
*
|
|
21426
21729
|
* @remarks
|
|
21427
21730
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -21482,7 +21785,7 @@ export default class Client extends OpenApi {
|
|
|
21482
21785
|
*/
|
|
21483
21786
|
describePolicies(): Promise<DescribePoliciesResponse>;
|
|
21484
21787
|
/**
|
|
21485
|
-
*
|
|
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.
|
|
21486
21789
|
*
|
|
21487
21790
|
* @param headers - map
|
|
21488
21791
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21492,12 +21795,12 @@ export default class Client extends OpenApi {
|
|
|
21492
21795
|
[key: string]: string;
|
|
21493
21796
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyDetailsResponse>;
|
|
21494
21797
|
/**
|
|
21495
|
-
*
|
|
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.
|
|
21496
21799
|
* @returns DescribePolicyDetailsResponse
|
|
21497
21800
|
*/
|
|
21498
21801
|
describePolicyDetails(policyName: string): Promise<DescribePolicyDetailsResponse>;
|
|
21499
21802
|
/**
|
|
21500
|
-
*
|
|
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.
|
|
21501
21804
|
*
|
|
21502
21805
|
* @param headers - map
|
|
21503
21806
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21507,7 +21810,7 @@ export default class Client extends OpenApi {
|
|
|
21507
21810
|
[key: string]: string;
|
|
21508
21811
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyGovernanceInClusterResponse>;
|
|
21509
21812
|
/**
|
|
21510
|
-
*
|
|
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.
|
|
21511
21814
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
21512
21815
|
*/
|
|
21513
21816
|
describePolicyGovernanceInCluster(clusterId: string): Promise<DescribePolicyGovernanceInClusterResponse>;
|
|
@@ -21640,7 +21943,7 @@ export default class Client extends OpenApi {
|
|
|
21640
21943
|
*/
|
|
21641
21944
|
describeTemplates(request: DescribeTemplatesRequest): Promise<DescribeTemplatesResponse>;
|
|
21642
21945
|
/**
|
|
21643
|
-
*
|
|
21946
|
+
* Queries triggers that match specific conditions.
|
|
21644
21947
|
*
|
|
21645
21948
|
* @param request - DescribeTriggerRequest
|
|
21646
21949
|
* @param headers - map
|
|
@@ -21651,14 +21954,14 @@ export default class Client extends OpenApi {
|
|
|
21651
21954
|
[key: string]: string;
|
|
21652
21955
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeTriggerResponse>;
|
|
21653
21956
|
/**
|
|
21654
|
-
*
|
|
21957
|
+
* Queries triggers that match specific conditions.
|
|
21655
21958
|
*
|
|
21656
21959
|
* @param request - DescribeTriggerRequest
|
|
21657
21960
|
* @returns DescribeTriggerResponse
|
|
21658
21961
|
*/
|
|
21659
21962
|
describeTrigger(clusterId: string, request: DescribeTriggerRequest): Promise<DescribeTriggerResponse>;
|
|
21660
21963
|
/**
|
|
21661
|
-
*
|
|
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.
|
|
21662
21965
|
*
|
|
21663
21966
|
* @param headers - map
|
|
21664
21967
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21668,13 +21971,17 @@ export default class Client extends OpenApi {
|
|
|
21668
21971
|
[key: string]: string;
|
|
21669
21972
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeUserClusterNamespacesResponse>;
|
|
21670
21973
|
/**
|
|
21671
|
-
*
|
|
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.
|
|
21672
21975
|
* @returns DescribeUserClusterNamespacesResponse
|
|
21673
21976
|
*/
|
|
21674
21977
|
describeUserClusterNamespaces(ClusterId: string): Promise<DescribeUserClusterNamespacesResponse>;
|
|
21675
21978
|
/**
|
|
21676
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.
|
|
21677
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
|
+
*
|
|
21678
21985
|
* @param headers - map
|
|
21679
21986
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
21680
21987
|
* @returns DescribeUserPermissionResponse
|
|
@@ -21684,6 +21991,10 @@ export default class Client extends OpenApi {
|
|
|
21684
21991
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeUserPermissionResponse>;
|
|
21685
21992
|
/**
|
|
21686
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.
|
|
21687
21998
|
* @returns DescribeUserPermissionResponse
|
|
21688
21999
|
*/
|
|
21689
22000
|
describeUserPermission(uid: string): Promise<DescribeUserPermissionResponse>;
|
|
@@ -21927,7 +22238,7 @@ export default class Client extends OpenApi {
|
|
|
21927
22238
|
*/
|
|
21928
22239
|
installClusterAddons(ClusterId: string, request: InstallClusterAddonsRequest): Promise<InstallClusterAddonsResponse>;
|
|
21929
22240
|
/**
|
|
21930
|
-
*
|
|
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.
|
|
21931
22242
|
*
|
|
21932
22243
|
* @param request - ListAddonsRequest
|
|
21933
22244
|
* @param headers - map
|
|
@@ -21938,14 +22249,14 @@ export default class Client extends OpenApi {
|
|
|
21938
22249
|
[key: string]: string;
|
|
21939
22250
|
}, runtime: $Util.RuntimeOptions): Promise<ListAddonsResponse>;
|
|
21940
22251
|
/**
|
|
21941
|
-
*
|
|
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.
|
|
21942
22253
|
*
|
|
21943
22254
|
* @param request - ListAddonsRequest
|
|
21944
22255
|
* @returns ListAddonsResponse
|
|
21945
22256
|
*/
|
|
21946
22257
|
listAddons(request: ListAddonsRequest): Promise<ListAddonsResponse>;
|
|
21947
22258
|
/**
|
|
21948
|
-
*
|
|
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.
|
|
21949
22260
|
*
|
|
21950
22261
|
* @param headers - map
|
|
21951
22262
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21955,7 +22266,7 @@ export default class Client extends OpenApi {
|
|
|
21955
22266
|
[key: string]: string;
|
|
21956
22267
|
}, runtime: $Util.RuntimeOptions): Promise<ListClusterAddonInstancesResponse>;
|
|
21957
22268
|
/**
|
|
21958
|
-
*
|
|
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.
|
|
21959
22270
|
* @returns ListClusterAddonInstancesResponse
|
|
21960
22271
|
*/
|
|
21961
22272
|
listClusterAddonInstances(clusterId: string): Promise<ListClusterAddonInstancesResponse>;
|
|
@@ -21981,9 +22292,8 @@ export default class Client extends OpenApi {
|
|
|
21981
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.
|
|
21982
22293
|
*
|
|
21983
22294
|
* @remarks
|
|
21984
|
-
* >
|
|
21985
|
-
*
|
|
21986
|
-
* * 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.
|
|
21987
22297
|
*
|
|
21988
22298
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
21989
22299
|
* @param headers - map
|
|
@@ -21997,16 +22307,15 @@ export default class Client extends OpenApi {
|
|
|
21997
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.
|
|
21998
22308
|
*
|
|
21999
22309
|
* @remarks
|
|
22000
|
-
* >
|
|
22001
|
-
*
|
|
22002
|
-
* * 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.
|
|
22003
22312
|
*
|
|
22004
22313
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
22005
22314
|
* @returns ListClusterKubeconfigStatesResponse
|
|
22006
22315
|
*/
|
|
22007
22316
|
listClusterKubeconfigStates(ClusterId: string, request: ListClusterKubeconfigStatesRequest): Promise<ListClusterKubeconfigStatesResponse>;
|
|
22008
22317
|
/**
|
|
22009
|
-
*
|
|
22318
|
+
* Queries the auto O\\&M schedules of a cluster.
|
|
22010
22319
|
*
|
|
22011
22320
|
* @param request - ListOperationPlansRequest
|
|
22012
22321
|
* @param headers - map
|
|
@@ -22017,7 +22326,7 @@ export default class Client extends OpenApi {
|
|
|
22017
22326
|
[key: string]: string;
|
|
22018
22327
|
}, runtime: $Util.RuntimeOptions): Promise<ListOperationPlansResponse>;
|
|
22019
22328
|
/**
|
|
22020
|
-
*
|
|
22329
|
+
* Queries the auto O\\&M schedules of a cluster.
|
|
22021
22330
|
*
|
|
22022
22331
|
* @param request - ListOperationPlansRequest
|
|
22023
22332
|
* @returns ListOperationPlansResponse
|
|
@@ -22106,8 +22415,8 @@ export default class Client extends OpenApi {
|
|
|
22106
22415
|
*
|
|
22107
22416
|
* @remarks
|
|
22108
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.
|
|
22109
|
-
* * 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://
|
|
22110
|
-
* * 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).
|
|
22111
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.
|
|
22112
22421
|
*
|
|
22113
22422
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -22123,8 +22432,8 @@ export default class Client extends OpenApi {
|
|
|
22123
22432
|
*
|
|
22124
22433
|
* @remarks
|
|
22125
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.
|
|
22126
|
-
* * 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://
|
|
22127
|
-
* * 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).
|
|
22128
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.
|
|
22129
22438
|
*
|
|
22130
22439
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -22168,7 +22477,7 @@ export default class Client extends OpenApi {
|
|
|
22168
22477
|
*/
|
|
22169
22478
|
modifyClusterNodePool(ClusterId: string, NodepoolId: string, request: ModifyClusterNodePoolRequest): Promise<ModifyClusterNodePoolResponse>;
|
|
22170
22479
|
/**
|
|
22171
|
-
*
|
|
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.
|
|
22172
22481
|
*
|
|
22173
22482
|
* @param request - ModifyClusterTagsRequest
|
|
22174
22483
|
* @param headers - map
|
|
@@ -22179,7 +22488,7 @@ export default class Client extends OpenApi {
|
|
|
22179
22488
|
[key: string]: string;
|
|
22180
22489
|
}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterTagsResponse>;
|
|
22181
22490
|
/**
|
|
22182
|
-
*
|
|
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.
|
|
22183
22492
|
*
|
|
22184
22493
|
* @param request - ModifyClusterTagsRequest
|
|
22185
22494
|
* @returns ModifyClusterTagsResponse
|
|
@@ -22228,7 +22537,7 @@ export default class Client extends OpenApi {
|
|
|
22228
22537
|
*/
|
|
22229
22538
|
modifyPolicyInstance(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest): Promise<ModifyPolicyInstanceResponse>;
|
|
22230
22539
|
/**
|
|
22231
|
-
*
|
|
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.
|
|
22232
22541
|
*
|
|
22233
22542
|
* @remarks
|
|
22234
22543
|
* You can activate ACK by using Alibaba Cloud accounts.
|
|
@@ -22243,7 +22552,7 @@ export default class Client extends OpenApi {
|
|
|
22243
22552
|
[key: string]: string;
|
|
22244
22553
|
}, runtime: $Util.RuntimeOptions): Promise<OpenAckServiceResponse>;
|
|
22245
22554
|
/**
|
|
22246
|
-
*
|
|
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.
|
|
22247
22556
|
*
|
|
22248
22557
|
* @remarks
|
|
22249
22558
|
* You can activate ACK by using Alibaba Cloud accounts.
|
|
@@ -22390,7 +22699,7 @@ export default class Client extends OpenApi {
|
|
|
22390
22699
|
*/
|
|
22391
22700
|
removeWorkflow(workflowName: string): Promise<RemoveWorkflowResponse>;
|
|
22392
22701
|
/**
|
|
22393
|
-
*
|
|
22702
|
+
* Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
|
|
22394
22703
|
*
|
|
22395
22704
|
* @param request - RepairClusterNodePoolRequest
|
|
22396
22705
|
* @param headers - map
|
|
@@ -22401,7 +22710,7 @@ export default class Client extends OpenApi {
|
|
|
22401
22710
|
[key: string]: string;
|
|
22402
22711
|
}, runtime: $Util.RuntimeOptions): Promise<RepairClusterNodePoolResponse>;
|
|
22403
22712
|
/**
|
|
22404
|
-
*
|
|
22713
|
+
* Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
|
|
22405
22714
|
*
|
|
22406
22715
|
* @param request - RepairClusterNodePoolRequest
|
|
22407
22716
|
* @returns RepairClusterNodePoolResponse
|
|
@@ -22461,7 +22770,7 @@ export default class Client extends OpenApi {
|
|
|
22461
22770
|
*/
|
|
22462
22771
|
resumeUpgradeCluster(ClusterId: string): Promise<ResumeUpgradeClusterResponse>;
|
|
22463
22772
|
/**
|
|
22464
|
-
* 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.
|
|
22465
22774
|
*
|
|
22466
22775
|
* @param headers - map
|
|
22467
22776
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22471,12 +22780,12 @@ export default class Client extends OpenApi {
|
|
|
22471
22780
|
[key: string]: string;
|
|
22472
22781
|
}, runtime: $Util.RuntimeOptions): Promise<RevokeK8sClusterKubeConfigResponse>;
|
|
22473
22782
|
/**
|
|
22474
|
-
* 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.
|
|
22475
22784
|
* @returns RevokeK8sClusterKubeConfigResponse
|
|
22476
22785
|
*/
|
|
22477
22786
|
revokeK8sClusterKubeConfig(ClusterId: string): Promise<RevokeK8sClusterKubeConfigResponse>;
|
|
22478
22787
|
/**
|
|
22479
|
-
*
|
|
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.
|
|
22480
22789
|
*
|
|
22481
22790
|
* @param request - RunClusterCheckRequest
|
|
22482
22791
|
* @param headers - map
|
|
@@ -22487,7 +22796,7 @@ export default class Client extends OpenApi {
|
|
|
22487
22796
|
[key: string]: string;
|
|
22488
22797
|
}, runtime: $Util.RuntimeOptions): Promise<RunClusterCheckResponse>;
|
|
22489
22798
|
/**
|
|
22490
|
-
*
|
|
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.
|
|
22491
22800
|
*
|
|
22492
22801
|
* @param request - RunClusterCheckRequest
|
|
22493
22802
|
* @returns RunClusterCheckResponse
|
|
@@ -22644,7 +22953,7 @@ export default class Client extends OpenApi {
|
|
|
22644
22953
|
*/
|
|
22645
22954
|
syncClusterNodePool(ClusterId: string): Promise<SyncClusterNodePoolResponse>;
|
|
22646
22955
|
/**
|
|
22647
|
-
*
|
|
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.
|
|
22648
22957
|
*
|
|
22649
22958
|
* @param request - TagResourcesRequest
|
|
22650
22959
|
* @param headers - map
|
|
@@ -22655,7 +22964,7 @@ export default class Client extends OpenApi {
|
|
|
22655
22964
|
[key: string]: string;
|
|
22656
22965
|
}, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse>;
|
|
22657
22966
|
/**
|
|
22658
|
-
*
|
|
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.
|
|
22659
22968
|
*
|
|
22660
22969
|
* @param request - TagResourcesRequest
|
|
22661
22970
|
* @returns TagResourcesResponse
|
|
@@ -22680,7 +22989,7 @@ export default class Client extends OpenApi {
|
|
|
22680
22989
|
*/
|
|
22681
22990
|
unInstallClusterAddons(ClusterId: string, request: UnInstallClusterAddonsRequest): Promise<UnInstallClusterAddonsResponse>;
|
|
22682
22991
|
/**
|
|
22683
|
-
*
|
|
22992
|
+
* If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
|
|
22684
22993
|
*
|
|
22685
22994
|
* @param tmpReq - UntagResourcesRequest
|
|
22686
22995
|
* @param headers - map
|
|
@@ -22691,7 +23000,7 @@ export default class Client extends OpenApi {
|
|
|
22691
23000
|
[key: string]: string;
|
|
22692
23001
|
}, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse>;
|
|
22693
23002
|
/**
|
|
22694
|
-
*
|
|
23003
|
+
* If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
|
|
22695
23004
|
*
|
|
22696
23005
|
* @param request - UntagResourcesRequest
|
|
22697
23006
|
* @returns UntagResourcesResponse
|
|
@@ -22722,7 +23031,7 @@ export default class Client extends OpenApi {
|
|
|
22722
23031
|
*/
|
|
22723
23032
|
updateClusterAuditLogConfig(clusterid: string, request: UpdateClusterAuditLogConfigRequest): Promise<UpdateClusterAuditLogConfigResponse>;
|
|
22724
23033
|
/**
|
|
22725
|
-
*
|
|
23034
|
+
* null
|
|
22726
23035
|
*
|
|
22727
23036
|
* @param request - UpdateContactGroupForAlertRequest
|
|
22728
23037
|
* @param headers - map
|
|
@@ -22733,14 +23042,14 @@ export default class Client extends OpenApi {
|
|
|
22733
23042
|
[key: string]: string;
|
|
22734
23043
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateContactGroupForAlertResponse>;
|
|
22735
23044
|
/**
|
|
22736
|
-
*
|
|
23045
|
+
* null
|
|
22737
23046
|
*
|
|
22738
23047
|
* @param request - UpdateContactGroupForAlertRequest
|
|
22739
23048
|
* @returns UpdateContactGroupForAlertResponse
|
|
22740
23049
|
*/
|
|
22741
23050
|
updateContactGroupForAlert(ClusterId: string, request: UpdateContactGroupForAlertRequest): Promise<UpdateContactGroupForAlertResponse>;
|
|
22742
23051
|
/**
|
|
22743
|
-
*
|
|
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).
|
|
22744
23053
|
*
|
|
22745
23054
|
* @param request - UpdateControlPlaneLogRequest
|
|
22746
23055
|
* @param headers - map
|
|
@@ -22751,7 +23060,7 @@ export default class Client extends OpenApi {
|
|
|
22751
23060
|
[key: string]: string;
|
|
22752
23061
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateControlPlaneLogResponse>;
|
|
22753
23062
|
/**
|
|
22754
|
-
*
|
|
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).
|
|
22755
23064
|
*
|
|
22756
23065
|
* @param request - UpdateControlPlaneLogRequest
|
|
22757
23066
|
* @returns UpdateControlPlaneLogResponse
|
|
@@ -22761,8 +23070,8 @@ export default class Client extends OpenApi {
|
|
|
22761
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.
|
|
22762
23071
|
*
|
|
22763
23072
|
* @remarks
|
|
22764
|
-
*
|
|
22765
|
-
*
|
|
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.
|
|
22766
23075
|
*
|
|
22767
23076
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
22768
23077
|
* @param headers - map
|
|
@@ -22776,8 +23085,8 @@ export default class Client extends OpenApi {
|
|
|
22776
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.
|
|
22777
23086
|
*
|
|
22778
23087
|
* @remarks
|
|
22779
|
-
*
|
|
22780
|
-
*
|
|
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.
|
|
22781
23090
|
*
|
|
22782
23091
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
22783
23092
|
* @returns UpdateK8sClusterUserConfigExpireResponse
|