@alicloud/cs20151215 3.3.0 → 3.3.1

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 CHANGED
@@ -24,6 +24,8 @@ export declare class DataDisk extends $tea.Model {
24
24
  autoSnapshotPolicyId?: string;
25
25
  burstingEnabled?: boolean;
26
26
  category?: string;
27
+ device?: string;
28
+ diskName?: string;
27
29
  encrypted?: string;
28
30
  fileSystem?: string;
29
31
  kmsKeyId?: string;
@@ -31,6 +33,7 @@ export declare class DataDisk extends $tea.Model {
31
33
  performanceLevel?: string;
32
34
  provisionedIops?: number;
33
35
  size?: number;
36
+ snapshotId?: string;
34
37
  static names(): {
35
38
  [key: string]: string;
36
39
  };
@@ -7014,9 +7017,35 @@ export default class Client extends OpenApi {
7014
7017
  [key: string]: string;
7015
7018
  }, runtime: $Util.RuntimeOptions): Promise<CreateAutoscalingConfigResponse>;
7016
7019
  createAutoscalingConfig(ClusterId: string, request: CreateAutoscalingConfigRequest): Promise<CreateAutoscalingConfigResponse>;
7020
+ /**
7021
+ * This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
7022
+ * * [Create an ACK managed cluster](~~90776~~)
7023
+ * * [Create an ACK dedicated cluster](~~197620~~)
7024
+ * * [Create an ACK Serverless cluster](~~144246~~)
7025
+ * * [Create an ACK Edge cluster](128204)
7026
+ * * [Create an ACK Basic cluster that supports sandboxed containers](~~196321~~)
7027
+ * * [Create an ACK Pro cluster that supports sandboxed containers](140623)
7028
+ *
7029
+ * @param request CreateClusterRequest
7030
+ * @param headers map
7031
+ * @param runtime runtime options for this request RuntimeOptions
7032
+ * @return CreateClusterResponse
7033
+ */
7017
7034
  createClusterWithOptions(request: CreateClusterRequest, headers: {
7018
7035
  [key: string]: string;
7019
7036
  }, runtime: $Util.RuntimeOptions): Promise<CreateClusterResponse>;
7037
+ /**
7038
+ * This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
7039
+ * * [Create an ACK managed cluster](~~90776~~)
7040
+ * * [Create an ACK dedicated cluster](~~197620~~)
7041
+ * * [Create an ACK Serverless cluster](~~144246~~)
7042
+ * * [Create an ACK Edge cluster](128204)
7043
+ * * [Create an ACK Basic cluster that supports sandboxed containers](~~196321~~)
7044
+ * * [Create an ACK Pro cluster that supports sandboxed containers](140623)
7045
+ *
7046
+ * @param request CreateClusterRequest
7047
+ * @return CreateClusterResponse
7048
+ */
7020
7049
  createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse>;
7021
7050
  createClusterNodePoolWithOptions(ClusterId: string, request: CreateClusterNodePoolRequest, headers: {
7022
7051
  [key: string]: string;
@@ -7178,9 +7207,25 @@ export default class Client extends OpenApi {
7178
7207
  [key: string]: string;
7179
7208
  }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterTasksResponse>;
7180
7209
  describeClusterTasks(clusterId: string, request: DescribeClusterTasksRequest): Promise<DescribeClusterTasksResponse>;
7210
+ /**
7211
+ * **
7212
+ * ****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.
7213
+ *
7214
+ * @param request DescribeClusterUserKubeconfigRequest
7215
+ * @param headers map
7216
+ * @param runtime runtime options for this request RuntimeOptions
7217
+ * @return DescribeClusterUserKubeconfigResponse
7218
+ */
7181
7219
  describeClusterUserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterUserKubeconfigRequest, headers: {
7182
7220
  [key: string]: string;
7183
7221
  }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterUserKubeconfigResponse>;
7222
+ /**
7223
+ * **
7224
+ * ****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.
7225
+ *
7226
+ * @param request DescribeClusterUserKubeconfigRequest
7227
+ * @return DescribeClusterUserKubeconfigResponse
7228
+ */
7184
7229
  describeClusterUserKubeconfig(ClusterId: string, request: DescribeClusterUserKubeconfigRequest): Promise<DescribeClusterUserKubeconfigResponse>;
7185
7230
  /**
7186
7231
  * @deprecated
@@ -7481,7 +7526,7 @@ export default class Client extends OpenApi {
7481
7526
  }, runtime: $Util.RuntimeOptions): Promise<ModifyClusterTagsResponse>;
7482
7527
  modifyClusterTags(ClusterId: string, request: ModifyClusterTagsRequest): Promise<ModifyClusterTagsResponse>;
7483
7528
  /**
7484
- * This operation progressively modifies the kubelet configuration of the nodes in a node pool and restarts the kubelet process, which may affect your businesses.
7529
+ * > Container Service for Kubernetes (ACK) allows you to modify the kubelet configuration of nodes in a node pool. After you modify the kubelet configuration, the new configuration immediately takes effect on existing nodes in the node pool and is automatically applied to newly added nodes.
7485
7530
  *
7486
7531
  * @param request ModifyNodePoolNodeConfigRequest
7487
7532
  * @param headers map
@@ -7492,7 +7537,7 @@ export default class Client extends OpenApi {
7492
7537
  [key: string]: string;
7493
7538
  }, runtime: $Util.RuntimeOptions): Promise<ModifyNodePoolNodeConfigResponse>;
7494
7539
  /**
7495
- * This operation progressively modifies the kubelet configuration of the nodes in a node pool and restarts the kubelet process, which may affect your businesses.
7540
+ * > Container Service for Kubernetes (ACK) allows you to modify the kubelet configuration of nodes in a node pool. After you modify the kubelet configuration, the new configuration immediately takes effect on existing nodes in the node pool and is automatically applied to newly added nodes.
7496
7541
  *
7497
7542
  * @param request ModifyNodePoolNodeConfigRequest
7498
7543
  * @return ModifyNodePoolNodeConfigResponse
package/dist/client.js CHANGED
@@ -51,6 +51,8 @@ class DataDisk extends $tea.Model {
51
51
  autoSnapshotPolicyId: 'auto_snapshot_policy_id',
52
52
  burstingEnabled: 'bursting_enabled',
53
53
  category: 'category',
54
+ device: 'device',
55
+ diskName: 'disk_name',
54
56
  encrypted: 'encrypted',
55
57
  fileSystem: 'file_system',
56
58
  kmsKeyId: 'kms_key_id',
@@ -58,6 +60,7 @@ class DataDisk extends $tea.Model {
58
60
  performanceLevel: 'performance_level',
59
61
  provisionedIops: 'provisioned_iops',
60
62
  size: 'size',
63
+ snapshotId: 'snapshot_id',
61
64
  };
62
65
  }
63
66
  static types() {
@@ -66,6 +69,8 @@ class DataDisk extends $tea.Model {
66
69
  autoSnapshotPolicyId: 'string',
67
70
  burstingEnabled: 'boolean',
68
71
  category: 'string',
72
+ device: 'string',
73
+ diskName: 'string',
69
74
  encrypted: 'string',
70
75
  fileSystem: 'string',
71
76
  kmsKeyId: 'string',
@@ -73,6 +78,7 @@ class DataDisk extends $tea.Model {
73
78
  performanceLevel: 'string',
74
79
  provisionedIops: 'number',
75
80
  size: 'number',
81
+ snapshotId: 'string',
76
82
  };
77
83
  }
78
84
  }
@@ -10272,6 +10278,20 @@ class Client extends openapi_client_1.default {
10272
10278
  let headers = {};
10273
10279
  return await this.createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime);
10274
10280
  }
10281
+ /**
10282
+ * This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
10283
+ * * [Create an ACK managed cluster](~~90776~~)
10284
+ * * [Create an ACK dedicated cluster](~~197620~~)
10285
+ * * [Create an ACK Serverless cluster](~~144246~~)
10286
+ * * [Create an ACK Edge cluster](128204)
10287
+ * * [Create an ACK Basic cluster that supports sandboxed containers](~~196321~~)
10288
+ * * [Create an ACK Pro cluster that supports sandboxed containers](140623)
10289
+ *
10290
+ * @param request CreateClusterRequest
10291
+ * @param headers map
10292
+ * @param runtime runtime options for this request RuntimeOptions
10293
+ * @return CreateClusterResponse
10294
+ */
10275
10295
  async createClusterWithOptions(request, headers, runtime) {
10276
10296
  tea_util_1.default.validateModel(request);
10277
10297
  let body = {};
@@ -10562,6 +10582,18 @@ class Client extends openapi_client_1.default {
10562
10582
  });
10563
10583
  return $tea.cast(await this.callApi(params, req, runtime), new CreateClusterResponse({}));
10564
10584
  }
10585
+ /**
10586
+ * This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
10587
+ * * [Create an ACK managed cluster](~~90776~~)
10588
+ * * [Create an ACK dedicated cluster](~~197620~~)
10589
+ * * [Create an ACK Serverless cluster](~~144246~~)
10590
+ * * [Create an ACK Edge cluster](128204)
10591
+ * * [Create an ACK Basic cluster that supports sandboxed containers](~~196321~~)
10592
+ * * [Create an ACK Pro cluster that supports sandboxed containers](140623)
10593
+ *
10594
+ * @param request CreateClusterRequest
10595
+ * @return CreateClusterResponse
10596
+ */
10565
10597
  async createCluster(request) {
10566
10598
  let runtime = new $Util.RuntimeOptions({});
10567
10599
  let headers = {};
@@ -11591,6 +11623,15 @@ class Client extends openapi_client_1.default {
11591
11623
  let headers = {};
11592
11624
  return await this.describeClusterTasksWithOptions(clusterId, request, headers, runtime);
11593
11625
  }
11626
+ /**
11627
+ * **
11628
+ * ****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.
11629
+ *
11630
+ * @param request DescribeClusterUserKubeconfigRequest
11631
+ * @param headers map
11632
+ * @param runtime runtime options for this request RuntimeOptions
11633
+ * @return DescribeClusterUserKubeconfigResponse
11634
+ */
11594
11635
  async describeClusterUserKubeconfigWithOptions(ClusterId, request, headers, runtime) {
11595
11636
  tea_util_1.default.validateModel(request);
11596
11637
  let query = {};
@@ -11617,6 +11658,13 @@ class Client extends openapi_client_1.default {
11617
11658
  });
11618
11659
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
11619
11660
  }
11661
+ /**
11662
+ * **
11663
+ * ****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.
11664
+ *
11665
+ * @param request DescribeClusterUserKubeconfigRequest
11666
+ * @return DescribeClusterUserKubeconfigResponse
11667
+ */
11620
11668
  async describeClusterUserKubeconfig(ClusterId, request) {
11621
11669
  let runtime = new $Util.RuntimeOptions({});
11622
11670
  let headers = {};
@@ -13097,7 +13145,7 @@ class Client extends openapi_client_1.default {
13097
13145
  return await this.modifyClusterTagsWithOptions(ClusterId, request, headers, runtime);
13098
13146
  }
13099
13147
  /**
13100
- * This operation progressively modifies the kubelet configuration of the nodes in a node pool and restarts the kubelet process, which may affect your businesses.
13148
+ * > Container Service for Kubernetes (ACK) allows you to modify the kubelet configuration of nodes in a node pool. After you modify the kubelet configuration, the new configuration immediately takes effect on existing nodes in the node pool and is automatically applied to newly added nodes.
13101
13149
  *
13102
13150
  * @param request ModifyNodePoolNodeConfigRequest
13103
13151
  * @param headers map
@@ -13131,7 +13179,7 @@ class Client extends openapi_client_1.default {
13131
13179
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
13132
13180
  }
13133
13181
  /**
13134
- * This operation progressively modifies the kubelet configuration of the nodes in a node pool and restarts the kubelet process, which may affect your businesses.
13182
+ * > Container Service for Kubernetes (ACK) allows you to modify the kubelet configuration of nodes in a node pool. After you modify the kubelet configuration, the new configuration immediately takes effect on existing nodes in the node pool and is automatically applied to newly added nodes.
13135
13183
  *
13136
13184
  * @param request ModifyNodePoolNodeConfigRequest
13137
13185
  * @return ModifyNodePoolNodeConfigResponse