@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
package/v1/CbrRegion.d.ts CHANGED
@@ -18,6 +18,7 @@ export declare class CbrRegion {
18
18
  static CN_NORTH_9: any;
19
19
  static CN_NORTH_2: any;
20
20
  static AP_SOUTHEAST_4: any;
21
+ static TR_WEST_1: any;
21
22
  private static REGION_MAP;
22
23
  static valueOf(regionId: string): any;
23
24
  }
package/v1/CbrRegion.js CHANGED
@@ -34,6 +34,7 @@ var CbrRegion = exports.CbrRegion = /** @class */ (function () {
34
34
  CbrRegion.CN_NORTH_9 = new region_1.Region("cn-north-9", ["https://cbr.cn-north-9.myhuaweicloud.com"]);
35
35
  CbrRegion.CN_NORTH_2 = new region_1.Region("cn-north-2", ["https://cbr.cn-north-2.myhuaweicloud.com"]);
36
36
  CbrRegion.AP_SOUTHEAST_4 = new region_1.Region("ap-southeast-4", ["https://cbr.ap-southeast-4.myhuaweicloud.com"]);
37
+ CbrRegion.TR_WEST_1 = new region_1.Region("tr-west-1", ["https://cbr.tr-west-1.myhuaweicloud.com"]);
37
38
  CbrRegion.REGION_MAP = {
38
39
  "cn-north-1": CbrRegion.CN_NORTH_1,
39
40
  "cn-north-4": CbrRegion.CN_NORTH_4,
@@ -53,7 +54,8 @@ var CbrRegion = exports.CbrRegion = /** @class */ (function () {
53
54
  "cn-south-2": CbrRegion.CN_SOUTH_2,
54
55
  "cn-north-9": CbrRegion.CN_NORTH_9,
55
56
  "cn-north-2": CbrRegion.CN_NORTH_2,
56
- "ap-southeast-4": CbrRegion.AP_SOUTHEAST_4
57
+ "ap-southeast-4": CbrRegion.AP_SOUTHEAST_4,
58
+ "tr-west-1": CbrRegion.TR_WEST_1
57
59
  };
58
60
  return CbrRegion;
59
61
  }());
@@ -0,0 +1,10 @@
1
+ import { AgentAddPathReq } from './AgentAddPathReq';
2
+ export declare class AddAgentPathRequest {
3
+ private 'agent_id';
4
+ body?: AgentAddPathReq;
5
+ constructor(agentId?: any);
6
+ withAgentId(agentId: string): AddAgentPathRequest;
7
+ set agentId(agentId: string | undefined);
8
+ get agentId(): string | undefined;
9
+ withBody(body: AgentAddPathReq): AddAgentPathRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddAgentPathRequest = void 0;
4
+ var AddAgentPathRequest = /** @class */ (function () {
5
+ function AddAgentPathRequest(agentId) {
6
+ this['agent_id'] = agentId;
7
+ }
8
+ AddAgentPathRequest.prototype.withAgentId = function (agentId) {
9
+ this['agent_id'] = agentId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(AddAgentPathRequest.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
+ AddAgentPathRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return AddAgentPathRequest;
27
+ }());
28
+ exports.AddAgentPathRequest = AddAgentPathRequest;
@@ -0,0 +1,8 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class AddAgentPathResponse extends SdkResponse {
3
+ added?: Array<string>;
4
+ existed?: Array<string>;
5
+ constructor();
6
+ withAdded(added: Array<string>): AddAgentPathResponse;
7
+ withExisted(existed: Array<string>): AddAgentPathResponse;
8
+ }
@@ -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.AddAgentPathResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var AddAgentPathResponse = /** @class */ (function (_super) {
21
+ __extends(AddAgentPathResponse, _super);
22
+ function AddAgentPathResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ AddAgentPathResponse.prototype.withAdded = function (added) {
26
+ this['added'] = added;
27
+ return this;
28
+ };
29
+ AddAgentPathResponse.prototype.withExisted = function (existed) {
30
+ this['existed'] = existed;
31
+ return this;
32
+ };
33
+ return AddAgentPathResponse;
34
+ }(SdkResponse_1.SdkResponse));
35
+ exports.AddAgentPathResponse = AddAgentPathResponse;
@@ -0,0 +1,48 @@
1
+ import { Path } from './Path';
2
+ export declare class Agent {
3
+ private 'created_at'?;
4
+ private 'updated_at'?;
5
+ private 'agent_id';
6
+ private 'agent_version'?;
7
+ private 'agent_type'?;
8
+ private 'host_name'?;
9
+ private 'host_nickname'?;
10
+ private 'host_ip'?;
11
+ private 'host_os'?;
12
+ status?: string;
13
+ private 'last_active_time'?;
14
+ paths?: Array<Path>;
15
+ constructor(agentId?: any);
16
+ withCreatedAt(createdAt: Date): Agent;
17
+ set createdAt(createdAt: Date | undefined);
18
+ get createdAt(): Date | undefined;
19
+ withUpdatedAt(updatedAt: Date): Agent;
20
+ set updatedAt(updatedAt: Date | undefined);
21
+ get updatedAt(): Date | undefined;
22
+ withAgentId(agentId: string): Agent;
23
+ set agentId(agentId: string | undefined);
24
+ get agentId(): string | undefined;
25
+ withAgentVersion(agentVersion: string): Agent;
26
+ set agentVersion(agentVersion: string | undefined);
27
+ get agentVersion(): string | undefined;
28
+ withAgentType(agentType: string): Agent;
29
+ set agentType(agentType: string | undefined);
30
+ get agentType(): string | undefined;
31
+ withHostName(hostName: string): Agent;
32
+ set hostName(hostName: string | undefined);
33
+ get hostName(): string | undefined;
34
+ withHostNickname(hostNickname: string): Agent;
35
+ set hostNickname(hostNickname: string | undefined);
36
+ get hostNickname(): string | undefined;
37
+ withHostIp(hostIp: string): Agent;
38
+ set hostIp(hostIp: string | undefined);
39
+ get hostIp(): string | undefined;
40
+ withHostOs(hostOs: string): Agent;
41
+ set hostOs(hostOs: string | undefined);
42
+ get hostOs(): string | undefined;
43
+ withStatus(status: string): Agent;
44
+ withLastActiveTime(lastActiveTime: Date): Agent;
45
+ set lastActiveTime(lastActiveTime: Date | undefined);
46
+ get lastActiveTime(): Date | undefined;
47
+ withPaths(paths: Array<Path>): Agent;
48
+ }
@@ -0,0 +1,158 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Agent = void 0;
4
+ var Agent = /** @class */ (function () {
5
+ function Agent(agentId) {
6
+ this['agent_id'] = agentId;
7
+ }
8
+ Agent.prototype.withCreatedAt = function (createdAt) {
9
+ this['created_at'] = createdAt;
10
+ return this;
11
+ };
12
+ Object.defineProperty(Agent.prototype, "createdAt", {
13
+ get: function () {
14
+ return this['created_at'];
15
+ },
16
+ set: function (createdAt) {
17
+ this['created_at'] = createdAt;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ Agent.prototype.withUpdatedAt = function (updatedAt) {
23
+ this['updated_at'] = updatedAt;
24
+ return this;
25
+ };
26
+ Object.defineProperty(Agent.prototype, "updatedAt", {
27
+ get: function () {
28
+ return this['updated_at'];
29
+ },
30
+ set: function (updatedAt) {
31
+ this['updated_at'] = updatedAt;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ Agent.prototype.withAgentId = function (agentId) {
37
+ this['agent_id'] = agentId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(Agent.prototype, "agentId", {
41
+ get: function () {
42
+ return this['agent_id'];
43
+ },
44
+ set: function (agentId) {
45
+ this['agent_id'] = agentId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
50
+ Agent.prototype.withAgentVersion = function (agentVersion) {
51
+ this['agent_version'] = agentVersion;
52
+ return this;
53
+ };
54
+ Object.defineProperty(Agent.prototype, "agentVersion", {
55
+ get: function () {
56
+ return this['agent_version'];
57
+ },
58
+ set: function (agentVersion) {
59
+ this['agent_version'] = agentVersion;
60
+ },
61
+ enumerable: false,
62
+ configurable: true
63
+ });
64
+ Agent.prototype.withAgentType = function (agentType) {
65
+ this['agent_type'] = agentType;
66
+ return this;
67
+ };
68
+ Object.defineProperty(Agent.prototype, "agentType", {
69
+ get: function () {
70
+ return this['agent_type'];
71
+ },
72
+ set: function (agentType) {
73
+ this['agent_type'] = agentType;
74
+ },
75
+ enumerable: false,
76
+ configurable: true
77
+ });
78
+ Agent.prototype.withHostName = function (hostName) {
79
+ this['host_name'] = hostName;
80
+ return this;
81
+ };
82
+ Object.defineProperty(Agent.prototype, "hostName", {
83
+ get: function () {
84
+ return this['host_name'];
85
+ },
86
+ set: function (hostName) {
87
+ this['host_name'] = hostName;
88
+ },
89
+ enumerable: false,
90
+ configurable: true
91
+ });
92
+ Agent.prototype.withHostNickname = function (hostNickname) {
93
+ this['host_nickname'] = hostNickname;
94
+ return this;
95
+ };
96
+ Object.defineProperty(Agent.prototype, "hostNickname", {
97
+ get: function () {
98
+ return this['host_nickname'];
99
+ },
100
+ set: function (hostNickname) {
101
+ this['host_nickname'] = hostNickname;
102
+ },
103
+ enumerable: false,
104
+ configurable: true
105
+ });
106
+ Agent.prototype.withHostIp = function (hostIp) {
107
+ this['host_ip'] = hostIp;
108
+ return this;
109
+ };
110
+ Object.defineProperty(Agent.prototype, "hostIp", {
111
+ get: function () {
112
+ return this['host_ip'];
113
+ },
114
+ set: function (hostIp) {
115
+ this['host_ip'] = hostIp;
116
+ },
117
+ enumerable: false,
118
+ configurable: true
119
+ });
120
+ Agent.prototype.withHostOs = function (hostOs) {
121
+ this['host_os'] = hostOs;
122
+ return this;
123
+ };
124
+ Object.defineProperty(Agent.prototype, "hostOs", {
125
+ get: function () {
126
+ return this['host_os'];
127
+ },
128
+ set: function (hostOs) {
129
+ this['host_os'] = hostOs;
130
+ },
131
+ enumerable: false,
132
+ configurable: true
133
+ });
134
+ Agent.prototype.withStatus = function (status) {
135
+ this['status'] = status;
136
+ return this;
137
+ };
138
+ Agent.prototype.withLastActiveTime = function (lastActiveTime) {
139
+ this['last_active_time'] = lastActiveTime;
140
+ return this;
141
+ };
142
+ Object.defineProperty(Agent.prototype, "lastActiveTime", {
143
+ get: function () {
144
+ return this['last_active_time'];
145
+ },
146
+ set: function (lastActiveTime) {
147
+ this['last_active_time'] = lastActiveTime;
148
+ },
149
+ enumerable: false,
150
+ configurable: true
151
+ });
152
+ Agent.prototype.withPaths = function (paths) {
153
+ this['paths'] = paths;
154
+ return this;
155
+ };
156
+ return Agent;
157
+ }());
158
+ exports.Agent = Agent;
@@ -0,0 +1,7 @@
1
+ export declare class AgentAddPathReq {
2
+ private 'add_path';
3
+ constructor(addPath?: any);
4
+ withAddPath(addPath: Array<string>): AgentAddPathReq;
5
+ set addPath(addPath: Array<string> | undefined);
6
+ get addPath(): Array<string> | undefined;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentAddPathReq = void 0;
4
+ var AgentAddPathReq = /** @class */ (function () {
5
+ function AgentAddPathReq(addPath) {
6
+ this['add_path'] = addPath;
7
+ }
8
+ AgentAddPathReq.prototype.withAddPath = function (addPath) {
9
+ this['add_path'] = addPath;
10
+ return this;
11
+ };
12
+ Object.defineProperty(AgentAddPathReq.prototype, "addPath", {
13
+ get: function () {
14
+ return this['add_path'];
15
+ },
16
+ set: function (addPath) {
17
+ this['add_path'] = addPath;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return AgentAddPathReq;
23
+ }());
24
+ exports.AgentAddPathReq = AgentAddPathReq;
@@ -0,0 +1,31 @@
1
+ export declare class AgentRegister {
2
+ private 'agent_id';
3
+ private 'host_name';
4
+ private 'host_ip';
5
+ private 'host_os';
6
+ private 'host_nickname'?;
7
+ private 'agent_version'?;
8
+ private 'agent_type'?;
9
+ constructor(agentId?: any, hostName?: any, hostIp?: any, hostOs?: any);
10
+ withAgentId(agentId: string): AgentRegister;
11
+ set agentId(agentId: string | undefined);
12
+ get agentId(): string | undefined;
13
+ withHostName(hostName: string): AgentRegister;
14
+ set hostName(hostName: string | undefined);
15
+ get hostName(): string | undefined;
16
+ withHostIp(hostIp: string): AgentRegister;
17
+ set hostIp(hostIp: string | undefined);
18
+ get hostIp(): string | undefined;
19
+ withHostOs(hostOs: string): AgentRegister;
20
+ set hostOs(hostOs: string | undefined);
21
+ get hostOs(): string | undefined;
22
+ withHostNickname(hostNickname: string): AgentRegister;
23
+ set hostNickname(hostNickname: string | undefined);
24
+ get hostNickname(): string | undefined;
25
+ withAgentVersion(agentVersion: string): AgentRegister;
26
+ set agentVersion(agentVersion: string | undefined);
27
+ get agentVersion(): string | undefined;
28
+ withAgentType(agentType: string): AgentRegister;
29
+ set agentType(agentType: string | undefined);
30
+ get agentType(): string | undefined;
31
+ }
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentRegister = void 0;
4
+ var AgentRegister = /** @class */ (function () {
5
+ function AgentRegister(agentId, hostName, hostIp, hostOs) {
6
+ this['agent_id'] = agentId;
7
+ this['host_name'] = hostName;
8
+ this['host_ip'] = hostIp;
9
+ this['host_os'] = hostOs;
10
+ }
11
+ AgentRegister.prototype.withAgentId = function (agentId) {
12
+ this['agent_id'] = agentId;
13
+ return this;
14
+ };
15
+ Object.defineProperty(AgentRegister.prototype, "agentId", {
16
+ get: function () {
17
+ return this['agent_id'];
18
+ },
19
+ set: function (agentId) {
20
+ this['agent_id'] = agentId;
21
+ },
22
+ enumerable: false,
23
+ configurable: true
24
+ });
25
+ AgentRegister.prototype.withHostName = function (hostName) {
26
+ this['host_name'] = hostName;
27
+ return this;
28
+ };
29
+ Object.defineProperty(AgentRegister.prototype, "hostName", {
30
+ get: function () {
31
+ return this['host_name'];
32
+ },
33
+ set: function (hostName) {
34
+ this['host_name'] = hostName;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ AgentRegister.prototype.withHostIp = function (hostIp) {
40
+ this['host_ip'] = hostIp;
41
+ return this;
42
+ };
43
+ Object.defineProperty(AgentRegister.prototype, "hostIp", {
44
+ get: function () {
45
+ return this['host_ip'];
46
+ },
47
+ set: function (hostIp) {
48
+ this['host_ip'] = hostIp;
49
+ },
50
+ enumerable: false,
51
+ configurable: true
52
+ });
53
+ AgentRegister.prototype.withHostOs = function (hostOs) {
54
+ this['host_os'] = hostOs;
55
+ return this;
56
+ };
57
+ Object.defineProperty(AgentRegister.prototype, "hostOs", {
58
+ get: function () {
59
+ return this['host_os'];
60
+ },
61
+ set: function (hostOs) {
62
+ this['host_os'] = hostOs;
63
+ },
64
+ enumerable: false,
65
+ configurable: true
66
+ });
67
+ AgentRegister.prototype.withHostNickname = function (hostNickname) {
68
+ this['host_nickname'] = hostNickname;
69
+ return this;
70
+ };
71
+ Object.defineProperty(AgentRegister.prototype, "hostNickname", {
72
+ get: function () {
73
+ return this['host_nickname'];
74
+ },
75
+ set: function (hostNickname) {
76
+ this['host_nickname'] = hostNickname;
77
+ },
78
+ enumerable: false,
79
+ configurable: true
80
+ });
81
+ AgentRegister.prototype.withAgentVersion = function (agentVersion) {
82
+ this['agent_version'] = agentVersion;
83
+ return this;
84
+ };
85
+ Object.defineProperty(AgentRegister.prototype, "agentVersion", {
86
+ get: function () {
87
+ return this['agent_version'];
88
+ },
89
+ set: function (agentVersion) {
90
+ this['agent_version'] = agentVersion;
91
+ },
92
+ enumerable: false,
93
+ configurable: true
94
+ });
95
+ AgentRegister.prototype.withAgentType = function (agentType) {
96
+ this['agent_type'] = agentType;
97
+ return this;
98
+ };
99
+ Object.defineProperty(AgentRegister.prototype, "agentType", {
100
+ get: function () {
101
+ return this['agent_type'];
102
+ },
103
+ set: function (agentType) {
104
+ this['agent_type'] = agentType;
105
+ },
106
+ enumerable: false,
107
+ configurable: true
108
+ });
109
+ return AgentRegister;
110
+ }());
111
+ exports.AgentRegister = AgentRegister;
@@ -0,0 +1,6 @@
1
+ import { AgentRegister } from './AgentRegister';
2
+ export declare class AgentRegisterReq {
3
+ agent: AgentRegister;
4
+ constructor(agent?: any);
5
+ withAgent(agent: AgentRegister): AgentRegisterReq;
6
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentRegisterReq = void 0;
4
+ var AgentRegisterReq = /** @class */ (function () {
5
+ function AgentRegisterReq(agent) {
6
+ this['agent'] = agent;
7
+ }
8
+ AgentRegisterReq.prototype.withAgent = function (agent) {
9
+ this['agent'] = agent;
10
+ return this;
11
+ };
12
+ return AgentRegisterReq;
13
+ }());
14
+ exports.AgentRegisterReq = AgentRegisterReq;
@@ -0,0 +1,7 @@
1
+ export declare class AgentRemovePathReq {
2
+ private 'remove_path';
3
+ constructor(removePath?: any);
4
+ withRemovePath(removePath: Array<string>): AgentRemovePathReq;
5
+ set removePath(removePath: Array<string> | undefined);
6
+ get removePath(): Array<string> | undefined;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentRemovePathReq = void 0;
4
+ var AgentRemovePathReq = /** @class */ (function () {
5
+ function AgentRemovePathReq(removePath) {
6
+ this['remove_path'] = removePath;
7
+ }
8
+ AgentRemovePathReq.prototype.withRemovePath = function (removePath) {
9
+ this['remove_path'] = removePath;
10
+ return this;
11
+ };
12
+ Object.defineProperty(AgentRemovePathReq.prototype, "removePath", {
13
+ get: function () {
14
+ return this['remove_path'];
15
+ },
16
+ set: function (removePath) {
17
+ this['remove_path'] = removePath;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return AgentRemovePathReq;
23
+ }());
24
+ exports.AgentRemovePathReq = AgentRemovePathReq;
@@ -0,0 +1,12 @@
1
+ export declare class AgentUpdate {
2
+ status: AgentUpdateStatusEnum;
3
+ constructor(status?: any);
4
+ withStatus(status: AgentUpdateStatusEnum): AgentUpdate;
5
+ }
6
+ /**
7
+ * @export
8
+ * @enum {string}
9
+ */
10
+ export declare enum AgentUpdateStatusEnum {
11
+ UNINSTALL = "uninstall"
12
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentUpdateStatusEnum = exports.AgentUpdate = void 0;
4
+ var AgentUpdate = /** @class */ (function () {
5
+ function AgentUpdate(status) {
6
+ this['status'] = status;
7
+ }
8
+ AgentUpdate.prototype.withStatus = function (status) {
9
+ this['status'] = status;
10
+ return this;
11
+ };
12
+ return AgentUpdate;
13
+ }());
14
+ exports.AgentUpdate = AgentUpdate;
15
+ /**
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ var AgentUpdateStatusEnum;
20
+ (function (AgentUpdateStatusEnum) {
21
+ AgentUpdateStatusEnum["UNINSTALL"] = "uninstall";
22
+ })(AgentUpdateStatusEnum = exports.AgentUpdateStatusEnum || (exports.AgentUpdateStatusEnum = {}));
@@ -0,0 +1,6 @@
1
+ import { AgentUpdate } from './AgentUpdate';
2
+ export declare class AgentUpdateReq {
3
+ agent: AgentUpdate;
4
+ constructor(agent?: any);
5
+ withAgent(agent: AgentUpdate): AgentUpdateReq;
6
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentUpdateReq = void 0;
4
+ var AgentUpdateReq = /** @class */ (function () {
5
+ function AgentUpdateReq(agent) {
6
+ this['agent'] = agent;
7
+ }
8
+ AgentUpdateReq.prototype.withAgent = function (agent) {
9
+ this['agent'] = agent;
10
+ return this;
11
+ };
12
+ return AgentUpdateReq;
13
+ }());
14
+ exports.AgentUpdateReq = AgentUpdateReq;
@@ -0,0 +1,5 @@
1
+ export declare class BackupUpdate {
2
+ name?: string;
3
+ constructor();
4
+ withName(name: string): BackupUpdate;
5
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BackupUpdate = void 0;
4
+ var BackupUpdate = /** @class */ (function () {
5
+ function BackupUpdate() {
6
+ }
7
+ BackupUpdate.prototype.withName = function (name) {
8
+ this['name'] = name;
9
+ return this;
10
+ };
11
+ return BackupUpdate;
12
+ }());
13
+ exports.BackupUpdate = BackupUpdate;
@@ -0,0 +1,6 @@
1
+ import { BackupUpdate } from './BackupUpdate';
2
+ export declare class BackupUpdateReq {
3
+ backup?: BackupUpdate;
4
+ constructor();
5
+ withBackup(backup: BackupUpdate): BackupUpdateReq;
6
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BackupUpdateReq = void 0;
4
+ var BackupUpdateReq = /** @class */ (function () {
5
+ function BackupUpdateReq() {
6
+ }
7
+ BackupUpdateReq.prototype.withBackup = function (backup) {
8
+ this['backup'] = backup;
9
+ return this;
10
+ };
11
+ return BackupUpdateReq;
12
+ }());
13
+ exports.BackupUpdateReq = BackupUpdateReq;
@@ -0,0 +1,6 @@
1
+ import { BatchUpdateVaultRequestBody } from './BatchUpdateVaultRequestBody';
2
+ export declare class BatchUpdateVaultRequest {
3
+ body?: BatchUpdateVaultRequestBody;
4
+ constructor();
5
+ withBody(body: BatchUpdateVaultRequestBody): BatchUpdateVaultRequest;
6
+ }