@huaweicloud/huaweicloud-sdk-codeartsdeploy 3.1.45 → 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.
- package/huaweicloud-sdk-codeartsdeploy.ts +4 -0
- package/package.json +4 -4
- package/v2/{CodeArtsDeployClient.js → CodeArtsDeployClient.ts} +608 -388
- package/v2/CodeArtsDeployRegion.ts +40 -0
- package/v2/model/AppComponentDao.ts +82 -0
- package/v2/model/ConfigInfoDO.ts +73 -0
- package/v2/model/CreateDeployTaskByTemplateRequest.ts +33 -0
- package/v2/model/CreateDeployTaskByTemplateResponse.ts +30 -0
- package/v2/model/CreateDeploymentGroupRequest.ts +33 -0
- package/v2/model/CreateDeploymentGroupResponse.ts +19 -0
- package/v2/model/CreateDeploymentHostRequest.ts +45 -0
- package/v2/model/CreateDeploymentHostResponse.ts +19 -0
- package/v2/model/DeleteDeployTaskRequest.ts +39 -0
- package/v2/model/DeleteDeployTaskResponse.ts +19 -0
- package/v2/model/DeleteDeploymentGroupRequest.ts +39 -0
- package/v2/model/DeleteDeploymentGroupResponse.ts +19 -0
- package/v2/model/DeleteDeploymentHostRequest.ts +51 -0
- package/v2/model/DeleteDeploymentHostResponse.ts +19 -0
- package/v2/model/DeploymentGroup.ts +78 -0
- package/v2/model/DeploymentGroupDetail.ts +160 -0
- package/v2/model/DeploymentGroupUpdateRequest.ts +49 -0
- package/v2/model/DeploymentHost.ts +86 -0
- package/v2/model/DeploymentHostAuthorizationBody.ts +49 -0
- package/v2/model/DeploymentHostDetail.ts +270 -0
- package/v2/model/DeploymentHostInfo.ts +98 -0
- package/v2/model/DeploymentHostRequest.ts +77 -0
- package/v2/model/DeploymentUpdateHost.ts +71 -0
- package/v2/model/DynamicConfigInfo.ts +33 -0
- package/v2/model/EnvExecutionBody.ts +34 -0
- package/v2/model/ExecuteRecordV2Body.ts +75 -0
- package/v2/model/KeyValueDO.ts +16 -0
- package/v2/model/ListDeployTaskHistoryByDateRequest.ts +81 -0
- package/v2/model/ListDeployTaskHistoryByDateResponse.ts +25 -0
- package/v2/model/ListDeployTasksRequest.ts +51 -0
- package/v2/model/ListDeployTasksResponse.ts +25 -0
- package/v2/model/ListHostGroupsRequest.ts +88 -0
- package/v2/model/ListHostGroupsResponse.ts +25 -0
- package/v2/model/ListHostsRequest.ts +86 -0
- package/v2/model/ListHostsResponse.ts +30 -0
- package/v2/model/ListTaskSuccessRateRequest.ts +24 -0
- package/v2/model/ListTaskSuccessRateResponse.ts +64 -0
- package/v2/model/ParamTypeLimits.ts +11 -0
- package/v2/model/PermissionGroupDetail.ts +61 -0
- package/v2/model/PermissionHostDetail.ts +61 -0
- package/v2/model/ShowDeployTaskDetailRequest.ts +18 -0
- package/v2/model/ShowDeployTaskDetailResponse.ts +351 -0
- package/v2/model/ShowDeploymentGroupDetailRequest.ts +18 -0
- package/v2/model/ShowDeploymentGroupDetailResponse.ts +162 -0
- package/v2/model/ShowDeploymentHostDetailRequest.ts +30 -0
- package/v2/model/ShowDeploymentHostDetailResponse.ts +273 -0
- package/v2/model/ShowProjectSuccessRateRequest.ts +42 -0
- package/v2/model/ShowProjectSuccessRateResponse.ts +96 -0
- package/v2/model/StartDeployTaskRequest.ts +45 -0
- package/v2/model/StartDeployTaskResponse.ts +47 -0
- package/v2/model/Step.ts +26 -0
- package/v2/model/TaskInfo.ts +349 -0
- package/v2/model/TaskSuccessRate.ts +61 -0
- package/v2/model/TasksSuccessRateQuery.ts +42 -0
- package/v2/model/TemplateTaskRequestBody.ts +71 -0
- package/v2/model/UpdateDeploymentGroupRequest.ts +45 -0
- package/v2/model/UpdateDeploymentGroupResponse.ts +19 -0
- package/v2/model/UpdateDeploymentHostRequest.ts +57 -0
- package/v2/model/UpdateDeploymentHostResponse.ts +19 -0
- package/v2/model/UserInfo.ts +28 -0
- package/v2/{public-api.d.ts → public-api.ts} +1 -0
- package/LICENSE +0 -13
- package/README.md +0 -1
- package/huaweicloud-sdk-codeartsdeploy.d.ts +0 -2
- package/huaweicloud-sdk-codeartsdeploy.js +0 -31
- package/v2/CodeArtsDeployClient.d.ts +0 -538
- package/v2/CodeArtsDeployRegion.d.ts +0 -12
- package/v2/CodeArtsDeployRegion.js +0 -37
- package/v2/model/AppComponentDao.d.ts +0 -31
- package/v2/model/AppComponentDao.js +0 -101
- package/v2/model/ConfigInfoDO.d.ts +0 -40
- package/v2/model/ConfigInfoDO.js +0 -77
- package/v2/model/CreateDeployTaskByTemplateRequest.d.ts +0 -18
- package/v2/model/CreateDeployTaskByTemplateRequest.js +0 -37
- package/v2/model/CreateDeployTaskByTemplateResponse.d.ts +0 -12
- package/v2/model/CreateDeployTaskByTemplateResponse.js +0 -55
- package/v2/model/CreateDeploymentGroupRequest.d.ts +0 -18
- package/v2/model/CreateDeploymentGroupRequest.js +0 -37
- package/v2/model/CreateDeploymentGroupResponse.d.ts +0 -8
- package/v2/model/CreateDeploymentGroupResponse.js +0 -41
- package/v2/model/CreateDeploymentHostRequest.d.ts +0 -22
- package/v2/model/CreateDeploymentHostRequest.js +0 -52
- package/v2/model/CreateDeploymentHostResponse.d.ts +0 -8
- package/v2/model/CreateDeploymentHostResponse.js +0 -41
- package/v2/model/DeleteDeployTaskRequest.d.ts +0 -19
- package/v2/model/DeleteDeployTaskRequest.js +0 -48
- package/v2/model/DeleteDeployTaskResponse.d.ts +0 -8
- package/v2/model/DeleteDeployTaskResponse.js +0 -41
- package/v2/model/DeleteDeploymentGroupRequest.d.ts +0 -19
- package/v2/model/DeleteDeploymentGroupRequest.js +0 -48
- package/v2/model/DeleteDeploymentGroupResponse.d.ts +0 -8
- package/v2/model/DeleteDeploymentGroupResponse.js +0 -41
- package/v2/model/DeleteDeploymentHostRequest.d.ts +0 -23
- package/v2/model/DeleteDeploymentHostRequest.js +0 -63
- package/v2/model/DeleteDeploymentHostResponse.d.ts +0 -8
- package/v2/model/DeleteDeploymentHostResponse.js +0 -41
- package/v2/model/DeploymentGroup.d.ts +0 -33
- package/v2/model/DeploymentGroup.js +0 -90
- package/v2/model/DeploymentGroupDetail.d.ts +0 -61
- package/v2/model/DeploymentGroupDetail.js +0 -193
- package/v2/model/DeploymentGroupUpdateRequest.d.ts +0 -24
- package/v2/model/DeploymentGroupUpdateRequest.js +0 -56
- package/v2/model/DeploymentHost.d.ts +0 -36
- package/v2/model/DeploymentHost.js +0 -96
- package/v2/model/DeploymentHostAuthorizationBody.d.ts +0 -23
- package/v2/model/DeploymentHostAuthorizationBody.js +0 -56
- package/v2/model/DeploymentHostDetail.d.ts +0 -103
- package/v2/model/DeploymentHostDetail.js +0 -325
- package/v2/model/DeploymentHostInfo.d.ts +0 -40
- package/v2/model/DeploymentHostInfo.js +0 -111
- package/v2/model/DeploymentHostRequest.d.ts +0 -28
- package/v2/model/DeploymentHostRequest.js +0 -86
- package/v2/model/DeploymentUpdateHost.d.ts +0 -26
- package/v2/model/DeploymentUpdateHost.js +0 -82
- package/v2/model/DynamicConfigInfo.d.ts +0 -19
- package/v2/model/DynamicConfigInfo.js +0 -32
- package/v2/model/EnvExecutionBody.d.ts +0 -14
- package/v2/model/EnvExecutionBody.js +0 -41
- package/v2/model/ExecuteRecordV2Body.d.ts +0 -29
- package/v2/model/ExecuteRecordV2Body.js +0 -85
- package/v2/model/KeyValueDO.d.ts +0 -7
- package/v2/model/KeyValueDO.js +0 -17
- package/v2/model/ListDeployTaskHistoryByDateRequest.d.ts +0 -33
- package/v2/model/ListDeployTaskHistoryByDateRequest.js +0 -93
- package/v2/model/ListDeployTaskHistoryByDateResponse.d.ts +0 -11
- package/v2/model/ListDeployTaskHistoryByDateResponse.js +0 -45
- package/v2/model/ListDeployTasksRequest.d.ts +0 -23
- package/v2/model/ListDeployTasksRequest.js +0 -58
- package/v2/model/ListDeployTasksResponse.d.ts +0 -11
- package/v2/model/ListDeployTasksResponse.js +0 -45
- package/v2/model/ListHostGroupsRequest.d.ts +0 -43
- package/v2/model/ListHostGroupsRequest.js +0 -100
- package/v2/model/ListHostGroupsResponse.d.ts +0 -11
- package/v2/model/ListHostGroupsResponse.js +0 -45
- package/v2/model/ListHostsRequest.d.ts +0 -37
- package/v2/model/ListHostsRequest.js +0 -101
- package/v2/model/ListHostsResponse.d.ts +0 -13
- package/v2/model/ListHostsResponse.js +0 -49
- package/v2/model/ListTaskSuccessRateRequest.d.ts +0 -10
- package/v2/model/ListTaskSuccessRateRequest.js +0 -28
- package/v2/model/ListTaskSuccessRateResponse.d.ts +0 -25
- package/v2/model/ListTaskSuccessRateResponse.js +0 -97
- package/v2/model/ParamTypeLimits.d.ts +0 -5
- package/v2/model/ParamTypeLimits.js +0 -13
- package/v2/model/PermissionGroupDetail.d.ts +0 -23
- package/v2/model/PermissionGroupDetail.js +0 -79
- package/v2/model/PermissionHostDetail.d.ts +0 -23
- package/v2/model/PermissionHostDetail.js +0 -79
- package/v2/model/ShowDeployTaskDetailRequest.d.ts +0 -7
- package/v2/model/ShowDeployTaskDetailRequest.js +0 -24
- package/v2/model/ShowDeployTaskDetailResponse.d.ts +0 -140
- package/v2/model/ShowDeployTaskDetailResponse.js +0 -442
- package/v2/model/ShowDeploymentGroupDetailRequest.d.ts +0 -7
- package/v2/model/ShowDeploymentGroupDetailRequest.js +0 -24
- package/v2/model/ShowDeploymentGroupDetailResponse.d.ts +0 -62
- package/v2/model/ShowDeploymentGroupDetailResponse.js +0 -211
- package/v2/model/ShowDeploymentHostDetailRequest.d.ts +0 -11
- package/v2/model/ShowDeploymentHostDetailRequest.js +0 -39
- package/v2/model/ShowDeploymentHostDetailResponse.d.ts +0 -105
- package/v2/model/ShowDeploymentHostDetailResponse.js +0 -344
- package/v2/model/ShowProjectSuccessRateRequest.d.ts +0 -15
- package/v2/model/ShowProjectSuccessRateRequest.js +0 -54
- package/v2/model/ShowProjectSuccessRateResponse.d.ts +0 -36
- package/v2/model/ShowProjectSuccessRateResponse.js +0 -139
- package/v2/model/StartDeployTaskRequest.d.ts +0 -22
- package/v2/model/StartDeployTaskRequest.js +0 -52
- package/v2/model/StartDeployTaskResponse.d.ts +0 -19
- package/v2/model/StartDeployTaskResponse.js +0 -73
- package/v2/model/Step.d.ts +0 -15
- package/v2/model/Step.js +0 -25
- package/v2/model/TaskInfo.d.ts +0 -139
- package/v2/model/TaskInfo.js +0 -424
- package/v2/model/TaskSuccessRate.d.ts +0 -23
- package/v2/model/TaskSuccessRate.js +0 -79
- package/v2/model/TasksSuccessRateQuery.d.ts +0 -15
- package/v2/model/TasksSuccessRateQuery.js +0 -54
- package/v2/model/TemplateTaskRequestBody.d.ts +0 -26
- package/v2/model/TemplateTaskRequestBody.js +0 -87
- package/v2/model/UpdateDeploymentGroupRequest.d.ts +0 -22
- package/v2/model/UpdateDeploymentGroupRequest.js +0 -52
- package/v2/model/UpdateDeploymentGroupResponse.d.ts +0 -8
- package/v2/model/UpdateDeploymentGroupResponse.js +0 -41
- package/v2/model/UpdateDeploymentHostRequest.d.ts +0 -26
- package/v2/model/UpdateDeploymentHostRequest.js +0 -67
- package/v2/model/UpdateDeploymentHostResponse.d.ts +0 -8
- package/v2/model/UpdateDeploymentHostResponse.js +0 -41
- package/v2/model/UserInfo.d.ts +0 -11
- package/v2/model/UserInfo.js +0 -37
- package/v2/public-api.js +0 -78
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
import { AppComponentDao } from './AppComponentDao';
|
|
2
|
+
import { Step } from './Step';
|
|
3
|
+
|
|
4
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
5
|
+
|
|
6
|
+
export class ShowDeployTaskDetailResponse extends SdkResponse {
|
|
7
|
+
private 'task_id'?: string | undefined;
|
|
8
|
+
public name?: string;
|
|
9
|
+
private 'project_id'?: string | undefined;
|
|
10
|
+
private 'project_name'?: string | undefined;
|
|
11
|
+
private 'deploy_system'?: string | undefined;
|
|
12
|
+
private 'create_time'?: string | undefined;
|
|
13
|
+
private 'update_time'?: string | undefined;
|
|
14
|
+
public state?: ShowDeployTaskDetailResponseStateEnum;
|
|
15
|
+
private 'execution_time'?: string | undefined;
|
|
16
|
+
public description?: string;
|
|
17
|
+
private 'is_defaut_permission'?: boolean | undefined;
|
|
18
|
+
private 'template_id'?: string | undefined;
|
|
19
|
+
public owner?: string;
|
|
20
|
+
private 'nick_name'?: string | undefined;
|
|
21
|
+
private 'owner_id'?: string | undefined;
|
|
22
|
+
private 'tenant_id'?: string | undefined;
|
|
23
|
+
private 'tenant_name'?: string | undefined;
|
|
24
|
+
private 'slave_cluster_id'?: string | undefined;
|
|
25
|
+
private 'is_care'?: boolean | undefined;
|
|
26
|
+
private 'can_modify'?: boolean | undefined;
|
|
27
|
+
private 'can_delete'?: boolean | undefined;
|
|
28
|
+
private 'can_view'?: boolean | undefined;
|
|
29
|
+
private 'can_execute'?: boolean | undefined;
|
|
30
|
+
private 'can_copy'?: boolean | undefined;
|
|
31
|
+
private 'can_manage'?: boolean | undefined;
|
|
32
|
+
private 'app_component_list'?: Array<AppComponentDao> | undefined;
|
|
33
|
+
private 'role_id'?: number | undefined;
|
|
34
|
+
public id?: string;
|
|
35
|
+
private 'release_id'?: number | undefined;
|
|
36
|
+
public duration?: string;
|
|
37
|
+
private 'execution_state'?: string | undefined;
|
|
38
|
+
private 'executor_id'?: string | undefined;
|
|
39
|
+
private 'executor_nick_name'?: string | undefined;
|
|
40
|
+
public steps?: { [key: string]: Step; };
|
|
41
|
+
public constructor() {
|
|
42
|
+
super();
|
|
43
|
+
}
|
|
44
|
+
public withTaskId(taskId: string): ShowDeployTaskDetailResponse {
|
|
45
|
+
this['task_id'] = taskId;
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
public set taskId(taskId: string | undefined) {
|
|
49
|
+
this['task_id'] = taskId;
|
|
50
|
+
}
|
|
51
|
+
public get taskId() {
|
|
52
|
+
return this['task_id'];
|
|
53
|
+
}
|
|
54
|
+
public withName(name: string): ShowDeployTaskDetailResponse {
|
|
55
|
+
this['name'] = name;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public withProjectId(projectId: string): ShowDeployTaskDetailResponse {
|
|
59
|
+
this['project_id'] = projectId;
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
public set projectId(projectId: string | undefined) {
|
|
63
|
+
this['project_id'] = projectId;
|
|
64
|
+
}
|
|
65
|
+
public get projectId() {
|
|
66
|
+
return this['project_id'];
|
|
67
|
+
}
|
|
68
|
+
public withProjectName(projectName: string): ShowDeployTaskDetailResponse {
|
|
69
|
+
this['project_name'] = projectName;
|
|
70
|
+
return this;
|
|
71
|
+
}
|
|
72
|
+
public set projectName(projectName: string | undefined) {
|
|
73
|
+
this['project_name'] = projectName;
|
|
74
|
+
}
|
|
75
|
+
public get projectName() {
|
|
76
|
+
return this['project_name'];
|
|
77
|
+
}
|
|
78
|
+
public withDeploySystem(deploySystem: string): ShowDeployTaskDetailResponse {
|
|
79
|
+
this['deploy_system'] = deploySystem;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
public set deploySystem(deploySystem: string | undefined) {
|
|
83
|
+
this['deploy_system'] = deploySystem;
|
|
84
|
+
}
|
|
85
|
+
public get deploySystem() {
|
|
86
|
+
return this['deploy_system'];
|
|
87
|
+
}
|
|
88
|
+
public withCreateTime(createTime: string): ShowDeployTaskDetailResponse {
|
|
89
|
+
this['create_time'] = createTime;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
public set createTime(createTime: string | undefined) {
|
|
93
|
+
this['create_time'] = createTime;
|
|
94
|
+
}
|
|
95
|
+
public get createTime() {
|
|
96
|
+
return this['create_time'];
|
|
97
|
+
}
|
|
98
|
+
public withUpdateTime(updateTime: string): ShowDeployTaskDetailResponse {
|
|
99
|
+
this['update_time'] = updateTime;
|
|
100
|
+
return this;
|
|
101
|
+
}
|
|
102
|
+
public set updateTime(updateTime: string | undefined) {
|
|
103
|
+
this['update_time'] = updateTime;
|
|
104
|
+
}
|
|
105
|
+
public get updateTime() {
|
|
106
|
+
return this['update_time'];
|
|
107
|
+
}
|
|
108
|
+
public withState(state: ShowDeployTaskDetailResponseStateEnum): ShowDeployTaskDetailResponse {
|
|
109
|
+
this['state'] = state;
|
|
110
|
+
return this;
|
|
111
|
+
}
|
|
112
|
+
public withExecutionTime(executionTime: string): ShowDeployTaskDetailResponse {
|
|
113
|
+
this['execution_time'] = executionTime;
|
|
114
|
+
return this;
|
|
115
|
+
}
|
|
116
|
+
public set executionTime(executionTime: string | undefined) {
|
|
117
|
+
this['execution_time'] = executionTime;
|
|
118
|
+
}
|
|
119
|
+
public get executionTime() {
|
|
120
|
+
return this['execution_time'];
|
|
121
|
+
}
|
|
122
|
+
public withDescription(description: string): ShowDeployTaskDetailResponse {
|
|
123
|
+
this['description'] = description;
|
|
124
|
+
return this;
|
|
125
|
+
}
|
|
126
|
+
public withIsDefautPermission(isDefautPermission: boolean): ShowDeployTaskDetailResponse {
|
|
127
|
+
this['is_defaut_permission'] = isDefautPermission;
|
|
128
|
+
return this;
|
|
129
|
+
}
|
|
130
|
+
public set isDefautPermission(isDefautPermission: boolean | undefined) {
|
|
131
|
+
this['is_defaut_permission'] = isDefautPermission;
|
|
132
|
+
}
|
|
133
|
+
public get isDefautPermission() {
|
|
134
|
+
return this['is_defaut_permission'];
|
|
135
|
+
}
|
|
136
|
+
public withTemplateId(templateId: string): ShowDeployTaskDetailResponse {
|
|
137
|
+
this['template_id'] = templateId;
|
|
138
|
+
return this;
|
|
139
|
+
}
|
|
140
|
+
public set templateId(templateId: string | undefined) {
|
|
141
|
+
this['template_id'] = templateId;
|
|
142
|
+
}
|
|
143
|
+
public get templateId() {
|
|
144
|
+
return this['template_id'];
|
|
145
|
+
}
|
|
146
|
+
public withOwner(owner: string): ShowDeployTaskDetailResponse {
|
|
147
|
+
this['owner'] = owner;
|
|
148
|
+
return this;
|
|
149
|
+
}
|
|
150
|
+
public withNickName(nickName: string): ShowDeployTaskDetailResponse {
|
|
151
|
+
this['nick_name'] = nickName;
|
|
152
|
+
return this;
|
|
153
|
+
}
|
|
154
|
+
public set nickName(nickName: string | undefined) {
|
|
155
|
+
this['nick_name'] = nickName;
|
|
156
|
+
}
|
|
157
|
+
public get nickName() {
|
|
158
|
+
return this['nick_name'];
|
|
159
|
+
}
|
|
160
|
+
public withOwnerId(ownerId: string): ShowDeployTaskDetailResponse {
|
|
161
|
+
this['owner_id'] = ownerId;
|
|
162
|
+
return this;
|
|
163
|
+
}
|
|
164
|
+
public set ownerId(ownerId: string | undefined) {
|
|
165
|
+
this['owner_id'] = ownerId;
|
|
166
|
+
}
|
|
167
|
+
public get ownerId() {
|
|
168
|
+
return this['owner_id'];
|
|
169
|
+
}
|
|
170
|
+
public withTenantId(tenantId: string): ShowDeployTaskDetailResponse {
|
|
171
|
+
this['tenant_id'] = tenantId;
|
|
172
|
+
return this;
|
|
173
|
+
}
|
|
174
|
+
public set tenantId(tenantId: string | undefined) {
|
|
175
|
+
this['tenant_id'] = tenantId;
|
|
176
|
+
}
|
|
177
|
+
public get tenantId() {
|
|
178
|
+
return this['tenant_id'];
|
|
179
|
+
}
|
|
180
|
+
public withTenantName(tenantName: string): ShowDeployTaskDetailResponse {
|
|
181
|
+
this['tenant_name'] = tenantName;
|
|
182
|
+
return this;
|
|
183
|
+
}
|
|
184
|
+
public set tenantName(tenantName: string | undefined) {
|
|
185
|
+
this['tenant_name'] = tenantName;
|
|
186
|
+
}
|
|
187
|
+
public get tenantName() {
|
|
188
|
+
return this['tenant_name'];
|
|
189
|
+
}
|
|
190
|
+
public withSlaveClusterId(slaveClusterId: string): ShowDeployTaskDetailResponse {
|
|
191
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
192
|
+
return this;
|
|
193
|
+
}
|
|
194
|
+
public set slaveClusterId(slaveClusterId: string | undefined) {
|
|
195
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
196
|
+
}
|
|
197
|
+
public get slaveClusterId() {
|
|
198
|
+
return this['slave_cluster_id'];
|
|
199
|
+
}
|
|
200
|
+
public withIsCare(isCare: boolean): ShowDeployTaskDetailResponse {
|
|
201
|
+
this['is_care'] = isCare;
|
|
202
|
+
return this;
|
|
203
|
+
}
|
|
204
|
+
public set isCare(isCare: boolean | undefined) {
|
|
205
|
+
this['is_care'] = isCare;
|
|
206
|
+
}
|
|
207
|
+
public get isCare() {
|
|
208
|
+
return this['is_care'];
|
|
209
|
+
}
|
|
210
|
+
public withCanModify(canModify: boolean): ShowDeployTaskDetailResponse {
|
|
211
|
+
this['can_modify'] = canModify;
|
|
212
|
+
return this;
|
|
213
|
+
}
|
|
214
|
+
public set canModify(canModify: boolean | undefined) {
|
|
215
|
+
this['can_modify'] = canModify;
|
|
216
|
+
}
|
|
217
|
+
public get canModify() {
|
|
218
|
+
return this['can_modify'];
|
|
219
|
+
}
|
|
220
|
+
public withCanDelete(canDelete: boolean): ShowDeployTaskDetailResponse {
|
|
221
|
+
this['can_delete'] = canDelete;
|
|
222
|
+
return this;
|
|
223
|
+
}
|
|
224
|
+
public set canDelete(canDelete: boolean | undefined) {
|
|
225
|
+
this['can_delete'] = canDelete;
|
|
226
|
+
}
|
|
227
|
+
public get canDelete() {
|
|
228
|
+
return this['can_delete'];
|
|
229
|
+
}
|
|
230
|
+
public withCanView(canView: boolean): ShowDeployTaskDetailResponse {
|
|
231
|
+
this['can_view'] = canView;
|
|
232
|
+
return this;
|
|
233
|
+
}
|
|
234
|
+
public set canView(canView: boolean | undefined) {
|
|
235
|
+
this['can_view'] = canView;
|
|
236
|
+
}
|
|
237
|
+
public get canView() {
|
|
238
|
+
return this['can_view'];
|
|
239
|
+
}
|
|
240
|
+
public withCanExecute(canExecute: boolean): ShowDeployTaskDetailResponse {
|
|
241
|
+
this['can_execute'] = canExecute;
|
|
242
|
+
return this;
|
|
243
|
+
}
|
|
244
|
+
public set canExecute(canExecute: boolean | undefined) {
|
|
245
|
+
this['can_execute'] = canExecute;
|
|
246
|
+
}
|
|
247
|
+
public get canExecute() {
|
|
248
|
+
return this['can_execute'];
|
|
249
|
+
}
|
|
250
|
+
public withCanCopy(canCopy: boolean): ShowDeployTaskDetailResponse {
|
|
251
|
+
this['can_copy'] = canCopy;
|
|
252
|
+
return this;
|
|
253
|
+
}
|
|
254
|
+
public set canCopy(canCopy: boolean | undefined) {
|
|
255
|
+
this['can_copy'] = canCopy;
|
|
256
|
+
}
|
|
257
|
+
public get canCopy() {
|
|
258
|
+
return this['can_copy'];
|
|
259
|
+
}
|
|
260
|
+
public withCanManage(canManage: boolean): ShowDeployTaskDetailResponse {
|
|
261
|
+
this['can_manage'] = canManage;
|
|
262
|
+
return this;
|
|
263
|
+
}
|
|
264
|
+
public set canManage(canManage: boolean | undefined) {
|
|
265
|
+
this['can_manage'] = canManage;
|
|
266
|
+
}
|
|
267
|
+
public get canManage() {
|
|
268
|
+
return this['can_manage'];
|
|
269
|
+
}
|
|
270
|
+
public withAppComponentList(appComponentList: Array<AppComponentDao>): ShowDeployTaskDetailResponse {
|
|
271
|
+
this['app_component_list'] = appComponentList;
|
|
272
|
+
return this;
|
|
273
|
+
}
|
|
274
|
+
public set appComponentList(appComponentList: Array<AppComponentDao> | undefined) {
|
|
275
|
+
this['app_component_list'] = appComponentList;
|
|
276
|
+
}
|
|
277
|
+
public get appComponentList() {
|
|
278
|
+
return this['app_component_list'];
|
|
279
|
+
}
|
|
280
|
+
public withRoleId(roleId: number): ShowDeployTaskDetailResponse {
|
|
281
|
+
this['role_id'] = roleId;
|
|
282
|
+
return this;
|
|
283
|
+
}
|
|
284
|
+
public set roleId(roleId: number | undefined) {
|
|
285
|
+
this['role_id'] = roleId;
|
|
286
|
+
}
|
|
287
|
+
public get roleId() {
|
|
288
|
+
return this['role_id'];
|
|
289
|
+
}
|
|
290
|
+
public withId(id: string): ShowDeployTaskDetailResponse {
|
|
291
|
+
this['id'] = id;
|
|
292
|
+
return this;
|
|
293
|
+
}
|
|
294
|
+
public withReleaseId(releaseId: number): ShowDeployTaskDetailResponse {
|
|
295
|
+
this['release_id'] = releaseId;
|
|
296
|
+
return this;
|
|
297
|
+
}
|
|
298
|
+
public set releaseId(releaseId: number | undefined) {
|
|
299
|
+
this['release_id'] = releaseId;
|
|
300
|
+
}
|
|
301
|
+
public get releaseId() {
|
|
302
|
+
return this['release_id'];
|
|
303
|
+
}
|
|
304
|
+
public withDuration(duration: string): ShowDeployTaskDetailResponse {
|
|
305
|
+
this['duration'] = duration;
|
|
306
|
+
return this;
|
|
307
|
+
}
|
|
308
|
+
public withExecutionState(executionState: string): ShowDeployTaskDetailResponse {
|
|
309
|
+
this['execution_state'] = executionState;
|
|
310
|
+
return this;
|
|
311
|
+
}
|
|
312
|
+
public set executionState(executionState: string | undefined) {
|
|
313
|
+
this['execution_state'] = executionState;
|
|
314
|
+
}
|
|
315
|
+
public get executionState() {
|
|
316
|
+
return this['execution_state'];
|
|
317
|
+
}
|
|
318
|
+
public withExecutorId(executorId: string): ShowDeployTaskDetailResponse {
|
|
319
|
+
this['executor_id'] = executorId;
|
|
320
|
+
return this;
|
|
321
|
+
}
|
|
322
|
+
public set executorId(executorId: string | undefined) {
|
|
323
|
+
this['executor_id'] = executorId;
|
|
324
|
+
}
|
|
325
|
+
public get executorId() {
|
|
326
|
+
return this['executor_id'];
|
|
327
|
+
}
|
|
328
|
+
public withExecutorNickName(executorNickName: string): ShowDeployTaskDetailResponse {
|
|
329
|
+
this['executor_nick_name'] = executorNickName;
|
|
330
|
+
return this;
|
|
331
|
+
}
|
|
332
|
+
public set executorNickName(executorNickName: string | undefined) {
|
|
333
|
+
this['executor_nick_name'] = executorNickName;
|
|
334
|
+
}
|
|
335
|
+
public get executorNickName() {
|
|
336
|
+
return this['executor_nick_name'];
|
|
337
|
+
}
|
|
338
|
+
public withSteps(steps: { [key: string]: Step; }): ShowDeployTaskDetailResponse {
|
|
339
|
+
this['steps'] = steps;
|
|
340
|
+
return this;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* @export
|
|
346
|
+
* @enum {string}
|
|
347
|
+
*/
|
|
348
|
+
export enum ShowDeployTaskDetailResponseStateEnum {
|
|
349
|
+
AVAILABLE = 'Available',
|
|
350
|
+
DRAFT = 'Draft'
|
|
351
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowDeploymentGroupDetailRequest {
|
|
4
|
+
private 'group_id': string | undefined;
|
|
5
|
+
public constructor(groupId?: any) {
|
|
6
|
+
this['group_id'] = groupId;
|
|
7
|
+
}
|
|
8
|
+
public withGroupId(groupId: string): ShowDeploymentGroupDetailRequest {
|
|
9
|
+
this['group_id'] = groupId;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
public set groupId(groupId: string | undefined) {
|
|
13
|
+
this['group_id'] = groupId;
|
|
14
|
+
}
|
|
15
|
+
public get groupId() {
|
|
16
|
+
return this['group_id'];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { PermissionGroupDetail } from './PermissionGroupDetail';
|
|
2
|
+
import { UserInfo } from './UserInfo';
|
|
3
|
+
|
|
4
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
5
|
+
|
|
6
|
+
export class ShowDeploymentGroupDetailResponse extends SdkResponse {
|
|
7
|
+
private 'group_id'?: string | undefined;
|
|
8
|
+
private 'created_time'?: string | undefined;
|
|
9
|
+
private 'updated_time'?: string | undefined;
|
|
10
|
+
private 'host_count'?: number | undefined;
|
|
11
|
+
private 'project_name'?: string | undefined;
|
|
12
|
+
public name?: string;
|
|
13
|
+
private 'region_name'?: string | undefined;
|
|
14
|
+
private 'project_id'?: string | undefined;
|
|
15
|
+
public os?: string;
|
|
16
|
+
private 'auto_connection_test_switch'?: number | undefined;
|
|
17
|
+
private 'slave_cluster_id'?: string | undefined;
|
|
18
|
+
private 'nick_name'?: string | undefined;
|
|
19
|
+
private 'created_by'?: UserInfo | undefined;
|
|
20
|
+
private 'updated_by'?: UserInfo | undefined;
|
|
21
|
+
public description?: string;
|
|
22
|
+
public permission?: PermissionGroupDetail;
|
|
23
|
+
public constructor() {
|
|
24
|
+
super();
|
|
25
|
+
}
|
|
26
|
+
public withGroupId(groupId: string): ShowDeploymentGroupDetailResponse {
|
|
27
|
+
this['group_id'] = groupId;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
public set groupId(groupId: string | undefined) {
|
|
31
|
+
this['group_id'] = groupId;
|
|
32
|
+
}
|
|
33
|
+
public get groupId() {
|
|
34
|
+
return this['group_id'];
|
|
35
|
+
}
|
|
36
|
+
public withCreatedTime(createdTime: string): ShowDeploymentGroupDetailResponse {
|
|
37
|
+
this['created_time'] = createdTime;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
public set createdTime(createdTime: string | undefined) {
|
|
41
|
+
this['created_time'] = createdTime;
|
|
42
|
+
}
|
|
43
|
+
public get createdTime() {
|
|
44
|
+
return this['created_time'];
|
|
45
|
+
}
|
|
46
|
+
public withUpdatedTime(updatedTime: string): ShowDeploymentGroupDetailResponse {
|
|
47
|
+
this['updated_time'] = updatedTime;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
public set updatedTime(updatedTime: string | undefined) {
|
|
51
|
+
this['updated_time'] = updatedTime;
|
|
52
|
+
}
|
|
53
|
+
public get updatedTime() {
|
|
54
|
+
return this['updated_time'];
|
|
55
|
+
}
|
|
56
|
+
public withHostCount(hostCount: number): ShowDeploymentGroupDetailResponse {
|
|
57
|
+
this['host_count'] = hostCount;
|
|
58
|
+
return this;
|
|
59
|
+
}
|
|
60
|
+
public set hostCount(hostCount: number | undefined) {
|
|
61
|
+
this['host_count'] = hostCount;
|
|
62
|
+
}
|
|
63
|
+
public get hostCount() {
|
|
64
|
+
return this['host_count'];
|
|
65
|
+
}
|
|
66
|
+
public withProjectName(projectName: string): ShowDeploymentGroupDetailResponse {
|
|
67
|
+
this['project_name'] = projectName;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
public set projectName(projectName: string | undefined) {
|
|
71
|
+
this['project_name'] = projectName;
|
|
72
|
+
}
|
|
73
|
+
public get projectName() {
|
|
74
|
+
return this['project_name'];
|
|
75
|
+
}
|
|
76
|
+
public withName(name: string): ShowDeploymentGroupDetailResponse {
|
|
77
|
+
this['name'] = name;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
public withRegionName(regionName: string): ShowDeploymentGroupDetailResponse {
|
|
81
|
+
this['region_name'] = regionName;
|
|
82
|
+
return this;
|
|
83
|
+
}
|
|
84
|
+
public set regionName(regionName: string | undefined) {
|
|
85
|
+
this['region_name'] = regionName;
|
|
86
|
+
}
|
|
87
|
+
public get regionName() {
|
|
88
|
+
return this['region_name'];
|
|
89
|
+
}
|
|
90
|
+
public withProjectId(projectId: string): ShowDeploymentGroupDetailResponse {
|
|
91
|
+
this['project_id'] = projectId;
|
|
92
|
+
return this;
|
|
93
|
+
}
|
|
94
|
+
public set projectId(projectId: string | undefined) {
|
|
95
|
+
this['project_id'] = projectId;
|
|
96
|
+
}
|
|
97
|
+
public get projectId() {
|
|
98
|
+
return this['project_id'];
|
|
99
|
+
}
|
|
100
|
+
public withOs(os: string): ShowDeploymentGroupDetailResponse {
|
|
101
|
+
this['os'] = os;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
public withAutoConnectionTestSwitch(autoConnectionTestSwitch: number): ShowDeploymentGroupDetailResponse {
|
|
105
|
+
this['auto_connection_test_switch'] = autoConnectionTestSwitch;
|
|
106
|
+
return this;
|
|
107
|
+
}
|
|
108
|
+
public set autoConnectionTestSwitch(autoConnectionTestSwitch: number | undefined) {
|
|
109
|
+
this['auto_connection_test_switch'] = autoConnectionTestSwitch;
|
|
110
|
+
}
|
|
111
|
+
public get autoConnectionTestSwitch() {
|
|
112
|
+
return this['auto_connection_test_switch'];
|
|
113
|
+
}
|
|
114
|
+
public withSlaveClusterId(slaveClusterId: string): ShowDeploymentGroupDetailResponse {
|
|
115
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
116
|
+
return this;
|
|
117
|
+
}
|
|
118
|
+
public set slaveClusterId(slaveClusterId: string | undefined) {
|
|
119
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
120
|
+
}
|
|
121
|
+
public get slaveClusterId() {
|
|
122
|
+
return this['slave_cluster_id'];
|
|
123
|
+
}
|
|
124
|
+
public withNickName(nickName: string): ShowDeploymentGroupDetailResponse {
|
|
125
|
+
this['nick_name'] = nickName;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
public set nickName(nickName: string | undefined) {
|
|
129
|
+
this['nick_name'] = nickName;
|
|
130
|
+
}
|
|
131
|
+
public get nickName() {
|
|
132
|
+
return this['nick_name'];
|
|
133
|
+
}
|
|
134
|
+
public withCreatedBy(createdBy: UserInfo): ShowDeploymentGroupDetailResponse {
|
|
135
|
+
this['created_by'] = createdBy;
|
|
136
|
+
return this;
|
|
137
|
+
}
|
|
138
|
+
public set createdBy(createdBy: UserInfo | undefined) {
|
|
139
|
+
this['created_by'] = createdBy;
|
|
140
|
+
}
|
|
141
|
+
public get createdBy() {
|
|
142
|
+
return this['created_by'];
|
|
143
|
+
}
|
|
144
|
+
public withUpdatedBy(updatedBy: UserInfo): ShowDeploymentGroupDetailResponse {
|
|
145
|
+
this['updated_by'] = updatedBy;
|
|
146
|
+
return this;
|
|
147
|
+
}
|
|
148
|
+
public set updatedBy(updatedBy: UserInfo | undefined) {
|
|
149
|
+
this['updated_by'] = updatedBy;
|
|
150
|
+
}
|
|
151
|
+
public get updatedBy() {
|
|
152
|
+
return this['updated_by'];
|
|
153
|
+
}
|
|
154
|
+
public withDescription(description: string): ShowDeploymentGroupDetailResponse {
|
|
155
|
+
this['description'] = description;
|
|
156
|
+
return this;
|
|
157
|
+
}
|
|
158
|
+
public withPermission(permission: PermissionGroupDetail): ShowDeploymentGroupDetailResponse {
|
|
159
|
+
this['permission'] = permission;
|
|
160
|
+
return this;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowDeploymentHostDetailRequest {
|
|
4
|
+
private 'group_id': string | undefined;
|
|
5
|
+
private 'host_id': string | undefined;
|
|
6
|
+
public constructor(groupId?: any, hostId?: any) {
|
|
7
|
+
this['group_id'] = groupId;
|
|
8
|
+
this['host_id'] = hostId;
|
|
9
|
+
}
|
|
10
|
+
public withGroupId(groupId: string): ShowDeploymentHostDetailRequest {
|
|
11
|
+
this['group_id'] = groupId;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
public set groupId(groupId: string | undefined) {
|
|
15
|
+
this['group_id'] = groupId;
|
|
16
|
+
}
|
|
17
|
+
public get groupId() {
|
|
18
|
+
return this['group_id'];
|
|
19
|
+
}
|
|
20
|
+
public withHostId(hostId: string): ShowDeploymentHostDetailRequest {
|
|
21
|
+
this['host_id'] = hostId;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
public set hostId(hostId: string | undefined) {
|
|
25
|
+
this['host_id'] = hostId;
|
|
26
|
+
}
|
|
27
|
+
public get hostId() {
|
|
28
|
+
return this['host_id'];
|
|
29
|
+
}
|
|
30
|
+
}
|