@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.
Files changed (131) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +1 -0
  3. package/huaweicloud-sdk-codeartsdeploy.d.ts +2 -0
  4. package/huaweicloud-sdk-codeartsdeploy.js +31 -0
  5. package/package.json +19 -0
  6. package/v2/CodeArtsDeployClient.d.ts +538 -0
  7. package/v2/CodeArtsDeployClient.js +1270 -0
  8. package/v2/CodeArtsDeployRegion.d.ts +12 -0
  9. package/v2/CodeArtsDeployRegion.js +37 -0
  10. package/v2/model/AppComponentDao.d.ts +31 -0
  11. package/v2/model/AppComponentDao.js +101 -0
  12. package/v2/model/ConfigInfoDO.d.ts +40 -0
  13. package/v2/model/ConfigInfoDO.js +77 -0
  14. package/v2/model/CreateDeployTaskByTemplateRequest.d.ts +18 -0
  15. package/v2/model/CreateDeployTaskByTemplateRequest.js +37 -0
  16. package/v2/model/CreateDeployTaskByTemplateResponse.d.ts +12 -0
  17. package/v2/model/CreateDeployTaskByTemplateResponse.js +55 -0
  18. package/v2/model/CreateDeploymentGroupRequest.d.ts +18 -0
  19. package/v2/model/CreateDeploymentGroupRequest.js +37 -0
  20. package/v2/model/CreateDeploymentGroupResponse.d.ts +8 -0
  21. package/v2/model/CreateDeploymentGroupResponse.js +41 -0
  22. package/v2/model/CreateDeploymentHostRequest.d.ts +22 -0
  23. package/v2/model/CreateDeploymentHostRequest.js +52 -0
  24. package/v2/model/CreateDeploymentHostResponse.d.ts +8 -0
  25. package/v2/model/CreateDeploymentHostResponse.js +41 -0
  26. package/v2/model/DeleteDeployTaskRequest.d.ts +19 -0
  27. package/v2/model/DeleteDeployTaskRequest.js +48 -0
  28. package/v2/model/DeleteDeployTaskResponse.d.ts +8 -0
  29. package/v2/model/DeleteDeployTaskResponse.js +41 -0
  30. package/v2/model/DeleteDeploymentGroupRequest.d.ts +19 -0
  31. package/v2/model/DeleteDeploymentGroupRequest.js +48 -0
  32. package/v2/model/DeleteDeploymentGroupResponse.d.ts +8 -0
  33. package/v2/model/DeleteDeploymentGroupResponse.js +41 -0
  34. package/v2/model/DeleteDeploymentHostRequest.d.ts +23 -0
  35. package/v2/model/DeleteDeploymentHostRequest.js +63 -0
  36. package/v2/model/DeleteDeploymentHostResponse.d.ts +8 -0
  37. package/v2/model/DeleteDeploymentHostResponse.js +41 -0
  38. package/v2/model/DeploymentGroup.d.ts +33 -0
  39. package/v2/model/DeploymentGroup.js +90 -0
  40. package/v2/model/DeploymentGroupDetail.d.ts +61 -0
  41. package/v2/model/DeploymentGroupDetail.js +193 -0
  42. package/v2/model/DeploymentGroupUpdateRequest.d.ts +24 -0
  43. package/v2/model/DeploymentGroupUpdateRequest.js +56 -0
  44. package/v2/model/DeploymentHost.d.ts +36 -0
  45. package/v2/model/DeploymentHost.js +96 -0
  46. package/v2/model/DeploymentHostAuthorizationBody.d.ts +23 -0
  47. package/v2/model/DeploymentHostAuthorizationBody.js +56 -0
  48. package/v2/model/DeploymentHostDetail.d.ts +103 -0
  49. package/v2/model/DeploymentHostDetail.js +325 -0
  50. package/v2/model/DeploymentHostInfo.d.ts +40 -0
  51. package/v2/model/DeploymentHostInfo.js +111 -0
  52. package/v2/model/DeploymentHostRequest.d.ts +28 -0
  53. package/v2/model/DeploymentHostRequest.js +86 -0
  54. package/v2/model/DeploymentUpdateHost.d.ts +26 -0
  55. package/v2/model/DeploymentUpdateHost.js +82 -0
  56. package/v2/model/DynamicConfigInfo.d.ts +19 -0
  57. package/v2/model/DynamicConfigInfo.js +32 -0
  58. package/v2/model/EnvExecutionBody.d.ts +14 -0
  59. package/v2/model/EnvExecutionBody.js +41 -0
  60. package/v2/model/ExecuteRecordV2Body.d.ts +29 -0
  61. package/v2/model/ExecuteRecordV2Body.js +85 -0
  62. package/v2/model/KeyValueDO.d.ts +7 -0
  63. package/v2/model/KeyValueDO.js +17 -0
  64. package/v2/model/ListDeployTaskHistoryByDateRequest.d.ts +33 -0
  65. package/v2/model/ListDeployTaskHistoryByDateRequest.js +93 -0
  66. package/v2/model/ListDeployTaskHistoryByDateResponse.d.ts +11 -0
  67. package/v2/model/ListDeployTaskHistoryByDateResponse.js +45 -0
  68. package/v2/model/ListDeployTasksRequest.d.ts +23 -0
  69. package/v2/model/ListDeployTasksRequest.js +58 -0
  70. package/v2/model/ListDeployTasksResponse.d.ts +11 -0
  71. package/v2/model/ListDeployTasksResponse.js +45 -0
  72. package/v2/model/ListHostGroupsRequest.d.ts +43 -0
  73. package/v2/model/ListHostGroupsRequest.js +100 -0
  74. package/v2/model/ListHostGroupsResponse.d.ts +11 -0
  75. package/v2/model/ListHostGroupsResponse.js +45 -0
  76. package/v2/model/ListHostsRequest.d.ts +37 -0
  77. package/v2/model/ListHostsRequest.js +101 -0
  78. package/v2/model/ListHostsResponse.d.ts +13 -0
  79. package/v2/model/ListHostsResponse.js +49 -0
  80. package/v2/model/ListTaskSuccessRateRequest.d.ts +10 -0
  81. package/v2/model/ListTaskSuccessRateRequest.js +28 -0
  82. package/v2/model/ListTaskSuccessRateResponse.d.ts +25 -0
  83. package/v2/model/ListTaskSuccessRateResponse.js +97 -0
  84. package/v2/model/ParamTypeLimits.d.ts +5 -0
  85. package/v2/model/ParamTypeLimits.js +13 -0
  86. package/v2/model/PermissionGroupDetail.d.ts +23 -0
  87. package/v2/model/PermissionGroupDetail.js +79 -0
  88. package/v2/model/PermissionHostDetail.d.ts +23 -0
  89. package/v2/model/PermissionHostDetail.js +79 -0
  90. package/v2/model/ShowDeployTaskDetailRequest.d.ts +7 -0
  91. package/v2/model/ShowDeployTaskDetailRequest.js +24 -0
  92. package/v2/model/ShowDeployTaskDetailResponse.d.ts +140 -0
  93. package/v2/model/ShowDeployTaskDetailResponse.js +442 -0
  94. package/v2/model/ShowDeploymentGroupDetailRequest.d.ts +7 -0
  95. package/v2/model/ShowDeploymentGroupDetailRequest.js +24 -0
  96. package/v2/model/ShowDeploymentGroupDetailResponse.d.ts +62 -0
  97. package/v2/model/ShowDeploymentGroupDetailResponse.js +211 -0
  98. package/v2/model/ShowDeploymentHostDetailRequest.d.ts +11 -0
  99. package/v2/model/ShowDeploymentHostDetailRequest.js +39 -0
  100. package/v2/model/ShowDeploymentHostDetailResponse.d.ts +105 -0
  101. package/v2/model/ShowDeploymentHostDetailResponse.js +344 -0
  102. package/v2/model/ShowProjectSuccessRateRequest.d.ts +15 -0
  103. package/v2/model/ShowProjectSuccessRateRequest.js +54 -0
  104. package/v2/model/ShowProjectSuccessRateResponse.d.ts +36 -0
  105. package/v2/model/ShowProjectSuccessRateResponse.js +139 -0
  106. package/v2/model/StartDeployTaskRequest.d.ts +22 -0
  107. package/v2/model/StartDeployTaskRequest.js +52 -0
  108. package/v2/model/StartDeployTaskResponse.d.ts +19 -0
  109. package/v2/model/StartDeployTaskResponse.js +73 -0
  110. package/v2/model/Step.d.ts +15 -0
  111. package/v2/model/Step.js +25 -0
  112. package/v2/model/TaskInfo.d.ts +139 -0
  113. package/v2/model/TaskInfo.js +424 -0
  114. package/v2/model/TaskSuccessRate.d.ts +23 -0
  115. package/v2/model/TaskSuccessRate.js +79 -0
  116. package/v2/model/TasksSuccessRateQuery.d.ts +15 -0
  117. package/v2/model/TasksSuccessRateQuery.js +54 -0
  118. package/v2/model/TemplateTaskRequestBody.d.ts +26 -0
  119. package/v2/model/TemplateTaskRequestBody.js +87 -0
  120. package/v2/model/UpdateDeploymentGroupRequest.d.ts +22 -0
  121. package/v2/model/UpdateDeploymentGroupRequest.js +52 -0
  122. package/v2/model/UpdateDeploymentGroupResponse.d.ts +8 -0
  123. package/v2/model/UpdateDeploymentGroupResponse.js +41 -0
  124. package/v2/model/UpdateDeploymentHostRequest.d.ts +26 -0
  125. package/v2/model/UpdateDeploymentHostRequest.js +67 -0
  126. package/v2/model/UpdateDeploymentHostResponse.d.ts +8 -0
  127. package/v2/model/UpdateDeploymentHostResponse.js +41 -0
  128. package/v2/model/UserInfo.d.ts +11 -0
  129. package/v2/model/UserInfo.js +37 -0
  130. package/v2/public-api.d.ts +62 -0
  131. package/v2/public-api.js +78 -0
@@ -0,0 +1,442 @@
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 = {}));
@@ -0,0 +1,7 @@
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
+ }
@@ -0,0 +1,24 @@
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;
@@ -0,0 +1,62 @@
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
+ }