@alicloud/schedulerx320240624 1.7.0 → 1.8.0
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 +15 -0
- package/dist/client.js +57 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ListExecutorGroupRequest.d.ts +51 -0
- package/dist/models/ListExecutorGroupRequest.js +70 -0
- package/dist/models/ListExecutorGroupRequest.js.map +1 -0
- package/dist/models/ListExecutorGroupResponse.d.ts +19 -0
- package/dist/models/ListExecutorGroupResponse.js +69 -0
- package/dist/models/ListExecutorGroupResponse.js.map +1 -0
- package/dist/models/ListExecutorGroupResponseBody.d.ts +162 -0
- package/dist/models/ListExecutorGroupResponseBody.js +162 -0
- package/dist/models/ListExecutorGroupResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +19 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +66 -0
- package/src/models/ListExecutorGroupRequest.ts +76 -0
- package/src/models/ListExecutorGroupResponse.ts +40 -0
- package/src/models/ListExecutorGroupResponseBody.ts +252 -0
- package/src/models/model.ts +6 -0
package/dist/client.d.ts
CHANGED
|
@@ -653,6 +653,21 @@ export default class Client extends OpenApi {
|
|
|
653
653
|
* @returns ListDatasourcesResponse
|
|
654
654
|
*/
|
|
655
655
|
listDatasources(request: $_model.ListDatasourcesRequest): Promise<$_model.ListDatasourcesResponse>;
|
|
656
|
+
/**
|
|
657
|
+
* 获取执行器组列表
|
|
658
|
+
*
|
|
659
|
+
* @param request - ListExecutorGroupRequest
|
|
660
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
661
|
+
* @returns ListExecutorGroupResponse
|
|
662
|
+
*/
|
|
663
|
+
listExecutorGroupWithOptions(request: $_model.ListExecutorGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListExecutorGroupResponse>;
|
|
664
|
+
/**
|
|
665
|
+
* 获取执行器组列表
|
|
666
|
+
*
|
|
667
|
+
* @param request - ListExecutorGroupRequest
|
|
668
|
+
* @returns ListExecutorGroupResponse
|
|
669
|
+
*/
|
|
670
|
+
listExecutorGroup(request: $_model.ListExecutorGroupRequest): Promise<$_model.ListExecutorGroupResponse>;
|
|
656
671
|
/**
|
|
657
672
|
* Queries a list of executors.
|
|
658
673
|
*
|
package/dist/client.js
CHANGED
|
@@ -2154,6 +2154,63 @@ class Client extends openapi_core_1.default {
|
|
|
2154
2154
|
let runtime = new $dara.RuntimeOptions({});
|
|
2155
2155
|
return await this.listDatasourcesWithOptions(request, runtime);
|
|
2156
2156
|
}
|
|
2157
|
+
/**
|
|
2158
|
+
* 获取执行器组列表
|
|
2159
|
+
*
|
|
2160
|
+
* @param request - ListExecutorGroupRequest
|
|
2161
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2162
|
+
* @returns ListExecutorGroupResponse
|
|
2163
|
+
*/
|
|
2164
|
+
async listExecutorGroupWithOptions(request, runtime) {
|
|
2165
|
+
request.validate();
|
|
2166
|
+
let query = {};
|
|
2167
|
+
if (!$dara.isNull(request.clusterId)) {
|
|
2168
|
+
query["ClusterId"] = request.clusterId;
|
|
2169
|
+
}
|
|
2170
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
2171
|
+
query["MaxResults"] = request.maxResults;
|
|
2172
|
+
}
|
|
2173
|
+
if (!$dara.isNull(request.name)) {
|
|
2174
|
+
query["Name"] = request.name;
|
|
2175
|
+
}
|
|
2176
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2177
|
+
query["NextToken"] = request.nextToken;
|
|
2178
|
+
}
|
|
2179
|
+
if (!$dara.isNull(request.pageNum)) {
|
|
2180
|
+
query["PageNum"] = request.pageNum;
|
|
2181
|
+
}
|
|
2182
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
2183
|
+
query["PageSize"] = request.pageSize;
|
|
2184
|
+
}
|
|
2185
|
+
if (!$dara.isNull(request.workerType)) {
|
|
2186
|
+
query["WorkerType"] = request.workerType;
|
|
2187
|
+
}
|
|
2188
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2189
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2190
|
+
});
|
|
2191
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2192
|
+
action: "ListExecutorGroup",
|
|
2193
|
+
version: "2024-06-24",
|
|
2194
|
+
protocol: "HTTPS",
|
|
2195
|
+
pathname: "/",
|
|
2196
|
+
method: "POST",
|
|
2197
|
+
authType: "AK",
|
|
2198
|
+
style: "RPC",
|
|
2199
|
+
reqBodyType: "formData",
|
|
2200
|
+
bodyType: "json",
|
|
2201
|
+
});
|
|
2202
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListExecutorGroupResponse({}));
|
|
2203
|
+
}
|
|
2204
|
+
/**
|
|
2205
|
+
* 获取执行器组列表
|
|
2206
|
+
*
|
|
2207
|
+
* @param request - ListExecutorGroupRequest
|
|
2208
|
+
* @returns ListExecutorGroupResponse
|
|
2209
|
+
*/
|
|
2210
|
+
async listExecutorGroup(request) {
|
|
2211
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2212
|
+
return await this.listExecutorGroupWithOptions(request, runtime);
|
|
2213
|
+
}
|
|
2157
2214
|
/**
|
|
2158
2215
|
* Queries a list of executors.
|
|
2159
2216
|
*
|