@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,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeploymentUpdateHost = void 0;
|
|
4
|
+
var DeploymentUpdateHost = /** @class */ (function () {
|
|
5
|
+
function DeploymentUpdateHost(hostName, ip, port, asProxy, authorization) {
|
|
6
|
+
this['host_name'] = hostName;
|
|
7
|
+
this['ip'] = ip;
|
|
8
|
+
this['port'] = port;
|
|
9
|
+
this['as_proxy'] = asProxy;
|
|
10
|
+
this['authorization'] = authorization;
|
|
11
|
+
}
|
|
12
|
+
DeploymentUpdateHost.prototype.withHostName = function (hostName) {
|
|
13
|
+
this['host_name'] = hostName;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(DeploymentUpdateHost.prototype, "hostName", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this['host_name'];
|
|
19
|
+
},
|
|
20
|
+
set: function (hostName) {
|
|
21
|
+
this['host_name'] = hostName;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
DeploymentUpdateHost.prototype.withIp = function (ip) {
|
|
27
|
+
this['ip'] = ip;
|
|
28
|
+
return this;
|
|
29
|
+
};
|
|
30
|
+
DeploymentUpdateHost.prototype.withPort = function (port) {
|
|
31
|
+
this['port'] = port;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
DeploymentUpdateHost.prototype.withAsProxy = function (asProxy) {
|
|
35
|
+
this['as_proxy'] = asProxy;
|
|
36
|
+
return this;
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(DeploymentUpdateHost.prototype, "asProxy", {
|
|
39
|
+
get: function () {
|
|
40
|
+
return this['as_proxy'];
|
|
41
|
+
},
|
|
42
|
+
set: function (asProxy) {
|
|
43
|
+
this['as_proxy'] = asProxy;
|
|
44
|
+
},
|
|
45
|
+
enumerable: false,
|
|
46
|
+
configurable: true
|
|
47
|
+
});
|
|
48
|
+
DeploymentUpdateHost.prototype.withProxyHostId = function (proxyHostId) {
|
|
49
|
+
this['proxy_host_id'] = proxyHostId;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(DeploymentUpdateHost.prototype, "proxyHostId", {
|
|
53
|
+
get: function () {
|
|
54
|
+
return this['proxy_host_id'];
|
|
55
|
+
},
|
|
56
|
+
set: function (proxyHostId) {
|
|
57
|
+
this['proxy_host_id'] = proxyHostId;
|
|
58
|
+
},
|
|
59
|
+
enumerable: false,
|
|
60
|
+
configurable: true
|
|
61
|
+
});
|
|
62
|
+
DeploymentUpdateHost.prototype.withAuthorization = function (authorization) {
|
|
63
|
+
this['authorization'] = authorization;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
DeploymentUpdateHost.prototype.withInstallIcagent = function (installIcagent) {
|
|
67
|
+
this['install_icagent'] = installIcagent;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
Object.defineProperty(DeploymentUpdateHost.prototype, "installIcagent", {
|
|
71
|
+
get: function () {
|
|
72
|
+
return this['install_icagent'];
|
|
73
|
+
},
|
|
74
|
+
set: function (installIcagent) {
|
|
75
|
+
this['install_icagent'] = installIcagent;
|
|
76
|
+
},
|
|
77
|
+
enumerable: false,
|
|
78
|
+
configurable: true
|
|
79
|
+
});
|
|
80
|
+
return DeploymentUpdateHost;
|
|
81
|
+
}());
|
|
82
|
+
exports.DeploymentUpdateHost = DeploymentUpdateHost;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class DynamicConfigInfo {
|
|
2
|
+
key?: string;
|
|
3
|
+
value?: string;
|
|
4
|
+
type?: DynamicConfigInfoTypeEnum;
|
|
5
|
+
constructor();
|
|
6
|
+
withKey(key: string): DynamicConfigInfo;
|
|
7
|
+
withValue(value: string): DynamicConfigInfo;
|
|
8
|
+
withType(type: DynamicConfigInfoTypeEnum): DynamicConfigInfo;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @export
|
|
12
|
+
* @enum {string}
|
|
13
|
+
*/
|
|
14
|
+
export declare enum DynamicConfigInfoTypeEnum {
|
|
15
|
+
TEXT = "text",
|
|
16
|
+
HOST_GROUP = "host_group",
|
|
17
|
+
ENCRYPT = "encrypt",
|
|
18
|
+
ENUM = "enum"
|
|
19
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynamicConfigInfoTypeEnum = exports.DynamicConfigInfo = void 0;
|
|
4
|
+
var DynamicConfigInfo = /** @class */ (function () {
|
|
5
|
+
function DynamicConfigInfo() {
|
|
6
|
+
}
|
|
7
|
+
DynamicConfigInfo.prototype.withKey = function (key) {
|
|
8
|
+
this['key'] = key;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
DynamicConfigInfo.prototype.withValue = function (value) {
|
|
12
|
+
this['value'] = value;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
DynamicConfigInfo.prototype.withType = function (type) {
|
|
16
|
+
this['type'] = type;
|
|
17
|
+
return this;
|
|
18
|
+
};
|
|
19
|
+
return DynamicConfigInfo;
|
|
20
|
+
}());
|
|
21
|
+
exports.DynamicConfigInfo = DynamicConfigInfo;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
* @enum {string}
|
|
25
|
+
*/
|
|
26
|
+
var DynamicConfigInfoTypeEnum;
|
|
27
|
+
(function (DynamicConfigInfoTypeEnum) {
|
|
28
|
+
DynamicConfigInfoTypeEnum["TEXT"] = "text";
|
|
29
|
+
DynamicConfigInfoTypeEnum["HOST_GROUP"] = "host_group";
|
|
30
|
+
DynamicConfigInfoTypeEnum["ENCRYPT"] = "encrypt";
|
|
31
|
+
DynamicConfigInfoTypeEnum["ENUM"] = "enum";
|
|
32
|
+
})(DynamicConfigInfoTypeEnum || (exports.DynamicConfigInfoTypeEnum = DynamicConfigInfoTypeEnum = {}));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DynamicConfigInfo } from './DynamicConfigInfo';
|
|
2
|
+
export declare class EnvExecutionBody {
|
|
3
|
+
params?: Array<DynamicConfigInfo>;
|
|
4
|
+
private 'record_id'?;
|
|
5
|
+
private 'trigger_source'?;
|
|
6
|
+
constructor();
|
|
7
|
+
withParams(params: Array<DynamicConfigInfo>): EnvExecutionBody;
|
|
8
|
+
withRecordId(recordId: string): EnvExecutionBody;
|
|
9
|
+
set recordId(recordId: string | undefined);
|
|
10
|
+
get recordId(): string | undefined;
|
|
11
|
+
withTriggerSource(triggerSource: string): EnvExecutionBody;
|
|
12
|
+
set triggerSource(triggerSource: string | undefined);
|
|
13
|
+
get triggerSource(): string | undefined;
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EnvExecutionBody = void 0;
|
|
4
|
+
var EnvExecutionBody = /** @class */ (function () {
|
|
5
|
+
function EnvExecutionBody() {
|
|
6
|
+
}
|
|
7
|
+
EnvExecutionBody.prototype.withParams = function (params) {
|
|
8
|
+
this['params'] = params;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
EnvExecutionBody.prototype.withRecordId = function (recordId) {
|
|
12
|
+
this['record_id'] = recordId;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
Object.defineProperty(EnvExecutionBody.prototype, "recordId", {
|
|
16
|
+
get: function () {
|
|
17
|
+
return this['record_id'];
|
|
18
|
+
},
|
|
19
|
+
set: function (recordId) {
|
|
20
|
+
this['record_id'] = recordId;
|
|
21
|
+
},
|
|
22
|
+
enumerable: false,
|
|
23
|
+
configurable: true
|
|
24
|
+
});
|
|
25
|
+
EnvExecutionBody.prototype.withTriggerSource = function (triggerSource) {
|
|
26
|
+
this['trigger_source'] = triggerSource;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(EnvExecutionBody.prototype, "triggerSource", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['trigger_source'];
|
|
32
|
+
},
|
|
33
|
+
set: function (triggerSource) {
|
|
34
|
+
this['trigger_source'] = triggerSource;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
return EnvExecutionBody;
|
|
40
|
+
}());
|
|
41
|
+
exports.EnvExecutionBody = EnvExecutionBody;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare class ExecuteRecordV2Body {
|
|
2
|
+
duration?: string;
|
|
3
|
+
state?: string;
|
|
4
|
+
operator?: string;
|
|
5
|
+
private 'execution_id'?;
|
|
6
|
+
private 'start_time'?;
|
|
7
|
+
nickname?: string;
|
|
8
|
+
private 'end_time'?;
|
|
9
|
+
private 'release_id'?;
|
|
10
|
+
type?: string;
|
|
11
|
+
constructor();
|
|
12
|
+
withDuration(duration: string): ExecuteRecordV2Body;
|
|
13
|
+
withState(state: string): ExecuteRecordV2Body;
|
|
14
|
+
withOperator(operator: string): ExecuteRecordV2Body;
|
|
15
|
+
withExecutionId(executionId: string): ExecuteRecordV2Body;
|
|
16
|
+
set executionId(executionId: string | undefined);
|
|
17
|
+
get executionId(): string | undefined;
|
|
18
|
+
withStartTime(startTime: string): ExecuteRecordV2Body;
|
|
19
|
+
set startTime(startTime: string | undefined);
|
|
20
|
+
get startTime(): string | undefined;
|
|
21
|
+
withNickname(nickname: string): ExecuteRecordV2Body;
|
|
22
|
+
withEndTime(endTime: string): ExecuteRecordV2Body;
|
|
23
|
+
set endTime(endTime: string | undefined);
|
|
24
|
+
get endTime(): string | undefined;
|
|
25
|
+
withReleaseId(releaseId: number): ExecuteRecordV2Body;
|
|
26
|
+
set releaseId(releaseId: number | undefined);
|
|
27
|
+
get releaseId(): number | undefined;
|
|
28
|
+
withType(type: string): ExecuteRecordV2Body;
|
|
29
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExecuteRecordV2Body = void 0;
|
|
4
|
+
var ExecuteRecordV2Body = /** @class */ (function () {
|
|
5
|
+
function ExecuteRecordV2Body() {
|
|
6
|
+
}
|
|
7
|
+
ExecuteRecordV2Body.prototype.withDuration = function (duration) {
|
|
8
|
+
this['duration'] = duration;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
ExecuteRecordV2Body.prototype.withState = function (state) {
|
|
12
|
+
this['state'] = state;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
ExecuteRecordV2Body.prototype.withOperator = function (operator) {
|
|
16
|
+
this['operator'] = operator;
|
|
17
|
+
return this;
|
|
18
|
+
};
|
|
19
|
+
ExecuteRecordV2Body.prototype.withExecutionId = function (executionId) {
|
|
20
|
+
this['execution_id'] = executionId;
|
|
21
|
+
return this;
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(ExecuteRecordV2Body.prototype, "executionId", {
|
|
24
|
+
get: function () {
|
|
25
|
+
return this['execution_id'];
|
|
26
|
+
},
|
|
27
|
+
set: function (executionId) {
|
|
28
|
+
this['execution_id'] = executionId;
|
|
29
|
+
},
|
|
30
|
+
enumerable: false,
|
|
31
|
+
configurable: true
|
|
32
|
+
});
|
|
33
|
+
ExecuteRecordV2Body.prototype.withStartTime = function (startTime) {
|
|
34
|
+
this['start_time'] = startTime;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(ExecuteRecordV2Body.prototype, "startTime", {
|
|
38
|
+
get: function () {
|
|
39
|
+
return this['start_time'];
|
|
40
|
+
},
|
|
41
|
+
set: function (startTime) {
|
|
42
|
+
this['start_time'] = startTime;
|
|
43
|
+
},
|
|
44
|
+
enumerable: false,
|
|
45
|
+
configurable: true
|
|
46
|
+
});
|
|
47
|
+
ExecuteRecordV2Body.prototype.withNickname = function (nickname) {
|
|
48
|
+
this['nickname'] = nickname;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
ExecuteRecordV2Body.prototype.withEndTime = function (endTime) {
|
|
52
|
+
this['end_time'] = endTime;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
Object.defineProperty(ExecuteRecordV2Body.prototype, "endTime", {
|
|
56
|
+
get: function () {
|
|
57
|
+
return this['end_time'];
|
|
58
|
+
},
|
|
59
|
+
set: function (endTime) {
|
|
60
|
+
this['end_time'] = endTime;
|
|
61
|
+
},
|
|
62
|
+
enumerable: false,
|
|
63
|
+
configurable: true
|
|
64
|
+
});
|
|
65
|
+
ExecuteRecordV2Body.prototype.withReleaseId = function (releaseId) {
|
|
66
|
+
this['release_id'] = releaseId;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
Object.defineProperty(ExecuteRecordV2Body.prototype, "releaseId", {
|
|
70
|
+
get: function () {
|
|
71
|
+
return this['release_id'];
|
|
72
|
+
},
|
|
73
|
+
set: function (releaseId) {
|
|
74
|
+
this['release_id'] = releaseId;
|
|
75
|
+
},
|
|
76
|
+
enumerable: false,
|
|
77
|
+
configurable: true
|
|
78
|
+
});
|
|
79
|
+
ExecuteRecordV2Body.prototype.withType = function (type) {
|
|
80
|
+
this['type'] = type;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
return ExecuteRecordV2Body;
|
|
84
|
+
}());
|
|
85
|
+
exports.ExecuteRecordV2Body = ExecuteRecordV2Body;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KeyValueDO = void 0;
|
|
4
|
+
var KeyValueDO = /** @class */ (function () {
|
|
5
|
+
function KeyValueDO() {
|
|
6
|
+
}
|
|
7
|
+
KeyValueDO.prototype.withKey = function (key) {
|
|
8
|
+
this['key'] = key;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
KeyValueDO.prototype.withValue = function (value) {
|
|
12
|
+
this['value'] = value;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
return KeyValueDO;
|
|
16
|
+
}());
|
|
17
|
+
exports.KeyValueDO = KeyValueDO;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare class ListDeployTaskHistoryByDateRequest {
|
|
2
|
+
private 'project_id';
|
|
3
|
+
id: string;
|
|
4
|
+
page: number;
|
|
5
|
+
size: number;
|
|
6
|
+
private 'start_date';
|
|
7
|
+
private 'end_date';
|
|
8
|
+
private 'Content-Type';
|
|
9
|
+
constructor(projectId?: any, id?: any, page?: any, size?: any, startDate?: any, endDate?: any, contentType?: any);
|
|
10
|
+
withProjectId(projectId: string): ListDeployTaskHistoryByDateRequest;
|
|
11
|
+
set projectId(projectId: string | undefined);
|
|
12
|
+
get projectId(): string | undefined;
|
|
13
|
+
withId(id: string): ListDeployTaskHistoryByDateRequest;
|
|
14
|
+
withPage(page: number): ListDeployTaskHistoryByDateRequest;
|
|
15
|
+
withSize(size: number): ListDeployTaskHistoryByDateRequest;
|
|
16
|
+
withStartDate(startDate: string): ListDeployTaskHistoryByDateRequest;
|
|
17
|
+
set startDate(startDate: string | undefined);
|
|
18
|
+
get startDate(): string | undefined;
|
|
19
|
+
withEndDate(endDate: string): ListDeployTaskHistoryByDateRequest;
|
|
20
|
+
set endDate(endDate: string | undefined);
|
|
21
|
+
get endDate(): string | undefined;
|
|
22
|
+
withContentType(contentType: ListDeployTaskHistoryByDateRequestContentTypeEnum): ListDeployTaskHistoryByDateRequest;
|
|
23
|
+
set contentType(contentType: ListDeployTaskHistoryByDateRequestContentTypeEnum | undefined);
|
|
24
|
+
get contentType(): ListDeployTaskHistoryByDateRequestContentTypeEnum | undefined;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
export declare enum ListDeployTaskHistoryByDateRequestContentTypeEnum {
|
|
31
|
+
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
32
|
+
APPLICATION_JSON = "application/json"
|
|
33
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListDeployTaskHistoryByDateRequestContentTypeEnum = exports.ListDeployTaskHistoryByDateRequest = void 0;
|
|
4
|
+
var ListDeployTaskHistoryByDateRequest = /** @class */ (function () {
|
|
5
|
+
function ListDeployTaskHistoryByDateRequest(projectId, id, page, size, startDate, endDate, contentType) {
|
|
6
|
+
this['project_id'] = projectId;
|
|
7
|
+
this['id'] = id;
|
|
8
|
+
this['page'] = page;
|
|
9
|
+
this['size'] = size;
|
|
10
|
+
this['start_date'] = startDate;
|
|
11
|
+
this['end_date'] = endDate;
|
|
12
|
+
this['Content-Type'] = contentType;
|
|
13
|
+
}
|
|
14
|
+
ListDeployTaskHistoryByDateRequest.prototype.withProjectId = function (projectId) {
|
|
15
|
+
this['project_id'] = projectId;
|
|
16
|
+
return this;
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(ListDeployTaskHistoryByDateRequest.prototype, "projectId", {
|
|
19
|
+
get: function () {
|
|
20
|
+
return this['project_id'];
|
|
21
|
+
},
|
|
22
|
+
set: function (projectId) {
|
|
23
|
+
this['project_id'] = projectId;
|
|
24
|
+
},
|
|
25
|
+
enumerable: false,
|
|
26
|
+
configurable: true
|
|
27
|
+
});
|
|
28
|
+
ListDeployTaskHistoryByDateRequest.prototype.withId = function (id) {
|
|
29
|
+
this['id'] = id;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
ListDeployTaskHistoryByDateRequest.prototype.withPage = function (page) {
|
|
33
|
+
this['page'] = page;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
ListDeployTaskHistoryByDateRequest.prototype.withSize = function (size) {
|
|
37
|
+
this['size'] = size;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
ListDeployTaskHistoryByDateRequest.prototype.withStartDate = function (startDate) {
|
|
41
|
+
this['start_date'] = startDate;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
Object.defineProperty(ListDeployTaskHistoryByDateRequest.prototype, "startDate", {
|
|
45
|
+
get: function () {
|
|
46
|
+
return this['start_date'];
|
|
47
|
+
},
|
|
48
|
+
set: function (startDate) {
|
|
49
|
+
this['start_date'] = startDate;
|
|
50
|
+
},
|
|
51
|
+
enumerable: false,
|
|
52
|
+
configurable: true
|
|
53
|
+
});
|
|
54
|
+
ListDeployTaskHistoryByDateRequest.prototype.withEndDate = function (endDate) {
|
|
55
|
+
this['end_date'] = endDate;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
Object.defineProperty(ListDeployTaskHistoryByDateRequest.prototype, "endDate", {
|
|
59
|
+
get: function () {
|
|
60
|
+
return this['end_date'];
|
|
61
|
+
},
|
|
62
|
+
set: function (endDate) {
|
|
63
|
+
this['end_date'] = endDate;
|
|
64
|
+
},
|
|
65
|
+
enumerable: false,
|
|
66
|
+
configurable: true
|
|
67
|
+
});
|
|
68
|
+
ListDeployTaskHistoryByDateRequest.prototype.withContentType = function (contentType) {
|
|
69
|
+
this['Content-Type'] = contentType;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
Object.defineProperty(ListDeployTaskHistoryByDateRequest.prototype, "contentType", {
|
|
73
|
+
get: function () {
|
|
74
|
+
return this['Content-Type'];
|
|
75
|
+
},
|
|
76
|
+
set: function (contentType) {
|
|
77
|
+
this['Content-Type'] = contentType;
|
|
78
|
+
},
|
|
79
|
+
enumerable: false,
|
|
80
|
+
configurable: true
|
|
81
|
+
});
|
|
82
|
+
return ListDeployTaskHistoryByDateRequest;
|
|
83
|
+
}());
|
|
84
|
+
exports.ListDeployTaskHistoryByDateRequest = ListDeployTaskHistoryByDateRequest;
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
* @enum {string}
|
|
88
|
+
*/
|
|
89
|
+
var ListDeployTaskHistoryByDateRequestContentTypeEnum;
|
|
90
|
+
(function (ListDeployTaskHistoryByDateRequestContentTypeEnum) {
|
|
91
|
+
ListDeployTaskHistoryByDateRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
92
|
+
ListDeployTaskHistoryByDateRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
93
|
+
})(ListDeployTaskHistoryByDateRequestContentTypeEnum || (exports.ListDeployTaskHistoryByDateRequestContentTypeEnum = ListDeployTaskHistoryByDateRequestContentTypeEnum = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecuteRecordV2Body } from './ExecuteRecordV2Body';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ListDeployTaskHistoryByDateResponse extends SdkResponse {
|
|
4
|
+
result?: Array<ExecuteRecordV2Body>;
|
|
5
|
+
private 'total_num'?;
|
|
6
|
+
constructor();
|
|
7
|
+
withResult(result: Array<ExecuteRecordV2Body>): ListDeployTaskHistoryByDateResponse;
|
|
8
|
+
withTotalNum(totalNum: number): ListDeployTaskHistoryByDateResponse;
|
|
9
|
+
set totalNum(totalNum: number | undefined);
|
|
10
|
+
get totalNum(): number | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.ListDeployTaskHistoryByDateResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListDeployTaskHistoryByDateResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListDeployTaskHistoryByDateResponse, _super);
|
|
22
|
+
function ListDeployTaskHistoryByDateResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListDeployTaskHistoryByDateResponse.prototype.withResult = function (result) {
|
|
26
|
+
this['result'] = result;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
ListDeployTaskHistoryByDateResponse.prototype.withTotalNum = function (totalNum) {
|
|
30
|
+
this['total_num'] = totalNum;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(ListDeployTaskHistoryByDateResponse.prototype, "totalNum", {
|
|
34
|
+
get: function () {
|
|
35
|
+
return this['total_num'];
|
|
36
|
+
},
|
|
37
|
+
set: function (totalNum) {
|
|
38
|
+
this['total_num'] = totalNum;
|
|
39
|
+
},
|
|
40
|
+
enumerable: false,
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
return ListDeployTaskHistoryByDateResponse;
|
|
44
|
+
}(SdkResponse_1.SdkResponse));
|
|
45
|
+
exports.ListDeployTaskHistoryByDateResponse = ListDeployTaskHistoryByDateResponse;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class ListDeployTasksRequest {
|
|
2
|
+
private 'project_id';
|
|
3
|
+
private 'Content-Type';
|
|
4
|
+
page: number;
|
|
5
|
+
size: number;
|
|
6
|
+
constructor(projectId?: any, contentType?: any, page?: any, size?: any);
|
|
7
|
+
withProjectId(projectId: string): ListDeployTasksRequest;
|
|
8
|
+
set projectId(projectId: string | undefined);
|
|
9
|
+
get projectId(): string | undefined;
|
|
10
|
+
withContentType(contentType: ListDeployTasksRequestContentTypeEnum): ListDeployTasksRequest;
|
|
11
|
+
set contentType(contentType: ListDeployTasksRequestContentTypeEnum | undefined);
|
|
12
|
+
get contentType(): ListDeployTasksRequestContentTypeEnum | undefined;
|
|
13
|
+
withPage(page: number): ListDeployTasksRequest;
|
|
14
|
+
withSize(size: number): ListDeployTasksRequest;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
* @enum {string}
|
|
19
|
+
*/
|
|
20
|
+
export declare enum ListDeployTasksRequestContentTypeEnum {
|
|
21
|
+
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
22
|
+
APPLICATION_JSON = "application/json"
|
|
23
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListDeployTasksRequestContentTypeEnum = exports.ListDeployTasksRequest = void 0;
|
|
4
|
+
var ListDeployTasksRequest = /** @class */ (function () {
|
|
5
|
+
function ListDeployTasksRequest(projectId, contentType, page, size) {
|
|
6
|
+
this['project_id'] = projectId;
|
|
7
|
+
this['Content-Type'] = contentType;
|
|
8
|
+
this['page'] = page;
|
|
9
|
+
this['size'] = size;
|
|
10
|
+
}
|
|
11
|
+
ListDeployTasksRequest.prototype.withProjectId = function (projectId) {
|
|
12
|
+
this['project_id'] = projectId;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
Object.defineProperty(ListDeployTasksRequest.prototype, "projectId", {
|
|
16
|
+
get: function () {
|
|
17
|
+
return this['project_id'];
|
|
18
|
+
},
|
|
19
|
+
set: function (projectId) {
|
|
20
|
+
this['project_id'] = projectId;
|
|
21
|
+
},
|
|
22
|
+
enumerable: false,
|
|
23
|
+
configurable: true
|
|
24
|
+
});
|
|
25
|
+
ListDeployTasksRequest.prototype.withContentType = function (contentType) {
|
|
26
|
+
this['Content-Type'] = contentType;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(ListDeployTasksRequest.prototype, "contentType", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['Content-Type'];
|
|
32
|
+
},
|
|
33
|
+
set: function (contentType) {
|
|
34
|
+
this['Content-Type'] = contentType;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
ListDeployTasksRequest.prototype.withPage = function (page) {
|
|
40
|
+
this['page'] = page;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
ListDeployTasksRequest.prototype.withSize = function (size) {
|
|
44
|
+
this['size'] = size;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
return ListDeployTasksRequest;
|
|
48
|
+
}());
|
|
49
|
+
exports.ListDeployTasksRequest = ListDeployTasksRequest;
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
* @enum {string}
|
|
53
|
+
*/
|
|
54
|
+
var ListDeployTasksRequestContentTypeEnum;
|
|
55
|
+
(function (ListDeployTasksRequestContentTypeEnum) {
|
|
56
|
+
ListDeployTasksRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
57
|
+
ListDeployTasksRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
58
|
+
})(ListDeployTasksRequestContentTypeEnum || (exports.ListDeployTasksRequestContentTypeEnum = ListDeployTasksRequestContentTypeEnum = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TaskInfo } from './TaskInfo';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ListDeployTasksResponse extends SdkResponse {
|
|
4
|
+
private 'total_num'?;
|
|
5
|
+
result?: Array<TaskInfo>;
|
|
6
|
+
constructor();
|
|
7
|
+
withTotalNum(totalNum: number): ListDeployTasksResponse;
|
|
8
|
+
set totalNum(totalNum: number | undefined);
|
|
9
|
+
get totalNum(): number | undefined;
|
|
10
|
+
withResult(result: Array<TaskInfo>): ListDeployTasksResponse;
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.ListDeployTasksResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListDeployTasksResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListDeployTasksResponse, _super);
|
|
22
|
+
function ListDeployTasksResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListDeployTasksResponse.prototype.withTotalNum = function (totalNum) {
|
|
26
|
+
this['total_num'] = totalNum;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(ListDeployTasksResponse.prototype, "totalNum", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['total_num'];
|
|
32
|
+
},
|
|
33
|
+
set: function (totalNum) {
|
|
34
|
+
this['total_num'] = totalNum;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
ListDeployTasksResponse.prototype.withResult = function (result) {
|
|
40
|
+
this['result'] = result;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
return ListDeployTasksResponse;
|
|
44
|
+
}(SdkResponse_1.SdkResponse));
|
|
45
|
+
exports.ListDeployTasksResponse = ListDeployTasksResponse;
|