@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/src/client.ts CHANGED
@@ -43,6 +43,7 @@ export class DataDisk extends $tea.Model {
43
43
  category?: string;
44
44
  encrypted?: string;
45
45
  fileSystem?: string;
46
+ kmsKeyId?: string;
46
47
  mountTarget?: string;
47
48
  performanceLevel?: string;
48
49
  provisionedIops?: number;
@@ -55,6 +56,7 @@ export class DataDisk extends $tea.Model {
55
56
  category: 'category',
56
57
  encrypted: 'encrypted',
57
58
  fileSystem: 'file_system',
59
+ kmsKeyId: 'kms_key_id',
58
60
  mountTarget: 'mount_target',
59
61
  performanceLevel: 'performance_level',
60
62
  provisionedIops: 'provisioned_iops',
@@ -70,6 +72,7 @@ export class DataDisk extends $tea.Model {
70
72
  category: 'string',
71
73
  encrypted: 'string',
72
74
  fileSystem: 'string',
75
+ kmsKeyId: 'string',
73
76
  mountTarget: 'string',
74
77
  performanceLevel: 'string',
75
78
  provisionedIops: 'number',
@@ -191,6 +194,7 @@ export class Nodepool extends $tea.Model {
191
194
  kubernetesConfig?: NodepoolKubernetesConfig;
192
195
  management?: NodepoolManagement;
193
196
  maxNodes?: number;
197
+ nodeConfig?: NodepoolNodeConfig;
194
198
  nodepoolInfo?: NodepoolNodepoolInfo;
195
199
  scalingGroup?: NodepoolScalingGroup;
196
200
  teeConfig?: NodepoolTeeConfig;
@@ -203,6 +207,7 @@ export class Nodepool extends $tea.Model {
203
207
  kubernetesConfig: 'kubernetes_config',
204
208
  management: 'management',
205
209
  maxNodes: 'max_nodes',
210
+ nodeConfig: 'node_config',
206
211
  nodepoolInfo: 'nodepool_info',
207
212
  scalingGroup: 'scaling_group',
208
213
  teeConfig: 'tee_config',
@@ -218,6 +223,7 @@ export class Nodepool extends $tea.Model {
218
223
  kubernetesConfig: NodepoolKubernetesConfig,
219
224
  management: NodepoolManagement,
220
225
  maxNodes: 'number',
226
+ nodeConfig: NodepoolNodeConfig,
221
227
  nodepoolInfo: NodepoolNodepoolInfo,
222
228
  scalingGroup: NodepoolScalingGroup,
223
229
  teeConfig: NodepoolTeeConfig,
@@ -578,6 +584,50 @@ export class CancelComponentUpgradeResponse extends $tea.Model {
578
584
  }
579
585
  }
580
586
 
587
+ export class CancelOperationPlanResponseBody extends $tea.Model {
588
+ requestId?: string;
589
+ static names(): { [key: string]: string } {
590
+ return {
591
+ requestId: 'requestId',
592
+ };
593
+ }
594
+
595
+ static types(): { [key: string]: any } {
596
+ return {
597
+ requestId: 'string',
598
+ };
599
+ }
600
+
601
+ constructor(map?: { [key: string]: any }) {
602
+ super(map);
603
+ }
604
+ }
605
+
606
+ export class CancelOperationPlanResponse extends $tea.Model {
607
+ headers: { [key: string]: string };
608
+ statusCode: number;
609
+ body: CancelOperationPlanResponseBody;
610
+ static names(): { [key: string]: string } {
611
+ return {
612
+ headers: 'headers',
613
+ statusCode: 'statusCode',
614
+ body: 'body',
615
+ };
616
+ }
617
+
618
+ static types(): { [key: string]: any } {
619
+ return {
620
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
621
+ statusCode: 'number',
622
+ body: CancelOperationPlanResponseBody,
623
+ };
624
+ }
625
+
626
+ constructor(map?: { [key: string]: any }) {
627
+ super(map);
628
+ }
629
+ }
630
+
581
631
  export class CancelTaskResponse extends $tea.Model {
582
632
  headers: { [key: string]: string };
583
633
  statusCode: number;
@@ -1118,6 +1168,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
1118
1168
  kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
1119
1169
  management?: CreateClusterNodePoolRequestManagement;
1120
1170
  maxNodes?: number;
1171
+ nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
1121
1172
  nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
1122
1173
  scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
1123
1174
  teeConfig?: CreateClusterNodePoolRequestTeeConfig;
@@ -1130,6 +1181,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
1130
1181
  kubernetesConfig: 'kubernetes_config',
1131
1182
  management: 'management',
1132
1183
  maxNodes: 'max_nodes',
1184
+ nodeConfig: 'node_config',
1133
1185
  nodepoolInfo: 'nodepool_info',
1134
1186
  scalingGroup: 'scaling_group',
1135
1187
  teeConfig: 'tee_config',
@@ -1145,6 +1197,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
1145
1197
  kubernetesConfig: CreateClusterNodePoolRequestKubernetesConfig,
1146
1198
  management: CreateClusterNodePoolRequestManagement,
1147
1199
  maxNodes: 'number',
1200
+ nodeConfig: CreateClusterNodePoolRequestNodeConfig,
1148
1201
  nodepoolInfo: CreateClusterNodePoolRequestNodepoolInfo,
1149
1202
  scalingGroup: CreateClusterNodePoolRequestScalingGroup,
1150
1203
  teeConfig: CreateClusterNodePoolRequestTeeConfig,
@@ -1613,15 +1666,21 @@ export class DeleteClusterShrinkRequest extends $tea.Model {
1613
1666
  }
1614
1667
 
1615
1668
  export class DeleteClusterResponseBody extends $tea.Model {
1669
+ clusterId?: string;
1670
+ requestId?: string;
1616
1671
  taskId?: string;
1617
1672
  static names(): { [key: string]: string } {
1618
1673
  return {
1674
+ clusterId: 'cluster_id',
1675
+ requestId: 'request_id',
1619
1676
  taskId: 'task_id',
1620
1677
  };
1621
1678
  }
1622
1679
 
1623
1680
  static types(): { [key: string]: any } {
1624
1681
  return {
1682
+ clusterId: 'string',
1683
+ requestId: 'string',
1625
1684
  taskId: 'string',
1626
1685
  };
1627
1686
  }
@@ -1677,15 +1736,18 @@ export class DeleteClusterNodepoolRequest extends $tea.Model {
1677
1736
 
1678
1737
  export class DeleteClusterNodepoolResponseBody extends $tea.Model {
1679
1738
  requestId?: string;
1739
+ taskId?: string;
1680
1740
  static names(): { [key: string]: string } {
1681
1741
  return {
1682
1742
  requestId: 'request_id',
1743
+ taskId: 'task_id',
1683
1744
  };
1684
1745
  }
1685
1746
 
1686
1747
  static types(): { [key: string]: any } {
1687
1748
  return {
1688
1749
  requestId: 'string',
1750
+ taskId: 'string',
1689
1751
  };
1690
1752
  }
1691
1753
 
@@ -2107,6 +2169,111 @@ export class DescirbeWorkflowResponse extends $tea.Model {
2107
2169
  }
2108
2170
  }
2109
2171
 
2172
+ export class DescribeAddonRequest extends $tea.Model {
2173
+ clusterId?: string;
2174
+ clusterSpec?: string;
2175
+ clusterType?: string;
2176
+ clusterVersion?: string;
2177
+ profile?: string;
2178
+ regionId?: string;
2179
+ version?: string;
2180
+ static names(): { [key: string]: string } {
2181
+ return {
2182
+ clusterId: 'cluster_id',
2183
+ clusterSpec: 'cluster_spec',
2184
+ clusterType: 'cluster_type',
2185
+ clusterVersion: 'cluster_version',
2186
+ profile: 'profile',
2187
+ regionId: 'region_id',
2188
+ version: 'version',
2189
+ };
2190
+ }
2191
+
2192
+ static types(): { [key: string]: any } {
2193
+ return {
2194
+ clusterId: 'string',
2195
+ clusterSpec: 'string',
2196
+ clusterType: 'string',
2197
+ clusterVersion: 'string',
2198
+ profile: 'string',
2199
+ regionId: 'string',
2200
+ version: 'string',
2201
+ };
2202
+ }
2203
+
2204
+ constructor(map?: { [key: string]: any }) {
2205
+ super(map);
2206
+ }
2207
+ }
2208
+
2209
+ export class DescribeAddonResponseBody extends $tea.Model {
2210
+ architecture?: string[];
2211
+ category?: string;
2212
+ configSchema?: string;
2213
+ installByDefault?: boolean;
2214
+ managed?: boolean;
2215
+ name?: string;
2216
+ newerVersions?: DescribeAddonResponseBodyNewerVersions[];
2217
+ supportedActions?: string[];
2218
+ version?: string;
2219
+ static names(): { [key: string]: string } {
2220
+ return {
2221
+ architecture: 'architecture',
2222
+ category: 'category',
2223
+ configSchema: 'config_schema',
2224
+ installByDefault: 'install_by_default',
2225
+ managed: 'managed',
2226
+ name: 'name',
2227
+ newerVersions: 'newer_versions',
2228
+ supportedActions: 'supported_actions',
2229
+ version: 'version',
2230
+ };
2231
+ }
2232
+
2233
+ static types(): { [key: string]: any } {
2234
+ return {
2235
+ architecture: { 'type': 'array', 'itemType': 'string' },
2236
+ category: 'string',
2237
+ configSchema: 'string',
2238
+ installByDefault: 'boolean',
2239
+ managed: 'boolean',
2240
+ name: 'string',
2241
+ newerVersions: { 'type': 'array', 'itemType': DescribeAddonResponseBodyNewerVersions },
2242
+ supportedActions: { 'type': 'array', 'itemType': 'string' },
2243
+ version: 'string',
2244
+ };
2245
+ }
2246
+
2247
+ constructor(map?: { [key: string]: any }) {
2248
+ super(map);
2249
+ }
2250
+ }
2251
+
2252
+ export class DescribeAddonResponse extends $tea.Model {
2253
+ headers: { [key: string]: string };
2254
+ statusCode: number;
2255
+ body: DescribeAddonResponseBody;
2256
+ static names(): { [key: string]: string } {
2257
+ return {
2258
+ headers: 'headers',
2259
+ statusCode: 'statusCode',
2260
+ body: 'body',
2261
+ };
2262
+ }
2263
+
2264
+ static types(): { [key: string]: any } {
2265
+ return {
2266
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2267
+ statusCode: 'number',
2268
+ body: DescribeAddonResponseBody,
2269
+ };
2270
+ }
2271
+
2272
+ constructor(map?: { [key: string]: any }) {
2273
+ super(map);
2274
+ }
2275
+ }
2276
+
2110
2277
  export class DescribeAddonsRequest extends $tea.Model {
2111
2278
  clusterProfile?: string;
2112
2279
  clusterSpec?: string;
@@ -4655,6 +4822,62 @@ export class FixNodePoolVulsResponse extends $tea.Model {
4655
4822
  }
4656
4823
  }
4657
4824
 
4825
+ export class GetClusterAddonInstanceResponseBody extends $tea.Model {
4826
+ config?: string;
4827
+ logging?: GetClusterAddonInstanceResponseBodyLogging;
4828
+ name?: string;
4829
+ state?: string;
4830
+ version?: string;
4831
+ static names(): { [key: string]: string } {
4832
+ return {
4833
+ config: 'config',
4834
+ logging: 'logging',
4835
+ name: 'name',
4836
+ state: 'state',
4837
+ version: 'version',
4838
+ };
4839
+ }
4840
+
4841
+ static types(): { [key: string]: any } {
4842
+ return {
4843
+ config: 'string',
4844
+ logging: GetClusterAddonInstanceResponseBodyLogging,
4845
+ name: 'string',
4846
+ state: 'string',
4847
+ version: 'string',
4848
+ };
4849
+ }
4850
+
4851
+ constructor(map?: { [key: string]: any }) {
4852
+ super(map);
4853
+ }
4854
+ }
4855
+
4856
+ export class GetClusterAddonInstanceResponse extends $tea.Model {
4857
+ headers: { [key: string]: string };
4858
+ statusCode: number;
4859
+ body: GetClusterAddonInstanceResponseBody;
4860
+ static names(): { [key: string]: string } {
4861
+ return {
4862
+ headers: 'headers',
4863
+ statusCode: 'statusCode',
4864
+ body: 'body',
4865
+ };
4866
+ }
4867
+
4868
+ static types(): { [key: string]: any } {
4869
+ return {
4870
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4871
+ statusCode: 'number',
4872
+ body: GetClusterAddonInstanceResponseBody,
4873
+ };
4874
+ }
4875
+
4876
+ constructor(map?: { [key: string]: any }) {
4877
+ super(map);
4878
+ }
4879
+ }
4880
+
4658
4881
  export class GetClusterCheckResponseBody extends $tea.Model {
4659
4882
  checkId?: string;
4660
4883
  checkItems?: { [key: string]: {[key: string ]: any}[] };
@@ -4908,6 +5131,128 @@ export class InstallClusterAddonsResponse extends $tea.Model {
4908
5131
  }
4909
5132
  }
4910
5133
 
5134
+ export class ListAddonsRequest extends $tea.Model {
5135
+ clusterId?: string;
5136
+ clusterSpec?: string;
5137
+ clusterType?: string;
5138
+ clusterVersion?: string;
5139
+ profile?: string;
5140
+ regionId?: string;
5141
+ static names(): { [key: string]: string } {
5142
+ return {
5143
+ clusterId: 'cluster_id',
5144
+ clusterSpec: 'cluster_spec',
5145
+ clusterType: 'cluster_type',
5146
+ clusterVersion: 'cluster_version',
5147
+ profile: 'profile',
5148
+ regionId: 'region_id',
5149
+ };
5150
+ }
5151
+
5152
+ static types(): { [key: string]: any } {
5153
+ return {
5154
+ clusterId: 'string',
5155
+ clusterSpec: 'string',
5156
+ clusterType: 'string',
5157
+ clusterVersion: 'string',
5158
+ profile: 'string',
5159
+ regionId: 'string',
5160
+ };
5161
+ }
5162
+
5163
+ constructor(map?: { [key: string]: any }) {
5164
+ super(map);
5165
+ }
5166
+ }
5167
+
5168
+ export class ListAddonsResponseBody extends $tea.Model {
5169
+ addons?: ListAddonsResponseBodyAddons[];
5170
+ static names(): { [key: string]: string } {
5171
+ return {
5172
+ addons: 'addons',
5173
+ };
5174
+ }
5175
+
5176
+ static types(): { [key: string]: any } {
5177
+ return {
5178
+ addons: { 'type': 'array', 'itemType': ListAddonsResponseBodyAddons },
5179
+ };
5180
+ }
5181
+
5182
+ constructor(map?: { [key: string]: any }) {
5183
+ super(map);
5184
+ }
5185
+ }
5186
+
5187
+ export class ListAddonsResponse extends $tea.Model {
5188
+ headers: { [key: string]: string };
5189
+ statusCode: number;
5190
+ body: ListAddonsResponseBody;
5191
+ static names(): { [key: string]: string } {
5192
+ return {
5193
+ headers: 'headers',
5194
+ statusCode: 'statusCode',
5195
+ body: 'body',
5196
+ };
5197
+ }
5198
+
5199
+ static types(): { [key: string]: any } {
5200
+ return {
5201
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5202
+ statusCode: 'number',
5203
+ body: ListAddonsResponseBody,
5204
+ };
5205
+ }
5206
+
5207
+ constructor(map?: { [key: string]: any }) {
5208
+ super(map);
5209
+ }
5210
+ }
5211
+
5212
+ export class ListClusterAddonInstancesResponseBody extends $tea.Model {
5213
+ addons?: ListClusterAddonInstancesResponseBodyAddons[];
5214
+ static names(): { [key: string]: string } {
5215
+ return {
5216
+ addons: 'addons',
5217
+ };
5218
+ }
5219
+
5220
+ static types(): { [key: string]: any } {
5221
+ return {
5222
+ addons: { 'type': 'array', 'itemType': ListClusterAddonInstancesResponseBodyAddons },
5223
+ };
5224
+ }
5225
+
5226
+ constructor(map?: { [key: string]: any }) {
5227
+ super(map);
5228
+ }
5229
+ }
5230
+
5231
+ export class ListClusterAddonInstancesResponse extends $tea.Model {
5232
+ headers: { [key: string]: string };
5233
+ statusCode: number;
5234
+ body: ListClusterAddonInstancesResponseBody;
5235
+ static names(): { [key: string]: string } {
5236
+ return {
5237
+ headers: 'headers',
5238
+ statusCode: 'statusCode',
5239
+ body: 'body',
5240
+ };
5241
+ }
5242
+
5243
+ static types(): { [key: string]: any } {
5244
+ return {
5245
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5246
+ statusCode: 'number',
5247
+ body: ListClusterAddonInstancesResponseBody,
5248
+ };
5249
+ }
5250
+
5251
+ constructor(map?: { [key: string]: any }) {
5252
+ super(map);
5253
+ }
5254
+ }
5255
+
4911
5256
  export class ListClusterChecksRequest extends $tea.Model {
4912
5257
  type?: string;
4913
5258
  static names(): { [key: string]: string } {
@@ -4971,6 +5316,72 @@ export class ListClusterChecksResponse extends $tea.Model {
4971
5316
  }
4972
5317
  }
4973
5318
 
5319
+ export class ListOperationPlansRequest extends $tea.Model {
5320
+ clusterId?: string;
5321
+ type?: string;
5322
+ static names(): { [key: string]: string } {
5323
+ return {
5324
+ clusterId: 'cluster_id',
5325
+ type: 'type',
5326
+ };
5327
+ }
5328
+
5329
+ static types(): { [key: string]: any } {
5330
+ return {
5331
+ clusterId: 'string',
5332
+ type: 'string',
5333
+ };
5334
+ }
5335
+
5336
+ constructor(map?: { [key: string]: any }) {
5337
+ super(map);
5338
+ }
5339
+ }
5340
+
5341
+ export class ListOperationPlansResponseBody extends $tea.Model {
5342
+ plans?: ListOperationPlansResponseBodyPlans[];
5343
+ static names(): { [key: string]: string } {
5344
+ return {
5345
+ plans: 'plans',
5346
+ };
5347
+ }
5348
+
5349
+ static types(): { [key: string]: any } {
5350
+ return {
5351
+ plans: { 'type': 'array', 'itemType': ListOperationPlansResponseBodyPlans },
5352
+ };
5353
+ }
5354
+
5355
+ constructor(map?: { [key: string]: any }) {
5356
+ super(map);
5357
+ }
5358
+ }
5359
+
5360
+ export class ListOperationPlansResponse extends $tea.Model {
5361
+ headers: { [key: string]: string };
5362
+ statusCode: number;
5363
+ body: ListOperationPlansResponseBody;
5364
+ static names(): { [key: string]: string } {
5365
+ return {
5366
+ headers: 'headers',
5367
+ statusCode: 'statusCode',
5368
+ body: 'body',
5369
+ };
5370
+ }
5371
+
5372
+ static types(): { [key: string]: any } {
5373
+ return {
5374
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5375
+ statusCode: 'number',
5376
+ body: ListOperationPlansResponseBody,
5377
+ };
5378
+ }
5379
+
5380
+ constructor(map?: { [key: string]: any }) {
5381
+ super(map);
5382
+ }
5383
+ }
5384
+
4974
5385
  export class ListTagResourcesRequest extends $tea.Model {
4975
5386
  nextToken?: string;
4976
5387
  regionId?: string;
@@ -5341,6 +5752,7 @@ export class ModifyClusterConfigurationResponse extends $tea.Model {
5341
5752
 
5342
5753
  export class ModifyClusterNodePoolRequest extends $tea.Model {
5343
5754
  autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
5755
+ concurrency?: boolean;
5344
5756
  kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
5345
5757
  management?: ModifyClusterNodePoolRequestManagement;
5346
5758
  nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
@@ -5350,6 +5762,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
5350
5762
  static names(): { [key: string]: string } {
5351
5763
  return {
5352
5764
  autoScaling: 'auto_scaling',
5765
+ concurrency: 'concurrency',
5353
5766
  kubernetesConfig: 'kubernetes_config',
5354
5767
  management: 'management',
5355
5768
  nodepoolInfo: 'nodepool_info',
@@ -5362,6 +5775,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
5362
5775
  static types(): { [key: string]: any } {
5363
5776
  return {
5364
5777
  autoScaling: ModifyClusterNodePoolRequestAutoScaling,
5778
+ concurrency: 'boolean',
5365
5779
  kubernetesConfig: ModifyClusterNodePoolRequestKubernetesConfig,
5366
5780
  management: ModifyClusterNodePoolRequestManagement,
5367
5781
  nodepoolInfo: ModifyClusterNodePoolRequestNodepoolInfo,
@@ -5788,12 +6202,14 @@ export class RemoveClusterNodesResponse extends $tea.Model {
5788
6202
  }
5789
6203
 
5790
6204
  export class RemoveNodePoolNodesRequest extends $tea.Model {
6205
+ concurrency?: boolean;
5791
6206
  drainNode?: boolean;
5792
6207
  instanceIds?: string[];
5793
6208
  nodes?: string[];
5794
6209
  releaseNode?: boolean;
5795
6210
  static names(): { [key: string]: string } {
5796
6211
  return {
6212
+ concurrency: 'concurrency',
5797
6213
  drainNode: 'drain_node',
5798
6214
  instanceIds: 'instance_ids',
5799
6215
  nodes: 'nodes',
@@ -5803,6 +6219,7 @@ export class RemoveNodePoolNodesRequest extends $tea.Model {
5803
6219
 
5804
6220
  static types(): { [key: string]: any } {
5805
6221
  return {
6222
+ concurrency: 'boolean',
5806
6223
  drainNode: 'boolean',
5807
6224
  instanceIds: { 'type': 'array', 'itemType': 'string' },
5808
6225
  nodes: { 'type': 'array', 'itemType': 'string' },
@@ -5816,12 +6233,14 @@ export class RemoveNodePoolNodesRequest extends $tea.Model {
5816
6233
  }
5817
6234
 
5818
6235
  export class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
6236
+ concurrency?: boolean;
5819
6237
  drainNode?: boolean;
5820
6238
  instanceIdsShrink?: string;
5821
6239
  nodesShrink?: string;
5822
6240
  releaseNode?: boolean;
5823
6241
  static names(): { [key: string]: string } {
5824
6242
  return {
6243
+ concurrency: 'concurrency',
5825
6244
  drainNode: 'drain_node',
5826
6245
  instanceIdsShrink: 'instance_ids',
5827
6246
  nodesShrink: 'nodes',
@@ -5831,6 +6250,7 @@ export class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
5831
6250
 
5832
6251
  static types(): { [key: string]: any } {
5833
6252
  return {
6253
+ concurrency: 'boolean',
5834
6254
  drainNode: 'boolean',
5835
6255
  instanceIdsShrink: 'string',
5836
6256
  nodesShrink: 'string',
@@ -7002,13 +7422,40 @@ export class UpdateControlPlaneLogRequest extends $tea.Model {
7002
7422
  }
7003
7423
  }
7004
7424
 
7425
+ export class UpdateControlPlaneLogResponseBody extends $tea.Model {
7426
+ clusterId?: string;
7427
+ requestId?: string;
7428
+ taskId?: string;
7429
+ static names(): { [key: string]: string } {
7430
+ return {
7431
+ clusterId: 'cluster_id',
7432
+ requestId: 'request_id',
7433
+ taskId: 'task_id',
7434
+ };
7435
+ }
7436
+
7437
+ static types(): { [key: string]: any } {
7438
+ return {
7439
+ clusterId: 'string',
7440
+ requestId: 'string',
7441
+ taskId: 'string',
7442
+ };
7443
+ }
7444
+
7445
+ constructor(map?: { [key: string]: any }) {
7446
+ super(map);
7447
+ }
7448
+ }
7449
+
7005
7450
  export class UpdateControlPlaneLogResponse extends $tea.Model {
7006
7451
  headers: { [key: string]: string };
7007
7452
  statusCode: number;
7453
+ body: UpdateControlPlaneLogResponseBody;
7008
7454
  static names(): { [key: string]: string } {
7009
7455
  return {
7010
7456
  headers: 'headers',
7011
7457
  statusCode: 'statusCode',
7458
+ body: 'body',
7012
7459
  };
7013
7460
  }
7014
7461
 
@@ -7016,6 +7463,7 @@ export class UpdateControlPlaneLogResponse extends $tea.Model {
7016
7463
  return {
7017
7464
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7018
7465
  statusCode: 'number',
7466
+ body: UpdateControlPlaneLogResponseBody,
7019
7467
  };
7020
7468
  }
7021
7469
 
@@ -7395,6 +7843,66 @@ export class NodepoolKubernetesConfig extends $tea.Model {
7395
7843
  }
7396
7844
  }
7397
7845
 
7846
+ export class NodepoolManagementAutoRepairPolicy extends $tea.Model {
7847
+ restartNode?: boolean;
7848
+ static names(): { [key: string]: string } {
7849
+ return {
7850
+ restartNode: 'restart_node',
7851
+ };
7852
+ }
7853
+
7854
+ static types(): { [key: string]: any } {
7855
+ return {
7856
+ restartNode: 'boolean',
7857
+ };
7858
+ }
7859
+
7860
+ constructor(map?: { [key: string]: any }) {
7861
+ super(map);
7862
+ }
7863
+ }
7864
+
7865
+ export class NodepoolManagementAutoUpgradePolicy extends $tea.Model {
7866
+ autoUpgradeKubelet?: boolean;
7867
+ static names(): { [key: string]: string } {
7868
+ return {
7869
+ autoUpgradeKubelet: 'auto_upgrade_kubelet',
7870
+ };
7871
+ }
7872
+
7873
+ static types(): { [key: string]: any } {
7874
+ return {
7875
+ autoUpgradeKubelet: 'boolean',
7876
+ };
7877
+ }
7878
+
7879
+ constructor(map?: { [key: string]: any }) {
7880
+ super(map);
7881
+ }
7882
+ }
7883
+
7884
+ export class NodepoolManagementAutoVulFixPolicy extends $tea.Model {
7885
+ restartNode?: boolean;
7886
+ vulLevel?: string;
7887
+ static names(): { [key: string]: string } {
7888
+ return {
7889
+ restartNode: 'restart_node',
7890
+ vulLevel: 'vul_level',
7891
+ };
7892
+ }
7893
+
7894
+ static types(): { [key: string]: any } {
7895
+ return {
7896
+ restartNode: 'boolean',
7897
+ vulLevel: 'string',
7898
+ };
7899
+ }
7900
+
7901
+ constructor(map?: { [key: string]: any }) {
7902
+ super(map);
7903
+ }
7904
+ }
7905
+
7398
7906
  export class NodepoolManagementUpgradeConfig extends $tea.Model {
7399
7907
  autoUpgrade?: boolean;
7400
7908
  maxUnavailable?: number;
@@ -7425,11 +7933,21 @@ export class NodepoolManagementUpgradeConfig extends $tea.Model {
7425
7933
 
7426
7934
  export class NodepoolManagement extends $tea.Model {
7427
7935
  autoRepair?: boolean;
7936
+ autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
7937
+ autoUpgrade?: boolean;
7938
+ autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
7939
+ autoVulFix?: boolean;
7940
+ autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
7428
7941
  enable?: boolean;
7429
7942
  upgradeConfig?: NodepoolManagementUpgradeConfig;
7430
7943
  static names(): { [key: string]: string } {
7431
7944
  return {
7432
7945
  autoRepair: 'auto_repair',
7946
+ autoRepairPolicy: 'auto_repair_policy',
7947
+ autoUpgrade: 'auto_upgrade',
7948
+ autoUpgradePolicy: 'auto_upgrade_policy',
7949
+ autoVulFix: 'auto_vul_fix',
7950
+ autoVulFixPolicy: 'auto_vul_fix_policy',
7433
7951
  enable: 'enable',
7434
7952
  upgradeConfig: 'upgrade_config',
7435
7953
  };
@@ -7438,6 +7956,11 @@ export class NodepoolManagement extends $tea.Model {
7438
7956
  static types(): { [key: string]: any } {
7439
7957
  return {
7440
7958
  autoRepair: 'boolean',
7959
+ autoRepairPolicy: NodepoolManagementAutoRepairPolicy,
7960
+ autoUpgrade: 'boolean',
7961
+ autoUpgradePolicy: NodepoolManagementAutoUpgradePolicy,
7962
+ autoVulFix: 'boolean',
7963
+ autoVulFixPolicy: NodepoolManagementAutoVulFixPolicy,
7441
7964
  enable: 'boolean',
7442
7965
  upgradeConfig: NodepoolManagementUpgradeConfig,
7443
7966
  };
@@ -7448,6 +7971,25 @@ export class NodepoolManagement extends $tea.Model {
7448
7971
  }
7449
7972
  }
7450
7973
 
7974
+ export class NodepoolNodeConfig extends $tea.Model {
7975
+ kubeletConfiguration?: KubeletConfig;
7976
+ static names(): { [key: string]: string } {
7977
+ return {
7978
+ kubeletConfiguration: 'kubelet_configuration',
7979
+ };
7980
+ }
7981
+
7982
+ static types(): { [key: string]: any } {
7983
+ return {
7984
+ kubeletConfiguration: KubeletConfig,
7985
+ };
7986
+ }
7987
+
7988
+ constructor(map?: { [key: string]: any }) {
7989
+ super(map);
7990
+ }
7991
+ }
7992
+
7451
7993
  export class NodepoolNodepoolInfo extends $tea.Model {
7452
7994
  name?: string;
7453
7995
  resourceGroupId?: string;
@@ -7553,6 +8095,7 @@ export class NodepoolScalingGroup extends $tea.Model {
7553
8095
  internetChargeType?: string;
7554
8096
  internetMaxBandwidthOut?: number;
7555
8097
  keyPair?: string;
8098
+ loginAsNonRoot?: boolean;
7556
8099
  loginPassword?: string;
7557
8100
  multiAzPolicy?: string;
7558
8101
  onDemandBaseCapacity?: number;
@@ -7570,7 +8113,11 @@ export class NodepoolScalingGroup extends $tea.Model {
7570
8113
  spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
7571
8114
  spotStrategy?: string;
7572
8115
  systemDiskBurstingEnabled?: boolean;
8116
+ systemDiskCategories?: string[];
7573
8117
  systemDiskCategory?: string;
8118
+ systemDiskEncryptAlgorithm?: string;
8119
+ systemDiskEncrypted?: boolean;
8120
+ systemDiskKmsKeyId?: string;
7574
8121
  systemDiskPerformanceLevel?: string;
7575
8122
  systemDiskProvisionedIops?: number;
7576
8123
  systemDiskSize?: number;
@@ -7591,6 +8138,7 @@ export class NodepoolScalingGroup extends $tea.Model {
7591
8138
  internetChargeType: 'internet_charge_type',
7592
8139
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
7593
8140
  keyPair: 'key_pair',
8141
+ loginAsNonRoot: 'login_as_non_root',
7594
8142
  loginPassword: 'login_password',
7595
8143
  multiAzPolicy: 'multi_az_policy',
7596
8144
  onDemandBaseCapacity: 'on_demand_base_capacity',
@@ -7608,7 +8156,11 @@ export class NodepoolScalingGroup extends $tea.Model {
7608
8156
  spotPriceLimit: 'spot_price_limit',
7609
8157
  spotStrategy: 'spot_strategy',
7610
8158
  systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
8159
+ systemDiskCategories: 'system_disk_categories',
7611
8160
  systemDiskCategory: 'system_disk_category',
8161
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
8162
+ systemDiskEncrypted: 'system_disk_encrypted',
8163
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
7612
8164
  systemDiskPerformanceLevel: 'system_disk_performance_level',
7613
8165
  systemDiskProvisionedIops: 'system_disk_provisioned_iops',
7614
8166
  systemDiskSize: 'system_disk_size',
@@ -7632,6 +8184,7 @@ export class NodepoolScalingGroup extends $tea.Model {
7632
8184
  internetChargeType: 'string',
7633
8185
  internetMaxBandwidthOut: 'number',
7634
8186
  keyPair: 'string',
8187
+ loginAsNonRoot: 'boolean',
7635
8188
  loginPassword: 'string',
7636
8189
  multiAzPolicy: 'string',
7637
8190
  onDemandBaseCapacity: 'number',
@@ -7649,7 +8202,11 @@ export class NodepoolScalingGroup extends $tea.Model {
7649
8202
  spotPriceLimit: { 'type': 'array', 'itemType': NodepoolScalingGroupSpotPriceLimit },
7650
8203
  spotStrategy: 'string',
7651
8204
  systemDiskBurstingEnabled: 'boolean',
8205
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
7652
8206
  systemDiskCategory: 'string',
8207
+ systemDiskEncryptAlgorithm: 'string',
8208
+ systemDiskEncrypted: 'boolean',
8209
+ systemDiskKmsKeyId: 'string',
7653
8210
  systemDiskPerformanceLevel: 'string',
7654
8211
  systemDiskProvisionedIops: 'number',
7655
8212
  systemDiskSize: 'number',
@@ -7811,6 +8368,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
7811
8368
  runtime?: string;
7812
8369
  runtimeVersion?: string;
7813
8370
  taints?: Taint[];
8371
+ unschedulable?: boolean;
7814
8372
  userData?: string;
7815
8373
  static names(): { [key: string]: string } {
7816
8374
  return {
@@ -7821,6 +8379,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
7821
8379
  runtime: 'runtime',
7822
8380
  runtimeVersion: 'runtime_version',
7823
8381
  taints: 'taints',
8382
+ unschedulable: 'unschedulable',
7824
8383
  userData: 'user_data',
7825
8384
  };
7826
8385
  }
@@ -7834,6 +8393,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
7834
8393
  runtime: 'string',
7835
8394
  runtimeVersion: 'string',
7836
8395
  taints: { 'type': 'array', 'itemType': Taint },
8396
+ unschedulable: 'boolean',
7837
8397
  userData: 'string',
7838
8398
  };
7839
8399
  }
@@ -7971,6 +8531,25 @@ export class CreateClusterNodePoolRequestManagement extends $tea.Model {
7971
8531
  }
7972
8532
  }
7973
8533
 
8534
+ export class CreateClusterNodePoolRequestNodeConfig extends $tea.Model {
8535
+ kubeletConfiguration?: KubeletConfig;
8536
+ static names(): { [key: string]: string } {
8537
+ return {
8538
+ kubeletConfiguration: 'kubelet_configuration',
8539
+ };
8540
+ }
8541
+
8542
+ static types(): { [key: string]: any } {
8543
+ return {
8544
+ kubeletConfiguration: KubeletConfig,
8545
+ };
8546
+ }
8547
+
8548
+ constructor(map?: { [key: string]: any }) {
8549
+ super(map);
8550
+ }
8551
+ }
8552
+
7974
8553
  export class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model {
7975
8554
  name?: string;
7976
8555
  resourceGroupId?: string;
@@ -8065,6 +8644,7 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
8065
8644
  export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8066
8645
  autoRenew?: boolean;
8067
8646
  autoRenewPeriod?: number;
8647
+ cisEnabled?: boolean;
8068
8648
  compensateWithOnDemand?: boolean;
8069
8649
  dataDisks?: DataDisk[];
8070
8650
  deploymentsetId?: string;
@@ -8076,6 +8656,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8076
8656
  internetChargeType?: string;
8077
8657
  internetMaxBandwidthOut?: number;
8078
8658
  keyPair?: string;
8659
+ loginAsNonRoot?: boolean;
8079
8660
  loginPassword?: string;
8080
8661
  multiAzPolicy?: string;
8081
8662
  onDemandBaseCapacity?: number;
@@ -8088,12 +8669,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8088
8669
  scalingPolicy?: string;
8089
8670
  securityGroupId?: string;
8090
8671
  securityGroupIds?: string[];
8672
+ socEnabled?: boolean;
8091
8673
  spotInstancePools?: number;
8092
8674
  spotInstanceRemedy?: boolean;
8093
8675
  spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
8094
8676
  spotStrategy?: string;
8095
8677
  systemDiskBurstingEnabled?: boolean;
8678
+ systemDiskCategories?: string[];
8096
8679
  systemDiskCategory?: string;
8680
+ systemDiskEncryptAlgorithm?: string;
8681
+ systemDiskEncrypted?: boolean;
8682
+ systemDiskKmsKeyId?: string;
8097
8683
  systemDiskPerformanceLevel?: string;
8098
8684
  systemDiskProvisionedIops?: number;
8099
8685
  systemDiskSize?: number;
@@ -8103,6 +8689,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8103
8689
  return {
8104
8690
  autoRenew: 'auto_renew',
8105
8691
  autoRenewPeriod: 'auto_renew_period',
8692
+ cisEnabled: 'cis_enabled',
8106
8693
  compensateWithOnDemand: 'compensate_with_on_demand',
8107
8694
  dataDisks: 'data_disks',
8108
8695
  deploymentsetId: 'deploymentset_id',
@@ -8114,6 +8701,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8114
8701
  internetChargeType: 'internet_charge_type',
8115
8702
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
8116
8703
  keyPair: 'key_pair',
8704
+ loginAsNonRoot: 'login_as_non_root',
8117
8705
  loginPassword: 'login_password',
8118
8706
  multiAzPolicy: 'multi_az_policy',
8119
8707
  onDemandBaseCapacity: 'on_demand_base_capacity',
@@ -8126,12 +8714,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8126
8714
  scalingPolicy: 'scaling_policy',
8127
8715
  securityGroupId: 'security_group_id',
8128
8716
  securityGroupIds: 'security_group_ids',
8717
+ socEnabled: 'soc_enabled',
8129
8718
  spotInstancePools: 'spot_instance_pools',
8130
8719
  spotInstanceRemedy: 'spot_instance_remedy',
8131
8720
  spotPriceLimit: 'spot_price_limit',
8132
8721
  spotStrategy: 'spot_strategy',
8133
8722
  systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
8723
+ systemDiskCategories: 'system_disk_categories',
8134
8724
  systemDiskCategory: 'system_disk_category',
8725
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
8726
+ systemDiskEncrypted: 'system_disk_encrypted',
8727
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
8135
8728
  systemDiskPerformanceLevel: 'system_disk_performance_level',
8136
8729
  systemDiskProvisionedIops: 'system_disk_provisioned_iops',
8137
8730
  systemDiskSize: 'system_disk_size',
@@ -8144,6 +8737,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8144
8737
  return {
8145
8738
  autoRenew: 'boolean',
8146
8739
  autoRenewPeriod: 'number',
8740
+ cisEnabled: 'boolean',
8147
8741
  compensateWithOnDemand: 'boolean',
8148
8742
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
8149
8743
  deploymentsetId: 'string',
@@ -8155,6 +8749,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8155
8749
  internetChargeType: 'string',
8156
8750
  internetMaxBandwidthOut: 'number',
8157
8751
  keyPair: 'string',
8752
+ loginAsNonRoot: 'boolean',
8158
8753
  loginPassword: 'string',
8159
8754
  multiAzPolicy: 'string',
8160
8755
  onDemandBaseCapacity: 'number',
@@ -8167,12 +8762,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8167
8762
  scalingPolicy: 'string',
8168
8763
  securityGroupId: 'string',
8169
8764
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
8765
+ socEnabled: 'boolean',
8170
8766
  spotInstancePools: 'number',
8171
8767
  spotInstanceRemedy: 'boolean',
8172
8768
  spotPriceLimit: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupSpotPriceLimit },
8173
8769
  spotStrategy: 'string',
8174
8770
  systemDiskBurstingEnabled: 'boolean',
8771
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
8175
8772
  systemDiskCategory: 'string',
8773
+ systemDiskEncryptAlgorithm: 'string',
8774
+ systemDiskEncrypted: 'boolean',
8775
+ systemDiskKmsKeyId: 'string',
8176
8776
  systemDiskPerformanceLevel: 'string',
8177
8777
  systemDiskProvisionedIops: 'number',
8178
8778
  systemDiskSize: 'number',
@@ -8205,6 +8805,31 @@ export class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
8205
8805
  }
8206
8806
  }
8207
8807
 
8808
+ export class DescribeAddonResponseBodyNewerVersions extends $tea.Model {
8809
+ minimumClusterVersion?: string;
8810
+ upgradable?: boolean;
8811
+ version?: string;
8812
+ static names(): { [key: string]: string } {
8813
+ return {
8814
+ minimumClusterVersion: 'minimum_cluster_version',
8815
+ upgradable: 'upgradable',
8816
+ version: 'version',
8817
+ };
8818
+ }
8819
+
8820
+ static types(): { [key: string]: any } {
8821
+ return {
8822
+ minimumClusterVersion: 'string',
8823
+ upgradable: 'boolean',
8824
+ version: 'string',
8825
+ };
8826
+ }
8827
+
8828
+ constructor(map?: { [key: string]: any }) {
8829
+ super(map);
8830
+ }
8831
+ }
8832
+
8208
8833
  export class DescribeAddonsResponseBodyComponentGroupsItems extends $tea.Model {
8209
8834
  name?: string;
8210
8835
  static names(): { [key: string]: string } {
@@ -8440,6 +9065,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
8440
9065
  runtime?: string;
8441
9066
  runtimeVersion?: string;
8442
9067
  taints?: Taint[];
9068
+ unschedulable?: boolean;
8443
9069
  userData?: string;
8444
9070
  static names(): { [key: string]: string } {
8445
9071
  return {
@@ -8450,6 +9076,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
8450
9076
  runtime: 'runtime',
8451
9077
  runtimeVersion: 'runtime_version',
8452
9078
  taints: 'taints',
9079
+ unschedulable: 'unschedulable',
8453
9080
  userData: 'user_data',
8454
9081
  };
8455
9082
  }
@@ -8463,6 +9090,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
8463
9090
  runtime: 'string',
8464
9091
  runtimeVersion: 'string',
8465
9092
  taints: { 'type': 'array', 'itemType': Taint },
9093
+ unschedulable: 'boolean',
8466
9094
  userData: 'string',
8467
9095
  };
8468
9096
  }
@@ -8706,16 +9334,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
8706
9334
  export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
8707
9335
  autoRenew?: boolean;
8708
9336
  autoRenewPeriod?: number;
9337
+ cisEnabled?: boolean;
8709
9338
  compensateWithOnDemand?: boolean;
8710
9339
  dataDisks?: DataDisk[];
8711
9340
  deploymentsetId?: string;
8712
9341
  desiredSize?: number;
8713
9342
  imageId?: string;
9343
+ imageType?: string;
8714
9344
  instanceChargeType?: string;
8715
9345
  instanceTypes?: string[];
8716
9346
  internetChargeType?: string;
8717
9347
  internetMaxBandwidthOut?: number;
8718
9348
  keyPair?: string;
9349
+ loginAsNonRoot?: boolean;
8719
9350
  loginPassword?: string;
8720
9351
  multiAzPolicy?: string;
8721
9352
  onDemandBaseCapacity?: number;
@@ -8730,12 +9361,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
8730
9361
  scalingPolicy?: string;
8731
9362
  securityGroupId?: string;
8732
9363
  securityGroupIds?: string[];
9364
+ socEnabled?: boolean;
8733
9365
  spotInstancePools?: number;
8734
9366
  spotInstanceRemedy?: boolean;
8735
9367
  spotPriceLimit?: DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit[];
8736
9368
  spotStrategy?: string;
9369
+ systemDiskBurstingEnabled?: boolean;
9370
+ systemDiskCategories?: string[];
8737
9371
  systemDiskCategory?: string;
9372
+ systemDiskEncryptAlgorithm?: string;
9373
+ systemDiskEncrypted?: boolean;
9374
+ systemDiskKmsKeyId?: string;
8738
9375
  systemDiskPerformanceLevel?: string;
9376
+ systemDiskProvisionedIops?: number;
8739
9377
  systemDiskSize?: number;
8740
9378
  tags?: Tag[];
8741
9379
  vswitchIds?: string[];
@@ -8743,16 +9381,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
8743
9381
  return {
8744
9382
  autoRenew: 'auto_renew',
8745
9383
  autoRenewPeriod: 'auto_renew_period',
9384
+ cisEnabled: 'cis_enabled',
8746
9385
  compensateWithOnDemand: 'compensate_with_on_demand',
8747
9386
  dataDisks: 'data_disks',
8748
9387
  deploymentsetId: 'deploymentset_id',
8749
9388
  desiredSize: 'desired_size',
8750
9389
  imageId: 'image_id',
9390
+ imageType: 'image_type',
8751
9391
  instanceChargeType: 'instance_charge_type',
8752
9392
  instanceTypes: 'instance_types',
8753
9393
  internetChargeType: 'internet_charge_type',
8754
9394
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
8755
9395
  keyPair: 'key_pair',
9396
+ loginAsNonRoot: 'login_as_non_root',
8756
9397
  loginPassword: 'login_password',
8757
9398
  multiAzPolicy: 'multi_az_policy',
8758
9399
  onDemandBaseCapacity: 'on_demand_base_capacity',
@@ -8767,12 +9408,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
8767
9408
  scalingPolicy: 'scaling_policy',
8768
9409
  securityGroupId: 'security_group_id',
8769
9410
  securityGroupIds: 'security_group_ids',
9411
+ socEnabled: 'soc_enabled',
8770
9412
  spotInstancePools: 'spot_instance_pools',
8771
9413
  spotInstanceRemedy: 'spot_instance_remedy',
8772
9414
  spotPriceLimit: 'spot_price_limit',
8773
9415
  spotStrategy: 'spot_strategy',
9416
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
9417
+ systemDiskCategories: 'system_disk_categories',
8774
9418
  systemDiskCategory: 'system_disk_category',
9419
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
9420
+ systemDiskEncrypted: 'system_disk_encrypted',
9421
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
8775
9422
  systemDiskPerformanceLevel: 'system_disk_performance_level',
9423
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
8776
9424
  systemDiskSize: 'system_disk_size',
8777
9425
  tags: 'tags',
8778
9426
  vswitchIds: 'vswitch_ids',
@@ -8783,16 +9431,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
8783
9431
  return {
8784
9432
  autoRenew: 'boolean',
8785
9433
  autoRenewPeriod: 'number',
9434
+ cisEnabled: 'boolean',
8786
9435
  compensateWithOnDemand: 'boolean',
8787
9436
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
8788
9437
  deploymentsetId: 'string',
8789
9438
  desiredSize: 'number',
8790
9439
  imageId: 'string',
9440
+ imageType: 'string',
8791
9441
  instanceChargeType: 'string',
8792
9442
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
8793
9443
  internetChargeType: 'string',
8794
9444
  internetMaxBandwidthOut: 'number',
8795
9445
  keyPair: 'string',
9446
+ loginAsNonRoot: 'boolean',
8796
9447
  loginPassword: 'string',
8797
9448
  multiAzPolicy: 'string',
8798
9449
  onDemandBaseCapacity: 'number',
@@ -8807,12 +9458,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
8807
9458
  scalingPolicy: 'string',
8808
9459
  securityGroupId: 'string',
8809
9460
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
9461
+ socEnabled: 'boolean',
8810
9462
  spotInstancePools: 'number',
8811
9463
  spotInstanceRemedy: 'boolean',
8812
9464
  spotPriceLimit: { 'type': 'array', 'itemType': DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit },
8813
9465
  spotStrategy: 'string',
9466
+ systemDiskBurstingEnabled: 'boolean',
9467
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
8814
9468
  systemDiskCategory: 'string',
9469
+ systemDiskEncryptAlgorithm: 'string',
9470
+ systemDiskEncrypted: 'boolean',
9471
+ systemDiskKmsKeyId: 'string',
8815
9472
  systemDiskPerformanceLevel: 'string',
9473
+ systemDiskProvisionedIops: 'number',
8816
9474
  systemDiskSize: 'number',
8817
9475
  tags: { 'type': 'array', 'itemType': Tag },
8818
9476
  vswitchIds: { 'type': 'array', 'itemType': 'string' },
@@ -8959,6 +9617,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
8959
9617
  runtime?: string;
8960
9618
  runtimeVersion?: string;
8961
9619
  taints?: Taint[];
9620
+ unschedulable?: boolean;
8962
9621
  userData?: string;
8963
9622
  static names(): { [key: string]: string } {
8964
9623
  return {
@@ -8969,6 +9628,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
8969
9628
  runtime: 'runtime',
8970
9629
  runtimeVersion: 'runtime_version',
8971
9630
  taints: 'taints',
9631
+ unschedulable: 'unschedulable',
8972
9632
  userData: 'user_data',
8973
9633
  };
8974
9634
  }
@@ -8982,6 +9642,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
8982
9642
  runtime: 'string',
8983
9643
  runtimeVersion: 'string',
8984
9644
  taints: { 'type': 'array', 'itemType': Taint },
9645
+ unschedulable: 'boolean',
8985
9646
  userData: 'string',
8986
9647
  };
8987
9648
  }
@@ -9225,16 +9886,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceL
9225
9886
  export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Model {
9226
9887
  autoRenew?: boolean;
9227
9888
  autoRenewPeriod?: number;
9889
+ cisEnabled?: boolean;
9228
9890
  compensateWithOnDemand?: boolean;
9229
9891
  dataDisks?: DataDisk[];
9230
9892
  deploymentsetId?: string;
9231
9893
  desiredSize?: number;
9232
9894
  imageId?: string;
9895
+ imageType?: string;
9233
9896
  instanceChargeType?: string;
9234
9897
  instanceTypes?: string[];
9235
9898
  internetChargeType?: string;
9236
9899
  internetMaxBandwidthOut?: number;
9237
9900
  keyPair?: string;
9901
+ loginAsNonRoot?: boolean;
9238
9902
  loginPassword?: string;
9239
9903
  multiAzPolicy?: string;
9240
9904
  onDemandBaseCapacity?: number;
@@ -9249,12 +9913,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
9249
9913
  scalingPolicy?: string;
9250
9914
  securityGroupId?: string;
9251
9915
  securityGroupIds?: string[];
9916
+ socEnabled?: boolean;
9252
9917
  spotInstancePools?: number;
9253
9918
  spotInstanceRemedy?: boolean;
9254
9919
  spotPriceLimit?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit[];
9255
9920
  spotStrategy?: string;
9921
+ systemDiskBurstingEnabled?: boolean;
9922
+ systemDiskCategories?: string[];
9256
9923
  systemDiskCategory?: string;
9924
+ systemDiskEncryptAlgorithm?: string;
9925
+ systemDiskEncrypted?: boolean;
9926
+ systemDiskKmsKeyId?: string;
9257
9927
  systemDiskPerformanceLevel?: string;
9928
+ systemDiskProvisionedIops?: number;
9258
9929
  systemDiskSize?: number;
9259
9930
  tags?: Tag[];
9260
9931
  vswitchIds?: string[];
@@ -9262,16 +9933,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
9262
9933
  return {
9263
9934
  autoRenew: 'auto_renew',
9264
9935
  autoRenewPeriod: 'auto_renew_period',
9936
+ cisEnabled: 'cis_enabled',
9265
9937
  compensateWithOnDemand: 'compensate_with_on_demand',
9266
9938
  dataDisks: 'data_disks',
9267
9939
  deploymentsetId: 'deploymentset_id',
9268
9940
  desiredSize: 'desired_size',
9269
9941
  imageId: 'image_id',
9942
+ imageType: 'image_type',
9270
9943
  instanceChargeType: 'instance_charge_type',
9271
9944
  instanceTypes: 'instance_types',
9272
9945
  internetChargeType: 'internet_charge_type',
9273
9946
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
9274
9947
  keyPair: 'key_pair',
9948
+ loginAsNonRoot: 'login_as_non_root',
9275
9949
  loginPassword: 'login_password',
9276
9950
  multiAzPolicy: 'multi_az_policy',
9277
9951
  onDemandBaseCapacity: 'on_demand_base_capacity',
@@ -9286,12 +9960,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
9286
9960
  scalingPolicy: 'scaling_policy',
9287
9961
  securityGroupId: 'security_group_id',
9288
9962
  securityGroupIds: 'security_group_ids',
9963
+ socEnabled: 'soc_enabled',
9289
9964
  spotInstancePools: 'spot_instance_pools',
9290
9965
  spotInstanceRemedy: 'spot_instance_remedy',
9291
9966
  spotPriceLimit: 'spot_price_limit',
9292
9967
  spotStrategy: 'spot_strategy',
9968
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
9969
+ systemDiskCategories: 'system_disk_categories',
9293
9970
  systemDiskCategory: 'system_disk_category',
9971
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
9972
+ systemDiskEncrypted: 'system_disk_encrypted',
9973
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
9294
9974
  systemDiskPerformanceLevel: 'system_disk_performance_level',
9975
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
9295
9976
  systemDiskSize: 'system_disk_size',
9296
9977
  tags: 'tags',
9297
9978
  vswitchIds: 'vswitch_ids',
@@ -9302,16 +9983,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
9302
9983
  return {
9303
9984
  autoRenew: 'boolean',
9304
9985
  autoRenewPeriod: 'number',
9986
+ cisEnabled: 'boolean',
9305
9987
  compensateWithOnDemand: 'boolean',
9306
9988
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
9307
9989
  deploymentsetId: 'string',
9308
9990
  desiredSize: 'number',
9309
9991
  imageId: 'string',
9992
+ imageType: 'string',
9310
9993
  instanceChargeType: 'string',
9311
9994
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
9312
9995
  internetChargeType: 'string',
9313
9996
  internetMaxBandwidthOut: 'number',
9314
9997
  keyPair: 'string',
9998
+ loginAsNonRoot: 'boolean',
9315
9999
  loginPassword: 'string',
9316
10000
  multiAzPolicy: 'string',
9317
10001
  onDemandBaseCapacity: 'number',
@@ -9326,12 +10010,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
9326
10010
  scalingPolicy: 'string',
9327
10011
  securityGroupId: 'string',
9328
10012
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
10013
+ socEnabled: 'boolean',
9329
10014
  spotInstancePools: 'number',
9330
10015
  spotInstanceRemedy: 'boolean',
9331
10016
  spotPriceLimit: { 'type': 'array', 'itemType': DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit },
9332
10017
  spotStrategy: 'string',
10018
+ systemDiskBurstingEnabled: 'boolean',
10019
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
9333
10020
  systemDiskCategory: 'string',
10021
+ systemDiskEncryptAlgorithm: 'string',
10022
+ systemDiskEncrypted: 'boolean',
10023
+ systemDiskKmsKeyId: 'string',
9334
10024
  systemDiskPerformanceLevel: 'string',
10025
+ systemDiskProvisionedIops: 'number',
9335
10026
  systemDiskSize: 'number',
9336
10027
  tags: { 'type': 'array', 'itemType': Tag },
9337
10028
  vswitchIds: { 'type': 'array', 'itemType': 'string' },
@@ -11015,6 +11706,34 @@ export class FixNodePoolVulsRequestRolloutPolicy extends $tea.Model {
11015
11706
  }
11016
11707
  }
11017
11708
 
11709
+ export class GetClusterAddonInstanceResponseBodyLogging extends $tea.Model {
11710
+ capable?: boolean;
11711
+ enabled?: boolean;
11712
+ logProject?: string;
11713
+ logstore?: string;
11714
+ static names(): { [key: string]: string } {
11715
+ return {
11716
+ capable: 'capable',
11717
+ enabled: 'enabled',
11718
+ logProject: 'log_project',
11719
+ logstore: 'logstore',
11720
+ };
11721
+ }
11722
+
11723
+ static types(): { [key: string]: any } {
11724
+ return {
11725
+ capable: 'boolean',
11726
+ enabled: 'boolean',
11727
+ logProject: 'string',
11728
+ logstore: 'string',
11729
+ };
11730
+ }
11731
+
11732
+ constructor(map?: { [key: string]: any }) {
11733
+ super(map);
11734
+ }
11735
+ }
11736
+
11018
11737
  export class GetKubernetesTriggerResponseBody extends $tea.Model {
11019
11738
  id?: string;
11020
11739
  name?: string;
@@ -11083,23 +11802,88 @@ export class GrantPermissionsRequestBody extends $tea.Model {
11083
11802
  roleType?: string;
11084
11803
  static names(): { [key: string]: string } {
11085
11804
  return {
11086
- cluster: 'cluster',
11087
- isCustom: 'is_custom',
11088
- isRamRole: 'is_ram_role',
11089
- namespace: 'namespace',
11090
- roleName: 'role_name',
11091
- roleType: 'role_type',
11805
+ cluster: 'cluster',
11806
+ isCustom: 'is_custom',
11807
+ isRamRole: 'is_ram_role',
11808
+ namespace: 'namespace',
11809
+ roleName: 'role_name',
11810
+ roleType: 'role_type',
11811
+ };
11812
+ }
11813
+
11814
+ static types(): { [key: string]: any } {
11815
+ return {
11816
+ cluster: 'string',
11817
+ isCustom: 'boolean',
11818
+ isRamRole: 'boolean',
11819
+ namespace: 'string',
11820
+ roleName: 'string',
11821
+ roleType: 'string',
11822
+ };
11823
+ }
11824
+
11825
+ constructor(map?: { [key: string]: any }) {
11826
+ super(map);
11827
+ }
11828
+ }
11829
+
11830
+ export class InstallClusterAddonsRequestBody extends $tea.Model {
11831
+ config?: string;
11832
+ name?: string;
11833
+ version?: string;
11834
+ static names(): { [key: string]: string } {
11835
+ return {
11836
+ config: 'config',
11837
+ name: 'name',
11838
+ version: 'version',
11839
+ };
11840
+ }
11841
+
11842
+ static types(): { [key: string]: any } {
11843
+ return {
11844
+ config: 'string',
11845
+ name: 'string',
11846
+ version: 'string',
11847
+ };
11848
+ }
11849
+
11850
+ constructor(map?: { [key: string]: any }) {
11851
+ super(map);
11852
+ }
11853
+ }
11854
+
11855
+ export class ListAddonsResponseBodyAddons extends $tea.Model {
11856
+ architecture?: string[];
11857
+ category?: string;
11858
+ configSchema?: string;
11859
+ installByDefault?: boolean;
11860
+ managed?: boolean;
11861
+ name?: string;
11862
+ supportedActions?: string[];
11863
+ version?: string;
11864
+ static names(): { [key: string]: string } {
11865
+ return {
11866
+ architecture: 'architecture',
11867
+ category: 'category',
11868
+ configSchema: 'config_schema',
11869
+ installByDefault: 'install_by_default',
11870
+ managed: 'managed',
11871
+ name: 'name',
11872
+ supportedActions: 'supported_actions',
11873
+ version: 'version',
11092
11874
  };
11093
11875
  }
11094
11876
 
11095
11877
  static types(): { [key: string]: any } {
11096
11878
  return {
11097
- cluster: 'string',
11098
- isCustom: 'boolean',
11099
- isRamRole: 'boolean',
11100
- namespace: 'string',
11101
- roleName: 'string',
11102
- roleType: 'string',
11879
+ architecture: { 'type': 'array', 'itemType': 'string' },
11880
+ category: 'string',
11881
+ configSchema: 'string',
11882
+ installByDefault: 'boolean',
11883
+ managed: 'boolean',
11884
+ name: 'string',
11885
+ supportedActions: { 'type': 'array', 'itemType': 'string' },
11886
+ version: 'string',
11103
11887
  };
11104
11888
  }
11105
11889
 
@@ -11108,22 +11892,22 @@ export class GrantPermissionsRequestBody extends $tea.Model {
11108
11892
  }
11109
11893
  }
11110
11894
 
11111
- export class InstallClusterAddonsRequestBody extends $tea.Model {
11112
- config?: string;
11895
+ export class ListClusterAddonInstancesResponseBodyAddons extends $tea.Model {
11113
11896
  name?: string;
11897
+ state?: string;
11114
11898
  version?: string;
11115
11899
  static names(): { [key: string]: string } {
11116
11900
  return {
11117
- config: 'config',
11118
11901
  name: 'name',
11902
+ state: 'state',
11119
11903
  version: 'version',
11120
11904
  };
11121
11905
  }
11122
11906
 
11123
11907
  static types(): { [key: string]: any } {
11124
11908
  return {
11125
- config: 'string',
11126
11909
  name: 'string',
11910
+ state: 'string',
11127
11911
  version: 'string',
11128
11912
  };
11129
11913
  }
@@ -11167,6 +11951,49 @@ export class ListClusterChecksResponseBodyChecks extends $tea.Model {
11167
11951
  }
11168
11952
  }
11169
11953
 
11954
+ export class ListOperationPlansResponseBodyPlans extends $tea.Model {
11955
+ clusterId?: string;
11956
+ created?: string;
11957
+ endTime?: string;
11958
+ planId?: string;
11959
+ startTime?: string;
11960
+ state?: string;
11961
+ targetId?: string;
11962
+ targetType?: string;
11963
+ type?: string;
11964
+ static names(): { [key: string]: string } {
11965
+ return {
11966
+ clusterId: 'cluster_id',
11967
+ created: 'created',
11968
+ endTime: 'end_time',
11969
+ planId: 'plan_id',
11970
+ startTime: 'start_time',
11971
+ state: 'state',
11972
+ targetId: 'target_id',
11973
+ targetType: 'target_type',
11974
+ type: 'type',
11975
+ };
11976
+ }
11977
+
11978
+ static types(): { [key: string]: any } {
11979
+ return {
11980
+ clusterId: 'string',
11981
+ created: 'string',
11982
+ endTime: 'string',
11983
+ planId: 'string',
11984
+ startTime: 'string',
11985
+ state: 'string',
11986
+ targetId: 'string',
11987
+ targetType: 'string',
11988
+ type: 'string',
11989
+ };
11990
+ }
11991
+
11992
+ constructor(map?: { [key: string]: any }) {
11993
+ super(map);
11994
+ }
11995
+ }
11996
+
11170
11997
  export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
11171
11998
  resourceId?: string;
11172
11999
  resourceType?: string;
@@ -11555,6 +12382,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
11555
12382
  dataDisks?: DataDisk[];
11556
12383
  desiredSize?: number;
11557
12384
  imageId?: string;
12385
+ imageType?: string;
11558
12386
  instanceChargeType?: string;
11559
12387
  instanceTypes?: string[];
11560
12388
  internetChargeType?: string;
@@ -11574,8 +12402,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
11574
12402
  spotInstanceRemedy?: boolean;
11575
12403
  spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
11576
12404
  spotStrategy?: string;
12405
+ systemDiskBurstingEnabled?: boolean;
12406
+ systemDiskCategories?: string[];
11577
12407
  systemDiskCategory?: string;
12408
+ systemDiskEncryptAlgorithm?: string;
12409
+ systemDiskEncrypted?: boolean;
12410
+ systemDiskKmsKeyId?: string;
11578
12411
  systemDiskPerformanceLevel?: string;
12412
+ systemDiskProvisionedIops?: number;
11579
12413
  systemDiskSize?: number;
11580
12414
  tags?: Tag[];
11581
12415
  vswitchIds?: string[];
@@ -11587,6 +12421,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
11587
12421
  dataDisks: 'data_disks',
11588
12422
  desiredSize: 'desired_size',
11589
12423
  imageId: 'image_id',
12424
+ imageType: 'image_type',
11590
12425
  instanceChargeType: 'instance_charge_type',
11591
12426
  instanceTypes: 'instance_types',
11592
12427
  internetChargeType: 'internet_charge_type',
@@ -11606,8 +12441,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
11606
12441
  spotInstanceRemedy: 'spot_instance_remedy',
11607
12442
  spotPriceLimit: 'spot_price_limit',
11608
12443
  spotStrategy: 'spot_strategy',
12444
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
12445
+ systemDiskCategories: 'system_disk_categories',
11609
12446
  systemDiskCategory: 'system_disk_category',
12447
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
12448
+ systemDiskEncrypted: 'system_disk_encrypted',
12449
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
11610
12450
  systemDiskPerformanceLevel: 'system_disk_performance_level',
12451
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
11611
12452
  systemDiskSize: 'system_disk_size',
11612
12453
  tags: 'tags',
11613
12454
  vswitchIds: 'vswitch_ids',
@@ -11622,6 +12463,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
11622
12463
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
11623
12464
  desiredSize: 'number',
11624
12465
  imageId: 'string',
12466
+ imageType: 'string',
11625
12467
  instanceChargeType: 'string',
11626
12468
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
11627
12469
  internetChargeType: 'string',
@@ -11641,8 +12483,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
11641
12483
  spotInstanceRemedy: 'boolean',
11642
12484
  spotPriceLimit: { 'type': 'array', 'itemType': ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit },
11643
12485
  spotStrategy: 'string',
12486
+ systemDiskBurstingEnabled: 'boolean',
12487
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
11644
12488
  systemDiskCategory: 'string',
12489
+ systemDiskEncryptAlgorithm: 'string',
12490
+ systemDiskEncrypted: 'boolean',
12491
+ systemDiskKmsKeyId: 'string',
11645
12492
  systemDiskPerformanceLevel: 'string',
12493
+ systemDiskProvisionedIops: 'number',
11646
12494
  systemDiskSize: 'number',
11647
12495
  tags: { 'type': 'array', 'itemType': Tag },
11648
12496
  vswitchIds: { 'type': 'array', 'itemType': 'string' },
@@ -12068,6 +12916,30 @@ export default class Client extends OpenApi {
12068
12916
  return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
12069
12917
  }
12070
12918
 
12919
+ async cancelOperationPlanWithOptions(planId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelOperationPlanResponse> {
12920
+ let req = new $OpenApi.OpenApiRequest({
12921
+ headers: headers,
12922
+ });
12923
+ let params = new $OpenApi.Params({
12924
+ action: "CancelOperationPlan",
12925
+ version: "2015-12-15",
12926
+ protocol: "HTTPS",
12927
+ pathname: `/operation/plans/${OpenApiUtil.getEncodeParam(planId)}`,
12928
+ method: "DELETE",
12929
+ authType: "AK",
12930
+ style: "ROA",
12931
+ reqBodyType: "json",
12932
+ bodyType: "json",
12933
+ });
12934
+ return $tea.cast<CancelOperationPlanResponse>(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
12935
+ }
12936
+
12937
+ async cancelOperationPlan(planId: string): Promise<CancelOperationPlanResponse> {
12938
+ let runtime = new $Util.RuntimeOptions({ });
12939
+ let headers : {[key: string ]: string} = { };
12940
+ return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
12941
+ }
12942
+
12071
12943
  async cancelTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelTaskResponse> {
12072
12944
  let req = new $OpenApi.OpenApiRequest({
12073
12945
  headers: headers,
@@ -12648,6 +13520,10 @@ export default class Client extends OpenApi {
12648
13520
  body["max_nodes"] = request.maxNodes;
12649
13521
  }
12650
13522
 
13523
+ if (!Util.isUnset(request.nodeConfig)) {
13524
+ body["node_config"] = request.nodeConfig;
13525
+ }
13526
+
12651
13527
  if (!Util.isUnset(request.nodepoolInfo)) {
12652
13528
  body["nodepool_info"] = request.nodepoolInfo;
12653
13529
  }
@@ -13232,6 +14108,61 @@ export default class Client extends OpenApi {
13232
14108
  return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
13233
14109
  }
13234
14110
 
14111
+ async describeAddonWithOptions(addonName: string, request: DescribeAddonRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonResponse> {
14112
+ Util.validateModel(request);
14113
+ let query : {[key: string ]: any} = { };
14114
+ if (!Util.isUnset(request.clusterId)) {
14115
+ query["cluster_id"] = request.clusterId;
14116
+ }
14117
+
14118
+ if (!Util.isUnset(request.clusterSpec)) {
14119
+ query["cluster_spec"] = request.clusterSpec;
14120
+ }
14121
+
14122
+ if (!Util.isUnset(request.clusterType)) {
14123
+ query["cluster_type"] = request.clusterType;
14124
+ }
14125
+
14126
+ if (!Util.isUnset(request.clusterVersion)) {
14127
+ query["cluster_version"] = request.clusterVersion;
14128
+ }
14129
+
14130
+ if (!Util.isUnset(request.profile)) {
14131
+ query["profile"] = request.profile;
14132
+ }
14133
+
14134
+ if (!Util.isUnset(request.regionId)) {
14135
+ query["region_id"] = request.regionId;
14136
+ }
14137
+
14138
+ if (!Util.isUnset(request.version)) {
14139
+ query["version"] = request.version;
14140
+ }
14141
+
14142
+ let req = new $OpenApi.OpenApiRequest({
14143
+ headers: headers,
14144
+ query: OpenApiUtil.query(query),
14145
+ });
14146
+ let params = new $OpenApi.Params({
14147
+ action: "DescribeAddon",
14148
+ version: "2015-12-15",
14149
+ protocol: "HTTPS",
14150
+ pathname: `/addons/${OpenApiUtil.getEncodeParam(addonName)}`,
14151
+ method: "GET",
14152
+ authType: "AK",
14153
+ style: "ROA",
14154
+ reqBodyType: "json",
14155
+ bodyType: "json",
14156
+ });
14157
+ return $tea.cast<DescribeAddonResponse>(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
14158
+ }
14159
+
14160
+ async describeAddon(addonName: string, request: DescribeAddonRequest): Promise<DescribeAddonResponse> {
14161
+ let runtime = new $Util.RuntimeOptions({ });
14162
+ let headers : {[key: string ]: string} = { };
14163
+ return await this.describeAddonWithOptions(addonName, request, headers, runtime);
14164
+ }
14165
+
13235
14166
  async describeAddonsWithOptions(request: DescribeAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonsResponse> {
13236
14167
  Util.validateModel(request);
13237
14168
  let query : {[key: string ]: any} = { };
@@ -14748,6 +15679,30 @@ export default class Client extends OpenApi {
14748
15679
  return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
14749
15680
  }
14750
15681
 
15682
+ async getClusterAddonInstanceWithOptions(clusterId: string, instanceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterAddonInstanceResponse> {
15683
+ let req = new $OpenApi.OpenApiRequest({
15684
+ headers: headers,
15685
+ });
15686
+ let params = new $OpenApi.Params({
15687
+ action: "GetClusterAddonInstance",
15688
+ version: "2015-12-15",
15689
+ protocol: "HTTPS",
15690
+ pathname: `/clusters/${OpenApiUtil.getEncodeParam(clusterId)}/addon_instances/${OpenApiUtil.getEncodeParam(instanceName)}`,
15691
+ method: "GET",
15692
+ authType: "AK",
15693
+ style: "ROA",
15694
+ reqBodyType: "json",
15695
+ bodyType: "json",
15696
+ });
15697
+ return $tea.cast<GetClusterAddonInstanceResponse>(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
15698
+ }
15699
+
15700
+ async getClusterAddonInstance(clusterId: string, instanceName: string): Promise<GetClusterAddonInstanceResponse> {
15701
+ let runtime = new $Util.RuntimeOptions({ });
15702
+ let headers : {[key: string ]: string} = { };
15703
+ return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
15704
+ }
15705
+
14751
15706
  async getClusterCheckWithOptions(clusterId: string, checkId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterCheckResponse> {
14752
15707
  let req = new $OpenApi.OpenApiRequest({
14753
15708
  headers: headers,
@@ -14911,6 +15866,81 @@ export default class Client extends OpenApi {
14911
15866
  return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
14912
15867
  }
14913
15868
 
15869
+ async listAddonsWithOptions(request: ListAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListAddonsResponse> {
15870
+ Util.validateModel(request);
15871
+ let query : {[key: string ]: any} = { };
15872
+ if (!Util.isUnset(request.clusterId)) {
15873
+ query["cluster_id"] = request.clusterId;
15874
+ }
15875
+
15876
+ if (!Util.isUnset(request.clusterSpec)) {
15877
+ query["cluster_spec"] = request.clusterSpec;
15878
+ }
15879
+
15880
+ if (!Util.isUnset(request.clusterType)) {
15881
+ query["cluster_type"] = request.clusterType;
15882
+ }
15883
+
15884
+ if (!Util.isUnset(request.clusterVersion)) {
15885
+ query["cluster_version"] = request.clusterVersion;
15886
+ }
15887
+
15888
+ if (!Util.isUnset(request.profile)) {
15889
+ query["profile"] = request.profile;
15890
+ }
15891
+
15892
+ if (!Util.isUnset(request.regionId)) {
15893
+ query["region_id"] = request.regionId;
15894
+ }
15895
+
15896
+ let req = new $OpenApi.OpenApiRequest({
15897
+ headers: headers,
15898
+ query: OpenApiUtil.query(query),
15899
+ });
15900
+ let params = new $OpenApi.Params({
15901
+ action: "ListAddons",
15902
+ version: "2015-12-15",
15903
+ protocol: "HTTPS",
15904
+ pathname: `/addons`,
15905
+ method: "GET",
15906
+ authType: "AK",
15907
+ style: "ROA",
15908
+ reqBodyType: "json",
15909
+ bodyType: "json",
15910
+ });
15911
+ return $tea.cast<ListAddonsResponse>(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
15912
+ }
15913
+
15914
+ async listAddons(request: ListAddonsRequest): Promise<ListAddonsResponse> {
15915
+ let runtime = new $Util.RuntimeOptions({ });
15916
+ let headers : {[key: string ]: string} = { };
15917
+ return await this.listAddonsWithOptions(request, headers, runtime);
15918
+ }
15919
+
15920
+ async listClusterAddonInstancesWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListClusterAddonInstancesResponse> {
15921
+ let req = new $OpenApi.OpenApiRequest({
15922
+ headers: headers,
15923
+ });
15924
+ let params = new $OpenApi.Params({
15925
+ action: "ListClusterAddonInstances",
15926
+ version: "2015-12-15",
15927
+ protocol: "HTTPS",
15928
+ pathname: `/clusters/${OpenApiUtil.getEncodeParam(clusterId)}/addon_instances`,
15929
+ method: "GET",
15930
+ authType: "AK",
15931
+ style: "ROA",
15932
+ reqBodyType: "json",
15933
+ bodyType: "json",
15934
+ });
15935
+ return $tea.cast<ListClusterAddonInstancesResponse>(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
15936
+ }
15937
+
15938
+ async listClusterAddonInstances(clusterId: string): Promise<ListClusterAddonInstancesResponse> {
15939
+ let runtime = new $Util.RuntimeOptions({ });
15940
+ let headers : {[key: string ]: string} = { };
15941
+ return await this.listClusterAddonInstancesWithOptions(clusterId, headers, runtime);
15942
+ }
15943
+
14914
15944
  async listClusterChecksWithOptions(clusterId: string, request: ListClusterChecksRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListClusterChecksResponse> {
14915
15945
  Util.validateModel(request);
14916
15946
  let query : {[key: string ]: any} = { };
@@ -14942,6 +15972,41 @@ export default class Client extends OpenApi {
14942
15972
  return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
14943
15973
  }
14944
15974
 
15975
+ async listOperationPlansWithOptions(request: ListOperationPlansRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListOperationPlansResponse> {
15976
+ Util.validateModel(request);
15977
+ let query : {[key: string ]: any} = { };
15978
+ if (!Util.isUnset(request.clusterId)) {
15979
+ query["cluster_id"] = request.clusterId;
15980
+ }
15981
+
15982
+ if (!Util.isUnset(request.type)) {
15983
+ query["type"] = request.type;
15984
+ }
15985
+
15986
+ let req = new $OpenApi.OpenApiRequest({
15987
+ headers: headers,
15988
+ query: OpenApiUtil.query(query),
15989
+ });
15990
+ let params = new $OpenApi.Params({
15991
+ action: "ListOperationPlans",
15992
+ version: "2015-12-15",
15993
+ protocol: "HTTPS",
15994
+ pathname: `/operation/plans`,
15995
+ method: "GET",
15996
+ authType: "AK",
15997
+ style: "ROA",
15998
+ reqBodyType: "json",
15999
+ bodyType: "json",
16000
+ });
16001
+ return $tea.cast<ListOperationPlansResponse>(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
16002
+ }
16003
+
16004
+ async listOperationPlans(request: ListOperationPlansRequest): Promise<ListOperationPlansResponse> {
16005
+ let runtime = new $Util.RuntimeOptions({ });
16006
+ let headers : {[key: string ]: string} = { };
16007
+ return await this.listOperationPlansWithOptions(request, headers, runtime);
16008
+ }
16009
+
14945
16010
  async listTagResourcesWithOptions(tmpReq: ListTagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
14946
16011
  Util.validateModel(tmpReq);
14947
16012
  let request = new ListTagResourcesShrinkRequest({ });
@@ -15198,6 +16263,10 @@ export default class Client extends OpenApi {
15198
16263
  body["auto_scaling"] = request.autoScaling;
15199
16264
  }
15200
16265
 
16266
+ if (!Util.isUnset(request.concurrency)) {
16267
+ body["concurrency"] = request.concurrency;
16268
+ }
16269
+
15201
16270
  if (!Util.isUnset(request.kubernetesConfig)) {
15202
16271
  body["kubernetes_config"] = request.kubernetesConfig;
15203
16272
  }
@@ -15571,6 +16640,10 @@ export default class Client extends OpenApi {
15571
16640
  }
15572
16641
 
15573
16642
  let query : {[key: string ]: any} = { };
16643
+ if (!Util.isUnset(request.concurrency)) {
16644
+ query["concurrency"] = request.concurrency;
16645
+ }
16646
+
15574
16647
  if (!Util.isUnset(request.drainNode)) {
15575
16648
  query["drain_node"] = request.drainNode;
15576
16649
  }
@@ -16443,7 +17516,7 @@ export default class Client extends OpenApi {
16443
17516
  authType: "AK",
16444
17517
  style: "ROA",
16445
17518
  reqBodyType: "json",
16446
- bodyType: "none",
17519
+ bodyType: "json",
16447
17520
  });
16448
17521
  return $tea.cast<UpdateControlPlaneLogResponse>(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
16449
17522
  }