@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,19 @@
|
|
|
1
|
+
export declare class DeleteDeployTaskRequest {
|
|
2
|
+
private 'task_id';
|
|
3
|
+
private 'Content-Type';
|
|
4
|
+
constructor(taskId?: any, contentType?: any);
|
|
5
|
+
withTaskId(taskId: string): DeleteDeployTaskRequest;
|
|
6
|
+
set taskId(taskId: string | undefined);
|
|
7
|
+
get taskId(): string | undefined;
|
|
8
|
+
withContentType(contentType: DeleteDeployTaskRequestContentTypeEnum): DeleteDeployTaskRequest;
|
|
9
|
+
set contentType(contentType: DeleteDeployTaskRequestContentTypeEnum | undefined);
|
|
10
|
+
get contentType(): DeleteDeployTaskRequestContentTypeEnum | undefined;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @export
|
|
14
|
+
* @enum {string}
|
|
15
|
+
*/
|
|
16
|
+
export declare enum DeleteDeployTaskRequestContentTypeEnum {
|
|
17
|
+
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
18
|
+
APPLICATION_JSON = "application/json"
|
|
19
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteDeployTaskRequestContentTypeEnum = exports.DeleteDeployTaskRequest = void 0;
|
|
4
|
+
var DeleteDeployTaskRequest = /** @class */ (function () {
|
|
5
|
+
function DeleteDeployTaskRequest(taskId, contentType) {
|
|
6
|
+
this['task_id'] = taskId;
|
|
7
|
+
this['Content-Type'] = contentType;
|
|
8
|
+
}
|
|
9
|
+
DeleteDeployTaskRequest.prototype.withTaskId = function (taskId) {
|
|
10
|
+
this['task_id'] = taskId;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(DeleteDeployTaskRequest.prototype, "taskId", {
|
|
14
|
+
get: function () {
|
|
15
|
+
return this['task_id'];
|
|
16
|
+
},
|
|
17
|
+
set: function (taskId) {
|
|
18
|
+
this['task_id'] = taskId;
|
|
19
|
+
},
|
|
20
|
+
enumerable: false,
|
|
21
|
+
configurable: true
|
|
22
|
+
});
|
|
23
|
+
DeleteDeployTaskRequest.prototype.withContentType = function (contentType) {
|
|
24
|
+
this['Content-Type'] = contentType;
|
|
25
|
+
return this;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(DeleteDeployTaskRequest.prototype, "contentType", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this['Content-Type'];
|
|
30
|
+
},
|
|
31
|
+
set: function (contentType) {
|
|
32
|
+
this['Content-Type'] = contentType;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
return DeleteDeployTaskRequest;
|
|
38
|
+
}());
|
|
39
|
+
exports.DeleteDeployTaskRequest = DeleteDeployTaskRequest;
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
* @enum {string}
|
|
43
|
+
*/
|
|
44
|
+
var DeleteDeployTaskRequestContentTypeEnum;
|
|
45
|
+
(function (DeleteDeployTaskRequestContentTypeEnum) {
|
|
46
|
+
DeleteDeployTaskRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
47
|
+
DeleteDeployTaskRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
48
|
+
})(DeleteDeployTaskRequestContentTypeEnum || (exports.DeleteDeployTaskRequestContentTypeEnum = DeleteDeployTaskRequestContentTypeEnum = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class DeleteDeployTaskResponse extends SdkResponse {
|
|
3
|
+
private 'task_id'?;
|
|
4
|
+
constructor();
|
|
5
|
+
withTaskId(taskId: string): DeleteDeployTaskResponse;
|
|
6
|
+
set taskId(taskId: string | undefined);
|
|
7
|
+
get taskId(): string | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.DeleteDeployTaskResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var DeleteDeployTaskResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(DeleteDeployTaskResponse, _super);
|
|
22
|
+
function DeleteDeployTaskResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
DeleteDeployTaskResponse.prototype.withTaskId = function (taskId) {
|
|
26
|
+
this['task_id'] = taskId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(DeleteDeployTaskResponse.prototype, "taskId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['task_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (taskId) {
|
|
34
|
+
this['task_id'] = taskId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
return DeleteDeployTaskResponse;
|
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
|
41
|
+
exports.DeleteDeployTaskResponse = DeleteDeployTaskResponse;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class DeleteDeploymentGroupRequest {
|
|
2
|
+
private 'group_id';
|
|
3
|
+
private 'Content-Type';
|
|
4
|
+
constructor(groupId?: any, contentType?: any);
|
|
5
|
+
withGroupId(groupId: string): DeleteDeploymentGroupRequest;
|
|
6
|
+
set groupId(groupId: string | undefined);
|
|
7
|
+
get groupId(): string | undefined;
|
|
8
|
+
withContentType(contentType: DeleteDeploymentGroupRequestContentTypeEnum): DeleteDeploymentGroupRequest;
|
|
9
|
+
set contentType(contentType: DeleteDeploymentGroupRequestContentTypeEnum | undefined);
|
|
10
|
+
get contentType(): DeleteDeploymentGroupRequestContentTypeEnum | undefined;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @export
|
|
14
|
+
* @enum {string}
|
|
15
|
+
*/
|
|
16
|
+
export declare enum DeleteDeploymentGroupRequestContentTypeEnum {
|
|
17
|
+
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
18
|
+
APPLICATION_JSON = "application/json"
|
|
19
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteDeploymentGroupRequestContentTypeEnum = exports.DeleteDeploymentGroupRequest = void 0;
|
|
4
|
+
var DeleteDeploymentGroupRequest = /** @class */ (function () {
|
|
5
|
+
function DeleteDeploymentGroupRequest(groupId, contentType) {
|
|
6
|
+
this['group_id'] = groupId;
|
|
7
|
+
this['Content-Type'] = contentType;
|
|
8
|
+
}
|
|
9
|
+
DeleteDeploymentGroupRequest.prototype.withGroupId = function (groupId) {
|
|
10
|
+
this['group_id'] = groupId;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(DeleteDeploymentGroupRequest.prototype, "groupId", {
|
|
14
|
+
get: function () {
|
|
15
|
+
return this['group_id'];
|
|
16
|
+
},
|
|
17
|
+
set: function (groupId) {
|
|
18
|
+
this['group_id'] = groupId;
|
|
19
|
+
},
|
|
20
|
+
enumerable: false,
|
|
21
|
+
configurable: true
|
|
22
|
+
});
|
|
23
|
+
DeleteDeploymentGroupRequest.prototype.withContentType = function (contentType) {
|
|
24
|
+
this['Content-Type'] = contentType;
|
|
25
|
+
return this;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(DeleteDeploymentGroupRequest.prototype, "contentType", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this['Content-Type'];
|
|
30
|
+
},
|
|
31
|
+
set: function (contentType) {
|
|
32
|
+
this['Content-Type'] = contentType;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
return DeleteDeploymentGroupRequest;
|
|
38
|
+
}());
|
|
39
|
+
exports.DeleteDeploymentGroupRequest = DeleteDeploymentGroupRequest;
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
* @enum {string}
|
|
43
|
+
*/
|
|
44
|
+
var DeleteDeploymentGroupRequestContentTypeEnum;
|
|
45
|
+
(function (DeleteDeploymentGroupRequestContentTypeEnum) {
|
|
46
|
+
DeleteDeploymentGroupRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
47
|
+
DeleteDeploymentGroupRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
48
|
+
})(DeleteDeploymentGroupRequestContentTypeEnum || (exports.DeleteDeploymentGroupRequestContentTypeEnum = DeleteDeploymentGroupRequestContentTypeEnum = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class DeleteDeploymentGroupResponse extends SdkResponse {
|
|
3
|
+
private 'group_id'?;
|
|
4
|
+
constructor();
|
|
5
|
+
withGroupId(groupId: string): DeleteDeploymentGroupResponse;
|
|
6
|
+
set groupId(groupId: string | undefined);
|
|
7
|
+
get groupId(): string | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.DeleteDeploymentGroupResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var DeleteDeploymentGroupResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(DeleteDeploymentGroupResponse, _super);
|
|
22
|
+
function DeleteDeploymentGroupResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
DeleteDeploymentGroupResponse.prototype.withGroupId = function (groupId) {
|
|
26
|
+
this['group_id'] = groupId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(DeleteDeploymentGroupResponse.prototype, "groupId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['group_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (groupId) {
|
|
34
|
+
this['group_id'] = groupId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
return DeleteDeploymentGroupResponse;
|
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
|
41
|
+
exports.DeleteDeploymentGroupResponse = DeleteDeploymentGroupResponse;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class DeleteDeploymentHostRequest {
|
|
2
|
+
private 'group_id';
|
|
3
|
+
private 'host_id';
|
|
4
|
+
private 'Content-Type';
|
|
5
|
+
constructor(groupId?: any, hostId?: any, contentType?: any);
|
|
6
|
+
withGroupId(groupId: string): DeleteDeploymentHostRequest;
|
|
7
|
+
set groupId(groupId: string | undefined);
|
|
8
|
+
get groupId(): string | undefined;
|
|
9
|
+
withHostId(hostId: string): DeleteDeploymentHostRequest;
|
|
10
|
+
set hostId(hostId: string | undefined);
|
|
11
|
+
get hostId(): string | undefined;
|
|
12
|
+
withContentType(contentType: DeleteDeploymentHostRequestContentTypeEnum): DeleteDeploymentHostRequest;
|
|
13
|
+
set contentType(contentType: DeleteDeploymentHostRequestContentTypeEnum | undefined);
|
|
14
|
+
get contentType(): DeleteDeploymentHostRequestContentTypeEnum | undefined;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
* @enum {string}
|
|
19
|
+
*/
|
|
20
|
+
export declare enum DeleteDeploymentHostRequestContentTypeEnum {
|
|
21
|
+
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
22
|
+
APPLICATION_JSON = "application/json"
|
|
23
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteDeploymentHostRequestContentTypeEnum = exports.DeleteDeploymentHostRequest = void 0;
|
|
4
|
+
var DeleteDeploymentHostRequest = /** @class */ (function () {
|
|
5
|
+
function DeleteDeploymentHostRequest(groupId, hostId, contentType) {
|
|
6
|
+
this['group_id'] = groupId;
|
|
7
|
+
this['host_id'] = hostId;
|
|
8
|
+
this['Content-Type'] = contentType;
|
|
9
|
+
}
|
|
10
|
+
DeleteDeploymentHostRequest.prototype.withGroupId = function (groupId) {
|
|
11
|
+
this['group_id'] = groupId;
|
|
12
|
+
return this;
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(DeleteDeploymentHostRequest.prototype, "groupId", {
|
|
15
|
+
get: function () {
|
|
16
|
+
return this['group_id'];
|
|
17
|
+
},
|
|
18
|
+
set: function (groupId) {
|
|
19
|
+
this['group_id'] = groupId;
|
|
20
|
+
},
|
|
21
|
+
enumerable: false,
|
|
22
|
+
configurable: true
|
|
23
|
+
});
|
|
24
|
+
DeleteDeploymentHostRequest.prototype.withHostId = function (hostId) {
|
|
25
|
+
this['host_id'] = hostId;
|
|
26
|
+
return this;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(DeleteDeploymentHostRequest.prototype, "hostId", {
|
|
29
|
+
get: function () {
|
|
30
|
+
return this['host_id'];
|
|
31
|
+
},
|
|
32
|
+
set: function (hostId) {
|
|
33
|
+
this['host_id'] = hostId;
|
|
34
|
+
},
|
|
35
|
+
enumerable: false,
|
|
36
|
+
configurable: true
|
|
37
|
+
});
|
|
38
|
+
DeleteDeploymentHostRequest.prototype.withContentType = function (contentType) {
|
|
39
|
+
this['Content-Type'] = contentType;
|
|
40
|
+
return this;
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(DeleteDeploymentHostRequest.prototype, "contentType", {
|
|
43
|
+
get: function () {
|
|
44
|
+
return this['Content-Type'];
|
|
45
|
+
},
|
|
46
|
+
set: function (contentType) {
|
|
47
|
+
this['Content-Type'] = contentType;
|
|
48
|
+
},
|
|
49
|
+
enumerable: false,
|
|
50
|
+
configurable: true
|
|
51
|
+
});
|
|
52
|
+
return DeleteDeploymentHostRequest;
|
|
53
|
+
}());
|
|
54
|
+
exports.DeleteDeploymentHostRequest = DeleteDeploymentHostRequest;
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
* @enum {string}
|
|
58
|
+
*/
|
|
59
|
+
var DeleteDeploymentHostRequestContentTypeEnum;
|
|
60
|
+
(function (DeleteDeploymentHostRequestContentTypeEnum) {
|
|
61
|
+
DeleteDeploymentHostRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
62
|
+
DeleteDeploymentHostRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
63
|
+
})(DeleteDeploymentHostRequestContentTypeEnum || (exports.DeleteDeploymentHostRequestContentTypeEnum = DeleteDeploymentHostRequestContentTypeEnum = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class DeleteDeploymentHostResponse extends SdkResponse {
|
|
3
|
+
private 'host_id'?;
|
|
4
|
+
constructor();
|
|
5
|
+
withHostId(hostId: string): DeleteDeploymentHostResponse;
|
|
6
|
+
set hostId(hostId: string | undefined);
|
|
7
|
+
get hostId(): string | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.DeleteDeploymentHostResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var DeleteDeploymentHostResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(DeleteDeploymentHostResponse, _super);
|
|
22
|
+
function DeleteDeploymentHostResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
DeleteDeploymentHostResponse.prototype.withHostId = function (hostId) {
|
|
26
|
+
this['host_id'] = hostId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(DeleteDeploymentHostResponse.prototype, "hostId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['host_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (hostId) {
|
|
34
|
+
this['host_id'] = hostId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
return DeleteDeploymentHostResponse;
|
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
|
41
|
+
exports.DeleteDeploymentHostResponse = DeleteDeploymentHostResponse;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare class DeploymentGroup {
|
|
2
|
+
name: string;
|
|
3
|
+
private 'region_name';
|
|
4
|
+
private 'project_id';
|
|
5
|
+
os: DeploymentGroupOsEnum;
|
|
6
|
+
private 'slave_cluster_id'?;
|
|
7
|
+
description?: string;
|
|
8
|
+
private 'is_proxy_mode'?;
|
|
9
|
+
constructor(name?: any, regionName?: any, projectId?: any, os?: any);
|
|
10
|
+
withName(name: string): DeploymentGroup;
|
|
11
|
+
withRegionName(regionName: string): DeploymentGroup;
|
|
12
|
+
set regionName(regionName: string | undefined);
|
|
13
|
+
get regionName(): string | undefined;
|
|
14
|
+
withProjectId(projectId: string): DeploymentGroup;
|
|
15
|
+
set projectId(projectId: string | undefined);
|
|
16
|
+
get projectId(): string | undefined;
|
|
17
|
+
withOs(os: DeploymentGroupOsEnum): DeploymentGroup;
|
|
18
|
+
withSlaveClusterId(slaveClusterId: string): DeploymentGroup;
|
|
19
|
+
set slaveClusterId(slaveClusterId: string | undefined);
|
|
20
|
+
get slaveClusterId(): string | undefined;
|
|
21
|
+
withDescription(description: string): DeploymentGroup;
|
|
22
|
+
withIsProxyMode(isProxyMode: number): DeploymentGroup;
|
|
23
|
+
set isProxyMode(isProxyMode: number | undefined);
|
|
24
|
+
get isProxyMode(): number | undefined;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
export declare enum DeploymentGroupOsEnum {
|
|
31
|
+
WINDOWS = "windows",
|
|
32
|
+
LINUX = "linux"
|
|
33
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeploymentGroupOsEnum = exports.DeploymentGroup = void 0;
|
|
4
|
+
var DeploymentGroup = /** @class */ (function () {
|
|
5
|
+
function DeploymentGroup(name, regionName, projectId, os) {
|
|
6
|
+
this['name'] = name;
|
|
7
|
+
this['region_name'] = regionName;
|
|
8
|
+
this['project_id'] = projectId;
|
|
9
|
+
this['os'] = os;
|
|
10
|
+
}
|
|
11
|
+
DeploymentGroup.prototype.withName = function (name) {
|
|
12
|
+
this['name'] = name;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
DeploymentGroup.prototype.withRegionName = function (regionName) {
|
|
16
|
+
this['region_name'] = regionName;
|
|
17
|
+
return this;
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(DeploymentGroup.prototype, "regionName", {
|
|
20
|
+
get: function () {
|
|
21
|
+
return this['region_name'];
|
|
22
|
+
},
|
|
23
|
+
set: function (regionName) {
|
|
24
|
+
this['region_name'] = regionName;
|
|
25
|
+
},
|
|
26
|
+
enumerable: false,
|
|
27
|
+
configurable: true
|
|
28
|
+
});
|
|
29
|
+
DeploymentGroup.prototype.withProjectId = function (projectId) {
|
|
30
|
+
this['project_id'] = projectId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(DeploymentGroup.prototype, "projectId", {
|
|
34
|
+
get: function () {
|
|
35
|
+
return this['project_id'];
|
|
36
|
+
},
|
|
37
|
+
set: function (projectId) {
|
|
38
|
+
this['project_id'] = projectId;
|
|
39
|
+
},
|
|
40
|
+
enumerable: false,
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
DeploymentGroup.prototype.withOs = function (os) {
|
|
44
|
+
this['os'] = os;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
DeploymentGroup.prototype.withSlaveClusterId = function (slaveClusterId) {
|
|
48
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
Object.defineProperty(DeploymentGroup.prototype, "slaveClusterId", {
|
|
52
|
+
get: function () {
|
|
53
|
+
return this['slave_cluster_id'];
|
|
54
|
+
},
|
|
55
|
+
set: function (slaveClusterId) {
|
|
56
|
+
this['slave_cluster_id'] = slaveClusterId;
|
|
57
|
+
},
|
|
58
|
+
enumerable: false,
|
|
59
|
+
configurable: true
|
|
60
|
+
});
|
|
61
|
+
DeploymentGroup.prototype.withDescription = function (description) {
|
|
62
|
+
this['description'] = description;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
DeploymentGroup.prototype.withIsProxyMode = function (isProxyMode) {
|
|
66
|
+
this['is_proxy_mode'] = isProxyMode;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
Object.defineProperty(DeploymentGroup.prototype, "isProxyMode", {
|
|
70
|
+
get: function () {
|
|
71
|
+
return this['is_proxy_mode'];
|
|
72
|
+
},
|
|
73
|
+
set: function (isProxyMode) {
|
|
74
|
+
this['is_proxy_mode'] = isProxyMode;
|
|
75
|
+
},
|
|
76
|
+
enumerable: false,
|
|
77
|
+
configurable: true
|
|
78
|
+
});
|
|
79
|
+
return DeploymentGroup;
|
|
80
|
+
}());
|
|
81
|
+
exports.DeploymentGroup = DeploymentGroup;
|
|
82
|
+
/**
|
|
83
|
+
* @export
|
|
84
|
+
* @enum {string}
|
|
85
|
+
*/
|
|
86
|
+
var DeploymentGroupOsEnum;
|
|
87
|
+
(function (DeploymentGroupOsEnum) {
|
|
88
|
+
DeploymentGroupOsEnum["WINDOWS"] = "windows";
|
|
89
|
+
DeploymentGroupOsEnum["LINUX"] = "linux";
|
|
90
|
+
})(DeploymentGroupOsEnum || (exports.DeploymentGroupOsEnum = DeploymentGroupOsEnum = {}));
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { PermissionGroupDetail } from './PermissionGroupDetail';
|
|
2
|
+
import { UserInfo } from './UserInfo';
|
|
3
|
+
export declare class DeploymentGroupDetail {
|
|
4
|
+
private 'group_id'?;
|
|
5
|
+
private 'created_time'?;
|
|
6
|
+
private 'updated_time'?;
|
|
7
|
+
private 'host_count'?;
|
|
8
|
+
private 'project_name'?;
|
|
9
|
+
name?: string;
|
|
10
|
+
private 'region_name'?;
|
|
11
|
+
private 'project_id'?;
|
|
12
|
+
os?: string;
|
|
13
|
+
private 'auto_connection_test_switch'?;
|
|
14
|
+
private 'slave_cluster_id'?;
|
|
15
|
+
private 'nick_name'?;
|
|
16
|
+
private 'created_by'?;
|
|
17
|
+
private 'updated_by'?;
|
|
18
|
+
description?: string;
|
|
19
|
+
permission?: PermissionGroupDetail;
|
|
20
|
+
constructor();
|
|
21
|
+
withGroupId(groupId: string): DeploymentGroupDetail;
|
|
22
|
+
set groupId(groupId: string | undefined);
|
|
23
|
+
get groupId(): string | undefined;
|
|
24
|
+
withCreatedTime(createdTime: string): DeploymentGroupDetail;
|
|
25
|
+
set createdTime(createdTime: string | undefined);
|
|
26
|
+
get createdTime(): string | undefined;
|
|
27
|
+
withUpdatedTime(updatedTime: string): DeploymentGroupDetail;
|
|
28
|
+
set updatedTime(updatedTime: string | undefined);
|
|
29
|
+
get updatedTime(): string | undefined;
|
|
30
|
+
withHostCount(hostCount: number): DeploymentGroupDetail;
|
|
31
|
+
set hostCount(hostCount: number | undefined);
|
|
32
|
+
get hostCount(): number | undefined;
|
|
33
|
+
withProjectName(projectName: string): DeploymentGroupDetail;
|
|
34
|
+
set projectName(projectName: string | undefined);
|
|
35
|
+
get projectName(): string | undefined;
|
|
36
|
+
withName(name: string): DeploymentGroupDetail;
|
|
37
|
+
withRegionName(regionName: string): DeploymentGroupDetail;
|
|
38
|
+
set regionName(regionName: string | undefined);
|
|
39
|
+
get regionName(): string | undefined;
|
|
40
|
+
withProjectId(projectId: string): DeploymentGroupDetail;
|
|
41
|
+
set projectId(projectId: string | undefined);
|
|
42
|
+
get projectId(): string | undefined;
|
|
43
|
+
withOs(os: string): DeploymentGroupDetail;
|
|
44
|
+
withAutoConnectionTestSwitch(autoConnectionTestSwitch: number): DeploymentGroupDetail;
|
|
45
|
+
set autoConnectionTestSwitch(autoConnectionTestSwitch: number | undefined);
|
|
46
|
+
get autoConnectionTestSwitch(): number | undefined;
|
|
47
|
+
withSlaveClusterId(slaveClusterId: string): DeploymentGroupDetail;
|
|
48
|
+
set slaveClusterId(slaveClusterId: string | undefined);
|
|
49
|
+
get slaveClusterId(): string | undefined;
|
|
50
|
+
withNickName(nickName: string): DeploymentGroupDetail;
|
|
51
|
+
set nickName(nickName: string | undefined);
|
|
52
|
+
get nickName(): string | undefined;
|
|
53
|
+
withCreatedBy(createdBy: UserInfo): DeploymentGroupDetail;
|
|
54
|
+
set createdBy(createdBy: UserInfo | undefined);
|
|
55
|
+
get createdBy(): UserInfo | undefined;
|
|
56
|
+
withUpdatedBy(updatedBy: UserInfo): DeploymentGroupDetail;
|
|
57
|
+
set updatedBy(updatedBy: UserInfo | undefined);
|
|
58
|
+
get updatedBy(): UserInfo | undefined;
|
|
59
|
+
withDescription(description: string): DeploymentGroupDetail;
|
|
60
|
+
withPermission(permission: PermissionGroupDetail): DeploymentGroupDetail;
|
|
61
|
+
}
|