@alicloud/oos20190601 3.5.3 → 3.7.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 +165 -0
- package/dist/client.js +639 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CheckGitRepoFileExistsRequest.d.ts +70 -0
- package/dist/models/CheckGitRepoFileExistsRequest.js +74 -0
- package/dist/models/CheckGitRepoFileExistsRequest.js.map +1 -0
- package/dist/models/CheckGitRepoFileExistsResponse.d.ts +19 -0
- package/dist/models/CheckGitRepoFileExistsResponse.js +69 -0
- package/dist/models/CheckGitRepoFileExistsResponse.js.map +1 -0
- package/dist/models/CheckGitRepoFileExistsResponseBody.d.ts +23 -0
- package/dist/models/CheckGitRepoFileExistsResponseBody.js +60 -0
- package/dist/models/CheckGitRepoFileExistsResponseBody.js.map +1 -0
- package/dist/models/CheckGitRepositoryExistsRequest.d.ts +57 -0
- package/dist/models/CheckGitRepositoryExistsRequest.js +70 -0
- package/dist/models/CheckGitRepositoryExistsRequest.js.map +1 -0
- package/dist/models/CheckGitRepositoryExistsResponse.d.ts +19 -0
- package/dist/models/CheckGitRepositoryExistsResponse.js +69 -0
- package/dist/models/CheckGitRepositoryExistsResponse.js.map +1 -0
- package/dist/models/CheckGitRepositoryExistsResponseBody.d.ts +23 -0
- package/dist/models/CheckGitRepositoryExistsResponseBody.js +60 -0
- package/dist/models/CheckGitRepositoryExistsResponseBody.js.map +1 -0
- package/dist/models/CreateGitRepositoryRequest.d.ts +74 -0
- package/dist/models/CreateGitRepositoryRequest.js +78 -0
- package/dist/models/CreateGitRepositoryRequest.js.map +1 -0
- package/dist/models/CreateGitRepositoryResponse.d.ts +19 -0
- package/dist/models/CreateGitRepositoryResponse.js +69 -0
- package/dist/models/CreateGitRepositoryResponse.js.map +1 -0
- package/dist/models/CreateGitRepositoryResponseBody.d.ts +51 -0
- package/dist/models/CreateGitRepositoryResponseBody.js +88 -0
- package/dist/models/CreateGitRepositoryResponseBody.js.map +1 -0
- package/dist/models/DeployApplicationGroupRequest.d.ts +1 -0
- package/dist/models/DeployApplicationGroupRequest.js +2 -0
- package/dist/models/DeployApplicationGroupRequest.js.map +1 -1
- package/dist/models/GetApplicationGroupResponseBody.d.ts +1 -0
- package/dist/models/GetApplicationGroupResponseBody.js +2 -0
- package/dist/models/GetApplicationGroupResponseBody.js.map +1 -1
- package/dist/models/GetGitBranchRequest.d.ts +57 -0
- package/dist/models/GetGitBranchRequest.js +70 -0
- package/dist/models/GetGitBranchRequest.js.map +1 -0
- package/dist/models/GetGitBranchResponse.d.ts +19 -0
- package/dist/models/GetGitBranchResponse.js +69 -0
- package/dist/models/GetGitBranchResponse.js.map +1 -0
- package/dist/models/GetGitBranchResponseBody.d.ts +47 -0
- package/dist/models/GetGitBranchResponseBody.js +84 -0
- package/dist/models/GetGitBranchResponseBody.js.map +1 -0
- package/dist/models/GetGitRepositoryRequest.d.ts +49 -0
- package/dist/models/GetGitRepositoryRequest.js +68 -0
- package/dist/models/GetGitRepositoryRequest.js.map +1 -0
- package/dist/models/GetGitRepositoryResponse.d.ts +19 -0
- package/dist/models/GetGitRepositoryResponse.js +69 -0
- package/dist/models/GetGitRepositoryResponse.js.map +1 -0
- package/dist/models/GetGitRepositoryResponseBody.d.ts +33 -0
- package/dist/models/GetGitRepositoryResponseBody.js +64 -0
- package/dist/models/GetGitRepositoryResponseBody.js.map +1 -0
- package/dist/models/GetTemplateResponseBody.d.ts +1 -0
- package/dist/models/GetTemplateResponseBody.js +2 -0
- package/dist/models/GetTemplateResponseBody.js.map +1 -1
- package/dist/models/ListApplicationGroupsResponseBody.d.ts +1 -0
- package/dist/models/ListApplicationGroupsResponseBody.js +2 -0
- package/dist/models/ListApplicationGroupsResponseBody.js.map +1 -1
- package/dist/models/ListGitAccountsRequest.d.ts +37 -0
- package/dist/models/ListGitAccountsRequest.js +66 -0
- package/dist/models/ListGitAccountsRequest.js.map +1 -0
- package/dist/models/ListGitAccountsResponse.d.ts +19 -0
- package/dist/models/ListGitAccountsResponse.js +69 -0
- package/dist/models/ListGitAccountsResponse.js.map +1 -0
- package/dist/models/ListGitAccountsResponseBody.d.ts +46 -0
- package/dist/models/ListGitAccountsResponseBody.js +86 -0
- package/dist/models/ListGitAccountsResponseBody.js.map +1 -0
- package/dist/models/ListGitBranchesRequest.d.ts +57 -0
- package/dist/models/ListGitBranchesRequest.js +70 -0
- package/dist/models/ListGitBranchesRequest.js.map +1 -0
- package/dist/models/ListGitBranchesResponse.d.ts +19 -0
- package/dist/models/ListGitBranchesResponse.js +69 -0
- package/dist/models/ListGitBranchesResponse.js.map +1 -0
- package/dist/models/ListGitBranchesResponseBody.d.ts +41 -0
- package/dist/models/ListGitBranchesResponseBody.js +84 -0
- package/dist/models/ListGitBranchesResponseBody.js.map +1 -0
- package/dist/models/ListGitOrganizationsRequest.d.ts +40 -0
- package/dist/models/ListGitOrganizationsRequest.js +66 -0
- package/dist/models/ListGitOrganizationsRequest.js.map +1 -0
- package/dist/models/ListGitOrganizationsResponse.d.ts +19 -0
- package/dist/models/ListGitOrganizationsResponse.js +69 -0
- package/dist/models/ListGitOrganizationsResponse.js.map +1 -0
- package/dist/models/ListGitOrganizationsResponseBody.d.ts +46 -0
- package/dist/models/ListGitOrganizationsResponseBody.js +86 -0
- package/dist/models/ListGitOrganizationsResponseBody.js.map +1 -0
- package/dist/models/ListGitRepositoriesRequest.d.ts +59 -0
- package/dist/models/ListGitRepositoriesRequest.js +72 -0
- package/dist/models/ListGitRepositoriesRequest.js.map +1 -0
- package/dist/models/ListGitRepositoriesResponse.d.ts +19 -0
- package/dist/models/ListGitRepositoriesResponse.js +69 -0
- package/dist/models/ListGitRepositoriesResponse.js.map +1 -0
- package/dist/models/ListGitRepositoriesResponseBody.d.ts +61 -0
- package/dist/models/ListGitRepositoriesResponseBody.js +92 -0
- package/dist/models/ListGitRepositoriesResponseBody.js.map +1 -0
- package/dist/models/ListGitRepositoryContentsRequest.d.ts +69 -0
- package/dist/models/ListGitRepositoryContentsRequest.js +76 -0
- package/dist/models/ListGitRepositoryContentsRequest.js.map +1 -0
- package/dist/models/ListGitRepositoryContentsResponse.d.ts +19 -0
- package/dist/models/ListGitRepositoryContentsResponse.js +69 -0
- package/dist/models/ListGitRepositoryContentsResponse.js.map +1 -0
- package/dist/models/ListGitRepositoryContentsResponseBody.d.ts +56 -0
- package/dist/models/ListGitRepositoryContentsResponseBody.js +90 -0
- package/dist/models/ListGitRepositoryContentsResponseBody.js.map +1 -0
- package/dist/models/ListInstancePackageStatesResponseBody.d.ts +1 -0
- package/dist/models/ListInstancePackageStatesResponseBody.js +2 -0
- package/dist/models/ListInstancePackageStatesResponseBody.js.map +1 -1
- package/dist/models/StartDebugExecutionRequest.d.ts +33 -0
- package/dist/models/StartDebugExecutionRequest.js +64 -0
- package/dist/models/StartDebugExecutionRequest.js.map +1 -0
- package/dist/models/StartDebugExecutionResponse.d.ts +19 -0
- package/dist/models/StartDebugExecutionResponse.js +69 -0
- package/dist/models/StartDebugExecutionResponse.js.map +1 -0
- package/dist/models/StartDebugExecutionResponseBody.d.ts +23 -0
- package/dist/models/StartDebugExecutionResponseBody.js +60 -0
- package/dist/models/StartDebugExecutionResponseBody.js.map +1 -0
- package/dist/models/UpdateInstancePackageStateRequest.d.ts +1 -0
- package/dist/models/UpdateInstancePackageStateRequest.js +2 -0
- package/dist/models/UpdateInstancePackageStateRequest.js.map +1 -1
- package/dist/models/UpdateInstancePackageStateShrinkRequest.d.ts +1 -0
- package/dist/models/UpdateInstancePackageStateShrinkRequest.js +2 -0
- package/dist/models/UpdateInstancePackageStateShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +40 -0
- package/dist/models/model.js +88 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +912 -170
- package/src/models/CheckGitRepoFileExistsRequest.ts +99 -0
- package/src/models/CheckGitRepoFileExistsResponse.ts +40 -0
- package/src/models/CheckGitRepoFileExistsResponseBody.ts +38 -0
- package/src/models/CheckGitRepositoryExistsRequest.ts +82 -0
- package/src/models/CheckGitRepositoryExistsResponse.ts +40 -0
- package/src/models/CheckGitRepositoryExistsResponseBody.ts +38 -0
- package/src/models/CreateGitRepositoryRequest.ts +107 -0
- package/src/models/CreateGitRepositoryResponse.ts +40 -0
- package/src/models/CreateGitRepositoryResponseBody.ts +85 -0
- package/src/models/DeployApplicationGroupRequest.ts +3 -0
- package/src/models/GetApplicationGroupResponseBody.ts +3 -0
- package/src/models/GetGitBranchRequest.ts +82 -0
- package/src/models/GetGitBranchResponse.ts +40 -0
- package/src/models/GetGitBranchResponseBody.ts +77 -0
- package/src/models/GetGitRepositoryRequest.ts +72 -0
- package/src/models/GetGitRepositoryResponse.ts +40 -0
- package/src/models/GetGitRepositoryResponseBody.ts +52 -0
- package/src/models/GetTemplateResponseBody.ts +3 -0
- package/src/models/ListApplicationGroupsResponseBody.ts +3 -0
- package/src/models/ListGitAccountsRequest.ts +58 -0
- package/src/models/ListGitAccountsResponse.ts +40 -0
- package/src/models/ListGitAccountsResponseBody.ts +78 -0
- package/src/models/ListGitBranchesRequest.ts +82 -0
- package/src/models/ListGitBranchesResponse.ts +40 -0
- package/src/models/ListGitBranchesResponseBody.ts +71 -0
- package/src/models/ListGitOrganizationsRequest.ts +61 -0
- package/src/models/ListGitOrganizationsResponse.ts +40 -0
- package/src/models/ListGitOrganizationsResponseBody.ts +78 -0
- package/src/models/ListGitRepositoriesRequest.ts +86 -0
- package/src/models/ListGitRepositoriesResponse.ts +40 -0
- package/src/models/ListGitRepositoriesResponseBody.ts +99 -0
- package/src/models/ListGitRepositoryContentsRequest.ts +100 -0
- package/src/models/ListGitRepositoryContentsResponse.ts +40 -0
- package/src/models/ListGitRepositoryContentsResponseBody.ts +92 -0
- package/src/models/ListInstancePackageStatesResponseBody.ts +3 -0
- package/src/models/StartDebugExecutionRequest.ts +52 -0
- package/src/models/StartDebugExecutionResponse.ts +40 -0
- package/src/models/StartDebugExecutionResponseBody.ts +38 -0
- package/src/models/UpdateInstancePackageStateRequest.ts +3 -0
- package/src/models/UpdateInstancePackageStateShrinkRequest.ts +3 -0
- package/src/models/model.ts +40 -0
package/src/client.ts
CHANGED
|
@@ -199,6 +199,146 @@ export default class Client extends OpenApi {
|
|
|
199
199
|
return await this.changeResourceGroupWithOptions(request, runtime);
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
/**
|
|
203
|
+
* 检测仓库中文件是否存在
|
|
204
|
+
*
|
|
205
|
+
* @param request - CheckGitRepoFileExistsRequest
|
|
206
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
207
|
+
* @returns CheckGitRepoFileExistsResponse
|
|
208
|
+
*/
|
|
209
|
+
async checkGitRepoFileExistsWithOptions(request: $_model.CheckGitRepoFileExistsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CheckGitRepoFileExistsResponse> {
|
|
210
|
+
request.validate();
|
|
211
|
+
let query = { };
|
|
212
|
+
if (!$dara.isNull(request.branch)) {
|
|
213
|
+
query["Branch"] = request.branch;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
217
|
+
query["ClientToken"] = request.clientToken;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
if (!$dara.isNull(request.filePath)) {
|
|
221
|
+
query["FilePath"] = request.filePath;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
if (!$dara.isNull(request.orgId)) {
|
|
225
|
+
query["OrgId"] = request.orgId;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
if (!$dara.isNull(request.owner)) {
|
|
229
|
+
query["Owner"] = request.owner;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
if (!$dara.isNull(request.platform)) {
|
|
233
|
+
query["Platform"] = request.platform;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
if (!$dara.isNull(request.regionId)) {
|
|
237
|
+
query["RegionId"] = request.regionId;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
if (!$dara.isNull(request.repoFullName)) {
|
|
241
|
+
query["RepoFullName"] = request.repoFullName;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
if (!$dara.isNull(request.repoId)) {
|
|
245
|
+
query["RepoId"] = request.repoId;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
249
|
+
query: OpenApiUtil.query(query),
|
|
250
|
+
});
|
|
251
|
+
let params = new $OpenApiUtil.Params({
|
|
252
|
+
action: "CheckGitRepoFileExists",
|
|
253
|
+
version: "2019-06-01",
|
|
254
|
+
protocol: "HTTPS",
|
|
255
|
+
pathname: "/",
|
|
256
|
+
method: "POST",
|
|
257
|
+
authType: "AK",
|
|
258
|
+
style: "RPC",
|
|
259
|
+
reqBodyType: "formData",
|
|
260
|
+
bodyType: "json",
|
|
261
|
+
});
|
|
262
|
+
return $dara.cast<$_model.CheckGitRepoFileExistsResponse>(await this.callApi(params, req, runtime), new $_model.CheckGitRepoFileExistsResponse({}));
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* 检测仓库中文件是否存在
|
|
267
|
+
*
|
|
268
|
+
* @param request - CheckGitRepoFileExistsRequest
|
|
269
|
+
* @returns CheckGitRepoFileExistsResponse
|
|
270
|
+
*/
|
|
271
|
+
async checkGitRepoFileExists(request: $_model.CheckGitRepoFileExistsRequest): Promise<$_model.CheckGitRepoFileExistsResponse> {
|
|
272
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
273
|
+
return await this.checkGitRepoFileExistsWithOptions(request, runtime);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* 检测仓库是否存在
|
|
278
|
+
*
|
|
279
|
+
* @param request - CheckGitRepositoryExistsRequest
|
|
280
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
281
|
+
* @returns CheckGitRepositoryExistsResponse
|
|
282
|
+
*/
|
|
283
|
+
async checkGitRepositoryExistsWithOptions(request: $_model.CheckGitRepositoryExistsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CheckGitRepositoryExistsResponse> {
|
|
284
|
+
request.validate();
|
|
285
|
+
let query = { };
|
|
286
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
287
|
+
query["ClientToken"] = request.clientToken;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
if (!$dara.isNull(request.orgId)) {
|
|
291
|
+
query["OrgId"] = request.orgId;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
if (!$dara.isNull(request.owner)) {
|
|
295
|
+
query["Owner"] = request.owner;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
if (!$dara.isNull(request.platform)) {
|
|
299
|
+
query["Platform"] = request.platform;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
if (!$dara.isNull(request.regionId)) {
|
|
303
|
+
query["RegionId"] = request.regionId;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
if (!$dara.isNull(request.repoFullName)) {
|
|
307
|
+
query["RepoFullName"] = request.repoFullName;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
if (!$dara.isNull(request.repoId)) {
|
|
311
|
+
query["RepoId"] = request.repoId;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
315
|
+
query: OpenApiUtil.query(query),
|
|
316
|
+
});
|
|
317
|
+
let params = new $OpenApiUtil.Params({
|
|
318
|
+
action: "CheckGitRepositoryExists",
|
|
319
|
+
version: "2019-06-01",
|
|
320
|
+
protocol: "HTTPS",
|
|
321
|
+
pathname: "/",
|
|
322
|
+
method: "POST",
|
|
323
|
+
authType: "AK",
|
|
324
|
+
style: "RPC",
|
|
325
|
+
reqBodyType: "formData",
|
|
326
|
+
bodyType: "json",
|
|
327
|
+
});
|
|
328
|
+
return $dara.cast<$_model.CheckGitRepositoryExistsResponse>(await this.callApi(params, req, runtime), new $_model.CheckGitRepositoryExistsResponse({}));
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* 检测仓库是否存在
|
|
333
|
+
*
|
|
334
|
+
* @param request - CheckGitRepositoryExistsRequest
|
|
335
|
+
* @returns CheckGitRepositoryExistsResponse
|
|
336
|
+
*/
|
|
337
|
+
async checkGitRepositoryExists(request: $_model.CheckGitRepositoryExistsRequest): Promise<$_model.CheckGitRepositoryExistsResponse> {
|
|
338
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
339
|
+
return await this.checkGitRepositoryExistsWithOptions(request, runtime);
|
|
340
|
+
}
|
|
341
|
+
|
|
202
342
|
/**
|
|
203
343
|
* Continues deploying an application group when an error occurs for calling the DeployApplicationGroup operation. You can call this operation only for the applications which reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.
|
|
204
344
|
*
|
|
@@ -411,6 +551,88 @@ export default class Client extends OpenApi {
|
|
|
411
551
|
return await this.createApplicationGroupWithOptions(request, runtime);
|
|
412
552
|
}
|
|
413
553
|
|
|
554
|
+
/**
|
|
555
|
+
* 创建仓库
|
|
556
|
+
*
|
|
557
|
+
* @param request - CreateGitRepositoryRequest
|
|
558
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
559
|
+
* @returns CreateGitRepositoryResponse
|
|
560
|
+
*/
|
|
561
|
+
async createGitRepositoryWithOptions(request: $_model.CreateGitRepositoryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGitRepositoryResponse> {
|
|
562
|
+
request.validate();
|
|
563
|
+
let query = { };
|
|
564
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
565
|
+
query["ClientToken"] = request.clientToken;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
if (!$dara.isNull(request.isPrivate)) {
|
|
569
|
+
query["IsPrivate"] = request.isPrivate;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
if (!$dara.isNull(request.orgId)) {
|
|
573
|
+
query["OrgId"] = request.orgId;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
if (!$dara.isNull(request.owner)) {
|
|
577
|
+
query["Owner"] = request.owner;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
if (!$dara.isNull(request.platform)) {
|
|
581
|
+
query["Platform"] = request.platform;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
if (!$dara.isNull(request.regionId)) {
|
|
585
|
+
query["RegionId"] = request.regionId;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
if (!$dara.isNull(request.sourceRepoBranch)) {
|
|
589
|
+
query["SourceRepoBranch"] = request.sourceRepoBranch;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
if (!$dara.isNull(request.sourceRepoName)) {
|
|
593
|
+
query["SourceRepoName"] = request.sourceRepoName;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
if (!$dara.isNull(request.sourceRepoOwner)) {
|
|
597
|
+
query["SourceRepoOwner"] = request.sourceRepoOwner;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
if (!$dara.isNull(request.targetRepoName)) {
|
|
601
|
+
query["TargetRepoName"] = request.targetRepoName;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
if (!$dara.isNull(request.targetRepoOwner)) {
|
|
605
|
+
query["TargetRepoOwner"] = request.targetRepoOwner;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
609
|
+
query: OpenApiUtil.query(query),
|
|
610
|
+
});
|
|
611
|
+
let params = new $OpenApiUtil.Params({
|
|
612
|
+
action: "CreateGitRepository",
|
|
613
|
+
version: "2019-06-01",
|
|
614
|
+
protocol: "HTTPS",
|
|
615
|
+
pathname: "/",
|
|
616
|
+
method: "POST",
|
|
617
|
+
authType: "AK",
|
|
618
|
+
style: "RPC",
|
|
619
|
+
reqBodyType: "formData",
|
|
620
|
+
bodyType: "json",
|
|
621
|
+
});
|
|
622
|
+
return $dara.cast<$_model.CreateGitRepositoryResponse>(await this.callApi(params, req, runtime), new $_model.CreateGitRepositoryResponse({}));
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* 创建仓库
|
|
627
|
+
*
|
|
628
|
+
* @param request - CreateGitRepositoryRequest
|
|
629
|
+
* @returns CreateGitRepositoryResponse
|
|
630
|
+
*/
|
|
631
|
+
async createGitRepository(request: $_model.CreateGitRepositoryRequest): Promise<$_model.CreateGitRepositoryResponse> {
|
|
632
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
633
|
+
return await this.createGitRepositoryWithOptions(request, runtime);
|
|
634
|
+
}
|
|
635
|
+
|
|
414
636
|
/**
|
|
415
637
|
* Creates an O\\\\\\\\\\\\&M Item.
|
|
416
638
|
*
|
|
@@ -1461,6 +1683,10 @@ export default class Client extends OpenApi {
|
|
|
1461
1683
|
query["RegionId"] = request.regionId;
|
|
1462
1684
|
}
|
|
1463
1685
|
|
|
1686
|
+
if (!$dara.isNull(request.revisionId)) {
|
|
1687
|
+
query["RevisionId"] = request.revisionId;
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1464
1690
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1465
1691
|
query: OpenApiUtil.query(query),
|
|
1466
1692
|
});
|
|
@@ -1860,40 +2086,48 @@ export default class Client extends OpenApi {
|
|
|
1860
2086
|
}
|
|
1861
2087
|
|
|
1862
2088
|
/**
|
|
1863
|
-
*
|
|
2089
|
+
* 查询Git分支详情
|
|
1864
2090
|
*
|
|
1865
|
-
* @param request -
|
|
2091
|
+
* @param request - GetGitBranchRequest
|
|
1866
2092
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1867
|
-
* @returns
|
|
2093
|
+
* @returns GetGitBranchResponse
|
|
1868
2094
|
*/
|
|
1869
|
-
async
|
|
2095
|
+
async getGitBranchWithOptions(request: $_model.GetGitBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetGitBranchResponse> {
|
|
1870
2096
|
request.validate();
|
|
1871
2097
|
let query = { };
|
|
1872
|
-
if (!$dara.isNull(request.
|
|
1873
|
-
query["
|
|
2098
|
+
if (!$dara.isNull(request.branch)) {
|
|
2099
|
+
query["Branch"] = request.branch;
|
|
1874
2100
|
}
|
|
1875
2101
|
|
|
1876
|
-
if (!$dara.isNull(request.
|
|
1877
|
-
query["
|
|
2102
|
+
if (!$dara.isNull(request.orgId)) {
|
|
2103
|
+
query["OrgId"] = request.orgId;
|
|
1878
2104
|
}
|
|
1879
2105
|
|
|
1880
|
-
if (!$dara.isNull(request.
|
|
1881
|
-
query["
|
|
2106
|
+
if (!$dara.isNull(request.owner)) {
|
|
2107
|
+
query["Owner"] = request.owner;
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
if (!$dara.isNull(request.platform)) {
|
|
2111
|
+
query["Platform"] = request.platform;
|
|
1882
2112
|
}
|
|
1883
2113
|
|
|
1884
2114
|
if (!$dara.isNull(request.regionId)) {
|
|
1885
2115
|
query["RegionId"] = request.regionId;
|
|
1886
2116
|
}
|
|
1887
2117
|
|
|
1888
|
-
if (!$dara.isNull(request.
|
|
1889
|
-
query["
|
|
2118
|
+
if (!$dara.isNull(request.repoFullName)) {
|
|
2119
|
+
query["RepoFullName"] = request.repoFullName;
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
if (!$dara.isNull(request.repoId)) {
|
|
2123
|
+
query["RepoId"] = request.repoId;
|
|
1890
2124
|
}
|
|
1891
2125
|
|
|
1892
2126
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1893
2127
|
query: OpenApiUtil.query(query),
|
|
1894
2128
|
});
|
|
1895
2129
|
let params = new $OpenApiUtil.Params({
|
|
1896
|
-
action: "
|
|
2130
|
+
action: "GetGitBranch",
|
|
1897
2131
|
version: "2019-06-01",
|
|
1898
2132
|
protocol: "HTTPS",
|
|
1899
2133
|
pathname: "/",
|
|
@@ -1903,43 +2137,59 @@ export default class Client extends OpenApi {
|
|
|
1903
2137
|
reqBodyType: "formData",
|
|
1904
2138
|
bodyType: "json",
|
|
1905
2139
|
});
|
|
1906
|
-
return $dara.cast<$_model.
|
|
2140
|
+
return $dara.cast<$_model.GetGitBranchResponse>(await this.callApi(params, req, runtime), new $_model.GetGitBranchResponse({}));
|
|
1907
2141
|
}
|
|
1908
2142
|
|
|
1909
2143
|
/**
|
|
1910
|
-
*
|
|
2144
|
+
* 查询Git分支详情
|
|
1911
2145
|
*
|
|
1912
|
-
* @param request -
|
|
1913
|
-
* @returns
|
|
2146
|
+
* @param request - GetGitBranchRequest
|
|
2147
|
+
* @returns GetGitBranchResponse
|
|
1914
2148
|
*/
|
|
1915
|
-
async
|
|
2149
|
+
async getGitBranch(request: $_model.GetGitBranchRequest): Promise<$_model.GetGitBranchResponse> {
|
|
1916
2150
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1917
|
-
return await this.
|
|
2151
|
+
return await this.getGitBranchWithOptions(request, runtime);
|
|
1918
2152
|
}
|
|
1919
2153
|
|
|
1920
2154
|
/**
|
|
1921
|
-
*
|
|
2155
|
+
* 查询Git仓库详情
|
|
1922
2156
|
*
|
|
1923
|
-
* @param request -
|
|
2157
|
+
* @param request - GetGitRepositoryRequest
|
|
1924
2158
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1925
|
-
* @returns
|
|
2159
|
+
* @returns GetGitRepositoryResponse
|
|
1926
2160
|
*/
|
|
1927
|
-
async
|
|
2161
|
+
async getGitRepositoryWithOptions(request: $_model.GetGitRepositoryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetGitRepositoryResponse> {
|
|
1928
2162
|
request.validate();
|
|
1929
2163
|
let query = { };
|
|
1930
|
-
if (!$dara.isNull(request.
|
|
1931
|
-
query["
|
|
2164
|
+
if (!$dara.isNull(request.orgId)) {
|
|
2165
|
+
query["OrgId"] = request.orgId;
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
if (!$dara.isNull(request.owner)) {
|
|
2169
|
+
query["Owner"] = request.owner;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
if (!$dara.isNull(request.platform)) {
|
|
2173
|
+
query["Platform"] = request.platform;
|
|
1932
2174
|
}
|
|
1933
2175
|
|
|
1934
2176
|
if (!$dara.isNull(request.regionId)) {
|
|
1935
2177
|
query["RegionId"] = request.regionId;
|
|
1936
2178
|
}
|
|
1937
2179
|
|
|
2180
|
+
if (!$dara.isNull(request.repoFullName)) {
|
|
2181
|
+
query["RepoFullName"] = request.repoFullName;
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
if (!$dara.isNull(request.repoId)) {
|
|
2185
|
+
query["RepoId"] = request.repoId;
|
|
2186
|
+
}
|
|
2187
|
+
|
|
1938
2188
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1939
2189
|
query: OpenApiUtil.query(query),
|
|
1940
2190
|
});
|
|
1941
2191
|
let params = new $OpenApiUtil.Params({
|
|
1942
|
-
action: "
|
|
2192
|
+
action: "GetGitRepository",
|
|
1943
2193
|
version: "2019-06-01",
|
|
1944
2194
|
protocol: "HTTPS",
|
|
1945
2195
|
pathname: "/",
|
|
@@ -1949,35 +2199,139 @@ export default class Client extends OpenApi {
|
|
|
1949
2199
|
reqBodyType: "formData",
|
|
1950
2200
|
bodyType: "json",
|
|
1951
2201
|
});
|
|
1952
|
-
return $dara.cast<$_model.
|
|
2202
|
+
return $dara.cast<$_model.GetGitRepositoryResponse>(await this.callApi(params, req, runtime), new $_model.GetGitRepositoryResponse({}));
|
|
1953
2203
|
}
|
|
1954
2204
|
|
|
1955
2205
|
/**
|
|
1956
|
-
*
|
|
2206
|
+
* 查询Git仓库详情
|
|
1957
2207
|
*
|
|
1958
|
-
* @param request -
|
|
1959
|
-
* @returns
|
|
2208
|
+
* @param request - GetGitRepositoryRequest
|
|
2209
|
+
* @returns GetGitRepositoryResponse
|
|
1960
2210
|
*/
|
|
1961
|
-
async
|
|
2211
|
+
async getGitRepository(request: $_model.GetGitRepositoryRequest): Promise<$_model.GetGitRepositoryResponse> {
|
|
1962
2212
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1963
|
-
return await this.
|
|
2213
|
+
return await this.getGitRepositoryWithOptions(request, runtime);
|
|
1964
2214
|
}
|
|
1965
2215
|
|
|
1966
2216
|
/**
|
|
1967
|
-
* Queries
|
|
2217
|
+
* Queries the properties of a configuration list.
|
|
1968
2218
|
*
|
|
1969
|
-
* @param request -
|
|
2219
|
+
* @param request - GetInventorySchemaRequest
|
|
1970
2220
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1971
|
-
* @returns
|
|
2221
|
+
* @returns GetInventorySchemaResponse
|
|
1972
2222
|
*/
|
|
1973
|
-
async
|
|
2223
|
+
async getInventorySchemaWithOptions(request: $_model.GetInventorySchemaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetInventorySchemaResponse> {
|
|
1974
2224
|
request.validate();
|
|
1975
2225
|
let query = { };
|
|
1976
|
-
if (!$dara.isNull(request.
|
|
1977
|
-
query["
|
|
2226
|
+
if (!$dara.isNull(request.aggregator)) {
|
|
2227
|
+
query["Aggregator"] = request.aggregator;
|
|
1978
2228
|
}
|
|
1979
2229
|
|
|
1980
|
-
if (!$dara.isNull(request.
|
|
2230
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
2231
|
+
query["MaxResults"] = request.maxResults;
|
|
2232
|
+
}
|
|
2233
|
+
|
|
2234
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2235
|
+
query["NextToken"] = request.nextToken;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2239
|
+
query["RegionId"] = request.regionId;
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2242
|
+
if (!$dara.isNull(request.typeName)) {
|
|
2243
|
+
query["TypeName"] = request.typeName;
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2247
|
+
query: OpenApiUtil.query(query),
|
|
2248
|
+
});
|
|
2249
|
+
let params = new $OpenApiUtil.Params({
|
|
2250
|
+
action: "GetInventorySchema",
|
|
2251
|
+
version: "2019-06-01",
|
|
2252
|
+
protocol: "HTTPS",
|
|
2253
|
+
pathname: "/",
|
|
2254
|
+
method: "POST",
|
|
2255
|
+
authType: "AK",
|
|
2256
|
+
style: "RPC",
|
|
2257
|
+
reqBodyType: "formData",
|
|
2258
|
+
bodyType: "json",
|
|
2259
|
+
});
|
|
2260
|
+
return $dara.cast<$_model.GetInventorySchemaResponse>(await this.callApi(params, req, runtime), new $_model.GetInventorySchemaResponse({}));
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
/**
|
|
2264
|
+
* Queries the properties of a configuration list.
|
|
2265
|
+
*
|
|
2266
|
+
* @param request - GetInventorySchemaRequest
|
|
2267
|
+
* @returns GetInventorySchemaResponse
|
|
2268
|
+
*/
|
|
2269
|
+
async getInventorySchema(request: $_model.GetInventorySchemaRequest): Promise<$_model.GetInventorySchemaResponse> {
|
|
2270
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2271
|
+
return await this.getInventorySchemaWithOptions(request, runtime);
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
/**
|
|
2275
|
+
* Queries the details of an O\\\\\\\\\\\\&M item.
|
|
2276
|
+
*
|
|
2277
|
+
* @param request - GetOpsItemRequest
|
|
2278
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2279
|
+
* @returns GetOpsItemResponse
|
|
2280
|
+
*/
|
|
2281
|
+
async getOpsItemWithOptions(request: $_model.GetOpsItemRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetOpsItemResponse> {
|
|
2282
|
+
request.validate();
|
|
2283
|
+
let query = { };
|
|
2284
|
+
if (!$dara.isNull(request.opsItemId)) {
|
|
2285
|
+
query["OpsItemId"] = request.opsItemId;
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2289
|
+
query["RegionId"] = request.regionId;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2293
|
+
query: OpenApiUtil.query(query),
|
|
2294
|
+
});
|
|
2295
|
+
let params = new $OpenApiUtil.Params({
|
|
2296
|
+
action: "GetOpsItem",
|
|
2297
|
+
version: "2019-06-01",
|
|
2298
|
+
protocol: "HTTPS",
|
|
2299
|
+
pathname: "/",
|
|
2300
|
+
method: "POST",
|
|
2301
|
+
authType: "AK",
|
|
2302
|
+
style: "RPC",
|
|
2303
|
+
reqBodyType: "formData",
|
|
2304
|
+
bodyType: "json",
|
|
2305
|
+
});
|
|
2306
|
+
return $dara.cast<$_model.GetOpsItemResponse>(await this.callApi(params, req, runtime), new $_model.GetOpsItemResponse({}));
|
|
2307
|
+
}
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* Queries the details of an O\\\\\\\\\\\\&M item.
|
|
2311
|
+
*
|
|
2312
|
+
* @param request - GetOpsItemRequest
|
|
2313
|
+
* @returns GetOpsItemResponse
|
|
2314
|
+
*/
|
|
2315
|
+
async getOpsItem(request: $_model.GetOpsItemRequest): Promise<$_model.GetOpsItemResponse> {
|
|
2316
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2317
|
+
return await this.getOpsItemWithOptions(request, runtime);
|
|
2318
|
+
}
|
|
2319
|
+
|
|
2320
|
+
/**
|
|
2321
|
+
* Queries a common parameter and its value.
|
|
2322
|
+
*
|
|
2323
|
+
* @param request - GetParameterRequest
|
|
2324
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2325
|
+
* @returns GetParameterResponse
|
|
2326
|
+
*/
|
|
2327
|
+
async getParameterWithOptions(request: $_model.GetParameterRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetParameterResponse> {
|
|
2328
|
+
request.validate();
|
|
2329
|
+
let query = { };
|
|
2330
|
+
if (!$dara.isNull(request.name)) {
|
|
2331
|
+
query["Name"] = request.name;
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
if (!$dara.isNull(request.parameterVersion)) {
|
|
1981
2335
|
query["ParameterVersion"] = request.parameterVersion;
|
|
1982
2336
|
}
|
|
1983
2337
|
|
|
@@ -2647,15 +3001,331 @@ export default class Client extends OpenApi {
|
|
|
2647
3001
|
query["RegionId"] = request.regionId;
|
|
2648
3002
|
}
|
|
2649
3003
|
|
|
2650
|
-
if (!$dara.isNull(request.tagsShrink)) {
|
|
2651
|
-
query["Tags"] = request.tagsShrink;
|
|
3004
|
+
if (!$dara.isNull(request.tagsShrink)) {
|
|
3005
|
+
query["Tags"] = request.tagsShrink;
|
|
3006
|
+
}
|
|
3007
|
+
|
|
3008
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3009
|
+
query: OpenApiUtil.query(query),
|
|
3010
|
+
});
|
|
3011
|
+
let params = new $OpenApiUtil.Params({
|
|
3012
|
+
action: "ListApplications",
|
|
3013
|
+
version: "2019-06-01",
|
|
3014
|
+
protocol: "HTTPS",
|
|
3015
|
+
pathname: "/",
|
|
3016
|
+
method: "POST",
|
|
3017
|
+
authType: "AK",
|
|
3018
|
+
style: "RPC",
|
|
3019
|
+
reqBodyType: "formData",
|
|
3020
|
+
bodyType: "json",
|
|
3021
|
+
});
|
|
3022
|
+
return $dara.cast<$_model.ListApplicationsResponse>(await this.callApi(params, req, runtime), new $_model.ListApplicationsResponse({}));
|
|
3023
|
+
}
|
|
3024
|
+
|
|
3025
|
+
/**
|
|
3026
|
+
* Queries a list of applications. You can call this operation only for the applications that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.
|
|
3027
|
+
*
|
|
3028
|
+
* @param request - ListApplicationsRequest
|
|
3029
|
+
* @returns ListApplicationsResponse
|
|
3030
|
+
*/
|
|
3031
|
+
async listApplications(request: $_model.ListApplicationsRequest): Promise<$_model.ListApplicationsResponse> {
|
|
3032
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3033
|
+
return await this.listApplicationsWithOptions(request, runtime);
|
|
3034
|
+
}
|
|
3035
|
+
|
|
3036
|
+
/**
|
|
3037
|
+
* Queries the logs of an execution.
|
|
3038
|
+
*
|
|
3039
|
+
* @remarks
|
|
3040
|
+
* ***
|
|
3041
|
+
*
|
|
3042
|
+
* @param request - ListExecutionLogsRequest
|
|
3043
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3044
|
+
* @returns ListExecutionLogsResponse
|
|
3045
|
+
*/
|
|
3046
|
+
async listExecutionLogsWithOptions(request: $_model.ListExecutionLogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListExecutionLogsResponse> {
|
|
3047
|
+
request.validate();
|
|
3048
|
+
let query = { };
|
|
3049
|
+
if (!$dara.isNull(request.executionId)) {
|
|
3050
|
+
query["ExecutionId"] = request.executionId;
|
|
3051
|
+
}
|
|
3052
|
+
|
|
3053
|
+
if (!$dara.isNull(request.logType)) {
|
|
3054
|
+
query["LogType"] = request.logType;
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3058
|
+
query["MaxResults"] = request.maxResults;
|
|
3059
|
+
}
|
|
3060
|
+
|
|
3061
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3062
|
+
query["NextToken"] = request.nextToken;
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3066
|
+
query["RegionId"] = request.regionId;
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
if (!$dara.isNull(request.taskExecutionId)) {
|
|
3070
|
+
query["TaskExecutionId"] = request.taskExecutionId;
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3074
|
+
query: OpenApiUtil.query(query),
|
|
3075
|
+
});
|
|
3076
|
+
let params = new $OpenApiUtil.Params({
|
|
3077
|
+
action: "ListExecutionLogs",
|
|
3078
|
+
version: "2019-06-01",
|
|
3079
|
+
protocol: "HTTPS",
|
|
3080
|
+
pathname: "/",
|
|
3081
|
+
method: "POST",
|
|
3082
|
+
authType: "AK",
|
|
3083
|
+
style: "RPC",
|
|
3084
|
+
reqBodyType: "formData",
|
|
3085
|
+
bodyType: "json",
|
|
3086
|
+
});
|
|
3087
|
+
return $dara.cast<$_model.ListExecutionLogsResponse>(await this.callApi(params, req, runtime), new $_model.ListExecutionLogsResponse({}));
|
|
3088
|
+
}
|
|
3089
|
+
|
|
3090
|
+
/**
|
|
3091
|
+
* Queries the logs of an execution.
|
|
3092
|
+
*
|
|
3093
|
+
* @remarks
|
|
3094
|
+
* ***
|
|
3095
|
+
*
|
|
3096
|
+
* @param request - ListExecutionLogsRequest
|
|
3097
|
+
* @returns ListExecutionLogsResponse
|
|
3098
|
+
*/
|
|
3099
|
+
async listExecutionLogs(request: $_model.ListExecutionLogsRequest): Promise<$_model.ListExecutionLogsResponse> {
|
|
3100
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3101
|
+
return await this.listExecutionLogsWithOptions(request, runtime);
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3104
|
+
/**
|
|
3105
|
+
* Queries high-risk tasks in the execution of a template.
|
|
3106
|
+
*
|
|
3107
|
+
* @param request - ListExecutionRiskyTasksRequest
|
|
3108
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3109
|
+
* @returns ListExecutionRiskyTasksResponse
|
|
3110
|
+
*/
|
|
3111
|
+
async listExecutionRiskyTasksWithOptions(request: $_model.ListExecutionRiskyTasksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListExecutionRiskyTasksResponse> {
|
|
3112
|
+
request.validate();
|
|
3113
|
+
let query = { };
|
|
3114
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3115
|
+
query["RegionId"] = request.regionId;
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
if (!$dara.isNull(request.templateName)) {
|
|
3119
|
+
query["TemplateName"] = request.templateName;
|
|
3120
|
+
}
|
|
3121
|
+
|
|
3122
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3123
|
+
query: OpenApiUtil.query(query),
|
|
3124
|
+
});
|
|
3125
|
+
let params = new $OpenApiUtil.Params({
|
|
3126
|
+
action: "ListExecutionRiskyTasks",
|
|
3127
|
+
version: "2019-06-01",
|
|
3128
|
+
protocol: "HTTPS",
|
|
3129
|
+
pathname: "/",
|
|
3130
|
+
method: "POST",
|
|
3131
|
+
authType: "AK",
|
|
3132
|
+
style: "RPC",
|
|
3133
|
+
reqBodyType: "formData",
|
|
3134
|
+
bodyType: "json",
|
|
3135
|
+
});
|
|
3136
|
+
return $dara.cast<$_model.ListExecutionRiskyTasksResponse>(await this.callApi(params, req, runtime), new $_model.ListExecutionRiskyTasksResponse({}));
|
|
3137
|
+
}
|
|
3138
|
+
|
|
3139
|
+
/**
|
|
3140
|
+
* Queries high-risk tasks in the execution of a template.
|
|
3141
|
+
*
|
|
3142
|
+
* @param request - ListExecutionRiskyTasksRequest
|
|
3143
|
+
* @returns ListExecutionRiskyTasksResponse
|
|
3144
|
+
*/
|
|
3145
|
+
async listExecutionRiskyTasks(request: $_model.ListExecutionRiskyTasksRequest): Promise<$_model.ListExecutionRiskyTasksResponse> {
|
|
3146
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3147
|
+
return await this.listExecutionRiskyTasksWithOptions(request, runtime);
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3150
|
+
/**
|
|
3151
|
+
* Queries executions. Multiple methods are supported to filter executions.
|
|
3152
|
+
*
|
|
3153
|
+
* @param tmpReq - ListExecutionsRequest
|
|
3154
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3155
|
+
* @returns ListExecutionsResponse
|
|
3156
|
+
*/
|
|
3157
|
+
async listExecutionsWithOptions(tmpReq: $_model.ListExecutionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListExecutionsResponse> {
|
|
3158
|
+
tmpReq.validate();
|
|
3159
|
+
let request = new $_model.ListExecutionsShrinkRequest({ });
|
|
3160
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
3161
|
+
if (!$dara.isNull(tmpReq.tags)) {
|
|
3162
|
+
request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3165
|
+
let query = { };
|
|
3166
|
+
if (!$dara.isNull(request.categories)) {
|
|
3167
|
+
query["Categories"] = request.categories;
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
if (!$dara.isNull(request.category)) {
|
|
3171
|
+
query["Category"] = request.category;
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
if (!$dara.isNull(request.depth)) {
|
|
3175
|
+
query["Depth"] = request.depth;
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3178
|
+
if (!$dara.isNull(request.description)) {
|
|
3179
|
+
query["Description"] = request.description;
|
|
3180
|
+
}
|
|
3181
|
+
|
|
3182
|
+
if (!$dara.isNull(request.endDateAfter)) {
|
|
3183
|
+
query["EndDateAfter"] = request.endDateAfter;
|
|
3184
|
+
}
|
|
3185
|
+
|
|
3186
|
+
if (!$dara.isNull(request.endDateBefore)) {
|
|
3187
|
+
query["EndDateBefore"] = request.endDateBefore;
|
|
3188
|
+
}
|
|
3189
|
+
|
|
3190
|
+
if (!$dara.isNull(request.executedBy)) {
|
|
3191
|
+
query["ExecutedBy"] = request.executedBy;
|
|
3192
|
+
}
|
|
3193
|
+
|
|
3194
|
+
if (!$dara.isNull(request.executionId)) {
|
|
3195
|
+
query["ExecutionId"] = request.executionId;
|
|
3196
|
+
}
|
|
3197
|
+
|
|
3198
|
+
if (!$dara.isNull(request.includeChildExecution)) {
|
|
3199
|
+
query["IncludeChildExecution"] = request.includeChildExecution;
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3203
|
+
query["MaxResults"] = request.maxResults;
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3206
|
+
if (!$dara.isNull(request.mode)) {
|
|
3207
|
+
query["Mode"] = request.mode;
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3211
|
+
query["NextToken"] = request.nextToken;
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
if (!$dara.isNull(request.parentExecutionId)) {
|
|
3215
|
+
query["ParentExecutionId"] = request.parentExecutionId;
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
if (!$dara.isNull(request.ramRole)) {
|
|
3219
|
+
query["RamRole"] = request.ramRole;
|
|
3220
|
+
}
|
|
3221
|
+
|
|
3222
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3223
|
+
query["RegionId"] = request.regionId;
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3226
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
3227
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
3228
|
+
}
|
|
3229
|
+
|
|
3230
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
3231
|
+
query["ResourceId"] = request.resourceId;
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
if (!$dara.isNull(request.resourceTemplateName)) {
|
|
3235
|
+
query["ResourceTemplateName"] = request.resourceTemplateName;
|
|
3236
|
+
}
|
|
3237
|
+
|
|
3238
|
+
if (!$dara.isNull(request.sortField)) {
|
|
3239
|
+
query["SortField"] = request.sortField;
|
|
3240
|
+
}
|
|
3241
|
+
|
|
3242
|
+
if (!$dara.isNull(request.sortOrder)) {
|
|
3243
|
+
query["SortOrder"] = request.sortOrder;
|
|
3244
|
+
}
|
|
3245
|
+
|
|
3246
|
+
if (!$dara.isNull(request.startDateAfter)) {
|
|
3247
|
+
query["StartDateAfter"] = request.startDateAfter;
|
|
3248
|
+
}
|
|
3249
|
+
|
|
3250
|
+
if (!$dara.isNull(request.startDateBefore)) {
|
|
3251
|
+
query["StartDateBefore"] = request.startDateBefore;
|
|
3252
|
+
}
|
|
3253
|
+
|
|
3254
|
+
if (!$dara.isNull(request.status)) {
|
|
3255
|
+
query["Status"] = request.status;
|
|
3256
|
+
}
|
|
3257
|
+
|
|
3258
|
+
if (!$dara.isNull(request.tagsShrink)) {
|
|
3259
|
+
query["Tags"] = request.tagsShrink;
|
|
3260
|
+
}
|
|
3261
|
+
|
|
3262
|
+
if (!$dara.isNull(request.templateName)) {
|
|
3263
|
+
query["TemplateName"] = request.templateName;
|
|
3264
|
+
}
|
|
3265
|
+
|
|
3266
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3267
|
+
query: OpenApiUtil.query(query),
|
|
3268
|
+
});
|
|
3269
|
+
let params = new $OpenApiUtil.Params({
|
|
3270
|
+
action: "ListExecutions",
|
|
3271
|
+
version: "2019-06-01",
|
|
3272
|
+
protocol: "HTTPS",
|
|
3273
|
+
pathname: "/",
|
|
3274
|
+
method: "POST",
|
|
3275
|
+
authType: "AK",
|
|
3276
|
+
style: "RPC",
|
|
3277
|
+
reqBodyType: "formData",
|
|
3278
|
+
bodyType: "json",
|
|
3279
|
+
});
|
|
3280
|
+
return $dara.cast<$_model.ListExecutionsResponse>(await this.callApi(params, req, runtime), new $_model.ListExecutionsResponse({}));
|
|
3281
|
+
}
|
|
3282
|
+
|
|
3283
|
+
/**
|
|
3284
|
+
* Queries executions. Multiple methods are supported to filter executions.
|
|
3285
|
+
*
|
|
3286
|
+
* @param request - ListExecutionsRequest
|
|
3287
|
+
* @returns ListExecutionsResponse
|
|
3288
|
+
*/
|
|
3289
|
+
async listExecutions(request: $_model.ListExecutionsRequest): Promise<$_model.ListExecutionsResponse> {
|
|
3290
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3291
|
+
return await this.listExecutionsWithOptions(request, runtime);
|
|
3292
|
+
}
|
|
3293
|
+
|
|
3294
|
+
/**
|
|
3295
|
+
* 获取当前阿里云用户已授权在应用管理的托管平台账户
|
|
3296
|
+
*
|
|
3297
|
+
* @param request - ListGitAccountsRequest
|
|
3298
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3299
|
+
* @returns ListGitAccountsResponse
|
|
3300
|
+
*/
|
|
3301
|
+
async listGitAccountsWithOptions(request: $_model.ListGitAccountsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListGitAccountsResponse> {
|
|
3302
|
+
request.validate();
|
|
3303
|
+
let query = { };
|
|
3304
|
+
if (!$dara.isNull(request.bindType)) {
|
|
3305
|
+
query["BindType"] = request.bindType;
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3309
|
+
query["ClientToken"] = request.clientToken;
|
|
3310
|
+
}
|
|
3311
|
+
|
|
3312
|
+
if (!$dara.isNull(request.platform)) {
|
|
3313
|
+
query["Platform"] = request.platform;
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3317
|
+
query["RegionId"] = request.regionId;
|
|
3318
|
+
}
|
|
3319
|
+
|
|
3320
|
+
if (!$dara.isNull(request.roleName)) {
|
|
3321
|
+
query["RoleName"] = request.roleName;
|
|
2652
3322
|
}
|
|
2653
3323
|
|
|
2654
3324
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2655
3325
|
query: OpenApiUtil.query(query),
|
|
2656
3326
|
});
|
|
2657
3327
|
let params = new $OpenApiUtil.Params({
|
|
2658
|
-
action: "
|
|
3328
|
+
action: "ListGitAccounts",
|
|
2659
3329
|
version: "2019-06-01",
|
|
2660
3330
|
protocol: "HTTPS",
|
|
2661
3331
|
pathname: "/",
|
|
@@ -2665,62 +3335,63 @@ export default class Client extends OpenApi {
|
|
|
2665
3335
|
reqBodyType: "formData",
|
|
2666
3336
|
bodyType: "json",
|
|
2667
3337
|
});
|
|
2668
|
-
return $dara.cast<$_model.
|
|
3338
|
+
return $dara.cast<$_model.ListGitAccountsResponse>(await this.callApi(params, req, runtime), new $_model.ListGitAccountsResponse({}));
|
|
2669
3339
|
}
|
|
2670
3340
|
|
|
2671
3341
|
/**
|
|
2672
|
-
*
|
|
3342
|
+
* 获取当前阿里云用户已授权在应用管理的托管平台账户
|
|
2673
3343
|
*
|
|
2674
|
-
* @param request -
|
|
2675
|
-
* @returns
|
|
3344
|
+
* @param request - ListGitAccountsRequest
|
|
3345
|
+
* @returns ListGitAccountsResponse
|
|
2676
3346
|
*/
|
|
2677
|
-
async
|
|
3347
|
+
async listGitAccounts(request: $_model.ListGitAccountsRequest): Promise<$_model.ListGitAccountsResponse> {
|
|
2678
3348
|
let runtime = new $dara.RuntimeOptions({ });
|
|
2679
|
-
return await this.
|
|
3349
|
+
return await this.listGitAccountsWithOptions(request, runtime);
|
|
2680
3350
|
}
|
|
2681
3351
|
|
|
2682
3352
|
/**
|
|
2683
|
-
*
|
|
3353
|
+
* 获取指定Git仓库的所有分支
|
|
2684
3354
|
*
|
|
2685
|
-
* @
|
|
2686
|
-
* ***
|
|
2687
|
-
*
|
|
2688
|
-
* @param request - ListExecutionLogsRequest
|
|
3355
|
+
* @param request - ListGitBranchesRequest
|
|
2689
3356
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2690
|
-
* @returns
|
|
3357
|
+
* @returns ListGitBranchesResponse
|
|
2691
3358
|
*/
|
|
2692
|
-
async
|
|
3359
|
+
async listGitBranchesWithOptions(request: $_model.ListGitBranchesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListGitBranchesResponse> {
|
|
2693
3360
|
request.validate();
|
|
2694
3361
|
let query = { };
|
|
2695
|
-
if (!$dara.isNull(request.
|
|
2696
|
-
query["
|
|
3362
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3363
|
+
query["ClientToken"] = request.clientToken;
|
|
2697
3364
|
}
|
|
2698
3365
|
|
|
2699
|
-
if (!$dara.isNull(request.
|
|
2700
|
-
query["
|
|
3366
|
+
if (!$dara.isNull(request.orgId)) {
|
|
3367
|
+
query["OrgId"] = request.orgId;
|
|
2701
3368
|
}
|
|
2702
3369
|
|
|
2703
|
-
if (!$dara.isNull(request.
|
|
2704
|
-
query["
|
|
3370
|
+
if (!$dara.isNull(request.owner)) {
|
|
3371
|
+
query["Owner"] = request.owner;
|
|
2705
3372
|
}
|
|
2706
3373
|
|
|
2707
|
-
if (!$dara.isNull(request.
|
|
2708
|
-
query["
|
|
3374
|
+
if (!$dara.isNull(request.platform)) {
|
|
3375
|
+
query["Platform"] = request.platform;
|
|
2709
3376
|
}
|
|
2710
3377
|
|
|
2711
3378
|
if (!$dara.isNull(request.regionId)) {
|
|
2712
3379
|
query["RegionId"] = request.regionId;
|
|
2713
3380
|
}
|
|
2714
3381
|
|
|
2715
|
-
if (!$dara.isNull(request.
|
|
2716
|
-
query["
|
|
3382
|
+
if (!$dara.isNull(request.repoFullName)) {
|
|
3383
|
+
query["RepoFullName"] = request.repoFullName;
|
|
3384
|
+
}
|
|
3385
|
+
|
|
3386
|
+
if (!$dara.isNull(request.repoId)) {
|
|
3387
|
+
query["RepoId"] = request.repoId;
|
|
2717
3388
|
}
|
|
2718
3389
|
|
|
2719
3390
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2720
3391
|
query: OpenApiUtil.query(query),
|
|
2721
3392
|
});
|
|
2722
3393
|
let params = new $OpenApiUtil.Params({
|
|
2723
|
-
action: "
|
|
3394
|
+
action: "ListGitBranches",
|
|
2724
3395
|
version: "2019-06-01",
|
|
2725
3396
|
protocol: "HTTPS",
|
|
2726
3397
|
pathname: "/",
|
|
@@ -2730,46 +3401,55 @@ export default class Client extends OpenApi {
|
|
|
2730
3401
|
reqBodyType: "formData",
|
|
2731
3402
|
bodyType: "json",
|
|
2732
3403
|
});
|
|
2733
|
-
return $dara.cast<$_model.
|
|
3404
|
+
return $dara.cast<$_model.ListGitBranchesResponse>(await this.callApi(params, req, runtime), new $_model.ListGitBranchesResponse({}));
|
|
2734
3405
|
}
|
|
2735
3406
|
|
|
2736
3407
|
/**
|
|
2737
|
-
*
|
|
2738
|
-
*
|
|
2739
|
-
* @remarks
|
|
2740
|
-
* ***
|
|
3408
|
+
* 获取指定Git仓库的所有分支
|
|
2741
3409
|
*
|
|
2742
|
-
* @param request -
|
|
2743
|
-
* @returns
|
|
3410
|
+
* @param request - ListGitBranchesRequest
|
|
3411
|
+
* @returns ListGitBranchesResponse
|
|
2744
3412
|
*/
|
|
2745
|
-
async
|
|
3413
|
+
async listGitBranches(request: $_model.ListGitBranchesRequest): Promise<$_model.ListGitBranchesResponse> {
|
|
2746
3414
|
let runtime = new $dara.RuntimeOptions({ });
|
|
2747
|
-
return await this.
|
|
3415
|
+
return await this.listGitBranchesWithOptions(request, runtime);
|
|
2748
3416
|
}
|
|
2749
3417
|
|
|
2750
3418
|
/**
|
|
2751
|
-
*
|
|
3419
|
+
* 获取已授权用户的组织
|
|
2752
3420
|
*
|
|
2753
|
-
* @param request -
|
|
3421
|
+
* @param request - ListGitOrganizationsRequest
|
|
2754
3422
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2755
|
-
* @returns
|
|
3423
|
+
* @returns ListGitOrganizationsResponse
|
|
2756
3424
|
*/
|
|
2757
|
-
async
|
|
3425
|
+
async listGitOrganizationsWithOptions(request: $_model.ListGitOrganizationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListGitOrganizationsResponse> {
|
|
2758
3426
|
request.validate();
|
|
2759
3427
|
let query = { };
|
|
2760
|
-
if (!$dara.isNull(request.
|
|
2761
|
-
query["
|
|
3428
|
+
if (!$dara.isNull(request.bindType)) {
|
|
3429
|
+
query["BindType"] = request.bindType;
|
|
2762
3430
|
}
|
|
2763
3431
|
|
|
2764
|
-
if (!$dara.isNull(request.
|
|
2765
|
-
query["
|
|
3432
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3433
|
+
query["ClientToken"] = request.clientToken;
|
|
3434
|
+
}
|
|
3435
|
+
|
|
3436
|
+
if (!$dara.isNull(request.owner)) {
|
|
3437
|
+
query["Owner"] = request.owner;
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
if (!$dara.isNull(request.platform)) {
|
|
3441
|
+
query["Platform"] = request.platform;
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3445
|
+
query["RegionId"] = request.regionId;
|
|
2766
3446
|
}
|
|
2767
3447
|
|
|
2768
3448
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2769
3449
|
query: OpenApiUtil.query(query),
|
|
2770
3450
|
});
|
|
2771
3451
|
let params = new $OpenApiUtil.Params({
|
|
2772
|
-
action: "
|
|
3452
|
+
action: "ListGitOrganizations",
|
|
2773
3453
|
version: "2019-06-01",
|
|
2774
3454
|
protocol: "HTTPS",
|
|
2775
3455
|
pathname: "/",
|
|
@@ -2779,141 +3459,145 @@ export default class Client extends OpenApi {
|
|
|
2779
3459
|
reqBodyType: "formData",
|
|
2780
3460
|
bodyType: "json",
|
|
2781
3461
|
});
|
|
2782
|
-
return $dara.cast<$_model.
|
|
3462
|
+
return $dara.cast<$_model.ListGitOrganizationsResponse>(await this.callApi(params, req, runtime), new $_model.ListGitOrganizationsResponse({}));
|
|
2783
3463
|
}
|
|
2784
3464
|
|
|
2785
3465
|
/**
|
|
2786
|
-
*
|
|
3466
|
+
* 获取已授权用户的组织
|
|
2787
3467
|
*
|
|
2788
|
-
* @param request -
|
|
2789
|
-
* @returns
|
|
3468
|
+
* @param request - ListGitOrganizationsRequest
|
|
3469
|
+
* @returns ListGitOrganizationsResponse
|
|
2790
3470
|
*/
|
|
2791
|
-
async
|
|
3471
|
+
async listGitOrganizations(request: $_model.ListGitOrganizationsRequest): Promise<$_model.ListGitOrganizationsResponse> {
|
|
2792
3472
|
let runtime = new $dara.RuntimeOptions({ });
|
|
2793
|
-
return await this.
|
|
3473
|
+
return await this.listGitOrganizationsWithOptions(request, runtime);
|
|
2794
3474
|
}
|
|
2795
3475
|
|
|
2796
3476
|
/**
|
|
2797
|
-
*
|
|
3477
|
+
* 查询Git仓库列表
|
|
2798
3478
|
*
|
|
2799
|
-
* @param
|
|
3479
|
+
* @param request - ListGitRepositoriesRequest
|
|
2800
3480
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2801
|
-
* @returns
|
|
3481
|
+
* @returns ListGitRepositoriesResponse
|
|
2802
3482
|
*/
|
|
2803
|
-
async
|
|
2804
|
-
|
|
2805
|
-
let request = new $_model.ListExecutionsShrinkRequest({ });
|
|
2806
|
-
OpenApiUtil.convert(tmpReq, request);
|
|
2807
|
-
if (!$dara.isNull(tmpReq.tags)) {
|
|
2808
|
-
request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
2809
|
-
}
|
|
2810
|
-
|
|
3483
|
+
async listGitRepositoriesWithOptions(request: $_model.ListGitRepositoriesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListGitRepositoriesResponse> {
|
|
3484
|
+
request.validate();
|
|
2811
3485
|
let query = { };
|
|
2812
|
-
if (!$dara.isNull(request.
|
|
2813
|
-
query["
|
|
2814
|
-
}
|
|
2815
|
-
|
|
2816
|
-
if (!$dara.isNull(request.category)) {
|
|
2817
|
-
query["Category"] = request.category;
|
|
2818
|
-
}
|
|
2819
|
-
|
|
2820
|
-
if (!$dara.isNull(request.depth)) {
|
|
2821
|
-
query["Depth"] = request.depth;
|
|
2822
|
-
}
|
|
2823
|
-
|
|
2824
|
-
if (!$dara.isNull(request.description)) {
|
|
2825
|
-
query["Description"] = request.description;
|
|
2826
|
-
}
|
|
2827
|
-
|
|
2828
|
-
if (!$dara.isNull(request.endDateAfter)) {
|
|
2829
|
-
query["EndDateAfter"] = request.endDateAfter;
|
|
2830
|
-
}
|
|
2831
|
-
|
|
2832
|
-
if (!$dara.isNull(request.endDateBefore)) {
|
|
2833
|
-
query["EndDateBefore"] = request.endDateBefore;
|
|
2834
|
-
}
|
|
2835
|
-
|
|
2836
|
-
if (!$dara.isNull(request.executedBy)) {
|
|
2837
|
-
query["ExecutedBy"] = request.executedBy;
|
|
2838
|
-
}
|
|
2839
|
-
|
|
2840
|
-
if (!$dara.isNull(request.executionId)) {
|
|
2841
|
-
query["ExecutionId"] = request.executionId;
|
|
3486
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3487
|
+
query["ClientToken"] = request.clientToken;
|
|
2842
3488
|
}
|
|
2843
3489
|
|
|
2844
|
-
if (!$dara.isNull(request.
|
|
2845
|
-
query["
|
|
3490
|
+
if (!$dara.isNull(request.orgId)) {
|
|
3491
|
+
query["OrgId"] = request.orgId;
|
|
2846
3492
|
}
|
|
2847
3493
|
|
|
2848
|
-
if (!$dara.isNull(request.
|
|
2849
|
-
query["
|
|
3494
|
+
if (!$dara.isNull(request.orgName)) {
|
|
3495
|
+
query["OrgName"] = request.orgName;
|
|
2850
3496
|
}
|
|
2851
3497
|
|
|
2852
|
-
if (!$dara.isNull(request.
|
|
2853
|
-
query["
|
|
3498
|
+
if (!$dara.isNull(request.owner)) {
|
|
3499
|
+
query["Owner"] = request.owner;
|
|
2854
3500
|
}
|
|
2855
3501
|
|
|
2856
|
-
if (!$dara.isNull(request.
|
|
2857
|
-
query["
|
|
3502
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
3503
|
+
query["PageNumber"] = request.pageNumber;
|
|
2858
3504
|
}
|
|
2859
3505
|
|
|
2860
|
-
if (!$dara.isNull(request.
|
|
2861
|
-
query["
|
|
3506
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
3507
|
+
query["PageSize"] = request.pageSize;
|
|
2862
3508
|
}
|
|
2863
3509
|
|
|
2864
|
-
if (!$dara.isNull(request.
|
|
2865
|
-
query["
|
|
3510
|
+
if (!$dara.isNull(request.platform)) {
|
|
3511
|
+
query["Platform"] = request.platform;
|
|
2866
3512
|
}
|
|
2867
3513
|
|
|
2868
3514
|
if (!$dara.isNull(request.regionId)) {
|
|
2869
3515
|
query["RegionId"] = request.regionId;
|
|
2870
3516
|
}
|
|
2871
3517
|
|
|
2872
|
-
|
|
2873
|
-
query
|
|
3518
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3519
|
+
query: OpenApiUtil.query(query),
|
|
3520
|
+
});
|
|
3521
|
+
let params = new $OpenApiUtil.Params({
|
|
3522
|
+
action: "ListGitRepositories",
|
|
3523
|
+
version: "2019-06-01",
|
|
3524
|
+
protocol: "HTTPS",
|
|
3525
|
+
pathname: "/",
|
|
3526
|
+
method: "POST",
|
|
3527
|
+
authType: "AK",
|
|
3528
|
+
style: "RPC",
|
|
3529
|
+
reqBodyType: "formData",
|
|
3530
|
+
bodyType: "json",
|
|
3531
|
+
});
|
|
3532
|
+
return $dara.cast<$_model.ListGitRepositoriesResponse>(await this.callApi(params, req, runtime), new $_model.ListGitRepositoriesResponse({}));
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3535
|
+
/**
|
|
3536
|
+
* 查询Git仓库列表
|
|
3537
|
+
*
|
|
3538
|
+
* @param request - ListGitRepositoriesRequest
|
|
3539
|
+
* @returns ListGitRepositoriesResponse
|
|
3540
|
+
*/
|
|
3541
|
+
async listGitRepositories(request: $_model.ListGitRepositoriesRequest): Promise<$_model.ListGitRepositoriesResponse> {
|
|
3542
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3543
|
+
return await this.listGitRepositoriesWithOptions(request, runtime);
|
|
3544
|
+
}
|
|
3545
|
+
|
|
3546
|
+
/**
|
|
3547
|
+
* 获取仓库文件与目录信息
|
|
3548
|
+
*
|
|
3549
|
+
* @param request - ListGitRepositoryContentsRequest
|
|
3550
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3551
|
+
* @returns ListGitRepositoryContentsResponse
|
|
3552
|
+
*/
|
|
3553
|
+
async listGitRepositoryContentsWithOptions(request: $_model.ListGitRepositoryContentsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListGitRepositoryContentsResponse> {
|
|
3554
|
+
request.validate();
|
|
3555
|
+
let query = { };
|
|
3556
|
+
if (!$dara.isNull(request.branch)) {
|
|
3557
|
+
query["Branch"] = request.branch;
|
|
2874
3558
|
}
|
|
2875
3559
|
|
|
2876
|
-
if (!$dara.isNull(request.
|
|
2877
|
-
query["
|
|
3560
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3561
|
+
query["ClientToken"] = request.clientToken;
|
|
2878
3562
|
}
|
|
2879
3563
|
|
|
2880
|
-
if (!$dara.isNull(request.
|
|
2881
|
-
query["
|
|
3564
|
+
if (!$dara.isNull(request.contentType)) {
|
|
3565
|
+
query["ContentType"] = request.contentType;
|
|
2882
3566
|
}
|
|
2883
3567
|
|
|
2884
|
-
if (!$dara.isNull(request.
|
|
2885
|
-
query["
|
|
3568
|
+
if (!$dara.isNull(request.orgId)) {
|
|
3569
|
+
query["OrgId"] = request.orgId;
|
|
2886
3570
|
}
|
|
2887
3571
|
|
|
2888
|
-
if (!$dara.isNull(request.
|
|
2889
|
-
query["
|
|
3572
|
+
if (!$dara.isNull(request.owner)) {
|
|
3573
|
+
query["Owner"] = request.owner;
|
|
2890
3574
|
}
|
|
2891
3575
|
|
|
2892
|
-
if (!$dara.isNull(request.
|
|
2893
|
-
query["
|
|
3576
|
+
if (!$dara.isNull(request.path)) {
|
|
3577
|
+
query["Path"] = request.path;
|
|
2894
3578
|
}
|
|
2895
3579
|
|
|
2896
|
-
if (!$dara.isNull(request.
|
|
2897
|
-
query["
|
|
3580
|
+
if (!$dara.isNull(request.platform)) {
|
|
3581
|
+
query["Platform"] = request.platform;
|
|
2898
3582
|
}
|
|
2899
3583
|
|
|
2900
|
-
if (!$dara.isNull(request.
|
|
2901
|
-
query["
|
|
3584
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3585
|
+
query["RegionId"] = request.regionId;
|
|
2902
3586
|
}
|
|
2903
3587
|
|
|
2904
|
-
if (!$dara.isNull(request.
|
|
2905
|
-
query["
|
|
3588
|
+
if (!$dara.isNull(request.repoFullName)) {
|
|
3589
|
+
query["RepoFullName"] = request.repoFullName;
|
|
2906
3590
|
}
|
|
2907
3591
|
|
|
2908
|
-
if (!$dara.isNull(request.
|
|
2909
|
-
query["
|
|
3592
|
+
if (!$dara.isNull(request.repoId)) {
|
|
3593
|
+
query["RepoId"] = request.repoId;
|
|
2910
3594
|
}
|
|
2911
3595
|
|
|
2912
3596
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2913
3597
|
query: OpenApiUtil.query(query),
|
|
2914
3598
|
});
|
|
2915
3599
|
let params = new $OpenApiUtil.Params({
|
|
2916
|
-
action: "
|
|
3600
|
+
action: "ListGitRepositoryContents",
|
|
2917
3601
|
version: "2019-06-01",
|
|
2918
3602
|
protocol: "HTTPS",
|
|
2919
3603
|
pathname: "/",
|
|
@@ -2923,18 +3607,18 @@ export default class Client extends OpenApi {
|
|
|
2923
3607
|
reqBodyType: "formData",
|
|
2924
3608
|
bodyType: "json",
|
|
2925
3609
|
});
|
|
2926
|
-
return $dara.cast<$_model.
|
|
3610
|
+
return $dara.cast<$_model.ListGitRepositoryContentsResponse>(await this.callApi(params, req, runtime), new $_model.ListGitRepositoryContentsResponse({}));
|
|
2927
3611
|
}
|
|
2928
3612
|
|
|
2929
3613
|
/**
|
|
2930
|
-
*
|
|
3614
|
+
* 获取仓库文件与目录信息
|
|
2931
3615
|
*
|
|
2932
|
-
* @param request -
|
|
2933
|
-
* @returns
|
|
3616
|
+
* @param request - ListGitRepositoryContentsRequest
|
|
3617
|
+
* @returns ListGitRepositoryContentsResponse
|
|
2934
3618
|
*/
|
|
2935
|
-
async
|
|
3619
|
+
async listGitRepositoryContents(request: $_model.ListGitRepositoryContentsRequest): Promise<$_model.ListGitRepositoryContentsResponse> {
|
|
2936
3620
|
let runtime = new $dara.RuntimeOptions({ });
|
|
2937
|
-
return await this.
|
|
3621
|
+
return await this.listGitRepositoryContentsWithOptions(request, runtime);
|
|
2938
3622
|
}
|
|
2939
3623
|
|
|
2940
3624
|
/**
|
|
@@ -4485,6 +5169,60 @@ export default class Client extends OpenApi {
|
|
|
4485
5169
|
return await this.setServiceSettingsWithOptions(request, runtime);
|
|
4486
5170
|
}
|
|
4487
5171
|
|
|
5172
|
+
/**
|
|
5173
|
+
* 启动一个调试执行
|
|
5174
|
+
*
|
|
5175
|
+
* @param request - StartDebugExecutionRequest
|
|
5176
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5177
|
+
* @returns StartDebugExecutionResponse
|
|
5178
|
+
*/
|
|
5179
|
+
async startDebugExecutionWithOptions(request: $_model.StartDebugExecutionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartDebugExecutionResponse> {
|
|
5180
|
+
request.validate();
|
|
5181
|
+
let query = { };
|
|
5182
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
5183
|
+
query["ClientToken"] = request.clientToken;
|
|
5184
|
+
}
|
|
5185
|
+
|
|
5186
|
+
if (!$dara.isNull(request.properties)) {
|
|
5187
|
+
query["Properties"] = request.properties;
|
|
5188
|
+
}
|
|
5189
|
+
|
|
5190
|
+
if (!$dara.isNull(request.regionId)) {
|
|
5191
|
+
query["RegionId"] = request.regionId;
|
|
5192
|
+
}
|
|
5193
|
+
|
|
5194
|
+
if (!$dara.isNull(request.taskType)) {
|
|
5195
|
+
query["TaskType"] = request.taskType;
|
|
5196
|
+
}
|
|
5197
|
+
|
|
5198
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5199
|
+
query: OpenApiUtil.query(query),
|
|
5200
|
+
});
|
|
5201
|
+
let params = new $OpenApiUtil.Params({
|
|
5202
|
+
action: "StartDebugExecution",
|
|
5203
|
+
version: "2019-06-01",
|
|
5204
|
+
protocol: "HTTPS",
|
|
5205
|
+
pathname: "/",
|
|
5206
|
+
method: "POST",
|
|
5207
|
+
authType: "AK",
|
|
5208
|
+
style: "RPC",
|
|
5209
|
+
reqBodyType: "formData",
|
|
5210
|
+
bodyType: "json",
|
|
5211
|
+
});
|
|
5212
|
+
return $dara.cast<$_model.StartDebugExecutionResponse>(await this.callApi(params, req, runtime), new $_model.StartDebugExecutionResponse({}));
|
|
5213
|
+
}
|
|
5214
|
+
|
|
5215
|
+
/**
|
|
5216
|
+
* 启动一个调试执行
|
|
5217
|
+
*
|
|
5218
|
+
* @param request - StartDebugExecutionRequest
|
|
5219
|
+
* @returns StartDebugExecutionResponse
|
|
5220
|
+
*/
|
|
5221
|
+
async startDebugExecution(request: $_model.StartDebugExecutionRequest): Promise<$_model.StartDebugExecutionResponse> {
|
|
5222
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5223
|
+
return await this.startDebugExecutionWithOptions(request, runtime);
|
|
5224
|
+
}
|
|
5225
|
+
|
|
4488
5226
|
/**
|
|
4489
5227
|
* Starts an execution.
|
|
4490
5228
|
*
|
|
@@ -5001,6 +5739,10 @@ export default class Client extends OpenApi {
|
|
|
5001
5739
|
}
|
|
5002
5740
|
|
|
5003
5741
|
let query = { };
|
|
5742
|
+
if (!$dara.isNull(request.configurationInfo)) {
|
|
5743
|
+
query["ConfigurationInfo"] = request.configurationInfo;
|
|
5744
|
+
}
|
|
5745
|
+
|
|
5004
5746
|
if (!$dara.isNull(request.configureAction)) {
|
|
5005
5747
|
query["ConfigureAction"] = request.configureAction;
|
|
5006
5748
|
}
|