alibabacloud-ehpcinstant20230701 2.0.1__tar.gz → 2.0.3__tar.gz

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.

Potentially problematic release.


This version of alibabacloud-ehpcinstant20230701 might be problematic. Click here for more details.

Files changed (18) hide show
  1. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/ChangeLog.md +11 -0
  2. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/PKG-INFO +1 -1
  3. alibabacloud_ehpcinstant20230701-2.0.3/alibabacloud_ehpcinstant20230701/__init__.py +1 -0
  4. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/alibabacloud_ehpcinstant20230701/client.py +168 -420
  5. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/alibabacloud_ehpcinstant20230701/models.py +60 -0
  6. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/alibabacloud_ehpcinstant20230701.egg-info/PKG-INFO +1 -1
  7. alibabacloud_ehpcinstant20230701-2.0.3/alibabacloud_ehpcinstant20230701.egg-info/requires.txt +4 -0
  8. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/setup.py +3 -3
  9. alibabacloud_ehpcinstant20230701-2.0.1/alibabacloud_ehpcinstant20230701/__init__.py +0 -1
  10. alibabacloud_ehpcinstant20230701-2.0.1/alibabacloud_ehpcinstant20230701.egg-info/requires.txt +0 -4
  11. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/LICENSE +0 -0
  12. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/MANIFEST.in +0 -0
  13. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/README-CN.md +0 -0
  14. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/README.md +0 -0
  15. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/alibabacloud_ehpcinstant20230701.egg-info/SOURCES.txt +0 -0
  16. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/alibabacloud_ehpcinstant20230701.egg-info/dependency_links.txt +0 -0
  17. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/alibabacloud_ehpcinstant20230701.egg-info/top_level.txt +0 -0
  18. {alibabacloud_ehpcinstant20230701-2.0.1 → alibabacloud_ehpcinstant20230701-2.0.3}/setup.cfg +0 -0
@@ -1,3 +1,14 @@
1
+ 2025-05-09 Version: 2.0.2
2
+ - Update API GetJob: add response parameters Body.JobInfo.AppExtraInfo.
3
+ - Update API ListJobs: add response parameters Body.JobList.$.AppExtraInfo.
4
+
5
+
6
+ 2025-03-31 Version: 2.0.1
7
+ - Update API CreateJob: add request parameters DeploymentPolicy.Level.
8
+ - Update API GetJob: add response parameters Body.JobInfo.DeploymentPolicy.Level.
9
+ - Update API GetJob: add response parameters Body.JobInfo.DeploymentPolicy.Network.EnableENIMapping.
10
+
11
+
1
12
  2025-02-12 Version: 2.0.0
2
13
  - Update API CreateJob: add param SecurityPolicy.
3
14
  - Update API ListExecutors: update param PageNumber.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_ehpcinstant20230701
3
- Version: 2.0.1
3
+ Version: 2.0.3
4
4
  Summary: Alibaba Cloud EhpcInstant (20230701) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -87,16 +87,10 @@ class Client(OpenApiClient):
87
87
  req_body_type='formData',
88
88
  body_type='json'
89
89
  )
90
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
91
- return TeaCore.from_map(
92
- ehpc_instant_20230701_models.AddImageResponse(),
93
- self.call_api(params, req, runtime)
94
- )
95
- else:
96
- return TeaCore.from_map(
97
- ehpc_instant_20230701_models.AddImageResponse(),
98
- self.execute(params, req, runtime)
99
- )
90
+ return TeaCore.from_map(
91
+ ehpc_instant_20230701_models.AddImageResponse(),
92
+ self.call_api(params, req, runtime)
93
+ )
100
94
 
101
95
  async def add_image_with_options_async(
102
96
  self,
@@ -144,16 +138,10 @@ class Client(OpenApiClient):
144
138
  req_body_type='formData',
145
139
  body_type='json'
146
140
  )
147
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
148
- return TeaCore.from_map(
149
- ehpc_instant_20230701_models.AddImageResponse(),
150
- await self.call_api_async(params, req, runtime)
151
- )
152
- else:
153
- return TeaCore.from_map(
154
- ehpc_instant_20230701_models.AddImageResponse(),
155
- await self.execute_async(params, req, runtime)
156
- )
141
+ return TeaCore.from_map(
142
+ ehpc_instant_20230701_models.AddImageResponse(),
143
+ await self.call_api_async(params, req, runtime)
144
+ )
157
145
 
158
146
  def add_image(
159
147
  self,
@@ -229,16 +217,10 @@ class Client(OpenApiClient):
229
217
  req_body_type='formData',
230
218
  body_type='json'
231
219
  )
232
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
233
- return TeaCore.from_map(
234
- ehpc_instant_20230701_models.CreateJobResponse(),
235
- self.call_api(params, req, runtime)
236
- )
237
- else:
238
- return TeaCore.from_map(
239
- ehpc_instant_20230701_models.CreateJobResponse(),
240
- self.execute(params, req, runtime)
241
- )
220
+ return TeaCore.from_map(
221
+ ehpc_instant_20230701_models.CreateJobResponse(),
222
+ self.call_api(params, req, runtime)
223
+ )
242
224
 
243
225
  async def create_job_with_options_async(
244
226
  self,
@@ -288,16 +270,10 @@ class Client(OpenApiClient):
288
270
  req_body_type='formData',
289
271
  body_type='json'
290
272
  )
291
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
292
- return TeaCore.from_map(
293
- ehpc_instant_20230701_models.CreateJobResponse(),
294
- await self.call_api_async(params, req, runtime)
295
- )
296
- else:
297
- return TeaCore.from_map(
298
- ehpc_instant_20230701_models.CreateJobResponse(),
299
- await self.execute_async(params, req, runtime)
300
- )
273
+ return TeaCore.from_map(
274
+ ehpc_instant_20230701_models.CreateJobResponse(),
275
+ await self.call_api_async(params, req, runtime)
276
+ )
301
277
 
302
278
  def create_job(
303
279
  self,
@@ -363,16 +339,10 @@ class Client(OpenApiClient):
363
339
  req_body_type='formData',
364
340
  body_type='json'
365
341
  )
366
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
367
- return TeaCore.from_map(
368
- ehpc_instant_20230701_models.CreatePoolResponse(),
369
- self.call_api(params, req, runtime)
370
- )
371
- else:
372
- return TeaCore.from_map(
373
- ehpc_instant_20230701_models.CreatePoolResponse(),
374
- self.execute(params, req, runtime)
375
- )
342
+ return TeaCore.from_map(
343
+ ehpc_instant_20230701_models.CreatePoolResponse(),
344
+ self.call_api(params, req, runtime)
345
+ )
376
346
 
