@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,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProjectsListInfo = void 0;
4
+ var ProjectsListInfo = /** @class */ (function () {
5
+ function ProjectsListInfo() {
6
+ }
7
+ ProjectsListInfo.prototype.withDomainId = function (domainId) {
8
+ this['domain_id'] = domainId;
9
+ return this;
10
+ };
11
+ Object.defineProperty(ProjectsListInfo.prototype, "domainId", {
12
+ get: function () {
13
+ return this['domain_id'];
14
+ },
15
+ set: function (domainId) {
16
+ this['domain_id'] = domainId;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ ProjectsListInfo.prototype.withIsDomain = function (isDomain) {
22
+ this['is_domain'] = isDomain;
23
+ return this;
24
+ };
25
+ Object.defineProperty(ProjectsListInfo.prototype, "isDomain", {
26
+ get: function () {
27
+ return this['is_domain'];
28
+ },
29
+ set: function (isDomain) {
30
+ this['is_domain'] = isDomain;
31
+ },
32
+ enumerable: false,
33
+ configurable: true
34
+ });
35
+ ProjectsListInfo.prototype.withParentId = function (parentId) {
36
+ this['parent_id'] = parentId;
37
+ return this;
38
+ };
39
+ Object.defineProperty(ProjectsListInfo.prototype, "parentId", {
40
+ get: function () {
41
+ return this['parent_id'];
42
+ },
43
+ set: function (parentId) {
44
+ this['parent_id'] = parentId;
45
+ },
46
+ enumerable: false,
47
+ configurable: true
48
+ });
49
+ ProjectsListInfo.prototype.withName = function (name) {
50
+ this['name'] = name;
51
+ return this;
52
+ };
53
+ ProjectsListInfo.prototype.withDescription = function (description) {
54
+ this['description'] = description;
55
+ return this;
56
+ };
57
+ ProjectsListInfo.prototype.withId = function (id) {
58
+ this['id'] = id;
59
+ return this;
60
+ };
61
+ ProjectsListInfo.prototype.withEnabled = function (enabled) {
62
+ this['enabled'] = enabled;
63
+ return this;
64
+ };
65
+ ProjectsListInfo.prototype.withLinks = function (links) {
66
+ this['links'] = links;
67
+ return this;
68
+ };
69
+ return ProjectsListInfo;
70
+ }());
71
+ exports.ProjectsListInfo = ProjectsListInfo;
@@ -0,0 +1,8 @@
1
+ import { ProtectableAgentStatusResource } from './ProtectableAgentStatusResource';
2
+ export declare class ProtectableAgentReq {
3
+ private 'agent_status';
4
+ constructor(agentStatus?: any);
5
+ withAgentStatus(agentStatus: Array<ProtectableAgentStatusResource>): ProtectableAgentReq;
6
+ set agentStatus(agentStatus: Array<ProtectableAgentStatusResource> | undefined);
7
+ get agentStatus(): Array<ProtectableAgentStatusResource> | undefined;
8
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProtectableAgentReq = void 0;
4
+ var ProtectableAgentReq = /** @class */ (function () {
5
+ function ProtectableAgentReq(agentStatus) {
6
+ this['agent_status'] = agentStatus;
7
+ }
8
+ ProtectableAgentReq.prototype.withAgentStatus = function (agentStatus) {
9
+ this['agent_status'] = agentStatus;
10
+ return this;
11
+ };
12
+ Object.defineProperty(ProtectableAgentReq.prototype, "agentStatus", {
13
+ get: function () {
14
+ return this['agent_status'];
15
+ },
16
+ set: function (agentStatus) {
17
+ this['agent_status'] = agentStatus;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return ProtectableAgentReq;
23
+ }());
24
+ exports.ProtectableAgentReq = ProtectableAgentReq;
@@ -0,0 +1,19 @@
1
+ export declare class ProtectableAgentStatus {
2
+ code?: number;
3
+ installed?: boolean;
4
+ private 'is_old'?;
5
+ message?: string;
6
+ private 'resource_id'?;
7
+ version?: string;
8
+ constructor();
9
+ withCode(code: number): ProtectableAgentStatus;
10
+ withInstalled(installed: boolean): ProtectableAgentStatus;
11
+ withIsOld(isOld: boolean): ProtectableAgentStatus;
12
+ set isOld(isOld: boolean | undefined);
13
+ get isOld(): boolean | undefined;
14
+ withMessage(message: string): ProtectableAgentStatus;
15
+ withResourceId(resourceId: string): ProtectableAgentStatus;
16
+ set resourceId(resourceId: string | undefined);
17
+ get resourceId(): string | undefined;
18
+ withVersion(version: string): ProtectableAgentStatus;
19
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProtectableAgentStatus = void 0;
4
+ var ProtectableAgentStatus = /** @class */ (function () {
5
+ function ProtectableAgentStatus() {
6
+ }
7
+ ProtectableAgentStatus.prototype.withCode = function (code) {
8
+ this['code'] = code;
9
+ return this;
10
+ };
11
+ ProtectableAgentStatus.prototype.withInstalled = function (installed) {
12
+ this['installed'] = installed;
13
+ return this;
14
+ };
15
+ ProtectableAgentStatus.prototype.withIsOld = function (isOld) {
16
+ this['is_old'] = isOld;
17
+ return this;
18
+ };
19
+ Object.defineProperty(ProtectableAgentStatus.prototype, "isOld", {
20
+ get: function () {
21
+ return this['is_old'];
22
+ },
23
+ set: function (isOld) {
24
+ this['is_old'] = isOld;
25
+ },
26
+ enumerable: false,
27
+ configurable: true
28
+ });
29
+ ProtectableAgentStatus.prototype.withMessage = function (message) {
30
+ this['message'] = message;
31
+ return this;
32
+ };
33
+ ProtectableAgentStatus.prototype.withResourceId = function (resourceId) {
34
+ this['resource_id'] = resourceId;
35
+ return this;
36
+ };
37
+ Object.defineProperty(ProtectableAgentStatus.prototype, "resourceId", {
38
+ get: function () {
39
+ return this['resource_id'];
40
+ },
41
+ set: function (resourceId) {
42
+ this['resource_id'] = resourceId;
43
+ },
44
+ enumerable: false,
45
+ configurable: true
46
+ });
47
+ ProtectableAgentStatus.prototype.withVersion = function (version) {
48
+ this['version'] = version;
49
+ return this;
50
+ };
51
+ return ProtectableAgentStatus;
52
+ }());
53
+ exports.ProtectableAgentStatus = ProtectableAgentStatus;
@@ -0,0 +1,15 @@
1
+ export declare class ProtectableAgentStatusResource {
2
+ private 'resource_id';
3
+ private 'resource_name'?;
4
+ private 'resource_type';
5
+ constructor(resourceId?: any, resourceType?: any);
6
+ withResourceId(resourceId: string): ProtectableAgentStatusResource;
7
+ set resourceId(resourceId: string | undefined);
8
+ get resourceId(): string | undefined;
9
+ withResourceName(resourceName: string): ProtectableAgentStatusResource;
10
+ set resourceName(resourceName: string | undefined);
11
+ get resourceName(): string | undefined;
12
+ withResourceType(resourceType: string): ProtectableAgentStatusResource;
13
+ set resourceType(resourceType: string | undefined);
14
+ get resourceType(): string | undefined;
15
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProtectableAgentStatusResource = void 0;
4
+ var ProtectableAgentStatusResource = /** @class */ (function () {
5
+ function ProtectableAgentStatusResource(resourceId, resourceType) {
6
+ this['resource_id'] = resourceId;
7
+ this['resource_type'] = resourceType;
8
+ }
9
+ ProtectableAgentStatusResource.prototype.withResourceId = function (resourceId) {
10
+ this['resource_id'] = resourceId;
11
+ return this;
12
+ };
13
+ Object.defineProperty(ProtectableAgentStatusResource.prototype, "resourceId", {
14
+ get: function () {
15
+ return this['resource_id'];
16
+ },
17
+ set: function (resourceId) {
18
+ this['resource_id'] = resourceId;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ ProtectableAgentStatusResource.prototype.withResourceName = function (resourceName) {
24
+ this['resource_name'] = resourceName;
25
+ return this;
26
+ };
27
+ Object.defineProperty(ProtectableAgentStatusResource.prototype, "resourceName", {
28
+ get: function () {
29
+ return this['resource_name'];
30
+ },
31
+ set: function (resourceName) {
32
+ this['resource_name'] = resourceName;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ ProtectableAgentStatusResource.prototype.withResourceType = function (resourceType) {
38
+ this['resource_type'] = resourceType;
39
+ return this;
40
+ };
41
+ Object.defineProperty(ProtectableAgentStatusResource.prototype, "resourceType", {
42
+ get: function () {
43
+ return this['resource_type'];
44
+ },
45
+ set: function (resourceType) {
46
+ this['resource_type'] = resourceType;
47
+ },
48
+ enumerable: false,
49
+ configurable: true
50
+ });
51
+ return ProtectableAgentStatusResource;
52
+ }());
53
+ exports.ProtectableAgentStatusResource = ProtectableAgentStatusResource;
@@ -0,0 +1,6 @@
1
+ import { AgentRegisterReq } from './AgentRegisterReq';
2
+ export declare class RegisterAgentRequest {
3
+ body?: AgentRegisterReq;
4
+ constructor();
5
+ withBody(body: AgentRegisterReq): RegisterAgentRequest;
6
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RegisterAgentRequest = void 0;
4
+ var RegisterAgentRequest = /** @class */ (function () {
5
+ function RegisterAgentRequest() {
6
+ }
7
+ RegisterAgentRequest.prototype.withBody = function (body) {
8
+ this['body'] = body;
9
+ return this;
10
+ };
11
+ return RegisterAgentRequest;
12
+ }());
13
+ exports.RegisterAgentRequest = RegisterAgentRequest;
@@ -0,0 +1,7 @@
1
+ import { Agent } from './Agent';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class RegisterAgentResponse extends SdkResponse {
4
+ agent?: Agent;
5
+ constructor();
6
+ withAgent(agent: Agent): RegisterAgentResponse;
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.RegisterAgentResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var RegisterAgentResponse = /** @class */ (function (_super) {
21
+ __extends(RegisterAgentResponse, _super);
22
+ function RegisterAgentResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ RegisterAgentResponse.prototype.withAgent = function (agent) {
26
+ this['agent'] = agent;
27
+ return this;
28
+ };
29
+ return RegisterAgentResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.RegisterAgentResponse = RegisterAgentResponse;
@@ -0,0 +1,10 @@
1
+ import { AgentRemovePathReq } from './AgentRemovePathReq';
2
+ export declare class RemoveAgentPathRequest {
3
+ private 'agent_id';
4
+ body?: AgentRemovePathReq;
5
+ constructor(agentId?: any);
6
+ withAgentId(agentId: string): RemoveAgentPathRequest;
7
+ set agentId(agentId: string | undefined);
8
+ get agentId(): string | undefined;
9
+ withBody(body: AgentRemovePathReq): RemoveAgentPathRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RemoveAgentPathRequest = void 0;
4
+ var RemoveAgentPathRequest = /** @class */ (function () {
5
+ function RemoveAgentPathRequest(agentId) {
6
+ this['agent_id'] = agentId;
7
+ }
8
+ RemoveAgentPathRequest.prototype.withAgentId = function (agentId) {
9
+ this['agent_id'] = agentId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(RemoveAgentPathRequest.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
+ RemoveAgentPathRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return RemoveAgentPathRequest;
27
+ }());
28
+ exports.RemoveAgentPathRequest = RemoveAgentPathRequest;
@@ -0,0 +1,10 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class RemoveAgentPathResponse extends SdkResponse {
3
+ removed?: Array<string>;
4
+ private 'not_existed'?;
5
+ constructor();
6
+ withRemoved(removed: Array<string>): RemoveAgentPathResponse;
7
+ withNotExisted(notExisted: Array<string>): RemoveAgentPathResponse;
8
+ set notExisted(notExisted: Array<string> | undefined);
9
+ get notExisted(): Array<string> | undefined;
10
+ }
@@ -0,0 +1,45 @@
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.RemoveAgentPathResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var RemoveAgentPathResponse = /** @class */ (function (_super) {
21
+ __extends(RemoveAgentPathResponse, _super);
22
+ function RemoveAgentPathResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ RemoveAgentPathResponse.prototype.withRemoved = function (removed) {
26
+ this['removed'] = removed;
27
+ return this;
28
+ };
29
+ RemoveAgentPathResponse.prototype.withNotExisted = function (notExisted) {
30
+ this['not_existed'] = notExisted;
31
+ return this;
32
+ };
33
+ Object.defineProperty(RemoveAgentPathResponse.prototype, "notExisted", {
34
+ get: function () {
35
+ return this['not_existed'];
36
+ },
37
+ set: function (notExisted) {
38
+ this['not_existed'] = notExisted;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
43
+ return RemoveAgentPathResponse;
44
+ }(SdkResponse_1.SdkResponse));
45
+ exports.RemoveAgentPathResponse = RemoveAgentPathResponse;
@@ -0,0 +1,5 @@
1
+ export declare class SelfLinksInfo {
2
+ self?: string;
3
+ constructor();
4
+ withSelf(self: string): SelfLinksInfo;
5
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SelfLinksInfo = void 0;
4
+ var SelfLinksInfo = /** @class */ (function () {
5
+ function SelfLinksInfo() {
6
+ }
7
+ SelfLinksInfo.prototype.withSelf = function (self) {
8
+ this['self'] = self;
9
+ return this;
10
+ };
11
+ return SelfLinksInfo;
12
+ }());
13
+ exports.SelfLinksInfo = SelfLinksInfo;
@@ -0,0 +1,10 @@
1
+ import { VaultSetResourceReq } from './VaultSetResourceReq';
2
+ export declare class SetVaultResourceRequest {
3
+ private 'vault_id';
4
+ body?: VaultSetResourceReq;
5
+ constructor(vaultId?: any);
6
+ withVaultId(vaultId: string): SetVaultResourceRequest;
7
+ set vaultId(vaultId: string | undefined);
8
+ get vaultId(): string | undefined;
9
+ withBody(body: VaultSetResourceReq): SetVaultResourceRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetVaultResourceRequest = void 0;
4
+ var SetVaultResourceRequest = /** @class */ (function () {
5
+ function SetVaultResourceRequest(vaultId) {
6
+ this['vault_id'] = vaultId;
7
+ }
8
+ SetVaultResourceRequest.prototype.withVaultId = function (vaultId) {
9
+ this['vault_id'] = vaultId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(SetVaultResourceRequest.prototype, "vaultId", {
13
+ get: function () {
14
+ return this['vault_id'];
15
+ },
16
+ set: function (vaultId) {
17
+ this['vault_id'] = vaultId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ SetVaultResourceRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return SetVaultResourceRequest;
27
+ }());
28
+ exports.SetVaultResourceRequest = SetVaultResourceRequest;
@@ -0,0 +1,8 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class SetVaultResourceResponse extends SdkResponse {
3
+ private 'set_resource_ids'?;
4
+ constructor();
5
+ withSetResourceIds(setResourceIds: Array<string>): SetVaultResourceResponse;
6
+ set setResourceIds(setResourceIds: Array<string> | undefined);
7
+ get setResourceIds(): 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.SetVaultResourceResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var SetVaultResourceResponse = /** @class */ (function (_super) {
21
+ __extends(SetVaultResourceResponse, _super);
22
+ function SetVaultResourceResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ SetVaultResourceResponse.prototype.withSetResourceIds = function (setResourceIds) {
26
+ this['set_resource_ids'] = setResourceIds;
27
+ return this;
28
+ };
29
+ Object.defineProperty(SetVaultResourceResponse.prototype, "setResourceIds", {
30
+ get: function () {
31
+ return this['set_resource_ids'];
32
+ },
33
+ set: function (setResourceIds) {
34
+ this['set_resource_ids'] = setResourceIds;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ return SetVaultResourceResponse;
40
+ }(SdkResponse_1.SdkResponse));
41
+ exports.SetVaultResourceResponse = SetVaultResourceResponse;
@@ -0,0 +1,7 @@
1
+ export declare class ShowAgentRequest {
2
+ private 'agent_id';
3
+ constructor(agentId?: any);
4
+ withAgentId(agentId: string): ShowAgentRequest;
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.ShowAgentRequest = void 0;
4
+ var ShowAgentRequest = /** @class */ (function () {
5
+ function ShowAgentRequest(agentId) {
6
+ this['agent_id'] = agentId;
7
+ }
8
+ ShowAgentRequest.prototype.withAgentId = function (agentId) {
9
+ this['agent_id'] = agentId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(ShowAgentRequest.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 ShowAgentRequest;
23
+ }());
24
+ exports.ShowAgentRequest = ShowAgentRequest;
@@ -0,0 +1,7 @@
1
+ import { Agent } from './Agent';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ShowAgentResponse extends SdkResponse {
4
+ agent?: Agent;
5
+ constructor();
6
+ withAgent(agent: Agent): ShowAgentResponse;
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.ShowAgentResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ShowAgentResponse = /** @class */ (function (_super) {
21
+ __extends(ShowAgentResponse, _super);
22
+ function ShowAgentResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ShowAgentResponse.prototype.withAgent = function (agent) {
26
+ this['agent'] = agent;
27
+ return this;
28
+ };
29
+ return ShowAgentResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.ShowAgentResponse = ShowAgentResponse;
@@ -0,0 +1,7 @@
1
+ export declare class ShowDomainRequest {
2
+ private 'source_project_id';
3
+ constructor(sourceProjectId?: any);
4
+ withSourceProjectId(sourceProjectId: string): ShowDomainRequest;
5
+ set sourceProjectId(sourceProjectId: string | undefined);
6
+ get sourceProjectId(): string | undefined;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShowDomainRequest = void 0;
4
+ var ShowDomainRequest = /** @class */ (function () {
5
+ function ShowDomainRequest(sourceProjectId) {
6
+ this['source_project_id'] = sourceProjectId;
7
+ }
8
+ ShowDomainRequest.prototype.withSourceProjectId = function (sourceProjectId) {
9
+ this['source_project_id'] = sourceProjectId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(ShowDomainRequest.prototype, "sourceProjectId", {
13
+ get: function () {
14
+ return this['source_project_id'];
15
+ },
16
+ set: function (sourceProjectId) {
17
+ this['source_project_id'] = sourceProjectId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return ShowDomainRequest;
23
+ }());
24
+ exports.ShowDomainRequest = ShowDomainRequest;
@@ -0,0 +1,20 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class ShowDomainResponse extends SdkResponse {
3
+ private 'project_name'?;
4
+ private 'project_id'?;
5
+ private 'domain_id'?;
6
+ private 'domain_name'?;
7
+ constructor();
8
+ withProjectName(projectName: string): ShowDomainResponse;
9
+ set projectName(projectName: string | undefined);
10
+ get projectName(): string | undefined;
11
+ withProjectId(projectId: string): ShowDomainResponse;
12
+ set projectId(projectId: string | undefined);
13
+ get projectId(): string | undefined;
14
+ withDomainId(domainId: string): ShowDomainResponse;
15
+ set domainId(domainId: string | undefined);
16
+ get domainId(): string | undefined;
17
+ withDomainName(domainName: string): ShowDomainResponse;
18
+ set domainName(domainName: string | undefined);
19
+ get domainName(): string | undefined;
20
+ }