@alicloud/oos20190601 3.2.2 → 3.3.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 CHANGED
@@ -3,6 +3,63 @@
3
3
  import * as $Util from '@alicloud/tea-util';
4
4
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
5
5
  import * as $tea from '@alicloud/tea-typescript';
6
+ export declare class AnalyzeGitRepositoryRequest extends $tea.Model {
7
+ branch?: string;
8
+ clientToken?: string;
9
+ orgId?: string;
10
+ /**
11
+ * @remarks
12
+ * This parameter is required.
13
+ */
14
+ owner?: string;
15
+ /**
16
+ * @remarks
17
+ * This parameter is required.
18
+ */
19
+ platform?: string;
20
+ regionId?: string;
21
+ repoFullName?: string;
22
+ repoId?: string;
23
+ static names(): {
24
+ [key: string]: string;
25
+ };
26
+ static types(): {
27
+ [key: string]: any;
28
+ };
29
+ constructor(map?: {
30
+ [key: string]: any;
31
+ });
32
+ }
33
+ export declare class AnalyzeGitRepositoryResponseBody extends $tea.Model {
34
+ analysisResults?: AnalyzeGitRepositoryResponseBodyAnalysisResults[];
35
+ count?: number;
36
+ requestId?: string;
37
+ static names(): {
38
+ [key: string]: string;
39
+ };
40
+ static types(): {
41
+ [key: string]: any;
42
+ };
43
+ constructor(map?: {
44
+ [key: string]: any;
45
+ });
46
+ }
47
+ export declare class AnalyzeGitRepositoryResponse extends $tea.Model {
48
+ headers?: {
49
+ [key: string]: string;
50
+ };
51
+ statusCode?: number;
52
+ body?: AnalyzeGitRepositoryResponseBody;
53
+ static names(): {
54
+ [key: string]: string;
55
+ };
56
+ static types(): {
57
+ [key: string]: any;
58
+ };
59
+ constructor(map?: {
60
+ [key: string]: any;
61
+ });
62
+ }
6
63
  export declare class CancelExecutionRequest extends $tea.Model {
7
64
  /**
8
65
  * @remarks
@@ -2420,6 +2477,13 @@ export declare class DeleteExecutionsRequest extends $tea.Model {
2420
2477
  * ["exec-xxx"]
2421
2478
  */
2422
2479
  executionIds?: string;
2480
+ /**
2481
+ * @remarks
2482
+ * Whether to force delete the running task, the default value is false.
2483
+ *
2484
+ * @example
2485
+ * false
2486
+ */
2423
2487
  force?: boolean;
2424
2488
  /**
2425
2489
  * @remarks
@@ -5645,6 +5709,7 @@ export declare class ListExecutionsResponse extends $tea.Model {
5645
5709
  }
5646
5710
  export declare class ListGitRepositoriesRequest extends $tea.Model {
5647
5711
  clientToken?: string;
5712
+ orgId?: string;
5648
5713
  orgName?: string;
5649
5714
  /**
5650
5715
  * @remarks
@@ -5699,6 +5764,65 @@ export declare class ListGitRepositoriesResponse extends $tea.Model {
5699
5764
  [key: string]: any;
5700
5765
  });
5701
5766
  }
5767
+ export declare class ListGitRepositoryContentsRequest extends $tea.Model {
5768
+ branch?: string;
5769
+ clientToken?: string;
5770
+ contentType?: string;
5771
+ orgId?: string;
5772
+ /**
5773
+ * @remarks
5774
+ * This parameter is required.
5775
+ */
5776
+ owner?: string;
5777
+ path?: string;
5778
+ /**
5779
+ * @remarks
5780
+ * This parameter is required.
5781
+ */
5782
+ platform?: string;
5783
+ regionId?: string;
5784
+ repoFullName?: string;
5785
+ repoId?: number;
5786
+ static names(): {
5787
+ [key: string]: string;
5788
+ };
5789
+ static types(): {
5790
+ [key: string]: any;
5791
+ };
5792
+ constructor(map?: {
5793
+ [key: string]: any;
5794
+ });
5795
+ }
5796
+ export declare class ListGitRepositoryContentsResponseBody extends $tea.Model {
5797
+ contents?: ListGitRepositoryContentsResponseBodyContents[];
5798
+ count?: number;
5799
+ requestId?: string;
5800
+ static names(): {
5801
+ [key: string]: string;
5802
+ };
5803
+ static types(): {
5804
+ [key: string]: any;
5805
+ };
5806
+ constructor(map?: {
5807
+ [key: string]: any;
5808
+ });
5809
+ }
5810
+ export declare class ListGitRepositoryContentsResponse extends $tea.Model {
5811
+ headers?: {
5812
+ [key: string]: string;
5813
+ };
5814
+ statusCode?: number;
5815
+ body?: ListGitRepositoryContentsResponseBody;
5816
+ static names(): {
5817
+ [key: string]: string;
5818
+ };
5819
+ static types(): {
5820
+ [key: string]: any;
5821
+ };
5822
+ constructor(map?: {
5823
+ [key: string]: any;
5824
+ });
5825
+ }
5702
5826
  export declare class ListInstancePackageStatesRequest extends $tea.Model {
5703
5827
  /**
5704
5828
  * @remarks
@@ -11921,6 +12045,32 @@ export declare class ValidateTemplateContentResponse extends $tea.Model {
11921
12045
  [key: string]: any;
11922
12046
  });
11923
12047
  }
12048
+ export declare class AnalyzeGitRepositoryResponseBodyAnalysisResultsBuildFiles extends $tea.Model {
12049
+ fileType?: string;
12050
+ paths?: string[];
12051
+ static names(): {
12052
+ [key: string]: string;
12053
+ };
12054
+ static types(): {
12055
+ [key: string]: any;
12056
+ };
12057
+ constructor(map?: {
12058
+ [key: string]: any;
12059
+ });
12060
+ }
12061
+ export declare class AnalyzeGitRepositoryResponseBodyAnalysisResults extends $tea.Model {
12062
+ buildFiles?: AnalyzeGitRepositoryResponseBodyAnalysisResultsBuildFiles[];
12063
+ buildType?: string;
12064
+ static names(): {
12065
+ [key: string]: string;
12066
+ };
12067
+ static types(): {
12068
+ [key: string]: any;
12069
+ };
12070
+ constructor(map?: {
12071
+ [key: string]: any;
12072
+ });
12073
+ }
11924
12074
  export declare class CreateApplicationRequestAlarmConfig extends $tea.Model {
11925
12075
  /**
11926
12076
  * @remarks
@@ -15240,6 +15390,7 @@ export declare class ListExecutionsResponseBodyExecutions extends $tea.Model {
15240
15390
  * Automatic
15241
15391
  */
15242
15392
  mode?: string;
15393
+ nextScheduleTime?: string;
15243
15394
  /**
15244
15395
  * @remarks
15245
15396
  * The output of the execution.
@@ -15403,6 +15554,22 @@ export declare class ListGitRepositoriesResponseBodyGitRepos extends $tea.Model
15403
15554
  fullName?: string;
15404
15555
  htmlUrl?: string;
15405
15556
  isPrivate?: boolean;
15557
+ repoId?: number;
15558
+ static names(): {
15559
+ [key: string]: string;
15560
+ };
15561
+ static types(): {
15562
+ [key: string]: any;
15563
+ };
15564
+ constructor(map?: {
15565
+ [key: string]: any;
15566
+ });
15567
+ }
15568
+ export declare class ListGitRepositoryContentsResponseBodyContents extends $tea.Model {
15569
+ content?: string;
15570
+ name?: string;
15571
+ path?: string;
15572
+ type?: string;
15406
15573
  static names(): {
15407
15574
  [key: string]: string;
15408
15575
  };
@@ -16974,6 +17141,7 @@ export declare class ListTemplatesResponseBodyTemplates extends $tea.Model {
16974
17141
  * 2019-05-16T10:26:14Z
16975
17142
  */
16976
17143
  updatedDate?: string;
17144
+ versionName?: string;
16977
17145
  static names(): {
16978
17146
  [key: string]: string;
16979
17147
  };
@@ -18466,6 +18634,21 @@ export default class Client extends OpenApi {
18466
18634
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
18467
18635
  [key: string]: string;
18468
18636
  }, endpoint: string): string;
