alibabacloud-ehpcinstant20230701 1.0.0__py3-none-any.whl → 1.0.2__py3-none-any.whl
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.
- alibabacloud_ehpcinstant20230701/__init__.py +1 -1
- alibabacloud_ehpcinstant20230701/client.py +328 -0
- alibabacloud_ehpcinstant20230701/models.py +129 -1
- {alibabacloud_ehpcinstant20230701-1.0.0.dist-info → alibabacloud_ehpcinstant20230701-1.0.2.dist-info}/METADATA +3 -3
- alibabacloud_ehpcinstant20230701-1.0.2.dist-info/RECORD +8 -0
- alibabacloud_ehpcinstant20230701-1.0.0.dist-info/RECORD +0 -8
- {alibabacloud_ehpcinstant20230701-1.0.0.dist-info → alibabacloud_ehpcinstant20230701-1.0.2.dist-info}/LICENSE +0 -0
- {alibabacloud_ehpcinstant20230701-1.0.0.dist-info → alibabacloud_ehpcinstant20230701-1.0.2.dist-info}/WHEEL +0 -0
- {alibabacloud_ehpcinstant20230701-1.0.0.dist-info → alibabacloud_ehpcinstant20230701-1.0.2.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '1.0.
|
|
1
|
+
__version__ = '1.0.2'
|
|
@@ -46,6 +46,13 @@ class Client(OpenApiClient):
|
|
|
46
46
|
tmp_req: ehpc_instant_20230701_models.AddImageRequest,
|
|
47
47
|
runtime: util_models.RuntimeOptions,
|
|
48
48
|
) -> ehpc_instant_20230701_models.AddImageResponse:
|
|
49
|
+
"""
|
|
50
|
+
@summary 添加托管侧用户自定义镜像
|
|
51
|
+
|
|
52
|
+
@param tmp_req: AddImageRequest
|
|
53
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
54
|
+
@return: AddImageResponse
|
|
55
|
+
"""
|
|
49
56
|
UtilClient.validate_model(tmp_req)
|
|
50
57
|
request = ehpc_instant_20230701_models.AddImageShrinkRequest()
|
|
51
58
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -88,6 +95,13 @@ class Client(OpenApiClient):
|
|
|
88
95
|
tmp_req: ehpc_instant_20230701_models.AddImageRequest,
|
|
89
96
|
runtime: util_models.RuntimeOptions,
|
|
90
97
|
) -> ehpc_instant_20230701_models.AddImageResponse:
|
|
98
|
+
"""
|
|
99
|
+
@summary 添加托管侧用户自定义镜像
|
|
100
|
+
|
|
101
|
+
@param tmp_req: AddImageRequest
|
|
102
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
103
|
+
@return: AddImageResponse
|
|
104
|
+
"""
|
|
91
105
|
UtilClient.validate_model(tmp_req)
|
|
92
106
|
request = ehpc_instant_20230701_models.AddImageShrinkRequest()
|
|
93
107
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -129,6 +143,12 @@ class Client(OpenApiClient):
|
|
|
129
143
|
self,
|
|
130
144
|
request: ehpc_instant_20230701_models.AddImageRequest,
|
|
131
145
|
) -> ehpc_instant_20230701_models.AddImageResponse:
|
|
146
|
+
"""
|
|
147
|
+
@summary 添加托管侧用户自定义镜像
|
|
148
|
+
|
|
149
|
+
@param request: AddImageRequest
|
|
150
|
+
@return: AddImageResponse
|
|
151
|
+
"""
|
|
132
152
|
runtime = util_models.RuntimeOptions()
|
|
133
153
|
return self.add_image_with_options(request, runtime)
|
|
134
154
|
|
|
@@ -136,6 +156,12 @@ class Client(OpenApiClient):
|
|
|
136
156
|
self,
|
|
137
157
|
request: ehpc_instant_20230701_models.AddImageRequest,
|
|
138
158
|
) -> ehpc_instant_20230701_models.AddImageResponse:
|
|
159
|
+
"""
|
|
160
|
+
@summary 添加托管侧用户自定义镜像
|
|
161
|
+
|
|
162
|
+
@param request: AddImageRequest
|
|
163
|
+
@return: AddImageResponse
|
|
164
|
+
"""
|
|
139
165
|
runtime = util_models.RuntimeOptions()
|
|
140
166
|
return await self.add_image_with_options_async(request, runtime)
|
|
141
167
|
|
|
@@ -144,6 +170,13 @@ class Client(OpenApiClient):
|
|
|
144
170
|
tmp_req: ehpc_instant_20230701_models.CreateJobRequest,
|
|
145
171
|
runtime: util_models.RuntimeOptions,
|
|
146
172
|
) -> ehpc_instant_20230701_models.CreateJobResponse:
|
|
173
|
+
"""
|
|
174
|
+
@summary 提交任务
|
|
175
|
+
|
|
176
|
+
@param tmp_req: CreateJobRequest
|
|
177
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
178
|
+
@return: CreateJobResponse
|
|
179
|
+
"""
|
|
147
180
|
UtilClient.validate_model(tmp_req)
|
|
148
181
|
request = ehpc_instant_20230701_models.CreateJobShrinkRequest()
|
|
149
182
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -184,6 +217,13 @@ class Client(OpenApiClient):
|
|
|
184
217
|
tmp_req: ehpc_instant_20230701_models.CreateJobRequest,
|
|
185
218
|
runtime: util_models.RuntimeOptions,
|
|
186
219
|
) -> ehpc_instant_20230701_models.CreateJobResponse:
|
|
220
|
+
"""
|
|
221
|
+
@summary 提交任务
|
|
222
|
+
|
|
223
|
+
@param tmp_req: CreateJobRequest
|
|
224
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
225
|
+
@return: CreateJobResponse
|
|
226
|
+
"""
|
|
187
227
|
UtilClient.validate_model(tmp_req)
|
|
188
228
|
request = ehpc_instant_20230701_models.CreateJobShrinkRequest()
|
|
189
229
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -223,6 +263,12 @@ class Client(OpenApiClient):
|
|
|
223
263
|
self,
|
|
224
264
|
request: ehpc_instant_20230701_models.CreateJobRequest,
|
|
225
265
|
) -> ehpc_instant_20230701_models.CreateJobResponse:
|
|
266
|
+
"""
|
|
267
|
+
@summary 提交任务
|
|
268
|
+
|
|
269
|
+
@param request: CreateJobRequest
|
|
270
|
+
@return: CreateJobResponse
|
|
271
|
+
"""
|
|
226
272
|
runtime = util_models.RuntimeOptions()
|
|
227
273
|
return self.create_job_with_options(request, runtime)
|
|
228
274
|
|
|
@@ -230,6 +276,12 @@ class Client(OpenApiClient):
|
|
|
230
276
|
self,
|
|
231
277
|
request: ehpc_instant_20230701_models.CreateJobRequest,
|
|
232
278
|
) -> ehpc_instant_20230701_models.CreateJobResponse:
|
|
279
|
+
"""
|
|
280
|
+
@summary 提交任务
|
|
281
|
+
|
|
282
|
+
@param request: CreateJobRequest
|
|
283
|
+
@return: CreateJobResponse
|
|
284
|
+
"""
|
|
233
285
|
runtime = util_models.RuntimeOptions()
|
|
234
286
|
return await self.create_job_with_options_async(request, runtime)
|
|
235
287
|
|
|
@@ -238,6 +290,13 @@ class Client(OpenApiClient):
|
|
|
238
290
|
tmp_req: ehpc_instant_20230701_models.DeleteJobsRequest,
|
|
239
291
|
runtime: util_models.RuntimeOptions,
|
|
240
292
|
) -> ehpc_instant_20230701_models.DeleteJobsResponse:
|
|
293
|
+
"""
|
|
294
|
+
@summary 删除作业
|
|
295
|
+
|
|
296
|
+
@param tmp_req: DeleteJobsRequest
|
|
297
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
298
|
+
@return: DeleteJobsResponse
|
|
299
|
+
"""
|
|
241
300
|
UtilClient.validate_model(tmp_req)
|
|
242
301
|
request = ehpc_instant_20230701_models.DeleteJobsShrinkRequest()
|
|
243
302
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -274,6 +333,13 @@ class Client(OpenApiClient):
|
|
|
274
333
|
tmp_req: ehpc_instant_20230701_models.DeleteJobsRequest,
|
|
275
334
|
runtime: util_models.RuntimeOptions,
|
|
276
335
|
) -> ehpc_instant_20230701_models.DeleteJobsResponse:
|
|
336
|
+
"""
|
|
337
|
+
@summary 删除作业
|
|
338
|
+
|
|
339
|
+
@param tmp_req: DeleteJobsRequest
|
|
340
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
341
|
+
@return: DeleteJobsResponse
|
|
342
|
+
"""
|
|
277
343
|
UtilClient.validate_model(tmp_req)
|
|
278
344
|
request = ehpc_instant_20230701_models.DeleteJobsShrinkRequest()
|
|
279
345
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -309,6 +375,12 @@ class Client(OpenApiClient):
|
|
|
309
375
|
self,
|
|
310
376
|
request: ehpc_instant_20230701_models.DeleteJobsRequest,
|
|
311
377
|
) -> ehpc_instant_20230701_models.DeleteJobsResponse:
|
|
378
|
+
"""
|
|
379
|
+
@summary 删除作业
|
|
380
|
+
|
|
381
|
+
@param request: DeleteJobsRequest
|
|
382
|
+
@return: DeleteJobsResponse
|
|
383
|
+
"""
|
|
312
384
|
runtime = util_models.RuntimeOptions()
|
|
313
385
|
return self.delete_jobs_with_options(request, runtime)
|
|
314
386
|
|
|
@@ -316,6 +388,12 @@ class Client(OpenApiClient):
|
|
|
316
388
|
self,
|
|
317
389
|
request: ehpc_instant_20230701_models.DeleteJobsRequest,
|
|
318
390
|
) -> ehpc_instant_20230701_models.DeleteJobsResponse:
|
|
391
|
+
"""
|
|
392
|
+
@summary 删除作业
|
|
393
|
+
|
|
394
|
+
@param request: DeleteJobsRequest
|
|
395
|
+
@return: DeleteJobsResponse
|
|
396
|
+
"""
|
|
319
397
|
runtime = util_models.RuntimeOptions()
|
|
320
398
|
return await self.delete_jobs_with_options_async(request, runtime)
|
|
321
399
|
|
|
@@ -324,6 +402,13 @@ class Client(OpenApiClient):
|
|
|
324
402
|
tmp_req: ehpc_instant_20230701_models.DescribeJobMetricDataRequest,
|
|
325
403
|
runtime: util_models.RuntimeOptions,
|
|
326
404
|
) -> ehpc_instant_20230701_models.DescribeJobMetricDataResponse:
|
|
405
|
+
"""
|
|
406
|
+
@summary 查询作业性能数据
|
|
407
|
+
|
|
408
|
+
@param tmp_req: DescribeJobMetricDataRequest
|
|
409
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
410
|
+
@return: DescribeJobMetricDataResponse
|
|
411
|
+
"""
|
|
327
412
|
UtilClient.validate_model(tmp_req)
|
|
328
413
|
request = ehpc_instant_20230701_models.DescribeJobMetricDataShrinkRequest()
|
|
329
414
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -362,6 +447,13 @@ class Client(OpenApiClient):
|
|
|
362
447
|
tmp_req: ehpc_instant_20230701_models.DescribeJobMetricDataRequest,
|
|
363
448
|
runtime: util_models.RuntimeOptions,
|
|
364
449
|
) -> ehpc_instant_20230701_models.DescribeJobMetricDataResponse:
|
|
450
|
+
"""
|
|
451
|
+
@summary 查询作业性能数据
|
|
452
|
+
|
|
453
|
+
@param tmp_req: DescribeJobMetricDataRequest
|
|
454
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
455
|
+
@return: DescribeJobMetricDataResponse
|
|
456
|
+
"""
|
|
365
457
|
UtilClient.validate_model(tmp_req)
|
|
366
458
|
request = ehpc_instant_20230701_models.DescribeJobMetricDataShrinkRequest()
|
|
367
459
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -399,6 +491,12 @@ class Client(OpenApiClient):
|
|
|
399
491
|
self,
|
|
400
492
|
request: ehpc_instant_20230701_models.DescribeJobMetricDataRequest,
|
|
401
493
|
) -> ehpc_instant_20230701_models.DescribeJobMetricDataResponse:
|
|
494
|
+
"""
|
|
495
|
+
@summary 查询作业性能数据
|
|
496
|
+
|
|
497
|
+
@param request: DescribeJobMetricDataRequest
|
|
498
|
+
@return: DescribeJobMetricDataResponse
|
|
499
|
+
"""
|
|
402
500
|
runtime = util_models.RuntimeOptions()
|
|
403
501
|
return self.describe_job_metric_data_with_options(request, runtime)
|
|
404
502
|
|
|
@@ -406,6 +504,12 @@ class Client(OpenApiClient):
|
|
|
406
504
|
self,
|
|
407
505
|
request: ehpc_instant_20230701_models.DescribeJobMetricDataRequest,
|
|
408
506
|
) -> ehpc_instant_20230701_models.DescribeJobMetricDataResponse:
|
|
507
|
+
"""
|
|
508
|
+
@summary 查询作业性能数据
|
|
509
|
+
|
|
510
|
+
@param request: DescribeJobMetricDataRequest
|
|
511
|
+
@return: DescribeJobMetricDataResponse
|
|
512
|
+
"""
|
|
409
513
|
runtime = util_models.RuntimeOptions()
|
|
410
514
|
return await self.describe_job_metric_data_with_options_async(request, runtime)
|
|
411
515
|
|
|
@@ -414,6 +518,13 @@ class Client(OpenApiClient):
|
|
|
414
518
|
tmp_req: ehpc_instant_20230701_models.DescribeJobMetricLastRequest,
|
|
415
519
|
runtime: util_models.RuntimeOptions,
|
|
416
520
|
) -> ehpc_instant_20230701_models.DescribeJobMetricLastResponse:
|
|
521
|
+
"""
|
|
522
|
+
@summary 查询作业即时监控项
|
|
523
|
+
|
|
524
|
+
@param tmp_req: DescribeJobMetricLastRequest
|
|
525
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
526
|
+
@return: DescribeJobMetricLastResponse
|
|
527
|
+
"""
|
|
417
528
|
UtilClient.validate_model(tmp_req)
|
|
418
529
|
request = ehpc_instant_20230701_models.DescribeJobMetricLastShrinkRequest()
|
|
419
530
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -450,6 +561,13 @@ class Client(OpenApiClient):
|
|
|
450
561
|
tmp_req: ehpc_instant_20230701_models.DescribeJobMetricLastRequest,
|
|
451
562
|
runtime: util_models.RuntimeOptions,
|
|
452
563
|
) -> ehpc_instant_20230701_models.DescribeJobMetricLastResponse:
|
|
564
|
+
"""
|
|
565
|
+
@summary 查询作业即时监控项
|
|
566
|
+
|
|
567
|
+
@param tmp_req: DescribeJobMetricLastRequest
|
|
568
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
569
|
+
@return: DescribeJobMetricLastResponse
|
|
570
|
+
"""
|
|
453
571
|
UtilClient.validate_model(tmp_req)
|
|
454
572
|
request = ehpc_instant_20230701_models.DescribeJobMetricLastShrinkRequest()
|
|
455
573
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -485,6 +603,12 @@ class Client(OpenApiClient):
|
|
|
485
603
|
self,
|
|
486
604
|
request: ehpc_instant_20230701_models.DescribeJobMetricLastRequest,
|
|
487
605
|
) -> ehpc_instant_20230701_models.DescribeJobMetricLastResponse:
|
|
606
|
+
"""
|
|
607
|
+
@summary 查询作业即时监控项
|
|
608
|
+
|
|
609
|
+
@param request: DescribeJobMetricLastRequest
|
|
610
|
+
@return: DescribeJobMetricLastResponse
|
|
611
|
+
"""
|
|
488
612
|
runtime = util_models.RuntimeOptions()
|
|
489
613
|
return self.describe_job_metric_last_with_options(request, runtime)
|
|
490
614
|
|
|
@@ -492,6 +616,12 @@ class Client(OpenApiClient):
|
|
|
492
616
|
self,
|
|
493
617
|
request: ehpc_instant_20230701_models.DescribeJobMetricLastRequest,
|
|
494
618
|
) -> ehpc_instant_20230701_models.DescribeJobMetricLastResponse:
|
|
619
|
+
"""
|
|
620
|
+
@summary 查询作业即时监控项
|
|
621
|
+
|
|
622
|
+
@param request: DescribeJobMetricLastRequest
|
|
623
|
+
@return: DescribeJobMetricLastResponse
|
|
624
|
+
"""
|
|
495
625
|
runtime = util_models.RuntimeOptions()
|
|
496
626
|
return await self.describe_job_metric_last_with_options_async(request, runtime)
|
|
497
627
|
|
|
@@ -500,10 +630,21 @@ class Client(OpenApiClient):
|
|
|
500
630
|
request: ehpc_instant_20230701_models.GetImageRequest,
|
|
501
631
|
runtime: util_models.RuntimeOptions,
|
|
502
632
|
) -> ehpc_instant_20230701_models.GetImageResponse:
|
|
633
|
+
"""
|
|
634
|
+
@summary 查询托管侧镜像详情。
|
|
635
|
+
|
|
636
|
+
@param request: GetImageRequest
|
|
637
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
638
|
+
@return: GetImageResponse
|
|
639
|
+
"""
|
|
503
640
|
UtilClient.validate_model(request)
|
|
504
641
|
query = {}
|
|
642
|
+
if not UtilClient.is_unset(request.image_category):
|
|
643
|
+
query['ImageCategory'] = request.image_category
|
|
505
644
|
if not UtilClient.is_unset(request.image_id):
|
|
506
645
|
query['ImageId'] = request.image_id
|
|
646
|
+
if not UtilClient.is_unset(request.image_type):
|
|
647
|
+
query['ImageType'] = request.image_type
|
|
507
648
|
req = open_api_models.OpenApiRequest(
|
|
508
649
|
query=OpenApiUtilClient.query(query)
|
|
509
650
|
)
|
|
@@ -528,10 +669,21 @@ class Client(OpenApiClient):
|
|
|
528
669
|
request: ehpc_instant_20230701_models.GetImageRequest,
|
|
529
670
|
runtime: util_models.RuntimeOptions,
|
|
530
671
|
) -> ehpc_instant_20230701_models.GetImageResponse:
|
|
672
|
+
"""
|
|
673
|
+
@summary 查询托管侧镜像详情。
|
|
674
|
+
|
|
675
|
+
@param request: GetImageRequest
|
|
676
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
677
|
+
@return: GetImageResponse
|
|
678
|
+
"""
|
|
531
679
|
UtilClient.validate_model(request)
|
|
532
680
|
query = {}
|
|
681
|
+
if not UtilClient.is_unset(request.image_category):
|
|
682
|
+
query['ImageCategory'] = request.image_category
|
|
533
683
|
if not UtilClient.is_unset(request.image_id):
|
|
534
684
|
query['ImageId'] = request.image_id
|
|
685
|
+
if not UtilClient.is_unset(request.image_type):
|
|
686
|
+
query['ImageType'] = request.image_type
|
|
535
687
|
req = open_api_models.OpenApiRequest(
|
|
536
688
|
query=OpenApiUtilClient.query(query)
|
|
537
689
|
)
|
|
@@ -555,6 +707,12 @@ class Client(OpenApiClient):
|
|
|
555
707
|
self,
|
|
556
708
|
request: ehpc_instant_20230701_models.GetImageRequest,
|
|
557
709
|
) -> ehpc_instant_20230701_models.GetImageResponse:
|
|
710
|
+
"""
|
|
711
|
+
@summary 查询托管侧镜像详情。
|
|
712
|
+
|
|
713
|
+
@param request: GetImageRequest
|
|
714
|
+
@return: GetImageResponse
|
|
715
|
+
"""
|
|
558
716
|
runtime = util_models.RuntimeOptions()
|
|
559
717
|
return self.get_image_with_options(request, runtime)
|
|
560
718
|
|
|
@@ -562,6 +720,12 @@ class Client(OpenApiClient):
|
|
|
562
720
|
self,
|
|
563
721
|
request: ehpc_instant_20230701_models.GetImageRequest,
|
|
564
722
|
) -> ehpc_instant_20230701_models.GetImageResponse:
|
|
723
|
+
"""
|
|
724
|
+
@summary 查询托管侧镜像详情。
|
|
725
|
+
|
|
726
|
+
@param request: GetImageRequest
|
|
727
|
+
@return: GetImageResponse
|
|
728
|
+
"""
|
|
565
729
|
runtime = util_models.RuntimeOptions()
|
|
566
730
|
return await self.get_image_with_options_async(request, runtime)
|
|
567
731
|
|
|
@@ -570,6 +734,13 @@ class Client(OpenApiClient):
|
|
|
570
734
|
request: ehpc_instant_20230701_models.GetJobRequest,
|
|
571
735
|
runtime: util_models.RuntimeOptions,
|
|
572
736
|
) -> ehpc_instant_20230701_models.GetJobResponse:
|
|
737
|
+
"""
|
|
738
|
+
@summary 查询作业详情
|
|
739
|
+
|
|
740
|
+
@param request: GetJobRequest
|
|
741
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
742
|
+
@return: GetJobResponse
|
|
743
|
+
"""
|
|
573
744
|
UtilClient.validate_model(request)
|
|
574
745
|
query = {}
|
|
575
746
|
if not UtilClient.is_unset(request.job_id):
|
|
@@ -598,6 +769,13 @@ class Client(OpenApiClient):
|
|
|
598
769
|
request: ehpc_instant_20230701_models.GetJobRequest,
|
|
599
770
|
runtime: util_models.RuntimeOptions,
|
|
600
771
|
) -> ehpc_instant_20230701_models.GetJobResponse:
|
|
772
|
+
"""
|
|
773
|
+
@summary 查询作业详情
|
|
774
|
+
|
|
775
|
+
@param request: GetJobRequest
|
|
776
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
777
|
+
@return: GetJobResponse
|
|
778
|
+
"""
|
|
601
779
|
UtilClient.validate_model(request)
|
|
602
780
|
query = {}
|
|
603
781
|
if not UtilClient.is_unset(request.job_id):
|
|
@@ -625,6 +803,12 @@ class Client(OpenApiClient):
|
|
|
625
803
|
self,
|
|
626
804
|
request: ehpc_instant_20230701_models.GetJobRequest,
|
|
627
805
|
) -> ehpc_instant_20230701_models.GetJobResponse:
|
|
806
|
+
"""
|
|
807
|
+
@summary 查询作业详情
|
|
808
|
+
|
|
809
|
+
@param request: GetJobRequest
|
|
810
|
+
@return: GetJobResponse
|
|
811
|
+
"""
|
|
628
812
|
runtime = util_models.RuntimeOptions()
|
|
629
813
|
return self.get_job_with_options(request, runtime)
|
|
630
814
|
|
|
@@ -632,6 +816,12 @@ class Client(OpenApiClient):
|
|
|
632
816
|
self,
|
|
633
817
|
request: ehpc_instant_20230701_models.GetJobRequest,
|
|
634
818
|
) -> ehpc_instant_20230701_models.GetJobResponse:
|
|
819
|
+
"""
|
|
820
|
+
@summary 查询作业详情
|
|
821
|
+
|
|
822
|
+
@param request: GetJobRequest
|
|
823
|
+
@return: GetJobResponse
|
|
824
|
+
"""
|
|
635
825
|
runtime = util_models.RuntimeOptions()
|
|
636
826
|
return await self.get_job_with_options_async(request, runtime)
|
|
637
827
|
|
|
@@ -640,6 +830,13 @@ class Client(OpenApiClient):
|
|
|
640
830
|
tmp_req: ehpc_instant_20230701_models.ListExecutorsRequest,
|
|
641
831
|
runtime: util_models.RuntimeOptions,
|
|
642
832
|
) -> ehpc_instant_20230701_models.ListExecutorsResponse:
|
|
833
|
+
"""
|
|
834
|
+
@summary 查询全局Executor信息
|
|
835
|
+
|
|
836
|
+
@param tmp_req: ListExecutorsRequest
|
|
837
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
838
|
+
@return: ListExecutorsResponse
|
|
839
|
+
"""
|
|
643
840
|
UtilClient.validate_model(tmp_req)
|
|
644
841
|
request = ehpc_instant_20230701_models.ListExecutorsShrinkRequest()
|
|
645
842
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -676,6 +873,13 @@ class Client(OpenApiClient):
|
|
|
676
873
|
tmp_req: ehpc_instant_20230701_models.ListExecutorsRequest,
|
|
677
874
|
runtime: util_models.RuntimeOptions,
|
|
678
875
|
) -> ehpc_instant_20230701_models.ListExecutorsResponse:
|
|
876
|
+
"""
|
|
877
|
+
@summary 查询全局Executor信息
|
|
878
|
+
|
|
879
|
+
@param tmp_req: ListExecutorsRequest
|
|
880
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
881
|
+
@return: ListExecutorsResponse
|
|
882
|
+
"""
|
|
679
883
|
UtilClient.validate_model(tmp_req)
|
|
680
884
|
request = ehpc_instant_20230701_models.ListExecutorsShrinkRequest()
|
|
681
885
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -711,6 +915,12 @@ class Client(OpenApiClient):
|
|
|
711
915
|
self,
|
|
712
916
|
request: ehpc_instant_20230701_models.ListExecutorsRequest,
|
|
713
917
|
) -> ehpc_instant_20230701_models.ListExecutorsResponse:
|
|
918
|
+
"""
|
|
919
|
+
@summary 查询全局Executor信息
|
|
920
|
+
|
|
921
|
+
@param request: ListExecutorsRequest
|
|
922
|
+
@return: ListExecutorsResponse
|
|
923
|
+
"""
|
|
714
924
|
runtime = util_models.RuntimeOptions()
|
|
715
925
|
return self.list_executors_with_options(request, runtime)
|
|
716
926
|
|
|
@@ -718,6 +928,12 @@ class Client(OpenApiClient):
|
|
|
718
928
|
self,
|
|
719
929
|
request: ehpc_instant_20230701_models.ListExecutorsRequest,
|
|
720
930
|
) -> ehpc_instant_20230701_models.ListExecutorsResponse:
|
|
931
|
+
"""
|
|
932
|
+
@summary 查询全局Executor信息
|
|
933
|
+
|
|
934
|
+
@param request: ListExecutorsRequest
|
|
935
|
+
@return: ListExecutorsResponse
|
|
936
|
+
"""
|
|
721
937
|
runtime = util_models.RuntimeOptions()
|
|
722
938
|
return await self.list_executors_with_options_async(request, runtime)
|
|
723
939
|
|
|
@@ -726,6 +942,13 @@ class Client(OpenApiClient):
|
|
|
726
942
|
tmp_req: ehpc_instant_20230701_models.ListImagesRequest,
|
|
727
943
|
runtime: util_models.RuntimeOptions,
|
|
728
944
|
) -> ehpc_instant_20230701_models.ListImagesResponse:
|
|
945
|
+
"""
|
|
946
|
+
@summary 查看托管侧镜像列表
|
|
947
|
+
|
|
948
|
+
@param tmp_req: ListImagesRequest
|
|
949
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
950
|
+
@return: ListImagesResponse
|
|
951
|
+
"""
|
|
729
952
|
UtilClient.validate_model(tmp_req)
|
|
730
953
|
request = ehpc_instant_20230701_models.ListImagesShrinkRequest()
|
|
731
954
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -734,10 +957,14 @@ class Client(OpenApiClient):
|
|
|
734
957
|
if not UtilClient.is_unset(tmp_req.image_names):
|
|
735
958
|
request.image_names_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.image_names, 'ImageNames', 'json')
|
|
736
959
|
query = {}
|
|
960
|
+
if not UtilClient.is_unset(request.image_category):
|
|
961
|
+
query['ImageCategory'] = request.image_category
|
|
737
962
|
if not UtilClient.is_unset(request.image_ids_shrink):
|
|
738
963
|
query['ImageIds'] = request.image_ids_shrink
|
|
739
964
|
if not UtilClient.is_unset(request.image_names_shrink):
|
|
740
965
|
query['ImageNames'] = request.image_names_shrink
|
|
966
|
+
if not UtilClient.is_unset(request.image_type):
|
|
967
|
+
query['ImageType'] = request.image_type
|
|
741
968
|
if not UtilClient.is_unset(request.page_number):
|
|
742
969
|
query['PageNumber'] = request.page_number
|
|
743
970
|
if not UtilClient.is_unset(request.page_size):
|
|
@@ -766,6 +993,13 @@ class Client(OpenApiClient):
|
|
|
766
993
|
tmp_req: ehpc_instant_20230701_models.ListImagesRequest,
|
|
767
994
|
runtime: util_models.RuntimeOptions,
|
|
768
995
|
) -> ehpc_instant_20230701_models.ListImagesResponse:
|
|
996
|
+
"""
|
|
997
|
+
@summary 查看托管侧镜像列表
|
|
998
|
+
|
|
999
|
+
@param tmp_req: ListImagesRequest
|
|
1000
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1001
|
+
@return: ListImagesResponse
|
|
1002
|
+
"""
|
|
769
1003
|
UtilClient.validate_model(tmp_req)
|
|
770
1004
|
request = ehpc_instant_20230701_models.ListImagesShrinkRequest()
|
|
771
1005
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -774,10 +1008,14 @@ class Client(OpenApiClient):
|
|
|
774
1008
|
if not UtilClient.is_unset(tmp_req.image_names):
|
|
775
1009
|
request.image_names_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.image_names, 'ImageNames', 'json')
|
|
776
1010
|
query = {}
|
|
1011
|
+
if not UtilClient.is_unset(request.image_category):
|
|
1012
|
+
query['ImageCategory'] = request.image_category
|
|
777
1013
|
if not UtilClient.is_unset(request.image_ids_shrink):
|
|
778
1014
|
query['ImageIds'] = request.image_ids_shrink
|
|
779
1015
|
if not UtilClient.is_unset(request.image_names_shrink):
|
|
780
1016
|
query['ImageNames'] = request.image_names_shrink
|
|
1017
|
+
if not UtilClient.is_unset(request.image_type):
|
|
1018
|
+
query['ImageType'] = request.image_type
|
|
781
1019
|
if not UtilClient.is_unset(request.page_number):
|
|
782
1020
|
query['PageNumber'] = request.page_number
|
|
783
1021
|
if not UtilClient.is_unset(request.page_size):
|
|
@@ -805,6 +1043,12 @@ class Client(OpenApiClient):
|
|
|
805
1043
|
self,
|
|
806
1044
|
request: ehpc_instant_20230701_models.ListImagesRequest,
|
|
807
1045
|
) -> ehpc_instant_20230701_models.ListImagesResponse:
|
|
1046
|
+
"""
|
|
1047
|
+
@summary 查看托管侧镜像列表
|
|
1048
|
+
|
|
1049
|
+
@param request: ListImagesRequest
|
|
1050
|
+
@return: ListImagesResponse
|
|
1051
|
+
"""
|
|
808
1052
|
runtime = util_models.RuntimeOptions()
|
|
809
1053
|
return self.list_images_with_options(request, runtime)
|
|
810
1054
|
|
|
@@ -812,6 +1056,12 @@ class Client(OpenApiClient):
|
|
|
812
1056
|
self,
|
|
813
1057
|
request: ehpc_instant_20230701_models.ListImagesRequest,
|
|
814
1058
|
) -> ehpc_instant_20230701_models.ListImagesResponse:
|
|
1059
|
+
"""
|
|
1060
|
+
@summary 查看托管侧镜像列表
|
|
1061
|
+
|
|
1062
|
+
@param request: ListImagesRequest
|
|
1063
|
+
@return: ListImagesResponse
|
|
1064
|
+
"""
|
|
815
1065
|
runtime = util_models.RuntimeOptions()
|
|
816
1066
|
return await self.list_images_with_options_async(request, runtime)
|
|
817
1067
|
|
|
@@ -820,6 +1070,13 @@ class Client(OpenApiClient):
|
|
|
820
1070
|
request: ehpc_instant_20230701_models.ListJobExecutorsRequest,
|
|
821
1071
|
runtime: util_models.RuntimeOptions,
|
|
822
1072
|
) -> ehpc_instant_20230701_models.ListJobExecutorsResponse:
|
|
1073
|
+
"""
|
|
1074
|
+
@summary 查询作业Executor信息
|
|
1075
|
+
|
|
1076
|
+
@param request: ListJobExecutorsRequest
|
|
1077
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1078
|
+
@return: ListJobExecutorsResponse
|
|
1079
|
+
"""
|
|
823
1080
|
UtilClient.validate_model(request)
|
|
824
1081
|
query = {}
|
|
825
1082
|
if not UtilClient.is_unset(request.job_id):
|
|
@@ -854,6 +1111,13 @@ class Client(OpenApiClient):
|
|
|
854
1111
|
request: ehpc_instant_20230701_models.ListJobExecutorsRequest,
|
|
855
1112
|
runtime: util_models.RuntimeOptions,
|
|
856
1113
|
) -> ehpc_instant_20230701_models.ListJobExecutorsResponse:
|
|
1114
|
+
"""
|
|
1115
|
+
@summary 查询作业Executor信息
|
|
1116
|
+
|
|
1117
|
+
@param request: ListJobExecutorsRequest
|
|
1118
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1119
|
+
@return: ListJobExecutorsResponse
|
|
1120
|
+
"""
|
|
857
1121
|
UtilClient.validate_model(request)
|
|
858
1122
|
query = {}
|
|
859
1123
|
if not UtilClient.is_unset(request.job_id):
|
|
@@ -887,6 +1151,12 @@ class Client(OpenApiClient):
|
|
|
887
1151
|
self,
|
|
888
1152
|
request: ehpc_instant_20230701_models.ListJobExecutorsRequest,
|
|
889
1153
|
) -> ehpc_instant_20230701_models.ListJobExecutorsResponse:
|
|
1154
|
+
"""
|
|
1155
|
+
@summary 查询作业Executor信息
|
|
1156
|
+
|
|
1157
|
+
@param request: ListJobExecutorsRequest
|
|
1158
|
+
@return: ListJobExecutorsResponse
|
|
1159
|
+
"""
|
|
890
1160
|
runtime = util_models.RuntimeOptions()
|
|
891
1161
|
return self.list_job_executors_with_options(request, runtime)
|
|
892
1162
|
|
|
@@ -894,6 +1164,12 @@ class Client(OpenApiClient):
|
|
|
894
1164
|
self,
|
|
895
1165
|
request: ehpc_instant_20230701_models.ListJobExecutorsRequest,
|
|
896
1166
|
) -> ehpc_instant_20230701_models.ListJobExecutorsResponse:
|
|
1167
|
+
"""
|
|
1168
|
+
@summary 查询作业Executor信息
|
|
1169
|
+
|
|
1170
|
+
@param request: ListJobExecutorsRequest
|
|
1171
|
+
@return: ListJobExecutorsResponse
|
|
1172
|
+
"""
|
|
897
1173
|
runtime = util_models.RuntimeOptions()
|
|
898
1174
|
return await self.list_job_executors_with_options_async(request, runtime)
|
|
899
1175
|
|
|
@@ -902,6 +1178,13 @@ class Client(OpenApiClient):
|
|
|
902
1178
|
tmp_req: ehpc_instant_20230701_models.ListJobsRequest,
|
|
903
1179
|
runtime: util_models.RuntimeOptions,
|
|
904
1180
|
) -> ehpc_instant_20230701_models.ListJobsResponse:
|
|
1181
|
+
"""
|
|
1182
|
+
@summary 查询作业列表
|
|
1183
|
+
|
|
1184
|
+
@param tmp_req: ListJobsRequest
|
|
1185
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1186
|
+
@return: ListJobsResponse
|
|
1187
|
+
"""
|
|
905
1188
|
UtilClient.validate_model(tmp_req)
|
|
906
1189
|
request = ehpc_instant_20230701_models.ListJobsShrinkRequest()
|
|
907
1190
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -942,6 +1225,13 @@ class Client(OpenApiClient):
|
|
|
942
1225
|
tmp_req: ehpc_instant_20230701_models.ListJobsRequest,
|
|
943
1226
|
runtime: util_models.RuntimeOptions,
|
|
944
1227
|
) -> ehpc_instant_20230701_models.ListJobsResponse:
|
|
1228
|
+
"""
|
|
1229
|
+
@summary 查询作业列表
|
|
1230
|
+
|
|
1231
|
+
@param tmp_req: ListJobsRequest
|
|
1232
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1233
|
+
@return: ListJobsResponse
|
|
1234
|
+
"""
|
|
945
1235
|
UtilClient.validate_model(tmp_req)
|
|
946
1236
|
request = ehpc_instant_20230701_models.ListJobsShrinkRequest()
|
|
947
1237
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
@@ -981,6 +1271,12 @@ class Client(OpenApiClient):
|
|
|
981
1271
|
self,
|
|
982
1272
|
request: ehpc_instant_20230701_models.ListJobsRequest,
|
|
983
1273
|
) -> ehpc_instant_20230701_models.ListJobsResponse:
|
|
1274
|
+
"""
|
|
1275
|
+
@summary 查询作业列表
|
|
1276
|
+
|
|
1277
|
+
@param request: ListJobsRequest
|
|
1278
|
+
@return: ListJobsResponse
|
|
1279
|
+
"""
|
|
984
1280
|
runtime = util_models.RuntimeOptions()
|
|
985
1281
|
return self.list_jobs_with_options(request, runtime)
|
|
986
1282
|
|
|
@@ -988,6 +1284,12 @@ class Client(OpenApiClient):
|
|
|
988
1284
|
self,
|
|
989
1285
|
request: ehpc_instant_20230701_models.ListJobsRequest,
|
|
990
1286
|
) -> ehpc_instant_20230701_models.ListJobsResponse:
|
|
1287
|
+
"""
|
|
1288
|
+
@summary 查询作业列表
|
|
1289
|
+
|
|
1290
|
+
@param request: ListJobsRequest
|
|
1291
|
+
@return: ListJobsResponse
|
|
1292
|
+
"""
|
|
991
1293
|
runtime = util_models.RuntimeOptions()
|
|
992
1294
|
return await self.list_jobs_with_options_async(request, runtime)
|
|
993
1295
|
|
|
@@ -996,6 +1298,13 @@ class Client(OpenApiClient):
|
|
|
996
1298
|
request: ehpc_instant_20230701_models.RemoveImageRequest,
|
|
997
1299
|
runtime: util_models.RuntimeOptions,
|
|
998
1300
|
) -> ehpc_instant_20230701_models.RemoveImageResponse:
|
|
1301
|
+
"""
|
|
1302
|
+
@summary 移除托管侧镜像信息。
|
|
1303
|
+
|
|
1304
|
+
@param request: RemoveImageRequest
|
|
1305
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1306
|
+
@return: RemoveImageResponse
|
|
1307
|
+
"""
|
|
999
1308
|
UtilClient.validate_model(request)
|
|
1000
1309
|
query = {}
|
|
1001
1310
|
if not UtilClient.is_unset(request.image_id):
|
|
@@ -1024,6 +1333,13 @@ class Client(OpenApiClient):
|
|
|
1024
1333
|
request: ehpc_instant_20230701_models.RemoveImageRequest,
|
|
1025
1334
|
runtime: util_models.RuntimeOptions,
|
|
1026
1335
|
) -> ehpc_instant_20230701_models.RemoveImageResponse:
|
|
1336
|
+
"""
|
|
1337
|
+
@summary 移除托管侧镜像信息。
|
|
1338
|
+
|
|
1339
|
+
@param request: RemoveImageRequest
|
|
1340
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1341
|
+
@return: RemoveImageResponse
|
|
1342
|
+
"""
|
|
1027
1343
|
UtilClient.validate_model(request)
|
|
1028
1344
|
query = {}
|
|
1029
1345
|
if not UtilClient.is_unset(request.image_id):
|
|
@@ -1051,6 +1367,12 @@ class Client(OpenApiClient):
|
|
|
1051
1367
|
self,
|
|
1052
1368
|
request: ehpc_instant_20230701_models.RemoveImageRequest,
|
|
1053
1369
|
) -> ehpc_instant_20230701_models.RemoveImageResponse:
|
|
1370
|
+
"""
|
|
1371
|
+
@summary 移除托管侧镜像信息。
|
|
1372
|
+
|
|
1373
|
+
@param request: RemoveImageRequest
|
|
1374
|
+
@return: RemoveImageResponse
|
|
1375
|
+
"""
|
|
1054
1376
|
runtime = util_models.RuntimeOptions()
|
|
1055
1377
|
return self.remove_image_with_options(request, runtime)
|
|
1056
1378
|
|
|
@@ -1058,5 +1380,11 @@ class Client(OpenApiClient):
|
|
|
1058
1380
|
self,
|
|
1059
1381
|
request: ehpc_instant_20230701_models.RemoveImageRequest,
|
|
1060
1382
|
) -> ehpc_instant_20230701_models.RemoveImageResponse:
|
|
1383
|
+
"""
|
|
1384
|
+
@summary 移除托管侧镜像信息。
|
|
1385
|
+
|
|
1386
|
+
@param request: RemoveImageRequest
|
|
1387
|
+
@return: RemoveImageResponse
|
|
1388
|
+
"""
|
|
1061
1389
|
runtime = util_models.RuntimeOptions()
|
|
1062
1390
|
return await self.remove_image_with_options_async(request, runtime)
|
|
@@ -135,6 +135,7 @@ class AddImageRequest(TeaModel):
|
|
|
135
135
|
self.container_image_spec = container_image_spec
|
|
136
136
|
self.description = description
|
|
137
137
|
self.image_version = image_version
|
|
138
|
+
# This parameter is required.
|
|
138
139
|
self.name = name
|
|
139
140
|
self.vmimage_spec = vmimage_spec
|
|
140
141
|
|
|
@@ -191,6 +192,7 @@ class AddImageShrinkRequest(TeaModel):
|
|
|
191
192
|
self.container_image_spec_shrink = container_image_spec_shrink
|
|
192
193
|
self.description = description
|
|
193
194
|
self.image_version = image_version
|
|
195
|
+
# This parameter is required.
|
|
194
196
|
self.name = name
|
|
195
197
|
self.vmimage_spec_shrink = vmimage_spec_shrink
|
|
196
198
|
|
|
@@ -562,13 +564,16 @@ class CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars(TeaModel
|
|
|
562
564
|
class CreateJobRequestTasksTaskSpecTaskExecutorContainer(TeaModel):
|
|
563
565
|
def __init__(
|
|
564
566
|
self,
|
|
567
|
+
app_id: str = None,
|
|
565
568
|
command: List[str] = None,
|
|
566
569
|
environment_vars: List[CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars] = None,
|
|
567
570
|
image: str = None,
|
|
568
571
|
working_dir: str = None,
|
|
569
572
|
):
|
|
573
|
+
self.app_id = app_id
|
|
570
574
|
self.command = command
|
|
571
575
|
self.environment_vars = environment_vars
|
|
576
|
+
# This parameter is required.
|
|
572
577
|
self.image = image
|
|
573
578
|
self.working_dir = working_dir
|
|
574
579
|
|
|
@@ -584,6 +589,8 @@ class CreateJobRequestTasksTaskSpecTaskExecutorContainer(TeaModel):
|
|
|
584
589
|
return _map
|
|
585
590
|
|
|
586
591
|
result = dict()
|
|
592
|
+
if self.app_id is not None:
|
|
593
|
+
result['AppId'] = self.app_id
|
|
587
594
|
if self.command is not None:
|
|
588
595
|
result['Command'] = self.command
|
|
589
596
|
result['EnvironmentVars'] = []
|
|
@@ -598,6 +605,8 @@ class CreateJobRequestTasksTaskSpecTaskExecutorContainer(TeaModel):
|
|
|
598
605
|
|
|
599
606
|
def from_map(self, m: dict = None):
|
|
600
607
|
m = m or dict()
|
|
608
|
+
if m.get('AppId') is not None:
|
|
609
|
+
self.app_id = m.get('AppId')
|
|
601
610
|
if m.get('Command') is not None:
|
|
602
611
|
self.command = m.get('Command')
|
|
603
612
|
self.environment_vars = []
|
|
@@ -615,10 +624,13 @@ class CreateJobRequestTasksTaskSpecTaskExecutorContainer(TeaModel):
|
|
|
615
624
|
class CreateJobRequestTasksTaskSpecTaskExecutorVM(TeaModel):
|
|
616
625
|
def __init__(
|
|
617
626
|
self,
|
|
627
|
+
app_id: str = None,
|
|
618
628
|
image: str = None,
|
|
619
629
|
prolog_script: str = None,
|
|
620
630
|
script: str = None,
|
|
621
631
|
):
|
|
632
|
+
self.app_id = app_id
|
|
633
|
+
# This parameter is required.
|
|
622
634
|
self.image = image
|
|
623
635
|
self.prolog_script = prolog_script
|
|
624
636
|
self.script = script
|
|
@@ -632,6 +644,8 @@ class CreateJobRequestTasksTaskSpecTaskExecutorVM(TeaModel):
|
|
|
632
644
|
return _map
|
|
633
645
|
|
|
634
646
|
result = dict()
|
|
647
|
+
if self.app_id is not None:
|
|
648
|
+
result['AppId'] = self.app_id
|
|
635
649
|
if self.image is not None:
|
|
636
650
|
result['Image'] = self.image
|
|
637
651
|
if self.prolog_script is not None:
|
|
@@ -642,6 +656,8 @@ class CreateJobRequestTasksTaskSpecTaskExecutorVM(TeaModel):
|
|
|
642
656
|
|
|
643
657
|
def from_map(self, m: dict = None):
|
|
644
658
|
m = m or dict()
|
|
659
|
+
if m.get('AppId') is not None:
|
|
660
|
+
self.app_id = m.get('AppId')
|
|
645
661
|
if m.get('Image') is not None:
|
|
646
662
|
self.image = m.get('Image')
|
|
647
663
|
if m.get('PrologScript') is not None:
|
|
@@ -736,6 +752,7 @@ class CreateJobRequestTasksTaskSpec(TeaModel):
|
|
|
736
752
|
volume_mount: List[CreateJobRequestTasksTaskSpecVolumeMount] = None,
|
|
737
753
|
):
|
|
738
754
|
self.resource = resource
|
|
755
|
+
# This parameter is required.
|
|
739
756
|
self.task_executor = task_executor
|
|
740
757
|
self.volume_mount = volume_mount
|
|
741
758
|
|
|
@@ -847,7 +864,9 @@ class CreateJobRequest(TeaModel):
|
|
|
847
864
|
):
|
|
848
865
|
self.deployment_policy = deployment_policy
|
|
849
866
|
self.job_description = job_description
|
|
867
|
+
# This parameter is required.
|
|
850
868
|
self.job_name = job_name
|
|
869
|
+
# This parameter is required.
|
|
851
870
|
self.tasks = tasks
|
|
852
871
|
|
|
853
872
|
def validate(self):
|
|
@@ -903,7 +922,9 @@ class CreateJobShrinkRequest(TeaModel):
|
|
|
903
922
|
):
|
|
904
923
|
self.deployment_policy_shrink = deployment_policy_shrink
|
|
905
924
|
self.job_description = job_description
|
|
925
|
+
# This parameter is required.
|
|
906
926
|
self.job_name = job_name
|
|
927
|
+
# This parameter is required.
|
|
907
928
|
self.tasks_shrink = tasks_shrink
|
|
908
929
|
|
|
909
930
|
def validate(self):
|
|
@@ -938,17 +959,55 @@ class CreateJobShrinkRequest(TeaModel):
|
|
|
938
959
|
return self
|
|
939
960
|
|
|
940
961
|
|
|
962
|
+
class CreateJobResponseBodyTasks(TeaModel):
|
|
963
|
+
def __init__(
|
|
964
|
+
self,
|
|
965
|
+
executor_ids: List[str] = None,
|
|
966
|
+
task_name: str = None,
|
|
967
|
+
):
|
|
968
|
+
self.executor_ids = executor_ids
|
|
969
|
+
self.task_name = task_name
|
|
970
|
+
|
|
971
|
+
def validate(self):
|
|
972
|
+
pass
|
|
973
|
+
|
|
974
|
+
def to_map(self):
|
|
975
|
+
_map = super().to_map()
|
|
976
|
+
if _map is not None:
|
|
977
|
+
return _map
|
|
978
|
+
|
|
979
|
+
result = dict()
|
|
980
|
+
if self.executor_ids is not None:
|
|
981
|
+
result['ExecutorIds'] = self.executor_ids
|
|
982
|
+
if self.task_name is not None:
|
|
983
|
+
result['TaskName'] = self.task_name
|
|
984
|
+
return result
|
|
985
|
+
|
|
986
|
+
def from_map(self, m: dict = None):
|
|
987
|
+
m = m or dict()
|
|
988
|
+
if m.get('ExecutorIds') is not None:
|
|
989
|
+
self.executor_ids = m.get('ExecutorIds')
|
|
990
|
+
if m.get('TaskName') is not None:
|
|
991
|
+
self.task_name = m.get('TaskName')
|
|
992
|
+
return self
|
|
993
|
+
|
|
994
|
+
|
|
941
995
|
class CreateJobResponseBody(TeaModel):
|
|
942
996
|
def __init__(
|
|
943
997
|
self,
|
|
944
998
|
job_id: str = None,
|
|
945
999
|
request_id: str = None,
|
|
1000
|
+
tasks: List[CreateJobResponseBodyTasks] = None,
|
|
946
1001
|
):
|
|
947
1002
|
self.job_id = job_id
|
|
948
1003
|
self.request_id = request_id
|
|
1004
|
+
self.tasks = tasks
|
|
949
1005
|
|
|
950
1006
|
def validate(self):
|
|
951
|
-
|
|
1007
|
+
if self.tasks:
|
|
1008
|
+
for k in self.tasks:
|
|
1009
|
+
if k:
|
|
1010
|
+
k.validate()
|
|
952
1011
|
|
|
953
1012
|
def to_map(self):
|
|
954
1013
|
_map = super().to_map()
|
|
@@ -960,6 +1019,10 @@ class CreateJobResponseBody(TeaModel):
|
|
|
960
1019
|
result['JobId'] = self.job_id
|
|
961
1020
|
if self.request_id is not None:
|
|
962
1021
|
result['RequestId'] = self.request_id
|
|
1022
|
+
result['Tasks'] = []
|
|
1023
|
+
if self.tasks is not None:
|
|
1024
|
+
for k in self.tasks:
|
|
1025
|
+
result['Tasks'].append(k.to_map() if k else None)
|
|
963
1026
|
return result
|
|
964
1027
|
|
|
965
1028
|
def from_map(self, m: dict = None):
|
|
@@ -968,6 +1031,11 @@ class CreateJobResponseBody(TeaModel):
|
|
|
968
1031
|
self.job_id = m.get('JobId')
|
|
969
1032
|
if m.get('RequestId') is not None:
|
|
970
1033
|
self.request_id = m.get('RequestId')
|
|
1034
|
+
self.tasks = []
|
|
1035
|
+
if m.get('Tasks') is not None:
|
|
1036
|
+
for k in m.get('Tasks'):
|
|
1037
|
+
temp_model = CreateJobResponseBodyTasks()
|
|
1038
|
+
self.tasks.append(temp_model.from_map(k))
|
|
971
1039
|
return self
|
|
972
1040
|
|
|
973
1041
|
|
|
@@ -1594,9 +1662,14 @@ class DescribeJobMetricLastResponse(TeaModel):
|
|
|
1594
1662
|
class GetImageRequest(TeaModel):
|
|
1595
1663
|
def __init__(
|
|
1596
1664
|
self,
|
|
1665
|
+
image_category: str = None,
|
|
1597
1666
|
image_id: str = None,
|
|
1667
|
+
image_type: str = None,
|
|
1598
1668
|
):
|
|
1669
|
+
self.image_category = image_category
|
|
1670
|
+
# This parameter is required.
|
|
1599
1671
|
self.image_id = image_id
|
|
1672
|
+
self.image_type = image_type
|
|
1600
1673
|
|
|
1601
1674
|
def validate(self):
|
|
1602
1675
|
pass
|
|
@@ -1607,14 +1680,22 @@ class GetImageRequest(TeaModel):
|
|
|
1607
1680
|
return _map
|
|
1608
1681
|
|
|
1609
1682
|
result = dict()
|
|
1683
|
+
if self.image_category is not None:
|
|
1684
|
+
result['ImageCategory'] = self.image_category
|
|
1610
1685
|
if self.image_id is not None:
|
|
1611
1686
|
result['ImageId'] = self.image_id
|
|
1687
|
+
if self.image_type is not None:
|
|
1688
|
+
result['ImageType'] = self.image_type
|
|
1612
1689
|
return result
|
|
1613
1690
|
|
|
1614
1691
|
def from_map(self, m: dict = None):
|
|
1615
1692
|
m = m or dict()
|
|
1693
|
+
if m.get('ImageCategory') is not None:
|
|
1694
|
+
self.image_category = m.get('ImageCategory')
|
|
1616
1695
|
if m.get('ImageId') is not None:
|
|
1617
1696
|
self.image_id = m.get('ImageId')
|
|
1697
|
+
if m.get('ImageType') is not None:
|
|
1698
|
+
self.image_type = m.get('ImageType')
|
|
1618
1699
|
return self
|
|
1619
1700
|
|
|
1620
1701
|
|
|
@@ -1758,21 +1839,26 @@ class GetImageResponseBodyImageVMImageSpec(TeaModel):
|
|
|
1758
1839
|
class GetImageResponseBodyImage(TeaModel):
|
|
1759
1840
|
def __init__(
|
|
1760
1841
|
self,
|
|
1842
|
+
app_id: str = None,
|
|
1761
1843
|
container_image_spec: GetImageResponseBodyImageContainerImageSpec = None,
|
|
1762
1844
|
create_time: str = None,
|
|
1763
1845
|
description: str = None,
|
|
1764
1846
|
image_type: str = None,
|
|
1765
1847
|
name: str = None,
|
|
1766
1848
|
size: str = None,
|
|
1849
|
+
status: str = None,
|
|
1767
1850
|
vmimage_spec: GetImageResponseBodyImageVMImageSpec = None,
|
|
1768
1851
|
version: str = None,
|
|
1769
1852
|
):
|
|
1853
|
+
self.app_id = app_id
|
|
1770
1854
|
self.container_image_spec = container_image_spec
|
|
1771
1855
|
self.create_time = create_time
|
|
1772
1856
|
self.description = description
|
|
1857
|
+
# This parameter is required.
|
|
1773
1858
|
self.image_type = image_type
|
|
1774
1859
|
self.name = name
|
|
1775
1860
|
self.size = size
|
|
1861
|
+
self.status = status
|
|
1776
1862
|
self.vmimage_spec = vmimage_spec
|
|
1777
1863
|
self.version = version
|
|
1778
1864
|
|
|
@@ -1788,6 +1874,8 @@ class GetImageResponseBodyImage(TeaModel):
|
|
|
1788
1874
|
return _map
|
|
1789
1875
|
|
|
1790
1876
|
result = dict()
|
|
1877
|
+
if self.app_id is not None:
|
|
1878
|
+
result['AppId'] = self.app_id
|
|
1791
1879
|
if self.container_image_spec is not None:
|
|
1792
1880
|
result['ContainerImageSpec'] = self.container_image_spec.to_map()
|
|
1793
1881
|
if self.create_time is not None:
|
|
@@ -1800,6 +1888,8 @@ class GetImageResponseBodyImage(TeaModel):
|
|
|
1800
1888
|
result['Name'] = self.name
|
|
1801
1889
|
if self.size is not None:
|
|
1802
1890
|
result['Size'] = self.size
|
|
1891
|
+
if self.status is not None:
|
|
1892
|
+
result['Status'] = self.status
|
|
1803
1893
|
if self.vmimage_spec is not None:
|
|
1804
1894
|
result['VMImageSpec'] = self.vmimage_spec.to_map()
|
|
1805
1895
|
if self.version is not None:
|
|
@@ -1808,6 +1898,8 @@ class GetImageResponseBodyImage(TeaModel):
|
|
|
1808
1898
|
|
|
1809
1899
|
def from_map(self, m: dict = None):
|
|
1810
1900
|
m = m or dict()
|
|
1901
|
+
if m.get('AppId') is not None:
|
|
1902
|
+
self.app_id = m.get('AppId')
|
|
1811
1903
|
if m.get('ContainerImageSpec') is not None:
|
|
1812
1904
|
temp_model = GetImageResponseBodyImageContainerImageSpec()
|
|
1813
1905
|
self.container_image_spec = temp_model.from_map(m['ContainerImageSpec'])
|
|
@@ -1821,6 +1913,8 @@ class GetImageResponseBodyImage(TeaModel):
|
|
|
1821
1913
|
self.name = m.get('Name')
|
|
1822
1914
|
if m.get('Size') is not None:
|
|
1823
1915
|
self.size = m.get('Size')
|
|
1916
|
+
if m.get('Status') is not None:
|
|
1917
|
+
self.status = m.get('Status')
|
|
1824
1918
|
if m.get('VMImageSpec') is not None:
|
|
1825
1919
|
temp_model = GetImageResponseBodyImageVMImageSpec()
|
|
1826
1920
|
self.vmimage_spec = temp_model.from_map(m['VMImageSpec'])
|
|
@@ -2877,13 +2971,17 @@ class ListExecutorsResponse(TeaModel):
|
|
|
2877
2971
|
class ListImagesRequest(TeaModel):
|
|
2878
2972
|
def __init__(
|
|
2879
2973
|
self,
|
|
2974
|
+
image_category: str = None,
|
|
2880
2975
|
image_ids: List[str] = None,
|
|
2881
2976
|
image_names: List[str] = None,
|
|
2977
|
+
image_type: str = None,
|
|
2882
2978
|
page_number: int = None,
|
|
2883
2979
|
page_size: int = None,
|
|
2884
2980
|
):
|
|
2981
|
+
self.image_category = image_category
|
|
2885
2982
|
self.image_ids = image_ids
|
|
2886
2983
|
self.image_names = image_names
|
|
2984
|
+
self.image_type = image_type
|
|
2887
2985
|
self.page_number = page_number
|
|
2888
2986
|
self.page_size = page_size
|
|
2889
2987
|
|
|
@@ -2896,10 +2994,14 @@ class ListImagesRequest(TeaModel):
|
|
|
2896
2994
|
return _map
|
|
2897
2995
|
|
|
2898
2996
|
result = dict()
|
|
2997
|
+
if self.image_category is not None:
|
|
2998
|
+
result['ImageCategory'] = self.image_category
|
|
2899
2999
|
if self.image_ids is not None:
|
|
2900
3000
|
result['ImageIds'] = self.image_ids
|
|
2901
3001
|
if self.image_names is not None:
|
|
2902
3002
|
result['ImageNames'] = self.image_names
|
|
3003
|
+
if self.image_type is not None:
|
|
3004
|
+
result['ImageType'] = self.image_type
|
|
2903
3005
|
if self.page_number is not None:
|
|
2904
3006
|
result['PageNumber'] = self.page_number
|
|
2905
3007
|
if self.page_size is not None:
|
|
@@ -2908,10 +3010,14 @@ class ListImagesRequest(TeaModel):
|
|
|
2908
3010
|
|
|
2909
3011
|
def from_map(self, m: dict = None):
|
|
2910
3012
|
m = m or dict()
|
|
3013
|
+
if m.get('ImageCategory') is not None:
|
|
3014
|
+
self.image_category = m.get('ImageCategory')
|
|
2911
3015
|
if m.get('ImageIds') is not None:
|
|
2912
3016
|
self.image_ids = m.get('ImageIds')
|
|
2913
3017
|
if m.get('ImageNames') is not None:
|
|
2914
3018
|
self.image_names = m.get('ImageNames')
|
|
3019
|
+
if m.get('ImageType') is not None:
|
|
3020
|
+
self.image_type = m.get('ImageType')
|
|
2915
3021
|
if m.get('PageNumber') is not None:
|
|
2916
3022
|
self.page_number = m.get('PageNumber')
|
|
2917
3023
|
if m.get('PageSize') is not None:
|
|
@@ -2922,13 +3028,17 @@ class ListImagesRequest(TeaModel):
|
|
|
2922
3028
|
class ListImagesShrinkRequest(TeaModel):
|
|
2923
3029
|
def __init__(
|
|
2924
3030
|
self,
|
|
3031
|
+
image_category: str = None,
|
|
2925
3032
|
image_ids_shrink: str = None,
|
|
2926
3033
|
image_names_shrink: str = None,
|
|
3034
|
+
image_type: str = None,
|
|
2927
3035
|
page_number: int = None,
|
|
2928
3036
|
page_size: int = None,
|
|
2929
3037
|
):
|
|
3038
|
+
self.image_category = image_category
|
|
2930
3039
|
self.image_ids_shrink = image_ids_shrink
|
|
2931
3040
|
self.image_names_shrink = image_names_shrink
|
|
3041
|
+
self.image_type = image_type
|
|
2932
3042
|
self.page_number = page_number
|
|
2933
3043
|
self.page_size = page_size
|
|
2934
3044
|
|
|
@@ -2941,10 +3051,14 @@ class ListImagesShrinkRequest(TeaModel):
|
|
|
2941
3051
|
return _map
|
|
2942
3052
|
|
|
2943
3053
|
result = dict()
|
|
3054
|
+
if self.image_category is not None:
|
|
3055
|
+
result['ImageCategory'] = self.image_category
|
|
2944
3056
|
if self.image_ids_shrink is not None:
|
|
2945
3057
|
result['ImageIds'] = self.image_ids_shrink
|
|
2946
3058
|
if self.image_names_shrink is not None:
|
|
2947
3059
|
result['ImageNames'] = self.image_names_shrink
|
|
3060
|
+
if self.image_type is not None:
|
|
3061
|
+
result['ImageType'] = self.image_type
|
|
2948
3062
|
if self.page_number is not None:
|
|
2949
3063
|
result['PageNumber'] = self.page_number
|
|
2950
3064
|
if self.page_size is not None:
|
|
@@ -2953,10 +3067,14 @@ class ListImagesShrinkRequest(TeaModel):
|
|
|
2953
3067
|
|
|
2954
3068
|
def from_map(self, m: dict = None):
|
|
2955
3069
|
m = m or dict()
|
|
3070
|
+
if m.get('ImageCategory') is not None:
|
|
3071
|
+
self.image_category = m.get('ImageCategory')
|
|
2956
3072
|
if m.get('ImageIds') is not None:
|
|
2957
3073
|
self.image_ids_shrink = m.get('ImageIds')
|
|
2958
3074
|
if m.get('ImageNames') is not None:
|
|
2959
3075
|
self.image_names_shrink = m.get('ImageNames')
|
|
3076
|
+
if m.get('ImageType') is not None:
|
|
3077
|
+
self.image_type = m.get('ImageType')
|
|
2960
3078
|
if m.get('PageNumber') is not None:
|
|
2961
3079
|
self.page_number = m.get('PageNumber')
|
|
2962
3080
|
if m.get('PageSize') is not None:
|
|
@@ -2967,6 +3085,7 @@ class ListImagesShrinkRequest(TeaModel):
|
|
|
2967
3085
|
class ListImagesResponseBodyImages(TeaModel):
|
|
2968
3086
|
def __init__(
|
|
2969
3087
|
self,
|
|
3088
|
+
app_id: str = None,
|
|
2970
3089
|
create_time: str = None,
|
|
2971
3090
|
description: str = None,
|
|
2972
3091
|
image_id: str = None,
|
|
@@ -2974,9 +3093,13 @@ class ListImagesResponseBodyImages(TeaModel):
|
|
|
2974
3093
|
name: str = None,
|
|
2975
3094
|
version: str = None,
|
|
2976
3095
|
):
|
|
3096
|
+
# This parameter is required.
|
|
3097
|
+
self.app_id = app_id
|
|
2977
3098
|
self.create_time = create_time
|
|
2978
3099
|
self.description = description
|
|
3100
|
+
# This parameter is required.
|
|
2979
3101
|
self.image_id = image_id
|
|
3102
|
+
# This parameter is required.
|
|
2980
3103
|
self.image_type = image_type
|
|
2981
3104
|
self.name = name
|
|
2982
3105
|
self.version = version
|
|
@@ -2990,6 +3113,8 @@ class ListImagesResponseBodyImages(TeaModel):
|
|
|
2990
3113
|
return _map
|
|
2991
3114
|
|
|
2992
3115
|
result = dict()
|
|
3116
|
+
if self.app_id is not None:
|
|
3117
|
+
result['AppId'] = self.app_id
|
|
2993
3118
|
if self.create_time is not None:
|
|
2994
3119
|
result['CreateTime'] = self.create_time
|
|
2995
3120
|
if self.description is not None:
|
|
@@ -3006,6 +3131,8 @@ class ListImagesResponseBodyImages(TeaModel):
|
|
|
3006
3131
|
|
|
3007
3132
|
def from_map(self, m: dict = None):
|
|
3008
3133
|
m = m or dict()
|
|
3134
|
+
if m.get('AppId') is not None:
|
|
3135
|
+
self.app_id = m.get('AppId')
|
|
3009
3136
|
if m.get('CreateTime') is not None:
|
|
3010
3137
|
self.create_time = m.get('CreateTime')
|
|
3011
3138
|
if m.get('Description') is not None:
|
|
@@ -3718,6 +3845,7 @@ class RemoveImageRequest(TeaModel):
|
|
|
3718
3845
|
self,
|
|
3719
3846
|
image_id: str = None,
|
|
3720
3847
|
):
|
|
3848
|
+
# This parameter is required.
|
|
3721
3849
|
self.image_id = image_id
|
|
3722
3850
|
|
|
3723
3851
|
def validate(self):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud-ehpcinstant20230701
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
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
|
|
@@ -20,8 +20,8 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
20
20
|
Classifier: Topic :: Software Development
|
|
21
21
|
Requires-Python: >=3.6
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
|
-
Requires-Dist: alibabacloud-tea-util <1.0.0,>=0.3.
|
|
24
|
-
Requires-Dist: alibabacloud-tea-openapi <1.0.0,>=0.3.
|
|
23
|
+
Requires-Dist: alibabacloud-tea-util <1.0.0,>=0.3.12
|
|
24
|
+
Requires-Dist: alibabacloud-tea-openapi <1.0.0,>=0.3.9
|
|
25
25
|
Requires-Dist: alibabacloud-openapi-util <1.0.0,>=0.2.1
|
|
26
26
|
Requires-Dist: alibabacloud-endpoint-util <1.0.0,>=0.0.3
|
|
27
27
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_ehpcinstant20230701/__init__.py,sha256=C8nyPP5-54GgYCcP38Lbel_pRimOW-Ra4bw6Vzp2lmE,21
|
|
2
|
+
alibabacloud_ehpcinstant20230701/client.py,sha256=3C0hUZ7KlmgHGlc38ovEbGUesky6rejXvt14eIXatvE,54898
|
|
3
|
+
alibabacloud_ehpcinstant20230701/models.py,sha256=qcenVZBUtoLNF_rGZ5s38sgA2Kit5Kg7hmoi7M7NEbQ,123230
|
|
4
|
+
alibabacloud_ehpcinstant20230701-1.0.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_ehpcinstant20230701-1.0.2.dist-info/METADATA,sha256=miC_8owG7pyoc7Rni7iuHCjt0Efva1N1fZtXU8yekhM,2339
|
|
6
|
+
alibabacloud_ehpcinstant20230701-1.0.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
+
alibabacloud_ehpcinstant20230701-1.0.2.dist-info/top_level.txt,sha256=2xOp8gwGZyTr4yO4gb1EEvC7CFiyZnvob-AgjZHkZJc,33
|
|
8
|
+
alibabacloud_ehpcinstant20230701-1.0.2.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_ehpcinstant20230701/__init__.py,sha256=dHuoY6voK7np1A7oRzw1xyBy7CK9_KBAc4FCKW29uRQ,21
|
|
2
|
-
alibabacloud_ehpcinstant20230701/client.py,sha256=xeZH8aUmai97jB2FvVGAPoa5uOvtCdDp-WNcZoj38jc,44754
|
|
3
|
-
alibabacloud_ehpcinstant20230701/models.py,sha256=tuVJPVYF8jX9rPEKRVpRAwkZ_NSnYNIN7YoctySzm-M,118528
|
|
4
|
-
alibabacloud_ehpcinstant20230701-1.0.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_ehpcinstant20230701-1.0.0.dist-info/METADATA,sha256=Db6pH1ELVdrRXw9EPCcCef6FyO8e0GCQhWLamdHbQz8,2339
|
|
6
|
-
alibabacloud_ehpcinstant20230701-1.0.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
-
alibabacloud_ehpcinstant20230701-1.0.0.dist-info/top_level.txt,sha256=2xOp8gwGZyTr4yO4gb1EEvC7CFiyZnvob-AgjZHkZJc,33
|
|
8
|
-
alibabacloud_ehpcinstant20230701-1.0.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|