377
347
  async def create_pool_with_options_async(
378
348
  self,
@@ -412,16 +382,10 @@ class Client(OpenApiClient):
412
382
  req_body_type='formData',
413
383
  body_type='json'
414
384
  )
415
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
416
- return TeaCore.from_map(
417
- ehpc_instant_20230701_models.CreatePoolResponse(),
418
- await self.call_api_async(params, req, runtime)
419
- )
420
- else:
421
- return TeaCore.from_map(
422
- ehpc_instant_20230701_models.CreatePoolResponse(),
423
- await self.execute_async(params, req, runtime)
424
- )
385
+ return TeaCore.from_map(
386
+ ehpc_instant_20230701_models.CreatePoolResponse(),
387
+ await self.call_api_async(params, req, runtime)
388
+ )
425
389
 
426
390
  def create_pool(
427
391
  self,
@@ -487,16 +451,10 @@ class Client(OpenApiClient):
487
451
  req_body_type='formData',
488
452
  body_type='json'
489
453
  )
490
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
491
- return TeaCore.from_map(
492
- ehpc_instant_20230701_models.DeleteJobsResponse(),
493
- self.call_api(params, req, runtime)
494
- )
495
- else:
496
- return TeaCore.from_map(
497
- ehpc_instant_20230701_models.DeleteJobsResponse(),
498
- self.execute(params, req, runtime)
499
- )
454
+ return TeaCore.from_map(
455
+ ehpc_instant_20230701_models.DeleteJobsResponse(),
456
+ self.call_api(params, req, runtime)
457
+ )
500
458
 
501
459
  async def delete_jobs_with_options_async(
502
460
  self,
@@ -536,16 +494,10 @@ class Client(OpenApiClient):
536
494
  req_body_type='formData',
537
495
  body_type='json'
538
496
  )
539
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
540
- return TeaCore.from_map(
541
- ehpc_instant_20230701_models.DeleteJobsResponse(),
542
- await self.call_api_async(params, req, runtime)
543
- )
544
- else:
545
- return TeaCore.from_map(
546
- ehpc_instant_20230701_models.DeleteJobsResponse(),
547
- await self.execute_async(params, req, runtime)
548
- )
497
+ return TeaCore.from_map(
498
+ ehpc_instant_20230701_models.DeleteJobsResponse(),
499
+ await self.call_api_async(params, req, runtime)
500
+ )
549
501
 
550
502
  def delete_jobs(
551
503
  self,
@@ -603,16 +555,10 @@ class Client(OpenApiClient):
603
555
  req_body_type='formData',
604
556
  body_type='json'
605
557
  )
606
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
607
- return TeaCore.from_map(
608
- ehpc_instant_20230701_models.DeletePoolResponse(),
609
- self.call_api(params, req, runtime)
610
- )
611
- else:
612
- return TeaCore.from_map(
613
- ehpc_instant_20230701_models.DeletePoolResponse(),
614
- self.execute(params, req, runtime)
615
- )
558
+ return TeaCore.from_map(
559
+ ehpc_instant_20230701_models.DeletePoolResponse(),
560
+ self.call_api(params, req, runtime)
561
+ )
616
562
 
617
563
  async def delete_pool_with_options_async(
618
564
  self,
@@ -644,16 +590,10 @@ class Client(OpenApiClient):
644
590
  req_body_type='formData',
645
591
  body_type='json'
646
592
  )
647
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
648
- return TeaCore.from_map(
649
- ehpc_instant_20230701_models.DeletePoolResponse(),
650
- await self.call_api_async(params, req, runtime)
651
- )
652
- else:
653
- return TeaCore.from_map(
654
- ehpc_instant_20230701_models.DeletePoolResponse(),
655
- await self.execute_async(params, req, runtime)
656
- )
593
+ return TeaCore.from_map(
594
+ ehpc_instant_20230701_models.DeletePoolResponse(),
595
+ await self.call_api_async(params, req, runtime)
596
+ )
657
597
 
658
598
  def delete_pool(
659
599
  self,
@@ -721,16 +661,10 @@ class Client(OpenApiClient):
721
661
  req_body_type='formData',
722
662
  body_type='json'
723
663
  )
724
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
725
- return TeaCore.from_map(
726
- ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
727
- self.call_api(params, req, runtime)
728
- )
729
- else:
730
- return TeaCore.from_map(
731
- ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
732
- self.execute(params, req, runtime)
733
- )
664
+ return TeaCore.from_map(
665
+ ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
666
+ self.call_api(params, req, runtime)
667
+ )
734
668
 
735
669
  async def describe_job_metric_data_with_options_async(
736
670
  self,
@@ -772,16 +706,10 @@ class Client(OpenApiClient):
772
706
  req_body_type='formData',
773
707
  body_type='json'
774
708
  )
775
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
776
- return TeaCore.from_map(
777
- ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
778
- await self.call_api_async(params, req, runtime)
779
- )
780
- else:
781
- return TeaCore.from_map(
782
- ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
783
- await self.execute_async(params, req, runtime)
784
- )
709
+ return TeaCore.from_map(
710
+ ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
711
+ await self.call_api_async(params, req, runtime)
712
+ )
785
713
 
786
714
  def describe_job_metric_data(
787
715
  self,
@@ -847,16 +775,10 @@ class Client(OpenApiClient):
847
775
  req_body_type='formData',
848
776
  body_type='json'
849
777
  )
850
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
851
- return TeaCore.from_map(
852
- ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
853
- self.call_api(params, req, runtime)
854
- )
855
- else:
856
- return TeaCore.from_map(
857
- ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
858
- self.execute(params, req, runtime)
859
- )
778
+ return TeaCore.from_map(
779
+ ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
780
+ self.call_api(params, req, runtime)
781
+ )
860
782
 
861
783
  async def describe_job_metric_last_with_options_async(
862
784
  self,
@@ -896,16 +818,10 @@ class Client(OpenApiClient):
896
818
  req_body_type='formData',
897
819
  body_type='json'
898
820
  )
899
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
900
- return TeaCore.from_map(
901
- ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
902
- await self.call_api_async(params, req, runtime)
903
- )
904
- else:
905
- return TeaCore.from_map(
906
- ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
907
- await self.execute_async(params, req, runtime)
908
- )
821
+ return TeaCore.from_map(
822
+ ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
823
+ await self.call_api_async(params, req, runtime)
824
+ )
909
825
 
910
826
  def describe_job_metric_last(
911
827
  self,
@@ -971,16 +887,10 @@ class Client(OpenApiClient):
971
887
  req_body_type='formData',
972
888
  body_type='json'
973
889
  )
