@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,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TaskSuccessRate = void 0;
|
|
4
|
+
var TaskSuccessRate = /** @class */ (function () {
|
|
5
|
+
function TaskSuccessRate() {
|
|
6
|
+
}
|
|
7
|
+
TaskSuccessRate.prototype.withTaskId = function (taskId) {
|
|
8
|
+
this['task_id'] = taskId;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(TaskSuccessRate.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
|
+
TaskSuccessRate.prototype.withTaskName = function (taskName) {
|
|
22
|
+
this['task_name'] = taskName;
|
|
23
|
+
return this;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(TaskSuccessRate.prototype, "taskName", {
|
|
26
|
+
get: function () {
|
|
27
|
+
return this['task_name'];
|
|
28
|
+
},
|
|
29
|
+
set: function (taskName) {
|
|
30
|
+
this['task_name'] = taskName;
|
|
31
|
+
},
|
|
32
|
+
enumerable: false,
|
|
33
|
+
configurable: true
|
|
34
|
+
});
|
|
35
|
+
TaskSuccessRate.prototype.withSuccessRate = function (successRate) {
|
|
36
|
+
this['success_rate'] = successRate;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(TaskSuccessRate.prototype, "successRate", {
|
|
40
|
+
get: function () {
|
|
41
|
+
return this['success_rate'];
|
|
42
|
+
},
|
|
43
|
+
set: function (successRate) {
|
|
44
|
+
this['success_rate'] = successRate;
|
|
45
|
+
},
|
|
46
|
+
enumerable: false,
|
|
47
|
+
configurable: true
|
|
48
|
+
});
|
|
49
|
+
TaskSuccessRate.prototype.withRecordCount = function (recordCount) {
|
|
50
|
+
this['record_count'] = recordCount;
|
|
51
|
+
return this;
|
|
52
|
+
};
|
|
53
|
+
Object.defineProperty(TaskSuccessRate.prototype, "recordCount", {
|
|
54
|
+
get: function () {
|
|
55
|
+
return this['record_count'];
|
|
56
|
+
},
|
|
57
|
+
set: function (recordCount) {
|
|
58
|
+
this['record_count'] = recordCount;
|
|
59
|
+
},
|
|
60
|
+
enumerable: false,
|
|
61
|
+
configurable: true
|
|
62
|
+
});
|
|
63
|
+
TaskSuccessRate.prototype.withSuccessRecordCount = function (successRecordCount) {
|
|
64
|
+
this['success_record_count'] = successRecordCount;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
Object.defineProperty(TaskSuccessRate.prototype, "successRecordCount", {
|
|
68
|
+
get: function () {
|
|
69
|
+
return this['success_record_count'];
|
|
70
|
+
},
|
|
71
|
+
set: function (successRecordCount) {
|
|
72
|
+
this['success_record_count'] = successRecordCount;
|
|
73
|
+
},
|
|
74
|
+
enumerable: false,
|
|
75
|
+
configurable: true
|
|
76
|
+
});
|
|
77
|
+
return TaskSuccessRate;
|
|
78
|
+
}());
|
|
79
|
+
exports.TaskSuccessRate = TaskSuccessRate;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class TasksSuccessRateQuery {
|
|
2
|
+
private 'start_date';
|
|
3
|
+
private 'end_date';
|
|
4
|
+
private 'task_ids';
|
|
5
|
+
constructor(startDate?: any, endDate?: any, taskIds?: any);
|
|
6
|
+
withStartDate(startDate: string): TasksSuccessRateQuery;
|
|
7
|
+
set startDate(startDate: string | undefined);
|
|
8
|
+
get startDate(): string | undefined;
|
|
9
|
+
withEndDate(endDate: string): TasksSuccessRateQuery;
|
|
10
|
+
set endDate(endDate: string | undefined);
|
|
11
|
+
get endDate(): string | undefined;
|
|
12
|
+
withTaskIds(taskIds: Array<string>): TasksSuccessRateQuery;
|
|
13
|
+
set taskIds(taskIds: Array<string> | undefined);
|
|
14
|
+
get taskIds(): Array<string> | undefined;
|
|
15
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TasksSuccessRateQuery = void 0;
|
|
4
|
+
var TasksSuccessRateQuery = /** @class */ (function () {
|
|
5
|
+
function TasksSuccessRateQuery(startDate, endDate, taskIds) {
|
|
6
|
+
this['start_date'] = startDate;
|
|
7
|
+
this['end_date'] = endDate;
|
|
8
|
+
this['task_ids'] = taskIds;
|
|
9
|
+
}
|
|
10
|
+
TasksSuccessRateQuery.prototype.withStartDate = function (startDate) {
|
|
11
|
+
this['start_date'] = startDate;
|
|
12
|
+
return this;
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(TasksSuccessRateQuery.prototype, "startDate", {
|
|
15
|
+
get: function () {
|
|
16
|
+
return this['start_date'];
|
|
17
|
+
},
|
|
18
|
+
set: function (startDate) {
|
|
19
|
+
this['start_date'] = startDate;
|
|
20
|
+
},
|
|
21
|
+
enumerable: false,
|
|
22
|
+
configurable: true
|
|
23
|
+
});
|
|
24
|
+
TasksSuccessRateQuery.prototype.withEndDate = function (endDate) {
|
|
25
|
+
this['end_date'] = endDate;
|
|
26
|
+
return this;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(TasksSuccessRateQuery.prototype, "endDate", {
|
|
29
|
+
get: function () {
|
|
30
|
+
return this['end_date'];
|
|
31
|
+
},
|
|
32
|
+
set: function (endDate) {
|
|
33
|
+
this['end_date'] = endDate;
|
|
34
|
+
},
|
|
35
|
+
enumerable: false,
|
|
36
|
+
configurable: true
|
|
37
|
+
});
|
|
38
|
+
TasksSuccessRateQuery.prototype.withTaskIds = function (taskIds) {
|
|
39
|
+
this['task_ids'] = taskIds;
|
|
40
|
+
return this;
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(TasksSuccessRateQuery.prototype, "taskIds", {
|
|
43
|
+
get: function () {
|
|
44
|
+
return this['task_ids'];
|
|
45
|
+
},
|
|
46
|
+
set: function (taskIds) {
|
|
47
|
+
this['task_ids'] = taskIds;
|
|
48
|
+
},
|
|
49
|
+
enumerable: false,
|
|
50
|
+
configurable: true
|
|
51
|
+
});
|
|
52
|
+
return TasksSuccessRateQuery;
|
|
53
|
+
}());
|
|
54
|
+
exports.TasksSuccessRateQuery = TasksSuccessRateQuery;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ConfigInfoDO } from './ConfigInfoDO';
|
|
2
|
+
export declare class TemplateTaskRequestBody {
|
|
3
|
+
private 'project_id';
|
|
4
|
+
private 'project_name';
|
|
5
|
+
private 'template_id';
|
|
6
|
+
private 'task_name';
|
|
7
|
+
private 'slave_cluster_id'?;
|
|
8
|
+
configs?: Array<ConfigInfoDO>;
|
|
9
|
+
constructor(projectId?: any, projectName?: any, templateId?: any, taskName?: any);
|
|
10
|
+
withProjectId(projectId: string): TemplateTaskRequestBody;
|
|
11
|
+
set projectId(projectId: string | undefined);
|
|
12
|
+
get projectId(): string | undefined;
|
|
13
|
+
withProjectName(projectName: string): TemplateTaskRequestBody;
|
|
14
|
+
set projectName(projectName: string | undefined);
|
|
15
|
+
get projectName(): string | undefined;
|
|
16
|
+
withTemplateId(templateId: string): TemplateTaskRequestBody;
|
|
17
|
+
set templateId(templateId: string | undefined);
|
|
18
|
+
get templateId(): string | undefined;
|
|
19
|
+
withTaskName(taskName: string): TemplateTaskRequestBody;
|
|
20
|
+
set taskName(taskName: string | undefined);
|
|
21
|
+
get taskName(): string | undefined;
|
|
22
|
+
withSlaveClusterId(slaveClusterId: string): TemplateTaskRequestBody;
|
|
23
|
+
set slaveClusterId(slaveClusterId: string | undefined);
|
|
24
|
+
get slaveClusterId(): string | undefined;
|
|
25
|
+
withConfigs(configs: Array<ConfigInfoDO>): TemplateTaskRequestBody;
|
|
26
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TemplateTaskRequestBody = void 0;
|
|
4
|
+
var TemplateTaskRequestBody = /** @class */ (function () {
|
|
5
|
+
function TemplateTaskRequestBody(projectId, projectName, templateId, taskName) {
|
|
6
|
+
this['project_id'] = projectId;
|
|
7
|
+
this['project_name'] = projectName;
|
|
8
|
+
this['template_id'] = templateId;
|
|
9
|
+
this['task_name'] = taskName;
|
|
10
|
+
}
|
|
11
|
+
TemplateTaskRequestBody.prototype.withProjectId = function (projectId) {
|
|
12
|
+
this['project_id'] = projectId;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
Object.defineProperty(TemplateTaskRequestBody.prototype, "projectId", {
|
|
16
|
+
get: function () {
|
|
17
|
+
return this['project_id'];
|
|
18
|
+
},
|
|
19
|
+
set: function (projectId) {
|
|
20
|
+
this['project_id'] = projectId;
|
|
21
|
+
},
|
|
22
|
+
enumerable: false,
|
|
23
|
+
configurable: true
|
|
24
|
+
});
|
|
25
|
+
TemplateTaskRequestBody.prototype.withProjectName = function (projectName) {
|
|
26
|
+
this['project_name'] = projectName;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(TemplateTaskRequestBody.prototype, "projectName", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['project_name'];
|
|
32
|
+
},
|
|
33
|
+
set: function (projectName) {
|
|
34
|
+
this['project_name'] = projectName;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
TemplateTaskRequestBody.prototype.withTemplateId = function (templateId) {
|
|
40
|
+
this['template_id'] = templateId;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(TemplateTaskRequestBody.prototype, "templateId", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['template_id'];
|
|
46
|
+
},
|
|
47
|
+
set: function (templateId) {
|
|
48
|
+
this['template_id'] = templateId;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
TemplateTaskRequestBody.prototype.withTaskName = function (taskName) {
|
|
54
|
+
this['task_name'] = taskName;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(TemplateTaskRequestBody.prototype, "taskName", {
|
|
58
|
+
get: function () {
|
|
59
|
+
return this['task_name'];
|
|
60
|
+
},
|
|
61
|
+
set: function (taskName) {
|
|
62
|
+
this['task_name'] = taskName;
|
|
63
|
+
},
|
|
64
|
+
enumerable: false,
|
|
65
|
+
configurable: true
|
|
66
|
+
});
|
|
67
|
+
TemplateTaskRequestBody.prototype.withSlaveClusterId = function (slaveClusterId) {
|
|
68
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
Object.defineProperty(TemplateTaskRequestBody.prototype, "slaveClusterId", {
|
|
72
|
+
get: function () {
|
|
73
|
+
return this['slave_cluster_id'];
|
|
74
|
+
},
|
|
75
|
+
set: function (slaveClusterId) {
|
|
76
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
77
|
+
},
|
|
78
|
+
enumerable: false,
|
|
79
|
+
configurable: true
|
|
80
|
+
});
|
|
81
|
+
TemplateTaskRequestBody.prototype.withConfigs = function (configs) {
|
|
82
|
+
this['configs'] = configs;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
return TemplateTaskRequestBody;
|
|
86
|
+
}());
|
|
87
|
+
exports.TemplateTaskRequestBody = TemplateTaskRequestBody;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DeploymentGroupUpdateRequest } from './DeploymentGroupUpdateRequest';
|
|
2
|
+
export declare class UpdateDeploymentGroupRequest {
|
|
3
|
+
private 'group_id';
|
|
4
|
+
private 'Content-Type';
|
|
5
|
+
body?: DeploymentGroupUpdateRequest;
|
|
6
|
+
constructor(groupId?: any, contentType?: any);
|
|
7
|
+
withGroupId(groupId: string): UpdateDeploymentGroupRequest;
|
|
8
|
+
set groupId(groupId: string | undefined);
|
|
9
|
+
get groupId(): string | undefined;
|
|
10
|
+
withContentType(contentType: UpdateDeploymentGroupRequestContentTypeEnum): UpdateDeploymentGroupRequest;
|
|
11
|
+
set contentType(contentType: UpdateDeploymentGroupRequestContentTypeEnum | undefined);
|
|
12
|
+
get contentType(): UpdateDeploymentGroupRequestContentTypeEnum | undefined;
|
|
13
|
+
withBody(body: DeploymentGroupUpdateRequest): UpdateDeploymentGroupRequest;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export declare enum UpdateDeploymentGroupRequestContentTypeEnum {
|
|
20
|
+
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
21
|
+
APPLICATION_JSON = "application/json"
|
|
22
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateDeploymentGroupRequestContentTypeEnum = exports.UpdateDeploymentGroupRequest = void 0;
|
|
4
|
+
var UpdateDeploymentGroupRequest = /** @class */ (function () {
|
|
5
|
+
function UpdateDeploymentGroupRequest(groupId, contentType) {
|
|
6
|
+
this['group_id'] = groupId;
|
|
7
|
+
this['Content-Type'] = contentType;
|
|
8
|
+
}
|
|
9
|
+
UpdateDeploymentGroupRequest.prototype.withGroupId = function (groupId) {
|
|
10
|
+
this['group_id'] = groupId;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(UpdateDeploymentGroupRequest.prototype, "groupId", {
|
|
14
|
+
get: function () {
|
|
15
|
+
return this['group_id'];
|
|
16
|
+
},
|
|
17
|
+
set: function (groupId) {
|
|
18
|
+
this['group_id'] = groupId;
|
|
19
|
+
},
|
|
20
|
+
enumerable: false,
|
|
21
|
+
configurable: true
|
|
22
|
+
});
|
|
23
|
+
UpdateDeploymentGroupRequest.prototype.withContentType = function (contentType) {
|
|
24
|
+
this['Content-Type'] = contentType;
|
|
25
|
+
return this;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(UpdateDeploymentGroupRequest.prototype, "contentType", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this['Content-Type'];
|
|
30
|
+
},
|
|
31
|
+
set: function (contentType) {
|
|
32
|
+
this['Content-Type'] = contentType;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
UpdateDeploymentGroupRequest.prototype.withBody = function (body) {
|
|
38
|
+
this['body'] = body;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
return UpdateDeploymentGroupRequest;
|
|
42
|
+
}());
|
|
43
|
+
exports.UpdateDeploymentGroupRequest = UpdateDeploymentGroupRequest;
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
* @enum {string}
|
|
47
|
+
*/
|
|
48
|
+
var UpdateDeploymentGroupRequestContentTypeEnum;
|
|
49
|
+
(function (UpdateDeploymentGroupRequestContentTypeEnum) {
|
|
50
|
+
UpdateDeploymentGroupRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
51
|
+
UpdateDeploymentGroupRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
52
|
+
})(UpdateDeploymentGroupRequestContentTypeEnum || (exports.UpdateDeploymentGroupRequestContentTypeEnum = UpdateDeploymentGroupRequestContentTypeEnum = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class UpdateDeploymentGroupResponse extends SdkResponse {
|
|
3
|
+
private 'group_id'?;
|
|
4
|
+
constructor();
|
|
5
|
+
withGroupId(groupId: string): UpdateDeploymentGroupResponse;
|
|
6
|
+
set groupId(groupId: string | undefined);
|
|
7
|
+
get groupId(): string | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.UpdateDeploymentGroupResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var UpdateDeploymentGroupResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(UpdateDeploymentGroupResponse, _super);
|
|
22
|
+
function UpdateDeploymentGroupResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
UpdateDeploymentGroupResponse.prototype.withGroupId = function (groupId) {
|
|
26
|
+
this['group_id'] = groupId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(UpdateDeploymentGroupResponse.prototype, "groupId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['group_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (groupId) {
|
|
34
|
+
this['group_id'] = groupId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
return UpdateDeploymentGroupResponse;
|
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
|
41
|
+
exports.UpdateDeploymentGroupResponse = UpdateDeploymentGroupResponse;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DeploymentHostRequest } from './DeploymentHostRequest';
|
|
2
|
+
export declare class UpdateDeploymentHostRequest {
|
|
3
|
+
private 'group_id';
|
|
4
|
+
private 'host_id';
|
|
5
|
+
private 'Content-Type';
|
|
6
|
+
body?: DeploymentHostRequest;
|
|
7
|
+
constructor(groupId?: any, hostId?: any, contentType?: any);
|
|
8
|
+
withGroupId(groupId: string): UpdateDeploymentHostRequest;
|
|
9
|
+
set groupId(groupId: string | undefined);
|
|
10
|
+
get groupId(): string | undefined;
|
|
11
|
+
withHostId(hostId: string): UpdateDeploymentHostRequest;
|
|
12
|
+
set hostId(hostId: string | undefined);
|
|
13
|
+
get hostId(): string | undefined;
|
|
14
|
+
withContentType(contentType: UpdateDeploymentHostRequestContentTypeEnum): UpdateDeploymentHostRequest;
|
|
15
|
+
set contentType(contentType: UpdateDeploymentHostRequestContentTypeEnum | undefined);
|
|
16
|
+
get contentType(): UpdateDeploymentHostRequestContentTypeEnum | undefined;
|
|
17
|
+
withBody(body: DeploymentHostRequest): UpdateDeploymentHostRequest;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
export declare enum UpdateDeploymentHostRequestContentTypeEnum {
|
|
24
|
+
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
25
|
+
APPLICATION_JSON = "application/json"
|
|
26
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateDeploymentHostRequestContentTypeEnum = exports.UpdateDeploymentHostRequest = void 0;
|
|
4
|
+
var UpdateDeploymentHostRequest = /** @class */ (function () {
|
|
5
|
+
function UpdateDeploymentHostRequest(groupId, hostId, contentType) {
|
|
6
|
+
this['group_id'] = groupId;
|
|
7
|
+
this['host_id'] = hostId;
|
|
8
|
+
this['Content-Type'] = contentType;
|
|
9
|
+
}
|
|
10
|
+
UpdateDeploymentHostRequest.prototype.withGroupId = function (groupId) {
|
|
11
|
+
this['group_id'] = groupId;
|
|
12
|
+
return this;
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(UpdateDeploymentHostRequest.prototype, "groupId", {
|
|
15
|
+
get: function () {
|
|
16
|
+
return this['group_id'];
|
|
17
|
+
},
|
|
18
|
+
set: function (groupId) {
|
|
19
|
+
this['group_id'] = groupId;
|
|
20
|
+
},
|
|
21
|
+
enumerable: false,
|
|
22
|
+
configurable: true
|
|
23
|
+
});
|
|
24
|
+
UpdateDeploymentHostRequest.prototype.withHostId = function (hostId) {
|
|
25
|
+
this['host_id'] = hostId;
|
|
26
|
+
return this;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(UpdateDeploymentHostRequest.prototype, "hostId", {
|
|
29
|
+
get: function () {
|
|
30
|
+
return this['host_id'];
|
|
31
|
+
},
|
|
32
|
+
set: function (hostId) {
|
|
33
|
+
this['host_id'] = hostId;
|
|
34
|
+
},
|
|
35
|
+
enumerable: false,
|
|
36
|
+
configurable: true
|
|
37
|
+
});
|
|
38
|
+
UpdateDeploymentHostRequest.prototype.withContentType = function (contentType) {
|
|
39
|
+
this['Content-Type'] = contentType;
|
|
40
|
+
return this;
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(UpdateDeploymentHostRequest.prototype, "contentType", {
|
|
43
|
+
get: function () {
|
|
44
|
+
return this['Content-Type'];
|
|
45
|
+
},
|
|
46
|
+
set: function (contentType) {
|
|
47
|
+
this['Content-Type'] = contentType;
|
|
48
|
+
},
|
|
49
|
+
enumerable: false,
|
|
50
|
+
configurable: true
|
|
51
|
+
});
|
|
52
|
+
UpdateDeploymentHostRequest.prototype.withBody = function (body) {
|
|
53
|
+
this['body'] = body;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
return UpdateDeploymentHostRequest;
|
|
57
|
+
}());
|
|
58
|
+
exports.UpdateDeploymentHostRequest = UpdateDeploymentHostRequest;
|
|
59
|
+
/**
|
|
60
|
+
* @export
|
|
61
|
+
* @enum {string}
|
|
62
|
+
*/
|
|
63
|
+
var UpdateDeploymentHostRequestContentTypeEnum;
|
|
64
|
+
(function (UpdateDeploymentHostRequestContentTypeEnum) {
|
|
65
|
+
UpdateDeploymentHostRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
66
|
+
UpdateDeploymentHostRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
67
|
+
})(UpdateDeploymentHostRequestContentTypeEnum || (exports.UpdateDeploymentHostRequestContentTypeEnum = UpdateDeploymentHostRequestContentTypeEnum = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class UpdateDeploymentHostResponse extends SdkResponse {
|
|
3
|
+
private 'host_id'?;
|
|
4
|
+
constructor();
|
|
5
|
+
withHostId(hostId: string): UpdateDeploymentHostResponse;
|
|
6
|
+
set hostId(hostId: string | undefined);
|
|
7
|
+
get hostId(): string | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.UpdateDeploymentHostResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var UpdateDeploymentHostResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(UpdateDeploymentHostResponse, _super);
|
|
22
|
+
function UpdateDeploymentHostResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
UpdateDeploymentHostResponse.prototype.withHostId = function (hostId) {
|
|
26
|
+
this['host_id'] = hostId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(UpdateDeploymentHostResponse.prototype, "hostId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['host_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (hostId) {
|
|
34
|
+
this['host_id'] = hostId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
return UpdateDeploymentHostResponse;
|
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
|
41
|
+
exports.UpdateDeploymentHostResponse = UpdateDeploymentHostResponse;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class UserInfo {
|
|
2
|
+
private 'user_id'?;
|
|
3
|
+
private 'user_name'?;
|
|
4
|
+
constructor();
|
|
5
|
+
withUserId(userId: string): UserInfo;
|
|
6
|
+
set userId(userId: string | undefined);
|
|
7
|
+
get userId(): string | undefined;
|
|
8
|
+
withUserName(userName: string): UserInfo;
|
|
9
|
+
set userName(userName: string | undefined);
|
|
10
|
+
get userName(): string | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserInfo = void 0;
|
|
4
|
+
var UserInfo = /** @class */ (function () {
|
|
5
|
+
function UserInfo() {
|
|
6
|
+
}
|
|
7
|
+
UserInfo.prototype.withUserId = function (userId) {
|
|
8
|
+
this['user_id'] = userId;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(UserInfo.prototype, "userId", {
|
|
12
|
+
get: function () {
|
|
13
|
+
return this['user_id'];
|
|
14
|
+
},
|
|
15
|
+
set: function (userId) {
|
|
16
|
+
this['user_id'] = userId;
|
|
17
|
+
},
|
|
18
|
+
enumerable: false,
|
|
19
|
+
configurable: true
|
|
20
|
+
});
|
|
21
|
+
UserInfo.prototype.withUserName = function (userName) {
|
|
22
|
+
this['user_name'] = userName;
|
|
23
|
+
return this;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(UserInfo.prototype, "userName", {
|
|
26
|
+
get: function () {
|
|
27
|
+
return this['user_name'];
|
|
28
|
+
},
|
|
29
|
+
set: function (userName) {
|
|
30
|
+
this['user_name'] = userName;
|
|
31
|
+
},
|
|
32
|
+
enumerable: false,
|
|
33
|
+
configurable: true
|
|
34
|
+
});
|
|
35
|
+
return UserInfo;
|
|
36
|
+
}());
|
|
37
|
+
exports.UserInfo = UserInfo;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export * from './CodeArtsDeployClient';
|
|
2
|
+
export * from './model/AppComponentDao';
|
|
3
|
+
export * from './model/ConfigInfoDO';
|
|
4
|
+
export * from './model/CreateDeployTaskByTemplateRequest';
|
|
5
|
+
export * from './model/CreateDeployTaskByTemplateResponse';
|
|
6
|
+
export * from './model/CreateDeploymentGroupRequest';
|
|
7
|
+
export * from './model/CreateDeploymentGroupResponse';
|
|
8
|
+
export * from './model/CreateDeploymentHostRequest';
|
|
9
|
+
export * from './model/CreateDeploymentHostResponse';
|
|
10
|
+
export * from './model/DeleteDeployTaskRequest';
|
|
11
|
+
export * from './model/DeleteDeployTaskResponse';
|
|
12
|
+
export * from './model/DeleteDeploymentGroupRequest';
|
|
13
|
+
export * from './model/DeleteDeploymentGroupResponse';
|
|
14
|
+
export * from './model/DeleteDeploymentHostRequest';
|
|
15
|
+
export * from './model/DeleteDeploymentHostResponse';
|
|
16
|
+
export * from './model/DeploymentGroup';
|
|
17
|
+
export * from './model/DeploymentGroupDetail';
|
|
18
|
+
export * from './model/DeploymentGroupUpdateRequest';
|
|
19
|
+
export * from './model/DeploymentHost';
|
|
20
|
+
export * from './model/DeploymentHostAuthorizationBody';
|
|
21
|
+
export * from './model/DeploymentHostDetail';
|
|
22
|
+
export * from './model/DeploymentHostInfo';
|
|
23
|
+
export * from './model/DeploymentHostRequest';
|
|
24
|
+
export * from './model/DeploymentUpdateHost';
|
|
25
|
+
export * from './model/DynamicConfigInfo';
|
|
26
|
+
export * from './model/EnvExecutionBody';
|
|
27
|
+
export * from './model/ExecuteRecordV2Body';
|
|
28
|
+
export * from './model/KeyValueDO';
|
|
29
|
+
export * from './model/ListDeployTaskHistoryByDateRequest';
|
|
30
|
+
export * from './model/ListDeployTaskHistoryByDateResponse';
|
|
31
|
+
export * from './model/ListDeployTasksRequest';
|
|
32
|
+
export * from './model/ListDeployTasksResponse';
|
|
33
|
+
export * from './model/ListHostGroupsRequest';
|
|
34
|
+
export * from './model/ListHostGroupsResponse';
|
|
35
|
+
export * from './model/ListHostsRequest';
|
|
36
|
+
export * from './model/ListHostsResponse';
|
|
37
|
+
export * from './model/ListTaskSuccessRateRequest';
|
|
38
|
+
export * from './model/ListTaskSuccessRateResponse';
|
|
39
|
+
export * from './model/ParamTypeLimits';
|
|
40
|
+
export * from './model/PermissionGroupDetail';
|
|
41
|
+
export * from './model/PermissionHostDetail';
|
|
42
|
+
export * from './model/ShowDeployTaskDetailRequest';
|
|
43
|
+
export * from './model/ShowDeployTaskDetailResponse';
|
|
44
|
+
export * from './model/ShowDeploymentGroupDetailRequest';
|
|
45
|
+
export * from './model/ShowDeploymentGroupDetailResponse';
|
|
46
|
+
export * from './model/ShowDeploymentHostDetailRequest';
|
|
47
|
+
export * from './model/ShowDeploymentHostDetailResponse';
|
|
48
|
+
export * from './model/ShowProjectSuccessRateRequest';
|
|
49
|
+
export * from './model/ShowProjectSuccessRateResponse';
|
|
50
|
+
export * from './model/StartDeployTaskRequest';
|
|
51
|
+
export * from './model/StartDeployTaskResponse';
|
|
52
|
+
export * from './model/Step';
|
|
53
|
+
export * from './model/TaskInfo';
|
|
54
|
+
export * from './model/TaskSuccessRate';
|
|
55
|
+
export * from './model/TasksSuccessRateQuery';
|
|
56
|
+
export * from './model/TemplateTaskRequestBody';
|
|
57
|
+
export * from './model/UpdateDeploymentGroupRequest';
|
|
58
|
+
export * from './model/UpdateDeploymentGroupResponse';
|
|
59
|
+
export * from './model/UpdateDeploymentHostRequest';
|
|
60
|
+
export * from './model/UpdateDeploymentHostResponse';
|
|
61
|
+
export * from './model/UserInfo';
|
|
62
|
+
export * from './CodeArtsDeployRegion';
|