@alicloud/ehpcinstant20230701 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  /**
3
- *
4
3
  */
5
4
  import Util, * as $Util from '@alicloud/tea-util';
6
5
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
@@ -11,7 +10,18 @@ import * as $tea from '@alicloud/tea-typescript';
11
10
  export class AddImageRequest extends $tea.Model {
12
11
  containerImageSpec?: AddImageRequestContainerImageSpec;
13
12
  description?: string;
13
+ /**
14
+ * @example
15
+ * V1.0
16
+ */
14
17
  imageVersion?: string;
18
+ /**
19
+ * @remarks
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * app-image
24
+ */
15
25
  name?: string;
16
26
  VMImageSpec?: AddImageRequestVMImageSpec;
17
27
  static names(): { [key: string]: string } {
@@ -42,7 +52,18 @@ export class AddImageRequest extends $tea.Model {
42
52
  export class AddImageShrinkRequest extends $tea.Model {
43
53
  containerImageSpecShrink?: string;
44
54
  description?: string;
55
+ /**
56
+ * @example
57
+ * V1.0
58
+ */
45
59
  imageVersion?: string;
60
+ /**
61
+ * @remarks
62
+ * This parameter is required.
63
+ *
64
+ * @example
65
+ * app-image
66
+ */
46
67
  name?: string;
47
68
  VMImageSpecShrink?: string;
48
69
  static names(): { [key: string]: string } {
@@ -71,8 +92,20 @@ export class AddImageShrinkRequest extends $tea.Model {
71
92
  }
72
93
 
73
94
  export class AddImageResponseBody extends $tea.Model {
95
+ /**
96
+ * @example
97
+ * m-bp1akkkr1rkxtb******
98
+ */
74
99
  imageId?: string;
100
+ /**
101
+ * @example
102
+ * 04F0F334-1335-436C-A1D7-6C044FE73368
103
+ */
75
104
  requestId?: string;
105
+ /**
106
+ * @example
107
+ * True
108
+ */
76
109
  success?: boolean;
77
110
  static names(): { [key: string]: string } {
78
111
  return {
@@ -122,14 +155,31 @@ export class AddImageResponse extends $tea.Model {
122
155
 
123
156
  export class CreateJobRequest extends $tea.Model {
124
157
  deploymentPolicy?: CreateJobRequestDeploymentPolicy;
158
+ /**
159
+ * @example
160
+ * Demo
161
+ */
125
162
  jobDescription?: string;
163
+ /**
164
+ * @remarks
165
+ * This parameter is required.
166
+ *
167
+ * @example
168
+ * testjob
169
+ */
126
170
  jobName?: string;
171
+ jobScheduler?: string;
172
+ /**
173
+ * @remarks
174
+ * This parameter is required.
175
+ */
127
176
  tasks?: CreateJobRequestTasks[];
128
177
  static names(): { [key: string]: string } {
129
178
  return {
130
179
  deploymentPolicy: 'DeploymentPolicy',
131
180
  jobDescription: 'JobDescription',
132
181
  jobName: 'JobName',
182
+ jobScheduler: 'JobScheduler',
133
183
  tasks: 'Tasks',
134
184
  };
135
185
  }
@@ -139,6 +189,7 @@ export class CreateJobRequest extends $tea.Model {
139
189
  deploymentPolicy: CreateJobRequestDeploymentPolicy,
140
190
  jobDescription: 'string',
141
191
  jobName: 'string',
192
+ jobScheduler: 'string',
142
193
  tasks: { 'type': 'array', 'itemType': CreateJobRequestTasks },
143
194
  };
144
195
  }
@@ -150,14 +201,31 @@ export class CreateJobRequest extends $tea.Model {
150
201
 
151
202
  export class CreateJobShrinkRequest extends $tea.Model {
152
203
  deploymentPolicyShrink?: string;
204
+ /**
205
+ * @example
206
+ * Demo
207
+ */
153
208
  jobDescription?: string;
209
+ /**
210
+ * @remarks
211
+ * This parameter is required.
212
+ *
213
+ * @example
214
+ * testjob
215
+ */
154
216
  jobName?: string;
217
+ jobScheduler?: string;
218
+ /**
219
+ * @remarks
220
+ * This parameter is required.
221
+ */
155
222
  tasksShrink?: string;
156
223
  static names(): { [key: string]: string } {
157
224
  return {
158
225
  deploymentPolicyShrink: 'DeploymentPolicy',
159
226
  jobDescription: 'JobDescription',
160
227
  jobName: 'JobName',
228
+ jobScheduler: 'JobScheduler',
161
229
  tasksShrink: 'Tasks',
162
230
  };
163
231
  }
@@ -167,6 +235,7 @@ export class CreateJobShrinkRequest extends $tea.Model {
167
235
  deploymentPolicyShrink: 'string',
168
236
  jobDescription: 'string',
169
237
  jobName: 'string',
238
+ jobScheduler: 'string',
170
239
  tasksShrink: 'string',
171
240
  };
172
241
  }
@@ -177,7 +246,15 @@ export class CreateJobShrinkRequest extends $tea.Model {
177
246
  }
178
247
 
179
248
  export class CreateJobResponseBody extends $tea.Model {
249
+ /**
250
+ * @example
251
+ * job-xxxx
252
+ */
180
253
  jobId?: string;
254
+ /**
255
+ * @example
256
+ * 896D338C-E4F4-41EC-A154-D605E5DE****
257
+ */
181
258
  requestId?: string;
182
259
  tasks?: CreateJobResponseBodyTasks[];
183
260
  static names(): { [key: string]: string } {
@@ -271,6 +348,10 @@ export class DeleteJobsShrinkRequest extends $tea.Model {
271
348
  }
272
349
 
273
350
  export class DeleteJobsResponseBody extends $tea.Model {
351
+ /**
352
+ * @example
353
+ * 04F0F334-1335-436C-A1D7-6C044FE7****
354
+ */
274
355
  requestId?: string;
275
356
  static names(): { [key: string]: string } {
276
357
  return {
@@ -316,8 +397,20 @@ export class DeleteJobsResponse extends $tea.Model {
316
397
 
317
398
  export class DescribeJobMetricDataRequest extends $tea.Model {
318
399
  arrayIndex?: number[];
400
+ /**
401
+ * @example
402
+ * job-xxxxx
403
+ */
319
404
  jobId?: string;
405
+ /**
406
+ * @example
407
+ * cpu_utilization
408
+ */
320
409
  metricName?: string;
410
+ /**
411
+ * @example
412
+ * Task0
413
+ */
321
414
  taskName?: string;
322
415
  static names(): { [key: string]: string } {
323
416
  return {
@@ -344,8 +437,20 @@ export class DescribeJobMetricDataRequest extends $tea.Model {
344
437
 
345
438
  export class DescribeJobMetricDataShrinkRequest extends $tea.Model {
346
439
  arrayIndexShrink?: string;
440
+ /**
441
+ * @example
442
+ * job-xxxxx
443
+ */
347
444
  jobId?: string;
445
+ /**
446
+ * @example
447
+ * cpu_utilization
448
+ */
348
449
  metricName?: string;
450
+ /**
451
+ * @example
452
+ * Task0
453
+ */
349
454
  taskName?: string;
350
455
  static names(): { [key: string]: string } {
351
456
  return {
@@ -371,8 +476,20 @@ export class DescribeJobMetricDataShrinkRequest extends $tea.Model {
371
476
  }
372
477
 
373
478
  export class DescribeJobMetricDataResponseBody extends $tea.Model {
479
+ /**
480
+ * @example
481
+ * [{"timestamp":1709540685000,"Minimum":28.45,"Maximum":28.45,"Average":28.45}]
482
+ */
374
483
  dataPoints?: string;
484
+ /**
485
+ * @example
486
+ * 15
487
+ */
375
488
  period?: number;
489
+ /**
490
+ * @example
491
+ * 04F0F334-1335-436C-A1D7-6C044FE7****
492
+ */
376
493
  requestId?: string;
377
494
  static names(): { [key: string]: string } {
378
495
  return {
@@ -422,7 +539,15 @@ export class DescribeJobMetricDataResponse extends $tea.Model {
422
539
 
423
540
  export class DescribeJobMetricLastRequest extends $tea.Model {
424
541
  arrayIndex?: number[];
542
+ /**
543
+ * @example
544
+ * job-xxxxx
545
+ */
425
546
  jobId?: string;
547
+ /**
548
+ * @example
549
+ * Task0
550
+ */
426
551
  taskName?: string;
427
552
  static names(): { [key: string]: string } {
428
553
  return {
@@ -447,7 +572,15 @@ export class DescribeJobMetricLastRequest extends $tea.Model {
447
572
 
448
573
  export class DescribeJobMetricLastShrinkRequest extends $tea.Model {
449
574
  arrayIndexShrink?: string;
575
+ /**
576
+ * @example
577
+ * job-xxxxx
578
+ */
450
579
  jobId?: string;
580
+ /**
581
+ * @example
582
+ * Task0
583
+ */
451
584
  taskName?: string;
452
585
  static names(): { [key: string]: string } {
453
586
  return {
@@ -472,6 +605,10 @@ export class DescribeJobMetricLastShrinkRequest extends $tea.Model {
472
605
 
473
606
  export class DescribeJobMetricLastResponseBody extends $tea.Model {
474
607
  metrics?: DescribeJobMetricLastResponseBodyMetrics[];
608
+ /**
609
+ * @example
610
+ * 04F0F334-1335-436C-A1D7-6C044FE7****
611
+ */
475
612
  requestId?: string;
476
613
  static names(): { [key: string]: string } {
477
614
  return {
@@ -519,6 +656,13 @@ export class DescribeJobMetricLastResponse extends $tea.Model {
519
656
 
520
657
  export class GetImageRequest extends $tea.Model {
521
658
  imageCategory?: string;
659
+ /**
660
+ * @remarks
661
+ * This parameter is required.
662
+ *
663
+ * @example
664
+ * m-2ze74g5mvy4pjg*****
665
+ */
522
666
  imageId?: string;
523
667
  imageType?: string;
524
668
  static names(): { [key: string]: string } {
@@ -544,8 +688,20 @@ export class GetImageRequest extends $tea.Model {
544
688
 
545
689
  export class GetImageResponseBody extends $tea.Model {
546
690
  image?: GetImageResponseBodyImage;
691
+ /**
692
+ * @example
693
+ * 04F0F334-1335-436C-A1D7-6C044FE73368
694
+ */
547
695
  requestId?: string;
696
+ /**
697
+ * @example
698
+ * true
699
+ */
548
700
  success?: boolean;
701
+ /**
702
+ * @example
703
+ * 10
704
+ */
549
705
  totalCount?: number;
550
706
  static names(): { [key: string]: string } {
551
707
  return {
@@ -596,6 +752,10 @@ export class GetImageResponse extends $tea.Model {
596
752
  }
597
753
 
598
754
  export class GetJobRequest extends $tea.Model {
755
+ /**
756
+ * @example
757
+ * job-xxxx
758
+ */
599
759
  jobId?: string;
600
760
  static names(): { [key: string]: string } {
601
761
  return {
@@ -616,6 +776,10 @@ export class GetJobRequest extends $tea.Model {
616
776
 
617
777
  export class GetJobResponseBody extends $tea.Model {
618
778
  jobInfo?: GetJobResponseBodyJobInfo;
779
+ /**
780
+ * @example
781
+ * 896D338C-E4F4-41EC-A154-D605E5DE****
782
+ */
619
783
  requestId?: string;
620
784
  static names(): { [key: string]: string } {
621
785
  return {
@@ -663,7 +827,15 @@ export class GetJobResponse extends $tea.Model {
663
827
 
664
828
  export class ListExecutorsRequest extends $tea.Model {
665
829
  filter?: ListExecutorsRequestFilter;
830
+ /**
831
+ * @example
832
+ * 1
833
+ */
666
834
  pageNumber?: string;
835
+ /**
836
+ * @example
837
+ * 50
838
+ */
667
839
  pageSize?: string;
668
840
  static names(): { [key: string]: string } {
669
841
  return {
@@ -688,7 +860,15 @@ export class ListExecutorsRequest extends $tea.Model {
688
860
 
689
861
  export class ListExecutorsShrinkRequest extends $tea.Model {
690
862
  filterShrink?: string;
863
+ /**
864
+ * @example
865
+ * 1
866
+ */
691
867
  pageNumber?: string;
868
+ /**
869
+ * @example
870
+ * 50
871
+ */
692
872
  pageSize?: string;
693
873
  static names(): { [key: string]: string } {
694
874
  return {
@@ -713,9 +893,25 @@ export class ListExecutorsShrinkRequest extends $tea.Model {
713
893
 
714
894
  export class ListExecutorsResponseBody extends $tea.Model {
715
895
  executors?: ListExecutorsResponseBodyExecutors[];
896
+ /**
897
+ * @example
898
+ * 1
899
+ */
716
900
  pageNumber?: string;
901
+ /**
902
+ * @example
903
+ * 50
904
+ */
717
905
  pageSize?: string;
906
+ /**
907
+ * @example
908
+ * 896D338C-E4F4-41EC-A154-D605E5DE****
909
+ */
718
910
  requestId?: string;
911
+ /**
912
+ * @example
913
+ * 40
914
+ */
719
915
  totalCount?: string;
720
916
  static names(): { [key: string]: string } {
721
917
  return {
@@ -772,7 +968,15 @@ export class ListImagesRequest extends $tea.Model {
772
968
  imageIds?: string[];
773
969
  imageNames?: string[];
774
970
  imageType?: string;
971
+ /**
972
+ * @example
973
+ * 1
974
+ */
775
975
  pageNumber?: number;
976
+ /**
977
+ * @example
978
+ * 10
979
+ */
776
980
  pageSize?: number;
777
981
  static names(): { [key: string]: string } {
778
982
  return {
@@ -806,7 +1010,15 @@ export class ListImagesShrinkRequest extends $tea.Model {
806
1010
  imageIdsShrink?: string;
807
1011
  imageNamesShrink?: string;
808
1012
  imageType?: string;
1013
+ /**
1014
+ * @example
1015
+ * 1
1016
+ */
809
1017
  pageNumber?: number;
1018
+ /**
1019
+ * @example
1020
+ * 10
1021
+ */
810
1022
  pageSize?: number;
811
1023
  static names(): { [key: string]: string } {
812
1024
  return {
@@ -837,10 +1049,30 @@ export class ListImagesShrinkRequest extends $tea.Model {
837
1049
 
838
1050
  export class ListImagesResponseBody extends $tea.Model {
839
1051
  images?: ListImagesResponseBodyImages[];
1052
+ /**
1053
+ * @example
1054
+ * 1
1055
+ */
840
1056
  pageNumber?: number;
1057
+ /**
1058
+ * @example
1059
+ * 20
1060
+ */
841
1061
  pageSize?: number;
1062
+ /**
1063
+ * @example
1064
+ * 896D338C-E4F4-41EC-A154-D605E5DE****
1065
+ */
842
1066
  requestId?: string;
1067
+ /**
1068
+ * @example
1069
+ * true
1070
+ */
843
1071
  success?: boolean;
1072
+ /**
1073
+ * @example
1074
+ * 1
1075
+ */
844
1076
  totalCount?: number;
845
1077
  static names(): { [key: string]: string } {
846
1078
  return {
@@ -895,9 +1127,25 @@ export class ListImagesResponse extends $tea.Model {
895
1127
  }
896
1128
 
897
1129
  export class ListJobExecutorsRequest extends $tea.Model {
1130
+ /**
1131
+ * @example
1132
+ * job-xxx
1133
+ */
898
1134
  jobId?: string;
1135
+ /**
1136
+ * @example
1137
+ * 1
1138
+ */
899
1139
  pageNumber?: string;
1140
+ /**
1141
+ * @example
1142
+ * 10
1143
+ */
900
1144
  pageSize?: string;
1145
+ /**
1146
+ * @example
1147
+ * task0
1148
+ */
901
1149
  taskName?: string;
902
1150
  static names(): { [key: string]: string } {
903
1151
  return {
@@ -923,15 +1171,41 @@ export class ListJobExecutorsRequest extends $tea.Model {
923
1171
  }
924
1172
 
925
1173
  export class ListJobExecutorsResponseBody extends $tea.Model {
1174
+ executorStatus?: ListJobExecutorsResponseBodyExecutorStatus;
926
1175
  executors?: ListJobExecutorsResponseBodyExecutors[];
1176
+ /**
1177
+ * @example
1178
+ * job-xxxx
1179
+ */
927
1180
  jobId?: string;
1181
+ /**
1182
+ * @example
1183
+ * 1
1184
+ */
928
1185
  pageNumber?: string;
1186
+ /**
1187
+ * @example
1188
+ * 10
1189
+ */
929
1190
  pageSize?: string;
1191
+ /**
1192
+ * @example
1193
+ * 896D338C-E4F4-41EC-A154-D605E5DE****
1194
+ */
930
1195
  requestId?: string;
1196
+ /**
1197
+ * @example
1198
+ * task0
1199
+ */
931
1200
  taskName?: string;
1201
+ /**
1202
+ * @example
1203
+ * 50
1204
+ */
932
1205
  totalCount?: string;
933
1206
  static names(): { [key: string]: string } {
934
1207
  return {
1208
+ executorStatus: 'ExecutorStatus',
935
1209
  executors: 'Executors',
936
1210
  jobId: 'JobId',
937
1211
  pageNumber: 'PageNumber',
@@ -944,6 +1218,7 @@ export class ListJobExecutorsResponseBody extends $tea.Model {
944
1218
 
945
1219
  static types(): { [key: string]: any } {
946
1220
  return {
1221
+ executorStatus: ListJobExecutorsResponseBodyExecutorStatus,
947
1222
  executors: { 'type': 'array', 'itemType': ListJobExecutorsResponseBodyExecutors },
948
1223
  jobId: 'string',
949
1224
  pageNumber: 'string',
@@ -986,7 +1261,15 @@ export class ListJobExecutorsResponse extends $tea.Model {
986
1261
 
987
1262
  export class ListJobsRequest extends $tea.Model {
988
1263
  filter?: ListJobsRequestFilter;
1264
+ /**
1265
+ * @example
1266
+ * 1
1267
+ */
989
1268
  pageNumber?: string;
1269
+ /**
1270
+ * @example
1271
+ * 50
1272
+ */
990
1273
  pageSize?: string;
991
1274
  sortBy?: ListJobsRequestSortBy;
992
1275
  static names(): { [key: string]: string } {
@@ -1014,7 +1297,15 @@ export class ListJobsRequest extends $tea.Model {
1014
1297
 
1015
1298
  export class ListJobsShrinkRequest extends $tea.Model {
1016
1299
  filterShrink?: string;
1300
+ /**
1301
+ * @example
1302
+ * 1
1303
+ */
1017
1304
  pageNumber?: string;
1305
+ /**
1306
+ * @example
1307
+ * 50
1308
+ */
1018
1309
  pageSize?: string;
1019
1310
  sortByShrink?: string;
1020
1311
  static names(): { [key: string]: string } {
@@ -1042,9 +1333,25 @@ export class ListJobsShrinkRequest extends $tea.Model {
1042
1333
 
1043
1334
  export class ListJobsResponseBody extends $tea.Model {
1044
1335
  jobList?: ListJobsResponseBodyJobList[];
1336
+ /**
1337
+ * @example
1338
+ * 1
1339
+ */
1045
1340
  pageNumber?: number;
1341
+ /**
1342
+ * @example
1343
+ * 10
1344
+ */
1046
1345
  pageSize?: number;
1346
+ /**
1347
+ * @example
1348
+ * 896D338C-E4F4-41EC-A154-D605E5DE****
1349
+ */
1047
1350
  requestId?: string;
1351
+ /**
1352
+ * @example
1353
+ * 1
1354
+ */
1048
1355
  totalCount?: number;
1049
1356
  static names(): { [key: string]: string } {
1050
1357
  return {
@@ -1097,6 +1404,13 @@ export class ListJobsResponse extends $tea.Model {
1097
1404
  }
1098
1405
 
1099
1406
  export class RemoveImageRequest extends $tea.Model {
1407
+ /**
1408
+ * @remarks
1409
+ * This parameter is required.
1410
+ *
1411
+ * @example
1412
+ * m-bp14wakr1rkxtb******
1413
+ */
1100
1414
  imageId?: string;
1101
1415
  static names(): { [key: string]: string } {
1102
1416
  return {
@@ -1116,7 +1430,15 @@ export class RemoveImageRequest extends $tea.Model {
1116
1430
  }
1117
1431
 
1118
1432
  export class RemoveImageResponseBody extends $tea.Model {
1433
+ /**
1434
+ * @example
1435
+ * 896D338C-E4F4-41EC-A154-D605E5DE****
1436
+ */
1119
1437
  requestId?: string;
1438
+ /**
1439
+ * @example
1440
+ * true
1441
+ */
1120
1442
  success?: boolean;
1121
1443
  static names(): { [key: string]: string } {
1122
1444
  return {
@@ -1163,8 +1485,20 @@ export class RemoveImageResponse extends $tea.Model {
1163
1485
  }
1164
1486
 
1165
1487
  export class AddImageRequestContainerImageSpecRegistryCredential extends $tea.Model {
1488
+ /**
1489
+ * @example
1490
+ * userpassword
1491
+ */
1166
1492
  password?: string;
1493
+ /**
1494
+ * @example
1495
+ * registry-vpc.cn-hangzhou.aliyuncs.com
1496
+ */
1167
1497
  server?: string;
1498
+ /**
1499
+ * @example
1500
+ * username
1501
+ */
1168
1502
  userName?: string;
1169
1503
  static names(): { [key: string]: string } {
1170
1504
  return {
@@ -1188,10 +1522,26 @@ export class AddImageRequestContainerImageSpecRegistryCredential extends $tea.Mo
1188
1522
  }
1189
1523
 
1190
1524
  export class AddImageRequestContainerImageSpec extends $tea.Model {
1525
+ /**
1526
+ * @example
1527
+ * True
1528
+ */
1191
1529
  isACREnterprise?: boolean;
1530
+ /**
1531
+ * @example
1532
+ * True
1533
+ */
1192
1534
  isACRRegistry?: boolean;
1193
1535
  registryCredential?: AddImageRequestContainerImageSpecRegistryCredential;
1536
+ /**
1537
+ * @example
1538
+ * cri-xyz795ygf8k9****
1539
+ */
1194
1540
  registryCriId?: string;
1541
+ /**
1542
+ * @example
1543
+ * registry-vpc.cn-hangzhou.aliyuncs.com/ehpc_open/nginx:latest
1544
+ */
1195
1545
  registryUrl?: string;
1196
1546
  static names(): { [key: string]: string } {
1197
1547
  return {
@@ -1219,6 +1569,10 @@ export class AddImageRequestContainerImageSpec extends $tea.Model {
1219
1569
  }
1220
1570
 
1221
1571
  export class AddImageRequestVMImageSpec extends $tea.Model {
1572
+ /**
1573
+ * @example
1574
+ * m-bp1akkkr1rkxtb******
1575
+ */
1222
1576
  imageId?: string;
1223
1577
  static names(): { [key: string]: string } {
1224
1578
  return {
@@ -1257,6 +1611,10 @@ export class CreateJobRequestDeploymentPolicyNetwork extends $tea.Model {
1257
1611
  }
1258
1612
 
1259
1613
  export class CreateJobRequestDeploymentPolicy extends $tea.Model {
1614
+ /**
1615
+ * @example
1616
+ * Dedicated
1617
+ */
1260
1618
  allocationSpec?: string;
1261
1619
  network?: CreateJobRequestDeploymentPolicyNetwork;
1262
1620
  static names(): { [key: string]: string } {
@@ -1279,8 +1637,20 @@ export class CreateJobRequestDeploymentPolicy extends $tea.Model {
1279
1637
  }
1280
1638
 
1281
1639
  export class CreateJobRequestTasksExecutorPolicyArraySpec extends $tea.Model {
1640
+ /**
1641
+ * @example
1642
+ * 9
1643
+ */
1282
1644
  indexEnd?: number;
1645
+ /**
1646
+ * @example
1647
+ * 0
1648
+ */
1283
1649
  indexStart?: number;
1650
+ /**
1651
+ * @example
1652
+ * 1
1653
+ */
1284
1654
  indexStep?: number;
1285
1655
  static names(): { [key: string]: string } {
1286
1656
  return {
@@ -1305,6 +1675,10 @@ export class CreateJobRequestTasksExecutorPolicyArraySpec extends $tea.Model {
1305
1675
 
1306
1676
  export class CreateJobRequestTasksExecutorPolicy extends $tea.Model {
1307
1677
  arraySpec?: CreateJobRequestTasksExecutorPolicyArraySpec;
1678
+ /**
1679
+ * @example
1680
+ * 1
1681
+ */
1308
1682
  maxCount?: number;
1309
1683
  static names(): { [key: string]: string } {
1310
1684
  return {
@@ -1326,7 +1700,15 @@ export class CreateJobRequestTasksExecutorPolicy extends $tea.Model {
1326
1700
  }
1327
1701
 
1328
1702
  export class CreateJobRequestTasksTaskSpecResourceDisks extends $tea.Model {
1703
+ /**
1704
+ * @example
1705
+ * 40
1706
+ */
1329
1707
  size?: number;
1708
+ /**
1709
+ * @example
1710
+ * System
1711
+ */
1330
1712
  type?: string;
1331
1713
  static names(): { [key: string]: string } {
1332
1714
  return {
@@ -1348,8 +1730,16 @@ export class CreateJobRequestTasksTaskSpecResourceDisks extends $tea.Model {
1348
1730
  }
1349
1731
 
1350
1732
  export class CreateJobRequestTasksTaskSpecResource extends $tea.Model {
1733
+ /**
1734
+ * @example
1735
+ * 2
1736
+ */
1351
1737
  cores?: number;
1352
1738
  disks?: CreateJobRequestTasksTaskSpecResourceDisks[];
1739
+ /**
1740
+ * @example
1741
+ * 4
1742
+ */
1353
1743
  memory?: number;
1354
1744
  static names(): { [key: string]: string } {
1355
1745
  return {
@@ -1373,7 +1763,15 @@ export class CreateJobRequestTasksTaskSpecResource extends $tea.Model {
1373
1763
  }
1374
1764
 
1375
1765
  export class CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars extends $tea.Model {
1766
+ /**
1767
+ * @example
1768
+ * PATH
1769
+ */
1376
1770
  name?: string;
1771
+ /**
1772
+ * @example
1773
+ * /usr/local/bin
1774
+ */
1377
1775
  value?: string;
1378
1776
  static names(): { [key: string]: string } {
1379
1777
  return {
@@ -1398,7 +1796,18 @@ export class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $tea.Mod
1398
1796
  appId?: string;
1399
1797
  command?: string[];
1400
1798
  environmentVars?: CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars[];
1799
+ /**
1800
+ * @remarks
1801
+ * This parameter is required.
1802
+ *
1803
+ * @example
1804
+ * registry-vpc.cn-hangzhou.aliyuncs.com/ehpc/hpl:latest
1805
+ */
1401
1806
  image?: string;
1807
+ /**
1808
+ * @example
1809
+ * /usr/local/
1810
+ */
1402
1811
  workingDir?: string;
1403
1812
  static names(): { [key: string]: string } {
1404
1813
  return {
@@ -1427,8 +1836,23 @@ export class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $tea.Mod
1427
1836
 
1428
1837
  export class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $tea.Model {
1429
1838
  appId?: string;
1839
+ /**
1840
+ * @remarks
1841
+ * This parameter is required.
1842
+ *
1843
+ * @example
1844
+ * m-xxxx
1845
+ */
1430
1846
  image?: string;
1847
+ /**
1848
+ * @example
1849
+ * ZWNobyBoZWxsbyBlY3Mh
1850
+ */
1431
1851
  prologScript?: string;
1852
+ /**
1853
+ * @example
1854
+ * ZWNobyBoZWxsbyBlY3Mh
1855
+ */
1432
1856
  script?: string;
1433
1857
  static names(): { [key: string]: string } {
1434
1858
  return {
@@ -1476,8 +1900,20 @@ export class CreateJobRequestTasksTaskSpecTaskExecutor extends $tea.Model {
1476
1900
  }
1477
1901
 
1478
1902
  export class CreateJobRequestTasksTaskSpecVolumeMount extends $tea.Model {
1903
+ /**
1904
+ * @example
1905
+ * {"server":"xxxxx-xxxxx.cn-heyuan.nas.aliyuncs.com","vers":"3","path":"/data","options":"nolock,tcp,noresvport"}
1906
+ */
1479
1907
  mountOptions?: string;
1908
+ /**
1909
+ * @example
1910
+ * /mnt
1911
+ */
1480
1912
  mountPath?: string;
1913
+ /**
1914
+ * @example
1915
+ * alicloud/nas
1916
+ */
1481
1917
  volumeDriver?: string;
1482
1918
  static names(): { [key: string]: string } {
1483
1919
  return {
@@ -1502,6 +1938,10 @@ export class CreateJobRequestTasksTaskSpecVolumeMount extends $tea.Model {
1502
1938
 
1503
1939
  export class CreateJobRequestTasksTaskSpec extends $tea.Model {
1504
1940
  resource?: CreateJobRequestTasksTaskSpecResource;
1941
+ /**
1942
+ * @remarks
1943
+ * This parameter is required.
1944
+ */
1505
1945
  taskExecutor?: CreateJobRequestTasksTaskSpecTaskExecutor[];
1506
1946
  volumeMount?: CreateJobRequestTasksTaskSpecVolumeMount[];
1507
1947
  static names(): { [key: string]: string } {
@@ -1527,8 +1967,16 @@ export class CreateJobRequestTasksTaskSpec extends $tea.Model {
1527
1967
 
1528
1968
  export class CreateJobRequestTasks extends $tea.Model {
1529
1969
  executorPolicy?: CreateJobRequestTasksExecutorPolicy;
1970
+ /**
1971
+ * @example
1972
+ * task0
1973
+ */
1530
1974
  taskName?: string;
1531
1975
  taskSpec?: CreateJobRequestTasksTaskSpec;
1976
+ /**
1977
+ * @example
1978
+ * true
1979
+ */
1532
1980
  taskSustainable?: boolean;
1533
1981
  static names(): { [key: string]: string } {
1534
1982
  return {
@@ -1577,6 +2025,10 @@ export class CreateJobResponseBodyTasks extends $tea.Model {
1577
2025
 
1578
2026
  export class DeleteJobsRequestJobSpecTaskSpec extends $tea.Model {
1579
2027
  arrayIndex?: number[];
2028
+ /**
2029
+ * @example
2030
+ * task0
2031
+ */
1580
2032
  taskName?: string;
1581
2033
  static names(): { [key: string]: string } {
1582
2034
  return {
@@ -1598,6 +2050,10 @@ export class DeleteJobsRequestJobSpecTaskSpec extends $tea.Model {
1598
2050
  }
1599
2051
 
1600
2052
  export class DeleteJobsRequestJobSpec extends $tea.Model {
2053
+ /**
2054
+ * @example
2055
+ * job-xxxx
2056
+ */
1601
2057
  jobId?: string;
1602
2058
  taskSpec?: DeleteJobsRequestJobSpecTaskSpec[];
1603
2059
  static names(): { [key: string]: string } {
@@ -1620,7 +2076,15 @@ export class DeleteJobsRequestJobSpec extends $tea.Model {
1620
2076
  }
1621
2077
 
1622
2078
  export class DescribeJobMetricLastResponseBodyMetrics extends $tea.Model {
2079
+ /**
2080
+ * @example
2081
+ * 1
2082
+ */
1623
2083
  arrayIndex?: number;
2084
+ /**
2085
+ * @example
2086
+ * {"memory_utilization": 37.42,"cpu_utilization": 1.008, "disk_utilization": 3.562}
2087
+ */
1624
2088
  metric?: string;
1625
2089
  static names(): { [key: string]: string } {
1626
2090
  return {
@@ -1642,8 +2106,20 @@ export class DescribeJobMetricLastResponseBodyMetrics extends $tea.Model {
1642
2106
  }
1643
2107
 
1644
2108
  export class GetImageResponseBodyImageContainerImageSpecRegistryCredential extends $tea.Model {
2109
+ /**
2110
+ * @example
2111
+ * userpassword
2112
+ */
1645
2113
  password?: string;
2114
+ /**
2115
+ * @example
2116
+ * registry-vpc.cn-hangzhou.aliyuncs.com
2117
+ */
1646
2118
  server?: string;
2119
+ /**
2120
+ * @example
2121
+ * username
2122
+ */
1647
2123
  userName?: string;
1648
2124
  static names(): { [key: string]: string } {
1649
2125
  return {
@@ -1667,10 +2143,26 @@ export class GetImageResponseBodyImageContainerImageSpecRegistryCredential exten
1667
2143
  }
1668
2144
 
1669
2145
  export class GetImageResponseBodyImageContainerImageSpec extends $tea.Model {
2146
+ /**
2147
+ * @example
2148
+ * True
2149
+ */
1670
2150
  isACREnterprise?: boolean;
2151
+ /**
2152
+ * @example
2153
+ * True
2154
+ */
1671
2155
  isACRRegistry?: boolean;
1672
2156
  registryCredential?: GetImageResponseBodyImageContainerImageSpecRegistryCredential;
2157
+ /**
2158
+ * @example
2159
+ * cri-xyz795ygf8k9****
2160
+ */
1673
2161
  registryCriId?: string;
2162
+ /**
2163
+ * @example
2164
+ * registry-vpc.cn-hangzhou.aliyuncs.com/ehpc_open/nginx:latest
2165
+ */
1674
2166
  registryUrl?: string;
1675
2167
  static names(): { [key: string]: string } {
1676
2168
  return {
@@ -1698,9 +2190,25 @@ export class GetImageResponseBodyImageContainerImageSpec extends $tea.Model {
1698
2190
  }
1699
2191
 
1700
2192
  export class GetImageResponseBodyImageVMImageSpec extends $tea.Model {
2193
+ /**
2194
+ * @example
2195
+ * x86_64
2196
+ */
1701
2197
  architecture?: string;
2198
+ /**
2199
+ * @example
2200
+ * m-uf60twafjtaart******
2201
+ */
1702
2202
  imageId?: string;
2203
+ /**
2204
+ * @example
2205
+ * CentOS 7.6 64 bit
2206
+ */
1703
2207
  osTag?: string;
2208
+ /**
2209
+ * @example
2210
+ * CentOS
2211
+ */
1704
2212
  platform?: string;
1705
2213
  static names(): { [key: string]: string } {
1706
2214
  return {
@@ -1728,13 +2236,36 @@ export class GetImageResponseBodyImageVMImageSpec extends $tea.Model {
1728
2236
  export class GetImageResponseBodyImage extends $tea.Model {
1729
2237
  appId?: string;
1730
2238
  containerImageSpec?: GetImageResponseBodyImageContainerImageSpec;
2239
+ /**
2240
+ * @example
2241
+ * 2022-12-23T09:51:39Z
2242
+ */
1731
2243
  createTime?: string;
1732
2244
  description?: string;
2245
+ /**
2246
+ * @remarks
2247
+ * This parameter is required.
2248
+ *
2249
+ * @example
2250
+ * VM
2251
+ */
1733
2252
  imageType?: string;
2253
+ /**
2254
+ * @example
2255
+ * app-image
2256
+ */
1734
2257
  name?: string;
2258
+ /**
2259
+ * @example
2260
+ * 40 GiB
2261
+ */
1735
2262
  size?: string;
1736
2263
  status?: string;
1737
2264
  VMImageSpec?: GetImageResponseBodyImageVMImageSpec;
2265
+ /**
2266
+ * @example
2267
+ * v1.0
2268
+ */
1738
2269
  version?: string;
1739
2270
  static names(): { [key: string]: string } {
1740
2271
  return {
@@ -1791,6 +2322,10 @@ export class GetJobResponseBodyJobInfoDeploymentPolicyNetwork extends $tea.Model
1791
2322
  }
1792
2323
 
1793
2324
  export class GetJobResponseBodyJobInfoDeploymentPolicy extends $tea.Model {
2325
+ /**
2326
+ * @example
2327
+ * Dedicated
2328
+ */
1794
2329
  allocationSpec?: string;
1795
2330
  network?: GetJobResponseBodyJobInfoDeploymentPolicyNetwork;
1796
2331
  static names(): { [key: string]: string } {
@@ -1813,8 +2348,20 @@ export class GetJobResponseBodyJobInfoDeploymentPolicy extends $tea.Model {
1813
2348
  }
1814
2349
 
1815
2350
  export class GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec extends $tea.Model {
2351
+ /**
2352
+ * @example
2353
+ * 9
2354
+ */
1816
2355
  indexEnd?: number;
2356
+ /**
2357
+ * @example
2358
+ * 0
2359
+ */
1817
2360
  indexStart?: number;
2361
+ /**
2362
+ * @example
2363
+ * 1
2364
+ */
1818
2365
  indexStep?: number;
1819
2366
  static names(): { [key: string]: string } {
1820
2367
  return {
@@ -1839,6 +2386,10 @@ export class GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec extends $tea.
1839
2386
 
1840
2387
  export class GetJobResponseBodyJobInfoTasksExecutorPolicy extends $tea.Model {
1841
2388
  arraySpec?: GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec;
2389
+ /**
2390
+ * @example
2391
+ * 10
2392
+ */
1842
2393
  maxCount?: number;
1843
2394
  static names(): { [key: string]: string } {
1844
2395
  return {
@@ -1860,11 +2411,35 @@ export class GetJobResponseBodyJobInfoTasksExecutorPolicy extends $tea.Model {
1860
2411
  }
1861
2412
 
1862
2413
  export class GetJobResponseBodyJobInfoTasksExecutorStatus extends $tea.Model {
2414
+ /**
2415
+ * @example
2416
+ * 0
2417
+ */
1863
2418
  arrayId?: number;
2419
+ /**
2420
+ * @example
2421
+ * 2024-02-04 13:54:10
2422
+ */
1864
2423
  createTime?: string;
2424
+ /**
2425
+ * @example
2426
+ * 2024-02-04 13:54:10
2427
+ */
1865
2428
  endTime?: string;
2429
+ /**
2430
+ * @example
2431
+ * 2024-02-04 13:54:10
2432
+ */
1866
2433
  startTime?: string;
2434
+ /**
2435
+ * @example
2436
+ * Running
2437
+ */
1867
2438
  status?: string;
2439
+ /**
2440
+ * @example
2441
+ * Creating executor
2442
+ */
1868
2443
  statusReason?: string;
1869
2444
  static names(): { [key: string]: string } {
1870
2445
  return {
@@ -1894,7 +2469,15 @@ export class GetJobResponseBodyJobInfoTasksExecutorStatus extends $tea.Model {
1894
2469
  }
1895
2470
 
1896
2471
  export class GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks extends $tea.Model {
2472
+ /**
2473
+ * @example
2474
+ * 100
2475
+ */
1897
2476
  size?: number;
2477
+ /**
2478
+ * @example
2479
+ * System
2480
+ */
1898
2481
  type?: string;
1899
2482
  static names(): { [key: string]: string } {
1900
2483
  return {
@@ -1916,8 +2499,16 @@ export class GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks extends $tea.Mo
1916
2499
  }
1917
2500
 
1918
2501
  export class GetJobResponseBodyJobInfoTasksTaskSpecResource extends $tea.Model {
2502
+ /**
2503
+ * @example
2504
+ * 1
2505
+ */
1919
2506
  cores?: number;
1920
2507
  disks?: GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks[];
2508
+ /**
2509
+ * @example
2510
+ * 4
2511
+ */
1921
2512
  memory?: number;
1922
2513
  static names(): { [key: string]: string } {
1923
2514
  return {
@@ -1941,8 +2532,20 @@ export class GetJobResponseBodyJobInfoTasksTaskSpecResource extends $tea.Model {
1941
2532
  }
1942
2533
 
1943
2534
  export class GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVM extends $tea.Model {
2535
+ /**
2536
+ * @example
2537
+ * m-xxxx
2538
+ */
1944
2539
  image?: string;
2540
+ /**
2541
+ * @example
2542
+ * ZWNobyAiMTIzNCIgPiBgZGF0ZSArJXNg
2543
+ */
1945
2544
  prologScript?: string;
2545
+ /**
2546
+ * @example
2547
+ * ZWNobyAiMTIzNCIgPiBgZGF0ZSArJXNg
2548
+ */
1946
2549
  script?: string;
1947
2550
  static names(): { [key: string]: string } {
1948
2551
  return {
@@ -2009,8 +2612,16 @@ export class GetJobResponseBodyJobInfoTasksTaskSpec extends $tea.Model {
2009
2612
  export class GetJobResponseBodyJobInfoTasks extends $tea.Model {
2010
2613
  executorPolicy?: GetJobResponseBodyJobInfoTasksExecutorPolicy;
2011
2614
  executorStatus?: GetJobResponseBodyJobInfoTasksExecutorStatus[];
2615
+ /**
2616
+ * @example
2617
+ * task0
2618
+ */
2012
2619
  taskName?: string;
2013
2620
  taskSpec?: GetJobResponseBodyJobInfoTasksTaskSpec;
2621
+ /**
2622
+ * @example
2623
+ * true
2624
+ */
2014
2625
  taskSustainable?: boolean;
2015
2626
  static names(): { [key: string]: string } {
2016
2627
  return {
@@ -2038,13 +2649,42 @@ export class GetJobResponseBodyJobInfoTasks extends $tea.Model {
2038
2649
  }
2039
2650
 
2040
2651
  export class GetJobResponseBodyJobInfo extends $tea.Model {
2652
+ /**
2653
+ * @example
2654
+ * 2024-03-05 20:00:46
2655
+ */
2041
2656
  createTime?: string;
2042
2657
  deploymentPolicy?: GetJobResponseBodyJobInfoDeploymentPolicy;
2658
+ /**
2659
+ * @example
2660
+ * 2024-03-05 20:01:48
2661
+ */
2043
2662
  endTime?: string;
2663
+ /**
2664
+ * @example
2665
+ * Demo
2666
+ */
2044
2667
  jobDescription?: string;
2668
+ /**
2669
+ * @example
2670
+ * job-xxxx
2671
+ */
2045
2672
  jobId?: string;
2673
+ /**
2674
+ * @example
2675
+ * testJob
2676
+ */
2046
2677
  jobName?: string;
2678
+ jobScheduler?: string;
2679
+ /**
2680
+ * @example
2681
+ * 2024-03-05 20:00:48
2682
+ */
2047
2683
  startTime?: string;
2684
+ /**
2685
+ * @example
2686
+ * Succeed
2687
+ */
2048
2688
  status?: string;
2049
2689
  tasks?: GetJobResponseBodyJobInfoTasks[];
2050
2690
  static names(): { [key: string]: string } {
@@ -2055,6 +2695,7 @@ export class GetJobResponseBodyJobInfo extends $tea.Model {
2055
2695
  jobDescription: 'JobDescription',
2056
2696
  jobId: 'JobId',
2057
2697
  jobName: 'JobName',
2698
+ jobScheduler: 'JobScheduler',
2058
2699
  startTime: 'StartTime',
2059
2700
  status: 'Status',
2060
2701
  tasks: 'Tasks',
@@ -2069,6 +2710,7 @@ export class GetJobResponseBodyJobInfo extends $tea.Model {
2069
2710
  jobDescription: 'string',
2070
2711
  jobId: 'string',
2071
2712
  jobName: 'string',
2713
+ jobScheduler: 'string',
2072
2714
  startTime: 'string',
2073
2715
  status: 'string',
2074
2716
  tasks: { 'type': 'array', 'itemType': GetJobResponseBodyJobInfoTasks },
@@ -2083,8 +2725,20 @@ export class GetJobResponseBodyJobInfo extends $tea.Model {
2083
2725
  export class ListExecutorsRequestFilter extends $tea.Model {
2084
2726
  executorIds?: string[];
2085
2727
  ipAddresses?: string[];
2728
+ /**
2729
+ * @example
2730
+ * testJob
2731
+ */
2086
2732
  jobName?: string;
2733
+ /**
2734
+ * @example
2735
+ * 1703819914
2736
+ */
2087
2737
  timeCreatedAfter?: number;
2738
+ /**
2739
+ * @example
2740
+ * 1703820113
2741
+ */
2088
2742
  timeCreatedBefore?: number;
2089
2743
  static names(): { [key: string]: string } {
2090
2744
  return {
@@ -2112,16 +2766,53 @@ export class ListExecutorsRequestFilter extends $tea.Model {
2112
2766
  }
2113
2767
 
2114
2768
  export class ListExecutorsResponseBodyExecutors extends $tea.Model {
2769
+ /**
2770
+ * @example
2771
+ * 0
2772
+ */
2115
2773
  arrayIndex?: number;
2774
+ /**
2775
+ * @example
2776
+ * 2024-02-20 10:04:10
2777
+ */
2116
2778
  createTime?: string;
2779
+ /**
2780
+ * @example
2781
+ * 2024-02-20 10:04:18
2782
+ */
2117
2783
  endTime?: string;
2784
+ /**
2785
+ * @example
2786
+ * job-xxxx-task0-1
2787
+ */
2118
2788
  executorId?: string;
2119
2789
  hostName?: string[];
2790
+ image?: string;
2120
2791
  ipAddress?: string[];
2792
+ /**
2793
+ * @example
2794
+ * job-hy1nggvyukuvkr******
2795
+ */
2121
2796
  jobId?: string;
2797
+ /**
2798
+ * @example
2799
+ * testJob
2800
+ */
2122
2801
  jobName?: string;
2802
+ /**
2803
+ * @example
2804
+ * Running
2805
+ */
2123
2806
  status?: string;
2807
+ /**
2808
+ * @example
2809
+ * Succeeded to release executor resource
2810
+ */
2124
2811
  statusReason?: string;
2812
+ /**
2813
+ * @example
2814
+ * task0
2815
+ */
2125
2816
  taskName?: string;
2126
2817
  static names(): { [key: string]: string } {
2127
2818
  return {
@@ -2130,6 +2821,7 @@ export class ListExecutorsResponseBodyExecutors extends $tea.Model {
2130
2821
  endTime: 'EndTime',
2131
2822
  executorId: 'ExecutorId',
2132
2823
  hostName: 'HostName',
2824
+ image: 'Image',
2133
2825
  ipAddress: 'IpAddress',
2134
2826
  jobId: 'JobId',
2135
2827
  jobName: 'JobName',
@@ -2146,6 +2838,7 @@ export class ListExecutorsResponseBodyExecutors extends $tea.Model {
2146
2838
  endTime: 'string',
2147
2839
  executorId: 'string',
2148
2840
  hostName: { 'type': 'array', 'itemType': 'string' },
2841
+ image: 'string',
2149
2842
  ipAddress: { 'type': 'array', 'itemType': 'string' },
2150
2843
  jobId: 'string',
2151
2844
  jobName: 'string',
@@ -2161,12 +2854,42 @@ export class ListExecutorsResponseBodyExecutors extends $tea.Model {
2161
2854
  }
2162
2855
 
2163
2856
  export class ListImagesResponseBodyImages extends $tea.Model {
2857
+ /**
2858
+ * @remarks
2859
+ * This parameter is required.
2860
+ */
2164
2861
  appId?: string;
2862
+ /**
2863
+ * @example
2864
+ * 2022-12-09T07:06:34Z
2865
+ */
2165
2866
  createTime?: string;
2166
2867
  description?: string;
2868
+ /**
2869
+ * @remarks
2870
+ * This parameter is required.
2871
+ *
2872
+ * @example
2873
+ * m-bp181x855551ww5yq****
2874
+ */
2167
2875
  imageId?: string;
2876
+ /**
2877
+ * @remarks
2878
+ * This parameter is required.
2879
+ *
2880
+ * @example
2881
+ * VM
2882
+ */
2168
2883
  imageType?: string;
2884
+ /**
2885
+ * @example
2886
+ * app-image
2887
+ */
2169
2888
  name?: string;
2889
+ /**
2890
+ * @example
2891
+ * v1.0
2892
+ */
2170
2893
  version?: string;
2171
2894
  static names(): { [key: string]: string } {
2172
2895
  return {
@@ -2197,19 +2920,78 @@ export class ListImagesResponseBodyImages extends $tea.Model {
2197
2920
  }
2198
2921
  }
2199
2922
 
2923
+ export class ListJobExecutorsResponseBodyExecutorStatus extends $tea.Model {
2924
+ deleted?: number;
2925
+ exception?: number;
2926
+ failed?: number;
2927
+ initing?: number;
2928
+ pending?: number;
2929
+ running?: number;
2930
+ succeeded?: number;
2931
+ static names(): { [key: string]: string } {
2932
+ return {
2933
+ deleted: 'Deleted',
2934
+ exception: 'Exception',
2935
+ failed: 'Failed',
2936
+ initing: 'Initing',
2937
+ pending: 'Pending',
2938
+ running: 'Running',
2939
+ succeeded: 'Succeeded',
2940
+ };
2941
+ }
2942
+
2943
+ static types(): { [key: string]: any } {
2944
+ return {
2945
+ deleted: 'number',
2946
+ exception: 'number',
2947
+ failed: 'number',
2948
+ initing: 'number',
2949
+ pending: 'number',
2950
+ running: 'number',
2951
+ succeeded: 'number',
2952
+ };
2953
+ }
2954
+
2955
+ constructor(map?: { [key: string]: any }) {
2956
+ super(map);
2957
+ }
2958
+ }
2959
+
2200
2960
  export class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
2961
+ /**
2962
+ * @example
2963
+ * 0
2964
+ */
2201
2965
  arrayIndex?: number;
2966
+ /**
2967
+ * @example
2968
+ * 2024-02-20 10:04:10
2969
+ */
2202
2970
  createTime?: string;
2971
+ /**
2972
+ * @example
2973
+ * 2024-02-20 10:04:18
2974
+ */
2203
2975
  endTime?: string;
2976
+ executorId?: string;
2204
2977
  hostName?: string[];
2205
2978
  ipAddress?: string[];
2979
+ /**
2980
+ * @example
2981
+ * Running
2982
+ */
2206
2983
  status?: string;
2984
+ /**
2985
+ * @example
2986
+ * Creating executor
2987
+ */
2207
2988
  statusReason?: string;
2208
2989
  static names(): { [key: string]: string } {
2209
2990
  return {
2210
2991
  arrayIndex: 'ArrayIndex',
2211
2992
  createTime: 'CreateTime',
2212
2993
  endTime: 'EndTime',
2994
+ executorId: 'ExecutorId',
2213
2995
  hostName: 'HostName',
2214
2996
  ipAddress: 'IpAddress',
2215
2997
  status: 'Status',
@@ -2222,6 +3004,7 @@ export class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
2222
3004
  arrayIndex: 'number',
2223
3005
  createTime: 'string',
2224
3006
  endTime: 'string',
3007
+ executorId: 'string',
2225
3008
  hostName: { 'type': 'array', 'itemType': 'string' },
2226
3009
  ipAddress: { 'type': 'array', 'itemType': 'string' },
2227
3010
  status: 'string',
@@ -2235,10 +3018,30 @@ export class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
2235
3018
  }
2236
3019
 
2237
3020
  export class ListJobsRequestFilter extends $tea.Model {
3021
+ /**
3022
+ * @example
3023
+ * job-xxxx
3024
+ */
2238
3025
  jobId?: string;
3026
+ /**
3027
+ * @example
3028
+ * testJob
3029
+ */
2239
3030
  jobName?: string;
3031
+ /**
3032
+ * @example
3033
+ * Running
3034
+ */
2240
3035
  status?: string;
3036
+ /**
3037
+ * @example
3038
+ * 1703819914
3039
+ */
2241
3040
  timeCreatedAfter?: number;
3041
+ /**
3042
+ * @example
3043
+ * 1703820113
3044
+ */
2242
3045
  timeCreatedBefore?: number;
2243
3046
  static names(): { [key: string]: string } {
2244
3047
  return {
@@ -2266,7 +3069,15 @@ export class ListJobsRequestFilter extends $tea.Model {
2266
3069
  }
2267
3070
 
2268
3071
  export class ListJobsRequestSortBy extends $tea.Model {
3072
+ /**
3073
+ * @example
3074
+ * time_start
3075
+ */
2269
3076
  label?: string;
3077
+ /**
3078
+ * @example
3079
+ * ASC
3080
+ */
2270
3081
  order?: string;
2271
3082
  static names(): { [key: string]: string } {
2272
3083
  return {
@@ -2288,16 +3099,60 @@ export class ListJobsRequestSortBy extends $tea.Model {
2288
3099
  }
2289
3100
 
2290
3101
  export class ListJobsResponseBodyJobList extends $tea.Model {
3102
+ /**
3103
+ * @example
3104
+ * 2024-01-25 12:29:21
3105
+ */
2291
3106
  createTime?: string;
3107
+ /**
3108
+ * @example
3109
+ * 2024-01-25 12:35:23
3110
+ */
2292
3111
  endTime?: string;
3112
+ /**
3113
+ * @example
3114
+ * 1
3115
+ */
2293
3116
  executorCount?: number;
3117
+ /**
3118
+ * @example
3119
+ * Demo
3120
+ */
2294
3121
  jobDescription?: string;
3122
+ /**
3123
+ * @example
3124
+ * job-xxx
3125
+ */
2295
3126
  jobId?: string;
3127
+ /**
3128
+ * @example
3129
+ * testJob
3130
+ */
2296
3131
  jobName?: string;
3132
+ /**
3133
+ * @example
3134
+ * 129**********
3135
+ */
2297
3136
  ownerUid?: string;
3137
+ /**
3138
+ * @example
3139
+ * 2024-01-25 12:29:23
3140
+ */
2298
3141
  startTime?: string;
3142
+ /**
3143
+ * @example
3144
+ * Running
3145
+ */
2299
3146
  status?: string;
3147
+ /**
3148
+ * @example
3149
+ * 1
3150
+ */
2300
3151
  taskCount?: number;
3152
+ /**
3153
+ * @example
3154
+ * true
3155
+ */
2301
3156
  taskSustainable?: boolean;
2302
3157
  static names(): { [key: string]: string } {
2303
3158
  return {
@@ -2360,11 +3215,11 @@ export default class Client extends OpenApi {
2360
3215
  }
2361
3216
 
2362
3217
  /**
2363
- * @summary 添加托管侧用户自定义镜像
2364
- *
2365
- * @param tmpReq AddImageRequest
2366
- * @param runtime runtime options for this request RuntimeOptions
2367
- * @return AddImageResponse
3218
+ * 添加托管侧用户自定义镜像
3219
+ *
3220
+ * @param tmpReq - AddImageRequest
3221
+ * @param runtime - runtime options for this request RuntimeOptions
3222
+ * @returns AddImageResponse
2368
3223
  */
2369
3224
  async addImageWithOptions(tmpReq: AddImageRequest, runtime: $Util.RuntimeOptions): Promise<AddImageResponse> {
2370
3225
  Util.validateModel(tmpReq);
@@ -2417,10 +3272,10 @@ export default class Client extends OpenApi {
2417
3272
  }
2418
3273
 
2419
3274
  /**
2420
- * @summary 添加托管侧用户自定义镜像
2421
- *
2422
- * @param request AddImageRequest
2423
- * @return AddImageResponse
3275
+ * 添加托管侧用户自定义镜像
3276
+ *
3277
+ * @param request - AddImageRequest
3278
+ * @returns AddImageResponse
2424
3279
  */
2425
3280
  async addImage(request: AddImageRequest): Promise<AddImageResponse> {
2426
3281
  let runtime = new $Util.RuntimeOptions({ });
@@ -2428,11 +3283,11 @@ export default class Client extends OpenApi {
2428
3283
  }
2429
3284
 
2430
3285
  /**
2431
- * @summary 提交任务
2432
- *
2433
- * @param tmpReq CreateJobRequest
2434
- * @param runtime runtime options for this request RuntimeOptions
2435
- * @return CreateJobResponse
3286
+ * 提交任务
3287
+ *
3288
+ * @param tmpReq - CreateJobRequest
3289
+ * @param runtime - runtime options for this request RuntimeOptions
3290
+ * @returns CreateJobResponse
2436
3291
  */
2437
3292
  async createJobWithOptions(tmpReq: CreateJobRequest, runtime: $Util.RuntimeOptions): Promise<CreateJobResponse> {
2438
3293
  Util.validateModel(tmpReq);
@@ -2459,6 +3314,10 @@ export default class Client extends OpenApi {
2459
3314
  query["JobName"] = request.jobName;
2460
3315
  }
2461
3316
 
3317
+ if (!Util.isUnset(request.jobScheduler)) {
3318
+ query["JobScheduler"] = request.jobScheduler;
3319
+ }
3320
+
2462
3321
  if (!Util.isUnset(request.tasksShrink)) {
2463
3322
  query["Tasks"] = request.tasksShrink;
2464
3323
  }
@@ -2481,10 +3340,10 @@ export default class Client extends OpenApi {
2481
3340
  }
2482
3341
 
2483
3342
  /**
2484
- * @summary 提交任务
2485
- *
2486
- * @param request CreateJobRequest
2487
- * @return CreateJobResponse
3343
+ * 提交任务
3344
+ *
3345
+ * @param request - CreateJobRequest
3346
+ * @returns CreateJobResponse
2488
3347
  */
2489
3348
  async createJob(request: CreateJobRequest): Promise<CreateJobResponse> {
2490
3349
  let runtime = new $Util.RuntimeOptions({ });
@@ -2492,11 +3351,11 @@ export default class Client extends OpenApi {
2492
3351
  }
2493
3352
 
2494
3353
  /**
2495
- * @summary 删除作业
2496
- *
2497
- * @param tmpReq DeleteJobsRequest
2498
- * @param runtime runtime options for this request RuntimeOptions
2499
- * @return DeleteJobsResponse
3354
+ * 删除作业
3355
+ *
3356
+ * @param tmpReq - DeleteJobsRequest
3357
+ * @param runtime - runtime options for this request RuntimeOptions
3358
+ * @returns DeleteJobsResponse
2500
3359
  */
2501
3360
  async deleteJobsWithOptions(tmpReq: DeleteJobsRequest, runtime: $Util.RuntimeOptions): Promise<DeleteJobsResponse> {
2502
3361
  Util.validateModel(tmpReq);
@@ -2537,10 +3396,10 @@ export default class Client extends OpenApi {
2537
3396
  }
2538
3397
 
2539
3398
  /**
2540
- * @summary 删除作业
2541
- *
2542
- * @param request DeleteJobsRequest
2543
- * @return DeleteJobsResponse
3399
+ * 删除作业
3400
+ *
3401
+ * @param request - DeleteJobsRequest
3402
+ * @returns DeleteJobsResponse
2544
3403
  */
2545
3404
  async deleteJobs(request: DeleteJobsRequest): Promise<DeleteJobsResponse> {
2546
3405
  let runtime = new $Util.RuntimeOptions({ });
@@ -2548,11 +3407,11 @@ export default class Client extends OpenApi {
2548
3407
  }
2549
3408
 
2550
3409
  /**
2551
- * @summary 查询作业性能数据
2552
- *
2553
- * @param tmpReq DescribeJobMetricDataRequest
2554
- * @param runtime runtime options for this request RuntimeOptions
2555
- * @return DescribeJobMetricDataResponse
3410
+ * 查询作业性能数据
3411
+ *
3412
+ * @param tmpReq - DescribeJobMetricDataRequest
3413
+ * @param runtime - runtime options for this request RuntimeOptions
3414
+ * @returns DescribeJobMetricDataResponse
2556
3415
  */
2557
3416
  async describeJobMetricDataWithOptions(tmpReq: DescribeJobMetricDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeJobMetricDataResponse> {
2558
3417
  Util.validateModel(tmpReq);
@@ -2597,10 +3456,10 @@ export default class Client extends OpenApi {
2597
3456
  }
2598
3457
 
2599
3458
  /**
2600
- * @summary 查询作业性能数据
2601
- *
2602
- * @param request DescribeJobMetricDataRequest
2603
- * @return DescribeJobMetricDataResponse
3459
+ * 查询作业性能数据
3460
+ *
3461
+ * @param request - DescribeJobMetricDataRequest
3462
+ * @returns DescribeJobMetricDataResponse
2604
3463
  */
2605
3464
  async describeJobMetricData(request: DescribeJobMetricDataRequest): Promise<DescribeJobMetricDataResponse> {
2606
3465
  let runtime = new $Util.RuntimeOptions({ });
@@ -2608,11 +3467,11 @@ export default class Client extends OpenApi {
2608
3467
  }
2609
3468
 
2610
3469
  /**
2611
- * @summary 查询作业即时监控项
2612
- *
2613
- * @param tmpReq DescribeJobMetricLastRequest
2614
- * @param runtime runtime options for this request RuntimeOptions
2615
- * @return DescribeJobMetricLastResponse
3470
+ * 查询作业即时监控项
3471
+ *
3472
+ * @param tmpReq - DescribeJobMetricLastRequest
3473
+ * @param runtime - runtime options for this request RuntimeOptions
3474
+ * @returns DescribeJobMetricLastResponse
2616
3475
  */
2617
3476
  async describeJobMetricLastWithOptions(tmpReq: DescribeJobMetricLastRequest, runtime: $Util.RuntimeOptions): Promise<DescribeJobMetricLastResponse> {
2618
3477
  Util.validateModel(tmpReq);
@@ -2653,10 +3512,10 @@ export default class Client extends OpenApi {
2653
3512
  }
2654
3513
 
2655
3514
  /**
2656
- * @summary 查询作业即时监控项
2657
- *
2658
- * @param request DescribeJobMetricLastRequest
2659
- * @return DescribeJobMetricLastResponse
3515
+ * 查询作业即时监控项
3516
+ *
3517
+ * @param request - DescribeJobMetricLastRequest
3518
+ * @returns DescribeJobMetricLastResponse
2660
3519
  */
2661
3520
  async describeJobMetricLast(request: DescribeJobMetricLastRequest): Promise<DescribeJobMetricLastResponse> {
2662
3521
  let runtime = new $Util.RuntimeOptions({ });
@@ -2664,11 +3523,11 @@ export default class Client extends OpenApi {
2664
3523
  }
2665
3524
 
2666
3525
  /**
2667
- * @summary 查询托管侧镜像详情。
2668
- *
2669
- * @param request GetImageRequest
2670
- * @param runtime runtime options for this request RuntimeOptions
2671
- * @return GetImageResponse
3526
+ * 查询托管侧镜像详情。
3527
+ *
3528
+ * @param request - GetImageRequest
3529
+ * @param runtime - runtime options for this request RuntimeOptions
3530
+ * @returns GetImageResponse
2672
3531
  */
2673
3532
  async getImageWithOptions(request: GetImageRequest, runtime: $Util.RuntimeOptions): Promise<GetImageResponse> {
2674
3533
  Util.validateModel(request);
@@ -2703,10 +3562,10 @@ export default class Client extends OpenApi {
2703
3562
  }
2704
3563
 
2705
3564
  /**
2706
- * @summary 查询托管侧镜像详情。
2707
- *
2708
- * @param request GetImageRequest
2709
- * @return GetImageResponse
3565
+ * 查询托管侧镜像详情。
3566
+ *
3567
+ * @param request - GetImageRequest
3568
+ * @returns GetImageResponse
2710
3569
  */
2711
3570
  async getImage(request: GetImageRequest): Promise<GetImageResponse> {
2712
3571
  let runtime = new $Util.RuntimeOptions({ });
@@ -2714,11 +3573,11 @@ export default class Client extends OpenApi {
2714
3573
  }
2715
3574
 
2716
3575
  /**
2717
- * @summary 查询作业详情
2718
- *
2719
- * @param request GetJobRequest
2720
- * @param runtime runtime options for this request RuntimeOptions
2721
- * @return GetJobResponse
3576
+ * 查询作业详情
3577
+ *
3578
+ * @param request - GetJobRequest
3579
+ * @param runtime - runtime options for this request RuntimeOptions
3580
+ * @returns GetJobResponse
2722
3581
  */
2723
3582
  async getJobWithOptions(request: GetJobRequest, runtime: $Util.RuntimeOptions): Promise<GetJobResponse> {
2724
3583
  Util.validateModel(request);
@@ -2745,10 +3604,10 @@ export default class Client extends OpenApi {
2745
3604
  }
2746
3605
 
2747
3606
  /**
2748
- * @summary 查询作业详情
2749
- *
2750
- * @param request GetJobRequest
2751
- * @return GetJobResponse
3607
+ * 查询作业详情
3608
+ *
3609
+ * @param request - GetJobRequest
3610
+ * @returns GetJobResponse
2752
3611
  */
2753
3612
  async getJob(request: GetJobRequest): Promise<GetJobResponse> {
2754
3613
  let runtime = new $Util.RuntimeOptions({ });
@@ -2756,11 +3615,11 @@ export default class Client extends OpenApi {
2756
3615
  }
2757
3616
 
2758
3617
  /**
2759
- * @summary 查询全局Executor信息
2760
- *
2761
- * @param tmpReq ListExecutorsRequest
2762
- * @param runtime runtime options for this request RuntimeOptions
2763
- * @return ListExecutorsResponse
3618
+ * 查询全局Executor信息
3619
+ *
3620
+ * @param tmpReq - ListExecutorsRequest
3621
+ * @param runtime - runtime options for this request RuntimeOptions
3622
+ * @returns ListExecutorsResponse
2764
3623
  */
2765
3624
  async listExecutorsWithOptions(tmpReq: ListExecutorsRequest, runtime: $Util.RuntimeOptions): Promise<ListExecutorsResponse> {
2766
3625
  Util.validateModel(tmpReq);
@@ -2801,10 +3660,10 @@ export default class Client extends OpenApi {
2801
3660
  }
2802
3661
 
2803
3662
  /**
2804
- * @summary 查询全局Executor信息
2805
- *
2806
- * @param request ListExecutorsRequest
2807
- * @return ListExecutorsResponse
3663
+ * 查询全局Executor信息
3664
+ *
3665
+ * @param request - ListExecutorsRequest
3666
+ * @returns ListExecutorsResponse
2808
3667
  */
2809
3668
  async listExecutors(request: ListExecutorsRequest): Promise<ListExecutorsResponse> {
2810
3669
  let runtime = new $Util.RuntimeOptions({ });
@@ -2812,11 +3671,11 @@ export default class Client extends OpenApi {
2812
3671
  }
2813
3672
 
2814
3673
  /**
2815
- * @summary 查看托管侧镜像列表
2816
- *
2817
- * @param tmpReq ListImagesRequest
2818
- * @param runtime runtime options for this request RuntimeOptions
2819
- * @return ListImagesResponse
3674
+ * 查看托管侧镜像列表
3675
+ *
3676
+ * @param tmpReq - ListImagesRequest
3677
+ * @param runtime - runtime options for this request RuntimeOptions
3678
+ * @returns ListImagesResponse
2820
3679
  */
2821
3680
  async listImagesWithOptions(tmpReq: ListImagesRequest, runtime: $Util.RuntimeOptions): Promise<ListImagesResponse> {
2822
3681
  Util.validateModel(tmpReq);
@@ -2873,10 +3732,10 @@ export default class Client extends OpenApi {
2873
3732
  }
2874
3733
 
2875
3734
  /**
2876
- * @summary 查看托管侧镜像列表
2877
- *
2878
- * @param request ListImagesRequest
2879
- * @return ListImagesResponse
3735
+ * 查看托管侧镜像列表
3736
+ *
3737
+ * @param request - ListImagesRequest
3738
+ * @returns ListImagesResponse
2880
3739
  */
2881
3740
  async listImages(request: ListImagesRequest): Promise<ListImagesResponse> {
2882
3741
  let runtime = new $Util.RuntimeOptions({ });
@@ -2884,11 +3743,11 @@ export default class Client extends OpenApi {
2884
3743
  }
2885
3744
 
2886
3745
  /**
2887
- * @summary 查询作业Executor信息
2888
- *
2889
- * @param request ListJobExecutorsRequest
2890
- * @param runtime runtime options for this request RuntimeOptions
2891
- * @return ListJobExecutorsResponse
3746
+ * 查询作业Executor信息
3747
+ *
3748
+ * @param request - ListJobExecutorsRequest
3749
+ * @param runtime - runtime options for this request RuntimeOptions
3750
+ * @returns ListJobExecutorsResponse
2892
3751
  */
2893
3752
  async listJobExecutorsWithOptions(request: ListJobExecutorsRequest, runtime: $Util.RuntimeOptions): Promise<ListJobExecutorsResponse> {
2894
3753
  Util.validateModel(request);
@@ -2927,10 +3786,10 @@ export default class Client extends OpenApi {
2927
3786
  }
2928
3787
 
2929
3788
  /**
2930
- * @summary 查询作业Executor信息
2931
- *
2932
- * @param request ListJobExecutorsRequest
2933
- * @return ListJobExecutorsResponse
3789
+ * 查询作业Executor信息
3790
+ *
3791
+ * @param request - ListJobExecutorsRequest
3792
+ * @returns ListJobExecutorsResponse
2934
3793
  */
2935
3794
  async listJobExecutors(request: ListJobExecutorsRequest): Promise<ListJobExecutorsResponse> {
2936
3795
  let runtime = new $Util.RuntimeOptions({ });
@@ -2938,11 +3797,11 @@ export default class Client extends OpenApi {
2938
3797
  }
2939
3798
 
2940
3799
  /**
2941
- * @summary 查询作业列表
2942
- *
2943
- * @param tmpReq ListJobsRequest
2944
- * @param runtime runtime options for this request RuntimeOptions
2945
- * @return ListJobsResponse
3800
+ * 查询作业列表
3801
+ *
3802
+ * @param tmpReq - ListJobsRequest
3803
+ * @param runtime - runtime options for this request RuntimeOptions
3804
+ * @returns ListJobsResponse
2946
3805
  */
2947
3806
  async listJobsWithOptions(tmpReq: ListJobsRequest, runtime: $Util.RuntimeOptions): Promise<ListJobsResponse> {
2948
3807
  Util.validateModel(tmpReq);
@@ -2991,10 +3850,10 @@ export default class Client extends OpenApi {
2991
3850
  }
2992
3851
 
2993
3852
  /**
2994
- * @summary 查询作业列表
2995
- *
2996
- * @param request ListJobsRequest
2997
- * @return ListJobsResponse
3853
+ * 查询作业列表
3854
+ *
3855
+ * @param request - ListJobsRequest
3856
+ * @returns ListJobsResponse
2998
3857
  */
2999
3858
  async listJobs(request: ListJobsRequest): Promise<ListJobsResponse> {
3000
3859
  let runtime = new $Util.RuntimeOptions({ });
@@ -3002,11 +3861,11 @@ export default class Client extends OpenApi {
3002
3861
  }
3003
3862
 
3004
3863
  /**
3005
- * @summary 移除托管侧镜像信息。
3006
- *
3007
- * @param request RemoveImageRequest
3008
- * @param runtime runtime options for this request RuntimeOptions
3009
- * @return RemoveImageResponse
3864
+ * 移除托管侧镜像信息。
3865
+ *
3866
+ * @param request - RemoveImageRequest
3867
+ * @param runtime - runtime options for this request RuntimeOptions
3868
+ * @returns RemoveImageResponse
3010
3869
  */
3011
3870
  async removeImageWithOptions(request: RemoveImageRequest, runtime: $Util.RuntimeOptions): Promise<RemoveImageResponse> {
3012
3871
  Util.validateModel(request);
@@ -3033,10 +3892,10 @@ export default class Client extends OpenApi {
3033
3892
  }
3034
3893
 
3035
3894
  /**
3036
- * @summary 移除托管侧镜像信息。
3037
- *
3038
- * @param request RemoveImageRequest
3039
- * @return RemoveImageResponse
3895
+ * 移除托管侧镜像信息。
3896
+ *
3897
+ * @param request - RemoveImageRequest
3898
+ * @returns RemoveImageResponse
3040
3899
  */
3041
3900
  async removeImage(request: RemoveImageRequest): Promise<RemoveImageResponse> {
3042
3901
  let runtime = new $Util.RuntimeOptions({ });