18637
+ /**
18638
+ * 分析仓库
18639
+ *
18640
+ * @param request - AnalyzeGitRepositoryRequest
18641
+ * @param runtime - runtime options for this request RuntimeOptions
18642
+ * @returns AnalyzeGitRepositoryResponse
18643
+ */
18644
+ analyzeGitRepositoryWithOptions(request: AnalyzeGitRepositoryRequest, runtime: $Util.RuntimeOptions): Promise<AnalyzeGitRepositoryResponse>;
18645
+ /**
18646
+ * 分析仓库
18647
+ *
18648
+ * @param request - AnalyzeGitRepositoryRequest
18649
+ * @returns AnalyzeGitRepositoryResponse
18650
+ */
18651
+ analyzeGitRepository(request: AnalyzeGitRepositoryRequest): Promise<AnalyzeGitRepositoryResponse>;
18469
18652
  /**
18470
18653
  * Cancels an execution.
18471
18654
  *
@@ -19147,6 +19330,21 @@ export default class Client extends OpenApi {
19147
19330
  * @returns ListGitRepositoriesResponse
19148
19331
  */
19149
19332
  listGitRepositories(request: ListGitRepositoriesRequest): Promise<ListGitRepositoriesResponse>;
19333
+ /**
19334
+ * 获取仓库文件与目录信息
19335
+ *
19336
+ * @param request - ListGitRepositoryContentsRequest
19337
+ * @param runtime - runtime options for this request RuntimeOptions
19338
+ * @returns ListGitRepositoryContentsResponse
19339
+ */
19340
+ listGitRepositoryContentsWithOptions(request: ListGitRepositoryContentsRequest, runtime: $Util.RuntimeOptions): Promise<ListGitRepositoryContentsResponse>;
19341
+ /**
19342
+ * 获取仓库文件与目录信息
19343
+ *
19344
+ * @param request - ListGitRepositoryContentsRequest
19345
+ * @returns ListGitRepositoryContentsResponse
19346
+ */
19347
+ listGitRepositoryContents(request: ListGitRepositoryContentsRequest): Promise<ListGitRepositoryContentsResponse>;
19150
19348
  /**
19151
19349
  * 列出实例软件包状态
19152
19350
  *
@@ -19586,7 +19784,7 @@ export default class Client extends OpenApi {
19586
19784
  */
19587
19785
  updateApplicationGroup(request: UpdateApplicationGroupRequest): Promise<UpdateApplicationGroupResponse>;
19588
19786
  /**
19589
- * Updates an execution.
19787
+ * Update executions that are in Running or Waiting status.
19590
19788
  *
19591
19789
  * @param request - UpdateExecutionRequest
19592
19790
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19594,7 +19792,7 @@ export default class Client extends OpenApi {
19594
19792
  */
19595
19793
  updateExecutionWithOptions(request: UpdateExecutionRequest, runtime: $Util.RuntimeOptions): Promise<UpdateExecutionResponse>;
19596
19794
  /**
19597
- * Updates an execution.
19795
+ * Update executions that are in Running or Waiting status.
19598
19796
  *
19599
19797
  * @param request - UpdateExecutionRequest
19600
19798
  * @returns UpdateExecutionResponse