@alicloud/cs20151215 3.0.12 → 3.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +633 -2
- package/dist/client.js +1151 -39
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1426 -13
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
|
}
|
|
@@ -333,6 +361,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
333
361
|
return {
|
|
334
362
|
addons: 'addons',
|
|
335
363
|
apiAudiences: 'api_audiences',
|
|
364
|
+
chargeType: 'charge_type',
|
|
336
365
|
cisEnabled: 'cis_enabled',
|
|
337
366
|
cloudMonitorFlags: 'cloud_monitor_flags',
|
|
338
367
|
clusterDomain: 'cluster_domain',
|
|
@@ -379,6 +408,8 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
379
408
|
nodePortRange: 'node_port_range',
|
|
380
409
|
numOfNodes: 'num_of_nodes',
|
|
381
410
|
osType: 'os_type',
|
|
411
|
+
period: 'period',
|
|
412
|
+
periodUnit: 'period_unit',
|
|
382
413
|
platform: 'platform',
|
|
383
414
|
podVswitchIds: 'pod_vswitch_ids',
|
|
384
415
|
profile: 'profile',
|
|
@@ -421,6 +452,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
421
452
|
return {
|
|
422
453
|
addons: { 'type': 'array', 'itemType': Addon },
|
|
423
454
|
apiAudiences: 'string',
|
|
455
|
+
chargeType: 'string',
|
|
424
456
|
cisEnabled: 'boolean',
|
|
425
457
|
cloudMonitorFlags: 'boolean',
|
|
426
458
|
clusterDomain: 'string',
|
|
@@ -467,6 +499,8 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
467
499
|
nodePortRange: 'string',
|
|
468
500
|
numOfNodes: 'number',
|
|
469
501
|
osType: 'string',
|
|
502
|
+
period: 'number',
|
|
503
|
+
periodUnit: 'string',
|
|
470
504
|
platform: 'string',
|
|
471
505
|
podVswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
472
506
|
profile: 'string',
|
|
@@ -534,12 +568,14 @@ class CreateClusterResponse extends $tea.Model {
|
|
|
534
568
|
static names() {
|
|
535
569
|
return {
|
|
536
570
|
headers: 'headers',
|
|
571
|
+
statusCode: 'statusCode',
|
|
537
572
|
body: 'body',
|
|
538
573
|
};
|
|
539
574
|
}
|
|
540
575
|
static types() {
|
|
541
576
|
return {
|
|
542
577
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
578
|
+
statusCode: 'number',
|
|
543
579
|
body: CreateClusterResponseBody,
|
|
544
580
|
};
|
|
545
581
|
}
|
|
@@ -602,12 +638,14 @@ class CreateClusterNodePoolResponse extends $tea.Model {
|
|
|
602
638
|
static names() {
|
|
603
639
|
return {
|
|
604
640
|
headers: 'headers',
|
|
641
|
+
statusCode: 'statusCode',
|
|
605
642
|
body: 'body',
|
|
606
643
|
};
|
|
607
644
|
}
|
|
608
645
|
static types() {
|
|
609
646
|
return {
|
|
610
647
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
648
|
+
statusCode: 'number',
|
|
611
649
|
body: CreateClusterNodePoolResponseBody,
|
|
612
650
|
};
|
|
613
651
|
}
|
|
@@ -658,12 +696,14 @@ class CreateEdgeMachineResponse extends $tea.Model {
|
|
|
658
696
|
static names() {
|
|
659
697
|
return {
|
|
660
698
|
headers: 'headers',
|
|
699
|
+
statusCode: 'statusCode',
|
|
661
700
|
body: 'body',
|
|
662
701
|
};
|
|
663
702
|
}
|
|
664
703
|
static types() {
|
|
665
704
|
return {
|
|
666
705
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
706
|
+
statusCode: 'number',
|
|
667
707
|
body: CreateEdgeMachineResponseBody,
|
|
668
708
|
};
|
|
669
709
|
}
|
|
@@ -722,12 +762,14 @@ class CreateKubernetesTriggerResponse extends $tea.Model {
|
|
|
722
762
|
static names() {
|
|
723
763
|
return {
|
|
724
764
|
headers: 'headers',
|
|
765
|
+
statusCode: 'statusCode',
|
|
725
766
|
body: 'body',
|
|
726
767
|
};
|
|
727
768
|
}
|
|
728
769
|
static types() {
|
|
729
770
|
return {
|
|
730
771
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
772
|
+
statusCode: 'number',
|
|
731
773
|
body: CreateKubernetesTriggerResponseBody,
|
|
732
774
|
};
|
|
733
775
|
}
|
|
@@ -780,12 +822,14 @@ class CreateTemplateResponse extends $tea.Model {
|
|
|
780
822
|
static names() {
|
|
781
823
|
return {
|
|
782
824
|
headers: 'headers',
|
|
825
|
+
statusCode: 'statusCode',
|
|
783
826
|
body: 'body',
|
|
784
827
|
};
|
|
785
828
|
}
|
|
786
829
|
static types() {
|
|
787
830
|
return {
|
|
788
831
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
832
|
+
statusCode: 'number',
|
|
789
833
|
body: CreateTemplateResponseBody,
|
|
790
834
|
};
|
|
791
835
|
}
|
|
@@ -844,12 +888,14 @@ class CreateTriggerResponse extends $tea.Model {
|
|
|
844
888
|
static names() {
|
|
845
889
|
return {
|
|
846
890
|
headers: 'headers',
|
|
891
|
+
statusCode: 'statusCode',
|
|
847
892
|
body: 'body',
|
|
848
893
|
};
|
|
849
894
|
}
|
|
850
895
|
static types() {
|
|
851
896
|
return {
|
|
852
897
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
898
|
+
statusCode: 'number',
|
|
853
899
|
body: CreateTriggerResponseBody,
|
|
854
900
|
};
|
|
855
901
|
}
|
|
@@ -862,11 +908,13 @@ class DeleteAlertContactResponse extends $tea.Model {
|
|
|
862
908
|
static names() {
|
|
863
909
|
return {
|
|
864
910
|
headers: 'headers',
|
|
911
|
+
statusCode: 'statusCode',
|
|
865
912
|
};
|
|
866
913
|
}
|
|
867
914
|
static types() {
|
|
868
915
|
return {
|
|
869
916
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
917
|
+
statusCode: 'number',
|
|
870
918
|
};
|
|
871
919
|
}
|
|
872
920
|
}
|
|
@@ -878,11 +926,13 @@ class DeleteAlertContactGroupResponse extends $tea.Model {
|
|
|
878
926
|
static names() {
|
|
879
927
|
return {
|
|
880
928
|
headers: 'headers',
|
|
929
|
+
statusCode: 'statusCode',
|
|
881
930
|
};
|
|
882
931
|
}
|
|
883
932
|
static types() {
|
|
884
933
|
return {
|
|
885
934
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
935
|
+
statusCode: 'number',
|
|
886
936
|
};
|
|
887
937
|
}
|
|
888
938
|
}
|
|
@@ -934,11 +984,13 @@ class DeleteClusterResponse extends $tea.Model {
|
|
|
934
984
|
static names() {
|
|
935
985
|
return {
|
|
936
986
|
headers: 'headers',
|
|
987
|
+
statusCode: 'statusCode',
|
|
937
988
|
};
|
|
938
989
|
}
|
|
939
990
|
static types() {
|
|
940
991
|
return {
|
|
941
992
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
993
|
+
statusCode: 'number',
|
|
942
994
|
};
|
|
943
995
|
}
|
|
944
996
|
}
|
|
@@ -982,12 +1034,14 @@ class DeleteClusterNodepoolResponse extends $tea.Model {
|
|
|
982
1034
|
static names() {
|
|
983
1035
|
return {
|
|
984
1036
|
headers: 'headers',
|
|
1037
|
+
statusCode: 'statusCode',
|
|
985
1038
|
body: 'body',
|
|
986
1039
|
};
|
|
987
1040
|
}
|
|
988
1041
|
static types() {
|
|
989
1042
|
return {
|
|
990
1043
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1044
|
+
statusCode: 'number',
|
|
991
1045
|
body: DeleteClusterNodepoolResponseBody,
|
|
992
1046
|
};
|
|
993
1047
|
}
|
|
@@ -1040,12 +1094,14 @@ class DeleteClusterNodesResponse extends $tea.Model {
|
|
|
1040
1094
|
static names() {
|
|
1041
1095
|
return {
|
|
1042
1096
|
headers: 'headers',
|
|
1097
|
+
statusCode: 'statusCode',
|
|
1043
1098
|
body: 'body',
|
|
1044
1099
|
};
|
|
1045
1100
|
}
|
|
1046
1101
|
static types() {
|
|
1047
1102
|
return {
|
|
1048
1103
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1104
|
+
statusCode: 'number',
|
|
1049
1105
|
body: DeleteClusterNodesResponseBody,
|
|
1050
1106
|
};
|
|
1051
1107
|
}
|
|
@@ -1074,11 +1130,13 @@ class DeleteEdgeMachineResponse extends $tea.Model {
|
|
|
1074
1130
|
static names() {
|
|
1075
1131
|
return {
|
|
1076
1132
|
headers: 'headers',
|
|
1133
|
+
statusCode: 'statusCode',
|
|
1077
1134
|
};
|
|
1078
1135
|
}
|
|
1079
1136
|
static types() {
|
|
1080
1137
|
return {
|
|
1081
1138
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1139
|
+
statusCode: 'number',
|
|
1082
1140
|
};
|
|
1083
1141
|
}
|
|
1084
1142
|
}
|
|
@@ -1090,11 +1148,13 @@ class DeleteKubernetesTriggerResponse extends $tea.Model {
|
|
|
1090
1148
|
static names() {
|
|
1091
1149
|
return {
|
|
1092
1150
|
headers: 'headers',
|
|
1151
|
+
statusCode: 'statusCode',
|
|
1093
1152
|
};
|
|
1094
1153
|
}
|
|
1095
1154
|
static types() {
|
|
1096
1155
|
return {
|
|
1097
1156
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1157
|
+
statusCode: 'number',
|
|
1098
1158
|
};
|
|
1099
1159
|
}
|
|
1100
1160
|
}
|
|
@@ -1138,12 +1198,14 @@ class DeletePolicyInstanceResponse extends $tea.Model {
|
|
|
1138
1198
|
static names() {
|
|
1139
1199
|
return {
|
|
1140
1200
|
headers: 'headers',
|
|
1201
|
+
statusCode: 'statusCode',
|
|
1141
1202
|
body: 'body',
|
|
1142
1203
|
};
|
|
1143
1204
|
}
|
|
1144
1205
|
static types() {
|
|
1145
1206
|
return {
|
|
1146
1207
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1208
|
+
statusCode: 'number',
|
|
1147
1209
|
body: DeletePolicyInstanceResponseBody,
|
|
1148
1210
|
};
|
|
1149
1211
|
}
|
|
@@ -1156,11 +1218,13 @@ class DeleteTemplateResponse extends $tea.Model {
|
|
|
1156
1218
|
static names() {
|
|
1157
1219
|
return {
|
|
1158
1220
|
headers: 'headers',
|
|
1221
|
+
statusCode: 'statusCode',
|
|
1159
1222
|
};
|
|
1160
1223
|
}
|
|
1161
1224
|
static types() {
|
|
1162
1225
|
return {
|
|
1163
1226
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1227
|
+
statusCode: 'number',
|
|
1164
1228
|
};
|
|
1165
1229
|
}
|
|
1166
1230
|
}
|
|
@@ -1172,11 +1236,13 @@ class DeleteTriggerResponse extends $tea.Model {
|
|
|
1172
1236
|
static names() {
|
|
1173
1237
|
return {
|
|
1174
1238
|
headers: 'headers',
|
|
1239
|
+
statusCode: 'statusCode',
|
|
1175
1240
|
};
|
|
1176
1241
|
}
|
|
1177
1242
|
static types() {
|
|
1178
1243
|
return {
|
|
1179
1244
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1245
|
+
statusCode: 'number',
|
|
1180
1246
|
};
|
|
1181
1247
|
}
|
|
1182
1248
|
}
|
|
@@ -1224,12 +1290,14 @@ class DeployPolicyInstanceResponse extends $tea.Model {
|
|
|
1224
1290
|
static names() {
|
|
1225
1291
|
return {
|
|
1226
1292
|
headers: 'headers',
|
|
1293
|
+
statusCode: 'statusCode',
|
|
1227
1294
|
body: 'body',
|
|
1228
1295
|
};
|
|
1229
1296
|
}
|
|
1230
1297
|
static types() {
|
|
1231
1298
|
return {
|
|
1232
1299
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1300
|
+
statusCode: 'number',
|
|
1233
1301
|
body: DeployPolicyInstanceResponseBody,
|
|
1234
1302
|
};
|
|
1235
1303
|
}
|
|
@@ -1278,12 +1346,14 @@ class DescirbeWorkflowResponse extends $tea.Model {
|
|
|
1278
1346
|
static names() {
|
|
1279
1347
|
return {
|
|
1280
1348
|
headers: 'headers',
|
|
1349
|
+
statusCode: 'statusCode',
|
|
1281
1350
|
body: 'body',
|
|
1282
1351
|
};
|
|
1283
1352
|
}
|
|
1284
1353
|
static types() {
|
|
1285
1354
|
return {
|
|
1286
1355
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1356
|
+
statusCode: 'number',
|
|
1287
1357
|
body: DescirbeWorkflowResponseBody,
|
|
1288
1358
|
};
|
|
1289
1359
|
}
|
|
@@ -1332,12 +1402,14 @@ class DescribeAddonsResponse extends $tea.Model {
|
|
|
1332
1402
|
static names() {
|
|
1333
1403
|
return {
|
|
1334
1404
|
headers: 'headers',
|
|
1405
|
+
statusCode: 'statusCode',
|
|
1335
1406
|
body: 'body',
|
|
1336
1407
|
};
|
|
1337
1408
|
}
|
|
1338
1409
|
static types() {
|
|
1339
1410
|
return {
|
|
1340
1411
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1412
|
+
statusCode: 'number',
|
|
1341
1413
|
body: DescribeAddonsResponseBody,
|
|
1342
1414
|
};
|
|
1343
1415
|
}
|
|
@@ -1370,12 +1442,14 @@ class DescribeClusterAddonMetadataResponse extends $tea.Model {
|
|
|
1370
1442
|
static names() {
|
|
1371
1443
|
return {
|
|
1372
1444
|
headers: 'headers',
|
|
1445
|
+
statusCode: 'statusCode',
|
|
1373
1446
|
body: 'body',
|
|
1374
1447
|
};
|
|
1375
1448
|
}
|
|
1376
1449
|
static types() {
|
|
1377
1450
|
return {
|
|
1378
1451
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1452
|
+
statusCode: 'number',
|
|
1379
1453
|
body: DescribeClusterAddonMetadataResponseBody,
|
|
1380
1454
|
};
|
|
1381
1455
|
}
|
|
@@ -1388,12 +1462,14 @@ class DescribeClusterAddonUpgradeStatusResponse extends $tea.Model {
|
|
|
1388
1462
|
static names() {
|
|
1389
1463
|
return {
|
|
1390
1464
|
headers: 'headers',
|
|
1465
|
+
statusCode: 'statusCode',
|
|
1391
1466
|
body: 'body',
|
|
1392
1467
|
};
|
|
1393
1468
|
}
|
|
1394
1469
|
static types() {
|
|
1395
1470
|
return {
|
|
1396
1471
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1472
|
+
statusCode: 'number',
|
|
1397
1473
|
body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1398
1474
|
};
|
|
1399
1475
|
}
|
|
@@ -1438,12 +1514,14 @@ class DescribeClusterAddonsUpgradeStatusResponse extends $tea.Model {
|
|
|
1438
1514
|
static names() {
|
|
1439
1515
|
return {
|
|
1440
1516
|
headers: 'headers',
|
|
1517
|
+
statusCode: 'statusCode',
|
|
1441
1518
|
body: 'body',
|
|
1442
1519
|
};
|
|
1443
1520
|
}
|
|
1444
1521
|
static types() {
|
|
1445
1522
|
return {
|
|
1446
1523
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1524
|
+
statusCode: 'number',
|
|
1447
1525
|
body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1448
1526
|
};
|
|
1449
1527
|
}
|
|
@@ -1456,12 +1534,14 @@ class DescribeClusterAddonsVersionResponse extends $tea.Model {
|
|
|
1456
1534
|
static names() {
|
|
1457
1535
|
return {
|
|
1458
1536
|
headers: 'headers',
|
|
1537
|
+
statusCode: 'statusCode',
|
|
1459
1538
|
body: 'body',
|
|
1460
1539
|
};
|
|
1461
1540
|
}
|
|
1462
1541
|
static types() {
|
|
1463
1542
|
return {
|
|
1464
1543
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1544
|
+
statusCode: 'number',
|
|
1465
1545
|
body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1466
1546
|
};
|
|
1467
1547
|
}
|
|
@@ -1500,12 +1580,14 @@ class DescribeClusterAttachScriptsResponse extends $tea.Model {
|
|
|
1500
1580
|
static names() {
|
|
1501
1581
|
return {
|
|
1502
1582
|
headers: 'headers',
|
|
1583
|
+
statusCode: 'statusCode',
|
|
1503
1584
|
body: 'body',
|
|
1504
1585
|
};
|
|
1505
1586
|
}
|
|
1506
1587
|
static types() {
|
|
1507
1588
|
return {
|
|
1508
1589
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1590
|
+
statusCode: 'number',
|
|
1509
1591
|
body: 'string',
|
|
1510
1592
|
};
|
|
1511
1593
|
}
|
|
@@ -1590,17 +1672,77 @@ class DescribeClusterDetailResponse extends $tea.Model {
|
|
|
1590
1672
|
static names() {
|
|
1591
1673
|
return {
|
|
1592
1674
|
headers: 'headers',
|
|
1675
|
+
statusCode: 'statusCode',
|
|
1593
1676
|
body: 'body',
|
|
1594
1677
|
};
|
|
1595
1678
|
}
|
|
1596
1679
|
static types() {
|
|
1597
1680
|
return {
|
|
1598
1681
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1682
|
+
statusCode: 'number',
|
|
1599
1683
|
body: DescribeClusterDetailResponseBody,
|
|
1600
1684
|
};
|
|
1601
1685
|
}
|
|
1602
1686
|
}
|
|
1603
1687
|
exports.DescribeClusterDetailResponse = DescribeClusterDetailResponse;
|
|
1688
|
+
class DescribeClusterEventsRequest extends $tea.Model {
|
|
1689
|
+
constructor(map) {
|
|
1690
|
+
super(map);
|
|
1691
|
+
}
|
|
1692
|
+
static names() {
|
|
1693
|
+
return {
|
|
1694
|
+
pageNumber: 'page_number',
|
|
1695
|
+
pageSize: 'page_size',
|
|
1696
|
+
taskId: 'task_id',
|
|
1697
|
+
};
|
|
1698
|
+
}
|
|
1699
|
+
static types() {
|
|
1700
|
+
return {
|
|
1701
|
+
pageNumber: 'number',
|
|
1702
|
+
pageSize: 'number',
|
|
1703
|
+
taskId: 'number',
|
|
1704
|
+
};
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
exports.DescribeClusterEventsRequest = DescribeClusterEventsRequest;
|
|
1708
|
+
class DescribeClusterEventsResponseBody extends $tea.Model {
|
|
1709
|
+
constructor(map) {
|
|
1710
|
+
super(map);
|
|
1711
|
+
}
|
|
1712
|
+
static names() {
|
|
1713
|
+
return {
|
|
1714
|
+
events: 'events',
|
|
1715
|
+
pageInfo: 'page_info',
|
|
1716
|
+
};
|
|
1717
|
+
}
|
|
1718
|
+
static types() {
|
|
1719
|
+
return {
|
|
1720
|
+
events: { 'type': 'array', 'itemType': DescribeClusterEventsResponseBodyEvents },
|
|
1721
|
+
pageInfo: DescribeClusterEventsResponseBodyPageInfo,
|
|
1722
|
+
};
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
exports.DescribeClusterEventsResponseBody = DescribeClusterEventsResponseBody;
|
|
1726
|
+
class DescribeClusterEventsResponse extends $tea.Model {
|
|
1727
|
+
constructor(map) {
|
|
1728
|
+
super(map);
|
|
1729
|
+
}
|
|
1730
|
+
static names() {
|
|
1731
|
+
return {
|
|
1732
|
+
headers: 'headers',
|
|
1733
|
+
statusCode: 'statusCode',
|
|
1734
|
+
body: 'body',
|
|
1735
|
+
};
|
|
1736
|
+
}
|
|
1737
|
+
static types() {
|
|
1738
|
+
return {
|
|
1739
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1740
|
+
statusCode: 'number',
|
|
1741
|
+
body: DescribeClusterEventsResponseBody,
|
|
1742
|
+
};
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
exports.DescribeClusterEventsResponse = DescribeClusterEventsResponse;
|
|
1604
1746
|
class DescribeClusterLogsResponse extends $tea.Model {
|
|
1605
1747
|
constructor(map) {
|
|
1606
1748
|
super(map);
|
|
@@ -1608,12 +1750,14 @@ class DescribeClusterLogsResponse extends $tea.Model {
|
|
|
1608
1750
|
static names() {
|
|
1609
1751
|
return {
|
|
1610
1752
|
headers: 'headers',
|
|
1753
|
+
statusCode: 'statusCode',
|
|
1611
1754
|
body: 'body',
|
|
1612
1755
|
};
|
|
1613
1756
|
}
|
|
1614
1757
|
static types() {
|
|
1615
1758
|
return {
|
|
1616
1759
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1760
|
+
statusCode: 'number',
|
|
1617
1761
|
body: { 'type': 'array', 'itemType': DescribeClusterLogsResponseBody },
|
|
1618
1762
|
};
|
|
1619
1763
|
}
|
|
@@ -1660,12 +1804,14 @@ class DescribeClusterNodePoolDetailResponse extends $tea.Model {
|
|
|
1660
1804
|
static names() {
|
|
1661
1805
|
return {
|
|
1662
1806
|
headers: 'headers',
|
|
1807
|
+
statusCode: 'statusCode',
|
|
1663
1808
|
body: 'body',
|
|
1664
1809
|
};
|
|
1665
1810
|
}
|
|
1666
1811
|
static types() {
|
|
1667
1812
|
return {
|
|
1668
1813
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1814
|
+
statusCode: 'number',
|
|
1669
1815
|
body: DescribeClusterNodePoolDetailResponseBody,
|
|
1670
1816
|
};
|
|
1671
1817
|
}
|
|
@@ -1694,12 +1840,14 @@ class DescribeClusterNodePoolsResponse extends $tea.Model {
|
|
|
1694
1840
|
static names() {
|
|
1695
1841
|
return {
|
|
1696
1842
|
headers: 'headers',
|
|
1843
|
+
statusCode: 'statusCode',
|
|
1697
1844
|
body: 'body',
|
|
1698
1845
|
};
|
|
1699
1846
|
}
|
|
1700
1847
|
static types() {
|
|
1701
1848
|
return {
|
|
1702
1849
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1850
|
+
statusCode: 'number',
|
|
1703
1851
|
body: DescribeClusterNodePoolsResponseBody,
|
|
1704
1852
|
};
|
|
1705
1853
|
}
|
|
@@ -1754,12 +1902,14 @@ class DescribeClusterNodesResponse extends $tea.Model {
|
|
|
1754
1902
|
static names() {
|
|
1755
1903
|
return {
|
|
1756
1904
|
headers: 'headers',
|
|
1905
|
+
statusCode: 'statusCode',
|
|
1757
1906
|
body: 'body',
|
|
1758
1907
|
};
|
|
1759
1908
|
}
|
|
1760
1909
|
static types() {
|
|
1761
1910
|
return {
|
|
1762
1911
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1912
|
+
statusCode: 'number',
|
|
1763
1913
|
body: DescribeClusterNodesResponseBody,
|
|
1764
1914
|
};
|
|
1765
1915
|
}
|
|
@@ -1772,17 +1922,59 @@ class DescribeClusterResourcesResponse extends $tea.Model {
|
|
|
1772
1922
|
static names() {
|
|
1773
1923
|
return {
|
|
1774
1924
|
headers: 'headers',
|
|
1925
|
+
statusCode: 'statusCode',
|
|
1775
1926
|
body: 'body',
|
|
1776
1927
|
};
|
|
1777
1928
|
}
|
|
1778
1929
|
static types() {
|
|
1779
1930
|
return {
|
|
1780
1931
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1932
|
+
statusCode: 'number',
|
|
1781
1933
|
body: { 'type': 'array', 'itemType': DescribeClusterResourcesResponseBody },
|
|
1782
1934
|
};
|
|
1783
1935
|
}
|
|
1784
1936
|
}
|
|
1785
1937
|
exports.DescribeClusterResourcesResponse = DescribeClusterResourcesResponse;
|
|
1938
|
+
class DescribeClusterTasksResponseBody extends $tea.Model {
|
|
1939
|
+
constructor(map) {
|
|
1940
|
+
super(map);
|
|
1941
|
+
}
|
|
1942
|
+
static names() {
|
|
1943
|
+
return {
|
|
1944
|
+
pageInfo: 'page_info',
|
|
1945
|
+
requestId: 'requestId',
|
|
1946
|
+
tasks: 'tasks',
|
|
1947
|
+
};
|
|
1948
|
+
}
|
|
1949
|
+
static types() {
|
|
1950
|
+
return {
|
|
1951
|
+
pageInfo: DescribeClusterTasksResponseBodyPageInfo,
|
|
1952
|
+
requestId: 'string',
|
|
1953
|
+
tasks: { 'type': 'array', 'itemType': DescribeClusterTasksResponseBodyTasks },
|
|
1954
|
+
};
|
|
1955
|
+
}
|
|
1956
|
+
}
|
|
1957
|
+
exports.DescribeClusterTasksResponseBody = DescribeClusterTasksResponseBody;
|
|
1958
|
+
class DescribeClusterTasksResponse extends $tea.Model {
|
|
1959
|
+
constructor(map) {
|
|
1960
|
+
super(map);
|
|
1961
|
+
}
|
|
1962
|
+
static names() {
|
|
1963
|
+
return {
|
|
1964
|
+
headers: 'headers',
|
|
1965
|
+
statusCode: 'statusCode',
|
|
1966
|
+
body: 'body',
|
|
1967
|
+
};
|
|
1968
|
+
}
|
|
1969
|
+
static types() {
|
|
1970
|
+
return {
|
|
1971
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1972
|
+
statusCode: 'number',
|
|
1973
|
+
body: DescribeClusterTasksResponseBody,
|
|
1974
|
+
};
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
exports.DescribeClusterTasksResponse = DescribeClusterTasksResponse;
|
|
1786
1978
|
class DescribeClusterUserKubeconfigRequest extends $tea.Model {
|
|
1787
1979
|
constructor(map) {
|
|
1788
1980
|
super(map);
|
|
@@ -1826,12 +2018,14 @@ class DescribeClusterUserKubeconfigResponse extends $tea.Model {
|
|
|
1826
2018
|
static names() {
|
|
1827
2019
|
return {
|
|
1828
2020
|
headers: 'headers',
|
|
2021
|
+
statusCode: 'statusCode',
|
|
1829
2022
|
body: 'body',
|
|
1830
2023
|
};
|
|
1831
2024
|
}
|
|
1832
2025
|
static types() {
|
|
1833
2026
|
return {
|
|
1834
2027
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2028
|
+
statusCode: 'number',
|
|
1835
2029
|
body: DescribeClusterUserKubeconfigResponseBody,
|
|
1836
2030
|
};
|
|
1837
2031
|
}
|
|
@@ -1876,12 +2070,14 @@ class DescribeClusterV2UserKubeconfigResponse extends $tea.Model {
|
|
|
1876
2070
|
static names() {
|
|
1877
2071
|
return {
|
|
1878
2072
|
headers: 'headers',
|
|
2073
|
+
statusCode: 'statusCode',
|
|
1879
2074
|
body: 'body',
|
|
1880
2075
|
};
|
|
1881
2076
|
}
|
|
1882
2077
|
static types() {
|
|
1883
2078
|
return {
|
|
1884
2079
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2080
|
+
statusCode: 'number',
|
|
1885
2081
|
body: DescribeClusterV2UserKubeconfigResponseBody,
|
|
1886
2082
|
};
|
|
1887
2083
|
}
|
|
@@ -1912,12 +2108,14 @@ class DescribeClustersResponse extends $tea.Model {
|
|
|
1912
2108
|
static names() {
|
|
1913
2109
|
return {
|
|
1914
2110
|
headers: 'headers',
|
|
2111
|
+
statusCode: 'statusCode',
|
|
1915
2112
|
body: 'body',
|
|
1916
2113
|
};
|
|
1917
2114
|
}
|
|
1918
2115
|
static types() {
|
|
1919
2116
|
return {
|
|
1920
2117
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2118
|
+
statusCode: 'number',
|
|
1921
2119
|
body: { 'type': 'array', 'itemType': DescribeClustersResponseBody },
|
|
1922
2120
|
};
|
|
1923
2121
|
}
|
|
@@ -1976,12 +2174,14 @@ class DescribeClustersV1Response extends $tea.Model {
|
|
|
1976
2174
|
static names() {
|
|
1977
2175
|
return {
|
|
1978
2176
|
headers: 'headers',
|
|
2177
|
+
statusCode: 'statusCode',
|
|
1979
2178
|
body: 'body',
|
|
1980
2179
|
};
|
|
1981
2180
|
}
|
|
1982
2181
|
static types() {
|
|
1983
2182
|
return {
|
|
1984
2183
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2184
|
+
statusCode: 'number',
|
|
1985
2185
|
body: DescribeClustersV1ResponseBody,
|
|
1986
2186
|
};
|
|
1987
2187
|
}
|
|
@@ -2018,12 +2218,14 @@ class DescribeEdgeMachineActiveProcessResponse extends $tea.Model {
|
|
|
2018
2218
|
static names() {
|
|
2019
2219
|
return {
|
|
2020
2220
|
headers: 'headers',
|
|
2221
|
+
statusCode: 'statusCode',
|
|
2021
2222
|
body: 'body',
|
|
2022
2223
|
};
|
|
2023
2224
|
}
|
|
2024
2225
|
static types() {
|
|
2025
2226
|
return {
|
|
2026
2227
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2228
|
+
statusCode: 'number',
|
|
2027
2229
|
body: DescribeEdgeMachineActiveProcessResponseBody,
|
|
2028
2230
|
};
|
|
2029
2231
|
}
|
|
@@ -2052,12 +2254,14 @@ class DescribeEdgeMachineModelsResponse extends $tea.Model {
|
|
|
2052
2254
|
static names() {
|
|
2053
2255
|
return {
|
|
2054
2256
|
headers: 'headers',
|
|
2257
|
+
statusCode: 'statusCode',
|
|
2055
2258
|
body: 'body',
|
|
2056
2259
|
};
|
|
2057
2260
|
}
|
|
2058
2261
|
static types() {
|
|
2059
2262
|
return {
|
|
2060
2263
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2264
|
+
statusCode: 'number',
|
|
2061
2265
|
body: DescribeEdgeMachineModelsResponseBody,
|
|
2062
2266
|
};
|
|
2063
2267
|
}
|
|
@@ -2098,12 +2302,14 @@ class DescribeEdgeMachineTunnelConfigDetailResponse extends $tea.Model {
|
|
|
2098
2302
|
static names() {
|
|
2099
2303
|
return {
|
|
2100
2304
|
headers: 'headers',
|
|
2305
|
+
statusCode: 'statusCode',
|
|
2101
2306
|
body: 'body',
|
|
2102
2307
|
};
|
|
2103
2308
|
}
|
|
2104
2309
|
static types() {
|
|
2105
2310
|
return {
|
|
2106
2311
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2312
|
+
statusCode: 'number',
|
|
2107
2313
|
body: DescribeEdgeMachineTunnelConfigDetailResponseBody,
|
|
2108
2314
|
};
|
|
2109
2315
|
}
|
|
@@ -2160,12 +2366,14 @@ class DescribeEdgeMachinesResponse extends $tea.Model {
|
|
|
2160
2366
|
static names() {
|
|
2161
2367
|
return {
|
|
2162
2368
|
headers: 'headers',
|
|
2369
|
+
statusCode: 'statusCode',
|
|
2163
2370
|
body: 'body',
|
|
2164
2371
|
};
|
|
2165
2372
|
}
|
|
2166
2373
|
static types() {
|
|
2167
2374
|
return {
|
|
2168
2375
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2376
|
+
statusCode: 'number',
|
|
2169
2377
|
body: DescribeEdgeMachinesResponseBody,
|
|
2170
2378
|
};
|
|
2171
2379
|
}
|
|
@@ -2218,12 +2426,14 @@ class DescribeEventsResponse extends $tea.Model {
|
|
|
2218
2426
|
static names() {
|
|
2219
2427
|
return {
|
|
2220
2428
|
headers: 'headers',
|
|
2429
|
+
statusCode: 'statusCode',
|
|
2221
2430
|
body: 'body',
|
|
2222
2431
|
};
|
|
2223
2432
|
}
|
|
2224
2433
|
static types() {
|
|
2225
2434
|
return {
|
|
2226
2435
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2436
|
+
statusCode: 'number',
|
|
2227
2437
|
body: DescribeEventsResponseBody,
|
|
2228
2438
|
};
|
|
2229
2439
|
}
|
|
@@ -2268,12 +2478,14 @@ class DescribeExternalAgentResponse extends $tea.Model {
|
|
|
2268
2478
|
static names() {
|
|
2269
2479
|
return {
|
|
2270
2480
|
headers: 'headers',
|
|
2481
|
+
statusCode: 'statusCode',
|
|
2271
2482
|
body: 'body',
|
|
2272
2483
|
};
|
|
2273
2484
|
}
|
|
2274
2485
|
static types() {
|
|
2275
2486
|
return {
|
|
2276
2487
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2488
|
+
statusCode: 'number',
|
|
2277
2489
|
body: DescribeExternalAgentResponseBody,
|
|
2278
2490
|
};
|
|
2279
2491
|
}
|
|
@@ -2310,17 +2522,55 @@ class DescribeKubernetesVersionMetadataResponse extends $tea.Model {
|
|
|
2310
2522
|
static names() {
|
|
2311
2523
|
return {
|
|
2312
2524
|
headers: 'headers',
|
|
2525
|
+
statusCode: 'statusCode',
|
|
2313
2526
|
body: 'body',
|
|
2314
2527
|
};
|
|
2315
2528
|
}
|
|
2316
2529
|
static types() {
|
|
2317
2530
|
return {
|
|
2318
2531
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2532
|
+
statusCode: 'number',
|
|
2319
2533
|
body: { 'type': 'array', 'itemType': DescribeKubernetesVersionMetadataResponseBody },
|
|
2320
2534
|
};
|
|
2321
2535
|
}
|
|
2322
2536
|
}
|
|
2323
2537
|
exports.DescribeKubernetesVersionMetadataResponse = DescribeKubernetesVersionMetadataResponse;
|
|
2538
|
+
class DescribeNodePoolVulsResponseBody extends $tea.Model {
|
|
2539
|
+
constructor(map) {
|
|
2540
|
+
super(map);
|
|
2541
|
+
}
|
|
2542
|
+
static names() {
|
|
2543
|
+
return {
|
|
2544
|
+
vulRecords: 'vul_records',
|
|
2545
|
+
};
|
|
2546
|
+
}
|
|
2547
|
+
static types() {
|
|
2548
|
+
return {
|
|
2549
|
+
vulRecords: { 'type': 'array', 'itemType': DescribeNodePoolVulsResponseBodyVulRecords },
|
|
2550
|
+
};
|
|
2551
|
+
}
|
|
2552
|
+
}
|
|
2553
|
+
exports.DescribeNodePoolVulsResponseBody = DescribeNodePoolVulsResponseBody;
|
|
2554
|
+
class DescribeNodePoolVulsResponse extends $tea.Model {
|
|
2555
|
+
constructor(map) {
|
|
2556
|
+
super(map);
|
|
2557
|
+
}
|
|
2558
|
+
static names() {
|
|
2559
|
+
return {
|
|
2560
|
+
headers: 'headers',
|
|
2561
|
+
statusCode: 'statusCode',
|
|
2562
|
+
body: 'body',
|
|
2563
|
+
};
|
|
2564
|
+
}
|
|
2565
|
+
static types() {
|
|
2566
|
+
return {
|
|
2567
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2568
|
+
statusCode: 'number',
|
|
2569
|
+
body: DescribeNodePoolVulsResponseBody,
|
|
2570
|
+
};
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
exports.DescribeNodePoolVulsResponse = DescribeNodePoolVulsResponse;
|
|
2324
2574
|
class DescribePoliciesResponse extends $tea.Model {
|
|
2325
2575
|
constructor(map) {
|
|
2326
2576
|
super(map);
|
|
@@ -2328,12 +2578,14 @@ class DescribePoliciesResponse extends $tea.Model {
|
|
|
2328
2578
|
static names() {
|
|
2329
2579
|
return {
|
|
2330
2580
|
headers: 'headers',
|
|
2581
|
+
statusCode: 'statusCode',
|
|
2331
2582
|
body: 'body',
|
|
2332
2583
|
};
|
|
2333
2584
|
}
|
|
2334
2585
|
static types() {
|
|
2335
2586
|
return {
|
|
2336
2587
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2588
|
+
statusCode: 'number',
|
|
2337
2589
|
body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
2338
2590
|
};
|
|
2339
2591
|
}
|
|
@@ -2376,12 +2628,14 @@ class DescribePolicyDetailsResponse extends $tea.Model {
|
|
|
2376
2628
|
static names() {
|
|
2377
2629
|
return {
|
|
2378
2630
|
headers: 'headers',
|
|
2631
|
+
statusCode: 'statusCode',
|
|
2379
2632
|
body: 'body',
|
|
2380
2633
|
};
|
|
2381
2634
|
}
|
|
2382
2635
|
static types() {
|
|
2383
2636
|
return {
|
|
2384
2637
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2638
|
+
statusCode: 'number',
|
|
2385
2639
|
body: DescribePolicyDetailsResponseBody,
|
|
2386
2640
|
};
|
|
2387
2641
|
}
|
|
@@ -2416,12 +2670,14 @@ class DescribePolicyGovernanceInClusterResponse extends $tea.Model {
|
|
|
2416
2670
|
static names() {
|
|
2417
2671
|
return {
|
|
2418
2672
|
headers: 'headers',
|
|
2673
|
+
statusCode: 'statusCode',
|
|
2419
2674
|
body: 'body',
|
|
2420
2675
|
};
|
|
2421
2676
|
}
|
|
2422
2677
|
static types() {
|
|
2423
2678
|
return {
|
|
2424
2679
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2680
|
+
statusCode: 'number',
|
|
2425
2681
|
body: DescribePolicyGovernanceInClusterResponseBody,
|
|
2426
2682
|
};
|
|
2427
2683
|
}
|
|
@@ -2452,12 +2708,14 @@ class DescribePolicyInstancesResponse extends $tea.Model {
|
|
|
2452
2708
|
static names() {
|
|
2453
2709
|
return {
|
|
2454
2710
|
headers: 'headers',
|
|
2711
|
+
statusCode: 'statusCode',
|
|
2455
2712
|
body: 'body',
|
|
2456
2713
|
};
|
|
2457
2714
|
}
|
|
2458
2715
|
static types() {
|
|
2459
2716
|
return {
|
|
2460
2717
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2718
|
+
statusCode: 'number',
|
|
2461
2719
|
body: { 'type': 'array', 'itemType': DescribePolicyInstancesResponseBody },
|
|
2462
2720
|
};
|
|
2463
2721
|
}
|
|
@@ -2488,12 +2746,14 @@ class DescribePolicyInstancesStatusResponse extends $tea.Model {
|
|
|
2488
2746
|
static names() {
|
|
2489
2747
|
return {
|
|
2490
2748
|
headers: 'headers',
|
|
2749
|
+
statusCode: 'statusCode',
|
|
2491
2750
|
body: 'body',
|
|
2492
2751
|
};
|
|
2493
2752
|
}
|
|
2494
2753
|
static types() {
|
|
2495
2754
|
return {
|
|
2496
2755
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2756
|
+
statusCode: 'number',
|
|
2497
2757
|
body: DescribePolicyInstancesStatusResponseBody,
|
|
2498
2758
|
};
|
|
2499
2759
|
}
|
|
@@ -2507,7 +2767,13 @@ class DescribeTaskInfoResponseBody extends $tea.Model {
|
|
|
2507
2767
|
return {
|
|
2508
2768
|
clusterId: 'cluster_id',
|
|
2509
2769
|
created: 'created',
|
|
2770
|
+
currentStage: 'current_stage',
|
|
2771
|
+
error: 'error',
|
|
2772
|
+
events: 'events',
|
|
2773
|
+
parameters: 'parameters',
|
|
2774
|
+
stages: 'stages',
|
|
2510
2775
|
state: 'state',
|
|
2776
|
+
target: 'target',
|
|
2511
2777
|
taskId: 'task_id',
|
|
2512
2778
|
taskResult: 'task_result',
|
|
2513
2779
|
taskType: 'task_type',
|
|
@@ -2518,7 +2784,13 @@ class DescribeTaskInfoResponseBody extends $tea.Model {
|
|
|
2518
2784
|
return {
|
|
2519
2785
|
clusterId: 'string',
|
|
2520
2786
|
created: 'string',
|
|
2787
|
+
currentStage: 'string',
|
|
2788
|
+
error: DescribeTaskInfoResponseBodyError,
|
|
2789
|
+
events: { 'type': 'array', 'itemType': DescribeTaskInfoResponseBodyEvents },
|
|
2790
|
+
parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
2791
|
+
stages: { 'type': 'array', 'itemType': DescribeTaskInfoResponseBodyStages },
|
|
2521
2792
|
state: 'string',
|
|
2793
|
+
target: DescribeTaskInfoResponseBodyTarget,
|
|
2522
2794
|
taskId: 'string',
|
|
2523
2795
|
taskResult: { 'type': 'array', 'itemType': DescribeTaskInfoResponseBodyTaskResult },
|
|
2524
2796
|
taskType: 'string',
|
|
@@ -2534,12 +2806,14 @@ class DescribeTaskInfoResponse extends $tea.Model {
|
|
|
2534
2806
|
static names() {
|
|
2535
2807
|
return {
|
|
2536
2808
|
headers: 'headers',
|
|
2809
|
+
statusCode: 'statusCode',
|
|
2537
2810
|
body: 'body',
|
|
2538
2811
|
};
|
|
2539
2812
|
}
|
|
2540
2813
|
static types() {
|
|
2541
2814
|
return {
|
|
2542
2815
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2816
|
+
statusCode: 'number',
|
|
2543
2817
|
body: DescribeTaskInfoResponseBody,
|
|
2544
2818
|
};
|
|
2545
2819
|
}
|
|
@@ -2568,12 +2842,14 @@ class DescribeTemplateAttributeResponse extends $tea.Model {
|
|
|
2568
2842
|
static names() {
|
|
2569
2843
|
return {
|
|
2570
2844
|
headers: 'headers',
|
|
2845
|
+
statusCode: 'statusCode',
|
|
2571
2846
|
body: 'body',
|
|
2572
2847
|
};
|
|
2573
2848
|
}
|
|
2574
2849
|
static types() {
|
|
2575
2850
|
return {
|
|
2576
2851
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2852
|
+
statusCode: 'number',
|
|
2577
2853
|
body: { 'type': 'array', 'itemType': DescribeTemplateAttributeResponseBody },
|
|
2578
2854
|
};
|
|
2579
2855
|
}
|
|
@@ -2624,12 +2900,14 @@ class DescribeTemplatesResponse extends $tea.Model {
|
|
|
2624
2900
|
static names() {
|
|
2625
2901
|
return {
|
|
2626
2902
|
headers: 'headers',
|
|
2903
|
+
statusCode: 'statusCode',
|
|
2627
2904
|
body: 'body',
|
|
2628
2905
|
};
|
|
2629
2906
|
}
|
|
2630
2907
|
static types() {
|
|
2631
2908
|
return {
|
|
2632
2909
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2910
|
+
statusCode: 'number',
|
|
2633
2911
|
body: DescribeTemplatesResponseBody,
|
|
2634
2912
|
};
|
|
2635
2913
|
}
|
|
@@ -2664,12 +2942,14 @@ class DescribeTriggerResponse extends $tea.Model {
|
|
|
2664
2942
|
static names() {
|
|
2665
2943
|
return {
|
|
2666
2944
|
headers: 'headers',
|
|
2945
|
+
statusCode: 'statusCode',
|
|
2667
2946
|
body: 'body',
|
|
2668
2947
|
};
|
|
2669
2948
|
}
|
|
2670
2949
|
static types() {
|
|
2671
2950
|
return {
|
|
2672
2951
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2952
|
+
statusCode: 'number',
|
|
2673
2953
|
body: { 'type': 'array', 'itemType': DescribeTriggerResponseBody },
|
|
2674
2954
|
};
|
|
2675
2955
|
}
|
|
@@ -2682,12 +2962,14 @@ class DescribeUserPermissionResponse extends $tea.Model {
|
|
|
2682
2962
|
static names() {
|
|
2683
2963
|
return {
|
|
2684
2964
|
headers: 'headers',
|
|
2965
|
+
statusCode: 'statusCode',
|
|
2685
2966
|
body: 'body',
|
|
2686
2967
|
};
|
|
2687
2968
|
}
|
|
2688
2969
|
static types() {
|
|
2689
2970
|
return {
|
|
2690
2971
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2972
|
+
statusCode: 'number',
|
|
2691
2973
|
body: { 'type': 'array', 'itemType': DescribeUserPermissionResponseBody },
|
|
2692
2974
|
};
|
|
2693
2975
|
}
|
|
@@ -2724,12 +3006,14 @@ class DescribeUserQuotaResponse extends $tea.Model {
|
|
|
2724
3006
|
static names() {
|
|
2725
3007
|
return {
|
|
2726
3008
|
headers: 'headers',
|
|
3009
|
+
statusCode: 'statusCode',
|
|
2727
3010
|
body: 'body',
|
|
2728
3011
|
};
|
|
2729
3012
|
}
|
|
2730
3013
|
static types() {
|
|
2731
3014
|
return {
|
|
2732
3015
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3016
|
+
statusCode: 'number',
|
|
2733
3017
|
body: DescribeUserQuotaResponseBody,
|
|
2734
3018
|
};
|
|
2735
3019
|
}
|
|
@@ -2758,12 +3042,14 @@ class DescribeWorkflowsResponse extends $tea.Model {
|
|
|
2758
3042
|
static names() {
|
|
2759
3043
|
return {
|
|
2760
3044
|
headers: 'headers',
|
|
3045
|
+
statusCode: 'statusCode',
|
|
2761
3046
|
body: 'body',
|
|
2762
3047
|
};
|
|
2763
3048
|
}
|
|
2764
3049
|
static types() {
|
|
2765
3050
|
return {
|
|
2766
3051
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3052
|
+
statusCode: 'number',
|
|
2767
3053
|
body: DescribeWorkflowsResponseBody,
|
|
2768
3054
|
};
|
|
2769
3055
|
}
|
|
@@ -2814,17 +3100,75 @@ class EdgeClusterAddEdgeMachineResponse extends $tea.Model {
|
|
|
2814
3100
|
static names() {
|
|
2815
3101
|
return {
|
|
2816
3102
|
headers: 'headers',
|
|
3103
|
+
statusCode: 'statusCode',
|
|
2817
3104
|
body: 'body',
|
|
2818
3105
|
};
|
|
2819
3106
|
}
|
|
2820
3107
|
static types() {
|
|
2821
3108
|
return {
|
|
2822
3109
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3110
|
+
statusCode: 'number',
|
|
2823
3111
|
body: EdgeClusterAddEdgeMachineResponseBody,
|
|
2824
3112
|
};
|
|
2825
3113
|
}
|
|
2826
3114
|
}
|
|
2827
3115
|
exports.EdgeClusterAddEdgeMachineResponse = EdgeClusterAddEdgeMachineResponse;
|
|
3116
|
+
class FixNodePoolVulsRequest extends $tea.Model {
|
|
3117
|
+
constructor(map) {
|
|
3118
|
+
super(map);
|
|
3119
|
+
}
|
|
3120
|
+
static names() {
|
|
3121
|
+
return {
|
|
3122
|
+
nodes: 'nodes',
|
|
3123
|
+
rolloutPolicy: 'rollout_policy',
|
|
3124
|
+
vulList: 'vul_list',
|
|
3125
|
+
};
|
|
3126
|
+
}
|
|
3127
|
+
static types() {
|
|
3128
|
+
return {
|
|
3129
|
+
nodes: { 'type': 'array', 'itemType': 'string' },
|
|
3130
|
+
rolloutPolicy: FixNodePoolVulsRequestRolloutPolicy,
|
|
3131
|
+
vulList: { 'type': 'array', 'itemType': 'string' },
|
|
3132
|
+
};
|
|
3133
|
+
}
|
|
3134
|
+
}
|
|
3135
|
+
exports.FixNodePoolVulsRequest = FixNodePoolVulsRequest;
|
|
3136
|
+
class FixNodePoolVulsResponseBody extends $tea.Model {
|
|
3137
|
+
constructor(map) {
|
|
3138
|
+
super(map);
|
|
3139
|
+
}
|
|
3140
|
+
static names() {
|
|
3141
|
+
return {
|
|
3142
|
+
taskId: 'task_id',
|
|
3143
|
+
};
|
|
3144
|
+
}
|
|
3145
|
+
static types() {
|
|
3146
|
+
return {
|
|
3147
|
+
taskId: 'string',
|
|
3148
|
+
};
|
|
3149
|
+
}
|
|
3150
|
+
}
|
|
3151
|
+
exports.FixNodePoolVulsResponseBody = FixNodePoolVulsResponseBody;
|
|
3152
|
+
class FixNodePoolVulsResponse extends $tea.Model {
|
|
3153
|
+
constructor(map) {
|
|
3154
|
+
super(map);
|
|
3155
|
+
}
|
|
3156
|
+
static names() {
|
|
3157
|
+
return {
|
|
3158
|
+
headers: 'headers',
|
|
3159
|
+
statusCode: 'statusCode',
|
|
3160
|
+
body: 'body',
|
|
3161
|
+
};
|
|
3162
|
+
}
|
|
3163
|
+
static types() {
|
|
3164
|
+
return {
|
|
3165
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3166
|
+
statusCode: 'number',
|
|
3167
|
+
body: FixNodePoolVulsResponseBody,
|
|
3168
|
+
};
|
|
3169
|
+
}
|
|
3170
|
+
}
|
|
3171
|
+
exports.FixNodePoolVulsResponse = FixNodePoolVulsResponse;
|
|
2828
3172
|
class GetKubernetesTriggerRequest extends $tea.Model {
|
|
2829
3173
|
constructor(map) {
|
|
2830
3174
|
super(map);
|
|
@@ -2854,12 +3198,14 @@ class GetKubernetesTriggerResponse extends $tea.Model {
|
|
|
2854
3198
|
static names() {
|
|
2855
3199
|
return {
|
|
2856
3200
|
headers: 'headers',
|
|
3201
|
+
statusCode: 'statusCode',
|
|
2857
3202
|
body: 'body',
|
|
2858
3203
|
};
|
|
2859
3204
|
}
|
|
2860
3205
|
static types() {
|
|
2861
3206
|
return {
|
|
2862
3207
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3208
|
+
statusCode: 'number',
|
|
2863
3209
|
body: { 'type': 'array', 'itemType': GetKubernetesTriggerResponseBody },
|
|
2864
3210
|
};
|
|
2865
3211
|
}
|
|
@@ -2896,12 +3242,14 @@ class GetUpgradeStatusResponse extends $tea.Model {
|
|
|
2896
3242
|
static names() {
|
|
2897
3243
|
return {
|
|
2898
3244
|
headers: 'headers',
|
|
3245
|
+
statusCode: 'statusCode',
|
|
2899
3246
|
body: 'body',
|
|
2900
3247
|
};
|
|
2901
3248
|
}
|
|
2902
3249
|
static types() {
|
|
2903
3250
|
return {
|
|
2904
3251
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3252
|
+
statusCode: 'number',
|
|
2905
3253
|
body: GetUpgradeStatusResponseBody,
|
|
2906
3254
|
};
|
|
2907
3255
|
}
|
|
@@ -2930,11 +3278,13 @@ class GrantPermissionsResponse extends $tea.Model {
|
|
|
2930
3278
|
static names() {
|
|
2931
3279
|
return {
|
|
2932
3280
|
headers: 'headers',
|
|
3281
|
+
statusCode: 'statusCode',
|
|
2933
3282
|
};
|
|
2934
3283
|
}
|
|
2935
3284
|
static types() {
|
|
2936
3285
|
return {
|
|
2937
3286
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3287
|
+
statusCode: 'number',
|
|
2938
3288
|
};
|
|
2939
3289
|
}
|
|
2940
3290
|
}
|
|
@@ -2962,11 +3312,13 @@ class InstallClusterAddonsResponse extends $tea.Model {
|
|
|
2962
3312
|
static names() {
|
|
2963
3313
|
return {
|
|
2964
3314
|
headers: 'headers',
|
|
3315
|
+
statusCode: 'statusCode',
|
|
2965
3316
|
};
|
|
2966
3317
|
}
|
|
2967
3318
|
static types() {
|
|
2968
3319
|
return {
|
|
2969
3320
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3321
|
+
statusCode: 'number',
|
|
2970
3322
|
};
|
|
2971
3323
|
}
|
|
2972
3324
|
}
|
|
@@ -3046,17 +3398,57 @@ class ListTagResourcesResponse extends $tea.Model {
|
|
|
3046
3398
|
static names() {
|
|
3047
3399
|
return {
|
|
3048
3400
|
headers: 'headers',
|
|
3401
|
+
statusCode: 'statusCode',
|
|
3049
3402
|
body: 'body',
|
|
3050
3403
|
};
|
|
3051
3404
|
}
|
|
3052
3405
|
static types() {
|
|
3053
3406
|
return {
|
|
3054
3407
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3408
|
+
statusCode: 'number',
|
|
3055
3409
|
body: ListTagResourcesResponseBody,
|
|
3056
3410
|
};
|
|
3057
3411
|
}
|
|
3058
3412
|
}
|
|
3059
3413
|
exports.ListTagResourcesResponse = ListTagResourcesResponse;
|
|
3414
|
+
class MigrateClusterRequest extends $tea.Model {
|
|
3415
|
+
constructor(map) {
|
|
3416
|
+
super(map);
|
|
3417
|
+
}
|
|
3418
|
+
static names() {
|
|
3419
|
+
return {
|
|
3420
|
+
ossBucketEndpoint: 'oss_bucket_endpoint',
|
|
3421
|
+
ossBucketName: 'oss_bucket_name',
|
|
3422
|
+
};
|
|
3423
|
+
}
|
|
3424
|
+
static types() {
|
|
3425
|
+
return {
|
|
3426
|
+
ossBucketEndpoint: 'string',
|
|
3427
|
+
ossBucketName: 'string',
|
|
3428
|
+
};
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
exports.MigrateClusterRequest = MigrateClusterRequest;
|
|
3432
|
+
class MigrateClusterResponseBody extends $tea.Model {
|
|
3433
|
+
constructor(map) {
|
|
3434
|
+
super(map);
|
|
3435
|
+
}
|
|
3436
|
+
static names() {
|
|
3437
|
+
return {
|
|
3438
|
+
clusterId: 'cluster_id',
|
|
3439
|
+
requestId: 'request_id',
|
|
3440
|
+
taskId: 'task_id',
|
|
3441
|
+
};
|
|
3442
|
+
}
|
|
3443
|
+
static types() {
|
|
3444
|
+
return {
|
|
3445
|
+
clusterId: 'string',
|
|
3446
|
+
requestId: 'string',
|
|
3447
|
+
taskId: 'string',
|
|
3448
|
+
};
|
|
3449
|
+
}
|
|
3450
|
+
}
|
|
3451
|
+
exports.MigrateClusterResponseBody = MigrateClusterResponseBody;
|
|
3060
3452
|
class MigrateClusterResponse extends $tea.Model {
|
|
3061
3453
|
constructor(map) {
|
|
3062
3454
|
super(map);
|
|
@@ -3064,11 +3456,15 @@ class MigrateClusterResponse extends $tea.Model {
|
|
|
3064
3456
|
static names() {
|
|
3065
3457
|
return {
|
|
3066
3458
|
headers: 'headers',
|
|
3459
|
+
statusCode: 'statusCode',
|
|
3460
|
+
body: 'body',
|
|
3067
3461
|
};
|
|
3068
3462
|
}
|
|
3069
3463
|
static types() {
|
|
3070
3464
|
return {
|
|
3071
3465
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3466
|
+
statusCode: 'number',
|
|
3467
|
+
body: MigrateClusterResponseBody,
|
|
3072
3468
|
};
|
|
3073
3469
|
}
|
|
3074
3470
|
}
|
|
@@ -3132,12 +3528,14 @@ class ModifyClusterResponse extends $tea.Model {
|
|
|
3132
3528
|
static names() {
|
|
3133
3529
|
return {
|
|
3134
3530
|
headers: 'headers',
|
|
3531
|
+
statusCode: 'statusCode',
|
|
3135
3532
|
body: 'body',
|
|
3136
3533
|
};
|
|
3137
3534
|
}
|
|
3138
3535
|
static types() {
|
|
3139
3536
|
return {
|
|
3140
3537
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3538
|
+
statusCode: 'number',
|
|
3141
3539
|
body: ModifyClusterResponseBody,
|
|
3142
3540
|
};
|
|
3143
3541
|
}
|
|
@@ -3166,11 +3564,13 @@ class ModifyClusterAddonResponse extends $tea.Model {
|
|
|
3166
3564
|
static names() {
|
|
3167
3565
|
return {
|
|
3168
3566
|
headers: 'headers',
|
|
3567
|
+
statusCode: 'statusCode',
|
|
3169
3568
|
};
|
|
3170
3569
|
}
|
|
3171
3570
|
static types() {
|
|
3172
3571
|
return {
|
|
3173
3572
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3573
|
+
statusCode: 'number',
|
|
3174
3574
|
};
|
|
3175
3575
|
}
|
|
3176
3576
|
}
|
|
@@ -3198,11 +3598,13 @@ class ModifyClusterConfigurationResponse extends $tea.Model {
|
|
|
3198
3598
|
static names() {
|
|
3199
3599
|
return {
|
|
3200
3600
|
headers: 'headers',
|
|
3601
|
+
statusCode: 'statusCode',
|
|
3201
3602
|
};
|
|
3202
3603
|
}
|
|
3203
3604
|
static types() {
|
|
3204
3605
|
return {
|
|
3205
3606
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3607
|
+
statusCode: 'number',
|
|
3206
3608
|
};
|
|
3207
3609
|
}
|
|
3208
3610
|
}
|
|
@@ -3260,12 +3662,14 @@ class ModifyClusterNodePoolResponse extends $tea.Model {
|
|
|
3260
3662
|
static names() {
|
|
3261
3663
|
return {
|
|
3262
3664
|
headers: 'headers',
|
|
3665
|
+
statusCode: 'statusCode',
|
|
3263
3666
|
body: 'body',
|
|
3264
3667
|
};
|
|
3265
3668
|
}
|
|
3266
3669
|
static types() {
|
|
3267
3670
|
return {
|
|
3268
3671
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3672
|
+
statusCode: 'number',
|
|
3269
3673
|
body: ModifyClusterNodePoolResponseBody,
|
|
3270
3674
|
};
|
|
3271
3675
|
}
|
|
@@ -3294,15 +3698,75 @@ class ModifyClusterTagsResponse extends $tea.Model {
|
|
|
3294
3698
|
static names() {
|
|
3295
3699
|
return {
|
|
3296
3700
|
headers: 'headers',
|
|
3701
|
+
statusCode: 'statusCode',
|
|
3297
3702
|
};
|
|
3298
3703
|
}
|
|
3299
3704
|
static types() {
|
|
3300
3705
|
return {
|
|
3301
3706
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3707
|
+
statusCode: 'number',
|
|
3302
3708
|
};
|
|
3303
3709
|
}
|
|
3304
3710
|
}
|
|
3305
3711
|
exports.ModifyClusterTagsResponse = ModifyClusterTagsResponse;
|
|
3712
|
+
class ModifyNodePoolNodeConfigRequest extends $tea.Model {
|
|
3713
|
+
constructor(map) {
|
|
3714
|
+
super(map);
|
|
3715
|
+
}
|
|
3716
|
+
static names() {
|
|
3717
|
+
return {
|
|
3718
|
+
kubeletConfig: 'kubelet_config',
|
|
3719
|
+
rollingPolicy: 'rolling_policy',
|
|
3720
|
+
};
|
|
3721
|
+
}
|
|
3722
|
+
static types() {
|
|
3723
|
+
return {
|
|
3724
|
+
kubeletConfig: ModifyNodePoolNodeConfigRequestKubeletConfig,
|
|
3725
|
+
rollingPolicy: ModifyNodePoolNodeConfigRequestRollingPolicy,
|
|
3726
|
+
};
|
|
3727
|
+
}
|
|
3728
|
+
}
|
|
3729
|
+
exports.ModifyNodePoolNodeConfigRequest = ModifyNodePoolNodeConfigRequest;
|
|
3730
|
+
class ModifyNodePoolNodeConfigResponseBody extends $tea.Model {
|
|
3731
|
+
constructor(map) {
|
|
3732
|
+
super(map);
|
|
3733
|
+
}
|
|
3734
|
+
static names() {
|
|
3735
|
+
return {
|
|
3736
|
+
nodepoolId: 'nodepool_id',
|
|
3737
|
+
requestId: 'request_id',
|
|
3738
|
+
taskId: 'task_id',
|
|
3739
|
+
};
|
|
3740
|
+
}
|
|
3741
|
+
static types() {
|
|
3742
|
+
return {
|
|
3743
|
+
nodepoolId: 'string',
|
|
3744
|
+
requestId: 'string',
|
|
3745
|
+
taskId: 'string',
|
|
3746
|
+
};
|
|
3747
|
+
}
|
|
3748
|
+
}
|
|
3749
|
+
exports.ModifyNodePoolNodeConfigResponseBody = ModifyNodePoolNodeConfigResponseBody;
|
|
3750
|
+
class ModifyNodePoolNodeConfigResponse extends $tea.Model {
|
|
3751
|
+
constructor(map) {
|
|
3752
|
+
super(map);
|
|
3753
|
+
}
|
|
3754
|
+
static names() {
|
|
3755
|
+
return {
|
|
3756
|
+
headers: 'headers',
|
|
3757
|
+
statusCode: 'statusCode',
|
|
3758
|
+
body: 'body',
|
|
3759
|
+
};
|
|
3760
|
+
}
|
|
3761
|
+
static types() {
|
|
3762
|
+
return {
|
|
3763
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3764
|
+
statusCode: 'number',
|
|
3765
|
+
body: ModifyNodePoolNodeConfigResponseBody,
|
|
3766
|
+
};
|
|
3767
|
+
}
|
|
3768
|
+
}
|
|
3769
|
+
exports.ModifyNodePoolNodeConfigResponse = ModifyNodePoolNodeConfigResponse;
|
|
3306
3770
|
class ModifyPolicyInstanceRequest extends $tea.Model {
|
|
3307
3771
|
constructor(map) {
|
|
3308
3772
|
super(map);
|
|
@@ -3348,12 +3812,14 @@ class ModifyPolicyInstanceResponse extends $tea.Model {
|
|
|
3348
3812
|
static names() {
|
|
3349
3813
|
return {
|
|
3350
3814
|
headers: 'headers',
|
|
3815
|
+
statusCode: 'statusCode',
|
|
3351
3816
|
body: 'body',
|
|
3352
3817
|
};
|
|
3353
3818
|
}
|
|
3354
3819
|
static types() {
|
|
3355
3820
|
return {
|
|
3356
3821
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3822
|
+
statusCode: 'number',
|
|
3357
3823
|
body: ModifyPolicyInstanceResponseBody,
|
|
3358
3824
|
};
|
|
3359
3825
|
}
|
|
@@ -3400,12 +3866,14 @@ class OpenAckServiceResponse extends $tea.Model {
|
|
|
3400
3866
|
static names() {
|
|
3401
3867
|
return {
|
|
3402
3868
|
headers: 'headers',
|
|
3869
|
+
statusCode: 'statusCode',
|
|
3403
3870
|
body: 'body',
|
|
3404
3871
|
};
|
|
3405
3872
|
}
|
|
3406
3873
|
static types() {
|
|
3407
3874
|
return {
|
|
3408
3875
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3876
|
+
statusCode: 'number',
|
|
3409
3877
|
body: OpenAckServiceResponseBody,
|
|
3410
3878
|
};
|
|
3411
3879
|
}
|
|
@@ -3418,11 +3886,13 @@ class PauseClusterUpgradeResponse extends $tea.Model {
|
|
|
3418
3886
|
static names() {
|
|
3419
3887
|
return {
|
|
3420
3888
|
headers: 'headers',
|
|
3889
|
+
statusCode: 'statusCode',
|
|
3421
3890
|
};
|
|
3422
3891
|
}
|
|
3423
3892
|
static types() {
|
|
3424
3893
|
return {
|
|
3425
3894
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3895
|
+
statusCode: 'number',
|
|
3426
3896
|
};
|
|
3427
3897
|
}
|
|
3428
3898
|
}
|
|
@@ -3434,15 +3904,35 @@ class PauseComponentUpgradeResponse extends $tea.Model {
|
|
|
3434
3904
|
static names() {
|
|
3435
3905
|
return {
|
|
3436
3906
|
headers: 'headers',
|
|
3907
|
+
statusCode: 'statusCode',
|
|
3437
3908
|
};
|
|
3438
3909
|
}
|
|
3439
3910
|
static types() {
|
|
3440
3911
|
return {
|
|
3441
3912
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3913
|
+
statusCode: 'number',
|
|
3442
3914
|
};
|
|
3443
3915
|
}
|
|
3444
3916
|
}
|
|
3445
3917
|
exports.PauseComponentUpgradeResponse = PauseComponentUpgradeResponse;
|
|
3918
|
+
class PauseTaskResponse extends $tea.Model {
|
|
3919
|
+
constructor(map) {
|
|
3920
|
+
super(map);
|
|
3921
|
+
}
|
|
3922
|
+
static names() {
|
|
3923
|
+
return {
|
|
3924
|
+
headers: 'headers',
|
|
3925
|
+
statusCode: 'statusCode',
|
|
3926
|
+
};
|
|
3927
|
+
}
|
|
3928
|
+
static types() {
|
|
3929
|
+
return {
|
|
3930
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3931
|
+
statusCode: 'number',
|
|
3932
|
+
};
|
|
3933
|
+
}
|
|
3934
|
+
}
|
|
3935
|
+
exports.PauseTaskResponse = PauseTaskResponse;
|
|
3446
3936
|
class RemoveClusterNodesRequest extends $tea.Model {
|
|
3447
3937
|
constructor(map) {
|
|
3448
3938
|
super(map);
|
|
@@ -3470,11 +3960,13 @@ class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
3470
3960
|
static names() {
|
|
3471
3961
|
return {
|
|
3472
3962
|
headers: 'headers',
|
|
3963
|
+
statusCode: 'statusCode',
|
|
3473
3964
|
};
|
|
3474
3965
|
}
|
|
3475
3966
|
static types() {
|
|
3476
3967
|
return {
|
|
3477
3968
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3969
|
+
statusCode: 'number',
|
|
3478
3970
|
};
|
|
3479
3971
|
}
|
|
3480
3972
|
}
|
|
@@ -3486,11 +3978,13 @@ class RemoveWorkflowResponse extends $tea.Model {
|
|
|
3486
3978
|
static names() {
|
|
3487
3979
|
return {
|
|
3488
3980
|
headers: 'headers',
|
|
3981
|
+
statusCode: 'statusCode',
|
|
3489
3982
|
};
|
|
3490
3983
|
}
|
|
3491
3984
|
static types() {
|
|
3492
3985
|
return {
|
|
3493
3986
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3987
|
+
statusCode: 'number',
|
|
3494
3988
|
};
|
|
3495
3989
|
}
|
|
3496
3990
|
}
|
|
@@ -3536,12 +4030,14 @@ class RepairClusterNodePoolResponse extends $tea.Model {
|
|
|
3536
4030
|
static names() {
|
|
3537
4031
|
return {
|
|
3538
4032
|
headers: 'headers',
|
|
4033
|
+
statusCode: 'statusCode',
|
|
3539
4034
|
body: 'body',
|
|
3540
4035
|
};
|
|
3541
4036
|
}
|
|
3542
4037
|
static types() {
|
|
3543
4038
|
return {
|
|
3544
4039
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4040
|
+
statusCode: 'number',
|
|
3545
4041
|
body: RepairClusterNodePoolResponseBody,
|
|
3546
4042
|
};
|
|
3547
4043
|
}
|
|
@@ -3554,15 +4050,35 @@ class ResumeComponentUpgradeResponse extends $tea.Model {
|
|
|
3554
4050
|
static names() {
|
|
3555
4051
|
return {
|
|
3556
4052
|
headers: 'headers',
|
|
4053
|
+
statusCode: 'statusCode',
|
|
3557
4054
|
};
|
|
3558
4055
|
}
|
|
3559
4056
|
static types() {
|
|
3560
4057
|
return {
|
|
3561
4058
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4059
|
+
statusCode: 'number',
|
|
3562
4060
|
};
|
|
3563
4061
|
}
|
|
3564
4062
|
}
|
|
3565
4063
|
exports.ResumeComponentUpgradeResponse = ResumeComponentUpgradeResponse;
|
|
4064
|
+
class ResumeTaskResponse extends $tea.Model {
|
|
4065
|
+
constructor(map) {
|
|
4066
|
+
super(map);
|
|
4067
|
+
}
|
|
4068
|
+
static names() {
|
|
4069
|
+
return {
|
|
4070
|
+
headers: 'headers',
|
|
4071
|
+
statusCode: 'statusCode',
|
|
4072
|
+
};
|
|
4073
|
+
}
|
|
4074
|
+
static types() {
|
|
4075
|
+
return {
|
|
4076
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4077
|
+
statusCode: 'number',
|
|
4078
|
+
};
|
|
4079
|
+
}
|
|
4080
|
+
}
|
|
4081
|
+
exports.ResumeTaskResponse = ResumeTaskResponse;
|
|
3566
4082
|
class ResumeUpgradeClusterResponse extends $tea.Model {
|
|
3567
4083
|
constructor(map) {
|
|
3568
4084
|
super(map);
|
|
@@ -3570,11 +4086,13 @@ class ResumeUpgradeClusterResponse extends $tea.Model {
|
|
|
3570
4086
|
static names() {
|
|
3571
4087
|
return {
|
|
3572
4088
|
headers: 'headers',
|
|
4089
|
+
statusCode: 'statusCode',
|
|
3573
4090
|
};
|
|
3574
4091
|
}
|
|
3575
4092
|
static types() {
|
|
3576
4093
|
return {
|
|
3577
4094
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4095
|
+
statusCode: 'number',
|
|
3578
4096
|
};
|
|
3579
4097
|
}
|
|
3580
4098
|
}
|
|
@@ -3658,12 +4176,14 @@ class ScaleClusterResponse extends $tea.Model {
|
|
|
3658
4176
|
static names() {
|
|
3659
4177
|
return {
|
|
3660
4178
|
headers: 'headers',
|
|
4179
|
+
statusCode: 'statusCode',
|
|
3661
4180
|
body: 'body',
|
|
3662
4181
|
};
|
|
3663
4182
|
}
|
|
3664
4183
|
static types() {
|
|
3665
4184
|
return {
|
|
3666
4185
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4186
|
+
statusCode: 'number',
|
|
3667
4187
|
body: ScaleClusterResponseBody,
|
|
3668
4188
|
};
|
|
3669
4189
|
}
|
|
@@ -3708,12 +4228,14 @@ class ScaleClusterNodePoolResponse extends $tea.Model {
|
|
|
3708
4228
|
static names() {
|
|
3709
4229
|
return {
|
|
3710
4230
|
headers: 'headers',
|
|
4231
|
+
statusCode: 'statusCode',
|
|
3711
4232
|
body: 'body',
|
|
3712
4233
|
};
|
|
3713
4234
|
}
|
|
3714
4235
|
static types() {
|
|
3715
4236
|
return {
|
|
3716
4237
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4238
|
+
statusCode: 'number',
|
|
3717
4239
|
body: ScaleClusterNodePoolResponseBody,
|
|
3718
4240
|
};
|
|
3719
4241
|
}
|
|
@@ -3802,12 +4324,14 @@ class ScaleOutClusterResponse extends $tea.Model {
|
|
|
3802
4324
|
static names() {
|
|
3803
4325
|
return {
|
|
3804
4326
|
headers: 'headers',
|
|
4327
|
+
statusCode: 'statusCode',
|
|
3805
4328
|
body: 'body',
|
|
3806
4329
|
};
|
|
3807
4330
|
}
|
|
3808
4331
|
static types() {
|
|
3809
4332
|
return {
|
|
3810
4333
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4334
|
+
statusCode: 'number',
|
|
3811
4335
|
body: ScaleOutClusterResponseBody,
|
|
3812
4336
|
};
|
|
3813
4337
|
}
|
|
@@ -3888,12 +4412,14 @@ class StartWorkflowResponse extends $tea.Model {
|
|
|
3888
4412
|
static names() {
|
|
3889
4413
|
return {
|
|
3890
4414
|
headers: 'headers',
|
|
4415
|
+
statusCode: 'statusCode',
|
|
3891
4416
|
body: 'body',
|
|
3892
4417
|
};
|
|
3893
4418
|
}
|
|
3894
4419
|
static types() {
|
|
3895
4420
|
return {
|
|
3896
4421
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4422
|
+
statusCode: 'number',
|
|
3897
4423
|
body: StartWorkflowResponseBody,
|
|
3898
4424
|
};
|
|
3899
4425
|
}
|
|
@@ -3944,12 +4470,14 @@ class TagResourcesResponse extends $tea.Model {
|
|
|
3944
4470
|
static names() {
|
|
3945
4471
|
return {
|
|
3946
4472
|
headers: 'headers',
|
|
4473
|
+
statusCode: 'statusCode',
|
|
3947
4474
|
body: 'body',
|
|
3948
4475
|
};
|
|
3949
4476
|
}
|
|
3950
4477
|
static types() {
|
|
3951
4478
|
return {
|
|
3952
4479
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4480
|
+
statusCode: 'number',
|
|
3953
4481
|
body: TagResourcesResponseBody,
|
|
3954
4482
|
};
|
|
3955
4483
|
}
|
|
@@ -3978,11 +4506,13 @@ class UnInstallClusterAddonsResponse extends $tea.Model {
|
|
|
3978
4506
|
static names() {
|
|
3979
4507
|
return {
|
|
3980
4508
|
headers: 'headers',
|
|
4509
|
+
statusCode: 'statusCode',
|
|
3981
4510
|
};
|
|
3982
4511
|
}
|
|
3983
4512
|
static types() {
|
|
3984
4513
|
return {
|
|
3985
4514
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4515
|
+
statusCode: 'number',
|
|
3986
4516
|
};
|
|
3987
4517
|
}
|
|
3988
4518
|
}
|
|
@@ -4034,12 +4564,14 @@ class UntagResourcesResponse extends $tea.Model {
|
|
|
4034
4564
|
static names() {
|
|
4035
4565
|
return {
|
|
4036
4566
|
headers: 'headers',
|
|
4567
|
+
statusCode: 'statusCode',
|
|
4037
4568
|
body: 'body',
|
|
4038
4569
|
};
|
|
4039
4570
|
}
|
|
4040
4571
|
static types() {
|
|
4041
4572
|
return {
|
|
4042
4573
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4574
|
+
statusCode: 'number',
|
|
4043
4575
|
body: UntagResourcesResponseBody,
|
|
4044
4576
|
};
|
|
4045
4577
|
}
|
|
@@ -4052,11 +4584,13 @@ class UpdateContactGroupForAlertResponse extends $tea.Model {
|
|
|
4052
4584
|
static names() {
|
|
4053
4585
|
return {
|
|
4054
4586
|
headers: 'headers',
|
|
4587
|
+
statusCode: 'statusCode',
|
|
4055
4588
|
};
|
|
4056
4589
|
}
|
|
4057
4590
|
static types() {
|
|
4058
4591
|
return {
|
|
4059
4592
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4593
|
+
statusCode: 'number',
|
|
4060
4594
|
};
|
|
4061
4595
|
}
|
|
4062
4596
|
}
|
|
@@ -4086,11 +4620,13 @@ class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
|
|
|
4086
4620
|
static names() {
|
|
4087
4621
|
return {
|
|
4088
4622
|
headers: 'headers',
|
|
4623
|
+
statusCode: 'statusCode',
|
|
4089
4624
|
};
|
|
4090
4625
|
}
|
|
4091
4626
|
static types() {
|
|
4092
4627
|
return {
|
|
4093
4628
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4629
|
+
statusCode: 'number',
|
|
4094
4630
|
};
|
|
4095
4631
|
}
|
|
4096
4632
|
}
|
|
@@ -4126,11 +4662,13 @@ class UpdateTemplateResponse extends $tea.Model {
|
|
|
4126
4662
|
static names() {
|
|
4127
4663
|
return {
|
|
4128
4664
|
headers: 'headers',
|
|
4665
|
+
statusCode: 'statusCode',
|
|
4129
4666
|
};
|
|
4130
4667
|
}
|
|
4131
4668
|
static types() {
|
|
4132
4669
|
return {
|
|
4133
4670
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4671
|
+
statusCode: 'number',
|
|
4134
4672
|
};
|
|
4135
4673
|
}
|
|
4136
4674
|
}
|
|
@@ -4162,11 +4700,13 @@ class UpgradeClusterResponse extends $tea.Model {
|
|
|
4162
4700
|
static names() {
|
|
4163
4701
|
return {
|
|
4164
4702
|
headers: 'headers',
|
|
4703
|
+
statusCode: 'statusCode',
|
|
4165
4704
|
};
|
|
4166
4705
|
}
|
|
4167
4706
|
static types() {
|
|
4168
4707
|
return {
|
|
4169
4708
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4709
|
+
statusCode: 'number',
|
|
4170
4710
|
};
|
|
4171
4711
|
}
|
|
4172
4712
|
}
|
|
@@ -4194,11 +4734,13 @@ class UpgradeClusterAddonsResponse extends $tea.Model {
|
|
|
4194
4734
|
static names() {
|
|
4195
4735
|
return {
|
|
4196
4736
|
headers: 'headers',
|
|
4737
|
+
statusCode: 'statusCode',
|
|
4197
4738
|
};
|
|
4198
4739
|
}
|
|
4199
4740
|
static types() {
|
|
4200
4741
|
return {
|
|
4201
4742
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4743
|
+
statusCode: 'number',
|
|
4202
4744
|
};
|
|
4203
4745
|
}
|
|
4204
4746
|
}
|
|
@@ -4579,6 +5121,74 @@ class DescribeAddonsResponseBodyComponentGroups extends $tea.Model {
|
|
|
4579
5121
|
}
|
|
4580
5122
|
}
|
|
4581
5123
|
exports.DescribeAddonsResponseBodyComponentGroups = DescribeAddonsResponseBodyComponentGroups;
|
|
5124
|
+
class DescribeClusterEventsResponseBodyEventsData extends $tea.Model {
|
|
5125
|
+
constructor(map) {
|
|
5126
|
+
super(map);
|
|
5127
|
+
}
|
|
5128
|
+
static names() {
|
|
5129
|
+
return {
|
|
5130
|
+
level: 'level',
|
|
5131
|
+
message: 'message',
|
|
5132
|
+
reason: 'reason',
|
|
5133
|
+
};
|
|
5134
|
+
}
|
|
5135
|
+
static types() {
|
|
5136
|
+
return {
|
|
5137
|
+
level: 'string',
|
|
5138
|
+
message: 'string',
|
|
5139
|
+
reason: 'string',
|
|
5140
|
+
};
|
|
5141
|
+
}
|
|
5142
|
+
}
|
|
5143
|
+
exports.DescribeClusterEventsResponseBodyEventsData = DescribeClusterEventsResponseBodyEventsData;
|
|
5144
|
+
class DescribeClusterEventsResponseBodyEvents extends $tea.Model {
|
|
5145
|
+
constructor(map) {
|
|
5146
|
+
super(map);
|
|
5147
|
+
}
|
|
5148
|
+
static names() {
|
|
5149
|
+
return {
|
|
5150
|
+
clusterId: 'cluster_id',
|
|
5151
|
+
data: 'data',
|
|
5152
|
+
eventId: 'event_id',
|
|
5153
|
+
source: 'source',
|
|
5154
|
+
subject: 'subject',
|
|
5155
|
+
time: 'time',
|
|
5156
|
+
type: 'type',
|
|
5157
|
+
};
|
|
5158
|
+
}
|
|
5159
|
+
static types() {
|
|
5160
|
+
return {
|
|
5161
|
+
clusterId: 'string',
|
|
5162
|
+
data: DescribeClusterEventsResponseBodyEventsData,
|
|
5163
|
+
eventId: 'string',
|
|
5164
|
+
source: 'string',
|
|
5165
|
+
subject: 'string',
|
|
5166
|
+
time: 'string',
|
|
5167
|
+
type: 'string',
|
|
5168
|
+
};
|
|
5169
|
+
}
|
|
5170
|
+
}
|
|
5171
|
+
exports.DescribeClusterEventsResponseBodyEvents = DescribeClusterEventsResponseBodyEvents;
|
|
5172
|
+
class DescribeClusterEventsResponseBodyPageInfo extends $tea.Model {
|
|
5173
|
+
constructor(map) {
|
|
5174
|
+
super(map);
|
|
5175
|
+
}
|
|
5176
|
+
static names() {
|
|
5177
|
+
return {
|
|
5178
|
+
pageNumber: 'page_number',
|
|
5179
|
+
pageSize: 'page_size',
|
|
5180
|
+
totalCount: 'total_count',
|
|
5181
|
+
};
|
|
5182
|
+
}
|
|
5183
|
+
static types() {
|
|
5184
|
+
return {
|
|
5185
|
+
pageNumber: 'number',
|
|
5186
|
+
pageSize: 'number',
|
|
5187
|
+
totalCount: 'number',
|
|
5188
|
+
};
|
|
5189
|
+
}
|
|
5190
|
+
}
|
|
5191
|
+
exports.DescribeClusterEventsResponseBodyPageInfo = DescribeClusterEventsResponseBodyPageInfo;
|
|
4582
5192
|
class DescribeClusterLogsResponseBody extends $tea.Model {
|
|
4583
5193
|
constructor(map) {
|
|
4584
5194
|
super(map);
|
|
@@ -5323,6 +5933,7 @@ class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
5323
5933
|
resourceInfo: 'resource_info',
|
|
5324
5934
|
resourceType: 'resource_type',
|
|
5325
5935
|
state: 'state',
|
|
5936
|
+
autoCreate: 'auto_create',
|
|
5326
5937
|
};
|
|
5327
5938
|
}
|
|
5328
5939
|
static types() {
|
|
@@ -5333,10 +5944,75 @@ class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
5333
5944
|
resourceInfo: 'string',
|
|
5334
5945
|
resourceType: 'string',
|
|
5335
5946
|
state: 'string',
|
|
5947
|
+
autoCreate: 'number',
|
|
5336
5948
|
};
|
|
5337
5949
|
}
|
|
5338
5950
|
}
|
|
5339
5951
|
exports.DescribeClusterResourcesResponseBody = DescribeClusterResourcesResponseBody;
|
|
5952
|
+
class DescribeClusterTasksResponseBodyPageInfo extends $tea.Model {
|
|
5953
|
+
constructor(map) {
|
|
5954
|
+
super(map);
|
|
5955
|
+
}
|
|
5956
|
+
static names() {
|
|
5957
|
+
return {
|
|
5958
|
+
pageNumber: 'page_number',
|
|
5959
|
+
pageSize: 'page_size',
|
|
5960
|
+
totalCount: 'total_count',
|
|
5961
|
+
};
|
|
5962
|
+
}
|
|
5963
|
+
static types() {
|
|
5964
|
+
return {
|
|
5965
|
+
pageNumber: 'number',
|
|
5966
|
+
pageSize: 'number',
|
|
5967
|
+
totalCount: 'number',
|
|
5968
|
+
};
|
|
5969
|
+
}
|
|
5970
|
+
}
|
|
5971
|
+
exports.DescribeClusterTasksResponseBodyPageInfo = DescribeClusterTasksResponseBodyPageInfo;
|
|
5972
|
+
class DescribeClusterTasksResponseBodyTasksError extends $tea.Model {
|
|
5973
|
+
constructor(map) {
|
|
5974
|
+
super(map);
|
|
5975
|
+
}
|
|
5976
|
+
static names() {
|
|
5977
|
+
return {
|
|
5978
|
+
code: 'code',
|
|
5979
|
+
message: 'message',
|
|
5980
|
+
};
|
|
5981
|
+
}
|
|
5982
|
+
static types() {
|
|
5983
|
+
return {
|
|
5984
|
+
code: 'string',
|
|
5985
|
+
message: 'string',
|
|
5986
|
+
};
|
|
5987
|
+
}
|
|
5988
|
+
}
|
|
5989
|
+
exports.DescribeClusterTasksResponseBodyTasksError = DescribeClusterTasksResponseBodyTasksError;
|
|
5990
|
+
class DescribeClusterTasksResponseBodyTasks extends $tea.Model {
|
|
5991
|
+
constructor(map) {
|
|
5992
|
+
super(map);
|
|
5993
|
+
}
|
|
5994
|
+
static names() {
|
|
5995
|
+
return {
|
|
5996
|
+
created: 'created',
|
|
5997
|
+
error: 'error',
|
|
5998
|
+
state: 'state',
|
|
5999
|
+
taskId: 'task_id',
|
|
6000
|
+
taskType: 'task_type',
|
|
6001
|
+
updated: 'updated',
|
|
6002
|
+
};
|
|
6003
|
+
}
|
|
6004
|
+
static types() {
|
|
6005
|
+
return {
|
|
6006
|
+
created: 'string',
|
|
6007
|
+
error: DescribeClusterTasksResponseBodyTasksError,
|
|
6008
|
+
state: 'string',
|
|
6009
|
+
taskId: 'string',
|
|
6010
|
+
taskType: 'string',
|
|
6011
|
+
updated: 'string',
|
|
6012
|
+
};
|
|
6013
|
+
}
|
|
6014
|
+
}
|
|
6015
|
+
exports.DescribeClusterTasksResponseBodyTasks = DescribeClusterTasksResponseBodyTasks;
|
|
5340
6016
|
class DescribeClustersResponseBodyTags extends $tea.Model {
|
|
5341
6017
|
constructor(map) {
|
|
5342
6018
|
super(map);
|
|
@@ -5725,6 +6401,46 @@ class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
|
|
|
5725
6401
|
}
|
|
5726
6402
|
}
|
|
5727
6403
|
exports.DescribeKubernetesVersionMetadataResponseBody = DescribeKubernetesVersionMetadataResponseBody;
|
|
6404
|
+
class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Model {
|
|
6405
|
+
constructor(map) {
|
|
6406
|
+
super(map);
|
|
6407
|
+
}
|
|
6408
|
+
static names() {
|
|
6409
|
+
return {
|
|
6410
|
+
aliasName: 'alias_name',
|
|
6411
|
+
cveList: 'cve_list',
|
|
6412
|
+
name: 'name',
|
|
6413
|
+
necessity: 'necessity',
|
|
6414
|
+
};
|
|
6415
|
+
}
|
|
6416
|
+
static types() {
|
|
6417
|
+
return {
|
|
6418
|
+
aliasName: 'string',
|
|
6419
|
+
cveList: { 'type': 'array', 'itemType': 'string' },
|
|
6420
|
+
name: 'string',
|
|
6421
|
+
necessity: 'string',
|
|
6422
|
+
};
|
|
6423
|
+
}
|
|
6424
|
+
}
|
|
6425
|
+
exports.DescribeNodePoolVulsResponseBodyVulRecordsVulList = DescribeNodePoolVulsResponseBodyVulRecordsVulList;
|
|
6426
|
+
class DescribeNodePoolVulsResponseBodyVulRecords extends $tea.Model {
|
|
6427
|
+
constructor(map) {
|
|
6428
|
+
super(map);
|
|
6429
|
+
}
|
|
6430
|
+
static names() {
|
|
6431
|
+
return {
|
|
6432
|
+
instanceId: 'instance_id',
|
|
6433
|
+
vulList: 'vul_list',
|
|
6434
|
+
};
|
|
6435
|
+
}
|
|
6436
|
+
static types() {
|
|
6437
|
+
return {
|
|
6438
|
+
instanceId: 'string',
|
|
6439
|
+
vulList: { 'type': 'array', 'itemType': DescribeNodePoolVulsResponseBodyVulRecordsVulList },
|
|
6440
|
+
};
|
|
6441
|
+
}
|
|
6442
|
+
}
|
|
6443
|
+
exports.DescribeNodePoolVulsResponseBodyVulRecords = DescribeNodePoolVulsResponseBodyVulRecords;
|
|
5728
6444
|
class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog extends $tea.Model {
|
|
5729
6445
|
constructor(map) {
|
|
5730
6446
|
super(map);
|
|
@@ -5906,65 +6622,151 @@ class DescribePolicyGovernanceInClusterResponseBodyViolations extends $tea.Model
|
|
|
5906
6622
|
};
|
|
5907
6623
|
}
|
|
5908
6624
|
}
|
|
5909
|
-
exports.DescribePolicyGovernanceInClusterResponseBodyViolations = DescribePolicyGovernanceInClusterResponseBodyViolations;
|
|
5910
|
-
class DescribePolicyInstancesResponseBody extends $tea.Model {
|
|
6625
|
+
exports.DescribePolicyGovernanceInClusterResponseBodyViolations = DescribePolicyGovernanceInClusterResponseBodyViolations;
|
|
6626
|
+
class DescribePolicyInstancesResponseBody extends $tea.Model {
|
|
6627
|
+
constructor(map) {
|
|
6628
|
+
super(map);
|
|
6629
|
+
}
|
|
6630
|
+
static names() {
|
|
6631
|
+
return {
|
|
6632
|
+
aliUid: 'ali_uid',
|
|
6633
|
+
clusterId: 'cluster_id',
|
|
6634
|
+
instanceName: 'instance_name',
|
|
6635
|
+
policyName: 'policy_name',
|
|
6636
|
+
policyCategory: 'policy_category',
|
|
6637
|
+
policyDescription: 'policy_description',
|
|
6638
|
+
policyParameters: 'policy_parameters',
|
|
6639
|
+
policySeverity: 'policy_severity',
|
|
6640
|
+
policyScope: 'policy_scope',
|
|
6641
|
+
policyAction: 'policy_action',
|
|
6642
|
+
};
|
|
6643
|
+
}
|
|
6644
|
+
static types() {
|
|
6645
|
+
return {
|
|
6646
|
+
aliUid: 'string',
|
|
6647
|
+
clusterId: 'string',
|
|
6648
|
+
instanceName: 'string',
|
|
6649
|
+
policyName: 'string',
|
|
6650
|
+
policyCategory: 'string',
|
|
6651
|
+
policyDescription: 'string',
|
|
6652
|
+
policyParameters: 'string',
|
|
6653
|
+
policySeverity: 'string',
|
|
6654
|
+
policyScope: 'string',
|
|
6655
|
+
policyAction: 'string',
|
|
6656
|
+
};
|
|
6657
|
+
}
|
|
6658
|
+
}
|
|
6659
|
+
exports.DescribePolicyInstancesResponseBody = DescribePolicyInstancesResponseBody;
|
|
6660
|
+
class DescribePolicyInstancesStatusResponseBodyPolicyInstances extends $tea.Model {
|
|
6661
|
+
constructor(map) {
|
|
6662
|
+
super(map);
|
|
6663
|
+
}
|
|
6664
|
+
static names() {
|
|
6665
|
+
return {
|
|
6666
|
+
policyCategory: 'policy_category',
|
|
6667
|
+
policyDescription: 'policy_description',
|
|
6668
|
+
policyInstancesCount: 'policy_instances_count',
|
|
6669
|
+
policyName: 'policy_name',
|
|
6670
|
+
policySeverity: 'policy_severity',
|
|
6671
|
+
};
|
|
6672
|
+
}
|
|
6673
|
+
static types() {
|
|
6674
|
+
return {
|
|
6675
|
+
policyCategory: 'string',
|
|
6676
|
+
policyDescription: 'string',
|
|
6677
|
+
policyInstancesCount: 'number',
|
|
6678
|
+
policyName: 'string',
|
|
6679
|
+
policySeverity: 'string',
|
|
6680
|
+
};
|
|
6681
|
+
}
|
|
6682
|
+
}
|
|
6683
|
+
exports.DescribePolicyInstancesStatusResponseBodyPolicyInstances = DescribePolicyInstancesStatusResponseBodyPolicyInstances;
|
|
6684
|
+
class DescribeTaskInfoResponseBodyError extends $tea.Model {
|
|
6685
|
+
constructor(map) {
|
|
6686
|
+
super(map);
|
|
6687
|
+
}
|
|
6688
|
+
static names() {
|
|
6689
|
+
return {
|
|
6690
|
+
code: 'code',
|
|
6691
|
+
message: 'message',
|
|
6692
|
+
};
|
|
6693
|
+
}
|
|
6694
|
+
static types() {
|
|
6695
|
+
return {
|
|
6696
|
+
code: 'string',
|
|
6697
|
+
message: 'string',
|
|
6698
|
+
};
|
|
6699
|
+
}
|
|
6700
|
+
}
|
|
6701
|
+
exports.DescribeTaskInfoResponseBodyError = DescribeTaskInfoResponseBodyError;
|
|
6702
|
+
class DescribeTaskInfoResponseBodyEvents extends $tea.Model {
|
|
6703
|
+
constructor(map) {
|
|
6704
|
+
super(map);
|
|
6705
|
+
}
|
|
6706
|
+
static names() {
|
|
6707
|
+
return {
|
|
6708
|
+
action: 'action',
|
|
6709
|
+
level: 'level',
|
|
6710
|
+
message: 'message',
|
|
6711
|
+
reason: 'reason',
|
|
6712
|
+
source: 'source',
|
|
6713
|
+
timestamp: 'timestamp',
|
|
6714
|
+
};
|
|
6715
|
+
}
|
|
6716
|
+
static types() {
|
|
6717
|
+
return {
|
|
6718
|
+
action: 'string',
|
|
6719
|
+
level: 'string',
|
|
6720
|
+
message: 'string',
|
|
6721
|
+
reason: 'string',
|
|
6722
|
+
source: 'string',
|
|
6723
|
+
timestamp: 'string',
|
|
6724
|
+
};
|
|
6725
|
+
}
|
|
6726
|
+
}
|
|
6727
|
+
exports.DescribeTaskInfoResponseBodyEvents = DescribeTaskInfoResponseBodyEvents;
|
|
6728
|
+
class DescribeTaskInfoResponseBodyStages extends $tea.Model {
|
|
5911
6729
|
constructor(map) {
|
|
5912
6730
|
super(map);
|
|
5913
6731
|
}
|
|
5914
6732
|
static names() {
|
|
5915
6733
|
return {
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
policyDescription: 'policy_description',
|
|
5922
|
-
policyParameters: 'policy_parameters',
|
|
5923
|
-
policySeverity: 'policy_severity',
|
|
5924
|
-
policyScope: 'policy_scope',
|
|
5925
|
-
policyAction: 'policy_action',
|
|
6734
|
+
endTime: 'end_time',
|
|
6735
|
+
message: 'message',
|
|
6736
|
+
outputs: 'outputs',
|
|
6737
|
+
startTime: 'start_time',
|
|
6738
|
+
state: 'state',
|
|
5926
6739
|
};
|
|
5927
6740
|
}
|
|
5928
6741
|
static types() {
|
|
5929
6742
|
return {
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
policyDescription: 'string',
|
|
5936
|
-
policyParameters: 'string',
|
|
5937
|
-
policySeverity: 'string',
|
|
5938
|
-
policyScope: 'string',
|
|
5939
|
-
policyAction: 'string',
|
|
6743
|
+
endTime: 'string',
|
|
6744
|
+
message: 'string',
|
|
6745
|
+
outputs: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
6746
|
+
startTime: 'string',
|
|
6747
|
+
state: 'string',
|
|
5940
6748
|
};
|
|
5941
6749
|
}
|
|
5942
6750
|
}
|
|
5943
|
-
exports.
|
|
5944
|
-
class
|
|
6751
|
+
exports.DescribeTaskInfoResponseBodyStages = DescribeTaskInfoResponseBodyStages;
|
|
6752
|
+
class DescribeTaskInfoResponseBodyTarget extends $tea.Model {
|
|
5945
6753
|
constructor(map) {
|
|
5946
6754
|
super(map);
|
|
5947
6755
|
}
|
|
5948
6756
|
static names() {
|
|
5949
6757
|
return {
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
policyInstancesCount: 'policy_instances_count',
|
|
5953
|
-
policyName: 'policy_name',
|
|
5954
|
-
policySeverity: 'policy_severity',
|
|
6758
|
+
id: 'id',
|
|
6759
|
+
type: 'type',
|
|
5955
6760
|
};
|
|
5956
6761
|
}
|
|
5957
6762
|
static types() {
|
|
5958
6763
|
return {
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
policyInstancesCount: 'number',
|
|
5962
|
-
policyName: 'string',
|
|
5963
|
-
policySeverity: 'string',
|
|
6764
|
+
id: 'string',
|
|
6765
|
+
type: 'string',
|
|
5964
6766
|
};
|
|
5965
6767
|
}
|
|
5966
6768
|
}
|
|
5967
|
-
exports.
|
|
6769
|
+
exports.DescribeTaskInfoResponseBodyTarget = DescribeTaskInfoResponseBodyTarget;
|
|
5968
6770
|
class DescribeTaskInfoResponseBodyTaskResult extends $tea.Model {
|
|
5969
6771
|
constructor(map) {
|
|
5970
6772
|
super(map);
|
|
@@ -6145,6 +6947,22 @@ class DescribeWorkflowsResponseBodyJobs extends $tea.Model {
|
|
|
6145
6947
|
}
|
|
6146
6948
|
}
|
|
6147
6949
|
exports.DescribeWorkflowsResponseBodyJobs = DescribeWorkflowsResponseBodyJobs;
|
|
6950
|
+
class FixNodePoolVulsRequestRolloutPolicy extends $tea.Model {
|
|
6951
|
+
constructor(map) {
|
|
6952
|
+
super(map);
|
|
6953
|
+
}
|
|
6954
|
+
static names() {
|
|
6955
|
+
return {
|
|
6956
|
+
maxParallelism: 'max_parallelism',
|
|
6957
|
+
};
|
|
6958
|
+
}
|
|
6959
|
+
static types() {
|
|
6960
|
+
return {
|
|
6961
|
+
maxParallelism: 'number',
|
|
6962
|
+
};
|
|
6963
|
+
}
|
|
6964
|
+
}
|
|
6965
|
+
exports.FixNodePoolVulsRequestRolloutPolicy = FixNodePoolVulsRequestRolloutPolicy;
|
|
6148
6966
|
class GetKubernetesTriggerResponseBody extends $tea.Model {
|
|
6149
6967
|
constructor(map) {
|
|
6150
6968
|
super(map);
|
|
@@ -6533,6 +7351,62 @@ class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
6533
7351
|
}
|
|
6534
7352
|
}
|
|
6535
7353
|
exports.ModifyClusterNodePoolRequestTeeConfig = ModifyClusterNodePoolRequestTeeConfig;
|
|
7354
|
+
class ModifyNodePoolNodeConfigRequestKubeletConfig extends $tea.Model {
|
|
7355
|
+
constructor(map) {
|
|
7356
|
+
super(map);
|
|
7357
|
+
}
|
|
7358
|
+
static names() {
|
|
7359
|
+
return {
|
|
7360
|
+
cpuManagerPolicy: 'cpuManagerPolicy',
|
|
7361
|
+
eventBurst: 'eventBurst',
|
|
7362
|
+
eventRecordQPS: 'eventRecordQPS',
|
|
7363
|
+
evictionHard: 'evictionHard',
|
|
7364
|
+
evictionSoft: 'evictionSoft',
|
|
7365
|
+
evictionSoftGracePeriod: 'evictionSoftGracePeriod',
|
|
7366
|
+
kubeAPIBurst: 'kubeAPIBurst',
|
|
7367
|
+
kubeAPIQPS: 'kubeAPIQPS',
|
|
7368
|
+
kubeReserved: 'kubeReserved',
|
|
7369
|
+
registryBurst: 'registryBurst',
|
|
7370
|
+
registryPullQPS: 'registryPullQPS',
|
|
7371
|
+
serializeImagePulls: 'serializeImagePulls',
|
|
7372
|
+
systemReserved: 'systemReserved',
|
|
7373
|
+
};
|
|
7374
|
+
}
|
|
7375
|
+
static types() {
|
|
7376
|
+
return {
|
|
7377
|
+
cpuManagerPolicy: 'string',
|
|
7378
|
+
eventBurst: 'number',
|
|
7379
|
+
eventRecordQPS: 'number',
|
|
7380
|
+
evictionHard: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7381
|
+
evictionSoft: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7382
|
+
evictionSoftGracePeriod: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7383
|
+
kubeAPIBurst: 'number',
|
|
7384
|
+
kubeAPIQPS: 'number',
|
|
7385
|
+
kubeReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7386
|
+
registryBurst: 'number',
|
|
7387
|
+
registryPullQPS: 'number',
|
|
7388
|
+
serializeImagePulls: 'boolean',
|
|
7389
|
+
systemReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7390
|
+
};
|
|
7391
|
+
}
|
|
7392
|
+
}
|
|
7393
|
+
exports.ModifyNodePoolNodeConfigRequestKubeletConfig = ModifyNodePoolNodeConfigRequestKubeletConfig;
|
|
7394
|
+
class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.Model {
|
|
7395
|
+
constructor(map) {
|
|
7396
|
+
super(map);
|
|
7397
|
+
}
|
|
7398
|
+
static names() {
|
|
7399
|
+
return {
|
|
7400
|
+
maxParallelism: 'max_parallelism',
|
|
7401
|
+
};
|
|
7402
|
+
}
|
|
7403
|
+
static types() {
|
|
7404
|
+
return {
|
|
7405
|
+
maxParallelism: 'number',
|
|
7406
|
+
};
|
|
7407
|
+
}
|
|
7408
|
+
}
|
|
7409
|
+
exports.ModifyNodePoolNodeConfigRequestRollingPolicy = ModifyNodePoolNodeConfigRequestRollingPolicy;
|
|
6536
7410
|
class ScaleClusterRequestTags extends $tea.Model {
|
|
6537
7411
|
constructor(map) {
|
|
6538
7412
|
super(map);
|
|
@@ -6814,6 +7688,29 @@ class Client extends openapi_client_1.default {
|
|
|
6814
7688
|
});
|
|
6815
7689
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
6816
7690
|
}
|
|
7691
|
+
async cancelTask(taskId) {
|
|
7692
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7693
|
+
let headers = {};
|
|
7694
|
+
return await this.cancelTaskWithOptions(taskId, headers, runtime);
|
|
7695
|
+
}
|
|
7696
|
+
async cancelTaskWithOptions(taskId, headers, runtime) {
|
|
7697
|
+
taskId = openapi_util_1.default.getEncodeParam(taskId);
|
|
7698
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7699
|
+
headers: headers,
|
|
7700
|
+
});
|
|
7701
|
+
let params = new $OpenApi.Params({
|
|
7702
|
+
action: "CancelTask",
|
|
7703
|
+
version: "2015-12-15",
|
|
7704
|
+
protocol: "HTTPS",
|
|
7705
|
+
pathname: `/tasks/${taskId}/cancel`,
|
|
7706
|
+
method: "POST",
|
|
7707
|
+
authType: "AK",
|
|
7708
|
+
style: "ROA",
|
|
7709
|
+
reqBodyType: "json",
|
|
7710
|
+
bodyType: "none",
|
|
7711
|
+
});
|
|
7712
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
|
|
7713
|
+
}
|
|
6817
7714
|
async cancelWorkflow(workflowName, request) {
|
|
6818
7715
|
let runtime = new $Util.RuntimeOptions({});
|
|
6819
7716
|
let headers = {};
|
|
@@ -6904,6 +7801,9 @@ class Client extends openapi_client_1.default {
|
|
|
6904
7801
|
if (!tea_util_1.default.isUnset(request.apiAudiences)) {
|
|
6905
7802
|
body["api_audiences"] = request.apiAudiences;
|
|
6906
7803
|
}
|
|
7804
|
+
if (!tea_util_1.default.isUnset(request.chargeType)) {
|
|
7805
|
+
body["charge_type"] = request.chargeType;
|
|
7806
|
+
}
|
|
6907
7807
|
if (!tea_util_1.default.isUnset(request.cisEnabled)) {
|
|
6908
7808
|
body["cis_enabled"] = request.cisEnabled;
|
|
6909
7809
|
}
|
|
@@ -7042,6 +7942,12 @@ class Client extends openapi_client_1.default {
|
|
|
7042
7942
|
if (!tea_util_1.default.isUnset(request.osType)) {
|
|
7043
7943
|
body["os_type"] = request.osType;
|
|
7044
7944
|
}
|
|
7945
|
+
if (!tea_util_1.default.isUnset(request.period)) {
|
|
7946
|
+
body["period"] = request.period;
|
|
7947
|
+
}
|
|
7948
|
+
if (!tea_util_1.default.isUnset(request.periodUnit)) {
|
|
7949
|
+
body["period_unit"] = request.periodUnit;
|
|
7950
|
+
}
|
|
7045
7951
|
if (!tea_util_1.default.isUnset(request.platform)) {
|
|
7046
7952
|
body["platform"] = request.platform;
|
|
7047
7953
|
}
|
|
@@ -7913,6 +8819,41 @@ class Client extends openapi_client_1.default {
|
|
|
7913
8819
|
});
|
|
7914
8820
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
|
|
7915
8821
|
}
|
|
8822
|
+
async describeClusterEvents(ClusterId, request) {
|
|
8823
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8824
|
+
let headers = {};
|
|
8825
|
+
return await this.describeClusterEventsWithOptions(ClusterId, request, headers, runtime);
|
|
8826
|
+
}
|
|
8827
|
+
async describeClusterEventsWithOptions(ClusterId, request, headers, runtime) {
|
|
8828
|
+
tea_util_1.default.validateModel(request);
|
|
8829
|
+
ClusterId = openapi_util_1.default.getEncodeParam(ClusterId);
|
|
8830
|
+
let query = {};
|
|
8831
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
8832
|
+
query["page_number"] = request.pageNumber;
|
|
8833
|
+
}
|
|
8834
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
8835
|
+
query["page_size"] = request.pageSize;
|
|
8836
|
+
}
|
|
8837
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
8838
|
+
query["task_id"] = request.taskId;
|
|
8839
|
+
}
|
|
8840
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8841
|
+
headers: headers,
|
|
8842
|
+
query: openapi_util_1.default.query(query),
|
|
8843
|
+
});
|
|
8844
|
+
let params = new $OpenApi.Params({
|
|
8845
|
+
action: "DescribeClusterEvents",
|
|
8846
|
+
version: "2015-12-15",
|
|
8847
|
+
protocol: "HTTPS",
|
|
8848
|
+
pathname: `/clusters/${ClusterId}/events`,
|
|
8849
|
+
method: "GET",
|
|
8850
|
+
authType: "AK",
|
|
8851
|
+
style: "ROA",
|
|
8852
|
+
reqBodyType: "json",
|
|
8853
|
+
bodyType: "json",
|
|
8854
|
+
});
|
|
8855
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
|
|
8856
|
+
}
|
|
7916
8857
|
async describeClusterLogs(ClusterId) {
|
|
7917
8858
|
let runtime = new $Util.RuntimeOptions({});
|
|
7918
8859
|
let headers = {};
|
|
@@ -8047,6 +8988,29 @@ class Client extends openapi_client_1.default {
|
|
|
8047
8988
|
});
|
|
8048
8989
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
8049
8990
|
}
|
|
8991
|
+
async describeClusterTasks(clusterId) {
|
|
8992
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8993
|
+
let headers = {};
|
|
8994
|
+
return await this.describeClusterTasksWithOptions(clusterId, headers, runtime);
|
|
8995
|
+
}
|
|
8996
|
+
async describeClusterTasksWithOptions(clusterId, headers, runtime) {
|
|
8997
|
+
clusterId = openapi_util_1.default.getEncodeParam(clusterId);
|
|
8998
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8999
|
+
headers: headers,
|
|
9000
|
+
});
|
|
9001
|
+
let params = new $OpenApi.Params({
|
|
9002
|
+
action: "DescribeClusterTasks",
|
|
9003
|
+
version: "2015-12-15",
|
|
9004
|
+
protocol: "HTTPS",
|
|
9005
|
+
pathname: `/clusters/${clusterId}/tasks`,
|
|
9006
|
+
method: "GET",
|
|
9007
|
+
authType: "AK",
|
|
9008
|
+
style: "ROA",
|
|
9009
|
+
reqBodyType: "json",
|
|
9010
|
+
bodyType: "json",
|
|
9011
|
+
});
|
|
9012
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
9013
|
+
}
|
|
8050
9014
|
async describeClusterUserKubeconfig(ClusterId, request) {
|
|
8051
9015
|
let runtime = new $Util.RuntimeOptions({});
|
|
8052
9016
|
let headers = {};
|
|
@@ -8402,6 +9366,30 @@ class Client extends openapi_client_1.default {
|
|
|
8402
9366
|
});
|
|
8403
9367
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
8404
9368
|
}
|
|
9369
|
+
async describeNodePoolVuls(clusterId, nodepoolId) {
|
|
9370
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9371
|
+
let headers = {};
|
|
9372
|
+
return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, headers, runtime);
|
|
9373
|
+
}
|
|
9374
|
+
async describeNodePoolVulsWithOptions(clusterId, nodepoolId, headers, runtime) {
|
|
9375
|
+
clusterId = openapi_util_1.default.getEncodeParam(clusterId);
|
|
9376
|
+
nodepoolId = openapi_util_1.default.getEncodeParam(nodepoolId);
|
|
9377
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9378
|
+
headers: headers,
|
|
9379
|
+
});
|
|
9380
|
+
let params = new $OpenApi.Params({
|
|
9381
|
+
action: "DescribeNodePoolVuls",
|
|
9382
|
+
version: "2015-12-15",
|
|
9383
|
+
protocol: "HTTPS",
|
|
9384
|
+
pathname: `/clusters/${clusterId}/nodepools/${nodepoolId}/vuls`,
|
|
9385
|
+
method: "GET",
|
|
9386
|
+
authType: "AK",
|
|
9387
|
+
style: "ROA",
|
|
9388
|
+
reqBodyType: "json",
|
|
9389
|
+
bodyType: "json",
|
|
9390
|
+
});
|
|
9391
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
|
|
9392
|
+
}
|
|
8405
9393
|
async describePolicies() {
|
|
8406
9394
|
let runtime = new $Util.RuntimeOptions({});
|
|
8407
9395
|
let headers = {};
|
|
@@ -8752,6 +9740,42 @@ class Client extends openapi_client_1.default {
|
|
|
8752
9740
|
});
|
|
8753
9741
|
return $tea.cast(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
8754
9742
|
}
|
|
9743
|
+
async fixNodePoolVuls(clusterId, nodepoolId, request) {
|
|
9744
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9745
|
+
let headers = {};
|
|
9746
|
+
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
9747
|
+
}
|
|
9748
|
+
async fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime) {
|
|
9749
|
+
tea_util_1.default.validateModel(request);
|
|
9750
|
+
clusterId = openapi_util_1.default.getEncodeParam(clusterId);
|
|
9751
|
+
nodepoolId = openapi_util_1.default.getEncodeParam(nodepoolId);
|
|
9752
|
+
let body = {};
|
|
9753
|
+
if (!tea_util_1.default.isUnset(request.nodes)) {
|
|
9754
|
+
body["nodes"] = request.nodes;
|
|
9755
|
+
}
|
|
9756
|
+
if (!tea_util_1.default.isUnset($tea.toMap(request.rolloutPolicy))) {
|
|
9757
|
+
body["rollout_policy"] = request.rolloutPolicy;
|
|
9758
|
+
}
|
|
9759
|
+
if (!tea_util_1.default.isUnset(request.vulList)) {
|
|
9760
|
+
body["vul_list"] = request.vulList;
|
|
9761
|
+
}
|
|
9762
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9763
|
+
headers: headers,
|
|
9764
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
9765
|
+
});
|
|
9766
|
+
let params = new $OpenApi.Params({
|
|
9767
|
+
action: "FixNodePoolVuls",
|
|
9768
|
+
version: "2015-12-15",
|
|
9769
|
+
protocol: "HTTPS",
|
|
9770
|
+
pathname: `/clusters/${clusterId}/nodepools/${nodepoolId}/vuls/fix`,
|
|
9771
|
+
method: "POST",
|
|
9772
|
+
authType: "AK",
|
|
9773
|
+
style: "ROA",
|
|
9774
|
+
reqBodyType: "json",
|
|
9775
|
+
bodyType: "json",
|
|
9776
|
+
});
|
|
9777
|
+
return $tea.cast(await this.callApi(params, req, runtime), new FixNodePoolVulsResponse({}));
|
|
9778
|
+
}
|
|
8755
9779
|
async getKubernetesTrigger(ClusterId, request) {
|
|
8756
9780
|
let runtime = new $Util.RuntimeOptions({});
|
|
8757
9781
|
let headers = {};
|
|
@@ -8911,15 +9935,24 @@ class Client extends openapi_client_1.default {
|
|
|
8911
9935
|
});
|
|
8912
9936
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
8913
9937
|
}
|
|
8914
|
-
async migrateCluster(clusterId) {
|
|
9938
|
+
async migrateCluster(clusterId, request) {
|
|
8915
9939
|
let runtime = new $Util.RuntimeOptions({});
|
|
8916
9940
|
let headers = {};
|
|
8917
|
-
return await this.migrateClusterWithOptions(clusterId, headers, runtime);
|
|
9941
|
+
return await this.migrateClusterWithOptions(clusterId, request, headers, runtime);
|
|
8918
9942
|
}
|
|
8919
|
-
async migrateClusterWithOptions(clusterId, headers, runtime) {
|
|
9943
|
+
async migrateClusterWithOptions(clusterId, request, headers, runtime) {
|
|
9944
|
+
tea_util_1.default.validateModel(request);
|
|
8920
9945
|
clusterId = openapi_util_1.default.getEncodeParam(clusterId);
|
|
9946
|
+
let body = {};
|
|
9947
|
+
if (!tea_util_1.default.isUnset(request.ossBucketEndpoint)) {
|
|
9948
|
+
body["oss_bucket_endpoint"] = request.ossBucketEndpoint;
|
|
9949
|
+
}
|
|
9950
|
+
if (!tea_util_1.default.isUnset(request.ossBucketName)) {
|
|
9951
|
+
body["oss_bucket_name"] = request.ossBucketName;
|
|
9952
|
+
}
|
|
8921
9953
|
let req = new $OpenApi.OpenApiRequest({
|
|
8922
9954
|
headers: headers,
|
|
9955
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
8923
9956
|
});
|
|
8924
9957
|
let params = new $OpenApi.Params({
|
|
8925
9958
|
action: "MigrateCluster",
|
|
@@ -8930,7 +9963,7 @@ class Client extends openapi_client_1.default {
|
|
|
8930
9963
|
authType: "AK",
|
|
8931
9964
|
style: "ROA",
|
|
8932
9965
|
reqBodyType: "json",
|
|
8933
|
-
bodyType: "
|
|
9966
|
+
bodyType: "json",
|
|
8934
9967
|
});
|
|
8935
9968
|
return $tea.cast(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
|
|
8936
9969
|
}
|
|
@@ -9119,6 +10152,39 @@ class Client extends openapi_client_1.default {
|
|
|
9119
10152
|
});
|
|
9120
10153
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
9121
10154
|
}
|
|
10155
|
+
async modifyNodePoolNodeConfig(ClusterId, NodepoolId, request) {
|
|
10156
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10157
|
+
let headers = {};
|
|
10158
|
+
return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
10159
|
+
}
|
|
10160
|
+
async modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
10161
|
+
tea_util_1.default.validateModel(request);
|
|
10162
|
+
ClusterId = openapi_util_1.default.getEncodeParam(ClusterId);
|
|
10163
|
+
NodepoolId = openapi_util_1.default.getEncodeParam(NodepoolId);
|
|
10164
|
+
let body = {};
|
|
10165
|
+
if (!tea_util_1.default.isUnset($tea.toMap(request.kubeletConfig))) {
|
|
10166
|
+
body["kubelet_config"] = request.kubeletConfig;
|
|
10167
|
+
}
|
|
10168
|
+
if (!tea_util_1.default.isUnset($tea.toMap(request.rollingPolicy))) {
|
|
10169
|
+
body["rolling_policy"] = request.rollingPolicy;
|
|
10170
|
+
}
|
|
10171
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10172
|
+
headers: headers,
|
|
10173
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
10174
|
+
});
|
|
10175
|
+
let params = new $OpenApi.Params({
|
|
10176
|
+
action: "ModifyNodePoolNodeConfig",
|
|
10177
|
+
version: "2015-12-15",
|
|
10178
|
+
protocol: "HTTPS",
|
|
10179
|
+
pathname: `/clusters/${ClusterId}/nodepools/${NodepoolId}/node_config`,
|
|
10180
|
+
method: "PUT",
|
|
10181
|
+
authType: "AK",
|
|
10182
|
+
style: "ROA",
|
|
10183
|
+
reqBodyType: "json",
|
|
10184
|
+
bodyType: "json",
|
|
10185
|
+
});
|
|
10186
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
|
|
10187
|
+
}
|
|
9122
10188
|
async modifyPolicyInstance(clusterId, policyName, request) {
|
|
9123
10189
|
let runtime = new $Util.RuntimeOptions({});
|
|
9124
10190
|
let headers = {};
|
|
@@ -9233,6 +10299,29 @@ class Client extends openapi_client_1.default {
|
|
|
9233
10299
|
});
|
|
9234
10300
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
9235
10301
|
}
|
|
10302
|
+
async pauseTask(taskId) {
|
|
10303
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10304
|
+
let headers = {};
|
|
10305
|
+
return await this.pauseTaskWithOptions(taskId, headers, runtime);
|
|
10306
|
+
}
|
|
10307
|
+
async pauseTaskWithOptions(taskId, headers, runtime) {
|
|
10308
|
+
taskId = openapi_util_1.default.getEncodeParam(taskId);
|
|
10309
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10310
|
+
headers: headers,
|
|
10311
|
+
});
|
|
10312
|
+
let params = new $OpenApi.Params({
|
|
10313
|
+
action: "PauseTask",
|
|
10314
|
+
version: "2015-12-15",
|
|
10315
|
+
protocol: "HTTPS",
|
|
10316
|
+
pathname: `/tasks/${taskId}/pause`,
|
|
10317
|
+
method: "POST",
|
|
10318
|
+
authType: "AK",
|
|
10319
|
+
style: "ROA",
|
|
10320
|
+
reqBodyType: "json",
|
|
10321
|
+
bodyType: "none",
|
|
10322
|
+
});
|
|
10323
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
|
|
10324
|
+
}
|
|
9236
10325
|
async removeClusterNodes(ClusterId, request) {
|
|
9237
10326
|
let runtime = new $Util.RuntimeOptions({});
|
|
9238
10327
|
let headers = {};
|
|
@@ -9345,6 +10434,29 @@ class Client extends openapi_client_1.default {
|
|
|
9345
10434
|
});
|
|
9346
10435
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
9347
10436
|
}
|
|
10437
|
+
async resumeTask(taskId) {
|
|
10438
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10439
|
+
let headers = {};
|
|
10440
|
+
return await this.resumeTaskWithOptions(taskId, headers, runtime);
|
|
10441
|
+
}
|
|
10442
|
+
async resumeTaskWithOptions(taskId, headers, runtime) {
|
|
10443
|
+
taskId = openapi_util_1.default.getEncodeParam(taskId);
|
|
10444
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10445
|
+
headers: headers,
|
|
10446
|
+
});
|
|
10447
|
+
let params = new $OpenApi.Params({
|
|
10448
|
+
action: "ResumeTask",
|
|
10449
|
+
version: "2015-12-15",
|
|
10450
|
+
protocol: "HTTPS",
|
|
10451
|
+
pathname: `/tasks/${taskId}/resume`,
|
|
10452
|
+
method: "POST",
|
|
10453
|
+
authType: "AK",
|
|
10454
|
+
style: "ROA",
|
|
10455
|
+
reqBodyType: "json",
|
|
10456
|
+
bodyType: "none",
|
|
10457
|
+
});
|
|
10458
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
|
|
10459
|
+
}
|
|
9348
10460
|
async resumeUpgradeCluster(ClusterId) {
|
|
9349
10461
|
let runtime = new $Util.RuntimeOptions({});
|
|
9350
10462
|
let headers = {};
|