@alicloud/cs20151215 3.1.2 → 3.3.0

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
@@ -53,6 +53,7 @@ class DataDisk extends $tea.Model {
53
53
  category: 'category',
54
54
  encrypted: 'encrypted',
55
55
  fileSystem: 'file_system',
56
+ kmsKeyId: 'kms_key_id',
56
57
  mountTarget: 'mount_target',
57
58
  performanceLevel: 'performance_level',
58
59
  provisionedIops: 'provisioned_iops',
@@ -67,6 +68,7 @@ class DataDisk extends $tea.Model {
67
68
  category: 'string',
68
69
  encrypted: 'string',
69
70
  fileSystem: 'string',
71
+ kmsKeyId: 'string',
70
72
  mountTarget: 'string',
71
73
  performanceLevel: 'string',
72
74
  provisionedIops: 'number',
@@ -162,6 +164,7 @@ class Nodepool extends $tea.Model {
162
164
  kubernetesConfig: 'kubernetes_config',
163
165
  management: 'management',
164
166
  maxNodes: 'max_nodes',
167
+ nodeConfig: 'node_config',
165
168
  nodepoolInfo: 'nodepool_info',
166
169
  scalingGroup: 'scaling_group',
167
170
  teeConfig: 'tee_config',
@@ -176,6 +179,7 @@ class Nodepool extends $tea.Model {
176
179
  kubernetesConfig: NodepoolKubernetesConfig,
177
180
  management: NodepoolManagement,
178
181
  maxNodes: 'number',
182
+ nodeConfig: NodepoolNodeConfig,
179
183
  nodepoolInfo: NodepoolNodepoolInfo,
180
184
  scalingGroup: NodepoolScalingGroup,
181
185
  teeConfig: NodepoolTeeConfig,
@@ -459,6 +463,42 @@ class CancelComponentUpgradeResponse extends $tea.Model {
459
463
  }
460
464
  }
461
465
  exports.CancelComponentUpgradeResponse = CancelComponentUpgradeResponse;
466
+ class CancelOperationPlanResponseBody extends $tea.Model {
467
+ constructor(map) {
468
+ super(map);
469
+ }
470
+ static names() {
471
+ return {
472
+ requestId: 'requestId',
473
+ };
474
+ }
475
+ static types() {
476
+ return {
477
+ requestId: 'string',
478
+ };
479
+ }
480
+ }
481
+ exports.CancelOperationPlanResponseBody = CancelOperationPlanResponseBody;
482
+ class CancelOperationPlanResponse extends $tea.Model {
483
+ constructor(map) {
484
+ super(map);
485
+ }
486
+ static names() {
487
+ return {
488
+ headers: 'headers',
489
+ statusCode: 'statusCode',
490
+ body: 'body',
491
+ };
492
+ }
493
+ static types() {
494
+ return {
495
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
496
+ statusCode: 'number',
497
+ body: CancelOperationPlanResponseBody,
498
+ };
499
+ }
500
+ }
501
+ exports.CancelOperationPlanResponse = CancelOperationPlanResponse;
462
502
  class CancelTaskResponse extends $tea.Model {
463
503
  constructor(map) {
464
504
  super(map);
@@ -860,6 +900,7 @@ class CreateClusterNodePoolRequest extends $tea.Model {
860
900
  kubernetesConfig: 'kubernetes_config',
861
901
  management: 'management',
862
902
  maxNodes: 'max_nodes',
903
+ nodeConfig: 'node_config',
863
904
  nodepoolInfo: 'nodepool_info',
864
905
  scalingGroup: 'scaling_group',
865
906
  teeConfig: 'tee_config',
@@ -874,6 +915,7 @@ class CreateClusterNodePoolRequest extends $tea.Model {
874
915
  kubernetesConfig: CreateClusterNodePoolRequestKubernetesConfig,
875
916
  management: CreateClusterNodePoolRequestManagement,
876
917
  maxNodes: 'number',
918
+ nodeConfig: CreateClusterNodePoolRequestNodeConfig,
877
919
  nodepoolInfo: CreateClusterNodePoolRequestNodepoolInfo,
878
920
  scalingGroup: CreateClusterNodePoolRequestScalingGroup,
879
921
  teeConfig: CreateClusterNodePoolRequestTeeConfig,
@@ -1251,11 +1293,15 @@ class DeleteClusterResponseBody extends $tea.Model {
1251
1293
  }
1252
1294
  static names() {
1253
1295
  return {
1296
+ clusterId: 'cluster_id',
1297
+ requestId: 'request_id',
1254
1298
  taskId: 'task_id',
1255
1299
  };
1256
1300
  }
1257
1301
  static types() {
1258
1302
  return {
1303
+ clusterId: 'string',
1304
+ requestId: 'string',
1259
1305
  taskId: 'string',
1260
1306
  };
1261
1307
  }
@@ -1304,11 +1350,13 @@ class DeleteClusterNodepoolResponseBody extends $tea.Model {
1304
1350
  static names() {
1305
1351
  return {
1306
1352
  requestId: 'request_id',
1353
+ taskId: 'task_id',
1307
1354
  };
1308
1355
  }
1309
1356
  static types() {
1310
1357
  return {
1311
1358
  requestId: 'string',
1359
+ taskId: 'string',
1312
1360
  };
1313
1361
  }
1314
1362
  }
@@ -1645,6 +1693,86 @@ class DescirbeWorkflowResponse extends $tea.Model {
1645
1693
  }
1646
1694
  }
1647
1695
  exports.DescirbeWorkflowResponse = DescirbeWorkflowResponse;
1696
+ class DescribeAddonRequest extends $tea.Model {
1697
+ constructor(map) {
1698
+ super(map);
1699
+ }
1700
+ static names() {
1701
+ return {
1702
+ clusterId: 'cluster_id',
1703
+ clusterSpec: 'cluster_spec',
1704
+ clusterType: 'cluster_type',
1705
+ clusterVersion: 'cluster_version',
1706
+ profile: 'profile',
1707
+ regionId: 'region_id',
1708
+ version: 'version',
1709
+ };
1710
+ }
1711
+ static types() {
1712
+ return {
1713
+ clusterId: 'string',
1714
+ clusterSpec: 'string',
1715
+ clusterType: 'string',
1716
+ clusterVersion: 'string',
1717
+ profile: 'string',
1718
+ regionId: 'string',
1719
+ version: 'string',
1720
+ };
1721
+ }
1722
+ }
1723
+ exports.DescribeAddonRequest = DescribeAddonRequest;
1724
+ class DescribeAddonResponseBody extends $tea.Model {
1725
+ constructor(map) {
1726
+ super(map);
1727
+ }
1728
+ static names() {
1729
+ return {
1730
+ architecture: 'architecture',
1731
+ category: 'category',
1732
+ configSchema: 'config_schema',
1733
+ installByDefault: 'install_by_default',
1734
+ managed: 'managed',
1735
+ name: 'name',
1736
+ newerVersions: 'newer_versions',
1737
+ supportedActions: 'supported_actions',
1738
+ version: 'version',
1739
+ };
1740
+ }
1741
+ static types() {
1742
+ return {
1743
+ architecture: { 'type': 'array', 'itemType': 'string' },
1744
+ category: 'string',
1745
+ configSchema: 'string',
1746
+ installByDefault: 'boolean',
1747
+ managed: 'boolean',
1748
+ name: 'string',
1749
+ newerVersions: { 'type': 'array', 'itemType': DescribeAddonResponseBodyNewerVersions },
1750
+ supportedActions: { 'type': 'array', 'itemType': 'string' },
1751
+ version: 'string',
1752
+ };
1753
+ }
1754
+ }
1755
+ exports.DescribeAddonResponseBody = DescribeAddonResponseBody;
1756
+ class DescribeAddonResponse extends $tea.Model {
1757
+ constructor(map) {
1758
+ super(map);
1759
+ }
1760
+ static names() {
1761
+ return {
1762
+ headers: 'headers',
1763
+ statusCode: 'statusCode',
1764
+ body: 'body',
1765
+ };
1766
+ }
1767
+ static types() {
1768
+ return {
1769
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1770
+ statusCode: 'number',
1771
+ body: DescribeAddonResponseBody,
1772
+ };
1773
+ }
1774
+ }
1775
+ exports.DescribeAddonResponse = DescribeAddonResponse;
1648
1776
  class DescribeAddonsRequest extends $tea.Model {
1649
1777
  constructor(map) {
1650
1778
  super(map);
@@ -3667,6 +3795,50 @@ class FixNodePoolVulsResponse extends $tea.Model {
3667
3795
  }
3668
3796
  }
3669
3797
  exports.FixNodePoolVulsResponse = FixNodePoolVulsResponse;
3798
+ class GetClusterAddonInstanceResponseBody extends $tea.Model {
3799
+ constructor(map) {
3800
+ super(map);
3801
+ }
3802
+ static names() {
3803
+ return {
3804
+ config: 'config',
3805
+ logging: 'logging',
3806
+ name: 'name',
3807
+ state: 'state',
3808
+ version: 'version',
3809
+ };
3810
+ }
3811
+ static types() {
3812
+ return {
3813
+ config: 'string',
3814
+ logging: GetClusterAddonInstanceResponseBodyLogging,
3815
+ name: 'string',
3816
+ state: 'string',
3817
+ version: 'string',
3818
+ };
3819
+ }
3820
+ }
3821
+ exports.GetClusterAddonInstanceResponseBody = GetClusterAddonInstanceResponseBody;
3822
+ class GetClusterAddonInstanceResponse extends $tea.Model {
3823
+ constructor(map) {
3824
+ super(map);
3825
+ }
3826
+ static names() {
3827
+ return {
3828
+ headers: 'headers',
3829
+ statusCode: 'statusCode',
3830
+ body: 'body',
3831
+ };
3832
+ }
3833
+ static types() {
3834
+ return {
3835
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3836
+ statusCode: 'number',
3837
+ body: GetClusterAddonInstanceResponseBody,
3838
+ };
3839
+ }
3840
+ }
3841
+ exports.GetClusterAddonInstanceResponse = GetClusterAddonInstanceResponse;
3670
3842
  class GetClusterCheckResponseBody extends $tea.Model {
3671
3843
  constructor(map) {
3672
3844
  super(map);
@@ -3869,6 +4041,104 @@ class InstallClusterAddonsResponse extends $tea.Model {
3869
4041
  }
3870
4042
  }
3871
4043
  exports.InstallClusterAddonsResponse = InstallClusterAddonsResponse;
4044
+ class ListAddonsRequest extends $tea.Model {
4045
+ constructor(map) {
4046
+ super(map);
4047
+ }
4048
+ static names() {
4049
+ return {
4050
+ clusterId: 'cluster_id',
4051
+ clusterSpec: 'cluster_spec',
4052
+ clusterType: 'cluster_type',
4053
+ clusterVersion: 'cluster_version',
4054
+ profile: 'profile',
4055
+ regionId: 'region_id',
4056
+ };
4057
+ }
4058
+ static types() {
4059
+ return {
4060
+ clusterId: 'string',
4061
+ clusterSpec: 'string',
4062
+ clusterType: 'string',
4063
+ clusterVersion: 'string',
4064
+ profile: 'string',
4065
+ regionId: 'string',
4066
+ };
4067
+ }
4068
+ }
4069
+ exports.ListAddonsRequest = ListAddonsRequest;
4070
+ class ListAddonsResponseBody extends $tea.Model {
4071
+ constructor(map) {
4072
+ super(map);
4073
+ }
4074
+ static names() {
4075
+ return {
4076
+ addons: 'addons',
4077
+ };
4078
+ }
4079
+ static types() {
4080
+ return {
4081
+ addons: { 'type': 'array', 'itemType': ListAddonsResponseBodyAddons },
4082
+ };
4083
+ }
4084
+ }
4085
+ exports.ListAddonsResponseBody = ListAddonsResponseBody;
4086
+ class ListAddonsResponse extends $tea.Model {
4087
+ constructor(map) {
4088
+ super(map);
4089
+ }
4090
+ static names() {
4091
+ return {
4092
+ headers: 'headers',
4093
+ statusCode: 'statusCode',
4094
+ body: 'body',
4095
+ };
4096
+ }
4097
+ static types() {
4098
+ return {
4099
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4100
+ statusCode: 'number',
4101
+ body: ListAddonsResponseBody,
4102
+ };
4103
+ }
4104
+ }
4105
+ exports.ListAddonsResponse = ListAddonsResponse;
4106
+ class ListClusterAddonInstancesResponseBody extends $tea.Model {
4107
+ constructor(map) {
4108
+ super(map);
4109
+ }
4110
+ static names() {
4111
+ return {
4112
+ addons: 'addons',
4113
+ };
4114
+ }
4115
+ static types() {
4116
+ return {
4117
+ addons: { 'type': 'array', 'itemType': ListClusterAddonInstancesResponseBodyAddons },
4118
+ };
4119
+ }
4120
+ }
4121
+ exports.ListClusterAddonInstancesResponseBody = ListClusterAddonInstancesResponseBody;
4122
+ class ListClusterAddonInstancesResponse extends $tea.Model {
4123
+ constructor(map) {
4124
+ super(map);
4125
+ }
4126
+ static names() {
4127
+ return {
4128
+ headers: 'headers',
4129
+ statusCode: 'statusCode',
4130
+ body: 'body',
4131
+ };
4132
+ }
4133
+ static types() {
4134
+ return {
4135
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4136
+ statusCode: 'number',
4137
+ body: ListClusterAddonInstancesResponseBody,
4138
+ };
4139
+ }
4140
+ }
4141
+ exports.ListClusterAddonInstancesResponse = ListClusterAddonInstancesResponse;
3872
4142
  class ListClusterChecksRequest extends $tea.Model {
3873
4143
  constructor(map) {
3874
4144
  super(map);
@@ -3921,6 +4191,60 @@ class ListClusterChecksResponse extends $tea.Model {
3921
4191
  }
3922
4192
  }
3923
4193
  exports.ListClusterChecksResponse = ListClusterChecksResponse;
4194
+ class ListOperationPlansRequest extends $tea.Model {
4195
+ constructor(map) {
4196
+ super(map);
4197
+ }
4198
+ static names() {
4199
+ return {
4200
+ clusterId: 'cluster_id',
4201
+ type: 'type',
4202
+ };
4203
+ }
4204
+ static types() {
4205
+ return {
4206
+ clusterId: 'string',
4207
+ type: 'string',
4208
+ };
4209
+ }
4210
+ }
4211
+ exports.ListOperationPlansRequest = ListOperationPlansRequest;
4212
+ class ListOperationPlansResponseBody extends $tea.Model {
4213
+ constructor(map) {
4214
+ super(map);
4215
+ }
4216
+ static names() {
4217
+ return {
4218
+ plans: 'plans',
4219
+ };
4220
+ }
4221
+ static types() {
4222
+ return {
4223
+ plans: { 'type': 'array', 'itemType': ListOperationPlansResponseBodyPlans },
4224
+ };
4225
+ }
4226
+ }
4227
+ exports.ListOperationPlansResponseBody = ListOperationPlansResponseBody;
4228
+ class ListOperationPlansResponse extends $tea.Model {
4229
+ constructor(map) {
4230
+ super(map);
4231
+ }
4232
+ static names() {
4233
+ return {
4234
+ headers: 'headers',
4235
+ statusCode: 'statusCode',
4236
+ body: 'body',
4237
+ };
4238
+ }
4239
+ static types() {
4240
+ return {
4241
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4242
+ statusCode: 'number',
4243
+ body: ListOperationPlansResponseBody,
4244
+ };
4245
+ }
4246
+ }
4247
+ exports.ListOperationPlansResponse = ListOperationPlansResponse;
3924
4248
  class ListTagResourcesRequest extends $tea.Model {
3925
4249
  constructor(map) {
3926
4250
  super(map);
@@ -4220,6 +4544,7 @@ class ModifyClusterNodePoolRequest extends $tea.Model {
4220
4544
  static names() {
4221
4545
  return {
4222
4546
  autoScaling: 'auto_scaling',
4547
+ concurrency: 'concurrency',
4223
4548
  kubernetesConfig: 'kubernetes_config',
4224
4549
  management: 'management',
4225
4550
  nodepoolInfo: 'nodepool_info',
@@ -4231,6 +4556,7 @@ class ModifyClusterNodePoolRequest extends $tea.Model {
4231
4556
  static types() {
4232
4557
  return {
4233
4558
  autoScaling: ModifyClusterNodePoolRequestAutoScaling,
4559
+ concurrency: 'boolean',
4234
4560
  kubernetesConfig: ModifyClusterNodePoolRequestKubernetesConfig,
4235
4561
  management: ModifyClusterNodePoolRequestManagement,
4236
4562
  nodepoolInfo: ModifyClusterNodePoolRequestNodepoolInfo,
@@ -4581,6 +4907,7 @@ class RemoveNodePoolNodesRequest extends $tea.Model {
4581
4907
  }
4582
4908
  static names() {
4583
4909
  return {
4910
+ concurrency: 'concurrency',
4584
4911
  drainNode: 'drain_node',
4585
4912
  instanceIds: 'instance_ids',
4586
4913
  nodes: 'nodes',
@@ -4589,6 +4916,7 @@ class RemoveNodePoolNodesRequest extends $tea.Model {
4589
4916
  }
4590
4917
  static types() {
4591
4918
  return {
4919
+ concurrency: 'boolean',
4592
4920
  drainNode: 'boolean',
4593
4921
  instanceIds: { 'type': 'array', 'itemType': 'string' },
4594
4922
  nodes: { 'type': 'array', 'itemType': 'string' },
@@ -4603,6 +4931,7 @@ class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
4603
4931
  }
4604
4932
  static names() {
4605
4933
  return {
4934
+ concurrency: 'concurrency',
4606
4935
  drainNode: 'drain_node',
4607
4936
  instanceIdsShrink: 'instance_ids',
4608
4937
  nodesShrink: 'nodes',
@@ -4611,6 +4940,7 @@ class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
4611
4940
  }
4612
4941
  static types() {
4613
4942
  return {
4943
+ concurrency: 'boolean',
4614
4944
  drainNode: 'boolean',
4615
4945
  instanceIdsShrink: 'string',
4616
4946
  nodesShrink: 'string',
@@ -5535,6 +5865,26 @@ class UpdateControlPlaneLogRequest extends $tea.Model {
5535
5865
  }
5536
5866
  }
5537
5867
  exports.UpdateControlPlaneLogRequest = UpdateControlPlaneLogRequest;
5868
+ class UpdateControlPlaneLogResponseBody extends $tea.Model {
5869
+ constructor(map) {
5870
+ super(map);
5871
+ }
5872
+ static names() {
5873
+ return {
5874
+ clusterId: 'cluster_id',
5875
+ requestId: 'request_id',
5876
+ taskId: 'task_id',
5877
+ };
5878
+ }
5879
+ static types() {
5880
+ return {
5881
+ clusterId: 'string',
5882
+ requestId: 'string',
5883
+ taskId: 'string',
5884
+ };
5885
+ }
5886
+ }
5887
+ exports.UpdateControlPlaneLogResponseBody = UpdateControlPlaneLogResponseBody;
5538
5888
  class UpdateControlPlaneLogResponse extends $tea.Model {
5539
5889
  constructor(map) {
5540
5890
  super(map);
@@ -5543,12 +5893,14 @@ class UpdateControlPlaneLogResponse extends $tea.Model {
5543
5893
  return {
5544
5894
  headers: 'headers',
5545
5895
  statusCode: 'statusCode',
5896
+ body: 'body',
5546
5897
  };
5547
5898
  }
5548
5899
  static types() {
5549
5900
  return {
5550
5901
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5551
5902
  statusCode: 'number',
5903
+ body: UpdateControlPlaneLogResponseBody,
5552
5904
  };
5553
5905
  }
5554
5906
  }
@@ -5847,6 +6199,56 @@ class NodepoolKubernetesConfig extends $tea.Model {
5847
6199
  }
5848
6200
  }
5849
6201
  exports.NodepoolKubernetesConfig = NodepoolKubernetesConfig;
6202
+ class NodepoolManagementAutoRepairPolicy extends $tea.Model {
6203
+ constructor(map) {
6204
+ super(map);
6205
+ }
6206
+ static names() {
6207
+ return {
6208
+ restartNode: 'restart_node',
6209
+ };
6210
+ }
6211
+ static types() {
6212
+ return {
6213
+ restartNode: 'boolean',
6214
+ };
6215
+ }
6216
+ }
6217
+ exports.NodepoolManagementAutoRepairPolicy = NodepoolManagementAutoRepairPolicy;
6218
+ class NodepoolManagementAutoUpgradePolicy extends $tea.Model {
6219
+ constructor(map) {
6220
+ super(map);
6221
+ }
6222
+ static names() {
6223
+ return {
6224
+ autoUpgradeKubelet: 'auto_upgrade_kubelet',
6225
+ };
6226
+ }
6227
+ static types() {
6228
+ return {
6229
+ autoUpgradeKubelet: 'boolean',
6230
+ };
6231
+ }
6232
+ }
6233
+ exports.NodepoolManagementAutoUpgradePolicy = NodepoolManagementAutoUpgradePolicy;
6234
+ class NodepoolManagementAutoVulFixPolicy extends $tea.Model {
6235
+ constructor(map) {
6236
+ super(map);
6237
+ }
6238
+ static names() {
6239
+ return {
6240
+ restartNode: 'restart_node',
6241
+ vulLevel: 'vul_level',
6242
+ };
6243
+ }
6244
+ static types() {
6245
+ return {
6246
+ restartNode: 'boolean',
6247
+ vulLevel: 'string',
6248
+ };
6249
+ }
6250
+ }
6251
+ exports.NodepoolManagementAutoVulFixPolicy = NodepoolManagementAutoVulFixPolicy;
5850
6252
  class NodepoolManagementUpgradeConfig extends $tea.Model {
5851
6253
  constructor(map) {
5852
6254
  super(map);
@@ -5876,6 +6278,11 @@ class NodepoolManagement extends $tea.Model {
5876
6278
  static names() {
5877
6279
  return {
5878
6280
  autoRepair: 'auto_repair',
6281
+ autoRepairPolicy: 'auto_repair_policy',
6282
+ autoUpgrade: 'auto_upgrade',
6283
+ autoUpgradePolicy: 'auto_upgrade_policy',
6284
+ autoVulFix: 'auto_vul_fix',
6285
+ autoVulFixPolicy: 'auto_vul_fix_policy',
5879
6286
  enable: 'enable',
5880
6287
  upgradeConfig: 'upgrade_config',
5881
6288
  };
@@ -5883,12 +6290,33 @@ class NodepoolManagement extends $tea.Model {
5883
6290
  static types() {
5884
6291
  return {
5885
6292
  autoRepair: 'boolean',
6293
+ autoRepairPolicy: NodepoolManagementAutoRepairPolicy,
6294
+ autoUpgrade: 'boolean',
6295
+ autoUpgradePolicy: NodepoolManagementAutoUpgradePolicy,
6296
+ autoVulFix: 'boolean',
6297
+ autoVulFixPolicy: NodepoolManagementAutoVulFixPolicy,
5886
6298
  enable: 'boolean',
5887
6299
  upgradeConfig: NodepoolManagementUpgradeConfig,
5888
6300
  };
5889
6301
  }
5890
6302
  }
5891
6303
  exports.NodepoolManagement = NodepoolManagement;
6304
+ class NodepoolNodeConfig extends $tea.Model {
6305
+ constructor(map) {
6306
+ super(map);
6307
+ }
6308
+ static names() {
6309
+ return {
6310
+ kubeletConfiguration: 'kubelet_configuration',
6311
+ };
6312
+ }
6313
+ static types() {
6314
+ return {
6315
+ kubeletConfiguration: KubeletConfig,
6316
+ };
6317
+ }
6318
+ }
6319
+ exports.NodepoolNodeConfig = NodepoolNodeConfig;
5892
6320
  class NodepoolNodepoolInfo extends $tea.Model {
5893
6321
  constructor(map) {
5894
6322
  super(map);
@@ -5982,6 +6410,7 @@ class NodepoolScalingGroup extends $tea.Model {
5982
6410
  internetChargeType: 'internet_charge_type',
5983
6411
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
5984
6412
  keyPair: 'key_pair',
6413
+ loginAsNonRoot: 'login_as_non_root',
5985
6414
  loginPassword: 'login_password',
5986
6415
  multiAzPolicy: 'multi_az_policy',
5987
6416
  onDemandBaseCapacity: 'on_demand_base_capacity',
@@ -5999,7 +6428,11 @@ class NodepoolScalingGroup extends $tea.Model {
5999
6428
  spotPriceLimit: 'spot_price_limit',
6000
6429
  spotStrategy: 'spot_strategy',
6001
6430
  systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
6431
+ systemDiskCategories: 'system_disk_categories',
6002
6432
  systemDiskCategory: 'system_disk_category',
6433
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
6434
+ systemDiskEncrypted: 'system_disk_encrypted',
6435
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
6003
6436
  systemDiskPerformanceLevel: 'system_disk_performance_level',
6004
6437
  systemDiskProvisionedIops: 'system_disk_provisioned_iops',
6005
6438
  systemDiskSize: 'system_disk_size',
@@ -6022,6 +6455,7 @@ class NodepoolScalingGroup extends $tea.Model {
6022
6455
  internetChargeType: 'string',
6023
6456
  internetMaxBandwidthOut: 'number',
6024
6457
  keyPair: 'string',
6458
+ loginAsNonRoot: 'boolean',
6025
6459
  loginPassword: 'string',
6026
6460
  multiAzPolicy: 'string',
6027
6461
  onDemandBaseCapacity: 'number',
@@ -6039,7 +6473,11 @@ class NodepoolScalingGroup extends $tea.Model {
6039
6473
  spotPriceLimit: { 'type': 'array', 'itemType': NodepoolScalingGroupSpotPriceLimit },
6040
6474
  spotStrategy: 'string',
6041
6475
  systemDiskBurstingEnabled: 'boolean',
6476
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
6042
6477
  systemDiskCategory: 'string',
6478
+ systemDiskEncryptAlgorithm: 'string',
6479
+ systemDiskEncrypted: 'boolean',
6480
+ systemDiskKmsKeyId: 'string',
6043
6481
  systemDiskPerformanceLevel: 'string',
6044
6482
  systemDiskProvisionedIops: 'number',
6045
6483
  systemDiskSize: 'number',
@@ -6172,6 +6610,7 @@ class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
6172
6610
  runtime: 'runtime',
6173
6611
  runtimeVersion: 'runtime_version',
6174
6612
  taints: 'taints',
6613
+ unschedulable: 'unschedulable',
6175
6614
  userData: 'user_data',
6176
6615
  };
6177
6616
  }
@@ -6184,6 +6623,7 @@ class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
6184
6623
  runtime: 'string',
6185
6624
  runtimeVersion: 'string',
6186
6625
  taints: { 'type': 'array', 'itemType': Taint },
6626
+ unschedulable: 'boolean',
6187
6627
  userData: 'string',
6188
6628
  };
6189
6629
  }
@@ -6291,6 +6731,22 @@ class CreateClusterNodePoolRequestManagement extends $tea.Model {
6291
6731
  }
6292
6732
  }
6293
6733
  exports.CreateClusterNodePoolRequestManagement = CreateClusterNodePoolRequestManagement;
6734
+ class CreateClusterNodePoolRequestNodeConfig extends $tea.Model {
6735
+ constructor(map) {
6736
+ super(map);
6737
+ }
6738
+ static names() {
6739
+ return {
6740
+ kubeletConfiguration: 'kubelet_configuration',
6741
+ };
6742
+ }
6743
+ static types() {
6744
+ return {
6745
+ kubeletConfiguration: KubeletConfig,
6746
+ };
6747
+ }
6748
+ }
6749
+ exports.CreateClusterNodePoolRequestNodeConfig = CreateClusterNodePoolRequestNodeConfig;
6294
6750
  class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model {
6295
6751
  constructor(map) {
6296
6752
  super(map);
@@ -6373,6 +6829,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
6373
6829
  return {
6374
6830
  autoRenew: 'auto_renew',
6375
6831
  autoRenewPeriod: 'auto_renew_period',
6832
+ cisEnabled: 'cis_enabled',
6376
6833
  compensateWithOnDemand: 'compensate_with_on_demand',
6377
6834
  dataDisks: 'data_disks',
6378
6835
  deploymentsetId: 'deploymentset_id',
@@ -6384,6 +6841,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
6384
6841
  internetChargeType: 'internet_charge_type',
6385
6842
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
6386
6843
  keyPair: 'key_pair',
6844
+ loginAsNonRoot: 'login_as_non_root',
6387
6845
  loginPassword: 'login_password',
6388
6846
  multiAzPolicy: 'multi_az_policy',
6389
6847
  onDemandBaseCapacity: 'on_demand_base_capacity',
@@ -6396,12 +6854,17 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
6396
6854
  scalingPolicy: 'scaling_policy',
6397
6855
  securityGroupId: 'security_group_id',
6398
6856
  securityGroupIds: 'security_group_ids',
6857
+ socEnabled: 'soc_enabled',
6399
6858
  spotInstancePools: 'spot_instance_pools',
6400
6859
  spotInstanceRemedy: 'spot_instance_remedy',
6401
6860
  spotPriceLimit: 'spot_price_limit',
6402
6861
  spotStrategy: 'spot_strategy',
6403
6862
  systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
6863
+ systemDiskCategories: 'system_disk_categories',
6404
6864
  systemDiskCategory: 'system_disk_category',
6865
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
6866
+ systemDiskEncrypted: 'system_disk_encrypted',
6867
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
6405
6868
  systemDiskPerformanceLevel: 'system_disk_performance_level',
6406
6869
  systemDiskProvisionedIops: 'system_disk_provisioned_iops',
6407
6870
  systemDiskSize: 'system_disk_size',
@@ -6413,6 +6876,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
6413
6876
  return {
6414
6877
  autoRenew: 'boolean',
6415
6878
  autoRenewPeriod: 'number',
6879
+ cisEnabled: 'boolean',
6416
6880
  compensateWithOnDemand: 'boolean',
6417
6881
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
6418
6882
  deploymentsetId: 'string',
@@ -6424,6 +6888,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
6424
6888
  internetChargeType: 'string',
6425
6889
  internetMaxBandwidthOut: 'number',
6426
6890
  keyPair: 'string',
6891
+ loginAsNonRoot: 'boolean',
6427
6892
  loginPassword: 'string',
6428
6893
  multiAzPolicy: 'string',
6429
6894
  onDemandBaseCapacity: 'number',
@@ -6436,12 +6901,17 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
6436
6901
  scalingPolicy: 'string',
6437
6902
  securityGroupId: 'string',
6438
6903
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
6904
+ socEnabled: 'boolean',
6439
6905
  spotInstancePools: 'number',
6440
6906
  spotInstanceRemedy: 'boolean',
6441
6907
  spotPriceLimit: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupSpotPriceLimit },
6442
6908
  spotStrategy: 'string',
6443
6909
  systemDiskBurstingEnabled: 'boolean',
6910
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
6444
6911
  systemDiskCategory: 'string',
6912
+ systemDiskEncryptAlgorithm: 'string',
6913
+ systemDiskEncrypted: 'boolean',
6914
+ systemDiskKmsKeyId: 'string',
6445
6915
  systemDiskPerformanceLevel: 'string',
6446
6916
  systemDiskProvisionedIops: 'number',
6447
6917
  systemDiskSize: 'number',
@@ -6467,6 +6937,26 @@ class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
6467
6937
  }
6468
6938
  }
6469
6939
  exports.CreateClusterNodePoolRequestTeeConfig = CreateClusterNodePoolRequestTeeConfig;
6940
+ class DescribeAddonResponseBodyNewerVersions extends $tea.Model {
6941
+ constructor(map) {
6942
+ super(map);
6943
+ }
6944
+ static names() {
6945
+ return {
6946
+ minimumClusterVersion: 'minimum_cluster_version',
6947
+ upgradable: 'upgradable',
6948
+ version: 'version',
6949
+ };
6950
+ }
6951
+ static types() {
6952
+ return {
6953
+ minimumClusterVersion: 'string',
6954
+ upgradable: 'boolean',
6955
+ version: 'string',
6956
+ };
6957
+ }
6958
+ }
6959
+ exports.DescribeAddonResponseBodyNewerVersions = DescribeAddonResponseBodyNewerVersions;
6470
6960
  class DescribeAddonsResponseBodyComponentGroupsItems extends $tea.Model {
6471
6961
  constructor(map) {
6472
6962
  super(map);
@@ -6658,6 +7148,7 @@ class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $tea.Mod
6658
7148
  runtime: 'runtime',
6659
7149
  runtimeVersion: 'runtime_version',
6660
7150
  taints: 'taints',
7151
+ unschedulable: 'unschedulable',
6661
7152
  userData: 'user_data',
6662
7153
  };
6663
7154
  }
@@ -6670,6 +7161,7 @@ class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $tea.Mod
6670
7161
  runtime: 'string',
6671
7162
  runtimeVersion: 'string',
6672
7163
  taints: { 'type': 'array', 'itemType': Taint },
7164
+ unschedulable: 'boolean',
6673
7165
  userData: 'string',
6674
7166
  };
6675
7167
  }
@@ -6867,16 +7359,19 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
6867
7359
  return {
6868
7360
  autoRenew: 'auto_renew',
6869
7361
  autoRenewPeriod: 'auto_renew_period',
7362
+ cisEnabled: 'cis_enabled',
6870
7363
  compensateWithOnDemand: 'compensate_with_on_demand',
6871
7364
  dataDisks: 'data_disks',
6872
7365
  deploymentsetId: 'deploymentset_id',
6873
7366
  desiredSize: 'desired_size',
6874
7367
  imageId: 'image_id',
7368
+ imageType: 'image_type',
6875
7369
  instanceChargeType: 'instance_charge_type',
6876
7370
  instanceTypes: 'instance_types',
6877
7371
  internetChargeType: 'internet_charge_type',
6878
7372
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
6879
7373
  keyPair: 'key_pair',
7374
+ loginAsNonRoot: 'login_as_non_root',
6880
7375
  loginPassword: 'login_password',
6881
7376
  multiAzPolicy: 'multi_az_policy',
6882
7377
  onDemandBaseCapacity: 'on_demand_base_capacity',
@@ -6891,12 +7386,19 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
6891
7386
  scalingPolicy: 'scaling_policy',
6892
7387
  securityGroupId: 'security_group_id',
6893
7388
  securityGroupIds: 'security_group_ids',
7389
+ socEnabled: 'soc_enabled',
6894
7390
  spotInstancePools: 'spot_instance_pools',
6895
7391
  spotInstanceRemedy: 'spot_instance_remedy',
6896
7392
  spotPriceLimit: 'spot_price_limit',
6897
7393
  spotStrategy: 'spot_strategy',
7394
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
7395
+ systemDiskCategories: 'system_disk_categories',
6898
7396
  systemDiskCategory: 'system_disk_category',
7397
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
7398
+ systemDiskEncrypted: 'system_disk_encrypted',
7399
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
6899
7400
  systemDiskPerformanceLevel: 'system_disk_performance_level',
7401
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
6900
7402
  systemDiskSize: 'system_disk_size',
6901
7403
  tags: 'tags',
6902
7404
  vswitchIds: 'vswitch_ids',
@@ -6906,16 +7408,19 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
6906
7408
  return {
6907
7409
  autoRenew: 'boolean',
6908
7410
  autoRenewPeriod: 'number',
7411
+ cisEnabled: 'boolean',
6909
7412
  compensateWithOnDemand: 'boolean',
6910
7413
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
6911
7414
  deploymentsetId: 'string',
6912
7415
  desiredSize: 'number',
6913
7416
  imageId: 'string',
7417
+ imageType: 'string',
6914
7418
  instanceChargeType: 'string',
6915
7419
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
6916
7420
  internetChargeType: 'string',
6917
7421
  internetMaxBandwidthOut: 'number',
6918
7422
  keyPair: 'string',
7423
+ loginAsNonRoot: 'boolean',
6919
7424
  loginPassword: 'string',
6920
7425
  multiAzPolicy: 'string',
6921
7426
  onDemandBaseCapacity: 'number',
@@ -6930,12 +7435,19 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
6930
7435
  scalingPolicy: 'string',
6931
7436
  securityGroupId: 'string',
6932
7437
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
7438
+ socEnabled: 'boolean',
6933
7439
  spotInstancePools: 'number',
6934
7440
  spotInstanceRemedy: 'boolean',
6935
7441
  spotPriceLimit: { 'type': 'array', 'itemType': DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit },
6936
7442
  spotStrategy: 'string',
7443
+ systemDiskBurstingEnabled: 'boolean',
7444
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
6937
7445
  systemDiskCategory: 'string',
7446
+ systemDiskEncryptAlgorithm: 'string',
7447
+ systemDiskEncrypted: 'boolean',
7448
+ systemDiskKmsKeyId: 'string',
6938
7449
  systemDiskPerformanceLevel: 'string',
7450
+ systemDiskProvisionedIops: 'number',
6939
7451
  systemDiskSize: 'number',
6940
7452
  tags: { 'type': 'array', 'itemType': Tag },
6941
7453
  vswitchIds: { 'type': 'array', 'itemType': 'string' },
@@ -7054,6 +7566,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $tea
7054
7566
  runtime: 'runtime',
7055
7567
  runtimeVersion: 'runtime_version',
7056
7568
  taints: 'taints',
7569
+ unschedulable: 'unschedulable',
7057
7570
  userData: 'user_data',
7058
7571
  };
7059
7572
  }
@@ -7066,6 +7579,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $tea
7066
7579
  runtime: 'string',
7067
7580
  runtimeVersion: 'string',
7068
7581
  taints: { 'type': 'array', 'itemType': Taint },
7582
+ unschedulable: 'boolean',
7069
7583
  userData: 'string',
7070
7584
  };
7071
7585
  }
@@ -7263,16 +7777,19 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
7263
7777
  return {
7264
7778
  autoRenew: 'auto_renew',
7265
7779
  autoRenewPeriod: 'auto_renew_period',
7780
+ cisEnabled: 'cis_enabled',
7266
7781
  compensateWithOnDemand: 'compensate_with_on_demand',
7267
7782
  dataDisks: 'data_disks',
7268
7783
  deploymentsetId: 'deploymentset_id',
7269
7784
  desiredSize: 'desired_size',
7270
7785
  imageId: 'image_id',
7786
+ imageType: 'image_type',
7271
7787
  instanceChargeType: 'instance_charge_type',
7272
7788
  instanceTypes: 'instance_types',
7273
7789
  internetChargeType: 'internet_charge_type',
7274
7790
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
7275
7791
  keyPair: 'key_pair',
7792
+ loginAsNonRoot: 'login_as_non_root',
7276
7793
  loginPassword: 'login_password',
7277
7794
  multiAzPolicy: 'multi_az_policy',
7278
7795
  onDemandBaseCapacity: 'on_demand_base_capacity',
@@ -7287,12 +7804,19 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
7287
7804
  scalingPolicy: 'scaling_policy',
7288
7805
  securityGroupId: 'security_group_id',
7289
7806
  securityGroupIds: 'security_group_ids',
7807
+ socEnabled: 'soc_enabled',
7290
7808
  spotInstancePools: 'spot_instance_pools',
7291
7809
  spotInstanceRemedy: 'spot_instance_remedy',
7292
7810
  spotPriceLimit: 'spot_price_limit',
7293
7811
  spotStrategy: 'spot_strategy',
7812
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
7813
+ systemDiskCategories: 'system_disk_categories',
7294
7814
  systemDiskCategory: 'system_disk_category',
7815
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
7816
+ systemDiskEncrypted: 'system_disk_encrypted',
7817
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
7295
7818
  systemDiskPerformanceLevel: 'system_disk_performance_level',
7819
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
7296
7820
  systemDiskSize: 'system_disk_size',
7297
7821
  tags: 'tags',
7298
7822
  vswitchIds: 'vswitch_ids',
@@ -7302,16 +7826,19 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
7302
7826
  return {
7303
7827
  autoRenew: 'boolean',
7304
7828
  autoRenewPeriod: 'number',
7829
+ cisEnabled: 'boolean',
7305
7830
  compensateWithOnDemand: 'boolean',
7306
7831
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
7307
7832
  deploymentsetId: 'string',
7308
7833
  desiredSize: 'number',
7309
7834
  imageId: 'string',
7835
+ imageType: 'string',
7310
7836
  instanceChargeType: 'string',
7311
7837
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
7312
7838
  internetChargeType: 'string',
7313
7839
  internetMaxBandwidthOut: 'number',
7314
7840
  keyPair: 'string',
7841
+ loginAsNonRoot: 'boolean',
7315
7842
  loginPassword: 'string',
7316
7843
  multiAzPolicy: 'string',
7317
7844
  onDemandBaseCapacity: 'number',
@@ -7326,12 +7853,19 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
7326
7853
  scalingPolicy: 'string',
7327
7854
  securityGroupId: 'string',
7328
7855
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
7856
+ socEnabled: 'boolean',
7329
7857
  spotInstancePools: 'number',
7330
7858
  spotInstanceRemedy: 'boolean',
7331
7859
  spotPriceLimit: { 'type': 'array', 'itemType': DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit },
7332
7860
  spotStrategy: 'string',
7861
+ systemDiskBurstingEnabled: 'boolean',
7862
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
7333
7863
  systemDiskCategory: 'string',
7864
+ systemDiskEncryptAlgorithm: 'string',
7865
+ systemDiskEncrypted: 'boolean',
7866
+ systemDiskKmsKeyId: 'string',
7334
7867
  systemDiskPerformanceLevel: 'string',
7868
+ systemDiskProvisionedIops: 'number',
7335
7869
  systemDiskSize: 'number',
7336
7870
  tags: { 'type': 'array', 'itemType': Tag },
7337
7871
  vswitchIds: { 'type': 'array', 'itemType': 'string' },
@@ -8617,6 +9151,28 @@ class FixNodePoolVulsRequestRolloutPolicy extends $tea.Model {
8617
9151
  }
8618
9152
  }
8619
9153
  exports.FixNodePoolVulsRequestRolloutPolicy = FixNodePoolVulsRequestRolloutPolicy;
9154
+ class GetClusterAddonInstanceResponseBodyLogging extends $tea.Model {
9155
+ constructor(map) {
9156
+ super(map);
9157
+ }
9158
+ static names() {
9159
+ return {
9160
+ capable: 'capable',
9161
+ enabled: 'enabled',
9162
+ logProject: 'log_project',
9163
+ logstore: 'logstore',
9164
+ };
9165
+ }
9166
+ static types() {
9167
+ return {
9168
+ capable: 'boolean',
9169
+ enabled: 'boolean',
9170
+ logProject: 'string',
9171
+ logstore: 'string',
9172
+ };
9173
+ }
9174
+ }
9175
+ exports.GetClusterAddonInstanceResponseBodyLogging = GetClusterAddonInstanceResponseBodyLogging;
8620
9176
  class GetKubernetesTriggerResponseBody extends $tea.Model {
8621
9177
  constructor(map) {
8622
9178
  super(map);
@@ -8709,6 +9265,56 @@ class InstallClusterAddonsRequestBody extends $tea.Model {
8709
9265
  }
8710
9266
  }
8711
9267
  exports.InstallClusterAddonsRequestBody = InstallClusterAddonsRequestBody;
9268
+ class ListAddonsResponseBodyAddons extends $tea.Model {
9269
+ constructor(map) {
9270
+ super(map);
9271
+ }
9272
+ static names() {
9273
+ return {
9274
+ architecture: 'architecture',
9275
+ category: 'category',
9276
+ configSchema: 'config_schema',
9277
+ installByDefault: 'install_by_default',
9278
+ managed: 'managed',
9279
+ name: 'name',
9280
+ supportedActions: 'supported_actions',
9281
+ version: 'version',
9282
+ };
9283
+ }
9284
+ static types() {
9285
+ return {
9286
+ architecture: { 'type': 'array', 'itemType': 'string' },
9287
+ category: 'string',
9288
+ configSchema: 'string',
9289
+ installByDefault: 'boolean',
9290
+ managed: 'boolean',
9291
+ name: 'string',
9292
+ supportedActions: { 'type': 'array', 'itemType': 'string' },
9293
+ version: 'string',
9294
+ };
9295
+ }
9296
+ }
9297
+ exports.ListAddonsResponseBodyAddons = ListAddonsResponseBodyAddons;
9298
+ class ListClusterAddonInstancesResponseBodyAddons extends $tea.Model {
9299
+ constructor(map) {
9300
+ super(map);
9301
+ }
9302
+ static names() {
9303
+ return {
9304
+ name: 'name',
9305
+ state: 'state',
9306
+ version: 'version',
9307
+ };
9308
+ }
9309
+ static types() {
9310
+ return {
9311
+ name: 'string',
9312
+ state: 'string',
9313
+ version: 'string',
9314
+ };
9315
+ }
9316
+ }
9317
+ exports.ListClusterAddonInstancesResponseBodyAddons = ListClusterAddonInstancesResponseBodyAddons;
8712
9318
  class ListClusterChecksResponseBodyChecks extends $tea.Model {
8713
9319
  constructor(map) {
8714
9320
  super(map);
@@ -8735,6 +9341,38 @@ class ListClusterChecksResponseBodyChecks extends $tea.Model {
8735
9341
  }
8736
9342
  }
8737
9343
  exports.ListClusterChecksResponseBodyChecks = ListClusterChecksResponseBodyChecks;
9344
+ class ListOperationPlansResponseBodyPlans extends $tea.Model {
9345
+ constructor(map) {
9346
+ super(map);
9347
+ }
9348
+ static names() {
9349
+ return {
9350
+ clusterId: 'cluster_id',
9351
+ created: 'created',
9352
+ endTime: 'end_time',
9353
+ planId: 'plan_id',
9354
+ startTime: 'start_time',
9355
+ state: 'state',
9356
+ targetId: 'target_id',
9357
+ targetType: 'target_type',
9358
+ type: 'type',
9359
+ };
9360
+ }
9361
+ static types() {
9362
+ return {
9363
+ clusterId: 'string',
9364
+ created: 'string',
9365
+ endTime: 'string',
9366
+ planId: 'string',
9367
+ startTime: 'string',
9368
+ state: 'string',
9369
+ targetId: 'string',
9370
+ targetType: 'string',
9371
+ type: 'string',
9372
+ };
9373
+ }
9374
+ }
9375
+ exports.ListOperationPlansResponseBodyPlans = ListOperationPlansResponseBodyPlans;
8738
9376
  class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
8739
9377
  constructor(map) {
8740
9378
  super(map);
@@ -9051,6 +9689,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
9051
9689
  dataDisks: 'data_disks',
9052
9690
  desiredSize: 'desired_size',
9053
9691
  imageId: 'image_id',
9692
+ imageType: 'image_type',
9054
9693
  instanceChargeType: 'instance_charge_type',
9055
9694
  instanceTypes: 'instance_types',
9056
9695
  internetChargeType: 'internet_charge_type',
@@ -9070,8 +9709,14 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
9070
9709
  spotInstanceRemedy: 'spot_instance_remedy',
9071
9710
  spotPriceLimit: 'spot_price_limit',
9072
9711
  spotStrategy: 'spot_strategy',
9712
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
9713
+ systemDiskCategories: 'system_disk_categories',
9073
9714
  systemDiskCategory: 'system_disk_category',
9715
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
9716
+ systemDiskEncrypted: 'system_disk_encrypted',
9717
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
9074
9718
  systemDiskPerformanceLevel: 'system_disk_performance_level',
9719
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
9075
9720
  systemDiskSize: 'system_disk_size',
9076
9721
  tags: 'tags',
9077
9722
  vswitchIds: 'vswitch_ids',
@@ -9085,6 +9730,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
9085
9730
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
9086
9731
  desiredSize: 'number',
9087
9732
  imageId: 'string',
9733
+ imageType: 'string',
9088
9734
  instanceChargeType: 'string',
9089
9735
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
9090
9736
  internetChargeType: 'string',
@@ -9104,8 +9750,14 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
9104
9750
  spotInstanceRemedy: 'boolean',
9105
9751
  spotPriceLimit: { 'type': 'array', 'itemType': ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit },
9106
9752
  spotStrategy: 'string',
9753
+ systemDiskBurstingEnabled: 'boolean',
9754
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
9107
9755
  systemDiskCategory: 'string',
9756
+ systemDiskEncryptAlgorithm: 'string',
9757
+ systemDiskEncrypted: 'boolean',
9758
+ systemDiskKmsKeyId: 'string',
9108
9759
  systemDiskPerformanceLevel: 'string',
9760
+ systemDiskProvisionedIops: 'number',
9109
9761
  systemDiskSize: 'number',
9110
9762
  tags: { 'type': 'array', 'itemType': Tag },
9111
9763
  vswitchIds: { 'type': 'array', 'itemType': 'string' },
@@ -9459,6 +10111,28 @@ class Client extends openapi_client_1.default {
9459
10111
  let headers = {};
9460
10112
  return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
9461
10113
  }
10114
+ async cancelOperationPlanWithOptions(planId, headers, runtime) {
10115
+ let req = new $OpenApi.OpenApiRequest({
10116
+ headers: headers,
10117
+ });
10118
+ let params = new $OpenApi.Params({
10119
+ action: "CancelOperationPlan",
10120
+ version: "2015-12-15",
10121
+ protocol: "HTTPS",
10122
+ pathname: `/operation/plans/${openapi_util_1.default.getEncodeParam(planId)}`,
10123
+ method: "DELETE",
10124
+ authType: "AK",
10125
+ style: "ROA",
10126
+ reqBodyType: "json",
10127
+ bodyType: "json",
10128
+ });
10129
+ return $tea.cast(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
10130
+ }
10131
+ async cancelOperationPlan(planId) {
10132
+ let runtime = new $Util.RuntimeOptions({});
10133
+ let headers = {};
10134
+ return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
10135
+ }
9462
10136
  async cancelTaskWithOptions(taskId, headers, runtime) {
9463
10137
  let req = new $OpenApi.OpenApiRequest({
9464
10138
  headers: headers,
@@ -9917,6 +10591,9 @@ class Client extends openapi_client_1.default {
9917
10591
  if (!tea_util_1.default.isUnset(request.maxNodes)) {
9918
10592
  body["max_nodes"] = request.maxNodes;
9919
10593
  }
10594
+ if (!tea_util_1.default.isUnset(request.nodeConfig)) {
10595
+ body["node_config"] = request.nodeConfig;
10596
+ }
9920
10597
  if (!tea_util_1.default.isUnset(request.nodepoolInfo)) {
9921
10598
  body["nodepool_info"] = request.nodepoolInfo;
9922
10599
  }
@@ -10435,6 +11112,52 @@ class Client extends openapi_client_1.default {
10435
11112
  let headers = {};
10436
11113
  return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
10437
11114
  }
11115
+ async describeAddonWithOptions(addonName, request, headers, runtime) {
11116
+ tea_util_1.default.validateModel(request);
11117
+ let query = {};
11118
+ if (!tea_util_1.default.isUnset(request.clusterId)) {
11119
+ query["cluster_id"] = request.clusterId;
11120
+ }
11121
+ if (!tea_util_1.default.isUnset(request.clusterSpec)) {
11122
+ query["cluster_spec"] = request.clusterSpec;
11123
+ }
11124
+ if (!tea_util_1.default.isUnset(request.clusterType)) {
11125
+ query["cluster_type"] = request.clusterType;
11126
+ }
11127
+ if (!tea_util_1.default.isUnset(request.clusterVersion)) {
11128
+ query["cluster_version"] = request.clusterVersion;
11129
+ }
11130
+ if (!tea_util_1.default.isUnset(request.profile)) {
11131
+ query["profile"] = request.profile;
11132
+ }
11133
+ if (!tea_util_1.default.isUnset(request.regionId)) {
11134
+ query["region_id"] = request.regionId;
11135
+ }
11136
+ if (!tea_util_1.default.isUnset(request.version)) {
11137
+ query["version"] = request.version;
11138
+ }
11139
+ let req = new $OpenApi.OpenApiRequest({
11140
+ headers: headers,
11141
+ query: openapi_util_1.default.query(query),
11142
+ });
11143
+ let params = new $OpenApi.Params({
11144
+ action: "DescribeAddon",
11145
+ version: "2015-12-15",
11146
+ protocol: "HTTPS",
11147
+ pathname: `/addons/${openapi_util_1.default.getEncodeParam(addonName)}`,
11148
+ method: "GET",
11149
+ authType: "AK",
11150
+ style: "ROA",
11151
+ reqBodyType: "json",
11152
+ bodyType: "json",
11153
+ });
11154
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
11155
+ }
11156
+ async describeAddon(addonName, request) {
11157
+ let runtime = new $Util.RuntimeOptions({});
11158
+ let headers = {};
11159
+ return await this.describeAddonWithOptions(addonName, request, headers, runtime);
11160
+ }
10438
11161
  async describeAddonsWithOptions(request, headers, runtime) {
10439
11162
  tea_util_1.default.validateModel(request);
10440
11163
  let query = {};
@@ -11789,6 +12512,28 @@ class Client extends openapi_client_1.default {
11789
12512
  let headers = {};
11790
12513
  return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
11791
12514
  }
12515
+ async getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime) {
12516
+ let req = new $OpenApi.OpenApiRequest({
12517
+ headers: headers,
12518
+ });
12519
+ let params = new $OpenApi.Params({
12520
+ action: "GetClusterAddonInstance",
12521
+ version: "2015-12-15",
12522
+ protocol: "HTTPS",
12523
+ pathname: `/clusters/${openapi_util_1.default.getEncodeParam(clusterId)}/addon_instances/${openapi_util_1.default.getEncodeParam(instanceName)}`,
12524
+ method: "GET",
12525
+ authType: "AK",
12526
+ style: "ROA",
12527
+ reqBodyType: "json",
12528
+ bodyType: "json",
12529
+ });
12530
+ return $tea.cast(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
12531
+ }
12532
+ async getClusterAddonInstance(clusterId, instanceName) {
12533
+ let runtime = new $Util.RuntimeOptions({});
12534
+ let headers = {};
12535
+ return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
12536
+ }
11792
12537
  async getClusterCheckWithOptions(clusterId, checkId, headers, runtime) {
11793
12538
  let req = new $OpenApi.OpenApiRequest({
11794
12539
  headers: headers,
@@ -11938,6 +12683,71 @@ class Client extends openapi_client_1.default {
11938
12683
  let headers = {};
11939
12684
  return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
11940
12685
  }
12686
+ async listAddonsWithOptions(request, headers, runtime) {
12687
+ tea_util_1.default.validateModel(request);
12688
+ let query = {};
12689
+ if (!tea_util_1.default.isUnset(request.clusterId)) {
12690
+ query["cluster_id"] = request.clusterId;
12691
+ }
12692
+ if (!tea_util_1.default.isUnset(request.clusterSpec)) {
12693
+ query["cluster_spec"] = request.clusterSpec;
12694
+ }
12695
+ if (!tea_util_1.default.isUnset(request.clusterType)) {
12696
+ query["cluster_type"] = request.clusterType;
12697
+ }
12698
+ if (!tea_util_1.default.isUnset(request.clusterVersion)) {
12699
+ query["cluster_version"] = request.clusterVersion;
12700
+ }
12701
+ if (!tea_util_1.default.isUnset(request.profile)) {
12702
+ query["profile"] = request.profile;
12703
+ }
12704
+ if (!tea_util_1.default.isUnset(request.regionId)) {
12705
+ query["region_id"] = request.regionId;
12706
+ }
12707
+ let req = new $OpenApi.OpenApiRequest({
12708
+ headers: headers,
12709
+ query: openapi_util_1.default.query(query),
12710
+ });
12711
+ let params = new $OpenApi.Params({
12712
+ action: "ListAddons",
12713
+ version: "2015-12-15",
12714
+ protocol: "HTTPS",
12715
+ pathname: `/addons`,
12716
+ method: "GET",
12717
+ authType: "AK",
12718
+ style: "ROA",
12719
+ reqBodyType: "json",
12720
+ bodyType: "json",
12721
+ });
12722
+ return $tea.cast(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
12723
+ }
12724
+ async listAddons(request) {
12725
+ let runtime = new $Util.RuntimeOptions({});
12726
+ let headers = {};
12727
+ return await this.listAddonsWithOptions(request, headers, runtime);
12728
+ }
12729
+ async listClusterAddonInstancesWithOptions(clusterId, headers, runtime) {
12730
+ let req = new $OpenApi.OpenApiRequest({
12731
+ headers: headers,
12732
+ });
12733
+ let params = new $OpenApi.Params({
12734
+ action: "ListClusterAddonInstances",
12735
+ version: "2015-12-15",
12736
+ protocol: "HTTPS",
12737
+ pathname: `/clusters/${openapi_util_1.default.getEncodeParam(clusterId)}/addon_instances`,
12738
+ method: "GET",
12739
+ authType: "AK",
12740
+ style: "ROA",
12741
+ reqBodyType: "json",
12742
+ bodyType: "json",
12743
+ });
12744
+ return $tea.cast(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
12745
+ }
12746
+ async listClusterAddonInstances(clusterId) {
12747
+ let runtime = new $Util.RuntimeOptions({});
12748
+ let headers = {};
12749
+ return await this.listClusterAddonInstancesWithOptions(clusterId, headers, runtime);
12750
+ }
11941
12751
  async listClusterChecksWithOptions(clusterId, request, headers, runtime) {
11942
12752
  tea_util_1.default.validateModel(request);
11943
12753
  let query = {};
@@ -11966,6 +12776,37 @@ class Client extends openapi_client_1.default {
11966
12776
  let headers = {};
11967
12777
  return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
11968
12778
  }
12779
+ async listOperationPlansWithOptions(request, headers, runtime) {
12780
+ tea_util_1.default.validateModel(request);
12781
+ let query = {};
12782
+ if (!tea_util_1.default.isUnset(request.clusterId)) {
12783
+ query["cluster_id"] = request.clusterId;
12784
+ }
12785
+ if (!tea_util_1.default.isUnset(request.type)) {
12786
+ query["type"] = request.type;
12787
+ }
12788
+ let req = new $OpenApi.OpenApiRequest({
12789
+ headers: headers,
12790
+ query: openapi_util_1.default.query(query),
12791
+ });
12792
+ let params = new $OpenApi.Params({
12793
+ action: "ListOperationPlans",
12794
+ version: "2015-12-15",
12795
+ protocol: "HTTPS",
12796
+ pathname: `/operation/plans`,
12797
+ method: "GET",
12798
+ authType: "AK",
12799
+ style: "ROA",
12800
+ reqBodyType: "json",
12801
+ bodyType: "json",
12802
+ });
12803
+ return $tea.cast(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
12804
+ }
12805
+ async listOperationPlans(request) {
12806
+ let runtime = new $Util.RuntimeOptions({});
12807
+ let headers = {};
12808
+ return await this.listOperationPlansWithOptions(request, headers, runtime);
12809
+ }
11969
12810
  async listTagResourcesWithOptions(tmpReq, headers, runtime) {
11970
12811
  tea_util_1.default.validateModel(tmpReq);
11971
12812
  let request = new ListTagResourcesShrinkRequest({});
@@ -12188,6 +13029,9 @@ class Client extends openapi_client_1.default {
12188
13029
  if (!tea_util_1.default.isUnset(request.autoScaling)) {
12189
13030
  body["auto_scaling"] = request.autoScaling;
12190
13031
  }
13032
+ if (!tea_util_1.default.isUnset(request.concurrency)) {
13033
+ body["concurrency"] = request.concurrency;
13034
+ }
12191
13035
  if (!tea_util_1.default.isUnset(request.kubernetesConfig)) {
12192
13036
  body["kubernetes_config"] = request.kubernetesConfig;
12193
13037
  }
@@ -12525,6 +13369,9 @@ class Client extends openapi_client_1.default {
12525
13369
  request.nodesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.nodes, "nodes", "json");
12526
13370
  }
12527
13371
  let query = {};
13372
+ if (!tea_util_1.default.isUnset(request.concurrency)) {
13373
+ query["concurrency"] = request.concurrency;
13374
+ }
12528
13375
  if (!tea_util_1.default.isUnset(request.drainNode)) {
12529
13376
  query["drain_node"] = request.drainNode;
12530
13377
  }
@@ -13276,7 +14123,7 @@ class Client extends openapi_client_1.default {
13276
14123
  authType: "AK",
13277
14124
  style: "ROA",
13278
14125
  reqBodyType: "json",
13279
- bodyType: "none",
14126
+ bodyType: "json",
13280
14127
  });
13281
14128
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
13282
14129
  }