@alicloud/cs20151215 3.0.12 → 3.0.15

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
 
@@ -375,15 +409,18 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
375
409
 
376
410
  export class CreateAutoscalingConfigResponse extends $tea.Model {
377
411
  headers: { [key: string]: string };
412
+ statusCode: number;
378
413
  static names(): { [key: string]: string } {
379
414
  return {
380
415
  headers: 'headers',
416
+ statusCode: 'statusCode',
381
417
  };
382
418
  }
383
419
 
384
420
  static types(): { [key: string]: any } {
385
421
  return {
386
422
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
423
+ statusCode: 'number',
387
424
  };
388
425
  }
389
426
 
@@ -395,6 +432,7 @@ export class CreateAutoscalingConfigResponse extends $tea.Model {
395
432
  export class CreateClusterRequest extends $tea.Model {
396
433
  addons?: Addon[];
397
434
  apiAudiences?: string;
435
+ chargeType?: string;
398
436
  cisEnabled?: boolean;
399
437
  cloudMonitorFlags?: boolean;
400
438
  clusterDomain?: string;
@@ -441,6 +479,8 @@ export class CreateClusterRequest extends $tea.Model {
441
479
  nodePortRange?: string;
442
480
  numOfNodes?: number;
443
481
  osType?: string;
482
+ period?: number;
483
+ periodUnit?: string;
444
484
  platform?: string;
445
485
  podVswitchIds?: string[];
446
486
  profile?: string;
@@ -481,6 +521,7 @@ export class CreateClusterRequest extends $tea.Model {
481
521
  return {
482
522
  addons: 'addons',
483
523
  apiAudiences: 'api_audiences',
524
+ chargeType: 'charge_type',
484
525
  cisEnabled: 'cis_enabled',
485
526
  cloudMonitorFlags: 'cloud_monitor_flags',
486
527
  clusterDomain: 'cluster_domain',
@@ -527,6 +568,8 @@ export class CreateClusterRequest extends $tea.Model {
527
568
  nodePortRange: 'node_port_range',
528
569
  numOfNodes: 'num_of_nodes',
529
570
  osType: 'os_type',
571
+ period: 'period',
572
+ periodUnit: 'period_unit',
530
573
  platform: 'platform',
531
574
  podVswitchIds: 'pod_vswitch_ids',
532
575
  profile: 'profile',
@@ -570,6 +613,7 @@ export class CreateClusterRequest extends $tea.Model {
570
613
  return {
571
614
  addons: { 'type': 'array', 'itemType': Addon },
572
615
  apiAudiences: 'string',
616
+ chargeType: 'string',
573
617
  cisEnabled: 'boolean',
574
618
  cloudMonitorFlags: 'boolean',
575
619
  clusterDomain: 'string',
@@ -616,6 +660,8 @@ export class CreateClusterRequest extends $tea.Model {
616
660
  nodePortRange: 'string',
617
661
  numOfNodes: 'number',
618
662
  osType: 'string',
663
+ period: 'number',
664
+ periodUnit: 'string',
619
665
  platform: 'string',
620
666
  podVswitchIds: { 'type': 'array', 'itemType': 'string' },
621
667
  profile: 'string',
@@ -687,10 +733,12 @@ export class CreateClusterResponseBody extends $tea.Model {
687
733
 
688
734
  export class CreateClusterResponse extends $tea.Model {
689
735
  headers: { [key: string]: string };
736
+ statusCode: number;
690
737
  body: CreateClusterResponseBody;
691
738
  static names(): { [key: string]: string } {
692
739
  return {
693
740
  headers: 'headers',
741
+ statusCode: 'statusCode',
694
742
  body: 'body',
695
743
  };
696
744
  }
@@ -698,6 +746,7 @@ export class CreateClusterResponse extends $tea.Model {
698
746
  static types(): { [key: string]: any } {
699
747
  return {
700
748
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
749
+ statusCode: 'number',
701
750
  body: CreateClusterResponseBody,
702
751
  };
703
752
  }
@@ -774,10 +823,12 @@ export class CreateClusterNodePoolResponseBody extends $tea.Model {
774
823
 
775
824
  export class CreateClusterNodePoolResponse extends $tea.Model {
776
825
  headers: { [key: string]: string };
826
+ statusCode: number;
777
827
  body: CreateClusterNodePoolResponseBody;
778
828
  static names(): { [key: string]: string } {
779
829
  return {
780
830
  headers: 'headers',
831
+ statusCode: 'statusCode',
781
832
  body: 'body',
782
833
  };
783
834
  }
@@ -785,6 +836,7 @@ export class CreateClusterNodePoolResponse extends $tea.Model {
785
836
  static types(): { [key: string]: any } {
786
837
  return {
787
838
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
839
+ statusCode: 'number',
788
840
  body: CreateClusterNodePoolResponseBody,
789
841
  };
790
842
  }
@@ -843,10 +895,12 @@ export class CreateEdgeMachineResponseBody extends $tea.Model {
843
895
 
844
896
  export class CreateEdgeMachineResponse extends $tea.Model {
845
897
  headers: { [key: string]: string };
898
+ statusCode: number;
846
899
  body: CreateEdgeMachineResponseBody;
847
900
  static names(): { [key: string]: string } {
848
901
  return {
849
902
  headers: 'headers',
903
+ statusCode: 'statusCode',
850
904
  body: 'body',
851
905
  };
852
906
  }
@@ -854,6 +908,7 @@ export class CreateEdgeMachineResponse extends $tea.Model {
854
908
  static types(): { [key: string]: any } {
855
909
  return {
856
910
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
911
+ statusCode: 'number',
857
912
  body: CreateEdgeMachineResponseBody,
858
913
  };
859
914
  }
@@ -924,10 +979,12 @@ export class CreateKubernetesTriggerResponseBody extends $tea.Model {
924
979
 
925
980
  export class CreateKubernetesTriggerResponse extends $tea.Model {
926
981
  headers: { [key: string]: string };
982
+ statusCode: number;
927
983
  body: CreateKubernetesTriggerResponseBody;
928
984
  static names(): { [key: string]: string } {
929
985
  return {
930
986
  headers: 'headers',
987
+ statusCode: 'statusCode',
931
988
  body: 'body',
932
989
  };
933
990
  }
@@ -935,6 +992,7 @@ export class CreateKubernetesTriggerResponse extends $tea.Model {
935
992
  static types(): { [key: string]: any } {
936
993
  return {
937
994
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
995
+ statusCode: 'number',
938
996
  body: CreateKubernetesTriggerResponseBody,
939
997
  };
940
998
  }
@@ -996,10 +1054,12 @@ export class CreateTemplateResponseBody extends $tea.Model {
996
1054
 
997
1055
  export class CreateTemplateResponse extends $tea.Model {
998
1056
  headers: { [key: string]: string };
1057
+ statusCode: number;
999
1058
  body: CreateTemplateResponseBody;
1000
1059
  static names(): { [key: string]: string } {
1001
1060
  return {
1002
1061
  headers: 'headers',
1062
+ statusCode: 'statusCode',
1003
1063
  body: 'body',
1004
1064
  };
1005
1065
  }
@@ -1007,6 +1067,7 @@ export class CreateTemplateResponse extends $tea.Model {
1007
1067
  static types(): { [key: string]: any } {
1008
1068
  return {
1009
1069
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1070
+ statusCode: 'number',
1010
1071
  body: CreateTemplateResponseBody,
1011
1072
  };
1012
1073
  }
@@ -1077,10 +1138,12 @@ export class CreateTriggerResponseBody extends $tea.Model {
1077
1138
 
1078
1139
  export class CreateTriggerResponse extends $tea.Model {
1079
1140
  headers: { [key: string]: string };
1141
+ statusCode: number;
1080
1142
  body: CreateTriggerResponseBody;
1081
1143
  static names(): { [key: string]: string } {
1082
1144
  return {
1083
1145
  headers: 'headers',
1146
+ statusCode: 'statusCode',
1084
1147
  body: 'body',
1085
1148
  };
1086
1149
  }
@@ -1088,6 +1151,7 @@ export class CreateTriggerResponse extends $tea.Model {
1088
1151
  static types(): { [key: string]: any } {
1089
1152
  return {
1090
1153
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1154
+ statusCode: 'number',
1091
1155
  body: CreateTriggerResponseBody,
1092
1156
  };
1093
1157
  }
@@ -1099,15 +1163,18 @@ export class CreateTriggerResponse extends $tea.Model {
1099
1163
 
1100
1164
  export class DeleteAlertContactResponse extends $tea.Model {
1101
1165
  headers: { [key: string]: string };
1166
+ statusCode: number;
1102
1167
  static names(): { [key: string]: string } {
1103
1168
  return {
1104
1169
  headers: 'headers',
1170
+ statusCode: 'statusCode',
1105
1171
  };
1106
1172
  }
1107
1173
 
1108
1174
  static types(): { [key: string]: any } {
1109
1175
  return {
1110
1176
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1177
+ statusCode: 'number',
1111
1178
  };
1112
1179
  }
1113
1180
 
@@ -1118,15 +1185,18 @@ export class DeleteAlertContactResponse extends $tea.Model {
1118
1185
 
1119
1186
  export class DeleteAlertContactGroupResponse extends $tea.Model {
1120
1187
  headers: { [key: string]: string };
1188
+ statusCode: number;
1121
1189
  static names(): { [key: string]: string } {
1122
1190
  return {
1123
1191
  headers: 'headers',
1192
+ statusCode: 'statusCode',
1124
1193
  };
1125
1194
  }
1126
1195
 
1127
1196
  static types(): { [key: string]: any } {
1128
1197
  return {
1129
1198
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1199
+ statusCode: 'number',
1130
1200
  };
1131
1201
  }
1132
1202
 
@@ -1187,15 +1257,18 @@ export class DeleteClusterShrinkRequest extends $tea.Model {
1187
1257
 
1188
1258
  export class DeleteClusterResponse extends $tea.Model {
1189
1259
  headers: { [key: string]: string };
1260
+ statusCode: number;
1190
1261
  static names(): { [key: string]: string } {
1191
1262
  return {
1192
1263
  headers: 'headers',
1264
+ statusCode: 'statusCode',
1193
1265
  };
1194
1266
  }
1195
1267
 
1196
1268
  static types(): { [key: string]: any } {
1197
1269
  return {
1198
1270
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1271
+ statusCode: 'number',
1199
1272
  };
1200
1273
  }
1201
1274
 
@@ -1244,10 +1317,12 @@ export class DeleteClusterNodepoolResponseBody extends $tea.Model {
1244
1317
 
1245
1318
  export class DeleteClusterNodepoolResponse extends $tea.Model {
1246
1319
  headers: { [key: string]: string };
1320
+ statusCode: number;
1247
1321
  body: DeleteClusterNodepoolResponseBody;
1248
1322
  static names(): { [key: string]: string } {
1249
1323
  return {
1250
1324
  headers: 'headers',
1325
+ statusCode: 'statusCode',
1251
1326
  body: 'body',
1252
1327
  };
1253
1328
  }
@@ -1255,6 +1330,7 @@ export class DeleteClusterNodepoolResponse extends $tea.Model {
1255
1330
  static types(): { [key: string]: any } {
1256
1331
  return {
1257
1332
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1333
+ statusCode: 'number',
1258
1334
  body: DeleteClusterNodepoolResponseBody,
1259
1335
  };
1260
1336
  }
@@ -1316,10 +1392,12 @@ export class DeleteClusterNodesResponseBody extends $tea.Model {
1316
1392
 
1317
1393
  export class DeleteClusterNodesResponse extends $tea.Model {
1318
1394
  headers: { [key: string]: string };
1395
+ statusCode: number;
1319
1396
  body: DeleteClusterNodesResponseBody;
1320
1397
  static names(): { [key: string]: string } {
1321
1398
  return {
1322
1399
  headers: 'headers',
1400
+ statusCode: 'statusCode',
1323
1401
  body: 'body',
1324
1402
  };
1325
1403
  }
@@ -1327,6 +1405,7 @@ export class DeleteClusterNodesResponse extends $tea.Model {
1327
1405
  static types(): { [key: string]: any } {
1328
1406
  return {
1329
1407
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1408
+ statusCode: 'number',
1330
1409
  body: DeleteClusterNodesResponseBody,
1331
1410
  };
1332
1411
  }
@@ -1357,15 +1436,18 @@ export class DeleteEdgeMachineRequest extends $tea.Model {
1357
1436
 
1358
1437
  export class DeleteEdgeMachineResponse extends $tea.Model {
1359
1438
  headers: { [key: string]: string };
1439
+ statusCode: number;
1360
1440
  static names(): { [key: string]: string } {
1361
1441
  return {
1362
1442
  headers: 'headers',
1443
+ statusCode: 'statusCode',
1363
1444
  };
1364
1445
  }
1365
1446
 
1366
1447
  static types(): { [key: string]: any } {
1367
1448
  return {
1368
1449
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1450
+ statusCode: 'number',
1369
1451
  };
1370
1452
  }
1371
1453
 
@@ -1376,15 +1458,18 @@ export class DeleteEdgeMachineResponse extends $tea.Model {
1376
1458
 
1377
1459
  export class DeleteKubernetesTriggerResponse extends $tea.Model {
1378
1460
  headers: { [key: string]: string };
1461
+ statusCode: number;
1379
1462
  static names(): { [key: string]: string } {
1380
1463
  return {
1381
1464
  headers: 'headers',
1465
+ statusCode: 'statusCode',
1382
1466
  };
1383
1467
  }
1384
1468
 
1385
1469
  static types(): { [key: string]: any } {
1386
1470
  return {
1387
1471
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1472
+ statusCode: 'number',
1388
1473
  };
1389
1474
  }
1390
1475
 
@@ -1433,10 +1518,12 @@ export class DeletePolicyInstanceResponseBody extends $tea.Model {
1433
1518
 
1434
1519
  export class DeletePolicyInstanceResponse extends $tea.Model {
1435
1520
  headers: { [key: string]: string };
1521
+ statusCode: number;
1436
1522
  body: DeletePolicyInstanceResponseBody;
1437
1523
  static names(): { [key: string]: string } {
1438
1524
  return {
1439
1525
  headers: 'headers',
1526
+ statusCode: 'statusCode',
1440
1527
  body: 'body',
1441
1528
  };
1442
1529
  }
@@ -1444,6 +1531,7 @@ export class DeletePolicyInstanceResponse extends $tea.Model {
1444
1531
  static types(): { [key: string]: any } {
1445
1532
  return {
1446
1533
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1534
+ statusCode: 'number',
1447
1535
  body: DeletePolicyInstanceResponseBody,
1448
1536
  };
1449
1537
  }
@@ -1455,15 +1543,18 @@ export class DeletePolicyInstanceResponse extends $tea.Model {
1455
1543
 
1456
1544
  export class DeleteTemplateResponse extends $tea.Model {
1457
1545
  headers: { [key: string]: string };
1546
+ statusCode: number;
1458
1547
  static names(): { [key: string]: string } {
1459
1548
  return {
1460
1549
  headers: 'headers',
1550
+ statusCode: 'statusCode',
1461
1551
  };
1462
1552
  }
1463
1553
 
1464
1554
  static types(): { [key: string]: any } {
1465
1555
  return {
1466
1556
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1557
+ statusCode: 'number',
1467
1558
  };
1468
1559
  }
1469
1560
 
@@ -1474,15 +1565,18 @@ export class DeleteTemplateResponse extends $tea.Model {
1474
1565
 
1475
1566
  export class DeleteTriggerResponse extends $tea.Model {
1476
1567
  headers: { [key: string]: string };
1568
+ statusCode: number;
1477
1569
  static names(): { [key: string]: string } {
1478
1570
  return {
1479
1571
  headers: 'headers',
1572
+ statusCode: 'statusCode',
1480
1573
  };
1481
1574
  }
1482
1575
 
1483
1576
  static types(): { [key: string]: any } {
1484
1577
  return {
1485
1578
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1579
+ statusCode: 'number',
1486
1580
  };
1487
1581
  }
1488
1582
 
@@ -1537,10 +1631,12 @@ export class DeployPolicyInstanceResponseBody extends $tea.Model {
1537
1631
 
1538
1632
  export class DeployPolicyInstanceResponse extends $tea.Model {
1539
1633
  headers: { [key: string]: string };
1634
+ statusCode: number;
1540
1635
  body: DeployPolicyInstanceResponseBody;
1541
1636
  static names(): { [key: string]: string } {
1542
1637
  return {
1543
1638
  headers: 'headers',
1639
+ statusCode: 'statusCode',
1544
1640
  body: 'body',
1545
1641
  };
1546
1642
  }
@@ -1548,6 +1644,7 @@ export class DeployPolicyInstanceResponse extends $tea.Model {
1548
1644
  static types(): { [key: string]: any } {
1549
1645
  return {
1550
1646
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1647
+ statusCode: 'number',
1551
1648
  body: DeployPolicyInstanceResponseBody,
1552
1649
  };
1553
1650
  }
@@ -1608,10 +1705,12 @@ export class DescirbeWorkflowResponseBody extends $tea.Model {
1608
1705
 
1609
1706
  export class DescirbeWorkflowResponse extends $tea.Model {
1610
1707
  headers: { [key: string]: string };
1708
+ statusCode: number;
1611
1709
  body: DescirbeWorkflowResponseBody;
1612
1710
  static names(): { [key: string]: string } {
1613
1711
  return {
1614
1712
  headers: 'headers',
1713
+ statusCode: 'statusCode',
1615
1714
  body: 'body',
1616
1715
  };
1617
1716
  }
@@ -1619,6 +1718,7 @@ export class DescirbeWorkflowResponse extends $tea.Model {
1619
1718
  static types(): { [key: string]: any } {
1620
1719
  return {
1621
1720
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1721
+ statusCode: 'number',
1622
1722
  body: DescirbeWorkflowResponseBody,
1623
1723
  };
1624
1724
  }
@@ -1674,10 +1774,12 @@ export class DescribeAddonsResponseBody extends $tea.Model {
1674
1774
 
1675
1775
  export class DescribeAddonsResponse extends $tea.Model {
1676
1776
  headers: { [key: string]: string };
1777
+ statusCode: number;
1677
1778
  body: DescribeAddonsResponseBody;
1678
1779
  static names(): { [key: string]: string } {
1679
1780
  return {
1680
1781
  headers: 'headers',
1782
+ statusCode: 'statusCode',
1681
1783
  body: 'body',
1682
1784
  };
1683
1785
  }
@@ -1685,6 +1787,7 @@ export class DescribeAddonsResponse extends $tea.Model {
1685
1787
  static types(): { [key: string]: any } {
1686
1788
  return {
1687
1789
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1790
+ statusCode: 'number',
1688
1791
  body: DescribeAddonsResponseBody,
1689
1792
  };
1690
1793
  }
@@ -1721,10 +1824,12 @@ export class DescribeClusterAddonMetadataResponseBody extends $tea.Model {
1721
1824
 
1722
1825
  export class DescribeClusterAddonMetadataResponse extends $tea.Model {
1723
1826
  headers: { [key: string]: string };
1827
+ statusCode: number;
1724
1828
  body: DescribeClusterAddonMetadataResponseBody;
1725
1829
  static names(): { [key: string]: string } {
1726
1830
  return {
1727
1831
  headers: 'headers',
1832
+ statusCode: 'statusCode',
1728
1833
  body: 'body',
1729
1834
  };
1730
1835
  }
@@ -1732,6 +1837,7 @@ export class DescribeClusterAddonMetadataResponse extends $tea.Model {
1732
1837
  static types(): { [key: string]: any } {
1733
1838
  return {
1734
1839
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1840
+ statusCode: 'number',
1735
1841
  body: DescribeClusterAddonMetadataResponseBody,
1736
1842
  };
1737
1843
  }
@@ -1743,10 +1849,12 @@ export class DescribeClusterAddonMetadataResponse extends $tea.Model {
1743
1849
 
1744
1850
  export class DescribeClusterAddonUpgradeStatusResponse extends $tea.Model {
1745
1851
  headers: { [key: string]: string };
1852
+ statusCode: number;
1746
1853
  body: {[key: string]: any};
1747
1854
  static names(): { [key: string]: string } {
1748
1855
  return {
1749
1856
  headers: 'headers',
1857
+ statusCode: 'statusCode',
1750
1858
  body: 'body',
1751
1859
  };
1752
1860
  }
@@ -1754,6 +1862,7 @@ export class DescribeClusterAddonUpgradeStatusResponse extends $tea.Model {
1754
1862
  static types(): { [key: string]: any } {
1755
1863
  return {
1756
1864
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1865
+ statusCode: 'number',
1757
1866
  body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1758
1867
  };
1759
1868
  }
@@ -1803,10 +1912,12 @@ export class DescribeClusterAddonsUpgradeStatusShrinkRequest extends $tea.Model
1803
1912
 
1804
1913
  export class DescribeClusterAddonsUpgradeStatusResponse extends $tea.Model {
1805
1914
  headers: { [key: string]: string };
1915
+ statusCode: number;
1806
1916
  body: {[key: string]: any};
1807
1917
  static names(): { [key: string]: string } {
1808
1918
  return {
1809
1919
  headers: 'headers',
1920
+ statusCode: 'statusCode',
1810
1921
  body: 'body',
1811
1922
  };
1812
1923
  }
@@ -1814,6 +1925,7 @@ export class DescribeClusterAddonsUpgradeStatusResponse extends $tea.Model {
1814
1925
  static types(): { [key: string]: any } {
1815
1926
  return {
1816
1927
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1928
+ statusCode: 'number',
1817
1929
  body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1818
1930
  };
1819
1931
  }
@@ -1825,10 +1937,12 @@ export class DescribeClusterAddonsUpgradeStatusResponse extends $tea.Model {
1825
1937
 
1826
1938
  export class DescribeClusterAddonsVersionResponse extends $tea.Model {
1827
1939
  headers: { [key: string]: string };
1940
+ statusCode: number;
1828
1941
  body: {[key: string]: any};
1829
1942
  static names(): { [key: string]: string } {
1830
1943
  return {
1831
1944
  headers: 'headers',
1945
+ statusCode: 'statusCode',
1832
1946
  body: 'body',
1833
1947
  };
1834
1948
  }
@@ -1836,6 +1950,7 @@ export class DescribeClusterAddonsVersionResponse extends $tea.Model {
1836
1950
  static types(): { [key: string]: any } {
1837
1951
  return {
1838
1952
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1953
+ statusCode: 'number',
1839
1954
  body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1840
1955
  };
1841
1956
  }
@@ -1881,10 +1996,12 @@ export class DescribeClusterAttachScriptsRequest extends $tea.Model {
1881
1996
 
1882
1997
  export class DescribeClusterAttachScriptsResponse extends $tea.Model {
1883
1998
  headers: { [key: string]: string };
1999
+ statusCode: number;
1884
2000
  body: string;
1885
2001
  static names(): { [key: string]: string } {
1886
2002
  return {
1887
2003
  headers: 'headers',
2004
+ statusCode: 'statusCode',
1888
2005
  body: 'body',
1889
2006
  };
1890
2007
  }
@@ -1892,6 +2009,7 @@ export class DescribeClusterAttachScriptsResponse extends $tea.Model {
1892
2009
  static types(): { [key: string]: any } {
1893
2010
  return {
1894
2011
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2012
+ statusCode: 'number',
1895
2013
  body: 'string',
1896
2014
  };
1897
2015
  }
@@ -2006,10 +2124,12 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
2006
2124
 
2007
2125
  export class DescribeClusterDetailResponse extends $tea.Model {
2008
2126
  headers: { [key: string]: string };
2127
+ statusCode: number;
2009
2128
  body: DescribeClusterDetailResponseBody;
2010
2129
  static names(): { [key: string]: string } {
2011
2130
  return {
2012
2131
  headers: 'headers',
2132
+ statusCode: 'statusCode',
2013
2133
  body: 'body',
2014
2134
  };
2015
2135
  }
@@ -2017,6 +2137,7 @@ export class DescribeClusterDetailResponse extends $tea.Model {
2017
2137
  static types(): { [key: string]: any } {
2018
2138
  return {
2019
2139
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2140
+ statusCode: 'number',
2020
2141
  body: DescribeClusterDetailResponseBody,
2021
2142
  };
2022
2143
  }
@@ -2026,12 +2147,86 @@ export class DescribeClusterDetailResponse extends $tea.Model {
2026
2147
  }
2027
2148
  }
2028
2149
 
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 {
2198
+ headers: { [key: string]: string };
2199
+ statusCode: number;
2200
+ body: DescribeClusterEventsResponseBody;
2201
+ static names(): { [key: string]: string } {
2202
+ return {
2203
+ headers: 'headers',
2204
+ statusCode: 'statusCode',
2205
+ body: 'body',
2206
+ };
2207
+ }
2208
+
2209
+ static types(): { [key: string]: any } {
2210
+ return {
2211
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2212
+ statusCode: 'number',
2213
+ body: DescribeClusterEventsResponseBody,
2214
+ };
2215
+ }
2216
+
2217
+ constructor(map?: { [key: string]: any }) {
2218
+ super(map);
2219
+ }
2220
+ }
2221
+
2029
2222
  export class DescribeClusterLogsResponse extends $tea.Model {
2030
2223
  headers: { [key: string]: string };
2224
+ statusCode: number;
2031
2225
  body: DescribeClusterLogsResponseBody[];
2032
2226
  static names(): { [key: string]: string } {
2033
2227
  return {
2034
2228
  headers: 'headers',
2229
+ statusCode: 'statusCode',
2035
2230
  body: 'body',
2036
2231
  };
2037
2232
  }
@@ -2039,6 +2234,7 @@ export class DescribeClusterLogsResponse extends $tea.Model {
2039
2234
  static types(): { [key: string]: any } {
2040
2235
  return {
2041
2236
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2237
+ statusCode: 'number',
2042
2238
  body: { 'type': 'array', 'itemType': DescribeClusterLogsResponseBody },
2043
2239
  };
2044
2240
  }
@@ -2096,10 +2292,12 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
2096
2292
 
2097
2293
  export class DescribeClusterNodePoolDetailResponse extends $tea.Model {
2098
2294
  headers: { [key: string]: string };
2295
+ statusCode: number;
2099
2296
  body: DescribeClusterNodePoolDetailResponseBody;
2100
2297
  static names(): { [key: string]: string } {
2101
2298
  return {
2102
2299
  headers: 'headers',
2300
+ statusCode: 'statusCode',
2103
2301
  body: 'body',
2104
2302
  };
2105
2303
  }
@@ -2107,6 +2305,7 @@ export class DescribeClusterNodePoolDetailResponse extends $tea.Model {
2107
2305
  static types(): { [key: string]: any } {
2108
2306
  return {
2109
2307
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2308
+ statusCode: 'number',
2110
2309
  body: DescribeClusterNodePoolDetailResponseBody,
2111
2310
  };
2112
2311
  }
@@ -2137,10 +2336,12 @@ export class DescribeClusterNodePoolsResponseBody extends $tea.Model {
2137
2336
 
2138
2337
  export class DescribeClusterNodePoolsResponse extends $tea.Model {
2139
2338
  headers: { [key: string]: string };
2339
+ statusCode: number;
2140
2340
  body: DescribeClusterNodePoolsResponseBody;
2141
2341
  static names(): { [key: string]: string } {
2142
2342
  return {
2143
2343
  headers: 'headers',
2344
+ statusCode: 'statusCode',
2144
2345
  body: 'body',
2145
2346
  };
2146
2347
  }
@@ -2148,6 +2349,7 @@ export class DescribeClusterNodePoolsResponse extends $tea.Model {
2148
2349
  static types(): { [key: string]: any } {
2149
2350
  return {
2150
2351
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2352
+ statusCode: 'number',
2151
2353
  body: DescribeClusterNodePoolsResponseBody,
2152
2354
  };
2153
2355
  }
@@ -2212,10 +2414,12 @@ export class DescribeClusterNodesResponseBody extends $tea.Model {
2212
2414
 
2213
2415
  export class DescribeClusterNodesResponse extends $tea.Model {
2214
2416
  headers: { [key: string]: string };
2417
+ statusCode: number;
2215
2418
  body: DescribeClusterNodesResponseBody;
2216
2419
  static names(): { [key: string]: string } {
2217
2420
  return {
2218
2421
  headers: 'headers',
2422
+ statusCode: 'statusCode',
2219
2423
  body: 'body',
2220
2424
  };
2221
2425
  }
@@ -2223,6 +2427,7 @@ export class DescribeClusterNodesResponse extends $tea.Model {
2223
2427
  static types(): { [key: string]: any } {
2224
2428
  return {
2225
2429
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2430
+ statusCode: 'number',
2226
2431
  body: DescribeClusterNodesResponseBody,
2227
2432
  };
2228
2433
  }
@@ -2234,10 +2439,12 @@ export class DescribeClusterNodesResponse extends $tea.Model {
2234
2439
 
2235
2440
  export class DescribeClusterResourcesResponse extends $tea.Model {
2236
2441
  headers: { [key: string]: string };
2442
+ statusCode: number;
2237
2443
  body: DescribeClusterResourcesResponseBody[];
2238
2444
  static names(): { [key: string]: string } {
2239
2445
  return {
2240
2446
  headers: 'headers',
2447
+ statusCode: 'statusCode',
2241
2448
  body: 'body',
2242
2449
  };
2243
2450
  }
@@ -2245,6 +2452,7 @@ export class DescribeClusterResourcesResponse extends $tea.Model {
2245
2452
  static types(): { [key: string]: any } {
2246
2453
  return {
2247
2454
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2455
+ statusCode: 'number',
2248
2456
  body: { 'type': 'array', 'itemType': DescribeClusterResourcesResponseBody },
2249
2457
  };
2250
2458
  }
@@ -2254,6 +2462,56 @@ export class DescribeClusterResourcesResponse extends $tea.Model {
2254
2462
  }
2255
2463
  }
2256
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
+
2257
2515
  export class DescribeClusterUserKubeconfigRequest extends $tea.Model {
2258
2516
  privateIpAddress?: boolean;
2259
2517
  temporaryDurationMinutes?: number;
@@ -2300,10 +2558,12 @@ export class DescribeClusterUserKubeconfigResponseBody extends $tea.Model {
2300
2558
 
2301
2559
  export class DescribeClusterUserKubeconfigResponse extends $tea.Model {
2302
2560
  headers: { [key: string]: string };
2561
+ statusCode: number;
2303
2562
  body: DescribeClusterUserKubeconfigResponseBody;
2304
2563
  static names(): { [key: string]: string } {
2305
2564
  return {
2306
2565
  headers: 'headers',
2566
+ statusCode: 'statusCode',
2307
2567
  body: 'body',
2308
2568
  };
2309
2569
  }
@@ -2311,6 +2571,7 @@ export class DescribeClusterUserKubeconfigResponse extends $tea.Model {
2311
2571
  static types(): { [key: string]: any } {
2312
2572
  return {
2313
2573
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2574
+ statusCode: 'number',
2314
2575
  body: DescribeClusterUserKubeconfigResponseBody,
2315
2576
  };
2316
2577
  }
@@ -2360,10 +2621,12 @@ export class DescribeClusterV2UserKubeconfigResponseBody extends $tea.Model {
2360
2621
 
2361
2622
  export class DescribeClusterV2UserKubeconfigResponse extends $tea.Model {
2362
2623
  headers: { [key: string]: string };
2624
+ statusCode: number;
2363
2625
  body: DescribeClusterV2UserKubeconfigResponseBody;
2364
2626
  static names(): { [key: string]: string } {
2365
2627
  return {
2366
2628
  headers: 'headers',
2629
+ statusCode: 'statusCode',
2367
2630
  body: 'body',
2368
2631
  };
2369
2632
  }
@@ -2371,6 +2634,7 @@ export class DescribeClusterV2UserKubeconfigResponse extends $tea.Model {
2371
2634
  static types(): { [key: string]: any } {
2372
2635
  return {
2373
2636
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2637
+ statusCode: 'number',
2374
2638
  body: DescribeClusterV2UserKubeconfigResponseBody,
2375
2639
  };
2376
2640
  }
@@ -2404,10 +2668,12 @@ export class DescribeClustersRequest extends $tea.Model {
2404
2668
 
2405
2669
  export class DescribeClustersResponse extends $tea.Model {
2406
2670
  headers: { [key: string]: string };
2671
+ statusCode: number;
2407
2672
  body: DescribeClustersResponseBody[];
2408
2673
  static names(): { [key: string]: string } {
2409
2674
  return {
2410
2675
  headers: 'headers',
2676
+ statusCode: 'statusCode',
2411
2677
  body: 'body',
2412
2678
  };
2413
2679
  }
@@ -2415,6 +2681,7 @@ export class DescribeClustersResponse extends $tea.Model {
2415
2681
  static types(): { [key: string]: any } {
2416
2682
  return {
2417
2683
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2684
+ statusCode: 'number',
2418
2685
  body: { 'type': 'array', 'itemType': DescribeClustersResponseBody },
2419
2686
  };
2420
2687
  }
@@ -2485,10 +2752,12 @@ export class DescribeClustersV1ResponseBody extends $tea.Model {
2485
2752
 
2486
2753
  export class DescribeClustersV1Response extends $tea.Model {
2487
2754
  headers: { [key: string]: string };
2755
+ statusCode: number;
2488
2756
  body: DescribeClustersV1ResponseBody;
2489
2757
  static names(): { [key: string]: string } {
2490
2758
  return {
2491
2759
  headers: 'headers',
2760
+ statusCode: 'statusCode',
2492
2761
  body: 'body',
2493
2762
  };
2494
2763
  }
@@ -2496,6 +2765,7 @@ export class DescribeClustersV1Response extends $tea.Model {
2496
2765
  static types(): { [key: string]: any } {
2497
2766
  return {
2498
2767
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2768
+ statusCode: 'number',
2499
2769
  body: DescribeClustersV1ResponseBody,
2500
2770
  };
2501
2771
  }
@@ -2538,10 +2808,12 @@ export class DescribeEdgeMachineActiveProcessResponseBody extends $tea.Model {
2538
2808
 
2539
2809
  export class DescribeEdgeMachineActiveProcessResponse extends $tea.Model {
2540
2810
  headers: { [key: string]: string };
2811
+ statusCode: number;
2541
2812
  body: DescribeEdgeMachineActiveProcessResponseBody;
2542
2813
  static names(): { [key: string]: string } {
2543
2814
  return {
2544
2815
  headers: 'headers',
2816
+ statusCode: 'statusCode',
2545
2817
  body: 'body',
2546
2818
  };
2547
2819
  }
@@ -2549,6 +2821,7 @@ export class DescribeEdgeMachineActiveProcessResponse extends $tea.Model {
2549
2821
  static types(): { [key: string]: any } {
2550
2822
  return {
2551
2823
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2824
+ statusCode: 'number',
2552
2825
  body: DescribeEdgeMachineActiveProcessResponseBody,
2553
2826
  };
2554
2827
  }
@@ -2579,10 +2852,12 @@ export class DescribeEdgeMachineModelsResponseBody extends $tea.Model {
2579
2852
 
2580
2853
  export class DescribeEdgeMachineModelsResponse extends $tea.Model {
2581
2854
  headers: { [key: string]: string };
2855
+ statusCode: number;
2582
2856
  body: DescribeEdgeMachineModelsResponseBody;
2583
2857
  static names(): { [key: string]: string } {
2584
2858
  return {
2585
2859
  headers: 'headers',
2860
+ statusCode: 'statusCode',
2586
2861
  body: 'body',
2587
2862
  };
2588
2863
  }
@@ -2590,6 +2865,7 @@ export class DescribeEdgeMachineModelsResponse extends $tea.Model {
2590
2865
  static types(): { [key: string]: any } {
2591
2866
  return {
2592
2867
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2868
+ statusCode: 'number',
2593
2869
  body: DescribeEdgeMachineModelsResponseBody,
2594
2870
  };
2595
2871
  }
@@ -2638,10 +2914,12 @@ export class DescribeEdgeMachineTunnelConfigDetailResponseBody extends $tea.Mode
2638
2914
 
2639
2915
  export class DescribeEdgeMachineTunnelConfigDetailResponse extends $tea.Model {
2640
2916
  headers: { [key: string]: string };
2917
+ statusCode: number;
2641
2918
  body: DescribeEdgeMachineTunnelConfigDetailResponseBody;
2642
2919
  static names(): { [key: string]: string } {
2643
2920
  return {
2644
2921
  headers: 'headers',
2922
+ statusCode: 'statusCode',
2645
2923
  body: 'body',
2646
2924
  };
2647
2925
  }
@@ -2649,6 +2927,7 @@ export class DescribeEdgeMachineTunnelConfigDetailResponse extends $tea.Model {
2649
2927
  static types(): { [key: string]: any } {
2650
2928
  return {
2651
2929
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2930
+ statusCode: 'number',
2652
2931
  body: DescribeEdgeMachineTunnelConfigDetailResponseBody,
2653
2932
  };
2654
2933
  }
@@ -2716,10 +2995,12 @@ export class DescribeEdgeMachinesResponseBody extends $tea.Model {
2716
2995
 
2717
2996
  export class DescribeEdgeMachinesResponse extends $tea.Model {
2718
2997
  headers: { [key: string]: string };
2998
+ statusCode: number;
2719
2999
  body: DescribeEdgeMachinesResponseBody;
2720
3000
  static names(): { [key: string]: string } {
2721
3001
  return {
2722
3002
  headers: 'headers',
3003
+ statusCode: 'statusCode',
2723
3004
  body: 'body',
2724
3005
  };
2725
3006
  }
@@ -2727,6 +3008,7 @@ export class DescribeEdgeMachinesResponse extends $tea.Model {
2727
3008
  static types(): { [key: string]: any } {
2728
3009
  return {
2729
3010
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3011
+ statusCode: 'number',
2730
3012
  body: DescribeEdgeMachinesResponseBody,
2731
3013
  };
2732
3014
  }
@@ -2788,10 +3070,12 @@ export class DescribeEventsResponseBody extends $tea.Model {
2788
3070
 
2789
3071
  export class DescribeEventsResponse extends $tea.Model {
2790
3072
  headers: { [key: string]: string };
3073
+ statusCode: number;
2791
3074
  body: DescribeEventsResponseBody;
2792
3075
  static names(): { [key: string]: string } {
2793
3076
  return {
2794
3077
  headers: 'headers',
3078
+ statusCode: 'statusCode',
2795
3079
  body: 'body',
2796
3080
  };
2797
3081
  }
@@ -2799,6 +3083,7 @@ export class DescribeEventsResponse extends $tea.Model {
2799
3083
  static types(): { [key: string]: any } {
2800
3084
  return {
2801
3085
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3086
+ statusCode: 'number',
2802
3087
  body: DescribeEventsResponseBody,
2803
3088
  };
2804
3089
  }
@@ -2848,10 +3133,12 @@ export class DescribeExternalAgentResponseBody extends $tea.Model {
2848
3133
 
2849
3134
  export class DescribeExternalAgentResponse extends $tea.Model {
2850
3135
  headers: { [key: string]: string };
3136
+ statusCode: number;
2851
3137
  body: DescribeExternalAgentResponseBody;
2852
3138
  static names(): { [key: string]: string } {
2853
3139
  return {
2854
3140
  headers: 'headers',
3141
+ statusCode: 'statusCode',
2855
3142
  body: 'body',
2856
3143
  };
2857
3144
  }
@@ -2859,6 +3146,7 @@ export class DescribeExternalAgentResponse extends $tea.Model {
2859
3146
  static types(): { [key: string]: any } {
2860
3147
  return {
2861
3148
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3149
+ statusCode: 'number',
2862
3150
  body: DescribeExternalAgentResponseBody,
2863
3151
  };
2864
3152
  }
@@ -2901,10 +3189,12 @@ export class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
2901
3189
 
2902
3190
  export class DescribeKubernetesVersionMetadataResponse extends $tea.Model {
2903
3191
  headers: { [key: string]: string };
3192
+ statusCode: number;
2904
3193
  body: DescribeKubernetesVersionMetadataResponseBody[];
2905
3194
  static names(): { [key: string]: string } {
2906
3195
  return {
2907
3196
  headers: 'headers',
3197
+ statusCode: 'statusCode',
2908
3198
  body: 'body',
2909
3199
  };
2910
3200
  }
@@ -2912,6 +3202,7 @@ export class DescribeKubernetesVersionMetadataResponse extends $tea.Model {
2912
3202
  static types(): { [key: string]: any } {
2913
3203
  return {
2914
3204
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3205
+ statusCode: 'number',
2915
3206
  body: { 'type': 'array', 'itemType': DescribeKubernetesVersionMetadataResponseBody },
2916
3207
  };
2917
3208
  }
@@ -2921,12 +3212,58 @@ export class DescribeKubernetesVersionMetadataResponse extends $tea.Model {
2921
3212
  }
2922
3213
  }
2923
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
+
2924
3259
  export class DescribePoliciesResponse extends $tea.Model {
2925
3260
  headers: { [key: string]: string };
3261
+ statusCode: number;
2926
3262
  body: {[key: string]: any};
2927
3263
  static names(): { [key: string]: string } {
2928
3264
  return {
2929
3265
  headers: 'headers',
3266
+ statusCode: 'statusCode',
2930
3267
  body: 'body',
2931
3268
  };
2932
3269
  }
@@ -2934,6 +3271,7 @@ export class DescribePoliciesResponse extends $tea.Model {
2934
3271
  static types(): { [key: string]: any } {
2935
3272
  return {
2936
3273
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3274
+ statusCode: 'number',
2937
3275
  body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2938
3276
  };
2939
3277
  }
@@ -2985,10 +3323,12 @@ export class DescribePolicyDetailsResponseBody extends $tea.Model {
2985
3323
 
2986
3324
  export class DescribePolicyDetailsResponse extends $tea.Model {
2987
3325
  headers: { [key: string]: string };
3326
+ statusCode: number;
2988
3327
  body: DescribePolicyDetailsResponseBody;
2989
3328
  static names(): { [key: string]: string } {
2990
3329
  return {
2991
3330
  headers: 'headers',
3331
+ statusCode: 'statusCode',
2992
3332
  body: 'body',
2993
3333
  };
2994
3334
  }
@@ -2996,6 +3336,7 @@ export class DescribePolicyDetailsResponse extends $tea.Model {
2996
3336
  static types(): { [key: string]: any } {
2997
3337
  return {
2998
3338
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3339
+ statusCode: 'number',
2999
3340
  body: DescribePolicyDetailsResponseBody,
3000
3341
  };
3001
3342
  }
@@ -3035,10 +3376,12 @@ export class DescribePolicyGovernanceInClusterResponseBody extends $tea.Model {
3035
3376
 
3036
3377
  export class DescribePolicyGovernanceInClusterResponse extends $tea.Model {
3037
3378
  headers: { [key: string]: string };
3379
+ statusCode: number;
3038
3380
  body: DescribePolicyGovernanceInClusterResponseBody;
3039
3381
  static names(): { [key: string]: string } {
3040
3382
  return {
3041
3383
  headers: 'headers',
3384
+ statusCode: 'statusCode',
3042
3385
  body: 'body',
3043
3386
  };
3044
3387
  }
@@ -3046,6 +3389,7 @@ export class DescribePolicyGovernanceInClusterResponse extends $tea.Model {
3046
3389
  static types(): { [key: string]: any } {
3047
3390
  return {
3048
3391
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3392
+ statusCode: 'number',
3049
3393
  body: DescribePolicyGovernanceInClusterResponseBody,
3050
3394
  };
3051
3395
  }
@@ -3079,10 +3423,12 @@ export class DescribePolicyInstancesRequest extends $tea.Model {
3079
3423
 
3080
3424
  export class DescribePolicyInstancesResponse extends $tea.Model {
3081
3425
  headers: { [key: string]: string };
3426
+ statusCode: number;
3082
3427
  body: DescribePolicyInstancesResponseBody[];
3083
3428
  static names(): { [key: string]: string } {
3084
3429
  return {
3085
3430
  headers: 'headers',
3431
+ statusCode: 'statusCode',
3086
3432
  body: 'body',
3087
3433
  };
3088
3434
  }
@@ -3090,6 +3436,7 @@ export class DescribePolicyInstancesResponse extends $tea.Model {
3090
3436
  static types(): { [key: string]: any } {
3091
3437
  return {
3092
3438
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3439
+ statusCode: 'number',
3093
3440
  body: { 'type': 'array', 'itemType': DescribePolicyInstancesResponseBody },
3094
3441
  };
3095
3442
  }
@@ -3123,10 +3470,12 @@ export class DescribePolicyInstancesStatusResponseBody extends $tea.Model {
3123
3470
 
3124
3471
  export class DescribePolicyInstancesStatusResponse extends $tea.Model {
3125
3472
  headers: { [key: string]: string };
3473
+ statusCode: number;
3126
3474
  body: DescribePolicyInstancesStatusResponseBody;
3127
3475
  static names(): { [key: string]: string } {
3128
3476
  return {
3129
3477
  headers: 'headers',
3478
+ statusCode: 'statusCode',
3130
3479
  body: 'body',
3131
3480
  };
3132
3481
  }
@@ -3134,6 +3483,7 @@ export class DescribePolicyInstancesStatusResponse extends $tea.Model {
3134
3483
  static types(): { [key: string]: any } {
3135
3484
  return {
3136
3485
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3486
+ statusCode: 'number',
3137
3487
  body: DescribePolicyInstancesStatusResponseBody,
3138
3488
  };
3139
3489
  }
@@ -3146,7 +3496,13 @@ export class DescribePolicyInstancesStatusResponse extends $tea.Model {
3146
3496
  export class DescribeTaskInfoResponseBody extends $tea.Model {
3147
3497
  clusterId?: string;
3148
3498
  created?: string;
3499
+ currentStage?: string;
3500
+ error?: DescribeTaskInfoResponseBodyError;
3501
+ events?: DescribeTaskInfoResponseBodyEvents[];
3502
+ parameters?: { [key: string]: any };
3503
+ stages?: DescribeTaskInfoResponseBodyStages[];
3149
3504
  state?: string;
3505
+ target?: DescribeTaskInfoResponseBodyTarget;
3150
3506
  taskId?: string;
3151
3507
  taskResult?: DescribeTaskInfoResponseBodyTaskResult[];
3152
3508
  taskType?: string;
@@ -3155,7 +3511,13 @@ export class DescribeTaskInfoResponseBody extends $tea.Model {
3155
3511
  return {
3156
3512
  clusterId: 'cluster_id',
3157
3513
  created: 'created',
3514
+ currentStage: 'current_stage',
3515
+ error: 'error',
3516
+ events: 'events',
3517
+ parameters: 'parameters',
3518
+ stages: 'stages',
3158
3519
  state: 'state',
3520
+ target: 'target',
3159
3521
  taskId: 'task_id',
3160
3522
  taskResult: 'task_result',
3161
3523
  taskType: 'task_type',
@@ -3167,7 +3529,13 @@ export class DescribeTaskInfoResponseBody extends $tea.Model {
3167
3529
  return {
3168
3530
  clusterId: 'string',
3169
3531
  created: 'string',
3532
+ currentStage: 'string',
3533
+ error: DescribeTaskInfoResponseBodyError,
3534
+ events: { 'type': 'array', 'itemType': DescribeTaskInfoResponseBodyEvents },
3535
+ parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
3536
+ stages: { 'type': 'array', 'itemType': DescribeTaskInfoResponseBodyStages },
3170
3537
  state: 'string',
3538
+ target: DescribeTaskInfoResponseBodyTarget,
3171
3539
  taskId: 'string',
3172
3540
  taskResult: { 'type': 'array', 'itemType': DescribeTaskInfoResponseBodyTaskResult },
3173
3541
  taskType: 'string',
@@ -3182,10 +3550,12 @@ export class DescribeTaskInfoResponseBody extends $tea.Model {
3182
3550
 
3183
3551
  export class DescribeTaskInfoResponse extends $tea.Model {
3184
3552
  headers: { [key: string]: string };
3553
+ statusCode: number;
3185
3554
  body: DescribeTaskInfoResponseBody;
3186
3555
  static names(): { [key: string]: string } {
3187
3556
  return {
3188
3557
  headers: 'headers',
3558
+ statusCode: 'statusCode',
3189
3559
  body: 'body',
3190
3560
  };
3191
3561
  }
@@ -3193,6 +3563,7 @@ export class DescribeTaskInfoResponse extends $tea.Model {
3193
3563
  static types(): { [key: string]: any } {
3194
3564
  return {
3195
3565
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3566
+ statusCode: 'number',
3196
3567
  body: DescribeTaskInfoResponseBody,
3197
3568
  };
3198
3569
  }
@@ -3223,10 +3594,12 @@ export class DescribeTemplateAttributeRequest extends $tea.Model {
3223
3594
 
3224
3595
  export class DescribeTemplateAttributeResponse extends $tea.Model {
3225
3596
  headers: { [key: string]: string };
3597
+ statusCode: number;
3226
3598
  body: DescribeTemplateAttributeResponseBody[];
3227
3599
  static names(): { [key: string]: string } {
3228
3600
  return {
3229
3601
  headers: 'headers',
3602
+ statusCode: 'statusCode',
3230
3603
  body: 'body',
3231
3604
  };
3232
3605
  }
@@ -3234,6 +3607,7 @@ export class DescribeTemplateAttributeResponse extends $tea.Model {
3234
3607
  static types(): { [key: string]: any } {
3235
3608
  return {
3236
3609
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3610
+ statusCode: 'number',
3237
3611
  body: { 'type': 'array', 'itemType': DescribeTemplateAttributeResponseBody },
3238
3612
  };
3239
3613
  }
@@ -3292,10 +3666,12 @@ export class DescribeTemplatesResponseBody extends $tea.Model {
3292
3666
 
3293
3667
  export class DescribeTemplatesResponse extends $tea.Model {
3294
3668
  headers: { [key: string]: string };
3669
+ statusCode: number;
3295
3670
  body: DescribeTemplatesResponseBody;
3296
3671
  static names(): { [key: string]: string } {
3297
3672
  return {
3298
3673
  headers: 'headers',
3674
+ statusCode: 'statusCode',
3299
3675
  body: 'body',
3300
3676
  };
3301
3677
  }
@@ -3303,6 +3679,7 @@ export class DescribeTemplatesResponse extends $tea.Model {
3303
3679
  static types(): { [key: string]: any } {
3304
3680
  return {
3305
3681
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3682
+ statusCode: 'number',
3306
3683
  body: DescribeTemplatesResponseBody,
3307
3684
  };
3308
3685
  }
@@ -3342,10 +3719,12 @@ export class DescribeTriggerRequest extends $tea.Model {
3342
3719
 
3343
3720
  export class DescribeTriggerResponse extends $tea.Model {
3344
3721
  headers: { [key: string]: string };
3722
+ statusCode: number;
3345
3723
  body: DescribeTriggerResponseBody[];
3346
3724
  static names(): { [key: string]: string } {
3347
3725
  return {
3348
3726
  headers: 'headers',
3727
+ statusCode: 'statusCode',
3349
3728
  body: 'body',
3350
3729
  };
3351
3730
  }
@@ -3353,6 +3732,7 @@ export class DescribeTriggerResponse extends $tea.Model {
3353
3732
  static types(): { [key: string]: any } {
3354
3733
  return {
3355
3734
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3735
+ statusCode: 'number',
3356
3736
  body: { 'type': 'array', 'itemType': DescribeTriggerResponseBody },
3357
3737
  };
3358
3738
  }
@@ -3364,10 +3744,12 @@ export class DescribeTriggerResponse extends $tea.Model {
3364
3744
 
3365
3745
  export class DescribeUserPermissionResponse extends $tea.Model {
3366
3746
  headers: { [key: string]: string };
3747
+ statusCode: number;
3367
3748
  body: DescribeUserPermissionResponseBody[];
3368
3749
  static names(): { [key: string]: string } {
3369
3750
  return {
3370
3751
  headers: 'headers',
3752
+ statusCode: 'statusCode',
3371
3753
  body: 'body',
3372
3754
  };
3373
3755
  }
@@ -3375,6 +3757,7 @@ export class DescribeUserPermissionResponse extends $tea.Model {
3375
3757
  static types(): { [key: string]: any } {
3376
3758
  return {
3377
3759
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3760
+ statusCode: 'number',
3378
3761
  body: { 'type': 'array', 'itemType': DescribeUserPermissionResponseBody },
3379
3762
  };
3380
3763
  }
@@ -3417,10 +3800,12 @@ export class DescribeUserQuotaResponseBody extends $tea.Model {
3417
3800
 
3418
3801
  export class DescribeUserQuotaResponse extends $tea.Model {
3419
3802
  headers: { [key: string]: string };
3803
+ statusCode: number;
3420
3804
  body: DescribeUserQuotaResponseBody;
3421
3805
  static names(): { [key: string]: string } {
3422
3806
  return {
3423
3807
  headers: 'headers',
3808
+ statusCode: 'statusCode',
3424
3809
  body: 'body',
3425
3810
  };
3426
3811
  }
@@ -3428,6 +3813,7 @@ export class DescribeUserQuotaResponse extends $tea.Model {
3428
3813
  static types(): { [key: string]: any } {
3429
3814
  return {
3430
3815
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3816
+ statusCode: 'number',
3431
3817
  body: DescribeUserQuotaResponseBody,
3432
3818
  };
3433
3819
  }
@@ -3458,10 +3844,12 @@ export class DescribeWorkflowsResponseBody extends $tea.Model {
3458
3844
 
3459
3845
  export class DescribeWorkflowsResponse extends $tea.Model {
3460
3846
  headers: { [key: string]: string };
3847
+ statusCode: number;
3461
3848
  body: DescribeWorkflowsResponseBody;
3462
3849
  static names(): { [key: string]: string } {
3463
3850
  return {
3464
3851
  headers: 'headers',
3852
+ statusCode: 'statusCode',
3465
3853
  body: 'body',
3466
3854
  };
3467
3855
  }
@@ -3469,6 +3857,7 @@ export class DescribeWorkflowsResponse extends $tea.Model {
3469
3857
  static types(): { [key: string]: any } {
3470
3858
  return {
3471
3859
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3860
+ statusCode: 'number',
3472
3861
  body: DescribeWorkflowsResponseBody,
3473
3862
  };
3474
3863
  }
@@ -3527,10 +3916,12 @@ export class EdgeClusterAddEdgeMachineResponseBody extends $tea.Model {
3527
3916
 
3528
3917
  export class EdgeClusterAddEdgeMachineResponse extends $tea.Model {
3529
3918
  headers: { [key: string]: string };
3919
+ statusCode: number;
3530
3920
  body: EdgeClusterAddEdgeMachineResponseBody;
3531
3921
  static names(): { [key: string]: string } {
3532
3922
  return {
3533
3923
  headers: 'headers',
3924
+ statusCode: 'statusCode',
3534
3925
  body: 'body',
3535
3926
  };
3536
3927
  }
@@ -3538,6 +3929,7 @@ export class EdgeClusterAddEdgeMachineResponse extends $tea.Model {
3538
3929
  static types(): { [key: string]: any } {
3539
3930
  return {
3540
3931
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3932
+ statusCode: 'number',
3541
3933
  body: EdgeClusterAddEdgeMachineResponseBody,
3542
3934
  };
3543
3935
  }
@@ -3547,6 +3939,75 @@ export class EdgeClusterAddEdgeMachineResponse extends $tea.Model {
3547
3939
  }
3548
3940
  }
3549
3941
 
3942
+ export class FixNodePoolVulsRequest extends $tea.Model {
3943
+ nodes?: string[];
3944
+ rolloutPolicy?: FixNodePoolVulsRequestRolloutPolicy;
3945
+ vulList?: string[];
3946
+ static names(): { [key: string]: string } {
3947
+ return {
3948
+ nodes: 'nodes',
3949
+ rolloutPolicy: 'rollout_policy',
3950
+ vulList: 'vul_list',
3951
+ };
3952
+ }
3953
+
3954
+ static types(): { [key: string]: any } {
3955
+ return {
3956
+ nodes: { 'type': 'array', 'itemType': 'string' },
3957
+ rolloutPolicy: FixNodePoolVulsRequestRolloutPolicy,
3958
+ vulList: { 'type': 'array', 'itemType': 'string' },
3959
+ };
3960
+ }
3961
+
3962
+ constructor(map?: { [key: string]: any }) {
3963
+ super(map);
3964
+ }
3965
+ }
3966
+
3967
+ export class FixNodePoolVulsResponseBody extends $tea.Model {
3968
+ taskId?: string;
3969
+ static names(): { [key: string]: string } {
3970
+ return {
3971
+ taskId: 'task_id',
3972
+ };
3973
+ }
3974
+
3975
+ static types(): { [key: string]: any } {
3976
+ return {
3977
+ taskId: 'string',
3978
+ };
3979
+ }
3980
+
3981
+ constructor(map?: { [key: string]: any }) {
3982
+ super(map);
3983
+ }
3984
+ }
3985
+
3986
+ export class FixNodePoolVulsResponse extends $tea.Model {
3987
+ headers: { [key: string]: string };
3988
+ statusCode: number;
3989
+ body: FixNodePoolVulsResponseBody;
3990
+ static names(): { [key: string]: string } {
3991
+ return {
3992
+ headers: 'headers',
3993
+ statusCode: 'statusCode',
3994
+ body: 'body',
3995
+ };
3996
+ }
3997
+
3998
+ static types(): { [key: string]: any } {
3999
+ return {
4000
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4001
+ statusCode: 'number',
4002
+ body: FixNodePoolVulsResponseBody,
4003
+ };
4004
+ }
4005
+
4006
+ constructor(map?: { [key: string]: any }) {
4007
+ super(map);
4008
+ }
4009
+ }
4010
+
3550
4011
  export class GetKubernetesTriggerRequest extends $tea.Model {
3551
4012
  name?: string;
3552
4013
  namespace?: string;
@@ -3577,10 +4038,12 @@ export class GetKubernetesTriggerRequest extends $tea.Model {
3577
4038
 
3578
4039
  export class GetKubernetesTriggerResponse extends $tea.Model {
3579
4040
  headers: { [key: string]: string };
4041
+ statusCode: number;
3580
4042
  body: GetKubernetesTriggerResponseBody[];
3581
4043
  static names(): { [key: string]: string } {
3582
4044
  return {
3583
4045
  headers: 'headers',
4046
+ statusCode: 'statusCode',
3584
4047
  body: 'body',
3585
4048
  };
3586
4049
  }
@@ -3588,6 +4051,7 @@ export class GetKubernetesTriggerResponse extends $tea.Model {
3588
4051
  static types(): { [key: string]: any } {
3589
4052
  return {
3590
4053
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4054
+ statusCode: 'number',
3591
4055
  body: { 'type': 'array', 'itemType': GetKubernetesTriggerResponseBody },
3592
4056
  };
3593
4057
  }
@@ -3630,10 +4094,12 @@ export class GetUpgradeStatusResponseBody extends $tea.Model {
3630
4094
 
3631
4095
  export class GetUpgradeStatusResponse extends $tea.Model {
3632
4096
  headers: { [key: string]: string };
4097
+ statusCode: number;
3633
4098
  body: GetUpgradeStatusResponseBody;
3634
4099
  static names(): { [key: string]: string } {
3635
4100
  return {
3636
4101
  headers: 'headers',
4102
+ statusCode: 'statusCode',
3637
4103
  body: 'body',
3638
4104
  };
3639
4105
  }
@@ -3641,6 +4107,7 @@ export class GetUpgradeStatusResponse extends $tea.Model {
3641
4107
  static types(): { [key: string]: any } {
3642
4108
  return {
3643
4109
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4110
+ statusCode: 'number',
3644
4111
  body: GetUpgradeStatusResponseBody,
3645
4112
  };
3646
4113
  }
@@ -3671,15 +4138,18 @@ export class GrantPermissionsRequest extends $tea.Model {
3671
4138
 
3672
4139
  export class GrantPermissionsResponse extends $tea.Model {
3673
4140
  headers: { [key: string]: string };
4141
+ statusCode: number;
3674
4142
  static names(): { [key: string]: string } {
3675
4143
  return {
3676
4144
  headers: 'headers',
4145
+ statusCode: 'statusCode',
3677
4146
  };
3678
4147
  }
3679
4148
 
3680
4149
  static types(): { [key: string]: any } {
3681
4150
  return {
3682
4151
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4152
+ statusCode: 'number',
3683
4153
  };
3684
4154
  }
3685
4155
 
@@ -3709,15 +4179,18 @@ export class InstallClusterAddonsRequest extends $tea.Model {
3709
4179
 
3710
4180
  export class InstallClusterAddonsResponse extends $tea.Model {
3711
4181
  headers: { [key: string]: string };
4182
+ statusCode: number;
3712
4183
  static names(): { [key: string]: string } {
3713
4184
  return {
3714
4185
  headers: 'headers',
4186
+ statusCode: 'statusCode',
3715
4187
  };
3716
4188
  }
3717
4189
 
3718
4190
  static types(): { [key: string]: any } {
3719
4191
  return {
3720
4192
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4193
+ statusCode: 'number',
3721
4194
  };
3722
4195
  }
3723
4196
 
@@ -3815,10 +4288,12 @@ export class ListTagResourcesResponseBody extends $tea.Model {
3815
4288
 
3816
4289
  export class ListTagResourcesResponse extends $tea.Model {
3817
4290
  headers: { [key: string]: string };
4291
+ statusCode: number;
3818
4292
  body: ListTagResourcesResponseBody;
3819
4293
  static names(): { [key: string]: string } {
3820
4294
  return {
3821
4295
  headers: 'headers',
4296
+ statusCode: 'statusCode',
3822
4297
  body: 'body',
3823
4298
  };
3824
4299
  }
@@ -3826,6 +4301,7 @@ export class ListTagResourcesResponse extends $tea.Model {
3826
4301
  static types(): { [key: string]: any } {
3827
4302
  return {
3828
4303
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4304
+ statusCode: 'number',
3829
4305
  body: ListTagResourcesResponseBody,
3830
4306
  };
3831
4307
  }
@@ -3835,17 +4311,70 @@ export class ListTagResourcesResponse extends $tea.Model {
3835
4311
  }
3836
4312
  }
3837
4313
 
4314
+ export class MigrateClusterRequest extends $tea.Model {
4315
+ ossBucketEndpoint?: string;
4316
+ ossBucketName?: string;
4317
+ static names(): { [key: string]: string } {
4318
+ return {
4319
+ ossBucketEndpoint: 'oss_bucket_endpoint',
4320
+ ossBucketName: 'oss_bucket_name',
4321
+ };
4322
+ }
4323
+
4324
+ static types(): { [key: string]: any } {
4325
+ return {
4326
+ ossBucketEndpoint: 'string',
4327
+ ossBucketName: 'string',
4328
+ };
4329
+ }
4330
+
4331
+ constructor(map?: { [key: string]: any }) {
4332
+ super(map);
4333
+ }
4334
+ }
4335
+
4336
+ export class MigrateClusterResponseBody extends $tea.Model {
4337
+ clusterId?: string;
4338
+ requestId?: string;
4339
+ taskId?: string;
4340
+ static names(): { [key: string]: string } {
4341
+ return {
4342
+ clusterId: 'cluster_id',
4343
+ requestId: 'request_id',
4344
+ taskId: 'task_id',
4345
+ };
4346
+ }
4347
+
4348
+ static types(): { [key: string]: any } {
4349
+ return {
4350
+ clusterId: 'string',
4351
+ requestId: 'string',
4352
+ taskId: 'string',
4353
+ };
4354
+ }
4355
+
4356
+ constructor(map?: { [key: string]: any }) {
4357
+ super(map);
4358
+ }
4359
+ }
4360
+
3838
4361
  export class MigrateClusterResponse extends $tea.Model {
3839
4362
  headers: { [key: string]: string };
4363
+ statusCode: number;
4364
+ body: MigrateClusterResponseBody;
3840
4365
  static names(): { [key: string]: string } {
3841
4366
  return {
3842
4367
  headers: 'headers',
4368
+ statusCode: 'statusCode',
4369
+ body: 'body',
3843
4370
  };
3844
4371
  }
3845
4372
 
3846
4373
  static types(): { [key: string]: any } {
3847
4374
  return {
3848
4375
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4376
+ statusCode: 'number',
4377
+ body: MigrateClusterResponseBody,
3849
4378
  };
3850
4379
  }
3851
4380
 
@@ -3924,10 +4453,12 @@ export class ModifyClusterResponseBody extends $tea.Model {
3924
4453
 
3925
4454
  export class ModifyClusterResponse extends $tea.Model {
3926
4455
  headers: { [key: string]: string };
4456
+ statusCode: number;
3927
4457
  body: ModifyClusterResponseBody;
3928
4458
  static names(): { [key: string]: string } {
3929
4459
  return {
3930
4460
  headers: 'headers',
4461
+ statusCode: 'statusCode',
3931
4462
  body: 'body',
3932
4463
  };
3933
4464
  }
@@ -3935,6 +4466,7 @@ export class ModifyClusterResponse extends $tea.Model {
3935
4466
  static types(): { [key: string]: any } {
3936
4467
  return {
3937
4468
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4469
+ statusCode: 'number',
3938
4470
  body: ModifyClusterResponseBody,
3939
4471
  };
3940
4472
  }
@@ -3965,15 +4497,18 @@ export class ModifyClusterAddonRequest extends $tea.Model {
3965
4497
 
3966
4498
  export class ModifyClusterAddonResponse extends $tea.Model {
3967
4499
  headers: { [key: string]: string };
4500
+ statusCode: number;
3968
4501
  static names(): { [key: string]: string } {
3969
4502
  return {
3970
4503
  headers: 'headers',
4504
+ statusCode: 'statusCode',
3971
4505
  };
3972
4506
  }
3973
4507
 
3974
4508
  static types(): { [key: string]: any } {
3975
4509
  return {
3976
4510
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4511
+ statusCode: 'number',
3977
4512
  };
3978
4513
  }
3979
4514
 
@@ -4003,15 +4538,18 @@ export class ModifyClusterConfigurationRequest extends $tea.Model {
4003
4538
 
4004
4539
  export class ModifyClusterConfigurationResponse extends $tea.Model {
4005
4540
  headers: { [key: string]: string };
4541
+ statusCode: number;
4006
4542
  static names(): { [key: string]: string } {
4007
4543
  return {
4008
4544
  headers: 'headers',
4545
+ statusCode: 'statusCode',
4009
4546
  };
4010
4547
  }
4011
4548
 
4012
4549
  static types(): { [key: string]: any } {
4013
4550
  return {
4014
4551
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4552
+ statusCode: 'number',
4015
4553
  };
4016
4554
  }
4017
4555
 
@@ -4081,10 +4619,12 @@ export class ModifyClusterNodePoolResponseBody extends $tea.Model {
4081
4619
 
4082
4620
  export class ModifyClusterNodePoolResponse extends $tea.Model {
4083
4621
  headers: { [key: string]: string };
4622
+ statusCode: number;
4084
4623
  body: ModifyClusterNodePoolResponseBody;
4085
4624
  static names(): { [key: string]: string } {
4086
4625
  return {
4087
4626
  headers: 'headers',
4627
+ statusCode: 'statusCode',
4088
4628
  body: 'body',
4089
4629
  };
4090
4630
  }
@@ -4092,6 +4632,7 @@ export class ModifyClusterNodePoolResponse extends $tea.Model {
4092
4632
  static types(): { [key: string]: any } {
4093
4633
  return {
4094
4634
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4635
+ statusCode: 'number',
4095
4636
  body: ModifyClusterNodePoolResponseBody,
4096
4637
  };
4097
4638
  }
@@ -4122,15 +4663,18 @@ export class ModifyClusterTagsRequest extends $tea.Model {
4122
4663
 
4123
4664
  export class ModifyClusterTagsResponse extends $tea.Model {
4124
4665
  headers: { [key: string]: string };
4666
+ statusCode: number;
4125
4667
  static names(): { [key: string]: string } {
4126
4668
  return {
4127
4669
  headers: 'headers',
4670
+ statusCode: 'statusCode',
4128
4671
  };
4129
4672
  }
4130
4673
 
4131
4674
  static types(): { [key: string]: any } {
4132
4675
  return {
4133
4676
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4677
+ statusCode: 'number',
4134
4678
  };
4135
4679
  }
4136
4680
 
@@ -4139,10 +4683,82 @@ export class ModifyClusterTagsResponse extends $tea.Model {
4139
4683
  }
4140
4684
  }
4141
4685
 
4142
- export class ModifyPolicyInstanceRequest extends $tea.Model {
4143
- action?: string;
4144
- instanceName?: string;
4145
- namespaces?: string[];
4686
+ export class ModifyNodePoolNodeConfigRequest extends $tea.Model {
4687
+ kubeletConfig?: ModifyNodePoolNodeConfigRequestKubeletConfig;
4688
+ rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
4689
+ static names(): { [key: string]: string } {
4690
+ return {
4691
+ kubeletConfig: 'kubelet_config',
4692
+ rollingPolicy: 'rolling_policy',
4693
+ };
4694
+ }
4695
+
4696
+ static types(): { [key: string]: any } {
4697
+ return {
4698
+ kubeletConfig: ModifyNodePoolNodeConfigRequestKubeletConfig,
4699
+ rollingPolicy: ModifyNodePoolNodeConfigRequestRollingPolicy,
4700
+ };
4701
+ }
4702
+
4703
+ constructor(map?: { [key: string]: any }) {
4704
+ super(map);
4705
+ }
4706
+ }
4707
+
4708
+ export class ModifyNodePoolNodeConfigResponseBody extends $tea.Model {
4709
+ nodepoolId?: string;
4710
+ requestId?: string;
4711
+ taskId?: string;
4712
+ static names(): { [key: string]: string } {
4713
+ return {
4714
+ nodepoolId: 'nodepool_id',
4715
+ requestId: 'request_id',
4716
+ taskId: 'task_id',
4717
+ };
4718
+ }
4719
+
4720
+ static types(): { [key: string]: any } {
4721
+ return {
4722
+ nodepoolId: 'string',
4723
+ requestId: 'string',
4724
+ taskId: 'string',
4725
+ };
4726
+ }
4727
+
4728
+ constructor(map?: { [key: string]: any }) {
4729
+ super(map);
4730
+ }
4731
+ }
4732
+
4733
+ export class ModifyNodePoolNodeConfigResponse extends $tea.Model {
4734
+ headers: { [key: string]: string };
4735
+ statusCode: number;
4736
+ body: ModifyNodePoolNodeConfigResponseBody;
4737
+ static names(): { [key: string]: string } {
4738
+ return {
4739
+ headers: 'headers',
4740
+ statusCode: 'statusCode',
4741
+ body: 'body',
4742
+ };
4743
+ }
4744
+
4745
+ static types(): { [key: string]: any } {
4746
+ return {
4747
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4748
+ statusCode: 'number',
4749
+ body: ModifyNodePoolNodeConfigResponseBody,
4750
+ };
4751
+ }
4752
+
4753
+ constructor(map?: { [key: string]: any }) {
4754
+ super(map);
4755
+ }
4756
+ }
4757
+
4758
+ export class ModifyPolicyInstanceRequest extends $tea.Model {
4759
+ action?: string;
4760
+ instanceName?: string;
4761
+ namespaces?: string[];
4146
4762
  parameters?: { [key: string]: any };
4147
4763
  static names(): { [key: string]: string } {
4148
4764
  return {
@@ -4188,10 +4804,12 @@ export class ModifyPolicyInstanceResponseBody extends $tea.Model {
4188
4804
 
4189
4805
  export class ModifyPolicyInstanceResponse extends $tea.Model {
4190
4806
  headers: { [key: string]: string };
4807
+ statusCode: number;
4191
4808
  body: ModifyPolicyInstanceResponseBody;
4192
4809
  static names(): { [key: string]: string } {
4193
4810
  return {
4194
4811
  headers: 'headers',
4812
+ statusCode: 'statusCode',
4195
4813
  body: 'body',
4196
4814
  };
4197
4815
  }
@@ -4199,6 +4817,7 @@ export class ModifyPolicyInstanceResponse extends $tea.Model {
4199
4817
  static types(): { [key: string]: any } {
4200
4818
  return {
4201
4819
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4820
+ statusCode: 'number',
4202
4821
  body: ModifyPolicyInstanceResponseBody,
4203
4822
  };
4204
4823
  }
@@ -4251,10 +4870,12 @@ export class OpenAckServiceResponseBody extends $tea.Model {
4251
4870
 
4252
4871
  export class OpenAckServiceResponse extends $tea.Model {
4253
4872
  headers: { [key: string]: string };
4873
+ statusCode: number;
4254
4874
  body: OpenAckServiceResponseBody;
4255
4875
  static names(): { [key: string]: string } {
4256
4876
  return {
4257
4877
  headers: 'headers',
4878
+ statusCode: 'statusCode',
4258
4879
  body: 'body',
4259
4880
  };
4260
4881
  }
@@ -4262,6 +4883,7 @@ export class OpenAckServiceResponse extends $tea.Model {
4262
4883
  static types(): { [key: string]: any } {
4263
4884
  return {
4264
4885
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4886
+ statusCode: 'number',
4265
4887
  body: OpenAckServiceResponseBody,
4266
4888
  };
4267
4889
  }
@@ -4273,15 +4895,18 @@ export class OpenAckServiceResponse extends $tea.Model {
4273
4895
 
4274
4896
  export class PauseClusterUpgradeResponse extends $tea.Model {
4275
4897
  headers: { [key: string]: string };
4898
+ statusCode: number;
4276
4899
  static names(): { [key: string]: string } {
4277
4900
  return {
4278
4901
  headers: 'headers',
4902
+ statusCode: 'statusCode',
4279
4903
  };
4280
4904
  }
4281
4905
 
4282
4906
  static types(): { [key: string]: any } {
4283
4907
  return {
4284
4908
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4909
+ statusCode: 'number',
4285
4910
  };
4286
4911
  }
4287
4912
 
@@ -4292,15 +4917,40 @@ export class PauseClusterUpgradeResponse extends $tea.Model {
4292
4917
 
4293
4918
  export class PauseComponentUpgradeResponse extends $tea.Model {
4294
4919
  headers: { [key: string]: string };
4920
+ statusCode: number;
4921
+ static names(): { [key: string]: string } {
4922
+ return {
4923
+ headers: 'headers',
4924
+ statusCode: 'statusCode',
4925
+ };
4926
+ }
4927
+
4928
+ static types(): { [key: string]: any } {
4929
+ return {
4930
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4931
+ statusCode: 'number',
4932
+ };
4933
+ }
4934
+
4935
+ constructor(map?: { [key: string]: any }) {
4936
+ super(map);
4937
+ }
4938
+ }
4939
+
4940
+ export class PauseTaskResponse extends $tea.Model {
4941
+ headers: { [key: string]: string };
4942
+ statusCode: number;
4295
4943
  static names(): { [key: string]: string } {
4296
4944
  return {
4297
4945
  headers: 'headers',
4946
+ statusCode: 'statusCode',
4298
4947
  };
4299
4948
  }
4300
4949
 
4301
4950
  static types(): { [key: string]: any } {
4302
4951
  return {
4303
4952
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4953
+ statusCode: 'number',
4304
4954
  };
4305
4955
  }
4306
4956
 
@@ -4336,15 +4986,18 @@ export class RemoveClusterNodesRequest extends $tea.Model {
4336
4986
 
4337
4987
  export class RemoveClusterNodesResponse extends $tea.Model {
4338
4988
  headers: { [key: string]: string };
4989
+ statusCode: number;
4339
4990
  static names(): { [key: string]: string } {
4340
4991
  return {
4341
4992
  headers: 'headers',
4993
+ statusCode: 'statusCode',
4342
4994
  };
4343
4995
  }
4344
4996
 
4345
4997
  static types(): { [key: string]: any } {
4346
4998
  return {
4347
4999
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5000
+ statusCode: 'number',
4348
5001
  };
4349
5002
  }
4350
5003
 
@@ -4355,15 +5008,18 @@ export class RemoveClusterNodesResponse extends $tea.Model {
4355
5008
 
4356
5009
  export class RemoveWorkflowResponse extends $tea.Model {
4357
5010
  headers: { [key: string]: string };
5011
+ statusCode: number;
4358
5012
  static names(): { [key: string]: string } {
4359
5013
  return {
4360
5014
  headers: 'headers',
5015
+ statusCode: 'statusCode',
4361
5016
  };
4362
5017
  }
4363
5018
 
4364
5019
  static types(): { [key: string]: any } {
4365
5020
  return {
4366
5021
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5022
+ statusCode: 'number',
4367
5023
  };
4368
5024
  }
4369
5025
 
@@ -4415,10 +5071,12 @@ export class RepairClusterNodePoolResponseBody extends $tea.Model {
4415
5071
 
4416
5072
  export class RepairClusterNodePoolResponse extends $tea.Model {
4417
5073
  headers: { [key: string]: string };
5074
+ statusCode: number;
4418
5075
  body: RepairClusterNodePoolResponseBody;
4419
5076
  static names(): { [key: string]: string } {
4420
5077
  return {
4421
5078
  headers: 'headers',
5079
+ statusCode: 'statusCode',
4422
5080
  body: 'body',
4423
5081
  };
4424
5082
  }
@@ -4426,6 +5084,7 @@ export class RepairClusterNodePoolResponse extends $tea.Model {
4426
5084
  static types(): { [key: string]: any } {
4427
5085
  return {
4428
5086
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5087
+ statusCode: 'number',
4429
5088
  body: RepairClusterNodePoolResponseBody,
4430
5089
  };
4431
5090
  }
@@ -4437,15 +5096,40 @@ export class RepairClusterNodePoolResponse extends $tea.Model {
4437
5096
 
4438
5097
  export class ResumeComponentUpgradeResponse extends $tea.Model {
4439
5098
  headers: { [key: string]: string };
5099
+ statusCode: number;
5100
+ static names(): { [key: string]: string } {
5101
+ return {
5102
+ headers: 'headers',
5103
+ statusCode: 'statusCode',
5104
+ };
5105
+ }
5106
+
5107
+ static types(): { [key: string]: any } {
5108
+ return {
5109
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5110
+ statusCode: 'number',
5111
+ };
5112
+ }
5113
+
5114
+ constructor(map?: { [key: string]: any }) {
5115
+ super(map);
5116
+ }
5117
+ }
5118
+
5119
+ export class ResumeTaskResponse extends $tea.Model {
5120
+ headers: { [key: string]: string };
5121
+ statusCode: number;
4440
5122
  static names(): { [key: string]: string } {
4441
5123
  return {
4442
5124
  headers: 'headers',
5125
+ statusCode: 'statusCode',
4443
5126
  };
4444
5127
  }
4445
5128
 
4446
5129
  static types(): { [key: string]: any } {
4447
5130
  return {
4448
5131
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5132
+ statusCode: 'number',
4449
5133
  };
4450
5134
  }
4451
5135
 
@@ -4456,15 +5140,18 @@ export class ResumeComponentUpgradeResponse extends $tea.Model {
4456
5140
 
4457
5141
  export class ResumeUpgradeClusterResponse extends $tea.Model {
4458
5142
  headers: { [key: string]: string };
5143
+ statusCode: number;
4459
5144
  static names(): { [key: string]: string } {
4460
5145
  return {
4461
5146
  headers: 'headers',
5147
+ statusCode: 'statusCode',
4462
5148
  };
4463
5149
  }
4464
5150
 
4465
5151
  static types(): { [key: string]: any } {
4466
5152
  return {
4467
5153
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5154
+ statusCode: 'number',
4468
5155
  };
4469
5156
  }
4470
5157
 
@@ -4573,10 +5260,12 @@ export class ScaleClusterResponseBody extends $tea.Model {
4573
5260
 
4574
5261
  export class ScaleClusterResponse extends $tea.Model {
4575
5262
  headers: { [key: string]: string };
5263
+ statusCode: number;
4576
5264
  body: ScaleClusterResponseBody;
4577
5265
  static names(): { [key: string]: string } {
4578
5266
  return {
4579
5267
  headers: 'headers',
5268
+ statusCode: 'statusCode',
4580
5269
  body: 'body',
4581
5270
  };
4582
5271
  }
@@ -4584,6 +5273,7 @@ export class ScaleClusterResponse extends $tea.Model {
4584
5273
  static types(): { [key: string]: any } {
4585
5274
  return {
4586
5275
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5276
+ statusCode: 'number',
4587
5277
  body: ScaleClusterResponseBody,
4588
5278
  };
4589
5279
  }
@@ -4633,10 +5323,12 @@ export class ScaleClusterNodePoolResponseBody extends $tea.Model {
4633
5323
 
4634
5324
  export class ScaleClusterNodePoolResponse extends $tea.Model {
4635
5325
  headers: { [key: string]: string };
5326
+ statusCode: number;
4636
5327
  body: ScaleClusterNodePoolResponseBody;
4637
5328
  static names(): { [key: string]: string } {
4638
5329
  return {
4639
5330
  headers: 'headers',
5331
+ statusCode: 'statusCode',
4640
5332
  body: 'body',
4641
5333
  };
4642
5334
  }
@@ -4644,6 +5336,7 @@ export class ScaleClusterNodePoolResponse extends $tea.Model {
4644
5336
  static types(): { [key: string]: any } {
4645
5337
  return {
4646
5338
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5339
+ statusCode: 'number',
4647
5340
  body: ScaleClusterNodePoolResponseBody,
4648
5341
  };
4649
5342
  }
@@ -4759,10 +5452,12 @@ export class ScaleOutClusterResponseBody extends $tea.Model {
4759
5452
 
4760
5453
  export class ScaleOutClusterResponse extends $tea.Model {
4761
5454
  headers: { [key: string]: string };
5455
+ statusCode: number;
4762
5456
  body: ScaleOutClusterResponseBody;
4763
5457
  static names(): { [key: string]: string } {
4764
5458
  return {
4765
5459
  headers: 'headers',
5460
+ statusCode: 'statusCode',
4766
5461
  body: 'body',
4767
5462
  };
4768
5463
  }
@@ -4770,6 +5465,7 @@ export class ScaleOutClusterResponse extends $tea.Model {
4770
5465
  static types(): { [key: string]: any } {
4771
5466
  return {
4772
5467
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5468
+ statusCode: 'number',
4773
5469
  body: ScaleOutClusterResponseBody,
4774
5470
  };
4775
5471
  }
@@ -4873,10 +5569,12 @@ export class StartWorkflowResponseBody extends $tea.Model {
4873
5569
 
4874
5570
  export class StartWorkflowResponse extends $tea.Model {
4875
5571
  headers: { [key: string]: string };
5572
+ statusCode: number;
4876
5573
  body: StartWorkflowResponseBody;
4877
5574
  static names(): { [key: string]: string } {
4878
5575
  return {
4879
5576
  headers: 'headers',
5577
+ statusCode: 'statusCode',
4880
5578
  body: 'body',
4881
5579
  };
4882
5580
  }
@@ -4884,6 +5582,7 @@ export class StartWorkflowResponse extends $tea.Model {
4884
5582
  static types(): { [key: string]: any } {
4885
5583
  return {
4886
5584
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5585
+ statusCode: 'number',
4887
5586
  body: StartWorkflowResponseBody,
4888
5587
  };
4889
5588
  }
@@ -4942,10 +5641,12 @@ export class TagResourcesResponseBody extends $tea.Model {
4942
5641
 
4943
5642
  export class TagResourcesResponse extends $tea.Model {
4944
5643
  headers: { [key: string]: string };
5644
+ statusCode: number;
4945
5645
  body: TagResourcesResponseBody;
4946
5646
  static names(): { [key: string]: string } {
4947
5647
  return {
4948
5648
  headers: 'headers',
5649
+ statusCode: 'statusCode',
4949
5650
  body: 'body',
4950
5651
  };
4951
5652
  }
@@ -4953,6 +5654,7 @@ export class TagResourcesResponse extends $tea.Model {
4953
5654
  static types(): { [key: string]: any } {
4954
5655
  return {
4955
5656
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5657
+ statusCode: 'number',
4956
5658
  body: TagResourcesResponseBody,
4957
5659
  };
4958
5660
  }
@@ -4983,15 +5685,18 @@ export class UnInstallClusterAddonsRequest extends $tea.Model {
4983
5685
 
4984
5686
  export class UnInstallClusterAddonsResponse extends $tea.Model {
4985
5687
  headers: { [key: string]: string };
5688
+ statusCode: number;
4986
5689
  static names(): { [key: string]: string } {
4987
5690
  return {
4988
5691
  headers: 'headers',
5692
+ statusCode: 'statusCode',
4989
5693
  };
4990
5694
  }
4991
5695
 
4992
5696
  static types(): { [key: string]: any } {
4993
5697
  return {
4994
5698
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5699
+ statusCode: 'number',
4995
5700
  };
4996
5701
  }
4997
5702
 
@@ -5052,10 +5757,12 @@ export class UntagResourcesResponseBody extends $tea.Model {
5052
5757
 
5053
5758
  export class UntagResourcesResponse extends $tea.Model {
5054
5759
  headers: { [key: string]: string };
5760
+ statusCode: number;
5055
5761
  body: UntagResourcesResponseBody;
5056
5762
  static names(): { [key: string]: string } {
5057
5763
  return {
5058
5764
  headers: 'headers',
5765
+ statusCode: 'statusCode',
5059
5766
  body: 'body',
5060
5767
  };
5061
5768
  }
@@ -5063,6 +5770,7 @@ export class UntagResourcesResponse extends $tea.Model {
5063
5770
  static types(): { [key: string]: any } {
5064
5771
  return {
5065
5772
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5773
+ statusCode: 'number',
5066
5774
  body: UntagResourcesResponseBody,
5067
5775
  };
5068
5776
  }
@@ -5074,15 +5782,18 @@ export class UntagResourcesResponse extends $tea.Model {
5074
5782
 
5075
5783
  export class UpdateContactGroupForAlertResponse extends $tea.Model {
5076
5784
  headers: { [key: string]: string };
5785
+ statusCode: number;
5077
5786
  static names(): { [key: string]: string } {
5078
5787
  return {
5079
5788
  headers: 'headers',
5789
+ statusCode: 'statusCode',
5080
5790
  };
5081
5791
  }
5082
5792
 
5083
5793
  static types(): { [key: string]: any } {
5084
5794
  return {
5085
5795
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5796
+ statusCode: 'number',
5086
5797
  };
5087
5798
  }
5088
5799
 
@@ -5115,15 +5826,18 @@ export class UpdateK8sClusterUserConfigExpireRequest extends $tea.Model {
5115
5826
 
5116
5827
  export class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
5117
5828
  headers: { [key: string]: string };
5829
+ statusCode: number;
5118
5830
  static names(): { [key: string]: string } {
5119
5831
  return {
5120
5832
  headers: 'headers',
5833
+ statusCode: 'statusCode',
5121
5834
  };
5122
5835
  }
5123
5836
 
5124
5837
  static types(): { [key: string]: any } {
5125
5838
  return {
5126
5839
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5840
+ statusCode: 'number',
5127
5841
  };
5128
5842
  }
5129
5843
 
@@ -5165,15 +5879,18 @@ export class UpdateTemplateRequest extends $tea.Model {
5165
5879
 
5166
5880
  export class UpdateTemplateResponse extends $tea.Model {
5167
5881
  headers: { [key: string]: string };
5882
+ statusCode: number;
5168
5883
  static names(): { [key: string]: string } {
5169
5884
  return {
5170
5885
  headers: 'headers',
5886
+ statusCode: 'statusCode',
5171
5887
  };
5172
5888
  }
5173
5889
 
5174
5890
  static types(): { [key: string]: any } {
5175
5891
  return {
5176
5892
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5893
+ statusCode: 'number',
5177
5894
  };
5178
5895
  }
5179
5896
 
@@ -5209,15 +5926,18 @@ export class UpgradeClusterRequest extends $tea.Model {
5209
5926
 
5210
5927
  export class UpgradeClusterResponse extends $tea.Model {
5211
5928
  headers: { [key: string]: string };
5929
+ statusCode: number;
5212
5930
  static names(): { [key: string]: string } {
5213
5931
  return {
5214
5932
  headers: 'headers',
5933
+ statusCode: 'statusCode',
5215
5934
  };
5216
5935
  }
5217
5936
 
5218
5937
  static types(): { [key: string]: any } {
5219
5938
  return {
5220
5939
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5940
+ statusCode: 'number',
5221
5941
  };
5222
5942
  }
5223
5943
 
@@ -5247,15 +5967,18 @@ export class UpgradeClusterAddonsRequest extends $tea.Model {
5247
5967
 
5248
5968
  export class UpgradeClusterAddonsResponse extends $tea.Model {
5249
5969
  headers: { [key: string]: string };
5970
+ statusCode: number;
5250
5971
  static names(): { [key: string]: string } {
5251
5972
  return {
5252
5973
  headers: 'headers',
5974
+ statusCode: 'statusCode',
5253
5975
  };
5254
5976
  }
5255
5977
 
5256
5978
  static types(): { [key: string]: any } {
5257
5979
  return {
5258
5980
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5981
+ statusCode: 'number',
5259
5982
  };
5260
5983
  }
5261
5984
 
@@ -5753,6 +6476,93 @@ export class DescribeAddonsResponseBodyComponentGroups extends $tea.Model {
5753
6476
  }
5754
6477
  }
5755
6478
 
6479
+ export class DescribeClusterEventsResponseBodyEventsData extends $tea.Model {
6480
+ level?: string;
6481
+ message?: string;
6482
+ reason?: string;
6483
+ static names(): { [key: string]: string } {
6484
+ return {
6485
+ level: 'level',
6486
+ message: 'message',
6487
+ reason: 'reason',
6488
+ };
6489
+ }
6490
+
6491
+ static types(): { [key: string]: any } {
6492
+ return {
6493
+ level: 'string',
6494
+ message: 'string',
6495
+ reason: 'string',
6496
+ };
6497
+ }
6498
+
6499
+ constructor(map?: { [key: string]: any }) {
6500
+ super(map);
6501
+ }
6502
+ }
6503
+
6504
+ export class DescribeClusterEventsResponseBodyEvents extends $tea.Model {
6505
+ clusterId?: string;
6506
+ data?: DescribeClusterEventsResponseBodyEventsData;
6507
+ eventId?: string;
6508
+ source?: string;
6509
+ subject?: string;
6510
+ time?: string;
6511
+ type?: string;
6512
+ static names(): { [key: string]: string } {
6513
+ return {
6514
+ clusterId: 'cluster_id',
6515
+ data: 'data',
6516
+ eventId: 'event_id',
6517
+ source: 'source',
6518
+ subject: 'subject',
6519
+ time: 'time',
6520
+ type: 'type',
6521
+ };
6522
+ }
6523
+
6524
+ static types(): { [key: string]: any } {
6525
+ return {
6526
+ clusterId: 'string',
6527
+ data: DescribeClusterEventsResponseBodyEventsData,
6528
+ eventId: 'string',
6529
+ source: 'string',
6530
+ subject: 'string',
6531
+ time: 'string',
6532
+ type: 'string',
6533
+ };
6534
+ }
6535
+
6536
+ constructor(map?: { [key: string]: any }) {
6537
+ super(map);
6538
+ }
6539
+ }
6540
+
6541
+ export class DescribeClusterEventsResponseBodyPageInfo extends $tea.Model {
6542
+ pageNumber?: number;
6543
+ pageSize?: number;
6544
+ totalCount?: number;
6545
+ static names(): { [key: string]: string } {
6546
+ return {
6547
+ pageNumber: 'page_number',
6548
+ pageSize: 'page_size',
6549
+ totalCount: 'total_count',
6550
+ };
6551
+ }
6552
+
6553
+ static types(): { [key: string]: any } {
6554
+ return {
6555
+ pageNumber: 'number',
6556
+ pageSize: 'number',
6557
+ totalCount: 'number',
6558
+ };
6559
+ }
6560
+
6561
+ constructor(map?: { [key: string]: any }) {
6562
+ super(map);
6563
+ }
6564
+ }
6565
+
5756
6566
  export class DescribeClusterLogsResponseBody extends $tea.Model {
5757
6567
  ID?: number;
5758
6568
  clusterId?: string;
@@ -6738,6 +7548,7 @@ export class DescribeClusterResourcesResponseBody extends $tea.Model {
6738
7548
  resourceInfo?: string;
6739
7549
  resourceType?: string;
6740
7550
  state?: string;
7551
+ autoCreate?: number;
6741
7552
  static names(): { [key: string]: string } {
6742
7553
  return {
6743
7554
  clusterId: 'cluster_id',
@@ -6746,6 +7557,7 @@ export class DescribeClusterResourcesResponseBody extends $tea.Model {
6746
7557
  resourceInfo: 'resource_info',
6747
7558
  resourceType: 'resource_type',
6748
7559
  state: 'state',
7560
+ autoCreate: 'auto_create',
6749
7561
  };
6750
7562
  }
6751
7563
 
@@ -6757,6 +7569,88 @@ export class DescribeClusterResourcesResponseBody extends $tea.Model {
6757
7569
  resourceInfo: 'string',
6758
7570
  resourceType: 'string',
6759
7571
  state: 'string',
7572
+ autoCreate: 'number',
7573
+ };
7574
+ }
7575
+
7576
+ constructor(map?: { [key: string]: any }) {
7577
+ super(map);
7578
+ }
7579
+ }
7580
+
7581
+ export class DescribeClusterTasksResponseBodyPageInfo extends $tea.Model {
7582
+ pageNumber?: number;
7583
+ pageSize?: number;
7584
+ totalCount?: number;
7585
+ static names(): { [key: string]: string } {
7586
+ return {
7587
+ pageNumber: 'page_number',
7588
+ pageSize: 'page_size',
7589
+ totalCount: 'total_count',
7590
+ };
7591
+ }
7592
+
7593
+ static types(): { [key: string]: any } {
7594
+ return {
7595
+ pageNumber: 'number',
7596
+ pageSize: 'number',
7597
+ totalCount: 'number',
7598
+ };
7599
+ }
7600
+
7601
+ constructor(map?: { [key: string]: any }) {
7602
+ super(map);
7603
+ }
7604
+ }
7605
+
7606
+ export class DescribeClusterTasksResponseBodyTasksError extends $tea.Model {
7607
+ code?: string;
7608
+ message?: string;
7609
+ static names(): { [key: string]: string } {
7610
+ return {
7611
+ code: 'code',
7612
+ message: 'message',
7613
+ };
7614
+ }
7615
+
7616
+ static types(): { [key: string]: any } {
7617
+ return {
7618
+ code: 'string',
7619
+ message: 'string',
7620
+ };
7621
+ }
7622
+
7623
+ constructor(map?: { [key: string]: any }) {
7624
+ super(map);
7625
+ }
7626
+ }
7627
+
7628
+ export class DescribeClusterTasksResponseBodyTasks extends $tea.Model {
7629
+ created?: string;
7630
+ error?: DescribeClusterTasksResponseBodyTasksError;
7631
+ state?: string;
7632
+ taskId?: string;
7633
+ taskType?: string;
7634
+ updated?: string;
7635
+ static names(): { [key: string]: string } {
7636
+ return {
7637
+ created: 'created',
7638
+ error: 'error',
7639
+ state: 'state',
7640
+ taskId: 'task_id',
7641
+ taskType: 'task_type',
7642
+ updated: 'updated',
7643
+ };
7644
+ }
7645
+
7646
+ static types(): { [key: string]: any } {
7647
+ return {
7648
+ created: 'string',
7649
+ error: DescribeClusterTasksResponseBodyTasksError,
7650
+ state: 'string',
7651
+ taskId: 'string',
7652
+ taskType: 'string',
7653
+ updated: 'string',
6760
7654
  };
6761
7655
  }
6762
7656
 
@@ -7287,6 +8181,56 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
7287
8181
  }
7288
8182
  }
7289
8183
 
8184
+ export class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Model {
8185
+ aliasName?: string;
8186
+ cveList?: string[];
8187
+ name?: string;
8188
+ necessity?: string;
8189
+ static names(): { [key: string]: string } {
8190
+ return {
8191
+ aliasName: 'alias_name',
8192
+ cveList: 'cve_list',
8193
+ name: 'name',
8194
+ necessity: 'necessity',
8195
+ };
8196
+ }
8197
+
8198
+ static types(): { [key: string]: any } {
8199
+ return {
8200
+ aliasName: 'string',
8201
+ cveList: { 'type': 'array', 'itemType': 'string' },
8202
+ name: 'string',
8203
+ necessity: 'string',
8204
+ };
8205
+ }
8206
+
8207
+ constructor(map?: { [key: string]: any }) {
8208
+ super(map);
8209
+ }
8210
+ }
8211
+
8212
+ export class DescribeNodePoolVulsResponseBodyVulRecords extends $tea.Model {
8213
+ instanceId?: string;
8214
+ vulList?: DescribeNodePoolVulsResponseBodyVulRecordsVulList[];
8215
+ static names(): { [key: string]: string } {
8216
+ return {
8217
+ instanceId: 'instance_id',
8218
+ vulList: 'vul_list',
8219
+ };
8220
+ }
8221
+
8222
+ static types(): { [key: string]: any } {
8223
+ return {
8224
+ instanceId: 'string',
8225
+ vulList: { 'type': 'array', 'itemType': DescribeNodePoolVulsResponseBodyVulRecordsVulList },
8226
+ };
8227
+ }
8228
+
8229
+ constructor(map?: { [key: string]: any }) {
8230
+ super(map);
8231
+ }
8232
+ }
8233
+
7290
8234
  export class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog extends $tea.Model {
7291
8235
  clusterId?: string;
7292
8236
  constraintKind?: string;
@@ -7579,11 +8523,120 @@ export class DescribePolicyInstancesStatusResponseBodyPolicyInstances extends $t
7579
8523
 
7580
8524
  static types(): { [key: string]: any } {
7581
8525
  return {
7582
- policyCategory: 'string',
7583
- policyDescription: 'string',
7584
- policyInstancesCount: 'number',
7585
- policyName: 'string',
7586
- policySeverity: 'string',
8526
+ policyCategory: 'string',
8527
+ policyDescription: 'string',
8528
+ policyInstancesCount: 'number',
8529
+ policyName: 'string',
8530
+ policySeverity: 'string',
8531
+ };
8532
+ }
8533
+
8534
+ constructor(map?: { [key: string]: any }) {
8535
+ super(map);
8536
+ }
8537
+ }
8538
+
8539
+ export class DescribeTaskInfoResponseBodyError extends $tea.Model {
8540
+ code?: string;
8541
+ message?: string;
8542
+ static names(): { [key: string]: string } {
8543
+ return {
8544
+ code: 'code',
8545
+ message: 'message',
8546
+ };
8547
+ }
8548
+
8549
+ static types(): { [key: string]: any } {
8550
+ return {
8551
+ code: 'string',
8552
+ message: 'string',
8553
+ };
8554
+ }
8555
+
8556
+ constructor(map?: { [key: string]: any }) {
8557
+ super(map);
8558
+ }
8559
+ }
8560
+
8561
+ export class DescribeTaskInfoResponseBodyEvents extends $tea.Model {
8562
+ action?: string;
8563
+ level?: string;
8564
+ message?: string;
8565
+ reason?: string;
8566
+ source?: string;
8567
+ timestamp?: string;
8568
+ static names(): { [key: string]: string } {
8569
+ return {
8570
+ action: 'action',
8571
+ level: 'level',
8572
+ message: 'message',
8573
+ reason: 'reason',
8574
+ source: 'source',
8575
+ timestamp: 'timestamp',
8576
+ };
8577
+ }
8578
+
8579
+ static types(): { [key: string]: any } {
8580
+ return {
8581
+ action: 'string',
8582
+ level: 'string',
8583
+ message: 'string',
8584
+ reason: 'string',
8585
+ source: 'string',
8586
+ timestamp: 'string',
8587
+ };
8588
+ }
8589
+
8590
+ constructor(map?: { [key: string]: any }) {
8591
+ super(map);
8592
+ }
8593
+ }
8594
+
8595
+ export class DescribeTaskInfoResponseBodyStages extends $tea.Model {
8596
+ endTime?: string;
8597
+ message?: string;
8598
+ outputs?: { [key: string]: any };
8599
+ startTime?: string;
8600
+ state?: string;
8601
+ static names(): { [key: string]: string } {
8602
+ return {
8603
+ endTime: 'end_time',
8604
+ message: 'message',
8605
+ outputs: 'outputs',
8606
+ startTime: 'start_time',
8607
+ state: 'state',
8608
+ };
8609
+ }
8610
+
8611
+ static types(): { [key: string]: any } {
8612
+ return {
8613
+ endTime: 'string',
8614
+ message: 'string',
8615
+ outputs: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
8616
+ startTime: 'string',
8617
+ state: 'string',
8618
+ };
8619
+ }
8620
+
8621
+ constructor(map?: { [key: string]: any }) {
8622
+ super(map);
8623
+ }
8624
+ }
8625
+
8626
+ export class DescribeTaskInfoResponseBodyTarget extends $tea.Model {
8627
+ id?: string;
8628
+ type?: string;
8629
+ static names(): { [key: string]: string } {
8630
+ return {
8631
+ id: 'id',
8632
+ type: 'type',
8633
+ };
8634
+ }
8635
+
8636
+ static types(): { [key: string]: any } {
8637
+ return {
8638
+ id: 'string',
8639
+ type: 'string',
7587
8640
  };
7588
8641
  }
7589
8642
 
@@ -7827,6 +8880,25 @@ export class DescribeWorkflowsResponseBodyJobs extends $tea.Model {
7827
8880
  }
7828
8881
  }
7829
8882
 
8883
+ export class FixNodePoolVulsRequestRolloutPolicy extends $tea.Model {
8884
+ maxParallelism?: number;
8885
+ static names(): { [key: string]: string } {
8886
+ return {
8887
+ maxParallelism: 'max_parallelism',
8888
+ };
8889
+ }
8890
+
8891
+ static types(): { [key: string]: any } {
8892
+ return {
8893
+ maxParallelism: 'number',
8894
+ };
8895
+ }
8896
+
8897
+ constructor(map?: { [key: string]: any }) {
8898
+ super(map);
8899
+ }
8900
+ }
8901
+
7830
8902
  export class GetKubernetesTriggerResponseBody extends $tea.Model {
7831
8903
  id?: string;
7832
8904
  name?: string;
@@ -8329,6 +9401,80 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
8329
9401
  }
8330
9402
  }
8331
9403
 
9404
+ export class ModifyNodePoolNodeConfigRequestKubeletConfig extends $tea.Model {
9405
+ cpuManagerPolicy?: string;
9406
+ eventBurst?: number;
9407
+ eventRecordQPS?: number;
9408
+ evictionHard?: { [key: string]: any };
9409
+ evictionSoft?: { [key: string]: any };
9410
+ evictionSoftGracePeriod?: { [key: string]: any };
9411
+ kubeAPIBurst?: number;
9412
+ kubeAPIQPS?: number;
9413
+ kubeReserved?: { [key: string]: any };
9414
+ registryBurst?: number;
9415
+ registryPullQPS?: number;
9416
+ serializeImagePulls?: boolean;
9417
+ systemReserved?: { [key: string]: any };
9418
+ static names(): { [key: string]: string } {
9419
+ return {
9420
+ cpuManagerPolicy: 'cpuManagerPolicy',
9421
+ eventBurst: 'eventBurst',
9422
+ eventRecordQPS: 'eventRecordQPS',
9423
+ evictionHard: 'evictionHard',
9424
+ evictionSoft: 'evictionSoft',
9425
+ evictionSoftGracePeriod: 'evictionSoftGracePeriod',
9426
+ kubeAPIBurst: 'kubeAPIBurst',
9427
+ kubeAPIQPS: 'kubeAPIQPS',
9428
+ kubeReserved: 'kubeReserved',
9429
+ registryBurst: 'registryBurst',
9430
+ registryPullQPS: 'registryPullQPS',
9431
+ serializeImagePulls: 'serializeImagePulls',
9432
+ systemReserved: 'systemReserved',
9433
+ };
9434
+ }
9435
+
9436
+ static types(): { [key: string]: any } {
9437
+ return {
9438
+ cpuManagerPolicy: 'string',
9439
+ eventBurst: 'number',
9440
+ eventRecordQPS: 'number',
9441
+ evictionHard: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
9442
+ evictionSoft: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
9443
+ evictionSoftGracePeriod: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
9444
+ kubeAPIBurst: 'number',
9445
+ kubeAPIQPS: 'number',
9446
+ kubeReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
9447
+ registryBurst: 'number',
9448
+ registryPullQPS: 'number',
9449
+ serializeImagePulls: 'boolean',
9450
+ systemReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
9451
+ };
9452
+ }
9453
+
9454
+ constructor(map?: { [key: string]: any }) {
9455
+ super(map);
9456
+ }
9457
+ }
9458
+
9459
+ export class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.Model {
9460
+ maxParallelism?: number;
9461
+ static names(): { [key: string]: string } {
9462
+ return {
9463
+ maxParallelism: 'max_parallelism',
9464
+ };
9465
+ }
9466
+
9467
+ static types(): { [key: string]: any } {
9468
+ return {
9469
+ maxParallelism: 'number',
9470
+ };
9471
+ }
9472
+
9473
+ constructor(map?: { [key: string]: any }) {
9474
+ super(map);
9475
+ }
9476
+ }
9477
+
8332
9478
  export class ScaleClusterRequestTags extends $tea.Model {
8333
9479
  key?: string;
8334
9480
  static names(): { [key: string]: string } {
@@ -8664,6 +9810,31 @@ export default class Client extends OpenApi {
8664
9810
  return $tea.cast<CancelComponentUpgradeResponse>(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
8665
9811
  }
8666
9812
 
9813
+ async cancelTask(taskId: string): Promise<CancelTaskResponse> {
9814
+ let runtime = new $Util.RuntimeOptions({ });
9815
+ let headers : {[key: string ]: string} = { };
9816
+ return await this.cancelTaskWithOptions(taskId, headers, runtime);
9817
+ }
9818
+
9819
+ async cancelTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelTaskResponse> {
9820
+ taskId = OpenApiUtil.getEncodeParam(taskId);
9821
+ let req = new $OpenApi.OpenApiRequest({
9822
+ headers: headers,
9823
+ });
9824
+ let params = new $OpenApi.Params({
9825
+ action: "CancelTask",
9826
+ version: "2015-12-15",
9827
+ protocol: "HTTPS",
9828
+ pathname: `/tasks/${taskId}/cancel`,
9829
+ method: "POST",
9830
+ authType: "AK",
9831
+ style: "ROA",
9832
+ reqBodyType: "json",
9833
+ bodyType: "none",
9834
+ });
9835
+ return $tea.cast<CancelTaskResponse>(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
9836
+ }
9837
+
8667
9838
  async cancelWorkflow(workflowName: string, request: CancelWorkflowRequest): Promise<CancelWorkflowResponse> {
8668
9839
  let runtime = new $Util.RuntimeOptions({ });
8669
9840
  let headers : {[key: string ]: string} = { };
@@ -8769,6 +9940,10 @@ export default class Client extends OpenApi {
8769
9940
  body["api_audiences"] = request.apiAudiences;
8770
9941
  }
8771
9942
 
9943
+ if (!Util.isUnset(request.chargeType)) {
9944
+ body["charge_type"] = request.chargeType;
9945
+ }
9946
+
8772
9947
  if (!Util.isUnset(request.cisEnabled)) {
8773
9948
  body["cis_enabled"] = request.cisEnabled;
8774
9949
  }
@@ -8953,6 +10128,14 @@ export default class Client extends OpenApi {
8953
10128
  body["os_type"] = request.osType;
8954
10129
  }
8955
10130
 
10131
+ if (!Util.isUnset(request.period)) {
10132
+ body["period"] = request.period;
10133
+ }
10134
+
10135
+ if (!Util.isUnset(request.periodUnit)) {
10136
+ body["period_unit"] = request.periodUnit;
10137
+ }
10138
+
8956
10139
  if (!Util.isUnset(request.platform)) {
8957
10140
  body["platform"] = request.platform;
8958
10141
  }
@@ -9958,6 +11141,46 @@ export default class Client extends OpenApi {
9958
11141
  return $tea.cast<DescribeClusterDetailResponse>(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
9959
11142
  }
9960
11143
 
11144
+ async describeClusterEvents(ClusterId: string, request: DescribeClusterEventsRequest): Promise<DescribeClusterEventsResponse> {
11145
+ let runtime = new $Util.RuntimeOptions({ });
11146
+ let headers : {[key: string ]: string} = { };
11147
+ return await this.describeClusterEventsWithOptions(ClusterId, request, headers, runtime);
11148
+ }
11149
+
11150
+ async describeClusterEventsWithOptions(ClusterId: string, request: DescribeClusterEventsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterEventsResponse> {
11151
+ Util.validateModel(request);
11152
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
11153
+ let query : {[key: string ]: any} = { };
11154
+ if (!Util.isUnset(request.pageNumber)) {
11155
+ query["page_number"] = request.pageNumber;
11156
+ }
11157
+
11158
+ if (!Util.isUnset(request.pageSize)) {
11159
+ query["page_size"] = request.pageSize;
11160
+ }
11161
+
11162
+ if (!Util.isUnset(request.taskId)) {
11163
+ query["task_id"] = request.taskId;
11164
+ }
11165
+
11166
+ let req = new $OpenApi.OpenApiRequest({
11167
+ headers: headers,
11168
+ query: OpenApiUtil.query(query),
11169
+ });
11170
+ let params = new $OpenApi.Params({
11171
+ action: "DescribeClusterEvents",
11172
+ version: "2015-12-15",
11173
+ protocol: "HTTPS",
11174
+ pathname: `/clusters/${ClusterId}/events`,
11175
+ method: "GET",
11176
+ authType: "AK",
11177
+ style: "ROA",
11178
+ reqBodyType: "json",
11179
+ bodyType: "json",
11180
+ });
11181
+ return $tea.cast<DescribeClusterEventsResponse>(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
11182
+ }
11183
+
9961
11184
  async describeClusterLogs(ClusterId: string): Promise<DescribeClusterLogsResponse> {
9962
11185
  let runtime = new $Util.RuntimeOptions({ });
9963
11186
  let headers : {[key: string ]: string} = { };
@@ -10107,6 +11330,31 @@ export default class Client extends OpenApi {
10107
11330
  return $tea.cast<DescribeClusterResourcesResponse>(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
10108
11331
  }
10109
11332
 
11333
+ async describeClusterTasks(clusterId: string): Promise<DescribeClusterTasksResponse> {
11334
+ let runtime = new $Util.RuntimeOptions({ });
11335
+ let headers : {[key: string ]: string} = { };
11336
+ return await this.describeClusterTasksWithOptions(clusterId, headers, runtime);
11337
+ }
11338
+
11339
+ async describeClusterTasksWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterTasksResponse> {
11340
+ clusterId = OpenApiUtil.getEncodeParam(clusterId);
11341
+ let req = new $OpenApi.OpenApiRequest({
11342
+ headers: headers,
11343
+ });
11344
+ let params = new $OpenApi.Params({
11345
+ action: "DescribeClusterTasks",
11346
+ version: "2015-12-15",
11347
+ protocol: "HTTPS",
11348
+ pathname: `/clusters/${clusterId}/tasks`,
11349
+ method: "GET",
11350
+ authType: "AK",
11351
+ style: "ROA",
11352
+ reqBodyType: "json",
11353
+ bodyType: "json",
11354
+ });
11355
+ return $tea.cast<DescribeClusterTasksResponse>(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
11356
+ }
11357
+
10110
11358
  async describeClusterUserKubeconfig(ClusterId: string, request: DescribeClusterUserKubeconfigRequest): Promise<DescribeClusterUserKubeconfigResponse> {
10111
11359
  let runtime = new $Util.RuntimeOptions({ });
10112
11360
  let headers : {[key: string ]: string} = { };
@@ -10512,6 +11760,32 @@ export default class Client extends OpenApi {
10512
11760
  return $tea.cast<DescribeKubernetesVersionMetadataResponse>(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
10513
11761
  }
10514
11762
 
11763
+ async describeNodePoolVuls(clusterId: string, nodepoolId: string): Promise<DescribeNodePoolVulsResponse> {
11764
+ let runtime = new $Util.RuntimeOptions({ });
11765
+ let headers : {[key: string ]: string} = { };
11766
+ return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, headers, runtime);
11767
+ }
11768
+
11769
+ async describeNodePoolVulsWithOptions(clusterId: string, nodepoolId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeNodePoolVulsResponse> {
11770
+ clusterId = OpenApiUtil.getEncodeParam(clusterId);
11771
+ nodepoolId = OpenApiUtil.getEncodeParam(nodepoolId);
11772
+ let req = new $OpenApi.OpenApiRequest({
11773
+ headers: headers,
11774
+ });
11775
+ let params = new $OpenApi.Params({
11776
+ action: "DescribeNodePoolVuls",
11777
+ version: "2015-12-15",
11778
+ protocol: "HTTPS",
11779
+ pathname: `/clusters/${clusterId}/nodepools/${nodepoolId}/vuls`,
11780
+ method: "GET",
11781
+ authType: "AK",
11782
+ style: "ROA",
11783
+ reqBodyType: "json",
11784
+ bodyType: "json",
11785
+ });
11786
+ return $tea.cast<DescribeNodePoolVulsResponse>(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
11787
+ }
11788
+
10515
11789
  async describePolicies(): Promise<DescribePoliciesResponse> {
10516
11790
  let runtime = new $Util.RuntimeOptions({ });
10517
11791
  let headers : {[key: string ]: string} = { };
@@ -10901,6 +12175,47 @@ export default class Client extends OpenApi {
10901
12175
  return $tea.cast<EdgeClusterAddEdgeMachineResponse>(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
10902
12176
  }
10903
12177
 
12178
+ async fixNodePoolVuls(clusterId: string, nodepoolId: string, request: FixNodePoolVulsRequest): Promise<FixNodePoolVulsResponse> {
12179
+ let runtime = new $Util.RuntimeOptions({ });
12180
+ let headers : {[key: string ]: string} = { };
12181
+ return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
12182
+ }
12183
+
12184
+ async fixNodePoolVulsWithOptions(clusterId: string, nodepoolId: string, request: FixNodePoolVulsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<FixNodePoolVulsResponse> {
12185
+ Util.validateModel(request);
12186
+ clusterId = OpenApiUtil.getEncodeParam(clusterId);
12187
+ nodepoolId = OpenApiUtil.getEncodeParam(nodepoolId);
12188
+ let body : {[key: string ]: any} = { };
12189
+ if (!Util.isUnset(request.nodes)) {
12190
+ body["nodes"] = request.nodes;
12191
+ }
12192
+
12193
+ if (!Util.isUnset($tea.toMap(request.rolloutPolicy))) {
12194
+ body["rollout_policy"] = request.rolloutPolicy;
12195
+ }
12196
+
12197
+ if (!Util.isUnset(request.vulList)) {
12198
+ body["vul_list"] = request.vulList;
12199
+ }
12200
+
12201
+ let req = new $OpenApi.OpenApiRequest({
12202
+ headers: headers,
12203
+ body: OpenApiUtil.parseToMap(body),
12204
+ });
12205
+ let params = new $OpenApi.Params({
12206
+ action: "FixNodePoolVuls",
12207
+ version: "2015-12-15",
12208
+ protocol: "HTTPS",
12209
+ pathname: `/clusters/${clusterId}/nodepools/${nodepoolId}/vuls/fix`,
12210
+ method: "POST",
12211
+ authType: "AK",
12212
+ style: "ROA",
12213
+ reqBodyType: "json",
12214
+ bodyType: "json",
12215
+ });
12216
+ return $tea.cast<FixNodePoolVulsResponse>(await this.callApi(params, req, runtime), new FixNodePoolVulsResponse({}));
12217
+ }
12218
+
10904
12219
  async getKubernetesTrigger(ClusterId: string, request: GetKubernetesTriggerRequest): Promise<GetKubernetesTriggerResponse> {
10905
12220
  let runtime = new $Util.RuntimeOptions({ });
10906
12221
  let headers : {[key: string ]: string} = { };
@@ -11081,16 +12396,27 @@ export default class Client extends OpenApi {
11081
12396
  return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
11082
12397
  }
11083
12398
 
11084
- async migrateCluster(clusterId: string): Promise<MigrateClusterResponse> {
12399
+ async migrateCluster(clusterId: string, request: MigrateClusterRequest): Promise<MigrateClusterResponse> {
11085
12400
  let runtime = new $Util.RuntimeOptions({ });
11086
12401
  let headers : {[key: string ]: string} = { };
11087
- return await this.migrateClusterWithOptions(clusterId, headers, runtime);
12402
+ return await this.migrateClusterWithOptions(clusterId, request, headers, runtime);
11088
12403
  }
11089
12404
 
11090
- async migrateClusterWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<MigrateClusterResponse> {
12405
+ async migrateClusterWithOptions(clusterId: string, request: MigrateClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<MigrateClusterResponse> {
12406
+ Util.validateModel(request);
11091
12407
  clusterId = OpenApiUtil.getEncodeParam(clusterId);
12408
+ let body : {[key: string ]: any} = { };
12409
+ if (!Util.isUnset(request.ossBucketEndpoint)) {
12410
+ body["oss_bucket_endpoint"] = request.ossBucketEndpoint;
12411
+ }
12412
+
12413
+ if (!Util.isUnset(request.ossBucketName)) {
12414
+ body["oss_bucket_name"] = request.ossBucketName;
12415
+ }
12416
+
11092
12417
  let req = new $OpenApi.OpenApiRequest({
11093
12418
  headers: headers,
12419
+ body: OpenApiUtil.parseToMap(body),
11094
12420
  });
11095
12421
  let params = new $OpenApi.Params({
11096
12422
  action: "MigrateCluster",
@@ -11101,7 +12427,7 @@ export default class Client extends OpenApi {
11101
12427
  authType: "AK",
11102
12428
  style: "ROA",
11103
12429
  reqBodyType: "json",
11104
- bodyType: "none",
12430
+ bodyType: "json",
11105
12431
  });
11106
12432
  return $tea.cast<MigrateClusterResponse>(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
11107
12433
  }
@@ -11319,6 +12645,43 @@ export default class Client extends OpenApi {
11319
12645
  return $tea.cast<ModifyClusterTagsResponse>(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
11320
12646
  }
11321
12647
 
12648
+ async modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest): Promise<ModifyNodePoolNodeConfigResponse> {
12649
+ let runtime = new $Util.RuntimeOptions({ });
12650
+ let headers : {[key: string ]: string} = { };
12651
+ return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
12652
+ }
12653
+
12654
+ async modifyNodePoolNodeConfigWithOptions(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyNodePoolNodeConfigResponse> {
12655
+ Util.validateModel(request);
12656
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
12657
+ NodepoolId = OpenApiUtil.getEncodeParam(NodepoolId);
12658
+ let body : {[key: string ]: any} = { };
12659
+ if (!Util.isUnset($tea.toMap(request.kubeletConfig))) {
12660
+ body["kubelet_config"] = request.kubeletConfig;
12661
+ }
12662
+
12663
+ if (!Util.isUnset($tea.toMap(request.rollingPolicy))) {
12664
+ body["rolling_policy"] = request.rollingPolicy;
12665
+ }
12666
+
12667
+ let req = new $OpenApi.OpenApiRequest({
12668
+ headers: headers,
12669
+ body: OpenApiUtil.parseToMap(body),
12670
+ });
12671
+ let params = new $OpenApi.Params({
12672
+ action: "ModifyNodePoolNodeConfig",
12673
+ version: "2015-12-15",
12674
+ protocol: "HTTPS",
12675
+ pathname: `/clusters/${ClusterId}/nodepools/${NodepoolId}/node_config`,
12676
+ method: "PUT",
12677
+ authType: "AK",
12678
+ style: "ROA",
12679
+ reqBodyType: "json",
12680
+ bodyType: "json",
12681
+ });
12682
+ return $tea.cast<ModifyNodePoolNodeConfigResponse>(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
12683
+ }
12684
+
11322
12685
  async modifyPolicyInstance(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest): Promise<ModifyPolicyInstanceResponse> {
11323
12686
  let runtime = new $Util.RuntimeOptions({ });
11324
12687
  let headers : {[key: string ]: string} = { };
@@ -11446,6 +12809,31 @@ export default class Client extends OpenApi {
11446
12809
  return $tea.cast<PauseComponentUpgradeResponse>(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
11447
12810
  }
11448
12811
 
12812
+ async pauseTask(taskId: string): Promise<PauseTaskResponse> {
12813
+ let runtime = new $Util.RuntimeOptions({ });
12814
+ let headers : {[key: string ]: string} = { };
12815
+ return await this.pauseTaskWithOptions(taskId, headers, runtime);
12816
+ }
12817
+
12818
+ async pauseTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseTaskResponse> {
12819
+ taskId = OpenApiUtil.getEncodeParam(taskId);
12820
+ let req = new $OpenApi.OpenApiRequest({
12821
+ headers: headers,
12822
+ });
12823
+ let params = new $OpenApi.Params({
12824
+ action: "PauseTask",
12825
+ version: "2015-12-15",
12826
+ protocol: "HTTPS",
12827
+ pathname: `/tasks/${taskId}/pause`,
12828
+ method: "POST",
12829
+ authType: "AK",
12830
+ style: "ROA",
12831
+ reqBodyType: "json",
12832
+ bodyType: "none",
12833
+ });
12834
+ return $tea.cast<PauseTaskResponse>(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
12835
+ }
12836
+
11449
12837
  async removeClusterNodes(ClusterId: string, request: RemoveClusterNodesRequest): Promise<RemoveClusterNodesResponse> {
11450
12838
  let runtime = new $Util.RuntimeOptions({ });
11451
12839
  let headers : {[key: string ]: string} = { };
@@ -11570,6 +12958,31 @@ export default class Client extends OpenApi {
11570
12958
  return $tea.cast<ResumeComponentUpgradeResponse>(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
11571
12959
  }
11572
12960
 
12961
+ async resumeTask(taskId: string): Promise<ResumeTaskResponse> {
12962
+ let runtime = new $Util.RuntimeOptions({ });
12963
+ let headers : {[key: string ]: string} = { };
12964
+ return await this.resumeTaskWithOptions(taskId, headers, runtime);
12965
+ }
12966
+
12967
+ async resumeTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeTaskResponse> {
12968
+ taskId = OpenApiUtil.getEncodeParam(taskId);
12969
+ let req = new $OpenApi.OpenApiRequest({
12970
+ headers: headers,
12971
+ });
12972
+ let params = new $OpenApi.Params({
12973
+ action: "ResumeTask",
12974
+ version: "2015-12-15",
12975
+ protocol: "HTTPS",
12976
+ pathname: `/tasks/${taskId}/resume`,
12977
+ method: "POST",
12978
+ authType: "AK",
12979
+ style: "ROA",
12980
+ reqBodyType: "json",
12981
+ bodyType: "none",
12982
+ });
12983
+ return $tea.cast<ResumeTaskResponse>(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
12984
+ }
12985
+
11573
12986
  async resumeUpgradeCluster(ClusterId: string): Promise<ResumeUpgradeClusterResponse> {
11574
12987
  let runtime = new $Util.RuntimeOptions({ });
11575
12988
  let headers : {[key: string ]: string} = { };