974
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
975
- return TeaCore.from_map(
976
- ehpc_instant_20230701_models.GetAppVersionsResponse(),
977
- self.call_api(params, req, runtime)
978
- )
979
- else:
980
- return TeaCore.from_map(
981
- ehpc_instant_20230701_models.GetAppVersionsResponse(),
982
- self.execute(params, req, runtime)
983
- )
890
+ return TeaCore.from_map(
891
+ ehpc_instant_20230701_models.GetAppVersionsResponse(),
892
+ self.call_api(params, req, runtime)
893
+ )
984
894
 
985
895
  async def get_app_versions_with_options_async(
986
896
  self,
@@ -1020,16 +930,10 @@ class Client(OpenApiClient):
1020
930
  req_body_type='formData',
1021
931
  body_type='json'
1022
932
  )
1023
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1024
- return TeaCore.from_map(
1025
- ehpc_instant_20230701_models.GetAppVersionsResponse(),
1026
- await self.call_api_async(params, req, runtime)
1027
- )
1028
- else:
1029
- return TeaCore.from_map(
1030
- ehpc_instant_20230701_models.GetAppVersionsResponse(),
1031
- await self.execute_async(params, req, runtime)
1032
- )
933
+ return TeaCore.from_map(
934
+ ehpc_instant_20230701_models.GetAppVersionsResponse(),
935
+ await self.call_api_async(params, req, runtime)
936
+ )
1033
937
 
1034
938
  def get_app_versions(
1035
939
  self,
@@ -1091,16 +995,10 @@ class Client(OpenApiClient):
1091
995
  req_body_type='formData',
1092
996
  body_type='json'
1093
997
  )
1094
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1095
- return TeaCore.from_map(
1096
- ehpc_instant_20230701_models.GetImageResponse(),
1097
- self.call_api(params, req, runtime)
1098
- )
1099
- else:
1100
- return TeaCore.from_map(
1101
- ehpc_instant_20230701_models.GetImageResponse(),
1102
- self.execute(params, req, runtime)
1103
- )
998
+ return TeaCore.from_map(
999
+ ehpc_instant_20230701_models.GetImageResponse(),
1000
+ self.call_api(params, req, runtime)
1001
+ )
1104
1002
 
1105
1003
  async def get_image_with_options_async(
1106
1004
  self,
@@ -1136,16 +1034,10 @@ class Client(OpenApiClient):
1136
1034
  req_body_type='formData',
1137
1035
  body_type='json'
1138
1036
  )
1139
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1140
- return TeaCore.from_map(
1141
- ehpc_instant_20230701_models.GetImageResponse(),
1142
- await self.call_api_async(params, req, runtime)
1143
- )
1144
- else:
1145
- return TeaCore.from_map(
1146
- ehpc_instant_20230701_models.GetImageResponse(),
1147
- await self.execute_async(params, req, runtime)
1148
- )
1037
+ return TeaCore.from_map(
1038
+ ehpc_instant_20230701_models.GetImageResponse(),
1039
+ await self.call_api_async(params, req, runtime)
1040
+ )
1149
1041
 
1150
1042
  def get_image(
1151
1043
  self,
@@ -1203,16 +1095,10 @@ class Client(OpenApiClient):
1203
1095
  req_body_type='formData',
1204
1096
  body_type='json'
1205
1097
  )
1206
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1207
- return TeaCore.from_map(
1208
- ehpc_instant_20230701_models.GetJobResponse(),
1209
- self.call_api(params, req, runtime)
1210
- )
1211
- else:
1212
- return TeaCore.from_map(
1213
- ehpc_instant_20230701_models.GetJobResponse(),
1214
- self.execute(params, req, runtime)
1215
- )
1098
+ return TeaCore.from_map(
1099
+ ehpc_instant_20230701_models.GetJobResponse(),
1100
+ self.call_api(params, req, runtime)
1101
+ )
1216
1102
 
1217
1103
  async def get_job_with_options_async(
1218
1104
  self,
@@ -1244,16 +1130,10 @@ class Client(OpenApiClient):
1244
1130
  req_body_type='formData',
1245
1131
  body_type='json'
1246
1132
  )
1247
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1248
- return TeaCore.from_map(
1249
- ehpc_instant_20230701_models.GetJobResponse(),
1250
- await self.call_api_async(params, req, runtime)
1251
- )
1252
- else:
1253
- return TeaCore.from_map(
1254
- ehpc_instant_20230701_models.GetJobResponse(),
1255
- await self.execute_async(params, req, runtime)
1256
- )
1133
+ return TeaCore.from_map(
1134
+ ehpc_instant_20230701_models.GetJobResponse(),
1135
+ await self.call_api_async(params, req, runtime)
1136
+ )
1257
1137
 
1258
1138
  def get_job(
1259
1139
  self,
@@ -1311,16 +1191,10 @@ class Client(OpenApiClient):
1311
1191
  req_body_type='formData',
1312
1192
  body_type='json'
1313
1193
  )
1314
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1315
- return TeaCore.from_map(
1316
- ehpc_instant_20230701_models.GetPoolResponse(),
1317
- self.call_api(params, req, runtime)
1318
- )
1319
- else:
1320
- return TeaCore.from_map(
1321
- ehpc_instant_20230701_models.GetPoolResponse(),
1322
- self.execute(params, req, runtime)
1323
- )
1194
+ return TeaCore.from_map(
1195
+ ehpc_instant_20230701_models.GetPoolResponse(),
1196
+ self.call_api(params, req, runtime)
1197
+ )
1324
1198
 
1325
1199
  async def get_pool_with_options_async(
1326
1200
  self,
@@ -1352,16 +1226,10 @@ class Client(OpenApiClient):
1352
1226
  req_body_type='formData',
1353
1227
  body_type='json'
1354
1228
  )
1355
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1356
- return TeaCore.from_map(
1357
- ehpc_instant_20230701_models.GetPoolResponse(),
1358
- await self.call_api_async(params, req, runtime)
1359
- )
1360
- else:
1361
- return TeaCore.from_map(
1362
- ehpc_instant_20230701_models.GetPoolResponse(),
1363
- await self.execute_async(params, req, runtime)
1364
- )
1229
+ return TeaCore.from_map(
1230
+ ehpc_instant_20230701_models.GetPoolResponse(),
1231
+ await self.call_api_async(params, req, runtime)
1232
+ )
1365
1233
 
1366
1234
  def get_pool(
1367
1235
  self,
@@ -1427,16 +1295,10 @@ class Client(OpenApiClient):
1427
1295
  req_body_type='formData',
1428
1296
  body_type='json'
1429
1297
  )
