@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/dist/client.js CHANGED
@@ -381,6 +381,7 @@ class CreateClusterRequest extends $tea.Model {
381
381
  proxyMode: 'proxy_mode',
382
382
  rdsInstances: 'rds_instances',
383
383
  regionId: 'region_id',
384
+ resourceGroupId: 'resource_group_id',
384
385
  runtime: 'runtime',
385
386
  securityGroupId: 'security_group_id',
386
387
  serviceAccountIssuer: 'service_account_issuer',
@@ -468,6 +469,7 @@ class CreateClusterRequest extends $tea.Model {
468
469
  proxyMode: 'string',
469
470
  rdsInstances: { 'type': 'array', 'itemType': 'string' },
470
471
  regionId: 'string',
472
+ resourceGroupId: 'string',
471
473
  runtime: Runtime,
472
474
  securityGroupId: 'string',
473
475
  serviceAccountIssuer: 'string',
@@ -1134,14 +1136,14 @@ class DeployPolicyInstanceRequest extends $tea.Model {
1134
1136
  static names() {
1135
1137
  return {
1136
1138
  action: 'action',
1137
- namespace: 'namespace',
1139
+ namespaces: 'namespaces',
1138
1140
  parameters: 'parameters',
1139
1141
  };
1140
1142
  }
1141
1143
  static types() {
1142
1144
  return {
1143
1145
  action: 'string',
1144
- namespace: 'string',
1146
+ namespaces: { 'type': 'array', 'itemType': 'string' },
1145
1147
  parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1146
1148
  };
1147
1149
  }
@@ -2251,6 +2253,7 @@ class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
2251
2253
  kubernetesVersion: 'KubernetesVersion',
2252
2254
  profile: 'Profile',
2253
2255
  region: 'Region',
2256
+ runtime: 'runtime',
2254
2257
  };
2255
2258
  }
2256
2259
  static types() {
@@ -2259,6 +2262,7 @@ class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
2259
2262
  kubernetesVersion: 'string',
2260
2263
  profile: 'string',
2261
2264
  region: 'string',
2265
+ runtime: 'string',
2262
2266
  };
2263
2267
  }
2264
2268
  }
@@ -3455,6 +3459,58 @@ class RemoveWorkflowResponse extends $tea.Model {
3455
3459
  }
3456
3460
  }
3457
3461
  exports.RemoveWorkflowResponse = RemoveWorkflowResponse;
