@alicloud/cs20151215 3.0.10 → 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.d.ts +269 -19
- package/dist/client.js +528 -44
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +683 -50
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
|
}
|
|
@@ -288,7 +314,9 @@ class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
288
314
|
static names() {
|
|
289
315
|
return {
|
|
290
316
|
coolDownDuration: 'cool_down_duration',
|
|
317
|
+
expander: 'expander',
|
|
291
318
|
gpuUtilizationThreshold: 'gpu_utilization_threshold',
|
|
319
|
+
scaleDownEnabled: 'scale_down_enabled',
|
|
292
320
|
scanInterval: 'scan_interval',
|
|
293
321
|
unneededDuration: 'unneeded_duration',
|
|
294
322
|
utilizationThreshold: 'utilization_threshold',
|
|
@@ -297,7 +325,9 @@ class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
297
325
|
static types() {
|
|
298
326
|
return {
|
|
299
327
|
coolDownDuration: 'string',
|
|
328
|
+
expander: 'string',
|
|
300
329
|
gpuUtilizationThreshold: 'string',
|
|
330
|
+
scaleDownEnabled: 'boolean',
|
|
301
331
|
scanInterval: 'string',
|
|
302
332
|
unneededDuration: 'string',
|
|
303
333
|
utilizationThreshold: 'string',
|
|
@@ -312,11 +342,13 @@ class CreateAutoscalingConfigResponse extends $tea.Model {
|
|
|
312
342
|
static names() {
|
|
313
343
|
return {
|
|
314
344
|
headers: 'headers',
|
|
345
|
+
statusCode: 'statusCode',
|
|
315
346
|
};
|
|
316
347
|
}
|
|
317
348
|
static types() {
|
|
318
349
|
return {
|
|
319
350
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
351
|
+
statusCode: 'number',
|
|
320
352
|
};
|
|
321
353
|
}
|
|
322
354
|
}
|
|
@@ -530,12 +562,14 @@ class CreateClusterResponse extends $tea.Model {
|
|
|
530
562
|
static names() {
|
|
531
563
|
return {
|
|
532
564
|
headers: 'headers',
|
|
565
|
+
statusCode: 'statusCode',
|
|
533
566
|
body: 'body',
|
|
534
567
|
};
|
|
535
568
|
}
|
|
536
569
|
static types() {
|
|
537
570
|
return {
|
|
538
571
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
572
|
+
statusCode: 'number',
|
|
539
573
|
body: CreateClusterResponseBody,
|
|
540
574
|
};
|
|
541
575
|
}
|
|
@@ -598,12 +632,14 @@ class CreateClusterNodePoolResponse extends $tea.Model {
|
|
|
598
632
|
static names() {
|
|
599
633
|
return {
|
|
600
634
|
headers: 'headers',
|
|
635
|
+
statusCode: 'statusCode',
|
|
601
636
|
body: 'body',
|
|
602
637
|
};
|
|
603
638
|
}
|
|
604
639
|
static types() {
|
|
605
640
|
return {
|
|
606
641
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
642
|
+
statusCode: 'number',
|
|
607
643
|
body: CreateClusterNodePoolResponseBody,
|
|
608
644
|
};
|
|
609
645
|
}
|
|
@@ -654,12 +690,14 @@ class CreateEdgeMachineResponse extends $tea.Model {
|
|
|
654
690
|
static names() {
|
|
655
691
|
return {
|
|
656
692
|
headers: 'headers',
|
|
693
|
+
statusCode: 'statusCode',
|
|
657
694
|
body: 'body',
|
|
658
695
|
};
|
|
659
696
|
}
|
|
660
697
|
static types() {
|
|
661
698
|
return {
|
|
662
699
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
700
|
+
statusCode: 'number',
|
|
663
701
|
body: CreateEdgeMachineResponseBody,
|
|
664
702
|
};
|
|
665
703
|
}
|
|
@@ -718,12 +756,14 @@ class CreateKubernetesTriggerResponse extends $tea.Model {
|
|
|
718
756
|
static names() {
|
|
719
757
|
return {
|
|
720
758
|
headers: 'headers',
|
|
759
|
+
statusCode: 'statusCode',
|
|
721
760
|
body: 'body',
|
|
722
761
|
};
|
|
723
762
|
}
|
|
724
763
|
static types() {
|
|
725
764
|
return {
|
|
726
765
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
766
|
+
statusCode: 'number',
|
|
727
767
|
body: CreateKubernetesTriggerResponseBody,
|
|
728
768
|
};
|
|
729
769
|
}
|
|
@@ -776,12 +816,14 @@ class CreateTemplateResponse extends $tea.Model {
|
|
|
776
816
|
static names() {
|
|
777
817
|
return {
|
|
778
818
|
headers: 'headers',
|
|
819
|
+
statusCode: 'statusCode',
|
|
779
820
|
body: 'body',
|
|
780
821
|
};
|
|
781
822
|
}
|
|
782
823
|
static types() {
|
|
783
824
|
return {
|
|
784
825
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
826
|
+
statusCode: 'number',
|
|
785
827
|
body: CreateTemplateResponseBody,
|
|
786
828
|
};
|
|
787
829
|
}
|
|
@@ -840,12 +882,14 @@ class CreateTriggerResponse extends $tea.Model {
|
|
|
840
882
|
static names() {
|
|
841
883
|
return {
|
|
842
884
|
headers: 'headers',
|
|
885
|
+
statusCode: 'statusCode',
|
|
843
886
|
body: 'body',
|
|
844
887
|
};
|
|
845
888
|
}
|
|
846
889
|
static types() {
|
|
847
890
|
return {
|
|
848
891
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
892
|
+
statusCode: 'number',
|
|
849
893
|
body: CreateTriggerResponseBody,
|
|
850
894
|
};
|
|
851
895
|
}
|
|
@@ -858,11 +902,13 @@ class DeleteAlertContactResponse extends $tea.Model {
|
|
|
858
902
|
static names() {
|
|
859
903
|
return {
|
|
860
904
|
headers: 'headers',
|
|
905
|
+
statusCode: 'statusCode',
|
|
861
906
|
};
|
|
862
907
|
}
|
|
863
908
|
static types() {
|
|
864
909
|
return {
|
|
865
910
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
911
|
+
statusCode: 'number',
|
|
866
912
|
};
|
|
867
913
|
}
|
|
868
914
|
}
|
|
@@ -874,11 +920,13 @@ class DeleteAlertContactGroupResponse extends $tea.Model {
|
|
|
874
920
|
static names() {
|
|
875
921
|
return {
|
|
876
922
|
headers: 'headers',
|
|
923
|
+
statusCode: 'statusCode',
|
|
877
924
|
};
|
|
878
925
|
}
|
|
879
926
|
static types() {
|
|
880
927
|
return {
|
|
881
928
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
929
|
+
statusCode: 'number',
|
|
882
930
|
};
|
|
883
931
|
}
|
|
884
932
|
}
|
|
@@ -930,11 +978,13 @@ class DeleteClusterResponse extends $tea.Model {
|
|
|
930
978
|
static names() {
|
|
931
979
|
return {
|
|
932
980
|
headers: 'headers',
|
|
981
|
+
statusCode: 'statusCode',
|
|
933
982
|
};
|
|
934
983
|
}
|
|
935
984
|
static types() {
|
|
936
985
|
return {
|
|
937
986
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
987
|
+
statusCode: 'number',
|
|
938
988
|
};
|
|
939
989
|
}
|
|
940
990
|
}
|
|
@@ -978,12 +1028,14 @@ class DeleteClusterNodepoolResponse extends $tea.Model {
|
|
|
978
1028
|
static names() {
|
|
979
1029
|
return {
|
|
980
1030
|
headers: 'headers',
|
|
1031
|
+
statusCode: 'statusCode',
|
|
981
1032
|
body: 'body',
|
|
982
1033
|
};
|
|
983
1034
|
}
|
|
984
1035
|
static types() {
|
|
985
1036
|
return {
|
|
986
1037
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1038
|
+
statusCode: 'number',
|
|
987
1039
|
body: DeleteClusterNodepoolResponseBody,
|
|
988
1040
|
};
|
|
989
1041
|
}
|
|
@@ -1036,12 +1088,14 @@ class DeleteClusterNodesResponse extends $tea.Model {
|
|
|
1036
1088
|
static names() {
|
|
1037
1089
|
return {
|
|
1038
1090
|
headers: 'headers',
|
|
1091
|
+
statusCode: 'statusCode',
|
|
1039
1092
|
body: 'body',
|
|
1040
1093
|
};
|
|
1041
1094
|
}
|
|
1042
1095
|
static types() {
|
|
1043
1096
|
return {
|
|
1044
1097
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1098
|
+
statusCode: 'number',
|
|
1045
1099
|
body: DeleteClusterNodesResponseBody,
|
|
1046
1100
|
};
|
|
1047
1101
|
}
|
|
@@ -1070,11 +1124,13 @@ class DeleteEdgeMachineResponse extends $tea.Model {
|
|
|
1070
1124
|
static names() {
|
|
1071
1125
|
return {
|
|
1072
1126
|
headers: 'headers',
|
|
1127
|
+
statusCode: 'statusCode',
|
|
1073
1128
|
};
|
|
1074
1129
|
}
|
|
1075
1130
|
static types() {
|
|
1076
1131
|
return {
|
|
1077
1132
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1133
|
+
statusCode: 'number',
|
|
1078
1134
|
};
|
|
1079
1135
|
}
|
|
1080
1136
|
}
|
|
@@ -1086,11 +1142,13 @@ class DeleteKubernetesTriggerResponse extends $tea.Model {
|
|
|
1086
1142
|
static names() {
|
|
1087
1143
|
return {
|
|
1088
1144
|
headers: 'headers',
|
|
1145
|
+
statusCode: 'statusCode',
|
|
1089
1146
|
};
|
|
1090
1147
|
}
|
|
1091
1148
|
static types() {
|
|
1092
1149
|
return {
|
|
1093
1150
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1151
|
+
statusCode: 'number',
|
|
1094
1152
|
};
|
|
1095
1153
|
}
|
|
1096
1154
|
}
|
|
@@ -1134,12 +1192,14 @@ class DeletePolicyInstanceResponse extends $tea.Model {
|
|
|
1134
1192
|
static names() {
|
|
1135
1193
|
return {
|
|
1136
1194
|
headers: 'headers',
|
|
1195
|
+
statusCode: 'statusCode',
|
|
1137
1196
|
body: 'body',
|
|
1138
1197
|
};
|
|
1139
1198
|
}
|
|
1140
1199
|
static types() {
|
|
1141
1200
|
return {
|
|
1142
1201
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1202
|
+
statusCode: 'number',
|
|
1143
1203
|
body: DeletePolicyInstanceResponseBody,
|
|
1144
1204
|
};
|
|
1145
1205
|
}
|
|
@@ -1152,11 +1212,13 @@ class DeleteTemplateResponse extends $tea.Model {
|
|
|
1152
1212
|
static names() {
|
|
1153
1213
|
return {
|
|
1154
1214
|
headers: 'headers',
|
|
1215
|
+
statusCode: 'statusCode',
|
|
1155
1216
|
};
|
|
1156
1217
|
}
|
|
1157
1218
|
static types() {
|
|
1158
1219
|
return {
|
|
1159
1220
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1221
|
+
statusCode: 'number',
|
|
1160
1222
|
};
|
|
1161
1223
|
}
|
|
1162
1224
|
}
|
|
@@ -1168,11 +1230,13 @@ class DeleteTriggerResponse extends $tea.Model {
|
|
|
1168
1230
|
static names() {
|
|
1169
1231
|
return {
|
|
1170
1232
|
headers: 'headers',
|
|
1233
|
+
statusCode: 'statusCode',
|
|
1171
1234
|
};
|
|
1172
1235
|
}
|
|
1173
1236
|
static types() {
|
|
1174
1237
|
return {
|
|
1175
1238
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1239
|
+
statusCode: 'number',
|
|
1176
1240
|
};
|
|
1177
1241
|
}
|
|
1178
1242
|
}
|
|
@@ -1220,12 +1284,14 @@ class DeployPolicyInstanceResponse extends $tea.Model {
|
|
|
1220
1284
|
static names() {
|
|
1221
1285
|
return {
|
|
1222
1286
|
headers: 'headers',
|
|
1287
|
+
statusCode: 'statusCode',
|
|
1223
1288
|
body: 'body',
|
|
1224
1289
|
};
|
|
1225
1290
|
}
|
|
1226
1291
|
static types() {
|
|
1227
1292
|
return {
|
|
1228
1293
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1294
|
+
statusCode: 'number',
|
|
1229
1295
|
body: DeployPolicyInstanceResponseBody,
|
|
1230
1296
|
};
|
|
1231
1297
|
}
|
|
@@ -1274,12 +1340,14 @@ class DescirbeWorkflowResponse extends $tea.Model {
|
|
|
1274
1340
|
static names() {
|
|
1275
1341
|
return {
|
|
1276
1342
|
headers: 'headers',
|
|
1343
|
+
statusCode: 'statusCode',
|
|
1277
1344
|
body: 'body',
|
|
1278
1345
|
};
|
|
1279
1346
|
}
|
|
1280
1347
|
static types() {
|
|
1281
1348
|
return {
|
|
1282
1349
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1350
|
+
statusCode: 'number',
|
|
1283
1351
|
body: DescirbeWorkflowResponseBody,
|
|
1284
1352
|
};
|
|
1285
1353
|
}
|
|
@@ -1328,12 +1396,14 @@ class DescribeAddonsResponse extends $tea.Model {
|
|
|
1328
1396
|
static names() {
|
|
1329
1397
|
return {
|
|
1330
1398
|
headers: 'headers',
|
|
1399
|
+
statusCode: 'statusCode',
|
|
1331
1400
|
body: 'body',
|
|
1332
1401
|
};
|
|
1333
1402
|
}
|
|
1334
1403
|
static types() {
|
|
1335
1404
|
return {
|
|
1336
1405
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1406
|
+
statusCode: 'number',
|
|
1337
1407
|
body: DescribeAddonsResponseBody,
|
|
1338
1408
|
};
|
|
1339
1409
|
}
|
|
@@ -1366,12 +1436,14 @@ class DescribeClusterAddonMetadataResponse extends $tea.Model {
|
|
|
1366
1436
|
static names() {
|
|
1367
1437
|
return {
|
|
1368
1438
|
headers: 'headers',
|
|
1439
|
+
statusCode: 'statusCode',
|
|
1369
1440
|
body: 'body',
|
|
1370
1441
|
};
|
|
1371
1442
|
}
|
|
1372
1443
|
static types() {
|
|
1373
1444
|
return {
|
|
1374
1445
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1446
|
+
statusCode: 'number',
|
|
1375
1447
|
body: DescribeClusterAddonMetadataResponseBody,
|
|
1376
1448
|
};
|
|
1377
1449
|
}
|
|
@@ -1384,12 +1456,14 @@ class DescribeClusterAddonUpgradeStatusResponse extends $tea.Model {
|
|
|
1384
1456
|
static names() {
|
|
1385
1457
|
return {
|
|
1386
1458
|
headers: 'headers',
|
|
1459
|
+
statusCode: 'statusCode',
|
|
1387
1460
|
body: 'body',
|
|
1388
1461
|
};
|
|
1389
1462
|
}
|
|
1390
1463
|
static types() {
|
|
1391
1464
|
return {
|
|
1392
1465
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1466
|
+
statusCode: 'number',
|
|
1393
1467
|
body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1394
1468
|
};
|
|
1395
1469
|
}
|
|
@@ -1434,12 +1508,14 @@ class DescribeClusterAddonsUpgradeStatusResponse extends $tea.Model {
|
|
|
1434
1508
|
static names() {
|
|
1435
1509
|
return {
|
|
1436
1510
|
headers: 'headers',
|
|
1511
|
+
statusCode: 'statusCode',
|
|
1437
1512
|
body: 'body',
|
|
1438
1513
|
};
|
|
1439
1514
|
}
|
|
1440
1515
|
static types() {
|
|
1441
1516
|
return {
|
|
1442
1517
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1518
|
+
statusCode: 'number',
|
|
1443
1519
|
body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1444
1520
|
};
|
|
1445
1521
|
}
|
|
@@ -1452,12 +1528,14 @@ class DescribeClusterAddonsVersionResponse extends $tea.Model {
|
|
|
1452
1528
|
static names() {
|
|
1453
1529
|
return {
|
|
1454
1530
|
headers: 'headers',
|
|
1531
|
+
statusCode: 'statusCode',
|
|
1455
1532
|
body: 'body',
|
|
1456
1533
|
};
|
|
1457
1534
|
}
|
|
1458
1535
|
static types() {
|
|
1459
1536
|
return {
|
|
1460
1537
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1538
|
+
statusCode: 'number',
|
|
1461
1539
|
body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1462
1540
|
};
|
|
1463
1541
|
}
|
|
@@ -1496,12 +1574,14 @@ class DescribeClusterAttachScriptsResponse extends $tea.Model {
|
|
|
1496
1574
|
static names() {
|
|
1497
1575
|
return {
|
|
1498
1576
|
headers: 'headers',
|
|
1577
|
+
statusCode: 'statusCode',
|
|
1499
1578
|
body: 'body',
|
|
1500
1579
|
};
|
|
1501
1580
|
}
|
|
1502
1581
|
static types() {
|
|
1503
1582
|
return {
|
|
1504
1583
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1584
|
+
statusCode: 'number',
|
|
1505
1585
|
body: 'string',
|
|
1506
1586
|
};
|
|
1507
1587
|
}
|
|
@@ -1586,12 +1666,14 @@ class DescribeClusterDetailResponse extends $tea.Model {
|
|
|
1586
1666
|
static names() {
|
|
1587
1667
|
return {
|
|
1588
1668
|
headers: 'headers',
|
|
1669
|
+
statusCode: 'statusCode',
|
|
1589
1670
|
body: 'body',
|
|
1590
1671
|
};
|
|
1591
1672
|
}
|
|
1592
1673
|
static types() {
|
|
1593
1674
|
return {
|
|
1594
1675
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1676
|
+
statusCode: 'number',
|
|
1595
1677
|
body: DescribeClusterDetailResponseBody,
|
|
1596
1678
|
};
|
|
1597
1679
|
}
|
|
@@ -1604,35 +1686,19 @@ class DescribeClusterLogsResponse extends $tea.Model {
|
|
|
1604
1686
|
static names() {
|
|
1605
1687
|
return {
|
|
1606
1688
|
headers: 'headers',
|
|
1689
|
+
statusCode: 'statusCode',
|
|
1607
1690
|
body: 'body',
|
|
1608
1691
|
};
|
|
1609
1692
|
}
|
|
1610
1693
|
static types() {
|
|
1611
1694
|
return {
|
|
1612
1695
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1696
|
+
statusCode: 'number',
|
|
1613
1697
|
body: { 'type': 'array', 'itemType': DescribeClusterLogsResponseBody },
|
|
1614
1698
|
};
|
|
1615
1699
|
}
|
|
1616
1700
|
}
|
|
1617
1701
|
exports.DescribeClusterLogsResponse = DescribeClusterLogsResponse;
|
|
1618
|
-
class DescribeClusterNamespacesResponse extends $tea.Model {
|
|
1619
|
-
constructor(map) {
|
|
1620
|
-
super(map);
|
|
1621
|
-
}
|
|
1622
|
-
static names() {
|
|
1623
|
-
return {
|
|
1624
|
-
headers: 'headers',
|
|
1625
|
-
body: 'body',
|
|
1626
|
-
};
|
|
1627
|
-
}
|
|
1628
|
-
static types() {
|
|
1629
|
-
return {
|
|
1630
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1631
|
-
body: { 'type': 'array', 'itemType': 'string' },
|
|
1632
|
-
};
|
|
1633
|
-
}
|
|
1634
|
-
}
|
|
1635
|
-
exports.DescribeClusterNamespacesResponse = DescribeClusterNamespacesResponse;
|
|
1636
1702
|
class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
|
|
1637
1703
|
constructor(map) {
|
|
1638
1704
|
super(map);
|
|
@@ -1674,12 +1740,14 @@ class DescribeClusterNodePoolDetailResponse extends $tea.Model {
|
|
|
1674
1740
|
static names() {
|
|
1675
1741
|
return {
|
|
1676
1742
|
headers: 'headers',
|
|
1743
|
+
statusCode: 'statusCode',
|
|
1677
1744
|
body: 'body',
|
|
1678
1745
|
};
|
|
1679
1746
|
}
|
|
1680
1747
|
static types() {
|
|
1681
1748
|
return {
|
|
1682
1749
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1750
|
+
statusCode: 'number',
|
|
1683
1751
|
body: DescribeClusterNodePoolDetailResponseBody,
|
|
1684
1752
|
};
|
|
1685
1753
|
}
|
|
@@ -1708,12 +1776,14 @@ class DescribeClusterNodePoolsResponse extends $tea.Model {
|
|
|
1708
1776
|
static names() {
|
|
1709
1777
|
return {
|
|
1710
1778
|
headers: 'headers',
|
|
1779
|
+
statusCode: 'statusCode',
|
|
1711
1780
|
body: 'body',
|
|
1712
1781
|
};
|
|
1713
1782
|
}
|
|
1714
1783
|
static types() {
|
|
1715
1784
|
return {
|
|
1716
1785
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1786
|
+
statusCode: 'number',
|
|
1717
1787
|
body: DescribeClusterNodePoolsResponseBody,
|
|
1718
1788
|
};
|
|
1719
1789
|
}
|
|
@@ -1768,12 +1838,14 @@ class DescribeClusterNodesResponse extends $tea.Model {
|
|
|
1768
1838
|
static names() {
|
|
1769
1839
|
return {
|
|
1770
1840
|
headers: 'headers',
|
|
1841
|
+
statusCode: 'statusCode',
|
|
1771
1842
|
body: 'body',
|
|
1772
1843
|
};
|
|
1773
1844
|
}
|
|
1774
1845
|
static types() {
|
|
1775
1846
|
return {
|
|
1776
1847
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1848
|
+
statusCode: 'number',
|
|
1777
1849
|
body: DescribeClusterNodesResponseBody,
|
|
1778
1850
|
};
|
|
1779
1851
|
}
|
|
@@ -1786,12 +1858,14 @@ class DescribeClusterResourcesResponse extends $tea.Model {
|
|
|
1786
1858
|
static names() {
|
|
1787
1859
|
return {
|
|
1788
1860
|
headers: 'headers',
|
|
1861
|
+
statusCode: 'statusCode',
|
|
1789
1862
|
body: 'body',
|
|
1790
1863
|
};
|
|
1791
1864
|
}
|
|
1792
1865
|
static types() {
|
|
1793
1866
|
return {
|
|
1794
1867
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1868
|
+
statusCode: 'number',
|
|
1795
1869
|
body: { 'type': 'array', 'itemType': DescribeClusterResourcesResponseBody },
|
|
1796
1870
|
};
|
|
1797
1871
|
}
|
|
@@ -1840,12 +1914,14 @@ class DescribeClusterUserKubeconfigResponse extends $tea.Model {
|
|
|
1840
1914
|
static names() {
|
|
1841
1915
|
return {
|
|
1842
1916
|
headers: 'headers',
|
|
1917
|
+
statusCode: 'statusCode',
|
|
1843
1918
|
body: 'body',
|
|
1844
1919
|
};
|
|
1845
1920
|
}
|
|
1846
1921
|
static types() {
|
|
1847
1922
|
return {
|
|
1848
1923
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1924
|
+
statusCode: 'number',
|
|
1849
1925
|
body: DescribeClusterUserKubeconfigResponseBody,
|
|
1850
1926
|
};
|
|
1851
1927
|
}
|
|
@@ -1890,12 +1966,14 @@ class DescribeClusterV2UserKubeconfigResponse extends $tea.Model {
|
|
|
1890
1966
|
static names() {
|
|
1891
1967
|
return {
|
|
1892
1968
|
headers: 'headers',
|
|
1969
|
+
statusCode: 'statusCode',
|
|
1893
1970
|
body: 'body',
|
|
1894
1971
|
};
|
|
1895
1972
|
}
|
|
1896
1973
|
static types() {
|
|
1897
1974
|
return {
|
|
1898
1975
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1976
|
+
statusCode: 'number',
|
|
1899
1977
|
body: DescribeClusterV2UserKubeconfigResponseBody,
|
|
1900
1978
|
};
|
|
1901
1979
|
}
|
|
@@ -1926,12 +2004,14 @@ class DescribeClustersResponse extends $tea.Model {
|
|
|
1926
2004
|
static names() {
|
|
1927
2005
|
return {
|
|
1928
2006
|
headers: 'headers',
|
|
2007
|
+
statusCode: 'statusCode',
|
|
1929
2008
|
body: 'body',
|
|
1930
2009
|
};
|
|
1931
2010
|
}
|
|
1932
2011
|
static types() {
|
|
1933
2012
|
return {
|
|
1934
2013
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2014
|
+
statusCode: 'number',
|
|
1935
2015
|
body: { 'type': 'array', 'itemType': DescribeClustersResponseBody },
|
|
1936
2016
|
};
|
|
1937
2017
|
}
|
|
@@ -1990,12 +2070,14 @@ class DescribeClustersV1Response extends $tea.Model {
|
|
|
1990
2070
|
static names() {
|
|
1991
2071
|
return {
|
|
1992
2072
|
headers: 'headers',
|
|
2073
|
+
statusCode: 'statusCode',
|
|
1993
2074
|
body: 'body',
|
|
1994
2075
|
};
|
|
1995
2076
|
}
|
|
1996
2077
|
static types() {
|
|
1997
2078
|
return {
|
|
1998
2079
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2080
|
+
statusCode: 'number',
|
|
1999
2081
|
body: DescribeClustersV1ResponseBody,
|
|
2000
2082
|
};
|
|
2001
2083
|
}
|
|
@@ -2032,12 +2114,14 @@ class DescribeEdgeMachineActiveProcessResponse extends $tea.Model {
|
|
|
2032
2114
|
static names() {
|
|
2033
2115
|
return {
|
|
2034
2116
|
headers: 'headers',
|
|
2117
|
+
statusCode: 'statusCode',
|
|
2035
2118
|
body: 'body',
|
|
2036
2119
|
};
|
|
2037
2120
|
}
|
|
2038
2121
|
static types() {
|
|
2039
2122
|
return {
|
|
2040
2123
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2124
|
+
statusCode: 'number',
|
|
2041
2125
|
body: DescribeEdgeMachineActiveProcessResponseBody,
|
|
2042
2126
|
};
|
|
2043
2127
|
}
|
|
@@ -2066,12 +2150,14 @@ class DescribeEdgeMachineModelsResponse extends $tea.Model {
|
|
|
2066
2150
|
static names() {
|
|
2067
2151
|
return {
|
|
2068
2152
|
headers: 'headers',
|
|
2153
|
+
statusCode: 'statusCode',
|
|
2069
2154
|
body: 'body',
|
|
2070
2155
|
};
|
|
2071
2156
|
}
|
|
2072
2157
|
static types() {
|
|
2073
2158
|
return {
|
|
2074
2159
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2160
|
+
statusCode: 'number',
|
|
2075
2161
|
body: DescribeEdgeMachineModelsResponseBody,
|
|
2076
2162
|
};
|
|
2077
2163
|
}
|
|
@@ -2112,12 +2198,14 @@ class DescribeEdgeMachineTunnelConfigDetailResponse extends $tea.Model {
|
|
|
2112
2198
|
static names() {
|
|
2113
2199
|
return {
|
|
2114
2200
|
headers: 'headers',
|
|
2201
|
+
statusCode: 'statusCode',
|
|
2115
2202
|
body: 'body',
|
|
2116
2203
|
};
|
|
2117
2204
|
}
|
|
2118
2205
|
static types() {
|
|
2119
2206
|
return {
|
|
2120
2207
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2208
|
+
statusCode: 'number',
|
|
2121
2209
|
body: DescribeEdgeMachineTunnelConfigDetailResponseBody,
|
|
2122
2210
|
};
|
|
2123
2211
|
}
|
|
@@ -2174,12 +2262,14 @@ class DescribeEdgeMachinesResponse extends $tea.Model {
|
|
|
2174
2262
|
static names() {
|
|
2175
2263
|
return {
|
|
2176
2264
|
headers: 'headers',
|
|
2265
|
+
statusCode: 'statusCode',
|
|
2177
2266
|
body: 'body',
|
|
2178
2267
|
};
|
|
2179
2268
|
}
|
|
2180
2269
|
static types() {
|
|
2181
2270
|
return {
|
|
2182
2271
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2272
|
+
statusCode: 'number',
|
|
2183
2273
|
body: DescribeEdgeMachinesResponseBody,
|
|
2184
2274
|
};
|
|
2185
2275
|
}
|
|
@@ -2232,12 +2322,14 @@ class DescribeEventsResponse extends $tea.Model {
|
|
|
2232
2322
|
static names() {
|
|
2233
2323
|
return {
|
|
2234
2324
|
headers: 'headers',
|
|
2325
|
+
statusCode: 'statusCode',
|
|
2235
2326
|
body: 'body',
|
|
2236
2327
|
};
|
|
2237
2328
|
}
|
|
2238
2329
|
static types() {
|
|
2239
2330
|
return {
|
|
2240
2331
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2332
|
+
statusCode: 'number',
|
|
2241
2333
|
body: DescribeEventsResponseBody,
|
|
2242
2334
|
};
|
|
2243
2335
|
}
|
|
@@ -2282,12 +2374,14 @@ class DescribeExternalAgentResponse extends $tea.Model {
|
|
|
2282
2374
|
static names() {
|
|
2283
2375
|
return {
|
|
2284
2376
|
headers: 'headers',
|
|
2377
|
+
statusCode: 'statusCode',
|
|
2285
2378
|
body: 'body',
|
|
2286
2379
|
};
|
|
2287
2380
|
}
|
|
2288
2381
|
static types() {
|
|
2289
2382
|
return {
|
|
2290
2383
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2384
|
+
statusCode: 'number',
|
|
2291
2385
|
body: DescribeExternalAgentResponseBody,
|
|
2292
2386
|
};
|
|
2293
2387
|
}
|
|
@@ -2324,17 +2418,55 @@ class DescribeKubernetesVersionMetadataResponse extends $tea.Model {
|
|
|
2324
2418
|
static names() {
|
|
2325
2419
|
return {
|
|
2326
2420
|
headers: 'headers',
|
|
2421
|
+
statusCode: 'statusCode',
|
|
2327
2422
|
body: 'body',
|
|
2328
2423
|
};
|
|
2329
2424
|
}
|
|
2330
2425
|
static types() {
|
|
2331
2426
|
return {
|
|
2332
2427
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2428
|
+
statusCode: 'number',
|
|
2333
2429
|
body: { 'type': 'array', 'itemType': DescribeKubernetesVersionMetadataResponseBody },
|
|
2334
2430
|
};
|
|
2335
2431
|
}
|
|
2336
2432
|
}
|
|
2337
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;
|
|
2338
2470
|
class DescribePoliciesResponse extends $tea.Model {
|
|
2339
2471
|
constructor(map) {
|
|
2340
2472
|
super(map);
|
|
@@ -2342,12 +2474,14 @@ class DescribePoliciesResponse extends $tea.Model {
|
|
|
2342
2474
|
static names() {
|
|
2343
2475
|
return {
|
|
2344
2476
|
headers: 'headers',
|
|
2477
|
+
statusCode: 'statusCode',
|
|
2345
2478
|
body: 'body',
|
|
2346
2479
|
};
|
|
2347
2480
|
}
|
|
2348
2481
|
static types() {
|
|
2349
2482
|
return {
|
|
2350
2483
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2484
|
+
statusCode: 'number',
|
|
2351
2485
|
body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
2352
2486
|
};
|
|
2353
2487
|
}
|
|
@@ -2390,12 +2524,14 @@ class DescribePolicyDetailsResponse extends $tea.Model {
|
|
|
2390
2524
|
static names() {
|
|
2391
2525
|
return {
|
|
2392
2526
|
headers: 'headers',
|
|
2527
|
+
statusCode: 'statusCode',
|
|
2393
2528
|
body: 'body',
|
|
2394
2529
|
};
|
|
2395
2530
|
}
|
|
2396
2531
|
static types() {
|
|
2397
2532
|
return {
|
|
2398
2533
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2534
|
+
statusCode: 'number',
|
|
2399
2535
|
body: DescribePolicyDetailsResponseBody,
|
|
2400
2536
|
};
|
|
2401
2537
|
}
|
|
@@ -2430,12 +2566,14 @@ class DescribePolicyGovernanceInClusterResponse extends $tea.Model {
|
|
|
2430
2566
|
static names() {
|
|
2431
2567
|
return {
|
|
2432
2568
|
headers: 'headers',
|
|
2569
|
+
statusCode: 'statusCode',
|
|
2433
2570
|
body: 'body',
|
|
2434
2571
|
};
|
|
2435
2572
|
}
|
|
2436
2573
|
static types() {
|
|
2437
2574
|
return {
|
|
2438
2575
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2576
|
+
statusCode: 'number',
|
|
2439
2577
|
body: DescribePolicyGovernanceInClusterResponseBody,
|
|
2440
2578
|
};
|
|
2441
2579
|
}
|
|
@@ -2466,12 +2604,14 @@ class DescribePolicyInstancesResponse extends $tea.Model {
|
|
|
2466
2604
|
static names() {
|
|
2467
2605
|
return {
|
|
2468
2606
|
headers: 'headers',
|
|
2607
|
+
statusCode: 'statusCode',
|
|
2469
2608
|
body: 'body',
|
|
2470
2609
|
};
|
|
2471
2610
|
}
|
|
2472
2611
|
static types() {
|
|
2473
2612
|
return {
|
|
2474
2613
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2614
|
+
statusCode: 'number',
|
|
2475
2615
|
body: { 'type': 'array', 'itemType': DescribePolicyInstancesResponseBody },
|
|
2476
2616
|
};
|
|
2477
2617
|
}
|
|
@@ -2502,12 +2642,14 @@ class DescribePolicyInstancesStatusResponse extends $tea.Model {
|
|
|
2502
2642
|
static names() {
|
|
2503
2643
|
return {
|
|
2504
2644
|
headers: 'headers',
|
|
2645
|
+
statusCode: 'statusCode',
|
|
2505
2646
|
body: 'body',
|
|
2506
2647
|
};
|
|
2507
2648
|
}
|
|
2508
2649
|
static types() {
|
|
2509
2650
|
return {
|
|
2510
2651
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2652
|
+
statusCode: 'number',
|
|
2511
2653
|
body: DescribePolicyInstancesStatusResponseBody,
|
|
2512
2654
|
};
|
|
2513
2655
|
}
|
|
@@ -2548,12 +2690,14 @@ class DescribeTaskInfoResponse extends $tea.Model {
|
|
|
2548
2690
|
static names() {
|
|
2549
2691
|
return {
|
|
2550
2692
|
headers: 'headers',
|
|
2693
|
+
statusCode: 'statusCode',
|
|
2551
2694
|
body: 'body',
|
|
2552
2695
|
};
|
|
2553
2696
|
}
|
|
2554
2697
|
static types() {
|
|
2555
2698
|
return {
|
|
2556
2699
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2700
|
+
statusCode: 'number',
|
|
2557
2701
|
body: DescribeTaskInfoResponseBody,
|
|
2558
2702
|
};
|
|
2559
2703
|
}
|
|
@@ -2582,12 +2726,14 @@ class DescribeTemplateAttributeResponse extends $tea.Model {
|
|
|
2582
2726
|
static names() {
|
|
2583
2727
|
return {
|
|
2584
2728
|
headers: 'headers',
|
|
2729
|
+
statusCode: 'statusCode',
|
|
2585
2730
|
body: 'body',
|
|
2586
2731
|
};
|
|
2587
2732
|
}
|
|
2588
2733
|
static types() {
|
|
2589
2734
|
return {
|
|
2590
2735
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2736
|
+
statusCode: 'number',
|
|
2591
2737
|
body: { 'type': 'array', 'itemType': DescribeTemplateAttributeResponseBody },
|
|
2592
2738
|
};
|
|
2593
2739
|
}
|
|
@@ -2638,12 +2784,14 @@ class DescribeTemplatesResponse extends $tea.Model {
|
|
|
2638
2784
|
static names() {
|
|
2639
2785
|
return {
|
|
2640
2786
|
headers: 'headers',
|
|
2787
|
+
statusCode: 'statusCode',
|
|
2641
2788
|
body: 'body',
|
|
2642
2789
|
};
|
|
2643
2790
|
}
|
|
2644
2791
|
static types() {
|
|
2645
2792
|
return {
|
|
2646
2793
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2794
|
+
statusCode: 'number',
|
|
2647
2795
|
body: DescribeTemplatesResponseBody,
|
|
2648
2796
|
};
|
|
2649
2797
|
}
|
|
@@ -2678,12 +2826,14 @@ class DescribeTriggerResponse extends $tea.Model {
|
|
|
2678
2826
|
static names() {
|
|
2679
2827
|
return {
|
|
2680
2828
|
headers: 'headers',
|
|
2829
|
+
statusCode: 'statusCode',
|
|
2681
2830
|
body: 'body',
|
|
2682
2831
|
};
|
|
2683
2832
|
}
|
|
2684
2833
|
static types() {
|
|
2685
2834
|
return {
|
|
2686
2835
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2836
|
+
statusCode: 'number',
|
|
2687
2837
|
body: { 'type': 'array', 'itemType': DescribeTriggerResponseBody },
|
|
2688
2838
|
};
|
|
2689
2839
|
}
|
|
@@ -2696,12 +2846,14 @@ class DescribeUserPermissionResponse extends $tea.Model {
|
|
|
2696
2846
|
static names() {
|
|
2697
2847
|
return {
|
|
2698
2848
|
headers: 'headers',
|
|
2849
|
+
statusCode: 'statusCode',
|
|
2699
2850
|
body: 'body',
|
|
2700
2851
|
};
|
|
2701
2852
|
}
|
|
2702
2853
|
static types() {
|
|
2703
2854
|
return {
|
|
2704
2855
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2856
|
+
statusCode: 'number',
|
|
2705
2857
|
body: { 'type': 'array', 'itemType': DescribeUserPermissionResponseBody },
|
|
2706
2858
|
};
|
|
2707
2859
|
}
|
|
@@ -2738,12 +2890,14 @@ class DescribeUserQuotaResponse extends $tea.Model {
|
|
|
2738
2890
|
static names() {
|
|
2739
2891
|
return {
|
|
2740
2892
|
headers: 'headers',
|
|
2893
|
+
statusCode: 'statusCode',
|
|
2741
2894
|
body: 'body',
|
|
2742
2895
|
};
|
|
2743
2896
|
}
|
|
2744
2897
|
static types() {
|
|
2745
2898
|
return {
|
|
2746
2899
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2900
|
+
statusCode: 'number',
|
|
2747
2901
|
body: DescribeUserQuotaResponseBody,
|
|
2748
2902
|
};
|
|
2749
2903
|
}
|
|
@@ -2772,12 +2926,14 @@ class DescribeWorkflowsResponse extends $tea.Model {
|
|
|
2772
2926
|
static names() {
|
|
2773
2927
|
return {
|
|
2774
2928
|
headers: 'headers',
|
|
2929
|
+
statusCode: 'statusCode',
|
|
2775
2930
|
body: 'body',
|
|
2776
2931
|
};
|
|
2777
2932
|
}
|
|
2778
2933
|
static types() {
|
|
2779
2934
|
return {
|
|
2780
2935
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2936
|
+
statusCode: 'number',
|
|
2781
2937
|
body: DescribeWorkflowsResponseBody,
|
|
2782
2938
|
};
|
|
2783
2939
|
}
|
|
@@ -2828,17 +2984,75 @@ class EdgeClusterAddEdgeMachineResponse extends $tea.Model {
|
|
|
2828
2984
|
static names() {
|
|
2829
2985
|
return {
|
|
2830
2986
|
headers: 'headers',
|
|
2987
|
+
statusCode: 'statusCode',
|
|
2831
2988
|
body: 'body',
|
|
2832
2989
|
};
|
|
2833
2990
|
}
|
|
2834
2991
|
static types() {
|
|
2835
2992
|
return {
|
|
2836
2993
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2994
|
+
statusCode: 'number',
|
|
2837
2995
|
body: EdgeClusterAddEdgeMachineResponseBody,
|
|
2838
2996
|
};
|
|
2839
2997
|
}
|
|
2840
2998
|
}
|
|
2841
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;
|
|
2842
3056
|
class GetKubernetesTriggerRequest extends $tea.Model {
|
|
2843
3057
|
constructor(map) {
|
|
2844
3058
|
super(map);
|
|
@@ -2868,12 +3082,14 @@ class GetKubernetesTriggerResponse extends $tea.Model {
|
|
|
2868
3082
|
static names() {
|
|
2869
3083
|
return {
|
|
2870
3084
|
headers: 'headers',
|
|
3085
|
+
statusCode: 'statusCode',
|
|
2871
3086
|
body: 'body',
|
|
2872
3087
|
};
|
|
2873
3088
|
}
|
|
2874
3089
|
static types() {
|
|
2875
3090
|
return {
|
|
2876
3091
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3092
|
+
statusCode: 'number',
|
|
2877
3093
|
body: { 'type': 'array', 'itemType': GetKubernetesTriggerResponseBody },
|
|
2878
3094
|
};
|
|
2879
3095
|
}
|
|
@@ -2910,12 +3126,14 @@ class GetUpgradeStatusResponse extends $tea.Model {
|
|
|
2910
3126
|
static names() {
|
|
2911
3127
|
return {
|
|
2912
3128
|
headers: 'headers',
|
|
3129
|
+
statusCode: 'statusCode',
|
|
2913
3130
|
body: 'body',
|
|
2914
3131
|
};
|
|
2915
3132
|
}
|
|
2916
3133
|
static types() {
|
|
2917
3134
|
return {
|
|
2918
3135
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3136
|
+
statusCode: 'number',
|
|
2919
3137
|
body: GetUpgradeStatusResponseBody,
|
|
2920
3138
|
};
|
|
2921
3139
|
}
|
|
@@ -2944,11 +3162,13 @@ class GrantPermissionsResponse extends $tea.Model {
|
|
|
2944
3162
|
static names() {
|
|
2945
3163
|
return {
|
|
2946
3164
|
headers: 'headers',
|
|
3165
|
+
statusCode: 'statusCode',
|
|
2947
3166
|
};
|
|
2948
3167
|
}
|
|
2949
3168
|
static types() {
|
|
2950
3169
|
return {
|
|
2951
3170
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3171
|
+
statusCode: 'number',
|
|
2952
3172
|
};
|
|
2953
3173
|
}
|
|
2954
3174
|
}
|
|
@@ -2976,11 +3196,13 @@ class InstallClusterAddonsResponse extends $tea.Model {
|
|
|
2976
3196
|
static names() {
|
|
2977
3197
|
return {
|
|
2978
3198
|
headers: 'headers',
|
|
3199
|
+
statusCode: 'statusCode',
|
|
2979
3200
|
};
|
|
2980
3201
|
}
|
|
2981
3202
|
static types() {
|
|
2982
3203
|
return {
|
|
2983
3204
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3205
|
+
statusCode: 'number',
|
|
2984
3206
|
};
|
|
2985
3207
|
}
|
|
2986
3208
|
}
|
|
@@ -3060,12 +3282,14 @@ class ListTagResourcesResponse extends $tea.Model {
|
|
|
3060
3282
|
static names() {
|
|
3061
3283
|
return {
|
|
3062
3284
|
headers: 'headers',
|
|
3285
|
+
statusCode: 'statusCode',
|
|
3063
3286
|
body: 'body',
|
|
3064
3287
|
};
|
|
3065
3288
|
}
|
|
3066
3289
|
static types() {
|
|
3067
3290
|
return {
|
|
3068
3291
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3292
|
+
statusCode: 'number',
|
|
3069
3293
|
body: ListTagResourcesResponseBody,
|
|
3070
3294
|
};
|
|
3071
3295
|
}
|
|
@@ -3078,11 +3302,13 @@ class MigrateClusterResponse extends $tea.Model {
|
|
|
3078
3302
|
static names() {
|
|
3079
3303
|
return {
|
|
3080
3304
|
headers: 'headers',
|
|
3305
|
+
statusCode: 'statusCode',
|
|
3081
3306
|
};
|
|
3082
3307
|
}
|
|
3083
3308
|
static types() {
|
|
3084
3309
|
return {
|
|
3085
3310
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3311
|
+
statusCode: 'number',
|
|
3086
3312
|
};
|
|
3087
3313
|
}
|
|
3088
3314
|
}
|
|
@@ -3146,12 +3372,14 @@ class ModifyClusterResponse extends $tea.Model {
|
|
|
3146
3372
|
static names() {
|
|
3147
3373
|
return {
|
|
3148
3374
|
headers: 'headers',
|
|
3375
|
+
statusCode: 'statusCode',
|
|
3149
3376
|
body: 'body',
|
|
3150
3377
|
};
|
|
3151
3378
|
}
|
|
3152
3379
|
static types() {
|
|
3153
3380
|
return {
|
|
3154
3381
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3382
|
+
statusCode: 'number',
|
|
3155
3383
|
body: ModifyClusterResponseBody,
|
|
3156
3384
|
};
|
|
3157
3385
|
}
|
|
@@ -3180,11 +3408,13 @@ class ModifyClusterAddonResponse extends $tea.Model {
|
|
|
3180
3408
|
static names() {
|
|
3181
3409
|
return {
|
|
3182
3410
|
headers: 'headers',
|
|
3411
|
+
statusCode: 'statusCode',
|
|
3183
3412
|
};
|
|
3184
3413
|
}
|
|
3185
3414
|
static types() {
|
|
3186
3415
|
return {
|
|
3187
3416
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3417
|
+
statusCode: 'number',
|
|
3188
3418
|
};
|
|
3189
3419
|
}
|
|
3190
3420
|
}
|
|
@@ -3212,11 +3442,13 @@ class ModifyClusterConfigurationResponse extends $tea.Model {
|
|
|
3212
3442
|
static names() {
|
|
3213
3443
|
return {
|
|
3214
3444
|
headers: 'headers',
|
|
3445
|
+
statusCode: 'statusCode',
|
|
3215
3446
|
};
|
|
3216
3447
|
}
|
|
3217
3448
|
static types() {
|
|
3218
3449
|
return {
|
|
3219
3450
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3451
|
+
statusCode: 'number',
|
|
3220
3452
|
};
|
|
3221
3453
|
}
|
|
3222
3454
|
}
|
|
@@ -3274,12 +3506,14 @@ class ModifyClusterNodePoolResponse extends $tea.Model {
|
|
|
3274
3506
|
static names() {
|
|
3275
3507
|
return {
|
|
3276
3508
|
headers: 'headers',
|
|
3509
|
+
statusCode: 'statusCode',
|
|
3277
3510
|
body: 'body',
|
|
3278
3511
|
};
|
|
3279
3512
|
}
|
|
3280
3513
|
static types() {
|
|
3281
3514
|
return {
|
|
3282
3515
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3516
|
+
statusCode: 'number',
|
|
3283
3517
|
body: ModifyClusterNodePoolResponseBody,
|
|
3284
3518
|
};
|
|
3285
3519
|
}
|
|
@@ -3308,11 +3542,13 @@ class ModifyClusterTagsResponse extends $tea.Model {
|
|
|
3308
3542
|
static names() {
|
|
3309
3543
|
return {
|
|
3310
3544
|
headers: 'headers',
|
|
3545
|
+
statusCode: 'statusCode',
|
|
3311
3546
|
};
|
|
3312
3547
|
}
|
|
3313
3548
|
static types() {
|
|
3314
3549
|
return {
|
|
3315
3550
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3551
|
+
statusCode: 'number',
|
|
3316
3552
|
};
|
|
3317
3553
|
}
|
|
3318
3554
|
}
|
|
@@ -3362,12 +3598,14 @@ class ModifyPolicyInstanceResponse extends $tea.Model {
|
|
|
3362
3598
|
static names() {
|
|
3363
3599
|
return {
|
|
3364
3600
|
headers: 'headers',
|
|
3601
|
+
statusCode: 'statusCode',
|
|
3365
3602
|
body: 'body',
|
|
3366
3603
|
};
|
|
3367
3604
|
}
|
|
3368
3605
|
static types() {
|
|
3369
3606
|
return {
|
|
3370
3607
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3608
|
+
statusCode: 'number',
|
|
3371
3609
|
body: ModifyPolicyInstanceResponseBody,
|
|
3372
3610
|
};
|
|
3373
3611
|
}
|
|
@@ -3414,12 +3652,14 @@ class OpenAckServiceResponse extends $tea.Model {
|
|
|
3414
3652
|
static names() {
|
|
3415
3653
|
return {
|
|
3416
3654
|
headers: 'headers',
|
|
3655
|
+
statusCode: 'statusCode',
|
|
3417
3656
|
body: 'body',
|
|
3418
3657
|
};
|
|
3419
3658
|
}
|
|
3420
3659
|
static types() {
|
|
3421
3660
|
return {
|
|
3422
3661
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3662
|
+
statusCode: 'number',
|
|
3423
3663
|
body: OpenAckServiceResponseBody,
|
|
3424
3664
|
};
|
|
3425
3665
|
}
|
|
@@ -3432,11 +3672,13 @@ class PauseClusterUpgradeResponse extends $tea.Model {
|
|
|
3432
3672
|
static names() {
|
|
3433
3673
|
return {
|
|
3434
3674
|
headers: 'headers',
|
|
3675
|
+
statusCode: 'statusCode',
|
|
3435
3676
|
};
|
|
3436
3677
|
}
|
|
3437
3678
|
static types() {
|
|
3438
3679
|
return {
|
|
3439
3680
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3681
|
+
statusCode: 'number',
|
|
3440
3682
|
};
|
|
3441
3683
|
}
|
|
3442
3684
|
}
|
|
@@ -3448,15 +3690,35 @@ class PauseComponentUpgradeResponse extends $tea.Model {
|
|
|
3448
3690
|
static names() {
|
|
3449
3691
|
return {
|
|
3450
3692
|
headers: 'headers',
|
|
3693
|
+
statusCode: 'statusCode',
|
|
3451
3694
|
};
|
|
3452
3695
|
}
|
|
3453
3696
|
static types() {
|
|
3454
3697
|
return {
|
|
3455
3698
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3699
|
+
statusCode: 'number',
|
|
3456
3700
|
};
|
|
3457
3701
|
}
|
|
3458
3702
|
}
|
|
3459
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;
|
|
3460
3722
|
class RemoveClusterNodesRequest extends $tea.Model {
|
|
3461
3723
|
constructor(map) {
|
|
3462
3724
|
super(map);
|
|
@@ -3484,11 +3746,13 @@ class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
3484
3746
|
static names() {
|
|
3485
3747
|
return {
|
|
3486
3748
|
headers: 'headers',
|
|
3749
|
+
statusCode: 'statusCode',
|
|
3487
3750
|
};
|
|
3488
3751
|
}
|
|
3489
3752
|
static types() {
|
|
3490
3753
|
return {
|
|
3491
3754
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3755
|
+
statusCode: 'number',
|
|
3492
3756
|
};
|
|
3493
3757
|
}
|
|
3494
3758
|
}
|
|
@@ -3500,11 +3764,13 @@ class RemoveWorkflowResponse extends $tea.Model {
|
|
|
3500
3764
|
static names() {
|
|
3501
3765
|
return {
|
|
3502
3766
|
headers: 'headers',
|
|
3767
|
+
statusCode: 'statusCode',
|
|
3503
3768
|
};
|
|
3504
3769
|
}
|
|
3505
3770
|
static types() {
|
|
3506
3771
|
return {
|
|
3507
3772
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3773
|
+
statusCode: 'number',
|
|
3508
3774
|
};
|
|
3509
3775
|
}
|
|
3510
3776
|
}
|
|
@@ -3550,12 +3816,14 @@ class RepairClusterNodePoolResponse extends $tea.Model {
|
|
|
3550
3816
|
static names() {
|
|
3551
3817
|
return {
|
|
3552
3818
|
headers: 'headers',
|
|
3819
|
+
statusCode: 'statusCode',
|
|
3553
3820
|
body: 'body',
|
|
3554
3821
|
};
|
|
3555
3822
|
}
|
|
3556
3823
|
static types() {
|
|
3557
3824
|
return {
|
|
3558
3825
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3826
|
+
statusCode: 'number',
|
|
3559
3827
|
body: RepairClusterNodePoolResponseBody,
|
|
3560
3828
|
};
|
|
3561
3829
|
}
|
|
@@ -3568,15 +3836,35 @@ class ResumeComponentUpgradeResponse extends $tea.Model {
|
|
|
3568
3836
|
static names() {
|
|
3569
3837
|
return {
|
|
3570
3838
|
headers: 'headers',
|
|
3839
|
+
statusCode: 'statusCode',
|
|
3571
3840
|
};
|
|
3572
3841
|
}
|
|
3573
3842
|
static types() {
|
|
3574
3843
|
return {
|
|
3575
3844
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3845
|
+
statusCode: 'number',
|
|
3576
3846
|
};
|
|
3577
3847
|
}
|
|
3578
3848
|
}
|
|
3579
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;
|
|
3580
3868
|
class ResumeUpgradeClusterResponse extends $tea.Model {
|
|
3581
3869
|
constructor(map) {
|
|
3582
3870
|
super(map);
|
|
@@ -3584,11 +3872,13 @@ class ResumeUpgradeClusterResponse extends $tea.Model {
|
|
|
3584
3872
|
static names() {
|
|
3585
3873
|
return {
|
|
3586
3874
|
headers: 'headers',
|
|
3875
|
+
statusCode: 'statusCode',
|
|
3587
3876
|
};
|
|
3588
3877
|
}
|
|
3589
3878
|
static types() {
|
|
3590
3879
|
return {
|
|
3591
3880
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3881
|
+
statusCode: 'number',
|
|
3592
3882
|
};
|
|
3593
3883
|
}
|
|
3594
3884
|
}
|
|
@@ -3672,12 +3962,14 @@ class ScaleClusterResponse extends $tea.Model {
|
|
|
3672
3962
|
static names() {
|
|
3673
3963
|
return {
|
|
3674
3964
|
headers: 'headers',
|
|
3965
|
+
statusCode: 'statusCode',
|
|
3675
3966
|
body: 'body',
|
|
3676
3967
|
};
|
|
3677
3968
|
}
|
|
3678
3969
|
static types() {
|
|
3679
3970
|
return {
|
|
3680
3971
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3972
|
+
statusCode: 'number',
|
|
3681
3973
|
body: ScaleClusterResponseBody,
|
|
3682
3974
|
};
|
|
3683
3975
|
}
|
|
@@ -3722,12 +4014,14 @@ class ScaleClusterNodePoolResponse extends $tea.Model {
|
|
|
3722
4014
|
static names() {
|
|
3723
4015
|
return {
|
|
3724
4016
|
headers: 'headers',
|
|
4017
|
+
statusCode: 'statusCode',
|
|
3725
4018
|
body: 'body',
|
|
3726
4019
|
};
|
|
3727
4020
|
}
|
|
3728
4021
|
static types() {
|
|
3729
4022
|
return {
|
|
3730
4023
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4024
|
+
statusCode: 'number',
|
|
3731
4025
|
body: ScaleClusterNodePoolResponseBody,
|
|
3732
4026
|
};
|
|
3733
4027
|
}
|
|
@@ -3816,12 +4110,14 @@ class ScaleOutClusterResponse extends $tea.Model {
|
|
|
3816
4110
|
static names() {
|
|
3817
4111
|
return {
|
|
3818
4112
|
headers: 'headers',
|
|
4113
|
+
statusCode: 'statusCode',
|
|
3819
4114
|
body: 'body',
|
|
3820
4115
|
};
|
|
3821
4116
|
}
|
|
3822
4117
|
static types() {
|
|
3823
4118
|
return {
|
|
3824
4119
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4120
|
+
statusCode: 'number',
|
|
3825
4121
|
body: ScaleOutClusterResponseBody,
|
|
3826
4122
|
};
|
|
3827
4123
|
}
|
|
@@ -3902,12 +4198,14 @@ class StartWorkflowResponse extends $tea.Model {
|
|
|
3902
4198
|
static names() {
|
|
3903
4199
|
return {
|
|
3904
4200
|
headers: 'headers',
|
|
4201
|
+
statusCode: 'statusCode',
|
|
3905
4202
|
body: 'body',
|
|
3906
4203
|
};
|
|
3907
4204
|
}
|
|
3908
4205
|
static types() {
|
|
3909
4206
|
return {
|
|
3910
4207
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4208
|
+
statusCode: 'number',
|
|
3911
4209
|
body: StartWorkflowResponseBody,
|
|
3912
4210
|
};
|
|
3913
4211
|
}
|
|
@@ -3958,12 +4256,14 @@ class TagResourcesResponse extends $tea.Model {
|
|
|
3958
4256
|
static names() {
|
|
3959
4257
|
return {
|
|
3960
4258
|
headers: 'headers',
|
|
4259
|
+
statusCode: 'statusCode',
|
|
3961
4260
|
body: 'body',
|
|
3962
4261
|
};
|
|
3963
4262
|
}
|
|
3964
4263
|
static types() {
|
|
3965
4264
|
return {
|
|
3966
4265
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4266
|
+
statusCode: 'number',
|
|
3967
4267
|
body: TagResourcesResponseBody,
|
|
3968
4268
|
};
|
|
3969
4269
|
}
|
|
@@ -3992,11 +4292,13 @@ class UnInstallClusterAddonsResponse extends $tea.Model {
|
|
|
3992
4292
|
static names() {
|
|
3993
4293
|
return {
|
|
3994
4294
|
headers: 'headers',
|
|
4295
|
+
statusCode: 'statusCode',
|
|
3995
4296
|
};
|
|
3996
4297
|
}
|
|
3997
4298
|
static types() {
|
|
3998
4299
|
return {
|
|
3999
4300
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4301
|
+
statusCode: 'number',
|
|
4000
4302
|
};
|
|
4001
4303
|
}
|
|
4002
4304
|
}
|
|
@@ -4048,12 +4350,14 @@ class UntagResourcesResponse extends $tea.Model {
|
|
|
4048
4350
|
static names() {
|
|
4049
4351
|
return {
|
|
4050
4352
|
headers: 'headers',
|
|
4353
|
+
statusCode: 'statusCode',
|
|
4051
4354
|
body: 'body',
|
|
4052
4355
|
};
|
|
4053
4356
|
}
|
|
4054
4357
|
static types() {
|
|
4055
4358
|
return {
|
|
4056
4359
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4360
|
+
statusCode: 'number',
|
|
4057
4361
|
body: UntagResourcesResponseBody,
|
|
4058
4362
|
};
|
|
4059
4363
|
}
|
|
@@ -4066,11 +4370,13 @@ class UpdateContactGroupForAlertResponse extends $tea.Model {
|
|
|
4066
4370
|
static names() {
|
|
4067
4371
|
return {
|
|
4068
4372
|
headers: 'headers',
|
|
4373
|
+
statusCode: 'statusCode',
|
|
4069
4374
|
};
|
|
4070
4375
|
}
|
|
4071
4376
|
static types() {
|
|
4072
4377
|
return {
|
|
4073
4378
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4379
|
+
statusCode: 'number',
|
|
4074
4380
|
};
|
|
4075
4381
|
}
|
|
4076
4382
|
}
|
|
@@ -4100,11 +4406,13 @@ class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
|
|
|
4100
4406
|
static names() {
|
|
4101
4407
|
return {
|
|
4102
4408
|
headers: 'headers',
|
|
4409
|
+
statusCode: 'statusCode',
|
|
4103
4410
|
};
|
|
4104
4411
|
}
|
|
4105
4412
|
static types() {
|
|
4106
4413
|
return {
|
|
4107
4414
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4415
|
+
statusCode: 'number',
|
|
4108
4416
|
};
|
|
4109
4417
|
}
|
|
4110
4418
|
}
|
|
@@ -4140,11 +4448,13 @@ class UpdateTemplateResponse extends $tea.Model {
|
|
|
4140
4448
|
static names() {
|
|
4141
4449
|
return {
|
|
4142
4450
|
headers: 'headers',
|
|
4451
|
+
statusCode: 'statusCode',
|
|
4143
4452
|
};
|
|
4144
4453
|
}
|
|
4145
4454
|
static types() {
|
|
4146
4455
|
return {
|
|
4147
4456
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4457
|
+
statusCode: 'number',
|
|
4148
4458
|
};
|
|
4149
4459
|
}
|
|
4150
4460
|
}
|
|
@@ -4176,11 +4486,13 @@ class UpgradeClusterResponse extends $tea.Model {
|
|
|
4176
4486
|
static names() {
|
|
4177
4487
|
return {
|
|
4178
4488
|
headers: 'headers',
|
|
4489
|
+
statusCode: 'statusCode',
|
|
4179
4490
|
};
|
|
4180
4491
|
}
|
|
4181
4492
|
static types() {
|
|
4182
4493
|
return {
|
|
4183
4494
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4495
|
+
statusCode: 'number',
|
|
4184
4496
|
};
|
|
4185
4497
|
}
|
|
4186
4498
|
}
|
|
@@ -4208,11 +4520,13 @@ class UpgradeClusterAddonsResponse extends $tea.Model {
|
|
|
4208
4520
|
static names() {
|
|
4209
4521
|
return {
|
|
4210
4522
|
headers: 'headers',
|
|
4523
|
+
statusCode: 'statusCode',
|
|
4211
4524
|
};
|
|
4212
4525
|
}
|
|
4213
4526
|
static types() {
|
|
4214
4527
|
return {
|
|
4215
4528
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4529
|
+
statusCode: 'number',
|
|
4216
4530
|
};
|
|
4217
4531
|
}
|
|
4218
4532
|
}
|
|
@@ -5337,6 +5651,7 @@ class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
5337
5651
|
resourceInfo: 'resource_info',
|
|
5338
5652
|
resourceType: 'resource_type',
|
|
5339
5653
|
state: 'state',
|
|
5654
|
+
autoCreate: 'auto_create',
|
|
5340
5655
|
};
|
|
5341
5656
|
}
|
|
5342
5657
|
static types() {
|
|
@@ -5347,6 +5662,7 @@ class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
5347
5662
|
resourceInfo: 'string',
|
|
5348
5663
|
resourceType: 'string',
|
|
5349
5664
|
state: 'string',
|
|
5665
|
+
autoCreate: 'number',
|
|
5350
5666
|
};
|
|
5351
5667
|
}
|
|
5352
5668
|
}
|
|
@@ -5739,6 +6055,46 @@ class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
|
|
|
5739
6055
|
}
|
|
5740
6056
|
}
|
|
5741
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;
|
|
5742
6098
|
class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog extends $tea.Model {
|
|
5743
6099
|
constructor(map) {
|
|
5744
6100
|
super(map);
|
|
@@ -6159,6 +6515,22 @@ class DescribeWorkflowsResponseBodyJobs extends $tea.Model {
|
|
|
6159
6515
|
}
|
|
6160
6516
|
}
|
|
6161
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;
|
|
6162
6534
|
class GetKubernetesTriggerResponseBody extends $tea.Model {
|
|
6163
6535
|
constructor(map) {
|
|
6164
6536
|
super(map);
|
|
@@ -6828,6 +7200,29 @@ class Client extends openapi_client_1.default {
|
|
|
6828
7200
|
});
|
|
6829
7201
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
6830
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
|
+
}
|
|
6831
7226
|
async cancelWorkflow(workflowName, request) {
|
|
6832
7227
|
let runtime = new $Util.RuntimeOptions({});
|
|
6833
7228
|
let headers = {};
|
|
@@ -6869,9 +7264,15 @@ class Client extends openapi_client_1.default {
|
|
|
6869
7264
|
if (!tea_util_1.default.isUnset(request.coolDownDuration)) {
|
|
6870
7265
|
body["cool_down_duration"] = request.coolDownDuration;
|
|
6871
7266
|
}
|
|
7267
|
+
if (!tea_util_1.default.isUnset(request.expander)) {
|
|
7268
|
+
body["expander"] = request.expander;
|
|
7269
|
+
}
|
|
6872
7270
|
if (!tea_util_1.default.isUnset(request.gpuUtilizationThreshold)) {
|
|
6873
7271
|
body["gpu_utilization_threshold"] = request.gpuUtilizationThreshold;
|
|
6874
7272
|
}
|
|
7273
|
+
if (!tea_util_1.default.isUnset(request.scaleDownEnabled)) {
|
|
7274
|
+
body["scale_down_enabled"] = request.scaleDownEnabled;
|
|
7275
|
+
}
|
|
6875
7276
|
if (!tea_util_1.default.isUnset(request.scanInterval)) {
|
|
6876
7277
|
body["scan_interval"] = request.scanInterval;
|
|
6877
7278
|
}
|
|
@@ -7473,13 +7874,13 @@ class Client extends openapi_client_1.default {
|
|
|
7473
7874
|
tea_util_1.default.validateModel(request);
|
|
7474
7875
|
ClusterId = openapi_util_1.default.getEncodeParam(ClusterId);
|
|
7475
7876
|
NodepoolId = openapi_util_1.default.getEncodeParam(NodepoolId);
|
|
7476
|
-
let
|
|
7877
|
+
let query = {};
|
|
7477
7878
|
if (!tea_util_1.default.isUnset(request.force)) {
|
|
7478
|
-
|
|
7879
|
+
query["force"] = request.force;
|
|
7479
7880
|
}
|
|
7480
7881
|
let req = new $OpenApi.OpenApiRequest({
|
|
7481
7882
|
headers: headers,
|
|
7482
|
-
|
|
7883
|
+
query: openapi_util_1.default.query(query),
|
|
7483
7884
|
});
|
|
7484
7885
|
let params = new $OpenApi.Params({
|
|
7485
7886
|
action: "DeleteClusterNodepool",
|
|
@@ -7944,29 +8345,6 @@ class Client extends openapi_client_1.default {
|
|
|
7944
8345
|
});
|
|
7945
8346
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
|
|
7946
8347
|
}
|
|
7947
|
-
async describeClusterNamespaces(ClusterId) {
|
|
7948
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
7949
|
-
let headers = {};
|
|
7950
|
-
return await this.describeClusterNamespacesWithOptions(ClusterId, headers, runtime);
|
|
7951
|
-
}
|
|
7952
|
-
async describeClusterNamespacesWithOptions(ClusterId, headers, runtime) {
|
|
7953
|
-
ClusterId = openapi_util_1.default.getEncodeParam(ClusterId);
|
|
7954
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
7955
|
-
headers: headers,
|
|
7956
|
-
});
|
|
7957
|
-
let params = new $OpenApi.Params({
|
|
7958
|
-
action: "DescribeClusterNamespaces",
|
|
7959
|
-
version: "2015-12-15",
|
|
7960
|
-
protocol: "HTTPS",
|
|
7961
|
-
pathname: `/k8s/${ClusterId}/namespaces`,
|
|
7962
|
-
method: "GET",
|
|
7963
|
-
authType: "AK",
|
|
7964
|
-
style: "ROA",
|
|
7965
|
-
reqBodyType: "json",
|
|
7966
|
-
bodyType: "array",
|
|
7967
|
-
});
|
|
7968
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNamespacesResponse({}));
|
|
7969
|
-
}
|
|
7970
8348
|
async describeClusterNodePoolDetail(ClusterId, NodepoolId) {
|
|
7971
8349
|
let runtime = new $Util.RuntimeOptions({});
|
|
7972
8350
|
let headers = {};
|
|
@@ -8433,6 +8811,30 @@ class Client extends openapi_client_1.default {
|
|
|
8433
8811
|
});
|
|
8434
8812
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
8435
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
|
+
}
|
|
8436
8838
|
async describePolicies() {
|
|
8437
8839
|
let runtime = new $Util.RuntimeOptions({});
|
|
8438
8840
|
let headers = {};
|
|
@@ -8783,6 +9185,42 @@ class Client extends openapi_client_1.default {
|
|
|
8783
9185
|
});
|
|
8784
9186
|
return $tea.cast(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
8785
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
|
+
}
|
|
8786
9224
|
async getKubernetesTrigger(ClusterId, request) {
|
|
8787
9225
|
let runtime = new $Util.RuntimeOptions({});
|
|
8788
9226
|
let headers = {};
|
|
@@ -9264,6 +9702,29 @@ class Client extends openapi_client_1.default {
|
|
|
9264
9702
|
});
|
|
9265
9703
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
9266
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
|
+
}
|
|
9267
9728
|
async removeClusterNodes(ClusterId, request) {
|
|
9268
9729
|
let runtime = new $Util.RuntimeOptions({});
|
|
9269
9730
|
let headers = {};
|
|
@@ -9376,6 +9837,29 @@ class Client extends openapi_client_1.default {
|
|
|
9376
9837
|
});
|
|
9377
9838
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
9378
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
|
+
}
|
|
9379
9863
|
async resumeUpgradeCluster(ClusterId) {
|
|
9380
9864
|
let runtime = new $Util.RuntimeOptions({});
|
|
9381
9865
|
let headers = {};
|