@huaweicloud/huaweicloud-sdk-cbr 3.1.38 → 3.1.39
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/v1/CbrClient.d.ts +409 -0
- package/v1/CbrClient.js +828 -7
- package/v1/CbrRegion.d.ts +1 -0
- package/v1/CbrRegion.js +3 -1
- package/v1/model/BackupUpdate.d.ts +5 -0
- package/v1/model/BackupUpdate.js +13 -0
- package/v1/model/BackupUpdateReq.d.ts +6 -0
- package/v1/model/BackupUpdateReq.js +13 -0
- package/v1/model/BatchUpdateVaultRequest.d.ts +6 -0
- package/v1/model/BatchUpdateVaultRequest.js +13 -0
- package/v1/model/BatchUpdateVaultRequestBody.d.ts +6 -0
- package/v1/model/BatchUpdateVaultRequestBody.js +14 -0
- package/v1/model/BatchUpdateVaultResponse.d.ts +8 -0
- package/v1/model/BatchUpdateVaultResponse.js +41 -0
- package/v1/model/CbcProductInfoUpdate.d.ts +11 -0
- package/v1/model/CbcProductInfoUpdate.js +28 -0
- package/v1/model/CbcUpdate.d.ts +14 -0
- package/v1/model/CbcUpdate.js +37 -0
- package/v1/model/CheckAgentRequest.d.ts +6 -0
- package/v1/model/CheckAgentRequest.js +13 -0
- package/v1/model/CheckAgentResponse.d.ts +9 -0
- package/v1/model/CheckAgentResponse.js +41 -0
- package/v1/model/CombinedOrder.d.ts +15 -0
- package/v1/model/CombinedOrder.js +51 -0
- package/v1/model/CreatePostPaidVaultRequest.d.ts +6 -0
- package/v1/model/CreatePostPaidVaultRequest.js +13 -0
- package/v1/model/CreatePostPaidVaultResponse.d.ts +15 -0
- package/v1/model/CreatePostPaidVaultResponse.js +53 -0
- package/v1/model/DomainMigrate.d.ts +9 -0
- package/v1/model/DomainMigrate.js +29 -0
- package/v1/model/DomainMigrateProjectStatus.d.ts +36 -0
- package/v1/model/DomainMigrateProjectStatus.js +100 -0
- package/v1/model/DomainProjectsInfo.d.ts +11 -0
- package/v1/model/DomainProjectsInfo.js +39 -0
- package/v1/model/ImportCheckpointRequest.d.ts +6 -0
- package/v1/model/ImportCheckpointRequest.js +13 -0
- package/v1/model/ImportCheckpointResponse.d.ts +7 -0
- package/v1/model/ImportCheckpointResponse.js +31 -0
- package/v1/model/ListDomainProjectsRequest.d.ts +7 -0
- package/v1/model/ListDomainProjectsRequest.js +24 -0
- package/v1/model/ListDomainProjectsResponse.d.ts +7 -0
- package/v1/model/ListDomainProjectsResponse.js +31 -0
- package/v1/model/ListExternalVaultRequest.d.ts +38 -0
- package/v1/model/ListExternalVaultRequest.js +111 -0
- package/v1/model/ListExternalVaultResponse.d.ts +13 -0
- package/v1/model/ListExternalVaultResponse.js +43 -0
- package/v1/model/ListProjectsRequest.d.ts +3 -0
- package/v1/model/ListProjectsRequest.js +9 -0
- package/v1/model/ListProjectsResponse.d.ts +10 -0
- package/v1/model/ListProjectsResponse.js +35 -0
- package/v1/model/MigrateDomainRequest.d.ts +6 -0
- package/v1/model/MigrateDomainRequest.js +13 -0
- package/v1/model/MigrateDomainResponse.d.ts +10 -0
- package/v1/model/MigrateDomainResponse.js +31 -0
- package/v1/model/ProjectsListInfo.d.ts +26 -0
- package/v1/model/ProjectsListInfo.js +71 -0
- package/v1/model/ProtectableAgentReq.d.ts +8 -0
- package/v1/model/ProtectableAgentReq.js +24 -0
- package/v1/model/ProtectableAgentStatus.d.ts +19 -0
- package/v1/model/ProtectableAgentStatus.js +53 -0
- package/v1/model/ProtectableAgentStatusResource.d.ts +15 -0
- package/v1/model/ProtectableAgentStatusResource.js +53 -0
- package/v1/model/SelfLinksInfo.d.ts +5 -0
- package/v1/model/SelfLinksInfo.js +13 -0
- package/v1/model/SetVaultResourceRequest.d.ts +10 -0
- package/v1/model/SetVaultResourceRequest.js +28 -0
- package/v1/model/SetVaultResourceResponse.d.ts +8 -0
- package/v1/model/SetVaultResourceResponse.js +41 -0
- package/v1/model/ShowDomainRequest.d.ts +7 -0
- package/v1/model/ShowDomainRequest.js +24 -0
- package/v1/model/ShowDomainResponse.d.ts +20 -0
- package/v1/model/ShowDomainResponse.js +83 -0
- package/v1/model/ShowMetadataRequest.d.ts +7 -0
- package/v1/model/ShowMetadataRequest.js +24 -0
- package/v1/model/ShowMetadataResponse.d.ts +24 -0
- package/v1/model/ShowMetadataResponse.js +79 -0
- package/v1/model/ShowMigrateStatusRequest.d.ts +7 -0
- package/v1/model/ShowMigrateStatusRequest.js +23 -0
- package/v1/model/ShowMigrateStatusResponse.d.ts +20 -0
- package/v1/model/ShowMigrateStatusResponse.js +55 -0
- package/v1/model/ShowStorageUsageRequest.d.ts +23 -0
- package/v1/model/ShowStorageUsageRequest.js +54 -0
- package/v1/model/ShowStorageUsageResponse.d.ts +13 -0
- package/v1/model/ShowStorageUsageResponse.js +55 -0
- package/v1/model/StorageUsage.d.ts +27 -0
- package/v1/model/StorageUsage.js +96 -0
- package/v1/model/SyncParam.d.ts +11 -0
- package/v1/model/SyncParam.js +39 -0
- package/v1/model/SyncReq.d.ts +6 -0
- package/v1/model/SyncReq.js +14 -0
- package/v1/model/SyncRespBody.d.ts +11 -0
- package/v1/model/SyncRespBody.js +39 -0
- package/v1/model/UpdateBackupRequest.d.ts +10 -0
- package/v1/model/UpdateBackupRequest.js +28 -0
- package/v1/model/UpdateBackupResponse.d.ts +7 -0
- package/v1/model/UpdateBackupResponse.js +31 -0
- package/v1/model/UpdateOrderRequest.d.ts +10 -0
- package/v1/model/UpdateOrderRequest.js +28 -0
- package/v1/model/UpdateOrderResponse.d.ts +4 -0
- package/v1/model/UpdateOrderResponse.js +27 -0
- package/v1/model/VaultBatchUpdate.d.ts +9 -0
- package/v1/model/VaultBatchUpdate.js +27 -0
- package/v1/model/VaultCreate.d.ts +14 -0
- package/v1/model/VaultCreate.js +46 -0
- package/v1/model/VaultCreateParameters.d.ts +8 -0
- package/v1/model/VaultCreateParameters.js +23 -0
- package/v1/model/VaultCreateResource.d.ts +14 -0
- package/v1/model/VaultCreateResource.js +46 -0
- package/v1/model/VaultOrder.d.ts +46 -0
- package/v1/model/VaultOrder.js +123 -0
- package/v1/model/VaultOrderCreateReqs.d.ts +6 -0
- package/v1/model/VaultOrderCreateReqs.js +14 -0
- package/v1/model/VaultSetResourceReq.d.ts +17 -0
- package/v1/model/VaultSetResourceReq.js +38 -0
- package/v1/public-api.d.ts +53 -0
- package/v1/public-api.js +53 -0
@@ -0,0 +1,100 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DomainMigrateProjectStatusStatusEnum = exports.DomainMigrateProjectStatus = void 0;
|
4
|
+
var DomainMigrateProjectStatus = /** @class */ (function () {
|
5
|
+
function DomainMigrateProjectStatus(status, projectId, projectName) {
|
6
|
+
this['status'] = status;
|
7
|
+
this['project_id'] = projectId;
|
8
|
+
this['project_name'] = projectName;
|
9
|
+
}
|
10
|
+
DomainMigrateProjectStatus.prototype.withStatus = function (status) {
|
11
|
+
this['status'] = status;
|
12
|
+
return this;
|
13
|
+
};
|
14
|
+
DomainMigrateProjectStatus.prototype.withProjectId = function (projectId) {
|
15
|
+
this['project_id'] = projectId;
|
16
|
+
return this;
|
17
|
+
};
|
18
|
+
Object.defineProperty(DomainMigrateProjectStatus.prototype, "projectId", {
|
19
|
+
get: function () {
|
20
|
+
return this['project_id'];
|
21
|
+
},
|
22
|
+
set: function (projectId) {
|
23
|
+
this['project_id'] = projectId;
|
24
|
+
},
|
25
|
+
enumerable: false,
|
26
|
+
configurable: true
|
27
|
+
});
|
28
|
+
DomainMigrateProjectStatus.prototype.withProjectName = function (projectName) {
|
29
|
+
this['project_name'] = projectName;
|
30
|
+
return this;
|
31
|
+
};
|
32
|
+
Object.defineProperty(DomainMigrateProjectStatus.prototype, "projectName", {
|
33
|
+
get: function () {
|
34
|
+
return this['project_name'];
|
35
|
+
},
|
36
|
+
set: function (projectName) {
|
37
|
+
this['project_name'] = projectName;
|
38
|
+
},
|
39
|
+
enumerable: false,
|
40
|
+
configurable: true
|
41
|
+
});
|
42
|
+
DomainMigrateProjectStatus.prototype.withRegionId = function (regionId) {
|
43
|
+
this['region_id'] = regionId;
|
44
|
+
return this;
|
45
|
+
};
|
46
|
+
Object.defineProperty(DomainMigrateProjectStatus.prototype, "regionId", {
|
47
|
+
get: function () {
|
48
|
+
return this['region_id'];
|
49
|
+
},
|
50
|
+
set: function (regionId) {
|
51
|
+
this['region_id'] = regionId;
|
52
|
+
},
|
53
|
+
enumerable: false,
|
54
|
+
configurable: true
|
55
|
+
});
|
56
|
+
DomainMigrateProjectStatus.prototype.withProgress = function (progress) {
|
57
|
+
this['progress'] = progress;
|
58
|
+
return this;
|
59
|
+
};
|
60
|
+
DomainMigrateProjectStatus.prototype.withFailCode = function (failCode) {
|
61
|
+
this['fail_code'] = failCode;
|
62
|
+
return this;
|
63
|
+
};
|
64
|
+
Object.defineProperty(DomainMigrateProjectStatus.prototype, "failCode", {
|
65
|
+
get: function () {
|
66
|
+
return this['fail_code'];
|
67
|
+
},
|
68
|
+
set: function (failCode) {
|
69
|
+
this['fail_code'] = failCode;
|
70
|
+
},
|
71
|
+
enumerable: false,
|
72
|
+
configurable: true
|
73
|
+
});
|
74
|
+
DomainMigrateProjectStatus.prototype.withFailReason = function (failReason) {
|
75
|
+
this['fail_reason'] = failReason;
|
76
|
+
return this;
|
77
|
+
};
|
78
|
+
Object.defineProperty(DomainMigrateProjectStatus.prototype, "failReason", {
|
79
|
+
get: function () {
|
80
|
+
return this['fail_reason'];
|
81
|
+
},
|
82
|
+
set: function (failReason) {
|
83
|
+
this['fail_reason'] = failReason;
|
84
|
+
},
|
85
|
+
enumerable: false,
|
86
|
+
configurable: true
|
87
|
+
});
|
88
|
+
return DomainMigrateProjectStatus;
|
89
|
+
}());
|
90
|
+
exports.DomainMigrateProjectStatus = DomainMigrateProjectStatus;
|
91
|
+
/**
|
92
|
+
* @export
|
93
|
+
* @enum {string}
|
94
|
+
*/
|
95
|
+
var DomainMigrateProjectStatusStatusEnum;
|
96
|
+
(function (DomainMigrateProjectStatusStatusEnum) {
|
97
|
+
DomainMigrateProjectStatusStatusEnum["MIGRATING"] = "migrating";
|
98
|
+
DomainMigrateProjectStatusStatusEnum["SUCCESS"] = "success";
|
99
|
+
DomainMigrateProjectStatusStatusEnum["FAILED"] = "failed";
|
100
|
+
})(DomainMigrateProjectStatusStatusEnum = exports.DomainMigrateProjectStatusStatusEnum || (exports.DomainMigrateProjectStatusStatusEnum = {}));
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class DomainProjectsInfo {
|
2
|
+
private 'project_id';
|
3
|
+
private 'project_name';
|
4
|
+
constructor(projectId?: any, projectName?: any);
|
5
|
+
withProjectId(projectId: string): DomainProjectsInfo;
|
6
|
+
set projectId(projectId: string | undefined);
|
7
|
+
get projectId(): string | undefined;
|
8
|
+
withProjectName(projectName: string): DomainProjectsInfo;
|
9
|
+
set projectName(projectName: string | undefined);
|
10
|
+
get projectName(): string | undefined;
|
11
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DomainProjectsInfo = void 0;
|
4
|
+
var DomainProjectsInfo = /** @class */ (function () {
|
5
|
+
function DomainProjectsInfo(projectId, projectName) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
this['project_name'] = projectName;
|
8
|
+
}
|
9
|
+
DomainProjectsInfo.prototype.withProjectId = function (projectId) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(DomainProjectsInfo.prototype, "projectId", {
|
14
|
+
get: function () {
|
15
|
+
return this['project_id'];
|
16
|
+
},
|
17
|
+
set: function (projectId) {
|
18
|
+
this['project_id'] = projectId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
DomainProjectsInfo.prototype.withProjectName = function (projectName) {
|
24
|
+
this['project_name'] = projectName;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(DomainProjectsInfo.prototype, "projectName", {
|
28
|
+
get: function () {
|
29
|
+
return this['project_name'];
|
30
|
+
},
|
31
|
+
set: function (projectName) {
|
32
|
+
this['project_name'] = projectName;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
return DomainProjectsInfo;
|
38
|
+
}());
|
39
|
+
exports.DomainProjectsInfo = DomainProjectsInfo;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ImportCheckpointRequest = void 0;
|
4
|
+
var ImportCheckpointRequest = /** @class */ (function () {
|
5
|
+
function ImportCheckpointRequest() {
|
6
|
+
}
|
7
|
+
ImportCheckpointRequest.prototype.withBody = function (body) {
|
8
|
+
this['body'] = body;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return ImportCheckpointRequest;
|
12
|
+
}());
|
13
|
+
exports.ImportCheckpointRequest = ImportCheckpointRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { SyncRespBody } from './SyncRespBody';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ImportCheckpointResponse extends SdkResponse {
|
4
|
+
sync?: SyncRespBody;
|
5
|
+
constructor();
|
6
|
+
withSync(sync: SyncRespBody): ImportCheckpointResponse;
|
7
|
+
}
|
@@ -0,0 +1,31 @@
|
|
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.ImportCheckpointResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ImportCheckpointResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ImportCheckpointResponse, _super);
|
22
|
+
function ImportCheckpointResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ImportCheckpointResponse.prototype.withSync = function (sync) {
|
26
|
+
this['sync'] = sync;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ImportCheckpointResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ImportCheckpointResponse = ImportCheckpointResponse;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListDomainProjectsRequest = void 0;
|
4
|
+
var ListDomainProjectsRequest = /** @class */ (function () {
|
5
|
+
function ListDomainProjectsRequest(domainName) {
|
6
|
+
this['domain_name'] = domainName;
|
7
|
+
}
|
8
|
+
ListDomainProjectsRequest.prototype.withDomainName = function (domainName) {
|
9
|
+
this['domain_name'] = domainName;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(ListDomainProjectsRequest.prototype, "domainName", {
|
13
|
+
get: function () {
|
14
|
+
return this['domain_name'];
|
15
|
+
},
|
16
|
+
set: function (domainName) {
|
17
|
+
this['domain_name'] = domainName;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
return ListDomainProjectsRequest;
|
23
|
+
}());
|
24
|
+
exports.ListDomainProjectsRequest = ListDomainProjectsRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { DomainProjectsInfo } from './DomainProjectsInfo';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListDomainProjectsResponse extends SdkResponse {
|
4
|
+
projects?: Array<DomainProjectsInfo>;
|
5
|
+
constructor();
|
6
|
+
withProjects(projects: Array<DomainProjectsInfo>): ListDomainProjectsResponse;
|
7
|
+
}
|
@@ -0,0 +1,31 @@
|
|
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.ListDomainProjectsResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListDomainProjectsResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListDomainProjectsResponse, _super);
|
22
|
+
function ListDomainProjectsResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListDomainProjectsResponse.prototype.withProjects = function (projects) {
|
26
|
+
this['projects'] = projects;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ListDomainProjectsResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ListDomainProjectsResponse = ListDomainProjectsResponse;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
export declare class ListExternalVaultRequest {
|
2
|
+
private 'external_project_id';
|
3
|
+
limit?: number;
|
4
|
+
offset?: number;
|
5
|
+
private 'protect_type'?;
|
6
|
+
private 'region_id';
|
7
|
+
private 'objcet_type'?;
|
8
|
+
private 'cloud_type'?;
|
9
|
+
private 'vault_id'?;
|
10
|
+
constructor(externalProjectId?: any, regionId?: any);
|
11
|
+
withExternalProjectId(externalProjectId: string): ListExternalVaultRequest;
|
12
|
+
set externalProjectId(externalProjectId: string | undefined);
|
13
|
+
get externalProjectId(): string | undefined;
|
14
|
+
withLimit(limit: number): ListExternalVaultRequest;
|
15
|
+
withOffset(offset: number): ListExternalVaultRequest;
|
16
|
+
withProtectType(protectType: ListExternalVaultRequestProtectTypeEnum): ListExternalVaultRequest;
|
17
|
+
set protectType(protectType: ListExternalVaultRequestProtectTypeEnum | undefined);
|
18
|
+
get protectType(): ListExternalVaultRequestProtectTypeEnum | undefined;
|
19
|
+
withRegionId(regionId: string): ListExternalVaultRequest;
|
20
|
+
set regionId(regionId: string | undefined);
|
21
|
+
get regionId(): string | undefined;
|
22
|
+
withObjcetType(objcetType: string): ListExternalVaultRequest;
|
23
|
+
set objcetType(objcetType: string | undefined);
|
24
|
+
get objcetType(): string | undefined;
|
25
|
+
withCloudType(cloudType: string): ListExternalVaultRequest;
|
26
|
+
set cloudType(cloudType: string | undefined);
|
27
|
+
get cloudType(): string | undefined;
|
28
|
+
withVaultId(vaultId: string): ListExternalVaultRequest;
|
29
|
+
set vaultId(vaultId: string | undefined);
|
30
|
+
get vaultId(): string | undefined;
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* @export
|
34
|
+
* @enum {string}
|
35
|
+
*/
|
36
|
+
export declare enum ListExternalVaultRequestProtectTypeEnum {
|
37
|
+
BACKUPREPLICATIONHYBRID = "backup;replication;hybrid"
|
38
|
+
}
|
@@ -0,0 +1,111 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListExternalVaultRequestProtectTypeEnum = exports.ListExternalVaultRequest = void 0;
|
4
|
+
var ListExternalVaultRequest = /** @class */ (function () {
|
5
|
+
function ListExternalVaultRequest(externalProjectId, regionId) {
|
6
|
+
this['external_project_id'] = externalProjectId;
|
7
|
+
this['region_id'] = regionId;
|
8
|
+
}
|
9
|
+
ListExternalVaultRequest.prototype.withExternalProjectId = function (externalProjectId) {
|
10
|
+
this['external_project_id'] = externalProjectId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(ListExternalVaultRequest.prototype, "externalProjectId", {
|
14
|
+
get: function () {
|
15
|
+
return this['external_project_id'];
|
16
|
+
},
|
17
|
+
set: function (externalProjectId) {
|
18
|
+
this['external_project_id'] = externalProjectId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
ListExternalVaultRequest.prototype.withLimit = function (limit) {
|
24
|
+
this['limit'] = limit;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
ListExternalVaultRequest.prototype.withOffset = function (offset) {
|
28
|
+
this['offset'] = offset;
|
29
|
+
return this;
|
30
|
+
};
|
31
|
+
ListExternalVaultRequest.prototype.withProtectType = function (protectType) {
|
32
|
+
this['protect_type'] = protectType;
|
33
|
+
return this;
|
34
|
+
};
|
35
|
+
Object.defineProperty(ListExternalVaultRequest.prototype, "protectType", {
|
36
|
+
get: function () {
|
37
|
+
return this['protect_type'];
|
38
|
+
},
|
39
|
+
set: function (protectType) {
|
40
|
+
this['protect_type'] = protectType;
|
41
|
+
},
|
42
|
+
enumerable: false,
|
43
|
+
configurable: true
|
44
|
+
});
|
45
|
+
ListExternalVaultRequest.prototype.withRegionId = function (regionId) {
|
46
|
+
this['region_id'] = regionId;
|
47
|
+
return this;
|
48
|
+
};
|
49
|
+
Object.defineProperty(ListExternalVaultRequest.prototype, "regionId", {
|
50
|
+
get: function () {
|
51
|
+
return this['region_id'];
|
52
|
+
},
|
53
|
+
set: function (regionId) {
|
54
|
+
this['region_id'] = regionId;
|
55
|
+
},
|
56
|
+
enumerable: false,
|
57
|
+
configurable: true
|
58
|
+
});
|
59
|
+
ListExternalVaultRequest.prototype.withObjcetType = function (objcetType) {
|
60
|
+
this['objcet_type'] = objcetType;
|
61
|
+
return this;
|
62
|
+
};
|
63
|
+
Object.defineProperty(ListExternalVaultRequest.prototype, "objcetType", {
|
64
|
+
get: function () {
|
65
|
+
return this['objcet_type'];
|
66
|
+
},
|
67
|
+
set: function (objcetType) {
|
68
|
+
this['objcet_type'] = objcetType;
|
69
|
+
},
|
70
|
+
enumerable: false,
|
71
|
+
configurable: true
|
72
|
+
});
|
73
|
+
ListExternalVaultRequest.prototype.withCloudType = function (cloudType) {
|
74
|
+
this['cloud_type'] = cloudType;
|
75
|
+
return this;
|
76
|
+
};
|
77
|
+
Object.defineProperty(ListExternalVaultRequest.prototype, "cloudType", {
|
78
|
+
get: function () {
|
79
|
+
return this['cloud_type'];
|
80
|
+
},
|
81
|
+
set: function (cloudType) {
|
82
|
+
this['cloud_type'] = cloudType;
|
83
|
+
},
|
84
|
+
enumerable: false,
|
85
|
+
configurable: true
|
86
|
+
});
|
87
|
+
ListExternalVaultRequest.prototype.withVaultId = function (vaultId) {
|
88
|
+
this['vault_id'] = vaultId;
|
89
|
+
return this;
|
90
|
+
};
|
91
|
+
Object.defineProperty(ListExternalVaultRequest.prototype, "vaultId", {
|
92
|
+
get: function () {
|
93
|
+
return this['vault_id'];
|
94
|
+
},
|
95
|
+
set: function (vaultId) {
|
96
|
+
this['vault_id'] = vaultId;
|
97
|
+
},
|
98
|
+
enumerable: false,
|
99
|
+
configurable: true
|
100
|
+
});
|
101
|
+
return ListExternalVaultRequest;
|
102
|
+
}());
|
103
|
+
exports.ListExternalVaultRequest = ListExternalVaultRequest;
|
104
|
+
/**
|
105
|
+
* @export
|
106
|
+
* @enum {string}
|
107
|
+
*/
|
108
|
+
var ListExternalVaultRequestProtectTypeEnum;
|
109
|
+
(function (ListExternalVaultRequestProtectTypeEnum) {
|
110
|
+
ListExternalVaultRequestProtectTypeEnum["BACKUPREPLICATIONHYBRID"] = "backup;replication;hybrid";
|
111
|
+
})(ListExternalVaultRequestProtectTypeEnum = exports.ListExternalVaultRequestProtectTypeEnum || (exports.ListExternalVaultRequestProtectTypeEnum = {}));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Vault } from './Vault';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListExternalVaultResponse extends SdkResponse {
|
4
|
+
vaults?: Array<Vault>;
|
5
|
+
count?: number;
|
6
|
+
limit?: number;
|
7
|
+
offset?: number;
|
8
|
+
constructor();
|
9
|
+
withVaults(vaults: Array<Vault>): ListExternalVaultResponse;
|
10
|
+
withCount(count: number): ListExternalVaultResponse;
|
11
|
+
withLimit(limit: number): ListExternalVaultResponse;
|
12
|
+
withOffset(offset: number): ListExternalVaultResponse;
|
13
|
+
}
|
@@ -0,0 +1,43 @@
|
|
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.ListExternalVaultResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListExternalVaultResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListExternalVaultResponse, _super);
|
22
|
+
function ListExternalVaultResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListExternalVaultResponse.prototype.withVaults = function (vaults) {
|
26
|
+
this['vaults'] = vaults;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
ListExternalVaultResponse.prototype.withCount = function (count) {
|
30
|
+
this['count'] = count;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
ListExternalVaultResponse.prototype.withLimit = function (limit) {
|
34
|
+
this['limit'] = limit;
|
35
|
+
return this;
|
36
|
+
};
|
37
|
+
ListExternalVaultResponse.prototype.withOffset = function (offset) {
|
38
|
+
this['offset'] = offset;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
return ListExternalVaultResponse;
|
42
|
+
}(SdkResponse_1.SdkResponse));
|
43
|
+
exports.ListExternalVaultResponse = ListExternalVaultResponse;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListProjectsRequest = void 0;
|
4
|
+
var ListProjectsRequest = /** @class */ (function () {
|
5
|
+
function ListProjectsRequest() {
|
6
|
+
}
|
7
|
+
return ListProjectsRequest;
|
8
|
+
}());
|
9
|
+
exports.ListProjectsRequest = ListProjectsRequest;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { ProjectsListInfo } from './ProjectsListInfo';
|
2
|
+
import { SelfLinksInfo } from './SelfLinksInfo';
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
export declare class ListProjectsResponse extends SdkResponse {
|
5
|
+
projects?: Array<ProjectsListInfo>;
|
6
|
+
links?: SelfLinksInfo;
|
7
|
+
constructor();
|
8
|
+
withProjects(projects: Array<ProjectsListInfo>): ListProjectsResponse;
|
9
|
+
withLinks(links: SelfLinksInfo): ListProjectsResponse;
|
10
|
+
}
|
@@ -0,0 +1,35 @@
|
|
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.ListProjectsResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListProjectsResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListProjectsResponse, _super);
|
22
|
+
function ListProjectsResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListProjectsResponse.prototype.withProjects = function (projects) {
|
26
|
+
this['projects'] = projects;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
ListProjectsResponse.prototype.withLinks = function (links) {
|
30
|
+
this['links'] = links;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
return ListProjectsResponse;
|
34
|
+
}(SdkResponse_1.SdkResponse));
|
35
|
+
exports.ListProjectsResponse = ListProjectsResponse;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MigrateDomainRequest = void 0;
|
4
|
+
var MigrateDomainRequest = /** @class */ (function () {
|
5
|
+
function MigrateDomainRequest() {
|
6
|
+
}
|
7
|
+
MigrateDomainRequest.prototype.withBody = function (body) {
|
8
|
+
this['body'] = body;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return MigrateDomainRequest;
|
12
|
+
}());
|
13
|
+
exports.MigrateDomainRequest = MigrateDomainRequest;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
|
+
export declare class MigrateDomainResponse extends SdkResponse {
|
3
|
+
body?: {
|
4
|
+
[key: string]: string;
|
5
|
+
};
|
6
|
+
constructor();
|
7
|
+
withBody(body: {
|
8
|
+
[key: string]: string;
|
9
|
+
}): MigrateDomainResponse;
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
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.MigrateDomainResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var MigrateDomainResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(MigrateDomainResponse, _super);
|
22
|
+
function MigrateDomainResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
MigrateDomainResponse.prototype.withBody = function (body) {
|
26
|
+
this['body'] = body;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return MigrateDomainResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.MigrateDomainResponse = MigrateDomainResponse;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { SelfLinksInfo } from './SelfLinksInfo';
|
2
|
+
export declare class ProjectsListInfo {
|
3
|
+
private 'domain_id'?;
|
4
|
+
private 'is_domain'?;
|
5
|
+
private 'parent_id'?;
|
6
|
+
name?: string;
|
7
|
+
description?: string;
|
8
|
+
id?: string;
|
9
|
+
enabled?: boolean;
|
10
|
+
links?: SelfLinksInfo;
|
11
|
+
constructor();
|
12
|
+
withDomainId(domainId: string): ProjectsListInfo;
|
13
|
+
set domainId(domainId: string | undefined);
|
14
|
+
get domainId(): string | undefined;
|
15
|
+
withIsDomain(isDomain: boolean): ProjectsListInfo;
|
16
|
+
set isDomain(isDomain: boolean | undefined);
|
17
|
+
get isDomain(): boolean | undefined;
|
18
|
+
withParentId(parentId: string): ProjectsListInfo;
|
19
|
+
set parentId(parentId: string | undefined);
|
20
|
+
get parentId(): string | undefined;
|
21
|
+
withName(name: string): ProjectsListInfo;
|
22
|
+
withDescription(description: string): ProjectsListInfo;
|
23
|
+
withId(id: string): ProjectsListInfo;
|
24
|
+
withEnabled(enabled: boolean): ProjectsListInfo;
|
25
|
+
withLinks(links: SelfLinksInfo): ProjectsListInfo;
|
26
|
+
}
|