@alicloud/ehpcinstant20230701 1.0.2 → 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.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
  }
@@ -1662,6 +1665,7 @@ class GetJobResponseBodyJobInfo extends $tea.Model {
1662
1665
  jobDescription: 'JobDescription',
1663
1666
  jobId: 'JobId',
1664
1667
  jobName: 'JobName',
1668
+ jobScheduler: 'JobScheduler',
1665
1669
  startTime: 'StartTime',
1666
1670
  status: 'Status',
1667
1671
  tasks: 'Tasks',
@@ -1675,6 +1679,7 @@ class GetJobResponseBodyJobInfo extends $tea.Model {
1675
1679
  jobDescription: 'string',
1676
1680
  jobId: 'string',
1677
1681
  jobName: 'string',
1682
+ jobScheduler: 'string',
1678
1683
  startTime: 'string',
1679
1684
  status: 'string',
1680
1685
  tasks: { 'type': 'array', 'itemType': GetJobResponseBodyJobInfoTasks },
@@ -1896,11 +1901,11 @@ class Client extends openapi_client_1.default {
1896
1901
  return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
1897
1902
  }
1898
1903
  /**
1899
- * @summary 添加托管侧用户自定义镜像
1904
+ * 添加托管侧用户自定义镜像
1900
1905
  *
1901
- * @param tmpReq AddImageRequest
1902
- * @param runtime runtime options for this request RuntimeOptions
1903
- * @return AddImageResponse
1906
+ * @param tmpReq - AddImageRequest
1907
+ * @param runtime - runtime options for this request RuntimeOptions
1908
+ * @returns AddImageResponse
1904
1909
  */
1905
1910
  async addImageWithOptions(tmpReq, runtime) {
1906
1911
  tea_util_1.default.validateModel(tmpReq);
@@ -1945,21 +1950,21 @@ class Client extends openapi_client_1.default {
1945
1950
  return $tea.cast(await this.callApi(params, req, runtime), new AddImageResponse({}));
1946
1951
  }
1947
1952
  /**
1948
- * @summary 添加托管侧用户自定义镜像
1953
+ * 添加托管侧用户自定义镜像
1949
1954
  *
1950
- * @param request AddImageRequest
1951
- * @return AddImageResponse
1955
+ * @param request - AddImageRequest
1956
+ * @returns AddImageResponse
1952
1957
  */
1953
1958
  async addImage(request) {
1954
1959
  let runtime = new $Util.RuntimeOptions({});
1955
1960
  return await this.addImageWithOptions(request, runtime);
1956
1961
  }
1957
1962
  /**
1958
- * @summary 提交任务
1963
+ * 提交任务
1959
1964
  *
1960
- * @param tmpReq CreateJobRequest
1961
- * @param runtime runtime options for this request RuntimeOptions
1962
- * @return CreateJobResponse
1965
+ * @param tmpReq - CreateJobRequest
1966
+ * @param runtime - runtime options for this request RuntimeOptions
1967
+ * @returns CreateJobResponse
1963
1968
  */
1964
1969
  async createJobWithOptions(tmpReq, runtime) {
1965
1970
  tea_util_1.default.validateModel(tmpReq);
@@ -1981,6 +1986,9 @@ class Client extends openapi_client_1.default {
1981
1986
  if (!tea_util_1.default.isUnset(request.jobName)) {
1982
1987
  query["JobName"] = request.jobName;
1983
1988
  }
1989
+ if (!tea_util_1.default.isUnset(request.jobScheduler)) {
1990
+ query["JobScheduler"] = request.jobScheduler;
1991
+ }
1984
1992
  if (!tea_util_1.default.isUnset(request.tasksShrink)) {
1985
1993
  query["Tasks"] = request.tasksShrink;
1986
1994
  }
@@ -2001,21 +2009,21 @@ class Client extends openapi_client_1.default {
2001
2009
  return $tea.cast(await this.callApi(params, req, runtime), new CreateJobResponse({}));
2002
2010
  }
2003
2011
  /**
2004
- * @summary 提交任务
2012
+ * 提交任务
2005
2013
  *
2006
- * @param request CreateJobRequest
2007
- * @return CreateJobResponse
2014
+ * @param request - CreateJobRequest
2015
+ * @returns CreateJobResponse
2008
2016
  */
2009
2017
  async createJob(request) {
2010
2018
  let runtime = new $Util.RuntimeOptions({});
2011
2019
  return await this.createJobWithOptions(request, runtime);
2012
2020
  }
2013
2021
  /**
2014
- * @summary 删除作业
2022
+ * 删除作业
2015
2023
  *
2016
- * @param tmpReq DeleteJobsRequest
2017
- * @param runtime runtime options for this request RuntimeOptions
2018
- * @return DeleteJobsResponse
2024
+ * @param tmpReq - DeleteJobsRequest
2025
+ * @param runtime - runtime options for this request RuntimeOptions
2026
+ * @returns DeleteJobsResponse
2019
2027
  */
2020
2028
  async deleteJobsWithOptions(tmpReq, runtime) {
2021
2029
  tea_util_1.default.validateModel(tmpReq);
@@ -2051,21 +2059,21 @@ class Client extends openapi_client_1.default {
2051
2059
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteJobsResponse({}));
2052
2060
  }
2053
2061
  /**
2054
- * @summary 删除作业
2062
+ * 删除作业
2055
2063
  *
2056
- * @param request DeleteJobsRequest
2057
- * @return DeleteJobsResponse
2064
+ * @param request - DeleteJobsRequest
2065
+ * @returns DeleteJobsResponse
2058
2066
  */
2059
2067
  async deleteJobs(request) {
2060
2068
  let runtime = new $Util.RuntimeOptions({});
2061
2069
  return await this.deleteJobsWithOptions(request, runtime);
2062
2070
  }
2063
2071
  /**
2064
- * @summary 查询作业性能数据
2072
+ * 查询作业性能数据
2065
2073
  *
2066
- * @param tmpReq DescribeJobMetricDataRequest
2067
- * @param runtime runtime options for this request RuntimeOptions
2068
- * @return DescribeJobMetricDataResponse
2074
+ * @param tmpReq - DescribeJobMetricDataRequest
2075
+ * @param runtime - runtime options for this request RuntimeOptions
2076
+ * @returns DescribeJobMetricDataResponse
2069
2077
  */
2070
2078
  async describeJobMetricDataWithOptions(tmpReq, runtime) {
2071
2079
  tea_util_1.default.validateModel(tmpReq);
@@ -2104,21 +2112,21 @@ class Client extends openapi_client_1.default {
2104
2112
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobMetricDataResponse({}));
2105
2113
  }
2106
2114
  /**
2107
- * @summary 查询作业性能数据
2115
+ * 查询作业性能数据
2108
2116
  *
2109
- * @param request DescribeJobMetricDataRequest
2110
- * @return DescribeJobMetricDataResponse
2117
+ * @param request - DescribeJobMetricDataRequest
2118
+ * @returns DescribeJobMetricDataResponse
2111
2119
  */
2112
2120
  async describeJobMetricData(request) {
2113
2121
  let runtime = new $Util.RuntimeOptions({});
2114
2122
  return await this.describeJobMetricDataWithOptions(request, runtime);
2115
2123
  }
2116
2124
  /**
2117
- * @summary 查询作业即时监控项
2125
+ * 查询作业即时监控项
2118
2126
  *
2119
- * @param tmpReq DescribeJobMetricLastRequest
2120
- * @param runtime runtime options for this request RuntimeOptions
2121
- * @return DescribeJobMetricLastResponse
2127
+ * @param tmpReq - DescribeJobMetricLastRequest
2128
+ * @param runtime - runtime options for this request RuntimeOptions
2129
+ * @returns DescribeJobMetricLastResponse
2122
2130
  */
2123
2131
  async describeJobMetricLastWithOptions(tmpReq, runtime) {
2124
2132
  tea_util_1.default.validateModel(tmpReq);
@@ -2154,21 +2162,21 @@ class Client extends openapi_client_1.default {
2154
2162
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobMetricLastResponse({}));
2155
2163
  }
2156
2164
  /**
2157
- * @summary 查询作业即时监控项
2165
+ * 查询作业即时监控项
2158
2166
  *
2159
- * @param request DescribeJobMetricLastRequest
2160
- * @return DescribeJobMetricLastResponse
2167
+ * @param request - DescribeJobMetricLastRequest
2168
+ * @returns DescribeJobMetricLastResponse
2161
2169
  */
2162
2170
  async describeJobMetricLast(request) {
2163
2171
  let runtime = new $Util.RuntimeOptions({});
2164
2172
  return await this.describeJobMetricLastWithOptions(request, runtime);
2165
2173
  }
2166
2174
  /**
2167
- * @summary 查询托管侧镜像详情。
2175
+ * 查询托管侧镜像详情。
2168
2176
  *
2169
- * @param request GetImageRequest
2170
- * @param runtime runtime options for this request RuntimeOptions
2171
- * @return GetImageResponse
2177
+ * @param request - GetImageRequest
2178
+ * @param runtime - runtime options for this request RuntimeOptions
2179
+ * @returns GetImageResponse
2172
2180
  */
2173
2181
  async getImageWithOptions(request, runtime) {
2174
2182
  tea_util_1.default.validateModel(request);
@@ -2199,21 +2207,21 @@ class Client extends openapi_client_1.default {
2199
2207
  return $tea.cast(await this.callApi(params, req, runtime), new GetImageResponse({}));
2200
2208
  }
2201
2209
  /**
2202
- * @summary 查询托管侧镜像详情。
2210
+ * 查询托管侧镜像详情。
2203
2211
  *
2204
- * @param request GetImageRequest
2205
- * @return GetImageResponse
2212
+ * @param request - GetImageRequest
2213
+ * @returns GetImageResponse
2206
2214
  */
2207
2215
  async getImage(request) {
2208
2216
  let runtime = new $Util.RuntimeOptions({});
2209
2217
  return await this.getImageWithOptions(request, runtime);
2210
2218
  }
2211
2219
  /**
2212
- * @summary 查询作业详情
2220
+ * 查询作业详情
2213
2221
  *
2214
- * @param request GetJobRequest
2215
- * @param runtime runtime options for this request RuntimeOptions
2216
- * @return GetJobResponse
2222
+ * @param request - GetJobRequest
2223
+ * @param runtime - runtime options for this request RuntimeOptions
2224
+ * @returns GetJobResponse
2217
2225
  */
2218
2226
  async getJobWithOptions(request, runtime) {
2219
2227
  tea_util_1.default.validateModel(request);
@@ -2238,21 +2246,21 @@ class Client extends openapi_client_1.default {
2238
2246
  return $tea.cast(await this.callApi(params, req, runtime), new GetJobResponse({}));
2239
2247
  }
2240
2248
  /**
2241
- * @summary 查询作业详情
2249
+ * 查询作业详情
2242
2250
  *
2243
- * @param request GetJobRequest
2244
- * @return GetJobResponse
2251
+ * @param request - GetJobRequest
2252
+ * @returns GetJobResponse
2245
2253
  */
2246
2254
  async getJob(request) {
2247
2255
  let runtime = new $Util.RuntimeOptions({});
2248
2256
  return await this.getJobWithOptions(request, runtime);
2249
2257
  }
2250
2258
  /**
2251
- * @summary 查询全局Executor信息
2259
+ * 查询全局Executor信息
2252
2260
  *
2253
- * @param tmpReq ListExecutorsRequest
2254
- * @param runtime runtime options for this request RuntimeOptions
2255
- * @return ListExecutorsResponse
2261
+ * @param tmpReq - ListExecutorsRequest
2262
+ * @param runtime - runtime options for this request RuntimeOptions
2263
+ * @returns ListExecutorsResponse
2256
2264
  */
2257
2265
  async listExecutorsWithOptions(tmpReq, runtime) {
2258
2266
  tea_util_1.default.validateModel(tmpReq);
@@ -2288,21 +2296,21 @@ class Client extends openapi_client_1.default {
2288
2296
  return $tea.cast(await this.callApi(params, req, runtime), new ListExecutorsResponse({}));
2289
2297
  }
2290
2298
  /**
2291
- * @summary 查询全局Executor信息
2299
+ * 查询全局Executor信息
2292
2300
  *
2293
- * @param request ListExecutorsRequest
2294
- * @return ListExecutorsResponse
2301
+ * @param request - ListExecutorsRequest
2302
+ * @returns ListExecutorsResponse
2295
2303
  */
2296
2304
  async listExecutors(request) {
2297
2305
  let runtime = new $Util.RuntimeOptions({});
2298
2306
  return await this.listExecutorsWithOptions(request, runtime);
2299
2307
  }
2300
2308
  /**
2301
- * @summary 查看托管侧镜像列表
2309
+ * 查看托管侧镜像列表
2302
2310
  *
2303
- * @param tmpReq ListImagesRequest
2304
- * @param runtime runtime options for this request RuntimeOptions
2305
- * @return ListImagesResponse
2311
+ * @param tmpReq - ListImagesRequest
2312
+ * @param runtime - runtime options for this request RuntimeOptions
2313
+ * @returns ListImagesResponse
2306
2314
  */
2307
2315
  async listImagesWithOptions(tmpReq, runtime) {
2308
2316
  tea_util_1.default.validateModel(tmpReq);
@@ -2350,21 +2358,21 @@ class Client extends openapi_client_1.default {
2350
2358
  return $tea.cast(await this.callApi(params, req, runtime), new ListImagesResponse({}));
2351
2359
  }
2352
2360
  /**
2353
- * @summary 查看托管侧镜像列表
2361
+ * 查看托管侧镜像列表
2354
2362
  *
2355
- * @param request ListImagesRequest
2356
- * @return ListImagesResponse
2363
+ * @param request - ListImagesRequest
2364
+ * @returns ListImagesResponse
2357
2365
  */
2358
2366
  async listImages(request) {
2359
2367
  let runtime = new $Util.RuntimeOptions({});
2360
2368
  return await this.listImagesWithOptions(request, runtime);
2361
2369
  }
2362
2370
  /**
2363
- * @summary 查询作业Executor信息
2371
+ * 查询作业Executor信息
2364
2372
  *
2365
- * @param request ListJobExecutorsRequest
2366
- * @param runtime runtime options for this request RuntimeOptions
2367
- * @return ListJobExecutorsResponse
2373
+ * @param request - ListJobExecutorsRequest
2374
+ * @param runtime - runtime options for this request RuntimeOptions
2375
+ * @returns ListJobExecutorsResponse
2368
2376
  */
2369
2377
  async listJobExecutorsWithOptions(request, runtime) {
2370
2378
  tea_util_1.default.validateModel(request);
@@ -2398,21 +2406,21 @@ class Client extends openapi_client_1.default {
2398
2406
  return $tea.cast(await this.callApi(params, req, runtime), new ListJobExecutorsResponse({}));
2399
2407
  }
2400
2408
  /**
2401
- * @summary 查询作业Executor信息
2409
+ * 查询作业Executor信息
2402
2410
  *
2403
- * @param request ListJobExecutorsRequest
2404
- * @return ListJobExecutorsResponse
2411
+ * @param request - ListJobExecutorsRequest
2412
+ * @returns ListJobExecutorsResponse
2405
2413
  */
2406
2414
  async listJobExecutors(request) {
2407
2415
  let runtime = new $Util.RuntimeOptions({});
2408
2416
  return await this.listJobExecutorsWithOptions(request, runtime);
2409
2417
  }
2410
2418
  /**
2411
- * @summary 查询作业列表
2419
+ * 查询作业列表
2412
2420
  *
2413
- * @param tmpReq ListJobsRequest
2414
- * @param runtime runtime options for this request RuntimeOptions
2415
- * @return ListJobsResponse
2421
+ * @param tmpReq - ListJobsRequest
2422
+ * @param runtime - runtime options for this request RuntimeOptions
2423
+ * @returns ListJobsResponse
2416
2424
  */
2417
2425
  async listJobsWithOptions(tmpReq, runtime) {
2418
2426
  tea_util_1.default.validateModel(tmpReq);
@@ -2454,21 +2462,21 @@ class Client extends openapi_client_1.default {
2454
2462
  return $tea.cast(await this.callApi(params, req, runtime), new ListJobsResponse({}));
2455
2463
  }
2456
2464
  /**
2457
- * @summary 查询作业列表
2465
+ * 查询作业列表
2458
2466
  *
2459
- * @param request ListJobsRequest
2460
- * @return ListJobsResponse
2467
+ * @param request - ListJobsRequest
2468
+ * @returns ListJobsResponse
2461
2469
  */
2462
2470
  async listJobs(request) {
2463
2471
  let runtime = new $Util.RuntimeOptions({});
2464
2472
  return await this.listJobsWithOptions(request, runtime);
2465
2473
  }
2466
2474
  /**
2467
- * @summary 移除托管侧镜像信息。
2475
+ * 移除托管侧镜像信息。
2468
2476
  *
2469
- * @param request RemoveImageRequest
2470
- * @param runtime runtime options for this request RuntimeOptions
2471
- * @return RemoveImageResponse
2477
+ * @param request - RemoveImageRequest
2478
+ * @param runtime - runtime options for this request RuntimeOptions
2479
+ * @returns RemoveImageResponse
2472
2480
  */
2473
2481
  async removeImageWithOptions(request, runtime) {
2474
2482
  tea_util_1.default.validateModel(request);
@@ -2493,10 +2501,10 @@ class Client extends openapi_client_1.default {
2493
2501
  return $tea.cast(await this.callApi(params, req, runtime), new RemoveImageResponse({}));
2494
2502
  }
2495
2503
  /**
2496
- * @summary 移除托管侧镜像信息。
2504
+ * 移除托管侧镜像信息。
2497
2505
  *
2498
- * @param request RemoveImageRequest
2499
- * @return RemoveImageResponse
2506
+ * @param request - RemoveImageRequest
2507
+ * @returns RemoveImageResponse
2500
2508
  */
2501
2509
  async removeImage(request) {
2502
2510
  let runtime = new $Util.RuntimeOptions({});