@huaweicloud/huaweicloud-sdk-codeartsdeploy 3.1.44
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/LICENSE +13 -0
- package/README.md +1 -0
- package/huaweicloud-sdk-codeartsdeploy.d.ts +2 -0
- package/huaweicloud-sdk-codeartsdeploy.js +31 -0
- package/package.json +19 -0
- package/v2/CodeArtsDeployClient.d.ts +538 -0
- package/v2/CodeArtsDeployClient.js +1270 -0
- package/v2/CodeArtsDeployRegion.d.ts +12 -0
- package/v2/CodeArtsDeployRegion.js +37 -0
- package/v2/model/AppComponentDao.d.ts +31 -0
- package/v2/model/AppComponentDao.js +101 -0
- package/v2/model/ConfigInfoDO.d.ts +40 -0
- package/v2/model/ConfigInfoDO.js +77 -0
- package/v2/model/CreateDeployTaskByTemplateRequest.d.ts +18 -0
- package/v2/model/CreateDeployTaskByTemplateRequest.js +37 -0
- package/v2/model/CreateDeployTaskByTemplateResponse.d.ts +12 -0
- package/v2/model/CreateDeployTaskByTemplateResponse.js +55 -0
- package/v2/model/CreateDeploymentGroupRequest.d.ts +18 -0
- package/v2/model/CreateDeploymentGroupRequest.js +37 -0
- package/v2/model/CreateDeploymentGroupResponse.d.ts +8 -0
- package/v2/model/CreateDeploymentGroupResponse.js +41 -0
- package/v2/model/CreateDeploymentHostRequest.d.ts +22 -0
- package/v2/model/CreateDeploymentHostRequest.js +52 -0
- package/v2/model/CreateDeploymentHostResponse.d.ts +8 -0
- package/v2/model/CreateDeploymentHostResponse.js +41 -0
- package/v2/model/DeleteDeployTaskRequest.d.ts +19 -0
- package/v2/model/DeleteDeployTaskRequest.js +48 -0
- package/v2/model/DeleteDeployTaskResponse.d.ts +8 -0
- package/v2/model/DeleteDeployTaskResponse.js +41 -0
- package/v2/model/DeleteDeploymentGroupRequest.d.ts +19 -0
- package/v2/model/DeleteDeploymentGroupRequest.js +48 -0
- package/v2/model/DeleteDeploymentGroupResponse.d.ts +8 -0
- package/v2/model/DeleteDeploymentGroupResponse.js +41 -0
- package/v2/model/DeleteDeploymentHostRequest.d.ts +23 -0
- package/v2/model/DeleteDeploymentHostRequest.js +63 -0
- package/v2/model/DeleteDeploymentHostResponse.d.ts +8 -0
- package/v2/model/DeleteDeploymentHostResponse.js +41 -0
- package/v2/model/DeploymentGroup.d.ts +33 -0
- package/v2/model/DeploymentGroup.js +90 -0
- package/v2/model/DeploymentGroupDetail.d.ts +61 -0
- package/v2/model/DeploymentGroupDetail.js +193 -0
- package/v2/model/DeploymentGroupUpdateRequest.d.ts +24 -0
- package/v2/model/DeploymentGroupUpdateRequest.js +56 -0
- package/v2/model/DeploymentHost.d.ts +36 -0
- package/v2/model/DeploymentHost.js +96 -0
- package/v2/model/DeploymentHostAuthorizationBody.d.ts +23 -0
- package/v2/model/DeploymentHostAuthorizationBody.js +56 -0
- package/v2/model/DeploymentHostDetail.d.ts +103 -0
- package/v2/model/DeploymentHostDetail.js +325 -0
- package/v2/model/DeploymentHostInfo.d.ts +40 -0
- package/v2/model/DeploymentHostInfo.js +111 -0
- package/v2/model/DeploymentHostRequest.d.ts +28 -0
- package/v2/model/DeploymentHostRequest.js +86 -0
- package/v2/model/DeploymentUpdateHost.d.ts +26 -0
- package/v2/model/DeploymentUpdateHost.js +82 -0
- package/v2/model/DynamicConfigInfo.d.ts +19 -0
- package/v2/model/DynamicConfigInfo.js +32 -0
- package/v2/model/EnvExecutionBody.d.ts +14 -0
- package/v2/model/EnvExecutionBody.js +41 -0
- package/v2/model/ExecuteRecordV2Body.d.ts +29 -0
- package/v2/model/ExecuteRecordV2Body.js +85 -0
- package/v2/model/KeyValueDO.d.ts +7 -0
- package/v2/model/KeyValueDO.js +17 -0
- package/v2/model/ListDeployTaskHistoryByDateRequest.d.ts +33 -0
- package/v2/model/ListDeployTaskHistoryByDateRequest.js +93 -0
- package/v2/model/ListDeployTaskHistoryByDateResponse.d.ts +11 -0
- package/v2/model/ListDeployTaskHistoryByDateResponse.js +45 -0
- package/v2/model/ListDeployTasksRequest.d.ts +23 -0
- package/v2/model/ListDeployTasksRequest.js +58 -0
- package/v2/model/ListDeployTasksResponse.d.ts +11 -0
- package/v2/model/ListDeployTasksResponse.js +45 -0
- package/v2/model/ListHostGroupsRequest.d.ts +43 -0
- package/v2/model/ListHostGroupsRequest.js +100 -0
- package/v2/model/ListHostGroupsResponse.d.ts +11 -0
- package/v2/model/ListHostGroupsResponse.js +45 -0
- package/v2/model/ListHostsRequest.d.ts +37 -0
- package/v2/model/ListHostsRequest.js +101 -0
- package/v2/model/ListHostsResponse.d.ts +13 -0
- package/v2/model/ListHostsResponse.js +49 -0
- package/v2/model/ListTaskSuccessRateRequest.d.ts +10 -0
- package/v2/model/ListTaskSuccessRateRequest.js +28 -0
- package/v2/model/ListTaskSuccessRateResponse.d.ts +25 -0
- package/v2/model/ListTaskSuccessRateResponse.js +97 -0
- package/v2/model/ParamTypeLimits.d.ts +5 -0
- package/v2/model/ParamTypeLimits.js +13 -0
- package/v2/model/PermissionGroupDetail.d.ts +23 -0
- package/v2/model/PermissionGroupDetail.js +79 -0
- package/v2/model/PermissionHostDetail.d.ts +23 -0
- package/v2/model/PermissionHostDetail.js +79 -0
- package/v2/model/ShowDeployTaskDetailRequest.d.ts +7 -0
- package/v2/model/ShowDeployTaskDetailRequest.js +24 -0
- package/v2/model/ShowDeployTaskDetailResponse.d.ts +140 -0
- package/v2/model/ShowDeployTaskDetailResponse.js +442 -0
- package/v2/model/ShowDeploymentGroupDetailRequest.d.ts +7 -0
- package/v2/model/ShowDeploymentGroupDetailRequest.js +24 -0
- package/v2/model/ShowDeploymentGroupDetailResponse.d.ts +62 -0
- package/v2/model/ShowDeploymentGroupDetailResponse.js +211 -0
- package/v2/model/ShowDeploymentHostDetailRequest.d.ts +11 -0
- package/v2/model/ShowDeploymentHostDetailRequest.js +39 -0
- package/v2/model/ShowDeploymentHostDetailResponse.d.ts +105 -0
- package/v2/model/ShowDeploymentHostDetailResponse.js +344 -0
- package/v2/model/ShowProjectSuccessRateRequest.d.ts +15 -0
- package/v2/model/ShowProjectSuccessRateRequest.js +54 -0
- package/v2/model/ShowProjectSuccessRateResponse.d.ts +36 -0
- package/v2/model/ShowProjectSuccessRateResponse.js +139 -0
- package/v2/model/StartDeployTaskRequest.d.ts +22 -0
- package/v2/model/StartDeployTaskRequest.js +52 -0
- package/v2/model/StartDeployTaskResponse.d.ts +19 -0
- package/v2/model/StartDeployTaskResponse.js +73 -0
- package/v2/model/Step.d.ts +15 -0
- package/v2/model/Step.js +25 -0
- package/v2/model/TaskInfo.d.ts +139 -0
- package/v2/model/TaskInfo.js +424 -0
- package/v2/model/TaskSuccessRate.d.ts +23 -0
- package/v2/model/TaskSuccessRate.js +79 -0
- package/v2/model/TasksSuccessRateQuery.d.ts +15 -0
- package/v2/model/TasksSuccessRateQuery.js +54 -0
- package/v2/model/TemplateTaskRequestBody.d.ts +26 -0
- package/v2/model/TemplateTaskRequestBody.js +87 -0
- package/v2/model/UpdateDeploymentGroupRequest.d.ts +22 -0
- package/v2/model/UpdateDeploymentGroupRequest.js +52 -0
- package/v2/model/UpdateDeploymentGroupResponse.d.ts +8 -0
- package/v2/model/UpdateDeploymentGroupResponse.js +41 -0
- package/v2/model/UpdateDeploymentHostRequest.d.ts +26 -0
- package/v2/model/UpdateDeploymentHostRequest.js +67 -0
- package/v2/model/UpdateDeploymentHostResponse.d.ts +8 -0
- package/v2/model/UpdateDeploymentHostResponse.js +41 -0
- package/v2/model/UserInfo.d.ts +11 -0
- package/v2/model/UserInfo.js +37 -0
- package/v2/public-api.d.ts +62 -0
- package/v2/public-api.js +78 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.StartDeployTaskResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var StartDeployTaskResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(StartDeployTaskResponse, _super);
|
|
22
|
+
function StartDeployTaskResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
StartDeployTaskResponse.prototype.withId = function (id) {
|
|
26
|
+
this['id'] = id;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
StartDeployTaskResponse.prototype.withTaskId = function (taskId) {
|
|
30
|
+
this['task_id'] = taskId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(StartDeployTaskResponse.prototype, "taskId", {
|
|
34
|
+
get: function () {
|
|
35
|
+
return this['task_id'];
|
|
36
|
+
},
|
|
37
|
+
set: function (taskId) {
|
|
38
|
+
this['task_id'] = taskId;
|
|
39
|
+
},
|
|
40
|
+
enumerable: false,
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
StartDeployTaskResponse.prototype.withJobName = function (jobName) {
|
|
44
|
+
this['job_name'] = jobName;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(StartDeployTaskResponse.prototype, "jobName", {
|
|
48
|
+
get: function () {
|
|
49
|
+
return this['job_name'];
|
|
50
|
+
},
|
|
51
|
+
set: function (jobName) {
|
|
52
|
+
this['job_name'] = jobName;
|
|
53
|
+
},
|
|
54
|
+
enumerable: false,
|
|
55
|
+
configurable: true
|
|
56
|
+
});
|
|
57
|
+
StartDeployTaskResponse.prototype.withAppComponentList = function (appComponentList) {
|
|
58
|
+
this['app_component_list'] = appComponentList;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
Object.defineProperty(StartDeployTaskResponse.prototype, "appComponentList", {
|
|
62
|
+
get: function () {
|
|
63
|
+
return this['app_component_list'];
|
|
64
|
+
},
|
|
65
|
+
set: function (appComponentList) {
|
|
66
|
+
this['app_component_list'] = appComponentList;
|
|
67
|
+
},
|
|
68
|
+
enumerable: false,
|
|
69
|
+
configurable: true
|
|
70
|
+
});
|
|
71
|
+
return StartDeployTaskResponse;
|
|
72
|
+
}(SdkResponse_1.SdkResponse));
|
|
73
|
+
exports.StartDeployTaskResponse = StartDeployTaskResponse;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class Step {
|
|
2
|
+
id?: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
params?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
enable?: boolean;
|
|
8
|
+
constructor();
|
|
9
|
+
withId(id: string): Step;
|
|
10
|
+
withName(name: string): Step;
|
|
11
|
+
withParams(params: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
}): Step;
|
|
14
|
+
withEnable(enable: boolean): Step;
|
|
15
|
+
}
|
package/v2/model/Step.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Step = void 0;
|
|
4
|
+
var Step = /** @class */ (function () {
|
|
5
|
+
function Step() {
|
|
6
|
+
}
|
|
7
|
+
Step.prototype.withId = function (id) {
|
|
8
|
+
this['id'] = id;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
Step.prototype.withName = function (name) {
|
|
12
|
+
this['name'] = name;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
Step.prototype.withParams = function (params) {
|
|
16
|
+
this['params'] = params;
|
|
17
|
+
return this;
|
|
18
|
+
};
|
|
19
|
+
Step.prototype.withEnable = function (enable) {
|
|
20
|
+
this['enable'] = enable;
|
|
21
|
+
return this;
|
|
22
|
+
};
|
|
23
|
+
return Step;
|
|
24
|
+
}());
|
|
25
|
+
exports.Step = Step;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { AppComponentDao } from './AppComponentDao';
|
|
2
|
+
import { Step } from './Step';
|
|
3
|
+
export declare class TaskInfo {
|
|
4
|
+
private 'task_id'?;
|
|
5
|
+
name?: string;
|
|
6
|
+
private 'project_id'?;
|
|
7
|
+
private 'project_name'?;
|
|
8
|
+
private 'deploy_system'?;
|
|
9
|
+
private 'create_time'?;
|
|
10
|
+
private 'update_time'?;
|
|
11
|
+
state?: TaskInfoStateEnum;
|
|
12
|
+
private 'execution_time'?;
|
|
13
|
+
description?: string;
|
|
14
|
+
private 'is_defaut_permission'?;
|
|
15
|
+
private 'template_id'?;
|
|
16
|
+
owner?: string;
|
|
17
|
+
private 'nick_name'?;
|
|
18
|
+
private 'owner_id'?;
|
|
19
|
+
private 'tenant_id'?;
|
|
20
|
+
private 'tenant_name'?;
|
|
21
|
+
private 'slave_cluster_id'?;
|
|
22
|
+
private 'is_care'?;
|
|
23
|
+
private 'can_modify'?;
|
|
24
|
+
private 'can_delete'?;
|
|
25
|
+
private 'can_view'?;
|
|
26
|
+
private 'can_execute'?;
|
|
27
|
+
private 'can_copy'?;
|
|
28
|
+
private 'can_manage'?;
|
|
29
|
+
private 'app_component_list'?;
|
|
30
|
+
private 'role_id'?;
|
|
31
|
+
id?: string;
|
|
32
|
+
private 'release_id'?;
|
|
33
|
+
duration?: string;
|
|
34
|
+
private 'execution_state'?;
|
|
35
|
+
private 'executor_id'?;
|
|
36
|
+
private 'executor_nick_name'?;
|
|
37
|
+
steps?: {
|
|
38
|
+
[key: string]: Step;
|
|
39
|
+
};
|
|
40
|
+
constructor();
|
|
41
|
+
withTaskId(taskId: string): TaskInfo;
|
|
42
|
+
set taskId(taskId: string | undefined);
|
|
43
|
+
get taskId(): string | undefined;
|
|
44
|
+
withName(name: string): TaskInfo;
|
|
45
|
+
withProjectId(projectId: string): TaskInfo;
|
|
46
|
+
set projectId(projectId: string | undefined);
|
|
47
|
+
get projectId(): string | undefined;
|
|
48
|
+
withProjectName(projectName: string): TaskInfo;
|
|
49
|
+
set projectName(projectName: string | undefined);
|
|
50
|
+
get projectName(): string | undefined;
|
|
51
|
+
withDeploySystem(deploySystem: string): TaskInfo;
|
|
52
|
+
set deploySystem(deploySystem: string | undefined);
|
|
53
|
+
get deploySystem(): string | undefined;
|
|
54
|
+
withCreateTime(createTime: string): TaskInfo;
|
|
55
|
+
set createTime(createTime: string | undefined);
|
|
56
|
+
get createTime(): string | undefined;
|
|
57
|
+
withUpdateTime(updateTime: string): TaskInfo;
|
|
58
|
+
set updateTime(updateTime: string | undefined);
|
|
59
|
+
get updateTime(): string | undefined;
|
|
60
|
+
withState(state: TaskInfoStateEnum): TaskInfo;
|
|
61
|
+
withExecutionTime(executionTime: string): TaskInfo;
|
|
62
|
+
set executionTime(executionTime: string | undefined);
|
|
63
|
+
get executionTime(): string | undefined;
|
|
64
|
+
withDescription(description: string): TaskInfo;
|
|
65
|
+
withIsDefautPermission(isDefautPermission: boolean): TaskInfo;
|
|
66
|
+
set isDefautPermission(isDefautPermission: boolean | undefined);
|
|
67
|
+
get isDefautPermission(): boolean | undefined;
|
|
68
|
+
withTemplateId(templateId: string): TaskInfo;
|
|
69
|
+
set templateId(templateId: string | undefined);
|
|
70
|
+
get templateId(): string | undefined;
|
|
71
|
+
withOwner(owner: string): TaskInfo;
|
|
72
|
+
withNickName(nickName: string): TaskInfo;
|
|
73
|
+
set nickName(nickName: string | undefined);
|
|
74
|
+
get nickName(): string | undefined;
|
|
75
|
+
withOwnerId(ownerId: string): TaskInfo;
|
|
76
|
+
set ownerId(ownerId: string | undefined);
|
|
77
|
+
get ownerId(): string | undefined;
|
|
78
|
+
withTenantId(tenantId: string): TaskInfo;
|
|
79
|
+
set tenantId(tenantId: string | undefined);
|
|
80
|
+
get tenantId(): string | undefined;
|
|
81
|
+
withTenantName(tenantName: string): TaskInfo;
|
|
82
|
+
set tenantName(tenantName: string | undefined);
|
|
83
|
+
get tenantName(): string | undefined;
|
|
84
|
+
withSlaveClusterId(slaveClusterId: string): TaskInfo;
|
|
85
|
+
set slaveClusterId(slaveClusterId: string | undefined);
|
|
86
|
+
get slaveClusterId(): string | undefined;
|
|
87
|
+
withIsCare(isCare: boolean): TaskInfo;
|
|
88
|
+
set isCare(isCare: boolean | undefined);
|
|
89
|
+
get isCare(): boolean | undefined;
|
|
90
|
+
withCanModify(canModify: boolean): TaskInfo;
|
|
91
|
+
set canModify(canModify: boolean | undefined);
|
|
92
|
+
get canModify(): boolean | undefined;
|
|
93
|
+
withCanDelete(canDelete: boolean): TaskInfo;
|
|
94
|
+
set canDelete(canDelete: boolean | undefined);
|
|
95
|
+
get canDelete(): boolean | undefined;
|
|
96
|
+
withCanView(canView: boolean): TaskInfo;
|
|
97
|
+
set canView(canView: boolean | undefined);
|
|
98
|
+
get canView(): boolean | undefined;
|
|
99
|
+
withCanExecute(canExecute: boolean): TaskInfo;
|
|
100
|
+
set canExecute(canExecute: boolean | undefined);
|
|
101
|
+
get canExecute(): boolean | undefined;
|
|
102
|
+
withCanCopy(canCopy: boolean): TaskInfo;
|
|
103
|
+
set canCopy(canCopy: boolean | undefined);
|
|
104
|
+
get canCopy(): boolean | undefined;
|
|
105
|
+
withCanManage(canManage: boolean): TaskInfo;
|
|
106
|
+
set canManage(canManage: boolean | undefined);
|
|
107
|
+
get canManage(): boolean | undefined;
|
|
108
|
+
withAppComponentList(appComponentList: Array<AppComponentDao>): TaskInfo;
|
|
109
|
+
set appComponentList(appComponentList: Array<AppComponentDao> | undefined);
|
|
110
|
+
get appComponentList(): Array<AppComponentDao> | undefined;
|
|
111
|
+
withRoleId(roleId: number): TaskInfo;
|
|
112
|
+
set roleId(roleId: number | undefined);
|
|
113
|
+
get roleId(): number | undefined;
|
|
114
|
+
withId(id: string): TaskInfo;
|
|
115
|
+
withReleaseId(releaseId: number): TaskInfo;
|
|
116
|
+
set releaseId(releaseId: number | undefined);
|
|
117
|
+
get releaseId(): number | undefined;
|
|
118
|
+
withDuration(duration: string): TaskInfo;
|
|
119
|
+
withExecutionState(executionState: string): TaskInfo;
|
|
120
|
+
set executionState(executionState: string | undefined);
|
|
121
|
+
get executionState(): string | undefined;
|
|
122
|
+
withExecutorId(executorId: string): TaskInfo;
|
|
123
|
+
set executorId(executorId: string | undefined);
|
|
124
|
+
get executorId(): string | undefined;
|
|
125
|
+
withExecutorNickName(executorNickName: string): TaskInfo;
|
|
126
|
+
set executorNickName(executorNickName: string | undefined);
|
|
127
|
+
get executorNickName(): string | undefined;
|
|
128
|
+
withSteps(steps: {
|
|
129
|
+
[key: string]: Step;
|
|
130
|
+
}): TaskInfo;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* @export
|
|
134
|
+
* @enum {string}
|
|
135
|
+
*/
|
|
136
|
+
export declare enum TaskInfoStateEnum {
|
|
137
|
+
AVAILABLE = "Available",
|
|
138
|
+
DRAFT = "Draft"
|
|
139
|
+
}
|
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TaskInfoStateEnum = exports.TaskInfo = void 0;
|
|
4
|
+
var TaskInfo = /** @class */ (function () {
|
|
5
|
+
function TaskInfo() {
|
|
6
|
+
}
|
|
7
|
+
TaskInfo.prototype.withTaskId = function (taskId) {
|
|
8
|
+
this['task_id'] = taskId;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(TaskInfo.prototype, "taskId", {
|
|
12
|
+
get: function () {
|
|
13
|
+
return this['task_id'];
|
|
14
|
+
},
|
|
15
|
+
set: function (taskId) {
|
|
16
|
+
this['task_id'] = taskId;
|
|
17
|
+
},
|
|
18
|
+
enumerable: false,
|
|
19
|
+
configurable: true
|
|
20
|
+
});
|
|
21
|
+
TaskInfo.prototype.withName = function (name) {
|
|
22
|
+
this['name'] = name;
|
|
23
|
+
return this;
|
|
24
|
+
};
|
|
25
|
+
TaskInfo.prototype.withProjectId = function (projectId) {
|
|
26
|
+
this['project_id'] = projectId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(TaskInfo.prototype, "projectId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['project_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (projectId) {
|
|
34
|
+
this['project_id'] = projectId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
TaskInfo.prototype.withProjectName = function (projectName) {
|
|
40
|
+
this['project_name'] = projectName;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(TaskInfo.prototype, "projectName", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['project_name'];
|
|
46
|
+
},
|
|
47
|
+
set: function (projectName) {
|
|
48
|
+
this['project_name'] = projectName;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
TaskInfo.prototype.withDeploySystem = function (deploySystem) {
|
|
54
|
+
this['deploy_system'] = deploySystem;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(TaskInfo.prototype, "deploySystem", {
|
|
58
|
+
get: function () {
|
|
59
|
+
return this['deploy_system'];
|
|
60
|
+
},
|
|
61
|
+
set: function (deploySystem) {
|
|
62
|
+
this['deploy_system'] = deploySystem;
|
|
63
|
+
},
|
|
64
|
+
enumerable: false,
|
|
65
|
+
configurable: true
|
|
66
|
+
});
|
|
67
|
+
TaskInfo.prototype.withCreateTime = function (createTime) {
|
|
68
|
+
this['create_time'] = createTime;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
Object.defineProperty(TaskInfo.prototype, "createTime", {
|
|
72
|
+
get: function () {
|
|
73
|
+
return this['create_time'];
|
|
74
|
+
},
|
|
75
|
+
set: function (createTime) {
|
|
76
|
+
this['create_time'] = createTime;
|
|
77
|
+
},
|
|
78
|
+
enumerable: false,
|
|
79
|
+
configurable: true
|
|
80
|
+
});
|
|
81
|
+
TaskInfo.prototype.withUpdateTime = function (updateTime) {
|
|
82
|
+
this['update_time'] = updateTime;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
Object.defineProperty(TaskInfo.prototype, "updateTime", {
|
|
86
|
+
get: function () {
|
|
87
|
+
return this['update_time'];
|
|
88
|
+
},
|
|
89
|
+
set: function (updateTime) {
|
|
90
|
+
this['update_time'] = updateTime;
|
|
91
|
+
},
|
|
92
|
+
enumerable: false,
|
|
93
|
+
configurable: true
|
|
94
|
+
});
|
|
95
|
+
TaskInfo.prototype.withState = function (state) {
|
|
96
|
+
this['state'] = state;
|
|
97
|
+
return this;
|
|
98
|
+
};
|
|
99
|
+
TaskInfo.prototype.withExecutionTime = function (executionTime) {
|
|
100
|
+
this['execution_time'] = executionTime;
|
|
101
|
+
return this;
|
|
102
|
+
};
|
|
103
|
+
Object.defineProperty(TaskInfo.prototype, "executionTime", {
|
|
104
|
+
get: function () {
|
|
105
|
+
return this['execution_time'];
|
|
106
|
+
},
|
|
107
|
+
set: function (executionTime) {
|
|
108
|
+
this['execution_time'] = executionTime;
|
|
109
|
+
},
|
|
110
|
+
enumerable: false,
|
|
111
|
+
configurable: true
|
|
112
|
+
});
|
|
113
|
+
TaskInfo.prototype.withDescription = function (description) {
|
|
114
|
+
this['description'] = description;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
TaskInfo.prototype.withIsDefautPermission = function (isDefautPermission) {
|
|
118
|
+
this['is_defaut_permission'] = isDefautPermission;
|
|
119
|
+
return this;
|
|
120
|
+
};
|
|
121
|
+
Object.defineProperty(TaskInfo.prototype, "isDefautPermission", {
|
|
122
|
+
get: function () {
|
|
123
|
+
return this['is_defaut_permission'];
|
|
124
|
+
},
|
|
125
|
+
set: function (isDefautPermission) {
|
|
126
|
+
this['is_defaut_permission'] = isDefautPermission;
|
|
127
|
+
},
|
|
128
|
+
enumerable: false,
|
|
129
|
+
configurable: true
|
|
130
|
+
});
|
|
131
|
+
TaskInfo.prototype.withTemplateId = function (templateId) {
|
|
132
|
+
this['template_id'] = templateId;
|
|
133
|
+
return this;
|
|
134
|
+
};
|
|
135
|
+
Object.defineProperty(TaskInfo.prototype, "templateId", {
|
|
136
|
+
get: function () {
|
|
137
|
+
return this['template_id'];
|
|
138
|
+
},
|
|
139
|
+
set: function (templateId) {
|
|
140
|
+
this['template_id'] = templateId;
|
|
141
|
+
},
|
|
142
|
+
enumerable: false,
|
|
143
|
+
configurable: true
|
|
144
|
+
});
|
|
145
|
+
TaskInfo.prototype.withOwner = function (owner) {
|
|
146
|
+
this['owner'] = owner;
|
|
147
|
+
return this;
|
|
148
|
+
};
|
|
149
|
+
TaskInfo.prototype.withNickName = function (nickName) {
|
|
150
|
+
this['nick_name'] = nickName;
|
|
151
|
+
return this;
|
|
152
|
+
};
|
|
153
|
+
Object.defineProperty(TaskInfo.prototype, "nickName", {
|
|
154
|
+
get: function () {
|
|
155
|
+
return this['nick_name'];
|
|
156
|
+
},
|
|
157
|
+
set: function (nickName) {
|
|
158
|
+
this['nick_name'] = nickName;
|
|
159
|
+
},
|
|
160
|
+
enumerable: false,
|
|
161
|
+
configurable: true
|
|
162
|
+
});
|
|
163
|
+
TaskInfo.prototype.withOwnerId = function (ownerId) {
|
|
164
|
+
this['owner_id'] = ownerId;
|
|
165
|
+
return this;
|
|
166
|
+
};
|
|
167
|
+
Object.defineProperty(TaskInfo.prototype, "ownerId", {
|
|
168
|
+
get: function () {
|
|
169
|
+
return this['owner_id'];
|
|
170
|
+
},
|
|
171
|
+
set: function (ownerId) {
|
|
172
|
+
this['owner_id'] = ownerId;
|
|
173
|
+
},
|
|
174
|
+
enumerable: false,
|
|
175
|
+
configurable: true
|
|
176
|
+
});
|
|
177
|
+
TaskInfo.prototype.withTenantId = function (tenantId) {
|
|
178
|
+
this['tenant_id'] = tenantId;
|
|
179
|
+
return this;
|
|
180
|
+
};
|
|
181
|
+
Object.defineProperty(TaskInfo.prototype, "tenantId", {
|
|
182
|
+
get: function () {
|
|
183
|
+
return this['tenant_id'];
|
|
184
|
+
},
|
|
185
|
+
set: function (tenantId) {
|
|
186
|
+
this['tenant_id'] = tenantId;
|
|
187
|
+
},
|
|
188
|
+
enumerable: false,
|
|
189
|
+
configurable: true
|
|
190
|
+
});
|
|
191
|
+
TaskInfo.prototype.withTenantName = function (tenantName) {
|
|
192
|
+
this['tenant_name'] = tenantName;
|
|
193
|
+
return this;
|
|
194
|
+
};
|
|
195
|
+
Object.defineProperty(TaskInfo.prototype, "tenantName", {
|
|
196
|
+
get: function () {
|
|
197
|
+
return this['tenant_name'];
|
|
198
|
+
},
|
|
199
|
+
set: function (tenantName) {
|
|
200
|
+
this['tenant_name'] = tenantName;
|
|
201
|
+
},
|
|
202
|
+
enumerable: false,
|
|
203
|
+
configurable: true
|
|
204
|
+
});
|
|
205
|
+
TaskInfo.prototype.withSlaveClusterId = function (slaveClusterId) {
|
|
206
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
207
|
+
return this;
|
|
208
|
+
};
|
|
209
|
+
Object.defineProperty(TaskInfo.prototype, "slaveClusterId", {
|
|
210
|
+
get: function () {
|
|
211
|
+
return this['slave_cluster_id'];
|
|
212
|
+
},
|
|
213
|
+
set: function (slaveClusterId) {
|
|
214
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
215
|
+
},
|
|
216
|
+
enumerable: false,
|
|
217
|
+
configurable: true
|
|
218
|
+
});
|
|
219
|
+
TaskInfo.prototype.withIsCare = function (isCare) {
|
|
220
|
+
this['is_care'] = isCare;
|
|
221
|
+
return this;
|
|
222
|
+
};
|
|
223
|
+
Object.defineProperty(TaskInfo.prototype, "isCare", {
|
|
224
|
+
get: function () {
|
|
225
|
+
return this['is_care'];
|
|
226
|
+
},
|
|
227
|
+
set: function (isCare) {
|
|
228
|
+
this['is_care'] = isCare;
|
|
229
|
+
},
|
|
230
|
+
enumerable: false,
|
|
231
|
+
configurable: true
|
|
232
|
+
});
|
|
233
|
+
TaskInfo.prototype.withCanModify = function (canModify) {
|
|
234
|
+
this['can_modify'] = canModify;
|
|
235
|
+
return this;
|
|
236
|
+
};
|
|
237
|
+
Object.defineProperty(TaskInfo.prototype, "canModify", {
|
|
238
|
+
get: function () {
|
|
239
|
+
return this['can_modify'];
|
|
240
|
+
},
|
|
241
|
+
set: function (canModify) {
|
|
242
|
+
this['can_modify'] = canModify;
|
|
243
|
+
},
|
|
244
|
+
enumerable: false,
|
|
245
|
+
configurable: true
|
|
246
|
+
});
|
|
247
|
+
TaskInfo.prototype.withCanDelete = function (canDelete) {
|
|
248
|
+
this['can_delete'] = canDelete;
|
|
249
|
+
return this;
|
|
250
|
+
};
|
|
251
|
+
Object.defineProperty(TaskInfo.prototype, "canDelete", {
|
|
252
|
+
get: function () {
|
|
253
|
+
return this['can_delete'];
|
|
254
|
+
},
|
|
255
|
+
set: function (canDelete) {
|
|
256
|
+
this['can_delete'] = canDelete;
|
|
257
|
+
},
|
|
258
|
+
enumerable: false,
|
|
259
|
+
configurable: true
|
|
260
|
+
});
|
|
261
|
+
TaskInfo.prototype.withCanView = function (canView) {
|
|
262
|
+
this['can_view'] = canView;
|
|
263
|
+
return this;
|
|
264
|
+
};
|
|
265
|
+
Object.defineProperty(TaskInfo.prototype, "canView", {
|
|
266
|
+
get: function () {
|
|
267
|
+
return this['can_view'];
|
|
268
|
+
},
|
|
269
|
+
set: function (canView) {
|
|
270
|
+
this['can_view'] = canView;
|
|
271
|
+
},
|
|
272
|
+
enumerable: false,
|
|
273
|
+
configurable: true
|
|
274
|
+
});
|
|
275
|
+
TaskInfo.prototype.withCanExecute = function (canExecute) {
|
|
276
|
+
this['can_execute'] = canExecute;
|
|
277
|
+
return this;
|
|
278
|
+
};
|
|
279
|
+
Object.defineProperty(TaskInfo.prototype, "canExecute", {
|
|
280
|
+
get: function () {
|
|
281
|
+
return this['can_execute'];
|
|
282
|
+
},
|
|
283
|
+
set: function (canExecute) {
|
|
284
|
+
this['can_execute'] = canExecute;
|
|
285
|
+
},
|
|
286
|
+
enumerable: false,
|
|
287
|
+
configurable: true
|
|
288
|
+
});
|
|
289
|
+
TaskInfo.prototype.withCanCopy = function (canCopy) {
|
|
290
|
+
this['can_copy'] = canCopy;
|
|
291
|
+
return this;
|
|
292
|
+
};
|
|
293
|
+
Object.defineProperty(TaskInfo.prototype, "canCopy", {
|
|
294
|
+
get: function () {
|
|
295
|
+
return this['can_copy'];
|
|
296
|
+
},
|
|
297
|
+
set: function (canCopy) {
|
|
298
|
+
this['can_copy'] = canCopy;
|
|
299
|
+
},
|
|
300
|
+
enumerable: false,
|
|
301
|
+
configurable: true
|
|
302
|
+
});
|
|
303
|
+
TaskInfo.prototype.withCanManage = function (canManage) {
|
|
304
|
+
this['can_manage'] = canManage;
|
|
305
|
+
return this;
|
|
306
|
+
};
|
|
307
|
+
Object.defineProperty(TaskInfo.prototype, "canManage", {
|
|
308
|
+
get: function () {
|
|
309
|
+
return this['can_manage'];
|
|
310
|
+
},
|
|
311
|
+
set: function (canManage) {
|
|
312
|
+
this['can_manage'] = canManage;
|
|
313
|
+
},
|
|
314
|
+
enumerable: false,
|
|
315
|
+
configurable: true
|
|
316
|
+
});
|
|
317
|
+
TaskInfo.prototype.withAppComponentList = function (appComponentList) {
|
|
318
|
+
this['app_component_list'] = appComponentList;
|
|
319
|
+
return this;
|
|
320
|
+
};
|
|
321
|
+
Object.defineProperty(TaskInfo.prototype, "appComponentList", {
|
|
322
|
+
get: function () {
|
|
323
|
+
return this['app_component_list'];
|
|
324
|
+
},
|
|
325
|
+
set: function (appComponentList) {
|
|
326
|
+
this['app_component_list'] = appComponentList;
|
|
327
|
+
},
|
|
328
|
+
enumerable: false,
|
|
329
|
+
configurable: true
|
|
330
|
+
});
|
|
331
|
+
TaskInfo.prototype.withRoleId = function (roleId) {
|
|
332
|
+
this['role_id'] = roleId;
|
|
333
|
+
return this;
|
|
334
|
+
};
|
|
335
|
+
Object.defineProperty(TaskInfo.prototype, "roleId", {
|
|
336
|
+
get: function () {
|
|
337
|
+
return this['role_id'];
|
|
338
|
+
},
|
|
339
|
+
set: function (roleId) {
|
|
340
|
+
this['role_id'] = roleId;
|
|
341
|
+
},
|
|
342
|
+
enumerable: false,
|
|
343
|
+
configurable: true
|
|
344
|
+
});
|
|
345
|
+
TaskInfo.prototype.withId = function (id) {
|
|
346
|
+
this['id'] = id;
|
|
347
|
+
return this;
|
|
348
|
+
};
|
|
349
|
+
TaskInfo.prototype.withReleaseId = function (releaseId) {
|
|
350
|
+
this['release_id'] = releaseId;
|
|
351
|
+
return this;
|
|
352
|
+
};
|
|
353
|
+
Object.defineProperty(TaskInfo.prototype, "releaseId", {
|
|
354
|
+
get: function () {
|
|
355
|
+
return this['release_id'];
|
|
356
|
+
},
|
|
357
|
+
set: function (releaseId) {
|
|
358
|
+
this['release_id'] = releaseId;
|
|
359
|
+
},
|
|
360
|
+
enumerable: false,
|
|
361
|
+
configurable: true
|
|
362
|
+
});
|
|
363
|
+
TaskInfo.prototype.withDuration = function (duration) {
|
|
364
|
+
this['duration'] = duration;
|
|
365
|
+
return this;
|
|
366
|
+
};
|
|
367
|
+
TaskInfo.prototype.withExecutionState = function (executionState) {
|
|
368
|
+
this['execution_state'] = executionState;
|
|
369
|
+
return this;
|
|
370
|
+
};
|
|
371
|
+
Object.defineProperty(TaskInfo.prototype, "executionState", {
|
|
372
|
+
get: function () {
|
|
373
|
+
return this['execution_state'];
|
|
374
|
+
},
|
|
375
|
+
set: function (executionState) {
|
|
376
|
+
this['execution_state'] = executionState;
|
|
377
|
+
},
|
|
378
|
+
enumerable: false,
|
|
379
|
+
configurable: true
|
|
380
|
+
});
|
|
381
|
+
TaskInfo.prototype.withExecutorId = function (executorId) {
|
|
382
|
+
this['executor_id'] = executorId;
|
|
383
|
+
return this;
|
|
384
|
+
};
|
|
385
|
+
Object.defineProperty(TaskInfo.prototype, "executorId", {
|
|
386
|
+
get: function () {
|
|
387
|
+
return this['executor_id'];
|
|
388
|
+
},
|
|
389
|
+
set: function (executorId) {
|
|
390
|
+
this['executor_id'] = executorId;
|
|
391
|
+
},
|
|
392
|
+
enumerable: false,
|
|
393
|
+
configurable: true
|
|
394
|
+
});
|
|
395
|
+
TaskInfo.prototype.withExecutorNickName = function (executorNickName) {
|
|
396
|
+
this['executor_nick_name'] = executorNickName;
|
|
397
|
+
return this;
|
|
398
|
+
};
|
|
399
|
+
Object.defineProperty(TaskInfo.prototype, "executorNickName", {
|
|
400
|
+
get: function () {
|
|
401
|
+
return this['executor_nick_name'];
|
|
402
|
+
},
|
|
403
|
+
set: function (executorNickName) {
|
|
404
|
+
this['executor_nick_name'] = executorNickName;
|
|
405
|
+
},
|
|
406
|
+
enumerable: false,
|
|
407
|
+
configurable: true
|
|
408
|
+
});
|
|
409
|
+
TaskInfo.prototype.withSteps = function (steps) {
|
|
410
|
+
this['steps'] = steps;
|
|
411
|
+
return this;
|
|
412
|
+
};
|
|
413
|
+
return TaskInfo;
|
|
414
|
+
}());
|
|
415
|
+
exports.TaskInfo = TaskInfo;
|
|
416
|
+
/**
|
|
417
|
+
* @export
|
|
418
|
+
* @enum {string}
|
|
419
|
+
*/
|
|
420
|
+
var TaskInfoStateEnum;
|
|
421
|
+
(function (TaskInfoStateEnum) {
|
|
422
|
+
TaskInfoStateEnum["AVAILABLE"] = "Available";
|
|
423
|
+
TaskInfoStateEnum["DRAFT"] = "Draft";
|
|
424
|
+
})(TaskInfoStateEnum || (exports.TaskInfoStateEnum = TaskInfoStateEnum = {}));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class TaskSuccessRate {
|
|
2
|
+
private 'task_id'?;
|
|
3
|
+
private 'task_name'?;
|
|
4
|
+
private 'success_rate'?;
|
|
5
|
+
private 'record_count'?;
|
|
6
|
+
private 'success_record_count'?;
|
|
7
|
+
constructor();
|
|
8
|
+
withTaskId(taskId: string): TaskSuccessRate;
|
|
9
|
+
set taskId(taskId: string | undefined);
|
|
10
|
+
get taskId(): string | undefined;
|
|
11
|
+
withTaskName(taskName: string): TaskSuccessRate;
|
|
12
|
+
set taskName(taskName: string | undefined);
|
|
13
|
+
get taskName(): string | undefined;
|
|
14
|
+
withSuccessRate(successRate: string): TaskSuccessRate;
|
|
15
|
+
set successRate(successRate: string | undefined);
|
|
16
|
+
get successRate(): string | undefined;
|
|
17
|
+
withRecordCount(recordCount: number): TaskSuccessRate;
|
|
18
|
+
set recordCount(recordCount: number | undefined);
|
|
19
|
+
get recordCount(): number | undefined;
|
|
20
|
+
withSuccessRecordCount(successRecordCount: number): TaskSuccessRate;
|
|
21
|
+
set successRecordCount(successRecordCount: number | undefined);
|
|
22
|
+
get successRecordCount(): number | undefined;
|
|
23
|
+
}
|