@huaweicloud/huaweicloud-sdk-cbr 3.1.37 → 3.1.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. package/package.json +2 -2
  2. package/v1/CbrClient.d.ts +601 -0
  3. package/v1/CbrClient.js +1221 -10
  4. package/v1/CbrRegion.d.ts +1 -0
  5. package/v1/CbrRegion.js +3 -1
  6. package/v1/model/AddAgentPathRequest.d.ts +10 -0
  7. package/v1/model/AddAgentPathRequest.js +28 -0
  8. package/v1/model/AddAgentPathResponse.d.ts +8 -0
  9. package/v1/model/AddAgentPathResponse.js +35 -0
  10. package/v1/model/Agent.d.ts +48 -0
  11. package/v1/model/Agent.js +158 -0
  12. package/v1/model/AgentAddPathReq.d.ts +7 -0
  13. package/v1/model/AgentAddPathReq.js +24 -0
  14. package/v1/model/AgentRegister.d.ts +31 -0
  15. package/v1/model/AgentRegister.js +111 -0
  16. package/v1/model/AgentRegisterReq.d.ts +6 -0
  17. package/v1/model/AgentRegisterReq.js +14 -0
  18. package/v1/model/AgentRemovePathReq.d.ts +7 -0
  19. package/v1/model/AgentRemovePathReq.js +24 -0
  20. package/v1/model/AgentUpdate.d.ts +12 -0
  21. package/v1/model/AgentUpdate.js +22 -0
  22. package/v1/model/AgentUpdateReq.d.ts +6 -0
  23. package/v1/model/AgentUpdateReq.js +14 -0
  24. package/v1/model/BackupUpdate.d.ts +5 -0
  25. package/v1/model/BackupUpdate.js +13 -0
  26. package/v1/model/BackupUpdateReq.d.ts +6 -0
  27. package/v1/model/BackupUpdateReq.js +13 -0
  28. package/v1/model/BatchUpdateVaultRequest.d.ts +6 -0
  29. package/v1/model/BatchUpdateVaultRequest.js +13 -0
  30. package/v1/model/BatchUpdateVaultRequestBody.d.ts +6 -0
  31. package/v1/model/BatchUpdateVaultRequestBody.js +14 -0
  32. package/v1/model/BatchUpdateVaultResponse.d.ts +8 -0
  33. package/v1/model/BatchUpdateVaultResponse.js +41 -0
  34. package/v1/model/CbcProductInfoUpdate.d.ts +11 -0
  35. package/v1/model/CbcProductInfoUpdate.js +28 -0
  36. package/v1/model/CbcUpdate.d.ts +14 -0
  37. package/v1/model/CbcUpdate.js +37 -0
  38. package/v1/model/CheckAgentRequest.d.ts +6 -0
  39. package/v1/model/CheckAgentRequest.js +13 -0
  40. package/v1/model/CheckAgentResponse.d.ts +9 -0
  41. package/v1/model/CheckAgentResponse.js +41 -0
  42. package/v1/model/CombinedOrder.d.ts +15 -0
  43. package/v1/model/CombinedOrder.js +51 -0
  44. package/v1/model/CreatePostPaidVaultRequest.d.ts +6 -0
  45. package/v1/model/CreatePostPaidVaultRequest.js +13 -0
  46. package/v1/model/CreatePostPaidVaultResponse.d.ts +15 -0
  47. package/v1/model/CreatePostPaidVaultResponse.js +53 -0
  48. package/v1/model/DomainMigrate.d.ts +9 -0
  49. package/v1/model/DomainMigrate.js +29 -0
  50. package/v1/model/DomainMigrateProjectStatus.d.ts +36 -0
  51. package/v1/model/DomainMigrateProjectStatus.js +100 -0
  52. package/v1/model/DomainProjectsInfo.d.ts +11 -0
  53. package/v1/model/DomainProjectsInfo.js +39 -0
  54. package/v1/model/ImportCheckpointRequest.d.ts +6 -0
  55. package/v1/model/ImportCheckpointRequest.js +13 -0
  56. package/v1/model/ImportCheckpointResponse.d.ts +7 -0
  57. package/v1/model/ImportCheckpointResponse.js +31 -0
  58. package/v1/model/ListAgentRequest.d.ts +13 -0
  59. package/v1/model/ListAgentRequest.js +35 -0
  60. package/v1/model/ListAgentResponse.d.ts +13 -0
  61. package/v1/model/ListAgentResponse.js +43 -0
  62. package/v1/model/ListDomainProjectsRequest.d.ts +7 -0
  63. package/v1/model/ListDomainProjectsRequest.js +24 -0
  64. package/v1/model/ListDomainProjectsResponse.d.ts +7 -0
  65. package/v1/model/ListDomainProjectsResponse.js +31 -0
  66. package/v1/model/ListExternalVaultRequest.d.ts +38 -0
  67. package/v1/model/ListExternalVaultRequest.js +111 -0
  68. package/v1/model/ListExternalVaultResponse.d.ts +13 -0
  69. package/v1/model/ListExternalVaultResponse.js +43 -0
  70. package/v1/model/ListProjectsRequest.d.ts +3 -0
  71. package/v1/model/ListProjectsRequest.js +9 -0
  72. package/v1/model/ListProjectsResponse.d.ts +10 -0
  73. package/v1/model/ListProjectsResponse.js +35 -0
  74. package/v1/model/MigrateDomainRequest.d.ts +6 -0
  75. package/v1/model/MigrateDomainRequest.js +13 -0
  76. package/v1/model/MigrateDomainResponse.d.ts +10 -0
  77. package/v1/model/MigrateDomainResponse.js +31 -0
  78. package/v1/model/Path.d.ts +15 -0
  79. package/v1/model/Path.js +45 -0
  80. package/v1/model/ProjectsListInfo.d.ts +26 -0
  81. package/v1/model/ProjectsListInfo.js +71 -0
  82. package/v1/model/ProtectableAgentReq.d.ts +8 -0
  83. package/v1/model/ProtectableAgentReq.js +24 -0
  84. package/v1/model/ProtectableAgentStatus.d.ts +19 -0
  85. package/v1/model/ProtectableAgentStatus.js +53 -0
  86. package/v1/model/ProtectableAgentStatusResource.d.ts +15 -0
  87. package/v1/model/ProtectableAgentStatusResource.js +53 -0
  88. package/v1/model/RegisterAgentRequest.d.ts +6 -0
  89. package/v1/model/RegisterAgentRequest.js +13 -0
  90. package/v1/model/RegisterAgentResponse.d.ts +7 -0
  91. package/v1/model/RegisterAgentResponse.js +31 -0
  92. package/v1/model/RemoveAgentPathRequest.d.ts +10 -0
  93. package/v1/model/RemoveAgentPathRequest.js +28 -0
  94. package/v1/model/RemoveAgentPathResponse.d.ts +10 -0
  95. package/v1/model/RemoveAgentPathResponse.js +45 -0
  96. package/v1/model/SelfLinksInfo.d.ts +5 -0
  97. package/v1/model/SelfLinksInfo.js +13 -0
  98. package/v1/model/SetVaultResourceRequest.d.ts +10 -0
  99. package/v1/model/SetVaultResourceRequest.js +28 -0
  100. package/v1/model/SetVaultResourceResponse.d.ts +8 -0
  101. package/v1/model/SetVaultResourceResponse.js +41 -0
  102. package/v1/model/ShowAgentRequest.d.ts +7 -0
  103. package/v1/model/ShowAgentRequest.js +24 -0
  104. package/v1/model/ShowAgentResponse.d.ts +7 -0
  105. package/v1/model/ShowAgentResponse.js +31 -0
  106. package/v1/model/ShowDomainRequest.d.ts +7 -0
  107. package/v1/model/ShowDomainRequest.js +24 -0
  108. package/v1/model/ShowDomainResponse.d.ts +20 -0
  109. package/v1/model/ShowDomainResponse.js +83 -0
  110. package/v1/model/ShowMetadataRequest.d.ts +7 -0
  111. package/v1/model/ShowMetadataRequest.js +24 -0
  112. package/v1/model/ShowMetadataResponse.d.ts +24 -0
  113. package/v1/model/ShowMetadataResponse.js +79 -0
  114. package/v1/model/ShowMigrateStatusRequest.d.ts +7 -0
  115. package/v1/model/ShowMigrateStatusRequest.js +23 -0
  116. package/v1/model/ShowMigrateStatusResponse.d.ts +20 -0
  117. package/v1/model/ShowMigrateStatusResponse.js +55 -0
  118. package/v1/model/ShowStorageUsageRequest.d.ts +23 -0
  119. package/v1/model/ShowStorageUsageRequest.js +54 -0
  120. package/v1/model/ShowStorageUsageResponse.d.ts +13 -0
  121. package/v1/model/ShowStorageUsageResponse.js +55 -0
  122. package/v1/model/StorageUsage.d.ts +27 -0
  123. package/v1/model/StorageUsage.js +96 -0
  124. package/v1/model/SyncParam.d.ts +11 -0
  125. package/v1/model/SyncParam.js +39 -0
  126. package/v1/model/SyncReq.d.ts +6 -0
  127. package/v1/model/SyncReq.js +14 -0
  128. package/v1/model/SyncRespBody.d.ts +11 -0
  129. package/v1/model/SyncRespBody.js +39 -0
  130. package/v1/model/UnregisterAgentRequest.d.ts +7 -0
  131. package/v1/model/UnregisterAgentRequest.js +24 -0
  132. package/v1/model/UnregisterAgentResponse.d.ts +4 -0
  133. package/v1/model/UnregisterAgentResponse.js +27 -0
  134. package/v1/model/UpdateAgentRequest.d.ts +10 -0
  135. package/v1/model/UpdateAgentRequest.js +28 -0
  136. package/v1/model/UpdateAgentResponse.d.ts +7 -0
  137. package/v1/model/UpdateAgentResponse.js +31 -0
  138. package/v1/model/UpdateBackupRequest.d.ts +10 -0
  139. package/v1/model/UpdateBackupRequest.js +28 -0
  140. package/v1/model/UpdateBackupResponse.d.ts +7 -0
  141. package/v1/model/UpdateBackupResponse.js +31 -0
  142. package/v1/model/UpdateOrderRequest.d.ts +10 -0
  143. package/v1/model/UpdateOrderRequest.js +28 -0
  144. package/v1/model/UpdateOrderResponse.d.ts +4 -0
  145. package/v1/model/UpdateOrderResponse.js +27 -0
  146. package/v1/model/VaultBatchUpdate.d.ts +9 -0
  147. package/v1/model/VaultBatchUpdate.js +27 -0
  148. package/v1/model/VaultCreate.d.ts +14 -0
  149. package/v1/model/VaultCreate.js +46 -0
  150. package/v1/model/VaultCreateParameters.d.ts +8 -0
  151. package/v1/model/VaultCreateParameters.js +23 -0
  152. package/v1/model/VaultCreateResource.d.ts +14 -0
  153. package/v1/model/VaultCreateResource.js +46 -0
  154. package/v1/model/VaultOrder.d.ts +46 -0
  155. package/v1/model/VaultOrder.js +123 -0
  156. package/v1/model/VaultOrderCreateReqs.d.ts +6 -0
  157. package/v1/model/VaultOrderCreateReqs.js +14 -0
  158. package/v1/model/VaultSetResourceReq.d.ts +17 -0
  159. package/v1/model/VaultSetResourceReq.js +38 -0
  160. package/v1/public-api.d.ts +75 -0
  161. package/v1/public-api.js +75 -0
