@alicloud/cs20151215 6.5.1 → 6.6.0
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 +36 -18
- package/dist/client.js +63 -18
- package/dist/client.js.map +1 -1
- package/dist/models/Addon.d.ts +16 -1
- package/dist/models/Addon.js.map +1 -1
- package/dist/models/ContainerdConfig.d.ts +8 -0
- package/dist/models/ContainerdConfig.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +0 -51
- package/dist/models/CreateAutoRepairPolicyRequest.js +1 -55
- package/dist/models/CreateAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js +6 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/DataDisk.d.ts +77 -0
- package/dist/models/DataDisk.js.map +1 -1
- package/dist/models/DeleteAlertContactResponse.d.ts +0 -24
- package/dist/models/DeleteAlertContactResponse.js.map +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +1 -52
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -56
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAddonMetadataRequest.d.ts +7 -0
- package/dist/models/DescribeClusterAddonMetadataRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +6 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +6 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DiskInit.d.ts +33 -0
- package/dist/models/DiskInit.js +66 -0
- package/dist/models/DiskInit.js.map +1 -0
- package/dist/models/InstancePatterns.d.ts +77 -0
- package/dist/models/InstancePatterns.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +127 -0
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +1 -52
- package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -56
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/MaintenanceWindow.d.ts +31 -1
- package/dist/models/MaintenanceWindow.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +0 -51
- package/dist/models/ModifyAutoRepairPolicyRequest.js +1 -55
- package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +510 -10
- package/dist/models/Nodepool.js +6 -0
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +14 -0
- package/dist/models/Runtime.js.map +1 -1
- package/dist/models/Tag.d.ts +6 -0
- package/dist/models/Tag.js.map +1 -1
- package/dist/models/Taint.d.ts +15 -0
- package/dist/models/Taint.js.map +1 -1
- package/dist/models/UpdateKmsencryptionRequest.d.ts +23 -0
- package/dist/models/UpdateKmsencryptionRequest.js +60 -0
- package/dist/models/UpdateKmsencryptionRequest.js.map +1 -0
- package/dist/models/UpdateKmsencryptionResponse.d.ts +17 -0
- package/dist/models/UpdateKmsencryptionResponse.js +63 -0
- package/dist/models/UpdateKmsencryptionResponse.js.map +1 -0
- package/dist/models/model.d.ts +3 -8
- package/dist/models/model.js +52 -62
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +67 -18
- package/src/models/Addon.ts +16 -1
- package/src/models/ContainerdConfig.ts +8 -0
- package/src/models/CreateAutoRepairPolicyRequest.ts +0 -87
- package/src/models/CreateClusterNodePoolRequest.ts +7 -0
- package/src/models/DataDisk.ts +77 -0
- package/src/models/DeleteAlertContactResponse.ts +0 -24
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +2 -89
- package/src/models/DescribeClusterAddonMetadataRequest.ts +7 -0
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +7 -0
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +7 -0
- package/src/models/DiskInit.ts +54 -0
- package/src/models/InstancePatterns.ts +77 -0
- package/src/models/KubeletConfig.ts +127 -0
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +2 -89
- package/src/models/MaintenanceWindow.ts +31 -1
- package/src/models/ModifyAutoRepairPolicyRequest.ts +0 -87
- package/src/models/ModifyClusterNodePoolRequest.ts +7 -0
- package/src/models/Nodepool.ts +515 -10
- package/src/models/Runtime.ts +14 -0
- package/src/models/Tag.ts +6 -0
- package/src/models/Taint.ts +15 -0
- package/src/models/UpdateKmsencryptionRequest.ts +38 -0
- package/src/models/UpdateKmsencryptionResponse.ts +33 -0
- package/src/models/model.ts +3 -8
package/dist/client.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export default class Client extends OpenApi {
|
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
11
|
/**
|
|
12
|
-
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
12
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. When you need to add an ECS instance as a worker node to an ACK cluster or re-add a worker node to the cluster, you can call this operation.
|
|
13
13
|
*
|
|
14
14
|
* @param request - AttachInstancesRequest
|
|
15
15
|
* @param headers - map
|
|
@@ -20,7 +20,7 @@ export default class Client extends OpenApi {
|
|
|
20
20
|
[key: string]: string;
|
|
21
21
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.AttachInstancesResponse>;
|
|
22
22
|
/**
|
|
23
|
-
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
23
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. When you need to add an ECS instance as a worker node to an ACK cluster or re-add a worker node to the cluster, you can call this operation.
|
|
24
24
|
*
|
|
25
25
|
* @param request - AttachInstancesRequest
|
|
26
26
|
* @returns AttachInstancesResponse
|
|
@@ -83,7 +83,7 @@ export default class Client extends OpenApi {
|
|
|
83
83
|
*/
|
|
84
84
|
cancelComponentUpgrade(clusterId: string, componentId: string): Promise<$_model.CancelComponentUpgradeResponse>;
|
|
85
85
|
/**
|
|
86
|
-
* You can call the CancelOperationPlan operation to cancel a pending auto O
|
|
86
|
+
* You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\\\\\\\\\&M plan.
|
|
87
87
|
*
|
|
88
88
|
* @param headers - map
|
|
89
89
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -93,7 +93,7 @@ export default class Client extends OpenApi {
|
|
|
93
93
|
[key: string]: string;
|
|
94
94
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CancelOperationPlanResponse>;
|
|
95
95
|
/**
|
|
96
|
-
* You can call the CancelOperationPlan operation to cancel a pending auto O
|
|
96
|
+
* You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\\\\\\\\\&M plan.
|
|
97
97
|
* @returns CancelOperationPlanResponse
|
|
98
98
|
*/
|
|
99
99
|
cancelOperationPlan(planId: string): Promise<$_model.CancelOperationPlanResponse>;
|
|
@@ -312,7 +312,7 @@ export default class Client extends OpenApi {
|
|
|
312
312
|
*/
|
|
313
313
|
createClusterInspectConfig(clusterId: string, request: $_model.CreateClusterInspectConfigRequest): Promise<$_model.CreateClusterInspectConfigResponse>;
|
|
314
314
|
/**
|
|
315
|
-
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O
|
|
315
|
+
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\\\\\\\&M workload.
|
|
316
316
|
*
|
|
317
317
|
* @param request - CreateClusterNodePoolRequest
|
|
318
318
|
* @param headers - map
|
|
@@ -323,7 +323,7 @@ export default class Client extends OpenApi {
|
|
|
323
323
|
[key: string]: string;
|
|
324
324
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterNodePoolResponse>;
|
|
325
325
|
/**
|
|
326
|
-
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O
|
|
326
|
+
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\\\\\\\&M workload.
|
|
327
327
|
*
|
|
328
328
|
* @param request - CreateClusterNodePoolRequest
|
|
329
329
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -488,7 +488,7 @@ export default class Client extends OpenApi {
|
|
|
488
488
|
*/
|
|
489
489
|
deleteClusterInspectConfig(clusterId: string): Promise<$_model.DeleteClusterInspectConfigResponse>;
|
|
490
490
|
/**
|
|
491
|
-
*
|
|
491
|
+
* Deletes unused node pools. Deleting a node pool terminates all pods on its nodes, which triggers pod rescheduling. Insufficient cluster resources may cause scheduling failures and business impact.
|
|
492
492
|
*
|
|
493
493
|
* @param request - DeleteClusterNodepoolRequest
|
|
494
494
|
* @param headers - map
|
|
@@ -499,7 +499,7 @@ export default class Client extends OpenApi {
|
|
|
499
499
|
[key: string]: string;
|
|
500
500
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterNodepoolResponse>;
|
|
501
501
|
/**
|
|
502
|
-
*
|
|
502
|
+
* Deletes unused node pools. Deleting a node pool terminates all pods on its nodes, which triggers pod rescheduling. Insufficient cluster resources may cause scheduling failures and business impact.
|
|
503
503
|
*
|
|
504
504
|
* @param request - DeleteClusterNodepoolRequest
|
|
505
505
|
* @returns DeleteClusterNodepoolResponse
|
|
@@ -1600,7 +1600,7 @@ export default class Client extends OpenApi {
|
|
|
1600
1600
|
*/
|
|
1601
1601
|
getUpgradeStatus(ClusterId: string): Promise<$_model.GetUpgradeStatusResponse>;
|
|
1602
1602
|
/**
|
|
1603
|
-
*
|
|
1603
|
+
* By default, RAM users or roles who aren\\"t cluster creators and haven\\"t been granted full cluster permissions have no RBAC permissions in the cluster. You can call this interface to update RBAC access permissions for RAM users/roles, including accessible resources, permission scopes, and preset roles, for enhanced security control on resources in Container Service for Kubernetes (ACK) clusters.
|
|
1604
1604
|
*
|
|
1605
1605
|
* @remarks
|
|
1606
1606
|
* If you use a Resource Access Management (RAM) account to call this operation, make sure it has permissions to modify cluster authorization information for other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
@@ -1615,7 +1615,7 @@ export default class Client extends OpenApi {
|
|
|
1615
1615
|
[key: string]: string;
|
|
1616
1616
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GrantPermissionsResponse>;
|
|
1617
1617
|
/**
|
|
1618
|
-
*
|
|
1618
|
+
* By default, RAM users or roles who aren\\"t cluster creators and haven\\"t been granted full cluster permissions have no RBAC permissions in the cluster. You can call this interface to update RBAC access permissions for RAM users/roles, including accessible resources, permission scopes, and preset roles, for enhanced security control on resources in Container Service for Kubernetes (ACK) clusters.
|
|
1619
1619
|
*
|
|
1620
1620
|
* @remarks
|
|
1621
1621
|
* If you use a Resource Access Management (RAM) account to call this operation, make sure it has permissions to modify cluster authorization information for other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
@@ -1626,7 +1626,7 @@ export default class Client extends OpenApi {
|
|
|
1626
1626
|
*/
|
|
1627
1627
|
grantPermissions(uid: string, request: $_model.GrantPermissionsRequest): Promise<$_model.GrantPermissionsResponse>;
|
|
1628
1628
|
/**
|
|
1629
|
-
*
|
|
1629
|
+
* Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
|
|
1630
1630
|
*
|
|
1631
1631
|
* @param request - InstallClusterAddonsRequest
|
|
1632
1632
|
* @param headers - map
|
|
@@ -1637,7 +1637,7 @@ export default class Client extends OpenApi {
|
|
|
1637
1637
|
[key: string]: string;
|
|
1638
1638
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.InstallClusterAddonsResponse>;
|
|
1639
1639
|
/**
|
|
1640
|
-
*
|
|
1640
|
+
* Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
|
|
1641
1641
|
*
|
|
1642
1642
|
* @param request - InstallClusterAddonsRequest
|
|
1643
1643
|
* @returns InstallClusterAddonsResponse
|
|
@@ -2406,7 +2406,7 @@ export default class Client extends OpenApi {
|
|
|
2406
2406
|
*/
|
|
2407
2407
|
syncClusterNodePool(ClusterId: string): Promise<$_model.SyncClusterNodePoolResponse>;
|
|
2408
2408
|
/**
|
|
2409
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
2409
|
+
* 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.
|
|
2410
2410
|
*
|
|
2411
2411
|
* @param request - TagResourcesRequest
|
|
2412
2412
|
* @param headers - map
|
|
@@ -2417,7 +2417,7 @@ export default class Client extends OpenApi {
|
|
|
2417
2417
|
[key: string]: string;
|
|
2418
2418
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.TagResourcesResponse>;
|
|
2419
2419
|
/**
|
|
2420
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
2420
|
+
* 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.
|
|
2421
2421
|
*
|
|
2422
2422
|
* @param request - TagResourcesRequest
|
|
2423
2423
|
* @returns TagResourcesResponse
|
|
@@ -2563,6 +2563,24 @@ export default class Client extends OpenApi {
|
|
|
2563
2563
|
* @returns UpdateK8sClusterUserConfigExpireResponse
|
|
2564
2564
|
*/
|
|
2565
2565
|
updateK8sClusterUserConfigExpire(ClusterId: string, request: $_model.UpdateK8sClusterUserConfigExpireRequest): Promise<$_model.UpdateK8sClusterUserConfigExpireResponse>;
|
|
2566
|
+
/**
|
|
2567
|
+
* 更新 Secret 落盘加密配置
|
|
2568
|
+
*
|
|
2569
|
+
* @param request - UpdateKMSEncryptionRequest
|
|
2570
|
+
* @param headers - map
|
|
2571
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2572
|
+
* @returns UpdateKMSEncryptionResponse
|
|
2573
|
+
*/
|
|
2574
|
+
updateKMSEncryptionWithOptions(ClusterId: string, request: $_model.UpdateKMSEncryptionRequest, headers: {
|
|
2575
|
+
[key: string]: string;
|
|
2576
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateKMSEncryptionResponse>;
|
|
2577
|
+
/**
|
|
2578
|
+
* 更新 Secret 落盘加密配置
|
|
2579
|
+
*
|
|
2580
|
+
* @param request - UpdateKMSEncryptionRequest
|
|
2581
|
+
* @returns UpdateKMSEncryptionResponse
|
|
2582
|
+
*/
|
|
2583
|
+
updateKMSEncryption(ClusterId: string, request: $_model.UpdateKMSEncryptionRequest): Promise<$_model.UpdateKMSEncryptionResponse>;
|
|
2566
2584
|
/**
|
|
2567
2585
|
* 更新节点组件
|
|
2568
2586
|
*
|
|
@@ -2618,7 +2636,7 @@ export default class Client extends OpenApi {
|
|
|
2618
2636
|
*/
|
|
2619
2637
|
updateTemplate(TemplateId: string, request: $_model.UpdateTemplateRequest): Promise<$_model.UpdateTemplateResponse>;
|
|
2620
2638
|
/**
|
|
2621
|
-
*
|
|
2639
|
+
* In a Container Service for Kubernetes (ACK) cluster, non-cluster creators, Resource Access Management (RAM) users, and RAM roles do not have any Role-Based Access Control (RBAC) permissions in the cluster by default. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
|
|
2622
2640
|
*
|
|
2623
2641
|
* @remarks
|
|
2624
2642
|
* *Precautions**:
|
|
@@ -2633,7 +2651,7 @@ export default class Client extends OpenApi {
|
|
|
2633
2651
|
[key: string]: string;
|
|
2634
2652
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateUserPermissionsResponse>;
|
|
2635
2653
|
/**
|
|
2636
|
-
*
|
|
2654
|
+
* In a Container Service for Kubernetes (ACK) cluster, non-cluster creators, Resource Access Management (RAM) users, and RAM roles do not have any Role-Based Access Control (RBAC) permissions in the cluster by default. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
|
|
2637
2655
|
*
|
|
2638
2656
|
* @remarks
|
|
2639
2657
|
* *Precautions**:
|
|
@@ -2676,7 +2694,7 @@ export default class Client extends OpenApi {
|
|
|
2676
2694
|
*/
|
|
2677
2695
|
upgradeCluster(ClusterId: string, request: $_model.UpgradeClusterRequest): Promise<$_model.UpgradeClusterResponse>;
|
|
2678
2696
|
/**
|
|
2679
|
-
* Updates cluster
|
|
2697
|
+
* Updates cluster add-ons to newer versions for enhanced functionality.
|
|
2680
2698
|
*
|
|
2681
2699
|
* @param request - UpgradeClusterAddonsRequest
|
|
2682
2700
|
* @param headers - map
|
|
@@ -2687,7 +2705,7 @@ export default class Client extends OpenApi {
|
|
|
2687
2705
|
[key: string]: string;
|
|
2688
2706
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeClusterAddonsResponse>;
|
|
2689
2707
|
/**
|
|
2690
|
-
* Updates cluster
|
|
2708
|
+
* Updates cluster add-ons to newer versions for enhanced functionality.
|
|
2691
2709
|
*
|
|
2692
2710
|
* @param request - UpgradeClusterAddonsRequest
|
|
2693
2711
|
* @returns UpgradeClusterAddonsResponse
|
package/dist/client.js
CHANGED
|
@@ -94,7 +94,7 @@ class Client extends openapi_core_1.default {
|
|
|
94
94
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
|
-
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
97
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. When you need to add an ECS instance as a worker node to an ACK cluster or re-add a worker node to the cluster, you can call this operation.
|
|
98
98
|
*
|
|
99
99
|
* @param request - AttachInstancesRequest
|
|
100
100
|
* @param headers - map
|
|
@@ -161,7 +161,7 @@ class Client extends openapi_core_1.default {
|
|
|
161
161
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AttachInstancesResponse({}));
|
|
162
162
|
}
|
|
163
163
|
/**
|
|
164
|
-
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
164
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. When you need to add an ECS instance as a worker node to an ACK cluster or re-add a worker node to the cluster, you can call this operation.
|
|
165
165
|
*
|
|
166
166
|
* @param request - AttachInstancesRequest
|
|
167
167
|
* @returns AttachInstancesResponse
|
|
@@ -299,7 +299,7 @@ class Client extends openapi_core_1.default {
|
|
|
299
299
|
return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
|
|
300
300
|
}
|
|
301
301
|
/**
|
|
302
|
-
* You can call the CancelOperationPlan operation to cancel a pending auto O
|
|
302
|
+
* You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\\\\\\\\\&M plan.
|
|
303
303
|
*
|
|
304
304
|
* @param headers - map
|
|
305
305
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -323,7 +323,7 @@ class Client extends openapi_core_1.default {
|
|
|
323
323
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelOperationPlanResponse({}));
|
|
324
324
|
}
|
|
325
325
|
/**
|
|
326
|
-
* You can call the CancelOperationPlan operation to cancel a pending auto O
|
|
326
|
+
* You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\\\\\\\\\&M plan.
|
|
327
327
|
* @returns CancelOperationPlanResponse
|
|
328
328
|
*/
|
|
329
329
|
async cancelOperationPlan(planId) {
|
|
@@ -1151,7 +1151,7 @@ class Client extends openapi_core_1.default {
|
|
|
1151
1151
|
return await this.createClusterInspectConfigWithOptions(clusterId, request, headers, runtime);
|
|
1152
1152
|
}
|
|
1153
1153
|
/**
|
|
1154
|
-
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O
|
|
1154
|
+
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\\\\\\\&M workload.
|
|
1155
1155
|
*
|
|
1156
1156
|
* @param request - CreateClusterNodePoolRequest
|
|
1157
1157
|
* @param headers - map
|
|
@@ -1227,7 +1227,7 @@ class Client extends openapi_core_1.default {
|
|
|
1227
1227
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterNodePoolResponse({}));
|
|
1228
1228
|
}
|
|
1229
1229
|
/**
|
|
1230
|
-
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O
|
|
1230
|
+
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\\\\\\\&M workload.
|
|
1231
1231
|
*
|
|
1232
1232
|
* @param request - CreateClusterNodePoolRequest
|
|
1233
1233
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -1634,7 +1634,7 @@ class Client extends openapi_core_1.default {
|
|
|
1634
1634
|
return await this.deleteClusterInspectConfigWithOptions(clusterId, headers, runtime);
|
|
1635
1635
|
}
|
|
1636
1636
|
/**
|
|
1637
|
-
*
|
|
1637
|
+
* Deletes unused node pools. Deleting a node pool terminates all pods on its nodes, which triggers pod rescheduling. Insufficient cluster resources may cause scheduling failures and business impact.
|
|
1638
1638
|
*
|
|
1639
1639
|
* @param request - DeleteClusterNodepoolRequest
|
|
1640
1640
|
* @param headers - map
|
|
@@ -1665,7 +1665,7 @@ class Client extends openapi_core_1.default {
|
|
|
1665
1665
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterNodepoolResponse({}));
|
|
1666
1666
|
}
|
|
1667
1667
|
/**
|
|
1668
|
-
*
|
|
1668
|
+
* Deletes unused node pools. Deleting a node pool terminates all pods on its nodes, which triggers pod rescheduling. Insufficient cluster resources may cause scheduling failures and business impact.
|
|
1669
1669
|
*
|
|
1670
1670
|
* @param request - DeleteClusterNodepoolRequest
|
|
1671
1671
|
* @returns DeleteClusterNodepoolResponse
|
|
@@ -4296,7 +4296,7 @@ class Client extends openapi_core_1.default {
|
|
|
4296
4296
|
return await this.getUpgradeStatusWithOptions(ClusterId, headers, runtime);
|
|
4297
4297
|
}
|
|
4298
4298
|
/**
|
|
4299
|
-
*
|
|
4299
|
+
* By default, RAM users or roles who aren\\"t cluster creators and haven\\"t been granted full cluster permissions have no RBAC permissions in the cluster. You can call this interface to update RBAC access permissions for RAM users/roles, including accessible resources, permission scopes, and preset roles, for enhanced security control on resources in Container Service for Kubernetes (ACK) clusters.
|
|
4300
4300
|
*
|
|
4301
4301
|
* @remarks
|
|
4302
4302
|
* If you use a Resource Access Management (RAM) account to call this operation, make sure it has permissions to modify cluster authorization information for other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
@@ -4327,7 +4327,7 @@ class Client extends openapi_core_1.default {
|
|
|
4327
4327
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GrantPermissionsResponse({}));
|
|
4328
4328
|
}
|
|
4329
4329
|
/**
|
|
4330
|
-
*
|
|
4330
|
+
* By default, RAM users or roles who aren\\"t cluster creators and haven\\"t been granted full cluster permissions have no RBAC permissions in the cluster. You can call this interface to update RBAC access permissions for RAM users/roles, including accessible resources, permission scopes, and preset roles, for enhanced security control on resources in Container Service for Kubernetes (ACK) clusters.
|
|
4331
4331
|
*
|
|
4332
4332
|
* @remarks
|
|
4333
4333
|
* If you use a Resource Access Management (RAM) account to call this operation, make sure it has permissions to modify cluster authorization information for other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
@@ -4342,7 +4342,7 @@ class Client extends openapi_core_1.default {
|
|
|
4342
4342
|
return await this.grantPermissionsWithOptions(uid, request, headers, runtime);
|
|
4343
4343
|
}
|
|
4344
4344
|
/**
|
|
4345
|
-
*
|
|
4345
|
+
* Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
|
|
4346
4346
|
*
|
|
4347
4347
|
* @param request - InstallClusterAddonsRequest
|
|
4348
4348
|
* @param headers - map
|
|
@@ -4369,7 +4369,7 @@ class Client extends openapi_core_1.default {
|
|
|
4369
4369
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallClusterAddonsResponse({}));
|
|
4370
4370
|
}
|
|
4371
4371
|
/**
|
|
4372
|
-
*
|
|
4372
|
+
* Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
|
|
4373
4373
|
*
|
|
4374
4374
|
* @param request - InstallClusterAddonsRequest
|
|
4375
4375
|
* @returns InstallClusterAddonsResponse
|
|
@@ -6278,7 +6278,7 @@ class Client extends openapi_core_1.default {
|
|
|
6278
6278
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
6279
6279
|
}
|
|
6280
6280
|
/**
|
|
6281
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
6281
|
+
* 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.
|
|
6282
6282
|
*
|
|
6283
6283
|
* @param request - TagResourcesRequest
|
|
6284
6284
|
* @param headers - map
|
|
@@ -6318,7 +6318,7 @@ class Client extends openapi_core_1.default {
|
|
|
6318
6318
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
|
|
6319
6319
|
}
|
|
6320
6320
|
/**
|
|
6321
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
6321
|
+
* 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.
|
|
6322
6322
|
*
|
|
6323
6323
|
* @param request - TagResourcesRequest
|
|
6324
6324
|
* @returns TagResourcesResponse
|
|
@@ -6682,6 +6682,51 @@ class Client extends openapi_core_1.default {
|
|
|
6682
6682
|
let headers = {};
|
|
6683
6683
|
return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
|
|
6684
6684
|
}
|
|
6685
|
+
/**
|
|
6686
|
+
* 更新 Secret 落盘加密配置
|
|
6687
|
+
*
|
|
6688
|
+
* @param request - UpdateKMSEncryptionRequest
|
|
6689
|
+
* @param headers - map
|
|
6690
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6691
|
+
* @returns UpdateKMSEncryptionResponse
|
|
6692
|
+
*/
|
|
6693
|
+
async updateKMSEncryptionWithOptions(ClusterId, request, headers, runtime) {
|
|
6694
|
+
request.validate();
|
|
6695
|
+
let body = {};
|
|
6696
|
+
if (!$dara.isNull(request.disableEncryption)) {
|
|
6697
|
+
body["disable_encryption"] = request.disableEncryption;
|
|
6698
|
+
}
|
|
6699
|
+
if (!$dara.isNull(request.kmsKeyId)) {
|
|
6700
|
+
body["kms_key_id"] = request.kmsKeyId;
|
|
6701
|
+
}
|
|
6702
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6703
|
+
headers: headers,
|
|
6704
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6705
|
+
});
|
|
6706
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6707
|
+
action: "UpdateKMSEncryption",
|
|
6708
|
+
version: "2015-12-15",
|
|
6709
|
+
protocol: "HTTPS",
|
|
6710
|
+
pathname: `/clusters/${$dara.URL.percentEncode(ClusterId)}/kms`,
|
|
6711
|
+
method: "PUT",
|
|
6712
|
+
authType: "AK",
|
|
6713
|
+
style: "ROA",
|
|
6714
|
+
reqBodyType: "json",
|
|
6715
|
+
bodyType: "none",
|
|
6716
|
+
});
|
|
6717
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKMSEncryptionResponse({}));
|
|
6718
|
+
}
|
|
6719
|
+
/**
|
|
6720
|
+
* 更新 Secret 落盘加密配置
|
|
6721
|
+
*
|
|
6722
|
+
* @param request - UpdateKMSEncryptionRequest
|
|
6723
|
+
* @returns UpdateKMSEncryptionResponse
|
|
6724
|
+
*/
|
|
6725
|
+
async updateKMSEncryption(ClusterId, request) {
|
|
6726
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6727
|
+
let headers = {};
|
|
6728
|
+
return await this.updateKMSEncryptionWithOptions(ClusterId, request, headers, runtime);
|
|
6729
|
+
}
|
|
6685
6730
|
/**
|
|
6686
6731
|
* 更新节点组件
|
|
6687
6732
|
*
|
|
@@ -6845,7 +6890,7 @@ class Client extends openapi_core_1.default {
|
|
|
6845
6890
|
return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
|
|
6846
6891
|
}
|
|
6847
6892
|
/**
|
|
6848
|
-
*
|
|
6893
|
+
* In a Container Service for Kubernetes (ACK) cluster, non-cluster creators, Resource Access Management (RAM) users, and RAM roles do not have any Role-Based Access Control (RBAC) permissions in the cluster by default. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
|
|
6849
6894
|
*
|
|
6850
6895
|
* @remarks
|
|
6851
6896
|
* *Precautions**:
|
|
@@ -6881,7 +6926,7 @@ class Client extends openapi_core_1.default {
|
|
|
6881
6926
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateUserPermissionsResponse({}));
|
|
6882
6927
|
}
|
|
6883
6928
|
/**
|
|
6884
|
-
*
|
|
6929
|
+
* In a Container Service for Kubernetes (ACK) cluster, non-cluster creators, Resource Access Management (RAM) users, and RAM roles do not have any Role-Based Access Control (RBAC) permissions in the cluster by default. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
|
|
6885
6930
|
*
|
|
6886
6931
|
* @remarks
|
|
6887
6932
|
* *Precautions**:
|
|
@@ -6964,7 +7009,7 @@ class Client extends openapi_core_1.default {
|
|
|
6964
7009
|
return await this.upgradeClusterWithOptions(ClusterId, request, headers, runtime);
|
|
6965
7010
|
}
|
|
6966
7011
|
/**
|
|
6967
|
-
* Updates cluster
|
|
7012
|
+
* Updates cluster add-ons to newer versions for enhanced functionality.
|
|
6968
7013
|
*
|
|
6969
7014
|
* @param request - UpgradeClusterAddonsRequest
|
|
6970
7015
|
* @param headers - map
|
|
@@ -6991,7 +7036,7 @@ class Client extends openapi_core_1.default {
|
|
|
6991
7036
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterAddonsResponse({}));
|
|
6992
7037
|
}
|
|
6993
7038
|
/**
|
|
6994
|
-
* Updates cluster
|
|
7039
|
+
* Updates cluster add-ons to newer versions for enhanced functionality.
|
|
6995
7040
|
*
|
|
6996
7041
|
* @param request - UpgradeClusterAddonsRequest
|
|
6997
7042
|
* @returns UpgradeClusterAddonsResponse
|