@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,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,7 @@
1
+ export declare class UnregisterAgentRequest {
2
+ private 'agent_id';
3
+ constructor(agentId?: any);
4
+ withAgentId(agentId: string): UnregisterAgentRequest;
5
+ set agentId(agentId: string | undefined);
6
+ get agentId(): string | undefined;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnregisterAgentRequest = void 0;
4
+ var UnregisterAgentRequest = /** @class */ (function () {
5
+ function UnregisterAgentRequest(agentId) {
6
+ this['agent_id'] = agentId;
7
+ }
8
+ UnregisterAgentRequest.prototype.withAgentId = function (agentId) {
9
+ this['agent_id'] = agentId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UnregisterAgentRequest.prototype, "agentId", {
13
+ get: function () {
14
+ return this['agent_id'];
15
+ },
16
+ set: function (agentId) {
17
+ this['agent_id'] = agentId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return UnregisterAgentRequest;
23
+ }());
24
+ exports.UnregisterAgentRequest = UnregisterAgentRequest;
@@ -0,0 +1,4 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class UnregisterAgentResponse extends SdkResponse {
3
+ constructor();
4
+ }
@@ -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.UnregisterAgentResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UnregisterAgentResponse = /** @class */ (function (_super) {
21
+ __extends(UnregisterAgentResponse, _super);
22
+ function UnregisterAgentResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ return UnregisterAgentResponse;
26
+ }(SdkResponse_1.SdkResponse));
27
+ exports.UnregisterAgentResponse = UnregisterAgentResponse;
@@ -0,0 +1,10 @@
1
+ import { AgentUpdateReq } from './AgentUpdateReq';
2
+ export declare class UpdateAgentRequest {
3
+ private 'agent_id';
4
+ body?: AgentUpdateReq;
5
+ constructor(agentId?: any);
6
+ withAgentId(agentId: string): UpdateAgentRequest;
7
+ set agentId(agentId: string | undefined);
8
+ get agentId(): string | undefined;
9
+ withBody(body: AgentUpdateReq): UpdateAgentRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateAgentRequest = void 0;
4
+ var UpdateAgentRequest = /** @class */ (function () {
5
+ function UpdateAgentRequest(agentId) {
6
+ this['agent_id'] = agentId;
7
+ }
8
+ UpdateAgentRequest.prototype.withAgentId = function (agentId) {
9
+ this['agent_id'] = agentId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateAgentRequest.prototype, "agentId", {
13
+ get: function () {
14
+ return this['agent_id'];
15
+ },
16
+ set: function (agentId) {
17
+ this['agent_id'] = agentId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ UpdateAgentRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return UpdateAgentRequest;
27
+ }());
28
+ exports.UpdateAgentRequest = UpdateAgentRequest;
@@ -0,0 +1,7 @@
1
+ import { Agent } from './Agent';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class UpdateAgentResponse extends SdkResponse {
4
+ agent?: Agent;
5
+ constructor();
6
+ withAgent(agent: Agent): UpdateAgentResponse;
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.UpdateAgentResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateAgentResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateAgentResponse, _super);
22
+ function UpdateAgentResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateAgentResponse.prototype.withAgent = function (agent) {
26
+ this['agent'] = agent;
27
+ return this;
28
+ };
29
+ return UpdateAgentResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.UpdateAgentResponse = UpdateAgentResponse;
@@ -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,4 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class UpdateOrderResponse extends SdkResponse {
3
+ constructor();
4
+ }
@@ -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;
@@ -0,0 +1,9 @@
1
+ export declare class VaultBatchUpdate {
2
+ private 'smn_notify'?;
3
+ threshold?: number;
4
+ constructor();
5
+ withSmnNotify(smnNotify: boolean): VaultBatchUpdate;
6
+ set smnNotify(smnNotify: boolean | undefined);
7
+ get smnNotify(): boolean | undefined;
8
+ withThreshold(threshold: number): VaultBatchUpdate;
9
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VaultBatchUpdate = void 0;
4
+ var VaultBatchUpdate = /** @class */ (function () {
5
+ function VaultBatchUpdate() {
6
+ }
7
+ VaultBatchUpdate.prototype.withSmnNotify = function (smnNotify) {
8
+ this['smn_notify'] = smnNotify;
9
+ return this;
10
+ };
11
+ Object.defineProperty(VaultBatchUpdate.prototype, "smnNotify", {
12
+ get: function () {
13
+ return this['smn_notify'];
14
+ },
15
+ set: function (smnNotify) {
16
+ this['smn_notify'] = smnNotify;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ VaultBatchUpdate.prototype.withThreshold = function (threshold) {
22
+ this['threshold'] = threshold;
23
+ return this;
24
+ };
25
+ return VaultBatchUpdate;
26
+ }());
27
+ exports.VaultBatchUpdate = VaultBatchUpdate;
@@ -13,6 +13,10 @@ export declare class VaultCreate {
13
13
  private 'auto_bind'?;
14
14
  private 'bind_rules'?;
15
15
  private 'auto_expand'?;
16
+ threshold?: number;
17
+ private 'smn_notify'?;
18
+ private 'backup_name_prefix'?;
19
+ private 'demand_billing'?;
16
20
  constructor(billing?: any, name?: any, resources?: any);
17
21
  withBackupPolicyId(backupPolicyId: string): VaultCreate;
18
22
  set backupPolicyId(backupPolicyId: string | undefined);
@@ -34,4 +38,14 @@ export declare class VaultCreate {
34
38
  withAutoExpand(autoExpand: boolean): VaultCreate;
35
39
  set autoExpand(autoExpand: boolean | undefined);
36
40
  get autoExpand(): boolean | undefined;
41
+ withThreshold(threshold: number): VaultCreate;
42
+ withSmnNotify(smnNotify: boolean): VaultCreate;
43
+ set smnNotify(smnNotify: boolean | undefined);
44
+ get smnNotify(): boolean | undefined;
45
+ withBackupNamePrefix(backupNamePrefix: string): VaultCreate;
46
+ set backupNamePrefix(backupNamePrefix: string | undefined);
47
+ get backupNamePrefix(): string | undefined;
48
+ withDemandBilling(demandBilling: boolean): VaultCreate;
49
+ set demandBilling(demandBilling: boolean | undefined);
50
+ get demandBilling(): boolean | undefined;
37
51
  }
@@ -97,6 +97,52 @@ var VaultCreate = /** @class */ (function () {
97
97
  enumerable: false,
98
98
  configurable: true
99
99
  });
100
+ VaultCreate.prototype.withThreshold = function (threshold) {
101
+ this['threshold'] = threshold;
102
+ return this;
103
+ };
104
+ VaultCreate.prototype.withSmnNotify = function (smnNotify) {
105
+ this['smn_notify'] = smnNotify;
106
+ return this;
107
+ };
108
+ Object.defineProperty(VaultCreate.prototype, "smnNotify", {
109
+ get: function () {
110
+ return this['smn_notify'];
111
+ },
112
+ set: function (smnNotify) {
113
+ this['smn_notify'] = smnNotify;
114
+ },
115
+ enumerable: false,
116
+ configurable: true
117
+ });
118
+ VaultCreate.prototype.withBackupNamePrefix = function (backupNamePrefix) {
119
+ this['backup_name_prefix'] = backupNamePrefix;
120
+ return this;
121
+ };
122
+ Object.defineProperty(VaultCreate.prototype, "backupNamePrefix", {
123
+ get: function () {
124
+ return this['backup_name_prefix'];
125
+ },
126
+ set: function (backupNamePrefix) {
127
+ this['backup_name_prefix'] = backupNamePrefix;
128
+ },
129
+ enumerable: false,
130
+ configurable: true
131
+ });
132
+ VaultCreate.prototype.withDemandBilling = function (demandBilling) {
133
+ this['demand_billing'] = demandBilling;
134
+ return this;
135
+ };
136
+ Object.defineProperty(VaultCreate.prototype, "demandBilling", {
137
+ get: function () {
138
+ return this['demand_billing'];
139
+ },
140
+ set: function (demandBilling) {
141
+ this['demand_billing'] = demandBilling;
142
+ },
143
+ enumerable: false,
144
+ configurable: true
145
+ });
100
146
  return VaultCreate;
101
147
  }());
102
148
  exports.VaultCreate = VaultCreate;
@@ -0,0 +1,8 @@
1
+ import { CombinedOrder } from './CombinedOrder';
2
+ export declare class VaultCreateParameters {
3
+ private 'combined_order'?;
4
+ constructor();
5
+ withCombinedOrder(combinedOrder: CombinedOrder): VaultCreateParameters;
6
+ set combinedOrder(combinedOrder: CombinedOrder | undefined);
7
+ get combinedOrder(): CombinedOrder | undefined;
8
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VaultCreateParameters = void 0;
4
+ var VaultCreateParameters = /** @class */ (function () {
5
+ function VaultCreateParameters() {
6
+ }
7
+ VaultCreateParameters.prototype.withCombinedOrder = function (combinedOrder) {
8
+ this['combined_order'] = combinedOrder;
9
+ return this;
10
+ };
11
+ Object.defineProperty(VaultCreateParameters.prototype, "combinedOrder", {
12
+ get: function () {
13
+ return this['combined_order'];
14
+ },
15
+ set: function (combinedOrder) {
16
+ this['combined_order'] = combinedOrder;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ return VaultCreateParameters;
22
+ }());
23
+ exports.VaultCreateParameters = VaultCreateParameters;
@@ -23,6 +23,10 @@ export declare class VaultCreateResource {
23
23
  errText?: string;
24
24
  retCode?: string;
25
25
  orders?: Array<CbcOrderResult>;
26
+ private 'backup_name_prefix'?;
27
+ private 'demand_billing'?;
28
+ private 'cbc_delete_count'?;
29
+ frozen?: boolean;
26
30
  constructor(billing?: any, id?: any, name?: any, projectId?: any, providerId?: any, resources?: any);
27
31
  withBilling(billing: Billing): VaultCreateResource;
28
32
  withDescription(description: string): VaultCreateResource;
@@ -61,4 +65,14 @@ export declare class VaultCreateResource {
61
65
  withErrText(errText: string): VaultCreateResource;
62
66
  withRetCode(retCode: string): VaultCreateResource;
63
67
  withOrders(orders: Array<CbcOrderResult>): VaultCreateResource;
68
+ withBackupNamePrefix(backupNamePrefix: string): VaultCreateResource;
69
+ set backupNamePrefix(backupNamePrefix: string | undefined);
70
+ get backupNamePrefix(): string | undefined;
71
+ withDemandBilling(demandBilling: boolean): VaultCreateResource;
72
+ set demandBilling(demandBilling: boolean | undefined);
73
+ get demandBilling(): boolean | undefined;
74
+ withCbcDeleteCount(cbcDeleteCount: number): VaultCreateResource;
75
+ set cbcDeleteCount(cbcDeleteCount: number | undefined);
76
+ get cbcDeleteCount(): number | undefined;
77
+ withFrozen(frozen: boolean): VaultCreateResource;
64
78
  }
@@ -176,6 +176,52 @@ var VaultCreateResource = /** @class */ (function () {
176
176
  this['orders'] = orders;
177
177
  return this;
178
178
  };
179
+ VaultCreateResource.prototype.withBackupNamePrefix = function (backupNamePrefix) {
180
+ this['backup_name_prefix'] = backupNamePrefix;
181
+ return this;
182
+ };
183
+ Object.defineProperty(VaultCreateResource.prototype, "backupNamePrefix", {
184
+ get: function () {
185
+ return this['backup_name_prefix'];
186
+ },
187
+ set: function (backupNamePrefix) {
188
+ this['backup_name_prefix'] = backupNamePrefix;
189
+ },
190
+ enumerable: false,
191
+ configurable: true
192
+ });
193
+ VaultCreateResource.prototype.withDemandBilling = function (demandBilling) {
194
+ this['demand_billing'] = demandBilling;
195
+ return this;
196
+ };
197
+ Object.defineProperty(VaultCreateResource.prototype, "demandBilling", {
198
+ get: function () {
199
+ return this['demand_billing'];
200
+ },
201
+ set: function (demandBilling) {
202
+ this['demand_billing'] = demandBilling;
203
+ },
204
+ enumerable: false,
205
+ configurable: true
206
+ });
207
+ VaultCreateResource.prototype.withCbcDeleteCount = function (cbcDeleteCount) {
208
+ this['cbc_delete_count'] = cbcDeleteCount;
209
+ return this;
210
+ };
211
+ Object.defineProperty(VaultCreateResource.prototype, "cbcDeleteCount", {
212
+ get: function () {
213
+ return this['cbc_delete_count'];
214
+ },
215
+ set: function (cbcDeleteCount) {
216
+ this['cbc_delete_count'] = cbcDeleteCount;
217
+ },
218
+ enumerable: false,
219
+ configurable: true
220
+ });
221
+ VaultCreateResource.prototype.withFrozen = function (frozen) {
222
+ this['frozen'] = frozen;
223
+ return this;
224
+ };
179
225
  return VaultCreateResource;
180
226
  }());
181
227
  exports.VaultCreateResource = VaultCreateResource;
@@ -0,0 +1,46 @@
1
+ import { BillingCreate } from './BillingCreate';
2
+ import { ResourceCreate } from './ResourceCreate';
3
+ import { Tag } from './Tag';
4
+ import { VaultBindRules } from './VaultBindRules';
5
+ import { VaultCreateParameters } from './VaultCreateParameters';
6
+ export declare class VaultOrder {
7
+ name?: string;
8
+ billing: BillingCreate;
9
+ resources: Array<ResourceCreate>;
10
+ description?: string;
11
+ private 'backup_policy_id'?;
12
+ tags?: Array<Tag>;
13
+ private 'enterprise_project_id'?;
14
+ private 'auto_bind'?;
15
+ private 'bind_rules'?;
16
+ threshold?: number;
17
+ private 'smn_notify'?;
18
+ parameters?: VaultCreateParameters;
19
+ private 'auto_expand'?;
20
+ constructor(billing?: any, resources?: any);
21
+ withName(name: string): VaultOrder;
22
+ withBilling(billing: BillingCreate): VaultOrder;
23
+ withResources(resources: Array<ResourceCreate>): VaultOrder;
24
+ withDescription(description: string): VaultOrder;
25
+ withBackupPolicyId(backupPolicyId: string): VaultOrder;
26
+ set backupPolicyId(backupPolicyId: string | undefined);
27
+ get backupPolicyId(): string | undefined;
28
+ withTags(tags: Array<Tag>): VaultOrder;
29
+ withEnterpriseProjectId(enterpriseProjectId: string): VaultOrder;
30
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
31
+ get enterpriseProjectId(): string | undefined;
32
+ withAutoBind(autoBind: boolean): VaultOrder;
33
+ set autoBind(autoBind: boolean | undefined);
34
+ get autoBind(): boolean | undefined;
35
+ withBindRules(bindRules: VaultBindRules): VaultOrder;
36
+ set bindRules(bindRules: VaultBindRules | undefined);
37
+ get bindRules(): VaultBindRules | undefined;
38
+ withThreshold(threshold: number): VaultOrder;
39
+ withSmnNotify(smnNotify: boolean): VaultOrder;
40
+ set smnNotify(smnNotify: boolean | undefined);
41
+ get smnNotify(): boolean | undefined;
42
+ withParameters(parameters: VaultCreateParameters): VaultOrder;
43
+ withAutoExpand(autoExpand: boolean): VaultOrder;
44
+ set autoExpand(autoExpand: boolean | undefined);
45
+ get autoExpand(): boolean | undefined;
46
+ }