@huaweicloud/huaweicloud-sdk-codeartsdeploy 3.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +13 -0
- package/README.md +1 -0
- package/huaweicloud-sdk-codeartsdeploy.d.ts +2 -0
- package/huaweicloud-sdk-codeartsdeploy.js +31 -0
- package/package.json +19 -0
- package/v2/CodeArtsDeployClient.d.ts +538 -0
- package/v2/CodeArtsDeployClient.js +1270 -0
- package/v2/CodeArtsDeployRegion.d.ts +12 -0
- package/v2/CodeArtsDeployRegion.js +37 -0
- package/v2/model/AppComponentDao.d.ts +31 -0
- package/v2/model/AppComponentDao.js +101 -0
- package/v2/model/ConfigInfoDO.d.ts +40 -0
- package/v2/model/ConfigInfoDO.js +77 -0
- package/v2/model/CreateDeployTaskByTemplateRequest.d.ts +18 -0
- package/v2/model/CreateDeployTaskByTemplateRequest.js +37 -0
- package/v2/model/CreateDeployTaskByTemplateResponse.d.ts +12 -0
- package/v2/model/CreateDeployTaskByTemplateResponse.js +55 -0
- package/v2/model/CreateDeploymentGroupRequest.d.ts +18 -0
- package/v2/model/CreateDeploymentGroupRequest.js +37 -0
- package/v2/model/CreateDeploymentGroupResponse.d.ts +8 -0
- package/v2/model/CreateDeploymentGroupResponse.js +41 -0
- package/v2/model/CreateDeploymentHostRequest.d.ts +22 -0
- package/v2/model/CreateDeploymentHostRequest.js +52 -0
- package/v2/model/CreateDeploymentHostResponse.d.ts +8 -0
- package/v2/model/CreateDeploymentHostResponse.js +41 -0
- package/v2/model/DeleteDeployTaskRequest.d.ts +19 -0
- package/v2/model/DeleteDeployTaskRequest.js +48 -0
- package/v2/model/DeleteDeployTaskResponse.d.ts +8 -0
- package/v2/model/DeleteDeployTaskResponse.js +41 -0
- package/v2/model/DeleteDeploymentGroupRequest.d.ts +19 -0
- package/v2/model/DeleteDeploymentGroupRequest.js +48 -0
- package/v2/model/DeleteDeploymentGroupResponse.d.ts +8 -0
- package/v2/model/DeleteDeploymentGroupResponse.js +41 -0
- package/v2/model/DeleteDeploymentHostRequest.d.ts +23 -0
- package/v2/model/DeleteDeploymentHostRequest.js +63 -0
- package/v2/model/DeleteDeploymentHostResponse.d.ts +8 -0
- package/v2/model/DeleteDeploymentHostResponse.js +41 -0
- package/v2/model/DeploymentGroup.d.ts +33 -0
- package/v2/model/DeploymentGroup.js +90 -0
- package/v2/model/DeploymentGroupDetail.d.ts +61 -0
- package/v2/model/DeploymentGroupDetail.js +193 -0
- package/v2/model/DeploymentGroupUpdateRequest.d.ts +24 -0
- package/v2/model/DeploymentGroupUpdateRequest.js +56 -0
- package/v2/model/DeploymentHost.d.ts +36 -0
- package/v2/model/DeploymentHost.js +96 -0
- package/v2/model/DeploymentHostAuthorizationBody.d.ts +23 -0
- package/v2/model/DeploymentHostAuthorizationBody.js +56 -0
- package/v2/model/DeploymentHostDetail.d.ts +103 -0
- package/v2/model/DeploymentHostDetail.js +325 -0
- package/v2/model/DeploymentHostInfo.d.ts +40 -0
- package/v2/model/DeploymentHostInfo.js +111 -0
- package/v2/model/DeploymentHostRequest.d.ts +28 -0
- package/v2/model/DeploymentHostRequest.js +86 -0
- package/v2/model/DeploymentUpdateHost.d.ts +26 -0
- package/v2/model/DeploymentUpdateHost.js +82 -0
- package/v2/model/DynamicConfigInfo.d.ts +19 -0
- package/v2/model/DynamicConfigInfo.js +32 -0
- package/v2/model/EnvExecutionBody.d.ts +14 -0
- package/v2/model/EnvExecutionBody.js +41 -0
- package/v2/model/ExecuteRecordV2Body.d.ts +29 -0
- package/v2/model/ExecuteRecordV2Body.js +85 -0
- package/v2/model/KeyValueDO.d.ts +7 -0
- package/v2/model/KeyValueDO.js +17 -0
- package/v2/model/ListDeployTaskHistoryByDateRequest.d.ts +33 -0
- package/v2/model/ListDeployTaskHistoryByDateRequest.js +93 -0
- package/v2/model/ListDeployTaskHistoryByDateResponse.d.ts +11 -0
- package/v2/model/ListDeployTaskHistoryByDateResponse.js +45 -0
- package/v2/model/ListDeployTasksRequest.d.ts +23 -0
- package/v2/model/ListDeployTasksRequest.js +58 -0
- package/v2/model/ListDeployTasksResponse.d.ts +11 -0
- package/v2/model/ListDeployTasksResponse.js +45 -0
- package/v2/model/ListHostGroupsRequest.d.ts +43 -0
- package/v2/model/ListHostGroupsRequest.js +100 -0
- package/v2/model/ListHostGroupsResponse.d.ts +11 -0
- package/v2/model/ListHostGroupsResponse.js +45 -0
- package/v2/model/ListHostsRequest.d.ts +37 -0
- package/v2/model/ListHostsRequest.js +101 -0
- package/v2/model/ListHostsResponse.d.ts +13 -0
- package/v2/model/ListHostsResponse.js +49 -0
- package/v2/model/ListTaskSuccessRateRequest.d.ts +10 -0
- package/v2/model/ListTaskSuccessRateRequest.js +28 -0
- package/v2/model/ListTaskSuccessRateResponse.d.ts +25 -0
- package/v2/model/ListTaskSuccessRateResponse.js +97 -0
- package/v2/model/ParamTypeLimits.d.ts +5 -0
- package/v2/model/ParamTypeLimits.js +13 -0
- package/v2/model/PermissionGroupDetail.d.ts +23 -0
- package/v2/model/PermissionGroupDetail.js +79 -0
- package/v2/model/PermissionHostDetail.d.ts +23 -0
- package/v2/model/PermissionHostDetail.js +79 -0
- package/v2/model/ShowDeployTaskDetailRequest.d.ts +7 -0
- package/v2/model/ShowDeployTaskDetailRequest.js +24 -0
- package/v2/model/ShowDeployTaskDetailResponse.d.ts +140 -0
- package/v2/model/ShowDeployTaskDetailResponse.js +442 -0
- package/v2/model/ShowDeploymentGroupDetailRequest.d.ts +7 -0
- package/v2/model/ShowDeploymentGroupDetailRequest.js +24 -0
- package/v2/model/ShowDeploymentGroupDetailResponse.d.ts +62 -0
- package/v2/model/ShowDeploymentGroupDetailResponse.js +211 -0
- package/v2/model/ShowDeploymentHostDetailRequest.d.ts +11 -0
- package/v2/model/ShowDeploymentHostDetailRequest.js +39 -0
- package/v2/model/ShowDeploymentHostDetailResponse.d.ts +105 -0
- package/v2/model/ShowDeploymentHostDetailResponse.js +344 -0
- package/v2/model/ShowProjectSuccessRateRequest.d.ts +15 -0
- package/v2/model/ShowProjectSuccessRateRequest.js +54 -0
- package/v2/model/ShowProjectSuccessRateResponse.d.ts +36 -0
- package/v2/model/ShowProjectSuccessRateResponse.js +139 -0
- package/v2/model/StartDeployTaskRequest.d.ts +22 -0
- package/v2/model/StartDeployTaskRequest.js +52 -0
- package/v2/model/StartDeployTaskResponse.d.ts +19 -0
- package/v2/model/StartDeployTaskResponse.js +73 -0
- package/v2/model/Step.d.ts +15 -0
- package/v2/model/Step.js +25 -0
- package/v2/model/TaskInfo.d.ts +139 -0
- package/v2/model/TaskInfo.js +424 -0
- package/v2/model/TaskSuccessRate.d.ts +23 -0
- package/v2/model/TaskSuccessRate.js +79 -0
- package/v2/model/TasksSuccessRateQuery.d.ts +15 -0
- package/v2/model/TasksSuccessRateQuery.js +54 -0
- package/v2/model/TemplateTaskRequestBody.d.ts +26 -0
- package/v2/model/TemplateTaskRequestBody.js +87 -0
- package/v2/model/UpdateDeploymentGroupRequest.d.ts +22 -0
- package/v2/model/UpdateDeploymentGroupRequest.js +52 -0
- package/v2/model/UpdateDeploymentGroupResponse.d.ts +8 -0
- package/v2/model/UpdateDeploymentGroupResponse.js +41 -0
- package/v2/model/UpdateDeploymentHostRequest.d.ts +26 -0
- package/v2/model/UpdateDeploymentHostRequest.js +67 -0
- package/v2/model/UpdateDeploymentHostResponse.d.ts +8 -0
- package/v2/model/UpdateDeploymentHostResponse.js +41 -0
- package/v2/model/UserInfo.d.ts +11 -0
- package/v2/model/UserInfo.js +37 -0
- package/v2/public-api.d.ts +62 -0
- package/v2/public-api.js +78 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class CodeArtsDeployRegion {
|
|
2
|
+
static AP_SOUTHEAST_3: any;
|
|
3
|
+
static CN_SOUTH_1: any;
|
|
4
|
+
static CN_EAST_3: any;
|
|
5
|
+
static CN_EAST_2: any;
|
|
6
|
+
static CN_NORTH_1: any;
|
|
7
|
+
static CN_NORTH_4: any;
|
|
8
|
+
static SA_BRAZIL_1: any;
|
|
9
|
+
static LA_NORTH_2: any;
|
|
10
|
+
private static REGION_MAP;
|
|
11
|
+
static valueOf(regionId: string): any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeArtsDeployRegion = void 0;
|
|
4
|
+
var region_1 = require("@huaweicloud/huaweicloud-sdk-core/region/region");
|
|
5
|
+
var CodeArtsDeployRegion = exports.CodeArtsDeployRegion = /** @class */ (function () {
|
|
6
|
+
function CodeArtsDeployRegion() {
|
|
7
|
+
}
|
|
8
|
+
CodeArtsDeployRegion.valueOf = function (regionId) {
|
|
9
|
+
if (!regionId) {
|
|
10
|
+
throw new Error("Unexpected empty parameter: regionId.");
|
|
11
|
+
}
|
|
12
|
+
var result = this.REGION_MAP[regionId];
|
|
13
|
+
if (result) {
|
|
14
|
+
return result;
|
|
15
|
+
}
|
|
16
|
+
throw new Error("Unexpected regionId: ".concat(regionId, "."));
|
|
17
|
+
};
|
|
18
|
+
CodeArtsDeployRegion.AP_SOUTHEAST_3 = new region_1.Region("ap-southeast-3", ["https://codearts-deploy.ap-southeast-3.myhuaweicloud.com"]);
|
|
19
|
+
CodeArtsDeployRegion.CN_SOUTH_1 = new region_1.Region("cn-south-1", ["https://codearts-deploy.cn-south-1.myhuaweicloud.com"]);
|
|
20
|
+
CodeArtsDeployRegion.CN_EAST_3 = new region_1.Region("cn-east-3", ["https://codearts-deploy.cn-east-3.myhuaweicloud.com"]);
|
|
21
|
+
CodeArtsDeployRegion.CN_EAST_2 = new region_1.Region("cn-east-2", ["https://codearts-deploy.cn-east-2.myhuaweicloud.com"]);
|
|
22
|
+
CodeArtsDeployRegion.CN_NORTH_1 = new region_1.Region("cn-north-1", ["https://codearts-deploy.cn-north-1.myhuaweicloud.com"]);
|
|
23
|
+
CodeArtsDeployRegion.CN_NORTH_4 = new region_1.Region("cn-north-4", ["https://codearts-deploy.cn-north-4.myhuaweicloud.com"]);
|
|
24
|
+
CodeArtsDeployRegion.SA_BRAZIL_1 = new region_1.Region("sa-brazil-1", ["https://codearts-deploy.sa-brazil-1.myhuaweicloud.com"]);
|
|
25
|
+
CodeArtsDeployRegion.LA_NORTH_2 = new region_1.Region("la-north-2", ["https://codearts-deploy.la-north-2.myhuaweicloud.com"]);
|
|
26
|
+
CodeArtsDeployRegion.REGION_MAP = {
|
|
27
|
+
"ap-southeast-3": CodeArtsDeployRegion.AP_SOUTHEAST_3,
|
|
28
|
+
"cn-south-1": CodeArtsDeployRegion.CN_SOUTH_1,
|
|
29
|
+
"cn-east-3": CodeArtsDeployRegion.CN_EAST_3,
|
|
30
|
+
"cn-east-2": CodeArtsDeployRegion.CN_EAST_2,
|
|
31
|
+
"cn-north-1": CodeArtsDeployRegion.CN_NORTH_1,
|
|
32
|
+
"cn-north-4": CodeArtsDeployRegion.CN_NORTH_4,
|
|
33
|
+
"sa-brazil-1": CodeArtsDeployRegion.SA_BRAZIL_1,
|
|
34
|
+
"la-north-2": CodeArtsDeployRegion.LA_NORTH_2
|
|
35
|
+
};
|
|
36
|
+
return CodeArtsDeployRegion;
|
|
37
|
+
}());
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare class AppComponentDao {
|
|
2
|
+
private 'task_id'?;
|
|
3
|
+
private 'app_id'?;
|
|
4
|
+
private 'app_name'?;
|
|
5
|
+
private 'comp_id'?;
|
|
6
|
+
private 'comp_name'?;
|
|
7
|
+
private 'domain_id'?;
|
|
8
|
+
region?: string;
|
|
9
|
+
state?: string;
|
|
10
|
+
constructor();
|
|
11
|
+
withTaskId(taskId: string): AppComponentDao;
|
|
12
|
+
set taskId(taskId: string | undefined);
|
|
13
|
+
get taskId(): string | undefined;
|
|
14
|
+
withAppId(appId: string): AppComponentDao;
|
|
15
|
+
set appId(appId: string | undefined);
|
|
16
|
+
get appId(): string | undefined;
|
|
17
|
+
withAppName(appName: string): AppComponentDao;
|
|
18
|
+
set appName(appName: string | undefined);
|
|
19
|
+
get appName(): string | undefined;
|
|
20
|
+
withCompId(compId: string): AppComponentDao;
|
|
21
|
+
set compId(compId: string | undefined);
|
|
22
|
+
get compId(): string | undefined;
|
|
23
|
+
withCompName(compName: string): AppComponentDao;
|
|
24
|
+
set compName(compName: string | undefined);
|
|
25
|
+
get compName(): string | undefined;
|
|
26
|
+
withDomainId(domainId: string): AppComponentDao;
|
|
27
|
+
set domainId(domainId: string | undefined);
|
|
28
|
+
get domainId(): string | undefined;
|
|
29
|
+
withRegion(region: string): AppComponentDao;
|
|
30
|
+
withState(state: string): AppComponentDao;
|
|
31
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppComponentDao = void 0;
|
|
4
|
+
var AppComponentDao = /** @class */ (function () {
|
|
5
|
+
function AppComponentDao() {
|
|
6
|
+
}
|
|
7
|
+
AppComponentDao.prototype.withTaskId = function (taskId) {
|
|
8
|
+
this['task_id'] = taskId;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(AppComponentDao.prototype, "taskId", {
|
|
12
|
+
get: function () {
|
|
13
|
+
return this['task_id'];
|
|
14
|
+
},
|
|
15
|
+
set: function (taskId) {
|
|
16
|
+
this['task_id'] = taskId;
|
|
17
|
+
},
|
|
18
|
+
enumerable: false,
|
|
19
|
+
configurable: true
|
|
20
|
+
});
|
|
21
|
+
AppComponentDao.prototype.withAppId = function (appId) {
|
|
22
|
+
this['app_id'] = appId;
|
|
23
|
+
return this;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(AppComponentDao.prototype, "appId", {
|
|
26
|
+
get: function () {
|
|
27
|
+
return this['app_id'];
|
|
28
|
+
},
|
|
29
|
+
set: function (appId) {
|
|
30
|
+
this['app_id'] = appId;
|
|
31
|
+
},
|
|
32
|
+
enumerable: false,
|
|
33
|
+
configurable: true
|
|
34
|
+
});
|
|
35
|
+
AppComponentDao.prototype.withAppName = function (appName) {
|
|
36
|
+
this['app_name'] = appName;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(AppComponentDao.prototype, "appName", {
|
|
40
|
+
get: function () {
|
|
41
|
+
return this['app_name'];
|
|
42
|
+
},
|
|
43
|
+
set: function (appName) {
|
|
44
|
+
this['app_name'] = appName;
|
|
45
|
+
},
|
|
46
|
+
enumerable: false,
|
|
47
|
+
configurable: true
|
|
48
|
+
});
|
|
49
|
+
AppComponentDao.prototype.withCompId = function (compId) {
|
|
50
|
+
this['comp_id'] = compId;
|
|
51
|
+
return this;
|
|
52
|
+
};
|
|
53
|
+
Object.defineProperty(AppComponentDao.prototype, "compId", {
|
|
54
|
+
get: function () {
|
|
55
|
+
return this['comp_id'];
|
|
56
|
+
},
|
|
57
|
+
set: function (compId) {
|
|
58
|
+
this['comp_id'] = compId;
|
|
59
|
+
},
|
|
60
|
+
enumerable: false,
|
|
61
|
+
configurable: true
|
|
62
|
+
});
|
|
63
|
+
AppComponentDao.prototype.withCompName = function (compName) {
|
|
64
|
+
this['comp_name'] = compName;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
Object.defineProperty(AppComponentDao.prototype, "compName", {
|
|
68
|
+
get: function () {
|
|
69
|
+
return this['comp_name'];
|
|
70
|
+
},
|
|
71
|
+
set: function (compName) {
|
|
72
|
+
this['comp_name'] = compName;
|
|
73
|
+
},
|
|
74
|
+
enumerable: false,
|
|
75
|
+
configurable: true
|
|
76
|
+
});
|
|
77
|
+
AppComponentDao.prototype.withDomainId = function (domainId) {
|
|
78
|
+
this['domain_id'] = domainId;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
Object.defineProperty(AppComponentDao.prototype, "domainId", {
|
|
82
|
+
get: function () {
|
|
83
|
+
return this['domain_id'];
|
|
84
|
+
},
|
|
85
|
+
set: function (domainId) {
|
|
86
|
+
this['domain_id'] = domainId;
|
|
87
|
+
},
|
|
88
|
+
enumerable: false,
|
|
89
|
+
configurable: true
|
|
90
|
+
});
|
|
91
|
+
AppComponentDao.prototype.withRegion = function (region) {
|
|
92
|
+
this['region'] = region;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
AppComponentDao.prototype.withState = function (state) {
|
|
96
|
+
this['state'] = state;
|
|
97
|
+
return this;
|
|
98
|
+
};
|
|
99
|
+
return AppComponentDao;
|
|
100
|
+
}());
|
|
101
|
+
exports.AppComponentDao = AppComponentDao;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ParamTypeLimits } from './ParamTypeLimits';
|
|
2
|
+
export declare class ConfigInfoDO {
|
|
3
|
+
name?: string;
|
|
4
|
+
type?: ConfigInfoDOTypeEnum;
|
|
5
|
+
description?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
private 'task_id'?;
|
|
8
|
+
private 'static_status'?;
|
|
9
|
+
limits?: Array<ParamTypeLimits>;
|
|
10
|
+
constructor();
|
|
11
|
+
withName(name: string): ConfigInfoDO;
|
|
12
|
+
withType(type: ConfigInfoDOTypeEnum): ConfigInfoDO;
|
|
13
|
+
withDescription(description: string): ConfigInfoDO;
|
|
14
|
+
withValue(value: string): ConfigInfoDO;
|
|
15
|
+
withTaskId(taskId: string): ConfigInfoDO;
|
|
16
|
+
set taskId(taskId: string | undefined);
|
|
17
|
+
get taskId(): string | undefined;
|
|
18
|
+
withStaticStatus(staticStatus: ConfigInfoDOStaticStatusEnum): ConfigInfoDO;
|
|
19
|
+
set staticStatus(staticStatus: ConfigInfoDOStaticStatusEnum | undefined);
|
|
20
|
+
get staticStatus(): ConfigInfoDOStaticStatusEnum | undefined;
|
|
21
|
+
withLimits(limits: Array<ParamTypeLimits>): ConfigInfoDO;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
* @enum {string}
|
|
26
|
+
*/
|
|
27
|
+
export declare enum ConfigInfoDOTypeEnum {
|
|
28
|
+
TEXT = "text",
|
|
29
|
+
HOST_GROUP = "host_group",
|
|
30
|
+
ENUM = "enum",
|
|
31
|
+
ENCRYPT = "encrypt"
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
* @enum {string}
|
|
36
|
+
*/
|
|
37
|
+
export declare enum ConfigInfoDOStaticStatusEnum {
|
|
38
|
+
NUMBER_0 = 0,
|
|
39
|
+
NUMBER_1 = 1
|
|
40
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConfigInfoDOStaticStatusEnum = exports.ConfigInfoDOTypeEnum = exports.ConfigInfoDO = void 0;
|
|
4
|
+
var ConfigInfoDO = /** @class */ (function () {
|
|
5
|
+
function ConfigInfoDO() {
|
|
6
|
+
}
|
|
7
|
+
ConfigInfoDO.prototype.withName = function (name) {
|
|
8
|
+
this['name'] = name;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
ConfigInfoDO.prototype.withType = function (type) {
|
|
12
|
+
this['type'] = type;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
ConfigInfoDO.prototype.withDescription = function (description) {
|
|
16
|
+
this['description'] = description;
|
|
17
|
+
return this;
|
|
18
|
+
};
|
|
19
|
+
ConfigInfoDO.prototype.withValue = function (value) {
|
|
20
|
+
this['value'] = value;
|
|
21
|
+
return this;
|
|
22
|
+
};
|
|
23
|
+
ConfigInfoDO.prototype.withTaskId = function (taskId) {
|
|
24
|
+
this['task_id'] = taskId;
|
|
25
|
+
return this;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(ConfigInfoDO.prototype, "taskId", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this['task_id'];
|
|
30
|
+
},
|
|
31
|
+
set: function (taskId) {
|
|
32
|
+
this['task_id'] = taskId;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
ConfigInfoDO.prototype.withStaticStatus = function (staticStatus) {
|
|
38
|
+
this['static_status'] = staticStatus;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
Object.defineProperty(ConfigInfoDO.prototype, "staticStatus", {
|
|
42
|
+
get: function () {
|
|
43
|
+
return this['static_status'];
|
|
44
|
+
},
|
|
45
|
+
set: function (staticStatus) {
|
|
46
|
+
this['static_status'] = staticStatus;
|
|
47
|
+
},
|
|
48
|
+
enumerable: false,
|
|
49
|
+
configurable: true
|
|
50
|
+
});
|
|
51
|
+
ConfigInfoDO.prototype.withLimits = function (limits) {
|
|
52
|
+
this['limits'] = limits;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
return ConfigInfoDO;
|
|
56
|
+
}());
|
|
57
|
+
exports.ConfigInfoDO = ConfigInfoDO;
|
|
58
|
+
/**
|
|
59
|
+
* @export
|
|
60
|
+
* @enum {string}
|
|
61
|
+
*/
|
|
62
|
+
var ConfigInfoDOTypeEnum;
|
|
63
|
+
(function (ConfigInfoDOTypeEnum) {
|
|
64
|
+
ConfigInfoDOTypeEnum["TEXT"] = "text";
|
|
65
|
+
ConfigInfoDOTypeEnum["HOST_GROUP"] = "host_group";
|
|
66
|
+
ConfigInfoDOTypeEnum["ENUM"] = "enum";
|
|
67
|
+
ConfigInfoDOTypeEnum["ENCRYPT"] = "encrypt";
|
|
68
|
+
})(ConfigInfoDOTypeEnum || (exports.ConfigInfoDOTypeEnum = ConfigInfoDOTypeEnum = {}));
|
|
69
|
+
/**
|
|
70
|
+
* @export
|
|
71
|
+
* @enum {string}
|
|
72
|
+
*/
|
|
73
|
+
var ConfigInfoDOStaticStatusEnum;
|
|
74
|
+
(function (ConfigInfoDOStaticStatusEnum) {
|
|
75
|
+
ConfigInfoDOStaticStatusEnum[ConfigInfoDOStaticStatusEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
|
76
|
+
ConfigInfoDOStaticStatusEnum[ConfigInfoDOStaticStatusEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
|
77
|
+
})(ConfigInfoDOStaticStatusEnum || (exports.ConfigInfoDOStaticStatusEnum = ConfigInfoDOStaticStatusEnum = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TemplateTaskRequestBody } from './TemplateTaskRequestBody';
|
|
2
|
+
export declare class CreateDeployTaskByTemplateRequest {
|
|
3
|
+
private 'Content-Type';
|
|
4
|
+
body?: TemplateTaskRequestBody;
|
|
5
|
+
constructor(contentType?: any);
|
|
6
|
+
withContentType(contentType: CreateDeployTaskByTemplateRequestContentTypeEnum): CreateDeployTaskByTemplateRequest;
|
|
7
|
+
set contentType(contentType: CreateDeployTaskByTemplateRequestContentTypeEnum | undefined);
|
|
8
|
+
get contentType(): CreateDeployTaskByTemplateRequestContentTypeEnum | undefined;
|
|
9
|
+
withBody(body: TemplateTaskRequestBody): CreateDeployTaskByTemplateRequest;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @export
|
|
13
|
+
* @enum {string}
|
|
14
|
+
*/
|
|
15
|
+
export declare enum CreateDeployTaskByTemplateRequestContentTypeEnum {
|
|
16
|
+
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
17
|
+
APPLICATION_JSON = "application/json"
|
|
18
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateDeployTaskByTemplateRequestContentTypeEnum = exports.CreateDeployTaskByTemplateRequest = void 0;
|
|
4
|
+
var CreateDeployTaskByTemplateRequest = /** @class */ (function () {
|
|
5
|
+
function CreateDeployTaskByTemplateRequest(contentType) {
|
|
6
|
+
this['Content-Type'] = contentType;
|
|
7
|
+
}
|
|
8
|
+
CreateDeployTaskByTemplateRequest.prototype.withContentType = function (contentType) {
|
|
9
|
+
this['Content-Type'] = contentType;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(CreateDeployTaskByTemplateRequest.prototype, "contentType", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return this['Content-Type'];
|
|
15
|
+
},
|
|
16
|
+
set: function (contentType) {
|
|
17
|
+
this['Content-Type'] = contentType;
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
CreateDeployTaskByTemplateRequest.prototype.withBody = function (body) {
|
|
23
|
+
this['body'] = body;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
return CreateDeployTaskByTemplateRequest;
|
|
27
|
+
}());
|
|
28
|
+
exports.CreateDeployTaskByTemplateRequest = CreateDeployTaskByTemplateRequest;
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
* @enum {string}
|
|
32
|
+
*/
|
|
33
|
+
var CreateDeployTaskByTemplateRequestContentTypeEnum;
|
|
34
|
+
(function (CreateDeployTaskByTemplateRequestContentTypeEnum) {
|
|
35
|
+
CreateDeployTaskByTemplateRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
36
|
+
CreateDeployTaskByTemplateRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
37
|
+
})(CreateDeployTaskByTemplateRequestContentTypeEnum || (exports.CreateDeployTaskByTemplateRequestContentTypeEnum = CreateDeployTaskByTemplateRequestContentTypeEnum = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class CreateDeployTaskByTemplateResponse extends SdkResponse {
|
|
3
|
+
private 'task_name'?;
|
|
4
|
+
private 'task_id'?;
|
|
5
|
+
constructor();
|
|
6
|
+
withTaskName(taskName: string): CreateDeployTaskByTemplateResponse;
|
|
7
|
+
set taskName(taskName: string | undefined);
|
|
8
|
+
get taskName(): string | undefined;
|
|
9
|
+
withTaskId(taskId: string): CreateDeployTaskByTemplateResponse;
|
|
10
|
+
set taskId(taskId: string | undefined);
|
|
11
|
+
get taskId(): string | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.CreateDeployTaskByTemplateResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var CreateDeployTaskByTemplateResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(CreateDeployTaskByTemplateResponse, _super);
|
|
22
|
+
function CreateDeployTaskByTemplateResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
CreateDeployTaskByTemplateResponse.prototype.withTaskName = function (taskName) {
|
|
26
|
+
this['task_name'] = taskName;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(CreateDeployTaskByTemplateResponse.prototype, "taskName", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['task_name'];
|
|
32
|
+
},
|
|
33
|
+
set: function (taskName) {
|
|
34
|
+
this['task_name'] = taskName;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
CreateDeployTaskByTemplateResponse.prototype.withTaskId = function (taskId) {
|
|
40
|
+
this['task_id'] = taskId;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(CreateDeployTaskByTemplateResponse.prototype, "taskId", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['task_id'];
|
|
46
|
+
},
|
|
47
|
+
set: function (taskId) {
|
|
48
|
+
this['task_id'] = taskId;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
return CreateDeployTaskByTemplateResponse;
|
|
54
|
+
}(SdkResponse_1.SdkResponse));
|
|
55
|
+
exports.CreateDeployTaskByTemplateResponse = CreateDeployTaskByTemplateResponse;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DeploymentGroup } from './DeploymentGroup';
|
|
2
|
+
export declare class CreateDeploymentGroupRequest {
|
|
3
|
+
private 'Content-Type';
|
|
4
|
+
body?: DeploymentGroup;
|
|
5
|
+
constructor(contentType?: any);
|
|
6
|
+
withContentType(contentType: CreateDeploymentGroupRequestContentTypeEnum): CreateDeploymentGroupRequest;
|
|
7
|
+
set contentType(contentType: CreateDeploymentGroupRequestContentTypeEnum | undefined);
|
|
8
|
+
get contentType(): CreateDeploymentGroupRequestContentTypeEnum | undefined;
|
|
9
|
+
withBody(body: DeploymentGroup): CreateDeploymentGroupRequest;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @export
|
|
13
|
+
* @enum {string}
|
|
14
|
+
*/
|
|
15
|
+
export declare enum CreateDeploymentGroupRequestContentTypeEnum {
|
|
16
|
+
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
17
|
+
APPLICATION_JSON = "application/json"
|
|
18
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateDeploymentGroupRequestContentTypeEnum = exports.CreateDeploymentGroupRequest = void 0;
|
|
4
|
+
var CreateDeploymentGroupRequest = /** @class */ (function () {
|
|
5
|
+
function CreateDeploymentGroupRequest(contentType) {
|
|
6
|
+
this['Content-Type'] = contentType;
|
|
7
|
+
}
|
|
8
|
+
CreateDeploymentGroupRequest.prototype.withContentType = function (contentType) {
|
|
9
|
+
this['Content-Type'] = contentType;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(CreateDeploymentGroupRequest.prototype, "contentType", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return this['Content-Type'];
|
|
15
|
+
},
|
|
16
|
+
set: function (contentType) {
|
|
17
|
+
this['Content-Type'] = contentType;
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
CreateDeploymentGroupRequest.prototype.withBody = function (body) {
|
|
23
|
+
this['body'] = body;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
return CreateDeploymentGroupRequest;
|
|
27
|
+
}());
|
|
28
|
+
exports.CreateDeploymentGroupRequest = CreateDeploymentGroupRequest;
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
* @enum {string}
|
|
32
|
+
*/
|
|
33
|
+
var CreateDeploymentGroupRequestContentTypeEnum;
|
|
34
|
+
(function (CreateDeploymentGroupRequestContentTypeEnum) {
|
|
35
|
+
CreateDeploymentGroupRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
36
|
+
CreateDeploymentGroupRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
37
|
+
})(CreateDeploymentGroupRequestContentTypeEnum || (exports.CreateDeploymentGroupRequestContentTypeEnum = CreateDeploymentGroupRequestContentTypeEnum = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class CreateDeploymentGroupResponse extends SdkResponse {
|
|
3
|
+
private 'group_id'?;
|
|
4
|
+
constructor();
|
|
5
|
+
withGroupId(groupId: string): CreateDeploymentGroupResponse;
|
|
6
|
+
set groupId(groupId: string | undefined);
|
|
7
|
+
get groupId(): string | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.CreateDeploymentGroupResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var CreateDeploymentGroupResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(CreateDeploymentGroupResponse, _super);
|
|
22
|
+
function CreateDeploymentGroupResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
CreateDeploymentGroupResponse.prototype.withGroupId = function (groupId) {
|
|
26
|
+
this['group_id'] = groupId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(CreateDeploymentGroupResponse.prototype, "groupId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['group_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (groupId) {
|
|
34
|
+
this['group_id'] = groupId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
return CreateDeploymentGroupResponse;
|
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
|
41
|
+
exports.CreateDeploymentGroupResponse = CreateDeploymentGroupResponse;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DeploymentHost } from './DeploymentHost';
|
|
2
|
+
export declare class CreateDeploymentHostRequest {
|
|
3
|
+
private 'group_id';
|
|
4
|
+
private 'Content-Type';
|
|
5
|
+
body?: DeploymentHost;
|
|
6
|
+
constructor(groupId?: any, contentType?: any);
|
|
7
|
+
withGroupId(groupId: string): CreateDeploymentHostRequest;
|
|
8
|
+
set groupId(groupId: string | undefined);
|
|
9
|
+
get groupId(): string | undefined;
|
|
10
|
+
withContentType(contentType: CreateDeploymentHostRequestContentTypeEnum): CreateDeploymentHostRequest;
|
|
11
|
+
set contentType(contentType: CreateDeploymentHostRequestContentTypeEnum | undefined);
|
|
12
|
+
get contentType(): CreateDeploymentHostRequestContentTypeEnum | undefined;
|
|
13
|
+
withBody(body: DeploymentHost): CreateDeploymentHostRequest;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export declare enum CreateDeploymentHostRequestContentTypeEnum {
|
|
20
|
+
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
21
|
+
APPLICATION_JSON = "application/json"
|
|
22
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateDeploymentHostRequestContentTypeEnum = exports.CreateDeploymentHostRequest = void 0;
|
|
4
|
+
var CreateDeploymentHostRequest = /** @class */ (function () {
|
|
5
|
+
function CreateDeploymentHostRequest(groupId, contentType) {
|
|
6
|
+
this['group_id'] = groupId;
|
|
7
|
+
this['Content-Type'] = contentType;
|
|
8
|
+
}
|
|
9
|
+
CreateDeploymentHostRequest.prototype.withGroupId = function (groupId) {
|
|
10
|
+
this['group_id'] = groupId;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(CreateDeploymentHostRequest.prototype, "groupId", {
|
|
14
|
+
get: function () {
|
|
15
|
+
return this['group_id'];
|
|
16
|
+
},
|
|
17
|
+
set: function (groupId) {
|
|
18
|
+
this['group_id'] = groupId;
|
|
19
|
+
},
|
|
20
|
+
enumerable: false,
|
|
21
|
+
configurable: true
|
|
22
|
+
});
|
|
23
|
+
CreateDeploymentHostRequest.prototype.withContentType = function (contentType) {
|
|
24
|
+
this['Content-Type'] = contentType;
|
|
25
|
+
return this;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(CreateDeploymentHostRequest.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
|
+
CreateDeploymentHostRequest.prototype.withBody = function (body) {
|
|
38
|
+
this['body'] = body;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
return CreateDeploymentHostRequest;
|
|
42
|
+
}());
|
|
43
|
+
exports.CreateDeploymentHostRequest = CreateDeploymentHostRequest;
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
* @enum {string}
|
|
47
|
+
*/
|
|
48
|
+
var CreateDeploymentHostRequestContentTypeEnum;
|
|
49
|
+
(function (CreateDeploymentHostRequestContentTypeEnum) {
|
|
50
|
+
CreateDeploymentHostRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
51
|
+
CreateDeploymentHostRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
52
|
+
})(CreateDeploymentHostRequestContentTypeEnum || (exports.CreateDeploymentHostRequestContentTypeEnum = CreateDeploymentHostRequestContentTypeEnum = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class CreateDeploymentHostResponse extends SdkResponse {
|
|
3
|
+
private 'host_id'?;
|
|
4
|
+
constructor();
|
|
5
|
+
withHostId(hostId: string): CreateDeploymentHostResponse;
|
|
6
|
+
set hostId(hostId: string | undefined);
|
|
7
|
+
get hostId(): string | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.CreateDeploymentHostResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var CreateDeploymentHostResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(CreateDeploymentHostResponse, _super);
|
|
22
|
+
function CreateDeploymentHostResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
CreateDeploymentHostResponse.prototype.withHostId = function (hostId) {
|
|
26
|
+
this['host_id'] = hostId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(CreateDeploymentHostResponse.prototype, "hostId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['host_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (hostId) {
|
|
34
|
+
this['host_id'] = hostId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
return CreateDeploymentHostResponse;
|
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
|
41
|
+
exports.CreateDeploymentHostResponse = CreateDeploymentHostResponse;
|