@alicloud/cs20151215 3.0.12 → 3.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.js CHANGED
@@ -206,12 +206,14 @@ class AttachInstancesResponse extends $tea.Model {
206
206
  static names() {
207
207
  return {
208
208
  headers: 'headers',
209
+ statusCode: 'statusCode',
209
210
  body: 'body',
210
211
  };
211
212
  }
212
213
  static types() {
213
214
  return {
214
215
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
216
+ statusCode: 'number',
215
217
  body: AttachInstancesResponseBody,
216
218
  };
217
219
  }
@@ -224,11 +226,13 @@ class CancelClusterUpgradeResponse extends $tea.Model {
224
226
  static names() {
225
227
  return {
226
228
  headers: 'headers',
229
+ statusCode: 'statusCode',
227
230
  };
228
231
  }
229
232
  static types() {
230
233
  return {
231
234
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
235
+ statusCode: 'number',
232
236
  };
233
237
  }
234
238
  }
@@ -240,15 +244,35 @@ class CancelComponentUpgradeResponse extends $tea.Model {
240
244
  static names() {
241
245
  return {
242
246
  headers: 'headers',
247
+ statusCode: 'statusCode',
243
248
  };
244
249
  }
245
250
  static types() {
246
251
  return {
247
252
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
253
+ statusCode: 'number',
248
254
  };
249
255
  }
250
256
  }
251
257
  exports.CancelComponentUpgradeResponse = CancelComponentUpgradeResponse;
258
+ class CancelTaskResponse extends $tea.Model {
259
+ constructor(map) {
260
+ super(map);
261
+ }
262
+ static names() {
263
+ return {
264
+ headers: 'headers',
265
+ statusCode: 'statusCode',
266
+ };
267
+ }
268
+ static types() {
269
+ return {
270
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
271
+ statusCode: 'number',
272
+ };
273
+ }
274
+ }
275
+ exports.CancelTaskResponse = CancelTaskResponse;
252
276
  class CancelWorkflowRequest extends $tea.Model {
253
277
  constructor(map) {
254
278
  super(map);
@@ -272,11 +296,13 @@ class CancelWorkflowResponse extends $tea.Model {
272
296
  static names() {
273
297
  return {
274
298
  headers: 'headers',
299
+ statusCode: 'statusCode',
275
300
  };
276
301
  }
277
302
  static types() {
278
303
  return {
279
304
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
305
+ statusCode: 'number',
280
306
  };
281
307
  }
282
308
  }
@@ -316,11 +342,13 @@ class CreateAutoscalingConfigResponse extends $tea.Model {
316
342
  static names() {
317
343
  return {
318
344
  headers: 'headers',
345
+ statusCode: 'statusCode',
319
346
  };
320
347
  }
321
348
  static types() {
322
349
  return {
323
350
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
351
+ statusCode: 'number',
324
352
  };
325
353
  }
326
354
  }
@@ -534,12 +562,14 @@ class CreateClusterResponse extends $tea.Model {
534
562
  static names() {
535
563
  return {
536
564
  headers: 'headers',
565
+ statusCode: 'statusCode',
537
566
  body: 'body',
538
567
  };
539
568
  }
540
569
  static types() {
541
570
  return {
542
571
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
572
+ statusCode: 'number',
543
573
  body: CreateClusterResponseBody,
544
574
  };
545
575
  }
@@ -602,12 +632,14 @@ class CreateClusterNodePoolResponse extends $tea.Model {
602
632
  static names() {
603
633
  return {
604
634
  headers: 'headers',
635
+ statusCode: 'statusCode',
605
636
  body: 'body',
606
637
  };
607
638
  }
608
639
  static types() {
609
640
  return {
610
641
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
642
+ statusCode: 'number',
611
643
  body: CreateClusterNodePoolResponseBody,
612
644
  };
613
645
  }
@@ -658,12 +690,14 @@ class CreateEdgeMachineResponse extends $tea.Model {
658
690
  static names() {
659
691
  return {
660
692
  headers: 'headers',
693
+ statusCode: 'statusCode',
661
694
  body: 'body',
662
695
  };
663
696
  }
664
697
  static types() {
665
698
  return {
666
699
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
700
+ statusCode: 'number',
667
701
  body: CreateEdgeMachineResponseBody,
668
702
  };
669
703
  }
@@ -722,12 +756,14 @@ class CreateKubernetesTriggerResponse extends $tea.Model {
722
756
  static names() {
723
757
  return {
724
758
  headers: 'headers',
759
+ statusCode: 'statusCode',
725
760
  body: 'body',
726
761
  };
727
762
  }
728
763
  static types() {
729
764
  return {
730
765
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
766
+ statusCode: 'number',
731
767
  body: CreateKubernetesTriggerResponseBody,
732
768
  };
733
769
  }
@@ -780,12 +816,14 @@ class CreateTemplateResponse extends $tea.Model {
780
816
  static names() {
781
817
  return {
782
818
  headers: 'headers',
819
+ statusCode: 'statusCode',
783
820
  body: 'body',
784
821
  };
785
822
  }
786
823
  static types() {
787
824
  return {
788
825
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
826
+ statusCode: 'number',
789
827
  body: CreateTemplateResponseBody,
790
828
  };
791
829
  }
@@ -844,12 +882,14 @@ class CreateTriggerResponse extends $tea.Model {
844
882
  static names() {
845
883
  return {
846
884
  headers: 'headers',
885
+ statusCode: 'statusCode',
847
886
  body: 'body',
848
887
  };
849
888
  }
850
889
  static types() {
851
890
  return {
852
891
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
892
+ statusCode: 'number',
853
893
  body: CreateTriggerResponseBody,
854
894
  };
855
895
  }
@@ -862,11 +902,13 @@ class DeleteAlertContactResponse extends $tea.Model {
862
902
  static names() {
863
903
  return {
864
904
  headers: 'headers',
905
+ statusCode: 'statusCode',
865
906
  };
866
907
  }
867
908
  static types() {
868
909
  return {
869
910
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
911
+ statusCode: 'number',
870
912
  };
871
913
  }
872
914
  }
@@ -878,11 +920,13 @@ class DeleteAlertContactGroupResponse extends $tea.Model {
878
920
  static names() {
879
921
  return {
880
922
  headers: 'headers',
923
+ statusCode: 'statusCode',
881
924
  };
882
925
  }
883
926
  static types() {
884
927
  return {
885
928
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
929
+ statusCode: 'number',
886
930
  };
887
931
  }
888
932
  }
@@ -934,11 +978,13 @@ class DeleteClusterResponse extends $tea.Model {
934
978
  static names() {
935
979
  return {
936
980
  headers: 'headers',
981
+ statusCode: 'statusCode',
937
982
  };
938
983
  }
939
984
  static types() {
940
985
  return {
941
986
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
987
+ statusCode: 'number',
942
988
  };
943
989
  }
944
990
  }
@@ -982,12 +1028,14 @@ class DeleteClusterNodepoolResponse extends $tea.Model {
982
1028
  static names() {
983
1029
  return {
984
1030
  headers: 'headers',
1031
+ statusCode: 'statusCode',
985
1032
  body: 'body',
986
1033
  };
987
1034
  }
988
1035
  static types() {
989
1036
  return {
990
1037
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1038
+ statusCode: 'number',
991
1039
  body: DeleteClusterNodepoolResponseBody,
992
1040
  };
993
1041
  }
@@ -1040,12 +1088,14 @@ class DeleteClusterNodesResponse extends $tea.Model {
1040
1088
  static names() {
1041
1089
  return {
1042
1090
  headers: 'headers',
1091
+ statusCode: 'statusCode',
1043
1092
  body: 'body',
1044
1093
  };
1045
1094
  }
1046
1095
  static types() {
1047
1096
  return {
1048
1097
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1098
+ statusCode: 'number',
1049
1099
  body: DeleteClusterNodesResponseBody,
1050
1100
  };
1051
1101
  }
@@ -1074,11 +1124,13 @@ class DeleteEdgeMachineResponse extends $tea.Model {
1074
1124
  static names() {
1075
1125
  return {
1076
1126
  headers: 'headers',
1127
+ statusCode: 'statusCode',
1077
1128
  };
1078
1129
  }
1079
1130
  static types() {
1080
1131
  return {
1081
1132
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1133
+ statusCode: 'number',
1082
1134
  };
1083
1135
  }
1084
1136
  }
@@ -1090,11 +1142,13 @@ class DeleteKubernetesTriggerResponse extends $tea.Model {
1090
1142
  static names() {
1091
1143
  return {
1092
1144
  headers: 'headers',
1145
+ statusCode: 'statusCode',
1093
1146
  };
1094
1147
  }
1095
1148
  static types() {
1096
1149
  return {
1097
1150
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1151
+ statusCode: 'number',
1098
1152
  };
1099
1153
  }
1100
1154
  }
@@ -1138,12 +1192,14 @@ class DeletePolicyInstanceResponse extends $tea.Model {
1138
1192
  static names() {
1139
1193
  return {
1140
1194
  headers: 'headers',
1195
+ statusCode: 'statusCode',
1141
1196
  body: 'body',
1142
1197
  };
1143
1198
  }
1144
1199
  static types() {
1145
1200
  return {
1146
1201
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1202
+ statusCode: 'number',
1147
1203
  body: DeletePolicyInstanceResponseBody,
1148
1204
  };
1149
1205
  }
@@ -1156,11 +1212,13 @@ class DeleteTemplateResponse extends $tea.Model {
1156
1212
  static names() {
1157
1213
  return {
1158
1214
  headers: 'headers',
1215
+ statusCode: 'statusCode',
1159
1216
  };
1160
1217
  }
1161
1218
  static types() {
1162
1219
  return {
1163
1220
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1221
+ statusCode: 'number',
1164
1222
  };
1165
1223
  }
1166
1224
  }
@@ -1172,11 +1230,13 @@ class DeleteTriggerResponse extends $tea.Model {
1172
1230
  static names() {
1173
1231
  return {
1174
1232
  headers: 'headers',
1233
+ statusCode: 'statusCode',
1175
1234
  };
1176
1235
  }
1177
1236
  static types() {
1178
1237
  return {
1179
1238
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1239
+ statusCode: 'number',
1180
1240
  };
1181
1241
  }
1182
1242
  }
@@ -1224,12 +1284,14 @@ class DeployPolicyInstanceResponse extends $tea.Model {
1224
1284
  static names() {
1225
1285
  return {
1226
1286
  headers: 'headers',
1287
+ statusCode: 'statusCode',
1227
1288
  body: 'body',
1228
1289
  };
1229
1290
  }
1230
1291
  static types() {
1231
1292
  return {
1232
1293
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1294
+ statusCode: 'number',
1233
1295
  body: DeployPolicyInstanceResponseBody,
1234
1296
  };
1235
1297
  }
@@ -1278,12 +1340,14 @@ class DescirbeWorkflowResponse extends $tea.Model {
1278
1340
  static names() {
1279
1341
  return {
1280
1342
  headers: 'headers',
1343
+ statusCode: 'statusCode',
1281
1344
  body: 'body',
1282
1345
  };
1283
1346
  }
1284
1347
  static types() {
1285
1348
  return {
1286
1349
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1350
+ statusCode: 'number',
1287
1351
  body: DescirbeWorkflowResponseBody,
1288
1352
  };
1289
1353
  }
@@ -1332,12 +1396,14 @@ class DescribeAddonsResponse extends $tea.Model {
1332
1396
  static names() {
1333
1397
  return {
1334
1398
  headers: 'headers',
1399
+ statusCode: 'statusCode',
1335
1400
  body: 'body',
1336
1401
  };
1337
1402
  }
1338
1403
  static types() {
1339
1404
  return {
1340
1405
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1406
+ statusCode: 'number',
1341
1407
  body: DescribeAddonsResponseBody,
1342
1408
  };
1343
1409
  }
@@ -1370,12 +1436,14 @@ class DescribeClusterAddonMetadataResponse extends $tea.Model {
1370
1436
  static names() {
1371
1437
  return {
1372
1438
  headers: 'headers',
1439
+ statusCode: 'statusCode',
1373
1440
  body: 'body',
1374
1441
  };
1375
1442
  }
1376
1443
  static types() {
1377
1444
  return {
1378
1445
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1446
+ statusCode: 'number',
1379
1447
  body: DescribeClusterAddonMetadataResponseBody,
1380
1448
  };
1381
1449
  }
@@ -1388,12 +1456,14 @@ class DescribeClusterAddonUpgradeStatusResponse extends $tea.Model {
1388
1456
  static names() {
1389
1457
  return {
1390
1458
  headers: 'headers',
1459
+ statusCode: 'statusCode',
1391
1460
  body: 'body',
1392
1461
  };
1393
1462
  }
1394
1463
  static types() {
1395
1464
  return {
1396
1465
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1466
+ statusCode: 'number',
1397
1467
  body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1398
1468
  };
1399
1469
  }
@@ -1438,12 +1508,14 @@ class DescribeClusterAddonsUpgradeStatusResponse extends $tea.Model {
1438
1508
  static names() {
1439
1509
  return {
1440
1510
  headers: 'headers',
1511
+ statusCode: 'statusCode',
1441
1512
  body: 'body',
1442
1513
  };
1443
1514
  }
1444
1515
  static types() {
1445
1516
  return {
1446
1517
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1518
+ statusCode: 'number',
1447
1519
  body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1448
1520
  };
1449
1521
  }
@@ -1456,12 +1528,14 @@ class DescribeClusterAddonsVersionResponse extends $tea.Model {
1456
1528
  static names() {
1457
1529
  return {
1458
1530
  headers: 'headers',
1531
+ statusCode: 'statusCode',
1459
1532
  body: 'body',
1460
1533
  };
1461
1534
  }
1462
1535
  static types() {
1463
1536
  return {
1464
1537
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1538
+ statusCode: 'number',
1465
1539
  body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1466
1540
  };
1467
1541
  }
@@ -1500,12 +1574,14 @@ class DescribeClusterAttachScriptsResponse extends $tea.Model {
1500
1574
  static names() {
1501
1575
  return {
1502
1576
  headers: 'headers',
1577
+ statusCode: 'statusCode',
1503
1578
  body: 'body',
1504
1579
  };
1505
1580
  }
1506
1581
  static types() {
1507
1582
  return {
1508
1583
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1584
+ statusCode: 'number',
1509
1585
  body: 'string',
1510
1586
  };
1511
1587
  }
@@ -1590,12 +1666,14 @@ class DescribeClusterDetailResponse extends $tea.Model {
1590
1666
  static names() {
1591
1667
  return {
1592
1668
  headers: 'headers',
1669
+ statusCode: 'statusCode',
1593
1670
  body: 'body',
1594
1671
  };
1595
1672
  }
1596
1673
  static types() {
1597
1674
  return {
1598
1675
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1676
+ statusCode: 'number',
1599
1677
  body: DescribeClusterDetailResponseBody,
1600
1678
  };
1601
1679
  }
@@ -1608,12 +1686,14 @@ class DescribeClusterLogsResponse extends $tea.Model {
1608
1686
  static names() {
1609
1687
  return {
1610
1688
  headers: 'headers',
1689
+ statusCode: 'statusCode',
1611
1690
  body: 'body',
1612
1691
  };
1613
1692
  }
1614
1693
  static types() {
1615
1694
  return {
1616
1695
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1696
+ statusCode: 'number',
1617
1697
  body: { 'type': 'array', 'itemType': DescribeClusterLogsResponseBody },
1618
1698
  };
1619
1699
  }
@@ -1660,12 +1740,14 @@ class DescribeClusterNodePoolDetailResponse extends $tea.Model {
1660
1740
  static names() {
1661
1741
  return {
1662
1742
  headers: 'headers',
1743
+ statusCode: 'statusCode',
1663
1744
  body: 'body',
1664
1745
  };
1665
1746
  }
1666
1747
  static types() {
1667
1748
  return {
1668
1749
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1750
+ statusCode: 'number',
1669
1751
  body: DescribeClusterNodePoolDetailResponseBody,
1670
1752
  };
1671
1753
  }
@@ -1694,12 +1776,14 @@ class DescribeClusterNodePoolsResponse extends $tea.Model {
1694
1776
  static names() {
1695
1777
  return {
1696
1778
  headers: 'headers',
1779
+ statusCode: 'statusCode',
1697
1780
  body: 'body',
1698
1781
  };
1699
1782
  }
1700
1783
  static types() {
1701
1784
  return {
1702
1785
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1786
+ statusCode: 'number',
1703
1787
  body: DescribeClusterNodePoolsResponseBody,
1704
1788
  };
1705
1789
  }
@@ -1754,12 +1838,14 @@ class DescribeClusterNodesResponse extends $tea.Model {
1754
1838
  static names() {
1755
1839
  return {
1756
1840
  headers: 'headers',
1841
+ statusCode: 'statusCode',
1757
1842
  body: 'body',
1758
1843
  };
1759
1844
  }
1760
1845
  static types() {
1761
1846
  return {
1762
1847
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1848
+ statusCode: 'number',
1763
1849
  body: DescribeClusterNodesResponseBody,
1764
1850
  };
1765
1851
  }
@@ -1772,12 +1858,14 @@ class DescribeClusterResourcesResponse extends $tea.Model {
1772
1858
  static names() {
1773
1859
  return {
1774
1860
  headers: 'headers',
1861
+ statusCode: 'statusCode',
1775
1862
  body: 'body',
1776
1863
  };
1777
1864
  }
1778
1865
  static types() {
1779
1866
  return {
1780
1867
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1868
+ statusCode: 'number',
1781
1869
  body: { 'type': 'array', 'itemType': DescribeClusterResourcesResponseBody },
1782
1870
  };
1783
1871
  }
@@ -1826,12 +1914,14 @@ class DescribeClusterUserKubeconfigResponse extends $tea.Model {
1826
1914
  static names() {
1827
1915
  return {
1828
1916
  headers: 'headers',
1917
+ statusCode: 'statusCode',
1829
1918
  body: 'body',
1830
1919
  };
1831
1920
  }
1832
1921
  static types() {
1833
1922
  return {
1834
1923
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1924
+ statusCode: 'number',
1835
1925
  body: DescribeClusterUserKubeconfigResponseBody,
1836
1926
  };
1837
1927
  }
@@ -1876,12 +1966,14 @@ class DescribeClusterV2UserKubeconfigResponse extends $tea.Model {
1876
1966
  static names() {
1877
1967
  return {
1878
1968
  headers: 'headers',
1969
+ statusCode: 'statusCode',
1879
1970
  body: 'body',
1880
1971
  };
1881
1972
  }
1882
1973
  static types() {
1883
1974
  return {
1884
1975
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1976
+ statusCode: 'number',
1885
1977
  body: DescribeClusterV2UserKubeconfigResponseBody,
1886
1978
  };
1887
1979
  }
@@ -1912,12 +2004,14 @@ class DescribeClustersResponse extends $tea.Model {
1912
2004
  static names() {
1913
2005
  return {
1914
2006
  headers: 'headers',
2007
+ statusCode: 'statusCode',
1915
2008
  body: 'body',
1916
2009
  };
1917
2010
  }
1918
2011
  static types() {
1919
2012
  return {
1920
2013
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2014
+ statusCode: 'number',
1921
2015
  body: { 'type': 'array', 'itemType': DescribeClustersResponseBody },
1922
2016
  };
1923
2017
  }
@@ -1976,12 +2070,14 @@ class DescribeClustersV1Response extends $tea.Model {
1976
2070
  static names() {
1977
2071
  return {
1978
2072
  headers: 'headers',
2073
+ statusCode: 'statusCode',
1979
2074
  body: 'body',
1980
2075
  };
1981
2076
  }
1982
2077
  static types() {
1983
2078
  return {
1984
2079
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2080
+ statusCode: 'number',
1985
2081
  body: DescribeClustersV1ResponseBody,
1986
2082
  };
1987
2083
  }
@@ -2018,12 +2114,14 @@ class DescribeEdgeMachineActiveProcessResponse extends $tea.Model {
2018
2114
  static names() {
2019
2115
  return {
2020
2116
  headers: 'headers',
2117
+ statusCode: 'statusCode',
2021
2118
  body: 'body',
2022
2119
  };
2023
2120
  }
2024
2121
  static types() {
2025
2122
  return {
2026
2123
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2124
+ statusCode: 'number',
2027
2125
  body: DescribeEdgeMachineActiveProcessResponseBody,
2028
2126
  };
2029
2127
  }
@@ -2052,12 +2150,14 @@ class DescribeEdgeMachineModelsResponse extends $tea.Model {
2052
2150
  static names() {
2053
2151
  return {
2054
2152
  headers: 'headers',
2153
+ statusCode: 'statusCode',
2055
2154
  body: 'body',
2056
2155
  };
2057
2156
  }
2058
2157
  static types() {
2059
2158
  return {
2060
2159
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2160
+ statusCode: 'number',
2061
2161
  body: DescribeEdgeMachineModelsResponseBody,
2062
2162
  };
2063
2163
  }
@@ -2098,12 +2198,14 @@ class DescribeEdgeMachineTunnelConfigDetailResponse extends $tea.Model {
2098
2198
  static names() {
2099
2199
  return {
2100
2200
  headers: 'headers',
2201
+ statusCode: 'statusCode',
2101
2202
  body: 'body',
2102
2203
  };
2103
2204
  }
2104
2205
  static types() {
2105
2206
  return {
2106
2207
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2208
+ statusCode: 'number',
2107
2209
  body: DescribeEdgeMachineTunnelConfigDetailResponseBody,
2108
2210
  };
2109
2211
  }
@@ -2160,12 +2262,14 @@ class DescribeEdgeMachinesResponse extends $tea.Model {
2160
2262
  static names() {
2161
2263
  return {
2162
2264
  headers: 'headers',
2265
+ statusCode: 'statusCode',
2163
2266
  body: 'body',
2164
2267
  };
2165
2268
  }
2166
2269
  static types() {
2167
2270
  return {
2168
2271
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2272
+ statusCode: 'number',
2169
2273
  body: DescribeEdgeMachinesResponseBody,
2170
2274
  };
2171
2275
  }
@@ -2218,12 +2322,14 @@ class DescribeEventsResponse extends $tea.Model {
2218
2322
  static names() {
2219
2323
  return {
2220
2324
  headers: 'headers',
2325
+ statusCode: 'statusCode',
2221
2326
  body: 'body',
2222
2327
  };
2223
2328
  }
2224
2329
  static types() {
2225
2330
  return {
2226
2331
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2332
+ statusCode: 'number',
2227
2333
  body: DescribeEventsResponseBody,
2228
2334
  };
2229
2335
  }
@@ -2268,12 +2374,14 @@ class DescribeExternalAgentResponse extends $tea.Model {
2268
2374
  static names() {
2269
2375
  return {
2270
2376
  headers: 'headers',
2377
+ statusCode: 'statusCode',
2271
2378
  body: 'body',
2272
2379
  };
2273
2380
  }
2274
2381
  static types() {
2275
2382
  return {
2276
2383
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2384
+ statusCode: 'number',
2277
2385
  body: DescribeExternalAgentResponseBody,
2278
2386
  };
2279
2387
  }
@@ -2310,17 +2418,55 @@ class DescribeKubernetesVersionMetadataResponse extends $tea.Model {
2310
2418
  static names() {
2311
2419
  return {
2312
2420
  headers: 'headers',
2421
+ statusCode: 'statusCode',
2313
2422
  body: 'body',
2314
2423
  };
2315
2424
  }
2316
2425
  static types() {
2317
2426
  return {
2318
2427
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2428
+ statusCode: 'number',
2319
2429
  body: { 'type': 'array', 'itemType': DescribeKubernetesVersionMetadataResponseBody },
2320
2430
  };
2321
2431
  }
2322
2432
  }
2323
2433
  exports.DescribeKubernetesVersionMetadataResponse = DescribeKubernetesVersionMetadataResponse;
2434
+ class DescribeNodePoolVulsResponseBody extends $tea.Model {
2435
+ constructor(map) {
2436
+ super(map);
2437
+ }
2438
+ static names() {
2439
+ return {
2440
+ vulRecords: 'vul_records',
2441
+ };
2442
+ }
2443
+ static types() {
2444
+ return {
2445
+ vulRecords: { 'type': 'array', 'itemType': DescribeNodePoolVulsResponseBodyVulRecords },
2446
+ };
2447
+ }
2448
+ }
2449
+ exports.DescribeNodePoolVulsResponseBody = DescribeNodePoolVulsResponseBody;
2450
+ class DescribeNodePoolVulsResponse extends $tea.Model {
2451
+ constructor(map) {
2452
+ super(map);
2453
+ }
2454
+ static names() {
2455
+ return {
2456
+ headers: 'headers',
2457
+ statusCode: 'statusCode',
2458
+ body: 'body',
2459
+ };
2460
+ }
2461
+ static types() {
2462
+ return {
2463
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2464
+ statusCode: 'number',
2465
+ body: DescribeNodePoolVulsResponseBody,
2466
+ };
2467
+ }
2468
+ }
2469
+ exports.DescribeNodePoolVulsResponse = DescribeNodePoolVulsResponse;
2324
2470
  class DescribePoliciesResponse extends $tea.Model {
2325
2471
  constructor(map) {
2326
2472
  super(map);
@@ -2328,12 +2474,14 @@ class DescribePoliciesResponse extends $tea.Model {
2328
2474
  static names() {
2329
2475
  return {
2330
2476
  headers: 'headers',
2477
+ statusCode: 'statusCode',
2331
2478
  body: 'body',
2332
2479
  };
2333
2480
  }
2334
2481
  static types() {
2335
2482
  return {
2336
2483
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2484
+ statusCode: 'number',
2337
2485
  body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2338
2486
  };
2339
2487
  }
@@ -2376,12 +2524,14 @@ class DescribePolicyDetailsResponse extends $tea.Model {
2376
2524
  static names() {
2377
2525
  return {
2378
2526
  headers: 'headers',
2527
+ statusCode: 'statusCode',
2379
2528
  body: 'body',
2380
2529
  };
2381
2530
  }
2382
2531
  static types() {
2383
2532
  return {
2384
2533
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2534
+ statusCode: 'number',
2385
2535
  body: DescribePolicyDetailsResponseBody,
2386
2536
  };
2387
2537
  }
@@ -2416,12 +2566,14 @@ class DescribePolicyGovernanceInClusterResponse extends $tea.Model {
2416
2566
  static names() {
2417
2567
  return {
2418
2568
  headers: 'headers',
2569
+ statusCode: 'statusCode',
2419
2570
  body: 'body',
2420
2571
  };
2421
2572
  }
2422
2573
  static types() {
2423
2574
  return {
2424
2575
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2576
+ statusCode: 'number',
2425
2577
  body: DescribePolicyGovernanceInClusterResponseBody,
2426
2578
  };
2427
2579
  }
@@ -2452,12 +2604,14 @@ class DescribePolicyInstancesResponse extends $tea.Model {
2452
2604
  static names() {
2453
2605
  return {
2454
2606
  headers: 'headers',
2607
+ statusCode: 'statusCode',
2455
2608
  body: 'body',
2456
2609
  };
2457
2610
  }
2458
2611
  static types() {
2459
2612
  return {
2460
2613
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2614
+ statusCode: 'number',
2461
2615
  body: { 'type': 'array', 'itemType': DescribePolicyInstancesResponseBody },
2462
2616
  };
2463
2617
  }
@@ -2488,12 +2642,14 @@ class DescribePolicyInstancesStatusResponse extends $tea.Model {
2488
2642
  static names() {
2489
2643
  return {
2490
2644
  headers: 'headers',
2645
+ statusCode: 'statusCode',
2491
2646
  body: 'body',
2492
2647
  };
2493
2648
  }
2494
2649
  static types() {
2495
2650
  return {
2496
2651
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2652
+ statusCode: 'number',
2497
2653
  body: DescribePolicyInstancesStatusResponseBody,
2498
2654
  };
2499
2655
  }
@@ -2534,12 +2690,14 @@ class DescribeTaskInfoResponse extends $tea.Model {
2534
2690
  static names() {
2535
2691
  return {
2536
2692
  headers: 'headers',
2693
+ statusCode: 'statusCode',
2537
2694
  body: 'body',
2538
2695
  };
2539
2696
  }
2540
2697
  static types() {
2541
2698
  return {
2542
2699
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2700
+ statusCode: 'number',
2543
2701
  body: DescribeTaskInfoResponseBody,
2544
2702
  };
2545
2703
  }
@@ -2568,12 +2726,14 @@ class DescribeTemplateAttributeResponse extends $tea.Model {
2568
2726
  static names() {
2569
2727
  return {
2570
2728
  headers: 'headers',
2729
+ statusCode: 'statusCode',
2571
2730
  body: 'body',
2572
2731
  };
2573
2732
  }
2574
2733
  static types() {
2575
2734
  return {
2576
2735
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2736
+ statusCode: 'number',
2577
2737
  body: { 'type': 'array', 'itemType': DescribeTemplateAttributeResponseBody },
2578
2738
  };
2579
2739
  }
@@ -2624,12 +2784,14 @@ class DescribeTemplatesResponse extends $tea.Model {
2624
2784
  static names() {
2625
2785
  return {
2626
2786
  headers: 'headers',
2787
+ statusCode: 'statusCode',
2627
2788
  body: 'body',
2628
2789
  };
2629
2790
  }
2630
2791
  static types() {
2631
2792
  return {
2632
2793
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2794
+ statusCode: 'number',
2633
2795
  body: DescribeTemplatesResponseBody,
2634
2796
  };
2635
2797
  }
@@ -2664,12 +2826,14 @@ class DescribeTriggerResponse extends $tea.Model {
2664
2826
  static names() {
2665
2827
  return {
2666
2828
  headers: 'headers',
2829
+ statusCode: 'statusCode',
2667
2830
  body: 'body',
2668
2831
  };
2669
2832
  }
2670
2833
  static types() {
2671
2834
  return {
2672
2835
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2836
+ statusCode: 'number',
2673
2837
  body: { 'type': 'array', 'itemType': DescribeTriggerResponseBody },
2674
2838
  };
2675
2839
  }
@@ -2682,12 +2846,14 @@ class DescribeUserPermissionResponse extends $tea.Model {
2682
2846
  static names() {
2683
2847
  return {
2684
2848
  headers: 'headers',
2849
+ statusCode: 'statusCode',
2685
2850
  body: 'body',
2686
2851
  };
2687
2852
  }
2688
2853
  static types() {
2689
2854
  return {
2690
2855
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2856
+ statusCode: 'number',
2691
2857
  body: { 'type': 'array', 'itemType': DescribeUserPermissionResponseBody },
2692
2858
  };
2693
2859
  }
@@ -2724,12 +2890,14 @@ class DescribeUserQuotaResponse extends $tea.Model {
2724
2890
  static names() {
2725
2891
  return {
2726
2892
  headers: 'headers',
2893
+ statusCode: 'statusCode',
2727
2894
  body: 'body',
2728
2895
  };
2729
2896
  }
2730
2897
  static types() {
2731
2898
  return {
2732
2899
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2900
+ statusCode: 'number',
2733
2901
  body: DescribeUserQuotaResponseBody,
2734
2902
  };
2735
2903
  }
@@ -2758,12 +2926,14 @@ class DescribeWorkflowsResponse extends $tea.Model {
2758
2926
  static names() {
2759
2927
  return {
2760
2928
  headers: 'headers',
2929
+ statusCode: 'statusCode',
2761
2930
  body: 'body',
2762
2931
  };
2763
2932
  }
2764
2933
  static types() {
2765
2934
  return {
2766
2935
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2936
+ statusCode: 'number',
2767
2937
  body: DescribeWorkflowsResponseBody,
2768
2938
  };
2769
2939
  }
@@ -2814,17 +2984,75 @@ class EdgeClusterAddEdgeMachineResponse extends $tea.Model {
2814
2984
  static names() {
2815
2985
  return {
2816
2986
  headers: 'headers',
2987
+ statusCode: 'statusCode',
2817
2988
  body: 'body',
2818
2989
  };
2819
2990
  }
2820
2991
  static types() {
2821
2992
  return {
2822
2993
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2994
+ statusCode: 'number',
2823
2995
  body: EdgeClusterAddEdgeMachineResponseBody,
2824
2996
  };
2825
2997
  }
2826
2998
  }
2827
2999
  exports.EdgeClusterAddEdgeMachineResponse = EdgeClusterAddEdgeMachineResponse;
3000
+ class FixNodePoolVulsRequest extends $tea.Model {
3001
+ constructor(map) {
3002
+ super(map);
3003
+ }
3004
+ static names() {
3005
+ return {
3006
+ nodes: 'nodes',
3007
+ rolloutPolicy: 'rollout_policy',
3008
+ vulList: 'vul_list',
3009
+ };
3010
+ }
3011
+ static types() {
3012
+ return {
3013
+ nodes: { 'type': 'array', 'itemType': 'string' },
3014
+ rolloutPolicy: FixNodePoolVulsRequestRolloutPolicy,
3015
+ vulList: { 'type': 'array', 'itemType': 'string' },
3016
+ };
3017
+ }
3018
+ }
3019
+ exports.FixNodePoolVulsRequest = FixNodePoolVulsRequest;
3020
+ class FixNodePoolVulsResponseBody extends $tea.Model {
3021
+ constructor(map) {
3022
+ super(map);
3023
+ }
3024
+ static names() {
3025
+ return {
3026
+ taskId: 'task_id',
3027
+ };
3028
+ }
3029
+ static types() {
3030
+ return {
3031
+ taskId: 'string',
3032
+ };
3033
+ }
3034
+ }
3035
+ exports.FixNodePoolVulsResponseBody = FixNodePoolVulsResponseBody;
3036
+ class FixNodePoolVulsResponse extends $tea.Model {
3037
+ constructor(map) {
3038
+ super(map);
3039
+ }
3040
+ static names() {
3041
+ return {
3042
+ headers: 'headers',
3043
+ statusCode: 'statusCode',
3044
+ body: 'body',
3045
+ };
3046
+ }
3047
+ static types() {
3048
+ return {
3049
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3050
+ statusCode: 'number',
3051
+ body: FixNodePoolVulsResponseBody,
3052
+ };
3053
+ }
3054
+ }
3055
+ exports.FixNodePoolVulsResponse = FixNodePoolVulsResponse;
2828
3056
  class GetKubernetesTriggerRequest extends $tea.Model {
2829
3057
  constructor(map) {
2830
3058
  super(map);
@@ -2854,12 +3082,14 @@ class GetKubernetesTriggerResponse extends $tea.Model {
2854
3082
  static names() {
2855
3083
  return {
2856
3084
  headers: 'headers',
3085
+ statusCode: 'statusCode',
2857
3086
  body: 'body',
2858
3087
  };
2859
3088
  }
2860
3089
  static types() {
2861
3090
  return {
2862
3091
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3092
+ statusCode: 'number',
2863
3093
  body: { 'type': 'array', 'itemType': GetKubernetesTriggerResponseBody },
2864
3094
  };
2865
3095
  }
@@ -2896,12 +3126,14 @@ class GetUpgradeStatusResponse extends $tea.Model {
2896
3126
  static names() {
2897
3127
  return {
2898
3128
  headers: 'headers',
3129
+ statusCode: 'statusCode',
2899
3130
  body: 'body',
2900
3131
  };
2901
3132
  }
2902
3133
  static types() {
2903
3134
  return {
2904
3135
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3136
+ statusCode: 'number',
2905
3137
  body: GetUpgradeStatusResponseBody,
2906
3138
  };
2907
3139
  }
@@ -2930,11 +3162,13 @@ class GrantPermissionsResponse extends $tea.Model {
2930
3162
  static names() {
2931
3163
  return {
2932
3164
  headers: 'headers',
3165
+ statusCode: 'statusCode',
2933
3166
  };
2934
3167
  }
2935
3168
  static types() {
2936
3169
  return {
2937
3170
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3171
+ statusCode: 'number',
2938
3172
  };
2939
3173
  }
2940
3174
  }
@@ -2962,11 +3196,13 @@ class InstallClusterAddonsResponse extends $tea.Model {
2962
3196
  static names() {
2963
3197
  return {
2964
3198
  headers: 'headers',
3199
+ statusCode: 'statusCode',
2965
3200
  };
2966
3201
  }
2967
3202
  static types() {
2968
3203
  return {
2969
3204
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3205
+ statusCode: 'number',
2970
3206
  };
2971
3207
  }
2972
3208
  }
@@ -3046,12 +3282,14 @@ class ListTagResourcesResponse extends $tea.Model {
3046
3282
  static names() {
3047
3283
  return {
3048
3284
  headers: 'headers',
3285
+ statusCode: 'statusCode',
3049
3286
  body: 'body',
3050
3287
  };
3051
3288
  }
3052
3289
  static types() {
3053
3290
  return {
3054
3291
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3292
+ statusCode: 'number',
3055
3293
  body: ListTagResourcesResponseBody,
3056
3294
  };
3057
3295
  }
@@ -3064,11 +3302,13 @@ class MigrateClusterResponse extends $tea.Model {
3064
3302
  static names() {
3065
3303
  return {
3066
3304
  headers: 'headers',
3305
+ statusCode: 'statusCode',
3067
3306
  };
3068
3307
  }
3069
3308
  static types() {
3070
3309
  return {
3071
3310
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3311
+ statusCode: 'number',
3072
3312
  };
3073
3313
  }
3074
3314
  }
@@ -3132,12 +3372,14 @@ class ModifyClusterResponse extends $tea.Model {
3132
3372
  static names() {
3133
3373
  return {
3134
3374
  headers: 'headers',
3375
+ statusCode: 'statusCode',
3135
3376
  body: 'body',
3136
3377
  };
3137
3378
  }
3138
3379
  static types() {
3139
3380
  return {
3140
3381
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3382
+ statusCode: 'number',
3141
3383
  body: ModifyClusterResponseBody,
3142
3384
  };
3143
3385
  }
@@ -3166,11 +3408,13 @@ class ModifyClusterAddonResponse extends $tea.Model {
3166
3408
  static names() {
3167
3409
  return {
3168
3410
  headers: 'headers',
3411
+ statusCode: 'statusCode',
3169
3412
  };
3170
3413
  }
3171
3414
  static types() {
3172
3415
  return {
3173
3416
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3417
+ statusCode: 'number',
3174
3418
  };
3175
3419
  }
3176
3420
  }
@@ -3198,11 +3442,13 @@ class ModifyClusterConfigurationResponse extends $tea.Model {
3198
3442
  static names() {
3199
3443
  return {
3200
3444
  headers: 'headers',
3445
+ statusCode: 'statusCode',
3201
3446
  };
3202
3447
  }
3203
3448
  static types() {
3204
3449
  return {
3205
3450
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3451
+ statusCode: 'number',
3206
3452
  };
3207
3453
  }
3208
3454
  }
@@ -3260,12 +3506,14 @@ class ModifyClusterNodePoolResponse extends $tea.Model {
3260
3506
  static names() {
3261
3507
  return {
3262
3508
  headers: 'headers',
3509
+ statusCode: 'statusCode',
3263
3510
  body: 'body',
3264
3511
  };
3265
3512
  }
3266
3513
  static types() {
3267
3514
  return {
3268
3515
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3516
+ statusCode: 'number',
3269
3517
  body: ModifyClusterNodePoolResponseBody,
3270
3518
  };
3271
3519
  }
@@ -3294,11 +3542,13 @@ class ModifyClusterTagsResponse extends $tea.Model {
3294
3542
  static names() {
3295
3543
  return {
3296
3544
  headers: 'headers',
3545
+ statusCode: 'statusCode',
3297
3546
  };
3298
3547
  }
3299
3548
  static types() {
3300
3549
  return {
3301
3550
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3551
+ statusCode: 'number',
3302
3552
  };
3303
3553
  }
3304
3554
  }
@@ -3348,12 +3598,14 @@ class ModifyPolicyInstanceResponse extends $tea.Model {
3348
3598
  static names() {
3349
3599
  return {
3350
3600
  headers: 'headers',
3601
+ statusCode: 'statusCode',
3351
3602
  body: 'body',
3352
3603
  };
3353
3604
  }
3354
3605
  static types() {
3355
3606
  return {
3356
3607
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3608
+ statusCode: 'number',
3357
3609
  body: ModifyPolicyInstanceResponseBody,
3358
3610
  };
3359
3611
  }
@@ -3400,12 +3652,14 @@ class OpenAckServiceResponse extends $tea.Model {
3400
3652
  static names() {
3401
3653
  return {
3402
3654
  headers: 'headers',
3655
+ statusCode: 'statusCode',
3403
3656
  body: 'body',
3404
3657
  };
3405
3658
  }
3406
3659
  static types() {
3407
3660
  return {
3408
3661
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3662
+ statusCode: 'number',
3409
3663
  body: OpenAckServiceResponseBody,
3410
3664
  };
3411
3665
  }
@@ -3418,11 +3672,13 @@ class PauseClusterUpgradeResponse extends $tea.Model {
3418
3672
  static names() {
3419
3673
  return {
3420
3674
  headers: 'headers',
3675
+ statusCode: 'statusCode',
3421
3676
  };
3422
3677
  }
3423
3678
  static types() {
3424
3679
  return {
3425
3680
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3681
+ statusCode: 'number',
3426
3682
  };
3427
3683
  }
3428
3684
  }
@@ -3434,15 +3690,35 @@ class PauseComponentUpgradeResponse extends $tea.Model {
3434
3690
  static names() {
3435
3691
  return {
3436
3692
  headers: 'headers',
3693
+ statusCode: 'statusCode',
3437
3694
  };
3438
3695
  }
3439
3696
  static types() {
3440
3697
  return {
3441
3698
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3699
+ statusCode: 'number',
3442
3700
  };
3443
3701
  }
3444
3702
  }
3445
3703
  exports.PauseComponentUpgradeResponse = PauseComponentUpgradeResponse;
3704
+ class PauseTaskResponse extends $tea.Model {
3705
+ constructor(map) {
3706
+ super(map);
3707
+ }
3708
+ static names() {
3709
+ return {
3710
+ headers: 'headers',
3711
+ statusCode: 'statusCode',
3712
+ };
3713
+ }
3714
+ static types() {
3715
+ return {
3716
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3717
+ statusCode: 'number',
3718
+ };
3719
+ }
3720
+ }
3721
+ exports.PauseTaskResponse = PauseTaskResponse;
3446
3722
  class RemoveClusterNodesRequest extends $tea.Model {
3447
3723
  constructor(map) {
3448
3724
  super(map);
@@ -3470,11 +3746,13 @@ class RemoveClusterNodesResponse extends $tea.Model {
3470
3746
  static names() {
3471
3747
  return {
3472
3748
  headers: 'headers',
3749
+ statusCode: 'statusCode',
3473
3750
  };
3474
3751
  }
3475
3752
  static types() {
3476
3753
  return {
3477
3754
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3755
+ statusCode: 'number',
3478
3756
  };
3479
3757
  }
3480
3758
  }
@@ -3486,11 +3764,13 @@ class RemoveWorkflowResponse extends $tea.Model {
3486
3764
  static names() {
3487
3765
  return {
3488
3766
  headers: 'headers',
3767
+ statusCode: 'statusCode',
3489
3768
  };
3490
3769
  }
3491
3770
  static types() {
3492
3771
  return {
3493
3772
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3773
+ statusCode: 'number',
3494
3774
  };
3495
3775
  }
3496
3776
  }
@@ -3536,12 +3816,14 @@ class RepairClusterNodePoolResponse extends $tea.Model {
3536
3816
  static names() {
3537
3817
  return {
3538
3818
  headers: 'headers',
3819
+ statusCode: 'statusCode',
3539
3820
  body: 'body',
3540
3821
  };
3541
3822
  }
3542
3823
  static types() {
3543
3824
  return {
3544
3825
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3826
+ statusCode: 'number',
3545
3827
  body: RepairClusterNodePoolResponseBody,
3546
3828
  };
3547
3829
  }
@@ -3554,15 +3836,35 @@ class ResumeComponentUpgradeResponse extends $tea.Model {
3554
3836
  static names() {
3555
3837
  return {
3556
3838
  headers: 'headers',
3839
+ statusCode: 'statusCode',
3557
3840
  };
3558
3841
  }
3559
3842
  static types() {
3560
3843
  return {
3561
3844
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3845
+ statusCode: 'number',
3562
3846
  };
3563
3847
  }
3564
3848
  }
3565
3849
  exports.ResumeComponentUpgradeResponse = ResumeComponentUpgradeResponse;
3850
+ class ResumeTaskResponse extends $tea.Model {
3851
+ constructor(map) {
3852
+ super(map);
3853
+ }
3854
+ static names() {
3855
+ return {
3856
+ headers: 'headers',
3857
+ statusCode: 'statusCode',
3858
+ };
3859
+ }
3860
+ static types() {
3861
+ return {
3862
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3863
+ statusCode: 'number',
3864
+ };
3865
+ }
3866
+ }
3867
+ exports.ResumeTaskResponse = ResumeTaskResponse;
3566
3868
  class ResumeUpgradeClusterResponse extends $tea.Model {
3567
3869
  constructor(map) {
3568
3870
  super(map);
@@ -3570,11 +3872,13 @@ class ResumeUpgradeClusterResponse extends $tea.Model {
3570
3872
  static names() {
3571
3873
  return {
3572
3874
  headers: 'headers',
3875
+ statusCode: 'statusCode',
3573
3876
  };
3574
3877
  }
3575
3878
  static types() {
3576
3879
  return {
3577
3880
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3881
+ statusCode: 'number',
3578
3882
  };
3579
3883
  }
3580
3884
  }
@@ -3658,12 +3962,14 @@ class ScaleClusterResponse extends $tea.Model {
3658
3962
  static names() {
3659
3963
  return {
3660
3964
  headers: 'headers',
3965
+ statusCode: 'statusCode',
3661
3966
  body: 'body',
3662
3967
  };
3663
3968
  }
3664
3969
  static types() {
3665
3970
  return {
3666
3971
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3972
+ statusCode: 'number',
3667
3973
  body: ScaleClusterResponseBody,
3668
3974
  };
3669
3975
  }
@@ -3708,12 +4014,14 @@ class ScaleClusterNodePoolResponse extends $tea.Model {
3708
4014
  static names() {
3709
4015
  return {
3710
4016
  headers: 'headers',
4017
+ statusCode: 'statusCode',
3711
4018
  body: 'body',
3712
4019
  };
3713
4020
  }
3714
4021
  static types() {
3715
4022
  return {
3716
4023
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4024
+ statusCode: 'number',
3717
4025
  body: ScaleClusterNodePoolResponseBody,
3718
4026
  };
3719
4027
  }
@@ -3802,12 +4110,14 @@ class ScaleOutClusterResponse extends $tea.Model {
3802
4110
  static names() {
3803
4111
  return {
3804
4112
  headers: 'headers',
4113
+ statusCode: 'statusCode',
3805
4114
  body: 'body',
3806
4115
  };
3807
4116
  }
3808
4117
  static types() {
3809
4118
  return {
3810
4119
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4120
+ statusCode: 'number',
3811
4121
  body: ScaleOutClusterResponseBody,
3812
4122
  };
3813
4123
  }
@@ -3888,12 +4198,14 @@ class StartWorkflowResponse extends $tea.Model {
3888
4198
  static names() {
3889
4199
  return {
3890
4200
  headers: 'headers',
4201
+ statusCode: 'statusCode',
3891
4202
  body: 'body',
3892
4203
  };
3893
4204
  }
3894
4205
  static types() {
3895
4206
  return {
3896
4207
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4208
+ statusCode: 'number',
3897
4209
  body: StartWorkflowResponseBody,
3898
4210
  };
3899
4211
  }
@@ -3944,12 +4256,14 @@ class TagResourcesResponse extends $tea.Model {
3944
4256
  static names() {
3945
4257
  return {
3946
4258
  headers: 'headers',
4259
+ statusCode: 'statusCode',
3947
4260
  body: 'body',
3948
4261
  };
3949
4262
  }
3950
4263
  static types() {
3951
4264
  return {
3952
4265
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4266
+ statusCode: 'number',
3953
4267
  body: TagResourcesResponseBody,
3954
4268
  };
3955
4269
  }
@@ -3978,11 +4292,13 @@ class UnInstallClusterAddonsResponse extends $tea.Model {
3978
4292
  static names() {
3979
4293
  return {
3980
4294
  headers: 'headers',
4295
+ statusCode: 'statusCode',
3981
4296
  };
3982
4297
  }
3983
4298
  static types() {
3984
4299
  return {
3985
4300
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4301
+ statusCode: 'number',
3986
4302
  };
3987
4303
  }
3988
4304
  }
@@ -4034,12 +4350,14 @@ class UntagResourcesResponse extends $tea.Model {
4034
4350
  static names() {
4035
4351
  return {
4036
4352
  headers: 'headers',
4353
+ statusCode: 'statusCode',
4037
4354
  body: 'body',
4038
4355
  };
4039
4356
  }
4040
4357
  static types() {
4041
4358
  return {
4042
4359
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4360
+ statusCode: 'number',
4043
4361
  body: UntagResourcesResponseBody,
4044
4362
  };
4045
4363
  }
@@ -4052,11 +4370,13 @@ class UpdateContactGroupForAlertResponse extends $tea.Model {
4052
4370
  static names() {
4053
4371
  return {
4054
4372
  headers: 'headers',
4373
+ statusCode: 'statusCode',
4055
4374
  };
4056
4375
  }
4057
4376
  static types() {
4058
4377
  return {
4059
4378
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4379
+ statusCode: 'number',
4060
4380
  };
4061
4381
  }
4062
4382
  }
@@ -4086,11 +4406,13 @@ class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
4086
4406
  static names() {
4087
4407
  return {
4088
4408
  headers: 'headers',
4409
+ statusCode: 'statusCode',
4089
4410
  };
4090
4411
  }
4091
4412
  static types() {
4092
4413
  return {
4093
4414
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4415
+ statusCode: 'number',
4094
4416
  };
4095
4417
  }
4096
4418
  }
@@ -4126,11 +4448,13 @@ class UpdateTemplateResponse extends $tea.Model {
4126
4448
  static names() {
4127
4449
  return {
4128
4450
  headers: 'headers',
4451
+ statusCode: 'statusCode',
4129
4452
  };
4130
4453
  }
4131
4454
  static types() {
4132
4455
  return {
4133
4456
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4457
+ statusCode: 'number',
4134
4458
  };
4135
4459
  }
4136
4460
  }
@@ -4162,11 +4486,13 @@ class UpgradeClusterResponse extends $tea.Model {
4162
4486
  static names() {
4163
4487
  return {
4164
4488
  headers: 'headers',
4489
+ statusCode: 'statusCode',
4165
4490
  };
4166
4491
  }
4167
4492
  static types() {
4168
4493
  return {
4169
4494
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4495
+ statusCode: 'number',
4170
4496
  };
4171
4497
  }
4172
4498
  }
@@ -4194,11 +4520,13 @@ class UpgradeClusterAddonsResponse extends $tea.Model {
4194
4520
  static names() {
4195
4521
  return {
4196
4522
  headers: 'headers',
4523
+ statusCode: 'statusCode',
4197
4524
  };
4198
4525
  }
4199
4526
  static types() {
4200
4527
  return {
4201
4528
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4529
+ statusCode: 'number',
4202
4530
  };
4203
4531
  }
4204
4532
  }
@@ -5323,6 +5651,7 @@ class DescribeClusterResourcesResponseBody extends $tea.Model {
5323
5651
  resourceInfo: 'resource_info',
5324
5652
  resourceType: 'resource_type',
5325
5653
  state: 'state',
5654
+ autoCreate: 'auto_create',
5326
5655
  };
5327
5656
  }
5328
5657
  static types() {
@@ -5333,6 +5662,7 @@ class DescribeClusterResourcesResponseBody extends $tea.Model {
5333
5662
  resourceInfo: 'string',
5334
5663
  resourceType: 'string',
5335
5664
  state: 'string',
5665
+ autoCreate: 'number',
5336
5666
  };
5337
5667
  }
5338
5668
  }
@@ -5725,6 +6055,46 @@ class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
5725
6055
  }
5726
6056
  }
5727
6057
  exports.DescribeKubernetesVersionMetadataResponseBody = DescribeKubernetesVersionMetadataResponseBody;
6058
+ class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Model {
6059
+ constructor(map) {
6060
+ super(map);
6061
+ }
6062
+ static names() {
6063
+ return {
6064
+ aliasName: 'alias_name',
6065
+ cveList: 'cve_list',
6066
+ name: 'name',
6067
+ necessity: 'necessity',
6068
+ };
6069
+ }
6070
+ static types() {
6071
+ return {
6072
+ aliasName: 'string',
6073
+ cveList: { 'type': 'array', 'itemType': 'string' },
6074
+ name: 'string',
6075
+ necessity: 'string',
6076
+ };
6077
+ }
6078
+ }
6079
+ exports.DescribeNodePoolVulsResponseBodyVulRecordsVulList = DescribeNodePoolVulsResponseBodyVulRecordsVulList;
6080
+ class DescribeNodePoolVulsResponseBodyVulRecords extends $tea.Model {
6081
+ constructor(map) {
6082
+ super(map);
6083
+ }
6084
+ static names() {
6085
+ return {
6086
+ instanceId: 'instance_id',
6087
+ vulList: 'vul_list',
6088
+ };
6089
+ }
6090
+ static types() {
6091
+ return {
6092
+ instanceId: 'string',
6093
+ vulList: { 'type': 'array', 'itemType': DescribeNodePoolVulsResponseBodyVulRecordsVulList },
6094
+ };
6095
+ }
6096
+ }
6097
+ exports.DescribeNodePoolVulsResponseBodyVulRecords = DescribeNodePoolVulsResponseBodyVulRecords;
5728
6098
  class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog extends $tea.Model {
5729
6099
  constructor(map) {
5730
6100
  super(map);
@@ -6145,6 +6515,22 @@ class DescribeWorkflowsResponseBodyJobs extends $tea.Model {
6145
6515
  }
6146
6516
  }
6147
6517
  exports.DescribeWorkflowsResponseBodyJobs = DescribeWorkflowsResponseBodyJobs;
6518
+ class FixNodePoolVulsRequestRolloutPolicy extends $tea.Model {
6519
+ constructor(map) {
6520
+ super(map);
6521
+ }
6522
+ static names() {
6523
+ return {
6524
+ maxParallelism: 'max_parallelism',
6525
+ };
6526
+ }
6527
+ static types() {
6528
+ return {
6529
+ maxParallelism: 'number',
6530
+ };
6531
+ }
6532
+ }
6533
+ exports.FixNodePoolVulsRequestRolloutPolicy = FixNodePoolVulsRequestRolloutPolicy;
6148
6534
  class GetKubernetesTriggerResponseBody extends $tea.Model {
6149
6535
  constructor(map) {
6150
6536
  super(map);
@@ -6814,6 +7200,29 @@ class Client extends openapi_client_1.default {
6814
7200
  });
6815
7201
  return $tea.cast(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
6816
7202
  }
7203
+ async cancelTask(taskId) {
7204
+ let runtime = new $Util.RuntimeOptions({});
7205
+ let headers = {};
7206
+ return await this.cancelTaskWithOptions(taskId, headers, runtime);
7207
+ }
7208
+ async cancelTaskWithOptions(taskId, headers, runtime) {
7209
+ taskId = openapi_util_1.default.getEncodeParam(taskId);
7210
+ let req = new $OpenApi.OpenApiRequest({
7211
+ headers: headers,
7212
+ });
7213
+ let params = new $OpenApi.Params({
7214
+ action: "CancelTask",
7215
+ version: "2015-12-15",
7216
+ protocol: "HTTPS",
7217
+ pathname: `/tasks/${taskId}/cancel`,
7218
+ method: "POST",
7219
+ authType: "AK",
7220
+ style: "ROA",
7221
+ reqBodyType: "json",
7222
+ bodyType: "none",
7223
+ });
7224
+ return $tea.cast(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
7225
+ }
6817
7226
  async cancelWorkflow(workflowName, request) {
6818
7227
  let runtime = new $Util.RuntimeOptions({});
6819
7228
  let headers = {};
@@ -8402,6 +8811,30 @@ class Client extends openapi_client_1.default {
8402
8811
  });
8403
8812
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
8404
8813
  }
8814
+ async describeNodePoolVuls(clusterId, nodepoolId) {
8815
+ let runtime = new $Util.RuntimeOptions({});
8816
+ let headers = {};
8817
+ return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, headers, runtime);
8818
+ }
8819
+ async describeNodePoolVulsWithOptions(clusterId, nodepoolId, headers, runtime) {
8820
+ clusterId = openapi_util_1.default.getEncodeParam(clusterId);
8821
+ nodepoolId = openapi_util_1.default.getEncodeParam(nodepoolId);
8822
+ let req = new $OpenApi.OpenApiRequest({
8823
+ headers: headers,
8824
+ });
8825
+ let params = new $OpenApi.Params({
8826
+ action: "DescribeNodePoolVuls",
8827
+ version: "2015-12-15",
8828
+ protocol: "HTTPS",
8829
+ pathname: `/clusters/${clusterId}/nodepools/${nodepoolId}/vuls`,
8830
+ method: "GET",
8831
+ authType: "AK",
8832
+ style: "ROA",
8833
+ reqBodyType: "json",
8834
+ bodyType: "json",
8835
+ });
8836
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
8837
+ }
8405
8838
  async describePolicies() {
8406
8839
  let runtime = new $Util.RuntimeOptions({});
8407
8840
  let headers = {};
@@ -8752,6 +9185,42 @@ class Client extends openapi_client_1.default {
8752
9185
  });
8753
9186
  return $tea.cast(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
8754
9187
  }
9188
+ async fixNodePoolVuls(clusterId, nodepoolId, request) {
9189
+ let runtime = new $Util.RuntimeOptions({});
9190
+ let headers = {};
9191
+ return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
9192
+ }
9193
+ async fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime) {
9194
+ tea_util_1.default.validateModel(request);
9195
+ clusterId = openapi_util_1.default.getEncodeParam(clusterId);
9196
+ nodepoolId = openapi_util_1.default.getEncodeParam(nodepoolId);
9197
+ let body = {};
9198
+ if (!tea_util_1.default.isUnset(request.nodes)) {
9199
+ body["nodes"] = request.nodes;
9200
+ }
9201
+ if (!tea_util_1.default.isUnset($tea.toMap(request.rolloutPolicy))) {
9202
+ body["rollout_policy"] = request.rolloutPolicy;
9203
+ }
9204
+ if (!tea_util_1.default.isUnset(request.vulList)) {
9205
+ body["vul_list"] = request.vulList;
9206
+ }
9207
+ let req = new $OpenApi.OpenApiRequest({
9208
+ headers: headers,
9209
+ body: openapi_util_1.default.parseToMap(body),
9210
+ });
9211
+ let params = new $OpenApi.Params({
9212
+ action: "FixNodePoolVuls",
9213
+ version: "2015-12-15",
9214
+ protocol: "HTTPS",
9215
+ pathname: `/clusters/${clusterId}/nodepools/${nodepoolId}/vuls/fix`,
9216
+ method: "POST",
9217
+ authType: "AK",
9218
+ style: "ROA",
9219
+ reqBodyType: "json",
9220
+ bodyType: "json",
9221
+ });
9222
+ return $tea.cast(await this.callApi(params, req, runtime), new FixNodePoolVulsResponse({}));
9223
+ }
8755
9224
  async getKubernetesTrigger(ClusterId, request) {
8756
9225
  let runtime = new $Util.RuntimeOptions({});
8757
9226
  let headers = {};
@@ -9233,6 +9702,29 @@ class Client extends openapi_client_1.default {
9233
9702
  });
9234
9703
  return $tea.cast(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
9235
9704
  }
9705
+ async pauseTask(taskId) {
9706
+ let runtime = new $Util.RuntimeOptions({});
9707
+ let headers = {};
9708
+ return await this.pauseTaskWithOptions(taskId, headers, runtime);
9709
+ }
9710
+ async pauseTaskWithOptions(taskId, headers, runtime) {
9711
+ taskId = openapi_util_1.default.getEncodeParam(taskId);
9712
+ let req = new $OpenApi.OpenApiRequest({
9713
+ headers: headers,
9714
+ });
9715
+ let params = new $OpenApi.Params({
9716
+ action: "PauseTask",
9717
+ version: "2015-12-15",
9718
+ protocol: "HTTPS",
9719
+ pathname: `/tasks/${taskId}/pause`,
9720
+ method: "POST",
9721
+ authType: "AK",
9722
+ style: "ROA",
9723
+ reqBodyType: "json",
9724
+ bodyType: "none",
9725
+ });
9726
+ return $tea.cast(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
9727
+ }
9236
9728
  async removeClusterNodes(ClusterId, request) {
9237
9729
  let runtime = new $Util.RuntimeOptions({});
9238
9730
  let headers = {};
@@ -9345,6 +9837,29 @@ class Client extends openapi_client_1.default {
9345
9837
  });
9346
9838
  return $tea.cast(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
9347
9839
  }
9840
+ async resumeTask(taskId) {
9841
+ let runtime = new $Util.RuntimeOptions({});
9842
+ let headers = {};
9843
+ return await this.resumeTaskWithOptions(taskId, headers, runtime);
9844
+ }
9845
+ async resumeTaskWithOptions(taskId, headers, runtime) {
9846
+ taskId = openapi_util_1.default.getEncodeParam(taskId);
9847
+ let req = new $OpenApi.OpenApiRequest({
9848
+ headers: headers,
9849
+ });
9850
+ let params = new $OpenApi.Params({
9851
+ action: "ResumeTask",
9852
+ version: "2015-12-15",
9853
+ protocol: "HTTPS",
9854
+ pathname: `/tasks/${taskId}/resume`,
9855
+ method: "POST",
9856
+ authType: "AK",
9857
+ style: "ROA",
9858
+ reqBodyType: "json",
9859
+ bodyType: "none",
9860
+ });
9861
+ return $tea.cast(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
9862
+ }
9348
9863
  async resumeUpgradeCluster(ClusterId) {
9349
9864
  let runtime = new $Util.RuntimeOptions({});
9350
9865
  let headers = {};