@alicloud/cs20151215 3.2.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.2.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
 
@@ -1666,15 +1675,21 @@ export class DeleteClusterShrinkRequest extends $tea.Model {
1666
1675
  }
1667
1676
 
1668
1677
  export class DeleteClusterResponseBody extends $tea.Model {
1678
+ clusterId?: string;
1679
+ requestId?: string;
1669
1680
  taskId?: string;
1670
1681
  static names(): { [key: string]: string } {
1671
1682
  return {
1683
+ clusterId: 'cluster_id',
1684
+ requestId: 'request_id',
1672
1685
  taskId: 'task_id',
1673
1686
  };
1674
1687
  }
1675
1688
 
1676
1689
  static types(): { [key: string]: any } {
1677
1690
  return {
1691
+ clusterId: 'string',
1692
+ requestId: 'string',
1678
1693
  taskId: 'string',
1679
1694
  };
1680
1695
  }
@@ -2163,6 +2178,111 @@ export class DescirbeWorkflowResponse extends $tea.Model {
2163
2178
  }
2164
2179
  }
2165
2180
 
2181
+ export class DescribeAddonRequest extends $tea.Model {
2182
+ clusterId?: string;
2183
+ clusterSpec?: string;
2184
+ clusterType?: string;
2185
+ clusterVersion?: string;
2186
+ profile?: string;
2187
+ regionId?: string;
2188
+ version?: string;
2189
+ static names(): { [key: string]: string } {
2190
+ return {
2191
+ clusterId: 'cluster_id',
2192
+ clusterSpec: 'cluster_spec',
2193
+ clusterType: 'cluster_type',
2194
+ clusterVersion: 'cluster_version',
2195
+ profile: 'profile',
2196
+ regionId: 'region_id',
2197
+ version: 'version',
2198
+ };
2199
+ }
2200
+
2201
+ static types(): { [key: string]: any } {
2202
+ return {
2203
+ clusterId: 'string',
2204
+ clusterSpec: 'string',
2205
+ clusterType: 'string',
2206
+ clusterVersion: 'string',
2207
+ profile: 'string',
2208
+ regionId: 'string',
2209
+ version: 'string',
2210
+ };
2211
+ }
2212
+
2213
+ constructor(map?: { [key: string]: any }) {
2214
+ super(map);
2215
+ }
2216
+ }
2217
+
2218
+ export class DescribeAddonResponseBody extends $tea.Model {
2219
+ architecture?: string[];
2220
+ category?: string;
2221
+ configSchema?: string;
2222
+ installByDefault?: boolean;
2223
+ managed?: boolean;
2224
+ name?: string;
2225
+ newerVersions?: DescribeAddonResponseBodyNewerVersions[];
2226
+ supportedActions?: string[];
2227
+ version?: string;
2228
+ static names(): { [key: string]: string } {
2229
+ return {
2230
+ architecture: 'architecture',
2231
+ category: 'category',
2232
+ configSchema: 'config_schema',
2233
+ installByDefault: 'install_by_default',
2234
+ managed: 'managed',
2235
+ name: 'name',
2236
+ newerVersions: 'newer_versions',
2237
+ supportedActions: 'supported_actions',
2238
+ version: 'version',
2239
+ };
2240
+ }
2241
+
2242
+ static types(): { [key: string]: any } {
2243
+ return {
2244
+ architecture: { 'type': 'array', 'itemType': 'string' },
2245
+ category: 'string',
2246
+ configSchema: 'string',
2247
+ installByDefault: 'boolean',
2248
+ managed: 'boolean',
2249
+ name: 'string',
2250
+ newerVersions: { 'type': 'array', 'itemType': DescribeAddonResponseBodyNewerVersions },
2251
+ supportedActions: { 'type': 'array', 'itemType': 'string' },
2252
+ version: 'string',
2253
+ };
2254
+ }
2255
+
2256
+ constructor(map?: { [key: string]: any }) {
2257
+ super(map);
2258
+ }
2259
+ }
2260
+
2261
+ export class DescribeAddonResponse extends $tea.Model {
2262
+ headers: { [key: string]: string };
2263
+ statusCode: number;
2264
+ body: DescribeAddonResponseBody;
2265
+ static names(): { [key: string]: string } {
2266
+ return {
2267
+ headers: 'headers',
2268
+ statusCode: 'statusCode',
2269
+ body: 'body',
2270
+ };
2271
+ }
2272
+
2273
+ static types(): { [key: string]: any } {
2274
+ return {
2275
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2276
+ statusCode: 'number',
2277
+ body: DescribeAddonResponseBody,
2278
+ };
2279
+ }
2280
+
2281
+ constructor(map?: { [key: string]: any }) {
2282
+ super(map);
2283
+ }
2284
+ }
2285
+
2166
2286
  export class DescribeAddonsRequest extends $tea.Model {
2167
2287
  clusterProfile?: string;
2168
2288
  clusterSpec?: string;
@@ -5205,6 +5325,72 @@ export class ListClusterChecksResponse extends $tea.Model {
5205
5325
  }
5206
5326
  }