1430
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1431
- return TeaCore.from_map(
1432
- ehpc_instant_20230701_models.ListExecutorsResponse(),
1433
- self.call_api(params, req, runtime)
1434
- )
1435
- else:
1436
- return TeaCore.from_map(
1437
- ehpc_instant_20230701_models.ListExecutorsResponse(),
1438
- self.execute(params, req, runtime)
1439
- )
1298
+ return TeaCore.from_map(
1299
+ ehpc_instant_20230701_models.ListExecutorsResponse(),
1300
+ self.call_api(params, req, runtime)
1301
+ )
1440
1302
 
1441
1303
  async def list_executors_with_options_async(
1442
1304
  self,
@@ -1476,16 +1338,10 @@ class Client(OpenApiClient):
1476
1338
  req_body_type='formData',
1477
1339
  body_type='json'
1478
1340
  )
1479
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1480
- return TeaCore.from_map(
1481
- ehpc_instant_20230701_models.ListExecutorsResponse(),
1482
- await self.call_api_async(params, req, runtime)
1483
- )
1484
- else:
1485
- return TeaCore.from_map(
1486
- ehpc_instant_20230701_models.ListExecutorsResponse(),
1487
- await self.execute_async(params, req, runtime)
1488
- )
1341
+ return TeaCore.from_map(
1342
+ ehpc_instant_20230701_models.ListExecutorsResponse(),
1343
+ await self.call_api_async(params, req, runtime)
1344
+ )
1489
1345
 
1490
1346
  def list_executors(
1491
1347
  self,
@@ -1561,16 +1417,10 @@ class Client(OpenApiClient):
1561
1417
  req_body_type='formData',
1562
1418
  body_type='json'
1563
1419
  )
1564
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1565
- return TeaCore.from_map(
1566
- ehpc_instant_20230701_models.ListImagesResponse(),
1567
- self.call_api(params, req, runtime)
1568
- )
1569
- else:
1570
- return TeaCore.from_map(
1571
- ehpc_instant_20230701_models.ListImagesResponse(),
1572
- self.execute(params, req, runtime)
1573
- )
1420
+ return TeaCore.from_map(
1421
+ ehpc_instant_20230701_models.ListImagesResponse(),
1422
+ self.call_api(params, req, runtime)
1423
+ )
1574
1424
 
1575
1425
  async def list_images_with_options_async(
1576
1426
  self,
@@ -1620,16 +1470,10 @@ class Client(OpenApiClient):
1620
1470
  req_body_type='formData',
1621
1471
  body_type='json'
1622
1472
  )
1623
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1624
- return TeaCore.from_map(
1625
- ehpc_instant_20230701_models.ListImagesResponse(),
1626
- await self.call_api_async(params, req, runtime)
1627
- )
1628
- else:
1629
- return TeaCore.from_map(
1630
- ehpc_instant_20230701_models.ListImagesResponse(),
1631
- await self.execute_async(params, req, runtime)
1632
- )
1473
+ return TeaCore.from_map(
1474
+ ehpc_instant_20230701_models.ListImagesResponse(),
1475
+ await self.call_api_async(params, req, runtime)
1476
+ )
1633
1477
 
1634
1478
  def list_images(
1635
1479
  self,
@@ -1693,16 +1537,10 @@ class Client(OpenApiClient):
1693
1537
  req_body_type='formData',
1694
1538
  body_type='json'
1695
1539
  )
1696
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1697
- return TeaCore.from_map(
1698
- ehpc_instant_20230701_models.ListJobExecutorsResponse(),
1699
- self.call_api(params, req, runtime)
1700
- )
1701
- else:
1702
- return TeaCore.from_map(
1703
- ehpc_instant_20230701_models.ListJobExecutorsResponse(),
1704
- self.execute(params, req, runtime)
1705
- )
1540
+ return TeaCore.from_map(
1541
+ ehpc_instant_20230701_models.ListJobExecutorsResponse(),
1542
+ self.call_api(params, req, runtime)
1543
+ )
1706
1544
 
1707
1545
  async def list_job_executors_with_options_async(
1708
1546
  self,
@@ -1740,16 +1578,10 @@ class Client(OpenApiClient):
1740
1578
  req_body_type='formData',
1741
1579
  body_type='json'
1742
1580
  )
1743
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1744
- return TeaCore.from_map(
1745
- ehpc_instant_20230701_models.ListJobExecutorsResponse(),
1746
- await self.call_api_async(params, req, runtime)
1747
- )
1748
- else:
1749
- return TeaCore.from_map(
1750
- ehpc_instant_20230701_models.ListJobExecutorsResponse(),
1751
- await self.execute_async(params, req, runtime)
1752
- )
1581
+ return TeaCore.from_map(
1582
+ ehpc_instant_20230701_models.ListJobExecutorsResponse(),
1583
+ await self.call_api_async(params, req, runtime)
1584
+ )
1753
1585
 
1754
1586
  def list_job_executors(
1755
1587
  self,
@@ -1819,16 +1651,10 @@ class Client(OpenApiClient):
1819
1651
  req_body_type='formData',
1820
1652
  body_type='json'
1821
1653
  )
1822
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1823
- return TeaCore.from_map(
1824
- ehpc_instant_20230701_models.ListJobsResponse(),
1825
- self.call_api(params, req, runtime)
1826
- )
1827
- else:
1828
- return TeaCore.from_map(
1829
- ehpc_instant_20230701_models.ListJobsResponse(),
1830
- self.execute(params, req, runtime)
1831
- )
1654
+ return TeaCore.from_map(
1655
+ ehpc_instant_20230701_models.ListJobsResponse(),
1656
+ self.call_api(params, req, runtime)
1657
+ )
1832
1658
 
1833
1659
  async def list_jobs_with_options_async(
1834
1660
  self,
@@ -1872,16 +1698,10 @@ class Client(OpenApiClient):
1872
1698
  req_body_type='formData',
1873
1699
  body_type='json'
1874
1700
  )
1875
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1876
- return TeaCore.from_map(
1877
- ehpc_instant_20230701_models.ListJobsResponse(),
1878
- await self.call_api_async(params, req, runtime)
1879
- )
1880
- else:
1881
- return TeaCore.from_map(
1882
- ehpc_instant_20230701_models.ListJobsResponse(),
1883
- await self.execute_async(params, req, runtime)
1884
- )
1701
+ return TeaCore.from_map(
1702
+ ehpc_instant_20230701_models.ListJobsResponse(),
1703
+ await self.call_api_async(params, req, runtime)
1704
+ )
1885
1705
 
