@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,43 @@
|
|
|
1
|
+
export declare class ListHostGroupsRequest {
|
|
2
|
+
private 'project_id'?;
|
|
3
|
+
private 'region_name';
|
|
4
|
+
os?: ListHostGroupsRequestOsEnum;
|
|
5
|
+
offset?: number;
|
|
6
|
+
limit?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
private 'sort_key'?;
|
|
9
|
+
private 'sort_dir'?;
|
|
10
|
+
constructor(regionName?: any);
|
|
11
|
+
withProjectId(projectId: string): ListHostGroupsRequest;
|
|
12
|
+
set projectId(projectId: string | undefined);
|
|
13
|
+
get projectId(): string | undefined;
|
|
14
|
+
withRegionName(regionName: string): ListHostGroupsRequest;
|
|
15
|
+
set regionName(regionName: string | undefined);
|
|
16
|
+
get regionName(): string | undefined;
|
|
17
|
+
withOs(os: ListHostGroupsRequestOsEnum): ListHostGroupsRequest;
|
|
18
|
+
withOffset(offset: number): ListHostGroupsRequest;
|
|
19
|
+
withLimit(limit: number): ListHostGroupsRequest;
|
|
20
|
+
withName(name: string): ListHostGroupsRequest;
|
|
21
|
+
withSortKey(sortKey: string): ListHostGroupsRequest;
|
|
22
|
+
set sortKey(sortKey: string | undefined);
|
|
23
|
+
get sortKey(): string | undefined;
|
|
24
|
+
withSortDir(sortDir: ListHostGroupsRequestSortDirEnum): ListHostGroupsRequest;
|
|
25
|
+
set sortDir(sortDir: ListHostGroupsRequestSortDirEnum | undefined);
|
|
26
|
+
get sortDir(): ListHostGroupsRequestSortDirEnum | undefined;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @export
|
|
30
|
+
* @enum {string}
|
|
31
|
+
*/
|
|
32
|
+
export declare enum ListHostGroupsRequestOsEnum {
|
|
33
|
+
WINDOWS = "windows",
|
|
34
|
+
LINUX = "linux"
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
* @enum {string}
|
|
39
|
+
*/
|
|
40
|
+
export declare enum ListHostGroupsRequestSortDirEnum {
|
|
41
|
+
DESC = "DESC",
|
|
42
|
+
ASC = "ASC"
|
|
43
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListHostGroupsRequestSortDirEnum = exports.ListHostGroupsRequestOsEnum = exports.ListHostGroupsRequest = void 0;
|
|
4
|
+
var ListHostGroupsRequest = /** @class */ (function () {
|
|
5
|
+
function ListHostGroupsRequest(regionName) {
|
|
6
|
+
this['region_name'] = regionName;
|
|
7
|
+
}
|
|
8
|
+
ListHostGroupsRequest.prototype.withProjectId = function (projectId) {
|
|
9
|
+
this['project_id'] = projectId;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(ListHostGroupsRequest.prototype, "projectId", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return this['project_id'];
|
|
15
|
+
},
|
|
16
|
+
set: function (projectId) {
|
|
17
|
+
this['project_id'] = projectId;
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
ListHostGroupsRequest.prototype.withRegionName = function (regionName) {
|
|
23
|
+
this['region_name'] = regionName;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(ListHostGroupsRequest.prototype, "regionName", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return this['region_name'];
|
|
29
|
+
},
|
|
30
|
+
set: function (regionName) {
|
|
31
|
+
this['region_name'] = regionName;
|
|
32
|
+
},
|
|
33
|
+
enumerable: false,
|
|
34
|
+
configurable: true
|
|
35
|
+
});
|
|
36
|
+
ListHostGroupsRequest.prototype.withOs = function (os) {
|
|
37
|
+
this['os'] = os;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
ListHostGroupsRequest.prototype.withOffset = function (offset) {
|
|
41
|
+
this['offset'] = offset;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
ListHostGroupsRequest.prototype.withLimit = function (limit) {
|
|
45
|
+
this['limit'] = limit;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
ListHostGroupsRequest.prototype.withName = function (name) {
|
|
49
|
+
this['name'] = name;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
ListHostGroupsRequest.prototype.withSortKey = function (sortKey) {
|
|
53
|
+
this['sort_key'] = sortKey;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
Object.defineProperty(ListHostGroupsRequest.prototype, "sortKey", {
|
|
57
|
+
get: function () {
|
|
58
|
+
return this['sort_key'];
|
|
59
|
+
},
|
|
60
|
+
set: function (sortKey) {
|
|
61
|
+
this['sort_key'] = sortKey;
|
|
62
|
+
},
|
|
63
|
+
enumerable: false,
|
|
64
|
+
configurable: true
|
|
65
|
+
});
|
|
66
|
+
ListHostGroupsRequest.prototype.withSortDir = function (sortDir) {
|
|
67
|
+
this['sort_dir'] = sortDir;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
Object.defineProperty(ListHostGroupsRequest.prototype, "sortDir", {
|
|
71
|
+
get: function () {
|
|
72
|
+
return this['sort_dir'];
|
|
73
|
+
},
|
|
74
|
+
set: function (sortDir) {
|
|
75
|
+
this['sort_dir'] = sortDir;
|
|
76
|
+
},
|
|
77
|
+
enumerable: false,
|
|
78
|
+
configurable: true
|
|
79
|
+
});
|
|
80
|
+
return ListHostGroupsRequest;
|
|
81
|
+
}());
|
|
82
|
+
exports.ListHostGroupsRequest = ListHostGroupsRequest;
|
|
83
|
+
/**
|
|
84
|
+
* @export
|
|
85
|
+
* @enum {string}
|
|
86
|
+
*/
|
|
87
|
+
var ListHostGroupsRequestOsEnum;
|
|
88
|
+
(function (ListHostGroupsRequestOsEnum) {
|
|
89
|
+
ListHostGroupsRequestOsEnum["WINDOWS"] = "windows";
|
|
90
|
+
ListHostGroupsRequestOsEnum["LINUX"] = "linux";
|
|
91
|
+
})(ListHostGroupsRequestOsEnum || (exports.ListHostGroupsRequestOsEnum = ListHostGroupsRequestOsEnum = {}));
|
|
92
|
+
/**
|
|
93
|
+
* @export
|
|
94
|
+
* @enum {string}
|
|
95
|
+
*/
|
|
96
|
+
var ListHostGroupsRequestSortDirEnum;
|
|
97
|
+
(function (ListHostGroupsRequestSortDirEnum) {
|
|
98
|
+
ListHostGroupsRequestSortDirEnum["DESC"] = "DESC";
|
|
99
|
+
ListHostGroupsRequestSortDirEnum["ASC"] = "ASC";
|
|
100
|
+
})(ListHostGroupsRequestSortDirEnum || (exports.ListHostGroupsRequestSortDirEnum = ListHostGroupsRequestSortDirEnum = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeploymentGroupDetail } from './DeploymentGroupDetail';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ListHostGroupsResponse extends SdkResponse {
|
|
4
|
+
total?: number;
|
|
5
|
+
private 'host_groups'?;
|
|
6
|
+
constructor();
|
|
7
|
+
withTotal(total: number): ListHostGroupsResponse;
|
|
8
|
+
withHostGroups(hostGroups: Array<DeploymentGroupDetail>): ListHostGroupsResponse;
|
|
9
|
+
set hostGroups(hostGroups: Array<DeploymentGroupDetail> | undefined);
|
|
10
|
+
get hostGroups(): Array<DeploymentGroupDetail> | 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.ListHostGroupsResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListHostGroupsResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListHostGroupsResponse, _super);
|
|
22
|
+
function ListHostGroupsResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListHostGroupsResponse.prototype.withTotal = function (total) {
|
|
26
|
+
this['total'] = total;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
ListHostGroupsResponse.prototype.withHostGroups = function (hostGroups) {
|
|
30
|
+
this['host_groups'] = hostGroups;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(ListHostGroupsResponse.prototype, "hostGroups", {
|
|
34
|
+
get: function () {
|
|
35
|
+
return this['host_groups'];
|
|
36
|
+
},
|
|
37
|
+
set: function (hostGroups) {
|
|
38
|
+
this['host_groups'] = hostGroups;
|
|
39
|
+
},
|
|
40
|
+
enumerable: false,
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
return ListHostGroupsResponse;
|
|
44
|
+
}(SdkResponse_1.SdkResponse));
|
|
45
|
+
exports.ListHostGroupsResponse = ListHostGroupsResponse;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare class ListHostsRequest {
|
|
2
|
+
private 'group_id';
|
|
3
|
+
private 'as_proxy'?;
|
|
4
|
+
offset?: number;
|
|
5
|
+
limit?: number;
|
|
6
|
+
name?: string;
|
|
7
|
+
private 'sort_key'?;
|
|
8
|
+
private 'sort_dir'?;
|
|
9
|
+
private 'with_auth'?;
|
|
10
|
+
constructor(groupId?: any);
|
|
11
|
+
withGroupId(groupId: string): ListHostsRequest;
|
|
12
|
+
set groupId(groupId: string | undefined);
|
|
13
|
+
get groupId(): string | undefined;
|
|
14
|
+
withAsProxy(asProxy: boolean): ListHostsRequest;
|
|
15
|
+
set asProxy(asProxy: boolean | undefined);
|
|
16
|
+
get asProxy(): boolean | undefined;
|
|
17
|
+
withOffset(offset: number): ListHostsRequest;
|
|
18
|
+
withLimit(limit: number): ListHostsRequest;
|
|
19
|
+
withName(name: string): ListHostsRequest;
|
|
20
|
+
withSortKey(sortKey: string): ListHostsRequest;
|
|
21
|
+
set sortKey(sortKey: string | undefined);
|
|
22
|
+
get sortKey(): string | undefined;
|
|
23
|
+
withSortDir(sortDir: ListHostsRequestSortDirEnum): ListHostsRequest;
|
|
24
|
+
set sortDir(sortDir: ListHostsRequestSortDirEnum | undefined);
|
|
25
|
+
get sortDir(): ListHostsRequestSortDirEnum | undefined;
|
|
26
|
+
withWithAuth(withAuth: boolean): ListHostsRequest;
|
|
27
|
+
set withAuth(withAuth: boolean | undefined);
|
|
28
|
+
get withAuth(): boolean | undefined;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
* @enum {string}
|
|
33
|
+
*/
|
|
34
|
+
export declare enum ListHostsRequestSortDirEnum {
|
|
35
|
+
DESC = "DESC",
|
|
36
|
+
ASC = "ASC"
|
|
37
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListHostsRequestSortDirEnum = exports.ListHostsRequest = void 0;
|
|
4
|
+
var ListHostsRequest = /** @class */ (function () {
|
|
5
|
+
function ListHostsRequest(groupId) {
|
|
6
|
+
this['group_id'] = groupId;
|
|
7
|
+
}
|
|
8
|
+
ListHostsRequest.prototype.withGroupId = function (groupId) {
|
|
9
|
+
this['group_id'] = groupId;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(ListHostsRequest.prototype, "groupId", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return this['group_id'];
|
|
15
|
+
},
|
|
16
|
+
set: function (groupId) {
|
|
17
|
+
this['group_id'] = groupId;
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
ListHostsRequest.prototype.withAsProxy = function (asProxy) {
|
|
23
|
+
this['as_proxy'] = asProxy;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(ListHostsRequest.prototype, "asProxy", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return this['as_proxy'];
|
|
29
|
+
},
|
|
30
|
+
set: function (asProxy) {
|
|
31
|
+
this['as_proxy'] = asProxy;
|
|
32
|
+
},
|
|
33
|
+
enumerable: false,
|
|
34
|
+
configurable: true
|
|
35
|
+
});
|
|
36
|
+
ListHostsRequest.prototype.withOffset = function (offset) {
|
|
37
|
+
this['offset'] = offset;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
ListHostsRequest.prototype.withLimit = function (limit) {
|
|
41
|
+
this['limit'] = limit;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
ListHostsRequest.prototype.withName = function (name) {
|
|
45
|
+
this['name'] = name;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
ListHostsRequest.prototype.withSortKey = function (sortKey) {
|
|
49
|
+
this['sort_key'] = sortKey;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(ListHostsRequest.prototype, "sortKey", {
|
|
53
|
+
get: function () {
|
|
54
|
+
return this['sort_key'];
|
|
55
|
+
},
|
|
56
|
+
set: function (sortKey) {
|
|
57
|
+
this['sort_key'] = sortKey;
|
|
58
|
+
},
|
|
59
|
+
enumerable: false,
|
|
60
|
+
configurable: true
|
|
61
|
+
});
|
|
62
|
+
ListHostsRequest.prototype.withSortDir = function (sortDir) {
|
|
63
|
+
this['sort_dir'] = sortDir;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(ListHostsRequest.prototype, "sortDir", {
|
|
67
|
+
get: function () {
|
|
68
|
+
return this['sort_dir'];
|
|
69
|
+
},
|
|
70
|
+
set: function (sortDir) {
|
|
71
|
+
this['sort_dir'] = sortDir;
|
|
72
|
+
},
|
|
73
|
+
enumerable: false,
|
|
74
|
+
configurable: true
|
|
75
|
+
});
|
|
76
|
+
ListHostsRequest.prototype.withWithAuth = function (withAuth) {
|
|
77
|
+
this['with_auth'] = withAuth;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
Object.defineProperty(ListHostsRequest.prototype, "withAuth", {
|
|
81
|
+
get: function () {
|
|
82
|
+
return this['with_auth'];
|
|
83
|
+
},
|
|
84
|
+
set: function (withAuth) {
|
|
85
|
+
this['with_auth'] = withAuth;
|
|
86
|
+
},
|
|
87
|
+
enumerable: false,
|
|
88
|
+
configurable: true
|
|
89
|
+
});
|
|
90
|
+
return ListHostsRequest;
|
|
91
|
+
}());
|
|
92
|
+
exports.ListHostsRequest = ListHostsRequest;
|
|
93
|
+
/**
|
|
94
|
+
* @export
|
|
95
|
+
* @enum {string}
|
|
96
|
+
*/
|
|
97
|
+
var ListHostsRequestSortDirEnum;
|
|
98
|
+
(function (ListHostsRequestSortDirEnum) {
|
|
99
|
+
ListHostsRequestSortDirEnum["DESC"] = "DESC";
|
|
100
|
+
ListHostsRequestSortDirEnum["ASC"] = "ASC";
|
|
101
|
+
})(ListHostsRequestSortDirEnum || (exports.ListHostsRequestSortDirEnum = ListHostsRequestSortDirEnum = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DeploymentHostDetail } from './DeploymentHostDetail';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ListHostsResponse extends SdkResponse {
|
|
4
|
+
total?: number;
|
|
5
|
+
private 'group_name'?;
|
|
6
|
+
hosts?: Array<DeploymentHostDetail>;
|
|
7
|
+
constructor();
|
|
8
|
+
withTotal(total: number): ListHostsResponse;
|
|
9
|
+
withGroupName(groupName: string): ListHostsResponse;
|
|
10
|
+
set groupName(groupName: string | undefined);
|
|
11
|
+
get groupName(): string | undefined;
|
|
12
|
+
withHosts(hosts: Array<DeploymentHostDetail>): ListHostsResponse;
|
|
13
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.ListHostsResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListHostsResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListHostsResponse, _super);
|
|
22
|
+
function ListHostsResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListHostsResponse.prototype.withTotal = function (total) {
|
|
26
|
+
this['total'] = total;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
ListHostsResponse.prototype.withGroupName = function (groupName) {
|
|
30
|
+
this['group_name'] = groupName;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(ListHostsResponse.prototype, "groupName", {
|
|
34
|
+
get: function () {
|
|
35
|
+
return this['group_name'];
|
|
36
|
+
},
|
|
37
|
+
set: function (groupName) {
|
|
38
|
+
this['group_name'] = groupName;
|
|
39
|
+
},
|
|
40
|
+
enumerable: false,
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
ListHostsResponse.prototype.withHosts = function (hosts) {
|
|
44
|
+
this['hosts'] = hosts;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
return ListHostsResponse;
|
|
48
|
+
}(SdkResponse_1.SdkResponse));
|
|
49
|
+
exports.ListHostsResponse = ListHostsResponse;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TasksSuccessRateQuery } from './TasksSuccessRateQuery';
|
|
2
|
+
export declare class ListTaskSuccessRateRequest {
|
|
3
|
+
private 'project_id';
|
|
4
|
+
body?: TasksSuccessRateQuery;
|
|
5
|
+
constructor(projectId?: any);
|
|
6
|
+
withProjectId(projectId: string): ListTaskSuccessRateRequest;
|
|
7
|
+
set projectId(projectId: string | undefined);
|
|
8
|
+
get projectId(): string | undefined;
|
|
9
|
+
withBody(body: TasksSuccessRateQuery): ListTaskSuccessRateRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListTaskSuccessRateRequest = void 0;
|
|
4
|
+
var ListTaskSuccessRateRequest = /** @class */ (function () {
|
|
5
|
+
function ListTaskSuccessRateRequest(projectId) {
|
|
6
|
+
this['project_id'] = projectId;
|
|
7
|
+
}
|
|
8
|
+
ListTaskSuccessRateRequest.prototype.withProjectId = function (projectId) {
|
|
9
|
+
this['project_id'] = projectId;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(ListTaskSuccessRateRequest.prototype, "projectId", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return this['project_id'];
|
|
15
|
+
},
|
|
16
|
+
set: function (projectId) {
|
|
17
|
+
this['project_id'] = projectId;
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
ListTaskSuccessRateRequest.prototype.withBody = function (body) {
|
|
23
|
+
this['body'] = body;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
return ListTaskSuccessRateRequest;
|
|
27
|
+
}());
|
|
28
|
+
exports.ListTaskSuccessRateRequest = ListTaskSuccessRateRequest;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TaskSuccessRate } from './TaskSuccessRate';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ListTaskSuccessRateResponse extends SdkResponse {
|
|
4
|
+
private 'project_id'?;
|
|
5
|
+
private 'project_name'?;
|
|
6
|
+
private 'start_date'?;
|
|
7
|
+
private 'end_date'?;
|
|
8
|
+
private 'tasks_success_rate'?;
|
|
9
|
+
constructor();
|
|
10
|
+
withProjectId(projectId: string): ListTaskSuccessRateResponse;
|
|
11
|
+
set projectId(projectId: string | undefined);
|
|
12
|
+
get projectId(): string | undefined;
|
|
13
|
+
withProjectName(projectName: string): ListTaskSuccessRateResponse;
|
|
14
|
+
set projectName(projectName: string | undefined);
|
|
15
|
+
get projectName(): string | undefined;
|
|
16
|
+
withStartDate(startDate: string): ListTaskSuccessRateResponse;
|
|
17
|
+
set startDate(startDate: string | undefined);
|
|
18
|
+
get startDate(): string | undefined;
|
|
19
|
+
withEndDate(endDate: string): ListTaskSuccessRateResponse;
|
|
20
|
+
set endDate(endDate: string | undefined);
|
|
21
|
+
get endDate(): string | undefined;
|
|
22
|
+
withTasksSuccessRate(tasksSuccessRate: Array<TaskSuccessRate>): ListTaskSuccessRateResponse;
|
|
23
|
+
set tasksSuccessRate(tasksSuccessRate: Array<TaskSuccessRate> | undefined);
|
|
24
|
+
get tasksSuccessRate(): Array<TaskSuccessRate> | undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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.ListTaskSuccessRateResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListTaskSuccessRateResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListTaskSuccessRateResponse, _super);
|
|
22
|
+
function ListTaskSuccessRateResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListTaskSuccessRateResponse.prototype.withProjectId = function (projectId) {
|
|
26
|
+
this['project_id'] = projectId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(ListTaskSuccessRateResponse.prototype, "projectId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['project_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (projectId) {
|
|
34
|
+
this['project_id'] = projectId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
ListTaskSuccessRateResponse.prototype.withProjectName = function (projectName) {
|
|
40
|
+
this['project_name'] = projectName;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(ListTaskSuccessRateResponse.prototype, "projectName", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['project_name'];
|
|
46
|
+
},
|
|
47
|
+
set: function (projectName) {
|
|
48
|
+
this['project_name'] = projectName;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
ListTaskSuccessRateResponse.prototype.withStartDate = function (startDate) {
|
|
54
|
+
this['start_date'] = startDate;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(ListTaskSuccessRateResponse.prototype, "startDate", {
|
|
58
|
+
get: function () {
|
|
59
|
+
return this['start_date'];
|
|
60
|
+
},
|
|
61
|
+
set: function (startDate) {
|
|
62
|
+
this['start_date'] = startDate;
|
|
63
|
+
},
|
|
64
|
+
enumerable: false,
|
|
65
|
+
configurable: true
|
|
66
|
+
});
|
|
67
|
+
ListTaskSuccessRateResponse.prototype.withEndDate = function (endDate) {
|
|
68
|
+
this['end_date'] = endDate;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
Object.defineProperty(ListTaskSuccessRateResponse.prototype, "endDate", {
|
|
72
|
+
get: function () {
|
|
73
|
+
return this['end_date'];
|
|
74
|
+
},
|
|
75
|
+
set: function (endDate) {
|
|
76
|
+
this['end_date'] = endDate;
|
|
77
|
+
},
|
|
78
|
+
enumerable: false,
|
|
79
|
+
configurable: true
|
|
80
|
+
});
|
|
81
|
+
ListTaskSuccessRateResponse.prototype.withTasksSuccessRate = function (tasksSuccessRate) {
|
|
82
|
+
this['tasks_success_rate'] = tasksSuccessRate;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
Object.defineProperty(ListTaskSuccessRateResponse.prototype, "tasksSuccessRate", {
|
|
86
|
+
get: function () {
|
|
87
|
+
return this['tasks_success_rate'];
|
|
88
|
+
},
|
|
89
|
+
set: function (tasksSuccessRate) {
|
|
90
|
+
this['tasks_success_rate'] = tasksSuccessRate;
|
|
91
|
+
},
|
|
92
|
+
enumerable: false,
|
|
93
|
+
configurable: true
|
|
94
|
+
});
|
|
95
|
+
return ListTaskSuccessRateResponse;
|
|
96
|
+
}(SdkResponse_1.SdkResponse));
|
|
97
|
+
exports.ListTaskSuccessRateResponse = ListTaskSuccessRateResponse;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ParamTypeLimits = void 0;
|
|
4
|
+
var ParamTypeLimits = /** @class */ (function () {
|
|
5
|
+
function ParamTypeLimits() {
|
|
6
|
+
}
|
|
7
|
+
ParamTypeLimits.prototype.withName = function (name) {
|
|
8
|
+
this['name'] = name;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
return ParamTypeLimits;
|
|
12
|
+
}());
|
|
13
|
+
exports.ParamTypeLimits = ParamTypeLimits;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class PermissionGroupDetail {
|
|
2
|
+
private 'can_view'?;
|
|
3
|
+
private 'can_edit'?;
|
|
4
|
+
private 'can_delete'?;
|
|
5
|
+
private 'can_add_host'?;
|
|
6
|
+
private 'can_manage'?;
|
|
7
|
+
constructor();
|
|
8
|
+
withCanView(canView: boolean): PermissionGroupDetail;
|
|
9
|
+
set canView(canView: boolean | undefined);
|
|
10
|
+
get canView(): boolean | undefined;
|
|
11
|
+
withCanEdit(canEdit: boolean): PermissionGroupDetail;
|
|
12
|
+
set canEdit(canEdit: boolean | undefined);
|
|
13
|
+
get canEdit(): boolean | undefined;
|
|
14
|
+
withCanDelete(canDelete: boolean): PermissionGroupDetail;
|
|
15
|
+
set canDelete(canDelete: boolean | undefined);
|
|
16
|
+
get canDelete(): boolean | undefined;
|
|
17
|
+
withCanAddHost(canAddHost: boolean): PermissionGroupDetail;
|
|
18
|
+
set canAddHost(canAddHost: boolean | undefined);
|
|
19
|
+
get canAddHost(): boolean | undefined;
|
|
20
|
+
withCanManage(canManage: boolean): PermissionGroupDetail;
|
|
21
|
+
set canManage(canManage: boolean | undefined);
|
|
22
|
+
get canManage(): boolean | undefined;
|
|
23
|
+
}
|