@huaweicloud/huaweicloud-sdk-codeartsdeploy 3.1.45 → 3.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/huaweicloud-sdk-codeartsdeploy.ts +4 -0
- package/package.json +4 -4
- package/v2/{CodeArtsDeployClient.js → CodeArtsDeployClient.ts} +608 -388
- package/v2/CodeArtsDeployRegion.ts +40 -0
- package/v2/model/AppComponentDao.ts +82 -0
- package/v2/model/ConfigInfoDO.ts +73 -0
- package/v2/model/CreateDeployTaskByTemplateRequest.ts +33 -0
- package/v2/model/CreateDeployTaskByTemplateResponse.ts +30 -0
- package/v2/model/CreateDeploymentGroupRequest.ts +33 -0
- package/v2/model/CreateDeploymentGroupResponse.ts +19 -0
- package/v2/model/CreateDeploymentHostRequest.ts +45 -0
- package/v2/model/CreateDeploymentHostResponse.ts +19 -0
- package/v2/model/DeleteDeployTaskRequest.ts +39 -0
- package/v2/model/DeleteDeployTaskResponse.ts +19 -0
- package/v2/model/DeleteDeploymentGroupRequest.ts +39 -0
- package/v2/model/DeleteDeploymentGroupResponse.ts +19 -0
- package/v2/model/DeleteDeploymentHostRequest.ts +51 -0
- package/v2/model/DeleteDeploymentHostResponse.ts +19 -0
- package/v2/model/DeploymentGroup.ts +78 -0
- package/v2/model/DeploymentGroupDetail.ts +160 -0
- package/v2/model/DeploymentGroupUpdateRequest.ts +49 -0
- package/v2/model/DeploymentHost.ts +86 -0
- package/v2/model/DeploymentHostAuthorizationBody.ts +49 -0
- package/v2/model/DeploymentHostDetail.ts +270 -0
- package/v2/model/DeploymentHostInfo.ts +98 -0
- package/v2/model/DeploymentHostRequest.ts +77 -0
- package/v2/model/DeploymentUpdateHost.ts +71 -0
- package/v2/model/DynamicConfigInfo.ts +33 -0
- package/v2/model/EnvExecutionBody.ts +34 -0
- package/v2/model/ExecuteRecordV2Body.ts +75 -0
- package/v2/model/KeyValueDO.ts +16 -0
- package/v2/model/ListDeployTaskHistoryByDateRequest.ts +81 -0
- package/v2/model/ListDeployTaskHistoryByDateResponse.ts +25 -0
- package/v2/model/ListDeployTasksRequest.ts +51 -0
- package/v2/model/ListDeployTasksResponse.ts +25 -0
- package/v2/model/ListHostGroupsRequest.ts +88 -0
- package/v2/model/ListHostGroupsResponse.ts +25 -0
- package/v2/model/ListHostsRequest.ts +86 -0
- package/v2/model/ListHostsResponse.ts +30 -0
- package/v2/model/ListTaskSuccessRateRequest.ts +24 -0
- package/v2/model/ListTaskSuccessRateResponse.ts +64 -0
- package/v2/model/ParamTypeLimits.ts +11 -0
- package/v2/model/PermissionGroupDetail.ts +61 -0
- package/v2/model/PermissionHostDetail.ts +61 -0
- package/v2/model/ShowDeployTaskDetailRequest.ts +18 -0
- package/v2/model/ShowDeployTaskDetailResponse.ts +351 -0
- package/v2/model/ShowDeploymentGroupDetailRequest.ts +18 -0
- package/v2/model/ShowDeploymentGroupDetailResponse.ts +162 -0
- package/v2/model/ShowDeploymentHostDetailRequest.ts +30 -0
- package/v2/model/ShowDeploymentHostDetailResponse.ts +273 -0
- package/v2/model/ShowProjectSuccessRateRequest.ts +42 -0
- package/v2/model/ShowProjectSuccessRateResponse.ts +96 -0
- package/v2/model/StartDeployTaskRequest.ts +45 -0
- package/v2/model/StartDeployTaskResponse.ts +47 -0
- package/v2/model/Step.ts +26 -0
- package/v2/model/TaskInfo.ts +349 -0
- package/v2/model/TaskSuccessRate.ts +61 -0
- package/v2/model/TasksSuccessRateQuery.ts +42 -0
- package/v2/model/TemplateTaskRequestBody.ts +71 -0
- package/v2/model/UpdateDeploymentGroupRequest.ts +45 -0
- package/v2/model/UpdateDeploymentGroupResponse.ts +19 -0
- package/v2/model/UpdateDeploymentHostRequest.ts +57 -0
- package/v2/model/UpdateDeploymentHostResponse.ts +19 -0
- package/v2/model/UserInfo.ts +28 -0
- package/v2/{public-api.d.ts → public-api.ts} +1 -0
- package/LICENSE +0 -13
- package/README.md +0 -1
- package/huaweicloud-sdk-codeartsdeploy.d.ts +0 -2
- package/huaweicloud-sdk-codeartsdeploy.js +0 -31
- package/v2/CodeArtsDeployClient.d.ts +0 -538
- package/v2/CodeArtsDeployRegion.d.ts +0 -12
- package/v2/CodeArtsDeployRegion.js +0 -37
- package/v2/model/AppComponentDao.d.ts +0 -31
- package/v2/model/AppComponentDao.js +0 -101
- package/v2/model/ConfigInfoDO.d.ts +0 -40
- package/v2/model/ConfigInfoDO.js +0 -77
- package/v2/model/CreateDeployTaskByTemplateRequest.d.ts +0 -18
- package/v2/model/CreateDeployTaskByTemplateRequest.js +0 -37
- package/v2/model/CreateDeployTaskByTemplateResponse.d.ts +0 -12
- package/v2/model/CreateDeployTaskByTemplateResponse.js +0 -55
- package/v2/model/CreateDeploymentGroupRequest.d.ts +0 -18
- package/v2/model/CreateDeploymentGroupRequest.js +0 -37
- package/v2/model/CreateDeploymentGroupResponse.d.ts +0 -8
- package/v2/model/CreateDeploymentGroupResponse.js +0 -41
- package/v2/model/CreateDeploymentHostRequest.d.ts +0 -22
- package/v2/model/CreateDeploymentHostRequest.js +0 -52
- package/v2/model/CreateDeploymentHostResponse.d.ts +0 -8
- package/v2/model/CreateDeploymentHostResponse.js +0 -41
- package/v2/model/DeleteDeployTaskRequest.d.ts +0 -19
- package/v2/model/DeleteDeployTaskRequest.js +0 -48
- package/v2/model/DeleteDeployTaskResponse.d.ts +0 -8
- package/v2/model/DeleteDeployTaskResponse.js +0 -41
- package/v2/model/DeleteDeploymentGroupRequest.d.ts +0 -19
- package/v2/model/DeleteDeploymentGroupRequest.js +0 -48
- package/v2/model/DeleteDeploymentGroupResponse.d.ts +0 -8
- package/v2/model/DeleteDeploymentGroupResponse.js +0 -41
- package/v2/model/DeleteDeploymentHostRequest.d.ts +0 -23
- package/v2/model/DeleteDeploymentHostRequest.js +0 -63
- package/v2/model/DeleteDeploymentHostResponse.d.ts +0 -8
- package/v2/model/DeleteDeploymentHostResponse.js +0 -41
- package/v2/model/DeploymentGroup.d.ts +0 -33
- package/v2/model/DeploymentGroup.js +0 -90
- package/v2/model/DeploymentGroupDetail.d.ts +0 -61
- package/v2/model/DeploymentGroupDetail.js +0 -193
- package/v2/model/DeploymentGroupUpdateRequest.d.ts +0 -24
- package/v2/model/DeploymentGroupUpdateRequest.js +0 -56
- package/v2/model/DeploymentHost.d.ts +0 -36
- package/v2/model/DeploymentHost.js +0 -96
- package/v2/model/DeploymentHostAuthorizationBody.d.ts +0 -23
- package/v2/model/DeploymentHostAuthorizationBody.js +0 -56
- package/v2/model/DeploymentHostDetail.d.ts +0 -103
- package/v2/model/DeploymentHostDetail.js +0 -325
- package/v2/model/DeploymentHostInfo.d.ts +0 -40
- package/v2/model/DeploymentHostInfo.js +0 -111
- package/v2/model/DeploymentHostRequest.d.ts +0 -28
- package/v2/model/DeploymentHostRequest.js +0 -86
- package/v2/model/DeploymentUpdateHost.d.ts +0 -26
- package/v2/model/DeploymentUpdateHost.js +0 -82
- package/v2/model/DynamicConfigInfo.d.ts +0 -19
- package/v2/model/DynamicConfigInfo.js +0 -32
- package/v2/model/EnvExecutionBody.d.ts +0 -14
- package/v2/model/EnvExecutionBody.js +0 -41
- package/v2/model/ExecuteRecordV2Body.d.ts +0 -29
- package/v2/model/ExecuteRecordV2Body.js +0 -85
- package/v2/model/KeyValueDO.d.ts +0 -7
- package/v2/model/KeyValueDO.js +0 -17
- package/v2/model/ListDeployTaskHistoryByDateRequest.d.ts +0 -33
- package/v2/model/ListDeployTaskHistoryByDateRequest.js +0 -93
- package/v2/model/ListDeployTaskHistoryByDateResponse.d.ts +0 -11
- package/v2/model/ListDeployTaskHistoryByDateResponse.js +0 -45
- package/v2/model/ListDeployTasksRequest.d.ts +0 -23
- package/v2/model/ListDeployTasksRequest.js +0 -58
- package/v2/model/ListDeployTasksResponse.d.ts +0 -11
- package/v2/model/ListDeployTasksResponse.js +0 -45
- package/v2/model/ListHostGroupsRequest.d.ts +0 -43
- package/v2/model/ListHostGroupsRequest.js +0 -100
- package/v2/model/ListHostGroupsResponse.d.ts +0 -11
- package/v2/model/ListHostGroupsResponse.js +0 -45
- package/v2/model/ListHostsRequest.d.ts +0 -37
- package/v2/model/ListHostsRequest.js +0 -101
- package/v2/model/ListHostsResponse.d.ts +0 -13
- package/v2/model/ListHostsResponse.js +0 -49
- package/v2/model/ListTaskSuccessRateRequest.d.ts +0 -10
- package/v2/model/ListTaskSuccessRateRequest.js +0 -28
- package/v2/model/ListTaskSuccessRateResponse.d.ts +0 -25
- package/v2/model/ListTaskSuccessRateResponse.js +0 -97
- package/v2/model/ParamTypeLimits.d.ts +0 -5
- package/v2/model/ParamTypeLimits.js +0 -13
- package/v2/model/PermissionGroupDetail.d.ts +0 -23
- package/v2/model/PermissionGroupDetail.js +0 -79
- package/v2/model/PermissionHostDetail.d.ts +0 -23
- package/v2/model/PermissionHostDetail.js +0 -79
- package/v2/model/ShowDeployTaskDetailRequest.d.ts +0 -7
- package/v2/model/ShowDeployTaskDetailRequest.js +0 -24
- package/v2/model/ShowDeployTaskDetailResponse.d.ts +0 -140
- package/v2/model/ShowDeployTaskDetailResponse.js +0 -442
- package/v2/model/ShowDeploymentGroupDetailRequest.d.ts +0 -7
- package/v2/model/ShowDeploymentGroupDetailRequest.js +0 -24
- package/v2/model/ShowDeploymentGroupDetailResponse.d.ts +0 -62
- package/v2/model/ShowDeploymentGroupDetailResponse.js +0 -211
- package/v2/model/ShowDeploymentHostDetailRequest.d.ts +0 -11
- package/v2/model/ShowDeploymentHostDetailRequest.js +0 -39
- package/v2/model/ShowDeploymentHostDetailResponse.d.ts +0 -105
- package/v2/model/ShowDeploymentHostDetailResponse.js +0 -344
- package/v2/model/ShowProjectSuccessRateRequest.d.ts +0 -15
- package/v2/model/ShowProjectSuccessRateRequest.js +0 -54
- package/v2/model/ShowProjectSuccessRateResponse.d.ts +0 -36
- package/v2/model/ShowProjectSuccessRateResponse.js +0 -139
- package/v2/model/StartDeployTaskRequest.d.ts +0 -22
- package/v2/model/StartDeployTaskRequest.js +0 -52
- package/v2/model/StartDeployTaskResponse.d.ts +0 -19
- package/v2/model/StartDeployTaskResponse.js +0 -73
- package/v2/model/Step.d.ts +0 -15
- package/v2/model/Step.js +0 -25
- package/v2/model/TaskInfo.d.ts +0 -139
- package/v2/model/TaskInfo.js +0 -424
- package/v2/model/TaskSuccessRate.d.ts +0 -23
- package/v2/model/TaskSuccessRate.js +0 -79
- package/v2/model/TasksSuccessRateQuery.d.ts +0 -15
- package/v2/model/TasksSuccessRateQuery.js +0 -54
- package/v2/model/TemplateTaskRequestBody.d.ts +0 -26
- package/v2/model/TemplateTaskRequestBody.js +0 -87
- package/v2/model/UpdateDeploymentGroupRequest.d.ts +0 -22
- package/v2/model/UpdateDeploymentGroupRequest.js +0 -52
- package/v2/model/UpdateDeploymentGroupResponse.d.ts +0 -8
- package/v2/model/UpdateDeploymentGroupResponse.js +0 -41
- package/v2/model/UpdateDeploymentHostRequest.d.ts +0 -26
- package/v2/model/UpdateDeploymentHostRequest.js +0 -67
- package/v2/model/UpdateDeploymentHostResponse.d.ts +0 -8
- package/v2/model/UpdateDeploymentHostResponse.js +0 -41
- package/v2/model/UserInfo.d.ts +0 -11
- package/v2/model/UserInfo.js +0 -37
- package/v2/public-api.js +0 -78
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
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 = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
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;
|
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
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 = {}));
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
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;
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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;
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
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;
|
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
}
|