@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.js CHANGED
@@ -27,7 +27,7 @@ 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.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.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
33
  *
@@ -174,12 +174,14 @@ class CreateJobResponseBody extends $tea.Model {
174
174
  return {
175
175
  jobId: 'JobId',
176
176
  requestId: 'RequestId',
177
+ tasks: 'Tasks',
177
178
  };
178
179
  }
179
180
  static types() {
180
181
  return {
181
182
  jobId: 'string',
182
183
  requestId: 'string',
184
+ tasks: { 'type': 'array', 'itemType': CreateJobResponseBodyTasks },
183
185
  };
184
186
  }
185
187
  constructor(map) {
@@ -444,12 +446,16 @@ exports.DescribeJobMetricLastResponse = DescribeJobMetricLastResponse;
444
446
  class GetImageRequest extends $tea.Model {
445
447
  static names() {
446
448
  return {
449
+ imageCategory: 'ImageCategory',
447
450
  imageId: 'ImageId',
451
+ imageType: 'ImageType',
448
452
  };
449
453
  }
450
454
  static types() {
451
455
  return {
456
+ imageCategory: 'string',
452
457
  imageId: 'string',
458
+ imageType: 'string',
453
459
  };
454
460
  }
455
461
  constructor(map) {
@@ -640,16 +646,20 @@ exports.ListExecutorsResponse = ListExecutorsResponse;
640
646
  class ListImagesRequest extends $tea.Model {
641
647
  static names() {
642
648
  return {
649
+ imageCategory: 'ImageCategory',
643
650
  imageIds: 'ImageIds',
644
651
  imageNames: 'ImageNames',
652
+ imageType: 'ImageType',
645
653
  pageNumber: 'PageNumber',
646
654
  pageSize: 'PageSize',
647
655
  };
648
656
  }
649
657
  static types() {
650
658
  return {
659
+ imageCategory: 'string',
651
660
  imageIds: { 'type': 'array', 'itemType': 'string' },
652
661
  imageNames: { 'type': 'array', 'itemType': 'string' },
662
+ imageType: 'string',
653
663
  pageNumber: 'number',
654
664
  pageSize: 'number',
655
665
  };
@@ -662,16 +672,20 @@ exports.ListImagesRequest = ListImagesRequest;
662
672
  class ListImagesShrinkRequest extends $tea.Model {
663
673
  static names() {
664
674
  return {
675
+ imageCategory: 'ImageCategory',
665
676
  imageIdsShrink: 'ImageIds',
666
677
  imageNamesShrink: 'ImageNames',
678
+ imageType: 'ImageType',
667
679
  pageNumber: 'PageNumber',
668
680
  pageSize: 'PageSize',
669
681
  };
670
682
  }
671
683
  static types() {
672
684
  return {
685
+ imageCategory: 'string',
673
686
  imageIdsShrink: 'string',
674
687
  imageNamesShrink: 'string',
688
+ imageType: 'string',
675
689
  pageNumber: 'number',
676
690
  pageSize: 'number',
677
691
  };
@@ -1130,6 +1144,7 @@ exports.CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars = Crea
1130
1144
  class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $tea.Model {
1131
1145
  static names() {
1132
1146
  return {
1147
+ appId: 'AppId',
1133
1148
  command: 'Command',
1134
1149
  environmentVars: 'EnvironmentVars',
1135
1150
  image: 'Image',
@@ -1138,6 +1153,7 @@ class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $tea.Model {
1138
1153
  }
1139
1154
  static types() {
1140
1155
  return {
1156
+ appId: 'string',
1141
1157
  command: { 'type': 'array', 'itemType': 'string' },
1142
1158
  environmentVars: { 'type': 'array', 'itemType': CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars },
1143
1159
  image: 'string',
@@ -1152,6 +1168,7 @@ exports.CreateJobRequestTasksTaskSpecTaskExecutorContainer = CreateJobRequestTas
1152
1168
  class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $tea.Model {
1153
1169
  static names() {
1154
1170
  return {
1171
+ appId: 'AppId',
1155
1172
  image: 'Image',
1156
1173
  prologScript: 'PrologScript',
1157
1174
  script: 'Script',
@@ -1159,6 +1176,7 @@ class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $tea.Model {
1159
1176
  }
1160
1177
  static types() {
1161
1178
  return {
1179
+ appId: 'string',
1162
1180
  image: 'string',
1163
1181
  prologScript: 'string',
1164
1182
  script: 'string',
@@ -1249,6 +1267,24 @@ class CreateJobRequestTasks extends $tea.Model {
1249
1267
  }
1250
1268
  }
1251
1269
  exports.CreateJobRequestTasks = CreateJobRequestTasks;
1270
+ class CreateJobResponseBodyTasks extends $tea.Model {
1271
+ static names() {
1272
+ return {
1273
+ executorIds: 'ExecutorIds',
1274
+ taskName: 'TaskName',
1275
+ };
1276
+ }
1277
+ static types() {
1278
+ return {
1279
+ executorIds: { 'type': 'array', 'itemType': 'string' },
1280
+ taskName: 'string',
1281
+ };
1282
+ }
1283
+ constructor(map) {
1284
+ super(map);
1285
+ }
1286
+ }
1287
+ exports.CreateJobResponseBodyTasks = CreateJobResponseBodyTasks;
1252
1288
  class DeleteJobsRequestJobSpecTaskSpec extends $tea.Model {
1253
1289
  static names() {
1254
1290
  return {
@@ -1372,24 +1408,28 @@ exports.GetImageResponseBodyImageVMImageSpec = GetImageResponseBodyImageVMImageS
1372
1408
  class GetImageResponseBodyImage extends $tea.Model {
1373
1409
  static names() {
1374
1410
  return {
1411
+ appId: 'AppId',
1375
1412
  containerImageSpec: 'ContainerImageSpec',
1376
1413
  createTime: 'CreateTime',
1377
1414
  description: 'Description',
1378
1415
  imageType: 'ImageType',
1379
1416
  name: 'Name',
1380
1417
  size: 'Size',
1418
+ status: 'Status',
1381
1419
  VMImageSpec: 'VMImageSpec',
1382
1420
  version: 'Version',
1383
1421
  };
1384
1422
  }
1385
1423
  static types() {
1386
1424
  return {
1425
+ appId: 'string',
1387
1426
  containerImageSpec: GetImageResponseBodyImageContainerImageSpec,
1388
1427
  createTime: 'string',
1389
1428
  description: 'string',
1390
1429
  imageType: 'string',
1391
1430
  name: 'string',
1392
1431
  size: 'string',
1432
+ status: 'string',
1393
1433
  VMImageSpec: GetImageResponseBodyImageVMImageSpec,
1394
1434
  version: 'string',
1395
1435
  };
@@ -1708,6 +1748,7 @@ exports.ListExecutorsResponseBodyExecutors = ListExecutorsResponseBodyExecutors;
1708
1748
  class ListImagesResponseBodyImages extends $tea.Model {
1709
1749
  static names() {
1710
1750
  return {
1751
+ appId: 'AppId',
1711
1752
  createTime: 'CreateTime',
1712
1753
  description: 'Description',
1713
1754
  imageId: 'ImageId',
@@ -1718,6 +1759,7 @@ class ListImagesResponseBodyImages extends $tea.Model {
1718
1759
  }
1719
1760
  static types() {
1720
1761
  return {
1762
+ appId: 'string',
1721
1763
  createTime: 'string',
1722
1764
  description: 'string',
1723
1765
  imageId: 'string',
@@ -1853,6 +1895,13 @@ class Client extends openapi_client_1.default {
1853
1895
  }
1854
1896
  return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
1855
1897
  }
1898
+ /**
1899
+ * @summary 添加托管侧用户自定义镜像
1900
+ *
1901
+ * @param tmpReq AddImageRequest
1902
+ * @param runtime runtime options for this request RuntimeOptions
1903
+ * @return AddImageResponse
1904
+ */
1856
1905
  async addImageWithOptions(tmpReq, runtime) {
1857
1906
  tea_util_1.default.validateModel(tmpReq);
1858
1907
  let request = new AddImageShrinkRequest({});
@@ -1895,10 +1944,23 @@ class Client extends openapi_client_1.default {
1895
1944
  });
1896
1945
  return $tea.cast(await this.callApi(params, req, runtime), new AddImageResponse({}));
1897
1946
  }
1947
+ /**
1948
+ * @summary 添加托管侧用户自定义镜像
1949
+ *
1950
+ * @param request AddImageRequest
1951
+ * @return AddImageResponse
1952
+ */
1898
1953
  async addImage(request) {
1899
1954
  let runtime = new $Util.RuntimeOptions({});
1900
1955
  return await this.addImageWithOptions(request, runtime);
1901
1956
  }
1957
+ /**
1958
+ * @summary 提交任务
1959
+ *
1960
+ * @param tmpReq CreateJobRequest
1961
+ * @param runtime runtime options for this request RuntimeOptions
1962
+ * @return CreateJobResponse
1963
+ */
1902
1964
  async createJobWithOptions(tmpReq, runtime) {
1903
1965
  tea_util_1.default.validateModel(tmpReq);
1904
1966
  let request = new CreateJobShrinkRequest({});
@@ -1938,10 +2000,23 @@ class Client extends openapi_client_1.default {
1938
2000
  });
1939
2001
  return $tea.cast(await this.callApi(params, req, runtime), new CreateJobResponse({}));
1940
2002
  }
2003
+ /**
2004
+ * @summary 提交任务
2005
+ *
2006
+ * @param request CreateJobRequest
2007
+ * @return CreateJobResponse
2008
+ */
1941
2009
  async createJob(request) {
1942
2010
  let runtime = new $Util.RuntimeOptions({});
1943
2011
  return await this.createJobWithOptions(request, runtime);
1944
2012
  }
2013
+ /**
2014
+ * @summary 删除作业
2015
+ *
2016
+ * @param tmpReq DeleteJobsRequest
2017
+ * @param runtime runtime options for this request RuntimeOptions
2018
+ * @return DeleteJobsResponse
2019
+ */
1945
2020
  async deleteJobsWithOptions(tmpReq, runtime) {
1946
2021
  tea_util_1.default.validateModel(tmpReq);
1947
2022
  let request = new DeleteJobsShrinkRequest({});
@@ -1975,10 +2050,23 @@ class Client extends openapi_client_1.default {
1975
2050
  });
1976
2051
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteJobsResponse({}));
1977
2052
  }
2053
+ /**
2054
+ * @summary 删除作业
2055
+ *
2056
+ * @param request DeleteJobsRequest
2057
+ * @return DeleteJobsResponse
2058
+ */
1978
2059
  async deleteJobs(request) {
1979
2060
  let runtime = new $Util.RuntimeOptions({});
1980
2061
  return await this.deleteJobsWithOptions(request, runtime);
1981
2062
  }
2063
+ /**
2064
+ * @summary 查询作业性能数据
2065
+ *
2066
+ * @param tmpReq DescribeJobMetricDataRequest
2067
+ * @param runtime runtime options for this request RuntimeOptions
2068
+ * @return DescribeJobMetricDataResponse
2069
+ */
1982
2070
  async describeJobMetricDataWithOptions(tmpReq, runtime) {
1983
2071
  tea_util_1.default.validateModel(tmpReq);
1984
2072
  let request = new DescribeJobMetricDataShrinkRequest({});
@@ -2015,10 +2103,23 @@ class Client extends openapi_client_1.default {
2015
2103
  });
2016
2104
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobMetricDataResponse({}));
2017
2105
  }
2106
+ /**
2107
+ * @summary 查询作业性能数据
2108
+ *
2109
+ * @param request DescribeJobMetricDataRequest
2110
+ * @return DescribeJobMetricDataResponse
2111
+ */
2018
2112
  async describeJobMetricData(request) {
2019
2113
  let runtime = new $Util.RuntimeOptions({});
2020
2114
  return await this.describeJobMetricDataWithOptions(request, runtime);
2021
2115
  }
2116
+ /**
2117
+ * @summary 查询作业即时监控项
2118
+ *
2119
+ * @param tmpReq DescribeJobMetricLastRequest
2120
+ * @param runtime runtime options for this request RuntimeOptions
2121
+ * @return DescribeJobMetricLastResponse
2122
+ */
2022
2123
  async describeJobMetricLastWithOptions(tmpReq, runtime) {
2023
2124
  tea_util_1.default.validateModel(tmpReq);
2024
2125
  let request = new DescribeJobMetricLastShrinkRequest({});
@@ -2052,16 +2153,35 @@ class Client extends openapi_client_1.default {
2052
2153
  });
2053
2154
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobMetricLastResponse({}));
2054
2155
  }
2156
+ /**
2157
+ * @summary 查询作业即时监控项
2158
+ *
2159
+ * @param request DescribeJobMetricLastRequest
2160
+ * @return DescribeJobMetricLastResponse
2161
+ */
2055
2162
  async describeJobMetricLast(request) {
2056
2163
  let runtime = new $Util.RuntimeOptions({});
2057
2164
  return await this.describeJobMetricLastWithOptions(request, runtime);
2058
2165
  }
2166
+ /**
2167
+ * @summary 查询托管侧镜像详情。
2168
+ *
2169
+ * @param request GetImageRequest
2170
+ * @param runtime runtime options for this request RuntimeOptions
2171
+ * @return GetImageResponse
2172
+ */
2059
2173
  async getImageWithOptions(request, runtime) {
2060
2174
  tea_util_1.default.validateModel(request);
2061
2175
  let query = {};
2176
+ if (!tea_util_1.default.isUnset(request.imageCategory)) {
2177
+ query["ImageCategory"] = request.imageCategory;
2178
+ }
2062
2179
  if (!tea_util_1.default.isUnset(request.imageId)) {
2063
2180
  query["ImageId"] = request.imageId;
2064
2181
  }
2182
+ if (!tea_util_1.default.isUnset(request.imageType)) {
2183
+ query["ImageType"] = request.imageType;
2184
+ }
2065
2185
  let req = new $OpenApi.OpenApiRequest({
2066
2186
  query: openapi_util_1.default.query(query),
2067
2187
  });
@@ -2078,10 +2198,23 @@ class Client extends openapi_client_1.default {
2078
2198
  });
2079
2199
  return $tea.cast(await this.callApi(params, req, runtime), new GetImageResponse({}));
2080
2200
  }
2201
+ /**
2202
+ * @summary 查询托管侧镜像详情。
2203
+ *
2204
+ * @param request GetImageRequest
2205
+ * @return GetImageResponse
2206
+ */
2081
2207
  async getImage(request) {
2082
2208
  let runtime = new $Util.RuntimeOptions({});
2083
2209
  return await this.getImageWithOptions(request, runtime);
2084
2210
  }
2211
+ /**
2212
+ * @summary 查询作业详情
2213
+ *
2214
+ * @param request GetJobRequest
2215
+ * @param runtime runtime options for this request RuntimeOptions
2216
+ * @return GetJobResponse
2217
+ */
2085
2218
  async getJobWithOptions(request, runtime) {
2086
2219
  tea_util_1.default.validateModel(request);
2087
2220
  let query = {};
@@ -2104,10 +2237,23 @@ class Client extends openapi_client_1.default {
2104
2237
  });
2105
2238
  return $tea.cast(await this.callApi(params, req, runtime), new GetJobResponse({}));
2106
2239
  }
2240
+ /**
2241
+ * @summary 查询作业详情
2242
+ *
2243
+ * @param request GetJobRequest
2244
+ * @return GetJobResponse
2245
+ */
2107
2246
  async getJob(request) {
2108
2247
  let runtime = new $Util.RuntimeOptions({});
2109
2248
  return await this.getJobWithOptions(request, runtime);
2110
2249
  }
2250
+ /**
2251
+ * @summary 查询全局Executor信息
2252
+ *
2253
+ * @param tmpReq ListExecutorsRequest
2254
+ * @param runtime runtime options for this request RuntimeOptions
2255
+ * @return ListExecutorsResponse
2256
+ */
2111
2257
  async listExecutorsWithOptions(tmpReq, runtime) {
2112
2258
  tea_util_1.default.validateModel(tmpReq);
2113
2259
  let request = new ListExecutorsShrinkRequest({});
@@ -2141,10 +2287,23 @@ class Client extends openapi_client_1.default {
2141
2287
  });
2142
2288
  return $tea.cast(await this.callApi(params, req, runtime), new ListExecutorsResponse({}));
2143
2289
  }
2290
+ /**
2291
+ * @summary 查询全局Executor信息
2292
+ *
2293
+ * @param request ListExecutorsRequest
2294
+ * @return ListExecutorsResponse
2295
+ */
2144
2296
  async listExecutors(request) {
2145
2297
  let runtime = new $Util.RuntimeOptions({});
2146
2298
  return await this.listExecutorsWithOptions(request, runtime);
2147
2299
  }
2300
+ /**
2301
+ * @summary 查看托管侧镜像列表
2302
+ *
2303
+ * @param tmpReq ListImagesRequest
2304
+ * @param runtime runtime options for this request RuntimeOptions
2305
+ * @return ListImagesResponse
2306
+ */
2148
2307
  async listImagesWithOptions(tmpReq, runtime) {
2149
2308
  tea_util_1.default.validateModel(tmpReq);
2150
2309
  let request = new ListImagesShrinkRequest({});
@@ -2156,12 +2315,18 @@ class Client extends openapi_client_1.default {
2156
2315
  request.imageNamesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.imageNames, "ImageNames", "json");
2157
2316
  }
2158
2317
  let query = {};
2318
+ if (!tea_util_1.default.isUnset(request.imageCategory)) {
2319
+ query["ImageCategory"] = request.imageCategory;
2320
+ }
2159
2321
  if (!tea_util_1.default.isUnset(request.imageIdsShrink)) {
2160
2322
  query["ImageIds"] = request.imageIdsShrink;
2161
2323
  }
2162
2324
  if (!tea_util_1.default.isUnset(request.imageNamesShrink)) {
2163
2325
  query["ImageNames"] = request.imageNamesShrink;
2164
2326
  }
2327
+ if (!tea_util_1.default.isUnset(request.imageType)) {
2328
+ query["ImageType"] = request.imageType;
2329
+ }
2165
2330
  if (!tea_util_1.default.isUnset(request.pageNumber)) {
2166
2331
  query["PageNumber"] = request.pageNumber;
2167
2332
  }
@@ -2184,10 +2349,23 @@ class Client extends openapi_client_1.default {
2184
2349
  });
2185
2350
  return $tea.cast(await this.callApi(params, req, runtime), new ListImagesResponse({}));
2186
2351
  }
2352
+ /**
2353
+ * @summary 查看托管侧镜像列表
2354
+ *
2355
+ * @param request ListImagesRequest
2356
+ * @return ListImagesResponse
2357
+ */
2187
2358
  async listImages(request) {
2188
2359
  let runtime = new $Util.RuntimeOptions({});
2189
2360
  return await this.listImagesWithOptions(request, runtime);
2190
2361
  }
2362
+ /**
2363
+ * @summary 查询作业Executor信息
2364
+ *
2365
+ * @param request ListJobExecutorsRequest
2366
+ * @param runtime runtime options for this request RuntimeOptions
2367
+ * @return ListJobExecutorsResponse
2368
+ */
2191
2369
  async listJobExecutorsWithOptions(request, runtime) {
2192
2370
  tea_util_1.default.validateModel(request);
2193
2371
  let query = {};
@@ -2219,10 +2397,23 @@ class Client extends openapi_client_1.default {
2219
2397
  });
2220
2398
  return $tea.cast(await this.callApi(params, req, runtime), new ListJobExecutorsResponse({}));
2221
2399
  }
2400
+ /**
2401
+ * @summary 查询作业Executor信息
2402
+ *
2403
+ * @param request ListJobExecutorsRequest
2404
+ * @return ListJobExecutorsResponse
2405
+ */
2222
2406
  async listJobExecutors(request) {
2223
2407
  let runtime = new $Util.RuntimeOptions({});
2224
2408
  return await this.listJobExecutorsWithOptions(request, runtime);
2225
2409
  }
2410
+ /**
2411
+ * @summary 查询作业列表
2412
+ *
2413
+ * @param tmpReq ListJobsRequest
2414
+ * @param runtime runtime options for this request RuntimeOptions
2415
+ * @return ListJobsResponse
2416
+ */
2226
2417
  async listJobsWithOptions(tmpReq, runtime) {
2227
2418
  tea_util_1.default.validateModel(tmpReq);
2228
2419
  let request = new ListJobsShrinkRequest({});
@@ -2262,10 +2453,23 @@ class Client extends openapi_client_1.default {
2262
2453
  });
2263
2454
  return $tea.cast(await this.callApi(params, req, runtime), new ListJobsResponse({}));
2264
2455
  }
2456
+ /**
2457
+ * @summary 查询作业列表
2458
+ *
2459
+ * @param request ListJobsRequest
2460
+ * @return ListJobsResponse
2461
+ */
2265
2462
  async listJobs(request) {
2266
2463
  let runtime = new $Util.RuntimeOptions({});
2267
2464
  return await this.listJobsWithOptions(request, runtime);
2268
2465
  }
2466
+ /**
2467
+ * @summary 移除托管侧镜像信息。
2468
+ *
2469
+ * @param request RemoveImageRequest
2470
+ * @param runtime runtime options for this request RuntimeOptions
2471
+ * @return RemoveImageResponse
2472
+ */
2269
2473
  async removeImageWithOptions(request, runtime) {
2270
2474
  tea_util_1.default.validateModel(request);
2271
2475
  let query = {};
@@ -2288,6 +2492,12 @@ class Client extends openapi_client_1.default {
2288
2492
  });
2289
2493
  return $tea.cast(await this.callApi(params, req, runtime), new RemoveImageResponse({}));
2290
2494
  }
2495
+ /**
2496
+ * @summary 移除托管侧镜像信息。
2497
+ *
2498
+ * @param request RemoveImageRequest
2499
+ * @return RemoveImageResponse
2500
+ */
2291
2501
  async removeImage(request) {
2292
2502
  let runtime = new $Util.RuntimeOptions({});
2293
2503
  return await this.removeImageWithOptions(request, runtime);