@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.ImportCheckpointRequest = void 0;
4
+ var ImportCheckpointRequest = /** @class */ (function () {
5
+ function ImportCheckpointRequest() {
6
+ }
7
+ ImportCheckpointRequest.prototype.withBody = function (body) {
8
+ this['body'] = body;
9
+ return this;
10
+ };
11
+ return ImportCheckpointRequest;
12
+ }());
13
+ exports.ImportCheckpointRequest = ImportCheckpointRequest;
@@ -0,0 +1,7 @@
1
+ import { SyncRespBody } from './SyncRespBody';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ImportCheckpointResponse extends SdkResponse {
4
+ sync?: SyncRespBody;
5
+ constructor();
6
+ withSync(sync: SyncRespBody): ImportCheckpointResponse;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ImportCheckpointResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ImportCheckpointResponse = /** @class */ (function (_super) {
21
+ __extends(ImportCheckpointResponse, _super);
22
+ function ImportCheckpointResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ImportCheckpointResponse.prototype.withSync = function (sync) {
26
+ this['sync'] = sync;
27
+ return this;
28
+ };
29
+ return ImportCheckpointResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.ImportCheckpointResponse = ImportCheckpointResponse;
@@ -0,0 +1,13 @@
1
+ export declare class ListAgentRequest {
2
+ limit?: string;
3
+ offset?: number;
4
+ status?: string;
5
+ private 'agent_id'?;
6
+ constructor();
7
+ withLimit(limit: string): ListAgentRequest;
8
+ withOffset(offset: number): ListAgentRequest;
9
+ withStatus(status: string): ListAgentRequest;
10
+ withAgentId(agentId: string): ListAgentRequest;
11
+ set agentId(agentId: string | undefined);
12
+ get agentId(): string | undefined;
13
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAgentRequest = void 0;
4
+ var ListAgentRequest = /** @class */ (function () {
5
+ function ListAgentRequest() {
6
+ }
7
+ ListAgentRequest.prototype.withLimit = function (limit) {
8
+ this['limit'] = limit;
9
+ return this;
10
+ };
11
+ ListAgentRequest.prototype.withOffset = function (offset) {
12
+ this['offset'] = offset;
13
+ return this;
14
+ };
15
+ ListAgentRequest.prototype.withStatus = function (status) {
16
+ this['status'] = status;
17
+ return this;
18
+ };
19
+ ListAgentRequest.prototype.withAgentId = function (agentId) {
20
+ this['agent_id'] = agentId;
21
+ return this;
22
+ };
23
+ Object.defineProperty(ListAgentRequest.prototype, "agentId", {
24
+ get: function () {
25
+ return this['agent_id'];
26
+ },
27
+ set: function (agentId) {
28
+ this['agent_id'] = agentId;
29
+ },
30
+ enumerable: false,
31
+ configurable: true
32
+ });
33
+ return ListAgentRequest;
34
+ }());
35
+ exports.ListAgentRequest = ListAgentRequest;
@@ -0,0 +1,13 @@
1
+ import { Agent } from './Agent';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ListAgentResponse extends SdkResponse {
4
+ agents?: Array<Agent>;
5
+ count?: number;
6
+ limit?: number;
7
+ offset?: number;
8
+ constructor();
9
+ withAgents(agents: Array<Agent>): ListAgentResponse;
10
+ withCount(count: number): ListAgentResponse;
11
+ withLimit(limit: number): ListAgentResponse;
12
+ withOffset(offset: number): ListAgentResponse;
13
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ListAgentResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ListAgentResponse = /** @class */ (function (_super) {
21
+ __extends(ListAgentResponse, _super);
22
+ function ListAgentResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ListAgentResponse.prototype.withAgents = function (agents) {
26
+ this['agents'] = agents;
27
+ return this;
28
+ };
29
+ ListAgentResponse.prototype.withCount = function (count) {
30
+ this['count'] = count;
31
+ return this;
32
+ };
33
+ ListAgentResponse.prototype.withLimit = function (limit) {
34
+ this['limit'] = limit;
35
+ return this;
36
+ };
37
+ ListAgentResponse.prototype.withOffset = function (offset) {
38
+ this['offset'] = offset;
39
+ return this;
40
+ };
41
+ return ListAgentResponse;
42
+ }(SdkResponse_1.SdkResponse));
43
+ exports.ListAgentResponse = ListAgentResponse;
@@ -0,0 +1,7 @@
1
+ export declare class ListDomainProjectsRequest {
2
+ private 'domain_name';
3
+ constructor(domainName?: any);
4
+ withDomainName(domainName: string): ListDomainProjectsRequest;
5
+ set domainName(domainName: string | undefined);
6
+ get domainName(): string | undefined;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListDomainProjectsRequest = void 0;
4
+ var ListDomainProjectsRequest = /** @class */ (function () {
5
+ function ListDomainProjectsRequest(domainName) {
6
+ this['domain_name'] = domainName;
7
+ }
8
+ ListDomainProjectsRequest.prototype.withDomainName = function (domainName) {
9
+ this['domain_name'] = domainName;
10
+ return this;
11
+ };
12
+ Object.defineProperty(ListDomainProjectsRequest.prototype, "domainName", {
13
+ get: function () {
14
+ return this['domain_name'];
15
+ },
16
+ set: function (domainName) {
17
+ this['domain_name'] = domainName;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return ListDomainProjectsRequest;
23
+ }());
24
+ exports.ListDomainProjectsRequest = ListDomainProjectsRequest;
@@ -0,0 +1,7 @@
1
+ import { DomainProjectsInfo } from './DomainProjectsInfo';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ListDomainProjectsResponse extends SdkResponse {
4
+ projects?: Array<DomainProjectsInfo>;
5
+ constructor();
6
+ withProjects(projects: Array<DomainProjectsInfo>): ListDomainProjectsResponse;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ListDomainProjectsResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ListDomainProjectsResponse = /** @class */ (function (_super) {
21
+ __extends(ListDomainProjectsResponse, _super);
22
+ function ListDomainProjectsResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ListDomainProjectsResponse.prototype.withProjects = function (projects) {
26
+ this['projects'] = projects;
27
+ return this;
28
+ };
29
+ return ListDomainProjectsResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.ListDomainProjectsResponse = ListDomainProjectsResponse;
@@ -0,0 +1,38 @@
1
+ export declare class ListExternalVaultRequest {
2
+ private 'external_project_id';
3
+ limit?: number;
4
+ offset?: number;
5
+ private 'protect_type'?;
6
+ private 'region_id';
7
+ private 'objcet_type'?;
8
+ private 'cloud_type'?;
9
+ private 'vault_id'?;
10
+ constructor(externalProjectId?: any, regionId?: any);
11
+ withExternalProjectId(externalProjectId: string): ListExternalVaultRequest;
12
+ set externalProjectId(externalProjectId: string | undefined);
13
+ get externalProjectId(): string | undefined;
14
+ withLimit(limit: number): ListExternalVaultRequest;
15
+ withOffset(offset: number): ListExternalVaultRequest;
16
+ withProtectType(protectType: ListExternalVaultRequestProtectTypeEnum): ListExternalVaultRequest;
17
+ set protectType(protectType: ListExternalVaultRequestProtectTypeEnum | undefined);
18
+ get protectType(): ListExternalVaultRequestProtectTypeEnum | undefined;
19
+ withRegionId(regionId: string): ListExternalVaultRequest;
20
+ set regionId(regionId: string | undefined);
21
+ get regionId(): string | undefined;
22
+ withObjcetType(objcetType: string): ListExternalVaultRequest;
23
+ set objcetType(objcetType: string | undefined);
24
+ get objcetType(): string | undefined;
25
+ withCloudType(cloudType: string): ListExternalVaultRequest;
26
+ set cloudType(cloudType: string | undefined);
27
+ get cloudType(): string | undefined;
28
+ withVaultId(vaultId: string): ListExternalVaultRequest;
29
+ set vaultId(vaultId: string | undefined);
30
+ get vaultId(): string | undefined;
31
+ }
32
+ /**
33
+ * @export
34
+ * @enum {string}
35
+ */
36
+ export declare enum ListExternalVaultRequestProtectTypeEnum {
37
+ BACKUPREPLICATIONHYBRID = "backup;replication;hybrid"
38
+ }
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListExternalVaultRequestProtectTypeEnum = exports.ListExternalVaultRequest = void 0;
4
+ var ListExternalVaultRequest = /** @class */ (function () {
5
+ function ListExternalVaultRequest(externalProjectId, regionId) {
6
+ this['external_project_id'] = externalProjectId;
7
+ this['region_id'] = regionId;
8
+ }
9
+ ListExternalVaultRequest.prototype.withExternalProjectId = function (externalProjectId) {
10
+ this['external_project_id'] = externalProjectId;
11
+ return this;
12
+ };
13
+ Object.defineProperty(ListExternalVaultRequest.prototype, "externalProjectId", {
14
+ get: function () {
15
+ return this['external_project_id'];
16
+ },
17
+ set: function (externalProjectId) {
18
+ this['external_project_id'] = externalProjectId;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ ListExternalVaultRequest.prototype.withLimit = function (limit) {
24
+ this['limit'] = limit;
25
+ return this;
26
+ };
27
+ ListExternalVaultRequest.prototype.withOffset = function (offset) {
28
+ this['offset'] = offset;
29
+ return this;
30
+ };
31
+ ListExternalVaultRequest.prototype.withProtectType = function (protectType) {
32
+ this['protect_type'] = protectType;
33
+ return this;
34
+ };
35
+ Object.defineProperty(ListExternalVaultRequest.prototype, "protectType", {
36
+ get: function () {
37
+ return this['protect_type'];
38
+ },
39
+ set: function (protectType) {
40
+ this['protect_type'] = protectType;
41
+ },
42
+ enumerable: false,
43
+ configurable: true
44
+ });
45
+ ListExternalVaultRequest.prototype.withRegionId = function (regionId) {
46
+ this['region_id'] = regionId;
47
+ return this;
48
+ };
49
+ Object.defineProperty(ListExternalVaultRequest.prototype, "regionId", {
50
+ get: function () {
51
+ return this['region_id'];
52
+ },
53
+ set: function (regionId) {
54
+ this['region_id'] = regionId;
55
+ },
56
+ enumerable: false,
57
+ configurable: true
58
+ });
59
+ ListExternalVaultRequest.prototype.withObjcetType = function (objcetType) {
60
+ this['objcet_type'] = objcetType;
61
+ return this;
62
+ };
63
+ Object.defineProperty(ListExternalVaultRequest.prototype, "objcetType", {
64
+ get: function () {
65
+ return this['objcet_type'];
66
+ },
67
+ set: function (objcetType) {
68
+ this['objcet_type'] = objcetType;
69
+ },
70
+ enumerable: false,
71
+ configurable: true
72
+ });
73
+ ListExternalVaultRequest.prototype.withCloudType = function (cloudType) {
74
+ this['cloud_type'] = cloudType;
75
+ return this;
76
+ };
77
+ Object.defineProperty(ListExternalVaultRequest.prototype, "cloudType", {
78
+ get: function () {
79
+ return this['cloud_type'];
80
+ },
81
+ set: function (cloudType) {
82
+ this['cloud_type'] = cloudType;
83
+ },
84
+ enumerable: false,
85
+ configurable: true
86
+ });
87
+ ListExternalVaultRequest.prototype.withVaultId = function (vaultId) {
88
+ this['vault_id'] = vaultId;
89
+ return this;
90
+ };
91
+ Object.defineProperty(ListExternalVaultRequest.prototype, "vaultId", {
92
+ get: function () {
93
+ return this['vault_id'];
94
+ },
95
+ set: function (vaultId) {
96
+ this['vault_id'] = vaultId;
97
+ },
98
+ enumerable: false,
99
+ configurable: true
100
+ });
101
+ return ListExternalVaultRequest;
102
+ }());
103
+ exports.ListExternalVaultRequest = ListExternalVaultRequest;
104
+ /**
105
+ * @export
106
+ * @enum {string}
107
+ */
108
+ var ListExternalVaultRequestProtectTypeEnum;
109
+ (function (ListExternalVaultRequestProtectTypeEnum) {
110
+ ListExternalVaultRequestProtectTypeEnum["BACKUPREPLICATIONHYBRID"] = "backup;replication;hybrid";
111
+ })(ListExternalVaultRequestProtectTypeEnum = exports.ListExternalVaultRequestProtectTypeEnum || (exports.ListExternalVaultRequestProtectTypeEnum = {}));
@@ -0,0 +1,13 @@
1
+ import { Vault } from './Vault';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ListExternalVaultResponse extends SdkResponse {
4
+ vaults?: Array<Vault>;
5
+ count?: number;
6
+ limit?: number;
7
+ offset?: number;
8
+ constructor();
9
+ withVaults(vaults: Array<Vault>): ListExternalVaultResponse;
10
+ withCount(count: number): ListExternalVaultResponse;
11
+ withLimit(limit: number): ListExternalVaultResponse;
12
+ withOffset(offset: number): ListExternalVaultResponse;
13
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ListExternalVaultResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ListExternalVaultResponse = /** @class */ (function (_super) {
21
+ __extends(ListExternalVaultResponse, _super);
22
+ function ListExternalVaultResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ListExternalVaultResponse.prototype.withVaults = function (vaults) {
26
+ this['vaults'] = vaults;
27
+ return this;
28
+ };
29
+ ListExternalVaultResponse.prototype.withCount = function (count) {
30
+ this['count'] = count;
31
+ return this;
32
+ };
33
+ ListExternalVaultResponse.prototype.withLimit = function (limit) {
34
+ this['limit'] = limit;
35
+ return this;
36
+ };
37
+ ListExternalVaultResponse.prototype.withOffset = function (offset) {
38
+ this['offset'] = offset;
39
+ return this;
40
+ };
41
+ return ListExternalVaultResponse;
42
+ }(SdkResponse_1.SdkResponse));
43
+ exports.ListExternalVaultResponse = ListExternalVaultResponse;
@@ -0,0 +1,3 @@
1
+ export declare class ListProjectsRequest {
2
+ constructor();
3
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListProjectsRequest = void 0;
4
+ var ListProjectsRequest = /** @class */ (function () {
5
+ function ListProjectsRequest() {
6
+ }
7
+ return ListProjectsRequest;
8
+ }());
9
+ exports.ListProjectsRequest = ListProjectsRequest;
@@ -0,0 +1,10 @@
1
+ import { ProjectsListInfo } from './ProjectsListInfo';
2
+ import { SelfLinksInfo } from './SelfLinksInfo';
3
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
4
+ export declare class ListProjectsResponse extends SdkResponse {
5
+ projects?: Array<ProjectsListInfo>;
6
+ links?: SelfLinksInfo;
7
+ constructor();
8
+ withProjects(projects: Array<ProjectsListInfo>): ListProjectsResponse;
9
+ withLinks(links: SelfLinksInfo): ListProjectsResponse;
10
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ListProjectsResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ListProjectsResponse = /** @class */ (function (_super) {
21
+ __extends(ListProjectsResponse, _super);
22
+ function ListProjectsResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ListProjectsResponse.prototype.withProjects = function (projects) {
26
+ this['projects'] = projects;
27
+ return this;
28
+ };
29
+ ListProjectsResponse.prototype.withLinks = function (links) {
30
+ this['links'] = links;
31
+ return this;
32
+ };
33
+ return ListProjectsResponse;
34
+ }(SdkResponse_1.SdkResponse));
35
+ exports.ListProjectsResponse = ListProjectsResponse;
@@ -0,0 +1,6 @@
1
+ import { DomainMigrate } from './DomainMigrate';
2
+ export declare class MigrateDomainRequest {
3
+ body?: DomainMigrate;
4
+ constructor();
5
+ withBody(body: DomainMigrate): MigrateDomainRequest;
6
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MigrateDomainRequest = void 0;
4
+ var MigrateDomainRequest = /** @class */ (function () {
5
+ function MigrateDomainRequest() {
6
+ }
7
+ MigrateDomainRequest.prototype.withBody = function (body) {
8
+ this['body'] = body;
9
+ return this;
10
+ };
11
+ return MigrateDomainRequest;
12
+ }());
13
+ exports.MigrateDomainRequest = MigrateDomainRequest;
@@ -0,0 +1,10 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class MigrateDomainResponse extends SdkResponse {
3
+ body?: {
4
+ [key: string]: string;
5
+ };
6
+ constructor();
7
+ withBody(body: {
8
+ [key: string]: string;
9
+ }): MigrateDomainResponse;
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.MigrateDomainResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var MigrateDomainResponse = /** @class */ (function (_super) {
21
+ __extends(MigrateDomainResponse, _super);
22
+ function MigrateDomainResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ MigrateDomainResponse.prototype.withBody = function (body) {
26
+ this['body'] = body;
27
+ return this;
28
+ };
29
+ return MigrateDomainResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.MigrateDomainResponse = MigrateDomainResponse;
@@ -0,0 +1,15 @@
1
+ export declare class Path {
2
+ id?: string;
3
+ status?: string;
4
+ private 'agent_id'?;
5
+ private 'dir_path'?;
6
+ constructor();
7
+ withId(id: string): Path;
8
+ withStatus(status: string): Path;
9
+ withAgentId(agentId: string): Path;
10
+ set agentId(agentId: string | undefined);
11
+ get agentId(): string | undefined;
12
+ withDirPath(dirPath: string): Path;
13
+ set dirPath(dirPath: string | undefined);
14
+ get dirPath(): string | undefined;
15
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Path = void 0;
4
+ var Path = /** @class */ (function () {
5
+ function Path() {
6
+ }
7
+ Path.prototype.withId = function (id) {
8
+ this['id'] = id;
9
+ return this;
10
+ };
11
+ Path.prototype.withStatus = function (status) {
12
+ this['status'] = status;
13
+ return this;
14
+ };
15
+ Path.prototype.withAgentId = function (agentId) {
16
+ this['agent_id'] = agentId;
17
+ return this;
18
+ };
19
+ Object.defineProperty(Path.prototype, "agentId", {
20
+ get: function () {
21
+ return this['agent_id'];
22
+ },
23
+ set: function (agentId) {
24
+ this['agent_id'] = agentId;
25
+ },
26
+ enumerable: false,
27
+ configurable: true
28
+ });
29
+ Path.prototype.withDirPath = function (dirPath) {
30
+ this['dir_path'] = dirPath;
31
+ return this;
32
+ };
33
+ Object.defineProperty(Path.prototype, "dirPath", {
34
+ get: function () {
35
+ return this['dir_path'];
36
+ },
37
+ set: function (dirPath) {
38
+ this['dir_path'] = dirPath;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
43
+ return Path;
44
+ }());
45
+ exports.Path = Path;
@@ -0,0 +1,26 @@
1
+ import { SelfLinksInfo } from './SelfLinksInfo';
2
+ export declare class ProjectsListInfo {
3
+ private 'domain_id'?;
4
+ private 'is_domain'?;
5
+ private 'parent_id'?;
6
+ name?: string;
7
+ description?: string;
8
+ id?: string;
9
+ enabled?: boolean;
10
+ links?: SelfLinksInfo;
11
+ constructor();
12
+ withDomainId(domainId: string): ProjectsListInfo;
13
+ set domainId(domainId: string | undefined);
14
+ get domainId(): string | undefined;
15
+ withIsDomain(isDomain: boolean): ProjectsListInfo;
16
+ set isDomain(isDomain: boolean | undefined);
17
+ get isDomain(): boolean | undefined;
18
+ withParentId(parentId: string): ProjectsListInfo;
19
+ set parentId(parentId: string | undefined);
20
+ get parentId(): string | undefined;
21
+ withName(name: string): ProjectsListInfo;
22
+ withDescription(description: string): ProjectsListInfo;
23
+ withId(id: string): ProjectsListInfo;
24
+ withEnabled(enabled: boolean): ProjectsListInfo;
25
+ withLinks(links: SelfLinksInfo): ProjectsListInfo;
26
+ }