@huaweicloud/huaweicloud-sdk-codeartsdeploy 3.1.44 → 3.1.46

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.
Files changed (193) hide show
  1. package/huaweicloud-sdk-codeartsdeploy.ts +4 -0
  2. package/package.json +4 -4
  3. package/v2/{CodeArtsDeployClient.js → CodeArtsDeployClient.ts} +608 -388
  4. package/v2/CodeArtsDeployRegion.ts +40 -0
  5. package/v2/model/AppComponentDao.ts +82 -0
  6. package/v2/model/ConfigInfoDO.ts +73 -0
  7. package/v2/model/CreateDeployTaskByTemplateRequest.ts +33 -0
  8. package/v2/model/CreateDeployTaskByTemplateResponse.ts +30 -0
  9. package/v2/model/CreateDeploymentGroupRequest.ts +33 -0
  10. package/v2/model/CreateDeploymentGroupResponse.ts +19 -0
  11. package/v2/model/CreateDeploymentHostRequest.ts +45 -0
  12. package/v2/model/CreateDeploymentHostResponse.ts +19 -0
  13. package/v2/model/DeleteDeployTaskRequest.ts +39 -0
  14. package/v2/model/DeleteDeployTaskResponse.ts +19 -0
  15. package/v2/model/DeleteDeploymentGroupRequest.ts +39 -0
  16. package/v2/model/DeleteDeploymentGroupResponse.ts +19 -0
  17. package/v2/model/DeleteDeploymentHostRequest.ts +51 -0
  18. package/v2/model/DeleteDeploymentHostResponse.ts +19 -0
  19. package/v2/model/DeploymentGroup.ts +78 -0
  20. package/v2/model/DeploymentGroupDetail.ts +160 -0
  21. package/v2/model/DeploymentGroupUpdateRequest.ts +49 -0
  22. package/v2/model/DeploymentHost.ts +86 -0
  23. package/v2/model/DeploymentHostAuthorizationBody.ts +49 -0
  24. package/v2/model/DeploymentHostDetail.ts +270 -0
  25. package/v2/model/DeploymentHostInfo.ts +98 -0
  26. package/v2/model/DeploymentHostRequest.ts +77 -0
  27. package/v2/model/DeploymentUpdateHost.ts +71 -0
  28. package/v2/model/DynamicConfigInfo.ts +33 -0
  29. package/v2/model/EnvExecutionBody.ts +34 -0
  30. package/v2/model/ExecuteRecordV2Body.ts +75 -0
  31. package/v2/model/KeyValueDO.ts +16 -0
  32. package/v2/model/ListDeployTaskHistoryByDateRequest.ts +81 -0
  33. package/v2/model/ListDeployTaskHistoryByDateResponse.ts +25 -0
  34. package/v2/model/ListDeployTasksRequest.ts +51 -0
  35. package/v2/model/ListDeployTasksResponse.ts +25 -0
  36. package/v2/model/ListHostGroupsRequest.ts +88 -0
  37. package/v2/model/ListHostGroupsResponse.ts +25 -0
  38. package/v2/model/ListHostsRequest.ts +86 -0
  39. package/v2/model/ListHostsResponse.ts +30 -0
  40. package/v2/model/ListTaskSuccessRateRequest.ts +24 -0
  41. package/v2/model/ListTaskSuccessRateResponse.ts +64 -0
  42. package/v2/model/ParamTypeLimits.ts +11 -0
  43. package/v2/model/PermissionGroupDetail.ts +61 -0
  44. package/v2/model/PermissionHostDetail.ts +61 -0
  45. package/v2/model/ShowDeployTaskDetailRequest.ts +18 -0
  46. package/v2/model/ShowDeployTaskDetailResponse.ts +351 -0
  47. package/v2/model/ShowDeploymentGroupDetailRequest.ts +18 -0
  48. package/v2/model/ShowDeploymentGroupDetailResponse.ts +162 -0
  49. package/v2/model/ShowDeploymentHostDetailRequest.ts +30 -0
  50. package/v2/model/ShowDeploymentHostDetailResponse.ts +273 -0
  51. package/v2/model/ShowProjectSuccessRateRequest.ts +42 -0
  52. package/v2/model/ShowProjectSuccessRateResponse.ts +96 -0
  53. package/v2/model/StartDeployTaskRequest.ts +45 -0
  54. package/v2/model/StartDeployTaskResponse.ts +47 -0
  55. package/v2/model/Step.ts +26 -0
  56. package/v2/model/TaskInfo.ts +349 -0
  57. package/v2/model/TaskSuccessRate.ts +61 -0
  58. package/v2/model/TasksSuccessRateQuery.ts +42 -0
  59. package/v2/model/TemplateTaskRequestBody.ts +71 -0
  60. package/v2/model/UpdateDeploymentGroupRequest.ts +45 -0
  61. package/v2/model/UpdateDeploymentGroupResponse.ts +19 -0
  62. package/v2/model/UpdateDeploymentHostRequest.ts +57 -0
  63. package/v2/model/UpdateDeploymentHostResponse.ts +19 -0
  64. package/v2/model/UserInfo.ts +28 -0
  65. package/v2/{public-api.d.ts → public-api.ts} +1 -0
  66. package/LICENSE +0 -13
  67. package/README.md +0 -1
  68. package/huaweicloud-sdk-codeartsdeploy.d.ts +0 -2
  69. package/huaweicloud-sdk-codeartsdeploy.js +0 -31
  70. package/v2/CodeArtsDeployClient.d.ts +0 -538
  71. package/v2/CodeArtsDeployRegion.d.ts +0 -12
  72. package/v2/CodeArtsDeployRegion.js +0 -37
  73. package/v2/model/AppComponentDao.d.ts +0 -31
  74. package/v2/model/AppComponentDao.js +0 -101
  75. package/v2/model/ConfigInfoDO.d.ts +0 -40
  76. package/v2/model/ConfigInfoDO.js +0 -77
  77. package/v2/model/CreateDeployTaskByTemplateRequest.d.ts +0 -18
  78. package/v2/model/CreateDeployTaskByTemplateRequest.js +0 -37
  79. package/v2/model/CreateDeployTaskByTemplateResponse.d.ts +0 -12
  80. package/v2/model/CreateDeployTaskByTemplateResponse.js +0 -55
  81. package/v2/model/CreateDeploymentGroupRequest.d.ts +0 -18
  82. package/v2/model/CreateDeploymentGroupRequest.js +0 -37
  83. package/v2/model/CreateDeploymentGroupResponse.d.ts +0 -8
  84. package/v2/model/CreateDeploymentGroupResponse.js +0 -41
  85. package/v2/model/CreateDeploymentHostRequest.d.ts +0 -22
  86. package/v2/model/CreateDeploymentHostRequest.js +0 -52
  87. package/v2/model/CreateDeploymentHostResponse.d.ts +0 -8
  88. package/v2/model/CreateDeploymentHostResponse.js +0 -41
  89. package/v2/model/DeleteDeployTaskRequest.d.ts +0 -19
  90. package/v2/model/DeleteDeployTaskRequest.js +0 -48
  91. package/v2/model/DeleteDeployTaskResponse.d.ts +0 -8
  92. package/v2/model/DeleteDeployTaskResponse.js +0 -41
  93. package/v2/model/DeleteDeploymentGroupRequest.d.ts +0 -19
  94. package/v2/model/DeleteDeploymentGroupRequest.js +0 -48
  95. package/v2/model/DeleteDeploymentGroupResponse.d.ts +0 -8
  96. package/v2/model/DeleteDeploymentGroupResponse.js +0 -41
  97. package/v2/model/DeleteDeploymentHostRequest.d.ts +0 -23
  98. package/v2/model/DeleteDeploymentHostRequest.js +0 -63
  99. package/v2/model/DeleteDeploymentHostResponse.d.ts +0 -8
  100. package/v2/model/DeleteDeploymentHostResponse.js +0 -41
  101. package/v2/model/DeploymentGroup.d.ts +0 -33
  102. package/v2/model/DeploymentGroup.js +0 -90
  103. package/v2/model/DeploymentGroupDetail.d.ts +0 -61
  104. package/v2/model/DeploymentGroupDetail.js +0 -193
  105. package/v2/model/DeploymentGroupUpdateRequest.d.ts +0 -24
  106. package/v2/model/DeploymentGroupUpdateRequest.js +0 -56
  107. package/v2/model/DeploymentHost.d.ts +0 -36
  108. package/v2/model/DeploymentHost.js +0 -96
  109. package/v2/model/DeploymentHostAuthorizationBody.d.ts +0 -23
  110. package/v2/model/DeploymentHostAuthorizationBody.js +0 -56
  111. package/v2/model/DeploymentHostDetail.d.ts +0 -103
  112. package/v2/model/DeploymentHostDetail.js +0 -325
  113. package/v2/model/DeploymentHostInfo.d.ts +0 -40
  114. package/v2/model/DeploymentHostInfo.js +0 -111
  115. package/v2/model/DeploymentHostRequest.d.ts +0 -28
  116. package/v2/model/DeploymentHostRequest.js +0 -86
  117. package/v2/model/DeploymentUpdateHost.d.ts +0 -26
  118. package/v2/model/DeploymentUpdateHost.js +0 -82
  119. package/v2/model/DynamicConfigInfo.d.ts +0 -19
  120. package/v2/model/DynamicConfigInfo.js +0 -32
  121. package/v2/model/EnvExecutionBody.d.ts +0 -14
  122. package/v2/model/EnvExecutionBody.js +0 -41
  123. package/v2/model/ExecuteRecordV2Body.d.ts +0 -29
  124. package/v2/model/ExecuteRecordV2Body.js +0 -85
  125. package/v2/model/KeyValueDO.d.ts +0 -7
  126. package/v2/model/KeyValueDO.js +0 -17
  127. package/v2/model/ListDeployTaskHistoryByDateRequest.d.ts +0 -33
  128. package/v2/model/ListDeployTaskHistoryByDateRequest.js +0 -93
  129. package/v2/model/ListDeployTaskHistoryByDateResponse.d.ts +0 -11
  130. package/v2/model/ListDeployTaskHistoryByDateResponse.js +0 -45
  131. package/v2/model/ListDeployTasksRequest.d.ts +0 -23
  132. package/v2/model/ListDeployTasksRequest.js +0 -58
  133. package/v2/model/ListDeployTasksResponse.d.ts +0 -11
  134. package/v2/model/ListDeployTasksResponse.js +0 -45
  135. package/v2/model/ListHostGroupsRequest.d.ts +0 -43
  136. package/v2/model/ListHostGroupsRequest.js +0 -100
  137. package/v2/model/ListHostGroupsResponse.d.ts +0 -11
  138. package/v2/model/ListHostGroupsResponse.js +0 -45
  139. package/v2/model/ListHostsRequest.d.ts +0 -37
  140. package/v2/model/ListHostsRequest.js +0 -101
  141. package/v2/model/ListHostsResponse.d.ts +0 -13
  142. package/v2/model/ListHostsResponse.js +0 -49
  143. package/v2/model/ListTaskSuccessRateRequest.d.ts +0 -10
  144. package/v2/model/ListTaskSuccessRateRequest.js +0 -28
  145. package/v2/model/ListTaskSuccessRateResponse.d.ts +0 -25
  146. package/v2/model/ListTaskSuccessRateResponse.js +0 -97
  147. package/v2/model/ParamTypeLimits.d.ts +0 -5
  148. package/v2/model/ParamTypeLimits.js +0 -13
  149. package/v2/model/PermissionGroupDetail.d.ts +0 -23
  150. package/v2/model/PermissionGroupDetail.js +0 -79
  151. package/v2/model/PermissionHostDetail.d.ts +0 -23
  152. package/v2/model/PermissionHostDetail.js +0 -79
  153. package/v2/model/ShowDeployTaskDetailRequest.d.ts +0 -7
  154. package/v2/model/ShowDeployTaskDetailRequest.js +0 -24
  155. package/v2/model/ShowDeployTaskDetailResponse.d.ts +0 -140
  156. package/v2/model/ShowDeployTaskDetailResponse.js +0 -442
  157. package/v2/model/ShowDeploymentGroupDetailRequest.d.ts +0 -7
  158. package/v2/model/ShowDeploymentGroupDetailRequest.js +0 -24
  159. package/v2/model/ShowDeploymentGroupDetailResponse.d.ts +0 -62
  160. package/v2/model/ShowDeploymentGroupDetailResponse.js +0 -211
  161. package/v2/model/ShowDeploymentHostDetailRequest.d.ts +0 -11
  162. package/v2/model/ShowDeploymentHostDetailRequest.js +0 -39
  163. package/v2/model/ShowDeploymentHostDetailResponse.d.ts +0 -105
  164. package/v2/model/ShowDeploymentHostDetailResponse.js +0 -344
  165. package/v2/model/ShowProjectSuccessRateRequest.d.ts +0 -15
  166. package/v2/model/ShowProjectSuccessRateRequest.js +0 -54
  167. package/v2/model/ShowProjectSuccessRateResponse.d.ts +0 -36
  168. package/v2/model/ShowProjectSuccessRateResponse.js +0 -139
  169. package/v2/model/StartDeployTaskRequest.d.ts +0 -22
  170. package/v2/model/StartDeployTaskRequest.js +0 -52
  171. package/v2/model/StartDeployTaskResponse.d.ts +0 -19
  172. package/v2/model/StartDeployTaskResponse.js +0 -73
  173. package/v2/model/Step.d.ts +0 -15
  174. package/v2/model/Step.js +0 -25
  175. package/v2/model/TaskInfo.d.ts +0 -139
  176. package/v2/model/TaskInfo.js +0 -424
  177. package/v2/model/TaskSuccessRate.d.ts +0 -23
  178. package/v2/model/TaskSuccessRate.js +0 -79
  179. package/v2/model/TasksSuccessRateQuery.d.ts +0 -15
  180. package/v2/model/TasksSuccessRateQuery.js +0 -54
  181. package/v2/model/TemplateTaskRequestBody.d.ts +0 -26
  182. package/v2/model/TemplateTaskRequestBody.js +0 -87
  183. package/v2/model/UpdateDeploymentGroupRequest.d.ts +0 -22
  184. package/v2/model/UpdateDeploymentGroupRequest.js +0 -52
  185. package/v2/model/UpdateDeploymentGroupResponse.d.ts +0 -8
  186. package/v2/model/UpdateDeploymentGroupResponse.js +0 -41
  187. package/v2/model/UpdateDeploymentHostRequest.d.ts +0 -26
  188. package/v2/model/UpdateDeploymentHostRequest.js +0 -67
  189. package/v2/model/UpdateDeploymentHostResponse.d.ts +0 -8
  190. package/v2/model/UpdateDeploymentHostResponse.js +0 -41
  191. package/v2/model/UserInfo.d.ts +0 -11
  192. package/v2/model/UserInfo.js +0 -37
  193. package/v2/public-api.js +0 -78
@@ -1,344 +0,0 @@
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 = {}));
@@ -1,15 +0,0 @@
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
- }
@@ -1,54 +0,0 @@
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;
@@ -1,36 +0,0 @@
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
- }
@@ -1,139 +0,0 @@
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;
@@ -1,22 +0,0 @@
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
- }
@@ -1,52 +0,0 @@
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 = {}));
@@ -1,19 +0,0 @@
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
- }