@alicloud/ehpcinstant20230701 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +181 -0
- package/dist/client.js +211 -1
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +230 -0
package/src/client.ts
CHANGED
|
@@ -179,10 +179,12 @@ export class CreateJobShrinkRequest extends $tea.Model {
|
|
|
179
179
|
export class CreateJobResponseBody extends $tea.Model {
|
|
180
180
|
jobId?: string;
|
|
181
181
|
requestId?: string;
|
|
182
|
+
tasks?: CreateJobResponseBodyTasks[];
|
|
182
183
|
static names(): { [key: string]: string } {
|
|
183
184
|
return {
|
|
184
185
|
jobId: 'JobId',
|
|
185
186
|
requestId: 'RequestId',
|
|
187
|
+
tasks: 'Tasks',
|
|
186
188
|
};
|
|
187
189
|
}
|
|
188
190
|
|
|
@@ -190,6 +192,7 @@ export class CreateJobResponseBody extends $tea.Model {
|
|
|
190
192
|
return {
|
|
191
193
|
jobId: 'string',
|
|
192
194
|
requestId: 'string',
|
|
195
|
+
tasks: { 'type': 'array', 'itemType': CreateJobResponseBodyTasks },
|
|
193
196
|
};
|
|
194
197
|
}
|
|
195
198
|
|
|
@@ -515,16 +518,22 @@ export class DescribeJobMetricLastResponse extends $tea.Model {
|
|
|
515
518
|
}
|
|
516
519
|
|
|
517
520
|
export class GetImageRequest extends $tea.Model {
|
|
521
|
+
imageCategory?: string;
|
|
518
522
|
imageId?: string;
|
|
523
|
+
imageType?: string;
|
|
519
524
|
static names(): { [key: string]: string } {
|
|
520
525
|
return {
|
|
526
|
+
imageCategory: 'ImageCategory',
|
|
521
527
|
imageId: 'ImageId',
|
|
528
|
+
imageType: 'ImageType',
|
|
522
529
|
};
|
|
523
530
|
}
|
|
524
531
|
|
|
525
532
|
static types(): { [key: string]: any } {
|
|
526
533
|
return {
|
|
534
|
+
imageCategory: 'string',
|
|
527
535
|
imageId: 'string',
|
|
536
|
+
imageType: 'string',
|
|
528
537
|
};
|
|
529
538
|
}
|
|
530
539
|
|
|
@@ -759,14 +768,18 @@ export class ListExecutorsResponse extends $tea.Model {
|
|
|
759
768
|
}
|
|
760
769
|
|
|
761
770
|
export class ListImagesRequest extends $tea.Model {
|
|
771
|
+
imageCategory?: string;
|
|
762
772
|
imageIds?: string[];
|
|
763
773
|
imageNames?: string[];
|
|
774
|
+
imageType?: string;
|
|
764
775
|
pageNumber?: number;
|
|
765
776
|
pageSize?: number;
|
|
766
777
|
static names(): { [key: string]: string } {
|
|
767
778
|
return {
|
|
779
|
+
imageCategory: 'ImageCategory',
|
|
768
780
|
imageIds: 'ImageIds',
|
|
769
781
|
imageNames: 'ImageNames',
|
|
782
|
+
imageType: 'ImageType',
|
|
770
783
|
pageNumber: 'PageNumber',
|
|
771
784
|
pageSize: 'PageSize',
|
|
772
785
|
};
|
|
@@ -774,8 +787,10 @@ export class ListImagesRequest extends $tea.Model {
|
|
|
774
787
|
|
|
775
788
|
static types(): { [key: string]: any } {
|
|
776
789
|
return {
|
|
790
|
+
imageCategory: 'string',
|
|
777
791
|
imageIds: { 'type': 'array', 'itemType': 'string' },
|
|
778
792
|
imageNames: { 'type': 'array', 'itemType': 'string' },
|
|
793
|
+
imageType: 'string',
|
|
779
794
|
pageNumber: 'number',
|
|
780
795
|
pageSize: 'number',
|
|
781
796
|
};
|
|
@@ -787,14 +802,18 @@ export class ListImagesRequest extends $tea.Model {
|
|
|
787
802
|
}
|
|
788
803
|
|
|
789
804
|
export class ListImagesShrinkRequest extends $tea.Model {
|
|
805
|
+
imageCategory?: string;
|
|
790
806
|
imageIdsShrink?: string;
|
|
791
807
|
imageNamesShrink?: string;
|
|
808
|
+
imageType?: string;
|
|
792
809
|
pageNumber?: number;
|
|
793
810
|
pageSize?: number;
|
|
794
811
|
static names(): { [key: string]: string } {
|
|
795
812
|
return {
|
|
813
|
+
imageCategory: 'ImageCategory',
|
|
796
814
|
imageIdsShrink: 'ImageIds',
|
|
797
815
|
imageNamesShrink: 'ImageNames',
|
|
816
|
+
imageType: 'ImageType',
|
|
798
817
|
pageNumber: 'PageNumber',
|
|
799
818
|
pageSize: 'PageSize',
|
|
800
819
|
};
|
|
@@ -802,8 +821,10 @@ export class ListImagesShrinkRequest extends $tea.Model {
|
|
|
802
821
|
|
|
803
822
|
static types(): { [key: string]: any } {
|
|
804
823
|
return {
|
|
824
|
+
imageCategory: 'string',
|
|
805
825
|
imageIdsShrink: 'string',
|
|
806
826
|
imageNamesShrink: 'string',
|
|
827
|
+
imageType: 'string',
|
|
807
828
|
pageNumber: 'number',
|
|
808
829
|
pageSize: 'number',
|
|
809
830
|
};
|
|
@@ -1374,12 +1395,14 @@ export class CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars e
|
|
|
1374
1395
|
}
|
|
1375
1396
|
|
|
1376
1397
|
export class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $tea.Model {
|
|
1398
|
+
appId?: string;
|
|
1377
1399
|
command?: string[];
|
|
1378
1400
|
environmentVars?: CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars[];
|
|
1379
1401
|
image?: string;
|
|
1380
1402
|
workingDir?: string;
|
|
1381
1403
|
static names(): { [key: string]: string } {
|
|
1382
1404
|
return {
|
|
1405
|
+
appId: 'AppId',
|
|
1383
1406
|
command: 'Command',
|
|
1384
1407
|
environmentVars: 'EnvironmentVars',
|
|
1385
1408
|
image: 'Image',
|
|
@@ -1389,6 +1412,7 @@ export class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $tea.Mod
|
|
|
1389
1412
|
|
|
1390
1413
|
static types(): { [key: string]: any } {
|
|
1391
1414
|
return {
|
|
1415
|
+
appId: 'string',
|
|
1392
1416
|
command: { 'type': 'array', 'itemType': 'string' },
|
|
1393
1417
|
environmentVars: { 'type': 'array', 'itemType': CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars },
|
|
1394
1418
|
image: 'string',
|
|
@@ -1402,11 +1426,13 @@ export class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $tea.Mod
|
|
|
1402
1426
|
}
|
|
1403
1427
|
|
|
1404
1428
|
export class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $tea.Model {
|
|
1429
|
+
appId?: string;
|
|
1405
1430
|
image?: string;
|
|
1406
1431
|
prologScript?: string;
|
|
1407
1432
|
script?: string;
|
|
1408
1433
|
static names(): { [key: string]: string } {
|
|
1409
1434
|
return {
|
|
1435
|
+
appId: 'AppId',
|
|
1410
1436
|
image: 'Image',
|
|
1411
1437
|
prologScript: 'PrologScript',
|
|
1412
1438
|
script: 'Script',
|
|
@@ -1415,6 +1441,7 @@ export class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $tea.Model {
|
|
|
1415
1441
|
|
|
1416
1442
|
static types(): { [key: string]: any } {
|
|
1417
1443
|
return {
|
|
1444
|
+
appId: 'string',
|
|
1418
1445
|
image: 'string',
|
|
1419
1446
|
prologScript: 'string',
|
|
1420
1447
|
script: 'string',
|
|
@@ -1526,6 +1553,28 @@ export class CreateJobRequestTasks extends $tea.Model {
|
|
|
1526
1553
|
}
|
|
1527
1554
|
}
|
|
1528
1555
|
|
|
1556
|
+
export class CreateJobResponseBodyTasks extends $tea.Model {
|
|
1557
|
+
executorIds?: string[];
|
|
1558
|
+
taskName?: string;
|
|
1559
|
+
static names(): { [key: string]: string } {
|
|
1560
|
+
return {
|
|
1561
|
+
executorIds: 'ExecutorIds',
|
|
1562
|
+
taskName: 'TaskName',
|
|
1563
|
+
};
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
static types(): { [key: string]: any } {
|
|
1567
|
+
return {
|
|
1568
|
+
executorIds: { 'type': 'array', 'itemType': 'string' },
|
|
1569
|
+
taskName: 'string',
|
|
1570
|
+
};
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
constructor(map?: { [key: string]: any }) {
|
|
1574
|
+
super(map);
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1529
1578
|
export class DeleteJobsRequestJobSpecTaskSpec extends $tea.Model {
|
|
1530
1579
|
arrayIndex?: number[];
|
|
1531
1580
|
taskName?: string;
|
|
@@ -1677,22 +1726,26 @@ export class GetImageResponseBodyImageVMImageSpec extends $tea.Model {
|
|
|
1677
1726
|
}
|
|
1678
1727
|
|
|
1679
1728
|
export class GetImageResponseBodyImage extends $tea.Model {
|
|
1729
|
+
appId?: string;
|
|
1680
1730
|
containerImageSpec?: GetImageResponseBodyImageContainerImageSpec;
|
|
1681
1731
|
createTime?: string;
|
|
1682
1732
|
description?: string;
|
|
1683
1733
|
imageType?: string;
|
|
1684
1734
|
name?: string;
|
|
1685
1735
|
size?: string;
|
|
1736
|
+
status?: string;
|
|
1686
1737
|
VMImageSpec?: GetImageResponseBodyImageVMImageSpec;
|
|
1687
1738
|
version?: string;
|
|
1688
1739
|
static names(): { [key: string]: string } {
|
|
1689
1740
|
return {
|
|
1741
|
+
appId: 'AppId',
|
|
1690
1742
|
containerImageSpec: 'ContainerImageSpec',
|
|
1691
1743
|
createTime: 'CreateTime',
|
|
1692
1744
|
description: 'Description',
|
|
1693
1745
|
imageType: 'ImageType',
|
|
1694
1746
|
name: 'Name',
|
|
1695
1747
|
size: 'Size',
|
|
1748
|
+
status: 'Status',
|
|
1696
1749
|
VMImageSpec: 'VMImageSpec',
|
|
1697
1750
|
version: 'Version',
|
|
1698
1751
|
};
|
|
@@ -1700,12 +1753,14 @@ export class GetImageResponseBodyImage extends $tea.Model {
|
|
|
1700
1753
|
|
|
1701
1754
|
static types(): { [key: string]: any } {
|
|
1702
1755
|
return {
|
|
1756
|
+
appId: 'string',
|
|
1703
1757
|
containerImageSpec: GetImageResponseBodyImageContainerImageSpec,
|
|
1704
1758
|
createTime: 'string',
|
|
1705
1759
|
description: 'string',
|
|
1706
1760
|
imageType: 'string',
|
|
1707
1761
|
name: 'string',
|
|
1708
1762
|
size: 'string',
|
|
1763
|
+
status: 'string',
|
|
1709
1764
|
VMImageSpec: GetImageResponseBodyImageVMImageSpec,
|
|
1710
1765
|
version: 'string',
|
|
1711
1766
|
};
|
|
@@ -2106,6 +2161,7 @@ export class ListExecutorsResponseBodyExecutors extends $tea.Model {
|
|
|
2106
2161
|
}
|
|
2107
2162
|
|
|
2108
2163
|
export class ListImagesResponseBodyImages extends $tea.Model {
|
|
2164
|
+
appId?: string;
|
|
2109
2165
|
createTime?: string;
|
|
2110
2166
|
description?: string;
|
|
2111
2167
|
imageId?: string;
|
|
@@ -2114,6 +2170,7 @@ export class ListImagesResponseBodyImages extends $tea.Model {
|
|
|
2114
2170
|
version?: string;
|
|
2115
2171
|
static names(): { [key: string]: string } {
|
|
2116
2172
|
return {
|
|
2173
|
+
appId: 'AppId',
|
|
2117
2174
|
createTime: 'CreateTime',
|
|
2118
2175
|
description: 'Description',
|
|
2119
2176
|
imageId: 'ImageId',
|
|
@@ -2125,6 +2182,7 @@ export class ListImagesResponseBodyImages extends $tea.Model {
|
|
|
2125
2182
|
|
|
2126
2183
|
static types(): { [key: string]: any } {
|
|
2127
2184
|
return {
|
|
2185
|
+
appId: 'string',
|
|
2128
2186
|
createTime: 'string',
|
|
2129
2187
|
description: 'string',
|
|
2130
2188
|
imageId: 'string',
|
|
@@ -2301,6 +2359,13 @@ export default class Client extends OpenApi {
|
|
|
2301
2359
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
2302
2360
|
}
|
|
2303
2361
|
|
|
2362
|
+
/**
|
|
2363
|
+
* @summary 添加托管侧用户自定义镜像
|
|
2364
|
+
*
|
|
2365
|
+
* @param tmpReq AddImageRequest
|
|
2366
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2367
|
+
* @return AddImageResponse
|
|
2368
|
+
*/
|
|
2304
2369
|
async addImageWithOptions(tmpReq: AddImageRequest, runtime: $Util.RuntimeOptions): Promise<AddImageResponse> {
|
|
2305
2370
|
Util.validateModel(tmpReq);
|
|
2306
2371
|
let request = new AddImageShrinkRequest({ });
|
|
@@ -2351,11 +2416,24 @@ export default class Client extends OpenApi {
|
|
|
2351
2416
|
return $tea.cast<AddImageResponse>(await this.callApi(params, req, runtime), new AddImageResponse({}));
|
|
2352
2417
|
}
|
|
2353
2418
|
|
|
2419
|
+
/**
|
|
2420
|
+
* @summary 添加托管侧用户自定义镜像
|
|
2421
|
+
*
|
|
2422
|
+
* @param request AddImageRequest
|
|
2423
|
+
* @return AddImageResponse
|
|
2424
|
+
*/
|
|
2354
2425
|
async addImage(request: AddImageRequest): Promise<AddImageResponse> {
|
|
2355
2426
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2356
2427
|
return await this.addImageWithOptions(request, runtime);
|
|
2357
2428
|
}
|
|
2358
2429
|
|
|
2430
|
+
/**
|
|
2431
|
+
* @summary 提交任务
|
|
2432
|
+
*
|
|
2433
|
+
* @param tmpReq CreateJobRequest
|
|
2434
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2435
|
+
* @return CreateJobResponse
|
|
2436
|
+
*/
|
|
2359
2437
|
async createJobWithOptions(tmpReq: CreateJobRequest, runtime: $Util.RuntimeOptions): Promise<CreateJobResponse> {
|
|
2360
2438
|
Util.validateModel(tmpReq);
|
|
2361
2439
|
let request = new CreateJobShrinkRequest({ });
|
|
@@ -2402,11 +2480,24 @@ export default class Client extends OpenApi {
|
|
|
2402
2480
|
return $tea.cast<CreateJobResponse>(await this.callApi(params, req, runtime), new CreateJobResponse({}));
|
|
2403
2481
|
}
|
|
2404
2482
|
|
|
2483
|
+
/**
|
|
2484
|
+
* @summary 提交任务
|
|
2485
|
+
*
|
|
2486
|
+
* @param request CreateJobRequest
|
|
2487
|
+
* @return CreateJobResponse
|
|
2488
|
+
*/
|
|
2405
2489
|
async createJob(request: CreateJobRequest): Promise<CreateJobResponse> {
|
|
2406
2490
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2407
2491
|
return await this.createJobWithOptions(request, runtime);
|
|
2408
2492
|
}
|
|
2409
2493
|
|
|
2494
|
+
/**
|
|
2495
|
+
* @summary 删除作业
|
|
2496
|
+
*
|
|
2497
|
+
* @param tmpReq DeleteJobsRequest
|
|
2498
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2499
|
+
* @return DeleteJobsResponse
|
|
2500
|
+
*/
|
|
2410
2501
|
async deleteJobsWithOptions(tmpReq: DeleteJobsRequest, runtime: $Util.RuntimeOptions): Promise<DeleteJobsResponse> {
|
|
2411
2502
|
Util.validateModel(tmpReq);
|
|
2412
2503
|
let request = new DeleteJobsShrinkRequest({ });
|
|
@@ -2445,11 +2536,24 @@ export default class Client extends OpenApi {
|
|
|
2445
2536
|
return $tea.cast<DeleteJobsResponse>(await this.callApi(params, req, runtime), new DeleteJobsResponse({}));
|
|
2446
2537
|
}
|
|
2447
2538
|
|
|
2539
|
+
/**
|
|
2540
|
+
* @summary 删除作业
|
|
2541
|
+
*
|
|
2542
|
+
* @param request DeleteJobsRequest
|
|
2543
|
+
* @return DeleteJobsResponse
|
|
2544
|
+
*/
|
|
2448
2545
|
async deleteJobs(request: DeleteJobsRequest): Promise<DeleteJobsResponse> {
|
|
2449
2546
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2450
2547
|
return await this.deleteJobsWithOptions(request, runtime);
|
|
2451
2548
|
}
|
|
2452
2549
|
|
|
2550
|
+
/**
|
|
2551
|
+
* @summary 查询作业性能数据
|
|
2552
|
+
*
|
|
2553
|
+
* @param tmpReq DescribeJobMetricDataRequest
|
|
2554
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2555
|
+
* @return DescribeJobMetricDataResponse
|
|
2556
|
+
*/
|
|
2453
2557
|
async describeJobMetricDataWithOptions(tmpReq: DescribeJobMetricDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeJobMetricDataResponse> {
|
|
2454
2558
|
Util.validateModel(tmpReq);
|
|
2455
2559
|
let request = new DescribeJobMetricDataShrinkRequest({ });
|
|
@@ -2492,11 +2596,24 @@ export default class Client extends OpenApi {
|
|
|
2492
2596
|
return $tea.cast<DescribeJobMetricDataResponse>(await this.callApi(params, req, runtime), new DescribeJobMetricDataResponse({}));
|
|
2493
2597
|
}
|
|
2494
2598
|
|
|
2599
|
+
/**
|
|
2600
|
+
* @summary 查询作业性能数据
|
|
2601
|
+
*
|
|
2602
|
+
* @param request DescribeJobMetricDataRequest
|
|
2603
|
+
* @return DescribeJobMetricDataResponse
|
|
2604
|
+
*/
|
|
2495
2605
|
async describeJobMetricData(request: DescribeJobMetricDataRequest): Promise<DescribeJobMetricDataResponse> {
|
|
2496
2606
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2497
2607
|
return await this.describeJobMetricDataWithOptions(request, runtime);
|
|
2498
2608
|
}
|
|
2499
2609
|
|
|
2610
|
+
/**
|
|
2611
|
+
* @summary 查询作业即时监控项
|
|
2612
|
+
*
|
|
2613
|
+
* @param tmpReq DescribeJobMetricLastRequest
|
|
2614
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2615
|
+
* @return DescribeJobMetricLastResponse
|
|
2616
|
+
*/
|
|
2500
2617
|
async describeJobMetricLastWithOptions(tmpReq: DescribeJobMetricLastRequest, runtime: $Util.RuntimeOptions): Promise<DescribeJobMetricLastResponse> {
|
|
2501
2618
|
Util.validateModel(tmpReq);
|
|
2502
2619
|
let request = new DescribeJobMetricLastShrinkRequest({ });
|
|
@@ -2535,18 +2652,39 @@ export default class Client extends OpenApi {
|
|
|
2535
2652
|
return $tea.cast<DescribeJobMetricLastResponse>(await this.callApi(params, req, runtime), new DescribeJobMetricLastResponse({}));
|
|
2536
2653
|
}
|
|
2537
2654
|
|
|
2655
|
+
/**
|
|
2656
|
+
* @summary 查询作业即时监控项
|
|
2657
|
+
*
|
|
2658
|
+
* @param request DescribeJobMetricLastRequest
|
|
2659
|
+
* @return DescribeJobMetricLastResponse
|
|
2660
|
+
*/
|
|
2538
2661
|
async describeJobMetricLast(request: DescribeJobMetricLastRequest): Promise<DescribeJobMetricLastResponse> {
|
|
2539
2662
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2540
2663
|
return await this.describeJobMetricLastWithOptions(request, runtime);
|
|
2541
2664
|
}
|
|
2542
2665
|
|
|
2666
|
+
/**
|
|
2667
|
+
* @summary 查询托管侧镜像详情。
|
|
2668
|
+
*
|
|
2669
|
+
* @param request GetImageRequest
|
|
2670
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2671
|
+
* @return GetImageResponse
|
|
2672
|
+
*/
|
|
2543
2673
|
async getImageWithOptions(request: GetImageRequest, runtime: $Util.RuntimeOptions): Promise<GetImageResponse> {
|
|
2544
2674
|
Util.validateModel(request);
|
|
2545
2675
|
let query = { };
|
|
2676
|
+
if (!Util.isUnset(request.imageCategory)) {
|
|
2677
|
+
query["ImageCategory"] = request.imageCategory;
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2546
2680
|
if (!Util.isUnset(request.imageId)) {
|
|
2547
2681
|
query["ImageId"] = request.imageId;
|
|
2548
2682
|
}
|
|
2549
2683
|
|
|
2684
|
+
if (!Util.isUnset(request.imageType)) {
|
|
2685
|
+
query["ImageType"] = request.imageType;
|
|
2686
|
+
}
|
|
2687
|
+
|
|
2550
2688
|
let req = new $OpenApi.OpenApiRequest({
|
|
2551
2689
|
query: OpenApiUtil.query(query),
|
|
2552
2690
|
});
|
|
@@ -2564,11 +2702,24 @@ export default class Client extends OpenApi {
|
|
|
2564
2702
|
return $tea.cast<GetImageResponse>(await this.callApi(params, req, runtime), new GetImageResponse({}));
|
|
2565
2703
|
}
|
|
2566
2704
|
|
|
2705
|
+
/**
|
|
2706
|
+
* @summary 查询托管侧镜像详情。
|
|
2707
|
+
*
|
|
2708
|
+
* @param request GetImageRequest
|
|
2709
|
+
* @return GetImageResponse
|
|
2710
|
+
*/
|
|
2567
2711
|
async getImage(request: GetImageRequest): Promise<GetImageResponse> {
|
|
2568
2712
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2569
2713
|
return await this.getImageWithOptions(request, runtime);
|
|
2570
2714
|
}
|
|
2571
2715
|
|
|
2716
|
+
/**
|
|
2717
|
+
* @summary 查询作业详情
|
|
2718
|
+
*
|
|
2719
|
+
* @param request GetJobRequest
|
|
2720
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2721
|
+
* @return GetJobResponse
|
|
2722
|
+
*/
|
|
2572
2723
|
async getJobWithOptions(request: GetJobRequest, runtime: $Util.RuntimeOptions): Promise<GetJobResponse> {
|
|
2573
2724
|
Util.validateModel(request);
|
|
2574
2725
|
let query = { };
|
|
@@ -2593,11 +2744,24 @@ export default class Client extends OpenApi {
|
|
|
2593
2744
|
return $tea.cast<GetJobResponse>(await this.callApi(params, req, runtime), new GetJobResponse({}));
|
|
2594
2745
|
}
|
|
2595
2746
|
|
|
2747
|
+
/**
|
|
2748
|
+
* @summary 查询作业详情
|
|
2749
|
+
*
|
|
2750
|
+
* @param request GetJobRequest
|
|
2751
|
+
* @return GetJobResponse
|
|
2752
|
+
*/
|
|
2596
2753
|
async getJob(request: GetJobRequest): Promise<GetJobResponse> {
|
|
2597
2754
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2598
2755
|
return await this.getJobWithOptions(request, runtime);
|
|
2599
2756
|
}
|
|
2600
2757
|
|
|
2758
|
+
/**
|
|
2759
|
+
* @summary 查询全局Executor信息
|
|
2760
|
+
*
|
|
2761
|
+
* @param tmpReq ListExecutorsRequest
|
|
2762
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2763
|
+
* @return ListExecutorsResponse
|
|
2764
|
+
*/
|
|
2601
2765
|
async listExecutorsWithOptions(tmpReq: ListExecutorsRequest, runtime: $Util.RuntimeOptions): Promise<ListExecutorsResponse> {
|
|
2602
2766
|
Util.validateModel(tmpReq);
|
|
2603
2767
|
let request = new ListExecutorsShrinkRequest({ });
|
|
@@ -2636,11 +2800,24 @@ export default class Client extends OpenApi {
|
|
|
2636
2800
|
return $tea.cast<ListExecutorsResponse>(await this.callApi(params, req, runtime), new ListExecutorsResponse({}));
|
|
2637
2801
|
}
|
|
2638
2802
|
|
|
2803
|
+
/**
|
|
2804
|
+
* @summary 查询全局Executor信息
|
|
2805
|
+
*
|
|
2806
|
+
* @param request ListExecutorsRequest
|
|
2807
|
+
* @return ListExecutorsResponse
|
|
2808
|
+
*/
|
|
2639
2809
|
async listExecutors(request: ListExecutorsRequest): Promise<ListExecutorsResponse> {
|
|
2640
2810
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2641
2811
|
return await this.listExecutorsWithOptions(request, runtime);
|
|
2642
2812
|
}
|
|
2643
2813
|
|
|
2814
|
+
/**
|
|
2815
|
+
* @summary 查看托管侧镜像列表
|
|
2816
|
+
*
|
|
2817
|
+
* @param tmpReq ListImagesRequest
|
|
2818
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2819
|
+
* @return ListImagesResponse
|
|
2820
|
+
*/
|
|
2644
2821
|
async listImagesWithOptions(tmpReq: ListImagesRequest, runtime: $Util.RuntimeOptions): Promise<ListImagesResponse> {
|
|
2645
2822
|
Util.validateModel(tmpReq);
|
|
2646
2823
|
let request = new ListImagesShrinkRequest({ });
|
|
@@ -2654,6 +2831,10 @@ export default class Client extends OpenApi {
|
|
|
2654
2831
|
}
|
|
2655
2832
|
|
|
2656
2833
|
let query = { };
|
|
2834
|
+
if (!Util.isUnset(request.imageCategory)) {
|
|
2835
|
+
query["ImageCategory"] = request.imageCategory;
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2657
2838
|
if (!Util.isUnset(request.imageIdsShrink)) {
|
|
2658
2839
|
query["ImageIds"] = request.imageIdsShrink;
|
|
2659
2840
|
}
|
|
@@ -2662,6 +2843,10 @@ export default class Client extends OpenApi {
|
|
|
2662
2843
|
query["ImageNames"] = request.imageNamesShrink;
|
|
2663
2844
|
}
|
|
2664
2845
|
|
|
2846
|
+
if (!Util.isUnset(request.imageType)) {
|
|
2847
|
+
query["ImageType"] = request.imageType;
|
|
2848
|
+
}
|
|
2849
|
+
|
|
2665
2850
|
if (!Util.isUnset(request.pageNumber)) {
|
|
2666
2851
|
query["PageNumber"] = request.pageNumber;
|
|
2667
2852
|
}
|
|
@@ -2687,11 +2872,24 @@ export default class Client extends OpenApi {
|
|
|
2687
2872
|
return $tea.cast<ListImagesResponse>(await this.callApi(params, req, runtime), new ListImagesResponse({}));
|
|
2688
2873
|
}
|
|
2689
2874
|
|
|
2875
|
+
/**
|
|
2876
|
+
* @summary 查看托管侧镜像列表
|
|
2877
|
+
*
|
|
2878
|
+
* @param request ListImagesRequest
|
|
2879
|
+
* @return ListImagesResponse
|
|
2880
|
+
*/
|
|
2690
2881
|
async listImages(request: ListImagesRequest): Promise<ListImagesResponse> {
|
|
2691
2882
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2692
2883
|
return await this.listImagesWithOptions(request, runtime);
|
|
2693
2884
|
}
|
|
2694
2885
|
|
|
2886
|
+
/**
|
|
2887
|
+
* @summary 查询作业Executor信息
|
|
2888
|
+
*
|
|
2889
|
+
* @param request ListJobExecutorsRequest
|
|
2890
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2891
|
+
* @return ListJobExecutorsResponse
|
|
2892
|
+
*/
|
|
2695
2893
|
async listJobExecutorsWithOptions(request: ListJobExecutorsRequest, runtime: $Util.RuntimeOptions): Promise<ListJobExecutorsResponse> {
|
|
2696
2894
|
Util.validateModel(request);
|
|
2697
2895
|
let query = { };
|
|
@@ -2728,11 +2926,24 @@ export default class Client extends OpenApi {
|
|
|
2728
2926
|
return $tea.cast<ListJobExecutorsResponse>(await this.callApi(params, req, runtime), new ListJobExecutorsResponse({}));
|
|
2729
2927
|
}
|
|
2730
2928
|
|
|
2929
|
+
/**
|
|
2930
|
+
* @summary 查询作业Executor信息
|
|
2931
|
+
*
|
|
2932
|
+
* @param request ListJobExecutorsRequest
|
|
2933
|
+
* @return ListJobExecutorsResponse
|
|
2934
|
+
*/
|
|
2731
2935
|
async listJobExecutors(request: ListJobExecutorsRequest): Promise<ListJobExecutorsResponse> {
|
|
2732
2936
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2733
2937
|
return await this.listJobExecutorsWithOptions(request, runtime);
|
|
2734
2938
|
}
|
|
2735
2939
|
|
|
2940
|
+
/**
|
|
2941
|
+
* @summary 查询作业列表
|
|
2942
|
+
*
|
|
2943
|
+
* @param tmpReq ListJobsRequest
|
|
2944
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2945
|
+
* @return ListJobsResponse
|
|
2946
|
+
*/
|
|
2736
2947
|
async listJobsWithOptions(tmpReq: ListJobsRequest, runtime: $Util.RuntimeOptions): Promise<ListJobsResponse> {
|
|
2737
2948
|
Util.validateModel(tmpReq);
|
|
2738
2949
|
let request = new ListJobsShrinkRequest({ });
|
|
@@ -2779,11 +2990,24 @@ export default class Client extends OpenApi {
|
|
|
2779
2990
|
return $tea.cast<ListJobsResponse>(await this.callApi(params, req, runtime), new ListJobsResponse({}));
|
|
2780
2991
|
}
|
|
2781
2992
|
|
|
2993
|
+
/**
|
|
2994
|
+
* @summary 查询作业列表
|
|
2995
|
+
*
|
|
2996
|
+
* @param request ListJobsRequest
|
|
2997
|
+
* @return ListJobsResponse
|
|
2998
|
+
*/
|
|
2782
2999
|
async listJobs(request: ListJobsRequest): Promise<ListJobsResponse> {
|
|
2783
3000
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2784
3001
|
return await this.listJobsWithOptions(request, runtime);
|
|
2785
3002
|
}
|
|
2786
3003
|
|
|
3004
|
+
/**
|
|
3005
|
+
* @summary 移除托管侧镜像信息。
|
|
3006
|
+
*
|
|
3007
|
+
* @param request RemoveImageRequest
|
|
3008
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3009
|
+
* @return RemoveImageResponse
|
|
3010
|
+
*/
|
|
2787
3011
|
async removeImageWithOptions(request: RemoveImageRequest, runtime: $Util.RuntimeOptions): Promise<RemoveImageResponse> {
|
|
2788
3012
|
Util.validateModel(request);
|
|
2789
3013
|
let query = { };
|
|
@@ -2808,6 +3032,12 @@ export default class Client extends OpenApi {
|
|
|
2808
3032
|
return $tea.cast<RemoveImageResponse>(await this.callApi(params, req, runtime), new RemoveImageResponse({}));
|
|
2809
3033
|
}
|
|
2810
3034
|
|
|
3035
|
+
/**
|
|
3036
|
+
* @summary 移除托管侧镜像信息。
|
|
3037
|
+
*
|
|
3038
|
+
* @param request RemoveImageRequest
|
|
3039
|
+
* @return RemoveImageResponse
|
|
3040
|
+
*/
|
|
2811
3041
|
async removeImage(request: RemoveImageRequest): Promise<RemoveImageResponse> {
|
|
2812
3042
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2813
3043
|
return await this.removeImageWithOptions(request, runtime);
|