@alicloud/ehpcinstant20230701 1.0.1 → 1.0.3
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 +899 -85
- package/dist/client.js +127 -85
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +971 -109
package/dist/client.js
CHANGED
|
@@ -30,7 +30,6 @@ exports.CreateJobRequestTasksExecutorPolicyArraySpec = exports.CreateJobRequestD
|
|
|
30
30
|
exports.ListJobsResponseBodyJobList = exports.ListJobsRequestSortBy = exports.ListJobsRequestFilter = exports.ListJobExecutorsResponseBodyExecutors = exports.ListImagesResponseBodyImages = exports.ListExecutorsResponseBodyExecutors = exports.ListExecutorsRequestFilter = exports.GetJobResponseBodyJobInfo = exports.GetJobResponseBodyJobInfoTasks = exports.GetJobResponseBodyJobInfoTasksTaskSpec = exports.GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutor = exports.GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVM = exports.GetJobResponseBodyJobInfoTasksTaskSpecResource = exports.GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks = exports.GetJobResponseBodyJobInfoTasksExecutorStatus = exports.GetJobResponseBodyJobInfoTasksExecutorPolicy = exports.GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec = exports.GetJobResponseBodyJobInfoDeploymentPolicy = exports.GetJobResponseBodyJobInfoDeploymentPolicyNetwork = exports.GetImageResponseBodyImage = exports.GetImageResponseBodyImageVMImageSpec = exports.GetImageResponseBodyImageContainerImageSpec = exports.GetImageResponseBodyImageContainerImageSpecRegistryCredential = exports.DescribeJobMetricLastResponseBodyMetrics = exports.DeleteJobsRequestJobSpec = exports.DeleteJobsRequestJobSpecTaskSpec = exports.CreateJobResponseBodyTasks = exports.CreateJobRequestTasks = exports.CreateJobRequestTasksTaskSpec = exports.CreateJobRequestTasksTaskSpecVolumeMount = exports.CreateJobRequestTasksTaskSpecTaskExecutor = exports.CreateJobRequestTasksTaskSpecTaskExecutorVM = exports.CreateJobRequestTasksTaskSpecTaskExecutorContainer = exports.CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars = exports.CreateJobRequestTasksTaskSpecResource = exports.CreateJobRequestTasksTaskSpecResourceDisks = exports.CreateJobRequestTasksExecutorPolicy = void 0;
|
|
31
31
|
// This file is auto-generated, don't edit it
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
33
|
*/
|
|
35
34
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
36
35
|
const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
|
|
@@ -131,6 +130,7 @@ class CreateJobRequest extends $tea.Model {
|
|
|
131
130
|
deploymentPolicy: 'DeploymentPolicy',
|
|
132
131
|
jobDescription: 'JobDescription',
|
|
133
132
|
jobName: 'JobName',
|
|
133
|
+
jobScheduler: 'JobScheduler',
|
|
134
134
|
tasks: 'Tasks',
|
|
135
135
|
};
|
|
136
136
|
}
|
|
@@ -139,6 +139,7 @@ class CreateJobRequest extends $tea.Model {
|
|
|
139
139
|
deploymentPolicy: CreateJobRequestDeploymentPolicy,
|
|
140
140
|
jobDescription: 'string',
|
|
141
141
|
jobName: 'string',
|
|
142
|
+
jobScheduler: 'string',
|
|
142
143
|
tasks: { 'type': 'array', 'itemType': CreateJobRequestTasks },
|
|
143
144
|
};
|
|
144
145
|
}
|
|
@@ -153,6 +154,7 @@ class CreateJobShrinkRequest extends $tea.Model {
|
|
|
153
154
|
deploymentPolicyShrink: 'DeploymentPolicy',
|
|
154
155
|
jobDescription: 'JobDescription',
|
|
155
156
|
jobName: 'JobName',
|
|
157
|
+
jobScheduler: 'JobScheduler',
|
|
156
158
|
tasksShrink: 'Tasks',
|
|
157
159
|
};
|
|
158
160
|
}
|
|
@@ -161,6 +163,7 @@ class CreateJobShrinkRequest extends $tea.Model {
|
|
|
161
163
|
deploymentPolicyShrink: 'string',
|
|
162
164
|
jobDescription: 'string',
|
|
163
165
|
jobName: 'string',
|
|
166
|
+
jobScheduler: 'string',
|
|
164
167
|
tasksShrink: 'string',
|
|
165
168
|
};
|
|
166
169
|
}
|
|
@@ -446,12 +449,16 @@ exports.DescribeJobMetricLastResponse = DescribeJobMetricLastResponse;
|
|
|
446
449
|
class GetImageRequest extends $tea.Model {
|
|
447
450
|
static names() {
|
|
448
451
|
return {
|
|
452
|
+
imageCategory: 'ImageCategory',
|
|
449
453
|
imageId: 'ImageId',
|
|
454
|
+
imageType: 'ImageType',
|
|
450
455
|
};
|
|
451
456
|
}
|
|
452
457
|
static types() {
|
|
453
458
|
return {
|
|
459
|
+
imageCategory: 'string',
|
|
454
460
|
imageId: 'string',
|
|
461
|
+
imageType: 'string',
|
|
455
462
|
};
|
|
456
463
|
}
|
|
457
464
|
constructor(map) {
|
|
@@ -642,16 +649,20 @@ exports.ListExecutorsResponse = ListExecutorsResponse;
|
|
|
642
649
|
class ListImagesRequest extends $tea.Model {
|
|
643
650
|
static names() {
|
|
644
651
|
return {
|
|
652
|
+
imageCategory: 'ImageCategory',
|
|
645
653
|
imageIds: 'ImageIds',
|
|
646
654
|
imageNames: 'ImageNames',
|
|
655
|
+
imageType: 'ImageType',
|
|
647
656
|
pageNumber: 'PageNumber',
|
|
648
657
|
pageSize: 'PageSize',
|
|
649
658
|
};
|
|
650
659
|
}
|
|
651
660
|
static types() {
|
|
652
661
|
return {
|
|
662
|
+
imageCategory: 'string',
|
|
653
663
|
imageIds: { 'type': 'array', 'itemType': 'string' },
|
|
654
664
|
imageNames: { 'type': 'array', 'itemType': 'string' },
|
|
665
|
+
imageType: 'string',
|
|
655
666
|
pageNumber: 'number',
|
|
656
667
|
pageSize: 'number',
|
|
657
668
|
};
|
|
@@ -664,16 +675,20 @@ exports.ListImagesRequest = ListImagesRequest;
|
|
|
664
675
|
class ListImagesShrinkRequest extends $tea.Model {
|
|
665
676
|
static names() {
|
|
666
677
|
return {
|
|
678
|
+
imageCategory: 'ImageCategory',
|
|
667
679
|
imageIdsShrink: 'ImageIds',
|
|
668
680
|
imageNamesShrink: 'ImageNames',
|
|
681
|
+
imageType: 'ImageType',
|
|
669
682
|
pageNumber: 'PageNumber',
|
|
670
683
|
pageSize: 'PageSize',
|
|
671
684
|
};
|
|
672
685
|
}
|
|
673
686
|
static types() {
|
|
674
687
|
return {
|
|
688
|
+
imageCategory: 'string',
|
|
675
689
|
imageIdsShrink: 'string',
|
|
676
690
|
imageNamesShrink: 'string',
|
|
691
|
+
imageType: 'string',
|
|
677
692
|
pageNumber: 'number',
|
|
678
693
|
pageSize: 'number',
|
|
679
694
|
};
|
|
@@ -1132,6 +1147,7 @@ exports.CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars = Crea
|
|
|
1132
1147
|
class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $tea.Model {
|
|
1133
1148
|
static names() {
|
|
1134
1149
|
return {
|
|
1150
|
+
appId: 'AppId',
|
|
1135
1151
|
command: 'Command',
|
|
1136
1152
|
environmentVars: 'EnvironmentVars',
|
|
1137
1153
|
image: 'Image',
|
|
@@ -1140,6 +1156,7 @@ class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $tea.Model {
|
|
|
1140
1156
|
}
|
|
1141
1157
|
static types() {
|
|
1142
1158
|
return {
|
|
1159
|
+
appId: 'string',
|
|
1143
1160
|
command: { 'type': 'array', 'itemType': 'string' },
|
|
1144
1161
|
environmentVars: { 'type': 'array', 'itemType': CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars },
|
|
1145
1162
|
image: 'string',
|
|
@@ -1154,6 +1171,7 @@ exports.CreateJobRequestTasksTaskSpecTaskExecutorContainer = CreateJobRequestTas
|
|
|
1154
1171
|
class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $tea.Model {
|
|
1155
1172
|
static names() {
|
|
1156
1173
|
return {
|
|
1174
|
+
appId: 'AppId',
|
|
1157
1175
|
image: 'Image',
|
|
1158
1176
|
prologScript: 'PrologScript',
|
|
1159
1177
|
script: 'Script',
|
|
@@ -1161,6 +1179,7 @@ class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $tea.Model {
|
|
|
1161
1179
|
}
|
|
1162
1180
|
static types() {
|
|
1163
1181
|
return {
|
|
1182
|
+
appId: 'string',
|
|
1164
1183
|
image: 'string',
|
|
1165
1184
|
prologScript: 'string',
|
|
1166
1185
|
script: 'string',
|
|
@@ -1392,24 +1411,28 @@ exports.GetImageResponseBodyImageVMImageSpec = GetImageResponseBodyImageVMImageS
|
|
|
1392
1411
|
class GetImageResponseBodyImage extends $tea.Model {
|
|
1393
1412
|
static names() {
|
|
1394
1413
|
return {
|
|
1414
|
+
appId: 'AppId',
|
|
1395
1415
|
containerImageSpec: 'ContainerImageSpec',
|
|
1396
1416
|
createTime: 'CreateTime',
|
|
1397
1417
|
description: 'Description',
|
|
1398
1418
|
imageType: 'ImageType',
|
|
1399
1419
|
name: 'Name',
|
|
1400
1420
|
size: 'Size',
|
|
1421
|
+
status: 'Status',
|
|
1401
1422
|
VMImageSpec: 'VMImageSpec',
|
|
1402
1423
|
version: 'Version',
|
|
1403
1424
|
};
|
|
1404
1425
|
}
|
|
1405
1426
|
static types() {
|
|
1406
1427
|
return {
|
|
1428
|
+
appId: 'string',
|
|
1407
1429
|
containerImageSpec: GetImageResponseBodyImageContainerImageSpec,
|
|
1408
1430
|
createTime: 'string',
|
|
1409
1431
|
description: 'string',
|
|
1410
1432
|
imageType: 'string',
|
|
1411
1433
|
name: 'string',
|
|
1412
1434
|
size: 'string',
|
|
1435
|
+
status: 'string',
|
|
1413
1436
|
VMImageSpec: GetImageResponseBodyImageVMImageSpec,
|
|
1414
1437
|
version: 'string',
|
|
1415
1438
|
};
|
|
@@ -1642,6 +1665,7 @@ class GetJobResponseBodyJobInfo extends $tea.Model {
|
|
|
1642
1665
|
jobDescription: 'JobDescription',
|
|
1643
1666
|
jobId: 'JobId',
|
|
1644
1667
|
jobName: 'JobName',
|
|
1668
|
+
jobScheduler: 'JobScheduler',
|
|
1645
1669
|
startTime: 'StartTime',
|
|
1646
1670
|
status: 'Status',
|
|
1647
1671
|
tasks: 'Tasks',
|
|
@@ -1655,6 +1679,7 @@ class GetJobResponseBodyJobInfo extends $tea.Model {
|
|
|
1655
1679
|
jobDescription: 'string',
|
|
1656
1680
|
jobId: 'string',
|
|
1657
1681
|
jobName: 'string',
|
|
1682
|
+
jobScheduler: 'string',
|
|
1658
1683
|
startTime: 'string',
|
|
1659
1684
|
status: 'string',
|
|
1660
1685
|
tasks: { 'type': 'array', 'itemType': GetJobResponseBodyJobInfoTasks },
|
|
@@ -1728,6 +1753,7 @@ exports.ListExecutorsResponseBodyExecutors = ListExecutorsResponseBodyExecutors;
|
|
|
1728
1753
|
class ListImagesResponseBodyImages extends $tea.Model {
|
|
1729
1754
|
static names() {
|
|
1730
1755
|
return {
|
|
1756
|
+
appId: 'AppId',
|
|
1731
1757
|
createTime: 'CreateTime',
|
|
1732
1758
|
description: 'Description',
|
|
1733
1759
|
imageId: 'ImageId',
|
|
@@ -1738,6 +1764,7 @@ class ListImagesResponseBodyImages extends $tea.Model {
|
|
|
1738
1764
|
}
|
|
1739
1765
|
static types() {
|
|
1740
1766
|
return {
|
|
1767
|
+
appId: 'string',
|
|
1741
1768
|
createTime: 'string',
|
|
1742
1769
|
description: 'string',
|
|
1743
1770
|
imageId: 'string',
|
|
@@ -1874,11 +1901,11 @@ class Client extends openapi_client_1.default {
|
|
|
1874
1901
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
1875
1902
|
}
|
|
1876
1903
|
/**
|
|
1877
|
-
*
|
|
1904
|
+
* 添加托管侧用户自定义镜像
|
|
1878
1905
|
*
|
|
1879
|
-
* @param tmpReq AddImageRequest
|
|
1880
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1881
|
-
* @
|
|
1906
|
+
* @param tmpReq - AddImageRequest
|
|
1907
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1908
|
+
* @returns AddImageResponse
|
|
1882
1909
|
*/
|
|
1883
1910
|
async addImageWithOptions(tmpReq, runtime) {
|
|
1884
1911
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -1923,21 +1950,21 @@ class Client extends openapi_client_1.default {
|
|
|
1923
1950
|
return $tea.cast(await this.callApi(params, req, runtime), new AddImageResponse({}));
|
|
1924
1951
|
}
|
|
1925
1952
|
/**
|
|
1926
|
-
*
|
|
1953
|
+
* 添加托管侧用户自定义镜像
|
|
1927
1954
|
*
|
|
1928
|
-
* @param request AddImageRequest
|
|
1929
|
-
* @
|
|
1955
|
+
* @param request - AddImageRequest
|
|
1956
|
+
* @returns AddImageResponse
|
|
1930
1957
|
*/
|
|
1931
1958
|
async addImage(request) {
|
|
1932
1959
|
let runtime = new $Util.RuntimeOptions({});
|
|
1933
1960
|
return await this.addImageWithOptions(request, runtime);
|
|
1934
1961
|
}
|
|
1935
1962
|
/**
|
|
1936
|
-
*
|
|
1963
|
+
* 提交任务
|
|
1937
1964
|
*
|
|
1938
|
-
* @param tmpReq CreateJobRequest
|
|
1939
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1940
|
-
* @
|
|
1965
|
+
* @param tmpReq - CreateJobRequest
|
|
1966
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1967
|
+
* @returns CreateJobResponse
|
|
1941
1968
|
*/
|
|
1942
1969
|
async createJobWithOptions(tmpReq, runtime) {
|
|
1943
1970
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -1959,6 +1986,9 @@ class Client extends openapi_client_1.default {
|
|
|
1959
1986
|
if (!tea_util_1.default.isUnset(request.jobName)) {
|
|
1960
1987
|
query["JobName"] = request.jobName;
|
|
1961
1988
|
}
|
|
1989
|
+
if (!tea_util_1.default.isUnset(request.jobScheduler)) {
|
|
1990
|
+
query["JobScheduler"] = request.jobScheduler;
|
|
1991
|
+
}
|
|
1962
1992
|
if (!tea_util_1.default.isUnset(request.tasksShrink)) {
|
|
1963
1993
|
query["Tasks"] = request.tasksShrink;
|
|
1964
1994
|
}
|
|
@@ -1979,21 +2009,21 @@ class Client extends openapi_client_1.default {
|
|
|
1979
2009
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateJobResponse({}));
|
|
1980
2010
|
}
|
|
1981
2011
|
/**
|
|
1982
|
-
*
|
|
2012
|
+
* 提交任务
|
|
1983
2013
|
*
|
|
1984
|
-
* @param request CreateJobRequest
|
|
1985
|
-
* @
|
|
2014
|
+
* @param request - CreateJobRequest
|
|
2015
|
+
* @returns CreateJobResponse
|
|
1986
2016
|
*/
|
|
1987
2017
|
async createJob(request) {
|
|
1988
2018
|
let runtime = new $Util.RuntimeOptions({});
|
|
1989
2019
|
return await this.createJobWithOptions(request, runtime);
|
|
1990
2020
|
}
|
|
1991
2021
|
/**
|
|
1992
|
-
*
|
|
2022
|
+
* 删除作业
|
|
1993
2023
|
*
|
|
1994
|
-
* @param tmpReq DeleteJobsRequest
|
|
1995
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1996
|
-
* @
|
|
2024
|
+
* @param tmpReq - DeleteJobsRequest
|
|
2025
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2026
|
+
* @returns DeleteJobsResponse
|
|
1997
2027
|
*/
|
|
1998
2028
|
async deleteJobsWithOptions(tmpReq, runtime) {
|
|
1999
2029
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -2029,21 +2059,21 @@ class Client extends openapi_client_1.default {
|
|
|
2029
2059
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteJobsResponse({}));
|
|
2030
2060
|
}
|
|
2031
2061
|
/**
|
|
2032
|
-
*
|
|
2062
|
+
* 删除作业
|
|
2033
2063
|
*
|
|
2034
|
-
* @param request DeleteJobsRequest
|
|
2035
|
-
* @
|
|
2064
|
+
* @param request - DeleteJobsRequest
|
|
2065
|
+
* @returns DeleteJobsResponse
|
|
2036
2066
|
*/
|
|
2037
2067
|
async deleteJobs(request) {
|
|
2038
2068
|
let runtime = new $Util.RuntimeOptions({});
|
|
2039
2069
|
return await this.deleteJobsWithOptions(request, runtime);
|
|
2040
2070
|
}
|
|
2041
2071
|
/**
|
|
2042
|
-
*
|
|
2072
|
+
* 查询作业性能数据
|
|
2043
2073
|
*
|
|
2044
|
-
* @param tmpReq DescribeJobMetricDataRequest
|
|
2045
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2046
|
-
* @
|
|
2074
|
+
* @param tmpReq - DescribeJobMetricDataRequest
|
|
2075
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2076
|
+
* @returns DescribeJobMetricDataResponse
|
|
2047
2077
|
*/
|
|
2048
2078
|
async describeJobMetricDataWithOptions(tmpReq, runtime) {
|
|
2049
2079
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -2082,21 +2112,21 @@ class Client extends openapi_client_1.default {
|
|
|
2082
2112
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobMetricDataResponse({}));
|
|
2083
2113
|
}
|
|
2084
2114
|
/**
|
|
2085
|
-
*
|
|
2115
|
+
* 查询作业性能数据
|
|
2086
2116
|
*
|
|
2087
|
-
* @param request DescribeJobMetricDataRequest
|
|
2088
|
-
* @
|
|
2117
|
+
* @param request - DescribeJobMetricDataRequest
|
|
2118
|
+
* @returns DescribeJobMetricDataResponse
|
|
2089
2119
|
*/
|
|
2090
2120
|
async describeJobMetricData(request) {
|
|
2091
2121
|
let runtime = new $Util.RuntimeOptions({});
|
|
2092
2122
|
return await this.describeJobMetricDataWithOptions(request, runtime);
|
|
2093
2123
|
}
|
|
2094
2124
|
/**
|
|
2095
|
-
*
|
|
2125
|
+
* 查询作业即时监控项
|
|
2096
2126
|
*
|
|
2097
|
-
* @param tmpReq DescribeJobMetricLastRequest
|
|
2098
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2099
|
-
* @
|
|
2127
|
+
* @param tmpReq - DescribeJobMetricLastRequest
|
|
2128
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2129
|
+
* @returns DescribeJobMetricLastResponse
|
|
2100
2130
|
*/
|
|
2101
2131
|
async describeJobMetricLastWithOptions(tmpReq, runtime) {
|
|
2102
2132
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -2132,28 +2162,34 @@ class Client extends openapi_client_1.default {
|
|
|
2132
2162
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobMetricLastResponse({}));
|
|
2133
2163
|
}
|
|
2134
2164
|
/**
|
|
2135
|
-
*
|
|
2165
|
+
* 查询作业即时监控项
|
|
2136
2166
|
*
|
|
2137
|
-
* @param request DescribeJobMetricLastRequest
|
|
2138
|
-
* @
|
|
2167
|
+
* @param request - DescribeJobMetricLastRequest
|
|
2168
|
+
* @returns DescribeJobMetricLastResponse
|
|
2139
2169
|
*/
|
|
2140
2170
|
async describeJobMetricLast(request) {
|
|
2141
2171
|
let runtime = new $Util.RuntimeOptions({});
|
|
2142
2172
|
return await this.describeJobMetricLastWithOptions(request, runtime);
|
|
2143
2173
|
}
|
|
2144
2174
|
/**
|
|
2145
|
-
*
|
|
2175
|
+
* 查询托管侧镜像详情。
|
|
2146
2176
|
*
|
|
2147
|
-
* @param request GetImageRequest
|
|
2148
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2149
|
-
* @
|
|
2177
|
+
* @param request - GetImageRequest
|
|
2178
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2179
|
+
* @returns GetImageResponse
|
|
2150
2180
|
*/
|
|
2151
2181
|
async getImageWithOptions(request, runtime) {
|
|
2152
2182
|
tea_util_1.default.validateModel(request);
|
|
2153
2183
|
let query = {};
|
|
2184
|
+
if (!tea_util_1.default.isUnset(request.imageCategory)) {
|
|
2185
|
+
query["ImageCategory"] = request.imageCategory;
|
|
2186
|
+
}
|
|
2154
2187
|
if (!tea_util_1.default.isUnset(request.imageId)) {
|
|
2155
2188
|
query["ImageId"] = request.imageId;
|
|
2156
2189
|
}
|
|
2190
|
+
if (!tea_util_1.default.isUnset(request.imageType)) {
|
|
2191
|
+
query["ImageType"] = request.imageType;
|
|
2192
|
+
}
|
|
2157
2193
|
let req = new $OpenApi.OpenApiRequest({
|
|
2158
2194
|
query: openapi_util_1.default.query(query),
|
|
2159
2195
|
});
|
|
@@ -2171,21 +2207,21 @@ class Client extends openapi_client_1.default {
|
|
|
2171
2207
|
return $tea.cast(await this.callApi(params, req, runtime), new GetImageResponse({}));
|
|
2172
2208
|
}
|
|
2173
2209
|
/**
|
|
2174
|
-
*
|
|
2210
|
+
* 查询托管侧镜像详情。
|
|
2175
2211
|
*
|
|
2176
|
-
* @param request GetImageRequest
|
|
2177
|
-
* @
|
|
2212
|
+
* @param request - GetImageRequest
|
|
2213
|
+
* @returns GetImageResponse
|
|
2178
2214
|
*/
|
|
2179
2215
|
async getImage(request) {
|
|
2180
2216
|
let runtime = new $Util.RuntimeOptions({});
|
|
2181
2217
|
return await this.getImageWithOptions(request, runtime);
|
|
2182
2218
|
}
|
|
2183
2219
|
/**
|
|
2184
|
-
*
|
|
2220
|
+
* 查询作业详情
|
|
2185
2221
|
*
|
|
2186
|
-
* @param request GetJobRequest
|
|
2187
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2188
|
-
* @
|
|
2222
|
+
* @param request - GetJobRequest
|
|
2223
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2224
|
+
* @returns GetJobResponse
|
|
2189
2225
|
*/
|
|
2190
2226
|
async getJobWithOptions(request, runtime) {
|
|
2191
2227
|
tea_util_1.default.validateModel(request);
|
|
@@ -2210,21 +2246,21 @@ class Client extends openapi_client_1.default {
|
|
|
2210
2246
|
return $tea.cast(await this.callApi(params, req, runtime), new GetJobResponse({}));
|
|
2211
2247
|
}
|
|
2212
2248
|
/**
|
|
2213
|
-
*
|
|
2249
|
+
* 查询作业详情
|
|
2214
2250
|
*
|
|
2215
|
-
* @param request GetJobRequest
|
|
2216
|
-
* @
|
|
2251
|
+
* @param request - GetJobRequest
|
|
2252
|
+
* @returns GetJobResponse
|
|
2217
2253
|
*/
|
|
2218
2254
|
async getJob(request) {
|
|
2219
2255
|
let runtime = new $Util.RuntimeOptions({});
|
|
2220
2256
|
return await this.getJobWithOptions(request, runtime);
|
|
2221
2257
|
}
|
|
2222
2258
|
/**
|
|
2223
|
-
*
|
|
2259
|
+
* 查询全局Executor信息
|
|
2224
2260
|
*
|
|
2225
|
-
* @param tmpReq ListExecutorsRequest
|
|
2226
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2227
|
-
* @
|
|
2261
|
+
* @param tmpReq - ListExecutorsRequest
|
|
2262
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2263
|
+
* @returns ListExecutorsResponse
|
|
2228
2264
|
*/
|
|
2229
2265
|
async listExecutorsWithOptions(tmpReq, runtime) {
|
|
2230
2266
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -2260,21 +2296,21 @@ class Client extends openapi_client_1.default {
|
|
|
2260
2296
|
return $tea.cast(await this.callApi(params, req, runtime), new ListExecutorsResponse({}));
|
|
2261
2297
|
}
|
|
2262
2298
|
/**
|
|
2263
|
-
*
|
|
2299
|
+
* 查询全局Executor信息
|
|
2264
2300
|
*
|
|
2265
|
-
* @param request ListExecutorsRequest
|
|
2266
|
-
* @
|
|
2301
|
+
* @param request - ListExecutorsRequest
|
|
2302
|
+
* @returns ListExecutorsResponse
|
|
2267
2303
|
*/
|
|
2268
2304
|
async listExecutors(request) {
|
|
2269
2305
|
let runtime = new $Util.RuntimeOptions({});
|
|
2270
2306
|
return await this.listExecutorsWithOptions(request, runtime);
|
|
2271
2307
|
}
|
|
2272
2308
|
/**
|
|
2273
|
-
*
|
|
2309
|
+
* 查看托管侧镜像列表
|
|
2274
2310
|
*
|
|
2275
|
-
* @param tmpReq ListImagesRequest
|
|
2276
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2277
|
-
* @
|
|
2311
|
+
* @param tmpReq - ListImagesRequest
|
|
2312
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2313
|
+
* @returns ListImagesResponse
|
|
2278
2314
|
*/
|
|
2279
2315
|
async listImagesWithOptions(tmpReq, runtime) {
|
|
2280
2316
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -2287,12 +2323,18 @@ class Client extends openapi_client_1.default {
|
|
|
2287
2323
|
request.imageNamesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.imageNames, "ImageNames", "json");
|
|
2288
2324
|
}
|
|
2289
2325
|
let query = {};
|
|
2326
|
+
if (!tea_util_1.default.isUnset(request.imageCategory)) {
|
|
2327
|
+
query["ImageCategory"] = request.imageCategory;
|
|
2328
|
+
}
|
|
2290
2329
|
if (!tea_util_1.default.isUnset(request.imageIdsShrink)) {
|
|
2291
2330
|
query["ImageIds"] = request.imageIdsShrink;
|
|
2292
2331
|
}
|
|
2293
2332
|
if (!tea_util_1.default.isUnset(request.imageNamesShrink)) {
|
|
2294
2333
|
query["ImageNames"] = request.imageNamesShrink;
|
|
2295
2334
|
}
|
|
2335
|
+
if (!tea_util_1.default.isUnset(request.imageType)) {
|
|
2336
|
+
query["ImageType"] = request.imageType;
|
|
2337
|
+
}
|
|
2296
2338
|
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
2297
2339
|
query["PageNumber"] = request.pageNumber;
|
|
2298
2340
|
}
|
|
@@ -2316,21 +2358,21 @@ class Client extends openapi_client_1.default {
|
|
|
2316
2358
|
return $tea.cast(await this.callApi(params, req, runtime), new ListImagesResponse({}));
|
|
2317
2359
|
}
|
|
2318
2360
|
/**
|
|
2319
|
-
*
|
|
2361
|
+
* 查看托管侧镜像列表
|
|
2320
2362
|
*
|
|
2321
|
-
* @param request ListImagesRequest
|
|
2322
|
-
* @
|
|
2363
|
+
* @param request - ListImagesRequest
|
|
2364
|
+
* @returns ListImagesResponse
|
|
2323
2365
|
*/
|
|
2324
2366
|
async listImages(request) {
|
|
2325
2367
|
let runtime = new $Util.RuntimeOptions({});
|
|
2326
2368
|
return await this.listImagesWithOptions(request, runtime);
|
|
2327
2369
|
}
|
|
2328
2370
|
/**
|
|
2329
|
-
*
|
|
2371
|
+
* 查询作业Executor信息
|
|
2330
2372
|
*
|
|
2331
|
-
* @param request ListJobExecutorsRequest
|
|
2332
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2333
|
-
* @
|
|
2373
|
+
* @param request - ListJobExecutorsRequest
|
|
2374
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2375
|
+
* @returns ListJobExecutorsResponse
|
|
2334
2376
|
*/
|
|
2335
2377
|
async listJobExecutorsWithOptions(request, runtime) {
|
|
2336
2378
|
tea_util_1.default.validateModel(request);
|
|
@@ -2364,21 +2406,21 @@ class Client extends openapi_client_1.default {
|
|
|
2364
2406
|
return $tea.cast(await this.callApi(params, req, runtime), new ListJobExecutorsResponse({}));
|
|
2365
2407
|
}
|
|
2366
2408
|
/**
|
|
2367
|
-
*
|
|
2409
|
+
* 查询作业Executor信息
|
|
2368
2410
|
*
|
|
2369
|
-
* @param request ListJobExecutorsRequest
|
|
2370
|
-
* @
|
|
2411
|
+
* @param request - ListJobExecutorsRequest
|
|
2412
|
+
* @returns ListJobExecutorsResponse
|
|
2371
2413
|
*/
|
|
2372
2414
|
async listJobExecutors(request) {
|
|
2373
2415
|
let runtime = new $Util.RuntimeOptions({});
|
|
2374
2416
|
return await this.listJobExecutorsWithOptions(request, runtime);
|
|
2375
2417
|
}
|
|
2376
2418
|
/**
|
|
2377
|
-
*
|
|
2419
|
+
* 查询作业列表
|
|
2378
2420
|
*
|
|
2379
|
-
* @param tmpReq ListJobsRequest
|
|
2380
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2381
|
-
* @
|
|
2421
|
+
* @param tmpReq - ListJobsRequest
|
|
2422
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2423
|
+
* @returns ListJobsResponse
|
|
2382
2424
|
*/
|
|
2383
2425
|
async listJobsWithOptions(tmpReq, runtime) {
|
|
2384
2426
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -2420,21 +2462,21 @@ class Client extends openapi_client_1.default {
|
|
|
2420
2462
|
return $tea.cast(await this.callApi(params, req, runtime), new ListJobsResponse({}));
|
|
2421
2463
|
}
|
|
2422
2464
|
/**
|
|
2423
|
-
*
|
|
2465
|
+
* 查询作业列表
|
|
2424
2466
|
*
|
|
2425
|
-
* @param request ListJobsRequest
|
|
2426
|
-
* @
|
|
2467
|
+
* @param request - ListJobsRequest
|
|
2468
|
+
* @returns ListJobsResponse
|
|
2427
2469
|
*/
|
|
2428
2470
|
async listJobs(request) {
|
|
2429
2471
|
let runtime = new $Util.RuntimeOptions({});
|
|
2430
2472
|
return await this.listJobsWithOptions(request, runtime);
|
|
2431
2473
|
}
|
|
2432
2474
|
/**
|
|
2433
|
-
*
|
|
2475
|
+
* 移除托管侧镜像信息。
|
|
2434
2476
|
*
|
|
2435
|
-
* @param request RemoveImageRequest
|
|
2436
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2437
|
-
* @
|
|
2477
|
+
* @param request - RemoveImageRequest
|
|
2478
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2479
|
+
* @returns RemoveImageResponse
|
|
2438
2480
|
*/
|
|
2439
2481
|
async removeImageWithOptions(request, runtime) {
|
|
2440
2482
|
tea_util_1.default.validateModel(request);
|
|
@@ -2459,10 +2501,10 @@ class Client extends openapi_client_1.default {
|
|
|
2459
2501
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveImageResponse({}));
|
|
2460
2502
|
}
|
|
2461
2503
|
/**
|
|
2462
|
-
*
|
|
2504
|
+
* 移除托管侧镜像信息。
|
|
2463
2505
|
*
|
|
2464
|
-
* @param request RemoveImageRequest
|
|
2465
|
-
* @
|
|
2506
|
+
* @param request - RemoveImageRequest
|
|
2507
|
+
* @returns RemoveImageResponse
|
|
2466
2508
|
*/
|
|
2467
2509
|
async removeImage(request) {
|
|
2468
2510
|
let runtime = new $Util.RuntimeOptions({});
|