@huaweicloud/huaweicloud-sdk-cbr 3.1.38 → 3.1.40
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 +433 -0
- package/v1/CbrClient.js +872 -18
- 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/ShowSummaryRequest.d.ts +3 -0
- package/v1/model/ShowSummaryRequest.js +9 -0
- package/v1/model/ShowSummaryResponse.d.ts +10 -0
- package/v1/model/ShowSummaryResponse.js +45 -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 +10 -0
- package/v1/model/UpdateOrderResponse.js +39 -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 +55 -0
- package/v1/public-api.js +55 -0
package/v1/CbrRegion.d.ts
CHANGED
package/v1/CbrRegion.js
CHANGED
@@ -34,6 +34,7 @@ var CbrRegion = exports.CbrRegion = /** @class */ (function () {
|
|
34
34
|
CbrRegion.CN_NORTH_9 = new region_1.Region("cn-north-9", ["https://cbr.cn-north-9.myhuaweicloud.com"]);
|
35
35
|
CbrRegion.CN_NORTH_2 = new region_1.Region("cn-north-2", ["https://cbr.cn-north-2.myhuaweicloud.com"]);
|
36
36
|
CbrRegion.AP_SOUTHEAST_4 = new region_1.Region("ap-southeast-4", ["https://cbr.ap-southeast-4.myhuaweicloud.com"]);
|
37
|
+
CbrRegion.TR_WEST_1 = new region_1.Region("tr-west-1", ["https://cbr.tr-west-1.myhuaweicloud.com"]);
|
37
38
|
CbrRegion.REGION_MAP = {
|
38
39
|
"cn-north-1": CbrRegion.CN_NORTH_1,
|
39
40
|
"cn-north-4": CbrRegion.CN_NORTH_4,
|
@@ -53,7 +54,8 @@ var CbrRegion = exports.CbrRegion = /** @class */ (function () {
|
|
53
54
|
"cn-south-2": CbrRegion.CN_SOUTH_2,
|
54
55
|
"cn-north-9": CbrRegion.CN_NORTH_9,
|
55
56
|
"cn-north-2": CbrRegion.CN_NORTH_2,
|
56
|
-
"ap-southeast-4": CbrRegion.AP_SOUTHEAST_4
|
57
|
+
"ap-southeast-4": CbrRegion.AP_SOUTHEAST_4,
|
58
|
+
"tr-west-1": CbrRegion.TR_WEST_1
|
57
59
|
};
|
58
60
|
return CbrRegion;
|
59
61
|
}());
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupUpdate = void 0;
|
4
|
+
var BackupUpdate = /** @class */ (function () {
|
5
|
+
function BackupUpdate() {
|
6
|
+
}
|
7
|
+
BackupUpdate.prototype.withName = function (name) {
|
8
|
+
this['name'] = name;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return BackupUpdate;
|
12
|
+
}());
|
13
|
+
exports.BackupUpdate = BackupUpdate;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupUpdateReq = void 0;
|
4
|
+
var BackupUpdateReq = /** @class */ (function () {
|
5
|
+
function BackupUpdateReq() {
|
6
|
+
}
|
7
|
+
BackupUpdateReq.prototype.withBackup = function (backup) {
|
8
|
+
this['backup'] = backup;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return BackupUpdateReq;
|
12
|
+
}());
|
13
|
+
exports.BackupUpdateReq = BackupUpdateReq;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BatchUpdateVaultRequest = void 0;
|
4
|
+
var BatchUpdateVaultRequest = /** @class */ (function () {
|
5
|
+
function BatchUpdateVaultRequest() {
|
6
|
+
}
|
7
|
+
BatchUpdateVaultRequest.prototype.withBody = function (body) {
|
8
|
+
this['body'] = body;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return BatchUpdateVaultRequest;
|
12
|
+
}());
|
13
|
+
exports.BatchUpdateVaultRequest = BatchUpdateVaultRequest;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BatchUpdateVaultRequestBody = void 0;
|
4
|
+
var BatchUpdateVaultRequestBody = /** @class */ (function () {
|
5
|
+
function BatchUpdateVaultRequestBody(vault) {
|
6
|
+
this['vault'] = vault;
|
7
|
+
}
|
8
|
+
BatchUpdateVaultRequestBody.prototype.withVault = function (vault) {
|
9
|
+
this['vault'] = vault;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return BatchUpdateVaultRequestBody;
|
13
|
+
}());
|
14
|
+
exports.BatchUpdateVaultRequestBody = BatchUpdateVaultRequestBody;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
|
+
export declare class BatchUpdateVaultResponse extends SdkResponse {
|
3
|
+
private 'updated_vaults_id'?;
|
4
|
+
constructor();
|
5
|
+
withUpdatedVaultsId(updatedVaultsId: Array<string>): BatchUpdateVaultResponse;
|
6
|
+
set updatedVaultsId(updatedVaultsId: Array<string> | undefined);
|
7
|
+
get updatedVaultsId(): Array<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.BatchUpdateVaultResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var BatchUpdateVaultResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(BatchUpdateVaultResponse, _super);
|
22
|
+
function BatchUpdateVaultResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
BatchUpdateVaultResponse.prototype.withUpdatedVaultsId = function (updatedVaultsId) {
|
26
|
+
this['updated_vaults_id'] = updatedVaultsId;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(BatchUpdateVaultResponse.prototype, "updatedVaultsId", {
|
30
|
+
get: function () {
|
31
|
+
return this['updated_vaults_id'];
|
32
|
+
},
|
33
|
+
set: function (updatedVaultsId) {
|
34
|
+
this['updated_vaults_id'] = updatedVaultsId;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
return BatchUpdateVaultResponse;
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
41
|
+
exports.BatchUpdateVaultResponse = BatchUpdateVaultResponse;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class CbcProductInfoUpdate {
|
2
|
+
productId: string;
|
3
|
+
resourceSize: number;
|
4
|
+
resourceSizeMeasureId?: number;
|
5
|
+
resourceSpecCode: string;
|
6
|
+
constructor(productId?: any, resourceSize?: any, resourceSpecCode?: any);
|
7
|
+
withProductId(productId: string): CbcProductInfoUpdate;
|
8
|
+
withResourceSize(resourceSize: number): CbcProductInfoUpdate;
|
9
|
+
withResourceSizeMeasureId(resourceSizeMeasureId: number): CbcProductInfoUpdate;
|
10
|
+
withResourceSpecCode(resourceSpecCode: string): CbcProductInfoUpdate;
|
11
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CbcProductInfoUpdate = void 0;
|
4
|
+
var CbcProductInfoUpdate = /** @class */ (function () {
|
5
|
+
function CbcProductInfoUpdate(productId, resourceSize, resourceSpecCode) {
|
6
|
+
this['productId'] = productId;
|
7
|
+
this['resourceSize'] = resourceSize;
|
8
|
+
this['resourceSpecCode'] = resourceSpecCode;
|
9
|
+
}
|
10
|
+
CbcProductInfoUpdate.prototype.withProductId = function (productId) {
|
11
|
+
this['productId'] = productId;
|
12
|
+
return this;
|
13
|
+
};
|
14
|
+
CbcProductInfoUpdate.prototype.withResourceSize = function (resourceSize) {
|
15
|
+
this['resourceSize'] = resourceSize;
|
16
|
+
return this;
|
17
|
+
};
|
18
|
+
CbcProductInfoUpdate.prototype.withResourceSizeMeasureId = function (resourceSizeMeasureId) {
|
19
|
+
this['resourceSizeMeasureId'] = resourceSizeMeasureId;
|
20
|
+
return this;
|
21
|
+
};
|
22
|
+
CbcProductInfoUpdate.prototype.withResourceSpecCode = function (resourceSpecCode) {
|
23
|
+
this['resourceSpecCode'] = resourceSpecCode;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return CbcProductInfoUpdate;
|
27
|
+
}());
|
28
|
+
exports.CbcProductInfoUpdate = CbcProductInfoUpdate;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { CbcProductInfoUpdate } from './CbcProductInfoUpdate';
|
2
|
+
export declare class CbcUpdate {
|
3
|
+
cloudServiceConsoleURL?: string;
|
4
|
+
productInfo: CbcProductInfoUpdate;
|
5
|
+
resourceId: string;
|
6
|
+
private 'promotion_info'?;
|
7
|
+
constructor(productInfo?: any, resourceId?: any);
|
8
|
+
withCloudServiceConsoleURL(cloudServiceConsoleURL: string): CbcUpdate;
|
9
|
+
withProductInfo(productInfo: CbcProductInfoUpdate): CbcUpdate;
|
10
|
+
withResourceId(resourceId: string): CbcUpdate;
|
11
|
+
withPromotionInfo(promotionInfo: string): CbcUpdate;
|
12
|
+
set promotionInfo(promotionInfo: string | undefined);
|
13
|
+
get promotionInfo(): string | undefined;
|
14
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CbcUpdate = void 0;
|
4
|
+
var CbcUpdate = /** @class */ (function () {
|
5
|
+
function CbcUpdate(productInfo, resourceId) {
|
6
|
+
this['productInfo'] = productInfo;
|
7
|
+
this['resourceId'] = resourceId;
|
8
|
+
}
|
9
|
+
CbcUpdate.prototype.withCloudServiceConsoleURL = function (cloudServiceConsoleURL) {
|
10
|
+
this['cloudServiceConsoleURL'] = cloudServiceConsoleURL;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
CbcUpdate.prototype.withProductInfo = function (productInfo) {
|
14
|
+
this['productInfo'] = productInfo;
|
15
|
+
return this;
|
16
|
+
};
|
17
|
+
CbcUpdate.prototype.withResourceId = function (resourceId) {
|
18
|
+
this['resourceId'] = resourceId;
|
19
|
+
return this;
|
20
|
+
};
|
21
|
+
CbcUpdate.prototype.withPromotionInfo = function (promotionInfo) {
|
22
|
+
this['promotion_info'] = promotionInfo;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(CbcUpdate.prototype, "promotionInfo", {
|
26
|
+
get: function () {
|
27
|
+
return this['promotion_info'];
|
28
|
+
},
|
29
|
+
set: function (promotionInfo) {
|
30
|
+
this['promotion_info'] = promotionInfo;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
return CbcUpdate;
|
36
|
+
}());
|
37
|
+
exports.CbcUpdate = CbcUpdate;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CheckAgentRequest = void 0;
|
4
|
+
var CheckAgentRequest = /** @class */ (function () {
|
5
|
+
function CheckAgentRequest() {
|
6
|
+
}
|
7
|
+
CheckAgentRequest.prototype.withBody = function (body) {
|
8
|
+
this['body'] = body;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return CheckAgentRequest;
|
12
|
+
}());
|
13
|
+
exports.CheckAgentRequest = CheckAgentRequest;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ProtectableAgentStatus } from './ProtectableAgentStatus';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class CheckAgentResponse extends SdkResponse {
|
4
|
+
private 'agent_status'?;
|
5
|
+
constructor();
|
6
|
+
withAgentStatus(agentStatus: Array<ProtectableAgentStatus>): CheckAgentResponse;
|
7
|
+
set agentStatus(agentStatus: Array<ProtectableAgentStatus> | undefined);
|
8
|
+
get agentStatus(): Array<ProtectableAgentStatus> | undefined;
|
9
|
+
}
|
@@ -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.CheckAgentResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var CheckAgentResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(CheckAgentResponse, _super);
|
22
|
+
function CheckAgentResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
CheckAgentResponse.prototype.withAgentStatus = function (agentStatus) {
|
26
|
+
this['agent_status'] = agentStatus;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(CheckAgentResponse.prototype, "agentStatus", {
|
30
|
+
get: function () {
|
31
|
+
return this['agent_status'];
|
32
|
+
},
|
33
|
+
set: function (agentStatus) {
|
34
|
+
this['agent_status'] = agentStatus;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
return CheckAgentResponse;
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
41
|
+
exports.CheckAgentResponse = CheckAgentResponse;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare class CombinedOrder {
|
2
|
+
private 'combined_order_id'?;
|
3
|
+
private 'combined_order_ecs_num'?;
|
4
|
+
private 'combined_order_num'?;
|
5
|
+
constructor();
|
6
|
+
withCombinedOrderId(combinedOrderId: string): CombinedOrder;
|
7
|
+
set combinedOrderId(combinedOrderId: string | undefined);
|
8
|
+
get combinedOrderId(): string | undefined;
|
9
|
+
withCombinedOrderEcsNum(combinedOrderEcsNum: number): CombinedOrder;
|
10
|
+
set combinedOrderEcsNum(combinedOrderEcsNum: number | undefined);
|
11
|
+
get combinedOrderEcsNum(): number | undefined;
|
12
|
+
withCombinedOrderNum(combinedOrderNum: number): CombinedOrder;
|
13
|
+
set combinedOrderNum(combinedOrderNum: number | undefined);
|
14
|
+
get combinedOrderNum(): number | undefined;
|
15
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CombinedOrder = void 0;
|
4
|
+
var CombinedOrder = /** @class */ (function () {
|
5
|
+
function CombinedOrder() {
|
6
|
+
}
|
7
|
+
CombinedOrder.prototype.withCombinedOrderId = function (combinedOrderId) {
|
8
|
+
this['combined_order_id'] = combinedOrderId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(CombinedOrder.prototype, "combinedOrderId", {
|
12
|
+
get: function () {
|
13
|
+
return this['combined_order_id'];
|
14
|
+
},
|
15
|
+
set: function (combinedOrderId) {
|
16
|
+
this['combined_order_id'] = combinedOrderId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
CombinedOrder.prototype.withCombinedOrderEcsNum = function (combinedOrderEcsNum) {
|
22
|
+
this['combined_order_ecs_num'] = combinedOrderEcsNum;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(CombinedOrder.prototype, "combinedOrderEcsNum", {
|
26
|
+
get: function () {
|
27
|
+
return this['combined_order_ecs_num'];
|
28
|
+
},
|
29
|
+
set: function (combinedOrderEcsNum) {
|
30
|
+
this['combined_order_ecs_num'] = combinedOrderEcsNum;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
CombinedOrder.prototype.withCombinedOrderNum = function (combinedOrderNum) {
|
36
|
+
this['combined_order_num'] = combinedOrderNum;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
Object.defineProperty(CombinedOrder.prototype, "combinedOrderNum", {
|
40
|
+
get: function () {
|
41
|
+
return this['combined_order_num'];
|
42
|
+
},
|
43
|
+
set: function (combinedOrderNum) {
|
44
|
+
this['combined_order_num'] = combinedOrderNum;
|
45
|
+
},
|
46
|
+
enumerable: false,
|
47
|
+
configurable: true
|
48
|
+
});
|
49
|
+
return CombinedOrder;
|
50
|
+
}());
|
51
|
+
exports.CombinedOrder = CombinedOrder;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreatePostPaidVaultRequest = void 0;
|
4
|
+
var CreatePostPaidVaultRequest = /** @class */ (function () {
|
5
|
+
function CreatePostPaidVaultRequest() {
|
6
|
+
}
|
7
|
+
CreatePostPaidVaultRequest.prototype.withBody = function (body) {
|
8
|
+
this['body'] = body;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return CreatePostPaidVaultRequest;
|
12
|
+
}());
|
13
|
+
exports.CreatePostPaidVaultRequest = CreatePostPaidVaultRequest;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { CbcOrderResult } from './CbcOrderResult';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class CreatePostPaidVaultResponse extends SdkResponse {
|
4
|
+
orders?: Array<CbcOrderResult>;
|
5
|
+
retCode?: number;
|
6
|
+
errText?: string;
|
7
|
+
private 'error_code'?;
|
8
|
+
constructor();
|
9
|
+
withOrders(orders: Array<CbcOrderResult>): CreatePostPaidVaultResponse;
|
10
|
+
withRetCode(retCode: number): CreatePostPaidVaultResponse;
|
11
|
+
withErrText(errText: string): CreatePostPaidVaultResponse;
|
12
|
+
withErrorCode(errorCode: string): CreatePostPaidVaultResponse;
|
13
|
+
set errorCode(errorCode: string | undefined);
|
14
|
+
get errorCode(): string | undefined;
|
15
|
+
}
|
@@ -0,0 +1,53 @@
|
|
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.CreatePostPaidVaultResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var CreatePostPaidVaultResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(CreatePostPaidVaultResponse, _super);
|
22
|
+
function CreatePostPaidVaultResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
CreatePostPaidVaultResponse.prototype.withOrders = function (orders) {
|
26
|
+
this['orders'] = orders;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
CreatePostPaidVaultResponse.prototype.withRetCode = function (retCode) {
|
30
|
+
this['retCode'] = retCode;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
CreatePostPaidVaultResponse.prototype.withErrText = function (errText) {
|
34
|
+
this['errText'] = errText;
|
35
|
+
return this;
|
36
|
+
};
|
37
|
+
CreatePostPaidVaultResponse.prototype.withErrorCode = function (errorCode) {
|
38
|
+
this['error_code'] = errorCode;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
Object.defineProperty(CreatePostPaidVaultResponse.prototype, "errorCode", {
|
42
|
+
get: function () {
|
43
|
+
return this['error_code'];
|
44
|
+
},
|
45
|
+
set: function (errorCode) {
|
46
|
+
this['error_code'] = errorCode;
|
47
|
+
},
|
48
|
+
enumerable: false,
|
49
|
+
configurable: true
|
50
|
+
});
|
51
|
+
return CreatePostPaidVaultResponse;
|
52
|
+
}(SdkResponse_1.SdkResponse));
|
53
|
+
exports.CreatePostPaidVaultResponse = CreatePostPaidVaultResponse;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare class DomainMigrate {
|
2
|
+
private 'all_regions';
|
3
|
+
reservation: number;
|
4
|
+
constructor(allRegions?: any, reservation?: any);
|
5
|
+
withAllRegions(allRegions: boolean): DomainMigrate;
|
6
|
+
set allRegions(allRegions: boolean | undefined);
|
7
|
+
get allRegions(): boolean | undefined;
|
8
|
+
withReservation(reservation: number): DomainMigrate;
|
9
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DomainMigrate = void 0;
|
4
|
+
var DomainMigrate = /** @class */ (function () {
|
5
|
+
function DomainMigrate(allRegions, reservation) {
|
6
|
+
this['all_regions'] = allRegions;
|
7
|
+
this['reservation'] = reservation;
|
8
|
+
}
|
9
|
+
DomainMigrate.prototype.withAllRegions = function (allRegions) {
|
10
|
+
this['all_regions'] = allRegions;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(DomainMigrate.prototype, "allRegions", {
|
14
|
+
get: function () {
|
15
|
+
return this['all_regions'];
|
16
|
+
},
|
17
|
+
set: function (allRegions) {
|
18
|
+
this['all_regions'] = allRegions;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
DomainMigrate.prototype.withReservation = function (reservation) {
|
24
|
+
this['reservation'] = reservation;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
return DomainMigrate;
|
28
|
+
}());
|
29
|
+
exports.DomainMigrate = DomainMigrate;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
export declare class DomainMigrateProjectStatus {
|
2
|
+
status: DomainMigrateProjectStatusStatusEnum;
|
3
|
+
private 'project_id';
|
4
|
+
private 'project_name';
|
5
|
+
private 'region_id'?;
|
6
|
+
progress?: number;
|
7
|
+
private 'fail_code'?;
|
8
|
+
private 'fail_reason'?;
|
9
|
+
constructor(status?: any, projectId?: any, projectName?: any);
|
10
|
+
withStatus(status: DomainMigrateProjectStatusStatusEnum): DomainMigrateProjectStatus;
|
11
|
+
withProjectId(projectId: string): DomainMigrateProjectStatus;
|
12
|
+
set projectId(projectId: string | undefined);
|
13
|
+
get projectId(): string | undefined;
|
14
|
+
withProjectName(projectName: string): DomainMigrateProjectStatus;
|
15
|
+
set projectName(projectName: string | undefined);
|
16
|
+
get projectName(): string | undefined;
|
17
|
+
withRegionId(regionId: string): DomainMigrateProjectStatus;
|
18
|
+
set regionId(regionId: string | undefined);
|
19
|
+
get regionId(): string | undefined;
|
20
|
+
withProgress(progress: number): DomainMigrateProjectStatus;
|
21
|
+
withFailCode(failCode: number): DomainMigrateProjectStatus;
|
22
|
+
set failCode(failCode: number | undefined);
|
23
|
+
get failCode(): number | undefined;
|
24
|
+
withFailReason(failReason: string): DomainMigrateProjectStatus;
|
25
|
+
set failReason(failReason: string | undefined);
|
26
|
+
get failReason(): string | undefined;
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* @export
|
30
|
+
* @enum {string}
|
31
|
+
*/
|
32
|
+
export declare enum DomainMigrateProjectStatusStatusEnum {
|
33
|
+
MIGRATING = "migrating",
|
34
|
+
SUCCESS = "success",
|
35
|
+
FAILED = "failed"
|
36
|
+
}
|