3462
+ class RepairClusterNodePoolRequest extends $tea.Model {
3463
+ constructor(map) {
3464
+ super(map);
3465
+ }
3466
+ static names() {
3467
+ return {
3468
+ nodes: 'nodes',
3469
+ };
3470
+ }
3471
+ static types() {
3472
+ return {
3473
+ nodes: { 'type': 'array', 'itemType': 'string' },
3474
+ };
3475
+ }
3476
+ }
3477
+ exports.RepairClusterNodePoolRequest = RepairClusterNodePoolRequest;
3478
+ class RepairClusterNodePoolResponseBody extends $tea.Model {
3479
+ constructor(map) {
3480
+ super(map);
3481
+ }
3482
+ static names() {
3483
+ return {
3484
+ requestId: 'request_id',
3485
+ taskId: 'task_id',
3486
+ };
3487
+ }
3488
+ static types() {
3489
+ return {
3490
+ requestId: 'string',
3491
+ taskId: 'string',
3492
+ };
3493
+ }
3494
+ }
3495
+ exports.RepairClusterNodePoolResponseBody = RepairClusterNodePoolResponseBody;
3496
+ class RepairClusterNodePoolResponse extends $tea.Model {
3497
+ constructor(map) {
3498
+ super(map);
3499
+ }
3500
+ static names() {
3501
+ return {
3502
+ headers: 'headers',
3503
+ body: 'body',
3504
+ };
3505
+ }
3506
+ static types() {
3507
+ return {
3508
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3509
+ body: RepairClusterNodePoolResponseBody,
3510
+ };
3511
+ }
3512
+ }
3513
+ exports.RepairClusterNodePoolResponse = RepairClusterNodePoolResponse;
3458
3514
  class ResumeComponentUpgradeResponse extends $tea.Model {
3459
3515
  constructor(map) {
3460
3516
  super(map);
@@ -3829,6 +3885,22 @@ class TagResourcesRequest extends $tea.Model {
3829
3885
  }
3830
3886
  }
3831
3887
  exports.TagResourcesRequest = TagResourcesRequest;
3888
+ class TagResourcesResponseBody extends $tea.Model {
3889
+ constructor(map) {
3890
+ super(map);
3891
+ }
3892
+ static names() {
3893
+ return {
3894
+ requestId: 'RequestId',
3895
+ };
3896
+ }
3897
+ static types() {
3898
+ return {
3899
+ requestId: 'string',
3900
+ };
3901
+ }
3902
+ }
3903
+ exports.TagResourcesResponseBody = TagResourcesResponseBody;
3832
3904
  class TagResourcesResponse extends $tea.Model {
3833
3905
  constructor(map) {
3834
3906
  super(map);
@@ -3836,11 +3908,13 @@ class TagResourcesResponse extends $tea.Model {
3836
3908
  static names() {
3837
3909
  return {
3838
3910
  headers: 'headers',
3911
+ body: 'body',
3839
3912
  };
3840
3913
  }
3841
3914
  static types() {
3842
3915
  return {
3843
3916
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3917
+ body: TagResourcesResponseBody,
3844
3918
  };
3845
3919
  }
3846
3920
  }
@@ -3883,6 +3957,7 @@ class UntagResourcesRequest extends $tea.Model {
3883
3957
  }
3884
3958
  static names() {
3885
3959
  return {
3960
+ all: 'all',
3886
3961
  regionId: 'region_id',
3887
3962
  resourceIds: 'resource_ids',
3888
3963
  resourceType: 'resource_type',
@@ -3891,6 +3966,7 @@ class UntagResourcesRequest extends $tea.Model {
3891
3966
  }
3892
3967
  static types() {
3893
3968
  return {
3969
+ all: 'boolean',
3894
3970
  regionId: 'string',
3895
3971
  resourceIds: { 'type': 'array', 'itemType': 'string' },
3896
3972
  resourceType: 'string',
@@ -3899,6 +3975,22 @@ class UntagResourcesRequest extends $tea.Model {
3899
3975
  }
3900
3976
  }
3901
3977
  exports.UntagResourcesRequest = UntagResourcesRequest;
3978
+ class UntagResourcesResponseBody extends $tea.Model {
3979
+ constructor(map) {
3980
+ super(map);
3981
+ }
3982
+ static names() {
3983
+ return {
3984
+ requestId: 'RequestId',
3985
+ };
3986
+ }
3987
+ static types() {
3988
+ return {
3989
+ requestId: 'string',
3990
+ };
3991
+ }
3992
+ }
3993
+ exports.UntagResourcesResponseBody = UntagResourcesResponseBody;
3902
3994
  class UntagResourcesResponse extends $tea.Model {
3903
3995
  constructor(map) {
3904
3996
  super(map);
@@ -3906,11 +3998,13 @@ class UntagResourcesResponse extends $tea.Model {
3906
3998
  static names() {
3907
3999
  return {
3908
4000
  headers: 'headers',
4001
+ body: 'body',
3909
4002
  };
3910
4003
  }
3911
4004
  static types() {
3912
4005
  return {
3913
4006
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4007
+ body: UntagResourcesResponseBody,
3914
4008
  };
3915
4009
  }
3916
4010
  }
@@ -4166,6 +4260,7 @@ class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
4166
4260
  cmsEnabled: 'cms_enabled',
4167
4261
  cpuPolicy: 'cpu_policy',
4168
4262
  labels: 'labels',
4263
+ nodeNameMode: 'node_name_mode',
4169
4264
  runtime: 'runtime',
4170
4265
  runtimeVersion: 'runtime_version',
4171
4266
  taints: 'taints',
@@ -4177,6 +4272,7 @@ class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
4177
4272
  cmsEnabled: 'boolean',
4178
4273
  cpuPolicy: 'string',
4179
4274
  labels: { 'type': 'array', 'itemType': Tag },
4275
+ nodeNameMode: 'string',
4180
4276
  runtime: 'string',
4181
4277
  runtimeVersion: 'string',
4182
4278
  taints: { 'type': 'array', 'itemType': Taint },
@@ -4293,6 +4389,8 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
4293
4389
  autoRenewPeriod: 'auto_renew_period',
4294
4390
  compensateWithOnDemand: 'compensate_with_on_demand',
4295
4391
  dataDisks: 'data_disks',
4392
+ deploymentsetId: 'deploymentset_id',
4393
+ desiredSize: 'desired_size',
4296
4394
  imageId: 'image_id',
4297
4395
  imageType: 'image_type',
4298
4396
  instanceChargeType: 'instance_charge_type',
@@ -4328,6 +4426,8 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
4328
4426
  autoRenewPeriod: 'number',
4329
4427
  compensateWithOnDemand: 'boolean',
4330
4428
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
4429
+ deploymentsetId: 'string',
4430
+ desiredSize: 'number',
4331
4431
  imageId: 'string',
4332
4432
  imageType: 'string',
4333
4433
  instanceChargeType: 'string',
@@ -4496,6 +4596,7 @@ class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $tea.Mod
4496
4596
  cmsEnabled: 'cms_enabled',
4497
4597
  cpuPolicy: 'cpu_policy',
4498
4598
  labels: 'labels',
4599
+ nodeNameMode: 'node_name_mode',
4499
4600
  runtime: 'runtime',
4500
4601
  runtimeVersion: 'runtime_version',
4501
4602
  taints: 'taints',
@@ -4507,6 +4608,7 @@ class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $tea.Mod
4507
4608
  cmsEnabled: 'boolean',
4508
4609
  cpuPolicy: 'string',
4509
4610
  labels: { 'type': 'array', 'itemType': Tag },
4611
+ nodeNameMode: 'string',
4510
4612
  runtime: 'string',
4511
4613
  runtimeVersion: 'string',
4512
4614
  taints: { 'type': 'array', 'itemType': Taint },
@@ -4615,6 +4717,8 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
4615
4717
  autoRenewPeriod: 'auto_renew_period',
4616
4718
  compensateWithOnDemand: 'compensate_with_on_demand',
4617
4719
  dataDisks: 'data_disks',
4720
+ deploymentsetId: 'deploymentset_id',
4721
+ desiredSize: 'desired_size',
4618
4722
  imageId: 'image_id',
4619
4723
  instanceChargeType: 'instance_charge_type',
4620
4724
  instanceTypes: 'instance_types',
@@ -4651,6 +4755,8 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
4651
4755
  autoRenewPeriod: 'number',
4652
4756
  compensateWithOnDemand: 'boolean',
4653
4757
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
4758
+ deploymentsetId: 'string',
4759
+ desiredSize: 'number',
4654
4760
  imageId: 'string',
4655
4761
  instanceChargeType: 'string',
4656
4762
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
@@ -4790,6 +4896,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $tea
4790
4896
  cmsEnabled: 'cms_enabled',
4791
4897
  cpuPolicy: 'cpu_policy',
4792
4898
  labels: 'labels',
4899
+ nodeNameMode: 'node_name_mode',
4793
4900
  runtime: 'runtime',
4794
4901
  runtimeVersion: 'runtime_version',
4795
4902
  taints: 'taints',
@@ -4801,6 +4908,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $tea
4801
4908
  cmsEnabled: 'boolean',
4802
4909
  cpuPolicy: 'string',
4803
4910
  labels: { 'type': 'array', 'itemType': Tag },
4911
+ nodeNameMode: 'string',
4804
4912
  runtime: 'string',
4805
4913
  runtimeVersion: 'string',
4806
4914
  taints: { 'type': 'array', 'itemType': Taint },
@@ -4909,6 +5017,8 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
4909
5017
  autoRenewPeriod: 'auto_renew_period',
4910
5018
  compensateWithOnDemand: 'compensate_with_on_demand',
4911
5019
  dataDisks: 'data_disks',
5020
+ deploymentsetId: 'deploymentset_id',
5021
+ desiredSize: 'desired_size',
4912
5022
  imageId: 'image_id',
4913
5023
  instanceChargeType: 'instance_charge_type',
4914
5024
  instanceTypes: 'instance_types',
@@ -4945,6 +5055,8 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
4945
5055
  autoRenewPeriod: 'number',
4946
5056
  compensateWithOnDemand: 'boolean',
4947
5057
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
5058
+ deploymentsetId: 'string',
5059
+ desiredSize: 'number',
4948
5060
  imageId: 'string',
4949
5061
  instanceChargeType: 'string',
4950
5062
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
@@ -6275,6 +6387,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
6275
6387
  autoRenewPeriod: 'auto_renew_period',
6276
6388
  compensateWithOnDemand: 'compensate_with_on_demand',
6277
6389
  dataDisks: 'data_disks',
6390
+ desiredSize: 'desired_size',
6278
6391
  imageId: 'image_id',
6279
6392
  instanceChargeType: 'instance_charge_type',
6280
6393
  instanceTypes: 'instance_types',
@@ -6307,6 +6420,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
6307
6420
  autoRenewPeriod: 'number',
6308
6421
  compensateWithOnDemand: 'boolean',
6309
6422
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
6423
+ desiredSize: 'number',
6310
6424
  imageId: 'string',
6311
6425
  instanceChargeType: 'string',
6312
6426
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
@@ -6621,7 +6735,7 @@ class Client extends openapi_client_1.default {
6621
6735
  action: "CancelComponentUpgrade",
6622
6736
  version: "2015-12-15",
6623
6737
  protocol: "HTTPS",
6624
- pathname: `/clusters/${clusterId}/components/{componentId}/cancel`,
6738
+ pathname: `/clusters/${clusterId}/components/${componentId}/cancel`,
6625
6739
  method: "POST",
6626
6740
  authType: "AK",
6627
6741
  style: "ROA",
@@ -6870,6 +6984,9 @@ class Client extends openapi_client_1.default {
6870
6984
  if (!tea_util_1.default.isUnset(request.regionId)) {
6871
6985
  body["region_id"] = request.regionId;
6872
6986
  }
6987
+ if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
6988
+ body["resource_group_id"] = request.resourceGroupId;
6989
+ }
6873
6990
  if (!tea_util_1.default.isUnset($tea.toMap(request.runtime))) {
6874
6991
  body["runtime"] = request.runtime;
6875
6992
  }
@@ -7234,7 +7351,7 @@ class Client extends openapi_client_1.default {
7234
7351
  action: "DeleteClusterNodepool",
7235
7352
  version: "2015-12-15",
7236
7353
  protocol: "HTTPS",
7237
- pathname: `/clusters/${ClusterId}/nodepools/{NodepoolId}`,
7354
+ pathname: `/clusters/${ClusterId}/nodepools/${NodepoolId}`,
7238
7355
  method: "DELETE",
7239
7356
  authType: "AK",
7240
7357
  style: "ROA",
@@ -7351,7 +7468,7 @@ class Client extends openapi_client_1.default {
7351
7468
  action: "DeletePolicyInstance",
7352
7469
  version: "2015-12-15",
7353
7470
  protocol: "HTTPS",
7354
- pathname: `/clusters/${clusterId}/policies/{policyName}`,
7471
+ pathname: `/clusters/${clusterId}/policies/${policyName}`,
7355
7472
  method: "DELETE",
7356
7473
  authType: "AK",
7357
7474
  style: "ROA",
@@ -7420,8 +7537,8 @@ class Client extends openapi_client_1.default {
7420
7537
  if (!tea_util_1.default.isUnset(request.action)) {
7421
7538
  body["action"] = request.action;
7422
7539
  }
7423
- if (!tea_util_1.default.isUnset(request.namespace)) {
7424
- body["namespace"] = request.namespace;
7540
+ if (!tea_util_1.default.isUnset(request.namespaces)) {
7541
+ body["namespaces"] = request.namespaces;
7425
7542
  }
7426
7543
  if (!tea_util_1.default.isUnset(request.parameters)) {
7427
7544
  body["parameters"] = request.parameters;
@@ -7434,7 +7551,7 @@ class Client extends openapi_client_1.default {
7434
7551
  action: "DeployPolicyInstance",
7435
7552
  version: "2015-12-15",
7436
7553
  protocol: "HTTPS",
7437
- pathname: `/clusters/${clusterId}/policies/{policyName}`,
7554
+ pathname: `/clusters/${clusterId}/policies/${policyName}`,
7438
7555
  method: "POST",
7439
7556
  authType: "AK",
7440
7557
  style: "ROA",
@@ -7513,7 +7630,7 @@ class Client extends openapi_client_1.default {
7513
7630
  action: "DescribeClusterAddonMetadata",
7514
7631
  version: "2015-12-15",
7515
7632
  protocol: "HTTPS",
7516
- pathname: `/clusters/${clusterId}/components/{componentId}/metadata`,
7633
+ pathname: `/clusters/${clusterId}/components/${componentId}/metadata`,
7517
7634
  method: "GET",
7518
7635
  authType: "AK",
7519
7636
  style: "ROA",
@@ -7537,7 +7654,7 @@ class Client extends openapi_client_1.default {
7537
7654
  action: "DescribeClusterAddonUpgradeStatus",
7538
7655
  version: "2015-12-15",
7539
7656
  protocol: "HTTPS",
7540
- pathname: `/clusters/${ClusterId}/components/{ComponentId}/upgradestatus`,
7657
+ pathname: `/clusters/${ClusterId}/components/${ComponentId}/upgradestatus`,
7541
7658
  method: "GET",
7542
7659
  authType: "AK",
7543
7660
  style: "ROA",
@@ -7731,7 +7848,7 @@ class Client extends openapi_client_1.default {
7731
7848
  action: "DescribeClusterNodePoolDetail",
7732
7849
  version: "2015-12-15",
7733
7850
  protocol: "HTTPS",
7734
- pathname: `/clusters/${ClusterId}/nodepools/{NodepoolId}`,
7851
+ pathname: `/clusters/${ClusterId}/nodepools/${NodepoolId}`,
7735
7852
  method: "GET",
7736
7853
  authType: "AK",
7737
7854
  style: "ROA",
@@ -8159,6 +8276,9 @@ class Client extends openapi_client_1.default {
8159
8276
  if (!tea_util_1.default.isUnset(request.region)) {
8160
8277
  query["Region"] = request.region;
8161
8278
  }
8279
+ if (!tea_util_1.default.isUnset(request.runtime)) {
8280
+ query["runtime"] = request.runtime;
8281
+ }
8162
8282
  let req = new $OpenApi.OpenApiRequest({
8163
8283
  headers: headers,
8164
8284
  query: openapi_util_1.default.query(query),
@@ -8782,7 +8902,7 @@ class Client extends openapi_client_1.default {
8782
8902
  action: "ModifyClusterAddon",
8783
8903
  version: "2015-12-15",
8784
8904
  protocol: "HTTPS",
8785
- pathname: `/clusters/${clusterId}/components/{componentId}/config`,
8905
+ pathname: `/clusters/${clusterId}/components/${componentId}/config`,
8786
8906
  method: "POST",
8787
8907
  authType: "AK",
8788
8908
  style: "ROA",
@@ -8859,7 +8979,7 @@ class Client extends openapi_client_1.default {
8859
8979
  action: "ModifyClusterNodePool",
8860
8980
  version: "2015-12-15",
8861
8981
  protocol: "HTTPS",
8862
- pathname: `/clusters/${ClusterId}/nodepools/{NodepoolId}`,
8982
+ pathname: `/clusters/${ClusterId}/nodepools/${NodepoolId}`,
8863
8983
  method: "PUT",
8864
8984
  authType: "AK",
8865
8985
  style: "ROA",
@@ -8923,7 +9043,7 @@ class Client extends openapi_client_1.default {
8923
9043
  action: "ModifyPolicyInstance",
8924
9044
  version: "2015-12-15",
8925
9045
  protocol: "HTTPS",
8926
- pathname: `/clusters/${clusterId}/policies/{policyName}`,
9046
+ pathname: `/clusters/${clusterId}/policies/${policyName}`,
8927
9047
  method: "PUT",
8928
9048
  authType: "AK",
8929
9049
  style: "ROA",
@@ -8998,7 +9118,7 @@ class Client extends openapi_client_1.default {
8998
9118
  action: "PauseComponentUpgrade",
8999
9119
  version: "2015-12-15",
9000
9120
  protocol: "HTTPS",
9001
- pathname: `/clusters/${clusterid}/components/{componentid}/pause`,
9121
+ pathname: `/clusters/${clusterid}/components/${componentid}/pause`,
9002
9122
  method: "POST",
9003
9123
  authType: "AK",
9004
9124
  style: "ROA",
@@ -9065,6 +9185,36 @@ class Client extends openapi_client_1.default {
9065
9185
  });
9066
9186
  return $tea.cast(await this.callApi(params, req, runtime), new RemoveWorkflowResponse({}));
9067
9187
  }
9188
+ async repairClusterNodePool(clusterId, nodepoolId, request) {
9189
+ let runtime = new $Util.RuntimeOptions({});
9190
+ let headers = {};
9191
+ return await this.repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime);
9192
+ }
9193
+ async repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime) {
9194
+ tea_util_1.default.validateModel(request);
9195
+ clusterId = openapi_util_1.default.getEncodeParam(clusterId);
9196
+ nodepoolId = openapi_util_1.default.getEncodeParam(nodepoolId);
9197
+ let body = {};
9198
+ if (!tea_util_1.default.isUnset(request.nodes)) {
9199
+ body["nodes"] = request.nodes;
9200
+ }
9201
+ let req = new $OpenApi.OpenApiRequest({
9202
+ headers: headers,
9203
+ body: openapi_util_1.default.parseToMap(body),
9204
+ });
9205
+ let params = new $OpenApi.Params({
9206
+ action: "RepairClusterNodePool",
9207
+ version: "2015-12-15",
9208
+ protocol: "HTTPS",
9209
+ pathname: `/clusters/${clusterId}/nodepools/${nodepoolId}/repair`,
9210
+ method: "POST",
9211
+ authType: "AK",
9212
+ style: "ROA",
9213
+ reqBodyType: "json",
9214
+ bodyType: "json",
9215
+ });
9216
+ return $tea.cast(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
9217
+ }
9068
9218
  async resumeComponentUpgrade(clusterid, componentid) {
9069
9219
  let runtime = new $Util.RuntimeOptions({});
9070
9220
  let headers = {};
@@ -9080,7 +9230,7 @@ class Client extends openapi_client_1.default {
9080
9230
  action: "ResumeComponentUpgrade",
9081
9231
  version: "2015-12-15",
9082
9232
  protocol: "HTTPS",
9083
- pathname: `/clusters/${clusterid}/components/{componentid}/resume`,
9233
+ pathname: `/clusters/${clusterid}/components/${componentid}/resume`,
9084
9234
  method: "POST",
9085
9235
  authType: "AK",
9086
9236
  style: "ROA",
@@ -9216,7 +9366,7 @@ class Client extends openapi_client_1.default {
9216
9366
  action: "ScaleClusterNodePool",
9217
9367
  version: "2015-12-15",
9218
9368
  protocol: "HTTPS",
9219
- pathname: `/clusters/${ClusterId}/nodepools/{NodepoolId}`,
9369
+ pathname: `/clusters/${ClusterId}/nodepools/${NodepoolId}`,
9220
9370
  method: "POST",
9221
9371
  authType: "AK",
9222
9372
  style: "ROA",
@@ -9429,7 +9579,7 @@ class Client extends openapi_client_1.default {
9429
9579
  authType: "AK",
9430
9580
  style: "ROA",
9431
9581
  reqBodyType: "json",
9432
- bodyType: "none",
9582
+ bodyType: "json",
9433
9583
  });
9434
9584
  return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
9435
9585
  }
@@ -9466,6 +9616,9 @@ class Client extends openapi_client_1.default {
9466
9616
  async untagResourcesWithOptions(request, headers, runtime) {
9467
9617
  tea_util_1.default.validateModel(request);
9468
9618
  let query = {};
9619
+ if (!tea_util_1.default.isUnset(request.all)) {
9620
+ query["all"] = request.all;
9621
+ }
9469
9622
  if (!tea_util_1.default.isUnset(request.regionId)) {
9470
9623
  query["region_id"] = request.regionId;
9471
9624
  }
@@ -9491,7 +9644,7 @@ class Client extends openapi_client_1.default {
9491
9644
  authType: "AK",
9492
9645
  style: "ROA",
9493
9646
  reqBodyType: "json",
9494
- bodyType: "none",
9647
+ bodyType: "json",
9495
9648
  });
9496
9649
  return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
9497
9650
  }