@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,442 +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.ShowDeployTaskDetailResponseStateEnum = exports.ShowDeployTaskDetailResponse = void 0;
19
- var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
- var ShowDeployTaskDetailResponse = /** @class */ (function (_super) {
21
- __extends(ShowDeployTaskDetailResponse, _super);
22
- function ShowDeployTaskDetailResponse() {
23
- return _super.call(this) || this;
24
- }
25
- ShowDeployTaskDetailResponse.prototype.withTaskId = function (taskId) {
26
- this['task_id'] = taskId;
27
- return this;
28
- };
29
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "taskId", {
30
- get: function () {
31
- return this['task_id'];
32
- },
33
- set: function (taskId) {
34
- this['task_id'] = taskId;
35
- },
36
- enumerable: false,
37
- configurable: true
38
- });
39
- ShowDeployTaskDetailResponse.prototype.withName = function (name) {
40
- this['name'] = name;
41
- return this;
42
- };
43
- ShowDeployTaskDetailResponse.prototype.withProjectId = function (projectId) {
44
- this['project_id'] = projectId;
45
- return this;
46
- };
47
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "projectId", {
48
- get: function () {
49
- return this['project_id'];
50
- },
51
- set: function (projectId) {
52
- this['project_id'] = projectId;
53
- },
54
- enumerable: false,
55
- configurable: true
56
- });
57
- ShowDeployTaskDetailResponse.prototype.withProjectName = function (projectName) {
58
- this['project_name'] = projectName;
59
- return this;
60
- };
61
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "projectName", {
62
- get: function () {
63
- return this['project_name'];
64
- },
65
- set: function (projectName) {
66
- this['project_name'] = projectName;
67
- },
68
- enumerable: false,
69
- configurable: true
70
- });
71
- ShowDeployTaskDetailResponse.prototype.withDeploySystem = function (deploySystem) {
72
- this['deploy_system'] = deploySystem;
73
- return this;
74
- };
75
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "deploySystem", {
76
- get: function () {
77
- return this['deploy_system'];
78
- },
79
- set: function (deploySystem) {
80
- this['deploy_system'] = deploySystem;
81
- },
82
- enumerable: false,
83
- configurable: true
84
- });
85
- ShowDeployTaskDetailResponse.prototype.withCreateTime = function (createTime) {
86
- this['create_time'] = createTime;
87
- return this;
88
- };
89
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "createTime", {
90
- get: function () {
91
- return this['create_time'];
92
- },
93
- set: function (createTime) {
94
- this['create_time'] = createTime;
95
- },
96
- enumerable: false,
97
- configurable: true
98
- });
99
- ShowDeployTaskDetailResponse.prototype.withUpdateTime = function (updateTime) {
100
- this['update_time'] = updateTime;
101
- return this;
102
- };
103
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "updateTime", {
104
- get: function () {
105
- return this['update_time'];
106
- },
107
- set: function (updateTime) {
108
- this['update_time'] = updateTime;
109
- },
110
- enumerable: false,
111
- configurable: true
112
- });
113
- ShowDeployTaskDetailResponse.prototype.withState = function (state) {
114
- this['state'] = state;
115
- return this;
116
- };
117
- ShowDeployTaskDetailResponse.prototype.withExecutionTime = function (executionTime) {
118
- this['execution_time'] = executionTime;
119
- return this;
120
- };
121
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "executionTime", {
122
- get: function () {
123
- return this['execution_time'];
124
- },
125
- set: function (executionTime) {
126
- this['execution_time'] = executionTime;
127
- },
128
- enumerable: false,
129
- configurable: true
130
- });
131
- ShowDeployTaskDetailResponse.prototype.withDescription = function (description) {
132
- this['description'] = description;
133
- return this;
134
- };
135
- ShowDeployTaskDetailResponse.prototype.withIsDefautPermission = function (isDefautPermission) {
136
- this['is_defaut_permission'] = isDefautPermission;
137
- return this;
138
- };
139
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "isDefautPermission", {
140
- get: function () {
141
- return this['is_defaut_permission'];
142
- },
143
- set: function (isDefautPermission) {
144
- this['is_defaut_permission'] = isDefautPermission;
145
- },
146
- enumerable: false,
147
- configurable: true
148
- });
149
- ShowDeployTaskDetailResponse.prototype.withTemplateId = function (templateId) {
150
- this['template_id'] = templateId;
151
- return this;
152
- };
153
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "templateId", {
154
- get: function () {
155
- return this['template_id'];
156
- },
157
- set: function (templateId) {
158
- this['template_id'] = templateId;
159
- },
160
- enumerable: false,
161
- configurable: true
162
- });
163
- ShowDeployTaskDetailResponse.prototype.withOwner = function (owner) {
164
- this['owner'] = owner;
165
- return this;
166
- };
167
- ShowDeployTaskDetailResponse.prototype.withNickName = function (nickName) {
168
- this['nick_name'] = nickName;
169
- return this;
170
- };
171
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "nickName", {
172
- get: function () {
173
- return this['nick_name'];
174
- },
175
- set: function (nickName) {
176
- this['nick_name'] = nickName;
177
- },
178
- enumerable: false,
179
- configurable: true
180
- });
181
- ShowDeployTaskDetailResponse.prototype.withOwnerId = function (ownerId) {
182
- this['owner_id'] = ownerId;
183
- return this;
184
- };
185
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "ownerId", {
186
- get: function () {
187
- return this['owner_id'];
188
- },
189
- set: function (ownerId) {
190
- this['owner_id'] = ownerId;
191
- },
192
- enumerable: false,
193
- configurable: true
194
- });
195
- ShowDeployTaskDetailResponse.prototype.withTenantId = function (tenantId) {
196
- this['tenant_id'] = tenantId;
197
- return this;
198
- };
199
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "tenantId", {
200
- get: function () {
201
- return this['tenant_id'];
202
- },
203
- set: function (tenantId) {
204
- this['tenant_id'] = tenantId;
205
- },
206
- enumerable: false,
207
- configurable: true
208
- });
209
- ShowDeployTaskDetailResponse.prototype.withTenantName = function (tenantName) {
210
- this['tenant_name'] = tenantName;
211
- return this;
212
- };
213
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "tenantName", {
214
- get: function () {
215
- return this['tenant_name'];
216
- },
217
- set: function (tenantName) {
218
- this['tenant_name'] = tenantName;
219
- },
220
- enumerable: false,
221
- configurable: true
222
- });
223
- ShowDeployTaskDetailResponse.prototype.withSlaveClusterId = function (slaveClusterId) {
224
- this['slave_cluster_id'] = slaveClusterId;
225
- return this;
226
- };
227
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "slaveClusterId", {
228
- get: function () {
229
- return this['slave_cluster_id'];
230
- },
231
- set: function (slaveClusterId) {
232
- this['slave_cluster_id'] = slaveClusterId;
233
- },
234
- enumerable: false,
235
- configurable: true
236
- });
237
- ShowDeployTaskDetailResponse.prototype.withIsCare = function (isCare) {
238
- this['is_care'] = isCare;
239
- return this;
240
- };
241
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "isCare", {
242
- get: function () {
243
- return this['is_care'];
244
- },
245
- set: function (isCare) {
246
- this['is_care'] = isCare;
247
- },
248
- enumerable: false,
249
- configurable: true
250
- });
251
- ShowDeployTaskDetailResponse.prototype.withCanModify = function (canModify) {
252
- this['can_modify'] = canModify;
253
- return this;
254
- };
255
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "canModify", {
256
- get: function () {
257
- return this['can_modify'];
258
- },
259
- set: function (canModify) {
260
- this['can_modify'] = canModify;
261
- },
262
- enumerable: false,
263
- configurable: true
264
- });
265
- ShowDeployTaskDetailResponse.prototype.withCanDelete = function (canDelete) {
266
- this['can_delete'] = canDelete;
267
- return this;
268
- };
269
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "canDelete", {
270
- get: function () {
271
- return this['can_delete'];
272
- },
273
- set: function (canDelete) {
274
- this['can_delete'] = canDelete;
275
- },
276
- enumerable: false,
277
- configurable: true
278
- });
279
- ShowDeployTaskDetailResponse.prototype.withCanView = function (canView) {
280
- this['can_view'] = canView;
281
- return this;
282
- };
283
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "canView", {
284
- get: function () {
285
- return this['can_view'];
286
- },
287
- set: function (canView) {
288
- this['can_view'] = canView;
289
- },
290
- enumerable: false,
291
- configurable: true
292
- });
293
- ShowDeployTaskDetailResponse.prototype.withCanExecute = function (canExecute) {
294
- this['can_execute'] = canExecute;
295
- return this;
296
- };
297
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "canExecute", {
298
- get: function () {
299
- return this['can_execute'];
300
- },
301
- set: function (canExecute) {
302
- this['can_execute'] = canExecute;
303
- },
304
- enumerable: false,
305
- configurable: true
306
- });
307
- ShowDeployTaskDetailResponse.prototype.withCanCopy = function (canCopy) {
308
- this['can_copy'] = canCopy;
309
- return this;
310
- };
311
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "canCopy", {
312
- get: function () {
313
- return this['can_copy'];
314
- },
315
- set: function (canCopy) {
316
- this['can_copy'] = canCopy;
317
- },
318
- enumerable: false,
319
- configurable: true
320
- });
321
- ShowDeployTaskDetailResponse.prototype.withCanManage = function (canManage) {
322
- this['can_manage'] = canManage;
323
- return this;
324
- };
325
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "canManage", {
326
- get: function () {
327
- return this['can_manage'];
328
- },
329
- set: function (canManage) {
330
- this['can_manage'] = canManage;
331
- },
332
- enumerable: false,
333
- configurable: true
334
- });
335
- ShowDeployTaskDetailResponse.prototype.withAppComponentList = function (appComponentList) {
336
- this['app_component_list'] = appComponentList;
337
- return this;
338
- };
339
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "appComponentList", {
340
- get: function () {
341
- return this['app_component_list'];
342
- },
343
- set: function (appComponentList) {
344
- this['app_component_list'] = appComponentList;
345
- },
346
- enumerable: false,
347
- configurable: true
348
- });
349
- ShowDeployTaskDetailResponse.prototype.withRoleId = function (roleId) {
350
- this['role_id'] = roleId;
351
- return this;
352
- };
353
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "roleId", {
354
- get: function () {
355
- return this['role_id'];
356
- },
357
- set: function (roleId) {
358
- this['role_id'] = roleId;
359
- },
360
- enumerable: false,
361
- configurable: true
362
- });
363
- ShowDeployTaskDetailResponse.prototype.withId = function (id) {
364
- this['id'] = id;
365
- return this;
366
- };
367
- ShowDeployTaskDetailResponse.prototype.withReleaseId = function (releaseId) {
368
- this['release_id'] = releaseId;
369
- return this;
370
- };
371
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "releaseId", {
372
- get: function () {
373
- return this['release_id'];
374
- },
375
- set: function (releaseId) {
376
- this['release_id'] = releaseId;
377
- },
378
- enumerable: false,
379
- configurable: true
380
- });
381
- ShowDeployTaskDetailResponse.prototype.withDuration = function (duration) {
382
- this['duration'] = duration;
383
- return this;
384
- };
385
- ShowDeployTaskDetailResponse.prototype.withExecutionState = function (executionState) {
386
- this['execution_state'] = executionState;
387
- return this;
388
- };
389
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "executionState", {
390
- get: function () {
391
- return this['execution_state'];
392
- },
393
- set: function (executionState) {
394
- this['execution_state'] = executionState;
395
- },
396
- enumerable: false,
397
- configurable: true
398
- });
399
- ShowDeployTaskDetailResponse.prototype.withExecutorId = function (executorId) {
400
- this['executor_id'] = executorId;
401
- return this;
402
- };
403
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "executorId", {
404
- get: function () {
405
- return this['executor_id'];
406
- },
407
- set: function (executorId) {
408
- this['executor_id'] = executorId;
409
- },
410
- enumerable: false,
411
- configurable: true
412
- });
413
- ShowDeployTaskDetailResponse.prototype.withExecutorNickName = function (executorNickName) {
414
- this['executor_nick_name'] = executorNickName;
415
- return this;
416
- };
417
- Object.defineProperty(ShowDeployTaskDetailResponse.prototype, "executorNickName", {
418
- get: function () {
419
- return this['executor_nick_name'];
420
- },
421
- set: function (executorNickName) {
422
- this['executor_nick_name'] = executorNickName;
423
- },
424
- enumerable: false,
425
- configurable: true
426
- });
427
- ShowDeployTaskDetailResponse.prototype.withSteps = function (steps) {
428
- this['steps'] = steps;
429
- return this;
430
- };
431
- return ShowDeployTaskDetailResponse;
432
- }(SdkResponse_1.SdkResponse));
433
- exports.ShowDeployTaskDetailResponse = ShowDeployTaskDetailResponse;
434
- /**
435
- * @export
436
- * @enum {string}
437
- */
438
- var ShowDeployTaskDetailResponseStateEnum;
439
- (function (ShowDeployTaskDetailResponseStateEnum) {
440
- ShowDeployTaskDetailResponseStateEnum["AVAILABLE"] = "Available";
441
- ShowDeployTaskDetailResponseStateEnum["DRAFT"] = "Draft";
442
- })(ShowDeployTaskDetailResponseStateEnum || (exports.ShowDeployTaskDetailResponseStateEnum = ShowDeployTaskDetailResponseStateEnum = {}));
@@ -1,7 +0,0 @@
1
- export declare class ShowDeploymentGroupDetailRequest {
2
- private 'group_id';
3
- constructor(groupId?: any);
4
- withGroupId(groupId: string): ShowDeploymentGroupDetailRequest;
5
- set groupId(groupId: string | undefined);
6
- get groupId(): string | undefined;
7
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShowDeploymentGroupDetailRequest = void 0;
4
- var ShowDeploymentGroupDetailRequest = /** @class */ (function () {
5
- function ShowDeploymentGroupDetailRequest(groupId) {
6
- this['group_id'] = groupId;
7
- }
8
- ShowDeploymentGroupDetailRequest.prototype.withGroupId = function (groupId) {
9
- this['group_id'] = groupId;
10
- return this;
11
- };
12
- Object.defineProperty(ShowDeploymentGroupDetailRequest.prototype, "groupId", {
13
- get: function () {
14
- return this['group_id'];
15
- },
16
- set: function (groupId) {
17
- this['group_id'] = groupId;
18
- },
19
- enumerable: false,
20
- configurable: true
21
- });
22
- return ShowDeploymentGroupDetailRequest;
23
- }());
24
- exports.ShowDeploymentGroupDetailRequest = ShowDeploymentGroupDetailRequest;
@@ -1,62 +0,0 @@
1
- import { PermissionGroupDetail } from './PermissionGroupDetail';
2
- import { UserInfo } from './UserInfo';
3
- import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
4
- export declare class ShowDeploymentGroupDetailResponse extends SdkResponse {
5
- private 'group_id'?;
6
- private 'created_time'?;
7
- private 'updated_time'?;
8
- private 'host_count'?;
9
- private 'project_name'?;
10
- name?: string;
11
- private 'region_name'?;
12
- private 'project_id'?;
13
- os?: string;
14
- private 'auto_connection_test_switch'?;
15
- private 'slave_cluster_id'?;
16
- private 'nick_name'?;
17
- private 'created_by'?;
18
- private 'updated_by'?;
19
- description?: string;
20
- permission?: PermissionGroupDetail;
21
- constructor();
22
- withGroupId(groupId: string): ShowDeploymentGroupDetailResponse;
23
- set groupId(groupId: string | undefined);
24
- get groupId(): string | undefined;
25
- withCreatedTime(createdTime: string): ShowDeploymentGroupDetailResponse;
26
- set createdTime(createdTime: string | undefined);
27
- get createdTime(): string | undefined;
28
- withUpdatedTime(updatedTime: string): ShowDeploymentGroupDetailResponse;
29
- set updatedTime(updatedTime: string | undefined);
30
- get updatedTime(): string | undefined;
31
- withHostCount(hostCount: number): ShowDeploymentGroupDetailResponse;
32
- set hostCount(hostCount: number | undefined);
33
- get hostCount(): number | undefined;
34
- withProjectName(projectName: string): ShowDeploymentGroupDetailResponse;
35
- set projectName(projectName: string | undefined);
36
- get projectName(): string | undefined;
37
- withName(name: string): ShowDeploymentGroupDetailResponse;
38
- withRegionName(regionName: string): ShowDeploymentGroupDetailResponse;
39
- set regionName(regionName: string | undefined);
40
- get regionName(): string | undefined;
41
- withProjectId(projectId: string): ShowDeploymentGroupDetailResponse;
42
- set projectId(projectId: string | undefined);
43
- get projectId(): string | undefined;
44
- withOs(os: string): ShowDeploymentGroupDetailResponse;
45
- withAutoConnectionTestSwitch(autoConnectionTestSwitch: number): ShowDeploymentGroupDetailResponse;
46
- set autoConnectionTestSwitch(autoConnectionTestSwitch: number | undefined);
47
- get autoConnectionTestSwitch(): number | undefined;
48
- withSlaveClusterId(slaveClusterId: string): ShowDeploymentGroupDetailResponse;
49
- set slaveClusterId(slaveClusterId: string | undefined);
50
- get slaveClusterId(): string | undefined;
51
- withNickName(nickName: string): ShowDeploymentGroupDetailResponse;
52
- set nickName(nickName: string | undefined);
53
- get nickName(): string | undefined;
54
- withCreatedBy(createdBy: UserInfo): ShowDeploymentGroupDetailResponse;
55
- set createdBy(createdBy: UserInfo | undefined);
56
- get createdBy(): UserInfo | undefined;
57
- withUpdatedBy(updatedBy: UserInfo): ShowDeploymentGroupDetailResponse;
58
- set updatedBy(updatedBy: UserInfo | undefined);
59
- get updatedBy(): UserInfo | undefined;
60
- withDescription(description: string): ShowDeploymentGroupDetailResponse;
61
- withPermission(permission: PermissionGroupDetail): ShowDeploymentGroupDetailResponse;
62
- }