@alicloud/ehpcinstant20230701 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +909 -85
- package/dist/client.js +128 -86
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +968 -109
package/dist/client.js
CHANGED
|
@@ -27,10 +27,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.CreateJobRequestTasksExecutorPolicyArraySpec = exports.CreateJobRequestDeploymentPolicy = exports.CreateJobRequestDeploymentPolicyNetwork = exports.AddImageRequestVMImageSpec = exports.AddImageRequestContainerImageSpec = exports.AddImageRequestContainerImageSpecRegistryCredential = exports.RemoveImageResponse = exports.RemoveImageResponseBody = exports.RemoveImageRequest = exports.ListJobsResponse = exports.ListJobsResponseBody = exports.ListJobsShrinkRequest = exports.ListJobsRequest = exports.ListJobExecutorsResponse = exports.ListJobExecutorsResponseBody = exports.ListJobExecutorsRequest = exports.ListImagesResponse = exports.ListImagesResponseBody = exports.ListImagesShrinkRequest = exports.ListImagesRequest = exports.ListExecutorsResponse = exports.ListExecutorsResponseBody = exports.ListExecutorsShrinkRequest = exports.ListExecutorsRequest = exports.GetJobResponse = exports.GetJobResponseBody = exports.GetJobRequest = exports.GetImageResponse = exports.GetImageResponseBody = exports.GetImageRequest = exports.DescribeJobMetricLastResponse = exports.DescribeJobMetricLastResponseBody = exports.DescribeJobMetricLastShrinkRequest = exports.DescribeJobMetricLastRequest = exports.DescribeJobMetricDataResponse = exports.DescribeJobMetricDataResponseBody = exports.DescribeJobMetricDataShrinkRequest = exports.DescribeJobMetricDataRequest = exports.DeleteJobsResponse = exports.DeleteJobsResponseBody = exports.DeleteJobsShrinkRequest = exports.DeleteJobsRequest = exports.CreateJobResponse = exports.CreateJobResponseBody = exports.CreateJobShrinkRequest = exports.CreateJobRequest = exports.AddImageResponse = exports.AddImageResponseBody = exports.AddImageShrinkRequest = exports.AddImageRequest = void 0;
|
|
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;
|
|
30
|
+
exports.ListJobsResponseBodyJobList = exports.ListJobsRequestSortBy = exports.ListJobsRequestFilter = exports.ListJobExecutorsResponseBodyExecutors = exports.ListJobExecutorsResponseBodyExecutorStatus = 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
|
}
|
|
@@ -766,6 +769,7 @@ exports.ListJobExecutorsRequest = ListJobExecutorsRequest;
|
|
|
766
769
|
class ListJobExecutorsResponseBody extends $tea.Model {
|
|
767
770
|
static names() {
|
|
768
771
|
return {
|
|
772
|
+
executorStatus: 'ExecutorStatus',
|
|
769
773
|
executors: 'Executors',
|
|
770
774
|
jobId: 'JobId',
|
|
771
775
|
pageNumber: 'PageNumber',
|
|
@@ -777,6 +781,7 @@ class ListJobExecutorsResponseBody extends $tea.Model {
|
|
|
777
781
|
}
|
|
778
782
|
static types() {
|
|
779
783
|
return {
|
|
784
|
+
executorStatus: ListJobExecutorsResponseBodyExecutorStatus,
|
|
780
785
|
executors: { 'type': 'array', 'itemType': ListJobExecutorsResponseBodyExecutors },
|
|
781
786
|
jobId: 'string',
|
|
782
787
|
pageNumber: 'string',
|
|
@@ -1662,6 +1667,7 @@ class GetJobResponseBodyJobInfo extends $tea.Model {
|
|
|
1662
1667
|
jobDescription: 'JobDescription',
|
|
1663
1668
|
jobId: 'JobId',
|
|
1664
1669
|
jobName: 'JobName',
|
|
1670
|
+
jobScheduler: 'JobScheduler',
|
|
1665
1671
|
startTime: 'StartTime',
|
|
1666
1672
|
status: 'Status',
|
|
1667
1673
|
tasks: 'Tasks',
|
|
@@ -1675,6 +1681,7 @@ class GetJobResponseBodyJobInfo extends $tea.Model {
|
|
|
1675
1681
|
jobDescription: 'string',
|
|
1676
1682
|
jobId: 'string',
|
|
1677
1683
|
jobName: 'string',
|
|
1684
|
+
jobScheduler: 'string',
|
|
1678
1685
|
startTime: 'string',
|
|
1679
1686
|
status: 'string',
|
|
1680
1687
|
tasks: { 'type': 'array', 'itemType': GetJobResponseBodyJobInfoTasks },
|
|
@@ -1717,6 +1724,7 @@ class ListExecutorsResponseBodyExecutors extends $tea.Model {
|
|
|
1717
1724
|
endTime: 'EndTime',
|
|
1718
1725
|
executorId: 'ExecutorId',
|
|
1719
1726
|
hostName: 'HostName',
|
|
1727
|
+
image: 'Image',
|
|
1720
1728
|
ipAddress: 'IpAddress',
|
|
1721
1729
|
jobId: 'JobId',
|
|
1722
1730
|
jobName: 'JobName',
|
|
@@ -1732,6 +1740,7 @@ class ListExecutorsResponseBodyExecutors extends $tea.Model {
|
|
|
1732
1740
|
endTime: 'string',
|
|
1733
1741
|
executorId: 'string',
|
|
1734
1742
|
hostName: { 'type': 'array', 'itemType': 'string' },
|
|
1743
|
+
image: 'string',
|
|
1735
1744
|
ipAddress: { 'type': 'array', 'itemType': 'string' },
|
|
1736
1745
|
jobId: 'string',
|
|
1737
1746
|
jobName: 'string',
|
|
@@ -1773,12 +1782,41 @@ class ListImagesResponseBodyImages extends $tea.Model {
|
|
|
1773
1782
|
}
|
|
1774
1783
|
}
|
|
1775
1784
|
exports.ListImagesResponseBodyImages = ListImagesResponseBodyImages;
|
|
1785
|
+
class ListJobExecutorsResponseBodyExecutorStatus extends $tea.Model {
|
|
1786
|
+
static names() {
|
|
1787
|
+
return {
|
|
1788
|
+
deleted: 'Deleted',
|
|
1789
|
+
exception: 'Exception',
|
|
1790
|
+
failed: 'Failed',
|
|
1791
|
+
initing: 'Initing',
|
|
1792
|
+
pending: 'Pending',
|
|
1793
|
+
running: 'Running',
|
|
1794
|
+
succeeded: 'Succeeded',
|
|
1795
|
+
};
|
|
1796
|
+
}
|
|
1797
|
+
static types() {
|
|
1798
|
+
return {
|
|
1799
|
+
deleted: 'number',
|
|
1800
|
+
exception: 'number',
|
|
1801
|
+
failed: 'number',
|
|
1802
|
+
initing: 'number',
|
|
1803
|
+
pending: 'number',
|
|
1804
|
+
running: 'number',
|
|
1805
|
+
succeeded: 'number',
|
|
1806
|
+
};
|
|
1807
|
+
}
|
|
1808
|
+
constructor(map) {
|
|
1809
|
+
super(map);
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
exports.ListJobExecutorsResponseBodyExecutorStatus = ListJobExecutorsResponseBodyExecutorStatus;
|
|
1776
1813
|
class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
|
|
1777
1814
|
static names() {
|
|
1778
1815
|
return {
|
|
1779
1816
|
arrayIndex: 'ArrayIndex',
|
|
1780
1817
|
createTime: 'CreateTime',
|
|
1781
1818
|
endTime: 'EndTime',
|
|
1819
|
+
executorId: 'ExecutorId',
|
|
1782
1820
|
hostName: 'HostName',
|
|
1783
1821
|
ipAddress: 'IpAddress',
|
|
1784
1822
|
status: 'Status',
|
|
@@ -1790,6 +1828,7 @@ class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
|
|
|
1790
1828
|
arrayIndex: 'number',
|
|
1791
1829
|
createTime: 'string',
|
|
1792
1830
|
endTime: 'string',
|
|
1831
|
+
executorId: 'string',
|
|
1793
1832
|
hostName: { 'type': 'array', 'itemType': 'string' },
|
|
1794
1833
|
ipAddress: { 'type': 'array', 'itemType': 'string' },
|
|
1795
1834
|
status: 'string',
|
|
@@ -1896,11 +1935,11 @@ class Client extends openapi_client_1.default {
|
|
|
1896
1935
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
1897
1936
|
}
|
|
1898
1937
|
/**
|
|
1899
|
-
*
|
|
1938
|
+
* 添加托管侧用户自定义镜像
|
|
1900
1939
|
*
|
|
1901
|
-
* @param tmpReq AddImageRequest
|
|
1902
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1903
|
-
* @
|
|
1940
|
+
* @param tmpReq - AddImageRequest
|
|
1941
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1942
|
+
* @returns AddImageResponse
|
|
1904
1943
|
*/
|
|
1905
1944
|
async addImageWithOptions(tmpReq, runtime) {
|
|
1906
1945
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -1945,21 +1984,21 @@ class Client extends openapi_client_1.default {
|
|
|
1945
1984
|
return $tea.cast(await this.callApi(params, req, runtime), new AddImageResponse({}));
|
|
1946
1985
|
}
|
|
1947
1986
|
/**
|
|
1948
|
-
*
|
|
1987
|
+
* 添加托管侧用户自定义镜像
|
|
1949
1988
|
*
|
|
1950
|
-
* @param request AddImageRequest
|
|
1951
|
-
* @
|
|
1989
|
+
* @param request - AddImageRequest
|
|
1990
|
+
* @returns AddImageResponse
|
|
1952
1991
|
*/
|
|
1953
1992
|
async addImage(request) {
|
|
1954
1993
|
let runtime = new $Util.RuntimeOptions({});
|
|
1955
1994
|
return await this.addImageWithOptions(request, runtime);
|
|
1956
1995
|
}
|
|
1957
1996
|
/**
|
|
1958
|
-
*
|
|
1997
|
+
* 提交任务
|
|
1959
1998
|
*
|
|
1960
|
-
* @param tmpReq CreateJobRequest
|
|
1961
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1962
|
-
* @
|
|
1999
|
+
* @param tmpReq - CreateJobRequest
|
|
2000
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2001
|
+
* @returns CreateJobResponse
|
|
1963
2002
|
*/
|
|
1964
2003
|
async createJobWithOptions(tmpReq, runtime) {
|
|
1965
2004
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -1981,6 +2020,9 @@ class Client extends openapi_client_1.default {
|
|
|
1981
2020
|
if (!tea_util_1.default.isUnset(request.jobName)) {
|
|
1982
2021
|
query["JobName"] = request.jobName;
|
|
1983
2022
|
}
|
|
2023
|
+
if (!tea_util_1.default.isUnset(request.jobScheduler)) {
|
|
2024
|
+
query["JobScheduler"] = request.jobScheduler;
|
|
2025
|
+
}
|
|
1984
2026
|
if (!tea_util_1.default.isUnset(request.tasksShrink)) {
|
|
1985
2027
|
query["Tasks"] = request.tasksShrink;
|
|
1986
2028
|
}
|
|
@@ -2001,21 +2043,21 @@ class Client extends openapi_client_1.default {
|
|
|
2001
2043
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateJobResponse({}));
|
|
2002
2044
|
}
|
|
2003
2045
|
/**
|
|
2004
|
-
*
|
|
2046
|
+
* 提交任务
|
|
2005
2047
|
*
|
|
2006
|
-
* @param request CreateJobRequest
|
|
2007
|
-
* @
|
|
2048
|
+
* @param request - CreateJobRequest
|
|
2049
|
+
* @returns CreateJobResponse
|
|
2008
2050
|
*/
|
|
2009
2051
|
async createJob(request) {
|
|
2010
2052
|
let runtime = new $Util.RuntimeOptions({});
|
|
2011
2053
|
return await this.createJobWithOptions(request, runtime);
|
|
2012
2054
|
}
|
|
2013
2055
|
/**
|
|
2014
|
-
*
|
|
2056
|
+
* 删除作业
|
|
2015
2057
|
*
|
|
2016
|
-
* @param tmpReq DeleteJobsRequest
|
|
2017
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2018
|
-
* @
|
|
2058
|
+
* @param tmpReq - DeleteJobsRequest
|
|
2059
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2060
|
+
* @returns DeleteJobsResponse
|
|
2019
2061
|
*/
|
|
2020
2062
|
async deleteJobsWithOptions(tmpReq, runtime) {
|
|
2021
2063
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -2051,21 +2093,21 @@ class Client extends openapi_client_1.default {
|
|
|
2051
2093
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteJobsResponse({}));
|
|
2052
2094
|
}
|
|
2053
2095
|
/**
|
|
2054
|
-
*
|
|
2096
|
+
* 删除作业
|
|
2055
2097
|
*
|
|
2056
|
-
* @param request DeleteJobsRequest
|
|
2057
|
-
* @
|
|
2098
|
+
* @param request - DeleteJobsRequest
|
|
2099
|
+
* @returns DeleteJobsResponse
|
|
2058
2100
|
*/
|
|
2059
2101
|
async deleteJobs(request) {
|
|
2060
2102
|
let runtime = new $Util.RuntimeOptions({});
|
|
2061
2103
|
return await this.deleteJobsWithOptions(request, runtime);
|
|
2062
2104
|
}
|
|
2063
2105
|
/**
|
|
2064
|
-
*
|
|
2106
|
+
* 查询作业性能数据
|
|
2065
2107
|
*
|
|
2066
|
-
* @param tmpReq DescribeJobMetricDataRequest
|
|
2067
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2068
|
-
* @
|
|
2108
|
+
* @param tmpReq - DescribeJobMetricDataRequest
|
|
2109
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2110
|
+
* @returns DescribeJobMetricDataResponse
|
|
2069
2111
|
*/
|
|
2070
2112
|
async describeJobMetricDataWithOptions(tmpReq, runtime) {
|
|
2071
2113
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -2104,21 +2146,21 @@ class Client extends openapi_client_1.default {
|
|
|
2104
2146
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobMetricDataResponse({}));
|
|
2105
2147
|
}
|
|
2106
2148
|
/**
|
|
2107
|
-
*
|
|
2149
|
+
* 查询作业性能数据
|
|
2108
2150
|
*
|
|
2109
|
-
* @param request DescribeJobMetricDataRequest
|
|
2110
|
-
* @
|
|
2151
|
+
* @param request - DescribeJobMetricDataRequest
|
|
2152
|
+
* @returns DescribeJobMetricDataResponse
|
|
2111
2153
|
*/
|
|
2112
2154
|
async describeJobMetricData(request) {
|
|
2113
2155
|
let runtime = new $Util.RuntimeOptions({});
|
|
2114
2156
|
return await this.describeJobMetricDataWithOptions(request, runtime);
|
|
2115
2157
|
}
|
|
2116
2158
|
/**
|
|
2117
|
-
*
|
|
2159
|
+
* 查询作业即时监控项
|
|
2118
2160
|
*
|
|
2119
|
-
* @param tmpReq DescribeJobMetricLastRequest
|
|
2120
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2121
|
-
* @
|
|
2161
|
+
* @param tmpReq - DescribeJobMetricLastRequest
|
|
2162
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2163
|
+
* @returns DescribeJobMetricLastResponse
|
|
2122
2164
|
*/
|
|
2123
2165
|
async describeJobMetricLastWithOptions(tmpReq, runtime) {
|
|
2124
2166
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -2154,21 +2196,21 @@ class Client extends openapi_client_1.default {
|
|
|
2154
2196
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobMetricLastResponse({}));
|
|
2155
2197
|
}
|
|
2156
2198
|
/**
|
|
2157
|
-
*
|
|
2199
|
+
* 查询作业即时监控项
|
|
2158
2200
|
*
|
|
2159
|
-
* @param request DescribeJobMetricLastRequest
|
|
2160
|
-
* @
|
|
2201
|
+
* @param request - DescribeJobMetricLastRequest
|
|
2202
|
+
* @returns DescribeJobMetricLastResponse
|
|
2161
2203
|
*/
|
|
2162
2204
|
async describeJobMetricLast(request) {
|
|
2163
2205
|
let runtime = new $Util.RuntimeOptions({});
|
|
2164
2206
|
return await this.describeJobMetricLastWithOptions(request, runtime);
|
|
2165
2207
|
}
|
|
2166
2208
|
/**
|
|
2167
|
-
*
|
|
2209
|
+
* 查询托管侧镜像详情。
|
|
2168
2210
|
*
|
|
2169
|
-
* @param request GetImageRequest
|
|
2170
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2171
|
-
* @
|
|
2211
|
+
* @param request - GetImageRequest
|
|
2212
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2213
|
+
* @returns GetImageResponse
|
|
2172
2214
|
*/
|
|
2173
2215
|
async getImageWithOptions(request, runtime) {
|
|
2174
2216
|
tea_util_1.default.validateModel(request);
|
|
@@ -2199,21 +2241,21 @@ class Client extends openapi_client_1.default {
|
|
|
2199
2241
|
return $tea.cast(await this.callApi(params, req, runtime), new GetImageResponse({}));
|
|
2200
2242
|
}
|
|
2201
2243
|
/**
|
|
2202
|
-
*
|
|
2244
|
+
* 查询托管侧镜像详情。
|
|
2203
2245
|
*
|
|
2204
|
-
* @param request GetImageRequest
|
|
2205
|
-
* @
|
|
2246
|
+
* @param request - GetImageRequest
|
|
2247
|
+
* @returns GetImageResponse
|
|
2206
2248
|
*/
|
|
2207
2249
|
async getImage(request) {
|
|
2208
2250
|
let runtime = new $Util.RuntimeOptions({});
|
|
2209
2251
|
return await this.getImageWithOptions(request, runtime);
|
|
2210
2252
|
}
|
|
2211
2253
|
/**
|
|
2212
|
-
*
|
|
2254
|
+
* 查询作业详情
|
|
2213
2255
|
*
|
|
2214
|
-
* @param request GetJobRequest
|
|
2215
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2216
|
-
* @
|
|
2256
|
+
* @param request - GetJobRequest
|
|
2257
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2258
|
+
* @returns GetJobResponse
|
|
2217
2259
|
*/
|
|
2218
2260
|
async getJobWithOptions(request, runtime) {
|
|
2219
2261
|
tea_util_1.default.validateModel(request);
|
|
@@ -2238,21 +2280,21 @@ class Client extends openapi_client_1.default {
|
|
|
2238
2280
|
return $tea.cast(await this.callApi(params, req, runtime), new GetJobResponse({}));
|
|
2239
2281
|
}
|
|
2240
2282
|
/**
|
|
2241
|
-
*
|
|
2283
|
+
* 查询作业详情
|
|
2242
2284
|
*
|
|
2243
|
-
* @param request GetJobRequest
|
|
2244
|
-
* @
|
|
2285
|
+
* @param request - GetJobRequest
|
|
2286
|
+
* @returns GetJobResponse
|
|
2245
2287
|
*/
|
|
2246
2288
|
async getJob(request) {
|
|
2247
2289
|
let runtime = new $Util.RuntimeOptions({});
|
|
2248
2290
|
return await this.getJobWithOptions(request, runtime);
|
|
2249
2291
|
}
|
|
2250
2292
|
/**
|
|
2251
|
-
*
|
|
2293
|
+
* 查询全局Executor信息
|
|
2252
2294
|
*
|
|
2253
|
-
* @param tmpReq ListExecutorsRequest
|
|
2254
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2255
|
-
* @
|
|
2295
|
+
* @param tmpReq - ListExecutorsRequest
|
|
2296
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2297
|
+
* @returns ListExecutorsResponse
|
|
2256
2298
|
*/
|
|
2257
2299
|
async listExecutorsWithOptions(tmpReq, runtime) {
|
|
2258
2300
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -2288,21 +2330,21 @@ class Client extends openapi_client_1.default {
|
|
|
2288
2330
|
return $tea.cast(await this.callApi(params, req, runtime), new ListExecutorsResponse({}));
|
|
2289
2331
|
}
|
|
2290
2332
|
/**
|
|
2291
|
-
*
|
|
2333
|
+
* 查询全局Executor信息
|
|
2292
2334
|
*
|
|
2293
|
-
* @param request ListExecutorsRequest
|
|
2294
|
-
* @
|
|
2335
|
+
* @param request - ListExecutorsRequest
|
|
2336
|
+
* @returns ListExecutorsResponse
|
|
2295
2337
|
*/
|
|
2296
2338
|
async listExecutors(request) {
|
|
2297
2339
|
let runtime = new $Util.RuntimeOptions({});
|
|
2298
2340
|
return await this.listExecutorsWithOptions(request, runtime);
|
|
2299
2341
|
}
|
|
2300
2342
|
/**
|
|
2301
|
-
*
|
|
2343
|
+
* 查看托管侧镜像列表
|
|
2302
2344
|
*
|
|
2303
|
-
* @param tmpReq ListImagesRequest
|
|
2304
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2305
|
-
* @
|
|
2345
|
+
* @param tmpReq - ListImagesRequest
|
|
2346
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2347
|
+
* @returns ListImagesResponse
|
|
2306
2348
|
*/
|
|
2307
2349
|
async listImagesWithOptions(tmpReq, runtime) {
|
|
2308
2350
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -2350,21 +2392,21 @@ class Client extends openapi_client_1.default {
|
|
|
2350
2392
|
return $tea.cast(await this.callApi(params, req, runtime), new ListImagesResponse({}));
|
|
2351
2393
|
}
|
|
2352
2394
|
/**
|
|
2353
|
-
*
|
|
2395
|
+
* 查看托管侧镜像列表
|
|
2354
2396
|
*
|
|
2355
|
-
* @param request ListImagesRequest
|
|
2356
|
-
* @
|
|
2397
|
+
* @param request - ListImagesRequest
|
|
2398
|
+
* @returns ListImagesResponse
|
|
2357
2399
|
*/
|
|
2358
2400
|
async listImages(request) {
|
|
2359
2401
|
let runtime = new $Util.RuntimeOptions({});
|
|
2360
2402
|
return await this.listImagesWithOptions(request, runtime);
|
|
2361
2403
|
}
|
|
2362
2404
|
/**
|
|
2363
|
-
*
|
|
2405
|
+
* 查询作业Executor信息
|
|
2364
2406
|
*
|
|
2365
|
-
* @param request ListJobExecutorsRequest
|
|
2366
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2367
|
-
* @
|
|
2407
|
+
* @param request - ListJobExecutorsRequest
|
|
2408
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2409
|
+
* @returns ListJobExecutorsResponse
|
|
2368
2410
|
*/
|
|
2369
2411
|
async listJobExecutorsWithOptions(request, runtime) {
|
|
2370
2412
|
tea_util_1.default.validateModel(request);
|
|
@@ -2398,21 +2440,21 @@ class Client extends openapi_client_1.default {
|
|
|
2398
2440
|
return $tea.cast(await this.callApi(params, req, runtime), new ListJobExecutorsResponse({}));
|
|
2399
2441
|
}
|
|
2400
2442
|
/**
|
|
2401
|
-
*
|
|
2443
|
+
* 查询作业Executor信息
|
|
2402
2444
|
*
|
|
2403
|
-
* @param request ListJobExecutorsRequest
|
|
2404
|
-
* @
|
|
2445
|
+
* @param request - ListJobExecutorsRequest
|
|
2446
|
+
* @returns ListJobExecutorsResponse
|
|
2405
2447
|
*/
|
|
2406
2448
|
async listJobExecutors(request) {
|
|
2407
2449
|
let runtime = new $Util.RuntimeOptions({});
|
|
2408
2450
|
return await this.listJobExecutorsWithOptions(request, runtime);
|
|
2409
2451
|
}
|
|
2410
2452
|
/**
|
|
2411
|
-
*
|
|
2453
|
+
* 查询作业列表
|
|
2412
2454
|
*
|
|
2413
|
-
* @param tmpReq ListJobsRequest
|
|
2414
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2415
|
-
* @
|
|
2455
|
+
* @param tmpReq - ListJobsRequest
|
|
2456
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2457
|
+
* @returns ListJobsResponse
|
|
2416
2458
|
*/
|
|
2417
2459
|
async listJobsWithOptions(tmpReq, runtime) {
|
|
2418
2460
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -2454,21 +2496,21 @@ class Client extends openapi_client_1.default {
|
|
|
2454
2496
|
return $tea.cast(await this.callApi(params, req, runtime), new ListJobsResponse({}));
|
|
2455
2497
|
}
|
|
2456
2498
|
/**
|
|
2457
|
-
*
|
|
2499
|
+
* 查询作业列表
|
|
2458
2500
|
*
|
|
2459
|
-
* @param request ListJobsRequest
|
|
2460
|
-
* @
|
|
2501
|
+
* @param request - ListJobsRequest
|
|
2502
|
+
* @returns ListJobsResponse
|
|
2461
2503
|
*/
|
|
2462
2504
|
async listJobs(request) {
|
|
2463
2505
|
let runtime = new $Util.RuntimeOptions({});
|
|
2464
2506
|
return await this.listJobsWithOptions(request, runtime);
|
|
2465
2507
|
}
|
|
2466
2508
|
/**
|
|
2467
|
-
*
|
|
2509
|
+
* 移除托管侧镜像信息。
|
|
2468
2510
|
*
|
|
2469
|
-
* @param request RemoveImageRequest
|
|
2470
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2471
|
-
* @
|
|
2511
|
+
* @param request - RemoveImageRequest
|
|
2512
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2513
|
+
* @returns RemoveImageResponse
|
|
2472
2514
|
*/
|
|
2473
2515
|
async removeImageWithOptions(request, runtime) {
|
|
2474
2516
|
tea_util_1.default.validateModel(request);
|
|
@@ -2493,10 +2535,10 @@ class Client extends openapi_client_1.default {
|
|
|
2493
2535
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveImageResponse({}));
|
|
2494
2536
|
}
|
|
2495
2537
|
/**
|
|
2496
|
-
*
|
|
2538
|
+
* 移除托管侧镜像信息。
|
|
2497
2539
|
*
|
|
2498
|
-
* @param request RemoveImageRequest
|
|
2499
|
-
* @
|
|
2540
|
+
* @param request - RemoveImageRequest
|
|
2541
|
+
* @returns RemoveImageResponse
|
|
2500
2542
|
*/
|
|
2501
2543
|
async removeImage(request) {
|
|
2502
2544
|
let runtime = new $Util.RuntimeOptions({});
|