@@ -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,6 @@
1
+ import { VaultBatchUpdate } from './VaultBatchUpdate';
2
+ export declare class BatchUpdateVaultRequestBody {
3
+ vault: VaultBatchUpdate;
4
+ constructor(vault?: any);
5
+ withVault(vault: VaultBatchUpdate): BatchUpdateVaultRequestBody;
6
+ }
@@ -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,6 @@
1
+ import { ProtectableAgentReq } from './ProtectableAgentReq';
2
+ export declare class CheckAgentRequest {
3
+ body?: ProtectableAgentReq;
4
+ constructor();
5
+ withBody(body: ProtectableAgentReq): CheckAgentRequest;
6
+ }
@@ -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,6 @@
1
+ import { VaultOrderCreateReqs } from './VaultOrderCreateReqs';
2
+ export declare class CreatePostPaidVaultRequest {
3
+ body?: VaultOrderCreateReqs;
4
+ constructor();
5
+ withBody(body: VaultOrderCreateReqs): CreatePostPaidVaultRequest;
6
+ }
@@ -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
+ }
@@ -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,6 @@
1
+ import { SyncReq } from './SyncReq';
2
+ export declare class ImportCheckpointRequest {
3
+ body?: SyncReq;
4
+ constructor();
5
+ withBody(body: SyncReq): ImportCheckpointRequest;
6
+ }