5207
5327
 
5328
+ export class ListOperationPlansRequest extends $tea.Model {
5329
+ clusterId?: string;
5330
+ type?: string;
5331
+ static names(): { [key: string]: string } {
5332
+ return {
5333
+ clusterId: 'cluster_id',
5334
+ type: 'type',
5335
+ };
5336
+ }
5337
+
5338
+ static types(): { [key: string]: any } {
5339
+ return {
5340
+ clusterId: 'string',
5341
+ type: 'string',
5342
+ };
5343
+ }
5344
+
5345
+ constructor(map?: { [key: string]: any }) {
5346
+ super(map);
5347
+ }
5348
+ }
5349
+
5350
+ export class ListOperationPlansResponseBody extends $tea.Model {
5351
+ plans?: ListOperationPlansResponseBodyPlans[];
5352
+ static names(): { [key: string]: string } {
5353
+ return {
5354
+ plans: 'plans',
5355
+ };
5356
+ }
5357
+
5358
+ static types(): { [key: string]: any } {
5359
+ return {
5360
+ plans: { 'type': 'array', 'itemType': ListOperationPlansResponseBodyPlans },
5361
+ };
5362
+ }
5363
+
5364
+ constructor(map?: { [key: string]: any }) {
5365
+ super(map);
5366
+ }
5367
+ }
5368
+
5369
+ export class ListOperationPlansResponse extends $tea.Model {
5370
+ headers: { [key: string]: string };
5371
+ statusCode: number;
5372
+ body: ListOperationPlansResponseBody;
5373
+ static names(): { [key: string]: string } {
5374
+ return {
5375
+ headers: 'headers',
5376
+ statusCode: 'statusCode',
5377
+ body: 'body',
5378
+ };
5379
+ }
5380
+
5381
+ static types(): { [key: string]: any } {
5382
+ return {
5383
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5384
+ statusCode: 'number',
5385
+ body: ListOperationPlansResponseBody,
5386
+ };
5387
+ }
5388
+
5389
+ constructor(map?: { [key: string]: any }) {
5390
+ super(map);
5391
+ }
5392
+ }
5393
+
5208
5394
  export class ListTagResourcesRequest extends $tea.Model {
5209
5395
  nextToken?: string;
5210
5396
  regionId?: string;
@@ -5575,6 +5761,7 @@ export class ModifyClusterConfigurationResponse extends $tea.Model {
5575
5761
 
5576
5762
  export class ModifyClusterNodePoolRequest extends $tea.Model {
5577
5763
  autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
5764
+ concurrency?: boolean;
5578
5765
  kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
5579
5766
  management?: ModifyClusterNodePoolRequestManagement;
5580
5767
  nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
@@ -5584,6 +5771,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
5584
5771
  static names(): { [key: string]: string } {
5585
5772
  return {
5586
5773
  autoScaling: 'auto_scaling',
5774
+ concurrency: 'concurrency',
5587
5775
  kubernetesConfig: 'kubernetes_config',
5588
5776
  management: 'management',
5589
5777
  nodepoolInfo: 'nodepool_info',
@@ -5596,6 +5784,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
5596
5784
  static types(): { [key: string]: any } {
5597
5785
  return {
5598
5786
  autoScaling: ModifyClusterNodePoolRequestAutoScaling,
5787
+ concurrency: 'boolean',
5599
5788
  kubernetesConfig: ModifyClusterNodePoolRequestKubernetesConfig,
5600
5789
  management: ModifyClusterNodePoolRequestManagement,
5601
5790
  nodepoolInfo: ModifyClusterNodePoolRequestNodepoolInfo,
@@ -6022,12 +6211,14 @@ export class RemoveClusterNodesResponse extends $tea.Model {
6022
6211
  }
6023
6212
 
6024
6213
  export class RemoveNodePoolNodesRequest extends $tea.Model {
6214
+ concurrency?: boolean;
6025
6215
  drainNode?: boolean;
6026
6216
  instanceIds?: string[];
6027
6217
  nodes?: string[];
6028
6218
  releaseNode?: boolean;
6029
6219
  static names(): { [key: string]: string } {
6030
6220
  return {
6221
+ concurrency: 'concurrency',
6031
6222
  drainNode: 'drain_node',
6032
6223
  instanceIds: 'instance_ids',
6033
6224
  nodes: 'nodes',
@@ -6037,6 +6228,7 @@ export class RemoveNodePoolNodesRequest extends $tea.Model {
6037
6228
 
6038
6229
  static types(): { [key: string]: any } {
6039
6230
  return {
6231
+ concurrency: 'boolean',
6040
6232
  drainNode: 'boolean',
6041
6233
  instanceIds: { 'type': 'array', 'itemType': 'string' },
6042
6234
  nodes: { 'type': 'array', 'itemType': 'string' },
@@ -6050,12 +6242,14 @@ export class RemoveNodePoolNodesRequest extends $tea.Model {
6050
6242
  }
6051
6243
 
6052
6244
  export class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
6245
+ concurrency?: boolean;
6053
6246
  drainNode?: boolean;
6054
6247
  instanceIdsShrink?: string;
6055
6248
  nodesShrink?: string;
6056
6249
  releaseNode?: boolean;
6057
6250
  static names(): { [key: string]: string } {
6058
6251
  return {
6252
+ concurrency: 'concurrency',
6059
6253
  drainNode: 'drain_node',
6060
6254
  instanceIdsShrink: 'instance_ids',
6061
6255
  nodesShrink: 'nodes',
@@ -6065,6 +6259,7 @@ export class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
6065
6259
 
6066
6260
  static types(): { [key: string]: any } {
6067
6261
  return {
6262
+ concurrency: 'boolean',
6068
6263
  drainNode: 'boolean',
6069
6264
  instanceIdsShrink: 'string',
6070
6265
  nodesShrink: 'string',
@@ -7236,13 +7431,40 @@ export class UpdateControlPlaneLogRequest extends $tea.Model {
7236
7431
  }
7237
7432
  }
7238
7433
 
7434
+ export class UpdateControlPlaneLogResponseBody extends $tea.Model {
7435
+ clusterId?: string;
7436
+ requestId?: string;
7437
+ taskId?: string;
7438
+ static names(): { [key: string]: string } {
7439
+ return {
7440
+ clusterId: 'cluster_id',
7441
+ requestId: 'request_id',
7442
+ taskId: 'task_id',
7443
+ };
7444
+ }
7445
+
7446
+ static types(): { [key: string]: any } {
7447
+ return {
7448
+ clusterId: 'string',
7449
+ requestId: 'string',
7450
+ taskId: 'string',
7451
+ };
7452
+ }
7453
+
7454
+ constructor(map?: { [key: string]: any }) {
7455
+ super(map);
7456
+ }
7457
+ }
7458
+
7239
7459
  export class UpdateControlPlaneLogResponse extends $tea.Model {
7240
7460
  headers: { [key: string]: string };
7241
7461
  statusCode: number;
7462
+ body: UpdateControlPlaneLogResponseBody;
7242
7463
  static names(): { [key: string]: string } {
7243
7464
  return {
7244
7465
  headers: 'headers',
7245
7466
  statusCode: 'statusCode',
7467
+ body: 'body',
7246
7468
  };
7247
7469
  }
7248
7470
 
@@ -7250,6 +7472,7 @@ export class UpdateControlPlaneLogResponse extends $tea.Model {
7250
7472
  return {
7251
7473
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7252
7474
  statusCode: 'number',
7475
+ body: UpdateControlPlaneLogResponseBody,
7253
7476
  };
7254
7477
  }
7255
7478
 
@@ -8591,6 +8814,31 @@ export class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
8591
8814
  }
8592
8815
  }
8593
8816
 
8817
+ export class DescribeAddonResponseBodyNewerVersions extends $tea.Model {
8818
+ minimumClusterVersion?: string;
8819
+ upgradable?: boolean;
8820
+ version?: string;
8821
+ static names(): { [key: string]: string } {
8822
+ return {
8823
+ minimumClusterVersion: 'minimum_cluster_version',
8824
+ upgradable: 'upgradable',
8825
+ version: 'version',
8826
+ };
8827
+ }
8828
+
8829
+ static types(): { [key: string]: any } {
8830
+ return {
8831
+ minimumClusterVersion: 'string',
8832
+ upgradable: 'boolean',
8833
+ version: 'string',
8834
+ };
8835
+ }
8836
+
8837
+ constructor(map?: { [key: string]: any }) {
8838
+ super(map);
8839
+ }
8840
+ }
8841
+
8594
8842
  export class DescribeAddonsResponseBodyComponentGroupsItems extends $tea.Model {
8595
8843
  name?: string;
8596
8844
  static names(): { [key: string]: string } {
@@ -11712,6 +11960,49 @@ export class ListClusterChecksResponseBodyChecks extends $tea.Model {
11712
11960
  }
11713
11961
  }
11714
11962
 
11963
+ export class ListOperationPlansResponseBodyPlans extends $tea.Model {
11964
+ clusterId?: string;
11965
+ created?: string;
11966
+ endTime?: string;
11967
+ planId?: string;
11968
+ startTime?: string;
11969
+ state?: string;
11970
+ targetId?: string;
11971
+ targetType?: string;
11972
+ type?: string;
11973
+ static names(): { [key: string]: string } {
11974
+ return {
11975
+ clusterId: 'cluster_id',
11976
+ created: 'created',
11977
+ endTime: 'end_time',
11978
+ planId: 'plan_id',
11979
+ startTime: 'start_time',
11980
+ state: 'state',
11981
+ targetId: 'target_id',
11982
+ targetType: 'target_type',
11983
+ type: 'type',
11984
+ };
11985
+ }
11986
+
11987
+ static types(): { [key: string]: any } {
11988
+ return {
11989
+ clusterId: 'string',
11990
+ created: 'string',
11991
+ endTime: 'string',
11992
+ planId: 'string',
11993
+ startTime: 'string',
11994
+ state: 'string',
11995
+ targetId: 'string',
11996
+ targetType: 'string',
11997
+ type: 'string',
11998
+ };
11999
+ }
12000
+
12001
+ constructor(map?: { [key: string]: any }) {
12002
+ super(map);
12003
+ }
12004
+ }
12005
+
11715
12006
  export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
11716
12007
  resourceId?: string;
11717
12008
  resourceType?: string;
@@ -12820,6 +13111,20 @@ export default class Client extends OpenApi {
12820
13111
  return await this.createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime);
12821
13112
  }
12822
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
+ */
12823
13128
  async createClusterWithOptions(request: CreateClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateClusterResponse> {
12824
13129
  Util.validateModel(request);
12825
13130
  let body : {[key: string ]: any} = { };
@@ -13201,6 +13506,18 @@ export default class Client extends OpenApi {
13201
13506
  return $tea.cast<CreateClusterResponse>(await this.callApi(params, req, runtime), new CreateClusterResponse({}));
13202
13507
  }
13203
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
+ */
13204
13521
  async createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse> {
13205
13522
  let runtime = new $Util.RuntimeOptions({ });
13206
13523
  let headers : {[key: string ]: string} = { };
@@ -13826,6 +14143,61 @@ export default class Client extends OpenApi {
13826
14143
  return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
13827
14144
  }
13828
14145
 
14146
+ async describeAddonWithOptions(addonName: string, request: DescribeAddonRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonResponse> {
14147
+ Util.validateModel(request);
14148
+ let query : {[key: string ]: any} = { };
14149
+ if (!Util.isUnset(request.clusterId)) {
14150
+ query["cluster_id"] = request.clusterId;
14151
+ }
14152
+
14153
+ if (!Util.isUnset(request.clusterSpec)) {
14154
+ query["cluster_spec"] = request.clusterSpec;
14155
+ }
14156
+
14157
+ if (!Util.isUnset(request.clusterType)) {
14158
+ query["cluster_type"] = request.clusterType;
14159
+ }
14160
+
14161
+ if (!Util.isUnset(request.clusterVersion)) {
14162
+ query["cluster_version"] = request.clusterVersion;
14163
+ }
14164
+
14165
+ if (!Util.isUnset(request.profile)) {
14166
+ query["profile"] = request.profile;
14167
+ }
14168
+
14169
+ if (!Util.isUnset(request.regionId)) {
14170
+ query["region_id"] = request.regionId;
14171
+ }
14172
+
14173
+ if (!Util.isUnset(request.version)) {
14174
+ query["version"] = request.version;
14175
+ }
14176
+
14177
+ let req = new $OpenApi.OpenApiRequest({
14178
+ headers: headers,
14179
+ query: OpenApiUtil.query(query),
14180
+ });
14181
+ let params = new $OpenApi.Params({
14182
+ action: "DescribeAddon",
14183
+ version: "2015-12-15",
14184
+ protocol: "HTTPS",
14185
+ pathname: `/addons/${OpenApiUtil.getEncodeParam(addonName)}`,
14186
+ method: "GET",
14187
+ authType: "AK",
14188
+ style: "ROA",
14189
+ reqBodyType: "json",
14190
+ bodyType: "json",
14191
+ });
14192
+ return $tea.cast<DescribeAddonResponse>(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
14193
+ }
14194
+
14195
+ async describeAddon(addonName: string, request: DescribeAddonRequest): Promise<DescribeAddonResponse> {
14196
+ let runtime = new $Util.RuntimeOptions({ });
14197
+ let headers : {[key: string ]: string} = { };
14198
+ return await this.describeAddonWithOptions(addonName, request, headers, runtime);
14199
+ }
14200
+
13829
14201
  async describeAddonsWithOptions(request: DescribeAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonsResponse> {
13830
14202
  Util.validateModel(request);
13831
14203
  let query : {[key: string ]: any} = { };
@@ -14312,6 +14684,15 @@ export default class Client extends OpenApi {
14312
14684
  return await this.describeClusterTasksWithOptions(clusterId, request, headers, runtime);
14313
14685
  }
14314
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
+ */
14315
14696
  async describeClusterUserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterUserKubeconfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterUserKubeconfigResponse> {
14316
14697
  Util.validateModel(request);
14317
14698
  let query : {[key: string ]: any} = { };
@@ -14341,6 +14722,13 @@ export default class Client extends OpenApi {
14341
14722
  return $tea.cast<DescribeClusterUserKubeconfigResponse>(await this.callApi(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
14342
14723
  }
14343
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
+ */
14344
14732
  async describeClusterUserKubeconfig(ClusterId: string, request: DescribeClusterUserKubeconfigRequest): Promise<DescribeClusterUserKubeconfigResponse> {
14345
14733
  let runtime = new $Util.RuntimeOptions({ });
14346
14734
  let headers : {[key: string ]: string} = { };
@@ -15635,6 +16023,41 @@ export default class Client extends OpenApi {
15635
16023
  return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
15636
16024
  }
15637
16025
 
16026
+ async listOperationPlansWithOptions(request: ListOperationPlansRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListOperationPlansResponse> {
16027
+ Util.validateModel(request);
16028
+ let query : {[key: string ]: any} = { };
16029
+ if (!Util.isUnset(request.clusterId)) {
16030
+ query["cluster_id"] = request.clusterId;
16031
+ }
16032
+
16033
+ if (!Util.isUnset(request.type)) {
16034
+ query["type"] = request.type;
16035
+ }
16036
+
16037
+ let req = new $OpenApi.OpenApiRequest({
16038
+ headers: headers,
16039
+ query: OpenApiUtil.query(query),
16040
+ });
16041
+ let params = new $OpenApi.Params({
16042
+ action: "ListOperationPlans",
16043
+ version: "2015-12-15",
16044
+ protocol: "HTTPS",
16045
+ pathname: `/operation/plans`,
16046
+ method: "GET",
16047
+ authType: "AK",
16048
+ style: "ROA",
16049
+ reqBodyType: "json",
16050
+ bodyType: "json",
16051
+ });
16052
+ return $tea.cast<ListOperationPlansResponse>(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
16053
+ }
16054
+
16055
+ async listOperationPlans(request: ListOperationPlansRequest): Promise<ListOperationPlansResponse> {
16056
+ let runtime = new $Util.RuntimeOptions({ });
16057
+ let headers : {[key: string ]: string} = { };
16058
+ return await this.listOperationPlansWithOptions(request, headers, runtime);
16059
+ }
16060
+
15638
16061
  async listTagResourcesWithOptions(tmpReq: ListTagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
15639
16062
  Util.validateModel(tmpReq);
15640
16063
  let request = new ListTagResourcesShrinkRequest({ });
@@ -15891,6 +16314,10 @@ export default class Client extends OpenApi {
15891
16314
  body["auto_scaling"] = request.autoScaling;
15892
16315
  }
15893
16316
 
16317
+ if (!Util.isUnset(request.concurrency)) {
16318
+ body["concurrency"] = request.concurrency;
16319
+ }
16320
+
15894
16321
  if (!Util.isUnset(request.kubernetesConfig)) {
15895
16322
  body["kubernetes_config"] = request.kubernetesConfig;
15896
16323
  }
@@ -15966,7 +16393,7 @@ export default class Client extends OpenApi {
15966
16393
  }
15967
16394
 
15968
16395
  /**
15969
- * 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.
15970
16397
  *
15971
16398
  * @param request ModifyNodePoolNodeConfigRequest
15972
16399
  * @param headers map
@@ -16003,7 +16430,7 @@ export default class Client extends OpenApi {
16003
16430
  }
16004
16431
 
16005
16432
  /**
16006
- * 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.
16007
16434
  *
16008
16435
  * @param request ModifyNodePoolNodeConfigRequest
16009
16436
  * @return ModifyNodePoolNodeConfigResponse
@@ -16264,6 +16691,10 @@ export default class Client extends OpenApi {
16264
16691
  }
16265
16692
 
16266
16693
  let query : {[key: string ]: any} = { };
16694
+ if (!Util.isUnset(request.concurrency)) {
16695
+ query["concurrency"] = request.concurrency;
16696
+ }
16697
+
16267
16698
  if (!Util.isUnset(request.drainNode)) {
16268
16699
  query["drain_node"] = request.drainNode;
16269
16700
  }
@@ -17136,7 +17567,7 @@ export default class Client extends OpenApi {
17136
17567
  authType: "AK",
17137
17568
  style: "ROA",
17138
17569
  reqBodyType: "json",
17139
- bodyType: "none",
17570
+ bodyType: "json",
17140
17571
  });
17141
17572
  return $tea.cast<UpdateControlPlaneLogResponse>(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
17142
17573
  }