@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,325 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeploymentHostDetailOsEnum = exports.DeploymentHostDetail = void 0;
|
|
4
|
+
var DeploymentHostDetail = /** @class */ (function () {
|
|
5
|
+
function DeploymentHostDetail(groupId, hostName, ip, port, os, asProxy, authorization) {
|
|
6
|
+
this['group_id'] = groupId;
|
|
7
|
+
this['host_name'] = hostName;
|
|
8
|
+
this['ip'] = ip;
|
|
9
|
+
this['port'] = port;
|
|
10
|
+
this['os'] = os;
|
|
11
|
+
this['as_proxy'] = asProxy;
|
|
12
|
+
this['authorization'] = authorization;
|
|
13
|
+
}
|
|
14
|
+
DeploymentHostDetail.prototype.withGroupId = function (groupId) {
|
|
15
|
+
this['group_id'] = groupId;
|
|
16
|
+
return this;
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "groupId", {
|
|
19
|
+
get: function () {
|
|
20
|
+
return this['group_id'];
|
|
21
|
+
},
|
|
22
|
+
set: function (groupId) {
|
|
23
|
+
this['group_id'] = groupId;
|
|
24
|
+
},
|
|
25
|
+
enumerable: false,
|
|
26
|
+
configurable: true
|
|
27
|
+
});
|
|
28
|
+
DeploymentHostDetail.prototype.withHostName = function (hostName) {
|
|
29
|
+
this['host_name'] = hostName;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "hostName", {
|
|
33
|
+
get: function () {
|
|
34
|
+
return this['host_name'];
|
|
35
|
+
},
|
|
36
|
+
set: function (hostName) {
|
|
37
|
+
this['host_name'] = hostName;
|
|
38
|
+
},
|
|
39
|
+
enumerable: false,
|
|
40
|
+
configurable: true
|
|
41
|
+
});
|
|
42
|
+
DeploymentHostDetail.prototype.withIp = function (ip) {
|
|
43
|
+
this['ip'] = ip;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
DeploymentHostDetail.prototype.withPort = function (port) {
|
|
47
|
+
this['port'] = port;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
DeploymentHostDetail.prototype.withOs = function (os) {
|
|
51
|
+
this['os'] = os;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
DeploymentHostDetail.prototype.withAsProxy = function (asProxy) {
|
|
55
|
+
this['as_proxy'] = asProxy;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "asProxy", {
|
|
59
|
+
get: function () {
|
|
60
|
+
return this['as_proxy'];
|
|
61
|
+
},
|
|
62
|
+
set: function (asProxy) {
|
|
63
|
+
this['as_proxy'] = asProxy;
|
|
64
|
+
},
|
|
65
|
+
enumerable: false,
|
|
66
|
+
configurable: true
|
|
67
|
+
});
|
|
68
|
+
DeploymentHostDetail.prototype.withProxyHostId = function (proxyHostId) {
|
|
69
|
+
this['proxy_host_id'] = proxyHostId;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "proxyHostId", {
|
|
73
|
+
get: function () {
|
|
74
|
+
return this['proxy_host_id'];
|
|
75
|
+
},
|
|
76
|
+
set: function (proxyHostId) {
|
|
77
|
+
this['proxy_host_id'] = proxyHostId;
|
|
78
|
+
},
|
|
79
|
+
enumerable: false,
|
|
80
|
+
configurable: true
|
|
81
|
+
});
|
|
82
|
+
DeploymentHostDetail.prototype.withAuthorization = function (authorization) {
|
|
83
|
+
this['authorization'] = authorization;
|
|
84
|
+
return this;
|
|
85
|
+
};
|
|
86
|
+
DeploymentHostDetail.prototype.withInstallIcagent = function (installIcagent) {
|
|
87
|
+
this['install_icagent'] = installIcagent;
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "installIcagent", {
|
|
91
|
+
get: function () {
|
|
92
|
+
return this['install_icagent'];
|
|
93
|
+
},
|
|
94
|
+
set: function (installIcagent) {
|
|
95
|
+
this['install_icagent'] = installIcagent;
|
|
96
|
+
},
|
|
97
|
+
enumerable: false,
|
|
98
|
+
configurable: true
|
|
99
|
+
});
|
|
100
|
+
DeploymentHostDetail.prototype.withHostId = function (hostId) {
|
|
101
|
+
this['host_id'] = hostId;
|
|
102
|
+
return this;
|
|
103
|
+
};
|
|
104
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "hostId", {
|
|
105
|
+
get: function () {
|
|
106
|
+
return this['host_id'];
|
|
107
|
+
},
|
|
108
|
+
set: function (hostId) {
|
|
109
|
+
this['host_id'] = hostId;
|
|
110
|
+
},
|
|
111
|
+
enumerable: false,
|
|
112
|
+
configurable: true
|
|
113
|
+
});
|
|
114
|
+
DeploymentHostDetail.prototype.withProxyHost = function (proxyHost) {
|
|
115
|
+
this['proxy_host'] = proxyHost;
|
|
116
|
+
return this;
|
|
117
|
+
};
|
|
118
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "proxyHost", {
|
|
119
|
+
get: function () {
|
|
120
|
+
return this['proxy_host'];
|
|
121
|
+
},
|
|
122
|
+
set: function (proxyHost) {
|
|
123
|
+
this['proxy_host'] = proxyHost;
|
|
124
|
+
},
|
|
125
|
+
enumerable: false,
|
|
126
|
+
configurable: true
|
|
127
|
+
});
|
|
128
|
+
DeploymentHostDetail.prototype.withGroupName = function (groupName) {
|
|
129
|
+
this['group_name'] = groupName;
|
|
130
|
+
return this;
|
|
131
|
+
};
|
|
132
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "groupName", {
|
|
133
|
+
get: function () {
|
|
134
|
+
return this['group_name'];
|
|
135
|
+
},
|
|
136
|
+
set: function (groupName) {
|
|
137
|
+
this['group_name'] = groupName;
|
|
138
|
+
},
|
|
139
|
+
enumerable: false,
|
|
140
|
+
configurable: true
|
|
141
|
+
});
|
|
142
|
+
DeploymentHostDetail.prototype.withProjectId = function (projectId) {
|
|
143
|
+
this['project_id'] = projectId;
|
|
144
|
+
return this;
|
|
145
|
+
};
|
|
146
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "projectId", {
|
|
147
|
+
get: function () {
|
|
148
|
+
return this['project_id'];
|
|
149
|
+
},
|
|
150
|
+
set: function (projectId) {
|
|
151
|
+
this['project_id'] = projectId;
|
|
152
|
+
},
|
|
153
|
+
enumerable: false,
|
|
154
|
+
configurable: true
|
|
155
|
+
});
|
|
156
|
+
DeploymentHostDetail.prototype.withProjectName = function (projectName) {
|
|
157
|
+
this['project_name'] = projectName;
|
|
158
|
+
return this;
|
|
159
|
+
};
|
|
160
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "projectName", {
|
|
161
|
+
get: function () {
|
|
162
|
+
return this['project_name'];
|
|
163
|
+
},
|
|
164
|
+
set: function (projectName) {
|
|
165
|
+
this['project_name'] = projectName;
|
|
166
|
+
},
|
|
167
|
+
enumerable: false,
|
|
168
|
+
configurable: true
|
|
169
|
+
});
|
|
170
|
+
DeploymentHostDetail.prototype.withPermission = function (permission) {
|
|
171
|
+
this['permission'] = permission;
|
|
172
|
+
return this;
|
|
173
|
+
};
|
|
174
|
+
DeploymentHostDetail.prototype.withUpdateTime = function (updateTime) {
|
|
175
|
+
this['update_time'] = updateTime;
|
|
176
|
+
return this;
|
|
177
|
+
};
|
|
178
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "updateTime", {
|
|
179
|
+
get: function () {
|
|
180
|
+
return this['update_time'];
|
|
181
|
+
},
|
|
182
|
+
set: function (updateTime) {
|
|
183
|
+
this['update_time'] = updateTime;
|
|
184
|
+
},
|
|
185
|
+
enumerable: false,
|
|
186
|
+
configurable: true
|
|
187
|
+
});
|
|
188
|
+
DeploymentHostDetail.prototype.withLastestConnectionTime = function (lastestConnectionTime) {
|
|
189
|
+
this['lastest_connection_time'] = lastestConnectionTime;
|
|
190
|
+
return this;
|
|
191
|
+
};
|
|
192
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "lastestConnectionTime", {
|
|
193
|
+
get: function () {
|
|
194
|
+
return this['lastest_connection_time'];
|
|
195
|
+
},
|
|
196
|
+
set: function (lastestConnectionTime) {
|
|
197
|
+
this['lastest_connection_time'] = lastestConnectionTime;
|
|
198
|
+
},
|
|
199
|
+
enumerable: false,
|
|
200
|
+
configurable: true
|
|
201
|
+
});
|
|
202
|
+
DeploymentHostDetail.prototype.withConnectionStatus = function (connectionStatus) {
|
|
203
|
+
this['connection_status'] = connectionStatus;
|
|
204
|
+
return this;
|
|
205
|
+
};
|
|
206
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "connectionStatus", {
|
|
207
|
+
get: function () {
|
|
208
|
+
return this['connection_status'];
|
|
209
|
+
},
|
|
210
|
+
set: function (connectionStatus) {
|
|
211
|
+
this['connection_status'] = connectionStatus;
|
|
212
|
+
},
|
|
213
|
+
enumerable: false,
|
|
214
|
+
configurable: true
|
|
215
|
+
});
|
|
216
|
+
DeploymentHostDetail.prototype.withOwnerName = function (ownerName) {
|
|
217
|
+
this['owner_name'] = ownerName;
|
|
218
|
+
return this;
|
|
219
|
+
};
|
|
220
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "ownerName", {
|
|
221
|
+
get: function () {
|
|
222
|
+
return this['owner_name'];
|
|
223
|
+
},
|
|
224
|
+
set: function (ownerName) {
|
|
225
|
+
this['owner_name'] = ownerName;
|
|
226
|
+
},
|
|
227
|
+
enumerable: false,
|
|
228
|
+
configurable: true
|
|
229
|
+
});
|
|
230
|
+
DeploymentHostDetail.prototype.withUpdatorId = function (updatorId) {
|
|
231
|
+
this['updator_id'] = updatorId;
|
|
232
|
+
return this;
|
|
233
|
+
};
|
|
234
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "updatorId", {
|
|
235
|
+
get: function () {
|
|
236
|
+
return this['updator_id'];
|
|
237
|
+
},
|
|
238
|
+
set: function (updatorId) {
|
|
239
|
+
this['updator_id'] = updatorId;
|
|
240
|
+
},
|
|
241
|
+
enumerable: false,
|
|
242
|
+
configurable: true
|
|
243
|
+
});
|
|
244
|
+
DeploymentHostDetail.prototype.withCreateTime = function (createTime) {
|
|
245
|
+
this['create_time'] = createTime;
|
|
246
|
+
return this;
|
|
247
|
+
};
|
|
248
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "createTime", {
|
|
249
|
+
get: function () {
|
|
250
|
+
return this['create_time'];
|
|
251
|
+
},
|
|
252
|
+
set: function (createTime) {
|
|
253
|
+
this['create_time'] = createTime;
|
|
254
|
+
},
|
|
255
|
+
enumerable: false,
|
|
256
|
+
configurable: true
|
|
257
|
+
});
|
|
258
|
+
DeploymentHostDetail.prototype.withNickName = function (nickName) {
|
|
259
|
+
this['nick_name'] = nickName;
|
|
260
|
+
return this;
|
|
261
|
+
};
|
|
262
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "nickName", {
|
|
263
|
+
get: function () {
|
|
264
|
+
return this['nick_name'];
|
|
265
|
+
},
|
|
266
|
+
set: function (nickName) {
|
|
267
|
+
this['nick_name'] = nickName;
|
|
268
|
+
},
|
|
269
|
+
enumerable: false,
|
|
270
|
+
configurable: true
|
|
271
|
+
});
|
|
272
|
+
DeploymentHostDetail.prototype.withOwnerId = function (ownerId) {
|
|
273
|
+
this['owner_id'] = ownerId;
|
|
274
|
+
return this;
|
|
275
|
+
};
|
|
276
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "ownerId", {
|
|
277
|
+
get: function () {
|
|
278
|
+
return this['owner_id'];
|
|
279
|
+
},
|
|
280
|
+
set: function (ownerId) {
|
|
281
|
+
this['owner_id'] = ownerId;
|
|
282
|
+
},
|
|
283
|
+
enumerable: false,
|
|
284
|
+
configurable: true
|
|
285
|
+
});
|
|
286
|
+
DeploymentHostDetail.prototype.withUpdatorName = function (updatorName) {
|
|
287
|
+
this['updator_name'] = updatorName;
|
|
288
|
+
return this;
|
|
289
|
+
};
|
|
290
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "updatorName", {
|
|
291
|
+
get: function () {
|
|
292
|
+
return this['updator_name'];
|
|
293
|
+
},
|
|
294
|
+
set: function (updatorName) {
|
|
295
|
+
this['updator_name'] = updatorName;
|
|
296
|
+
},
|
|
297
|
+
enumerable: false,
|
|
298
|
+
configurable: true
|
|
299
|
+
});
|
|
300
|
+
DeploymentHostDetail.prototype.withConnectionResult = function (connectionResult) {
|
|
301
|
+
this['connection_result'] = connectionResult;
|
|
302
|
+
return this;
|
|
303
|
+
};
|
|
304
|
+
Object.defineProperty(DeploymentHostDetail.prototype, "connectionResult", {
|
|
305
|
+
get: function () {
|
|
306
|
+
return this['connection_result'];
|
|
307
|
+
},
|
|
308
|
+
set: function (connectionResult) {
|
|
309
|
+
this['connection_result'] = connectionResult;
|
|
310
|
+
},
|
|
311
|
+
enumerable: false,
|
|
312
|
+
configurable: true
|
|
313
|
+
});
|
|
314
|
+
return DeploymentHostDetail;
|
|
315
|
+
}());
|
|
316
|
+
exports.DeploymentHostDetail = DeploymentHostDetail;
|
|
317
|
+
/**
|
|
318
|
+
* @export
|
|
319
|
+
* @enum {string}
|
|
320
|
+
*/
|
|
321
|
+
var DeploymentHostDetailOsEnum;
|
|
322
|
+
(function (DeploymentHostDetailOsEnum) {
|
|
323
|
+
DeploymentHostDetailOsEnum["WINDOWS"] = "windows";
|
|
324
|
+
DeploymentHostDetailOsEnum["LINUX"] = "linux";
|
|
325
|
+
})(DeploymentHostDetailOsEnum || (exports.DeploymentHostDetailOsEnum = DeploymentHostDetailOsEnum = {}));
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DeploymentHostAuthorizationBody } from './DeploymentHostAuthorizationBody';
|
|
2
|
+
export declare class DeploymentHostInfo {
|
|
3
|
+
private 'group_id';
|
|
4
|
+
private 'host_name';
|
|
5
|
+
ip: string;
|
|
6
|
+
port: number;
|
|
7
|
+
os: DeploymentHostInfoOsEnum;
|
|
8
|
+
private 'as_proxy';
|
|
9
|
+
private 'proxy_host_id'?;
|
|
10
|
+
authorization: DeploymentHostAuthorizationBody;
|
|
11
|
+
private 'install_icagent'?;
|
|
12
|
+
constructor(groupId?: any, hostName?: any, ip?: any, port?: any, os?: any, asProxy?: any, authorization?: any);
|
|
13
|
+
withGroupId(groupId: string): DeploymentHostInfo;
|
|
14
|
+
set groupId(groupId: string | undefined);
|
|
15
|
+
get groupId(): string | undefined;
|
|
16
|
+
withHostName(hostName: string): DeploymentHostInfo;
|
|
17
|
+
set hostName(hostName: string | undefined);
|
|
18
|
+
get hostName(): string | undefined;
|
|
19
|
+
withIp(ip: string): DeploymentHostInfo;
|
|
20
|
+
withPort(port: number): DeploymentHostInfo;
|
|
21
|
+
withOs(os: DeploymentHostInfoOsEnum): DeploymentHostInfo;
|
|
22
|
+
withAsProxy(asProxy: boolean): DeploymentHostInfo;
|
|
23
|
+
set asProxy(asProxy: boolean | undefined);
|
|
24
|
+
get asProxy(): boolean | undefined;
|
|
25
|
+
withProxyHostId(proxyHostId: string): DeploymentHostInfo;
|
|
26
|
+
set proxyHostId(proxyHostId: string | undefined);
|
|
27
|
+
get proxyHostId(): string | undefined;
|
|
28
|
+
withAuthorization(authorization: DeploymentHostAuthorizationBody): DeploymentHostInfo;
|
|
29
|
+
withInstallIcagent(installIcagent: boolean): DeploymentHostInfo;
|
|
30
|
+
set installIcagent(installIcagent: boolean | undefined);
|
|
31
|
+
get installIcagent(): boolean | undefined;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
* @enum {string}
|
|
36
|
+
*/
|
|
37
|
+
export declare enum DeploymentHostInfoOsEnum {
|
|
38
|
+
WINDOWS = "windows",
|
|
39
|
+
LINUX = "linux"
|
|
40
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeploymentHostInfoOsEnum = exports.DeploymentHostInfo = void 0;
|
|
4
|
+
var DeploymentHostInfo = /** @class */ (function () {
|
|
5
|
+
function DeploymentHostInfo(groupId, hostName, ip, port, os, asProxy, authorization) {
|
|
6
|
+
this['group_id'] = groupId;
|
|
7
|
+
this['host_name'] = hostName;
|
|
8
|
+
this['ip'] = ip;
|
|
9
|
+
this['port'] = port;
|
|
10
|
+
this['os'] = os;
|
|
11
|
+
this['as_proxy'] = asProxy;
|
|
12
|
+
this['authorization'] = authorization;
|
|
13
|
+
}
|
|
14
|
+
DeploymentHostInfo.prototype.withGroupId = function (groupId) {
|
|
15
|
+
this['group_id'] = groupId;
|
|
16
|
+
return this;
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(DeploymentHostInfo.prototype, "groupId", {
|
|
19
|
+
get: function () {
|
|
20
|
+
return this['group_id'];
|
|
21
|
+
},
|
|
22
|
+
set: function (groupId) {
|
|
23
|
+
this['group_id'] = groupId;
|
|
24
|
+
},
|
|
25
|
+
enumerable: false,
|
|
26
|
+
configurable: true
|
|
27
|
+
});
|
|
28
|
+
DeploymentHostInfo.prototype.withHostName = function (hostName) {
|
|
29
|
+
this['host_name'] = hostName;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
Object.defineProperty(DeploymentHostInfo.prototype, "hostName", {
|
|
33
|
+
get: function () {
|
|
34
|
+
return this['host_name'];
|
|
35
|
+
},
|
|
36
|
+
set: function (hostName) {
|
|
37
|
+
this['host_name'] = hostName;
|
|
38
|
+
},
|
|
39
|
+
enumerable: false,
|
|
40
|
+
configurable: true
|
|
41
|
+
});
|
|
42
|
+
DeploymentHostInfo.prototype.withIp = function (ip) {
|
|
43
|
+
this['ip'] = ip;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
DeploymentHostInfo.prototype.withPort = function (port) {
|
|
47
|
+
this['port'] = port;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
DeploymentHostInfo.prototype.withOs = function (os) {
|
|
51
|
+
this['os'] = os;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
DeploymentHostInfo.prototype.withAsProxy = function (asProxy) {
|
|
55
|
+
this['as_proxy'] = asProxy;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
Object.defineProperty(DeploymentHostInfo.prototype, "asProxy", {
|
|
59
|
+
get: function () {
|
|
60
|
+
return this['as_proxy'];
|
|
61
|
+
},
|
|
62
|
+
set: function (asProxy) {
|
|
63
|
+
this['as_proxy'] = asProxy;
|
|
64
|
+
},
|
|
65
|
+
enumerable: false,
|
|
66
|
+
configurable: true
|
|
67
|
+
});
|
|
68
|
+
DeploymentHostInfo.prototype.withProxyHostId = function (proxyHostId) {
|
|
69
|
+
this['proxy_host_id'] = proxyHostId;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
Object.defineProperty(DeploymentHostInfo.prototype, "proxyHostId", {
|
|
73
|
+
get: function () {
|
|
74
|
+
return this['proxy_host_id'];
|
|
75
|
+
},
|
|
76
|
+
set: function (proxyHostId) {
|
|
77
|
+
this['proxy_host_id'] = proxyHostId;
|
|
78
|
+
},
|
|
79
|
+
enumerable: false,
|
|
80
|
+
configurable: true
|
|
81
|
+
});
|
|
82
|
+
DeploymentHostInfo.prototype.withAuthorization = function (authorization) {
|
|
83
|
+
this['authorization'] = authorization;
|
|
84
|
+
return this;
|
|
85
|
+
};
|
|
86
|
+
DeploymentHostInfo.prototype.withInstallIcagent = function (installIcagent) {
|
|
87
|
+
this['install_icagent'] = installIcagent;
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
Object.defineProperty(DeploymentHostInfo.prototype, "installIcagent", {
|
|
91
|
+
get: function () {
|
|
92
|
+
return this['install_icagent'];
|
|
93
|
+
},
|
|
94
|
+
set: function (installIcagent) {
|
|
95
|
+
this['install_icagent'] = installIcagent;
|
|
96
|
+
},
|
|
97
|
+
enumerable: false,
|
|
98
|
+
configurable: true
|
|
99
|
+
});
|
|
100
|
+
return DeploymentHostInfo;
|
|
101
|
+
}());
|
|
102
|
+
exports.DeploymentHostInfo = DeploymentHostInfo;
|
|
103
|
+
/**
|
|
104
|
+
* @export
|
|
105
|
+
* @enum {string}
|
|
106
|
+
*/
|
|
107
|
+
var DeploymentHostInfoOsEnum;
|
|
108
|
+
(function (DeploymentHostInfoOsEnum) {
|
|
109
|
+
DeploymentHostInfoOsEnum["WINDOWS"] = "windows";
|
|
110
|
+
DeploymentHostInfoOsEnum["LINUX"] = "linux";
|
|
111
|
+
})(DeploymentHostInfoOsEnum || (exports.DeploymentHostInfoOsEnum = DeploymentHostInfoOsEnum = {}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DeploymentHostAuthorizationBody } from './DeploymentHostAuthorizationBody';
|
|
2
|
+
export declare class DeploymentHostRequest {
|
|
3
|
+
private 'host_name';
|
|
4
|
+
ip: string;
|
|
5
|
+
port: number;
|
|
6
|
+
private 'as_proxy';
|
|
7
|
+
private 'proxy_host_id'?;
|
|
8
|
+
authorization: DeploymentHostAuthorizationBody;
|
|
9
|
+
private 'install_icagent'?;
|
|
10
|
+
sync?: boolean;
|
|
11
|
+
constructor(hostName?: any, ip?: any, port?: any, asProxy?: any, authorization?: any);
|
|
12
|
+
withHostName(hostName: string): DeploymentHostRequest;
|
|
13
|
+
set hostName(hostName: string | undefined);
|
|
14
|
+
get hostName(): string | undefined;
|
|
15
|
+
withIp(ip: string): DeploymentHostRequest;
|
|
16
|
+
withPort(port: number): DeploymentHostRequest;
|
|
17
|
+
withAsProxy(asProxy: boolean): DeploymentHostRequest;
|
|
18
|
+
set asProxy(asProxy: boolean | undefined);
|
|
19
|
+
get asProxy(): boolean | undefined;
|
|
20
|
+
withProxyHostId(proxyHostId: string): DeploymentHostRequest;
|
|
21
|
+
set proxyHostId(proxyHostId: string | undefined);
|
|
22
|
+
get proxyHostId(): string | undefined;
|
|
23
|
+
withAuthorization(authorization: DeploymentHostAuthorizationBody): DeploymentHostRequest;
|
|
24
|
+
withInstallIcagent(installIcagent: boolean): DeploymentHostRequest;
|
|
25
|
+
set installIcagent(installIcagent: boolean | undefined);
|
|
26
|
+
get installIcagent(): boolean | undefined;
|
|
27
|
+
withSync(sync: boolean): DeploymentHostRequest;
|
|
28
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeploymentHostRequest = void 0;
|
|
4
|
+
var DeploymentHostRequest = /** @class */ (function () {
|
|
5
|
+
function DeploymentHostRequest(hostName, ip, port, asProxy, authorization) {
|
|
6
|
+
this['host_name'] = hostName;
|
|
7
|
+
this['ip'] = ip;
|
|
8
|
+
this['port'] = port;
|
|
9
|
+
this['as_proxy'] = asProxy;
|
|
10
|
+
this['authorization'] = authorization;
|
|
11
|
+
}
|
|
12
|
+
DeploymentHostRequest.prototype.withHostName = function (hostName) {
|
|
13
|
+
this['host_name'] = hostName;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(DeploymentHostRequest.prototype, "hostName", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this['host_name'];
|
|
19
|
+
},
|
|
20
|
+
set: function (hostName) {
|
|
21
|
+
this['host_name'] = hostName;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
DeploymentHostRequest.prototype.withIp = function (ip) {
|
|
27
|
+
this['ip'] = ip;
|
|
28
|
+
return this;
|
|
29
|
+
};
|
|
30
|
+
DeploymentHostRequest.prototype.withPort = function (port) {
|
|
31
|
+
this['port'] = port;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
DeploymentHostRequest.prototype.withAsProxy = function (asProxy) {
|
|
35
|
+
this['as_proxy'] = asProxy;
|
|
36
|
+
return this;
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(DeploymentHostRequest.prototype, "asProxy", {
|
|
39
|
+
get: function () {
|
|
40
|
+
return this['as_proxy'];
|
|
41
|
+
},
|
|
42
|
+
set: function (asProxy) {
|
|
43
|
+
this['as_proxy'] = asProxy;
|
|
44
|
+
},
|
|
45
|
+
enumerable: false,
|
|
46
|
+
configurable: true
|
|
47
|
+
});
|
|
48
|
+
DeploymentHostRequest.prototype.withProxyHostId = function (proxyHostId) {
|
|
49
|
+
this['proxy_host_id'] = proxyHostId;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(DeploymentHostRequest.prototype, "proxyHostId", {
|
|
53
|
+
get: function () {
|
|
54
|
+
return this['proxy_host_id'];
|
|
55
|
+
},
|
|
56
|
+
set: function (proxyHostId) {
|
|
57
|
+
this['proxy_host_id'] = proxyHostId;
|
|
58
|
+
},
|
|
59
|
+
enumerable: false,
|
|
60
|
+
configurable: true
|
|
61
|
+
});
|
|
62
|
+
DeploymentHostRequest.prototype.withAuthorization = function (authorization) {
|
|
63
|
+
this['authorization'] = authorization;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
DeploymentHostRequest.prototype.withInstallIcagent = function (installIcagent) {
|
|
67
|
+
this['install_icagent'] = installIcagent;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
Object.defineProperty(DeploymentHostRequest.prototype, "installIcagent", {
|
|
71
|
+
get: function () {
|
|
72
|
+
return this['install_icagent'];
|
|
73
|
+
},
|
|
74
|
+
set: function (installIcagent) {
|
|
75
|
+
this['install_icagent'] = installIcagent;
|
|
76
|
+
},
|
|
77
|
+
enumerable: false,
|
|
78
|
+
configurable: true
|
|
79
|
+
});
|
|
80
|
+
DeploymentHostRequest.prototype.withSync = function (sync) {
|
|
81
|
+
this['sync'] = sync;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
return DeploymentHostRequest;
|
|
85
|
+
}());
|
|
86
|
+
exports.DeploymentHostRequest = DeploymentHostRequest;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DeploymentHostAuthorizationBody } from './DeploymentHostAuthorizationBody';
|
|
2
|
+
export declare class DeploymentUpdateHost {
|
|
3
|
+
private 'host_name';
|
|
4
|
+
ip: string;
|
|
5
|
+
port: number;
|
|
6
|
+
private 'as_proxy';
|
|
7
|
+
private 'proxy_host_id'?;
|
|
8
|
+
authorization: DeploymentHostAuthorizationBody;
|
|
9
|
+
private 'install_icagent'?;
|
|
10
|
+
constructor(hostName?: any, ip?: any, port?: any, asProxy?: any, authorization?: any);
|
|
11
|
+
withHostName(hostName: string): DeploymentUpdateHost;
|
|
12
|
+
set hostName(hostName: string | undefined);
|
|
13
|
+
get hostName(): string | undefined;
|
|
14
|
+
withIp(ip: string): DeploymentUpdateHost;
|
|
15
|
+
withPort(port: number): DeploymentUpdateHost;
|
|
16
|
+
withAsProxy(asProxy: boolean): DeploymentUpdateHost;
|
|
17
|
+
set asProxy(asProxy: boolean | undefined);
|
|
18
|
+
get asProxy(): boolean | undefined;
|
|
19
|
+
withProxyHostId(proxyHostId: string): DeploymentUpdateHost;
|
|
20
|
+
set proxyHostId(proxyHostId: string | undefined);
|
|
21
|
+
get proxyHostId(): string | undefined;
|
|
22
|
+
withAuthorization(authorization: DeploymentHostAuthorizationBody): DeploymentUpdateHost;
|
|
23
|
+
withInstallIcagent(installIcagent: boolean): DeploymentUpdateHost;
|
|
24
|
+
set installIcagent(installIcagent: boolean | undefined);
|
|
25
|
+
get installIcagent(): boolean | undefined;
|
|
26
|
+
}
|