1886
1706
  def list_jobs(
1887
1707
  self,
@@ -1947,16 +1767,10 @@ class Client(OpenApiClient):
1947
1767
  req_body_type='formData',
1948
1768
  body_type='json'
1949
1769
  )
1950
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
1951
- return TeaCore.from_map(
1952
- ehpc_instant_20230701_models.ListPoolsResponse(),
1953
- self.call_api(params, req, runtime)
1954
- )
1955
- else:
1956
- return TeaCore.from_map(
1957
- ehpc_instant_20230701_models.ListPoolsResponse(),
1958
- self.execute(params, req, runtime)
1959
- )
1770
+ return TeaCore.from_map(
1771
+ ehpc_instant_20230701_models.ListPoolsResponse(),
1772
+ self.call_api(params, req, runtime)
1773
+ )
1960
1774
 
1961
1775
  async def list_pools_with_options_async(
1962
1776
  self,
@@ -1996,16 +1810,10 @@ class Client(OpenApiClient):
1996
1810
  req_body_type='formData',
1997
1811
  body_type='json'
1998
1812
  )
1999
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2000
- return TeaCore.from_map(
2001
- ehpc_instant_20230701_models.ListPoolsResponse(),
2002
- await self.call_api_async(params, req, runtime)
2003
- )
2004
- else:
2005
- return TeaCore.from_map(
2006
- ehpc_instant_20230701_models.ListPoolsResponse(),
2007
- await self.execute_async(params, req, runtime)
2008
- )
1813
+ return TeaCore.from_map(
1814
+ ehpc_instant_20230701_models.ListPoolsResponse(),
1815
+ await self.call_api_async(params, req, runtime)
1816
+ )
2009
1817
 
2010
1818
  def list_pools(
2011
1819
  self,
@@ -2071,16 +1879,10 @@ class Client(OpenApiClient):
2071
1879
  req_body_type='formData',
2072
1880
  body_type='json'
2073
1881
  )
2074
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2075
- return TeaCore.from_map(
2076
- ehpc_instant_20230701_models.ListTagResourcesResponse(),
2077
- self.call_api(params, req, runtime)
2078
- )
2079
- else:
2080
- return TeaCore.from_map(
2081
- ehpc_instant_20230701_models.ListTagResourcesResponse(),
2082
- self.execute(params, req, runtime)
2083
- )
1882
+ return TeaCore.from_map(
1883
+ ehpc_instant_20230701_models.ListTagResourcesResponse(),
1884
+ self.call_api(params, req, runtime)
1885
+ )
2084
1886
 
2085
1887
  async def list_tag_resources_with_options_async(
2086
1888
  self,
@@ -2120,16 +1922,10 @@ class Client(OpenApiClient):
2120
1922
  req_body_type='formData',
2121
1923
  body_type='json'
2122
1924
  )
2123
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2124
- return TeaCore.from_map(
2125
- ehpc_instant_20230701_models.ListTagResourcesResponse(),
2126
- await self.call_api_async(params, req, runtime)
2127
- )
2128
- else:
2129
- return TeaCore.from_map(
2130
- ehpc_instant_20230701_models.ListTagResourcesResponse(),
2131
- await self.execute_async(params, req, runtime)
2132
- )
1925
+ return TeaCore.from_map(
1926
+ ehpc_instant_20230701_models.ListTagResourcesResponse(),
1927
+ await self.call_api_async(params, req, runtime)
1928
+ )
2133
1929
 
2134
1930
  def list_tag_resources(
2135
1931
  self,
@@ -2189,16 +1985,10 @@ class Client(OpenApiClient):
2189
1985
  req_body_type='formData',
2190
1986
  body_type='json'
2191
1987
  )
2192
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2193
- return TeaCore.from_map(
2194
- ehpc_instant_20230701_models.RemoveImageResponse(),
2195
- self.call_api(params, req, runtime)
2196
- )
2197
- else:
2198
- return TeaCore.from_map(
2199
- ehpc_instant_20230701_models.RemoveImageResponse(),
2200
- self.execute(params, req, runtime)
2201
- )
1988
+ return TeaCore.from_map(
1989
+ ehpc_instant_20230701_models.RemoveImageResponse(),
1990
+ self.call_api(params, req, runtime)
1991
+ )
2202
1992
 
2203
1993
  async def remove_image_with_options_async(
2204
1994
  self,
@@ -2232,16 +2022,10 @@ class Client(OpenApiClient):
2232
2022
  req_body_type='formData',
2233
2023
  body_type='json'
2234
2024
  )
2235
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2236
- return TeaCore.from_map(
2237
- ehpc_instant_20230701_models.RemoveImageResponse(),
2238
- await self.call_api_async(params, req, runtime)
2239
- )
2240
- else:
2241
- return TeaCore.from_map(
2242
- ehpc_instant_20230701_models.RemoveImageResponse(),
2243
- await self.execute_async(params, req, runtime)
2244
- )
2025
+ return TeaCore.from_map(
2026
+ ehpc_instant_20230701_models.RemoveImageResponse(),
2027
+ await self.call_api_async(params, req, runtime)
2028
+ )
2245
2029
 
2246
2030
  def remove_image(
2247
2031
  self,
@@ -2303,16 +2087,10 @@ class Client(OpenApiClient):
2303
2087
  req_body_type='formData',
2304
2088
  body_type='json'
2305
2089
  )
2306
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2307
- return TeaCore.from_map(
2308
- ehpc_instant_20230701_models.TagResourcesResponse(),
2309
- self.call_api(params, req, runtime)
2310
- )
2311
- else:
2312
- return TeaCore.from_map(
2313
- ehpc_instant_20230701_models.TagResourcesResponse(),
2314
- self.execute(params, req, runtime)
2315
- )
2090
+ return TeaCore.from_map(
2091
+ ehpc_instant_20230701_models.TagResourcesResponse(),
2092
+ self.call_api(params, req, runtime)
2093
+ )
2316
2094
 
2317
2095
  async def tag_resources_with_options_async(
2318
2096
  self,
@@ -2348,16 +2126,10 @@ class Client(OpenApiClient):
2348
2126
  req_body_type='formData',
2349
2127
  body_type='json'
2350
2128
  )
2351
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2352
- return TeaCore.from_map(
2353
- ehpc_instant_20230701_models.TagResourcesResponse(),
2354
- await self.call_api_async(params, req, runtime)
2355
- )
2356
- else:
2357
- return TeaCore.from_map(
2358
- ehpc_instant_20230701_models.TagResourcesResponse(),
2359
- await self.execute_async(params, req, runtime)
2360
- )
2129
+ return TeaCore.from_map(
2130
+ ehpc_instant_20230701_models.TagResourcesResponse(),
2131
+ await self.call_api_async(params, req, runtime)
2132
+ )
2361
2133
 
