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