@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cs20151215",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -41,6 +41,8 @@ export class DataDisk extends $tea.Model {
41
41
  autoSnapshotPolicyId?: string;
42
42
  burstingEnabled?: boolean;
43
43
  category?: string;
44
+ device?: string;
45
+ diskName?: string;
44
46
  encrypted?: string;
45
47
  fileSystem?: string;
46
48
  kmsKeyId?: string;
@@ -48,12 +50,15 @@ export class DataDisk extends $tea.Model {
48
50
  performanceLevel?: string;
49
51
  provisionedIops?: number;
50
52
  size?: number;
53
+ snapshotId?: string;
51
54
  static names(): { [key: string]: string } {
52
55
  return {
53
56
  autoFormat: 'auto_format',
54
57
  autoSnapshotPolicyId: 'auto_snapshot_policy_id',
55
58
  burstingEnabled: 'bursting_enabled',
56
59
  category: 'category',
60
+ device: 'device',
61
+ diskName: 'disk_name',
57
62
  encrypted: 'encrypted',
58
63
  fileSystem: 'file_system',
59
64
  kmsKeyId: 'kms_key_id',
@@ -61,6 +66,7 @@ export class DataDisk extends $tea.Model {
61
66
  performanceLevel: 'performance_level',
62
67
  provisionedIops: 'provisioned_iops',
63
68
  size: 'size',
69
+ snapshotId: 'snapshot_id',
64
70
  };
65
71
  }
66
72
 
@@ -70,6 +76,8 @@ export class DataDisk extends $tea.Model {
70
76
  autoSnapshotPolicyId: 'string',
71
77
  burstingEnabled: 'boolean',
72
78
  category: 'string',
79
+ device: 'string',
80
+ diskName: 'string',
73
81
  encrypted: 'string',
74
82
  fileSystem: 'string',
75
83
  kmsKeyId: 'string',
@@ -77,6 +85,7 @@ export class DataDisk extends $tea.Model {
77
85
  performanceLevel: 'string',
78
86
  provisionedIops: 'number',
79
87
  size: 'number',
88
+ snapshotId: 'string',
80
89
  };
81
90
  }
82
91
 
@@ -13102,6 +13111,20 @@ export default class Client extends OpenApi {
13102
13111
  return await this.createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime);
13103
13112
  }
13104
13113
 
13114
+ /**
13115
+ * This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
13116
+ * * [Create an ACK managed cluster](~~90776~~)
13117
+ * * [Create an ACK dedicated cluster](~~197620~~)
13118
+ * * [Create an ACK Serverless cluster](~~144246~~)
13119
+ * * [Create an ACK Edge cluster](128204)
13120
+ * * [Create an ACK Basic cluster that supports sandboxed containers](~~196321~~)
13121
+ * * [Create an ACK Pro cluster that supports sandboxed containers](140623)
13122
+ *
13123
+ * @param request CreateClusterRequest
13124
+ * @param headers map
13125
+ * @param runtime runtime options for this request RuntimeOptions
13126
+ * @return CreateClusterResponse
13127
+ */
13105
13128
  async createClusterWithOptions(request: CreateClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateClusterResponse> {
13106
13129
  Util.validateModel(request);
13107
13130
  let body : {[key: string ]: any} = { };
@@ -13483,6 +13506,18 @@ export default class Client extends OpenApi {
13483
13506
  return $tea.cast<CreateClusterResponse>(await this.callApi(params, req, runtime), new CreateClusterResponse({}));
13484
13507
  }
13485
13508
 
13509
+ /**
13510
+ * This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
13511
+ * * [Create an ACK managed cluster](~~90776~~)
13512
+ * * [Create an ACK dedicated cluster](~~197620~~)
13513
+ * * [Create an ACK Serverless cluster](~~144246~~)
13514
+ * * [Create an ACK Edge cluster](128204)
13515
+ * * [Create an ACK Basic cluster that supports sandboxed containers](~~196321~~)
13516
+ * * [Create an ACK Pro cluster that supports sandboxed containers](140623)
13517
+ *
13518
+ * @param request CreateClusterRequest
13519
+ * @return CreateClusterResponse
13520
+ */
13486
13521
  async createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse> {
13487
13522
  let runtime = new $Util.RuntimeOptions({ });
13488
13523
  let headers : {[key: string ]: string} = { };
@@ -14649,6 +14684,15 @@ export default class Client extends OpenApi {
14649
14684
  return await this.describeClusterTasksWithOptions(clusterId, request, headers, runtime);
14650
14685
  }
14651
14686
 
14687
+ /**
14688
+ * **
14689
+ * ****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.
14690
+ *
14691
+ * @param request DescribeClusterUserKubeconfigRequest
14692
+ * @param headers map
14693
+ * @param runtime runtime options for this request RuntimeOptions
14694
+ * @return DescribeClusterUserKubeconfigResponse
14695
+ */
14652
14696
  async describeClusterUserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterUserKubeconfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterUserKubeconfigResponse> {
14653
14697
  Util.validateModel(request);
14654
14698
  let query : {[key: string ]: any} = { };
@@ -14678,6 +14722,13 @@ export default class Client extends OpenApi {
14678
14722
  return $tea.cast<DescribeClusterUserKubeconfigResponse>(await this.callApi(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
14679
14723
  }
14680
14724
 
14725
+ /**
14726
+ * **
14727
+ * ****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.
14728
+ *
14729
+ * @param request DescribeClusterUserKubeconfigRequest
14730
+ * @return DescribeClusterUserKubeconfigResponse
14731
+ */
14681
14732
  async describeClusterUserKubeconfig(ClusterId: string, request: DescribeClusterUserKubeconfigRequest): Promise<DescribeClusterUserKubeconfigResponse> {
14682
14733
  let runtime = new $Util.RuntimeOptions({ });
14683
14734
  let headers : {[key: string ]: string} = { };
@@ -16342,7 +16393,7 @@ export default class Client extends OpenApi {
16342
16393
  }
16343
16394
 
16344
16395
  /**
16345
- * This operation progressively modifies the kubelet configuration of the nodes in a node pool and restarts the kubelet process, which may affect your businesses.
16396
+ * > 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.
16346
16397
  *
16347
16398
  * @param request ModifyNodePoolNodeConfigRequest
16348
16399
  * @param headers map
@@ -16379,7 +16430,7 @@ export default class Client extends OpenApi {
16379
16430
  }
16380
16431
 
16381
16432
  /**
16382
- * This operation progressively modifies the kubelet configuration of the nodes in a node pool and restarts the kubelet process, which may affect your businesses.
16433
+ * > 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.
16383
16434
  *
16384
16435
  * @param request ModifyNodePoolNodeConfigRequest
16385
16436
  * @return ModifyNodePoolNodeConfigResponse