2362
2134
  def tag_resources(
2363
2135
  self,
@@ -2421,16 +2193,10 @@ class Client(OpenApiClient):
2421
2193
  req_body_type='formData',
2422
2194
  body_type='json'
2423
2195
  )
2424
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2425
- return TeaCore.from_map(
2426
- ehpc_instant_20230701_models.UnTagResourcesResponse(),
2427
- self.call_api(params, req, runtime)
2428
- )
2429
- else:
2430
- return TeaCore.from_map(
2431
- ehpc_instant_20230701_models.UnTagResourcesResponse(),
2432
- self.execute(params, req, runtime)
2433
- )
2196
+ return TeaCore.from_map(
2197
+ ehpc_instant_20230701_models.UnTagResourcesResponse(),
2198
+ self.call_api(params, req, runtime)
2199
+ )
2434
2200
 
2435
2201
  async def un_tag_resources_with_options_async(
2436
2202
  self,
@@ -2468,16 +2234,10 @@ class Client(OpenApiClient):
2468
2234
  req_body_type='formData',
2469
2235
  body_type='json'
2470
2236
  )
2471
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2472
- return TeaCore.from_map(
2473
- ehpc_instant_20230701_models.UnTagResourcesResponse(),
2474
- await self.call_api_async(params, req, runtime)
2475
- )
2476
- else:
2477
- return TeaCore.from_map(
2478
- ehpc_instant_20230701_models.UnTagResourcesResponse(),
2479
- await self.execute_async(params, req, runtime)
2480
- )
2237
+ return TeaCore.from_map(
2238
+ ehpc_instant_20230701_models.UnTagResourcesResponse(),
2239
+ await self.call_api_async(params, req, runtime)
2240
+ )
2481
2241
 
2482
2242
  def un_tag_resources(
2483
2243
  self,
@@ -2543,16 +2303,10 @@ class Client(OpenApiClient):
2543
2303
  req_body_type='formData',
2544
2304
  body_type='json'
2545
2305
  )
2546
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2547
- return TeaCore.from_map(
2548
- ehpc_instant_20230701_models.UpdatePoolResponse(),
2549
- self.call_api(params, req, runtime)
2550
- )
2551
- else:
2552
- return TeaCore.from_map(
2553
- ehpc_instant_20230701_models.UpdatePoolResponse(),
2554
- self.execute(params, req, runtime)
2555
- )
2306
+ return TeaCore.from_map(
2307
+ ehpc_instant_20230701_models.UpdatePoolResponse(),
2308
+ self.call_api(params, req, runtime)
2309
+ )
2556
2310
 
2557
2311
  async def update_pool_with_options_async(
2558
2312
  self,
@@ -2592,16 +2346,10 @@ class Client(OpenApiClient):
2592
2346
  req_body_type='formData',
2593
2347
  body_type='json'
2594
2348
  )
2595
- if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
2596
- return TeaCore.from_map(
2597
- ehpc_instant_20230701_models.UpdatePoolResponse(),
2598
- await self.call_api_async(params, req, runtime)
2599
- )
2600
- else:
2601
- return TeaCore.from_map(
2602
- ehpc_instant_20230701_models.UpdatePoolResponse(),
2603
- await self.execute_async(params, req, runtime)
2604
- )
2349
+ return TeaCore.from_map(
2350
+ ehpc_instant_20230701_models.UpdatePoolResponse(),
2351
+ await self.call_api_async(params, req, runtime)
2352
+ )
2605
2353
 
2606
2354
  def update_pool(
2607
2355
  self,
@@ -397,11 +397,15 @@ class CreateJobRequestDeploymentPolicy(TeaModel):
397
397
  allocation_spec: str = None,
398
398
  level: str = None,
399
399
  network: CreateJobRequestDeploymentPolicyNetwork = None,
400
+ pool: str = None,
401
+ priority: int = None,
400
402
  tag: List[CreateJobRequestDeploymentPolicyTag] = None,
401
403
  ):
402
404
  self.allocation_spec = allocation_spec
403
405
  self.level = level
404
406
  self.network = network
407
+ self.pool = pool
408
+ self.priority = priority
405
409
  self.tag = tag
406
410
 
407
411
  def validate(self):
@@ -424,6 +428,10 @@ class CreateJobRequestDeploymentPolicy(TeaModel):
424
428
  result['Level'] = self.level
425
429
  if self.network is not None:
426
430
  result['Network'] = self.network.to_map()
431
+ if self.pool is not None:
432
+ result['Pool'] = self.pool
433
+ if self.priority is not None:
434
+ result['Priority'] = self.priority
427
435
  result['Tag'] = []
428
436
  if self.tag is not None:
429
437
  for k in self.tag:
@@ -439,6 +447,10 @@ class CreateJobRequestDeploymentPolicy(TeaModel):
439
447
  if m.get('Network') is not None:
440
448
  temp_model = CreateJobRequestDeploymentPolicyNetwork()
441
449
  self.network = temp_model.from_map(m['Network'])
450
+ if m.get('Pool') is not None:
451
+ self.pool = m.get('Pool')
452
+ if m.get('Priority') is not None:
453
+ self.priority = m.get('Priority')
442
454
  self.tag = []
443
455
  if m.get('Tag') is not None:
444
456
  for k in m.get('Tag'):
@@ -615,10 +627,12 @@ class CreateJobRequestTasksTaskSpecResource(TeaModel):
615
627
  self,
616
628
  cores: float = None,
617
629
  disks: List[CreateJobRequestTasksTaskSpecResourceDisks] = None,
630
+ instance_types: List[str] = None,
618
631
  memory: float = None,
619
632
  ):
620
633
  self.cores = cores
621
634
  self.disks = disks
635
+ self.instance_types = instance_types
622
636
  self.memory = memory
623
637
 
624
638
  def validate(self):
@@ -639,6 +653,8 @@ class CreateJobRequestTasksTaskSpecResource(TeaModel):
639
653
  if self.disks is not None:
640
654
  for k in self.disks:
641
655
  result['Disks'].append(k.to_map() if k else None)
656
+ if self.instance_types is not None:
657
+ result['InstanceTypes'] = self.instance_types
642
658
  if self.memory is not None:
643
659
  result['Memory'] = self.memory
644
660
  return result
@@ -652,6 +668,8 @@ class CreateJobRequestTasksTaskSpecResource(TeaModel):
652
668
  for k in m.get('Disks'):
653
669
  temp_model = CreateJobRequestTasksTaskSpecResourceDisks()
