@alicloud/cs20151215 3.0.11 → 3.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +522 -10
- package/dist/client.js +964 -49
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1208 -35
package/dist/client.js
CHANGED
|
@@ -206,12 +206,14 @@ class AttachInstancesResponse extends $tea.Model {
|
|
|
206
206
|
static names() {
|
|
207
207
|
return {
|
|
208
208
|
headers: 'headers',
|
|
209
|
+
statusCode: 'statusCode',
|
|
209
210
|
body: 'body',
|
|
210
211
|
};
|
|
211
212
|
}
|
|
212
213
|
static types() {
|
|
213
214
|
return {
|
|
214
215
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
216
|
+
statusCode: 'number',
|
|
215
217
|
body: AttachInstancesResponseBody,
|
|
216
218
|
};
|
|
217
219
|
}
|
|
@@ -224,11 +226,13 @@ class CancelClusterUpgradeResponse extends $tea.Model {
|
|
|
224
226
|
static names() {
|
|
225
227
|
return {
|
|
226
228
|
headers: 'headers',
|
|
229
|
+
statusCode: 'statusCode',
|
|
227
230
|
};
|
|
228
231
|
}
|
|
229
232
|
static types() {
|
|
230
233
|
return {
|
|
231
234
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
235
|
+
statusCode: 'number',
|
|
232
236
|
};
|
|
233
237
|
}
|
|
234
238
|
}
|
|
@@ -240,15 +244,35 @@ class CancelComponentUpgradeResponse extends $tea.Model {
|
|
|
240
244
|
static names() {
|
|
241
245
|
return {
|
|
242
246
|
headers: 'headers',
|
|
247
|
+
statusCode: 'statusCode',
|
|
243
248
|
};
|
|
244
249
|
}
|
|
245
250
|
static types() {
|
|
246
251
|
return {
|
|
247
252
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
253
|
+
statusCode: 'number',
|
|
248
254
|
};
|
|
249
255
|
}
|
|
250
256
|
}
|
|
251
257
|
exports.CancelComponentUpgradeResponse = CancelComponentUpgradeResponse;
|
|
258
|
+
class CancelTaskResponse extends $tea.Model {
|
|
259
|
+
constructor(map) {
|
|
260
|
+
super(map);
|
|
261
|
+
}
|
|
262
|
+
static names() {
|
|
263
|
+
return {
|
|
264
|
+
headers: 'headers',
|
|
265
|
+
statusCode: 'statusCode',
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
static types() {
|
|
269
|
+
return {
|
|
270
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
271
|
+
statusCode: 'number',
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
exports.CancelTaskResponse = CancelTaskResponse;
|
|
252
276
|
class CancelWorkflowRequest extends $tea.Model {
|
|
253
277
|
constructor(map) {
|
|
254
278
|
super(map);
|
|
@@ -272,11 +296,13 @@ class CancelWorkflowResponse extends $tea.Model {
|
|
|
272
296
|
static names() {
|
|
273
297
|
return {
|
|
274
298
|
headers: 'headers',
|
|
299
|
+
statusCode: 'statusCode',
|
|
275
300
|
};
|
|
276
301
|
}
|
|
277
302
|
static types() {
|
|
278
303
|
return {
|
|
279
304
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
305
|
+
statusCode: 'number',
|
|
280
306
|
};
|
|
281
307
|
}
|
|
282
308
|
}
|
|
@@ -288,7 +314,9 @@ class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
288
314
|
static names() {
|
|
289
315
|
return {
|
|
290
316
|
coolDownDuration: 'cool_down_duration',
|
|
317
|
+
expander: 'expander',
|
|
291
318
|
gpuUtilizationThreshold: 'gpu_utilization_threshold',
|
|
319
|
+
scaleDownEnabled: 'scale_down_enabled',
|
|
292
320
|
scanInterval: 'scan_interval',
|
|
293
321
|
unneededDuration: 'unneeded_duration',
|
|
294
322
|
utilizationThreshold: 'utilization_threshold',
|
|
@@ -297,7 +325,9 @@ class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
297
325
|
static types() {
|
|
298
326
|
return {
|
|
299
327
|
coolDownDuration: 'string',
|
|
328
|
+
expander: 'string',
|
|
300
329
|
gpuUtilizationThreshold: 'string',
|
|
330
|
+
scaleDownEnabled: 'boolean',
|
|
301
331
|
scanInterval: 'string',
|
|
302
332
|
unneededDuration: 'string',
|
|
303
333
|
utilizationThreshold: 'string',
|
|
@@ -312,11 +342,13 @@ class CreateAutoscalingConfigResponse extends $tea.Model {
|
|
|
312
342
|
static names() {
|
|
313
343
|
return {
|
|
314
344
|
headers: 'headers',
|
|
345
|
+
statusCode: 'statusCode',
|
|
315
346
|
};
|
|
316
347
|
}
|
|
317
348
|
static types() {
|
|
318
349
|
return {
|
|
319
350
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
351
|
+
statusCode: 'number',
|
|
320
352
|
};
|
|
321
353
|
}
|
|
322
354
|
}
|
|
@@ -329,6 +361,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
329
361
|
return {
|
|
330
362
|
addons: 'addons',
|
|
331
363
|
apiAudiences: 'api_audiences',
|
|
364
|
+
chargeType: 'charge_type',
|
|
332
365
|
cisEnabled: 'cis_enabled',
|
|
333
366
|
cloudMonitorFlags: 'cloud_monitor_flags',
|
|
334
367
|
clusterDomain: 'cluster_domain',
|
|
@@ -375,6 +408,8 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
375
408
|
nodePortRange: 'node_port_range',
|
|
376
409
|
numOfNodes: 'num_of_nodes',
|
|
377
410
|
osType: 'os_type',
|
|
411
|
+
period: 'period',
|
|
412
|
+
periodUnit: 'period_unit',
|
|
378
413
|
platform: 'platform',
|
|
379
414
|
podVswitchIds: 'pod_vswitch_ids',
|
|
380
415
|
profile: 'profile',
|
|
@@ -417,6 +452,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
417
452
|
return {
|
|
418
453
|
addons: { 'type': 'array', 'itemType': Addon },
|
|
419
454
|
apiAudiences: 'string',
|
|
455
|
+
chargeType: 'string',
|
|
420
456
|
cisEnabled: 'boolean',
|
|
421
457
|
cloudMonitorFlags: 'boolean',
|
|
422
458
|
clusterDomain: 'string',
|
|
@@ -463,6 +499,8 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
463
499
|
nodePortRange: 'string',
|
|
464
500
|
numOfNodes: 'number',
|
|
465
501
|
osType: 'string',
|
|
502
|
+
period: 'number',
|
|
503
|
+
periodUnit: 'string',
|
|
466
504
|
platform: 'string',
|
|
467
505
|
podVswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
468
506
|
profile: 'string',
|
|
@@ -530,12 +568,14 @@ class CreateClusterResponse extends $tea.Model {
|
|
|
530
568
|
static names() {
|
|
531
569
|
return {
|
|
532
570
|
headers: 'headers',
|
|
571
|
+
statusCode: 'statusCode',
|
|
533
572
|
body: 'body',
|
|
534
573
|
};
|
|
535
574
|
}
|
|
536
575
|
static types() {
|
|
537
576
|
return {
|
|
538
577
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
578
|
+
statusCode: 'number',
|
|
539
579
|
body: CreateClusterResponseBody,
|
|
540
580
|
};
|
|
541
581
|
}
|
|
@@ -598,12 +638,14 @@ class CreateClusterNodePoolResponse extends $tea.Model {
|
|
|
598
638
|
static names() {
|
|
599
639
|
return {
|
|
600
640
|
headers: 'headers',
|
|
641
|
+
statusCode: 'statusCode',
|
|
601
642
|
body: 'body',
|
|
602
643
|
};
|
|
603
644
|
}
|
|
604
645
|
static types() {
|
|
605
646
|
return {
|
|
606
647
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
648
|
+
statusCode: 'number',
|
|
607
649
|
body: CreateClusterNodePoolResponseBody,
|
|
608
650
|
};
|
|
609
651
|
}
|
|
@@ -654,12 +696,14 @@ class CreateEdgeMachineResponse extends $tea.Model {
|
|
|
654
696
|
static names() {
|
|
655
697
|
return {
|
|
656
698
|
headers: 'headers',
|
|
699
|
+
statusCode: 'statusCode',
|
|
657
700
|
body: 'body',
|
|
658
701
|
};
|
|
659
702
|
}
|
|
660
703
|
static types() {
|
|
661
704
|
return {
|
|
662
705
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
706
|
+
statusCode: 'number',
|
|
663
707
|
body: CreateEdgeMachineResponseBody,
|
|
664
708
|
};
|
|
665
709
|
}
|
|
@@ -718,12 +762,14 @@ class CreateKubernetesTriggerResponse extends $tea.Model {
|
|
|
718
762
|
static names() {
|
|
719
763
|
return {
|
|
720
764
|
headers: 'headers',
|
|
765
|
+
statusCode: 'statusCode',
|
|
721
766
|
body: 'body',
|
|
722
767
|
};
|
|
723
768
|
}
|
|
724
769
|
static types() {
|
|
725
770
|
return {
|
|
726
771
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
772
|
+
statusCode: 'number',
|
|
727
773
|
body: CreateKubernetesTriggerResponseBody,
|
|
728
774
|
};
|
|
729
775
|
}
|
|
@@ -776,12 +822,14 @@ class CreateTemplateResponse extends $tea.Model {
|
|
|
776
822
|
static names() {
|
|
777
823
|
return {
|
|
778
824
|
headers: 'headers',
|
|
825
|
+
statusCode: 'statusCode',
|
|
779
826
|
body: 'body',
|
|
780
827
|
};
|
|
781
828
|
}
|
|
782
829
|
static types() {
|
|
783
830
|
return {
|
|
784
831
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
832
|
+
statusCode: 'number',
|
|
785
833
|
body: CreateTemplateResponseBody,
|
|
786
834
|
};
|
|
787
835
|
}
|
|
@@ -840,12 +888,14 @@ class CreateTriggerResponse extends $tea.Model {
|
|
|
840
888
|
static names() {
|
|
841
889
|
return {
|
|
842
890
|
headers: 'headers',
|
|
891
|
+
statusCode: 'statusCode',
|
|
843
892
|
body: 'body',
|
|
844
893
|
};
|
|
845
894
|
}
|
|
846
895
|
static types() {
|
|
847
896
|
return {
|
|
848
897
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
898
|
+
statusCode: 'number',
|
|
849
899
|
body: CreateTriggerResponseBody,
|
|
850
900
|
};
|
|
851
901
|
}
|
|
@@ -858,11 +908,13 @@ class DeleteAlertContactResponse extends $tea.Model {
|
|
|
858
908
|
static names() {
|
|
859
909
|
return {
|
|
860
910
|
headers: 'headers',
|
|
911
|
+
statusCode: 'statusCode',
|
|
861
912
|
};
|
|
862
913
|
}
|
|
863
914
|
static types() {
|
|
864
915
|
return {
|
|
865
916
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
917
|
+
statusCode: 'number',
|
|
866
918
|
};
|
|
867
919
|
}
|
|
868
920
|
}
|
|
@@ -874,11 +926,13 @@ class DeleteAlertContactGroupResponse extends $tea.Model {
|
|
|
874
926
|
static names() {
|
|
875
927
|
return {
|
|
876
928
|
headers: 'headers',
|
|
929
|
+
statusCode: 'statusCode',
|
|
877
930
|
};
|
|
878
931
|
}
|
|
879
932
|
static types() {
|
|
880
933
|
return {
|
|
881
934
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
935
|
+
statusCode: 'number',
|
|
882
936
|
};
|
|
883
937
|
}
|
|
884
938
|
}
|
|
@@ -930,11 +984,13 @@ class DeleteClusterResponse extends $tea.Model {
|
|
|
930
984
|
static names() {
|
|
931
985
|
return {
|
|
932
986
|
headers: 'headers',
|
|
987
|
+
statusCode: 'statusCode',
|
|
933
988
|
};
|
|
934
989
|
}
|
|
935
990
|
static types() {
|
|
936
991
|
return {
|
|
937
992
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
993
|
+
statusCode: 'number',
|
|
938
994
|
};
|
|
939
995
|
}
|
|
940
996
|
}
|
|
@@ -978,12 +1034,14 @@ class DeleteClusterNodepoolResponse extends $tea.Model {
|
|
|
978
1034
|
static names() {
|
|
979
1035
|
return {
|
|
980
1036
|
headers: 'headers',
|
|
1037
|
+
statusCode: 'statusCode',
|
|
981
1038
|
body: 'body',
|
|
982
1039
|
};
|
|
983
1040
|
}
|
|
984
1041
|
static types() {
|
|
985
1042
|
return {
|
|
986
1043
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1044
|
+
statusCode: 'number',
|
|
987
1045
|
body: DeleteClusterNodepoolResponseBody,
|
|
988
1046
|
};
|
|
989
1047
|
}
|
|
@@ -1036,12 +1094,14 @@ class DeleteClusterNodesResponse extends $tea.Model {
|
|
|
1036
1094
|
static names() {
|
|
1037
1095
|
return {
|
|
1038
1096
|
headers: 'headers',
|
|
1097
|
+
statusCode: 'statusCode',
|
|
1039
1098
|
body: 'body',
|
|
1040
1099
|
};
|
|
1041
1100
|
}
|
|
1042
1101
|
static types() {
|
|
1043
1102
|
return {
|
|
1044
1103
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1104
|
+
statusCode: 'number',
|
|
1045
1105
|
body: DeleteClusterNodesResponseBody,
|
|
1046
1106
|
};
|
|
1047
1107
|
}
|
|
@@ -1070,11 +1130,13 @@ class DeleteEdgeMachineResponse extends $tea.Model {
|
|
|
1070
1130
|
static names() {
|
|
1071
1131
|
return {
|
|
1072
1132
|
headers: 'headers',
|
|
1133
|
+
statusCode: 'statusCode',
|
|
1073
1134
|
};
|
|
1074
1135
|
}
|
|
1075
1136
|
static types() {
|
|
1076
1137
|
return {
|
|
1077
1138
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1139
|
+
statusCode: 'number',
|
|
1078
1140
|
};
|
|
1079
1141
|
}
|
|
1080
1142
|
}
|
|
@@ -1086,11 +1148,13 @@ class DeleteKubernetesTriggerResponse extends $tea.Model {
|
|
|
1086
1148
|
static names() {
|
|
1087
1149
|
return {
|
|
1088
1150
|
headers: 'headers',
|
|
1151
|
+
statusCode: 'statusCode',
|
|
1089
1152
|
};
|
|
1090
1153
|
}
|
|
1091
1154
|
static types() {
|
|
1092
1155
|
return {
|
|
1093
1156
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1157
|
+
statusCode: 'number',
|
|
1094
1158
|
};
|
|
1095
1159
|
}
|
|
1096
1160
|
}
|
|
@@ -1134,12 +1198,14 @@ class DeletePolicyInstanceResponse extends $tea.Model {
|
|
|
1134
1198
|
static names() {
|
|
1135
1199
|
return {
|
|
1136
1200
|
headers: 'headers',
|
|
1201
|
+
statusCode: 'statusCode',
|
|
1137
1202
|
body: 'body',
|
|
1138
1203
|
};
|
|
1139
1204
|
}
|
|
1140
1205
|
static types() {
|
|
1141
1206
|
return {
|
|
1142
1207
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1208
|
+
statusCode: 'number',
|
|
1143
1209
|
body: DeletePolicyInstanceResponseBody,
|
|
1144
1210
|
};
|
|
1145
1211
|
}
|
|
@@ -1152,11 +1218,13 @@ class DeleteTemplateResponse extends $tea.Model {
|
|
|
1152
1218
|
static names() {
|
|
1153
1219
|
return {
|
|
1154
1220
|
headers: 'headers',
|
|
1221
|
+
statusCode: 'statusCode',
|
|
1155
1222
|
};
|
|
1156
1223
|
}
|
|
1157
1224
|
static types() {
|
|
1158
1225
|
return {
|
|
1159
1226
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1227
|
+
statusCode: 'number',
|
|
1160
1228
|
};
|
|
1161
1229
|
}
|
|
1162
1230
|
}
|
|
@@ -1168,11 +1236,13 @@ class DeleteTriggerResponse extends $tea.Model {
|
|
|
1168
1236
|
static names() {
|
|
1169
1237
|
return {
|
|
1170
1238
|
headers: 'headers',
|
|
1239
|
+
statusCode: 'statusCode',
|
|
1171
1240
|
};
|
|
1172
1241
|
}
|
|
1173
1242
|
static types() {
|
|
1174
1243
|
return {
|
|
1175
1244
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1245
|
+
statusCode: 'number',
|
|
1176
1246
|
};
|
|
1177
1247
|
}
|
|
1178
1248
|
}
|
|
@@ -1220,12 +1290,14 @@ class DeployPolicyInstanceResponse extends $tea.Model {
|
|
|
1220
1290
|
static names() {
|
|
1221
1291
|
return {
|
|
1222
1292
|
headers: 'headers',
|
|
1293
|
+
statusCode: 'statusCode',
|
|
1223
1294
|
body: 'body',
|
|
1224
1295
|
};
|
|
1225
1296
|
}
|
|
1226
1297
|
static types() {
|
|
1227
1298
|
return {
|
|
1228
1299
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1300
|
+
statusCode: 'number',
|
|
1229
1301
|
body: DeployPolicyInstanceResponseBody,
|
|
1230
1302
|
};
|
|
1231
1303
|
}
|
|
@@ -1274,12 +1346,14 @@ class DescirbeWorkflowResponse extends $tea.Model {
|
|
|
1274
1346
|
static names() {
|
|
1275
1347
|
return {
|
|
1276
1348
|
headers: 'headers',
|
|
1349
|
+
statusCode: 'statusCode',
|
|
1277
1350
|
body: 'body',
|
|
1278
1351
|
};
|
|
1279
1352
|
}
|
|
1280
1353
|
static types() {
|
|
1281
1354
|
return {
|
|
1282
1355
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1356
|
+
statusCode: 'number',
|
|
1283
1357
|
body: DescirbeWorkflowResponseBody,
|
|
1284
1358
|
};
|
|
1285
1359
|
}
|
|
@@ -1328,12 +1402,14 @@ class DescribeAddonsResponse extends $tea.Model {
|
|
|
1328
1402
|
static names() {
|
|
1329
1403
|
return {
|
|
1330
1404
|
headers: 'headers',
|
|
1405
|
+
statusCode: 'statusCode',
|
|
1331
1406
|
body: 'body',
|
|
1332
1407
|
};
|
|
1333
1408
|
}
|
|
1334
1409
|
static types() {
|
|
1335
1410
|
return {
|
|
1336
1411
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1412
|
+
statusCode: 'number',
|
|
1337
1413
|
body: DescribeAddonsResponseBody,
|
|
1338
1414
|
};
|
|
1339
1415
|
}
|
|
@@ -1366,12 +1442,14 @@ class DescribeClusterAddonMetadataResponse extends $tea.Model {
|
|
|
1366
1442
|
static names() {
|
|
1367
1443
|
return {
|
|
1368
1444
|
headers: 'headers',
|
|
1445
|
+
statusCode: 'statusCode',
|
|
1369
1446
|
body: 'body',
|
|
1370
1447
|
};
|
|
1371
1448
|
}
|
|
1372
1449
|
static types() {
|
|
1373
1450
|
return {
|
|
1374
1451
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1452
|
+
statusCode: 'number',
|
|
1375
1453
|
body: DescribeClusterAddonMetadataResponseBody,
|
|
1376
1454
|
};
|
|
1377
1455
|
}
|
|
@@ -1384,12 +1462,14 @@ class DescribeClusterAddonUpgradeStatusResponse extends $tea.Model {
|
|
|
1384
1462
|
static names() {
|
|
1385
1463
|
return {
|
|
1386
1464
|
headers: 'headers',
|
|
1465
|
+
statusCode: 'statusCode',
|
|
1387
1466
|
body: 'body',
|
|
1388
1467
|
};
|
|
1389
1468
|
}
|
|
1390
1469
|
static types() {
|
|
1391
1470
|
return {
|
|
1392
1471
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1472
|
+
statusCode: 'number',
|
|
1393
1473
|
body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1394
1474
|
};
|
|
1395
1475
|
}
|
|
@@ -1434,12 +1514,14 @@ class DescribeClusterAddonsUpgradeStatusResponse extends $tea.Model {
|
|
|
1434
1514
|
static names() {
|
|
1435
1515
|
return {
|
|
1436
1516
|
headers: 'headers',
|
|
1517
|
+
statusCode: 'statusCode',
|
|
1437
1518
|
body: 'body',
|
|
1438
1519
|
};
|
|
1439
1520
|
}
|
|
1440
1521
|
static types() {
|
|
1441
1522
|
return {
|
|
1442
1523
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1524
|
+
statusCode: 'number',
|
|
1443
1525
|
body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1444
1526
|
};
|
|
1445
1527
|
}
|
|
@@ -1452,12 +1534,14 @@ class DescribeClusterAddonsVersionResponse extends $tea.Model {
|
|
|
1452
1534
|
static names() {
|
|
1453
1535
|
return {
|
|
1454
1536
|
headers: 'headers',
|
|
1537
|
+
statusCode: 'statusCode',
|
|
1455
1538
|
body: 'body',
|
|
1456
1539
|
};
|
|
1457
1540
|
}
|
|
1458
1541
|
static types() {
|
|
1459
1542
|
return {
|
|
1460
1543
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1544
|
+
statusCode: 'number',
|
|
1461
1545
|
body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1462
1546
|
};
|
|
1463
1547
|
}
|
|
@@ -1496,12 +1580,14 @@ class DescribeClusterAttachScriptsResponse extends $tea.Model {
|
|
|
1496
1580
|
static names() {
|
|
1497
1581
|
return {
|
|
1498
1582
|
headers: 'headers',
|
|
1583
|
+
statusCode: 'statusCode',
|
|
1499
1584
|
body: 'body',
|
|
1500
1585
|
};
|
|
1501
1586
|
}
|
|
1502
1587
|
static types() {
|
|
1503
1588
|
return {
|
|
1504
1589
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1590
|
+
statusCode: 'number',
|
|
1505
1591
|
body: 'string',
|
|
1506
1592
|
};
|
|
1507
1593
|
}
|
|
@@ -1586,53 +1672,97 @@ class DescribeClusterDetailResponse extends $tea.Model {
|
|
|
1586
1672
|
static names() {
|
|
1587
1673
|
return {
|
|
1588
1674
|
headers: 'headers',
|
|
1675
|
+
statusCode: 'statusCode',
|
|
1589
1676
|
body: 'body',
|
|
1590
1677
|
};
|
|
1591
1678
|
}
|
|
1592
1679
|
static types() {
|
|
1593
1680
|
return {
|
|
1594
1681
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1682
|
+
statusCode: 'number',
|
|
1595
1683
|
body: DescribeClusterDetailResponseBody,
|
|
1596
1684
|
};
|
|
1597
1685
|
}
|
|
1598
1686
|
}
|
|
1599
1687
|
exports.DescribeClusterDetailResponse = DescribeClusterDetailResponse;
|
|
1600
|
-
class
|
|
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 {
|
|
1601
1727
|
constructor(map) {
|
|
1602
1728
|
super(map);
|
|
1603
1729
|
}
|
|
1604
1730
|
static names() {
|
|
1605
1731
|
return {
|
|
1606
1732
|
headers: 'headers',
|
|
1733
|
+
statusCode: 'statusCode',
|
|
1607
1734
|
body: 'body',
|
|
1608
1735
|
};
|
|
1609
1736
|
}
|
|
1610
1737
|
static types() {
|
|
1611
1738
|
return {
|
|
1612
1739
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1613
|
-
|
|
1740
|
+
statusCode: 'number',
|
|
1741
|
+
body: DescribeClusterEventsResponseBody,
|
|
1614
1742
|
};
|
|
1615
1743
|
}
|
|
1616
1744
|
}
|
|
1617
|
-
exports.
|
|
1618
|
-
class
|
|
1745
|
+
exports.DescribeClusterEventsResponse = DescribeClusterEventsResponse;
|
|
1746
|
+
class DescribeClusterLogsResponse extends $tea.Model {
|
|
1619
1747
|
constructor(map) {
|
|
1620
1748
|
super(map);
|
|
1621
1749
|
}
|
|
1622
1750
|
static names() {
|
|
1623
1751
|
return {
|
|
1624
1752
|
headers: 'headers',
|
|
1753
|
+
statusCode: 'statusCode',
|
|
1625
1754
|
body: 'body',
|
|
1626
1755
|
};
|
|
1627
1756
|
}
|
|
1628
1757
|
static types() {
|
|
1629
1758
|
return {
|
|
1630
1759
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1631
|
-
|
|
1760
|
+
statusCode: 'number',
|
|
1761
|
+
body: { 'type': 'array', 'itemType': DescribeClusterLogsResponseBody },
|
|
1632
1762
|
};
|
|
1633
1763
|
}
|
|
1634
1764
|
}
|
|
1635
|
-
exports.
|
|
1765
|
+
exports.DescribeClusterLogsResponse = DescribeClusterLogsResponse;
|
|
1636
1766
|
class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
|
|
1637
1767
|
constructor(map) {
|
|
1638
1768
|
super(map);
|
|
@@ -1674,12 +1804,14 @@ class DescribeClusterNodePoolDetailResponse extends $tea.Model {
|
|
|
1674
1804
|
static names() {
|
|
1675
1805
|
return {
|
|
1676
1806
|
headers: 'headers',
|
|
1807
|
+
statusCode: 'statusCode',
|
|
1677
1808
|
body: 'body',
|
|
1678
1809
|
};
|
|
1679
1810
|
}
|
|
1680
1811
|
static types() {
|
|
1681
1812
|
return {
|
|
1682
1813
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1814
|
+
statusCode: 'number',
|
|
1683
1815
|
body: DescribeClusterNodePoolDetailResponseBody,
|
|
1684
1816
|
};
|
|
1685
1817
|
}
|
|
@@ -1708,12 +1840,14 @@ class DescribeClusterNodePoolsResponse extends $tea.Model {
|
|
|
1708
1840
|
static names() {
|
|
1709
1841
|
return {
|
|
1710
1842
|
headers: 'headers',
|
|
1843
|
+
statusCode: 'statusCode',
|
|
1711
1844
|
body: 'body',
|
|
1712
1845
|
};
|
|
1713
1846
|
}
|
|
1714
1847
|
static types() {
|
|
1715
1848
|
return {
|
|
1716
1849
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1850
|
+
statusCode: 'number',
|
|
1717
1851
|
body: DescribeClusterNodePoolsResponseBody,
|
|
1718
1852
|
};
|
|
1719
1853
|
}
|
|
@@ -1768,12 +1902,14 @@ class DescribeClusterNodesResponse extends $tea.Model {
|
|
|
1768
1902
|
static names() {
|
|
1769
1903
|
return {
|
|
1770
1904
|
headers: 'headers',
|
|
1905
|
+
statusCode: 'statusCode',
|
|
1771
1906
|
body: 'body',
|
|
1772
1907
|
};
|
|
1773
1908
|
}
|
|
1774
1909
|
static types() {
|
|
1775
1910
|
return {
|
|
1776
1911
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1912
|
+
statusCode: 'number',
|
|
1777
1913
|
body: DescribeClusterNodesResponseBody,
|
|
1778
1914
|
};
|
|
1779
1915
|
}
|
|
@@ -1786,17 +1922,59 @@ class DescribeClusterResourcesResponse extends $tea.Model {
|
|
|
1786
1922
|
static names() {
|
|
1787
1923
|
return {
|
|
1788
1924
|
headers: 'headers',
|
|
1925
|
+
statusCode: 'statusCode',
|
|
1789
1926
|
body: 'body',
|
|
1790
1927
|
};
|
|
1791
1928
|
}
|
|
1792
1929
|
static types() {
|
|
1793
1930
|
return {
|
|
1794
1931
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1932
|
+
statusCode: 'number',
|
|
1795
1933
|
body: { 'type': 'array', 'itemType': DescribeClusterResourcesResponseBody },
|
|
1796
1934
|
};
|
|
1797
1935
|
}
|
|
1798
1936
|
}
|
|
1799
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;
|
|
1800
1978
|
class DescribeClusterUserKubeconfigRequest extends $tea.Model {
|
|
1801
1979
|
constructor(map) {
|
|
1802
1980
|
super(map);
|
|
@@ -1840,12 +2018,14 @@ class DescribeClusterUserKubeconfigResponse extends $tea.Model {
|
|
|
1840
2018
|
static names() {
|
|
1841
2019
|
return {
|
|
1842
2020
|
headers: 'headers',
|
|
2021
|
+
statusCode: 'statusCode',
|
|
1843
2022
|
body: 'body',
|
|
1844
2023
|
};
|
|
1845
2024
|
}
|
|
1846
2025
|
static types() {
|
|
1847
2026
|
return {
|
|
1848
2027
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2028
|
+
statusCode: 'number',
|
|
1849
2029
|
body: DescribeClusterUserKubeconfigResponseBody,
|
|
1850
2030
|
};
|
|
1851
2031
|
}
|
|
@@ -1890,12 +2070,14 @@ class DescribeClusterV2UserKubeconfigResponse extends $tea.Model {
|
|
|
1890
2070
|
static names() {
|
|
1891
2071
|
return {
|
|
1892
2072
|
headers: 'headers',
|
|
2073
|
+
statusCode: 'statusCode',
|
|
1893
2074
|
body: 'body',
|
|
1894
2075
|
};
|
|
1895
2076
|
}
|
|
1896
2077
|
static types() {
|
|
1897
2078
|
return {
|
|
1898
2079
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2080
|
+
statusCode: 'number',
|
|
1899
2081
|
body: DescribeClusterV2UserKubeconfigResponseBody,
|
|
1900
2082
|
};
|
|
1901
2083
|
}
|
|
@@ -1926,12 +2108,14 @@ class DescribeClustersResponse extends $tea.Model {
|
|
|
1926
2108
|
static names() {
|
|
1927
2109
|
return {
|
|
1928
2110
|
headers: 'headers',
|
|
2111
|
+
statusCode: 'statusCode',
|
|
1929
2112
|
body: 'body',
|
|
1930
2113
|
};
|
|
1931
2114
|
}
|
|
1932
2115
|
static types() {
|
|
1933
2116
|
return {
|
|
1934
2117
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2118
|
+
statusCode: 'number',
|
|
1935
2119
|
body: { 'type': 'array', 'itemType': DescribeClustersResponseBody },
|
|
1936
2120
|
};
|
|
1937
2121
|
}
|
|
@@ -1990,12 +2174,14 @@ class DescribeClustersV1Response extends $tea.Model {
|
|
|
1990
2174
|
static names() {
|
|
1991
2175
|
return {
|
|
1992
2176
|
headers: 'headers',
|
|
2177
|
+
statusCode: 'statusCode',
|
|
1993
2178
|
body: 'body',
|
|
1994
2179
|
};
|
|
1995
2180
|
}
|
|
1996
2181
|
static types() {
|
|
1997
2182
|
return {
|
|
1998
2183
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2184
|
+
statusCode: 'number',
|
|
1999
2185
|
body: DescribeClustersV1ResponseBody,
|
|
2000
2186
|
};
|
|
2001
2187
|
}
|
|
@@ -2032,12 +2218,14 @@ class DescribeEdgeMachineActiveProcessResponse extends $tea.Model {
|
|
|
2032
2218
|
static names() {
|
|
2033
2219
|
return {
|
|
2034
2220
|
headers: 'headers',
|
|
2221
|
+
statusCode: 'statusCode',
|
|
2035
2222
|
body: 'body',
|
|
2036
2223
|
};
|
|
2037
2224
|
}
|
|
2038
2225
|
static types() {
|
|
2039
2226
|
return {
|
|
2040
2227
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2228
|
+
statusCode: 'number',
|
|
2041
2229
|
body: DescribeEdgeMachineActiveProcessResponseBody,
|
|
2042
2230
|
};
|
|
2043
2231
|
}
|
|
@@ -2066,12 +2254,14 @@ class DescribeEdgeMachineModelsResponse extends $tea.Model {
|
|
|
2066
2254
|
static names() {
|
|
2067
2255
|
return {
|
|
2068
2256
|
headers: 'headers',
|
|
2257
|
+
statusCode: 'statusCode',
|
|
2069
2258
|
body: 'body',
|
|
2070
2259
|
};
|
|
2071
2260
|
}
|
|
2072
2261
|
static types() {
|
|
2073
2262
|
return {
|
|
2074
2263
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2264
|
+
statusCode: 'number',
|
|
2075
2265
|
body: DescribeEdgeMachineModelsResponseBody,
|
|
2076
2266
|
};
|
|
2077
2267
|
}
|
|
@@ -2112,12 +2302,14 @@ class DescribeEdgeMachineTunnelConfigDetailResponse extends $tea.Model {
|
|
|
2112
2302
|
static names() {
|
|
2113
2303
|
return {
|
|
2114
2304
|
headers: 'headers',
|
|
2305
|
+
statusCode: 'statusCode',
|
|
2115
2306
|
body: 'body',
|
|
2116
2307
|
};
|
|
2117
2308
|
}
|
|
2118
2309
|
static types() {
|
|
2119
2310
|
return {
|
|
2120
2311
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2312
|
+
statusCode: 'number',
|
|
2121
2313
|
body: DescribeEdgeMachineTunnelConfigDetailResponseBody,
|
|
2122
2314
|
};
|
|
2123
2315
|
}
|
|
@@ -2174,12 +2366,14 @@ class DescribeEdgeMachinesResponse extends $tea.Model {
|
|
|
2174
2366
|
static names() {
|
|
2175
2367
|
return {
|
|
2176
2368
|
headers: 'headers',
|
|
2369
|
+
statusCode: 'statusCode',
|
|
2177
2370
|
body: 'body',
|
|
2178
2371
|
};
|
|
2179
2372
|
}
|
|
2180
2373
|
static types() {
|
|
2181
2374
|
return {
|
|
2182
2375
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2376
|
+
statusCode: 'number',
|
|
2183
2377
|
body: DescribeEdgeMachinesResponseBody,
|
|
2184
2378
|
};
|
|
2185
2379
|
}
|
|
@@ -2232,12 +2426,14 @@ class DescribeEventsResponse extends $tea.Model {
|
|
|
2232
2426
|
static names() {
|
|
2233
2427
|
return {
|
|
2234
2428
|
headers: 'headers',
|
|
2429
|
+
statusCode: 'statusCode',
|
|
2235
2430
|
body: 'body',
|
|
2236
2431
|
};
|
|
2237
2432
|
}
|
|
2238
2433
|
static types() {
|
|
2239
2434
|
return {
|
|
2240
2435
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2436
|
+
statusCode: 'number',
|
|
2241
2437
|
body: DescribeEventsResponseBody,
|
|
2242
2438
|
};
|
|
2243
2439
|
}
|
|
@@ -2282,12 +2478,14 @@ class DescribeExternalAgentResponse extends $tea.Model {
|
|
|
2282
2478
|
static names() {
|
|
2283
2479
|
return {
|
|
2284
2480
|
headers: 'headers',
|
|
2481
|
+
statusCode: 'statusCode',
|
|
2285
2482
|
body: 'body',
|
|
2286
2483
|
};
|
|
2287
2484
|
}
|
|
2288
2485
|
static types() {
|
|
2289
2486
|
return {
|
|
2290
2487
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2488
|
+
statusCode: 'number',
|
|
2291
2489
|
body: DescribeExternalAgentResponseBody,
|
|
2292
2490
|
};
|
|
2293
2491
|
}
|
|
@@ -2324,17 +2522,55 @@ class DescribeKubernetesVersionMetadataResponse extends $tea.Model {
|
|
|
2324
2522
|
static names() {
|
|
2325
2523
|
return {
|
|
2326
2524
|
headers: 'headers',
|
|
2525
|
+
statusCode: 'statusCode',
|
|
2327
2526
|
body: 'body',
|
|
2328
2527
|
};
|
|
2329
2528
|
}
|
|
2330
2529
|
static types() {
|
|
2331
2530
|
return {
|
|
2332
2531
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2532
|
+
statusCode: 'number',
|
|
2333
2533
|
body: { 'type': 'array', 'itemType': DescribeKubernetesVersionMetadataResponseBody },
|
|
2334
2534
|
};
|
|
2335
2535
|
}
|
|
2336
2536
|
}
|
|
2337
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;
|
|
2338
2574
|
class DescribePoliciesResponse extends $tea.Model {
|
|
2339
2575
|
constructor(map) {
|
|
2340
2576
|
super(map);
|
|
@@ -2342,12 +2578,14 @@ class DescribePoliciesResponse extends $tea.Model {
|
|
|
2342
2578
|
static names() {
|
|
2343
2579
|
return {
|
|
2344
2580
|
headers: 'headers',
|
|
2581
|
+
statusCode: 'statusCode',
|
|
2345
2582
|
body: 'body',
|
|
2346
2583
|
};
|
|
2347
2584
|
}
|
|
2348
2585
|
static types() {
|
|
2349
2586
|
return {
|
|
2350
2587
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2588
|
+
statusCode: 'number',
|
|
2351
2589
|
body: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
2352
2590
|
};
|
|
2353
2591
|
}
|
|
@@ -2390,12 +2628,14 @@ class DescribePolicyDetailsResponse extends $tea.Model {
|
|
|
2390
2628
|
static names() {
|
|
2391
2629
|
return {
|
|
2392
2630
|
headers: 'headers',
|
|
2631
|
+
statusCode: 'statusCode',
|
|
2393
2632
|
body: 'body',
|
|
2394
2633
|
};
|
|
2395
2634
|
}
|
|
2396
2635
|
static types() {
|
|
2397
2636
|
return {
|
|
2398
2637
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2638
|
+
statusCode: 'number',
|
|
2399
2639
|
body: DescribePolicyDetailsResponseBody,
|
|
2400
2640
|
};
|
|
2401
2641
|
}
|
|
@@ -2430,12 +2670,14 @@ class DescribePolicyGovernanceInClusterResponse extends $tea.Model {
|
|
|
2430
2670
|
static names() {
|
|
2431
2671
|
return {
|
|
2432
2672
|
headers: 'headers',
|
|
2673
|
+
statusCode: 'statusCode',
|
|
2433
2674
|
body: 'body',
|
|
2434
2675
|
};
|
|
2435
2676
|
}
|
|
2436
2677
|
static types() {
|
|
2437
2678
|
return {
|
|
2438
2679
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2680
|
+
statusCode: 'number',
|
|
2439
2681
|
body: DescribePolicyGovernanceInClusterResponseBody,
|
|
2440
2682
|
};
|
|
2441
2683
|
}
|
|
@@ -2466,12 +2708,14 @@ class DescribePolicyInstancesResponse extends $tea.Model {
|
|
|
2466
2708
|
static names() {
|
|
2467
2709
|
return {
|
|
2468
2710
|
headers: 'headers',
|
|
2711
|
+
statusCode: 'statusCode',
|
|
2469
2712
|
body: 'body',
|
|
2470
2713
|
};
|
|
2471
2714
|
}
|
|
2472
2715
|
static types() {
|
|
2473
2716
|
return {
|
|
2474
2717
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2718
|
+
statusCode: 'number',
|
|
2475
2719
|
body: { 'type': 'array', 'itemType': DescribePolicyInstancesResponseBody },
|
|
2476
2720
|
};
|
|
2477
2721
|
}
|
|
@@ -2502,12 +2746,14 @@ class DescribePolicyInstancesStatusResponse extends $tea.Model {
|
|
|
2502
2746
|
static names() {
|
|
2503
2747
|
return {
|
|
2504
2748
|
headers: 'headers',
|
|
2749
|
+
statusCode: 'statusCode',
|
|
2505
2750
|
body: 'body',
|
|
2506
2751
|
};
|
|
2507
2752
|
}
|
|
2508
2753
|
static types() {
|
|
2509
2754
|
return {
|
|
2510
2755
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2756
|
+
statusCode: 'number',
|
|
2511
2757
|
body: DescribePolicyInstancesStatusResponseBody,
|
|
2512
2758
|
};
|
|
2513
2759
|
}
|
|
@@ -2548,12 +2794,14 @@ class DescribeTaskInfoResponse extends $tea.Model {
|
|
|
2548
2794
|
static names() {
|
|
2549
2795
|
return {
|
|
2550
2796
|
headers: 'headers',
|
|
2797
|
+
statusCode: 'statusCode',
|
|
2551
2798
|
body: 'body',
|
|
2552
2799
|
};
|
|
2553
2800
|
}
|
|
2554
2801
|
static types() {
|
|
2555
2802
|
return {
|
|
2556
2803
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2804
|
+
statusCode: 'number',
|
|
2557
2805
|
body: DescribeTaskInfoResponseBody,
|
|
2558
2806
|
};
|
|
2559
2807
|
}
|
|
@@ -2582,12 +2830,14 @@ class DescribeTemplateAttributeResponse extends $tea.Model {
|
|
|
2582
2830
|
static names() {
|
|
2583
2831
|
return {
|
|
2584
2832
|
headers: 'headers',
|
|
2833
|
+
statusCode: 'statusCode',
|
|
2585
2834
|
body: 'body',
|
|
2586
2835
|
};
|
|
2587
2836
|
}
|
|
2588
2837
|
static types() {
|
|
2589
2838
|
return {
|
|
2590
2839
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2840
|
+
statusCode: 'number',
|
|
2591
2841
|
body: { 'type': 'array', 'itemType': DescribeTemplateAttributeResponseBody },
|
|
2592
2842
|
};
|
|
2593
2843
|
}
|
|
@@ -2638,12 +2888,14 @@ class DescribeTemplatesResponse extends $tea.Model {
|
|
|
2638
2888
|
static names() {
|
|
2639
2889
|
return {
|
|
2640
2890
|
headers: 'headers',
|
|
2891
|
+
statusCode: 'statusCode',
|
|
2641
2892
|
body: 'body',
|
|
2642
2893
|
};
|
|
2643
2894
|
}
|
|
2644
2895
|
static types() {
|
|
2645
2896
|
return {
|
|
2646
2897
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2898
|
+
statusCode: 'number',
|
|
2647
2899
|
body: DescribeTemplatesResponseBody,
|
|
2648
2900
|
};
|
|
2649
2901
|
}
|
|
@@ -2678,12 +2930,14 @@ class DescribeTriggerResponse extends $tea.Model {
|
|
|
2678
2930
|
static names() {
|
|
2679
2931
|
return {
|
|
2680
2932
|
headers: 'headers',
|
|
2933
|
+
statusCode: 'statusCode',
|
|
2681
2934
|
body: 'body',
|
|
2682
2935
|
};
|
|
2683
2936
|
}
|
|
2684
2937
|
static types() {
|
|
2685
2938
|
return {
|
|
2686
2939
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2940
|
+
statusCode: 'number',
|
|
2687
2941
|
body: { 'type': 'array', 'itemType': DescribeTriggerResponseBody },
|
|
2688
2942
|
};
|
|
2689
2943
|
}
|
|
@@ -2696,12 +2950,14 @@ class DescribeUserPermissionResponse extends $tea.Model {
|
|
|
2696
2950
|
static names() {
|
|
2697
2951
|
return {
|
|
2698
2952
|
headers: 'headers',
|
|
2953
|
+
statusCode: 'statusCode',
|
|
2699
2954
|
body: 'body',
|
|
2700
2955
|
};
|
|
2701
2956
|
}
|
|
2702
2957
|
static types() {
|
|
2703
2958
|
return {
|
|
2704
2959
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2960
|
+
statusCode: 'number',
|
|
2705
2961
|
body: { 'type': 'array', 'itemType': DescribeUserPermissionResponseBody },
|
|
2706
2962
|
};
|
|
2707
2963
|
}
|
|
@@ -2738,12 +2994,14 @@ class DescribeUserQuotaResponse extends $tea.Model {
|
|
|
2738
2994
|
static names() {
|
|
2739
2995
|
return {
|
|
2740
2996
|
headers: 'headers',
|
|
2997
|
+
statusCode: 'statusCode',
|
|
2741
2998
|
body: 'body',
|
|
2742
2999
|
};
|
|
2743
3000
|
}
|
|
2744
3001
|
static types() {
|
|
2745
3002
|
return {
|
|
2746
3003
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3004
|
+
statusCode: 'number',
|
|
2747
3005
|
body: DescribeUserQuotaResponseBody,
|
|
2748
3006
|
};
|
|
2749
3007
|
}
|
|
@@ -2772,12 +3030,14 @@ class DescribeWorkflowsResponse extends $tea.Model {
|
|
|
2772
3030
|
static names() {
|
|
2773
3031
|
return {
|
|
2774
3032
|
headers: 'headers',
|
|
3033
|
+
statusCode: 'statusCode',
|
|
2775
3034
|
body: 'body',
|
|
2776
3035
|
};
|
|
2777
3036
|
}
|
|
2778
3037
|
static types() {
|
|
2779
3038
|
return {
|
|
2780
3039
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3040
|
+
statusCode: 'number',
|
|
2781
3041
|
body: DescribeWorkflowsResponseBody,
|
|
2782
3042
|
};
|
|
2783
3043
|
}
|
|
@@ -2828,17 +3088,75 @@ class EdgeClusterAddEdgeMachineResponse extends $tea.Model {
|
|
|
2828
3088
|
static names() {
|
|
2829
3089
|
return {
|
|
2830
3090
|
headers: 'headers',
|
|
3091
|
+
statusCode: 'statusCode',
|
|
2831
3092
|
body: 'body',
|
|
2832
3093
|
};
|
|
2833
3094
|
}
|
|
2834
3095
|
static types() {
|
|
2835
3096
|
return {
|
|
2836
3097
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3098
|
+
statusCode: 'number',
|
|
2837
3099
|
body: EdgeClusterAddEdgeMachineResponseBody,
|
|
2838
3100
|
};
|
|
2839
3101
|
}
|
|
2840
3102
|
}
|
|
2841
3103
|
exports.EdgeClusterAddEdgeMachineResponse = EdgeClusterAddEdgeMachineResponse;
|
|
3104
|
+
class FixNodePoolVulsRequest extends $tea.Model {
|
|
3105
|
+
constructor(map) {
|
|
3106
|
+
super(map);
|
|
3107
|
+
}
|
|
3108
|
+
static names() {
|
|
3109
|
+
return {
|
|
3110
|
+
nodes: 'nodes',
|
|
3111
|
+
rolloutPolicy: 'rollout_policy',
|
|
3112
|
+
vulList: 'vul_list',
|
|
3113
|
+
};
|
|
3114
|
+
}
|
|
3115
|
+
static types() {
|
|
3116
|
+
return {
|
|
3117
|
+
nodes: { 'type': 'array', 'itemType': 'string' },
|
|
3118
|
+
rolloutPolicy: FixNodePoolVulsRequestRolloutPolicy,
|
|
3119
|
+
vulList: { 'type': 'array', 'itemType': 'string' },
|
|
3120
|
+
};
|
|
3121
|
+
}
|
|
3122
|
+
}
|
|
3123
|
+
exports.FixNodePoolVulsRequest = FixNodePoolVulsRequest;
|
|
3124
|
+
class FixNodePoolVulsResponseBody extends $tea.Model {
|
|
3125
|
+
constructor(map) {
|
|
3126
|
+
super(map);
|
|
3127
|
+
}
|
|
3128
|
+
static names() {
|
|
3129
|
+
return {
|
|
3130
|
+
taskId: 'task_id',
|
|
3131
|
+
};
|
|
3132
|
+
}
|
|
3133
|
+
static types() {
|
|
3134
|
+
return {
|
|
3135
|
+
taskId: 'string',
|
|
3136
|
+
};
|
|
3137
|
+
}
|
|
3138
|
+
}
|
|
3139
|
+
exports.FixNodePoolVulsResponseBody = FixNodePoolVulsResponseBody;
|
|
3140
|
+
class FixNodePoolVulsResponse extends $tea.Model {
|
|
3141
|
+
constructor(map) {
|
|
3142
|
+
super(map);
|
|
3143
|
+
}
|
|
3144
|
+
static names() {
|
|
3145
|
+
return {
|
|
3146
|
+
headers: 'headers',
|
|
3147
|
+
statusCode: 'statusCode',
|
|
3148
|
+
body: 'body',
|
|
3149
|
+
};
|
|
3150
|
+
}
|
|
3151
|
+
static types() {
|
|
3152
|
+
return {
|
|
3153
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3154
|
+
statusCode: 'number',
|
|
3155
|
+
body: FixNodePoolVulsResponseBody,
|
|
3156
|
+
};
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3159
|
+
exports.FixNodePoolVulsResponse = FixNodePoolVulsResponse;
|
|
2842
3160
|
class GetKubernetesTriggerRequest extends $tea.Model {
|
|
2843
3161
|
constructor(map) {
|
|
2844
3162
|
super(map);
|
|
@@ -2868,12 +3186,14 @@ class GetKubernetesTriggerResponse extends $tea.Model {
|
|
|
2868
3186
|
static names() {
|
|
2869
3187
|
return {
|
|
2870
3188
|
headers: 'headers',
|
|
3189
|
+
statusCode: 'statusCode',
|
|
2871
3190
|
body: 'body',
|
|
2872
3191
|
};
|
|
2873
3192
|
}
|
|
2874
3193
|
static types() {
|
|
2875
3194
|
return {
|
|
2876
3195
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3196
|
+
statusCode: 'number',
|
|
2877
3197
|
body: { 'type': 'array', 'itemType': GetKubernetesTriggerResponseBody },
|
|
2878
3198
|
};
|
|
2879
3199
|
}
|
|
@@ -2910,12 +3230,14 @@ class GetUpgradeStatusResponse extends $tea.Model {
|
|
|
2910
3230
|
static names() {
|
|
2911
3231
|
return {
|
|
2912
3232
|
headers: 'headers',
|
|
3233
|
+
statusCode: 'statusCode',
|
|
2913
3234
|
body: 'body',
|
|
2914
3235
|
};
|
|
2915
3236
|
}
|
|
2916
3237
|
static types() {
|
|
2917
3238
|
return {
|
|
2918
3239
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3240
|
+
statusCode: 'number',
|
|
2919
3241
|
body: GetUpgradeStatusResponseBody,
|
|
2920
3242
|
};
|
|
2921
3243
|
}
|
|
@@ -2944,11 +3266,13 @@ class GrantPermissionsResponse extends $tea.Model {
|
|
|
2944
3266
|
static names() {
|
|
2945
3267
|
return {
|
|
2946
3268
|
headers: 'headers',
|
|
3269
|
+
statusCode: 'statusCode',
|
|
2947
3270
|
};
|
|
2948
3271
|
}
|
|
2949
3272
|
static types() {
|
|
2950
3273
|
return {
|
|
2951
3274
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3275
|
+
statusCode: 'number',
|
|
2952
3276
|
};
|
|
2953
3277
|
}
|
|
2954
3278
|
}
|
|
@@ -2976,11 +3300,13 @@ class InstallClusterAddonsResponse extends $tea.Model {
|
|
|
2976
3300
|
static names() {
|
|
2977
3301
|
return {
|
|
2978
3302
|
headers: 'headers',
|
|
3303
|
+
statusCode: 'statusCode',
|
|
2979
3304
|
};
|
|
2980
3305
|
}
|
|
2981
3306
|
static types() {
|
|
2982
3307
|
return {
|
|
2983
3308
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3309
|
+
statusCode: 'number',
|
|
2984
3310
|
};
|
|
2985
3311
|
}
|
|
2986
3312
|
}
|
|
@@ -3060,17 +3386,57 @@ class ListTagResourcesResponse extends $tea.Model {
|
|
|
3060
3386
|
static names() {
|
|
3061
3387
|
return {
|
|
3062
3388
|
headers: 'headers',
|
|
3389
|
+
statusCode: 'statusCode',
|
|
3063
3390
|
body: 'body',
|
|
3064
3391
|
};
|
|
3065
3392
|
}
|
|
3066
3393
|
static types() {
|
|
3067
3394
|
return {
|
|
3068
3395
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3396
|
+
statusCode: 'number',
|
|
3069
3397
|
body: ListTagResourcesResponseBody,
|
|
3070
3398
|
};
|
|
3071
3399
|
}
|
|
3072
3400
|
}
|
|
3073
3401
|
exports.ListTagResourcesResponse = ListTagResourcesResponse;
|
|
3402
|
+
class MigrateClusterRequest extends $tea.Model {
|
|
3403
|
+
constructor(map) {
|
|
3404
|
+
super(map);
|
|
3405
|
+
}
|
|
3406
|
+
static names() {
|
|
3407
|
+
return {
|
|
3408
|
+
ossBucketEndpoint: 'oss_bucket_endpoint',
|
|
3409
|
+
ossBucketName: 'oss_bucket_name',
|
|
3410
|
+
};
|
|
3411
|
+
}
|
|
3412
|
+
static types() {
|
|
3413
|
+
return {
|
|
3414
|
+
ossBucketEndpoint: 'string',
|
|
3415
|
+
ossBucketName: 'string',
|
|
3416
|
+
};
|
|
3417
|
+
}
|
|
3418
|
+
}
|
|
3419
|
+
exports.MigrateClusterRequest = MigrateClusterRequest;
|
|
3420
|
+
class MigrateClusterResponseBody extends $tea.Model {
|
|
3421
|
+
constructor(map) {
|
|
3422
|
+
super(map);
|
|
3423
|
+
}
|
|
3424
|
+
static names() {
|
|
3425
|
+
return {
|
|
3426
|
+
clusterId: 'cluster_id',
|
|
3427
|
+
requestId: 'request_id',
|
|
3428
|
+
taskId: 'task_id',
|
|
3429
|
+
};
|
|
3430
|
+
}
|
|
3431
|
+
static types() {
|
|
3432
|
+
return {
|
|
3433
|
+
clusterId: 'string',
|
|
3434
|
+
requestId: 'string',
|
|
3435
|
+
taskId: 'string',
|
|
3436
|
+
};
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
exports.MigrateClusterResponseBody = MigrateClusterResponseBody;
|
|
3074
3440
|
class MigrateClusterResponse extends $tea.Model {
|
|
3075
3441
|
constructor(map) {
|
|
3076
3442
|
super(map);
|
|
@@ -3078,11 +3444,15 @@ class MigrateClusterResponse extends $tea.Model {
|
|
|
3078
3444
|
static names() {
|
|
3079
3445
|
return {
|
|
3080
3446
|
headers: 'headers',
|
|
3447
|
+
statusCode: 'statusCode',
|
|
3448
|
+
body: 'body',
|
|
3081
3449
|
};
|
|
3082
3450
|
}
|
|
3083
3451
|
static types() {
|
|
3084
3452
|
return {
|
|
3085
3453
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3454
|
+
statusCode: 'number',
|
|
3455
|
+
body: MigrateClusterResponseBody,
|
|
3086
3456
|
};
|
|
3087
3457
|
}
|
|
3088
3458
|
}
|
|
@@ -3146,12 +3516,14 @@ class ModifyClusterResponse extends $tea.Model {
|
|
|
3146
3516
|
static names() {
|
|
3147
3517
|
return {
|
|
3148
3518
|
headers: 'headers',
|
|
3519
|
+
statusCode: 'statusCode',
|
|
3149
3520
|
body: 'body',
|
|
3150
3521
|
};
|
|
3151
3522
|
}
|
|
3152
3523
|
static types() {
|
|
3153
3524
|
return {
|
|
3154
3525
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3526
|
+
statusCode: 'number',
|
|
3155
3527
|
body: ModifyClusterResponseBody,
|
|
3156
3528
|
};
|
|
3157
3529
|
}
|
|
@@ -3180,11 +3552,13 @@ class ModifyClusterAddonResponse extends $tea.Model {
|
|
|
3180
3552
|
static names() {
|
|
3181
3553
|
return {
|
|
3182
3554
|
headers: 'headers',
|
|
3555
|
+
statusCode: 'statusCode',
|
|
3183
3556
|
};
|
|
3184
3557
|
}
|
|
3185
3558
|
static types() {
|
|
3186
3559
|
return {
|
|
3187
3560
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3561
|
+
statusCode: 'number',
|
|
3188
3562
|
};
|
|
3189
3563
|
}
|
|
3190
3564
|
}
|
|
@@ -3212,11 +3586,13 @@ class ModifyClusterConfigurationResponse extends $tea.Model {
|
|
|
3212
3586
|
static names() {
|
|
3213
3587
|
return {
|
|
3214
3588
|
headers: 'headers',
|
|
3589
|
+
statusCode: 'statusCode',
|
|
3215
3590
|
};
|
|
3216
3591
|
}
|
|
3217
3592
|
static types() {
|
|
3218
3593
|
return {
|
|
3219
3594
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3595
|
+
statusCode: 'number',
|
|
3220
3596
|
};
|
|
3221
3597
|
}
|
|
3222
3598
|
}
|
|
@@ -3230,6 +3606,7 @@ class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
3230
3606
|
autoScaling: 'auto_scaling',
|
|
3231
3607
|
kubernetesConfig: 'kubernetes_config',
|
|
3232
3608
|
management: 'management',
|
|
3609
|
+
nodeConfig: 'node_config',
|
|
3233
3610
|
nodepoolInfo: 'nodepool_info',
|
|
3234
3611
|
scalingGroup: 'scaling_group',
|
|
3235
3612
|
teeConfig: 'tee_config',
|
|
@@ -3241,6 +3618,7 @@ class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
3241
3618
|
autoScaling: ModifyClusterNodePoolRequestAutoScaling,
|
|
3242
3619
|
kubernetesConfig: ModifyClusterNodePoolRequestKubernetesConfig,
|
|
3243
3620
|
management: ModifyClusterNodePoolRequestManagement,
|
|
3621
|
+
nodeConfig: ModifyClusterNodePoolRequestNodeConfig,
|
|
3244
3622
|
nodepoolInfo: ModifyClusterNodePoolRequestNodepoolInfo,
|
|
3245
3623
|
scalingGroup: ModifyClusterNodePoolRequestScalingGroup,
|
|
3246
3624
|
teeConfig: ModifyClusterNodePoolRequestTeeConfig,
|
|
@@ -3274,12 +3652,14 @@ class ModifyClusterNodePoolResponse extends $tea.Model {
|
|
|
3274
3652
|
static names() {
|
|
3275
3653
|
return {
|
|
3276
3654
|
headers: 'headers',
|
|
3655
|
+
statusCode: 'statusCode',
|
|
3277
3656
|
body: 'body',
|
|
3278
3657
|
};
|
|
3279
3658
|
}
|
|
3280
3659
|
static types() {
|
|
3281
3660
|
return {
|
|
3282
3661
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3662
|
+
statusCode: 'number',
|
|
3283
3663
|
body: ModifyClusterNodePoolResponseBody,
|
|
3284
3664
|
};
|
|
3285
3665
|
}
|
|
@@ -3308,11 +3688,13 @@ class ModifyClusterTagsResponse extends $tea.Model {
|
|
|
3308
3688
|
static names() {
|
|
3309
3689
|
return {
|
|
3310
3690
|
headers: 'headers',
|
|
3691
|
+
statusCode: 'statusCode',
|
|
3311
3692
|
};
|
|
3312
3693
|
}
|
|
3313
3694
|
static types() {
|
|
3314
3695
|
return {
|
|
3315
3696
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3697
|
+
statusCode: 'number',
|
|
3316
3698
|
};
|
|
3317
3699
|
}
|
|
3318
3700
|
}
|
|
@@ -3362,12 +3744,14 @@ class ModifyPolicyInstanceResponse extends $tea.Model {
|
|
|
3362
3744
|
static names() {
|
|
3363
3745
|
return {
|
|
3364
3746
|
headers: 'headers',
|
|
3747
|
+
statusCode: 'statusCode',
|
|
3365
3748
|
body: 'body',
|
|
3366
3749
|
};
|
|
3367
3750
|
}
|
|
3368
3751
|
static types() {
|
|
3369
3752
|
return {
|
|
3370
3753
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3754
|
+
statusCode: 'number',
|
|
3371
3755
|
body: ModifyPolicyInstanceResponseBody,
|
|
3372
3756
|
};
|
|
3373
3757
|
}
|
|
@@ -3414,12 +3798,14 @@ class OpenAckServiceResponse extends $tea.Model {
|
|
|
3414
3798
|
static names() {
|
|
3415
3799
|
return {
|
|
3416
3800
|
headers: 'headers',
|
|
3801
|
+
statusCode: 'statusCode',
|
|
3417
3802
|
body: 'body',
|
|
3418
3803
|
};
|
|
3419
3804
|
}
|
|
3420
3805
|
static types() {
|
|
3421
3806
|
return {
|
|
3422
3807
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3808
|
+
statusCode: 'number',
|
|
3423
3809
|
body: OpenAckServiceResponseBody,
|
|
3424
3810
|
};
|
|
3425
3811
|
}
|
|
@@ -3432,11 +3818,13 @@ class PauseClusterUpgradeResponse extends $tea.Model {
|
|
|
3432
3818
|
static names() {
|
|
3433
3819
|
return {
|
|
3434
3820
|
headers: 'headers',
|
|
3821
|
+
statusCode: 'statusCode',
|
|
3435
3822
|
};
|
|
3436
3823
|
}
|
|
3437
3824
|
static types() {
|
|
3438
3825
|
return {
|
|
3439
3826
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3827
|
+
statusCode: 'number',
|
|
3440
3828
|
};
|
|
3441
3829
|
}
|
|
3442
3830
|
}
|
|
@@ -3448,15 +3836,35 @@ class PauseComponentUpgradeResponse extends $tea.Model {
|
|
|
3448
3836
|
static names() {
|
|
3449
3837
|
return {
|
|
3450
3838
|
headers: 'headers',
|
|
3839
|
+
statusCode: 'statusCode',
|
|
3451
3840
|
};
|
|
3452
3841
|
}
|
|
3453
3842
|
static types() {
|
|
3454
3843
|
return {
|
|
3455
3844
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3845
|
+
statusCode: 'number',
|
|
3456
3846
|
};
|
|
3457
3847
|
}
|
|
3458
3848
|
}
|
|
3459
3849
|
exports.PauseComponentUpgradeResponse = PauseComponentUpgradeResponse;
|
|
3850
|
+
class PauseTaskResponse extends $tea.Model {
|
|
3851
|
+
constructor(map) {
|
|
3852
|
+
super(map);
|
|
3853
|
+
}
|
|
3854
|
+
static names() {
|
|
3855
|
+
return {
|
|
3856
|
+
headers: 'headers',
|
|
3857
|
+
statusCode: 'statusCode',
|
|
3858
|
+
};
|
|
3859
|
+
}
|
|
3860
|
+
static types() {
|
|
3861
|
+
return {
|
|
3862
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3863
|
+
statusCode: 'number',
|
|
3864
|
+
};
|
|
3865
|
+
}
|
|
3866
|
+
}
|
|
3867
|
+
exports.PauseTaskResponse = PauseTaskResponse;
|
|
3460
3868
|
class RemoveClusterNodesRequest extends $tea.Model {
|
|
3461
3869
|
constructor(map) {
|
|
3462
3870
|
super(map);
|
|
@@ -3484,11 +3892,13 @@ class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
3484
3892
|
static names() {
|
|
3485
3893
|
return {
|
|
3486
3894
|
headers: 'headers',
|
|
3895
|
+
statusCode: 'statusCode',
|
|
3487
3896
|
};
|
|
3488
3897
|
}
|
|
3489
3898
|
static types() {
|
|
3490
3899
|
return {
|
|
3491
3900
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3901
|
+
statusCode: 'number',
|
|
3492
3902
|
};
|
|
3493
3903
|
}
|
|
3494
3904
|
}
|
|
@@ -3500,11 +3910,13 @@ class RemoveWorkflowResponse extends $tea.Model {
|
|
|
3500
3910
|
static names() {
|
|
3501
3911
|
return {
|
|
3502
3912
|
headers: 'headers',
|
|
3913
|
+
statusCode: 'statusCode',
|
|
3503
3914
|
};
|
|
3504
3915
|
}
|
|
3505
3916
|
static types() {
|
|
3506
3917
|
return {
|
|
3507
3918
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3919
|
+
statusCode: 'number',
|
|
3508
3920
|
};
|
|
3509
3921
|
}
|
|
3510
3922
|
}
|
|
@@ -3550,12 +3962,14 @@ class RepairClusterNodePoolResponse extends $tea.Model {
|
|
|
3550
3962
|
static names() {
|
|
3551
3963
|
return {
|
|
3552
3964
|
headers: 'headers',
|
|
3965
|
+
statusCode: 'statusCode',
|
|
3553
3966
|
body: 'body',
|
|
3554
3967
|
};
|
|
3555
3968
|
}
|
|
3556
3969
|
static types() {
|
|
3557
3970
|
return {
|
|
3558
3971
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3972
|
+
statusCode: 'number',
|
|
3559
3973
|
body: RepairClusterNodePoolResponseBody,
|
|
3560
3974
|
};
|
|
3561
3975
|
}
|
|
@@ -3568,15 +3982,35 @@ class ResumeComponentUpgradeResponse extends $tea.Model {
|
|
|
3568
3982
|
static names() {
|
|
3569
3983
|
return {
|
|
3570
3984
|
headers: 'headers',
|
|
3985
|
+
statusCode: 'statusCode',
|
|
3571
3986
|
};
|
|
3572
3987
|
}
|
|
3573
3988
|
static types() {
|
|
3574
3989
|
return {
|
|
3575
3990
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3991
|
+
statusCode: 'number',
|
|
3576
3992
|
};
|
|
3577
3993
|
}
|
|
3578
3994
|
}
|
|
3579
3995
|
exports.ResumeComponentUpgradeResponse = ResumeComponentUpgradeResponse;
|
|
3996
|
+
class ResumeTaskResponse extends $tea.Model {
|
|
3997
|
+
constructor(map) {
|
|
3998
|
+
super(map);
|
|
3999
|
+
}
|
|
4000
|
+
static names() {
|
|
4001
|
+
return {
|
|
4002
|
+
headers: 'headers',
|
|
4003
|
+
statusCode: 'statusCode',
|
|
4004
|
+
};
|
|
4005
|
+
}
|
|
4006
|
+
static types() {
|
|
4007
|
+
return {
|
|
4008
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4009
|
+
statusCode: 'number',
|
|
4010
|
+
};
|
|
4011
|
+
}
|
|
4012
|
+
}
|
|
4013
|
+
exports.ResumeTaskResponse = ResumeTaskResponse;
|
|
3580
4014
|
class ResumeUpgradeClusterResponse extends $tea.Model {
|
|
3581
4015
|
constructor(map) {
|
|
3582
4016
|
super(map);
|
|
@@ -3584,11 +4018,13 @@ class ResumeUpgradeClusterResponse extends $tea.Model {
|
|
|
3584
4018
|
static names() {
|
|
3585
4019
|
return {
|
|
3586
4020
|
headers: 'headers',
|
|
4021
|
+
statusCode: 'statusCode',
|
|
3587
4022
|
};
|
|
3588
4023
|
}
|
|
3589
4024
|
static types() {
|
|
3590
4025
|
return {
|
|
3591
4026
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4027
|
+
statusCode: 'number',
|
|
3592
4028
|
};
|
|
3593
4029
|
}
|
|
3594
4030
|
}
|
|
@@ -3672,12 +4108,14 @@ class ScaleClusterResponse extends $tea.Model {
|
|
|
3672
4108
|
static names() {
|
|
3673
4109
|
return {
|
|
3674
4110
|
headers: 'headers',
|
|
4111
|
+
statusCode: 'statusCode',
|
|
3675
4112
|
body: 'body',
|
|
3676
4113
|
};
|
|
3677
4114
|
}
|
|
3678
4115
|
static types() {
|
|
3679
4116
|
return {
|
|
3680
4117
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4118
|
+
statusCode: 'number',
|
|
3681
4119
|
body: ScaleClusterResponseBody,
|
|
3682
4120
|
};
|
|
3683
4121
|
}
|
|
@@ -3722,12 +4160,14 @@ class ScaleClusterNodePoolResponse extends $tea.Model {
|
|
|
3722
4160
|
static names() {
|
|
3723
4161
|
return {
|
|
3724
4162
|
headers: 'headers',
|
|
4163
|
+
statusCode: 'statusCode',
|
|
3725
4164
|
body: 'body',
|
|
3726
4165
|
};
|
|
3727
4166
|
}
|
|
3728
4167
|
static types() {
|
|
3729
4168
|
return {
|
|
3730
4169
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4170
|
+
statusCode: 'number',
|
|
3731
4171
|
body: ScaleClusterNodePoolResponseBody,
|
|
3732
4172
|
};
|
|
3733
4173
|
}
|
|
@@ -3816,12 +4256,14 @@ class ScaleOutClusterResponse extends $tea.Model {
|
|
|
3816
4256
|
static names() {
|
|
3817
4257
|
return {
|
|
3818
4258
|
headers: 'headers',
|
|
4259
|
+
statusCode: 'statusCode',
|
|
3819
4260
|
body: 'body',
|
|
3820
4261
|
};
|
|
3821
4262
|
}
|
|
3822
4263
|
static types() {
|
|
3823
4264
|
return {
|
|
3824
4265
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4266
|
+
statusCode: 'number',
|
|
3825
4267
|
body: ScaleOutClusterResponseBody,
|
|
3826
4268
|
};
|
|
3827
4269
|
}
|
|
@@ -3902,12 +4344,14 @@ class StartWorkflowResponse extends $tea.Model {
|
|
|
3902
4344
|
static names() {
|
|
3903
4345
|
return {
|
|
3904
4346
|
headers: 'headers',
|
|
4347
|
+
statusCode: 'statusCode',
|
|
3905
4348
|
body: 'body',
|
|
3906
4349
|
};
|
|
3907
4350
|
}
|
|
3908
4351
|
static types() {
|
|
3909
4352
|
return {
|
|
3910
4353
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4354
|
+
statusCode: 'number',
|
|
3911
4355
|
body: StartWorkflowResponseBody,
|
|
3912
4356
|
};
|
|
3913
4357
|
}
|
|
@@ -3958,12 +4402,14 @@ class TagResourcesResponse extends $tea.Model {
|
|
|
3958
4402
|
static names() {
|
|
3959
4403
|
return {
|
|
3960
4404
|
headers: 'headers',
|
|
4405
|
+
statusCode: 'statusCode',
|
|
3961
4406
|
body: 'body',
|
|
3962
4407
|
};
|
|
3963
4408
|
}
|
|
3964
4409
|
static types() {
|
|
3965
4410
|
return {
|
|
3966
4411
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4412
|
+
statusCode: 'number',
|
|
3967
4413
|
body: TagResourcesResponseBody,
|
|
3968
4414
|
};
|
|
3969
4415
|
}
|
|
@@ -3992,11 +4438,13 @@ class UnInstallClusterAddonsResponse extends $tea.Model {
|
|
|
3992
4438
|
static names() {
|
|
3993
4439
|
return {
|
|
3994
4440
|
headers: 'headers',
|
|
4441
|
+
statusCode: 'statusCode',
|
|
3995
4442
|
};
|
|
3996
4443
|
}
|
|
3997
4444
|
static types() {
|
|
3998
4445
|
return {
|
|
3999
4446
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4447
|
+
statusCode: 'number',
|
|
4000
4448
|
};
|
|
4001
4449
|
}
|
|
4002
4450
|
}
|
|
@@ -4048,12 +4496,14 @@ class UntagResourcesResponse extends $tea.Model {
|
|
|
4048
4496
|
static names() {
|
|
4049
4497
|
return {
|
|
4050
4498
|
headers: 'headers',
|
|
4499
|
+
statusCode: 'statusCode',
|
|
4051
4500
|
body: 'body',
|
|
4052
4501
|
};
|
|
4053
4502
|
}
|
|
4054
4503
|
static types() {
|
|
4055
4504
|
return {
|
|
4056
4505
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4506
|
+
statusCode: 'number',
|
|
4057
4507
|
body: UntagResourcesResponseBody,
|
|
4058
4508
|
};
|
|
4059
4509
|
}
|
|
@@ -4066,11 +4516,13 @@ class UpdateContactGroupForAlertResponse extends $tea.Model {
|
|
|
4066
4516
|
static names() {
|
|
4067
4517
|
return {
|
|
4068
4518
|
headers: 'headers',
|
|
4519
|
+
statusCode: 'statusCode',
|
|
4069
4520
|
};
|
|
4070
4521
|
}
|
|
4071
4522
|
static types() {
|
|
4072
4523
|
return {
|
|
4073
4524
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4525
|
+
statusCode: 'number',
|
|
4074
4526
|
};
|
|
4075
4527
|
}
|
|
4076
4528
|
}
|
|
@@ -4100,11 +4552,13 @@ class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
|
|
|
4100
4552
|
static names() {
|
|
4101
4553
|
return {
|
|
4102
4554
|
headers: 'headers',
|
|
4555
|
+
statusCode: 'statusCode',
|
|
4103
4556
|
};
|
|
4104
4557
|
}
|
|
4105
4558
|
static types() {
|
|
4106
4559
|
return {
|
|
4107
4560
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4561
|
+
statusCode: 'number',
|
|
4108
4562
|
};
|
|
4109
4563
|
}
|
|
4110
4564
|
}
|
|
@@ -4140,11 +4594,13 @@ class UpdateTemplateResponse extends $tea.Model {
|
|
|
4140
4594
|
static names() {
|
|
4141
4595
|
return {
|
|
4142
4596
|
headers: 'headers',
|
|
4597
|
+
statusCode: 'statusCode',
|
|
4143
4598
|
};
|
|
4144
4599
|
}
|
|
4145
4600
|
static types() {
|
|
4146
4601
|
return {
|
|
4147
4602
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4603
|
+
statusCode: 'number',
|
|
4148
4604
|
};
|
|
4149
4605
|
}
|
|
4150
4606
|
}
|
|
@@ -4176,11 +4632,13 @@ class UpgradeClusterResponse extends $tea.Model {
|
|
|
4176
4632
|
static names() {
|
|
4177
4633
|
return {
|
|
4178
4634
|
headers: 'headers',
|
|
4635
|
+
statusCode: 'statusCode',
|
|
4179
4636
|
};
|
|
4180
4637
|
}
|
|
4181
4638
|
static types() {
|
|
4182
4639
|
return {
|
|
4183
4640
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4641
|
+
statusCode: 'number',
|
|
4184
4642
|
};
|
|
4185
4643
|
}
|
|
4186
4644
|
}
|
|
@@ -4208,11 +4666,13 @@ class UpgradeClusterAddonsResponse extends $tea.Model {
|
|
|
4208
4666
|
static names() {
|
|
4209
4667
|
return {
|
|
4210
4668
|
headers: 'headers',
|
|
4669
|
+
statusCode: 'statusCode',
|
|
4211
4670
|
};
|
|
4212
4671
|
}
|
|
4213
4672
|
static types() {
|
|
4214
4673
|
return {
|
|
4215
4674
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4675
|
+
statusCode: 'number',
|
|
4216
4676
|
};
|
|
4217
4677
|
}
|
|
4218
4678
|
}
|
|
@@ -4593,58 +5053,126 @@ class DescribeAddonsResponseBodyComponentGroups extends $tea.Model {
|
|
|
4593
5053
|
}
|
|
4594
5054
|
}
|
|
4595
5055
|
exports.DescribeAddonsResponseBodyComponentGroups = DescribeAddonsResponseBodyComponentGroups;
|
|
4596
|
-
class
|
|
5056
|
+
class DescribeClusterEventsResponseBodyEventsData extends $tea.Model {
|
|
4597
5057
|
constructor(map) {
|
|
4598
5058
|
super(map);
|
|
4599
5059
|
}
|
|
4600
5060
|
static names() {
|
|
4601
5061
|
return {
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
created: 'created',
|
|
4606
|
-
updated: 'updated',
|
|
5062
|
+
level: 'level',
|
|
5063
|
+
message: 'message',
|
|
5064
|
+
reason: 'reason',
|
|
4607
5065
|
};
|
|
4608
5066
|
}
|
|
4609
5067
|
static types() {
|
|
4610
5068
|
return {
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
created: 'string',
|
|
4615
|
-
updated: 'string',
|
|
5069
|
+
level: 'string',
|
|
5070
|
+
message: 'string',
|
|
5071
|
+
reason: 'string',
|
|
4616
5072
|
};
|
|
4617
5073
|
}
|
|
4618
5074
|
}
|
|
4619
|
-
exports.
|
|
4620
|
-
class
|
|
5075
|
+
exports.DescribeClusterEventsResponseBodyEventsData = DescribeClusterEventsResponseBodyEventsData;
|
|
5076
|
+
class DescribeClusterEventsResponseBodyEvents extends $tea.Model {
|
|
4621
5077
|
constructor(map) {
|
|
4622
5078
|
super(map);
|
|
4623
5079
|
}
|
|
4624
5080
|
static names() {
|
|
4625
5081
|
return {
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
5082
|
+
clusterId: 'cluster_id',
|
|
5083
|
+
data: 'data',
|
|
5084
|
+
eventId: 'event_id',
|
|
5085
|
+
source: 'source',
|
|
5086
|
+
subject: 'subject',
|
|
5087
|
+
time: 'time',
|
|
4632
5088
|
type: 'type',
|
|
4633
5089
|
};
|
|
4634
5090
|
}
|
|
4635
5091
|
static types() {
|
|
4636
5092
|
return {
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
5093
|
+
clusterId: 'string',
|
|
5094
|
+
data: DescribeClusterEventsResponseBodyEventsData,
|
|
5095
|
+
eventId: 'string',
|
|
5096
|
+
source: 'string',
|
|
5097
|
+
subject: 'string',
|
|
5098
|
+
time: 'string',
|
|
4643
5099
|
type: 'string',
|
|
4644
5100
|
};
|
|
4645
5101
|
}
|
|
4646
5102
|
}
|
|
4647
|
-
exports.
|
|
5103
|
+
exports.DescribeClusterEventsResponseBodyEvents = DescribeClusterEventsResponseBodyEvents;
|
|
5104
|
+
class DescribeClusterEventsResponseBodyPageInfo extends $tea.Model {
|
|
5105
|
+
constructor(map) {
|
|
5106
|
+
super(map);
|
|
5107
|
+
}
|
|
5108
|
+
static names() {
|
|
5109
|
+
return {
|
|
5110
|
+
pageNumber: 'page_number',
|
|
5111
|
+
pageSize: 'page_size',
|
|
5112
|
+
totalCount: 'total_count',
|
|
5113
|
+
};
|
|
5114
|
+
}
|
|
5115
|
+
static types() {
|
|
5116
|
+
return {
|
|
5117
|
+
pageNumber: 'number',
|
|
5118
|
+
pageSize: 'number',
|
|
5119
|
+
totalCount: 'number',
|
|
5120
|
+
};
|
|
5121
|
+
}
|
|
5122
|
+
}
|
|
5123
|
+
exports.DescribeClusterEventsResponseBodyPageInfo = DescribeClusterEventsResponseBodyPageInfo;
|
|
5124
|
+
class DescribeClusterLogsResponseBody extends $tea.Model {
|
|
5125
|
+
constructor(map) {
|
|
5126
|
+
super(map);
|
|
5127
|
+
}
|
|
5128
|
+
static names() {
|
|
5129
|
+
return {
|
|
5130
|
+
ID: 'ID',
|
|
5131
|
+
clusterId: 'cluster_id',
|
|
5132
|
+
clusterLog: 'cluster_log',
|
|
5133
|
+
created: 'created',
|
|
5134
|
+
updated: 'updated',
|
|
5135
|
+
};
|
|
5136
|
+
}
|
|
5137
|
+
static types() {
|
|
5138
|
+
return {
|
|
5139
|
+
ID: 'number',
|
|
5140
|
+
clusterId: 'string',
|
|
5141
|
+
clusterLog: 'string',
|
|
5142
|
+
created: 'string',
|
|
5143
|
+
updated: 'string',
|
|
5144
|
+
};
|
|
5145
|
+
}
|
|
5146
|
+
}
|
|
5147
|
+
exports.DescribeClusterLogsResponseBody = DescribeClusterLogsResponseBody;
|
|
5148
|
+
class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $tea.Model {
|
|
5149
|
+
constructor(map) {
|
|
5150
|
+
super(map);
|
|
5151
|
+
}
|
|
5152
|
+
static names() {
|
|
5153
|
+
return {
|
|
5154
|
+
eipBandwidth: 'eip_bandwidth',
|
|
5155
|
+
eipInternetChargeType: 'eip_internet_charge_type',
|
|
5156
|
+
enable: 'enable',
|
|
5157
|
+
isBondEip: 'is_bond_eip',
|
|
5158
|
+
maxInstances: 'max_instances',
|
|
5159
|
+
minInstances: 'min_instances',
|
|
5160
|
+
type: 'type',
|
|
5161
|
+
};
|
|
5162
|
+
}
|
|
5163
|
+
static types() {
|
|
5164
|
+
return {
|
|
5165
|
+
eipBandwidth: 'number',
|
|
5166
|
+
eipInternetChargeType: 'string',
|
|
5167
|
+
enable: 'boolean',
|
|
5168
|
+
isBondEip: 'boolean',
|
|
5169
|
+
maxInstances: 'number',
|
|
5170
|
+
minInstances: 'number',
|
|
5171
|
+
type: 'string',
|
|
5172
|
+
};
|
|
5173
|
+
}
|
|
5174
|
+
}
|
|
5175
|
+
exports.DescribeClusterNodePoolDetailResponseBodyAutoScaling = DescribeClusterNodePoolDetailResponseBodyAutoScaling;
|
|
4648
5176
|
class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends $tea.Model {
|
|
4649
5177
|
constructor(map) {
|
|
4650
5178
|
super(map);
|
|
@@ -5337,6 +5865,7 @@ class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
5337
5865
|
resourceInfo: 'resource_info',
|
|
5338
5866
|
resourceType: 'resource_type',
|
|
5339
5867
|
state: 'state',
|
|
5868
|
+
autoCreate: 'auto_create',
|
|
5340
5869
|
};
|
|
5341
5870
|
}
|
|
5342
5871
|
static types() {
|
|
@@ -5347,10 +5876,75 @@ class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
5347
5876
|
resourceInfo: 'string',
|
|
5348
5877
|
resourceType: 'string',
|
|
5349
5878
|
state: 'string',
|
|
5879
|
+
autoCreate: 'number',
|
|
5350
5880
|
};
|
|
5351
5881
|
}
|
|
5352
5882
|
}
|
|
5353
5883
|
exports.DescribeClusterResourcesResponseBody = DescribeClusterResourcesResponseBody;
|
|
5884
|
+
class DescribeClusterTasksResponseBodyPageInfo extends $tea.Model {
|
|
5885
|
+
constructor(map) {
|
|
5886
|
+
super(map);
|
|
5887
|
+
}
|
|
5888
|
+
static names() {
|
|
5889
|
+
return {
|
|
5890
|
+
pageNumber: 'page_number',
|
|
5891
|
+
pageSize: 'page_size',
|
|
5892
|
+
totalCount: 'total_count',
|
|
5893
|
+
};
|
|
5894
|
+
}
|
|
5895
|
+
static types() {
|
|
5896
|
+
return {
|
|
5897
|
+
pageNumber: 'number',
|
|
5898
|
+
pageSize: 'number',
|
|
5899
|
+
totalCount: 'number',
|
|
5900
|
+
};
|
|
5901
|
+
}
|
|
5902
|
+
}
|
|
5903
|
+
exports.DescribeClusterTasksResponseBodyPageInfo = DescribeClusterTasksResponseBodyPageInfo;
|
|
5904
|
+
class DescribeClusterTasksResponseBodyTasksError extends $tea.Model {
|
|
5905
|
+
constructor(map) {
|
|
5906
|
+
super(map);
|
|
5907
|
+
}
|
|
5908
|
+
static names() {
|
|
5909
|
+
return {
|
|
5910
|
+
code: 'code',
|
|
5911
|
+
message: 'message',
|
|
5912
|
+
};
|
|
5913
|
+
}
|
|
5914
|
+
static types() {
|
|
5915
|
+
return {
|
|
5916
|
+
code: 'string',
|
|
5917
|
+
message: 'string',
|
|
5918
|
+
};
|
|
5919
|
+
}
|
|
5920
|
+
}
|
|
5921
|
+
exports.DescribeClusterTasksResponseBodyTasksError = DescribeClusterTasksResponseBodyTasksError;
|
|
5922
|
+
class DescribeClusterTasksResponseBodyTasks extends $tea.Model {
|
|
5923
|
+
constructor(map) {
|
|
5924
|
+
super(map);
|
|
5925
|
+
}
|
|
5926
|
+
static names() {
|
|
5927
|
+
return {
|
|
5928
|
+
created: 'created',
|
|
5929
|
+
error: 'error',
|
|
5930
|
+
state: 'state',
|
|
5931
|
+
taskId: 'task_id',
|
|
5932
|
+
taskType: 'task_type',
|
|
5933
|
+
updated: 'updated',
|
|
5934
|
+
};
|
|
5935
|
+
}
|
|
5936
|
+
static types() {
|
|
5937
|
+
return {
|
|
5938
|
+
created: 'string',
|
|
5939
|
+
error: DescribeClusterTasksResponseBodyTasksError,
|
|
5940
|
+
state: 'string',
|
|
5941
|
+
taskId: 'string',
|
|
5942
|
+
taskType: 'string',
|
|
5943
|
+
updated: 'string',
|
|
5944
|
+
};
|
|
5945
|
+
}
|
|
5946
|
+
}
|
|
5947
|
+
exports.DescribeClusterTasksResponseBodyTasks = DescribeClusterTasksResponseBodyTasks;
|
|
5354
5948
|
class DescribeClustersResponseBodyTags extends $tea.Model {
|
|
5355
5949
|
constructor(map) {
|
|
5356
5950
|
super(map);
|
|
@@ -5739,6 +6333,46 @@ class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
|
|
|
5739
6333
|
}
|
|
5740
6334
|
}
|
|
5741
6335
|
exports.DescribeKubernetesVersionMetadataResponseBody = DescribeKubernetesVersionMetadataResponseBody;
|
|
6336
|
+
class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Model {
|
|
6337
|
+
constructor(map) {
|
|
6338
|
+
super(map);
|
|
6339
|
+
}
|
|
6340
|
+
static names() {
|
|
6341
|
+
return {
|
|
6342
|
+
aliasName: 'alias_name',
|
|
6343
|
+
cveList: 'cve_list',
|
|
6344
|
+
name: 'name',
|
|
6345
|
+
necessity: 'necessity',
|
|
6346
|
+
};
|
|
6347
|
+
}
|
|
6348
|
+
static types() {
|
|
6349
|
+
return {
|
|
6350
|
+
aliasName: 'string',
|
|
6351
|
+
cveList: { 'type': 'array', 'itemType': 'string' },
|
|
6352
|
+
name: 'string',
|
|
6353
|
+
necessity: 'string',
|
|
6354
|
+
};
|
|
6355
|
+
}
|
|
6356
|
+
}
|
|
6357
|
+
exports.DescribeNodePoolVulsResponseBodyVulRecordsVulList = DescribeNodePoolVulsResponseBodyVulRecordsVulList;
|
|
6358
|
+
class DescribeNodePoolVulsResponseBodyVulRecords extends $tea.Model {
|
|
6359
|
+
constructor(map) {
|
|
6360
|
+
super(map);
|
|
6361
|
+
}
|
|
6362
|
+
static names() {
|
|
6363
|
+
return {
|
|
6364
|
+
instanceId: 'instance_id',
|
|
6365
|
+
vulList: 'vul_list',
|
|
6366
|
+
};
|
|
6367
|
+
}
|
|
6368
|
+
static types() {
|
|
6369
|
+
return {
|
|
6370
|
+
instanceId: 'string',
|
|
6371
|
+
vulList: { 'type': 'array', 'itemType': DescribeNodePoolVulsResponseBodyVulRecordsVulList },
|
|
6372
|
+
};
|
|
6373
|
+
}
|
|
6374
|
+
}
|
|
6375
|
+
exports.DescribeNodePoolVulsResponseBodyVulRecords = DescribeNodePoolVulsResponseBodyVulRecords;
|
|
5742
6376
|
class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog extends $tea.Model {
|
|
5743
6377
|
constructor(map) {
|
|
5744
6378
|
super(map);
|
|
@@ -6159,6 +6793,22 @@ class DescribeWorkflowsResponseBodyJobs extends $tea.Model {
|
|
|
6159
6793
|
}
|
|
6160
6794
|
}
|
|
6161
6795
|
exports.DescribeWorkflowsResponseBodyJobs = DescribeWorkflowsResponseBodyJobs;
|
|
6796
|
+
class FixNodePoolVulsRequestRolloutPolicy extends $tea.Model {
|
|
6797
|
+
constructor(map) {
|
|
6798
|
+
super(map);
|
|
6799
|
+
}
|
|
6800
|
+
static names() {
|
|
6801
|
+
return {
|
|
6802
|
+
maxParallelism: 'max_parallelism',
|
|
6803
|
+
};
|
|
6804
|
+
}
|
|
6805
|
+
static types() {
|
|
6806
|
+
return {
|
|
6807
|
+
maxParallelism: 'number',
|
|
6808
|
+
};
|
|
6809
|
+
}
|
|
6810
|
+
}
|
|
6811
|
+
exports.FixNodePoolVulsRequestRolloutPolicy = FixNodePoolVulsRequestRolloutPolicy;
|
|
6162
6812
|
class GetKubernetesTriggerResponseBody extends $tea.Model {
|
|
6163
6813
|
constructor(map) {
|
|
6164
6814
|
super(map);
|
|
@@ -6423,6 +7073,80 @@ class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
6423
7073
|
}
|
|
6424
7074
|
}
|
|
6425
7075
|
exports.ModifyClusterNodePoolRequestManagement = ModifyClusterNodePoolRequestManagement;
|
|
7076
|
+
class ModifyClusterNodePoolRequestNodeConfigKubeletConfiguration extends $tea.Model {
|
|
7077
|
+
constructor(map) {
|
|
7078
|
+
super(map);
|
|
7079
|
+
}
|
|
7080
|
+
static names() {
|
|
7081
|
+
return {
|
|
7082
|
+
cpuManagerPolicy: 'cpuManagerPolicy',
|
|
7083
|
+
eventBurst: 'eventBurst',
|
|
7084
|
+
eventRecordQPS: 'eventRecordQPS',
|
|
7085
|
+
evictionHard: 'evictionHard',
|
|
7086
|
+
evictionSoft: 'evictionSoft',
|
|
7087
|
+
evictionSoftGracePeriod: 'evictionSoftGracePeriod',
|
|
7088
|
+
kubeAPIBurst: 'kubeAPIBurst',
|
|
7089
|
+
kubeAPIQPS: 'kubeAPIQPS',
|
|
7090
|
+
kubeReserved: 'kubeReserved',
|
|
7091
|
+
registryBurst: 'registryBurst',
|
|
7092
|
+
registryPullQPS: 'registryPullQPS',
|
|
7093
|
+
serializeImagePulls: 'serializeImagePulls',
|
|
7094
|
+
systemReserved: 'systemReserved',
|
|
7095
|
+
};
|
|
7096
|
+
}
|
|
7097
|
+
static types() {
|
|
7098
|
+
return {
|
|
7099
|
+
cpuManagerPolicy: 'string',
|
|
7100
|
+
eventBurst: 'number',
|
|
7101
|
+
eventRecordQPS: 'number',
|
|
7102
|
+
evictionHard: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7103
|
+
evictionSoft: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7104
|
+
evictionSoftGracePeriod: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7105
|
+
kubeAPIBurst: 'number',
|
|
7106
|
+
kubeAPIQPS: 'number',
|
|
7107
|
+
kubeReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7108
|
+
registryBurst: 'number',
|
|
7109
|
+
registryPullQPS: 'number',
|
|
7110
|
+
serializeImagePulls: 'boolean',
|
|
7111
|
+
systemReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7112
|
+
};
|
|
7113
|
+
}
|
|
7114
|
+
}
|
|
7115
|
+
exports.ModifyClusterNodePoolRequestNodeConfigKubeletConfiguration = ModifyClusterNodePoolRequestNodeConfigKubeletConfiguration;
|
|
7116
|
+
class ModifyClusterNodePoolRequestNodeConfigRolloutPolicy extends $tea.Model {
|
|
7117
|
+
constructor(map) {
|
|
7118
|
+
super(map);
|
|
7119
|
+
}
|
|
7120
|
+
static names() {
|
|
7121
|
+
return {
|
|
7122
|
+
maxUnavailable: 'max_unavailable',
|
|
7123
|
+
};
|
|
7124
|
+
}
|
|
7125
|
+
static types() {
|
|
7126
|
+
return {
|
|
7127
|
+
maxUnavailable: 'number',
|
|
7128
|
+
};
|
|
7129
|
+
}
|
|
7130
|
+
}
|
|
7131
|
+
exports.ModifyClusterNodePoolRequestNodeConfigRolloutPolicy = ModifyClusterNodePoolRequestNodeConfigRolloutPolicy;
|
|
7132
|
+
class ModifyClusterNodePoolRequestNodeConfig extends $tea.Model {
|
|
7133
|
+
constructor(map) {
|
|
7134
|
+
super(map);
|
|
7135
|
+
}
|
|
7136
|
+
static names() {
|
|
7137
|
+
return {
|
|
7138
|
+
kubeletConfiguration: 'kubelet_configuration',
|
|
7139
|
+
rolloutPolicy: 'rollout_policy',
|
|
7140
|
+
};
|
|
7141
|
+
}
|
|
7142
|
+
static types() {
|
|
7143
|
+
return {
|
|
7144
|
+
kubeletConfiguration: ModifyClusterNodePoolRequestNodeConfigKubeletConfiguration,
|
|
7145
|
+
rolloutPolicy: ModifyClusterNodePoolRequestNodeConfigRolloutPolicy,
|
|
7146
|
+
};
|
|
7147
|
+
}
|
|
7148
|
+
}
|
|
7149
|
+
exports.ModifyClusterNodePoolRequestNodeConfig = ModifyClusterNodePoolRequestNodeConfig;
|
|
6426
7150
|
class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
6427
7151
|
constructor(map) {
|
|
6428
7152
|
super(map);
|
|
@@ -6828,6 +7552,29 @@ class Client extends openapi_client_1.default {
|
|
|
6828
7552
|
});
|
|
6829
7553
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
6830
7554
|
}
|
|
7555
|
+
async cancelTask(taskId) {
|
|
7556
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7557
|
+
let headers = {};
|
|
7558
|
+
return await this.cancelTaskWithOptions(taskId, headers, runtime);
|
|
7559
|
+
}
|
|
7560
|
+
async cancelTaskWithOptions(taskId, headers, runtime) {
|
|
7561
|
+
taskId = openapi_util_1.default.getEncodeParam(taskId);
|
|
7562
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7563
|
+
headers: headers,
|
|
7564
|
+
});
|
|
7565
|
+
let params = new $OpenApi.Params({
|
|
7566
|
+
action: "CancelTask",
|
|
7567
|
+
version: "2015-12-15",
|
|
7568
|
+
protocol: "HTTPS",
|
|
7569
|
+
pathname: `/tasks/${taskId}/cancel`,
|
|
7570
|
+
method: "POST",
|
|
7571
|
+
authType: "AK",
|
|
7572
|
+
style: "ROA",
|
|
7573
|
+
reqBodyType: "json",
|
|
7574
|
+
bodyType: "none",
|
|
7575
|
+
});
|
|
7576
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
|
|
7577
|
+
}
|
|
6831
7578
|
async cancelWorkflow(workflowName, request) {
|
|
6832
7579
|
let runtime = new $Util.RuntimeOptions({});
|
|
6833
7580
|
let headers = {};
|
|
@@ -6869,9 +7616,15 @@ class Client extends openapi_client_1.default {
|
|
|
6869
7616
|
if (!tea_util_1.default.isUnset(request.coolDownDuration)) {
|
|
6870
7617
|
body["cool_down_duration"] = request.coolDownDuration;
|
|
6871
7618
|
}
|
|
7619
|
+
if (!tea_util_1.default.isUnset(request.expander)) {
|
|
7620
|
+
body["expander"] = request.expander;
|
|
7621
|
+
}
|
|
6872
7622
|
if (!tea_util_1.default.isUnset(request.gpuUtilizationThreshold)) {
|
|
6873
7623
|
body["gpu_utilization_threshold"] = request.gpuUtilizationThreshold;
|
|
6874
7624
|
}
|
|
7625
|
+
if (!tea_util_1.default.isUnset(request.scaleDownEnabled)) {
|
|
7626
|
+
body["scale_down_enabled"] = request.scaleDownEnabled;
|
|
7627
|
+
}
|
|
6875
7628
|
if (!tea_util_1.default.isUnset(request.scanInterval)) {
|
|
6876
7629
|
body["scan_interval"] = request.scanInterval;
|
|
6877
7630
|
}
|
|
@@ -6912,6 +7665,9 @@ class Client extends openapi_client_1.default {
|
|
|
6912
7665
|
if (!tea_util_1.default.isUnset(request.apiAudiences)) {
|
|
6913
7666
|
body["api_audiences"] = request.apiAudiences;
|
|
6914
7667
|
}
|
|
7668
|
+
if (!tea_util_1.default.isUnset(request.chargeType)) {
|
|
7669
|
+
body["charge_type"] = request.chargeType;
|
|
7670
|
+
}
|
|
6915
7671
|
if (!tea_util_1.default.isUnset(request.cisEnabled)) {
|
|
6916
7672
|
body["cis_enabled"] = request.cisEnabled;
|
|
6917
7673
|
}
|
|
@@ -7050,6 +7806,12 @@ class Client extends openapi_client_1.default {
|
|
|
7050
7806
|
if (!tea_util_1.default.isUnset(request.osType)) {
|
|
7051
7807
|
body["os_type"] = request.osType;
|
|
7052
7808
|
}
|
|
7809
|
+
if (!tea_util_1.default.isUnset(request.period)) {
|
|
7810
|
+
body["period"] = request.period;
|
|
7811
|
+
}
|
|
7812
|
+
if (!tea_util_1.default.isUnset(request.periodUnit)) {
|
|
7813
|
+
body["period_unit"] = request.periodUnit;
|
|
7814
|
+
}
|
|
7053
7815
|
if (!tea_util_1.default.isUnset(request.platform)) {
|
|
7054
7816
|
body["platform"] = request.platform;
|
|
7055
7817
|
}
|
|
@@ -7921,51 +8683,63 @@ class Client extends openapi_client_1.default {
|
|
|
7921
8683
|
});
|
|
7922
8684
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
|
|
7923
8685
|
}
|
|
7924
|
-
async
|
|
8686
|
+
async describeClusterEvents(ClusterId, request) {
|
|
7925
8687
|
let runtime = new $Util.RuntimeOptions({});
|
|
7926
8688
|
let headers = {};
|
|
7927
|
-
return await this.
|
|
8689
|
+
return await this.describeClusterEventsWithOptions(ClusterId, request, headers, runtime);
|
|
7928
8690
|
}
|
|
7929
|
-
async
|
|
8691
|
+
async describeClusterEventsWithOptions(ClusterId, request, headers, runtime) {
|
|
8692
|
+
tea_util_1.default.validateModel(request);
|
|
7930
8693
|
ClusterId = openapi_util_1.default.getEncodeParam(ClusterId);
|
|
8694
|
+
let query = {};
|
|
8695
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
8696
|
+
query["page_number"] = request.pageNumber;
|
|
8697
|
+
}
|
|
8698
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
8699
|
+
query["page_size"] = request.pageSize;
|
|
8700
|
+
}
|
|
8701
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
8702
|
+
query["task_id"] = request.taskId;
|
|
8703
|
+
}
|
|
7931
8704
|
let req = new $OpenApi.OpenApiRequest({
|
|
7932
8705
|
headers: headers,
|
|
8706
|
+
query: openapi_util_1.default.query(query),
|
|
7933
8707
|
});
|
|
7934
8708
|
let params = new $OpenApi.Params({
|
|
7935
|
-
action: "
|
|
8709
|
+
action: "DescribeClusterEvents",
|
|
7936
8710
|
version: "2015-12-15",
|
|
7937
8711
|
protocol: "HTTPS",
|
|
7938
|
-
pathname: `/clusters/${ClusterId}/
|
|
8712
|
+
pathname: `/clusters/${ClusterId}/events`,
|
|
7939
8713
|
method: "GET",
|
|
7940
8714
|
authType: "AK",
|
|
7941
8715
|
style: "ROA",
|
|
7942
8716
|
reqBodyType: "json",
|
|
7943
|
-
bodyType: "
|
|
8717
|
+
bodyType: "json",
|
|
7944
8718
|
});
|
|
7945
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
8719
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
|
|
7946
8720
|
}
|
|
7947
|
-
async
|
|
8721
|
+
async describeClusterLogs(ClusterId) {
|
|
7948
8722
|
let runtime = new $Util.RuntimeOptions({});
|
|
7949
8723
|
let headers = {};
|
|
7950
|
-
return await this.
|
|
8724
|
+
return await this.describeClusterLogsWithOptions(ClusterId, headers, runtime);
|
|
7951
8725
|
}
|
|
7952
|
-
async
|
|
8726
|
+
async describeClusterLogsWithOptions(ClusterId, headers, runtime) {
|
|
7953
8727
|
ClusterId = openapi_util_1.default.getEncodeParam(ClusterId);
|
|
7954
8728
|
let req = new $OpenApi.OpenApiRequest({
|
|
7955
8729
|
headers: headers,
|
|
7956
8730
|
});
|
|
7957
8731
|
let params = new $OpenApi.Params({
|
|
7958
|
-
action: "
|
|
8732
|
+
action: "DescribeClusterLogs",
|
|
7959
8733
|
version: "2015-12-15",
|
|
7960
8734
|
protocol: "HTTPS",
|
|
7961
|
-
pathname: `/
|
|
8735
|
+
pathname: `/clusters/${ClusterId}/logs`,
|
|
7962
8736
|
method: "GET",
|
|
7963
8737
|
authType: "AK",
|
|
7964
8738
|
style: "ROA",
|
|
7965
8739
|
reqBodyType: "json",
|
|
7966
8740
|
bodyType: "array",
|
|
7967
8741
|
});
|
|
7968
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
8742
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
|
|
7969
8743
|
}
|
|
7970
8744
|
async describeClusterNodePoolDetail(ClusterId, NodepoolId) {
|
|
7971
8745
|
let runtime = new $Util.RuntimeOptions({});
|
|
@@ -8078,6 +8852,29 @@ class Client extends openapi_client_1.default {
|
|
|
8078
8852
|
});
|
|
8079
8853
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
8080
8854
|
}
|
|
8855
|
+
async describeClusterTasks(clusterId) {
|
|
8856
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8857
|
+
let headers = {};
|
|
8858
|
+
return await this.describeClusterTasksWithOptions(clusterId, headers, runtime);
|
|
8859
|
+
}
|
|
8860
|
+
async describeClusterTasksWithOptions(clusterId, headers, runtime) {
|
|
8861
|
+
clusterId = openapi_util_1.default.getEncodeParam(clusterId);
|
|
8862
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8863
|
+
headers: headers,
|
|
8864
|
+
});
|
|
8865
|
+
let params = new $OpenApi.Params({
|
|
8866
|
+
action: "DescribeClusterTasks",
|
|
8867
|
+
version: "2015-12-15",
|
|
8868
|
+
protocol: "HTTPS",
|
|
8869
|
+
pathname: `/clusters/${clusterId}/tasks`,
|
|
8870
|
+
method: "GET",
|
|
8871
|
+
authType: "AK",
|
|
8872
|
+
style: "ROA",
|
|
8873
|
+
reqBodyType: "json",
|
|
8874
|
+
bodyType: "json",
|
|
8875
|
+
});
|
|
8876
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
8877
|
+
}
|
|
8081
8878
|
async describeClusterUserKubeconfig(ClusterId, request) {
|
|
8082
8879
|
let runtime = new $Util.RuntimeOptions({});
|
|
8083
8880
|
let headers = {};
|
|
@@ -8433,6 +9230,30 @@ class Client extends openapi_client_1.default {
|
|
|
8433
9230
|
});
|
|
8434
9231
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
8435
9232
|
}
|
|
9233
|
+
async describeNodePoolVuls(clusterId, nodepoolId) {
|
|
9234
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9235
|
+
let headers = {};
|
|
9236
|
+
return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, headers, runtime);
|
|
9237
|
+
}
|
|
9238
|
+
async describeNodePoolVulsWithOptions(clusterId, nodepoolId, headers, runtime) {
|
|
9239
|
+
clusterId = openapi_util_1.default.getEncodeParam(clusterId);
|
|
9240
|
+
nodepoolId = openapi_util_1.default.getEncodeParam(nodepoolId);
|
|
9241
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9242
|
+
headers: headers,
|
|
9243
|
+
});
|
|
9244
|
+
let params = new $OpenApi.Params({
|
|
9245
|
+
action: "DescribeNodePoolVuls",
|
|
9246
|
+
version: "2015-12-15",
|
|
9247
|
+
protocol: "HTTPS",
|
|
9248
|
+
pathname: `/clusters/${clusterId}/nodepools/${nodepoolId}/vuls`,
|
|
9249
|
+
method: "GET",
|
|
9250
|
+
authType: "AK",
|
|
9251
|
+
style: "ROA",
|
|
9252
|
+
reqBodyType: "json",
|
|
9253
|
+
bodyType: "json",
|
|
9254
|
+
});
|
|
9255
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
|
|
9256
|
+
}
|
|
8436
9257
|
async describePolicies() {
|
|
8437
9258
|
let runtime = new $Util.RuntimeOptions({});
|
|
8438
9259
|
let headers = {};
|
|
@@ -8783,6 +9604,42 @@ class Client extends openapi_client_1.default {
|
|
|
8783
9604
|
});
|
|
8784
9605
|
return $tea.cast(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
8785
9606
|
}
|
|
9607
|
+
async fixNodePoolVuls(clusterId, nodepoolId, request) {
|
|
9608
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9609
|
+
let headers = {};
|
|
9610
|
+
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
9611
|
+
}
|
|
9612
|
+
async fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime) {
|
|
9613
|
+
tea_util_1.default.validateModel(request);
|
|
9614
|
+
clusterId = openapi_util_1.default.getEncodeParam(clusterId);
|
|
9615
|
+
nodepoolId = openapi_util_1.default.getEncodeParam(nodepoolId);
|
|
9616
|
+
let body = {};
|
|
9617
|
+
if (!tea_util_1.default.isUnset(request.nodes)) {
|
|
9618
|
+
body["nodes"] = request.nodes;
|
|
9619
|
+
}
|
|
9620
|
+
if (!tea_util_1.default.isUnset($tea.toMap(request.rolloutPolicy))) {
|
|
9621
|
+
body["rollout_policy"] = request.rolloutPolicy;
|
|
9622
|
+
}
|
|
9623
|
+
if (!tea_util_1.default.isUnset(request.vulList)) {
|
|
9624
|
+
body["vul_list"] = request.vulList;
|
|
9625
|
+
}
|
|
9626
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9627
|
+
headers: headers,
|
|
9628
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
9629
|
+
});
|
|
9630
|
+
let params = new $OpenApi.Params({
|
|
9631
|
+
action: "FixNodePoolVuls",
|
|
9632
|
+
version: "2015-12-15",
|
|
9633
|
+
protocol: "HTTPS",
|
|
9634
|
+
pathname: `/clusters/${clusterId}/nodepools/${nodepoolId}/vuls/fix`,
|
|
9635
|
+
method: "POST",
|
|
9636
|
+
authType: "AK",
|
|
9637
|
+
style: "ROA",
|
|
9638
|
+
reqBodyType: "json",
|
|
9639
|
+
bodyType: "json",
|
|
9640
|
+
});
|
|
9641
|
+
return $tea.cast(await this.callApi(params, req, runtime), new FixNodePoolVulsResponse({}));
|
|
9642
|
+
}
|
|
8786
9643
|
async getKubernetesTrigger(ClusterId, request) {
|
|
8787
9644
|
let runtime = new $Util.RuntimeOptions({});
|
|
8788
9645
|
let headers = {};
|
|
@@ -8942,15 +9799,24 @@ class Client extends openapi_client_1.default {
|
|
|
8942
9799
|
});
|
|
8943
9800
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
8944
9801
|
}
|
|
8945
|
-
async migrateCluster(clusterId) {
|
|
9802
|
+
async migrateCluster(clusterId, request) {
|
|
8946
9803
|
let runtime = new $Util.RuntimeOptions({});
|
|
8947
9804
|
let headers = {};
|
|
8948
|
-
return await this.migrateClusterWithOptions(clusterId, headers, runtime);
|
|
9805
|
+
return await this.migrateClusterWithOptions(clusterId, request, headers, runtime);
|
|
8949
9806
|
}
|
|
8950
|
-
async migrateClusterWithOptions(clusterId, headers, runtime) {
|
|
9807
|
+
async migrateClusterWithOptions(clusterId, request, headers, runtime) {
|
|
9808
|
+
tea_util_1.default.validateModel(request);
|
|
8951
9809
|
clusterId = openapi_util_1.default.getEncodeParam(clusterId);
|
|
9810
|
+
let body = {};
|
|
9811
|
+
if (!tea_util_1.default.isUnset(request.ossBucketEndpoint)) {
|
|
9812
|
+
body["oss_bucket_endpoint"] = request.ossBucketEndpoint;
|
|
9813
|
+
}
|
|
9814
|
+
if (!tea_util_1.default.isUnset(request.ossBucketName)) {
|
|
9815
|
+
body["oss_bucket_name"] = request.ossBucketName;
|
|
9816
|
+
}
|
|
8952
9817
|
let req = new $OpenApi.OpenApiRequest({
|
|
8953
9818
|
headers: headers,
|
|
9819
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
8954
9820
|
});
|
|
8955
9821
|
let params = new $OpenApi.Params({
|
|
8956
9822
|
action: "MigrateCluster",
|
|
@@ -8961,7 +9827,7 @@ class Client extends openapi_client_1.default {
|
|
|
8961
9827
|
authType: "AK",
|
|
8962
9828
|
style: "ROA",
|
|
8963
9829
|
reqBodyType: "json",
|
|
8964
|
-
bodyType: "
|
|
9830
|
+
bodyType: "json",
|
|
8965
9831
|
});
|
|
8966
9832
|
return $tea.cast(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
|
|
8967
9833
|
}
|
|
@@ -9096,6 +9962,9 @@ class Client extends openapi_client_1.default {
|
|
|
9096
9962
|
if (!tea_util_1.default.isUnset($tea.toMap(request.management))) {
|
|
9097
9963
|
body["management"] = request.management;
|
|
9098
9964
|
}
|
|
9965
|
+
if (!tea_util_1.default.isUnset($tea.toMap(request.nodeConfig))) {
|
|
9966
|
+
body["node_config"] = request.nodeConfig;
|
|
9967
|
+
}
|
|
9099
9968
|
if (!tea_util_1.default.isUnset($tea.toMap(request.nodepoolInfo))) {
|
|
9100
9969
|
body["nodepool_info"] = request.nodepoolInfo;
|
|
9101
9970
|
}
|
|
@@ -9264,6 +10133,29 @@ class Client extends openapi_client_1.default {
|
|
|
9264
10133
|
});
|
|
9265
10134
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
9266
10135
|
}
|
|
10136
|
+
async pauseTask(taskId) {
|
|
10137
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10138
|
+
let headers = {};
|
|
10139
|
+
return await this.pauseTaskWithOptions(taskId, headers, runtime);
|
|
10140
|
+
}
|
|
10141
|
+
async pauseTaskWithOptions(taskId, headers, runtime) {
|
|
10142
|
+
taskId = openapi_util_1.default.getEncodeParam(taskId);
|
|
10143
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10144
|
+
headers: headers,
|
|
10145
|
+
});
|
|
10146
|
+
let params = new $OpenApi.Params({
|
|
10147
|
+
action: "PauseTask",
|
|
10148
|
+
version: "2015-12-15",
|
|
10149
|
+
protocol: "HTTPS",
|
|
10150
|
+
pathname: `/tasks/${taskId}/pause`,
|
|
10151
|
+
method: "POST",
|
|
10152
|
+
authType: "AK",
|
|
10153
|
+
style: "ROA",
|
|
10154
|
+
reqBodyType: "json",
|
|
10155
|
+
bodyType: "none",
|
|
10156
|
+
});
|
|
10157
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
|
|
10158
|
+
}
|
|
9267
10159
|
async removeClusterNodes(ClusterId, request) {
|
|
9268
10160
|
let runtime = new $Util.RuntimeOptions({});
|
|
9269
10161
|
let headers = {};
|
|
@@ -9376,6 +10268,29 @@ class Client extends openapi_client_1.default {
|
|
|
9376
10268
|
});
|
|
9377
10269
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
9378
10270
|
}
|
|
10271
|
+
async resumeTask(taskId) {
|
|
10272
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10273
|
+
let headers = {};
|
|
10274
|
+
return await this.resumeTaskWithOptions(taskId, headers, runtime);
|
|
10275
|
+
}
|
|
10276
|
+
async resumeTaskWithOptions(taskId, headers, runtime) {
|
|
10277
|
+
taskId = openapi_util_1.default.getEncodeParam(taskId);
|
|
10278
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10279
|
+
headers: headers,
|
|
10280
|
+
});
|
|
10281
|
+
let params = new $OpenApi.Params({
|
|
10282
|
+
action: "ResumeTask",
|
|
10283
|
+
version: "2015-12-15",
|
|
10284
|
+
protocol: "HTTPS",
|
|
10285
|
+
pathname: `/tasks/${taskId}/resume`,
|
|
10286
|
+
method: "POST",
|
|
10287
|
+
authType: "AK",
|
|
10288
|
+
style: "ROA",
|
|
10289
|
+
reqBodyType: "json",
|
|
10290
|
+
bodyType: "none",
|
|
10291
|
+
});
|
|
10292
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
|
|
10293
|
+
}
|
|
9379
10294
|
async resumeUpgradeCluster(ClusterId) {
|
|
9380
10295
|
let runtime = new $Util.RuntimeOptions({});
|
|
9381
10296
|
let headers = {};
|