@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,193 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeploymentGroupDetail = void 0;
|
|
4
|
+
var DeploymentGroupDetail = /** @class */ (function () {
|
|
5
|
+
function DeploymentGroupDetail() {
|
|
6
|
+
}
|
|
7
|
+
DeploymentGroupDetail.prototype.withGroupId = function (groupId) {
|
|
8
|
+
this['group_id'] = groupId;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(DeploymentGroupDetail.prototype, "groupId", {
|
|
12
|
+
get: function () {
|
|
13
|
+
return this['group_id'];
|
|
14
|
+
},
|
|
15
|
+
set: function (groupId) {
|
|
16
|
+
this['group_id'] = groupId;
|
|
17
|
+
},
|
|
18
|
+
enumerable: false,
|
|
19
|
+
configurable: true
|
|
20
|
+
});
|
|
21
|
+
DeploymentGroupDetail.prototype.withCreatedTime = function (createdTime) {
|
|
22
|
+
this['created_time'] = createdTime;
|
|
23
|
+
return this;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(DeploymentGroupDetail.prototype, "createdTime", {
|
|
26
|
+
get: function () {
|
|
27
|
+
return this['created_time'];
|
|
28
|
+
},
|
|
29
|
+
set: function (createdTime) {
|
|
30
|
+
this['created_time'] = createdTime;
|
|
31
|
+
},
|
|
32
|
+
enumerable: false,
|
|
33
|
+
configurable: true
|
|
34
|
+
});
|
|
35
|
+
DeploymentGroupDetail.prototype.withUpdatedTime = function (updatedTime) {
|
|
36
|
+
this['updated_time'] = updatedTime;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(DeploymentGroupDetail.prototype, "updatedTime", {
|
|
40
|
+
get: function () {
|
|
41
|
+
return this['updated_time'];
|
|
42
|
+
},
|
|
43
|
+
set: function (updatedTime) {
|
|
44
|
+
this['updated_time'] = updatedTime;
|
|
45
|
+
},
|
|
46
|
+
enumerable: false,
|
|
47
|
+
configurable: true
|
|
48
|
+
});
|
|
49
|
+
DeploymentGroupDetail.prototype.withHostCount = function (hostCount) {
|
|
50
|
+
this['host_count'] = hostCount;
|
|
51
|
+
return this;
|
|
52
|
+
};
|
|
53
|
+
Object.defineProperty(DeploymentGroupDetail.prototype, "hostCount", {
|
|
54
|
+
get: function () {
|
|
55
|
+
return this['host_count'];
|
|
56
|
+
},
|
|
57
|
+
set: function (hostCount) {
|
|
58
|
+
this['host_count'] = hostCount;
|
|
59
|
+
},
|
|
60
|
+
enumerable: false,
|
|
61
|
+
configurable: true
|
|
62
|
+
});
|
|
63
|
+
DeploymentGroupDetail.prototype.withProjectName = function (projectName) {
|
|
64
|
+
this['project_name'] = projectName;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
Object.defineProperty(DeploymentGroupDetail.prototype, "projectName", {
|
|
68
|
+
get: function () {
|
|
69
|
+
return this['project_name'];
|
|
70
|
+
},
|
|
71
|
+
set: function (projectName) {
|
|
72
|
+
this['project_name'] = projectName;
|
|
73
|
+
},
|
|
74
|
+
enumerable: false,
|
|
75
|
+
configurable: true
|
|
76
|
+
});
|
|
77
|
+
DeploymentGroupDetail.prototype.withName = function (name) {
|
|
78
|
+
this['name'] = name;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
DeploymentGroupDetail.prototype.withRegionName = function (regionName) {
|
|
82
|
+
this['region_name'] = regionName;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
Object.defineProperty(DeploymentGroupDetail.prototype, "regionName", {
|
|
86
|
+
get: function () {
|
|
87
|
+
return this['region_name'];
|
|
88
|
+
},
|
|
89
|
+
set: function (regionName) {
|
|
90
|
+
this['region_name'] = regionName;
|
|
91
|
+
},
|
|
92
|
+
enumerable: false,
|
|
93
|
+
configurable: true
|
|
94
|
+
});
|
|
95
|
+
DeploymentGroupDetail.prototype.withProjectId = function (projectId) {
|
|
96
|
+
this['project_id'] = projectId;
|
|
97
|
+
return this;
|
|
98
|
+
};
|
|
99
|
+
Object.defineProperty(DeploymentGroupDetail.prototype, "projectId", {
|
|
100
|
+
get: function () {
|
|
101
|
+
return this['project_id'];
|
|
102
|
+
},
|
|
103
|
+
set: function (projectId) {
|
|
104
|
+
this['project_id'] = projectId;
|
|
105
|
+
},
|
|
106
|
+
enumerable: false,
|
|
107
|
+
configurable: true
|
|
108
|
+
});
|
|
109
|
+
DeploymentGroupDetail.prototype.withOs = function (os) {
|
|
110
|
+
this['os'] = os;
|
|
111
|
+
return this;
|
|
112
|
+
};
|
|
113
|
+
DeploymentGroupDetail.prototype.withAutoConnectionTestSwitch = function (autoConnectionTestSwitch) {
|
|
114
|
+
this['auto_connection_test_switch'] = autoConnectionTestSwitch;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
Object.defineProperty(DeploymentGroupDetail.prototype, "autoConnectionTestSwitch", {
|
|
118
|
+
get: function () {
|
|
119
|
+
return this['auto_connection_test_switch'];
|
|
120
|
+
},
|
|
121
|
+
set: function (autoConnectionTestSwitch) {
|
|
122
|
+
this['auto_connection_test_switch'] = autoConnectionTestSwitch;
|
|
123
|
+
},
|
|
124
|
+
enumerable: false,
|
|
125
|
+
configurable: true
|
|
126
|
+
});
|
|
127
|
+
DeploymentGroupDetail.prototype.withSlaveClusterId = function (slaveClusterId) {
|
|
128
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
129
|
+
return this;
|
|
130
|
+
};
|
|
131
|
+
Object.defineProperty(DeploymentGroupDetail.prototype, "slaveClusterId", {
|
|
132
|
+
get: function () {
|
|
133
|
+
return this['slave_cluster_id'];
|
|
134
|
+
},
|
|
135
|
+
set: function (slaveClusterId) {
|
|
136
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
137
|
+
},
|
|
138
|
+
enumerable: false,
|
|
139
|
+
configurable: true
|
|
140
|
+
});
|
|
141
|
+
DeploymentGroupDetail.prototype.withNickName = function (nickName) {
|
|
142
|
+
this['nick_name'] = nickName;
|
|
143
|
+
return this;
|
|
144
|
+
};
|
|
145
|
+
Object.defineProperty(DeploymentGroupDetail.prototype, "nickName", {
|
|
146
|
+
get: function () {
|
|
147
|
+
return this['nick_name'];
|
|
148
|
+
},
|
|
149
|
+
set: function (nickName) {
|
|
150
|
+
this['nick_name'] = nickName;
|
|
151
|
+
},
|
|
152
|
+
enumerable: false,
|
|
153
|
+
configurable: true
|
|
154
|
+
});
|
|
155
|
+
DeploymentGroupDetail.prototype.withCreatedBy = function (createdBy) {
|
|
156
|
+
this['created_by'] = createdBy;
|
|
157
|
+
return this;
|
|
158
|
+
};
|
|
159
|
+
Object.defineProperty(DeploymentGroupDetail.prototype, "createdBy", {
|
|
160
|
+
get: function () {
|
|
161
|
+
return this['created_by'];
|
|
162
|
+
},
|
|
163
|
+
set: function (createdBy) {
|
|
164
|
+
this['created_by'] = createdBy;
|
|
165
|
+
},
|
|
166
|
+
enumerable: false,
|
|
167
|
+
configurable: true
|
|
168
|
+
});
|
|
169
|
+
DeploymentGroupDetail.prototype.withUpdatedBy = function (updatedBy) {
|
|
170
|
+
this['updated_by'] = updatedBy;
|
|
171
|
+
return this;
|
|
172
|
+
};
|
|
173
|
+
Object.defineProperty(DeploymentGroupDetail.prototype, "updatedBy", {
|
|
174
|
+
get: function () {
|
|
175
|
+
return this['updated_by'];
|
|
176
|
+
},
|
|
177
|
+
set: function (updatedBy) {
|
|
178
|
+
this['updated_by'] = updatedBy;
|
|
179
|
+
},
|
|
180
|
+
enumerable: false,
|
|
181
|
+
configurable: true
|
|
182
|
+
});
|
|
183
|
+
DeploymentGroupDetail.prototype.withDescription = function (description) {
|
|
184
|
+
this['description'] = description;
|
|
185
|
+
return this;
|
|
186
|
+
};
|
|
187
|
+
DeploymentGroupDetail.prototype.withPermission = function (permission) {
|
|
188
|
+
this['permission'] = permission;
|
|
189
|
+
return this;
|
|
190
|
+
};
|
|
191
|
+
return DeploymentGroupDetail;
|
|
192
|
+
}());
|
|
193
|
+
exports.DeploymentGroupDetail = DeploymentGroupDetail;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare class DeploymentGroupUpdateRequest {
|
|
2
|
+
name: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
private 'slave_cluster_id'?;
|
|
5
|
+
private 'auto_connection_test_switch'?;
|
|
6
|
+
constructor(name?: any);
|
|
7
|
+
withName(name: string): DeploymentGroupUpdateRequest;
|
|
8
|
+
withDescription(description: string): DeploymentGroupUpdateRequest;
|
|
9
|
+
withSlaveClusterId(slaveClusterId: string): DeploymentGroupUpdateRequest;
|
|
10
|
+
set slaveClusterId(slaveClusterId: string | undefined);
|
|
11
|
+
get slaveClusterId(): string | undefined;
|
|
12
|
+
withAutoConnectionTestSwitch(autoConnectionTestSwitch: DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum): DeploymentGroupUpdateRequest;
|
|
13
|
+
set autoConnectionTestSwitch(autoConnectionTestSwitch: DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum | undefined);
|
|
14
|
+
get autoConnectionTestSwitch(): DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum | undefined;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
* @enum {string}
|
|
19
|
+
*/
|
|
20
|
+
export declare enum DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum {
|
|
21
|
+
NUMBER_0 = 0,
|
|
22
|
+
NUMBER_1 = 1,
|
|
23
|
+
NUMBER_2 = 2
|
|
24
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum = exports.DeploymentGroupUpdateRequest = void 0;
|
|
4
|
+
var DeploymentGroupUpdateRequest = /** @class */ (function () {
|
|
5
|
+
function DeploymentGroupUpdateRequest(name) {
|
|
6
|
+
this['name'] = name;
|
|
7
|
+
}
|
|
8
|
+
DeploymentGroupUpdateRequest.prototype.withName = function (name) {
|
|
9
|
+
this['name'] = name;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
DeploymentGroupUpdateRequest.prototype.withDescription = function (description) {
|
|
13
|
+
this['description'] = description;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
DeploymentGroupUpdateRequest.prototype.withSlaveClusterId = function (slaveClusterId) {
|
|
17
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
18
|
+
return this;
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(DeploymentGroupUpdateRequest.prototype, "slaveClusterId", {
|
|
21
|
+
get: function () {
|
|
22
|
+
return this['slave_cluster_id'];
|
|
23
|
+
},
|
|
24
|
+
set: function (slaveClusterId) {
|
|
25
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
26
|
+
},
|
|
27
|
+
enumerable: false,
|
|
28
|
+
configurable: true
|
|
29
|
+
});
|
|
30
|
+
DeploymentGroupUpdateRequest.prototype.withAutoConnectionTestSwitch = function (autoConnectionTestSwitch) {
|
|
31
|
+
this['auto_connection_test_switch'] = autoConnectionTestSwitch;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(DeploymentGroupUpdateRequest.prototype, "autoConnectionTestSwitch", {
|
|
35
|
+
get: function () {
|
|
36
|
+
return this['auto_connection_test_switch'];
|
|
37
|
+
},
|
|
38
|
+
set: function (autoConnectionTestSwitch) {
|
|
39
|
+
this['auto_connection_test_switch'] = autoConnectionTestSwitch;
|
|
40
|
+
},
|
|
41
|
+
enumerable: false,
|
|
42
|
+
configurable: true
|
|
43
|
+
});
|
|
44
|
+
return DeploymentGroupUpdateRequest;
|
|
45
|
+
}());
|
|
46
|
+
exports.DeploymentGroupUpdateRequest = DeploymentGroupUpdateRequest;
|
|
47
|
+
/**
|
|
48
|
+
* @export
|
|
49
|
+
* @enum {string}
|
|
50
|
+
*/
|
|
51
|
+
var DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum;
|
|
52
|
+
(function (DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum) {
|
|
53
|
+
DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum[DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
|
54
|
+
DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum[DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
|
55
|
+
DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum[DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum["NUMBER_2"] = 2] = "NUMBER_2";
|
|
56
|
+
})(DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum || (exports.DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum = DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum = {}));
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DeploymentHostAuthorizationBody } from './DeploymentHostAuthorizationBody';
|
|
2
|
+
export declare class DeploymentHost {
|
|
3
|
+
private 'host_name';
|
|
4
|
+
ip: string;
|
|
5
|
+
port: number;
|
|
6
|
+
os: DeploymentHostOsEnum;
|
|
7
|
+
private 'as_proxy';
|
|
8
|
+
private 'proxy_host_id'?;
|
|
9
|
+
authorization: DeploymentHostAuthorizationBody;
|
|
10
|
+
private 'install_icagent'?;
|
|
11
|
+
constructor(hostName?: any, ip?: any, port?: any, os?: any, asProxy?: any, authorization?: any);
|
|
12
|
+
withHostName(hostName: string): DeploymentHost;
|
|
13
|
+
set hostName(hostName: string | undefined);
|
|
14
|
+
get hostName(): string | undefined;
|
|
15
|
+
withIp(ip: string): DeploymentHost;
|
|
16
|
+
withPort(port: number): DeploymentHost;
|
|
17
|
+
withOs(os: DeploymentHostOsEnum): DeploymentHost;
|
|
18
|
+
withAsProxy(asProxy: boolean): DeploymentHost;
|
|
19
|
+
set asProxy(asProxy: boolean | undefined);
|
|
20
|
+
get asProxy(): boolean | undefined;
|
|
21
|
+
withProxyHostId(proxyHostId: string): DeploymentHost;
|
|
22
|
+
set proxyHostId(proxyHostId: string | undefined);
|
|
23
|
+
get proxyHostId(): string | undefined;
|
|
24
|
+
withAuthorization(authorization: DeploymentHostAuthorizationBody): DeploymentHost;
|
|
25
|
+
withInstallIcagent(installIcagent: boolean): DeploymentHost;
|
|
26
|
+
set installIcagent(installIcagent: boolean | undefined);
|
|
27
|
+
get installIcagent(): boolean | undefined;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
* @enum {string}
|
|
32
|
+
*/
|
|
33
|
+
export declare enum DeploymentHostOsEnum {
|
|
34
|
+
WINDOWS = "windows",
|
|
35
|
+
LINUX = "linux"
|
|
36
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeploymentHostOsEnum = exports.DeploymentHost = void 0;
|
|
4
|
+
var DeploymentHost = /** @class */ (function () {
|
|
5
|
+
function DeploymentHost(hostName, ip, port, os, asProxy, authorization) {
|
|
6
|
+
this['host_name'] = hostName;
|
|
7
|
+
this['ip'] = ip;
|
|
8
|
+
this['port'] = port;
|
|
9
|
+
this['os'] = os;
|
|
10
|
+
this['as_proxy'] = asProxy;
|
|
11
|
+
this['authorization'] = authorization;
|
|
12
|
+
}
|
|
13
|
+
DeploymentHost.prototype.withHostName = function (hostName) {
|
|
14
|
+
this['host_name'] = hostName;
|
|
15
|
+
return this;
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(DeploymentHost.prototype, "hostName", {
|
|
18
|
+
get: function () {
|
|
19
|
+
return this['host_name'];
|
|
20
|
+
},
|
|
21
|
+
set: function (hostName) {
|
|
22
|
+
this['host_name'] = hostName;
|
|
23
|
+
},
|
|
24
|
+
enumerable: false,
|
|
25
|
+
configurable: true
|
|
26
|
+
});
|
|
27
|
+
DeploymentHost.prototype.withIp = function (ip) {
|
|
28
|
+
this['ip'] = ip;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
DeploymentHost.prototype.withPort = function (port) {
|
|
32
|
+
this['port'] = port;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
DeploymentHost.prototype.withOs = function (os) {
|
|
36
|
+
this['os'] = os;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
DeploymentHost.prototype.withAsProxy = function (asProxy) {
|
|
40
|
+
this['as_proxy'] = asProxy;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(DeploymentHost.prototype, "asProxy", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['as_proxy'];
|
|
46
|
+
},
|
|
47
|
+
set: function (asProxy) {
|
|
48
|
+
this['as_proxy'] = asProxy;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
DeploymentHost.prototype.withProxyHostId = function (proxyHostId) {
|
|
54
|
+
this['proxy_host_id'] = proxyHostId;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(DeploymentHost.prototype, "proxyHostId", {
|
|
58
|
+
get: function () {
|
|
59
|
+
return this['proxy_host_id'];
|
|
60
|
+
},
|
|
61
|
+
set: function (proxyHostId) {
|
|
62
|
+
this['proxy_host_id'] = proxyHostId;
|
|
63
|
+
},
|
|
64
|
+
enumerable: false,
|
|
65
|
+
configurable: true
|
|
66
|
+
});
|
|
67
|
+
DeploymentHost.prototype.withAuthorization = function (authorization) {
|
|
68
|
+
this['authorization'] = authorization;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
DeploymentHost.prototype.withInstallIcagent = function (installIcagent) {
|
|
72
|
+
this['install_icagent'] = installIcagent;
|
|
73
|
+
return this;
|
|
74
|
+
};
|
|
75
|
+
Object.defineProperty(DeploymentHost.prototype, "installIcagent", {
|
|
76
|
+
get: function () {
|
|
77
|
+
return this['install_icagent'];
|
|
78
|
+
},
|
|
79
|
+
set: function (installIcagent) {
|
|
80
|
+
this['install_icagent'] = installIcagent;
|
|
81
|
+
},
|
|
82
|
+
enumerable: false,
|
|
83
|
+
configurable: true
|
|
84
|
+
});
|
|
85
|
+
return DeploymentHost;
|
|
86
|
+
}());
|
|
87
|
+
exports.DeploymentHost = DeploymentHost;
|
|
88
|
+
/**
|
|
89
|
+
* @export
|
|
90
|
+
* @enum {string}
|
|
91
|
+
*/
|
|
92
|
+
var DeploymentHostOsEnum;
|
|
93
|
+
(function (DeploymentHostOsEnum) {
|
|
94
|
+
DeploymentHostOsEnum["WINDOWS"] = "windows";
|
|
95
|
+
DeploymentHostOsEnum["LINUX"] = "linux";
|
|
96
|
+
})(DeploymentHostOsEnum || (exports.DeploymentHostOsEnum = DeploymentHostOsEnum = {}));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class DeploymentHostAuthorizationBody {
|
|
2
|
+
username: string;
|
|
3
|
+
password?: string;
|
|
4
|
+
private 'private_key'?;
|
|
5
|
+
private 'trusted_type';
|
|
6
|
+
constructor(username?: any, trustedType?: any);
|
|
7
|
+
withUsername(username: string): DeploymentHostAuthorizationBody;
|
|
8
|
+
withPassword(password: string): DeploymentHostAuthorizationBody;
|
|
9
|
+
withPrivateKey(privateKey: string): DeploymentHostAuthorizationBody;
|
|
10
|
+
set privateKey(privateKey: string | undefined);
|
|
11
|
+
get privateKey(): string | undefined;
|
|
12
|
+
withTrustedType(trustedType: DeploymentHostAuthorizationBodyTrustedTypeEnum): DeploymentHostAuthorizationBody;
|
|
13
|
+
set trustedType(trustedType: DeploymentHostAuthorizationBodyTrustedTypeEnum | undefined);
|
|
14
|
+
get trustedType(): DeploymentHostAuthorizationBodyTrustedTypeEnum | undefined;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
* @enum {string}
|
|
19
|
+
*/
|
|
20
|
+
export declare enum DeploymentHostAuthorizationBodyTrustedTypeEnum {
|
|
21
|
+
NUMBER_0 = 0,
|
|
22
|
+
NUMBER_1 = 1
|
|
23
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeploymentHostAuthorizationBodyTrustedTypeEnum = exports.DeploymentHostAuthorizationBody = void 0;
|
|
4
|
+
var DeploymentHostAuthorizationBody = /** @class */ (function () {
|
|
5
|
+
function DeploymentHostAuthorizationBody(username, trustedType) {
|
|
6
|
+
this['username'] = username;
|
|
7
|
+
this['trusted_type'] = trustedType;
|
|
8
|
+
}
|
|
9
|
+
DeploymentHostAuthorizationBody.prototype.withUsername = function (username) {
|
|
10
|
+
this['username'] = username;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
DeploymentHostAuthorizationBody.prototype.withPassword = function (password) {
|
|
14
|
+
this['password'] = password;
|
|
15
|
+
return this;
|
|
16
|
+
};
|
|
17
|
+
DeploymentHostAuthorizationBody.prototype.withPrivateKey = function (privateKey) {
|
|
18
|
+
this['private_key'] = privateKey;
|
|
19
|
+
return this;
|
|
20
|
+
};
|
|
21
|
+
Object.defineProperty(DeploymentHostAuthorizationBody.prototype, "privateKey", {
|
|
22
|
+
get: function () {
|
|
23
|
+
return this['private_key'];
|
|
24
|
+
},
|
|
25
|
+
set: function (privateKey) {
|
|
26
|
+
this['private_key'] = privateKey;
|
|
27
|
+
},
|
|
28
|
+
enumerable: false,
|
|
29
|
+
configurable: true
|
|
30
|
+
});
|
|
31
|
+
DeploymentHostAuthorizationBody.prototype.withTrustedType = function (trustedType) {
|
|
32
|
+
this['trusted_type'] = trustedType;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(DeploymentHostAuthorizationBody.prototype, "trustedType", {
|
|
36
|
+
get: function () {
|
|
37
|
+
return this['trusted_type'];
|
|
38
|
+
},
|
|
39
|
+
set: function (trustedType) {
|
|
40
|
+
this['trusted_type'] = trustedType;
|
|
41
|
+
},
|
|
42
|
+
enumerable: false,
|
|
43
|
+
configurable: true
|
|
44
|
+
});
|
|
45
|
+
return DeploymentHostAuthorizationBody;
|
|
46
|
+
}());
|
|
47
|
+
exports.DeploymentHostAuthorizationBody = DeploymentHostAuthorizationBody;
|
|
48
|
+
/**
|
|
49
|
+
* @export
|
|
50
|
+
* @enum {string}
|
|
51
|
+
*/
|
|
52
|
+
var DeploymentHostAuthorizationBodyTrustedTypeEnum;
|
|
53
|
+
(function (DeploymentHostAuthorizationBodyTrustedTypeEnum) {
|
|
54
|
+
DeploymentHostAuthorizationBodyTrustedTypeEnum[DeploymentHostAuthorizationBodyTrustedTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
|
55
|
+
DeploymentHostAuthorizationBodyTrustedTypeEnum[DeploymentHostAuthorizationBodyTrustedTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
|
56
|
+
})(DeploymentHostAuthorizationBodyTrustedTypeEnum || (exports.DeploymentHostAuthorizationBodyTrustedTypeEnum = DeploymentHostAuthorizationBodyTrustedTypeEnum = {}));
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { DeploymentHostAuthorizationBody } from './DeploymentHostAuthorizationBody';
|
|
2
|
+
import { PermissionHostDetail } from './PermissionHostDetail';
|
|
3
|
+
export declare class DeploymentHostDetail {
|
|
4
|
+
private 'group_id';
|
|
5
|
+
private 'host_name';
|
|
6
|
+
ip: string;
|
|
7
|
+
port: number;
|
|
8
|
+
os: DeploymentHostDetailOsEnum;
|
|
9
|
+
private 'as_proxy';
|
|
10
|
+
private 'proxy_host_id'?;
|
|
11
|
+
authorization: DeploymentHostAuthorizationBody;
|
|
12
|
+
private 'install_icagent'?;
|
|
13
|
+
private 'host_id'?;
|
|
14
|
+
private 'proxy_host'?;
|
|
15
|
+
private 'group_name'?;
|
|
16
|
+
private 'project_id'?;
|
|
17
|
+
private 'project_name'?;
|
|
18
|
+
permission?: PermissionHostDetail;
|
|
19
|
+
private 'update_time'?;
|
|
20
|
+
private 'lastest_connection_time'?;
|
|
21
|
+
private 'connection_status'?;
|
|
22
|
+
private 'owner_name'?;
|
|
23
|
+
private 'updator_id'?;
|
|
24
|
+
private 'create_time'?;
|
|
25
|
+
private 'nick_name'?;
|
|
26
|
+
private 'owner_id'?;
|
|
27
|
+
private 'updator_name'?;
|
|
28
|
+
private 'connection_result'?;
|
|
29
|
+
constructor(groupId?: any, hostName?: any, ip?: any, port?: any, os?: any, asProxy?: any, authorization?: any);
|
|
30
|
+
withGroupId(groupId: string): DeploymentHostDetail;
|
|
31
|
+
set groupId(groupId: string | undefined);
|
|
32
|
+
get groupId(): string | undefined;
|
|
33
|
+
withHostName(hostName: string): DeploymentHostDetail;
|
|
34
|
+
set hostName(hostName: string | undefined);
|
|
35
|
+
get hostName(): string | undefined;
|
|
36
|
+
withIp(ip: string): DeploymentHostDetail;
|
|
37
|
+
withPort(port: number): DeploymentHostDetail;
|
|
38
|
+
withOs(os: DeploymentHostDetailOsEnum): DeploymentHostDetail;
|
|
39
|
+
withAsProxy(asProxy: boolean): DeploymentHostDetail;
|
|
40
|
+
set asProxy(asProxy: boolean | undefined);
|
|
41
|
+
get asProxy(): boolean | undefined;
|
|
42
|
+
withProxyHostId(proxyHostId: string): DeploymentHostDetail;
|
|
43
|
+
set proxyHostId(proxyHostId: string | undefined);
|
|
44
|
+
get proxyHostId(): string | undefined;
|
|
45
|
+
withAuthorization(authorization: DeploymentHostAuthorizationBody): DeploymentHostDetail;
|
|
46
|
+
withInstallIcagent(installIcagent: boolean): DeploymentHostDetail;
|
|
47
|
+
set installIcagent(installIcagent: boolean | undefined);
|
|
48
|
+
get installIcagent(): boolean | undefined;
|
|
49
|
+
withHostId(hostId: string): DeploymentHostDetail;
|
|
50
|
+
set hostId(hostId: string | undefined);
|
|
51
|
+
get hostId(): string | undefined;
|
|
52
|
+
withProxyHost(proxyHost: DeploymentHostDetail): DeploymentHostDetail;
|
|
53
|
+
set proxyHost(proxyHost: DeploymentHostDetail | undefined);
|
|
54
|
+
get proxyHost(): DeploymentHostDetail | undefined;
|
|
55
|
+
withGroupName(groupName: string): DeploymentHostDetail;
|
|
56
|
+
set groupName(groupName: string | undefined);
|
|
57
|
+
get groupName(): string | undefined;
|
|
58
|
+
withProjectId(projectId: string): DeploymentHostDetail;
|
|
59
|
+
set projectId(projectId: string | undefined);
|
|
60
|
+
get projectId(): string | undefined;
|
|
61
|
+
withProjectName(projectName: string): DeploymentHostDetail;
|
|
62
|
+
set projectName(projectName: string | undefined);
|
|
63
|
+
get projectName(): string | undefined;
|
|
64
|
+
withPermission(permission: PermissionHostDetail): DeploymentHostDetail;
|
|
65
|
+
withUpdateTime(updateTime: string): DeploymentHostDetail;
|
|
66
|
+
set updateTime(updateTime: string | undefined);
|
|
67
|
+
get updateTime(): string | undefined;
|
|
68
|
+
withLastestConnectionTime(lastestConnectionTime: string): DeploymentHostDetail;
|
|
69
|
+
set lastestConnectionTime(lastestConnectionTime: string | undefined);
|
|
70
|
+
get lastestConnectionTime(): string | undefined;
|
|
71
|
+
withConnectionStatus(connectionStatus: string): DeploymentHostDetail;
|
|
72
|
+
set connectionStatus(connectionStatus: string | undefined);
|
|
73
|
+
get connectionStatus(): string | undefined;
|
|
74
|
+
withOwnerName(ownerName: string): DeploymentHostDetail;
|
|
75
|
+
set ownerName(ownerName: string | undefined);
|
|
76
|
+
get ownerName(): string | undefined;
|
|
77
|
+
withUpdatorId(updatorId: string): DeploymentHostDetail;
|
|
78
|
+
set updatorId(updatorId: string | undefined);
|
|
79
|
+
get updatorId(): string | undefined;
|
|
80
|
+
withCreateTime(createTime: string): DeploymentHostDetail;
|
|
81
|
+
set createTime(createTime: string | undefined);
|
|
82
|
+
get createTime(): string | undefined;
|
|
83
|
+
withNickName(nickName: string): DeploymentHostDetail;
|
|
84
|
+
set nickName(nickName: string | undefined);
|
|
85
|
+
get nickName(): string | undefined;
|
|
86
|
+
withOwnerId(ownerId: string): DeploymentHostDetail;
|
|
87
|
+
set ownerId(ownerId: string | undefined);
|
|
88
|
+
get ownerId(): string | undefined;
|
|
89
|
+
withUpdatorName(updatorName: string): DeploymentHostDetail;
|
|
90
|
+
set updatorName(updatorName: string | undefined);
|
|
91
|
+
get updatorName(): string | undefined;
|
|
92
|
+
withConnectionResult(connectionResult: string): DeploymentHostDetail;
|
|
93
|
+
set connectionResult(connectionResult: string | undefined);
|
|
94
|
+
get connectionResult(): string | undefined;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* @export
|
|
98
|
+
* @enum {string}
|
|
99
|
+
*/
|
|
100
|
+
export declare enum DeploymentHostDetailOsEnum {
|
|
101
|
+
WINDOWS = "windows",
|
|
102
|
+
LINUX = "linux"
|
|
103
|
+
}
|