@alicloud/cs20151215 3.0.11 → 3.0.14

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
@@ -240,10 +240,12 @@ export class AttachInstancesResponseBody extends $tea.Model {
240
240
 
241
241
  export class AttachInstancesResponse extends $tea.Model {
242
242
  headers: { [key: string]: string };
243
+ statusCode: number;
243
244
  body: AttachInstancesResponseBody;
244
245
  static names(): { [key: string]: string } {
245
246
  return {
246
247
  headers: 'headers',
248
+ statusCode: 'statusCode',
247
249
  body: 'body',
248
250
  };
249
251
  }
@@ -251,6 +253,7 @@ export class AttachInstancesResponse extends $tea.Model {
251
253
  static types(): { [key: string]: any } {
252
254
  return {
253
255
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
256
+ statusCode: 'number',
254
257
  body: AttachInstancesResponseBody,
255
258
  };
256
259
  }
@@ -262,15 +265,18 @@ export class AttachInstancesResponse extends $tea.Model {
262
265
 
263
266
  export class CancelClusterUpgradeResponse extends $tea.Model {
264
267
  headers: { [key: string]: string };
268
+ statusCode: number;
265
269
  static names(): { [key: string]: string } {
266
270
  return {
267
271
  headers: 'headers',
272
+ statusCode: 'statusCode',
268
273
  };
269
274
  }
270
275
 
271
276
  static types(): { [key: string]: any } {
272
277
  return {
273
278
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
279
+ statusCode: 'number',
274
280
  };
275
281
  }
276
282
 
@@ -281,15 +287,40 @@ export class CancelClusterUpgradeResponse extends $tea.Model {
281
287
 
282
288
  export class CancelComponentUpgradeResponse extends $tea.Model {
283
289
  headers: { [key: string]: string };
290
+ statusCode: number;
284
291
  static names(): { [key: string]: string } {
285
292
  return {
286
293
  headers: 'headers',
294
+ statusCode: 'statusCode',
287
295
  };
288
296
  }
289
297
 
290
298
  static types(): { [key: string]: any } {
291
299
  return {
292
300
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
301
+ statusCode: 'number',
302
+ };
303
+ }
304
+
305
+ constructor(map?: { [key: string]: any }) {
306
+ super(map);
307
+ }
308
+ }
309
+
310
+ export class CancelTaskResponse extends $tea.Model {
311
+ headers: { [key: string]: string };
312
+ statusCode: number;
313
+ static names(): { [key: string]: string } {
314
+ return {
315
+ headers: 'headers',
316
+ statusCode: 'statusCode',
317
+ };
318
+ }
319
+
320
+ static types(): { [key: string]: any } {
321
+ return {
322
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
323
+ statusCode: 'number',
293
324
  };
294
325
  }
295
326
 
@@ -319,15 +350,18 @@ export class CancelWorkflowRequest extends $tea.Model {
319
350
 
320
351
  export class CancelWorkflowResponse extends $tea.Model {
321
352
  headers: { [key: string]: string };
353
+ statusCode: number;
322
354
  static names(): { [key: string]: string } {
323
355
  return {
324
356
  headers: 'headers',
357
+ statusCode: 'statusCode',
325
358
  };
326
359
  }
327
360
 
328
361
  static types(): { [key: string]: any } {
329
362
  return {
330
363
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
364
+ statusCode: 'number',
331
365
  };
332
366
  }
333
367
 
@@ -338,14 +372,18 @@ export class CancelWorkflowResponse extends $tea.Model {
338
372
 
339
373
  export class CreateAutoscalingConfigRequest extends $tea.Model {
340
374
  coolDownDuration?: string;
375
+ expander?: string;
341
376
  gpuUtilizationThreshold?: string;
377
+ scaleDownEnabled?: boolean;
342
378
  scanInterval?: string;
343
379
  unneededDuration?: string;
344
380
  utilizationThreshold?: string;
345
381
  static names(): { [key: string]: string } {
346
382
  return {
347
383
  coolDownDuration: 'cool_down_duration',
384
+ expander: 'expander',
348
385
  gpuUtilizationThreshold: 'gpu_utilization_threshold',
386
+ scaleDownEnabled: 'scale_down_enabled',
349
387
  scanInterval: 'scan_interval',
350
388
  unneededDuration: 'unneeded_duration',
351
389
  utilizationThreshold: 'utilization_threshold',
@@ -355,7 +393,9 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
355
393
  static types(): { [key: string]: any } {
356
394
  return {
357
395
  coolDownDuration: 'string',
396
+ expander: 'string',
358
397
  gpuUtilizationThreshold: 'string',
398
+ scaleDownEnabled: 'boolean',
359
399
  scanInterval: 'string',
360
400
  unneededDuration: 'string',
361
401
  utilizationThreshold: 'string',
@@ -369,15 +409,18 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
369
409
 
370
410
  export class CreateAutoscalingConfigResponse extends $tea.Model {
371
411
  headers: { [key: string]: string };
412
+ statusCode: number;
372
413
  static names(): { [key: string]: string } {
373
414
  return {
374
415
  headers: 'headers',
416
+ statusCode: 'statusCode',
375
417
  };
376
418
  }
377
419
 
378
420
  static types(): { [key: string]: any } {
379
421
  return {
380
422
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
423
+ statusCode: 'number',
381
424
  };
382
425
  }
383
426
 
@@ -389,6 +432,7 @@ export class CreateAutoscalingConfigResponse extends $tea.Model {
389
432
  export class CreateClusterRequest extends $tea.Model {
390
433
  addons?: Addon[];
391
434
  apiAudiences?: string;
435
+ chargeType?: string;
392
436
  cisEnabled?: boolean;
393
437
  cloudMonitorFlags?: boolean;
394
438
  clusterDomain?: string;
@@ -435,6 +479,8 @@ export class CreateClusterRequest extends $tea.Model {
435
479
  nodePortRange?: string;
436
480
  numOfNodes?: number;
437
481
  osType?: string;
482
+ period?: number;
483
+ periodUnit?: string;
438
484
  platform?: string;
439
485
  podVswitchIds?: string[];
440
486
  profile?: string;
@@ -475,6 +521,7 @@ export class CreateClusterRequest extends $tea.Model {
475
521
  return {
476
522
  addons: 'addons',
477
523
  apiAudiences: 'api_audiences',
524
+ chargeType: 'charge_type',
478
525
  cisEnabled: 'cis_enabled',
479
526
  cloudMonitorFlags: 'cloud_monitor_flags',
480
527
  clusterDomain: 'cluster_domain',
@@ -521,6 +568,8 @@ export class CreateClusterRequest extends $tea.Model {
521
568
  nodePortRange: 'node_port_range',
522
569
  numOfNodes: 'num_of_nodes',
523
570
  osType: 'os_type',
571
+ period: 'period',
572
+ periodUnit: 'period_unit',
524
573
  platform: 'platform',
525
574
  podVswitchIds: 'pod_vswitch_ids',
526
575
  profile: 'profile',
@@ -564,6 +613,7 @@ export class CreateClusterRequest extends $tea.Model {
564
613
  return {
565
614
  addons: { 'type': 'array', 'itemType': Addon },
566
615
  apiAudiences: 'string',
616
+ chargeType: 'string',
567
617
  cisEnabled: 'boolean',
568
618
  cloudMonitorFlags: 'boolean',
569
619
  clusterDomain: 'string',
@@ -610,6 +660,8 @@ export class CreateClusterRequest extends $tea.Model {
610
660
  nodePortRange: 'string',
611
661
  numOfNodes: 'number',
612
662
  osType: 'string',
663
+ period: 'number',
664
+ periodUnit: 'string',
613
665
  platform: 'string',
614
666
  podVswitchIds: { 'type': 'array', 'itemType': 'string' },
615
667
  profile: 'string',
@@ -681,10 +733,12 @@ export class CreateClusterResponseBody extends $tea.Model {
681
733
 
682
734
  export class CreateClusterResponse extends $tea.Model {
683
735
  headers: { [key: string]: string };
736
+ statusCode: number;
684
737
  body: CreateClusterResponseBody;
685
738
  static names(): { [key: string]: string } {
686
739
  return {
687
740
  headers: 'headers',
741
+ statusCode: 'statusCode',
688
742
  body: 'body',
689
743
  };
690
744
  }
@@ -692,6 +746,7 @@ export class CreateClusterResponse extends $tea.Model {
692
746
  static types(): { [key: string]: any } {
693
747
  return {
694
748
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
749
+ statusCode: 'number',
695
750
  body: CreateClusterResponseBody,
696
751
  };
697
752
  }
@@ -768,10 +823,12 @@ export class CreateClusterNodePoolResponseBody extends $tea.Model {
768
823
 
769
824
  export class CreateClusterNodePoolResponse extends $tea.Model {
770
825
  headers: { [key: string]: string };
826
+ statusCode: number;
771
827
  body: CreateClusterNodePoolResponseBody;
772
828
  static names(): { [key: string]: string } {
773
829
  return {
774
830
  headers: 'headers',
831
+ statusCode: 'statusCode',
775
832
  body: 'body',
776
833
  };
777
834
  }
@@ -779,6 +836,7 @@ export class CreateClusterNodePoolResponse extends $tea.Model {
779
836
  static types(): { [key: string]: any } {
780
837
  return {
781
838
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
839
+ statusCode: 'number',
782
840
  body: CreateClusterNodePoolResponseBody,
783
841
  };
784
842
  }
@@ -837,10 +895,12 @@ export class CreateEdgeMachineResponseBody extends $tea.Model {
837
895
 
838
896
  export class CreateEdgeMachineResponse extends $tea.Model {
839
897
  headers: { [key: string]: string };
898
+ statusCode: number;
840
899
  body: CreateEdgeMachineResponseBody;
841
900
  static names(): { [key: string]: string } {
842
901
  return {
843
902
  headers: 'headers',
903
+ statusCode: 'statusCode',
844
904
  body: 'body',
845
905
  };
846
906
  }
@@ -848,6 +908,7 @@ export class CreateEdgeMachineResponse extends $tea.Model {
848
908
  static types(): { [key: string]: any } {
849
909
  return {
850
910
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
911
+ statusCode: 'number',
851
912
  body: CreateEdgeMachineResponseBody,
852
913
  };
853
914
  }
@@ -918,10 +979,12 @@ export class CreateKubernetesTriggerResponseBody extends $tea.Model {
918
979
 
919
980
  export class CreateKubernetesTriggerResponse extends $tea.Model {
920
981
  headers: { [key: string]: string };
982
+ statusCode: number;
921
983
  body: CreateKubernetesTriggerResponseBody;
922
984
  static names(): { [key: string]: string } {
923
985
  return {
924
986
  headers: 'headers',
987
+ statusCode: 'statusCode',
925
988
  body: 'body',
926
989
  };
927
990
  }
@@ -929,6 +992,7 @@ export class CreateKubernetesTriggerResponse extends $tea.Model {
929
992
  static types(): { [key: string]: any } {
930
993
  return {
931
994
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
995
+ statusCode: 'number',
932
996
  body: CreateKubernetesTriggerResponseBody,
933
997
  };
934
998
  }
@@ -990,10 +1054,12 @@ export class CreateTemplateResponseBody extends $tea.Model {
990
1054
 
991
1055
  export class CreateTemplateResponse extends $tea.Model {
992
1056
  headers: { [key: string]: string };
1057
+ statusCode: number;
993
1058
  body: CreateTemplateResponseBody;
994
1059
  static names(): { [key: string]: string } {
995
1060
  return {
996
1061
  headers: 'headers',
1062
+ statusCode: 'statusCode',
997
1063
  body: 'body',
998
1064
  };
999
1065
  }
@@ -1001,6 +1067,7 @@ export class CreateTemplateResponse extends $tea.Model {
1001
1067
  static types(): { [key: string]: any } {
1002
1068
  return {
1003
1069
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1070
+ statusCode: 'number',
1004
1071
  body: CreateTemplateResponseBody,
1005
1072
  };
1006
1073
  }
@@ -1071,10 +1138,12 @@ export class CreateTriggerResponseBody extends $tea.Model {
1071
1138
 
1072
1139
  export class CreateTriggerResponse extends $tea.Model {
1073
1140
  headers: { [key: string]: string };
1141
+ statusCode: number;
1074
1142
  body: CreateTriggerResponseBody;
1075
1143
  static names(): { [key: string]: string } {
1076
1144
  return {
1077
1145
  headers: 'headers',
1146
+ statusCode: 'statusCode',
1078
1147
  body: 'body',
1079
1148
  };
1080
1149
  }
@@ -1082,6 +1151,7 @@ export class CreateTriggerResponse extends $tea.Model {
1082
1151
  static types(): { [key: string]: any } {
1083
1152
  return {
1084
1153
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1154
+ statusCode: 'number',
1085
1155
  body: CreateTriggerResponseBody,
1086
1156
  };
1087
1157
  }
@@ -1093,15 +1163,18 @@ export class CreateTriggerResponse extends $tea.Model {
1093
1163
 
1094
1164
  export class DeleteAlertContactResponse extends $tea.Model {
1095
1165
  headers: { [key: string]: string };
1166
+ statusCode: number;
1096
1167
  static names(): { [key: string]: string } {
1097
1168
  return {
1098
1169
  headers: 'headers',
1170
+ statusCode: 'statusCode',
1099
1171
  };
1100
1172
  }
1101
1173
 
1102
1174
  static types(): { [key: string]: any } {
1103
1175
  return {
1104
1176
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1177
+ statusCode: 'number',
1105
1178
  };
1106
1179
  }
1107
1180
 
@@ -1112,15 +1185,18 @@ export class DeleteAlertContactResponse extends $tea.Model {
1112
1185
 
1113
1186
  export class DeleteAlertContactGroupResponse extends $tea.Model {
1114
1187
  headers: { [key: string]: string };
1188
+ statusCode: number;
1115
1189
  static names(): { [key: string]: string } {
1116
1190
  return {
1117
1191
  headers: 'headers',
1192
+ statusCode: 'statusCode',
1118
1193
  };
1119
1194
  }
1120
1195
 
1121
1196
  static types(): { [key: string]: any } {
1122
1197
  return {
1123
1198
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1199
+ statusCode: 'number',
1124
1200
  };
1125
1201
  }
1126
1202
 
@@ -1181,15 +1257,18 @@ export class DeleteClusterShrinkRequest extends $tea.Model {
1181
1257
 
1182
1258
  export class DeleteClusterResponse extends $tea.Model {
1183
1259
  headers: { [key: string]: string };
1260
+ statusCode: number;
1184
1261
  static names(): { [key: string]: string } {
1185
1262
  return {
1186
1263
  headers: 'headers',
1264
+ statusCode: 'statusCode',
1187
1265
  };
1188
1266
  }
1189
1267
 
1190
1268
  static types(): { [key: string]: any } {
1191
1269
  return {
1192
1270
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1271
+ statusCode: 'number',
1193
1272
  };
1194
1273
  }
1195
1274
 
@@ -1238,10 +1317,12 @@ export class DeleteClusterNodepoolResponseBody extends $tea.Model {
1238
1317
 
1239
1318
  export class DeleteClusterNodepoolResponse extends $tea.Model {
1240
1319
  headers: { [key: string]: string };
1320
+ statusCode: number;
1241
1321
  body: DeleteClusterNodepoolResponseBody;
1242
1322
  static names(): { [key: string]: string } {
1243
1323
  return {
1244
1324
  headers: 'headers',
1325
+ statusCode: 'statusCode',
1245
1326
  body: 'body',
1246
1327
  };
1247
1328
  }
@@ -1249,6 +1330,7 @@ export class DeleteClusterNodepoolResponse extends $tea.Model {
1249
1330
  static types(): { [key: string]: any } {
1250
1331
  return {
1251
1332
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1333
+ statusCode: 'number',
1252
1334
  body: DeleteClusterNodepoolResponseBody,
1253
1335
  };
1254
1336
  }
@@ -1310,10 +1392,12 @@ export class DeleteClusterNodesResponseBody extends $tea.Model {
1310
1392
 
1311
1393
  export class DeleteClusterNodesResponse extends $tea.Model {
1312
1394
  headers: { [key: string]: string };
1395
+ statusCode: number;
1313
1396
  body: DeleteClusterNodesResponseBody;
1314
1397
  static names(): { [key: string]: string } {
1315
1398
  return {
1316
1399
  headers: 'headers',
1400
+ statusCode: 'statusCode',
1317
1401
  body: 'body',
1318
1402
  };
1319
1403
  }
@@ -1321,6 +1405,7 @@ export class DeleteClusterNodesResponse extends $tea.Model {
1321
1405
  static types(): { [key: string]: any } {
1322
1406
  return {
1323
1407
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1408
+ statusCode: 'number',
1324
1409
  body: DeleteClusterNodesResponseBody,
1325
1410
  };
1326
1411
  }
@@ -1351,15 +1436,18 @@ export class DeleteEdgeMachineRequest extends $tea.Model {
1351
1436
 
1352
1437
  export class DeleteEdgeMachineResponse extends $tea.Model {
1353
1438
  headers: { [key: string]: string };
1439
+ statusCode: number;
1354
1440
  static names(): { [key: string]: string } {
1355
1441
  return {
1356
1442
  headers: 'headers',
1443
+ statusCode: 'statusCode',
1357
1444
  };
1358
1445
  }
1359
1446
 
1360
1447
  static types(): { [key: string]: any } {
1361
1448
  return {
1362
1449
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1450
+ statusCode: 'number',
1363
1451
  };
1364
1452
  }
1365
1453
 
@@ -1370,15 +1458,18 @@ export class DeleteEdgeMachineResponse extends $tea.Model {
1370
1458
 
1371
1459
  export class DeleteKubernetesTriggerResponse extends $tea.Model {
1372
1460
  headers: { [key: string]: string };
1461
+ statusCode: number;
1373
1462
  static names(): { [key: string]: string } {
1374
1463
  return {
1375
1464
  headers: 'headers',
1465
+ statusCode: 'statusCode',
1376
1466
  };
1377
1467
  }
1378
1468
 
1379
1469
  static types(): { [key: string]: any } {
1380
1470
  return {
1381
1471
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1472
+ statusCode: 'number',
1382
1473
  };
1383
1474
  }
1384
1475
 
@@ -1427,10 +1518,12 @@ export class DeletePolicyInstanceResponseBody extends $tea.Model {
1427
1518
 
1428
1519
  export class DeletePolicyInstanceResponse extends $tea.Model {
1429
1520
  headers: { [key: string]: string };
1521
+ statusCode: number;
1430
1522
  body: DeletePolicyInstanceResponseBody;
1431
1523
  static names(): { [key: string]: string } {
1432
1524
  return {
1433
1525
  headers: 'headers',
1526
+ statusCode: 'statusCode',
1434
1527
  body: 'body',
1435
1528
  };
1436
1529
  }
@@ -1438,6 +1531,7 @@ export class DeletePolicyInstanceResponse extends $tea.Model {
1438
1531
  static types(): { [key: string]: any } {
1439
1532
  return {
1440
1533
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1534
+ statusCode: 'number',
1441
1535
  body: DeletePolicyInstanceResponseBody,
1442
1536
  };
1443
1537
  }
@@ -1449,15 +1543,18 @@ export class DeletePolicyInstanceResponse extends $tea.Model {
1449
1543
 
1450
1544
  export class DeleteTemplateResponse extends $tea.Model {
1451
1545
  headers: { [key: string]: string };
1546
+ statusCode: number;
1452
1547
  static names(): { [key: string]: string } {
1453
1548
  return {
1454
1549
  headers: 'headers',
1550
+ statusCode: 'statusCode',
1455
1551
  };
1456
1552
  }
1457
1553
 
1458
1554
  static types(): { [key: string]: any } {
1459
1555
  return {
1460
1556
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1557
+ statusCode: 'number',
1461
1558
  };
1462
1559
  }
1463
1560
 
@@ -1468,15 +1565,18 @@ export class DeleteTemplateResponse extends $tea.Model {
1468
1565
 
1469
1566
  export class DeleteTriggerResponse extends $tea.Model {
1470
1567
  headers: { [key: string]: string };
1568
+ statusCode: number;
1471
1569
  static names(): { [key: string]: string } {
1472
1570
  return {
1473
1571
  headers: 'headers',
1572
+ statusCode: 'statusCode',
1474
1573
  };
1475
1574
  }
1476
1575
 
1477
1576
  static types(): { [key: string]: any } {
1478
1577
  return {
1479
1578
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1579
+ statusCode: 'number',
1480
1580
  };
1481
1581
  }
1482
1582
 
@@ -1531,10 +1631,12 @@ export class DeployPolicyInstanceResponseBody extends $tea.Model {
1531
1631
 
1532
1632
  export class DeployPolicyInstanceResponse extends $tea.Model {
1533
1633
  headers: { [key: string]: string };
1634
+ statusCode: number;
1534
1635
  body: DeployPolicyInstanceResponseBody;
1535
1636
  static names(): { [key: string]: string } {
1536
1637
  return {
1537
1638
  headers: 'headers',
1639
+ statusCode: 'statusCode',
1538
1640
  body: 'body',
1539
1641
  };
1540
1642
  }
@@ -1542,6 +1644,7 @@ export class DeployPolicyInstanceResponse extends $tea.Model {
1542
1644
  static types(): { [key: string]: any } {
1543
1645
  return {
1544
1646
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1647
+ statusCode: 'number',
1545
1648
  body: DeployPolicyInstanceResponseBody,
1546
1649
  };
1547
1650
  }
@@ -1602,10 +1705,12 @@ export class DescirbeWorkflowResponseBody extends $tea.Model {
1602
1705
 
1603
1706
  export class DescirbeWorkflowResponse extends $tea.Model {
1604
1707
  headers: { [key: string]: string };
1708
+ statusCode: number;
1605
1709
  body: DescirbeWorkflowResponseBody;
1606
1710
  static names(): { [key: string]: string } {
1607
1711
  return {
1608
1712
  headers: 'headers',
1713
+ statusCode: 'statusCode',
1609
1714
  body: 'body',
1610
1715
  };
1611
1716
  }
@@ -1613,6 +1718,7 @@ export class DescirbeWorkflowResponse extends $tea.Model {
1613
1718
  static types(): { [key: string]: any } {
1614
1719
  return {
1615
1720
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1721
+ statusCode: 'number',
1616
1722
  body: DescirbeWorkflowResponseBody,
1617
1723
  };
1618
1724
  }
@@ -1668,10 +1774,12 @@ export class DescribeAddonsResponseBody extends $tea.Model {
1668
1774
 
1669
1775
  export class DescribeAddonsResponse extends $tea.Model {
1670
1776
  headers: { [key: string]: string };
1777
+ statusCode: number;
1671
1778
  body: DescribeAddonsResponseBody;
1672
1779
  static names(): { [key: string]: string } {
1673
1780
  return {
1674
1781
  headers: 'headers',
1782
+ statusCode: 'statusCode',
1675
1783
  body: 'body',
1676
1784
  };
1677
1785
  }
@@ -1679,6 +1787,7 @@ export class DescribeAddonsResponse extends $tea.Model {
1679
1787
  static types(): { [key: string]: any } {
1680
1788
  return {
1681
1789
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1790
+ statusCode: 'number',
1682
1791
  body: DescribeAddonsResponseBody,
1683
1792
  };
1684
1793
  }
@@ -1715,10 +1824,12 @@ export class DescribeClusterAddonMetadataResponseBody extends $tea.Model {
1715
1824
 
1716
1825
  export class DescribeClusterAddonMetadataResponse extends $tea.Model {
1717
1826
  headers: { [key: string]: string };
1827
+ statusCode: number;
1718
1828
  body: DescribeClusterAddonMetadataResponseBody;
1719
1829
  static names(): { [key: string]: string } {
1720
1830
  return {
1721
1831
  headers: 'headers',
1832
+ statusCode: 'statusCode',
1722
1833
  body: 'body',
1723
1834
  };
1724
1835
  }
@@ -1726,6 +1837,7 @@ export class DescribeClusterAddonMetadataResponse extends $tea.Model {
1726
1837
  static types(): { [key: string]: any } {
1727
1838
  return {
1728
1839
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1840
+ statusCode: 'number',
1729
1841
  body: DescribeClusterAddonMetadataResponseBody,
1730
1842
  };
1731
1843
  }
@@ -1737,10 +1849,12 @@ export class DescribeClusterAddonMetadataResponse extends $tea.Model {
1737
1849
 
1738
1850
  export class DescribeClusterAddonUpgradeStatusResponse extends $tea.Model {
1739
1851
  headers: { [key: string]: string };
1852
+ statusCode: number;
1740
1853
  body: {[key: string]: any};
1741
1854
  static names(): { [key: string]: string } {
1742
1855
  return {
1743
1856
  headers: 'headers',
1857
+ statusCode: 'statusCode',
1744
1858
  body: 'body',
1745
1859
  };
1746
1860
  }
@@ -1748,6 +1862,7 @@ export class DescribeClusterAddonUpgradeStatusResponse extends $tea.Model {
1748
1862
  static types(): { [key: string]: any } {
1749
1863
  return {
1750
1864
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1865
+ statusCode: 'number',
1751
1866
  body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1752
1867
  };
1753
1868
  }
@@ -1797,10 +1912,12 @@ export class DescribeClusterAddonsUpgradeStatusShrinkRequest extends $tea.Model
1797
1912
 
1798
1913
  export class DescribeClusterAddonsUpgradeStatusResponse extends $tea.Model {
1799
1914
  headers: { [key: string]: string };
1915
+ statusCode: number;
1800
1916
  body: {[key: string]: any};
1801
1917
  static names(): { [key: string]: string } {
1802
1918
  return {
1803
1919
  headers: 'headers',
1920
+ statusCode: 'statusCode',
1804
1921
  body: 'body',
1805
1922
  };
1806
1923
  }
@@ -1808,6 +1925,7 @@ export class DescribeClusterAddonsUpgradeStatusResponse extends $tea.Model {
1808
1925
  static types(): { [key: string]: any } {
1809
1926
  return {
1810
1927
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1928
+ statusCode: 'number',
1811
1929
  body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1812
1930
  };
1813
1931
  }
@@ -1819,10 +1937,12 @@ export class DescribeClusterAddonsUpgradeStatusResponse extends $tea.Model {
1819
1937
 
1820
1938
  export class DescribeClusterAddonsVersionResponse extends $tea.Model {
1821
1939
  headers: { [key: string]: string };
1940
+ statusCode: number;
1822
1941
  body: {[key: string]: any};
1823
1942
  static names(): { [key: string]: string } {
1824
1943
  return {
1825
1944
  headers: 'headers',
1945
+ statusCode: 'statusCode',
1826
1946
  body: 'body',
1827
1947
  };
1828
1948
  }
@@ -1830,6 +1950,7 @@ export class DescribeClusterAddonsVersionResponse extends $tea.Model {
1830
1950
  static types(): { [key: string]: any } {
1831
1951
  return {
1832
1952
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1953
+ statusCode: 'number',
1833
1954
  body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1834
1955
  };
1835
1956
  }
@@ -1875,10 +1996,12 @@ export class DescribeClusterAttachScriptsRequest extends $tea.Model {
1875
1996
 
1876
1997
  export class DescribeClusterAttachScriptsResponse extends $tea.Model {
1877
1998
  headers: { [key: string]: string };
1999
+ statusCode: number;
1878
2000
  body: string;
1879
2001
  static names(): { [key: string]: string } {
1880
2002
  return {
1881
2003
  headers: 'headers',
2004
+ statusCode: 'statusCode',
1882
2005
  body: 'body',
1883
2006
  };
1884
2007
  }
@@ -1886,6 +2009,7 @@ export class DescribeClusterAttachScriptsResponse extends $tea.Model {
1886
2009
  static types(): { [key: string]: any } {
1887
2010
  return {
1888
2011
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2012
+ statusCode: 'number',
1889
2013
  body: 'string',
1890
2014
  };
1891
2015
  }
@@ -2000,10 +2124,12 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
2000
2124
 
2001
2125
  export class DescribeClusterDetailResponse extends $tea.Model {
2002
2126
  headers: { [key: string]: string };
2127
+ statusCode: number;
2003
2128
  body: DescribeClusterDetailResponseBody;
2004
2129
  static names(): { [key: string]: string } {
2005
2130
  return {
2006
2131
  headers: 'headers',
2132
+ statusCode: 'statusCode',
2007
2133
  body: 'body',
2008
2134
  };
2009
2135
  }
@@ -2011,6 +2137,7 @@ export class DescribeClusterDetailResponse extends $tea.Model {
2011
2137
  static types(): { [key: string]: any } {
2012
2138
  return {
2013
2139
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2140
+ statusCode: 'number',
2014
2141
  body: DescribeClusterDetailResponseBody,
2015
2142
  };
2016
2143
  }
@@ -2020,12 +2147,61 @@ export class DescribeClusterDetailResponse extends $tea.Model {
2020
2147
  }
2021
2148
  }
2022
2149
 
2023
- export class DescribeClusterLogsResponse extends $tea.Model {
2150
+ export class DescribeClusterEventsRequest extends $tea.Model {
2151
+ pageNumber?: number;
2152
+ pageSize?: number;
2153
+ taskId?: number;
2154
+ static names(): { [key: string]: string } {
2155
+ return {
2156
+ pageNumber: 'page_number',
2157
+ pageSize: 'page_size',
2158
+ taskId: 'task_id',
2159
+ };
2160
+ }
2161
+
2162
+ static types(): { [key: string]: any } {
2163
+ return {
2164
+ pageNumber: 'number',
2165
+ pageSize: 'number',
2166
+ taskId: 'number',
2167
+ };
2168
+ }
2169
+
2170
+ constructor(map?: { [key: string]: any }) {
2171
+ super(map);
2172
+ }
2173
+ }
2174
+
2175
+ export class DescribeClusterEventsResponseBody extends $tea.Model {
2176
+ events?: DescribeClusterEventsResponseBodyEvents[];
2177
+ pageInfo?: DescribeClusterEventsResponseBodyPageInfo;
2178
+ static names(): { [key: string]: string } {
2179
+ return {
2180
+ events: 'events',
2181
+ pageInfo: 'page_info',
2182
+ };
2183
+ }
2184
+
2185
+ static types(): { [key: string]: any } {
2186
+ return {
2187
+ events: { 'type': 'array', 'itemType': DescribeClusterEventsResponseBodyEvents },
2188
+ pageInfo: DescribeClusterEventsResponseBodyPageInfo,
2189
+ };
2190
+ }
2191
+
2192
+ constructor(map?: { [key: string]: any }) {
2193
+ super(map);
2194
+ }
2195
+ }
2196
+
2197
+ export class DescribeClusterEventsResponse extends $tea.Model {
2024
2198
  headers: { [key: string]: string };
2025
- body: DescribeClusterLogsResponseBody[];
2199
+ statusCode: number;
2200
+ body: DescribeClusterEventsResponseBody;
2026
2201
  static names(): { [key: string]: string } {
2027
2202
  return {
2028
2203
  headers: 'headers',
2204
+ statusCode: 'statusCode',
2029
2205
  body: 'body',
2030
2206
  };
2031
2207
  }
@@ -2033,7 +2209,8 @@ export class DescribeClusterLogsResponse extends $tea.Model {
2033
2209
  static types(): { [key: string]: any } {
2034
2210
  return {
2035
2211
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2036
- body: { 'type': 'array', 'itemType': DescribeClusterLogsResponseBody },
2212
+ statusCode: 'number',
2213
+ body: DescribeClusterEventsResponseBody,
2037
2214
  };
2038
2215
  }
2039
2216
 
@@ -2042,12 +2219,14 @@ export class DescribeClusterLogsResponse extends $tea.Model {
2042
2219
  }
2043
2220
  }
2044
2221
 
2045
- export class DescribeClusterNamespacesResponse extends $tea.Model {
2222
+ export class DescribeClusterLogsResponse extends $tea.Model {
2046
2223
  headers: { [key: string]: string };
2047
- body: string[];
2224
+ statusCode: number;
2225
+ body: DescribeClusterLogsResponseBody[];
2048
2226
  static names(): { [key: string]: string } {
2049
2227
  return {
2050
2228
  headers: 'headers',
2229
+ statusCode: 'statusCode',
2051
2230
  body: 'body',
2052
2231
  };
2053
2232
  }
@@ -2055,7 +2234,8 @@ export class DescribeClusterNamespacesResponse extends $tea.Model {
2055
2234
  static types(): { [key: string]: any } {
2056
2235
  return {
2057
2236
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2058
- body: { 'type': 'array', 'itemType': 'string' },
2237
+ statusCode: 'number',
2238
+ body: { 'type': 'array', 'itemType': DescribeClusterLogsResponseBody },
2059
2239
  };
2060
2240
  }
2061
2241
 
@@ -2112,10 +2292,12 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
2112
2292
 
2113
2293
  export class DescribeClusterNodePoolDetailResponse extends $tea.Model {
2114
2294
  headers: { [key: string]: string };
2295
+ statusCode: number;
2115
2296
  body: DescribeClusterNodePoolDetailResponseBody;
2116
2297
  static names(): { [key: string]: string } {
2117
2298
  return {
2118
2299
  headers: 'headers',
2300
+ statusCode: 'statusCode',
2119
2301
  body: 'body',
2120
2302
  };
2121
2303
  }
@@ -2123,6 +2305,7 @@ export class DescribeClusterNodePoolDetailResponse extends $tea.Model {
2123
2305
  static types(): { [key: string]: any } {
2124
2306
  return {
2125
2307
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2308
+ statusCode: 'number',
2126
2309
  body: DescribeClusterNodePoolDetailResponseBody,
2127
2310
  };
2128
2311
  }
@@ -2153,10 +2336,12 @@ export class DescribeClusterNodePoolsResponseBody extends $tea.Model {
2153
2336
 
2154
2337
  export class DescribeClusterNodePoolsResponse extends $tea.Model {
2155
2338
  headers: { [key: string]: string };
2339
+ statusCode: number;
2156
2340
  body: DescribeClusterNodePoolsResponseBody;
2157
2341
  static names(): { [key: string]: string } {
2158
2342
  return {
2159
2343
  headers: 'headers',
2344
+ statusCode: 'statusCode',
2160
2345
  body: 'body',
2161
2346
  };
2162
2347
  }
@@ -2164,6 +2349,7 @@ export class DescribeClusterNodePoolsResponse extends $tea.Model {
2164
2349
  static types(): { [key: string]: any } {
2165
2350
  return {
2166
2351
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2352
+ statusCode: 'number',
2167
2353
  body: DescribeClusterNodePoolsResponseBody,
2168
2354
  };
2169
2355
  }
@@ -2228,10 +2414,12 @@ export class DescribeClusterNodesResponseBody extends $tea.Model {
2228
2414
 
2229
2415
  export class DescribeClusterNodesResponse extends $tea.Model {
2230
2416
  headers: { [key: string]: string };
2417
+ statusCode: number;
2231
2418
  body: DescribeClusterNodesResponseBody;
2232
2419
  static names(): { [key: string]: string } {
2233
2420
  return {
2234
2421
  headers: 'headers',
2422
+ statusCode: 'statusCode',
2235
2423
  body: 'body',
2236
2424
  };
2237
2425
  }
@@ -2239,6 +2427,7 @@ export class DescribeClusterNodesResponse extends $tea.Model {
2239
2427
  static types(): { [key: string]: any } {
2240
2428
  return {
2241
2429
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2430
+ statusCode: 'number',
2242
2431
  body: DescribeClusterNodesResponseBody,
2243
2432
  };
2244
2433
  }
@@ -2250,10 +2439,12 @@ export class DescribeClusterNodesResponse extends $tea.Model {
2250
2439
 
2251
2440
  export class DescribeClusterResourcesResponse extends $tea.Model {
2252
2441
  headers: { [key: string]: string };
2442
+ statusCode: number;
2253
2443
  body: DescribeClusterResourcesResponseBody[];
2254
2444
  static names(): { [key: string]: string } {
2255
2445
  return {
2256
2446
  headers: 'headers',
2447
+ statusCode: 'statusCode',
2257
2448
  body: 'body',
2258
2449
  };
2259
2450
  }
@@ -2261,6 +2452,7 @@ export class DescribeClusterResourcesResponse extends $tea.Model {
2261
2452
  static types(): { [key: string]: any } {
2262
2453
  return {
2263
2454
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2455
+ statusCode: 'number',
2264
2456
  body: { 'type': 'array', 'itemType': DescribeClusterResourcesResponseBody },
2265
2457
  };
2266
2458
  }
@@ -2270,6 +2462,56 @@ export class DescribeClusterResourcesResponse extends $tea.Model {
2270
2462
  }
2271
2463
  }
2272
2464
 
2465
+ export class DescribeClusterTasksResponseBody extends $tea.Model {
2466
+ pageInfo?: DescribeClusterTasksResponseBodyPageInfo;
2467
+ requestId?: string;
2468
+ tasks?: DescribeClusterTasksResponseBodyTasks[];
2469
+ static names(): { [key: string]: string } {
2470
+ return {
2471
+ pageInfo: 'page_info',
2472
+ requestId: 'requestId',
2473
+ tasks: 'tasks',
2474
+ };
2475
+ }
2476
+
2477
+ static types(): { [key: string]: any } {
2478
+ return {
2479
+ pageInfo: DescribeClusterTasksResponseBodyPageInfo,
2480
+ requestId: 'string',
2481
+ tasks: { 'type': 'array', 'itemType': DescribeClusterTasksResponseBodyTasks },
2482
+ };
2483
+ }
2484
+
2485
+ constructor(map?: { [key: string]: any }) {
2486
+ super(map);
2487
+ }
2488
+ }
2489
+
2490
+ export class DescribeClusterTasksResponse extends $tea.Model {
2491
+ headers: { [key: string]: string };
2492
+ statusCode: number;
2493
+ body: DescribeClusterTasksResponseBody;
2494
+ static names(): { [key: string]: string } {
2495
+ return {
2496
+ headers: 'headers',
2497
+ statusCode: 'statusCode',
2498
+ body: 'body',
2499
+ };
2500
+ }
2501
+
2502
+ static types(): { [key: string]: any } {
2503
+ return {
2504
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2505
+ statusCode: 'number',
2506
+ body: DescribeClusterTasksResponseBody,
2507
+ };
2508
+ }
2509
+
2510
+ constructor(map?: { [key: string]: any }) {
2511
+ super(map);
2512
+ }
2513
+ }
2514
+
2273
2515
  export class DescribeClusterUserKubeconfigRequest extends $tea.Model {
2274
2516
  privateIpAddress?: boolean;
2275
2517
  temporaryDurationMinutes?: number;
@@ -2316,10 +2558,12 @@ export class DescribeClusterUserKubeconfigResponseBody extends $tea.Model {
2316
2558
 
2317
2559
  export class DescribeClusterUserKubeconfigResponse extends $tea.Model {
2318
2560
  headers: { [key: string]: string };
2561
+ statusCode: number;
2319
2562
  body: DescribeClusterUserKubeconfigResponseBody;
2320
2563
  static names(): { [key: string]: string } {
2321
2564
  return {
2322
2565
  headers: 'headers',
2566
+ statusCode: 'statusCode',
2323
2567
  body: 'body',
2324
2568
  };
2325
2569
  }
@@ -2327,6 +2571,7 @@ export class DescribeClusterUserKubeconfigResponse extends $tea.Model {
2327
2571
  static types(): { [key: string]: any } {
2328
2572
  return {
2329
2573
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2574
+ statusCode: 'number',
2330
2575
  body: DescribeClusterUserKubeconfigResponseBody,
2331
2576
  };
2332
2577
  }
@@ -2376,10 +2621,12 @@ export class DescribeClusterV2UserKubeconfigResponseBody extends $tea.Model {
2376
2621
 
2377
2622
  export class DescribeClusterV2UserKubeconfigResponse extends $tea.Model {
2378
2623
  headers: { [key: string]: string };
2624
+ statusCode: number;
2379
2625
  body: DescribeClusterV2UserKubeconfigResponseBody;
2380
2626
  static names(): { [key: string]: string } {
2381
2627
  return {
2382
2628
  headers: 'headers',
2629
+ statusCode: 'statusCode',
2383
2630
  body: 'body',
2384
2631
  };
2385
2632
  }
@@ -2387,6 +2634,7 @@ export class DescribeClusterV2UserKubeconfigResponse extends $tea.Model {
2387
2634
  static types(): { [key: string]: any } {
2388
2635
  return {
2389
2636
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2637
+ statusCode: 'number',
2390
2638
  body: DescribeClusterV2UserKubeconfigResponseBody,
2391
2639
  };
2392
2640
  }
@@ -2420,10 +2668,12 @@ export class DescribeClustersRequest extends $tea.Model {
2420
2668
 
2421
2669
  export class DescribeClustersResponse extends $tea.Model {
2422
2670
  headers: { [key: string]: string };
2671
+ statusCode: number;
2423
2672
  body: DescribeClustersResponseBody[];
2424
2673
  static names(): { [key: string]: string } {
2425
2674
  return {
2426
2675
  headers: 'headers',
2676
+ statusCode: 'statusCode',
2427
2677
  body: 'body',
2428
2678
  };
2429
2679
  }
@@ -2431,6 +2681,7 @@ export class DescribeClustersResponse extends $tea.Model {
2431
2681
  static types(): { [key: string]: any } {
2432
2682
  return {
2433
2683
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2684
+ statusCode: 'number',
2434
2685
  body: { 'type': 'array', 'itemType': DescribeClustersResponseBody },
2435
2686
  };
2436
2687
  }
@@ -2501,10 +2752,12 @@ export class DescribeClustersV1ResponseBody extends $tea.Model {
2501
2752
 
2502
2753
  export class DescribeClustersV1Response extends $tea.Model {
2503
2754
  headers: { [key: string]: string };
2755
+ statusCode: number;
2504
2756
  body: DescribeClustersV1ResponseBody;
2505
2757
  static names(): { [key: string]: string } {
2506
2758
  return {
2507
2759
  headers: 'headers',
2760
+ statusCode: 'statusCode',
2508
2761
  body: 'body',
2509
2762
  };
2510
2763
  }
@@ -2512,6 +2765,7 @@ export class DescribeClustersV1Response extends $tea.Model {
2512
2765
  static types(): { [key: string]: any } {
2513
2766
  return {
2514
2767
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2768
+ statusCode: 'number',
2515
2769
  body: DescribeClustersV1ResponseBody,
2516
2770
  };
2517
2771
  }
@@ -2554,10 +2808,12 @@ export class DescribeEdgeMachineActiveProcessResponseBody extends $tea.Model {
2554
2808
 
2555
2809
  export class DescribeEdgeMachineActiveProcessResponse extends $tea.Model {
2556
2810
  headers: { [key: string]: string };
2811
+ statusCode: number;
2557
2812
  body: DescribeEdgeMachineActiveProcessResponseBody;
2558
2813
  static names(): { [key: string]: string } {
2559
2814
  return {
2560
2815
  headers: 'headers',
2816
+ statusCode: 'statusCode',
2561
2817
  body: 'body',
2562
2818
  };
2563
2819
  }
@@ -2565,6 +2821,7 @@ export class DescribeEdgeMachineActiveProcessResponse extends $tea.Model {
2565
2821
  static types(): { [key: string]: any } {
2566
2822
  return {
2567
2823
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2824
+ statusCode: 'number',
2568
2825
  body: DescribeEdgeMachineActiveProcessResponseBody,
2569
2826
  };
2570
2827
  }
@@ -2595,10 +2852,12 @@ export class DescribeEdgeMachineModelsResponseBody extends $tea.Model {
2595
2852
 
2596
2853
  export class DescribeEdgeMachineModelsResponse extends $tea.Model {
2597
2854
  headers: { [key: string]: string };
2855
+ statusCode: number;
2598
2856
  body: DescribeEdgeMachineModelsResponseBody;
2599
2857
  static names(): { [key: string]: string } {
2600
2858
  return {
2601
2859
  headers: 'headers',
2860
+ statusCode: 'statusCode',
2602
2861
  body: 'body',
2603
2862
  };
2604
2863
  }
@@ -2606,6 +2865,7 @@ export class DescribeEdgeMachineModelsResponse extends $tea.Model {
2606
2865
  static types(): { [key: string]: any } {
2607
2866
  return {
2608
2867
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2868
+ statusCode: 'number',
2609
2869
  body: DescribeEdgeMachineModelsResponseBody,
2610
2870
  };
2611
2871
  }
@@ -2654,10 +2914,12 @@ export class DescribeEdgeMachineTunnelConfigDetailResponseBody extends $tea.Mode
2654
2914
 
2655
2915
  export class DescribeEdgeMachineTunnelConfigDetailResponse extends $tea.Model {
2656
2916
  headers: { [key: string]: string };
2917
+ statusCode: number;
2657
2918
  body: DescribeEdgeMachineTunnelConfigDetailResponseBody;
2658
2919
  static names(): { [key: string]: string } {
2659
2920
  return {
2660
2921
  headers: 'headers',
2922
+ statusCode: 'statusCode',
2661
2923
  body: 'body',
2662
2924
  };
2663
2925
  }
@@ -2665,6 +2927,7 @@ export class DescribeEdgeMachineTunnelConfigDetailResponse extends $tea.Model {
2665
2927
  static types(): { [key: string]: any } {
2666
2928
  return {
2667
2929
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2930
+ statusCode: 'number',
2668
2931
  body: DescribeEdgeMachineTunnelConfigDetailResponseBody,
2669
2932
  };
2670
2933
  }
@@ -2732,10 +2995,12 @@ export class DescribeEdgeMachinesResponseBody extends $tea.Model {
2732
2995
 
2733
2996
  export class DescribeEdgeMachinesResponse extends $tea.Model {
2734
2997
  headers: { [key: string]: string };
2998
+ statusCode: number;
2735
2999
  body: DescribeEdgeMachinesResponseBody;
2736
3000
  static names(): { [key: string]: string } {
2737
3001
  return {
2738
3002
  headers: 'headers',
3003
+ statusCode: 'statusCode',
2739
3004
  body: 'body',
2740
3005
  };
2741
3006
  }
@@ -2743,6 +3008,7 @@ export class DescribeEdgeMachinesResponse extends $tea.Model {
2743
3008
  static types(): { [key: string]: any } {
2744
3009
  return {
2745
3010
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3011
+ statusCode: 'number',
2746
3012
  body: DescribeEdgeMachinesResponseBody,
2747
3013
  };
2748
3014
  }
@@ -2804,10 +3070,12 @@ export class DescribeEventsResponseBody extends $tea.Model {
2804
3070
 
2805
3071
  export class DescribeEventsResponse extends $tea.Model {
2806
3072
  headers: { [key: string]: string };
3073
+ statusCode: number;
2807
3074
  body: DescribeEventsResponseBody;
2808
3075
  static names(): { [key: string]: string } {
2809
3076
  return {
2810
3077
  headers: 'headers',
3078
+ statusCode: 'statusCode',
2811
3079
  body: 'body',
2812
3080
  };
2813
3081
  }
@@ -2815,6 +3083,7 @@ export class DescribeEventsResponse extends $tea.Model {
2815
3083
  static types(): { [key: string]: any } {
2816
3084
  return {
2817
3085
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3086
+ statusCode: 'number',
2818
3087
  body: DescribeEventsResponseBody,
2819
3088
  };
2820
3089
  }
@@ -2864,10 +3133,12 @@ export class DescribeExternalAgentResponseBody extends $tea.Model {
2864
3133
 
2865
3134
  export class DescribeExternalAgentResponse extends $tea.Model {
2866
3135
  headers: { [key: string]: string };
3136
+ statusCode: number;
2867
3137
  body: DescribeExternalAgentResponseBody;
2868
3138
  static names(): { [key: string]: string } {
2869
3139
  return {
2870
3140
  headers: 'headers',
3141
+ statusCode: 'statusCode',
2871
3142
  body: 'body',
2872
3143
  };
2873
3144
  }
@@ -2875,6 +3146,7 @@ export class DescribeExternalAgentResponse extends $tea.Model {
2875
3146
  static types(): { [key: string]: any } {
2876
3147
  return {
2877
3148
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3149
+ statusCode: 'number',
2878
3150
  body: DescribeExternalAgentResponseBody,
2879
3151
  };
2880
3152
  }
@@ -2917,10 +3189,12 @@ export class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
2917
3189
 
2918
3190
  export class DescribeKubernetesVersionMetadataResponse extends $tea.Model {
2919
3191
  headers: { [key: string]: string };
3192
+ statusCode: number;
2920
3193
  body: DescribeKubernetesVersionMetadataResponseBody[];
2921
3194
  static names(): { [key: string]: string } {
2922
3195
  return {
2923
3196
  headers: 'headers',
3197
+ statusCode: 'statusCode',
2924
3198
  body: 'body',
2925
3199
  };
2926
3200
  }
@@ -2928,6 +3202,7 @@ export class DescribeKubernetesVersionMetadataResponse extends $tea.Model {
2928
3202
  static types(): { [key: string]: any } {
2929
3203
  return {
2930
3204
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3205
+ statusCode: 'number',
2931
3206
  body: { 'type': 'array', 'itemType': DescribeKubernetesVersionMetadataResponseBody },
2932
3207
  };
2933
3208
  }
@@ -2937,12 +3212,58 @@ export class DescribeKubernetesVersionMetadataResponse extends $tea.Model {
2937
3212
  }
2938
3213
  }
2939
3214
 
3215
+ export class DescribeNodePoolVulsResponseBody extends $tea.Model {
3216
+ vulRecords?: DescribeNodePoolVulsResponseBodyVulRecords[];
3217
+ static names(): { [key: string]: string } {
3218
+ return {
3219
+ vulRecords: 'vul_records',
3220
+ };
3221
+ }
3222
+
3223
+ static types(): { [key: string]: any } {
3224
+ return {
3225
+ vulRecords: { 'type': 'array', 'itemType': DescribeNodePoolVulsResponseBodyVulRecords },
3226
+ };
3227
+ }
3228
+
3229
+ constructor(map?: { [key: string]: any }) {
3230
+ super(map);
3231
+ }
3232
+ }
3233
+
3234
+ export class DescribeNodePoolVulsResponse extends $tea.Model {
3235
+ headers: { [key: string]: string };
3236
+ statusCode: number;
3237
+ body: DescribeNodePoolVulsResponseBody;
3238
+ static names(): { [key: string]: string } {
3239
+ return {
3240
+ headers: 'headers',
3241
+ statusCode: 'statusCode',
3242
+ body: 'body',
3243
+ };
3244
+ }
3245
+
3246
+ static types(): { [key: string]: any } {
3247
+ return {
3248
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3249
+ statusCode: 'number',
3250
+ body: DescribeNodePoolVulsResponseBody,
3251
+ };
3252
+ }
3253
+
3254
+ constructor(map?: { [key: string]: any }) {
3255
+ super(map);
3256
+ }
3257
+ }
3258
+
2940
3259
  export class DescribePoliciesResponse extends $tea.Model {
2941
3260
  headers: { [key: string]: string };
3261
+ statusCode: number;
2942
3262
  body: {[key: string]: any};
2943
3263
  static names(): { [key: string]: string } {
2944
3264
  return {
2945
3265
  headers: 'headers',
3266
+ statusCode: 'statusCode',
2946
3267
  body: 'body',
2947
3268
  };
2948
3269
  }
@@ -2950,6 +3271,7 @@ export class DescribePoliciesResponse extends $tea.Model {
2950
3271
  static types(): { [key: string]: any } {
2951
3272
  return {
2952
3273
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3274
+ statusCode: 'number',
2953
3275
  body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2954
3276
  };
2955
3277
  }
@@ -3001,10 +3323,12 @@ export class DescribePolicyDetailsResponseBody extends $tea.Model {
3001
3323
 
3002
3324
  export class DescribePolicyDetailsResponse extends $tea.Model {
3003
3325
  headers: { [key: string]: string };
3326
+ statusCode: number;
3004
3327
  body: DescribePolicyDetailsResponseBody;
3005
3328
  static names(): { [key: string]: string } {
3006
3329
  return {
3007
3330
  headers: 'headers',
3331
+ statusCode: 'statusCode',
3008
3332
  body: 'body',
3009
3333
  };
3010
3334
  }
@@ -3012,6 +3336,7 @@ export class DescribePolicyDetailsResponse extends $tea.Model {
3012
3336
  static types(): { [key: string]: any } {
3013
3337
  return {
3014
3338
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3339
+ statusCode: 'number',
3015
3340
  body: DescribePolicyDetailsResponseBody,
3016
3341
  };
3017
3342
  }
@@ -3051,10 +3376,12 @@ export class DescribePolicyGovernanceInClusterResponseBody extends $tea.Model {
3051
3376
 
3052
3377
  export class DescribePolicyGovernanceInClusterResponse extends $tea.Model {
3053
3378
  headers: { [key: string]: string };
3379
+ statusCode: number;
3054
3380
  body: DescribePolicyGovernanceInClusterResponseBody;
3055
3381
  static names(): { [key: string]: string } {
3056
3382
  return {
3057
3383
  headers: 'headers',
3384
+ statusCode: 'statusCode',
3058
3385
  body: 'body',
3059
3386
  };
3060
3387
  }
@@ -3062,6 +3389,7 @@ export class DescribePolicyGovernanceInClusterResponse extends $tea.Model {
3062
3389
  static types(): { [key: string]: any } {
3063
3390
  return {
3064
3391
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3392
+ statusCode: 'number',
3065
3393
  body: DescribePolicyGovernanceInClusterResponseBody,
3066
3394
  };
3067
3395
  }
@@ -3095,10 +3423,12 @@ export class DescribePolicyInstancesRequest extends $tea.Model {
3095
3423
 
3096
3424
  export class DescribePolicyInstancesResponse extends $tea.Model {
3097
3425
  headers: { [key: string]: string };
3426
+ statusCode: number;
3098
3427
  body: DescribePolicyInstancesResponseBody[];
3099
3428
  static names(): { [key: string]: string } {
3100
3429
  return {
3101
3430
  headers: 'headers',
3431
+ statusCode: 'statusCode',
3102
3432
  body: 'body',
3103
3433
  };
3104
3434
  }
@@ -3106,6 +3436,7 @@ export class DescribePolicyInstancesResponse extends $tea.Model {
3106
3436
  static types(): { [key: string]: any } {
3107
3437
  return {
3108
3438
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3439
+ statusCode: 'number',
3109
3440
  body: { 'type': 'array', 'itemType': DescribePolicyInstancesResponseBody },
3110
3441
  };
3111
3442
  }
@@ -3139,10 +3470,12 @@ export class DescribePolicyInstancesStatusResponseBody extends $tea.Model {
3139
3470
 
3140
3471
  export class DescribePolicyInstancesStatusResponse extends $tea.Model {
3141
3472
  headers: { [key: string]: string };
3473
+ statusCode: number;
3142
3474
  body: DescribePolicyInstancesStatusResponseBody;
3143
3475
  static names(): { [key: string]: string } {
3144
3476
  return {
3145
3477
  headers: 'headers',
3478
+ statusCode: 'statusCode',
3146
3479
  body: 'body',
3147
3480
  };
3148
3481
  }
@@ -3150,6 +3483,7 @@ export class DescribePolicyInstancesStatusResponse extends $tea.Model {
3150
3483
  static types(): { [key: string]: any } {
3151
3484
  return {
3152
3485
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3486
+ statusCode: 'number',
3153
3487
  body: DescribePolicyInstancesStatusResponseBody,
3154
3488
  };
3155
3489
  }
@@ -3198,10 +3532,12 @@ export class DescribeTaskInfoResponseBody extends $tea.Model {
3198
3532
 
3199
3533
  export class DescribeTaskInfoResponse extends $tea.Model {
3200
3534
  headers: { [key: string]: string };
3535
+ statusCode: number;
3201
3536
  body: DescribeTaskInfoResponseBody;
3202
3537
  static names(): { [key: string]: string } {
3203
3538
  return {
3204
3539
  headers: 'headers',
3540
+ statusCode: 'statusCode',
3205
3541
  body: 'body',
3206
3542
  };
3207
3543
  }
@@ -3209,6 +3545,7 @@ export class DescribeTaskInfoResponse extends $tea.Model {
3209
3545
  static types(): { [key: string]: any } {
3210
3546
  return {
3211
3547
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3548
+ statusCode: 'number',
3212
3549
  body: DescribeTaskInfoResponseBody,
3213
3550
  };
3214
3551
  }
@@ -3239,10 +3576,12 @@ export class DescribeTemplateAttributeRequest extends $tea.Model {
3239
3576
 
3240
3577
  export class DescribeTemplateAttributeResponse extends $tea.Model {
3241
3578
  headers: { [key: string]: string };
3579
+ statusCode: number;
3242
3580
  body: DescribeTemplateAttributeResponseBody[];
3243
3581
  static names(): { [key: string]: string } {
3244
3582
  return {
3245
3583
  headers: 'headers',
3584
+ statusCode: 'statusCode',
3246
3585
  body: 'body',
3247
3586
  };
3248
3587
  }
@@ -3250,6 +3589,7 @@ export class DescribeTemplateAttributeResponse extends $tea.Model {
3250
3589
  static types(): { [key: string]: any } {
3251
3590
  return {
3252
3591
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3592
+ statusCode: 'number',
3253
3593
  body: { 'type': 'array', 'itemType': DescribeTemplateAttributeResponseBody },
3254
3594
  };
3255
3595
  }
@@ -3308,10 +3648,12 @@ export class DescribeTemplatesResponseBody extends $tea.Model {
3308
3648
 
3309
3649
  export class DescribeTemplatesResponse extends $tea.Model {
3310
3650
  headers: { [key: string]: string };
3651
+ statusCode: number;
3311
3652
  body: DescribeTemplatesResponseBody;
3312
3653
  static names(): { [key: string]: string } {
3313
3654
  return {
3314
3655
  headers: 'headers',
3656
+ statusCode: 'statusCode',
3315
3657
  body: 'body',
3316
3658
  };
3317
3659
  }
@@ -3319,6 +3661,7 @@ export class DescribeTemplatesResponse extends $tea.Model {
3319
3661
  static types(): { [key: string]: any } {
3320
3662
  return {
3321
3663
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3664
+ statusCode: 'number',
3322
3665
  body: DescribeTemplatesResponseBody,
3323
3666
  };
3324
3667
  }
@@ -3358,10 +3701,12 @@ export class DescribeTriggerRequest extends $tea.Model {
3358
3701
 
3359
3702
  export class DescribeTriggerResponse extends $tea.Model {
3360
3703
  headers: { [key: string]: string };
3704
+ statusCode: number;
3361
3705
  body: DescribeTriggerResponseBody[];
3362
3706
  static names(): { [key: string]: string } {
3363
3707
  return {
3364
3708
  headers: 'headers',
3709
+ statusCode: 'statusCode',
3365
3710
  body: 'body',
3366
3711
  };
3367
3712
  }
@@ -3369,6 +3714,7 @@ export class DescribeTriggerResponse extends $tea.Model {
3369
3714
  static types(): { [key: string]: any } {
3370
3715
  return {
3371
3716
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3717
+ statusCode: 'number',
3372
3718
  body: { 'type': 'array', 'itemType': DescribeTriggerResponseBody },
3373
3719
  };
3374
3720
  }
@@ -3380,10 +3726,12 @@ export class DescribeTriggerResponse extends $tea.Model {
3380
3726
 
3381
3727
  export class DescribeUserPermissionResponse extends $tea.Model {
3382
3728
  headers: { [key: string]: string };
3729
+ statusCode: number;
3383
3730
  body: DescribeUserPermissionResponseBody[];
3384
3731
  static names(): { [key: string]: string } {
3385
3732
  return {
3386
3733
  headers: 'headers',
3734
+ statusCode: 'statusCode',
3387
3735
  body: 'body',
3388
3736
  };
3389
3737
  }
@@ -3391,6 +3739,7 @@ export class DescribeUserPermissionResponse extends $tea.Model {
3391
3739
  static types(): { [key: string]: any } {
3392
3740
  return {
3393
3741
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3742
+ statusCode: 'number',
3394
3743
  body: { 'type': 'array', 'itemType': DescribeUserPermissionResponseBody },
3395
3744
  };
3396
3745
  }
@@ -3433,10 +3782,12 @@ export class DescribeUserQuotaResponseBody extends $tea.Model {
3433
3782
 
3434
3783
  export class DescribeUserQuotaResponse extends $tea.Model {
3435
3784
  headers: { [key: string]: string };
3785
+ statusCode: number;
3436
3786
  body: DescribeUserQuotaResponseBody;
3437
3787
  static names(): { [key: string]: string } {
3438
3788
  return {
3439
3789
  headers: 'headers',
3790
+ statusCode: 'statusCode',
3440
3791
  body: 'body',
3441
3792
  };
3442
3793
  }
@@ -3444,6 +3795,7 @@ export class DescribeUserQuotaResponse extends $tea.Model {
3444
3795
  static types(): { [key: string]: any } {
3445
3796
  return {
3446
3797
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3798
+ statusCode: 'number',
3447
3799
  body: DescribeUserQuotaResponseBody,
3448
3800
  };
3449
3801
  }
@@ -3474,10 +3826,12 @@ export class DescribeWorkflowsResponseBody extends $tea.Model {
3474
3826
 
3475
3827
  export class DescribeWorkflowsResponse extends $tea.Model {
3476
3828
  headers: { [key: string]: string };
3829
+ statusCode: number;
3477
3830
  body: DescribeWorkflowsResponseBody;
3478
3831
  static names(): { [key: string]: string } {
3479
3832
  return {
3480
3833
  headers: 'headers',
3834
+ statusCode: 'statusCode',
3481
3835
  body: 'body',
3482
3836
  };
3483
3837
  }
@@ -3485,6 +3839,7 @@ export class DescribeWorkflowsResponse extends $tea.Model {
3485
3839
  static types(): { [key: string]: any } {
3486
3840
  return {
3487
3841
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3842
+ statusCode: 'number',
3488
3843
  body: DescribeWorkflowsResponseBody,
3489
3844
  };
3490
3845
  }
@@ -3543,10 +3898,12 @@ export class EdgeClusterAddEdgeMachineResponseBody extends $tea.Model {
3543
3898
 
3544
3899
  export class EdgeClusterAddEdgeMachineResponse extends $tea.Model {
3545
3900
  headers: { [key: string]: string };
3901
+ statusCode: number;
3546
3902
  body: EdgeClusterAddEdgeMachineResponseBody;
3547
3903
  static names(): { [key: string]: string } {
3548
3904
  return {
3549
3905
  headers: 'headers',
3906
+ statusCode: 'statusCode',
3550
3907
  body: 'body',
3551
3908
  };
3552
3909
  }
@@ -3554,6 +3911,7 @@ export class EdgeClusterAddEdgeMachineResponse extends $tea.Model {
3554
3911
  static types(): { [key: string]: any } {
3555
3912
  return {
3556
3913
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3914
+ statusCode: 'number',
3557
3915
  body: EdgeClusterAddEdgeMachineResponseBody,
3558
3916
  };
3559
3917
  }
@@ -3563,6 +3921,75 @@ export class EdgeClusterAddEdgeMachineResponse extends $tea.Model {
3563
3921
  }
3564
3922
  }
3565
3923
 
3924
+ export class FixNodePoolVulsRequest extends $tea.Model {
3925
+ nodes?: string[];
3926
+ rolloutPolicy?: FixNodePoolVulsRequestRolloutPolicy;
3927
+ vulList?: string[];
3928
+ static names(): { [key: string]: string } {
3929
+ return {
3930
+ nodes: 'nodes',
3931
+ rolloutPolicy: 'rollout_policy',
3932
+ vulList: 'vul_list',
3933
+ };
3934
+ }
3935
+
3936
+ static types(): { [key: string]: any } {
3937
+ return {
3938
+ nodes: { 'type': 'array', 'itemType': 'string' },
3939
+ rolloutPolicy: FixNodePoolVulsRequestRolloutPolicy,
3940
+ vulList: { 'type': 'array', 'itemType': 'string' },
3941
+ };
3942
+ }
3943
+
3944
+ constructor(map?: { [key: string]: any }) {
3945
+ super(map);
3946
+ }
3947
+ }
3948
+
3949
+ export class FixNodePoolVulsResponseBody extends $tea.Model {
3950
+ taskId?: string;
3951
+ static names(): { [key: string]: string } {
3952
+ return {
3953
+ taskId: 'task_id',
3954
+ };
3955
+ }
3956
+
3957
+ static types(): { [key: string]: any } {
3958
+ return {
3959
+ taskId: 'string',
3960
+ };
3961
+ }
3962
+
3963
+ constructor(map?: { [key: string]: any }) {
3964
+ super(map);
3965
+ }
3966
+ }
3967
+
3968
+ export class FixNodePoolVulsResponse extends $tea.Model {
3969
+ headers: { [key: string]: string };
3970
+ statusCode: number;
3971
+ body: FixNodePoolVulsResponseBody;
3972
+ static names(): { [key: string]: string } {
3973
+ return {
3974
+ headers: 'headers',
3975
+ statusCode: 'statusCode',
3976
+ body: 'body',
3977
+ };
3978
+ }
3979
+
3980
+ static types(): { [key: string]: any } {
3981
+ return {
3982
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3983
+ statusCode: 'number',
3984
+ body: FixNodePoolVulsResponseBody,
3985
+ };
3986
+ }
3987
+
3988
+ constructor(map?: { [key: string]: any }) {
3989
+ super(map);
3990
+ }
3991
+ }
3992
+
3566
3993
  export class GetKubernetesTriggerRequest extends $tea.Model {
3567
3994
  name?: string;
3568
3995
  namespace?: string;
@@ -3593,10 +4020,12 @@ export class GetKubernetesTriggerRequest extends $tea.Model {
3593
4020
 
3594
4021
  export class GetKubernetesTriggerResponse extends $tea.Model {
3595
4022
  headers: { [key: string]: string };
4023
+ statusCode: number;
3596
4024
  body: GetKubernetesTriggerResponseBody[];
3597
4025
  static names(): { [key: string]: string } {
3598
4026
  return {
3599
4027
  headers: 'headers',
4028
+ statusCode: 'statusCode',
3600
4029
  body: 'body',
3601
4030
  };
3602
4031
  }
@@ -3604,6 +4033,7 @@ export class GetKubernetesTriggerResponse extends $tea.Model {
3604
4033
  static types(): { [key: string]: any } {
3605
4034
  return {
3606
4035
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4036
+ statusCode: 'number',
3607
4037
  body: { 'type': 'array', 'itemType': GetKubernetesTriggerResponseBody },
3608
4038
  };
3609
4039
  }
@@ -3646,10 +4076,12 @@ export class GetUpgradeStatusResponseBody extends $tea.Model {
3646
4076
 
3647
4077
  export class GetUpgradeStatusResponse extends $tea.Model {
3648
4078
  headers: { [key: string]: string };
4079
+ statusCode: number;
3649
4080
  body: GetUpgradeStatusResponseBody;
3650
4081
  static names(): { [key: string]: string } {
3651
4082
  return {
3652
4083
  headers: 'headers',
4084
+ statusCode: 'statusCode',
3653
4085
  body: 'body',
3654
4086
  };
3655
4087
  }
@@ -3657,6 +4089,7 @@ export class GetUpgradeStatusResponse extends $tea.Model {
3657
4089
  static types(): { [key: string]: any } {
3658
4090
  return {
3659
4091
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4092
+ statusCode: 'number',
3660
4093
  body: GetUpgradeStatusResponseBody,
3661
4094
  };
3662
4095
  }
@@ -3687,15 +4120,18 @@ export class GrantPermissionsRequest extends $tea.Model {
3687
4120
 
3688
4121
  export class GrantPermissionsResponse extends $tea.Model {
3689
4122
  headers: { [key: string]: string };
4123
+ statusCode: number;
3690
4124
  static names(): { [key: string]: string } {
3691
4125
  return {
3692
4126
  headers: 'headers',
4127
+ statusCode: 'statusCode',
3693
4128
  };
3694
4129
  }
3695
4130
 
3696
4131
  static types(): { [key: string]: any } {
3697
4132
  return {
3698
4133
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4134
+ statusCode: 'number',
3699
4135
  };
3700
4136
  }
3701
4137
 
@@ -3725,15 +4161,18 @@ export class InstallClusterAddonsRequest extends $tea.Model {
3725
4161
 
3726
4162
  export class InstallClusterAddonsResponse extends $tea.Model {
3727
4163
  headers: { [key: string]: string };
4164
+ statusCode: number;
3728
4165
  static names(): { [key: string]: string } {
3729
4166
  return {
3730
4167
  headers: 'headers',
4168
+ statusCode: 'statusCode',
3731
4169
  };
3732
4170
  }
3733
4171
 
3734
4172
  static types(): { [key: string]: any } {
3735
4173
  return {
3736
4174
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4175
+ statusCode: 'number',
3737
4176
  };
3738
4177
  }
3739
4178
 
@@ -3831,10 +4270,12 @@ export class ListTagResourcesResponseBody extends $tea.Model {
3831
4270
 
3832
4271
  export class ListTagResourcesResponse extends $tea.Model {
3833
4272
  headers: { [key: string]: string };
4273
+ statusCode: number;
3834
4274
  body: ListTagResourcesResponseBody;
3835
4275
  static names(): { [key: string]: string } {
3836
4276
  return {
3837
4277
  headers: 'headers',
4278
+ statusCode: 'statusCode',
3838
4279
  body: 'body',
3839
4280
  };
3840
4281
  }
@@ -3842,6 +4283,7 @@ export class ListTagResourcesResponse extends $tea.Model {
3842
4283
  static types(): { [key: string]: any } {
3843
4284
  return {
3844
4285
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4286
+ statusCode: 'number',
3845
4287
  body: ListTagResourcesResponseBody,
3846
4288
  };
3847
4289
  }
@@ -3851,17 +4293,70 @@ export class ListTagResourcesResponse extends $tea.Model {
3851
4293
  }
3852
4294
  }
3853
4295
 
4296
+ export class MigrateClusterRequest extends $tea.Model {
4297
+ ossBucketEndpoint?: string;
4298
+ ossBucketName?: string;
4299
+ static names(): { [key: string]: string } {
4300
+ return {
4301
+ ossBucketEndpoint: 'oss_bucket_endpoint',
4302
+ ossBucketName: 'oss_bucket_name',
4303
+ };
4304
+ }
4305
+
4306
+ static types(): { [key: string]: any } {
4307
+ return {
4308
+ ossBucketEndpoint: 'string',
4309
+ ossBucketName: 'string',
4310
+ };
4311
+ }
4312
+
4313
+ constructor(map?: { [key: string]: any }) {
4314
+ super(map);
4315
+ }
4316
+ }
4317
+
4318
+ export class MigrateClusterResponseBody extends $tea.Model {
4319
+ clusterId?: string;
4320
+ requestId?: string;
4321
+ taskId?: string;
4322
+ static names(): { [key: string]: string } {
4323
+ return {
4324
+ clusterId: 'cluster_id',
4325
+ requestId: 'request_id',
4326
+ taskId: 'task_id',
4327
+ };
4328
+ }
4329
+
4330
+ static types(): { [key: string]: any } {
4331
+ return {
4332
+ clusterId: 'string',
4333
+ requestId: 'string',
4334
+ taskId: 'string',
4335
+ };
4336
+ }
4337
+
4338
+ constructor(map?: { [key: string]: any }) {
4339
+ super(map);
4340
+ }
4341
+ }
4342
+
3854
4343
  export class MigrateClusterResponse extends $tea.Model {
3855
4344
  headers: { [key: string]: string };
4345
+ statusCode: number;
4346
+ body: MigrateClusterResponseBody;
3856
4347
  static names(): { [key: string]: string } {
3857
4348
  return {
3858
4349
  headers: 'headers',
4350
+ statusCode: 'statusCode',
4351
+ body: 'body',
3859
4352
  };
3860
4353
  }
3861
4354
 
3862
4355
  static types(): { [key: string]: any } {
3863
4356
  return {
3864
4357
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4358
+ statusCode: 'number',
4359
+ body: MigrateClusterResponseBody,
3865
4360
  };
3866
4361
  }
3867
4362
 
@@ -3940,10 +4435,12 @@ export class ModifyClusterResponseBody extends $tea.Model {
3940
4435
 
3941
4436
  export class ModifyClusterResponse extends $tea.Model {
3942
4437
  headers: { [key: string]: string };
4438
+ statusCode: number;
3943
4439
  body: ModifyClusterResponseBody;
3944
4440
  static names(): { [key: string]: string } {
3945
4441
  return {
3946
4442
  headers: 'headers',
4443
+ statusCode: 'statusCode',
3947
4444
  body: 'body',
3948
4445
  };
3949
4446
  }
@@ -3951,6 +4448,7 @@ export class ModifyClusterResponse extends $tea.Model {
3951
4448
  static types(): { [key: string]: any } {
3952
4449
  return {
3953
4450
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4451
+ statusCode: 'number',
3954
4452
  body: ModifyClusterResponseBody,
3955
4453
  };
3956
4454
  }
@@ -3981,15 +4479,18 @@ export class ModifyClusterAddonRequest extends $tea.Model {
3981
4479
 
3982
4480
  export class ModifyClusterAddonResponse extends $tea.Model {
3983
4481
  headers: { [key: string]: string };
4482
+ statusCode: number;
3984
4483
  static names(): { [key: string]: string } {
3985
4484
  return {
3986
4485
  headers: 'headers',
4486
+ statusCode: 'statusCode',
3987
4487
  };
3988
4488
  }
3989
4489
 
3990
4490
  static types(): { [key: string]: any } {
3991
4491
  return {
3992
4492
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4493
+ statusCode: 'number',
3993
4494
  };
3994
4495
  }
3995
4496
 
@@ -4019,15 +4520,18 @@ export class ModifyClusterConfigurationRequest extends $tea.Model {
4019
4520
 
4020
4521
  export class ModifyClusterConfigurationResponse extends $tea.Model {
4021
4522
  headers: { [key: string]: string };
4523
+ statusCode: number;
4022
4524
  static names(): { [key: string]: string } {
4023
4525
  return {
4024
4526
  headers: 'headers',
4527
+ statusCode: 'statusCode',
4025
4528
  };
4026
4529
  }
4027
4530
 
4028
4531
  static types(): { [key: string]: any } {
4029
4532
  return {
4030
4533
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4534
+ statusCode: 'number',
4031
4535
  };
4032
4536
  }
4033
4537
 
@@ -4040,6 +4544,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
4040
4544
  autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
4041
4545
  kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
4042
4546
  management?: ModifyClusterNodePoolRequestManagement;
4547
+ nodeConfig?: ModifyClusterNodePoolRequestNodeConfig;
4043
4548
  nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
4044
4549
  scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
4045
4550
  teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
@@ -4049,6 +4554,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
4049
4554
  autoScaling: 'auto_scaling',
4050
4555
  kubernetesConfig: 'kubernetes_config',
4051
4556
  management: 'management',
4557
+ nodeConfig: 'node_config',
4052
4558
  nodepoolInfo: 'nodepool_info',
4053
4559
  scalingGroup: 'scaling_group',
4054
4560
  teeConfig: 'tee_config',
@@ -4061,6 +4567,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
4061
4567
  autoScaling: ModifyClusterNodePoolRequestAutoScaling,
4062
4568
  kubernetesConfig: ModifyClusterNodePoolRequestKubernetesConfig,
4063
4569
  management: ModifyClusterNodePoolRequestManagement,
4570
+ nodeConfig: ModifyClusterNodePoolRequestNodeConfig,
4064
4571
  nodepoolInfo: ModifyClusterNodePoolRequestNodepoolInfo,
4065
4572
  scalingGroup: ModifyClusterNodePoolRequestScalingGroup,
4066
4573
  teeConfig: ModifyClusterNodePoolRequestTeeConfig,
@@ -4097,10 +4604,12 @@ export class ModifyClusterNodePoolResponseBody extends $tea.Model {
4097
4604
 
4098
4605
  export class ModifyClusterNodePoolResponse extends $tea.Model {
4099
4606
  headers: { [key: string]: string };
4607
+ statusCode: number;
4100
4608
  body: ModifyClusterNodePoolResponseBody;
4101
4609
  static names(): { [key: string]: string } {
4102
4610
  return {
4103
4611
  headers: 'headers',
4612
+ statusCode: 'statusCode',
4104
4613
  body: 'body',
4105
4614
  };
4106
4615
  }
@@ -4108,6 +4617,7 @@ export class ModifyClusterNodePoolResponse extends $tea.Model {
4108
4617
  static types(): { [key: string]: any } {
4109
4618
  return {
4110
4619
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4620
+ statusCode: 'number',
4111
4621
  body: ModifyClusterNodePoolResponseBody,
4112
4622
  };
4113
4623
  }
@@ -4138,15 +4648,18 @@ export class ModifyClusterTagsRequest extends $tea.Model {
4138
4648
 
4139
4649
  export class ModifyClusterTagsResponse extends $tea.Model {
4140
4650
  headers: { [key: string]: string };
4651
+ statusCode: number;
4141
4652
  static names(): { [key: string]: string } {
4142
4653
  return {
4143
4654
  headers: 'headers',
4655
+ statusCode: 'statusCode',
4144
4656
  };
4145
4657
  }
4146
4658
 
4147
4659
  static types(): { [key: string]: any } {
4148
4660
  return {
4149
4661
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4662
+ statusCode: 'number',
4150
4663
  };
4151
4664
  }
4152
4665
 
@@ -4204,10 +4717,12 @@ export class ModifyPolicyInstanceResponseBody extends $tea.Model {
4204
4717
 
4205
4718
  export class ModifyPolicyInstanceResponse extends $tea.Model {
4206
4719
  headers: { [key: string]: string };
4720
+ statusCode: number;
4207
4721
  body: ModifyPolicyInstanceResponseBody;
4208
4722
  static names(): { [key: string]: string } {
4209
4723
  return {
4210
4724
  headers: 'headers',
4725
+ statusCode: 'statusCode',
4211
4726
  body: 'body',
4212
4727
  };
4213
4728
  }
@@ -4215,6 +4730,7 @@ export class ModifyPolicyInstanceResponse extends $tea.Model {
4215
4730
  static types(): { [key: string]: any } {
4216
4731
  return {
4217
4732
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4733
+ statusCode: 'number',
4218
4734
  body: ModifyPolicyInstanceResponseBody,
4219
4735
  };
4220
4736
  }
@@ -4267,10 +4783,12 @@ export class OpenAckServiceResponseBody extends $tea.Model {
4267
4783
 
4268
4784
  export class OpenAckServiceResponse extends $tea.Model {
4269
4785
  headers: { [key: string]: string };
4786
+ statusCode: number;
4270
4787
  body: OpenAckServiceResponseBody;
4271
4788
  static names(): { [key: string]: string } {
4272
4789
  return {
4273
4790
  headers: 'headers',
4791
+ statusCode: 'statusCode',
4274
4792
  body: 'body',
4275
4793
  };
4276
4794
  }
@@ -4278,6 +4796,7 @@ export class OpenAckServiceResponse extends $tea.Model {
4278
4796
  static types(): { [key: string]: any } {
4279
4797
  return {
4280
4798
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4799
+ statusCode: 'number',
4281
4800
  body: OpenAckServiceResponseBody,
4282
4801
  };
4283
4802
  }
@@ -4289,15 +4808,18 @@ export class OpenAckServiceResponse extends $tea.Model {
4289
4808
 
4290
4809
  export class PauseClusterUpgradeResponse extends $tea.Model {
4291
4810
  headers: { [key: string]: string };
4811
+ statusCode: number;
4292
4812
  static names(): { [key: string]: string } {
4293
4813
  return {
4294
4814
  headers: 'headers',
4815
+ statusCode: 'statusCode',
4295
4816
  };
4296
4817
  }
4297
4818
 
4298
4819
  static types(): { [key: string]: any } {
4299
4820
  return {
4300
4821
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4822
+ statusCode: 'number',
4301
4823
  };
4302
4824
  }
4303
4825
 
@@ -4308,15 +4830,40 @@ export class PauseClusterUpgradeResponse extends $tea.Model {
4308
4830
 
4309
4831
  export class PauseComponentUpgradeResponse extends $tea.Model {
4310
4832
  headers: { [key: string]: string };
4833
+ statusCode: number;
4311
4834
  static names(): { [key: string]: string } {
4312
4835
  return {
4313
4836
  headers: 'headers',
4837
+ statusCode: 'statusCode',
4314
4838
  };
4315
4839
  }
4316
4840
 
4317
4841
  static types(): { [key: string]: any } {
4318
4842
  return {
4319
4843
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4844
+ statusCode: 'number',
4845
+ };
4846
+ }
4847
+
4848
+ constructor(map?: { [key: string]: any }) {
4849
+ super(map);
4850
+ }
4851
+ }
4852
+
4853
+ export class PauseTaskResponse extends $tea.Model {
4854
+ headers: { [key: string]: string };
4855
+ statusCode: number;
4856
+ static names(): { [key: string]: string } {
4857
+ return {
4858
+ headers: 'headers',
4859
+ statusCode: 'statusCode',
4860
+ };
4861
+ }
4862
+
4863
+ static types(): { [key: string]: any } {
4864
+ return {
4865
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4866
+ statusCode: 'number',
4320
4867
  };
4321
4868
  }
4322
4869
 
@@ -4352,15 +4899,18 @@ export class RemoveClusterNodesRequest extends $tea.Model {
4352
4899
 
4353
4900
  export class RemoveClusterNodesResponse extends $tea.Model {
4354
4901
  headers: { [key: string]: string };
4902
+ statusCode: number;
4355
4903
  static names(): { [key: string]: string } {
4356
4904
  return {
4357
4905
  headers: 'headers',
4906
+ statusCode: 'statusCode',
4358
4907
  };
4359
4908
  }
4360
4909
 
4361
4910
  static types(): { [key: string]: any } {
4362
4911
  return {
4363
4912
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4913
+ statusCode: 'number',
4364
4914
  };
4365
4915
  }
4366
4916
 
@@ -4371,15 +4921,18 @@ export class RemoveClusterNodesResponse extends $tea.Model {
4371
4921
 
4372
4922
  export class RemoveWorkflowResponse extends $tea.Model {
4373
4923
  headers: { [key: string]: string };
4924
+ statusCode: number;
4374
4925
  static names(): { [key: string]: string } {
4375
4926
  return {
4376
4927
  headers: 'headers',
4928
+ statusCode: 'statusCode',
4377
4929
  };
4378
4930
  }
4379
4931
 
4380
4932
  static types(): { [key: string]: any } {
4381
4933
  return {
4382
4934
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4935
+ statusCode: 'number',
4383
4936
  };
4384
4937
  }
4385
4938
 
@@ -4431,10 +4984,12 @@ export class RepairClusterNodePoolResponseBody extends $tea.Model {
4431
4984
 
4432
4985
  export class RepairClusterNodePoolResponse extends $tea.Model {
4433
4986
  headers: { [key: string]: string };
4987
+ statusCode: number;
4434
4988
  body: RepairClusterNodePoolResponseBody;
4435
4989
  static names(): { [key: string]: string } {
4436
4990
  return {
4437
4991
  headers: 'headers',
4992
+ statusCode: 'statusCode',
4438
4993
  body: 'body',
4439
4994
  };
4440
4995
  }
@@ -4442,6 +4997,7 @@ export class RepairClusterNodePoolResponse extends $tea.Model {
4442
4997
  static types(): { [key: string]: any } {
4443
4998
  return {
4444
4999
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5000
+ statusCode: 'number',
4445
5001
  body: RepairClusterNodePoolResponseBody,
4446
5002
  };
4447
5003
  }
@@ -4453,15 +5009,40 @@ export class RepairClusterNodePoolResponse extends $tea.Model {
4453
5009
 
4454
5010
  export class ResumeComponentUpgradeResponse extends $tea.Model {
4455
5011
  headers: { [key: string]: string };
5012
+ statusCode: number;
4456
5013
  static names(): { [key: string]: string } {
4457
5014
  return {
4458
5015
  headers: 'headers',
5016
+ statusCode: 'statusCode',
4459
5017
  };
4460
5018
  }
4461
5019
 
4462
5020
  static types(): { [key: string]: any } {
4463
5021
  return {
4464
5022
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5023
+ statusCode: 'number',
5024
+ };
5025
+ }
5026
+
5027
+ constructor(map?: { [key: string]: any }) {
5028
+ super(map);
5029
+ }
5030
+ }
5031
+
5032
+ export class ResumeTaskResponse extends $tea.Model {
5033
+ headers: { [key: string]: string };
5034
+ statusCode: number;
5035
+ static names(): { [key: string]: string } {
5036
+ return {
5037
+ headers: 'headers',
5038
+ statusCode: 'statusCode',
5039
+ };
5040
+ }
5041
+
5042
+ static types(): { [key: string]: any } {
5043
+ return {
5044
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5045
+ statusCode: 'number',
4465
5046
  };
4466
5047
  }
4467
5048
 
@@ -4472,15 +5053,18 @@ export class ResumeComponentUpgradeResponse extends $tea.Model {
4472
5053
 
4473
5054
  export class ResumeUpgradeClusterResponse extends $tea.Model {
4474
5055
  headers: { [key: string]: string };
5056
+ statusCode: number;
4475
5057
  static names(): { [key: string]: string } {
4476
5058
  return {
4477
5059
  headers: 'headers',
5060
+ statusCode: 'statusCode',
4478
5061
  };
4479
5062
  }
4480
5063
 
4481
5064
  static types(): { [key: string]: any } {
4482
5065
  return {
4483
5066
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5067
+ statusCode: 'number',
4484
5068
  };
4485
5069
  }
4486
5070
 
@@ -4589,10 +5173,12 @@ export class ScaleClusterResponseBody extends $tea.Model {
4589
5173
 
4590
5174
  export class ScaleClusterResponse extends $tea.Model {
4591
5175
  headers: { [key: string]: string };
5176
+ statusCode: number;
4592
5177
  body: ScaleClusterResponseBody;
4593
5178
  static names(): { [key: string]: string } {
4594
5179
  return {
4595
5180
  headers: 'headers',
5181
+ statusCode: 'statusCode',
4596
5182
  body: 'body',
4597
5183
  };
4598
5184
  }
@@ -4600,6 +5186,7 @@ export class ScaleClusterResponse extends $tea.Model {
4600
5186
  static types(): { [key: string]: any } {
4601
5187
  return {
4602
5188
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5189
+ statusCode: 'number',
4603
5190
  body: ScaleClusterResponseBody,
4604
5191
  };
4605
5192
  }
@@ -4649,10 +5236,12 @@ export class ScaleClusterNodePoolResponseBody extends $tea.Model {
4649
5236
 
4650
5237
  export class ScaleClusterNodePoolResponse extends $tea.Model {
4651
5238
  headers: { [key: string]: string };
5239
+ statusCode: number;
4652
5240
  body: ScaleClusterNodePoolResponseBody;
4653
5241
  static names(): { [key: string]: string } {
4654
5242
  return {
4655
5243
  headers: 'headers',
5244
+ statusCode: 'statusCode',
4656
5245
  body: 'body',
4657
5246
  };
4658
5247
  }
@@ -4660,6 +5249,7 @@ export class ScaleClusterNodePoolResponse extends $tea.Model {
4660
5249
  static types(): { [key: string]: any } {
4661
5250
  return {
4662
5251
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5252
+ statusCode: 'number',
4663
5253
  body: ScaleClusterNodePoolResponseBody,
4664
5254
  };
4665
5255
  }
@@ -4775,10 +5365,12 @@ export class ScaleOutClusterResponseBody extends $tea.Model {
4775
5365
 
4776
5366
  export class ScaleOutClusterResponse extends $tea.Model {
4777
5367
  headers: { [key: string]: string };
5368
+ statusCode: number;
4778
5369
  body: ScaleOutClusterResponseBody;
4779
5370
  static names(): { [key: string]: string } {
4780
5371
  return {
4781
5372
  headers: 'headers',
5373
+ statusCode: 'statusCode',
4782
5374
  body: 'body',
4783
5375
  };
4784
5376
  }
@@ -4786,6 +5378,7 @@ export class ScaleOutClusterResponse extends $tea.Model {
4786
5378
  static types(): { [key: string]: any } {
4787
5379
  return {
4788
5380
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5381
+ statusCode: 'number',
4789
5382
  body: ScaleOutClusterResponseBody,
4790
5383
  };
4791
5384
  }
@@ -4889,10 +5482,12 @@ export class StartWorkflowResponseBody extends $tea.Model {
4889
5482
 
4890
5483
  export class StartWorkflowResponse extends $tea.Model {
4891
5484
  headers: { [key: string]: string };
5485
+ statusCode: number;
4892
5486
  body: StartWorkflowResponseBody;
4893
5487
  static names(): { [key: string]: string } {
4894
5488
  return {
4895
5489
  headers: 'headers',
5490
+ statusCode: 'statusCode',
4896
5491
  body: 'body',
4897
5492
  };
4898
5493
  }
@@ -4900,6 +5495,7 @@ export class StartWorkflowResponse extends $tea.Model {
4900
5495
  static types(): { [key: string]: any } {
4901
5496
  return {
4902
5497
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5498
+ statusCode: 'number',
4903
5499
  body: StartWorkflowResponseBody,
4904
5500
  };
4905
5501
  }
@@ -4958,10 +5554,12 @@ export class TagResourcesResponseBody extends $tea.Model {
4958
5554
 
4959
5555
  export class TagResourcesResponse extends $tea.Model {
4960
5556
  headers: { [key: string]: string };
5557
+ statusCode: number;
4961
5558
  body: TagResourcesResponseBody;
4962
5559
  static names(): { [key: string]: string } {
4963
5560
  return {
4964
5561
  headers: 'headers',
5562
+ statusCode: 'statusCode',
4965
5563
  body: 'body',
4966
5564
  };
4967
5565
  }
@@ -4969,6 +5567,7 @@ export class TagResourcesResponse extends $tea.Model {
4969
5567
  static types(): { [key: string]: any } {
4970
5568
  return {
4971
5569
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5570
+ statusCode: 'number',
4972
5571
  body: TagResourcesResponseBody,
4973
5572
  };
4974
5573
  }
@@ -4999,15 +5598,18 @@ export class UnInstallClusterAddonsRequest extends $tea.Model {
4999
5598
 
5000
5599
  export class UnInstallClusterAddonsResponse extends $tea.Model {
5001
5600
  headers: { [key: string]: string };
5601
+ statusCode: number;
5002
5602
  static names(): { [key: string]: string } {
5003
5603
  return {
5004
5604
  headers: 'headers',
5605
+ statusCode: 'statusCode',
5005
5606
  };
5006
5607
  }
5007
5608
 
5008
5609
  static types(): { [key: string]: any } {
5009
5610
  return {
5010
5611
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5612
+ statusCode: 'number',
5011
5613
  };
5012
5614
  }
5013
5615
 
@@ -5068,10 +5670,12 @@ export class UntagResourcesResponseBody extends $tea.Model {
5068
5670
 
5069
5671
  export class UntagResourcesResponse extends $tea.Model {
5070
5672
  headers: { [key: string]: string };
5673
+ statusCode: number;
5071
5674
  body: UntagResourcesResponseBody;
5072
5675
  static names(): { [key: string]: string } {
5073
5676
  return {
5074
5677
  headers: 'headers',
5678
+ statusCode: 'statusCode',
5075
5679
  body: 'body',
5076
5680
  };
5077
5681
  }
@@ -5079,6 +5683,7 @@ export class UntagResourcesResponse extends $tea.Model {
5079
5683
  static types(): { [key: string]: any } {
5080
5684
  return {
5081
5685
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5686
+ statusCode: 'number',
5082
5687
  body: UntagResourcesResponseBody,
5083
5688
  };
5084
5689
  }
@@ -5090,15 +5695,18 @@ export class UntagResourcesResponse extends $tea.Model {
5090
5695
 
5091
5696
  export class UpdateContactGroupForAlertResponse extends $tea.Model {
5092
5697
  headers: { [key: string]: string };
5698
+ statusCode: number;
5093
5699
  static names(): { [key: string]: string } {
5094
5700
  return {
5095
5701
  headers: 'headers',
5702
+ statusCode: 'statusCode',
5096
5703
  };
5097
5704
  }
5098
5705
 
5099
5706
  static types(): { [key: string]: any } {
5100
5707
  return {
5101
5708
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5709
+ statusCode: 'number',
5102
5710
  };
5103
5711
  }
5104
5712
 
@@ -5131,15 +5739,18 @@ export class UpdateK8sClusterUserConfigExpireRequest extends $tea.Model {
5131
5739
 
5132
5740
  export class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
5133
5741
  headers: { [key: string]: string };
5742
+ statusCode: number;
5134
5743
  static names(): { [key: string]: string } {
5135
5744
  return {
5136
5745
  headers: 'headers',
5746
+ statusCode: 'statusCode',
5137
5747
  };
5138
5748
  }
5139
5749
 
5140
5750
  static types(): { [key: string]: any } {
5141
5751
  return {
5142
5752
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5753
+ statusCode: 'number',
5143
5754
  };
5144
5755
  }
5145
5756
 
@@ -5181,15 +5792,18 @@ export class UpdateTemplateRequest extends $tea.Model {
5181
5792
 
5182
5793
  export class UpdateTemplateResponse extends $tea.Model {
5183
5794
  headers: { [key: string]: string };
5795
+ statusCode: number;
5184
5796
  static names(): { [key: string]: string } {
5185
5797
  return {
5186
5798
  headers: 'headers',
5799
+ statusCode: 'statusCode',
5187
5800
  };
5188
5801
  }
5189
5802
 
5190
5803
  static types(): { [key: string]: any } {
5191
5804
  return {
5192
5805
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5806
+ statusCode: 'number',
5193
5807
  };
5194
5808
  }
5195
5809
 
@@ -5225,15 +5839,18 @@ export class UpgradeClusterRequest extends $tea.Model {
5225
5839
 
5226
5840
  export class UpgradeClusterResponse extends $tea.Model {
5227
5841
  headers: { [key: string]: string };
5842
+ statusCode: number;
5228
5843
  static names(): { [key: string]: string } {
5229
5844
  return {
5230
5845
  headers: 'headers',
5846
+ statusCode: 'statusCode',
5231
5847
  };
5232
5848
  }
5233
5849
 
5234
5850
  static types(): { [key: string]: any } {
5235
5851
  return {
5236
5852
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5853
+ statusCode: 'number',
5237
5854
  };
5238
5855
  }
5239
5856
 
@@ -5263,15 +5880,18 @@ export class UpgradeClusterAddonsRequest extends $tea.Model {
5263
5880
 
5264
5881
  export class UpgradeClusterAddonsResponse extends $tea.Model {
5265
5882
  headers: { [key: string]: string };
5883
+ statusCode: number;
5266
5884
  static names(): { [key: string]: string } {
5267
5885
  return {
5268
5886
  headers: 'headers',
5887
+ statusCode: 'statusCode',
5269
5888
  };
5270
5889
  }
5271
5890
 
5272
5891
  static types(): { [key: string]: any } {
5273
5892
  return {
5274
5893
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5894
+ statusCode: 'number',
5275
5895
  };
5276
5896
  }
5277
5897
 
@@ -5769,6 +6389,93 @@ export class DescribeAddonsResponseBodyComponentGroups extends $tea.Model {
5769
6389
  }
5770
6390
  }
5771
6391
 
6392
+ export class DescribeClusterEventsResponseBodyEventsData extends $tea.Model {
6393
+ level?: string;
6394
+ message?: string;
6395
+ reason?: string;
6396
+ static names(): { [key: string]: string } {
6397
+ return {
6398
+ level: 'level',
6399
+ message: 'message',
6400
+ reason: 'reason',
6401
+ };
6402
+ }
6403
+
6404
+ static types(): { [key: string]: any } {
6405
+ return {
6406
+ level: 'string',
6407
+ message: 'string',
6408
+ reason: 'string',
6409
+ };
6410
+ }
6411
+
6412
+ constructor(map?: { [key: string]: any }) {
6413
+ super(map);
6414
+ }
6415
+ }
6416
+
6417
+ export class DescribeClusterEventsResponseBodyEvents extends $tea.Model {
6418
+ clusterId?: string;
6419
+ data?: DescribeClusterEventsResponseBodyEventsData;
6420
+ eventId?: string;
6421
+ source?: string;
6422
+ subject?: string;
6423
+ time?: string;
6424
+ type?: string;
6425
+ static names(): { [key: string]: string } {
6426
+ return {
6427
+ clusterId: 'cluster_id',
6428
+ data: 'data',
6429
+ eventId: 'event_id',
6430
+ source: 'source',
6431
+ subject: 'subject',
6432
+ time: 'time',
6433
+ type: 'type',
6434
+ };
6435
+ }
6436
+
6437
+ static types(): { [key: string]: any } {
6438
+ return {
6439
+ clusterId: 'string',
6440
+ data: DescribeClusterEventsResponseBodyEventsData,
6441
+ eventId: 'string',
6442
+ source: 'string',
6443
+ subject: 'string',
6444
+ time: 'string',
6445
+ type: 'string',
6446
+ };
6447
+ }
6448
+
6449
+ constructor(map?: { [key: string]: any }) {
6450
+ super(map);
6451
+ }
6452
+ }
6453
+
6454
+ export class DescribeClusterEventsResponseBodyPageInfo extends $tea.Model {
6455
+ pageNumber?: number;
6456
+ pageSize?: number;
6457
+ totalCount?: number;
6458
+ static names(): { [key: string]: string } {
6459
+ return {
6460
+ pageNumber: 'page_number',
6461
+ pageSize: 'page_size',
6462
+ totalCount: 'total_count',
6463
+ };
6464
+ }
6465
+
6466
+ static types(): { [key: string]: any } {
6467
+ return {
6468
+ pageNumber: 'number',
6469
+ pageSize: 'number',
6470
+ totalCount: 'number',
6471
+ };
6472
+ }
6473
+
6474
+ constructor(map?: { [key: string]: any }) {
6475
+ super(map);
6476
+ }
6477
+ }
6478
+
5772
6479
  export class DescribeClusterLogsResponseBody extends $tea.Model {
5773
6480
  ID?: number;
5774
6481
  clusterId?: string;
@@ -6754,6 +7461,7 @@ export class DescribeClusterResourcesResponseBody extends $tea.Model {
6754
7461
  resourceInfo?: string;
6755
7462
  resourceType?: string;
6756
7463
  state?: string;
7464
+ autoCreate?: number;
6757
7465
  static names(): { [key: string]: string } {
6758
7466
  return {
6759
7467
  clusterId: 'cluster_id',
@@ -6762,6 +7470,7 @@ export class DescribeClusterResourcesResponseBody extends $tea.Model {
6762
7470
  resourceInfo: 'resource_info',
6763
7471
  resourceType: 'resource_type',
6764
7472
  state: 'state',
7473
+ autoCreate: 'auto_create',
6765
7474
  };
6766
7475
  }
6767
7476
 
@@ -6773,6 +7482,88 @@ export class DescribeClusterResourcesResponseBody extends $tea.Model {
6773
7482
  resourceInfo: 'string',
6774
7483
  resourceType: 'string',
6775
7484
  state: 'string',
7485
+ autoCreate: 'number',
7486
+ };
7487
+ }
7488
+
7489
+ constructor(map?: { [key: string]: any }) {
7490
+ super(map);
7491
+ }
7492
+ }
7493
+
7494
+ export class DescribeClusterTasksResponseBodyPageInfo extends $tea.Model {
7495
+ pageNumber?: number;
7496
+ pageSize?: number;
7497
+ totalCount?: number;
7498
+ static names(): { [key: string]: string } {
7499
+ return {
7500
+ pageNumber: 'page_number',
7501
+ pageSize: 'page_size',
7502
+ totalCount: 'total_count',
7503
+ };
7504
+ }
7505
+
7506
+ static types(): { [key: string]: any } {
7507
+ return {
7508
+ pageNumber: 'number',
7509
+ pageSize: 'number',
7510
+ totalCount: 'number',
7511
+ };
7512
+ }
7513
+
7514
+ constructor(map?: { [key: string]: any }) {
7515
+ super(map);
7516
+ }
7517
+ }
7518
+
7519
+ export class DescribeClusterTasksResponseBodyTasksError extends $tea.Model {
7520
+ code?: string;
7521
+ message?: string;
7522
+ static names(): { [key: string]: string } {
7523
+ return {
7524
+ code: 'code',
7525
+ message: 'message',
7526
+ };
7527
+ }
7528
+
7529
+ static types(): { [key: string]: any } {
7530
+ return {
7531
+ code: 'string',
7532
+ message: 'string',
7533
+ };
7534
+ }
7535
+
7536
+ constructor(map?: { [key: string]: any }) {
7537
+ super(map);
7538
+ }
7539
+ }
7540
+
7541
+ export class DescribeClusterTasksResponseBodyTasks extends $tea.Model {
7542
+ created?: string;
7543
+ error?: DescribeClusterTasksResponseBodyTasksError;
7544
+ state?: string;
7545
+ taskId?: string;
7546
+ taskType?: string;
7547
+ updated?: string;
7548
+ static names(): { [key: string]: string } {
7549
+ return {
7550
+ created: 'created',
7551
+ error: 'error',
7552
+ state: 'state',
7553
+ taskId: 'task_id',
7554
+ taskType: 'task_type',
7555
+ updated: 'updated',
7556
+ };
7557
+ }
7558
+
7559
+ static types(): { [key: string]: any } {
7560
+ return {
7561
+ created: 'string',
7562
+ error: DescribeClusterTasksResponseBodyTasksError,
7563
+ state: 'string',
7564
+ taskId: 'string',
7565
+ taskType: 'string',
7566
+ updated: 'string',
6776
7567
  };
6777
7568
  }
6778
7569
 
@@ -7278,23 +8069,73 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
7278
8069
  multiAz?: string;
7279
8070
  static names(): { [key: string]: string } {
7280
8071
  return {
7281
- capabilities: 'capabilities',
7282
- images: 'images',
7283
- metaData: 'meta_data',
7284
- runtimes: 'runtimes',
7285
- version: 'version',
7286
- multiAz: 'multi_az',
8072
+ capabilities: 'capabilities',
8073
+ images: 'images',
8074
+ metaData: 'meta_data',
8075
+ runtimes: 'runtimes',
8076
+ version: 'version',
8077
+ multiAz: 'multi_az',
8078
+ };
8079
+ }
8080
+
8081
+ static types(): { [key: string]: any } {
8082
+ return {
8083
+ capabilities: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
8084
+ images: { 'type': 'array', 'itemType': DescribeKubernetesVersionMetadataResponseBodyImages },
8085
+ metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
8086
+ runtimes: { 'type': 'array', 'itemType': Runtime },
8087
+ version: 'string',
8088
+ multiAz: 'string',
8089
+ };
8090
+ }
8091
+
8092
+ constructor(map?: { [key: string]: any }) {
8093
+ super(map);
8094
+ }
8095
+ }
8096
+
8097
+ export class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Model {
8098
+ aliasName?: string;
8099
+ cveList?: string[];
8100
+ name?: string;
8101
+ necessity?: string;
8102
+ static names(): { [key: string]: string } {
8103
+ return {
8104
+ aliasName: 'alias_name',
8105
+ cveList: 'cve_list',
8106
+ name: 'name',
8107
+ necessity: 'necessity',
8108
+ };
8109
+ }
8110
+
8111
+ static types(): { [key: string]: any } {
8112
+ return {
8113
+ aliasName: 'string',
8114
+ cveList: { 'type': 'array', 'itemType': 'string' },
8115
+ name: 'string',
8116
+ necessity: 'string',
8117
+ };
8118
+ }
8119
+
8120
+ constructor(map?: { [key: string]: any }) {
8121
+ super(map);
8122
+ }
8123
+ }
8124
+
8125
+ export class DescribeNodePoolVulsResponseBodyVulRecords extends $tea.Model {
8126
+ instanceId?: string;
8127
+ vulList?: DescribeNodePoolVulsResponseBodyVulRecordsVulList[];
8128
+ static names(): { [key: string]: string } {
8129
+ return {
8130
+ instanceId: 'instance_id',
8131
+ vulList: 'vul_list',
7287
8132
  };
7288
8133
  }
7289
8134
 
7290
8135
  static types(): { [key: string]: any } {
7291
8136
  return {
7292
- capabilities: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
7293
- images: { 'type': 'array', 'itemType': DescribeKubernetesVersionMetadataResponseBodyImages },
7294
- metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
7295
- runtimes: { 'type': 'array', 'itemType': Runtime },
7296
- version: 'string',
7297
- multiAz: 'string',
8137
+ instanceId: 'string',
8138
+ vulList: { 'type': 'array', 'itemType': DescribeNodePoolVulsResponseBodyVulRecordsVulList },
7298
8139
  };
7299
8140
  }
7300
8141
 
@@ -7843,6 +8684,25 @@ export class DescribeWorkflowsResponseBodyJobs extends $tea.Model {
7843
8684
  }
7844
8685
  }
7845
8686
 
8687
+ export class FixNodePoolVulsRequestRolloutPolicy extends $tea.Model {
8688
+ maxParallelism?: number;
8689
+ static names(): { [key: string]: string } {
8690
+ return {
8691
+ maxParallelism: 'max_parallelism',
8692
+ };
8693
+ }
8694
+
8695
+ static types(): { [key: string]: any } {
8696
+ return {
8697
+ maxParallelism: 'number',
8698
+ };
8699
+ }
8700
+
8701
+ constructor(map?: { [key: string]: any }) {
8702
+ super(map);
8703
+ }
8704
+ }
8705
+
7846
8706
  export class GetKubernetesTriggerResponseBody extends $tea.Model {
7847
8707
  id?: string;
7848
8708
  name?: string;
@@ -8179,6 +9039,102 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
8179
9039
  }
8180
9040
  }
8181
9041
 
9042
+ export class ModifyClusterNodePoolRequestNodeConfigKubeletConfiguration extends $tea.Model {
9043
+ cpuManagerPolicy?: string;
9044
+ eventBurst?: number;
9045
+ eventRecordQPS?: number;
9046
+ evictionHard?: { [key: string]: any };
9047
+ evictionSoft?: { [key: string]: any };
9048
+ evictionSoftGracePeriod?: { [key: string]: any };
9049
+ kubeAPIBurst?: number;
9050
+ kubeAPIQPS?: number;
9051
+ kubeReserved?: { [key: string]: any };
9052
+ registryBurst?: number;
9053
+ registryPullQPS?: number;
9054
+ serializeImagePulls?: boolean;
9055
+ systemReserved?: { [key: string]: any };
9056
+ static names(): { [key: string]: string } {
9057
+ return {
9058
+ cpuManagerPolicy: 'cpuManagerPolicy',
9059
+ eventBurst: 'eventBurst',
9060
+ eventRecordQPS: 'eventRecordQPS',
9061
+ evictionHard: 'evictionHard',
9062
+ evictionSoft: 'evictionSoft',
9063
+ evictionSoftGracePeriod: 'evictionSoftGracePeriod',
9064
+ kubeAPIBurst: 'kubeAPIBurst',
9065
+ kubeAPIQPS: 'kubeAPIQPS',
9066
+ kubeReserved: 'kubeReserved',
9067
+ registryBurst: 'registryBurst',
9068
+ registryPullQPS: 'registryPullQPS',
9069
+ serializeImagePulls: 'serializeImagePulls',
9070
+ systemReserved: 'systemReserved',
9071
+ };
9072
+ }
9073
+
9074
+ static types(): { [key: string]: any } {
9075
+ return {
9076
+ cpuManagerPolicy: 'string',
9077
+ eventBurst: 'number',
9078
+ eventRecordQPS: 'number',
9079
+ evictionHard: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
9080
+ evictionSoft: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
9081
+ evictionSoftGracePeriod: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
9082
+ kubeAPIBurst: 'number',
9083
+ kubeAPIQPS: 'number',
9084
+ kubeReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
9085
+ registryBurst: 'number',
9086
+ registryPullQPS: 'number',
9087
+ serializeImagePulls: 'boolean',
9088
+ systemReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
9089
+ };
9090
+ }
9091
+
9092
+ constructor(map?: { [key: string]: any }) {
9093
+ super(map);
9094
+ }
9095
+ }
9096
+
9097
+ export class ModifyClusterNodePoolRequestNodeConfigRolloutPolicy extends $tea.Model {
9098
+ maxUnavailable?: number;
9099
+ static names(): { [key: string]: string } {
9100
+ return {
9101
+ maxUnavailable: 'max_unavailable',
9102
+ };
9103
+ }
9104
+
9105
+ static types(): { [key: string]: any } {
9106
+ return {
9107
+ maxUnavailable: 'number',
9108
+ };
9109
+ }
9110
+
9111
+ constructor(map?: { [key: string]: any }) {
9112
+ super(map);
9113
+ }
9114
+ }
9115
+
9116
+ export class ModifyClusterNodePoolRequestNodeConfig extends $tea.Model {
9117
+ kubeletConfiguration?: ModifyClusterNodePoolRequestNodeConfigKubeletConfiguration;
9118
+ rolloutPolicy?: ModifyClusterNodePoolRequestNodeConfigRolloutPolicy;
9119
+ static names(): { [key: string]: string } {
9120
+ return {
9121
+ kubeletConfiguration: 'kubelet_configuration',
9122
+ rolloutPolicy: 'rollout_policy',
9123
+ };
9124
+ }
9125
+
9126
+ static types(): { [key: string]: any } {
9127
+ return {
9128
+ kubeletConfiguration: ModifyClusterNodePoolRequestNodeConfigKubeletConfiguration,
9129
+ rolloutPolicy: ModifyClusterNodePoolRequestNodeConfigRolloutPolicy,
9130
+ };
9131
+ }
9132
+
9133
+ constructor(map?: { [key: string]: any }) {
9134
+ super(map);
9135
+ }
9136
+ }
9137
+
8182
9138
  export class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model {
8183
9139
  name?: string;
8184
9140
  resourceGroupId?: string;
@@ -8680,6 +9636,31 @@ export default class Client extends OpenApi {
8680
9636
  return $tea.cast<CancelComponentUpgradeResponse>(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
8681
9637
  }
8682
9638
 
9639
+ async cancelTask(taskId: string): Promise<CancelTaskResponse> {
9640
+ let runtime = new $Util.RuntimeOptions({ });
9641
+ let headers : {[key: string ]: string} = { };
9642
+ return await this.cancelTaskWithOptions(taskId, headers, runtime);
9643
+ }
9644
+
9645
+ async cancelTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelTaskResponse> {
9646
+ taskId = OpenApiUtil.getEncodeParam(taskId);
9647
+ let req = new $OpenApi.OpenApiRequest({
9648
+ headers: headers,
9649
+ });
9650
+ let params = new $OpenApi.Params({
9651
+ action: "CancelTask",
9652
+ version: "2015-12-15",
9653
+ protocol: "HTTPS",
9654
+ pathname: `/tasks/${taskId}/cancel`,
9655
+ method: "POST",
9656
+ authType: "AK",
9657
+ style: "ROA",
9658
+ reqBodyType: "json",
9659
+ bodyType: "none",
9660
+ });
9661
+ return $tea.cast<CancelTaskResponse>(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
9662
+ }
9663
+
8683
9664
  async cancelWorkflow(workflowName: string, request: CancelWorkflowRequest): Promise<CancelWorkflowResponse> {
8684
9665
  let runtime = new $Util.RuntimeOptions({ });
8685
9666
  let headers : {[key: string ]: string} = { };
@@ -8726,10 +9707,18 @@ export default class Client extends OpenApi {
8726
9707
  body["cool_down_duration"] = request.coolDownDuration;
8727
9708
  }
8728
9709
 
9710
+ if (!Util.isUnset(request.expander)) {
9711
+ body["expander"] = request.expander;
9712
+ }
9713
+
8729
9714
  if (!Util.isUnset(request.gpuUtilizationThreshold)) {
8730
9715
  body["gpu_utilization_threshold"] = request.gpuUtilizationThreshold;
8731
9716
  }
8732
9717
 
9718
+ if (!Util.isUnset(request.scaleDownEnabled)) {
9719
+ body["scale_down_enabled"] = request.scaleDownEnabled;
9720
+ }
9721
+
8733
9722
  if (!Util.isUnset(request.scanInterval)) {
8734
9723
  body["scan_interval"] = request.scanInterval;
8735
9724
  }
@@ -8777,6 +9766,10 @@ export default class Client extends OpenApi {
8777
9766
  body["api_audiences"] = request.apiAudiences;
8778
9767
  }
8779
9768
 
9769
+ if (!Util.isUnset(request.chargeType)) {
9770
+ body["charge_type"] = request.chargeType;
9771
+ }
9772
+
8780
9773
  if (!Util.isUnset(request.cisEnabled)) {
8781
9774
  body["cis_enabled"] = request.cisEnabled;
8782
9775
  }
@@ -8961,6 +9954,14 @@ export default class Client extends OpenApi {
8961
9954
  body["os_type"] = request.osType;
8962
9955
  }
8963
9956
 
9957
+ if (!Util.isUnset(request.period)) {
9958
+ body["period"] = request.period;
9959
+ }
9960
+
9961
+ if (!Util.isUnset(request.periodUnit)) {
9962
+ body["period_unit"] = request.periodUnit;
9963
+ }
9964
+
8964
9965
  if (!Util.isUnset(request.platform)) {
8965
9966
  body["platform"] = request.platform;
8966
9967
  }
@@ -9966,54 +10967,69 @@ export default class Client extends OpenApi {
9966
10967
  return $tea.cast<DescribeClusterDetailResponse>(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
9967
10968
  }
9968
10969
 
9969
- async describeClusterLogs(ClusterId: string): Promise<DescribeClusterLogsResponse> {
10970
+ async describeClusterEvents(ClusterId: string, request: DescribeClusterEventsRequest): Promise<DescribeClusterEventsResponse> {
9970
10971
  let runtime = new $Util.RuntimeOptions({ });
9971
10972
  let headers : {[key: string ]: string} = { };
9972
- return await this.describeClusterLogsWithOptions(ClusterId, headers, runtime);
10973
+ return await this.describeClusterEventsWithOptions(ClusterId, request, headers, runtime);
9973
10974
  }
9974
10975
 
9975
- async describeClusterLogsWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterLogsResponse> {
10976
+ async describeClusterEventsWithOptions(ClusterId: string, request: DescribeClusterEventsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterEventsResponse> {
10977
+ Util.validateModel(request);
9976
10978
  ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
10979
+ let query : {[key: string ]: any} = { };
10980
+ if (!Util.isUnset(request.pageNumber)) {
10981
+ query["page_number"] = request.pageNumber;
10982
+ }
10983
+
10984
+ if (!Util.isUnset(request.pageSize)) {
10985
+ query["page_size"] = request.pageSize;
10986
+ }
10987
+
10988
+ if (!Util.isUnset(request.taskId)) {
10989
+ query["task_id"] = request.taskId;
10990
+ }
10991
+
9977
10992
  let req = new $OpenApi.OpenApiRequest({
9978
10993
  headers: headers,
10994
+ query: OpenApiUtil.query(query),
9979
10995
  });
9980
10996
  let params = new $OpenApi.Params({
9981
- action: "DescribeClusterLogs",
10997
+ action: "DescribeClusterEvents",
9982
10998
  version: "2015-12-15",
9983
10999
  protocol: "HTTPS",
9984
- pathname: `/clusters/${ClusterId}/logs`,
11000
+ pathname: `/clusters/${ClusterId}/events`,
9985
11001
  method: "GET",
9986
11002
  authType: "AK",
9987
11003
  style: "ROA",
9988
11004
  reqBodyType: "json",
9989
- bodyType: "array",
11005
+ bodyType: "json",
9990
11006
  });
9991
- return $tea.cast<DescribeClusterLogsResponse>(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
11007
+ return $tea.cast<DescribeClusterEventsResponse>(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
9992
11008
  }
9993
11009
 
9994
- async describeClusterNamespaces(ClusterId: string): Promise<DescribeClusterNamespacesResponse> {
11010
+ async describeClusterLogs(ClusterId: string): Promise<DescribeClusterLogsResponse> {
9995
11011
  let runtime = new $Util.RuntimeOptions({ });
9996
11012
  let headers : {[key: string ]: string} = { };
9997
- return await this.describeClusterNamespacesWithOptions(ClusterId, headers, runtime);
11013
+ return await this.describeClusterLogsWithOptions(ClusterId, headers, runtime);
9998
11014
  }
9999
11015
 
10000
- async describeClusterNamespacesWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNamespacesResponse> {
11016
+ async describeClusterLogsWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterLogsResponse> {
10001
11017
  ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
10002
11018
  let req = new $OpenApi.OpenApiRequest({
10003
11019
  headers: headers,
10004
11020
  });
10005
11021
  let params = new $OpenApi.Params({
10006
- action: "DescribeClusterNamespaces",
11022
+ action: "DescribeClusterLogs",
10007
11023
  version: "2015-12-15",
10008
11024
  protocol: "HTTPS",
10009
- pathname: `/k8s/${ClusterId}/namespaces`,
11025
+ pathname: `/clusters/${ClusterId}/logs`,
10010
11026
  method: "GET",
10011
11027
  authType: "AK",
10012
11028
  style: "ROA",
10013
11029
  reqBodyType: "json",
10014
11030
  bodyType: "array",
10015
11031
  });
10016
- return $tea.cast<DescribeClusterNamespacesResponse>(await this.callApi(params, req, runtime), new DescribeClusterNamespacesResponse({}));
11032
+ return $tea.cast<DescribeClusterLogsResponse>(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
10017
11033
  }
10018
11034
 
10019
11035
  async describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<DescribeClusterNodePoolDetailResponse> {
@@ -10140,6 +11156,31 @@ export default class Client extends OpenApi {
10140
11156
  return $tea.cast<DescribeClusterResourcesResponse>(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
10141
11157
  }
10142
11158
 
11159
+ async describeClusterTasks(clusterId: string): Promise<DescribeClusterTasksResponse> {
11160
+ let runtime = new $Util.RuntimeOptions({ });
11161
+ let headers : {[key: string ]: string} = { };
11162
+ return await this.describeClusterTasksWithOptions(clusterId, headers, runtime);
11163
+ }
11164
+
11165
+ async describeClusterTasksWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterTasksResponse> {
11166
+ clusterId = OpenApiUtil.getEncodeParam(clusterId);
11167
+ let req = new $OpenApi.OpenApiRequest({
11168
+ headers: headers,
11169
+ });
11170
+ let params = new $OpenApi.Params({
11171
+ action: "DescribeClusterTasks",
11172
+ version: "2015-12-15",
11173
+ protocol: "HTTPS",
11174
+ pathname: `/clusters/${clusterId}/tasks`,
11175
+ method: "GET",
11176
+ authType: "AK",
11177
+ style: "ROA",
11178
+ reqBodyType: "json",
11179
+ bodyType: "json",
11180
+ });
11181
+ return $tea.cast<DescribeClusterTasksResponse>(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
11182
+ }
11183
+
10143
11184
  async describeClusterUserKubeconfig(ClusterId: string, request: DescribeClusterUserKubeconfigRequest): Promise<DescribeClusterUserKubeconfigResponse> {
10144
11185
  let runtime = new $Util.RuntimeOptions({ });
10145
11186
  let headers : {[key: string ]: string} = { };
@@ -10545,6 +11586,32 @@ export default class Client extends OpenApi {
10545
11586
  return $tea.cast<DescribeKubernetesVersionMetadataResponse>(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
10546
11587
  }
10547
11588
 
11589
+ async describeNodePoolVuls(clusterId: string, nodepoolId: string): Promise<DescribeNodePoolVulsResponse> {
11590
+ let runtime = new $Util.RuntimeOptions({ });
11591
+ let headers : {[key: string ]: string} = { };
11592
+ return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, headers, runtime);
11593
+ }
11594
+
11595
+ async describeNodePoolVulsWithOptions(clusterId: string, nodepoolId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeNodePoolVulsResponse> {
11596
+ clusterId = OpenApiUtil.getEncodeParam(clusterId);
11597
+ nodepoolId = OpenApiUtil.getEncodeParam(nodepoolId);
11598
+ let req = new $OpenApi.OpenApiRequest({
11599
+ headers: headers,
11600
+ });
11601
+ let params = new $OpenApi.Params({
11602
+ action: "DescribeNodePoolVuls",
11603
+ version: "2015-12-15",
11604
+ protocol: "HTTPS",
11605
+ pathname: `/clusters/${clusterId}/nodepools/${nodepoolId}/vuls`,
11606
+ method: "GET",
11607
+ authType: "AK",
11608
+ style: "ROA",
11609
+ reqBodyType: "json",
11610
+ bodyType: "json",
11611
+ });
11612
+ return $tea.cast<DescribeNodePoolVulsResponse>(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
11613
+ }
11614
+
10548
11615
  async describePolicies(): Promise<DescribePoliciesResponse> {
10549
11616
  let runtime = new $Util.RuntimeOptions({ });
10550
11617
  let headers : {[key: string ]: string} = { };
@@ -10934,6 +12001,47 @@ export default class Client extends OpenApi {
10934
12001
  return $tea.cast<EdgeClusterAddEdgeMachineResponse>(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
10935
12002
  }
10936
12003
 
12004
+ async fixNodePoolVuls(clusterId: string, nodepoolId: string, request: FixNodePoolVulsRequest): Promise<FixNodePoolVulsResponse> {
12005
+ let runtime = new $Util.RuntimeOptions({ });
12006
+ let headers : {[key: string ]: string} = { };
12007
+ return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
12008
+ }
12009
+
12010
+ async fixNodePoolVulsWithOptions(clusterId: string, nodepoolId: string, request: FixNodePoolVulsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<FixNodePoolVulsResponse> {
12011
+ Util.validateModel(request);
12012
+ clusterId = OpenApiUtil.getEncodeParam(clusterId);
12013
+ nodepoolId = OpenApiUtil.getEncodeParam(nodepoolId);
12014
+ let body : {[key: string ]: any} = { };
12015
+ if (!Util.isUnset(request.nodes)) {
12016
+ body["nodes"] = request.nodes;
12017
+ }
12018
+
12019
+ if (!Util.isUnset($tea.toMap(request.rolloutPolicy))) {
12020
+ body["rollout_policy"] = request.rolloutPolicy;
12021
+ }
12022
+
12023
+ if (!Util.isUnset(request.vulList)) {
12024
+ body["vul_list"] = request.vulList;
12025
+ }
12026
+
12027
+ let req = new $OpenApi.OpenApiRequest({
12028
+ headers: headers,
12029
+ body: OpenApiUtil.parseToMap(body),
12030
+ });
12031
+ let params = new $OpenApi.Params({
12032
+ action: "FixNodePoolVuls",
12033
+ version: "2015-12-15",
12034
+ protocol: "HTTPS",
12035
+ pathname: `/clusters/${clusterId}/nodepools/${nodepoolId}/vuls/fix`,
12036
+ method: "POST",
12037
+ authType: "AK",
12038
+ style: "ROA",
12039
+ reqBodyType: "json",
12040
+ bodyType: "json",
12041
+ });
12042
+ return $tea.cast<FixNodePoolVulsResponse>(await this.callApi(params, req, runtime), new FixNodePoolVulsResponse({}));
12043
+ }
12044
+
10937
12045
  async getKubernetesTrigger(ClusterId: string, request: GetKubernetesTriggerRequest): Promise<GetKubernetesTriggerResponse> {
10938
12046
  let runtime = new $Util.RuntimeOptions({ });
10939
12047
  let headers : {[key: string ]: string} = { };
@@ -11114,16 +12222,27 @@ export default class Client extends OpenApi {
11114
12222
  return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
11115
12223
  }
11116
12224
 
11117
- async migrateCluster(clusterId: string): Promise<MigrateClusterResponse> {
12225
+ async migrateCluster(clusterId: string, request: MigrateClusterRequest): Promise<MigrateClusterResponse> {
11118
12226
  let runtime = new $Util.RuntimeOptions({ });
11119
12227
  let headers : {[key: string ]: string} = { };
11120
- return await this.migrateClusterWithOptions(clusterId, headers, runtime);
12228
+ return await this.migrateClusterWithOptions(clusterId, request, headers, runtime);
11121
12229
  }
11122
12230
 
11123
- async migrateClusterWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<MigrateClusterResponse> {
12231
+ async migrateClusterWithOptions(clusterId: string, request: MigrateClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<MigrateClusterResponse> {
12232
+ Util.validateModel(request);
11124
12233
  clusterId = OpenApiUtil.getEncodeParam(clusterId);
12234
+ let body : {[key: string ]: any} = { };
12235
+ if (!Util.isUnset(request.ossBucketEndpoint)) {
12236
+ body["oss_bucket_endpoint"] = request.ossBucketEndpoint;
12237
+ }
12238
+
12239
+ if (!Util.isUnset(request.ossBucketName)) {
12240
+ body["oss_bucket_name"] = request.ossBucketName;
12241
+ }
12242
+
11125
12243
  let req = new $OpenApi.OpenApiRequest({
11126
12244
  headers: headers,
12245
+ body: OpenApiUtil.parseToMap(body),
11127
12246
  });
11128
12247
  let params = new $OpenApi.Params({
11129
12248
  action: "MigrateCluster",
@@ -11134,7 +12253,7 @@ export default class Client extends OpenApi {
11134
12253
  authType: "AK",
11135
12254
  style: "ROA",
11136
12255
  reqBodyType: "json",
11137
- bodyType: "none",
12256
+ bodyType: "json",
11138
12257
  });
11139
12258
  return $tea.cast<MigrateClusterResponse>(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
11140
12259
  }
@@ -11291,6 +12410,10 @@ export default class Client extends OpenApi {
11291
12410
  body["management"] = request.management;
11292
12411
  }
11293
12412
 
12413
+ if (!Util.isUnset($tea.toMap(request.nodeConfig))) {
12414
+ body["node_config"] = request.nodeConfig;
12415
+ }
12416
+
11294
12417
  if (!Util.isUnset($tea.toMap(request.nodepoolInfo))) {
11295
12418
  body["nodepool_info"] = request.nodepoolInfo;
11296
12419
  }
@@ -11479,6 +12602,31 @@ export default class Client extends OpenApi {
11479
12602
  return $tea.cast<PauseComponentUpgradeResponse>(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
11480
12603
  }
11481
12604
 
12605
+ async pauseTask(taskId: string): Promise<PauseTaskResponse> {
12606
+ let runtime = new $Util.RuntimeOptions({ });
12607
+ let headers : {[key: string ]: string} = { };
12608
+ return await this.pauseTaskWithOptions(taskId, headers, runtime);
12609
+ }
12610
+
12611
+ async pauseTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseTaskResponse> {
12612
+ taskId = OpenApiUtil.getEncodeParam(taskId);
12613
+ let req = new $OpenApi.OpenApiRequest({
12614
+ headers: headers,
12615
+ });
12616
+ let params = new $OpenApi.Params({
12617
+ action: "PauseTask",
12618
+ version: "2015-12-15",
12619
+ protocol: "HTTPS",
12620
+ pathname: `/tasks/${taskId}/pause`,
12621
+ method: "POST",
12622
+ authType: "AK",
12623
+ style: "ROA",
12624
+ reqBodyType: "json",
12625
+ bodyType: "none",
12626
+ });
12627
+ return $tea.cast<PauseTaskResponse>(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
12628
+ }
12629
+
11482
12630
  async removeClusterNodes(ClusterId: string, request: RemoveClusterNodesRequest): Promise<RemoveClusterNodesResponse> {
11483
12631
  let runtime = new $Util.RuntimeOptions({ });
11484
12632
  let headers : {[key: string ]: string} = { };
@@ -11603,6 +12751,31 @@ export default class Client extends OpenApi {
11603
12751
  return $tea.cast<ResumeComponentUpgradeResponse>(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
11604
12752
  }
11605
12753
 
12754
+ async resumeTask(taskId: string): Promise<ResumeTaskResponse> {
12755
+ let runtime = new $Util.RuntimeOptions({ });
12756
+ let headers : {[key: string ]: string} = { };
12757
+ return await this.resumeTaskWithOptions(taskId, headers, runtime);
12758
+ }
12759
+
12760
+ async resumeTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeTaskResponse> {
12761
+ taskId = OpenApiUtil.getEncodeParam(taskId);
12762
+ let req = new $OpenApi.OpenApiRequest({
12763
+ headers: headers,
12764
+ });
12765
+ let params = new $OpenApi.Params({
12766
+ action: "ResumeTask",
12767
+ version: "2015-12-15",
12768
+ protocol: "HTTPS",
12769
+ pathname: `/tasks/${taskId}/resume`,
12770
+ method: "POST",
12771
+ authType: "AK",
12772
+ style: "ROA",
12773
+ reqBodyType: "json",
12774
+ bodyType: "none",
12775
+ });
12776
+ return $tea.cast<ResumeTaskResponse>(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
12777
+ }
12778
+
11606
12779
  async resumeUpgradeCluster(ClusterId: string): Promise<ResumeUpgradeClusterResponse> {
11607
12780
  let runtime = new $Util.RuntimeOptions({ });
11608
12781
  let headers : {[key: string ]: string} = { };