@alicloud/oos20190601 3.5.3 → 3.6.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 +150 -0
- package/dist/client.js +585 -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 +36 -0
- package/dist/models/ListGitAccountsRequest.js +64 -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 +39 -0
- package/dist/models/ListGitOrganizationsRequest.js +64 -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/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 +37 -0
- package/dist/models/model.js +82 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +906 -226
- 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 +55 -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 +58 -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/UpdateInstancePackageStateRequest.ts +3 -0
- package/src/models/UpdateInstancePackageStateShrinkRequest.ts +3 -0
- package/src/models/model.ts +37 -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
|
|
|
@@ -2567,23 +2921,407 @@ export default class Client extends OpenApi {
|
|
|
2567
2921
|
query["RegionId"] = request.regionId;
|
|
2568
2922
|
}
|
|
2569
2923
|
|
|
2570
|
-
if (!$dara.isNull(request.resourceId)) {
|
|
2571
|
-
query["ResourceId"] = request.resourceId;
|
|
2924
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
2925
|
+
query["ResourceId"] = request.resourceId;
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
if (!$dara.isNull(request.resourceProduct)) {
|
|
2929
|
+
query["ResourceProduct"] = request.resourceProduct;
|
|
2930
|
+
}
|
|
2931
|
+
|
|
2932
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
2933
|
+
query["ResourceType"] = request.resourceType;
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2936
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2937
|
+
query: OpenApiUtil.query(query),
|
|
2938
|
+
});
|
|
2939
|
+
let params = new $OpenApiUtil.Params({
|
|
2940
|
+
action: "ListApplicationGroups",
|
|
2941
|
+
version: "2019-06-01",
|
|
2942
|
+
protocol: "HTTPS",
|
|
2943
|
+
pathname: "/",
|
|
2944
|
+
method: "POST",
|
|
2945
|
+
authType: "AK",
|
|
2946
|
+
style: "RPC",
|
|
2947
|
+
reqBodyType: "formData",
|
|
2948
|
+
bodyType: "json",
|
|
2949
|
+
});
|
|
2950
|
+
return $dara.cast<$_model.ListApplicationGroupsResponse>(await this.callApi(params, req, runtime), new $_model.ListApplicationGroupsResponse({}));
|
|
2951
|
+
}
|
|
2952
|
+
|
|
2953
|
+
/**
|
|
2954
|
+
* Queries a list of application groups. You can call this operation only for the application groups that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.
|
|
2955
|
+
*
|
|
2956
|
+
* @param request - ListApplicationGroupsRequest
|
|
2957
|
+
* @returns ListApplicationGroupsResponse
|
|
2958
|
+
*/
|
|
2959
|
+
async listApplicationGroups(request: $_model.ListApplicationGroupsRequest): Promise<$_model.ListApplicationGroupsResponse> {
|
|
2960
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2961
|
+
return await this.listApplicationGroupsWithOptions(request, runtime);
|
|
2962
|
+
}
|
|
2963
|
+
|
|
2964
|
+
/**
|
|
2965
|
+
* 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.
|
|
2966
|
+
*
|
|
2967
|
+
* @param tmpReq - ListApplicationsRequest
|
|
2968
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2969
|
+
* @returns ListApplicationsResponse
|
|
2970
|
+
*/
|
|
2971
|
+
async listApplicationsWithOptions(tmpReq: $_model.ListApplicationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListApplicationsResponse> {
|
|
2972
|
+
tmpReq.validate();
|
|
2973
|
+
let request = new $_model.ListApplicationsShrinkRequest({ });
|
|
2974
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2975
|
+
if (!$dara.isNull(tmpReq.tags)) {
|
|
2976
|
+
request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
2977
|
+
}
|
|
2978
|
+
|
|
2979
|
+
let query = { };
|
|
2980
|
+
if (!$dara.isNull(request.applicationType)) {
|
|
2981
|
+
query["ApplicationType"] = request.applicationType;
|
|
2982
|
+
}
|
|
2983
|
+
|
|
2984
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
2985
|
+
query["MaxResults"] = request.maxResults;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
if (!$dara.isNull(request.name)) {
|
|
2989
|
+
query["Name"] = request.name;
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2992
|
+
if (!$dara.isNull(request.names)) {
|
|
2993
|
+
query["Names"] = request.names;
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2997
|
+
query["NextToken"] = request.nextToken;
|
|
2998
|
+
}
|
|
2999
|
+
|
|
3000
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3001
|
+
query["RegionId"] = request.regionId;
|
|
3002
|
+
}
|
|
3003
|
+
|
|
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.clientToken)) {
|
|
3305
|
+
query["ClientToken"] = request.clientToken;
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
if (!$dara.isNull(request.platform)) {
|
|
3309
|
+
query["Platform"] = request.platform;
|
|
2572
3310
|
}
|
|
2573
3311
|
|
|
2574
|
-
if (!$dara.isNull(request.
|
|
2575
|
-
query["
|
|
3312
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3313
|
+
query["RegionId"] = request.regionId;
|
|
2576
3314
|
}
|
|
2577
3315
|
|
|
2578
|
-
if (!$dara.isNull(request.
|
|
2579
|
-
query["
|
|
3316
|
+
if (!$dara.isNull(request.roleName)) {
|
|
3317
|
+
query["RoleName"] = request.roleName;
|
|
2580
3318
|
}
|
|
2581
3319
|
|
|
2582
3320
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2583
3321
|
query: OpenApiUtil.query(query),
|
|
2584
3322
|
});
|
|
2585
3323
|
let params = new $OpenApiUtil.Params({
|
|
2586
|
-
action: "
|
|
3324
|
+
action: "ListGitAccounts",
|
|
2587
3325
|
version: "2019-06-01",
|
|
2588
3326
|
protocol: "HTTPS",
|
|
2589
3327
|
pathname: "/",
|
|
@@ -2593,69 +3331,63 @@ export default class Client extends OpenApi {
|
|
|
2593
3331
|
reqBodyType: "formData",
|
|
2594
3332
|
bodyType: "json",
|
|
2595
3333
|
});
|
|
2596
|
-
return $dara.cast<$_model.
|
|
3334
|
+
return $dara.cast<$_model.ListGitAccountsResponse>(await this.callApi(params, req, runtime), new $_model.ListGitAccountsResponse({}));
|
|
2597
3335
|
}
|
|
2598
3336
|
|
|
2599
3337
|
/**
|
|
2600
|
-
*
|
|
3338
|
+
* 获取当前阿里云用户已授权在应用管理的托管平台账户
|
|
2601
3339
|
*
|
|
2602
|
-
* @param request -
|
|
2603
|
-
* @returns
|
|
3340
|
+
* @param request - ListGitAccountsRequest
|
|
3341
|
+
* @returns ListGitAccountsResponse
|
|
2604
3342
|
*/
|
|
2605
|
-
async
|
|
3343
|
+
async listGitAccounts(request: $_model.ListGitAccountsRequest): Promise<$_model.ListGitAccountsResponse> {
|
|
2606
3344
|
let runtime = new $dara.RuntimeOptions({ });
|
|
2607
|
-
return await this.
|
|
3345
|
+
return await this.listGitAccountsWithOptions(request, runtime);
|
|
2608
3346
|
}
|
|
2609
3347
|
|
|
2610
3348
|
/**
|
|
2611
|
-
*
|
|
3349
|
+
* 获取指定Git仓库的所有分支
|
|
2612
3350
|
*
|
|
2613
|
-
* @param
|
|
3351
|
+
* @param request - ListGitBranchesRequest
|
|
2614
3352
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2615
|
-
* @returns
|
|
3353
|
+
* @returns ListGitBranchesResponse
|
|
2616
3354
|
*/
|
|
2617
|
-
async
|
|
2618
|
-
|
|
2619
|
-
let request = new $_model.ListApplicationsShrinkRequest({ });
|
|
2620
|
-
OpenApiUtil.convert(tmpReq, request);
|
|
2621
|
-
if (!$dara.isNull(tmpReq.tags)) {
|
|
2622
|
-
request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
2623
|
-
}
|
|
2624
|
-
|
|
3355
|
+
async listGitBranchesWithOptions(request: $_model.ListGitBranchesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListGitBranchesResponse> {
|
|
3356
|
+
request.validate();
|
|
2625
3357
|
let query = { };
|
|
2626
|
-
if (!$dara.isNull(request.
|
|
2627
|
-
query["
|
|
2628
|
-
}
|
|
2629
|
-
|
|
2630
|
-
if (!$dara.isNull(request.maxResults)) {
|
|
2631
|
-
query["MaxResults"] = request.maxResults;
|
|
3358
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3359
|
+
query["ClientToken"] = request.clientToken;
|
|
2632
3360
|
}
|
|
2633
3361
|
|
|
2634
|
-
if (!$dara.isNull(request.
|
|
2635
|
-
query["
|
|
3362
|
+
if (!$dara.isNull(request.orgId)) {
|
|
3363
|
+
query["OrgId"] = request.orgId;
|
|
2636
3364
|
}
|
|
2637
3365
|
|
|
2638
|
-
if (!$dara.isNull(request.
|
|
2639
|
-
query["
|
|
3366
|
+
if (!$dara.isNull(request.owner)) {
|
|
3367
|
+
query["Owner"] = request.owner;
|
|
2640
3368
|
}
|
|
2641
3369
|
|
|
2642
|
-
if (!$dara.isNull(request.
|
|
2643
|
-
query["
|
|
3370
|
+
if (!$dara.isNull(request.platform)) {
|
|
3371
|
+
query["Platform"] = request.platform;
|
|
2644
3372
|
}
|
|
2645
3373
|
|
|
2646
3374
|
if (!$dara.isNull(request.regionId)) {
|
|
2647
3375
|
query["RegionId"] = request.regionId;
|
|
2648
3376
|
}
|
|
2649
3377
|
|
|
2650
|
-
if (!$dara.isNull(request.
|
|
2651
|
-
query["
|
|
3378
|
+
if (!$dara.isNull(request.repoFullName)) {
|
|
3379
|
+
query["RepoFullName"] = request.repoFullName;
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
if (!$dara.isNull(request.repoId)) {
|
|
3383
|
+
query["RepoId"] = request.repoId;
|
|
2652
3384
|
}
|
|
2653
3385
|
|
|
2654
3386
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2655
3387
|
query: OpenApiUtil.query(query),
|
|
2656
3388
|
});
|
|
2657
3389
|
let params = new $OpenApiUtil.Params({
|
|
2658
|
-
action: "
|
|
3390
|
+
action: "ListGitBranches",
|
|
2659
3391
|
version: "2019-06-01",
|
|
2660
3392
|
protocol: "HTTPS",
|
|
2661
3393
|
pathname: "/",
|
|
@@ -2665,62 +3397,51 @@ export default class Client extends OpenApi {
|
|
|
2665
3397
|
reqBodyType: "formData",
|
|
2666
3398
|
bodyType: "json",
|
|
2667
3399
|
});
|
|
2668
|
-
return $dara.cast<$_model.
|
|
3400
|
+
return $dara.cast<$_model.ListGitBranchesResponse>(await this.callApi(params, req, runtime), new $_model.ListGitBranchesResponse({}));
|
|
2669
3401
|
}
|
|
2670
3402
|
|
|
2671
3403
|
/**
|
|
2672
|
-
*
|
|
3404
|
+
* 获取指定Git仓库的所有分支
|
|
2673
3405
|
*
|
|
2674
|
-
* @param request -
|
|
2675
|
-
* @returns
|
|
3406
|
+
* @param request - ListGitBranchesRequest
|
|
3407
|
+
* @returns ListGitBranchesResponse
|
|
2676
3408
|
*/
|
|
2677
|
-
async
|
|
3409
|
+
async listGitBranches(request: $_model.ListGitBranchesRequest): Promise<$_model.ListGitBranchesResponse> {
|
|
2678
3410
|
let runtime = new $dara.RuntimeOptions({ });
|
|
2679
|
-
return await this.
|
|
3411
|
+
return await this.listGitBranchesWithOptions(request, runtime);
|
|
2680
3412
|
}
|
|
2681
3413
|
|
|
2682
3414
|
/**
|
|
2683
|
-
*
|
|
3415
|
+
* 获取已授权用户的组织
|
|
2684
3416
|
*
|
|
2685
|
-
* @
|
|
2686
|
-
* ***
|
|
2687
|
-
*
|
|
2688
|
-
* @param request - ListExecutionLogsRequest
|
|
3417
|
+
* @param request - ListGitOrganizationsRequest
|
|
2689
3418
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2690
|
-
* @returns
|
|
3419
|
+
* @returns ListGitOrganizationsResponse
|
|
2691
3420
|
*/
|
|
2692
|
-
async
|
|
3421
|
+
async listGitOrganizationsWithOptions(request: $_model.ListGitOrganizationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListGitOrganizationsResponse> {
|
|
2693
3422
|
request.validate();
|
|
2694
3423
|
let query = { };
|
|
2695
|
-
if (!$dara.isNull(request.
|
|
2696
|
-
query["
|
|
2697
|
-
}
|
|
2698
|
-
|
|
2699
|
-
if (!$dara.isNull(request.logType)) {
|
|
2700
|
-
query["LogType"] = request.logType;
|
|
3424
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3425
|
+
query["ClientToken"] = request.clientToken;
|
|
2701
3426
|
}
|
|
2702
3427
|
|
|
2703
|
-
if (!$dara.isNull(request.
|
|
2704
|
-
query["
|
|
3428
|
+
if (!$dara.isNull(request.owner)) {
|
|
3429
|
+
query["Owner"] = request.owner;
|
|
2705
3430
|
}
|
|
2706
3431
|
|
|
2707
|
-
if (!$dara.isNull(request.
|
|
2708
|
-
query["
|
|
3432
|
+
if (!$dara.isNull(request.platform)) {
|
|
3433
|
+
query["Platform"] = request.platform;
|
|
2709
3434
|
}
|
|
2710
3435
|
|
|
2711
3436
|
if (!$dara.isNull(request.regionId)) {
|
|
2712
3437
|
query["RegionId"] = request.regionId;
|
|
2713
3438
|
}
|
|
2714
3439
|
|
|
2715
|
-
if (!$dara.isNull(request.taskExecutionId)) {
|
|
2716
|
-
query["TaskExecutionId"] = request.taskExecutionId;
|
|
2717
|
-
}
|
|
2718
|
-
|
|
2719
3440
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2720
3441
|
query: OpenApiUtil.query(query),
|
|
2721
3442
|
});
|
|
2722
3443
|
let params = new $OpenApiUtil.Params({
|
|
2723
|
-
action: "
|
|
3444
|
+
action: "ListGitOrganizations",
|
|
2724
3445
|
version: "2019-06-01",
|
|
2725
3446
|
protocol: "HTTPS",
|
|
2726
3447
|
pathname: "/",
|
|
@@ -2730,46 +3451,67 @@ export default class Client extends OpenApi {
|
|
|
2730
3451
|
reqBodyType: "formData",
|
|
2731
3452
|
bodyType: "json",
|
|
2732
3453
|
});
|
|
2733
|
-
return $dara.cast<$_model.
|
|
3454
|
+
return $dara.cast<$_model.ListGitOrganizationsResponse>(await this.callApi(params, req, runtime), new $_model.ListGitOrganizationsResponse({}));
|
|
2734
3455
|
}
|
|
2735
3456
|
|
|
2736
3457
|
/**
|
|
2737
|
-
*
|
|
2738
|
-
*
|
|
2739
|
-
* @remarks
|
|
2740
|
-
* ***
|
|
3458
|
+
* 获取已授权用户的组织
|
|
2741
3459
|
*
|
|
2742
|
-
* @param request -
|
|
2743
|
-
* @returns
|
|
3460
|
+
* @param request - ListGitOrganizationsRequest
|
|
3461
|
+
* @returns ListGitOrganizationsResponse
|
|
2744
3462
|
*/
|
|
2745
|
-
async
|
|
3463
|
+
async listGitOrganizations(request: $_model.ListGitOrganizationsRequest): Promise<$_model.ListGitOrganizationsResponse> {
|
|
2746
3464
|
let runtime = new $dara.RuntimeOptions({ });
|
|
2747
|
-
return await this.
|
|
3465
|
+
return await this.listGitOrganizationsWithOptions(request, runtime);
|
|
2748
3466
|
}
|
|
2749
3467
|
|
|
2750
3468
|
/**
|
|
2751
|
-
*
|
|
3469
|
+
* 查询Git仓库列表
|
|
2752
3470
|
*
|
|
2753
|
-
* @param request -
|
|
3471
|
+
* @param request - ListGitRepositoriesRequest
|
|
2754
3472
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2755
|
-
* @returns
|
|
3473
|
+
* @returns ListGitRepositoriesResponse
|
|
2756
3474
|
*/
|
|
2757
|
-
async
|
|
3475
|
+
async listGitRepositoriesWithOptions(request: $_model.ListGitRepositoriesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListGitRepositoriesResponse> {
|
|
2758
3476
|
request.validate();
|
|
2759
3477
|
let query = { };
|
|
2760
|
-
if (!$dara.isNull(request.
|
|
2761
|
-
query["
|
|
3478
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3479
|
+
query["ClientToken"] = request.clientToken;
|
|
2762
3480
|
}
|
|
2763
3481
|
|
|
2764
|
-
if (!$dara.isNull(request.
|
|
2765
|
-
query["
|
|
3482
|
+
if (!$dara.isNull(request.orgId)) {
|
|
3483
|
+
query["OrgId"] = request.orgId;
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3486
|
+
if (!$dara.isNull(request.orgName)) {
|
|
3487
|
+
query["OrgName"] = request.orgName;
|
|
3488
|
+
}
|
|
3489
|
+
|
|
3490
|
+
if (!$dara.isNull(request.owner)) {
|
|
3491
|
+
query["Owner"] = request.owner;
|
|
3492
|
+
}
|
|
3493
|
+
|
|
3494
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
3495
|
+
query["PageNumber"] = request.pageNumber;
|
|
3496
|
+
}
|
|
3497
|
+
|
|
3498
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
3499
|
+
query["PageSize"] = request.pageSize;
|
|
3500
|
+
}
|
|
3501
|
+
|
|
3502
|
+
if (!$dara.isNull(request.platform)) {
|
|
3503
|
+
query["Platform"] = request.platform;
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3507
|
+
query["RegionId"] = request.regionId;
|
|
2766
3508
|
}
|
|
2767
3509
|
|
|
2768
3510
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2769
3511
|
query: OpenApiUtil.query(query),
|
|
2770
3512
|
});
|
|
2771
3513
|
let params = new $OpenApiUtil.Params({
|
|
2772
|
-
action: "
|
|
3514
|
+
action: "ListGitRepositories",
|
|
2773
3515
|
version: "2019-06-01",
|
|
2774
3516
|
protocol: "HTTPS",
|
|
2775
3517
|
pathname: "/",
|
|
@@ -2779,141 +3521,75 @@ export default class Client extends OpenApi {
|
|
|
2779
3521
|
reqBodyType: "formData",
|
|
2780
3522
|
bodyType: "json",
|
|
2781
3523
|
});
|
|
2782
|
-
return $dara.cast<$_model.
|
|
3524
|
+
return $dara.cast<$_model.ListGitRepositoriesResponse>(await this.callApi(params, req, runtime), new $_model.ListGitRepositoriesResponse({}));
|
|
2783
3525
|
}
|
|
2784
3526
|
|
|
2785
3527
|
/**
|
|
2786
|
-
*
|
|
3528
|
+
* 查询Git仓库列表
|
|
2787
3529
|
*
|
|
2788
|
-
* @param request -
|
|
2789
|
-
* @returns
|
|
3530
|
+
* @param request - ListGitRepositoriesRequest
|
|
3531
|
+
* @returns ListGitRepositoriesResponse
|
|
2790
3532
|
*/
|
|
2791
|
-
async
|
|
3533
|
+
async listGitRepositories(request: $_model.ListGitRepositoriesRequest): Promise<$_model.ListGitRepositoriesResponse> {
|
|
2792
3534
|
let runtime = new $dara.RuntimeOptions({ });
|
|
2793
|
-
return await this.
|
|
3535
|
+
return await this.listGitRepositoriesWithOptions(request, runtime);
|
|
2794
3536
|
}
|
|
2795
3537
|
|
|
2796
3538
|
/**
|
|
2797
|
-
*
|
|
3539
|
+
* 获取仓库文件与目录信息
|
|
2798
3540
|
*
|
|
2799
|
-
* @param
|
|
3541
|
+
* @param request - ListGitRepositoryContentsRequest
|
|
2800
3542
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2801
|
-
* @returns
|
|
3543
|
+
* @returns ListGitRepositoryContentsResponse
|
|
2802
3544
|
*/
|
|
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
|
-
|
|
3545
|
+
async listGitRepositoryContentsWithOptions(request: $_model.ListGitRepositoryContentsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListGitRepositoryContentsResponse> {
|
|
3546
|
+
request.validate();
|
|
2811
3547
|
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;
|
|
3548
|
+
if (!$dara.isNull(request.branch)) {
|
|
3549
|
+
query["Branch"] = request.branch;
|
|
2842
3550
|
}
|
|
2843
3551
|
|
|
2844
|
-
if (!$dara.isNull(request.
|
|
2845
|
-
query["
|
|
3552
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3553
|
+
query["ClientToken"] = request.clientToken;
|
|
2846
3554
|
}
|
|
2847
3555
|
|
|
2848
|
-
if (!$dara.isNull(request.
|
|
2849
|
-
query["
|
|
3556
|
+
if (!$dara.isNull(request.contentType)) {
|
|
3557
|
+
query["ContentType"] = request.contentType;
|
|
2850
3558
|
}
|
|
2851
3559
|
|
|
2852
|
-
if (!$dara.isNull(request.
|
|
2853
|
-
query["
|
|
3560
|
+
if (!$dara.isNull(request.orgId)) {
|
|
3561
|
+
query["OrgId"] = request.orgId;
|
|
2854
3562
|
}
|
|
2855
3563
|
|
|
2856
|
-
if (!$dara.isNull(request.
|
|
2857
|
-
query["
|
|
3564
|
+
if (!$dara.isNull(request.owner)) {
|
|
3565
|
+
query["Owner"] = request.owner;
|
|
2858
3566
|
}
|
|
2859
3567
|
|
|
2860
|
-
if (!$dara.isNull(request.
|
|
2861
|
-
query["
|
|
3568
|
+
if (!$dara.isNull(request.path)) {
|
|
3569
|
+
query["Path"] = request.path;
|
|
2862
3570
|
}
|
|
2863
3571
|
|
|
2864
|
-
if (!$dara.isNull(request.
|
|
2865
|
-
query["
|
|
3572
|
+
if (!$dara.isNull(request.platform)) {
|
|
3573
|
+
query["Platform"] = request.platform;
|
|
2866
3574
|
}
|
|
2867
3575
|
|
|
2868
3576
|
if (!$dara.isNull(request.regionId)) {
|
|
2869
3577
|
query["RegionId"] = request.regionId;
|
|
2870
3578
|
}
|
|
2871
3579
|
|
|
2872
|
-
if (!$dara.isNull(request.
|
|
2873
|
-
query["
|
|
2874
|
-
}
|
|
2875
|
-
|
|
2876
|
-
if (!$dara.isNull(request.resourceId)) {
|
|
2877
|
-
query["ResourceId"] = request.resourceId;
|
|
2878
|
-
}
|
|
2879
|
-
|
|
2880
|
-
if (!$dara.isNull(request.resourceTemplateName)) {
|
|
2881
|
-
query["ResourceTemplateName"] = request.resourceTemplateName;
|
|
2882
|
-
}
|
|
2883
|
-
|
|
2884
|
-
if (!$dara.isNull(request.sortField)) {
|
|
2885
|
-
query["SortField"] = request.sortField;
|
|
2886
|
-
}
|
|
2887
|
-
|
|
2888
|
-
if (!$dara.isNull(request.sortOrder)) {
|
|
2889
|
-
query["SortOrder"] = request.sortOrder;
|
|
2890
|
-
}
|
|
2891
|
-
|
|
2892
|
-
if (!$dara.isNull(request.startDateAfter)) {
|
|
2893
|
-
query["StartDateAfter"] = request.startDateAfter;
|
|
2894
|
-
}
|
|
2895
|
-
|
|
2896
|
-
if (!$dara.isNull(request.startDateBefore)) {
|
|
2897
|
-
query["StartDateBefore"] = request.startDateBefore;
|
|
2898
|
-
}
|
|
2899
|
-
|
|
2900
|
-
if (!$dara.isNull(request.status)) {
|
|
2901
|
-
query["Status"] = request.status;
|
|
2902
|
-
}
|
|
2903
|
-
|
|
2904
|
-
if (!$dara.isNull(request.tagsShrink)) {
|
|
2905
|
-
query["Tags"] = request.tagsShrink;
|
|
3580
|
+
if (!$dara.isNull(request.repoFullName)) {
|
|
3581
|
+
query["RepoFullName"] = request.repoFullName;
|
|
2906
3582
|
}
|
|
2907
3583
|
|
|
2908
|
-
if (!$dara.isNull(request.
|
|
2909
|
-
query["
|
|
3584
|
+
if (!$dara.isNull(request.repoId)) {
|
|
3585
|
+
query["RepoId"] = request.repoId;
|
|
2910
3586
|
}
|
|
2911
3587
|
|
|
2912
3588
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2913
3589
|
query: OpenApiUtil.query(query),
|
|
2914
3590
|
});
|
|
2915
3591
|
let params = new $OpenApiUtil.Params({
|
|
2916
|
-
action: "
|
|
3592
|
+
action: "ListGitRepositoryContents",
|
|
2917
3593
|
version: "2019-06-01",
|
|
2918
3594
|
protocol: "HTTPS",
|
|
2919
3595
|
pathname: "/",
|
|
@@ -2923,18 +3599,18 @@ export default class Client extends OpenApi {
|
|
|
2923
3599
|
reqBodyType: "formData",
|
|
2924
3600
|
bodyType: "json",
|
|
2925
3601
|
});
|
|
2926
|
-
return $dara.cast<$_model.
|
|
3602
|
+
return $dara.cast<$_model.ListGitRepositoryContentsResponse>(await this.callApi(params, req, runtime), new $_model.ListGitRepositoryContentsResponse({}));
|
|
2927
3603
|
}
|
|
2928
3604
|
|
|
2929
3605
|
/**
|
|
2930
|
-
*
|
|
3606
|
+
* 获取仓库文件与目录信息
|
|
2931
3607
|
*
|
|
2932
|
-
* @param request -
|
|
2933
|
-
* @returns
|
|
3608
|
+
* @param request - ListGitRepositoryContentsRequest
|
|
3609
|
+
* @returns ListGitRepositoryContentsResponse
|
|
2934
3610
|
*/
|
|
2935
|
-
async
|
|
3611
|
+
async listGitRepositoryContents(request: $_model.ListGitRepositoryContentsRequest): Promise<$_model.ListGitRepositoryContentsResponse> {
|
|
2936
3612
|
let runtime = new $dara.RuntimeOptions({ });
|
|
2937
|
-
return await this.
|
|
3613
|
+
return await this.listGitRepositoryContentsWithOptions(request, runtime);
|
|
2938
3614
|
}
|
|
2939
3615
|
|
|
2940
3616
|
/**
|
|
@@ -5001,6 +5677,10 @@ export default class Client extends OpenApi {
|
|
|
5001
5677
|
}
|
|
5002
5678
|
|
|
5003
5679
|
let query = { };
|
|
5680
|
+
if (!$dara.isNull(request.configurationInfo)) {
|
|
5681
|
+
query["ConfigurationInfo"] = request.configurationInfo;
|
|
5682
|
+
}
|
|
5683
|
+
|
|
5004
5684
|
if (!$dara.isNull(request.configureAction)) {
|
|
5005
5685
|
query["ConfigureAction"] = request.configureAction;
|
|
5006
5686
|
}
|