@alicloud/cs20151215 4.7.5 → 4.7.7
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 +244 -66
- package/dist/client.js +30 -8
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +252 -66
package/dist/client.js
CHANGED
|
@@ -7676,6 +7676,7 @@ class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
7676
7676
|
cpuPolicy: 'cpu_policy',
|
|
7677
7677
|
labels: 'labels',
|
|
7678
7678
|
nodeNameMode: 'node_name_mode',
|
|
7679
|
+
preUserData: 'pre_user_data',
|
|
7679
7680
|
runtime: 'runtime',
|
|
7680
7681
|
runtimeVersion: 'runtime_version',
|
|
7681
7682
|
taints: 'taints',
|
|
@@ -7689,6 +7690,7 @@ class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
7689
7690
|
cpuPolicy: 'string',
|
|
7690
7691
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
7691
7692
|
nodeNameMode: 'string',
|
|
7693
|
+
preUserData: 'string',
|
|
7692
7694
|
runtime: 'string',
|
|
7693
7695
|
runtimeVersion: 'string',
|
|
7694
7696
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -8298,6 +8300,7 @@ class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $tea.Mod
|
|
|
8298
8300
|
cpuPolicy: 'cpu_policy',
|
|
8299
8301
|
labels: 'labels',
|
|
8300
8302
|
nodeNameMode: 'node_name_mode',
|
|
8303
|
+
preUserData: 'pre_user_data',
|
|
8301
8304
|
runtime: 'runtime',
|
|
8302
8305
|
runtimeVersion: 'runtime_version',
|
|
8303
8306
|
taints: 'taints',
|
|
@@ -8311,6 +8314,7 @@ class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $tea.Mod
|
|
|
8311
8314
|
cpuPolicy: 'string',
|
|
8312
8315
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
8313
8316
|
nodeNameMode: 'string',
|
|
8317
|
+
preUserData: 'string',
|
|
8314
8318
|
runtime: 'string',
|
|
8315
8319
|
runtimeVersion: 'string',
|
|
8316
8320
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -8722,6 +8726,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $tea
|
|
|
8722
8726
|
cpuPolicy: 'cpu_policy',
|
|
8723
8727
|
labels: 'labels',
|
|
8724
8728
|
nodeNameMode: 'node_name_mode',
|
|
8729
|
+
preUserData: 'pre_user_data',
|
|
8725
8730
|
runtime: 'runtime',
|
|
8726
8731
|
runtimeVersion: 'runtime_version',
|
|
8727
8732
|
taints: 'taints',
|
|
@@ -8735,6 +8740,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $tea
|
|
|
8735
8740
|
cpuPolicy: 'string',
|
|
8736
8741
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
8737
8742
|
nodeNameMode: 'string',
|
|
8743
|
+
preUserData: 'string',
|
|
8738
8744
|
runtime: 'string',
|
|
8739
8745
|
runtimeVersion: 'string',
|
|
8740
8746
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -10915,6 +10921,7 @@ class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
10915
10921
|
cmsEnabled: 'cms_enabled',
|
|
10916
10922
|
cpuPolicy: 'cpu_policy',
|
|
10917
10923
|
labels: 'labels',
|
|
10924
|
+
preUserData: 'pre_user_data',
|
|
10918
10925
|
runtime: 'runtime',
|
|
10919
10926
|
runtimeVersion: 'runtime_version',
|
|
10920
10927
|
taints: 'taints',
|
|
@@ -10927,6 +10934,7 @@ class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
10927
10934
|
cmsEnabled: 'boolean',
|
|
10928
10935
|
cpuPolicy: 'string',
|
|
10929
10936
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
10937
|
+
preUserData: 'string',
|
|
10930
10938
|
runtime: 'string',
|
|
10931
10939
|
runtimeVersion: 'string',
|
|
10932
10940
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -16121,9 +16129,9 @@ class Client extends openapi_client_1.default {
|
|
|
16121
16129
|
* Modifies the configuration of a cluster component. This operation may affect your businesses. We recommend that you assess the impact, back up data, and perform the operation during off-peak hours.
|
|
16122
16130
|
*
|
|
16123
16131
|
* @remarks
|
|
16124
|
-
* You can
|
|
16125
|
-
* * To
|
|
16126
|
-
* *
|
|
16132
|
+
* You can call this API operation to modify the component parameters of an ACK Basic cluster or the control plane parameters of an ACK Pro cluster:
|
|
16133
|
+
* * To view the component parameters of an ACK Basic cluster, call the DescribeClusterAddonMetadata API operation. For more information, see [Query the metadata of a cluster component](https://help.aliyun.com/document_detail/2667944.html).
|
|
16134
|
+
* * To view the control plane parameters of an ACK Pro cluster, see [Customize the control plane parameters of an ACK Pro cluster](https://help.aliyun.com/document_detail/199588.html).
|
|
16127
16135
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
16128
16136
|
*
|
|
16129
16137
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -16158,9 +16166,9 @@ class Client extends openapi_client_1.default {
|
|
|
16158
16166
|
* Modifies the configuration of a cluster component. This operation may affect your businesses. We recommend that you assess the impact, back up data, and perform the operation during off-peak hours.
|
|
16159
16167
|
*
|
|
16160
16168
|
* @remarks
|
|
16161
|
-
* You can
|
|
16162
|
-
* * To
|
|
16163
|
-
* *
|
|
16169
|
+
* You can call this API operation to modify the component parameters of an ACK Basic cluster or the control plane parameters of an ACK Pro cluster:
|
|
16170
|
+
* * To view the component parameters of an ACK Basic cluster, call the DescribeClusterAddonMetadata API operation. For more information, see [Query the metadata of a cluster component](https://help.aliyun.com/document_detail/2667944.html).
|
|
16171
|
+
* * To view the control plane parameters of an ACK Pro cluster, see [Customize the control plane parameters of an ACK Pro cluster](https://help.aliyun.com/document_detail/199588.html).
|
|
16164
16172
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
16165
16173
|
*
|
|
16166
16174
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -17254,7 +17262,7 @@ class Client extends openapi_client_1.default {
|
|
|
17254
17262
|
return await this.scaleOutClusterWithOptions(ClusterId, request, headers, runtime);
|
|
17255
17263
|
}
|
|
17256
17264
|
/**
|
|
17257
|
-
*
|
|
17265
|
+
* Scans for vulnerabilities in a Container Service for Kubernetes (ACK) cluster, including workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows vulnerabilities. We recommend that you scan your cluster on a regular basis to ensure cluster security.
|
|
17258
17266
|
*
|
|
17259
17267
|
* @param headers - map
|
|
17260
17268
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17278,7 +17286,7 @@ class Client extends openapi_client_1.default {
|
|
|
17278
17286
|
return $tea.cast(await this.callApi(params, req, runtime), new ScanClusterVulsResponse({}));
|
|
17279
17287
|
}
|
|
17280
17288
|
/**
|
|
17281
|
-
*
|
|
17289
|
+
* Scans for vulnerabilities in a Container Service for Kubernetes (ACK) cluster, including workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows vulnerabilities. We recommend that you scan your cluster on a regular basis to ensure cluster security.
|
|
17282
17290
|
* @returns ScanClusterVulsResponse
|
|
17283
17291
|
*/
|
|
17284
17292
|
async scanClusterVuls(clusterId) {
|
|
@@ -18023,6 +18031,13 @@ class Client extends openapi_client_1.default {
|
|
|
18023
18031
|
/**
|
|
18024
18032
|
* You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
18025
18033
|
*
|
|
18034
|
+
* @remarks
|
|
18035
|
+
* After successfully calling the UpgradeCluster interface, this API returns the `task_id` of the upgrade task. You can manage this operation task by calling the following task APIs:
|
|
18036
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
18037
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
18038
|
+
* - [Call ResumeTask to resume a task that has been paused](https://help.aliyun.com/document_detail/2667987.html)
|
|
18039
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
18040
|
+
*
|
|
18026
18041
|
* @param request - UpgradeClusterRequest
|
|
18027
18042
|
* @param headers - map
|
|
18028
18043
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18066,6 +18081,13 @@ class Client extends openapi_client_1.default {
|
|
|
18066
18081
|
/**
|
|
18067
18082
|
* You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
18068
18083
|
*
|
|
18084
|
+
* @remarks
|
|
18085
|
+
* After successfully calling the UpgradeCluster interface, this API returns the `task_id` of the upgrade task. You can manage this operation task by calling the following task APIs:
|
|
18086
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
18087
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
18088
|
+
* - [Call ResumeTask to resume a task that has been paused](https://help.aliyun.com/document_detail/2667987.html)
|
|
18089
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
18090
|
+
*
|
|
18069
18091
|
* @param request - UpgradeClusterRequest
|
|
18070
18092
|
* @returns UpgradeClusterResponse
|
|
18071
18093
|
*/
|