@alicloud/oos20190601 3.2.3 → 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 +188 -0
- package/dist/client.js +355 -14
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +425 -0
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
|
|
@@ -5707,6 +5764,65 @@ export declare class ListGitRepositoriesResponse extends $tea.Model {
|
|
|
5707
5764
|
[key: string]: any;
|
|
5708
5765
|
});
|
|
5709
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
|
+
}
|
|
5710
5826
|
export declare class ListInstancePackageStatesRequest extends $tea.Model {
|
|
5711
5827
|
/**
|
|
5712
5828
|
* @remarks
|
|
@@ -11929,6 +12045,32 @@ export declare class ValidateTemplateContentResponse extends $tea.Model {
|
|
|
11929
12045
|
[key: string]: any;
|
|
11930
12046
|
});
|
|
11931
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
|
+
}
|
|
11932
12074
|
export declare class CreateApplicationRequestAlarmConfig extends $tea.Model {
|
|
11933
12075
|
/**
|
|
11934
12076
|
* @remarks
|
|
@@ -15248,6 +15390,7 @@ export declare class ListExecutionsResponseBodyExecutions extends $tea.Model {
|
|
|
15248
15390
|
* Automatic
|
|
15249
15391
|
*/
|
|
15250
15392
|
mode?: string;
|
|
15393
|
+
nextScheduleTime?: string;
|
|
15251
15394
|
/**
|
|
15252
15395
|
* @remarks
|
|
15253
15396
|
* The output of the execution.
|
|
@@ -15422,6 +15565,21 @@ export declare class ListGitRepositoriesResponseBodyGitRepos extends $tea.Model
|
|
|
15422
15565
|
[key: string]: any;
|
|
15423
15566
|
});
|
|
15424
15567
|
}
|
|
15568
|
+
export declare class ListGitRepositoryContentsResponseBodyContents extends $tea.Model {
|
|
15569
|
+
content?: string;
|
|
15570
|
+
name?: string;
|
|
15571
|
+
path?: string;
|
|
15572
|
+
type?: string;
|
|
15573
|
+
static names(): {
|
|
15574
|
+
[key: string]: string;
|
|
15575
|
+
};
|
|
15576
|
+
static types(): {
|
|
15577
|
+
[key: string]: any;
|
|
15578
|
+
};
|
|
15579
|
+
constructor(map?: {
|
|
15580
|
+
[key: string]: any;
|
|
15581
|
+
});
|
|
15582
|
+
}
|
|
15425
15583
|
export declare class ListInstancePackageStatesResponseBodyPackageStates extends $tea.Model {
|
|
15426
15584
|
/**
|
|
15427
15585
|
* @example
|
|
@@ -18476,6 +18634,21 @@ export default class Client extends OpenApi {
|
|
|
18476
18634
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
18477
18635
|
[key: string]: string;
|
|
18478
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>;
|
|
18479
18652
|
/**
|
|
18480
18653
|
* Cancels an execution.
|
|
18481
18654
|
*
|
|
@@ -19157,6 +19330,21 @@ export default class Client extends OpenApi {
|
|
|
19157
19330
|
* @returns ListGitRepositoriesResponse
|
|
19158
19331
|
*/
|
|
19159
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>;
|
|
19160
19348
|
/**
|
|
19161
19349
|
* 列出实例软件包状态
|
|
19162
19350
|
*
|