654
670
  self.disks.append(temp_model.from_map(k))
671
+ if m.get('InstanceTypes') is not None:
672
+ self.instance_types = m.get('InstanceTypes')
655
673
  if m.get('Memory') is not None:
656
674
  self.memory = m.get('Memory')
657
675
  return self
@@ -694,12 +712,14 @@ class CreateJobRequestTasksTaskSpecTaskExecutorContainer(TeaModel):
694
712
  def __init__(
695
713
  self,
696
714
  app_id: str = None,
715
+ arg: List[str] = None,
697
716
  command: List[str] = None,
698
717
  environment_vars: List[CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars] = None,
699
718
  image: str = None,
700
719
  working_dir: str = None,
701
720
  ):
702
721
  self.app_id = app_id
722
+ self.arg = arg
703
723
  self.command = command
704
724
  self.environment_vars = environment_vars
705
725
  # This parameter is required.
@@ -720,6 +740,8 @@ class CreateJobRequestTasksTaskSpecTaskExecutorContainer(TeaModel):
720
740
  result = dict()
721
741
  if self.app_id is not None:
722
742
  result['AppId'] = self.app_id
743
+ if self.arg is not None:
744
+ result['Arg'] = self.arg
723
745
  if self.command is not None:
724
746
  result['Command'] = self.command
725
747
  result['EnvironmentVars'] = []
@@ -736,6 +758,8 @@ class CreateJobRequestTasksTaskSpecTaskExecutorContainer(TeaModel):
736
758
  m = m or dict()
737
759
  if m.get('AppId') is not None:
738
760
  self.app_id = m.get('AppId')
761
+ if m.get('Arg') is not None:
762
+ self.arg = m.get('Arg')
739
763
  if m.get('Command') is not None:
740
764
  self.command = m.get('Command')
741
765
  self.environment_vars = []
@@ -755,12 +779,14 @@ class CreateJobRequestTasksTaskSpecTaskExecutorVM(TeaModel):
755
779
  self,
756
780
  app_id: str = None,
757
781
  image: str = None,
782
+ password: str = None,
758
783
  prolog_script: str = None,
759
784
  script: str = None,
760
785
  ):
761
786
  self.app_id = app_id
762
787
  # This parameter is required.
763
788
  self.image = image
789
+ self.password = password
764
790
  self.prolog_script = prolog_script
765
791
  self.script = script
766
792
 
@@ -777,6 +803,8 @@ class CreateJobRequestTasksTaskSpecTaskExecutorVM(TeaModel):
777
803
  result['AppId'] = self.app_id
778
804
  if self.image is not None:
779
805
  result['Image'] = self.image
806
+ if self.password is not None:
807
+ result['Password'] = self.password
780
808
  if self.prolog_script is not None:
781
809
  result['PrologScript'] = self.prolog_script
782
810
  if self.script is not None:
@@ -789,6 +817,8 @@ class CreateJobRequestTasksTaskSpecTaskExecutorVM(TeaModel):
789
817
  self.app_id = m.get('AppId')
790
818
  if m.get('Image') is not None:
791
819
  self.image = m.get('Image')
820
+ if m.get('Password') is not None:
821
+ self.password = m.get('Password')
792
822
  if m.get('PrologScript') is not None:
793
823
  self.prolog_script = m.get('PrologScript')
794
824
  if m.get('Script') is not None:
@@ -839,10 +869,12 @@ class CreateJobRequestTasksTaskSpecVolumeMount(TeaModel):
839
869
  self,
840
870
  mount_options: str = None,
841
871
  mount_path: str = None,
872
+ read_only: bool = None,
842
873
  volume_driver: str = None,
843
874
  ):
844
875
  self.mount_options = mount_options
845
876
  self.mount_path = mount_path
877
+ self.read_only = read_only
846
878
  self.volume_driver = volume_driver
847
879
 
848
880
  def validate(self):
@@ -858,6 +890,8 @@ class CreateJobRequestTasksTaskSpecVolumeMount(TeaModel):
858
890
  result['MountOptions'] = self.mount_options
859
891
  if self.mount_path is not None:
860
892
  result['MountPath'] = self.mount_path
893
+ if self.read_only is not None:
894
+ result['ReadOnly'] = self.read_only
861
895
  if self.volume_driver is not None:
862
896
  result['VolumeDriver'] = self.volume_driver
863
897
  return result
@@ -868,6 +902,8 @@ class CreateJobRequestTasksTaskSpecVolumeMount(TeaModel):
868
902
  self.mount_options = m.get('MountOptions')
869
903
  if m.get('MountPath') is not None:
870
904
  self.mount_path = m.get('MountPath')
905
+ if m.get('ReadOnly') is not None:
906
+ self.read_only = m.get('ReadOnly')
871
907
  if m.get('VolumeDriver') is not None:
872
908
  self.volume_driver = m.get('VolumeDriver')
873
909
  return self
@@ -3030,10 +3066,12 @@ class GetJobResponseBodyJobInfoTasksTaskSpecResource(TeaModel):
3030
3066
  self,
3031
3067
  cores: float = None,
3032
3068
  disks: List[GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks] = None,
3069
+ instance_types: List[str] = None,
3033
3070
  memory: int = None,
3034
3071
  ):
3035
3072
  self.cores = cores
3036
3073
  self.disks = disks
3074
+ self.instance_types = instance_types
3037
3075
  self.memory = memory
3038
3076
 
3039
3077
  def validate(self):
@@ -3054,6 +3092,8 @@ class GetJobResponseBodyJobInfoTasksTaskSpecResource(TeaModel):
3054
3092
  if self.disks is not None:
3055
3093
  for k in self.disks:
3056
3094
  result['Disks'].append(k.to_map() if k else None)
3095
+ if self.instance_types is not None:
3096
+ result['InstanceTypes'] = self.instance_types
3057
3097
  if self.memory is not None:
3058
3098
  result['Memory'] = self.memory
3059
3099
  return result
@@ -3067,6 +3107,8 @@ class GetJobResponseBodyJobInfoTasksTaskSpecResource(TeaModel):
3067
3107
  for k in m.get('Disks'):
3068
3108
  temp_model = GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks()
3069
3109
  self.disks.append(temp_model.from_map(k))
3110
+ if m.get('InstanceTypes') is not None:
3111
+ self.instance_types = m.get('InstanceTypes')
3070
3112
  if m.get('Memory') is not None:
3071
3113
  self.memory = m.get('Memory')
3072
3114
  return self
@@ -3078,10 +3120,12 @@ class GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVM(TeaModel):
3078
3120
  image: str = None,
