@alicloud/cs20151215 3.0.2 → 3.0.6

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.0.2",
3
+ "version": "3.0.6",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@alicloud/tea-typescript": "^1.7.1",
23
23
  "@alicloud/tea-util": "^1.4.0",
24
- "@alicloud/openapi-client": "^0.3.5",
25
- "@alicloud/openapi-util": "^0.2.4",
24
+ "@alicloud/openapi-client": "^0.4.1",
25
+ "@alicloud/openapi-util": "^0.2.7",
26
26
  "@alicloud/endpoint-util": "^0.0.1"
27
27
  },
28
28
  "files": [
package/src/client.ts CHANGED
@@ -441,6 +441,7 @@ export class CreateClusterRequest extends $tea.Model {
441
441
  proxyMode?: string;
442
442
  rdsInstances?: string[];
443
443
  regionId?: string;
444
+ resourceGroupId?: string;
444
445
  runtime?: Runtime;
445
446
  securityGroupId?: string;
446
447
  serviceAccountIssuer?: string;
@@ -526,6 +527,7 @@ export class CreateClusterRequest extends $tea.Model {
526
527
  proxyMode: 'proxy_mode',
527
528
  rdsInstances: 'rds_instances',
528
529
  regionId: 'region_id',
530
+ resourceGroupId: 'resource_group_id',
529
531
  runtime: 'runtime',
530
532
  securityGroupId: 'security_group_id',
531
533
  serviceAccountIssuer: 'service_account_issuer',
@@ -614,6 +616,7 @@ export class CreateClusterRequest extends $tea.Model {
614
616
  proxyMode: 'string',
615
617
  rdsInstances: { 'type': 'array', 'itemType': 'string' },
616
618
  regionId: 'string',
619
+ resourceGroupId: 'string',
617
620
  runtime: Runtime,
618
621
  securityGroupId: 'string',
619
622
  serviceAccountIssuer: 'string',
@@ -1427,12 +1430,12 @@ export class DeleteTriggerResponse extends $tea.Model {
1427
1430
 
1428
1431
  export class DeployPolicyInstanceRequest extends $tea.Model {
1429
1432
  action?: string;
1430
- namespace?: string;
1433
+ namespaces?: string[];
1431
1434
  parameters?: { [key: string]: any };
1432
1435
  static names(): { [key: string]: string } {
1433
1436
  return {
1434
1437
  action: 'action',
1435
- namespace: 'namespace',
1438
+ namespaces: 'namespaces',
1436
1439
  parameters: 'parameters',
1437
1440
  };
1438
1441
  }
@@ -1440,7 +1443,7 @@ export class DeployPolicyInstanceRequest extends $tea.Model {
1440
1443
  static types(): { [key: string]: any } {
1441
1444
  return {
1442
1445
  action: 'string',
1443
- namespace: 'string',
1446
+ namespaces: { 'type': 'array', 'itemType': 'string' },
1444
1447
  parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1445
1448
  };
1446
1449
  }
@@ -2826,12 +2829,14 @@ export class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
2826
2829
  kubernetesVersion?: string;
2827
2830
  profile?: string;
2828
2831
  region?: string;
2832
+ runtime?: string;
2829
2833
  static names(): { [key: string]: string } {
2830
2834
  return {
2831
2835
  clusterType: 'ClusterType',
2832
2836
  kubernetesVersion: 'KubernetesVersion',
2833
2837
  profile: 'Profile',
2834
2838
  region: 'Region',
2839
+ runtime: 'runtime',
2835
2840
  };
2836
2841
  }
2837
2842
 
@@ -2841,6 +2846,7 @@ export class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
2841
2846
  kubernetesVersion: 'string',
2842
2847
  profile: 'string',
2843
2848
  region: 'string',
2849
+ runtime: 'string',
2844
2850
  };
2845
2851
  }
2846
2852
 
@@ -4322,6 +4328,69 @@ export class RemoveWorkflowResponse extends $tea.Model {
4322
4328
  }
4323
4329
  }
4324
4330
 
4331
+ export class RepairClusterNodePoolRequest extends $tea.Model {
4332
+ nodes?: string[];
4333
+ static names(): { [key: string]: string } {
4334
+ return {
4335
+ nodes: 'nodes',
4336
+ };
4337
+ }
4338
+
4339
+ static types(): { [key: string]: any } {
4340
+ return {
4341
+ nodes: { 'type': 'array', 'itemType': 'string' },
4342
+ };
4343
+ }
4344
+
4345
+ constructor(map?: { [key: string]: any }) {
4346
+ super(map);
4347
+ }
4348
+ }
4349
+
4350
+ export class RepairClusterNodePoolResponseBody extends $tea.Model {
4351
+ requestId?: string;
4352
+ taskId?: string;
4353
+ static names(): { [key: string]: string } {
4354
+ return {
4355
+ requestId: 'request_id',
4356
+ taskId: 'task_id',
4357
+ };
4358
+ }
4359
+
4360
+ static types(): { [key: string]: any } {
4361
+ return {
4362
+ requestId: 'string',
4363
+ taskId: 'string',
4364
+ };
4365
+ }
4366
+
4367
+ constructor(map?: { [key: string]: any }) {
4368
+ super(map);
4369
+ }
4370
+ }
4371
+
4372
+ export class RepairClusterNodePoolResponse extends $tea.Model {
4373
+ headers: { [key: string]: string };
4374
+ body: RepairClusterNodePoolResponseBody;
4375
+ static names(): { [key: string]: string } {
4376
+ return {
4377
+ headers: 'headers',
4378
+ body: 'body',
4379
+ };
4380
+ }
4381
+
4382
+ static types(): { [key: string]: any } {
4383
+ return {
4384
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4385
+ body: RepairClusterNodePoolResponseBody,
4386
+ };
4387
+ }
4388
+
4389
+ constructor(map?: { [key: string]: any }) {
4390
+ super(map);
4391
+ }
4392
+ }
4393
+
4325
4394
  export class ResumeComponentUpgradeResponse extends $tea.Model {
4326
4395
  headers: { [key: string]: string };
4327
4396
  static names(): { [key: string]: string } {
@@ -4808,17 +4877,39 @@ export class TagResourcesRequest extends $tea.Model {
4808
4877
  }
4809
4878
  }
4810
4879
 
4880
+ export class TagResourcesResponseBody extends $tea.Model {
4881
+ requestId?: string;
4882
+ static names(): { [key: string]: string } {
4883
+ return {
4884
+ requestId: 'RequestId',
4885
+ };
4886
+ }
4887
+
4888
+ static types(): { [key: string]: any } {
4889
+ return {
4890
+ requestId: 'string',
4891
+ };
4892
+ }
4893
+
4894
+ constructor(map?: { [key: string]: any }) {
4895
+ super(map);
4896
+ }
4897
+ }
4898
+
4811
4899
  export class TagResourcesResponse extends $tea.Model {
4812
4900
  headers: { [key: string]: string };
4901
+ body: TagResourcesResponseBody;
4813
4902
  static names(): { [key: string]: string } {
4814
4903
  return {
4815
4904
  headers: 'headers',
4905
+ body: 'body',
4816
4906
  };
4817
4907
  }
4818
4908
 
4819
4909
  static types(): { [key: string]: any } {
4820
4910
  return {
4821
4911
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4912
+ body: TagResourcesResponseBody,
4822
4913
  };
4823
4914
  }
4824
4915
 
@@ -4866,12 +4957,14 @@ export class UnInstallClusterAddonsResponse extends $tea.Model {
4866
4957
  }
4867
4958
 
4868
4959
  export class UntagResourcesRequest extends $tea.Model {
4960
+ all?: boolean;
4869
4961
  regionId?: string;
4870
4962
  resourceIds?: string[];
4871
4963
  resourceType?: string;
4872
4964
  tagKeys?: string[];
4873
4965
  static names(): { [key: string]: string } {
4874
4966
  return {
4967
+ all: 'all',
4875
4968
  regionId: 'region_id',
4876
4969
  resourceIds: 'resource_ids',
4877
4970
  resourceType: 'resource_type',
@@ -4881,6 +4974,7 @@ export class UntagResourcesRequest extends $tea.Model {
4881
4974
 
4882
4975
  static types(): { [key: string]: any } {
4883
4976
  return {
4977
+ all: 'boolean',
4884
4978
  regionId: 'string',
4885
4979
  resourceIds: { 'type': 'array', 'itemType': 'string' },
4886
4980
  resourceType: 'string',
@@ -4893,17 +4987,39 @@ export class UntagResourcesRequest extends $tea.Model {
4893
4987
  }
4894
4988
  }
4895
4989
 
4990
+ export class UntagResourcesResponseBody extends $tea.Model {
4991
+ requestId?: string;
4992
+ static names(): { [key: string]: string } {
4993
+ return {
4994
+ requestId: 'RequestId',
4995
+ };
4996
+ }
4997
+
4998
+ static types(): { [key: string]: any } {
4999
+ return {
5000
+ requestId: 'string',
5001
+ };
5002
+ }
5003
+
5004
+ constructor(map?: { [key: string]: any }) {
5005
+ super(map);
5006
+ }
5007
+ }
5008
+
4896
5009
  export class UntagResourcesResponse extends $tea.Model {
4897
5010
  headers: { [key: string]: string };
5011
+ body: UntagResourcesResponseBody;
4898
5012
  static names(): { [key: string]: string } {
4899
5013
  return {
4900
5014
  headers: 'headers',
5015
+ body: 'body',
4901
5016
  };
4902
5017
  }
4903
5018
 
4904
5019
  static types(): { [key: string]: any } {
4905
5020
  return {
4906
5021
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5022
+ body: UntagResourcesResponseBody,
4907
5023
  };
4908
5024
  }
4909
5025
 
@@ -5219,6 +5335,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
5219
5335
  cmsEnabled?: boolean;
5220
5336
  cpuPolicy?: string;
5221
5337
  labels?: Tag[];
5338
+ nodeNameMode?: string;
5222
5339
  runtime?: string;
5223
5340
  runtimeVersion?: string;
5224
5341
  taints?: Taint[];
@@ -5228,6 +5345,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
5228
5345
  cmsEnabled: 'cms_enabled',
5229
5346
  cpuPolicy: 'cpu_policy',
5230
5347
  labels: 'labels',
5348
+ nodeNameMode: 'node_name_mode',
5231
5349
  runtime: 'runtime',
5232
5350
  runtimeVersion: 'runtime_version',
5233
5351
  taints: 'taints',
@@ -5240,6 +5358,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
5240
5358
  cmsEnabled: 'boolean',
5241
5359
  cpuPolicy: 'string',
5242
5360
  labels: { 'type': 'array', 'itemType': Tag },
5361
+ nodeNameMode: 'string',
5243
5362
  runtime: 'string',
5244
5363
  runtimeVersion: 'string',
5245
5364
  taints: { 'type': 'array', 'itemType': Taint },
@@ -5379,6 +5498,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
5379
5498
  autoRenewPeriod?: number;
5380
5499
  compensateWithOnDemand?: boolean;
5381
5500
  dataDisks?: DataDisk[];
5501
+ deploymentsetId?: string;
5502
+ desiredSize?: number;
5382
5503
  imageId?: string;
5383
5504
  imageType?: string;
5384
5505
  instanceChargeType?: string;
@@ -5412,6 +5533,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
5412
5533
  autoRenewPeriod: 'auto_renew_period',
5413
5534
  compensateWithOnDemand: 'compensate_with_on_demand',
5414
5535
  dataDisks: 'data_disks',
5536
+ deploymentsetId: 'deploymentset_id',
5537
+ desiredSize: 'desired_size',
5415
5538
  imageId: 'image_id',
5416
5539
  imageType: 'image_type',
5417
5540
  instanceChargeType: 'instance_charge_type',
@@ -5448,6 +5571,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
5448
5571
  autoRenewPeriod: 'number',
5449
5572
  compensateWithOnDemand: 'boolean',
5450
5573
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
5574
+ deploymentsetId: 'string',
5575
+ desiredSize: 'number',
5451
5576
  imageId: 'string',
5452
5577
  imageType: 'string',
5453
5578
  instanceChargeType: 'string',
@@ -5649,6 +5774,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
5649
5774
  cmsEnabled?: boolean;
5650
5775
  cpuPolicy?: string;
5651
5776
  labels?: Tag[];
5777
+ nodeNameMode?: string;
5652
5778
  runtime?: string;
5653
5779
  runtimeVersion?: string;
5654
5780
  taints?: Taint[];
@@ -5658,6 +5784,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
5658
5784
  cmsEnabled: 'cms_enabled',
5659
5785
  cpuPolicy: 'cpu_policy',
5660
5786
  labels: 'labels',
5787
+ nodeNameMode: 'node_name_mode',
5661
5788
  runtime: 'runtime',
5662
5789
  runtimeVersion: 'runtime_version',
5663
5790
  taints: 'taints',
@@ -5670,6 +5797,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
5670
5797
  cmsEnabled: 'boolean',
5671
5798
  cpuPolicy: 'string',
5672
5799
  labels: { 'type': 'array', 'itemType': Tag },
5800
+ nodeNameMode: 'string',
5673
5801
  runtime: 'string',
5674
5802
  runtimeVersion: 'string',
5675
5803
  taints: { 'type': 'array', 'itemType': Taint },
@@ -5802,6 +5930,8 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
5802
5930
  autoRenewPeriod?: number;
5803
5931
  compensateWithOnDemand?: boolean;
5804
5932
  dataDisks?: DataDisk[];
5933
+ deploymentsetId?: string;
5934
+ desiredSize?: number;
5805
5935
  imageId?: string;
5806
5936
  instanceChargeType?: string;
5807
5937
  instanceTypes?: string[];
@@ -5836,6 +5966,8 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
5836
5966
  autoRenewPeriod: 'auto_renew_period',
5837
5967
  compensateWithOnDemand: 'compensate_with_on_demand',
5838
5968
  dataDisks: 'data_disks',
5969
+ deploymentsetId: 'deploymentset_id',
5970
+ desiredSize: 'desired_size',
5839
5971
  imageId: 'image_id',
5840
5972
  instanceChargeType: 'instance_charge_type',
5841
5973
  instanceTypes: 'instance_types',
@@ -5873,6 +6005,8 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
5873
6005
  autoRenewPeriod: 'number',
5874
6006
  compensateWithOnDemand: 'boolean',
5875
6007
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
6008
+ deploymentsetId: 'string',
6009
+ desiredSize: 'number',
5876
6010
  imageId: 'string',
5877
6011
  instanceChargeType: 'string',
5878
6012
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
@@ -6040,6 +6174,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
6040
6174
  cmsEnabled?: boolean;
6041
6175
  cpuPolicy?: string;
6042
6176
  labels?: Tag[];
6177
+ nodeNameMode?: string;
6043
6178
  runtime?: string;
6044
6179
  runtimeVersion?: string;
6045
6180
  taints?: Taint[];
@@ -6049,6 +6184,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
6049
6184
  cmsEnabled: 'cms_enabled',
6050
6185
  cpuPolicy: 'cpu_policy',
6051
6186
  labels: 'labels',
6187
+ nodeNameMode: 'node_name_mode',
6052
6188
  runtime: 'runtime',
6053
6189
  runtimeVersion: 'runtime_version',
6054
6190
  taints: 'taints',
@@ -6061,6 +6197,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
6061
6197
  cmsEnabled: 'boolean',
6062
6198
  cpuPolicy: 'string',
6063
6199
  labels: { 'type': 'array', 'itemType': Tag },
6200
+ nodeNameMode: 'string',
6064
6201
  runtime: 'string',
6065
6202
  runtimeVersion: 'string',
6066
6203
  taints: { 'type': 'array', 'itemType': Taint },
@@ -6193,6 +6330,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
6193
6330
  autoRenewPeriod?: number;
6194
6331
  compensateWithOnDemand?: boolean;
6195
6332
  dataDisks?: DataDisk[];
6333
+ deploymentsetId?: string;
6334
+ desiredSize?: number;
6196
6335
  imageId?: string;
6197
6336
  instanceChargeType?: string;
6198
6337
  instanceTypes?: string[];
@@ -6227,6 +6366,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
6227
6366
  autoRenewPeriod: 'auto_renew_period',
6228
6367
  compensateWithOnDemand: 'compensate_with_on_demand',
6229
6368
  dataDisks: 'data_disks',
6369
+ deploymentsetId: 'deploymentset_id',
6370
+ desiredSize: 'desired_size',
6230
6371
  imageId: 'image_id',
6231
6372
  instanceChargeType: 'instance_charge_type',
6232
6373
  instanceTypes: 'instance_types',
@@ -6264,6 +6405,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
6264
6405
  autoRenewPeriod: 'number',
6265
6406
  compensateWithOnDemand: 'boolean',
6266
6407
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
6408
+ deploymentsetId: 'string',
6409
+ desiredSize: 'number',
6267
6410
  imageId: 'string',
6268
6411
  instanceChargeType: 'string',
6269
6412
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
@@ -7987,6 +8130,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
7987
8130
  autoRenewPeriod?: number;
7988
8131
  compensateWithOnDemand?: boolean;
7989
8132
  dataDisks?: DataDisk[];
8133
+ desiredSize?: number;
7990
8134
  imageId?: string;
7991
8135
  instanceChargeType?: string;
7992
8136
  instanceTypes?: string[];
@@ -8017,6 +8161,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
8017
8161
  autoRenewPeriod: 'auto_renew_period',
8018
8162
  compensateWithOnDemand: 'compensate_with_on_demand',
8019
8163
  dataDisks: 'data_disks',
8164
+ desiredSize: 'desired_size',
8020
8165
  imageId: 'image_id',
8021
8166
  instanceChargeType: 'instance_charge_type',
8022
8167
  instanceTypes: 'instance_types',
@@ -8050,6 +8195,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
8050
8195
  autoRenewPeriod: 'number',
8051
8196
  compensateWithOnDemand: 'boolean',
8052
8197
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
8198
+ desiredSize: 'number',
8053
8199
  imageId: 'string',
8054
8200
  instanceChargeType: 'string',
8055
8201
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
@@ -8423,7 +8569,7 @@ export default class Client extends OpenApi {
8423
8569
  action: "CancelComponentUpgrade",
8424
8570
  version: "2015-12-15",
8425
8571
  protocol: "HTTPS",
8426
- pathname: `/clusters/${clusterId}/components/{componentId}/cancel`,
8572
+ pathname: `/clusters/${clusterId}/components/${componentId}/cancel`,
8427
8573
  method: "POST",
8428
8574
  authType: "AK",
8429
8575
  style: "ROA",
@@ -8738,6 +8884,10 @@ export default class Client extends OpenApi {
8738
8884
  body["region_id"] = request.regionId;
8739
8885
  }
8740
8886
 
8887
+ if (!Util.isUnset(request.resourceGroupId)) {
8888
+ body["resource_group_id"] = request.resourceGroupId;
8889
+ }
8890
+
8741
8891
  if (!Util.isUnset($tea.toMap(request.runtime))) {
8742
8892
  body["runtime"] = request.runtime;
8743
8893
  }
@@ -9175,7 +9325,7 @@ export default class Client extends OpenApi {
9175
9325
  action: "DeleteClusterNodepool",
9176
9326
  version: "2015-12-15",
9177
9327
  protocol: "HTTPS",
9178
- pathname: `/clusters/${ClusterId}/nodepools/{NodepoolId}`,
9328
+ pathname: `/clusters/${ClusterId}/nodepools/${NodepoolId}`,
9179
9329
  method: "DELETE",
9180
9330
  authType: "AK",
9181
9331
  style: "ROA",
@@ -9305,7 +9455,7 @@ export default class Client extends OpenApi {
9305
9455
  action: "DeletePolicyInstance",
9306
9456
  version: "2015-12-15",
9307
9457
  protocol: "HTTPS",
9308
- pathname: `/clusters/${clusterId}/policies/{policyName}`,
9458
+ pathname: `/clusters/${clusterId}/policies/${policyName}`,
9309
9459
  method: "DELETE",
9310
9460
  authType: "AK",
9311
9461
  style: "ROA",
@@ -9381,8 +9531,8 @@ export default class Client extends OpenApi {
9381
9531
  body["action"] = request.action;
9382
9532
  }
9383
9533
 
9384
- if (!Util.isUnset(request.namespace)) {
9385
- body["namespace"] = request.namespace;
9534
+ if (!Util.isUnset(request.namespaces)) {
9535
+ body["namespaces"] = request.namespaces;
9386
9536
  }
9387
9537
 
9388
9538
  if (!Util.isUnset(request.parameters)) {
@@ -9397,7 +9547,7 @@ export default class Client extends OpenApi {
9397
9547
  action: "DeployPolicyInstance",
9398
9548
  version: "2015-12-15",
9399
9549
  protocol: "HTTPS",
9400
- pathname: `/clusters/${clusterId}/policies/{policyName}`,
9550
+ pathname: `/clusters/${clusterId}/policies/${policyName}`,
9401
9551
  method: "POST",
9402
9552
  authType: "AK",
9403
9553
  style: "ROA",
@@ -9484,7 +9634,7 @@ export default class Client extends OpenApi {
9484
9634
  action: "DescribeClusterAddonMetadata",
9485
9635
  version: "2015-12-15",
9486
9636
  protocol: "HTTPS",
9487
- pathname: `/clusters/${clusterId}/components/{componentId}/metadata`,
9637
+ pathname: `/clusters/${clusterId}/components/${componentId}/metadata`,
9488
9638
  method: "GET",
9489
9639
  authType: "AK",
9490
9640
  style: "ROA",
@@ -9510,7 +9660,7 @@ export default class Client extends OpenApi {
9510
9660
  action: "DescribeClusterAddonUpgradeStatus",
9511
9661
  version: "2015-12-15",
9512
9662
  protocol: "HTTPS",
9513
- pathname: `/clusters/${ClusterId}/components/{ComponentId}/upgradestatus`,
9663
+ pathname: `/clusters/${ClusterId}/components/${ComponentId}/upgradestatus`,
9514
9664
  method: "GET",
9515
9665
  authType: "AK",
9516
9666
  style: "ROA",
@@ -9726,7 +9876,7 @@ export default class Client extends OpenApi {
9726
9876
  action: "DescribeClusterNodePoolDetail",
9727
9877
  version: "2015-12-15",
9728
9878
  protocol: "HTTPS",
9729
- pathname: `/clusters/${ClusterId}/nodepools/{NodepoolId}`,
9879
+ pathname: `/clusters/${ClusterId}/nodepools/${NodepoolId}`,
9730
9880
  method: "GET",
9731
9881
  authType: "AK",
9732
9882
  style: "ROA",
@@ -10213,6 +10363,10 @@ export default class Client extends OpenApi {
10213
10363
  query["Region"] = request.region;
10214
10364
  }
10215
10365
 
10366
+ if (!Util.isUnset(request.runtime)) {
10367
+ query["runtime"] = request.runtime;
10368
+ }
10369
+
10216
10370
  let req = new $OpenApi.OpenApiRequest({
10217
10371
  headers: headers,
10218
10372
  query: OpenApiUtil.query(query),
@@ -10912,7 +11066,7 @@ export default class Client extends OpenApi {
10912
11066
  action: "ModifyClusterAddon",
10913
11067
  version: "2015-12-15",
10914
11068
  protocol: "HTTPS",
10915
- pathname: `/clusters/${clusterId}/components/{componentId}/config`,
11069
+ pathname: `/clusters/${clusterId}/components/${componentId}/config`,
10916
11070
  method: "POST",
10917
11071
  authType: "AK",
10918
11072
  style: "ROA",
@@ -11001,7 +11155,7 @@ export default class Client extends OpenApi {
11001
11155
  action: "ModifyClusterNodePool",
11002
11156
  version: "2015-12-15",
11003
11157
  protocol: "HTTPS",
11004
- pathname: `/clusters/${ClusterId}/nodepools/{NodepoolId}`,
11158
+ pathname: `/clusters/${ClusterId}/nodepools/${NodepoolId}`,
11005
11159
  method: "PUT",
11006
11160
  authType: "AK",
11007
11161
  style: "ROA",
@@ -11073,7 +11227,7 @@ export default class Client extends OpenApi {
11073
11227
  action: "ModifyPolicyInstance",
11074
11228
  version: "2015-12-15",
11075
11229
  protocol: "HTTPS",
11076
- pathname: `/clusters/${clusterId}/policies/{policyName}`,
11230
+ pathname: `/clusters/${clusterId}/policies/${policyName}`,
11077
11231
  method: "PUT",
11078
11232
  authType: "AK",
11079
11233
  style: "ROA",
@@ -11155,7 +11309,7 @@ export default class Client extends OpenApi {
11155
11309
  action: "PauseComponentUpgrade",
11156
11310
  version: "2015-12-15",
11157
11311
  protocol: "HTTPS",
11158
- pathname: `/clusters/${clusterid}/components/{componentid}/pause`,
11312
+ pathname: `/clusters/${clusterid}/components/${componentid}/pause`,
11159
11313
  method: "POST",
11160
11314
  authType: "AK",
11161
11315
  style: "ROA",
@@ -11230,6 +11384,39 @@ export default class Client extends OpenApi {
11230
11384
  return $tea.cast<RemoveWorkflowResponse>(await this.callApi(params, req, runtime), new RemoveWorkflowResponse({}));
11231
11385
  }
11232
11386
 
11387
+ async repairClusterNodePool(clusterId: string, nodepoolId: string, request: RepairClusterNodePoolRequest): Promise<RepairClusterNodePoolResponse> {
11388
+ let runtime = new $Util.RuntimeOptions({ });
11389
+ let headers : {[key: string ]: string} = { };
11390
+ return await this.repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime);
11391
+ }
11392
+
11393
+ async repairClusterNodePoolWithOptions(clusterId: string, nodepoolId: string, request: RepairClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RepairClusterNodePoolResponse> {
11394
+ Util.validateModel(request);
11395
+ clusterId = OpenApiUtil.getEncodeParam(clusterId);
11396
+ nodepoolId = OpenApiUtil.getEncodeParam(nodepoolId);
11397
+ let body : {[key: string ]: any} = { };
11398
+ if (!Util.isUnset(request.nodes)) {
11399
+ body["nodes"] = request.nodes;
11400
+ }
11401
+
11402
+ let req = new $OpenApi.OpenApiRequest({
11403
+ headers: headers,
11404
+ body: OpenApiUtil.parseToMap(body),
11405
+ });
11406
+ let params = new $OpenApi.Params({
11407
+ action: "RepairClusterNodePool",
11408
+ version: "2015-12-15",
11409
+ protocol: "HTTPS",
11410
+ pathname: `/clusters/${clusterId}/nodepools/${nodepoolId}/repair`,
11411
+ method: "POST",
11412
+ authType: "AK",
11413
+ style: "ROA",
11414
+ reqBodyType: "json",
11415
+ bodyType: "json",
11416
+ });
11417
+ return $tea.cast<RepairClusterNodePoolResponse>(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
11418
+ }
11419
+
11233
11420
  async resumeComponentUpgrade(clusterid: string, componentid: string): Promise<ResumeComponentUpgradeResponse> {
11234
11421
  let runtime = new $Util.RuntimeOptions({ });
11235
11422
  let headers : {[key: string ]: string} = { };
@@ -11246,7 +11433,7 @@ export default class Client extends OpenApi {
11246
11433
  action: "ResumeComponentUpgrade",
11247
11434
  version: "2015-12-15",
11248
11435
  protocol: "HTTPS",
11249
- pathname: `/clusters/${clusterid}/components/{componentid}/resume`,
11436
+ pathname: `/clusters/${clusterid}/components/${componentid}/resume`,
11250
11437
  method: "POST",
11251
11438
  authType: "AK",
11252
11439
  style: "ROA",
@@ -11408,7 +11595,7 @@ export default class Client extends OpenApi {
11408
11595
  action: "ScaleClusterNodePool",
11409
11596
  version: "2015-12-15",
11410
11597
  protocol: "HTTPS",
11411
- pathname: `/clusters/${ClusterId}/nodepools/{NodepoolId}`,
11598
+ pathname: `/clusters/${ClusterId}/nodepools/${NodepoolId}`,
11412
11599
  method: "POST",
11413
11600
  authType: "AK",
11414
11601
  style: "ROA",
@@ -11671,7 +11858,7 @@ export default class Client extends OpenApi {
11671
11858
  authType: "AK",
11672
11859
  style: "ROA",
11673
11860
  reqBodyType: "json",
11674
- bodyType: "none",
11861
+ bodyType: "json",
11675
11862
  });
11676
11863
  return $tea.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
11677
11864
  }
@@ -11712,6 +11899,10 @@ export default class Client extends OpenApi {
11712
11899
  async untagResourcesWithOptions(request: UntagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse> {
11713
11900
  Util.validateModel(request);
11714
11901
  let query : {[key: string ]: any} = { };
11902
+ if (!Util.isUnset(request.all)) {
11903
+ query["all"] = request.all;
11904
+ }
11905
+
11715
11906
  if (!Util.isUnset(request.regionId)) {
11716
11907
  query["region_id"] = request.regionId;
11717
11908
  }
@@ -11741,7 +11932,7 @@ export default class Client extends OpenApi {
11741
11932
  authType: "AK",
11742
11933
  style: "ROA",
11743
11934
  reqBodyType: "json",
11744
- bodyType: "none",
11935
+ bodyType: "json",
11745
11936
  });
11746
11937
  return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
11747
11938
  }