@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,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ShowMigrateStatusRequest = void 0;
|
4
|
+
var ShowMigrateStatusRequest = /** @class */ (function () {
|
5
|
+
function ShowMigrateStatusRequest() {
|
6
|
+
}
|
7
|
+
ShowMigrateStatusRequest.prototype.withAllRegions = function (allRegions) {
|
8
|
+
this['all_regions'] = allRegions;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(ShowMigrateStatusRequest.prototype, "allRegions", {
|
12
|
+
get: function () {
|
13
|
+
return this['all_regions'];
|
14
|
+
},
|
15
|
+
set: function (allRegions) {
|
16
|
+
this['all_regions'] = allRegions;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
return ShowMigrateStatusRequest;
|
22
|
+
}());
|
23
|
+
exports.ShowMigrateStatusRequest = ShowMigrateStatusRequest;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { DomainMigrateProjectStatus } from './DomainMigrateProjectStatus';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ShowMigrateStatusResponse extends SdkResponse {
|
4
|
+
status?: ShowMigrateStatusResponseStatusEnum;
|
5
|
+
private 'project_status'?;
|
6
|
+
constructor();
|
7
|
+
withStatus(status: ShowMigrateStatusResponseStatusEnum): ShowMigrateStatusResponse;
|
8
|
+
withProjectStatus(projectStatus: Array<DomainMigrateProjectStatus>): ShowMigrateStatusResponse;
|
9
|
+
set projectStatus(projectStatus: Array<DomainMigrateProjectStatus> | undefined);
|
10
|
+
get projectStatus(): Array<DomainMigrateProjectStatus> | undefined;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* @export
|
14
|
+
* @enum {string}
|
15
|
+
*/
|
16
|
+
export declare enum ShowMigrateStatusResponseStatusEnum {
|
17
|
+
SUCCESS = "success",
|
18
|
+
FAILED = "failed",
|
19
|
+
MIGRATING = "migrating"
|
20
|
+
}
|
@@ -0,0 +1,55 @@
|
|
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.ShowMigrateStatusResponseStatusEnum = exports.ShowMigrateStatusResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ShowMigrateStatusResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ShowMigrateStatusResponse, _super);
|
22
|
+
function ShowMigrateStatusResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ShowMigrateStatusResponse.prototype.withStatus = function (status) {
|
26
|
+
this['status'] = status;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
ShowMigrateStatusResponse.prototype.withProjectStatus = function (projectStatus) {
|
30
|
+
this['project_status'] = projectStatus;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
Object.defineProperty(ShowMigrateStatusResponse.prototype, "projectStatus", {
|
34
|
+
get: function () {
|
35
|
+
return this['project_status'];
|
36
|
+
},
|
37
|
+
set: function (projectStatus) {
|
38
|
+
this['project_status'] = projectStatus;
|
39
|
+
},
|
40
|
+
enumerable: false,
|
41
|
+
configurable: true
|
42
|
+
});
|
43
|
+
return ShowMigrateStatusResponse;
|
44
|
+
}(SdkResponse_1.SdkResponse));
|
45
|
+
exports.ShowMigrateStatusResponse = ShowMigrateStatusResponse;
|
46
|
+
/**
|
47
|
+
* @export
|
48
|
+
* @enum {string}
|
49
|
+
*/
|
50
|
+
var ShowMigrateStatusResponseStatusEnum;
|
51
|
+
(function (ShowMigrateStatusResponseStatusEnum) {
|
52
|
+
ShowMigrateStatusResponseStatusEnum["SUCCESS"] = "success";
|
53
|
+
ShowMigrateStatusResponseStatusEnum["FAILED"] = "failed";
|
54
|
+
ShowMigrateStatusResponseStatusEnum["MIGRATING"] = "migrating";
|
55
|
+
})(ShowMigrateStatusResponseStatusEnum = exports.ShowMigrateStatusResponseStatusEnum || (exports.ShowMigrateStatusResponseStatusEnum = {}));
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export declare class ShowStorageUsageRequest {
|
2
|
+
limit?: number;
|
3
|
+
offset?: number;
|
4
|
+
private 'resource_id'?;
|
5
|
+
private 'resource_type'?;
|
6
|
+
constructor();
|
7
|
+
withLimit(limit: number): ShowStorageUsageRequest;
|
8
|
+
withOffset(offset: number): ShowStorageUsageRequest;
|
9
|
+
withResourceId(resourceId: string): ShowStorageUsageRequest;
|
10
|
+
set resourceId(resourceId: string | undefined);
|
11
|
+
get resourceId(): string | undefined;
|
12
|
+
withResourceType(resourceType: ShowStorageUsageRequestResourceTypeEnum): ShowStorageUsageRequest;
|
13
|
+
set resourceType(resourceType: ShowStorageUsageRequestResourceTypeEnum | undefined);
|
14
|
+
get resourceType(): ShowStorageUsageRequestResourceTypeEnum | undefined;
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* @export
|
18
|
+
* @enum {string}
|
19
|
+
*/
|
20
|
+
export declare enum ShowStorageUsageRequestResourceTypeEnum {
|
21
|
+
OSNOVASERVER = "OS::Nova::Server",
|
22
|
+
OSIRONICBAREMETALSERVER = "OS::Ironic::BareMetalServer"
|
23
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ShowStorageUsageRequestResourceTypeEnum = exports.ShowStorageUsageRequest = void 0;
|
4
|
+
var ShowStorageUsageRequest = /** @class */ (function () {
|
5
|
+
function ShowStorageUsageRequest() {
|
6
|
+
}
|
7
|
+
ShowStorageUsageRequest.prototype.withLimit = function (limit) {
|
8
|
+
this['limit'] = limit;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
ShowStorageUsageRequest.prototype.withOffset = function (offset) {
|
12
|
+
this['offset'] = offset;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
ShowStorageUsageRequest.prototype.withResourceId = function (resourceId) {
|
16
|
+
this['resource_id'] = resourceId;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
Object.defineProperty(ShowStorageUsageRequest.prototype, "resourceId", {
|
20
|
+
get: function () {
|
21
|
+
return this['resource_id'];
|
22
|
+
},
|
23
|
+
set: function (resourceId) {
|
24
|
+
this['resource_id'] = resourceId;
|
25
|
+
},
|
26
|
+
enumerable: false,
|
27
|
+
configurable: true
|
28
|
+
});
|
29
|
+
ShowStorageUsageRequest.prototype.withResourceType = function (resourceType) {
|
30
|
+
this['resource_type'] = resourceType;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
Object.defineProperty(ShowStorageUsageRequest.prototype, "resourceType", {
|
34
|
+
get: function () {
|
35
|
+
return this['resource_type'];
|
36
|
+
},
|
37
|
+
set: function (resourceType) {
|
38
|
+
this['resource_type'] = resourceType;
|
39
|
+
},
|
40
|
+
enumerable: false,
|
41
|
+
configurable: true
|
42
|
+
});
|
43
|
+
return ShowStorageUsageRequest;
|
44
|
+
}());
|
45
|
+
exports.ShowStorageUsageRequest = ShowStorageUsageRequest;
|
46
|
+
/**
|
47
|
+
* @export
|
48
|
+
* @enum {string}
|
49
|
+
*/
|
50
|
+
var ShowStorageUsageRequestResourceTypeEnum;
|
51
|
+
(function (ShowStorageUsageRequestResourceTypeEnum) {
|
52
|
+
ShowStorageUsageRequestResourceTypeEnum["OSNOVASERVER"] = "OS::Nova::Server";
|
53
|
+
ShowStorageUsageRequestResourceTypeEnum["OSIRONICBAREMETALSERVER"] = "OS::Ironic::BareMetalServer";
|
54
|
+
})(ShowStorageUsageRequestResourceTypeEnum = exports.ShowStorageUsageRequestResourceTypeEnum || (exports.ShowStorageUsageRequestResourceTypeEnum = {}));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { StorageUsage } from './StorageUsage';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ShowStorageUsageResponse extends SdkResponse {
|
4
|
+
private 'resource_count'?;
|
5
|
+
private 'storage_usage'?;
|
6
|
+
constructor();
|
7
|
+
withResourceCount(resourceCount: number): ShowStorageUsageResponse;
|
8
|
+
set resourceCount(resourceCount: number | undefined);
|
9
|
+
get resourceCount(): number | undefined;
|
10
|
+
withStorageUsage(storageUsage: Array<StorageUsage>): ShowStorageUsageResponse;
|
11
|
+
set storageUsage(storageUsage: Array<StorageUsage> | undefined);
|
12
|
+
get storageUsage(): Array<StorageUsage> | undefined;
|
13
|
+
}
|
@@ -0,0 +1,55 @@
|
|
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.ShowStorageUsageResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ShowStorageUsageResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ShowStorageUsageResponse, _super);
|
22
|
+
function ShowStorageUsageResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ShowStorageUsageResponse.prototype.withResourceCount = function (resourceCount) {
|
26
|
+
this['resource_count'] = resourceCount;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(ShowStorageUsageResponse.prototype, "resourceCount", {
|
30
|
+
get: function () {
|
31
|
+
return this['resource_count'];
|
32
|
+
},
|
33
|
+
set: function (resourceCount) {
|
34
|
+
this['resource_count'] = resourceCount;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
ShowStorageUsageResponse.prototype.withStorageUsage = function (storageUsage) {
|
40
|
+
this['storage_usage'] = storageUsage;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Object.defineProperty(ShowStorageUsageResponse.prototype, "storageUsage", {
|
44
|
+
get: function () {
|
45
|
+
return this['storage_usage'];
|
46
|
+
},
|
47
|
+
set: function (storageUsage) {
|
48
|
+
this['storage_usage'] = storageUsage;
|
49
|
+
},
|
50
|
+
enumerable: false,
|
51
|
+
configurable: true
|
52
|
+
});
|
53
|
+
return ShowStorageUsageResponse;
|
54
|
+
}(SdkResponse_1.SdkResponse));
|
55
|
+
exports.ShowStorageUsageResponse = ShowStorageUsageResponse;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
export declare class StorageUsage {
|
2
|
+
private 'backup_count'?;
|
3
|
+
private 'backup_size'?;
|
4
|
+
private 'resource_id';
|
5
|
+
private 'resource_name';
|
6
|
+
private 'resource_type';
|
7
|
+
private 'backup_size_multiaz'?;
|
8
|
+
constructor(resourceId?: any, resourceName?: any, resourceType?: any);
|
9
|
+
withBackupCount(backupCount: number): StorageUsage;
|
10
|
+
set backupCount(backupCount: number | undefined);
|
11
|
+
get backupCount(): number | undefined;
|
12
|
+
withBackupSize(backupSize: number): StorageUsage;
|
13
|
+
set backupSize(backupSize: number | undefined);
|
14
|
+
get backupSize(): number | undefined;
|
15
|
+
withResourceId(resourceId: string): StorageUsage;
|
16
|
+
set resourceId(resourceId: string | undefined);
|
17
|
+
get resourceId(): string | undefined;
|
18
|
+
withResourceName(resourceName: string): StorageUsage;
|
19
|
+
set resourceName(resourceName: string | undefined);
|
20
|
+
get resourceName(): string | undefined;
|
21
|
+
withResourceType(resourceType: string): StorageUsage;
|
22
|
+
set resourceType(resourceType: string | undefined);
|
23
|
+
get resourceType(): string | undefined;
|
24
|
+
withBackupSizeMultiaz(backupSizeMultiaz: number): StorageUsage;
|
25
|
+
set backupSizeMultiaz(backupSizeMultiaz: number | undefined);
|
26
|
+
get backupSizeMultiaz(): number | undefined;
|
27
|
+
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.StorageUsage = void 0;
|
4
|
+
var StorageUsage = /** @class */ (function () {
|
5
|
+
function StorageUsage(resourceId, resourceName, resourceType) {
|
6
|
+
this['resource_id'] = resourceId;
|
7
|
+
this['resource_name'] = resourceName;
|
8
|
+
this['resource_type'] = resourceType;
|
9
|
+
}
|
10
|
+
StorageUsage.prototype.withBackupCount = function (backupCount) {
|
11
|
+
this['backup_count'] = backupCount;
|
12
|
+
return this;
|
13
|
+
};
|
14
|
+
Object.defineProperty(StorageUsage.prototype, "backupCount", {
|
15
|
+
get: function () {
|
16
|
+
return this['backup_count'];
|
17
|
+
},
|
18
|
+
set: function (backupCount) {
|
19
|
+
this['backup_count'] = backupCount;
|
20
|
+
},
|
21
|
+
enumerable: false,
|
22
|
+
configurable: true
|
23
|
+
});
|
24
|
+
StorageUsage.prototype.withBackupSize = function (backupSize) {
|
25
|
+
this['backup_size'] = backupSize;
|
26
|
+
return this;
|
27
|
+
};
|
28
|
+
Object.defineProperty(StorageUsage.prototype, "backupSize", {
|
29
|
+
get: function () {
|
30
|
+
return this['backup_size'];
|
31
|
+
},
|
32
|
+
set: function (backupSize) {
|
33
|
+
this['backup_size'] = backupSize;
|
34
|
+
},
|
35
|
+
enumerable: false,
|
36
|
+
configurable: true
|
37
|
+
});
|
38
|
+
StorageUsage.prototype.withResourceId = function (resourceId) {
|
39
|
+
this['resource_id'] = resourceId;
|
40
|
+
return this;
|
41
|
+
};
|
42
|
+
Object.defineProperty(StorageUsage.prototype, "resourceId", {
|
43
|
+
get: function () {
|
44
|
+
return this['resource_id'];
|
45
|
+
},
|
46
|
+
set: function (resourceId) {
|
47
|
+
this['resource_id'] = resourceId;
|
48
|
+
},
|
49
|
+
enumerable: false,
|
50
|
+
configurable: true
|
51
|
+
});
|
52
|
+
StorageUsage.prototype.withResourceName = function (resourceName) {
|
53
|
+
this['resource_name'] = resourceName;
|
54
|
+
return this;
|
55
|
+
};
|
56
|
+
Object.defineProperty(StorageUsage.prototype, "resourceName", {
|
57
|
+
get: function () {
|
58
|
+
return this['resource_name'];
|
59
|
+
},
|
60
|
+
set: function (resourceName) {
|
61
|
+
this['resource_name'] = resourceName;
|
62
|
+
},
|
63
|
+
enumerable: false,
|
64
|
+
configurable: true
|
65
|
+
});
|
66
|
+
StorageUsage.prototype.withResourceType = function (resourceType) {
|
67
|
+
this['resource_type'] = resourceType;
|
68
|
+
return this;
|
69
|
+
};
|
70
|
+
Object.defineProperty(StorageUsage.prototype, "resourceType", {
|
71
|
+
get: function () {
|
72
|
+
return this['resource_type'];
|
73
|
+
},
|
74
|
+
set: function (resourceType) {
|
75
|
+
this['resource_type'] = resourceType;
|
76
|
+
},
|
77
|
+
enumerable: false,
|
78
|
+
configurable: true
|
79
|
+
});
|
80
|
+
StorageUsage.prototype.withBackupSizeMultiaz = function (backupSizeMultiaz) {
|
81
|
+
this['backup_size_multiaz'] = backupSizeMultiaz;
|
82
|
+
return this;
|
83
|
+
};
|
84
|
+
Object.defineProperty(StorageUsage.prototype, "backupSizeMultiaz", {
|
85
|
+
get: function () {
|
86
|
+
return this['backup_size_multiaz'];
|
87
|
+
},
|
88
|
+
set: function (backupSizeMultiaz) {
|
89
|
+
this['backup_size_multiaz'] = backupSizeMultiaz;
|
90
|
+
},
|
91
|
+
enumerable: false,
|
92
|
+
configurable: true
|
93
|
+
});
|
94
|
+
return StorageUsage;
|
95
|
+
}());
|
96
|
+
exports.StorageUsage = StorageUsage;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class SyncParam {
|
2
|
+
private 'auto_trigger';
|
3
|
+
private 'vault_id';
|
4
|
+
constructor(autoTrigger?: any, vaultId?: any);
|
5
|
+
withAutoTrigger(autoTrigger: boolean): SyncParam;
|
6
|
+
set autoTrigger(autoTrigger: boolean | undefined);
|
7
|
+
get autoTrigger(): boolean | undefined;
|
8
|
+
withVaultId(vaultId: string): SyncParam;
|
9
|
+
set vaultId(vaultId: string | undefined);
|
10
|
+
get vaultId(): string | undefined;
|
11
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SyncParam = void 0;
|
4
|
+
var SyncParam = /** @class */ (function () {
|
5
|
+
function SyncParam(autoTrigger, vaultId) {
|
6
|
+
this['auto_trigger'] = autoTrigger;
|
7
|
+
this['vault_id'] = vaultId;
|
8
|
+
}
|
9
|
+
SyncParam.prototype.withAutoTrigger = function (autoTrigger) {
|
10
|
+
this['auto_trigger'] = autoTrigger;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(SyncParam.prototype, "autoTrigger", {
|
14
|
+
get: function () {
|
15
|
+
return this['auto_trigger'];
|
16
|
+
},
|
17
|
+
set: function (autoTrigger) {
|
18
|
+
this['auto_trigger'] = autoTrigger;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
SyncParam.prototype.withVaultId = function (vaultId) {
|
24
|
+
this['vault_id'] = vaultId;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(SyncParam.prototype, "vaultId", {
|
28
|
+
get: function () {
|
29
|
+
return this['vault_id'];
|
30
|
+
},
|
31
|
+
set: function (vaultId) {
|
32
|
+
this['vault_id'] = vaultId;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
return SyncParam;
|
38
|
+
}());
|
39
|
+
exports.SyncParam = SyncParam;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SyncReq = void 0;
|
4
|
+
var SyncReq = /** @class */ (function () {
|
5
|
+
function SyncReq(sync) {
|
6
|
+
this['sync'] = sync;
|
7
|
+
}
|
8
|
+
SyncReq.prototype.withSync = function (sync) {
|
9
|
+
this['sync'] = sync;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return SyncReq;
|
13
|
+
}());
|
14
|
+
exports.SyncReq = SyncReq;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class SyncRespBody {
|
2
|
+
private 'operation_log_id';
|
3
|
+
private 'vault_id';
|
4
|
+
constructor(operationLogId?: any, vaultId?: any);
|
5
|
+
withOperationLogId(operationLogId: string): SyncRespBody;
|
6
|
+
set operationLogId(operationLogId: string | undefined);
|
7
|
+
get operationLogId(): string | undefined;
|
8
|
+
withVaultId(vaultId: string): SyncRespBody;
|
9
|
+
set vaultId(vaultId: string | undefined);
|
10
|
+
get vaultId(): string | undefined;
|
11
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SyncRespBody = void 0;
|
4
|
+
var SyncRespBody = /** @class */ (function () {
|
5
|
+
function SyncRespBody(operationLogId, vaultId) {
|
6
|
+
this['operation_log_id'] = operationLogId;
|
7
|
+
this['vault_id'] = vaultId;
|
8
|
+
}
|
9
|
+
SyncRespBody.prototype.withOperationLogId = function (operationLogId) {
|
10
|
+
this['operation_log_id'] = operationLogId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(SyncRespBody.prototype, "operationLogId", {
|
14
|
+
get: function () {
|
15
|
+
return this['operation_log_id'];
|
16
|
+
},
|
17
|
+
set: function (operationLogId) {
|
18
|
+
this['operation_log_id'] = operationLogId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
SyncRespBody.prototype.withVaultId = function (vaultId) {
|
24
|
+
this['vault_id'] = vaultId;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(SyncRespBody.prototype, "vaultId", {
|
28
|
+
get: function () {
|
29
|
+
return this['vault_id'];
|
30
|
+
},
|
31
|
+
set: function (vaultId) {
|
32
|
+
this['vault_id'] = vaultId;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
return SyncRespBody;
|
38
|
+
}());
|
39
|
+
exports.SyncRespBody = SyncRespBody;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { BackupUpdateReq } from './BackupUpdateReq';
|
2
|
+
export declare class UpdateBackupRequest {
|
3
|
+
private 'backup_id';
|
4
|
+
body?: BackupUpdateReq;
|
5
|
+
constructor(backupId?: any);
|
6
|
+
withBackupId(backupId: string): UpdateBackupRequest;
|
7
|
+
set backupId(backupId: string | undefined);
|
8
|
+
get backupId(): string | undefined;
|
9
|
+
withBody(body: BackupUpdateReq): UpdateBackupRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateBackupRequest = void 0;
|
4
|
+
var UpdateBackupRequest = /** @class */ (function () {
|
5
|
+
function UpdateBackupRequest(backupId) {
|
6
|
+
this['backup_id'] = backupId;
|
7
|
+
}
|
8
|
+
UpdateBackupRequest.prototype.withBackupId = function (backupId) {
|
9
|
+
this['backup_id'] = backupId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(UpdateBackupRequest.prototype, "backupId", {
|
13
|
+
get: function () {
|
14
|
+
return this['backup_id'];
|
15
|
+
},
|
16
|
+
set: function (backupId) {
|
17
|
+
this['backup_id'] = backupId;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
UpdateBackupRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return UpdateBackupRequest;
|
27
|
+
}());
|
28
|
+
exports.UpdateBackupRequest = UpdateBackupRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { BackupResp } from './BackupResp';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class UpdateBackupResponse extends SdkResponse {
|
4
|
+
backup?: BackupResp;
|
5
|
+
constructor();
|
6
|
+
withBackup(backup: BackupResp): UpdateBackupResponse;
|
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.UpdateBackupResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var UpdateBackupResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(UpdateBackupResponse, _super);
|
22
|
+
function UpdateBackupResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
UpdateBackupResponse.prototype.withBackup = function (backup) {
|
26
|
+
this['backup'] = backup;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return UpdateBackupResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.UpdateBackupResponse = UpdateBackupResponse;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { CbcUpdate } from './CbcUpdate';
|
2
|
+
export declare class UpdateOrderRequest {
|
3
|
+
private 'order_id';
|
4
|
+
body?: CbcUpdate;
|
5
|
+
constructor(orderId?: any);
|
6
|
+
withOrderId(orderId: string): UpdateOrderRequest;
|
7
|
+
set orderId(orderId: string | undefined);
|
8
|
+
get orderId(): string | undefined;
|
9
|
+
withBody(body: CbcUpdate): UpdateOrderRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateOrderRequest = void 0;
|
4
|
+
var UpdateOrderRequest = /** @class */ (function () {
|
5
|
+
function UpdateOrderRequest(orderId) {
|
6
|
+
this['order_id'] = orderId;
|
7
|
+
}
|
8
|
+
UpdateOrderRequest.prototype.withOrderId = function (orderId) {
|
9
|
+
this['order_id'] = orderId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(UpdateOrderRequest.prototype, "orderId", {
|
13
|
+
get: function () {
|
14
|
+
return this['order_id'];
|
15
|
+
},
|
16
|
+
set: function (orderId) {
|
17
|
+
this['order_id'] = orderId;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
UpdateOrderRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return UpdateOrderRequest;
|
27
|
+
}());
|
28
|
+
exports.UpdateOrderRequest = UpdateOrderRequest;
|
@@ -0,0 +1,27 @@
|
|
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.UpdateOrderResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var UpdateOrderResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(UpdateOrderResponse, _super);
|
22
|
+
function UpdateOrderResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
return UpdateOrderResponse;
|
26
|
+
}(SdkResponse_1.SdkResponse));
|
27
|
+
exports.UpdateOrderResponse = UpdateOrderResponse;
|