3079
3121
  prolog_script: str = None,
3080
3122
  script: str = None,
3123
+ user_name: str = None,
3081
3124
  ):
3082
3125
  self.image = image
3083
3126
  self.prolog_script = prolog_script
3084
3127
  self.script = script
3128
+ self.user_name = user_name
3085
3129
 
3086
3130
  def validate(self):
3087
3131
  pass
@@ -3098,6 +3142,8 @@ class GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVM(TeaModel):
3098
3142
  result['PrologScript'] = self.prolog_script
3099
3143
  if self.script is not None:
3100
3144
  result['Script'] = self.script
3145
+ if self.user_name is not None:
3146
+ result['UserName'] = self.user_name
3101
3147
  return result
3102
3148
 
3103
3149
  def from_map(self, m: dict = None):
@@ -3108,6 +3154,8 @@ class GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVM(TeaModel):
3108
3154
  self.prolog_script = m.get('PrologScript')
3109
3155
  if m.get('Script') is not None:
3110
3156
  self.script = m.get('Script')
3157
+ if m.get('UserName') is not None:
3158
+ self.user_name = m.get('UserName')
3111
3159
  return self
3112
3160
 
3113
3161
 
@@ -3252,6 +3300,7 @@ class GetJobResponseBodyJobInfoTasks(TeaModel):
3252
3300
  class GetJobResponseBodyJobInfo(TeaModel):
3253
3301
  def __init__(
3254
3302
  self,
3303
+ app_extra_info: str = None,
3255
3304
  create_time: str = None,
3256
3305
  deployment_policy: GetJobResponseBodyJobInfoDeploymentPolicy = None,
3257
3306
  end_time: str = None,
@@ -3263,6 +3312,7 @@ class GetJobResponseBodyJobInfo(TeaModel):
3263
3312
  status: str = None,
3264
3313
  tasks: List[GetJobResponseBodyJobInfoTasks] = None,
3265
3314
  ):
3315
+ self.app_extra_info = app_extra_info
3266
3316
  self.create_time = create_time
3267
3317
  self.deployment_policy = deployment_policy
3268
3318
  self.end_time = end_time
@@ -3288,6 +3338,8 @@ class GetJobResponseBodyJobInfo(TeaModel):
3288
3338
  return _map
3289
3339
 
3290
3340
  result = dict()
3341
+ if self.app_extra_info is not None:
3342
+ result['AppExtraInfo'] = self.app_extra_info
3291
3343
  if self.create_time is not None:
3292
3344
  result['CreateTime'] = self.create_time
3293
3345
  if self.deployment_policy is not None:
@@ -3314,6 +3366,8 @@ class GetJobResponseBodyJobInfo(TeaModel):
3314
3366
 
3315
3367
  def from_map(self, m: dict = None):
3316
3368
  m = m or dict()
3369
+ if m.get('AppExtraInfo') is not None:
3370
+ self.app_extra_info = m.get('AppExtraInfo')
3317
3371
  if m.get('CreateTime') is not None:
3318
3372
  self.create_time = m.get('CreateTime')
3319
3373
  if m.get('DeploymentPolicy') is not None:
@@ -5005,6 +5059,7 @@ class ListJobsResponseBodyJobListTags(TeaModel):
5005
5059
  class ListJobsResponseBodyJobList(TeaModel):
5006
5060
  def __init__(
5007
5061
  self,
5062
+ app_extra_info: str = None,
5008
5063
  app_name: str = None,
5009
5064
  create_time: str = None,
5010
5065
  end_time: str = None,
@@ -5019,6 +5074,7 @@ class ListJobsResponseBodyJobList(TeaModel):
5019
5074
  task_count: int = None,
5020
5075
  task_sustainable: bool = None,
5021
5076
  ):
5077
+ self.app_extra_info = app_extra_info
5022
5078
  self.app_name = app_name
5023
5079
  self.create_time = create_time
5024
5080
  self.end_time = end_time
@@ -5045,6 +5101,8 @@ class ListJobsResponseBodyJobList(TeaModel):
5045
5101
  return _map
5046
5102
 
5047
5103
  result = dict()
5104
+ if self.app_extra_info is not None:
5105
+ result['AppExtraInfo'] = self.app_extra_info
5048
5106
  if self.app_name is not None:
5049
5107
  result['AppName'] = self.app_name
5050
5108
  if self.create_time is not None:
@@ -5077,6 +5135,8 @@ class ListJobsResponseBodyJobList(TeaModel):
5077
5135
 
5078
5136
  def from_map(self, m: dict = None):
5079
5137
  m = m or dict()
5138
+ if m.get('AppExtraInfo') is not None:
5139
+ self.app_extra_info = m.get('AppExtraInfo')
5080
5140
  if m.get('AppName') is not None:
5081
5141
  self.app_name = m.get('AppName')
5082
5142
  if m.get('CreateTime') is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-ehpcinstant20230701
3
- Version: 2.0.1
3
+ Version: 2.0.3
4
4
  Summary: Alibaba Cloud EhpcInstant (20230701) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -0,0 +1,4 @@
1
+ alibabacloud_endpoint_util<1.0.0,>=0.0.4
2
+ alibabacloud_openapi_util<1.0.0,>=0.2.2
3
+ alibabacloud_tea_openapi<1.0.0,>=0.3.15
4
+ alibabacloud_tea_util<1.0.0,>=0.3.13
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_ehpcinstant20230701.
26
26
 
27
- Created on 31/03/2025
27
+ Created on 12/06/2025
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -38,9 +38,9 @@ URL = "https://github.com/aliyun/alibabacloud-python-sdk"
38
38
  VERSION = __import__(PACKAGE).__version__
39
39
  REQUIRES = [
40
40
  "alibabacloud_tea_util>=0.3.13, <1.0.0",
41
- "alibabacloud_tea_openapi>=0.3.12, <1.0.0",
41
+ "alibabacloud_tea_openapi>=0.3.15, <1.0.0",
42
42
  "alibabacloud_openapi_util>=0.2.2, <1.0.0",
43
- "alibabacloud_endpoint_util>=0.0.3, <1.0.0"
43
+ "alibabacloud_endpoint_util>=0.0.4, <1.0.0"
44
44
  ]
45
45
 
46
46
  LONG_DESCRIPTION = ''
@@ -1,4 +0,0 @@
1
- alibabacloud_endpoint_util<1.0.0,>=0.0.3
2
- alibabacloud_openapi_util<1.0.0,>=0.2.2
3
- alibabacloud_tea_openapi<1.0.0,>=0.3.12
4
- alibabacloud_tea_util<1.0.0,>=0.3.13