@alicloud/cs20151215 7.2.3 → 7.2.4
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 +14 -14
- package/dist/client.js +14 -14
- package/dist/models/CreateClusterNodePoolRequest.d.ts +222 -234
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +21 -11
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +4 -4
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +18 -18
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +19 -9
- package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/Nodepool.d.ts +152 -202
- package/dist/models/Nodepool.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -14
- package/src/models/CreateClusterNodePoolRequest.ts +224 -234
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +23 -11
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +4 -4
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +18 -18
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +21 -9
- package/src/models/Nodepool.ts +152 -202
package/dist/client.d.ts
CHANGED
|
@@ -322,7 +322,7 @@ export default class Client extends OpenApi {
|
|
|
322
322
|
*/
|
|
323
323
|
createClusterInspectConfig(clusterId: string, request: $_model.CreateClusterInspectConfigRequest): Promise<$_model.CreateClusterInspectConfigResponse>;
|
|
324
324
|
/**
|
|
325
|
-
* Creates a node pool
|
|
325
|
+
* Creates a node pool. A node pool is a logical collection of nodes with the same property, which allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can further use the automated O&M features of node pools, such as automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions, to reduce O&M costs. You can invoke CreateClusterNodePool to create a node pool for a cluster.
|
|
326
326
|
*
|
|
327
327
|
* @param request - CreateClusterNodePoolRequest
|
|
328
328
|
* @param headers - map
|
|
@@ -333,7 +333,7 @@ export default class Client extends OpenApi {
|
|
|
333
333
|
[key: string]: string;
|
|
334
334
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterNodePoolResponse>;
|
|
335
335
|
/**
|
|
336
|
-
* Creates a node pool
|
|
336
|
+
* Creates a node pool. A node pool is a logical collection of nodes with the same property, which allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can further use the automated O&M features of node pools, such as automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions, to reduce O&M costs. You can invoke CreateClusterNodePool to create a node pool for a cluster.
|
|
337
337
|
*
|
|
338
338
|
* @param request - CreateClusterNodePoolRequest
|
|
339
339
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -1014,11 +1014,11 @@ export default class Client extends OpenApi {
|
|
|
1014
1014
|
*/
|
|
1015
1015
|
describeClusterTasks(clusterId: string, request: $_model.DescribeClusterTasksRequest): Promise<$_model.DescribeClusterTasksResponse>;
|
|
1016
1016
|
/**
|
|
1017
|
-
* Retrieves the kubeconfig
|
|
1017
|
+
* Retrieves the kubeconfig of a cluster.
|
|
1018
1018
|
*
|
|
1019
1019
|
* @remarks
|
|
1020
|
-
* - The default validity period of
|
|
1021
|
-
* - Properly manage the kubeconfig credentials
|
|
1020
|
+
* - The default validity period of a certificate issued for a kubeconfig file is three years. Within 180 days before expiration, you can obtain a refreshed kubeconfig file with rotated certificates through the Container Service for Kubernetes console or by calling the API operation to retrieve the cluster kubeconfig. The new kubeconfig certificate remains valid for three years. The old kubeconfig credentials remain valid until the certificate expires. Obtain the rotated credentials promptly based on the kubeconfig expiration time displayed in the console or returned by the API operation.
|
|
1021
|
+
* - Properly manage the kubeconfig credentials for cluster management and revoke them promptly when they are no longer needed to prevent security risks such as data leaks caused by kubeconfig exposure.
|
|
1022
1022
|
*
|
|
1023
1023
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
1024
1024
|
* @param headers - map
|
|
@@ -1029,11 +1029,11 @@ export default class Client extends OpenApi {
|
|
|
1029
1029
|
[key: string]: string;
|
|
1030
1030
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterUserKubeconfigResponse>;
|
|
1031
1031
|
/**
|
|
1032
|
-
* Retrieves the kubeconfig
|
|
1032
|
+
* Retrieves the kubeconfig of a cluster.
|
|
1033
1033
|
*
|
|
1034
1034
|
* @remarks
|
|
1035
|
-
* - The default validity period of
|
|
1036
|
-
* - Properly manage the kubeconfig credentials
|
|
1035
|
+
* - The default validity period of a certificate issued for a kubeconfig file is three years. Within 180 days before expiration, you can obtain a refreshed kubeconfig file with rotated certificates through the Container Service for Kubernetes console or by calling the API operation to retrieve the cluster kubeconfig. The new kubeconfig certificate remains valid for three years. The old kubeconfig credentials remain valid until the certificate expires. Obtain the rotated credentials promptly based on the kubeconfig expiration time displayed in the console or returned by the API operation.
|
|
1036
|
+
* - Properly manage the kubeconfig credentials for cluster management and revoke them promptly when they are no longer needed to prevent security risks such as data leaks caused by kubeconfig exposure.
|
|
1037
1037
|
*
|
|
1038
1038
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
1039
1039
|
* @returns DescribeClusterUserKubeconfigResponse
|
|
@@ -1265,7 +1265,7 @@ export default class Client extends OpenApi {
|
|
|
1265
1265
|
*/
|
|
1266
1266
|
describePolicyDetails(policyName: string): Promise<$_model.DescribePolicyDetailsResponse>;
|
|
1267
1267
|
/**
|
|
1268
|
-
* Queries the details of policy governance
|
|
1268
|
+
* Queries the details of policy governance for a specified ACK cluster. Container security policies for ACK clusters provide a comprehensive set of built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can use this operation to retrieve information such as the counts of enabled policies at different severity levels, policy governance audit logs, and interception and alerting statistics.
|
|
1269
1269
|
*
|
|
1270
1270
|
* @param headers - map
|
|
1271
1271
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1275,7 +1275,7 @@ export default class Client extends OpenApi {
|
|
|
1275
1275
|
[key: string]: string;
|
|
1276
1276
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolicyGovernanceInClusterResponse>;
|
|
1277
1277
|
/**
|
|
1278
|
-
* Queries the details of policy governance
|
|
1278
|
+
* Queries the details of policy governance for a specified ACK cluster. Container security policies for ACK clusters provide a comprehensive set of built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can use this operation to retrieve information such as the counts of enabled policies at different severity levels, policy governance audit logs, and interception and alerting statistics.
|
|
1279
1279
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
1280
1280
|
*/
|
|
1281
1281
|
describePolicyGovernanceInCluster(clusterId: string): Promise<$_model.DescribePolicyGovernanceInClusterResponse>;
|
|
@@ -1758,10 +1758,10 @@ export default class Client extends OpenApi {
|
|
|
1758
1758
|
*/
|
|
1759
1759
|
listAddons(request: $_model.ListAddonsRequest): Promise<$_model.ListAddonsResponse>;
|
|
1760
1760
|
/**
|
|
1761
|
-
* Retrieves
|
|
1761
|
+
* Retrieves a list of self-healing rules.
|
|
1762
1762
|
*
|
|
1763
1763
|
* @remarks
|
|
1764
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
1764
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
1765
1765
|
*
|
|
1766
1766
|
* @param headers - map
|
|
1767
1767
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1771,10 +1771,10 @@ export default class Client extends OpenApi {
|
|
|
1771
1771
|
[key: string]: string;
|
|
1772
1772
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAutoRepairPoliciesResponse>;
|
|
1773
1773
|
/**
|
|
1774
|
-
* Retrieves
|
|
1774
|
+
* Retrieves a list of self-healing rules.
|
|
1775
1775
|
*
|
|
1776
1776
|
* @remarks
|
|
1777
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
1777
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
1778
1778
|
* @returns ListAutoRepairPoliciesResponse
|
|
1779
1779
|
*/
|
|
1780
1780
|
listAutoRepairPolicies(clusterId: string): Promise<$_model.ListAutoRepairPoliciesResponse>;
|
package/dist/client.js
CHANGED
|
@@ -1164,7 +1164,7 @@ class Client extends openapi_core_1.default {
|
|
|
1164
1164
|
return await this.createClusterInspectConfigWithOptions(clusterId, request, headers, runtime);
|
|
1165
1165
|
}
|
|
1166
1166
|
/**
|
|
1167
|
-
* Creates a node pool
|
|
1167
|
+
* Creates a node pool. A node pool is a logical collection of nodes with the same property, which allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can further use the automated O&M features of node pools, such as automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions, to reduce O&M costs. You can invoke CreateClusterNodePool to create a node pool for a cluster.
|
|
1168
1168
|
*
|
|
1169
1169
|
* @param request - CreateClusterNodePoolRequest
|
|
1170
1170
|
* @param headers - map
|
|
@@ -1240,7 +1240,7 @@ class Client extends openapi_core_1.default {
|
|
|
1240
1240
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterNodePoolResponse({}));
|
|
1241
1241
|
}
|
|
1242
1242
|
/**
|
|
1243
|
-
* Creates a node pool
|
|
1243
|
+
* Creates a node pool. A node pool is a logical collection of nodes with the same property, which allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can further use the automated O&M features of node pools, such as automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions, to reduce O&M costs. You can invoke CreateClusterNodePool to create a node pool for a cluster.
|
|
1244
1244
|
*
|
|
1245
1245
|
* @param request - CreateClusterNodePoolRequest
|
|
1246
1246
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -2867,11 +2867,11 @@ class Client extends openapi_core_1.default {
|
|
|
2867
2867
|
return await this.describeClusterTasksWithOptions(clusterId, request, headers, runtime);
|
|
2868
2868
|
}
|
|
2869
2869
|
/**
|
|
2870
|
-
* Retrieves the kubeconfig
|
|
2870
|
+
* Retrieves the kubeconfig of a cluster.
|
|
2871
2871
|
*
|
|
2872
2872
|
* @remarks
|
|
2873
|
-
* - The default validity period of
|
|
2874
|
-
* - Properly manage the kubeconfig credentials
|
|
2873
|
+
* - The default validity period of a certificate issued for a kubeconfig file is three years. Within 180 days before expiration, you can obtain a refreshed kubeconfig file with rotated certificates through the Container Service for Kubernetes console or by calling the API operation to retrieve the cluster kubeconfig. The new kubeconfig certificate remains valid for three years. The old kubeconfig credentials remain valid until the certificate expires. Obtain the rotated credentials promptly based on the kubeconfig expiration time displayed in the console or returned by the API operation.
|
|
2874
|
+
* - Properly manage the kubeconfig credentials for cluster management and revoke them promptly when they are no longer needed to prevent security risks such as data leaks caused by kubeconfig exposure.
|
|
2875
2875
|
*
|
|
2876
2876
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
2877
2877
|
* @param headers - map
|
|
@@ -2905,11 +2905,11 @@ class Client extends openapi_core_1.default {
|
|
|
2905
2905
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterUserKubeconfigResponse({}));
|
|
2906
2906
|
}
|
|
2907
2907
|
/**
|
|
2908
|
-
* Retrieves the kubeconfig
|
|
2908
|
+
* Retrieves the kubeconfig of a cluster.
|
|
2909
2909
|
*
|
|
2910
2910
|
* @remarks
|
|
2911
|
-
* - The default validity period of
|
|
2912
|
-
* - Properly manage the kubeconfig credentials
|
|
2911
|
+
* - The default validity period of a certificate issued for a kubeconfig file is three years. Within 180 days before expiration, you can obtain a refreshed kubeconfig file with rotated certificates through the Container Service for Kubernetes console or by calling the API operation to retrieve the cluster kubeconfig. The new kubeconfig certificate remains valid for three years. The old kubeconfig credentials remain valid until the certificate expires. Obtain the rotated credentials promptly based on the kubeconfig expiration time displayed in the console or returned by the API operation.
|
|
2912
|
+
* - Properly manage the kubeconfig credentials for cluster management and revoke them promptly when they are no longer needed to prevent security risks such as data leaks caused by kubeconfig exposure.
|
|
2913
2913
|
*
|
|
2914
2914
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
2915
2915
|
* @returns DescribeClusterUserKubeconfigResponse
|
|
@@ -3514,7 +3514,7 @@ class Client extends openapi_core_1.default {
|
|
|
3514
3514
|
return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
|
|
3515
3515
|
}
|
|
3516
3516
|
/**
|
|
3517
|
-
* Queries the details of policy governance
|
|
3517
|
+
* Queries the details of policy governance for a specified ACK cluster. Container security policies for ACK clusters provide a comprehensive set of built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can use this operation to retrieve information such as the counts of enabled policies at different severity levels, policy governance audit logs, and interception and alerting statistics.
|
|
3518
3518
|
*
|
|
3519
3519
|
* @param headers - map
|
|
3520
3520
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3538,7 +3538,7 @@ class Client extends openapi_core_1.default {
|
|
|
3538
3538
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolicyGovernanceInClusterResponse({}));
|
|
3539
3539
|
}
|
|
3540
3540
|
/**
|
|
3541
|
-
* Queries the details of policy governance
|
|
3541
|
+
* Queries the details of policy governance for a specified ACK cluster. Container security policies for ACK clusters provide a comprehensive set of built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can use this operation to retrieve information such as the counts of enabled policies at different severity levels, policy governance audit logs, and interception and alerting statistics.
|
|
3542
3542
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
3543
3543
|
*/
|
|
3544
3544
|
async describePolicyGovernanceInCluster(clusterId) {
|
|
@@ -4670,10 +4670,10 @@ class Client extends openapi_core_1.default {
|
|
|
4670
4670
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
4671
4671
|
}
|
|
4672
4672
|
/**
|
|
4673
|
-
* Retrieves
|
|
4673
|
+
* Retrieves a list of self-healing rules.
|
|
4674
4674
|
*
|
|
4675
4675
|
* @remarks
|
|
4676
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
4676
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
4677
4677
|
*
|
|
4678
4678
|
* @param headers - map
|
|
4679
4679
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4697,10 +4697,10 @@ class Client extends openapi_core_1.default {
|
|
|
4697
4697
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAutoRepairPoliciesResponse({}));
|
|
4698
4698
|
}
|
|
4699
4699
|
/**
|
|
4700
|
-
* Retrieves
|
|
4700
|
+
* Retrieves a list of self-healing rules.
|
|
4701
4701
|
*
|
|
4702
4702
|
* @remarks
|
|
4703
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
4703
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
4704
4704
|
* @returns ListAutoRepairPoliciesResponse
|
|
4705
4705
|
*/
|
|
4706
4706
|
async listAutoRepairPolicies(clusterId) {
|